You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__Lists__Onlin...

1389 lines
1.9 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(self.webpackChunk=self.webpackChunk||[]).push([[8827],{89489:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},59477:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},40001:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},26227:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},49198:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},41464:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},87169:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},73331:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},15277:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},52671:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},8657:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},10906:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},56082:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},61481:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},33853:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},15075:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},43531:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},61485:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},47472:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},87395:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={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"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},32050:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(60499),oe=ae(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Ae=we,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:Ae}))},re=oe.forwardRef(ve),se=re},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(_n,pn){"use strict";pn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},84915:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var _n={},pn="5.0",ae={},b=null,oe=!1,we=!1,Ae=null,de=!1,ve=null,re=null,se=0;se<arguments.length;se++){var fe=arguments[se];if(fe!==null)switch(typeof fe){case"number":pn=fe.toFixed(1);break;case"string":fe.match(new RegExp("^[0-9]\\.[0-9]+$"))?pn=fe:Ae=fe;break;case"object":typeof fe.is3D!="undefined"?b=fe:ae=fe;break;case"boolean":oe=fe,we=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ae.material_id!==void 0&&!we&&(oe=!0)),Ae!==null&&ae.id===void 0&&(ae.id=Ae);var E="",te="",ne=!1,ge=null,Ce=null,be=null,le=!1,Ee=null,Pe=null,Ie=null,Re=null,Me=null;ae.height!==void 0&&(ae.height=Math.round(ae.height)),ae.width!==void 0&&(ae.width=Math.round(ae.width));var ye=function(Ve){return parseFloat(Ve)>4?parseFloat(Ve):5};_n.setHTML5Codebase=function(Ve,mt){re=Ve,Ge(Ve,mt)},_n.setJavaCodebase=_n.setJavaCodebaseVersion=_n.isCompiledInstalled=_n.setPreCompiledScriptPath=_n.setPreCompiledResourcePath=function(){},_n.setHTML5CodebaseVersion=function(Ve,mt){var st=parseFloat(Ve);if(st!==NaN&&st<5){console.log("The GeoGebra HTML5 codebase version "+st+" is deprecated. Using version latest instead.");return}ve=Ve,Ze(Ve,mt)},_n.getHTML5CodebaseVersion=function(){return Ce},_n.getParameters=function(){return ae},_n.setFontsCSSURL=function(Ve){Re=Ve},_n.setGiacJSURL=function(Ve){},_n.setJNLPFile=function(Ve){E=Ve},_n.setJNLPBaseDir=function(Ve){},_n.inject=function(){function Ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var mt="auto",st=ae.id,Lt,ct=!1,Tt=0;Tt<arguments.length;Tt++){var xt=arguments[Tt];typeof xt=="string"?(xt=xt.toLowerCase(),xt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?mt=xt:st=arguments[Tt]):typeof xt=="boolean"?ct=xt:xt instanceof HTMLElement&&(Lt=xt)}wt();function wt(){if(!de){setTimeout(wt,200);return}mt=Ot(mt);var yt=Lt||document.getElementById(st);if(!yt){console.log("possibly bug on ajax loading? ");return}if(_n.removeExistingApplet(yt,!1),ae.width===void 0&&yt.clientWidth&&(ae.width=yt.clientWidth),ae.height===void 0&&yt.clientHeight&&(ae.height=yt.clientHeight),!(ae.width&&ae.height)&&mt==="html5"&&(delete ae.width,delete ae.height),ge=mt,mt==="screenshot")Je(yt,ae);else{var je=!1;ae.hasOwnProperty("playButton")&&ae.playButton||ae.hasOwnProperty("clickToLoad")&&ae.clickToLoad?je=!0:ae.hasOwnProperty("playButtonAutoDecide")&&ae.playButtonAutoDecide&&(je=(!Te()||Ve())&&Fe()),je?(ge="screenshot",lt(yt,ae,ct,mt)):Ye(yt,ae,ct)}}};function Te(){try{return window.self!==window.top}catch(Ve){return!0}}function Fe(){return ae.hasOwnProperty("screenshotGenerator")&&ae.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}_n.getViews=function(){return b},_n.isJavaInstalled=function(){return!1};var _e=function(Ve){var mt=function(Tt){var xt=JSON.parse(Tt),wt=function(ue){return ue.type=="G"||ue.type=="E"},yt=xt.elements?xt.elements.filter(wt)[0]:xt;if(!yt||!yt.url){st();return}ae.fileName=yt.url,Oe(yt.settings||{}),b.is3D=!0;var je="https://www.geogebra.org/images/";_n.setPreviewImage(Ee||yt.previewUrl,je+"GeoGebra_loading.png",je+"applet_play.png"),Ve()},st=function(){ae.onError&&ae.onError(),$e("Error: Fetching material (id "+ae.material_id+") failed.",ae)},Lt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ct="/materials/"+ae.material_id+"?scope=basic";Ke("https://"+Lt+"/api/proxy.php?path="+encodeURIComponent(ct),mt,st)};function Oe(Ve){var mt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(st){Ve[st]=!!Ve[st]}),mt.forEach(function(st){ae[st]===void 0&&Ve[st]!==void 0&&(ae[st]=Ve[st])}),ae.showToolBarHelp===void 0&&(ae.showToolBarHelp=ae.showToolBar)}function Ke(Ve,mt,st){var Lt=new XMLHttpRequest;Lt.open("GET",Ve),Lt.onload=function(){mt(Lt.responseText)},Lt.onerror=st,Lt.send()}_n.isHTML5Installed=function(){return!0},_n.getLoadedAppletType=function(){return ge},_n.setPreviewImage=function(Ve,mt,st){Ee=Ve,Pe=mt,Ie=st},_n.removeExistingApplet=function(Ve,mt){var st;typeof Ve=="string"&&(Ve=document.getElementById(Ve)),ge=null;var Lt=null;for(st=0;st<Ve.childNodes.length;st++){var ct=Ve.childNodes[st],Tt=ct.className;Tt==="applet_screenshot"?mt?(ct.style.display="block",ge="screenshot"):ct.style.display="none":Tt!=="applet_scaler prerender"&&(Ve.removeChild(ct),Lt=Tt&&Tt.indexOf("appletParameters")!=-1?ct.id:null,st--)}var xt=ae.id!==void 0?ae.id:Lt,wt=window[xt];wt&&typeof wt.getBase64=="function"&&(wt.remove(),window[xt]=null)},_n.refreshHitPoints=function(){if(ye(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ve=_n.getAppletObject();return Ve&&typeof Ve.recalculateEnvironments=="function"?(Ve.recalculateEnvironments(),!0):!1},_n.startAnimation=function(){var Ve=_n.getAppletObject();return Ve&&typeof Ve.startAnimation=="function"?(Ve.startAnimation(),!0):!1},_n.stopAnimation=function(){var Ve=_n.getAppletObject();return Ve&&typeof Ve.stopAnimation=="function"?(Ve.stopAnimation(),!0):!1},_n.getAppletObject=function(){var Ve=ae.id!==void 0?ae.id:"ggbApplet";return window[Ve]},_n.resize=function(){};var We=function(Ve,mt,st){var Lt=document.createElement("param");Lt.setAttribute("name",mt),Lt.setAttribute("value",st),Ve.appendChild(Lt)},Ne=function(Ve){return Ve&&Ve!=="false"},Ye=function(Ve,mt,st){ye(Ce)<=4.2&&(st=!0);var Lt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ce||ggbHTML5LoadedCodebaseIsWebSimple&&!le)&&(Lt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ct=document.createElement("div");ct.classList.add("appletParameters","notranslate");var Tt=mt.width,xt=mt.height;if(mt.disableAutoScale=mt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():mt.disableAutoScale,mt.width!==void 0)if(ye(Ce)<=4.4)Ne(mt.showToolBar)&&(mt.height-=7),Ne(mt.showAlgebraInput)&&(mt.height-=37),mt.width<605&&Ne(mt.showToolBar)&&(mt.width=605,Tt=605);else{var wt=100;(Ne(mt.showToolBar)||Ne(mt.showMenuBar))&&(mt.hasOwnProperty("customToolBar")&&(mt.customToolbar=mt.customToolBar),wt=Ne(mt.showMenuBar)?245:155),Tt<wt&&(mt.width=wt,Tt=wt)}ct.style.border="none",ct.style.display="inline-block";for(var yt in mt)mt.hasOwnProperty(yt)&&yt!=="appletOnLoad"&&ct.setAttribute("data-param-"+yt,mt[yt]);Re&&ct.setAttribute("data-param-fontscssurl",Re),_n.resize=function(){GGBAppletUtils.responsiveResize(Ve,mt)},window.addEventListener("resize",function(Qe){_n.resize()});var je=typeof mt.appletOnLoad=="function"?mt.appletOnLoad:function(){};if(!st&&mt.width!==void 0){mt.hasOwnProperty("showSplash")||ct.setAttribute("data-param-showSplash","false");var ue=Ve.querySelector(".applet_scaler.prerender"),ie=ue!==null;if(ie)var ke=ue.querySelector(".ggb_preview");else{var ke=tt(Tt,xt,mt.borderColor,!1);ue=document.createElement("div"),ue.className="applet_scaler",ue.style.position="relative",ue.style.display="block",ue.style.width=Tt+"px",ue.style.height=xt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ue,"66%"),ye(Ce)>=5?(mt.appletOnLoad=function(Qe){var it=Ve.querySelector(".ggb_preview");it&&it.parentNode.removeChild(it),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ue),window.GGBT_wsf_view&&$(window).trigger("resize"),je(Qe)},ie||ue.appendChild(ke)):ct.appendChild(ke),ue.appendChild(ct),ie||Ve.appendChild(ue),setTimeout(function(){_n.resize()},1)}else{var Xe=document.createElement("div");Xe.className="applet_scaler",Xe.style.position="relative",Xe.style.display="block",Xe.appendChild(ct),Ve.appendChild(Xe),mt.appletOnLoad=function(Qe){_n.resize(),je(Qe)}}function De(Qe,it){it&&typeof it.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Qe,it.appletOnLoad):renderGGBElement(Qe),$e("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",it)}function pe(Qe,it){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Qe,params:it}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ot){De(ot.article,ot.params)}),html5AppletsToProcess=null)},ye(Ce)<5&&(Qe.className+=" geogebraweb")):De(Qe,it)}if(Lt){scriptLoadStarted=!0;for(var x=0;x<ct.childNodes.length;x++){var me=ct.childNodes[x].tagName;me==="TABLE"&&(ct.removeChild(ct.childNodes[x]),x--)}if(ggbHTML5LoadedScript!==null){var Le=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Le!=null&&Le.parentNode.removeChild(Le)}var Se=document.createElement("script"),Be=function(){pe(ct,mt)};Se.src=te+be,ggbHTML5LoadedCodebaseIsWebSimple=le,ggbHTML5LoadedCodebaseVersion=Ce,ggbHTML5LoadedScript=Se.src,$e("GeoGebra HTML5 codebase loaded: '"+te+"'.",mt),!re&&(!ve||ve=="5.0")?(le?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Be()):te.requirejs?__webpack_require__.e(4510).then(function(){var Qe=[__webpack_require__(4510)];Be.apply(null,Qe)}.bind(this)).catch(__webpack_require__.oe):(Se.onload=Be,Ve.appendChild(Se))}else pe(ct,mt);mt.height=xt,mt.width=Tt},Je=function(Ve,mt,st){var Lt=tt(mt.width,mt.height,mt.borderColor,st),ct=document.createElement("div");ct.style.position="relative",ct.style.display="block",ct.style.width=mt.width+"px",ct.style.height=mt.height+"px",ct.className="applet_screenshot applet_scaler"+(st?" applet_screenshot_play":""),ct.appendChild(Lt);var Tt=GGBAppletUtils.getScale(mt,Ve,st);st?(Ve.appendChild(ft()),window.GGBT_wsf_view||(Ve.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ct,"66%"),Ve.appendChild(ct),Tt!==1&&!isNaN(Tt)&&(GGBAppletUtils.scaleElement(ct,Tt),ct.style.width=mt.width+"px",ct.style.height=mt.height+"px",ct.parentNode.style.width=mt.width*Tt+"px",ct.parentNode.style.height=mt.height*Tt+"px"),_n.resize=function(){He(Ve,Lt,ct,st)},window.addEventListener("resize",function(xt){_n.resize()}),_n.resize()};function He(Ve,mt,st,Lt){if(Ve.contains(mt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ve.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ve)}var ct=GGBAppletUtils.getScale(ae,Ve,Lt);st.parentNode!==null&&(!isNaN(ct)&&ct!==1?(GGBAppletUtils.scaleElement(st,ct),st.parentNode.style.width=ae.width*ct+"px",st.parentNode.style.height=ae.height*ct+"px"):(GGBAppletUtils.scaleElement(st,1),st.parentNode.style.width=ae.width+"px",st.parentNode.style.height=ae.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ve),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}_n.onExitFullscreen=function(Ve,mt){mt.appendChild(Ve)};var lt=function(Ve,mt,st,Lt){Je(Ve,mt,!0);for(var ct=function(){var wt=[];for(xt=0;xt<Ve.childNodes.length;xt++)wt.push(Ve.childNodes[xt]);if(window.GGBT_wsf_view){var yt=window.GGBT_wsf_view.renderFullScreen(Ve,mt.id),je=document.getElementById("fullscreencontainer"),ue=jQuery(Ve).find(".fullscreencontent");ue.length>0?(yt.remove(),ue.attr("id","fullscreencontent").show(),jQuery(je).append(ue),window.dispatchEvent(new Event("resize"))):Ye(yt,mt,!1),window.GGBT_wsf_view.launchFullScreen(je)}else ge=Lt,Ye(Ve,mt,!1);if(!window.GGBT_wsf_view)for(xt=0;xt<wt.length;xt++)Ve.removeChild(wt[xt])},Tt=Ve.getElementsByClassName("ggb_preview_play"),xt=0;xt<Tt.length;xt++)Tt[xt].addEventListener("click",ct,!1),Tt[xt].addEventListener("ontouchstart",ct,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ve),Fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ft=function(){var Ve=document.createElement("div");if(Ve.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var mt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',st=document.createElement("style");st.styleSheet?st.styleSheet.cssText=mt:st.appendChild(document.createTextNode(mt)),document.getElementsByTagName("head")[0].appendChild(st)}return Ve},tt=function(Ve,mt,st,Lt){var ct=document.createElement("div");ct.className="ggb_preview",ct.style.position="absolute",ct.style.zIndex="90",ct.style.width=Ve-2+"px",ct.style.height=mt-2+"px",ct.style.top="0px",ct.style.left="0px",ct.style.overflow="hidden",ct.style.backgroundColor="white";var Tt="lightgrey";st!==void 0&&(st==="none"?Tt="transparent":Tt=st),ct.style.border="1px solid "+Tt;var xt=document.createElement("img");if(xt.style.position="relative",xt.style.zIndex="1000",xt.style.top="-1px",xt.style.left="-1px",Ee!==null&&xt.setAttribute("src",Ee),xt.style.opacity=.7,Pe!==null){var wt,yt,je;if(!Lt){wt=document.createElement("img"),wt.style.position="absolute",wt.style.zIndex="1001",wt.style.opacity=1,xt.style.opacity=.3,yt=360,yt>Ve/4*3&&(yt=Ve/4*3),je=yt/5.8,wt.setAttribute("src",Pe),wt.setAttribute("width",yt),wt.setAttribute("height",je);var ue=(Ve-yt)/2,ie=(mt-je)/2;wt.style.left=ue+"px",wt.style.top=ie+"px",ct.appendChild(wt)}}return ct.appendChild(xt),ct},Ot=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},nt=["web","webSimple","web3d","tablet","tablet3d","phone"],Ze=function(Ve,mt){if(Ce=Ve,mt){Ge(Ce,!0);return}var st=!oe;if(st){var Lt=ye(Ce);!isNaN(Lt)&&Lt<4.4&&(st=!1)}var ct,Tt;window.location.protocol.substr(0,4)==="http"?ct=window.location.protocol:ct="http:";var xt=Ce.indexOf("//");xt>0?Tt=Ce:xt===0?Tt=ct+Ce:Tt="https://www.geogebra.org/apps/5.2.814.0/";for(var wt in nt)if(Ce.slice(nt[wt].length*-1)===nt[wt]||Ce.slice((nt[wt].length+1)*-1)===nt[wt]+"/"){Ge(Tt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&st&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Ne(ae.showToolBar)&&!Ne(ae.showMenuBar)&&!Ne(ae.showAlgebraInput)&&!Ne(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?Tt+="webSimple/":Tt+="web3d/",Ge(Tt,!1)},Ge=function(Ve,mt){if(Ve.requirejs){te=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),te=Ve,mt===null&&(mt=Ve.indexOf("http")===-1),ne=mt,be="web.nocache.js",le=!1;var st=te.split("/");st.length>1&&(!mt&&st[st.length-2]==="webSimple"?(be="webSimple.nocache.js",le=!0):nt.indexOf(st[st.length-2])>=0&&(be=st[st.length-2]+".nocache.js")),st=Ve.split("/"),Ce=st[st.length-3],Ce.substr(0,4)==="test"?Ce=Ce.substr(4,1)+"."+Ce.substr(5,1):(Ce.substr(0,3)==="war"||Ce.substr(0,4)==="beta")&&(Ce="5.0");var Lt=parseFloat(Ce);Lt!==NaN&&Lt<5&&Ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Lt+" is deprecated. Using version latest instead."),Ze("5.0",mt))},$e=function(Ve,mt){window.console&&window.console.log&&(!mt||typeof mt.showLogging=="undefined"||mt.showLogging&&mt.showLogging!=="false")&&console.log(Ve)};ae.material_id!==void 0?_e(qe):qe();function qe(){var Ve=pn;ve!==null?Ve=ve:parseFloat(Ve)<5&&(Ve="5.0"),Ze(Ve,!1),re!==null&&Ge(re,ne),de=!0}return _n},GGBAppletUtils=function(){"use strict";function _n(){return window.GGBT_wsf_edit!==void 0}function pn(de,ve){ve!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+ve+","+ve+")",de.style.webkitTransform="scale("+ve+","+ve+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function ae(de,ve,re,se,fe,E){var te=null;if(E!=null&&E!="")for(var ne=de.parentNode;ne!=null;)if((" "+ne.className+" ").indexOf(" "+E+" ")>-1){te=ne;break}else ne=ne.parentNode;var ge=0,Ce=0,be=0,le=0,Ee=0,Pe=0,Ie=0;if(te)ge=te.offsetWidth,Ce=Math.max(se?te.offsetWidth:0,te.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ge=Math.min(window.innerWidth,document.documentElement.clientWidth),Ce=Math.min(window.innerHeight,document.documentElement.clientHeight),be=ge):(ge=window.innerWidth,Ce=window.innerHeight,be=window.innerWidth),de){var Re=de.getBoundingClientRect();Re.left>0&&Re.left<=ge&&(fe===void 0||!fe)&&(document.dir==="rtl"?(Ee=ge-Re.width-Re.left,Pe=be<=480?10:30):(Pe=Re.left,Ee=be<=480?10:30),le=Pe+Ee)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Me=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(le=40,Ie=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le=0,Ie=40)}}return de&&((re===void 0||!re)&&ve>0&&ve+le<ge?ge=ve:ge-=le,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(Ce-=Ie)),{width:ge,height:Ce}}function b(de,ve,re,se,fe){if(de.isScreenshoGenerator)return 1;var E=se!==void 0&&se,te=de.noScaleMargin!=null&&de.noScaleMargin,ne=function(Me){return Me&&Me!=="false"},ge=ne(de.autoHeight),Ce=ae(ve,de.width,re,ge,E&&window.GGBT_wsf_view||te,fe),be=parseInt(Ce.width),le=de.width,Ee=de.height;if(le===void 0){var Pe=ve.querySelector(".appletParameters");Pe&&(le=Pe.offsetWidth,Ee=Pe.offsetHeight)}var Ie=be/le,Re=E?1:Ce.height/Ee;return re!==void 0&&!re&&(Ie=Math.min(1,Ie),Re=Math.min(1,Re)),Math.min(Ie,Re)}function oe(de,ve,re){var se=1,fe,E=!1;if(de.hasOwnProperty("allowUpscale")&&(E=de.allowUpscale),de.hasOwnProperty("scale")&&(se=parseFloat(de.scale),(isNaN(se)||se===null||se===0)&&(se=1),se>1&&(E=!0)),ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(E=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))fe=b(de,ve,E,re,de.scaleContainerClass);else return se;return E&&(!de.hasOwnProperty("scale")||se===1)?fe:Math.min(se,fe)}function we(de){var ve=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),se=de.getBoundingClientRect(),fe=(ve-se.width)/2,E=(re-se.height)/2;E<0&&(E=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(fe<40?de.style.left="40px":de.style.left=fe+"px",de.style.top=E+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E<40?de.style.top="40px":de.style.top=E+"px",de.style.left=fe+"px")}function Ae(de,ve){var re=de.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ve.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var se=oe(ve,de);_n()&&re.setAttribute("data-param-scale",se);for(var fe=null,E=0;E<de.childNodes.length;E++)if(de.childNodes[E].className!==void 0&&de.childNodes[E].className.match(/^applet_scaler/)){fe=de.childNodes[E];break}if(fe!==null&&fe.querySelector(".noscale")!==null)return;var te=ve.id!==void 0?ve.id:"ggbApplet",ne=window[te];(ne==null||!ne.recalculateEnvironments)&&fe!==null&&!fe.className.match(/fullscreen/)&&(fe.parentNode.style.transform="",!isNaN(se)&&se!==1?(fe.parentNode.style.width=ve.width*se+"px",fe.parentNode.style.height=ve.height*se+"px",pn(fe,se)):(pn(fe,1),fe.parentNode.style.width=ve.width+"px",fe.parentNode.style.height=ve.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&we(de),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:Ae,isFlexibleWorksheetEditor:_n,positionCenter:we,getScale:oe,scaleElement:pn}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var _n=n.location.search;return _n.indexOf(J)!=-1||_n.indexOf(K)!=-1}function q(_n,pn){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(_n){var pn=s[L].bindings;s[L].bindings=function(){for(var ae=pn?pn():{},b=_n[webModule.__softPermutationId],oe=O;oe<b.length;oe++){var we=b[oe];ae[we[O]]=we[P]}return ae}};var t;function u(){return v(),t}function v(){if(!t){var _n=o.createElement(Q);if(_n.id=L,_n.style.cssText=R+S,_n.tabIndex=-1,o.body.appendChild(_n),t=_n.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var pn=document.compatMode==U?V:W;t.write(pn+X),t.close()}}}function w(_n){function pn(b){function oe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var we=oe();if(we){b();return}function Ae(){if(!we){if(!oe())return;we=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ae,!1),de&&clearInterval(de)}}o.addEventListener&&o.addEventListener(Z,Ae,!1);var de=setInterval(function(){Ae()},$)}function ae(b){var oe=u(),we=oe.body,Ae=oe.createElement(_);Ae.language=ab,Ae.crossOrigin=W,Ae.src=b,webModule.__errFn&&(Ae.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),we.appendChild(Ae)}pn(function(){ae(_n)})}webModule.__startLoadingFragment=function(_n){return C(_n)},webModule.__installRunAsyncCode=function(_n){var pn=u(),ae=pn.body,b=pn.createElement(_);b.language=ab,b.text=_n,ae.appendChild(b),ae.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=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(_n){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(_n){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(_n){var pn=c[_n];return pn==null?null:pn},r=d,webModule.__errFn=e}function B(){function _n(de){var ve=de.lastIndexOf(rb);ve==-1&&(ve=de.length);var re=de.indexOf(sb);re==-1&&(re=de.length);var se=de.lastIndexOf(tb,Math.min(re,ve));return se>=O?de.substring(O,se+P):W}function pn(de){if(!de.match(/^\w+:\/\//)){var ve=o.createElement(ub);ve.src=de+vb,de=_n(ve.src)}return de}function ae(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function b(){for(var de=o.getElementsByTagName(_),ve=O;ve<de.length;++ve)if(de[ve].src.indexOf(xb)!=-1)return _n(de[ve].src);return W}function oe(){var de=o.getElementsByTagName(yb);return de.length>O?de[de.length-P].href:W}function we(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var Ae=ae();return Ae==W&&(Ae=b()),Ae==W&&(Ae=oe()),Ae==W&&we()&&(Ae=_n(o.location.href)),Ae=pn(Ae),Ae}function C(_n){return _n.match(/^\//)||_n.match(/^[a-zA-Z]+:\/\//)?_n:webModule.__moduleBase+_n}function D(){var _n=[],pn=O,ae=[],b=[];function oe(de){var ve=b[de](),re=ae[de];if(ve in re)return ve;var se=[];for(var fe in re)se[re[fe]]=fe;throw r&&r(de,se,ve),null}if(__gwt_isKnownPropertyValue=function(de,ve){return ve in ae[de]},webModule.__getPropMap=function(){var de={};for(var ve in ae)ae.hasOwnProperty(ve)&&(de[ve]=oe(ve));return de},webModule.__computePropValue=oe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var we;try{we=Cb;var Ae=we.indexOf(Db);Ae!=-1&&(pn=parseInt(we.substring(Ae+P),$),we=we.substring(O,Ae))}catch(de){}return webModule.__softPermutationId=pn,C(we+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},31189:function(_n,pn,ae){"use strict";ae.d(pn,{$Y:function(){return Tt},A0:function(){return mt},EP:function(){return de},F_:function(){return se},Fk:function(){return De},G9:function(){return re},GB:function(){return Ge},GR:function(){return Pe},GW:function(){return Lt},Hh:function(){return pe},Hp:function(){return ge},Ir:function(){return oe},N$:function(){return $e},NZ:function(){return He},Nv:function(){return Xe},OA:function(){return ue},OJ:function(){return tt},QF:function(){return it},RS:function(){return Te},RY:function(){return Be},Rj:function(){return lt},SX:function(){return Oe},Tp:function(){return xt},Ui:function(){return Ve},V1:function(){return nt},Vn:function(){return _e},dL:function(){return ke},fo:function(){return We},gG:function(){return Ne},gK:function(){return Ee},hK:function(){return Ce},i3:function(){return E},ib:function(){return be},lS:function(){return le},m5:function(){return ve},n4:function(){return b},n_:function(){return te},oP:function(){return wt},p2:function(){return st},pl:function(){return Je},rM:function(){return Me},sM:function(){return ne},t2:function(){return Fe},tD:function(){return Ie},u8:function(){return Re},um:function(){return Qe},vm:function(){return ie},wQ:function(){return fe},wj:function(){return Ot},wt:function(){return Ye},yS:function(){return ye},yi:function(){return we},ym:function(){return ft},z2:function(){return Ae}});const b="FETCH_TASK_START",oe="FETCH_TASK_FAILURE",we="FETCH_TASK_SUCCESS",Ae="UPDATE_TASK_DATA",de="HIDE_EVALUATE_RESULT",ve="SHOW_EVALUATE_RESULT",re="UPDATE_TIMESTRAP",se="MOVE_X",fe="MOVE_Y",E="TRIGGER_RIGHT_PANEL_MASK ",te="SET_ACTIVE_INDEX",ne="GET_TASK_LIST",ge="SHOW_TASK_LIST",Ce="HIDE_TASK_LIST",be="SET_TASK_STAR",le="TRIGGER_ENLARGE_UNITY3D ",Ee="TRIGGER_TAB_FIXED ",Pe="GET_DISCUSSES",Ie="SHOW_DISCUSSES_LOADING",Re="TOP_OR_DOWN_DISCUSS",Me="PLUS_DISCUSS",ye="SET_ACTION_TYPE",Te="SHOW_REWARD_DIALOG",Fe="CANCEL_REWARD_DIALOG",_e="SET_REWARD",Oe="ACTIVE_DISCUSS_INDEX",Ke="CREATE_DISCUSS",We="DISABLE_DISCUSS",Ne="CHANGE_PAGE",Ye="SHOW_ANSWER_LOADING",Je="FETCH_ANSWER_INFO",He="HIGH_TIP_MODAL",lt="SHOW_TIP_MODAL",ft="SELECT_UNLOCK_ANSWER",tt="SET_CHOOSE_ANSWERS",Ot="EVAL_CHOOSE_START",nt="EVAL_CHOOSE_END",Ze="SHOW_REP_loading",Ge="FETCH_REP_CONTENT",$e="EDIT_REP_CONTENT",qe="SET_REP_PATH",Ve="SHOW_EVALUATE_LOADING",mt="HIDE_EVALUATE_LOADING",st="SET_EVALUATE_MESSAGE",Lt="SET_SHOW_DIR",ct="SET_EDITOR_SETTING",Tt="SET_EDITOR_THEME",xt="SET_EDITOR_FONTSIZE",wt="SET_REPOS",yt="SHOW_PATH_LIST",je="HIDE_PATH_LIST",ue="HIDE_PICTURE_VIEW",ie="SHOW_PICTURE_VIEW",ke="SHOW_NOTICE",Xe="HIDE_NOTICE",De="SHOW_CASE_NOTICE",pe="HIDE_CASE_NOTICE",x="SET_TAB_INDEX",me="SET_SSH_TABS",Le="SET_SSH_CONFIGDATA",Se="SET_SSH_CONFIGDATAARR",Be="SET_VNC_LOADING ",Qe="ON_TAB_TO_SPACE ",it="ON_AUTO_FORMAT "},23216:function(_n,pn,ae){"use strict";ae.d(pn,{Ax:function(){return Ae},Ds:function(){return de},KI:function(){return re},SI:function(){return we},f1:function(){return oe}});var b=ae(14185);function oe(se){let fe=!0;if(se.length>0){for(let E=0;E<se.length;E++)if(se[E].compile_success==0||!se[E].compile_success){fe=!1;break}}else fe=!1;return fe}function we(se,fe=""){let E=[];for(let te=0;te<se.length;te++){let ne=se[te],ge=fe?`${fe}/${ne.name}`:`${ne.name}`;E.push({title:ne.name,type:ne.type,isLeaf:ne.type!=="tree",key:ge})}return E}function Ae(se,fe,E){for(let te=0;te<se.length;te++){let ne=se[te];if(ne.key===fe){ne.children=E;break}ne.children&&Ae(ne.children,fe,E)}return se}function de(se,fe,E){let te;return function(){let ne=this,ge=arguments,Ce=function(){te=null,E||se.apply(ne,ge)},be=E&&!te;clearTimeout(te),te=setTimeout(Ce,fe),be&&se.apply(ne,ge)}}const ve=!0,re=b.Z.API_SERVER},42075:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Ce}});var b=ae(7939),oe=ae(59301),we=Object.defineProperty,Ae=Object.defineProperties,de=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,fe=(be,le,Ee)=>le in be?we(be,le,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):be[le]=Ee,E=(be,le)=>{for(var Ee in le||(le={}))re.call(le,Ee)&&fe(be,Ee,le[Ee]);if(ve)for(var Ee of ve(le))se.call(le,Ee)&&fe(be,Ee,le[Ee]);return be},te=(be,le)=>Ae(be,de(le)),ne=(be,le)=>{var Ee={};for(var Pe in be)re.call(be,Pe)&&le.indexOf(Pe)<0&&(Ee[Pe]=be[Pe]);if(be!=null&&ve)for(var Pe of ve(be))le.indexOf(Pe)<0&&se.call(be,Pe)&&(Ee[Pe]=be[Pe]);return Ee},ge=(be,le,Ee)=>new Promise((Pe,Ie)=>{var Re=Te=>{try{ye(Ee.next(Te))}catch(Fe){Ie(Fe)}},Me=Te=>{try{ye(Ee.throw(Te))}catch(Fe){Ie(Fe)}},ye=Te=>Te.done?Pe(Te.value):Promise.resolve(Te.value).then(Re,Me);ye((Ee=Ee.apply(be,le)).next())});const Ce=be=>{var le=be,{children:Ee}=le,Pe=ne(le,["children"]);const[Ie,Re]=(0,oe.useState)(!1);return oe.createElement(b.ZP,te(E({},Pe),{loading:Ie,onClick:Me=>ge(void 0,null,function*(){try{Re(!0),yield Pe.onClick(Me),Re(!1)}catch(ye){console.error(ye),Re(!1)}})}),Ee)}},50545:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Fe}});var b=ae(59301),oe=ae(28284),we=ae(62957),Ae=ae(82326),de=ae(29787),ve=ae(70858),re={flex_box_center:"flex_box_center___bIXR2",flex_space_between:"flex_space_between___Qd_bs",flex_box_vertical_center:"flex_box_vertical_center___m4yjg",flex_box_center_end:"flex_box_center_end___QlnxS",flex_box_column:"flex_box_column___BKnnV",zhishidian:"zhishidian___D2PeN"},se=ae(44283),fe=ae(70467),E=ae(76406),te=ae(49317),ne=ae(59301),ge=Object.defineProperty,Ce=Object.defineProperties,be=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Ie=(_e,Oe,Ke)=>Oe in _e?ge(_e,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):_e[Oe]=Ke,Re=(_e,Oe)=>{for(var Ke in Oe||(Oe={}))Ee.call(Oe,Ke)&&Ie(_e,Ke,Oe[Ke]);if(le)for(var Ke of le(Oe))Pe.call(Oe,Ke)&&Ie(_e,Ke,Oe[Ke]);return _e},Me=(_e,Oe)=>Ce(_e,be(Oe)),ye=(_e,Oe,Ke)=>new Promise((We,Ne)=>{var Ye=lt=>{try{He(Ke.next(lt))}catch(ft){Ne(ft)}},Je=lt=>{try{He(Ke.throw(lt))}catch(ft){Ne(ft)}},He=lt=>lt.done?We(lt.value):Promise.resolve(lt.value).then(Ye,Je);He((Ke=Ke.apply(_e,Oe)).next())});const Te=({dispatch:_e,user:Oe,classroomList:Ke,account:We,knowledgeList:Ne,setKnowledgeList:Ye,disabled:Je=!1,course_discipline_id:He=null})=>{const[lt]=oe.default.useForm(),ft=(0,se.useParams)(),[tt,Ot]=(0,b.useState)(!1),[nt,Ze]=(0,b.useState)({page:1,limit:10,keyword:""}),[Ge,$e]=(0,b.useState)([]),[qe,Ve]=(0,b.useState)({}),[mt,st]=(0,b.useState)("");(0,b.useEffect)(()=>{We.actionTabs.key=="\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9"?Lt():(nt.keyword="",nt.page=1,Ze(Re({},nt)))},[We.actionTabs]);const Lt=()=>ye(void 0,null,function*(){var xt,wt,yt,je,ue,ie,ke,Xe,De,pe,x,me,Le;Ot(!0);const Se=yield(0,te.ZP)("/api/v2/course_disciplines.json",{method:"get"});if((Se==null?void 0:Se.status)===0){$e((xt=Se==null?void 0:Se.data)==null?void 0:xt.list),console.log("account.actionTabs.params",We.actionTabs.params);const Be=(wt=We.actionTabs.params)==null?void 0:wt.course_discipline_id;console.log("id",Be),lt.setFieldsValue({course_discipline_id:Be||((ue=(je=(yt=Se==null?void 0:Se.data)==null?void 0:yt.list)==null?void 0:je[0])==null?void 0:ue.id)}),((ke=(ie=Se==null?void 0:Se.data)==null?void 0:ie.list)==null?void 0:ke.length)>0?ct(Be||((pe=(De=(Xe=Se==null?void 0:Se.data)==null?void 0:Xe.list)==null?void 0:De[0])==null?void 0:pe.id)):Ot(!1),st(Be||((Le=(me=(x=Se==null?void 0:Se.data)==null?void 0:x.list)==null?void 0:me[0])==null?void 0:Le.id))}}),ct=xt=>ye(void 0,null,function*(){const wt=yield(0,te.ZP)("/api/v2/tag_disciplines.json",{method:"get",params:{subject_id:(ft==null?void 0:ft.pathId)||"",course_discipline_id:xt,keyword:nt==null?void 0:nt.keyword}});(wt==null?void 0:wt.status)===0&&Ve(wt==null?void 0:wt.data),Ot(!1)});(0,b.useEffect)(()=>{We.actionTabs.key=="\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9"&&(st(lt.getFieldValue("course_discipline_id")),ct(lt.getFieldValue("course_discipline_id")))},[nt==null?void 0:nt.keyword]);const Tt=[{title:"\u77E5\u8BC6\u70B9\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,align:"left",render:(xt,wt)=>ne.createElement("span",null,xt||"--")},{title:"\u64CD\u4F5C",key:"action",align:"right",width:200,render:(xt,wt)=>ne.createElement(ne.Fragment,null,Ne!=null&&Ne.map(yt=>yt.id).includes(wt==null?void 0:wt.id)?ne.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{Ne=Ne.filter(yt=>(yt==null?void 0:yt.id)!=(wt==null?void 0:wt.id)),Ye([...Ne])}},"\u53D6\u6D88\u5173\u8054"):ne.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{(Ne==null?void 0:Ne.length)>0?Ye([...Ne,wt]):Ye([wt])}},"\u5173\u8054"))}].filter(xt=>!!xt);return ne.createElement("div",null,ne.createElement(we.default,{title:"\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9",open:We.actionTabs.key=="\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9",width:900,centered:!0,destroyOnClose:!0,footer:null,className:re.scoremodal,onCancel:()=>{_e({type:"account/setActionTabs",payload:{key:""}})}},ne.createElement(oe.default,{layout:"inline",form:lt,className:re.myForm},ne.createElement(oe.default.Item,{name:"course_discipline_id",colon:!1},ne.createElement(Ae.default,{style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B",disabled:Je,onChange:xt=>{ct(xt),st(xt)}},Ge==null?void 0:Ge.map(xt=>ne.createElement(Ae.default.Option,{key:xt==null?void 0:xt.id,value:xt==null?void 0:xt.id},xt==null?void 0:xt.name)))),ne.createElement(fe.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:nt==null?void 0:nt.keyword,style:{width:240},onChange:xt=>{Ze(Me(Re({},nt),{keyword:xt,page:1}))}}),ne.createElement("div",{className:re.zhishidian,onClick:()=>{(0,E.xg)(`/knowledgeHub?course_discipline_id=${mt}`)}},"\u77E5\u8BC6\u70B9\u7BA1\u7406")),ne.createElement(de.Z,{spinning:tt},ne.createElement(ve.default,{columns:Tt,pagination:!1,scroll:{y:400},style:{marginTop:"10px",marginBottom:"20px"},dataSource:(qe==null?void 0:qe.tag_disciplines)||[]}))))};var Fe=(0,se.connect)(({user:_e,classroomList:Oe,account:Ke})=>({user:_e,classroomList:Oe,account:Ke}))(Te)},21621:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return E}});var b=ae(59301),oe=ae(7939),we=ae(6767),Ae=ae(94968),de=ae(32050),ve=ae(19248),re=ae(14185),se={img:"img___BgL9D"},E=({value:te,onChange:ne,getFileProgress:ge})=>{const[Ce,be]=(0,b.useState)(!1),le=b.createElement(oe.ZP,{loading:Ce,icon:b.createElement(de.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Ee=()=>b.createElement("div",{className:se.img},b.createElement("img",{src:re.Z.API_SERVER+"/api/attachments/"+te,alt:"avatar",style:{width:288}}),b.createElement("div",null,b.createElement(ve.Z,{onClick:()=>ne(""),style:{fontSize:"16px",color:"red"}}))),Pe=Ie=>{var Re,Me,ye,Te,Fe,_e;if(ge&&ge(Ie),Ie.file.status==="uploading"){be(!0);return}if(Ie.file.status==="done"){if(be(!1),Ie.file.status==="done"&&((Me=(Re=Ie.file)==null?void 0:Re.response)==null?void 0:Me.status)===-1){we.ZP.error((Te=(ye=Ie.file)==null?void 0:ye.response)==null?void 0:Te.message);return}ne((_e=(Fe=Ie==null?void 0:Ie.file)==null?void 0:Fe.response)==null?void 0:_e.id)}};return b.createElement(b.Fragment,null,te?Ee():b.createElement("div",null,b.createElement(Ae.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${re.Z.API_SERVER}/api/attachments.json`,onChange:Pe,accept:"image/*"},le),b.createElement("div",{className:"mt20 c-light-black"},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528288*158\u50CF\u7D20\uFF1B"),b.createElement("div",{className:"c-light-black"},"\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002")))}},40254:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return te}});var b=ae(59301),oe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},we=ae(92310),Ae=ae.n(we),de=ae(29787),ve=ae(2859),re=ae(49317),se=ae(76406),fe=(ne,ge,Ce)=>new Promise((be,le)=>{var Ee=Re=>{try{Ie(Ce.next(Re))}catch(Me){le(Me)}},Pe=Re=>{try{Ie(Ce.throw(Re))}catch(Me){le(Me)}},Ie=Re=>Re.done?be(Re.value):Promise.resolve(Re.value).then(Ee,Pe);Ie((Ce=Ce.apply(ne,ge)).next())}),te=({data:ne,className:ge,fullWidth:Ce,style:be={},onClose:le,onOk:Ee,showFullTools:Pe,noAssociationId:Ie})=>{const Re=(0,b.useRef)(null),Me=(0,b.useRef)(null),ye=(0,b.useRef)(null),Te=(0,b.useRef)(null),[Fe,_e]=(0,b.useState)(!1),[Oe,Ke]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(ye.current||(ye.current=document.createElement("style"),document.head.appendChild(ye.current)),ne!=null&&ne.visible?(document.body.setAttribute("data-custom","y-hidden"),ye.current.innerHTML=" html { overflow-y: hidden; }",ne!=null&&ne.src&&We()):(document.body.removeAttribute("data-custom"),ye.current&&(document.head.removeChild(ye.current),ye.current=null)),()=>{document.body.removeAttribute("data-custom"),ye.current&&(document.head.removeChild(ye.current),ye.current=null)}),[ne==null?void 0:ne.visible]);const We=()=>fe(void 0,null,function*(){_e(!0),Ke("\u6B63\u5728\u52A0\u8F7D\u4E2D");const He=yield(0,se.ZJ)(ne==null?void 0:ne.src);Re.current.src="",Re.current.src=He,Re.current.onload=function(){Je()},_e(!1),Ke("")}),Ne=He=>fe(void 0,null,function*(){_e(!0),Ke("\u6B63\u5728\u4FDD\u5B58\u4E2D");const lt=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ne.title,file:He.dataUrl}});lt!=null&&lt.id&&!Ie?(yield(0,re.ZP)(`/api/attachments/${ne.id}/add_subitem.json`,{method:"post",body:{subitem_id:lt==null?void 0:lt.id,settings:JSON.stringify(He.state)}})).status===0&&Ee():lt!=null&&lt.id&&Ee(lt),_e(!1),Ke("")}),Ye=()=>{const He=document.querySelector('a[href="https://markerjs.com/"]');He&&He.parentNode&&(He.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(ft=>{const tt=document.querySelector(ft.name);tt&&tt.setAttribute("title",ft.title)})},Je=()=>{Me.current=new ve.hP(Re.current),Me.current.targetRoot=Te.current,Me.current.addEventListener("render",Ne),Me.current.addEventListener("beforeclose",le),Pe&&(Me.current.availableMarkerTypes=Me.current.ALL_MARKER_TYPES,Me.current.uiStyleSettings.redoButtonVisible=!0,Me.current.uiStyleSettings.notesButtonVisible=!0,Me.current.uiStyleSettings.zoomButtonVisible=!0,Me.current.uiStyleSettings.zoomOutButtonVisible=!0,Me.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Me.current.uiStyleSettings,Me.current.show(),ne!=null&&ne.snapshotData&&Me.current.restoreState(ne.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ye()},300)};return b.createElement(b.Fragment,null,(ne==null?void 0:ne.visible)&&b.createElement(de.Z,{spinning:Fe,tip:Oe,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:Te,className:Ae()(oe.imageDimensions,ge,Ce?oe.fullWidth:""),style:be},b.createElement("img",{className:oe.img,ref:Re}))))}},9057:function(_n,pn,ae){"use strict";var b=ae(59301),oe=ae(77019),we=ae(5269),Ae=ae(31691),de=ae(7939),ve=ae(35883),re=ae(74501),se=ae(48136),fe=ae(59301);const E=(0,b.forwardRef)(({callback:te,showSaveButton:ne,value:ge=""},Ce)=>{const be=(0,b.useRef)(),le=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Ee=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],Pe=Me=>{be.current.setValue(be.current.getValue()+" "+Me.value+" ")},Ie=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:fe.createElement(oe.Z,{className:re.Z.lists,gutter:[10,10]},le.map((Me,ye)=>fe.createElement(we.Z,{flex:"110px",className:re.Z.item},fe.createElement("div",null,fe.createElement(ve.Z,{value:`$$${Me.value}$$`}),Me.name),fe.createElement("div",{className:re.Z.children},Me.children.map((Te,Fe)=>fe.createElement("div",{key:Fe},fe.createElement("h1",null,Te.name),fe.createElement(oe.Z,{gutter:[10,10]},Te.data.map((_e,Oe)=>fe.createElement(we.Z,{key:Oe,onClick:()=>Pe(_e),className:re.Z.diamond},fe.createElement(ve.Z,{value:"`$$"+_e.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:fe.createElement(oe.Z,{className:re.Z.lists,gutter:[10,10]},Ee.map((Me,ye)=>fe.createElement(we.Z,{flex:"110px",className:re.Z.item},fe.createElement("div",null,fe.createElement(ve.Z,{value:"`$$"+Me.value+"$$`"}),Me.name),fe.createElement("div",{className:re.Z.children},Me.children.map((Te,Fe)=>fe.createElement("div",{key:Fe},Te.name&&fe.createElement("h1",null,Te.name),fe.createElement(oe.Z,{gutter:[10,10]},Te.data.map((_e,Oe)=>fe.createElement(we.Z,{key:Oe,onClick:()=>Pe(_e),className:re.Z.diamond},fe.createElement(ve.Z,{value:"`$$"+_e.value+"$$`"}))))))))))}],Re=()=>{var Me=document.createElement("div");Me.innerHTML=be.current.getValue();var ye=Me.innerText;return te&&te(ye),ye};return(0,b.useImperativeHandle)(Ce,()=>({getData:Re})),fe.createElement("div",{className:re.Z.mathWrap},fe.createElement(Ae.default,{defaultActiveKey:"1",items:Ie}),fe.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:be,style:{width:800,marginTop:30,fontSize:18}},ge||""),ne&&fe.createElement("div",{className:re.Z.button},fe.createElement(de.ZP,{size:"large",onClick:Re,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});pn.Z=E},57940:function(_n,pn,ae){"use strict";ae.d(pn,{z:function(){return Ot},Z:function(){return nt}});var b=ae(59301),oe=ae(94968),we=ae(6767),Ae=ae(62957),de=ae(7939),ve=ae(14185),re=ae(6755),se=Object.defineProperty,fe=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(Ze,Ge,$e)=>Ge in Ze?se(Ze,Ge,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ze[Ge]=$e,ge=(Ze,Ge)=>{for(var $e in Ge||(Ge={}))E.call(Ge,$e)&&ne(Ze,$e,Ge[$e]);if(fe)for(var $e of fe(Ge))te.call(Ge,$e)&&ne(Ze,$e,Ge[$e]);return Ze},Ce=(Ze,Ge,$e)=>new Promise((qe,Ve)=>{var mt=ct=>{try{Lt($e.next(ct))}catch(Tt){Ve(Tt)}},st=ct=>{try{Lt($e.throw(ct))}catch(Tt){Ve(Tt)}},Lt=ct=>ct.done?qe(ct.value):Promise.resolve(ct.value).then(mt,st);Lt(($e=$e.apply(Ze,Ge)).next())});const be="\u3000\u3000";function le(Ze){var Ge=["Bytes","KB","MB","GB","TB"];if(Ze==0)return"0 Byte";var $e=parseInt(""+Math.floor(Math.log(Ze)/Math.log(1024)),10);return(Ze/Math.pow(1024,$e)).toFixed(1)+" "+Ge[$e]}var Ee=({value:Ze=[],action:Ge,onChange:$e,className:qe,maxSize:Ve=150,title:mt="\u6587\u4EF6\u4E0A\u4F20",accept:st=null})=>{const Lt={multiple:!1,fileList:Ze,accept:st,withCredentials:!0,beforeUpload:Tt=>Tt.size/1024/1024<Ve?!0:(message.error(`\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(${Ve}MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20`),Promise.reject()),action:`${ENV.API_SERVER}/api/attachments.json`,onChange(Tt){var xt,wt,yt,je;let ue=[...Tt.fileList];if(ue=ue.map(ie=>(ie.name.indexOf(be)===-1&&(ie.name=`${ie.name}${be}${le(ie.size)}`),ge({},ie))),Tt.file.status==="done"&&((wt=(xt=Tt.file)==null?void 0:xt.response)==null?void 0:wt.status)===-1){message.error((je=(yt=Tt.file)==null?void 0:yt.response)==null?void 0:je.message),$e([]);return}$e(ue)},onRemove:Tt=>Ce(void 0,null,function*(){const xt=Tt.size/1024/1024;return Tt.status==="uploading"?!0:xt<Ve&&(Tt.response?Tt.response.id:Tt.uid)?yield removeAttachment(Tt.response?Tt.response.id:Tt.id):!0})};function ct(Tt){Tt.preventDefault(),Tt.stopPropagation()}return React.createElement("div",{className:`single-upload ${qe||""}`},React.createElement(Upload,ge({},Lt),React.createElement(Button,{type:"primary",title:Ze.length>0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:Ze.length>0,ghost:!0},mt),React.createElement("span",{onClick:ct,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",Ve,"M)"," ")))},Pe=ae(61481),Ie=ae(78267),Re=Object.defineProperty,Me=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Fe=(Ze,Ge,$e)=>Ge in Ze?Re(Ze,Ge,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ze[Ge]=$e,_e=(Ze,Ge)=>{for(var $e in Ge||(Ge={}))ye.call(Ge,$e)&&Fe(Ze,$e,Ge[$e]);if(Me)for(var $e of Me(Ge))Te.call(Ge,$e)&&Fe(Ze,$e,Ge[$e]);return Ze};const Oe=Ze=>React.createElement("svg",_e({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Ze),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Ke="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",We=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,He=(Ze,Ge,$e)=>Ge in Ze?We(Ze,Ge,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ze[Ge]=$e,lt=(Ze,Ge)=>{for(var $e in Ge||(Ge={}))Ye.call(Ge,$e)&&He(Ze,$e,Ge[$e]);if(Ne)for(var $e of Ne(Ge))Je.call(Ge,$e)&&He(Ze,$e,Ge[$e]);return Ze},ft=(Ze,Ge,$e)=>new Promise((qe,Ve)=>{var mt=ct=>{try{Lt($e.next(ct))}catch(Tt){Ve(Tt)}},st=ct=>{try{Lt($e.throw(ct))}catch(Tt){Ve(Tt)}},Lt=ct=>ct.done?qe(ct.value):Promise.resolve(ct.value).then(mt,st);Lt(($e=$e.apply(Ze,Ge)).next())});const{Dragger:tt}=oe.default;function Ot(Ze){let Ge=[];return Ze&&Ze.length>0&&(Ge=Ze.map($e=>({uid:$e.id,id:$e.id,name:$e.title+be+$e.filesize,url:$e.url,filesize:$e.filesize,status:"done",response:{id:$e.id}}))),Ge}var nt=({value:Ze,onChange:Ge,action:$e,data:qe,className:Ve,maxSize:mt=150,title:st="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Lt=!1,accept:ct="",additionalText:Tt,isDragger:xt,number:wt=1e3,aloneClear:yt=!1,realTimeRemove:je=!0,uploadText:ue,setFileProgress:ie,showFileProgress:ke})=>{const[Xe,De]=(0,b.useState)(!1);let[pe,x]=(0,b.useState)(Ze||[]),[me,Le]=(0,b.useState)(1);(0,b.useEffect)(()=>{Ze&&(me===1&&x([...Ze]),Le(2),wt===(Ze==null?void 0:Ze.length)&&De(!0))},[Ze]);const Se=()=>{setTimeout(()=>{pe.pop(),x([...pe])},500)};ke&&ie(pe.some(it=>it.status==="uploading"));const Be={multiple:!0,disabled:Xe,accept:ct,withCredentials:!0,fileList:pe,beforeUpload:(it,ot)=>{const at=it.size/1024/1024;return pe.concat(ot).length>wt?(pe.pop(),x([...pe]),we.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${wt}\u4E2A\u6587\u4EF6`),yt?Promise.reject():(Se(),!1)):at<mt?!0:(we.ZP.error(`\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(${mt}MB).`),yt?Promise.reject():(Se(),!1))},data:qe,action:$e||`${ve.Z.API_SERVER}/api/attachments.json`,onChange(it){var ot,at,Mt,Rt;if(it.file.status==="removed"?pe=it.fileList:pe=(0,Ie.uniqBy)([...it.fileList,...pe],"uid"),it.file.status==="done"&&((at=(ot=it.file)==null?void 0:ot.response)==null?void 0:at.status)===-1){we.ZP.error((Rt=(Mt=it.file)==null?void 0:Mt.response)==null?void 0:Rt.message);return}pe.length>=wt?De(!0):De(!1),x([...pe]),pe=pe.map(tn=>{var qt,Bt;return(qt=tn==null?void 0:tn.response)!=null&&qt.id&&(tn.url=(Bt=tn==null?void 0:tn.response)==null?void 0:Bt.url),tn.name.indexOf(be)===-1&&(tn.name=`${tn.name}${be}${le(tn.size)}`),lt({},tn)}),console.log("info:",it,pe),Ge(pe)},onRemove:it=>ft(void 0,null,function*(){if(!je)return!0;const ot=()=>ft(void 0,null,function*(){if(it.response?it.response.id:it.id){let Mt=yield(0,re.JZ)(it.response?it.response.id:it.uid);return Promise.resolve(Mt)}else return!0});return Lt?new Promise((at,Mt)=>{Ae.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:b.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>ft(void 0,null,function*(){const Rt=yield ot();we.ZP.success("\u5220\u9664\u6210\u529F"),at(!0)}),onCancel:()=>at(!1)})}):yield ot()})};function Qe(it){it.preventDefault(),it.stopPropagation()}return b.createElement("div",{className:`multi-upload ${Ve||""}`},xt&&b.createElement(tt,lt({},Be),b.createElement("p",{className:"ant-upload-drag-icon"},b.createElement(Pe.Z,null)),b.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",b.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",mt,"MB)"," "),Tt),!xt&&b.createElement(oe.default,lt({},Be),b.createElement(de.ZP,{disabled:Xe,className:"upload_button"},b.createElement("img",{className:"aBtn_img",src:Ke}),st),b.createElement("span",{onClick:Qe,className:"upload_text"},ue||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${mt}MB)`)))}},90736:function(_n,pn,ae){"use strict";var b=ae(59301),oe=ae(4977),we=ae(7939),Ae=Object.defineProperty,de=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,E=(Ce,be,le)=>be in Ce?Ae(Ce,be,{enumerable:!0,configurable:!0,writable:!0,value:le}):Ce[be]=le,te=(Ce,be)=>{for(var le in be||(be={}))se.call(be,le)&&E(Ce,le,be[le]);if(re)for(var le of re(be))fe.call(be,le)&&E(Ce,le,be[le]);return Ce},ne=(Ce,be)=>de(Ce,ve(be));const ge=({img:Ce,buttonProps:be={},styles:le={},customText:Ee,ButtonText:Pe,ButtonClick:Ie,Buttonclass:Re,ButtonTwo:Me,imgStyles:ye,loading:Te=!1,className:Fe=""})=>b.createElement("section",{className:`tc animated fadeIn ${Fe}`,style:te({color:"#999",margin:"100px auto",visibility:Te?"hidden":"visible"},le)},b.createElement("img",{src:Ce||oe,style:ne(te({},ye),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},Ee||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Pe&&b.createElement(we.ZP,te({className:Re,onClick:Ie},be),Pe),Me&&Me);pn.Z=ge},86974:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Re}});var b=ae(59301),oe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},we=ae(7939),Ae=ae(70557),de=ae(34728),ve=ae(25399),re=ae(76406),se=ae(84849),fe=ae(90736),E=ae(14185),te=ae(52078),ne=ae(59301),ge=Object.defineProperty,Ce=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Ee=(Me,ye,Te)=>ye in Me?ge(Me,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Me[ye]=Te,Pe=(Me,ye)=>{for(var Te in ye||(ye={}))be.call(ye,Te)&&Ee(Me,Te,ye[Te]);if(Ce)for(var Te of Ce(ye))le.call(ye,Te)&&Ee(Me,Te,ye[Te]);return Me},Ie=(Me,ye,Te)=>new Promise((Fe,_e)=>{var Oe=Ne=>{try{We(Te.next(Ne))}catch(Ye){_e(Ye)}},Ke=Ne=>{try{We(Te.throw(Ne))}catch(Ye){_e(Ye)}},We=Ne=>Ne.done?Fe(Ne.value):Promise.resolve(Ne.value).then(Oe,Ke);We((Te=Te.apply(Me,ye)).next())}),Re=({editOffice:Me="view",data:ye,issaver:Te,onSaver:Fe,theme:_e,type:Oe,filename:Ke,monacoEditor:We,className:Ne,style:Ye,close:Je,onClose:He,hasMask:lt,disabledDownload:ft,onImgDimensions:tt,showNodata:Ot,recordInfo:nt})=>{const[Ze,Ge]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[$e,qe]=(0,b.useState)(""),[Ve,mt]=(0,b.useState)(),st=window.ENV==="build"?"/react/build":"",Lt=location.host.startsWith("localhost")?E.Z.PROXY_SERVER:E.Z.API_SERVER,Tt=10*(1024*1024),xt=(0,b.useRef)();ye!=null&&ye.startsWith("/api")&&Oe!=="txt"&&(ye=E.Z.API_SERVER+ye);const wt=Xe=>Xe.substring(Xe.lastIndexOf("/")+1).split(".").pop();Ke&&We&&(We.filename=Ke),(0,b.useEffect)(()=>{var Xe,De;const pe=(De=(Xe=document.cookie)==null?void 0:Xe.replace(/\s/g,""))==null?void 0:De.split(";");pe==null||pe.map(x=>{let me=x.split("=");me[0]==="_educoder_session"&&qe(me[1])})},[]),(0,b.useEffect)(()=>{Oe==="office"&&(ye.indexOf("bigfilescdn.")>-1||ye.indexOf("bigfiles1")>-1?mt({url:ye,fileType:wt(ye),model:ye.indexOf("model=edit")?"edit":"view"}):ye.indexOf("coze")>-1?mt({url:ye,fileType:"doc",model:"view"}):je())},[Oe,ye]);function yt(Xe){return Ie(this,null,function*(){Xe.data.type==="pdfdata"&&(Fe(Xe.data.data),window.removeEventListener("message",yt,!1)),console.log("mess---:",Xe.data)})}const je=()=>Ie(void 0,null,function*(){console.log("data:",ye);let Xe=ye;ye.startsWith("http")||(Xe=location.origin+Xe);let De=new URL(Xe).pathname.split("/").pop();const pe=yield(0,se.gJ)({attachment_id:De});pe.url=Lt+pe.url,mt(pe)}),ue=()=>{if(ye.startsWith("http")||ye.startsWith("blob:")){ie();return}(0,re.Sv)(Ke||"educoder",ye,Ke)},ie=()=>{nt&&(0,te.fc)({id:nt==null?void 0:nt.id,watch_type:1,course_id:nt==null?void 0:nt.course_id}),(0,re.Nd)(Ke||"educoder",decodeURIComponent(ye))};(0,b.useEffect)(()=>(window.addEventListener("message",ke),()=>{window.removeEventListener("message",ke)}),[]);const ke=Xe=>{var De;((De=Xe==null?void 0:Xe.data)==null?void 0:De.type)==="closePop"&&He()};return ne.createElement("div",{style:Pe({},Ye||{}),className:`${lt&&oe.bgBlack} ${Oe?oe.wrp:"hide"}`},!!Oe&&Je&&ne.createElement("div",{id:"closePop",className:oe.close,ref:xt},!!tt&&ne.createElement(ve.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>xt.current},ne.createElement("span",{onClick:()=>{He(),tt()}},ne.createElement("i",{className:"icon-yulanpizhu"}))),!ft&&window.parent===window&&ne.createElement(ve.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>xt.current},ne.createElement("span",{onClick:ie},ne.createElement("i",{className:"icon-quxiaozhiding"}))),Te&&ne.createElement(ve.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>xt.current},ne.createElement("span",{className:"",onClick:()=>{const Xe=document.getElementById("pdfiframe");window.addEventListener("message",yt,!1),setTimeout(()=>{Xe.contentWindow.postMessage("getData","*")},300)}},ne.createElement("i",{className:"icon-baocun"}))),ne.createElement(ve.Z,{title:"\u5173\u95ED",getPopupContainer:()=>xt.current},ne.createElement("span",{className:"",onClick:()=>{He()}},ne.createElement("i",{className:"icon-guanbi1"})))),ne.createElement("div",{className:`${oe[Ne]} ${Ne} ${oe.monaco} ${Oe==="txt"?"show":"hide"}`},Oe==="txt"&&ne.createElement(ne.Fragment,null,ne.createElement(de.ZP,Pe({},We)))),Oe==="audio"&&ne.createElement("audio",{controls:!0,src:`${(ye==null?void 0:ye.indexOf("http://"))>-1||(ye==null?void 0:ye.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${ye}`,autoPlay:!0}),Oe==="video"&&ne.createElement(ne.Fragment,null,(ye==null?void 0:ye.indexOf("http"))>-1?ne.createElement("video",{controls:!0,src:`${ye}`,autoPlay:!0}):ne.createElement("video",{controls:!0,src:`data:video/mp4;base64,${ye}`,autoPlay:!0})),Oe==="office"&&Ve&&ne.createElement("iframe",{src:`${st}/office.html?key=${Ve.key}&url=${btoa(Ve.url)}&callbackUrl=${Lt+(Ve.callbackUrl||"")}&fileType=${Ve.fileType}&title=${Ve.title||""}&model=${Me}&officeServer=${E.Z.ONLYOFFICE}&disabledDownload=${!!ft}`}),Oe==="html"&&ne.createElement("iframe",{src:ye+"&disposition=inline"}),Oe==="pdf"&&ne.createElement("iframe",{id:"pdfiframe",src:`${st}/js/pdf/index.html?filename=${Ke||"educoder.pdf"}&url=${encodeURIComponent(ye)}&disabledDownload=${!!ft}&model=${Me}`}),Oe==="image"&&ne.createElement("img",{src:`${(ye==null?void 0:ye.indexOf("http://"))>-1||(ye==null?void 0:ye.indexOf("https://"))>-1?"":"data:image/png;base64,"}${ye}`}),(Oe==="other"||Oe==="download")&&ne.createElement(ne.Fragment,null,Ot?ne.createElement(fe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ne.createElement(we.ZP,{icon:ne.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ue,disabled:ft},"\u4E0B\u8F7D")}):ne.createElement(we.ZP,{type:"primary",size:"middle",onClick:ue,disabled:ft},ne.createElement(Ae.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Oe==="flowChart"&&ne.createElement("div",{className:"embed"},ne.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${ye||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(_n,pn,ae){"use strict";ae.d(pn,{z:function(){return We},Z:function(){return Ne}});var b=ae(59301),oe=ae(46214),we=ae(20047),Ae=ae(64018),de=ae(16471),ve=ae(14185),re=ae(76406),se=ae(15342),fe=ae(44104),E=ae(7939),te=ae(1012),ne=ae(86974),ge=ae(59301),be=({html:Ye})=>{const Je=(0,b.useRef)(null),He=(0,b.useRef)(null),lt=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 56px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,b.useEffect)(()=>{const ft=Je.current.attachShadow({mode:"open"});He.current=document.createElement("div"),He.current.className="markdown-body",He.current.innerHTML=Ye,ft.appendChild(He.current);const tt=document.createElement("style");return tt.textContent=lt,ft.appendChild(tt),()=>{ft.innerHTML=""}},[]),(0,b.useEffect)(()=>{He.current&&(He.current.innerHTML=Ye)},[Ye]),ge.createElement("div",{ref:Je})};function le(Ye){const Je=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],He=new RegExp(`\\b(${Je.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),lt=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return Ye.replace(He,"").replace(lt,"").trim()}var Ee={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Pe=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ye=(Ye,Je,He)=>Je in Ye?Pe(Ye,Je,{enumerable:!0,configurable:!0,writable:!0,value:He}):Ye[Je]=He,Te=(Ye,Je)=>{for(var He in Je||(Je={}))Re.call(Je,He)&&ye(Ye,He,Je[He]);if(Ie)for(var He of Ie(Je))Me.call(Je,He)&&ye(Ye,He,Je[He]);return Ye};const Fe="@\u2581\u2581@",_e="@\u2581@",Oe=/<pre[^>]*>/g;function Ke(Ye){let Je=document.createElement("div");return Je.innerHTML=Ye,Je.childNodes.length===0?"":Je.childNodes[0].nodeValue}const We=(Ye,Je)=>{Ye=Ye||"";const He=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,lt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ft=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,tt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Je?Ye.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(He,(Ot,nt,Ze,Ge,$e,qe,Ve)=>{const mt=nt||Ge||qe,st=Ze||$e||Ve||"?";return ve.Z.API_SERVER+"/api/attachments/"+mt+st+"&t="+(0,re.Jn)(mt,Date.now())+(Ot.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Ye=Ye.replace(tt,(Ot,nt,Ze,Ge,$e,qe,Ve)=>{const mt=nt||Ge||qe,st=Ze||$e||Ve||"?";return ve.Z.API_SERVER+"/attachments/download/"+mt+st+"&t="+(0,re.Jn)(mt,Date.now())+(Ot.indexOf(")")>-1?")":"&")}).replace(He,(Ot,nt,Ze,Ge,$e,qe,Ve)=>{const mt=nt||Ge||qe,st=Ze||$e||Ve||"?";return ve.Z.API_SERVER+"/api/attachments/"+mt+st+"&t="+(0,re.Jn)(mt,Date.now())+(Ot.indexOf(")")>-1?")":"&")}).replace(lt,(Ot,nt,Ze,Ge,$e)=>{const qe=nt||Ge,Ve=Ze||$e||"";return'"'+ve.Z.API_SERVER+"/api/attachments/"+qe+Ve+qe+Ve+"&t="+(0,re.Jn)(qe,Date.now())}).replace(ft,(Ot,nt,Ze,Ge,$e)=>{const qe=nt||Ge,Ve=Ze||$e||"";return"("+ve.Z.API_SERVER+"/files/uploads/"+qe+Ve+qe+Ve+"&t="+(0,re.Jn)(qe,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),Ye)};var Ne=({value:Ye="",edit:Je=!1,className:He,showTextOnly:lt,showLines:ft,style:tt={},stylesPrev:Ot={},highlightKeywords:nt,showProgramFill:Ze,isProgramFill:Ge,disabledFill:$e=!1,programFillValue:qe,openEditor:Ve=()=>{},onFillChange:mt=ct=>{},onFillBlur:st=()=>{},onFillFocus:Lt=()=>{}})=>{let ct=le(String(Ye||""));const Tt=(0,b.useRef)(),xt=(0,b.useRef)(),[wt,yt]=(0,b.useState)(""),[je,ue]=(0,b.useState)("office"),[ie,ke]=(0,b.useState)([]),Xe=(0,b.useRef)("a"+(0,te.Z)()),De={},pe=Bt=>/<style[\s\S]*?>/i.test(Bt||""),x=(Bt,hn,$t)=>{const Ct=document.createElement(Bt===_e?"input":"textarea");Ct.style.width="100%",Ct.style.height=Bt===_e?"40px":"151px",Ct.rows=5,Ct.spellcheck=!1,Ct.name="edu-program-fill",Ct.placeholder="\u8BF7\u8F93\u5165",Ct.dataset.id=hn;const jt=Object.keys(De).length;return De[jt]=Ct,`<span class="edu-program-fill-wrap ${Bt===_e?"":"show"}" style="width:${Bt===_e?"600px":"100%"}" title=${$t||""}><span>${Ct.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function me(Bt){return Bt=Bt.replace(/!\[.*?\]\(.*?\)/g,""),Bt=Bt.replace(/\[.*?\]\(.*?\)/g,""),Bt=Bt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Bt=Bt.replace(/<embed.*?>/g,""),Bt=Bt.replace(/<img.*?>/g,""),Bt=Bt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Bt=Bt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Bt=Bt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Bt=Bt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Bt}const Le=Bt=>!lt&&pe(ct)?Bt:Bt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(hn,$t){let Ct=$t.replace(/(\n|\r)/g,"").split("}"),jt=[];return Ct.map(ln=>{ln!=""&&jt.push(`.${Xe.current} ${ln}`)}),`<style>${jt.join("}")}</style>`}),Se=(0,b.useMemo)(()=>{(0,we.Iy)();try{const Ct=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,jt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,ln=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,yn=/\(\/attachments\/download\//g;ct=ct.replace(yn,"("+ve.Z.API_SERVER+"/attachments/download/").replace(Ct,"("+ve.Z.API_SERVER+"/api/attachments/").replace(jt,'"'+ve.Z.API_SERVER+"/api/attachments/").replace(ln,'"'+ve.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),Tt.current.style.display="none"}catch(Ct){}if(Ze){let Ct=-1;return ct=ct.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(jt,ln,yn){var Et;return++Ct,x(jt,Ct,(Et=qe==null?void 0:qe[Ct])==null?void 0:Et.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${Le(ct||"")}</pre>`}let Bt=Le(ct);Bt=(0,we.ZP)(Bt);const hn=(0,we.ez)();ct.match(/\[TOC\]/)&&(Bt=Bt.replace("<p>[TOC]</p>",(0,we.Qv)()),(0,we.Iy)()),Bt=Bt.replace(/(__special_katext_id_\d+__)/g,(Ct,jt)=>{const{type:ln,expression:yn}=hn[jt];return(0,se.renderToString)(Ke(yn)||"",{displayMode:ln==="block",throwOnError:!1,output:"html"})}),Bt=Bt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,we.AL)();const $t=document.createElement("div");if($t.innerHTML=Bt,lt)return $t.innerText;if(nt){const Ct=nt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return ot($t,Ct),$t.innerHTML}return setTimeout(()=>Rt(),500),$t.innerHTML},[ct,nt]);(0,b.useEffect)(()=>{at.current&&at.current.querySelectorAll(["input","textarea"]).forEach(hn=>{hn.oninput=Be,hn.onblur=Qe,hn.onfocus=it})},[ie]),(0,b.useEffect)(()=>{var Bt,hn,$t,Ct,jt;if(qe!=null&&qe.length)try{const ln=at.current.querySelectorAll(".edu-program-fill-score"),yn=at.current.querySelectorAll('[name="edu-program-fill"]');for(const[Et,Wt]of yn.entries())Wt.value=((Bt=qe==null?void 0:qe[Et])==null?void 0:Bt.value)||"",((hn=qe==null?void 0:qe[Et])==null?void 0:hn.type)==="warning"?Wt.className="program-fill-warning":(($t=qe==null?void 0:qe[Et])==null?void 0:$t.type)==="success"?Wt.className="program-fill-success":Wt.className="";for(const[Et,Wt]of ln.entries())Wt.innerHTML=(Ct=qe==null?void 0:qe[Et])!=null&&Ct.score?`${(jt=qe==null?void 0:qe[Et])==null?void 0:jt.score}\u5206`:"";ke(qe)}catch(ln){console.log(ln,"error")}},[qe]);const Be=Bt=>{ie[Bt.target.dataset.id]=ie[Bt.target.dataset.id]||{},ie[Bt.target.dataset.id].value=Bt.target.value,ke([...ie]),mt(ie,Bt.target.dataset.id)},Qe=Bt=>{ie[Bt.target.dataset.id]=ie[Bt.target.dataset.id]||{},ie[Bt.target.dataset.id].value=Bt.target.value,ke([...ie]),st(ie,Bt.target.dataset.id)},it=Bt=>{ie[Bt.target.dataset.id]=ie[Bt.target.dataset.id]||{},ie[Bt.target.dataset.id].value=Bt.target.value,ke([...ie]),Lt(ie,Bt.target.dataset.id)};function ot(Bt,hn){return Bt.childNodes.forEach($t=>{var Ct;if($t.childNodes.length>0)ot($t,hn);else if($t.nodeName!=="IMG")if($t.innerHTML)$t.innerHTML=(Ct=$t.innerHTML)==null?void 0:Ct.replace(new RegExp(hn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const jt=document.createElement("span");jt.innerHTML=$t.textContent.replace(new RegExp(hn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),$t.replaceWith(jt)}})}const at=(0,b.useRef)();we.jb.WebkitLineClamp=ft,ft&&(tt=Te(Te({},tt),we.jb));function Mt(Bt){let hn=Bt.target;if(hn.tagName.toUpperCase()==="A"){let $t=hn.getAttribute("href");if($t.indexOf("office")>-1)Bt.preventDefault(),yt($t),ue("office");else if($t.indexOf("application/pdf")>-1)Bt.preventDefault(),yt($t),ue("pdf");else if($t.indexOf("text/html")>-1)Bt.preventDefault(),yt($t),ue("html");else if($t.startsWith("#")){Bt.preventDefault();let Ct=document.getElementById($t.replace("#",""));Ct&&Ct.scrollIntoView(!0)}}}const Rt=()=>{var Bt;const hn=(Bt=at.current)==null?void 0:Bt.querySelectorAll("video");hn==null||hn.forEach($t=>{if($t.oncontextmenu=()=>!1,$t.src.indexOf(".m3u8")>-1&&!$t.canPlayType("application/vnd.apple.mpegurl")){if(de.ZP.isSupported()){var Ct=new de.ZP;Ct.loadSource($t.src),Ct.attachMedia($t)}}})};(0,b.useEffect)(()=>{if(at.current&&Se&&Se.match(Oe)&&window.PR.prettyPrint(),at.current)return at.current.addEventListener("click",Mt),()=>{var Bt;(Bt=at.current)==null||Bt.removeEventListener("click",Mt),(0,we.AL)(),(0,we.Iy)()}},[Se,at.current,Mt]);const tn=Bt=>{Bt.target.nodeName==="IMG"&&Bt.target.className.indexOf("draw-flowchart")>-1?(Tt.current.style.zIndex=1,Tt.current.style.display="flex",Tt.current.style.width=Bt.target.clientWidth+"px",Tt.current.style.height=Bt.target.clientHeight+"px",Tt.current.style.top=Bt.target.offsetTop+"px",Tt.current.style.left=Bt.target.offsetLeft+"px",Bt.target.id&&(xt.current=Bt.target.id)):Tt.current.style.display="none"},qt=()=>{Tt.current.style.display="none"};return(0,b.useEffect)(()=>{var Bt;const hn=$t=>{$t.preventDefault(),$t.clipboardData.setData("text",window.getSelection().toString())};return(Bt=at.current)==null||Bt.addEventListener("copy",hn),()=>{var $t;($t=at.current)==null||$t.removeEventListener("copy",hn)}},[at.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:qt},lt&&b.createElement("div",{ref:at,className:`${Ee.mdBody} `},Se),!lt&&!pe(Se)&&b.createElement("div",{ref:at,style:Te({},tt),onMouseOver:tn,className:`${He||""} ${$e?"disabled-fill":""} markdown-body ${Ee.mdBody} ${Xe.current}`,dangerouslySetInnerHTML:{__html:Se}}),!lt&&pe(Se)&&b.createElement(be,{html:Se}),b.createElement("div",{ref:Tt,className:`${Ee.button} ${Je?"":Ee.previewFlowChart}`},b.createElement(fe.Z,null,b.createElement(E.ZP,{onClick:()=>{Je?Ve(xt.current):(yt(xt.current),ue("flowChart"))}},Je?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(ne.Z,{close:!0,data:wt,type:wt!=null&&wt.length?je:"",style:Te({},Ot),onClose:()=>yt("")}))}},28010:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Ae}});var b=ae(44283),oe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},we=ae(59301),Ae=({message:de,className:ve,children:re,style:se={}})=>we.createElement("div",{className:`custom-spinner ${oe.idsRingWrapper} ${ve}`},we.createElement("div",{className:oe.ldsRing},we.createElement("div",null),we.createElement("div",null),we.createElement("div",null),we.createElement("div",null)),de?we.createElement("p",{style:se},de):null,re,we.createElement(b.Outlet,null))},11295:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Ae}});var b=ae(59301),oe=ae(33156),we=ae(75786),Ae=()=>{const[de,ve]=(0,b.useState)(""),[re,se]=(0,b.useState)(0);let[fe,E]=(0,b.useState)(),[te,ne]=(0,b.useState)();const[ge,Ce]=(0,b.useState)(!1),be=(0,b.useRef)("");(0,b.useEffect)(()=>oe.Z.subscribe("preview-image",Oe=>{ve(Oe),console.log(Te.current)}),[]),(0,b.useEffect)(()=>(document.addEventListener("keydown",le),()=>{document.removeEventListener("keydown",le)}),[]),(0,b.useEffect)(()=>{be.current=de},[de]);function le(_e){console.log("e====",_e),_e.keyCode==27&&be.current&&Ee()}function Ee(){document.body.style.overflow="auto",E(void 0),ne(void 0),se(0),ve("")}function Pe(){se(re+90)}function Ie(){fe=Te.current.width*1.1,te=Te.current.height*1.1,ne(te),E(fe)}function Re(){fe=Te.current.width/1.1,te=Te.current.height/1.1,ne(te),E(fe)}const Me=(0,b.useRef)(),ye=(0,b.useRef)(),Te=(0,b.useRef)(),Fe=_e=>{(_e.nativeEvent.target===Me.current||_e.nativeEvent.target===ye.current)&&Ee()};return b.createElement(b.Fragment,null,de?b.createElement("div",null,b.createElement("div",{className:"preview-wrp-group",ref:ye},b.createElement(we.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,onVisibleChange:_e=>{ve("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},28267:function(_n,pn,ae){"use strict";ae.d(pn,{h:function(){return Me}});var b=ae(59301),oe=ae(82326),we=ae(28284),Ae=ae(7939),de=ae(89780),ve=ae.n(de),re=ae(88319),se=ae(94896),fe=Object.defineProperty,E=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,be=(ye,Te,Fe)=>Te in ye?fe(ye,Te,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ye[Te]=Fe,le=(ye,Te)=>{for(var Fe in Te||(Te={}))ge.call(Te,Fe)&&be(ye,Fe,Te[Fe]);if(ne)for(var Fe of ne(Te))Ce.call(Te,Fe)&&be(ye,Fe,Te[Fe]);return ye},Ee=(ye,Te)=>E(ye,te(Te));const Pe=oe.default.Option,Ie={labelCol:{span:4},wrapperCol:{span:20}},Re={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"]};pn.Z=({callback:ye,onCancel:Te})=>{const[Fe,_e]=(0,b.useState)("python");function Oe(We){_e(Re[We][1])}function Ke(We){ye(We)}return b.createElement(we.default,Ee(le({},Ie),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ke,style:{width:500}}),b.createElement(we.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(oe.default,{getPopupContainer:We=>We.parentNode,onChange:Oe},Object.keys(Re).map(We=>b.createElement(Pe,{key:We,value:We},Re[We][0])))),b.createElement(we.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(Me,{mode:Fe})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ae.ZP,{type:"ghost",onClick:Te},"\u53D6\u6D88")))};function Me({value:ye,onChange:Te,mode:Fe,options:_e={}}){const Oe=(0,b.useRef)(),[Ke,We]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ke){let Ne=function(Ye){const Je=Ye.getValue();Te&&Te(Je)};return Ke.on("change",Ne),()=>{Ke.off("change",Ne)}}},[Ke,Te]),(0,b.useEffect)(()=>{Ke&&Ke.setOption("mode",Fe)},[Ke,Fe]),(0,b.useEffect)(()=>{Ke&&(ye!==Ke.getValue()||ye==="")&&setTimeout(()=>{Ke.setValue(ye||"")},300)},[Ke,ye]),(0,b.useEffect)(()=>{if(Oe.current&&!Ke){const Ne=ve().fromTextArea(Oe.current,le({mode:Fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},_e));We(Ne)}},[Oe.current,Ke]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Oe}))}},39116:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Tn}});var b=ae(59301),oe=ae(44283),we=ae(89780),Ae=ae.n(we),de=ae(76374),ve=ae(88319),re=ae(6313),se=ae(25717),fe=ae(99498),E=ae(25419),te=ae(67549),ne=ae(35883),ge=({value:In="",className:Kn,showTextOnly:jn,showLines:nr,style:Cr={}})=>{const Sr=(0,b.useMemo)(()=>"",[In]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:Sr}}))},Ce=Object.defineProperty,be=Object.defineProperties,le=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Re=(In,Kn,jn)=>Kn in In?Ce(In,Kn,{enumerable:!0,configurable:!0,writable:!0,value:jn}):In[Kn]=jn,Me=(In,Kn)=>{for(var jn in Kn||(Kn={}))Pe.call(Kn,jn)&&Re(In,jn,Kn[jn]);if(Ee)for(var jn of Ee(Kn))Ie.call(Kn,jn)&&Re(In,jn,Kn[jn]);return In},ye=(In,Kn)=>be(In,le(Kn));let Te=[{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\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",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 Fe({onActionCallback:In,title:Kn,icon:jn,actionName:nr,className:Cr="",children:Sr}){function Er(){In(nr)}return b.createElement("a",{title:Kn,className:Cr,onClick:Er},b.createElement("i",{className:`${jn}`}),Sr)}var _e=({watch:In,showNullButton:Kn,showNullProgramButton:jn,onActionCallback:nr,fullScreen:Cr,insertTemp:Sr,hidetoolBar:Er,extraUse:Nr})=>{const Tr=[...Te,{title:`${In?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${In?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!Er&&Tr.map((zr,Rr)=>b.createElement("li",{key:Rr},zr.actionName?b.createElement(Fe,ye(Me({},zr),{onActionCallback:nr})):b.createElement("span",{className:"v-line"}))),Kn?b.createElement("li",null,b.createElement(Fe,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:nr},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,jn?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(Fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:nr},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(Fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:nr},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Sr&&b.createElement("li",null,b.createElement(Fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Sr}`,onActionCallback:nr},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Nr&&b.createElement("li",null,Nr),b.createElement("li",{className:"btn-full-screen"},b.createElement(Fe,{icon:`${Cr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Cr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:nr})))},Oe=ae(88487),Ke=ae(28284),We=ae(37568),Ne=ae(7939),Ye=Object.defineProperty,Je=Object.defineProperties,He=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Ot=(In,Kn,jn)=>Kn in In?Ye(In,Kn,{enumerable:!0,configurable:!0,writable:!0,value:jn}):In[Kn]=jn,nt=(In,Kn)=>{for(var jn in Kn||(Kn={}))ft.call(Kn,jn)&&Ot(In,jn,Kn[jn]);if(lt)for(var jn of lt(Kn))tt.call(Kn,jn)&&Ot(In,jn,Kn[jn]);return In},Ze=(In,Kn)=>Je(In,He(Kn));const Ge={labelCol:{span:4},wrapperCol:{span:20}};var $e=({callback:In,onCancel:Kn})=>{function jn(nr){In(nr)}return b.createElement(Ke.default,Ze(nt({},Ge),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:jn,style:{width:500}}),b.createElement(Ke.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(We.default,null)),b.createElement(Ke.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(We.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:Kn},"\u53D6\u6D88")))},qe=ae(28267),Ve=ae(53332),mt=ae(62957),st=ae(77019),Lt=ae(40254),ct=ae(59301),Tt=({callback:In,onCancel:Kn})=>{const jn=document.createElement("canvas"),nr=jn.getContext("2d");jn.width=1e3,jn.height=800,nr.fillStyle="#ffffff",nr.fillRect(0,0,jn.width,jn.height);const Cr=jn.toDataURL("image/png");return ct.createElement(mt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ct.createElement(st.Z,{style:{height:"100vh"}},ct.createElement(Lt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Cr,visible:!0,title:String(Date.now())},onOk:Sr=>{In({src:Sr.url})},onClose:Kn})))},xt=ae(36207),wt=ae(5269),yt=ae(6767),je={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ue=ae(59301),ke=(0,b.forwardRef)(({onCancel:In,editImgId:Kn,callback:jn},nr)=>{let Cr=(0,b.useRef)(),Sr=(0,b.useRef)(),Er=(0,b.useRef)(),Nr=(0,b.useRef)(!1);const Tr=(0,b.useRef)(!1);console.log("ref:",nr);const[zr,Rr]=(0,b.useState)(0),[Ln,Qn]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Rr(1)},[]),(0,b.useImperativeHandle)(nr,()=>({setHeight:Qn})),ue.createElement("div",{ref:Tr,className:"body-overflow-initial"},ue.createElement(xt.Z,{width:"100vw",height:Ln,footer:null,closable:!0,placement:"bottom",open:!!zr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${je.drawerWrap}`,onClose:()=>{window.saveDrawData(Ar=>{jn({src:`/api/attachments/${Ar}`,id:Ar})})},title:ue.createElement(st.Z,{align:"middle"},ue.createElement(wt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ue.createElement(wt.Z,{onClick:()=>{Qn(Ln==="60px"?"100vh":"60px")}},ue.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ue.createElement(wt.Z,{onClick:()=>{window.saveDrawData(Ar=>{if(Ar===null){yt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}yt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),jn({src:`/api/attachments/${Ar}`,id:Ar,disabledClose:!0})})}},ue.createElement(Ne.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ue.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Kn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Sr})))}),Xe=ae(14185),De=ae(47889),pe=ae(4875);const x=De.ZP.Group,me={margin:"0 8px"};var Le=({callback:In,onCancel:Kn})=>{function jn(nr){In(nr)}return b.createElement(Ke.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:jn},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:me},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:me},"\u884C\u6570"),b.createElement(Ke.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(pe.Z,null)),b.createElement("span",{style:me},"\u5217\u6570"),b.createElement(Ke.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(pe.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:me},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ke.default.Item,{name:"align"},b.createElement(x,null,b.createElement(De.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(De.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(De.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(De.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:Kn},"\u53D6\u6D88")))},Se=ae(58755),Be=ae(84915),Qe=ae.n(Be),ot=(0,b.forwardRef)(({use3d:In,width:Kn,height:jn,callback:nr,showSaveButton:Cr},Sr)=>{const Er=(0,b.useRef)(),Nr=(0,b.useRef)(),[Tr,zr]=(0,b.useState)(!1),Rr=(0,b.useRef)({id:Er,appName:"graphing",width:Kn||1e3,height:jn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Nr.current=new(Qe())(Rr.current,!0),window.onload=function(){Nr.current.inject("applet_container")}},[]);const Ln=()=>{var Qn=window.ggbApplet.getPNGBase64(1,!0,72);return nr&&nr(Qn),Qn};return(0,b.useEffect)(()=>{Rr.current.appName=Tr?"3D":"graphing",Nr.current.inject("applet_container")},[Tr]),(0,b.useEffect)(()=>{zr(In)},[In]),(0,b.useImperativeHandle)(Sr,()=>({getImgData:Ln})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Er}),b.createElement(st.Z,{align:"middle"},b.createElement(wt.Z,{flex:1},b.createElement(Se.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Tr,onChange:Qn=>zr(Qn)})),b.createElement(wt.Z,null,b.createElement(Ne.ZP,{size:"large",onClick:Ln,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),at=ae(9057);const Mt="link",Rt="upload-image",tn="add-flowchart",qt="draw-image",Bt="add-flowchart",hn="code-block",$t="add-table",Ct="------------",jt={default:Ct,left:`:${Ct}`,center:`:${Ct}:`,right:`${Ct}:`};var ln=ae(79006),yn=ae(76406);function Et(){}let Wt=0;const Jt=1e4,bn="\u2581",kn="@\u2581\u2581@",tr="@\u2581@",pr=`
**\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`,xr=["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 Yn(In){return/^\d+$/.test(In)?`${In}px`:In}const Wn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",xn={[Wn+"-B"]:"bold",[Wn+"-I"]:"italic"},Pn={[Mt]:"\u6DFB\u52A0\u94FE\u63A5",[hn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Rt]:"\u6DFB\u52A0\u56FE\u7247",[qt]:"\u6DFB\u52A0\u753B\u56FE",[tn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[$t]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Tn=({defaultValue:In="",onChange:Kn,width:jn="100%",height:nr=400,miniToolbar:Cr=!1,isFocus:Sr=!1,watch:Er,insertTemp:Nr,mode:Tr="markdown",id:zr="markdown-editor-id",showResizeBar:Rr=!1,noStorage:Ln=!1,showNullButton:Qn=!1,showNullProgramButton:Ar=!1,hidetoolBar:wr=!1,fullScreen:zt=!1,onBlur:It,onCMBeforeChange:Dt,onFullScreen:Vt,className:Nt="",disablePaste:Kt=!1,disabled:ut=!1,disabledFill:Qt=!1,placeholder:on="",values:an="",extraUse:Xt,onAddBlank:Yt})=>{const[Gt,dn]=(0,b.useState)(null),[ur,Zt]=(0,b.useState)(In),[nn,Cn]=(0,b.useState)(Er),[Ht,Ft]=(0,b.useState)(zt),[fn,wn]=(0,b.useState)(""),[vn,An]=(0,b.useState)(0),[Rn,Zn]=(0,b.useState)(nr),[zn,Un]=(0,b.useState)(!1),[ar,Fn]=(0,b.useState)(0),[ir,Ir]=(0,b.useState)(0),Lr=(0,b.useRef)(),Fr=(0,b.useRef)(),vr=(0,b.useRef)(),Dr=(0,b.useRef)(),Ur=(0,b.useRef)(),gr=(0,b.useRef)(),Zr=(0,oe.useDispatch)();(0,b.useEffect)(()=>{const _t=window.scrollY||window.pageYOffset;Zt(an),Gt==null||Gt.setValue(an),window.scrollTo(0,_t)},[an]),(0,b.useEffect)(()=>{Vt==null||Vt(Ht)},[Ht]),(0,b.useEffect)(()=>{if(Lr.current){let _t=function(Xn,fr){var Wr;if(Kt){fr.preventDefault();return}const Qr=fr.clipboardData;if(Qr){const Xr=Qr.types.toString(),Fi=Qr.items;if(Xr==="Files"||Qr.types.indexOf("Files")>-1){if(fr.preventDefault(),Tr=="stex")return;try{let or=Fi[1];((Wr=Fi[0])==null?void 0:Wr.kind)==="file"&&(or=Fi[0]);const Ti=or.getAsFile(),hi=Ti.name.split(".").pop();(0,Ve.I)(Ti,Ei=>{var Li,Ai,ro;Ei.id?((Li=Ti==null?void 0:Ti.type)==null?void 0:Li.indexOf("image"))>-1?Bn.replaceSelection(`<img width="100%" src="/api/attachments/${Ei.id}?type=${Ei.content_type})" alt="" />`):((Ai=Ti==null?void 0:Ti.type)==null?void 0:Ai.indexOf("video"))>-1?Bn.replaceSelection(`<video width="100%" controls src="/api/attachments/${Ei.id}"></video>`):((ro=Ti==null?void 0:Ti.type)==null?void 0:ro.indexOf("pdf"))>-1?Bn.replaceSelection(`<a href="/api/attachments/${Ei.id}?type=${Ti.type}&disposition=inline" target="_blank">${Ti.name}</a>`):xr.includes(hi)?Bn.replaceSelection(`<a href="/api/attachments/${Ei.id}?type=office&disposition=inline" target="_blank">${Ti.name}</a>`):Bn.replaceSelection(`[${Ti.name}](/api/attachments/${Ei.id}?type=${Ei.content_type})`):(Ei==null?void 0:Ei.status)===401&&(document.location.href="/user/login")})}catch(or){yt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Bn=Ae().fromTextArea(Lr.current,{mode:Tr,lineNumbers:!Cr,lineWrapping:!0,value:In,autoCloseTags:!0,autoCloseBrackets:!0});return Bn.on("keyup",function(Xn,fr){fr.keyCode===8&&(Xn.getValue()==""?Bn.setOption("placeholder",on):Bn.setOption("placeholder",null))}),Bn.on("keydown",function(Xn,fr){if(fr.keyCode===8){var Wr=yi(Xn);Wr&&fr.preventDefault()}}),Sr&&Bn.focus(),Bn.on("paste",_t),ut&&Bn.on("beforeChange",function(Xn,fr){(fr.origin==="paste"||fr.origin==="+input")&&fr.cancel()}),dn(Bn),()=>{Bn.off("paste",_t)}}},[]);const jr=(0,b.useCallback)(()=>{if(Fr.current)try{}catch(_t){console.log(_t,"---- to set md editor body height")}},[Rn,Fr,Ht]);(0,b.useEffect)(()=>{function _t(){let Bn=new de.Z(Xn=>{for(let fr of Xn)(fr.target.offsetHeight>0||fr.target.offsetWidth>0)&&(jr(),Gt.setSize("100%","100%"),Gt.refresh())});return Bn.observe(Lr.current.parentElement),Bn}if(Gt){const Bn=_t();return()=>{var Xn,fr;(Xn=Lr.current)!=null&&Xn.parentElement&&Bn.unobserve((fr=Lr.current)==null?void 0:fr.parentElement)}}},[Gt,jr]),(0,b.useEffect)(()=>{if(Gt){let _t=[];for(const[Bn,Xn]of Object.entries(xn)){let fr={[Bn]:()=>{Yr(Xn)}};_t.push(fr),Gt.addKeyMap(fr)}return()=>{for(let Bn of _t)Gt.removeKeyMap(Bn)}}},[Gt]),(0,b.useEffect)(()=>{zt!==Ht&&Ft(zt)},[zt]),(0,ln.Z)(()=>{if(!Ln&&vn>0){let _t=new Date().getTime(),Bn=window.sessionStorage.getItem(zr);_t>=vn+Jt&&(!Bn||Bn!==ur)&&(window.sessionStorage.setItem(zr,ur),Un(!0))}},Jt),(0,b.useEffect)(()=>{Cn(Er)},[Gt,Er]),(0,b.useEffect)(()=>{Gt&&Sr&&Gt.focus()},[Gt,Sr]),(0,b.useEffect)(()=>{if(nn&&Gt){let _t=function(Xn){let fr=Xn.target;if(Dr.current){let Wr=fr.scrollTop/fr.scrollHeight;Dr.current.scrollTop=Dr.current.scrollHeight*Wr}};const Bn=Gt.getScrollerElement();return Bn.addEventListener("scroll",_t),()=>{Bn.removeEventListener("scroll",_t)}}},[Gt,nn]),(0,b.useEffect)(()=>{if(Gt&&Dt){let _t=function(Bn,Xn){Dt(Bn,Xn)};return Gt.on("beforeChange",_t),()=>{Gt.off("beforeChange",_t)}}},[Gt,Dt]),(0,b.useEffect)(()=>{if(Gt&&It){let _t=function(){It(Gt.getValue())};return Gt.on("blur",_t),()=>{Gt.off("blur",_t)}}},[Gt,It]);function yi(_t,Bn){var Xn=_t.getDoc(),fr=Xn.getCursor(),Wr=Xn.getLine(fr.line),Qr=Wr.charAt(fr.ch-1),Xr=Wr.lastIndexOf("@\u2581@",fr.ch),Fi=Wr.lastIndexOf("@\u2581\u2581@",fr.ch),or=Xr>Fi?Xr:Fi,Ti=Xr>Fi?3:4;if(kn.indexOf(Qr)===-1)return null;if(console.log("change1:",Bn,_t,Wr,fr,or,Xr,Fi,Qr),or>=0&&fr.ch-or<5){var hi=or+Ti;return Xn.replaceRange("",{line:fr.line,ch:or},{line:fr.line,ch:hi}),{line:fr.line,ch:hi}}return null}(0,b.useEffect)(()=>{if(Gt){let _t=function(Bn,Xn){const fr=Bn.getValue();Zt(fr),An(new Date().getTime()),Bn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Kn&&(Ar?Kn(fr,sr(fr)):Kn(fr))};return Gt.on("change",_t),()=>{Gt.off("change",_t)}}},[Gt,Kn]),(0,b.useEffect)(()=>{if(Gt)if(In==null)Gt.setValue(""),Zt("");else{const _t=window.scrollY||window.pageYOffset;In!==Gt.getValue()&&(Gt.setValue(In),Zt(In),Gt.setCursor(ut?1:Gt.lineCount(),0),window.scrollTo(0,_t))}},[Gt,In]);const Yr=(0,b.useCallback)(_t=>{const Bn=Gt.getCursor(),Xn=Gt.getSelection();let fr=Xn.split(`
`);switch(_t){case"bold":return Gt.replaceSelection("**"+Xn+"**"),Xn===""&&Gt.setCursor(Bn.line,Bn.ch+2),Gt.focus();case"italic":return Gt.replaceSelection("*"+Xn+"*"),Xn===""&&Gt.setCursor(Bn.line,Bn.ch+1),Gt.focus();case"code":return Gt.replaceSelection("`"+Xn+"`"),Xn===""&&Gt.setCursor(Bn.line,Bn.ch+1),Gt.focus();case"inline-latex":return(0,yn.Ye)(Zr)?void 0:(wn("inline-latex"),Gt.focus());case"latex":return Gt.replaceSelection("```latex\n"+Xn+"\n```"),Gt.setCursor(Bn.line+1,Xn.length+1),Gt.focus();case"line-break":return Gt.replaceSelection(`<br/>
`),Gt.focus();case"list-ul":return Xn===""?Gt.replaceSelection("- "+Xn):Gt.replaceSelection(fr.map(Wr=>Wr===""?"":`- ${Wr}`).join(`
`)),Gt.focus();case"list-ol":return Xn===""?Gt.replaceSelection("1. "+Xn):Gt.replaceSelection(fr.map((Wr,Qr)=>Wr===""?"":`${Qr+1}. ${Wr}`).join(`
`)),Gt.focus();case"add-null-ch":Yt==null||Yt();return;case"add-signal":return Xn===""&&Gt.setCursor(Bn.line,Bn.ch),Gt.replaceSelection(tr),Gt.focus();case"add-multiple":return Xn===""&&Gt.setCursor(Bn.line,Bn.ch),Gt.replaceSelection(kn),Gt.focus();case"inster-template-1":return Xn===""&&Gt.setCursor(Bn.line,Bn.ch),Gt.replaceSelection(pr),Gt.focus();case"eraser":return Gt.setValue(""),Gt.focus();case"trigger-watch":return Cn(!nn),Gt.focus();case"trigger-full-screen":return Ft(!Ht),Gt.focus();case Mt:wn(Mt);return;case hn:wn(hn);return;case Rt:wn(Rt);return;case qt:wn(qt);return;case"maths-latex":if((0,yn.Ye)(Zr))return;wn("maths-latex");return;case tn:Ur.current="",sessionStorage.removeItem("file_id"),wn(tn);return;case $t:wn($t);return;default:throw new Error}},[Gt,nn,Ht]),Kr=(0,b.useCallback)((_t,Bn)=>{var Xn,fr,Wr,Qr,Xr,Fi;_t!=null&&_t.disabledClose||wn("");const{src:or,alt:Ti,id:hi}=_t||{};switch(fn){case Mt:const{title:So,link:Qi}=_t;return Gt.replaceSelection(`[${So}](${Qi})`),Gt.focus();case hn:const{language:io,content:ti}=_t;return Gt.replaceSelection(["```"+io,ti,"```"].join(`
`)),Gt.focus();case"maths-latex":for(var Ei=atob(_t),Li=new Uint8Array(Ei.length),Ai=0;Ai<Ei.length;Ai++)Li[Ai]=Ei.charCodeAt(Ai);var ro=new Blob([Li],{type:"image/png"});return(0,Ve.I)(ro,$i=>{$i.id?Gt.replaceSelection(`![,](/api/attachments/${$i.id}?type=${$i.content_type})`):($i==null?void 0:$i.status)===401&&(document.location.href="/user/login")}),Gt.focus();case"inline-latex":return(0,yn.Ye)(Zr)?void 0:(Gt.replaceSelection("`$$"+_t+"$$`"),Gt.focus());case Bt:return hi?(Gt.getValue().indexOf(or)===-1?Gt.replaceSelection(`<center><img id="${hi}" width="80%" src="${or}" class="draw-flowchart" alt="${Ti||""}" /></center>`):document.getElementById(hi).src=Xe.Z.API_SERVER+or+"?t="+Date.now(),Gt.focus()):void 0;case Rt:case qt:const li=Bn,qi=(Wr=(fr=(Xn=li==null?void 0:li.name)==null?void 0:Xn.split("."))==null?void 0:fr.pop)==null?void 0:Wr.call(fr);return((Qr=li==null?void 0:li.type)==null?void 0:Qr.indexOf("image"))>-1||!(li!=null&&li.type)?li!=null&&li.align||li!=null&&li.width?Gt.replaceSelection(`<p style="text-align:${li.align||"initial"}"><img width="${li.width?li.width+"%":"initial"}" src="${or}" alt="${Ti||""}" /></p>`):Gt.replaceSelection(`<img width="100%" src="${or}" alt="${Ti||""}" />`):((Xr=li==null?void 0:li.type)==null?void 0:Xr.indexOf("video"))>-1?Gt.replaceSelection(`<video width="100%" controls src="${or}"></video>`):((Fi=li==null?void 0:li.type)==null?void 0:Fi.indexOf("pdf"))>-1?Gt.replaceSelection(`<a href="${or}?type=${li.type}&disposition=inline" target="_blank">${li.name}</a>`):xr.includes(qi)?Gt.replaceSelection(`<a href="${or}?type=office&disposition=inline" target="_blank">${li.name}</a>`):Gt.replaceSelection(`[${li.name}](${or})`),Gt.focus();case $t:const{row:ho,col:ji,align:oo}=_t;let uo=`
`;for(let $i=0;$i<ho;$i++){let co=[],so=[];for(let jo=0;jo<ji;jo++)$i===1&&so.push(jt[oo]),co.push(" ");$i===1&&(uo+=`| ${so.join(" | ")} |
`),uo+=`| ${co.join(ji===1?"":" | ")} |
`}return Gt.replaceSelection(uo+`
`),Gt.focus();default:throw new Error}},[Gt,fn]),si=(0,b.useMemo)(()=>{switch(fn){case Mt:return b.createElement($e,{callback:Kr,onCancel:ni});case hn:return b.createElement(qe.Z,{callback:Kr,onCancel:ni});case Rt:return b.createElement(Ve.Z,{callback:Kr,onCancel:ni});case tn:return b.createElement(ke,{editImgId:Ur.current,callback:Kr,onCancel:ni});case $t:return b.createElement(Le,{callback:Kr,onCancel:ni});case"maths-latex":return b.createElement(ot,{showSaveButton:!0,callback:Kr});case"inline-latex":return b.createElement(at.Z,{showSaveButton:!0,callback:Kr});default:return null}},[fn]);function ni(){wn("")}(0,b.useEffect)(()=>{if(vr.current){let _t=function(Xr){Wr=!0,Qr=Xr.pageY},Bn=function(){Wr=!1},Xn=function(Xr){if(Wr){let Fi=Xr.pageY-Qr;Fi<0&&(Fi=0),Fi>300&&(Fi=300);let or=nr+Fi+"px";Zn(or)}},fr=vr.current,Wr=!1,Qr=0;return fr.addEventListener("mousedown",_t),document.addEventListener("mousemove",Xn),document.addEventListener("mouseup",Bn),()=>{fr.removeEventListener("mousedown",_t),document.removeEventListener("mousemove",Xn),document.removeEventListener("mouseup",Bn)}}},[Gt,vr]),(0,b.useEffect)(()=>{Zn(nr)},[nr]);const Mr=Yn(jn),Vr=Yn(Rn),yr={width:Mr,height:Vr},Jn=(0,b.useMemo)(()=>{if(vn){let _t=new Date(vn),Bn=_t.getHours(),Xn=_t.getMinutes(),fr=_t.getSeconds();return Bn=Bn<10?"0"+Bn:Bn,Xn=Xn<10?"0"+Xn:Xn,fr=fr<10?"0"+fr:fr,`${Bn}:${Xn}:${fr}`}return 0},[vn]),sr=_t=>{const Bn=[];if(Ar){let Xn=-1;_t=_t.replace(/(@▁▁@|@▁@)/g,function(fr,Wr,Qr){Bn.push({multiLine:fr!==tr})})}return Bn};function hr(){window.sessionStorage.removeItem(zr),Un(!1),An(0)}function Gn(){Un(!1),An(0),Gt.setValue(window.sessionStorage.getItem(zr))}(0,b.useEffect)(()=>{Pn[fn]&&fn!==qt&&fn!==tn&&setTimeout(()=>{const _t=document.getElementsByClassName("markdown-popup-form")[0],Bn=window.innerWidth/2-_t.offsetWidth/2,Xn=window.innerHeight/2-_t.offsetHeight/2;Fn(Bn),Ir(Xn)},0)},[fn]);const kr=_t=>{_t.preventDefault();const Bn=_t.clientX-ar,Xn=_t.clientY-ir;document.body.onmousemove=fr=>{let Wr=fr.clientX-Bn,Qr=fr.clientY-Xn;const Xr=document.getElementsByClassName("markdown-popup-form")[0],Fi=window.innerWidth-Xr.offsetWidth,or=window.innerHeight-Xr.offsetHeight;Wr=Math.max(0,Math.min(Wr,Fi)),Qr=Math.max(0,Math.min(Qr,or)),Br(fr.clientX,fr.clientY,Bn,Xn)&&(Fn(Wr),Ir(Qr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Br=(_t,Bn,Xn,fr)=>{const Wr=document.body.clientHeight,Qr=document.body.clientWidth;return _t<20&&Xn>_t||_t>Qr-20&&Xn<_t||Bn<20&&fr>Bn||Bn>Wr-20&&fr<Bn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:Fr},b.createElement("div",{className:`markdown-editor-container ${Nt} ${nn?"on-preview":""} ${Cr?"mini":""} ${Ht?"full-screen":""}`,style:yr},b.createElement(_e,{insertTemp:Nr,watch:nn,fullScreen:Ht,showNullButton:Qn,showNullProgramButton:Ar,onActionCallback:Yr,hidetoolBar:wr,extraUse:Xt}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:Lr,placeholder:on})),nn?b.createElement("div",{ref:Dr,className:"preview-container"},Tr==="stex"&&b.createElement(ge,{value:ur}),Tr!=="stex"&&b.createElement(ne.Z,{edit:!0,disabledFill:Qt,showProgramFill:Ar,value:ur,openEditor:_t=>{var Bn;Ur.current=_t,(Bn=gr.current)==null||Bn.setHeight("100vh"),setTimeout(()=>{wn("add-flowchart")},150)}})):null))),Rr?b.createElement("a",{ref:vr,className:"editor-resize"}):null,fn===qt&&b.createElement(Tt,{callback:Kr,onCancel:ni}),fn===tn&&b.createElement(ke,{ref:gr,editImgId:Ur.current,callback:Kr,onCancel:ni}),b.createElement(Oe.Z,null,Pn[fn]&&fn!==qt&&fn!==tn?b.createElement(mt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ar,top:ir},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:kr},Pn[fn]),open:!0,onCancel:ni,footer:null,destroyOnClose:!0,width:fn===tn?"1200px":null,height:fn===tn?"80vh":null,className:"markdown-popup-form"},si):null))}},53332:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Te},I:function(){return _e}});var b=ae(28284),oe=ae(6767),we=ae(37568),Ae=ae(44104),de=ae(4875),ve=ae(47889),re=ae(7939),se=ae(23216),fe=ae(59301),E=ae(59301),te=Object.defineProperty,ne=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Ee=(Oe,Ke,We)=>Ke in Oe?te(Oe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:We}):Oe[Ke]=We,Pe=(Oe,Ke)=>{for(var We in Ke||(Ke={}))be.call(Ke,We)&&Ee(Oe,We,Ke[We]);if(Ce)for(var We of Ce(Ke))le.call(Ke,We)&&Ee(Oe,We,Ke[We]);return Oe},Ie=(Oe,Ke)=>ne(Oe,ge(Ke));const{useForm:Re}=b.default,Me={width:280,marginRight:10},ye={labelCol:{span:5},wrapperCol:{span:19}};var Te=({callback:Oe,onCancel:Ke})=>{const[We]=Re();let Ne=(0,fe.useRef)();function Ye(lt){Ne.current.width=We.getFieldValue("width"),Ne.current.align=We.getFieldValue("align"),Oe(lt,Ne.current)}function Je(lt,ft){if(lt.status===-1){oe.ZP.error(lt.message);return}We.setFieldsValue({src:`/api/attachments/${lt.id}`,type:ft.type})}function He(lt){let ft=lt.target.files[0];Ne.current=ft,_e(ft,Je)}return E.createElement(b.default,Ie(Pe({form:We},ye),{className:"upload-image-panel",onFinish:Ye,style:{width:470,overflow:"hidden"}}),E.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},E.createElement("div",{className:"flex-container"},E.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},E.createElement(we.default,{style:Me})),E.createElement(Fe,{onFileChange:He}))),E.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},E.createElement(we.default,{style:{width:264}})),E.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},E.createElement(Ae.Z,null,E.createElement(b.default.Item,{name:"width",style:{margin:0}},E.createElement(de.Z,{style:{width:264}})),E.createElement("span",{className:"ml8"},"%"))),E.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},E.createElement(ve.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"}]})),E.createElement("aside",null,E.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},E.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.createElement(re.ZP,{type:"default",onClick:Ke},"\u53D6\u6D88"))))};function Fe({onFileChange:Oe}){return E.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",E.createElement("input",{type:"file",onChange:Oe}))}function _e(Oe,Ke){if(!Oe)throw new String("\u6CA1\u6709\u6587\u4EF6");let We=new FormData;We.append("editormd-image-file",Oe),We.append("file_param_name","editormd-image-file"),We.append("byxhr","true");var Ne=new window.XMLHttpRequest;Ne.withCredentials=!0,Ne.addEventListener("load",function(Ye){Ke(JSON.parse(Ye.target.responseText),Oe)},!1),Ne.addEventListener("error",function(Ye){console.error(Ye)},!1),Ne.open("POST",`${se.KI}/api/attachments.json`),Ne.send(We)}},88487:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return we}});var b=ae(59301),oe=ae(4676);class we extends b.Component{constructor(de){super(de);const ve=window.document;this.node=ve.createElement("div"),ve.body.appendChild(this.node)}render(){const{children:de}=this.props;return(0,oe.createPortal)(de,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(_n,pn,ae){"use strict";ae.d(pn,{SV:function(){return Tt},ZP:function(){return ct}});var b=ae(59301),oe=ae(76374);const we={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Ae={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},de={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std",content:["using namespace std"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},ve={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},re={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var se=ae(53184),fe=ae.n(se),E=(xt,wt,yt)=>new Promise((je,ue)=>{var ie=De=>{try{Xe(yt.next(De))}catch(pe){ue(pe)}},ke=De=>{try{Xe(yt.throw(De))}catch(pe){ue(pe)}},Xe=De=>De.done?je(De.value):Promise.resolve(De.value).then(ie,ke);Xe((yt=yt.apply(xt,wt)).next())});const te={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ne=(xt,wt,yt,je)=>{const ue=wt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:yt.lineNumber,endColumn:yt.column});return Array.from(new Set(ue.match(/\b\w{2,}\b/g)||[])).map(ke=>({label:ke,kind:xt.languages.CompletionItemKind.Text,insertText:ke,range:je}))},ge=(xt,wt,yt,je)=>{xt.languages.registerCompletionItemProvider(wt,{provideCompletionItems(ue,ie){const ke=ue.getWordUntilPosition(ie),Xe={startLineNumber:ie.lineNumber,endLineNumber:ie.lineNumber,startColumn:ke.startColumn,endColumn:ke.endColumn},De=ue.getLineContent(ie.lineNumber).substring(ke.startColumn-2,ke.endColumn);return{suggestions:[...ne(xt,ue,ie,Xe),...yt.map(x=>({label:x,kind:xt.languages.CompletionItemKind.Keyword,documentation:x,insertText:x,insertTextRules:xt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Xe})),...je.map(x=>({label:x.label,kind:xt.languages.CompletionItemKind.Snippet,documentation:x.content,insertText:De.startsWith("#")?x.content.replace(/#/,""):x.content,insertTextRules:xt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Xe}))]}}})};var Ce=xt=>{te.languages.forEach(wt=>{xt.languages.registerDocumentFormattingEditProvider(wt,{provideDocumentFormattingEdits(yt){return E(this,null,function*(){const je=fe()(yt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:yt.getFullModelRange(),text:je}]})}})}),ge(xt,"java",Ae.keywords,Ae.quickKey),ge(xt,"cpp",de.keywords,de.quickKey),ge(xt,"c",we.keywords,[]),ge(xt,"python",ve.keywords,ve.quickKey),ge(xt,"scala",re.keywords,re.quickKey)};const be="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var le=Object.defineProperty,Ee=(xt,wt,yt)=>wt in xt?le(xt,wt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):xt[wt]=yt,Pe=(xt,wt,yt)=>Ee(xt,typeof wt!="symbol"?wt+"":wt,yt);const Ie=class Yc{constructor(wt,yt,je){this.placeholder=wt,this.editor=yt,this.monaco=je,yt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Yc.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Pe(Ie,"ID","editor.widget.placeholderHint");var Me=Ie,ye=ae(96236),Te=ae(6767),Fe=ae(25399),_e=ae(78267),Oe=ae(33156),Ke=ae(56102),We=Object.defineProperty,Ne=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ft=(xt,wt,yt)=>wt in xt?We(xt,wt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):xt[wt]=yt,tt=(xt,wt)=>{for(var yt in wt||(wt={}))He.call(wt,yt)&&ft(xt,yt,wt[yt]);if(Je)for(var yt of Je(wt))lt.call(wt,yt)&&ft(xt,yt,wt[yt]);return xt},Ot=(xt,wt)=>Ne(xt,Ye(wt)),nt=(xt,wt)=>{var yt={};for(var je in xt)He.call(xt,je)&&wt.indexOf(je)<0&&(yt[je]=xt[je]);if(xt!=null&&Je)for(var je of Je(xt))wt.indexOf(je)<0&&lt.call(xt,je)&&(yt[je]=xt[je]);return yt},Ze=(xt,wt,yt)=>new Promise((je,ue)=>{var ie=De=>{try{Xe(yt.next(De))}catch(pe){ue(pe)}},ke=De=>{try{Xe(yt.throw(De))}catch(pe){ue(pe)}},Xe=De=>De.done?je(De.value):Promise.resolve(De.value).then(ie,ke);Xe((yt=yt.apply(xt,wt)).next())});function Ge(xt){return/^\d+$/.test(xt)?`${xt}px`:xt}function $e(){}let qe=!1;const Ve={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function mt(xt=[]){let wt=xt;if(Array.isArray(xt)){for(let yt=0;yt<xt.length;yt++){let je=Ve[xt[yt]];if(je)return je}return wt[0]}return Ve[wt]||wt}let st=null;const Lt=()=>Ze(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(xt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",xt)}});var ct=xt=>{var wt=xt,{width:yt="100%",height:je="100%",value:ue,language:ie="javascript",style:ke={},options:Xe={},overrideServices:De={},theme:pe="vs-dark",onEditBlur:x,isCopy:me=!1,onSave:Le,autoHeight:Se=!1,forbidCopy:Be=!1,forbidCopyTips:Qe,onChange:it=$e,editorDidMount:ot=$e,onFocus:at=$e,onBreakPoint:Mt=$e,breakPointValue:Rt=[],filename:tn="educoder.txt",errorLine:qt,errorContent:Bt="",highlightLine:hn,openBreakPoint:$t=!1,placeholder:Ct="",showMiniMap:jt=!0}=wt,ln=nt(wt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const yn=(0,b.useRef)(),Et=(0,b.useRef)({}),Wt=(0,b.useRef)(),Jt=(0,b.useRef)(),bn=(0,b.useRef)([]),kn=(0,b.useRef)(!1),tr=(0,b.useRef)(),pr=(0,b.useRef)(),xr=(0,b.useRef)(!1),[Yn,mr]=(0,b.useState)(!1);function Wn(){let Ln;return yn.current&&(Ln=new oe.Z(Qn=>{for(let Ar of Qn)(Ar.target.offsetHeight>0||Ar.target.offsetWidth>0)&&Et.current.instance.layout()}),Ln.observe(yn.current)),Ln}function xn(){Te.ZP.warning({content:decodeURIComponent(Qe||be),key:"monaco-editor-tip"})}const Pn=()=>{let Ln=Et.current.instance;if(ue!=null&&Ln&&Yn){const Qn=Ln.getModel();Qn&&ue!==Qn.getValue()&&(qe=!0,Qn.setValue(ue),Ln.layout(),qe=!1)}};(0,b.useEffect)(()=>{const Ln=Oe.Z.subscribe("formatDocument",Qn=>{var Ar;let wr=Et.current.instance;(Ar=wr==null?void 0:wr.getAction)==null||Ar.call(wr,"editor.action.formatDocument").run()});return window.updateMonacoValue=Qn=>{it(Qn)},Ln},[]),(0,b.useEffect)(()=>{var Ln;let Qn=Et.current.instance;Jt.current&&clearTimeout(Jt.current),Jt.current=setTimeout(()=>{Pn()},500),ue&&(ue!=null&&ue.length)&&((Ln=Qn==null?void 0:Qn.updateOptions)==null||Ln.call(Qn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ue.split(/\r\n|\r|\n/g).length))+3,5)}))},[ue,Yn,Et.current]),(0,b.useEffect)(()=>{if(qt&&Et.current&&Et.current.instance){let Qn=Et.current.instance;Qn.changeViewZones(function(Ar){var wr=document.createElement("div");wr.style.padding="10px 20px",wr.style.width="calc(100% - 20px)",wr.className="my-error-line-wrp",wr.innerHTML=Bt,Ar.addZone({afterLineNumber:qt||11,heightInLines:3,domNode:wr})});var Ln={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Qn.addOverlayWidget(Ln),Qn.revealPositionInCenter({lineNumber:20,column:1})}},[qt,Et.current,Yn]);const Tn=(Ln="",Qn)=>{if(!Ln||Ln.trim()==="")return!0;const wr=Et.current.instance.getModel().getLineTokens(Qn);let zt=!1;for(let It=0;It<2;It++)wr.getStandardTokenType(It)===1&&(zt=!0);return zt};(0,b.useEffect)(()=>{var Ln;const Qn=(Ln=Et.current)==null?void 0:Ln.instance;if(Qn&&Yn&&Be){const Ar=Qn.onDidBlurEditorWidget(()=>{xr.current=!1}),wr=Qn.onDidFocusEditorText(()=>{xr.current=!0});return()=>{Ar.dispose(),wr.dispose()}}},[Et.current,Yn,Be]),(0,b.useEffect)(()=>{var Ln;if((Ln=Et.current)!=null&&Ln.instance&&Yn&&$t){let Qn=Et.current.instance,Ar=Qn.getModel();if(!Ar)return;(()=>{var Xt;let Yt=[],Gt=[];const dn=Ar.getAllDecorations();for(let Zt of dn)Zt.options.className==="highlighted-line"&&(Yt.push((Xt=Zt==null?void 0:Zt.range)==null?void 0:Xt.startLineNumber),Gt.push(Zt==null?void 0:Zt.id));if(hn===Yt[0])return;Ar.deltaDecorations(Gt,[]);const ur=Ar.getLineCount();hn&&hn<=ur&&(Qn.deltaDecorations([],[{range:new st.Range(hn,1,hn,Ar.getLineMaxColumn(hn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Qn.revealLineInCenter(hn))})();const zt=(Xt=!1)=>{var Yt;let Gt=[],dn=[];const ur=Ar.getAllDecorations();for(let Zt of ur)Zt.options.linesDecorationsClassName==="breakpoints-select"&&(Gt.push((Yt=Zt==null?void 0:Zt.range)==null?void 0:Yt.startLineNumber),dn.push(Zt==null?void 0:Zt.id));if(Xt)return{lines:Gt,ids:dn};Mt(Gt)},It=Xt=>Ze(void 0,null,function*(){let Yt={range:new st.Range(Xt,1,Xt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ar.deltaDecorations([],[Yt]),zt()}),Dt=Xt=>Ze(void 0,null,function*(){let Yt=[];const Gt=Qn.getLineDecorations(Xt);for(let dn of Gt)dn.options.linesDecorationsClassName==="breakpoints-select"&&Yt.push(dn.id);yield Ar.deltaDecorations(Yt,[]),zt()}),Vt=Xt=>{let Yt=Qn.getLineDecorations(Xt);for(let Gt of Yt)if(Gt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,_e.isEqual)(Rt,zt(!0).lines)){Ar.deltaDecorations(zt(!0).ids,[]);const Xt=Rt.map(Yt=>({range:new st.Range(Yt,1,Yt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ar.deltaDecorations([],Xt)}const Nt=Qn.onDidChangeModelContent(Xt=>{let Yt=Qn.getPosition();if(Yt){let Gt=Yt.lineNumber;clearTimeout(pr.current),pr.current=setTimeout(()=>{Tn(Ar.getLineContent(Gt),Gt)?Dt(Gt):Vt(Gt)?(Dt(Gt),It(Gt)):zt()},100)}}),Kt=Qn.onMouseDown(Xt=>{var Yt,Gt,dn;if(Xt.target.detail&&((dn=(Gt=(Yt=Xt.target)==null?void 0:Yt.element)==null?void 0:Gt.className)!=null&&dn.includes("line-numbers"))){let ur=Xt.target.position.lineNumber;if(Tn(Ar.getLineContent(ur),ur))return;Vt(ur)?Dt(ur):It(ur)}}),ut=Xt=>{let Yt={range:new st.Range(Xt,1,Xt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};bn.current=Qn.deltaDecorations(bn.current,[Yt])},Qt=()=>{bn.current=Qn.deltaDecorations(bn.current,[])},on=Qn.onMouseMove(Xt=>{var Yt,Gt,dn;if(Qt(),Xt.target.detail&&((dn=(Gt=(Yt=Xt.target)==null?void 0:Yt.element)==null?void 0:Gt.className)!=null&&dn.includes("line-numbers"))){let ur=Xt.target.position.lineNumber;if(Tn(Ar.getLineContent(ur),ur))return;ut(ur)}}),an=Qn.onMouseLeave(()=>{Qt()});return()=>{Nt.dispose(),Kt.dispose(),on.dispose(),an.dispose()}}},[Et.current,Yn,Rt,hn,$t,ie]),(0,b.useEffect)(()=>{var Ln;(Ln=Et.current)!=null&&Ln.instance&&$t&&Et.current.instance.setPosition({lineNumber:0,column:0})},[hn]);function In(){let Ln=Et.current.instance;if(Ln){const Qn=Ln.getSelection(),Ar=Et.current.pastePos||{},wr=new st.Range(Ar.startLineNumber||Qn.endLineNumber,Ar.startColumn||Qn.endColumn,Ar.endLineNumber||Qn.endLineNumber,Ar.endColumn||Qn.endColumn);setTimeout(()=>{Ln.executeEdits("",[{range:wr,text:""}])},300)}}function Kn(Ln){(window.navigator.platform.match("Mac")?Ln.metaKey:Ln.ctrlKey)&&Ln.keyCode==83&&(Ln.preventDefault(),Le())}const jn=()=>{if(Se&&Et.current.instance){const Ln=Et.current.instance.getContentHeight();zr(Ln<je?je:Ln)}else zr(je)};function nr(Ln){var Qn=document.createEvent("MouseEvents");Qn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Ln.dispatchEvent(Qn)}const Cr=Ln=>{if(!xr.current)return;const{keyCode:Qn,ctrlKey:Ar,metaKey:wr,target:zt,type:It}=Ln;return(It==="paste"||(Qn===67||Qn===86)&&(wr||Ar))&&zt.nodeName==="TEXTAREA"&&(xn(),Ln.preventDefault()),!1};function Sr(Ln,Qn){var Ar=window.URL||window.webkitURL||window,wr=new Blob([Qn]),zt=document.createElementNS("http://www.w3.org/1999/xhtml","a");zt.href=Ar.createObjectURL(wr),zt.download=Ln,nr(zt)}(0,b.useEffect)(()=>{jn()},[jn]),(0,b.useEffect)(()=>{yn.current&&!Yn&&Promise.all([ae.e(8909),ae.e(5977)]).then(ae.bind(ae,71448)).then(Ln=>{try{st=Ln,Et.current.instance=st.editor.create(yn.current,{value:ue,language:mt(ie),theme:pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:jt||!1}},De);const Qn=Et.current.instance;let zt=[...ye.BH._menuItems].find(Nt=>Nt[0]._debugName=="EditorContext")[1],It=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Dt=(Nt,Kt)=>{var ut,Qt;let on=Nt._first;do Kt.includes((Qt=(ut=on.element)==null?void 0:ut.command)==null?void 0:Qt.id)&&Nt._remove(on);while(on=on.next)};if(ot(Qn,st),setTimeout(()=>{jn(),Et.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Sr(tn||"educoder.txt",Qn.getValue())}})},500),Et.current.subscription=Qn.onDidChangeModelContent(Nt=>{kn.current?clearTimeout(tr.current):(jn(),it(Qn.getValue(),Nt)),tr.current=setTimeout(()=>{kn.current=!1},500)}),window.Monaco||Ce(st,mt(ie)),Be&&(Dt(zt,It),yn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Cr),window.removeEventListener("paste",Cr),window.addEventListener("keydown",Cr),window.addEventListener("paste",Cr)),window.Monaco=st,x&&Qn.onDidBlurEditorWidget(()=>{x(Qn.getValue())}),at&&Qn.onDidFocusEditorText(()=>{Be&&Lt(),at(Qn.getValue())}),Be){Lt();try{Qn.onDidPaste(Nt=>{const Kt=Qn.getSelection(),ut=Et.current.pastePos||{},Qt=new st.Range(ut.startLineNumber||Kt.endLineNumber,ut.startColumn||Kt.endColumn,ut.endLineNumber||Kt.endLineNumber,ut.endColumn||Kt.endColumn);Qn.executeEdits("",[{range:Nt.range,text:""}])})}catch(Nt){}}let Vt=Wn();return Ct&&typeof Ct=="string"&&new Me(Ct,Qn,st),mr(!0),()=>{const Nt=Et.current.instance;Nt.dispose();const Kt=Nt.getModel();Kt&&Kt.dispose(),Et.current.subscription&&Et.current.subscription.dispose(),Vt.unobserve(yn.current)}}catch(Qn){}})},[]),(0,b.useEffect)(()=>{if(Et.current.instance&&Yn)return document.addEventListener("keydown",Kn,!1),()=>{document.removeEventListener("keydown",Kn)}},[Le,Yn]),(0,b.useEffect)(()=>{let Ln=Et.current.instance;if(Ln&&Yn){let Qn=mt(ie);st.editor.setModelLanguage(Ln.getModel(),Qn)}},[ie,Yn]),(0,b.useEffect)(()=>{Et.current.instance&&Yn&&st.editor.setTheme(pe)},[pe,Yn]),(0,b.useEffect)(()=>{let Ln=Et.current.instance;Wt.current=Xe,Ln&&Yn&&(Ln.updateOptions(tt({},Xe)),setTimeout(()=>{Ln.getModel().updateOptions(tt({},Xe))},200))},[JSON.stringify(Xe),Yn]),(0,b.useEffect)(()=>{let Ln=Et.current.instance;Ln&&Yn&&Ln.layout()},[yt,je,Yn]);const[Er,Nr]=(0,b.useState)(Ge(yt)),[Tr,zr]=(0,b.useState)(Ge(je)),Rr=Ot(tt({},ke),{width:Er,height:Tr,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:yn,style:Rr,onFocus:()=>{Be&&Lt()}},me&&b.createElement(Ke.CopyToClipboard,{text:ue,onCopy:()=>Te.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(Fe.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Tt({width:xt="100%",height:wt="100%",original:yt,modified:je,language:ue,options:ie={}}){const ke=(0,b.useRef)(),[Xe,De]=(0,b.useState)(null);function pe(Se){let Be;return ke.current&&(Be=new oe.Z(Qe=>{for(let it of Qe)(it.target.offsetHeight>0||it.target.offsetWidth>0)&&Se.layout()}),Be.observe(ke.current)),Be}(0,b.useEffect)(()=>(ke.current&&Promise.all([ae.e(8909),ae.e(9404)]).then(ae.bind(ae,2550)).then(Se=>{st=Se;const Be=st.editor.createDiffEditor(ke.current,Ot(tt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ie),{wordWrap:!0}));De(Be);let Qe=pe(Be);return()=>{Be.dispose();const it=Be.getModel();it&&it.dispose(),Qe.unobserve(ke.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{Xe&&Xe.setModel({original:st.editor.createModel(yt,ue),modified:st.editor.createModel(je,ue)})},[yt,je,ue,Xe]);const x=Ge(xt),me=Ge(wt),Le={width:x,height:me};return b.createElement("div",{className:"my-diff-editor",ref:ke,style:Le})}},54077:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return te}});var b={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",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},oe=ae(29787),we=ae(25399),Ae=ae(89787),de=ae(92310),ve=ae.n(de),re=ae(76406),se=ae(90736),fe=ae(59301),te=({className:ne,dataSource:ge=[],col:Ce=4,right:be,bottom:le=23,precision:Ee=0,wrapWidth:Pe=1200,trackEventItems:Ie,loading:Re,onRemove:Me=()=>{},isCurrent:ye=!0,showProgress:Te=!1,showAlias:Fe=!1,category:_e="notDisplay",hiddenClick:Oe=()=>{}})=>{const Ke=Math.floor((Pe-(Ce-1)*be)/Ce),We=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return fe.createElement(oe.Z,{spinning:Re},fe.createElement("div",{className:ve()(b.list,ne)},!!(ge!=null&&ge.length)&&(ge==null?void 0:ge.map((Ne,Ye)=>{var Je,He,lt,ft,tt,Ot,nt;const{name:Ze,id:Ge,identifier:$e,featured:qe,school_name:Ve,image_url:mt,excellent:st,is_plan:Lt}=Ne;return fe.createElement("div",{key:Ge,className:ye&&Te?b.wrapisCurrent:b.wrap,style:{width:Ke,marginRight:(1+Ye)%Ce===0?0:be+Ee,marginBottom:le}},fe.createElement("a",{className:b.li,onClick:ct=>{ct.preventDefault(),ct.stopPropagation(),Ie&&(0,re.L9)([Ie]),(0,re.xg)(`/paths/${$e}`)}},fe.createElement("div",{className:b.img},fe.createElement("img",{className:b.cover,src:`${mt}`}),(Je=Ne==null?void 0:Ne.subject_tags)==null?void 0:Je.map((ct,Tt)=>{var xt,wt;if(Tt===0){const je=(xt=We.find(ue=>ue.name==ct))==null?void 0:xt.swclass;return fe.createElement("span",{className:`sprite ${je} ${b.sign}`,style:{left:"-4px"}})}const yt=(wt=We.find(je=>je.name==ct))==null?void 0:wt.ptclass;return fe.createElement("span",{className:`sprite ${yt} ${b.sign}`,style:{left:`${48+52*(Tt-1)+2*Tt}px`}})}),fe.createElement("div",{className:b.tagsDom},fe.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(Ne==null?void 0:Ne.excellent)&&fe.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((He=Ne==null?void 0:Ne.custom_tags)==null?void 0:He.length)>0&&(Ne==null?void 0:Ne.custom_tags.map((ct,Tt)=>{var xt;return fe.createElement(we.Z,{title:ct==null?void 0:ct.tag_name,key:Tt},fe.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((xt=Ne==null?void 0:Ne.custom_tags)==null?void 0:xt.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},fe.createElement("span",{className:"multi-llipsis1e"},ct==null?void 0:ct.tag_name)))})))),_e=="hide"&&(Ne==null?void 0:Ne.studying)&&ye&&fe.createElement("div",{className:`${b.movebq} user-path-items`,onClick:ct=>{ct.stopPropagation(),Me(Ne)}},fe.createElement("i",{className:"iconfont icon-yichu1 font12"}),fe.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(_e)&&ye&&fe.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:ct=>{ct.stopPropagation(),Oe(Ne)}},fe.createElement("i",{className:`iconfont ${_e=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),fe.createElement("span",null,_e=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),fe.createElement("div",{className:b.name},fe.createElement(we.Z,{title:Fe&&(Ne!=null&&Ne.excellent_alias_name)?fe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ze}`,fe.createElement("br",null),fe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ne==null?void 0:Ne.excellent_alias_name}`)):Ze},fe.createElement("span",{className:b.e},Fe&&(Ne==null?void 0:Ne.excellent_alias_name)||Ze))),ye&&Te&&((lt=Ne==null?void 0:Ne.progress)==null?void 0:lt.all_score)!=0&&fe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},fe.createElement(Ae.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((ft=Ne==null?void 0:Ne.progress)==null?void 0:ft.my_score)/((tt=Ne==null?void 0:Ne.progress)==null?void 0:tt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ot=Ne==null?void 0:Ne.progress)==null?void 0:Ot.my_score,"/",(nt=Ne==null?void 0:Ne.progress)==null?void 0:nt.all_score),(!ye||!Te)&&fe.createElement(we.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Ve}`},fe.createElement("div",{className:b.unit},fe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Ve)),(!ye||!Te)&&fe.createElement("div",{className:b.tags},fe.createElement("div",null,fe.createElement(we.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},fe.createElement("span",null,fe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),fe.createElement("span",null,Ne.stages_count))),fe.createElement(we.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},fe.createElement("span",null,fe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),fe.createElement("span",null,Ne.members_count)))))))})),!ge.length&&fe.createElement(se.Z,null)))}},70467:function(_n,pn,ae){"use strict";ae.d(pn,{jL:function(){return Ae},w9:function(){return Ze},QD:function(){return Rt},cQ:function(){return Ye.Z},op:function(){return Be},O5:function(){return Wn},_b:function(){return Ct},t7:function(){return Ee},Gi:function(){return st},YG:function(){return Ve},qp:function(){return E},vr:function(){return Bt},qE:function(){return ot},Je:function(){return Re},wb:function(){return Ne},cq:function(){return yt},tp:function(){return ge}});var b=ae(59301),oe={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"},Ae=({dataSource:xn=[],img:Pn,imgWidth:Tn=346,title:In,sunTitle:Kn,bannerExtraContent:jn})=>b.createElement("div",{className:oe.banner},b.createElement("div",{className:oe.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,In),b.createElement("span",null,Kn)),xn.length>0&&b.createElement("div",{className:oe.btns},xn.map((nr,Cr)=>b.createElement("div",{key:Cr,onClick:nr.click},nr.name,nr.sign?b.createElement("span",{className:"sprite sprite-33"}):null))),jn),Pn&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:Pn,width:Tn}))),de={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=ae(92310),re=ae.n(ve),se=ae(78267),E=({dataSource:xn=[],value:Pn,onChange:Tn,onTitleChange:In,className:Kn,title:jn,titleWidth:nr=41,style:Cr={},fontColor:Sr="#6A7283",showCount:Er})=>{const[Nr,Tr]=(0,b.useState)(1),[zr,Rr]=(0,b.useState)(!1),Ln=(0,b.useRef)(null),Qn=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Ar;xn.length!==0&&(((Ar=Ln==null?void 0:Ln.current)==null?void 0:Ar.clientHeight)>97?Tr(1):Tr(0)),xn.length===0&&Tr(0),Rr(!1)},[xn]),b.createElement("div",{className:re()(de.row,Kn,"fadeIn","animated"),style:Cr},b.createElement("div",{onClick:(0,se.throttle)(()=>In==null?void 0:In(),2e3),style:{width:nr,marginTop:zr?12:4},className:`${de.title} ${In?"current":""}`},jn),b.createElement("div",{className:zr?`${de.tagsWrap} ${de.tagsBorderWrap}`:de.tagsWrap},b.createElement("div",{className:de.bar,ref:Qn,style:Nr>0?{height:Nr===1?97:"auto",overflow:Nr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:de.tag,ref:Ln},xn==null?void 0:xn.map(Ar=>b.createElement("span",{onClick:()=>Tn(Ar.id),key:Ar.id,style:{color:Sr},className:Pn===Ar.id?de.active:""},b.createElement("span",{title:Ar.name,className:de.name},Ar.name),!!Er&&b.createElement("span",{className:de.num},Ar.count))))),!!Nr&&b.createElement(b.Fragment,null,Nr===1?b.createElement("div",{onClick:()=>{var Ar;Tr(2),((Ar=Ln==null?void 0:Ln.current)==null?void 0:Ar.clientHeight)>245?Rr(!0):Rr(!1)},className:de.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{Qn.current.scrollTop=0,Tr(1),Rr(!1)},className:de.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},te={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"},ge=({dataSource:xn=[],value:Pn,onChange:Tn,className:In,style:Kn={}})=>b.createElement("div",{style:Kn,className:re()(te.tabs,In)},xn.map(jn=>b.createElement("span",{onClick:()=>Tn(jn.id),className:Pn===jn.id?te.active:"",key:jn.id},jn.name))),Ce={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},be=ae(37568),Ee=({dataSource:xn=[],value:Pn="",onChange:Tn,onInputChange:In=()=>{},className:Kn,style:jn={},placeholder:nr,allowClear:Cr=!1})=>{var Sr;const[Er,Nr]=(0,b.useState)(""),[Tr,zr]=(0,b.useState)("");(0,b.useEffect)(()=>{var Qn;let Ar=Pn;(Qn=JSON.stringify(Pn))!=null&&Qn.includes("{")&&(Nr(Pn.id),Ar=Pn.value||"");try{zr(decodeURIComponent(Ar||""))}catch(wr){zr(decodeURIComponent(Ar||""))}},[Pn]);const Rr=()=>{Tn(encodeURIComponent(Tr),Er||null)},Ln=Qn=>{Qn!==Er&&(Nr(Qn),Tn(encodeURIComponent(Tr),Qn))};return b.createElement("div",{className:re()(Ce.input,Kn),style:jn},!!xn.length&&b.createElement("div",{className:Ce.dropdown},b.createElement("div",{className:Ce.text},(Sr=xn.find(Qn=>Qn.id===Er))==null?void 0:Sr.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:Ce.b1}),b.createElement("b",{className:Ce.b2})),b.createElement("div",{className:Ce.menu},xn.map((Qn,Ar)=>b.createElement("div",{key:Ar,onClick:()=>Ln(Qn.id)},Qn.name)))),b.createElement(be.default,{onPressEnter:Rr,value:Tr,onChange:Qn=>{zr(Qn.target.value),In(encodeURIComponent(Qn.target.value),Er||null)},placeholder:nr,variant:"borderless",allowClear:Cr,onClear:()=>Tn("",Er||null)}),b.createElement("i",{onClick:Rr,className:"iconfont icon-sousuo9 font14 current"}))},Pe={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"},Re=({value:xn,onChange:Pn,className:Tn,total:In,pageSize:Kn,style:jn={}})=>{const nr=xn<2,Cr=xn>=Math.ceil(In/Kn);return In<=Kn?b.createElement(b.Fragment,null):b.createElement("div",{className:re()(Pe.quickPager,Tn),style:jn},b.createElement("div",{onClick:()=>{nr||Pn(xn-1,"prev")},className:nr?Pe.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Cr||Pn(xn+1,"next")},className:Cr?Pe.disabled:""},"\u4E0B\u4E00\u9875"))},Me={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"},ye=ae(29787),Te=ae(25399),Fe=ae(63139),_e=ae(14185),Oe=ae(76406),Ke=ae(90736),Ne=({className:xn,dataSource:Pn=[],col:Tn=4,right:In,bottom:Kn=23,precision:jn=0,wrapWidth:nr=1200,trackEventItems:Cr,loading:Sr})=>{const Er=Math.floor((nr-(Tn-1)*In)/Tn);return b.createElement(ye.Z,{spinning:Sr},b.createElement("div",{className:re()(Me.list,xn)},!!Pn.length&&Pn.map((Nr,Tr)=>{const{name:zr,id:Rr,identifier:Ln,power:Qn,cover_image_id:Ar,pic:wr}=Nr;return b.createElement("div",{className:Me.wrap,key:Rr,style:{width:Er,marginRight:(1+Tr)%Tn===0?0:In+jn,marginBottom:Kn}},b.createElement("a",{target:"_blank",href:`/shixuns/${Ln}/challenges`,className:Me.li,onClick:zt=>{zt.preventDefault(),Cr&&(0,Oe.L9)([Cr]),Qn&&(0,Oe.xg)(`/shixuns/${Ln}/challenges`)}},b.createElement("div",{className:Me.img},b.createElement("img",{className:Me.cover,src:`${wr}`}),Nr.is_jupyter&&b.createElement("span",{className:`sprite sprite-43 ${Me.sign}`}),Nr.is_jupyter_lab&&b.createElement("span",{className:`sprite sprite-42 ${Me.sign}`}),Nr.is_unity_3d&&b.createElement("span",{className:`sprite sprite-44 ${Me.sign}`})),b.createElement("div",{className:Me.name},b.createElement(Te.Z,{title:zr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:Me.e},zr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:Me.tags},b.createElement(Te.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Nr.challenges_count))),!!Nr.myshixuns_count&&b.createElement(Te.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Nr.myshixuns_count))),b.createElement(Te.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Nr.level))),b.createElement("div",{className:Me.rate},b.createElement(Fe.Z,{allowHalf:!0,disabled:!0,defaultValue:Nr.score_info}),b.createElement("span",null,"\xA0",Nr.score_info?`${Nr.score_info}\u5206`:"5\u5206")))),!Qn&&b.createElement("div",{className:Me.lockWrap},b.createElement("img",{src:`${_e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Pn.length&&b.createElement(Ke.Z,null)))},Ye=ae(54077),Je={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",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AM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dNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",tt=ae(59301),Ot=(xn,Pn,Tn)=>new Promise((In,Kn)=>{var jn=Sr=>{try{Cr(Tn.next(Sr))}catch(Er){Kn(Er)}},nr=Sr=>{try{Cr(Tn.throw(Sr))}catch(Er){Kn(Er)}},Cr=Sr=>Sr.done?In(Sr.value):Promise.resolve(Sr.value).then(jn,nr);Cr((Tn=Tn.apply(xn,Pn)).next())}),Ze=({className:xn,dataSource:Pn=[],col:Tn=4,right:In,bottom:Kn=23,precision:jn=0,wrapWidth:nr=1200,trackEventItems:Cr,loading:Sr,category:Er,hiddenClick:Nr,handleVery:Tr=()=>!0,isCurrent:zr})=>{const[Rr,Ln]=He.default.useModal(),Qn=Math.floor((nr-(Tn-1)*In)/Tn),Ar=wr=>Ot(void 0,null,function*(){Rr.confirm({title:"\u7F6E\u9876",width:500,content:tt.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",tt.createElement("span",{className:"c-blue"},"\u201C",wr.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return tt.createElement(ye.Z,{spinning:Sr},Ln,tt.createElement("div",{className:re()(Je.list,xn)},!!Pn.length&&Pn.map((wr,zt)=>{const{subject_identifier:It,id:Dt,identifier:Vt,power:Nt}=wr,Kt=wr.is_public!=0&&wr.is_public;return tt.createElement("div",{className:Je.wrap,key:Dt,style:{width:Qn,marginRight:(1+zt)%Tn===0?0:In+jn,marginBottom:Kn}},wr.homepage_show&&tt.createElement("div",{className:Je.btnsTop},tt.createElement(lt.default,{color:"red"},"\u7F6E\u9876")),tt.createElement("a",{className:Je.li,onClick:ut=>{ut.preventDefault(),Tr(wr==null?void 0:wr.first_category_url)&&(Cr&&(0,Oe.L9)([Cr]),(0,Oe.xg)(wr.first_category_url))}},tt.createElement("div",{className:Je.top},tt.createElement(Te.Z,{title:wr.name},tt.createElement("div",{className:Je.name},wr.name)),tt.createElement("img",{className:Je.img,src:_e.Z.IMG_SERVER+"/images/"+wr.avatar_url}),tt.createElement("div",{className:Je.text,title:wr.creator},wr.creator),It&&tt.createElement("div",{className:Je.btns},tt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),tt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Kt&&tt.createElement("div",{className:Je.sign},"\u516C\u5F00"),zr&&tt.createElement("div",{className:Je.hidden,onClick:ut=>{ut.stopPropagation(),Nr(wr)}},tt.createElement("i",{className:`iconfont ${Er=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Er=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),tt.createElement("div",{className:Je.bottom},wr.visits>0&&tt.createElement(Te.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},tt.createElement("span",null,tt.createElement("i",{className:"iconfont icon-liulanyan"}),tt.createElement("span",null,wr.visits))),wr.course_members_count>0&&tt.createElement(Te.Z,{title:"\u6210\u5458",placement:"bottom"},tt.createElement("span",null,tt.createElement("i",{className:"iconfont icon-chengyuan"}),wr.course_members_count)),wr.tasks_count>0&&tt.createElement(Te.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},tt.createElement("span",null,tt.createElement("i",{className:"iconfont icon-zuoye"}),wr.tasks_count)),wr.is_end?tt.createElement("div",{style:{color:"#6B758B"}}):tt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!wr.is_accessible&&tt.createElement("div",{className:Je.lockWrap},tt.createElement("img",{src:`${_e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),tt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Pn.length&&tt.createElement(Ke.Z,null)))},Ge={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"},$e=ae(44283),Ve=({dataSource:xn=[],value:Pn,onChange:Tn,className:In,style:Kn={},tabBarExtraContent:jn})=>b.createElement("div",{className:re()(Ge.tabs,In),style:Kn},b.createElement("div",{className:Ge.tabsWrap},xn.map((nr,Cr)=>!(nr!=null&&nr.hide)&&b.createElement("aside",{className:Ge.tab,onClick:()=>{Tn(nr.id),nr.link&&$e.history.push(nr.link)},key:Cr},b.createElement("div",{className:Pn===nr.id?Ge.active:""},nr.name),(nr==null?void 0:nr.resetCount)==null&&(nr==null?void 0:nr.total)!==void 0&&b.createElement("span",null,"\uFF08",nr==null?void 0:nr.total,"\uFF09"),(nr==null?void 0:nr.resetCount)!==void 0&&(nr==null?void 0:nr.total)!==void 0&&b.createElement(Te.Z,{title:(nr==null?void 0:nr.tip)!=null?nr==null?void 0:nr.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},nr==null?void 0:nr.resetCount),"/",b.createElement("span",null,nr==null?void 0:nr.total),"\uFF09"))))),b.createElement("div",{className:Ge.tabBar},jn)),st=({className:xn,style:Pn={},children:Tn})=>b.createElement("div",{className:re()(xn),style:Pn},Tn),Lt={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"},ct=ae(75727),Tt=ae(93041);const xt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var yt=({sortValue:xn,dropValue:Pn,className:Tn,onSort:In,onDrop:Kn,dataSource:jn=xt})=>{var nr;return b.createElement("div",{className:re()(Lt.orderWrap,Tn)},b.createElement(ct.Z,{dropdownRender:()=>b.createElement(Tt.default,null,jn.map((Cr,Sr)=>b.createElement(Tt.default.Item,{key:Sr,onClick:()=>Kn(Cr.id)},Cr.name)))},b.createElement("span",{className:Lt.orderTextWrap},(nr=jn.find(Cr=>Pn===Cr.id))==null?void 0:nr.name)),b.createElement("span",{className:Lt.orderIconWrap},b.createElement("span",{className:Lt.orderAsc},b.createElement("i",{className:xn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Lt.cursorPointer} ${Lt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Lt.cursorPointer}`,onClick:()=>In(xn==="asc"?"desc":"asc")})),b.createElement("span",{className:Lt.orderDesc},b.createElement("i",{className:xn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Lt.cursorPointer} ${Lt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Lt.cursorPointer}`,onClick:()=>In(xn==="asc"?"desc":"asc")}))))},je={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"},ue=ae(7939),ie=Object.defineProperty,ke=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,pe=(xn,Pn,Tn)=>Pn in xn?ie(xn,Pn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):xn[Pn]=Tn,x=(xn,Pn)=>{for(var Tn in Pn||(Pn={}))Xe.call(Pn,Tn)&&pe(xn,Tn,Pn[Tn]);if(ke)for(var Tn of ke(Pn))De.call(Pn,Tn)&&pe(xn,Tn,Pn[Tn]);return xn},me=(xn,Pn)=>{var Tn={};for(var In in xn)Xe.call(xn,In)&&Pn.indexOf(In)<0&&(Tn[In]=xn[In]);if(xn!=null&&ke)for(var In of ke(xn))Pn.indexOf(In)<0&&De.call(xn,In)&&(Tn[In]=xn[In]);return Tn},Le=(xn,Pn,Tn)=>new Promise((In,Kn)=>{var jn=Sr=>{try{Cr(Tn.next(Sr))}catch(Er){Kn(Er)}},nr=Sr=>{try{Cr(Tn.throw(Sr))}catch(Er){Kn(Er)}},Cr=Sr=>Sr.done?In(Sr.value):Promise.resolve(Sr.value).then(jn,nr);Cr((Tn=Tn.apply(xn,Pn)).next())}),Be=xn=>{var Pn=xn,{className:Tn,style:In,children:Kn,loading:jn=!1,openLoading:nr,onClick:Cr=()=>{},size:Sr="middle",shape:Er="round"}=Pn,Nr=me(Pn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Tr,zr]=(0,b.useState)(!1);return b.createElement(ue.ZP,x({onClick:(0,se.throttle)(Rr=>Le(void 0,null,function*(){nr&&zr(!0);try{yield Cr(Rr)}catch(Ln){console.log("error",Ln)}nr&&zr(!1)}),2e3,{leading:!0,trailing:!1}),className:re()(je.btn,je[`${Sr}-${Er}`],Tn),style:In,size:Sr,shape:Er,loading:Tr||jn},Nr),Kn)},Qe={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"},ot=({className:xn,style:Pn,children:Tn=null,onClick:In,title:Kn})=>b.createElement("div",{className:re()(Qe.head,xn),style:Pn},b.createElement("span",{className:"primary-hover",onClick:In},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:Kn},Kn),b.createElement("div",{className:Qe.node},Tn)),at={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"},Rt=({confirmShow:xn=!0,confirmTitle:Pn,confirmClick:Tn,cancelShow:In=!0,cancelTitle:Kn,cancelClick:jn,className:nr,style:Cr,confirmLoading:Sr=!1})=>b.createElement("div",{className:re()(at.btns,nr),style:Cr},xn&&b.createElement(ue.ZP,{loading:Sr,onClick:Tn,type:"primary",className:at.confirm},Pn),In&&b.createElement(ue.ZP,{onClick:jn,className:at.cancel},Kn)),tn={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"},Bt=({className:xn,style:Pn={},LeftContent:Tn,children:In,RightContent:Kn})=>b.createElement("div",{className:re()(tn.fixedBottom,xn),style:Pn},b.createElement("div",{className:tn.wrap},b.createElement("div",{className:tn.left},Tn),b.createElement("div",{className:tn.center},In),b.createElement("div",{className:tn.right},Kn))),hn={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"},Ct=({className:xn,style:Pn={},dataSource:Tn=[]})=>b.createElement("div",{className:re()(hn.crumbs,xn),style:Pn},Tn.map((In,Kn)=>Kn<Tn.length-1?b.createElement(b.Fragment,{key:Kn},In.path||In.onClick?b.createElement("span",{className:hn.hover,onClick:In!=null&&In.onClick?In.onClick:()=>$e.history.push(In.path)},In.name):b.createElement("span",null,In.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:Kn,style:{color:"#5F6368"}},In.name))),jt=ae(11938),ln=Object.defineProperty,yn=Object.defineProperties,Et=Object.getOwnPropertyDescriptors,Wt=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,kn=(xn,Pn,Tn)=>Pn in xn?ln(xn,Pn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):xn[Pn]=Tn,tr=(xn,Pn)=>{for(var Tn in Pn||(Pn={}))Jt.call(Pn,Tn)&&kn(xn,Tn,Pn[Tn]);if(Wt)for(var Tn of Wt(Pn))bn.call(Pn,Tn)&&kn(xn,Tn,Pn[Tn]);return xn},pr=(xn,Pn)=>yn(xn,Et(Pn)),xr=(xn,Pn)=>{var Tn={};for(var In in xn)Jt.call(xn,In)&&Pn.indexOf(In)<0&&(Tn[In]=xn[In]);if(xn!=null&&Wt)for(var In of Wt(xn))Pn.indexOf(In)<0&&bn.call(xn,In)&&(Tn[In]=xn[In]);return Tn};const{Countdown:Yn}=jt.default;var Wn=xn=>{var Pn=xn,{onChange:Tn}=Pn,In=xr(Pn,["onChange"]);const[Kn,jn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Kn=="number"&&Kn>=0&&Tn(Kn)},[Kn]);const nr=Cr=>{const Sr=Math.floor(Cr/1e3);jn(Sr)};return b.createElement(Yn,pr(tr({},In),{onChange:nr}))}},79006:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return oe}});var b=ae(59301);function oe(we,Ae){const de=(0,b.useRef)();(0,b.useEffect)(()=>{de.current=we}),(0,b.useEffect)(()=>{function ve(){de.current()}if(Ae!==null){let re=setInterval(ve,Ae);return()=>clearInterval(re)}},[Ae])}},23817:function(_n,pn,ae){"use strict";ae.r(pn),ae.d(pn,{default:function(){return ur}});var b=ae(59301),oe=ae(44283),we=ae(28284),Ae=ae(6767),de=ae(62957),ve=ae(77019),re=ae(5269),se=ae(25399),fe=ae(7939),E=ae(37285),te=ae(37568),ne=ae(458),ge=ae(47889),Ce=ae(43141),be=ae(66443),le=ae(76406),Ee=ae(66649),Pe=ae.n(Ee),Ie={flex_box_center:"flex_box_center___Eli3_",flex_space_between:"flex_space_between___b9mMZ",flex_box_vertical_center:"flex_box_vertical_center___HDlqC",flex_box_center_end:"flex_box_center_end___wxSjo",flex_box_column:"flex_box_column___riQIC",icons:"icons___fU5ZJ",shixuns:"shixuns___HhH4T",buttons:"buttons___Xd62N",addStage:"addStage___Ap4gr",color4CA:"color4CA___dMAG4",color204:"color204___ySVKY",completed:"completed___pNt1x",actionTabs:"actionTabs___x3cPl",tab:"tab___BFnIn",s1:"s1___O6K2P",tabActive:"tabActive___v3_qF",total:"total___oZdqK",introContent:"introContent___dSvDD",introContentMaxHeight:"introContentMaxHeight___NxSzO"},Re=ae(36207),Me=ae(62673),ye=ae(31709),Te=ae(49317),Fe=ae(38500),_e=ae(15267),Oe={flex_box_center:"flex_box_center___bI3gK",flex_space_between:"flex_space_between___ZyemH",flex_box_vertical_center:"flex_box_vertical_center___vOG6y",flex_box_center_end:"flex_box_center_end___g0YQU",flex_box_column:"flex_box_column___a7oLH",wrp:"wrp___wYwtQ",drawer:"drawer___UVA9h",menu:"menu___s5Hi1",actived:"actived___GavBb",actived2:"actived2___XNyxe",listItem:"listItem___OyHb7",info:"info___UU9rA",title:"title___CmRLc",titleLeft:"titleLeft___xWCXz",titleRight:"titleRight___PeYdC",search:"search___CzPOL",description:"description___TEI_C",menuCourse:"menuCourse___Z8Z9h"},Ke=ae(59301),We=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,He=(Zt,nn,Cn)=>nn in Zt?We(Zt,nn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Zt[nn]=Cn,lt=(Zt,nn)=>{for(var Cn in nn||(nn={}))Ye.call(nn,Cn)&&He(Zt,Cn,nn[Cn]);if(Ne)for(var Cn of Ne(nn))Je.call(nn,Cn)&&He(Zt,Cn,nn[Cn]);return Zt},ft=(Zt,nn,Cn)=>new Promise((Ht,Ft)=>{var fn=An=>{try{vn(Cn.next(An))}catch(Rn){Ft(Rn)}},wn=An=>{try{vn(Cn.throw(An))}catch(Rn){Ft(Rn)}},vn=An=>An.done?Ht(An.value):Promise.resolve(An.value).then(fn,wn);vn((Cn=Cn.apply(Zt,nn)).next())});const{Search:tt}=te.default,Ot=[{id:"type",name:"\u7B5B\u9009",children:[{name:"\u5168\u90E8\u5B9E\u8BAD",id:"all",type:"type"},{name:"\u6211\u7684\u5B9E\u8BAD",id:"mine",type:"type"}]},{id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]}],nt=({classroomList:Zt,loading:nn,dispatch:Cn,cb:Ht,shixunIds:Ft=[]})=>{var fn;const wn=(0,oe.useParams)(),vn=(0,oe.useLocation)(),{actionTabs:An}=Zt,[Rn]=we.default.useForm(),{shixunLists:Zn}=Zt,[zn,Un]=(0,b.useState)([]),[ar,Fn]=(0,b.useState)([]),[ir,Ir]=(0,b.useState)({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null});(0,b.useEffect)(()=>{Zt.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&(ir.page=1,Cn({type:"classroomList/getShixunLists",payload:lt({},ir)}))},[Zt.actionTabs.key]),(0,b.useEffect)(()=>{Lr()},[wn]);const Lr=()=>ft(void 0,null,function*(){const vr=yield(0,Te.ZP)("/api/users/user_setting_groups.json",{method:"get",params:{type:"Shixun"}});Un([{id:null,name:"\u5168\u90E8"},{id:-1,name:"\u672A\u52A0\u5165\u76EE\u5F55"},...(vr==null?void 0:vr.groups)||[]])}),Fr=()=>{Cn({type:"classroomList/setActionTabs",payload:{}}),Ir({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null})};return Zt.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:Ke.createElement(Re.Z,{placement:"bottom",height:"100%",closable:!1,open:Zt.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",rootClassName:Oe.drawer,footer:Ke.createElement("div",{className:"tc"},Ke.createElement(fe.ZP,{size:"middle",onClick:()=>{Fr(),Fn([]),Ht("\u53D6\u6D88")},style:{marginRight:8}},"\u53D6\u6D88"),Ke.createElement(fe.ZP,{size:"middle",onClick:()=>ft(void 0,null,function*(){var vr,Dr;for(let gr=0;gr<(ar==null?void 0:ar.length);gr++){const Zr=ar[gr];if(Ft.includes(Zr)){Ae.ZP.info(`\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A${(Dr=(vr=Zn==null?void 0:Zn.shixun_list)==null?void 0:vr.find(jr=>jr.id===Zr))==null?void 0:Dr.title}`);return}}const Ur=yield(0,Fe.Ep)({id:Zt.actionTabs.id,course_id:Zt.actionTabs.course_id,shixun_ids:[...ar]});Fn([]),Ur!=null&&Ur.shixuns_list&&(Fr(),Ht(Ur.shixuns_list))}),type:"primary"},"\u786E\u5B9A"))},Ke.createElement("section",{className:"tc"},Ke.createElement(tt,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:Oe.search,onSearch:vr=>{ir.keyword=vr,ir.page=1,Cn({type:"classroomList/getShixunLists",payload:lt({},ir)})}})),Ke.createElement("section",{className:"edu-container"},Ot.map(function(vr,Dr){var Ur;return Ke.createElement("ul",{className:Oe.menu,key:Dr},Ke.createElement("li",null,vr.name),(Ur=vr==null?void 0:vr.children)==null?void 0:Ur.map(function(gr,Zr){return Ke.createElement("li",{className:ir[vr.id]==gr.id?Oe.actived:"",onClick:()=>{ir[vr.id]=gr.id,ir.page=1,Ir(lt({},ir)),Cn({type:"classroomList/getShixunLists",payload:lt({},ir)})}},Ke.createElement("strong",null,gr.name))}))}),ir.type==="mine"&&Ke.createElement("ul",{className:Oe.menu},Ke.createElement("li",null,"\u76EE\u5F55"),zn==null?void 0:zn.map((vr,Dr)=>Ke.createElement("li",{className:ir.group_id==vr.id?Oe.actived:"",key:vr.name,onClick:()=>{ir.group_id=vr.id,ir.page=1,Ir(lt({},ir)),Cn({type:"classroomList/getShixunLists",payload:lt({},ir)})}},Ke.createElement("strong",null,vr.name)))),(fn=Zn==null?void 0:Zn.shixun_list)==null?void 0:fn.map(function(vr,Dr){return Ke.createElement("div",{className:Oe.listItem,key:Dr},Ke.createElement(Me.default,{checked:ar.includes(vr.id),value:vr.id,onChange:Ur=>{let gr=ar.indexOf(vr.id);ar.indexOf(vr.id)>-1?Fn(ar.filter(Zr=>Zr!==vr.id)):Fn(ar.concat(vr.id))}}),Ke.createElement("div",{className:Oe.info},Ke.createElement("div",{className:Oe.title},Ke.createElement("div",{className:Oe.titleLeft},Ke.createElement("a",{className:"c-black",href:`/shixuns/${vr==null?void 0:vr.identifier}/challenges`,target:"_blank"},Ke.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:vr.title}})),(0,_e.Ny)()&&(vr==null?void 0:vr.mark_status)===1&&Ke.createElement(se.Z,{title:vr==null?void 0:vr.mark_content},Ke.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),(0,_e.Ny)()&&(vr==null?void 0:vr.mark_status)===2&&Ke.createElement(se.Z,{title:vr==null?void 0:vr.mark_content},Ke.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),(0,_e.Ny)()&&(vr==null?void 0:vr.mark_status)===3&&Ke.createElement(se.Z,{title:vr==null?void 0:vr.mark_content},Ke.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),Ke.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},Ke.createElement("span",{className:Oe.description,dangerouslySetInnerHTML:{__html:vr.description}})),Ke.createElement("div",{className:"flex-wrp mt15"},vr.challenge_names.map(function(Ur,gr){return Ke.createElement("span",{key:gr,className:"mr30 font12"},"\u7B2C",gr+1,"\u5173 ",Ur," ")})),Ke.createElement(E.Z,{dashed:!0}),Ke.createElement("div",{className:"c-light-black mt20 font12"},Ke.createElement("span",null,vr.author_name),Ke.createElement("span",{className:"ml15 mr15"},"|"),Ke.createElement("span",null,vr.author_school_name),Ke.createElement("span",{className:"ml15 mr15"},"|"),Ke.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570:",vr.level),Ke.createElement("span",{className:"ml15 mr15"},"|"),Ke.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570:"),Ke.createElement("span",null,vr.study_count))))}),Ke.createElement("p",null)),Ke.createElement("div",{className:"tc"},Ke.createElement(ye.Z,{current:ir.page||1,hideOnSinglePage:!0,showSizeChanger:!1,defaultPageSize:20,showQuickJumper:!0,total:Zn==null?void 0:Zn.shixuns_count,onChange:vr=>{ir.page=vr,Cn({type:"classroomList/getShixunLists",payload:lt({},ir)})}})))};var Ze=(0,oe.connect)(({classroomList:Zt,loading:nn})=>({classroomList:Zt,loading:nn}))(nt),Ge=ae(24532),$e=ae(89787),qe={wrap:"wrap___UWG0f",name:"name___LIQSC",button:"button___CSggN",progress:"progress___AQo_Y",havaLearn:"havaLearn___fq9Cb"},Ve=(Zt,nn,Cn)=>new Promise((Ht,Ft)=>{var fn=An=>{try{vn(Cn.next(An))}catch(Rn){Ft(Rn)}},wn=An=>{try{vn(Cn.throw(An))}catch(Rn){Ft(Rn)}},vn=An=>An.done?Ht(An.value):Promise.resolve(An.value).then(fn,wn);vn((Cn=Cn.apply(Zt,nn)).next())}),st=({data:Zt={},dispatch:nn=()=>{},onReloadData:Cn=()=>{}})=>{const Ht=()=>{var vn,An,Rn;if(!(0,Ge.tJ)(nn)||(0,_e.Jd)())return;let Zn;for(let zn=0;zn<((vn=Zt==null?void 0:Zt.stages)==null?void 0:vn.length);zn++){const Un=(An=Zt==null?void 0:Zt.stages)==null?void 0:An[zn],ar=(Rn=Un==null?void 0:Un.shixuns_list)==null?void 0:Rn.find(Fn=>(Fn==null?void 0:Fn.shixun_status)!=="\u6682\u672A\u516C\u5F00");if(ar){Zn=ar.identifier;break}}Zn?wn(Zn):Ae.ZP.info("\u5B9E\u8BAD\u6682\u672A\u516C\u5F00!")},Ft=vn=>{vn=vn!=null&&vn.includes(".json")?vn:`${vn}.json`,de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:b.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Ve(void 0,null,function*(){const An=yield(0,be.$Q)({url:vn});if(!An)return;Ae.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Rn=yield(0,be.Ir)({id:An.shixun_identifier});if(Rn!=null&&Rn.game_identifier){(0,le.xg)(`/tasks/${Rn.game_identifier}`),Cn();return}(Rn==null?void 0:Rn.status)===2?Ft(Rn==null?void 0:Rn.message):(Rn==null?void 0:Rn.status)===3&&fn(Rn==null?void 0:Rn.message)})})},fn=vn=>{de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:b.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",vn,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},wn=vn=>Ve(void 0,null,function*(){const An=yield(0,be.Ir)({id:vn});if(An!=null&&An.game_identifier){(0,le.xg)(`/tasks/${An.game_identifier}`),Cn();return}(An==null?void 0:An.status)===2?Ft(An==null?void 0:An.message):(An==null?void 0:An.status)===3&&fn(An==null?void 0:An.message)});return b.createElement("section",null,!(0,_e.GJ)()&&b.createElement(b.Fragment,null,Zt!=null&&Zt.start_learning?b.createElement(ve.Z,{className:qe.wrap,align:"middle"},b.createElement(re.Z,{flex:"1"},b.createElement("div",{className:`mt5 ${qe.havaLearn}`},b.createElement("span",null,"\u5DF2\u5B66",Zt==null?void 0:Zt.learned,"%")),b.createElement("div",{className:`mt5 ${qe.progress}`},b.createElement($e.Z,{percent:Zt==null?void 0:Zt.learned,showInfo:!1})),b.createElement("div",{className:"mt5"},b.createElement("span",{className:"font16"},"\u4E0A\u6B21\u5B66\u4E60\u5185\u5BB9"),b.createElement("span",{className:"ml20 c-blue-4ca"},Zt==null?void 0:Zt.last_shixun))),b.createElement(re.Z,null,b.createElement(fe.ZP,{className:qe.button,type:"primary",onClick:()=>wn(Zt==null?void 0:Zt.last_shixun_identifier)},"\u5F00\u59CB\u5B66\u4E60"))):b.createElement(ve.Z,{className:qe.wrap,align:"middle"},b.createElement(re.Z,{flex:"1"},b.createElement("span",{className:qe.name},"\u8FD8\u672A\u5F00\u59CB\u5B66\u4E60")),b.createElement(re.Z,null,b.createElement(fe.ZP,{className:qe.button,type:"primary",onClick:Ht},"\u5F00\u59CB\u5B66\u4E60")))))},Lt=ae(84849),ct=ae(79730),Tt=ae(57940),xt=ae(18287),wt=ae(10906),yt=ae(3761),je=ae(60269),ue={tree:"tree___SHCwq",learn:"learn___buOG9",name:"name___dwQwe",sign:"sign___aQzc5",pdf_name:"pdf_name___m1wEX",name_style:"name_style___CnJ7d",color333:"color333___TbHdH"},ie=ae(78267),ke=ae(84105),Xe=ae(38819),De=ae(14185),pe=ae(42075),x=ae(59301),me=Object.defineProperty,Le=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,Qe=(Zt,nn,Cn)=>nn in Zt?me(Zt,nn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Zt[nn]=Cn,it=(Zt,nn)=>{for(var Cn in nn||(nn={}))Se.call(nn,Cn)&&Qe(Zt,Cn,nn[Cn]);if(Le)for(var Cn of Le(nn))Be.call(nn,Cn)&&Qe(Zt,Cn,nn[Cn]);return Zt},ot=(Zt,nn)=>{var Cn={};for(var Ht in Zt)Se.call(Zt,Ht)&&nn.indexOf(Ht)<0&&(Cn[Ht]=Zt[Ht]);if(Zt!=null&&Le)for(var Ht of Le(Zt))nn.indexOf(Ht)<0&&Be.call(Zt,Ht)&&(Cn[Ht]=Zt[Ht]);return Cn},at=(Zt,nn,Cn)=>new Promise((Ht,Ft)=>{var fn=An=>{try{vn(Cn.next(An))}catch(Rn){Ft(Rn)}},wn=An=>{try{vn(Cn.throw(An))}catch(Rn){Ft(Rn)}},vn=An=>An.done?Ht(An.value):Promise.resolve(An.value).then(fn,wn);vn((Cn=Cn.apply(Zt,nn)).next())});const Mt=(Zt={})=>{var nn,Cn;switch(Zt==null?void 0:Zt.item_type){case"Challenge":return x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u4EFB\u52A1\u5173\u5361"},x.createElement("i",{className:"iconfont icon-renwuguanka1 font20",style:{color:"#39B97E"}}));case"VideoItem":return x.createElement(se.Z,{title:"\u6559\u5B66\u89C6\u9891"},x.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"}));case"StageCatalog":return x.createElement("i",{className:"iconfont icon-kongbai c-brilliant-blue font20"});case"SubjectHomework":if((Zt==null?void 0:Zt.homework_type)==="group")return x.createElement(se.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u5206\u7EC4\u4F5C\u4E1A"},x.createElement("i",{className:"iconfont icon-fenzuzuoye3 font20",style:{color:"#acc218"}}));if((Zt==null?void 0:Zt.homework_type)==="normal")return x.createElement(se.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u56FE\u6587\u4F5C\u4E1A"},x.createElement("i",{className:"iconfont icon-tuwenzuoye font20",style:{color:"#1db37f"}}));break;case"ExaminationBank":return x.createElement(se.Z,{title:"\u6D4B\u9A8C\u5F62\u5F0F\uFF1A\u5728\u7EBF\u8003\u8BD5"},x.createElement("i",{className:"iconfont icon-zhangjieceshibeifen font20",style:{color:"#e9a318"}}));case"HomeworkCommon":if((Zt==null?void 0:Zt.homework_type)==="hack")return x.createElement(se.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u4F5C\u4E1A"},x.createElement("i",{className:"iconfont icon-bianchengzuoye1 font20",style:{color:"#E99237"}}));break;case"Shixun":return Zt!=null&&Zt.is_all_choice?x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898"},x.createElement("i",{className:"iconfont icon-xuanzeti4 c-lake-blue font20"})):Zt!=null&&Zt.is_unity_3d?((nn=Zt==null?void 0:Zt.challenge_types)==null?void 0:nn.length)<=1?x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u865A\u62DF\u4EFF\u771F"},x.createElement("i",{className:"iconfont icon-xunifangzhenti1 font20",style:{color:"#A504D8"}})):x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u865A\u62DF\u4EFF\u771F"},x.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):((Cn=Zt==null?void 0:Zt.challenge_types)==null?void 0:Cn.length)>1?x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u7F16\u7A0B\u5F00\u53D1"},x.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u5F00\u53D1"},x.createElement("i",{className:"iconfont icon-shixunti2 c-light-primary font20"}));default:return x.createElement(se.Z,{title:"\u6559\u5B66\u8BFE\u4EF6"},x.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"}))}},Rt=Zt=>{var nn=Zt,{pathsDetail:Cn,globalSetting:Ht,user:Ft,loading:fn,visibleType:wn,subjectHomeworkType:vn,updateSort:An,isPaths:Rn,dispatch:Zn,keywords:zn,isShowSchedule:Un,getData:ar}=nn,Fn=ot(nn,["pathsDetail","globalSetting","user","loading","visibleType","subjectHomeworkType","updateSort","isPaths","dispatch","keywords","isShowSchedule","getData"]);let[ir,Ir]=(0,b.useState)([]),[Lr,Fr]=(0,b.useState)([]);const vr=(0,oe.useParams)(),[Dr,Ur]=(0,b.useState)([]),[gr,Zr]=(0,b.useState)({});(0,b.useEffect)(()=>{if(Fn.data&&!(0,ie.isEqual)(Fn.data,Dr)){Lr=[];const _t=JSON.parse(JSON.stringify(Fn.data));ni(_t,0),Ur([..._t]),Fn!=null&&Fn.expandAll||wn!="All"?Ir([...Lr]):Ir([])}},[Fn.data,wn,Fn==null?void 0:Fn.expandAll]),(0,b.useEffect)(()=>{var _t,Bn,Xn,fr,Wr,Qr,Xr,Fi,or,Ti;let hi;if((_t=Cn.detail)!=null&&_t.has_start){const Ei=(Xn=(Bn=Cn.detail)==null?void 0:Bn.courses)==null?void 0:Xn.findIndex(Li=>{var Ai;return parseInt((Ai=Li.course_status)==null?void 0:Ai.status)===1});hi=Ei>-1?Ei:0}else{let Ei=(Qr=(Wr=(fr=Cn.detail)==null?void 0:fr.courses)==null?void 0:Wr.map(Li=>{var Ai;return parseInt((Ai=Li.course_status)==null?void 0:Ai.status)}))==null?void 0:Qr.lastIndexOf(2);hi=Ei>-1?Ei:0,Ei=(Fi=(Xr=Cn.detail)==null?void 0:Xr.courses)==null?void 0:Fi.findIndex(Li=>{var Ai;return parseInt((Ai=Li.course_status)==null?void 0:Ai.status)===0}),hi=Ei>-1?Ei:hi}(or=Cn.detail)!=null&&or.courses&&Zr(((Ti=Cn.detail)==null?void 0:Ti.courses[hi])||{})},[Cn.detail]);const jr=(_t,Bn,...Xn)=>at(void 0,[_t,Bn,...Xn],function*(fr,Wr,Qr={}){const Xr=Wr?yield(0,be.BK)({id:fr,challenge_id:Qr==null?void 0:Qr.challenge_id,subject_id:vr.pathId}):yield(0,be.Ir)({id:fr,challenge_id:Qr==null?void 0:Qr.challenge_id,subject_id:vr.pathId});if(Xr!=null&&Xr.game_identifier||Xr!=null&&Xr.identifier){(0,le.xg)(Wr?`/tasks/${Xr==null?void 0:Xr.identifier}/jupyter`:`/tasks/${Xr.game_identifier}?subject_id=${vr.pathId||""}`);return}(Xr==null?void 0:Xr.status)===-3?(0,le.eF)():(Xr==null?void 0:Xr.status)===2?yi(Xr==null?void 0:Xr.message):(Xr==null?void 0:Xr.status)===3&&Yr(Xr==null?void 0:Xr.message)}),yi=_t=>{_t=_t!=null&&_t.includes(".json")?_t:`${_t}.json`,de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:x.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>at(void 0,null,function*(){const Bn=yield(0,Lt.L8)({url:_t});if(!Bn)return;Ae.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Xn=yield(0,be.Ir)({id:Bn.shixun_identifier});if(Xn!=null&&Xn.game_identifier){(0,le.xg)(`/tasks/${Xn.game_identifier}`);return}(Xn==null?void 0:Xn.status)===2?yi(Xn==null?void 0:Xn.message):(Xn==null?void 0:Xn.status)===3&&Yr(Xn==null?void 0:Xn.message)})})},Yr=_t=>{de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:x.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",_t,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Kr=_t=>{console.log("onDragEnter:",_t)},si=_t=>at(void 0,null,function*(){var Bn,Xn,fr,Wr;console.log("onDrop:",_t);const Qr=_t.node.props.eventKey,Xr=_t.dragNode.props.eventKey,Fi=_t.node.props.pos.split("-"),or=_t.dropPosition-Number(Fi[Fi.length-1]);if(Fi.length>3&&!_t.node.dragOverGapBottom&&!_t.node.dragOverGapTop||_t.node.dragOver&&_t.dragNodesKeys.length>1||Fi.length>2&&_t.dragNodesKeys.length>1)return!1;let Ti=["Attachment","Hack","Shixun","SubjectHomework","Videoltem"];if(Ti.includes((Bn=_t.dragNode)==null?void 0:Bn.item_type)&&((Xn=_t.node)==null?void 0:Xn.item_type)!="StageCatalog"&&or===0||((fr=_t.dragNode)==null?void 0:fr.item_type)==="StageCatalog"&&Ti.includes((Wr=_t.node)==null?void 0:Wr.item_type)&&or===0)return!1;const hi=(Ai,ro,So)=>{for(let Qi=0;Qi<Ai.length;Qi++){if(Ai[Qi].key===ro)return So(Ai[Qi],Qi,Ai);Ai[Qi].children&&hi(Ai[Qi].children,ro,So)}},Ei=[...Dr];let Li;if(hi(Ei,Xr,(Ai,ro,So)=>{So.splice(ro,1),Li=Ai}),!_t.dropToGap)hi(Ei,Qr,Ai=>{Ai.children=Ai.children||[],Ai.children.unshift(Li)});else if((_t.node.props.children||[]).length>0&&_t.node.props.expanded&&or===1)hi(Ei,Qr,Ai=>{Ai.children=Ai.children||[],Ai.children.unshift(Li)});else{let Ai,ro;hi(Ei,Qr,(So,Qi,io)=>{Ai=io,ro=Qi}),or===-1?Ai.splice(ro,0,Li):Ai.splice(ro+1,0,Li)}yield An({stage_id:Fn.stage_id,list:Ei}),ni(Ei,0,0,!0),console.log("data:",Ei),Ur([...Ei]),Ir([...ir,_t.node.key])}),ni=(_t,Bn,Xn,fr)=>{Bn=Bn||0,_t.map((Wr,Qr)=>{var Xr;try{return Wr.key2=Bn+1+"-"+(Qr+1),Wr.key3=Fn.index+1+"-"+(Qr+1),Wr.title="",fr||(Wr.key=Bn+1+"-"+(Qr+1)),Bn?Wr.index=Xn+"-"+(Qr+1):Wr.index=Wr.key3,(Xr=Wr.children)!=null&&Xr.length&&(Lr.push(Wr.key2),ni(Wr.children,Wr.key2,Wr.index,fr)),Wr}catch(Fi){}})},Mr=_t=>{_t=_t||"";let Bn=new RegExp(zn,"ig");const Xn=_t.replace(Bn,'<span style="color:#3061D0">$&</span>');return zn?x.createElement("span",{dangerouslySetInnerHTML:{__html:Xn}}):_t},Vr=(_t,Bn)=>{const{learning_status:Xn,name:fr}=_t;return(Xn==null?void 0:Xn[0])==="can"&&(Xn==null?void 0:Xn[1])==="try"?x.createElement("div",{className:ue.learn},x.createElement("span",{className:ue.name},Bn?fr:Mr(fr)),x.createElement("span",{className:ue.sign},"\u514D\u8D39\u8BD5\u5B66")):Bn?fr:Mr(fr)},yr=_t=>{wn==="All"&&(ir.includes(_t)?Ir(ir.filter(Bn=>Bn!=_t)):Ir(ir.concat(_t)))},Jn=(_t,Bn)=>at(void 0,null,function*(){if((0,Ge.tJ)(Zn,!0)){if(_t!=null&&_t.need_authorize){(0,Ge.rX)(!1);return}yield jr(_t.identifier,_t.is_jupyter||_t.is_jupyter_lab,_t),Bn(),gr!=null&&gr.course_id&&(0,yt.JS)({id:gr==null?void 0:gr.course_id})}}),sr=_t=>at(void 0,null,function*(){var Bn,Xn,fr,Wr,Qr;if(!(0,Ge.tJ)(Zn))return;if(!((Bn=Ft.userInfo)!=null&&Bn.admin)&&!((Xn=Ft.userInfo)!=null&&Xn.business)&&!_t.can_view&&_t.item_type!=="Attachment")return de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:x.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});_t.link&&(0,je.DH)({is_f:1,id:_t.id,point:0,total:0});const Xr=Fn!=null&&Fn.course_id?`course_id=${Fn==null?void 0:Fn.course_id}`:`subject_id=${vr.pathId||Fn.subject_id}`;if(((Wr=_t==null?void 0:_t.name)==null?void 0:Wr.substr((fr=_t==null?void 0:_t.name)==null?void 0:fr.lastIndexOf("."))).toUpperCase()===".ZIP"){if(!((Qr=Cn.detail)!=null&&Qr.allow_download)){Ae.ZP.info("\u6559\u5B66\u8BFE\u4EF6\u4E0D\u652F\u6301\u4E0B\u8F7D");return}(0,le.FH)(_t.name,De.Z.API_SERVER+_t.url)}else(0,le.xg)(_t.link||`/video/${_t.id}?${Xr}`);if(_t.item_type==="Attachment"&&_t.complete_status!=2){const or=yield(0,yt.rS)({attachment_id:_t.id,status:2})}(_t.item_type==="Attachment"||_t.item_type==="VideoItem")&&ar()}),[hr,Gn]=(0,b.useState)(!1),kr=_t=>{hr||Gn(!0)},Br=(0,b.useMemo)(()=>(console.log("doms:"),x.createElement(xt.default,{className:ue.tree,disabled:Fn.disabled,expandedKeys:[...ir],draggable:!0,onDragEnter:Kr,onDrop:si,onExpand:yr,blockNode:!0,titleRender:_t=>{var Bn,Xn,fr,Wr,Qr,Xr,Fi;let or=_t;if(wn=="SubjectHomework"){if(vn=="group_count"&&(or==null?void 0:or.homework_type)!="group"||vn=="normal_count"&&(or==null?void 0:or.homework_type)!="normal")return null}else if(or.item_type!==wn&&wn!=="All")return null;const Ti=((Bn=_t==null?void 0:_t.learning_status)==null?void 0:Bn[0])==="can";return x.createElement(ve.Z,{align:"middle",className:"font14",onClick:()=>yr(or.key),style:{flexWrap:"nowrap",whiteSpace:"nowrap"},onMouseOver:()=>kr(or.key)},x.createElement(re.Z,{flex:"30px",style:{display:"flex",alignItems:"center"}},Mt(_t)),x.createElement(re.Z,{flex:"1",className:ue.color333,style:{display:"flex",alignItems:"center",width:300}},Fn.cust_seq&&x.createElement("span",{className:`${ue.color333} mr10`},_t.index),_t.item_type!=="Attachment"&&x.createElement("div",{className:ue.name_style},x.createElement(se.Z,{placement:"topLeft",title:_t.name},Vr(_t,!1))),_t.item_type==="Attachment"&&x.createElement("a",{target:"_blank",className:ue.pdf_name,title:_t.name,onClick:()=>at(void 0,null,function*(){if((0,Ge.tJ)(Zn)){if(gr!=null&&gr.course_id){const hi=yield(0,yt.JS)({id:gr==null?void 0:gr.course_id})}switch(_t.item_type){case"Attachment":sr(or);break;case"VideoItem":sr(_t);break;case"ExaminationBank":sr(_t);break;case"HomeworkCommon":sr(_t);break;case"SubjectHomework":(_t.homework_type=="group"||_t.homework_type=="normal")&&sr(_t);break;case"Shixun":Jn(_t);break}}})},_t.name),(_t.item_type==="Shixun"||_t.item_type==="Challenge")&&_t.is_unity_3d&&x.createElement("span",{style:{background:"#a300d8",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"68px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"\u865A\u62DF\u4EFF\u771F"),(_t.item_type==="Shixun"||_t.item_type==="Challenge")&&_t.is_jupyter_lab&&x.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"76px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"JupyterLab"),(_t.item_type==="Shixun"||_t.item_type==="Challenge")&&_t.is_jupyter&&x.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"112px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"Jupyter Notebook"),(_t.item_type==="Shixun"||_t.item_type==="Challenge")&&((Xn=_t==null?void 0:_t.shixun_marks)==null?void 0:Xn.length)>0&&(((fr=Ft==null?void 0:Ft.userInfo)==null?void 0:fr.role)==1||((Wr=Ft==null?void 0:Ft.userInfo)==null?void 0:Wr.role)==2)&&(_t==null?void 0:_t.shixun_marks.map((hi,Ei)=>x.createElement(se.Z,{title:`${hi}`,key:Ei},x.createElement("span",{style:{background:"#43a2ff",color:"#fff",borderRadius:"13px",marginLeft:"5px",height:"20px",textAlign:"center",fontSize:"12px",maxWidth:"70px",padding:"0px 13px",overflow:"hidden",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",justifyContent:"center",textOverflow:"ellipsis"}},hi)))),!!((Qr=_t.schools)!=null&&Qr.length)&&x.createElement(se.Z,{title:"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},x.createElement("i",{className:"iconfont icon-zhidinggongkai1 ml10 c-orange",style:{transform:"translateY(1px)",display:"inline-block"}})),(_t.item_type==="Shixun"||_t.item_type==="Challenge")&&!!(_t!=null&&_t.finished_challenges_count)&&x.createElement(se.Z,{title:`\u5B8C\u6210\u5EA6:${Math.round((_t==null?void 0:_t.finished_challenges_count)/(_t==null?void 0:_t.challenges_count)*100)}%`},x.createElement("i",{className:`iconfont icon-a-wanchengdu100 ml10 ${(_t==null?void 0:_t.finished_challenges_count)-(_t==null?void 0:_t.challenges_count)===0?"c-light-green":"c-grey-333"}`,style:{transform:"translateY(1px)",display:"inline-block"}}))),!Fn.disabled&&x.createElement("aside",{style:{color:"#0152d9",fontSize:"14px",marginRight:"20px"}},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u9879\u76EE\u663E\u793A\u987A\u5E8F"),hr&&x.createElement(re.Z,{className:"tr"},(or.item_type==="VideoItem"||(or==null?void 0:or.item_type)==="Attachment"||(or==null?void 0:or.item_type)==="StageCatalog"||(or==null?void 0:or.item_type)==="SubjectHomework"||(or==null?void 0:or.item_type)==="ExaminationBank"||(or==null?void 0:or.item_type)==="HomeworkCommon")&&!Fn.disabled&&!Fn.hiddenEditBtn&&x.createElement(se.Z,{title:"\u7F16\u8F91"},x.createElement("span",{onClick:()=>{Fn.editVidoItem(it({stage_id:Fn.stage_id},or))},style:{color:"#ccc",marginRight:"10px"}},x.createElement(wt.Z,null))),!Fn.disabled&&x.createElement(x.Fragment,null,x.createElement(se.Z,{title:"\u5220\u9664"},x.createElement("span",{onClick:()=>{Fn.deleteStages({id:or.stage_item_id,stage_id:Fn.stage_id})},className:"iconfont icon-shanchu c-grey-c"}))),Fn.showVideoPlay&&Fn.disabled&&or.item_type==="SubjectHomework"&&Ti&&x.createElement("aside",null,!(0,_e.JA)()&&Rn&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:(or==null?void 0:or.homework_type)=="group"?"\u5206\u7EC4\u4F5C\u4E1A":"\u56FE\u6587\u4F5C\u4E1A"}}})})},"\u53D1\u9001"),!(0,_e.JA)()&&Rn&&x.createElement(fe.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&Fn.showInfoModal(it({stage_id:Fn.stage_id},or))})},"\u67E5\u770B\u8BE6\u60C5")),Fn.showVideoPlay&&Fn.disabled&&or.item_type==="ExaminationBank"&&Ti&&x.createElement("aside",null,!(0,_e.JA)()&&Rn&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:"\u6D4B\u9A8C",examinationid:or.id}}})})},"\u53D1\u9001"),!(0,_e.JA)()&&Rn&&x.createElement(fe.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&window.open(`/paperlibrary/see/${or.id}?defaultActiveKey=1`)})},"\u67E5\u770B\u8BE6\u60C5")),Fn.showVideoPlay&&Fn.disabled&&or.item_type==="HomeworkCommon"&&Ti&&x.createElement("aside",null,!(0,_e.JA)()&&Rn&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:"\u7F16\u7A0B\u4F5C\u4E1A",examinationid:or.id}}})})},"\u53D1\u9001"),!(0,_e.JA)()&&Rn&&x.createElement(fe.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&Fn.showInfoModal(it({stage_id:Fn.stage_id},or))})},"\u67E5\u770B\u8BE6\u60C5")),Fn.showVideoPlay&&Fn.disabled&&or.item_type==="VideoItem"&&Ti&&x.createElement("aside",null,!(0,_e.JA)()&&Rn&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:"\u89C6\u9891"}}})})},"\u53D1\u9001"),x.createElement(fe.ZP,{type:"primary",className:"mr10",onClick:()=>at(void 0,null,function*(){sr(or)})},or.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),(or.allow_visit||or.to_be_built||!or.shixun_status)&&Fn.disabled&&(or.item_type==="Shixun"||or.item_type==="Challenge")&&Ti&&x.createElement("aside",null,!(0,_e.JA)()&&Rn&&!or.shixun_status&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:"\u5B9E\u8BAD",is_jupyter:or==null?void 0:or.is_jupyter,identifier:or==null?void 0:or.identifier}}})})},"\u53D1\u9001"),x.createElement(fe.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&(gr!=null&&gr.course_id&&(yield(0,yt.JS)({id:gr==null?void 0:gr.course_id})),window.open(`/shixuns/${or.identifier}/challenges`))})},"\u67E5\u770B\u8BE6\u60C5"),!or.shixun_status&&x.createElement(pe.Z,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){return new Promise(hi=>at(void 0,null,function*(){Jn(or,hi)}))})},or!=null&&or.need_authorize?"\u9700\u6388\u6743":_t!=null&&_t.finished_challenges_count?(_t==null?void 0:_t.finished_challenges_count)-(_t==null?void 0:_t.challenges_count)===0?"\u518D\u6B21\u5B9E\u6218":"\u7EE7\u7EED\u5B9E\u6218":"\u5F00\u59CB\u5B9E\u6218")),Fn.showVideoPlay&&Fn.disabled&&or.item_type==="Attachment"&&Ti&&x.createElement("aside",null,((Xr=Cn.detail)==null?void 0:Xr.allow_download)&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){var hi;(0,Ge.tJ)(Zn)&&(0,le.Nd)("",`${De.Z.API_SERVER}${(hi=or.url)==null?void 0:hi.replace("disposition=inline","")}`)})},"\u4E0B\u8F7D\u8D44\u6E90"),x.createElement(fe.ZP,{type:"primary",className:"mr10",onClick:()=>at(void 0,null,function*(){(0,Ge.tJ)(Zn)&&(0,le.xg)(`/video/${or.id}?subject_id=${vr.pathId||""}`)})},"\u5F00\u59CB\u5B66\u4E60"))),x.createElement(re.Z,null,Fn.disabled&&or.shixun_status==="\u6682\u672A\u516C\u5F00"&&x.createElement("span",{className:`${ue.color204} ml5`},"\u6682\u672A\u53D1\u5E03"),or.shixun_status==="\u5DF2\u5220\u9664"&&x.createElement("span",{className:`${ue.color204} ml5`},"\u5DF2\u5220\u9664"),Fn.disabled&&!Un&&(or.item_type==="Shixun"||or.item_type==="Challenge")&&!!or.challenges_count&&x.createElement("span",{className:"exper\u02C6iment-number ml5 c-grey-999"},"\u5B9E\u9A8C\u6570 ",or.challenges_count),Fn.disabled&&Un&&(or.item_type==="Shixun"||or.item_type==="Challenge")&&!!or.challenges_count&&or.shixun_status!=="\u6682\u672A\u516C\u5F00"&&or.shixun_status!=="\u5DF2\u5220\u9664"&&x.createElement(x.Fragment,null,x.createElement("i",{className:"iconfont icon-wanchenggouxuan font14",style:{marginLeft:"5px",color:or.finished_challenges_count===or.challenges_count?"#50DAAE":"#DEDEDE"}}),x.createElement("span",{style:{marginLeft:"4px"}},x.createElement("span",{style:{color:"#165DFF",fontSize:"14px"}},or.finished_challenges_count),x.createElement("span",{style:{color:"#DEDEDE",fontSize:"14px"}},"/",or.challenges_count))),Fn.disabled&&Un&&(or.item_type==="VideoItem"||or.item_type==="Attachment")&&(or.complete_status==0?x.createElement("i",{className:"iconfont icon-weidianjixuexi font14",style:{color:"#DEDEDE"}}):or.complete_status==1?x.createElement("i",{className:"iconfont icon-yidianjixuexiweiwancheng font14",style:{color:"#50DAAE"}}):x.createElement("i",{className:"iconfont icon-xuexiwancheng font14",style:{color:"#50DAAE"}})),wn==="All"&&!!((Fi=_t.children)!=null&&Fi.length)&&x.createElement("span",{className:"ml10"},ir.includes(_t.key)?x.createElement(ke.Z,null):x.createElement(Xe.Z,null))))},treeData:Dr})),[Dr,Lr,ir,wn,hr]);return x.createElement(x.Fragment,null,Br)};var tn=(0,oe.connect)(({pathsDetail:Zt,loading:nn,user:Cn,globalSetting:Ht})=>({pathsDetail:Zt,globalSetting:Ht,user:Cn,loading:nn.effects}))(Rt),qt=ae(28010),Bt=ae(88487),hn=ae(90736),$t=ae(4875),Ct=ae(39116);const jt=({user:Zt,onReplyDiscuss:nn,dispatch:Cn,id:Ht,activeDiscussIndex:Ft,params:fn})=>{const[wn,vn]=(0,b.useState)("");function An(Zn){vn(Zn)}console.log(fn,"params33");function Rn(){if(!wn){Ae.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}nn(Ht,wn),vn("")}return b.createElement("div",{key:Ht,className:"discuss-item-editor",style:{display:Ft===Ht?"block":"none",width:"100%"}},b.createElement(Ct.Z,{miniToolbar:!0,startInit:Ft===Ht,defaultValue:wn,id:Ht,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:An}),b.createElement("a",{onClick:Rn,className:"btn-send"},"\u53D1\u9001"))};var ln=(0,oe.connect)(({shixunsDetail:Zt,loading:nn,globalSetting:Cn})=>({shixunsDetail:Zt,globalSetting:Cn,loading:nn.models.index}))(jt),yn=(Zt,nn,Cn)=>new Promise((Ht,Ft)=>{var fn=An=>{try{vn(Cn.next(An))}catch(Rn){Ft(Rn)}},wn=An=>{try{vn(Cn.throw(An))}catch(Rn){Ft(Rn)}},vn=An=>An.done?Ht(An.value):Promise.resolve(An.value).then(fn,wn);vn((Cn=Cn.apply(Zt,nn)).next())});const Et=({user:Zt,upDataList:nn,params:Cn,page:Ht,getTypeNumber:Ft,dispatch:fn,keywords:wn})=>{const vn=(An,Rn)=>yn(void 0,null,function*(){const Zn=yield(0,yt.ke)({id:An,content:Rn});(Zn==null?void 0:Zn.status)===0&&nn(1,wn)});return b.createElement("div",{className:"discuss-item-container bg-white"},b.createElement("a",{href:`/users/${Zt.login}`,target:"_blank"},b.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${De.Z.IMG_SERVER}/images/${Zt.image_url}`,width:"50"})),b.createElement("section",null,b.createElement(ln,{id:Cn.pathId,params:Cn,activeDiscussIndex:Cn.pathId,onReplyDiscuss:vn})))};var Wt=(0,oe.connect)(({shixunsDetail:Zt,loading:nn,globalSetting:Cn})=>({shixunsDetail:Zt,globalSetting:Cn,loading:nn.models.index}))(Et),Jt=ae(31189);function bn(Zt,nn=1){return get("/discusses.json",{page:nn-1,container_identifier:Zt,container_type:"Shixun"})}function kn(Zt,nn){return(0,Te.v_)(`/discusses/${Zt}/top_or_down_discuss.json`,{top:nn})}function tr(Zt,nn){return(0,Te.v_)(`/discusses/${Zt}/plus.json`,{container_type:"Discuss",type:nn?1:0})}function pr(Zt,nn){return(0,Te.v_)(`/discusses/${Zt}/hidden.json`,nn)}function xr(Zt,nn){return(0,Te.v_)(`/discusses/${Zt}/reward_code.json`,nn)}function Yn(Zt){return(0,Te.ZP)(`/api/discusses/${Zt}.json`,{method:"delete"})}function mr(Zt,nn){return(0,Te.v_)(`/discusses/${Zt}/reply.json`,{container_type:"Shixun",content:nn})}function Wn(Zt){return post("/discusses.json",Zt)}var xn=ae(35883),Pn=ae(11295),Tn=ae(33156);function In({data:Zt,index:nn,adminOrOperator:Cn,parentDiscussIndex:Ht,shixunIdentifier:Ft,isDelete:fn,user:wn,onSetRewardData:vn,onSetActionType:An,params:Rn,deleteCommentAlert:Zn,shixunName:zn,keywords:Un}){const{author:ar,can_delete:Fn,manage:ir,content:Ir,hidden:Lr,id:Fr,reward:vr,time:Dr}=Zt;function Ur(){vn({id:Fr,index:nn,user_id:ar.user_id,parentDiscussIndex:Ht})}function gr(){An({id:Fr,index:nn,params:{hidden:Lr?"0":"1",container_identifier:Ft},type:"hidden-discuss",parentDiscussIndex:Ht,message:Lr?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}function Zr(){if(Zn){de.default.info({title:"\u63D0\u793A",content:b.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",zn,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}An({id:Fr,index:nn,type:"delete-discuss",parentDiscussIndex:Ht,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}return b.createElement("div",{className:"second-level-discuss"},b.createElement("div",{className:"discuss-info-body"},b.createElement("div",{className:"discuss-info"},b.createElement("a",{href:`/users/${ar.login}`,target:"_blank"},ar.name),b.createElement("span",{className:"grey"},Dr),vr?b.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${vr}`},b.createElement("i",{className:"iconfont icon-gift c-orange "}),b.createElement("span",null,vr)):null),b.createElement("div",{className:Un?"hidden":"btn-group"},Cn?b.createElement("a",{onClick:Ur,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},b.createElement("i",{className:"iconfont icon-jiangli"})):null,Cn?b.createElement("a",{onClick:gr,title:Lr?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},b.createElement("i",{className:Lr?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,ir?b.createElement("a",{onClick:Zr,title:"\u5220\u9664"},b.createElement("i",{className:"iconfont icon-shanchu"})):null)),b.createElement(xn.Z,{className:"discuss-content",value:Ir,highlightKeywords:Un}))}var Kn=({data:Zt,index:nn,shixunIdentifier:Cn,adminOrOperator:Ht,identity:Ft,onTopOrDownDiscuss:fn,onPlusDiscuss:wn,onSetActionType:vn,onSetRewardData:An,user:Rn,isDelete:Zn,activeDiscussIndex:zn,onReplyDiscuss:Un,onSetActiveDiscussIndex:ar,params:Fn,keywords:ir})=>{const{content:Ir,children:Lr,game_url:Fr,hidden:vr,id:Dr,position:Ur,praise_count:gr,reward:Zr,sticky:jr,time:yi,user_praise:Yr,game_passed:Kr,delete_comment_alert:si,author:ni,shixun_name:Mr,manage:Vr}=Zt;function yr(){ar(Dr)}function Jn(){fn(Dr,!jr,nn)}function sr(){wn(Dr,!Yr,nn)}function hr(){An({id:Dr,index:nn,user_id:ni.user_id})}function Gn(){if(si){de.default.info({title:"\u63D0\u793A",content:b.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",Mr,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}vn({id:Dr,index:nn,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function kr(){vn({id:Dr,index:nn,params:{hidden:vr?"0":"1",container_identifier:Cn},type:"hidden-discuss",message:vr?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Br=_t=>{let{nodeName:Bn,src:Xn}=_t.target;Bn==="IMG"&&(Tn.Z.publish("preview-image",Xn),console.log("src:",Xn))};return b.createElement("div",{className:"discuss-item-container",key:Dr},b.createElement("a",{href:`/users/${ni.login}`,target:"_blank"},b.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${De.Z.IMG_SERVER}/images/${ni.image_url}`,width:"50"})),b.createElement("section",null,b.createElement("div",{className:"discuss-info"},b.createElement("a",{href:`/users/${ni.login}`,target:"_blank"},ni.name),b.createElement("span",{className:"grey"},yi),Ur?b.createElement("span",{className:"c-green"}," [\u7B2C",Ur,"\u5173] "):null,Fr?b.createElement("a",{href:Fr,target:"_blank",className:"view-code",title:"\u70B9\u51FB\u67E5\u770BTA\u7684\u4EE3\u7801\u9875\u9762"},"\u67E5\u770B"):null,Zr?b.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${Zr}`},b.createElement("i",{className:"iconfont icon-gift c-orange "}),b.createElement("span",null,Zr)):null,Ft<=5?b.createElement("span",{style:{flex:"1",textAlign:"right",color:Kr===1?"#29bd8b":""}},Kr||Kr===0?Kr===1?"\u5DF2\u901A\u5173":"\u672A\u901A\u5173":""):null),b.createElement("div",{onClick:Br},b.createElement(xn.Z,{className:"discuss-content",value:Ir,highlightKeywords:ir})),Lr&&Lr.length>0?b.createElement("div",{className:"reply-discuss-container",onClick:Br},Lr.map((_t,Bn)=>b.createElement(In,{key:_t.id,data:_t,index:Bn,deleteCommentAlert:si,shixunName:Mr,shixunIdentifier:Cn,adminOrOperator:Ht,user:Rn,isDelete:Zn,onSetRewardData:An,onSetActionType:vn,parentDiscussIndex:nn,keywords:ir}))):null,b.createElement("div",{className:ir?"hidden":"btn-group"},Ht?b.createElement("a",{onClick:hr,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},b.createElement("i",{className:"iconfont icon-jiangli"})):null,Ht?b.createElement("a",{onClick:kr,title:vr?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},b.createElement("i",{className:vr?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Vr&&(!Lr||Lr.length==0)&&b.createElement("a",{onClick:Gn,title:"\u5220\u9664"},b.createElement("i",{className:"iconfont icon-shanchu"})),b.createElement("a",{onClick:yr,title:"\u56DE\u590D"},b.createElement("i",{className:"iconfont icon-huifu1"})),b.createElement("a",{onClick:sr,className:Yr?"c-orange":""},b.createElement("i",{className:Yr?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),b.createElement("span",null,gr||""))),b.createElement(ln,{id:Dr,params:Fn,activeDiscussIndex:zn,onReplyDiscuss:Un})))},jn=Object.defineProperty,nr=Object.defineProperties,Cr=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Tr=(Zt,nn,Cn)=>nn in Zt?jn(Zt,nn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Zt[nn]=Cn,zr=(Zt,nn)=>{for(var Cn in nn||(nn={}))Er.call(nn,Cn)&&Tr(Zt,Cn,nn[Cn]);if(Sr)for(var Cn of Sr(nn))Nr.call(nn,Cn)&&Tr(Zt,Cn,nn[Cn]);return Zt},Rr=(Zt,nn)=>nr(Zt,Cr(nn)),Ln=(Zt,nn,Cn)=>new Promise((Ht,Ft)=>{var fn=An=>{try{vn(Cn.next(An))}catch(Rn){Ft(Rn)}},wn=An=>{try{vn(Cn.throw(An))}catch(Rn){Ft(Rn)}},vn=An=>An.done?Ht(An.value):Promise.resolve(An.value).then(fn,wn);vn((Cn=Cn.apply(Zt,nn)).next())});const Qn={showRewardDialog:!1,data:null,page:1,loading:!1,actionType:null,activeDiscussIndex:null};function Ar(Zt,nn){switch(nn.type){case Jt.tD:return Rr(zr({},Zt),{loading:!0});case Jt.RS:return Rr(zr({},Zt),{showRewardDialog:!0});case Jt.t2:return Rr(zr({},Zt),{showRewardDialog:!1});case Jt.GR:return zr(zr({},Zt),nn.payload);case Jt.u8:return zr(zr({},Zt),nn.payload);case Jt.rM:return zr(zr({},Zt),nn.payload);case Jt.yS:return zr(zr({},Zt),nn.payload);case Jt.Vn:return zr(zr({},Zt),nn.payload);case Jt.SX:return zr(zr({},Zt),nn.payload);default:throw new Error}}var wr=({shixunIdentifier:Zt,identity:nn,activeIndex:Cn,user:Ht,isShixunDetail:Ft=!1,isDelete:fn,getTypeNumber:wn,params:vn,getData:An,isNotDiscuss:Rn,keywords:Zn,setTypeCount:zn})=>{const[Un,ar]=(0,b.useReducer)(Ar,Qn),{page:Fn,loading:ir,data:Ir,actionType:Lr,showRewardDialog:Fr,activeDiscussIndex:vr}=Un,Dr=(0,b.useRef)(),Ur=(0,b.useRef)();function gr(_t){return Ln(this,null,function*(){if(!ir)try{ar({type:Jt.tD});const Bn=yield(0,yt.Mu)({coursesId:vn==null?void 0:vn.pathId,page:_t,keywords:Zn});zn(Bn==null?void 0:Bn.disscuss_count),ar({type:Jt.GR,payload:{activeDiscussIndex:null,page:_t,data:Bn,loading:!1}})}catch(Bn){console.log(Bn)}})}function Zr(_t){document.body.scrollIntoView(),gr(_t)}function jr(_t,Bn,Xn){return Ln(this,null,function*(){try{const fr=yield tr(_t,Bn);Gn[Xn].user_praise=Bn,Gn[Xn].praise_count=fr.praise_count,ar({type:Jt.rM,payload:{data:Rr(zr({},Ir),{comments:Gn})}})}catch(fr){console.log(fr)}})}function yi(_t,Bn,Xn){return Ln(this,null,function*(){try{yield kn(_t,Bn),Gn[Xn].sticky=Bn,ar({type:Jt.u8,payload:{data:Rr(zr({},Ir),{comments:Gn})}})}catch(fr){console.log(fr)}})}function Yr(){ar({type:Jt.yS,payload:{actionType:null}})}function Kr(){return Ln(this,null,function*(){const{id:_t,params:Bn,type:Xn,index:fr,parentDiscussIndex:Wr}=Lr;if(Xn==="hidden-discuss"&&(yield pr(_t,Bn),Wr?Gn[Wr].children[fr].hidden=Bn.hidden==1:Gn[fr].hidden=Bn.hidden==1,ar({type:Jt.yS,payload:{actionType:null,data:Rr(zr({},Ir),{comments:Gn})}})),Xn==="delete-discuss"){if(yield Yn(_t),Wr||Wr===0){let Qr=Gn[Wr].children;for(let Xr=Qr.length-1;Xr>=0;Xr--)if(Qr[Xr].id===_t){Qr.splice(Xr,1);break}Gn[Wr].children=Qr}else for(let Qr=Gn.length-1;Qr>=0;Qr--)if(Gn[Qr].id===_t){Gn.splice(Qr,1);break}ar({type:Jt.yS,payload:{actionType:null,data:Rr(zr({},Ir),{comments:Gn})}})}})}function si(_t){ar({type:Jt.yS,payload:{actionType:_t}})}function ni(){ar({type:Jt.t2})}function Mr(){return Ln(this,null,function*(){const{id:_t,index:Bn,score:Xn,user_id:fr,parentDiscussIndex:Wr}=Dr.current,Qr=yield xr(_t,{container_type:"Discusses",score:Xn,user_id:fr});Wr?Gn[Wr].children[Bn].reward=Qr.code:Gn[Bn].reward=Qr.code,ar({type:Jt.Vn,payload:{showRewardDialog:!1,data:Rr(zr({},Ir),{comments:Gn})}}),Dr.current=null})}function Vr(_t){Dr.current=_t,ar({type:Jt.RS})}function yr(_t){Dr.current.score=_t}function Jn(_t,Bn){return Ln(this,null,function*(){try{yield mr(_t,Bn),gr(Fn),An()}catch(Xn){console.log(Xn)}})}function sr(_t){ar(vr===_t?{type:Jt.SX,payload:{activeDiscussIndex:null}}:{type:Jt.SX,payload:{activeDiscussIndex:_t}})}if((0,b.useEffect)(()=>{function _t(){return Ln(this,null,function*(){Cn===3&&!Ir&&Zt&&(yield gr(Fn))})}_t()},[vn.pathId,Zn]),(0,b.useEffect)(()=>{gr()},[Zn]),!Ir)return!Ft&&b.createElement(qt.Z,null);const{disscuss_count:hr,comments:Gn,all:kr,can_hidden:Br}=Ir;return b.createElement(b.Fragment,null,b.createElement("div",{className:"discuss-container discuss-warp-container",ref:Ur},!Ft&&ir?b.createElement(qt.Z,null):null,hr===0?b.createElement("div",{style:{display:"flex"}},b.createElement(hn.Z,null)):null,(0,_e.bg)()&&!Rn&&!Zn&&b.createElement(Wt,{getTypeNumber:wn,upDataList:gr,page:Fn,user:Ht,params:vn,keywords:Zn}),b.createElement("aside",{className:"bg-white"},Gn==null?void 0:Gn.map((_t,Bn)=>b.createElement(Kn,{user:Ht,key:_t.id,data:_t,index:Bn,identity:nn,onPaginationChange:Zr,shixunIdentifier:Zt,isDelete:fn,onSetActionType:si,onTopOrDownDiscuss:yi,adminOrOperator:Br,onPlusDiscuss:jr,onSetRewardData:Vr,activeDiscussIndex:vr,onSetActiveDiscussIndex:sr,onReplyDiscuss:Jn,keywords:Zn}))),hr>10?b.createElement("div",{className:"pagination-container tc"},b.createElement(ye.Z,{showQuickJumper:!0,showSizeChanger:!1,onChange:Zr,current:Fn,total:hr})):null),b.createElement(Bt.Z,null,b.createElement(de.default,{centered:!0,title:"\u63D0\u793A",open:!!Lr,onOk:Kr,onCancel:Yr},b.createElement("p",null,Lr?Lr.message:"")),b.createElement(de.default,{centered:!0,width:400,title:"\u5956\u52B1\u8BBE\u7F6E",open:Fr,onCancel:ni,onOk:Mr},b.createElement($t.Z,{placeholder:"\u8BF7\u8F93\u5165\u5956\u52B1\u7684\u91D1\u5E01\u6570\u91CF",min:1,onChange:yr,style:{width:"228px"}}))))},zt=ae(70467),It=ae(59301),Dt=Object.defineProperty,Vt=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,on=(Zt,nn,Cn)=>nn in Zt?Dt(Zt,nn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Zt[nn]=Cn,an=(Zt,nn)=>{for(var Cn in nn||(nn={}))ut.call(nn,Cn)&&on(Zt,Cn,nn[Cn]);if(Kt)for(var Cn of Kt(nn))Qt.call(nn,Cn)&&on(Zt,Cn,nn[Cn]);return Zt},Xt=(Zt,nn)=>Vt(Zt,Nt(nn)),Yt=(Zt,nn)=>{var Cn={};for(var Ht in Zt)ut.call(Zt,Ht)&&nn.indexOf(Ht)<0&&(Cn[Ht]=Zt[Ht]);if(Zt!=null&&Kt)for(var Ht of Kt(Zt))nn.indexOf(Ht)<0&&Qt.call(Zt,Ht)&&(Cn[Ht]=Zt[Ht]);return Cn},Gt=(Zt,nn,Cn)=>new Promise((Ht,Ft)=>{var fn=An=>{try{vn(Cn.next(An))}catch(Rn){Ft(Rn)}},wn=An=>{try{vn(Cn.throw(An))}catch(Rn){Ft(Rn)}},vn=An=>An.done?Ht(An.value):Promise.resolve(An.value).then(fn,wn);vn((Cn=Cn.apply(Zt,nn)).next())});const dn=Zt=>{var nn=Zt,{classroomList:Cn,user:Ht,globalSetting:Ft,loading:fn,dispatch:wn}=nn,vn=Yt(nn,["classroomList","user","globalSetting","loading","dispatch"]),An;const Rn=(0,oe.useParams)(),{detailTopBanner:Zn}=Cn,[zn,Un]=(0,b.useState)([]),[ar,Fn]=(0,b.useState)({}),[ir,Ir]=(0,b.useState)(-1),[Lr,Fr]=(0,b.useState)(!1),[vr,Dr]=(0,b.useState)({name:"",is_jupyter:!1}),[Ur]=we.default.useForm(),[gr]=we.default.useForm(),[Zr]=we.default.useForm(),[jr,yi]=(0,b.useState)(!1),[Yr,Kr]=(0,b.useState)(),[si,ni]=(0,b.useState)([]),[Mr,Vr]=(0,b.useState)(),[yr,Jn]=(0,b.useState)("All"),[sr,hr]=(0,b.useState)(!0),[Gn,kr]=(0,b.useState)(0),[Br,_t]=(0,b.useState)(""),[Bn,Xn]=(0,b.useState)(0),[fr,Wr]=(0,b.useState)([{name:"\u5168\u90E8",totalName:"\u8BFE\u7A0B\u5B66\u4E60",type:"All",number:0},{name:"\u5B9E\u8DF5\u9879\u76EE",totalName:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",number:0},{name:"\u89C6\u9891\u9879\u76EE",totalName:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",number:0},{name:"\u6559\u5B66\u8BFE\u4EF6",totalName:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",number:0},{name:"\u8BA8\u8BBA",totalName:"\u8BA8\u8BBA",type:"Discusses",number:0},{name:"\u5173\u5361",totalName:"\u5173\u5361",type:"challenges_count",number:0}]),Qr=(0,b.useRef)();(0,b.useEffect)(()=>{ti()},[Rn==null?void 0:Rn.coursesId]),(0,b.useEffect)(()=>{Cn.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&ti()},[Cn.actionTabs.key]),(0,b.useEffect)(()=>{Fi()},[ar]),(0,b.useEffect)(()=>{const $n=zn.map(pi=>pi.items);let Hr=0;$n.map(pi=>{pi.map(Xi=>{new RegExp(Br,"ig").test(Xi.name)&&(Xi.item_type===yr||yr==="All")&&Hr++})}),Hr>fr.find(pi=>pi.type===yr).number&&(Hr=fr.find(pi=>pi.type===yr).number),Xn(Hr)},[zn,yr,Br]),(0,b.useEffect)(()=>{if(!Qr.current)return;function $n(){var pi;let Xi=new ResizeObserver(xo=>{for(let ya of xo);});return Xi.observe((pi=Qr.current)==null?void 0:pi.firstElementChild),Xi}const Hr=$n();return()=>{var pi,Xi;(pi=Qr.current)!=null&&pi.firstElementChild&&Hr.unobserve((Xi=Qr.current)==null?void 0:Xi.firstElementChild)}},[Qr.current,zn]);const Xr=$n=>Gt(void 0,null,function*(){const Hr=yield(0,Fe.Ex)(an({},$n));return zn[ir].items=$n.list,Hr}),Fi=()=>{const{shixuns_count:$n=0,videos_count:Hr=0,pdf_attachments_count:pi=0,disscuss_count:Xi=0,challenges_count:xo=0}=ar,ya={All:$n+Hr+pi+xo,Shixun:$n,VideoItem:Hr,Attachment:pi,Discusses:Xi,challenges_count:xo},Na=fr.map(To=>Xt(an({},To),{number:ya[To.type]}));Wr(Na)},or=$n=>{var Hr;ir===-1?(_t((Hr=decodeURIComponent($n))==null?void 0:Hr.trim()),Ir(-1)):Ae.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")},Ti=$n=>Gt(void 0,null,function*(){wn({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Hr=yield(0,be.Ir)({id:$n});if(wn({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Hr!=null&&Hr.game_identifier){(0,le.xg)(`/tasks/${Hr.game_identifier}`);return}(Hr==null?void 0:Hr.status)===2?hi(Hr==null?void 0:Hr.message):(Hr==null?void 0:Hr.status)===3&&Ei(Hr==null?void 0:Hr.message)}),hi=$n=>{$n=$n!=null&&$n.includes(".json")?$n:`${$n}.json`,de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:It.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Gt(void 0,null,function*(){const Hr=yield(0,Lt.L8)({url:$n});if(!Hr)return;Ae.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const pi=yield(0,be.Ir)({id:Hr.shixun_identifier});if(pi!=null&&pi.game_identifier){(0,le.xg)(`/tasks/${pi.game_identifier}`);return}(pi==null?void 0:pi.status)===2?hi(pi==null?void 0:pi.message):(pi==null?void 0:pi.status)===3&&Ei(pi==null?void 0:pi.message)})})},Ei=$n=>{de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:It.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",$n,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Li=()=>{const $n={shixuns_list:[],items:[]};ro(zn.length,$n),Un([...zn,$n]),Kr(!0)},Ai=()=>{ir===zn.length-1&&Yr&&(Yo(),Un(zn.filter(($n,Hr)=>Hr!==zn.length-1))),ti(),Ir(-1)},ro=($n,Hr)=>{jo()&&(Ir($n),Ur.setFieldsValue({name:Hr.stage_name,description:Hr.stage_description}))},So=$n=>{var Hr;setTimeout(()=>{document.documentElement.scrollTop=Gn},300),$n!=="\u53D6\u6D88"&&(zn[ir].items=(Hr=zn[ir].items)==null?void 0:Hr.concat($n),Un([...zn]))},Qi=$n=>{var Hr;$n.map(pi=>(pi.type="Attachment",pi.id=pi.id||pi.response.id,pi.url=`/api/attachments/${pi.id||pi.response.id}`,pi)),zn[ir].items=(Hr=zn[ir].items)==null?void 0:Hr.concat($n),Un([...zn])},io=$n=>Gt(void 0,null,function*(){const Hr=yield(0,Fe.A2)(an({id:zn[ir].stage_id,course_id:Rn.coursesId},$n));if(Hr.id){Vr(!1);const pi=[an({},Hr)];zn[ir].items=zn[ir].items.concat(pi),Un([...zn])}return Hr}),ti=()=>Gt(void 0,null,function*(){hr(!0);const $n=yield(0,Fe.R7)({coursesId:Rn==null?void 0:Rn.coursesId});$n!=null&&$n.stages&&Un($n!=null&&$n.stages?[...$n==null?void 0:$n.stages]:[]),Fn($n?an({},$n):{}),hr(!1),Yo(),Ir(-1)}),li=($n,Hr)=>Gt(void 0,null,function*(){var pi;if(!($n!=null&&$n.name))return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");Yo();const Xi=[];if((pi=zn[ir][Hr||"shixuns_list"])==null||pi.map(xo=>{Xi.push({type:xo.item_type,id:xo.id})}),Yr){const xo=yield(0,Fe.CI)(Xt(an({},$n),{coursesId:Rn.coursesId,list:Xi}));xo&&(zn[ir]=an(an({},zn[ir]),xo))}else{const xo=yield(0,Fe.xn)(Xt(an({},$n),{id:zn[ir].stage_id,type:Array.from(new Set(Xi.map(ya=>ya.type))),list:Xi}));xo&&(zn[ir]=an(an({},zn[ir]),xo))}}),qi=($n,Hr,pi)=>{const Xi=Array.from($n),[xo]=Xi.splice(Hr,1);return Xi.splice(pi,0,xo),Xi},ho=($n,Hr)=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u5B9E\u8BAD\u5417\uFF1F",onOk:()=>{zn[ir][Hr||"shixuns_list"].splice($n,1),Ae.ZP.success("\u5220\u9664\u6210\u529F"),Un([...zn]),li(Ur.getFieldsValue(),Hr)}})},ji=$n=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Gt(void 0,null,function*(){(yield(0,Fe._V)({id:$n})).status===0&&(Ir(-1),Ae.ZP.success("\u5220\u9664\u6210\u529F"),ti())})})},oo=$n=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Gt(void 0,null,function*(){(yield(0,Fe.WW)(an({},$n))).status===0&&(Ir(-1),Ae.ZP.success("\u5220\u9664\u6210\u529F"),ti())})})},uo=()=>{Dr({name:"",is_jupyter:!1}),gr.setFieldsValue({name:"",is_jupyter:!1}),Fr(!1)},$i=($n,Hr)=>{if(!$n.destination)return;const pi=qi(zn[ir][Hr||"shixuns_list"],$n.source.index,$n.destination.index);zn[ir][Hr||"shixuns_list"]=pi,Un([...zn]),li(Ur.getFieldsValue(),Hr)},co=$n=>Gt(void 0,null,function*(){if(!jo())return;(yield(0,Fe.ms)({id:$n})).status===0&&ti()}),so=$n=>Gt(void 0,null,function*(){if(!jo())return;(yield(0,Fe.yy)({id:$n})).status===0&&ti()}),jo=()=>ir!==-1?(de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,title:"\u63D0\u793A",content:It.createElement("div",{className:"tc font14"},"\u5F53\u524D\u5355\u5143\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u8BB0\u5F55\uFF0C\u8BF7\u5148\u4FDD\u5B58\uFF01"),onOk:()=>{const $n=`Edit_${ir}`;let Hr=document.getElementById($n);Hr&&setTimeout(()=>Hr.scrollIntoView({block:"start",behavior:"smooth"}))}}),!1):!0,Jo=()=>{li(Ur.getFieldsValue())},Yo=()=>{Kr(!1)},Zo=($n,Hr,pi)=>It.createElement(ve.Z,{className:"list-item-row",align:"middle",key:Hr,gutter:[5,10]},It.createElement(re.Z,null,$n.item_type==="Shixun"?It.createElement("i",{className:"iconfont c-green-shixun c-light-primary font20"}):It.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"})),It.createElement(re.Z,{flex:1,className:!$n.allow_visit&&!$n.to_be_built&&($n.shixun_status==="\u6682\u672A\u516C\u5F00"||$n.shixun_status==="\u5DF2\u5220\u9664")?Ie.color204:""},pi+1,"-",Hr+1,"\xA0\xA0",$n.name,ir===-1&&$n.complete_status===1&&It.createElement("span",{className:Ie.completed},It.createElement("i",{className:"iconfont icon-duigou1 mr5 font12"}),"\u5DF2\u5B8C\u6210")),It.createElement(re.Z,null,ir===pi&&It.createElement("div",null,It.createElement(se.Z,{title:"\u5220\u9664"},It.createElement("span",{onClick:()=>{ho(Hr,"shixuns_list")},className:"iconfont icon-shanchu c-grey-c"}))),ir!==pi&&$n.item_type==="VideoItem"&&It.createElement("aside",null,It.createElement(fe.ZP,{type:"primary",href:$n.link||`/video/${$n.id}?course_id=${Rn==null?void 0:Rn.coursesId}`,target:"_blank"},$n.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),($n.allow_visit||$n.to_be_built||$n.shixun_status!=="\u6682\u672A\u516C\u5F00"&&$n.shixun_status!=="\u5DF2\u5220\u9664")&&ir!==pi&&$n.item_type==="Shixun"&&It.createElement("aside",null,It.createElement(oe.Link,{to:`/shixuns/${$n.identifier}/challenges`,target:"_blank"},"\u67E5\u770B\u8BE6\u60C5"),$n.shixun_status!=="\u6682\u672A\u516C\u5F00"&&It.createElement(fe.ZP,{className:"ml20",type:"primary",onClick:()=>{(0,Ge.tJ)(wn)&&Ti($n.identifier)}},"\u5F00\u59CB\u5B9E\u6218")),ir===-1&&!$n.allow_visit&&$n.shixun_status==="\u6682\u672A\u516C\u5F00"&&It.createElement("span",{className:Ie.color204},"\u6682\u672A\u516C\u5F00"),ir===-1&&!$n.allow_visit&&$n.shixun_status==="\u5DF2\u5220\u9664"&&It.createElement("span",{className:Ie.color204},"\u5DF2\u5220\u9664"),ir===-1&&$n.allow_visit&&$n.item_type==="Shixun"&&It.createElement("span",{className:`${Ie.color204} ml5 experiment-number`},"\u5B9E\u9A8C\u6570 ",$n.challenges_count))),ns=($n,Hr)=>{var pi,Xi,xo,ya;if(yr!=="All"&&!((pi=$n.stage_tag)!=null&&pi.includes(yr)))return null;const Na=$n.items.filter(To=>{var aa,$a;return new RegExp(Br,"ig").test(To.name)&&(To.item_type===yr||yr==="All"||(($a=(aa=To==null?void 0:To.children)==null?void 0:aa.filter(Wa=>{var Ps,Us;return Wa.item_type===yr||yr==="All"||((Us=(Ps=Wa==null?void 0:Wa.children)==null?void 0:Ps.filter(ms=>ms.item_type===yr||yr==="All"))==null?void 0:Us.length)>0}))==null?void 0:$a.length)>0)});return Br&&(Na!=null&&Na.length)||!Br?It.createElement("section",{key:Hr,className:"bg-white pt30 mb20 pb20 pl10 pr10"},It.createElement("aside",{className:"pl20 pr20"},It.createElement(ve.Z,{gutter:[5,20],align:"middle",style:{lineHeight:"16px"}},It.createElement(re.Z,{flex:"22px"},It.createElement("span",{className:Ie.icons},It.createElement("i",{className:"iconfont icon-zhangjie2 font18"}))),It.createElement(re.Z,{flex:1,className:"tl font18 bold c-grey-333"},$n.stage_name||`\u7B2C${zn==null?void 0:zn.length}\u90E8\u5206`),It.createElement(re.Z,null,(0,_e.GJ)()&&ir===Hr&&!Yr&&It.createElement(se.Z,{title:"\u5220\u9664"},It.createElement("span",{onClick:()=>{ji($n.stage_id)},className:"iconfont icon-shanchu c-grey-c"})),(0,_e.GJ)()&&ir!==Hr&&yr==="All"&&!Br&&It.createElement("div",null,Hr>0&&It.createElement(se.Z,{title:"\u5411\u4E0A\u79FB\u52A8"},It.createElement("span",{onClick:()=>co($n.stage_id),className:"iconfont icon-xiangshangyi c-light-green font18 current"})),Hr<zn.length-1&&It.createElement(se.Z,{title:"\u5411\u4E0B\u79FB\u52A8"},It.createElement("span",{onClick:()=>so($n.stage_id),className:"iconfont icon-xiangxiayi c-light-green font18 current ml5"})),!Yr&&It.createElement(se.Z,{title:"\u7F16\u8F91"},It.createElement("span",{onClick:()=>ro(Hr,$n),className:"iconfont icon-bianjidaibeijing c-light-green font20 current ml5"}))))),!!$n.stage_description&&It.createElement("div",{style:{marginTop:12}},It.createElement("div",{ref:Qr,className:`${Ie.introContent} ${$n!=null&&$n.showReadFull?"":Ie.introContentMaxHeight}`},It.createElement(xn.Z,{value:$n==null?void 0:$n.stage_description})),($n==null?void 0:$n.showExpansion)&&It.createElement("div",{onClick:To=>{zn[Hr].showReadFull=!($n!=null&&$n.showReadFull),Un([...zn])}},It.createElement(E.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},It.createElement("a",{className:`font14 ${Ie.color999}`},$n!=null&&$n.showReadFull?"\u6536\u8D77\u5168\u6587 ":"\u9605\u8BFB\u5168\u6587 ",It.createElement("i",{className:`iconfont font14 ${$n!=null&&$n.showReadFull?"icon-changyongtubiao-xianxingdaochu-zhuanqu-":"icon-jiantou9"}`})))))),ir===Hr&&It.createElement("div",{className:"pl20 pr20 pt20"},It.createElement("aside",null,It.createElement(we.default.Item,{name:"name",label:"\u540D\u79F0",rules:[{required:!0,message:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},It.createElement(te.default,{size:"middle",maxLength:60,placeholder:`\u8BF7\u8F93\u5165\u7B2C${zn==null?void 0:zn.length}\u9636\u6BB5\u540D\u79F0,\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26`,onBlur:Jo})),It.createElement(we.default.Item,{name:"description",label:"\u63CF\u8FF0",rules:[{required:!0,message:"\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A"}]},It.createElement(te.default.TextArea,{rows:5,maxLength:300,placeholder:`\u8BF7\u8F93\u5165\u7B2C${zn==null?void 0:zn.length}\u9636\u6BB5\u63CF\u8FF0`,onBlur:Jo}))),It.createElement("aside",{style:{display:"flex",justifyContent:"space-evenly"}},It.createElement(fe.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!zn[ir].stage_id)return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,Ge.tJ)(wn)&&(0,Ge.xY)()&&(Fr(!0),gr.setFieldsValue({name:"",is_jupyter:!1}))}},It.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE"),It.createElement("br",null),It.createElement(fe.ZP,{size:"middle",className:"mt10",onClick:()=>{var To;if(!zn[ir].stage_id)return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");kr(document.documentElement.scrollTop),wn({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",id:zn[ir].stage_id,course_id:Rn.coursesId}}),ni((To=$n==null?void 0:$n.shixuns_list)==null?void 0:To.map(aa=>aa.id))}},It.createElement("span",{className:"iconfont icon-tianjiafangda mr5"}),"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"),It.createElement("br",null),!((Xi=Ft==null?void 0:Ft.setting)!=null&&Xi.is_local)&&It.createElement(It.Fragment,null,It.createElement(fe.ZP,{size:"middle",className:"mt10",onClick:()=>{var To,aa;if(!zn[ir].stage_id)return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");((To=Ht.userInfo)!=null&&To.admin||(aa=Ht.userInfo)!=null&&aa.is_teacher&&(0,Ge.O5)())&&Vr(!0)}},It.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE"),It.createElement("br",null)),It.createElement(fe.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!zn[ir].stage_id)return Ae.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,Ge.tJ)(wn)&&(0,Ge.xY)()&&(yi(!0),Zr.resetFields())}},It.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6"),It.createElement("br",null)),It.createElement("aside",{className:"c-light-black mt10 pb20",id:`Edit_${Hr}`},"\u4E0B\u9762\u5B9E\u8BAD\u53EF\u4EE5\u901A\u8FC7\u62D6\u62FD\u8FDB\u884C\u6392\u5E8F\u8C03\u6574")),!!((xo=$n.attachments_list)!=null&&xo.length)&&It.createElement(E.Z,null),It.createElement("aside",{className:Ie.shixuns},ir===Hr?It.createElement(Ce.Z5,{onDragEnd:To=>$i(To,"attachments_list")},It.createElement(Ce.bK,{droppableId:"droppable-id2"},(To,aa)=>{var $a;return It.createElement("div",Xt(an({className:"mt20",ref:To.innerRef},To.droppableProps),{onScroll:()=>{}}),($a=$n.attachments_list)==null?void 0:$a.map(function(Ia,Wa){return It.createElement(Ce._l,{draggableId:`${Ia.id.toString()}-${Hr}-${Wa}`,index:Wa,key:Ia.id},(Ps,Us)=>It.createElement("div",an(an({ref:Ps.innerRef},Ps.draggableProps),Ps.dragHandleProps),It.createElement(ve.Z,{className:"list-item-row",align:"middle",key:Wa,gutter:[5,10]},It.createElement(re.Z,null,It.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),It.createElement(re.Z,{flex:"1"},It.createElement("a",{className:"c-grey-333",href:De.Z.IMG_SERVER+Ia.url,target:"_blank"},Ia.name)),It.createElement(re.Z,null,ir===Hr&&It.createElement("div",null,It.createElement(se.Z,{title:"\u5220\u9664"},It.createElement("span",{onClick:()=>{ho(Wa,"attachments_list")},className:"iconfont icon-shanchu c-grey-c"})))))))}))})):It.createElement("div",{className:"mt20"},(ya=$n.attachments_list)==null?void 0:ya.map(function(To,aa){return It.createElement("div",null,It.createElement(ve.Z,{className:"list-item-row",align:"middle",key:aa,gutter:[5,10]},It.createElement(re.Z,null,It.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),It.createElement(re.Z,null,It.createElement("a",{className:"c-grey-333",href:De.Z.IMG_SERVER+To.url,target:"_blank"},To.name))))}))),!!(Na!=null&&Na.length)&&It.createElement(tn,{visibleType:yr,data:[...Na],stage_id:$n.stage_id,disabled:ir!==Hr,deleteStages:oo,updateSort:Xr,subject_id:ar==null?void 0:ar.subject_id,course_id:Rn==null?void 0:Rn.coursesId,index:Hr,cust_seq:!0,hiddenEditBtn:!0,keywords:Br,isShowSchedule:ar==null?void 0:ar.is_show_schedule,getData:ti,showVideoPlay:!0}),ir===Hr&&It.createElement("aside",{className:Ie.buttons},It.createElement(fe.ZP,{onClick:Ai,type:"primary",size:"middle",ghost:!0},"\u53D6\u6D88"),It.createElement(fe.ZP,{onClick:Ai,size:"middle",type:"primary"},"\u4FDD\u5B58"))):null},Ya=$n=>{if($n){let pi=0;for(var Hr=0;Hr<$n.length;Hr++)$n.charCodeAt(Hr)>127||$n.charCodeAt(Hr)==94?pi+=2:pi++;return pi}else return 0},Hi=()=>{var $n;for(let Hr in zn)Ya(($n=zn[Hr])==null?void 0:$n.stage_description)>424?zn[Hr].showExpansion=!0:zn[Hr].showExpansion=!1;return zn==null?void 0:zn.map(function(Hr,pi){return It.createElement("div",{key:pi},ns(Hr,pi))})},{start_date:to,course_end:Zi}=Zn,Vi=Zi||Pe()(Pe()().format("L")).valueOf()<Pe()(to).valueOf(),bo=()=>{};return It.createElement("section",{className:"mb50"},It.createElement(st,{data:ar,dispatch:wn,onReloadData:ti}),It.createElement("aside",{style:{justifyContent:"space-between",display:"flex",background:"#fff",alignItems:"center",paddingRight:"20px"}},It.createElement("div",{className:Ie.actionTabs},fr.map(function($n,Hr){if(zn!=null&&zn.some(pi=>{var Xi;return(Xi=pi.stage_tag)==null?void 0:Xi.includes($n.type)})||$n.type=="All"||$n.type==="Discusses")return It.createElement("div",{key:Hr,className:$n.type===yr?Ie.tabActive:Ie.tab,onClick:()=>{ir===-1?(Jn($n.type),Ir(-1)):Ae.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")}},It.createElement("div",{className:Ie.s1},$n.name))})),It.createElement("div",{style:{display:"flex",justifyContent:"center"}},It.createElement(zt.t7,{style:{width:222,marginTop:"-3px"},className:(0,_e.G5)()?"mr20":"",placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onChange:or}),(0,_e.G5)()&&It.createElement(fe.ZP,{type:"primary",onClick:()=>Gt(void 0,null,function*(){de.default.confirm({title:"\u63D0\u793A",content:"\u540C\u6B65\u5F00\u653E\u8BFE\u7A0B\u8D44\u6E90\u540E\uFF0C\u4F1A\u9020\u6210\u5728\u7EBF\u5B66\u4E60\u5185\u6240\u6709\u8D44\u6E90\u5F3A\u5236\u540C\u6B65\u4E3A\u6700\u65B0\u5F00\u653E\u8BFE\u7A0B\u5185\u5BB9\uFF0C\u662F\u5426\u7EE7\u7EED\u540C\u6B65\uFF1F",okText:"\u540C\u6B65",cancelText:"\u53D6\u6D88",onOk:()=>Gt(void 0,null,function*(){(yield(0,Te.ZP)("/api/courses/sync_stages.json",{method:"post",body:{classroom_identifier:Rn==null?void 0:Rn.coursesId}})).status===0&&ti()})})})},"\u66F4\u65B0"))),It.createElement("div",{className:Ie.total},"\u5171",It.createElement("span",null,Br?Bn:fr.find($n=>$n.type===yr).number),"\u4E2A",fr.find($n=>$n.type===yr).totalName),Br&&Bn===0&&yr!=="Discusses"&&It.createElement(hn.Z,{styles:{margin:"0 auto",padding:"100px 0",backgroundColor:"#fff"}}),It.createElement(ne.Z,{loading:sr,active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},yr!=="Discusses"&&It.createElement(It.Fragment,null,It.createElement(we.default,{form:Ur,onFinish:li},Hi),(0,_e.GJ)()&&!Yr&&yr==="All"&&ir===-1&&!Br&&It.createElement("div",{className:Ie.addStage,onClick:Li},It.createElement("span",{className:Ie.color4CA},"+\u70B9\u51FB\u65B0\u5EFA\u9636\u6BB5"),"\uFF08\u6DFB\u52A0\u4E00\u4E2A\u6216\u591A\u4E2A\u5B9E\u8BAD/\u89C6\u9891\u9879\u76EE\uFF0C\u7EC4\u6210\u4E00\u4E2A\u9636\u6BB5\uFF09"))),yr==="Discusses"&&It.createElement("aside",{style:{paddingTop:25,background:"#fff"}},It.createElement(wr,{activeIndex:3,isNotDiscuss:Vi,getData:ti,shixunIdentifier:11,coursesId:Rn==null?void 0:Rn.coursesId,params:{pathId:Rn==null?void 0:Rn.coursesId},identity:(An=Ht.userInfo)==null?void 0:An.role,getTypeNumber:Fi,user:Ht.userInfo,isShixunDetail:!0,keywords:Br,setTypeCount:Xn})),It.createElement(de.default,{centered:!0,title:"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",open:Lr,onOk:()=>Gt(void 0,null,function*(){yield gr.validateFields();const $n=yield(0,Fe.vf)(an({id:zn[ir].stage_id,course_id:Rn.coursesId},vr));uo(),$n.id&&(Ae.ZP.success("\u6DFB\u52A0\u6210\u529F"),So([$n]))}),onCancel:uo},It.createElement(we.default,{form:gr,onValuesChange:$n=>{Dr(an(an({},vr),$n))}},It.createElement(we.default.Item,{label:"\u5B9E\u8BAD\u7C7B\u578B",name:"is_jupyter",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B9E\u8BAD\u7C7B\u578B"}]},It.createElement(ge.ZP.Group,null,It.createElement(ge.ZP,{defaultChecked:!0,value:!1},"\u666E\u901A\u5B9E\u8BAD"),It.createElement(ge.ZP,{value:!0},"jupyter\u5B9E\u8BAD"))),It.createElement(we.default.Item,{label:"\u5B9E\u8BAD\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},It.createElement(te.default,{maxLength:60,suffix:It.createElement("span",null,vr.name.length,"/60")})))),It.createElement(de.default,{centered:!0,title:"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6",open:jr,onOk:()=>Gt(void 0,null,function*(){yield Zr.validateFields();const $n=yield Zr.getFieldsValue();(yield(0,Fe.s0)({id:zn[ir].stage_id,course_id:Rn.coursesId,attachment_ids:$n.files.map(pi=>pi.response.id)})).status===0&&(Ae.ZP.success("\u6DFB\u52A0\u6210\u529F"),yi(!1),Qi([...$n.files]))}),onCancel:()=>yi(!1)},It.createElement(we.default,{form:Zr},It.createElement(we.default.Item,{label:"\u8BFE\u4EF6\u5185\u5BB9",name:"files",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BFE\u4EF6\u5185\u5BB9"}]},It.createElement(Tt.Z,{maxSize:100,accept:"application/pdf",number:10})),It.createElement(we.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"test_lyl"},It.createElement(te.default,{onClick:()=>bo})),It.createElement("div",null,It.createElement("span",{className:"c-red"},"\u6CE8\u610F\uFF1A"),It.createElement("br",null),"1\u3001\u4E0A\u4F20\u8BFE\u4EF6\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",It.createElement(oe.Link,{target:"_blank",to:"/users/mmipb3zhj/videos/protocol"},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B",It.createElement("br",null),"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7100M\uFF1B",It.createElement("br",null),"3\u3001\u5F53\u524D\u4EC5\u9650\u652F\u6301pdf\u6587\u4EF6\uFF1B",It.createElement("br",null),"4\u3001\u6587\u4EF6\u540D\u5C06\u88AB\u81EA\u52A8\u8BFB\u53D6\u4E3A\u7CFB\u7EDF\u5185\u8BE5\u8BFE\u4EF6\u7684\u540D\u79F0\uFF0C\u4E0A\u4F20\u524D\u8BF7\u6CE8\u610F\u8FD9\u4E00\u70B9\uFF1B",It.createElement("br",null),"5\u3001\u4E00\u6B21\u6700\u591A\u4E0A\u4F2010\u4E2A\u6587\u4EF6\u3002"))),It.createElement(Ze,{shixunIds:si,cb:So}),It.createElement(ct.Z,{visible:Mr,onCancel:()=>Vr(!1),onOk:io}))};var ur=(0,oe.connect)(({classroomList:Zt,user:nn,loading:Cn,globalSetting:Ht})=>({classroomList:Zt,user:nn,globalSetting:Ht,loading:Cn.models.index}))(dn)},6755:function(_n,pn,ae){"use strict";ae.d(pn,{$J:function(){return we},JZ:function(){return de},bN:function(){return re},jP:function(){return ve},rO:function(){return Ae}});var b=ae(49317),oe=(se,fe,E)=>new Promise((te,ne)=>{var ge=le=>{try{be(E.next(le))}catch(Ee){ne(Ee)}},Ce=le=>{try{be(E.throw(le))}catch(Ee){ne(Ee)}},be=le=>le.done?te(le.value):Promise.resolve(le.value).then(ge,Ce);be((E=E.apply(se,fe)).next())});function we(se){return(0,b.U2)(`libraries/${se}.json`)}function Ae(){return(0,b.U2)("library_tags.json")}function de(se){return oe(this,null,function*(){return(yield(0,b.IV)(`attachments/${se}.json`)).status===0})}function ve(se){return(0,b.v_)("libraries.json",se)}function re(se,fe){return(0,b.gz)(`libraries/${se}.json`,fe)}},79730:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Oe}});var b=ae(59301),oe=ae(44283),we=ae(37568),Ae=ae(28284),de=ae(6767),ve=ae(62957),re=ae(89787),se=ae(62673),fe=ae(96599),E={modal:"modal___EKlPQ",uploadWrap:"uploadWrap___YGxav",upload:"upload___ouqG9",uploadLink:"uploadLink___nuif6",fileProgress:"fileProgress___tf4qy",fileCancel:"fileCancel___Bh3Wh",videoName:"videoName___Ra0NM",contentItem:"contentItem___zMdIq","tagsList-content":"tagsList-content___sDVph",zhishidian:"zhishidian___S6hEq",tags_list:"tags_list___VtmRr",tag_item:"tag_item___q4Xrk",tag_icon:"tag_icon___Z6vtJ"},te=ae(54604),ne=ae(21621),ge=ae(15267),Ce=ae(50545),be=Object.defineProperty,le=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Ie=(Ke,We,Ne)=>We in Ke?be(Ke,We,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Ke[We]=Ne,Re=(Ke,We)=>{for(var Ne in We||(We={}))Ee.call(We,Ne)&&Ie(Ke,Ne,We[Ne]);if(le)for(var Ne of le(We))Pe.call(We,Ne)&&Ie(Ke,Ne,We[Ne]);return Ke},Me=(Ke,We,Ne)=>new Promise((Ye,Je)=>{var He=tt=>{try{ft(Ne.next(tt))}catch(Ot){Je(Ot)}},lt=tt=>{try{ft(Ne.throw(tt))}catch(Ot){Je(Ot)}},ft=tt=>tt.done?Ye(tt.value):Promise.resolve(tt.value).then(He,lt);ft((Ne=Ne.apply(Ke,We)).next())});const{TextArea:ye}=we.default,Te=1024,Fe=(Ke,We)=>{var Ne;const{uploadInfo:Ye={}}=We.payload||{};switch(We.type){case"addVideo":return{videoList:[...Ke.videoList,{name:Ye.file.name,size:Ye.file.size,type:Ye.file.type,fileHash:Ye.fileHash,state:Ye.state,videoId:Ye.videoId,loaded:Ye.loaded||0,title:""}]};case"removeVideo":return{videoList:Ke.videoList.filter(Je=>Je.name!==We.payload.name)};case"removeAll":return{videoList:[]};case"updateProgress":return{videoList:Ke.videoList.map(Je=>Je.name===We.payload.uploadInfo.file.name?Re(Re({},Je),{loaded:We.payload.progressPercent,videoId:Ye.videoId,fileHash:Ye.fileHash}):Je)};case"updateTitle":return{videoList:(Ne=Ke.videoList)==null?void 0:Ne.map(Je=>Je.name===We.payload.item.name?Re(Re({},Je),{title:We.payload.title}):Je)};default:return{videoList:[]}}},_e=({user:Ke,globalSetting:We,loading:Ne,dispatch:Ye,visible:Je,editData:He,onCancel:lt=()=>{},onOk:ft=()=>{},queryParams:tt={}})=>{var Ot;const nt=(0,oe.useParams)(),[Ze]=Ae.default.useForm(),[Ge,$e]=(0,b.useReducer)(Fe,{videoList:[]}),[qe,Ve]=(0,b.useState)(!1),mt=(0,b.useRef)(),[st,Lt]=(0,b.useState)(),[ct,Tt]=(0,b.useState)(!1),[xt,wt]=(0,b.useState)(!1),yt=(0,ge.Ny)()?3:1,[je,ue]=(0,b.useState)([]);(0,b.useEffect)(()=>{var ot,at,Mt;Je&&He&&(Tt(He.is_link),Lt(He.link),!He.is_link&&$e({type:"addVideo",payload:{uploadInfo:{file:{name:He.filename||""},videoId:He.video_id,loaded:100}}}),Be(((ot=He==null?void 0:He.tags)==null?void 0:ot.map(Rt=>Rt==null?void 0:Rt.name))||[]),ue(He==null?void 0:He.tag_disciplines),Ze.setFieldsValue({name:He.name,description:He.description,attachment_id:(at=He==null?void 0:He.video)==null?void 0:at.attachment_id,allow_skip:(Mt=He==null?void 0:He.video_item)==null?void 0:Mt.allow_skip}))},[He,Je]);const ie=()=>{const ot=document.getElementById("fileUpload");ot.value=""},ke=ot=>{var at;Tt(!1);const Mt=ot.target.files[0];if(!Mt){ie();return}const Rt=Mt.name.toLowerCase();if(Rt&&Rt.indexOf(".avi")==-1&&Rt.indexOf(".flv")==-1&&Rt.indexOf(".f4v")==-1&&Rt.indexOf(".m4v")==-1&&Rt.indexOf(".mov")==-1&&Rt.indexOf(".mp4")==-1&&Rt.indexOf(".rmvb")==-1&&Rt.indexOf(".swf")==-1&&Rt.indexOf(".webm")==-1&&Rt.indexOf(".wmv")==-1){de.ZP.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F"),ie();return}if(Mt.size>Te*yt*1024*1024){de.ZP.info(`\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7${yt}G`),ie();return}if((at=Ge.videoList)!=null&&at.find(tn=>tn.name===Mt.name)){de.ZP.info("\u4F60\u4E0D\u80FD\u4E0A\u4F20\u540C\u4E00\u4E2A\u89C6\u9891\u6587\u4EF6\u540D\u79F0\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002"),ie();return}De(Mt)},Xe=(ot,at)=>{ve.default.confirm({title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:b.createElement("div",{className:"tc"},"\u60A8\u786E\u8BA4\u8981",at?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20","\u8BE5\u89C6\u9891\u5417\uFF1F"),onOk:()=>{ie(),$e({type:"removeVideo",payload:{name:ot}})}})},De=ot=>{var at,Mt='{"Vod":{}}';if(Ve(!0),mt.current){mt.current.addFile(ot,null,null,null,Mt);return}(0,te.o)((at=Ke.userInfo)==null?void 0:at.login,"",{create:!mt,addFileSuccess:Rt=>{$e({type:"addVideo",payload:{uploadInfo:Rt}})},onUploadProgress:(Rt,tn,qt)=>{const Bt=Math.ceil(qt*100);$e({type:"updateProgress",payload:{uploadInfo:Rt,progressPercent:Bt}}),ie()},onUploadFailed:Rt=>{de.ZP.info("\u89C6\u9891\u4E91\u670D\u52A1\u51FA\u73B0\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20\u3002")},onUploadEnd:Rt=>{Ve(!1)},onUploadSucceed:Rt=>{Ve(!1)},onUploadError:Rt=>{Ve(!1)},gotUploader:Rt=>{Rt.addFile(ot,null,null,null,Mt),mt.current=Rt}})},pe=()=>Me(void 0,null,function*(){var ot,at;if(yield Ze.validateFields(),!ct&&!((ot=Ge.videoList)!=null&&ot.length)||ct&&!st){de.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u89C6\u9891\u6216\u8005\u6DFB\u52A0\u5916\u94FE");return}wt(!0);const Mt=ct?{link:st}:{video_id:(at=Ge.videoList)==null?void 0:at[0].videoId},Rt=yield ft(Re(Re(Re({},Mt),tt),{name:Ze.getFieldValue("name"),attachment_id:Ze.getFieldValue("attachment_id"),description:Ze.getFieldValue("description"),tags:Ze.getFieldValue("tag"),tag_discipline_ids:(je==null?void 0:je.length)>0?je==null?void 0:je.map(tn=>tn==null?void 0:tn.id):[],allow_skip:Ze.getFieldValue("allow_skip")}));wt(!1),Rt!=null&&Rt.id&&x()}),x=()=>{Ze.resetFields(),$e({type:"removeAll"}),Lt(null),Be([]),Tt(null)},me=()=>{lt(),x()},Le=()=>{var ot,at,Mt,Rt,tn,qt,Bt,hn,$t,Ct,jt,ln,yn,Et,Wt,Jt,bn;return b.createElement(b.Fragment,null,!ct&&!!((ot=Ge.videoList)!=null&&ot.length)&&b.createElement("div",{className:E.fileProgress},((Mt=(at=Ge.videoList)==null?void 0:at[0])==null?void 0:Mt.loaded)==100?b.createElement("div",{className:`${E.videoName} font14`},(tn=(Rt=Ge.videoList)==null?void 0:Rt[0])!=null&&tn.videoId?(Bt=(qt=Ge.videoList)==null?void 0:qt[0])==null?void 0:Bt.name:(hn=He==null?void 0:He.video_item)!=null&&hn.is_link?($t=He==null?void 0:He.video_item)==null?void 0:$t.link:(Ct=He==null?void 0:He.video_item)==null?void 0:Ct.file_name):b.createElement(re.Z,{style:{width:"80%"},percent:(ln=(jt=Ge.videoList)==null?void 0:jt[0])==null?void 0:ln.loaded,status:((Et=(yn=Ge.videoList)==null?void 0:yn[0])==null?void 0:Et.loaded)==100?"normal":"active"}),b.createElement("div",{className:E.fileCancel,onClick:()=>{var kn,tr,pr,xr;return Xe((tr=(kn=Ge.videoList)==null?void 0:kn[0])==null?void 0:tr.name,((xr=(pr=Ge.videoList)==null?void 0:pr[0])==null?void 0:xr.loaded)==100)}},((Jt=(Wt=Ge.videoList)==null?void 0:Wt[0])==null?void 0:Jt.loaded)===100?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20")),!((bn=Ge.videoList)!=null&&bn.length)&&b.createElement("div",{className:E.uploadWrap},b.createElement("label",{htmlFor:"fileUpload",className:E.upload},b.createElement("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"\u4E0A\u4F20\u89C6\u9891"),b.createElement("label",{className:`${E.upload} ${E.uploadLink}`,onClick:()=>Tt(!0)},b.createElement("i",{className:"iconfont icon-lianjie1 mr5"}),"\u6DFB\u52A0\u5916\u94FE")),ct&&b.createElement(we.default,{className:"mt5",placeholder:"\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",value:st,onChange:kn=>Lt(kn.target.value)}))},[Se,Be]=(0,b.useState)([]),Qe=ot=>{if(ot.key=="Enter"){const at=Ze.getFieldValue("tag");if(Ze.setFieldsValue({tag:""}),!at){de.ZP.info("\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A");return}if(Se.filter(Mt=>Mt===at).length>0){de.ZP.info("\u5DF2\u6709\u76F8\u540C\u540D\u79F0\u6807\u7B7E");return}Se.push(at),Be([...Se])}},it=(ot,at)=>{ot.preventDefault(),Be([...Se.filter(Mt=>Mt!=at)])};return b.createElement(ve.default,{centered:!0,maskClosable:!1,destroyOnClose:!0,title:He?"\u7F16\u8F91\u89C6\u9891\u9879\u76EE":"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",width:740,className:E.modal,open:Je,confirmLoading:xt,onOk:pe,onCancel:me},b.createElement(Ae.default,{form:Ze},b.createElement("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:ke,accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"}),b.createElement(Ae.default.Item,{label:"\u9879\u76EE\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"}]},b.createElement(we.default,{maxLength:40,placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"})),b.createElement(Ae.default.Item,{label:"\u9879\u76EE\u5185\u5BB9",name:"content",className:E.contentItem},Le()),b.createElement(Ae.default.Item,{name:"attachment_id",label:"\u4E0A\u4F20\u5C01\u9762\u56FE:"},b.createElement(ne.Z,{getFileProgress:ot=>{if(ot.file.status==="uploading"){wt(!0);return}ot.file.status==="done"&&wt(!1)}})),b.createElement(Ae.default.Item,{label:"\u9879\u76EE\u7B80\u4ECB",name:"description",className:"ml8"},b.createElement(ye,{rows:5,maxLength:800,placeholder:"\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"})),b.createElement(Ae.default.Item,{className:"ml8",name:"tag_discipline_ids",label:"\u77E5\u8BC6\u70B9:"},b.createElement("div",{className:E.zhishidian,onClick:()=>{Ye({type:"account/setActionTabs",payload:{key:"\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9"}})}},"\u9009\u62E9\u77E5\u8BC6\u70B9")),(je==null?void 0:je.length)>0&&b.createElement("div",{className:E.tags_list},je==null?void 0:je.map((ot,at)=>b.createElement("div",{key:at,className:E.tag_item},b.createElement("div",null,ot==null?void 0:ot.name),b.createElement("i",{className:`iconfont icon-guanbi11 ml10 ${E.tag_icon}`,onClick:()=>{ue([...je.filter(Mt=>(Mt==null?void 0:Mt.id)!=(ot==null?void 0:ot.id))])}})))),b.createElement(Ae.default.Item,{label:"\u64AD\u653E\u8BBE\u7F6E",name:"allow_skip",valuePropName:"checked",className:"ml8",initialValue:!0},b.createElement(se.default,null,"\u5141\u8BB8\u5FEB\u8FDB\u64AD\u653E")),b.createElement("div",{className:E["tagsList-content"]},Se.map((ot,at)=>b.createElement(fe.default,{key:at+ot,closable:!0,onClose:Mt=>{it(Mt,ot)}},ot))),b.createElement("div",{className:"c-grey-999"},b.createElement("div",null,"\u6CE8\u610F\uFF1A"),b.createElement("div",null,"1\u3001\u4E0A\u4F20\u89C6\u9891\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",b.createElement(oe.Link,{to:`/users/${(Ot=Ke.userInfo)==null?void 0:Ot.login}/videos/protocol`,target:"_blank",className:E.colorBlue},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B"),b.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7",yt,"G\uFF1B"),b.createElement("div",null,"3\u3001\u652F\u6301\u6587\u4EF6\u683C\u5F0F\uFF1Aavi\u3001flv\u3001f4v\u3001m4v\u3001mov\u3001mp4\u3001rmvb\u3001swf\u3001webm\u3001wmv\uFF1B"),b.createElement("div",null,"4\u3001\u5982\u679C\u89C6\u9891\u6765\u81EA\u4E8E\u5916\u90E8\u94FE\u63A5\uFF0C\u672C\u7F51\u7AD9\u4E0D\u63D0\u4F9B\u64AD\u653E\u9875\u9762\uFF0C\u65E0\u6CD5\u63D0\u4F9B\u7EDF\u8BA1\u6570\u636E\u3002"))),b.createElement(Ce.Z,{knowledgeList:je,setKnowledgeList:ue}))};var Oe=(0,oe.connect)(({user:Ke,loading:We,globalSetting:Ne})=>({user:Ke,globalSetting:Ne,loading:We}))(_e)},54604:function(_n,pn,ae){"use strict";ae.d(pn,{o:function(){return fe}});var b=ae(49317),oe=ae(93125),we=ae.n(oe);let Ae="",de,ve="";function re(E){se(E)}function se(E){de=new(we()).Vod({timeout:6e4,partSize:1048576,parallel:5,retryCount:3,retryDuration:2,region:"ap-southeast-1",userId:0x6803cbd867207,enableUploadProgress:!1,addFileSuccess:function(te){console.log("addFileSuccess: "+te.file.name),E.addFileSuccess&&E.addFileSuccess(te),de.startUpload()},onUploadstarted:function(te){const ne=te.file.name;if(te.videoId){var Ce=`/api/users/${Ae}/video_auths.json`;(0,b.ZP)(Ce,{method:"put",body:{video_id:te.videoId,title:ne,file_name:ne,virtual_classroom_id:ve}}).then(be=>{if(be.status==-1){E.onUploadError&&E.onUploadError(te);return}const le=be.data;var Ee=le.UploadAuth,Pe=le.UploadAddress,Ie=le.VideoId;de.setUploadAuthAndAddress(te,Ee,Pe)}).catch(be=>{de.deleteFile(de._curIndex),de.nextUpload(),console.log(be)})}else{var ge=`/api/users/${Ae}/video_auths.json`;const be="";(0,b.ZP)(ge,{method:"Post",body:{title:be+ne,file_name:be+ne,virtual_classroom_id:ve}}).then(le=>{if(le){const Re=le.data;var Ee=Re.UploadAuth,Pe=Re.UploadAddress,Ie=Re.VideoId;de.setUploadAuthAndAddress(te,Ee,Pe,Ie)}}).catch(le=>{de.deleteFile(de._curIndex),de.nextUpload(),console.log(le)}),console.log("\u6587\u4EF6\u5F00\u59CB\u4E0A\u4F20...")}},onUploadSucceed:function(te){E.onUploadSucceed&&E.onUploadSucceed(te),console.log("\u6587\u4EF6\u4E0A\u4F20\u6210\u529F!")},onUploadFailed:function(te,ne,ge){E.onUploadFailed&&E.onUploadFailed(te),console.log("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25!")},onUploadCanceled:function(te,ne,ge){console.log("\u6587\u4EF6\u4E0A\u4F20\u5DF2\u6682\u505C!")},onUploadProgress:function(te,ne,ge){E.onUploadProgress&&E.onUploadProgress(te,ne,ge);var Ce=Math.ceil(ge*100);console.log("\u6587\u4EF6\u4E0A\u4F20\u4E2D...")},onUploadTokenExpired:function(te){console.log("\u6587\u4EF6\u4E0A\u4F20\u8D85\u65F6!");var ne=`/api/users/${Ae}/video_auths.json`;(0,b.ZP)(ne,{method:"put",body:{video_id:te.videoId}}).then(ge=>{var be=ge.data.UploadAuth;de.resumeUploadWithAuth(be)}).catch(ge=>{console.log(ge)})},onUploadEnd:function(te){E.onUploadEnd&&E.onUploadEnd(te),console.log("onUploadEnd: uploaded all the files")}}),E.gotUploader&&E.gotUploader(de)}function fe(E,te,ne){E&&(Ae=E),te&&(ve=te),re(ne)}},20047:function(_n,pn,ae){"use strict";ae.d(pn,{AL:function(){return Me},Iy:function(){return te},Qv:function(){return Ce},ez:function(){return Re},jb:function(){return ne}});var b=ae(32834),oe=ae.n(b),we=ae(11690),Ae=ae.n(we);let de=1;function ve(Oe,Ke){const We=Oe.match(/^(\s+)(?:```)/);if(We===null)return Ke;const Ne=We[1];return Ke.split(`
`).map(Ye=>{const Je=Ye.match(/^\s+/);if(Je===null)return Ye;const[He]=Je;return He.length>=Ne.length?Ye.slice(Ne.length):Ye}).join(`
`)}let re=[],se=["<ul>"];const fe=new(oe()).Renderer,E=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function te(){re.length=0,se=["<ul>"]}const ne={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function ge(Oe,Ke,We,Ne){if(Ke>=Oe.length||Oe[Ke].level<=We)return Ke;var Ye=Oe[Ke];Ne.push("<li><a href='#"+de+Ye.anchor+"'>"+Ye.text+"</a>"),Ke++;var Je=[];return Ke=ge(Oe,Ke,Ye.level,Je),Je.length>0&&(Ne.push("<ul>"),Je.forEach(function(He){Ne.push(He)}),Ne.push("</ul>")),Ne.push("</li>"),Ke=ge(Oe,Ke,We,Ne),Ke}function Ce(){return ge(re,0,0,se),se.push("</ul>"),se.join("")}const be={heading(Oe){const Ke=E.exec(Oe);if(de+=1,Ke)return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:Ke[2]}},fences(Oe){const Ke=this.rules.block.fences.exec(Oe);if(Ke){const We=Ke[0];let Ne=ve(We,Ke[3]||"");const Ye=Ke[2]?Ke[2].trim():Ke[2];if(["latex","katex","math"].indexOf(Ye)>=0){const Je=Pe(),He=Ne;Ne=Je,Ie[Je]={type:"block",expression:He}}return{type:"code",raw:We,lang:Ye,text:Ne}}}},le=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Ee=0;const Pe=()=>`__special_katext_id_${Ee++}__`;let Ie={};function Re(){return Ie}function Me(){Ee=0,Ie={}}function ye(Oe){return Oe=Oe.replace(le,(Ke,We)=>{const Ne=Pe();return Ie[Ne]={type:"inline",expression:We},Ne}),Oe}const Te=fe.listitem;fe.listitem=function(Oe){return Te(ye(Oe))};const Fe=fe.paragraph;fe.paragraph=function(Oe){return Fe(ye(Oe))};const _e=fe.tablecell;fe.tablecell=function(Oe,Ke){return _e(ye(Oe),Ke)},fe.code=function(Oe,Ke,We){const Ne=(Ke||"").match(/\S*/)[0];return Ne?["latex","katex","math"].indexOf(Ne)>=0?`<p class='editormd-tex'>${Oe}</p>`:`<pre class="prettyprint linenums"><code class="language-${Ke}">${We?Oe:(0,we.escape)(Oe,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(We?Oe:(0,we.escape)(Oe,!0))+"</code></pre>"},fe.heading=function(Oe,Ke,We){let Ne=this.options.headerPrefix+We.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return re.push({anchor:Ne,level:Ke,text:Oe}),"<h"+Ke+' id="'+de+Ne+'">'+Oe+"</h"+Ke+">"},oe().setOptions({silent:!0,gfm:!0,pedantic:!1}),oe().use({tokenizer:be,renderer:fe}),pn.ZP=oe()},24532:function(_n,pn,ae){"use strict";ae.d(pn,{rX:function(){return ye},pW:function(){return Te},gy:function(){return Fe},xY:function(){return Me},O5:function(){return Re},hs:function(){return le},tJ:function(){return Ce},o1:function(){return be},Rd:function(){return Ie}});var b=ae(44283),oe=ae(62957),we=ae(37285),Ae=ae(6767),de=ae(15267),ve=ae(76406),re=ae(87169),se=ae(25510),fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gva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DLbhbPrNF7LxHiTbCvI4WydjIHgCAsAyEBgAQAZCCwAIAOBBQBkILAAgAwEFgCQkcewBioPvlsxAMK2u/gunHPB5OJWjJ+wbeSKs1u3YnHqRT5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",E=ae.p+"static/newqrcode.a8740efb.png",te=ae(32637),ne=ae(59301),ge=(_e,Oe,Ke)=>new Promise((We,Ne)=>{var Ye=lt=>{try{He(Ke.next(lt))}catch(ft){Ne(ft)}},Je=lt=>{try{He(Ke.throw(lt))}catch(ft){Ne(ft)}},He=lt=>lt.done?We(lt.value):Promise.resolve(lt.value).then(Ye,Je);He((Ke=Ke.apply(_e,Oe)).next())});const Ce=(_e,Oe=!1,Ke=!1,We="",Ne=!1)=>!!(be(_e)&&Ee(_e,Oe,Ke,We,Ne)),be=_e=>(0,de.bg)()?!0:(_e({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),le=_e=>{var Oe,Ke,We;const{user:Ne}=(0,b.getDvaApp)()._store.getState();(0,de.bg)()&&!((Ke=(Oe=Ne==null?void 0:Ne.userInfo)==null?void 0:Oe.course)!=null&&Ke.course_public)&&!((We=Ne==null?void 0:Ne.userInfo)!=null&&We.profile_completed)&&_e({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},Ee=(_e,Oe=!1,Ke=!0,We="",Ne=!1)=>{var Ye;const{user:Je}=(0,b.getDvaApp)()._store.getState();return(Ye=Je.userInfo)!=null&&Ye.profile_completed?!0:(Ke?_e({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:We,isCurrentPage:Ne}}):oe.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ve.xg)("/account/profile/edit"),Pe()}}),!1)},Pe=()=>{oe.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},Ie=()=>{oe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ne.createElement("div",{style:{textAlign:"center"}},ne.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),ne.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:te}),ne.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Re=()=>{var _e;const{user:Oe}=(0,b.getDvaApp)()._store.getState();return(_e=Oe.userInfo)!=null&&_e.professional_certification?!0:(oe.default.confirm({title:"\u63D0\u793A",centered:!0,content:ne.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ve.xg)("/account/certification")}}),!1)},Me=()=>(0,de.V9)()?!0:(oe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc",style:{marginLeft:-38}},ne.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ne.createElement("img",{src:E,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ye=(_e,Oe)=>_e?!0:(oe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ne.createElement("div",null,ne.createElement("p",null,Oe||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),ne.createElement("div",{style:{marginLeft:"110px"}},ne.createElement("img",{src:fe,width:200}),ne.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ve.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Te=_e=>{oe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ne.createElement("div",null,ne.createElement("div",null,ne.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),ne.createElement(we.Z,null),ne.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ne.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",ne.createElement("a",null,_e),"\u5929\u3002"),ne.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ne.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),ne.createElement("div",{style:{textAlign:"center",marginTop:30}},ne.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Fe=(_e,Oe="")=>{const{shixunsDetail:{detail:Ke}}=(0,b.getDvaApp)()._store.getState();if((Ke==null?void 0:Ke.public)===2||(Ke==null?void 0:Ke.public)===1||(Ke==null?void 0:Ke.shixun_status)===3){let We="";return(Ke==null?void 0:Ke.public)===2&&(We="\u5DF2\u516C\u5F00"),(Ke==null?void 0:Ke.public)===1&&(We="\u5F85\u5BA1\u6838"),(Ke==null?void 0:Ke.shixun_status)===3&&(We="\u5DF2\u5173\u95ED"),oe.default.info({centered:!0,icon:ne.createElement(re.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc",style:{marginLeft:-38}},ne.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ne.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",We,"\uFF0C",Oe,"\u3002"),ne.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ne.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ke==null?void 0:Ke.shixun_status)===2?(oe.default.confirm({centered:!0,icon:ne.createElement(re.Z,null),title:"\u63D0\u793A",content:ne.createElement("div",null,ne.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Oe,"\u3002"),ne.createElement("br",null),ne.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{oe.default.confirm({width:440,centered:!0,icon:ne.createElement(re.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>ge(void 0,null,function*(){(yield _e({type:"shixunsDetail/cancelRelease",payload:{id:Ke==null?void 0:Ke.identifier}})).status!==401&&(Ae.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),_e({type:"shixunsDetail/getShixunsDetail",payload:{id:Ke==null?void 0:Ke.identifier}}),_e({type:"practiceSetting/getCommonData",payload:{id:Ke==null?void 0:Ke.identifier}}))})})}}),!0):!1}},93125:function(_n,pn,ae){(function(b){if(1)window.OSS=b(),_n.exports=b();else var oe})(function(){var b;return function(){function oe(we,Ae,de){function ve(fe,E){if(!Ae[fe]){if(!we[fe]){var te=void 0;if(!E&&te)return require(fe,!0);if(re)return re(fe,!0);var ne=new Error("Cannot find module '"+fe+"'");throw ne.code="MODULE_NOT_FOUND",ne}var ge=Ae[fe]={exports:{}};we[fe][0].call(ge.exports,function(Ce){return ve(we[fe][1][Ce]||Ce)},ge,ge.exports,oe,we,Ae,de)}return Ae[fe].exports}for(var re=void 0,se=0;se<de.length;se++)ve(de[se]);return ve}return oe}()({1:[function(oe,we,Ae){"use strict";var de=oe("./browser/client");de.Buffer=oe("buffer").Buffer,de.co=oe("co"),de.urllib=oe("../shims/xhr"),de.version=oe("./browser/version").version,we.exports=de},{"../shims/xhr":244,"./browser/client":2,"./browser/version":5,buffer:38,co:41}],2:[function(oe,we,Ae){(function(de,ve){"use strict";function re(Ze){return Ze&&Ze.__esModule?Ze:{default:Ze}}function se(Ze,Ge){return Ze[Ge]||Ze[Ge.toLowerCase()]}function fe(Ze,Ge){var $e=Oe.parse(Ze);if(!$e.protocol){var qe=Ge?"https://":"http://";$e=Oe.parse(qe+Ze)}if($e.protocol!=="http:"&&$e.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return $e}function E(Ze,Ge,$e){var qe=$e?"https://":"http://",Ve=Ge?"-internal.aliyuncs.com":".aliyuncs.com";return Ze.substr(0,14)==="vpc100-oss-cn-"&&(Ve=".aliyuncs.com"),Oe.parse(qe+Ze+Ve)}function te(){return document&&document.location&&document.location.protocol==="https:"}function ne(Ze,Ge){if(!(this instanceof ne))return new ne(Ze,Ge);Ze&&Ze.inited?this.options=Ze:this.options=ne.initOptions(Ze),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=Ye,this.agent=this.options.agent||Ot),this.ctx=Ge,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}var ge=oe("babel-runtime/regenerator"),Ce=re(ge),be=oe("babel-runtime/core-js/object/keys"),le=re(be),Ee=oe("debug")("ali-oss"),Pe=oe("./../../shims/crypto/crypto.js"),Ie=oe("path"),Re=oe("copy-to"),Me=oe("mime"),ye=oe("xml2js"),Te=oe("humanize-ms"),Fe=oe("agentkeepalive"),_e=oe("merge-descriptors"),Oe=oe("url"),Ke=oe("is-type-of"),We=oe("platform"),Ne=oe("utility"),Ye=oe("urllib"),Je=oe("./version"),He=oe("dateformat"),lt=oe("bowser"),ft=oe("../common/signUtils"),tt=oe("../common/utils"),Ot=new Fe;we.exports=ne,ne.initOptions=function(Ze){if(!Ze||!Ze.accessKeyId||!Ze.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");var Ge=te(),$e={region:"oss-cn-hangzhou",internal:!1,secure:Ge,bucket:null,endpoint:null,cname:!1};if((0,le.default)(Ze).forEach(function(qe){Ze[qe]!==void 0&&($e[qe]=Ze[qe])}),$e.accessKeyId=$e.accessKeyId.trim(),$e.accessKeySecret=$e.accessKeySecret.trim(),$e.timeout&&($e.timeout=Te($e.timeout)),$e.endpoint)$e.endpoint=fe($e.endpoint,$e.secure);else{if(!$e.region)throw new Error("require options.endpoint or options.region");$e.endpoint=E($e.region,$e.internal,$e.secure)}return $e.inited=!0,$e};var nt=ne.prototype;_e(nt,oe("./object")),_e(nt,oe("./managed_upload")),_e(nt,oe("../common/multipart")),_e(nt,oe("../common/thunkpool.js")),ne.Wrapper=oe("./wrapper"),nt.signature=function(Ze){return Ee("authorization stringToSign: %s",Ze),ft.computeSignature(this.options.accessKeySecret,Ze)},nt.authorization=function(Ze,Ge,$e,qe){var Ve=ft.buildCanonicalString(Ze.toUpperCase(),Ge,{headers:qe,parameters:$e});return ft.authorization(this.options.accessKeyId,this.options.accessKeySecret,Ve)},nt.createRequest=function(Ze){var Ge={"x-oss-date":He(+new Date+this.options.amendTimeSkewed,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.options.stsToken&&(Ge["x-oss-security-token"]=this.options.stsToken),Re(Ze.headers).to(Ge),se(Ge,"Content-Type")||(Ze.mime===Me.default_type&&(Ze.mime=""),Ze.mime&&Ze.mime.indexOf("/")>0?Ge["Content-Type"]=Ze.mime:Ge["Content-Type"]=Me.getType(Ze.mime||Ie.extname(Ze.object||""))||"application/octet-stream"),Ze.content&&(Ge["Content-Md5"]=Pe.createHash("md5").update(new ve(Ze.content,"utf8")).digest("base64"),Ge["Content-Length"]||(Ge["Content-Length"]=Ze.content.length));var $e=this._getResource(Ze);Ge.authorization=this.authorization(Ze.method,$e,Ze.subres,Ge);var qe=this._getReqUrl(Ze);Ee("request %s %s, with headers %j, !!stream: %s",Ze.method,qe,Ge,!!Ze.stream);var Ve=Ze.timeout||this.options.timeout;return{url:qe,params:{agent:this.agent,method:Ze.method,content:Ze.content,stream:Ze.stream,headers:Ge,timeout:Ve,writeStream:Ze.writeStream,customResponse:Ze.customResponse,ctx:Ze.ctx||this.ctx}}},nt.request=Ce.default.mark(function Ze(Ge){var $e,qe,Ve,mt;return Ce.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:return $e=this.createRequest(Ge),qe=void 0,Ve=void 0,st.prev=3,st.next=6,this.urllib.request($e.url,$e.params);case 6:qe=st.sent,Ee("response %s %s, got %s, headers: %j",Ge.method,$e.url,qe.status,qe.headers),st.next=13;break;case 10:st.prev=10,st.t0=st.catch(3),Ve=st.t0;case 13:if(mt=void 0,!qe||!Ge.successStatuses||Ge.successStatuses.indexOf(qe.status)!==-1){st.next=26;break}return st.next=17,this.requestError(qe);case 17:if(mt=st.sent,mt.code!=="RequestTimeTooSkewed"){st.next=23;break}return this.options.amendTimeSkewed=+new Date(mt.serverTime)-new Date,st.next=22,this.request(Ge);case 22:return st.abrupt("return",st.sent);case 23:mt.params=Ge,st.next=30;break;case 26:if(!Ve){st.next=30;break}return st.next=29,this.requestError(Ve);case 29:mt=st.sent;case 30:if(!mt){st.next=32;break}throw mt;case 32:if(!Ge.xmlResponse){st.next=36;break}return st.next=35,this.parseXML(qe.data);case 35:qe.data=st.sent;case 36:return st.abrupt("return",qe);case 37:case"end":return st.stop()}},Ze,this,[[3,10]])}),nt._getResource=function(Ze){var Ge="/";return Ze.bucket&&(Ge+=Ze.bucket+"/"),Ze.object&&(Ge+=Ze.object),Ge},nt._isIP=function(Ze){return tt._isIP(Ze)},nt._escape=function(Ze){return Ne.encodeURIComponent(Ze).replace(/%2F/g,"/")},nt._getReqUrl=function(Ze){var Ge={};Re(this.options.endpoint).to(Ge);var $e=this._isIP(Ge.hostname),qe=this.options.cname;!Ze.bucket||qe||$e||(Ge.host=Ze.bucket+"."+Ge.host);var Ve="/";Ze.bucket&&$e&&(Ve+=Ze.bucket+"/"),Ze.object&&(Ve+=this._escape(Ze.object).replace(/\+/g,"%2B")),Ge.pathname=Ve;var mt={};if(Ze.query&&_e(mt,Ze.query),Ze.subres){var st={};Ke.string(Ze.subres)?st[Ze.subres]="":Ke.array(Ze.subres)?Ze.subres.forEach(function(Lt){st[Lt]=""}):st=Ze.subres,_e(mt,st)}return Ge.query=mt,Oe.format(Ge)},nt._getUserAgent=function(){var Ze=de&&de.browser?"js":"nodejs",Ge="aliyun-sdk-"+Ze+"/"+Je.version,$e=We.description;return!$e&&de&&($e="Node.js "+de.version.slice(1)+" on "+de.platform+" "+de.arch),this._checkUserAgent(Ge+" "+$e)},nt._checkUserAgent=function(Ze){return Ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},nt.checkBrowserAndVersion=function(Ze,Ge){return lt.name===Ze&&lt.version.split(".")[0]===Ge},nt.parseXML=function(Ze){return function(Ge){ve.isBuffer(Ze)&&(Ze=Ze.toString()),ye.parseString(Ze,{explicitRoot:!1,explicitArray:!1},Ge)}},nt.requestError=Ce.default.mark(function Ze(Ge){var $e,qe,Ve,mt;return Ce.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if($e=null,Ge.data&&Ge.data.length){st.next=5;break}Ge.status===-1||Ge.status===-2?($e=new Error(Ge.message),$e.name=Ge.name,$e.status=Ge.status,$e.code=Ge.name):(Ge.status===404?($e=new Error("Object not exists"),$e.name="NoSuchKeyError",$e.status=404,$e.code="NoSuchKey"):Ge.status===412?($e=new Error("Pre condition failed"),$e.name="PreconditionFailedError",$e.status=412,$e.code="PreconditionFailed"):($e=new Error("Unknow error, status: "+Ge.status),$e.name="UnknowError",$e.status=Ge.status),$e.requestId=Ge.headers["x-oss-request-id"],$e.host=""),st.next=30;break;case 5:return qe=String(Ge.data),Ee("request response error data: %s",qe),Ve=void 0,st.prev=8,st.next=11,this.parseXML(qe)||{};case 11:Ve=st.sent,st.next=21;break;case 14:return st.prev=14,st.t0=st.catch(8),Ee(qe),st.t0.message+=`
raw xml: `+qe,st.t0.status=Ge.status,st.t0.requestId=Ge.headers["x-oss-request-id"],st.abrupt("return",st.t0);case 21:mt=Ve.Message||"unknow request error, status: "+Ge.status,Ve.Condition&&(mt+=" (condition: "+Ve.Condition+")"),$e=new Error(mt),$e.name=Ve.Code?Ve.Code+"Error":"UnknowError",$e.status=Ge.status,$e.code=Ve.Code,$e.requestId=Ve.RequestId,$e.hostId=Ve.HostId,$e.serverTime=Ve.ServerTime;case 30:return Ee("generate error %j",$e),st.abrupt("return",$e);case 32:case"end":return st.stop()}},Ze,this,[[8,14]])})}).call(this,oe("_process"),oe("buffer").Buffer)},{"../common/multipart":8,"../common/signUtils":9,"../common/thunkpool.js":10,"../common/utils":11,"./../../shims/crypto/crypto.js":237,"./managed_upload":3,"./object":4,"./version":5,"./wrapper":6,_process:173,agentkeepalive:12,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,bowser:35,buffer:38,"copy-to":43,dateformat:154,debug:155,"humanize-ms":160,"is-type-of":165,"merge-descriptors":168,mime:242,path:170,platform:171,url:203,urllib:244,utility:243,xml2js:213}],3:[function(oe,we,Ae){(function(de){"use strict";function ve(Re){return Re&&Re.__esModule?Re:{default:Re}}function re(Re,Me){if(!(this instanceof re))return new re(Re,Me);Ie.call(this,Me),this.file=Re,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}var se=oe("babel-runtime/core-js/array/from"),fe=ve(se),E=oe("babel-runtime/regenerator"),te=ve(E),ne=oe("is-type-of"),ge=oe("util"),Ce=oe("path"),be=oe("mime"),le=oe("copy-to"),Ee=Ae;Ee.multipartUpload=te.default.mark(function Re(Me,ye,Te){var Fe,_e,Oe,Ke,We,Ne,Ye,Je,He;return te.default.wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:if(this.resetCancelFlag(),Te=Te||{},!Te.checkpoint||!Te.checkpoint.uploadId){lt.next=6;break}return lt.next=5,this._resumeMultipart(Te.checkpoint,Te);case 5:return lt.abrupt("return",lt.sent);case 6:return Fe=102400,Te.mime||(ne.file(ye)?Te.mime=be.getType(Ce.extname(ye.name)):ne.blob(ye)?Te.mime=ye.type:Te.mime=be.getType(Ce.extname(ye))),Te.headers=Te.headers||{},this._convertMetaToHeaders(Te.meta,Te.headers),lt.next=12,this._getFileSize(ye);case 12:if(!((_e=lt.sent)<Fe)){lt.next=25;break}return Oe=this._createStream(ye,0,_e),Te.contentLength=_e,lt.next=18,this.putStream(Me,Oe,Te);case 18:if(Ke=lt.sent,!Te||!Te.progress){lt.next=22;break}return lt.next=22,Te.progress(1);case 22:return We={res:Ke.res,bucket:this.options.bucket,name:Me,etag:Ke.res.headers.etag},(Te.headers&&Te.headers["x-oss-callback"]||Te.callback)&&(We.data=Ke.data),lt.abrupt("return",We);case 25:if(!(Te.partSize&&Te.partSize<Fe)){lt.next=27;break}throw new Error("partSize must not be smaller than "+Fe);case 27:return lt.next=29,this.initMultipartUpload(Me,Te);case 29:if(Ne=lt.sent,Ye=Ne.uploadId,Je=this._getPartSize(_e,Te.partSize),He={file:ye,name:Me,fileSize:_e,partSize:Je,uploadId:Ye,doneParts:[]},!Te||!Te.progress){lt.next=36;break}return lt.next=36,Te.progress(0,He,Ne.res);case 36:return lt.next=38,this._resumeMultipart(He,Te);case 38:return lt.abrupt("return",lt.sent);case 39:case"end":return lt.stop()}},Re,this)}),Ee._resumeMultipart=te.default.mark(function Re(Me,ye){var Te,Fe,_e,Oe,Ke,We,Ne,Ye,Je,He,lt,ft,tt,Ot,nt,Ze,Ge,$e,qe,Ve,mt;return te.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if(!this.isCancel()){st.next=2;break}throw this._makeCancelEvent();case 2:if(Te=Me.file,Fe=Me.fileSize,_e=Me.partSize,Oe=Me.uploadId,Ke=Me.doneParts,We=Me.name,Ne=[],Ke.length>0&&le(Ke).to(Ne),Ye=this._divideParts(Fe,_e),Je=Ye.length,He=!1,lt=te.default.mark(function Lt(ct,Tt){var xt,wt,yt;return te.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(ct.isCancel()){je.next=21;break}return je.prev=1,xt=Ye[Tt-1],wt={stream:ct._createStream(Te,xt.start,xt.end),size:xt.end-xt.start},je.next=6,ct._uploadPart(We,Oe,Tt,wt);case 6:if(yt=je.sent,ct.isCancel()||He){je.next=13;break}if(Me.doneParts.push({number:Tt,etag:yt.res.headers.etag}),Ne.push({number:Tt,etag:yt.res.headers.etag}),!ye||!ye.progress){je.next=13;break}return je.next=13,ye.progress(Ke.length/Je,Me,yt.res);case 13:je.next=21;break;case 15:if(je.prev=15,je.t0=je.catch(1),ct.isCancel()){je.next=21;break}throw ct.cancel(),je.t0.partNum=Tt,je.t0;case 21:case"end":return je.stop()}},Lt,this,[[1,15]])}),ft=(0,fe.default)(new Array(Je),function(Lt,ct){return ct+1}),tt=Ne.map(function(Lt){return Lt.number}),Ot=ft.filter(function(Lt){return tt.indexOf(Lt)<0}),nt=5,Ze=ye.parallel||nt,!this.checkBrowserAndVersion("Internet Explorer","10")&&Ze!==1){st.next=26;break}Ge=0;case 16:if(!(Ge<Ot.length)){st.next=24;break}if(!this.isCancel()){st.next=19;break}throw this._makeCancelEvent();case 19:return st.next=21,lt(this,Ot[Ge]);case 21:Ge++,st.next=16;break;case 24:st.next=40;break;case 26:for($e=[],qe=0;qe<Ot.length;qe++)$e.push(lt(this,Ot[qe]));return st.next=30,this._thunkPool($e,Ze);case 30:if(Ve=st.sent,He=!0,!(Ve&&Ve.length>0)){st.next=37;break}throw this.resetCancelFlag(),mt=Ve[0],mt.message="Failed to upload some parts with error: "+mt.toString()+" part_num: "+mt.partNum,mt;case 37:if(!this.isCancel()){st.next=40;break}throw $e=null,this._makeCancelEvent();case 40:return st.next=42,this.completeMultipartUpload(We,Oe,Ne,ye);case 42:return st.abrupt("return",st.sent);case 43:case"end":return st.stop()}},Re,this)}),ne.file=function(Re){return typeof File!="undefined"&&Re instanceof File},ne.blob=function(Re){return typeof Blob!="undefined"&&Re instanceof Blob},Ee._getFileSize=te.default.mark(function Re(Me){var ye;return te.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(!ne.buffer(Me)){Te.next=4;break}return Te.abrupt("return",Me.length);case 4:if(!ne.blob(Me)&&!ne.file(Me)){Te.next=6;break}return Te.abrupt("return",Me.size);case 6:if(!ne.string(Me)){Te.next=11;break}return Te.next=9,this._statFile(Me);case 9:return ye=Te.sent,Te.abrupt("return",ye.size);case 11:throw new Error("_getFileSize requires Buffer/File/String.");case 12:case"end":return Te.stop()}},Re,this)});var Pe=oe("stream"),Ie=Pe.Readable;ge.inherits(re,Ie),re.prototype.readFileAndPush=function(Re){if(this.fileBuffer)for(var Me=!0;Me&&this.fileBuffer&&this.start<this.fileBuffer.length;){var ye=this.start,Te=ye+Re;Te=Te>this.fileBuffer.length?this.fileBuffer.length:Te,this.start=Te,Me=this.push(this.fileBuffer.slice(ye,Te))}},re.prototype._read=function(Re){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file)return this.finish||(this.fileBuffer=null,this.finish=!0),void this.push(null);Re=Re||16384;var Me=this;this.reader.onload=function(ye){Me.fileBuffer=new de(new Uint8Array(ye.target.result)),Me.file=null,Me.readFileAndPush(Re)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Re)},Ee._createStream=function(Re,Me,ye){if(ne.blob(Re)||ne.file(Re))return new re(Re.slice(Me,ye));throw new Error("_createStream requires File/String.")},Ee._getPartSize=function(Re,Me){return Me?Math.max(Math.ceil(Re/1e4),Me):1048576},Ee._divideParts=function(Re,Me){for(var ye=Math.ceil(Re/Me),Te=[],Fe=0;Fe<ye;Fe++){var _e=Me*Fe,Oe=Math.min(_e+Me,Re);Te.push({start:_e,end:Oe})}return Te},Ee._makeCancelEvent=function(){return{status:0,name:"cancel"}}}).call(this,oe("buffer").Buffer)},{"babel-runtime/core-js/array/from":16,"babel-runtime/regenerator":33,buffer:38,"copy-to":43,"is-type-of":165,mime:242,path:170,stream:195,util:207}],4:[function(oe,we,Ae){"use strict";function de(Me){return Me&&Me.__esModule?Me:{default:Me}}var ve=oe("babel-runtime/core-js/object/keys"),re=de(ve),se=oe("babel-runtime/regenerator"),fe=de(se),E=oe("debug")("ali-oss:object"),te=oe("utility"),ne=oe("fs"),ge=oe("is-type-of"),Ce=oe("url"),be=oe("copy-to"),le=oe("path"),Ee=oe("mime"),Pe=oe("../common/callback"),Ie=oe("../common/signUtils"),Re=Ae;Re.append=fe.default.mark(function Me(ye,Te,Fe){var _e;return fe.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Fe=Fe||{},Fe.position===void 0&&(Fe.position="0"),Fe.subres={append:"",position:Fe.position},Fe.method="POST",Oe.next=6,this.put(ye,Te,Fe);case 6:return _e=Oe.sent,_e.nextAppendPosition=_e.res.headers["x-oss-next-append-position"],Oe.abrupt("return",_e);case 9:case"end":return Oe.stop()}},Me,this)}),Re.put=fe.default.mark(function Me(ye,Te,Fe){var _e,Oe,Ke,We,Ne,Ye;return fe.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(_e=void 0,Fe=Fe||{},!ge.buffer(Te)){Je.next=6;break}_e=Te,Je.next=18;break;case 6:if(!ge.blob(Te)&&!ge.file(Te)){Je.next=17;break}return Fe.mime||(ge.file(Te)?Fe.mime=Ee.getType(le.extname(Te.name)):Fe.mime=Te.type),Oe=this._createStream(Te,0,Te.size),Je.next=11,this._getFileSize(Te);case 11:return Fe.contentLength=Je.sent,Je.next=14,this.putStream(ye,Oe,Fe);case 14:return Je.abrupt("return",Je.sent);case 17:throw new TypeError("Must provide Buffer/Blob for put.");case 18:return Fe.headers=Fe.headers||{},this._convertMetaToHeaders(Fe.meta,Fe.headers),Ke=Fe.method||"PUT",We=this._objectRequestParams(Ke,ye,Fe),Pe.encodeCallback(We,Fe),We.mime=Fe.mime,We.content=_e,We.successStatuses=[200],Je.next=28,this.request(We);case 28:return Ne=Je.sent,Ye={name:ye,url:this._objectUrl(ye),res:Ne.res},We.headers&&We.headers["x-oss-callback"]&&(Ye.data=JSON.parse(Ne.data.toString())),Je.abrupt("return",Ye);case 32:case"end":return Je.stop()}},Me,this)}),Re.putStream=fe.default.mark(function Me(ye,Te,Fe){var _e,Oe,Ke,We;return fe.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return Fe=Fe||{},Fe.headers=Fe.headers||{},Fe.contentLength?Fe.headers["Content-Length"]=Fe.contentLength:Fe.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(Fe.meta,Fe.headers),_e=Fe.method||"PUT",Oe=this._objectRequestParams(_e,ye,Fe),Pe.encodeCallback(Oe,Fe),Oe.mime=Fe.mime,Oe.stream=Te,Oe.successStatuses=[200],Ne.next=12,this.request(Oe);case 12:return Ke=Ne.sent,We={name:ye,url:this._objectUrl(ye),res:Ke.res},Oe.headers&&Oe.headers["x-oss-callback"]&&(We.data=JSON.parse(Ke.data.toString())),Ne.abrupt("return",We);case 16:case"end":return Ne.stop()}},Me,this)}),Re.head=fe.default.mark(function Me(ye,Te){var Fe,_e,Oe;return fe.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Fe=this._objectRequestParams("HEAD",ye,Te),Fe.successStatuses=[200,304],Ke.next=4,this.request(Fe);case 4:return _e=Ke.sent,Oe={meta:null,res:_e.res,status:_e.status},_e.status===200&&(0,re.default)(_e.headers).forEach(function(We){We.indexOf("x-oss-meta-")===0&&(Oe.meta||(Oe.meta={}),Oe.meta[We.substring(11)]=_e.headers[We])}),Ke.abrupt("return",Oe);case 8:case"end":return Ke.stop()}},Me,this)}),Re.get=fe.default.mark(function Me(ye,Te,Fe){var _e,Oe,Ke,We;return fe.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return _e=null,Oe=!1,ge.writableStream(Te)?_e=Te:ge.string(Te)?(_e=ne.createWriteStream(Te),Oe=!0):Fe=Te,Fe=Fe||{},Fe.process&&(Fe.subres=Fe.subres||{},Fe.subres["x-oss-process"]=Fe.process),Ke=void 0,Ne.prev=6,We=this._objectRequestParams("GET",ye,Fe),We.writeStream=_e,We.successStatuses=[200,206,304],Ne.next=12,this.request(We);case 12:Ke=Ne.sent,Oe&&_e.destroy(),Ne.next=24;break;case 16:if(Ne.prev=16,Ne.t0=Ne.catch(6),!Oe){Ne.next=23;break}return _e.destroy(),E("get error: %s, delete the exists file %s",Ne.t0,Te),Ne.next=23,this._deleteFileSafe(Te);case 23:throw Ne.t0;case 24:return Ne.abrupt("return",{res:Ke.res,content:Ke.data});case 25:case"end":return Ne.stop()}},Me,this,[[6,16]])}),Re.getStream=fe.default.mark(function Me(ye,Te){var Fe,_e;return fe.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Te=Te||{},Fe=this._objectRequestParams("GET",ye,Te),Fe.customResponse=!0,Fe.successStatuses=[200,206,304],Oe.next=6,this.request(Fe);case 6:return _e=Oe.sent,Oe.abrupt("return",{stream:_e.res,res:{status:_e.status,headers:_e.headers}});case 8:case"end":return Oe.stop()}},Me,this)}),Re.delete=fe.default.mark(function Me(ye,Te){var Fe,_e;return fe.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Fe=this._objectRequestParams("DELETE",ye,Te),Fe.successStatuses=[204],Oe.next=4,this.request(Fe);case 4:return _e=Oe.sent,Oe.abrupt("return",{res:_e.res});case 6:case"end":return Oe.stop()}},Me,this)}),Re.deleteMulti=fe.default.mark(function Me(ye,Te){var Fe,_e,Oe,Ke,We,Ne;return fe.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:for(Te=Te||{},Fe=`<?xml version="1.0" encoding="UTF-8"?>
<Delete>
`,Te.quiet?Fe+=` <Quiet>true</Quiet>
`:Fe+=` <Quiet>false</Quiet>
`,_e=0;_e<ye.length;_e++)Fe+=" <Object><Key>"+te.escape(this._objectName(ye[_e]))+`</Key></Object>
`;return Fe+="</Delete>",E("delete multi objects: %s",Fe),Te.subres="delete",Oe=this._objectRequestParams("POST","",Te),Oe.mime="xml",Oe.content=Fe,Oe.xmlResponse=!0,Oe.successStatuses=[200],Ye.next=14,this.request(Oe);case 14:return Ke=Ye.sent,We=Ke.data,Ne=We&&We.Deleted||null,Ne&&(Array.isArray(Ne)||(Ne=[Ne]),Ne=Ne.map(function(Je){return Je.Key})),Ye.abrupt("return",{res:Ke.res,deleted:Ne});case 19:case"end":return Ye.stop()}},Me,this)}),Re.copy=fe.default.mark(function Me(ye,Te,Fe){var _e,Oe,Ke;return fe.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return Fe=Fe||{},Fe.headers=Fe.headers||{},(0,re.default)(Fe.headers).forEach(function(Ne){Fe.headers["x-oss-copy-source-"+Ne.toLowerCase()]=Fe.headers[Ne]}),Fe.meta&&(Fe.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(Fe.meta,Fe.headers),Te=Te[0]!=="/"?"/"+this.options.bucket+"/"+encodeURIComponent(Te):"/"+encodeURIComponent(Te.slice(1)),Fe.headers["x-oss-copy-source"]=Te,_e=this._objectRequestParams("PUT",ye,Fe),_e.xmlResponse=!0,_e.successStatuses=[200,304],We.next=12,this.request(_e);case 12:return Oe=We.sent,Ke=Oe.data,Ke&&(Ke={etag:Ke.ETag,lastModified:Ke.LastModified}),We.abrupt("return",{data:Ke,res:Oe.res});case 16:case"end":return We.stop()}},Me,this)}),Re.putMeta=fe.default.mark(function Me(ye,Te,Fe){return fe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return _e.next=2,this.copy(ye,ye,{meta:Te||{},timeout:Fe&&Fe.timeout,ctx:Fe&&Fe.ctx});case 2:return _e.abrupt("return",_e.sent);case 3:case"end":return _e.stop()}},Me,this)}),Re.list=fe.default.mark(function Me(ye,Te){var Fe,_e,Oe,Ke,We;return fe.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return Fe=this._objectRequestParams("GET","",Te),Fe.query=ye,Fe.xmlResponse=!0,Fe.successStatuses=[200],Ne.next=6,this.request(Fe);case 6:return _e=Ne.sent,Oe=_e.data.Contents,Ke=this,Oe&&(Array.isArray(Oe)||(Oe=[Oe]),Oe=Oe.map(function(Ye){return{name:Ye.Key,url:Ke._objectUrl(Ye.Key),lastModified:Ye.LastModified,etag:Ye.ETag,type:Ye.Type,size:Number(Ye.Size),storageClass:Ye.StorageClass,owner:{id:Ye.Owner.ID,displayName:Ye.Owner.DisplayName}}})),We=_e.data.CommonPrefixes||null,We&&(Array.isArray(We)||(We=[We]),We=We.map(function(Ye){return Ye.Prefix})),Ne.abrupt("return",{res:_e.res,objects:Oe,prefixes:We,nextMarker:_e.data.NextMarker||null,isTruncated:_e.data.IsTruncated==="true"});case 13:case"end":return Ne.stop()}},Me,this)}),Re.putACL=fe.default.mark(function Me(ye,Te,Fe){var _e,Oe;return fe.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Fe=Fe||{},Fe.subres="acl",Fe.headers=Fe.headers||{},Fe.headers["x-oss-object-acl"]=Te,ye=this._objectName(ye),_e=this._objectRequestParams("PUT",ye,Fe),_e.successStatuses=[200],Ke.next=9,this.request(_e);case 9:return Oe=Ke.sent,Ke.abrupt("return",{res:Oe.res});case 11:case"end":return Ke.stop()}},Me,this)}),Re.getACL=fe.default.mark(function Me(ye,Te){var Fe,_e;return fe.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Te=Te||{},Te.subres="acl",ye=this._objectName(ye),Fe=this._objectRequestParams("GET",ye,Te),Fe.successStatuses=[200],Fe.xmlResponse=!0,Oe.next=8,this.request(Fe);case 8:return _e=Oe.sent,Oe.abrupt("return",{acl:_e.data.AccessControlList.Grant,owner:{id:_e.data.Owner.ID,displayName:_e.data.Owner.DisplayName},res:_e.res});case 10:case"end":return Oe.stop()}},Me,this)}),Re.restore=fe.default.mark(function Me(ye,Te){var Fe,_e;return fe.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Te=Te||{},Te.subres="restore",Fe=this._objectRequestParams("POST",ye,Te),Fe.successStatuses=[202],Oe.next=6,this.request(Fe);case 6:return _e=Oe.sent,Oe.abrupt("return",{res:_e.res});case 8:case"end":return Oe.stop()}},Me,this)}),Re.signatureUrl=function(Me,ye){ye=ye||{},Me=this._objectName(Me),ye.method=ye.method||"GET";var Te=te.timestamp()+(ye.expires||1800),Fe={bucket:this.options.bucket,object:Me},_e=this._getResource(Fe);this.options.stsToken&&(ye["security-token"]=this.options.stsToken);var Oe=Ie._signatureForURL(this.options.accessKeySecret,ye,_e,Te),Ke=Ce.parse(this._getReqUrl(Fe));return Ke.query={OSSAccessKeyId:this.options.accessKeyId,Expires:Te,Signature:Oe.Signature},be(Oe.subResource).to(Ke.query),Ke.format()},Re.getObjectUrl=function(Me,ye){return ye?ye[ye.length-1]!=="/"&&(ye+="/"):ye=this.options.endpoint.format(),ye+this._escape(this._objectName(Me))},Re._objectUrl=function(Me){return this._getReqUrl({bucket:this.options.bucket,object:Me})},Re.generateObjectUrl=function(Me,ye){if(ye)ye[ye.length-1]!=="/"&&(ye+="/");else{ye=this.options.endpoint.format();var Te=Ce.parse(ye),Fe=this.options.bucket;Te.hostname=Fe+"."+Te.hostname,Te.host=Fe+"."+Te.host,ye=Te.format()}return ye+this._escape(this._objectName(Me))},Re._objectRequestParams=function(Me,ye,Te){if(!this.options.bucket)throw new Error("Please create a bucket first");Te=Te||{},ye=this._objectName(ye);var Fe={object:ye,bucket:this.options.bucket,method:Me,subres:Te&&Te.subres,timeout:Te&&Te.timeout,ctx:Te&&Te.ctx};return Te.headers&&(Fe.headers={},be(Te.headers).to(Fe.headers)),Fe},Re._objectName=function(Me){return Me.replace(/^\/+/,"")},Re._statFile=function(Me){return function(ye){ne.stat(Me,ye)}},Re._convertMetaToHeaders=function(Me,ye){Me&&(0,re.default)(Me).forEach(function(Te){ye["x-oss-meta-"+Te]=Me[Te]})},Re._deleteFileSafe=function(Me){return function(ye){ne.exists(Me,function(Te){Te?ne.unlink(Me,function(Fe){Fe&&E("unlink %j error: %s",Me,Fe),ye()}):ye()})}}},{"../common/callback":7,"../common/signUtils":9,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,"copy-to":43,debug:155,fs:36,"is-type-of":165,mime:242,path:170,url:203,utility:243}],5:[function(oe,we,Ae){"use strict";Ae.version="5.3.1"},{}],6:[function(oe,we,Ae){"use strict";function de(le){return le&&le.__esModule?le:{default:le}}function ve(le){return le&&typeof le.next=="function"&&typeof le.throw=="function"}function re(le){if(!le)return!1;var Ee=le.constructor;return!!Ee&&(Ee.name==="GeneratorFunction"||Ee.displayName==="GeneratorFunction"||ve(Ee.prototype)||ve(le.prototype))}function se(le,Ee){var Pe=new le(Ee),Ie=(0,ge.default)(Pe),Re=(0,ge.default)((0,te.default)(Pe));Ie.concat(Re).forEach(function(Me){re(Pe[Me])?this[Me]=Ce.wrap(Pe[Me]).bind(Pe):this[Me]=Pe[Me]},this)}function fe(le){if(!(this instanceof fe))return new fe(le);se.call(this,be,le)}var E=oe("babel-runtime/core-js/object/get-prototype-of"),te=de(E),ne=oe("babel-runtime/core-js/object/keys"),ge=de(ne),Ce=oe("co"),be=oe("./client");we.exports=fe,fe.STS=function le(Ee){if(!(this instanceof le))return new le(Ee);se.call(this,be.STS,Ee)}},{"./client":2,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/core-js/object/keys":23,co:41}],7:[function(oe,we,Ae){(function(de){"use strict";function ve(te){return te&&te.__esModule?te:{default:te}}var re=oe("babel-runtime/core-js/object/keys"),se=ve(re),fe=oe("babel-runtime/core-js/json/stringify"),E=ve(fe);Ae.encodeCallback=function(te,ne){if(te.headers=te.headers||{},!Object.prototype.hasOwnProperty.call(te.headers,"x-oss-callback")&&ne.callback){var ge={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};ne.callback.host&&(ge.callbackHost=ne.callback.host),ne.callback.contentType&&(ge.callbackBodyType=ne.callback.contentType);var Ce=new de((0,E.default)(ge)).toString("base64");if(te.headers["x-oss-callback"]=Ce,ne.callback.customValue){var be={};(0,se.default)(ne.callback.customValue).forEach(function(le){be["x:"+le]=ne.callback.customValue[le]}),te.headers["x-oss-callback-var"]=new de((0,E.default)(be)).toString("base64")}}}}).call(this,oe("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38}],8:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/regenerator"),ve=function(E){return E&&E.__esModule?E:{default:E}}(de),re=oe("copy-to"),se=oe("./callback"),fe=Ae;fe.listUploads=ve.default.mark(function E(te,ne){var ge,Ce,be,le;return ve.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return ne=ne||{},ge={},re(ne).to(ge),ge.subres="uploads",Ce=this._objectRequestParams("GET","",ge),Ce.query=te,Ce.xmlResponse=!0,Ce.successStatuses=[200],Ee.next=10,this.request(Ce);case 10:return be=Ee.sent,le=be.data.Upload||[],Array.isArray(le)||(le=[le]),le=le.map(function(Pe){return{name:Pe.Key,uploadId:Pe.UploadId,initiated:Pe.Initiated}}),Ee.abrupt("return",{res:be.res,uploads:le,bucket:be.data.Bucket,nextKeyMarker:be.data.NextKeyMarker,nextUploadIdMarker:be.data.NextUploadIdMarker,isTruncated:be.data.IsTruncated==="true"});case 15:case"end":return Ee.stop()}},E,this)}),fe.listParts=ve.default.mark(function E(te,ne,ge,Ce){var be,le,Ee;return ve.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return Ce=Ce||{},be={},re(Ce).to(be),be.subres={uploadId:ne},le=this._objectRequestParams("GET",te,be),le.query=ge,le.xmlResponse=!0,le.successStatuses=[200],Pe.next=10,this.request(le);case 10:return Ee=Pe.sent,Pe.abrupt("return",{res:Ee.res,uploadId:Ee.data.UploadId,bucket:Ee.data.Bucket,name:Ee.data.Key,partNumberMarker:Ee.data.PartNumberMarker,nextPartNumberMarker:Ee.data.NextPartNumberMarker,maxParts:Ee.data.MaxParts,isTruncated:Ee.data.IsTruncated,parts:Ee.data.Part||[]});case 12:case"end":return Pe.stop()}},E,this)}),fe.abortMultipartUpload=ve.default.mark(function E(te,ne,ge){var Ce,be,le;return ve.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return this.cancel(),ge=ge||{},Ce={},re(ge).to(Ce),Ce.subres={uploadId:ne},be=this._objectRequestParams("DELETE",te,Ce),be.successStatuses=[204],Ee.next=9,this.request(be);case 9:return le=Ee.sent,Ee.abrupt("return",{res:le.res});case 11:case"end":return Ee.stop()}},E,this)}),fe.initMultipartUpload=ve.default.mark(function E(te,ne){var ge,Ce,be;return ve.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return ne=ne||{},ge={},re(ne).to(ge),ge.headers=ge.headers||{},this._convertMetaToHeaders(ne.meta,ge.headers),ge.subres="uploads",Ce=this._objectRequestParams("POST",te,ge),Ce.mime=ne.mime,Ce.xmlResponse=!0,Ce.successStatuses=[200],le.next=12,this.request(Ce);case 12:return be=le.sent,le.abrupt("return",{res:be.res,bucket:be.data.Bucket,name:be.data.Key,uploadId:be.data.UploadId});case 14:case"end":return le.stop()}},E,this)}),fe.uploadPart=ve.default.mark(function E(te,ne,ge,Ce,be,le,Ee){var Pe;return ve.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Pe={stream:this._createStream(Ce,be,le),size:le-be},Ie.next=3,this._uploadPart(te,ne,ge,Pe,Ee);case 3:return Ie.abrupt("return",Ie.sent);case 4:case"end":return Ie.stop()}},E,this)}),fe.completeMultipartUpload=ve.default.mark(function E(te,ne,ge,Ce){var be,le,Ee,Pe,Ie,Re,Me,ye;return ve.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:for(be=ge.concat().sort(function(Fe,_e){return Fe.number-_e.number}).filter(function(Fe,_e,Oe){return!_e||Fe.number!==Oe[_e-1].number}),le=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,Ee=0;Ee<be.length;Ee++)Pe=be[Ee],le+=`<Part>
`,le+="<PartNumber>"+Pe.number+`</PartNumber>
`,le+="<ETag>"+Pe.etag+`</ETag>
`,le+=`</Part>
`;return le+="</CompleteMultipartUpload>",Ce=Ce||{},Ie={},re(Ce).to(Ie),Ie.subres={uploadId:ne},Re=this._objectRequestParams("POST",te,Ie),se.encodeCallback(Re,Ie),Re.mime="xml",Re.content=le,Re.headers&&Re.headers["x-oss-callback"]||(Re.xmlResponse=!0),Re.successStatuses=[200],Te.next=16,this.request(Re);case 16:return Me=Te.sent,ye={res:Me.res,bucket:Re.bucket,name:te,etag:Me.res.headers.etag},Re.headers&&Re.headers["x-oss-callback"]&&(ye.data=JSON.parse(Me.data.toString())),Te.abrupt("return",ye);case 20:case"end":return Te.stop()}},E,this)}),fe._uploadPart=ve.default.mark(function E(te,ne,ge,Ce,be){var le,Ee,Pe;return ve.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return be=be||{},le={},re(be).to(le),le.headers={"Content-Length":Ce.size},le.subres={partNumber:ge,uploadId:ne},Ee=this._objectRequestParams("PUT",te,le),Ee.mime=le.mime,Ee.stream=Ce.stream,Ee.successStatuses=[200],Ie.next=11,this.request(Ee);case 11:return Pe=Ie.sent,Ce.stream=null,Ee.stream=null,Ie.abrupt("return",{name:te,etag:Pe.res.headers.etag,res:Pe.res});case 15:case"end":return Ie.stop()}},E,this)})},{"./callback":7,"babel-runtime/regenerator":33,"copy-to":43}],9:[function(oe,we,Ae){(function(de){"use strict";function ve(ge){return ge&&ge.__esModule?ge:{default:ge}}var re=oe("babel-runtime/core-js/json/stringify"),se=ve(re),fe=oe("babel-runtime/core-js/object/keys"),E=ve(fe),te=oe("./../../shims/crypto/crypto.js"),ne=oe("is-type-of");Ae.buildCanonicalizedResource=function(ge,Ce){var be=""+ge,le="?";if(ne.string(Ce)&&Ce.trim()!=="")be+=le+Ce;else if(ne.array(Ce))Ce.sort(),be+=le+Ce.join("&");else if(Ce){var Ee=function(Ie,Re){return Ie[0]>Re[0]?1:Ie[0]<Re[0]?-1:0},Pe=function(Ie){be+=le+Ie,Ce[Ie]&&(be+="="+Ce[Ie]),le="&"};(0,E.default)(Ce).sort(Ee).forEach(Pe)}return be},Ae.buildCanonicalString=function(ge,Ce,be,le){be=be||{};var Ee=be.headers||{},Pe=[],Ie={},Re=[ge.toUpperCase(),Ee["Content-Md5"]||"",Ee["Content-Type"]||Ee["Content-Type".toLowerCase()],le||Ee["x-oss-date"]];return(0,E.default)(Ee).forEach(function(Me){var ye=Me.toLowerCase();ye.indexOf("x-oss-")===0&&(Ie[ye]=String(Ee[Me]).trim())}),(0,E.default)(Ie).sort().forEach(function(Me){Pe.push(Me+":"+Ie[Me])}),Re=Re.concat(Pe),Re.push(this.buildCanonicalizedResource(Ce,be.parameters)),Re.join(`
`)},Ae.computeSignature=function(ge,Ce){return te.createHmac("sha1",ge).update(new de(Ce,"utf8")).digest("base64")},Ae.authorization=function(ge,Ce,be){return"OSS "+ge+":"+this.computeSignature(Ce,be)},Ae._signatureForURL=function(ge,Ce,be,le){var Ee={},Pe={};if(Ce.process&&(Pe["x-oss-process"]=Ce.process),Ce.response&&(0,E.default)(Ce.response).forEach(function(ye){var Te="response-"+ye.toLowerCase();Pe[Te]=Ce.response[ye]}),(0,E.default)(Ce).forEach(function(ye){var Te=ye.toLowerCase(),Fe=Ce[ye];Te.indexOf("x-oss-")===0?Ee[Te]=Fe:Te.indexOf("content-md5")===0||Te.indexOf("content-type")===0?Ee[ye]=Fe:Te!=="expires"&&Te!=="response"&&Te!=="process"&&Te!=="method"&&(Pe[Te]=Fe)}),Object.prototype.hasOwnProperty.call(Ce,"security-token")&&(Pe["security-token"]=Ce["security-token"]),Object.prototype.hasOwnProperty.call(Ce,"callback")){var Ie={callbackUrl:encodeURI(Ce.callback.url),callbackBody:Ce.callback.body};if(Ce.callback.host&&(Ie.callbackHost=Ce.callback.host),Ce.callback.contentType&&(Ie.callbackBodyType=Ce.callback.contentType),Pe.callback=new de((0,se.default)(Ie)).toString("base64"),Ce.callback.customValue){var Re={};(0,E.default)(Ce.callback.customValue).forEach(function(ye){Re["x:"+ye]=Ce.callback.customValue[ye]}),Pe["callback-var"]=new de((0,se.default)(Re)).toString("base64")}}var Me=this.buildCanonicalString(Ce.method,be,{headers:Ee,parameters:Pe},le.toString());return{Signature:this.computeSignature(ge,Me),subResource:Pe}}}).call(this,oe("buffer").Buffer)},{"./../../shims/crypto/crypto.js":237,"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38,"is-type-of":165}],10:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/regenerator"),ve=function(te){return te&&te.__esModule?te:{default:te}}(de),re=oe("co"),se=oe("co-priority-queue"),fe=oe("any-promise"),E=Ae;E._thunkPool=function(te,ne){function ge(Pe,Ie){++le===Pe.length&&Ie(Ee)}function Ce(Pe,Ie){function Re(){var Oe;return ve.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:Oe=void 0;case 1:if(be.isCancel()){Ke.next=9;break}return Ke.next=4,Te.next();case 4:return Oe=Ke.sent,Ke.next=7,Oe();case 7:Ke.next=1;break;case 9:Fe+=1,Fe===Pe&&(Te.fns=[],Te.buffer=[],Ie(Ee));case 11:case"end":return Ke.stop()}},ye,this)}function Me(Oe){console.error(Oe.stack)}for(var ye=ve.default.mark(Re),Te=new se,Fe=0,_e=0;_e<Pe;_e++)re(Re).catch(Me);return function(Oe,Ke){return function(We){Te.push(ve.default.mark(function Ne(){return ve.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return Ye.prev=0,Ye.t0=We,Ye.next=4,Oe;case 4:Ye.t1=Ye.sent,(0,Ye.t0)(null,Ye.t1),Ye.next=11;break;case 8:Ye.prev=8,Ye.t2=Ye.catch(0),We(Ye.t2);case 11:case"end":return Ye.stop()}},Ne,this,[[0,8]])}),Ke)}}}var be=this,le=0,Ee=[];return new fe(function(Pe){function Ie(Fe){return ve.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return _e.next=2,ye(te[Fe]);case 2:ge(te,Pe);case 3:case"end":return _e.stop()}},Me,this)}function Re(Fe){Ee.push(Fe),ge(te,Pe)}for(var Me=ve.default.mark(Ie),ye=new Ce(ne,Pe),Te=0;Te<te.length;Te++)re(Ie(Te)).catch(Re)})},E.cancel=function(){this.options.cancelFlag=!0},E.isCancel=function(){return this.options.cancelFlag},E.resetCancelFlag=function(){this.options.cancelFlag=!1}},{"any-promise":13,"babel-runtime/regenerator":33,co:41,"co-priority-queue":40}],11:[function(oe,we,Ae){"use strict";Ae._isIP=function(de){var ve=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,re=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return ve.test(de)||re.test(de)}},{}],12:[function(oe,we,Ae){function de(){}we.exports=de,we.exports.HttpsAgent=de},{}],13:[function(oe,we,Ae){we.exports=oe("./register")().Promise},{"./register":15}],14:[function(oe,we,Ae){"use strict";var de=null;we.exports=function(ve,re){return function(se,fe){se=se||null,fe=fe||{};var E=fe.global!==!1;if(de===null&&E&&(de=ve["@@any-promise/REGISTRATION"]||null),de!==null&&se!==null&&de.implementation!==se)throw new Error('any-promise already defined as "'+de.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return de===null&&(de=se!==null&&fe.Promise!==void 0?{Promise:fe.Promise,implementation:se}:re(se),E&&(ve["@@any-promise/REGISTRATION"]=de)),de}}},{}],15:[function(oe,we,Ae){"use strict";function de(){if(window.Promise===void 0)throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}we.exports=oe("./loader")(window,de)},{"./loader":14}],16:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":44}],17:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":45}],18:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":46}],19:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":47}],20:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":48}],21:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":49}],22:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":50}],23:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":51}],24:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":52}],25:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":53}],26:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":54}],27:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":56}],28:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":55}],29:[function(oe,we,Ae){we.exports={default:oe("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":57}],30:[function(oe,we,Ae){"use strict";Ae.__esModule=!0,Ae.default=function(de,ve){if(!(de instanceof ve))throw new TypeError("Cannot call a class as a function")}},{}],31:[function(oe,we,Ae){"use strict";Ae.__esModule=!0;var de=oe("../core-js/object/define-property"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);Ae.default=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),(0,ve.default)(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}()},{"../core-js/object/define-property":20}],32:[function(oe,we,Ae){"use strict";function de(te){return te&&te.__esModule?te:{default:te}}Ae.__esModule=!0;var ve=oe("../core-js/symbol/iterator"),re=de(ve),se=oe("../core-js/symbol"),fe=de(se),E=typeof fe.default=="function"&&typeof re.default=="symbol"?function(te){return typeof te}:function(te){return te&&typeof fe.default=="function"&&te.constructor===fe.default&&te!==fe.default.prototype?"symbol":typeof te};Ae.default=typeof fe.default=="function"&&E(re.default)==="symbol"?function(te){return te===void 0?"undefined":E(te)}:function(te){return te&&typeof fe.default=="function"&&te.constructor===fe.default&&te!==fe.default.prototype?"symbol":te===void 0?"undefined":E(te)}},{"../core-js/symbol":27,"../core-js/symbol/iterator":29}],33:[function(oe,we,Ae){we.exports=oe("regenerator-runtime")},{"regenerator-runtime":191}],34:[function(oe,we,Ae){"use strict";function de(Pe){var Ie=Pe.length;if(Ie%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Re=Pe.indexOf("=");return Re===-1&&(Re=Ie),[Re,Re===Ie?0:4-Re%4]}function ve(Pe){var Ie=de(Pe),Re=Ie[0],Me=Ie[1];return 3*(Re+Me)/4-Me}function re(Pe,Ie,Re){return 3*(Ie+Re)/4-Re}function se(Pe){for(var Ie,Re=de(Pe),Me=Re[0],ye=Re[1],Te=new Ce(re(Pe,Me,ye)),Fe=0,_e=ye>0?Me-4:Me,Oe=0;Oe<_e;Oe+=4)Ie=ge[Pe.charCodeAt(Oe)]<<18|ge[Pe.charCodeAt(Oe+1)]<<12|ge[Pe.charCodeAt(Oe+2)]<<6|ge[Pe.charCodeAt(Oe+3)],Te[Fe++]=Ie>>16&255,Te[Fe++]=Ie>>8&255,Te[Fe++]=255&Ie;return ye===2&&(Ie=ge[Pe.charCodeAt(Oe)]<<2|ge[Pe.charCodeAt(Oe+1)]>>4,Te[Fe++]=255&Ie),ye===1&&(Ie=ge[Pe.charCodeAt(Oe)]<<10|ge[Pe.charCodeAt(Oe+1)]<<4|ge[Pe.charCodeAt(Oe+2)]>>2,Te[Fe++]=Ie>>8&255,Te[Fe++]=255&Ie),Te}function fe(Pe){return ne[Pe>>18&63]+ne[Pe>>12&63]+ne[Pe>>6&63]+ne[63&Pe]}function E(Pe,Ie,Re){for(var Me,ye=[],Te=Ie;Te<Re;Te+=3)Me=(Pe[Te]<<16&16711680)+(Pe[Te+1]<<8&65280)+(255&Pe[Te+2]),ye.push(fe(Me));return ye.join("")}function te(Pe){for(var Ie,Re=Pe.length,Me=Re%3,ye=[],Te=0,Fe=Re-Me;Te<Fe;Te+=16383)ye.push(E(Pe,Te,Te+16383>Fe?Fe:Te+16383));return Me===1?(Ie=Pe[Re-1],ye.push(ne[Ie>>2]+ne[Ie<<4&63]+"==")):Me===2&&(Ie=(Pe[Re-2]<<8)+Pe[Re-1],ye.push(ne[Ie>>10]+ne[Ie>>4&63]+ne[Ie<<2&63]+"=")),ye.join("")}Ae.byteLength=ve,Ae.toByteArray=se,Ae.fromByteArray=te;for(var ne=[],ge=[],Ce=typeof Uint8Array!="undefined"?Uint8Array:Array,be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=0,Ee=be.length;le<Ee;++le)ne[le]=be[le],ge[be.charCodeAt(le)]=le;ge[45]=62,ge[95]=63},{}],35:[function(oe,we,Ae){(function(de,ve,re){we!==void 0&&we.exports?we.exports=re():typeof b=="function"&&b.amd?b("bowser",re):de.bowser=re()})(this,0,function(){function de(ge){function Ce(Ze){var Ge=ge.match(Ze);return Ge&&Ge.length>1&&Ge[1]||""}function be(Ze){var Ge=ge.match(Ze);return Ge&&Ge.length>1&&Ge[2]||""}var le,Ee=Ce(/(ipod|iphone|ipad)/i).toLowerCase(),Pe=/like android/i.test(ge),Ie=!Pe&&/android/i.test(ge),Re=/nexus\s*[0-6]\s*/i.test(ge),Me=!Re&&/nexus\s*[0-9]+/i.test(ge),ye=/CrOS/.test(ge),Te=/silk/i.test(ge),Fe=/sailfish/i.test(ge),_e=/tizen/i.test(ge),Oe=/(web|hpw)os/i.test(ge),Ke=/windows phone/i.test(ge),We=(/SamsungBrowser/i.test(ge),!Ke&&/windows/i.test(ge)),Ne=!Ee&&!Te&&/macintosh/i.test(ge),Ye=!Ie&&!Fe&&!_e&&!Oe&&/linux/i.test(ge),Je=be(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),He=Ce(/version\/(\d+(\.\d+)?)/i),lt=/tablet/i.test(ge)&&!/tablet pc/i.test(ge),ft=!lt&&/[^-]mobi/i.test(ge),tt=/xbox/i.test(ge);/opera/i.test(ge)?le={name:"Opera",opera:te,version:He||Ce(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ge)?le={name:"Opera",opera:te,version:Ce(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||He}:/SamsungBrowser/i.test(ge)?le={name:"Samsung Internet for Android",samsungBrowser:te,version:He||Ce(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(ge)?le={name:"Opera Coast",coast:te,version:He||Ce(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(ge)?le={name:"Yandex Browser",yandexbrowser:te,version:He||Ce(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ge)?le={name:"UC Browser",ucbrowser:te,version:Ce(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ge)?le={name:"Maxthon",maxthon:te,version:Ce(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ge)?le={name:"Epiphany",epiphany:te,version:Ce(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ge)?le={name:"Puffin",puffin:te,version:Ce(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ge)?le={name:"Sleipnir",sleipnir:te,version:Ce(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ge)?le={name:"K-Meleon",kMeleon:te,version:Ce(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Ke?(le={name:"Windows Phone",osname:"Windows Phone",windowsphone:te},Je?(le.msedge=te,le.version=Je):(le.msie=te,le.version=Ce(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ge)?le={name:"Internet Explorer",msie:te,version:Ce(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ye?le={name:"Chrome",osname:"Chrome OS",chromeos:te,chromeBook:te,chrome:te,version:Ce(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ge)?le={name:"Microsoft Edge",msedge:te,version:Je}:/vivaldi/i.test(ge)?le={name:"Vivaldi",vivaldi:te,version:Ce(/vivaldi\/(\d+(\.\d+)?)/i)||He}:Fe?le={name:"Sailfish",osname:"Sailfish OS",sailfish:te,version:Ce(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ge)?le={name:"SeaMonkey",seamonkey:te,version:Ce(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ge)?(le={name:"Firefox",firefox:te,version:Ce(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ge)&&(le.firefoxos=te,le.osname="Firefox OS")):Te?le={name:"Amazon Silk",silk:te,version:Ce(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ge)?le={name:"PhantomJS",phantom:te,version:Ce(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ge)?le={name:"SlimerJS",slimer:te,version:Ce(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ge)||/rim\stablet/i.test(ge)?le={name:"BlackBerry",osname:"BlackBerry OS",blackberry:te,version:He||Ce(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Oe?(le={name:"WebOS",osname:"WebOS",webos:te,version:He||Ce(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ge)&&(le.touchpad=te)):/bada/i.test(ge)?le={name:"Bada",osname:"Bada",bada:te,version:Ce(/dolfin\/(\d+(\.\d+)?)/i)}:_e?le={name:"Tizen",osname:"Tizen",tizen:te,version:Ce(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||He}:/qupzilla/i.test(ge)?le={name:"QupZilla",qupzilla:te,version:Ce(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||He}:/chromium/i.test(ge)?le={name:"Chromium",chromium:te,version:Ce(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||He}:/chrome|crios|crmo/i.test(ge)?le={name:"Chrome",chrome:te,version:Ce(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:Ie?le={name:"Android",version:He}:/safari|applewebkit/i.test(ge)?(le={name:"Safari",safari:te},He&&(le.version=He)):Ee?(le={name:Ee=="iphone"?"iPhone":Ee=="ipad"?"iPad":"iPod"},He&&(le.version=He)):le=/googlebot/i.test(ge)?{name:"Googlebot",googlebot:te,version:Ce(/googlebot\/(\d+(\.\d+))/i)||He}:{name:Ce(/^(.*)\/(.*) /),version:be(/^(.*)\/(.*) /)},!le.msedge&&/(apple)?webkit/i.test(ge)?(/(apple)?webkit\/537\.36/i.test(ge)?(le.name=le.name||"Blink",le.blink=te):(le.name=le.name||"Webkit",le.webkit=te),!le.version&&He&&(le.version=He)):!le.opera&&/gecko\//i.test(ge)&&(le.name=le.name||"Gecko",le.gecko=te,le.version=le.version||Ce(/gecko\/(\d+(\.\d+)?)/i)),le.windowsphone||!Ie&&!le.silk?!le.windowsphone&&Ee?(le[Ee]=te,le.ios=te,le.osname="iOS"):Ne?(le.mac=te,le.osname="macOS"):tt?(le.xbox=te,le.osname="Xbox"):We?(le.windows=te,le.osname="Windows"):Ye&&(le.linux=te,le.osname="Linux"):(le.android=te,le.osname="Android");var Ot="";le.windows?Ot=function(Ze){switch(Ze){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(Ce(/Windows ((NT|XP)( \d\d?.\d)?)/i)):le.windowsphone?Ot=Ce(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):le.mac?(Ot=Ce(/Mac OS X (\d+([_\.\s]\d+)*)/i),Ot=Ot.replace(/[_\s]/g,".")):Ee?(Ot=Ce(/os (\d+([_\s]\d+)*) like mac os x/i),Ot=Ot.replace(/[_\s]/g,".")):Ie?Ot=Ce(/android[ \/-](\d+(\.\d+)*)/i):le.webos?Ot=Ce(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):le.blackberry?Ot=Ce(/rim\stablet\sos\s(\d+(\.\d+)*)/i):le.bada?Ot=Ce(/bada\/(\d+(\.\d+)*)/i):le.tizen&&(Ot=Ce(/tizen[\/\s](\d+(\.\d+)*)/i)),Ot&&(le.osversion=Ot);var nt=!le.windows&&Ot.split(".")[0];return lt||Me||Ee=="ipad"||Ie&&(nt==3||nt>=4&&!ft)||le.silk?le.tablet=te:(ft||Ee=="iphone"||Ee=="ipod"||Ie||Re||le.blackberry||le.webos||le.bada)&&(le.mobile=te),le.msedge||le.msie&&le.version>=10||le.yandexbrowser&&le.version>=15||le.vivaldi&&le.version>=1||le.chrome&&le.version>=20||le.samsungBrowser&&le.version>=4||le.firefox&&le.version>=20||le.safari&&le.version>=6||le.opera&&le.version>=10||le.ios&&le.osversion&&le.osversion.split(".")[0]>=6||le.blackberry&&le.version>=10.1||le.chromium&&le.version>=20?le.a=te:le.msie&&le.version<10||le.chrome&&le.version<20||le.firefox&&le.version<20||le.safari&&le.version<6||le.opera&&le.version<10||le.ios&&le.osversion&&le.osversion.split(".")[0]<6||le.chromium&&le.version<20?le.c=te:le.x=te,le}function ve(ge){return ge.split(".").length}function re(ge,Ce){var be,le=[];if(Array.prototype.map)return Array.prototype.map.call(ge,Ce);for(be=0;be<ge.length;be++)le.push(Ce(ge[be]));return le}function se(ge){for(var Ce=Math.max(ve(ge[0]),ve(ge[1])),be=re(ge,function(le){var Ee=Ce-ve(le);return le+=new Array(Ee+1).join(".0"),re(le.split("."),function(Pe){return new Array(20-Pe.length).join("0")+Pe}).reverse()});--Ce>=0;){if(be[0][Ce]>be[1][Ce])return 1;if(be[0][Ce]!==be[1][Ce])return-1;if(Ce===0)return 0}}function fe(ge,Ce,be){var le=ne;typeof Ce=="string"&&(be=Ce,Ce=void 0),Ce===void 0&&(Ce=!1),be&&(le=de(be));var Ee=""+le.version;for(var Pe in ge)if(ge.hasOwnProperty(Pe)&&le[Pe]){if(typeof ge[Pe]!="string")throw new Error("Browser version in the minVersion map should be a string: "+Pe+": "+String(ge));return se([Ee,ge[Pe]])<0}return Ce}function E(ge,Ce,be){return!fe(ge,Ce,be)}var te=!0,ne=de(typeof navigator!="undefined"&&navigator.userAgent||"");return ne.test=function(ge){for(var Ce=0;Ce<ge.length;++Ce){var be=ge[Ce];if(typeof be=="string"&&be in ne)return!0}return!1},ne.isUnsupportedBrowser=fe,ne.compareVersions=se,ne.check=E,ne._detect=de,ne.detect=de,ne})},{}],36:[function(oe,we,Ae){},{}],37:[function(oe,we,Ae){function de(ne){if(ne&&!E(ne))throw new Error("Unknown encoding: "+ne)}function ve(ne){return ne.toString(this.encoding)}function re(ne){this.charReceived=ne.length%2,this.charLength=this.charReceived?2:0}function se(ne){this.charReceived=ne.length%3,this.charLength=this.charReceived?3:0}var fe=oe("buffer").Buffer,E=fe.isEncoding||function(ne){switch(ne&&ne.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},te=Ae.StringDecoder=function(ne){switch(this.encoding=(ne||"utf8").toLowerCase().replace(/[-_]/,""),de(ne),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=re;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=se;break;default:return void(this.write=ve)}this.charBuffer=new fe(6),this.charReceived=0,this.charLength=0};te.prototype.write=function(ne){for(var ge="";this.charLength;){var Ce=ne.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:ne.length;if(ne.copy(this.charBuffer,this.charReceived,0,Ce),this.charReceived+=Ce,this.charReceived<this.charLength)return"";ne=ne.slice(Ce,ne.length),ge=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var le=ge.charCodeAt(ge.length-1);if(!(le>=55296&&le<=56319)){if(this.charReceived=this.charLength=0,ne.length===0)return ge;break}this.charLength+=this.surrogateSize,ge=""}this.detectIncompleteChar(ne);var be=ne.length;this.charLength&&(ne.copy(this.charBuffer,0,ne.length-this.charReceived,be),be-=this.charReceived),ge+=ne.toString(this.encoding,0,be);var be=ge.length-1,le=ge.charCodeAt(be);if(le>=55296&&le<=56319){var Ee=this.surrogateSize;return this.charLength+=Ee,this.charReceived+=Ee,this.charBuffer.copy(this.charBuffer,Ee,0,Ee),ne.copy(this.charBuffer,0,0,Ee),ge.substring(0,be)}return ge},te.prototype.detectIncompleteChar=function(ne){for(var ge=ne.length>=3?3:ne.length;ge>0;ge--){var Ce=ne[ne.length-ge];if(ge==1&&Ce>>5==6){this.charLength=2;break}if(ge<=2&&Ce>>4==14){this.charLength=3;break}if(ge<=3&&Ce>>3==30){this.charLength=4;break}}this.charReceived=ge},te.prototype.end=function(ne){var ge="";if(ne&&ne.length&&(ge=this.write(ne)),this.charReceived){var Ce=this.charReceived,be=this.charBuffer,le=this.encoding;ge+=be.slice(0,Ce).toString(le)}return ge}},{buffer:38}],38:[function(oe,we,Ae){(function(de){"use strict";function ve(){return se.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function re(x,me){if(ve()<me)throw new RangeError("Invalid typed array length");return se.TYPED_ARRAY_SUPPORT?(x=new Uint8Array(me),x.__proto__=se.prototype):(x===null&&(x=new se(me)),x.length=me),x}function se(x,me,Le){if(!(se.TYPED_ARRAY_SUPPORT||this instanceof se))return new se(x,me,Le);if(typeof x=="number"){if(typeof me=="string")throw new Error("If encoding is specified then the first argument must be a string");return ne(this,x)}return fe(this,x,me,Le)}function fe(x,me,Le,Se){if(typeof me=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&me instanceof ArrayBuffer?be(x,me,Le,Se):typeof me=="string"?ge(x,me,Le):le(x,me)}function E(x){if(typeof x!="number")throw new TypeError('"size" argument must be a number');if(x<0)throw new RangeError('"size" argument must not be negative')}function te(x,me,Le,Se){return E(me),me<=0?re(x,me):Le!==void 0?typeof Se=="string"?re(x,me).fill(Le,Se):re(x,me).fill(Le):re(x,me)}function ne(x,me){if(E(me),x=re(x,me<0?0:0|Ee(me)),!se.TYPED_ARRAY_SUPPORT)for(var Le=0;Le<me;++Le)x[Le]=0;return x}function ge(x,me,Le){if(typeof Le=="string"&&Le!==""||(Le="utf8"),!se.isEncoding(Le))throw new TypeError('"encoding" must be a valid string encoding');var Se=0|Ie(me,Le);x=re(x,Se);var Be=x.write(me,Le);return Be!==Se&&(x=x.slice(0,Be)),x}function Ce(x,me){var Le=me.length<0?0:0|Ee(me.length);x=re(x,Le);for(var Se=0;Se<Le;Se+=1)x[Se]=255&me[Se];return x}function be(x,me,Le,Se){if(me.byteLength,Le<0||me.byteLength<Le)throw new RangeError("'offset' is out of bounds");if(me.byteLength<Le+(Se||0))throw new RangeError("'length' is out of bounds");return me=Le===void 0&&Se===void 0?new Uint8Array(me):Se===void 0?new Uint8Array(me,Le):new Uint8Array(me,Le,Se),se.TYPED_ARRAY_SUPPORT?(x=me,x.__proto__=se.prototype):x=Ce(x,me),x}function le(x,me){if(se.isBuffer(me)){var Le=0|Ee(me.length);return x=re(x,Le),x.length===0||me.copy(x,0,0,Le),x}if(me){if(typeof ArrayBuffer!="undefined"&&me.buffer instanceof ArrayBuffer||"length"in me)return typeof me.length!="number"||ue(me.length)?re(x,0):Ce(x,me);if(me.type==="Buffer"&&Xe(me.data))return Ce(x,me.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Ee(x){if(x>=ve())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ve().toString(16)+" bytes");return 0|x}function Pe(x){return+x!=x&&(x=0),se.alloc(+x)}function Ie(x,me){if(se.isBuffer(x))return x.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(x)||x instanceof ArrayBuffer))return x.byteLength;typeof x!="string"&&(x=""+x);var Le=x.length;if(Le===0)return 0;for(var Se=!1;;)switch(me){case"ascii":case"latin1":case"binary":return Le;case"utf8":case"utf-8":case void 0:return Tt(x).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Le;case"hex":return Le>>>1;case"base64":return yt(x).length;default:if(Se)return Tt(x).length;me=(""+me).toLowerCase(),Se=!0}}function Re(x,me,Le){var Se=!1;if((me===void 0||me<0)&&(me=0),me>this.length||((Le===void 0||Le>this.length)&&(Le=this.length),Le<=0)||(Le>>>=0,me>>>=0,Le<=me))return"";for(x||(x="utf8");;)switch(x){case"hex":return tt(this,me,Le);case"utf8":case"utf-8":return Je(this,me,Le);case"ascii":return lt(this,me,Le);case"latin1":case"binary":return ft(this,me,Le);case"base64":return Ye(this,me,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ot(this,me,Le);default:if(Se)throw new TypeError("Unknown encoding: "+x);x=(x+"").toLowerCase(),Se=!0}}function Me(x,me,Le){var Se=x[me];x[me]=x[Le],x[Le]=Se}function ye(x,me,Le,Se,Be){if(x.length===0)return-1;if(typeof Le=="string"?(Se=Le,Le=0):Le>2147483647?Le=2147483647:Le<-2147483648&&(Le=-2147483648),Le=+Le,isNaN(Le)&&(Le=Be?0:x.length-1),Le<0&&(Le=x.length+Le),Le>=x.length){if(Be)return-1;Le=x.length-1}else if(Le<0){if(!Be)return-1;Le=0}if(typeof me=="string"&&(me=se.from(me,Se)),se.isBuffer(me))return me.length===0?-1:Te(x,me,Le,Se,Be);if(typeof me=="number")return me&=255,se.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Be?Uint8Array.prototype.indexOf.call(x,me,Le):Uint8Array.prototype.lastIndexOf.call(x,me,Le):Te(x,[me],Le,Se,Be);throw new TypeError("val must be string, number or Buffer")}function Te(x,me,Le,Se,Be){function Qe(Bt,hn){return it===1?Bt[hn]:Bt.readUInt16BE(hn*it)}var it=1,ot=x.length,at=me.length;if(Se!==void 0&&((Se=String(Se).toLowerCase())==="ucs2"||Se==="ucs-2"||Se==="utf16le"||Se==="utf-16le")){if(x.length<2||me.length<2)return-1;it=2,ot/=2,at/=2,Le/=2}var Mt;if(Be){var Rt=-1;for(Mt=Le;Mt<ot;Mt++)if(Qe(x,Mt)===Qe(me,Rt===-1?0:Mt-Rt)){if(Rt===-1&&(Rt=Mt),Mt-Rt+1===at)return Rt*it}else Rt!==-1&&(Mt-=Mt-Rt),Rt=-1}else for(Le+at>ot&&(Le=ot-at),Mt=Le;Mt>=0;Mt--){for(var tn=!0,qt=0;qt<at;qt++)if(Qe(x,Mt+qt)!==Qe(me,qt)){tn=!1;break}if(tn)return Mt}return-1}function Fe(x,me,Le,Se){Le=Number(Le)||0;var Be=x.length-Le;Se?(Se=Number(Se))>Be&&(Se=Be):Se=Be;var Qe=me.length;if(Qe%2!=0)throw new TypeError("Invalid hex string");Se>Qe/2&&(Se=Qe/2);for(var it=0;it<Se;++it){var ot=parseInt(me.substr(2*it,2),16);if(isNaN(ot))return it;x[Le+it]=ot}return it}function _e(x,me,Le,Se){return je(Tt(me,x.length-Le),x,Le,Se)}function Oe(x,me,Le,Se){return je(xt(me),x,Le,Se)}function Ke(x,me,Le,Se){return Oe(x,me,Le,Se)}function We(x,me,Le,Se){return je(yt(me),x,Le,Se)}function Ne(x,me,Le,Se){return je(wt(me,x.length-Le),x,Le,Se)}function Ye(x,me,Le){return me===0&&Le===x.length?ie.fromByteArray(x):ie.fromByteArray(x.slice(me,Le))}function Je(x,me,Le){Le=Math.min(x.length,Le);for(var Se=[],Be=me;Be<Le;){var Qe=x[Be],it=null,ot=Qe>239?4:Qe>223?3:Qe>191?2:1;if(Be+ot<=Le){var at,Mt,Rt,tn;switch(ot){case 1:Qe<128&&(it=Qe);break;case 2:at=x[Be+1],(192&at)==128&&(tn=(31&Qe)<<6|63&at)>127&&(it=tn);break;case 3:at=x[Be+1],Mt=x[Be+2],(192&at)==128&&(192&Mt)==128&&(tn=(15&Qe)<<12|(63&at)<<6|63&Mt)>2047&&(tn<55296||tn>57343)&&(it=tn);break;case 4:at=x[Be+1],Mt=x[Be+2],Rt=x[Be+3],(192&at)==128&&(192&Mt)==128&&(192&Rt)==128&&(tn=(15&Qe)<<18|(63&at)<<12|(63&Mt)<<6|63&Rt)>65535&&tn<1114112&&(it=tn)}}it===null?(it=65533,ot=1):it>65535&&(it-=65536,Se.push(it>>>10&1023|55296),it=56320|1023&it),Se.push(it),Be+=ot}return He(Se)}function He(x){var me=x.length;if(me<=De)return String.fromCharCode.apply(String,x);for(var Le="",Se=0;Se<me;)Le+=String.fromCharCode.apply(String,x.slice(Se,Se+=De));return Le}function lt(x,me,Le){var Se="";Le=Math.min(x.length,Le);for(var Be=me;Be<Le;++Be)Se+=String.fromCharCode(127&x[Be]);return Se}function ft(x,me,Le){var Se="";Le=Math.min(x.length,Le);for(var Be=me;Be<Le;++Be)Se+=String.fromCharCode(x[Be]);return Se}function tt(x,me,Le){var Se=x.length;(!me||me<0)&&(me=0),(!Le||Le<0||Le>Se)&&(Le=Se);for(var Be="",Qe=me;Qe<Le;++Qe)Be+=ct(x[Qe]);return Be}function Ot(x,me,Le){for(var Se=x.slice(me,Le),Be="",Qe=0;Qe<Se.length;Qe+=2)Be+=String.fromCharCode(Se[Qe]+256*Se[Qe+1]);return Be}function nt(x,me,Le){if(x%1!=0||x<0)throw new RangeError("offset is not uint");if(x+me>Le)throw new RangeError("Trying to access beyond buffer length")}function Ze(x,me,Le,Se,Be,Qe){if(!se.isBuffer(x))throw new TypeError('"buffer" argument must be a Buffer instance');if(me>Be||me<Qe)throw new RangeError('"value" argument is out of bounds');if(Le+Se>x.length)throw new RangeError("Index out of range")}function Ge(x,me,Le,Se){me<0&&(me=65535+me+1);for(var Be=0,Qe=Math.min(x.length-Le,2);Be<Qe;++Be)x[Le+Be]=(me&255<<8*(Se?Be:1-Be))>>>8*(Se?Be:1-Be)}function $e(x,me,Le,Se){me<0&&(me=4294967295+me+1);for(var Be=0,Qe=Math.min(x.length-Le,4);Be<Qe;++Be)x[Le+Be]=me>>>8*(Se?Be:3-Be)&255}function qe(x,me,Le,Se,Be,Qe){if(Le+Se>x.length)throw new RangeError("Index out of range");if(Le<0)throw new RangeError("Index out of range")}function Ve(x,me,Le,Se,Be){return Be||qe(x,me,Le,4,34028234663852886e22,-34028234663852886e22),ke.write(x,me,Le,Se,23,4),Le+4}function mt(x,me,Le,Se,Be){return Be||qe(x,me,Le,8,17976931348623157e292,-17976931348623157e292),ke.write(x,me,Le,Se,52,8),Le+8}function st(x){if(x=Lt(x).replace(pe,""),x.length<2)return"";for(;x.length%4!=0;)x+="=";return x}function Lt(x){return x.trim?x.trim():x.replace(/^\s+|\s+$/g,"")}function ct(x){return x<16?"0"+x.toString(16):x.toString(16)}function Tt(x,me){me=me||1/0;for(var Le,Se=x.length,Be=null,Qe=[],it=0;it<Se;++it){if((Le=x.charCodeAt(it))>55295&&Le<57344){if(!Be){if(Le>56319){(me-=3)>-1&&Qe.push(239,191,189);continue}if(it+1===Se){(me-=3)>-1&&Qe.push(239,191,189);continue}Be=Le;continue}if(Le<56320){(me-=3)>-1&&Qe.push(239,191,189),Be=Le;continue}Le=65536+(Be-55296<<10|Le-56320)}else Be&&(me-=3)>-1&&Qe.push(239,191,189);if(Be=null,Le<128){if((me-=1)<0)break;Qe.push(Le)}else if(Le<2048){if((me-=2)<0)break;Qe.push(Le>>6|192,63&Le|128)}else if(Le<65536){if((me-=3)<0)break;Qe.push(Le>>12|224,Le>>6&63|128,63&Le|128)}else{if(!(Le<1114112))throw new Error("Invalid code point");if((me-=4)<0)break;Qe.push(Le>>18|240,Le>>12&63|128,Le>>6&63|128,63&Le|128)}}return Qe}function xt(x){for(var me=[],Le=0;Le<x.length;++Le)me.push(255&x.charCodeAt(Le));return me}function wt(x,me){for(var Le,Se,Be,Qe=[],it=0;it<x.length&&!((me-=2)<0);++it)Le=x.charCodeAt(it),Se=Le>>8,Be=Le%256,Qe.push(Be),Qe.push(Se);return Qe}function yt(x){return ie.toByteArray(st(x))}function je(x,me,Le,Se){for(var Be=0;Be<Se&&!(Be+Le>=me.length||Be>=x.length);++Be)me[Be+Le]=x[Be];return Be}function ue(x){return x!==x}var ie=oe("base64-js"),ke=oe("ieee754"),Xe=oe("isarray");Ae.Buffer=se,Ae.SlowBuffer=Pe,Ae.INSPECT_MAX_BYTES=50,se.TYPED_ARRAY_SUPPORT=de.TYPED_ARRAY_SUPPORT!==void 0?de.TYPED_ARRAY_SUPPORT:function(){try{var x=new Uint8Array(1);return x.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},x.foo()===42&&typeof x.subarray=="function"&&x.subarray(1,1).byteLength===0}catch(me){return!1}}(),Ae.kMaxLength=ve(),se.poolSize=8192,se._augment=function(x){return x.__proto__=se.prototype,x},se.from=function(x,me,Le){return fe(null,x,me,Le)},se.TYPED_ARRAY_SUPPORT&&(se.prototype.__proto__=Uint8Array.prototype,se.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&se[Symbol.species]===se&&Object.defineProperty(se,Symbol.species,{value:null,configurable:!0})),se.alloc=function(x,me,Le){return te(null,x,me,Le)},se.allocUnsafe=function(x){return ne(null,x)},se.allocUnsafeSlow=function(x){return ne(null,x)},se.isBuffer=function(x){return!(x==null||!x._isBuffer)},se.compare=function(x,me){if(!se.isBuffer(x)||!se.isBuffer(me))throw new TypeError("Arguments must be Buffers");if(x===me)return 0;for(var Le=x.length,Se=me.length,Be=0,Qe=Math.min(Le,Se);Be<Qe;++Be)if(x[Be]!==me[Be]){Le=x[Be],Se=me[Be];break}return Le<Se?-1:Se<Le?1:0},se.isEncoding=function(x){switch(String(x).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},se.concat=function(x,me){if(!Xe(x))throw new TypeError('"list" argument must be an Array of Buffers');if(x.length===0)return se.alloc(0);var Le;if(me===void 0)for(me=0,Le=0;Le<x.length;++Le)me+=x[Le].length;var Se=se.allocUnsafe(me),Be=0;for(Le=0;Le<x.length;++Le){var Qe=x[Le];if(!se.isBuffer(Qe))throw new TypeError('"list" argument must be an Array of Buffers');Qe.copy(Se,Be),Be+=Qe.length}return Se},se.byteLength=Ie,se.prototype._isBuffer=!0,se.prototype.swap16=function(){var x=this.length;if(x%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var me=0;me<x;me+=2)Me(this,me,me+1);return this},se.prototype.swap32=function(){var x=this.length;if(x%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var me=0;me<x;me+=4)Me(this,me,me+3),Me(this,me+1,me+2);return this},se.prototype.swap64=function(){var x=this.length;if(x%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var me=0;me<x;me+=8)Me(this,me,me+7),Me(this,me+1,me+6),Me(this,me+2,me+5),Me(this,me+3,me+4);return this},se.prototype.toString=function(){var x=0|this.length;return x===0?"":arguments.length===0?Je(this,0,x):Re.apply(this,arguments)},se.prototype.equals=function(x){if(!se.isBuffer(x))throw new TypeError("Argument must be a Buffer");return this===x||se.compare(this,x)===0},se.prototype.inspect=function(){var x="",me=Ae.INSPECT_MAX_BYTES;return this.length>0&&(x=this.toString("hex",0,me).match(/.{2}/g).join(" "),this.length>me&&(x+=" ... ")),"<Buffer "+x+">"},se.prototype.compare=function(x,me,Le,Se,Be){if(!se.isBuffer(x))throw new TypeError("Argument must be a Buffer");if(me===void 0&&(me=0),Le===void 0&&(Le=x?x.length:0),Se===void 0&&(Se=0),Be===void 0&&(Be=this.length),me<0||Le>x.length||Se<0||Be>this.length)throw new RangeError("out of range index");if(Se>=Be&&me>=Le)return 0;if(Se>=Be)return-1;if(me>=Le)return 1;if(me>>>=0,Le>>>=0,Se>>>=0,Be>>>=0,this===x)return 0;for(var Qe=Be-Se,it=Le-me,ot=Math.min(Qe,it),at=this.slice(Se,Be),Mt=x.slice(me,Le),Rt=0;Rt<ot;++Rt)if(at[Rt]!==Mt[Rt]){Qe=at[Rt],it=Mt[Rt];break}return Qe<it?-1:it<Qe?1:0},se.prototype.includes=function(x,me,Le){return this.indexOf(x,me,Le)!==-1},se.prototype.indexOf=function(x,me,Le){return ye(this,x,me,Le,!0)},se.prototype.lastIndexOf=function(x,me,Le){return ye(this,x,me,Le,!1)},se.prototype.write=function(x,me,Le,Se){if(me===void 0)Se="utf8",Le=this.length,me=0;else if(Le===void 0&&typeof me=="string")Se=me,Le=this.length,me=0;else{if(!isFinite(me))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");me|=0,isFinite(Le)?(Le|=0,Se===void 0&&(Se="utf8")):(Se=Le,Le=void 0)}var Be=this.length-me;if((Le===void 0||Le>Be)&&(Le=Be),x.length>0&&(Le<0||me<0)||me>this.length)throw new RangeError("Attempt to write outside buffer bounds");Se||(Se="utf8");for(var Qe=!1;;)switch(Se){case"hex":return Fe(this,x,me,Le);case"utf8":case"utf-8":return _e(this,x,me,Le);case"ascii":return Oe(this,x,me,Le);case"latin1":case"binary":return Ke(this,x,me,Le);case"base64":return We(this,x,me,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne(this,x,me,Le);default:if(Qe)throw new TypeError("Unknown encoding: "+Se);Se=(""+Se).toLowerCase(),Qe=!0}},se.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var De=4096;se.prototype.slice=function(x,me){var Le=this.length;x=~~x,me=me===void 0?Le:~~me,x<0?(x+=Le)<0&&(x=0):x>Le&&(x=Le),me<0?(me+=Le)<0&&(me=0):me>Le&&(me=Le),me<x&&(me=x);var Se;if(se.TYPED_ARRAY_SUPPORT)Se=this.subarray(x,me),Se.__proto__=se.prototype;else{var Be=me-x;Se=new se(Be,void 0);for(var Qe=0;Qe<Be;++Qe)Se[Qe]=this[Qe+x]}return Se},se.prototype.readUIntLE=function(x,me,Le){x|=0,me|=0,Le||nt(x,me,this.length);for(var Se=this[x],Be=1,Qe=0;++Qe<me&&(Be*=256);)Se+=this[x+Qe]*Be;return Se},se.prototype.readUIntBE=function(x,me,Le){x|=0,me|=0,Le||nt(x,me,this.length);for(var Se=this[x+--me],Be=1;me>0&&(Be*=256);)Se+=this[x+--me]*Be;return Se},se.prototype.readUInt8=function(x,me){return me||nt(x,1,this.length),this[x]},se.prototype.readUInt16LE=function(x,me){return me||nt(x,2,this.length),this[x]|this[x+1]<<8},se.prototype.readUInt16BE=function(x,me){return me||nt(x,2,this.length),this[x]<<8|this[x+1]},se.prototype.readUInt32LE=function(x,me){return me||nt(x,4,this.length),(this[x]|this[x+1]<<8|this[x+2]<<16)+16777216*this[x+3]},se.prototype.readUInt32BE=function(x,me){return me||nt(x,4,this.length),16777216*this[x]+(this[x+1]<<16|this[x+2]<<8|this[x+3])},se.prototype.readIntLE=function(x,me,Le){x|=0,me|=0,Le||nt(x,me,this.length);for(var Se=this[x],Be=1,Qe=0;++Qe<me&&(Be*=256);)Se+=this[x+Qe]*Be;return Be*=128,Se>=Be&&(Se-=Math.pow(2,8*me)),Se},se.prototype.readIntBE=function(x,me,Le){x|=0,me|=0,Le||nt(x,me,this.length);for(var Se=me,Be=1,Qe=this[x+--Se];Se>0&&(Be*=256);)Qe+=this[x+--Se]*Be;return Be*=128,Qe>=Be&&(Qe-=Math.pow(2,8*me)),Qe},se.prototype.readInt8=function(x,me){return me||nt(x,1,this.length),128&this[x]?-1*(255-this[x]+1):this[x]},se.prototype.readInt16LE=function(x,me){me||nt(x,2,this.length);var Le=this[x]|this[x+1]<<8;return 32768&Le?4294901760|Le:Le},se.prototype.readInt16BE=function(x,me){me||nt(x,2,this.length);var Le=this[x+1]|this[x]<<8;return 32768&Le?4294901760|Le:Le},se.prototype.readInt32LE=function(x,me){return me||nt(x,4,this.length),this[x]|this[x+1]<<8|this[x+2]<<16|this[x+3]<<24},se.prototype.readInt32BE=function(x,me){return me||nt(x,4,this.length),this[x]<<24|this[x+1]<<16|this[x+2]<<8|this[x+3]},se.prototype.readFloatLE=function(x,me){return me||nt(x,4,this.length),ke.read(this,x,!0,23,4)},se.prototype.readFloatBE=function(x,me){return me||nt(x,4,this.length),ke.read(this,x,!1,23,4)},se.prototype.readDoubleLE=function(x,me){return me||nt(x,8,this.length),ke.read(this,x,!0,52,8)},se.prototype.readDoubleBE=function(x,me){return me||nt(x,8,this.length),ke.read(this,x,!1,52,8)},se.prototype.writeUIntLE=function(x,me,Le,Se){x=+x,me|=0,Le|=0,!Se&&Ze(this,x,me,Le,Math.pow(2,8*Le)-1,0);var Be=1,Qe=0;for(this[me]=255&x;++Qe<Le&&(Be*=256);)this[me+Qe]=x/Be&255;return me+Le},se.prototype.writeUIntBE=function(x,me,Le,Se){x=+x,me|=0,Le|=0,!Se&&Ze(this,x,me,Le,Math.pow(2,8*Le)-1,0);var Be=Le-1,Qe=1;for(this[me+Be]=255&x;--Be>=0&&(Qe*=256);)this[me+Be]=x/Qe&255;return me+Le},se.prototype.writeUInt8=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,1,255,0),se.TYPED_ARRAY_SUPPORT||(x=Math.floor(x)),this[me]=255&x,me+1},se.prototype.writeUInt16LE=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,2,65535,0),se.TYPED_ARRAY_SUPPORT?(this[me]=255&x,this[me+1]=x>>>8):Ge(this,x,me,!0),me+2},se.prototype.writeUInt16BE=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,2,65535,0),se.TYPED_ARRAY_SUPPORT?(this[me]=x>>>8,this[me+1]=255&x):Ge(this,x,me,!1),me+2},se.prototype.writeUInt32LE=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,4,4294967295,0),se.TYPED_ARRAY_SUPPORT?(this[me+3]=x>>>24,this[me+2]=x>>>16,this[me+1]=x>>>8,this[me]=255&x):$e(this,x,me,!0),me+4},se.prototype.writeUInt32BE=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,4,4294967295,0),se.TYPED_ARRAY_SUPPORT?(this[me]=x>>>24,this[me+1]=x>>>16,this[me+2]=x>>>8,this[me+3]=255&x):$e(this,x,me,!1),me+4},se.prototype.writeIntLE=function(x,me,Le,Se){if(x=+x,me|=0,!Se){var Be=Math.pow(2,8*Le-1);Ze(this,x,me,Le,Be-1,-Be)}var Qe=0,it=1,ot=0;for(this[me]=255&x;++Qe<Le&&(it*=256);)x<0&&ot===0&&this[me+Qe-1]!==0&&(ot=1),this[me+Qe]=(x/it>>0)-ot&255;return me+Le},se.prototype.writeIntBE=function(x,me,Le,Se){if(x=+x,me|=0,!Se){var Be=Math.pow(2,8*Le-1);Ze(this,x,me,Le,Be-1,-Be)}var Qe=Le-1,it=1,ot=0;for(this[me+Qe]=255&x;--Qe>=0&&(it*=256);)x<0&&ot===0&&this[me+Qe+1]!==0&&(ot=1),this[me+Qe]=(x/it>>0)-ot&255;return me+Le},se.prototype.writeInt8=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,1,127,-128),se.TYPED_ARRAY_SUPPORT||(x=Math.floor(x)),x<0&&(x=255+x+1),this[me]=255&x,me+1},se.prototype.writeInt16LE=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,2,32767,-32768),se.TYPED_ARRAY_SUPPORT?(this[me]=255&x,this[me+1]=x>>>8):Ge(this,x,me,!0),me+2},se.prototype.writeInt16BE=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,2,32767,-32768),se.TYPED_ARRAY_SUPPORT?(this[me]=x>>>8,this[me+1]=255&x):Ge(this,x,me,!1),me+2},se.prototype.writeInt32LE=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,4,2147483647,-2147483648),se.TYPED_ARRAY_SUPPORT?(this[me]=255&x,this[me+1]=x>>>8,this[me+2]=x>>>16,this[me+3]=x>>>24):$e(this,x,me,!0),me+4},se.prototype.writeInt32BE=function(x,me,Le){return x=+x,me|=0,Le||Ze(this,x,me,4,2147483647,-2147483648),x<0&&(x=4294967295+x+1),se.TYPED_ARRAY_SUPPORT?(this[me]=x>>>24,this[me+1]=x>>>16,this[me+2]=x>>>8,this[me+3]=255&x):$e(this,x,me,!1),me+4},se.prototype.writeFloatLE=function(x,me,Le){return Ve(this,x,me,!0,Le)},se.prototype.writeFloatBE=function(x,me,Le){return Ve(this,x,me,!1,Le)},se.prototype.writeDoubleLE=function(x,me,Le){return mt(this,x,me,!0,Le)},se.prototype.writeDoubleBE=function(x,me,Le){return mt(this,x,me,!1,Le)},se.prototype.copy=function(x,me,Le,Se){if(Le||(Le=0),Se||Se===0||(Se=this.length),me>=x.length&&(me=x.length),me||(me=0),Se>0&&Se<Le&&(Se=Le),Se===Le||x.length===0||this.length===0)return 0;if(me<0)throw new RangeError("targetStart out of bounds");if(Le<0||Le>=this.length)throw new RangeError("sourceStart out of bounds");if(Se<0)throw new RangeError("sourceEnd out of bounds");Se>this.length&&(Se=this.length),x.length-me<Se-Le&&(Se=x.length-me+Le);var Be,Qe=Se-Le;if(this===x&&Le<me&&me<Se)for(Be=Qe-1;Be>=0;--Be)x[Be+me]=this[Be+Le];else if(Qe<1e3||!se.TYPED_ARRAY_SUPPORT)for(Be=0;Be<Qe;++Be)x[Be+me]=this[Be+Le];else Uint8Array.prototype.set.call(x,this.subarray(Le,Le+Qe),me);return Qe},se.prototype.fill=function(x,me,Le,Se){if(typeof x=="string"){if(typeof me=="string"?(Se=me,me=0,Le=this.length):typeof Le=="string"&&(Se=Le,Le=this.length),x.length===1){var Be=x.charCodeAt(0);Be<256&&(x=Be)}if(Se!==void 0&&typeof Se!="string")throw new TypeError("encoding must be a string");if(typeof Se=="string"&&!se.isEncoding(Se))throw new TypeError("Unknown encoding: "+Se)}else typeof x=="number"&&(x&=255);if(me<0||this.length<me||this.length<Le)throw new RangeError("Out of range index");if(Le<=me)return this;me>>>=0,Le=Le===void 0?this.length:Le>>>0,x||(x=0);var Qe;if(typeof x=="number")for(Qe=me;Qe<Le;++Qe)this[Qe]=x;else{var it=se.isBuffer(x)?x:Tt(new se(x,Se).toString()),ot=it.length;for(Qe=0;Qe<Le-me;++Qe)this[Qe+me]=it[Qe%ot]}return this};var pe=/[^+\/0-9A-Za-z-_]/g}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"base64-js":34,ieee754:161,isarray:166}],39:[function(oe,we,Ae){we.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],40:[function(oe,we,Ae){"use strict";var de=function(){this.buffer=[],this.fns=[]};de.prototype.push=function(re,se){if(this.fns.length)return this.fns.shift()(null,re);var fe={data:re,priority:se},E=ve(this.buffer,fe,function(te){return te.priority});this.buffer.splice(E,0,fe)},de.prototype.next=function(){var re=this;return function(se){if(re.buffer.length)return se(null,re.buffer.pop().data);re.fns.push(se)}};var ve=function(re,se,fe){se=fe(se);for(var E=0,te=re?re.length:E;E<te;){var ne=E+te>>>1;fe(re[ne])<se?E=ne+1:te=ne}return E};we.exports=de},{}],41:[function(oe,we,Ae){function de(be){var le=this,Ee=Ce.call(arguments,1);return new Promise(function(Pe,Ie){function Re(Te){var Fe;try{Fe=be.next(Te)}catch(_e){return Ie(_e)}ye(Fe)}function Me(Te){var Fe;try{Fe=be.throw(Te)}catch(_e){return Ie(_e)}ye(Fe)}function ye(Te){if(Te.done)return Pe(Te.value);var Fe=ve.call(le,Te.value);return Fe&&E(Fe)?Fe.then(Re,Me):Me(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(Te.value)+'"'))}if(typeof be=="function"&&(be=be.apply(le,Ee)),!be||typeof be.next!="function")return Pe(be);Re()})}function ve(be){return be&&(E(be)?be:ne(be)||te(be)?de.call(this,be):typeof be=="function"?re.call(this,be):Array.isArray(be)?se.call(this,be):ge(be)?fe.call(this,be):be)}function re(be){var le=this;return new Promise(function(Ee,Pe){be.call(le,function(Ie,Re){if(Ie)return Pe(Ie);arguments.length>2&&(Re=Ce.call(arguments,1)),Ee(Re)})})}function se(be){return Promise.all(be.map(ve,this))}function fe(be){for(var le=new be.constructor,Ee=Object.keys(be),Pe=[],Ie=0;Ie<Ee.length;Ie++){var Re=Ee[Ie],Me=ve.call(this,be[Re]);Me&&E(Me)?function(ye,Te){le[Te]=void 0,Pe.push(ye.then(function(Fe){le[Te]=Fe}))}(Me,Re):le[Re]=be[Re]}return Promise.all(Pe).then(function(){return le})}function E(be){return typeof be.then=="function"}function te(be){return typeof be.next=="function"&&typeof be.throw=="function"}function ne(be){var le=be.constructor;return!!le&&(le.name==="GeneratorFunction"||le.displayName==="GeneratorFunction"||te(le.prototype))}function ge(be){return Object==be.constructor}var Ce=Array.prototype.slice;we.exports=de.default=de.co=de,de.wrap=function(be){function le(){return de.call(this,be.apply(this,arguments))}return le.__generatorFunction__=be,le}},{}],42:[function(oe,we,Ae){we.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],43:[function(oe,we,Ae){"use strict";function de(se,fe){if(!(this instanceof de))return new de(se,fe);this.src=se,this._withAccess=fe}function ve(se,fe){return se[fe]===void 0&&se.__lookupGetter__(fe)===void 0&&se.__lookupSetter__(fe)===void 0}var re=Array.prototype.slice;we.exports=de,de.prototype.withAccess=function(se){return this._withAccess=se!==!1,this},de.prototype.pick=function(se){return Array.isArray(se)||(se=re.call(arguments)),se.length&&(this.keys=se),this},de.prototype.to=function(se){if(se=se||{},!this.src)return se;var fe=this.keys||Object.keys(this.src);if(!this._withAccess){for(var E=0;E<fe.length;E++)te=fe[E],se[te]===void 0&&(se[te]=this.src[te]);return se}for(var E=0;E<fe.length;E++){var te=fe[E];if(ve(se,te)){var ne=this.src.__lookupGetter__(te),ge=this.src.__lookupSetter__(te);ne&&se.__defineGetter__(te,ne),ge&&se.__defineSetter__(te,ge),ne||ge||(se[te]=this.src[te])}}return se},de.prototype.toCover=function(se){for(var fe=this.keys||Object.keys(this.src),E=0;E<fe.length;E++){var te=fe[E];delete se[te];var ne=this.src.__lookupGetter__(te),ge=this.src.__lookupSetter__(te);ne&&se.__defineGetter__(te,ne),ge&&se.__defineSetter__(te,ge),ne||ge||(se[te]=this.src[te])}},de.prototype.override=de.prototype.toCover,de.prototype.and=function(se){var fe={};return this.to(fe),this.src=se,this.to(fe),this.src=fe,this}},{}],44:[function(oe,we,Ae){oe("../../modules/es6.string.iterator"),oe("../../modules/es6.array.from"),we.exports=oe("../../modules/_core").Array.from},{"../../modules/_core":65,"../../modules/es6.array.from":133,"../../modules/es6.string.iterator":145}],45:[function(oe,we,Ae){var de=oe("../../modules/_core"),ve=de.JSON||(de.JSON={stringify:JSON.stringify});we.exports=function(re){return ve.stringify.apply(ve,arguments)}},{"../../modules/_core":65}],46:[function(oe,we,Ae){oe("../../modules/es6.object.assign"),we.exports=oe("../../modules/_core").Object.assign},{"../../modules/_core":65,"../../modules/es6.object.assign":136}],47:[function(oe,we,Ae){oe("../../modules/es6.object.create");var de=oe("../../modules/_core").Object;we.exports=function(ve,re){return de.create(ve,re)}},{"../../modules/_core":65,"../../modules/es6.object.create":137}],48:[function(oe,we,Ae){oe("../../modules/es6.object.define-property");var de=oe("../../modules/_core").Object;we.exports=function(ve,re,se){return de.defineProperty(ve,re,se)}},{"../../modules/_core":65,"../../modules/es6.object.define-property":138}],49:[function(oe,we,Ae){oe("../../modules/es6.object.get-own-property-names");var de=oe("../../modules/_core").Object;we.exports=function(ve){return de.getOwnPropertyNames(ve)}},{"../../modules/_core":65,"../../modules/es6.object.get-own-property-names":139}],50:[function(oe,we,Ae){oe("../../modules/es6.object.get-prototype-of"),we.exports=oe("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":65,"../../modules/es6.object.get-prototype-of":140}],51:[function(oe,we,Ae){oe("../../modules/es6.object.keys"),we.exports=oe("../../modules/_core").Object.keys},{"../../modules/_core":65,"../../modules/es6.object.keys":141}],52:[function(oe,we,Ae){oe("../modules/es6.object.to-string"),oe("../modules/es6.string.iterator"),oe("../modules/web.dom.iterable"),oe("../modules/es6.promise"),oe("../modules/es7.promise.finally"),oe("../modules/es7.promise.try"),we.exports=oe("../modules/_core").Promise},{"../modules/_core":65,"../modules/es6.object.to-string":142,"../modules/es6.promise":143,"../modules/es6.string.iterator":145,"../modules/es7.promise.finally":147,"../modules/es7.promise.try":148,"../modules/web.dom.iterable":151}],53:[function(oe,we,Ae){oe("../modules/web.immediate"),we.exports=oe("../modules/_core").setImmediate},{"../modules/_core":65,"../modules/web.immediate":152}],54:[function(oe,we,Ae){oe("../../modules/es6.string.from-code-point"),we.exports=oe("../../modules/_core").String.fromCodePoint},{"../../modules/_core":65,"../../modules/es6.string.from-code-point":144}],55:[function(oe,we,Ae){oe("../../modules/es6.function.has-instance"),we.exports=oe("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":130,"../../modules/es6.function.has-instance":135}],56:[function(oe,we,Ae){oe("../../modules/es6.symbol"),oe("../../modules/es6.object.to-string"),oe("../../modules/es7.symbol.async-iterator"),oe("../../modules/es7.symbol.observable"),we.exports=oe("../../modules/_core").Symbol},{"../../modules/_core":65,"../../modules/es6.object.to-string":142,"../../modules/es6.symbol":146,"../../modules/es7.symbol.async-iterator":149,"../../modules/es7.symbol.observable":150}],57:[function(oe,we,Ae){oe("../../modules/es6.string.iterator"),oe("../../modules/web.dom.iterable"),we.exports=oe("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":130,"../../modules/es6.string.iterator":145,"../../modules/web.dom.iterable":151}],58:[function(oe,we,Ae){we.exports=function(de){if(typeof de!="function")throw TypeError(de+" is not a function!");return de}},{}],59:[function(oe,we,Ae){we.exports=function(){}},{}],60:[function(oe,we,Ae){we.exports=function(de,ve,re,se){if(!(de instanceof ve)||se!==void 0&&se in de)throw TypeError(re+": incorrect invocation!");return de}},{}],61:[function(oe,we,Ae){var de=oe("./_is-object");we.exports=function(ve){if(!de(ve))throw TypeError(ve+" is not an object!");return ve}},{"./_is-object":85}],62:[function(oe,we,Ae){var de=oe("./_to-iobject"),ve=oe("./_to-length"),re=oe("./_to-absolute-index");we.exports=function(se){return function(fe,E,te){var ne,ge=de(fe),Ce=ve(ge.length),be=re(te,Ce);if(se&&E!=E){for(;Ce>be;)if((ne=ge[be++])!=ne)return!0}else for(;Ce>be;be++)if((se||be in ge)&&ge[be]===E)return se||be||0;return!se&&-1}}},{"./_to-absolute-index":121,"./_to-iobject":123,"./_to-length":124}],63:[function(oe,we,Ae){var de=oe("./_cof"),ve=oe("./_wks")("toStringTag"),re=de(function(){return arguments}())=="Arguments",se=function(fe,E){try{return fe[E]}catch(te){}};we.exports=function(fe){var E,te,ne;return fe===void 0?"Undefined":fe===null?"Null":typeof(te=se(E=Object(fe),ve))=="string"?te:re?de(E):(ne=de(E))=="Object"&&typeof E.callee=="function"?"Arguments":ne}},{"./_cof":64,"./_wks":131}],64:[function(oe,we,Ae){var de={}.toString;we.exports=function(ve){return de.call(ve).slice(8,-1)}},{}],65:[function(oe,we,Ae){var de=we.exports={version:"2.5.7"};typeof __e=="number"&&(__e=de)},{}],66:[function(oe,we,Ae){"use strict";var de=oe("./_object-dp"),ve=oe("./_property-desc");we.exports=function(re,se,fe){se in re?de.f(re,se,ve(0,fe)):re[se]=fe}},{"./_object-dp":98,"./_property-desc":111}],67:[function(oe,we,Ae){var de=oe("./_a-function");we.exports=function(ve,re,se){if(de(ve),re===void 0)return ve;switch(se){case 1:return function(fe){return ve.call(re,fe)};case 2:return function(fe,E){return ve.call(re,fe,E)};case 3:return function(fe,E,te){return ve.call(re,fe,E,te)}}return function(){return ve.apply(re,arguments)}}},{"./_a-function":58}],68:[function(oe,we,Ae){we.exports=function(de){if(de==null)throw TypeError("Can't call method on "+de);return de}},{}],69:[function(oe,we,Ae){we.exports=!oe("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":74}],70:[function(oe,we,Ae){var de=oe("./_is-object"),ve=oe("./_global").document,re=de(ve)&&de(ve.createElement);we.exports=function(se){return re?ve.createElement(se):{}}},{"./_global":76,"./_is-object":85}],71:[function(oe,we,Ae){we.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],72:[function(oe,we,Ae){var de=oe("./_object-keys"),ve=oe("./_object-gops"),re=oe("./_object-pie");we.exports=function(se){var fe=de(se),E=ve.f;if(E)for(var te,ne=E(se),ge=re.f,Ce=0;ne.length>Ce;)ge.call(se,te=ne[Ce++])&&fe.push(te);return fe}},{"./_object-gops":103,"./_object-keys":106,"./_object-pie":107}],73:[function(oe,we,Ae){var de=oe("./_global"),ve=oe("./_core"),re=oe("./_ctx"),se=oe("./_hide"),fe=oe("./_has"),E=function(te,ne,ge){var Ce,be,le,Ee=te&E.F,Pe=te&E.G,Ie=te&E.S,Re=te&E.P,Me=te&E.B,ye=te&E.W,Te=Pe?ve:ve[ne]||(ve[ne]={}),Fe=Te.prototype,_e=Pe?de:Ie?de[ne]:(de[ne]||{}).prototype;Pe&&(ge=ne);for(Ce in ge)(be=!Ee&&_e&&_e[Ce]!==void 0)&&fe(Te,Ce)||(le=be?_e[Ce]:ge[Ce],Te[Ce]=Pe&&typeof _e[Ce]!="function"?ge[Ce]:Me&&be?re(le,de):ye&&_e[Ce]==le?function(Oe){var Ke=function(We,Ne,Ye){if(this instanceof Oe){switch(arguments.length){case 0:return new Oe;case 1:return new Oe(We);case 2:return new Oe(We,Ne)}return new Oe(We,Ne,Ye)}return Oe.apply(this,arguments)};return Ke.prototype=Oe.prototype,Ke}(le):Re&&typeof le=="function"?re(Function.call,le):le,Re&&((Te.virtual||(Te.virtual={}))[Ce]=le,te&E.R&&Fe&&!Fe[Ce]&&se(Fe,Ce,le)))};E.F=1,E.G=2,E.S=4,E.P=8,E.B=16,E.W=32,E.U=64,E.R=128,we.exports=E},{"./_core":65,"./_ctx":67,"./_global":76,"./_has":77,"./_hide":78}],74:[function(oe,we,Ae){we.exports=function(de){try{return!!de()}catch(ve){return!0}}},{}],75:[function(oe,we,ge){var de=oe("./_ctx"),ve=oe("./_iter-call"),re=oe("./_is-array-iter"),se=oe("./_an-object"),fe=oe("./_to-length"),E=oe("./core.get-iterator-method"),te={},ne={},ge=we.exports=function(Ce,be,le,Ee,Pe){var Ie,Re,Me,ye,Te=Pe?function(){return Ce}:E(Ce),Fe=de(le,Ee,be?2:1),_e=0;if(typeof Te!="function")throw TypeError(Ce+" is not iterable!");if(re(Te)){for(Ie=fe(Ce.length);Ie>_e;_e++)if((ye=be?Fe(se(Re=Ce[_e])[0],Re[1]):Fe(Ce[_e]))===te||ye===ne)return ye}else for(Me=Te.call(Ce);!(Re=Me.next()).done;)if((ye=ve(Me,Fe,Re.value,be))===te||ye===ne)return ye};ge.BREAK=te,ge.RETURN=ne},{"./_an-object":61,"./_ctx":67,"./_is-array-iter":83,"./_iter-call":86,"./_to-length":124,"./core.get-iterator-method":132}],76:[function(oe,we,Ae){var de=we.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=de)},{}],77:[function(oe,we,Ae){var de={}.hasOwnProperty;we.exports=function(ve,re){return de.call(ve,re)}},{}],78:[function(oe,we,Ae){var de=oe("./_object-dp"),ve=oe("./_property-desc");we.exports=oe("./_descriptors")?function(re,se,fe){return de.f(re,se,ve(1,fe))}:function(re,se,fe){return re[se]=fe,re}},{"./_descriptors":69,"./_object-dp":98,"./_property-desc":111}],79:[function(oe,we,Ae){var de=oe("./_global").document;we.exports=de&&de.documentElement},{"./_global":76}],80:[function(oe,we,Ae){we.exports=!oe("./_descriptors")&&!oe("./_fails")(function(){return Object.defineProperty(oe("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":69,"./_dom-create":70,"./_fails":74}],81:[function(oe,we,Ae){we.exports=function(de,ve,re){var se=re===void 0;switch(ve.length){case 0:return se?de():de.call(re);case 1:return se?de(ve[0]):de.call(re,ve[0]);case 2:return se?de(ve[0],ve[1]):de.call(re,ve[0],ve[1]);case 3:return se?de(ve[0],ve[1],ve[2]):de.call(re,ve[0],ve[1],ve[2]);case 4:return se?de(ve[0],ve[1],ve[2],ve[3]):de.call(re,ve[0],ve[1],ve[2],ve[3])}return de.apply(re,ve)}},{}],82:[function(oe,we,Ae){var de=oe("./_cof");we.exports=Object("z").propertyIsEnumerable(0)?Object:function(ve){return de(ve)=="String"?ve.split(""):Object(ve)}},{"./_cof":64}],83:[function(oe,we,Ae){var de=oe("./_iterators"),ve=oe("./_wks")("iterator"),re=Array.prototype;we.exports=function(se){return se!==void 0&&(de.Array===se||re[ve]===se)}},{"./_iterators":91,"./_wks":131}],84:[function(oe,we,Ae){var de=oe("./_cof");we.exports=Array.isArray||function(ve){return de(ve)=="Array"}},{"./_cof":64}],85:[function(oe,we,Ae){we.exports=function(de){return typeof de=="object"?de!==null:typeof de=="function"}},{}],86:[function(oe,we,Ae){var de=oe("./_an-object");we.exports=function(ve,re,se,fe){try{return fe?re(de(se)[0],se[1]):re(se)}catch(te){var E=ve.return;throw E!==void 0&&de(E.call(ve)),te}}},{"./_an-object":61}],87:[function(oe,we,Ae){"use strict";var de=oe("./_object-create"),ve=oe("./_property-desc"),re=oe("./_set-to-string-tag"),se={};oe("./_hide")(se,oe("./_wks")("iterator"),function(){return this}),we.exports=function(fe,E,te){fe.prototype=de(se,{next:ve(1,te)}),re(fe,E+" Iterator")}},{"./_hide":78,"./_object-create":97,"./_property-desc":111,"./_set-to-string-tag":115,"./_wks":131}],88:[function(oe,we,Ae){"use strict";var de=oe("./_library"),ve=oe("./_export"),re=oe("./_redefine"),se=oe("./_hide"),fe=oe("./_iterators"),E=oe("./_iter-create"),te=oe("./_set-to-string-tag"),ne=oe("./_object-gpo"),ge=oe("./_wks")("iterator"),Ce=!([].keys&&"next"in[].keys()),be=function(){return this};we.exports=function(le,Ee,Pe,Ie,Re,Me,ye){E(Pe,Ee,Ie);var Te,Fe,_e,Oe=function(tt){if(!Ce&&tt in Ye)return Ye[tt];switch(tt){case"keys":case"values":return function(){return new Pe(this,tt)}}return function(){return new Pe(this,tt)}},Ke=Ee+" Iterator",We=Re=="values",Ne=!1,Ye=le.prototype,Je=Ye[ge]||Ye["@@iterator"]||Re&&Ye[Re],He=Je||Oe(Re),lt=Re?We?Oe("entries"):He:void 0,ft=Ee=="Array"&&Ye.entries||Je;if(ft&&(_e=ne(ft.call(new le)))!==Object.prototype&&_e.next&&(te(_e,Ke,!0),de||typeof _e[ge]=="function"||se(_e,ge,be)),We&&Je&&Je.name!=="values"&&(Ne=!0,He=function(){return Je.call(this)}),de&&!ye||!Ce&&!Ne&&Ye[ge]||se(Ye,ge,He),fe[Ee]=He,fe[Ke]=be,Re)if(Te={values:We?He:Oe("values"),keys:Me?He:Oe("keys"),entries:lt},ye)for(Fe in Te)Fe in Ye||re(Ye,Fe,Te[Fe]);else ve(ve.P+ve.F*(Ce||Ne),Ee,Te);return Te}},{"./_export":73,"./_hide":78,"./_iter-create":87,"./_iterators":91,"./_library":92,"./_object-gpo":104,"./_redefine":113,"./_set-to-string-tag":115,"./_wks":131}],89:[function(oe,we,Ae){var de=oe("./_wks")("iterator"),ve=!1;try{var re=[7][de]();re.return=function(){ve=!0},Array.from(re,function(){throw 2})}catch(se){}we.exports=function(se,fe){if(!fe&&!ve)return!1;var E=!1;try{var te=[7],ne=te[de]();ne.next=function(){return{done:E=!0}},te[de]=function(){return ne},se(te)}catch(ge){}return E}},{"./_wks":131}],90:[function(oe,we,Ae){we.exports=function(de,ve){return{value:ve,done:!!de}}},{}],91:[function(oe,we,Ae){we.exports={}},{}],92:[function(oe,we,Ae){we.exports=!0},{}],93:[function(oe,we,Ae){var de=oe("./_uid")("meta"),ve=oe("./_is-object"),re=oe("./_has"),se=oe("./_object-dp").f,fe=0,E=Object.isExtensible||function(){return!0},te=!oe("./_fails")(function(){return E(Object.preventExtensions({}))}),ne=function(Ee){se(Ee,de,{value:{i:"O"+ ++fe,w:{}}})},ge=function(Ee,Pe){if(!ve(Ee))return typeof Ee=="symbol"?Ee:(typeof Ee=="string"?"S":"P")+Ee;if(!re(Ee,de)){if(!E(Ee))return"F";if(!Pe)return"E";ne(Ee)}return Ee[de].i},Ce=function(Ee,Pe){if(!re(Ee,de)){if(!E(Ee))return!0;if(!Pe)return!1;ne(Ee)}return Ee[de].w},be=function(Ee){return te&&le.NEED&&E(Ee)&&!re(Ee,de)&&ne(Ee),Ee},le=we.exports={KEY:de,NEED:!1,fastKey:ge,getWeak:Ce,onFreeze:be}},{"./_fails":74,"./_has":77,"./_is-object":85,"./_object-dp":98,"./_uid":127}],94:[function(oe,we,Ae){var de=oe("./_global"),ve=oe("./_task").set,re=de.MutationObserver||de.WebKitMutationObserver,se=de.process,fe=de.Promise,E=oe("./_cof")(se)=="process";we.exports=function(){var te,ne,ge,Ce=function(){var Pe,Ie;for(E&&(Pe=se.domain)&&Pe.exit();te;){Ie=te.fn,te=te.next;try{Ie()}catch(Re){throw te?ge():ne=void 0,Re}}ne=void 0,Pe&&Pe.enter()};if(E)ge=function(){se.nextTick(Ce)};else if(!re||de.navigator&&de.navigator.standalone)if(fe&&fe.resolve){var be=fe.resolve(void 0);ge=function(){be.then(Ce)}}else ge=function(){ve.call(de,Ce)};else{var le=!0,Ee=document.createTextNode("");new re(Ce).observe(Ee,{characterData:!0}),ge=function(){Ee.data=le=!le}}return function(Pe){var Ie={fn:Pe,next:void 0};ne&&(ne.next=Ie),te||(te=Ie,ge()),ne=Ie}}},{"./_cof":64,"./_global":76,"./_task":120}],95:[function(oe,we,Ae){"use strict";function de(re){var se,fe;this.promise=new re(function(E,te){if(se!==void 0||fe!==void 0)throw TypeError("Bad Promise constructor");se=E,fe=te}),this.resolve=ve(se),this.reject=ve(fe)}var ve=oe("./_a-function");we.exports.f=function(re){return new de(re)}},{"./_a-function":58}],96:[function(oe,we,Ae){"use strict";var de=oe("./_object-keys"),ve=oe("./_object-gops"),re=oe("./_object-pie"),se=oe("./_to-object"),fe=oe("./_iobject"),E=Object.assign;we.exports=!E||oe("./_fails")(function(){var te={},ne={},ge=Symbol(),Ce="abcdefghijklmnopqrst";return te[ge]=7,Ce.split("").forEach(function(be){ne[be]=be}),E({},te)[ge]!=7||Object.keys(E({},ne)).join("")!=Ce})?function(te,ne){for(var ge=se(te),Ce=arguments.length,be=1,le=ve.f,Ee=re.f;Ce>be;)for(var Pe,Ie=fe(arguments[be++]),Re=le?de(Ie).concat(le(Ie)):de(Ie),Me=Re.length,ye=0;Me>ye;)Ee.call(Ie,Pe=Re[ye++])&&(ge[Pe]=Ie[Pe]);return ge}:E},{"./_fails":74,"./_iobject":82,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_to-object":125}],97:[function(oe,we,Ae){var de=oe("./_an-object"),ve=oe("./_object-dps"),re=oe("./_enum-bug-keys"),se=oe("./_shared-key")("IE_PROTO"),fe=function(){},E=function(){var te,ne=oe("./_dom-create")("iframe"),ge=re.length;for(ne.style.display="none",oe("./_html").appendChild(ne),ne.src="javascript:",te=ne.contentWindow.document,te.open(),te.write("<script>document.F=Object<\/script>"),te.close(),E=te.F;ge--;)delete E.prototype[re[ge]];return E()};we.exports=Object.create||function(te,ne){var ge;return te!==null?(fe.prototype=de(te),ge=new fe,fe.prototype=null,ge[se]=te):ge=E(),ne===void 0?ge:ve(ge,ne)}},{"./_an-object":61,"./_dom-create":70,"./_enum-bug-keys":71,"./_html":79,"./_object-dps":99,"./_shared-key":116}],98:[function(oe,we,Ae){var de=oe("./_an-object"),ve=oe("./_ie8-dom-define"),re=oe("./_to-primitive"),se=Object.defineProperty;Ae.f=oe("./_descriptors")?Object.defineProperty:function(fe,E,te){if(de(fe),E=re(E,!0),de(te),ve)try{return se(fe,E,te)}catch(ne){}if("get"in te||"set"in te)throw TypeError("Accessors not supported!");return"value"in te&&(fe[E]=te.value),fe}},{"./_an-object":61,"./_descriptors":69,"./_ie8-dom-define":80,"./_to-primitive":126}],99:[function(oe,we,Ae){var de=oe("./_object-dp"),ve=oe("./_an-object"),re=oe("./_object-keys");we.exports=oe("./_descriptors")?Object.defineProperties:function(se,fe){ve(se);for(var E,te=re(fe),ne=te.length,ge=0;ne>ge;)de.f(se,E=te[ge++],fe[E]);return se}},{"./_an-object":61,"./_descriptors":69,"./_object-dp":98,"./_object-keys":106}],100:[function(oe,we,Ae){var de=oe("./_object-pie"),ve=oe("./_property-desc"),re=oe("./_to-iobject"),se=oe("./_to-primitive"),fe=oe("./_has"),E=oe("./_ie8-dom-define"),te=Object.getOwnPropertyDescriptor;Ae.f=oe("./_descriptors")?te:function(ne,ge){if(ne=re(ne),ge=se(ge,!0),E)try{return te(ne,ge)}catch(Ce){}if(fe(ne,ge))return ve(!de.f.call(ne,ge),ne[ge])}},{"./_descriptors":69,"./_has":77,"./_ie8-dom-define":80,"./_object-pie":107,"./_property-desc":111,"./_to-iobject":123,"./_to-primitive":126}],101:[function(oe,we,Ae){var de=oe("./_to-iobject"),ve=oe("./_object-gopn").f,re={}.toString,se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],fe=function(E){try{return ve(E)}catch(te){return se.slice()}};we.exports.f=function(E){return se&&re.call(E)=="[object Window]"?fe(E):ve(de(E))}},{"./_object-gopn":102,"./_to-iobject":123}],102:[function(oe,we,Ae){var de=oe("./_object-keys-internal"),ve=oe("./_enum-bug-keys").concat("length","prototype");Ae.f=Object.getOwnPropertyNames||function(re){return de(re,ve)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],103:[function(oe,we,Ae){Ae.f=Object.getOwnPropertySymbols},{}],104:[function(oe,we,Ae){var de=oe("./_has"),ve=oe("./_to-object"),re=oe("./_shared-key")("IE_PROTO"),se=Object.prototype;we.exports=Object.getPrototypeOf||function(fe){return fe=ve(fe),de(fe,re)?fe[re]:typeof fe.constructor=="function"&&fe instanceof fe.constructor?fe.constructor.prototype:fe instanceof Object?se:null}},{"./_has":77,"./_shared-key":116,"./_to-object":125}],105:[function(oe,we,Ae){var de=oe("./_has"),ve=oe("./_to-iobject"),re=oe("./_array-includes")(!1),se=oe("./_shared-key")("IE_PROTO");we.exports=function(fe,E){var te,ne=ve(fe),ge=0,Ce=[];for(te in ne)te!=se&&de(ne,te)&&Ce.push(te);for(;E.length>ge;)de(ne,te=E[ge++])&&(~re(Ce,te)||Ce.push(te));return Ce}},{"./_array-includes":62,"./_has":77,"./_shared-key":116,"./_to-iobject":123}],106:[function(oe,we,Ae){var de=oe("./_object-keys-internal"),ve=oe("./_enum-bug-keys");we.exports=Object.keys||function(re){return de(re,ve)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],107:[function(oe,we,Ae){Ae.f={}.propertyIsEnumerable},{}],108:[function(oe,we,Ae){var de=oe("./_export"),ve=oe("./_core"),re=oe("./_fails");we.exports=function(se,fe){var E=(ve.Object||{})[se]||Object[se],te={};te[se]=fe(E),de(de.S+de.F*re(function(){E(1)}),"Object",te)}},{"./_core":65,"./_export":73,"./_fails":74}],109:[function(oe,we,Ae){we.exports=function(de){try{return{e:!1,v:de()}}catch(ve){return{e:!0,v:ve}}}},{}],110:[function(oe,we,Ae){var de=oe("./_an-object"),ve=oe("./_is-object"),re=oe("./_new-promise-capability");we.exports=function(se,fe){if(de(se),ve(fe)&&fe.constructor===se)return fe;var E=re.f(se);return(0,E.resolve)(fe),E.promise}},{"./_an-object":61,"./_is-object":85,"./_new-promise-capability":95}],111:[function(oe,we,Ae){we.exports=function(de,ve){return{enumerable:!(1&de),configurable:!(2&de),writable:!(4&de),value:ve}}},{}],112:[function(oe,we,Ae){var de=oe("./_hide");we.exports=function(ve,re,se){for(var fe in re)se&&ve[fe]?ve[fe]=re[fe]:de(ve,fe,re[fe]);return ve}},{"./_hide":78}],113:[function(oe,we,Ae){we.exports=oe("./_hide")},{"./_hide":78}],114:[function(oe,we,Ae){"use strict";var de=oe("./_global"),ve=oe("./_core"),re=oe("./_object-dp"),se=oe("./_descriptors"),fe=oe("./_wks")("species");we.exports=function(E){var te=typeof ve[E]=="function"?ve[E]:de[E];se&&te&&!te[fe]&&re.f(te,fe,{configurable:!0,get:function(){return this}})}},{"./_core":65,"./_descriptors":69,"./_global":76,"./_object-dp":98,"./_wks":131}],115:[function(oe,we,Ae){var de=oe("./_object-dp").f,ve=oe("./_has"),re=oe("./_wks")("toStringTag");we.exports=function(se,fe,E){se&&!ve(se=E?se:se.prototype,re)&&de(se,re,{configurable:!0,value:fe})}},{"./_has":77,"./_object-dp":98,"./_wks":131}],116:[function(oe,we,Ae){var de=oe("./_shared")("keys"),ve=oe("./_uid");we.exports=function(re){return de[re]||(de[re]=ve(re))}},{"./_shared":117,"./_uid":127}],117:[function(oe,we,Ae){var de=oe("./_core"),ve=oe("./_global"),re=ve["__core-js_shared__"]||(ve["__core-js_shared__"]={});(we.exports=function(se,fe){return re[se]||(re[se]=fe!==void 0?fe:{})})("versions",[]).push({version:de.version,mode:oe("./_library")?"pure":"global",copyright:"\u6F0F 2018 Denis Pushkarev (zloirock.ru)"})},{"./_core":65,"./_global":76,"./_library":92}],118:[function(oe,we,Ae){var de=oe("./_an-object"),ve=oe("./_a-function"),re=oe("./_wks")("species");we.exports=function(se,fe){var E,te=de(se).constructor;return te===void 0||(E=de(te)[re])==null?fe:ve(E)}},{"./_a-function":58,"./_an-object":61,"./_wks":131}],119:[function(oe,we,Ae){var de=oe("./_to-integer"),ve=oe("./_defined");we.exports=function(re){return function(se,fe){var E,te,ne=String(ve(se)),ge=de(fe),Ce=ne.length;return ge<0||ge>=Ce?re?"":void 0:(E=ne.charCodeAt(ge),E<55296||E>56319||ge+1===Ce||(te=ne.charCodeAt(ge+1))<56320||te>57343?re?ne.charAt(ge):E:re?ne.slice(ge,ge+2):te-56320+(E-55296<<10)+65536)}}},{"./_defined":68,"./_to-integer":122}],120:[function(oe,we,Ae){var de,ve,re,se=oe("./_ctx"),fe=oe("./_invoke"),E=oe("./_html"),te=oe("./_dom-create"),ne=oe("./_global"),ge=ne.process,Ce=ne.setImmediate,be=ne.clearImmediate,le=ne.MessageChannel,Ee=ne.Dispatch,Pe=0,Ie={},Re=function(){var ye=+this;if(Ie.hasOwnProperty(ye)){var Te=Ie[ye];delete Ie[ye],Te()}},Me=function(ye){Re.call(ye.data)};Ce&&be||(Ce=function(ye){for(var Te=[],Fe=1;arguments.length>Fe;)Te.push(arguments[Fe++]);return Ie[++Pe]=function(){fe(typeof ye=="function"?ye:Function(ye),Te)},de(Pe),Pe},be=function(ye){delete Ie[ye]},oe("./_cof")(ge)=="process"?de=function(ye){ge.nextTick(se(Re,ye,1))}:Ee&&Ee.now?de=function(ye){Ee.now(se(Re,ye,1))}:le?(ve=new le,re=ve.port2,ve.port1.onmessage=Me,de=se(re.postMessage,re,1)):ne.addEventListener&&typeof postMessage=="function"&&!ne.importScripts?(de=function(ye){ne.postMessage(ye+"","*")},ne.addEventListener("message",Me,!1)):de="onreadystatechange"in te("script")?function(ye){E.appendChild(te("script")).onreadystatechange=function(){E.removeChild(this),Re.call(ye)}}:function(ye){setTimeout(se(Re,ye,1),0)}),we.exports={set:Ce,clear:be}},{"./_cof":64,"./_ctx":67,"./_dom-create":70,"./_global":76,"./_html":79,"./_invoke":81}],121:[function(oe,we,Ae){var de=oe("./_to-integer"),ve=Math.max,re=Math.min;we.exports=function(se,fe){return se=de(se),se<0?ve(se+fe,0):re(se,fe)}},{"./_to-integer":122}],122:[function(oe,we,Ae){var de=Math.ceil,ve=Math.floor;we.exports=function(re){return isNaN(re=+re)?0:(re>0?ve:de)(re)}},{}],123:[function(oe,we,Ae){var de=oe("./_iobject"),ve=oe("./_defined");we.exports=function(re){return de(ve(re))}},{"./_defined":68,"./_iobject":82}],124:[function(oe,we,Ae){var de=oe("./_to-integer"),ve=Math.min;we.exports=function(re){return re>0?ve(de(re),9007199254740991):0}},{"./_to-integer":122}],125:[function(oe,we,Ae){var de=oe("./_defined");we.exports=function(ve){return Object(de(ve))}},{"./_defined":68}],126:[function(oe,we,Ae){var de=oe("./_is-object");we.exports=function(ve,re){if(!de(ve))return ve;var se,fe;if(re&&typeof(se=ve.toString)=="function"&&!de(fe=se.call(ve))||typeof(se=ve.valueOf)=="function"&&!de(fe=se.call(ve))||!re&&typeof(se=ve.toString)=="function"&&!de(fe=se.call(ve)))return fe;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":85}],127:[function(oe,we,Ae){var de=0,ve=Math.random();we.exports=function(re){return"Symbol(".concat(re===void 0?"":re,")_",(++de+ve).toString(36))}},{}],128:[function(oe,we,Ae){var de=oe("./_global"),ve=de.navigator;we.exports=ve&&ve.userAgent||""},{"./_global":76}],129:[function(oe,we,Ae){var de=oe("./_global"),ve=oe("./_core"),re=oe("./_library"),se=oe("./_wks-ext"),fe=oe("./_object-dp").f;we.exports=function(E){var te=ve.Symbol||(ve.Symbol=re?{}:de.Symbol||{});E.charAt(0)=="_"||E in te||fe(te,E,{value:se.f(E)})}},{"./_core":65,"./_global":76,"./_library":92,"./_object-dp":98,"./_wks-ext":130}],130:[function(oe,we,Ae){Ae.f=oe("./_wks")},{"./_wks":131}],131:[function(oe,we,Ae){var de=oe("./_shared")("wks"),ve=oe("./_uid"),re=oe("./_global").Symbol,se=typeof re=="function";(we.exports=function(fe){return de[fe]||(de[fe]=se&&re[fe]||(se?re:ve)("Symbol."+fe))}).store=de},{"./_global":76,"./_shared":117,"./_uid":127}],132:[function(oe,we,Ae){var de=oe("./_classof"),ve=oe("./_wks")("iterator"),re=oe("./_iterators");we.exports=oe("./_core").getIteratorMethod=function(se){if(se!=null)return se[ve]||se["@@iterator"]||re[de(se)]}},{"./_classof":63,"./_core":65,"./_iterators":91,"./_wks":131}],133:[function(oe,we,Ae){"use strict";var de=oe("./_ctx"),ve=oe("./_export"),re=oe("./_to-object"),se=oe("./_iter-call"),fe=oe("./_is-array-iter"),E=oe("./_to-length"),te=oe("./_create-property"),ne=oe("./core.get-iterator-method");ve(ve.S+ve.F*!oe("./_iter-detect")(function(ge){Array.from(ge)}),"Array",{from:function(ge){var Ce,be,le,Ee,Pe=re(ge),Ie=typeof this=="function"?this:Array,Re=arguments.length,Me=Re>1?arguments[1]:void 0,ye=Me!==void 0,Te=0,Fe=ne(Pe);if(ye&&(Me=de(Me,Re>2?arguments[2]:void 0,2)),Fe==null||Ie==Array&&fe(Fe))for(Ce=E(Pe.length),be=new Ie(Ce);Ce>Te;Te++)te(be,Te,ye?Me(Pe[Te],Te):Pe[Te]);else for(Ee=Fe.call(Pe),be=new Ie;!(le=Ee.next()).done;Te++)te(be,Te,ye?se(Ee,Me,[le.value,Te],!0):le.value);return be.length=Te,be}})},{"./_create-property":66,"./_ctx":67,"./_export":73,"./_is-array-iter":83,"./_iter-call":86,"./_iter-detect":89,"./_to-length":124,"./_to-object":125,"./core.get-iterator-method":132}],134:[function(oe,we,Ae){"use strict";var de=oe("./_add-to-unscopables"),ve=oe("./_iter-step"),re=oe("./_iterators"),se=oe("./_to-iobject");we.exports=oe("./_iter-define")(Array,"Array",function(fe,E){this._t=se(fe),this._i=0,this._k=E},function(){var fe=this._t,E=this._k,te=this._i++;return!fe||te>=fe.length?(this._t=void 0,ve(1)):E=="keys"?ve(0,te):E=="values"?ve(0,fe[te]):ve(0,[te,fe[te]])},"values"),re.Arguments=re.Array,de("keys"),de("values"),de("entries")},{"./_add-to-unscopables":59,"./_iter-define":88,"./_iter-step":90,"./_iterators":91,"./_to-iobject":123}],135:[function(oe,we,Ae){"use strict";var de=oe("./_is-object"),ve=oe("./_object-gpo"),re=oe("./_wks")("hasInstance"),se=Function.prototype;re in se||oe("./_object-dp").f(se,re,{value:function(fe){if(typeof this!="function"||!de(fe))return!1;if(!de(this.prototype))return fe instanceof this;for(;fe=ve(fe);)if(this.prototype===fe)return!0;return!1}})},{"./_is-object":85,"./_object-dp":98,"./_object-gpo":104,"./_wks":131}],136:[function(oe,we,Ae){var de=oe("./_export");de(de.S+de.F,"Object",{assign:oe("./_object-assign")})},{"./_export":73,"./_object-assign":96}],137:[function(oe,we,Ae){var de=oe("./_export");de(de.S,"Object",{create:oe("./_object-create")})},{"./_export":73,"./_object-create":97}],138:[function(oe,we,Ae){var de=oe("./_export");de(de.S+de.F*!oe("./_descriptors"),"Object",{defineProperty:oe("./_object-dp").f})},{"./_descriptors":69,"./_export":73,"./_object-dp":98}],139:[function(oe,we,Ae){oe("./_object-sap")("getOwnPropertyNames",function(){return oe("./_object-gopn-ext").f})},{"./_object-gopn-ext":101,"./_object-sap":108}],140:[function(oe,we,Ae){var de=oe("./_to-object"),ve=oe("./_object-gpo");oe("./_object-sap")("getPrototypeOf",function(){return function(re){return ve(de(re))}})},{"./_object-gpo":104,"./_object-sap":108,"./_to-object":125}],141:[function(oe,we,Ae){var de=oe("./_to-object"),ve=oe("./_object-keys");oe("./_object-sap")("keys",function(){return function(re){return ve(de(re))}})},{"./_object-keys":106,"./_object-sap":108,"./_to-object":125}],142:[function(oe,we,Ae){arguments[4][36][0].apply(Ae,arguments)},{dup:36}],143:[function(oe,we,Ae){"use strict";var de,ve,re,se,fe=oe("./_library"),E=oe("./_global"),te=oe("./_ctx"),ne=oe("./_classof"),ge=oe("./_export"),Ce=oe("./_is-object"),be=oe("./_a-function"),le=oe("./_an-instance"),Ee=oe("./_for-of"),Pe=oe("./_species-constructor"),Ie=oe("./_task").set,Re=oe("./_microtask")(),Me=oe("./_new-promise-capability"),ye=oe("./_perform"),Te=oe("./_user-agent"),Fe=oe("./_promise-resolve"),_e=E.TypeError,Oe=E.process,Ke=Oe&&Oe.versions,We=Ke&&Ke.v8||"",Ne=E.Promise,Ye=ne(Oe)=="process",Je=function(){},He=ve=Me.f,lt=!!function(){try{var qe=Ne.resolve(1),Ve=(qe.constructor={})[oe("./_wks")("species")]=function(mt){mt(Je,Je)};return(Ye||typeof PromiseRejectionEvent=="function")&&qe.then(Je)instanceof Ve&&We.indexOf("6.6")!==0&&Te.indexOf("Chrome/66")===-1}catch(mt){}}(),ft=function(qe){var Ve;return!(!Ce(qe)||typeof(Ve=qe.then)!="function")&&Ve},tt=function(qe,Ve){if(!qe._n){qe._n=!0;var mt=qe._c;Re(function(){for(var st=qe._v,Lt=qe._s==1,ct=0;mt.length>ct;)(function(Tt){var xt,wt,yt,je=Lt?Tt.ok:Tt.fail,ue=Tt.resolve,ie=Tt.reject,ke=Tt.domain;try{je?(Lt||(qe._h==2&&Ze(qe),qe._h=1),je===!0?xt=st:(ke&&ke.enter(),xt=je(st),ke&&(ke.exit(),yt=!0)),xt===Tt.promise?ie(_e("Promise-chain cycle")):(wt=ft(xt))?wt.call(xt,ue,ie):ue(xt)):ie(st)}catch(Xe){ke&&!yt&&ke.exit(),ie(Xe)}})(mt[ct++]);qe._c=[],qe._n=!1,Ve&&!qe._h&&Ot(qe)})}},Ot=function(qe){Ie.call(E,function(){var Ve,mt,st,Lt=qe._v,ct=nt(qe);if(ct&&(Ve=ye(function(){Ye?Oe.emit("unhandledRejection",Lt,qe):(mt=E.onunhandledrejection)?mt({promise:qe,reason:Lt}):(st=E.console)&&st.error&&st.error("Unhandled promise rejection",Lt)}),qe._h=Ye||nt(qe)?2:1),qe._a=void 0,ct&&Ve.e)throw Ve.v})},nt=function(qe){return qe._h!==1&&(qe._a||qe._c).length===0},Ze=function(qe){Ie.call(E,function(){var Ve;Ye?Oe.emit("rejectionHandled",qe):(Ve=E.onrejectionhandled)&&Ve({promise:qe,reason:qe._v})})},Ge=function(qe){var Ve=this;Ve._d||(Ve._d=!0,Ve=Ve._w||Ve,Ve._v=qe,Ve._s=2,Ve._a||(Ve._a=Ve._c.slice()),tt(Ve,!0))},$e=function(qe){var Ve,mt=this;if(!mt._d){mt._d=!0,mt=mt._w||mt;try{if(mt===qe)throw _e("Promise can't be resolved itself");(Ve=ft(qe))?Re(function(){var st={_w:mt,_d:!1};try{Ve.call(qe,te($e,st,1),te(Ge,st,1))}catch(Lt){Ge.call(st,Lt)}}):(mt._v=qe,mt._s=1,tt(mt,!1))}catch(st){Ge.call({_w:mt,_d:!1},st)}}};lt||(Ne=function(qe){le(this,Ne,"Promise","_h"),be(qe),de.call(this);try{qe(te($e,this,1),te(Ge,this,1))}catch(Ve){Ge.call(this,Ve)}},de=function(qe){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},de.prototype=oe("./_redefine-all")(Ne.prototype,{then:function(qe,Ve){var mt=He(Pe(this,Ne));return mt.ok=typeof qe!="function"||qe,mt.fail=typeof Ve=="function"&&Ve,mt.domain=Ye?Oe.domain:void 0,this._c.push(mt),this._a&&this._a.push(mt),this._s&&tt(this,!1),mt.promise},catch:function(qe){return this.then(void 0,qe)}}),re=function(){var qe=new de;this.promise=qe,this.resolve=te($e,qe,1),this.reject=te(Ge,qe,1)},Me.f=He=function(qe){return qe===Ne||qe===se?new re(qe):ve(qe)}),ge(ge.G+ge.W+ge.F*!lt,{Promise:Ne}),oe("./_set-to-string-tag")(Ne,"Promise"),oe("./_set-species")("Promise"),se=oe("./_core").Promise,ge(ge.S+ge.F*!lt,"Promise",{reject:function(qe){var Ve=He(this);return(0,Ve.reject)(qe),Ve.promise}}),ge(ge.S+ge.F*(fe||!lt),"Promise",{resolve:function(qe){return Fe(fe&&this===se?Ne:this,qe)}}),ge(ge.S+ge.F*!(lt&&oe("./_iter-detect")(function(qe){Ne.all(qe).catch(Je)})),"Promise",{all:function(qe){var Ve=this,mt=He(Ve),st=mt.resolve,Lt=mt.reject,ct=ye(function(){var Tt=[],xt=0,wt=1;Ee(qe,!1,function(yt){var je=xt++,ue=!1;Tt.push(void 0),wt++,Ve.resolve(yt).then(function(ie){ue||(ue=!0,Tt[je]=ie,--wt||st(Tt))},Lt)}),--wt||st(Tt)});return ct.e&&Lt(ct.v),mt.promise},race:function(qe){var Ve=this,mt=He(Ve),st=mt.reject,Lt=ye(function(){Ee(qe,!1,function(ct){Ve.resolve(ct).then(mt.resolve,st)})});return Lt.e&&st(Lt.v),mt.promise}})},{"./_a-function":58,"./_an-instance":60,"./_classof":63,"./_core":65,"./_ctx":67,"./_export":73,"./_for-of":75,"./_global":76,"./_is-object":85,"./_iter-detect":89,"./_library":92,"./_microtask":94,"./_new-promise-capability":95,"./_perform":109,"./_promise-resolve":110,"./_redefine-all":112,"./_set-species":114,"./_set-to-string-tag":115,"./_species-constructor":118,"./_task":120,"./_user-agent":128,"./_wks":131}],144:[function(oe,we,Ae){var de=oe("./_export"),ve=oe("./_to-absolute-index"),re=String.fromCharCode,se=String.fromCodePoint;de(de.S+de.F*(!!se&&se.length!=1),"String",{fromCodePoint:function(fe){for(var E,te=[],ne=arguments.length,ge=0;ne>ge;){if(E=+arguments[ge++],ve(E,1114111)!==E)throw RangeError(E+" is not a valid code point");te.push(E<65536?re(E):re(55296+((E-=65536)>>10),E%1024+56320))}return te.join("")}})},{"./_export":73,"./_to-absolute-index":121}],145:[function(oe,we,Ae){"use strict";var de=oe("./_string-at")(!0);oe("./_iter-define")(String,"String",function(ve){this._t=String(ve),this._i=0},function(){var ve,re=this._t,se=this._i;return se>=re.length?{value:void 0,done:!0}:(ve=de(re,se),this._i+=ve.length,{value:ve,done:!1})})},{"./_iter-define":88,"./_string-at":119}],146:[function(oe,we,Ae){"use strict";var de=oe("./_global"),ve=oe("./_has"),re=oe("./_descriptors"),se=oe("./_export"),fe=oe("./_redefine"),E=oe("./_meta").KEY,te=oe("./_fails"),ne=oe("./_shared"),ge=oe("./_set-to-string-tag"),Ce=oe("./_uid"),be=oe("./_wks"),le=oe("./_wks-ext"),Ee=oe("./_wks-define"),Pe=oe("./_enum-keys"),Ie=oe("./_is-array"),Re=oe("./_an-object"),Me=oe("./_is-object"),ye=oe("./_to-iobject"),Te=oe("./_to-primitive"),Fe=oe("./_property-desc"),_e=oe("./_object-create"),Oe=oe("./_object-gopn-ext"),Ke=oe("./_object-gopd"),We=oe("./_object-dp"),Ne=oe("./_object-keys"),Ye=Ke.f,Je=We.f,He=Oe.f,lt=de.Symbol,ft=de.JSON,tt=ft&&ft.stringify,Ot=be("_hidden"),nt=be("toPrimitive"),Ze={}.propertyIsEnumerable,Ge=ne("symbol-registry"),$e=ne("symbols"),qe=ne("op-symbols"),Ve=Object.prototype,mt=typeof lt=="function",st=de.QObject,Lt=!st||!st.prototype||!st.prototype.findChild,ct=re&&te(function(){return _e(Je({},"a",{get:function(){return Je(this,"a",{value:7}).a}})).a!=7})?function(Le,Se,Be){var Qe=Ye(Ve,Se);Qe&&delete Ve[Se],Je(Le,Se,Be),Qe&&Le!==Ve&&Je(Ve,Se,Qe)}:Je,Tt=function(Le){var Se=$e[Le]=_e(lt.prototype);return Se._k=Le,Se},xt=mt&&typeof lt.iterator=="symbol"?function(Le){return typeof Le=="symbol"}:function(Le){return Le instanceof lt},wt=function(Le,Se,Be){return Le===Ve&&wt(qe,Se,Be),Re(Le),Se=Te(Se,!0),Re(Be),ve($e,Se)?(Be.enumerable?(ve(Le,Ot)&&Le[Ot][Se]&&(Le[Ot][Se]=!1),Be=_e(Be,{enumerable:Fe(0,!1)})):(ve(Le,Ot)||Je(Le,Ot,Fe(1,{})),Le[Ot][Se]=!0),ct(Le,Se,Be)):Je(Le,Se,Be)},yt=function(Le,Se){Re(Le);for(var Be,Qe=Pe(Se=ye(Se)),it=0,ot=Qe.length;ot>it;)wt(Le,Be=Qe[it++],Se[Be]);return Le},je=function(Le,Se){return Se===void 0?_e(Le):yt(_e(Le),Se)},ue=function(Le){var Se=Ze.call(this,Le=Te(Le,!0));return!(this===Ve&&ve($e,Le)&&!ve(qe,Le))&&(!(Se||!ve(this,Le)||!ve($e,Le)||ve(this,Ot)&&this[Ot][Le])||Se)},ie=function(Le,Se){if(Le=ye(Le),Se=Te(Se,!0),Le!==Ve||!ve($e,Se)||ve(qe,Se)){var Be=Ye(Le,Se);return!Be||!ve($e,Se)||ve(Le,Ot)&&Le[Ot][Se]||(Be.enumerable=!0),Be}},ke=function(Le){for(var Se,Be=He(ye(Le)),Qe=[],it=0;Be.length>it;)ve($e,Se=Be[it++])||Se==Ot||Se==E||Qe.push(Se);return Qe},Xe=function(Le){for(var Se,Be=Le===Ve,Qe=He(Be?qe:ye(Le)),it=[],ot=0;Qe.length>ot;)!ve($e,Se=Qe[ot++])||Be&&!ve(Ve,Se)||it.push($e[Se]);return it};mt||(lt=function(){if(this instanceof lt)throw TypeError("Symbol is not a constructor!");var Le=Ce(arguments.length>0?arguments[0]:void 0),Se=function(Be){this===Ve&&Se.call(qe,Be),ve(this,Ot)&&ve(this[Ot],Le)&&(this[Ot][Le]=!1),ct(this,Le,Fe(1,Be))};return re&&Lt&&ct(Ve,Le,{configurable:!0,set:Se}),Tt(Le)},fe(lt.prototype,"toString",function(){return this._k}),Ke.f=ie,We.f=wt,oe("./_object-gopn").f=Oe.f=ke,oe("./_object-pie").f=ue,oe("./_object-gops").f=Xe,re&&!oe("./_library")&&fe(Ve,"propertyIsEnumerable",ue,!0),le.f=function(Le){return Tt(be(Le))}),se(se.G+se.W+se.F*!mt,{Symbol:lt});for(var De="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),pe=0;De.length>pe;)be(De[pe++]);for(var x=Ne(be.store),me=0;x.length>me;)Ee(x[me++]);se(se.S+se.F*!mt,"Symbol",{for:function(Le){return ve(Ge,Le+="")?Ge[Le]:Ge[Le]=lt(Le)},keyFor:function(Le){if(!xt(Le))throw TypeError(Le+" is not a symbol!");for(var Se in Ge)if(Ge[Se]===Le)return Se},useSetter:function(){Lt=!0},useSimple:function(){Lt=!1}}),se(se.S+se.F*!mt,"Object",{create:je,defineProperty:wt,defineProperties:yt,getOwnPropertyDescriptor:ie,getOwnPropertyNames:ke,getOwnPropertySymbols:Xe}),ft&&se(se.S+se.F*(!mt||te(function(){var Le=lt();return tt([Le])!="[null]"||tt({a:Le})!="{}"||tt(Object(Le))!="{}"})),"JSON",{stringify:function(Le){for(var Se,Be,Qe=[Le],it=1;arguments.length>it;)Qe.push(arguments[it++]);if(Be=Se=Qe[1],(Me(Se)||Le!==void 0)&&!xt(Le))return Ie(Se)||(Se=function(ot,at){if(typeof Be=="function"&&(at=Be.call(this,ot,at)),!xt(at))return at}),Qe[1]=Se,tt.apply(ft,Qe)}}),lt.prototype[nt]||oe("./_hide")(lt.prototype,nt,lt.prototype.valueOf),ge(lt,"Symbol"),ge(Math,"Math",!0),ge(de.JSON,"JSON",!0)},{"./_an-object":61,"./_descriptors":69,"./_enum-keys":72,"./_export":73,"./_fails":74,"./_global":76,"./_has":77,"./_hide":78,"./_is-array":84,"./_is-object":85,"./_library":92,"./_meta":93,"./_object-create":97,"./_object-dp":98,"./_object-gopd":100,"./_object-gopn":102,"./_object-gopn-ext":101,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_property-desc":111,"./_redefine":113,"./_set-to-string-tag":115,"./_shared":117,"./_to-iobject":123,"./_to-primitive":126,"./_uid":127,"./_wks":131,"./_wks-define":129,"./_wks-ext":130}],147:[function(oe,we,Ae){"use strict";var de=oe("./_export"),ve=oe("./_core"),re=oe("./_global"),se=oe("./_species-constructor"),fe=oe("./_promise-resolve");de(de.P+de.R,"Promise",{finally:function(E){var te=se(this,ve.Promise||re.Promise),ne=typeof E=="function";return this.then(ne?function(ge){return fe(te,E()).then(function(){return ge})}:E,ne?function(ge){return fe(te,E()).then(function(){throw ge})}:E)}})},{"./_core":65,"./_export":73,"./_global":76,"./_promise-resolve":110,"./_species-constructor":118}],148:[function(oe,we,Ae){"use strict";var de=oe("./_export"),ve=oe("./_new-promise-capability"),re=oe("./_perform");de(de.S,"Promise",{try:function(se){var fe=ve.f(this),E=re(se);return(E.e?fe.reject:fe.resolve)(E.v),fe.promise}})},{"./_export":73,"./_new-promise-capability":95,"./_perform":109}],149:[function(oe,we,Ae){oe("./_wks-define")("asyncIterator")},{"./_wks-define":129}],150:[function(oe,we,Ae){oe("./_wks-define")("observable")},{"./_wks-define":129}],151:[function(oe,we,Ae){oe("./es6.array.iterator");for(var de=oe("./_global"),ve=oe("./_hide"),re=oe("./_iterators"),se=oe("./_wks")("toStringTag"),fe="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),E=0;E<fe.length;E++){var te=fe[E],ne=de[te],ge=ne&&ne.prototype;ge&&!ge[se]&&ve(ge,se,te),re[te]=re.Array}},{"./_global":76,"./_hide":78,"./_iterators":91,"./_wks":131,"./es6.array.iterator":134}],152:[function(oe,we,Ae){var de=oe("./_export"),ve=oe("./_task");de(de.G+de.B,{setImmediate:ve.set,clearImmediate:ve.clear})},{"./_export":73,"./_task":120}],153:[function(oe,we,Ae){(function(de){"use strict";function ve(Te){return Array.isArray?Array.isArray(Te):Re(Te)==="[object Array]"}function re(Te){return typeof Te=="boolean"}function se(Te){return Te===null}function fe(Te){return Te==null}function E(Te){return typeof Te=="number"}function te(Te){return typeof Te=="string"}function ne(Te){return(Te===void 0?"undefined":(0,ye.default)(Te))==="symbol"}function ge(Te){return Te===void 0}function Ce(Te){return Re(Te)==="[object RegExp]"}function be(Te){return(Te===void 0?"undefined":(0,ye.default)(Te))==="object"&&Te!==null}function le(Te){return Re(Te)==="[object Date]"}function Ee(Te){return Re(Te)==="[object Error]"||Te instanceof Error}function Pe(Te){return typeof Te=="function"}function Ie(Te){return Te===null||typeof Te=="boolean"||typeof Te=="number"||typeof Te=="string"||(Te===void 0?"undefined":(0,ye.default)(Te))==="symbol"||Te===void 0}function Re(Te){return Object.prototype.toString.call(Te)}var Me=oe("babel-runtime/helpers/typeof"),ye=function(Te){return Te&&Te.__esModule?Te:{default:Te}}(Me);Ae.isArray=ve,Ae.isBoolean=re,Ae.isNull=se,Ae.isNullOrUndefined=fe,Ae.isNumber=E,Ae.isString=te,Ae.isSymbol=ne,Ae.isUndefined=ge,Ae.isRegExp=Ce,Ae.isObject=be,Ae.isDate=le,Ae.isError=Ee,Ae.isFunction=Pe,Ae.isPrimitive=Ie,Ae.isBuffer=de.isBuffer}).call(this,{isBuffer:oe("../../is-buffer/index.js")})},{"../../is-buffer/index.js":163,"babel-runtime/helpers/typeof":32}],154:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/helpers/typeof"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(re){function se(ge,Ce){for(ge=String(ge),Ce=Ce||2;ge.length<Ce;)ge="0"+ge;return ge}function fe(ge){var Ce=new Date(ge.getFullYear(),ge.getMonth(),ge.getDate());Ce.setDate(Ce.getDate()-(Ce.getDay()+6)%7+3);var be=new Date(Ce.getFullYear(),0,4);be.setDate(be.getDate()-(be.getDay()+6)%7+3);var le=Ce.getTimezoneOffset()-be.getTimezoneOffset();Ce.setHours(Ce.getHours()-le);var Ee=(Ce-be)/6048e5;return 1+Math.floor(Ee)}function E(ge){var Ce=ge.getDay();return Ce===0&&(Ce=7),Ce}function te(ge){return ge===null?"null":ge===void 0?"undefined":(ge===void 0?"undefined":(0,ve.default)(ge))!=="object"?ge===void 0?"undefined":(0,ve.default)(ge):Array.isArray(ge)?"array":{}.toString.call(ge).slice(8,-1).toLowerCase()}var ne=function(){var ge=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,Ce=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,be=/[^-+\dA-Z]/g;return function(le,Ee,Pe,Ie){if(arguments.length!==1||te(le)!=="string"||/\d/.test(le)||(Ee=le,le=void 0),le=le||new Date,le instanceof Date||(le=new Date(le)),isNaN(le))throw TypeError("Invalid date");Ee=String(ne.masks[Ee]||Ee||ne.masks.default);var Re=Ee.slice(0,4);Re!=="UTC:"&&Re!=="GMT:"||(Ee=Ee.slice(4),Pe=!0,Re==="GMT:"&&(Ie=!0));var Me=Pe?"getUTC":"get",ye=le[Me+"Date"](),Te=le[Me+"Day"](),Fe=le[Me+"Month"](),_e=le[Me+"FullYear"](),Oe=le[Me+"Hours"](),Ke=le[Me+"Minutes"](),We=le[Me+"Seconds"](),Ne=le[Me+"Milliseconds"](),Ye=Pe?0:le.getTimezoneOffset(),Je=fe(le),He=E(le),lt={d:ye,dd:se(ye),ddd:ne.i18n.dayNames[Te],dddd:ne.i18n.dayNames[Te+7],m:Fe+1,mm:se(Fe+1),mmm:ne.i18n.monthNames[Fe],mmmm:ne.i18n.monthNames[Fe+12],yy:String(_e).slice(2),yyyy:_e,h:Oe%12||12,hh:se(Oe%12||12),H:Oe,HH:se(Oe),M:Ke,MM:se(Ke),s:We,ss:se(We),l:se(Ne,3),L:se(Math.round(Ne/10)),t:Oe<12?"a":"p",tt:Oe<12?"am":"pm",T:Oe<12?"A":"P",TT:Oe<12?"AM":"PM",Z:Ie?"GMT":Pe?"UTC":(String(le).match(Ce)||[""]).pop().replace(be,""),o:(Ye>0?"-":"+")+se(100*Math.floor(Math.abs(Ye)/60)+Math.abs(Ye)%60,4),S:["th","st","nd","rd"][ye%10>3?0:(ye%100-ye%10!=10)*ye%10],W:Je,N:He};return Ee.replace(ge,function(ft){return ft in lt?lt[ft]:ft.slice(1,ft.length-1)})}}();ne.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},ne.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},typeof b=="function"&&b.amd?b(function(){return ne}):(Ae===void 0?"undefined":(0,ve.default)(Ae))==="object"?we.exports=ne:re.dateFormat=ne})(void 0)},{"babel-runtime/helpers/typeof":32}],155:[function(oe,we,Ae){(function(de){function ve(){return!(typeof window=="undefined"||!window.process||window.process.type!=="renderer")||typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function re(te){var ne=this.useColors;if(te[0]=(ne?"%c":"")+this.namespace+(ne?" %c":" ")+te[0]+(ne?"%c ":" ")+"+"+Ae.humanize(this.diff),ne){var ge="color: "+this.color;te.splice(1,0,ge,"color: inherit");var Ce=0,be=0;te[0].replace(/%[a-zA-Z%]/g,function(le){le!=="%%"&&(Ce++,le==="%c"&&(be=Ce))}),te.splice(be,0,ge)}}function se(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function fe(te){try{te==null?Ae.storage.removeItem("debug"):Ae.storage.debug=te}catch(ne){}}function E(){var te;try{te=Ae.storage.debug}catch(ne){}return!te&&de!==void 0&&"env"in de&&(te=de.env.DEBUG),te}Ae=we.exports=oe("./debug"),Ae.log=se,Ae.formatArgs=re,Ae.save=fe,Ae.load=E,Ae.useColors=ve,Ae.storage=typeof chrome!="undefined"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch(te){}}(),Ae.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],Ae.formatters.j=function(te){try{return JSON.stringify(te)}catch(ne){return"[UnexpectedJSONParseError]: "+ne.message}},Ae.enable(E())}).call(this,oe("_process"))},{"./debug":156,_process:173}],156:[function(oe,we,Ae){function de(ne){var ge,Ce=0;for(ge in ne)Ce=(Ce<<5)-Ce+ne.charCodeAt(ge),Ce|=0;return Ae.colors[Math.abs(Ce)%Ae.colors.length]}function ve(ne){function ge(){if(ge.enabled){var Ce=ge,be=+new Date,le=be-(te||be);Ce.diff=le,Ce.prev=te,Ce.curr=be,te=be;for(var Ee=new Array(arguments.length),Pe=0;Pe<Ee.length;Pe++)Ee[Pe]=arguments[Pe];Ee[0]=Ae.coerce(Ee[0]),typeof Ee[0]!="string"&&Ee.unshift("%O");var Ie=0;Ee[0]=Ee[0].replace(/%([a-zA-Z%])/g,function(Re,Me){if(Re==="%%")return Re;Ie++;var ye=Ae.formatters[Me];if(typeof ye=="function"){var Te=Ee[Ie];Re=ye.call(Ce,Te),Ee.splice(Ie,1),Ie--}return Re}),Ae.formatArgs.call(Ce,Ee),(ge.log||Ae.log||console.log.bind(console)).apply(Ce,Ee)}}return ge.namespace=ne,ge.enabled=Ae.enabled(ne),ge.useColors=Ae.useColors(),ge.color=de(ne),typeof Ae.init=="function"&&Ae.init(ge),ge}function re(ne){Ae.save(ne),Ae.names=[],Ae.skips=[];for(var ge=(typeof ne=="string"?ne:"").split(/[\s,]+/),Ce=ge.length,be=0;be<Ce;be++)ge[be]&&(ne=ge[be].replace(/\*/g,".*?"),ne[0]==="-"?Ae.skips.push(new RegExp("^"+ne.substr(1)+"$")):Ae.names.push(new RegExp("^"+ne+"$")))}function se(){Ae.enable("")}function fe(ne){var ge,Ce;for(ge=0,Ce=Ae.skips.length;ge<Ce;ge++)if(Ae.skips[ge].test(ne))return!1;for(ge=0,Ce=Ae.names.length;ge<Ce;ge++)if(Ae.names[ge].test(ne))return!0;return!1}function E(ne){return ne instanceof Error?ne.stack||ne.message:ne}Ae=we.exports=ve.debug=ve.default=ve,Ae.coerce=E,Ae.disable=se,Ae.enable=re,Ae.enabled=fe,Ae.humanize=oe("ms"),Ae.names=[],Ae.skips=[],Ae.formatters={};var te},{ms:169}],157:[function(oe,we,Ae){"use strict";function de(re){var se=""+re,fe=ve.exec(se);if(!fe)return se;var E,te="",ne=0,ge=0;for(ne=fe.index;ne<se.length;ne++){switch(se.charCodeAt(ne)){case 34:E="&quot;";break;case 38:E="&amp;";break;case 39:E="&#39;";break;case 60:E="&lt;";break;case 62:E="&gt;";break;default:continue}ge!==ne&&(te+=se.substring(ge,ne)),ge=ne+1,te+=E}return ge!==ne?te+se.substring(ge,ne):te}var ve=/["'&<>]/;we.exports=de},{}],158:[function(oe,we,Ae){function de(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function ve(E){return typeof E=="function"}function re(E){return typeof E=="number"}function se(E){return typeof E=="object"&&E!==null}function fe(E){return E===void 0}we.exports=de,de.EventEmitter=de,de.prototype._events=void 0,de.prototype._maxListeners=void 0,de.defaultMaxListeners=10,de.prototype.setMaxListeners=function(E){if(!re(E)||E<0||isNaN(E))throw TypeError("n must be a positive number");return this._maxListeners=E,this},de.prototype.emit=function(E){var te,ne,ge,Ce,be,le;if(this._events||(this._events={}),E==="error"&&(!this._events.error||se(this._events.error)&&!this._events.error.length)){if((te=arguments[1])instanceof Error)throw te;var Ee=new Error('Uncaught, unspecified "error" event. ('+te+")");throw Ee.context=te,Ee}if(ne=this._events[E],fe(ne))return!1;if(ve(ne))switch(arguments.length){case 1:ne.call(this);break;case 2:ne.call(this,arguments[1]);break;case 3:ne.call(this,arguments[1],arguments[2]);break;default:Ce=Array.prototype.slice.call(arguments,1),ne.apply(this,Ce)}else if(se(ne))for(Ce=Array.prototype.slice.call(arguments,1),le=ne.slice(),ge=le.length,be=0;be<ge;be++)le[be].apply(this,Ce);return!0},de.prototype.addListener=function(E,te){var ne;if(!ve(te))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",E,ve(te.listener)?te.listener:te),this._events[E]?se(this._events[E])?this._events[E].push(te):this._events[E]=[this._events[E],te]:this._events[E]=te,se(this._events[E])&&!this._events[E].warned&&(ne=fe(this._maxListeners)?de.defaultMaxListeners:this._maxListeners)&&ne>0&&this._events[E].length>ne&&(this._events[E].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[E].length),typeof console.trace=="function"&&console.trace()),this},de.prototype.on=de.prototype.addListener,de.prototype.once=function(E,te){function ne(){this.removeListener(E,ne),ge||(ge=!0,te.apply(this,arguments))}if(!ve(te))throw TypeError("listener must be a function");var ge=!1;return ne.listener=te,this.on(E,ne),this},de.prototype.removeListener=function(E,te){var ne,ge,Ce,be;if(!ve(te))throw TypeError("listener must be a function");if(!this._events||!this._events[E])return this;if(ne=this._events[E],Ce=ne.length,ge=-1,ne===te||ve(ne.listener)&&ne.listener===te)delete this._events[E],this._events.removeListener&&this.emit("removeListener",E,te);else if(se(ne)){for(be=Ce;be-- >0;)if(ne[be]===te||ne[be].listener&&ne[be].listener===te){ge=be;break}if(ge<0)return this;ne.length===1?(ne.length=0,delete this._events[E]):ne.splice(ge,1),this._events.removeListener&&this.emit("removeListener",E,te)}return this},de.prototype.removeAllListeners=function(E){var te,ne;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[E]&&delete this._events[E],this;if(arguments.length===0){for(te in this._events)te!=="removeListener"&&this.removeAllListeners(te);return this.removeAllListeners("removeListener"),this._events={},this}if(ne=this._events[E],ve(ne))this.removeListener(E,ne);else if(ne)for(;ne.length;)this.removeListener(E,ne[ne.length-1]);return delete this._events[E],this},de.prototype.listeners=function(E){return this._events&&this._events[E]?ve(this._events[E])?[this._events[E]]:this._events[E].slice():[]},de.prototype.listenerCount=function(E){if(this._events){var te=this._events[E];if(ve(te))return 1;if(te)return te.length}return 0},de.listenerCount=function(E,te){return E.listenerCount(te)}},{}],159:[function(oe,we,Ae){var de=oe("http"),ve=we.exports;for(var re in de)de.hasOwnProperty(re)&&(ve[re]=de[re]);ve.request=function(se,fe){return se||(se={}),se.scheme="https",se.protocol="https:",de.request.call(this,se,fe)}},{http:196}],160:[function(oe,we,Ae){"use strict";var de=oe("util"),ve=oe("ms");we.exports=function(re){if(typeof re=="number")return re;var se=ve(re);if(se===void 0){var fe=new Error(de.format("humanize-ms(%j) result undefined",re));console.warn(fe.stack)}return se}},{ms:169,util:207}],161:[function(oe,we,Ae){Ae.read=function(de,ve,re,se,fe){var E,te,ne=8*fe-se-1,ge=(1<<ne)-1,Ce=ge>>1,be=-7,le=re?fe-1:0,Ee=re?-1:1,Pe=de[ve+le];for(le+=Ee,E=Pe&(1<<-be)-1,Pe>>=-be,be+=ne;be>0;E=256*E+de[ve+le],le+=Ee,be-=8);for(te=E&(1<<-be)-1,E>>=-be,be+=se;be>0;te=256*te+de[ve+le],le+=Ee,be-=8);if(E===0)E=1-Ce;else{if(E===ge)return te?NaN:1/0*(Pe?-1:1);te+=Math.pow(2,se),E-=Ce}return(Pe?-1:1)*te*Math.pow(2,E-se)},Ae.write=function(de,ve,re,se,fe,E){var te,ne,ge,Ce=8*E-fe-1,be=(1<<Ce)-1,le=be>>1,Ee=fe===23?Math.pow(2,-24)-Math.pow(2,-77):0,Pe=se?0:E-1,Ie=se?1:-1,Re=ve<0||ve===0&&1/ve<0?1:0;for(ve=Math.abs(ve),isNaN(ve)||ve===1/0?(ne=isNaN(ve)?1:0,te=be):(te=Math.floor(Math.log(ve)/Math.LN2),ve*(ge=Math.pow(2,-te))<1&&(te--,ge*=2),ve+=te+le>=1?Ee/ge:Ee*Math.pow(2,1-le),ve*ge>=2&&(te++,ge/=2),te+le>=be?(ne=0,te=be):te+le>=1?(ne=(ve*ge-1)*Math.pow(2,fe),te+=le):(ne=ve*Math.pow(2,le-1)*Math.pow(2,fe),te=0));fe>=8;de[re+Pe]=255&ne,Pe+=Ie,ne/=256,fe-=8);for(te=te<<fe|ne,Ce+=fe;Ce>0;de[re+Pe]=255&te,Pe+=Ie,te/=256,Ce-=8);de[re+Pe-Ie]|=128*Re}},{}],162:[function(oe,we,Ae){typeof Object.create=="function"?we.exports=function(de,ve){de.super_=ve,de.prototype=Object.create(ve.prototype,{constructor:{value:de,enumerable:!1,writable:!0,configurable:!0}})}:we.exports=function(de,ve){de.super_=ve;var re=function(){};re.prototype=ve.prototype,de.prototype=new re,de.prototype.constructor=de}},{}],163:[function(oe,we,Ae){function de(re){return!!re.constructor&&typeof re.constructor.isBuffer=="function"&&re.constructor.isBuffer(re)}function ve(re){return typeof re.readFloatLE=="function"&&typeof re.slice=="function"&&de(re.slice(0,0))}we.exports=function(re){return re!=null&&(de(re)||ve(re)||!!re._isBuffer)}},{}],164:[function(oe,we,Ae){(function(de){function ve(fe){return se.call(fe).replace(/^[^{]*{\s*/,"").replace(/\s*}[^}]*$/,"")}function re(fe){return typeof fe=="function"&&(/^class(\s|\{\}$)/.test(se.call(fe))||/^.*classCallCheck\(/.test(ve(fe)))}var se=Function.prototype.toString;Ae!==void 0?(we!==void 0&&we.exports&&(Ae=we.exports=re),Ae.isClass=re):typeof b=="function"&&b.amd?b([],function(){return re}):de.isClass=re})(this)},{}],165:[function(oe,we,Ae){"use strict";function de(E){var te=E.slice(2);return te=te[0].toLowerCase()+te.slice(1)}var ve=oe("core-util-is"),re=oe("isstream"),se=oe("is-class");Object.keys(ve).map(function(E){Ae[de(E)]=ve[E]}),Ae.stream=re,Ae.readableStream=re.isReadable,Ae.writableStream=re.isWritable,Ae.duplexStream=re.isDuplex,Ae.class=se,Ae.finite=function(E){return Number.isFinite(E)},Ae.NaN=function(E){return Number.isNaN(E)},Ae.generator=function(E){return E&&typeof E.next=="function"&&typeof E.throw=="function"},Ae.generatorFunction=function(E){return E&&E.constructor&&E.constructor.name==="GeneratorFunction"},Ae.asyncFunction=function(E){return E&&E.constructor&&E.constructor.name==="AsyncFunction"},Ae.promise=function(E){return E&&typeof E.then=="function"};var fe=Math.pow(2,31);Ae.int=function(E){return ve.isNumber(E)&&E%1==0},Ae.int32=function(E){return Ae.int(E)&&E<fe&&E>=-fe},Ae.long=function(E){return Ae.int(E)&&(E>=fe||E<-fe)},Ae.Long=function(E){return Ae.object(E)&&Ae.number(E.high)&&Ae.number(E.low)},Ae.double=function(E){return ve.isNumber(E)&&!isNaN(E)&&E%1!=0},Ae.date=function(E){return E instanceof Date},Ae.regExp=function(E){return E instanceof RegExp},Ae.regexp=Ae.regExp,Ae.error=function(E){return E instanceof Error},Ae.array=function(E){return Array.isArray(E)}},{"core-util-is":153,"is-class":164,isstream:167}],166:[function(oe,we,Ae){var de={}.toString;we.exports=Array.isArray||function(ve){return de.call(ve)=="[object Array]"}},{}],167:[function(oe,we,Ae){function de(E){return E instanceof fe.Stream}function ve(E){return de(E)&&typeof E._read=="function"&&typeof E._readableState=="object"}function re(E){return de(E)&&typeof E._write=="function"&&typeof E._writableState=="object"}function se(E){return ve(E)&&re(E)}var fe=oe("stream");we.exports=de,we.exports.isReadable=ve,we.exports.isWritable=re,we.exports.isDuplex=se},{stream:195}],168:[function(oe,we,Ae){"use strict";function de(re,se,fe){if(!re)throw new TypeError("argument dest is required");if(!se)throw new TypeError("argument src is required");return fe===void 0&&(fe=!0),Object.getOwnPropertyNames(se).forEach(function(E){if(fe||!ve.call(re,E)){var te=Object.getOwnPropertyDescriptor(se,E);Object.defineProperty(re,E,te)}}),re}we.exports=de;var ve=Object.prototype.hasOwnProperty},{}],169:[function(oe,we,Ae){function de(Ce){if(Ce=String(Ce),!(Ce.length>100)){var be=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(Ce);if(be){var le=parseFloat(be[1]);switch((be[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return le*ge;case"days":case"day":case"d":return le*ne;case"hours":case"hour":case"hrs":case"hr":case"h":return le*te;case"minutes":case"minute":case"mins":case"min":case"m":return le*E;case"seconds":case"second":case"secs":case"sec":case"s":return le*fe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return le;default:return}}}}function ve(Ce){return Ce>=ne?Math.round(Ce/ne)+"d":Ce>=te?Math.round(Ce/te)+"h":Ce>=E?Math.round(Ce/E)+"m":Ce>=fe?Math.round(Ce/fe)+"s":Ce+"ms"}function re(Ce){return se(Ce,ne,"day")||se(Ce,te,"hour")||se(Ce,E,"minute")||se(Ce,fe,"second")||Ce+" ms"}function se(Ce,be,le){if(!(Ce<be))return Ce<1.5*be?Math.floor(Ce/be)+" "+le:Math.ceil(Ce/be)+" "+le+"s"}var fe=1e3,E=60*fe,te=60*E,ne=24*te,ge=365.25*ne;we.exports=function(Ce,be){be=be||{};var le=typeof Ce;if(le==="string"&&Ce.length>0)return de(Ce);if(le==="number"&&isNaN(Ce)===!1)return be.long?re(Ce):ve(Ce);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(Ce))}},{}],170:[function(oe,we,Ae){(function(de){function ve(E,te){for(var ne=0,ge=E.length-1;ge>=0;ge--){var Ce=E[ge];Ce==="."?E.splice(ge,1):Ce===".."?(E.splice(ge,1),ne++):ne&&(E.splice(ge,1),ne--)}if(te)for(;ne--;ne)E.unshift("..");return E}function re(E){typeof E!="string"&&(E+="");var te,ne=0,ge=-1,Ce=!0;for(te=E.length-1;te>=0;--te)if(E.charCodeAt(te)===47){if(!Ce){ne=te+1;break}}else ge===-1&&(Ce=!1,ge=te+1);return ge===-1?"":E.slice(ne,ge)}function se(E,te){if(E.filter)return E.filter(te);for(var ne=[],ge=0;ge<E.length;ge++)te(E[ge],ge,E)&&ne.push(E[ge]);return ne}Ae.resolve=function(){for(var E="",te=!1,ne=arguments.length-1;ne>=-1&&!te;ne--){var ge=ne>=0?arguments[ne]:de.cwd();if(typeof ge!="string")throw new TypeError("Arguments to path.resolve must be strings");ge&&(E=ge+"/"+E,te=ge.charAt(0)==="/")}return E=ve(se(E.split("/"),function(Ce){return!!Ce}),!te).join("/"),(te?"/":"")+E||"."},Ae.normalize=function(E){var te=Ae.isAbsolute(E),ne=fe(E,-1)==="/";return E=ve(se(E.split("/"),function(ge){return!!ge}),!te).join("/"),E||te||(E="."),E&&ne&&(E+="/"),(te?"/":"")+E},Ae.isAbsolute=function(E){return E.charAt(0)==="/"},Ae.join=function(){var E=Array.prototype.slice.call(arguments,0);return Ae.normalize(se(E,function(te,ne){if(typeof te!="string")throw new TypeError("Arguments to path.join must be strings");return te}).join("/"))},Ae.relative=function(E,te){function ne(Ie){for(var Re=0;Re<Ie.length&&Ie[Re]==="";Re++);for(var Me=Ie.length-1;Me>=0&&Ie[Me]==="";Me--);return Re>Me?[]:Ie.slice(Re,Me-Re+1)}E=Ae.resolve(E).substr(1),te=Ae.resolve(te).substr(1);for(var ge=ne(E.split("/")),Ce=ne(te.split("/")),be=Math.min(ge.length,Ce.length),le=be,Ee=0;Ee<be;Ee++)if(ge[Ee]!==Ce[Ee]){le=Ee;break}for(var Pe=[],Ee=le;Ee<ge.length;Ee++)Pe.push("..");return Pe=Pe.concat(Ce.slice(le)),Pe.join("/")},Ae.sep="/",Ae.delimiter=":",Ae.dirname=function(E){if(typeof E!="string"&&(E+=""),E.length===0)return".";for(var te=E.charCodeAt(0),ne=te===47,ge=-1,Ce=!0,be=E.length-1;be>=1;--be)if((te=E.charCodeAt(be))===47){if(!Ce){ge=be;break}}else Ce=!1;return ge===-1?ne?"/":".":ne&&ge===1?"/":E.slice(0,ge)},Ae.basename=function(E,te){var ne=re(E);return te&&ne.substr(-1*te.length)===te&&(ne=ne.substr(0,ne.length-te.length)),ne},Ae.extname=function(E){typeof E!="string"&&(E+="");for(var te=-1,ne=0,ge=-1,Ce=!0,be=0,le=E.length-1;le>=0;--le){var Ee=E.charCodeAt(le);if(Ee!==47)ge===-1&&(Ce=!1,ge=le+1),Ee===46?te===-1?te=le:be!==1&&(be=1):te!==-1&&(be=-1);else if(!Ce){ne=le+1;break}}return te===-1||ge===-1||be===0||be===1&&te===ge-1&&te===ne+1?"":E.slice(te,ge)};var fe=function(E,te,ne){return E.substr(te,ne)}}).call(this,oe("_process"))},{_process:173}],171:[function(oe,we,Ae){(function(de){(function(){"use strict";function ve(We){return We=String(We),We.charAt(0).toUpperCase()+We.slice(1)}function re(We,Ne,Ye){var Je={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return Ne&&Ye&&/^Win/i.test(We)&&!/^Windows Phone /i.test(We)&&(Je=Je[/[\d.]+$/.exec(We)])&&(We="Windows "+Je),We=String(We),Ne&&Ye&&(We=We.replace(RegExp(Ne,"i"),Ye)),We=fe(We.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}function se(We,Ne){var Ye=-1,Je=We?We.length:0;if(typeof Je=="number"&&Je>-1&&Je<=ye)for(;++Ye<Je;)Ne(We[Ye],Ye,We);else E(We,Ne)}function fe(We){return We=be(We),/^(?:webOS|i(?:OS|P))/.test(We)?We:ve(We)}function E(We,Ne){for(var Ye in We)_e.call(We,Ye)&&Ne(We[Ye],Ye,We)}function te(We){return We==null?ve(We):Oe.call(We).slice(8,-1)}function ne(We,Ne){var Ye=We!=null?typeof We[Ne]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(Ye)||Ye=="object"&&!We[Ne])}function ge(We){return String(We).replace(/([ -])(?!$)/g,"$1?")}function Ce(We,Ne){var Ye=null;return se(We,function(Je,He){Ye=Ne(Ye,Je,He,We)}),Ye}function be(We){return String(We).replace(/^ +| +$/g,"")}function le(We){function Ne(Le){return Ce(Le,function(Se,Be){var Qe=Be.pattern||ge(Be);return!Se&&(Se=RegExp("\\b"+Qe+" *\\d+[.\\w_]*","i").exec(We)||RegExp("\\b"+Qe+" *\\w+-[\\w]*","i").exec(We)||RegExp("\\b"+Qe+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(We))&&((Se=String(Be.label&&!RegExp(Qe,"i").test(Be.label)?Be.label:Se).split("/"))[1]&&!/[\d.]+/.test(Se[0])&&(Se[0]+=" "+Se[1]),Be=Be.label||Be,Se=fe(Se[0].replace(RegExp(Qe,"i"),Be).replace(RegExp("; *(?:"+Be+"[_-])?","i")," ").replace(RegExp("("+Be+")[-_.]?(\\w)","i"),"$1 $2"))),Se})}function Ye(){return this.description||""}var Je=Pe,He=We&&typeof We=="object"&&te(We)!="String";He&&(Je=We,We=null);var lt=Je.navigator||{},ft=lt.userAgent||"";We||(We=ft);var tt,Ot,nt=He?!!lt.likeChrome:/\bChrome\b/.test(We)&&!/internal|\n/i.test(Oe.toString()),Ze=He?"Object":"ScriptBridgingProxyObject",Ge=He?"Object":"Environment",$e=He&&Je.java?"JavaPackage":te(Je.java),qe=He?"Object":"RuntimeObject",Ve=/\bJava/.test($e)&&Je.java,mt=Ve&&te(Je.environment)==Ge,st=Ve?"a":"\u4F2A",Lt=Ve?"b":"\u5C3E",ct=Je.document||{},Tt=Je.operamini||Je.opera,xt=Te.test(xt=He&&Tt?Tt["[[Class]]"]:te(Tt))?xt:Tt=null,wt=We,yt=[],je=null,ue=We==ft,ie=ue&&Tt&&typeof Tt.version=="function"&&Tt.version(),ke=function(Le){return Ce(Le,function(Se,Be){return Se||RegExp("\\b"+(Be.pattern||ge(Be))+"\\b","i").exec(We)&&(Be.label||Be)})}([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Xe=function(Le){return Ce(Le,function(Se,Be){return Se||RegExp("\\b"+(Be.pattern||ge(Be))+"\\b","i").exec(We)&&(Be.label||Be)})}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),De=Ne([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),pe=function(Le){return Ce(Le,function(Se,Be,Qe){return Se||(Be[De]||Be[/^[a-z]+(?: +[a-z]+\b)*/i.exec(De)]||RegExp("\\b"+ge(Qe)+"(?:\\b|\\w*\\d)","i").exec(We))&&Qe})}({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),x=function(Le){return Ce(Le,function(Se,Be){var Qe=Be.pattern||ge(Be);return!Se&&(Se=RegExp("\\b"+Qe+"(?:/[\\d.]+|[ \\w.]*)","i").exec(We))&&(Se=re(Se,Qe,Be.label||Be)),Se})}(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);if(ke&&(ke=[ke]),pe&&!De&&(De=Ne([pe])),(tt=/\bGoogle TV\b/.exec(De))&&(De=tt[0]),/\bSimulator\b/i.test(We)&&(De=(De?De+" ":"")+"Simulator"),Xe=="Opera Mini"&&/\bOPiOS\b/.test(We)&&yt.push("running in Turbo/Uncompressed mode"),Xe=="IE"&&/\blike iPhone OS\b/.test(We)?(tt=le(We.replace(/like iPhone OS/,"")),pe=tt.manufacturer,De=tt.product):/^iP/.test(De)?(Xe||(Xe="Safari"),x="iOS"+((tt=/ OS ([\d_]+)/i.exec(We))?" "+tt[1].replace(/_/g,"."):"")):Xe!="Konqueror"||/buntu/i.test(x)?pe&&pe!="Google"&&(/Chrome/.test(Xe)&&!/\bMobile Safari\b/i.test(We)||/\bVita\b/.test(De))||/\bAndroid\b/.test(x)&&/^Chrome/.test(Xe)&&/\bVersion\//i.test(We)?(Xe="Android Browser",x=/\bAndroid\b/.test(x)?x:"Android"):Xe=="Silk"?(/\bMobi/i.test(We)||(x="Android",yt.unshift("desktop mode")),/Accelerated *= *true/i.test(We)&&yt.unshift("accelerated")):Xe=="PaleMoon"&&(tt=/\bFirefox\/([\d.]+)\b/.exec(We))?yt.push("identifying as Firefox "+tt[1]):Xe=="Firefox"&&(tt=/\b(Mobile|Tablet|TV)\b/i.exec(We))?(x||(x="Firefox OS"),De||(De=tt[1])):!Xe||(tt=!/\bMinefield\b/i.test(We)&&/\b(?:Firefox|Safari)\b/.exec(Xe))?(Xe&&!De&&/[\/,]|^[^(]+?\)/.test(We.slice(We.indexOf(tt+"/")+8))&&(Xe=null),(tt=De||pe||x)&&(De||pe||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(x))&&(Xe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(x)?x:tt)+" Browser")):Xe=="Electron"&&(tt=(/\bChrome\/([\d.]+)\b/.exec(We)||0)[1])&&yt.push("Chromium "+tt):x="Kubuntu",ie||(ie=function(Le){return Ce(Le,function(Se,Be){return Se||(RegExp(Be+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(We)||0)[1]||null})}(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",ge(Xe),"(?:Firefox|Minefield|NetFront)"])),(tt=ke=="iCab"&&parseFloat(ie)>3&&"WebKit"||/\bOpera\b/.test(Xe)&&(/\bOPR\b/.test(We)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(We)&&!/^(?:Trident|EdgeHTML)$/.test(ke)&&"WebKit"||!ke&&/\bMSIE\b/i.test(We)&&(x=="Mac OS"?"Tasman":"Trident")||ke=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Xe)&&"NetFront")&&(ke=[tt]),Xe=="IE"&&(tt=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(We)||0)[1])?(Xe+=" Mobile",x="Windows Phone "+(/\+$/.test(tt)?tt:tt+".x"),yt.unshift("desktop mode")):/\bWPDesktop\b/i.test(We)?(Xe="IE Mobile",x="Windows Phone 8.x",yt.unshift("desktop mode"),ie||(ie=(/\brv:([\d.]+)/.exec(We)||0)[1])):Xe!="IE"&&ke=="Trident"&&(tt=/\brv:([\d.]+)/.exec(We))&&(Xe&&yt.push("identifying as "+Xe+(ie?" "+ie:"")),Xe="IE",ie=tt[1]),ue){if(ne(Je,"global"))if(Ve&&(tt=Ve.lang.System,wt=tt.getProperty("os.arch"),x=x||tt.getProperty("os.name")+" "+tt.getProperty("os.version")),mt){try{ie=Je.require("ringo/engine").version.join("."),Xe="RingoJS"}catch(Le){(tt=Je.system)&&tt.global.system==Je.system&&(Xe="Narwhal",x||(x=tt[0].os||null))}Xe||(Xe="Rhino")}else typeof Je.process=="object"&&!Je.process.browser&&(tt=Je.process)&&(typeof tt.versions=="object"&&(typeof tt.versions.electron=="string"?(yt.push("Node "+tt.versions.node),Xe="Electron",ie=tt.versions.electron):typeof tt.versions.nw=="string"&&(yt.push("Chromium "+ie,"Node "+tt.versions.node),Xe="NW.js",ie=tt.versions.nw)),Xe||(Xe="Node.js",wt=tt.arch,x=tt.platform,ie=/[\d.]+/.exec(tt.version),ie=ie?ie[0]:null));else te(tt=Je.runtime)==Ze?(Xe="Adobe AIR",x=tt.flash.system.Capabilities.os):te(tt=Je.phantom)==qe?(Xe="PhantomJS",ie=(tt=tt.version||null)&&tt.major+"."+tt.minor+"."+tt.patch):typeof ct.documentMode=="number"&&(tt=/\bTrident\/(\d+)/i.exec(We))?(ie=[ie,ct.documentMode],(tt=+tt[1]+4)!=ie[1]&&(yt.push("IE "+ie[1]+" mode"),ke&&(ke[1]=""),ie[1]=tt),ie=Xe=="IE"?String(ie[1].toFixed(1)):ie[0]):typeof ct.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Xe)&&(yt.push("masking as "+Xe+" "+ie),Xe="IE",ie="11.0",ke=["Trident"],x="Windows");x=x&&fe(x)}if(ie&&(tt=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ie)||/(?:alpha|beta)(?: ?\d)?/i.exec(We+";"+(ue&&lt.appMinorVersion))||/\bMinefield\b/i.test(We)&&"a")&&(je=/b/i.test(tt)?"beta":"alpha",ie=ie.replace(RegExp(tt+"\\+?$"),"")+(je=="beta"?Lt:st)+(/\d+\+?/.exec(tt)||"")),Xe=="Fennec"||Xe=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(x))Xe="Firefox Mobile";else if(Xe=="Maxthon"&&ie)ie=ie.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(De))De=="Xbox 360"&&(x=null),De=="Xbox 360"&&/\bIEMobile\b/.test(We)&&yt.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(Xe)&&(!Xe||De||/Browser|Mobi/.test(Xe))||x!="Windows CE"&&!/Mobi/i.test(We))if(Xe=="IE"&&ue)try{Je.external===null&&yt.unshift("platform preview")}catch(Le){yt.unshift("embedded")}else(/\bBlackBerry\b/.test(De)||/\bBB10\b/.test(We))&&(tt=(RegExp(De.replace(/ +/g," *")+"/([.\\d]+)","i").exec(We)||0)[1]||ie)?(tt=[tt,/BB10/.test(We)],x=(tt[1]?(De=null,pe="BlackBerry"):"Device Software")+" "+tt[0],ie=null):this!=E&&De!="Wii"&&(ue&&Tt||/Opera/.test(Xe)&&/\b(?:MSIE|Firefox)\b/i.test(We)||Xe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(x)||Xe=="IE"&&(x&&!/^Win/.test(x)&&ie>5.5||/\bWindows XP\b/.test(x)&&ie>8||ie==8&&!/\bTrident\b/.test(We)))&&!Te.test(tt=le.call(E,We.replace(Te,"")+";"))&&tt.name&&(tt="ing as "+tt.name+((tt=tt.version)?" "+tt:""),Te.test(Xe)?(/\bIE\b/.test(tt)&&x=="Mac OS"&&(x=null),tt="identify"+tt):(tt="mask"+tt,Xe=xt?fe(xt.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(tt)&&(x=null),ue||(ie=null)),ke=["Presto"],yt.push(tt));else Xe+=" Mobile";(tt=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(We)||0)[1])&&(tt=[parseFloat(tt.replace(/\.(\d)$/,".0$1")),tt],Xe=="Safari"&&tt[1].slice(-1)=="+"?(Xe="WebKit Nightly",je="alpha",ie=tt[1].slice(0,-1)):ie!=tt[1]&&ie!=(tt[2]=(/\bSafari\/([\d.]+\+?)/i.exec(We)||0)[1])||(ie=null),tt[1]=(/\bChrome\/([\d.]+)/i.exec(We)||0)[1],tt[0]==537.36&&tt[2]==537.36&&parseFloat(tt[1])>=28&&ke=="WebKit"&&(ke=["Blink"]),ue&&(nt||tt[1])?(ke&&(ke[1]="like Chrome"),tt=tt[1]||(tt=tt[0],tt<530?1:tt<532?2:tt<532.05?3:tt<533?4:tt<534.03?5:tt<534.07?6:tt<534.1?7:tt<534.13?8:tt<534.16?9:tt<534.24?10:tt<534.3?11:tt<535.01?12:tt<535.02?"13+":tt<535.07?15:tt<535.11?16:tt<535.19?17:tt<536.05?18:tt<536.1?19:tt<537.01?20:tt<537.11?"21+":tt<537.13?23:tt<537.18?24:tt<537.24?25:tt<537.36?26:ke!="Blink"?"27":"28")):(ke&&(ke[1]="like Safari"),tt=tt[0],tt=tt<400?1:tt<500?2:tt<526?3:tt<533?4:tt<534?"4+":tt<535?5:tt<537?6:tt<538?7:tt<601?8:"8"),ke&&(ke[1]+=" "+(tt+=typeof tt=="number"?".x":/[.+]/.test(tt)?"":"+")),Xe=="Safari"&&(!ie||parseInt(ie)>45)&&(ie=tt)),Xe=="Opera"&&(tt=/\bzbov|zvav$/.exec(x))?(Xe+=" ",yt.unshift("desktop mode"),tt=="zvav"?(Xe+="Mini",ie=null):Xe+="Mobile",x=x.replace(RegExp(" *"+tt+"$"),"")):Xe=="Safari"&&/\bChrome\b/.exec(ke&&ke[1])&&(yt.unshift("desktop mode"),Xe="Chrome Mobile",ie=null,/\bOS X\b/.test(x)?(pe="Apple",x="iOS 4.3+"):x=null),ie&&ie.indexOf(tt=/[\d.]+$/.exec(x))==0&&We.indexOf("/"+tt+"-")>-1&&(x=be(x.replace(tt,""))),ke&&!/\b(?:Avant|Nook)\b/.test(Xe)&&(/Browser|Lunascape|Maxthon/.test(Xe)||Xe!="Safari"&&/^iOS/.test(x)&&/\bSafari\b/.test(ke[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(Xe)&&ke[1])&&(tt=ke[ke.length-1])&&yt.push(tt),yt.length&&(yt=["("+yt.join("; ")+")"]),pe&&De&&De.indexOf(pe)<0&&yt.push("on "+pe),De&&yt.push((/^on /.test(yt[yt.length-1])?"":"on ")+De),x&&(tt=/ ([\d.+]+)$/.exec(x),Ot=tt&&x.charAt(x.length-tt[0].length-1)=="/",x={architecture:32,family:tt&&!Ot?x.replace(tt[0],""):x,version:tt?tt[1]:null,toString:function(){var Le=this.version;return this.family+(Le&&!Ot?" "+Le:"")+(this.architecture==64?" 64-bit":"")}}),(tt=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(wt))&&!/\bi686\b/i.test(wt)?(x&&(x.architecture=64,x.family=x.family.replace(RegExp(" *"+tt),"")),Xe&&(/\bWOW64\b/i.test(We)||ue&&/\w(?:86|32)$/.test(lt.cpuClass||lt.platform)&&!/\bWin64; x64\b/i.test(We))&&yt.unshift("32-bit")):x&&/^OS X/.test(x.family)&&Xe=="Chrome"&&parseFloat(ie)>=39&&(x.architecture=64),We||(We=null);var me={};return me.description=We,me.layout=ke&&ke[0],me.manufacturer=pe,me.name=Xe,me.prerelease=je,me.product=De,me.ua=We,me.version=Xe&&ie,me.os=x||{architecture:null,family:null,version:null,toString:function(){return"null"}},me.parse=le,me.toString=Ye,me.version&&yt.unshift(ie),me.name&&yt.unshift(Xe),x&&Xe&&(x!=String(x).split(" ")[0]||x!=Xe.split(" ")[0]&&!De)&&yt.push(De?"("+x+")":"on "+x),yt.length&&(me.description=yt.join(" ")),me}var Ee={function:!0,object:!0},Pe=Ee[typeof window]&&window||this,Ie=Ee[typeof Ae]&&Ae,Re=Ee[typeof we]&&we&&!we.nodeType&&we,Me=Ie&&Re&&typeof de=="object"&&de;!Me||Me.global!==Me&&Me.window!==Me&&Me.self!==Me||(Pe=Me);var ye=Math.pow(2,53)-1,Te=/\bOpera/,Fe=Object.prototype,_e=Fe.hasOwnProperty,Oe=Fe.toString,Ke=le();typeof b=="function"&&typeof b.amd=="object"&&b.amd?(Pe.platform=Ke,b(function(){return Ke})):Ie&&Re?E(Ke,function(We,Ne){Ie[Ne]=We}):Pe.platform=Ke}).call(this)}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],172:[function(oe,we,Ae){(function(de){"use strict";function ve(re,se,fe,E){if(typeof re!="function")throw new TypeError('"callback" argument must be a function');var te,ne,ge=arguments.length;switch(ge){case 0:case 1:return de.nextTick(re);case 2:return de.nextTick(function(){re.call(null,se)});case 3:return de.nextTick(function(){re.call(null,se,fe)});case 4:return de.nextTick(function(){re.call(null,se,fe,E)});default:for(te=new Array(ge-1),ne=0;ne<te.length;)te[ne++]=arguments[ne];return de.nextTick(function(){re.apply(null,te)})}}!de.version||de.version.indexOf("v0.")===0||de.version.indexOf("v1.")===0&&de.version.indexOf("v1.8.")!==0?we.exports={nextTick:ve}:we.exports=de}).call(this,oe("_process"))},{_process:173}],173:[function(oe,we,Ae){function de(){throw new Error("setTimeout has not been defined")}function ve(){throw new Error("clearTimeout has not been defined")}function re(Re){if(ge===setTimeout)return setTimeout(Re,0);if((ge===de||!ge)&&setTimeout)return ge=setTimeout,setTimeout(Re,0);try{return ge(Re,0)}catch(Me){try{return ge.call(null,Re,0)}catch(ye){return ge.call(this,Re,0)}}}function se(Re){if(Ce===clearTimeout)return clearTimeout(Re);if((Ce===ve||!Ce)&&clearTimeout)return Ce=clearTimeout,clearTimeout(Re);try{return Ce(Re)}catch(Me){try{return Ce.call(null,Re)}catch(ye){return Ce.call(this,Re)}}}function fe(){Pe&&le&&(Pe=!1,le.length?Ee=le.concat(Ee):Ie=-1,Ee.length&&E())}function E(){if(!Pe){var Re=re(fe);Pe=!0;for(var Me=Ee.length;Me;){for(le=Ee,Ee=[];++Ie<Me;)le&&le[Ie].run();Ie=-1,Me=Ee.length}le=null,Pe=!1,se(Re)}}function te(Re,Me){this.fun=Re,this.array=Me}function ne(){}var ge,Ce,be=we.exports={};(function(){try{ge=typeof setTimeout=="function"?setTimeout:de}catch(Re){ge=de}try{Ce=typeof clearTimeout=="function"?clearTimeout:ve}catch(Re){Ce=ve}})();var le,Ee=[],Pe=!1,Ie=-1;be.nextTick=function(Re){var Me=new Array(arguments.length-1);if(arguments.length>1)for(var ye=1;ye<arguments.length;ye++)Me[ye-1]=arguments[ye];Ee.push(new te(Re,Me)),Ee.length!==1||Pe||re(E)},te.prototype.run=function(){this.fun.apply(null,this.array)},be.title="browser",be.browser=!0,be.env={},be.argv=[],be.version="",be.versions={},be.on=ne,be.addListener=ne,be.once=ne,be.off=ne,be.removeListener=ne,be.removeAllListeners=ne,be.emit=ne,be.prependListener=ne,be.prependOnceListener=ne,be.listeners=function(Re){return[]},be.binding=function(Re){throw new Error("process.binding is not supported")},be.cwd=function(){return"/"},be.chdir=function(Re){throw new Error("process.chdir is not supported")},be.umask=function(){return 0}},{}],174:[function(oe,we,Ae){(function(de){(function(ve){function re($e){throw new RangeError(Ot[$e])}function se($e,qe){for(var Ve=$e.length,mt=[];Ve--;)mt[Ve]=qe($e[Ve]);return mt}function fe($e,qe){var Ve=$e.split("@"),mt="";return Ve.length>1&&(mt=Ve[0]+"@",$e=Ve[1]),$e=$e.replace(tt,"."),mt+se($e.split("."),qe).join(".")}function E($e){for(var qe,Ve,mt=[],st=0,Lt=$e.length;st<Lt;)qe=$e.charCodeAt(st++),qe>=55296&&qe<=56319&&st<Lt?(Ve=$e.charCodeAt(st++),(64512&Ve)==56320?mt.push(((1023&qe)<<10)+(1023&Ve)+65536):(mt.push(qe),st--)):mt.push(qe);return mt}function te($e){return se($e,function(qe){var Ve="";return qe>65535&&(qe-=65536,Ve+=Ge(qe>>>10&1023|55296),qe=56320|1023&qe),Ve+=Ge(qe)}).join("")}function ne($e){return $e-48<10?$e-22:$e-65<26?$e-65:$e-97<26?$e-97:_e}function ge($e,qe){return $e+22+75*($e<26)-((qe!=0)<<5)}function Ce($e,qe,Ve){var mt=0;for($e=Ve?Ze($e/Ne):$e>>1,$e+=Ze($e/qe);$e>nt*Ke>>1;mt+=_e)$e=Ze($e/nt);return Ze(mt+(nt+1)*$e/($e+We))}function be($e){var qe,Ve,mt,st,Lt,ct,Tt,xt,wt,yt,je=[],ue=$e.length,ie=0,ke=Je,Xe=Ye;for(Ve=$e.lastIndexOf(He),Ve<0&&(Ve=0),mt=0;mt<Ve;++mt)$e.charCodeAt(mt)>=128&&re("not-basic"),je.push($e.charCodeAt(mt));for(st=Ve>0?Ve+1:0;st<ue;){for(Lt=ie,ct=1,Tt=_e;st>=ue&&re("invalid-input"),xt=ne($e.charCodeAt(st++)),(xt>=_e||xt>Ze((Fe-ie)/ct))&&re("overflow"),ie+=xt*ct,wt=Tt<=Xe?Oe:Tt>=Xe+Ke?Ke:Tt-Xe,!(xt<wt);Tt+=_e)yt=_e-wt,ct>Ze(Fe/yt)&&re("overflow"),ct*=yt;qe=je.length+1,Xe=Ce(ie-Lt,qe,Lt==0),Ze(ie/qe)>Fe-ke&&re("overflow"),ke+=Ze(ie/qe),ie%=qe,je.splice(ie++,0,ke)}return te(je)}function le($e){var qe,Ve,mt,st,Lt,ct,Tt,xt,wt,yt,je,ue,ie,ke,Xe,De=[];for($e=E($e),ue=$e.length,qe=Je,Ve=0,Lt=Ye,ct=0;ct<ue;++ct)(je=$e[ct])<128&&De.push(Ge(je));for(mt=st=De.length,st&&De.push(He);mt<ue;){for(Tt=Fe,ct=0;ct<ue;++ct)(je=$e[ct])>=qe&&je<Tt&&(Tt=je);for(ie=mt+1,Tt-qe>Ze((Fe-Ve)/ie)&&re("overflow"),Ve+=(Tt-qe)*ie,qe=Tt,ct=0;ct<ue;++ct)if(je=$e[ct],je<qe&&++Ve>Fe&&re("overflow"),je==qe){for(xt=Ve,wt=_e;yt=wt<=Lt?Oe:wt>=Lt+Ke?Ke:wt-Lt,!(xt<yt);wt+=_e)Xe=xt-yt,ke=_e-yt,De.push(Ge(ge(yt+Xe%ke,0))),xt=Ze(Xe/ke);De.push(Ge(ge(xt,0))),Lt=Ce(Ve,ie,mt==st),Ve=0,++mt}++Ve,++qe}return De.join("")}function Ee($e){return fe($e,function(qe){return lt.test(qe)?be(qe.slice(4).toLowerCase()):qe})}function Pe($e){return fe($e,function(qe){return ft.test(qe)?"xn--"+le(qe):qe})}var Ie=typeof Ae=="object"&&Ae&&!Ae.nodeType&&Ae,Re=typeof we=="object"&&we&&!we.nodeType&&we,Me=typeof de=="object"&&de;Me.global!==Me&&Me.window!==Me&&Me.self!==Me||(ve=Me);var ye,Te,Fe=2147483647,_e=36,Oe=1,Ke=26,We=38,Ne=700,Ye=72,Je=128,He="-",lt=/^xn--/,ft=/[^\x20-\x7E]/,tt=/[\x2E\u3002\uFF0E\uFF61]/g,Ot={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},nt=_e-Oe,Ze=Math.floor,Ge=String.fromCharCode;if(ye={version:"1.4.1",ucs2:{decode:E,encode:te},decode:be,encode:le,toASCII:Pe,toUnicode:Ee},typeof b=="function"&&typeof b.amd=="object"&&b.amd)b("punycode",function(){return ye});else if(Ie&&Re)if(we.exports==Ie)Re.exports=ye;else for(Te in ye)ye.hasOwnProperty(Te)&&(Ie[Te]=ye[Te]);else ve.punycode=ye})(this)}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],175:[function(oe,we,Ae){"use strict";function de(re,se){return Object.prototype.hasOwnProperty.call(re,se)}we.exports=function(re,se,fe,E){se=se||"&",fe=fe||"=";var te={};if(typeof re!="string"||re.length===0)return te;var ne=/\+/g;re=re.split(se);var ge=1e3;E&&typeof E.maxKeys=="number"&&(ge=E.maxKeys);var Ce=re.length;ge>0&&Ce>ge&&(Ce=ge);for(var be=0;be<Ce;++be){var le,Ee,Pe,Ie,Re=re[be].replace(ne,"%20"),Me=Re.indexOf(fe);Me>=0?(le=Re.substr(0,Me),Ee=Re.substr(Me+1)):(le=Re,Ee=""),Pe=decodeURIComponent(le),Ie=decodeURIComponent(Ee),de(te,Pe)?ve(te[Pe])?te[Pe].push(Ie):te[Pe]=[te[Pe],Ie]:te[Pe]=Ie}return te};var ve=Array.isArray||function(re){return Object.prototype.toString.call(re)==="[object Array]"}},{}],176:[function(oe,we,Ae){"use strict";function de(fe,E){if(fe.map)return fe.map(E);for(var te=[],ne=0;ne<fe.length;ne++)te.push(E(fe[ne],ne));return te}var ve=function(fe){switch(typeof fe){case"string":return fe;case"boolean":return fe?"true":"false";case"number":return isFinite(fe)?fe:"";default:return""}};we.exports=function(fe,E,te,ne){return E=E||"&",te=te||"=",fe===null&&(fe=void 0),typeof fe=="object"?de(se(fe),function(ge){var Ce=encodeURIComponent(ve(ge))+te;return re(fe[ge])?de(fe[ge],function(be){return Ce+encodeURIComponent(ve(be))}).join(E):Ce+encodeURIComponent(ve(fe[ge]))}).join(E):ne?encodeURIComponent(ve(ne))+te+encodeURIComponent(ve(fe)):""};var re=Array.isArray||function(fe){return Object.prototype.toString.call(fe)==="[object Array]"},se=Object.keys||function(fe){var E=[];for(var te in fe)Object.prototype.hasOwnProperty.call(fe,te)&&E.push(te);return E}},{}],177:[function(oe,we,Ae){"use strict";Ae.decode=Ae.parse=oe("./decode"),Ae.encode=Ae.stringify=oe("./encode")},{"./decode":175,"./encode":176}],178:[function(oe,we,Ae){we.exports=oe("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":179}],179:[function(oe,we,Ae){"use strict";function de(Pe){if(!(this instanceof de))return new de(Pe);ge.call(this,Pe),Ce.call(this,Pe),Pe&&Pe.readable===!1&&(this.readable=!1),Pe&&Pe.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,Pe&&Pe.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",ve)}function ve(){this.allowHalfOpen||this._writableState.ended||E.nextTick(re,this)}function re(Pe){Pe.end()}var se=oe("babel-runtime/core-js/object/keys"),fe=function(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}(se),E=oe("process-nextick-args"),te=fe.default||function(Pe){var Ie=[];for(var Re in Pe)Ie.push(Re);return Ie};we.exports=de;var ne=oe("core-util-is");ne.inherits=oe("inherits");var ge=oe("./_stream_readable"),Ce=oe("./_stream_writable");ne.inherits(de,ge);for(var be=te(Ce.prototype),le=0;le<be.length;le++){var Ee=be[le];de.prototype[Ee]||(de.prototype[Ee]=Ce.prototype[Ee])}Object.defineProperty(de.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(de.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(Pe){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=Pe,this._writableState.destroyed=Pe)}}),de.prototype._destroy=function(Pe,Ie){this.push(null),this.end(),E.nextTick(Ie,Pe)}},{"./_stream_readable":181,"./_stream_writable":183,"babel-runtime/core-js/object/keys":23,"core-util-is":153,inherits:162,"process-nextick-args":172}],180:[function(oe,we,Ae){"use strict";function de(se){if(!(this instanceof de))return new de(se);ve.call(this,se)}we.exports=de;var ve=oe("./_stream_transform"),re=oe("core-util-is");re.inherits=oe("inherits"),re.inherits(de,ve),de.prototype._transform=function(se,fe,E){E(null,se)}},{"./_stream_transform":182,"core-util-is":153,inherits:162}],181:[function(oe,we,Ae){(function(de,ve){"use strict";function re(ue){return Ve.from(ue)}function se(ue){return Ve.isBuffer(ue)||ue instanceof mt}function fe(ue,ie,ke){if(typeof ue.prependListener=="function")return ue.prependListener(ie,ke);ue._events&&ue._events[ie]?Ge(ue._events[ie])?ue._events[ie].unshift(ke):ue._events[ie]=[ke,ue._events[ie]]:ue.on(ie,ke)}function E(ue,ie){Ze=Ze||oe("./_stream_duplex"),ue=ue||{};var ke=ie instanceof Ze;this.objectMode=!!ue.objectMode,ke&&(this.objectMode=this.objectMode||!!ue.readableObjectMode);var Xe=ue.highWaterMark,De=ue.readableHighWaterMark,pe=this.objectMode?16:16384;this.highWaterMark=Xe||Xe===0?Xe:ke&&(De||De===0)?De:pe,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new xt,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=ue.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ue.encoding&&(Tt||(Tt=oe("string_decoder/").StringDecoder),this.decoder=new Tt(ue.encoding),this.encoding=ue.encoding)}function te(ue){if(Ze=Ze||oe("./_stream_duplex"),!(this instanceof te))return new te(ue);this._readableState=new E(ue,this),this.readable=!0,ue&&(typeof ue.read=="function"&&(this._read=ue.read),typeof ue.destroy=="function"&&(this._destroy=ue.destroy)),qe.call(this)}function ne(ue,ie,ke,Xe,De){var pe=ue._readableState;if(ie===null)pe.reading=!1,Pe(ue,pe);else{var x;De||(x=Ce(pe,ie)),x?ue.emit("error",x):pe.objectMode||ie&&ie.length>0?(typeof ie=="string"||pe.objectMode||(0,Ot.default)(ie)===Ve.prototype||(ie=re(ie)),Xe?pe.endEmitted?ue.emit("error",new Error("stream.unshift() after end event")):ge(ue,pe,ie,!0):pe.ended?ue.emit("error",new Error("stream.push() after EOF")):(pe.reading=!1,pe.decoder&&!ke?(ie=pe.decoder.write(ie),pe.objectMode||ie.length!==0?ge(ue,pe,ie,!1):Me(ue,pe)):ge(ue,pe,ie,!1))):Xe||(pe.reading=!1)}return be(pe)}function ge(ue,ie,ke,Xe){ie.flowing&&ie.length===0&&!ie.sync?(ue.emit("data",ke),ue.read(0)):(ie.length+=ie.objectMode?1:ke.length,Xe?ie.buffer.unshift(ke):ie.buffer.push(ke),ie.needReadable&&Ie(ue)),Me(ue,ie)}function Ce(ue,ie){var ke;return se(ie)||typeof ie=="string"||ie===void 0||ue.objectMode||(ke=new TypeError("Invalid non-string/buffer chunk")),ke}function be(ue){return!ue.ended&&(ue.needReadable||ue.length<ue.highWaterMark||ue.length===0)}function le(ue){return ue>=je?ue=je:(ue--,ue|=ue>>>1,ue|=ue>>>2,ue|=ue>>>4,ue|=ue>>>8,ue|=ue>>>16,ue++),ue}function Ee(ue,ie){return ue<=0||ie.length===0&&ie.ended?0:ie.objectMode?1:ue!==ue?ie.flowing&&ie.length?ie.buffer.head.data.length:ie.length:(ue>ie.highWaterMark&&(ie.highWaterMark=le(ue)),ue<=ie.length?ue:ie.ended?ie.length:(ie.needReadable=!0,0))}function Pe(ue,ie){if(!ie.ended){if(ie.decoder){var ke=ie.decoder.end();ke&&ke.length&&(ie.buffer.push(ke),ie.length+=ie.objectMode?1:ke.length)}ie.ended=!0,Ie(ue)}}function Ie(ue){var ie=ue._readableState;ie.needReadable=!1,ie.emittedReadable||(ct("emitReadable",ie.flowing),ie.emittedReadable=!0,ie.sync?nt.nextTick(Re,ue):Re(ue))}function Re(ue){ct("emit readable"),ue.emit("readable"),Ke(ue)}function Me(ue,ie){ie.readingMore||(ie.readingMore=!0,nt.nextTick(ye,ue,ie))}function ye(ue,ie){for(var ke=ie.length;!ie.reading&&!ie.flowing&&!ie.ended&&ie.length<ie.highWaterMark&&(ct("maybeReadMore read 0"),ue.read(0),ke!==ie.length);)ke=ie.length;ie.readingMore=!1}function Te(ue){return function(){var ie=ue._readableState;ct("pipeOnDrain",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&$e(ue,"data")&&(ie.flowing=!0,Ke(ue))}}function Fe(ue){ct("readable nexttick read 0"),ue.read(0)}function _e(ue,ie){ie.resumeScheduled||(ie.resumeScheduled=!0,nt.nextTick(Oe,ue,ie))}function Oe(ue,ie){ie.reading||(ct("resume read 0"),ue.read(0)),ie.resumeScheduled=!1,ie.awaitDrain=0,ue.emit("resume"),Ke(ue),ie.flowing&&!ie.reading&&ue.read(0)}function Ke(ue){var ie=ue._readableState;for(ct("flow",ie.flowing);ie.flowing&&ue.read()!==null;);}function We(ue,ie){if(ie.length===0)return null;var ke;return ie.objectMode?ke=ie.buffer.shift():!ue||ue>=ie.length?(ke=ie.decoder?ie.buffer.join(""):ie.buffer.length===1?ie.buffer.head.data:ie.buffer.concat(ie.length),ie.buffer.clear()):ke=Ne(ue,ie.buffer,ie.decoder),ke}function Ne(ue,ie,ke){var Xe;return ue<ie.head.data.length?(Xe=ie.head.data.slice(0,ue),ie.head.data=ie.head.data.slice(ue)):Xe=ue===ie.head.data.length?ie.shift():ke?Ye(ue,ie):Je(ue,ie),Xe}function Ye(ue,ie){var ke=ie.head,Xe=1,De=ke.data;for(ue-=De.length;ke=ke.next;){var pe=ke.data,x=ue>pe.length?pe.length:ue;if(x===pe.length?De+=pe:De+=pe.slice(0,ue),(ue-=x)===0){x===pe.length?(++Xe,ke.next?ie.head=ke.next:ie.head=ie.tail=null):(ie.head=ke,ke.data=pe.slice(x));break}++Xe}return ie.length-=Xe,De}function Je(ue,ie){var ke=Ve.allocUnsafe(ue),Xe=ie.head,De=1;for(Xe.data.copy(ke),ue-=Xe.data.length;Xe=Xe.next;){var pe=Xe.data,x=ue>pe.length?pe.length:ue;if(pe.copy(ke,ke.length-ue,0,x),(ue-=x)===0){x===pe.length?(++De,Xe.next?ie.head=Xe.next:ie.head=ie.tail=null):(ie.head=Xe,Xe.data=pe.slice(x));break}++De}return ie.length-=De,ke}function He(ue){var ie=ue._readableState;if(ie.length>0)throw new Error('"endReadable()" called on non-empty stream');ie.endEmitted||(ie.ended=!0,nt.nextTick(lt,ie,ue))}function lt(ue,ie){ue.endEmitted||ue.length!==0||(ue.endEmitted=!0,ie.readable=!1,ie.emit("end"))}function ft(ue,ie){for(var ke=0,Xe=ue.length;ke<Xe;ke++)if(ue[ke]===ie)return ke;return-1}var tt=oe("babel-runtime/core-js/object/get-prototype-of"),Ot=function(ue){return ue&&ue.__esModule?ue:{default:ue}}(tt),nt=oe("process-nextick-args");we.exports=te;var Ze,Ge=oe("isarray");te.ReadableState=E;var $e=(oe("events").EventEmitter,function(ue,ie){return ue.listeners(ie).length}),qe=oe("./internal/streams/stream"),Ve=oe("safe-buffer").Buffer,mt=ve.Uint8Array||function(){},st=oe("core-util-is");st.inherits=oe("inherits");var Lt=oe("util"),ct=void 0;ct=Lt&&Lt.debuglog?Lt.debuglog("stream"):function(){};var Tt,xt=oe("./internal/streams/BufferList"),wt=oe("./internal/streams/destroy");st.inherits(te,qe);var yt=["error","close","destroy","pause","resume"];Object.defineProperty(te.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(ue){this._readableState&&(this._readableState.destroyed=ue)}}),te.prototype.destroy=wt.destroy,te.prototype._undestroy=wt.undestroy,te.prototype._destroy=function(ue,ie){this.push(null),ie(ue)},te.prototype.push=function(ue,ie){var ke,Xe=this._readableState;return Xe.objectMode?ke=!0:typeof ue=="string"&&(ie=ie||Xe.defaultEncoding,ie!==Xe.encoding&&(ue=Ve.from(ue,ie),ie=""),ke=!0),ne(this,ue,ie,!1,ke)},te.prototype.unshift=function(ue){return ne(this,ue,null,!0,!1)},te.prototype.isPaused=function(){return this._readableState.flowing===!1},te.prototype.setEncoding=function(ue){return Tt||(Tt=oe("string_decoder/").StringDecoder),this._readableState.decoder=new Tt(ue),this._readableState.encoding=ue,this};var je=8388608;te.prototype.read=function(ue){ct("read",ue),ue=parseInt(ue,10);var ie=this._readableState,ke=ue;if(ue!==0&&(ie.emittedReadable=!1),ue===0&&ie.needReadable&&(ie.length>=ie.highWaterMark||ie.ended))return ct("read: emitReadable",ie.length,ie.ended),ie.length===0&&ie.ended?He(this):Ie(this),null;if((ue=Ee(ue,ie))===0&&ie.ended)return ie.length===0&&He(this),null;var Xe=ie.needReadable;ct("need readable",Xe),(ie.length===0||ie.length-ue<ie.highWaterMark)&&(Xe=!0,ct("length less than watermark",Xe)),ie.ended||ie.reading?(Xe=!1,ct("reading or ended",Xe)):Xe&&(ct("do read"),ie.reading=!0,ie.sync=!0,ie.length===0&&(ie.needReadable=!0),this._read(ie.highWaterMark),ie.sync=!1,ie.reading||(ue=Ee(ke,ie)));var De;return De=ue>0?We(ue,ie):null,De===null?(ie.needReadable=!0,ue=0):ie.length-=ue,ie.length===0&&(ie.ended||(ie.needReadable=!0),ke!==ue&&ie.ended&&He(this)),De!==null&&this.emit("data",De),De},te.prototype._read=function(ue){this.emit("error",new Error("_read() is not implemented"))},te.prototype.pipe=function(ue,ie){function ke(tn,qt){ct("onunpipe"),tn===Be&&qt&&qt.hasUnpiped===!1&&(qt.hasUnpiped=!0,De())}function Xe(){ct("onend"),ue.end()}function De(){ct("cleanup"),ue.removeListener("close",me),ue.removeListener("finish",Le),ue.removeListener("drain",at),ue.removeListener("error",x),ue.removeListener("unpipe",ke),Be.removeListener("end",Xe),Be.removeListener("end",Se),Be.removeListener("data",pe),Mt=!0,!Qe.awaitDrain||ue._writableState&&!ue._writableState.needDrain||at()}function pe(tn){ct("ondata"),Rt=!1,ue.write(tn)!==!1||Rt||((Qe.pipesCount===1&&Qe.pipes===ue||Qe.pipesCount>1&&ft(Qe.pipes,ue)!==-1)&&!Mt&&(ct("false write response, pause",Be._readableState.awaitDrain),Be._readableState.awaitDrain++,Rt=!0),Be.pause())}function x(tn){ct("onerror",tn),Se(),ue.removeListener("error",x),$e(ue,"error")===0&&ue.emit("error",tn)}function me(){ue.removeListener("finish",Le),Se()}function Le(){ct("onfinish"),ue.removeListener("close",me),Se()}function Se(){ct("unpipe"),Be.unpipe(ue)}var Be=this,Qe=this._readableState;switch(Qe.pipesCount){case 0:Qe.pipes=ue;break;case 1:Qe.pipes=[Qe.pipes,ue];break;default:Qe.pipes.push(ue)}Qe.pipesCount+=1,ct("pipe count=%d opts=%j",Qe.pipesCount,ie);var it=(!ie||ie.end!==!1)&&ue!==de.stdout&&ue!==de.stderr,ot=it?Xe:Se;Qe.endEmitted?nt.nextTick(ot):Be.once("end",ot),ue.on("unpipe",ke);var at=Te(Be);ue.on("drain",at);var Mt=!1,Rt=!1;return Be.on("data",pe),fe(ue,"error",x),ue.once("close",me),ue.once("finish",Le),ue.emit("pipe",Be),Qe.flowing||(ct("pipe resume"),Be.resume()),ue},te.prototype.unpipe=function(ue){var ie=this._readableState,ke={hasUnpiped:!1};if(ie.pipesCount===0)return this;if(ie.pipesCount===1)return ue&&ue!==ie.pipes?this:(ue||(ue=ie.pipes),ie.pipes=null,ie.pipesCount=0,ie.flowing=!1,ue&&ue.emit("unpipe",this,ke),this);if(!ue){var Xe=ie.pipes,De=ie.pipesCount;ie.pipes=null,ie.pipesCount=0,ie.flowing=!1;for(var pe=0;pe<De;pe++)Xe[pe].emit("unpipe",this,ke);return this}var x=ft(ie.pipes,ue);return x===-1?this:(ie.pipes.splice(x,1),ie.pipesCount-=1,ie.pipesCount===1&&(ie.pipes=ie.pipes[0]),ue.emit("unpipe",this,ke),this)},te.prototype.on=function(ue,ie){var ke=qe.prototype.on.call(this,ue,ie);if(ue==="data")this._readableState.flowing!==!1&&this.resume();else if(ue==="readable"){var Xe=this._readableState;Xe.endEmitted||Xe.readableListening||(Xe.readableListening=Xe.needReadable=!0,Xe.emittedReadable=!1,Xe.reading?Xe.length&&Ie(this):nt.nextTick(Fe,this))}return ke},te.prototype.addListener=te.prototype.on,te.prototype.resume=function(){var ue=this._readableState;return ue.flowing||(ct("resume"),ue.flowing=!0,_e(this,ue)),this},te.prototype.pause=function(){return ct("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ct("pause"),this._readableState.flowing=!1,this.emit("pause")),this},te.prototype.wrap=function(ue){var ie=this,ke=this._readableState,Xe=!1;ue.on("end",function(){if(ct("wrapped end"),ke.decoder&&!ke.ended){var x=ke.decoder.end();x&&x.length&&ie.push(x)}ie.push(null)}),ue.on("data",function(x){ct("wrapped data"),ke.decoder&&(x=ke.decoder.write(x)),(!ke.objectMode||x!=null)&&(ke.objectMode||x&&x.length)&&(ie.push(x)||(Xe=!0,ue.pause()))});for(var De in ue)this[De]===void 0&&typeof ue[De]=="function"&&(this[De]=function(x){return function(){return ue[x].apply(ue,arguments)}}(De));for(var pe=0;pe<yt.length;pe++)ue.on(yt[pe],this.emit.bind(this,yt[pe]));return this._read=function(x){ct("wrapped _read",x),Xe&&(Xe=!1,ue.resume())},this},Object.defineProperty(te.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),te._fromList=We}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":179,"./internal/streams/BufferList":184,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/get-prototype-of":22,"core-util-is":153,events:158,inherits:162,isarray:166,"process-nextick-args":172,"safe-buffer":193,"string_decoder/":200,util:36}],182:[function(oe,we,Ae){"use strict";function de(te,ne){var ge=this._transformState;ge.transforming=!1;var Ce=ge.writecb;if(!Ce)return this.emit("error",new Error("write callback called multiple times"));ge.writechunk=null,ge.writecb=null,ne!=null&&this.push(ne),Ce(te);var be=this._readableState;be.reading=!1,(be.needReadable||be.length<be.highWaterMark)&&this._read(be.highWaterMark)}function ve(te){if(!(this instanceof ve))return new ve(te);fe.call(this,te),this._transformState={afterTransform:de.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,te&&(typeof te.transform=="function"&&(this._transform=te.transform),typeof te.flush=="function"&&(this._flush=te.flush)),this.on("prefinish",re)}function re(){var te=this;typeof this._flush=="function"?this._flush(function(ne,ge){se(te,ne,ge)}):se(this,null,null)}function se(te,ne,ge){if(ne)return te.emit("error",ne);if(ge!=null&&te.push(ge),te._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(te._transformState.transforming)throw new Error("Calling transform done when still transforming");return te.push(null)}we.exports=ve;var fe=oe("./_stream_duplex"),E=oe("core-util-is");E.inherits=oe("inherits"),E.inherits(ve,fe),ve.prototype.push=function(te,ne){return this._transformState.needTransform=!1,fe.prototype.push.call(this,te,ne)},ve.prototype._transform=function(te,ne,ge){throw new Error("_transform() is not implemented")},ve.prototype._write=function(te,ne,ge){var Ce=this._transformState;if(Ce.writecb=ge,Ce.writechunk=te,Ce.writeencoding=ne,!Ce.transforming){var be=this._readableState;(Ce.needTransform||be.needReadable||be.length<be.highWaterMark)&&this._read(be.highWaterMark)}},ve.prototype._read=function(te){var ne=this._transformState;ne.writechunk!==null&&ne.writecb&&!ne.transforming?(ne.transforming=!0,this._transform(ne.writechunk,ne.writeencoding,ne.afterTransform)):ne.needTransform=!0},ve.prototype._destroy=function(te,ne){var ge=this;fe.prototype._destroy.call(this,te,function(Ce){ne(Ce),ge.emit("close")})}},{"./_stream_duplex":179,"core-util-is":153,inherits:162}],183:[function(oe,we,Ae){(function(de,ve){"use strict";function re(wt){return wt&&wt.__esModule?wt:{default:wt}}function se(wt){var yt=this;this.next=null,this.entry=null,this.finish=function(){Ye(yt,wt)}}function fe(wt){return Lt.from(wt)}function E(wt){return Lt.isBuffer(wt)||wt instanceof ct}function te(){}function ne(wt,yt){$e=$e||oe("./_stream_duplex"),wt=wt||{};var je=yt instanceof $e;this.objectMode=!!wt.objectMode,je&&(this.objectMode=this.objectMode||!!wt.writableObjectMode);var ue=wt.highWaterMark,ie=wt.writableHighWaterMark,ke=this.objectMode?16:16384;this.highWaterMark=ue||ue===0?ue:je&&(ie||ie===0)?ie:ke,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Xe=wt.decodeStrings===!1;this.decodeStrings=!Xe,this.defaultEncoding=wt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(De){Me(yt,De)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new se(this)}function ge(wt){if($e=$e||oe("./_stream_duplex"),!(xt.call(ge,this)||this instanceof $e))return new ge(wt);this._writableState=new ne(wt,this),this.writable=!0,wt&&(typeof wt.write=="function"&&(this._write=wt.write),typeof wt.writev=="function"&&(this._writev=wt.writev),typeof wt.destroy=="function"&&(this._destroy=wt.destroy),typeof wt.final=="function"&&(this._final=wt.final)),st.call(this)}function Ce(wt,yt){var je=new Error("write after end");wt.emit("error",je),Ge.nextTick(yt,je)}function be(wt,yt,je,ue){var ie=!0,ke=!1;return je===null?ke=new TypeError("May not write null values to stream"):typeof je=="string"||je===void 0||yt.objectMode||(ke=new TypeError("Invalid non-string/buffer chunk")),ke&&(wt.emit("error",ke),Ge.nextTick(ue,ke),ie=!1),ie}function le(wt,yt,je){return wt.objectMode||wt.decodeStrings===!1||typeof yt!="string"||(yt=Lt.from(yt,je)),yt}function Ee(wt,yt,je,ue,ie,ke){if(!je){var Xe=le(yt,ue,ie);ue!==Xe&&(je=!0,ie="buffer",ue=Xe)}var De=yt.objectMode?1:ue.length;yt.length+=De;var pe=yt.length<yt.highWaterMark;if(pe||(yt.needDrain=!0),yt.writing||yt.corked){var x=yt.lastBufferedRequest;yt.lastBufferedRequest={chunk:ue,encoding:ie,isBuf:je,callback:ke,next:null},x?x.next=yt.lastBufferedRequest:yt.bufferedRequest=yt.lastBufferedRequest,yt.bufferedRequestCount+=1}else Pe(wt,yt,!1,De,ue,ie,ke);return pe}function Pe(wt,yt,je,ue,ie,ke,Xe){yt.writelen=ue,yt.writecb=Xe,yt.writing=!0,yt.sync=!0,je?wt._writev(ie,yt.onwrite):wt._write(ie,ke,yt.onwrite),yt.sync=!1}function Ie(wt,yt,je,ue,ie){--yt.pendingcb,je?(Ge.nextTick(ie,ue),Ge.nextTick(We,wt,yt),wt._writableState.errorEmitted=!0,wt.emit("error",ue)):(ie(ue),wt._writableState.errorEmitted=!0,wt.emit("error",ue),We(wt,yt))}function Re(wt){wt.writing=!1,wt.writecb=null,wt.length-=wt.writelen,wt.writelen=0}function Me(wt,yt){var je=wt._writableState,ue=je.sync,ie=je.writecb;if(Re(je),yt)Ie(wt,je,ue,yt,ie);else{var ke=_e(je);ke||je.corked||je.bufferProcessing||!je.bufferedRequest||Fe(wt,je),ue?qe(ye,wt,je,ke,ie):ye(wt,je,ke,ie)}}function ye(wt,yt,je,ue){je||Te(wt,yt),yt.pendingcb--,ue(),We(wt,yt)}function Te(wt,yt){yt.length===0&&yt.needDrain&&(yt.needDrain=!1,wt.emit("drain"))}function Fe(wt,yt){yt.bufferProcessing=!0;var je=yt.bufferedRequest;if(wt._writev&&je&&je.next){var ue=yt.bufferedRequestCount,ie=new Array(ue),ke=yt.corkedRequestsFree;ke.entry=je;for(var Xe=0,De=!0;je;)ie[Xe]=je,je.isBuf||(De=!1),je=je.next,Xe+=1;ie.allBuffers=De,Pe(wt,yt,!0,yt.length,ie,"",ke.finish),yt.pendingcb++,yt.lastBufferedRequest=null,ke.next?(yt.corkedRequestsFree=ke.next,ke.next=null):yt.corkedRequestsFree=new se(yt),yt.bufferedRequestCount=0}else{for(;je;){var pe=je.chunk,x=je.encoding,me=je.callback;if(Pe(wt,yt,!1,yt.objectMode?1:pe.length,pe,x,me),je=je.next,yt.bufferedRequestCount--,yt.writing)break}je===null&&(yt.lastBufferedRequest=null)}yt.bufferedRequest=je,yt.bufferProcessing=!1}function _e(wt){return wt.ending&&wt.length===0&&wt.bufferedRequest===null&&!wt.finished&&!wt.writing}function Oe(wt,yt){wt._final(function(je){yt.pendingcb--,je&&wt.emit("error",je),yt.prefinished=!0,wt.emit("prefinish"),We(wt,yt)})}function Ke(wt,yt){yt.prefinished||yt.finalCalled||(typeof wt._final=="function"?(yt.pendingcb++,yt.finalCalled=!0,Ge.nextTick(Oe,wt,yt)):(yt.prefinished=!0,wt.emit("prefinish")))}function We(wt,yt){var je=_e(yt);return je&&(Ke(wt,yt),yt.pendingcb===0&&(yt.finished=!0,wt.emit("finish"))),je}function Ne(wt,yt,je){yt.ending=!0,We(wt,yt),je&&(yt.finished?Ge.nextTick(je):wt.once("finish",je)),yt.ended=!0,wt.writable=!1}function Ye(wt,yt,je){var ue=wt.entry;for(wt.entry=null;ue;){var ie=ue.callback;yt.pendingcb--,ie(je),ue=ue.next}yt.corkedRequestsFree?yt.corkedRequestsFree.next=wt:yt.corkedRequestsFree=wt}var Je=oe("babel-runtime/core-js/object/define-property"),He=re(Je),lt=oe("babel-runtime/core-js/symbol/has-instance"),ft=re(lt),tt=oe("babel-runtime/core-js/symbol"),Ot=re(tt),nt=oe("babel-runtime/core-js/set-immediate"),Ze=re(nt),Ge=oe("process-nextick-args");we.exports=ge;var $e,qe=!de.browser&&["v0.10","v0.9."].indexOf(de.version.slice(0,5))>-1?Ze.default:Ge.nextTick;ge.WritableState=ne;var Ve=oe("core-util-is");Ve.inherits=oe("inherits");var mt={deprecate:oe("util-deprecate")},st=oe("./internal/streams/stream"),Lt=oe("safe-buffer").Buffer,ct=ve.Uint8Array||function(){},Tt=oe("./internal/streams/destroy");Ve.inherits(ge,st),ne.prototype.getBuffer=function(){for(var wt=this.bufferedRequest,yt=[];wt;)yt.push(wt),wt=wt.next;return yt},function(){try{Object.defineProperty(ne.prototype,"buffer",{get:mt.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(wt){}}();var xt;typeof Ot.default=="function"&&ft.default&&typeof Function.prototype[ft.default]=="function"?(xt=Function.prototype[ft.default],(0,He.default)(ge,ft.default,{value:function(wt){return!!xt.call(this,wt)||this===ge&&wt&&wt._writableState instanceof ne}})):xt=function(wt){return wt instanceof this},ge.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},ge.prototype.write=function(wt,yt,je){var ue=this._writableState,ie=!1,ke=!ue.objectMode&&E(wt);return ke&&!Lt.isBuffer(wt)&&(wt=fe(wt)),typeof yt=="function"&&(je=yt,yt=null),ke?yt="buffer":yt||(yt=ue.defaultEncoding),typeof je!="function"&&(je=te),ue.ended?Ce(this,je):(ke||be(this,ue,wt,je))&&(ue.pendingcb++,ie=Ee(this,ue,ke,wt,yt,je)),ie},ge.prototype.cork=function(){this._writableState.corked++},ge.prototype.uncork=function(){var wt=this._writableState;wt.corked&&(wt.corked--,wt.writing||wt.corked||wt.finished||wt.bufferProcessing||!wt.bufferedRequest||Fe(this,wt))},ge.prototype.setDefaultEncoding=function(wt){if(typeof wt=="string"&&(wt=wt.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((wt+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+wt);return this._writableState.defaultEncoding=wt,this},Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ge.prototype._write=function(wt,yt,je){je(new Error("_write() is not implemented"))},ge.prototype._writev=null,ge.prototype.end=function(wt,yt,je){var ue=this._writableState;typeof wt=="function"?(je=wt,wt=null,yt=null):typeof yt=="function"&&(je=yt,yt=null),wt!=null&&this.write(wt,yt),ue.corked&&(ue.corked=1,this.uncork()),ue.ending||ue.finished||Ne(this,ue,je)},Object.defineProperty(ge.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(wt){this._writableState&&(this._writableState.destroyed=wt)}}),ge.prototype.destroy=Tt.destroy,ge.prototype._undestroy=Tt.undestroy,ge.prototype._destroy=function(wt,yt){this.end(),yt(wt)}}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":179,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/set-immediate":25,"babel-runtime/core-js/symbol":27,"babel-runtime/core-js/symbol/has-instance":28,"core-util-is":153,inherits:162,"process-nextick-args":172,"safe-buffer":193,"util-deprecate":205}],184:[function(oe,we,Ae){"use strict";function de(fe,E){if(!(fe instanceof E))throw new TypeError("Cannot call a class as a function")}function ve(fe,E,te){fe.copy(E,te)}var re=oe("safe-buffer").Buffer,se=oe("util");we.exports=function(){function fe(){de(this,fe),this.head=null,this.tail=null,this.length=0}return fe.prototype.push=function(E){var te={data:E,next:null};this.length>0?this.tail.next=te:this.head=te,this.tail=te,++this.length},fe.prototype.unshift=function(E){var te={data:E,next:this.head};this.length===0&&(this.tail=te),this.head=te,++this.length},fe.prototype.shift=function(){if(this.length!==0){var E=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,E}},fe.prototype.clear=function(){this.head=this.tail=null,this.length=0},fe.prototype.join=function(E){if(this.length===0)return"";for(var te=this.head,ne=""+te.data;te=te.next;)ne+=E+te.data;return ne},fe.prototype.concat=function(E){if(this.length===0)return re.alloc(0);if(this.length===1)return this.head.data;for(var te=re.allocUnsafe(E>>>0),ne=this.head,ge=0;ne;)ve(ne.data,te,ge),ge+=ne.data.length,ne=ne.next;return te},fe}(),se&&se.inspect&&se.inspect.custom&&(we.exports.prototype[se.inspect.custom]=function(){var fe=se.inspect({length:this.length});return this.constructor.name+" "+fe})},{"safe-buffer":193,util:36}],185:[function(oe,we,Ae){"use strict";function de(fe,E){var te=this,ne=this._readableState&&this._readableState.destroyed,ge=this._writableState&&this._writableState.destroyed;return ne||ge?(E?E(fe):!fe||this._writableState&&this._writableState.errorEmitted||se.nextTick(re,this,fe),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(fe||null,function(Ce){!E&&Ce?(se.nextTick(re,te,Ce),te._writableState&&(te._writableState.errorEmitted=!0)):E&&E(Ce)}),this)}function ve(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function re(fe,E){fe.emit("error",E)}var se=oe("process-nextick-args");we.exports={destroy:de,undestroy:ve}},{"process-nextick-args":172}],186:[function(oe,we,Ae){"use strict";we.exports=oe("events").EventEmitter},{events:158}],187:[function(oe,we,Ae){we.exports=oe("./readable").PassThrough},{"./readable":188}],188:[function(oe,we,Ae){Ae=we.exports=oe("./lib/_stream_readable.js"),Ae.Stream=Ae,Ae.Readable=Ae,Ae.Writable=oe("./lib/_stream_writable.js"),Ae.Duplex=oe("./lib/_stream_duplex.js"),Ae.Transform=oe("./lib/_stream_transform.js"),Ae.PassThrough=oe("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":179,"./lib/_stream_passthrough.js":180,"./lib/_stream_readable.js":181,"./lib/_stream_transform.js":182,"./lib/_stream_writable.js":183}],189:[function(oe,we,Ae){we.exports=oe("./readable").Transform},{"./readable":188}],190:[function(oe,we,Ae){we.exports=oe("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":183}],191:[function(oe,we,Ae){var de=function(){return this}()||Function("return this")(),ve=de.regeneratorRuntime&&Object.getOwnPropertyNames(de).indexOf("regeneratorRuntime")>=0,re=ve&&de.regeneratorRuntime;if(de.regeneratorRuntime=void 0,we.exports=oe("./runtime"),ve)de.regeneratorRuntime=re;else try{delete de.regeneratorRuntime}catch(se){de.regeneratorRuntime=void 0}},{"./runtime":192}],192:[function(oe,we,Ae){(function(de){"use strict";function ve(Ze,Ge,$e,qe){var Ve=Ge&&Ge.prototype instanceof se?Ge:se,mt=Object.create(Ve.prototype),st=new Ee(qe||[]);return mt._invoke=ge(Ze,$e,st),mt}function re(Ze,Ge,$e){try{return{type:"normal",arg:Ze.call(Ge,$e)}}catch(qe){return{type:"throw",arg:qe}}}function se(){}function fe(){}function E(){}function te(Ze){["next","throw","return"].forEach(function(Ge){Ze[Ge]=function($e){return this._invoke(Ge,$e)}})}function ne(Ze){function Ge(Ve,mt,st,Lt){var ct=re(Ze[Ve],Ze,mt);if(ct.type!=="throw"){var Tt=ct.arg,xt=Tt.value;return xt&&typeof xt=="object"&&ye.call(xt,"__await")?Promise.resolve(xt.__await).then(function(wt){Ge("next",wt,st,Lt)},function(wt){Ge("throw",wt,st,Lt)}):Promise.resolve(xt).then(function(wt){Tt.value=wt,st(Tt)},Lt)}Lt(ct.arg)}function $e(Ve,mt){function st(){return new Promise(function(Lt,ct){Ge(Ve,mt,Lt,ct)})}return qe=qe?qe.then(st,st):st()}var qe;this._invoke=$e}function ge(Ze,Ge,$e){var qe=Ne;return function(Ve,mt){if(qe===Je)throw new Error("Generator is already running");if(qe===He){if(Ve==="throw")throw mt;return Ie()}for($e.method=Ve,$e.arg=mt;;){var st=$e.delegate;if(st){var Lt=Ce(st,$e);if(Lt){if(Lt===lt)continue;return Lt}}if($e.method==="next")$e.sent=$e._sent=$e.arg;else if($e.method==="throw"){if(qe===Ne)throw qe=He,$e.arg;$e.dispatchException($e.arg)}else $e.method==="return"&&$e.abrupt("return",$e.arg);qe=Je;var ct=re(Ze,Ge,$e);if(ct.type==="normal"){if(qe=$e.done?He:Ye,ct.arg===lt)continue;return{value:ct.arg,done:$e.done}}ct.type==="throw"&&(qe=He,$e.method="throw",$e.arg=ct.arg)}}}function Ce(Ze,Ge){var $e=Ze.iterator[Ge.method];if($e===Re){if(Ge.delegate=null,Ge.method==="throw"){if(Ze.iterator.return&&(Ge.method="return",Ge.arg=Re,Ce(Ze,Ge),Ge.method==="throw"))return lt;Ge.method="throw",Ge.arg=new TypeError("The iterator does not provide a 'throw' method")}return lt}var qe=re($e,Ze.iterator,Ge.arg);if(qe.type==="throw")return Ge.method="throw",Ge.arg=qe.arg,Ge.delegate=null,lt;var Ve=qe.arg;return Ve?Ve.done?(Ge[Ze.resultName]=Ve.value,Ge.next=Ze.nextLoc,Ge.method!=="return"&&(Ge.method="next",Ge.arg=Re),Ge.delegate=null,lt):Ve:(Ge.method="throw",Ge.arg=new TypeError("iterator result is not an object"),Ge.delegate=null,lt)}function be(Ze){var Ge={tryLoc:Ze[0]};1 in Ze&&(Ge.catchLoc=Ze[1]),2 in Ze&&(Ge.finallyLoc=Ze[2],Ge.afterLoc=Ze[3]),this.tryEntries.push(Ge)}function le(Ze){var Ge=Ze.completion||{};Ge.type="normal",delete Ge.arg,Ze.completion=Ge}function Ee(Ze){this.tryEntries=[{tryLoc:"root"}],Ze.forEach(be,this),this.reset(!0)}function Pe(Ze){if(Ze){var Ge=Ze[Fe];if(Ge)return Ge.call(Ze);if(typeof Ze.next=="function")return Ze;if(!isNaN(Ze.length)){var $e=-1,qe=function Ve(){for(;++$e<Ze.length;)if(ye.call(Ze,$e))return Ve.value=Ze[$e],Ve.done=!1,Ve;return Ve.value=Re,Ve.done=!0,Ve};return qe.next=qe}}return{next:Ie}}function Ie(){return{value:Re,done:!0}}var Re,Me=Object.prototype,ye=Me.hasOwnProperty,Te=typeof Symbol=="function"?Symbol:{},Fe=Te.iterator||"@@iterator",_e=Te.asyncIterator||"@@asyncIterator",Oe=Te.toStringTag||"@@toStringTag",Ke=typeof we=="object",We=de.regeneratorRuntime;if(We)return void(Ke&&(we.exports=We));We=de.regeneratorRuntime=Ke?we.exports:{},We.wrap=ve;var Ne="suspendedStart",Ye="suspendedYield",Je="executing",He="completed",lt={},ft={};ft[Fe]=function(){return this};var tt=Object.getPrototypeOf,Ot=tt&&tt(tt(Pe([])));Ot&&Ot!==Me&&ye.call(Ot,Fe)&&(ft=Ot);var nt=E.prototype=se.prototype=Object.create(ft);fe.prototype=nt.constructor=E,E.constructor=fe,E[Oe]=fe.displayName="GeneratorFunction",We.isGeneratorFunction=function(Ze){var Ge=typeof Ze=="function"&&Ze.constructor;return!!Ge&&(Ge===fe||(Ge.displayName||Ge.name)==="GeneratorFunction")},We.mark=function(Ze){return Object.setPrototypeOf?Object.setPrototypeOf(Ze,E):(Ze.__proto__=E,Oe in Ze||(Ze[Oe]="GeneratorFunction")),Ze.prototype=Object.create(nt),Ze},We.awrap=function(Ze){return{__await:Ze}},te(ne.prototype),ne.prototype[_e]=function(){return this},We.AsyncIterator=ne,We.async=function(Ze,Ge,$e,qe){var Ve=new ne(ve(Ze,Ge,$e,qe));return We.isGeneratorFunction(Ge)?Ve:Ve.next().then(function(mt){return mt.done?mt.value:Ve.next()})},te(nt),nt[Oe]="Generator",nt[Fe]=function(){return this},nt.toString=function(){return"[object Generator]"},We.keys=function(Ze){var Ge=[];for(var $e in Ze)Ge.push($e);return Ge.reverse(),function qe(){for(;Ge.length;){var Ve=Ge.pop();if(Ve in Ze)return qe.value=Ve,qe.done=!1,qe}return qe.done=!0,qe}},We.values=Pe,Ee.prototype={constructor:Ee,reset:function(Ze){if(this.prev=0,this.next=0,this.sent=this._sent=Re,this.done=!1,this.delegate=null,this.method="next",this.arg=Re,this.tryEntries.forEach(le),!Ze)for(var Ge in this)Ge.charAt(0)==="t"&&ye.call(this,Ge)&&!isNaN(+Ge.slice(1))&&(this[Ge]=Re)},stop:function(){this.done=!0;var Ze=this.tryEntries[0],Ge=Ze.completion;if(Ge.type==="throw")throw Ge.arg;return this.rval},dispatchException:function(Ze){function Ge(ct,Tt){return mt.type="throw",mt.arg=Ze,$e.next=ct,Tt&&($e.method="next",$e.arg=Re),!!Tt}if(this.done)throw Ze;for(var $e=this,qe=this.tryEntries.length-1;qe>=0;--qe){var Ve=this.tryEntries[qe],mt=Ve.completion;if(Ve.tryLoc==="root")return Ge("end");if(Ve.tryLoc<=this.prev){var st=ye.call(Ve,"catchLoc"),Lt=ye.call(Ve,"finallyLoc");if(st&&Lt){if(this.prev<Ve.catchLoc)return Ge(Ve.catchLoc,!0);if(this.prev<Ve.finallyLoc)return Ge(Ve.finallyLoc)}else if(st){if(this.prev<Ve.catchLoc)return Ge(Ve.catchLoc,!0)}else{if(!Lt)throw new Error("try statement without catch or finally");if(this.prev<Ve.finallyLoc)return Ge(Ve.finallyLoc)}}}},abrupt:function(Ze,Ge){for(var $e=this.tryEntries.length-1;$e>=0;--$e){var qe=this.tryEntries[$e];if(qe.tryLoc<=this.prev&&ye.call(qe,"finallyLoc")&&this.prev<qe.finallyLoc){var Ve=qe;break}}Ve&&(Ze==="break"||Ze==="continue")&&Ve.tryLoc<=Ge&&Ge<=Ve.finallyLoc&&(Ve=null);var mt=Ve?Ve.completion:{};return mt.type=Ze,mt.arg=Ge,Ve?(this.method="next",this.next=Ve.finallyLoc,lt):this.complete(mt)},complete:function(Ze,Ge){if(Ze.type==="throw")throw Ze.arg;return Ze.type==="break"||Ze.type==="continue"?this.next=Ze.arg:Ze.type==="return"?(this.rval=this.arg=Ze.arg,this.method="return",this.next="end"):Ze.type==="normal"&&Ge&&(this.next=Ge),lt},finish:function(Ze){for(var Ge=this.tryEntries.length-1;Ge>=0;--Ge){var $e=this.tryEntries[Ge];if($e.finallyLoc===Ze)return this.complete($e.completion,$e.afterLoc),le($e),lt}},catch:function(Ze){for(var Ge=this.tryEntries.length-1;Ge>=0;--Ge){var $e=this.tryEntries[Ge];if($e.tryLoc===Ze){var qe=$e.completion;if(qe.type==="throw"){var Ve=qe.arg;le($e)}return Ve}}throw new Error("illegal catch attempt")},delegateYield:function(Ze,Ge,$e){return this.delegate={iterator:Pe(Ze),resultName:Ge,nextLoc:$e},this.method==="next"&&(this.arg=Re),lt}}})(function(){return this}()||Function("return this")())},{}],193:[function(oe,we,Ae){function de(fe,E){for(var te in fe)E[te]=fe[te]}function ve(fe,E,te){return se(fe,E,te)}var re=oe("buffer"),se=re.Buffer;se.from&&se.alloc&&se.allocUnsafe&&se.allocUnsafeSlow?we.exports=re:(de(re,Ae),Ae.Buffer=ve),de(se,ve),ve.from=function(fe,E,te){if(typeof fe=="number")throw new TypeError("Argument must not be a number");return se(fe,E,te)},ve.alloc=function(fe,E,te){if(typeof fe!="number")throw new TypeError("Argument must be a number");var ne=se(fe);return E!==void 0?typeof te=="string"?ne.fill(E,te):ne.fill(E):ne.fill(0),ne},ve.allocUnsafe=function(fe){if(typeof fe!="number")throw new TypeError("Argument must be a number");return se(fe)},ve.allocUnsafeSlow=function(fe){if(typeof fe!="number")throw new TypeError("Argument must be a number");return re.SlowBuffer(fe)}},{buffer:38}],194:[function(oe,we,Ae){(function(de){"use strict";function ve(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}var re=oe("babel-runtime/core-js/string/from-code-point"),se=ve(re),fe=oe("babel-runtime/core-js/json/stringify"),E=ve(fe),te=oe("babel-runtime/helpers/typeof"),ne=ve(te),ge=oe("babel-runtime/core-js/object/define-property"),Ce=ve(ge),be=oe("babel-runtime/core-js/object/keys"),le=ve(be),Ee=oe("babel-runtime/core-js/object/create"),Pe=ve(Ee);(function(Ie){function Re(Se,Be){if(!(this instanceof Re))return new Re(Se,Be);var Qe=this;ye(Qe),Qe.q=Qe.c="",Qe.bufferCheckPosition=Ie.MAX_BUFFER_LENGTH,Qe.opt=Be||{},Qe.opt.lowercase=Qe.opt.lowercase||Qe.opt.lowercasetags,Qe.looseCase=Qe.opt.lowercase?"toLowerCase":"toUpperCase",Qe.tags=[],Qe.closed=Qe.closedRoot=Qe.sawRoot=!1,Qe.tag=Qe.error=null,Qe.strict=!!Se,Qe.noscript=!(!Se&&!Qe.opt.noscript),Qe.state=me.BEGIN,Qe.strictEntities=Qe.opt.strictEntities,Qe.ENTITIES=Qe.strictEntities?(0,Pe.default)(Ie.XML_ENTITIES):(0,Pe.default)(Ie.ENTITIES),Qe.attribList=[],Qe.opt.xmlns&&(Qe.ns=(0,Pe.default)(ke)),Qe.trackPosition=Qe.opt.position!==!1,Qe.trackPosition&&(Qe.position=Qe.line=Qe.column=0),Je(Qe,"onready")}function Me(Se){for(var Be=Math.max(Ie.MAX_BUFFER_LENGTH,10),Qe=0,it=0,ot=Tt.length;it<ot;it++){var at=Se[Tt[it]].length;if(at>Be)switch(Tt[it]){case"textNode":lt(Se);break;case"cdata":He(Se,"oncdata",Se.cdata),Se.cdata="";break;case"script":He(Se,"onscript",Se.script),Se.script="";break;default:tt(Se,"Max buffer length exceeded: "+Tt[it])}Qe=Math.max(Qe,at)}var Mt=Ie.MAX_BUFFER_LENGTH-Qe;Se.bufferCheckPosition=Mt+Se.position}function ye(Se){for(var Be=0,Qe=Tt.length;Be<Qe;Be++)Se[Tt[Be]]=""}function Te(Se){lt(Se),Se.cdata!==""&&(He(Se,"oncdata",Se.cdata),Se.cdata=""),Se.script!==""&&(He(Se,"onscript",Se.script),Se.script="")}function Fe(Se,Be){return new _e(Se,Be)}function _e(Se,Be){if(!(this instanceof _e))return new _e(Se,Be);xt.apply(this),this._parser=new Re(Se,Be),this.writable=!0,this.readable=!0;var Qe=this;this._parser.onend=function(){Qe.emit("end")},this._parser.onerror=function(it){Qe.emit("error",it),Qe._parser.error=null},this._decoder=null,wt.forEach(function(it){(0,Ce.default)(Qe,"on"+it,{get:function(){return Qe._parser["on"+it]},set:function(ot){if(!ot)return Qe.removeAllListeners(it),Qe._parser["on"+it]=ot,ot;Qe.on(it,ot)},enumerable:!0,configurable:!1})})}function Oe(Se){return Se===" "||Se===`
`||Se==="\r"||Se===" "}function Ke(Se){return Se==='"'||Se==="'"}function We(Se){return Se===">"||Oe(Se)}function Ne(Se,Be){return Se.test(Be)}function Ye(Se,Be){return!Ne(Se,Be)}function Je(Se,Be,Qe){Se[Be]&&Se[Be](Qe)}function He(Se,Be,Qe){Se.textNode&&lt(Se),Je(Se,Be,Qe)}function lt(Se){Se.textNode=ft(Se.opt,Se.textNode),Se.textNode&&Je(Se,"ontext",Se.textNode),Se.textNode=""}function ft(Se,Be){return Se.trim&&(Be=Be.trim()),Se.normalize&&(Be=Be.replace(/\s+/g," ")),Be}function tt(Se,Be){return lt(Se),Se.trackPosition&&(Be+=`
Line: `+Se.line+`
Column: `+Se.column+`
Char: `+Se.c),Be=new Error(Be),Se.error=Be,Je(Se,"onerror",Be),Se}function Ot(Se){return Se.sawRoot&&!Se.closedRoot&&nt(Se,"Unclosed root tag"),Se.state!==me.BEGIN&&Se.state!==me.BEGIN_WHITESPACE&&Se.state!==me.TEXT&&tt(Se,"Unexpected end"),lt(Se),Se.c="",Se.closed=!0,Je(Se,"onend"),Re.call(Se,Se.strict,Se.opt),Se}function nt(Se,Be){if((Se===void 0?"undefined":(0,ne.default)(Se))!=="object"||!(Se instanceof Re))throw new Error("bad call to strictFail");Se.strict&&tt(Se,Be)}function Ze(Se){Se.strict||(Se.tagName=Se.tagName[Se.looseCase]());var Be=Se.tags[Se.tags.length-1]||Se,Qe=Se.tag={name:Se.tagName,attributes:{}};Se.opt.xmlns&&(Qe.ns=Be.ns),Se.attribList.length=0,He(Se,"onopentagstart",Qe)}function Ge(Se,Be){var Qe=Se.indexOf(":"),it=Qe<0?["",Se]:Se.split(":"),ot=it[0],at=it[1];return Be&&Se==="xmlns"&&(ot="xmlns",at=""),{prefix:ot,local:at}}function $e(Se){if(Se.strict||(Se.attribName=Se.attribName[Se.looseCase]()),Se.attribList.indexOf(Se.attribName)!==-1||Se.tag.attributes.hasOwnProperty(Se.attribName))return void(Se.attribName=Se.attribValue="");if(Se.opt.xmlns){var Be=Ge(Se.attribName,!0),Qe=Be.prefix,it=Be.local;if(Qe==="xmlns")if(it==="xml"&&Se.attribValue!==ue)nt(Se,"xml: prefix must be bound to "+ue+`
Actual: `+Se.attribValue);else if(it==="xmlns"&&Se.attribValue!==ie)nt(Se,"xmlns: prefix must be bound to "+ie+`
Actual: `+Se.attribValue);else{var ot=Se.tag,at=Se.tags[Se.tags.length-1]||Se;ot.ns===at.ns&&(ot.ns=(0,Pe.default)(at.ns)),ot.ns[it]=Se.attribValue}Se.attribList.push([Se.attribName,Se.attribValue])}else Se.tag.attributes[Se.attribName]=Se.attribValue,He(Se,"onattribute",{name:Se.attribName,value:Se.attribValue});Se.attribName=Se.attribValue=""}function qe(Se,Be){if(Se.opt.xmlns){var Qe=Se.tag,it=Ge(Se.tagName);Qe.prefix=it.prefix,Qe.local=it.local,Qe.uri=Qe.ns[it.prefix]||"",Qe.prefix&&!Qe.uri&&(nt(Se,"Unbound namespace prefix: "+(0,E.default)(Se.tagName)),Qe.uri=it.prefix);var ot=Se.tags[Se.tags.length-1]||Se;Qe.ns&&ot.ns!==Qe.ns&&(0,le.default)(Qe.ns).forEach(function(ln){He(Se,"onopennamespace",{prefix:ln,uri:Qe.ns[ln]})});for(var at=0,Mt=Se.attribList.length;at<Mt;at++){var Rt=Se.attribList[at],tn=Rt[0],qt=Rt[1],Bt=Ge(tn,!0),hn=Bt.prefix,$t=Bt.local,Ct=hn===""?"":Qe.ns[hn]||"",jt={name:tn,value:qt,prefix:hn,local:$t,uri:Ct};hn&&hn!=="xmlns"&&!Ct&&(nt(Se,"Unbound namespace prefix: "+(0,E.default)(hn)),jt.uri=hn),Se.tag.attributes[tn]=jt,He(Se,"onattribute",jt)}Se.attribList.length=0}Se.tag.isSelfClosing=!!Be,Se.sawRoot=!0,Se.tags.push(Se.tag),He(Se,"onopentag",Se.tag),Be||(Se.noscript||Se.tagName.toLowerCase()!=="script"?Se.state=me.TEXT:Se.state=me.SCRIPT,Se.tag=null,Se.tagName=""),Se.attribName=Se.attribValue="",Se.attribList.length=0}function Ve(Se){if(!Se.tagName)return nt(Se,"Weird empty close tag."),Se.textNode+="</>",void(Se.state=me.TEXT);if(Se.script){if(Se.tagName!=="script")return Se.script+="</"+Se.tagName+">",Se.tagName="",void(Se.state=me.SCRIPT);He(Se,"onscript",Se.script),Se.script=""}var Be=Se.tags.length,Qe=Se.tagName;Se.strict||(Qe=Qe[Se.looseCase]());for(var it=Qe;Be--&&Se.tags[Be].name!==it;)nt(Se,"Unexpected close tag");if(Be<0)return nt(Se,"Unmatched closing tag: "+Se.tagName),Se.textNode+="</"+Se.tagName+">",void(Se.state=me.TEXT);Se.tagName=Qe;for(var ot=Se.tags.length;ot-- >Be;){var at=Se.tag=Se.tags.pop();Se.tagName=Se.tag.name,He(Se,"onclosetag",Se.tagName);var Mt={};for(var Rt in at.ns)Mt[Rt]=at.ns[Rt];var tn=Se.tags[Se.tags.length-1]||Se;Se.opt.xmlns&&at.ns!==tn.ns&&(0,le.default)(at.ns).forEach(function(qt){var Bt=at.ns[qt];He(Se,"onclosenamespace",{prefix:qt,uri:Bt})})}Be===0&&(Se.closedRoot=!0),Se.tagName=Se.attribValue=Se.attribName="",Se.attribList.length=0,Se.state=me.TEXT}function mt(Se){var Be,Qe=Se.entity,it=Qe.toLowerCase(),ot="";return Se.ENTITIES[Qe]?Se.ENTITIES[Qe]:Se.ENTITIES[it]?Se.ENTITIES[it]:(Qe=it,Qe.charAt(0)==="#"&&(Qe.charAt(1)==="x"?(Qe=Qe.slice(2),Be=parseInt(Qe,16),ot=Be.toString(16)):(Qe=Qe.slice(1),Be=parseInt(Qe,10),ot=Be.toString(10))),Qe=Qe.replace(/^0+/,""),isNaN(Be)||ot.toLowerCase()!==Qe?(nt(Se,"Invalid character entity"),"&"+Se.entity+";"):(0,se.default)(Be))}function st(Se,Be){Be==="<"?(Se.state=me.OPEN_WAKA,Se.startTagPosition=Se.position):Oe(Be)||(nt(Se,"Non-whitespace before first tag."),Se.textNode=Be,Se.state=me.TEXT)}function Lt(Se,Be){var Qe="";return Be<Se.length&&(Qe=Se.charAt(Be)),Qe}function ct(Se){var Be=this;if(this.error)throw this.error;if(Be.closed)return tt(Be,"Cannot write after close. Assign an onready handler.");if(Se===null)return Ot(Be);(Se===void 0?"undefined":(0,ne.default)(Se))==="object"&&(Se=Se.toString());for(var Qe=0,it="";it=Lt(Se,Qe++),Be.c=it,!!it;)switch(Be.trackPosition&&(Be.position++,it===`
`?(Be.line++,Be.column=0):Be.column++),Be.state){case me.BEGIN:if(Be.state=me.BEGIN_WHITESPACE,it==="\uFEFF")continue;st(Be,it);continue;case me.BEGIN_WHITESPACE:st(Be,it);continue;case me.TEXT:if(Be.sawRoot&&!Be.closedRoot){for(var ot=Qe-1;it&&it!=="<"&&it!=="&";)(it=Lt(Se,Qe++))&&Be.trackPosition&&(Be.position++,it===`
`?(Be.line++,Be.column=0):Be.column++);Be.textNode+=Se.substring(ot,Qe-1)}it!=="<"||Be.sawRoot&&Be.closedRoot&&!Be.strict?(Oe(it)||Be.sawRoot&&!Be.closedRoot||nt(Be,"Text data outside of root node."),it==="&"?Be.state=me.TEXT_ENTITY:Be.textNode+=it):(Be.state=me.OPEN_WAKA,Be.startTagPosition=Be.position);continue;case me.SCRIPT:it==="<"?Be.state=me.SCRIPT_ENDING:Be.script+=it;continue;case me.SCRIPT_ENDING:it==="/"?Be.state=me.CLOSE_TAG:(Be.script+="<"+it,Be.state=me.SCRIPT);continue;case me.OPEN_WAKA:if(it==="!")Be.state=me.SGML_DECL,Be.sgmlDecl="";else if(!Oe(it))if(Ne(Xe,it))Be.state=me.OPEN_TAG,Be.tagName=it;else if(it==="/")Be.state=me.CLOSE_TAG,Be.tagName="";else if(it==="?")Be.state=me.PROC_INST,Be.procInstName=Be.procInstBody="";else{if(nt(Be,"Unencoded <"),Be.startTagPosition+1<Be.position){var at=Be.position-Be.startTagPosition;it=new Array(at).join(" ")+it}Be.textNode+="<"+it,Be.state=me.TEXT}continue;case me.SGML_DECL:(Be.sgmlDecl+it).toUpperCase()===yt?(He(Be,"onopencdata"),Be.state=me.CDATA,Be.sgmlDecl="",Be.cdata=""):Be.sgmlDecl+it==="--"?(Be.state=me.COMMENT,Be.comment="",Be.sgmlDecl=""):(Be.sgmlDecl+it).toUpperCase()===je?(Be.state=me.DOCTYPE,(Be.doctype||Be.sawRoot)&&nt(Be,"Inappropriately located doctype declaration"),Be.doctype="",Be.sgmlDecl=""):it===">"?(He(Be,"onsgmldeclaration",Be.sgmlDecl),Be.sgmlDecl="",Be.state=me.TEXT):(Ke(it)&&(Be.state=me.SGML_DECL_QUOTED),Be.sgmlDecl+=it);continue;case me.SGML_DECL_QUOTED:it===Be.q&&(Be.state=me.SGML_DECL,Be.q=""),Be.sgmlDecl+=it;continue;case me.DOCTYPE:it===">"?(Be.state=me.TEXT,He(Be,"ondoctype",Be.doctype),Be.doctype=!0):(Be.doctype+=it,it==="["?Be.state=me.DOCTYPE_DTD:Ke(it)&&(Be.state=me.DOCTYPE_QUOTED,Be.q=it));continue;case me.DOCTYPE_QUOTED:Be.doctype+=it,it===Be.q&&(Be.q="",Be.state=me.DOCTYPE);continue;case me.DOCTYPE_DTD:Be.doctype+=it,it==="]"?Be.state=me.DOCTYPE:Ke(it)&&(Be.state=me.DOCTYPE_DTD_QUOTED,Be.q=it);continue;case me.DOCTYPE_DTD_QUOTED:Be.doctype+=it,it===Be.q&&(Be.state=me.DOCTYPE_DTD,Be.q="");continue;case me.COMMENT:it==="-"?Be.state=me.COMMENT_ENDING:Be.comment+=it;continue;case me.COMMENT_ENDING:it==="-"?(Be.state=me.COMMENT_ENDED,Be.comment=ft(Be.opt,Be.comment),Be.comment&&He(Be,"oncomment",Be.comment),Be.comment=""):(Be.comment+="-"+it,Be.state=me.COMMENT);continue;case me.COMMENT_ENDED:it!==">"?(nt(Be,"Malformed comment"),Be.comment+="--"+it,Be.state=me.COMMENT):Be.state=me.TEXT;continue;case me.CDATA:it==="]"?Be.state=me.CDATA_ENDING:Be.cdata+=it;continue;case me.CDATA_ENDING:it==="]"?Be.state=me.CDATA_ENDING_2:(Be.cdata+="]"+it,Be.state=me.CDATA);continue;case me.CDATA_ENDING_2:it===">"?(Be.cdata&&He(Be,"oncdata",Be.cdata),He(Be,"onclosecdata"),Be.cdata="",Be.state=me.TEXT):it==="]"?Be.cdata+="]":(Be.cdata+="]]"+it,Be.state=me.CDATA);continue;case me.PROC_INST:it==="?"?Be.state=me.PROC_INST_ENDING:Oe(it)?Be.state=me.PROC_INST_BODY:Be.procInstName+=it;continue;case me.PROC_INST_BODY:if(!Be.procInstBody&&Oe(it))continue;it==="?"?Be.state=me.PROC_INST_ENDING:Be.procInstBody+=it;continue;case me.PROC_INST_ENDING:it===">"?(He(Be,"onprocessinginstruction",{name:Be.procInstName,body:Be.procInstBody}),Be.procInstName=Be.procInstBody="",Be.state=me.TEXT):(Be.procInstBody+="?"+it,Be.state=me.PROC_INST_BODY);continue;case me.OPEN_TAG:Ne(De,it)?Be.tagName+=it:(Ze(Be),it===">"?qe(Be):it==="/"?Be.state=me.OPEN_TAG_SLASH:(Oe(it)||nt(Be,"Invalid character in tag name"),Be.state=me.ATTRIB));continue;case me.OPEN_TAG_SLASH:it===">"?(qe(Be,!0),Ve(Be)):(nt(Be,"Forward-slash in opening tag not followed by >"),Be.state=me.ATTRIB);continue;case me.ATTRIB:if(Oe(it))continue;it===">"?qe(Be):it==="/"?Be.state=me.OPEN_TAG_SLASH:Ne(Xe,it)?(Be.attribName=it,Be.attribValue="",Be.state=me.ATTRIB_NAME):nt(Be,"Invalid attribute name");continue;case me.ATTRIB_NAME:it==="="?Be.state=me.ATTRIB_VALUE:it===">"?(nt(Be,"Attribute without value"),Be.attribValue=Be.attribName,$e(Be),qe(Be)):Oe(it)?Be.state=me.ATTRIB_NAME_SAW_WHITE:Ne(De,it)?Be.attribName+=it:nt(Be,"Invalid attribute name");continue;case me.ATTRIB_NAME_SAW_WHITE:if(it==="=")Be.state=me.ATTRIB_VALUE;else{if(Oe(it))continue;nt(Be,"Attribute without value"),Be.tag.attributes[Be.attribName]="",Be.attribValue="",He(Be,"onattribute",{name:Be.attribName,value:""}),Be.attribName="",it===">"?qe(Be):Ne(Xe,it)?(Be.attribName=it,Be.state=me.ATTRIB_NAME):(nt(Be,"Invalid attribute name"),Be.state=me.ATTRIB)}continue;case me.ATTRIB_VALUE:if(Oe(it))continue;Ke(it)?(Be.q=it,Be.state=me.ATTRIB_VALUE_QUOTED):(nt(Be,"Unquoted attribute value"),Be.state=me.ATTRIB_VALUE_UNQUOTED,Be.attribValue=it);continue;case me.ATTRIB_VALUE_QUOTED:if(it!==Be.q){it==="&"?Be.state=me.ATTRIB_VALUE_ENTITY_Q:Be.attribValue+=it;continue}$e(Be),Be.q="",Be.state=me.ATTRIB_VALUE_CLOSED;continue;case me.ATTRIB_VALUE_CLOSED:Oe(it)?Be.state=me.ATTRIB:it===">"?qe(Be):it==="/"?Be.state=me.OPEN_TAG_SLASH:Ne(Xe,it)?(nt(Be,"No whitespace between attributes"),Be.attribName=it,Be.attribValue="",Be.state=me.ATTRIB_NAME):nt(Be,"Invalid attribute name");continue;case me.ATTRIB_VALUE_UNQUOTED:if(!We(it)){it==="&"?Be.state=me.ATTRIB_VALUE_ENTITY_U:Be.attribValue+=it;continue}$e(Be),it===">"?qe(Be):Be.state=me.ATTRIB;continue;case me.CLOSE_TAG:if(Be.tagName)it===">"?Ve(Be):Ne(De,it)?Be.tagName+=it:Be.script?(Be.script+="</"+Be.tagName,Be.tagName="",Be.state=me.SCRIPT):(Oe(it)||nt(Be,"Invalid tagname in closing tag"),Be.state=me.CLOSE_TAG_SAW_WHITE);else{if(Oe(it))continue;Ye(Xe,it)?Be.script?(Be.script+="</"+it,Be.state=me.SCRIPT):nt(Be,"Invalid tagname in closing tag."):Be.tagName=it}continue;case me.CLOSE_TAG_SAW_WHITE:if(Oe(it))continue;it===">"?Ve(Be):nt(Be,"Invalid characters in closing tag");continue;case me.TEXT_ENTITY:case me.ATTRIB_VALUE_ENTITY_Q:case me.ATTRIB_VALUE_ENTITY_U:var Mt,Rt;switch(Be.state){case me.TEXT_ENTITY:Mt=me.TEXT,Rt="textNode";break;case me.ATTRIB_VALUE_ENTITY_Q:Mt=me.ATTRIB_VALUE_QUOTED,Rt="attribValue";break;case me.ATTRIB_VALUE_ENTITY_U:Mt=me.ATTRIB_VALUE_UNQUOTED,Rt="attribValue"}it===";"?(Be[Rt]+=mt(Be),Be.entity="",Be.state=Mt):Ne(Be.entity.length?x:pe,it)?Be.entity+=it:(nt(Be,"Invalid character in entity name"),Be[Rt]+="&"+Be.entity+it,Be.entity="",Be.state=Mt);continue;default:throw new Error(Be,"Unknown state: "+Be.state)}return Be.position>=Be.bufferCheckPosition&&Me(Be),Be}Ie.parser=function(Se,Be){return new Re(Se,Be)},Ie.SAXParser=Re,Ie.SAXStream=_e,Ie.createStream=Fe,Ie.MAX_BUFFER_LENGTH=65536;var Tt=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];Ie.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Pe.default||(Object.create=function(Se){function Be(){}return Be.prototype=Se,new Be}),le.default||(Object.keys=function(Se){var Be=[];for(var Qe in Se)Se.hasOwnProperty(Qe)&&Be.push(Qe);return Be}),Re.prototype={end:function(){Ot(this)},write:ct,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){Te(this)}};var xt;try{xt=oe("stream").Stream}catch(Se){xt=function(){}}var wt=Ie.EVENTS.filter(function(Se){return Se!=="error"&&Se!=="end"});_e.prototype=(0,Pe.default)(xt.prototype,{constructor:{value:_e}}),_e.prototype.write=function(Se){if(typeof de=="function"&&typeof de.isBuffer=="function"&&de.isBuffer(Se)){if(!this._decoder){var Be=oe("string_decoder").StringDecoder;this._decoder=new Be("utf8")}Se=this._decoder.write(Se)}return this._parser.write(Se.toString()),this.emit("data",Se),!0},_e.prototype.end=function(Se){return Se&&Se.length&&this.write(Se),this._parser.end(),!0},_e.prototype.on=function(Se,Be){var Qe=this;return Qe._parser["on"+Se]||wt.indexOf(Se)===-1||(Qe._parser["on"+Se]=function(){var it=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);it.splice(0,0,Se),Qe.emit.apply(Qe,it)}),xt.prototype.on.call(Qe,Se,Be)};var yt="[CDATA[",je="DOCTYPE",ue="http://www.w3.org/XML/1998/namespace",ie="http://www.w3.org/2000/xmlns/",ke={xml:ue,xmlns:ie},Xe=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,De=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,pe=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,x=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,me=0;Ie.STATE={BEGIN:me++,BEGIN_WHITESPACE:me++,TEXT:me++,TEXT_ENTITY:me++,OPEN_WAKA:me++,SGML_DECL:me++,SGML_DECL_QUOTED:me++,DOCTYPE:me++,DOCTYPE_QUOTED:me++,DOCTYPE_DTD:me++,DOCTYPE_DTD_QUOTED:me++,COMMENT_STARTING:me++,COMMENT:me++,COMMENT_ENDING:me++,COMMENT_ENDED:me++,CDATA:me++,CDATA_ENDING:me++,CDATA_ENDING_2:me++,PROC_INST:me++,PROC_INST_BODY:me++,PROC_INST_ENDING:me++,OPEN_TAG:me++,OPEN_TAG_SLASH:me++,ATTRIB:me++,ATTRIB_NAME:me++,ATTRIB_NAME_SAW_WHITE:me++,ATTRIB_VALUE:me++,ATTRIB_VALUE_QUOTED:me++,ATTRIB_VALUE_CLOSED:me++,ATTRIB_VALUE_UNQUOTED:me++,ATTRIB_VALUE_ENTITY_Q:me++,ATTRIB_VALUE_ENTITY_U:me++,CLOSE_TAG:me++,CLOSE_TAG_SAW_WHITE:me++,SCRIPT:me++,SCRIPT_ENDING:me++},Ie.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},Ie.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,le.default)(Ie.ENTITIES).forEach(function(Se){var Be=Ie.ENTITIES[Se],Qe=typeof Be=="number"?String.fromCharCode(Be):Be;Ie.ENTITIES[Se]=Qe});for(var Le in Ie.STATE)Ie.STATE[Ie.STATE[Le]]=Le;me=Ie.STATE,se.default||function(){var Se=String.fromCharCode,Be=Math.floor,Qe=function(){var it,ot,at=[],Mt=-1,Rt=arguments.length;if(!Rt)return"";for(var tn="";++Mt<Rt;){var qt=Number(arguments[Mt]);if(!isFinite(qt)||qt<0||qt>1114111||Be(qt)!==qt)throw RangeError("Invalid code point: "+qt);qt<=65535?at.push(qt):(qt-=65536,it=55296+(qt>>10),ot=qt%1024+56320,at.push(it,ot)),(Mt+1===Rt||at.length>16384)&&(tn+=Se.apply(null,at),at.length=0)}return tn};Ce.default?Object.defineProperty(String,"fromCodePoint",{value:Qe,configurable:!0,writable:!0}):String.fromCodePoint=Qe}()})(Ae===void 0?(void 0).sax={}:Ae)}).call(this,oe("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/create":19,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/object/keys":23,"babel-runtime/core-js/string/from-code-point":26,"babel-runtime/helpers/typeof":32,buffer:38,stream:195,string_decoder:37}],195:[function(oe,we,Ae){function de(){ve.call(this)}we.exports=de;var ve=oe("events").EventEmitter;oe("inherits")(de,ve),de.Readable=oe("readable-stream/readable.js"),de.Writable=oe("readable-stream/writable.js"),de.Duplex=oe("readable-stream/duplex.js"),de.Transform=oe("readable-stream/transform.js"),de.PassThrough=oe("readable-stream/passthrough.js"),de.Stream=de,de.prototype.pipe=function(re,se){function fe(Ee){re.writable&&re.write(Ee)===!1&&be.pause&&be.pause()}function E(){be.readable&&be.resume&&be.resume()}function te(){le||(le=!0,re.end())}function ne(){le||(le=!0,typeof re.destroy=="function"&&re.destroy())}function ge(Ee){if(Ce(),ve.listenerCount(this,"error")===0)throw Ee}function Ce(){be.removeListener("data",fe),re.removeListener("drain",E),be.removeListener("end",te),be.removeListener("close",ne),be.removeListener("error",ge),re.removeListener("error",ge),be.removeListener("end",Ce),be.removeListener("close",Ce),re.removeListener("close",Ce)}var be=this;be.on("data",fe),re.on("drain",E),re._isStdio||se&&se.end===!1||(be.on("end",te),be.on("close",ne));var le=!1;return be.on("error",ge),re.on("error",ge),be.on("end",Ce),be.on("close",Ce),re.on("close",Ce),re.emit("pipe",be),re}},{events:158,inherits:162,"readable-stream/duplex.js":178,"readable-stream/passthrough.js":187,"readable-stream/readable.js":188,"readable-stream/transform.js":189,"readable-stream/writable.js":190}],196:[function(oe,we,Ae){(function(de){var ve=oe("./lib/request"),re=oe("./lib/response"),se=oe("xtend"),fe=oe("builtin-status-codes"),E=oe("url"),te=Ae;te.request=function(ne,ge){ne=typeof ne=="string"?E.parse(ne):se(ne);var Ce=de.location.protocol.search(/^https?:$/)===-1?"http:":"",be=ne.protocol||Ce,le=ne.hostname||ne.host,Ee=ne.port,Pe=ne.path||"/";le&&le.indexOf(":")!==-1&&(le="["+le+"]"),ne.url=(le?be+"//"+le:"")+(Ee?":"+Ee:"")+Pe,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var Ie=new ve(ne);return ge&&Ie.on("response",ge),Ie},te.get=function(ne,ge){var Ce=te.request(ne,ge);return Ce.end(),Ce},te.ClientRequest=ve,te.IncomingMessage=re.IncomingMessage,te.Agent=function(){},te.Agent.defaultMaxSockets=4,te.globalAgent=new te.Agent,te.STATUS_CODES=fe,te.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":198,"./lib/response":199,"builtin-status-codes":39,url:203,xtend:236}],197:[function(oe,we,Ae){(function(de){"use strict";function ve(){if(fe!==void 0)return fe;if(de.XMLHttpRequest){fe=new de.XMLHttpRequest;try{fe.open("GET",de.XDomainRequest?"/":"https://example.com")}catch(ne){fe=null}}else fe=null;return fe}function re(ne){var ge=ve();if(!ge)return!1;try{return ge.responseType=ne,ge.responseType===ne}catch(Ce){}return!1}function se(ne){return typeof ne=="function"}Ae.fetch=se(de.fetch)&&se(de.ReadableStream),Ae.writableStream=se(de.WritableStream),Ae.abortController=se(de.AbortController),Ae.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),Ae.blobConstructor=!0}catch(ne){}var fe,E=de.ArrayBuffer!==void 0,te=E&&se(de.ArrayBuffer.prototype.slice);Ae.arraybuffer=Ae.fetch||E&&re("arraybuffer"),Ae.msstream=!Ae.fetch&&te&&re("ms-stream"),Ae.mozchunkedarraybuffer=!Ae.fetch&&E&&re("moz-chunked-arraybuffer"),Ae.overrideMimeType=Ae.fetch||!!ve()&&se(ve().overrideMimeType),Ae.vbArray=se(de.VBArray),fe=null}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],198:[function(oe,we,Ae){(function(de,ve,re){"use strict";function se(Me,ye){return ne.fetch&&ye?"fetch":ne.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ne.msstream?"ms-stream":ne.arraybuffer&&Me?"arraybuffer":ne.vbArray&&Me?"text:vbarray":"text"}function fe(Me){try{var ye=Me.status;return ye!==null&&ye!==0}catch(Te){return!1}}var E=oe("babel-runtime/core-js/object/keys"),te=function(Me){return Me&&Me.__esModule?Me:{default:Me}}(E),ne=oe("./capability"),ge=oe("inherits"),Ce=oe("./response"),be=oe("readable-stream"),le=oe("to-arraybuffer"),Ee=Ce.IncomingMessage,Pe=Ce.readyStates,Ie=we.exports=function(Me){var ye=this;be.Writable.call(ye),ye._opts=Me,ye._body=[],ye._headers={},Me.auth&&ye.setHeader("Authorization","Basic "+new re(Me.auth).toString("base64")),(0,te.default)(Me.headers).forEach(function(_e){ye.setHeader(_e,Me.headers[_e])});var Te,Fe=!0;if(Me.mode==="disable-fetch"||"requestTimeout"in Me&&!ne.abortController)Fe=!1,Te=!0;else if(Me.mode==="prefer-streaming")Te=!1;else if(Me.mode==="allow-wrong-content-type")Te=!ne.overrideMimeType;else{if(Me.mode&&Me.mode!=="default"&&Me.mode!=="prefer-fast")throw new Error("Invalid value for opts.mode");Te=!0}ye._mode=se(Te,Fe),ye._fetchTimer=null,ye.on("finish",function(){ye._onFinish()})};ge(Ie,be.Writable),Ie.prototype.setHeader=function(Me,ye){var Te=this,Fe=Me.toLowerCase();Re.indexOf(Fe)===-1&&(Te._headers[Fe]={name:Me,value:ye})},Ie.prototype.getHeader=function(Me){var ye=this._headers[Me.toLowerCase()];return ye?ye.value:null},Ie.prototype.removeHeader=function(Me){delete this._headers[Me.toLowerCase()]},Ie.prototype._onFinish=function(){var Me=this;if(!Me._destroyed){var ye=Me._opts,Te=Me._headers,Fe=null;ye.method!=="GET"&&ye.method!=="HEAD"&&(Fe=ne.arraybuffer?le(re.concat(Me._body)):ne.blobConstructor?new ve.Blob(Me._body.map(function(Ne){return le(Ne)}),{type:(Te["content-type"]||{}).value||""}):re.concat(Me._body).toString());var _e=[];if((0,te.default)(Te).forEach(function(Ne){var Ye=Te[Ne].name,Je=Te[Ne].value;Array.isArray(Je)?Je.forEach(function(He){_e.push([Ye,He])}):_e.push([Ye,Je])}),Me._mode==="fetch"){var Oe=null;if(ne.abortController){var Ke=new AbortController;Oe=Ke.signal,Me._fetchAbortController=Ke,"requestTimeout"in ye&&ye.requestTimeout!==0&&(Me._fetchTimer=ve.setTimeout(function(){Me.emit("requestTimeout"),Me._fetchAbortController&&Me._fetchAbortController.abort()},ye.requestTimeout))}ve.fetch(Me._opts.url,{method:Me._opts.method,headers:_e,body:Fe||void 0,mode:"cors",credentials:ye.withCredentials?"include":"same-origin",signal:Oe}).then(function(Ne){Me._fetchResponse=Ne,Me._connect()},function(Ne){ve.clearTimeout(Me._fetchTimer),Me._destroyed||Me.emit("error",Ne)})}else{var We=Me._xhr=new ve.XMLHttpRequest;try{We.open(Me._opts.method,Me._opts.url,!0)}catch(Ne){return void de.nextTick(function(){Me.emit("error",Ne)})}"responseType"in We&&(We.responseType=Me._mode.split(":")[0]),"withCredentials"in We&&(We.withCredentials=!!ye.withCredentials),Me._mode==="text"&&"overrideMimeType"in We&&We.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ye&&(We.timeout=ye.requestTimeout,We.ontimeout=function(){Me.emit("requestTimeout")}),_e.forEach(function(Ne){We.setRequestHeader(Ne[0],Ne[1])}),Me._response=null,We.onreadystatechange=function(){switch(We.readyState){case Pe.LOADING:case Pe.DONE:Me._onXHRProgress()}},Me._mode==="moz-chunked-arraybuffer"&&(We.onprogress=function(){Me._onXHRProgress()}),We.onerror=function(){Me._destroyed||Me.emit("error",new Error("XHR error"))};try{We.send(Fe)}catch(Ne){return void de.nextTick(function(){Me.emit("error",Ne)})}}}},Ie.prototype._onXHRProgress=function(){var Me=this;fe(Me._xhr)&&!Me._destroyed&&(Me._response||Me._connect(),Me._response._onXHRProgress())},Ie.prototype._connect=function(){var Me=this;Me._destroyed||(Me._response=new Ee(Me._xhr,Me._fetchResponse,Me._mode,Me._fetchTimer),Me._response.on("error",function(ye){Me.emit("error",ye)}),Me.emit("response",Me._response))},Ie.prototype._write=function(Me,ye,Te){this._body.push(Me),Te()},Ie.prototype.abort=Ie.prototype.destroy=function(){var Me=this;Me._destroyed=!0,ve.clearTimeout(Me._fetchTimer),Me._response&&(Me._response._destroyed=!0),Me._xhr?Me._xhr.abort():Me._fetchAbortController&&Me._fetchAbortController.abort()},Ie.prototype.end=function(Me,ye,Te){var Fe=this;typeof Me=="function"&&(Te=Me,Me=void 0),be.Writable.prototype.end.call(Fe,Me,ye,Te)},Ie.prototype.flushHeaders=function(){},Ie.prototype.setTimeout=function(){},Ie.prototype.setNoDelay=function(){},Ie.prototype.setSocketKeepAlive=function(){};var Re=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{},oe("buffer").Buffer)},{"./capability":197,"./response":199,_process:173,"babel-runtime/core-js/object/keys":23,buffer:38,inherits:162,"readable-stream":188,"to-arraybuffer":202}],199:[function(oe,we,Ae){(function(de,ve,re){"use strict";var se=oe("babel-runtime/core-js/promise"),fe=function(be){return be&&be.__esModule?be:{default:be}}(se),E=oe("./capability"),te=oe("inherits"),ne=oe("readable-stream"),ge=Ae.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},Ce=Ae.IncomingMessage=function(be,le,Ee,Pe){var Ie=this;if(ne.Readable.call(Ie),Ie._mode=Ee,Ie.headers={},Ie.rawHeaders=[],Ie.trailers={},Ie.rawTrailers=[],Ie.on("end",function(){de.nextTick(function(){Ie.emit("close")})}),Ee==="fetch"){if(Ie._fetchResponse=le,Ie.url=le.url,Ie.statusCode=le.status,Ie.statusMessage=le.statusText,le.headers.forEach(function(Fe,_e){Ie.headers[_e.toLowerCase()]=Fe,Ie.rawHeaders.push(_e,Fe)}),E.writableStream){var Re=new WritableStream({write:function(Fe){return new fe.default(function(_e,Oe){Ie._destroyed?Oe():Ie.push(new re(Fe))?_e():Ie._resumeFetch=_e})},close:function(){ve.clearTimeout(Pe),Ie._destroyed||Ie.push(null)},abort:function(Fe){Ie._destroyed||Ie.emit("error",Fe)}});try{return void le.body.pipeTo(Re).catch(function(Fe){ve.clearTimeout(Pe),Ie._destroyed||Ie.emit("error",Fe)})}catch(Fe){}}var Me=le.body.getReader();(function Fe(){Me.read().then(function(_e){if(!Ie._destroyed){if(_e.done)return ve.clearTimeout(Pe),void Ie.push(null);Ie.push(new re(_e.value)),Fe()}}).catch(function(_e){ve.clearTimeout(Pe),Ie._destroyed||Ie.emit("error",_e)})})()}else if(Ie._xhr=be,Ie._pos=0,Ie.url=be.responseURL,Ie.statusCode=be.status,Ie.statusMessage=be.statusText,be.getAllResponseHeaders().split(/\r?\n/).forEach(function(Fe){var _e=Fe.match(/^([^:]+):\s*(.*)/);if(_e){var Oe=_e[1].toLowerCase();Oe==="set-cookie"?(Ie.headers[Oe]===void 0&&(Ie.headers[Oe]=[]),Ie.headers[Oe].push(_e[2])):Ie.headers[Oe]!==void 0?Ie.headers[Oe]+=", "+_e[2]:Ie.headers[Oe]=_e[2],Ie.rawHeaders.push(_e[1],_e[2])}}),Ie._charset="x-user-defined",!E.overrideMimeType){var ye=Ie.rawHeaders["mime-type"];if(ye){var Te=ye.match(/;\s*charset=([^;])(;|$)/);Te&&(Ie._charset=Te[1].toLowerCase())}Ie._charset||(Ie._charset="utf-8")}};te(Ce,ne.Readable),Ce.prototype._read=function(){var be=this,le=be._resumeFetch;le&&(be._resumeFetch=null,le())},Ce.prototype._onXHRProgress=function(){var be=this,le=be._xhr,Ee=null;switch(be._mode){case"text:vbarray":if(le.readyState!==ge.DONE)break;try{Ee=new ve.VBArray(le.responseBody).toArray()}catch(ye){}if(Ee!==null){be.push(new re(Ee));break}case"text":try{Ee=le.responseText}catch(ye){be._mode="text:vbarray";break}if(Ee.length>be._pos){var Pe=Ee.substr(be._pos);if(be._charset==="x-user-defined"){for(var Ie=new re(Pe.length),Re=0;Re<Pe.length;Re++)Ie[Re]=255&Pe.charCodeAt(Re);be.push(Ie)}else be.push(Pe,be._charset);be._pos=Ee.length}break;case"arraybuffer":if(le.readyState!==ge.DONE||!le.response)break;Ee=le.response,be.push(new re(new Uint8Array(Ee)));break;case"moz-chunked-arraybuffer":if(Ee=le.response,le.readyState!==ge.LOADING||!Ee)break;be.push(new re(new Uint8Array(Ee)));break;case"ms-stream":if(Ee=le.response,le.readyState!==ge.LOADING)break;var Me=new ve.MSStreamReader;Me.onprogress=function(){Me.result.byteLength>be._pos&&(be.push(new re(new Uint8Array(Me.result.slice(be._pos)))),be._pos=Me.result.byteLength)},Me.onload=function(){be.push(null)},Me.readAsArrayBuffer(Ee)}be._xhr.readyState===ge.DONE&&be._mode!=="ms-stream"&&be.push(null)}}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{},oe("buffer").Buffer)},{"./capability":197,_process:173,"babel-runtime/core-js/promise":24,buffer:38,inherits:162,"readable-stream":188}],200:[function(oe,we,Ae){"use strict";function de(ye){if(!ye)return"utf8";for(var Te;;)switch(ye){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return ye;default:if(Te)return;ye=(""+ye).toLowerCase(),Te=!0}}function ve(ye){var Te=de(ye);if(typeof Te!="string"&&(Re.isEncoding===Me||!Me(ye)))throw new Error("Unknown encoding: "+ye);return Te||ye}function re(ye){this.encoding=ve(ye);var Te;switch(this.encoding){case"utf16le":this.text=Ce,this.end=be,Te=4;break;case"utf8":this.fillLast=te,Te=4;break;case"base64":this.text=le,this.end=Ee,Te=3;break;default:return this.write=Pe,void(this.end=Ie)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Re.allocUnsafe(Te)}function se(ye){return ye<=127?0:ye>>5==6?2:ye>>4==14?3:ye>>3==30?4:ye>>6==2?-1:-2}function fe(ye,Te,Fe){var _e=Te.length-1;if(_e<Fe)return 0;var Oe=se(Te[_e]);return Oe>=0?(Oe>0&&(ye.lastNeed=Oe-1),Oe):--_e<Fe||Oe===-2?0:(Oe=se(Te[_e]))>=0?(Oe>0&&(ye.lastNeed=Oe-2),Oe):--_e<Fe||Oe===-2?0:(Oe=se(Te[_e]),Oe>=0?(Oe>0&&(Oe===2?Oe=0:ye.lastNeed=Oe-3),Oe):0)}function E(ye,Te,Fe){if((192&Te[0])!=128)return ye.lastNeed=0,"\u951F\uFFFD";if(ye.lastNeed>1&&Te.length>1){if((192&Te[1])!=128)return ye.lastNeed=1,"\u951F\uFFFD";if(ye.lastNeed>2&&Te.length>2&&(192&Te[2])!=128)return ye.lastNeed=2,"\u951F\uFFFD"}}function te(ye){var Te=this.lastTotal-this.lastNeed,Fe=E(this,ye,Te);return Fe!==void 0?Fe:this.lastNeed<=ye.length?(ye.copy(this.lastChar,Te,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(ye.copy(this.lastChar,Te,0,ye.length),void(this.lastNeed-=ye.length))}function ne(ye,Te){var Fe=fe(this,ye,Te);if(!this.lastNeed)return ye.toString("utf8",Te);this.lastTotal=Fe;var _e=ye.length-(Fe-this.lastNeed);return ye.copy(this.lastChar,0,_e),ye.toString("utf8",Te,_e)}function ge(ye){var Te=ye&&ye.length?this.write(ye):"";return this.lastNeed?Te+"\u951F\uFFFD":Te}function Ce(ye,Te){if((ye.length-Te)%2==0){var Fe=ye.toString("utf16le",Te);if(Fe){var _e=Fe.charCodeAt(Fe.length-1);if(_e>=55296&&_e<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ye[ye.length-2],this.lastChar[1]=ye[ye.length-1],Fe.slice(0,-1)}return Fe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ye[ye.length-1],ye.toString("utf16le",Te,ye.length-1)}function be(ye){var Te=ye&&ye.length?this.write(ye):"";if(this.lastNeed){var Fe=this.lastTotal-this.lastNeed;return Te+this.lastChar.toString("utf16le",0,Fe)}return Te}function le(ye,Te){var Fe=(ye.length-Te)%3;return Fe===0?ye.toString("base64",Te):(this.lastNeed=3-Fe,this.lastTotal=3,Fe===1?this.lastChar[0]=ye[ye.length-1]:(this.lastChar[0]=ye[ye.length-2],this.lastChar[1]=ye[ye.length-1]),ye.toString("base64",Te,ye.length-Fe))}function Ee(ye){var Te=ye&&ye.length?this.write(ye):"";return this.lastNeed?Te+this.lastChar.toString("base64",0,3-this.lastNeed):Te}function Pe(ye){return ye.toString(this.encoding)}function Ie(ye){return ye&&ye.length?this.write(ye):""}var Re=oe("safe-buffer").Buffer,Me=Re.isEncoding||function(ye){switch((ye=""+ye)&&ye.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};Ae.StringDecoder=re,re.prototype.write=function(ye){if(ye.length===0)return"";var Te,Fe;if(this.lastNeed){if((Te=this.fillLast(ye))===void 0)return"";Fe=this.lastNeed,this.lastNeed=0}else Fe=0;return Fe<ye.length?Te?Te+this.text(ye,Fe):this.text(ye,Fe):Te||""},re.prototype.end=ge,re.prototype.text=ne,re.prototype.fillLast=function(ye){if(this.lastNeed<=ye.length)return ye.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ye.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ye.length),this.lastNeed-=ye.length}},{"safe-buffer":193}],201:[function(oe,we,Ae){(function(de,ve){function re(ge,Ce){this._id=ge,this._clearFn=Ce}var se=oe("process/browser.js").nextTick,fe=Function.prototype.apply,E=Array.prototype.slice,te={},ne=0;Ae.setTimeout=function(){return new re(fe.call(setTimeout,window,arguments),clearTimeout)},Ae.setInterval=function(){return new re(fe.call(setInterval,window,arguments),clearInterval)},Ae.clearTimeout=Ae.clearInterval=function(ge){ge.close()},re.prototype.unref=re.prototype.ref=function(){},re.prototype.close=function(){this._clearFn.call(window,this._id)},Ae.enroll=function(ge,Ce){clearTimeout(ge._idleTimeoutId),ge._idleTimeout=Ce},Ae.unenroll=function(ge){clearTimeout(ge._idleTimeoutId),ge._idleTimeout=-1},Ae._unrefActive=Ae.active=function(ge){clearTimeout(ge._idleTimeoutId);var Ce=ge._idleTimeout;Ce>=0&&(ge._idleTimeoutId=setTimeout(function(){ge._onTimeout&&ge._onTimeout()},Ce))},Ae.setImmediate=typeof de=="function"?de:function(ge){var Ce=ne++,be=!(arguments.length<2)&&E.call(arguments,1);return te[Ce]=!0,se(function(){te[Ce]&&(be?ge.apply(null,be):ge.call(null),Ae.clearImmediate(Ce))}),Ce},Ae.clearImmediate=typeof ve=="function"?ve:function(ge){delete te[ge]}}).call(this,oe("timers").setImmediate,oe("timers").clearImmediate)},{"process/browser.js":173,timers:201}],202:[function(oe,we,Ae){var de=oe("buffer").Buffer;we.exports=function(ve){if(ve instanceof Uint8Array){if(ve.byteOffset===0&&ve.byteLength===ve.buffer.byteLength)return ve.buffer;if(typeof ve.buffer.slice=="function")return ve.buffer.slice(ve.byteOffset,ve.byteOffset+ve.byteLength)}if(de.isBuffer(ve)){for(var re=new Uint8Array(ve.length),se=ve.length,fe=0;fe<se;fe++)re[fe]=ve[fe];return re.buffer}throw new Error("Argument must be a Buffer")}},{buffer:38}],203:[function(oe,we,Ae){"use strict";function de(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function ve(Oe,Ke,We){if(Oe&&te.isObject(Oe)&&Oe instanceof de)return Oe;var Ne=new de;return Ne.parse(Oe,Ke,We),Ne}function re(Oe){return te.isString(Oe)&&(Oe=ve(Oe)),Oe instanceof de?Oe.format():de.prototype.format.call(Oe)}function se(Oe,Ke){return ve(Oe,!1,!0).resolve(Ke)}function fe(Oe,Ke){return Oe?ve(Oe,!1,!0).resolveObject(Ke):Ke}var E=oe("punycode"),te=oe("./util");Ae.parse=ve,Ae.resolve=se,Ae.resolveObject=fe,Ae.format=re,Ae.Url=de;var ne=/^([a-z0-9.+-]+:)/i,ge=/:[0-9]*$/,Ce=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,be=["<",">",'"',"`"," ","\r",`
`," "],le=["{","}","|","\\","^","`"].concat(be),Ee=["'"].concat(le),Pe=["%","/","?",";","#"].concat(Ee),Ie=["/","?","#"],Re=/^[+a-z0-9A-Z_-]{0,63}$/,Me=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ye={javascript:!0,"javascript:":!0},Te={javascript:!0,"javascript:":!0},Fe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_e=oe("querystring");de.prototype.parse=function(Oe,Ke,We){if(!te.isString(Oe))throw new TypeError("Parameter 'url' must be a string, not "+typeof Oe);var Ne=Oe.indexOf("?"),Ye=Ne!==-1&&Ne<Oe.indexOf("#")?"?":"#",Je=Oe.split(Ye),He=/\\/g;Je[0]=Je[0].replace(He,"/"),Oe=Je.join(Ye);var lt=Oe;if(lt=lt.trim(),!We&&Oe.split("#").length===1){var ft=Ce.exec(lt);if(ft)return this.path=lt,this.href=lt,this.pathname=ft[1],ft[2]?(this.search=ft[2],this.query=Ke?_e.parse(this.search.substr(1)):this.search.substr(1)):Ke&&(this.search="",this.query={}),this}var tt=ne.exec(lt);if(tt){tt=tt[0];var Ot=tt.toLowerCase();this.protocol=Ot,lt=lt.substr(tt.length)}if(We||tt||lt.match(/^\/\/[^@\/]+@[^@\/]+/)){var nt=lt.substr(0,2)==="//";!nt||tt&&Te[tt]||(lt=lt.substr(2),this.slashes=!0)}if(!Te[tt]&&(nt||tt&&!Fe[tt])){for(var Ze=-1,Ge=0;Ge<Ie.length;Ge++){var $e=lt.indexOf(Ie[Ge]);$e!==-1&&(Ze===-1||$e<Ze)&&(Ze=$e)}var qe,Ve;Ve=Ze===-1?lt.lastIndexOf("@"):lt.lastIndexOf("@",Ze),Ve!==-1&&(qe=lt.slice(0,Ve),lt=lt.slice(Ve+1),this.auth=decodeURIComponent(qe)),Ze=-1;for(var Ge=0;Ge<Pe.length;Ge++){var $e=lt.indexOf(Pe[Ge]);$e!==-1&&(Ze===-1||$e<Ze)&&(Ze=$e)}Ze===-1&&(Ze=lt.length),this.host=lt.slice(0,Ze),lt=lt.slice(Ze),this.parseHost(),this.hostname=this.hostname||"";var mt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!mt)for(var st=this.hostname.split(/\./),Ge=0,Lt=st.length;Ge<Lt;Ge++){var ct=st[Ge];if(ct&&!ct.match(Re)){for(var Tt="",xt=0,wt=ct.length;xt<wt;xt++)ct.charCodeAt(xt)>127?Tt+="x":Tt+=ct[xt];if(!Tt.match(Re)){var yt=st.slice(0,Ge),je=st.slice(Ge+1),ue=ct.match(Me);ue&&(yt.push(ue[1]),je.unshift(ue[2])),je.length&&(lt="/"+je.join(".")+lt),this.hostname=yt.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),mt||(this.hostname=E.toASCII(this.hostname));var ie=this.port?":"+this.port:"",ke=this.hostname||"";this.host=ke+ie,this.href+=this.host,mt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),lt[0]!=="/"&&(lt="/"+lt))}if(!ye[Ot])for(var Ge=0,Lt=Ee.length;Ge<Lt;Ge++){var Xe=Ee[Ge];if(lt.indexOf(Xe)!==-1){var De=encodeURIComponent(Xe);De===Xe&&(De=escape(Xe)),lt=lt.split(Xe).join(De)}}var pe=lt.indexOf("#");pe!==-1&&(this.hash=lt.substr(pe),lt=lt.slice(0,pe));var x=lt.indexOf("?");if(x!==-1?(this.search=lt.substr(x),this.query=lt.substr(x+1),Ke&&(this.query=_e.parse(this.query)),lt=lt.slice(0,x)):Ke&&(this.search="",this.query={}),lt&&(this.pathname=lt),Fe[Ot]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var ie=this.pathname||"",me=this.search||"";this.path=ie+me}return this.href=this.format(),this},de.prototype.format=function(){var Oe=this.auth||"";Oe&&(Oe=encodeURIComponent(Oe),Oe=Oe.replace(/%3A/i,":"),Oe+="@");var Ke=this.protocol||"",We=this.pathname||"",Ne=this.hash||"",Ye=!1,Je="";this.host?Ye=Oe+this.host:this.hostname&&(Ye=Oe+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Ye+=":"+this.port)),this.query&&te.isObject(this.query)&&Object.keys(this.query).length&&(Je=_e.stringify(this.query));var He=this.search||Je&&"?"+Je||"";return Ke&&Ke.substr(-1)!==":"&&(Ke+=":"),this.slashes||(!Ke||Fe[Ke])&&Ye!==!1?(Ye="//"+(Ye||""),We&&We.charAt(0)!=="/"&&(We="/"+We)):Ye||(Ye=""),Ne&&Ne.charAt(0)!=="#"&&(Ne="#"+Ne),He&&He.charAt(0)!=="?"&&(He="?"+He),We=We.replace(/[?#]/g,function(lt){return encodeURIComponent(lt)}),He=He.replace("#","%23"),Ke+Ye+We+He+Ne},de.prototype.resolve=function(Oe){return this.resolveObject(ve(Oe,!1,!0)).format()},de.prototype.resolveObject=function(Oe){if(te.isString(Oe)){var Ke=new de;Ke.parse(Oe,!1,!0),Oe=Ke}for(var We=new de,Ne=Object.keys(this),Ye=0;Ye<Ne.length;Ye++){var Je=Ne[Ye];We[Je]=this[Je]}if(We.hash=Oe.hash,Oe.href==="")return We.href=We.format(),We;if(Oe.slashes&&!Oe.protocol){for(var He=Object.keys(Oe),lt=0;lt<He.length;lt++){var ft=He[lt];ft!=="protocol"&&(We[ft]=Oe[ft])}return Fe[We.protocol]&&We.hostname&&!We.pathname&&(We.path=We.pathname="/"),We.href=We.format(),We}if(Oe.protocol&&Oe.protocol!==We.protocol){if(!Fe[Oe.protocol]){for(var tt=Object.keys(Oe),Ot=0;Ot<tt.length;Ot++){var nt=tt[Ot];We[nt]=Oe[nt]}return We.href=We.format(),We}if(We.protocol=Oe.protocol,Oe.host||Te[Oe.protocol])We.pathname=Oe.pathname;else{for(var Lt=(Oe.pathname||"").split("/");Lt.length&&!(Oe.host=Lt.shift()););Oe.host||(Oe.host=""),Oe.hostname||(Oe.hostname=""),Lt[0]!==""&&Lt.unshift(""),Lt.length<2&&Lt.unshift(""),We.pathname=Lt.join("/")}if(We.search=Oe.search,We.query=Oe.query,We.host=Oe.host||"",We.auth=Oe.auth,We.hostname=Oe.hostname||Oe.host,We.port=Oe.port,We.pathname||We.search){var Ze=We.pathname||"",Ge=We.search||"";We.path=Ze+Ge}return We.slashes=We.slashes||Oe.slashes,We.href=We.format(),We}var $e=We.pathname&&We.pathname.charAt(0)==="/",qe=Oe.host||Oe.pathname&&Oe.pathname.charAt(0)==="/",Ve=qe||$e||We.host&&Oe.pathname,mt=Ve,st=We.pathname&&We.pathname.split("/")||[],Lt=Oe.pathname&&Oe.pathname.split("/")||[],ct=We.protocol&&!Fe[We.protocol];if(ct&&(We.hostname="",We.port=null,We.host&&(st[0]===""?st[0]=We.host:st.unshift(We.host)),We.host="",Oe.protocol&&(Oe.hostname=null,Oe.port=null,Oe.host&&(Lt[0]===""?Lt[0]=Oe.host:Lt.unshift(Oe.host)),Oe.host=null),Ve=Ve&&(Lt[0]===""||st[0]==="")),qe)We.host=Oe.host||Oe.host===""?Oe.host:We.host,We.hostname=Oe.hostname||Oe.hostname===""?Oe.hostname:We.hostname,We.search=Oe.search,We.query=Oe.query,st=Lt;else if(Lt.length)st||(st=[]),st.pop(),st=st.concat(Lt),We.search=Oe.search,We.query=Oe.query;else if(!te.isNullOrUndefined(Oe.search)){if(ct){We.hostname=We.host=st.shift();var Tt=!!(We.host&&We.host.indexOf("@")>0)&&We.host.split("@");Tt&&(We.auth=Tt.shift(),We.host=We.hostname=Tt.shift())}return We.search=Oe.search,We.query=Oe.query,te.isNull(We.pathname)&&te.isNull(We.search)||(We.path=(We.pathname?We.pathname:"")+(We.search?We.search:"")),We.href=We.format(),We}if(!st.length)return We.pathname=null,We.search?We.path="/"+We.search:We.path=null,We.href=We.format(),We;for(var xt=st.slice(-1)[0],wt=(We.host||Oe.host||st.length>1)&&(xt==="."||xt==="..")||xt==="",yt=0,je=st.length;je>=0;je--)xt=st[je],xt==="."?st.splice(je,1):xt===".."?(st.splice(je,1),yt++):yt&&(st.splice(je,1),yt--);if(!Ve&&!mt)for(;yt--;yt)st.unshift("..");!Ve||st[0]===""||st[0]&&st[0].charAt(0)==="/"||st.unshift(""),wt&&st.join("/").substr(-1)!=="/"&&st.push("");var ue=st[0]===""||st[0]&&st[0].charAt(0)==="/";if(ct){We.hostname=We.host=ue?"":st.length?st.shift():"";var Tt=!!(We.host&&We.host.indexOf("@")>0)&&We.host.split("@");Tt&&(We.auth=Tt.shift(),We.host=We.hostname=Tt.shift())}return Ve=Ve||We.host&&st.length,Ve&&!ue&&st.unshift(""),st.length?We.pathname=st.join("/"):(We.pathname=null,We.path=null),te.isNull(We.pathname)&&te.isNull(We.search)||(We.path=(We.pathname?We.pathname:"")+(We.search?We.search:"")),We.auth=Oe.auth||We.auth,We.slashes=We.slashes||Oe.slashes,We.href=We.format(),We},de.prototype.parseHost=function(){var Oe=this.host,Ke=ge.exec(Oe);Ke&&(Ke=Ke[0],Ke!==":"&&(this.port=Ke.substr(1)),Oe=Oe.substr(0,Oe.length-Ke.length)),Oe&&(this.hostname=Oe)}},{"./util":204,punycode:174,querystring:177}],204:[function(oe,we,Ae){"use strict";we.exports={isString:function(de){return typeof de=="string"},isObject:function(de){return typeof de=="object"&&de!==null},isNull:function(de){return de===null},isNullOrUndefined:function(de){return de==null}}},{}],205:[function(oe,we,Ae){(function(de){function ve(se,fe){function E(){if(!te){if(re("throwDeprecation"))throw new Error(fe);re("traceDeprecation")?console.trace(fe):console.warn(fe),te=!0}return se.apply(this,arguments)}if(re("noDeprecation"))return se;var te=!1;return E}function re(se){try{if(!de.localStorage)return!1}catch(E){return!1}var fe=de.localStorage[se];return fe!=null&&String(fe).toLowerCase()==="true"}we.exports=ve}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],206:[function(oe,we,Ae){we.exports=function(de){return de&&typeof de=="object"&&typeof de.copy=="function"&&typeof de.fill=="function"&&typeof de.readUInt8=="function"}},{}],207:[function(oe,we,Ae){(function(de,ve){function re(Ge,$e){var qe={seen:[],stylize:fe};return arguments.length>=3&&(qe.depth=arguments[2]),arguments.length>=4&&(qe.colors=arguments[3]),Pe($e)?qe.showHidden=$e:$e&&Ae._extend(qe,$e),Fe(qe.showHidden)&&(qe.showHidden=!1),Fe(qe.depth)&&(qe.depth=2),Fe(qe.colors)&&(qe.colors=!1),Fe(qe.customInspect)&&(qe.customInspect=!0),qe.colors&&(qe.stylize=se),te(qe,Ge,qe.depth)}function se(Ge,$e){var qe=re.styles[$e];return qe?"\x1B["+re.colors[qe][0]+"m"+Ge+"\x1B["+re.colors[qe][1]+"m":Ge}function fe(Ge,$e){return Ge}function E(Ge){var $e={};return Ge.forEach(function(qe,Ve){$e[qe]=!0}),$e}function te(Ge,$e,qe){if(Ge.customInspect&&$e&&Ne($e.inspect)&&$e.inspect!==Ae.inspect&&(!$e.constructor||$e.constructor.prototype!==$e)){var Ve=$e.inspect(qe,Ge);return ye(Ve)||(Ve=te(Ge,Ve,qe)),Ve}var mt=ne(Ge,$e);if(mt)return mt;var st=Object.keys($e),Lt=E(st);if(Ge.showHidden&&(st=Object.getOwnPropertyNames($e)),We($e)&&(st.indexOf("message")>=0||st.indexOf("description")>=0))return ge($e);if(st.length===0){if(Ne($e)){var ct=$e.name?": "+$e.name:"";return Ge.stylize("[Function"+ct+"]","special")}if(_e($e))return Ge.stylize(RegExp.prototype.toString.call($e),"regexp");if(Ke($e))return Ge.stylize(Date.prototype.toString.call($e),"date");if(We($e))return ge($e)}var Tt="",xt=!1,wt=["{","}"];if(Ee($e)&&(xt=!0,wt=["[","]"]),Ne($e)&&(Tt=" [Function"+($e.name?": "+$e.name:"")+"]"),_e($e)&&(Tt=" "+RegExp.prototype.toString.call($e)),Ke($e)&&(Tt=" "+Date.prototype.toUTCString.call($e)),We($e)&&(Tt=" "+ge($e)),st.length===0&&(!xt||$e.length==0))return wt[0]+Tt+wt[1];if(qe<0)return _e($e)?Ge.stylize(RegExp.prototype.toString.call($e),"regexp"):Ge.stylize("[Object]","special");Ge.seen.push($e);var yt;return yt=xt?Ce(Ge,$e,qe,Lt,st):st.map(function(je){return be(Ge,$e,qe,Lt,je,xt)}),Ge.seen.pop(),le(yt,Tt,wt)}function ne(Ge,$e){if(Fe($e))return Ge.stylize("undefined","undefined");if(ye($e)){var qe="'"+JSON.stringify($e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ge.stylize(qe,"string")}return Me($e)?Ge.stylize(""+$e,"number"):Pe($e)?Ge.stylize(""+$e,"boolean"):Ie($e)?Ge.stylize("null","null"):void 0}function ge(Ge){return"["+Error.prototype.toString.call(Ge)+"]"}function Ce(Ge,$e,qe,Ve,mt){for(var st=[],Lt=0,ct=$e.length;Lt<ct;++Lt)ft($e,String(Lt))?st.push(be(Ge,$e,qe,Ve,String(Lt),!0)):st.push("");return mt.forEach(function(Tt){Tt.match(/^\d+$/)||st.push(be(Ge,$e,qe,Ve,Tt,!0))}),st}function be(Ge,$e,qe,Ve,mt,st){var Lt,ct,Tt;if(Tt=Object.getOwnPropertyDescriptor($e,mt)||{value:$e[mt]},Tt.get?ct=Tt.set?Ge.stylize("[Getter/Setter]","special"):Ge.stylize("[Getter]","special"):Tt.set&&(ct=Ge.stylize("[Setter]","special")),ft(Ve,mt)||(Lt="["+mt+"]"),ct||(Ge.seen.indexOf(Tt.value)<0?(ct=Ie(qe)?te(Ge,Tt.value,null):te(Ge,Tt.value,qe-1),ct.indexOf(`
`)>-1&&(ct=st?ct.split(`
`).map(function(xt){return" "+xt}).join(`
`).substr(2):`
`+ct.split(`
`).map(function(xt){return" "+xt}).join(`
`))):ct=Ge.stylize("[Circular]","special")),Fe(Lt)){if(st&&mt.match(/^\d+$/))return ct;Lt=JSON.stringify(""+mt),Lt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Lt=Lt.substr(1,Lt.length-2),Lt=Ge.stylize(Lt,"name")):(Lt=Lt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Lt=Ge.stylize(Lt,"string"))}return Lt+": "+ct}function le(Ge,$e,qe){var Ve=0;return Ge.reduce(function(mt,st){return Ve++,st.indexOf(`
`)>=0&&Ve++,mt+st.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?qe[0]+($e===""?"":$e+`
`)+" "+Ge.join(`,
`)+" "+qe[1]:qe[0]+$e+" "+Ge.join(", ")+" "+qe[1]}function Ee(Ge){return Array.isArray(Ge)}function Pe(Ge){return typeof Ge=="boolean"}function Ie(Ge){return Ge===null}function Re(Ge){return Ge==null}function Me(Ge){return typeof Ge=="number"}function ye(Ge){return typeof Ge=="string"}function Te(Ge){return typeof Ge=="symbol"}function Fe(Ge){return Ge===void 0}function _e(Ge){return Oe(Ge)&&Je(Ge)==="[object RegExp]"}function Oe(Ge){return typeof Ge=="object"&&Ge!==null}function Ke(Ge){return Oe(Ge)&&Je(Ge)==="[object Date]"}function We(Ge){return Oe(Ge)&&(Je(Ge)==="[object Error]"||Ge instanceof Error)}function Ne(Ge){return typeof Ge=="function"}function Ye(Ge){return Ge===null||typeof Ge=="boolean"||typeof Ge=="number"||typeof Ge=="string"||typeof Ge=="symbol"||Ge===void 0}function Je(Ge){return Object.prototype.toString.call(Ge)}function He(Ge){return Ge<10?"0"+Ge.toString(10):Ge.toString(10)}function lt(){var Ge=new Date,$e=[He(Ge.getHours()),He(Ge.getMinutes()),He(Ge.getSeconds())].join(":");return[Ge.getDate(),Ze[Ge.getMonth()],$e].join(" ")}function ft(Ge,$e){return Object.prototype.hasOwnProperty.call(Ge,$e)}var tt=/%[sdj%]/g;Ae.format=function(Ge){if(!ye(Ge)){for(var $e=[],qe=0;qe<arguments.length;qe++)$e.push(re(arguments[qe]));return $e.join(" ")}for(var qe=1,Ve=arguments,mt=Ve.length,st=String(Ge).replace(tt,function(Tt){if(Tt==="%%")return"%";if(qe>=mt)return Tt;switch(Tt){case"%s":return String(Ve[qe++]);case"%d":return Number(Ve[qe++]);case"%j":try{return JSON.stringify(Ve[qe++])}catch(xt){return"[Circular]"}default:return Tt}}),Lt=Ve[qe];qe<mt;Lt=Ve[++qe])Ie(Lt)||!Oe(Lt)?st+=" "+Lt:st+=" "+re(Lt);return st},Ae.deprecate=function(Ge,$e){function qe(){if(!Ve){if(de.throwDeprecation)throw new Error($e);de.traceDeprecation?console.trace($e):console.error($e),Ve=!0}return Ge.apply(this,arguments)}if(Fe(ve.process))return function(){return Ae.deprecate(Ge,$e).apply(this,arguments)};if(de.noDeprecation===!0)return Ge;var Ve=!1;return qe};var Ot,nt={};Ae.debuglog=function(Ge){if(Fe(Ot)&&(Ot=de.env.NODE_DEBUG||""),Ge=Ge.toUpperCase(),!nt[Ge])if(new RegExp("\\b"+Ge+"\\b","i").test(Ot)){var $e=de.pid;nt[Ge]=function(){var qe=Ae.format.apply(Ae,arguments);console.error("%s %d: %s",Ge,$e,qe)}}else nt[Ge]=function(){};return nt[Ge]},Ae.inspect=re,re.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},re.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Ae.isArray=Ee,Ae.isBoolean=Pe,Ae.isNull=Ie,Ae.isNullOrUndefined=Re,Ae.isNumber=Me,Ae.isString=ye,Ae.isSymbol=Te,Ae.isUndefined=Fe,Ae.isRegExp=_e,Ae.isObject=Oe,Ae.isDate=Ke,Ae.isError=We,Ae.isFunction=Ne,Ae.isPrimitive=Ye,Ae.isBuffer=oe("./support/isBuffer");var Ze=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Ae.log=function(){console.log("%s - %s",lt(),Ae.format.apply(Ae,arguments))},Ae.inherits=oe("inherits"),Ae._extend=function(Ge,$e){if(!$e||!Oe($e))return Ge;for(var qe=Object.keys($e),Ve=qe.length;Ve--;)Ge[qe[Ve]]=$e[qe[Ve]];return Ge}}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":206,_process:173,inherits:162}],208:[function(oe,we,Ae){"use strict";(function(){Ae.stripBOM=function(de){return de[0]==="\uFEFF"?de.substring(1):de}}).call(void 0)},{}],209:[function(oe,we,Ae){"use strict";function de(E){return E&&E.__esModule?E:{default:E}}var ve=oe("babel-runtime/helpers/typeof"),re=de(ve),se=oe("babel-runtime/core-js/object/keys"),fe=de(se);(function(){var E,te,ne,ge,Ce,be={}.hasOwnProperty;E=oe("xmlbuilder"),te=oe("./defaults").defaults,ge=function(le){return typeof le=="string"&&(le.indexOf("&")>=0||le.indexOf(">")>=0||le.indexOf("<")>=0)},Ce=function(le){return"<![CDATA["+ne(le)+"]]>"},ne=function(le){return le.replace("]]>","]]]]><![CDATA[>")},Ae.Builder=function(){function le(Ee){var Pe,Ie,Re;this.options={},Ie=te[.2];for(Pe in Ie)be.call(Ie,Pe)&&(Re=Ie[Pe],this.options[Pe]=Re);for(Pe in Ee)be.call(Ee,Pe)&&(Re=Ee[Pe],this.options[Pe]=Re)}return le.prototype.buildObject=function(Ee){var Pe,Ie,Re,Me,ye;return Pe=this.options.attrkey,Ie=this.options.charkey,(0,fe.default)(Ee).length===1&&this.options.rootName===te[.2].rootName?(ye=(0,fe.default)(Ee)[0],Ee=Ee[ye]):ye=this.options.rootName,Re=function(Te){return function(Fe,_e){var Oe,Ke,We,Ne,Ye,Je;if((_e===void 0?"undefined":(0,re.default)(_e))!=="object")Te.options.cdata&&ge(_e)?Fe.raw(Ce(_e)):Fe.txt(_e);else if(Array.isArray(_e)){for(Ne in _e)if(be.call(_e,Ne)){Ke=_e[Ne];for(Ye in Ke)We=Ke[Ye],Fe=Re(Fe.ele(Ye),We).up()}}else for(Ye in _e)if(be.call(_e,Ye))if(Ke=_e[Ye],Ye===Pe){if((Ke===void 0?"undefined":(0,re.default)(Ke))==="object")for(Oe in Ke)Je=Ke[Oe],Fe=Fe.att(Oe,Je)}else if(Ye===Ie)Fe=Te.options.cdata&&ge(Ke)?Fe.raw(Ce(Ke)):Fe.txt(Ke);else if(Array.isArray(Ke))for(Ne in Ke)be.call(Ke,Ne)&&(We=Ke[Ne],Fe=typeof We=="string"?Te.options.cdata&&ge(We)?Fe.ele(Ye).raw(Ce(We)).up():Fe.ele(Ye,We).up():Re(Fe.ele(Ye),We).up());else(Ke===void 0?"undefined":(0,re.default)(Ke))==="object"?Fe=Re(Fe.ele(Ye),Ke).up():typeof Ke=="string"&&Te.options.cdata&&ge(Ke)?Fe=Fe.ele(Ye).raw(Ce(Ke)).up():(Ke==null&&(Ke=""),Fe=Fe.ele(Ye,Ke.toString()).up());return Fe}}(this),Me=E.create(ye,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),Re(Me,Ee).end(this.options.renderOpts)},le}()}).call(void 0)},{"./defaults":210,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,xmlbuilder:235}],210:[function(oe,we,Ae){"use strict";(function(){Ae.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],211:[function(oe,we,Ae){"use strict";function de(ne){return ne&&ne.__esModule?ne:{default:ne}}var ve=oe("babel-runtime/core-js/object/get-own-property-names"),re=de(ve),se=oe("babel-runtime/core-js/object/keys"),fe=de(se),E=oe("babel-runtime/helpers/typeof"),te=de(E);(function(){var ne,ge,Ce,be,le,Ee,Pe,Ie,Re=function(Te,Fe){return function(){return Te.apply(Fe,arguments)}},Me=function(Te,Fe){function _e(){this.constructor=Te}for(var Oe in Fe)ye.call(Fe,Oe)&&(Te[Oe]=Fe[Oe]);return _e.prototype=Fe.prototype,Te.prototype=new _e,Te.__super__=Fe.prototype,Te},ye={}.hasOwnProperty;Pe=oe("sax"),Ce=oe("events"),ne=oe("./bom"),Ee=oe("./processors"),Ie=oe("timers").setImmediate,ge=oe("./defaults").defaults,be=function(Te){return(Te===void 0?"undefined":(0,te.default)(Te))==="object"&&Te!=null&&(0,fe.default)(Te).length===0},le=function(Te,Fe,_e){var Oe,Ke,We;for(Oe=0,Ke=Te.length;Oe<Ke;Oe++)We=Te[Oe],Fe=We(Fe,_e);return Fe},Ae.Parser=function(Te){function Fe(_e){this.parseString=Re(this.parseString,this),this.reset=Re(this.reset,this),this.assignOrPush=Re(this.assignOrPush,this),this.processAsync=Re(this.processAsync,this);var Oe,Ke,We;if(!(this instanceof Ae.Parser))return new Ae.Parser(_e);this.options={},Ke=ge[.2];for(Oe in Ke)ye.call(Ke,Oe)&&(We=Ke[Oe],this.options[Oe]=We);for(Oe in _e)ye.call(_e,Oe)&&(We=_e[Oe],this.options[Oe]=We);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(Ee.normalize)),this.reset()}return Me(Fe,Te),Fe.prototype.processAsync=function(){var _e,Oe;try{return this.remaining.length<=this.options.chunkSize?(_e=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(_e),this.saxParser.close()):(_e=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(_e),Ie(this.processAsync))}catch(Ke){if(Oe=Ke,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Oe)}},Fe.prototype.assignOrPush=function(_e,Oe,Ke){return Oe in _e?(_e[Oe]instanceof Array||(_e[Oe]=[_e[Oe]]),_e[Oe].push(Ke)):this.options.explicitArray?_e[Oe]=[Ke]:_e[Oe]=Ke},Fe.prototype.reset=function(){var _e,Oe,Ke,We;return this.removeAllListeners(),this.saxParser=Pe.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Ne){return function(Ye){if(Ne.saxParser.resume(),!Ne.saxParser.errThrown)return Ne.saxParser.errThrown=!0,Ne.emit("error",Ye)}}(this),this.saxParser.onend=function(Ne){return function(){if(!Ne.saxParser.ended)return Ne.saxParser.ended=!0,Ne.emit("end",Ne.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,We=[],_e=this.options.attrkey,Oe=this.options.charkey,this.saxParser.onopentag=function(Ne){return function(Ye){var Je,He,lt,ft,tt;if(lt={},lt[Oe]="",!Ne.options.ignoreAttrs){tt=Ye.attributes;for(Je in tt)ye.call(tt,Je)&&(_e in lt||Ne.options.mergeAttrs||(lt[_e]={}),He=Ne.options.attrValueProcessors?le(Ne.options.attrValueProcessors,Ye.attributes[Je],Je):Ye.attributes[Je],ft=Ne.options.attrNameProcessors?le(Ne.options.attrNameProcessors,Je):Je,Ne.options.mergeAttrs?Ne.assignOrPush(lt,ft,He):lt[_e][ft]=He)}return lt["#name"]=Ne.options.tagNameProcessors?le(Ne.options.tagNameProcessors,Ye.name):Ye.name,Ne.options.xmlns&&(lt[Ne.options.xmlnskey]={uri:Ye.uri,local:Ye.local}),We.push(lt)}}(this),this.saxParser.onclosetag=function(Ne){return function(){var Ye,Je,He,lt,ft,tt,Ot,nt,Ze,Ge;if(tt=We.pop(),ft=tt["#name"],Ne.options.explicitChildren&&Ne.options.preserveChildrenOrder||delete tt["#name"],tt.cdata===!0&&(Ye=tt.cdata,delete tt.cdata),Ze=We[We.length-1],tt[Oe].match(/^\s*$/)&&!Ye?(Je=tt[Oe],delete tt[Oe]):(Ne.options.trim&&(tt[Oe]=tt[Oe].trim()),Ne.options.normalize&&(tt[Oe]=tt[Oe].replace(/\s{2,}/g," ").trim()),tt[Oe]=Ne.options.valueProcessors?le(Ne.options.valueProcessors,tt[Oe],ft):tt[Oe],(0,fe.default)(tt).length===1&&Oe in tt&&!Ne.EXPLICIT_CHARKEY&&(tt=tt[Oe])),be(tt)&&(tt=Ne.options.emptyTag!==""?Ne.options.emptyTag:Je),Ne.options.validator!=null&&(Ge="/"+function(){var $e,qe,Ve;for(Ve=[],$e=0,qe=We.length;$e<qe;$e++)lt=We[$e],Ve.push(lt["#name"]);return Ve}().concat(ft).join("/"),function(){var $e;try{tt=Ne.options.validator(Ge,Ze&&Ze[ft],tt)}catch(qe){return $e=qe,Ne.emit("error",$e)}}()),Ne.options.explicitChildren&&!Ne.options.mergeAttrs&&(tt===void 0?"undefined":(0,te.default)(tt))==="object")if(Ne.options.preserveChildrenOrder){if(Ze){Ze[Ne.options.childkey]=Ze[Ne.options.childkey]||[],Ot={};for(He in tt)ye.call(tt,He)&&(Ot[He]=tt[He]);Ze[Ne.options.childkey].push(Ot),delete tt["#name"],(0,fe.default)(tt).length===1&&Oe in tt&&!Ne.EXPLICIT_CHARKEY&&(tt=tt[Oe])}}else lt={},Ne.options.attrkey in tt&&(lt[Ne.options.attrkey]=tt[Ne.options.attrkey],delete tt[Ne.options.attrkey]),!Ne.options.charsAsChildren&&Ne.options.charkey in tt&&(lt[Ne.options.charkey]=tt[Ne.options.charkey],delete tt[Ne.options.charkey]),(0,re.default)(tt).length>0&&(lt[Ne.options.childkey]=tt),tt=lt;return We.length>0?Ne.assignOrPush(Ze,ft,tt):(Ne.options.explicitRoot&&(nt=tt,tt={},tt[ft]=nt),Ne.resultObject=tt,Ne.saxParser.ended=!0,Ne.emit("end",Ne.resultObject))}}(this),Ke=function(Ne){return function(Ye){var Je,He;if(He=We[We.length-1])return He[Oe]+=Ye,Ne.options.explicitChildren&&Ne.options.preserveChildrenOrder&&Ne.options.charsAsChildren&&(Ne.options.includeWhiteChars||Ye.replace(/\\n/g,"").trim()!=="")&&(He[Ne.options.childkey]=He[Ne.options.childkey]||[],Je={"#name":"__text__"},Je[Oe]=Ye,Ne.options.normalize&&(Je[Oe]=Je[Oe].replace(/\s{2,}/g," ").trim()),He[Ne.options.childkey].push(Je)),He}}(this),this.saxParser.ontext=Ke,this.saxParser.oncdata=function(Ne){return function(Ye){var Je;if(Je=Ke(Ye))return Je.cdata=!0}}()},Fe.prototype.parseString=function(_e,Oe){var Ke;Oe!=null&&typeof Oe=="function"&&(this.on("end",function(We){return this.reset(),Oe(null,We)}),this.on("error",function(We){return this.reset(),Oe(We)}));try{return _e=_e.toString(),_e.trim()===""?(this.emit("end",null),!0):(_e=ne.stripBOM(_e),this.options.async?(this.remaining=_e,Ie(this.processAsync),this.saxParser):this.saxParser.write(_e).close())}catch(We){if(Ke=We,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",Ke),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw Ke}},Fe}(Ce.EventEmitter),Ae.parseString=function(Te,Fe,_e){var Oe,Ke,We;return _e!=null?(typeof _e=="function"&&(Oe=_e),(Fe===void 0?"undefined":(0,te.default)(Fe))==="object"&&(Ke=Fe)):(typeof Fe=="function"&&(Oe=Fe),Ke={}),We=new Ae.Parser(Ke),We.parseString(Te,Oe)}}).call(void 0)},{"./bom":208,"./defaults":210,"./processors":212,"babel-runtime/core-js/object/get-own-property-names":21,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,events:158,sax:194,timers:201}],212:[function(oe,we,Ae){"use strict";(function(){var de;de=new RegExp(/(?!xmlns)^.*:/),Ae.normalize=function(ve){return ve.toLowerCase()},Ae.firstCharLowerCase=function(ve){return ve.charAt(0).toLowerCase()+ve.slice(1)},Ae.stripPrefix=function(ve){return ve.replace(de,"")},Ae.parseNumbers=function(ve){return isNaN(ve)||(ve=ve%1==0?parseInt(ve,10):parseFloat(ve)),ve},Ae.parseBooleans=function(ve){return/^(?:true|false)$/i.test(ve)&&(ve=ve.toLowerCase()==="true"),ve}}).call(void 0)},{}],213:[function(oe,we,Ae){"use strict";(function(){var de,ve,re,se,fe=function(te,ne){function ge(){this.constructor=te}for(var Ce in ne)E.call(ne,Ce)&&(te[Ce]=ne[Ce]);return ge.prototype=ne.prototype,te.prototype=new ge,te.__super__=ne.prototype,te},E={}.hasOwnProperty;ve=oe("./defaults"),de=oe("./builder"),re=oe("./parser"),se=oe("./processors"),Ae.defaults=ve.defaults,Ae.processors=se,Ae.ValidationError=function(te){function ne(ge){this.message=ge}return fe(ne,te),ne}(Error),Ae.Builder=de.Builder,Ae.Parser=re.Parser,Ae.parseString=re.parseString}).call(void 0)},{"./builder":209,"./defaults":210,"./parser":211,"./processors":212}],214:[function(oe,we,Ae){"use strict";function de(ne){return ne&&ne.__esModule?ne:{default:ne}}var ve=oe("babel-runtime/core-js/object/get-prototype-of"),re=de(ve),se=oe("babel-runtime/helpers/typeof"),fe=de(se),E=oe("babel-runtime/core-js/object/assign"),te=de(E);(function(){var ne,ge,Ce,be,le,Ee,Pe=[].slice,Ie={}.hasOwnProperty;ne=function(){var Re,Me,ye,Te,Fe,_e;if(_e=arguments[0],Fe=2<=arguments.length?Pe.call(arguments,1):[],be(te.default))te.default.apply(null,arguments);else for(Re=0,ye=Fe.length;Re<ye;Re++)if((Te=Fe[Re])!=null)for(Me in Te)Ie.call(Te,Me)&&(_e[Me]=Te[Me]);return _e},be=function(Re){return!!Re&&Object.prototype.toString.call(Re)==="[object Function]"},le=function(Re){var Me;return!!Re&&((Me=Re===void 0?"undefined":(0,fe.default)(Re))==="function"||Me==="object")},ge=function(Re){return be(Array.isArray)?Array.isArray(Re):Object.prototype.toString.call(Re)==="[object Array]"},Ce=function(Re){var Me;if(ge(Re))return!Re.length;for(Me in Re)if(Ie.call(Re,Me))return!1;return!0},Ee=function(Re){var Me,ye;return le(Re)&&(ye=(0,re.default)(Re))&&(Me=ye.constructor)&&typeof Me=="function"&&Me instanceof Me&&Function.prototype.toString.call(Me)===Function.prototype.toString.call(Object)},we.exports.assign=ne,we.exports.isFunction=be,we.exports.isObject=le,we.exports.isArray=ge,we.exports.isEmpty=Ce,we.exports.isPlainObject=Ee}).call(void 0)},{"babel-runtime/core-js/object/assign":18,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/helpers/typeof":32}],215:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){we.exports=function(){function re(se,fe,E){if(this.options=se.options,this.stringify=se.stringify,fe==null)throw new Error("Missing attribute name of element "+se.name);if(E==null)throw new Error("Missing attribute value for attribute "+fe+" of element "+se.name);this.name=this.stringify.attName(fe),this.value=this.stringify.attValue(E)}return re.prototype.clone=function(){return(0,ve.default)(this)},re.prototype.toString=function(se){return this.options.writer.set(se).attribute(this)},re}()}).call(void 0)},{"babel-runtime/core-js/object/create":19}],216:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),we.exports=function(E){function te(ne,ge){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(ge)}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).cdata(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],217:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),we.exports=function(E){function te(ne,ge){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing comment text");this.text=this.stringify.comment(ge)}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).comment(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],218:[function(oe,we,Ae){"use strict";(function(){var de,ve=function(se,fe){function E(){this.constructor=se}for(var te in fe)re.call(fe,te)&&(se[te]=fe[te]);return E.prototype=fe.prototype,se.prototype=new E,se.__super__=fe.prototype,se},re={}.hasOwnProperty;de=oe("./XMLNode"),we.exports=function(se){function fe(E,te,ne,ge,Ce,be){if(fe.__super__.constructor.call(this,E),te==null)throw new Error("Missing DTD element name");if(ne==null)throw new Error("Missing DTD attribute name");if(!ge)throw new Error("Missing DTD attribute type");if(!Ce)throw new Error("Missing DTD attribute default");if(Ce.indexOf("#")!==0&&(Ce="#"+Ce),!Ce.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(be&&!Ce.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(te),this.attributeName=this.stringify.attName(ne),this.attributeType=this.stringify.dtdAttType(ge),this.defaultValue=this.stringify.dtdAttDefault(be),this.defaultValueType=Ce}return ve(fe,se),fe.prototype.toString=function(E){return this.options.writer.set(E).dtdAttList(this)},fe}(de)}).call(void 0)},{"./XMLNode":227}],219:[function(oe,we,Ae){"use strict";(function(){var de,ve=function(se,fe){function E(){this.constructor=se}for(var te in fe)re.call(fe,te)&&(se[te]=fe[te]);return E.prototype=fe.prototype,se.prototype=new E,se.__super__=fe.prototype,se},re={}.hasOwnProperty;de=oe("./XMLNode"),we.exports=function(se){function fe(E,te,ne){if(fe.__super__.constructor.call(this,E),te==null)throw new Error("Missing DTD element name");ne||(ne="(#PCDATA)"),Array.isArray(ne)&&(ne="("+ne.join(",")+")"),this.name=this.stringify.eleName(te),this.value=this.stringify.dtdElementValue(ne)}return ve(fe,se),fe.prototype.toString=function(E){return this.options.writer.set(E).dtdElement(this)},fe}(de)}).call(void 0)},{"./XMLNode":227}],220:[function(oe,we,Ae){"use strict";(function(){var de,ve,re=function(fe,E){function te(){this.constructor=fe}for(var ne in E)se.call(E,ne)&&(fe[ne]=E[ne]);return te.prototype=E.prototype,fe.prototype=new te,fe.__super__=E.prototype,fe},se={}.hasOwnProperty;ve=oe("./Utility").isObject,de=oe("./XMLNode"),we.exports=function(fe){function E(te,ne,ge,Ce){if(E.__super__.constructor.call(this,te),ge==null)throw new Error("Missing entity name");if(Ce==null)throw new Error("Missing entity value");if(this.pe=!!ne,this.name=this.stringify.eleName(ge),ve(Ce)){if(!Ce.pubID&&!Ce.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(Ce.pubID&&!Ce.sysID)throw new Error("System identifier is required for a public external entity");if(Ce.pubID!=null&&(this.pubID=this.stringify.dtdPubID(Ce.pubID)),Ce.sysID!=null&&(this.sysID=this.stringify.dtdSysID(Ce.sysID)),Ce.nData!=null&&(this.nData=this.stringify.dtdNData(Ce.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(Ce)}return re(E,fe),E.prototype.toString=function(te){return this.options.writer.set(te).dtdEntity(this)},E}(de)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],221:[function(oe,we,Ae){"use strict";(function(){var de,ve=function(se,fe){function E(){this.constructor=se}for(var te in fe)re.call(fe,te)&&(se[te]=fe[te]);return E.prototype=fe.prototype,se.prototype=new E,se.__super__=fe.prototype,se},re={}.hasOwnProperty;de=oe("./XMLNode"),we.exports=function(se){function fe(E,te,ne){if(fe.__super__.constructor.call(this,E),te==null)throw new Error("Missing notation name");if(!ne.pubID&&!ne.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(te),ne.pubID!=null&&(this.pubID=this.stringify.dtdPubID(ne.pubID)),ne.sysID!=null&&(this.sysID=this.stringify.dtdSysID(ne.sysID))}return ve(fe,se),fe.prototype.toString=function(E){return this.options.writer.set(E).dtdNotation(this)},fe}(de)}).call(void 0)},{"./XMLNode":227}],222:[function(oe,we,Ae){"use strict";(function(){var de,ve,re=function(fe,E){function te(){this.constructor=fe}for(var ne in E)se.call(E,ne)&&(fe[ne]=E[ne]);return te.prototype=E.prototype,fe.prototype=new te,fe.__super__=E.prototype,fe},se={}.hasOwnProperty;ve=oe("./Utility").isObject,de=oe("./XMLNode"),we.exports=function(fe){function E(te,ne,ge,Ce){var be;E.__super__.constructor.call(this,te),ve(ne)&&(be=ne,ne=be.version,ge=be.encoding,Ce=be.standalone),ne||(ne="1.0"),this.version=this.stringify.xmlVersion(ne),ge!=null&&(this.encoding=this.stringify.xmlEncoding(ge)),Ce!=null&&(this.standalone=this.stringify.xmlStandalone(Ce))}return re(E,fe),E.prototype.toString=function(te){return this.options.writer.set(te).declaration(this)},E}(de)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],223:[function(oe,we,Ae){"use strict";(function(){var de,ve,re,se,fe,E,te=function(ge,Ce){function be(){this.constructor=ge}for(var le in Ce)ne.call(Ce,le)&&(ge[le]=Ce[le]);return be.prototype=Ce.prototype,ge.prototype=new be,ge.__super__=Ce.prototype,ge},ne={}.hasOwnProperty;E=oe("./Utility").isObject,fe=oe("./XMLNode"),de=oe("./XMLDTDAttList"),re=oe("./XMLDTDEntity"),ve=oe("./XMLDTDElement"),se=oe("./XMLDTDNotation"),we.exports=function(ge){function Ce(be,le,Ee){var Pe,Ie;Ce.__super__.constructor.call(this,be),this.documentObject=be,E(le)&&(Pe=le,le=Pe.pubID,Ee=Pe.sysID),Ee==null&&(Ie=[le,Ee],Ee=Ie[0],le=Ie[1]),le!=null&&(this.pubID=this.stringify.dtdPubID(le)),Ee!=null&&(this.sysID=this.stringify.dtdSysID(Ee))}return te(Ce,ge),Ce.prototype.element=function(be,le){var Ee;return Ee=new ve(this,be,le),this.children.push(Ee),this},Ce.prototype.attList=function(be,le,Ee,Pe,Ie){var Re;return Re=new de(this,be,le,Ee,Pe,Ie),this.children.push(Re),this},Ce.prototype.entity=function(be,le){var Ee;return Ee=new re(this,!1,be,le),this.children.push(Ee),this},Ce.prototype.pEntity=function(be,le){var Ee;return Ee=new re(this,!0,be,le),this.children.push(Ee),this},Ce.prototype.notation=function(be,le){var Ee;return Ee=new se(this,be,le),this.children.push(Ee),this},Ce.prototype.toString=function(be){return this.options.writer.set(be).docType(this)},Ce.prototype.ele=function(be,le){return this.element(be,le)},Ce.prototype.att=function(be,le,Ee,Pe,Ie){return this.attList(be,le,Ee,Pe,Ie)},Ce.prototype.ent=function(be,le){return this.entity(be,le)},Ce.prototype.pent=function(be,le){return this.pEntity(be,le)},Ce.prototype.not=function(be,le){return this.notation(be,le)},Ce.prototype.up=function(){return this.root()||this.documentObject},Ce}(fe)}).call(void 0)},{"./Utility":214,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLNode":227}],224:[function(oe,we,Ae){"use strict";(function(){var de,ve,re,se,fe=function(te,ne){function ge(){this.constructor=te}for(var Ce in ne)E.call(ne,Ce)&&(te[Ce]=ne[Ce]);return ge.prototype=ne.prototype,te.prototype=new ge,te.__super__=ne.prototype,te},E={}.hasOwnProperty;se=oe("./Utility").isPlainObject,de=oe("./XMLNode"),re=oe("./XMLStringifier"),ve=oe("./XMLStringWriter"),we.exports=function(te){function ne(ge){ne.__super__.constructor.call(this,null),ge||(ge={}),ge.writer||(ge.writer=new ve),this.options=ge,this.stringify=new re(ge),this.isDocument=!0}return fe(ne,te),ne.prototype.end=function(ge){var Ce;return ge?se(ge)&&(Ce=ge,ge=this.options.writer.set(Ce)):ge=this.options.writer,ge.document(this)},ne.prototype.toString=function(ge){return this.options.writer.set(ge).document(this)},ne}(de)}).call(void 0)},{"./Utility":214,"./XMLNode":227,"./XMLStringWriter":231,"./XMLStringifier":232}],225:[function(oe,we,Ae){"use strict";(function(){var de,ve,re,se,fe,E,te,ne,ge,Ce,be,le,Ee,Pe,Ie,Re,Me,ye,Te,Fe={}.hasOwnProperty;Te=oe("./Utility"),Me=Te.isObject,Re=Te.isFunction,ye=Te.isPlainObject,Ce=oe("./XMLElement"),ve=oe("./XMLCData"),re=oe("./XMLComment"),le=oe("./XMLRaw"),Ie=oe("./XMLText"),be=oe("./XMLProcessingInstruction"),ne=oe("./XMLDeclaration"),ge=oe("./XMLDocType"),se=oe("./XMLDTDAttList"),E=oe("./XMLDTDEntity"),fe=oe("./XMLDTDElement"),te=oe("./XMLDTDNotation"),de=oe("./XMLAttribute"),Pe=oe("./XMLStringifier"),Ee=oe("./XMLStringWriter"),we.exports=function(){function _e(Oe,Ke,We){var Ne;Oe||(Oe={}),Oe.writer?ye(Oe.writer)&&(Ne=Oe.writer,Oe.writer=new Ee(Ne)):Oe.writer=new Ee(Oe),this.options=Oe,this.writer=Oe.writer,this.stringify=new Pe(Oe),this.onDataCallback=Ke||function(){},this.onEndCallback=We||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _e.prototype.node=function(Oe,Ke,We){var Ne;if(Oe==null)throw new Error("Missing node name");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node");return this.openCurrent(),Oe=Oe.valueOf(),Ke==null&&(Ke={}),Ke=Ke.valueOf(),Me(Ke)||(Ne=[Ke,We],We=Ne[0],Ke=Ne[1]),this.currentNode=new Ce(this,Oe,Ke),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,We!=null&&this.text(We),this},_e.prototype.element=function(Oe,Ke,We){return this.currentNode&&this.currentNode instanceof ge?this.dtdElement.apply(this,arguments):this.node(Oe,Ke,We)},_e.prototype.attribute=function(Oe,Ke){var We,Ne;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode");if(Oe!=null&&(Oe=Oe.valueOf()),Me(Oe))for(We in Oe)Fe.call(Oe,We)&&(Ne=Oe[We],this.attribute(We,Ne));else Re(Ke)&&(Ke=Ke.apply()),this.options.skipNullAttributes&&Ke==null||(this.currentNode.attributes[Oe]=new de(this,Oe,Ke));return this},_e.prototype.text=function(Oe){var Ke;return this.openCurrent(),Ke=new Ie(this,Oe),this.onData(this.writer.text(Ke,this.currentLevel+1)),this},_e.prototype.cdata=function(Oe){var Ke;return this.openCurrent(),Ke=new ve(this,Oe),this.onData(this.writer.cdata(Ke,this.currentLevel+1)),this},_e.prototype.comment=function(Oe){var Ke;return this.openCurrent(),Ke=new re(this,Oe),this.onData(this.writer.comment(Ke,this.currentLevel+1)),this},_e.prototype.raw=function(Oe){var Ke;return this.openCurrent(),Ke=new le(this,Oe),this.onData(this.writer.raw(Ke,this.currentLevel+1)),this},_e.prototype.instruction=function(Oe,Ke){var We,Ne,Ye,Je,He;if(this.openCurrent(),Oe!=null&&(Oe=Oe.valueOf()),Ke!=null&&(Ke=Ke.valueOf()),Array.isArray(Oe))for(We=0,Je=Oe.length;We<Je;We++)Ne=Oe[We],this.instruction(Ne);else if(Me(Oe))for(Ne in Oe)Fe.call(Oe,Ne)&&(Ye=Oe[Ne],this.instruction(Ne,Ye));else Re(Ke)&&(Ke=Ke.apply()),He=new be(this,Oe,Ke),this.onData(this.writer.processingInstruction(He,this.currentLevel+1));return this},_e.prototype.declaration=function(Oe,Ke,We){var Ne;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node");return Ne=new ne(this,Oe,Ke,We),this.onData(this.writer.declaration(Ne,this.currentLevel+1)),this},_e.prototype.doctype=function(Oe,Ke,We){if(this.openCurrent(),Oe==null)throw new Error("Missing root node name");if(this.root)throw new Error("dtd() must come before the root node");return this.currentNode=new ge(this,Ke,We),this.currentNode.rootNodeName=Oe,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},_e.prototype.dtdElement=function(Oe,Ke){var We;return this.openCurrent(),We=new fe(this,Oe,Ke),this.onData(this.writer.dtdElement(We,this.currentLevel+1)),this},_e.prototype.attList=function(Oe,Ke,We,Ne,Ye){var Je;return this.openCurrent(),Je=new se(this,Oe,Ke,We,Ne,Ye),this.onData(this.writer.dtdAttList(Je,this.currentLevel+1)),this},_e.prototype.entity=function(Oe,Ke){var We;return this.openCurrent(),We=new E(this,!1,Oe,Ke),this.onData(this.writer.dtdEntity(We,this.currentLevel+1)),this},_e.prototype.pEntity=function(Oe,Ke){var We;return this.openCurrent(),We=new E(this,!0,Oe,Ke),this.onData(this.writer.dtdEntity(We,this.currentLevel+1)),this},_e.prototype.notation=function(Oe,Ke){var We;return this.openCurrent(),We=new te(this,Oe,Ke),this.onData(this.writer.dtdNotation(We,this.currentLevel+1)),this},_e.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},_e.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},_e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},_e.prototype.openNode=function(Oe){if(!Oe.isOpen)return!this.root&&this.currentLevel===0&&Oe instanceof Ce&&(this.root=Oe),this.onData(this.writer.openNode(Oe,this.currentLevel)),Oe.isOpen=!0},_e.prototype.closeNode=function(Oe){if(!Oe.isClosed)return this.onData(this.writer.closeNode(Oe,this.currentLevel)),Oe.isClosed=!0},_e.prototype.onData=function(Oe){return this.documentStarted=!0,this.onDataCallback(Oe)},_e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_e.prototype.ele=function(){return this.element.apply(this,arguments)},_e.prototype.nod=function(Oe,Ke,We){return this.node(Oe,Ke,We)},_e.prototype.txt=function(Oe){return this.text(Oe)},_e.prototype.dat=function(Oe){return this.cdata(Oe)},_e.prototype.com=function(Oe){return this.comment(Oe)},_e.prototype.ins=function(Oe,Ke){return this.instruction(Oe,Ke)},_e.prototype.dec=function(Oe,Ke,We){return this.declaration(Oe,Ke,We)},_e.prototype.dtd=function(Oe,Ke,We){return this.doctype(Oe,Ke,We)},_e.prototype.e=function(Oe,Ke,We){return this.element(Oe,Ke,We)},_e.prototype.n=function(Oe,Ke,We){return this.node(Oe,Ke,We)},_e.prototype.t=function(Oe){return this.text(Oe)},_e.prototype.d=function(Oe){return this.cdata(Oe)},_e.prototype.c=function(Oe){return this.comment(Oe)},_e.prototype.r=function(Oe){return this.raw(Oe)},_e.prototype.i=function(Oe,Ke){return this.instruction(Oe,Ke)},_e.prototype.att=function(){return this.currentNode&&this.currentNode instanceof ge?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_e.prototype.a=function(){return this.currentNode&&this.currentNode instanceof ge?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_e.prototype.ent=function(Oe,Ke){return this.entity(Oe,Ke)},_e.prototype.pent=function(Oe,Ke){return this.pEntity(Oe,Ke)},_e.prototype.not=function(Oe,Ke){return this.notation(Oe,Ke)},_e}()}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLStringWriter":231,"./XMLStringifier":232,"./XMLText":233}],226:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se,fe,E,te,ne=function(Ce,be){function le(){this.constructor=Ce}for(var Ee in be)ge.call(be,Ee)&&(Ce[Ee]=be[Ee]);return le.prototype=be.prototype,Ce.prototype=new le,Ce.__super__=be.prototype,Ce},ge={}.hasOwnProperty;te=oe("./Utility"),E=te.isObject,fe=te.isFunction,se=oe("./XMLNode"),re=oe("./XMLAttribute"),we.exports=function(Ce){function be(le,Ee,Pe){if(be.__super__.constructor.call(this,le),Ee==null)throw new Error("Missing element name");this.name=this.stringify.eleName(Ee),this.attributes={},Pe!=null&&this.attribute(Pe),le.isDocument&&(this.isRoot=!0,this.documentObject=le,le.rootObject=this)}return ne(be,Ce),be.prototype.clone=function(){var le,Ee,Pe,Ie;Pe=(0,ve.default)(this),Pe.isRoot&&(Pe.documentObject=null),Pe.attributes={},Ie=this.attributes;for(Ee in Ie)ge.call(Ie,Ee)&&(le=Ie[Ee],Pe.attributes[Ee]=le.clone());return Pe.children=[],this.children.forEach(function(Re){var Me;return Me=Re.clone(),Me.parent=Pe,Pe.children.push(Me)}),Pe},be.prototype.attribute=function(le,Ee){var Pe,Ie;if(le!=null&&(le=le.valueOf()),E(le))for(Pe in le)ge.call(le,Pe)&&(Ie=le[Pe],this.attribute(Pe,Ie));else fe(Ee)&&(Ee=Ee.apply()),this.options.skipNullAttributes&&Ee==null||(this.attributes[le]=new re(this,le,Ee));return this},be.prototype.removeAttribute=function(le){var Ee,Pe,Ie;if(le==null)throw new Error("Missing attribute name");if(le=le.valueOf(),Array.isArray(le))for(Pe=0,Ie=le.length;Pe<Ie;Pe++)Ee=le[Pe],delete this.attributes[Ee];else delete this.attributes[le];return this},be.prototype.toString=function(le){return this.options.writer.set(le).element(this)},be.prototype.att=function(le,Ee){return this.attribute(le,Ee)},be.prototype.a=function(le,Ee){return this.attribute(le,Ee)},be}(se)}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLNode":227,"babel-runtime/core-js/object/create":19}],227:[function(oe,we,Ae){"use strict";(function(){var de,ve,re,se,fe,E,te,ne,ge,Ce,be,le,Ee={}.hasOwnProperty;le=oe("./Utility"),be=le.isObject,Ce=le.isFunction,ge=le.isEmpty,fe=null,de=null,ve=null,re=null,se=null,te=null,ne=null,E=null,we.exports=function(){function Pe(Ie){this.parent=Ie,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],fe||(fe=oe("./XMLElement"),de=oe("./XMLCData"),ve=oe("./XMLComment"),re=oe("./XMLDeclaration"),se=oe("./XMLDocType"),te=oe("./XMLRaw"),ne=oe("./XMLText"),E=oe("./XMLProcessingInstruction"))}return Pe.prototype.element=function(Ie,Re,Me){var ye,Te,Fe,_e,Oe,Ke,We,Ne,Ye,Je;if(Ke=null,Re==null&&(Re={}),Re=Re.valueOf(),be(Re)||(Ye=[Re,Me],Me=Ye[0],Re=Ye[1]),Ie!=null&&(Ie=Ie.valueOf()),Array.isArray(Ie))for(Fe=0,We=Ie.length;Fe<We;Fe++)Te=Ie[Fe],Ke=this.element(Te);else if(Ce(Ie))Ke=this.element(Ie.apply());else if(be(Ie)){for(Oe in Ie)if(Ee.call(Ie,Oe))if(Je=Ie[Oe],Ce(Je)&&(Je=Je.apply()),be(Je)&&ge(Je)&&(Je=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Oe.indexOf(this.stringify.convertAttKey)===0)Ke=this.attribute(Oe.substr(this.stringify.convertAttKey.length),Je);else if(!this.options.separateArrayItems&&Array.isArray(Je))for(_e=0,Ne=Je.length;_e<Ne;_e++)Te=Je[_e],ye={},ye[Oe]=Te,Ke=this.element(ye);else be(Je)?(Ke=this.element(Oe),Ke.element(Je)):Ke=this.element(Oe,Je)}else Ke=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Ie.indexOf(this.stringify.convertTextKey)===0?this.text(Me):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Ie.indexOf(this.stringify.convertCDataKey)===0?this.cdata(Me):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Ie.indexOf(this.stringify.convertCommentKey)===0?this.comment(Me):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Ie.indexOf(this.stringify.convertRawKey)===0?this.raw(Me):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Ie.indexOf(this.stringify.convertPIKey)===0?this.instruction(Ie.substr(this.stringify.convertPIKey.length),Me):this.node(Ie,Re,Me);if(Ke==null)throw new Error("Could not create any elements with: "+Ie);return Ke},Pe.prototype.insertBefore=function(Ie,Re,Me){var ye,Te,Fe;if(this.isRoot)throw new Error("Cannot insert elements at root level");return Te=this.parent.children.indexOf(this),Fe=this.parent.children.splice(Te),ye=this.parent.element(Ie,Re,Me),Array.prototype.push.apply(this.parent.children,Fe),ye},Pe.prototype.insertAfter=function(Ie,Re,Me){var ye,Te,Fe;if(this.isRoot)throw new Error("Cannot insert elements at root level");return Te=this.parent.children.indexOf(this),Fe=this.parent.children.splice(Te+1),ye=this.parent.element(Ie,Re,Me),Array.prototype.push.apply(this.parent.children,Fe),ye},Pe.prototype.remove=function(){var Ie;if(this.isRoot)throw new Error("Cannot remove the root element");return Ie=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Ie,Ie-Ie+1].concat([])),this.parent},Pe.prototype.node=function(Ie,Re,Me){var ye,Te;return Ie!=null&&(Ie=Ie.valueOf()),Re||(Re={}),Re=Re.valueOf(),be(Re)||(Te=[Re,Me],Me=Te[0],Re=Te[1]),ye=new fe(this,Ie,Re),Me!=null&&ye.text(Me),this.children.push(ye),ye},Pe.prototype.text=function(Ie){var Re;return Re=new ne(this,Ie),this.children.push(Re),this},Pe.prototype.cdata=function(Ie){var Re;return Re=new de(this,Ie),this.children.push(Re),this},Pe.prototype.comment=function(Ie){var Re;return Re=new ve(this,Ie),this.children.push(Re),this},Pe.prototype.commentBefore=function(Ie){var Re,Me;return Re=this.parent.children.indexOf(this),Me=this.parent.children.splice(Re),this.parent.comment(Ie),Array.prototype.push.apply(this.parent.children,Me),this},Pe.prototype.commentAfter=function(Ie){var Re,Me;return Re=this.parent.children.indexOf(this),Me=this.parent.children.splice(Re+1),this.parent.comment(Ie),Array.prototype.push.apply(this.parent.children,Me),this},Pe.prototype.raw=function(Ie){var Re;return Re=new te(this,Ie),this.children.push(Re),this},Pe.prototype.instruction=function(Ie,Re){var Me,ye,Te,Fe,_e;if(Ie!=null&&(Ie=Ie.valueOf()),Re!=null&&(Re=Re.valueOf()),Array.isArray(Ie))for(Fe=0,_e=Ie.length;Fe<_e;Fe++)Me=Ie[Fe],this.instruction(Me);else if(be(Ie))for(Me in Ie)Ee.call(Ie,Me)&&(ye=Ie[Me],this.instruction(Me,ye));else Ce(Re)&&(Re=Re.apply()),Te=new E(this,Ie,Re),this.children.push(Te);return this},Pe.prototype.instructionBefore=function(Ie,Re){var Me,ye;return Me=this.parent.children.indexOf(this),ye=this.parent.children.splice(Me),this.parent.instruction(Ie,Re),Array.prototype.push.apply(this.parent.children,ye),this},Pe.prototype.instructionAfter=function(Ie,Re){var Me,ye;return Me=this.parent.children.indexOf(this),ye=this.parent.children.splice(Me+1),this.parent.instruction(Ie,Re),Array.prototype.push.apply(this.parent.children,ye),this},Pe.prototype.declaration=function(Ie,Re,Me){var ye,Te;return ye=this.document(),Te=new re(ye,Ie,Re,Me),ye.children[0]instanceof re?ye.children[0]=Te:ye.children.unshift(Te),ye.root()||ye},Pe.prototype.doctype=function(Ie,Re){var Me,ye,Te,Fe,_e,Oe,Ke,We,Ne,Ye;for(ye=this.document(),Te=new se(ye,Ie,Re),Ne=ye.children,Fe=_e=0,Ke=Ne.length;_e<Ke;Fe=++_e)if((Me=Ne[Fe])instanceof se)return ye.children[Fe]=Te,Te;for(Ye=ye.children,Fe=Oe=0,We=Ye.length;Oe<We;Fe=++Oe)if(Me=Ye[Fe],Me.isRoot)return ye.children.splice(Fe,0,Te),Te;return ye.children.push(Te),Te},Pe.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},Pe.prototype.root=function(){var Ie;for(Ie=this;Ie;){if(Ie.isDocument)return Ie.rootObject;if(Ie.isRoot)return Ie;Ie=Ie.parent}},Pe.prototype.document=function(){var Ie;for(Ie=this;Ie;){if(Ie.isDocument)return Ie;Ie=Ie.parent}},Pe.prototype.end=function(Ie){return this.document().end(Ie)},Pe.prototype.prev=function(){var Ie;if((Ie=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node");return this.parent.children[Ie-1]},Pe.prototype.next=function(){var Ie;if((Ie=this.parent.children.indexOf(this))===-1||Ie===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[Ie+1]},Pe.prototype.importDocument=function(Ie){var Re;return Re=Ie.root().clone(),Re.parent=this,Re.isRoot=!1,this.children.push(Re),this},Pe.prototype.ele=function(Ie,Re,Me){return this.element(Ie,Re,Me)},Pe.prototype.nod=function(Ie,Re,Me){return this.node(Ie,Re,Me)},Pe.prototype.txt=function(Ie){return this.text(Ie)},Pe.prototype.dat=function(Ie){return this.cdata(Ie)},Pe.prototype.com=function(Ie){return this.comment(Ie)},Pe.prototype.ins=function(Ie,Re){return this.instruction(Ie,Re)},Pe.prototype.doc=function(){return this.document()},Pe.prototype.dec=function(Ie,Re,Me){return this.declaration(Ie,Re,Me)},Pe.prototype.dtd=function(Ie,Re){return this.doctype(Ie,Re)},Pe.prototype.e=function(Ie,Re,Me){return this.element(Ie,Re,Me)},Pe.prototype.n=function(Ie,Re,Me){return this.node(Ie,Re,Me)},Pe.prototype.t=function(Ie){return this.text(Ie)},Pe.prototype.d=function(Ie){return this.cdata(Ie)},Pe.prototype.c=function(Ie){return this.comment(Ie)},Pe.prototype.r=function(Ie){return this.raw(Ie)},Pe.prototype.i=function(Ie,Re){return this.instruction(Ie,Re)},Pe.prototype.u=function(){return this.up()},Pe.prototype.importXMLBuilder=function(Ie){return this.importDocument(Ie)},Pe}()}).call(void 0)},{"./Utility":214,"./XMLCData":216,"./XMLComment":217,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233}],228:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),we.exports=function(E){function te(ne,ge,Ce){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(ge),Ce&&(this.value=this.stringify.insValue(Ce))}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).processingInstruction(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],229:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),we.exports=function(E){function te(ne,ge){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing raw text");this.value=this.stringify.raw(ge)}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).raw(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],230:[function(oe,we,Ae){"use strict";(function(){var de,ve,re,se,fe,E,te,ne,ge,Ce,be,le,Ee,Pe=function(Re,Me){function ye(){this.constructor=Re}for(var Te in Me)Ie.call(Me,Te)&&(Re[Te]=Me[Te]);return ye.prototype=Me.prototype,Re.prototype=new ye,Re.__super__=Me.prototype,Re},Ie={}.hasOwnProperty;te=oe("./XMLDeclaration"),ne=oe("./XMLDocType"),de=oe("./XMLCData"),ve=oe("./XMLComment"),ge=oe("./XMLElement"),be=oe("./XMLRaw"),le=oe("./XMLText"),Ce=oe("./XMLProcessingInstruction"),re=oe("./XMLDTDAttList"),se=oe("./XMLDTDElement"),fe=oe("./XMLDTDEntity"),E=oe("./XMLDTDNotation"),Ee=oe("./XMLWriterBase"),we.exports=function(Re){function Me(ye,Te){Me.__super__.constructor.call(this,Te),this.stream=ye}return Pe(Me,Re),Me.prototype.document=function(ye){var Te,Fe,_e,Oe,Ke,We,Ne,Ye;for(We=ye.children,Fe=0,Oe=We.length;Fe<Oe;Fe++)Te=We[Fe],Te.isLastRootNode=!1;for(ye.children[ye.children.length-1].isLastRootNode=!0,Ne=ye.children,Ye=[],_e=0,Ke=Ne.length;_e<Ke;_e++)switch(Te=Ne[_e],!1){case!(Te instanceof te):Ye.push(this.declaration(Te));break;case!(Te instanceof ne):Ye.push(this.docType(Te));break;case!(Te instanceof ve):Ye.push(this.comment(Te));break;case!(Te instanceof Ce):Ye.push(this.processingInstruction(Te));break;default:Ye.push(this.element(Te))}return Ye},Me.prototype.attribute=function(ye){return this.stream.write(" "+ye.name+'="'+ye.value+'"')},Me.prototype.cdata=function(ye,Te){return this.stream.write(this.space(Te)+"<![CDATA["+ye.text+"]]>"+this.endline(ye))},Me.prototype.comment=function(ye,Te){return this.stream.write(this.space(Te)+"<!-- "+ye.text+" -->"+this.endline(ye))},Me.prototype.declaration=function(ye,Te){return this.stream.write(this.space(Te)),this.stream.write('<?xml version="'+ye.version+'"'),ye.encoding!=null&&this.stream.write(' encoding="'+ye.encoding+'"'),ye.standalone!=null&&this.stream.write(' standalone="'+ye.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(ye))},Me.prototype.docType=function(ye,Te){var Fe,_e,Oe,Ke;if(Te||(Te=0),this.stream.write(this.space(Te)),this.stream.write("<!DOCTYPE "+ye.root().name),ye.pubID&&ye.sysID?this.stream.write(' PUBLIC "'+ye.pubID+'" "'+ye.sysID+'"'):ye.sysID&&this.stream.write(' SYSTEM "'+ye.sysID+'"'),ye.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(ye)),Ke=ye.children,_e=0,Oe=Ke.length;_e<Oe;_e++)switch(Fe=Ke[_e],!1){case!(Fe instanceof re):this.dtdAttList(Fe,Te+1);break;case!(Fe instanceof se):this.dtdElement(Fe,Te+1);break;case!(Fe instanceof fe):this.dtdEntity(Fe,Te+1);break;case!(Fe instanceof E):this.dtdNotation(Fe,Te+1);break;case!(Fe instanceof de):this.cdata(Fe,Te+1);break;case!(Fe instanceof ve):this.comment(Fe,Te+1);break;case!(Fe instanceof Ce):this.processingInstruction(Fe,Te+1);break;default:throw new Error("Unknown DTD node type: "+Fe.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(ye))},Me.prototype.element=function(ye,Te){var Fe,_e,Oe,Ke,We,Ne,Ye,Je;Te||(Te=0),Je=this.space(Te),this.stream.write(Je+"<"+ye.name),Ne=ye.attributes;for(We in Ne)Ie.call(Ne,We)&&(Fe=Ne[We],this.attribute(Fe));if(ye.children.length===0||ye.children.every(function(He){return He.value===""}))this.allowEmpty?this.stream.write("></"+ye.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&ye.children.length===1&&ye.children[0].value!=null)this.stream.write(">"),this.stream.write(ye.children[0].value),this.stream.write("</"+ye.name+">");else{for(this.stream.write(">"+this.newline),Ye=ye.children,Oe=0,Ke=Ye.length;Oe<Ke;Oe++)switch(_e=Ye[Oe],!1){case!(_e instanceof de):this.cdata(_e,Te+1);break;case!(_e instanceof ve):this.comment(_e,Te+1);break;case!(_e instanceof ge):this.element(_e,Te+1);break;case!(_e instanceof be):this.raw(_e,Te+1);break;case!(_e instanceof le):this.text(_e,Te+1);break;case!(_e instanceof Ce):this.processingInstruction(_e,Te+1);break;default:throw new Error("Unknown XML node type: "+_e.constructor.name)}this.stream.write(Je+"</"+ye.name+">")}return this.stream.write(this.endline(ye))},Me.prototype.processingInstruction=function(ye,Te){return this.stream.write(this.space(Te)+"<?"+ye.target),ye.value&&this.stream.write(" "+ye.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(ye))},Me.prototype.raw=function(ye,Te){return this.stream.write(this.space(Te)+ye.value+this.endline(ye))},Me.prototype.text=function(ye,Te){return this.stream.write(this.space(Te)+ye.value+this.endline(ye))},Me.prototype.dtdAttList=function(ye,Te){return this.stream.write(this.space(Te)+"<!ATTLIST "+ye.elementName+" "+ye.attributeName+" "+ye.attributeType),ye.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+ye.defaultValueType),ye.defaultValue&&this.stream.write(' "'+ye.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(ye))},Me.prototype.dtdElement=function(ye,Te){return this.stream.write(this.space(Te)+"<!ELEMENT "+ye.name+" "+ye.value),this.stream.write(this.spacebeforeslash+">"+this.endline(ye))},Me.prototype.dtdEntity=function(ye,Te){return this.stream.write(this.space(Te)+"<!ENTITY"),ye.pe&&this.stream.write(" %"),this.stream.write(" "+ye.name),ye.value?this.stream.write(' "'+ye.value+'"'):(ye.pubID&&ye.sysID?this.stream.write(' PUBLIC "'+ye.pubID+'" "'+ye.sysID+'"'):ye.sysID&&this.stream.write(' SYSTEM "'+ye.sysID+'"'),ye.nData&&this.stream.write(" NDATA "+ye.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(ye))},Me.prototype.dtdNotation=function(ye,Te){return this.stream.write(this.space(Te)+"<!NOTATION "+ye.name),ye.pubID&&ye.sysID?this.stream.write(' PUBLIC "'+ye.pubID+'" "'+ye.sysID+'"'):ye.pubID?this.stream.write(' PUBLIC "'+ye.pubID+'"'):ye.sysID&&this.stream.write(' SYSTEM "'+ye.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(ye))},Me.prototype.endline=function(ye){return ye.isLastRootNode?"":this.newline},Me}(Ee)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],231:[function(oe,we,Ae){"use strict";(function(){var de,ve,re,se,fe,E,te,ne,ge,Ce,be,le,Ee,Pe=function(Re,Me){function ye(){this.constructor=Re}for(var Te in Me)Ie.call(Me,Te)&&(Re[Te]=Me[Te]);return ye.prototype=Me.prototype,Re.prototype=new ye,Re.__super__=Me.prototype,Re},Ie={}.hasOwnProperty;te=oe("./XMLDeclaration"),ne=oe("./XMLDocType"),de=oe("./XMLCData"),ve=oe("./XMLComment"),ge=oe("./XMLElement"),be=oe("./XMLRaw"),le=oe("./XMLText"),Ce=oe("./XMLProcessingInstruction"),re=oe("./XMLDTDAttList"),se=oe("./XMLDTDElement"),fe=oe("./XMLDTDEntity"),E=oe("./XMLDTDNotation"),Ee=oe("./XMLWriterBase"),we.exports=function(Re){function Me(ye){Me.__super__.constructor.call(this,ye)}return Pe(Me,Re),Me.prototype.document=function(ye){var Te,Fe,_e,Oe,Ke;for(this.textispresent=!1,Oe="",Ke=ye.children,Fe=0,_e=Ke.length;Fe<_e;Fe++)Te=Ke[Fe],Oe+=function(){switch(!1){case!(Te instanceof te):return this.declaration(Te);case!(Te instanceof ne):return this.docType(Te);case!(Te instanceof ve):return this.comment(Te);case!(Te instanceof Ce):return this.processingInstruction(Te);default:return this.element(Te,0)}}.call(this);return this.pretty&&Oe.slice(-this.newline.length)===this.newline&&(Oe=Oe.slice(0,-this.newline.length)),Oe},Me.prototype.attribute=function(ye){return" "+ye.name+'="'+ye.value+'"'},Me.prototype.cdata=function(ye,Te){return this.space(Te)+"<![CDATA["+ye.text+"]]>"+this.newline},Me.prototype.comment=function(ye,Te){return this.space(Te)+"<!-- "+ye.text+" -->"+this.newline},Me.prototype.declaration=function(ye,Te){var Fe;return Fe=this.space(Te),Fe+='<?xml version="'+ye.version+'"',ye.encoding!=null&&(Fe+=' encoding="'+ye.encoding+'"'),ye.standalone!=null&&(Fe+=' standalone="'+ye.standalone+'"'),Fe+=this.spacebeforeslash+"?>",Fe+=this.newline},Me.prototype.docType=function(ye,Te){var Fe,_e,Oe,Ke,We;if(Te||(Te=0),Ke=this.space(Te),Ke+="<!DOCTYPE "+ye.root().name,ye.pubID&&ye.sysID?Ke+=' PUBLIC "'+ye.pubID+'" "'+ye.sysID+'"':ye.sysID&&(Ke+=' SYSTEM "'+ye.sysID+'"'),ye.children.length>0){for(Ke+=" [",Ke+=this.newline,We=ye.children,_e=0,Oe=We.length;_e<Oe;_e++)Fe=We[_e],Ke+=function(){switch(!1){case!(Fe instanceof re):return this.dtdAttList(Fe,Te+1);case!(Fe instanceof se):return this.dtdElement(Fe,Te+1);case!(Fe instanceof fe):return this.dtdEntity(Fe,Te+1);case!(Fe instanceof E):return this.dtdNotation(Fe,Te+1);case!(Fe instanceof de):return this.cdata(Fe,Te+1);case!(Fe instanceof ve):return this.comment(Fe,Te+1);case!(Fe instanceof Ce):return this.processingInstruction(Fe,Te+1);default:throw new Error("Unknown DTD node type: "+Fe.constructor.name)}}.call(this);Ke+="]"}return Ke+=this.spacebeforeslash+">",Ke+=this.newline},Me.prototype.element=function(ye,Te){var Fe,_e,Oe,Ke,We,Ne,Ye,Je,He,lt,ft,tt,Ot;Te||(Te=0),Ot=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),tt=this.space(Te),Je="",Je+=tt+"<"+ye.name,He=ye.attributes;for(Ye in He)Ie.call(He,Ye)&&(Fe=He[Ye],Je+=this.attribute(Fe));if(ye.children.length===0||ye.children.every(function(nt){return nt.value===""}))this.allowEmpty?Je+="></"+ye.name+">"+this.newline:Je+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&ye.children.length===1&&ye.children[0].value!=null)Je+=">",Je+=ye.children[0].value,Je+="</"+ye.name+">"+this.newline;else{if(this.dontprettytextnodes){for(lt=ye.children,Oe=0,We=lt.length;Oe<We;Oe++)if(_e=lt[Oe],_e.value!=null){this.textispresent++,Ot=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,tt=this.space(Te)),Je+=">"+this.newline,ft=ye.children,Ke=0,Ne=ft.length;Ke<Ne;Ke++)_e=ft[Ke],Je+=function(){switch(!1){case!(_e instanceof de):return this.cdata(_e,Te+1);case!(_e instanceof ve):return this.comment(_e,Te+1);case!(_e instanceof ge):return this.element(_e,Te+1);case!(_e instanceof be):return this.raw(_e,Te+1);case!(_e instanceof le):return this.text(_e,Te+1);case!(_e instanceof Ce):return this.processingInstruction(_e,Te+1);default:throw new Error("Unknown XML node type: "+_e.constructor.name)}}.call(this);Ot&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),Je+=tt+"</"+ye.name+">"+this.newline}return Je},Me.prototype.processingInstruction=function(ye,Te){var Fe;return Fe=this.space(Te)+"<?"+ye.target,ye.value&&(Fe+=" "+ye.value),Fe+=this.spacebeforeslash+"?>"+this.newline},Me.prototype.raw=function(ye,Te){return this.space(Te)+ye.value+this.newline},Me.prototype.text=function(ye,Te){return this.space(Te)+ye.value+this.newline},Me.prototype.dtdAttList=function(ye,Te){var Fe;return Fe=this.space(Te)+"<!ATTLIST "+ye.elementName+" "+ye.attributeName+" "+ye.attributeType,ye.defaultValueType!=="#DEFAULT"&&(Fe+=" "+ye.defaultValueType),ye.defaultValue&&(Fe+=' "'+ye.defaultValue+'"'),Fe+=this.spacebeforeslash+">"+this.newline},Me.prototype.dtdElement=function(ye,Te){return this.space(Te)+"<!ELEMENT "+ye.name+" "+ye.value+this.spacebeforeslash+">"+this.newline},Me.prototype.dtdEntity=function(ye,Te){var Fe;return Fe=this.space(Te)+"<!ENTITY",ye.pe&&(Fe+=" %"),Fe+=" "+ye.name,ye.value?Fe+=' "'+ye.value+'"':(ye.pubID&&ye.sysID?Fe+=' PUBLIC "'+ye.pubID+'" "'+ye.sysID+'"':ye.sysID&&(Fe+=' SYSTEM "'+ye.sysID+'"'),ye.nData&&(Fe+=" NDATA "+ye.nData)),Fe+=this.spacebeforeslash+">"+this.newline},Me.prototype.dtdNotation=function(ye,Te){var Fe;return Fe=this.space(Te)+"<!NOTATION "+ye.name,ye.pubID&&ye.sysID?Fe+=' PUBLIC "'+ye.pubID+'" "'+ye.sysID+'"':ye.pubID?Fe+=' PUBLIC "'+ye.pubID+'"':ye.sysID&&(Fe+=' SYSTEM "'+ye.sysID+'"'),Fe+=this.spacebeforeslash+">"+this.newline},Me.prototype.openNode=function(ye,Te){var Fe,_e,Oe,Ke;if(Te||(Te=0),ye instanceof ge){Oe=this.space(Te)+"<"+ye.name,Ke=ye.attributes;for(_e in Ke)Ie.call(Ke,_e)&&(Fe=Ke[_e],Oe+=this.attribute(Fe));return Oe+=(ye.children?">":"/>")+this.newline}return Oe=this.space(Te)+"<!DOCTYPE "+ye.rootNodeName,ye.pubID&&ye.sysID?Oe+=' PUBLIC "'+ye.pubID+'" "'+ye.sysID+'"':ye.sysID&&(Oe+=' SYSTEM "'+ye.sysID+'"'),Oe+=(ye.children?" [":">")+this.newline},Me.prototype.closeNode=function(ye,Te){switch(Te||(Te=0),!1){case!(ye instanceof ge):return this.space(Te)+"</"+ye.name+">"+this.newline;case!(ye instanceof ne):return this.space(Te)+"]>"+this.newline}},Me}(Ee)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],232:[function(oe,we,Ae){"use strict";(function(){var de=function(re,se){return function(){return re.apply(se,arguments)}},ve={}.hasOwnProperty;we.exports=function(){function re(se){this.assertLegalChar=de(this.assertLegalChar,this);var fe,E,te;se||(se={}),this.noDoubleEncoding=se.noDoubleEncoding,E=se.stringify||{};for(fe in E)ve.call(E,fe)&&(te=E[fe],this[fe]=te)}return re.prototype.eleName=function(se){return se=""+se||"",this.assertLegalChar(se)},re.prototype.eleText=function(se){return se=""+se||"",this.assertLegalChar(this.elEscape(se))},re.prototype.cdata=function(se){return se=""+se||"",se=se.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(se)},re.prototype.comment=function(se){if(se=""+se||"",se.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+se);return this.assertLegalChar(se)},re.prototype.raw=function(se){return""+se||""},re.prototype.attName=function(se){return se=""+se||""},re.prototype.attValue=function(se){return se=""+se||"",this.attEscape(se)},re.prototype.insTarget=function(se){return""+se||""},re.prototype.insValue=function(se){if(se=""+se||"",se.match(/\?>/))throw new Error("Invalid processing instruction value: "+se);return se},re.prototype.xmlVersion=function(se){if(se=""+se||"",!se.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+se);return se},re.prototype.xmlEncoding=function(se){if(se=""+se||"",!se.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+se);return se},re.prototype.xmlStandalone=function(se){return se?"yes":"no"},re.prototype.dtdPubID=function(se){return""+se||""},re.prototype.dtdSysID=function(se){return""+se||""},re.prototype.dtdElementValue=function(se){return""+se||""},re.prototype.dtdAttType=function(se){return""+se||""},re.prototype.dtdAttDefault=function(se){return se!=null?""+se||"":se},re.prototype.dtdEntityValue=function(se){return""+se||""},re.prototype.dtdNData=function(se){return""+se||""},re.prototype.convertAttKey="@",re.prototype.convertPIKey="?",re.prototype.convertTextKey="#text",re.prototype.convertCDataKey="#cdata",re.prototype.convertCommentKey="#comment",re.prototype.convertRawKey="#raw",re.prototype.assertLegalChar=function(se){var fe;if(fe=se.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+se+" at index "+fe.index);return se},re.prototype.elEscape=function(se){var fe;return fe=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(fe,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},re.prototype.attEscape=function(se){var fe;return fe=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(fe,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},re}()}).call(void 0)},{}],233:[function(oe,we,Ae){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),we.exports=function(E){function te(ne,ge){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing element text");this.value=this.stringify.eleText(ge)}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).text(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],234:[function(oe,we,Ae){"use strict";(function(){var de={}.hasOwnProperty;we.exports=function(){function ve(re){var se,fe,E,te,ne,ge,Ce,be,le;re||(re={}),this.pretty=re.pretty||!1,this.allowEmpty=(fe=re.allowEmpty)!=null&&fe,this.pretty?(this.indent=(E=re.indent)!=null?E:" ",this.newline=(te=re.newline)!=null?te:`
`,this.offset=(ne=re.offset)!=null?ne:0,this.dontprettytextnodes=(ge=re.dontprettytextnodes)!=null?ge:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(Ce=re.spacebeforeslash)!=null?Ce:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,be=re.writer||{};for(se in be)de.call(be,se)&&(le=be[se],this[se]=le)}return ve.prototype.set=function(re){var se,fe,E;re||(re={}),"pretty"in re&&(this.pretty=re.pretty),"allowEmpty"in re&&(this.allowEmpty=re.allowEmpty),this.pretty?(this.indent="indent"in re?re.indent:" ",this.newline="newline"in re?re.newline:`
`,this.offset="offset"in re?re.offset:0,this.dontprettytextnodes="dontprettytextnodes"in re?re.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in re?re.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,fe=re.writer||{};for(se in fe)de.call(fe,se)&&(E=fe[se],this[se]=E);return this},ve.prototype.space=function(re){var se;return this.pretty?(se=(re||0)+this.offset+1,se>0?new Array(se).join(this.indent):""):""},ve}()}).call(void 0)},{}],235:[function(oe,we,Ae){"use strict";(function(){var de,ve,re,se,fe,E,te;te=oe("./Utility"),fe=te.assign,E=te.isFunction,de=oe("./XMLDocument"),ve=oe("./XMLDocumentCB"),se=oe("./XMLStringWriter"),re=oe("./XMLStreamWriter"),we.exports.create=function(ne,ge,Ce,be){var le,Ee;if(ne==null)throw new Error("Root element needs a name");return be=fe({},ge,Ce,be),le=new de(be),Ee=le.element(ne),be.headless||(le.declaration(be),be.pubID==null&&be.sysID==null||le.doctype(be)),Ee},we.exports.begin=function(ne,ge,Ce){var be;return E(ne)&&(be=[ne,ge],ge=be[0],Ce=be[1],ne={}),ge?new ve(ne,ge,Ce):new de(ne)},we.exports.stringWriter=function(ne){return new se(ne)},we.exports.streamWriter=function(ne,ge){return new re(ne,ge)}}).call(void 0)},{"./Utility":214,"./XMLDocument":224,"./XMLDocumentCB":225,"./XMLStreamWriter":230,"./XMLStringWriter":231}],236:[function(oe,we,Ae){function de(){for(var re={},se=0;se<arguments.length;se++){var fe=arguments[se];for(var E in fe)ve.call(fe,E)&&(re[E]=fe[E])}return re}we.exports=de;var ve=Object.prototype.hasOwnProperty},{}],237:[function(oe,we,Ae){"use strict";function de(be,le,Ee){se.isBuffer(le)||(le=new se(le)),se.isBuffer(Ee)||(Ee=new se(Ee)),le.length>ge?le=be(le):le.length<ge&&(le=se.concat([le,Ce],ge));for(var Pe=new se(ge),Ie=new se(ge),Re=0;Re<ge;Re++)Pe[Re]=54^le[Re],Ie[Re]=92^le[Re];var Me=be(se.concat([Pe,Ee]));return be(se.concat([Ie,Me]))}function ve(be,le){be=be||"sha1";var Ee=ne[be],Pe=[],Ie=0;return Ee||re("algorithm:",be,"is not yet supported"),{update:function(Re){return se.isBuffer(Re)||(Re=new se(Re)),Pe.push(Re),Ie+=Re.length,this},digest:function(Re){var Me=se.concat(Pe),ye=le?de(Ee,le,Me):Ee(Me);return Pe=null,Re?ye.toString(Re):ye}}}function re(){var be=[].slice.call(arguments).join(" ");throw new Error([be,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}var se=oe("buffer").Buffer,fe=oe("./sha"),E=oe("./sha256"),te=oe("./md5"),ne={sha1:fe,sha256:E,md5:te},ge=64,Ce=new se(ge);Ce.fill(0),Ae.createHash=function(be){return ve(be)},Ae.createHmac=function(be,le){return ve(be,le)},function(be,le){for(var Ee in be)le(be[Ee],Ee)}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(be){Ae[be]=function(){re("sorry,",be,"is not implemented yet")}})},{"./md5":239,"./sha":240,"./sha256":241,buffer:38}],238:[function(oe,we,Ae){"use strict";function de(ne,ge){if(ne.length%fe!=0){var Ce=ne.length+(fe-ne.length%fe);ne=se.concat([ne,E],Ce)}for(var be=[],le=ge?ne.readInt32BE:ne.readInt32LE,Ee=0;Ee<ne.length;Ee+=fe)be.push(le.call(ne,Ee));return be}function ve(ne,ge,Ce){for(var be=new se(ge),le=Ce?be.writeInt32BE:be.writeInt32LE,Ee=0;Ee<ne.length;Ee++)le.call(be,ne[Ee],4*Ee,!0);return be}function re(ne,ge,Ce,be){return se.isBuffer(ne)||(ne=new se(ne)),ve(ge(de(ne,be),ne.length*te),Ce,be)}var se=oe("buffer").Buffer,fe=4,E=new se(fe);E.fill(0);var te=8;we.exports={hash:re}},{buffer:38}],239:[function(oe,we,Ae){"use strict";function de(Ce,be){Ce[be>>5]|=128<<be%32,Ce[14+(be+64>>>9<<4)]=be;for(var le=1732584193,Ee=-271733879,Pe=-1732584194,Ie=271733878,Re=0;Re<Ce.length;Re+=16){var Me=le,ye=Ee,Te=Pe,Fe=Ie;le=re(le,Ee,Pe,Ie,Ce[Re+0],7,-680876936),Ie=re(Ie,le,Ee,Pe,Ce[Re+1],12,-389564586),Pe=re(Pe,Ie,le,Ee,Ce[Re+2],17,606105819),Ee=re(Ee,Pe,Ie,le,Ce[Re+3],22,-1044525330),le=re(le,Ee,Pe,Ie,Ce[Re+4],7,-176418897),Ie=re(Ie,le,Ee,Pe,Ce[Re+5],12,1200080426),Pe=re(Pe,Ie,le,Ee,Ce[Re+6],17,-1473231341),Ee=re(Ee,Pe,Ie,le,Ce[Re+7],22,-45705983),le=re(le,Ee,Pe,Ie,Ce[Re+8],7,1770035416),Ie=re(Ie,le,Ee,Pe,Ce[Re+9],12,-1958414417),Pe=re(Pe,Ie,le,Ee,Ce[Re+10],17,-42063),Ee=re(Ee,Pe,Ie,le,Ce[Re+11],22,-1990404162),le=re(le,Ee,Pe,Ie,Ce[Re+12],7,1804603682),Ie=re(Ie,le,Ee,Pe,Ce[Re+13],12,-40341101),Pe=re(Pe,Ie,le,Ee,Ce[Re+14],17,-1502002290),Ee=re(Ee,Pe,Ie,le,Ce[Re+15],22,1236535329),le=se(le,Ee,Pe,Ie,Ce[Re+1],5,-165796510),Ie=se(Ie,le,Ee,Pe,Ce[Re+6],9,-1069501632),Pe=se(Pe,Ie,le,Ee,Ce[Re+11],14,643717713),Ee=se(Ee,Pe,Ie,le,Ce[Re+0],20,-373897302),le=se(le,Ee,Pe,Ie,Ce[Re+5],5,-701558691),Ie=se(Ie,le,Ee,Pe,Ce[Re+10],9,38016083),Pe=se(Pe,Ie,le,Ee,Ce[Re+15],14,-660478335),Ee=se(Ee,Pe,Ie,le,Ce[Re+4],20,-405537848),le=se(le,Ee,Pe,Ie,Ce[Re+9],5,568446438),Ie=se(Ie,le,Ee,Pe,Ce[Re+14],9,-1019803690),Pe=se(Pe,Ie,le,Ee,Ce[Re+3],14,-187363961),Ee=se(Ee,Pe,Ie,le,Ce[Re+8],20,1163531501),le=se(le,Ee,Pe,Ie,Ce[Re+13],5,-1444681467),Ie=se(Ie,le,Ee,Pe,Ce[Re+2],9,-51403784),Pe=se(Pe,Ie,le,Ee,Ce[Re+7],14,1735328473),Ee=se(Ee,Pe,Ie,le,Ce[Re+12],20,-1926607734),le=fe(le,Ee,Pe,Ie,Ce[Re+5],4,-378558),Ie=fe(Ie,le,Ee,Pe,Ce[Re+8],11,-2022574463),Pe=fe(Pe,Ie,le,Ee,Ce[Re+11],16,1839030562),Ee=fe(Ee,Pe,Ie,le,Ce[Re+14],23,-35309556),le=fe(le,Ee,Pe,Ie,Ce[Re+1],4,-1530992060),Ie=fe(Ie,le,Ee,Pe,Ce[Re+4],11,1272893353),Pe=fe(Pe,Ie,le,Ee,Ce[Re+7],16,-155497632),Ee=fe(Ee,Pe,Ie,le,Ce[Re+10],23,-1094730640),le=fe(le,Ee,Pe,Ie,Ce[Re+13],4,681279174),Ie=fe(Ie,le,Ee,Pe,Ce[Re+0],11,-358537222),Pe=fe(Pe,Ie,le,Ee,Ce[Re+3],16,-722521979),Ee=fe(Ee,Pe,Ie,le,Ce[Re+6],23,76029189),le=fe(le,Ee,Pe,Ie,Ce[Re+9],4,-640364487),Ie=fe(Ie,le,Ee,Pe,Ce[Re+12],11,-421815835),Pe=fe(Pe,Ie,le,Ee,Ce[Re+15],16,530742520),Ee=fe(Ee,Pe,Ie,le,Ce[Re+2],23,-995338651),le=E(le,Ee,Pe,Ie,Ce[Re+0],6,-198630844),Ie=E(Ie,le,Ee,Pe,Ce[Re+7],10,1126891415),Pe=E(Pe,Ie,le,Ee,Ce[Re+14],15,-1416354905),Ee=E(Ee,Pe,Ie,le,Ce[Re+5],21,-57434055),le=E(le,Ee,Pe,Ie,Ce[Re+12],6,1700485571),Ie=E(Ie,le,Ee,Pe,Ce[Re+3],10,-1894986606),Pe=E(Pe,Ie,le,Ee,Ce[Re+10],15,-1051523),Ee=E(Ee,Pe,Ie,le,Ce[Re+1],21,-2054922799),le=E(le,Ee,Pe,Ie,Ce[Re+8],6,1873313359),Ie=E(Ie,le,Ee,Pe,Ce[Re+15],10,-30611744),Pe=E(Pe,Ie,le,Ee,Ce[Re+6],15,-1560198380),Ee=E(Ee,Pe,Ie,le,Ce[Re+13],21,1309151649),le=E(le,Ee,Pe,Ie,Ce[Re+4],6,-145523070),Ie=E(Ie,le,Ee,Pe,Ce[Re+11],10,-1120210379),Pe=E(Pe,Ie,le,Ee,Ce[Re+2],15,718787259),Ee=E(Ee,Pe,Ie,le,Ce[Re+9],21,-343485551),le=te(le,Me),Ee=te(Ee,ye),Pe=te(Pe,Te),Ie=te(Ie,Fe)}return Array(le,Ee,Pe,Ie)}function ve(Ce,be,le,Ee,Pe,Ie){return te(ne(te(te(be,Ce),te(Ee,Ie)),Pe),le)}function re(Ce,be,le,Ee,Pe,Ie,Re){return ve(be&le|~be&Ee,Ce,be,Pe,Ie,Re)}function se(Ce,be,le,Ee,Pe,Ie,Re){return ve(be&Ee|le&~Ee,Ce,be,Pe,Ie,Re)}function fe(Ce,be,le,Ee,Pe,Ie,Re){return ve(be^le^Ee,Ce,be,Pe,Ie,Re)}function E(Ce,be,le,Ee,Pe,Ie,Re){return ve(le^(be|~Ee),Ce,be,Pe,Ie,Re)}function te(Ce,be){var le=(65535&Ce)+(65535&be);return(Ce>>16)+(be>>16)+(le>>16)<<16|65535&le}function ne(Ce,be){return Ce<<be|Ce>>>32-be}var ge=oe("./helpers");we.exports=function(Ce){return ge.hash(Ce,de,16)}},{"./helpers":238}],240:[function(oe,we,Ae){"use strict";function de(te,ne){te[ne>>5]|=128<<24-ne%32,te[15+(ne+64>>9<<4)]=ne;for(var ge=Array(80),Ce=1732584193,be=-271733879,le=-1732584194,Ee=271733878,Pe=-1009589776,Ie=0;Ie<te.length;Ie+=16){for(var Re=Ce,Me=be,ye=le,Te=Ee,Fe=Pe,_e=0;_e<80;_e++){ge[_e]=_e<16?te[Ie+_e]:fe(ge[_e-3]^ge[_e-8]^ge[_e-14]^ge[_e-16],1);var Oe=se(se(fe(Ce,5),ve(_e,be,le,Ee)),se(se(Pe,ge[_e]),re(_e)));Pe=Ee,Ee=le,le=fe(be,30),be=Ce,Ce=Oe}Ce=se(Ce,Re),be=se(be,Me),le=se(le,ye),Ee=se(Ee,Te),Pe=se(Pe,Fe)}return Array(Ce,be,le,Ee,Pe)}function ve(te,ne,ge,Ce){return te<20?ne&ge|~ne&Ce:te<40?ne^ge^Ce:te<60?ne&ge|ne&Ce|ge&Ce:ne^ge^Ce}function re(te){return te<20?1518500249:te<40?1859775393:te<60?-1894007588:-899497514}function se(te,ne){var ge=(65535&te)+(65535&ne);return(te>>16)+(ne>>16)+(ge>>16)<<16|65535&ge}function fe(te,ne){return te<<ne|te>>>32-ne}var E=oe("./helpers");we.exports=function(te){return E.hash(te,de,20,!0)}},{"./helpers":238}],241:[function(oe,we,Ae){"use strict";var de=oe("./helpers"),ve=function(le,Ee){var Pe=(65535&le)+(65535&Ee);return(le>>16)+(Ee>>16)+(Pe>>16)<<16|65535&Pe},re=function(le,Ee){return le>>>Ee|le<<32-Ee},se=function(le,Ee){return le>>>Ee},fe=function(le,Ee,Pe){return le&Ee^~le&Pe},E=function(le,Ee,Pe){return le&Ee^le&Pe^Ee&Pe},te=function(le){return re(le,2)^re(le,13)^re(le,22)},ne=function(le){return re(le,6)^re(le,11)^re(le,25)},ge=function(le){return re(le,7)^re(le,18)^se(le,3)},Ce=function(le){return re(le,17)^re(le,19)^se(le,10)},be=function(le,Ee){var Pe,Ie,Re,Me,ye,Te,Fe,_e,Oe,Ke,We,Ne,Ye=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),Je=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),He=new Array(64);le[Ee>>5]|=128<<24-Ee%32,le[15+(Ee+64>>9<<4)]=Ee;for(var Oe=0;Oe<le.length;Oe+=16){Pe=Je[0],Ie=Je[1],Re=Je[2],Me=Je[3],ye=Je[4],Te=Je[5],Fe=Je[6],_e=Je[7];for(var Ke=0;Ke<64;Ke++)He[Ke]=Ke<16?le[Ke+Oe]:ve(ve(ve(Ce(He[Ke-2]),He[Ke-7]),ge(He[Ke-15])),He[Ke-16]),We=ve(ve(ve(ve(_e,ne(ye)),fe(ye,Te,Fe)),Ye[Ke]),He[Ke]),Ne=ve(te(Pe),E(Pe,Ie,Re)),_e=Fe,Fe=Te,Te=ye,ye=ve(Me,We),Me=Re,Re=Ie,Ie=Pe,Pe=ve(We,Ne);Je[0]=ve(Pe,Je[0]),Je[1]=ve(Ie,Je[1]),Je[2]=ve(Re,Je[2]),Je[3]=ve(Me,Je[3]),Je[4]=ve(ye,Je[4]),Je[5]=ve(Te,Je[5]),Je[6]=ve(Fe,Je[6]),Je[7]=ve(_e,Je[7])}return Je};we.exports=function(le){return de.hash(le,be,32,!0)}},{"./helpers":238}],242:[function(oe,we,Ae){(function(de){"use strict";function ve(be){return be&&be.__esModule?be:{default:be}}var re=oe("babel-runtime/core-js/object/create"),se=ve(re),fe=oe("babel-runtime/helpers/classCallCheck"),E=ve(fe),te=oe("babel-runtime/helpers/createClass"),ne=ve(te),ge=oe("babel-runtime/helpers/typeof"),Ce=ve(ge);(function(be){if((Ae===void 0?"undefined":(0,Ce.default)(Ae))==="object"&&we!==void 0)we.exports=be();else if(typeof b=="function"&&b.amd)b([],be);else{var le;le=typeof window!="undefined"?window:de!==void 0?de:typeof self!="undefined"?self:this,le.mime=be()}})(function(){return function be(le,Ee,Pe){function Ie(ye,Te){if(!Ee[ye]){if(!le[ye]){var Fe=typeof oe=="function"&&oe;if(!Te&&Fe)return Fe(ye,!0);if(Re)return Re(ye,!0);var _e=new Error("Cannot find module '"+ye+"'");throw _e.code="MODULE_NOT_FOUND",_e}var Oe=Ee[ye]={exports:{}};le[ye][0].call(Oe.exports,function(Ke){var We=le[ye][1][Ke];return Ie(We||Ke)},Oe,Oe.exports,be,le,Ee,Pe)}return Ee[ye].exports}for(var Re=typeof oe=="function"&&oe,Me=0;Me<Pe.length;Me++)Ie(Pe[Me]);return Ie}({1:[function(be,le,Ee){var Pe=function(){function Ie(){(0,E.default)(this,Ie),this._types=(0,se.default)(null),this._extensions=(0,se.default)(null);for(var Re=0;Re<arguments.length;Re++)this.define(arguments[Re])}return(0,ne.default)(Ie,[{key:"define",value:function(Re,Me){for(var ye in Re){for(var Te=Re[ye],Fe=0;Fe<Te.length;Fe++){var _e=Te[Fe];if(!Me&&_e in this._types)throw new Error('Attempt to change mapping for "'+_e+'" extension from "'+this._types[_e]+'" to "'+ye+'". Pass `force=true` to allow this, otherwise remove "'+_e+'" from the list of extensions for "'+ye+'".');this._types[_e]=ye}!Me&&this._extensions[ye]||(this._extensions[ye]=Te[0])}}},{key:"getType",value:function(Re){Re=String(Re);var Me=Re.replace(/^.*[\/\\]/,"").toLowerCase(),ye=Me.replace(/^.*\./,"").toLowerCase(),Te=Me.length<Re.length;return(ye.length<Me.length-1||!Te)&&this._types[ye]||null}},{key:"getExtension",value:function(Re){return(Re=/^\s*([^;\s]*)/.test(Re)&&RegExp.$1)&&this._extensions[Re.toLowerCase()]||null}}]),Ie}();le.exports=Pe},{}],2:[function(be,le,Ee){var Pe=be("./Mime");le.exports=new Pe(be("./types/standard"),be("./types/other"))},{"./Mime":1,"./types/other":3,"./types/standard":4}],3:[function(be,le,Ee){le.exports={"application/prs.cww":["cww"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-otf":[],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-ttf":["ttf","ttc"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},{}],4:[function(be,le,Ee){le.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":["woff"],"application/font-woff2":["woff2"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/pskc+xml":["pskcxml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/voicexml+xml":["vxml"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/xm":["xm"],"font/otf":["otf"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jpeg":["jpeg","jpg","jpe"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/webp":["webp"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}]},{},[2])(2)})}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"babel-runtime/core-js/object/create":19,"babel-runtime/helpers/classCallCheck":30,"babel-runtime/helpers/createClass":31,"babel-runtime/helpers/typeof":32}],243:[function(oe,we,Ae){"use strict";Ae.encodeURIComponent=function(de){try{return encodeURIComponent(de)}catch(ve){return de}},Ae.escape=oe("escape-html"),Ae.timestamp=function(de){if(de){var ve=de;return typeof ve=="string"&&(ve=Number(ve)),String(de).length===10&&(ve*=1e3),new Date(ve)}return Math.round(Date.now()/1e3)}},{"escape-html":157}],244:[function(oe,we,Ae){(function(de,ve){"use strict";function re(_e){return _e&&_e.__esModule?_e:{default:_e}}function se(_e,Oe){return _e===void 0?Oe:_e}function fe(_e,Oe){return function(Ke,We,Ne){if(Ke)return Oe(Ke);_e({data:We,status:Ne.statusCode,headers:Ne.headers,res:Ne})}}var E,te=oe("babel-runtime/core-js/json/stringify"),ne=re(te),ge=oe("babel-runtime/helpers/typeof"),Ce=re(ge),be=oe("util"),le=oe("url"),Ee=oe("http"),Pe=oe("https"),Ie=oe("debug")("urllib"),Re=oe("humanize-ms"),Me=0,ye=Math.pow(2,31)-10,Te=/^https?:\/\//i;Ae.TIMEOUTS=[Re("300s"),Re("300s")];var Fe=["json","text"];Ae.request=function(_e,Oe,Ke){return arguments.length===2&&typeof Oe=="function"&&(Ke=Oe,Oe=null),typeof Ke=="function"?Ae.requestWithCallback(_e,Oe,Ke):(E||(E=oe("any-promise")),new E(function(We,Ne){Ae.requestWithCallback(_e,Oe,fe(We,Ne))}))},Ae.requestWithCallback=function(_e,Oe,Ke){function We(){De&&(clearTimeout(De),De=null)}function Ne(){pe&&(clearTimeout(pe),pe=null)}function Ye(Bt,hn,$t){if(Ne(),!Ke)return console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),nt,de.pid,ct.method,_e),void(Bt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),nt,de.pid,Bt.name,Bt.message,Bt.stack));var Ct=Ke;Ke=null;var jt={};if($t&&(Be=$t.statusCode,jt=$t.headers),Be===401&&jt["www-authenticate"]&&(!Oe.headers||!Oe.headers.Authorization)&&Oe.digestAuth){var ln=jt["www-authenticate"];if(ln.indexOf("Digest ")>=0)return Ie("Request#%d %s: got digest auth header WWW-Authenticate: %s",nt,_e,ln),Oe.headers=Oe.headers||{},Oe.headers.Authorization=digestAuthHeader(ct.method,ct.path,ln,Oe.digestAuth),Ie("Request#%d %s: auth with digest header: %s",nt,_e,Oe.headers.Authorization),$t.headers["set-cookie"]&&(Oe.headers.Cookie=$t.headers["set-cookie"].join(";")),Ae.requestWithCallback(_e,Oe,Ct)}var yn=Date.now()-$e;at&&(at.contentDownload=yn),Ie("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",yn,Se,Be,ct.method,ct.host,ct.path,Le,at);var Et={status:Be,statusCode:Be,headers:jt,size:Se,aborted:Qe,rt:yn,keepAliveSocket:Le,data:hn,requestUrls:Oe.requestUrls,timing:at,remoteAddress:it,remotePort:ot};if(Bt){var Wt="";st&&typeof st.getCurrentStatus=="function"&&(Wt=", agent status: "+(0,ne.default)(st.getCurrentStatus())),Bt.message+=", "+ct.method+" "+_e+" "+Be+" (connected: "+me+", keepalive socket: "+Le+Wt+`)
headers: `+(0,ne.default)(jt),Bt.data=hn,Bt.path=ct.path,Bt.status=Be,Bt.headers=jt,Bt.res=Et}Ct(Bt,hn,Oe.streaming?$t:Et),Oe.emitter&&(Ze.url=_e,Ze.socket=qt&&qt.connection,Ze.options=ct,Ze.size=ke,Oe.emitter.emit("response",{requestId:nt,error:Bt,ctx:Oe.ctx,req:Ze,res:Et}))}function Je(Bt){var hn=null;if(Oe.followRedirect&&statuses.redirect[Bt.statusCode]){Oe._followRedirectCount=(Oe._followRedirectCount||0)+1;var $t=Bt.headers.location;if($t){if(!(Oe._followRedirectCount>Oe.maxRedirects)){var Ct=Oe.formatRedirectUrl?Oe.formatRedirectUrl(_e,$t):le.resolve(_e,$t);Ie("Request#%d %s: `redirected` from %s to %s",nt,ct.path,_e,Ct),Ne(),Oe.headers&&Oe.headers.Host&&Te.test($t)&&(Oe.headers.Host=null);var jt=Ke;return Ke=null,Ae.requestWithCallback(Ct,Oe,jt),{redirect:!0,error:null}}hn=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+_e),hn.name="MaxRedirectError"}else hn=new Error("Got statusCode "+Bt.statusCode+" but cannot resolve next location from headers"),hn.name="FollowRedirectError"}return{redirect:!1,error:hn}}function He(Bt,hn,$t){return $t(null,hn,Bt.headers["content-encoding"])}function lt(Bt){if(at&&(at.waiting=Date.now()-$e),Ie("Request#%d %s `req response` event emit: status %d, headers: %j",nt,_e,Bt.statusCode,Bt.headers),Oe.streaming){var hn=Je(Bt);return hn.redirect?void Bt.resume():hn.error?(Bt.resume(),Ye(hn.error,null,Bt)):Ye(null,null,Bt)}if(Bt.on("close",function(){Ie("Request#%d %s: `res close` event emit, total size %d",nt,_e,Se)}),Bt.on("error",function(){Ie("Request#%d %s: `res error` event emit, total size %d",nt,_e,Se)}),Bt.on("aborted",function(){Qe=!0,Ie("Request#%d %s: `res aborted` event emit, total size %d",nt,_e,Se)}),Mt){var hn=Je(Bt);return hn.redirect?void Bt.resume():hn.error?(Bt.resume(),Mt.end(),Ye(hn.error,null,Bt)):(Oe.consumeWriteStream===!1?Bt.on("end",Ye.bind(null,null,null,Bt)):isNode010||isNode012?first([[Mt,"close"],[Bt,"aborted"]],function(jt,ln,yn){Ie("Request#%d %s: writeStream or res %s event emitted",nt,_e,yn),Ye(x||null,null,Bt)}):Mt.on("close",function(){Ie("Request#%d %s: writeStream close event emitted",nt,_e),Ye(x||null,null,Bt)}),Bt.pipe(Mt))}var $t=[];Bt.on("data",function(Ct){Ie("Request#%d %s: `res data` event emit, size %d",nt,_e,Ct.length),Se+=Ct.length,$t.push(Ct)}),Bt.on("end",function(){var Ct=ve.concat($t,Se);if(Ie("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",nt,_e,Se,Bt._dumped),x)return Ye(x,Ct,Bt);var jt=Je(Bt);if(jt.error)return Ye(jt.error,Ct,Bt);jt.redirect||He(Bt,Ct,function(ln,yn,Et){if(ln)return Ye(ln,Ct,Bt);if(!Et&&Fe.indexOf(Oe.dataType)>=0){try{yn=decodeBodyByCharset(yn,Bt)}catch(Jt){return Ie("decodeBodyByCharset error: %s",Jt),Ye(null,yn,Bt)}if(Oe.dataType==="json")if(Se===0)yn=null;else{var Wt=parseJSON(yn,Lt);Wt.error?ln=Wt.error:yn=Wt.data}}Qe&&Ie("Request#%d %s: Remote socket was terminated before `response.end()` was called",nt,_e),Ye(ln,yn,Bt)})})}function ft(){Ie("Response timer ticking, timeout: %d",tn),pe=setTimeout(function(){pe=null;var Bt="Response timeout for "+tn+"ms";x=new Error(Bt),x.name="ResponseTimeoutError",x.requestId=nt,Ie("ResponseTimeout: Request#%d %s %s: %s, connected: %s",nt,_e,x.name,Bt,me),tt()},tn)}function tt(){Ie("Request#%d %s abort, connected: %s",nt,_e,me),qt.socket||(x.noSocket=!0,Ye(x)),qt.abort()}if(!_e||typeof _e!="string"&&(_e===void 0?"undefined":(0,Ce.default)(_e))!=="object"){var Ot=be.format("expect request url to be a string or a http request options, but got %j",_e);throw new Error(Ot)}arguments.length===2&&typeof Oe=="function"&&(Ke=Oe,Oe=null),Oe=Oe||{},Me>=ye&&(Me=0);var nt=++Me;Oe.requestUrls=Oe.requestUrls||[];var Ze={requestId:nt,url:_e,args:Oe,ctx:Oe.ctx};Oe.emitter&&Oe.emitter.emit("request",Ze),Oe.timeout=Oe.timeout||Ae.TIMEOUTS,Oe.maxRedirects=Oe.maxRedirects||10,Oe.streaming=Oe.streaming||Oe.customResponse;var Ge,$e=Date.now();typeof _e=="string"?(Te.test(_e)||(_e="http://"+_e),Ge=le.parse(_e)):Ge=_e;var qe=(Oe.type||Oe.method||Ge.method||"GET").toUpperCase(),Ve=Ge.port||80,mt=Ee,st=se(Oe.agent,Ae.agent),Lt=Oe.fixJSONCtlChars;Ge.protocol==="https:"&&(mt=Pe,st=se(Oe.httpsAgent,Ae.httpsAgent),Ge.port||(Ve=443));var ct={host:Ge.hostname||Ge.host||"localhost",path:Ge.path||"/",method:qe,port:Ve,agent:st,headers:Oe.headers||{},lookup:Oe.lookup};Array.isArray(Oe.timeout)?ct.requestTimeout=Oe.timeout[Oe.timeout.length-1]:Oe.timeout!==void 0&&(ct.requestTimeout=Oe.timeout);for(var Tt=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],xt=0;xt<Tt.length;xt++){var wt=Tt[xt];Oe.hasOwnProperty(wt)&&(ct[wt]=Oe[wt])}ct.rejectUnauthorized!==!1||ct.hasOwnProperty("secureOptions")||(ct.secureOptions=oe("constants").SSL_OP_NO_TLSv1_2);var yt=Oe.auth||Ge.auth;yt&&(ct.auth=yt);var je=Oe.content||Oe.data,ue=qe==="GET"||qe==="HEAD"||Oe.dataAsQueryString;if(!Oe.content&&je&&typeof je!="string"&&!ve.isBuffer(je))if(ue)je=Oe.nestedQuerystring?qs.stringify(je):querystring.stringify(je);else{var ie=ct.headers["Content-Type"]||ct.headers["content-type"];ie||(ie=Oe.contentType==="json"?"application/json":"application/x-www-form-urlencoded",ct.headers["Content-Type"]=ie),je=parseContentType(ie).type==="application/json"?(0,ne.default)(je):Oe.nestedQuerystring?qs.stringify(je):querystring.stringify(je)}ue&&je&&(ct.path+=(Ge.query?"&":"?")+je,je=null);var ke=0;if(je){var Xe=je.length;ve.isBuffer(je)||(Xe=ve.byteLength(je)),ke=ct.headers["Content-Length"]=Xe}Oe.dataType==="json"&&(ct.headers.Accept="application/json"),typeof Oe.beforeRequest=="function"&&Oe.beforeRequest(ct);var De=null,pe=null,x=null,me=!1,Le=!1,Se=0,Be=-1,Qe=!1,it="",ot="",at=null;Oe.timing&&(at={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}),ct.headers["User-Agent"]||ct.headers["user-agent"]||(ct.headers["User-Agent"]=navigator.userAgent),Oe.gzip&&(ct.headers["Accept-Encoding"]||ct.headers["accept-encoding"]||(ct.headers["Accept-Encoding"]="gzip"));var Mt=Oe.writeStream;Ie("Request#%d %s %s with headers %j, options.path: %s",nt,qe,_e,ct.headers,ct.path),Oe.requestUrls.push(_e);var Rt,tn;Array.isArray(Oe.timeout)?(Rt=Re(Oe.timeout[0]),tn=Re(Oe.timeout[1])):Rt=tn=Re(Oe.timeout),Ie("ConnectTimeout: %d, ResponseTimeout: %d",Rt,tn);var qt;try{qt=mt.request(ct,lt)}catch(Bt){return Ye(Bt)}return typeof window=="undefined"?function(){Ie("Connect timer ticking, timeout: %d",Rt),De=setTimeout(function(){De=null,Be===-1&&(Be=-2);var Bt="Connect timeout for "+Rt+"ms",hn="ConnectionTimeoutError";qt.socket||(hn="SocketAssignTimeoutError",Bt+=", working sockets is full"),x=new Error(Bt),x.name=hn,x.requestId=nt,Ie("ConnectTimeout: Request#%d %s %s: %s, connected: %s",nt,_e,x.name,Bt,me),tt()},Rt)}():qt.on("requestTimeout",function(){Be===-1&&(Be=-2);var Bt="Connect timeout for "+Rt+"ms";x=new Error(Bt),x.name="ConnectionTimeoutError",x.requestId=nt,tt()}),at&&qt.on("finish",function(){at.requestSent=Date.now()-$e}),qt.once("socket",function(Bt){at&&(at.queuing=Date.now()-$e),isNode010&&Bt.socket&&(Bt=Bt.socket);var hn=Bt.readyState;if(hn==="opening")return Bt.once("lookup",function($t,Ct,jt){Ie("Request#%d %s lookup: %s, %s, %s",nt,_e,$t,Ct,jt),at&&(at.dnslookup=Date.now()-$e),Ct&&(it=Ct)}),void Bt.once("connect",function(){at&&(at.connected=Date.now()-$e),We(),ft(),Ie("Request#%d %s new socket connected",nt,_e),me=!0,it||(it=Bt.remoteAddress),ot=Bt.remotePort});Ie("Request#%d %s reuse socket connected, readyState: %s",nt,_e,hn),me=!0,Le=!0,it||(it=Bt.remoteAddress),ot=Bt.remotePort,We(),ft()}),qt.on("error",function(Bt){Bt.name!=="Error"&&Bt.name!=="TypeError"||(Bt.name=me?"ResponseError":"RequestError"),Bt.message+=' (req "error")',Ie("Request#%d %s `req error` event emit, %s: %s",nt,_e,Bt.name,Bt.message),Ye(x||Bt)}),Mt&&Mt.once("error",function(Bt){Bt.message+=' (writeStream "error")',x=Bt,Ie("Request#%d %s `writeStream error` event emit, %s: %s",nt,_e,Bt.name,Bt.message),tt()}),Oe.stream?(Oe.stream.pipe(qt),Oe.stream.once("error",function(Bt){Bt.message+=' (stream "error")',x=Bt,Ie("Request#%d %s `readStream error` event emit, %s: %s",nt,_e,Bt.name,Bt.message),tt()})):qt.end(je),qt.requestId=nt,qt}}).call(this,oe("_process"),oe("buffer").Buffer)},{_process:173,"any-promise":13,"babel-runtime/core-js/json/stringify":17,"babel-runtime/helpers/typeof":32,buffer:38,constants:42,debug:155,http:196,https:159,"humanize-ms":160,url:203,util:207}]},{},[1])(1)}),function(b){function oe(Ae){if(we[Ae])return we[Ae].exports;var de=we[Ae]={i:Ae,l:!1,exports:{}};return b[Ae].call(de.exports,de,de.exports,oe),de.l=!0,de.exports}var we={};oe.m=b,oe.c=we,oe.d=function(Ae,de,ve){oe.o(Ae,de)||Object.defineProperty(Ae,de,{configurable:!1,enumerable:!0,get:ve})},oe.n=function(Ae){var de=Ae&&Ae.__esModule?function(){return Ae.default}:function(){return Ae};return oe.d(de,"a",de),de},oe.o=function(Ae,de){return Object.prototype.hasOwnProperty.call(Ae,de)},oe.p="",oe(oe.s=12)}([function(b,oe,we){(function(Ae,de){b.exports=oe=de()})(0,function(){var Ae=Ae||function(de,ve){var re=Object.create||function(){function Pe(){}return function(Ie){var Re;return Pe.prototype=Ie,Re=new Pe,Pe.prototype=null,Re}}(),se={},fe=se.lib={},E=fe.Base=function(){return{extend:function(Pe){var Ie=re(this);return Pe&&Ie.mixIn(Pe),Ie.hasOwnProperty("init")&&this.init!==Ie.init||(Ie.init=function(){Ie.$super.init.apply(this,arguments)}),Ie.init.prototype=Ie,Ie.$super=this,Ie},create:function(){var Pe=this.extend();return Pe.init.apply(Pe,arguments),Pe},init:function(){},mixIn:function(Pe){for(var Ie in Pe)Pe.hasOwnProperty(Ie)&&(this[Ie]=Pe[Ie]);Pe.hasOwnProperty("toString")&&(this.toString=Pe.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),te=fe.WordArray=E.extend({init:function(Pe,Ie){Pe=this.words=Pe||[],this.sigBytes=Ie!=null?Ie:4*Pe.length},toString:function(Pe){return(Pe||ge).stringify(this)},concat:function(Pe){var Ie=this.words,Re=Pe.words,Me=this.sigBytes,ye=Pe.sigBytes;if(this.clamp(),Me%4)for(var Te=0;Te<ye;Te++){var Fe=Re[Te>>>2]>>>24-Te%4*8&255;Ie[Me+Te>>>2]|=Fe<<24-(Me+Te)%4*8}else for(var Te=0;Te<ye;Te+=4)Ie[Me+Te>>>2]=Re[Te>>>2];return this.sigBytes+=ye,this},clamp:function(){var Pe=this.words,Ie=this.sigBytes;Pe[Ie>>>2]&=4294967295<<32-Ie%4*8,Pe.length=de.ceil(Ie/4)},clone:function(){var Pe=E.clone.call(this);return Pe.words=this.words.slice(0),Pe},random:function(Pe){for(var Ie,Re=[],Me=0;Me<Pe;Me+=4){var ye=function(Fe){var Fe=Fe,_e=987654321,Oe=4294967295;return function(){_e=36969*(65535&_e)+(_e>>16)&Oe,Fe=18e3*(65535&Fe)+(Fe>>16)&Oe;var Ke=(_e<<16)+Fe&Oe;return Ke/=4294967296,(Ke+=.5)*(de.random()>.5?1:-1)}}(4294967296*(Ie||de.random()));Ie=987654071*ye(),Re.push(4294967296*ye()|0)}return new te.init(Re,Pe)}}),ne=se.enc={},ge=ne.Hex={stringify:function(Pe){for(var Ie=Pe.words,Re=Pe.sigBytes,Me=[],ye=0;ye<Re;ye++){var Te=Ie[ye>>>2]>>>24-ye%4*8&255;Me.push((Te>>>4).toString(16)),Me.push((15&Te).toString(16))}return Me.join("")},parse:function(Pe){for(var Ie=Pe.length,Re=[],Me=0;Me<Ie;Me+=2)Re[Me>>>3]|=parseInt(Pe.substr(Me,2),16)<<24-Me%8*4;return new te.init(Re,Ie/2)}},Ce=ne.Latin1={stringify:function(Pe){for(var Ie=Pe.words,Re=Pe.sigBytes,Me=[],ye=0;ye<Re;ye++){var Te=Ie[ye>>>2]>>>24-ye%4*8&255;Me.push(String.fromCharCode(Te))}return Me.join("")},parse:function(Pe){for(var Ie=Pe.length,Re=[],Me=0;Me<Ie;Me++)Re[Me>>>2]|=(255&Pe.charCodeAt(Me))<<24-Me%4*8;return new te.init(Re,Ie)}},be=ne.Utf8={stringify:function(Pe){try{return decodeURIComponent(escape(Ce.stringify(Pe)))}catch(Ie){throw new Error("Malformed UTF-8 data")}},parse:function(Pe){return Ce.parse(unescape(encodeURIComponent(Pe)))}},le=fe.BufferedBlockAlgorithm=E.extend({reset:function(){this._data=new te.init,this._nDataBytes=0},_append:function(Pe){typeof Pe=="string"&&(Pe=be.parse(Pe)),this._data.concat(Pe),this._nDataBytes+=Pe.sigBytes},_process:function(Pe){var Ie=this._data,Re=Ie.words,Me=Ie.sigBytes,ye=this.blockSize,Te=4*ye,Fe=Me/Te;Fe=Pe?de.ceil(Fe):de.max((0|Fe)-this._minBufferSize,0);var _e=Fe*ye,Oe=de.min(4*_e,Me);if(_e){for(var Ke=0;Ke<_e;Ke+=ye)this._doProcessBlock(Re,Ke);var We=Re.splice(0,_e);Ie.sigBytes-=Oe}return new te.init(We,Oe)},clone:function(){var Pe=E.clone.call(this);return Pe._data=this._data.clone(),Pe},_minBufferSize:0}),Ee=(fe.Hasher=le.extend({cfg:E.extend(),init:function(Pe){this.cfg=this.cfg.extend(Pe),this.reset()},reset:function(){le.reset.call(this),this._doReset()},update:function(Pe){return this._append(Pe),this._process(),this},finalize:function(Pe){return Pe&&this._append(Pe),this._doFinalize()},blockSize:16,_createHelper:function(Pe){return function(Ie,Re){return new Pe.init(Re).finalize(Ie)}},_createHmacHelper:function(Pe){return function(Ie,Re){return new Ee.HMAC.init(Pe,Re).finalize(Ie)}}}),se.algo={});return se}(Math);return Ae})},function(b,oe,we){"use strict";function Ae(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){Ae(this,re)}return de(re,null,[{key:"detectIEVersion",value:function(){for(var se=4,fe=document.createElement("div"),E=fe.getElementsByTagName("i");fe.innerHTML="<!--[if gt IE "+se+"]><i></i><![endif]-->",E[0];)se++;return se>4&&se}},{key:"extend",value:function(se,fe){for(var E in fe)Object.prototype.hasOwnProperty.call(fe,E)&&fe[E]&&(se[E]=fe[E])}},{key:"isArray",value:function(se){return Object.prototype.toString.call(arg)==="[object Array]"}},{key:"getFileType",value:function(se){return se=se.toLowerCase(),/.mp4|.flv|.m3u8|.avi|.rm|.rmvb|.mpeg|.mpg|.mov|.wmv|.3gp|.asf|.dat|.dv|.f4v|.gif|.m2t|.m4v|.mj2|.mjpeg|.mpe|.mts|.ogg|.qt|.swf|.ts|.vob|.wmv|.webm/.test(se)?"video":/.mp3|.wav|.ape|.cda|.au|.midi|.mac|.aac|.ac3|.acm|.amr|.caf|.flac|.m4a|.ra|.wma/.test(se)?"audio":/.bmp|.jpg|.jpeg|.png/.test(se)?"img":"other"}},{key:"isImage",value:function(se){return se=se.toLowerCase(),!!/.jpg|.jpeg|.png/.test(se)}},{key:"ISODateString",value:function(se){function fe(E){return E<10?"0"+E:E}return se.getUTCFullYear()+"-"+fe(se.getUTCMonth()+1)+"-"+fe(se.getUTCDate())+"T"+fe(se.getUTCHours())+":"+fe(se.getUTCMinutes())+":"+fe(se.getUTCSeconds())+"Z"}},{key:"isIntNum",value:function(se){return!!/^\d+$/.test(se)}}]),re}();oe.default=ve},function(b,oe,we){(function(Ae,de){b.exports=oe=de(we(0))})(0,function(Ae){return function(de){function ve(Ee,Pe,Ie,Re,Me,ye,Te){var Fe=Ee+(Pe&Ie|~Pe&Re)+Me+Te;return(Fe<<ye|Fe>>>32-ye)+Pe}function re(Ee,Pe,Ie,Re,Me,ye,Te){var Fe=Ee+(Pe&Re|Ie&~Re)+Me+Te;return(Fe<<ye|Fe>>>32-ye)+Pe}function se(Ee,Pe,Ie,Re,Me,ye,Te){var Fe=Ee+(Pe^Ie^Re)+Me+Te;return(Fe<<ye|Fe>>>32-ye)+Pe}function fe(Ee,Pe,Ie,Re,Me,ye,Te){var Fe=Ee+(Ie^(Pe|~Re))+Me+Te;return(Fe<<ye|Fe>>>32-ye)+Pe}var E=Ae,te=E.lib,ne=te.WordArray,ge=te.Hasher,Ce=E.algo,be=[];(function(){for(var Ee=0;Ee<64;Ee++)be[Ee]=4294967296*de.abs(de.sin(Ee+1))|0})();var le=Ce.MD5=ge.extend({_doReset:function(){this._hash=new ne.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(Ee,Pe){for(var Ie=0;Ie<16;Ie++){var Re=Pe+Ie,Me=Ee[Re];Ee[Re]=16711935&(Me<<8|Me>>>24)|4278255360&(Me<<24|Me>>>8)}var ye=this._hash.words,Te=Ee[Pe+0],Fe=Ee[Pe+1],_e=Ee[Pe+2],Oe=Ee[Pe+3],Ke=Ee[Pe+4],We=Ee[Pe+5],Ne=Ee[Pe+6],Ye=Ee[Pe+7],Je=Ee[Pe+8],He=Ee[Pe+9],lt=Ee[Pe+10],ft=Ee[Pe+11],tt=Ee[Pe+12],Ot=Ee[Pe+13],nt=Ee[Pe+14],Ze=Ee[Pe+15],Ge=ye[0],$e=ye[1],qe=ye[2],Ve=ye[3];Ge=ve(Ge,$e,qe,Ve,Te,7,be[0]),Ve=ve(Ve,Ge,$e,qe,Fe,12,be[1]),qe=ve(qe,Ve,Ge,$e,_e,17,be[2]),$e=ve($e,qe,Ve,Ge,Oe,22,be[3]),Ge=ve(Ge,$e,qe,Ve,Ke,7,be[4]),Ve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ve,Ge,lt,23,be[39]),Ge=se(Ge,$e,qe,Ve,Ot,4,be[40]),Ve=se(Ve,Ge,$e,qe,Te,11,be[41]),qe=se(qe,Ve,Ge,$e,Oe,16,be[42]),$e=se($e,qe,Ve,Ge,Ne,23,be[43]),Ge=se(Ge,$e,qe,Ve,He,4,be[44]),Ve=se(Ve,Ge,$e,qe,tt,11,be[45]),qe=se(qe,Ve,Ge,$e,Ze,16,be[46]),$e=se($e,qe,Ve,Ge,_e,23,be[47]),Ge=fe(Ge,$e,qe,Ve,Te,6,be[48]),Ve=fe(Ve,Ge,$e,qe,Ye,10,be[49]),qe=fe(qe,Ve,Ge,$e,nt,15,be[50]),$e=fe($e,qe,Ve,Ge,We,21,be[51]),Ge=fe(Ge,$e,qe,Ve,tt,6,be[52]),Ve=fe(Ve,Ge,$e,qe,Oe,10,be[53]),qe=fe(qe,Ve,Ge,$e,lt,15,be[54]),$e=fe($e,qe,Ve,Ge,Fe,21,be[55]),Ge=fe(Ge,$e,qe,Ve,Je,6,be[56]),Ve=fe(Ve,Ge,$e,qe,Ze,10,be[57]),qe=fe(qe,Ve,Ge,$e,Ne,15,be[58]),$e=fe($e,qe,Ve,Ge,Ot,21,be[59]),Ge=fe(Ge,$e,qe,Ve,Ke,6,be[60]),Ve=fe(Ve,Ge,$e,qe,ft,10,be[61]),qe=fe(qe,Ve,Ge,$e,_e,15,be[62]),$e=fe($e,qe,Ve,Ge,He,21,be[63]),ye[0]=ye[0]+Ge|0,ye[1]=ye[1]+$e|0,ye[2]=ye[2]+qe|0,ye[3]=ye[3]+Ve|0},_doFinalize:function(){var Ee=this._data,Pe=Ee.words,Ie=8*this._nDataBytes,Re=8*Ee.sigBytes;Pe[Re>>>5]|=128<<24-Re%32;var Me=de.floor(Ie/4294967296),ye=Ie;Pe[15+(Re+64>>>9<<4)]=16711935&(Me<<8|Me>>>24)|4278255360&(Me<<24|Me>>>8),Pe[14+(Re+64>>>9<<4)]=16711935&(ye<<8|ye>>>24)|4278255360&(ye<<24|ye>>>8),Ee.sigBytes=4*(Pe.length+1),this._process();for(var Te=this._hash,Fe=Te.words,_e=0;_e<4;_e++){var Oe=Fe[_e];Fe[_e]=16711935&(Oe<<8|Oe>>>24)|4278255360&(Oe<<24|Oe>>>8)}return Te},clone:function(){var Ee=ge.clone.call(this);return Ee._hash=this._hash.clone(),Ee}});E.MD5=ge._createHelper(le),E.HmacMD5=ge._createHmacHelper(le)}(Math),Ae.MD5})},function(b,oe,we){"use strict";Object.defineProperty(oe,"__esModule",{value:!0}),oe.UPLOADSTATE={INIT:"init",UPLOADING:"uploading",COMPLETE:"complete",INTERRUPT:"interrupt"},oe.UPLOADSTEP={INIT:"init",PART:"part",COMPLETE:"complete"},oe.UPLOADDEFAULT={PARALLEL:5,PARTSIZE:1048576}},function(b,oe,we){"use strict";function Ae(le){return le&&le.__esModule?le:{default:le}}function de(le,Ee){if(!(le instanceof Ee))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function le(Ee,Pe){for(var Ie=0;Ie<Pe.length;Ie++){var Re=Pe[Ie];Re.enumerable=Re.enumerable||!1,Re.configurable=!0,"value"in Re&&(Re.writable=!0),Object.defineProperty(Ee,Re.key,Re)}}return function(Ee,Pe,Ie){return Pe&&le(Ee.prototype,Pe),Ie&&le(Ee,Ie),Ee}}(),re=we(5),se=Ae(re),fe=we(25),E=Ae(fe),te=we(6),ne=Ae(te),ge=we(7),Ce=Ae(ge),be=function(){function le(Ee){de(this,le);var Pe=Ce.default.os.name,Ie=Ce.default.os.version||"",Re=Ce.default.browser.name,Me=Ce.default.browser.version||"",ye=window.location.href,Te="";ye&&(Te=Ce.default.getHost(ye));var Fe="pc";Ce.default.os.ipad?Fe="pad":(Ce.default.os.iphone||Ce.default.os.android)&&(Fe="phone"),this._ri=se.default.create(),this.initParam={APIVersion:"0.6.0",lv:"1",av:ne.default.version,pd:"upload",sm:"upload",md:"uploader",uuid:le.getUuid(),os:Pe,ov:Ie,et:Re,ev:Me,uat:navigator.userAgent,app_n:Te,tt:Fe,dm:"h5",ut:""}}return ve(le,[{key:"log",value:function(Ee,Pe){Pe&&Pe.ri?(this._ri=Pe.ri,delete Pe.ri):this._ri=se.default.create(),Pe&&Pe.ut&&(this.initParam.ut=Pe.ut,delete Pe.ut),this.initParam.t=new Date().getTime(),this.initParam.ll=Ee=="20006"?"error":"info",this.initParam.ri=this._ri,this.initParam.e=Ee;var Ie=[];if(Pe)for(var Re in Pe)Ie.push(Re+"="+Pe[Re]);var Me=Ie.join("&");this.initParam.args=encodeURIComponent(Me==""?"0":Me);var ye=[];for(var Re in this.initParam)ye.push(Re+"="+this.initParam[Re]);var Te=ye.join("&");AliyunUpload&&AliyunUpload.__logTestCallback__?AliyunUpload.__logTestCallback__(Te):new Image(0,0).src="https://videocloud.cn-hangzhou.log.aliyuncs.com/logstores/upload/track?"+Te}}],[{key:"getUuid",value:function(){var Ee=E.default.get("p_h5_upload_u");return Ee||(Ee=se.default.create(),E.default.set("p_h5_upload_u",Ee,730)),Ee}},{key:"getClientId",value:function(){return E.default.get("p_h5_upload_clientId")}},{key:"setClientId",value:function(Ee){return Ee||(Ee=se.default.create()),E.default.set("p_h5_upload_clientId",Ee,730),Ee}}]),le}();oe.default=be},function(b,oe,we){"use strict";function Ae(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){Ae(this,re)}return de(re,null,[{key:"create",value:function(se,fe){var E,te="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),ne=[];if(fe=fe||te.length,se)for(E=0;E<se;E++)ne[E]=te[0|Math.random()*fe];else{var ge;for(ne[8]=ne[13]=ne[18]=ne[23]="-",ne[14]="4",E=0;E<36;E++)ne[E]||(ge=0|16*Math.random(),ne[E]=te[E==19?3&ge|8:ge])}return ne.join("")}}]),re}();oe.default=ve},function(b,oe,we){"use strict";Object.defineProperty(oe,"__esModule",{value:!0});var Ae={version:"1.5.0"};oe.default=Ae},function(b,oe,we){"use strict";function Ae(te,ne){if(!(te instanceof ne))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function te(ne,ge){for(var Ce=0;Ce<ge.length;Ce++){var be=ge[Ce];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(ne,be.key,be)}}return function(ne,ge,Ce){return ge&&te(ne.prototype,ge),Ce&&te(ne,Ce),ne}}(),ve=function(te){var ne=navigator.userAgent,ge="other";if(te.ios)return"iOS";if(te.android)return"android";if(ne.indexOf("Baiduspider")>-1)return"Baiduspider";if(ne.indexOf("PlayStation")>-1)return"PS4";var Ce=navigator.platform=="Win32"||navigator.platform=="Windows"||ne.indexOf("Windows")>-1,be=navigator.platform=="Mac68K"||navigator.platform=="MacPPC"||navigator.platform=="Macintosh"||navigator.platform=="MacIntel";return be&&(ge="macOS"),navigator.platform=="X11"&&!Ce&&!be&&(ge="Unix"),String(navigator.platform).indexOf("Linux")>-1&&(ge="Linux"),Ce?"windows":ge},re=function(){var te=navigator.userAgent,ne="";return(te.indexOf("Windows NT 5.0")>-1||te.indexOf("Windows 2000")>-1)&&(ne="2000"),(te.indexOf("Windows NT 5.1")>-1||te.indexOf("Windows XP")>-1)&&(ne="XP"),(te.indexOf("Windows NT 5.2")>-1||te.indexOf("Windows 2003")>-1)&&(ne="2003"),(te.indexOf("Windows NT 6.0")>-1||te.indexOf("Windows Vista")>-1)&&(ne="Vista"),(te.indexOf("Windows NT 6.1")>-1||te.indexOf("Windows 7")>-1)&&(ne="7"),(te.indexOf("Windows NT 6.2")>-1||te.indexOf("Windows 8")>-1)&&(ne="8"),(te.indexOf("Windows NT 6.3")>-1||te.indexOf("Windows 8.1")>-1)&&(ne="8.1"),(te.indexOf("Windows NT 10")>-1||te.indexOf("Windows 10")>-1)&&(ne="10"),ne},se=function(te){var ne=navigator.userAgent.toLowerCase();return te.chrome?"Chrome":te.firefox?"Firefox":te.safari?"Safari":te.webview?"webview":te.ie?/edge/.test(ne)?"Edge":"IE":/baiduspider/.test(ne)?"Baiduspider":/ucweb/.test(ne)||/UCBrowser/.test(ne)?"UC":/opera/.test(ne)?"Opera":/ucweb/.test(ne)?"UC":/360se/.test(ne)?"360\u6D4F\u89C8\u5668":/bidubrowser/.test(ne)?"\u767E\u5EA6\u6D4F\u89C8\u5668":/metasr/.test(ne)?"\u641C\u72D7\u6D4F\u89C8\u5668":/lbbrowser/.test(ne)?"\u730E\u8C79\u6D4F\u89C8\u5668":/micromessenger/.test(ne)?"\u5FAE\u4FE1\u5185\u7F6E\u6D4F\u89C8\u5668":/qqbrowser/.test(ne)?"QQ\u6D4F\u89C8\u5668":/playstation/.test(ne)?"PS4\u6D4F\u89C8\u5668":void 0},fe=function(){var te={},ne={},ge=navigator.userAgent,Ce=navigator.platform,be=ge.match(/Web[kK]it[\/]{0,1}([\d.]+)/),le=ge.match(/(Android);?[\s\/]+([\d.]+)?/),Ee=!!ge.match(/\(Macintosh\; Intel /),Pe=ge.match(/(iPad).*OS\s([\d_]+)/),Ie=ge.match(/(iPod)(.*OS\s([\d_]+))?/),Re=!Pe&&ge.match(/(iPhone\sOS)\s([\d_]+)/),Me=ge.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),ye=/Win\d{2}|Windows/.test(Ce),Te=ge.match(/Windows Phone ([\d.]+)/),Fe=Me&&ge.match(/TouchPad/),_e=ge.match(/Kindle\/([\d.]+)/),Oe=ge.match(/Silk\/([\d._]+)/),Ke=ge.match(/(BlackBerry).*Version\/([\d.]+)/),We=ge.match(/(BB10).*Version\/([\d.]+)/),Ne=ge.match(/(RIM\sTablet\sOS)\s([\d.]+)/),Ye=ge.match(/PlayBook/),Je=ge.match(/Chrome\/([\d.]+)/)||ge.match(/CriOS\/([\d.]+)/),He=ge.match(/Firefox\/([\d.]+)/),lt=ge.match(/\((?:Mobile|Tablet); rv:([\d.]+)\).*Firefox\/[\d.]+/),ft=ge.match(/MSIE\s([\d.]+)/)||ge.match(/Trident\/[\d](?=[^\?]+).*rv:([0-9.].)/),tt=!Je&&ge.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),Ot=tt||ge.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/);if((ne.webkit=!!be)&&(ne.version=be[1]),le&&(te.android=!0,te.version=le[2]),Re&&!Ie&&(te.ios=te.iphone=!0,te.version=Re[2].replace(/_/g,".")),Pe&&(te.ios=te.ipad=!0,te.version=Pe[2].replace(/_/g,".")),Ie&&(te.ios=te.ipod=!0,te.version=Ie[3]?Ie[3].replace(/_/g,"."):null),Te&&(te.wp=!0,te.version=Te[1]),Me&&(te.webos=!0,te.version=Me[2]),Fe&&(te.touchpad=!0),Ke&&(te.blackberry=!0,te.version=Ke[2]),We&&(te.bb10=!0,te.version=We[2]),Ne&&(te.rimtabletos=!0,te.version=Ne[2]),Ye&&(ne.playbook=!0),_e&&(te.kindle=!0,te.version=_e[1]),Oe&&(ne.silk=!0,ne.version=Oe[1]),!Oe&&te.android&&ge.match(/Kindle Fire/)&&(ne.silk=!0),Je&&(ne.chrome=!0,ne.version=Je[1]),He&&(ne.firefox=!0,ne.version=He[1]),lt&&(te.firefoxos=!0,te.version=lt[1]),ft&&(ne.ie=!0,ne.version=ft[1]),Ot&&(Ee||te.ios||ye||le)&&(ne.safari=!0,te.ios||(ne.version=Ot[1])),tt&&(ne.webview=!0),Ee){var nt=ge.match(/[\d]*_[\d]*_[\d]*/);nt&&nt.length>0&&nt[0]&&(te.version=nt[0].replace(/_/g,"."))}return te.tablet=!!(Pe||Ye||le&&!ge.match(/Mobile/)||He&&ge.match(/Tablet/)||ft&&!ge.match(/Phone/)&&ge.match(/Touch/)),te.phone=!(te.tablet||te.ipod||!(le||Re||Me||Ke||We||Je&&ge.match(/Android/)||Je&&ge.match(/CriOS\/([\d.]+)/)||He&&ge.match(/Mobile/)||ft&&ge.match(/Touch/))),te.pc=!te.tablet&&!te.phone,Ee?te.name="macOS":ye?(te.name="windows",te.version=re()):te.name=ve(te),ne.name=se(ne),{os:te,browser:ne}}(),E=function(){function te(){Ae(this,te)}return de(te,null,[{key:"getHost",value:function(ne){var be="";if(ne===void 0||ne==null||ne=="")return"";var ge=ne.indexOf("//"),Ce=ne;ge>-1&&(Ce=ne.substring(ge+2));var be=Ce,le=Ce.split("/");return le&&le.length>0&&(be=le[0]),le=be.split(":"),le&&le.length>0&&(be=le[0]),be}},{key:"os",get:function(){return fe.os}},{key:"browser",get:function(){var ne=fe.browser;return ne.name||(ne.name=se()),ne}}]),te}();oe.default=E},function(b,oe,we){"use strict";function Ae(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){Ae(this,re)}return de(re,null,[{key:"get",value:function(se,fe,E,te,ne){var ge;E=E||function(){},typeof XMLHttpRequest=="undefined"&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(Ce){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(Ce){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(Ce){}throw new Error("This browser does not support XMLHttpRequest.")}),ge=new XMLHttpRequest,ge.onreadystatechange=function(){ge.readyState===4&&(ge.status===200?fe(ge.responseText):E(ge.responseText))};try{te===void 0&&(te=!0),ge.open("GET",se,te),ne&&(ge.withCredentials=!0)}catch(Ce){return void E(Ce)}try{ge.send()}catch(Ce){E(Ce)}}}]),re}();oe.default=ve},function(b,oe,we){"use strict";function Ae(fe,E){if(!(fe instanceof E))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function fe(E,te){for(var ne=0;ne<te.length;ne++){var ge=te[ne];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(E,ge.key,ge)}}return function(E,te,ne){return te&&fe(E.prototype,te),ne&&fe(E,ne),E}}(),ve=we(27),re=we(30),se=(we(10),function(){function fe(){Ae(this,fe)}return de(fe,null,[{key:"randomUUID",value:function(){for(var E=[],te="0123456789abcdef",ne=0;ne<36;ne++)E[ne]=te.substr(Math.floor(16*Math.random()),1);return E[14]="4",E[19]=te.substr(3&E[19]|8,1),E[8]=E[13]=E[18]=E[23]="-",E.join("")}},{key:"aliyunEncodeURI",value:function(E){var te=encodeURIComponent(E);return te=te.replace(/\+/g,"%20").replace(/\*/g,"%2A").replace(/%7E/g,"~").replace(/!/g,"%21").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}},{key:"makeUTF8sort",value:function(E,te,ne){if(!E)throw new Error("PrismPlayer Error: vid should not be null!");var ge=[];for(var Ce in E)ge.push(Ce);for(var be=ge.sort(),le="",Ee=be.length,Ce=0;Ce<Ee;Ce++){var Pe=fe.aliyunEncodeURI(be[Ce]),Ie=fe.aliyunEncodeURI(E[be[Ce]]);le==""?le=Pe+te+Ie:le+=ne+Pe+te+Ie}return le}},{key:"makeChangeSiga",value:function(E,te){if(!E)throw new Error("PrismPlayer Error: vid should not be null!");return re.stringify(ve("GET&"+fe.aliyunEncodeURI("/")+"&"+fe.aliyunEncodeURI(fe.makeUTF8sort(E,"=","&")),te+"&"))}}]),fe}());oe.default=se},function(b,oe,we){(function(Ae,de){b.exports=oe=de(we(0))})(0,function(Ae){return Ae.enc.Utf8})},function(b,oe,we){(function(Ae,de){b.exports=oe=de(we(0))})(0,function(Ae){return Ae.enc.Hex})},function(b,oe,we){b.exports=we(13)},function(b,oe,we){"use strict";var Ae,de,ve=we(14),re=function(fe){return fe&&fe.__esModule?fe:{default:fe}}(ve),se={Vod:re.default};Ae=[],(de=function(){return se}.apply(oe,Ae))!==void 0&&(b.exports=de),window.AliyunUpload=se,_n.exports=AliyunUpload},function(b,oe,we){"use strict";function Ae(We){return We&&We.__esModule?We:{default:We}}function de(We,Ne){if(!(We instanceof Ne))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function We(Ne,Ye){for(var Je=0;Je<Ye.length;Je++){var He=Ye[Je];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(Ne,He.key,He)}}return function(Ne,Ye,Je){return Ye&&We(Ne.prototype,Ye),Je&&We(Ne,Je),Ne}}(),re=we(15),se=we(3),fe=we(16),E=Ae(fe),te=we(18),ne=Ae(te),ge=we(24),Ce=Ae(ge),be=we(4),le=Ae(be),Ee=we(1),Pe=Ae(Ee),Ie=we(5),Re=Ae(Ie),Me=we(26),ye=Ae(Me),Te=we(31),Fe=Ae(Te),_e=we(32),Oe=Ae(_e),Ke=(we(2),function(){function We(Ne){de(this,We),this.options=Ne,this.options.partSize=this.options.partSize||se.UPLOADDEFAULT.PARTSIZE,this.options.parallel=this.options.parallel||se.UPLOADDEFAULT.PARALLEL,this.options.region=this.options.region||"cn-shanghai",this.options.cname=this.options.cname||!1,this.options.localCheckpoint=this.options.localCheckpoint||!1,this.options.enableUploadProgress===void 0&&(this.options.enableUploadProgress=!0),this._ossCreditor=new Object,this._state=re.VODSTATE.INIT,this._uploadList=[],this._curIndex=-1,this._ossUpload=null,this._log=new le.default,this._retryCount=0,this._retryTotal=this.options.retryCount||3,this._retryDuration=this.options.retryDuration||2,this._state=re.VODSTATE.INIT,this._uploadWay="vod",this._onbeforeunload=!1,this._invalidUserId=!1,this._initEvent()}return ve(We,[{key:"init",value:function(Ne,Ye,Je,He){return this._retryCount=0,!(Je&&!He||!Je&&He)&&!(Ne&&!Ye||!Ne&&Ye)&&(this._ossCreditor.accessKeyId=Ne,this._ossCreditor.accessKeySecret=Ye,this._ossCreditor.securityToken=Je,this._ossCreditor.expireTime=He,!0)}},{key:"addFile",value:function(Ne,Ye,Je,He,lt,ft){if(!Ne)return!1;if(Ne.size==0)try{this.options.onUploadFailed({file:Ne},"EmptyFile","\u6587\u4EF6\u5927\u5C0F\u4E3A0\uFF0C\u4E0D\u80FD\u4E0A\u4F20")}catch(Ze){console.log(Ze)}for(var tt=(this.options,0);tt<this._uploadList.length;tt++)if(this._uploadList[tt].file==Ne)return!1;var Ot=new Object;if(Ot.file=Ne,Ot._endpoint=Ye,Ot._bucket=Je,Ot._object=He,Ot.state=re.UPLOADSTATE.INIT,Ot.isImage=Pe.default.isImage(Ne.name),!Ot.isImage&&this.options.enableUploadProgress){var nt=this;Oe.default.getMd5(Ne,function(Ze){Ot.fileHash=Ze;var Ge=nt._getCheckoutpoint(Ot);nt.options.localCheckpoint||Ge||nt._getCheckoutpointFromCloud(Ot,function($e){if($e.UploadPoint){var qe=JSON.parse($e.UploadPoint);qe.loaded!=1&&(Ot.checkpoint=qe.checkpoint,Ot.loaded=qe.loaded,Ot.videoId=$e.VideoId,nt._saveCheckoutpoint(Ot,qe.checkpoint))}},function($e){try{if(($e=JSON.parse($e))&&$e.Code=="InvalidParameter"&&$e.Message.indexOf("UserId")>0){nt._invalidUserId=!0;var qe=$e.Message+"\uFF0C\u6B63\u786E\u8D26\u53F7ID(userId)\u8BF7\u53C2\u8003\uFF1Ahttps://help.aliyun.com/knowledge_detail/37196.html";console.log(qe)}}catch(Ve){console.log(Ve)}})})}lt&&(Ot.videoInfo=lt?JSON.parse(lt).Vod:{},Ot.userData=ne.default.encode(lt)),Ot.ri=Re.default.create(),this._uploadList.push(Ot),this._reportLog("20001",Ot,{ql:this._uploadList.length});try{this.options.addFileSuccess&&this.options.addFileSuccess(Ot)}catch(Ze){console.log(Ze)}return!0}},{key:"deleteFile",value:function(Ne){return!!this.cancelFile(Ne)&&(this._uploadList.splice(Ne,1),!0)}},{key:"cleanList",value:function(){this.stopUpload(),this._uploadList.length=0,this._curIndex=-1}},{key:"cancelFile",value:function(Ne){if(this.options,Ne<0||Ne>=this._uploadList.length)return!1;var Ye=this._uploadList[Ne];if(Ne==this._curIndex&&Ye.state==re.UPLOADSTATE.UPLOADING){Ye.state=re.UPLOADSTATE.CANCELED;var Je=this._getCheckoutpoint(Ye);Je&&Je.checkpoint&&(Je=Je.checkpoint),Je&&this._ossUpload.abort(Ye),this._removeCheckoutpoint(Ye),this.nextUpload()}else Ye.state!=re.UPLOADSTATE.SUCCESS&&(Ye.state=re.UPLOADSTATE.CANCELED);return this._reportLog("20008",Ye),!0}},{key:"resumeFile",value:function(Ne){if(this.options,Ne<0||Ne>=this._uploadList.length)return!1;var Ye=this._uploadList[Ne];return Ye.state==re.UPLOADSTATE.CANCELED&&(Ye.state=re.UPLOADSTATE.INIT,!0)}},{key:"listFiles",value:function(){return this._uploadList}},{key:"getCheckpoint",value:function(Ne){return this._getCheckoutpoint({file:Ne})}},{key:"startUpload",value:function(Ne){if(this._retryCount=0,this.options,this._state==re.VODSTATE.START||this._state==re.VODSTATE.EXPIRE)return void console.log("already started or expired");if(this._initState(),this._curIndex=this._findUploadIndex(),this._curIndex==-1)return void(this._state=re.VODSTATE.END);var Ye=this._uploadList[this._curIndex];this._ossUpload=null,this._upload(Ye),this._state=re.VODSTATE.START}},{key:"nextUpload",value:function(){var Ne=this.options;if(this._state==re.VODSTATE.START)if(this._curIndex=this._findUploadIndex(),this._curIndex!=-1){var Ye=this._uploadList[this._curIndex];this._ossUpload=null,this._upload(Ye)}else{this._state=re.VODSTATE.END;try{Ne.onUploadEnd&&Ne.onUploadEnd(Ye)}catch(Je){console.log(Je)}}}},{key:"clear",value:function(Ne){for(var Ye=this.options,Je=0,He=0;He<this._uploadList.length;He++)Ye.uploadList[He].state==re.UPLOADSTATE.SUCCESS&&Je++,this._uploadList[He].state==Ne&&(Ye.uploadList.splice(He,1),He--);Ye.onClear&&Ye.onClear(Ye.uploadList.length,Je)}},{key:"stopUpload",value:function(){if((this._state==re.VODSTATE.START||this._state==re.VODSTATE.FAILURE||this._curIndex==-1)&&this._curIndex!=-1){var Ne=this._uploadList[this._curIndex];this._state=re.VODSTATE.STOP,Ne.state=re.UPLOADSTATE.STOPED,this._changeState(Ne,re.UPLOADSTATE.STOPED),this._ossUpload.cancel()}}},{key:"resumeUploadWithAuth",value:function(Ne){var Ye=this;if(!Ne)return!1;var Je=JSON.parse(ne.default.decode(Ne));return!!(Je.AccessKeyId&&Je.AccessKeySecret&&Je.SecurityToken&&Je.Expiration)&&Ye.resumeUploadWithToken(Je.AccessKeyId,Je.AccessKeySecret,Je.SecurityToken,Je.Expiration)}},{key:"resumeUploadWithToken",value:function(Ne,Ye,Je,He){if(this.options,!(Ne&&Ye&&Je&&He)||this._state!=re.VODSTATE.EXPIRE||this._curIndex==-1)return!1;var lt="";return this._uploadList.length>this._curIndex&&(lt=this._uploadList[this._curIndex]),lt&&(this.init(Ne,Ye,Je,He),this._state=re.VODSTATE.START,this._ossUpload=null,this._uploadCore(lt,lt.retry),lt.retry=!1),!0}},{key:"resumeUploadWithSTSToken",value:function(Ne,Ye,Je){if(this._curIndex==-1||this._state!=re.VODSTATE.EXPIRE)return!1;if(this._uploadList.length>this._curIndex){var He=this._uploadList[this._curIndex];He.object?this._refreshSTSTokenUpload(He,Ne,Ye,Je):this.setSTSToken(He,Ne,Ye,Je)}}},{key:"setSTSTokenDirectlyUpload",value:function(Ne,Ye,Je,He,lt){if(!(Ye&&Je&&He&&lt))return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken and expiration should not be empty."),!1;this._ut="oss";var ft=Ne;this.init(Ye,Je,He,lt),ft.endpoint=ft._endpoint,ft.bucket=ft._bucket,ft.object=ft._object,this._ossUpload=null,this._uploadCore(ft,Ne.retry),Ne.retry=!1}},{key:"setSTSToken",value:function(Ne,Ye,Je,He){if(!Ye||!Je||!He)return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken should not be empty."),!1;this._ut="vod",this._uploadWay="sts";var lt=Ne.videoInfo,ft={accessKeyId:Ye,securityToken:He,accessKeySecret:Je,fileName:Ne.file.name,title:lt.Title,requestId:Ne.ri,region:this.options.region};lt.ImageType&&(ft.imageType=lt.ImageType),lt.ImageExt&&(ft.imageExt=lt.ImageExt),lt.FileSize&&(ft.fileSize=lt.FileSize),lt.Description&&(ft.description=lt.Description),lt.CateId&&(ft.cateId=lt.CateId),lt.Tags&&(ft.tags=lt.Tags),lt.TemplateGroupId&&(ft.templateGroupId=lt.TemplateGroupId),lt.StorageLocation&&(ft.storageLocation=lt.StorageLocation),lt.CoverURL&&(ft.coverUrl=lt.CoverURL),lt.TransCodeMode&&(ft.transCodeMode=lt.TransCodeMode),lt.UserData&&(ft.userData=lt.UserData);var tt=this,Ot="getUploadAuth";Ne.videoId?(ft.videoId=Ne.videoId,Ot="refreshUploadAuth"):Ne.isImage&&(Ot="getImageUploadAuth"),ye.default[Ot](ft,function(nt){Ne.videoId=nt.VideoId?nt.VideoId:Ne.videoId,tt.setUploadAuthAndAddress(Ne,nt.UploadAuth,nt.UploadAddress),tt._state=re.VODSTATE.START},function(nt){tt._error(Ne,{name:nt.Code,code:nt.Code,message:nt.Message,requestId:nt.RequestId})})}},{key:"setUploadAuthAndAddress",value:function(Ne,Ye,Je,He){if(!Ne||!Ye||!Je)return!1;var lt=JSON.parse(ne.default.decode(Ye));if(!(lt.AccessKeyId&&lt.AccessKeySecret&&lt.SecurityToken&&lt.Expiration))return console.error("uploadauth is invalid"),!1;var ft={},tt=Ne;if(Je){if(ft=JSON.parse(ne.default.decode(Je)),!ft.Endpoint||!ft.Bucket||!ft.FileName)return console.error("uploadAddress is invalid"),!1}else ft.Endpoint=tt.endpoint,ft.Bucket=tt.bucket,ft.FileName=tt.object;this._ut="vod",this._uploadWay="vod",this.options.region=lt.Region||this.options.region,this.init(lt.AccessKeyId,lt.AccessKeySecret,lt.SecurityToken,lt.Expiration),tt.endpoint=tt._endpoint?tt._endpoint:ft.Endpoint,tt.bucket=tt._bucket?tt._bucket:ft.Bucket,tt.object=tt._object?tt._object:ft.FileName,tt.region=this.options.region,He&&(tt.videoId=He),this._ossUpload=null,this._uploadCore(tt,Ne.retry),Ne.retry=!1}},{key:"_refreshSTSTokenUpload",value:function(Ne,Ye,Je,He){if(!Ye||!Je||!He)return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken should not be empty."),!1;var lt={accessKeyId:Ye,securityToken:He,accessKeySecret:Je,videoId:Ne.object,requestId:Ne.ri,region:this.options.region},ft=this,tt="refreshUploadAuth";Ne.isImage&&(tt="getImageUploadAuth"),ye.default[tt](lt,function(Ot){ft.setUploadAuthAndAddress(Ne,Ot.UploadAuth,UploadAddress),ft._state=re.VODSTATE.START},function(Ot){ft._error(Ne,{name:Ot.Code,code:Ot.Code,message:Ot.Message,requestId:Ot.RequestId})})}},{key:"_upload",value:function(Ne){var Ye=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Je=this.options;if(Ne.retry=Ye,Je.onUploadstarted&&!Ye)try{var He=this._getCheckoutpoint(Ne);He&&He.state!=re.UPLOADSTATE.UPLOADING&&(Ne.checkpoint=He,Ne.videoId=He.videoId),Je.onUploadstarted(Ne)}catch(lt){console.log(lt)}}},{key:"_uploadCore",value:function(Ne){if(arguments.length>1&&arguments[1]!==void 0&&arguments[1],!this._ossCreditor.accessKeyId||!this._ossCreditor.accessKeySecret||!this._ossCreditor.securityToken)throw new Error("AccessKeyId\u3001AccessKeySecret\u3001securityToken should not be null");if(Ne.state=re.UPLOADSTATE.UPLOADING,!this._ossUpload){Ne.endpoint=Ne.endpoint||"http://oss-cn-hangzhou.aliyuncs.com";var Ye=this;this._ossUpload=new E.default({bucket:Ne.bucket,endpoint:Ne.endpoint,AccessKeyId:this._ossCreditor.accessKeyId,AccessKeySecret:this._ossCreditor.accessKeySecret,SecurityToken:this._ossCreditor.securityToken,timeout:this.options.timeout,cname:this.options.cname},{onerror:function(nt,Ze){Ye._error.call(Ye,nt,Ze)},oncomplete:function(nt,Ze){Ye._complete.call(Ye,nt,Ze)},onprogress:function(nt,Ze,Ge){Ye._progress.call(Ye,nt,Ze,Ge)}})}var Je=Pe.default.getFileType(Ne.file.name),He=this._getCheckoutpoint(Ne),lt="",ft="";He&&He.checkpoint&&(ft=He.state,lt=He.videoId,He=He.checkpoint),He&&lt==Ne.videoId&&ft!=re.UPLOADSTATE.UPLOADING&&(He.file=Ne.file,Ne.checkpoint=He,He.uploadId);var tt=this._adjustPartSize(Ne);this._reportLog("20002",Ne,{ft:Je,fs:Ne.file.size,bu:Ne.bucket,ok:Ne.object,vid:Ne.videoId||"",fn:Ne.file.name,fw:null,fh:null,ps:tt});var Ot={headers:{"x-oss-notification":Ne.userData?Ne.userData:""},partSize:tt,parallel:this.options.parallel};this._ossUpload.upload(Ne,Ot)}},{key:"_findUploadIndex",value:function(){for(var Ne=-1,Ye=0;Ye<this._uploadList.length;Ye++)if(this._uploadList[Ye].state==re.UPLOADSTATE.INIT){Ne=Ye;break}return Ne}},{key:"_error",value:function(Ne,Ye){if(Ye.name=="cancel")try{this.options.onUploadCanceled(Ne,Ye)}catch(He){console.log(He)}else{if(Ye.message.indexOf("InvalidAccessKeyIdError")>0||Ye.name=="SignatureDoesNotMatchError"||Ye.code=="SecurityTokenExpired"||Ye.code=="InvalidSecurityToken.Expired"||Ye.code=="InvalidAccessKeyId"&&this._ossCreditor.securityToken){if(this.options.onUploadTokenExpired){this._state=re.VODSTATE.EXPIRE,Ne.state=re.UPLOADSTATE.FAIlURE;try{this.options.onUploadTokenExpired(Ne,Ye)}catch(He){console.log(He)}}return}if((Ye.name=="RequestTimeoutError"||Ye.name=="ConnectionTimeout"||Ye.name=="ConnectionTimeoutError")&&this._retryTotal>this._retryCount){var Je=this;return setTimeout(function(){Je._uploadCore(Ne,!0)},1e3*Je._retryDuration),void this._retryCount++}Ye.name=="NoSuchUploadError"&&this._removeCheckoutpoint(Ne),this._handleError(Ne,Ye)}}},{key:"_handleError",value:function(Ne,Ye){var Je=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],He=re.UPLOADSTATE.FAIlURE;if(Ne.state!=re.UPLOADSTATE.CANCELED&&(Ne.state=re.UPLOADSTATE.FAIlURE,this._state=re.VODSTATE.FAILURE,this.options.onUploadFailed&&Ye&&Ye.code&&Ye.message))try{this.options.onUploadFailed(Ne,Ye.code,Ye.message)}catch(ft){console.log(ft)}if(Je&&this._changeState(Ne,He),this._reportLog("20006",Ne,{code:Ye.name,message:Ye.message,requestId:Ye.requestId,fs:Ne.file.size,bu:Ne.bucket,ok:Ne.object,fn:Ne.file.name}),this._reportLog("20004",Ne,{requestId:Ye.requestId,fs:Ne.file.size,bu:Ne.bucket,ok:Ne.object,fn:Ne.file.name}),Ne.ri=Re.default.create(),this._findUploadIndex()!=-1){var lt=this;this._state=re.VODSTATE.START,setTimeout(function(){lt.nextUpload()},100)}}},{key:"_complete",value:function(Ne,Ye){if(Ne.state=re.UPLOADSTATE.SUCCESS,this.options.onUploadSucceed)try{this.options.onUploadSucceed(Ne)}catch(lt){console.log(lt)}var Je=0;Ye&&Ye.res&&Ye.res.headers&&(Je=Ye.res.headers["x-oss-request-id"]),this._removeCheckoutpoint(Ne);var He=this;setTimeout(function(){He.nextUpload()},100),this._retryCount=0,this._reportLog("20003",Ne,{requestId:Je})}},{key:"_progress",value:function(Ne,Ye,Je){if(this.options.onUploadProgress)try{Ne.loaded=Ye.loaded,this.options.onUploadProgress(Ne,Ye.total,Ye.loaded)}catch(Ze){console.log(Ze)}var He=Ye.checkpoint,lt=0;He&&(Ne.checkpoint=He,this._saveCheckoutpoint(Ne,He,re.UPLOADSTATE.UPLOADING),lt=He.uploadId),this._retryCount=0;var ft=this._getPortNumber(He),tt=0;if(Je&&Je.headers&&(tt=Je.headers["x-oss-request-id"]),Ye.loaded!=0&&this._reportLog("20007",Ne,{pn:ft,requestId:tt}),Ye.loaded!=1&&this._reportLog("20005",Ne,{UploadId:lt,pn:ft+1,pr:Ne.retry?1:0,fs:Ne.file.size,bu:Ne.bucket,ok:Ne.object,fn:Ne.file.name}),!this._invalidUserId&&!Ne.isImage&&this._ut=="vod"&&this.options.enableUploadProgress){var Ot={file:Ne.file,checkpoint:Ye,userId:this.options.userId,videoId:Ne.videoId,region:this.options.region,fileHash:Ne.fileHash};try{var nt=this;Fe.default.upload(Ot,function(){},function(Ze){if((Ze=JSON.parse(Ze))&&Ze.Code=="InvalidParameter"&&Ze.Message.indexOf("UserId")>0){nt._invalidUserId=!0;var Ge=Ze.Message+"\uFF0C\u6B63\u786E\u8D26\u53F7ID(userId)\u8BF7\u53C2\u8003\uFF1Ahttps://help.aliyun.com/knowledge_detail/37196.html";console.log(Ge)}})}catch(Ze){console.log(Ze)}}}},{key:"_getPortNumber",value:function(Ne){if(Ne){var Ye=Ne.doneParts;if(Ye&&Ye.length>0)return Ye[Ye.length-1].number}return 0}},{key:"_removeCheckoutpoint",value:function(Ne){var Ye=this._getCheckoutpointKey(Ne);Ce.default.remove(Ye)}},{key:"_getCheckoutpoint",value:function(Ne){var Ye=this._getCheckoutpointKey(Ne),Je=Ce.default.get(Ye);if(Je)try{return JSON.parse(Je)}catch(He){}return""}},{key:"_saveCheckoutpoint",value:function(Ne,Ye,Je){if(Ye){var He=this._getCheckoutpointKey(Ne),lt=Ne.file,ft={fileName:lt.name,lastModified:lt.lastModified,size:lt.size,object:Ne.object,videoId:Ne.videoId,bucket:Ne.bucket,endpoint:Ne.endpoint,checkpoint:Ye,loaded:Ne.loaded,state:Je};Ce.default.set(He,JSON.stringify(ft))}}},{key:"_changeState",value:function(Ne,Ye){var Je=this._getCheckoutpoint(Ne);Je&&((this._onbeforeunload=!0)&&(Ye=re.UPLOADSTATE.STOPED),this._saveCheckoutpoint(Ne,Je.checkpoint,Ye))}},{key:"_getCheckoutpointKey",value:function(Ne){return"upload_"+Ne.file.lastModified+"_"+Ne.file.name+"_"+Ne.file.size}},{key:"_getCheckoutpointFromCloud",value:function(Ne,Ye,Je){var He={userId:this.options.userId,uploadInfoList:[{FileName:Ne.file.name,FileSize:Ne.file.size,FileCreateTime:Ne.file.lastModified,FileHash:Ne.fileHash}],region:this.options.region};Fe.default.get(He,function(lt){Ye(lt)},Je)}},{key:"_reportLog",value:function(Ne,Ye,Je){Je||(Je={}),Je.ri=Ye.ri,this._ut&&(Je.ut=this._ut),this._log.log(Ne,Je)}},{key:"_initEvent",value:function(){var Ne=this;window&&(window.onbeforeunload=function(Ye){if(Ne._onbeforeunload=!0,Ne._curIndex!=-1&&Ne._uploadList.length>Ne._curIndex){var Je=Ne._uploadList[Ne._curIndex];Ne._changeState(Je,re.UPLOADSTATE.STOPED)}})}},{key:"_initState",value:function(){for(var Ne=0;Ne<this._uploadList.length;Ne++){var Ye=this._uploadList[Ne];Ye.state!=re.UPLOADSTATE.FAIlURE&&Ye.state!=re.UPLOADSTATE.STOPED||(Ye.state=re.UPLOADSTATE.INIT)}this._state=re.VODSTATE.INIT}},{key:"_adjustPartSize",value:function(Ne){return Ne.file.size/this.options.partSize>1e4?Ne.file.size/9999:this.options.partSize}}]),We}());oe.default=Ke},function(b,oe,we){"use strict";Object.defineProperty(oe,"__esModule",{value:!0}),oe.UPLOADSTATE={INIT:"Ready",UPLOADING:"Uploading",SUCCESS:"Success",FAIlURE:"Failure",CANCELED:"Canceled",STOPED:"Stoped"},oe.VODSTATE={INIT:"Init",START:"Start",STOP:"Stop",FAILURE:"Failure",EXPIRE:"Expire",END:"End"}},function(b,oe,we){"use strict";function Ae(te){return te&&te.__esModule?te:{default:te}}function de(te,ne){if(!(te instanceof ne))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function te(ne,ge){for(var Ce=0;Ce<ge.length;Ce++){var be=ge[Ce];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(ne,be.key,be)}}return function(ne,ge,Ce){return ge&&te(ne.prototype,ge),Ce&&te(ne,Ce),ne}}(),re=we(3),se=we(17),fe=(Ae(se),we(1)),E=(Ae(fe),function(){function te(ne,ge){if(de(this,te),ne){this._config=ne,this.create(this._config),this._uploadInfo=null,this._callback={};var Ce=function(){};this._callback.onerror=ge.onerror||Ce,this._callback.oncomplete=ge.oncomplete||Ce,this._callback.onprogress=ge.onprogress||Ce}}return ve(te,[{key:"create",value:function(ne){if(ne.endpoint=ne.endpoint||this._config.endpoint,ne.bucket=ne.bucket||this._config.bucket,!(ne.AccessKeyId&&ne.AccessKeySecret&&ne.endpoint&&ne.SecurityToken))throw new Error("AccessKeyId\u3001AccessKeySecret\u3001endpoint should not be null");var ge={accessKeyId:ne.AccessKeyId,accessKeySecret:ne.AccessKeySecret,stsToken:ne.SecurityToken,endpoint:ne.endpoint||this._config.endpoint,bucket:ne.bucket||this._config.bucket,secure:!0,cname:ne.cname};ne.timeout&&(ge.timeout=ne.timeout),this.oss=new OSS.Wrapper(ge)}},{key:"abort",value:function(ne){if(ne.checkpoint){var ge=ne.checkpoint.uploadId;this.oss.abortMultipartUpload(ne.object,ge)}}},{key:"getVersion",value:function(){}},{key:"cancel",value:function(){this.oss.cancel&&this.oss.cancel()}},{key:"upload",value:function(ne,ge){this._uploadInfo=ne;var Ce=this,be=function(Ee,Pe,Ie){return function(Re){Ce._progress(Ee,Pe,Ie),Re()}},le={parallel:ge.parallel||this._config.parallel||re.UPLOADDEFAULT.PARALLEL,partSize:ge.partSize||this._config.partSize||re.UPLOADDEFAULT.PARTSIZE,progress:be};ge.headers&&(le.headers=ge.headers),ne.checkpoint&&(le.checkpoint=ne.checkpoint),ne.bucket||(this.oss.options.bucket=ne.bucket),ne.endpoint||(this.oss.options.endpoint=ne.endpoint),this.oss.multipartUpload(ne.object,ne.file,le).then(function(Ee,Pe){Ce._complete(Ee)}).catch(function(Ee){Ce.oss.cancel&&(Ce.oss&&Ce.oss.isCancel()?console.log("oss is cancel as error"):Ce.oss.cancel()),Ce._error(Ee)})}},{key:"header",value:function(ne,ge,Ce){this.oss.get(ne.object).then(function(be){ge(be)}).catch(function(be){Ce(be)})}},{key:"_progress",value:function(ne,ge,Ce){this._callback.onprogress(this._uploadInfo,{loaded:ne,total:this._uploadInfo.file.size,checkpoint:ge},Ce)}},{key:"_error",value:function(ne){this._callback.onerror(this._uploadInfo,ne)}},{key:"_complete",value:function(ne){this._callback.oncomplete(this._uploadInfo,ne)}}]),te}());oe.default=E},function(b,oe,we){"use strict";function Ae(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){Ae(this,re)}return de(re,null,[{key:"format",value:function(se){if(arguments.length<2)return null;for(var fe=arguments[1],E=1;E<arguments.length;E++){var te=new RegExp("\\{"+(E-1)+"\\}","gm");fe=fe.replace(te,arguments[E+1])}return{code:se,message:fe}}},{key:"CODE",get:function(){return{SUCCESS:"Successful",EmptyValue:"InvalidParameter.EmptyValue",STSInvalid:"InvalidParameter.TokenInvalid",ReadFileError:"ReadFileError",FILEDUPLICATION:"FileDuplication",UploadALEADRYSTARTED:"UploadAlearyStarted"}}},{key:"MESSAGE",get:function(){return{SUCCESS:"Successful",EmptyValue:"\u53C2\u6570 {0} \u4E0D\u80FD\u4E3A\u7A7A\u3002",STSInvalid:"STS\u53C2\u6570\u975E\u6CD5\uFF0C accessKeyId\u3001accessKeySecret\u3001secretToken\u3001expireTime\u90FD\u4E0D\u80FD\u4E3A\u7A7A\u3002",ReadFileError:"\u8BFB\u53D6\u6587\u4EF6{0}{1}\u5931\u8D25.",FILEDUPLICATION:"\u6587\u4EF6\u91CD\u590D\u6DFB\u52A0 {0}",UploadALEADRYSTARTED:"\u91CD\u590D\u5F00\u59CB."}}}]),re}();oe.default=ve},function(b,oe,we){"use strict";(function(Ae){function de(se,fe){if(!(se instanceof fe))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function se(fe,E){for(var te=0;te<E.length;te++){var ne=E[te];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(fe,ne.key,ne)}}return function(fe,E,te){return E&&se(fe.prototype,E),te&&se(fe,te),fe}}(),re=function(){function se(){de(this,se)}return ve(se,null,[{key:"encode",value:function(fe){return new Ae(fe).toString("base64")}},{key:"decode",value:function(fe){return new Ae(fe,"base64").toString()}}]),se}();oe.default=re}).call(oe,we(19).Buffer)},function(b,oe,we){"use strict";(function(Ae){function de(){return re.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ve(pe,x){if(de()<x)throw new RangeError("Invalid typed array length");return re.TYPED_ARRAY_SUPPORT?(pe=new Uint8Array(x),pe.__proto__=re.prototype):(pe===null&&(pe=new re(x)),pe.length=x),pe}function re(pe,x,me){if(!(re.TYPED_ARRAY_SUPPORT||this instanceof re))return new re(pe,x,me);if(typeof pe=="number"){if(typeof x=="string")throw new Error("If encoding is specified then the first argument must be a string");return te(this,pe)}return se(this,pe,x,me)}function se(pe,x,me,Le){if(typeof x=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&x instanceof ArrayBuffer?Ce(pe,x,me,Le):typeof x=="string"?ne(pe,x,me):be(pe,x)}function fe(pe){if(typeof pe!="number")throw new TypeError('"size" argument must be a number');if(pe<0)throw new RangeError('"size" argument must not be negative')}function E(pe,x,me,Le){return fe(x),x<=0?ve(pe,x):me!==void 0?typeof Le=="string"?ve(pe,x).fill(me,Le):ve(pe,x).fill(me):ve(pe,x)}function te(pe,x){if(fe(x),pe=ve(pe,x<0?0:0|le(x)),!re.TYPED_ARRAY_SUPPORT)for(var me=0;me<x;++me)pe[me]=0;return pe}function ne(pe,x,me){if(typeof me=="string"&&me!==""||(me="utf8"),!re.isEncoding(me))throw new TypeError('"encoding" must be a valid string encoding');var Le=0|Pe(x,me);pe=ve(pe,Le);var Se=pe.write(x,me);return Se!==Le&&(pe=pe.slice(0,Se)),pe}function ge(pe,x){var me=x.length<0?0:0|le(x.length);pe=ve(pe,me);for(var Le=0;Le<me;Le+=1)pe[Le]=255&x[Le];return pe}function Ce(pe,x,me,Le){if(x.byteLength,me<0||x.byteLength<me)throw new RangeError("'offset' is out of bounds");if(x.byteLength<me+(Le||0))throw new RangeError("'length' is out of bounds");return x=me===void 0&&Le===void 0?new Uint8Array(x):Le===void 0?new Uint8Array(x,me):new Uint8Array(x,me,Le),re.TYPED_ARRAY_SUPPORT?(pe=x,pe.__proto__=re.prototype):pe=ge(pe,x),pe}function be(pe,x){if(re.isBuffer(x)){var me=0|le(x.length);return pe=ve(pe,me),pe.length===0||x.copy(pe,0,0,me),pe}if(x){if(typeof ArrayBuffer!="undefined"&&x.buffer instanceof ArrayBuffer||"length"in x)return typeof x.length!="number"||je(x.length)?ve(pe,0):ge(pe,x);if(x.type==="Buffer"&&ke(x.data))return ge(pe,x.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function le(pe){if(pe>=de())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de().toString(16)+" bytes");return 0|pe}function Ee(pe){return+pe!=pe&&(pe=0),re.alloc(+pe)}function Pe(pe,x){if(re.isBuffer(pe))return pe.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(pe)||pe instanceof ArrayBuffer))return pe.byteLength;typeof pe!="string"&&(pe=""+pe);var me=pe.length;if(me===0)return 0;for(var Le=!1;;)switch(x){case"ascii":case"latin1":case"binary":return me;case"utf8":case"utf-8":case void 0:return ct(pe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*me;case"hex":return me>>>1;case"base64":return wt(pe).length;default:if(Le)return ct(pe).length;x=(""+x).toLowerCase(),Le=!0}}function Ie(pe,x,me){var Le=!1;if((x===void 0||x<0)&&(x=0),x>this.length||((me===void 0||me>this.length)&&(me=this.length),me<=0)||(me>>>=0,x>>>=0,me<=x))return"";for(pe||(pe="utf8");;)switch(pe){case"hex":return ft(this,x,me);case"utf8":case"utf-8":return Ye(this,x,me);case"ascii":return He(this,x,me);case"latin1":case"binary":return lt(this,x,me);case"base64":return Ne(this,x,me);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,x,me);default:if(Le)throw new TypeError("Unknown encoding: "+pe);pe=(pe+"").toLowerCase(),Le=!0}}function Re(pe,x,me){var Le=pe[x];pe[x]=pe[me],pe[me]=Le}function Me(pe,x,me,Le,Se){if(pe.length===0)return-1;if(typeof me=="string"?(Le=me,me=0):me>2147483647?me=2147483647:me<-2147483648&&(me=-2147483648),me=+me,isNaN(me)&&(me=Se?0:pe.length-1),me<0&&(me=pe.length+me),me>=pe.length){if(Se)return-1;me=pe.length-1}else if(me<0){if(!Se)return-1;me=0}if(typeof x=="string"&&(x=re.from(x,Le)),re.isBuffer(x))return x.length===0?-1:ye(pe,x,me,Le,Se);if(typeof x=="number")return x&=255,re.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Se?Uint8Array.prototype.indexOf.call(pe,x,me):Uint8Array.prototype.lastIndexOf.call(pe,x,me):ye(pe,[x],me,Le,Se);throw new TypeError("val must be string, number or Buffer")}function ye(pe,x,me,Le,Se){function Be(qt,Bt){return Qe===1?qt[Bt]:qt.readUInt16BE(Bt*Qe)}var Qe=1,it=pe.length,ot=x.length;if(Le!==void 0&&((Le=String(Le).toLowerCase())==="ucs2"||Le==="ucs-2"||Le==="utf16le"||Le==="utf-16le")){if(pe.length<2||x.length<2)return-1;Qe=2,it/=2,ot/=2,me/=2}var at;if(Se){var Mt=-1;for(at=me;at<it;at++)if(Be(pe,at)===Be(x,Mt===-1?0:at-Mt)){if(Mt===-1&&(Mt=at),at-Mt+1===ot)return Mt*Qe}else Mt!==-1&&(at-=at-Mt),Mt=-1}else for(me+ot>it&&(me=it-ot),at=me;at>=0;at--){for(var Rt=!0,tn=0;tn<ot;tn++)if(Be(pe,at+tn)!==Be(x,tn)){Rt=!1;break}if(Rt)return at}return-1}function Te(pe,x,me,Le){me=Number(me)||0;var Se=pe.length-me;Le?(Le=Number(Le))>Se&&(Le=Se):Le=Se;var Be=x.length;if(Be%2!=0)throw new TypeError("Invalid hex string");Le>Be/2&&(Le=Be/2);for(var Qe=0;Qe<Le;++Qe){var it=parseInt(x.substr(2*Qe,2),16);if(isNaN(it))return Qe;pe[me+Qe]=it}return Qe}function Fe(pe,x,me,Le){return yt(ct(x,pe.length-me),pe,me,Le)}function _e(pe,x,me,Le){return yt(Tt(x),pe,me,Le)}function Oe(pe,x,me,Le){return _e(pe,x,me,Le)}function Ke(pe,x,me,Le){return yt(wt(x),pe,me,Le)}function We(pe,x,me,Le){return yt(xt(x,pe.length-me),pe,me,Le)}function Ne(pe,x,me){return x===0&&me===pe.length?ue.fromByteArray(pe):ue.fromByteArray(pe.slice(x,me))}function Ye(pe,x,me){me=Math.min(pe.length,me);for(var Le=[],Se=x;Se<me;){var Be=pe[Se],Qe=null,it=Be>239?4:Be>223?3:Be>191?2:1;if(Se+it<=me){var ot,at,Mt,Rt;switch(it){case 1:Be<128&&(Qe=Be);break;case 2:ot=pe[Se+1],(192&ot)==128&&(Rt=(31&Be)<<6|63&ot)>127&&(Qe=Rt);break;case 3:ot=pe[Se+1],at=pe[Se+2],(192&ot)==128&&(192&at)==128&&(Rt=(15&Be)<<12|(63&ot)<<6|63&at)>2047&&(Rt<55296||Rt>57343)&&(Qe=Rt);break;case 4:ot=pe[Se+1],at=pe[Se+2],Mt=pe[Se+3],(192&ot)==128&&(192&at)==128&&(192&Mt)==128&&(Rt=(15&Be)<<18|(63&ot)<<12|(63&at)<<6|63&Mt)>65535&&Rt<1114112&&(Qe=Rt)}}Qe===null?(Qe=65533,it=1):Qe>65535&&(Qe-=65536,Le.push(Qe>>>10&1023|55296),Qe=56320|1023&Qe),Le.push(Qe),Se+=it}return Je(Le)}function Je(pe){var x=pe.length;if(x<=Xe)return String.fromCharCode.apply(String,pe);for(var me="",Le=0;Le<x;)me+=String.fromCharCode.apply(String,pe.slice(Le,Le+=Xe));return me}function He(pe,x,me){var Le="";me=Math.min(pe.length,me);for(var Se=x;Se<me;++Se)Le+=String.fromCharCode(127&pe[Se]);return Le}function lt(pe,x,me){var Le="";me=Math.min(pe.length,me);for(var Se=x;Se<me;++Se)Le+=String.fromCharCode(pe[Se]);return Le}function ft(pe,x,me){var Le=pe.length;(!x||x<0)&&(x=0),(!me||me<0||me>Le)&&(me=Le);for(var Se="",Be=x;Be<me;++Be)Se+=Lt(pe[Be]);return Se}function tt(pe,x,me){for(var Le=pe.slice(x,me),Se="",Be=0;Be<Le.length;Be+=2)Se+=String.fromCharCode(Le[Be]+256*Le[Be+1]);return Se}function Ot(pe,x,me){if(pe%1!=0||pe<0)throw new RangeError("offset is not uint");if(pe+x>me)throw new RangeError("Trying to access beyond buffer length")}function nt(pe,x,me,Le,Se,Be){if(!re.isBuffer(pe))throw new TypeError('"buffer" argument must be a Buffer instance');if(x>Se||x<Be)throw new RangeError('"value" argument is out of bounds');if(me+Le>pe.length)throw new RangeError("Index out of range")}function Ze(pe,x,me,Le){x<0&&(x=65535+x+1);for(var Se=0,Be=Math.min(pe.length-me,2);Se<Be;++Se)pe[me+Se]=(x&255<<8*(Le?Se:1-Se))>>>8*(Le?Se:1-Se)}function Ge(pe,x,me,Le){x<0&&(x=4294967295+x+1);for(var Se=0,Be=Math.min(pe.length-me,4);Se<Be;++Se)pe[me+Se]=x>>>8*(Le?Se:3-Se)&255}function $e(pe,x,me,Le,Se,Be){if(me+Le>pe.length)throw new RangeError("Index out of range");if(me<0)throw new RangeError("Index out of range")}function qe(pe,x,me,Le,Se){return Se||$e(pe,x,me,4,34028234663852886e22,-34028234663852886e22),ie.write(pe,x,me,Le,23,4),me+4}function Ve(pe,x,me,Le,Se){return Se||$e(pe,x,me,8,17976931348623157e292,-17976931348623157e292),ie.write(pe,x,me,Le,52,8),me+8}function mt(pe){if(pe=st(pe).replace(De,""),pe.length<2)return"";for(;pe.length%4!=0;)pe+="=";return pe}function st(pe){return pe.trim?pe.trim():pe.replace(/^\s+|\s+$/g,"")}function Lt(pe){return pe<16?"0"+pe.toString(16):pe.toString(16)}function ct(pe,x){x=x||1/0;for(var me,Le=pe.length,Se=null,Be=[],Qe=0;Qe<Le;++Qe){if((me=pe.charCodeAt(Qe))>55295&&me<57344){if(!Se){if(me>56319){(x-=3)>-1&&Be.push(239,191,189);continue}if(Qe+1===Le){(x-=3)>-1&&Be.push(239,191,189);continue}Se=me;continue}if(me<56320){(x-=3)>-1&&Be.push(239,191,189),Se=me;continue}me=65536+(Se-55296<<10|me-56320)}else Se&&(x-=3)>-1&&Be.push(239,191,189);if(Se=null,me<128){if((x-=1)<0)break;Be.push(me)}else if(me<2048){if((x-=2)<0)break;Be.push(me>>6|192,63&me|128)}else if(me<65536){if((x-=3)<0)break;Be.push(me>>12|224,me>>6&63|128,63&me|128)}else{if(!(me<1114112))throw new Error("Invalid code point");if((x-=4)<0)break;Be.push(me>>18|240,me>>12&63|128,me>>6&63|128,63&me|128)}}return Be}function Tt(pe){for(var x=[],me=0;me<pe.length;++me)x.push(255&pe.charCodeAt(me));return x}function xt(pe,x){for(var me,Le,Se,Be=[],Qe=0;Qe<pe.length&&!((x-=2)<0);++Qe)me=pe.charCodeAt(Qe),Le=me>>8,Se=me%256,Be.push(Se),Be.push(Le);return Be}function wt(pe){return ue.toByteArray(mt(pe))}function yt(pe,x,me,Le){for(var Se=0;Se<Le&&!(Se+me>=x.length||Se>=pe.length);++Se)x[Se+me]=pe[Se];return Se}function je(pe){return pe!==pe}var ue=we(21),ie=we(22),ke=we(23);oe.Buffer=re,oe.SlowBuffer=Ee,oe.INSPECT_MAX_BYTES=50,re.TYPED_ARRAY_SUPPORT=Ae.TYPED_ARRAY_SUPPORT!==void 0?Ae.TYPED_ARRAY_SUPPORT:function(){try{var pe=new Uint8Array(1);return pe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},pe.foo()===42&&typeof pe.subarray=="function"&&pe.subarray(1,1).byteLength===0}catch(x){return!1}}(),oe.kMaxLength=de(),re.poolSize=8192,re._augment=function(pe){return pe.__proto__=re.prototype,pe},re.from=function(pe,x,me){return se(null,pe,x,me)},re.TYPED_ARRAY_SUPPORT&&(re.prototype.__proto__=Uint8Array.prototype,re.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&re[Symbol.species]===re&&Object.defineProperty(re,Symbol.species,{value:null,configurable:!0})),re.alloc=function(pe,x,me){return E(null,pe,x,me)},re.allocUnsafe=function(pe){return te(null,pe)},re.allocUnsafeSlow=function(pe){return te(null,pe)},re.isBuffer=function(pe){return!(pe==null||!pe._isBuffer)},re.compare=function(pe,x){if(!re.isBuffer(pe)||!re.isBuffer(x))throw new TypeError("Arguments must be Buffers");if(pe===x)return 0;for(var me=pe.length,Le=x.length,Se=0,Be=Math.min(me,Le);Se<Be;++Se)if(pe[Se]!==x[Se]){me=pe[Se],Le=x[Se];break}return me<Le?-1:Le<me?1:0},re.isEncoding=function(pe){switch(String(pe).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},re.concat=function(pe,x){if(!ke(pe))throw new TypeError('"list" argument must be an Array of Buffers');if(pe.length===0)return re.alloc(0);var me;if(x===void 0)for(x=0,me=0;me<pe.length;++me)x+=pe[me].length;var Le=re.allocUnsafe(x),Se=0;for(me=0;me<pe.length;++me){var Be=pe[me];if(!re.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(Le,Se),Se+=Be.length}return Le},re.byteLength=Pe,re.prototype._isBuffer=!0,re.prototype.swap16=function(){var pe=this.length;if(pe%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var x=0;x<pe;x+=2)Re(this,x,x+1);return this},re.prototype.swap32=function(){var pe=this.length;if(pe%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var x=0;x<pe;x+=4)Re(this,x,x+3),Re(this,x+1,x+2);return this},re.prototype.swap64=function(){var pe=this.length;if(pe%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var x=0;x<pe;x+=8)Re(this,x,x+7),Re(this,x+1,x+6),Re(this,x+2,x+5),Re(this,x+3,x+4);return this},re.prototype.toString=function(){var pe=0|this.length;return pe===0?"":arguments.length===0?Ye(this,0,pe):Ie.apply(this,arguments)},re.prototype.equals=function(pe){if(!re.isBuffer(pe))throw new TypeError("Argument must be a Buffer");return this===pe||re.compare(this,pe)===0},re.prototype.inspect=function(){var pe="",x=oe.INSPECT_MAX_BYTES;return this.length>0&&(pe=this.toString("hex",0,x).match(/.{2}/g).join(" "),this.length>x&&(pe+=" ... ")),"<Buffer "+pe+">"},re.prototype.compare=function(pe,x,me,Le,Se){if(!re.isBuffer(pe))throw new TypeError("Argument must be a Buffer");if(x===void 0&&(x=0),me===void 0&&(me=pe?pe.length:0),Le===void 0&&(Le=0),Se===void 0&&(Se=this.length),x<0||me>pe.length||Le<0||Se>this.length)throw new RangeError("out of range index");if(Le>=Se&&x>=me)return 0;if(Le>=Se)return-1;if(x>=me)return 1;if(x>>>=0,me>>>=0,Le>>>=0,Se>>>=0,this===pe)return 0;for(var Be=Se-Le,Qe=me-x,it=Math.min(Be,Qe),ot=this.slice(Le,Se),at=pe.slice(x,me),Mt=0;Mt<it;++Mt)if(ot[Mt]!==at[Mt]){Be=ot[Mt],Qe=at[Mt];break}return Be<Qe?-1:Qe<Be?1:0},re.prototype.includes=function(pe,x,me){return this.indexOf(pe,x,me)!==-1},re.prototype.indexOf=function(pe,x,me){return Me(this,pe,x,me,!0)},re.prototype.lastIndexOf=function(pe,x,me){return Me(this,pe,x,me,!1)},re.prototype.write=function(pe,x,me,Le){if(x===void 0)Le="utf8",me=this.length,x=0;else if(me===void 0&&typeof x=="string")Le=x,me=this.length,x=0;else{if(!isFinite(x))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");x|=0,isFinite(me)?(me|=0,Le===void 0&&(Le="utf8")):(Le=me,me=void 0)}var Se=this.length-x;if((me===void 0||me>Se)&&(me=Se),pe.length>0&&(me<0||x<0)||x>this.length)throw new RangeError("Attempt to write outside buffer bounds");Le||(Le="utf8");for(var Be=!1;;)switch(Le){case"hex":return Te(this,pe,x,me);case"utf8":case"utf-8":return Fe(this,pe,x,me);case"ascii":return _e(this,pe,x,me);case"latin1":case"binary":return Oe(this,pe,x,me);case"base64":return Ke(this,pe,x,me);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,pe,x,me);default:if(Be)throw new TypeError("Unknown encoding: "+Le);Le=(""+Le).toLowerCase(),Be=!0}},re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Xe=4096;re.prototype.slice=function(pe,x){var me=this.length;pe=~~pe,x=x===void 0?me:~~x,pe<0?(pe+=me)<0&&(pe=0):pe>me&&(pe=me),x<0?(x+=me)<0&&(x=0):x>me&&(x=me),x<pe&&(x=pe);var Le;if(re.TYPED_ARRAY_SUPPORT)Le=this.subarray(pe,x),Le.__proto__=re.prototype;else{var Se=x-pe;Le=new re(Se,void 0);for(var Be=0;Be<Se;++Be)Le[Be]=this[Be+pe]}return Le},re.prototype.readUIntLE=function(pe,x,me){pe|=0,x|=0,me||Ot(pe,x,this.length);for(var Le=this[pe],Se=1,Be=0;++Be<x&&(Se*=256);)Le+=this[pe+Be]*Se;return Le},re.prototype.readUIntBE=function(pe,x,me){pe|=0,x|=0,me||Ot(pe,x,this.length);for(var Le=this[pe+--x],Se=1;x>0&&(Se*=256);)Le+=this[pe+--x]*Se;return Le},re.prototype.readUInt8=function(pe,x){return x||Ot(pe,1,this.length),this[pe]},re.prototype.readUInt16LE=function(pe,x){return x||Ot(pe,2,this.length),this[pe]|this[pe+1]<<8},re.prototype.readUInt16BE=function(pe,x){return x||Ot(pe,2,this.length),this[pe]<<8|this[pe+1]},re.prototype.readUInt32LE=function(pe,x){return x||Ot(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+16777216*this[pe+3]},re.prototype.readUInt32BE=function(pe,x){return x||Ot(pe,4,this.length),16777216*this[pe]+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},re.prototype.readIntLE=function(pe,x,me){pe|=0,x|=0,me||Ot(pe,x,this.length);for(var Le=this[pe],Se=1,Be=0;++Be<x&&(Se*=256);)Le+=this[pe+Be]*Se;return Se*=128,Le>=Se&&(Le-=Math.pow(2,8*x)),Le},re.prototype.readIntBE=function(pe,x,me){pe|=0,x|=0,me||Ot(pe,x,this.length);for(var Le=x,Se=1,Be=this[pe+--Le];Le>0&&(Se*=256);)Be+=this[pe+--Le]*Se;return Se*=128,Be>=Se&&(Be-=Math.pow(2,8*x)),Be},re.prototype.readInt8=function(pe,x){return x||Ot(pe,1,this.length),128&this[pe]?-1*(255-this[pe]+1):this[pe]},re.prototype.readInt16LE=function(pe,x){x||Ot(pe,2,this.length);var me=this[pe]|this[pe+1]<<8;return 32768&me?4294901760|me:me},re.prototype.readInt16BE=function(pe,x){x||Ot(pe,2,this.length);var me=this[pe+1]|this[pe]<<8;return 32768&me?4294901760|me:me},re.prototype.readInt32LE=function(pe,x){return x||Ot(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},re.prototype.readInt32BE=function(pe,x){return x||Ot(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},re.prototype.readFloatLE=function(pe,x){return x||Ot(pe,4,this.length),ie.read(this,pe,!0,23,4)},re.prototype.readFloatBE=function(pe,x){return x||Ot(pe,4,this.length),ie.read(this,pe,!1,23,4)},re.prototype.readDoubleLE=function(pe,x){return x||Ot(pe,8,this.length),ie.read(this,pe,!0,52,8)},re.prototype.readDoubleBE=function(pe,x){return x||Ot(pe,8,this.length),ie.read(this,pe,!1,52,8)},re.prototype.writeUIntLE=function(pe,x,me,Le){pe=+pe,x|=0,me|=0,!Le&&nt(this,pe,x,me,Math.pow(2,8*me)-1,0);var Se=1,Be=0;for(this[x]=255&pe;++Be<me&&(Se*=256);)this[x+Be]=pe/Se&255;return x+me},re.prototype.writeUIntBE=function(pe,x,me,Le){pe=+pe,x|=0,me|=0,!Le&&nt(this,pe,x,me,Math.pow(2,8*me)-1,0);var Se=me-1,Be=1;for(this[x+Se]=255&pe;--Se>=0&&(Be*=256);)this[x+Se]=pe/Be&255;return x+me},re.prototype.writeUInt8=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,1,255,0),re.TYPED_ARRAY_SUPPORT||(pe=Math.floor(pe)),this[x]=255&pe,x+1},re.prototype.writeUInt16LE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,2,65535,0),re.TYPED_ARRAY_SUPPORT?(this[x]=255&pe,this[x+1]=pe>>>8):Ze(this,pe,x,!0),x+2},re.prototype.writeUInt16BE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,2,65535,0),re.TYPED_ARRAY_SUPPORT?(this[x]=pe>>>8,this[x+1]=255&pe):Ze(this,pe,x,!1),x+2},re.prototype.writeUInt32LE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,4,4294967295,0),re.TYPED_ARRAY_SUPPORT?(this[x+3]=pe>>>24,this[x+2]=pe>>>16,this[x+1]=pe>>>8,this[x]=255&pe):Ge(this,pe,x,!0),x+4},re.prototype.writeUInt32BE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,4,4294967295,0),re.TYPED_ARRAY_SUPPORT?(this[x]=pe>>>24,this[x+1]=pe>>>16,this[x+2]=pe>>>8,this[x+3]=255&pe):Ge(this,pe,x,!1),x+4},re.prototype.writeIntLE=function(pe,x,me,Le){if(pe=+pe,x|=0,!Le){var Se=Math.pow(2,8*me-1);nt(this,pe,x,me,Se-1,-Se)}var Be=0,Qe=1,it=0;for(this[x]=255&pe;++Be<me&&(Qe*=256);)pe<0&&it===0&&this[x+Be-1]!==0&&(it=1),this[x+Be]=(pe/Qe>>0)-it&255;return x+me},re.prototype.writeIntBE=function(pe,x,me,Le){if(pe=+pe,x|=0,!Le){var Se=Math.pow(2,8*me-1);nt(this,pe,x,me,Se-1,-Se)}var Be=me-1,Qe=1,it=0;for(this[x+Be]=255&pe;--Be>=0&&(Qe*=256);)pe<0&&it===0&&this[x+Be+1]!==0&&(it=1),this[x+Be]=(pe/Qe>>0)-it&255;return x+me},re.prototype.writeInt8=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,1,127,-128),re.TYPED_ARRAY_SUPPORT||(pe=Math.floor(pe)),pe<0&&(pe=255+pe+1),this[x]=255&pe,x+1},re.prototype.writeInt16LE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,2,32767,-32768),re.TYPED_ARRAY_SUPPORT?(this[x]=255&pe,this[x+1]=pe>>>8):Ze(this,pe,x,!0),x+2},re.prototype.writeInt16BE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,2,32767,-32768),re.TYPED_ARRAY_SUPPORT?(this[x]=pe>>>8,this[x+1]=255&pe):Ze(this,pe,x,!1),x+2},re.prototype.writeInt32LE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,4,2147483647,-2147483648),re.TYPED_ARRAY_SUPPORT?(this[x]=255&pe,this[x+1]=pe>>>8,this[x+2]=pe>>>16,this[x+3]=pe>>>24):Ge(this,pe,x,!0),x+4},re.prototype.writeInt32BE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),re.TYPED_ARRAY_SUPPORT?(this[x]=pe>>>24,this[x+1]=pe>>>16,this[x+2]=pe>>>8,this[x+3]=255&pe):Ge(this,pe,x,!1),x+4},re.prototype.writeFloatLE=function(pe,x,me){return qe(this,pe,x,!0,me)},re.prototype.writeFloatBE=function(pe,x,me){return qe(this,pe,x,!1,me)},re.prototype.writeDoubleLE=function(pe,x,me){return Ve(this,pe,x,!0,me)},re.prototype.writeDoubleBE=function(pe,x,me){return Ve(this,pe,x,!1,me)},re.prototype.copy=function(pe,x,me,Le){if(me||(me=0),Le||Le===0||(Le=this.length),x>=pe.length&&(x=pe.length),x||(x=0),Le>0&&Le<me&&(Le=me),Le===me||pe.length===0||this.length===0)return 0;if(x<0)throw new RangeError("targetStart out of bounds");if(me<0||me>=this.length)throw new RangeError("sourceStart out of bounds");if(Le<0)throw new RangeError("sourceEnd out of bounds");Le>this.length&&(Le=this.length),pe.length-x<Le-me&&(Le=pe.length-x+me);var Se,Be=Le-me;if(this===pe&&me<x&&x<Le)for(Se=Be-1;Se>=0;--Se)pe[Se+x]=this[Se+me];else if(Be<1e3||!re.TYPED_ARRAY_SUPPORT)for(Se=0;Se<Be;++Se)pe[Se+x]=this[Se+me];else Uint8Array.prototype.set.call(pe,this.subarray(me,me+Be),x);return Be},re.prototype.fill=function(pe,x,me,Le){if(typeof pe=="string"){if(typeof x=="string"?(Le=x,x=0,me=this.length):typeof me=="string"&&(Le=me,me=this.length),pe.length===1){var Se=pe.charCodeAt(0);Se<256&&(pe=Se)}if(Le!==void 0&&typeof Le!="string")throw new TypeError("encoding must be a string");if(typeof Le=="string"&&!re.isEncoding(Le))throw new TypeError("Unknown encoding: "+Le)}else typeof pe=="number"&&(pe&=255);if(x<0||this.length<x||this.length<me)throw new RangeError("Out of range index");if(me<=x)return this;x>>>=0,me=me===void 0?this.length:me>>>0,pe||(pe=0);var Be;if(typeof pe=="number")for(Be=x;Be<me;++Be)this[Be]=pe;else{var Qe=re.isBuffer(pe)?pe:ct(new re(pe,Le).toString()),it=Qe.length;for(Be=0;Be<me-x;++Be)this[Be+x]=Qe[Be%it]}return this};var De=/[^+\/0-9A-Za-z-_]/g}).call(oe,we(20))},function(b,oe){var we;we=function(){return this}();try{we=we||Function("return this")()||(0,eval)("this")}catch(Ae){typeof window=="object"&&(we=window)}b.exports=we},function(b,oe,we){"use strict";function Ae(le){var Ee=le.length;if(Ee%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return le[Ee-2]==="="?2:le[Ee-1]==="="?1:0}function de(le){return 3*le.length/4-Ae(le)}function ve(le){var Ee,Pe,Ie,Re,Me,ye=le.length;Re=Ae(le),Me=new ne(3*ye/4-Re),Pe=Re>0?ye-4:ye;var Te=0;for(Ee=0;Ee<Pe;Ee+=4)Ie=te[le.charCodeAt(Ee)]<<18|te[le.charCodeAt(Ee+1)]<<12|te[le.charCodeAt(Ee+2)]<<6|te[le.charCodeAt(Ee+3)],Me[Te++]=Ie>>16&255,Me[Te++]=Ie>>8&255,Me[Te++]=255&Ie;return Re===2?(Ie=te[le.charCodeAt(Ee)]<<2|te[le.charCodeAt(Ee+1)]>>4,Me[Te++]=255&Ie):Re===1&&(Ie=te[le.charCodeAt(Ee)]<<10|te[le.charCodeAt(Ee+1)]<<4|te[le.charCodeAt(Ee+2)]>>2,Me[Te++]=Ie>>8&255,Me[Te++]=255&Ie),Me}function re(le){return E[le>>18&63]+E[le>>12&63]+E[le>>6&63]+E[63&le]}function se(le,Ee,Pe){for(var Ie,Re=[],Me=Ee;Me<Pe;Me+=3)Ie=(le[Me]<<16)+(le[Me+1]<<8)+le[Me+2],Re.push(re(Ie));return Re.join("")}function fe(le){for(var Ee,Pe=le.length,Ie=Pe%3,Re="",Me=[],ye=0,Te=Pe-Ie;ye<Te;ye+=16383)Me.push(se(le,ye,ye+16383>Te?Te:ye+16383));return Ie===1?(Ee=le[Pe-1],Re+=E[Ee>>2],Re+=E[Ee<<4&63],Re+="=="):Ie===2&&(Ee=(le[Pe-2]<<8)+le[Pe-1],Re+=E[Ee>>10],Re+=E[Ee>>4&63],Re+=E[Ee<<2&63],Re+="="),Me.push(Re),Me.join("")}oe.byteLength=de,oe.toByteArray=ve,oe.fromByteArray=fe;for(var E=[],te=[],ne=typeof Uint8Array!="undefined"?Uint8Array:Array,ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ce=0,be=ge.length;Ce<be;++Ce)E[Ce]=ge[Ce],te[ge.charCodeAt(Ce)]=Ce;te[45]=62,te[95]=63},function(b,oe){oe.read=function(we,Ae,de,ve,re){var se,fe,E=8*re-ve-1,te=(1<<E)-1,ne=te>>1,ge=-7,Ce=de?re-1:0,be=de?-1:1,le=we[Ae+Ce];for(Ce+=be,se=le&(1<<-ge)-1,le>>=-ge,ge+=E;ge>0;se=256*se+we[Ae+Ce],Ce+=be,ge-=8);for(fe=se&(1<<-ge)-1,se>>=-ge,ge+=ve;ge>0;fe=256*fe+we[Ae+Ce],Ce+=be,ge-=8);if(se===0)se=1-ne;else{if(se===te)return fe?NaN:1/0*(le?-1:1);fe+=Math.pow(2,ve),se-=ne}return(le?-1:1)*fe*Math.pow(2,se-ve)},oe.write=function(we,Ae,de,ve,re,se){var fe,E,te,ne=8*se-re-1,ge=(1<<ne)-1,Ce=ge>>1,be=re===23?Math.pow(2,-24)-Math.pow(2,-77):0,le=ve?0:se-1,Ee=ve?1:-1,Pe=Ae<0||Ae===0&&1/Ae<0?1:0;for(Ae=Math.abs(Ae),isNaN(Ae)||Ae===1/0?(E=isNaN(Ae)?1:0,fe=ge):(fe=Math.floor(Math.log(Ae)/Math.LN2),Ae*(te=Math.pow(2,-fe))<1&&(fe--,te*=2),Ae+=fe+Ce>=1?be/te:be*Math.pow(2,1-Ce),Ae*te>=2&&(fe++,te/=2),fe+Ce>=ge?(E=0,fe=ge):fe+Ce>=1?(E=(Ae*te-1)*Math.pow(2,re),fe+=Ce):(E=Ae*Math.pow(2,Ce-1)*Math.pow(2,re),fe=0));re>=8;we[de+le]=255&E,le+=Ee,E/=256,re-=8);for(fe=fe<<re|E,ne+=re;ne>0;we[de+le]=255&fe,le+=Ee,fe/=256,ne-=8);we[de+le-Ee]|=128*Pe}},function(b,oe){var we={}.toString;b.exports=Array.isArray||function(Ae){return we.call(Ae)=="[object Array]"}},function(b,oe,we){"use strict";function Ae(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){Ae(this,re)}return de(re,null,[{key:"set",value:function(se,fe){try{window.localStorage&&localStorage.setItem(se,fe)}catch(E){window[se+"_localStorage"]=fe}}},{key:"get",value:function(se){try{if(window.localStorage)return localStorage.getItem(se)}catch(fe){return window[se+"_localStorage"]}return""}},{key:"remove",value:function(se){try{window.localStorage&&localStorage.removeItem(se)}catch(fe){delete window[se+"_localStorage"]}}}]),re}();oe.default=ve},function(b,oe,we){"use strict";function Ae(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){Ae(this,re)}return de(re,null,[{key:"get",value:function(se){for(var fe=se+"",E=document.cookie.split(";"),te=0;te<E.length;te++){var ne=E[te].trim();if(ne.indexOf(fe)==0)return unescape(ne.substring(fe.length+1,ne.length))}return""}},{key:"set",value:function(se,fe,E){var te=new Date;te.setTime(te.getTime()+24*E*60*60*1e3);var ne="expires="+te.toGMTString();document.cookie=se+"="+escape(fe)+"; "+ne}}]),re}();oe.default=ve},function(b,oe,we){"use strict";function Ae(ne){return ne&&ne.__esModule?ne:{default:ne}}function de(ne,ge){if(!(ne instanceof ge))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function ne(ge,Ce){for(var be=0;be<Ce.length;be++){var le=Ce[be];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(ge,le.key,le)}}return function(ge,Ce,be){return Ce&&ne(ge.prototype,Ce),be&&ne(ge,be),ge}}(),re=we(8),se=Ae(re),fe=we(9),E=Ae(fe),te=function(){function ne(){de(this,ne)}return ve(ne,null,[{key:"refreshUploadAuth",value:function(ge,Ce,be){var le=(E.default.randomUUID(),E.default.randomUUID()),Ee={AccessKeyId:ge.accessKeyId,SecurityToken:ge.securityToken,Action:"RefreshUploadVideo",VideoId:ge.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:le,RequestId:ge.requestId},Pe=E.default.makeUTF8sort(Ee,"=","&")+"&Signature="+E.default.aliyunEncodeURI(E.default.makeChangeSiga(Ee,ge.accessKeySecret)),Ie="https://vod."+ge.region+".aliyuncs.com/?"+Pe;se.default.get(Ie,function(Me){var Me=JSON.parse(Me);Ce&&Ce(Me)},function(Re){if(be){var Me=JSON.parse(Re);be(Me)}})}},{key:"getUploadAuth",value:function(ge,Ce,be){var le=(E.default.randomUUID(),E.default.randomUUID()),Ee={AccessKeyId:ge.accessKeyId,SecurityToken:ge.securityToken,Action:"CreateUploadVideo",Title:ge.title,FileName:ge.fileName,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:le,RequestId:ge.requestId};ge.fileSize&&(Ee.FileSize=ge.fileSize),ge.description&&(Ee.Description=ge.description),ge.cateId&&(Ee.CateId=ge.cateId),ge.tags&&(Ee.Tags=ge.tags),ge.templateGroupId&&(Ee.TemplateGroupId=ge.templateGroupId),ge.storageLocation&&(Ee.StorageLocation=ge.storageLocation),ge.coverUrl&&(Ee.CoverURL=ge.coverUrl),ge.transCodeMode&&(Ee.TransCodeMode=ge.transCodeMode),ge.userData&&(Ee.UserData=JSON.stringify(ge.userData));var Pe=E.default.makeUTF8sort(Ee,"=","&")+"&Signature="+E.default.aliyunEncodeURI(E.default.makeChangeSiga(Ee,ge.accessKeySecret)),Ie="https://vod."+ge.region+".aliyuncs.com/?"+Pe;se.default.get(Ie,function(Re){try{Re=JSON.parse(Re)}catch(Me){if(be)return void be({Code:"GetUploadAuthFailed",Message:"\u83B7\u53D6uploadauth\u5931\u8D25"})}Ce&&Ce(Re)},function(Re){if(be){var Me={Code:"GetUploadAuthFailed",Message:"\u83B7\u53D6uploadauth\u5931\u8D25"};try{Me=JSON.parse(Re)}catch(ye){}be(Me)}})}},{key:"getImageUploadAuth",value:function(ge,Ce,be){var le=(E.default.randomUUID(),E.default.randomUUID()),Ee={AccessKeyId:ge.accessKeyId,SecurityToken:ge.securityToken,Action:"CreateUploadImage",ImageType:ge.imageType?ge.imageType:"default",Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:le,RequestId:ge.requestId};ge.title&&(Ee.Title=ge.title),ge.imageExt&&(Ee.ImageExt=ge.imageExt),ge.tags&&(Ee.Tags=ge.tags),ge.storageLocation&&(Ee.StorageLocation=ge.storageLocation);var Pe=E.default.makeUTF8sort(Ee,"=","&")+"&Signature="+E.default.aliyunEncodeURI(E.default.makeChangeSiga(Ee,ge.accessKeySecret)),Ie="https://vod."+ge.region+".aliyuncs.com/?"+Pe;se.default.get(Ie,function(Re){Re=JSON.parse(Re),Ce&&Ce(Re)},function(Re){if(be){var Me=JSON.parse(Re);be(Me)}})}}]),ne}();oe.default=te},function(b,oe,we){(function(Ae,de,ve){b.exports=oe=de(we(0),we(28),we(29))})(0,function(Ae){return Ae.HmacSHA1})},function(b,oe,we){(function(Ae,de){b.exports=oe=de(we(0))})(0,function(Ae){return function(){var de=Ae,ve=de.lib,re=ve.WordArray,se=ve.Hasher,fe=de.algo,E=[],te=fe.SHA1=se.extend({_doReset:function(){this._hash=new re.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(ne,ge){for(var Ce=this._hash.words,be=Ce[0],le=Ce[1],Ee=Ce[2],Pe=Ce[3],Ie=Ce[4],Re=0;Re<80;Re++){if(Re<16)E[Re]=0|ne[ge+Re];else{var Me=E[Re-3]^E[Re-8]^E[Re-14]^E[Re-16];E[Re]=Me<<1|Me>>>31}var ye=(be<<5|be>>>27)+Ie+E[Re];ye+=Re<20?1518500249+(le&Ee|~le&Pe):Re<40?1859775393+(le^Ee^Pe):Re<60?(le&Ee|le&Pe|Ee&Pe)-1894007588:(le^Ee^Pe)-899497514,Ie=Pe,Pe=Ee,Ee=le<<30|le>>>2,le=be,be=ye}Ce[0]=Ce[0]+be|0,Ce[1]=Ce[1]+le|0,Ce[2]=Ce[2]+Ee|0,Ce[3]=Ce[3]+Pe|0,Ce[4]=Ce[4]+Ie|0},_doFinalize:function(){var ne=this._data,ge=ne.words,Ce=8*this._nDataBytes,be=8*ne.sigBytes;return ge[be>>>5]|=128<<24-be%32,ge[14+(be+64>>>9<<4)]=Math.floor(Ce/4294967296),ge[15+(be+64>>>9<<4)]=Ce,ne.sigBytes=4*ge.length,this._process(),this._hash},clone:function(){var ne=se.clone.call(this);return ne._hash=this._hash.clone(),ne}});de.SHA1=se._createHelper(te),de.HmacSHA1=se._createHmacHelper(te)}(),Ae.SHA1})},function(b,oe,we){(function(Ae,de){b.exports=oe=de(we(0))})(0,function(Ae){(function(){var de=Ae,ve=de.lib,re=ve.Base,se=de.enc,fe=se.Utf8,E=de.algo;E.HMAC=re.extend({init:function(te,ne){te=this._hasher=new te.init,typeof ne=="string"&&(ne=fe.parse(ne));var ge=te.blockSize,Ce=4*ge;ne.sigBytes>Ce&&(ne=te.finalize(ne)),ne.clamp();for(var be=this._oKey=ne.clone(),le=this._iKey=ne.clone(),Ee=be.words,Pe=le.words,Ie=0;Ie<ge;Ie++)Ee[Ie]^=1549556828,Pe[Ie]^=909522486;be.sigBytes=le.sigBytes=Ce,this.reset()},reset:function(){var te=this._hasher;te.reset(),te.update(this._iKey)},update:function(te){return this._hasher.update(te),this},finalize:function(te){var ne=this._hasher,ge=ne.finalize(te);return ne.reset(),ne.finalize(this._oKey.clone().concat(ge))}})})()})},function(b,oe,we){(function(Ae,de){b.exports=oe=de(we(0))})(0,function(Ae){return function(){function de(E,te,ne){for(var ge=[],Ce=0,be=0;be<te;be++)if(be%4){var le=ne[E.charCodeAt(be-1)]<<be%4*2,Ee=ne[E.charCodeAt(be)]>>>6-be%4*2;ge[Ce>>>2]|=(le|Ee)<<24-Ce%4*8,Ce++}return se.create(ge,Ce)}var ve=Ae,re=ve.lib,se=re.WordArray,fe=ve.enc;fe.Base64={stringify:function(E){var te=E.words,ne=E.sigBytes,ge=this._map;E.clamp();for(var Ce=[],be=0;be<ne;be+=3)for(var le=te[be>>>2]>>>24-be%4*8&255,Ee=te[be+1>>>2]>>>24-(be+1)%4*8&255,Pe=te[be+2>>>2]>>>24-(be+2)%4*8&255,Ie=le<<16|Ee<<8|Pe,Re=0;Re<4&&be+.75*Re<ne;Re++)Ce.push(ge.charAt(Ie>>>6*(3-Re)&63));var Me=ge.charAt(64);if(Me)for(;Ce.length%4;)Ce.push(Me);return Ce.join("")},parse:function(E){var te=E.length,ne=this._map,ge=this._reverseMap;if(!ge){ge=this._reverseMap=[];for(var Ce=0;Ce<ne.length;Ce++)ge[ne.charCodeAt(Ce)]=Ce}var be=ne.charAt(64);if(be){var le=E.indexOf(be);le!==-1&&(te=le)}return de(E,te,ge)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),Ae.enc.Base64})},function(b,oe,we){"use strict";function Ae(Te){return Te&&Te.__esModule?Te:{default:Te}}function de(Te,Fe){if(!(Te instanceof Fe))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function Te(Fe,_e){for(var Oe=0;Oe<_e.length;Oe++){var Ke=_e[Oe];Ke.enumerable=Ke.enumerable||!1,Ke.configurable=!0,"value"in Ke&&(Ke.writable=!0),Object.defineProperty(Fe,Ke.key,Ke)}}return function(Fe,_e,Oe){return _e&&Te(Fe.prototype,_e),Oe&&Te(Fe,Oe),Fe}}(),re=we(8),se=Ae(re),fe=we(7),E=Ae(fe),te=we(4),ne=Ae(te),ge=we(6),Ce=Ae(ge),be=we(1),le=Ae(be),Ee=we(9),Pe=Ae(Ee),Ie=we(2),Re=we(11),Me=we(10),ye=function(){function Te(){de(this,Te)}return ve(Te,null,[{key:"getAuthInfo",value:function(Fe,_e,Oe){var Ke=Fe+"|f#Ylm&^1TppeRhLg|"+Oe;return _e&&(Ke=Fe+"|"+_e+"|f#Ylm&^1TppeRhLg|"+Oe),Ie(Me.parse(Ke)).toString(Re)}},{key:"upload",value:function(Fe,_e,Oe){var Ke=le.default.ISODateString(new Date),We=Math.floor(new Date().valueOf()/1e3),Ne=ne.default.getClientId();Ne=ne.default.setClientId(Ne);var Ye=Te.getAuthInfo(Fe.userId,Ne,We),Je=Pe.default.randomUUID(),He={Source:"WebSDK",BusinessType:"UploadVideo",Action:"ReportUploadProgress",TerminalType:"H5",DeviceModel:E.default.browser.name+(E.default.browser.version||""),AppVersion:Ce.default.version,AuthTimestamp:We,Timestamp:Ke,AuthInfo:Ye,FileName:Fe.file.name,FileSize:Fe.file.size,FileCreateTime:Fe.file.lastModified,FileHash:Fe.fileHash,UploadId:Fe.checkpoint.checkpoint.uploadId,PartSize:Fe.checkpoint.checkpoint.partSize,DonePartsCount:Fe.checkpoint.checkpoint.doneParts.length,UploadPoint:JSON.stringify(Fe.checkpoint),UploadRatio:Fe.checkpoint.loaded,UserId:Fe.userId,VideoId:Fe.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:Je};Ne&&(He.ClientId=Ne);var lt=Pe.default.makeUTF8sort(He,"=","&")+"&Signature="+Pe.default.aliyunEncodeURI(Pe.default.makeChangeSiga(He,Fe.accessKeySecret)),ft="https://vod."+Fe.region+".aliyuncs.com/?"+lt;se.default.get(ft,function(tt){_e&&_e()},function(tt){tt&&(Oe(tt),console.log(tt))})}},{key:"get",value:function(Fe,_e,Oe){var Ke=le.default.ISODateString(new Date),We=Math.floor(new Date().valueOf()/1e3),Ne=ne.default.getClientId(),Ye=Te.getAuthInfo(Fe.userId,Ne,We),Je=Pe.default.randomUUID(),He={Source:"WebSDK",BusinessType:"UploadVideo",Action:"GetUploadProgress",TerminalType:"H5",DeviceModel:E.default.browser.name+(E.default.browser.version||""),AppVersion:Ce.default.version,AuthTimestamp:We,Timestamp:Ke,AuthInfo:Ye,UserId:Fe.userId,UploadInfoList:JSON.stringify(Fe.uploadInfoList),Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:Je};Ne&&(He.ClientId=Ne);var lt=Pe.default.makeUTF8sort(He,"=","&")+"&Signature="+Pe.default.aliyunEncodeURI(Pe.default.makeChangeSiga(He,Fe.accessKeySecret)),ft="https://vod."+Fe.region+".aliyuncs.com/?"+lt;se.default.get(ft,function(tt){var Ot={},nt=Ne;tt=tt?JSON.parse(tt):{},tt.UploadProgress&&tt.UploadProgress.UploadProgressList&&tt.UploadProgress.UploadProgressList.length>0&&(Ot=tt.UploadProgress.UploadProgressList[0],nt=Ot.ClientId),ne.default.setClientId(nt),_e&&_e(Ot)},function(tt){tt&&(Oe(tt),console.log(tt))})}}]),Te}();oe.default=ye},function(b,oe,we){"use strict";function Ae(fe,E){if(!(fe instanceof E))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function fe(E,te){for(var ne=0;ne<te.length;ne++){var ge=te[ne];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(E,ge.key,ge)}}return function(E,te,ne){return te&&fe(E.prototype,te),ne&&fe(E,ne),E}}(),ve=we(2),re=we(33),se=(we(11),function(){function fe(){Ae(this,fe)}return de(fe,null,[{key:"getMd5",value:function(E,te,ne){var ge=new FileReader;ge.onload=function(le){try{if(le&&le.target){var Ee=ve(re.parse(le.target.result)),Pe=Ee.toString();te(Pe)}}catch(Ie){console.log(Ie)}},ge.onerror=function(le){console.log(le),errorCallback(le)};var Ce=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,be=Ce.call(E,0,1024);ge.readAsBinaryString(be)}}]),fe}());oe.default=se},function(b,oe,we){(function(Ae,de){b.exports=oe=de(we(0))})(0,function(Ae){return Ae.enc.Latin1})}])},9981:function(_n,pn){"use strict";const ae=function(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let oe=1;oe<arguments.length;oe++){const we=oe<0||arguments.length<=oe?void 0:arguments[oe];we&&Object.keys(we).forEach(Ae=>{const de=we[Ae];de!==void 0&&(b[Ae]=de)})}return b};pn.Z=ae},86013:function(_n,pn,ae){"use strict";var b=ae(59301),oe=ae(19248);const we=Ae=>{let de;return typeof Ae=="object"&&(Ae!=null&&Ae.clearIcon)?de=Ae:Ae&&(de={clearIcon:b.createElement(oe.Z,null)}),de};pn.Z=we},97224:function(_n,pn,ae){"use strict";ae.d(pn,{F:function(){return b}});function b(we){return we!=null&&we===we.window}const oe=we=>{var Ae,de;if(typeof window=="undefined")return 0;let ve=0;return b(we)?ve=we.pageYOffset:we instanceof Document?ve=we.documentElement.scrollTop:(we instanceof HTMLElement||we)&&(ve=we.scrollTop),we&&!b(we)&&typeof ve!="number"&&(ve=(de=((Ae=we.ownerDocument)!==null&&Ae!==void 0?Ae:we).documentElement)===null||de===void 0?void 0:de.scrollTop),ve};pn.Z=oe},83010:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Ae}});var b=ae(16089);function oe(de,ve,re,se){const fe=re-ve;return de/=se/2,de<1?fe/2*de*de*de+ve:fe/2*((de-=2)*de*de+2)+ve}var we=ae(97224);function Ae(de){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:se,duration:fe=450}=ve,E=re(),te=(0,we.Z)(E),ne=Date.now(),ge=()=>{const be=Date.now()-ne,le=oe(be>fe?fe:be,te,de,fe);(0,we.F)(E)?E.scrollTo(window.pageXOffset,le):E instanceof Document||E.constructor.name==="HTMLDocument"?E.documentElement.scrollTop=le:E.scrollTop=le,be<fe?(0,b.Z)(ge):typeof se=="function"&&se()};(0,b.Z)(ge)}},62673:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return Oe}});var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(16632),de=ae(8654),ve=ae(12919),re=ae(63872),se=ae(48755),fe=ae(2171),E=ae(83397),te=ae(56553),ge=b.createContext(null),Ce=ae(36170),be=ae(74632),le=function(Ke,We){var Ne={};for(var Ye in Ke)Object.prototype.hasOwnProperty.call(Ke,Ye)&&We.indexOf(Ye)<0&&(Ne[Ye]=Ke[Ye]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Ye=Object.getOwnPropertySymbols(Ke);Je<Ye.length;Je++)We.indexOf(Ye[Je])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Ye[Je])&&(Ne[Ye[Je]]=Ke[Ye[Je]]);return Ne};const Ee=(Ke,We)=>{var Ne;const{prefixCls:Ye,className:Je,rootClassName:He,children:lt,indeterminate:ft=!1,style:tt,onMouseEnter:Ot,onMouseLeave:nt,skipGroup:Ze=!1,disabled:Ge}=Ke,$e=le(Ke,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:qe,direction:Ve,checkbox:mt}=b.useContext(se.E_),st=b.useContext(ge),{isFormItemInput:Lt}=b.useContext(te.aM),ct=b.useContext(fe.Z),Tt=(Ne=(st==null?void 0:st.disabled)||Ge)!==null&&Ne!==void 0?Ne:ct,xt=b.useRef($e.value),wt=b.useRef(null),yt=(0,de.sQ)(We,wt);b.useEffect(()=>{st==null||st.registerValue($e.value)},[]),b.useEffect(()=>{if(!Ze)return $e.value!==xt.current&&(st==null||st.cancelValue(xt.current),st==null||st.registerValue($e.value),xt.current=$e.value),()=>st==null?void 0:st.cancelValue($e.value)},[$e.value]),b.useEffect(()=>{var Se;!((Se=wt.current)===null||Se===void 0)&&Se.input&&(wt.current.input.indeterminate=ft)},[ft]);const je=qe("checkbox",Ye),ue=(0,E.Z)(je),[ie,ke,Xe]=(0,Ce.ZP)(je,ue),De=Object.assign({},$e);st&&!Ze&&(De.onChange=function(){$e.onChange&&$e.onChange.apply($e,arguments),st.toggleOption&&st.toggleOption({label:lt,value:$e.value})},De.name=st.name,De.checked=st.value.includes($e.value));const pe=we()(`${je}-wrapper`,{[`${je}-rtl`]:Ve==="rtl",[`${je}-wrapper-checked`]:De.checked,[`${je}-wrapper-disabled`]:Tt,[`${je}-wrapper-in-form-item`]:Lt},mt==null?void 0:mt.className,Je,He,Xe,ue,ke),x=we()({[`${je}-indeterminate`]:ft},re.A,ke),[me,Le]=(0,be.Z)(De.onClick);return ie(b.createElement(ve.Z,{component:"Checkbox",disabled:Tt},b.createElement("label",{className:pe,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),tt),onMouseEnter:Ot,onMouseLeave:nt,onClick:me},b.createElement(Ae.Z,Object.assign({},De,{onClick:Le,prefixCls:je,className:x,disabled:Tt,ref:yt})),lt!==void 0&&b.createElement("span",{className:`${je}-label`},lt))))};var Ie=b.forwardRef(Ee),Re=ae(77654),Me=ae(2738),ye=function(Ke,We){var Ne={};for(var Ye in Ke)Object.prototype.hasOwnProperty.call(Ke,Ye)&&We.indexOf(Ye)<0&&(Ne[Ye]=Ke[Ye]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Ye=Object.getOwnPropertySymbols(Ke);Je<Ye.length;Je++)We.indexOf(Ye[Je])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Ye[Je])&&(Ne[Ye[Je]]=Ke[Ye[Je]]);return Ne},Fe=b.forwardRef((Ke,We)=>{const{defaultValue:Ne,children:Ye,options:Je=[],prefixCls:He,className:lt,rootClassName:ft,style:tt,onChange:Ot}=Ke,nt=ye(Ke,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ze,direction:Ge}=b.useContext(se.E_),[$e,qe]=b.useState(nt.value||Ne||[]),[Ve,mt]=b.useState([]);b.useEffect(()=>{"value"in nt&&qe(nt.value||[])},[nt.value]);const st=b.useMemo(()=>Je.map(x=>typeof x=="string"||typeof x=="number"?{label:x,value:x}:x),[Je]),Lt=x=>{mt(me=>me.filter(Le=>Le!==x))},ct=x=>{mt(me=>[].concat((0,Re.Z)(me),[x]))},Tt=x=>{const me=$e.indexOf(x.value),Le=(0,Re.Z)($e);me===-1?Le.push(x.value):Le.splice(me,1),"value"in nt||qe(Le),Ot==null||Ot(Le.filter(Se=>Ve.includes(Se)).sort((Se,Be)=>{const Qe=st.findIndex(ot=>ot.value===Se),it=st.findIndex(ot=>ot.value===Be);return Qe-it}))},xt=Ze("checkbox",He),wt=`${xt}-group`,yt=(0,E.Z)(xt),[je,ue,ie]=(0,Ce.ZP)(xt,yt),ke=(0,Me.Z)(nt,["value","disabled"]),Xe=Je.length?st.map(x=>b.createElement(Ie,{prefixCls:xt,key:x.value.toString(),disabled:"disabled"in x?x.disabled:nt.disabled,value:x.value,checked:$e.includes(x.value),onChange:x.onChange,className:`${wt}-item`,style:x.style,title:x.title,id:x.id,required:x.required},x.label)):Ye,De={toggleOption:Tt,value:$e,disabled:nt.disabled,name:nt.name,registerValue:ct,cancelValue:Lt},pe=we()(wt,{[`${wt}-rtl`]:Ge==="rtl"},lt,ft,ie,yt,ue);return je(b.createElement("div",Object.assign({className:pe,style:tt},ke,{ref:We}),b.createElement(ge.Provider,{value:De},Xe)))});const _e=Ie;_e.Group=Fe,_e.__ANT_CHECKBOX=!0;var Oe=_e},36170:function(_n,pn,ae){"use strict";ae.d(pn,{C2:function(){return ve}});var b=ae(36237),oe=ae(63356),we=ae(51636),Ae=ae(16931);const de=re=>{const{checkboxCls:se}=re,fe=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,oe.Wf)(re)),{display:"inline-flex",flexWrap:"wrap",columnGap:re.marginXS,[`> ${re.antCls}-row`]:{flex:1}}),[fe]:Object.assign(Object.assign({},(0,oe.Wf)(re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${fe}`]:{marginInlineStart:0},[`&${fe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,oe.Wf)(re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:re.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,oe.oN)(re))},[`${se}-inner`]:{boxSizing:"border-box",display:"block",width:re.checkboxSize,height:re.checkboxSize,direction:"ltr",backgroundColor:re.colorBgContainer,border:`${(0,b.unit)(re.lineWidth)} ${re.lineType} ${re.colorBorder}`,borderRadius:re.borderRadiusSM,borderCollapse:"separate",transition:`all ${re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:re.calc(re.checkboxSize).div(14).mul(5).equal(),height:re.calc(re.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(re.lineWidthBold)} solid ${re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${re.motionDurationFast} ${re.motionEaseInBack}, opacity ${re.motionDurationFast}`}},"& + span":{paddingInlineStart:re.paddingXS,paddingInlineEnd:re.paddingXS}})},{[`
${fe}:not(${fe}-disabled),
${se}:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{borderColor:re.colorPrimary}},[`${fe}:not(${fe}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:re.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:re.colorPrimary,borderColor:re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${re.motionDurationMid} ${re.motionEaseOutBack} ${re.motionDurationFast}`}}},[`
${fe}-checked:not(${fe}-disabled),
${se}-checked:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{backgroundColor:re.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:`${re.colorBgContainer} !important`,borderColor:`${re.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:re.calc(re.fontSizeLG).div(2).equal(),height:re.calc(re.fontSizeLG).div(2).equal(),backgroundColor:re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${se}-inner`]:{backgroundColor:`${re.colorBgContainer} !important`,borderColor:`${re.colorPrimary} !important`}}}},{[`${fe}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:re.colorBgContainerDisabled,borderColor:re.colorBorder,"&:after":{borderColor:re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:re.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:re.colorTextDisabled}}}]};function ve(re,se){const fe=(0,we.mergeToken)(se,{checkboxCls:`.${re}`,checkboxSize:se.controlInteractiveSize});return[de(fe)]}pn.ZP=(0,Ae.I$)("Checkbox",(re,se)=>{let{prefixCls:fe}=se;return[ve(fe,re)]})},38406:function(_n,pn,ae){"use strict";var b=ae(59301),oe=ae(48755),we=ae(584);const Ae=de=>{const{componentName:ve}=de,{getPrefixCls:re}=(0,b.useContext)(oe.E_),se=re("empty");switch(ve){case"Table":case"List":return b.createElement(we.Z,{image:we.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(we.Z,{image:we.Z.PRESENTED_IMAGE_SIMPLE,className:`${se}-small`});case"Table.filter":return null;default:return b.createElement(we.Z,null)}};pn.Z=Ae},37285:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Ce}});var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(48755),de=ae(36237),ve=ae(63356),re=ae(16931),se=ae(51636);const fe=be=>{const{componentCls:le,sizePaddingEdgeHorizontal:Ee,colorSplit:Pe,lineWidth:Ie,textPaddingInline:Re,orientationMargin:Me,verticalMarginInline:ye}=be;return{[le]:Object.assign(Object.assign({},(0,ve.Wf)(be)),{borderBlockStart:`${(0,de.unit)(Ie)} solid ${Pe}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ye,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,de.unit)(Ie)} solid ${Pe}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,de.unit)(be.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${le}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,de.unit)(be.dividerHorizontalWithTextGutterMargin)} 0`,color:be.colorTextHeading,fontWeight:500,fontSize:be.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Pe}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,de.unit)(Ie)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${le}-with-text-start`]:{"&::before":{width:`calc(${Me} * 100%)`},"&::after":{width:`calc(100% - ${Me} * 100%)`}},[`&-horizontal${le}-with-text-end`]:{"&::before":{width:`calc(100% - ${Me} * 100%)`},"&::after":{width:`calc(${Me} * 100%)`}},[`${le}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Re},"&-dashed":{background:"none",borderColor:Pe,borderStyle:"dashed",borderWidth:`${(0,de.unit)(Ie)} 0 0`},[`&-horizontal${le}-with-text${le}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${le}-dashed`]:{borderInlineStartWidth:Ie,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Pe,borderStyle:"dotted",borderWidth:`${(0,de.unit)(Ie)} 0 0`},[`&-horizontal${le}-with-text${le}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${le}-dotted`]:{borderInlineStartWidth:Ie,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${le}-with-text`]:{color:be.colorText,fontWeight:"normal",fontSize:be.fontSize},[`&-horizontal${le}-with-text-start${le}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${le}-inner-text`]:{paddingInlineStart:Ee}},[`&-horizontal${le}-with-text-end${le}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${le}-inner-text`]:{paddingInlineEnd:Ee}}})}},E=be=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:be.marginXS});var te=(0,re.I$)("Divider",be=>{const le=(0,se.mergeToken)(be,{dividerHorizontalWithTextGutterMargin:be.margin,dividerHorizontalGutterMargin:be.marginLG,sizePaddingEdgeHorizontal:0});return[fe(le)]},E,{unitless:{orientationMargin:!0}}),ne=function(be,le){var Ee={};for(var Pe in be)Object.prototype.hasOwnProperty.call(be,Pe)&&le.indexOf(Pe)<0&&(Ee[Pe]=be[Pe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Pe=Object.getOwnPropertySymbols(be);Ie<Pe.length;Ie++)le.indexOf(Pe[Ie])<0&&Object.prototype.propertyIsEnumerable.call(be,Pe[Ie])&&(Ee[Pe[Ie]]=be[Pe[Ie]]);return Ee},Ce=be=>{const{getPrefixCls:le,direction:Ee,className:Pe,style:Ie}=(0,Ae.dj)("divider"),{prefixCls:Re,type:Me="horizontal",orientation:ye="center",orientationMargin:Te,className:Fe,rootClassName:_e,children:Oe,dashed:Ke,variant:We="solid",plain:Ne,style:Ye}=be,Je=ne(be,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),He=le("divider",Re),[lt,ft,tt]=te(He),Ot=!!Oe,nt=b.useMemo(()=>ye==="left"?Ee==="rtl"?"end":"start":ye==="right"?Ee==="rtl"?"start":"end":ye,[Ee,ye]),Ze=nt==="start"&&Te!=null,Ge=nt==="end"&&Te!=null,$e=we()(He,Pe,ft,tt,`${He}-${Me}`,{[`${He}-with-text`]:Ot,[`${He}-with-text-${nt}`]:Ot,[`${He}-dashed`]:!!Ke,[`${He}-${We}`]:We!=="solid",[`${He}-plain`]:!!Ne,[`${He}-rtl`]:Ee==="rtl",[`${He}-no-default-orientation-margin-start`]:Ze,[`${He}-no-default-orientation-margin-end`]:Ge},Fe,_e),qe=b.useMemo(()=>typeof Te=="number"?Te:/^\d+$/.test(Te)?Number(Te):Te,[Te]),Ve={marginInlineStart:Ze?qe:void 0,marginInlineEnd:Ge?qe:void 0};return lt(b.createElement("div",Object.assign({className:$e,style:Object.assign(Object.assign({},Ie),Ye)},Je,{role:"separator"}),Oe&&Me!=="vertical"&&b.createElement("span",{className:`${He}-inner-text`,style:Ve},Oe)))}},36207:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return me}});var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(85899),de=ae(72190),ve=ae(43403),re=ae(34280),se=b.createContext(null),fe=b.createContext({}),E=se,te=ae(18642),ne=ae(60499),ge=ae(77900),Ce=ae(10228),be=ae(26112),le=ae(42244),Ee=ae(8654),Pe=["prefixCls","className","containerRef"],Ie=function(Se){var Be=Se.prefixCls,Qe=Se.className,it=Se.containerRef,ot=(0,le.Z)(Se,Pe),at=b.useContext(fe),Mt=at.panel,Rt=(0,Ee.x1)(Mt,it);return b.createElement("div",(0,ne.Z)({className:we()("".concat(Be,"-content"),Qe),role:"dialog",ref:Rt},(0,be.Z)(Se,{aria:!0}),{"aria-modal":"true"},ot))},Re=Ie,Me=ae(48736);function ye(Le){return typeof Le=="string"&&String(Number(Le))===Le?((0,Me.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Le)):Le}function Te(Le){warning(!("wrapperClassName"in Le),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Le.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Fe={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function _e(Le,Se){var Be,Qe,it,ot=Le.prefixCls,at=Le.open,Mt=Le.placement,Rt=Le.inline,tn=Le.push,qt=Le.forceRender,Bt=Le.autoFocus,hn=Le.keyboard,$t=Le.classNames,Ct=Le.rootClassName,jt=Le.rootStyle,ln=Le.zIndex,yn=Le.className,Et=Le.id,Wt=Le.style,Jt=Le.motion,bn=Le.width,kn=Le.height,tr=Le.children,pr=Le.mask,xr=Le.maskClosable,Yn=Le.maskMotion,mr=Le.maskClassName,Wn=Le.maskStyle,xn=Le.afterOpenChange,Pn=Le.onClose,Tn=Le.onMouseEnter,In=Le.onMouseOver,Kn=Le.onMouseLeave,jn=Le.onClick,nr=Le.onKeyDown,Cr=Le.onKeyUp,Sr=Le.styles,Er=Le.drawerRender,Nr=b.useRef(),Tr=b.useRef(),zr=b.useRef();b.useImperativeHandle(Se,function(){return Nr.current});var Rr=function(Yt){var Gt=Yt.keyCode,dn=Yt.shiftKey;switch(Gt){case Ce.Z.TAB:{if(Gt===Ce.Z.TAB){if(!dn&&document.activeElement===zr.current){var ur;(ur=Tr.current)===null||ur===void 0||ur.focus({preventScroll:!0})}else if(dn&&document.activeElement===Tr.current){var Zt;(Zt=zr.current)===null||Zt===void 0||Zt.focus({preventScroll:!0})}}break}case Ce.Z.ESC:{Pn&&hn&&(Yt.stopPropagation(),Pn(Yt));break}}};b.useEffect(function(){if(at&&Bt){var Xt;(Xt=Nr.current)===null||Xt===void 0||Xt.focus({preventScroll:!0})}},[at]);var Ln=b.useState(!1),Qn=(0,de.Z)(Ln,2),Ar=Qn[0],wr=Qn[1],zt=b.useContext(E),It;typeof tn=="boolean"?It=tn?{}:{distance:0}:It=tn||{};var Dt=(Be=(Qe=(it=It)===null||it===void 0?void 0:it.distance)!==null&&Qe!==void 0?Qe:zt==null?void 0:zt.pushDistance)!==null&&Be!==void 0?Be:180,Vt=b.useMemo(function(){return{pushDistance:Dt,push:function(){wr(!0)},pull:function(){wr(!1)}}},[Dt]);b.useEffect(function(){if(at){var Xt;zt==null||(Xt=zt.push)===null||Xt===void 0||Xt.call(zt)}else{var Yt;zt==null||(Yt=zt.pull)===null||Yt===void 0||Yt.call(zt)}},[at]),b.useEffect(function(){return function(){var Xt;zt==null||(Xt=zt.pull)===null||Xt===void 0||Xt.call(zt)}},[]);var Nt=pr&&b.createElement(ge.default,(0,ne.Z)({key:"mask"},Yn,{visible:at}),function(Xt,Yt){var Gt=Xt.className,dn=Xt.style;return b.createElement("div",{className:we()("".concat(ot,"-mask"),Gt,$t==null?void 0:$t.mask,mr),style:(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},dn),Wn),Sr==null?void 0:Sr.mask),onClick:xr&&at?Pn:void 0,ref:Yt})}),Kt=typeof Jt=="function"?Jt(Mt):Jt,ut={};if(Ar&&Dt)switch(Mt){case"top":ut.transform="translateY(".concat(Dt,"px)");break;case"bottom":ut.transform="translateY(".concat(-Dt,"px)");break;case"left":ut.transform="translateX(".concat(Dt,"px)");break;default:ut.transform="translateX(".concat(-Dt,"px)");break}Mt==="left"||Mt==="right"?ut.width=ye(bn):ut.height=ye(kn);var Qt={onMouseEnter:Tn,onMouseOver:In,onMouseLeave:Kn,onClick:jn,onKeyDown:nr,onKeyUp:Cr},on=b.createElement(ge.default,(0,ne.Z)({key:"panel"},Kt,{visible:at,forceRender:qt,onVisibleChanged:function(Yt){xn==null||xn(Yt)},removeOnLeave:!1,leavedClassName:"".concat(ot,"-content-wrapper-hidden")}),function(Xt,Yt){var Gt=Xt.className,dn=Xt.style,ur=b.createElement(Re,(0,ne.Z)({id:Et,containerRef:Yt,prefixCls:ot,className:we()(yn,$t==null?void 0:$t.content),style:(0,Ae.Z)((0,Ae.Z)({},Wt),Sr==null?void 0:Sr.content)},(0,be.Z)(Le,{aria:!0}),Qt),tr);return b.createElement("div",(0,ne.Z)({className:we()("".concat(ot,"-content-wrapper"),$t==null?void 0:$t.wrapper,Gt),style:(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},ut),dn),Sr==null?void 0:Sr.wrapper)},(0,be.Z)(Le,{data:!0})),Er?Er(ur):ur)}),an=(0,Ae.Z)({},jt);return ln&&(an.zIndex=ln),b.createElement(E.Provider,{value:Vt},b.createElement("div",{className:we()(ot,"".concat(ot,"-").concat(Mt),Ct,(0,te.Z)((0,te.Z)({},"".concat(ot,"-open"),at),"".concat(ot,"-inline"),Rt)),style:an,tabIndex:-1,ref:Nr,onKeyDown:Rr},Nt,b.createElement("div",{tabIndex:0,ref:Tr,style:Fe,"aria-hidden":"true","data-sentinel":"start"}),on,b.createElement("div",{tabIndex:0,ref:zr,style:Fe,"aria-hidden":"true","data-sentinel":"end"})))}var Oe=b.forwardRef(_e),Ke=Oe,We=function(Se){var Be=Se.open,Qe=Be===void 0?!1:Be,it=Se.prefixCls,ot=it===void 0?"rc-drawer":it,at=Se.placement,Mt=at===void 0?"right":at,Rt=Se.autoFocus,tn=Rt===void 0?!0:Rt,qt=Se.keyboard,Bt=qt===void 0?!0:qt,hn=Se.width,$t=hn===void 0?378:hn,Ct=Se.mask,jt=Ct===void 0?!0:Ct,ln=Se.maskClosable,yn=ln===void 0?!0:ln,Et=Se.getContainer,Wt=Se.forceRender,Jt=Se.afterOpenChange,bn=Se.destroyOnClose,kn=Se.onMouseEnter,tr=Se.onMouseOver,pr=Se.onMouseLeave,xr=Se.onClick,Yn=Se.onKeyDown,mr=Se.onKeyUp,Wn=Se.panelRef,xn=b.useState(!1),Pn=(0,de.Z)(xn,2),Tn=Pn[0],In=Pn[1],Kn=b.useState(!1),jn=(0,de.Z)(Kn,2),nr=jn[0],Cr=jn[1];(0,re.Z)(function(){Cr(!0)},[]);var Sr=nr?Qe:!1,Er=b.useRef(),Nr=b.useRef();(0,re.Z)(function(){Sr&&(Nr.current=document.activeElement)},[Sr]);var Tr=function(Ar){var wr;if(In(Ar),Jt==null||Jt(Ar),!Ar&&Nr.current&&!((wr=Er.current)!==null&&wr!==void 0&&wr.contains(Nr.current))){var zt;(zt=Nr.current)===null||zt===void 0||zt.focus({preventScroll:!0})}},zr=b.useMemo(function(){return{panel:Wn}},[Wn]);if(!Wt&&!Tn&&!Sr&&bn)return null;var Rr={onMouseEnter:kn,onMouseOver:tr,onMouseLeave:pr,onClick:xr,onKeyDown:Yn,onKeyUp:mr},Ln=(0,Ae.Z)((0,Ae.Z)({},Se),{},{open:Sr,prefixCls:ot,placement:Mt,autoFocus:tn,keyboard:Bt,width:$t,mask:jt,maskClosable:yn,inline:Et===!1,afterOpenChange:Tr,ref:Er},Rr);return b.createElement(fe.Provider,{value:zr},b.createElement(ve.Z,{open:Sr||Wt||Tn,autoDestroy:!1,getContainer:Et,autoLock:jt&&(Sr||Tn)},b.createElement(Ke,Ln)))},Ne=We,Ye=Ne,Je=ae(62487),He=ae(75030),lt=ae(86641),ft=ae(55743),tt=ae(48755),Ot=ae(91190),nt=ae(78776),Ze=ae(458),$e=Le=>{var Se,Be;const{prefixCls:Qe,title:it,footer:ot,extra:at,loading:Mt,onClose:Rt,headerStyle:tn,bodyStyle:qt,footerStyle:Bt,children:hn,classNames:$t,styles:Ct}=Le,jt=(0,tt.dj)("drawer"),ln=b.useCallback(bn=>b.createElement("button",{type:"button",onClick:Rt,"aria-label":"Close",className:`${Qe}-close`},bn),[Rt]),[yn,Et]=(0,nt.Z)((0,nt.w)(Le),(0,nt.w)(jt),{closable:!0,closeIconRender:ln}),Wt=b.useMemo(()=>{var bn,kn;return!it&&!yn?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(bn=jt.styles)===null||bn===void 0?void 0:bn.header),tn),Ct==null?void 0:Ct.header),className:we()(`${Qe}-header`,{[`${Qe}-header-close-only`]:yn&&!it&&!at},(kn=jt.classNames)===null||kn===void 0?void 0:kn.header,$t==null?void 0:$t.header)},b.createElement("div",{className:`${Qe}-header-title`},Et,it&&b.createElement("div",{className:`${Qe}-title`},it)),at&&b.createElement("div",{className:`${Qe}-extra`},at))},[yn,Et,at,tn,Qe,it]),Jt=b.useMemo(()=>{var bn,kn;if(!ot)return null;const tr=`${Qe}-footer`;return b.createElement("div",{className:we()(tr,(bn=jt.classNames)===null||bn===void 0?void 0:bn.footer,$t==null?void 0:$t.footer),style:Object.assign(Object.assign(Object.assign({},(kn=jt.styles)===null||kn===void 0?void 0:kn.footer),Bt),Ct==null?void 0:Ct.footer)},ot)},[ot,Bt,Qe]);return b.createElement(b.Fragment,null,Wt,b.createElement("div",{className:we()(`${Qe}-body`,$t==null?void 0:$t.body,(Se=jt.classNames)===null||Se===void 0?void 0:Se.body),style:Object.assign(Object.assign(Object.assign({},(Be=jt.styles)===null||Be===void 0?void 0:Be.body),qt),Ct==null?void 0:Ct.body)},Mt?b.createElement(Ze.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Qe}-body-skeleton`}):hn),Jt)},qe=ae(36237),Ve=ae(63356),mt=ae(16931),st=ae(51636);const Lt=Le=>{const Se="100%";return{left:`translateX(-${Se})`,right:`translateX(${Se})`,top:`translateY(-${Se})`,bottom:`translateY(${Se})`}[Le]},ct=(Le,Se)=>({"&-enter, &-appear":Object.assign(Object.assign({},Le),{"&-active":Se}),"&-leave":Object.assign(Object.assign({},Se),{"&-active":Le})}),Tt=(Le,Se)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Se}`}}},ct({opacity:Le},{opacity:1})),xt=(Le,Se)=>[Tt(.7,Se),ct({transform:Lt(Le)},{transform:"none"})];var yt=Le=>{const{componentCls:Se,motionDurationSlow:Be}=Le;return{[Se]:{[`${Se}-mask-motion`]:Tt(0,Be),[`${Se}-panel-motion`]:["left","right","top","bottom"].reduce((Qe,it)=>Object.assign(Object.assign({},Qe),{[`&-${it}`]:xt(it,Be)}),{})}}};const je=Le=>{const{borderRadiusSM:Se,componentCls:Be,zIndexPopup:Qe,colorBgMask:it,colorBgElevated:ot,motionDurationSlow:at,motionDurationMid:Mt,paddingXS:Rt,padding:tn,paddingLG:qt,fontSizeLG:Bt,lineHeightLG:hn,lineWidth:$t,lineType:Ct,colorSplit:jt,marginXS:ln,colorIcon:yn,colorIconHover:Et,colorBgTextHover:Wt,colorBgTextActive:Jt,colorText:bn,fontWeightStrong:kn,footerPaddingBlock:tr,footerPaddingInline:pr,calc:xr}=Le,Yn=`${Be}-content-wrapper`;return{[Be]:{position:"fixed",inset:0,zIndex:Qe,pointerEvents:"none",color:bn,"&-pure":{position:"relative",background:ot,display:"flex",flexDirection:"column",[`&${Be}-left`]:{boxShadow:Le.boxShadowDrawerLeft},[`&${Be}-right`]:{boxShadow:Le.boxShadowDrawerRight},[`&${Be}-top`]:{boxShadow:Le.boxShadowDrawerUp},[`&${Be}-bottom`]:{boxShadow:Le.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Be}-mask`]:{position:"absolute",inset:0,zIndex:Qe,background:it,pointerEvents:"auto"},[Yn]:{position:"absolute",zIndex:Qe,maxWidth:"100vw",transition:`all ${at}`,"&-hidden":{display:"none"}},[`&-left > ${Yn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Le.boxShadowDrawerLeft},[`&-right > ${Yn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Le.boxShadowDrawerRight},[`&-top > ${Yn}`]:{top:0,insetInline:0,boxShadow:Le.boxShadowDrawerUp},[`&-bottom > ${Yn}`]:{bottom:0,insetInline:0,boxShadow:Le.boxShadowDrawerDown},[`${Be}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:ot,pointerEvents:"auto"},[`${Be}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,qe.unit)(tn)} ${(0,qe.unit)(qt)}`,fontSize:Bt,lineHeight:hn,borderBottom:`${(0,qe.unit)($t)} ${Ct} ${jt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Be}-extra`]:{flex:"none"},[`${Be}-close`]:Object.assign({display:"inline-flex",width:xr(Bt).add(Rt).equal(),height:xr(Bt).add(Rt).equal(),borderRadius:Se,justifyContent:"center",alignItems:"center",marginInlineEnd:ln,color:yn,fontWeight:kn,fontSize:Bt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Mt}`,textRendering:"auto","&:hover":{color:Et,backgroundColor:Wt,textDecoration:"none"},"&:active":{backgroundColor:Jt}},(0,Ve.Qy)(Le)),[`${Be}-title`]:{flex:1,margin:0,fontWeight:Le.fontWeightStrong,fontSize:Bt,lineHeight:hn},[`${Be}-body`]:{flex:1,minWidth:0,minHeight:0,padding:qt,overflow:"auto",[`${Be}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${Be}-footer`]:{flexShrink:0,padding:`${(0,qe.unit)(tr)} ${(0,qe.unit)(pr)}`,borderTop:`${(0,qe.unit)($t)} ${Ct} ${jt}`},"&-rtl":{direction:"rtl"}}}},ue=Le=>({zIndexPopup:Le.zIndexPopupBase,footerPaddingBlock:Le.paddingXS,footerPaddingInline:Le.padding});var ie=(0,mt.I$)("Drawer",Le=>{const Se=(0,st.mergeToken)(Le,{});return[je(Se),yt(Se)]},ue),ke=function(Le,Se){var Be={};for(var Qe in Le)Object.prototype.hasOwnProperty.call(Le,Qe)&&Se.indexOf(Qe)<0&&(Be[Qe]=Le[Qe]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Qe=Object.getOwnPropertySymbols(Le);it<Qe.length;it++)Se.indexOf(Qe[it])<0&&Object.prototype.propertyIsEnumerable.call(Le,Qe[it])&&(Be[Qe[it]]=Le[Qe[it]]);return Be};const Xe=null,De={distance:180},pe=Le=>{var Se;const{rootClassName:Be,width:Qe,height:it,size:ot="default",mask:at=!0,push:Mt=De,open:Rt,afterOpenChange:tn,onClose:qt,prefixCls:Bt,getContainer:hn,style:$t,className:Ct,visible:jt,afterVisibleChange:ln,maskStyle:yn,drawerStyle:Et,contentWrapperStyle:Wt}=Le,Jt=ke(Le,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:bn,getPrefixCls:kn,direction:tr,className:pr,style:xr,classNames:Yn,styles:mr}=(0,tt.dj)("drawer"),Wn=kn("drawer",Bt),[xn,Pn,Tn]=ie(Wn),In=hn===void 0&&bn?()=>bn(document.body):hn,Kn=we()({"no-mask":!at,[`${Wn}-rtl`]:tr==="rtl"},Be,Pn,Tn),jn=b.useMemo(()=>Qe!=null?Qe:ot==="large"?736:378,[Qe,ot]),nr=b.useMemo(()=>it!=null?it:ot==="large"?736:378,[it,ot]),Cr={motionName:(0,lt.m)(Wn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Sr=Ln=>({motionName:(0,lt.m)(Wn,`panel-motion-${Ln}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Er=(0,Ot.H)(),[Nr,Tr]=(0,He.Cn)("Drawer",Jt.zIndex),{classNames:zr={},styles:Rr={}}=Jt;return xn(b.createElement(Je.Z,{form:!0,space:!0},b.createElement(ft.Z.Provider,{value:Tr},b.createElement(Ye,Object.assign({prefixCls:Wn,onClose:qt,maskMotion:Cr,motion:Sr},Jt,{classNames:{mask:we()(zr.mask,Yn.mask),content:we()(zr.content,Yn.content),wrapper:we()(zr.wrapper,Yn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Rr.mask),yn),mr.mask),content:Object.assign(Object.assign(Object.assign({},Rr.content),Et),mr.content),wrapper:Object.assign(Object.assign(Object.assign({},Rr.wrapper),Wt),mr.wrapper)},open:Rt!=null?Rt:jt,mask:at,push:Mt,width:jn,height:nr,style:Object.assign(Object.assign({},xr),$t),className:we()(pr,Ct),rootClassName:Kn,getContainer:In,afterOpenChange:tn!=null?tn:ln,panelRef:Er,zIndex:Nr}),b.createElement($e,Object.assign({prefixCls:Wn},Jt,{onClose:qt}))))))},x=Le=>{const{prefixCls:Se,style:Be,className:Qe,placement:it="right"}=Le,ot=ke(Le,["prefixCls","style","className","placement"]),{getPrefixCls:at}=b.useContext(tt.E_),Mt=at("drawer",Se),[Rt,tn,qt]=ie(Mt),Bt=we()(Mt,`${Mt}-pure`,`${Mt}-${it}`,tn,qt,Qe);return Rt(b.createElement("div",{className:Bt,style:Be},b.createElement($e,Object.assign({prefixCls:Mt},ot))))};pe._InternalPanelDoNotUseOrYouWillBeFired=x;var me=pe},19563:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return qe}});var b=ae(59301),oe=ae(33853),we=ae(38819),Ae=ae(92310),de=ae.n(Ae),ve=ae(96478),re=ae(6089),se=ae(18929),fe=ae(2738),E=ae(75030),ne=Ve=>typeof Ve!="object"&&typeof Ve!="function"||Ve===null,ge=ae(52838),Ce=ae(45915),be=ae(22703),le=ae(32383),Ee=ae(55743),Pe=ae(48755),Ie=ae(83397),Re=ae(93041),Me=ae(78857),ye=ae(57700),Te=ae(36237),Fe=ae(63356),_e=ae(46e3),Oe=ae(93873),Ke=ae(34925),We=ae(37645),Ne=ae(36305),Ye=ae(16931),Je=ae(51636),lt=Ve=>{const{componentCls:mt,menuCls:st,colorError:Lt,colorTextLightSolid:ct}=Ve,Tt=`${st}-item`;return{[`${mt}, ${mt}-menu-submenu`]:{[`${st} ${Tt}`]:{[`&${Tt}-danger:not(${Tt}-disabled)`]:{color:Lt,"&:hover":{color:ct,backgroundColor:Lt}}}}}};const ft=Ve=>{const{componentCls:mt,menuCls:st,zIndexPopup:Lt,dropdownArrowDistance:ct,sizePopupArrow:Tt,antCls:xt,iconCls:wt,motionDurationMid:yt,paddingBlock:je,fontSize:ue,dropdownEdgeChildPadding:ie,colorTextDisabled:ke,fontSizeIcon:Xe,controlPaddingHorizontal:De,colorBgElevated:pe}=Ve;return[{[mt]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Lt,display:"block","&::before":{position:"absolute",insetBlock:Ve.calc(Tt).div(2).sub(ct).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${xt}-btn`]:{[`& > ${wt}-down, & > ${xt}-btn-icon > ${wt}-down`]:{fontSize:Xe}},[`${mt}-wrap`]:{position:"relative",[`${xt}-btn > ${wt}-down`]:{fontSize:Xe},[`${wt}-down::before`]:{transition:`transform ${yt}`}},[`${mt}-wrap-open`]:{[`${wt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${xt}-slide-down-enter${xt}-slide-down-enter-active${mt}-placement-bottomLeft,
&${xt}-slide-down-appear${xt}-slide-down-appear-active${mt}-placement-bottomLeft,
&${xt}-slide-down-enter${xt}-slide-down-enter-active${mt}-placement-bottom,
&${xt}-slide-down-appear${xt}-slide-down-appear-active${mt}-placement-bottom,
&${xt}-slide-down-enter${xt}-slide-down-enter-active${mt}-placement-bottomRight,
&${xt}-slide-down-appear${xt}-slide-down-appear-active${mt}-placement-bottomRight`]:{animationName:_e.fJ},[`&${xt}-slide-up-enter${xt}-slide-up-enter-active${mt}-placement-topLeft,
&${xt}-slide-up-appear${xt}-slide-up-appear-active${mt}-placement-topLeft,
&${xt}-slide-up-enter${xt}-slide-up-enter-active${mt}-placement-top,
&${xt}-slide-up-appear${xt}-slide-up-appear-active${mt}-placement-top,
&${xt}-slide-up-enter${xt}-slide-up-enter-active${mt}-placement-topRight,
&${xt}-slide-up-appear${xt}-slide-up-appear-active${mt}-placement-topRight`]:{animationName:_e.Qt},[`&${xt}-slide-down-leave${xt}-slide-down-leave-active${mt}-placement-bottomLeft,
&${xt}-slide-down-leave${xt}-slide-down-leave-active${mt}-placement-bottom,
&${xt}-slide-down-leave${xt}-slide-down-leave-active${mt}-placement-bottomRight`]:{animationName:_e.Uw},[`&${xt}-slide-up-leave${xt}-slide-up-leave-active${mt}-placement-topLeft,
&${xt}-slide-up-leave${xt}-slide-up-leave-active${mt}-placement-top,
&${xt}-slide-up-leave${xt}-slide-up-leave-active${mt}-placement-topRight`]:{animationName:_e.ly}}},(0,We.ZP)(Ve,pe,{arrowPlacement:{top:!0,bottom:!0}}),{[`${mt} ${st}`]:{position:"relative",margin:0},[`${st}-submenu-popup`]:{position:"absolute",zIndex:Lt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${mt}, ${mt}-menu-submenu`]:Object.assign(Object.assign({},(0,Fe.Wf)(Ve)),{[st]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:pe,backgroundClip:"padding-box",borderRadius:Ve.borderRadiusLG,outline:"none",boxShadow:Ve.boxShadowSecondary},(0,Fe.Qy)(Ve)),{"&:empty":{padding:0,boxShadow:"none"},[`${st}-item-group-title`]:{padding:`${(0,Te.unit)(je)} ${(0,Te.unit)(De)}`,color:Ve.colorTextDescription,transition:`all ${yt}`},[`${st}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${st}-item-icon`]:{minWidth:ue,marginInlineEnd:Ve.marginXS,fontSize:Ve.fontSizeSM},[`${st}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${yt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${st}-item-extra`]:{paddingInlineStart:Ve.padding,marginInlineStart:"auto",fontSize:Ve.fontSizeSM,color:Ve.colorTextDescription}},[`${st}-item, ${st}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Te.unit)(je)} ${(0,Te.unit)(De)}`,color:Ve.colorText,fontWeight:"normal",fontSize:ue,lineHeight:Ve.lineHeight,cursor:"pointer",transition:`all ${yt}`,borderRadius:Ve.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ve.controlItemBgHover}},(0,Fe.Qy)(Ve)),{"&-selected":{color:Ve.colorPrimary,backgroundColor:Ve.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ve.controlItemBgActiveHover}},"&-disabled":{color:ke,cursor:"not-allowed","&:hover":{color:ke,backgroundColor:pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Te.unit)(Ve.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ve.colorSplit},[`${mt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ve.paddingXS,[`${mt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ve.colorTextDescription,fontSize:Xe,fontStyle:"normal"}}}),[`${st}-item-group-list`]:{margin:`0 ${(0,Te.unit)(Ve.marginXS)}`,padding:0,listStyle:"none"},[`${st}-submenu-title`]:{paddingInlineEnd:Ve.calc(De).add(Ve.fontSizeSM).equal()},[`${st}-submenu-vertical`]:{position:"relative"},[`${st}-submenu${st}-submenu-disabled ${mt}-menu-submenu-title`]:{[`&, ${mt}-menu-submenu-arrow-icon`]:{color:ke,backgroundColor:pe,cursor:"not-allowed"}},[`${st}-submenu-selected ${mt}-menu-submenu-title`]:{color:Ve.colorPrimary}})})},[(0,_e.oN)(Ve,"slide-up"),(0,_e.oN)(Ve,"slide-down"),(0,Oe.Fm)(Ve,"move-up"),(0,Oe.Fm)(Ve,"move-down"),(0,Ke._y)(Ve,"zoom-big")]]},tt=Ve=>Object.assign(Object.assign({zIndexPopup:Ve.zIndexPopupBase+50,paddingBlock:(Ve.controlHeight-Ve.fontSize*Ve.lineHeight)/2},(0,We.wZ)({contentRadius:Ve.borderRadiusLG,limitVerticalRadius:!0})),(0,Ne.w)(Ve));var Ot=(0,Ye.I$)("Dropdown",Ve=>{const{marginXXS:mt,sizePopupArrow:st,paddingXXS:Lt,componentCls:ct}=Ve,Tt=(0,Je.mergeToken)(Ve,{menuCls:`${ct}-menu`,dropdownArrowDistance:Ve.calc(st).div(2).add(mt).equal(),dropdownEdgeChildPadding:Lt});return[ft(Tt),lt(Tt)]},tt,{resetStyle:!1});const nt=null,Ze=Ve=>{var mt;const{menu:st,arrow:Lt,prefixCls:ct,children:Tt,trigger:xt,disabled:wt,dropdownRender:yt,getPopupContainer:je,overlayClassName:ue,rootClassName:ie,overlayStyle:ke,open:Xe,onOpenChange:De,visible:pe,onVisibleChange:x,mouseEnterDelay:me=.15,mouseLeaveDelay:Le=.1,autoAdjustOverflow:Se=!0,placement:Be="",overlay:Qe,transitionName:it}=Ve,{getPopupContainer:ot,getPrefixCls:at,direction:Mt,dropdown:Rt}=b.useContext(Pe.E_),tn=(0,le.ln)("Dropdown"),qt=b.useMemo(()=>{const In=at();return it!==void 0?it:Be.includes("top")?`${In}-slide-down`:`${In}-slide-up`},[at,Be,it]),Bt=b.useMemo(()=>Be?Be.includes("Center")?Be.slice(0,Be.indexOf("Center")):Be:Mt==="rtl"?"bottomRight":"bottomLeft",[Be,Mt]),hn=at("dropdown",ct),$t=(0,Ie.Z)(hn),[Ct,jt,ln]=Ot(hn,$t),[,yn]=(0,ye.ZP)(),Et=b.Children.only(ne(Tt)?b.createElement("span",null,Tt):Tt),Wt=(0,be.Tm)(Et,{className:de()(`${hn}-trigger`,{[`${hn}-rtl`]:Mt==="rtl"},Et.props.className),disabled:(mt=Et.props.disabled)!==null&&mt!==void 0?mt:wt}),Jt=wt?[]:xt,bn=!!(Jt!=null&&Jt.includes("contextMenu")),[kn,tr]=(0,se.Z)(!1,{value:Xe!=null?Xe:pe}),pr=(0,re.Z)(In=>{De==null||De(In,{source:"trigger"}),x==null||x(In),tr(In)}),xr=de()(ue,ie,jt,ln,$t,Rt==null?void 0:Rt.className,{[`${hn}-rtl`]:Mt==="rtl"}),Yn=(0,ge.Z)({arrowPointAtCenter:typeof Lt=="object"&&Lt.pointAtCenter,autoAdjustOverflow:Se,offset:yn.marginXXS,arrowWidth:Lt?yn.sizePopupArrow:0,borderRadius:yn.borderRadius}),mr=b.useCallback(()=>{st!=null&&st.selectable&&(st!=null&&st.multiple)||(De==null||De(!1,{source:"menu"}),tr(!1))},[st==null?void 0:st.selectable,st==null?void 0:st.multiple]),Wn=()=>{let In;return st!=null&&st.items?In=b.createElement(Re.default,Object.assign({},st)):typeof Qe=="function"?In=Qe():In=Qe,yt&&(In=yt(In)),In=b.Children.only(typeof In=="string"?b.createElement("span",null,In):In),b.createElement(Me.J,{prefixCls:`${hn}-menu`,rootClassName:de()(ln,$t),expandIcon:b.createElement("span",{className:`${hn}-menu-submenu-arrow`},Mt==="rtl"?b.createElement(oe.Z,{className:`${hn}-menu-submenu-arrow-icon`}):b.createElement(we.Z,{className:`${hn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:mr,validator:Kn=>{let{mode:jn}=Kn}},In)},[xn,Pn]=(0,E.Cn)("Dropdown",ke==null?void 0:ke.zIndex);let Tn=b.createElement(ve.Z,Object.assign({alignPoint:bn},(0,fe.Z)(Ve,["rootClassName"]),{mouseEnterDelay:me,mouseLeaveDelay:Le,visible:kn,builtinPlacements:Yn,arrow:!!Lt,overlayClassName:xr,prefixCls:hn,getPopupContainer:je||ot,transitionName:qt,trigger:Jt,overlay:Wn,placement:Bt,onVisibleChange:pr,overlayStyle:Object.assign(Object.assign(Object.assign({},Rt==null?void 0:Rt.style),ke),{zIndex:xn})}),Wt);return xn&&(Tn=b.createElement(Ee.Z.Provider,{value:Pn},Tn)),Ct(Tn)},Ge=(0,Ce.Z)(Ze,"align",void 0,"dropdown",Ve=>Ve),$e=Ve=>b.createElement(Ge,Object.assign({},Ve),b.createElement("span",null));Ze._InternalPanelDoNotUseOrYouWillBeFired=$e;var qe=Ze},75727:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Ce}});var b=ae(19563),oe=ae(59301),we=ae(18785),Ae=ae(92310),de=ae.n(Ae),ve=ae(7939),re=ae(48755),se=ae(44104),fe=ae(70045),E=function(be,le){var Ee={};for(var Pe in be)Object.prototype.hasOwnProperty.call(be,Pe)&&le.indexOf(Pe)<0&&(Ee[Pe]=be[Pe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Pe=Object.getOwnPropertySymbols(be);Ie<Pe.length;Ie++)le.indexOf(Pe[Ie])<0&&Object.prototype.propertyIsEnumerable.call(be,Pe[Ie])&&(Ee[Pe[Ie]]=be[Pe[Ie]]);return Ee};const te=be=>{const{getPopupContainer:le,getPrefixCls:Ee,direction:Pe}=oe.useContext(re.E_),{prefixCls:Ie,type:Re="default",danger:Me,disabled:ye,loading:Te,onClick:Fe,htmlType:_e,children:Oe,className:Ke,menu:We,arrow:Ne,autoFocus:Ye,overlay:Je,trigger:He,align:lt,open:ft,onOpenChange:tt,placement:Ot,getPopupContainer:nt,href:Ze,icon:Ge=oe.createElement(we.Z,null),title:$e,buttonsRender:qe=me=>me,mouseEnterDelay:Ve,mouseLeaveDelay:mt,overlayClassName:st,overlayStyle:Lt,destroyPopupOnHide:ct,dropdownRender:Tt}=be,xt=E(be,["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"]),wt=Ee("dropdown",Ie),yt=`${wt}-button`,je={menu:We,arrow:Ne,autoFocus:Ye,align:lt,disabled:ye,trigger:ye?[]:He,onOpenChange:tt,getPopupContainer:nt||le,mouseEnterDelay:Ve,mouseLeaveDelay:mt,overlayClassName:st,overlayStyle:Lt,destroyPopupOnHide:ct,dropdownRender:Tt},{compactSize:ue,compactItemClassnames:ie}=(0,fe.ri)(wt,Pe),ke=de()(yt,ie,Ke);"overlay"in be&&(je.overlay=Je),"open"in be&&(je.open=ft),"placement"in be?je.placement=Ot:je.placement=Pe==="rtl"?"bottomLeft":"bottomRight";const Xe=oe.createElement(ve.ZP,{type:Re,danger:Me,disabled:ye,loading:Te,onClick:Fe,htmlType:_e,href:Ze,title:$e},Oe),De=oe.createElement(ve.ZP,{type:Re,danger:Me,icon:Ge}),[pe,x]=qe([Xe,De]);return oe.createElement(se.Z.Compact,Object.assign({className:ke,size:ue,block:!0},xt),pe,oe.createElement(b.Z,Object.assign({},je),x))};te.__ANT_BUTTON=!0;var ne=te;const ge=b.Z;ge.Button=ne;var Ce=ge},584:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Re}});var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(9017),de=ae(17835),ve=ae(57700),se=()=>{const[,Me]=(0,ve.ZP)(),[ye]=(0,Ae.Z)("Empty"),Fe=new de.FastColor(Me.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:Fe,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(ye==null?void 0:ye.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.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"}),b.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)"}),b.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"}),b.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"})),b.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"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},E=()=>{const[,Me]=(0,ve.ZP)(),[ye]=(0,Ae.Z)("Empty"),{colorFill:Te,colorFillTertiary:Fe,colorFillQuaternary:_e,colorBgContainer:Oe}=Me,{borderColor:Ke,shadowColor:We,contentColor:Ne}=(0,b.useMemo)(()=>({borderColor:new de.FastColor(Te).onBackground(Oe).toHexString(),shadowColor:new de.FastColor(Fe).onBackground(Oe).toHexString(),contentColor:new de.FastColor(_e).onBackground(Oe).toHexString()}),[Te,Fe,_e,Oe]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(ye==null?void 0:ye.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:We,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:Ke},b.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"}),b.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:Ne}))))},te=ae(16931),ne=ae(51636);const ge=Me=>{const{componentCls:ye,margin:Te,marginXS:Fe,marginXL:_e,fontSize:Oe,lineHeight:Ke}=Me;return{[ye]:{marginInline:Fe,fontSize:Oe,lineHeight:Ke,textAlign:"center",[`${ye}-image`]:{height:Me.emptyImgHeight,marginBottom:Fe,opacity:Me.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ye}-description`]:{color:Me.colorTextDescription},[`${ye}-footer`]:{marginTop:Te},"&-normal":{marginBlock:_e,color:Me.colorTextDescription,[`${ye}-description`]:{color:Me.colorTextDescription},[`${ye}-image`]:{height:Me.emptyImgHeightMD}},"&-small":{marginBlock:Fe,color:Me.colorTextDescription,[`${ye}-image`]:{height:Me.emptyImgHeightSM}}}}};var Ce=(0,te.I$)("Empty",Me=>{const{componentCls:ye,controlHeightLG:Te,calc:Fe}=Me,_e=(0,ne.mergeToken)(Me,{emptyImgCls:`${ye}-img`,emptyImgHeight:Fe(Te).mul(2.5).equal(),emptyImgHeightMD:Te,emptyImgHeightSM:Fe(Te).mul(.875).equal()});return[ge(_e)]}),be=ae(48755),le=function(Me,ye){var Te={};for(var Fe in Me)Object.prototype.hasOwnProperty.call(Me,Fe)&&ye.indexOf(Fe)<0&&(Te[Fe]=Me[Fe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Fe=Object.getOwnPropertySymbols(Me);_e<Fe.length;_e++)ye.indexOf(Fe[_e])<0&&Object.prototype.propertyIsEnumerable.call(Me,Fe[_e])&&(Te[Fe[_e]]=Me[Fe[_e]]);return Te};const Ee=b.createElement(se,null),Pe=b.createElement(E,null),Ie=Me=>{const{className:ye,rootClassName:Te,prefixCls:Fe,image:_e=Ee,description:Oe,children:Ke,imageStyle:We,style:Ne,classNames:Ye,styles:Je}=Me,He=le(Me,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:lt,direction:ft,className:tt,style:Ot,classNames:nt,styles:Ze}=(0,be.dj)("empty"),Ge=lt("empty",Fe),[$e,qe,Ve]=Ce(Ge),[mt]=(0,Ae.Z)("Empty"),st=typeof Oe!="undefined"?Oe:mt==null?void 0:mt.description,Lt=typeof st=="string"?st:"empty";let ct=null;return typeof _e=="string"?ct=b.createElement("img",{alt:Lt,src:_e}):ct=_e,$e(b.createElement("div",Object.assign({className:we()(qe,Ve,Ge,tt,{[`${Ge}-normal`]:_e===Pe,[`${Ge}-rtl`]:ft==="rtl"},ye,Te,nt.root,Ye==null?void 0:Ye.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Ze.root),Ot),Je==null?void 0:Je.root),Ne)},He),b.createElement("div",{className:we()(`${Ge}-image`,nt.image,Ye==null?void 0:Ye.image),style:Object.assign(Object.assign(Object.assign({},We),Ze.image),Je==null?void 0:Je.image)},ct),st&&b.createElement("div",{className:we()(`${Ge}-description`,nt.description,Ye==null?void 0:Ye.description),style:Object.assign(Object.assign({},Ze.description),Je==null?void 0:Je.description)},st),Ke&&b.createElement("div",{className:we()(`${Ge}-footer`,nt.footer,Ye==null?void 0:Ye.footer),style:Object.assign(Object.assign({},Ze.footer),Je==null?void 0:Je.footer)},Ke)))};Ie.PRESENTED_IMAGE_DEFAULT=Ee,Ie.PRESENTED_IMAGE_SIMPLE=Pe;var Re=Ie},28284:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return It}});var b=ae(56553),oe=ae(77654),we=ae(59301),Ae=ae(92310),de=ae.n(Ae),ve=ae(77900),re=ae(86641),se=ae(83397);function fe(Dt){const[Vt,Nt]=we.useState(Dt);return we.useEffect(()=>{const Kt=setTimeout(()=>{Nt(Dt)},Dt.length?0:10);return()=>{clearTimeout(Kt)}},[Dt]),Vt}var E=ae(36237),te=ae(63356),ne=ae(34925),ge=ae(34961),Ce=ae(51636),be=ae(16931),Ee=Dt=>{const{componentCls:Vt}=Dt,Nt=`${Vt}-show-help`,Kt=`${Vt}-show-help-item`;return{[Nt]:{transition:`opacity ${Dt.motionDurationFast} ${Dt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Kt]:{overflow:"hidden",transition:`height ${Dt.motionDurationFast} ${Dt.motionEaseInOut},
opacity ${Dt.motionDurationFast} ${Dt.motionEaseInOut},
transform ${Dt.motionDurationFast} ${Dt.motionEaseInOut} !important`,[`&${Kt}-appear, &${Kt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Kt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Pe=Dt=>({legend:{display:"block",width:"100%",marginBottom:Dt.marginLG,padding:0,color:Dt.colorTextDescription,fontSize:Dt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,E.unit)(Dt.lineWidth)} ${Dt.lineType} ${Dt.colorBorder}`},'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 ${(0,E.unit)(Dt.controlOutlineWidth)} ${Dt.controlOutline}`},output:{display:"block",paddingTop:15,color:Dt.colorText,fontSize:Dt.fontSize,lineHeight:Dt.lineHeight}}),Ie=(Dt,Vt)=>{const{formItemCls:Nt}=Dt;return{[Nt]:{[`${Nt}-label > label`]:{height:Vt},[`${Nt}-control-input`]:{minHeight:Vt}}}},Re=Dt=>{const{componentCls:Vt}=Dt;return{[Dt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,te.Wf)(Dt)),Pe(Dt)),{[`${Vt}-text`]:{display:"inline-block",paddingInlineEnd:Dt.paddingSM},"&-small":Object.assign({},Ie(Dt,Dt.controlHeightSM)),"&-large":Object.assign({},Ie(Dt,Dt.controlHeightLG))})}},Me=Dt=>{const{formItemCls:Vt,iconCls:Nt,rootPrefixCls:Kt,antCls:ut,labelRequiredMarkColor:Qt,labelColor:on,labelFontSize:an,labelHeight:Xt,labelColonMarginInlineStart:Yt,labelColonMarginInlineEnd:Gt,itemMarginBottom:dn}=Dt;return{[Vt]:Object.assign(Object.assign({},(0,te.Wf)(Dt)),{marginBottom:dn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${ut}-row`]:{display:"none"},"&-has-warning":{[`${Vt}-split`]:{color:Dt.colorError}},"&-has-error":{[`${Vt}-split`]:{color:Dt.colorWarning}},[`${Vt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Dt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Xt,color:on,fontSize:an,[`> ${Nt}`]:{fontSize:Dt.fontSize,verticalAlign:"top"},[`&${Vt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Dt.marginXXS,color:Qt,fontSize:Dt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Vt}-required-mark-hidden, &${Vt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Vt}-optional`]:{display:"inline-block",marginInlineStart:Dt.marginXXS,color:Dt.colorTextDescription,[`&${Vt}-required-mark-hidden`]:{display:"none"}},[`${Vt}-tooltip`]:{color:Dt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Dt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Yt,marginInlineEnd:Gt},[`&${Vt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Vt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Kt}-col-'"]):not([class*="' ${Kt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Dt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Vt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Dt.colorTextDescription,fontSize:Dt.fontSize,lineHeight:Dt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Dt.controlHeightSM,transition:`color ${Dt.motionDurationMid} ${Dt.motionEaseOut}`},"&-explain":{"&-error":{color:Dt.colorError},"&-warning":{color:Dt.colorWarning}}},[`&-with-help ${Vt}-explain`]:{height:"auto",opacity:1},[`${Vt}-feedback-icon`]:{fontSize:Dt.fontSize,textAlign:"center",visibility:"visible",animationName:ne.kr,animationDuration:Dt.motionDurationMid,animationTimingFunction:Dt.motionEaseOutBack,pointerEvents:"none","&-success":{color:Dt.colorSuccess},"&-error":{color:Dt.colorError},"&-warning":{color:Dt.colorWarning},"&-validating":{color:Dt.colorPrimary}}})}},ye=(Dt,Vt)=>{const{formItemCls:Nt}=Dt;return{[`${Vt}-horizontal`]:{[`${Nt}-label`]:{flexGrow:0},[`${Nt}-control`]:{flex:"1 1 0",minWidth:0},[`${Nt}-label[class$='-24'], ${Nt}-label[class*='-24 ']`]:{[`& + ${Nt}-control`]:{minWidth:"unset"}}}}},Te=Dt=>{const{componentCls:Vt,formItemCls:Nt,inlineItemMarginBottom:Kt}=Dt;return{[`${Vt}-inline`]:{display:"flex",flexWrap:"wrap",[Nt]:{flex:"none",marginInlineEnd:Dt.margin,marginBottom:Kt,"&-row":{flexWrap:"nowrap"},[`> ${Nt}-label,
> ${Nt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Nt}-label`]:{flex:"none"},[`${Vt}-text`]:{display:"inline-block"},[`${Nt}-has-feedback`]:{display:"inline-block"}}}}},Fe=Dt=>({padding:Dt.verticalLabelPadding,margin:Dt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),_e=Dt=>{const{componentCls:Vt,formItemCls:Nt,rootPrefixCls:Kt}=Dt;return{[`${Nt} ${Nt}-label`]:Fe(Dt),[`${Vt}:not(${Vt}-inline)`]:{[Nt]:{flexWrap:"wrap",[`${Nt}-label, ${Nt}-control`]:{[`&:not([class*=" ${Kt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Oe=Dt=>{const{componentCls:Vt,formItemCls:Nt,antCls:Kt}=Dt;return{[`${Vt}-vertical`]:{[`${Nt}:not(${Nt}-horizontal)`]:{[`${Nt}-row`]:{flexDirection:"column"},[`${Nt}-label > label`]:{height:"auto"},[`${Nt}-control`]:{width:"100%"},[`${Nt}-label,
${Kt}-col-24${Nt}-label,
${Kt}-col-xl-24${Nt}-label`]:Fe(Dt)}},[`@media (max-width: ${(0,E.unit)(Dt.screenXSMax)})`]:[_e(Dt),{[Vt]:{[`${Nt}:not(${Nt}-horizontal)`]:{[`${Kt}-col-xs-24${Nt}-label`]:Fe(Dt)}}}],[`@media (max-width: ${(0,E.unit)(Dt.screenSMMax)})`]:{[Vt]:{[`${Nt}:not(${Nt}-horizontal)`]:{[`${Kt}-col-sm-24${Nt}-label`]:Fe(Dt)}}},[`@media (max-width: ${(0,E.unit)(Dt.screenMDMax)})`]:{[Vt]:{[`${Nt}:not(${Nt}-horizontal)`]:{[`${Kt}-col-md-24${Nt}-label`]:Fe(Dt)}}},[`@media (max-width: ${(0,E.unit)(Dt.screenLGMax)})`]:{[Vt]:{[`${Nt}:not(${Nt}-horizontal)`]:{[`${Kt}-col-lg-24${Nt}-label`]:Fe(Dt)}}}}},Ke=Dt=>{const{formItemCls:Vt,antCls:Nt}=Dt;return{[`${Vt}-vertical`]:{[`${Vt}-row`]:{flexDirection:"column"},[`${Vt}-label > label`]:{height:"auto"},[`${Vt}-control`]:{width:"100%"}},[`${Vt}-vertical ${Vt}-label,
${Nt}-col-24${Vt}-label,
${Nt}-col-xl-24${Vt}-label`]:Fe(Dt),[`@media (max-width: ${(0,E.unit)(Dt.screenXSMax)})`]:[_e(Dt),{[Vt]:{[`${Nt}-col-xs-24${Vt}-label`]:Fe(Dt)}}],[`@media (max-width: ${(0,E.unit)(Dt.screenSMMax)})`]:{[Vt]:{[`${Nt}-col-sm-24${Vt}-label`]:Fe(Dt)}},[`@media (max-width: ${(0,E.unit)(Dt.screenMDMax)})`]:{[Vt]:{[`${Nt}-col-md-24${Vt}-label`]:Fe(Dt)}},[`@media (max-width: ${(0,E.unit)(Dt.screenLGMax)})`]:{[Vt]:{[`${Nt}-col-lg-24${Vt}-label`]:Fe(Dt)}}}},We=Dt=>({labelRequiredMarkColor:Dt.colorError,labelColor:Dt.colorTextHeading,labelFontSize:Dt.fontSize,labelHeight:Dt.controlHeight,labelColonMarginInlineStart:Dt.marginXXS/2,labelColonMarginInlineEnd:Dt.marginXS,itemMarginBottom:Dt.marginLG,verticalLabelPadding:`0 0 ${Dt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Ne=(Dt,Vt)=>(0,Ce.mergeToken)(Dt,{formItemCls:`${Dt.componentCls}-item`,rootPrefixCls:Vt});var Ye=(0,be.I$)("Form",(Dt,Vt)=>{let{rootPrefixCls:Nt}=Vt;const Kt=Ne(Dt,Nt);return[Re(Kt),Me(Kt),Ee(Kt),ye(Kt,Kt.componentCls),ye(Kt,Kt.formItemCls),Te(Kt),Oe(Kt),Ke(Kt),(0,ge.Z)(Kt),ne.kr]},We,{order:-1e3});const Je=[];function He(Dt,Vt,Nt){let Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Dt=="string"?Dt:`${Vt}-${Kt}`,error:Dt,errorStatus:Nt}}var ft=Dt=>{let{help:Vt,helpStatus:Nt,errors:Kt=Je,warnings:ut=Je,className:Qt,fieldId:on,onVisibleChanged:an}=Dt;const{prefixCls:Xt}=we.useContext(b.Rk),Yt=`${Xt}-item-explain`,Gt=(0,se.Z)(Xt),[dn,ur,Zt]=Ye(Xt,Gt),nn=we.useMemo(()=>(0,re.Z)(Xt),[Xt]),Cn=fe(Kt),Ht=fe(ut),Ft=we.useMemo(()=>Vt!=null?[He(Vt,"help",Nt)]:[].concat((0,oe.Z)(Cn.map((vn,An)=>He(vn,"error","error",An))),(0,oe.Z)(Ht.map((vn,An)=>He(vn,"warning","warning",An)))),[Vt,Nt,Cn,Ht]),fn=we.useMemo(()=>{const vn={};return Ft.forEach(An=>{let{key:Rn}=An;vn[Rn]=(vn[Rn]||0)+1}),Ft.map((An,Rn)=>Object.assign(Object.assign({},An),{key:vn[An.key]>1?`${An.key}-fallback-${Rn}`:An.key}))},[Ft]),wn={};return on&&(wn.id=`${on}_help`),dn(we.createElement(ve.default,{motionDeadline:nn.motionDeadline,motionName:`${Xt}-show-help`,visible:!!fn.length,onVisibleChanged:an},vn=>{const{className:An,style:Rn}=vn;return we.createElement("div",Object.assign({},wn,{className:de()(Yt,An,Zt,Gt,Qt,ur),style:Rn}),we.createElement(ve.CSSMotionList,Object.assign({keys:fn},(0,re.Z)(Xt),{motionName:`${Xt}-show-help-item`,component:!1}),Zn=>{const{key:zn,error:Un,errorStatus:ar,className:Fn,style:ir}=Zn;return we.createElement("div",{key:zn,className:de()(Fn,{[`${Yt}-${ar}`]:ar}),style:ir},Un)}))}))},tt=ae(69180),Ot=ae(48755),nt=ae(2171),Ze=ae(31756),Ge=ae(23069),$e=ae(76846),qe=ae(16722);const Ve=["parentNode"],mt="form_item";function st(Dt){return Dt===void 0||Dt===!1?[]:Array.isArray(Dt)?Dt:[Dt]}function Lt(Dt,Vt){if(!Dt.length)return;const Nt=Dt.join("_");return Vt?`${Vt}_${Nt}`:Ve.includes(Nt)?`${mt}_${Nt}`:Nt}function ct(Dt,Vt,Nt,Kt,ut,Qt){let on=Kt;return Qt!==void 0?on=Qt:Nt.validating?on="validating":Dt.length?on="error":Vt.length?on="warning":(Nt.touched||ut&&Nt.validated)&&(on="success"),on}var Tt=function(Dt,Vt){var Nt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Vt.indexOf(Kt)<0&&(Nt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Kt=Object.getOwnPropertySymbols(Dt);ut<Kt.length;ut++)Vt.indexOf(Kt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Kt[ut])&&(Nt[Kt[ut]]=Dt[Kt[ut]]);return Nt};function xt(Dt){return st(Dt).join("_")}function wt(Dt,Vt){const Nt=Vt.getFieldInstance(Dt),Kt=(0,$e.bn)(Nt);if(Kt)return Kt;const ut=Lt(st(Dt),Vt.__INTERNAL__.name);if(ut)return document.getElementById(ut)}function yt(Dt){const[Vt]=(0,tt.useForm)(),Nt=we.useRef({}),Kt=we.useMemo(()=>Dt!=null?Dt:Object.assign(Object.assign({},Vt),{__INTERNAL__:{itemRef:ut=>Qt=>{const on=xt(ut);Qt?Nt.current[on]=Qt:delete Nt.current[on]}},scrollToField:function(ut){let Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:on}=Qt,an=Tt(Qt,["focus"]),Xt=wt(ut,Kt);Xt&&((0,qe.Z)(Xt,Object.assign({scrollMode:"if-needed",block:"nearest"},an)),on&&Kt.focusField(ut))},focusField:ut=>{var Qt,on;const an=Kt.getFieldInstance(ut);typeof(an==null?void 0:an.focus)=="function"?an.focus():(on=(Qt=wt(ut,Kt))===null||Qt===void 0?void 0:Qt.focus)===null||on===void 0||on.call(Qt)},getFieldInstance:ut=>{const Qt=xt(ut);return Nt.current[Qt]}}),[Dt,Vt]);return[Kt]}var je=ae(98350),ue=function(Dt,Vt){var Nt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Vt.indexOf(Kt)<0&&(Nt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Kt=Object.getOwnPropertySymbols(Dt);ut<Kt.length;ut++)Vt.indexOf(Kt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Kt[ut])&&(Nt[Kt[ut]]=Dt[Kt[ut]]);return Nt};const ie=(Dt,Vt)=>{const Nt=we.useContext(nt.Z),{getPrefixCls:Kt,direction:ut,requiredMark:Qt,colon:on,scrollToFirstError:an,className:Xt,style:Yt}=(0,Ot.dj)("form"),{prefixCls:Gt,className:dn,rootClassName:ur,size:Zt,disabled:nn=Nt,form:Cn,colon:Ht,labelAlign:Ft,labelWrap:fn,labelCol:wn,wrapperCol:vn,hideRequiredMark:An,layout:Rn="horizontal",scrollToFirstError:Zn,requiredMark:zn,onFinishFailed:Un,name:ar,style:Fn,feedbackIcons:ir,variant:Ir}=Dt,Lr=ue(Dt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Fr=(0,Ze.Z)(Zt),vr=we.useContext(je.Z),Dr=we.useMemo(()=>zn!==void 0?zn:An?!1:Qt!==void 0?Qt:!0,[An,zn,Qt]),Ur=Ht!=null?Ht:on,gr=Kt("form",Gt),Zr=(0,se.Z)(gr),[jr,yi,Yr]=Ye(gr,Zr),Kr=de()(gr,`${gr}-${Rn}`,{[`${gr}-hide-required-mark`]:Dr===!1,[`${gr}-rtl`]:ut==="rtl",[`${gr}-${Fr}`]:Fr},Yr,Zr,yi,Xt,dn,ur),[si]=yt(Cn),{__INTERNAL__:ni}=si;ni.name=ar;const Mr=we.useMemo(()=>({name:ar,labelAlign:Ft,labelCol:wn,labelWrap:fn,wrapperCol:vn,vertical:Rn==="vertical",colon:Ur,requiredMark:Dr,itemRef:ni.itemRef,form:si,feedbackIcons:ir}),[ar,Ft,wn,vn,Rn,Ur,Dr,si,ir]),Vr=we.useRef(null);we.useImperativeHandle(Vt,()=>{var sr;return Object.assign(Object.assign({},si),{nativeElement:(sr=Vr.current)===null||sr===void 0?void 0:sr.nativeElement})});const yr=(sr,hr)=>{if(sr){let Gn={block:"nearest"};typeof sr=="object"&&(Gn=Object.assign(Object.assign({},Gn),sr)),si.scrollToField(hr,Gn)}},Jn=sr=>{if(Un==null||Un(sr),sr.errorFields.length){const hr=sr.errorFields[0].name;if(Zn!==void 0){yr(Zn,hr);return}an!==void 0&&yr(an,hr)}};return jr(we.createElement(b.pg.Provider,{value:Ir},we.createElement(nt.n,{disabled:nn},we.createElement(Ge.Z.Provider,{value:Fr},we.createElement(b.RV,{validateMessages:vr},we.createElement(b.q3.Provider,{value:Mr},we.createElement(tt.default,Object.assign({id:ar},Lr,{name:ar,onFinishFailed:Jn,form:si,ref:Vr,style:Object.assign(Object.assign({},Yt),Fn),className:Kr}))))))))};var Xe=we.forwardRef(ie),De=ae(41799),pe=ae(8654),x=ae(22703),me=ae(32383),Le=ae(11592);function Se(Dt){if(typeof Dt=="function")return Dt;const Vt=(0,Le.Z)(Dt);return Vt.length<=1?Vt[0]:Vt}const Be=()=>{const{status:Dt,errors:Vt=[],warnings:Nt=[]}=we.useContext(b.aM);return{status:Dt,errors:Vt,warnings:Nt}};Be.Context=b.aM;var Qe=Be,it=ae(16089);function ot(Dt){const[Vt,Nt]=we.useState(Dt),Kt=we.useRef(null),ut=we.useRef([]),Qt=we.useRef(!1);we.useEffect(()=>(Qt.current=!1,()=>{Qt.current=!0,it.Z.cancel(Kt.current),Kt.current=null}),[]);function on(an){Qt.current||(Kt.current===null&&(ut.current=[],Kt.current=(0,it.Z)(()=>{Kt.current=null,Nt(Xt=>{let Yt=Xt;return ut.current.forEach(Gt=>{Yt=Gt(Yt)}),Yt})})),ut.current.push(an))}return[Vt,on]}function at(){const{itemRef:Dt}=we.useContext(b.q3),Vt=we.useRef({});function Nt(Kt,ut){const Qt=ut&&typeof ut=="object"&&(0,pe.C4)(ut),on=Kt.join("_");return(Vt.current.name!==on||Vt.current.originRef!==Qt)&&(Vt.current.name=on,Vt.current.originRef=Qt,Vt.current.ref=(0,pe.sQ)(Dt(Kt),Qt)),Vt.current.ref}return Nt}var Mt=ae(29194),Rt=ae(34280),tn=ae(2738),qt=ae(65970),Bt=ae(70425),hn=ae(5472);const $t=Dt=>{const{formItemCls:Vt}=Dt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Vt}-control`]:{display:"flex"}}}};var Ct=(0,be.bk)(["Form","item-item"],(Dt,Vt)=>{let{rootPrefixCls:Nt}=Vt;const Kt=Ne(Dt,Nt);return[$t(Kt)]}),jt=function(Dt,Vt){var Nt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Vt.indexOf(Kt)<0&&(Nt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Kt=Object.getOwnPropertySymbols(Dt);ut<Kt.length;ut++)Vt.indexOf(Kt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Kt[ut])&&(Nt[Kt[ut]]=Dt[Kt[ut]]);return Nt};const ln=24;var Et=Dt=>{const{prefixCls:Vt,status:Nt,labelCol:Kt,wrapperCol:ut,children:Qt,errors:on,warnings:an,_internalItemRender:Xt,extra:Yt,help:Gt,fieldId:dn,marginBottom:ur,onErrorVisibleChanged:Zt,label:nn}=Dt,Cn=`${Vt}-item`,Ht=we.useContext(b.q3),Ft=we.useMemo(()=>{let Lr=Object.assign({},ut||Ht.wrapperCol||{});return nn===null&&!Kt&&!ut&&Ht.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(vr=>{const Dr=vr?[vr]:[],Ur=(0,Bt.U2)(Ht.labelCol,Dr),gr=typeof Ur=="object"?Ur:{},Zr=(0,Bt.U2)(Lr,Dr),jr=typeof Zr=="object"?Zr:{};"span"in gr&&!("offset"in jr)&&gr.span<ln&&(Lr=(0,Bt.t8)(Lr,[].concat(Dr,["offset"]),gr.span))}),Lr},[ut,Ht]),fn=de()(`${Cn}-control`,Ft.className),wn=we.useMemo(()=>{const{labelCol:Lr,wrapperCol:Fr}=Ht;return jt(Ht,["labelCol","wrapperCol"])},[Ht]),vn=we.useRef(null),[An,Rn]=we.useState(0);(0,Rt.Z)(()=>{Yt&&vn.current?Rn(vn.current.clientHeight):Rn(0)},[Yt]);const Zn=we.createElement("div",{className:`${Cn}-control-input`},we.createElement("div",{className:`${Cn}-control-input-content`},Qt)),zn=we.useMemo(()=>({prefixCls:Vt,status:Nt}),[Vt,Nt]),Un=ur!==null||on.length||an.length?we.createElement(b.Rk.Provider,{value:zn},we.createElement(ft,{fieldId:dn,errors:on,warnings:an,help:Gt,helpStatus:Nt,className:`${Cn}-explain-connected`,onVisibleChanged:Zt})):null,ar={};dn&&(ar.id=`${dn}_extra`);const Fn=Yt?we.createElement("div",Object.assign({},ar,{className:`${Cn}-extra`,ref:vn}),Yt):null,ir=Un||Fn?we.createElement("div",{className:`${Cn}-additional`,style:ur?{minHeight:ur+An}:{}},Un,Fn):null,Ir=Xt&&Xt.mark==="pro_table_render"&&Xt.render?Xt.render(Dt,{input:Zn,errorList:Un,extra:Fn}):we.createElement(we.Fragment,null,Zn,ir);return we.createElement(b.q3.Provider,{value:wn},we.createElement(hn.Z,Object.assign({},Ft,{className:fn}),Ir),we.createElement(Ct,{prefixCls:Vt}))},Wt=ae(61485),Jt=ae(9017),bn=ae(85981),kn=ae(25399),tr=function(Dt,Vt){var Nt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Vt.indexOf(Kt)<0&&(Nt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Kt=Object.getOwnPropertySymbols(Dt);ut<Kt.length;ut++)Vt.indexOf(Kt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Kt[ut])&&(Nt[Kt[ut]]=Dt[Kt[ut]]);return Nt};function pr(Dt){return Dt?typeof Dt=="object"&&!we.isValidElement(Dt)?Dt:{title:Dt}:null}var Yn=Dt=>{let{prefixCls:Vt,label:Nt,htmlFor:Kt,labelCol:ut,labelAlign:Qt,colon:on,required:an,requiredMark:Xt,tooltip:Yt,vertical:Gt}=Dt;var dn;const[ur]=(0,Jt.Z)("Form"),{labelAlign:Zt,labelCol:nn,labelWrap:Cn,colon:Ht}=we.useContext(b.q3);if(!Nt)return null;const Ft=ut||nn||{},fn=Qt||Zt,wn=`${Vt}-item-label`,vn=de()(wn,fn==="left"&&`${wn}-left`,Ft.className,{[`${wn}-wrap`]:!!Cn});let An=Nt;const Rn=on===!0||Ht!==!1&&on!==!1;Rn&&!Gt&&typeof Nt=="string"&&Nt.trim()&&(An=Nt.replace(/[:|]\s*$/,""));const zn=pr(Yt);if(zn){const{icon:Lr=we.createElement(Wt.Z,null)}=zn,Fr=tr(zn,["icon"]),vr=we.createElement(kn.Z,Object.assign({},Fr),we.cloneElement(Lr,{className:`${Vt}-item-tooltip`,title:"",onClick:Dr=>{Dr.preventDefault()},tabIndex:null}));An=we.createElement(we.Fragment,null,An,vr)}const Un=Xt==="optional",ar=typeof Xt=="function",Fn=Xt===!1;ar?An=Xt(An,{required:!!an}):Un&&!an&&(An=we.createElement(we.Fragment,null,An,we.createElement("span",{className:`${Vt}-item-optional`,title:""},(ur==null?void 0:ur.optional)||((dn=bn.Z.Form)===null||dn===void 0?void 0:dn.optional))));let ir;Fn?ir="hidden":(Un||ar)&&(ir="optional");const Ir=de()({[`${Vt}-item-required`]:an,[`${Vt}-item-required-mark-${ir}`]:ir,[`${Vt}-item-no-colon`]:!Rn});return we.createElement(hn.Z,Object.assign({},Ft,{className:vn}),we.createElement("label",{htmlFor:Kt,className:Ir,title:typeof Nt=="string"?Nt:""},An))},mr=ae(29679),Wn=ae(19248),xn=ae(96512),Pn=ae(58617);const Tn={success:mr.Z,warning:xn.Z,error:Wn.Z,validating:Pn.Z};function In(Dt){let{children:Vt,errors:Nt,warnings:Kt,hasFeedback:ut,validateStatus:Qt,prefixCls:on,meta:an,noStyle:Xt}=Dt;const Yt=`${on}-item`,{feedbackIcons:Gt}=we.useContext(b.q3),dn=ct(Nt,Kt,an,null,!!ut,Qt),{isFormItemInput:ur,status:Zt,hasFeedback:nn,feedbackIcon:Cn}=we.useContext(b.aM),Ht=we.useMemo(()=>{var Ft;let fn;if(ut){const vn=ut!==!0&&ut.icons||Gt,An=dn&&((Ft=vn==null?void 0:vn({status:dn,errors:Nt,warnings:Kt}))===null||Ft===void 0?void 0:Ft[dn]),Rn=dn&&Tn[dn];fn=An!==!1&&Rn?we.createElement("span",{className:de()(`${Yt}-feedback-icon`,`${Yt}-feedback-icon-${dn}`)},An||we.createElement(Rn,null)):null}const wn={status:dn||"",errors:Nt,warnings:Kt,hasFeedback:!!ut,feedbackIcon:fn,isFormItemInput:!0};return Xt&&(wn.status=(dn!=null?dn:Zt)||"",wn.isFormItemInput=ur,wn.hasFeedback=!!(ut!=null?ut:nn),wn.feedbackIcon=ut!==void 0?wn.feedbackIcon:Cn),wn},[dn,ut,Xt,ur,Zt]);return we.createElement(b.aM.Provider,{value:Ht},Vt)}var Kn=function(Dt,Vt){var Nt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Vt.indexOf(Kt)<0&&(Nt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Kt=Object.getOwnPropertySymbols(Dt);ut<Kt.length;ut++)Vt.indexOf(Kt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Kt[ut])&&(Nt[Kt[ut]]=Dt[Kt[ut]]);return Nt};function jn(Dt){const{prefixCls:Vt,className:Nt,rootClassName:Kt,style:ut,help:Qt,errors:on,warnings:an,validateStatus:Xt,meta:Yt,hasFeedback:Gt,hidden:dn,children:ur,fieldId:Zt,required:nn,isRequired:Cn,onSubItemMetaChange:Ht,layout:Ft}=Dt,fn=Kn(Dt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),wn=`${Vt}-item`,{requiredMark:vn,vertical:An}=we.useContext(b.q3),Rn=An||Ft==="vertical",Zn=we.useRef(null),zn=fe(on),Un=fe(an),ar=Qt!=null,Fn=!!(ar||on.length||an.length),ir=!!Zn.current&&(0,Mt.Z)(Zn.current),[Ir,Lr]=we.useState(null);(0,Rt.Z)(()=>{if(Fn&&Zn.current){const gr=getComputedStyle(Zn.current);Lr(parseInt(gr.marginBottom,10))}},[Fn,ir]);const Fr=gr=>{gr||Lr(null)},Dr=function(){let gr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Zr=gr?zn:Yt.errors,jr=gr?Un:Yt.warnings;return ct(Zr,jr,Yt,"",!!Gt,Xt)}(),Ur=de()(wn,Nt,Kt,{[`${wn}-with-help`]:ar||zn.length||Un.length,[`${wn}-has-feedback`]:Dr&&Gt,[`${wn}-has-success`]:Dr==="success",[`${wn}-has-warning`]:Dr==="warning",[`${wn}-has-error`]:Dr==="error",[`${wn}-is-validating`]:Dr==="validating",[`${wn}-hidden`]:dn,[`${wn}-${Ft}`]:Ft});return we.createElement("div",{className:Ur,style:ut,ref:Zn},we.createElement(qt.Z,Object.assign({className:`${wn}-row`},(0,tn.Z)(fn,["_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"])),we.createElement(Yn,Object.assign({htmlFor:Zt},Dt,{requiredMark:vn,required:nn!=null?nn:Cn,prefixCls:Vt,vertical:Rn})),we.createElement(Et,Object.assign({},Dt,Yt,{errors:zn,warnings:Un,prefixCls:Vt,status:Dr,help:Qt,marginBottom:Ir,onErrorVisibleChanged:Fr}),we.createElement(b.qI.Provider,{value:Ht},we.createElement(In,{prefixCls:Vt,meta:Yt,errors:Yt.errors,warnings:Yt.warnings,hasFeedback:Gt,validateStatus:Dr},ur)))),!!Ir&&we.createElement("div",{className:`${wn}-margin-offset`,style:{marginBottom:-Ir}}))}const nr="__SPLIT__",Cr=null;function Sr(Dt,Vt){const Nt=Object.keys(Dt),Kt=Object.keys(Vt);return Nt.length===Kt.length&&Nt.every(ut=>{const Qt=Dt[ut],on=Vt[ut];return Qt===on||typeof Qt=="function"||typeof on=="function"})}const Er=we.memo(Dt=>{let{children:Vt}=Dt;return Vt},(Dt,Vt)=>Sr(Dt.control,Vt.control)&&Dt.update===Vt.update&&Dt.childProps.length===Vt.childProps.length&&Dt.childProps.every((Nt,Kt)=>Nt===Vt.childProps[Kt]));function Nr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Tr(Dt){const{name:Vt,noStyle:Nt,className:Kt,dependencies:ut,prefixCls:Qt,shouldUpdate:on,rules:an,children:Xt,required:Yt,label:Gt,messageVariables:dn,trigger:ur="onChange",validateTrigger:Zt,hidden:nn,help:Cn,layout:Ht}=Dt,{getPrefixCls:Ft}=we.useContext(Ot.E_),{name:fn}=we.useContext(b.q3),wn=Se(Xt),vn=typeof wn=="function",An=we.useContext(b.qI),{validateTrigger:Rn}=we.useContext(tt.FieldContext),Zn=Zt!==void 0?Zt:Rn,zn=Vt!=null,Un=Ft("form",Qt),ar=(0,se.Z)(Un),[Fn,ir,Ir]=Ye(Un,ar),Lr=(0,me.ln)("Form.Item"),Fr=we.useContext(tt.ListContext),vr=we.useRef(null),[Dr,Ur]=ot({}),[gr,Zr]=(0,De.Z)(()=>Nr()),jr=Vr=>{const yr=Fr==null?void 0:Fr.getKey(Vr.name);if(Zr(Vr.destroy?Nr():Vr,!0),Nt&&Cn!==!1&&An){let Jn=Vr.name;if(Vr.destroy)Jn=vr.current||Jn;else if(yr!==void 0){const[sr,hr]=yr;Jn=[sr].concat((0,oe.Z)(hr)),vr.current=Jn}An(Vr,Jn)}},yi=(Vr,yr)=>{Ur(Jn=>{const sr=Object.assign({},Jn),Gn=[].concat((0,oe.Z)(Vr.name.slice(0,-1)),(0,oe.Z)(yr)).join(nr);return Vr.destroy?delete sr[Gn]:sr[Gn]=Vr,sr})},[Yr,Kr]=we.useMemo(()=>{const Vr=(0,oe.Z)(gr.errors),yr=(0,oe.Z)(gr.warnings);return Object.values(Dr).forEach(Jn=>{Vr.push.apply(Vr,(0,oe.Z)(Jn.errors||[])),yr.push.apply(yr,(0,oe.Z)(Jn.warnings||[]))}),[Vr,yr]},[Dr,gr.errors,gr.warnings]),si=at();function ni(Vr,yr,Jn){return Nt&&!nn?we.createElement(In,{prefixCls:Un,hasFeedback:Dt.hasFeedback,validateStatus:Dt.validateStatus,meta:gr,errors:Yr,warnings:Kr,noStyle:!0},Vr):we.createElement(jn,Object.assign({key:"row"},Dt,{className:de()(Kt,Ir,ar,ir),prefixCls:Un,fieldId:yr,isRequired:Jn,errors:Yr,warnings:Kr,meta:gr,onSubItemMetaChange:yi,layout:Ht}),Vr)}if(!zn&&!vn&&!ut)return Fn(ni(wn));let Mr={};return typeof Gt=="string"?Mr.label=Gt:Vt&&(Mr.label=String(Vt)),dn&&(Mr=Object.assign(Object.assign({},Mr),dn)),Fn(we.createElement(tt.Field,Object.assign({},Dt,{messageVariables:Mr,trigger:ur,validateTrigger:Zn,onMetaChange:jr}),(Vr,yr,Jn)=>{const sr=st(Vt).length&&yr?yr.name:[],hr=Lt(sr,fn),Gn=Yt!==void 0?Yt:!!(an!=null&&an.some(_t=>{if(_t&&typeof _t=="object"&&_t.required&&!_t.warningOnly)return!0;if(typeof _t=="function"){const Bn=_t(Jn);return(Bn==null?void 0:Bn.required)&&!(Bn!=null&&Bn.warningOnly)}return!1})),kr=Object.assign({},Vr);let Br=null;if(Array.isArray(wn)&&zn)Br=wn;else if(!(vn&&(!(on||ut)||zn))){if(!(ut&&!vn&&!zn))if(we.isValidElement(wn)){const _t=Object.assign(Object.assign({},wn.props),kr);if(_t.id||(_t.id=hr),Cn||Yr.length>0||Kr.length>0||Dt.extra){const fr=[];(Cn||Yr.length>0)&&fr.push(`${hr}_help`),Dt.extra&&fr.push(`${hr}_extra`),_t["aria-describedby"]=fr.join(" ")}Yr.length>0&&(_t["aria-invalid"]="true"),Gn&&(_t["aria-required"]="true"),(0,pe.Yr)(wn)&&(_t.ref=si(sr,wn)),new Set([].concat((0,oe.Z)(st(ur)),(0,oe.Z)(st(Zn)))).forEach(fr=>{_t[fr]=function(){for(var Wr,Qr,Xr,Fi,or,Ti=arguments.length,hi=new Array(Ti),Ei=0;Ei<Ti;Ei++)hi[Ei]=arguments[Ei];(Xr=kr[fr])===null||Xr===void 0||(Wr=Xr).call.apply(Wr,[kr].concat(hi)),(or=(Fi=wn.props)[fr])===null||or===void 0||(Qr=or).call.apply(Qr,[Fi].concat(hi))}});const Xn=[_t["aria-required"],_t["aria-invalid"],_t["aria-describedby"]];Br=we.createElement(Er,{control:kr,update:wn,childProps:Xn},(0,x.Tm)(wn,_t))}else vn&&(on||ut)&&!zn?Br=wn(Jn):Br=wn}return ni(Br,hr,Gn)}))}const zr=Tr;zr.useStatus=Qe;var Rr=zr,Ln=function(Dt,Vt){var Nt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Vt.indexOf(Kt)<0&&(Nt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Kt=Object.getOwnPropertySymbols(Dt);ut<Kt.length;ut++)Vt.indexOf(Kt[ut])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Kt[ut])&&(Nt[Kt[ut]]=Dt[Kt[ut]]);return Nt},Ar=Dt=>{var{prefixCls:Vt,children:Nt}=Dt,Kt=Ln(Dt,["prefixCls","children"]);const{getPrefixCls:ut}=we.useContext(Ot.E_),Qt=ut("form",Vt),on=we.useMemo(()=>({prefixCls:Qt,status:"error"}),[Qt]);return we.createElement(tt.List,Object.assign({},Kt),(an,Xt,Yt)=>we.createElement(b.Rk.Provider,{value:on},Nt(an.map(Gt=>Object.assign(Object.assign({},Gt),{fieldKey:Gt.key})),Xt,{errors:Yt.errors,warnings:Yt.warnings})))};function wr(){const{form:Dt}=we.useContext(b.q3);return Dt}const zt=Xe;zt.Item=Rr,zt.List=Ar,zt.ErrorList=ft,zt.useForm=yt,zt.useFormInstance=wr,zt.useWatch=tt.useWatch,zt.Provider=b.RV,zt.create=()=>{};var It=zt},75786:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Cn}});var b=ae(59301),oe=ae(15277),we=ae(92310),Ae=ae.n(we),de=ae(60499),ve=ae(85899),re=ae(18642),se=ae(72190),fe=ae(43749),E=ae(42244),te=/margin|padding|width|height|max|min|offset/,ne={left:!0,top:!0},ge={cssFloat:1,styleFloat:1,float:1};function Ce(Ht){return Ht.nodeType===1?Ht.ownerDocument.defaultView.getComputedStyle(Ht,null):{}}function be(Ht,Ft,fn){if(Ft=Ft.toLowerCase(),fn==="auto"){if(Ft==="height")return Ht.offsetHeight;if(Ft==="width")return Ht.offsetWidth}return Ft in ne||(ne[Ft]=te.test(Ft)),ne[Ft]?parseFloat(fn)||0:fn}function le(Ht,Ft){var fn=arguments.length,wn=Ce(Ht);return Ft=ge[Ft]?"cssFloat"in Ht.style?"cssFloat":"styleFloat":Ft,fn===1?wn:be(Ht,Ft,wn[Ft]||Ht.style[Ft])}function Ee(Ht,Ft,fn){var wn=arguments.length;if(Ft=ge[Ft]?"cssFloat"in Ht.style?"cssFloat":"styleFloat":Ft,wn===3)return typeof fn=="number"&&te.test(Ft)&&(fn="".concat(fn,"px")),Ht.style[Ft]=fn,fn;for(var vn in Ft)Ft.hasOwnProperty(vn)&&Ee(Ht,vn,Ft[vn]);return Ce(Ht)}function Pe(Ht){return Ht===document.body?document.documentElement.clientWidth:Ht.offsetWidth}function Ie(Ht){return Ht===document.body?window.innerHeight||document.documentElement.clientHeight:Ht.offsetHeight}function Re(){var Ht=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Ft=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ht,height:Ft}}function Me(){var Ht=document.documentElement.clientWidth,Ft=window.innerHeight||document.documentElement.clientHeight;return{width:Ht,height:Ft}}function ye(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Te(Ht){var Ft=Ht.getBoundingClientRect(),fn=document.documentElement;return{left:Ft.left+(window.pageXOffset||fn.scrollLeft)-(fn.clientLeft||document.body.clientLeft||0),top:Ft.top+(window.pageYOffset||fn.scrollTop)-(fn.clientTop||document.body.clientTop||0)}}var Fe=ae(18929),_e=ae(55311),Oe=ae(8224),Ke=ae(10228),We=ae(43403),Ne=ae(77900),Ye=b.createContext(null),Je=function(Ft){var fn=Ft.visible,wn=Ft.maskTransitionName,vn=Ft.getContainer,An=Ft.prefixCls,Rn=Ft.rootClassName,Zn=Ft.icons,zn=Ft.countRender,Un=Ft.showSwitch,ar=Ft.showProgress,Fn=Ft.current,ir=Ft.transform,Ir=Ft.count,Lr=Ft.scale,Fr=Ft.minScale,vr=Ft.maxScale,Dr=Ft.closeIcon,Ur=Ft.onActive,gr=Ft.onClose,Zr=Ft.onZoomIn,jr=Ft.onZoomOut,yi=Ft.onRotateRight,Yr=Ft.onRotateLeft,Kr=Ft.onFlipX,si=Ft.onFlipY,ni=Ft.onReset,Mr=Ft.toolbarRender,Vr=Ft.zIndex,yr=Ft.image,Jn=(0,b.useContext)(Ye),sr=Zn.rotateLeft,hr=Zn.rotateRight,Gn=Zn.zoomIn,kr=Zn.zoomOut,Br=Zn.close,_t=Zn.left,Bn=Zn.right,Xn=Zn.flipX,fr=Zn.flipY,Wr="".concat(An,"-operations-operation");b.useEffect(function(){var Qi=function(ti){ti.keyCode===Ke.Z.ESC&&gr()};return fn&&window.addEventListener("keydown",Qi),function(){window.removeEventListener("keydown",Qi)}},[fn]);var Qr=function(io,ti){io.preventDefault(),io.stopPropagation(),Ur(ti)},Xr=b.useCallback(function(Qi){var io=Qi.type,ti=Qi.disabled,li=Qi.onClick,qi=Qi.icon;return b.createElement("div",{key:io,className:Ae()(Wr,"".concat(An,"-operations-operation-").concat(io),(0,re.Z)({},"".concat(An,"-operations-operation-disabled"),!!ti)),onClick:li},qi)},[Wr,An]),Fi=Un?Xr({icon:_t,onClick:function(io){return Qr(io,-1)},type:"prev",disabled:Fn===0}):void 0,or=Un?Xr({icon:Bn,onClick:function(io){return Qr(io,1)},type:"next",disabled:Fn===Ir-1}):void 0,Ti=Xr({icon:fr,onClick:si,type:"flipY"}),hi=Xr({icon:Xn,onClick:Kr,type:"flipX"}),Ei=Xr({icon:sr,onClick:Yr,type:"rotateLeft"}),Li=Xr({icon:hr,onClick:yi,type:"rotateRight"}),Ai=Xr({icon:kr,onClick:jr,type:"zoomOut",disabled:Lr<=Fr}),ro=Xr({icon:Gn,onClick:Zr,type:"zoomIn",disabled:Lr===vr}),So=b.createElement("div",{className:"".concat(An,"-operations")},Ti,hi,Ei,Li,Ai,ro);return b.createElement(Ne.default,{visible:fn,motionName:wn},function(Qi){var io=Qi.className,ti=Qi.style;return b.createElement(We.Z,{open:!0,getContainer:vn!=null?vn:document.body},b.createElement("div",{className:Ae()("".concat(An,"-operations-wrapper"),io,Rn),style:(0,ve.Z)((0,ve.Z)({},ti),{},{zIndex:Vr})},Dr===null?null:b.createElement("button",{className:"".concat(An,"-close"),onClick:gr},Dr||Br),Un&&b.createElement(b.Fragment,null,b.createElement("div",{className:Ae()("".concat(An,"-switch-left"),(0,re.Z)({},"".concat(An,"-switch-left-disabled"),Fn===0)),onClick:function(qi){return Qr(qi,-1)}},_t),b.createElement("div",{className:Ae()("".concat(An,"-switch-right"),(0,re.Z)({},"".concat(An,"-switch-right-disabled"),Fn===Ir-1)),onClick:function(qi){return Qr(qi,1)}},Bn)),b.createElement("div",{className:"".concat(An,"-footer")},ar&&b.createElement("div",{className:"".concat(An,"-progress")},zn?zn(Fn+1,Ir):"".concat(Fn+1," / ").concat(Ir)),Mr?Mr(So,(0,ve.Z)((0,ve.Z)({icons:{prevIcon:Fi,nextIcon:or,flipYIcon:Ti,flipXIcon:hi,rotateLeftIcon:Ei,rotateRightIcon:Li,zoomOutIcon:Ai,zoomInIcon:ro},actions:{onActive:Ur,onFlipY:si,onFlipX:Kr,onRotateLeft:Yr,onRotateRight:yi,onZoomOut:jr,onZoomIn:Zr,onReset:ni,onClose:gr},transform:ir},Jn?{current:Fn,total:Ir}:{}),{},{image:yr})):So)))})},He=Je,lt=ae(13697),ft=ae(16089),tt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ot(Ht,Ft,fn,wn){var vn=(0,b.useRef)(null),An=(0,b.useRef)([]),Rn=(0,b.useState)(tt),Zn=(0,se.Z)(Rn,2),zn=Zn[0],Un=Zn[1],ar=function(Lr){Un(tt),(0,lt.Z)(tt,zn)||wn==null||wn({transform:tt,action:Lr})},Fn=function(Lr,Fr){vn.current===null&&(An.current=[],vn.current=(0,ft.Z)(function(){Un(function(vr){var Dr=vr;return An.current.forEach(function(Ur){Dr=(0,ve.Z)((0,ve.Z)({},Dr),Ur)}),vn.current=null,wn==null||wn({transform:Dr,action:Fr}),Dr})})),An.current.push((0,ve.Z)((0,ve.Z)({},zn),Lr))},ir=function(Lr,Fr,vr,Dr,Ur){var gr=Ht.current,Zr=gr.width,jr=gr.height,yi=gr.offsetWidth,Yr=gr.offsetHeight,Kr=gr.offsetLeft,si=gr.offsetTop,ni=Lr,Mr=zn.scale*Lr;Mr>fn?(Mr=fn,ni=fn/zn.scale):Mr<Ft&&(Mr=Ur?Mr:Ft,ni=Mr/zn.scale);var Vr=vr!=null?vr:innerWidth/2,yr=Dr!=null?Dr:innerHeight/2,Jn=ni-1,sr=Jn*Zr*.5,hr=Jn*jr*.5,Gn=Jn*(Vr-zn.x-Kr),kr=Jn*(yr-zn.y-si),Br=zn.x-(Gn-sr),_t=zn.y-(kr-hr);if(Lr<1&&Mr===1){var Bn=yi*Mr,Xn=Yr*Mr,fr=Me(),Wr=fr.width,Qr=fr.height;Bn<=Wr&&Xn<=Qr&&(Br=0,_t=0)}Fn({x:Br,y:_t,scale:Mr},Fr)};return{transform:zn,resetTransform:ar,updateTransform:Fn,dispatchZoomChange:ir}}var nt=ae(48736);function Ze(Ht,Ft,fn,wn){var vn=Ft+fn,An=(fn-wn)/2;if(fn>wn){if(Ft>0)return(0,re.Z)({},Ht,An);if(Ft<0&&vn<wn)return(0,re.Z)({},Ht,-An)}else if(Ft<0||vn>wn)return(0,re.Z)({},Ht,Ft<0?An:-An);return{}}function Ge(Ht,Ft,fn,wn){var vn=Me(),An=vn.width,Rn=vn.height,Zn=null;return Ht<=An&&Ft<=Rn?Zn={x:0,y:0}:(Ht>An||Ft>Rn)&&(Zn=(0,ve.Z)((0,ve.Z)({},Ze("x",fn,Ht,An)),Ze("y",wn,Ft,Rn))),Zn}var $e=1,qe=1;function Ve(Ht,Ft,fn,wn,vn,An,Rn){var Zn=vn.rotate,zn=vn.scale,Un=vn.x,ar=vn.y,Fn=(0,b.useState)(!1),ir=(0,se.Z)(Fn,2),Ir=ir[0],Lr=ir[1],Fr=(0,b.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),vr=function(jr){!Ft||jr.button!==0||(jr.preventDefault(),jr.stopPropagation(),Fr.current={diffX:jr.pageX-Un,diffY:jr.pageY-ar,transformX:Un,transformY:ar},Lr(!0))},Dr=function(jr){fn&&Ir&&An({x:jr.pageX-Fr.current.diffX,y:jr.pageY-Fr.current.diffY},"move")},Ur=function(){if(fn&&Ir){Lr(!1);var jr=Fr.current,yi=jr.transformX,Yr=jr.transformY,Kr=Un!==yi&&ar!==Yr;if(!Kr)return;var si=Ht.current.offsetWidth*zn,ni=Ht.current.offsetHeight*zn,Mr=Ht.current.getBoundingClientRect(),Vr=Mr.left,yr=Mr.top,Jn=Zn%180!==0,sr=Ge(Jn?ni:si,Jn?si:ni,Vr,yr);sr&&An((0,ve.Z)({},sr),"dragRebound")}},gr=function(jr){if(!(!fn||jr.deltaY==0)){var yi=Math.abs(jr.deltaY/100),Yr=Math.min(yi,qe),Kr=$e+Yr*wn;jr.deltaY>0&&(Kr=$e/Kr),Rn(Kr,"wheel",jr.clientX,jr.clientY)}};return(0,b.useEffect)(function(){var Zr,jr,yi,Yr;if(Ft){yi=(0,Oe.Z)(window,"mouseup",Ur,!1),Yr=(0,Oe.Z)(window,"mousemove",Dr,!1);try{window.top!==window.self&&(Zr=(0,Oe.Z)(window.top,"mouseup",Ur,!1),jr=(0,Oe.Z)(window.top,"mousemove",Dr,!1))}catch(Kr){(0,nt.Kp)(!1,"[rc-image] ".concat(Kr))}}return function(){var Kr,si,ni,Mr;(Kr=yi)===null||Kr===void 0||Kr.remove(),(si=Yr)===null||si===void 0||si.remove(),(ni=Zr)===null||ni===void 0||ni.remove(),(Mr=jr)===null||Mr===void 0||Mr.remove()}},[fn,Ir,Un,ar,Zn,Ft]),{isMoving:Ir,onMouseDown:vr,onMouseMove:Dr,onMouseUp:Ur,onWheel:gr}}function mt(Ht){return new Promise(function(Ft){if(!Ht){Ft(!1);return}var fn=document.createElement("img");fn.onerror=function(){return Ft(!1)},fn.onload=function(){return Ft(!0)},fn.src=Ht})}function st(Ht){var Ft=Ht.src,fn=Ht.isCustomPlaceholder,wn=Ht.fallback,vn=(0,b.useState)(fn?"loading":"normal"),An=(0,se.Z)(vn,2),Rn=An[0],Zn=An[1],zn=(0,b.useRef)(!1),Un=Rn==="error";(0,b.useEffect)(function(){var Ir=!0;return mt(Ft).then(function(Lr){!Lr&&Ir&&Zn("error")}),function(){Ir=!1}},[Ft]),(0,b.useEffect)(function(){fn&&!zn.current?Zn("loading"):Un&&Zn("normal")},[Ft]);var ar=function(){Zn("normal")},Fn=function(Lr){zn.current=!1,Rn==="loading"&&Lr!==null&&Lr!==void 0&&Lr.complete&&(Lr.naturalWidth||Lr.naturalHeight)&&(zn.current=!0,ar())},ir=Un&&wn?{src:wn}:{onLoad:ar,src:Ft};return[Fn,ir,Rn]}function Lt(Ht,Ft){var fn=Ht.x-Ft.x,wn=Ht.y-Ft.y;return Math.hypot(fn,wn)}function ct(Ht,Ft,fn,wn){var vn=Lt(Ht,fn),An=Lt(Ft,wn);if(vn===0&&An===0)return[Ht.x,Ht.y];var Rn=vn/(vn+An),Zn=Ht.x+Rn*(Ft.x-Ht.x),zn=Ht.y+Rn*(Ft.y-Ht.y);return[Zn,zn]}function Tt(Ht,Ft,fn,wn,vn,An,Rn){var Zn=vn.rotate,zn=vn.scale,Un=vn.x,ar=vn.y,Fn=(0,b.useState)(!1),ir=(0,se.Z)(Fn,2),Ir=ir[0],Lr=ir[1],Fr=(0,b.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),vr=function(jr){Fr.current=(0,ve.Z)((0,ve.Z)({},Fr.current),jr)},Dr=function(jr){if(Ft){jr.stopPropagation(),Lr(!0);var yi=jr.touches,Yr=yi===void 0?[]:yi;Yr.length>1?vr({point1:{x:Yr[0].clientX,y:Yr[0].clientY},point2:{x:Yr[1].clientX,y:Yr[1].clientY},eventType:"touchZoom"}):vr({point1:{x:Yr[0].clientX-Un,y:Yr[0].clientY-ar},eventType:"move"})}},Ur=function(jr){var yi=jr.touches,Yr=yi===void 0?[]:yi,Kr=Fr.current,si=Kr.point1,ni=Kr.point2,Mr=Kr.eventType;if(Yr.length>1&&Mr==="touchZoom"){var Vr={x:Yr[0].clientX,y:Yr[0].clientY},yr={x:Yr[1].clientX,y:Yr[1].clientY},Jn=ct(si,ni,Vr,yr),sr=(0,se.Z)(Jn,2),hr=sr[0],Gn=sr[1],kr=Lt(Vr,yr)/Lt(si,ni);Rn(kr,"touchZoom",hr,Gn,!0),vr({point1:Vr,point2:yr,eventType:"touchZoom"})}else Mr==="move"&&(An({x:Yr[0].clientX-si.x,y:Yr[0].clientY-si.y},"move"),vr({eventType:"move"}))},gr=function(){if(fn){if(Ir&&Lr(!1),vr({eventType:"none"}),wn>zn)return An({x:0,y:0,scale:wn},"touchZoom");var jr=Ht.current.offsetWidth*zn,yi=Ht.current.offsetHeight*zn,Yr=Ht.current.getBoundingClientRect(),Kr=Yr.left,si=Yr.top,ni=Zn%180!==0,Mr=Ge(ni?yi:jr,ni?jr:yi,Kr,si);Mr&&An((0,ve.Z)({},Mr),"dragRebound")}};return(0,b.useEffect)(function(){var Zr;return fn&&Ft&&(Zr=(0,Oe.Z)(window,"touchmove",function(jr){return jr.preventDefault()},{passive:!1})),function(){var jr;(jr=Zr)===null||jr===void 0||jr.remove()}},[fn,Ft]),{isTouching:Ir,onTouchStart:Dr,onTouchMove:Ur,onTouchEnd:gr}}var xt=["fallback","src","imgRef"],wt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],yt=function(Ft){var fn=Ft.fallback,wn=Ft.src,vn=Ft.imgRef,An=(0,E.Z)(Ft,xt),Rn=st({src:wn,fallback:fn}),Zn=(0,se.Z)(Rn,2),zn=Zn[0],Un=Zn[1];return b.createElement("img",(0,de.Z)({ref:function(Fn){vn.current=Fn,zn(Fn)}},An,Un))},je=function(Ft){var fn=Ft.prefixCls,wn=Ft.src,vn=Ft.alt,An=Ft.imageInfo,Rn=Ft.fallback,Zn=Ft.movable,zn=Zn===void 0?!0:Zn,Un=Ft.onClose,ar=Ft.visible,Fn=Ft.icons,ir=Fn===void 0?{}:Fn,Ir=Ft.rootClassName,Lr=Ft.closeIcon,Fr=Ft.getContainer,vr=Ft.current,Dr=vr===void 0?0:vr,Ur=Ft.count,gr=Ur===void 0?1:Ur,Zr=Ft.countRender,jr=Ft.scaleStep,yi=jr===void 0?.5:jr,Yr=Ft.minScale,Kr=Yr===void 0?1:Yr,si=Ft.maxScale,ni=si===void 0?50:si,Mr=Ft.transitionName,Vr=Mr===void 0?"zoom":Mr,yr=Ft.maskTransitionName,Jn=yr===void 0?"fade":yr,sr=Ft.imageRender,hr=Ft.imgCommonProps,Gn=Ft.toolbarRender,kr=Ft.onTransform,Br=Ft.onChange,_t=(0,E.Z)(Ft,wt),Bn=(0,b.useRef)(),Xn=(0,b.useContext)(Ye),fr=Xn&&gr>1,Wr=Xn&&gr>=1,Qr=(0,b.useState)(!0),Xr=(0,se.Z)(Qr,2),Fi=Xr[0],or=Xr[1],Ti=Ot(Bn,Kr,ni,kr),hi=Ti.transform,Ei=Ti.resetTransform,Li=Ti.updateTransform,Ai=Ti.dispatchZoomChange,ro=Ve(Bn,zn,ar,yi,hi,Li,Ai),So=ro.isMoving,Qi=ro.onMouseDown,io=ro.onWheel,ti=Tt(Bn,zn,ar,Kr,hi,Li,Ai),li=ti.isTouching,qi=ti.onTouchStart,ho=ti.onTouchMove,ji=ti.onTouchEnd,oo=hi.rotate,uo=hi.scale,$i=Ae()((0,re.Z)({},"".concat(fn,"-moving"),So));(0,b.useEffect)(function(){Fi||or(!0)},[Fi]);var co=function(){Ei("close")},so=function(){Ai($e+yi,"zoomIn")},jo=function(){Ai($e/($e+yi),"zoomOut")},Jo=function(){Li({rotate:oo+90},"rotateRight")},Yo=function(){Li({rotate:oo-90},"rotateLeft")},Zo=function(){Li({flipX:!hi.flipX},"flipX")},ns=function(){Li({flipY:!hi.flipY},"flipY")},Ya=function(){Ei("reset")},Hi=function(Hr){var pi=Dr+Hr;!Number.isInteger(pi)||pi<0||pi>gr-1||(or(!1),Ei(Hr<0?"prev":"next"),Br==null||Br(pi,Dr))},to=function(Hr){!ar||!fr||(Hr.keyCode===Ke.Z.LEFT?Hi(-1):Hr.keyCode===Ke.Z.RIGHT&&Hi(1))},Zi=function(Hr){ar&&(uo!==1?Li({x:0,y:0,scale:1},"doubleClick"):Ai($e+yi,"doubleClick",Hr.clientX,Hr.clientY))};(0,b.useEffect)(function(){var $n=(0,Oe.Z)(window,"keydown",to,!1);return function(){$n.remove()}},[ar,fr,Dr]);var Vi=b.createElement(yt,(0,de.Z)({},hr,{width:Ft.width,height:Ft.height,imgRef:Bn,className:"".concat(fn,"-img"),alt:vn,style:{transform:"translate3d(".concat(hi.x,"px, ").concat(hi.y,"px, 0) scale3d(").concat(hi.flipX?"-":"").concat(uo,", ").concat(hi.flipY?"-":"").concat(uo,", 1) rotate(").concat(oo,"deg)"),transitionDuration:(!Fi||li)&&"0s"},fallback:Rn,src:wn,onWheel:io,onMouseDown:Qi,onDoubleClick:Zi,onTouchStart:qi,onTouchMove:ho,onTouchEnd:ji,onTouchCancel:ji})),bo=(0,ve.Z)({url:wn,alt:vn},An);return b.createElement(b.Fragment,null,b.createElement(_e.Z,(0,de.Z)({transitionName:Vr,maskTransitionName:Jn,closable:!1,keyboard:!0,prefixCls:fn,onClose:Un,visible:ar,classNames:{wrapper:$i},rootClassName:Ir,getContainer:Fr},_t,{afterClose:co}),b.createElement("div",{className:"".concat(fn,"-img-wrapper")},sr?sr(Vi,(0,ve.Z)({transform:hi,image:bo},Xn?{current:Dr}:{})):Vi)),b.createElement(He,{visible:ar,transform:hi,maskTransitionName:Jn,closeIcon:Lr,getContainer:Fr,prefixCls:fn,rootClassName:Ir,icons:ir,countRender:Zr,showSwitch:fr,showProgress:Wr,current:Dr,count:gr,scale:uo,minScale:Kr,maxScale:ni,toolbarRender:Gn,onActive:Hi,onZoomIn:so,onZoomOut:jo,onRotateRight:Jo,onRotateLeft:Yo,onFlipX:Zo,onFlipY:ns,onClose:Un,onReset:Ya,zIndex:_t.zIndex!==void 0?_t.zIndex+1:void 0,image:bo}))},ue=je,ie=ae(77654),ke=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function Xe(Ht){var Ft=b.useState({}),fn=(0,se.Z)(Ft,2),wn=fn[0],vn=fn[1],An=b.useCallback(function(Zn,zn){return vn(function(Un){return(0,ve.Z)((0,ve.Z)({},Un),{},(0,re.Z)({},Zn,zn))}),function(){vn(function(Un){var ar=(0,ve.Z)({},Un);return delete ar[Zn],ar})}},[]),Rn=b.useMemo(function(){return Ht?Ht.map(function(Zn){if(typeof Zn=="string")return{data:{src:Zn}};var zn={};return Object.keys(Zn).forEach(function(Un){["src"].concat((0,ie.Z)(ke)).includes(Un)&&(zn[Un]=Zn[Un])}),{data:zn}}):Object.keys(wn).reduce(function(Zn,zn){var Un=wn[zn],ar=Un.canPreview,Fn=Un.data;return ar&&Zn.push({data:Fn,id:zn}),Zn},[])},[Ht,wn]);return[Rn,An,!!Ht]}var De=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],pe=["src"],x=function(Ft){var fn,wn=Ft.previewPrefixCls,vn=wn===void 0?"rc-image-preview":wn,An=Ft.children,Rn=Ft.icons,Zn=Rn===void 0?{}:Rn,zn=Ft.items,Un=Ft.preview,ar=Ft.fallback,Fn=(0,fe.Z)(Un)==="object"?Un:{},ir=Fn.visible,Ir=Fn.onVisibleChange,Lr=Fn.getContainer,Fr=Fn.current,vr=Fn.movable,Dr=Fn.minScale,Ur=Fn.maxScale,gr=Fn.countRender,Zr=Fn.closeIcon,jr=Fn.onChange,yi=Fn.onTransform,Yr=Fn.toolbarRender,Kr=Fn.imageRender,si=(0,E.Z)(Fn,De),ni=Xe(zn),Mr=(0,se.Z)(ni,3),Vr=Mr[0],yr=Mr[1],Jn=Mr[2],sr=(0,Fe.Z)(0,{value:Fr}),hr=(0,se.Z)(sr,2),Gn=hr[0],kr=hr[1],Br=(0,b.useState)(!1),_t=(0,se.Z)(Br,2),Bn=_t[0],Xn=_t[1],fr=((fn=Vr[Gn])===null||fn===void 0?void 0:fn.data)||{},Wr=fr.src,Qr=(0,E.Z)(fr,pe),Xr=(0,Fe.Z)(!!ir,{value:ir,onChange:function(li,qi){Ir==null||Ir(li,qi,Gn)}}),Fi=(0,se.Z)(Xr,2),or=Fi[0],Ti=Fi[1],hi=(0,b.useState)(null),Ei=(0,se.Z)(hi,2),Li=Ei[0],Ai=Ei[1],ro=b.useCallback(function(ti,li,qi,ho){var ji=Jn?Vr.findIndex(function(oo){return oo.data.src===li}):Vr.findIndex(function(oo){return oo.id===ti});kr(ji<0?0:ji),Ti(!0),Ai({x:qi,y:ho}),Xn(!0)},[Vr,Jn]);b.useEffect(function(){or?Bn||kr(0):Xn(!1)},[or]);var So=function(li,qi){kr(li),jr==null||jr(li,qi)},Qi=function(){Ti(!1),Ai(null)},io=b.useMemo(function(){return{register:yr,onPreview:ro}},[yr,ro]);return b.createElement(Ye.Provider,{value:io},An,b.createElement(ue,(0,de.Z)({"aria-hidden":!or,movable:vr,visible:or,prefixCls:vn,closeIcon:Zr,onClose:Qi,mousePosition:Li,imgCommonProps:Qr,src:Wr,fallback:ar,icons:Zn,minScale:Dr,maxScale:Ur,getContainer:Lr,current:Gn,count:Vr.length,countRender:gr,onTransform:yi,toolbarRender:Yr,imageRender:Kr,onChange:So},si)))},me=x,Le=0;function Se(Ht,Ft){var fn=b.useState(function(){return Le+=1,String(Le)}),wn=(0,se.Z)(fn,1),vn=wn[0],An=b.useContext(Ye),Rn={data:Ft,canPreview:Ht};return b.useEffect(function(){if(An)return An.register(vn,Rn)},[]),b.useEffect(function(){An&&An.register(vn,Rn)},[Ht,Ft]),vn}var Be=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Qe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],it=function(Ft){var fn=Ft.src,wn=Ft.alt,vn=Ft.onPreviewClose,An=Ft.prefixCls,Rn=An===void 0?"rc-image":An,Zn=Ft.previewPrefixCls,zn=Zn===void 0?"".concat(Rn,"-preview"):Zn,Un=Ft.placeholder,ar=Ft.fallback,Fn=Ft.width,ir=Ft.height,Ir=Ft.style,Lr=Ft.preview,Fr=Lr===void 0?!0:Lr,vr=Ft.className,Dr=Ft.onClick,Ur=Ft.onError,gr=Ft.wrapperClassName,Zr=Ft.wrapperStyle,jr=Ft.rootClassName,yi=(0,E.Z)(Ft,Be),Yr=Un&&Un!==!0,Kr=(0,fe.Z)(Fr)==="object"?Fr:{},si=Kr.src,ni=Kr.visible,Mr=ni===void 0?void 0:ni,Vr=Kr.onVisibleChange,yr=Vr===void 0?vn:Vr,Jn=Kr.getContainer,sr=Jn===void 0?void 0:Jn,hr=Kr.mask,Gn=Kr.maskClassName,kr=Kr.movable,Br=Kr.icons,_t=Kr.scaleStep,Bn=Kr.minScale,Xn=Kr.maxScale,fr=Kr.imageRender,Wr=Kr.toolbarRender,Qr=(0,E.Z)(Kr,Qe),Xr=si!=null?si:fn,Fi=(0,Fe.Z)(!!Mr,{value:Mr,onChange:yr}),or=(0,se.Z)(Fi,2),Ti=or[0],hi=or[1],Ei=st({src:fn,isCustomPlaceholder:Yr,fallback:ar}),Li=(0,se.Z)(Ei,3),Ai=Li[0],ro=Li[1],So=Li[2],Qi=(0,b.useState)(null),io=(0,se.Z)(Qi,2),ti=io[0],li=io[1],qi=(0,b.useContext)(Ye),ho=!!Fr,ji=function(){hi(!1),li(null)},oo=Ae()(Rn,gr,jr,(0,re.Z)({},"".concat(Rn,"-error"),So==="error")),uo=(0,b.useMemo)(function(){var jo={};return ke.forEach(function(Jo){Ft[Jo]!==void 0&&(jo[Jo]=Ft[Jo])}),jo},ke.map(function(jo){return Ft[jo]})),$i=(0,b.useMemo)(function(){return(0,ve.Z)((0,ve.Z)({},uo),{},{src:Xr})},[Xr,uo]),co=Se(ho,$i),so=function(Jo){var Yo=Te(Jo.target),Zo=Yo.left,ns=Yo.top;qi?qi.onPreview(co,Xr,Zo,ns):(li({x:Zo,y:ns}),hi(!0)),Dr==null||Dr(Jo)};return b.createElement(b.Fragment,null,b.createElement("div",(0,de.Z)({},yi,{className:oo,onClick:ho?so:Dr,style:(0,ve.Z)({width:Fn,height:ir},Zr)}),b.createElement("img",(0,de.Z)({},uo,{className:Ae()("".concat(Rn,"-img"),(0,re.Z)({},"".concat(Rn,"-img-placeholder"),Un===!0),vr),style:(0,ve.Z)({height:ir},Ir),ref:Ai},ro,{width:Fn,height:ir,onError:Ur})),So==="loading"&&b.createElement("div",{"aria-hidden":"true",className:"".concat(Rn,"-placeholder")},Un),hr&&ho&&b.createElement("div",{className:Ae()("".concat(Rn,"-mask"),Gn),style:{display:(Ir==null?void 0:Ir.display)==="none"?"none":void 0}},hr)),!qi&&ho&&b.createElement(ue,(0,de.Z)({"aria-hidden":!Ti,visible:Ti,prefixCls:zn,onClose:ji,mousePosition:ti,src:Xr,alt:wn,imageInfo:{width:Fn,height:ir},fallback:ar,getContainer:sr,icons:Br,movable:kr,scaleStep:_t,minScale:Bn,maxScale:Xn,rootClassName:jr,imageRender:fr,imgCommonProps:uo,toolbarRender:Wr},Qr)))};it.PreviewGroup=me;var ot=it,at=ot,Mt=ae(75030),Rt=ae(86641),tn=ae(48755),qt=ae(83397),Bt=ae(9017),hn=ae(99267),$t=ae(33853),Ct=ae(38819),jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},ln=jt,yn=ae(7657),Et=function(Ft,fn){return b.createElement(yn.Z,(0,de.Z)({},Ft,{ref:fn,icon:ln}))},Wt=b.forwardRef(Et),Jt=Wt,bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},kn=bn,tr=function(Ft,fn){return b.createElement(yn.Z,(0,de.Z)({},Ft,{ref:fn,icon:kn}))},pr=b.forwardRef(tr),xr=pr,Yn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},mr=Yn,Wn=function(Ft,fn){return b.createElement(yn.Z,(0,de.Z)({},Ft,{ref:fn,icon:mr}))},xn=b.forwardRef(Wn),Pn=xn,Tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},In=Tn,Kn=function(Ft,fn){return b.createElement(yn.Z,(0,de.Z)({},Ft,{ref:fn,icon:In}))},jn=b.forwardRef(Kn),nr=jn,Cr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Sr=Cr,Er=function(Ft,fn){return b.createElement(yn.Z,(0,de.Z)({},Ft,{ref:fn,icon:Sr}))},Nr=b.forwardRef(Er),Tr=Nr,zr=ae(36237),Rr=ae(17835),Ln=ae(64427),Qn=ae(63356),Ar=ae(34925),wr=ae(99495),zt=ae(16931),It=ae(51636);const Dt=Ht=>({position:Ht||"absolute",inset:0}),Vt=Ht=>{const{iconCls:Ft,motionDurationSlow:fn,paddingXXS:wn,marginXXS:vn,prefixCls:An,colorTextLightSolid:Rn}=Ht;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Rn,background:new Rr.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${fn}`,[`.${An}-mask-info`]:Object.assign(Object.assign({},Qn.vS),{padding:`0 ${(0,zr.unit)(wn)}`,[Ft]:{marginInlineEnd:vn,svg:{verticalAlign:"baseline"}}})}},Nt=Ht=>{const{previewCls:Ft,modalMaskBg:fn,paddingSM:wn,marginXL:vn,margin:An,paddingLG:Rn,previewOperationColorDisabled:Zn,previewOperationHoverColor:zn,motionDurationSlow:Un,iconCls:ar,colorTextLightSolid:Fn}=Ht,ir=new Rr.FastColor(fn).setA(.1),Ir=ir.clone().setA(.2);return{[`${Ft}-footer`]:{position:"fixed",bottom:vn,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Ht.previewOperationColor,transform:"translateX(-50%)"},[`${Ft}-progress`]:{marginBottom:An},[`${Ft}-close`]:{position:"fixed",top:vn,right:{_skip_check_:!0,value:vn},display:"flex",color:Fn,backgroundColor:ir.toRgbString(),borderRadius:"50%",padding:wn,outline:0,border:0,cursor:"pointer",transition:`all ${Un}`,"&:hover":{backgroundColor:Ir.toRgbString()},[`& > ${ar}`]:{fontSize:Ht.previewOperationSize}},[`${Ft}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,zr.unit)(Rn)}`,backgroundColor:ir.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:wn,padding:wn,cursor:"pointer",transition:`all ${Un}`,userSelect:"none",[`&:not(${Ft}-operations-operation-disabled):hover > ${ar}`]:{color:zn},"&-disabled":{color:Zn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${ar}`]:{fontSize:Ht.previewOperationSize}}}}},Kt=Ht=>{const{modalMaskBg:Ft,iconCls:fn,previewOperationColorDisabled:wn,previewCls:vn,zIndexPopup:An,motionDurationSlow:Rn}=Ht,Zn=new Rr.FastColor(Ft).setA(.1),zn=Zn.clone().setA(.2);return{[`${vn}-switch-left, ${vn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Ht.calc(An).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Ht.imagePreviewSwitchSize,height:Ht.imagePreviewSwitchSize,marginTop:Ht.calc(Ht.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Ht.previewOperationColor,background:Zn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Rn}`,userSelect:"none","&:hover":{background:zn.toRgbString()},"&-disabled":{"&, &:hover":{color:wn,background:"transparent",cursor:"not-allowed",[`> ${fn}`]:{cursor:"not-allowed"}}},[`> ${fn}`]:{fontSize:Ht.previewOperationSize}},[`${vn}-switch-left`]:{insetInlineStart:Ht.marginSM},[`${vn}-switch-right`]:{insetInlineEnd:Ht.marginSM}}},ut=Ht=>{const{motionEaseOut:Ft,previewCls:fn,motionDurationSlow:wn,componentCls:vn}=Ht;return[{[`${vn}-preview-root`]:{[fn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${fn}-body`]:Object.assign(Object.assign({},Dt()),{overflow:"hidden"}),[`${fn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${wn} ${Ft} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Dt()),{transition:`transform ${wn} ${Ft} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${fn}-moving`]:{[`${fn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${vn}-preview-root`]:{[`${fn}-wrap`]:{zIndex:Ht.zIndexPopup}}},{[`${vn}-preview-operations-wrapper`]:{position:"fixed",zIndex:Ht.calc(Ht.zIndexPopup).add(1).equal()},"&":[Nt(Ht),Kt(Ht)]}]},Qt=Ht=>{const{componentCls:Ft}=Ht;return{[Ft]:{position:"relative",display:"inline-block",[`${Ft}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Ft}-img-placeholder`]:{backgroundColor:Ht.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Ft}-mask`]:Object.assign({},Vt(Ht)),[`${Ft}-mask:hover`]:{opacity:1},[`${Ft}-placeholder`]:Object.assign({},Dt())}}},on=Ht=>{const{previewCls:Ft}=Ht;return{[`${Ft}-root`]:(0,Ar._y)(Ht,"zoom"),"&":(0,wr.J$)(Ht,!0)}},an=Ht=>({zIndexPopup:Ht.zIndexPopupBase+80,previewOperationColor:new Rr.FastColor(Ht.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Rr.FastColor(Ht.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Rr.FastColor(Ht.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Ht.fontSizeIcon*1.5});var Xt=(0,zt.I$)("Image",Ht=>{const Ft=`${Ht.componentCls}-preview`,fn=(0,It.mergeToken)(Ht,{previewCls:Ft,modalMaskBg:new Rr.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Ht.controlHeightLG});return[Qt(fn),ut(fn),(0,Ln.QA)((0,It.mergeToken)(fn,{componentCls:Ft})),on(fn)]},an),Yt=function(Ht,Ft){var fn={};for(var wn in Ht)Object.prototype.hasOwnProperty.call(Ht,wn)&&Ft.indexOf(wn)<0&&(fn[wn]=Ht[wn]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,wn=Object.getOwnPropertySymbols(Ht);vn<wn.length;vn++)Ft.indexOf(wn[vn])<0&&Object.prototype.propertyIsEnumerable.call(Ht,wn[vn])&&(fn[wn[vn]]=Ht[wn[vn]]);return fn};const Gt={rotateLeft:b.createElement(Jt,null),rotateRight:b.createElement(xr,null),zoomIn:b.createElement(nr,null),zoomOut:b.createElement(Tr,null),close:b.createElement(hn.Z,null),left:b.createElement($t.Z,null),right:b.createElement(Ct.Z,null),flipX:b.createElement(Pn,null),flipY:b.createElement(Pn,{rotate:90})};var ur=Ht=>{var{previewPrefixCls:Ft,preview:fn}=Ht,wn=Yt(Ht,["previewPrefixCls","preview"]);const{getPrefixCls:vn}=b.useContext(tn.E_),An=vn("image",Ft),Rn=`${An}-preview`,Zn=vn(),zn=(0,qt.Z)(An),[Un,ar,Fn]=Xt(An,zn),[ir]=(0,Mt.Cn)("ImagePreview",typeof fn=="object"?fn.zIndex:void 0),Ir=b.useMemo(()=>{var Lr;if(fn===!1)return fn;const Fr=typeof fn=="object"?fn:{},vr=Ae()(ar,Fn,zn,(Lr=Fr.rootClassName)!==null&&Lr!==void 0?Lr:"");return Object.assign(Object.assign({},Fr),{transitionName:(0,Rt.m)(Zn,"zoom",Fr.transitionName),maskTransitionName:(0,Rt.m)(Zn,"fade",Fr.maskTransitionName),rootClassName:vr,zIndex:ir})},[fn]);return Un(b.createElement(at.PreviewGroup,Object.assign({preview:Ir,previewPrefixCls:Rn,icons:Gt},wn)))},Zt=function(Ht,Ft){var fn={};for(var wn in Ht)Object.prototype.hasOwnProperty.call(Ht,wn)&&Ft.indexOf(wn)<0&&(fn[wn]=Ht[wn]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,wn=Object.getOwnPropertySymbols(Ht);vn<wn.length;vn++)Ft.indexOf(wn[vn])<0&&Object.prototype.propertyIsEnumerable.call(Ht,wn[vn])&&(fn[wn[vn]]=Ht[wn[vn]]);return fn};const nn=Ht=>{const{prefixCls:Ft,preview:fn,className:wn,rootClassName:vn,style:An}=Ht,Rn=Zt(Ht,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Zn,getPopupContainer:zn,className:Un,style:ar,preview:Fn}=(0,tn.dj)("image"),[ir]=(0,Bt.Z)("Image"),Ir=Zn("image",Ft),Lr=Zn(),Fr=(0,qt.Z)(Ir),[vr,Dr,Ur]=Xt(Ir,Fr),gr=Ae()(vn,Dr,Ur,Fr),Zr=Ae()(wn,Dr,Un),[jr]=(0,Mt.Cn)("ImagePreview",typeof fn=="object"?fn.zIndex:void 0),yi=b.useMemo(()=>{if(fn===!1)return fn;const Kr=typeof fn=="object"?fn:{},{getContainer:si,closeIcon:ni,rootClassName:Mr}=Kr,Vr=Zt(Kr,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:b.createElement("div",{className:`${Ir}-mask-info`},b.createElement(oe.Z,null),ir==null?void 0:ir.preview),icons:Gt},Vr),{rootClassName:Ae()(gr,Mr),getContainer:si!=null?si:zn,transitionName:(0,Rt.m)(Lr,"zoom",Kr.transitionName),maskTransitionName:(0,Rt.m)(Lr,"fade",Kr.maskTransitionName),zIndex:jr,closeIcon:ni!=null?ni:Fn==null?void 0:Fn.closeIcon})},[fn,ir,Fn==null?void 0:Fn.closeIcon]),Yr=Object.assign(Object.assign({},ar),An);return vr(b.createElement(at,Object.assign({prefixCls:Ir,preview:yi,rootClassName:gr,className:Zr,style:Yr},Rn)))};nn.PreviewGroup=ur;var Cn=nn},4875:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return yn}});var b=ae(59301),oe=ae(84105),we=ae(87395),Ae=ae(92310),de=ae.n(Ae),ve=ae(60499),re=ae(18642),se=ae(43749),fe=ae(72190),E=ae(42244),te=ae(38705),ne=ae(17212);function ge(){return typeof BigInt=="function"}function Ce(Et){return!Et&&Et!==0&&!Number.isNaN(Et)||!String(Et).trim()}function be(Et){var Wt=Et.trim(),Jt=Wt.startsWith("-");Jt&&(Wt=Wt.slice(1)),Wt=Wt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Wt.startsWith(".")&&(Wt="0".concat(Wt));var bn=Wt||"0",kn=bn.split("."),tr=kn[0]||"0",pr=kn[1]||"0";tr==="0"&&pr==="0"&&(Jt=!1);var xr=Jt?"-":"";return{negative:Jt,negativeStr:xr,trimStr:bn,integerStr:tr,decimalStr:pr,fullStr:"".concat(xr).concat(bn)}}function le(Et){var Wt=String(Et);return!Number.isNaN(Number(Wt))&&Wt.includes("e")}function Ee(Et){var Wt=String(Et);if(le(Et)){var Jt=Number(Wt.slice(Wt.indexOf("e-")+2)),bn=Wt.match(/\.(\d+)/);return bn!=null&&bn[1]&&(Jt+=bn[1].length),Jt}return Wt.includes(".")&&Ie(Wt)?Wt.length-Wt.indexOf(".")-1:0}function Pe(Et){var Wt=String(Et);if(le(Et)){if(Et>Number.MAX_SAFE_INTEGER)return String(ge()?BigInt(Et).toString():Number.MAX_SAFE_INTEGER);if(Et<Number.MIN_SAFE_INTEGER)return String(ge()?BigInt(Et).toString():Number.MIN_SAFE_INTEGER);Wt=Et.toFixed(Ee(Wt))}return be(Wt).fullStr}function Ie(Et){return typeof Et=="number"?!Number.isNaN(Et):Et?/^\s*-?\d+(\.\d+)?\s*$/.test(Et)||/^\s*-?\d+\.\s*$/.test(Et)||/^\s*-?\.\d+\s*$/.test(Et):!1}var Re=function(){function Et(Wt){if((0,te.Z)(this,Et),(0,re.Z)(this,"origin",""),(0,re.Z)(this,"negative",void 0),(0,re.Z)(this,"integer",void 0),(0,re.Z)(this,"decimal",void 0),(0,re.Z)(this,"decimalLen",void 0),(0,re.Z)(this,"empty",void 0),(0,re.Z)(this,"nan",void 0),Ce(Wt)){this.empty=!0;return}if(this.origin=String(Wt),Wt==="-"||Number.isNaN(Wt)){this.nan=!0;return}var Jt=Wt;if(le(Jt)&&(Jt=Number(Jt)),Jt=typeof Jt=="string"?Jt:Pe(Jt),Ie(Jt)){var bn=be(Jt);this.negative=bn.negative;var kn=bn.trimStr.split(".");this.integer=BigInt(kn[0]);var tr=kn[1]||"0";this.decimal=BigInt(tr),this.decimalLen=tr.length}else this.nan=!0}return(0,ne.Z)(Et,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Jt){var bn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Jt,"0"));return BigInt(bn)}},{key:"negate",value:function(){var Jt=new Et(this.toString());return Jt.negative=!Jt.negative,Jt}},{key:"cal",value:function(Jt,bn,kn){var tr=Math.max(this.getDecimalStr().length,Jt.getDecimalStr().length),pr=this.alignDecimal(tr),xr=Jt.alignDecimal(tr),Yn=bn(pr,xr).toString(),mr=kn(tr),Wn=be(Yn),xn=Wn.negativeStr,Pn=Wn.trimStr,Tn="".concat(xn).concat(Pn.padStart(mr+1,"0"));return new Et("".concat(Tn.slice(0,-mr),".").concat(Tn.slice(-mr)))}},{key:"add",value:function(Jt){if(this.isInvalidate())return new Et(Jt);var bn=new Et(Jt);return bn.isInvalidate()?this:this.cal(bn,function(kn,tr){return kn+tr},function(kn){return kn})}},{key:"multi",value:function(Jt){var bn=new Et(Jt);return this.isInvalidate()||bn.isInvalidate()?new Et(NaN):this.cal(bn,function(kn,tr){return kn*tr},function(kn){return kn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Jt){return this.toString()===(Jt==null?void 0:Jt.toString())}},{key:"lessEquals",value:function(Jt){return this.add(Jt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Jt?this.isInvalidate()?"":be("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Et}(),Me=function(){function Et(Wt){if((0,te.Z)(this,Et),(0,re.Z)(this,"origin",""),(0,re.Z)(this,"number",void 0),(0,re.Z)(this,"empty",void 0),Ce(Wt)){this.empty=!0;return}this.origin=String(Wt),this.number=Number(Wt)}return(0,ne.Z)(Et,[{key:"negate",value:function(){return new Et(-this.toNumber())}},{key:"add",value:function(Jt){if(this.isInvalidate())return new Et(Jt);var bn=Number(Jt);if(Number.isNaN(bn))return this;var kn=this.number+bn;if(kn>Number.MAX_SAFE_INTEGER)return new Et(Number.MAX_SAFE_INTEGER);if(kn<Number.MIN_SAFE_INTEGER)return new Et(Number.MIN_SAFE_INTEGER);var tr=Math.max(Ee(this.number),Ee(bn));return new Et(kn.toFixed(tr))}},{key:"multi",value:function(Jt){var bn=Number(Jt);if(this.isInvalidate()||Number.isNaN(bn))return new Et(NaN);var kn=this.number*bn;if(kn>Number.MAX_SAFE_INTEGER)return new Et(Number.MAX_SAFE_INTEGER);if(kn<Number.MIN_SAFE_INTEGER)return new Et(Number.MIN_SAFE_INTEGER);var tr=Math.max(Ee(this.number),Ee(bn));return new Et(kn.toFixed(tr))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Jt){return this.toNumber()===(Jt==null?void 0:Jt.toNumber())}},{key:"lessEquals",value:function(Jt){return this.add(Jt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Jt?this.isInvalidate()?"":Pe(this.number):this.origin}}]),Et}();function ye(Et){return ge()?new Re(Et):new Me(Et)}function Te(Et,Wt,Jt){var bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Et==="")return"";var kn=be(Et),tr=kn.negativeStr,pr=kn.integerStr,xr=kn.decimalStr,Yn="".concat(Wt).concat(xr),mr="".concat(tr).concat(pr);if(Jt>=0){var Wn=Number(xr[Jt]);if(Wn>=5&&!bn){var xn=ye(Et).add("".concat(tr,"0.").concat("0".repeat(Jt)).concat(10-Wn));return Te(xn.toString(),Wt,Jt,bn)}return Jt===0?mr:"".concat(mr).concat(Wt).concat(xr.padEnd(Jt,"0").slice(0,Jt))}return Yn===".0"?mr:"".concat(mr).concat(Yn)}var Fe=ye,_e=ae(36901),Oe=ae(34280);function Ke(Et,Wt){return typeof Proxy!="undefined"&&Et?new Proxy(Et,{get:function(bn,kn){if(Wt[kn])return Wt[kn];var tr=bn[kn];return typeof tr=="function"?tr.bind(bn):tr}}):Et}var We=ae(8654),Ne=ae(48736);function Ye(Et,Wt){var Jt=(0,b.useRef)(null);function bn(){try{var tr=Et.selectionStart,pr=Et.selectionEnd,xr=Et.value,Yn=xr.substring(0,tr),mr=xr.substring(pr);Jt.current={start:tr,end:pr,value:xr,beforeTxt:Yn,afterTxt:mr}}catch(Wn){}}function kn(){if(Et&&Jt.current&&Wt)try{var tr=Et.value,pr=Jt.current,xr=pr.beforeTxt,Yn=pr.afterTxt,mr=pr.start,Wn=tr.length;if(tr.startsWith(xr))Wn=xr.length;else if(tr.endsWith(Yn))Wn=tr.length-Jt.current.afterTxt.length;else{var xn=xr[mr-1],Pn=tr.indexOf(xn,mr-1);Pn!==-1&&(Wn=Pn+1)}Et.setSelectionRange(Wn,Wn)}catch(Tn){(0,Ne.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Tn.message))}}return[bn,kn]}var Je=ae(49658),He=function(){var Wt=(0,b.useState)(!1),Jt=(0,fe.Z)(Wt,2),bn=Jt[0],kn=Jt[1];return(0,Oe.Z)(function(){kn((0,Je.Z)())},[]),bn},lt=He,ft=ae(16089),tt=200,Ot=600;function nt(Et){var Wt=Et.prefixCls,Jt=Et.upNode,bn=Et.downNode,kn=Et.upDisabled,tr=Et.downDisabled,pr=Et.onStep,xr=b.useRef(),Yn=b.useRef([]),mr=b.useRef();mr.current=pr;var Wn=function(){clearTimeout(xr.current)},xn=function(Sr,Er){Sr.preventDefault(),Wn(),mr.current(Er);function Nr(){mr.current(Er),xr.current=setTimeout(Nr,tt)}xr.current=setTimeout(Nr,Ot)};b.useEffect(function(){return function(){Wn(),Yn.current.forEach(function(Cr){return ft.Z.cancel(Cr)})}},[]);var Pn=lt();if(Pn)return null;var Tn="".concat(Wt,"-handler"),In=de()(Tn,"".concat(Tn,"-up"),(0,re.Z)({},"".concat(Tn,"-up-disabled"),kn)),Kn=de()(Tn,"".concat(Tn,"-down"),(0,re.Z)({},"".concat(Tn,"-down-disabled"),tr)),jn=function(){return Yn.current.push((0,ft.Z)(Wn))},nr={unselectable:"on",role:"button",onMouseUp:jn,onMouseLeave:jn};return b.createElement("div",{className:"".concat(Tn,"-wrap")},b.createElement("span",(0,ve.Z)({},nr,{onMouseDown:function(Sr){xn(Sr,!0)},"aria-label":"Increase Value","aria-disabled":kn,className:In}),Jt||b.createElement("span",{unselectable:"on",className:"".concat(Wt,"-handler-up-inner")})),b.createElement("span",(0,ve.Z)({},nr,{onMouseDown:function(Sr){xn(Sr,!1)},"aria-label":"Decrease Value","aria-disabled":tr,className:Kn}),bn||b.createElement("span",{unselectable:"on",className:"".concat(Wt,"-handler-down-inner")})))}function Ze(Et){var Wt=typeof Et=="number"?Pe(Et):be(Et).fullStr,Jt=Wt.includes(".");return Jt?be(Wt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Et+"0"}var Ge=ae(30292),$e=function(){var Et=(0,b.useRef)(0),Wt=function(){ft.Z.cancel(Et.current)};return(0,b.useEffect)(function(){return Wt},[]),function(Jt){Wt(),Et.current=(0,ft.Z)(function(){Jt()})}},qe=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],Ve=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],mt=function(Wt,Jt){return Wt||Jt.isEmpty()?Jt.toString():Jt.toNumber()},st=function(Wt){var Jt=Fe(Wt);return Jt.isInvalidate()?null:Jt},Lt=b.forwardRef(function(Et,Wt){var Jt=Et.prefixCls,bn=Et.className,kn=Et.style,tr=Et.min,pr=Et.max,xr=Et.step,Yn=xr===void 0?1:xr,mr=Et.defaultValue,Wn=Et.value,xn=Et.disabled,Pn=Et.readOnly,Tn=Et.upHandler,In=Et.downHandler,Kn=Et.keyboard,jn=Et.changeOnWheel,nr=jn===void 0?!1:jn,Cr=Et.controls,Sr=Cr===void 0?!0:Cr,Er=Et.classNames,Nr=Et.stringMode,Tr=Et.parser,zr=Et.formatter,Rr=Et.precision,Ln=Et.decimalSeparator,Qn=Et.onChange,Ar=Et.onInput,wr=Et.onPressEnter,zt=Et.onStep,It=Et.changeOnBlur,Dt=It===void 0?!0:It,Vt=Et.domRef,Nt=(0,E.Z)(Et,qe),Kt="".concat(Jt,"-input"),ut=b.useRef(null),Qt=b.useState(!1),on=(0,fe.Z)(Qt,2),an=on[0],Xt=on[1],Yt=b.useRef(!1),Gt=b.useRef(!1),dn=b.useRef(!1),ur=b.useState(function(){return Fe(Wn!=null?Wn:mr)}),Zt=(0,fe.Z)(ur,2),nn=Zt[0],Cn=Zt[1];function Ht(hr){Wn===void 0&&Cn(hr)}var Ft=b.useCallback(function(hr,Gn){if(!Gn)return Rr>=0?Rr:Math.max(Ee(hr),Ee(Yn))},[Rr,Yn]),fn=b.useCallback(function(hr){var Gn=String(hr);if(Tr)return Tr(Gn);var kr=Gn;return Ln&&(kr=kr.replace(Ln,".")),kr.replace(/[^\w.-]+/g,"")},[Tr,Ln]),wn=b.useRef(""),vn=b.useCallback(function(hr,Gn){if(zr)return zr(hr,{userTyping:Gn,input:String(wn.current)});var kr=typeof hr=="number"?Pe(hr):hr;if(!Gn){var Br=Ft(kr,Gn);if(Ie(kr)&&(Ln||Br>=0)){var _t=Ln||".";kr=Te(kr,_t,Br)}}return kr},[zr,Ft,Ln]),An=b.useState(function(){var hr=mr!=null?mr:Wn;return nn.isInvalidate()&&["string","number"].includes((0,se.Z)(hr))?Number.isNaN(hr)?"":hr:vn(nn.toString(),!1)}),Rn=(0,fe.Z)(An,2),Zn=Rn[0],zn=Rn[1];wn.current=Zn;function Un(hr,Gn){zn(vn(hr.isInvalidate()?hr.toString(!1):hr.toString(!Gn),Gn))}var ar=b.useMemo(function(){return st(pr)},[pr,Rr]),Fn=b.useMemo(function(){return st(tr)},[tr,Rr]),ir=b.useMemo(function(){return!ar||!nn||nn.isInvalidate()?!1:ar.lessEquals(nn)},[ar,nn]),Ir=b.useMemo(function(){return!Fn||!nn||nn.isInvalidate()?!1:nn.lessEquals(Fn)},[Fn,nn]),Lr=Ye(ut.current,an),Fr=(0,fe.Z)(Lr,2),vr=Fr[0],Dr=Fr[1],Ur=function(Gn){return ar&&!Gn.lessEquals(ar)?ar:Fn&&!Fn.lessEquals(Gn)?Fn:null},gr=function(Gn){return!Ur(Gn)},Zr=function(Gn,kr){var Br=Gn,_t=gr(Br)||Br.isEmpty();if(!Br.isEmpty()&&!kr&&(Br=Ur(Br)||Br,_t=!0),!Pn&&!xn&&_t){var Bn=Br.toString(),Xn=Ft(Bn,kr);return Xn>=0&&(Br=Fe(Te(Bn,".",Xn)),gr(Br)||(Br=Fe(Te(Bn,".",Xn,!0)))),Br.equals(nn)||(Ht(Br),Qn==null||Qn(Br.isEmpty()?null:mt(Nr,Br)),Wn===void 0&&Un(Br,kr)),Br}return nn},jr=$e(),yi=function hr(Gn){if(vr(),wn.current=Gn,zn(Gn),!Gt.current){var kr=fn(Gn),Br=Fe(kr);Br.isNaN()||Zr(Br,!0)}Ar==null||Ar(Gn),jr(function(){var _t=Gn;Tr||(_t=Gn.replace(/。/g,".")),_t!==Gn&&hr(_t)})},Yr=function(){Gt.current=!0},Kr=function(){Gt.current=!1,yi(ut.current.value)},si=function(Gn){yi(Gn.target.value)},ni=function(Gn){var kr;if(!(Gn&&ir||!Gn&&Ir)){Yt.current=!1;var Br=Fe(dn.current?Ze(Yn):Yn);Gn||(Br=Br.negate());var _t=(nn||Fe(0)).add(Br.toString()),Bn=Zr(_t,!1);zt==null||zt(mt(Nr,Bn),{offset:dn.current?Ze(Yn):Yn,type:Gn?"up":"down"}),(kr=ut.current)===null||kr===void 0||kr.focus()}},Mr=function(Gn){var kr=Fe(fn(Zn)),Br;kr.isNaN()?Br=Zr(nn,Gn):Br=Zr(kr,Gn),Wn!==void 0?Un(nn,!1):Br.isNaN()||Un(Br,!1)},Vr=function(){Yt.current=!0},yr=function(Gn){var kr=Gn.key,Br=Gn.shiftKey;Yt.current=!0,dn.current=Br,kr==="Enter"&&(Gt.current||(Yt.current=!1),Mr(!1),wr==null||wr(Gn)),Kn!==!1&&!Gt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(kr)&&(ni(kr==="Up"||kr==="ArrowUp"),Gn.preventDefault())},Jn=function(){Yt.current=!1,dn.current=!1};b.useEffect(function(){if(nr&&an){var hr=function(Br){ni(Br.deltaY<0),Br.preventDefault()},Gn=ut.current;if(Gn)return Gn.addEventListener("wheel",hr,{passive:!1}),function(){return Gn.removeEventListener("wheel",hr)}}});var sr=function(){Dt&&Mr(!1),Xt(!1),Yt.current=!1};return(0,Oe.o)(function(){nn.isInvalidate()||Un(nn,!1)},[Rr,zr]),(0,Oe.o)(function(){var hr=Fe(Wn);Cn(hr);var Gn=Fe(fn(Zn));(!hr.equals(Gn)||!Yt.current||zr)&&Un(hr,Yt.current)},[Wn]),(0,Oe.o)(function(){zr&&Dr()},[Zn]),b.createElement("div",{ref:Vt,className:de()(Jt,bn,(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(Jt,"-focused"),an),"".concat(Jt,"-disabled"),xn),"".concat(Jt,"-readonly"),Pn),"".concat(Jt,"-not-a-number"),nn.isNaN()),"".concat(Jt,"-out-of-range"),!nn.isInvalidate()&&!gr(nn))),style:kn,onFocus:function(){Xt(!0)},onBlur:sr,onKeyDown:yr,onKeyUp:Jn,onCompositionStart:Yr,onCompositionEnd:Kr,onBeforeInput:Vr},Sr&&b.createElement(nt,{prefixCls:Jt,upNode:Tn,downNode:In,upDisabled:ir,downDisabled:Ir,onStep:ni}),b.createElement("div",{className:"".concat(Kt,"-wrap")},b.createElement("input",(0,ve.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":tr,"aria-valuemax":pr,"aria-valuenow":nn.isInvalidate()?null:nn.toString(),step:Yn},Nt,{ref:(0,We.sQ)(ut,Wt),className:Kt,value:Zn,onChange:si,disabled:xn,readOnly:Pn}))))}),ct=b.forwardRef(function(Et,Wt){var Jt=Et.disabled,bn=Et.style,kn=Et.prefixCls,tr=kn===void 0?"rc-input-number":kn,pr=Et.value,xr=Et.prefix,Yn=Et.suffix,mr=Et.addonBefore,Wn=Et.addonAfter,xn=Et.className,Pn=Et.classNames,Tn=(0,E.Z)(Et,Ve),In=b.useRef(null),Kn=b.useRef(null),jn=b.useRef(null),nr=function(Sr){jn.current&&(0,Ge.nH)(jn.current,Sr)};return b.useImperativeHandle(Wt,function(){return Ke(jn.current,{focus:nr,nativeElement:In.current.nativeElement||Kn.current})}),b.createElement(_e.BaseInput,{className:xn,triggerFocus:nr,prefixCls:tr,value:pr,disabled:Jt,style:bn,prefix:xr,suffix:Yn,addonAfter:Wn,addonBefore:mr,classNames:Pn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:In},b.createElement(Lt,(0,ve.Z)({prefixCls:tr,disabled:Jt,ref:jn,domRef:Kn,className:Pn==null?void 0:Pn.input},Tn)))}),Tt=ct,xt=Tt,wt=ae(62487),yt=ae(82855),je=ae(48755),ue=ae(60840),ie=ae(2171),ke=ae(83397),Xe=ae(31756),De=ae(56553),pe=ae(24971),x=ae(70045),me=ae(36237),Le=ae(53075),Se=ae(64910),Be=ae(39082),Qe=ae(63356),it=ae(56119),ot=ae(16931),at=ae(51636),Mt=ae(17835);const Rt=Et=>{var Wt;const Jt=(Wt=Et.handleVisible)!==null&&Wt!==void 0?Wt:"auto",bn=Et.controlHeightSM-Et.lineWidth*2;return Object.assign(Object.assign({},(0,Se.T)(Et)),{controlWidth:90,handleWidth:bn,handleFontSize:Et.fontSize/2,handleVisible:Jt,handleActiveBg:Et.colorFillAlter,handleBg:Et.colorBgContainer,filledHandleBg:new Mt.FastColor(Et.colorFillSecondary).onBackground(Et.colorBgContainer).toHexString(),handleHoverColor:Et.colorPrimary,handleBorderColor:Et.colorBorder,handleOpacity:Jt===!0?1:0,handleVisibleWidth:Jt===!0?bn:0})},tn=(Et,Wt)=>{let{componentCls:Jt,borderRadiusSM:bn,borderRadiusLG:kn}=Et;const tr=Wt==="lg"?kn:bn;return{[`&-${Wt}`]:{[`${Jt}-handler-wrap`]:{borderStartEndRadius:tr,borderEndEndRadius:tr},[`${Jt}-handler-up`]:{borderStartEndRadius:tr},[`${Jt}-handler-down`]:{borderEndEndRadius:tr}}}},qt=Et=>{const{componentCls:Wt,lineWidth:Jt,lineType:bn,borderRadius:kn,inputFontSizeSM:tr,inputFontSizeLG:pr,controlHeightLG:xr,controlHeightSM:Yn,colorError:mr,paddingInlineSM:Wn,paddingBlockSM:xn,paddingBlockLG:Pn,paddingInlineLG:Tn,colorTextDescription:In,motionDurationMid:Kn,handleHoverColor:jn,handleOpacity:nr,paddingInline:Cr,paddingBlock:Sr,handleBg:Er,handleActiveBg:Nr,colorTextDisabled:Tr,borderRadiusSM:zr,borderRadiusLG:Rr,controlWidth:Ln,handleBorderColor:Qn,filledHandleBg:Ar,lineHeightLG:wr,calc:zt}=Et;return[{[Wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Et)),(0,Le.ik)(Et)),{display:"inline-block",width:Ln,margin:0,padding:0,borderRadius:kn}),(0,Be.qG)(Et,{[`${Wt}-handler-wrap`]:{background:Er,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,me.unit)(Jt)} ${bn} ${Qn}`}}})),(0,Be.H8)(Et,{[`${Wt}-handler-wrap`]:{background:Ar,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,me.unit)(Jt)} ${bn} ${Qn}`}},"&:focus-within":{[`${Wt}-handler-wrap`]:{background:Er}}})),(0,Be.vc)(Et,{[`${Wt}-handler-wrap`]:{background:Er,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,me.unit)(Jt)} ${bn} ${Qn}`}}})),(0,Be.Mu)(Et)),{"&-rtl":{direction:"rtl",[`${Wt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:pr,lineHeight:wr,borderRadius:Rr,[`input${Wt}-input`]:{height:zt(xr).sub(zt(Jt).mul(2)).equal(),padding:`${(0,me.unit)(Pn)} ${(0,me.unit)(Tn)}`}},"&-sm":{padding:0,fontSize:tr,borderRadius:zr,[`input${Wt}-input`]:{height:zt(Yn).sub(zt(Jt).mul(2)).equal(),padding:`${(0,me.unit)(xn)} ${(0,me.unit)(Wn)}`}},"&-out-of-range":{[`${Wt}-input-wrap`]:{input:{color:mr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Et)),(0,Le.s7)(Et)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Wt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Wt}-group-addon`]:{borderRadius:Rr,fontSize:Et.fontSizeLG}},"&-sm":{[`${Wt}-group-addon`]:{borderRadius:zr}}},(0,Be.ir)(Et)),(0,Be.S5)(Et)),{[`&:not(${Wt}-compact-first-item):not(${Wt}-compact-last-item)${Wt}-compact-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderRadius:0}},[`&:not(${Wt}-compact-last-item)${Wt}-compact-first-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Wt}-compact-first-item)${Wt}-compact-last-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Wt}-input`]:{cursor:"not-allowed"},[Wt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Et)),{width:"100%",padding:`${(0,me.unit)(Sr)} ${(0,me.unit)(Cr)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:kn,outline:0,transition:`all ${Kn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Le.nz)(Et.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Wt}-handler-wrap, &-focused ${Wt}-handler-wrap`]:{width:Et.handleWidth,opacity:1}})},{[Wt]:Object.assign(Object.assign(Object.assign({[`${Wt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Et.handleVisibleWidth,opacity:nr,height:"100%",borderStartStartRadius:0,borderStartEndRadius:kn,borderEndEndRadius:kn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Kn}`,overflow:"hidden",[`${Wt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${Wt}-handler-up-inner,
${Wt}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:Et.handleFontSize}}},[`${Wt}-handler`]:{height:"50%",overflow:"hidden",color:In,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,me.unit)(Jt)} ${bn} ${Qn}`,transition:`all ${Kn} linear`,"&:active":{background:Nr},"&:hover":{height:"60%",[`
${Wt}-handler-up-inner,
${Wt}-handler-down-inner
`]:{color:jn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Qe.Ro)()),{color:In,transition:`all ${Kn} linear`,userSelect:"none"})},[`${Wt}-handler-up`]:{borderStartEndRadius:kn},[`${Wt}-handler-down`]:{borderEndEndRadius:kn}},tn(Et,"lg")),tn(Et,"sm")),{"&-disabled, &-readonly":{[`${Wt}-handler-wrap`]:{display:"none"},[`${Wt}-input`]:{color:"inherit"}},[`
${Wt}-handler-up-disabled,
${Wt}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${Wt}-handler-up-disabled:hover &-handler-up-inner,
${Wt}-handler-down-disabled:hover &-handler-down-inner
`]:{color:Tr}})}]},Bt=Et=>{const{componentCls:Wt,paddingBlock:Jt,paddingInline:bn,inputAffixPadding:kn,controlWidth:tr,borderRadiusLG:pr,borderRadiusSM:xr,paddingInlineLG:Yn,paddingInlineSM:mr,paddingBlockLG:Wn,paddingBlockSM:xn,motionDurationMid:Pn}=Et;return{[`${Wt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Wt}-input`]:{padding:`${(0,me.unit)(Jt)} 0`}},(0,Le.ik)(Et)),{position:"relative",display:"inline-flex",alignItems:"center",width:tr,padding:0,paddingInlineStart:bn,"&-lg":{borderRadius:pr,paddingInlineStart:Yn,[`input${Wt}-input`]:{padding:`${(0,me.unit)(Wn)} 0`}},"&-sm":{borderRadius:xr,paddingInlineStart:mr,[`input${Wt}-input`]:{padding:`${(0,me.unit)(xn)} 0`}},[`&:not(${Wt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Wt}-disabled`]:{background:"transparent"},[`> div${Wt}`]:{width:"100%",border:"none",outline:"none",[`&${Wt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Wt}-handler-wrap`]:{zIndex:2},[Wt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:kn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:bn,marginInlineStart:kn,transition:`margin ${Pn}`}},[`&:hover ${Wt}-handler-wrap, &-focused ${Wt}-handler-wrap`]:{width:Et.handleWidth,opacity:1},[`&:not(${Wt}-affix-wrapper-without-controls):hover ${Wt}-suffix`]:{marginInlineEnd:Et.calc(Et.handleWidth).add(bn).equal()}})}};var hn=(0,ot.I$)("InputNumber",Et=>{const Wt=(0,at.mergeToken)(Et,(0,Se.e)(Et));return[qt(Wt),Bt(Wt),(0,it.c)(Wt)]},Rt,{unitless:{handleOpacity:!0}}),$t=function(Et,Wt){var Jt={};for(var bn in Et)Object.prototype.hasOwnProperty.call(Et,bn)&&Wt.indexOf(bn)<0&&(Jt[bn]=Et[bn]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kn=0,bn=Object.getOwnPropertySymbols(Et);kn<bn.length;kn++)Wt.indexOf(bn[kn])<0&&Object.prototype.propertyIsEnumerable.call(Et,bn[kn])&&(Jt[bn[kn]]=Et[bn[kn]]);return Jt};const Ct=b.forwardRef((Et,Wt)=>{const{getPrefixCls:Jt,direction:bn}=b.useContext(je.E_),kn=b.useRef(null);b.useImperativeHandle(Wt,()=>kn.current);const{className:tr,rootClassName:pr,size:xr,disabled:Yn,prefixCls:mr,addonBefore:Wn,addonAfter:xn,prefix:Pn,suffix:Tn,bordered:In,readOnly:Kn,status:jn,controls:nr,variant:Cr}=Et,Sr=$t(Et,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Er=Jt("input-number",mr),Nr=(0,ke.Z)(Er),[Tr,zr,Rr]=hn(Er,Nr),{compactSize:Ln,compactItemClassnames:Qn}=(0,x.ri)(Er,bn);let Ar=b.createElement(we.Z,{className:`${Er}-handler-up-inner`}),wr=b.createElement(oe.Z,{className:`${Er}-handler-down-inner`});const zt=typeof nr=="boolean"?nr:void 0;typeof nr=="object"&&(Ar=typeof nr.upIcon=="undefined"?Ar:b.createElement("span",{className:`${Er}-handler-up-inner`},nr.upIcon),wr=typeof nr.downIcon=="undefined"?wr:b.createElement("span",{className:`${Er}-handler-down-inner`},nr.downIcon));const{hasFeedback:It,status:Dt,isFormItemInput:Vt,feedbackIcon:Nt}=b.useContext(De.aM),Kt=(0,yt.F)(Dt,jn),ut=(0,Xe.Z)(Zt=>{var nn;return(nn=xr!=null?xr:Ln)!==null&&nn!==void 0?nn:Zt}),Qt=b.useContext(ie.Z),on=Yn!=null?Yn:Qt,[an,Xt]=(0,pe.Z)("inputNumber",Cr,In),Yt=It&&b.createElement(b.Fragment,null,Nt),Gt=de()({[`${Er}-lg`]:ut==="large",[`${Er}-sm`]:ut==="small",[`${Er}-rtl`]:bn==="rtl",[`${Er}-in-form-item`]:Vt},zr),dn=`${Er}-group`,ur=b.createElement(xt,Object.assign({ref:kn,disabled:on,className:de()(Rr,Nr,tr,pr,Qn),upHandler:Ar,downHandler:wr,prefixCls:Er,readOnly:Kn,controls:zt,prefix:Pn,suffix:Yt||Tn,addonBefore:Wn&&b.createElement(wt.Z,{form:!0,space:!0},Wn),addonAfter:xn&&b.createElement(wt.Z,{form:!0,space:!0},xn),classNames:{input:Gt,variant:de()({[`${Er}-${an}`]:Xt},(0,yt.Z)(Er,Kt,It)),affixWrapper:de()({[`${Er}-affix-wrapper-sm`]:ut==="small",[`${Er}-affix-wrapper-lg`]:ut==="large",[`${Er}-affix-wrapper-rtl`]:bn==="rtl",[`${Er}-affix-wrapper-without-controls`]:nr===!1||on},zr),wrapper:de()({[`${dn}-rtl`]:bn==="rtl"},zr),groupWrapper:de()({[`${Er}-group-wrapper-sm`]:ut==="small",[`${Er}-group-wrapper-lg`]:ut==="large",[`${Er}-group-wrapper-rtl`]:bn==="rtl",[`${Er}-group-wrapper-${an}`]:Xt},(0,yt.Z)(`${Er}-group-wrapper`,Kt,It),zr)}},Sr));return Tr(ur)}),jt=Ct,ln=Et=>b.createElement(ue.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(Ct,Object.assign({},Et)));jt._InternalPanelDoNotUseOrYouWillBeFired=ln;var yn=jt},49397:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Me}});var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(36901),de=ae(8654),ve=ae(62487),re=ae(86013),se=ae(82855),fe=ae(48755),E=ae(2171),te=ae(83397),ne=ae(31756),ge=ae(56553),Ce=ae(24971),be=ae(70045),le=ae(23826),Ee=ae(53075);function Pe(ye){return!!(ye.prefix||ye.suffix||ye.allowClear||ye.showCount)}var Ie=function(ye,Te){var Fe={};for(var _e in ye)Object.prototype.hasOwnProperty.call(ye,_e)&&Te.indexOf(_e)<0&&(Fe[_e]=ye[_e]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,_e=Object.getOwnPropertySymbols(ye);Oe<_e.length;Oe++)Te.indexOf(_e[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ye,_e[Oe])&&(Fe[_e[Oe]]=ye[_e[Oe]]);return Fe},Me=(0,b.forwardRef)((ye,Te)=>{const{prefixCls:Fe,bordered:_e=!0,status:Oe,size:Ke,disabled:We,onBlur:Ne,onFocus:Ye,suffix:Je,allowClear:He,addonAfter:lt,addonBefore:ft,className:tt,style:Ot,styles:nt,rootClassName:Ze,onChange:Ge,classNames:$e,variant:qe}=ye,Ve=Ie(ye,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:mt,direction:st,allowClear:Lt,autoComplete:ct,className:Tt,style:xt,classNames:wt,styles:yt}=(0,fe.dj)("input"),je=mt("input",Fe),ue=(0,b.useRef)(null),ie=(0,te.Z)(je),[ke,Xe,De]=(0,Ee.TI)(je,Ze),[pe]=(0,Ee.ZP)(je,ie),{compactSize:x,compactItemClassnames:me}=(0,be.ri)(je,st),Le=(0,ne.Z)(yn=>{var Et;return(Et=Ke!=null?Ke:x)!==null&&Et!==void 0?Et:yn}),Se=b.useContext(E.Z),Be=We!=null?We:Se,{status:Qe,hasFeedback:it,feedbackIcon:ot}=(0,b.useContext)(ge.aM),at=(0,se.F)(Qe,Oe),Mt=Pe(ye)||!!it,Rt=(0,b.useRef)(Mt),tn=(0,le.Z)(ue,!0),qt=yn=>{tn(),Ne==null||Ne(yn)},Bt=yn=>{tn(),Ye==null||Ye(yn)},hn=yn=>{tn(),Ge==null||Ge(yn)},$t=(it||Je)&&b.createElement(b.Fragment,null,Je,it&&ot),Ct=(0,re.Z)(He!=null?He:Lt),[jt,ln]=(0,Ce.Z)("input",qe,_e);return ke(pe(b.createElement(Ae.default,Object.assign({ref:(0,de.sQ)(Te,ue),prefixCls:je,autoComplete:ct},Ve,{disabled:Be,onBlur:qt,onFocus:Bt,style:Object.assign(Object.assign({},xt),Ot),styles:Object.assign(Object.assign({},yt),nt),suffix:$t,allowClear:Ct,className:we()(tt,Ze,De,ie,me,Tt),onChange:hn,addonBefore:ft&&b.createElement(ve.Z,{form:!0,space:!0},ft),addonAfter:lt&&b.createElement(ve.Z,{form:!0,space:!0},lt),classNames:Object.assign(Object.assign(Object.assign({},$e),wt),{input:we()({[`${je}-sm`]:Le==="small",[`${je}-lg`]:Le==="large",[`${je}-rtl`]:st==="rtl"},$e==null?void 0:$e.input,wt.input,Xe),variant:we()({[`${je}-${jt}`]:ln},(0,se.Z)(je,at)),affixWrapper:we()({[`${je}-affix-wrapper-sm`]:Le==="small",[`${je}-affix-wrapper-lg`]:Le==="large",[`${je}-affix-wrapper-rtl`]:st==="rtl"},Xe),wrapper:we()({[`${je}-group-rtl`]:st==="rtl"},Xe),groupWrapper:we()({[`${je}-group-wrapper-sm`]:Le==="small",[`${je}-group-wrapper-lg`]:Le==="large",[`${je}-group-wrapper-rtl`]:st==="rtl",[`${je}-group-wrapper-${jt}`]:ln},(0,se.Z)(`${je}-group-wrapper`,at,it),Xe)})}))))})},79809:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Te}});var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(22711),de=ae(86013),ve=ae(82855),re=ae(48755),se=ae(2171),fe=ae(83397),E=ae(31756),te=ae(56553),ne=ae(24971),ge=ae(70045),Ce=ae(30292),be=ae(53075),le=ae(16931),Ee=ae(51636),Pe=ae(64910);const Ie=Fe=>{const{componentCls:_e,paddingLG:Oe}=Fe,Ke=`${_e}-textarea`;return{[`textarea${_e}`]:{maxWidth:"100%",height:"auto",minHeight:Fe.controlHeight,lineHeight:Fe.lineHeight,verticalAlign:"bottom",transition:`all ${Fe.motionDurationSlow}`,resize:"vertical",[`&${_e}-mouse-active`]:{transition:`all ${Fe.motionDurationSlow}, height 0s, width 0s`}},[`${_e}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Ke]:{position:"relative","&-show-count":{[`> ${_e}`]:{height:"100%"},[`${_e}-data-count`]:{position:"absolute",bottom:Fe.calc(Fe.fontSize).mul(Fe.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Fe.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${_e},
&-affix-wrapper${Ke}-has-feedback ${_e}
`]:{paddingInlineEnd:Oe},[`&-affix-wrapper${_e}-affix-wrapper`]:{padding:0,[`> textarea${_e}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Fe.calc(Fe.controlHeight).sub(Fe.calc(Fe.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${_e}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${_e}-clear-icon`]:{position:"absolute",insetInlineEnd:Fe.paddingInline,insetBlockStart:Fe.paddingXS},[`${Ke}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Fe.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${_e}-affix-wrapper-sm`]:{[`${_e}-suffix`]:{[`${_e}-clear-icon`]:{insetInlineEnd:Fe.paddingInlineSM}}}}}};var Re=(0,le.I$)(["Input","TextArea"],Fe=>{const _e=(0,Ee.mergeToken)(Fe,(0,Pe.e)(Fe));return[Ie(_e)]},Pe.T,{resetFont:!1}),Me=function(Fe,_e){var Oe={};for(var Ke in Fe)Object.prototype.hasOwnProperty.call(Fe,Ke)&&_e.indexOf(Ke)<0&&(Oe[Ke]=Fe[Ke]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ke=Object.getOwnPropertySymbols(Fe);We<Ke.length;We++)_e.indexOf(Ke[We])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ke[We])&&(Oe[Ke[We]]=Fe[Ke[We]]);return Oe},Te=(0,b.forwardRef)((Fe,_e)=>{var Oe;const{prefixCls:Ke,bordered:We=!0,size:Ne,disabled:Ye,status:Je,allowClear:He,classNames:lt,rootClassName:ft,className:tt,style:Ot,styles:nt,variant:Ze,showCount:Ge,onMouseDown:$e,onResize:qe}=Fe,Ve=Me(Fe,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:mt,direction:st,allowClear:Lt,autoComplete:ct,className:Tt,style:xt,classNames:wt,styles:yt}=(0,re.dj)("textArea"),je=b.useContext(se.Z),ue=Ye!=null?Ye:je,{status:ie,hasFeedback:ke,feedbackIcon:Xe}=b.useContext(te.aM),De=(0,ve.F)(ie,Je),pe=b.useRef(null);b.useImperativeHandle(_e,()=>{var ln;return{resizableTextArea:(ln=pe.current)===null||ln===void 0?void 0:ln.resizableTextArea,focus:yn=>{var Et,Wt;(0,Ce.nH)((Wt=(Et=pe.current)===null||Et===void 0?void 0:Et.resizableTextArea)===null||Wt===void 0?void 0:Wt.textArea,yn)},blur:()=>{var yn;return(yn=pe.current)===null||yn===void 0?void 0:yn.blur()}}});const x=mt("input",Ke),me=(0,fe.Z)(x),[Le,Se,Be]=(0,be.TI)(x,ft),[Qe]=Re(x,me),{compactSize:it,compactItemClassnames:ot}=(0,ge.ri)(x,st),at=(0,E.Z)(ln=>{var yn;return(yn=Ne!=null?Ne:it)!==null&&yn!==void 0?yn:ln}),[Mt,Rt]=(0,ne.Z)("textArea",Ze,We),tn=(0,de.Z)(He!=null?He:Lt),[qt,Bt]=b.useState(!1),[hn,$t]=b.useState(!1),Ct=ln=>{Bt(!0),$e==null||$e(ln);const yn=()=>{Bt(!1),document.removeEventListener("mouseup",yn)};document.addEventListener("mouseup",yn)},jt=ln=>{var yn,Et;if(qe==null||qe(ln),qt&&typeof getComputedStyle=="function"){const Wt=(Et=(yn=pe.current)===null||yn===void 0?void 0:yn.nativeElement)===null||Et===void 0?void 0:Et.querySelector("textarea");Wt&&getComputedStyle(Wt).resize==="both"&&$t(!0)}};return Le(Qe(b.createElement(Ae.default,Object.assign({autoComplete:ct},Ve,{style:Object.assign(Object.assign({},xt),Ot),styles:Object.assign(Object.assign({},yt),nt),disabled:ue,allowClear:tn,className:we()(Be,me,tt,ft,ot,Tt,hn&&`${x}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},lt),wt),{textarea:we()({[`${x}-sm`]:at==="small",[`${x}-lg`]:at==="large"},Se,lt==null?void 0:lt.textarea,wt.textarea,qt&&`${x}-mouse-active`),variant:we()({[`${x}-${Mt}`]:Rt},(0,ve.Z)(x,De)),affixWrapper:we()(`${x}-textarea-affix-wrapper`,{[`${x}-affix-wrapper-rtl`]:st==="rtl",[`${x}-affix-wrapper-sm`]:at==="small",[`${x}-affix-wrapper-lg`]:at==="large",[`${x}-textarea-show-count`]:Ge||((Oe=Fe.count)===null||Oe===void 0?void 0:Oe.show)},Se)}),prefixCls:x,suffix:ke&&b.createElement("span",{className:`${x}-textarea-suffix`},Xe),showCount:Ge,ref:pe,onResize:jt,onMouseDown:Ct}))))})},23826:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return oe}});var b=ae(59301);function oe(we,Ae){const de=(0,b.useRef)([]),ve=()=>{de.current.push(setTimeout(()=>{var re,se,fe,E;!((re=we.current)===null||re===void 0)&&re.input&&((se=we.current)===null||se===void 0?void 0:se.input.getAttribute("type"))==="password"&&(!((fe=we.current)===null||fe===void 0)&&fe.input.hasAttribute("value"))&&((E=we.current)===null||E===void 0||E.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(Ae&&ve(),()=>de.current.forEach(re=>{re&&clearTimeout(re)})),[]),ve}},37568:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return wt}});var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(48755),de=ae(56553),ve=ae(53075),se=yt=>{const{getPrefixCls:je,direction:ue}=(0,b.useContext)(Ae.E_),{prefixCls:ie,className:ke}=yt,Xe=je("input-group",ie),De=je("input"),[pe,x,me]=(0,ve.ZP)(De),Le=we()(Xe,me,{[`${Xe}-lg`]:yt.size==="large",[`${Xe}-sm`]:yt.size==="small",[`${Xe}-compact`]:yt.compact,[`${Xe}-rtl`]:ue==="rtl"},x,ke),Se=(0,b.useContext)(de.aM),Be=(0,b.useMemo)(()=>Object.assign(Object.assign({},Se),{isFormItemInput:!1}),[Se]);return pe(b.createElement("span",{className:Le,style:yt.style,onMouseEnter:yt.onMouseEnter,onMouseLeave:yt.onMouseLeave,onFocus:yt.onFocus,onBlur:yt.onBlur},b.createElement(de.aM.Provider,{value:Be},yt.children)))},fe=ae(49397),E=ae(77654),te=ae(6089),ne=ae(26112),ge=ae(82855),Ce=ae(31756),be=ae(16931),le=ae(51636),Ee=ae(64910);const Pe=yt=>{const{componentCls:je,paddingXS:ue}=yt;return{[je]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ue,"&-rtl":{direction:"rtl"},[`${je}-input`]:{textAlign:"center",paddingInline:yt.paddingXXS},[`&${je}-sm ${je}-input`]:{paddingInline:yt.calc(yt.paddingXXS).div(2).equal()},[`&${je}-lg ${je}-input`]:{paddingInline:yt.paddingXS}}}};var Ie=(0,be.I$)(["Input","OTP"],yt=>{const je=(0,le.mergeToken)(yt,(0,Ee.e)(yt));return[Pe(je)]},Ee.T),Re=ae(16089),Me=function(yt,je){var ue={};for(var ie in yt)Object.prototype.hasOwnProperty.call(yt,ie)&&je.indexOf(ie)<0&&(ue[ie]=yt[ie]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ie=Object.getOwnPropertySymbols(yt);ke<ie.length;ke++)je.indexOf(ie[ke])<0&&Object.prototype.propertyIsEnumerable.call(yt,ie[ke])&&(ue[ie[ke]]=yt[ie[ke]]);return ue},Te=b.forwardRef((yt,je)=>{const{value:ue,onChange:ie,onActiveChange:ke,index:Xe,mask:De}=yt,pe=Me(yt,["value","onChange","onActiveChange","index","mask"]),x=ue&&typeof De=="string"?De:ue,me=it=>{ie(Xe,it.target.value)},Le=b.useRef(null);b.useImperativeHandle(je,()=>Le.current);const Se=()=>{(0,Re.Z)(()=>{var it;const ot=(it=Le.current)===null||it===void 0?void 0:it.input;document.activeElement===ot&&ot&&ot.select()})},Be=it=>{const{key:ot,ctrlKey:at,metaKey:Mt}=it;ot==="ArrowLeft"?ke(Xe-1):ot==="ArrowRight"?ke(Xe+1):ot==="z"&&(at||Mt)&&it.preventDefault(),Se()},Qe=it=>{it.key==="Backspace"&&!ue&&ke(Xe-1),Se()};return b.createElement(fe.Z,Object.assign({type:De===!0?"password":"text"},pe,{ref:Le,value:x,onInput:me,onFocus:Se,onKeyDown:Be,onKeyUp:Qe,onMouseDown:Se,onMouseUp:Se}))}),Fe=function(yt,je){var ue={};for(var ie in yt)Object.prototype.hasOwnProperty.call(yt,ie)&&je.indexOf(ie)<0&&(ue[ie]=yt[ie]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ie=Object.getOwnPropertySymbols(yt);ke<ie.length;ke++)je.indexOf(ie[ke])<0&&Object.prototype.propertyIsEnumerable.call(yt,ie[ke])&&(ue[ie[ke]]=yt[ie[ke]]);return ue};function _e(yt){return(yt||"").split("")}const Oe=yt=>{const{index:je,prefixCls:ue,separator:ie}=yt,ke=typeof ie=="function"?ie(je):ie;return ke?b.createElement("span",{className:`${ue}-separator`},ke):null};var We=b.forwardRef((yt,je)=>{const{prefixCls:ue,length:ie=6,size:ke,defaultValue:Xe,value:De,onChange:pe,formatter:x,separator:me,variant:Le,disabled:Se,status:Be,autoFocus:Qe,mask:it,type:ot,onInput:at,inputMode:Mt}=yt,Rt=Fe(yt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:tn,direction:qt}=b.useContext(Ae.E_),Bt=tn("otp",ue),hn=(0,ne.Z)(Rt,{aria:!0,data:!0,attr:!0}),[$t,Ct,jt]=Ie(Bt),ln=(0,Ce.Z)(Pn=>ke!=null?ke:Pn),yn=b.useContext(de.aM),Et=(0,ge.F)(yn.status,Be),Wt=b.useMemo(()=>Object.assign(Object.assign({},yn),{status:Et,hasFeedback:!1,feedbackIcon:null}),[yn,Et]),Jt=b.useRef(null),bn=b.useRef({});b.useImperativeHandle(je,()=>({focus:()=>{var Pn;(Pn=bn.current[0])===null||Pn===void 0||Pn.focus()},blur:()=>{var Pn;for(let Tn=0;Tn<ie;Tn+=1)(Pn=bn.current[Tn])===null||Pn===void 0||Pn.blur()},nativeElement:Jt.current}));const kn=Pn=>x?x(Pn):Pn,[tr,pr]=b.useState(()=>_e(kn(Xe||"")));b.useEffect(()=>{De!==void 0&&pr(_e(De))},[De]);const xr=(0,te.Z)(Pn=>{pr(Pn),at&&at(Pn),pe&&Pn.length===ie&&Pn.every(Tn=>Tn)&&Pn.some((Tn,In)=>tr[In]!==Tn)&&pe(Pn.join(""))}),Yn=(0,te.Z)((Pn,Tn)=>{let In=(0,E.Z)(tr);for(let jn=0;jn<Pn;jn+=1)In[jn]||(In[jn]="");Tn.length<=1?In[Pn]=Tn:In=In.slice(0,Pn).concat(_e(Tn)),In=In.slice(0,ie);for(let jn=In.length-1;jn>=0&&!In[jn];jn-=1)In.pop();const Kn=kn(In.map(jn=>jn||" ").join(""));return In=_e(Kn).map((jn,nr)=>jn===" "&&!In[nr]?In[nr]:jn),In}),mr=(Pn,Tn)=>{var In;const Kn=Yn(Pn,Tn),jn=Math.min(Pn+Tn.length,ie-1);jn!==Pn&&Kn[Pn]!==void 0&&((In=bn.current[jn])===null||In===void 0||In.focus()),xr(Kn)},Wn=Pn=>{var Tn;(Tn=bn.current[Pn])===null||Tn===void 0||Tn.focus()},xn={variant:Le,disabled:Se,status:Et,mask:it,type:ot,inputMode:Mt};return $t(b.createElement("div",Object.assign({},hn,{ref:Jt,className:we()(Bt,{[`${Bt}-sm`]:ln==="small",[`${Bt}-lg`]:ln==="large",[`${Bt}-rtl`]:qt==="rtl"},jt,Ct)}),b.createElement(de.aM.Provider,{value:Wt},Array.from({length:ie}).map((Pn,Tn)=>{const In=`otp-${Tn}`,Kn=tr[Tn]||"";return b.createElement(b.Fragment,{key:In},b.createElement(Te,Object.assign({ref:jn=>{bn.current[Tn]=jn},index:Tn,size:ln,htmlSize:1,className:`${Bt}-input`,onChange:mr,value:Kn,onActiveChange:Wn,autoFocus:Tn===0&&Qe},xn)),Tn<ie-1&&b.createElement(Oe,{separator:me,index:Tn,prefixCls:Bt}))}))))}),Ne=ae(73331),Ye=ae(15277),Je=ae(2738),He=ae(8654),lt=ae(2171),ft=ae(23826),tt=function(yt,je){var ue={};for(var ie in yt)Object.prototype.hasOwnProperty.call(yt,ie)&&je.indexOf(ie)<0&&(ue[ie]=yt[ie]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ie=Object.getOwnPropertySymbols(yt);ke<ie.length;ke++)je.indexOf(ie[ke])<0&&Object.prototype.propertyIsEnumerable.call(yt,ie[ke])&&(ue[ie[ke]]=yt[ie[ke]]);return ue};const Ot=yt=>yt?b.createElement(Ye.Z,null):b.createElement(Ne.Z,null),nt={click:"onClick",hover:"onMouseOver"};var Ge=b.forwardRef((yt,je)=>{const{disabled:ue,action:ie="click",visibilityToggle:ke=!0,iconRender:Xe=Ot}=yt,De=b.useContext(lt.Z),pe=ue!=null?ue:De,x=typeof ke=="object"&&ke.visible!==void 0,[me,Le]=(0,b.useState)(()=>x?ke.visible:!1),Se=(0,b.useRef)(null);b.useEffect(()=>{x&&Le(ke.visible)},[x,ke]);const Be=(0,ft.Z)(Se),Qe=()=>{var ln;if(pe)return;me&&Be();const yn=!me;Le(yn),typeof ke=="object"&&((ln=ke.onVisibleChange)===null||ln===void 0||ln.call(ke,yn))},it=ln=>{const yn=nt[ie]||"",Et=Xe(me),Wt={[yn]:Qe,className:`${ln}-icon`,key:"passwordIcon",onMouseDown:Jt=>{Jt.preventDefault()},onMouseUp:Jt=>{Jt.preventDefault()}};return b.cloneElement(b.isValidElement(Et)?Et:b.createElement("span",null,Et),Wt)},{className:ot,prefixCls:at,inputPrefixCls:Mt,size:Rt}=yt,tn=tt(yt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:qt}=b.useContext(Ae.E_),Bt=qt("input",Mt),hn=qt("input-password",at),$t=ke&&it(hn),Ct=we()(hn,ot,{[`${hn}-${Rt}`]:!!Rt}),jt=Object.assign(Object.assign({},(0,Je.Z)(tn,["suffix","iconRender","visibilityToggle"])),{type:me?"text":"password",className:Ct,prefixCls:Bt,suffix:$t});return Rt&&(jt.size=Rt),b.createElement(fe.Z,Object.assign({ref:(0,He.sQ)(je,Se)},jt))}),$e=ae(47472),qe=ae(22703),Ve=ae(7939),mt=ae(70045),st=function(yt,je){var ue={};for(var ie in yt)Object.prototype.hasOwnProperty.call(yt,ie)&&je.indexOf(ie)<0&&(ue[ie]=yt[ie]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ie=Object.getOwnPropertySymbols(yt);ke<ie.length;ke++)je.indexOf(ie[ke])<0&&Object.prototype.propertyIsEnumerable.call(yt,ie[ke])&&(ue[ie[ke]]=yt[ie[ke]]);return ue},ct=b.forwardRef((yt,je)=>{const{prefixCls:ue,inputPrefixCls:ie,className:ke,size:Xe,suffix:De,enterButton:pe=!1,addonAfter:x,loading:me,disabled:Le,onSearch:Se,onChange:Be,onCompositionStart:Qe,onCompositionEnd:it}=yt,ot=st(yt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:at,direction:Mt}=b.useContext(Ae.E_),Rt=b.useRef(!1),tn=at("input-search",ue),qt=at("input",ie),{compactSize:Bt}=(0,mt.ri)(tn,Mt),hn=(0,Ce.Z)(mr=>{var Wn;return(Wn=Xe!=null?Xe:Bt)!==null&&Wn!==void 0?Wn:mr}),$t=b.useRef(null),Ct=mr=>{mr!=null&&mr.target&&mr.type==="click"&&Se&&Se(mr.target.value,mr,{source:"clear"}),Be==null||Be(mr)},jt=mr=>{var Wn;document.activeElement===((Wn=$t.current)===null||Wn===void 0?void 0:Wn.input)&&mr.preventDefault()},ln=mr=>{var Wn,xn;Se&&Se((xn=(Wn=$t.current)===null||Wn===void 0?void 0:Wn.input)===null||xn===void 0?void 0:xn.value,mr,{source:"input"})},yn=mr=>{Rt.current||me||ln(mr)},Et=typeof pe=="boolean"?b.createElement($e.Z,null):null,Wt=`${tn}-button`;let Jt;const bn=pe||{},kn=bn.type&&bn.type.__ANT_BUTTON===!0;kn||bn.type==="button"?Jt=(0,qe.Tm)(bn,Object.assign({onMouseDown:jt,onClick:mr=>{var Wn,xn;(xn=(Wn=bn==null?void 0:bn.props)===null||Wn===void 0?void 0:Wn.onClick)===null||xn===void 0||xn.call(Wn,mr),ln(mr)},key:"enterButton"},kn?{className:Wt,size:hn}:{})):Jt=b.createElement(Ve.ZP,{className:Wt,type:pe?"primary":void 0,size:hn,disabled:Le,key:"enterButton",onMouseDown:jt,onClick:ln,loading:me,icon:Et},pe),x&&(Jt=[Jt,(0,qe.Tm)(x,{key:"addonAfter"})]);const tr=we()(tn,{[`${tn}-rtl`]:Mt==="rtl",[`${tn}-${hn}`]:!!hn,[`${tn}-with-button`]:!!pe},ke),pr=Object.assign(Object.assign({},ot),{className:tr,prefixCls:qt,type:"search"}),xr=mr=>{Rt.current=!0,Qe==null||Qe(mr)},Yn=mr=>{Rt.current=!1,it==null||it(mr)};return b.createElement(fe.Z,Object.assign({ref:(0,He.sQ)($t,je),onPressEnter:yn},pr,{size:hn,onCompositionStart:xr,onCompositionEnd:Yn,addonAfter:Jt,suffix:De,onChange:Ct,disabled:Le}))}),Tt=ae(79809);const xt=fe.Z;xt.Group=se,xt.Search=ct,xt.TextArea=Tt.Z,xt.Password=Ge,xt.OTP=We;var wt=xt},24303:function(_n,pn,ae){"use strict";ae.d(pn,{D:function(){return Fe},Z:function(){return Ke}});var b=ae(59301),oe=ae(60499),we={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"},Ae=we,de=ae(7657),ve=function(Ne,Ye){return b.createElement(de.Z,(0,oe.Z)({},Ne,{ref:Ye,icon:Ae}))},re=b.forwardRef(ve),se=re,fe=ae(33853),E=ae(38819),te=ae(92310),ne=ae.n(te),ge=ae(2738),Ce=ae(48755),be=ae(6989),le=ae(36237),Ee=ae(48923),Pe=ae(16931);const Ie=We=>{const{componentCls:Ne,siderBg:Ye,motionDurationMid:Je,motionDurationSlow:He,antCls:lt,triggerHeight:ft,triggerColor:tt,triggerBg:Ot,headerHeight:nt,zeroTriggerWidth:Ze,zeroTriggerHeight:Ge,borderRadiusLG:$e,lightSiderBg:qe,lightTriggerColor:Ve,lightTriggerBg:mt,bodyBg:st}=We;return{[Ne]:{position:"relative",minWidth:0,background:Ye,transition:`all ${Je}, background 0s`,"&-has-trigger":{paddingBottom:ft},"&-right":{order:1},[`${Ne}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${lt}-menu${lt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Ne}-children`]:{overflow:"hidden"},[`${Ne}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ft,color:tt,lineHeight:(0,le.unit)(ft),textAlign:"center",background:Ot,cursor:"pointer",transition:`all ${Je}`},[`${Ne}-zero-width-trigger`]:{position:"absolute",top:nt,insetInlineEnd:We.calc(Ze).mul(-1).equal(),zIndex:1,width:Ze,height:Ge,color:tt,fontSize:We.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ye,borderRadius:`0 ${(0,le.unit)($e)} ${(0,le.unit)($e)} 0`,cursor:"pointer",transition:`background ${He} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${He}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:We.calc(Ze).mul(-1).equal(),borderRadius:`${(0,le.unit)($e)} 0 0 ${(0,le.unit)($e)}`}},"&-light":{background:qe,[`${Ne}-trigger`]:{color:Ve,background:mt},[`${Ne}-zero-width-trigger`]:{color:Ve,background:mt,border:`1px solid ${st}`,borderInlineStart:0}}}}};var Re=(0,Pe.I$)(["Layout","Sider"],We=>[Ie(We)],Ee.eh,{deprecatedTokens:Ee.jn}),Me=function(We,Ne){var Ye={};for(var Je in We)Object.prototype.hasOwnProperty.call(We,Je)&&Ne.indexOf(Je)<0&&(Ye[Je]=We[Je]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Je=Object.getOwnPropertySymbols(We);He<Je.length;He++)Ne.indexOf(Je[He])<0&&Object.prototype.propertyIsEnumerable.call(We,Je[He])&&(Ye[Je[He]]=We[Je[He]]);return Ye};const ye={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Te=We=>!Number.isNaN(Number.parseFloat(We))&&isFinite(We),Fe=b.createContext({}),_e=(()=>{let We=0;return function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return We+=1,`${Ne}${We}`}})();var Ke=b.forwardRef((We,Ne)=>{const{prefixCls:Ye,className:Je,trigger:He,children:lt,defaultCollapsed:ft=!1,theme:tt="dark",style:Ot={},collapsible:nt=!1,reverseArrow:Ze=!1,width:Ge=200,collapsedWidth:$e=80,zeroWidthTriggerStyle:qe,breakpoint:Ve,onCollapse:mt,onBreakpoint:st}=We,Lt=Me(We,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ct}=(0,b.useContext)(be.V),[Tt,xt]=(0,b.useState)("collapsed"in We?We.collapsed:ft),[wt,yt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in We&&xt(We.collapsed)},[We.collapsed]);const je=(hn,$t)=>{"collapsed"in We||xt(hn),mt==null||mt(hn,$t)},{getPrefixCls:ue,direction:ie}=(0,b.useContext)(Ce.E_),ke=ue("layout-sider",Ye),[Xe,De,pe]=Re(ke),x=(0,b.useRef)(null);x.current=hn=>{yt(hn.matches),st==null||st(hn.matches),Tt!==hn.matches&&je(hn.matches,"responsive")},(0,b.useEffect)(()=>{function hn(Ct){return x.current(Ct)}let $t;if(typeof window!="undefined"){const{matchMedia:Ct}=window;if(Ct&&Ve&&Ve in ye){$t=Ct(`screen and (max-width: ${ye[Ve]})`);try{$t.addEventListener("change",hn)}catch(jt){$t.addListener(hn)}hn($t)}}return()=>{try{$t==null||$t.removeEventListener("change",hn)}catch(Ct){$t==null||$t.removeListener(hn)}}},[Ve]),(0,b.useEffect)(()=>{const hn=_e("ant-sider-");return ct.addSider(hn),()=>ct.removeSider(hn)},[]);const me=()=>{je(!Tt,"clickTrigger")},Le=(0,ge.Z)(Lt,["collapsed"]),Se=Tt?$e:Ge,Be=Te(Se)?`${Se}px`:String(Se),Qe=parseFloat(String($e||0))===0?b.createElement("span",{onClick:me,className:ne()(`${ke}-zero-width-trigger`,`${ke}-zero-width-trigger-${Ze?"right":"left"}`),style:qe},He||b.createElement(se,null)):null,it=ie==="rtl"==!Ze,Mt={expanded:it?b.createElement(E.Z,null):b.createElement(fe.Z,null),collapsed:it?b.createElement(fe.Z,null):b.createElement(E.Z,null)}[Tt?"collapsed":"expanded"],Rt=He!==null?Qe||b.createElement("div",{className:`${ke}-trigger`,onClick:me,style:{width:Be}},He||Mt):null,tn=Object.assign(Object.assign({},Ot),{flex:`0 0 ${Be}`,maxWidth:Be,minWidth:Be,width:Be}),qt=ne()(ke,`${ke}-${tt}`,{[`${ke}-collapsed`]:!!Tt,[`${ke}-has-trigger`]:nt&&He!==null&&!Qe,[`${ke}-below`]:!!wt,[`${ke}-zero-width`]:parseFloat(Be)===0},Je,De,pe),Bt=b.useMemo(()=>({siderCollapsed:Tt}),[Tt]);return Xe(b.createElement(Fe.Provider,{value:Bt},b.createElement("aside",Object.assign({className:qt},Le,{style:tn,ref:Ne}),b.createElement("div",{className:`${ke}-children`},lt),nt||wt&&Qe?Rt:null)))})},6989:function(_n,pn,ae){"use strict";ae.d(pn,{V:function(){return oe}});var b=ae(59301);const oe=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(_n,pn,ae){"use strict";ae.d(pn,{eh:function(){return Ae},jn:function(){return de}});var b=ae(36237),oe=ae(16931);const we=ve=>{const{antCls:re,componentCls:se,colorText:fe,footerBg:E,headerHeight:te,headerPadding:ne,headerColor:ge,footerPadding:Ce,fontSize:be,bodyBg:le,headerBg:Ee}=ve;return{[se]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:le,"&, *":{boxSizing:"border-box"},[`&${se}-has-sider`]:{flexDirection:"row",[`> ${se}, > ${se}-content`]:{width:0}},[`${se}-header, &${se}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${se}-header`]:{height:te,padding:ne,color:ge,lineHeight:(0,b.unit)(te),background:Ee,[`${re}-menu`]:{lineHeight:"inherit"}},[`${se}-footer`]:{padding:Ce,color:fe,fontSize:be,background:E},[`${se}-content`]:{flex:"auto",color:fe,minHeight:0}}},Ae=ve=>{const{colorBgLayout:re,controlHeight:se,controlHeightLG:fe,colorText:E,controlHeightSM:te,marginXXS:ne,colorTextLightSolid:ge,colorBgContainer:Ce}=ve,be=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:re,colorBgTrigger:"#002140",bodyBg:re,headerBg:"#001529",headerHeight:se*2,headerPadding:`0 ${be}px`,headerColor:E,footerPadding:`${te}px ${be}px`,footerBg:re,siderBg:"#001529",triggerHeight:fe+ne*2,triggerBg:"#002140",triggerColor:ge,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:Ce,lightTriggerBg:Ce,lightTriggerColor:E}},de=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];pn.ZP=(0,oe.I$)("Layout",ve=>[we(ve)],Ae,{deprecatedTokens:de})},78857:function(_n,pn,ae){"use strict";ae.d(pn,{J:function(){return ve}});var b=ae(59301),oe=ae(8654),we=ae(62487),Ae=function(re,se){var fe={};for(var E in re)Object.prototype.hasOwnProperty.call(re,E)&&se.indexOf(E)<0&&(fe[E]=re[E]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,E=Object.getOwnPropertySymbols(re);te<E.length;te++)se.indexOf(E[te])<0&&Object.prototype.propertyIsEnumerable.call(re,E[te])&&(fe[E[te]]=re[E[te]]);return fe};const de=b.createContext(null),ve=b.forwardRef((re,se)=>{const{children:fe}=re,E=Ae(re,["children"]),te=b.useContext(de),ne=b.useMemo(()=>Object.assign(Object.assign({},te),E),[te,E.prefixCls,E.mode,E.selectable,E.rootClassName]),ge=(0,oe.t4)(fe),Ce=(0,oe.x1)(se,ge?(0,oe.C4)(fe):null);return b.createElement(de.Provider,{value:ne},b.createElement(we.Z,{space:!0},ge?b.cloneElement(fe,{ref:Ce}):fe))});pn.Z=de},93041:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return Xe}});var b=ae(59301),oe=ae(28321),we=ae(24303),Ae=ae(18785),de=ae(92310),ve=ae.n(de),re=ae(6089),se=ae(2738),fe=ae(86641),E=ae(22703),te=ae(48755),ne=ae(83397),Ce=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),be=function(De,pe){var x={};for(var me in De)Object.prototype.hasOwnProperty.call(De,me)&&pe.indexOf(me)<0&&(x[me]=De[me]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,me=Object.getOwnPropertySymbols(De);Le<me.length;Le++)pe.indexOf(me[Le])<0&&Object.prototype.propertyIsEnumerable.call(De,me[Le])&&(x[me[Le]]=De[me[Le]]);return x},Ee=De=>{const{prefixCls:pe,className:x,dashed:me}=De,Le=be(De,["prefixCls","className","dashed"]),{getPrefixCls:Se}=b.useContext(te.E_),Be=Se("menu",pe),Qe=ve()({[`${Be}-item-divider-dashed`]:!!me},x);return b.createElement(oe.iz,Object.assign({className:Qe},Le))},Pe=ae(11592),Ie=ae(25399),Me=De=>{var pe;const{className:x,children:me,icon:Le,title:Se,danger:Be,extra:Qe}=De,{prefixCls:it,firstLevel:ot,direction:at,disableMenuItemTitleTooltip:Mt,inlineCollapsed:Rt}=b.useContext(Ce),tn=jt=>{const ln=me==null?void 0:me[0],yn=b.createElement("span",{className:ve()(`${it}-title-content`,{[`${it}-title-content-with-extra`]:!!Qe||Qe===0})},me);return(!Le||b.isValidElement(me)&&me.type==="span")&&me&&jt&&ot&&typeof ln=="string"?b.createElement("div",{className:`${it}-inline-collapsed-noicon`},ln.charAt(0)):yn},{siderCollapsed:qt}=b.useContext(we.D);let Bt=Se;typeof Se=="undefined"?Bt=ot?me:"":Se===!1&&(Bt="");const hn={title:Bt};!qt&&!Rt&&(hn.title=null,hn.open=!1);const $t=(0,Pe.Z)(me).length;let Ct=b.createElement(oe.ck,Object.assign({},(0,se.Z)(De,["title","icon","danger"]),{className:ve()({[`${it}-item-danger`]:Be,[`${it}-item-only-child`]:(Le?$t+1:$t)===1},x),title:typeof Se=="string"?Se:void 0}),(0,E.Tm)(Le,{className:ve()(b.isValidElement(Le)?(pe=Le.props)===null||pe===void 0?void 0:pe.className:"",`${it}-item-icon`)}),tn(Rt));return Mt||(Ct=b.createElement(Ie.Z,Object.assign({},hn,{placement:at==="rtl"?"left":"right",classNames:{root:`${it}-inline-collapsed-tooltip`}}),Ct)),Ct},ye=ae(78857),Te=ae(36237),Fe=ae(17835),_e=ae(63356),Oe=ae(34961),Ke=ae(46e3),We=ae(34925),Ne=ae(16931),Ye=ae(51636),He=De=>{const{componentCls:pe,motionDurationSlow:x,horizontalLineHeight:me,colorSplit:Le,lineWidth:Se,lineType:Be,itemPaddingInline:Qe}=De;return{[`${pe}-horizontal`]:{lineHeight:me,border:0,borderBottom:`${(0,Te.unit)(Se)} ${Be} ${Le}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Qe},[`> ${pe}-item:hover,
> ${pe}-item-active,
> ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${x}`,`background ${x}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},ft=De=>{let{componentCls:pe,menuArrowOffset:x,calc:me}=De;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical,
${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Te.unit)(me(x).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Te.unit)(x)})`}}}}};const tt=De=>Object.assign({},(0,_e.oN)(De));var nt=(De,pe)=>{const{componentCls:x,itemColor:me,itemSelectedColor:Le,subMenuItemSelectedColor:Se,groupTitleColor:Be,itemBg:Qe,subMenuItemBg:it,itemSelectedBg:ot,activeBarHeight:at,activeBarWidth:Mt,activeBarBorderWidth:Rt,motionDurationSlow:tn,motionEaseInOut:qt,motionEaseOut:Bt,itemPaddingInline:hn,motionDurationMid:$t,itemHoverColor:Ct,lineType:jt,colorSplit:ln,itemDisabledColor:yn,dangerItemColor:Et,dangerItemHoverColor:Wt,dangerItemSelectedColor:Jt,dangerItemActiveBg:bn,dangerItemSelectedBg:kn,popupBg:tr,itemHoverBg:pr,itemActiveBg:xr,menuSubMenuBg:Yn,horizontalItemSelectedColor:mr,horizontalItemSelectedBg:Wn,horizontalItemBorderRadius:xn,horizontalItemHoverBg:Pn}=De;return{[`${x}-${pe}, ${x}-${pe} > ${x}`]:{color:me,background:Qe,[`&${x}-root:focus-visible`]:Object.assign({},tt(De)),[`${x}-item`]:{"&-group-title, &-extra":{color:Be}},[`${x}-submenu-selected > ${x}-submenu-title`]:{color:Se},[`${x}-item, ${x}-submenu-title`]:{color:me,[`&:not(${x}-item-disabled):focus-visible`]:Object.assign({},tt(De))},[`${x}-item-disabled, ${x}-submenu-disabled`]:{color:`${yn} !important`},[`${x}-item:not(${x}-item-selected):not(${x}-submenu-selected)`]:{[`&:hover, > ${x}-submenu-title:hover`]:{color:Ct}},[`&:not(${x}-horizontal)`]:{[`${x}-item:not(${x}-item-selected)`]:{"&:hover":{backgroundColor:pr},"&:active":{backgroundColor:xr}},[`${x}-submenu-title`]:{"&:hover":{backgroundColor:pr},"&:active":{backgroundColor:xr}}},[`${x}-item-danger`]:{color:Et,[`&${x}-item:hover`]:{[`&:not(${x}-item-selected):not(${x}-submenu-selected)`]:{color:Wt}},[`&${x}-item:active`]:{background:bn}},[`${x}-item a`]:{"&, &:hover":{color:"inherit"}},[`${x}-item-selected`]:{color:Le,[`&${x}-item-danger`]:{color:Jt},"a, a:hover":{color:"inherit"}},[`& ${x}-item-selected`]:{backgroundColor:ot,[`&${x}-item-danger`]:{backgroundColor:kn}},[`&${x}-submenu > ${x}`]:{backgroundColor:Yn},[`&${x}-popup > ${x}`]:{backgroundColor:tr},[`&${x}-submenu-popup > ${x}`]:{backgroundColor:tr},[`&${x}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${x}-item, > ${x}-submenu`]:{top:Rt,marginTop:De.calc(Rt).mul(-1).equal(),marginBottom:0,borderRadius:xn,"&::after":{position:"absolute",insetInline:hn,bottom:0,borderBottom:`${(0,Te.unit)(at)} solid transparent`,transition:`border-color ${tn} ${qt}`,content:'""'},"&:hover, &-active, &-open":{background:Pn,"&::after":{borderBottomWidth:at,borderBottomColor:mr}},"&-selected":{color:mr,backgroundColor:Wn,"&:hover":{backgroundColor:Wn},"&::after":{borderBottomWidth:at,borderBottomColor:mr}}}}),[`&${x}-root`]:{[`&${x}-inline, &${x}-vertical`]:{borderInlineEnd:`${(0,Te.unit)(Rt)} ${jt} ${ln}`}},[`&${x}-inline`]:{[`${x}-sub${x}-inline`]:{background:it},[`${x}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Te.unit)(Mt)} solid ${Le}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${$t} ${Bt}`,`opacity ${$t} ${Bt}`].join(","),content:'""'},[`&${x}-item-danger`]:{"&::after":{borderInlineEndColor:Jt}}},[`${x}-selected, ${x}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${$t} ${qt}`,`opacity ${$t} ${qt}`].join(",")}}}}}};const Ze=De=>{const{componentCls:pe,itemHeight:x,itemMarginInline:me,padding:Le,menuArrowSize:Se,marginXS:Be,itemMarginBlock:Qe,itemWidth:it,itemPaddingInline:ot}=De,at=De.calc(Se).add(Le).add(Be).equal();return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:x,lineHeight:(0,Te.unit)(x),paddingInline:ot,overflow:"hidden",textOverflow:"ellipsis",marginInline:me,marginBlock:Qe,width:it},[`> ${pe}-item,
> ${pe}-submenu > ${pe}-submenu-title`]:{height:x,lineHeight:(0,Te.unit)(x)},[`${pe}-item-group-list ${pe}-submenu-title,
${pe}-submenu-title`]:{paddingInlineEnd:at}}};var $e=De=>{const{componentCls:pe,iconCls:x,itemHeight:me,colorTextLightSolid:Le,dropdownWidth:Se,controlHeightLG:Be,motionEaseOut:Qe,paddingXL:it,itemMarginInline:ot,fontSizeLG:at,motionDurationFast:Mt,motionDurationSlow:Rt,paddingXS:tn,boxShadowSecondary:qt,collapsedWidth:Bt,collapsedIconSize:hn}=De,$t={height:me,lineHeight:(0,Te.unit)(me),listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},Ze(De))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},Ze(De)),{boxShadow:qt})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:Se,maxHeight:`calc(100vh - ${(0,Te.unit)(De.calc(Be).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Rt}`,`background ${Rt}`,`padding ${Mt} ${Qe}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:$t,[`& ${pe}-item-group-title`]:{paddingInlineStart:it}},[`${pe}-item`]:$t}},{[`${pe}-inline-collapsed`]:{width:Bt,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:at,textAlign:"center"}}},[`> ${pe}-item,
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-item,
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title,
> ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Te.unit)(De.calc(hn).div(2).equal())} - ${(0,Te.unit)(ot)})`,textOverflow:"clip",[`
${pe}-submenu-arrow,
${pe}-submenu-expand-icon
`]:{opacity:0},[`${pe}-item-icon, ${x}`]:{margin:0,fontSize:hn,lineHeight:(0,Te.unit)(me),"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${x}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${x}`]:{display:"none"},"a, a:hover":{color:Le}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},_e.vS),{paddingInline:tn})}}]};const qe=De=>{const{componentCls:pe,motionDurationSlow:x,motionDurationMid:me,motionEaseInOut:Le,motionEaseOut:Se,iconCls:Be,iconSize:Qe,iconMarginInlineEnd:it}=De;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${x}`,`background ${x}`,`padding calc(${x} + 0.1s) ${Le}`].join(","),[`${pe}-item-icon, ${Be}`]:{minWidth:Qe,fontSize:Qe,transition:[`font-size ${me} ${Se}`,`margin ${x} ${Le}`,`color ${x}`].join(","),"+ span":{marginInlineStart:it,opacity:1,transition:[`opacity ${x} ${Le}`,`margin ${x}`,`color ${x}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,_e.Ro)()),[`&${pe}-item-only-child`]:{[`> ${Be}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ve=De=>{const{componentCls:pe,motionDurationSlow:x,motionEaseInOut:me,borderRadius:Le,menuArrowSize:Se,menuArrowOffset:Be}=De;return{[`${pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:De.margin,width:Se,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${x} ${me}, opacity ${x}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:De.calc(Se).mul(.6).equal(),height:De.calc(Se).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Le,transition:[`background ${x} ${me}`,`transform ${x} ${me}`,`top ${x} ${me}`,`color ${x} ${me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Te.unit)(De.calc(Be).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Te.unit)(Be)})`}}}}},mt=De=>{const{antCls:pe,componentCls:x,fontSize:me,motionDurationSlow:Le,motionDurationMid:Se,motionEaseInOut:Be,paddingXS:Qe,padding:it,colorSplit:ot,lineWidth:at,zIndexPopup:Mt,borderRadiusLG:Rt,subMenuItemBorderRadius:tn,menuArrowSize:qt,menuArrowOffset:Bt,lineType:hn,groupTitleLineHeight:$t,groupTitleFontSize:Ct}=De;return[{"":{[x]:Object.assign(Object.assign({},(0,_e.dF)()),{"&-hidden":{display:"none"}})},[`${x}-submenu-hidden`]:{display:"none"}},{[x]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_e.Wf)(De)),(0,_e.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Le} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${x}-item`]:{flex:"none"}},[`${x}-item, ${x}-submenu, ${x}-submenu-title`]:{borderRadius:De.itemBorderRadius},[`${x}-item-group-title`]:{padding:`${(0,Te.unit)(Qe)} ${(0,Te.unit)(it)}`,fontSize:Ct,lineHeight:$t,transition:`all ${Le}`},[`&-horizontal ${x}-submenu`]:{transition:[`border-color ${Le} ${Be}`,`background ${Le} ${Be}`].join(",")},[`${x}-submenu, ${x}-submenu-inline`]:{transition:[`border-color ${Le} ${Be}`,`background ${Le} ${Be}`,`padding ${Se} ${Be}`].join(",")},[`${x}-submenu ${x}-sub`]:{cursor:"initial",transition:[`background ${Le} ${Be}`,`padding ${Le} ${Be}`].join(",")},[`${x}-title-content`]:{transition:`color ${Le}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${pe}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${x}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:De.padding}},[`${x}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${x}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ot,borderStyle:hn,borderWidth:0,borderTopWidth:at,marginBlock:at,padding:0,"&-dashed":{borderStyle:"dashed"}}}),qe(De)),{[`${x}-item-group`]:{[`${x}-item-group-list`]:{margin:0,padding:0,[`${x}-item, ${x}-submenu-title`]:{paddingInline:`${(0,Te.unit)(De.calc(me).mul(2).equal())} ${(0,Te.unit)(it)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Mt,borderRadius:Rt,boxShadow:"none",transformOrigin:"0 0",[`&${x}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${x}`]:Object.assign(Object.assign(Object.assign({borderRadius:Rt},qe(De)),Ve(De)),{[`${x}-item, ${x}-submenu > ${x}-submenu-title`]:{borderRadius:tn},[`${x}-submenu-title::after`]:{transition:`transform ${Le} ${Be}`}})},"\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:De.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:De.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:De.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:De.paddingXS}}}),Ve(De)),{[`&-inline-collapsed ${x}-submenu-arrow,
&-inline ${x}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Te.unit)(Bt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Te.unit)(De.calc(Bt).mul(-1).equal())})`}},[`${x}-submenu-open${x}-submenu-inline > ${x}-submenu-title > ${x}-submenu-arrow`]:{transform:`translateY(${(0,Te.unit)(De.calc(qt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Te.unit)(De.calc(Bt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Te.unit)(Bt)})`}}})},{[`${pe}-layout-header`]:{[x]:{lineHeight:"inherit"}}}]},st=De=>{var pe,x,me;const{colorPrimary:Le,colorError:Se,colorTextDisabled:Be,colorErrorBg:Qe,colorText:it,colorTextDescription:ot,colorBgContainer:at,colorFillAlter:Mt,colorFillContent:Rt,lineWidth:tn,lineWidthBold:qt,controlItemBgActive:Bt,colorBgTextHover:hn,controlHeightLG:$t,lineHeight:Ct,colorBgElevated:jt,marginXXS:ln,padding:yn,fontSize:Et,controlHeightSM:Wt,fontSizeLG:Jt,colorTextLightSolid:bn,colorErrorHover:kn}=De,tr=(pe=De.activeBarWidth)!==null&&pe!==void 0?pe:0,pr=(x=De.activeBarBorderWidth)!==null&&x!==void 0?x:tn,xr=(me=De.itemMarginInline)!==null&&me!==void 0?me:De.marginXXS,Yn=new Fe.FastColor(bn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:De.zIndexPopupBase+50,radiusItem:De.borderRadiusLG,itemBorderRadius:De.borderRadiusLG,radiusSubMenuItem:De.borderRadiusSM,subMenuItemBorderRadius:De.borderRadiusSM,colorItemText:it,itemColor:it,colorItemTextHover:it,itemHoverColor:it,colorItemTextHoverHorizontal:Le,horizontalItemHoverColor:Le,colorGroupTitle:ot,groupTitleColor:ot,colorItemTextSelected:Le,itemSelectedColor:Le,subMenuItemSelectedColor:Le,colorItemTextSelectedHorizontal:Le,horizontalItemSelectedColor:Le,colorItemBg:at,itemBg:at,colorItemBgHover:hn,itemHoverBg:hn,colorItemBgActive:Rt,itemActiveBg:Bt,colorSubItemBg:Mt,subMenuItemBg:Mt,colorItemBgSelected:Bt,itemSelectedBg:Bt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:tr,colorActiveBarHeight:qt,activeBarHeight:qt,colorActiveBarBorderSize:tn,activeBarBorderWidth:pr,colorItemTextDisabled:Be,itemDisabledColor:Be,colorDangerItemText:Se,dangerItemColor:Se,colorDangerItemTextHover:Se,dangerItemHoverColor:Se,colorDangerItemTextSelected:Se,dangerItemSelectedColor:Se,colorDangerItemBgActive:Qe,dangerItemActiveBg:Qe,colorDangerItemBgSelected:Qe,dangerItemSelectedBg:Qe,itemMarginInline:xr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:$t,groupTitleLineHeight:Ct,collapsedWidth:$t*2,popupBg:jt,itemMarginBlock:ln,itemPaddingInline:yn,horizontalLineHeight:`${$t*1.15}px`,iconSize:Et,iconMarginInlineEnd:Wt-Et,collapsedIconSize:Jt,groupTitleFontSize:Et,darkItemDisabledColor:new Fe.FastColor(bn).setA(.25).toRgbString(),darkItemColor:Yn,darkDangerItemColor:Se,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:bn,darkItemSelectedBg:Le,darkDangerItemSelectedBg:Se,darkItemHoverBg:"transparent",darkGroupTitleColor:Yn,darkItemHoverColor:bn,darkDangerItemHoverColor:kn,darkDangerItemSelectedColor:bn,darkDangerItemActiveBg:Se,itemWidth:tr?`calc(100% + ${pr}px)`:`calc(100% - ${xr*2}px)`}};var Lt=function(De){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:De,x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Ne.I$)("Menu",Le=>{const{colorBgElevated:Se,controlHeightLG:Be,fontSize:Qe,darkItemColor:it,darkDangerItemColor:ot,darkItemBg:at,darkSubMenuItemBg:Mt,darkItemSelectedColor:Rt,darkItemSelectedBg:tn,darkDangerItemSelectedBg:qt,darkItemHoverBg:Bt,darkGroupTitleColor:hn,darkItemHoverColor:$t,darkItemDisabledColor:Ct,darkDangerItemHoverColor:jt,darkDangerItemSelectedColor:ln,darkDangerItemActiveBg:yn,popupBg:Et,darkPopupBg:Wt}=Le,Jt=Le.calc(Qe).div(7).mul(5).equal(),bn=(0,Ye.mergeToken)(Le,{menuArrowSize:Jt,menuHorizontalHeight:Le.calc(Be).mul(1.15).equal(),menuArrowOffset:Le.calc(Jt).mul(.25).equal(),menuSubMenuBg:Se,calc:Le.calc,popupBg:Et}),kn=(0,Ye.mergeToken)(bn,{itemColor:it,itemHoverColor:$t,groupTitleColor:hn,itemSelectedColor:Rt,subMenuItemSelectedColor:Rt,itemBg:at,popupBg:Wt,subMenuItemBg:Mt,itemActiveBg:"transparent",itemSelectedBg:tn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Bt,itemDisabledColor:Ct,dangerItemColor:ot,dangerItemHoverColor:jt,dangerItemSelectedColor:ln,dangerItemActiveBg:yn,dangerItemSelectedBg:qt,menuSubMenuBg:Mt,horizontalItemSelectedColor:Rt,horizontalItemSelectedBg:tn});return[mt(bn),He(bn),$e(bn),nt(bn,"light"),nt(kn,"dark"),ft(bn),(0,Oe.Z)(bn),(0,Ke.oN)(bn,"slide-up"),(0,Ke.oN)(bn,"slide-down"),(0,We._y)(bn,"zoom-big")]},st,{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"]],injectStyle:x,unitless:{groupTitleLineHeight:!0}})(De,pe)},ct=ae(75030),xt=De=>{var pe;const{popupClassName:x,icon:me,title:Le,theme:Se}=De,Be=b.useContext(Ce),{prefixCls:Qe,inlineCollapsed:it,theme:ot}=Be,at=(0,oe.Xl)();let Mt;if(!me)Mt=it&&!at.length&&Le&&typeof Le=="string"?b.createElement("div",{className:`${Qe}-inline-collapsed-noicon`},Le.charAt(0)):b.createElement("span",{className:`${Qe}-title-content`},Le);else{const qt=b.isValidElement(Le)&&Le.type==="span";Mt=b.createElement(b.Fragment,null,(0,E.Tm)(me,{className:ve()(b.isValidElement(me)?(pe=me.props)===null||pe===void 0?void 0:pe.className:"",`${Qe}-item-icon`)}),qt?Le:b.createElement("span",{className:`${Qe}-title-content`},Le))}const Rt=b.useMemo(()=>Object.assign(Object.assign({},Be),{firstLevel:!1}),[Be]),[tn]=(0,ct.Cn)("Menu");return b.createElement(Ce.Provider,{value:Rt},b.createElement(oe.Wd,Object.assign({},(0,se.Z)(De,["icon"]),{title:Mt,popupClassName:ve()(Qe,x,`${Qe}-${Se||ot}`),popupStyle:Object.assign({zIndex:tn},De.popupStyle)})))},wt=function(De,pe){var x={};for(var me in De)Object.prototype.hasOwnProperty.call(De,me)&&pe.indexOf(me)<0&&(x[me]=De[me]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,me=Object.getOwnPropertySymbols(De);Le<me.length;Le++)pe.indexOf(me[Le])<0&&Object.prototype.propertyIsEnumerable.call(De,me[Le])&&(x[me[Le]]=De[me[Le]]);return x};function yt(De){return De===null||De===!1}const je={item:Me,submenu:xt,divider:Ee};var ie=(0,b.forwardRef)((De,pe)=>{var x;const me=b.useContext(ye.Z),Le=me||{},{getPrefixCls:Se,getPopupContainer:Be,direction:Qe,menu:it}=b.useContext(te.E_),ot=Se(),{prefixCls:at,className:Mt,style:Rt,theme:tn="light",expandIcon:qt,_internalDisableMenuItemTitleTooltip:Bt,inlineCollapsed:hn,siderCollapsed:$t,rootClassName:Ct,mode:jt,selectable:ln,onClick:yn,overflowedIndicatorPopupClassName:Et}=De,Wt=wt(De,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Jt=(0,se.Z)(Wt,["collapsedWidth"]);(x=Le.validator)===null||x===void 0||x.call(Le,{mode:jt});const bn=(0,re.Z)(function(){var jn;yn==null||yn.apply(void 0,arguments),(jn=Le.onClick)===null||jn===void 0||jn.call(Le)}),kn=Le.mode||jt,tr=ln!=null?ln:Le.selectable,pr=hn!=null?hn:$t,xr={horizontal:{motionName:`${ot}-slide-up`},inline:(0,fe.Z)(ot),other:{motionName:`${ot}-zoom-big`}},Yn=Se("menu",at||Le.prefixCls),mr=(0,ne.Z)(Yn),[Wn,xn,Pn]=Lt(Yn,mr,!me),Tn=ve()(`${Yn}-${tn}`,it==null?void 0:it.className,Mt),In=b.useMemo(()=>{var jn,nr;if(typeof qt=="function"||yt(qt))return qt||null;if(typeof Le.expandIcon=="function"||yt(Le.expandIcon))return Le.expandIcon||null;if(typeof(it==null?void 0:it.expandIcon)=="function"||yt(it==null?void 0:it.expandIcon))return(it==null?void 0:it.expandIcon)||null;const Cr=(jn=qt!=null?qt:Le==null?void 0:Le.expandIcon)!==null&&jn!==void 0?jn:it==null?void 0:it.expandIcon;return(0,E.Tm)(Cr,{className:ve()(`${Yn}-submenu-expand-icon`,b.isValidElement(Cr)?(nr=Cr.props)===null||nr===void 0?void 0:nr.className:void 0)})},[qt,Le==null?void 0:Le.expandIcon,it==null?void 0:it.expandIcon,Yn]),Kn=b.useMemo(()=>({prefixCls:Yn,inlineCollapsed:pr||!1,direction:Qe,firstLevel:!0,theme:tn,mode:kn,disableMenuItemTitleTooltip:Bt}),[Yn,pr,Qe,Bt,tn]);return Wn(b.createElement(ye.Z.Provider,{value:null},b.createElement(Ce.Provider,{value:Kn},b.createElement(oe.ZP,Object.assign({getPopupContainer:Be,overflowedIndicator:b.createElement(Ae.Z,null),overflowedIndicatorPopupClassName:ve()(Yn,`${Yn}-${tn}`,Et),mode:kn,selectable:tr,onClick:bn},Jt,{inlineCollapsed:pr,style:Object.assign(Object.assign({},it==null?void 0:it.style),Rt),className:Tn,prefixCls:Yn,direction:Qe,defaultMotions:xr,expandIcon:In,ref:pe,rootClassName:ve()(Ct,xn,Le.rootClassName,Pn,mr),_internalComponents:je})))))});const ke=(0,b.forwardRef)((De,pe)=>{const x=(0,b.useRef)(null),me=b.useContext(we.D);return(0,b.useImperativeHandle)(pe,()=>({menu:x.current,focus:Le=>{var Se;(Se=x.current)===null||Se===void 0||Se.focus(Le)}})),b.createElement(ie,Object.assign({ref:x},De,me))});ke.Item=Me,ke.SubMenu=xt,ke.Divider=Ee,ke.ItemGroup=oe.BW;var Xe=ke},31709:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return it}});var b=ae(59301),oe=ae(60499),we={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"},Ae=we,de=ae(7657),ve=function(at,Mt){return b.createElement(de.Z,(0,oe.Z)({},at,{ref:Mt,icon:Ae}))},re=b.forwardRef(ve),se=re,fe=ae(49198),E=ae(33853),te=ae(38819),ne=ae(92310),ge=ae.n(ne),Ce=ae(18642),be=ae(43749),le=ae(85899),Ee=ae(72190),Pe=ae(18929),Ie=ae(10228),Re=ae(26112),Me=ae(48736),ye=ae(17119),Te=[10,20,50,100],Fe=function(at){var Mt=at.pageSizeOptions,Rt=Mt===void 0?Te:Mt,tn=at.locale,qt=at.changeSize,Bt=at.pageSize,hn=at.goButton,$t=at.quickGo,Ct=at.rootPrefixCls,jt=at.disabled,ln=at.buildOptionText,yn=at.showSizeChanger,Et=at.sizeChangerRender,Wt=b.useState(""),Jt=(0,Ee.Z)(Wt,2),bn=Jt[0],kn=Jt[1],tr=function(){return!bn||Number.isNaN(bn)?void 0:Number(bn)},pr=typeof ln=="function"?ln:function(Kn){return"".concat(Kn," ").concat(tn.items_per_page)},xr=function(jn){kn(jn.target.value)},Yn=function(jn){hn||bn===""||(kn(""),!(jn.relatedTarget&&(jn.relatedTarget.className.indexOf("".concat(Ct,"-item-link"))>=0||jn.relatedTarget.className.indexOf("".concat(Ct,"-item"))>=0))&&($t==null||$t(tr())))},mr=function(jn){bn!==""&&(jn.keyCode===Ie.Z.ENTER||jn.type==="click")&&(kn(""),$t==null||$t(tr()))},Wn=function(){return Rt.some(function(jn){return jn.toString()===Bt.toString()})?Rt:Rt.concat([Bt]).sort(function(jn,nr){var Cr=Number.isNaN(Number(jn))?0:Number(jn),Sr=Number.isNaN(Number(nr))?0:Number(nr);return Cr-Sr})},xn="".concat(Ct,"-options");if(!yn&&!$t)return null;var Pn=null,Tn=null,In=null;return yn&&Et&&(Pn=Et({disabled:jt,size:Bt,onSizeChange:function(jn){qt==null||qt(Number(jn))},"aria-label":tn.page_size,className:"".concat(xn,"-size-changer"),options:Wn().map(function(Kn){return{label:pr(Kn),value:Kn}})})),$t&&(hn&&(In=typeof hn=="boolean"?b.createElement("button",{type:"button",onClick:mr,onKeyUp:mr,disabled:jt,className:"".concat(xn,"-quick-jumper-button")},tn.jump_to_confirm):b.createElement("span",{onClick:mr,onKeyUp:mr},hn)),Tn=b.createElement("div",{className:"".concat(xn,"-quick-jumper")},tn.jump_to,b.createElement("input",{disabled:jt,type:"text",value:bn,onChange:xr,onKeyUp:mr,onBlur:Yn,"aria-label":tn.page}),tn.page,In)),b.createElement("li",{className:xn},Pn,Tn)},_e=Fe,Oe=function(at){var Mt=at.rootPrefixCls,Rt=at.page,tn=at.active,qt=at.className,Bt=at.showTitle,hn=at.onClick,$t=at.onKeyPress,Ct=at.itemRender,jt="".concat(Mt,"-item"),ln=ge()(jt,"".concat(jt,"-").concat(Rt),(0,Ce.Z)((0,Ce.Z)({},"".concat(jt,"-active"),tn),"".concat(jt,"-disabled"),!Rt),qt),yn=function(){hn(Rt)},Et=function(bn){$t(bn,hn,Rt)},Wt=Ct(Rt,"page",b.createElement("a",{rel:"nofollow"},Rt));return Wt?b.createElement("li",{title:Bt?String(Rt):null,className:ln,onClick:yn,onKeyDown:Et,tabIndex:0},Wt):null},Ke=Oe,We=function(at,Mt,Rt){return Rt};function Ne(){}function Ye(ot){var at=Number(ot);return typeof at=="number"&&!Number.isNaN(at)&&isFinite(at)&&Math.floor(at)===at}function Je(ot,at,Mt){var Rt=typeof ot=="undefined"?at:ot;return Math.floor((Mt-1)/Rt)+1}var He=function(at){var Mt=at.prefixCls,Rt=Mt===void 0?"rc-pagination":Mt,tn=at.selectPrefixCls,qt=tn===void 0?"rc-select":tn,Bt=at.className,hn=at.current,$t=at.defaultCurrent,Ct=$t===void 0?1:$t,jt=at.total,ln=jt===void 0?0:jt,yn=at.pageSize,Et=at.defaultPageSize,Wt=Et===void 0?10:Et,Jt=at.onChange,bn=Jt===void 0?Ne:Jt,kn=at.hideOnSinglePage,tr=at.align,pr=at.showPrevNextJumpers,xr=pr===void 0?!0:pr,Yn=at.showQuickJumper,mr=at.showLessItems,Wn=at.showTitle,xn=Wn===void 0?!0:Wn,Pn=at.onShowSizeChange,Tn=Pn===void 0?Ne:Pn,In=at.locale,Kn=In===void 0?ye.Z:In,jn=at.style,nr=at.totalBoundaryShowSizeChanger,Cr=nr===void 0?50:nr,Sr=at.disabled,Er=at.simple,Nr=at.showTotal,Tr=at.showSizeChanger,zr=Tr===void 0?ln>Cr:Tr,Rr=at.sizeChangerRender,Ln=at.pageSizeOptions,Qn=at.itemRender,Ar=Qn===void 0?We:Qn,wr=at.jumpPrevIcon,zt=at.jumpNextIcon,It=at.prevIcon,Dt=at.nextIcon,Vt=b.useRef(null),Nt=(0,Pe.Z)(10,{value:yn,defaultValue:Wt}),Kt=(0,Ee.Z)(Nt,2),ut=Kt[0],Qt=Kt[1],on=(0,Pe.Z)(1,{value:hn,defaultValue:Ct,postState:function(li){return Math.max(1,Math.min(li,Je(void 0,ut,ln)))}}),an=(0,Ee.Z)(on,2),Xt=an[0],Yt=an[1],Gt=b.useState(Xt),dn=(0,Ee.Z)(Gt,2),ur=dn[0],Zt=dn[1];(0,b.useEffect)(function(){Zt(Xt)},[Xt]);var nn=bn!==Ne,Cn="current"in at,Ht=Math.max(1,Xt-(mr?3:5)),Ft=Math.min(Je(void 0,ut,ln),Xt+(mr?3:5));function fn(ti,li){var qi=ti||b.createElement("button",{type:"button","aria-label":li,className:"".concat(Rt,"-item-link")});return typeof ti=="function"&&(qi=b.createElement(ti,(0,le.Z)({},at))),qi}function wn(ti){var li=ti.target.value,qi=Je(void 0,ut,ln),ho;return li===""?ho=li:Number.isNaN(Number(li))?ho=ur:li>=qi?ho=qi:ho=Number(li),ho}function vn(ti){return Ye(ti)&&ti!==Xt&&Ye(ln)&&ln>0}var An=ln>ut?Yn:!1;function Rn(ti){(ti.keyCode===Ie.Z.UP||ti.keyCode===Ie.Z.DOWN)&&ti.preventDefault()}function Zn(ti){var li=wn(ti);switch(li!==ur&&Zt(li),ti.keyCode){case Ie.Z.ENTER:ar(li);break;case Ie.Z.UP:ar(li-1);break;case Ie.Z.DOWN:ar(li+1);break;default:break}}function zn(ti){ar(wn(ti))}function Un(ti){var li=Je(ti,ut,ln),qi=Xt>li&&li!==0?li:Xt;Qt(ti),Zt(qi),Tn==null||Tn(Xt,ti),Yt(qi),bn==null||bn(qi,ti)}function ar(ti){if(vn(ti)&&!Sr){var li=Je(void 0,ut,ln),qi=ti;return ti>li?qi=li:ti<1&&(qi=1),qi!==ur&&Zt(qi),Yt(qi),bn==null||bn(qi,ut),qi}return Xt}var Fn=Xt>1,ir=Xt<Je(void 0,ut,ln);function Ir(){Fn&&ar(Xt-1)}function Lr(){ir&&ar(Xt+1)}function Fr(){ar(Ht)}function vr(){ar(Ft)}function Dr(ti,li){if(ti.key==="Enter"||ti.charCode===Ie.Z.ENTER||ti.keyCode===Ie.Z.ENTER){for(var qi=arguments.length,ho=new Array(qi>2?qi-2:0),ji=2;ji<qi;ji++)ho[ji-2]=arguments[ji];li.apply(void 0,ho)}}function Ur(ti){Dr(ti,Ir)}function gr(ti){Dr(ti,Lr)}function Zr(ti){Dr(ti,Fr)}function jr(ti){Dr(ti,vr)}function yi(ti){var li=Ar(ti,"prev",fn(It,"prev page"));return b.isValidElement(li)?b.cloneElement(li,{disabled:!Fn}):li}function Yr(ti){var li=Ar(ti,"next",fn(Dt,"next page"));return b.isValidElement(li)?b.cloneElement(li,{disabled:!ir}):li}function Kr(ti){(ti.type==="click"||ti.keyCode===Ie.Z.ENTER)&&ar(ur)}var si=null,ni=(0,Re.Z)(at,{aria:!0,data:!0}),Mr=Nr&&b.createElement("li",{className:"".concat(Rt,"-total-text")},Nr(ln,[ln===0?0:(Xt-1)*ut+1,Xt*ut>ln?ln:Xt*ut])),Vr=null,yr=Je(void 0,ut,ln);if(kn&&ln<=ut)return null;var Jn=[],sr={rootPrefixCls:Rt,onClick:ar,onKeyPress:Dr,showTitle:xn,itemRender:Ar,page:-1},hr=Xt-1>0?Xt-1:0,Gn=Xt+1<yr?Xt+1:yr,kr=Yn&&Yn.goButton,Br=(0,be.Z)(Er)==="object"?Er.readOnly:!Er,_t=kr,Bn=null;Er&&(kr&&(typeof kr=="boolean"?_t=b.createElement("button",{type:"button",onClick:Kr,onKeyUp:Kr},Kn.jump_to_confirm):_t=b.createElement("span",{onClick:Kr,onKeyUp:Kr},kr),_t=b.createElement("li",{title:xn?"".concat(Kn.jump_to).concat(Xt,"/").concat(yr):null,className:"".concat(Rt,"-simple-pager")},_t)),Bn=b.createElement("li",{title:xn?"".concat(Xt,"/").concat(yr):null,className:"".concat(Rt,"-simple-pager")},Br?ur:b.createElement("input",{type:"text","aria-label":Kn.jump_to,value:ur,disabled:Sr,onKeyDown:Rn,onKeyUp:Zn,onChange:Zn,onBlur:zn,size:3}),b.createElement("span",{className:"".concat(Rt,"-slash")},"/"),yr));var Xn=mr?1:2;if(yr<=3+Xn*2){yr||Jn.push(b.createElement(Ke,(0,oe.Z)({},sr,{key:"noPager",page:1,className:"".concat(Rt,"-item-disabled")})));for(var fr=1;fr<=yr;fr+=1)Jn.push(b.createElement(Ke,(0,oe.Z)({},sr,{key:fr,page:fr,active:Xt===fr})))}else{var Wr=mr?Kn.prev_3:Kn.prev_5,Qr=mr?Kn.next_3:Kn.next_5,Xr=Ar(Ht,"jump-prev",fn(wr,"prev page")),Fi=Ar(Ft,"jump-next",fn(zt,"next page"));xr&&(si=Xr?b.createElement("li",{title:xn?Wr:null,key:"prev",onClick:Fr,tabIndex:0,onKeyDown:Zr,className:ge()("".concat(Rt,"-jump-prev"),(0,Ce.Z)({},"".concat(Rt,"-jump-prev-custom-icon"),!!wr))},Xr):null,Vr=Fi?b.createElement("li",{title:xn?Qr:null,key:"next",onClick:vr,tabIndex:0,onKeyDown:jr,className:ge()("".concat(Rt,"-jump-next"),(0,Ce.Z)({},"".concat(Rt,"-jump-next-custom-icon"),!!zt))},Fi):null);var or=Math.max(1,Xt-Xn),Ti=Math.min(Xt+Xn,yr);Xt-1<=Xn&&(Ti=1+Xn*2),yr-Xt<=Xn&&(or=yr-Xn*2);for(var hi=or;hi<=Ti;hi+=1)Jn.push(b.createElement(Ke,(0,oe.Z)({},sr,{key:hi,page:hi,active:Xt===hi})));if(Xt-1>=Xn*2&&Xt!==3&&(Jn[0]=b.cloneElement(Jn[0],{className:ge()("".concat(Rt,"-item-after-jump-prev"),Jn[0].props.className)}),Jn.unshift(si)),yr-Xt>=Xn*2&&Xt!==yr-2){var Ei=Jn[Jn.length-1];Jn[Jn.length-1]=b.cloneElement(Ei,{className:ge()("".concat(Rt,"-item-before-jump-next"),Ei.props.className)}),Jn.push(Vr)}or!==1&&Jn.unshift(b.createElement(Ke,(0,oe.Z)({},sr,{key:1,page:1}))),Ti!==yr&&Jn.push(b.createElement(Ke,(0,oe.Z)({},sr,{key:yr,page:yr})))}var Li=yi(hr);if(Li){var Ai=!Fn||!yr;Li=b.createElement("li",{title:xn?Kn.prev_page:null,onClick:Ir,tabIndex:Ai?null:0,onKeyDown:Ur,className:ge()("".concat(Rt,"-prev"),(0,Ce.Z)({},"".concat(Rt,"-disabled"),Ai)),"aria-disabled":Ai},Li)}var ro=Yr(Gn);if(ro){var So,Qi;Er?(So=!ir,Qi=Fn?0:null):(So=!ir||!yr,Qi=So?null:0),ro=b.createElement("li",{title:xn?Kn.next_page:null,onClick:Lr,tabIndex:Qi,onKeyDown:gr,className:ge()("".concat(Rt,"-next"),(0,Ce.Z)({},"".concat(Rt,"-disabled"),So)),"aria-disabled":So},ro)}var io=ge()(Rt,Bt,(0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)({},"".concat(Rt,"-start"),tr==="start"),"".concat(Rt,"-center"),tr==="center"),"".concat(Rt,"-end"),tr==="end"),"".concat(Rt,"-simple"),Er),"".concat(Rt,"-disabled"),Sr));return b.createElement("ul",(0,oe.Z)({className:io,style:jn,ref:Vt},ni),Mr,Li,Er?Bn:Jn,ro,b.createElement(_e,{locale:Kn,rootPrefixCls:Rt,disabled:Sr,selectPrefixCls:qt,changeSize:Un,pageSize:ut,pageSizeOptions:Ln,quickGo:An?ar:null,goButton:_t,showSizeChanger:zr,sizeChangerRender:Rr}))},lt=He,ft=ae(61852),tt=ae(48755),Ot=ae(31756),nt=ae(13783),Ze=ae(9017),Ge=ae(82326),$e=ae(57700),qe=ae(36237),Ve=ae(53075),mt=ae(64910),st=ae(39082),Lt=ae(63356),ct=ae(51636),Tt=ae(16931);const xt=ot=>{const{componentCls:at}=ot;return{[`${at}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${at}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${at}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed"}}},[`&${at}-disabled`]:{cursor:"not-allowed",[`${at}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ot.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ot.colorBorder,backgroundColor:ot.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ot.itemActiveBgDisabled},a:{color:ot.itemActiveColorDisabled}}},[`${at}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${at}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${at}-simple-pager`]:{color:ot.colorTextDisabled},[`${at}-jump-prev, ${at}-jump-next`]:{[`${at}-item-link-icon`]:{opacity:0},[`${at}-item-ellipsis`]:{opacity:1}}},[`&${at}-simple`]:{[`${at}-prev, ${at}-next`]:{[`&${at}-disabled ${at}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},wt=ot=>{const{componentCls:at}=ot;return{[`&${at}-mini ${at}-total-text, &${at}-mini ${at}-simple-pager`]:{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM)},[`&${at}-mini ${at}-item`]:{minWidth:ot.itemSizeSM,height:ot.itemSizeSM,margin:0,lineHeight:(0,qe.unit)(ot.calc(ot.itemSizeSM).sub(2).equal())},[`&${at}-mini ${at}-prev, &${at}-mini ${at}-next`]:{minWidth:ot.itemSizeSM,height:ot.itemSizeSM,margin:0,lineHeight:(0,qe.unit)(ot.itemSizeSM)},[`&${at}-mini:not(${at}-disabled)`]:{[`${at}-prev, ${at}-next`]:{[`&:hover ${at}-item-link`]:{backgroundColor:ot.colorBgTextHover},[`&:active ${at}-item-link`]:{backgroundColor:ot.colorBgTextActive},[`&${at}-disabled:hover ${at}-item-link`]:{backgroundColor:"transparent"}}},[`
&${at}-mini ${at}-prev ${at}-item-link,
&${at}-mini ${at}-next ${at}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM)}},[`&${at}-mini ${at}-jump-prev, &${at}-mini ${at}-jump-next`]:{height:ot.itemSizeSM,marginInlineEnd:0,lineHeight:(0,qe.unit)(ot.itemSizeSM)},[`&${at}-mini ${at}-options`]:{marginInlineStart:ot.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ot.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM),input:Object.assign(Object.assign({},(0,Ve.x0)(ot)),{width:ot.paginationMiniQuickJumperInputWidth,height:ot.controlHeightSM})}}}},yt=ot=>{const{componentCls:at}=ot;return{[`
&${at}-simple ${at}-prev,
&${at}-simple ${at}-next
`]:{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM),verticalAlign:"top",[`${at}-item-link`]:{height:ot.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ot.colorBgTextHover},"&:active":{backgroundColor:ot.colorBgTextActive},"&::after":{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM)}}},[`&${at}-simple ${at}-simple-pager`]:{display:"inline-block",height:ot.itemSizeSM,marginInlineEnd:ot.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,qe.unit)(ot.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:ot.itemInputBg,border:`${(0,qe.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`,borderRadius:ot.borderRadius,outline:"none",transition:`border-color ${ot.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ot.colorPrimary},"&:focus":{borderColor:ot.colorPrimaryHover,boxShadow:`${(0,qe.unit)(ot.inputOutlineOffset)} 0 ${(0,qe.unit)(ot.controlOutlineWidth)} ${ot.controlOutline}`},"&[disabled]":{color:ot.colorTextDisabled,backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,cursor:"not-allowed"}}}}},je=ot=>{const{componentCls:at}=ot;return{[`${at}-jump-prev, ${at}-jump-next`]:{outline:0,[`${at}-item-container`]:{position:"relative",[`${at}-item-link-icon`]:{color:ot.colorPrimary,fontSize:ot.fontSizeSM,opacity:0,transition:`all ${ot.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${at}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ot.colorTextDisabled,letterSpacing:ot.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ot.paginationEllipsisTextIndent,opacity:1,transition:`all ${ot.motionDurationMid}`}},"&:hover":{[`${at}-item-link-icon`]:{opacity:1},[`${at}-item-ellipsis`]:{opacity:0}}},[`
${at}-prev,
${at}-jump-prev,
${at}-jump-next
`]:{marginInlineEnd:ot.marginXS},[`
${at}-prev,
${at}-next,
${at}-jump-prev,
${at}-jump-next
`]:{display:"inline-block",minWidth:ot.itemSize,height:ot.itemSize,color:ot.colorText,fontFamily:ot.fontFamily,lineHeight:(0,qe.unit)(ot.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ot.borderRadius,cursor:"pointer",transition:`all ${ot.motionDurationMid}`},[`${at}-prev, ${at}-next`]:{outline:0,button:{color:ot.colorText,cursor:"pointer",userSelect:"none"},[`${at}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ot.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,qe.unit)(ot.lineWidth)} ${ot.lineType} transparent`,borderRadius:ot.borderRadius,outline:"none",transition:`all ${ot.motionDurationMid}`},[`&:hover ${at}-item-link`]:{backgroundColor:ot.colorBgTextHover},[`&:active ${at}-item-link`]:{backgroundColor:ot.colorBgTextActive},[`&${at}-disabled:hover`]:{[`${at}-item-link`]:{backgroundColor:"transparent"}}},[`${at}-slash`]:{marginInlineEnd:ot.paginationSlashMarginInlineEnd,marginInlineStart:ot.paginationSlashMarginInlineStart},[`${at}-options`]:{display:"inline-block",marginInlineStart:ot.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ot.controlHeight,marginInlineStart:ot.marginXS,lineHeight:(0,qe.unit)(ot.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Ve.ik)(ot)),(0,st.$U)(ot,{borderColor:ot.colorBorder,hoverBorderColor:ot.colorPrimaryHover,activeBorderColor:ot.colorPrimary,activeShadow:ot.activeShadow})),{"&[disabled]":Object.assign({},(0,st.Xy)(ot)),width:ot.calc(ot.controlHeightLG).mul(1.25).equal(),height:ot.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ot.marginXS,marginInlineEnd:ot.marginXS})}}}},ue=ot=>{const{componentCls:at}=ot;return{[`${at}-item`]:{display:"inline-block",minWidth:ot.itemSize,height:ot.itemSize,marginInlineEnd:ot.marginXS,fontFamily:ot.fontFamily,lineHeight:(0,qe.unit)(ot.calc(ot.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:ot.itemBg,border:`${(0,qe.unit)(ot.lineWidth)} ${ot.lineType} transparent`,borderRadius:ot.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,qe.unit)(ot.paginationItemPaddingInline)}`,color:ot.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${at}-item-active)`]:{"&:hover":{transition:`all ${ot.motionDurationMid}`,backgroundColor:ot.colorBgTextHover},"&:active":{backgroundColor:ot.colorBgTextActive}},"&-active":{fontWeight:ot.fontWeightStrong,backgroundColor:ot.itemActiveBg,borderColor:ot.colorPrimary,a:{color:ot.colorPrimary},"&:hover":{borderColor:ot.colorPrimaryHover},"&:hover a":{color:ot.colorPrimaryHover}}}}},ie=ot=>{const{componentCls:at}=ot;return{[at]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Lt.Wf)(ot)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${at}-total-text`]:{display:"inline-block",height:ot.itemSize,marginInlineEnd:ot.marginXS,lineHeight:(0,qe.unit)(ot.calc(ot.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ue(ot)),je(ot)),yt(ot)),wt(ot)),xt(ot)),{[`@media only screen and (max-width: ${ot.screenLG}px)`]:{[`${at}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ot.screenSM}px)`]:{[`${at}-options`]:{display:"none"}}}),[`&${ot.componentCls}-rtl`]:{direction:"rtl"}}},ke=ot=>{const{componentCls:at}=ot;return{[`${at}:not(${at}-disabled)`]:{[`${at}-item`]:Object.assign({},(0,Lt.Qy)(ot)),[`${at}-jump-prev, ${at}-jump-next`]:{"&:focus-visible":Object.assign({[`${at}-item-link-icon`]:{opacity:1},[`${at}-item-ellipsis`]:{opacity:0}},(0,Lt.oN)(ot))},[`${at}-prev, ${at}-next`]:{[`&:focus-visible ${at}-item-link`]:Object.assign({},(0,Lt.oN)(ot))}}}},Xe=ot=>Object.assign({itemBg:ot.colorBgContainer,itemSize:ot.controlHeight,itemSizeSM:ot.controlHeightSM,itemActiveBg:ot.colorBgContainer,itemLinkBg:ot.colorBgContainer,itemActiveColorDisabled:ot.colorTextDisabled,itemActiveBgDisabled:ot.controlItemBgActiveDisabled,itemInputBg:ot.colorBgContainer,miniOptionsSizeChangerTop:0},(0,mt.T)(ot)),De=ot=>(0,ct.mergeToken)(ot,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ot.calc(ot.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:ot.calc(ot.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:ot.calc(ot.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:ot.calc(ot.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:ot.marginSM,paginationSlashMarginInlineEnd:ot.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,mt.e)(ot));var pe=(0,Tt.I$)("Pagination",ot=>{const at=De(ot);return[ie(at),ke(at)]},Xe);const x=ot=>{const{componentCls:at}=ot;return{[`${at}${at}-bordered${at}-disabled:not(${at}-mini)`]:{"&, &:hover":{[`${at}-item-link`]:{borderColor:ot.colorBorder}},"&:focus-visible":{[`${at}-item-link`]:{borderColor:ot.colorBorder}},[`${at}-item, ${at}-item-link`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,[`&:hover:not(${at}-item-active)`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,a:{color:ot.colorTextDisabled}},[`&${at}-item-active`]:{backgroundColor:ot.itemActiveBgDisabled}},[`${at}-prev, ${at}-next`]:{"&:hover button":{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,color:ot.colorTextDisabled},[`${at}-item-link`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder}}},[`${at}${at}-bordered:not(${at}-mini)`]:{[`${at}-prev, ${at}-next`]:{"&:hover button":{borderColor:ot.colorPrimaryHover,backgroundColor:ot.itemBg},[`${at}-item-link`]:{backgroundColor:ot.itemLinkBg,borderColor:ot.colorBorder},[`&:hover ${at}-item-link`]:{borderColor:ot.colorPrimary,backgroundColor:ot.itemBg,color:ot.colorPrimary},[`&${at}-disabled`]:{[`${at}-item-link`]:{borderColor:ot.colorBorder,color:ot.colorTextDisabled}}},[`${at}-item`]:{backgroundColor:ot.itemBg,border:`${(0,qe.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`,[`&:hover:not(${at}-item-active)`]:{borderColor:ot.colorPrimary,backgroundColor:ot.itemBg,a:{color:ot.colorPrimary}},"&-active":{borderColor:ot.colorPrimary}}}}};var me=(0,Tt.bk)(["Pagination","bordered"],ot=>{const at=De(ot);return[x(at)]},Xe);function Le(ot){return(0,b.useMemo)(()=>typeof ot=="boolean"?[ot,{}]:ot&&typeof ot=="object"?[!0,ot]:[void 0,void 0],[ot])}var Se=function(ot,at){var Mt={};for(var Rt in ot)Object.prototype.hasOwnProperty.call(ot,Rt)&&at.indexOf(Rt)<0&&(Mt[Rt]=ot[Rt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,Rt=Object.getOwnPropertySymbols(ot);tn<Rt.length;tn++)at.indexOf(Rt[tn])<0&&Object.prototype.propertyIsEnumerable.call(ot,Rt[tn])&&(Mt[Rt[tn]]=ot[Rt[tn]]);return Mt},Qe=ot=>{const{align:at,prefixCls:Mt,selectPrefixCls:Rt,className:tn,rootClassName:qt,style:Bt,size:hn,locale:$t,responsive:Ct,showSizeChanger:jt,selectComponentClass:ln,pageSizeOptions:yn}=ot,Et=Se(ot,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Wt}=(0,nt.Z)(Ct),[,Jt]=(0,$e.ZP)(),{getPrefixCls:bn,direction:kn,showSizeChanger:tr,className:pr,style:xr}=(0,tt.dj)("pagination"),Yn=bn("pagination",Mt),[mr,Wn,xn]=pe(Yn),Pn=(0,Ot.Z)(hn),Tn=Pn==="small"||!!(Wt&&!Pn&&Ct),[In]=(0,Ze.Z)("Pagination",ft.Z),Kn=Object.assign(Object.assign({},In),$t),[jn,nr]=Le(jt),[Cr,Sr]=Le(tr),Er=jn!=null?jn:Cr,Nr=nr!=null?nr:Sr,Tr=ln||Ge.default,zr=b.useMemo(()=>yn?yn.map(zt=>Number(zt)):void 0,[yn]),Rr=zt=>{var It;const{disabled:Dt,size:Vt,onSizeChange:Nt,"aria-label":Kt,className:ut,options:Qt}=zt,{className:on,onChange:an}=Nr||{},Xt=(It=Qt.find(Yt=>String(Yt.value)===String(Vt)))===null||It===void 0?void 0:It.value;return b.createElement(Tr,Object.assign({disabled:Dt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Yt=>Yt.parentNode,"aria-label":Kt,options:Qt},Nr,{value:Xt,onChange:(Yt,Gt)=>{Nt==null||Nt(Yt),an==null||an(Yt,Gt)},size:Tn?"small":"middle",className:ge()(ut,on)}))},Ln=b.useMemo(()=>{const zt=b.createElement("span",{className:`${Yn}-item-ellipsis`},"\u2022\u2022\u2022"),It=b.createElement("button",{className:`${Yn}-item-link`,type:"button",tabIndex:-1},kn==="rtl"?b.createElement(te.Z,null):b.createElement(E.Z,null)),Dt=b.createElement("button",{className:`${Yn}-item-link`,type:"button",tabIndex:-1},kn==="rtl"?b.createElement(E.Z,null):b.createElement(te.Z,null)),Vt=b.createElement("a",{className:`${Yn}-item-link`},b.createElement("div",{className:`${Yn}-item-container`},kn==="rtl"?b.createElement(fe.Z,{className:`${Yn}-item-link-icon`}):b.createElement(se,{className:`${Yn}-item-link-icon`}),zt)),Nt=b.createElement("a",{className:`${Yn}-item-link`},b.createElement("div",{className:`${Yn}-item-container`},kn==="rtl"?b.createElement(se,{className:`${Yn}-item-link-icon`}):b.createElement(fe.Z,{className:`${Yn}-item-link-icon`}),zt));return{prevIcon:It,nextIcon:Dt,jumpPrevIcon:Vt,jumpNextIcon:Nt}},[kn,Yn]),Qn=bn("select",Rt),Ar=ge()({[`${Yn}-${at}`]:!!at,[`${Yn}-mini`]:Tn,[`${Yn}-rtl`]:kn==="rtl",[`${Yn}-bordered`]:Jt.wireframe},pr,tn,qt,Wn,xn),wr=Object.assign(Object.assign({},xr),Bt);return mr(b.createElement(b.Fragment,null,Jt.wireframe&&b.createElement(me,{prefixCls:Yn}),b.createElement(lt,Object.assign({},Ln,Et,{style:wr,prefixCls:Yn,selectPrefixCls:Qn,className:Ar,locale:Kn,pageSizeOptions:zr,showSizeChanger:Er,sizeChangerRender:Rr}))))},it=Qe},89787:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return $t}});var b=ae(59301),oe=ae(17835),we=ae(29679),Ae=ae(40001),de=ae(19248),ve=ae(99267),re=ae(92310),se=ae.n(re),fe=ae(2738),E=ae(48755),te=ae(60499),ne=ae(85899),ge=ae(42244),Ce={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},be=function(){var jt=(0,b.useRef)([]),ln=(0,b.useRef)(null);return(0,b.useEffect)(function(){var yn=Date.now(),Et=!1;jt.current.forEach(function(Wt){if(Wt){Et=!0;var Jt=Wt.style;Jt.transitionDuration=".3s, .3s, .3s, .06s",ln.current&&yn-ln.current<100&&(Jt.transitionDuration="0s, 0s")}}),Et&&(ln.current=Date.now())}),jt.current},le=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ee=function(jt){var ln=(0,ne.Z)((0,ne.Z)({},Ce),jt),yn=ln.className,Et=ln.percent,Wt=ln.prefixCls,Jt=ln.strokeColor,bn=ln.strokeLinecap,kn=ln.strokeWidth,tr=ln.style,pr=ln.trailColor,xr=ln.trailWidth,Yn=ln.transition,mr=(0,ge.Z)(ln,le);delete mr.gapPosition;var Wn=Array.isArray(Et)?Et:[Et],xn=Array.isArray(Jt)?Jt:[Jt],Pn=be(),Tn=kn/2,In=100-kn/2,Kn="M ".concat(bn==="round"?Tn:0,",").concat(Tn,`
L `).concat(bn==="round"?In:100,",").concat(Tn),jn="0 0 100 ".concat(kn),nr=0;return b.createElement("svg",(0,te.Z)({className:se()("".concat(Wt,"-line"),yn),viewBox:jn,preserveAspectRatio:"none",style:tr},mr),b.createElement("path",{className:"".concat(Wt,"-line-trail"),d:Kn,strokeLinecap:bn,stroke:pr,strokeWidth:xr||kn,fillOpacity:"0"}),Wn.map(function(Cr,Sr){var Er=1;switch(bn){case"round":Er=1-kn/100;break;case"square":Er=1-kn/2/100;break;default:Er=1;break}var Nr={strokeDasharray:"".concat(Cr*Er,"px, 100px"),strokeDashoffset:"-".concat(nr,"px"),transition:Yn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Tr=xn[Sr]||xn[xn.length-1];return nr+=Cr,b.createElement("path",{key:Sr,className:"".concat(Wt,"-line-path"),d:Kn,strokeLinecap:bn,stroke:Tr,strokeWidth:kn,fillOpacity:"0",ref:function(Rr){Pn[Sr]=Rr},style:Nr})}))},Pe=Ee,Ie=ae(43749),Re=ae(72190),Me=ae(47273),ye=0,Te=(0,Me.Z)();function Fe(){var Ct;return Te?(Ct=ye,ye+=1):Ct="TEST_OR_SSR",Ct}var _e=function(Ct){var jt=b.useState(),ln=(0,Re.Z)(jt,2),yn=ln[0],Et=ln[1];return b.useEffect(function(){Et("rc_progress_".concat(Fe()))},[]),Ct||yn},Oe=function(jt){var ln=jt.bg,yn=jt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:ln}},yn)};function Ke(Ct,jt){return Object.keys(Ct).map(function(ln){var yn=parseFloat(ln),Et="".concat(Math.floor(yn*jt),"%");return"".concat(Ct[ln]," ").concat(Et)})}var We=b.forwardRef(function(Ct,jt){var ln=Ct.prefixCls,yn=Ct.color,Et=Ct.gradientId,Wt=Ct.radius,Jt=Ct.style,bn=Ct.ptg,kn=Ct.strokeLinecap,tr=Ct.strokeWidth,pr=Ct.size,xr=Ct.gapDegree,Yn=yn&&(0,Ie.Z)(yn)==="object",mr=Yn?"#FFF":void 0,Wn=pr/2,xn=b.createElement("circle",{className:"".concat(ln,"-circle-path"),r:Wt,cx:Wn,cy:Wn,stroke:mr,strokeLinecap:kn,strokeWidth:tr,opacity:bn===0?0:1,style:Jt,ref:jt});if(!Yn)return xn;var Pn="".concat(Et,"-conic"),Tn=xr?"".concat(180+xr/2,"deg"):"0deg",In=Ke(yn,(360-xr)/360),Kn=Ke(yn,1),jn="conic-gradient(from ".concat(Tn,", ").concat(In.join(", "),")"),nr="linear-gradient(to ".concat(xr?"bottom":"top",", ").concat(Kn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:Pn},xn),b.createElement("foreignObject",{x:0,y:0,width:pr,height:pr,mask:"url(#".concat(Pn,")")},b.createElement(Oe,{bg:nr},b.createElement(Oe,{bg:jn}))))}),Ne=We,Ye=100,Je=function(jt,ln,yn,Et,Wt,Jt,bn,kn,tr,pr){var xr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Yn=yn/100*360*((360-Jt)/360),mr=Jt===0?0:{bottom:0,top:180,left:90,right:-90}[bn],Wn=(100-Et)/100*ln;tr==="round"&&Et!==100&&(Wn+=pr/2,Wn>=ln&&(Wn=ln-.01));var xn=Ye/2;return{stroke:typeof kn=="string"?kn:void 0,strokeDasharray:"".concat(ln,"px ").concat(jt),strokeDashoffset:Wn+xr,transform:"rotate(".concat(Wt+Yn+mr,"deg)"),transformOrigin:"".concat(xn,"px ").concat(xn,"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}},He=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function lt(Ct){var jt=Ct!=null?Ct:[];return Array.isArray(jt)?jt:[jt]}var ft=function(jt){var ln=(0,ne.Z)((0,ne.Z)({},Ce),jt),yn=ln.id,Et=ln.prefixCls,Wt=ln.steps,Jt=ln.strokeWidth,bn=ln.trailWidth,kn=ln.gapDegree,tr=kn===void 0?0:kn,pr=ln.gapPosition,xr=ln.trailColor,Yn=ln.strokeLinecap,mr=ln.style,Wn=ln.className,xn=ln.strokeColor,Pn=ln.percent,Tn=(0,ge.Z)(ln,He),In=Ye/2,Kn=_e(yn),jn="".concat(Kn,"-gradient"),nr=In-Jt/2,Cr=Math.PI*2*nr,Sr=tr>0?90+tr/2:-90,Er=Cr*((360-tr)/360),Nr=(0,Ie.Z)(Wt)==="object"?Wt:{count:Wt,gap:2},Tr=Nr.count,zr=Nr.gap,Rr=lt(Pn),Ln=lt(xn),Qn=Ln.find(function(Nt){return Nt&&(0,Ie.Z)(Nt)==="object"}),Ar=Qn&&(0,Ie.Z)(Qn)==="object",wr=Ar?"butt":Yn,zt=Je(Cr,Er,0,100,Sr,tr,pr,xr,wr,Jt),It=be(),Dt=function(){var Kt=0;return Rr.map(function(ut,Qt){var on=Ln[Qt]||Ln[Ln.length-1],an=Je(Cr,Er,Kt,ut,Sr,tr,pr,on,wr,Jt);return Kt+=ut,b.createElement(Ne,{key:Qt,color:on,ptg:ut,radius:nr,prefixCls:Et,gradientId:jn,style:an,strokeLinecap:wr,strokeWidth:Jt,gapDegree:tr,ref:function(Yt){It[Qt]=Yt},size:Ye})}).reverse()},Vt=function(){var Kt=Math.round(Tr*(Rr[0]/100)),ut=100/Tr,Qt=0;return new Array(Tr).fill(null).map(function(on,an){var Xt=an<=Kt-1?Ln[0]:xr,Yt=Xt&&(0,Ie.Z)(Xt)==="object"?"url(#".concat(jn,")"):void 0,Gt=Je(Cr,Er,Qt,ut,Sr,tr,pr,Xt,"butt",Jt,zr);return Qt+=(Er-Gt.strokeDashoffset+zr)*100/Er,b.createElement("circle",{key:an,className:"".concat(Et,"-circle-path"),r:nr,cx:In,cy:In,stroke:Yt,strokeWidth:Jt,opacity:1,style:Gt,ref:function(ur){It[an]=ur}})})};return b.createElement("svg",(0,te.Z)({className:se()("".concat(Et,"-circle"),Wn),viewBox:"0 0 ".concat(Ye," ").concat(Ye),style:mr,id:yn,role:"presentation"},Tn),!Tr&&b.createElement("circle",{className:"".concat(Et,"-circle-trail"),r:nr,cx:In,cy:In,stroke:xr,strokeLinecap:wr,strokeWidth:bn||Jt,style:zt}),Tr?Vt():Dt())},tt=ft,Ot={Line:Pe,Circle:tt},nt=ae(25399),Ze=ae(68361);function Ge(Ct){return!Ct||Ct<0?0:Ct>100?100:Ct}function $e(Ct){let{success:jt,successPercent:ln}=Ct,yn=ln;return jt&&"progress"in jt&&(yn=jt.progress),jt&&"percent"in jt&&(yn=jt.percent),yn}const qe=Ct=>{let{percent:jt,success:ln,successPercent:yn}=Ct;const Et=Ge($e({success:ln,successPercent:yn}));return[Et,Ge(Ge(jt)-Et)]},Ve=Ct=>{let{success:jt={},strokeColor:ln}=Ct;const{strokeColor:yn}=jt;return[yn||Ze.presetPrimaryColors.green,ln||null]},mt=(Ct,jt,ln)=>{var yn,Et,Wt,Jt;let bn=-1,kn=-1;if(jt==="step"){const tr=ln.steps,pr=ln.strokeWidth;typeof Ct=="string"||typeof Ct=="undefined"?(bn=Ct==="small"?2:14,kn=pr!=null?pr:8):typeof Ct=="number"?[bn,kn]=[Ct,Ct]:[bn=14,kn=8]=Array.isArray(Ct)?Ct:[Ct.width,Ct.height],bn*=tr}else if(jt==="line"){const tr=ln==null?void 0:ln.strokeWidth;typeof Ct=="string"||typeof Ct=="undefined"?kn=tr||(Ct==="small"?6:8):typeof Ct=="number"?[bn,kn]=[Ct,Ct]:[bn=-1,kn=8]=Array.isArray(Ct)?Ct:[Ct.width,Ct.height]}else(jt==="circle"||jt==="dashboard")&&(typeof Ct=="string"||typeof Ct=="undefined"?[bn,kn]=Ct==="small"?[60,60]:[120,120]:typeof Ct=="number"?[bn,kn]=[Ct,Ct]:Array.isArray(Ct)&&(bn=(Et=(yn=Ct[0])!==null&&yn!==void 0?yn:Ct[1])!==null&&Et!==void 0?Et:120,kn=(Jt=(Wt=Ct[0])!==null&&Wt!==void 0?Wt:Ct[1])!==null&&Jt!==void 0?Jt:120));return[bn,kn]},st=3,Lt=Ct=>st/Ct*100;var Tt=Ct=>{const{prefixCls:jt,trailColor:ln=null,strokeLinecap:yn="round",gapPosition:Et,gapDegree:Wt,width:Jt=120,type:bn,children:kn,success:tr,size:pr=Jt,steps:xr}=Ct,[Yn,mr]=mt(pr,"circle");let{strokeWidth:Wn}=Ct;Wn===void 0&&(Wn=Math.max(Lt(Yn),6));const xn={width:Yn,height:mr,fontSize:Yn*.15+6},Pn=b.useMemo(()=>{if(Wt||Wt===0)return Wt;if(bn==="dashboard")return 75},[Wt,bn]),Tn=qe(Ct),In=Et||bn==="dashboard"&&"bottom"||void 0,Kn=Object.prototype.toString.call(Ct.strokeColor)==="[object Object]",jn=Ve({success:tr,strokeColor:Ct.strokeColor}),nr=se()(`${jt}-inner`,{[`${jt}-circle-gradient`]:Kn}),Cr=b.createElement(tt,{steps:xr,percent:xr?Tn[1]:Tn,strokeWidth:Wn,trailWidth:Wn,strokeColor:xr?jn[1]:jn,strokeLinecap:yn,trailColor:ln,prefixCls:jt,gapDegree:Pn,gapPosition:In}),Sr=Yn<=20,Er=b.createElement("div",{className:nr,style:xn},Cr,!Sr&&kn);return Sr?b.createElement(nt.Z,{title:kn},Er):Er},xt=ae(36237),wt=ae(63356),yt=ae(16931),je=ae(51636);const ue="--progress-line-stroke-color",ie="--progress-percent",ke=Ct=>{const jt=Ct?"100%":"-100%";return new xt.Keyframes(`antProgress${Ct?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${jt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${jt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Xe=Ct=>{const{componentCls:jt,iconCls:ln}=Ct;return{[jt]:Object.assign(Object.assign({},(0,wt.Wf)(Ct)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ct.fontSize},[`${jt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${jt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Ct.remainingColor,borderRadius:Ct.lineBorderRadius},[`${jt}-inner:not(${jt}-circle-gradient)`]:{[`${jt}-circle-path`]:{stroke:Ct.defaultColor}},[`${jt}-success-bg, ${jt}-bg`]:{position:"relative",background:Ct.defaultColor,borderRadius:Ct.lineBorderRadius,transition:`all ${Ct.motionDurationSlow} ${Ct.motionEaseInOutCirc}`},[`${jt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${jt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Ct.marginXXS}},[`${jt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ue})`]},height:"100%",width:`calc(1 / var(${ie}) * 100%)`,display:"block"},[`&${jt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${jt}-text-inner`]:{color:Ct.colorWhite,[`&${jt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${jt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ct.colorSuccess},[`${jt}-text`]:{display:"inline-block",marginInlineStart:Ct.marginXS,color:Ct.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ln]:{fontSize:Ct.fontSize},[`&${jt}-text-outer`]:{width:"max-content"},[`&${jt}-text-outer${jt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Ct.marginXS}},[`${jt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,xt.unit)(Ct.paddingXXS)}`,[`&${jt}-text-start`]:{justifyContent:"start"},[`&${jt}-text-end`]:{justifyContent:"end"}},[`&${jt}-status-active`]:{[`${jt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ct.colorBgContainer,borderRadius:Ct.lineBorderRadius,opacity:0,animationName:ke(),animationDuration:Ct.progressActiveMotionDuration,animationTimingFunction:Ct.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${jt}-rtl${jt}-status-active`]:{[`${jt}-bg::before`]:{animationName:ke(!0)}},[`&${jt}-status-exception`]:{[`${jt}-bg`]:{backgroundColor:Ct.colorError},[`${jt}-text`]:{color:Ct.colorError}},[`&${jt}-status-exception ${jt}-inner:not(${jt}-circle-gradient)`]:{[`${jt}-circle-path`]:{stroke:Ct.colorError}},[`&${jt}-status-success`]:{[`${jt}-bg`]:{backgroundColor:Ct.colorSuccess},[`${jt}-text`]:{color:Ct.colorSuccess}},[`&${jt}-status-success ${jt}-inner:not(${jt}-circle-gradient)`]:{[`${jt}-circle-path`]:{stroke:Ct.colorSuccess}}})}},De=Ct=>{const{componentCls:jt,iconCls:ln}=Ct;return{[jt]:{[`${jt}-circle-trail`]:{stroke:Ct.remainingColor},[`&${jt}-circle ${jt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${jt}-circle ${jt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ct.circleTextColor,fontSize:Ct.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ln]:{fontSize:Ct.circleIconFontSize}},[`${jt}-circle&-status-exception`]:{[`${jt}-text`]:{color:Ct.colorError}},[`${jt}-circle&-status-success`]:{[`${jt}-text`]:{color:Ct.colorSuccess}}},[`${jt}-inline-circle`]:{lineHeight:1,[`${jt}-inner`]:{verticalAlign:"bottom"}}}},pe=Ct=>{const{componentCls:jt}=Ct;return{[jt]:{[`${jt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ct.progressStepMinWidth,marginInlineEnd:Ct.progressStepMarginInlineEnd,backgroundColor:Ct.remainingColor,transition:`all ${Ct.motionDurationSlow}`,"&-active":{backgroundColor:Ct.defaultColor}}}}}},x=Ct=>{const{componentCls:jt,iconCls:ln}=Ct;return{[jt]:{[`${jt}-small&-line, ${jt}-small&-line ${jt}-text ${ln}`]:{fontSize:Ct.fontSizeSM}}}},me=Ct=>({circleTextColor:Ct.colorText,defaultColor:Ct.colorInfo,remainingColor:Ct.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Ct.fontSize/Ct.fontSizeSM}em`});var Le=(0,yt.I$)("Progress",Ct=>{const jt=Ct.calc(Ct.marginXXS).div(2).equal(),ln=(0,je.mergeToken)(Ct,{progressStepMarginInlineEnd:jt,progressStepMinWidth:jt,progressActiveMotionDuration:"2.4s"});return[Xe(ln),De(ln),pe(ln),x(ln)]},me),Se=function(Ct,jt){var ln={};for(var yn in Ct)Object.prototype.hasOwnProperty.call(Ct,yn)&&jt.indexOf(yn)<0&&(ln[yn]=Ct[yn]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,yn=Object.getOwnPropertySymbols(Ct);Et<yn.length;Et++)jt.indexOf(yn[Et])<0&&Object.prototype.propertyIsEnumerable.call(Ct,yn[Et])&&(ln[yn[Et]]=Ct[yn[Et]]);return ln};const Be=Ct=>{let jt=[];return Object.keys(Ct).forEach(ln=>{const yn=parseFloat(ln.replace(/%/g,""));Number.isNaN(yn)||jt.push({key:yn,value:Ct[ln]})}),jt=jt.sort((ln,yn)=>ln.key-yn.key),jt.map(ln=>{let{key:yn,value:Et}=ln;return`${Et} ${yn}%`}).join(", ")},Qe=(Ct,jt)=>{const{from:ln=Ze.presetPrimaryColors.blue,to:yn=Ze.presetPrimaryColors.blue,direction:Et=jt==="rtl"?"to left":"to right"}=Ct,Wt=Se(Ct,["from","to","direction"]);if(Object.keys(Wt).length!==0){const bn=Be(Wt),kn=`linear-gradient(${Et}, ${bn})`;return{background:kn,[ue]:kn}}const Jt=`linear-gradient(${Et}, ${ln}, ${yn})`;return{background:Jt,[ue]:Jt}};var ot=Ct=>{const{prefixCls:jt,direction:ln,percent:yn,size:Et,strokeWidth:Wt,strokeColor:Jt,strokeLinecap:bn="round",children:kn,trailColor:tr=null,percentPosition:pr,success:xr}=Ct,{align:Yn,type:mr}=pr,Wn=Jt&&typeof Jt!="string"?Qe(Jt,ln):{[ue]:Jt,background:Jt},xn=bn==="square"||bn==="butt"?0:void 0,Pn=Et!=null?Et:[-1,Wt||(Et==="small"?6:8)],[Tn,In]=mt(Pn,"line",{strokeWidth:Wt}),Kn={backgroundColor:tr||void 0,borderRadius:xn},jn=Object.assign(Object.assign({width:`${Ge(yn)}%`,height:In,borderRadius:xn},Wn),{[ie]:Ge(yn)/100}),nr=$e(Ct),Cr={width:`${Ge(nr)}%`,height:In,borderRadius:xn,backgroundColor:xr==null?void 0:xr.strokeColor},Sr={width:Tn<0?"100%":Tn},Er=b.createElement("div",{className:`${jt}-inner`,style:Kn},b.createElement("div",{className:se()(`${jt}-bg`,`${jt}-bg-${mr}`),style:jn},mr==="inner"&&kn),nr!==void 0&&b.createElement("div",{className:`${jt}-success-bg`,style:Cr})),Nr=mr==="outer"&&Yn==="start",Tr=mr==="outer"&&Yn==="end";return mr==="outer"&&Yn==="center"?b.createElement("div",{className:`${jt}-layout-bottom`},Er,kn):b.createElement("div",{className:`${jt}-outer`,style:Sr},Nr&&kn,Er,Tr&&kn)},Mt=Ct=>{const{size:jt,steps:ln,rounding:yn=Math.round,percent:Et=0,strokeWidth:Wt=8,strokeColor:Jt,trailColor:bn=null,prefixCls:kn,children:tr}=Ct,pr=yn(ln*(Et/100)),xr=jt==="small"?2:14,Yn=jt!=null?jt:[xr,Wt],[mr,Wn]=mt(Yn,"step",{steps:ln,strokeWidth:Wt}),xn=mr/ln,Pn=Array.from({length:ln});for(let Tn=0;Tn<ln;Tn++){const In=Array.isArray(Jt)?Jt[Tn]:Jt;Pn[Tn]=b.createElement("div",{key:Tn,className:se()(`${kn}-steps-item`,{[`${kn}-steps-item-active`]:Tn<=pr-1}),style:{backgroundColor:Tn<=pr-1?In:bn,width:xn,height:Wn}})}return b.createElement("div",{className:`${kn}-steps-outer`},Pn,tr)},Rt=function(Ct,jt){var ln={};for(var yn in Ct)Object.prototype.hasOwnProperty.call(Ct,yn)&&jt.indexOf(yn)<0&&(ln[yn]=Ct[yn]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,yn=Object.getOwnPropertySymbols(Ct);Et<yn.length;Et++)jt.indexOf(yn[Et])<0&&Object.prototype.propertyIsEnumerable.call(Ct,yn[Et])&&(ln[yn[Et]]=Ct[yn[Et]]);return ln};const tn=null,qt=["normal","exception","active","success"];var hn=b.forwardRef((Ct,jt)=>{const{prefixCls:ln,className:yn,rootClassName:Et,steps:Wt,strokeColor:Jt,percent:bn=0,size:kn="default",showInfo:tr=!0,type:pr="line",status:xr,format:Yn,style:mr,percentPosition:Wn={}}=Ct,xn=Rt(Ct,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pn="end",type:Tn="outer"}=Wn,In=Array.isArray(Jt)?Jt[0]:Jt,Kn=typeof Jt=="string"||Array.isArray(Jt)?Jt:void 0,jn=b.useMemo(()=>{if(In){const Dt=typeof In=="string"?In:Object.values(In)[0];return new oe.FastColor(Dt).isLight()}return!1},[Jt]),nr=b.useMemo(()=>{var Dt,Vt;const Nt=$e(Ct);return parseInt(Nt!==void 0?(Dt=Nt!=null?Nt:0)===null||Dt===void 0?void 0:Dt.toString():(Vt=bn!=null?bn:0)===null||Vt===void 0?void 0:Vt.toString(),10)},[bn,Ct.success,Ct.successPercent]),Cr=b.useMemo(()=>!qt.includes(xr)&&nr>=100?"success":xr||"normal",[xr,nr]),{getPrefixCls:Sr,direction:Er,progress:Nr}=b.useContext(E.E_),Tr=Sr("progress",ln),[zr,Rr,Ln]=Le(Tr),Qn=pr==="line",Ar=Qn&&!Wt,wr=b.useMemo(()=>{if(!tr)return null;const Dt=$e(Ct);let Vt;const Nt=Yn||(ut=>`${ut}%`),Kt=Qn&&jn&&Tn==="inner";return Tn==="inner"||Yn||Cr!=="exception"&&Cr!=="success"?Vt=Nt(Ge(bn),Ge(Dt)):Cr==="exception"?Vt=Qn?b.createElement(de.Z,null):b.createElement(ve.Z,null):Cr==="success"&&(Vt=Qn?b.createElement(we.Z,null):b.createElement(Ae.Z,null)),b.createElement("span",{className:se()(`${Tr}-text`,{[`${Tr}-text-bright`]:Kt,[`${Tr}-text-${Pn}`]:Ar,[`${Tr}-text-${Tn}`]:Ar}),title:typeof Vt=="string"?Vt:void 0},Vt)},[tr,bn,nr,Cr,pr,Tr,Yn]);let zt;pr==="line"?zt=Wt?b.createElement(Mt,Object.assign({},Ct,{strokeColor:Kn,prefixCls:Tr,steps:typeof Wt=="object"?Wt.count:Wt}),wr):b.createElement(ot,Object.assign({},Ct,{strokeColor:In,prefixCls:Tr,direction:Er,percentPosition:{align:Pn,type:Tn}}),wr):(pr==="circle"||pr==="dashboard")&&(zt=b.createElement(Tt,Object.assign({},Ct,{strokeColor:In,prefixCls:Tr,progressStatus:Cr}),wr));const It=se()(Tr,`${Tr}-status-${Cr}`,{[`${Tr}-${pr==="dashboard"&&"circle"||pr}`]:pr!=="line",[`${Tr}-inline-circle`]:pr==="circle"&&mt(kn,"circle")[0]<=20,[`${Tr}-line`]:Ar,[`${Tr}-line-align-${Pn}`]:Ar,[`${Tr}-line-position-${Tn}`]:Ar,[`${Tr}-steps`]:Wt,[`${Tr}-show-info`]:tr,[`${Tr}-${kn}`]:typeof kn=="string",[`${Tr}-rtl`]:Er==="rtl"},Nr==null?void 0:Nr.className,yn,Et,Rr,Ln);return zr(b.createElement("div",Object.assign({ref:jt,style:Object.assign(Object.assign({},Nr==null?void 0:Nr.style),mr),className:It,role:"progressbar","aria-valuenow":nr,"aria-valuemin":0,"aria-valuemax":100},(0,fe.Z)(xn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),zt))}),$t=hn},63139:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return qe}});var b=ae(59301),oe=ae(60499),we={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"},Ae=we,de=ae(7657),ve=function(mt,st){return b.createElement(de.Z,(0,oe.Z)({},mt,{ref:st,icon:Ae}))},re=b.forwardRef(ve),se=re,fe=ae(92310),E=ae.n(fe),te=ae(18642),ne=ae(72190),ge=ae(42244),Ce=ae(18929),be=ae(10228),le=ae(26112);function Ee(Ve,mt){var st=Ve.disabled,Lt=Ve.prefixCls,ct=Ve.character,Tt=Ve.characterRender,xt=Ve.index,wt=Ve.count,yt=Ve.value,je=Ve.allowHalf,ue=Ve.focused,ie=Ve.onHover,ke=Ve.onClick,Xe=function(Qe){ie(Qe,xt)},De=function(Qe){ke(Qe,xt)},pe=function(Qe){Qe.keyCode===be.Z.ENTER&&ke(Qe,xt)},x=xt+1,me=new Set([Lt]);yt===0&&xt===0&&ue?me.add("".concat(Lt,"-focused")):je&&yt+.5>=x&&yt<x?(me.add("".concat(Lt,"-half")),me.add("".concat(Lt,"-active")),ue&&me.add("".concat(Lt,"-focused"))):(x<=yt?me.add("".concat(Lt,"-full")):me.add("".concat(Lt,"-zero")),x===yt&&ue&&me.add("".concat(Lt,"-focused")));var Le=typeof ct=="function"?ct(Ve):ct,Se=b.createElement("li",{className:E()(Array.from(me)),ref:mt},b.createElement("div",{onClick:st?null:De,onKeyDown:st?null:pe,onMouseMove:st?null:Xe,role:"radio","aria-checked":yt>xt?"true":"false","aria-posinset":xt+1,"aria-setsize":wt,tabIndex:st?-1:0},b.createElement("div",{className:"".concat(Lt,"-first")},Le),b.createElement("div",{className:"".concat(Lt,"-second")},Le)));return Tt&&(Se=Tt(Se,Ve)),Se}var Pe=b.forwardRef(Ee);function Ie(){var Ve=b.useRef({});function mt(Lt){return Ve.current[Lt]}function st(Lt){return function(ct){Ve.current[Lt]=ct}}return[mt,st]}function Re(Ve){var mt=Ve.pageXOffset,st="scrollLeft";if(typeof mt!="number"){var Lt=Ve.document;mt=Lt.documentElement[st],typeof mt!="number"&&(mt=Lt.body[st])}return mt}function Me(Ve){var mt,st,Lt=Ve.ownerDocument,ct=Lt.body,Tt=Lt&&Lt.documentElement,xt=Ve.getBoundingClientRect();return mt=xt.left,st=xt.top,mt-=Tt.clientLeft||ct.clientLeft||0,st-=Tt.clientTop||ct.clientTop||0,{left:mt,top:st}}function ye(Ve){var mt=Me(Ve),st=Ve.ownerDocument,Lt=st.defaultView||st.parentWindow;return mt.left+=Re(Lt),mt.left}var Te=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Fe(Ve,mt){var st=Ve.prefixCls,Lt=st===void 0?"rc-rate":st,ct=Ve.className,Tt=Ve.defaultValue,xt=Ve.value,wt=Ve.count,yt=wt===void 0?5:wt,je=Ve.allowHalf,ue=je===void 0?!1:je,ie=Ve.allowClear,ke=ie===void 0?!0:ie,Xe=Ve.keyboard,De=Xe===void 0?!0:Xe,pe=Ve.character,x=pe===void 0?"\u2605":pe,me=Ve.characterRender,Le=Ve.disabled,Se=Ve.direction,Be=Se===void 0?"ltr":Se,Qe=Ve.tabIndex,it=Qe===void 0?0:Qe,ot=Ve.autoFocus,at=Ve.onHoverChange,Mt=Ve.onChange,Rt=Ve.onFocus,tn=Ve.onBlur,qt=Ve.onKeyDown,Bt=Ve.onMouseLeave,hn=(0,ge.Z)(Ve,Te),$t=Ie(),Ct=(0,ne.Z)($t,2),jt=Ct[0],ln=Ct[1],yn=b.useRef(null),Et=function(){if(!Le){var wr;(wr=yn.current)===null||wr===void 0||wr.focus()}};b.useImperativeHandle(mt,function(){return{focus:Et,blur:function(){if(!Le){var wr;(wr=yn.current)===null||wr===void 0||wr.blur()}}}});var Wt=(0,Ce.Z)(Tt||0,{value:xt}),Jt=(0,ne.Z)(Wt,2),bn=Jt[0],kn=Jt[1],tr=(0,Ce.Z)(null),pr=(0,ne.Z)(tr,2),xr=pr[0],Yn=pr[1],mr=function(wr,zt){var It=Be==="rtl",Dt=wr+1;if(ue){var Vt=jt(wr),Nt=ye(Vt),Kt=Vt.clientWidth;(It&&zt-Nt>Kt/2||!It&&zt-Nt<Kt/2)&&(Dt-=.5)}return Dt},Wn=function(wr){kn(wr),Mt==null||Mt(wr)},xn=b.useState(!1),Pn=(0,ne.Z)(xn,2),Tn=Pn[0],In=Pn[1],Kn=function(){In(!0),Rt==null||Rt()},jn=function(){In(!1),tn==null||tn()},nr=b.useState(null),Cr=(0,ne.Z)(nr,2),Sr=Cr[0],Er=Cr[1],Nr=function(wr,zt){var It=mr(zt,wr.pageX);It!==xr&&(Er(It),Yn(null)),at==null||at(It)},Tr=function(wr){Le||(Er(null),Yn(null),at==null||at(void 0)),wr&&(Bt==null||Bt(wr))},zr=function(wr,zt){var It=mr(zt,wr.pageX),Dt=!1;ke&&(Dt=It===bn),Tr(),Wn(Dt?0:It),Yn(Dt?It:null)},Rr=function(wr){var zt=wr.keyCode,It=Be==="rtl",Dt=ue?.5:1;De&&(zt===be.Z.RIGHT&&bn<yt&&!It?(Wn(bn+Dt),wr.preventDefault()):zt===be.Z.LEFT&&bn>0&&!It||zt===be.Z.RIGHT&&bn>0&&It?(Wn(bn-Dt),wr.preventDefault()):zt===be.Z.LEFT&&bn<yt&&It&&(Wn(bn+Dt),wr.preventDefault())),qt==null||qt(wr)};b.useEffect(function(){ot&&!Le&&Et()},[]);var Ln=new Array(yt).fill(0).map(function(Ar,wr){return b.createElement(Pe,{ref:ln(wr),index:wr,count:yt,disabled:Le,prefixCls:"".concat(Lt,"-star"),allowHalf:ue,value:Sr===null?bn:Sr,onClick:zr,onHover:Nr,key:Ar||wr,character:x,characterRender:me,focused:Tn})}),Qn=E()(Lt,ct,(0,te.Z)((0,te.Z)({},"".concat(Lt,"-disabled"),Le),"".concat(Lt,"-rtl"),Be==="rtl"));return b.createElement("ul",(0,oe.Z)({className:Qn,onMouseLeave:Tr,tabIndex:Le?-1:it,onFocus:Le?null:Kn,onBlur:Le?null:jn,onKeyDown:Le?null:Rr,ref:yn},(0,le.Z)(hn,{aria:!0,data:!0,attr:!0})),Ln)}var _e=b.forwardRef(Fe),Oe=_e,Ke=ae(48755),We=ae(25399),Ne=ae(36237),Ye=ae(63356),Je=ae(16931),He=ae(51636);const lt=Ve=>{const{componentCls:mt}=Ve;return{[`${mt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ve.marginXS},"> div":{transition:`all ${Ve.motionDurationMid}, outline 0s`,"&:hover":{transform:Ve.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Ne.unit)(Ve.lineWidth)} dashed ${Ve.starColor}`,transform:Ve.starHoverScale}},"&-first, &-second":{color:Ve.starBg,transition:`all ${Ve.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${mt}-star-first, &-half ${mt}-star-second`]:{opacity:1},[`&-half ${mt}-star-first, &-full ${mt}-star-second`]:{color:"inherit"}}}},ft=Ve=>({[`&-rtl${Ve.componentCls}`]:{direction:"rtl"}}),tt=Ve=>{const{componentCls:mt}=Ve;return{[mt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(Ve)),{display:"inline-block",margin:0,padding:0,color:Ve.starColor,fontSize:Ve.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${mt} ${mt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),lt(Ve)),ft(Ve))}},Ot=Ve=>({starColor:Ve.yellow6,starSize:Ve.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ve.colorFillContent});var nt=(0,Je.I$)("Rate",Ve=>{const mt=(0,He.mergeToken)(Ve,{});return[tt(mt)]},Ot),Ze=ae(2171),Ge=function(Ve,mt){var st={};for(var Lt in Ve)Object.prototype.hasOwnProperty.call(Ve,Lt)&&mt.indexOf(Lt)<0&&(st[Lt]=Ve[Lt]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Lt=Object.getOwnPropertySymbols(Ve);ct<Lt.length;ct++)mt.indexOf(Lt[ct])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Lt[ct])&&(st[Lt[ct]]=Ve[Lt[ct]]);return st},qe=b.forwardRef((Ve,mt)=>{const{prefixCls:st,className:Lt,rootClassName:ct,style:Tt,tooltips:xt,character:wt=b.createElement(se,null),disabled:yt}=Ve,je=Ge(Ve,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ue=(Qe,it)=>{let{index:ot}=it;return xt?b.createElement(We.Z,{title:xt[ot]},Qe):Qe},{getPrefixCls:ie,direction:ke,rate:Xe}=b.useContext(Ke.E_),De=ie("rate",st),[pe,x,me]=nt(De),Le=Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Tt),Se=b.useContext(Ze.Z),Be=yt!=null?yt:Se;return pe(b.createElement(Oe,Object.assign({ref:mt,character:wt,characterRender:ue,disabled:Be},je,{className:E()(Lt,ct,x,me,Xe==null?void 0:Xe.className),style:Le,prefixCls:De,direction:ke})))})},82326:function(_n,pn,ae){"use strict";var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(37463),de=ae(2738),ve=ae(75030),re=ae(86641),se=ae(45915),fe=ae(82855),E=ae(48755),te=ae(38406),ne=ae(2171),ge=ae(83397),Ce=ae(31756),be=ae(56553),le=ae(24971),Ee=ae(70045),Pe=ae(57700),Ie=ae(1722),Re=ae(90376),Me=ae(68525),ye=ae(90005),Te=function(We,Ne){var Ye={};for(var Je in We)Object.prototype.hasOwnProperty.call(We,Je)&&Ne.indexOf(Je)<0&&(Ye[Je]=We[Je]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Je=Object.getOwnPropertySymbols(We);He<Je.length;He++)Ne.indexOf(Je[He])<0&&Object.prototype.propertyIsEnumerable.call(We,Je[He])&&(Ye[Je[He]]=We[Je[He]]);return Ye};const Fe="SECRET_COMBOBOX_MODE_DO_NOT_USE",_e=(We,Ne)=>{var Ye;const{prefixCls:Je,bordered:He,className:lt,rootClassName:ft,getPopupContainer:tt,popupClassName:Ot,dropdownClassName:nt,listHeight:Ze=256,placement:Ge,listItemHeight:$e,size:qe,disabled:Ve,notFoundContent:mt,status:st,builtinPlacements:Lt,dropdownMatchSelectWidth:ct,popupMatchSelectWidth:Tt,direction:xt,style:wt,allowClear:yt,variant:je,dropdownStyle:ue,transitionName:ie,tagRender:ke,maxCount:Xe,prefix:De}=We,pe=Te(We,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:x,getPrefixCls:me,renderEmpty:Le,direction:Se,virtual:Be,popupMatchSelectWidth:Qe,popupOverflow:it}=b.useContext(E.E_),ot=(0,E.dj)("select"),[,at]=(0,Pe.ZP)(),Mt=$e!=null?$e:at==null?void 0:at.controlHeight,Rt=me("select",Je),tn=me(),qt=xt!=null?xt:Se,{compactSize:Bt,compactItemClassnames:hn}=(0,Ee.ri)(Rt,qt),[$t,Ct]=(0,le.Z)("select",je,He),jt=(0,ge.Z)(Rt),[ln,yn,Et]=(0,Re.Z)(Rt,jt),Wt=b.useMemo(()=>{const{mode:Rr}=We;if(Rr!=="combobox")return Rr===Fe?"combobox":Rr},[We.mode]),Jt=Wt==="multiple"||Wt==="tags",bn=(0,ye.Z)(We.suffixIcon,We.showArrow),kn=(Ye=Tt!=null?Tt:ct)!==null&&Ye!==void 0?Ye:Qe,{status:tr,hasFeedback:pr,isFormItemInput:xr,feedbackIcon:Yn}=b.useContext(be.aM),mr=(0,fe.F)(tr,st);let Wn;mt!==void 0?Wn=mt:Wt==="combobox"?Wn=null:Wn=(Le==null?void 0:Le("Select"))||b.createElement(te.Z,{componentName:"Select"});const{suffixIcon:xn,itemIcon:Pn,removeIcon:Tn,clearIcon:In}=(0,Me.Z)(Object.assign(Object.assign({},pe),{multiple:Jt,hasFeedback:pr,feedbackIcon:Yn,showSuffixIcon:bn,prefixCls:Rt,componentName:"Select"})),Kn=yt===!0?{clearIcon:In}:yt,jn=(0,de.Z)(pe,["suffixIcon","itemIcon"]),nr=we()(Ot||nt,{[`${Rt}-dropdown-${qt}`]:qt==="rtl"},ft,Et,jt,yn),Cr=(0,Ce.Z)(Rr=>{var Ln;return(Ln=qe!=null?qe:Bt)!==null&&Ln!==void 0?Ln:Rr}),Sr=b.useContext(ne.Z),Er=Ve!=null?Ve:Sr,Nr=we()({[`${Rt}-lg`]:Cr==="large",[`${Rt}-sm`]:Cr==="small",[`${Rt}-rtl`]:qt==="rtl",[`${Rt}-${$t}`]:Ct,[`${Rt}-in-form-item`]:xr},(0,fe.Z)(Rt,mr,pr),hn,ot.className,lt,ft,Et,jt,yn),Tr=b.useMemo(()=>Ge!==void 0?Ge:qt==="rtl"?"bottomRight":"bottomLeft",[Ge,qt]),[zr]=(0,ve.Cn)("SelectLike",ue==null?void 0:ue.zIndex);return ln(b.createElement(Ae.ZP,Object.assign({ref:Ne,virtual:Be,showSearch:ot.showSearch},jn,{style:Object.assign(Object.assign({},ot.style),wt),dropdownMatchSelectWidth:kn,transitionName:(0,re.m)(tn,"slide-up",ie),builtinPlacements:(0,Ie.Z)(Lt,it),listHeight:Ze,listItemHeight:Mt,mode:Wt,prefixCls:Rt,placement:Tr,direction:qt,prefix:De,suffixIcon:xn,menuItemSelectedIcon:Pn,removeIcon:Tn,allowClear:Kn,notFoundContent:Wn,className:Nr,getPopupContainer:tt||x,dropdownClassName:nr,disabled:Er,dropdownStyle:Object.assign(Object.assign({},ue),{zIndex:zr}),maxCount:Jt?Xe:void 0,tagRender:Jt?ke:void 0})))},Oe=b.forwardRef(_e),Ke=(0,se.Z)(Oe,"dropdownAlign");Oe.SECRET_COMBOBOX_MODE_DO_NOT_USE=Fe,Oe.Option=Ae.Wx,Oe.OptGroup=Ae.Xo,Oe._InternalPanelDoNotUseOrYouWillBeFired=Ke,pn.default=Oe},1722:function(_n,pn){"use strict";const ae=oe=>{const Ae={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:oe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Ae),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Ae),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Ae),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Ae),{points:["br","tr"],offset:[0,-4]})}};function b(oe,we){return oe||ae(we)}pn.Z=b},90376:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Je}});var b=ae(63356),oe=ae(56119),we=ae(16931),Ae=ae(51636),de=ae(46e3),ve=ae(93873);const re=He=>{const{optionHeight:lt,optionFontSize:ft,optionLineHeight:tt,optionPadding:Ot}=He;return{position:"relative",display:"block",minHeight:lt,padding:Ot,color:He.colorText,fontWeight:"normal",fontSize:ft,lineHeight:tt,boxSizing:"border-box"}};var fe=He=>{const{antCls:lt,componentCls:ft}=He,tt=`${ft}-item`,Ot=`&${lt}-slide-up-enter${lt}-slide-up-enter-active`,nt=`&${lt}-slide-up-appear${lt}-slide-up-appear-active`,Ze=`&${lt}-slide-up-leave${lt}-slide-up-leave-active`,Ge=`${ft}-dropdown-placement-`,$e=`${tt}-option-selected`;return[{[`${ft}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(He)),{position:"absolute",top:-9999,zIndex:He.zIndexPopup,boxSizing:"border-box",padding:He.paddingXXS,overflow:"hidden",fontSize:He.fontSize,fontVariant:"initial",backgroundColor:He.colorBgElevated,borderRadius:He.borderRadiusLG,outline:"none",boxShadow:He.boxShadowSecondary,[`
${Ot}${Ge}bottomLeft,
${nt}${Ge}bottomLeft
`]:{animationName:de.fJ},[`
${Ot}${Ge}topLeft,
${nt}${Ge}topLeft,
${Ot}${Ge}topRight,
${nt}${Ge}topRight
`]:{animationName:de.Qt},[`${Ze}${Ge}bottomLeft`]:{animationName:de.Uw},[`
${Ze}${Ge}topLeft,
${Ze}${Ge}topRight
`]:{animationName:de.ly},"&-hidden":{display:"none"},[tt]:Object.assign(Object.assign({},re(He)),{cursor:"pointer",transition:`background ${He.motionDurationSlow} ease`,borderRadius:He.borderRadiusSM,"&-group":{color:He.colorTextDescription,fontSize:He.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${tt}-option-disabled)`]:{backgroundColor:He.optionActiveBg},[`&-selected:not(${tt}-option-disabled)`]:{color:He.optionSelectedColor,fontWeight:He.optionSelectedFontWeight,backgroundColor:He.optionSelectedBg,[`${tt}-option-state`]:{color:He.colorPrimary}},"&-disabled":{[`&${tt}-option-selected`]:{backgroundColor:He.colorBgContainerDisabled},color:He.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:He.calc(He.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},re(He)),{color:He.colorTextDisabled})}),[`${$e}:has(+ ${$e})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${$e}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,de.oN)(He,"slide-up"),(0,de.oN)(He,"slide-down"),(0,ve.Fm)(He,"move-up"),(0,ve.Fm)(He,"move-down")]},E=ae(26743),te=ae(36237);function ne(He,lt){const{componentCls:ft,inputPaddingHorizontalBase:tt,borderRadius:Ot}=He,nt=He.calc(He.controlHeight).sub(He.calc(He.lineWidth).mul(2)).equal(),Ze=lt?`${ft}-${lt}`:"";return{[`${ft}-single${Ze}`]:{fontSize:He.fontSize,height:He.controlHeight,[`${ft}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(He,!0)),{display:"flex",borderRadius:Ot,flex:"1 1 auto",[`${ft}-selection-wrap:after`]:{lineHeight:(0,te.unit)(nt)},[`${ft}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${ft}-selection-item,
${ft}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,te.unit)(nt),transition:`all ${He.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ft}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ft}-selection-item:empty:after`,`${ft}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${ft}-show-arrow ${ft}-selection-item,
&${ft}-show-arrow ${ft}-selection-search,
&${ft}-show-arrow ${ft}-selection-placeholder
`]:{paddingInlineEnd:He.showArrowPaddingInlineEnd},[`&${ft}-open ${ft}-selection-item`]:{color:He.colorTextPlaceholder},[`&:not(${ft}-customize-input)`]:{[`${ft}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,te.unit)(tt)}`,[`${ft}-selection-search-input`]:{height:nt,fontSize:He.fontSize},"&:after":{lineHeight:(0,te.unit)(nt)}}},[`&${ft}-customize-input`]:{[`${ft}-selector`]:{"&:after":{display:"none"},[`${ft}-selection-search`]:{position:"static",width:"100%"},[`${ft}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,te.unit)(tt)}`,"&:after":{display:"none"}}}}}}}function ge(He){const{componentCls:lt}=He,ft=He.calc(He.controlPaddingHorizontalSM).sub(He.lineWidth).equal();return[ne(He),ne((0,Ae.mergeToken)(He,{controlHeight:He.controlHeightSM,borderRadius:He.borderRadiusSM}),"sm"),{[`${lt}-single${lt}-sm`]:{[`&:not(${lt}-customize-input)`]:{[`${lt}-selector`]:{padding:`0 ${(0,te.unit)(ft)}`},[`&${lt}-show-arrow ${lt}-selection-search`]:{insetInlineEnd:He.calc(ft).add(He.calc(He.fontSize).mul(1.5)).equal()},[`
&${lt}-show-arrow ${lt}-selection-item,
&${lt}-show-arrow ${lt}-selection-placeholder
`]:{paddingInlineEnd:He.calc(He.fontSize).mul(1.5).equal()}}}},ne((0,Ae.mergeToken)(He,{controlHeight:He.singleItemHeightLG,fontSize:He.fontSizeLG,borderRadius:He.borderRadiusLG}),"lg")]}const Ce=He=>{const{fontSize:lt,lineHeight:ft,lineWidth:tt,controlHeight:Ot,controlHeightSM:nt,controlHeightLG:Ze,paddingXXS:Ge,controlPaddingHorizontal:$e,zIndexPopupBase:qe,colorText:Ve,fontWeightStrong:mt,controlItemBgActive:st,controlItemBgHover:Lt,colorBgContainer:ct,colorFillSecondary:Tt,colorBgContainerDisabled:xt,colorTextDisabled:wt,colorPrimaryHover:yt,colorPrimary:je,controlOutline:ue}=He,ie=Ge*2,ke=tt*2,Xe=Math.min(Ot-ie,Ot-ke),De=Math.min(nt-ie,nt-ke),pe=Math.min(Ze-ie,Ze-ke);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Ge/2),zIndexPopup:qe+50,optionSelectedColor:Ve,optionSelectedFontWeight:mt,optionSelectedBg:st,optionActiveBg:Lt,optionPadding:`${(Ot-lt*ft)/2}px ${$e}px`,optionFontSize:lt,optionLineHeight:ft,optionHeight:Ot,selectorBg:ct,clearBg:ct,singleItemHeightLG:Ze,multipleItemBg:Tt,multipleItemBorderColor:"transparent",multipleItemHeight:Xe,multipleItemHeightSM:De,multipleItemHeightLG:pe,multipleSelectorBgDisabled:xt,multipleItemColorDisabled:wt,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(He.fontSize*1.25),hoverBorderColor:yt,activeBorderColor:je,activeOutlineColor:ue,selectAffixPadding:Ge}},be=(He,lt)=>{const{componentCls:ft,antCls:tt,controlOutlineWidth:Ot}=He;return{[`&:not(${ft}-customize-input) ${ft}-selector`]:{border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${lt.borderColor}`,background:He.selectorBg},[`&:not(${ft}-disabled):not(${ft}-customize-input):not(${tt}-pagination-size-changer)`]:{[`&:hover ${ft}-selector`]:{borderColor:lt.hoverBorderHover},[`${ft}-focused& ${ft}-selector`]:{borderColor:lt.activeBorderColor,boxShadow:`0 0 0 ${(0,te.unit)(Ot)} ${lt.activeOutlineColor}`,outline:0},[`${ft}-prefix`]:{color:lt.color}}}},le=(He,lt)=>({[`&${He.componentCls}-status-${lt.status}`]:Object.assign({},be(He,lt))}),Ee=He=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},be(He,{borderColor:He.colorBorder,hoverBorderHover:He.hoverBorderColor,activeBorderColor:He.activeBorderColor,activeOutlineColor:He.activeOutlineColor,color:He.colorText})),le(He,{status:"error",borderColor:He.colorError,hoverBorderHover:He.colorErrorHover,activeBorderColor:He.colorError,activeOutlineColor:He.colorErrorOutline,color:He.colorError})),le(He,{status:"warning",borderColor:He.colorWarning,hoverBorderHover:He.colorWarningHover,activeBorderColor:He.colorWarning,activeOutlineColor:He.colorWarningOutline,color:He.colorWarning})),{[`&${He.componentCls}-disabled`]:{[`&:not(${He.componentCls}-customize-input) ${He.componentCls}-selector`]:{background:He.colorBgContainerDisabled,color:He.colorTextDisabled}},[`&${He.componentCls}-multiple ${He.componentCls}-selection-item`]:{background:He.multipleItemBg,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${He.multipleItemBorderColor}`}})}),Pe=(He,lt)=>{const{componentCls:ft,antCls:tt}=He;return{[`&:not(${ft}-customize-input) ${ft}-selector`]:{background:lt.bg,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} transparent`,color:lt.color},[`&:not(${ft}-disabled):not(${ft}-customize-input):not(${tt}-pagination-size-changer)`]:{[`&:hover ${ft}-selector`]:{background:lt.hoverBg},[`${ft}-focused& ${ft}-selector`]:{background:He.selectorBg,borderColor:lt.activeBorderColor,outline:0}}}},Ie=(He,lt)=>({[`&${He.componentCls}-status-${lt.status}`]:Object.assign({},Pe(He,lt))}),Re=He=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Pe(He,{bg:He.colorFillTertiary,hoverBg:He.colorFillSecondary,activeBorderColor:He.activeBorderColor,color:He.colorText})),Ie(He,{status:"error",bg:He.colorErrorBg,hoverBg:He.colorErrorBgHover,activeBorderColor:He.colorError,color:He.colorError})),Ie(He,{status:"warning",bg:He.colorWarningBg,hoverBg:He.colorWarningBgHover,activeBorderColor:He.colorWarning,color:He.colorWarning})),{[`&${He.componentCls}-disabled`]:{[`&:not(${He.componentCls}-customize-input) ${He.componentCls}-selector`]:{borderColor:He.colorBorder,background:He.colorBgContainerDisabled,color:He.colorTextDisabled}},[`&${He.componentCls}-multiple ${He.componentCls}-selection-item`]:{background:He.colorBgContainer,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${He.colorSplit}`}})}),Me=He=>({"&-borderless":{[`${He.componentCls}-selector`]:{background:"transparent",border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} transparent`},[`&${He.componentCls}-disabled`]:{[`&:not(${He.componentCls}-customize-input) ${He.componentCls}-selector`]:{color:He.colorTextDisabled}},[`&${He.componentCls}-multiple ${He.componentCls}-selection-item`]:{background:He.multipleItemBg,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${He.multipleItemBorderColor}`},[`&${He.componentCls}-status-error`]:{[`${He.componentCls}-prefix, ${He.componentCls}-selection-item`]:{color:He.colorError}},[`&${He.componentCls}-status-warning`]:{[`${He.componentCls}-prefix, ${He.componentCls}-selection-item`]:{color:He.colorWarning}}}}),ye=(He,lt)=>{const{componentCls:ft,antCls:tt}=He;return{[`&:not(${ft}-customize-input) ${ft}-selector`]:{borderWidth:`0 0 ${(0,te.unit)(He.lineWidth)} 0`,borderStyle:`none none ${He.lineType} none`,borderColor:lt.borderColor,background:He.selectorBg,borderRadius:0},[`&:not(${ft}-disabled):not(${ft}-customize-input):not(${tt}-pagination-size-changer)`]:{[`&:hover ${ft}-selector`]:{borderColor:lt.hoverBorderHover},[`${ft}-focused& ${ft}-selector`]:{borderColor:lt.activeBorderColor,outline:0},[`${ft}-prefix`]:{color:lt.color}}}},Te=(He,lt)=>({[`&${He.componentCls}-status-${lt.status}`]:Object.assign({},ye(He,lt))}),Fe=He=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},ye(He,{borderColor:He.colorBorder,hoverBorderHover:He.hoverBorderColor,activeBorderColor:He.activeBorderColor,activeOutlineColor:He.activeOutlineColor,color:He.colorText})),Te(He,{status:"error",borderColor:He.colorError,hoverBorderHover:He.colorErrorHover,activeBorderColor:He.colorError,activeOutlineColor:He.colorErrorOutline,color:He.colorError})),Te(He,{status:"warning",borderColor:He.colorWarning,hoverBorderHover:He.colorWarningHover,activeBorderColor:He.colorWarning,activeOutlineColor:He.colorWarningOutline,color:He.colorWarning})),{[`&${He.componentCls}-disabled`]:{[`&:not(${He.componentCls}-customize-input) ${He.componentCls}-selector`]:{color:He.colorTextDisabled}},[`&${He.componentCls}-multiple ${He.componentCls}-selection-item`]:{background:He.multipleItemBg,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${He.multipleItemBorderColor}`}})});var Oe=He=>({[He.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Ee(He)),Re(He)),Me(He)),Fe(He))});const Ke=He=>{const{componentCls:lt}=He;return{position:"relative",transition:`all ${He.motionDurationMid} ${He.motionEaseInOut}`,input:{cursor:"pointer"},[`${lt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${lt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},We=He=>{const{componentCls:lt}=He;return{[`${lt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Ne=He=>{const{antCls:lt,componentCls:ft,inputPaddingHorizontalBase:tt,iconCls:Ot}=He;return{[ft]:Object.assign(Object.assign({},(0,b.Wf)(He)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ft}-customize-input) ${ft}-selector`]:Object.assign(Object.assign({},Ke(He)),We(He)),[`${ft}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${lt}-typography`]:{display:"inline"}}),[`${ft}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:He.colorTextPlaceholder,pointerEvents:"none"}),[`${ft}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:tt,height:He.fontSizeIcon,marginTop:He.calc(He.fontSizeIcon).mul(-1).div(2).equal(),color:He.colorTextQuaternary,fontSize:He.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${He.motionDurationSlow} ease`,[Ot]:{verticalAlign:"top",transition:`transform ${He.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ft}-suffix)`]:{pointerEvents:"auto"}},[`${ft}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ft}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ft}-prefix`]:{flex:"none",marginInlineEnd:He.selectAffixPadding},[`${ft}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:tt,zIndex:1,display:"inline-block",width:He.fontSizeIcon,height:He.fontSizeIcon,marginTop:He.calc(He.fontSizeIcon).mul(-1).div(2).equal(),color:He.colorTextQuaternary,fontSize:He.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${He.motionDurationMid} ease, opacity ${He.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:He.colorTextTertiary}},[`&:hover ${ft}-clear`]:{opacity:1,background:He.colorBgBase,borderRadius:"50%"}}),[`${ft}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ft}-has-feedback`]:{[`${ft}-clear`]:{insetInlineEnd:He.calc(tt).add(He.fontSize).add(He.paddingXS).equal()}}}}}},Ye=He=>{const{componentCls:lt}=He;return[{[lt]:{[`&${lt}-in-form-item`]:{width:"100%"}}},Ne(He),ge(He),(0,E.ZP)(He),fe(He),{[`${lt}-rtl`]:{direction:"rtl"}},(0,oe.c)(He,{borderElCls:`${lt}-selector`,focusElCls:`${lt}-focused`})]};var Je=(0,we.I$)("Select",(He,lt)=>{let{rootPrefixCls:ft}=lt;const tt=(0,Ae.mergeToken)(He,{rootPrefixCls:ft,inputPaddingHorizontalBase:He.calc(He.paddingSM).sub(1).equal(),multipleSelectItemHeight:He.multipleItemHeight,selectHeight:He.controlHeight});return[Ye(tt),Oe(tt)]},Ce,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(_n,pn,ae){"use strict";ae.d(pn,{_z:function(){return ve},gp:function(){return Ae}});var b=ae(36237),oe=ae(63356),we=ae(51636);const Ae=E=>{const{multipleSelectItemHeight:te,paddingXXS:ne,lineWidth:ge,INTERNAL_FIXED_ITEM_MARGIN:Ce}=E,be=E.max(E.calc(ne).sub(ge).equal(),0),le=E.max(E.calc(be).sub(Ce).equal(),0);return{basePadding:be,containerPadding:le,itemHeight:(0,b.unit)(te),itemLineHeight:(0,b.unit)(E.calc(te).sub(E.calc(E.lineWidth).mul(2)).equal())}},de=E=>{const{multipleSelectItemHeight:te,selectHeight:ne,lineWidth:ge}=E;return E.calc(ne).sub(te).div(2).sub(ge).equal()},ve=E=>{const{componentCls:te,iconCls:ne,borderRadiusSM:ge,motionDurationSlow:Ce,paddingXS:be,multipleItemColorDisabled:le,multipleItemBorderColorDisabled:Ee,colorIcon:Pe,colorIconHover:Ie,INTERNAL_FIXED_ITEM_MARGIN:Re}=E;return{[`${te}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${te}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Re,borderRadius:ge,cursor:"default",transition:`font-size ${Ce}, line-height ${Ce}, height ${Ce}`,marginInlineEnd:E.calc(Re).mul(2).equal(),paddingInlineStart:be,paddingInlineEnd:E.calc(be).div(2).equal(),[`${te}-disabled&`]:{color:le,borderColor:Ee,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:E.calc(be).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,oe.Ro)()),{display:"inline-flex",alignItems:"center",color:Pe,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ne}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ie}})}}}},re=(E,te)=>{const{componentCls:ne,INTERNAL_FIXED_ITEM_MARGIN:ge}=E,Ce=`${ne}-selection-overflow`,be=E.multipleSelectItemHeight,le=de(E),Ee=te?`${ne}-${te}`:"",Pe=Ae(E);return{[`${ne}-multiple${Ee}`]:Object.assign(Object.assign({},ve(E)),{[`${ne}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Pe.basePadding,paddingBlock:Pe.containerPadding,borderRadius:E.borderRadius,[`${ne}-disabled&`]:{background:E.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(ge)} 0`,lineHeight:(0,b.unit)(be),visibility:"hidden",content:'"\\a0"'}},[`${ne}-selection-item`]:{height:Pe.itemHeight,lineHeight:(0,b.unit)(Pe.itemLineHeight)},[`${ne}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(be),marginBlock:ge}},[`${ne}-prefix`]:{marginInlineStart:E.calc(E.inputPaddingHorizontalBase).sub(Pe.basePadding).equal()},[`${Ce}-item + ${Ce}-item,
${ne}-prefix + ${ne}-selection-wrap
`]:{[`${ne}-selection-search`]:{marginInlineStart:0},[`${ne}-selection-placeholder`]:{insetInlineStart:0}},[`${Ce}-item-suffix`]:{minHeight:Pe.itemHeight,marginBlock:ge},[`${ne}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:E.calc(E.inputPaddingHorizontalBase).sub(le).equal(),"\n &-input,\n &-mirror\n ":{height:be,fontFamily:E.fontFamily,lineHeight:(0,b.unit)(be),transition:`all ${E.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ne}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:E.calc(E.inputPaddingHorizontalBase).sub(Pe.basePadding).equal(),insetInlineEnd:E.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${E.motionDurationSlow}`}})}};function se(E,te){const{componentCls:ne}=E,ge=te?`${ne}-${te}`:"",Ce={[`${ne}-multiple${ge}`]:{fontSize:E.fontSize,[`${ne}-selector`]:{[`${ne}-show-search&`]:{cursor:"text"}},[`
&${ne}-show-arrow ${ne}-selector,
&${ne}-allow-clear ${ne}-selector
`]:{paddingInlineEnd:E.calc(E.fontSizeIcon).add(E.controlPaddingHorizontal).equal()}}};return[re(E,te),Ce]}const fe=E=>{const{componentCls:te}=E,ne=(0,we.mergeToken)(E,{selectHeight:E.controlHeightSM,multipleSelectItemHeight:E.multipleItemHeightSM,borderRadius:E.borderRadiusSM,borderRadiusSM:E.borderRadiusXS}),ge=(0,we.mergeToken)(E,{fontSize:E.fontSizeLG,selectHeight:E.controlHeightLG,multipleSelectItemHeight:E.multipleItemHeightLG,borderRadius:E.borderRadiusLG,borderRadiusSM:E.borderRadius});return[se(E),se(ne,"sm"),{[`${te}-multiple${te}-sm`]:{[`${te}-selection-placeholder`]:{insetInline:E.calc(E.controlPaddingHorizontalSM).sub(E.lineWidth).equal()},[`${te}-selection-search`]:{marginInlineStart:2}}},se(ge,"lg")]};pn.ZP=fe},68525:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(59301),oe=ae(40001),we=ae(19248),Ae=ae(99267),de=ae(84105),ve=ae(58617),re=ae(47472);function se(fe){let{suffixIcon:E,clearIcon:te,menuItemSelectedIcon:ne,removeIcon:ge,loading:Ce,multiple:be,hasFeedback:le,prefixCls:Ee,showSuffixIcon:Pe,feedbackIcon:Ie,showArrow:Re,componentName:Me}=fe;const ye=te!=null?te:b.createElement(we.Z,null),Te=Ke=>E===null&&!le&&!Re?null:b.createElement(b.Fragment,null,Pe!==!1&&Ke,le&&Ie);let Fe=null;if(E!==void 0)Fe=Te(E);else if(Ce)Fe=Te(b.createElement(ve.Z,{spin:!0}));else{const Ke=`${Ee}-suffix`;Fe=We=>{let{open:Ne,showSearch:Ye}=We;return Te(Ne&&Ye?b.createElement(re.Z,{className:Ke}):b.createElement(de.Z,{className:Ke}))}}let _e=null;ne!==void 0?_e=ne:be?_e=b.createElement(oe.Z,null):_e=null;let Oe=null;return ge!==void 0?Oe=ge:Oe=b.createElement(Ae.Z,null),{clearIcon:ye,suffixIcon:Fe,itemIcon:_e,removeIcon:Oe}}},90005:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return b}});function b(oe,we){return we!==void 0?we:oe!==null}},11938:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return We}});var b=ae(59301),oe=ae(40192),we=ae(22703),Ae=ae(92310),de=ae.n(Ae),ve=ae(26112),re=ae(48755),se=ae(458),E=Ne=>{const{value:Ye,formatter:Je,precision:He,decimalSeparator:lt,groupSeparator:ft="",prefixCls:tt}=Ne;let Ot;if(typeof Je=="function")Ot=Je(Ye);else{const nt=String(Ye),Ze=nt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ze||nt==="-")Ot=nt;else{const Ge=Ze[1];let $e=Ze[2]||"0",qe=Ze[4]||"";$e=$e.replace(/\B(?=(\d{3})+(?!\d))/g,ft),typeof He=="number"&&(qe=qe.padEnd(He,"0").slice(0,He>0?He:0)),qe&&(qe=`${lt}${qe}`),Ot=[b.createElement("span",{key:"int",className:`${tt}-content-value-int`},Ge,$e),qe&&b.createElement("span",{key:"decimal",className:`${tt}-content-value-decimal`},qe)]}}return b.createElement("span",{className:`${tt}-content-value`},Ot)},te=ae(63356),ne=ae(16931),ge=ae(51636);const Ce=Ne=>{const{componentCls:Ye,marginXXS:Je,padding:He,colorTextDescription:lt,titleFontSize:ft,colorTextHeading:tt,contentFontSize:Ot,fontFamily:nt}=Ne;return{[Ye]:Object.assign(Object.assign({},(0,te.Wf)(Ne)),{[`${Ye}-title`]:{marginBottom:Je,color:lt,fontSize:ft},[`${Ye}-skeleton`]:{paddingTop:He},[`${Ye}-content`]:{color:tt,fontSize:Ot,fontFamily:nt,[`${Ye}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ye}-content-prefix, ${Ye}-content-suffix`]:{display:"inline-block"},[`${Ye}-content-prefix`]:{marginInlineEnd:Je},[`${Ye}-content-suffix`]:{marginInlineStart:Je}}})}},be=Ne=>{const{fontSizeHeading3:Ye,fontSize:Je}=Ne;return{titleFontSize:Je,contentFontSize:Ye}};var le=(0,ne.I$)("Statistic",Ne=>{const Ye=(0,ge.mergeToken)(Ne,{});return[Ce(Ye)]},be),Ee=function(Ne,Ye){var Je={};for(var He in Ne)Object.prototype.hasOwnProperty.call(Ne,He)&&Ye.indexOf(He)<0&&(Je[He]=Ne[He]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,He=Object.getOwnPropertySymbols(Ne);lt<He.length;lt++)Ye.indexOf(He[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,He[lt])&&(Je[He[lt]]=Ne[He[lt]]);return Je},Ie=Ne=>{const{prefixCls:Ye,className:Je,rootClassName:He,style:lt,valueStyle:ft,value:tt=0,title:Ot,valueRender:nt,prefix:Ze,suffix:Ge,loading:$e=!1,formatter:qe,precision:Ve,decimalSeparator:mt=".",groupSeparator:st=",",onMouseEnter:Lt,onMouseLeave:ct}=Ne,Tt=Ee(Ne,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:xt,direction:wt,className:yt,style:je}=(0,re.dj)("statistic"),ue=xt("statistic",Ye),[ie,ke,Xe]=le(ue),De=b.createElement(E,{decimalSeparator:mt,groupSeparator:st,prefixCls:ue,formatter:qe,precision:Ve,value:tt}),pe=de()(ue,{[`${ue}-rtl`]:wt==="rtl"},yt,Je,He,ke,Xe),x=(0,ve.Z)(Tt,{aria:!0,data:!0});return ie(b.createElement("div",Object.assign({},x,{className:pe,style:Object.assign(Object.assign({},je),lt),onMouseEnter:Lt,onMouseLeave:ct}),Ot&&b.createElement("div",{className:`${ue}-title`},Ot),b.createElement(se.Z,{paragraph:!1,loading:$e,className:`${ue}-skeleton`},b.createElement("div",{style:ft,className:`${ue}-content`},Ze&&b.createElement("span",{className:`${ue}-content-prefix`},Ze),nt?nt(De):De,Ge&&b.createElement("span",{className:`${ue}-content-suffix`},Ge)))))};const Re=[["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 Me(Ne,Ye){let Je=Ne;const He=/\[[^\]]*]/g,lt=(Ye.match(He)||[]).map(nt=>nt.slice(1,-1)),ft=Ye.replace(He,"[]"),tt=Re.reduce((nt,Ze)=>{let[Ge,$e]=Ze;if(nt.includes(Ge)){const qe=Math.floor(Je/$e);return Je-=qe*$e,nt.replace(new RegExp(`${Ge}+`,"g"),Ve=>{const mt=Ve.length;return qe.toString().padStart(mt,"0")})}return nt},ft);let Ot=0;return tt.replace(He,()=>{const nt=lt[Ot];return Ot+=1,nt})}function ye(Ne,Ye){const{format:Je=""}=Ye,He=new Date(Ne).getTime(),lt=Date.now(),ft=Math.max(He-lt,0);return Me(ft,Je)}var Te=function(Ne,Ye){var Je={};for(var He in Ne)Object.prototype.hasOwnProperty.call(Ne,He)&&Ye.indexOf(He)<0&&(Je[He]=Ne[He]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,He=Object.getOwnPropertySymbols(Ne);lt<He.length;lt++)Ye.indexOf(He[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,He[lt])&&(Je[He[lt]]=Ne[He[lt]]);return Je};const Fe=1e3/30;function _e(Ne){return new Date(Ne).getTime()}const Oe=Ne=>{const{value:Ye,format:Je="HH:mm:ss",onChange:He,onFinish:lt}=Ne,ft=Te(Ne,["value","format","onChange","onFinish"]),tt=(0,oe.Z)(),Ot=b.useRef(null),nt=()=>{lt==null||lt(),Ot.current&&(clearInterval(Ot.current),Ot.current=null)},Ze=()=>{const qe=_e(Ye);qe>=Date.now()&&(Ot.current=setInterval(()=>{tt(),He==null||He(qe-Date.now()),qe<Date.now()&&nt()},Fe))};b.useEffect(()=>(Ze(),()=>{Ot.current&&(clearInterval(Ot.current),Ot.current=null)}),[Ye]);const Ge=(qe,Ve)=>ye(qe,Object.assign(Object.assign({},Ve),{format:Je})),$e=qe=>(0,we.Tm)(qe,{title:void 0});return b.createElement(Ie,Object.assign({},ft,{value:Ye,valueRender:$e,formatter:Ge}))};var Ke=b.memo(Oe);Ie.Countdown=Ke;var We=Ie},58755:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return lt}});var b=ae(59301),oe=ae(58617),we=ae(92310),Ae=ae.n(we),de=ae(60499),ve=ae(18642),re=ae(72190),se=ae(42244),fe=ae(18929),E=ae(10228),te=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ne=b.forwardRef(function(ft,tt){var Ot,nt=ft.prefixCls,Ze=nt===void 0?"rc-switch":nt,Ge=ft.className,$e=ft.checked,qe=ft.defaultChecked,Ve=ft.disabled,mt=ft.loadingIcon,st=ft.checkedChildren,Lt=ft.unCheckedChildren,ct=ft.onClick,Tt=ft.onChange,xt=ft.onKeyDown,wt=(0,se.Z)(ft,te),yt=(0,fe.Z)(!1,{value:$e,defaultValue:qe}),je=(0,re.Z)(yt,2),ue=je[0],ie=je[1];function ke(x,me){var Le=ue;return Ve||(Le=x,ie(Le),Tt==null||Tt(Le,me)),Le}function Xe(x){x.which===E.Z.LEFT?ke(!1,x):x.which===E.Z.RIGHT&&ke(!0,x),xt==null||xt(x)}function De(x){var me=ke(!ue,x);ct==null||ct(me,x)}var pe=Ae()(Ze,Ge,(Ot={},(0,ve.Z)(Ot,"".concat(Ze,"-checked"),ue),(0,ve.Z)(Ot,"".concat(Ze,"-disabled"),Ve),Ot));return b.createElement("button",(0,de.Z)({},wt,{type:"button",role:"switch","aria-checked":ue,disabled:Ve,className:pe,ref:tt,onKeyDown:Xe,onClick:De}),mt,b.createElement("span",{className:"".concat(Ze,"-inner")},b.createElement("span",{className:"".concat(Ze,"-inner-checked")},st),b.createElement("span",{className:"".concat(Ze,"-inner-unchecked")},Lt)))});ne.displayName="Switch";var ge=ne,Ce=ae(12919),be=ae(48755),le=ae(2171),Ee=ae(31756),Pe=ae(36237),Ie=ae(17835),Re=ae(63356),Me=ae(16931),ye=ae(51636);const Te=ft=>{const{componentCls:tt,trackHeightSM:Ot,trackPadding:nt,trackMinWidthSM:Ze,innerMinMarginSM:Ge,innerMaxMarginSM:$e,handleSizeSM:qe,calc:Ve}=ft,mt=`${tt}-inner`,st=(0,Pe.unit)(Ve(qe).add(Ve(nt).mul(2)).equal()),Lt=(0,Pe.unit)(Ve($e).mul(2).equal());return{[tt]:{[`&${tt}-small`]:{minWidth:Ze,height:Ot,lineHeight:(0,Pe.unit)(Ot),[`${tt}-inner`]:{paddingInlineStart:$e,paddingInlineEnd:Ge,[`${mt}-checked, ${mt}-unchecked`]:{minHeight:Ot},[`${mt}-checked`]:{marginInlineStart:`calc(-100% + ${st} - ${Lt})`,marginInlineEnd:`calc(100% - ${st} + ${Lt})`},[`${mt}-unchecked`]:{marginTop:Ve(Ot).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${tt}-handle`]:{width:qe,height:qe},[`${tt}-loading-icon`]:{top:Ve(Ve(qe).sub(ft.switchLoadingIconSize)).div(2).equal(),fontSize:ft.switchLoadingIconSize},[`&${tt}-checked`]:{[`${tt}-inner`]:{paddingInlineStart:Ge,paddingInlineEnd:$e,[`${mt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${mt}-unchecked`]:{marginInlineStart:`calc(100% - ${st} + ${Lt})`,marginInlineEnd:`calc(-100% + ${st} - ${Lt})`}},[`${tt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Pe.unit)(Ve(qe).add(nt).equal())})`}},[`&:not(${tt}-disabled):active`]:{[`&:not(${tt}-checked) ${mt}`]:{[`${mt}-unchecked`]:{marginInlineStart:Ve(ft.marginXXS).div(2).equal(),marginInlineEnd:Ve(ft.marginXXS).mul(-1).div(2).equal()}},[`&${tt}-checked ${mt}`]:{[`${mt}-checked`]:{marginInlineStart:Ve(ft.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:Ve(ft.marginXXS).div(2).equal()}}}}}}},Fe=ft=>{const{componentCls:tt,handleSize:Ot,calc:nt}=ft;return{[tt]:{[`${tt}-loading-icon${ft.iconCls}`]:{position:"relative",top:nt(nt(Ot).sub(ft.fontSize)).div(2).equal(),color:ft.switchLoadingIconColor,verticalAlign:"top"},[`&${tt}-checked ${tt}-loading-icon`]:{color:ft.switchColor}}}},_e=ft=>{const{componentCls:tt,trackPadding:Ot,handleBg:nt,handleShadow:Ze,handleSize:Ge,calc:$e}=ft,qe=`${tt}-handle`;return{[tt]:{[qe]:{position:"absolute",top:Ot,insetInlineStart:Ot,width:Ge,height:Ge,transition:`all ${ft.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:nt,borderRadius:$e(Ge).div(2).equal(),boxShadow:Ze,transition:`all ${ft.switchDuration} ease-in-out`,content:'""'}},[`&${tt}-checked ${qe}`]:{insetInlineStart:`calc(100% - ${(0,Pe.unit)($e(Ge).add(Ot).equal())})`},[`&:not(${tt}-disabled):active`]:{[`${qe}::before`]:{insetInlineEnd:ft.switchHandleActiveInset,insetInlineStart:0},[`&${tt}-checked ${qe}::before`]:{insetInlineEnd:0,insetInlineStart:ft.switchHandleActiveInset}}}}},Oe=ft=>{const{componentCls:tt,trackHeight:Ot,trackPadding:nt,innerMinMargin:Ze,innerMaxMargin:Ge,handleSize:$e,calc:qe}=ft,Ve=`${tt}-inner`,mt=(0,Pe.unit)(qe($e).add(qe(nt).mul(2)).equal()),st=(0,Pe.unit)(qe(Ge).mul(2).equal());return{[tt]:{[Ve]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Ge,paddingInlineEnd:Ze,transition:`padding-inline-start ${ft.switchDuration} ease-in-out, padding-inline-end ${ft.switchDuration} ease-in-out`,[`${Ve}-checked, ${Ve}-unchecked`]:{display:"block",color:ft.colorTextLightSolid,fontSize:ft.fontSizeSM,transition:`margin-inline-start ${ft.switchDuration} ease-in-out, margin-inline-end ${ft.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Ot},[`${Ve}-checked`]:{marginInlineStart:`calc(-100% + ${mt} - ${st})`,marginInlineEnd:`calc(100% - ${mt} + ${st})`},[`${Ve}-unchecked`]:{marginTop:qe(Ot).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${tt}-checked ${Ve}`]:{paddingInlineStart:Ze,paddingInlineEnd:Ge,[`${Ve}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ve}-unchecked`]:{marginInlineStart:`calc(100% - ${mt} + ${st})`,marginInlineEnd:`calc(-100% + ${mt} - ${st})`}},[`&:not(${tt}-disabled):active`]:{[`&:not(${tt}-checked) ${Ve}`]:{[`${Ve}-unchecked`]:{marginInlineStart:qe(nt).mul(2).equal(),marginInlineEnd:qe(nt).mul(-1).mul(2).equal()}},[`&${tt}-checked ${Ve}`]:{[`${Ve}-checked`]:{marginInlineStart:qe(nt).mul(-1).mul(2).equal(),marginInlineEnd:qe(nt).mul(2).equal()}}}}}},Ke=ft=>{const{componentCls:tt,trackHeight:Ot,trackMinWidth:nt}=ft;return{[tt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(ft)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:nt,height:Ot,lineHeight:(0,Pe.unit)(Ot),verticalAlign:"middle",background:ft.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ft.motionDurationMid}`,userSelect:"none",[`&:hover:not(${tt}-disabled)`]:{background:ft.colorTextTertiary}}),(0,Re.Qy)(ft)),{[`&${tt}-checked`]:{background:ft.switchColor,[`&:hover:not(${tt}-disabled)`]:{background:ft.colorPrimaryHover}},[`&${tt}-loading, &${tt}-disabled`]:{cursor:"not-allowed",opacity:ft.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${tt}-rtl`]:{direction:"rtl"}})}},We=ft=>{const{fontSize:tt,lineHeight:Ot,controlHeight:nt,colorWhite:Ze}=ft,Ge=tt*Ot,$e=nt/2,qe=2,Ve=Ge-qe*2,mt=$e-qe*2;return{trackHeight:Ge,trackHeightSM:$e,trackMinWidth:Ve*2+qe*4,trackMinWidthSM:mt*2+qe*2,trackPadding:qe,handleBg:Ze,handleSize:Ve,handleSizeSM:mt,handleShadow:`0 2px 4px 0 ${new Ie.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:Ve/2,innerMaxMargin:Ve+qe+qe*2,innerMinMarginSM:mt/2,innerMaxMarginSM:mt+qe+qe*2}};var Ne=(0,Me.I$)("Switch",ft=>{const tt=(0,ye.mergeToken)(ft,{switchDuration:ft.motionDurationMid,switchColor:ft.colorPrimary,switchDisabledOpacity:ft.opacityLoading,switchLoadingIconSize:ft.calc(ft.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${ft.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ke(tt),Oe(tt),_e(tt),Fe(tt),Te(tt)]},We),Ye=function(ft,tt){var Ot={};for(var nt in ft)Object.prototype.hasOwnProperty.call(ft,nt)&&tt.indexOf(nt)<0&&(Ot[nt]=ft[nt]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,nt=Object.getOwnPropertySymbols(ft);Ze<nt.length;Ze++)tt.indexOf(nt[Ze])<0&&Object.prototype.propertyIsEnumerable.call(ft,nt[Ze])&&(Ot[nt[Ze]]=ft[nt[Ze]]);return Ot};const He=b.forwardRef((ft,tt)=>{const{prefixCls:Ot,size:nt,disabled:Ze,loading:Ge,className:$e,rootClassName:qe,style:Ve,checked:mt,value:st,defaultChecked:Lt,defaultValue:ct,onChange:Tt}=ft,xt=Ye(ft,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[wt,yt]=(0,fe.Z)(!1,{value:mt!=null?mt:st,defaultValue:Lt!=null?Lt:ct}),{getPrefixCls:je,direction:ue,switch:ie}=b.useContext(be.E_),ke=b.useContext(le.Z),Xe=(Ze!=null?Ze:ke)||Ge,De=je("switch",Ot),pe=b.createElement("div",{className:`${De}-handle`},Ge&&b.createElement(oe.Z,{className:`${De}-loading-icon`})),[x,me,Le]=Ne(De),Se=(0,Ee.Z)(nt),Be=Ae()(ie==null?void 0:ie.className,{[`${De}-small`]:Se==="small",[`${De}-loading`]:Ge,[`${De}-rtl`]:ue==="rtl"},$e,qe,me,Le),Qe=Object.assign(Object.assign({},ie==null?void 0:ie.style),Ve),it=function(){yt(arguments.length<=0?void 0:arguments[0]),Tt==null||Tt.apply(void 0,arguments)};return x(b.createElement(Ce.Z,{component:"Switch"},b.createElement(ge,Object.assign({},xt,{checked:wt,onChange:it,prefixCls:De,className:Be,style:Qe,disabled:Xe,ref:tt,loadingIcon:pe}))))});He.__ANT_SWITCH=!0;var lt=He},70858:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return nc}});var b=ae(59301),oe={},we="rc-table-internal-hook",Ae=ae(72190),de=ae(6089),ve=ae(34280),re=ae(13697),se=ae(4676);function fe(ht){var pt=b.createContext(void 0),kt=function(sn){var mn=sn.value,Nn=sn.children,Dn=b.useRef(mn);Dn.current=mn;var Hn=b.useState(function(){return{getValue:function(){return Dn.current},listeners:new Set}}),Mn=(0,Ae.Z)(Hn,1),br=Mn[0];return(0,ve.Z)(function(){(0,se.unstable_batchedUpdates)(function(){br.listeners.forEach(function(cr){cr(mn)})})},[mn]),b.createElement(pt.Provider,{value:br},Nn)};return{Context:pt,Provider:kt,defaultValue:ht}}function E(ht,pt){var kt=(0,de.Z)(typeof pt=="function"?pt:function(cr){if(pt===void 0)return cr;if(!Array.isArray(pt))return cr[pt];var lr={};return pt.forEach(function(er){lr[er]=cr[er]}),lr}),Ut=b.useContext(ht==null?void 0:ht.Context),sn=Ut||{},mn=sn.listeners,Nn=sn.getValue,Dn=b.useRef();Dn.current=kt(Ut?Nn():ht==null?void 0:ht.defaultValue);var Hn=b.useState({}),Mn=(0,Ae.Z)(Hn,2),br=Mn[1];return(0,ve.Z)(function(){if(!Ut)return;function cr(lr){var er=kt(lr);(0,re.Z)(Dn.current,er,!0)||br({})}return mn.add(cr),function(){mn.delete(cr)}},[Ut]),Dn.current}var te=ae(60499),ne=ae(8654);function ge(){var ht=b.createContext(null);function pt(){return b.useContext(ht)}function kt(sn,mn){var Nn=(0,ne.Yr)(sn),Dn=function(Mn,br){var cr=Nn?{ref:br}:{},lr=b.useRef(0),er=b.useRef(Mn),qn=pt();return qn!==null?b.createElement(sn,(0,te.Z)({},Mn,cr)):((!mn||mn(er.current,Mn))&&(lr.current+=1),er.current=Mn,b.createElement(ht.Provider,{value:lr.current},b.createElement(sn,(0,te.Z)({},Mn,cr))))};return Nn?b.forwardRef(Dn):Dn}function Ut(sn,mn){var Nn=(0,ne.Yr)(sn),Dn=function(Mn,br){var cr=Nn?{ref:br}:{};return pt(),b.createElement(sn,(0,te.Z)({},Mn,cr))};return Nn?b.memo(b.forwardRef(Dn),mn):b.memo(Dn,mn)}return{makeImmutable:kt,responseImmutable:Ut,useImmutableMark:pt}}var Ce=ge(),be=Ce.makeImmutable,le=Ce.responseImmutable,Ee=Ce.useImmutableMark,Pe=ge(),Ie=Pe.makeImmutable,Re=Pe.responseImmutable,Me=Pe.useImmutableMark,ye=fe(),Te=ye;function Fe(ht,pt){var kt=React.useRef(0);kt.current+=1;var Ut=React.useRef(ht),sn=[];Object.keys(ht||{}).map(function(Nn){var Dn;(ht==null?void 0:ht[Nn])!==((Dn=Ut.current)===null||Dn===void 0?void 0:Dn[Nn])&&sn.push(Nn)}),Ut.current=ht;var mn=React.useRef([]);return sn.length&&(mn.current=sn),React.useDebugValue(kt.current),React.useDebugValue(mn.current.join(", ")),pt&&console.log("".concat(pt,":"),kt.current,mn.current),kt.current}var _e=null,Oe=null,Ke=ae(43749),We=ae(85899),Ne=ae(18642),Ye=ae(92310),Je=ae.n(Ye),He=ae(80547),lt=ae(97938),ft=ae(48736),tt=b.createContext({renderWithProps:!1}),Ot=tt,nt="RC_TABLE_KEY";function Ze(ht){return ht==null?[]:Array.isArray(ht)?ht:[ht]}function Ge(ht){var pt=[],kt={};return ht.forEach(function(Ut){for(var sn=Ut||{},mn=sn.key,Nn=sn.dataIndex,Dn=mn||Ze(Nn).join("-")||nt;kt[Dn];)Dn="".concat(Dn,"_next");kt[Dn]=!0,pt.push(Dn)}),pt}function $e(ht){return ht!=null}function qe(ht){return typeof ht=="number"&&!Number.isNaN(ht)}function Ve(ht){return ht&&(0,Ke.Z)(ht)==="object"&&!Array.isArray(ht)&&!b.isValidElement(ht)}function mt(ht,pt,kt,Ut,sn,mn){var Nn=b.useContext(Ot),Dn=Me(),Hn=(0,He.Z)(function(){if($e(Ut))return[Ut];var Mn=pt==null||pt===""?[]:Array.isArray(pt)?pt:[pt],br=(0,lt.Z)(ht,Mn),cr=br,lr=void 0;if(sn){var er=sn(br,ht,kt);Ve(er)?(cr=er.children,lr=er.props,Nn.renderWithProps=!0):cr=er}return[cr,lr]},[Dn,ht,Ut,pt,sn,kt],function(Mn,br){if(mn){var cr=(0,Ae.Z)(Mn,2),lr=cr[1],er=(0,Ae.Z)(br,2),qn=er[1];return mn(qn,lr)}return Nn.renderWithProps?!0:!(0,re.Z)(Mn,br,!0)});return Hn}function st(ht,pt,kt,Ut){var sn=ht+pt-1;return ht<=Ut&&sn>=kt}function Lt(ht,pt){return E(Te,function(kt){var Ut=st(ht,pt||1,kt.hoverStartRow,kt.hoverEndRow);return[Ut,kt.onHover]})}var ct=ae(70425),Tt=function(pt){var kt=pt.ellipsis,Ut=pt.rowType,sn=pt.children,mn,Nn=kt===!0?{showTitle:!0}:kt;return Nn&&(Nn.showTitle||Ut==="header")&&(typeof sn=="string"||typeof sn=="number"?mn=sn.toString():b.isValidElement(sn)&&typeof sn.props.children=="string"&&(mn=sn.props.children)),mn};function xt(ht){var pt,kt,Ut,sn,mn,Nn,Dn,Hn,Mn=ht.component,br=ht.children,cr=ht.ellipsis,lr=ht.scope,er=ht.prefixCls,qn=ht.className,Gr=ht.align,Pr=ht.record,$r=ht.render,ri=ht.dataIndex,Jr=ht.renderIndex,qr=ht.shouldCellUpdate,fi=ht.index,Ci=ht.rowType,vi=ht.colSpan,no=ht.rowSpan,zi=ht.fixLeft,Ni=ht.fixRight,Gi=ht.firstFixLeft,wi=ht.lastFixLeft,Si=ht.firstFixRight,ui=ht.lastFixRight,ii=ht.appendNode,xi=ht.additionalProps,Ii=xi===void 0?{}:xi,Mi=ht.isSticky,ci="".concat(er,"-cell"),lo=E(Te,["supportSticky","allColumnsFixedLeft","rowHoverable"]),po=lo.supportSticky,Qo=lo.allColumnsFixedLeft,qo=lo.rowHoverable,Ko=mt(Pr,ri,Jr,br,$r,qr),ea=(0,Ae.Z)(Ko,2),sa=ea[0],mo=ea[1],go={},da=typeof zi=="number"&&po,ta=typeof Ni=="number"&&po;da&&(go.position="sticky",go.left=zi),ta&&(go.position="sticky",go.right=Ni);var Di=(pt=(kt=(Ut=mo==null?void 0:mo.colSpan)!==null&&Ut!==void 0?Ut:Ii.colSpan)!==null&&kt!==void 0?kt:vi)!==null&&pt!==void 0?pt:1,Ji=(sn=(mn=(Nn=mo==null?void 0:mo.rowSpan)!==null&&Nn!==void 0?Nn:Ii.rowSpan)!==null&&mn!==void 0?mn:no)!==null&&sn!==void 0?sn:1,Bi=Lt(fi,Ji),bi=(0,Ae.Z)(Bi,2),Io=bi[0],Eo=bi[1],$o=(0,ct.zX)(function(ko){var Ro;Pr&&Eo(fi,fi+Ji-1),Ii==null||(Ro=Ii.onMouseEnter)===null||Ro===void 0||Ro.call(Ii,ko)}),Uo=(0,ct.zX)(function(ko){var Ro;Pr&&Eo(-1,-1),Ii==null||(Ro=Ii.onMouseLeave)===null||Ro===void 0||Ro.call(Ii,ko)});if(Di===0||Ji===0)return null;var Mo=(Dn=Ii.title)!==null&&Dn!==void 0?Dn:Tt({rowType:Ci,ellipsis:cr,children:sa}),fa=Je()(ci,qn,(Hn={},(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)(Hn,"".concat(ci,"-fix-left"),da&&po),"".concat(ci,"-fix-left-first"),Gi&&po),"".concat(ci,"-fix-left-last"),wi&&po),"".concat(ci,"-fix-left-all"),wi&&Qo&&po),"".concat(ci,"-fix-right"),ta&&po),"".concat(ci,"-fix-right-first"),Si&&po),"".concat(ci,"-fix-right-last"),ui&&po),"".concat(ci,"-ellipsis"),cr),"".concat(ci,"-with-append"),ii),"".concat(ci,"-fix-sticky"),(da||ta)&&Mi&&po),(0,Ne.Z)(Hn,"".concat(ci,"-row-hover"),!mo&&Io)),Ii.className,mo==null?void 0:mo.className),Ri={};Gr&&(Ri.textAlign=Gr);var _i=(0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)({},mo==null?void 0:mo.style),go),Ri),Ii.style),Lo=sa;return(0,Ke.Z)(Lo)==="object"&&!Array.isArray(Lo)&&!b.isValidElement(Lo)&&(Lo=null),cr&&(wi||Si)&&(Lo=b.createElement("span",{className:"".concat(ci,"-content")},Lo)),b.createElement(Mn,(0,te.Z)({},mo,Ii,{className:fa,style:_i,title:Mo,scope:lr,onMouseEnter:qo?$o:void 0,onMouseLeave:qo?Uo:void 0,colSpan:Di!==1?Di:null,rowSpan:Ji!==1?Ji:null}),ii,Lo)}var wt=b.memo(xt);function yt(ht,pt,kt,Ut,sn){var mn=kt[ht]||{},Nn=kt[pt]||{},Dn,Hn;mn.fixed==="left"?Dn=Ut.left[sn==="rtl"?pt:ht]:Nn.fixed==="right"&&(Hn=Ut.right[sn==="rtl"?ht:pt]);var Mn=!1,br=!1,cr=!1,lr=!1,er=kt[pt+1],qn=kt[ht-1],Gr=er&&!er.fixed||qn&&!qn.fixed||kt.every(function(qr){return qr.fixed==="left"});if(sn==="rtl"){if(Dn!==void 0){var Pr=qn&&qn.fixed==="left";lr=!Pr&&Gr}else if(Hn!==void 0){var $r=er&&er.fixed==="right";cr=!$r&&Gr}}else if(Dn!==void 0){var ri=er&&er.fixed==="left";Mn=!ri&&Gr}else if(Hn!==void 0){var Jr=qn&&qn.fixed==="right";br=!Jr&&Gr}return{fixLeft:Dn,fixRight:Hn,lastFixLeft:Mn,firstFixRight:br,lastFixRight:cr,firstFixLeft:lr,isSticky:Ut.isSticky}}var je=b.createContext({}),ue=je;function ie(ht){var pt=ht.className,kt=ht.index,Ut=ht.children,sn=ht.colSpan,mn=sn===void 0?1:sn,Nn=ht.rowSpan,Dn=ht.align,Hn=E(Te,["prefixCls","direction"]),Mn=Hn.prefixCls,br=Hn.direction,cr=b.useContext(ue),lr=cr.scrollColumnIndex,er=cr.stickyOffsets,qn=cr.flattenColumns,Gr=kt+mn-1,Pr=Gr+1===lr?mn+1:mn,$r=yt(kt,kt+Pr-1,qn,er,br);return b.createElement(wt,(0,te.Z)({className:pt,index:kt,component:"td",prefixCls:Mn,record:null,dataIndex:null,align:Dn,colSpan:Pr,rowSpan:Nn,render:function(){return Ut}},$r))}var ke=ae(42244),Xe=["children"];function De(ht){var pt=ht.children,kt=(0,ke.Z)(ht,Xe);return b.createElement("tr",kt,pt)}function pe(ht){var pt=ht.children;return pt}pe.Row=De,pe.Cell=ie;var x=pe;function me(ht){var pt=ht.children,kt=ht.stickyOffsets,Ut=ht.flattenColumns,sn=E(Te,"prefixCls"),mn=Ut.length-1,Nn=Ut[mn],Dn=b.useMemo(function(){return{stickyOffsets:kt,flattenColumns:Ut,scrollColumnIndex:Nn!=null&&Nn.scrollbar?mn:null}},[Nn,Ut,mn,kt]);return b.createElement(ue.Provider,{value:Dn},b.createElement("tfoot",{className:"".concat(sn,"-summary")},pt))}var Le=Re(me),Se=x,Be=ae(29301),Qe=ae(24514),it=ae(75152),ot=ae(26112);function at(ht,pt,kt,Ut,sn,mn,Nn){ht.push({record:pt,indent:kt,index:Nn});var Dn=mn(pt),Hn=sn==null?void 0:sn.has(Dn);if(pt&&Array.isArray(pt[Ut])&&Hn)for(var Mn=0;Mn<pt[Ut].length;Mn+=1)at(ht,pt[Ut][Mn],kt+1,Ut,sn,mn,Mn)}function Mt(ht,pt,kt,Ut){var sn=b.useMemo(function(){if(kt!=null&&kt.size){for(var mn=[],Nn=0;Nn<(ht==null?void 0:ht.length);Nn+=1){var Dn=ht[Nn];at(mn,Dn,0,pt,kt,Ut,Nn)}return mn}return ht==null?void 0:ht.map(function(Hn,Mn){return{record:Hn,indent:0,index:Mn}})},[ht,pt,kt,Ut]);return sn}function Rt(ht,pt,kt,Ut){var sn=E(Te,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),mn=sn.flattenColumns,Nn=sn.expandableType,Dn=sn.expandedKeys,Hn=sn.childrenColumnName,Mn=sn.onTriggerExpand,br=sn.rowExpandable,cr=sn.onRow,lr=sn.expandRowByClick,er=sn.rowClassName,qn=Nn==="nest",Gr=Nn==="row"&&(!br||br(ht)),Pr=Gr||qn,$r=Dn&&Dn.has(pt),ri=Hn&&ht&&ht[Hn],Jr=(0,ct.zX)(Mn),qr=cr==null?void 0:cr(ht,kt),fi=qr==null?void 0:qr.onClick,Ci=function(Ni){lr&&Pr&&Mn(ht,Ni);for(var Gi=arguments.length,wi=new Array(Gi>1?Gi-1:0),Si=1;Si<Gi;Si++)wi[Si-1]=arguments[Si];fi==null||fi.apply(void 0,[Ni].concat(wi))},vi;typeof er=="string"?vi=er:typeof er=="function"&&(vi=er(ht,kt,Ut));var no=Ge(mn);return(0,We.Z)((0,We.Z)({},sn),{},{columnsKey:no,nestExpandable:qn,expanded:$r,hasNestChildren:ri,record:ht,onTriggerExpand:Jr,rowSupportExpand:Gr,expandable:Pr,rowProps:(0,We.Z)((0,We.Z)({},qr),{},{className:Je()(vi,qr==null?void 0:qr.className),onClick:Ci})})}function tn(ht){var pt=ht.prefixCls,kt=ht.children,Ut=ht.component,sn=ht.cellComponent,mn=ht.className,Nn=ht.expanded,Dn=ht.colSpan,Hn=ht.isEmpty,Mn=E(Te,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),br=Mn.scrollbarSize,cr=Mn.fixHeader,lr=Mn.fixColumn,er=Mn.componentWidth,qn=Mn.horizonScroll,Gr=kt;return(Hn?qn&&er:lr)&&(Gr=b.createElement("div",{style:{width:er-(cr&&!Hn?br:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(pt,"-expanded-row-fixed")},Gr)),b.createElement(Ut,{className:mn,style:{display:Nn?null:"none"}},b.createElement(wt,{component:sn,prefixCls:pt,colSpan:Dn},Gr))}var qt=tn;function Bt(ht){var pt=ht.prefixCls,kt=ht.record,Ut=ht.onExpand,sn=ht.expanded,mn=ht.expandable,Nn="".concat(pt,"-row-expand-icon");if(!mn)return b.createElement("span",{className:Je()(Nn,"".concat(pt,"-row-spaced"))});var Dn=function(Mn){Ut(kt,Mn),Mn.stopPropagation()};return b.createElement("span",{className:Je()(Nn,(0,Ne.Z)((0,Ne.Z)({},"".concat(pt,"-row-expanded"),sn),"".concat(pt,"-row-collapsed"),!sn)),onClick:Dn})}function hn(ht,pt,kt){var Ut=[];function sn(mn){(mn||[]).forEach(function(Nn,Dn){Ut.push(pt(Nn,Dn)),sn(Nn[kt])})}return sn(ht),Ut}function $t(ht,pt,kt,Ut){return typeof ht=="string"?ht:typeof ht=="function"?ht(pt,kt,Ut):""}function Ct(ht,pt,kt,Ut,sn){var mn=ht.record,Nn=ht.prefixCls,Dn=ht.columnsKey,Hn=ht.fixedInfoList,Mn=ht.expandIconColumnIndex,br=ht.nestExpandable,cr=ht.indentSize,lr=ht.expandIcon,er=ht.expanded,qn=ht.hasNestChildren,Gr=ht.onTriggerExpand,Pr=Dn[kt],$r=Hn[kt],ri;kt===(Mn||0)&&br&&(ri=b.createElement(b.Fragment,null,b.createElement("span",{style:{paddingLeft:"".concat(cr*Ut,"px")},className:"".concat(Nn,"-row-indent indent-level-").concat(Ut)}),lr({prefixCls:Nn,expanded:er,expandable:qn,record:mn,onExpand:Gr})));var Jr;return pt.onCell&&(Jr=pt.onCell(mn,sn)),{key:Pr,fixedInfo:$r,appendCellNode:ri,additionalCellProps:Jr||{}}}function jt(ht){var pt=ht.className,kt=ht.style,Ut=ht.record,sn=ht.index,mn=ht.renderIndex,Nn=ht.rowKey,Dn=ht.indent,Hn=Dn===void 0?0:Dn,Mn=ht.rowComponent,br=ht.cellComponent,cr=ht.scopeCellComponent,lr=Rt(Ut,Nn,sn,Hn),er=lr.prefixCls,qn=lr.flattenColumns,Gr=lr.expandedRowClassName,Pr=lr.expandedRowRender,$r=lr.rowProps,ri=lr.expanded,Jr=lr.rowSupportExpand,qr=b.useRef(!1);qr.current||(qr.current=ri);var fi=$t(Gr,Ut,sn,Hn),Ci=b.createElement(Mn,(0,te.Z)({},$r,{"data-row-key":Nn,className:Je()(pt,"".concat(er,"-row"),"".concat(er,"-row-level-").concat(Hn),$r==null?void 0:$r.className,(0,Ne.Z)({},fi,Hn>=1)),style:(0,We.Z)((0,We.Z)({},kt),$r==null?void 0:$r.style)}),qn.map(function(zi,Ni){var Gi=zi.render,wi=zi.dataIndex,Si=zi.className,ui=Ct(lr,zi,Ni,Hn,sn),ii=ui.key,xi=ui.fixedInfo,Ii=ui.appendCellNode,Mi=ui.additionalCellProps;return b.createElement(wt,(0,te.Z)({className:Si,ellipsis:zi.ellipsis,align:zi.align,scope:zi.rowScope,component:zi.rowScope?cr:br,prefixCls:er,key:ii,record:Ut,index:sn,renderIndex:mn,dataIndex:wi,render:Gi,shouldCellUpdate:zi.shouldCellUpdate},xi,{appendNode:Ii,additionalProps:Mi}))})),vi;if(Jr&&(qr.current||ri)){var no=Pr(Ut,sn,Hn+1,ri);vi=b.createElement(qt,{expanded:ri,className:Je()("".concat(er,"-expanded-row"),"".concat(er,"-expanded-row-level-").concat(Hn+1),fi),prefixCls:er,component:Mn,cellComponent:br,colSpan:qn.length,isEmpty:!1},no)}return b.createElement(b.Fragment,null,Ci,vi)}var ln=Re(jt);function yn(ht){var pt=ht.columnKey,kt=ht.onColumnResize,Ut=b.useRef();return(0,ve.Z)(function(){Ut.current&&kt(pt,Ut.current.offsetWidth)},[]),b.createElement(Be.Z,{data:pt},b.createElement("td",{ref:Ut,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Et=ae(29194);function Wt(ht){var pt=ht.prefixCls,kt=ht.columnsKey,Ut=ht.onColumnResize,sn=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(pt,"-measure-row"),style:{height:0,fontSize:0},ref:sn},b.createElement(Be.Z.Collection,{onBatchResize:function(Nn){(0,Et.Z)(sn.current)&&Nn.forEach(function(Dn){var Hn=Dn.data,Mn=Dn.size;Ut(Hn,Mn.offsetWidth)})}},kt.map(function(mn){return b.createElement(yn,{key:mn,columnKey:mn,onColumnResize:Ut})})))}function Jt(ht){var pt=ht.data,kt=ht.measureColumnWidth,Ut=E(Te,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),sn=Ut.prefixCls,mn=Ut.getComponent,Nn=Ut.onColumnResize,Dn=Ut.flattenColumns,Hn=Ut.getRowKey,Mn=Ut.expandedKeys,br=Ut.childrenColumnName,cr=Ut.emptyNode,lr=Mt(pt,br,Mn,Hn),er=b.useRef({renderWithProps:!1}),qn=mn(["body","wrapper"],"tbody"),Gr=mn(["body","row"],"tr"),Pr=mn(["body","cell"],"td"),$r=mn(["body","cell"],"th"),ri;pt.length?ri=lr.map(function(qr,fi){var Ci=qr.record,vi=qr.indent,no=qr.index,zi=Hn(Ci,fi);return b.createElement(ln,{key:zi,rowKey:zi,record:Ci,index:fi,renderIndex:no,rowComponent:Gr,cellComponent:Pr,scopeCellComponent:$r,indent:vi})}):ri=b.createElement(qt,{expanded:!0,className:"".concat(sn,"-placeholder"),prefixCls:sn,component:Gr,cellComponent:Pr,colSpan:Dn.length,isEmpty:!0},cr);var Jr=Ge(Dn);return b.createElement(Ot.Provider,{value:er.current},b.createElement(qn,{className:"".concat(sn,"-tbody")},kt&&b.createElement(Wt,{prefixCls:sn,columnsKey:Jr,onColumnResize:Nn}),ri))}var bn=Re(Jt),kn=["expandable"],tr="RC_TABLE_INTERNAL_COL_DEFINE";function pr(ht){var pt=ht.expandable,kt=(0,ke.Z)(ht,kn),Ut;return"expandable"in ht?Ut=(0,We.Z)((0,We.Z)({},kt),pt):Ut=kt,Ut.showExpandColumn===!1&&(Ut.expandIconColumnIndex=-1),Ut}var xr=["columnType"];function Yn(ht){for(var pt=ht.colWidths,kt=ht.columns,Ut=ht.columCount,sn=E(Te,["tableLayout"]),mn=sn.tableLayout,Nn=[],Dn=Ut||kt.length,Hn=!1,Mn=Dn-1;Mn>=0;Mn-=1){var br=pt[Mn],cr=kt&&kt[Mn],lr=void 0,er=void 0;if(cr&&(lr=cr[tr],mn==="auto"&&(er=cr.minWidth)),br||er||lr||Hn){var qn=lr||{},Gr=qn.columnType,Pr=(0,ke.Z)(qn,xr);Nn.unshift(b.createElement("col",(0,te.Z)({key:Mn,style:{width:br,minWidth:er}},Pr))),Hn=!0}}return b.createElement("colgroup",null,Nn)}var mr=Yn,Wn=ae(77654),xn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Pn(ht,pt){return(0,b.useMemo)(function(){for(var kt=[],Ut=0;Ut<pt;Ut+=1){var sn=ht[Ut];if(sn!==void 0)kt[Ut]=sn;else return null}return kt},[ht.join("_"),pt])}var Tn=b.forwardRef(function(ht,pt){var kt=ht.className,Ut=ht.noData,sn=ht.columns,mn=ht.flattenColumns,Nn=ht.colWidths,Dn=ht.columCount,Hn=ht.stickyOffsets,Mn=ht.direction,br=ht.fixHeader,cr=ht.stickyTopOffset,lr=ht.stickyBottomOffset,er=ht.stickyClassName,qn=ht.onScroll,Gr=ht.maxContentScroll,Pr=ht.children,$r=(0,ke.Z)(ht,xn),ri=E(Te,["prefixCls","scrollbarSize","isSticky","getComponent"]),Jr=ri.prefixCls,qr=ri.scrollbarSize,fi=ri.isSticky,Ci=ri.getComponent,vi=Ci(["header","table"],"table"),no=fi&&!br?0:qr,zi=b.useRef(null),Ni=b.useCallback(function(Mi){(0,ne.mH)(pt,Mi),(0,ne.mH)(zi,Mi)},[]);b.useEffect(function(){var Mi;function ci(lo){var po=lo,Qo=po.currentTarget,qo=po.deltaX;qo&&(qn({currentTarget:Qo,scrollLeft:Qo.scrollLeft+qo}),lo.preventDefault())}return(Mi=zi.current)===null||Mi===void 0||Mi.addEventListener("wheel",ci,{passive:!1}),function(){var lo;(lo=zi.current)===null||lo===void 0||lo.removeEventListener("wheel",ci)}},[]);var Gi=b.useMemo(function(){return mn.every(function(Mi){return Mi.width})},[mn]),wi=mn[mn.length-1],Si={fixed:wi?wi.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Jr,"-cell-scrollbar")}}},ui=(0,b.useMemo)(function(){return no?[].concat((0,Wn.Z)(sn),[Si]):sn},[no,sn]),ii=(0,b.useMemo)(function(){return no?[].concat((0,Wn.Z)(mn),[Si]):mn},[no,mn]),xi=(0,b.useMemo)(function(){var Mi=Hn.right,ci=Hn.left;return(0,We.Z)((0,We.Z)({},Hn),{},{left:Mn==="rtl"?[].concat((0,Wn.Z)(ci.map(function(lo){return lo+no})),[0]):ci,right:Mn==="rtl"?Mi:[].concat((0,Wn.Z)(Mi.map(function(lo){return lo+no})),[0]),isSticky:fi})},[no,Hn,fi]),Ii=Pn(Nn,Dn);return b.createElement("div",{style:(0,We.Z)({overflow:"hidden"},fi?{top:cr,bottom:lr}:{}),ref:Ni,className:Je()(kt,(0,Ne.Z)({},er,!!er))},b.createElement(vi,{style:{tableLayout:"fixed",visibility:Ut||Ii?null:"hidden"}},(!Ut||!Gr||Gi)&&b.createElement(mr,{colWidths:Ii?[].concat((0,Wn.Z)(Ii),[no]):[],columCount:Dn+1,columns:ii}),Pr((0,We.Z)((0,We.Z)({},$r),{},{stickyOffsets:xi,columns:ui,flattenColumns:ii}))))}),In=b.memo(Tn),Kn=function(pt){var kt=pt.cells,Ut=pt.stickyOffsets,sn=pt.flattenColumns,mn=pt.rowComponent,Nn=pt.cellComponent,Dn=pt.onHeaderRow,Hn=pt.index,Mn=E(Te,["prefixCls","direction"]),br=Mn.prefixCls,cr=Mn.direction,lr;Dn&&(lr=Dn(kt.map(function(qn){return qn.column}),Hn));var er=Ge(kt.map(function(qn){return qn.column}));return b.createElement(mn,lr,kt.map(function(qn,Gr){var Pr=qn.column,$r=yt(qn.colStart,qn.colEnd,sn,Ut,cr),ri;return Pr&&Pr.onHeaderCell&&(ri=qn.column.onHeaderCell(Pr)),b.createElement(wt,(0,te.Z)({},qn,{scope:Pr.title?qn.colSpan>1?"colgroup":"col":null,ellipsis:Pr.ellipsis,align:Pr.align,component:Nn,prefixCls:br,key:er[Gr]},$r,{additionalProps:ri,rowType:"header"}))}))},jn=Kn;function nr(ht){var pt=[];function kt(Nn,Dn){var Hn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;pt[Hn]=pt[Hn]||[];var Mn=Dn,br=Nn.filter(Boolean).map(function(cr){var lr={key:cr.key,className:cr.className||"",children:cr.title,column:cr,colStart:Mn},er=1,qn=cr.children;return qn&&qn.length>0&&(er=kt(qn,Mn,Hn+1).reduce(function(Gr,Pr){return Gr+Pr},0),lr.hasSubColumns=!0),"colSpan"in cr&&(er=cr.colSpan),"rowSpan"in cr&&(lr.rowSpan=cr.rowSpan),lr.colSpan=er,lr.colEnd=lr.colStart+er-1,pt[Hn].push(lr),Mn+=er,er});return br}kt(ht,0);for(var Ut=pt.length,sn=function(Dn){pt[Dn].forEach(function(Hn){!("rowSpan"in Hn)&&!Hn.hasSubColumns&&(Hn.rowSpan=Ut-Dn)})},mn=0;mn<Ut;mn+=1)sn(mn);return pt}var Cr=function(pt){var kt=pt.stickyOffsets,Ut=pt.columns,sn=pt.flattenColumns,mn=pt.onHeaderRow,Nn=E(Te,["prefixCls","getComponent"]),Dn=Nn.prefixCls,Hn=Nn.getComponent,Mn=b.useMemo(function(){return nr(Ut)},[Ut]),br=Hn(["header","wrapper"],"thead"),cr=Hn(["header","row"],"tr"),lr=Hn(["header","cell"],"th");return b.createElement(br,{className:"".concat(Dn,"-thead")},Mn.map(function(er,qn){var Gr=b.createElement(jn,{key:qn,flattenColumns:sn,cells:er,stickyOffsets:kt,rowComponent:cr,cellComponent:lr,onHeaderRow:mn,index:qn});return Gr}))},Sr=Re(Cr),Er=ae(11592);function Nr(ht){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof pt=="number"?pt:pt.endsWith("%")?ht*parseFloat(pt)/100:null}function Tr(ht,pt,kt){return b.useMemo(function(){if(pt&&pt>0){var Ut=0,sn=0;ht.forEach(function(lr){var er=Nr(pt,lr.width);er?Ut+=er:sn+=1});var mn=Math.max(pt,kt),Nn=Math.max(mn-Ut,sn),Dn=sn,Hn=Nn/sn,Mn=0,br=ht.map(function(lr){var er=(0,We.Z)({},lr),qn=Nr(pt,er.width);if(qn)er.width=qn;else{var Gr=Math.floor(Hn);er.width=Dn===1?Nn:Gr,Nn-=Gr,Dn-=1}return Mn+=er.width,er});if(Mn<mn){var cr=mn/Mn;Nn=mn,br.forEach(function(lr,er){var qn=Math.floor(lr.width*cr);lr.width=er===br.length-1?Nn:qn,Nn-=qn})}return[br,Math.max(Mn,mn)]}return[ht,pt]},[ht,pt,kt])}var zr=["children"],Rr=["fixed"];function Ln(ht){return(0,Er.Z)(ht).filter(function(pt){return b.isValidElement(pt)}).map(function(pt){var kt=pt.key,Ut=pt.props,sn=Ut.children,mn=(0,ke.Z)(Ut,zr),Nn=(0,We.Z)({key:kt},mn);return sn&&(Nn.children=Ln(sn)),Nn})}function Qn(ht){return ht.filter(function(pt){return pt&&(0,Ke.Z)(pt)==="object"&&!pt.hidden}).map(function(pt){var kt=pt.children;return kt&&kt.length>0?(0,We.Z)((0,We.Z)({},pt),{},{children:Qn(kt)}):pt})}function Ar(ht){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ht.filter(function(kt){return kt&&(0,Ke.Z)(kt)==="object"}).reduce(function(kt,Ut,sn){var mn=Ut.fixed,Nn=mn===!0?"left":mn,Dn="".concat(pt,"-").concat(sn),Hn=Ut.children;return Hn&&Hn.length>0?[].concat((0,Wn.Z)(kt),(0,Wn.Z)(Ar(Hn,Dn).map(function(Mn){return(0,We.Z)({fixed:Nn},Mn)}))):[].concat((0,Wn.Z)(kt),[(0,We.Z)((0,We.Z)({key:Dn},Ut),{},{fixed:Nn})])},[])}function wr(ht){return ht.map(function(pt){var kt=pt.fixed,Ut=(0,ke.Z)(pt,Rr),sn=kt;return kt==="left"?sn="right":kt==="right"&&(sn="left"),(0,We.Z)({fixed:sn},Ut)})}function zt(ht,pt){var kt=ht.prefixCls,Ut=ht.columns,sn=ht.children,mn=ht.expandable,Nn=ht.expandedKeys,Dn=ht.columnTitle,Hn=ht.getRowKey,Mn=ht.onTriggerExpand,br=ht.expandIcon,cr=ht.rowExpandable,lr=ht.expandIconColumnIndex,er=ht.direction,qn=ht.expandRowByClick,Gr=ht.columnWidth,Pr=ht.fixed,$r=ht.scrollWidth,ri=ht.clientWidth,Jr=b.useMemo(function(){var wi=Ut||Ln(sn)||[];return Qn(wi.slice())},[Ut,sn]),qr=b.useMemo(function(){if(mn){var wi=Jr.slice();if(!wi.includes(oe)){var Si=lr||0;Si>=0&&(Si||Pr==="left"||!Pr)&&wi.splice(Si,0,oe),Pr==="right"&&wi.splice(Jr.length,0,oe)}var ui=wi.indexOf(oe);wi=wi.filter(function(Mi,ci){return Mi!==oe||ci===ui});var ii=Jr[ui],xi;Pr?xi=Pr:xi=ii?ii.fixed:null;var Ii=(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},tr,{className:"".concat(kt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Dn),"fixed",xi),"className","".concat(kt,"-row-expand-icon-cell")),"width",Gr),"render",function(ci,lo,po){var Qo=Hn(lo,po),qo=Nn.has(Qo),Ko=cr?cr(lo):!0,ea=br({prefixCls:kt,expanded:qo,expandable:Ko,record:lo,onExpand:Mn});return qn?b.createElement("span",{onClick:function(mo){return mo.stopPropagation()}},ea):ea});return wi.map(function(Mi){return Mi===oe?Ii:Mi})}return Jr.filter(function(Mi){return Mi!==oe})},[mn,Jr,Hn,Nn,br,er]),fi=b.useMemo(function(){var wi=qr;return pt&&(wi=pt(wi)),wi.length||(wi=[{render:function(){return null}}]),wi},[pt,qr,er]),Ci=b.useMemo(function(){return er==="rtl"?wr(Ar(fi)):Ar(fi)},[fi,er,$r]),vi=b.useMemo(function(){for(var wi=-1,Si=Ci.length-1;Si>=0;Si-=1){var ui=Ci[Si].fixed;if(ui==="left"||ui===!0){wi=Si;break}}if(wi>=0)for(var ii=0;ii<=wi;ii+=1){var xi=Ci[ii].fixed;if(xi!=="left"&&xi!==!0)return!0}var Ii=Ci.findIndex(function(lo){var po=lo.fixed;return po==="right"});if(Ii>=0)for(var Mi=Ii;Mi<Ci.length;Mi+=1){var ci=Ci[Mi].fixed;if(ci!=="right")return!0}return!1},[Ci]),no=Tr(Ci,$r,ri),zi=(0,Ae.Z)(no,2),Ni=zi[0],Gi=zi[1];return[fi,Ni,Gi,vi]}var It=zt;function Dt(ht,pt,kt){var Ut=pr(ht),sn=Ut.expandIcon,mn=Ut.expandedRowKeys,Nn=Ut.defaultExpandedRowKeys,Dn=Ut.defaultExpandAllRows,Hn=Ut.expandedRowRender,Mn=Ut.onExpand,br=Ut.onExpandedRowsChange,cr=Ut.childrenColumnName,lr=sn||Bt,er=cr||"children",qn=b.useMemo(function(){return Hn?"row":ht.expandable&&ht.internalHooks===we&&ht.expandable.__PARENT_RENDER_ICON__||pt.some(function(fi){return fi&&(0,Ke.Z)(fi)==="object"&&fi[er]})?"nest":!1},[!!Hn,pt]),Gr=b.useState(function(){return Nn||(Dn?hn(pt,kt,er):[])}),Pr=(0,Ae.Z)(Gr,2),$r=Pr[0],ri=Pr[1],Jr=b.useMemo(function(){return new Set(mn||$r||[])},[mn,$r]),qr=b.useCallback(function(fi){var Ci=kt(fi,pt.indexOf(fi)),vi,no=Jr.has(Ci);no?(Jr.delete(Ci),vi=(0,Wn.Z)(Jr)):vi=[].concat((0,Wn.Z)(Jr),[Ci]),ri(vi),Mn&&Mn(!no,fi),br&&br(vi)},[kt,Jr,pt,Mn,br]);return[Ut,qn,Jr,lr,er,qr]}function Vt(ht,pt,kt){var Ut=ht.map(function(sn,mn){return yt(mn,mn,ht,pt,kt)});return(0,He.Z)(function(){return Ut},[Ut],function(sn,mn){return!(0,re.Z)(sn,mn)})}function Nt(ht){var pt=(0,b.useRef)(ht),kt=(0,b.useState)({}),Ut=(0,Ae.Z)(kt,2),sn=Ut[1],mn=(0,b.useRef)(null),Nn=(0,b.useRef)([]);function Dn(Hn){Nn.current.push(Hn);var Mn=Promise.resolve();mn.current=Mn,Mn.then(function(){if(mn.current===Mn){var br=Nn.current,cr=pt.current;Nn.current=[],br.forEach(function(lr){pt.current=lr(pt.current)}),mn.current=null,cr!==pt.current&&sn({})}})}return(0,b.useEffect)(function(){return function(){mn.current=null}},[]),[pt.current,Dn]}function Kt(ht){var pt=(0,b.useRef)(ht||null),kt=(0,b.useRef)();function Ut(){window.clearTimeout(kt.current)}function sn(Nn){pt.current=Nn,Ut(),kt.current=window.setTimeout(function(){pt.current=null,kt.current=void 0},100)}function mn(){return pt.current}return(0,b.useEffect)(function(){return Ut},[]),[sn,mn]}function ut(){var ht=b.useState(-1),pt=(0,Ae.Z)(ht,2),kt=pt[0],Ut=pt[1],sn=b.useState(-1),mn=(0,Ae.Z)(sn,2),Nn=mn[0],Dn=mn[1],Hn=b.useCallback(function(Mn,br){Ut(Mn),Dn(br)},[]);return[kt,Nn,Hn]}var Qt=ae(47273),on=(0,Qt.Z)()?window:null;function an(ht,pt){var kt=(0,Ke.Z)(ht)==="object"?ht:{},Ut=kt.offsetHeader,sn=Ut===void 0?0:Ut,mn=kt.offsetSummary,Nn=mn===void 0?0:mn,Dn=kt.offsetScroll,Hn=Dn===void 0?0:Dn,Mn=kt.getContainer,br=Mn===void 0?function(){return on}:Mn,cr=br()||on,lr=!!ht;return b.useMemo(function(){return{isSticky:lr,stickyClassName:lr?"".concat(pt,"-sticky-holder"):"",offsetHeader:sn,offsetSummary:Nn,offsetScroll:Hn,container:cr}},[lr,Hn,sn,Nn,pt,cr])}function Xt(ht,pt,kt){var Ut=(0,b.useMemo)(function(){var sn=pt.length,mn=function(Mn,br,cr){for(var lr=[],er=0,qn=Mn;qn!==br;qn+=cr)lr.push(er),pt[qn].fixed&&(er+=ht[qn]||0);return lr},Nn=mn(0,sn,1),Dn=mn(sn-1,-1,-1).reverse();return kt==="rtl"?{left:Dn,right:Nn}:{left:Nn,right:Dn}},[ht,pt,kt]);return Ut}var Yt=Xt;function Gt(ht){var pt=ht.className,kt=ht.children;return b.createElement("div",{className:pt},kt)}var dn=Gt,ur=ae(8224),Zt=ae(16089),nn=ae(76846);function Cn(ht){var pt=(0,nn.bn)(ht),kt=pt.getBoundingClientRect(),Ut=document.documentElement;return{left:kt.left+(window.pageXOffset||Ut.scrollLeft)-(Ut.clientLeft||document.body.clientLeft||0),top:kt.top+(window.pageYOffset||Ut.scrollTop)-(Ut.clientTop||document.body.clientTop||0)}}var Ht=function(pt,kt){var Ut,sn,mn=pt.scrollBodyRef,Nn=pt.onScroll,Dn=pt.offsetScroll,Hn=pt.container,Mn=pt.direction,br=E(Te,"prefixCls"),cr=((Ut=mn.current)===null||Ut===void 0?void 0:Ut.scrollWidth)||0,lr=((sn=mn.current)===null||sn===void 0?void 0:sn.clientWidth)||0,er=cr&&lr*(lr/cr),qn=b.useRef(),Gr=Nt({scrollLeft:0,isHiddenScrollBar:!0}),Pr=(0,Ae.Z)(Gr,2),$r=Pr[0],ri=Pr[1],Jr=b.useRef({delta:0,x:0}),qr=b.useState(!1),fi=(0,Ae.Z)(qr,2),Ci=fi[0],vi=fi[1],no=b.useRef(null);b.useEffect(function(){return function(){Zt.Z.cancel(no.current)}},[]);var zi=function(){vi(!1)},Ni=function(ii){ii.persist(),Jr.current.delta=ii.pageX-$r.scrollLeft,Jr.current.x=0,vi(!0),ii.preventDefault()},Gi=function(ii){var xi,Ii=ii||((xi=window)===null||xi===void 0?void 0:xi.event),Mi=Ii.buttons;if(!Ci||Mi===0){Ci&&vi(!1);return}var ci=Jr.current.x+ii.pageX-Jr.current.x-Jr.current.delta,lo=Mn==="rtl";ci=Math.max(lo?er-lr:0,Math.min(lo?0:lr-er,ci));var po=!lo||Math.abs(ci)+Math.abs(er)<lr;po&&(Nn({scrollLeft:ci/lr*(cr+2)}),Jr.current.x=ii.pageX)},wi=function(){Zt.Z.cancel(no.current),no.current=(0,Zt.Z)(function(){if(mn.current){var ii=Cn(mn.current).top,xi=ii+mn.current.offsetHeight,Ii=Hn===window?document.documentElement.scrollTop+window.innerHeight:Cn(Hn).top+Hn.clientHeight;xi-(0,it.Z)()<=Ii||ii>=Ii-Dn?ri(function(Mi){return(0,We.Z)((0,We.Z)({},Mi),{},{isHiddenScrollBar:!0})}):ri(function(Mi){return(0,We.Z)((0,We.Z)({},Mi),{},{isHiddenScrollBar:!1})})}})},Si=function(ii){ri(function(xi){return(0,We.Z)((0,We.Z)({},xi),{},{scrollLeft:ii/cr*lr||0})})};return b.useImperativeHandle(kt,function(){return{setScrollLeft:Si,checkScrollBarVisible:wi}}),b.useEffect(function(){var ui=(0,ur.Z)(document.body,"mouseup",zi,!1),ii=(0,ur.Z)(document.body,"mousemove",Gi,!1);return wi(),function(){ui.remove(),ii.remove()}},[er,Ci]),b.useEffect(function(){if(mn.current){for(var ui=[],ii=(0,nn.bn)(mn.current);ii;)ui.push(ii),ii=ii.parentElement;return ui.forEach(function(xi){return xi.addEventListener("scroll",wi,!1)}),window.addEventListener("resize",wi,!1),window.addEventListener("scroll",wi,!1),Hn.addEventListener("scroll",wi,!1),function(){ui.forEach(function(xi){return xi.removeEventListener("scroll",wi)}),window.removeEventListener("resize",wi),window.removeEventListener("scroll",wi),Hn.removeEventListener("scroll",wi)}}},[Hn]),b.useEffect(function(){$r.isHiddenScrollBar||ri(function(ui){var ii=mn.current;return ii?(0,We.Z)((0,We.Z)({},ui),{},{scrollLeft:ii.scrollLeft/ii.scrollWidth*ii.clientWidth}):ui})},[$r.isHiddenScrollBar]),cr<=lr||!er||$r.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,it.Z)(),width:lr,bottom:Dn},className:"".concat(br,"-sticky-scroll")},b.createElement("div",{onMouseDown:Ni,ref:qn,className:Je()("".concat(br,"-sticky-scroll-bar"),(0,Ne.Z)({},"".concat(br,"-sticky-scroll-bar-active"),Ci)),style:{width:"".concat(er,"px"),transform:"translate3d(".concat($r.scrollLeft,"px, 0, 0)")}}))},Ft=b.forwardRef(Ht);function fn(ht){return null}var wn=fn;function vn(ht){return null}var An=vn,Rn="rc-table",Zn=[],zn={};function Un(){return"No Data"}function ar(ht,pt){var kt=(0,We.Z)({rowKey:"key",prefixCls:Rn,emptyText:Un},ht),Ut=kt.prefixCls,sn=kt.className,mn=kt.rowClassName,Nn=kt.style,Dn=kt.data,Hn=kt.rowKey,Mn=kt.scroll,br=kt.tableLayout,cr=kt.direction,lr=kt.title,er=kt.footer,qn=kt.summary,Gr=kt.caption,Pr=kt.id,$r=kt.showHeader,ri=kt.components,Jr=kt.emptyText,qr=kt.onRow,fi=kt.onHeaderRow,Ci=kt.onScroll,vi=kt.internalHooks,no=kt.transformColumns,zi=kt.internalRefs,Ni=kt.tailor,Gi=kt.getContainerWidth,wi=kt.sticky,Si=kt.rowHoverable,ui=Si===void 0?!0:Si,ii=Dn||Zn,xi=!!ii.length,Ii=vi===we,Mi=b.useCallback(function(Co,Bo){return(0,lt.Z)(ri,Co)||Bo},[ri]),ci=b.useMemo(function(){return typeof Hn=="function"?Hn:function(Co){var Bo=Co&&Co[Hn];return Bo}},[Hn]),lo=Mi(["body"]),po=ut(),Qo=(0,Ae.Z)(po,3),qo=Qo[0],Ko=Qo[1],ea=Qo[2],sa=Dt(kt,ii,ci),mo=(0,Ae.Z)(sa,6),go=mo[0],da=mo[1],ta=mo[2],Di=mo[3],Ji=mo[4],Bi=mo[5],bi=Mn==null?void 0:Mn.x,Io=b.useState(0),Eo=(0,Ae.Z)(Io,2),$o=Eo[0],Uo=Eo[1],Mo=It((0,We.Z)((0,We.Z)((0,We.Z)({},kt),go),{},{expandable:!!go.expandedRowRender,columnTitle:go.columnTitle,expandedKeys:ta,getRowKey:ci,onTriggerExpand:Bi,expandIcon:Di,expandIconColumnIndex:go.expandIconColumnIndex,direction:cr,scrollWidth:Ii&&Ni&&typeof bi=="number"?bi:null,clientWidth:$o}),Ii?no:null),fa=(0,Ae.Z)(Mo,4),Ri=fa[0],_i=fa[1],Lo=fa[2],ko=fa[3],Ro=Lo!=null?Lo:bi,Sa=b.useMemo(function(){return{columns:Ri,flattenColumns:_i}},[Ri,_i]),pa=b.useRef(),qa=b.useRef(),Go=b.useRef(),yo=b.useRef();b.useImperativeHandle(pt,function(){return{nativeElement:pa.current,scrollTo:function(Bo){var Za;if(Go.current instanceof HTMLElement){var cs=Bo.index,Ua=Bo.top,bl=Bo.key;if(qe(Ua)){var Cs;(Cs=Go.current)===null||Cs===void 0||Cs.scrollTo({top:Ua})}else{var Ws,ll=bl!=null?bl:ci(ii[cs]);(Ws=Go.current.querySelector('[data-row-key="'.concat(ll,'"]')))===null||Ws===void 0||Ws.scrollIntoView()}}else(Za=Go.current)!==null&&Za!==void 0&&Za.scrollTo&&Go.current.scrollTo(Bo)}}});var _o=b.useRef(),Xo=b.useState(!1),ba=(0,Ae.Z)(Xo,2),ia=ba[0],Po=ba[1],na=b.useState(!1),No=(0,Ae.Z)(na,2),ja=No[0],ma=No[1],Pa=b.useState(new Map),es=(0,Ae.Z)(Pa,2),Ls=es[0],Vo=es[1],Ml=Ge(_i),Ga=Ml.map(function(Co){return Ls.get(Co)}),Ds=b.useMemo(function(){return Ga},[Ga.join("_")]),ls=Yt(Ds,_i,cr),is=Mn&&$e(Mn.y),zo=Mn&&$e(Ro)||!!go.fixed,us=zo&&_i.some(function(Co){var Bo=Co.fixed;return Bo}),Ns=b.useRef(),ks=an(wi,Ut),Ms=ks.isSticky,Xl=ks.offsetHeader,hl=ks.offsetSummary,Rl=ks.offsetScroll,Yl=ks.stickyClassName,gu=ks.container,ao=b.useMemo(function(){return qn==null?void 0:qn(ii)},[qn,ii]),Ao=(is||Ms)&&b.isValidElement(ao)&&ao.type===x&&ao.props.fixed,oa,ha,Ta;is&&(ha={overflowY:xi?"scroll":"auto",maxHeight:Mn.y}),zo&&(oa={overflowX:"auto"},is||(ha={overflowY:"hidden"}),Ta={width:Ro===!0?"auto":Ro,minWidth:"100%"});var Ea=b.useCallback(function(Co,Bo){Vo(function(Za){if(Za.get(Co)!==Bo){var cs=new Map(Za);return cs.set(Co,Bo),cs}return Za})},[]),os=Kt(null),Ha=(0,Ae.Z)(os,2),al=Ha[0],ml=Ha[1];function vl(Co,Bo){Bo&&(typeof Bo=="function"?Bo(Co):Bo.scrollLeft!==Co&&(Bo.scrollLeft=Co,Bo.scrollLeft!==Co&&setTimeout(function(){Bo.scrollLeft=Co},0)))}var Gs=(0,de.Z)(function(Co){var Bo=Co.currentTarget,Za=Co.scrollLeft,cs=cr==="rtl",Ua=typeof Za=="number"?Za:Bo.scrollLeft,bl=Bo||zn;if(!ml()||ml()===bl){var Cs;al(bl),vl(Ua,qa.current),vl(Ua,Go.current),vl(Ua,_o.current),vl(Ua,(Cs=Ns.current)===null||Cs===void 0?void 0:Cs.setScrollLeft)}var Ws=Bo||qa.current;if(Ws){var ll=Ii&&Ni&&typeof Ro=="number"?Ro:Ws.scrollWidth,Du=Ws.clientWidth;if(ll===Du){Po(!1),ma(!1);return}cs?(Po(-Ua<ll-Du),ma(-Ua>0)):(Po(Ua>0),ma(Ua<ll-Du))}}),$l=(0,de.Z)(function(Co){Gs(Co),Ci==null||Ci(Co)}),Xs=function(){if(zo&&Go.current){var Bo;Gs({currentTarget:(0,nn.bn)(Go.current),scrollLeft:(Bo=Go.current)===null||Bo===void 0?void 0:Bo.scrollLeft})}else Po(!1),ma(!1)},yu=function(Bo){var Za,cs=Bo.width;(Za=Ns.current)===null||Za===void 0||Za.checkScrollBarVisible();var Ua=pa.current?pa.current.offsetWidth:cs;Ii&&Gi&&pa.current&&(Ua=Gi(pa.current,Ua)||Ua),Ua!==$o&&(Xs(),Uo(Ua))},Jl=b.useRef(!1);b.useEffect(function(){Jl.current&&Xs()},[zo,Dn,Ri.length]),b.useEffect(function(){Jl.current=!0},[]);var Ys=b.useState(0),Hu=(0,Ae.Z)(Ys,2),$s=Hu[0],bu=Hu[1],rc=b.useState(!0),Fl=(0,Ae.Z)(rc,2),jl=Fl[0],ic=Fl[1];(0,ve.Z)(function(){(!Ni||!Ii)&&(Go.current instanceof Element?bu((0,it.o)(Go.current).width):bu((0,it.o)(yo.current).width)),ic((0,Qe.G)("position","sticky"))},[]),b.useEffect(function(){Ii&&zi&&(zi.body.current=Go.current)});var oc=b.useCallback(function(Co){return b.createElement(b.Fragment,null,b.createElement(Sr,Co),Ao==="top"&&b.createElement(Le,Co,ao))},[Ao,ao]),zl=b.useCallback(function(Co){return b.createElement(Le,Co,ao)},[ao]),xu=Mi(["table"],"table"),Wl=b.useMemo(function(){return br||(us?Ro==="max-content"?"auto":"fixed":is||Ms||_i.some(function(Co){var Bo=Co.ellipsis;return Bo})?"fixed":"auto")},[is,us,_i,br,Ms]),Cu,gl={colWidths:Ds,columCount:_i.length,stickyOffsets:ls,onHeaderRow:fi,fixHeader:is,scroll:Mn},wu=b.useMemo(function(){return xi?null:typeof Jr=="function"?Jr():Jr},[xi,Jr]),Zu=b.createElement(bn,{data:ii,measureColumnWidth:is||zo||Ms}),Su=b.createElement(mr,{colWidths:_i.map(function(Co){var Bo=Co.width;return Bo}),columns:_i}),Eu=Gr!=null?b.createElement("caption",{className:"".concat(Ut,"-caption")},Gr):void 0,Uu=(0,ot.Z)(kt,{data:!0}),Ql=(0,ot.Z)(kt,{aria:!0});if(is||Ms){var sl;typeof lo=="function"?(sl=lo(ii,{scrollbarSize:$s,ref:Go,onScroll:Gs}),gl.colWidths=_i.map(function(Co,Bo){var Za=Co.width,cs=Bo===_i.length-1?Za-$s:Za;return typeof cs=="number"&&!Number.isNaN(cs)?cs:0})):sl=b.createElement("div",{style:(0,We.Z)((0,We.Z)({},oa),ha),onScroll:$l,ref:Go,className:Je()("".concat(Ut,"-body"))},b.createElement(xu,(0,te.Z)({style:(0,We.Z)((0,We.Z)({},Ta),{},{tableLayout:Wl})},Ql),Eu,Su,Zu,!Ao&&ao&&b.createElement(Le,{stickyOffsets:ls,flattenColumns:_i},ao)));var yl=(0,We.Z)((0,We.Z)((0,We.Z)({noData:!ii.length,maxContentScroll:zo&&Ro==="max-content"},gl),Sa),{},{direction:cr,stickyClassName:Yl,onScroll:Gs});Cu=b.createElement(b.Fragment,null,$r!==!1&&b.createElement(In,(0,te.Z)({},yl,{stickyTopOffset:Xl,className:"".concat(Ut,"-header"),ref:qa}),oc),sl,Ao&&Ao!=="top"&&b.createElement(In,(0,te.Z)({},yl,{stickyBottomOffset:hl,className:"".concat(Ut,"-summary"),ref:_o}),zl),Ms&&Go.current&&Go.current instanceof Element&&b.createElement(Ft,{ref:Ns,offsetScroll:Rl,scrollBodyRef:Go,onScroll:Gs,container:gu,direction:cr}))}else Cu=b.createElement("div",{style:(0,We.Z)((0,We.Z)({},oa),ha),className:Je()("".concat(Ut,"-content")),onScroll:Gs,ref:Go},b.createElement(xu,(0,te.Z)({style:(0,We.Z)((0,We.Z)({},Ta),{},{tableLayout:Wl})},Ql),Eu,Su,$r!==!1&&b.createElement(Sr,(0,te.Z)({},gl,Sa)),Zu,ao&&b.createElement(Le,{stickyOffsets:ls,flattenColumns:_i},ao)));var Au=b.createElement("div",(0,te.Z)({className:Je()(Ut,sn,(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},"".concat(Ut,"-rtl"),cr==="rtl"),"".concat(Ut,"-ping-left"),ia),"".concat(Ut,"-ping-right"),ja),"".concat(Ut,"-layout-fixed"),br==="fixed"),"".concat(Ut,"-fixed-header"),is),"".concat(Ut,"-fixed-column"),us),"".concat(Ut,"-fixed-column-gapped"),us&&ko),"".concat(Ut,"-scroll-horizontal"),zo),"".concat(Ut,"-has-fix-left"),_i[0]&&_i[0].fixed),"".concat(Ut,"-has-fix-right"),_i[_i.length-1]&&_i[_i.length-1].fixed==="right")),style:Nn,id:Pr,ref:pa},Uu),lr&&b.createElement(dn,{className:"".concat(Ut,"-title")},lr(ii)),b.createElement("div",{ref:yo,className:"".concat(Ut,"-container")},Cu),er&&b.createElement(dn,{className:"".concat(Ut,"-footer")},er(ii)));zo&&(Au=b.createElement(Be.Z,{onResize:yu},Au));var Iu=Vt(_i,ls,cr),ac=b.useMemo(function(){return{scrollX:Ro,prefixCls:Ut,getComponent:Mi,scrollbarSize:$s,direction:cr,fixedInfoList:Iu,isSticky:Ms,supportSticky:jl,componentWidth:$o,fixHeader:is,fixColumn:us,horizonScroll:zo,tableLayout:Wl,rowClassName:mn,expandedRowClassName:go.expandedRowClassName,expandIcon:Di,expandableType:da,expandRowByClick:go.expandRowByClick,expandedRowRender:go.expandedRowRender,onTriggerExpand:Bi,expandIconColumnIndex:go.expandIconColumnIndex,indentSize:go.indentSize,allColumnsFixedLeft:_i.every(function(Co){return Co.fixed==="left"}),emptyNode:wu,columns:Ri,flattenColumns:_i,onColumnResize:Ea,hoverStartRow:qo,hoverEndRow:Ko,onHover:ea,rowExpandable:go.rowExpandable,onRow:qr,getRowKey:ci,expandedKeys:ta,childrenColumnName:Ji,rowHoverable:ui}},[Ro,Ut,Mi,$s,cr,Iu,Ms,jl,$o,is,us,zo,Wl,mn,go.expandedRowClassName,Di,da,go.expandRowByClick,go.expandedRowRender,Bi,go.expandIconColumnIndex,go.indentSize,wu,Ri,_i,Ea,qo,Ko,ea,go.rowExpandable,qr,ci,ta,Ji,ui]);return b.createElement(Te.Provider,{value:ac},Au)}var Fn=b.forwardRef(ar);function ir(ht){return Ie(Fn,ht)}var Ir=ir();Ir.EXPAND_COLUMN=oe,Ir.INTERNAL_HOOKS=we,Ir.Column=wn,Ir.ColumnGroup=An,Ir.Summary=Se;var Lr=Ir,Fr=ae(48911),vr=fe(null),Dr=fe(null);function Ur(ht,pt,kt){var Ut=pt||1;return kt[ht+Ut]-(kt[ht]||0)}function gr(ht){var pt=ht.rowInfo,kt=ht.column,Ut=ht.colIndex,sn=ht.indent,mn=ht.index,Nn=ht.component,Dn=ht.renderIndex,Hn=ht.record,Mn=ht.style,br=ht.className,cr=ht.inverse,lr=ht.getHeight,er=kt.render,qn=kt.dataIndex,Gr=kt.className,Pr=kt.width,$r=E(Dr,["columnsOffset"]),ri=$r.columnsOffset,Jr=Ct(pt,kt,Ut,sn,mn),qr=Jr.key,fi=Jr.fixedInfo,Ci=Jr.appendCellNode,vi=Jr.additionalCellProps,no=vi.style,zi=vi.colSpan,Ni=zi===void 0?1:zi,Gi=vi.rowSpan,wi=Gi===void 0?1:Gi,Si=Ut-1,ui=Ur(Si,Ni,ri),ii=Ni>1?Pr-ui:0,xi=(0,We.Z)((0,We.Z)((0,We.Z)({},no),Mn),{},{flex:"0 0 ".concat(ui,"px"),width:"".concat(ui,"px"),marginRight:ii,pointerEvents:"auto"}),Ii=b.useMemo(function(){return cr?wi<=1:Ni===0||wi===0||wi>1},[wi,Ni,cr]);Ii?xi.visibility="hidden":cr&&(xi.height=lr==null?void 0:lr(wi));var Mi=Ii?function(){return null}:er,ci={};return(wi===0||Ni===0)&&(ci.rowSpan=1,ci.colSpan=1),b.createElement(wt,(0,te.Z)({className:Je()(Gr,br),ellipsis:kt.ellipsis,align:kt.align,scope:kt.rowScope,component:Nn,prefixCls:pt.prefixCls,key:qr,record:Hn,index:mn,renderIndex:Dn,dataIndex:qn,render:Mi,shouldCellUpdate:kt.shouldCellUpdate},fi,{appendNode:Ci,additionalProps:(0,We.Z)((0,We.Z)({},vi),{},{style:xi},ci)}))}var Zr=gr,jr=["data","index","className","rowKey","style","extra","getHeight"],yi=b.forwardRef(function(ht,pt){var kt=ht.data,Ut=ht.index,sn=ht.className,mn=ht.rowKey,Nn=ht.style,Dn=ht.extra,Hn=ht.getHeight,Mn=(0,ke.Z)(ht,jr),br=kt.record,cr=kt.indent,lr=kt.index,er=E(Te,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),qn=er.scrollX,Gr=er.flattenColumns,Pr=er.prefixCls,$r=er.fixColumn,ri=er.componentWidth,Jr=E(vr,["getComponent"]),qr=Jr.getComponent,fi=Rt(br,mn,Ut,cr),Ci=qr(["body","row"],"div"),vi=qr(["body","cell"],"div"),no=fi.rowSupportExpand,zi=fi.expanded,Ni=fi.rowProps,Gi=fi.expandedRowRender,wi=fi.expandedRowClassName,Si;if(no&&zi){var ui=Gi(br,Ut,cr+1,zi),ii=$t(wi,br,Ut,cr),xi={};$r&&(xi={style:(0,Ne.Z)({},"--virtual-width","".concat(ri,"px"))});var Ii="".concat(Pr,"-expanded-row-cell");Si=b.createElement(Ci,{className:Je()("".concat(Pr,"-expanded-row"),"".concat(Pr,"-expanded-row-level-").concat(cr+1),ii)},b.createElement(wt,{component:vi,prefixCls:Pr,className:Je()(Ii,(0,Ne.Z)({},"".concat(Ii,"-fixed"),$r)),additionalProps:xi},ui))}var Mi=(0,We.Z)((0,We.Z)({},Nn),{},{width:qn});Dn&&(Mi.position="absolute",Mi.pointerEvents="none");var ci=b.createElement(Ci,(0,te.Z)({},Ni,Mn,{"data-row-key":mn,ref:no?null:pt,className:Je()(sn,"".concat(Pr,"-row"),Ni==null?void 0:Ni.className,(0,Ne.Z)({},"".concat(Pr,"-row-extra"),Dn)),style:(0,We.Z)((0,We.Z)({},Mi),Ni==null?void 0:Ni.style)}),Gr.map(function(lo,po){return b.createElement(Zr,{key:po,component:vi,rowInfo:fi,column:lo,colIndex:po,indent:cr,index:Ut,renderIndex:lr,record:br,inverse:Dn,getHeight:Hn})}));return no?b.createElement("div",{ref:pt},ci,Si):ci}),Yr=Re(yi),Kr=Yr,si=b.forwardRef(function(ht,pt){var kt=ht.data,Ut=ht.onScroll,sn=E(Te,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),mn=sn.flattenColumns,Nn=sn.onColumnResize,Dn=sn.getRowKey,Hn=sn.expandedKeys,Mn=sn.prefixCls,br=sn.childrenColumnName,cr=sn.scrollX,lr=sn.direction,er=E(vr),qn=er.sticky,Gr=er.scrollY,Pr=er.listItemHeight,$r=er.getComponent,ri=er.onScroll,Jr=b.useRef(),qr=Mt(kt,br,Hn,Dn),fi=b.useMemo(function(){var Si=0;return mn.map(function(ui){var ii=ui.width,xi=ui.key;return Si+=ii,[xi,ii,Si]})},[mn]),Ci=b.useMemo(function(){return fi.map(function(Si){return Si[2]})},[fi]);b.useEffect(function(){fi.forEach(function(Si){var ui=(0,Ae.Z)(Si,2),ii=ui[0],xi=ui[1];Nn(ii,xi)})},[fi]),b.useImperativeHandle(pt,function(){var Si,ui={scrollTo:function(xi){var Ii;(Ii=Jr.current)===null||Ii===void 0||Ii.scrollTo(xi)},nativeElement:(Si=Jr.current)===null||Si===void 0?void 0:Si.nativeElement};return Object.defineProperty(ui,"scrollLeft",{get:function(){var xi;return((xi=Jr.current)===null||xi===void 0?void 0:xi.getScrollInfo().x)||0},set:function(xi){var Ii;(Ii=Jr.current)===null||Ii===void 0||Ii.scrollTo({left:xi})}}),ui});var vi=function(ui,ii){var xi,Ii=(xi=qr[ii])===null||xi===void 0?void 0:xi.record,Mi=ui.onCell;if(Mi){var ci,lo=Mi(Ii,ii);return(ci=lo==null?void 0:lo.rowSpan)!==null&&ci!==void 0?ci:1}return 1},no=function(ui){var ii=ui.start,xi=ui.end,Ii=ui.getSize,Mi=ui.offsetY;if(xi<0)return null;for(var ci=mn.filter(function(Di){return vi(Di,ii)===0}),lo=ii,po=function(Ji){if(ci=ci.filter(function(Bi){return vi(Bi,Ji)===0}),!ci.length)return lo=Ji,1},Qo=ii;Qo>=0&&!po(Qo);Qo-=1);for(var qo=mn.filter(function(Di){return vi(Di,xi)!==1}),Ko=xi,ea=function(Ji){if(qo=qo.filter(function(Bi){return vi(Bi,Ji)!==1}),!qo.length)return Ko=Math.max(Ji-1,xi),1},sa=xi;sa<qr.length&&!ea(sa);sa+=1);for(var mo=[],go=function(Ji){var Bi=qr[Ji];if(!Bi)return 1;mn.some(function(bi){return vi(bi,Ji)>1})&&mo.push(Ji)},da=lo;da<=Ko;da+=1)go(da);var ta=mo.map(function(Di){var Ji=qr[Di],Bi=Dn(Ji.record,Di),bi=function($o){var Uo=Di+$o-1,Mo=Dn(qr[Uo].record,Uo),fa=Ii(Bi,Mo);return fa.bottom-fa.top},Io=Ii(Bi);return b.createElement(Kr,{key:Di,data:Ji,rowKey:Bi,index:Di,style:{top:-Mi+Io.top},extra:!0,getHeight:bi})});return ta},zi=b.useMemo(function(){return{columnsOffset:Ci}},[Ci]),Ni="".concat(Mn,"-tbody"),Gi=$r(["body","wrapper"]),wi={};return qn&&(wi.position="sticky",wi.bottom=0,(0,Ke.Z)(qn)==="object"&&qn.offsetScroll&&(wi.bottom=qn.offsetScroll)),b.createElement(Dr.Provider,{value:zi},b.createElement(Fr.Z,{fullHeight:!1,ref:Jr,prefixCls:"".concat(Ni,"-virtual"),styles:{horizontalScrollBar:wi},className:Ni,height:Gr,itemHeight:Pr||24,data:qr,itemKey:function(ui){return Dn(ui.record)},component:Gi,scrollWidth:cr,direction:lr,onVirtualScroll:function(ui){var ii,xi=ui.x;Ut({currentTarget:(ii=Jr.current)===null||ii===void 0?void 0:ii.nativeElement,scrollLeft:xi})},onScroll:ri,extraRender:no},function(Si,ui,ii){var xi=Dn(Si.record,ui);return b.createElement(Kr,{data:Si,rowKey:xi,index:ui,style:ii.style})}))}),ni=Re(si),Mr=ni,Vr=function(pt,kt){var Ut=kt.ref,sn=kt.onScroll;return b.createElement(Mr,{ref:Ut,data:pt,onScroll:sn})};function yr(ht,pt){var kt=ht.data,Ut=ht.columns,sn=ht.scroll,mn=ht.sticky,Nn=ht.prefixCls,Dn=Nn===void 0?Rn:Nn,Hn=ht.className,Mn=ht.listItemHeight,br=ht.components,cr=ht.onScroll,lr=sn||{},er=lr.x,qn=lr.y;typeof er!="number"&&(er=1),typeof qn!="number"&&(qn=500);var Gr=(0,ct.zX)(function(ri,Jr){return(0,lt.Z)(br,ri)||Jr}),Pr=(0,ct.zX)(cr),$r=b.useMemo(function(){return{sticky:mn,scrollY:qn,listItemHeight:Mn,getComponent:Gr,onScroll:Pr}},[mn,qn,Mn,Gr,Pr]);return b.createElement(vr.Provider,{value:$r},b.createElement(Lr,(0,te.Z)({},ht,{className:Je()(Hn,"".concat(Dn,"-virtual")),scroll:(0,We.Z)((0,We.Z)({},sn),{},{x:er}),components:(0,We.Z)((0,We.Z)({},br),{},{body:kt!=null&&kt.length?Vr:void 0}),columns:Ut,internalHooks:we,tailor:!0,ref:pt})))}var Jn=b.forwardRef(yr);function sr(ht){return Ie(Jn,ht)}var hr=sr(),Gn=null,Br=ht=>null,Bn=ht=>null,Xn=ae(84105),fr=ae(82661),Wr=ae(34643),Qr=ae(34061),Xr=ae(18929);function Fi(ht){const[pt,kt]=(0,b.useState)(null);return[(0,b.useCallback)((mn,Nn,Dn)=>{const Hn=pt!=null?pt:mn,Mn=Math.min(Hn||0,mn),br=Math.max(Hn||0,mn),cr=Nn.slice(Mn,br+1).map(qn=>ht(qn)),lr=cr.some(qn=>!Dn.has(qn)),er=[];return cr.forEach(qn=>{lr?(Dn.has(qn)||er.push(qn),Dn.add(qn)):(Dn.delete(qn),er.push(qn))}),kt(lr?br:null),er},[pt]),mn=>{kt(mn)}]}var or=ae(32383),Ti=ae(62673),hi=ae(75727),Ei=ae(47889);const Li={},Ai="SELECT_ALL",ro="SELECT_INVERT",So="SELECT_NONE",Qi=[],io=(ht,pt)=>{let kt=[];return(pt||[]).forEach(Ut=>{kt.push(Ut),Ut&&typeof Ut=="object"&&ht in Ut&&(kt=[].concat((0,Wn.Z)(kt),(0,Wn.Z)(io(ht,Ut[ht]))))}),kt};var li=(ht,pt)=>{const{preserveSelectedRowKeys:kt,selectedRowKeys:Ut,defaultSelectedRowKeys:sn,getCheckboxProps:mn,onChange:Nn,onSelect:Dn,onSelectAll:Hn,onSelectInvert:Mn,onSelectNone:br,onSelectMultiple:cr,columnWidth:lr,type:er,selections:qn,fixed:Gr,renderCell:Pr,hideSelectAll:$r,checkStrictly:ri=!0}=pt||{},{prefixCls:Jr,data:qr,pageData:fi,getRecordByKey:Ci,getRowKey:vi,expandType:no,childrenColumnName:zi,locale:Ni,getPopupContainer:Gi}=ht,wi=(0,or.ln)("Table"),[Si,ui]=Fi(Di=>Di),[ii,xi]=(0,Xr.Z)(Ut||sn||Qi,{value:Ut}),Ii=b.useRef(new Map),Mi=(0,b.useCallback)(Di=>{if(kt){const Ji=new Map;Di.forEach(Bi=>{let bi=Ci(Bi);!bi&&Ii.current.has(Bi)&&(bi=Ii.current.get(Bi)),Ji.set(Bi,bi)}),Ii.current=Ji}},[Ci,kt]);b.useEffect(()=>{Mi(ii)},[ii]);const ci=(0,b.useMemo)(()=>io(zi,fi),[zi,fi]),{keyEntities:lo}=(0,b.useMemo)(()=>{if(ri)return{keyEntities:null};let Di=qr;if(kt){const Ji=new Set(ci.map((bi,Io)=>vi(bi,Io))),Bi=Array.from(Ii.current).reduce((bi,Io)=>{let[Eo,$o]=Io;return Ji.has(Eo)?bi:bi.concat($o)},[]);Di=[].concat((0,Wn.Z)(Di),(0,Wn.Z)(Bi))}return(0,Qr.I8)(Di,{externalGetKey:vi,childrenPropName:zi})},[qr,vi,ri,zi,kt,ci]),po=(0,b.useMemo)(()=>{const Di=new Map;return ci.forEach((Ji,Bi)=>{const bi=vi(Ji,Bi),Io=(mn?mn(Ji):null)||{};Di.set(bi,Io)}),Di},[ci,vi,mn]),Qo=(0,b.useCallback)(Di=>{const Ji=vi(Di);let Bi;return po.has(Ji)?Bi=po.get(vi(Di)):Bi=mn?mn(Di):void 0,!!(Bi!=null&&Bi.disabled)},[po,vi]),[qo,Ko]=(0,b.useMemo)(()=>{if(ri)return[ii||[],[]];const{checkedKeys:Di,halfCheckedKeys:Ji}=(0,Wr.S)(ii,!0,lo,Qo);return[Di||[],Ji]},[ii,ri,lo,Qo]),ea=(0,b.useMemo)(()=>{const Di=er==="radio"?qo.slice(0,1):qo;return new Set(Di)},[qo,er]),sa=(0,b.useMemo)(()=>er==="radio"?new Set:new Set(Ko),[Ko,er]);b.useEffect(()=>{pt||xi(Qi)},[!!pt]);const mo=(0,b.useCallback)((Di,Ji)=>{let Bi,bi;Mi(Di),kt?(Bi=Di,bi=Di.map(Io=>Ii.current.get(Io))):(Bi=[],bi=[],Di.forEach(Io=>{const Eo=Ci(Io);Eo!==void 0&&(Bi.push(Io),bi.push(Eo))})),xi(Bi),Nn==null||Nn(Bi,bi,{type:Ji})},[xi,Ci,Nn,kt]),go=(0,b.useCallback)((Di,Ji,Bi,bi)=>{if(Dn){const Io=Bi.map(Eo=>Ci(Eo));Dn(Ci(Di),Ji,Io,bi)}mo(Bi,"single")},[Dn,Ci,mo]),da=(0,b.useMemo)(()=>!qn||$r?null:(qn===!0?[Ai,ro,So]:qn).map(Ji=>Ji===Ai?{key:"all",text:Ni.selectionAll,onSelect(){mo(qr.map((Bi,bi)=>vi(Bi,bi)).filter(Bi=>{const bi=po.get(Bi);return!(bi!=null&&bi.disabled)||ea.has(Bi)}),"all")}}:Ji===ro?{key:"invert",text:Ni.selectInvert,onSelect(){const Bi=new Set(ea);fi.forEach((Io,Eo)=>{const $o=vi(Io,Eo),Uo=po.get($o);Uo!=null&&Uo.disabled||(Bi.has($o)?Bi.delete($o):Bi.add($o))});const bi=Array.from(Bi);Mn&&(wi.deprecated(!1,"onSelectInvert","onChange"),Mn(bi)),mo(bi,"invert")}}:Ji===So?{key:"none",text:Ni.selectNone,onSelect(){br==null||br(),mo(Array.from(ea).filter(Bi=>{const bi=po.get(Bi);return bi==null?void 0:bi.disabled}),"none")}}:Ji).map(Ji=>Object.assign(Object.assign({},Ji),{onSelect:function(){for(var Bi,bi,Io=arguments.length,Eo=new Array(Io),$o=0;$o<Io;$o++)Eo[$o]=arguments[$o];(bi=Ji.onSelect)===null||bi===void 0||(Bi=bi).call.apply(Bi,[Ji].concat(Eo)),ui(null)}})),[qn,ea,fi,vi,Mn,mo]);return[(0,b.useCallback)(Di=>{var Ji;if(!pt)return Di.filter(yo=>yo!==Li);let Bi=(0,Wn.Z)(Di);const bi=new Set(ea),Io=ci.map(vi).filter(yo=>!po.get(yo).disabled),Eo=Io.every(yo=>bi.has(yo)),$o=Io.some(yo=>bi.has(yo)),Uo=()=>{const yo=[];Eo?Io.forEach(Xo=>{bi.delete(Xo),yo.push(Xo)}):Io.forEach(Xo=>{bi.has(Xo)||(bi.add(Xo),yo.push(Xo))});const _o=Array.from(bi);Hn==null||Hn(!Eo,_o.map(Xo=>Ci(Xo)),yo.map(Xo=>Ci(Xo))),mo(_o,"all"),ui(null)};let Mo,fa;if(er!=="radio"){let yo;if(da){const Po={getPopupContainer:Gi,items:da.map((na,No)=>{const{key:ja,text:ma,onSelect:Pa}=na;return{key:ja!=null?ja:No,onClick:()=>{Pa==null||Pa(Io)},label:ma}})};yo=b.createElement("div",{className:`${Jr}-selection-extra`},b.createElement(hi.Z,{menu:Po,getPopupContainer:Gi},b.createElement("span",null,b.createElement(Xn.Z,null))))}const _o=ci.map((Po,na)=>{const No=vi(Po,na),ja=po.get(No)||{};return Object.assign({checked:bi.has(No)},ja)}).filter(Po=>{let{disabled:na}=Po;return na}),Xo=!!_o.length&&_o.length===ci.length,ba=Xo&&_o.every(Po=>{let{checked:na}=Po;return na}),ia=Xo&&_o.some(Po=>{let{checked:na}=Po;return na});fa=b.createElement(Ti.default,{checked:Xo?ba:!!ci.length&&Eo,indeterminate:Xo?!ba&&ia:!Eo&&$o,onChange:Uo,disabled:ci.length===0||Xo,"aria-label":yo?"Custom selection":"Select all",skipGroup:!0}),Mo=!$r&&b.createElement("div",{className:`${Jr}-selection`},fa,yo)}let Ri;er==="radio"?Ri=(yo,_o,Xo)=>{const ba=vi(_o,Xo),ia=bi.has(ba),Po=po.get(ba);return{node:b.createElement(Ei.ZP,Object.assign({},Po,{checked:ia,onClick:na=>{var No;na.stopPropagation(),(No=Po==null?void 0:Po.onClick)===null||No===void 0||No.call(Po,na)},onChange:na=>{var No;bi.has(ba)||go(ba,!0,[ba],na.nativeEvent),(No=Po==null?void 0:Po.onChange)===null||No===void 0||No.call(Po,na)}})),checked:ia}}:Ri=(yo,_o,Xo)=>{var ba;const ia=vi(_o,Xo),Po=bi.has(ia),na=sa.has(ia),No=po.get(ia);let ja;return no==="nest"?ja=na:ja=(ba=No==null?void 0:No.indeterminate)!==null&&ba!==void 0?ba:na,{node:b.createElement(Ti.default,Object.assign({},No,{indeterminate:ja,checked:Po,skipGroup:!0,onClick:ma=>{var Pa;ma.stopPropagation(),(Pa=No==null?void 0:No.onClick)===null||Pa===void 0||Pa.call(No,ma)},onChange:ma=>{var Pa;const{nativeEvent:es}=ma,{shiftKey:Ls}=es,Vo=Io.findIndex(Ga=>Ga===ia),Ml=qo.some(Ga=>Io.includes(Ga));if(Ls&&ri&&Ml){const Ga=Si(Vo,Io,bi),Ds=Array.from(bi);cr==null||cr(!Po,Ds.map(ls=>Ci(ls)),Ga.map(ls=>Ci(ls))),mo(Ds,"multiple")}else{const Ga=qo;if(ri){const Ds=Po?(0,fr._5)(Ga,ia):(0,fr.L0)(Ga,ia);go(ia,!Po,Ds,es)}else{const Ds=(0,Wr.S)([].concat((0,Wn.Z)(Ga),[ia]),!0,lo,Qo),{checkedKeys:ls,halfCheckedKeys:is}=Ds;let zo=ls;if(Po){const us=new Set(ls);us.delete(ia),zo=(0,Wr.S)(Array.from(us),{checked:!1,halfCheckedKeys:is},lo,Qo).checkedKeys}go(ia,!Po,zo,es)}}ui(Po?null:Vo),(Pa=No==null?void 0:No.onChange)===null||Pa===void 0||Pa.call(No,ma)}})),checked:Po}};const _i=(yo,_o,Xo)=>{const{node:ba,checked:ia}=Ri(yo,_o,Xo);return Pr?Pr(ia,_o,Xo,ba):ba};if(!Bi.includes(Li))if(Bi.findIndex(yo=>{var _o;return((_o=yo[tr])===null||_o===void 0?void 0:_o.columnType)==="EXPAND_COLUMN"})===0){const[yo,..._o]=Bi;Bi=[yo,Li].concat((0,Wn.Z)(_o))}else Bi=[Li].concat((0,Wn.Z)(Bi));const Lo=Bi.indexOf(Li);Bi=Bi.filter((yo,_o)=>yo!==Li||_o===Lo);const ko=Bi[Lo-1],Ro=Bi[Lo+1];let Sa=Gr;Sa===void 0&&((Ro==null?void 0:Ro.fixed)!==void 0?Sa=Ro.fixed:(ko==null?void 0:ko.fixed)!==void 0&&(Sa=ko.fixed)),Sa&&ko&&((Ji=ko[tr])===null||Ji===void 0?void 0:Ji.columnType)==="EXPAND_COLUMN"&&ko.fixed===void 0&&(ko.fixed=Sa);const pa=Je()(`${Jr}-selection-col`,{[`${Jr}-selection-col-with-dropdown`]:qn&&er==="checkbox"}),qa=()=>pt!=null&&pt.columnTitle?typeof pt.columnTitle=="function"?pt.columnTitle(fa):pt.columnTitle:Mo,Go={fixed:Sa,width:lr,className:`${Jr}-selection-column`,title:qa(),render:_i,onCell:pt.onCell,[tr]:{className:pa}};return Bi.map(yo=>yo===Li?Go:yo)},[vi,ci,pt,qo,ea,sa,lr,da,no,po,cr,go,Qo]),ea]},qi=ae(2738);function ho(ht,pt){return ht._antProxy=ht._antProxy||{},Object.keys(pt).forEach(kt=>{if(!(kt in ht._antProxy)){const Ut=ht[kt];ht._antProxy[kt]=Ut,ht[kt]=pt[kt]}}),ht}function ji(ht,pt){return(0,b.useImperativeHandle)(ht,()=>{const kt=pt(),{nativeElement:Ut}=kt;return typeof Proxy!="undefined"?new Proxy(Ut,{get(sn,mn){return kt[mn]?kt[mn]:Reflect.get(sn,mn)}}):ho(Ut,kt)})}var oo=ae(83010),uo=ae(48755),$i=ae(38406),co=ae(83397),so=ae(31756),jo=ae(13783),Jo=ae(85981),Yo=ae(31709),Zo=ae(29787),ns=ae(57700);function Ya(ht){return pt=>{const{prefixCls:kt,onExpand:Ut,record:sn,expanded:mn,expandable:Nn}=pt,Dn=`${kt}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:Hn=>{Ut(sn,Hn),Hn.stopPropagation()},className:Je()(Dn,{[`${Dn}-spaced`]:!Nn,[`${Dn}-expanded`]:Nn&&mn,[`${Dn}-collapsed`]:Nn&&!mn}),"aria-label":mn?ht.collapse:ht.expand,"aria-expanded":mn})}}var Hi=Ya;function to(ht){return(kt,Ut)=>{const sn=kt.querySelector(`.${ht}-container`);let mn=Ut;if(sn){const Nn=getComputedStyle(sn),Dn=parseInt(Nn.borderLeftWidth,10),Hn=parseInt(Nn.borderRightWidth,10);mn=Ut-Dn-Hn}return mn}}const Zi=(ht,pt)=>"key"in ht&&ht.key!==void 0&&ht.key!==null?ht.key:ht.dataIndex?Array.isArray(ht.dataIndex)?ht.dataIndex.join("."):ht.dataIndex:pt;function Vi(ht,pt){return pt?`${pt}-${ht}`:`${ht}`}const bo=(ht,pt)=>typeof ht=="function"?ht(pt):ht,$n=(ht,pt)=>{const kt=bo(ht,pt);return Object.prototype.toString.call(kt)==="[object Object]"?"":kt};var Hr={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"},pi=Hr,Xi=ae(7657),xo=function(pt,kt){return b.createElement(Xi.Z,(0,te.Z)({},pt,{ref:kt,icon:pi}))},ya=b.forwardRef(xo),Na=ya,To=ae(9981),aa=ae(40192);function $a(ht){const pt=b.useRef(ht),kt=(0,aa.Z)();return[()=>pt.current,Ut=>{pt.current=Ut,kt()}]}var Ia=ae(7939),Wa=ae(584),Ps=ae(93041),Us=ae(78857),ms=ae(18287),Ca=ae(47472),vs=ae(49397),Ss=ht=>{const{value:pt,filterSearch:kt,tablePrefixCls:Ut,locale:sn,onChange:mn}=ht;return kt?b.createElement("div",{className:`${Ut}-filter-dropdown-search`},b.createElement(vs.Z,{prefix:b.createElement(Ca.Z,null),placeholder:sn.filterSearchPlaceholder,onChange:mn,value:pt,htmlSize:1,className:`${Ut}-filter-dropdown-search-input`})):null},Dl=ae(10228);const Hl=ht=>{const{keyCode:pt}=ht;pt===Dl.Z.ENTER&&ht.stopPropagation()};var Pl=b.forwardRef((ht,pt)=>b.createElement("div",{className:ht.className,onClick:kt=>kt.stopPropagation(),onKeyDown:Hl,ref:pt},ht.children));function Es(ht){let pt=[];return(ht||[]).forEach(kt=>{let{value:Ut,children:sn}=kt;pt.push(Ut),sn&&(pt=[].concat((0,Wn.Z)(pt),(0,Wn.Z)(Es(sn))))}),pt}function Js(ht){return ht.some(pt=>{let{children:kt}=pt;return kt})}function Qs(ht,pt){return typeof pt=="string"||typeof pt=="number"?pt==null?void 0:pt.toString().toLowerCase().includes(ht.trim().toLowerCase()):!1}function Tl(ht){let{filters:pt,prefixCls:kt,filteredKeys:Ut,filterMultiple:sn,searchValue:mn,filterSearch:Nn}=ht;return pt.map((Dn,Hn)=>{const Mn=String(Dn.value);if(Dn.children)return{key:Mn||Hn,label:Dn.text,popupClassName:`${kt}-dropdown-submenu`,children:Tl({filters:Dn.children,prefixCls:kt,filteredKeys:Ut,filterMultiple:sn,searchValue:mn,filterSearch:Nn})};const br=sn?Ti.default:Ei.ZP,cr={key:Dn.value!==void 0?Mn:Hn,label:b.createElement(b.Fragment,null,b.createElement(br,{checked:Ut.includes(Mn)}),b.createElement("span",null,Dn.text))};return mn.trim()?typeof Nn=="function"?Nn(mn,Dn)?cr:null:Qs(mn,Dn.text)?cr:null:cr})}function el(ht){return ht||[]}var Zl=ht=>{var pt,kt,Ut,sn;const{tablePrefixCls:mn,prefixCls:Nn,column:Dn,dropdownPrefixCls:Hn,columnKey:Mn,filterOnClose:br,filterMultiple:cr,filterMode:lr="menu",filterSearch:er=!1,filterState:qn,triggerFilter:Gr,locale:Pr,children:$r,getPopupContainer:ri,rootClassName:Jr}=ht,{filterResetToDefaultFilteredValue:qr,defaultFilteredValue:fi,filterDropdownProps:Ci={},filterDropdownOpen:vi,filterDropdownVisible:no,onFilterDropdownVisibleChange:zi,onFilterDropdownOpenChange:Ni}=Dn,[Gi,wi]=b.useState(!1),Si=!!(qn&&(!((pt=qn.filteredKeys)===null||pt===void 0)&&pt.length||qn.forceFiltered)),ui=Ri=>{var _i;wi(Ri),(_i=Ci.onOpenChange)===null||_i===void 0||_i.call(Ci,Ri),Ni==null||Ni(Ri),zi==null||zi(Ri)},ii=(sn=(Ut=(kt=Ci.open)!==null&&kt!==void 0?kt:vi)!==null&&Ut!==void 0?Ut:no)!==null&&sn!==void 0?sn:Gi,xi=qn==null?void 0:qn.filteredKeys,[Ii,Mi]=$a(el(xi)),ci=Ri=>{let{selectedKeys:_i}=Ri;Mi(_i)},lo=(Ri,_i)=>{let{node:Lo,checked:ko}=_i;ci(cr?{selectedKeys:Ri}:{selectedKeys:ko&&Lo.key?[Lo.key]:[]})};b.useEffect(()=>{Gi&&ci({selectedKeys:el(xi)})},[xi]);const[po,Qo]=b.useState([]),qo=Ri=>{Qo(Ri)},[Ko,ea]=b.useState(""),sa=Ri=>{const{value:_i}=Ri.target;ea(_i)};b.useEffect(()=>{Gi||ea("")},[Gi]);const mo=Ri=>{const _i=Ri!=null&&Ri.length?Ri:null;if(_i===null&&(!qn||!qn.filteredKeys)||(0,re.Z)(_i,qn==null?void 0:qn.filteredKeys,!0))return null;Gr({column:Dn,key:Mn,filteredKeys:_i})},go=()=>{ui(!1),mo(Ii())},da=function(){let{confirm:Ri,closeDropdown:_i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ri&&mo([]),_i&&ui(!1),ea(""),Mi(qr?(fi||[]).map(Lo=>String(Lo)):[])},ta=function(){let{closeDropdown:Ri}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ri&&ui(!1),mo(Ii())},Di=(Ri,_i)=>{_i.source==="trigger"&&(Ri&&xi!==void 0&&Mi(el(xi)),ui(Ri),!Ri&&!Dn.filterDropdown&&br&&go())},Ji=Je()({[`${Hn}-menu-without-submenu`]:!Js(Dn.filters||[])}),Bi=Ri=>{if(Ri.target.checked){const _i=Es(Dn==null?void 0:Dn.filters).map(Lo=>String(Lo));Mi(_i)}else Mi([])},bi=Ri=>{let{filters:_i}=Ri;return(_i||[]).map((Lo,ko)=>{const Ro=String(Lo.value),Sa={title:Lo.text,key:Lo.value!==void 0?Ro:String(ko)};return Lo.children&&(Sa.children=bi({filters:Lo.children})),Sa})},Io=Ri=>{var _i;return Object.assign(Object.assign({},Ri),{text:Ri.title,value:Ri.key,children:((_i=Ri.children)===null||_i===void 0?void 0:_i.map(Lo=>Io(Lo)))||[]})};let Eo;const{direction:$o,renderEmpty:Uo}=b.useContext(uo.E_);if(typeof Dn.filterDropdown=="function")Eo=Dn.filterDropdown({prefixCls:`${Hn}-custom`,setSelectedKeys:Ri=>ci({selectedKeys:Ri}),selectedKeys:Ii(),confirm:ta,clearFilters:da,filters:Dn.filters,visible:ii,close:()=>{ui(!1)}});else if(Dn.filterDropdown)Eo=Dn.filterDropdown;else{const Ri=Ii()||[],_i=()=>{var ko,Ro;const Sa=(ko=Uo==null?void 0:Uo("Table.filter"))!==null&&ko!==void 0?ko:b.createElement(Wa.Z,{image:Wa.Z.PRESENTED_IMAGE_SIMPLE,description:Pr.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Dn.filters||[]).length===0)return Sa;if(lr==="tree")return b.createElement(b.Fragment,null,b.createElement(Ss,{filterSearch:er,value:Ko,onChange:sa,tablePrefixCls:mn,locale:Pr}),b.createElement("div",{className:`${mn}-filter-dropdown-tree`},cr?b.createElement(Ti.default,{checked:Ri.length===Es(Dn.filters).length,indeterminate:Ri.length>0&&Ri.length<Es(Dn.filters).length,className:`${mn}-filter-dropdown-checkall`,onChange:Bi},(Ro=Pr==null?void 0:Pr.filterCheckall)!==null&&Ro!==void 0?Ro:Pr==null?void 0:Pr.filterCheckAll):null,b.createElement(ms.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:cr,checkStrictly:!cr,className:`${Hn}-menu`,onCheck:lo,checkedKeys:Ri,selectedKeys:Ri,showIcon:!1,treeData:bi({filters:Dn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ko.trim()?Go=>typeof er=="function"?er(Ko,Io(Go)):Qs(Ko,Go.title):void 0})));const pa=Tl({filters:Dn.filters||[],filterSearch:er,prefixCls:Nn,filteredKeys:Ii(),filterMultiple:cr,searchValue:Ko}),qa=pa.every(Go=>Go===null);return b.createElement(b.Fragment,null,b.createElement(Ss,{filterSearch:er,value:Ko,onChange:sa,tablePrefixCls:mn,locale:Pr}),qa?Sa:b.createElement(Ps.default,{selectable:!0,multiple:cr,prefixCls:`${Hn}-menu`,className:Ji,onSelect:ci,onDeselect:ci,selectedKeys:Ri,getPopupContainer:ri,openKeys:po,onOpenChange:qo,items:pa}))},Lo=()=>qr?(0,re.Z)((fi||[]).map(ko=>String(ko)),Ri,!0):Ri.length===0;Eo=b.createElement(b.Fragment,null,_i(),b.createElement("div",{className:`${Nn}-dropdown-btns`},b.createElement(Ia.ZP,{type:"link",size:"small",disabled:Lo(),onClick:()=>da()},Pr.filterReset),b.createElement(Ia.ZP,{type:"primary",size:"small",onClick:go},Pr.filterConfirm)))}Dn.filterDropdown&&(Eo=b.createElement(Us.J,{selectable:void 0},Eo)),Eo=b.createElement(Pl,{className:`${Nn}-dropdown`},Eo);const Mo=()=>{let Ri;return typeof Dn.filterIcon=="function"?Ri=Dn.filterIcon(Si):Dn.filterIcon?Ri=Dn.filterIcon:Ri=b.createElement(Na,null),b.createElement("span",{role:"button",tabIndex:-1,className:Je()(`${Nn}-trigger`,{active:Si}),onClick:_i=>{_i.stopPropagation()}},Ri)},fa=(0,To.Z)({trigger:["click"],placement:$o==="rtl"?"bottomLeft":"bottomRight",children:Mo(),getPopupContainer:ri},Object.assign(Object.assign({},Ci),{rootClassName:Je()(Jr,Ci.rootClassName),open:ii,onOpenChange:Di,dropdownRender:()=>typeof(Ci==null?void 0:Ci.dropdownRender)=="function"?Ci.dropdownRender(Eo):Eo}));return b.createElement("div",{className:`${Nn}-column`},b.createElement("span",{className:`${mn}-column-title`},$r),b.createElement(hi.Z,Object.assign({},fa)))};const Fs=(ht,pt,kt)=>{let Ut=[];return(ht||[]).forEach((sn,mn)=>{var Nn;const Dn=Vi(mn,kt);if(sn.filters||"filterDropdown"in sn||"onFilter"in sn)if("filteredValue"in sn){let Hn=sn.filteredValue;"filterDropdown"in sn||(Hn=(Nn=Hn==null?void 0:Hn.map(String))!==null&&Nn!==void 0?Nn:Hn),Ut.push({column:sn,key:Zi(sn,Dn),filteredKeys:Hn,forceFiltered:sn.filtered})}else Ut.push({column:sn,key:Zi(sn,Dn),filteredKeys:pt&&sn.defaultFilteredValue?sn.defaultFilteredValue:void 0,forceFiltered:sn.filtered});"children"in sn&&(Ut=[].concat((0,Wn.Z)(Ut),(0,Wn.Z)(Fs(sn.children,pt,Dn))))}),Ut};function ka(ht,pt,kt,Ut,sn,mn,Nn,Dn,Hn){return kt.map((Mn,br)=>{const cr=Vi(br,Dn),{filterOnClose:lr=!0,filterMultiple:er=!0,filterMode:qn,filterSearch:Gr}=Mn;let Pr=Mn;if(Pr.filters||Pr.filterDropdown){const $r=Zi(Pr,cr),ri=Ut.find(Jr=>{let{key:qr}=Jr;return $r===qr});Pr=Object.assign(Object.assign({},Pr),{title:Jr=>b.createElement(Zl,{tablePrefixCls:ht,prefixCls:`${ht}-filter`,dropdownPrefixCls:pt,column:Pr,columnKey:$r,filterState:ri,filterOnClose:lr,filterMultiple:er,filterMode:qn,filterSearch:Gr,triggerFilter:mn,locale:sn,getPopupContainer:Nn,rootClassName:Hn},bo(Mn.title,Jr))})}return"children"in Pr&&(Pr=Object.assign(Object.assign({},Pr),{children:ka(ht,pt,Pr.children,Ut,sn,mn,Nn,cr,Hn)})),Pr})}const Oo=ht=>{const pt={};return ht.forEach(kt=>{let{key:Ut,filteredKeys:sn,column:mn}=kt;const Nn=Ut,{filters:Dn,filterDropdown:Hn}=mn;if(Hn)pt[Nn]=sn||null;else if(Array.isArray(sn)){const Mn=Es(Dn);pt[Nn]=Mn.filter(br=>sn.includes(String(br)))}else pt[Nn]=null}),pt},fo=(ht,pt,kt)=>pt.reduce((sn,mn)=>{const{column:{onFilter:Nn,filters:Dn},filteredKeys:Hn}=mn;return Nn&&Hn&&Hn.length?sn.map(Mn=>Object.assign({},Mn)).filter(Mn=>Hn.some(br=>{const cr=Es(Dn),lr=cr.findIndex(qn=>String(qn)===String(br)),er=lr!==-1?cr[lr]:br;return Mn[kt]&&(Mn[kt]=fo(Mn[kt],pt,kt)),Nn(er,Mn)})):sn},ht),ua=ht=>ht.flatMap(pt=>"children"in pt?[pt].concat((0,Wn.Z)(ua(pt.children||[]))):[pt]);var ca=ht=>{const{prefixCls:pt,dropdownPrefixCls:kt,mergedColumns:Ut,onFilterChange:sn,getPopupContainer:mn,locale:Nn,rootClassName:Dn}=ht,Hn=(0,or.ln)("Table"),Mn=b.useMemo(()=>ua(Ut||[]),[Ut]),[br,cr]=b.useState(()=>Fs(Mn,!0)),lr=b.useMemo(()=>{const Pr=Fs(Mn,!1);if(Pr.length===0)return Pr;let $r=!0,ri=!0;if(Pr.forEach(Jr=>{let{filteredKeys:qr}=Jr;qr!==void 0?$r=!1:ri=!1}),$r){const Jr=(Mn||[]).map((qr,fi)=>Zi(qr,Vi(fi)));return br.filter(qr=>{let{key:fi}=qr;return Jr.includes(fi)}).map(qr=>{const fi=Mn[Jr.findIndex(Ci=>Ci===qr.key)];return Object.assign(Object.assign({},qr),{column:Object.assign(Object.assign({},qr.column),fi),forceFiltered:fi.filtered})})}return Pr},[Mn,br]),er=b.useMemo(()=>Oo(lr),[lr]),qn=Pr=>{const $r=lr.filter(ri=>{let{key:Jr}=ri;return Jr!==Pr.key});$r.push(Pr),cr($r),sn(Oo($r),$r)};return[Pr=>ka(pt,kt,Pr,lr,Nn,qn,mn,void 0,Dn),lr,er]},gs=(ht,pt,kt)=>{const Ut=b.useRef({});function sn(mn){var Nn;if(!Ut.current||Ut.current.data!==ht||Ut.current.childrenColumnName!==pt||Ut.current.getRowKey!==kt){let Hn=function(Mn){Mn.forEach((br,cr)=>{const lr=kt(br,cr);Dn.set(lr,br),br&&typeof br=="object"&&pt in br&&Hn(br[pt]||[])})};const Dn=new Map;Hn(ht),Ut.current={data:ht,childrenColumnName:pt,kvMap:Dn,getRowKey:kt}}return(Nn=Ut.current.kvMap)===null||Nn===void 0?void 0:Nn.get(mn)}return[sn]},ys=function(ht,pt){var kt={};for(var Ut in ht)Object.prototype.hasOwnProperty.call(ht,Ut)&&pt.indexOf(Ut)<0&&(kt[Ut]=ht[Ut]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sn=0,Ut=Object.getOwnPropertySymbols(ht);sn<Ut.length;sn++)pt.indexOf(Ut[sn])<0&&Object.prototype.propertyIsEnumerable.call(ht,Ut[sn])&&(kt[Ut[sn]]=ht[Ut[sn]]);return kt};const As=10;function rs(ht,pt){const kt={current:ht.current,pageSize:ht.pageSize};return Object.keys(pt&&typeof pt=="object"?pt:{}).forEach(sn=>{const mn=ht[sn];typeof mn!="function"&&(kt[sn]=mn)}),kt}function Ma(ht,pt,kt){const Ut=kt&&typeof kt=="object"?kt:{},{total:sn=0}=Ut,mn=ys(Ut,["total"]),[Nn,Dn]=(0,b.useState)(()=>({current:"defaultCurrent"in mn?mn.defaultCurrent:1,pageSize:"defaultPageSize"in mn?mn.defaultPageSize:As})),Hn=(0,To.Z)(Nn,mn,{total:sn>0?sn:ht}),Mn=Math.ceil((sn||ht)/Hn.pageSize);Hn.current>Mn&&(Hn.current=Mn||1);const br=(lr,er)=>{Dn({current:lr!=null?lr:1,pageSize:er||Hn.pageSize})},cr=(lr,er)=>{var qn;kt&&((qn=kt.onChange)===null||qn===void 0||qn.call(kt,lr,er)),br(lr,er),pt(lr,er||(Hn==null?void 0:Hn.pageSize))};return kt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Hn),{onChange:cr}),br]}var Ja=Ma,_s=ae(89489),ou=ae(59477),au=ae(25399);const cl="ascend",Is="descend",bs=ht=>typeof ht.sorter=="object"&&typeof ht.sorter.multiple=="number"?ht.sorter.multiple:!1,Ra=ht=>typeof ht=="function"?ht:ht&&typeof ht=="object"&&ht.compare?ht.compare:!1,js=(ht,pt)=>pt?ht[ht.indexOf(pt)+1]:ht[0],Ts=(ht,pt,kt)=>{let Ut=[];const sn=(mn,Nn)=>{Ut.push({column:mn,key:Zi(mn,Nn),multiplePriority:bs(mn),sortOrder:mn.sortOrder})};return(ht||[]).forEach((mn,Nn)=>{const Dn=Vi(Nn,kt);mn.children?("sortOrder"in mn&&sn(mn,Dn),Ut=[].concat((0,Wn.Z)(Ut),(0,Wn.Z)(Ts(mn.children,pt,Dn)))):mn.sorter&&("sortOrder"in mn?sn(mn,Dn):pt&&mn.defaultSortOrder&&Ut.push({column:mn,key:Zi(mn,Dn),multiplePriority:bs(mn),sortOrder:mn.defaultSortOrder}))}),Ut},Bl=(ht,pt,kt,Ut,sn,mn,Nn,Dn)=>(pt||[]).map((Mn,br)=>{const cr=Vi(br,Dn);let lr=Mn;if(lr.sorter){const er=lr.sortDirections||sn,qn=lr.showSorterTooltip===void 0?Nn:lr.showSorterTooltip,Gr=Zi(lr,cr),Pr=kt.find(zi=>{let{key:Ni}=zi;return Ni===Gr}),$r=Pr?Pr.sortOrder:null,ri=js(er,$r);let Jr;if(Mn.sortIcon)Jr=Mn.sortIcon({sortOrder:$r});else{const zi=er.includes(cl)&&b.createElement(ou.Z,{className:Je()(`${ht}-column-sorter-up`,{active:$r===cl})}),Ni=er.includes(Is)&&b.createElement(_s.Z,{className:Je()(`${ht}-column-sorter-down`,{active:$r===Is})});Jr=b.createElement("span",{className:Je()(`${ht}-column-sorter`,{[`${ht}-column-sorter-full`]:!!(zi&&Ni)})},b.createElement("span",{className:`${ht}-column-sorter-inner`,"aria-hidden":"true"},zi,Ni))}const{cancelSort:qr,triggerAsc:fi,triggerDesc:Ci}=mn||{};let vi=qr;ri===Is?vi=Ci:ri===cl&&(vi=fi);const no=typeof qn=="object"?Object.assign({title:vi},qn):{title:vi};lr=Object.assign(Object.assign({},lr),{className:Je()(lr.className,{[`${ht}-column-sort`]:$r}),title:zi=>{const Ni=`${ht}-column-sorters`,Gi=b.createElement("span",{className:`${ht}-column-title`},bo(Mn.title,zi)),wi=b.createElement("div",{className:Ni},Gi,Jr);return qn?typeof qn!="boolean"&&(qn==null?void 0:qn.target)==="sorter-icon"?b.createElement("div",{className:`${Ni} ${ht}-column-sorters-tooltip-target-sorter`},Gi,b.createElement(au.Z,Object.assign({},no),Jr)):b.createElement(au.Z,Object.assign({},no),wi):wi},onHeaderCell:zi=>{var Ni;const Gi=((Ni=Mn.onHeaderCell)===null||Ni===void 0?void 0:Ni.call(Mn,zi))||{},wi=Gi.onClick,Si=Gi.onKeyDown;Gi.onClick=xi=>{Ut({column:Mn,key:Gr,sortOrder:ri,multiplePriority:bs(Mn)}),wi==null||wi(xi)},Gi.onKeyDown=xi=>{xi.keyCode===Dl.Z.ENTER&&(Ut({column:Mn,key:Gr,sortOrder:ri,multiplePriority:bs(Mn)}),Si==null||Si(xi))};const ui=$n(Mn.title,{}),ii=ui==null?void 0:ui.toString();return $r&&(Gi["aria-sort"]=$r==="ascend"?"ascending":"descending"),Gi["aria-label"]=ii||"",Gi.className=Je()(Gi.className,`${ht}-column-has-sorters`),Gi.tabIndex=0,Mn.ellipsis&&(Gi.title=(ui!=null?ui:"").toString()),Gi}})}return"children"in lr&&(lr=Object.assign(Object.assign({},lr),{children:Bl(ht,lr.children,kt,Ut,sn,mn,Nn,cr)})),lr}),Mu=ht=>{const{column:pt,sortOrder:kt}=ht;return{column:pt,order:kt,field:pt.dataIndex,columnKey:pt.key}},su=ht=>{const pt=ht.filter(kt=>{let{sortOrder:Ut}=kt;return Ut}).map(Mu);if(pt.length===0&&ht.length){const kt=ht.length-1;return Object.assign(Object.assign({},Mu(ht[kt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return pt.length<=1?pt[0]||{}:pt},tl=(ht,pt,kt)=>{const Ut=pt.slice().sort((Nn,Dn)=>Dn.multiplePriority-Nn.multiplePriority),sn=ht.slice(),mn=Ut.filter(Nn=>{let{column:{sorter:Dn},sortOrder:Hn}=Nn;return Ra(Dn)&&Hn});return mn.length?sn.sort((Nn,Dn)=>{for(let Hn=0;Hn<mn.length;Hn+=1){const Mn=mn[Hn],{column:{sorter:br},sortOrder:cr}=Mn,lr=Ra(br);if(lr&&cr){const er=lr(Nn,Dn,cr);if(er!==0)return cr===cl?er:-er}}return 0}).map(Nn=>{const Dn=Nn[kt];return Dn?Object.assign(Object.assign({},Nn),{[kt]:tl(Dn,pt,kt)}):Nn}):sn};var Ru=ht=>{const{prefixCls:pt,mergedColumns:kt,sortDirections:Ut,tableLocale:sn,showSorterTooltip:mn,onSorterChange:Nn}=ht,[Dn,Hn]=b.useState(Ts(kt,!0)),Mn=(Gr,Pr)=>{const $r=[];return Gr.forEach((ri,Jr)=>{const qr=Vi(Jr,Pr);if($r.push(Zi(ri,qr)),Array.isArray(ri.children)){const fi=Mn(ri.children,qr);$r.push.apply($r,(0,Wn.Z)(fi))}}),$r},br=b.useMemo(()=>{let Gr=!0;const Pr=Ts(kt,!1);if(!Pr.length){const qr=Mn(kt);return Dn.filter(fi=>{let{key:Ci}=fi;return qr.includes(Ci)})}const $r=[];function ri(qr){Gr?$r.push(qr):$r.push(Object.assign(Object.assign({},qr),{sortOrder:null}))}let Jr=null;return Pr.forEach(qr=>{Jr===null?(ri(qr),qr.sortOrder&&(qr.multiplePriority===!1?Gr=!1:Jr=!0)):(Jr&&qr.multiplePriority!==!1||(Gr=!1),ri(qr))}),$r},[kt,Dn]),cr=b.useMemo(()=>{var Gr,Pr;const $r=br.map(ri=>{let{column:Jr,sortOrder:qr}=ri;return{column:Jr,order:qr}});return{sortColumns:$r,sortColumn:(Gr=$r[0])===null||Gr===void 0?void 0:Gr.column,sortOrder:(Pr=$r[0])===null||Pr===void 0?void 0:Pr.order}},[br]),lr=Gr=>{let Pr;Gr.multiplePriority===!1||!br.length||br[0].multiplePriority===!1?Pr=[Gr]:Pr=[].concat((0,Wn.Z)(br.filter($r=>{let{key:ri}=$r;return ri!==Gr.key})),[Gr]),Hn(Pr),Nn(su(Pr),Pr)};return[Gr=>Bl(pt,Gr,br,lr,Ut,sn,mn),br,cr,()=>su(br)]};const Ll=(ht,pt)=>ht.map(Ut=>{const sn=Object.assign({},Ut);return sn.title=bo(Ut.title,pt),"children"in sn&&(sn.children=Ll(sn.children,pt)),sn});var Ul=ht=>[b.useCallback(kt=>Ll(kt,ht),[ht])],Fu=ir((ht,pt)=>{const{_renderTimes:kt}=ht,{_renderTimes:Ut}=pt;return kt!==Ut}),dl=sr((ht,pt)=>{const{_renderTimes:kt}=ht,{_renderTimes:Ut}=pt;return kt!==Ut}),Ki=ae(36237),fl=ae(17835),Os=ae(63356),Yu=ae(16931),lu=ae(51636),uu=ht=>{const{componentCls:pt,lineWidth:kt,lineType:Ut,tableBorderColor:sn,tableHeaderBg:mn,tablePaddingVertical:Nn,tablePaddingHorizontal:Dn,calc:Hn}=ht,Mn=`${(0,Ki.unit)(kt)} ${Ut} ${sn}`,br=(cr,lr,er)=>({[`&${pt}-${cr}`]:{[`> ${pt}-container`]:{[`> ${pt}-content, > ${pt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${pt}-expanded-row-fixed`]:{margin:`${(0,Ki.unit)(Hn(lr).mul(-1).equal())}
${(0,Ki.unit)(Hn(Hn(er).add(kt)).mul(-1).equal())}`}}}}}});return{[`${pt}-wrapper`]:{[`${pt}${pt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${pt}-title`]:{border:Mn,borderBottom:0},[`> ${pt}-container`]:{borderInlineStart:Mn,borderTop:Mn,[`
> ${pt}-content,
> ${pt}-header,
> ${pt}-body,
> ${pt}-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:Mn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Mn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${pt}-cell-fix-right-first::after`]:{borderInlineEnd:Mn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${pt}-expanded-row-fixed`]:{margin:`${(0,Ki.unit)(Hn(Nn).mul(-1).equal())} ${(0,Ki.unit)(Hn(Hn(Dn).add(kt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:kt,bottom:0,borderInlineEnd:Mn,content:'""'}}}}}},[`&${pt}-scroll-horizontal`]:{[`> ${pt}-container > ${pt}-body`]:{"> table > tbody":{[`
> tr${pt}-expanded-row,
> tr${pt}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},br("middle",ht.tablePaddingVerticalMiddle,ht.tablePaddingHorizontalMiddle)),br("small",ht.tablePaddingVerticalSmall,ht.tablePaddingHorizontalSmall)),{[`> ${pt}-footer`]:{border:Mn,borderTop:0}}),[`${pt}-cell`]:{[`${pt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Ki.unit)(kt)} 0 ${(0,Ki.unit)(kt)} ${mn}`}},[`${pt}-bordered ${pt}-cell-scrollbar`]:{borderInlineEnd:Mn}}}},Nl=ht=>{const{componentCls:pt}=ht;return{[`${pt}-wrapper`]:{[`${pt}-cell-ellipsis`]:Object.assign(Object.assign({},Os.vS),{wordBreak:"keep-all",[`
&${pt}-cell-fix-left-last,
&${pt}-cell-fix-right-first
`]:{overflow:"visible",[`${pt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${pt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ju=ht=>{const{componentCls:pt}=ht;return{[`${pt}-wrapper`]:{[`${pt}-tbody > tr${pt}-placeholder`]:{textAlign:"center",color:ht.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ht.colorBgContainer}}}}},Vl=ht=>{const{componentCls:pt,antCls:kt,motionDurationSlow:Ut,lineWidth:sn,paddingXS:mn,lineType:Nn,tableBorderColor:Dn,tableExpandIconBg:Hn,tableExpandColumnWidth:Mn,borderRadius:br,tablePaddingVertical:cr,tablePaddingHorizontal:lr,tableExpandedRowBg:er,paddingXXS:qn,expandIconMarginTop:Gr,expandIconSize:Pr,expandIconHalfInner:$r,expandIconScale:ri,calc:Jr}=ht,qr=`${(0,Ki.unit)(sn)} ${Nn} ${Dn}`,fi=Jr(qn).sub(sn).equal();return{[`${pt}-wrapper`]:{[`${pt}-expand-icon-col`]:{width:Mn},[`${pt}-row-expand-icon-cell`]:{textAlign:"center",[`${pt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${pt}-row-indent`]:{height:1,float:"left"},[`${pt}-row-expand-icon`]:Object.assign(Object.assign({},(0,Os.Nd)(ht)),{position:"relative",float:"left",width:Pr,height:Pr,color:"inherit",lineHeight:(0,Ki.unit)(Pr),background:Hn,border:qr,borderRadius:br,transform:`scale(${ri})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ut} ease-out`,content:'""'},"&::before":{top:$r,insetInlineEnd:fi,insetInlineStart:fi,height:sn},"&::after":{top:fi,bottom:fi,insetInlineStart:$r,width:sn,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"}}),[`${pt}-row-indent + ${pt}-row-expand-icon`]:{marginTop:Gr,marginInlineEnd:mn},[`tr${pt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:er}},[`${kt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${pt}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Ki.unit)(Jr(cr).mul(-1).equal())} ${(0,Ki.unit)(Jr(lr).mul(-1).equal())}`,padding:`${(0,Ki.unit)(cr)} ${(0,Ki.unit)(lr)}`}}}},Kl=ht=>{const{componentCls:pt,antCls:kt,iconCls:Ut,tableFilterDropdownWidth:sn,tableFilterDropdownSearchWidth:mn,paddingXXS:Nn,paddingXS:Dn,colorText:Hn,lineWidth:Mn,lineType:br,tableBorderColor:cr,headerIconColor:lr,fontSizeSM:er,tablePaddingHorizontal:qn,borderRadius:Gr,motionDurationSlow:Pr,colorTextDescription:$r,colorPrimary:ri,tableHeaderFilterActiveBg:Jr,colorTextDisabled:qr,tableFilterDropdownBg:fi,tableFilterDropdownHeight:Ci,controlItemBgHover:vi,controlItemBgActive:no,boxShadowSecondary:zi,filterDropdownMenuBg:Ni,calc:Gi}=ht,wi=`${kt}-dropdown`,Si=`${pt}-filter-dropdown`,ui=`${kt}-tree`,ii=`${(0,Ki.unit)(Mn)} ${br} ${cr}`;return[{[`${pt}-wrapper`]:{[`${pt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${pt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Gi(Nn).mul(-1).equal(),marginInline:`${(0,Ki.unit)(Nn)} ${(0,Ki.unit)(Gi(qn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Ki.unit)(Nn)}`,color:lr,fontSize:er,borderRadius:Gr,cursor:"pointer",transition:`all ${Pr}`,"&:hover":{color:$r,background:Jr},"&.active":{color:ri}}}},{[`${kt}-dropdown`]:{[Si]:Object.assign(Object.assign({},(0,Os.Wf)(ht)),{minWidth:sn,backgroundColor:fi,borderRadius:Gr,boxShadow:zi,overflow:"hidden",[`${wi}-menu`]:{maxHeight:Ci,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ni,"&:empty::after":{display:"block",padding:`${(0,Ki.unit)(Dn)} 0`,color:qr,fontSize:er,textAlign:"center",content:'"Not Found"'}},[`${Si}-tree`]:{paddingBlock:`${(0,Ki.unit)(Dn)} 0`,paddingInline:Dn,[ui]:{padding:0},[`${ui}-treenode ${ui}-node-content-wrapper:hover`]:{backgroundColor:vi},[`${ui}-treenode-checkbox-checked ${ui}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:no}}},[`${Si}-search`]:{padding:Dn,borderBottom:ii,"&-input":{input:{minWidth:mn},[Ut]:{color:qr}}},[`${Si}-checkall`]:{width:"100%",marginBottom:Nn,marginInlineStart:Nn},[`${Si}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Ki.unit)(Gi(Dn).sub(Mn).equal())} ${(0,Ki.unit)(Dn)}`,overflow:"hidden",borderTop:ii}})}},{[`${kt}-dropdown ${Si}, ${Si}-submenu`]:{[`${kt}-checkbox-wrapper + span`]:{paddingInlineStart:Dn,color:Hn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},zs=ht=>{const{componentCls:pt,lineWidth:kt,colorSplit:Ut,motionDurationSlow:sn,zIndexTableFixed:mn,tableBg:Nn,zIndexTableSticky:Dn,calc:Hn}=ht,Mn=Ut;return{[`${pt}-wrapper`]:{[`
${pt}-cell-fix-left,
${pt}-cell-fix-right
`]:{position:"sticky !important",zIndex:mn,background:Nn},[`
${pt}-cell-fix-left-first::after,
${pt}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Hn(kt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${sn}`,content:'""',pointerEvents:"none"},[`${pt}-cell-fix-left-all::after`]:{display:"none"},[`
${pt}-cell-fix-right-first::after,
${pt}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:Hn(kt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${sn}`,content:'""',pointerEvents:"none"},[`${pt}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Hn(Dn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${sn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${pt}-ping-left`]:{[`&:not(${pt}-has-fix-left) ${pt}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Mn}`},[`
${pt}-cell-fix-left-first::after,
${pt}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Mn}`},[`${pt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${pt}-ping-right`]:{[`&:not(${pt}-has-fix-right) ${pt}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Mn}`},[`
${pt}-cell-fix-right-first::after,
${pt}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Mn}`}},[`${pt}-fixed-column-gapped`]:{[`
${pt}-cell-fix-left-first::after,
${pt}-cell-fix-left-last::after,
${pt}-cell-fix-right-first::after,
${pt}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},rl=ht=>{const{componentCls:pt,antCls:kt,margin:Ut}=ht;return{[`${pt}-wrapper`]:{[`${pt}-pagination${kt}-pagination`]:{margin:`${(0,Ki.unit)(Ut)} 0`},[`${pt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ht.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},fu=ht=>{const{componentCls:pt,tableRadius:kt}=ht;return{[`${pt}-wrapper`]:{[pt]:{[`${pt}-title, ${pt}-header`]:{borderRadius:`${(0,Ki.unit)(kt)} ${(0,Ki.unit)(kt)} 0 0`},[`${pt}-title + ${pt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${pt}-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:kt,borderStartEndRadius:kt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:kt},"> *:last-child":{borderStartEndRadius:kt}}},"&-footer":{borderRadius:`0 0 ${(0,Ki.unit)(kt)} ${(0,Ki.unit)(kt)}`}}}}},pu=ht=>{const{componentCls:pt}=ht;return{[`${pt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${pt}-pagination-left`]:{justifyContent:"flex-end"},[`${pt}-pagination-right`]:{justifyContent:"flex-start"},[`${pt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${pt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${pt}-row-indent`]:{float:"right"}}}}},ol=ht=>{const{componentCls:pt,antCls:kt,iconCls:Ut,fontSizeIcon:sn,padding:mn,paddingXS:Nn,headerIconColor:Dn,headerIconHoverColor:Hn,tableSelectionColumnWidth:Mn,tableSelectedRowBg:br,tableSelectedRowHoverBg:cr,tableRowHoverBg:lr,tablePaddingHorizontal:er,calc:qn}=ht;return{[`${pt}-wrapper`]:{[`${pt}-selection-col`]:{width:Mn,[`&${pt}-selection-col-with-dropdown`]:{width:qn(Mn).add(sn).add(qn(mn).div(4)).equal()}},[`${pt}-bordered ${pt}-selection-col`]:{width:qn(Mn).add(qn(Nn).mul(2)).equal(),[`&${pt}-selection-col-with-dropdown`]:{width:qn(Mn).add(sn).add(qn(mn).div(4)).add(qn(Nn).mul(2)).equal()}},[`
table tr th${pt}-selection-column,
table tr td${pt}-selection-column,
${pt}-selection-column
`]:{paddingInlineEnd:ht.paddingXS,paddingInlineStart:ht.paddingXS,textAlign:"center",[`${kt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${pt}-selection-column${pt}-cell-fix-left`]:{zIndex:qn(ht.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${pt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${pt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${pt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ht.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Ki.unit)(qn(er).div(4).equal()),[Ut]:{color:Dn,fontSize:sn,verticalAlign:"baseline","&:hover":{color:Hn}}},[`${pt}-tbody`]:{[`${pt}-row`]:{[`&${pt}-row-selected`]:{[`> ${pt}-cell`]:{background:br,"&-row-hover":{background:cr}}},[`> ${pt}-cell-row-hover`]:{background:lr}}}}}},qu=ht=>{const{componentCls:pt,tableExpandColumnWidth:kt,calc:Ut}=ht,sn=(mn,Nn,Dn,Hn)=>({[`${pt}${pt}-${mn}`]:{fontSize:Hn,[`
${pt}-title,
${pt}-footer,
${pt}-cell,
${pt}-thead > tr > th,
${pt}-tbody > tr > th,
${pt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,Ki.unit)(Nn)} ${(0,Ki.unit)(Dn)}`},[`${pt}-filter-trigger`]:{marginInlineEnd:(0,Ki.unit)(Ut(Dn).div(2).mul(-1).equal())},[`${pt}-expanded-row-fixed`]:{margin:`${(0,Ki.unit)(Ut(Nn).mul(-1).equal())} ${(0,Ki.unit)(Ut(Dn).mul(-1).equal())}`},[`${pt}-tbody`]:{[`${pt}-wrapper:only-child ${pt}`]:{marginBlock:(0,Ki.unit)(Ut(Nn).mul(-1).equal()),marginInline:`${(0,Ki.unit)(Ut(kt).sub(Dn).equal())} ${(0,Ki.unit)(Ut(Dn).mul(-1).equal())}`}},[`${pt}-selection-extra`]:{paddingInlineStart:(0,Ki.unit)(Ut(Dn).div(4).equal())}}});return{[`${pt}-wrapper`]:Object.assign(Object.assign({},sn("middle",ht.tablePaddingVerticalMiddle,ht.tablePaddingHorizontalMiddle,ht.tableFontSizeMiddle)),sn("small",ht.tablePaddingVerticalSmall,ht.tablePaddingHorizontalSmall,ht.tableFontSizeSmall))}},zu=ht=>{const{componentCls:pt,marginXXS:kt,fontSizeIcon:Ut,headerIconColor:sn,headerIconHoverColor:mn}=ht;return{[`${pt}-wrapper`]:{[`${pt}-thead th${pt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ht.motionDurationSlow}, left 0s`,"&:hover":{background:ht.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ht.colorPrimary},[`
&${pt}-cell-fix-left:hover,
&${pt}-cell-fix-right:hover
`]:{background:ht.tableFixedHeaderSortActiveBg}},[`${pt}-thead th${pt}-column-sort`]:{background:ht.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${pt}-column-sort`]:{background:ht.tableBodySortBg},[`${pt}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${pt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${pt}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${pt}-column-sorter`]:{marginInlineStart:kt,color:sn,fontSize:0,transition:`color ${ht.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ut,"&.active":{color:ht.colorPrimary}},[`${pt}-column-sorter-up + ${pt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${pt}-column-sorters:hover ${pt}-column-sorter`]:{color:mn}}}},ec=ht=>{const{componentCls:pt,opacityLoading:kt,tableScrollThumbBg:Ut,tableScrollThumbBgHover:sn,tableScrollThumbSize:mn,tableScrollBg:Nn,zIndexTableSticky:Dn,stickyScrollBarBorderRadius:Hn,lineWidth:Mn,lineType:br,tableBorderColor:cr}=ht,lr=`${(0,Ki.unit)(Mn)} ${br} ${cr}`;return{[`${pt}-wrapper`]:{[`${pt}-sticky`]:{"&-holder":{position:"sticky",zIndex:Dn,background:ht.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Ki.unit)(mn)} !important`,zIndex:Dn,display:"flex",alignItems:"center",background:Nn,borderTop:lr,opacity:kt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:mn,backgroundColor:Ut,borderRadius:Hn,transition:`all ${ht.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:sn}}}}}}},Qa=ht=>{const{componentCls:pt,lineWidth:kt,tableBorderColor:Ut,calc:sn}=ht,mn=`${(0,Ki.unit)(kt)} ${ht.lineType} ${Ut}`;return{[`${pt}-wrapper`]:{[`${pt}-summary`]:{position:"relative",zIndex:ht.zIndexTableFixed,background:ht.tableBg,"> tr":{"> th, > td":{borderBottom:mn}}},[`div${pt}-summary`]:{boxShadow:`0 ${(0,Ki.unit)(sn(kt).mul(-1).equal())} 0 ${Ut}`}}}},Ka=ht=>{const{componentCls:pt,motionDurationMid:kt,lineWidth:Ut,lineType:sn,tableBorderColor:mn,calc:Nn}=ht,Dn=`${(0,Ki.unit)(Ut)} ${sn} ${mn}`,Hn=`${pt}-expanded-row-cell`;return{[`${pt}-wrapper`]:{[`${pt}-tbody-virtual`]:{[`${pt}-tbody-virtual-holder-inner`]:{[`
& > ${pt}-row,
& > div:not(${pt}-row) > ${pt}-row
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${pt}-cell`]:{borderBottom:Dn,transition:`background ${kt}`},[`${pt}-expanded-row`]:{[`${Hn}${Hn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Ki.unit)(Ut)})`,borderInlineEnd:"none"}}},[`${pt}-bordered`]:{[`${pt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Dn,position:"absolute"},[`${pt}-cell`]:{borderInlineEnd:Dn,[`&${pt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:Nn(Ut).mul(-1).equal(),borderInlineStart:Dn}}},[`&${pt}-virtual`]:{[`${pt}-placeholder ${pt}-cell`]:{borderInlineEnd:Dn,borderBottom:Dn}}}}}};const Da=ht=>{const{componentCls:pt,fontWeightStrong:kt,tablePaddingVertical:Ut,tablePaddingHorizontal:sn,tableExpandColumnWidth:mn,lineWidth:Nn,lineType:Dn,tableBorderColor:Hn,tableFontSize:Mn,tableBg:br,tableRadius:cr,tableHeaderTextColor:lr,motionDurationMid:er,tableHeaderBg:qn,tableHeaderCellSplitColor:Gr,tableFooterTextColor:Pr,tableFooterBg:$r,calc:ri}=ht,Jr=`${(0,Ki.unit)(Nn)} ${Dn} ${Hn}`;return{[`${pt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Os.dF)()),{[pt]:Object.assign(Object.assign({},(0,Os.Wf)(ht)),{fontSize:Mn,background:br,borderRadius:`${(0,Ki.unit)(cr)} ${(0,Ki.unit)(cr)} 0 0`,scrollbarColor:`${ht.tableScrollThumbBg} ${ht.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Ki.unit)(cr)} ${(0,Ki.unit)(cr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${pt}-cell,
${pt}-thead > tr > th,
${pt}-tbody > tr > th,
${pt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,Ki.unit)(Ut)} ${(0,Ki.unit)(sn)}`,overflowWrap:"break-word"},[`${pt}-title`]:{padding:`${(0,Ki.unit)(Ut)} ${(0,Ki.unit)(sn)}`},[`${pt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:lr,fontWeight:kt,textAlign:"start",background:qn,borderBottom:Jr,transition:`background ${er} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${pt}-selection-column):not(${pt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Gr,transform:"translateY(-50%)",transition:`background-color ${er}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${pt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${er}, border-color ${er}`,borderBottom:Jr,[`
> ${pt}-wrapper:only-child,
> ${pt}-expanded-row-fixed > ${pt}-wrapper:only-child
`]:{[pt]:{marginBlock:(0,Ki.unit)(ri(Ut).mul(-1).equal()),marginInline:`${(0,Ki.unit)(ri(mn).sub(sn).equal())}
${(0,Ki.unit)(ri(sn).mul(-1).equal())}`,[`${pt}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:lr,fontWeight:kt,textAlign:"start",background:qn,borderBottom:Jr,transition:`background ${er} ease`}}},[`${pt}-footer`]:{padding:`${(0,Ki.unit)(Ut)} ${(0,Ki.unit)(sn)}`,color:Pr,background:$r}})}},kl=ht=>{const{colorFillAlter:pt,colorBgContainer:kt,colorTextHeading:Ut,colorFillSecondary:sn,colorFillContent:mn,controlItemBgActive:Nn,controlItemBgActiveHover:Dn,padding:Hn,paddingSM:Mn,paddingXS:br,colorBorderSecondary:cr,borderRadiusLG:lr,controlHeight:er,colorTextPlaceholder:qn,fontSize:Gr,fontSizeSM:Pr,lineHeight:$r,lineWidth:ri,colorIcon:Jr,colorIconHover:qr,opacityLoading:fi,controlInteractiveSize:Ci}=ht,vi=new fl.FastColor(sn).onBackground(kt).toHexString(),no=new fl.FastColor(mn).onBackground(kt).toHexString(),zi=new fl.FastColor(pt).onBackground(kt).toHexString(),Ni=new fl.FastColor(Jr),Gi=new fl.FastColor(qr),wi=Ci/2-ri,Si=wi*2+ri*3;return{headerBg:zi,headerColor:Ut,headerSortActiveBg:vi,headerSortHoverBg:no,bodySortBg:zi,rowHoverBg:zi,rowSelectedBg:Nn,rowSelectedHoverBg:Dn,rowExpandedBg:pt,cellPaddingBlock:Hn,cellPaddingInline:Hn,cellPaddingBlockMD:Mn,cellPaddingInlineMD:br,cellPaddingBlockSM:br,cellPaddingInlineSM:br,borderColor:cr,headerBorderRadius:lr,footerBg:zi,footerColor:Ut,cellFontSize:Gr,cellFontSizeMD:Gr,cellFontSizeSM:Gr,headerSplitColor:cr,fixedHeaderSortActiveBg:vi,headerFilterHoverBg:mn,filterDropdownMenuBg:kt,filterDropdownBg:kt,expandIconBg:kt,selectionColumnWidth:er,stickyScrollBarBg:qn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Gr*$r-ri*3)/2-Math.ceil((Pr*1.4-ri*3)/2),headerIconColor:Ni.clone().setA(Ni.a*fi).toRgbString(),headerIconHoverColor:Gi.clone().setA(Gi.a*fi).toRgbString(),expandIconHalfInner:wi,expandIconSize:Si,expandIconScale:Ci/Si}},Wu=2;var Ks=(0,Yu.I$)("Table",ht=>{const{colorTextHeading:pt,colorSplit:kt,colorBgContainer:Ut,controlInteractiveSize:sn,headerBg:mn,headerColor:Nn,headerSortActiveBg:Dn,headerSortHoverBg:Hn,bodySortBg:Mn,rowHoverBg:br,rowSelectedBg:cr,rowSelectedHoverBg:lr,rowExpandedBg:er,cellPaddingBlock:qn,cellPaddingInline:Gr,cellPaddingBlockMD:Pr,cellPaddingInlineMD:$r,cellPaddingBlockSM:ri,cellPaddingInlineSM:Jr,borderColor:qr,footerBg:fi,footerColor:Ci,headerBorderRadius:vi,cellFontSize:no,cellFontSizeMD:zi,cellFontSizeSM:Ni,headerSplitColor:Gi,fixedHeaderSortActiveBg:wi,headerFilterHoverBg:Si,filterDropdownBg:ui,expandIconBg:ii,selectionColumnWidth:xi,stickyScrollBarBg:Ii,calc:Mi}=ht,ci=(0,lu.mergeToken)(ht,{tableFontSize:no,tableBg:Ut,tableRadius:vi,tablePaddingVertical:qn,tablePaddingHorizontal:Gr,tablePaddingVerticalMiddle:Pr,tablePaddingHorizontalMiddle:$r,tablePaddingVerticalSmall:ri,tablePaddingHorizontalSmall:Jr,tableBorderColor:qr,tableHeaderTextColor:Nn,tableHeaderBg:mn,tableFooterTextColor:Ci,tableFooterBg:fi,tableHeaderCellSplitColor:Gi,tableHeaderSortBg:Dn,tableHeaderSortHoverBg:Hn,tableBodySortBg:Mn,tableFixedHeaderSortActiveBg:wi,tableHeaderFilterActiveBg:Si,tableFilterDropdownBg:ui,tableRowHoverBg:br,tableSelectedRowBg:cr,tableSelectedRowHoverBg:lr,zIndexTableFixed:Wu,zIndexTableSticky:Mi(Wu).add(1).equal({unit:!1}),tableFontSizeMiddle:zi,tableFontSizeSmall:Ni,tableSelectionColumnWidth:xi,tableExpandIconBg:ii,tableExpandColumnWidth:Mi(sn).add(Mi(ht.padding).mul(2)).equal(),tableExpandedRowBg:er,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ii,tableScrollThumbBgHover:pt,tableScrollBg:kt});return[Da(ci),rl(ci),Qa(ci),zu(ci),Kl(ci),uu(ci),fu(ci),Vl(ci),Qa(ci),Ju(ci),ol(ci),zs(ci),ec(ci),Nl(ci),qu(ci),pu(ci),Ka(ci)]},kl,{unitless:{expandIconScale:!0}});const Gl=[],hu=(ht,pt)=>{var kt,Ut;const{prefixCls:sn,className:mn,rootClassName:Nn,style:Dn,size:Hn,bordered:Mn,dropdownPrefixCls:br,dataSource:cr,pagination:lr,rowSelection:er,rowKey:qn="key",rowClassName:Gr,columns:Pr,children:$r,childrenColumnName:ri,onChange:Jr,getPopupContainer:qr,loading:fi,expandIcon:Ci,expandable:vi,expandedRowRender:no,expandIconColumnIndex:zi,indentSize:Ni,scroll:Gi,sortDirections:wi,locale:Si,showSorterTooltip:ui={target:"full-header"},virtual:ii}=ht,xi=(0,or.ln)("Table"),Ii=b.useMemo(()=>Pr||Ln($r),[Pr,$r]),Mi=b.useMemo(()=>Ii.some(ao=>ao.responsive),[Ii]),ci=(0,jo.Z)(Mi),lo=b.useMemo(()=>{const ao=new Set(Object.keys(ci).filter(Ao=>ci[Ao]));return Ii.filter(Ao=>!Ao.responsive||Ao.responsive.some(oa=>ao.has(oa)))},[Ii,ci]),po=(0,qi.Z)(ht,["className","style","columns"]),{locale:Qo=Jo.Z,direction:qo,table:Ko,renderEmpty:ea,getPrefixCls:sa,getPopupContainer:mo}=b.useContext(uo.E_),go=(0,so.Z)(Hn),da=Object.assign(Object.assign({},Qo.Table),Si),ta=cr||Gl,Di=sa("table",sn),Ji=sa("dropdown",br),[,Bi]=(0,ns.ZP)(),bi=(0,co.Z)(Di),[Io,Eo,$o]=Ks(Di,bi),Uo=Object.assign(Object.assign({childrenColumnName:ri,expandIconColumnIndex:zi},vi),{expandIcon:(kt=vi==null?void 0:vi.expandIcon)!==null&&kt!==void 0?kt:(Ut=Ko==null?void 0:Ko.expandable)===null||Ut===void 0?void 0:Ut.expandIcon}),{childrenColumnName:Mo="children"}=Uo,fa=b.useMemo(()=>ta.some(ao=>ao==null?void 0:ao[Mo])?"nest":no||vi!=null&&vi.expandedRowRender?"row":null,[ta]),Ri={body:b.useRef(null)},_i=to(Di),Lo=b.useRef(null),ko=b.useRef(null);ji(pt,()=>Object.assign(Object.assign({},ko.current),{nativeElement:Lo.current}));const Ro=b.useMemo(()=>typeof qn=="function"?qn:ao=>ao==null?void 0:ao[qn],[qn]),[Sa]=gs(ta,Mo,Ro),pa={},qa=function(ao,Ao){let oa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ha,Ta,Ea,os;const Ha=Object.assign(Object.assign({},pa),ao);oa&&((ha=pa.resetPagination)===null||ha===void 0||ha.call(pa),!((Ta=Ha.pagination)===null||Ta===void 0)&&Ta.current&&(Ha.pagination.current=1),lr&&((Ea=lr.onChange)===null||Ea===void 0||Ea.call(lr,1,(os=Ha.pagination)===null||os===void 0?void 0:os.pageSize))),Gi&&Gi.scrollToFirstRowOnChange!==!1&&Ri.body.current&&(0,oo.Z)(0,{getContainer:()=>Ri.body.current}),Jr==null||Jr(Ha.pagination,Ha.filters,Ha.sorter,{currentDataSource:fo(tl(ta,Ha.sorterStates,Mo),Ha.filterStates,Mo),action:Ao})},Go=(ao,Ao)=>{qa({sorter:ao,sorterStates:Ao},"sort",!1)},[yo,_o,Xo,ba]=Ru({prefixCls:Di,mergedColumns:lo,onSorterChange:Go,sortDirections:wi||["ascend","descend"],tableLocale:da,showSorterTooltip:ui}),ia=b.useMemo(()=>tl(ta,_o,Mo),[ta,_o]);pa.sorter=ba(),pa.sorterStates=_o;const Po=(ao,Ao)=>{qa({filters:ao,filterStates:Ao},"filter",!0)},[na,No,ja]=ca({prefixCls:Di,locale:da,dropdownPrefixCls:Ji,mergedColumns:lo,onFilterChange:Po,getPopupContainer:qr||mo,rootClassName:Je()(Nn,bi)}),ma=fo(ia,No,Mo);pa.filters=ja,pa.filterStates=No;const Pa=b.useMemo(()=>{const ao={};return Object.keys(ja).forEach(Ao=>{ja[Ao]!==null&&(ao[Ao]=ja[Ao])}),Object.assign(Object.assign({},Xo),{filters:ao})},[Xo,ja]),[es]=Ul(Pa),Ls=(ao,Ao)=>{qa({pagination:Object.assign(Object.assign({},pa.pagination),{current:ao,pageSize:Ao})},"paginate")},[Vo,Ml]=Ja(ma.length,Ls,lr);pa.pagination=lr===!1?{}:rs(Vo,lr),pa.resetPagination=Ml;const Ga=b.useMemo(()=>{if(lr===!1||!Vo.pageSize)return ma;const{current:ao=1,total:Ao,pageSize:oa=As}=Vo;return ma.length<Ao?ma.length>oa?ma.slice((ao-1)*oa,ao*oa):ma:ma.slice((ao-1)*oa,ao*oa)},[!!lr,ma,Vo==null?void 0:Vo.current,Vo==null?void 0:Vo.pageSize,Vo==null?void 0:Vo.total]),[Ds,ls]=li({prefixCls:Di,data:ma,pageData:Ga,getRowKey:Ro,getRecordByKey:Sa,expandType:fa,childrenColumnName:Mo,locale:da,getPopupContainer:qr||mo},er),is=(ao,Ao,oa)=>{let ha;return typeof Gr=="function"?ha=Je()(Gr(ao,Ao,oa)):ha=Je()(Gr),Je()({[`${Di}-row-selected`]:ls.has(Ro(ao,Ao))},ha)};Uo.__PARENT_RENDER_ICON__=Uo.expandIcon,Uo.expandIcon=Uo.expandIcon||Ci||Hi(da),fa==="nest"&&Uo.expandIconColumnIndex===void 0?Uo.expandIconColumnIndex=er?1:0:Uo.expandIconColumnIndex>0&&er&&(Uo.expandIconColumnIndex-=1),typeof Uo.indentSize!="number"&&(Uo.indentSize=typeof Ni=="number"?Ni:15);const zo=b.useCallback(ao=>es(Ds(na(yo(ao)))),[yo,na,Ds]);let us,Ns;if(lr!==!1&&(Vo!=null&&Vo.total)){let ao;Vo.size?ao=Vo.size:ao=go==="small"||go==="middle"?"small":void 0;const Ao=Ta=>b.createElement(Yo.Z,Object.assign({},Vo,{className:Je()(`${Di}-pagination ${Di}-pagination-${Ta}`,Vo.className),size:ao})),oa=qo==="rtl"?"left":"right",{position:ha}=Vo;if(ha!==null&&Array.isArray(ha)){const Ta=ha.find(Ha=>Ha.includes("top")),Ea=ha.find(Ha=>Ha.includes("bottom")),os=ha.every(Ha=>`${Ha}`=="none");!Ta&&!Ea&&!os&&(Ns=Ao(oa)),Ta&&(us=Ao(Ta.toLowerCase().replace("top",""))),Ea&&(Ns=Ao(Ea.toLowerCase().replace("bottom","")))}else Ns=Ao(oa)}let ks;typeof fi=="boolean"?ks={spinning:fi}:typeof fi=="object"&&(ks=Object.assign({spinning:!0},fi));const Ms=Je()($o,bi,`${Di}-wrapper`,Ko==null?void 0:Ko.className,{[`${Di}-wrapper-rtl`]:qo==="rtl"},mn,Nn,Eo),Xl=Object.assign(Object.assign({},Ko==null?void 0:Ko.style),Dn),hl=typeof(Si==null?void 0:Si.emptyText)!="undefined"?Si.emptyText:(ea==null?void 0:ea("Table"))||b.createElement($i.Z,{componentName:"Table"}),Rl=ii?dl:Fu,Yl={},gu=b.useMemo(()=>{const{fontSize:ao,lineHeight:Ao,lineWidth:oa,padding:ha,paddingXS:Ta,paddingSM:Ea}=Bi,os=Math.floor(ao*Ao);switch(go){case"middle":return Ea*2+os+oa;case"small":return Ta*2+os+oa;default:return ha*2+os+oa}},[Bi,go]);return ii&&(Yl.listItemHeight=gu),Io(b.createElement("div",{ref:Lo,className:Ms,style:Xl},b.createElement(Zo.Z,Object.assign({spinning:!1},ks),us,b.createElement(Rl,Object.assign({},Yl,po,{ref:ko,columns:lo,direction:qo,expandable:Uo,prefixCls:Di,className:Je()({[`${Di}-middle`]:go==="middle",[`${Di}-small`]:go==="small",[`${Di}-bordered`]:Mn,[`${Di}-empty`]:ta.length===0},$o,bi,Eo),data:Ga,rowKey:Ro,rowClassName:is,emptyText:hl,internalHooks:we,internalRefs:Ri,transformColumns:zo,getContainerWidth:_i})),Ns)))};var tc=b.forwardRef(hu);const mu=(ht,pt)=>{const kt=b.useRef(0);return kt.current+=1,b.createElement(tc,Object.assign({},ht,{ref:pt,_renderTimes:kt.current}))},Bs=b.forwardRef(mu);Bs.SELECTION_COLUMN=Li,Bs.EXPAND_COLUMN=oe,Bs.SELECTION_ALL=Ai,Bs.SELECTION_INVERT=ro,Bs.SELECTION_NONE=So,Bs.Column=Br,Bs.ColumnGroup=Bn,Bs.Summary=Se;var vu=Bs,nc=vu},96599:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return Je}});var b=ae(59301),oe=ae(92310),we=ae.n(oe),Ae=ae(2738),de=ae(29509),ve=ae(78776),re=ae(22703),se=ae(12919),fe=ae(48755),E=ae(36237),te=ae(17835),ne=ae(63356),ge=ae(51636),Ce=ae(16931);const be=He=>{const{paddingXXS:lt,lineWidth:ft,tagPaddingHorizontal:tt,componentCls:Ot,calc:nt}=He,Ze=nt(tt).sub(ft).equal(),Ge=nt(lt).sub(ft).equal();return{[Ot]:Object.assign(Object.assign({},(0,ne.Wf)(He)),{display:"inline-block",height:"auto",marginInlineEnd:He.marginXS,paddingInline:Ze,fontSize:He.tagFontSize,lineHeight:He.tagLineHeight,whiteSpace:"nowrap",background:He.defaultBg,border:`${(0,E.unit)(He.lineWidth)} ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadiusSM,opacity:1,transition:`all ${He.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ot}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:He.defaultColor},[`${Ot}-close-icon`]:{marginInlineStart:Ge,fontSize:He.tagIconSize,color:He.colorTextDescription,cursor:"pointer",transition:`all ${He.motionDurationMid}`,"&:hover":{color:He.colorTextHeading}},[`&${Ot}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${He.iconCls}-close, ${He.iconCls}-close:hover`]:{color:He.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ot}-checkable-checked):hover`]:{color:He.colorPrimary,backgroundColor:He.colorFillSecondary},"&:active, &-checked":{color:He.colorTextLightSolid},"&-checked":{backgroundColor:He.colorPrimary,"&:hover":{backgroundColor:He.colorPrimaryHover}},"&:active":{backgroundColor:He.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${He.iconCls} + span, > span + ${He.iconCls}`]:{marginInlineStart:Ze}}),[`${Ot}-borderless`]:{borderColor:"transparent",background:He.tagBorderlessBg}}},le=He=>{const{lineWidth:lt,fontSizeIcon:ft,calc:tt}=He,Ot=He.fontSizeSM;return(0,ge.mergeToken)(He,{tagFontSize:Ot,tagLineHeight:(0,E.unit)(tt(He.lineHeightSM).mul(Ot).equal()),tagIconSize:tt(ft).sub(tt(lt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:He.defaultBg})},Ee=He=>({defaultBg:new te.FastColor(He.colorFillQuaternary).onBackground(He.colorBgContainer).toHexString(),defaultColor:He.colorText});var Pe=(0,Ce.I$)("Tag",He=>{const lt=le(He);return be(lt)},Ee),Ie=function(He,lt){var ft={};for(var tt in He)Object.prototype.hasOwnProperty.call(He,tt)&&lt.indexOf(tt)<0&&(ft[tt]=He[tt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,tt=Object.getOwnPropertySymbols(He);Ot<tt.length;Ot++)lt.indexOf(tt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(He,tt[Ot])&&(ft[tt[Ot]]=He[tt[Ot]]);return ft},Me=b.forwardRef((He,lt)=>{const{prefixCls:ft,style:tt,className:Ot,checked:nt,onChange:Ze,onClick:Ge}=He,$e=Ie(He,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:qe,tag:Ve}=b.useContext(fe.E_),mt=wt=>{Ze==null||Ze(!nt),Ge==null||Ge(wt)},st=qe("tag",ft),[Lt,ct,Tt]=Pe(st),xt=we()(st,`${st}-checkable`,{[`${st}-checkable-checked`]:nt},Ve==null?void 0:Ve.className,Ot,ct,Tt);return Lt(b.createElement("span",Object.assign({},$e,{ref:lt,style:Object.assign(Object.assign({},tt),Ve==null?void 0:Ve.style),className:xt,onClick:mt})))}),ye=ae(93427);const Te=He=>(0,ye.Z)(He,(lt,ft)=>{let{textColor:tt,lightBorderColor:Ot,lightColor:nt,darkColor:Ze}=ft;return{[`${He.componentCls}${He.componentCls}-${lt}`]:{color:tt,background:nt,borderColor:Ot,"&-inverse":{color:He.colorTextLightSolid,background:Ze,borderColor:Ze},[`&${He.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Fe=(0,Ce.bk)(["Tag","preset"],He=>{const lt=le(He);return Te(lt)},Ee);function _e(He){return typeof He!="string"?He:He.charAt(0).toUpperCase()+He.slice(1)}const Oe=(He,lt,ft)=>{const tt=_e(ft);return{[`${He.componentCls}${He.componentCls}-${lt}`]:{color:He[`color${ft}`],background:He[`color${tt}Bg`],borderColor:He[`color${tt}Border`],[`&${He.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ke=(0,Ce.bk)(["Tag","status"],He=>{const lt=le(He);return[Oe(lt,"success","Success"),Oe(lt,"processing","Info"),Oe(lt,"error","Error"),Oe(lt,"warning","Warning")]},Ee),We=function(He,lt){var ft={};for(var tt in He)Object.prototype.hasOwnProperty.call(He,tt)&&lt.indexOf(tt)<0&&(ft[tt]=He[tt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,tt=Object.getOwnPropertySymbols(He);Ot<tt.length;Ot++)lt.indexOf(tt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(He,tt[Ot])&&(ft[tt[Ot]]=He[tt[Ot]]);return ft};const Ye=b.forwardRef((He,lt)=>{const{prefixCls:ft,className:tt,rootClassName:Ot,style:nt,children:Ze,icon:Ge,color:$e,onClose:qe,bordered:Ve=!0,visible:mt}=He,st=We(He,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Lt,direction:ct,tag:Tt}=b.useContext(fe.E_),[xt,wt]=b.useState(!0),yt=(0,Ae.Z)(st,["closeIcon","closable"]);b.useEffect(()=>{mt!==void 0&&wt(mt)},[mt]);const je=(0,de.o2)($e),ue=(0,de.yT)($e),ie=je||ue,ke=Object.assign(Object.assign({backgroundColor:$e&&!ie?$e:void 0},Tt==null?void 0:Tt.style),nt),Xe=Lt("tag",ft),[De,pe,x]=Pe(Xe),me=we()(Xe,Tt==null?void 0:Tt.className,{[`${Xe}-${$e}`]:ie,[`${Xe}-has-color`]:$e&&!ie,[`${Xe}-hidden`]:!xt,[`${Xe}-rtl`]:ct==="rtl",[`${Xe}-borderless`]:!Ve},tt,Ot,pe,x),Le=at=>{at.stopPropagation(),qe==null||qe(at),!at.defaultPrevented&&wt(!1)},[,Se]=(0,ve.Z)((0,ve.w)(He),(0,ve.w)(Tt),{closable:!1,closeIconRender:at=>{const Mt=b.createElement("span",{className:`${Xe}-close-icon`,onClick:Le},at);return(0,re.wm)(at,Mt,Rt=>({onClick:tn=>{var qt;(qt=Rt==null?void 0:Rt.onClick)===null||qt===void 0||qt.call(Rt,tn),Le(tn)},className:we()(Rt==null?void 0:Rt.className,`${Xe}-close-icon`)}))}}),Be=typeof st.onClick=="function"||Ze&&Ze.type==="a",Qe=Ge||null,it=Qe?b.createElement(b.Fragment,null,Qe,Ze&&b.createElement("span",null,Ze)):Ze,ot=b.createElement("span",Object.assign({},yt,{ref:lt,className:me,style:ke}),it,Se,je&&b.createElement(Fe,{key:"preset",prefixCls:Xe}),ue&&b.createElement(Ke,{key:"status",prefixCls:Xe}));return De(Be?b.createElement(se.Z,{component:"Tag"},ot):ot)});Ye.CheckableTag=Me;var Je=Ye},18287:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return qe}});var b=ae(87632),oe=ae(77654),we=ae(59301),Ae=ae(52671),de=ae(8657),ve=ae(60499),re={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"},se=re,fe=ae(7657),E=function(mt,st){return we.createElement(fe.Z,(0,ve.Z)({},mt,{ref:st,icon:se}))},te=we.forwardRef(E),ne=te,ge=ae(92310),Ce=ae.n(ge),be=ae(82661),le=ae(34061),Ee=ae(48755),Pe=ae(56082),Ie=ae(86641),Re=ae(57700),Me=ae(12425);const ye=4;function Te(Ve){const{dropPosition:mt,dropLevelOffset:st,prefixCls:Lt,indent:ct,direction:Tt="ltr"}=Ve,xt=Tt==="ltr"?"left":"right",wt=Tt==="ltr"?"right":"left",yt={[xt]:-st*ct+ye,[wt]:0};switch(mt){case-1:yt.top=-3;break;case 1:yt.bottom=-3;break;default:yt.bottom=-3,yt[xt]=ct+ye;break}return we.createElement("div",{style:yt,className:`${Lt}-drop-indicator`})}var Fe=Te,_e=ae(85278),Ke=we.forwardRef((Ve,mt)=>{var st;const{getPrefixCls:Lt,direction:ct,virtual:Tt,tree:xt}=we.useContext(Ee.E_),{prefixCls:wt,className:yt,showIcon:je=!1,showLine:ue,switcherIcon:ie,switcherLoadingIcon:ke,blockNode:Xe=!1,children:De,checkable:pe=!1,selectable:x=!0,draggable:me,motion:Le,style:Se}=Ve,Be=Lt("tree",wt),Qe=Lt(),it=Le!=null?Le:Object.assign(Object.assign({},(0,Ie.Z)(Qe)),{motionAppear:!1}),ot=Object.assign(Object.assign({},Ve),{checkable:pe,selectable:x,showIcon:je,motion:it,blockNode:Xe,showLine:!!ue,dropIndicatorRender:Fe}),[at,Mt,Rt]=(0,Me.ZP)(Be),[,tn]=(0,Re.ZP)(),qt=tn.paddingXS/2+(((st=tn.Tree)===null||st===void 0?void 0:st.titleHeight)||tn.controlHeightSM),Bt=we.useMemo(()=>{if(!me)return!1;let $t={};switch(typeof me){case"function":$t.nodeDraggable=me;break;case"object":$t=Object.assign({},me);break;default:break}return $t.icon!==!1&&($t.icon=$t.icon||we.createElement(Pe.Z,null)),$t},[me]),hn=$t=>we.createElement(_e.Z,{prefixCls:Be,switcherIcon:ie,switcherLoadingIcon:ke,treeNodeProps:$t,showLine:ue});return at(we.createElement(b.ZP,Object.assign({itemHeight:qt,ref:mt,virtual:Tt},ot,{style:Object.assign(Object.assign({},xt==null?void 0:xt.style),Se),prefixCls:Be,className:Ce()({[`${Be}-icon-hide`]:!je,[`${Be}-block-node`]:Xe,[`${Be}-unselectable`]:!x,[`${Be}-rtl`]:ct==="rtl"},xt==null?void 0:xt.className,yt,Mt,Rt),direction:ct,checkable:pe&&we.createElement("span",{className:`${Be}-checkbox-inner`}),selectable:x,switcherIcon:hn,draggable:Bt}),De))});const We=0,Ne=1,Ye=2;function Je(Ve,mt,st){const{key:Lt,children:ct}=st;function Tt(xt){const wt=xt[Lt],yt=xt[ct];mt(wt,xt)!==!1&&Je(yt||[],mt,st)}Ve.forEach(Tt)}function He(Ve){let{treeData:mt,expandedKeys:st,startKey:Lt,endKey:ct,fieldNames:Tt}=Ve;const xt=[];let wt=We;if(Lt&&Lt===ct)return[Lt];if(!Lt||!ct)return[];function yt(je){return je===Lt||je===ct}return Je(mt,je=>{if(wt===Ye)return!1;if(yt(je)){if(xt.push(je),wt===We)wt=Ne;else if(wt===Ne)return wt=Ye,!1}else wt===Ne&&xt.push(je);return st.includes(je)},(0,le.w$)(Tt)),xt}function lt(Ve,mt,st){const Lt=(0,oe.Z)(mt),ct=[];return Je(Ve,(Tt,xt)=>{const wt=Lt.indexOf(Tt);return wt!==-1&&(ct.push(xt),Lt.splice(wt,1)),!!Lt.length},(0,le.w$)(st)),ct}var ft=function(Ve,mt){var st={};for(var Lt in Ve)Object.prototype.hasOwnProperty.call(Ve,Lt)&&mt.indexOf(Lt)<0&&(st[Lt]=Ve[Lt]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Lt=Object.getOwnPropertySymbols(Ve);ct<Lt.length;ct++)mt.indexOf(Lt[ct])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Lt[ct])&&(st[Lt[ct]]=Ve[Lt[ct]]);return st};function tt(Ve){const{isLeaf:mt,expanded:st}=Ve;return mt?we.createElement(Ae.Z,null):st?we.createElement(de.Z,null):we.createElement(ne,null)}function Ot(Ve){let{treeData:mt,children:st}=Ve;return mt||(0,le.zn)(st)}const nt=(Ve,mt)=>{var{defaultExpandAll:st,defaultExpandParent:Lt,defaultExpandedKeys:ct}=Ve,Tt=ft(Ve,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const xt=we.useRef(null),wt=we.useRef(null),yt=()=>{const{keyEntities:at}=(0,le.I8)(Ot(Tt));let Mt;return st?Mt=Object.keys(at):Lt?Mt=(0,be.r7)(Tt.expandedKeys||ct||[],at):Mt=Tt.expandedKeys||ct||[],Mt},[je,ue]=we.useState(Tt.selectedKeys||Tt.defaultSelectedKeys||[]),[ie,ke]=we.useState(()=>yt());we.useEffect(()=>{"selectedKeys"in Tt&&ue(Tt.selectedKeys)},[Tt.selectedKeys]),we.useEffect(()=>{"expandedKeys"in Tt&&ke(Tt.expandedKeys)},[Tt.expandedKeys]);const Xe=(at,Mt)=>{var Rt;return"expandedKeys"in Tt||ke(at),(Rt=Tt.onExpand)===null||Rt===void 0?void 0:Rt.call(Tt,at,Mt)},De=(at,Mt)=>{var Rt;const{multiple:tn,fieldNames:qt}=Tt,{node:Bt,nativeEvent:hn}=Mt,{key:$t=""}=Bt,Ct=Ot(Tt),jt=Object.assign(Object.assign({},Mt),{selected:!0}),ln=(hn==null?void 0:hn.ctrlKey)||(hn==null?void 0:hn.metaKey),yn=hn==null?void 0:hn.shiftKey;let Et;tn&&ln?(Et=at,xt.current=$t,wt.current=Et,jt.selectedNodes=lt(Ct,Et,qt)):tn&&yn?(Et=Array.from(new Set([].concat((0,oe.Z)(wt.current||[]),(0,oe.Z)(He({treeData:Ct,expandedKeys:ie,startKey:$t,endKey:xt.current,fieldNames:qt}))))),jt.selectedNodes=lt(Ct,Et,qt)):(Et=[$t],xt.current=$t,wt.current=Et,jt.selectedNodes=lt(Ct,Et,qt)),(Rt=Tt.onSelect)===null||Rt===void 0||Rt.call(Tt,Et,jt),"selectedKeys"in Tt||ue(Et)},{getPrefixCls:pe,direction:x}=we.useContext(Ee.E_),{prefixCls:me,className:Le,showIcon:Se=!0,expandAction:Be="click"}=Tt,Qe=ft(Tt,["prefixCls","className","showIcon","expandAction"]),it=pe("tree",me),ot=Ce()(`${it}-directory`,{[`${it}-directory-rtl`]:x==="rtl"},Le);return we.createElement(Ke,Object.assign({icon:tt,ref:mt,blockNode:!0},Qe,{showIcon:Se,expandAction:Be,prefixCls:it,className:ot,expandedKeys:ie,selectedKeys:je,onSelect:De,onExpand:Xe}))};var Ge=we.forwardRef(nt);const $e=Ke;$e.DirectoryTree=Ge,$e.TreeNode=b.OF;var qe=$e},12425:function(_n,pn,ae){"use strict";ae.d(pn,{ZP:function(){return be},Yk:function(){return ne},TM:function(){return ge}});var b=ae(36237),oe=ae(36170),we=ae(63356),Ae=ae(34961),de=ae(51636),ve=ae(16931);const re=le=>{let{treeCls:Ee,treeNodeCls:Pe,directoryNodeSelectedBg:Ie,directoryNodeSelectedColor:Re,motionDurationMid:Me,borderRadius:ye,controlItemBgHover:Te}=le;return{[`${Ee}${Ee}-directory ${Pe}`]:{[`${Ee}-node-content-wrapper`]:{position:"static",[`> *:not(${Ee}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${Me}`,content:'""',borderRadius:ye},"&:hover:before":{background:Te}},[`${Ee}-switcher, ${Ee}-checkbox, ${Ee}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Ee}-switcher, ${Ee}-draggable-icon`]:{color:Re},[`${Ee}-node-content-wrapper`]:{color:Re,background:"transparent","&:before, &:hover:before":{background:Ie}}}}}},se=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),fe=(le,Ee)=>({[`.${le}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Ee.motionDurationSlow}`}}}),E=(le,Ee)=>({[`.${le}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Ee.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(Ee.lineWidthBold)} solid ${Ee.colorPrimary}`,borderRadius:"50%",content:'""'}}}),te=(le,Ee)=>{const{treeCls:Pe,treeNodeCls:Ie,treeNodePadding:Re,titleHeight:Me,indentSize:ye,nodeSelectedBg:Te,nodeHoverBg:Fe,colorTextQuaternary:_e,controlItemBgActiveDisabled:Oe}=Ee;return{[Pe]:Object.assign(Object.assign({},(0,we.Wf)(Ee)),{background:Ee.colorBgContainer,borderRadius:Ee.borderRadius,transition:`background-color ${Ee.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Pe}-rtl ${Pe}-switcher_close ${Pe}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Pe}-active-focused)`]:Object.assign({},(0,we.oN)(Ee)),[`${Pe}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Pe}-block-node`]:{[`${Pe}-list-holder-inner`]:{alignItems:"stretch",[`${Pe}-node-content-wrapper`]:{flex:"auto"},[`${Ie}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Ee.colorPrimary}`,opacity:0,animationName:se,animationDuration:Ee.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Ee.borderRadius}}},[Ie]:{display:"flex",alignItems:"flex-start",marginBottom:Re,lineHeight:(0,b.unit)(Me),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Re},[`&-disabled ${Pe}-node-content-wrapper`]:{color:Ee.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Pe}-checkbox-disabled + ${Pe}-node-selected,&${Ie}-disabled${Ie}-selected ${Pe}-node-content-wrapper`]:{backgroundColor:Oe},[`${Pe}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ie}-disabled)`]:{[`${Pe}-node-content-wrapper`]:{"&:hover":{color:Ee.nodeHoverColor}}},[`&-active ${Pe}-node-content-wrapper`]:{background:Ee.controlItemBgHover},[`&:not(${Ie}-disabled).filter-node ${Pe}-title`]:{color:Ee.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Pe}-draggable-icon`]:{flexShrink:0,width:Me,textAlign:"center",visibility:"visible",color:_e},[`&${Ie}-disabled ${Pe}-draggable-icon`]:{visibility:"hidden"}}},[`${Pe}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:ye}},[`${Pe}-draggable-icon`]:{visibility:"hidden"},[`${Pe}-switcher, ${Pe}-checkbox`]:{marginInlineEnd:Ee.calc(Ee.calc(Me).sub(Ee.controlInteractiveSize)).div(2).equal()},[`${Pe}-switcher`]:Object.assign(Object.assign({},fe(le,Ee)),{position:"relative",flex:"none",alignSelf:"stretch",width:Me,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Ee.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:Me,height:Me,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Ee.borderRadius,transition:`all ${Ee.motionDurationSlow}`},[`&:not(${Pe}-switcher-noop):hover:before`]:{backgroundColor:Ee.colorBgTextHover},[`&_close ${Pe}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Ee.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ee.calc(Me).div(2).equal(),bottom:Ee.calc(Re).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Ee.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ee.calc(Ee.calc(Me).div(2).equal()).mul(.8).equal(),height:Ee.calc(Me).div(2).equal(),borderBottom:`1px solid ${Ee.colorBorder}`,content:'""'}}}),[`${Pe}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:Me,paddingBlock:0,paddingInline:Ee.paddingXS,background:"transparent",borderRadius:Ee.borderRadius,cursor:"pointer",transition:`all ${Ee.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},E(le,Ee)),{"&:hover":{backgroundColor:Fe},[`&${Pe}-node-selected`]:{color:Ee.nodeSelectedColor,backgroundColor:Te},[`${Pe}-iconEle`]:{display:"inline-block",width:Me,height:Me,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Pe}-unselectable ${Pe}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ie}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Ee.colorPrimary}`},"&-show-line":{[`${Pe}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ee.calc(Me).div(2).equal(),bottom:Ee.calc(Re).mul(-1).equal(),borderInlineEnd:`1px solid ${Ee.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Pe}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ie}-leaf-last ${Pe}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(Ee.calc(Me).div(2).equal())} !important`}})}},ne=function(le,Ee){let Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ie=`.${le}`,Re=`${Ie}-treenode`,Me=Ee.calc(Ee.paddingXS).div(2).equal(),ye=(0,de.mergeToken)(Ee,{treeCls:Ie,treeNodeCls:Re,treeNodePadding:Me});return[te(le,ye),Pe&&re(ye)].filter(Boolean)},ge=le=>{const{controlHeightSM:Ee,controlItemBgHover:Pe,controlItemBgActive:Ie}=le,Re=Ee;return{titleHeight:Re,indentSize:Re,nodeHoverBg:Pe,nodeHoverColor:le.colorText,nodeSelectedBg:Ie,nodeSelectedColor:le.colorText}},Ce=le=>{const{colorTextLightSolid:Ee,colorPrimary:Pe}=le;return Object.assign(Object.assign({},ge(le)),{directoryNodeSelectedColor:Ee,directoryNodeSelectedBg:Pe})};var be=(0,ve.I$)("Tree",(le,Ee)=>{let{prefixCls:Pe}=Ee;return[{[le.componentCls]:(0,oe.C2)(`${Pe}-checkbox`,le)},ne(Pe,le),(0,Ae.Z)(le)]},Ce)},85278:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Ee}});var b=ae(59301),oe=ae(60499),we={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"},Ae=we,de=ae(7657),ve=function(Ie,Re){return b.createElement(de.Z,(0,oe.Z)({},Ie,{ref:Re,icon:Ae}))},re=b.forwardRef(ve),se=re,fe=ae(52671),E=ae(58617),te=ae(15075),ne=ae(43531),ge=ae(92310),Ce=ae.n(ge),be=ae(22703),Ee=Pe=>{const{prefixCls:Ie,switcherIcon:Re,treeNodeProps:Me,showLine:ye,switcherLoadingIcon:Te}=Pe,{isLeaf:Fe,expanded:_e,loading:Oe}=Me;if(Oe)return b.isValidElement(Te)?Te:b.createElement(E.Z,{className:`${Ie}-switcher-loading-icon`});let Ke;if(ye&&typeof ye=="object"&&(Ke=ye.showLeafIcon),Fe){if(!ye)return null;if(typeof Ke!="boolean"&&Ke){const Ye=typeof Ke=="function"?Ke(Me):Ke,Je=`${Ie}-switcher-line-custom-icon`;return b.isValidElement(Ye)?(0,be.Tm)(Ye,{className:Ce()(Ye.props.className||"",Je)}):Ye}return Ke?b.createElement(fe.Z,{className:`${Ie}-switcher-line-icon`}):b.createElement("span",{className:`${Ie}-switcher-leaf-line`})}const We=`${Ie}-switcher-icon`,Ne=typeof Re=="function"?Re(Me):Re;return b.isValidElement(Ne)?(0,be.Tm)(Ne,{className:Ce()(Ne.props.className||"",We)}):Ne!==void 0?Ne:ye?_e?b.createElement(te.Z,{className:`${Ie}-switcher-line-icon`}):b.createElement(ne.Z,{className:`${Ie}-switcher-line-icon`}):b.createElement(se,{className:We})}},94968:function(_n,pn,ae){"use strict";ae.d(pn,{default:function(){return Kt}});var b=ae(59301),oe=ae(77654),we=ae(4676),Ae=ae(92310),de=ae.n(Ae),ve=ae(60499),re=ae(38705),se=ae(17212),fe=ae(15793),E=ae(39153),te=ae(55401),ne=ae(18642),ge=ae(85899),Ce=ae(42244),be=ae(43749),le=ae(73001),Ee=ae(11576),Pe=ae(26112),Ie=ae(48736),Re=function(ut,Qt){if(ut&&Qt){var on=Array.isArray(Qt)?Qt:Qt.split(","),an=ut.name||"",Xt=ut.type||"",Yt=Xt.replace(/\/.*$/,"");return on.some(function(Gt){var dn=Gt.trim();if(/^\*(\/\*)?$/.test(Gt))return!0;if(dn.charAt(0)==="."){var ur=an.toLowerCase(),Zt=dn.toLowerCase(),nn=[Zt];return(Zt===".jpg"||Zt===".jpeg")&&(nn=[".jpg",".jpeg"]),nn.some(function(Cn){return ur.endsWith(Cn)})}return/\/\*$/.test(dn)?Yt===dn.replace(/\/.*$/,""):Xt===dn?!0:/^\w+$/.test(dn)?((0,Ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(dn,"'.Skip for check.")),!0):!1})}return!0};function Me(ut,Qt){var on="cannot ".concat(ut.method," ").concat(ut.action," ").concat(Qt.status,"'"),an=new Error(on);return an.status=Qt.status,an.method=ut.method,an.url=ut.action,an}function ye(ut){var Qt=ut.responseText||ut.response;if(!Qt)return Qt;try{return JSON.parse(Qt)}catch(on){return Qt}}function Te(ut){var Qt=new XMLHttpRequest;ut.onProgress&&Qt.upload&&(Qt.upload.onprogress=function(Yt){Yt.total>0&&(Yt.percent=Yt.loaded/Yt.total*100),ut.onProgress(Yt)});var on=new FormData;ut.data&&Object.keys(ut.data).forEach(function(Xt){var Yt=ut.data[Xt];if(Array.isArray(Yt)){Yt.forEach(function(Gt){on.append("".concat(Xt,"[]"),Gt)});return}on.append(Xt,Yt)}),ut.file instanceof Blob?on.append(ut.filename,ut.file,ut.file.name):on.append(ut.filename,ut.file),Qt.onerror=function(Yt){ut.onError(Yt)},Qt.onload=function(){return Qt.status<200||Qt.status>=300?ut.onError(Me(ut,Qt),ye(Qt)):ut.onSuccess(ye(Qt),Qt)},Qt.open(ut.method,ut.action,!0),ut.withCredentials&&"withCredentials"in Qt&&(Qt.withCredentials=!0);var an=ut.headers||{};return an["X-Requested-With"]!==null&&Qt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(an).forEach(function(Xt){an[Xt]!==null&&Qt.setRequestHeader(Xt,an[Xt])}),Qt.send(on),{abort:function(){Qt.abort()}}}var Fe=function(){var ut=(0,Ee.Z)((0,le.Z)().mark(function Qt(on,an){var Xt,Yt,Gt,dn,ur,Zt,nn,Cn;return(0,le.Z)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:Zt=function(){return Zt=(0,Ee.Z)((0,le.Z)().mark(function wn(vn){return(0,le.Z)().wrap(function(Rn){for(;;)switch(Rn.prev=Rn.next){case 0:return Rn.abrupt("return",new Promise(function(Zn){vn.file(function(zn){an(zn)?(vn.fullPath&&!zn.webkitRelativePath&&(Object.defineProperties(zn,{webkitRelativePath:{writable:!0}}),zn.webkitRelativePath=vn.fullPath.replace(/^\//,""),Object.defineProperties(zn,{webkitRelativePath:{writable:!1}})),Zn(zn)):Zn(null)})}));case 1:case"end":return Rn.stop()}},wn)})),Zt.apply(this,arguments)},ur=function(wn){return Zt.apply(this,arguments)},dn=function(){return dn=(0,Ee.Z)((0,le.Z)().mark(function wn(vn){var An,Rn,Zn,zn,Un;return(0,le.Z)().wrap(function(Fn){for(;;)switch(Fn.prev=Fn.next){case 0:An=vn.createReader(),Rn=[];case 2:return Fn.next=5,new Promise(function(ir){An.readEntries(ir,function(){return ir([])})});case 5:if(Zn=Fn.sent,zn=Zn.length,zn){Fn.next=9;break}return Fn.abrupt("break",12);case 9:for(Un=0;Un<zn;Un++)Rn.push(Zn[Un]);Fn.next=2;break;case 12:return Fn.abrupt("return",Rn);case 13:case"end":return Fn.stop()}},wn)})),dn.apply(this,arguments)},Gt=function(wn){return dn.apply(this,arguments)},Xt=[],Yt=[],on.forEach(function(fn){return Yt.push(fn.webkitGetAsEntry())}),nn=function(){var fn=(0,Ee.Z)((0,le.Z)().mark(function wn(vn,An){var Rn,Zn;return(0,le.Z)().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:if(vn){Un.next=2;break}return Un.abrupt("return");case 2:if(vn.path=An||"",!vn.isFile){Un.next=10;break}return Un.next=6,ur(vn);case 6:Rn=Un.sent,Rn&&Xt.push(Rn),Un.next=15;break;case 10:if(!vn.isDirectory){Un.next=15;break}return Un.next=13,Gt(vn);case 13:Zn=Un.sent,Yt.push.apply(Yt,(0,oe.Z)(Zn));case 15:case"end":return Un.stop()}},wn)}));return function(vn,An){return fn.apply(this,arguments)}}(),Cn=0;case 9:if(!(Cn<Yt.length)){Ft.next=15;break}return Ft.next=12,nn(Yt[Cn]);case 12:Cn++,Ft.next=9;break;case 15:return Ft.abrupt("return",Xt);case 16:case"end":return Ft.stop()}},Qt)}));return function(on,an){return ut.apply(this,arguments)}}(),_e=Fe,Oe=+new Date,Ke=0;function We(){return"rc-upload-".concat(Oe,"-").concat(++Ke)}var Ne=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],Ye=function(ut){(0,E.Z)(on,ut);var Qt=(0,te.Z)(on);function on(){var an;(0,re.Z)(this,on);for(var Xt=arguments.length,Yt=new Array(Xt),Gt=0;Gt<Xt;Gt++)Yt[Gt]=arguments[Gt];return an=Qt.call.apply(Qt,[this].concat(Yt)),(0,ne.Z)((0,fe.Z)(an),"state",{uid:We()}),(0,ne.Z)((0,fe.Z)(an),"reqs",{}),(0,ne.Z)((0,fe.Z)(an),"fileInput",void 0),(0,ne.Z)((0,fe.Z)(an),"_isMounted",void 0),(0,ne.Z)((0,fe.Z)(an),"onChange",function(dn){var ur=an.props,Zt=ur.accept,nn=ur.directory,Cn=dn.target.files,Ht=(0,oe.Z)(Cn).filter(function(Ft){return!nn||Re(Ft,Zt)});an.uploadFiles(Ht),an.reset()}),(0,ne.Z)((0,fe.Z)(an),"onClick",function(dn){var ur=an.fileInput;if(ur){var Zt=dn.target,nn=an.props.onClick;if(Zt&&Zt.tagName==="BUTTON"){var Cn=ur.parentNode;Cn.focus(),Zt.blur()}ur.click(),nn&&nn(dn)}}),(0,ne.Z)((0,fe.Z)(an),"onKeyDown",function(dn){dn.key==="Enter"&&an.onClick(dn)}),(0,ne.Z)((0,fe.Z)(an),"onFileDrop",function(){var dn=(0,Ee.Z)((0,le.Z)().mark(function ur(Zt){var nn,Cn,Ht;return(0,le.Z)().wrap(function(fn){for(;;)switch(fn.prev=fn.next){case 0:if(nn=an.props.multiple,Zt.preventDefault(),Zt.type!=="dragover"){fn.next=4;break}return fn.abrupt("return");case 4:if(!an.props.directory){fn.next=11;break}return fn.next=7,_e(Array.prototype.slice.call(Zt.dataTransfer.items),function(wn){return Re(wn,an.props.accept)});case 7:Cn=fn.sent,an.uploadFiles(Cn),fn.next=14;break;case 11:Ht=(0,oe.Z)(Zt.dataTransfer.files).filter(function(wn){return Re(wn,an.props.accept)}),nn===!1&&(Ht=Ht.slice(0,1)),an.uploadFiles(Ht);case 14:case"end":return fn.stop()}},ur)}));return function(ur){return dn.apply(this,arguments)}}()),(0,ne.Z)((0,fe.Z)(an),"uploadFiles",function(dn){var ur=(0,oe.Z)(dn),Zt=ur.map(function(nn){return nn.uid=We(),an.processFile(nn,ur)});Promise.all(Zt).then(function(nn){var Cn=an.props.onBatchStart;Cn==null||Cn(nn.map(function(Ht){var Ft=Ht.origin,fn=Ht.parsedFile;return{file:Ft,parsedFile:fn}})),nn.filter(function(Ht){return Ht.parsedFile!==null}).forEach(function(Ht){an.post(Ht)})})}),(0,ne.Z)((0,fe.Z)(an),"processFile",function(){var dn=(0,Ee.Z)((0,le.Z)().mark(function ur(Zt,nn){var Cn,Ht,Ft,fn,wn,vn,An,Rn,Zn;return(0,le.Z)().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:if(Cn=an.props.beforeUpload,Ht=Zt,!Cn){Un.next=14;break}return Un.prev=3,Un.next=6,Cn(Zt,nn);case 6:Ht=Un.sent,Un.next=12;break;case 9:Un.prev=9,Un.t0=Un.catch(3),Ht=!1;case 12:if(Ht!==!1){Un.next=14;break}return Un.abrupt("return",{origin:Zt,parsedFile:null,action:null,data:null});case 14:if(Ft=an.props.action,typeof Ft!="function"){Un.next=21;break}return Un.next=18,Ft(Zt);case 18:fn=Un.sent,Un.next=22;break;case 21:fn=Ft;case 22:if(wn=an.props.data,typeof wn!="function"){Un.next=29;break}return Un.next=26,wn(Zt);case 26:vn=Un.sent,Un.next=30;break;case 29:vn=wn;case 30:return An=((0,be.Z)(Ht)==="object"||typeof Ht=="string")&&Ht?Ht:Zt,An instanceof File?Rn=An:Rn=new File([An],Zt.name,{type:Zt.type}),Zn=Rn,Zn.uid=Zt.uid,Un.abrupt("return",{origin:Zt,data:vn,parsedFile:Zn,action:fn});case 35:case"end":return Un.stop()}},ur,null,[[3,9]])}));return function(ur,Zt){return dn.apply(this,arguments)}}()),(0,ne.Z)((0,fe.Z)(an),"saveFileInput",function(dn){an.fileInput=dn}),an}return(0,se.Z)(on,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Xt){var Yt=this,Gt=Xt.data,dn=Xt.origin,ur=Xt.action,Zt=Xt.parsedFile;if(this._isMounted){var nn=this.props,Cn=nn.onStart,Ht=nn.customRequest,Ft=nn.name,fn=nn.headers,wn=nn.withCredentials,vn=nn.method,An=dn.uid,Rn=Ht||Te,Zn={action:ur,filename:Ft,data:Gt,file:Zt,headers:fn,withCredentials:wn,method:vn||"post",onProgress:function(Un){var ar=Yt.props.onProgress;ar==null||ar(Un,Zt)},onSuccess:function(Un,ar){var Fn=Yt.props.onSuccess;Fn==null||Fn(Un,Zt,ar),delete Yt.reqs[An]},onError:function(Un,ar){var Fn=Yt.props.onError;Fn==null||Fn(Un,ar,Zt),delete Yt.reqs[An]}};Cn(dn),this.reqs[An]=Rn(Zn)}}},{key:"reset",value:function(){this.setState({uid:We()})}},{key:"abort",value:function(Xt){var Yt=this.reqs;if(Xt){var Gt=Xt.uid?Xt.uid:Xt;Yt[Gt]&&Yt[Gt].abort&&Yt[Gt].abort(),delete Yt[Gt]}else Object.keys(Yt).forEach(function(dn){Yt[dn]&&Yt[dn].abort&&Yt[dn].abort(),delete Yt[dn]})}},{key:"render",value:function(){var Xt=this.props,Yt=Xt.component,Gt=Xt.prefixCls,dn=Xt.className,ur=Xt.classNames,Zt=ur===void 0?{}:ur,nn=Xt.disabled,Cn=Xt.id,Ht=Xt.name,Ft=Xt.style,fn=Xt.styles,wn=fn===void 0?{}:fn,vn=Xt.multiple,An=Xt.accept,Rn=Xt.capture,Zn=Xt.children,zn=Xt.directory,Un=Xt.openFileDialogOnClick,ar=Xt.onMouseEnter,Fn=Xt.onMouseLeave,ir=Xt.hasControlInside,Ir=(0,Ce.Z)(Xt,Ne),Lr=de()((0,ne.Z)((0,ne.Z)((0,ne.Z)({},Gt,!0),"".concat(Gt,"-disabled"),nn),dn,dn)),Fr=zn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},vr=nn?{}:{onClick:Un?this.onClick:function(){},onKeyDown:Un?this.onKeyDown:function(){},onMouseEnter:ar,onMouseLeave:Fn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:ir?void 0:"0"};return b.createElement(Yt,(0,ve.Z)({},vr,{className:Lr,role:ir?void 0:"button",style:Ft}),b.createElement("input",(0,ve.Z)({},(0,Pe.Z)(Ir,{aria:!0,data:!0}),{id:Cn,name:Ht,disabled:nn,type:"file",ref:this.saveFileInput,onClick:function(Ur){return Ur.stopPropagation()},key:this.state.uid,style:(0,ge.Z)({display:"none"},wn.input),className:Zt.input,accept:An},Fr,{multiple:vn,onChange:this.onChange},Rn!=null?{capture:Rn}:{})),Zn)}}]),on}(b.Component),Je=Ye;function He(){}var lt=function(ut){(0,E.Z)(on,ut);var Qt=(0,te.Z)(on);function on(){var an;(0,re.Z)(this,on);for(var Xt=arguments.length,Yt=new Array(Xt),Gt=0;Gt<Xt;Gt++)Yt[Gt]=arguments[Gt];return an=Qt.call.apply(Qt,[this].concat(Yt)),(0,ne.Z)((0,fe.Z)(an),"uploader",void 0),(0,ne.Z)((0,fe.Z)(an),"saveUploader",function(dn){an.uploader=dn}),an}return(0,se.Z)(on,[{key:"abort",value:function(Xt){this.uploader.abort(Xt)}},{key:"render",value:function(){return b.createElement(Je,(0,ve.Z)({},this.props,{ref:this.saveUploader}))}}]),on}(b.Component);(0,ne.Z)(lt,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:He,onError:He,onSuccess:He,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var ft=lt,tt=ft,Ot=ae(18929),nt=ae(48755),Ze=ae(2171),Ge=ae(9017),$e=ae(85981),qe=ae(63356),Ve=ae(34961),mt=ae(16931),st=ae(51636),Lt=ae(36237),Tt=ut=>{const{componentCls:Qt,iconCls:on}=ut;return{[`${Qt}-wrapper`]:{[`${Qt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ut.colorFillAlter,border:`${(0,Lt.unit)(ut.lineWidth)} dashed ${ut.colorBorder}`,borderRadius:ut.borderRadiusLG,cursor:"pointer",transition:`border-color ${ut.motionDurationSlow}`,[Qt]:{padding:ut.padding},[`${Qt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:ut.borderRadiusLG,"&:focus-visible":{outline:`${(0,Lt.unit)(ut.lineWidthFocus)} solid ${ut.colorPrimaryBorder}`}},[`${Qt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
&:not(${Qt}-disabled):hover,
&-hover:not(${Qt}-disabled)
`]:{borderColor:ut.colorPrimaryHover},[`p${Qt}-drag-icon`]:{marginBottom:ut.margin,[on]:{color:ut.colorPrimary,fontSize:ut.uploadThumbnailSize}},[`p${Qt}-text`]:{margin:`0 0 ${(0,Lt.unit)(ut.marginXXS)}`,color:ut.colorTextHeading,fontSize:ut.fontSizeLG},[`p${Qt}-hint`]:{color:ut.colorTextDescription,fontSize:ut.fontSize},[`&${Qt}-disabled`]:{[`p${Qt}-drag-icon ${on},
p${Qt}-text,
p${Qt}-hint
`]:{color:ut.colorTextDisabled}}}}}},wt=ut=>{const{componentCls:Qt,iconCls:on,fontSize:an,lineHeight:Xt,calc:Yt}=ut,Gt=`${Qt}-list-item`,dn=`${Gt}-actions`,ur=`${Gt}-action`;return{[`${Qt}-wrapper`]:{[`${Qt}-list`]:Object.assign(Object.assign({},(0,qe.dF)()),{lineHeight:ut.lineHeight,[Gt]:{position:"relative",height:Yt(ut.lineHeight).mul(an).equal(),marginTop:ut.marginXS,fontSize:an,display:"flex",alignItems:"center",transition:`background-color ${ut.motionDurationSlow}`,borderRadius:ut.borderRadiusSM,"&:hover":{backgroundColor:ut.controlItemBgHover},[`${Gt}-name`]:Object.assign(Object.assign({},qe.vS),{padding:`0 ${(0,Lt.unit)(ut.paddingXS)}`,lineHeight:Xt,flex:"auto",transition:`all ${ut.motionDurationSlow}`}),[dn]:{whiteSpace:"nowrap",[ur]:{opacity:0},[on]:{color:ut.actionsColor,transition:`all ${ut.motionDurationSlow}`},[`
${ur}:focus-visible,
&.picture ${ur}
`]:{opacity:1}},[`${Qt}-icon ${on}`]:{color:ut.colorTextDescription,fontSize:an},[`${Gt}-progress`]:{position:"absolute",bottom:ut.calc(ut.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Yt(an).add(ut.paddingXS).equal(),fontSize:an,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Gt}:hover ${ur}`]:{opacity:1},[`${Gt}-error`]:{color:ut.colorError,[`${Gt}-name, ${Qt}-icon ${on}`]:{color:ut.colorError},[dn]:{[`${on}, ${on}:hover`]:{color:ut.colorError},[ur]:{opacity:1}}},[`${Qt}-list-item-container`]:{transition:`opacity ${ut.motionDurationSlow}, height ${ut.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},yt=ae(99495),ue=ut=>{const{componentCls:Qt}=ut,on=new Lt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:ut.calc(ut.marginXS).div(-2).equal()}}),an=new Lt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:ut.calc(ut.marginXS).div(-2).equal()}}),Xt=`${Qt}-animate-inline`;return[{[`${Qt}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:ut.motionDurationSlow,animationTimingFunction:ut.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:on},[`${Xt}-leave`]:{animationName:an}}},{[`${Qt}-wrapper`]:(0,yt.J$)(ut)},on,an]},ie=ae(68361);const ke=ut=>{const{componentCls:Qt,iconCls:on,uploadThumbnailSize:an,uploadProgressOffset:Xt,calc:Yt}=ut,Gt=`${Qt}-list`,dn=`${Gt}-item`;return{[`${Qt}-wrapper`]:{[`
${Gt}${Gt}-picture,
${Gt}${Gt}-picture-card,
${Gt}${Gt}-picture-circle
`]:{[dn]:{position:"relative",height:Yt(an).add(Yt(ut.lineWidth).mul(2)).add(Yt(ut.paddingXS).mul(2)).equal(),padding:ut.paddingXS,border:`${(0,Lt.unit)(ut.lineWidth)} ${ut.lineType} ${ut.colorBorder}`,borderRadius:ut.borderRadiusLG,"&:hover":{background:"transparent"},[`${dn}-thumbnail`]:Object.assign(Object.assign({},qe.vS),{width:an,height:an,lineHeight:(0,Lt.unit)(Yt(an).add(ut.paddingSM).equal()),textAlign:"center",flex:"none",[on]:{fontSize:ut.fontSizeHeading2,color:ut.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${dn}-progress`]:{bottom:Xt,width:`calc(100% - ${(0,Lt.unit)(Yt(ut.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Yt(an).add(ut.paddingXS).equal()}},[`${dn}-error`]:{borderColor:ut.colorError,[`${dn}-thumbnail ${on}`]:{[`svg path[fill='${ie.blue[0]}']`]:{fill:ut.colorErrorBg},[`svg path[fill='${ie.blue.primary}']`]:{fill:ut.colorError}}},[`${dn}-uploading`]:{borderStyle:"dashed",[`${dn}-name`]:{marginBottom:Xt}}},[`${Gt}${Gt}-picture-circle ${dn}`]:{[`&, &::before, ${dn}-thumbnail`]:{borderRadius:"50%"}}}}},Xe=ut=>{const{componentCls:Qt,iconCls:on,fontSizeLG:an,colorTextLightSolid:Xt,calc:Yt}=ut,Gt=`${Qt}-list`,dn=`${Gt}-item`,ur=ut.uploadPicCardSize;return{[`
${Qt}-wrapper${Qt}-picture-card-wrapper,
${Qt}-wrapper${Qt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,qe.dF)()),{display:"block",[`${Qt}${Qt}-select`]:{width:ur,height:ur,textAlign:"center",verticalAlign:"top",backgroundColor:ut.colorFillAlter,border:`${(0,Lt.unit)(ut.lineWidth)} dashed ${ut.colorBorder}`,borderRadius:ut.borderRadiusLG,cursor:"pointer",transition:`border-color ${ut.motionDurationSlow}`,[`> ${Qt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Qt}-disabled):hover`]:{borderColor:ut.colorPrimary}},[`${Gt}${Gt}-picture-card, ${Gt}${Gt}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:ut.marginXS,marginInlineEnd:ut.marginXS}},"@supports (gap: 1px)":{gap:ut.marginXS},[`${Gt}-item-container`]:{display:"inline-block",width:ur,height:ur,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[dn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Lt.unit)(Yt(ut.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Lt.unit)(Yt(ut.paddingXS).mul(2).equal())})`,backgroundColor:ut.colorBgMask,opacity:0,transition:`all ${ut.motionDurationSlow}`,content:'" "'}},[`${dn}:hover`]:{[`&::before, ${dn}-actions`]:{opacity:1}},[`${dn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ut.motionDurationSlow}`,[`
${on}-eye,
${on}-download,
${on}-delete
`]:{zIndex:10,width:an,margin:`0 ${(0,Lt.unit)(ut.marginXXS)}`,fontSize:an,cursor:"pointer",transition:`all ${ut.motionDurationSlow}`,color:Xt,"&:hover":{color:Xt},svg:{verticalAlign:"baseline"}}},[`${dn}-thumbnail, ${dn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${dn}-name`]:{display:"none",textAlign:"center"},[`${dn}-file + ${dn}-name`]:{position:"absolute",bottom:ut.margin,display:"block",width:`calc(100% - ${(0,Lt.unit)(Yt(ut.paddingXS).mul(2).equal())})`},[`${dn}-uploading`]:{[`&${dn}`]:{backgroundColor:ut.colorFillAlter},[`&::before, ${on}-eye, ${on}-download, ${on}-delete`]:{display:"none"}},[`${dn}-progress`]:{bottom:ut.marginXL,width:`calc(100% - ${(0,Lt.unit)(Yt(ut.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Qt}-wrapper${Qt}-picture-circle-wrapper`]:{[`${Qt}${Qt}-select`]:{borderRadius:"50%"}}}};var pe=ut=>{const{componentCls:Qt}=ut;return{[`${Qt}-rtl`]:{direction:"rtl"}}};const x=ut=>{const{componentCls:Qt,colorTextDisabled:on}=ut;return{[`${Qt}-wrapper`]:Object.assign(Object.assign({},(0,qe.Wf)(ut)),{[Qt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Qt}-select`]:{display:"inline-block"},[`${Qt}-hidden`]:{display:"none"},[`${Qt}-disabled`]:{color:on,cursor:"not-allowed"}})}},me=ut=>({actionsColor:ut.colorTextDescription});var Le=(0,mt.I$)("Upload",ut=>{const{fontSizeHeading3:Qt,fontHeight:on,lineWidth:an,controlHeightLG:Xt,calc:Yt}=ut,Gt=(0,st.mergeToken)(ut,{uploadThumbnailSize:Yt(Qt).mul(2).equal(),uploadProgressOffset:Yt(Yt(on).div(2)).add(an).equal(),uploadPicCardSize:Yt(Xt).mul(2.55).equal()});return[x(Gt),Tt(Gt),ke(Gt),Xe(Gt),wt(Gt),ue(Gt),pe(Gt),(0,Ve.Z)(Gt)]},me),Se={icon:function(Qt,on){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:on}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Qt}}]}},name:"file",theme:"twotone"},Be=Se,Qe=ae(7657),it=function(Qt,on){return b.createElement(Qe.Z,(0,ve.Z)({},Qt,{ref:on,icon:Be}))},ot=b.forwardRef(it),at=ot,Mt=ae(58617),Rt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},tn=Rt,qt=function(Qt,on){return b.createElement(Qe.Z,(0,ve.Z)({},Qt,{ref:on,icon:tn}))},Bt=b.forwardRef(qt),hn=Bt,$t={icon:function(Qt,on){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Qt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:on}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:on}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:on}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Qt}}]}},name:"picture",theme:"twotone"},Ct=$t,jt=function(Qt,on){return b.createElement(Qe.Z,(0,ve.Z)({},Qt,{ref:on,icon:Ct}))},ln=b.forwardRef(jt),yn=ln,Et=ae(77900),Wt=ae(2738),Jt=ae(40192),bn=ae(86641),kn=ae(22703),tr=ae(7939);function pr(ut){return Object.assign(Object.assign({},ut),{lastModified:ut.lastModified,lastModifiedDate:ut.lastModifiedDate,name:ut.name,size:ut.size,type:ut.type,uid:ut.uid,percent:0,originFileObj:ut})}function xr(ut,Qt){const on=(0,oe.Z)(Qt),an=on.findIndex(Xt=>{let{uid:Yt}=Xt;return Yt===ut.uid});return an===-1?on.push(ut):on[an]=ut,on}function Yn(ut,Qt){const on=ut.uid!==void 0?"uid":"name";return Qt.filter(an=>an[on]===ut[on])[0]}function mr(ut,Qt){const on=ut.uid!==void 0?"uid":"name",an=Qt.filter(Xt=>Xt[on]!==ut[on]);return an.length===Qt.length?null:an}const Wn=function(){const Qt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),an=Qt[Qt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(an)||[""])[0]},xn=ut=>ut.indexOf("image/")===0,Pn=ut=>{if(ut.type&&!ut.thumbUrl)return xn(ut.type);const Qt=ut.thumbUrl||ut.url||"",on=Wn(Qt);return/^data:image\//.test(Qt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(on)?!0:!(/^data:/.test(Qt)||on)},Tn=200;function In(ut){return new Promise(Qt=>{if(!ut.type||!xn(ut.type)){Qt("");return}const on=document.createElement("canvas");on.width=Tn,on.height=Tn,on.style.cssText=`position: fixed; left: 0; top: 0; width: ${Tn}px; height: ${Tn}px; z-index: 9999; display: none;`,document.body.appendChild(on);const an=on.getContext("2d"),Xt=new Image;if(Xt.onload=()=>{const{width:Yt,height:Gt}=Xt;let dn=Tn,ur=Tn,Zt=0,nn=0;Yt>Gt?(ur=Gt*(Tn/Yt),nn=-(ur-dn)/2):(dn=Yt*(Tn/Gt),Zt=-(dn-ur)/2),an.drawImage(Xt,Zt,nn,dn,ur);const Cn=on.toDataURL();document.body.removeChild(on),window.URL.revokeObjectURL(Xt.src),Qt(Cn)},Xt.crossOrigin="anonymous",ut.type.startsWith("image/svg+xml")){const Yt=new FileReader;Yt.onload=()=>{Yt.result&&typeof Yt.result=="string"&&(Xt.src=Yt.result)},Yt.readAsDataURL(ut)}else if(ut.type.startsWith("image/gif")){const Yt=new FileReader;Yt.onload=()=>{Yt.result&&Qt(Yt.result)},Yt.readAsDataURL(ut)}else Xt.src=window.URL.createObjectURL(ut)})}var Kn=ae(26227),jn=ae(41464),nr=ae(15277),Cr=ae(89787),Sr=ae(25399),Nr=b.forwardRef((ut,Qt)=>{let{prefixCls:on,className:an,style:Xt,locale:Yt,listType:Gt,file:dn,items:ur,progress:Zt,iconRender:nn,actionIconRender:Cn,itemRender:Ht,isImgUrl:Ft,showPreviewIcon:fn,showRemoveIcon:wn,showDownloadIcon:vn,previewIcon:An,removeIcon:Rn,downloadIcon:Zn,extra:zn,onPreview:Un,onDownload:ar,onClose:Fn}=ut;var ir,Ir;const{status:Lr}=dn,[Fr,vr]=b.useState(Lr);b.useEffect(()=>{Lr!=="removed"&&vr(Lr)},[Lr]);const[Dr,Ur]=b.useState(!1);b.useEffect(()=>{const Bn=setTimeout(()=>{Ur(!0)},300);return()=>{clearTimeout(Bn)}},[]);const gr=nn(dn);let Zr=b.createElement("div",{className:`${on}-icon`},gr);if(Gt==="picture"||Gt==="picture-card"||Gt==="picture-circle")if(Fr==="uploading"||!dn.thumbUrl&&!dn.url){const Bn=de()(`${on}-list-item-thumbnail`,{[`${on}-list-item-file`]:Fr!=="uploading"});Zr=b.createElement("div",{className:Bn},gr)}else{const Bn=Ft!=null&&Ft(dn)?b.createElement("img",{src:dn.thumbUrl||dn.url,alt:dn.name,className:`${on}-list-item-image`,crossOrigin:dn.crossOrigin}):gr,Xn=de()(`${on}-list-item-thumbnail`,{[`${on}-list-item-file`]:Ft&&!Ft(dn)});Zr=b.createElement("a",{className:Xn,onClick:fr=>Un(dn,fr),href:dn.url||dn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Bn)}const jr=de()(`${on}-list-item`,`${on}-list-item-${Fr}`),yi=typeof dn.linkProps=="string"?JSON.parse(dn.linkProps):dn.linkProps,Yr=(typeof wn=="function"?wn(dn):wn)?Cn((typeof Rn=="function"?Rn(dn):Rn)||b.createElement(Kn.Z,null),()=>Fn(dn),on,Yt.removeFile,!0):null,Kr=(typeof vn=="function"?vn(dn):vn)&&Fr==="done"?Cn((typeof Zn=="function"?Zn(dn):Zn)||b.createElement(jn.Z,null),()=>ar(dn),on,Yt.downloadFile):null,si=Gt!=="picture-card"&&Gt!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:de()(`${on}-list-item-actions`,{picture:Gt==="picture"})},Kr,Yr),ni=typeof zn=="function"?zn(dn):zn,Mr=ni&&b.createElement("span",{className:`${on}-list-item-extra`},ni),Vr=de()(`${on}-list-item-name`),yr=dn.url?b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Vr,title:dn.name},yi,{href:dn.url,onClick:Bn=>Un(dn,Bn)}),dn.name,Mr):b.createElement("span",{key:"view",className:Vr,onClick:Bn=>Un(dn,Bn),title:dn.name},dn.name,Mr),Jn=(typeof fn=="function"?fn(dn):fn)&&(dn.url||dn.thumbUrl)?b.createElement("a",{href:dn.url||dn.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Bn=>Un(dn,Bn),title:Yt.previewFile},typeof An=="function"?An(dn):An||b.createElement(nr.Z,null)):null,sr=(Gt==="picture-card"||Gt==="picture-circle")&&Fr!=="uploading"&&b.createElement("span",{className:`${on}-list-item-actions`},Jn,Fr==="done"&&Kr,Yr),{getPrefixCls:hr}=b.useContext(nt.E_),Gn=hr(),kr=b.createElement("div",{className:jr},Zr,yr,si,sr,Dr&&b.createElement(Et.default,{motionName:`${Gn}-fade`,visible:Fr==="uploading",motionDeadline:2e3},Bn=>{let{className:Xn}=Bn;const fr="percent"in dn?b.createElement(Cr.Z,Object.assign({},Zt,{type:"line",percent:dn.percent,"aria-label":dn["aria-label"],"aria-labelledby":dn["aria-labelledby"]})):null;return b.createElement("div",{className:de()(`${on}-list-item-progress`,Xn)},fr)})),Br=dn.response&&typeof dn.response=="string"?dn.response:((ir=dn.error)===null||ir===void 0?void 0:ir.statusText)||((Ir=dn.error)===null||Ir===void 0?void 0:Ir.message)||Yt.uploadError,_t=Fr==="error"?b.createElement(Sr.Z,{title:Br,getPopupContainer:Bn=>Bn.parentNode},kr):kr;return b.createElement("div",{className:de()(`${on}-list-item-container`,an),style:Xt,ref:Qt},Ht?Ht(_t,dn,ur,{download:ar.bind(null,dn),preview:Un.bind(null,dn),remove:Fn.bind(null,dn)}):_t)});const Tr=(ut,Qt)=>{const{listType:on="text",previewFile:an=In,onPreview:Xt,onDownload:Yt,onRemove:Gt,locale:dn,iconRender:ur,isImageUrl:Zt=Pn,prefixCls:nn,items:Cn=[],showPreviewIcon:Ht=!0,showRemoveIcon:Ft=!0,showDownloadIcon:fn=!1,removeIcon:wn,previewIcon:vn,downloadIcon:An,extra:Rn,progress:Zn={size:[-1,2],showInfo:!1},appendAction:zn,appendActionVisible:Un=!0,itemRender:ar,disabled:Fn}=ut,ir=(0,Jt.Z)(),[Ir,Lr]=b.useState(!1),Fr=["picture-card","picture-circle"].includes(on);b.useEffect(()=>{on.startsWith("picture")&&(Cn||[]).forEach(Mr=>{!(Mr.originFileObj instanceof File||Mr.originFileObj instanceof Blob)||Mr.thumbUrl!==void 0||(Mr.thumbUrl="",an==null||an(Mr.originFileObj).then(Vr=>{Mr.thumbUrl=Vr||"",ir()}))})},[on,Cn,an]),b.useEffect(()=>{Lr(!0)},[]);const vr=(Mr,Vr)=>{if(Xt)return Vr==null||Vr.preventDefault(),Xt(Mr)},Dr=Mr=>{typeof Yt=="function"?Yt(Mr):Mr.url&&window.open(Mr.url)},Ur=Mr=>{Gt==null||Gt(Mr)},gr=Mr=>{if(ur)return ur(Mr,on);const Vr=Mr.status==="uploading";if(on.startsWith("picture")){const yr=on==="picture"?b.createElement(Mt.Z,null):dn.uploading,Jn=Zt!=null&&Zt(Mr)?b.createElement(yn,null):b.createElement(at,null);return Vr?yr:Jn}return Vr?b.createElement(Mt.Z,null):b.createElement(hn,null)},Zr=(Mr,Vr,yr,Jn,sr)=>{const hr={type:"text",size:"small",title:Jn,onClick:Gn=>{var kr,Br;Vr(),b.isValidElement(Mr)&&((Br=(kr=Mr.props).onClick)===null||Br===void 0||Br.call(kr,Gn))},className:`${yr}-list-item-action`};return sr&&(hr.disabled=Fn),b.isValidElement(Mr)?b.createElement(tr.ZP,Object.assign({},hr,{icon:(0,kn.Tm)(Mr,Object.assign(Object.assign({},Mr.props),{onClick:()=>{}}))})):b.createElement(tr.ZP,Object.assign({},hr),b.createElement("span",null,Mr))};b.useImperativeHandle(Qt,()=>({handlePreview:vr,handleDownload:Dr}));const{getPrefixCls:jr}=b.useContext(nt.E_),yi=jr("upload",nn),Yr=jr(),Kr=de()(`${yi}-list`,`${yi}-list-${on}`),si=b.useMemo(()=>(0,Wt.Z)((0,bn.Z)(Yr),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Yr]),ni=Object.assign(Object.assign({},Fr?{}:si),{motionDeadline:2e3,motionName:`${yi}-${Fr?"animate-inline":"animate"}`,keys:(0,oe.Z)(Cn.map(Mr=>({key:Mr.uid,file:Mr}))),motionAppear:Ir});return b.createElement("div",{className:Kr},b.createElement(Et.CSSMotionList,Object.assign({},ni,{component:!1}),Mr=>{let{key:Vr,file:yr,className:Jn,style:sr}=Mr;return b.createElement(Nr,{key:Vr,locale:dn,prefixCls:yi,className:Jn,style:sr,file:yr,items:Cn,progress:Zn,listType:on,isImgUrl:Zt,showPreviewIcon:Ht,showRemoveIcon:Ft,showDownloadIcon:fn,removeIcon:wn,previewIcon:vn,downloadIcon:An,extra:Rn,iconRender:gr,actionIconRender:Zr,itemRender:ar,onPreview:vr,onDownload:Dr,onClose:Ur})}),zn&&b.createElement(Et.default,Object.assign({},ni,{visible:Un,forceRender:!0}),Mr=>{let{className:Vr,style:yr}=Mr;return(0,kn.Tm)(zn,Jn=>({className:de()(Jn.className,Vr),style:Object.assign(Object.assign(Object.assign({},yr),{pointerEvents:Vr?"none":void 0}),Jn.style)}))}))};var Rr=b.forwardRef(Tr),Ln=function(ut,Qt,on,an){function Xt(Yt){return Yt instanceof on?Yt:new on(function(Gt){Gt(Yt)})}return new(on||(on=Promise))(function(Yt,Gt){function dn(nn){try{Zt(an.next(nn))}catch(Cn){Gt(Cn)}}function ur(nn){try{Zt(an.throw(nn))}catch(Cn){Gt(Cn)}}function Zt(nn){nn.done?Yt(nn.value):Xt(nn.value).then(dn,ur)}Zt((an=an.apply(ut,Qt||[])).next())})};const Qn=`__LIST_IGNORE_${Date.now()}__`,Ar=(ut,Qt)=>{const{fileList:on,defaultFileList:an,onRemove:Xt,showUploadList:Yt=!0,listType:Gt="text",onPreview:dn,onDownload:ur,onChange:Zt,onDrop:nn,previewFile:Cn,disabled:Ht,locale:Ft,iconRender:fn,isImageUrl:wn,progress:vn,prefixCls:An,className:Rn,type:Zn="select",children:zn,style:Un,itemRender:ar,maxCount:Fn,data:ir={},multiple:Ir=!1,hasControlInside:Lr=!0,action:Fr="",accept:vr="",supportServerRender:Dr=!0,rootClassName:Ur}=ut,gr=b.useContext(Ze.Z),Zr=Ht!=null?Ht:gr,[jr,yi]=(0,Ot.Z)(an||[],{value:on,postState:ji=>ji!=null?ji:[]}),[Yr,Kr]=b.useState("drop"),si=b.useRef(null),ni=b.useRef(null);b.useMemo(()=>{const ji=Date.now();(on||[]).forEach((oo,uo)=>{!oo.uid&&!Object.isFrozen(oo)&&(oo.uid=`__AUTO__${ji}_${uo}__`)})},[on]);const Mr=(ji,oo,uo)=>{let $i=(0,oe.Z)(oo),co=!1;Fn===1?$i=$i.slice(-1):Fn&&(co=$i.length>Fn,$i=$i.slice(0,Fn)),(0,we.flushSync)(()=>{yi($i)});const so={file:ji,fileList:$i};uo&&(so.event=uo),(!co||ji.status==="removed"||$i.some(jo=>jo.uid===ji.uid))&&(0,we.flushSync)(()=>{Zt==null||Zt(so)})},Vr=(ji,oo)=>Ln(void 0,void 0,void 0,function*(){const{beforeUpload:uo,transformFile:$i}=ut;let co=ji;if(uo){const so=yield uo(ji,oo);if(so===!1)return!1;if(delete ji[Qn],so===Qn)return Object.defineProperty(ji,Qn,{value:!0,configurable:!0}),!1;typeof so=="object"&&so&&(co=so)}return $i&&(co=yield $i(co)),co}),yr=ji=>{const oo=ji.filter(co=>!co.file[Qn]);if(!oo.length)return;const uo=oo.map(co=>pr(co.file));let $i=(0,oe.Z)(jr);uo.forEach(co=>{$i=xr(co,$i)}),uo.forEach((co,so)=>{let jo=co;if(oo[so].parsedFile)co.status="uploading";else{const{originFileObj:Jo}=co;let Yo;try{Yo=new File([Jo],Jo.name,{type:Jo.type})}catch(Zo){Yo=new Blob([Jo],{type:Jo.type}),Yo.name=Jo.name,Yo.lastModifiedDate=new Date,Yo.lastModified=new Date().getTime()}Yo.uid=co.uid,jo=Yo}Mr(jo,$i)})},Jn=(ji,oo,uo)=>{try{typeof ji=="string"&&(ji=JSON.parse(ji))}catch(so){}if(!Yn(oo,jr))return;const $i=pr(oo);$i.status="done",$i.percent=100,$i.response=ji,$i.xhr=uo;const co=xr($i,jr);Mr($i,co)},sr=(ji,oo)=>{if(!Yn(oo,jr))return;const uo=pr(oo);uo.status="uploading",uo.percent=ji.percent;const $i=xr(uo,jr);Mr(uo,$i,ji)},hr=(ji,oo,uo)=>{if(!Yn(uo,jr))return;const $i=pr(uo);$i.error=ji,$i.response=oo,$i.status="error";const co=xr($i,jr);Mr($i,co)},Gn=ji=>{let oo;Promise.resolve(typeof Xt=="function"?Xt(ji):Xt).then(uo=>{var $i;if(uo===!1)return;const co=mr(ji,jr);co&&(oo=Object.assign(Object.assign({},ji),{status:"removed"}),jr==null||jr.forEach(so=>{const jo=oo.uid!==void 0?"uid":"name";so[jo]===oo[jo]&&!Object.isFrozen(so)&&(so.status="removed")}),($i=si.current)===null||$i===void 0||$i.abort(oo),Mr(oo,co))})},kr=ji=>{Kr(ji.type),ji.type==="drop"&&(nn==null||nn(ji))};b.useImperativeHandle(Qt,()=>({onBatchStart:yr,onSuccess:Jn,onProgress:sr,onError:hr,fileList:jr,upload:si.current,nativeElement:ni.current}));const{getPrefixCls:Br,direction:_t,upload:Bn}=b.useContext(nt.E_),Xn=Br("upload",An),fr=Object.assign(Object.assign({onBatchStart:yr,onError:hr,onProgress:sr,onSuccess:Jn},ut),{data:ir,multiple:Ir,action:Fr,accept:vr,supportServerRender:Dr,prefixCls:Xn,disabled:Zr,beforeUpload:Vr,onChange:void 0,hasControlInside:Lr});delete fr.className,delete fr.style,(!zn||Zr)&&delete fr.id;const Wr=`${Xn}-wrapper`,[Qr,Xr,Fi]=Le(Xn,Wr),[or]=(0,Ge.Z)("Upload",$e.Z.Upload),{showRemoveIcon:Ti,showPreviewIcon:hi,showDownloadIcon:Ei,removeIcon:Li,previewIcon:Ai,downloadIcon:ro,extra:So}=typeof Yt=="boolean"?{}:Yt,Qi=typeof Ti=="undefined"?!Zr:Ti,io=(ji,oo)=>Yt?b.createElement(Rr,{prefixCls:Xn,listType:Gt,items:jr,previewFile:Cn,onPreview:dn,onDownload:ur,onRemove:Gn,showRemoveIcon:Qi,showPreviewIcon:hi,showDownloadIcon:Ei,removeIcon:Li,previewIcon:Ai,downloadIcon:ro,iconRender:fn,extra:So,locale:Object.assign(Object.assign({},or),Ft),isImageUrl:wn,progress:vn,appendAction:ji,appendActionVisible:oo,itemRender:ar,disabled:Zr}):ji,ti=de()(Wr,Rn,Ur,Xr,Fi,Bn==null?void 0:Bn.className,{[`${Xn}-rtl`]:_t==="rtl",[`${Xn}-picture-card-wrapper`]:Gt==="picture-card",[`${Xn}-picture-circle-wrapper`]:Gt==="picture-circle"}),li=Object.assign(Object.assign({},Bn==null?void 0:Bn.style),Un);if(Zn==="drag"){const ji=de()(Xr,Xn,`${Xn}-drag`,{[`${Xn}-drag-uploading`]:jr.some(oo=>oo.status==="uploading"),[`${Xn}-drag-hover`]:Yr==="dragover",[`${Xn}-disabled`]:Zr,[`${Xn}-rtl`]:_t==="rtl"});return Qr(b.createElement("span",{className:ti,ref:ni},b.createElement("div",{className:ji,style:li,onDrop:kr,onDragOver:kr,onDragLeave:kr},b.createElement(tt,Object.assign({},fr,{ref:si,className:`${Xn}-btn`}),b.createElement("div",{className:`${Xn}-drag-container`},zn))),io()))}const qi=de()(Xn,`${Xn}-select`,{[`${Xn}-disabled`]:Zr,[`${Xn}-hidden`]:!zn}),ho=b.createElement("div",{className:qi},b.createElement(tt,Object.assign({},fr,{ref:si})));return Qr(Gt==="picture-card"||Gt==="picture-circle"?b.createElement("span",{className:ti,ref:ni},io(ho,!!zn)):b.createElement("span",{className:ti,ref:ni},ho,io()))};var zt=b.forwardRef(Ar),It=function(ut,Qt){var on={};for(var an in ut)Object.prototype.hasOwnProperty.call(ut,an)&&Qt.indexOf(an)<0&&(on[an]=ut[an]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,an=Object.getOwnPropertySymbols(ut);Xt<an.length;Xt++)Qt.indexOf(an[Xt])<0&&Object.prototype.propertyIsEnumerable.call(ut,an[Xt])&&(on[an[Xt]]=ut[an[Xt]]);return on},Vt=b.forwardRef((ut,Qt)=>{var{style:on,height:an,hasControlInside:Xt=!1}=ut,Yt=It(ut,["style","height","hasControlInside"]);return b.createElement(zt,Object.assign({ref:Qt,hasControlInside:Xt},Yt,{type:"drag",style:Object.assign(Object.assign({},on),{height:an})}))});const Nt=zt;Nt.Dragger=Vt,Nt.LIST_IGNORE=Qn;var Kt=Nt},99498:function(_n,pn,ae){(function(b){b(ae(89780))})(function(b){b.defineOption("placeholder","",function(se,fe,E){var te=E&&E!=b.Init;if(fe&&!te)se.on("blur",de),se.on("change",ve),se.on("swapDoc",ve),b.on(se.getInputField(),"compositionupdate",se.state.placeholderCompose=function(){Ae(se)}),ve(se);else if(!fe&&te){se.off("blur",de),se.off("change",ve),se.off("swapDoc",ve),b.off(se.getInputField(),"compositionupdate",se.state.placeholderCompose),oe(se);var ne=se.getWrapperElement();ne.className=ne.className.replace(" CodeMirror-empty","")}fe&&!se.hasFocus()&&de(se)});function oe(se){se.state.placeholder&&(se.state.placeholder.parentNode.removeChild(se.state.placeholder),se.state.placeholder=null)}function we(se){oe(se);var fe=se.state.placeholder=document.createElement("pre");fe.style.cssText="height: 0; overflow: visible",fe.style.direction=se.getOption("direction"),fe.className="CodeMirror-placeholder CodeMirror-line-like";var E=se.getOption("placeholder");typeof E=="string"&&(E=document.createTextNode(E)),fe.appendChild(E),se.display.lineSpace.insertBefore(fe,se.display.lineSpace.firstChild)}function Ae(se){setTimeout(function(){var fe=!1,E=se.getInputField();E.nodeName=="TEXTAREA"?fe=!E.value:se.lineCount()==1&&(fe=!/[^\u200b]/.test(E.querySelector(".CodeMirror-line").textContent)),fe?we(se):oe(se)},20)}function de(se){re(se)&&we(se)}function ve(se){var fe=se.getWrapperElement(),E=re(se);fe.className=fe.className.replace(" CodeMirror-empty","")+(E?" CodeMirror-empty":""),E?we(se):oe(se)}function re(se){return se.lineCount()===1&&se.getLine(0)===""}})},25717:function(_n,pn,ae){(function(b){b(ae(89780))})(function(b){var oe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},we=b.Pos;b.defineOption("autoCloseBrackets",!1,function(be,le,Ee){Ee&&Ee!=b.Init&&(be.removeKeyMap(de),be.state.closeBrackets=null),le&&(ve(Ae(le,"pairs")),be.state.closeBrackets=le,be.addKeyMap(de))});function Ae(be,le){return le=="pairs"&&typeof be=="string"?be:typeof be=="object"&&be[le]!=null?be[le]:oe[le]}var de={Backspace:fe,Enter:E};function ve(be){for(var le=0;le<be.length;le++){var Ee=be.charAt(le),Pe="'"+Ee+"'";de[Pe]||(de[Pe]=re(Ee))}}ve(oe.pairs+"`");function re(be){return function(le){return ne(le,be)}}function se(be){var le=be.state.closeBrackets;if(!le||le.override)return le;var Ee=be.getModeAt(be.getCursor());return Ee.closeBrackets||le}function fe(be){var le=se(be);if(!le||be.getOption("disableInput"))return b.Pass;for(var Ee=Ae(le,"pairs"),Pe=be.listSelections(),Ie=0;Ie<Pe.length;Ie++){if(!Pe[Ie].empty())return b.Pass;var Re=ge(be,Pe[Ie].head);if(!Re||Ee.indexOf(Re)%2!=0)return b.Pass}for(var Ie=Pe.length-1;Ie>=0;Ie--){var Me=Pe[Ie].head;be.replaceRange("",we(Me.line,Me.ch-1),we(Me.line,Me.ch+1),"+delete")}}function E(be){var le=se(be),Ee=le&&Ae(le,"explode");if(!Ee||be.getOption("disableInput"))return b.Pass;for(var Pe=be.listSelections(),Ie=0;Ie<Pe.length;Ie++){if(!Pe[Ie].empty())return b.Pass;var Re=ge(be,Pe[Ie].head);if(!Re||Ee.indexOf(Re)%2!=0)return b.Pass}be.operation(function(){var Me=be.lineSeparator()||`
`;be.replaceSelection(Me+Me,null),be.execCommand("goCharLeft"),Pe=be.listSelections();for(var ye=0;ye<Pe.length;ye++){var Te=Pe[ye].head.line;be.indentLine(Te,null,!0),be.indentLine(Te+1,null,!0)}})}function te(be){var le=b.cmpPos(be.anchor,be.head)>0;return{anchor:new we(be.anchor.line,be.anchor.ch+(le?-1:1)),head:new we(be.head.line,be.head.ch+(le?1:-1))}}function ne(be,le){var Ee=se(be);if(!Ee||be.getOption("disableInput"))return b.Pass;var Pe=Ae(Ee,"pairs"),Ie=Pe.indexOf(le);if(Ie==-1)return b.Pass;for(var Re=Ae(Ee,"closeBefore"),Me=Ae(Ee,"triples"),ye=Pe.charAt(Ie+1)==le,Te=be.listSelections(),Fe=Ie%2==0,_e,Oe=0;Oe<Te.length;Oe++){var Ke=Te[Oe],We=Ke.head,Ne,Ye=be.getRange(We,we(We.line,We.ch+1));if(Fe&&!Ke.empty())Ne="surround";else if((ye||!Fe)&&Ye==le)ye&&Ce(be,We)?Ne="both":Me.indexOf(le)>=0&&be.getRange(We,we(We.line,We.ch+3))==le+le+le?Ne="skipThree":Ne="skip";else if(ye&&We.ch>1&&Me.indexOf(le)>=0&&be.getRange(we(We.line,We.ch-2),We)==le+le){if(We.ch>2&&/\bstring/.test(be.getTokenTypeAt(we(We.line,We.ch-2))))return b.Pass;Ne="addFour"}else if(ye){var Je=We.ch==0?" ":be.getRange(we(We.line,We.ch-1),We);if(!b.isWordChar(Ye)&&Je!=le&&!b.isWordChar(Je))Ne="both";else return b.Pass}else if(Fe&&(Ye.length===0||/\s/.test(Ye)||Re.indexOf(Ye)>-1))Ne="both";else return b.Pass;if(!_e)_e=Ne;else if(_e!=Ne)return b.Pass}var He=Ie%2?Pe.charAt(Ie-1):le,lt=Ie%2?le:Pe.charAt(Ie+1);be.operation(function(){if(_e=="skip")be.execCommand("goCharRight");else if(_e=="skipThree")for(var ft=0;ft<3;ft++)be.execCommand("goCharRight");else if(_e=="surround"){for(var tt=be.getSelections(),ft=0;ft<tt.length;ft++)tt[ft]=He+tt[ft]+lt;be.replaceSelections(tt,"around"),tt=be.listSelections().slice();for(var ft=0;ft<tt.length;ft++)tt[ft]=te(tt[ft]);be.setSelections(tt)}else _e=="both"?(be.replaceSelection(He+lt,null),be.triggerElectric(He+lt),be.execCommand("goCharLeft")):_e=="addFour"&&(be.replaceSelection(He+He+He+He,"before"),be.execCommand("goCharRight"))})}function ge(be,le){var Ee=be.getRange(we(le.line,le.ch-1),we(le.line,le.ch+1));return Ee.length==2?Ee:null}function Ce(be,le){var Ee=be.getTokenAt(we(le.line,le.ch+1));return/\bstring/.test(Ee.type)&&Ee.start==le.ch&&(le.ch==0||!/\bstring/.test(be.getTokenTypeAt(le)))}})},6313:function(_n,pn,ae){(function(b){b(ae(89780),ae(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(fe,E,te){if(te!=b.Init&&te&&fe.removeKeyMap("autoCloseTags"),!!E){var ne={name:"autoCloseTags"};(typeof E!="object"||E.whenClosing!==!1)&&(ne["'/'"]=function(ge){return ve(ge)}),(typeof E!="object"||E.whenOpening!==!1)&&(ne["'>'"]=function(ge){return Ae(ge)}),fe.addKeyMap(ne)}});var oe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],we=["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 Ae(fe){if(fe.getOption("disableInput"))return b.Pass;for(var E=fe.listSelections(),te=[],ne=fe.getOption("autoCloseTags"),ge=0;ge<E.length;ge++){if(!E[ge].empty())return b.Pass;var Ce=E[ge].head,be=fe.getTokenAt(Ce),le=b.innerMode(fe.getMode(),be.state),Ee=le.state,Pe=le.mode.xmlCurrentTag&&le.mode.xmlCurrentTag(Ee),Ie=Pe&&Pe.name;if(!Ie)return b.Pass;var Re=le.mode.configuration=="html",Me=typeof ne=="object"&&ne.dontCloseTags||Re&&oe,ye=typeof ne=="object"&&ne.indentTags||Re&&we;be.end>Ce.ch&&(Ie=Ie.slice(0,Ie.length-be.end+Ce.ch));var Te=Ie.toLowerCase();if(!Ie||be.type=="string"&&(be.end!=Ce.ch||!/[\"\']/.test(be.string.charAt(be.string.length-1))||be.string.length==1)||be.type=="tag"&&Pe.close||be.string.indexOf("/")==Ce.ch-be.start-1||Me&&re(Me,Te)>-1||se(fe,le.mode.xmlCurrentContext&&le.mode.xmlCurrentContext(Ee)||[],Ie,Ce,!0))return b.Pass;var Fe=typeof ne=="object"&&ne.emptyTags;if(Fe&&re(Fe,Ie)>-1){te[ge]={text:"/>",newPos:b.Pos(Ce.line,Ce.ch+2)};continue}var _e=ye&&re(ye,Te)>-1;te[ge]={indent:_e,text:">"+(_e?`
`:"")+"</"+Ie+">",newPos:_e?b.Pos(Ce.line+1,0):b.Pos(Ce.line,Ce.ch+1)}}for(var Oe=typeof ne=="object"&&ne.dontIndentOnAutoClose,ge=E.length-1;ge>=0;ge--){var Ke=te[ge];fe.replaceRange(Ke.text,E[ge].head,E[ge].anchor,"+insert");var We=fe.listSelections().slice(0);We[ge]={head:Ke.newPos,anchor:Ke.newPos},fe.setSelections(We),!Oe&&Ke.indent&&(fe.indentLine(Ke.newPos.line,null,!0),fe.indentLine(Ke.newPos.line+1,null,!0))}}function de(fe,E){for(var te=fe.listSelections(),ne=[],ge=E?"/":"</",Ce=fe.getOption("autoCloseTags"),be=typeof Ce=="object"&&Ce.dontIndentOnSlash,le=0;le<te.length;le++){if(!te[le].empty())return b.Pass;var Ee=te[le].head,Pe=fe.getTokenAt(Ee),Ie=b.innerMode(fe.getMode(),Pe.state),Re=Ie.state;if(E&&(Pe.type=="string"||Pe.string.charAt(0)!="<"||Pe.start!=Ee.ch-1))return b.Pass;var Me,ye=Ie.mode.name!="xml"&&fe.getMode().name=="htmlmixed";if(ye&&Ie.mode.name=="javascript")Me=ge+"script";else if(ye&&Ie.mode.name=="css")Me=ge+"style";else{var Te=Ie.mode.xmlCurrentContext&&Ie.mode.xmlCurrentContext(Re);if(!Te||Te.length&&se(fe,Te,Te[Te.length-1],Ee))return b.Pass;Me=ge+Te[Te.length-1]}fe.getLine(Ee.line).charAt(Pe.end)!=">"&&(Me+=">"),ne[le]=Me}if(fe.replaceSelections(ne),te=fe.listSelections(),!be)for(var le=0;le<te.length;le++)(le==te.length-1||te[le].head.line<te[le+1].head.line)&&fe.indentLine(te[le].head.line)}function ve(fe){return fe.getOption("disableInput")?b.Pass:de(fe,!0)}b.commands.closeTag=function(fe){return de(fe)};function re(fe,E){if(fe.indexOf)return fe.indexOf(E);for(var te=0,ne=fe.length;te<ne;++te)if(fe[te]==E)return te;return-1}function se(fe,E,te,ne,ge){if(!b.scanForClosingTag)return!1;var Ce=Math.min(fe.lastLine()+1,ne.line+500),be=b.scanForClosingTag(fe,ne,null,Ce);if(!be||be.tag!=te)return!1;for(var le=ge?1:0,Ee=E.length-1;Ee>=0&&E[Ee]==te;Ee--)++le;ne=be.to;for(var Ee=1;Ee<le;Ee++){var Pe=b.scanForClosingTag(fe,ne,null,Ce);if(!Pe||Pe.tag!=te)return!1;ne=Pe.to}return!0}})},32855:function(_n,pn,ae){(function(b){b(ae(89780))})(function(b){"use strict";var oe=b.Pos;function we(Ee,Pe){return Ee.line-Pe.line||Ee.ch-Pe.ch}var Ae="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",de=Ae+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("<(/?)(["+Ae+"]["+de+"]*)","g");function re(Ee,Pe,Ie,Re){this.line=Pe,this.ch=Ie,this.cm=Ee,this.text=Ee.getLine(Pe),this.min=Re?Math.max(Re.from,Ee.firstLine()):Ee.firstLine(),this.max=Re?Math.min(Re.to-1,Ee.lastLine()):Ee.lastLine()}function se(Ee,Pe){var Ie=Ee.cm.getTokenTypeAt(oe(Ee.line,Pe));return Ie&&/\btag\b/.test(Ie)}function fe(Ee){if(!(Ee.line>=Ee.max))return Ee.ch=0,Ee.text=Ee.cm.getLine(++Ee.line),!0}function E(Ee){if(!(Ee.line<=Ee.min))return Ee.text=Ee.cm.getLine(--Ee.line),Ee.ch=Ee.text.length,!0}function te(Ee){for(;;){var Pe=Ee.text.indexOf(">",Ee.ch);if(Pe==-1){if(fe(Ee))continue;return}if(!se(Ee,Pe+1)){Ee.ch=Pe+1;continue}var Ie=Ee.text.lastIndexOf("/",Pe),Re=Ie>-1&&!/\S/.test(Ee.text.slice(Ie+1,Pe));return Ee.ch=Pe+1,Re?"selfClose":"regular"}}function ne(Ee){for(;;){var Pe=Ee.ch?Ee.text.lastIndexOf("<",Ee.ch-1):-1;if(Pe==-1){if(E(Ee))continue;return}if(!se(Ee,Pe+1)){Ee.ch=Pe;continue}ve.lastIndex=Pe,Ee.ch=Pe;var Ie=ve.exec(Ee.text);if(Ie&&Ie.index==Pe)return Ie}}function ge(Ee){for(;;){ve.lastIndex=Ee.ch;var Pe=ve.exec(Ee.text);if(!Pe){if(fe(Ee))continue;return}if(!se(Ee,Pe.index+1)){Ee.ch=Pe.index+1;continue}return Ee.ch=Pe.index+Pe[0].length,Pe}}function Ce(Ee){for(;;){var Pe=Ee.ch?Ee.text.lastIndexOf(">",Ee.ch-1):-1;if(Pe==-1){if(E(Ee))continue;return}if(!se(Ee,Pe+1)){Ee.ch=Pe;continue}var Ie=Ee.text.lastIndexOf("/",Pe),Re=Ie>-1&&!/\S/.test(Ee.text.slice(Ie+1,Pe));return Ee.ch=Pe+1,Re?"selfClose":"regular"}}function be(Ee,Pe){for(var Ie=[];;){var Re=ge(Ee),Me,ye=Ee.line,Te=Ee.ch-(Re?Re[0].length:0);if(!Re||!(Me=te(Ee)))return;if(Me!="selfClose")if(Re[1]){for(var Fe=Ie.length-1;Fe>=0;--Fe)if(Ie[Fe]==Re[2]){Ie.length=Fe;break}if(Fe<0&&(!Pe||Pe==Re[2]))return{tag:Re[2],from:oe(ye,Te),to:oe(Ee.line,Ee.ch)}}else Ie.push(Re[2])}}function le(Ee,Pe){for(var Ie=[];;){var Re=Ce(Ee);if(!Re)return;if(Re=="selfClose"){ne(Ee);continue}var Me=Ee.line,ye=Ee.ch,Te=ne(Ee);if(!Te)return;if(Te[1])Ie.push(Te[2]);else{for(var Fe=Ie.length-1;Fe>=0;--Fe)if(Ie[Fe]==Te[2]){Ie.length=Fe;break}if(Fe<0&&(!Pe||Pe==Te[2]))return{tag:Te[2],from:oe(Ee.line,Ee.ch),to:oe(Me,ye)}}}}b.registerHelper("fold","xml",function(Ee,Pe){for(var Ie=new re(Ee,Pe.line,0);;){var Re=ge(Ie);if(!Re||Ie.line!=Pe.line)return;var Me=te(Ie);if(!Me)return;if(!Re[1]&&Me!="selfClose"){var ye=oe(Ie.line,Ie.ch),Te=be(Ie,Re[2]);return Te&&we(Te.from,ye)>0?{from:ye,to:Te.from}:null}}}),b.findMatchingTag=function(Ee,Pe,Ie){var Re=new re(Ee,Pe.line,Pe.ch,Ie);if(!(Re.text.indexOf(">")==-1&&Re.text.indexOf("<")==-1)){var Me=te(Re),ye=Me&&oe(Re.line,Re.ch),Te=Me&&ne(Re);if(!(!Me||!Te||we(Re,Pe)>0)){var Fe={from:oe(Re.line,Re.ch),to:ye,tag:Te[2]};return Me=="selfClose"?{open:Fe,close:null,at:"open"}:Te[1]?{open:le(Re,Te[2]),close:Fe,at:"close"}:(Re=new re(Ee,ye.line,ye.ch,Ie),{open:Fe,close:be(Re,Te[2]),at:"open"})}}},b.findEnclosingTag=function(Ee,Pe,Ie,Re){for(var Me=new re(Ee,Pe.line,Pe.ch,Ie);;){var ye=le(Me,Re);if(!ye)break;var Te=new re(Ee,Pe.line,Pe.ch,Ie),Fe=be(Te,ye.tag);if(Fe)return{open:ye,close:Fe}}},b.scanForClosingTag=function(Ee,Pe,Ie,Re){var Me=new re(Ee,Pe.line,Pe.ch,Re?{from:0,to:Re}:null);return be(Me,Ie)}})},89780:function(_n){(function(pn,ae){_n.exports=ae()})(this,function(){"use strict";var pn=navigator.userAgent,ae=navigator.platform,b=/gecko\/\d/i.test(pn),oe=/MSIE \d/.test(pn),we=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(pn),Ae=/Edge\/(\d+)/.exec(pn),de=oe||we||Ae,ve=de&&(oe?document.documentMode||6:+(Ae||we)[1]),re=!Ae&&/WebKit\//.test(pn),se=re&&/Qt\/\d+\.\d+/.test(pn),fe=!Ae&&/Chrome\//.test(pn),E=/Opera\//.test(pn),te=/Apple Computer/.test(navigator.vendor),ne=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(pn),ge=/PhantomJS/.test(pn),Ce=!Ae&&/AppleWebKit/.test(pn)&&/Mobile\/\w+/.test(pn),be=/Android/.test(pn),le=Ce||be||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(pn),Ee=Ce||/Mac/.test(ae),Pe=/\bCrOS\b/.test(pn),Ie=/win/i.test(ae),Re=E&&pn.match(/Version\/(\d*\.\d*)/);Re&&(Re=Number(Re[1])),Re&&Re>=15&&(E=!1,re=!0);var Me=Ee&&(se||E&&(Re==null||Re<12.11)),ye=b||de&&ve>=9;function Te(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Fe=function(a,y){var ee=a.className,z=Te(y).exec(ee);if(z){var ce=ee.slice(z.index+z[0].length);a.className=ee.slice(0,z.index)+(ce?z[1]+ce:"")}};function _e(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Oe(a,y){return _e(a).appendChild(y)}function Ke(a,y,ee,z){var ce=document.createElement(a);if(ee&&(ce.className=ee),z&&(ce.style.cssText=z),typeof y=="string")ce.appendChild(document.createTextNode(y));else if(y)for(var Ue=0;Ue<y.length;++Ue)ce.appendChild(y[Ue]);return ce}function We(a,y,ee,z){var ce=Ke(a,y,ee,z);return ce.setAttribute("role","presentation"),ce}var Ne;document.createRange?Ne=function(a,y,ee,z){var ce=document.createRange();return ce.setEnd(z||a,ee),ce.setStart(a,y),ce}:Ne=function(a,y,ee){var z=document.body.createTextRange();try{z.moveToElementText(a.parentNode)}catch(ce){return z}return z.collapse(!0),z.moveEnd("character",ee),z.moveStart("character",y),z};function Ye(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function Je(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function He(a,y){var ee=a.className;Te(y).test(ee)||(a.className+=(ee?" ":"")+y)}function lt(a,y){for(var ee=a.split(" "),z=0;z<ee.length;z++)ee[z]&&!Te(ee[z]).test(y)&&(y+=" "+ee[z]);return y}var ft=function(a){a.select()};Ce?ft=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:de&&(ft=function(a){try{a.select()}catch(y){}});function tt(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Ot(a,y,ee){y||(y={});for(var z in a)a.hasOwnProperty(z)&&(ee!==!1||!y.hasOwnProperty(z))&&(y[z]=a[z]);return y}function nt(a,y,ee,z,ce){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var Ue=z||0,rt=ce||0;;){var dt=a.indexOf(" ",Ue);if(dt<0||dt>=y)return rt+(y-Ue);rt+=dt-Ue,rt+=ee-rt%ee,Ue=dt+1}}var Ze=function(){this.id=null,this.f=null,this.time=0,this.handler=tt(this.onTimeout,this)};Ze.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Ze.prototype.set=function(a,y){this.f=y;var ee=+new Date+a;(!this.id||ee<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=ee)};function Ge(a,y){for(var ee=0;ee<a.length;++ee)if(a[ee]==y)return ee;return-1}var $e=50,qe={toString:function(){return"CodeMirror.Pass"}},Ve={scroll:!1},mt={origin:"*mouse"},st={origin:"+move"};function Lt(a,y,ee){for(var z=0,ce=0;;){var Ue=a.indexOf(" ",z);Ue==-1&&(Ue=a.length);var rt=Ue-z;if(Ue==a.length||ce+rt>=y)return z+Math.min(rt,y-ce);if(ce+=Ue-z,ce+=ee-ce%ee,z=Ue+1,ce>=y)return z}}var ct=[""];function Tt(a){for(;ct.length<=a;)ct.push(xt(ct)+" ");return ct[a]}function xt(a){return a[a.length-1]}function wt(a,y){for(var ee=[],z=0;z<a.length;z++)ee[z]=y(a[z],z);return ee}function yt(a,y,ee){for(var z=0,ce=ee(y);z<a.length&&ee(a[z])<=ce;)z++;a.splice(z,0,y)}function je(){}function ue(a,y){var ee;return Object.create?ee=Object.create(a):(je.prototype=a,ee=new je),y&&Ot(y,ee),ee}var ie=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ke(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ie.test(a))}function Xe(a,y){return y?y.source.indexOf("\\w")>-1&&ke(a)?!0:y.test(a):ke(a)}function De(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var pe=/[\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 x(a){return a.charCodeAt(0)>=768&&pe.test(a)}function me(a,y,ee){for(;(ee<0?y>0:y<a.length)&&x(a.charAt(y));)y+=ee;return y}function Le(a,y,ee){for(var z=y>ee?-1:1;;){if(y==ee)return y;var ce=(y+ee)/2,Ue=z<0?Math.ceil(ce):Math.floor(ce);if(Ue==y)return a(Ue)?y:ee;a(Ue)?ee=Ue:y=Ue+z}}function Se(a,y,ee,z){if(!a)return z(y,ee,"ltr",0);for(var ce=!1,Ue=0;Ue<a.length;++Ue){var rt=a[Ue];(rt.from<ee&&rt.to>y||y==ee&&rt.to==y)&&(z(Math.max(rt.from,y),Math.min(rt.to,ee),rt.level==1?"rtl":"ltr",Ue),ce=!0)}ce||z(y,ee,"ltr")}var Be=null;function Qe(a,y,ee){var z;Be=null;for(var ce=0;ce<a.length;++ce){var Ue=a[ce];if(Ue.from<y&&Ue.to>y)return ce;Ue.to==y&&(Ue.from!=Ue.to&&ee=="before"?z=ce:Be=ce),Ue.from==y&&(Ue.from!=Ue.to&&ee!="before"?z=ce:Be=ce)}return z!=null?z:Be}var it=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ee(At){return At<=247?a.charAt(At):1424<=At&&At<=1524?"R":1536<=At&&At<=1785?y.charAt(At-1536):1774<=At&&At<=2220?"r":8192<=At&&At<=8203?"w":At==8204?"b":"L"}var z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ce=/[stwN]/,Ue=/[LRr]/,rt=/[Lb1n]/,dt=/[1n]/;function bt(At,un,Sn){this.level=At,this.from=un,this.to=Sn}return function(At,un){var Sn=un=="ltr"?"L":"R";if(At.length==0||un=="ltr"&&!z.test(At))return!1;for(var rr=At.length,Vn=[],Or=0;Or<rr;++Or)Vn.push(ee(At.charCodeAt(Or)));for(var _r=0,oi=Sn;_r<rr;++_r){var gi=Vn[_r];gi=="m"?Vn[_r]=oi:oi=gi}for(var Oi=0,mi=Sn;Oi<rr;++Oi){var ki=Vn[Oi];ki=="1"&&mi=="r"?Vn[Oi]="n":Ue.test(ki)&&(mi=ki,ki=="r"&&(Vn[Oi]="R"))}for(var eo=1,Yi=Vn[0];eo<rr-1;++eo){var Do=Vn[eo];Do=="+"&&Yi=="1"&&Vn[eo+1]=="1"?Vn[eo]="1":Do==","&&Yi==Vn[eo+1]&&(Yi=="1"||Yi=="n")&&(Vn[eo]=Yi),Yi=Do}for(var ra=0;ra<rr;++ra){var _a=Vn[ra];if(_a==",")Vn[ra]="N";else if(_a=="%"){var va=void 0;for(va=ra+1;va<rr&&Vn[va]=="%";++va);for(var ws=ra&&Vn[ra-1]=="!"||va<rr&&Vn[va]=="1"?"1":"N",ds=ra;ds<va;++ds)Vn[ds]=ws;ra=va-1}}for(var Oa=0,as=Sn;Oa<rr;++Oa){var Xa=Vn[Oa];as=="L"&&Xa=="1"?Vn[Oa]="L":Ue.test(Xa)&&(as=Xa)}for(var za=0;za<rr;++za)if(ce.test(Vn[za])){var xa=void 0;for(xa=za+1;xa<rr&&ce.test(Vn[xa]);++xa);for(var ga=(za?Vn[za-1]:Sn)=="L",fs=(xa<rr?Vn[xa]:Sn)=="L",tu=ga==fs?ga?"L":"R":Sn,Cl=za;Cl<xa;++Cl)Vn[Cl]=tu;za=xa-1}for(var ts=[],Hs,he=0;he<rr;)if(rt.test(Vn[he])){var xe=he;for(++he;he<rr&&rt.test(Vn[he]);++he);ts.push(new bt(0,xe,he))}else{var ze=he,et=ts.length,vt=un=="rtl"?1:0;for(++he;he<rr&&Vn[he]!="L";++he);for(var gt=ze;gt<he;)if(dt.test(Vn[gt])){ze<gt&&(ts.splice(et,0,new bt(1,ze,gt)),et+=vt);var St=gt;for(++gt;gt<he&&dt.test(Vn[gt]);++gt);ts.splice(et,0,new bt(2,St,gt)),et+=vt,ze=gt}else++gt;ze<he&&ts.splice(et,0,new bt(1,ze,he))}return un=="ltr"&&(ts[0].level==1&&(Hs=At.match(/^\s+/))&&(ts[0].from=Hs[0].length,ts.unshift(new bt(0,0,Hs[0].length))),xt(ts).level==1&&(Hs=At.match(/\s+$/))&&(xt(ts).to-=Hs[0].length,ts.push(new bt(0,rr-Hs[0].length,rr)))),un=="rtl"?ts.reverse():ts}}();function ot(a,y){var ee=a.order;return ee==null&&(ee=a.order=it(a.text,y)),ee}var at=[],Mt=function(a,y,ee){if(a.addEventListener)a.addEventListener(y,ee,!1);else if(a.attachEvent)a.attachEvent("on"+y,ee);else{var z=a._handlers||(a._handlers={});z[y]=(z[y]||at).concat(ee)}};function Rt(a,y){return a._handlers&&a._handlers[y]||at}function tn(a,y,ee){if(a.removeEventListener)a.removeEventListener(y,ee,!1);else if(a.detachEvent)a.detachEvent("on"+y,ee);else{var z=a._handlers,ce=z&&z[y];if(ce){var Ue=Ge(ce,ee);Ue>-1&&(z[y]=ce.slice(0,Ue).concat(ce.slice(Ue+1)))}}}function qt(a,y){var ee=Rt(a,y);if(ee.length)for(var z=Array.prototype.slice.call(arguments,2),ce=0;ce<ee.length;++ce)ee[ce].apply(null,z)}function Bt(a,y,ee){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),qt(a,ee||y.type,a,y),yn(y)||y.codemirrorIgnore}function hn(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var ee=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),z=0;z<y.length;++z)Ge(ee,y[z])==-1&&ee.push(y[z])}function $t(a,y){return Rt(a,y).length>0}function Ct(a){a.prototype.on=function(y,ee){Mt(this,y,ee)},a.prototype.off=function(y,ee){tn(this,y,ee)}}function jt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function ln(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function yn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Et(a){jt(a),ln(a)}function Wt(a){return a.target||a.srcElement}function Jt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Ee&&a.ctrlKey&&y==1&&(y=3),y}var bn=function(){if(de&&ve<9)return!1;var a=Ke("div");return"draggable"in a||"dragDrop"in a}(),kn;function tr(a){if(kn==null){var y=Ke("span","\u200B");Oe(a,Ke("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(kn=y.offsetWidth<=1&&y.offsetHeight>2&&!(de&&ve<8))}var ee=kn?Ke("span","\u200B"):Ke("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ee.setAttribute("cm-text",""),ee}var pr;function xr(a){if(pr!=null)return pr;var y=Oe(a,document.createTextNode("A\u062EA")),ee=Ne(y,0,1).getBoundingClientRect(),z=Ne(y,1,2).getBoundingClientRect();return _e(a),!ee||ee.left==ee.right?!1:pr=z.right-ee.right<3}var Yn=`
b`.split(/\n/).length!=3?function(a){for(var y=0,ee=[],z=a.length;y<=z;){var ce=a.indexOf(`
`,y);ce==-1&&(ce=a.length);var Ue=a.slice(y,a.charAt(ce-1)=="\r"?ce-1:ce),rt=Ue.indexOf("\r");rt!=-1?(ee.push(Ue.slice(0,rt)),y+=rt+1):(ee.push(Ue),y=ce+1)}return ee}:function(a){return a.split(/\r\n?|\n/)},mr=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(ee){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Wn=function(){var a=Ke("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),xn=null;function Pn(a){if(xn!=null)return xn;var y=Oe(a,Ke("span","x")),ee=y.getBoundingClientRect(),z=Ne(y,0,1).getBoundingClientRect();return xn=Math.abs(ee.left-z.left)>1}var Tn={},In={};function Kn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),Tn[a]=y}function jn(a,y){In[a]=y}function nr(a){if(typeof a=="string"&&In.hasOwnProperty(a))a=In[a];else if(a&&typeof a.name=="string"&&In.hasOwnProperty(a.name)){var y=In[a.name];typeof y=="string"&&(y={name:y}),a=ue(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return nr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return nr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Cr(a,y){y=nr(y);var ee=Tn[y.name];if(!ee)return Cr(a,"text/plain");var z=ee(a,y);if(Sr.hasOwnProperty(y.name)){var ce=Sr[y.name];for(var Ue in ce)ce.hasOwnProperty(Ue)&&(z.hasOwnProperty(Ue)&&(z["_"+Ue]=z[Ue]),z[Ue]=ce[Ue])}if(z.name=y.name,y.helperType&&(z.helperType=y.helperType),y.modeProps)for(var rt in y.modeProps)z[rt]=y.modeProps[rt];return z}var Sr={};function Er(a,y){var ee=Sr.hasOwnProperty(a)?Sr[a]:Sr[a]={};Ot(y,ee)}function Nr(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var ee={};for(var z in y){var ce=y[z];ce instanceof Array&&(ce=ce.concat([])),ee[z]=ce}return ee}function Tr(a,y){for(var ee;a.innerMode&&(ee=a.innerMode(y),!(!ee||ee.mode==a));)y=ee.state,a=ee.mode;return ee||{mode:a,state:y}}function zr(a,y,ee){return a.startState?a.startState(y,ee):!0}var Rr=function(a,y,ee){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ee};Rr.prototype.eol=function(){return this.pos>=this.string.length},Rr.prototype.sol=function(){return this.pos==this.lineStart},Rr.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Rr.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Rr.prototype.eat=function(a){var y=this.string.charAt(this.pos),ee;if(typeof a=="string"?ee=y==a:ee=y&&(a.test?a.test(y):a(y)),ee)return++this.pos,y},Rr.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Rr.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Rr.prototype.skipToEnd=function(){this.pos=this.string.length},Rr.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Rr.prototype.backUp=function(a){this.pos-=a},Rr.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=nt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?nt(this.string,this.lineStart,this.tabSize):0)},Rr.prototype.indentation=function(){return nt(this.string,null,this.tabSize)-(this.lineStart?nt(this.string,this.lineStart,this.tabSize):0)},Rr.prototype.match=function(a,y,ee){if(typeof a=="string"){var z=function(rt){return ee?rt.toLowerCase():rt},ce=this.string.substr(this.pos,a.length);if(z(ce)==z(a))return y!==!1&&(this.pos+=a.length),!0}else{var Ue=this.string.slice(this.pos).match(a);return Ue&&Ue.index>0?null:(Ue&&y!==!1&&(this.pos+=Ue[0].length),Ue)}},Rr.prototype.current=function(){return this.string.slice(this.start,this.pos)},Rr.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Rr.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Rr.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Ln(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var ee=a;!ee.lines;)for(var z=0;;++z){var ce=ee.children[z],Ue=ce.chunkSize();if(y<Ue){ee=ce;break}y-=Ue}return ee.lines[y]}function Qn(a,y,ee){var z=[],ce=y.line;return a.iter(y.line,ee.line+1,function(Ue){var rt=Ue.text;ce==ee.line&&(rt=rt.slice(0,ee.ch)),ce==y.line&&(rt=rt.slice(y.ch)),z.push(rt),++ce}),z}function Ar(a,y,ee){var z=[];return a.iter(y,ee,function(ce){z.push(ce.text)}),z}function wr(a,y){var ee=y-a.height;if(ee)for(var z=a;z;z=z.parent)z.height+=ee}function zt(a){if(a.parent==null)return null;for(var y=a.parent,ee=Ge(y.lines,a),z=y.parent;z;y=z,z=z.parent)for(var ce=0;z.children[ce]!=y;++ce)ee+=z.children[ce].chunkSize();return ee+y.first}function It(a,y){var ee=a.first;e:do{for(var z=0;z<a.children.length;++z){var ce=a.children[z],Ue=ce.height;if(y<Ue){a=ce;continue e}y-=Ue,ee+=ce.chunkSize()}return ee}while(!a.lines);for(var rt=0;rt<a.lines.length;++rt){var dt=a.lines[rt],bt=dt.height;if(y<bt)break;y-=bt}return ee+rt}function Dt(a,y){return y>=a.first&&y<a.first+a.size}function Vt(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Nt(a,y,ee){if(ee===void 0&&(ee=null),!(this instanceof Nt))return new Nt(a,y,ee);this.line=a,this.ch=y,this.sticky=ee}function Kt(a,y){return a.line-y.line||a.ch-y.ch}function ut(a,y){return a.sticky==y.sticky&&Kt(a,y)==0}function Qt(a){return Nt(a.line,a.ch)}function on(a,y){return Kt(a,y)<0?y:a}function an(a,y){return Kt(a,y)<0?a:y}function Xt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Yt(a,y){if(y.line<a.first)return Nt(a.first,0);var ee=a.first+a.size-1;return y.line>ee?Nt(ee,Ln(a,ee).text.length):Gt(y,Ln(a,y.line).text.length)}function Gt(a,y){var ee=a.ch;return ee==null||ee>y?Nt(a.line,y):ee<0?Nt(a.line,0):a}function dn(a,y){for(var ee=[],z=0;z<y.length;z++)ee[z]=Yt(a,y[z]);return ee}var ur=function(a,y){this.state=a,this.lookAhead=y},Zt=function(a,y,ee,z){this.state=y,this.doc=a,this.line=ee,this.maxLookAhead=z||0,this.baseTokens=null,this.baseTokenPos=1};Zt.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Zt.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Zt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Zt.fromSaved=function(a,y,ee){return y instanceof ur?new Zt(a,Nr(a.mode,y.state),ee,y.lookAhead):new Zt(a,Nr(a.mode,y),ee)},Zt.prototype.save=function(a){var y=a!==!1?Nr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ur(y,this.maxLookAhead):y};function nn(a,y,ee,z){var ce=[a.state.modeGen],Ue={};Zn(a,y.text,a.doc.mode,ee,function(At,un){return ce.push(At,un)},Ue,z);for(var rt=ee.state,dt=function(At){ee.baseTokens=ce;var un=a.state.overlays[At],Sn=1,rr=0;ee.state=!0,Zn(a,y.text,un.mode,ee,function(Vn,Or){for(var _r=Sn;rr<Vn;){var oi=ce[Sn];oi>Vn&&ce.splice(Sn,1,Vn,ce[Sn+1],oi),Sn+=2,rr=Math.min(Vn,oi)}if(Or)if(un.opaque)ce.splice(_r,Sn-_r,Vn,"overlay "+Or),Sn=_r+2;else for(;_r<Sn;_r+=2){var gi=ce[_r+1];ce[_r+1]=(gi?gi+" ":"")+"overlay "+Or}},Ue),ee.state=rt,ee.baseTokens=null,ee.baseTokenPos=1},bt=0;bt<a.state.overlays.length;++bt)dt(bt);return{styles:ce,classes:Ue.bgClass||Ue.textClass?Ue:null}}function Cn(a,y,ee){if(!y.styles||y.styles[0]!=a.state.modeGen){var z=Ht(a,zt(y)),ce=y.text.length>a.options.maxHighlightLength&&Nr(a.doc.mode,z.state),Ue=nn(a,y,z);ce&&(z.state=ce),y.stateAfter=z.save(!ce),y.styles=Ue.styles,Ue.classes?y.styleClasses=Ue.classes:y.styleClasses&&(y.styleClasses=null),ee===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function Ht(a,y,ee){var z=a.doc,ce=a.display;if(!z.mode.startState)return new Zt(z,!0,y);var Ue=zn(a,y,ee),rt=Ue>z.first&&Ln(z,Ue-1).stateAfter,dt=rt?Zt.fromSaved(z,rt,Ue):new Zt(z,zr(z.mode),Ue);return z.iter(Ue,y,function(bt){Ft(a,bt.text,dt);var At=dt.line;bt.stateAfter=At==y-1||At%5==0||At>=ce.viewFrom&&At<ce.viewTo?dt.save():null,dt.nextLine()}),ee&&(z.modeFrontier=dt.line),dt}function Ft(a,y,ee,z){var ce=a.doc.mode,Ue=new Rr(y,a.options.tabSize,ee);for(Ue.start=Ue.pos=z||0,y==""&&fn(ce,ee.state);!Ue.eol();)wn(ce,Ue,ee.state),Ue.start=Ue.pos}function fn(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var ee=Tr(a,y);if(ee.mode.blankLine)return ee.mode.blankLine(ee.state)}}function wn(a,y,ee,z){for(var ce=0;ce<10;ce++){z&&(z[0]=Tr(a,ee).mode);var Ue=a.token(y,ee);if(y.pos>y.start)return Ue}throw new Error("Mode "+a.name+" failed to advance stream.")}var vn=function(a,y,ee){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=ee};function An(a,y,ee,z){var ce=a.doc,Ue=ce.mode,rt;y=Yt(ce,y);var dt=Ln(ce,y.line),bt=Ht(a,y.line,ee),At=new Rr(dt.text,a.options.tabSize,bt),un;for(z&&(un=[]);(z||At.pos<y.ch)&&!At.eol();)At.start=At.pos,rt=wn(Ue,At,bt.state),z&&un.push(new vn(At,rt,Nr(ce.mode,bt.state)));return z?un:new vn(At,rt,bt.state)}function Rn(a,y){if(a)for(;;){var ee=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ee)break;a=a.slice(0,ee.index)+a.slice(ee.index+ee[0].length);var z=ee[1]?"bgClass":"textClass";y[z]==null?y[z]=ee[2]:new RegExp("(?:^|\\s)"+ee[2]+"(?:$|\\s)").test(y[z])||(y[z]+=" "+ee[2])}return a}function Zn(a,y,ee,z,ce,Ue,rt){var dt=ee.flattenSpans;dt==null&&(dt=a.options.flattenSpans);var bt=0,At=null,un=new Rr(y,a.options.tabSize,z),Sn,rr=a.options.addModeClass&&[null];for(y==""&&Rn(fn(ee,z.state),Ue);!un.eol();){if(un.pos>a.options.maxHighlightLength?(dt=!1,rt&&Ft(a,y,z,un.pos),un.pos=y.length,Sn=null):Sn=Rn(wn(ee,un,z.state,rr),Ue),rr){var Vn=rr[0].name;Vn&&(Sn="m-"+(Sn?Vn+" "+Sn:Vn))}if(!dt||At!=Sn){for(;bt<un.start;)bt=Math.min(un.start,bt+5e3),ce(bt,At);At=Sn}un.start=un.pos}for(;bt<un.pos;){var Or=Math.min(un.pos,bt+5e3);ce(Or,At),bt=Or}}function zn(a,y,ee){for(var z,ce,Ue=a.doc,rt=ee?-1:y-(a.doc.mode.innerMode?1e3:100),dt=y;dt>rt;--dt){if(dt<=Ue.first)return Ue.first;var bt=Ln(Ue,dt-1),At=bt.stateAfter;if(At&&(!ee||dt+(At instanceof ur?At.lookAhead:0)<=Ue.modeFrontier))return dt;var un=nt(bt.text,null,a.options.tabSize);(ce==null||z>un)&&(ce=dt-1,z=un)}return ce}function Un(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var ee=a.first,z=y-1;z>ee;z--){var ce=Ln(a,z).stateAfter;if(ce&&(!(ce instanceof ur)||z+ce.lookAhead<y)){ee=z+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,ee)}}var ar=!1,Fn=!1;function ir(){ar=!0}function Ir(){Fn=!0}function Lr(a,y,ee){this.marker=a,this.from=y,this.to=ee}function Fr(a,y){if(a)for(var ee=0;ee<a.length;++ee){var z=a[ee];if(z.marker==y)return z}}function vr(a,y){for(var ee,z=0;z<a.length;++z)a[z]!=y&&(ee||(ee=[])).push(a[z]);return ee}function Dr(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function Ur(a,y,ee){var z;if(a)for(var ce=0;ce<a.length;++ce){var Ue=a[ce],rt=Ue.marker,dt=Ue.from==null||(rt.inclusiveLeft?Ue.from<=y:Ue.from<y);if(dt||Ue.from==y&&rt.type=="bookmark"&&(!ee||!Ue.marker.insertLeft)){var bt=Ue.to==null||(rt.inclusiveRight?Ue.to>=y:Ue.to>y);(z||(z=[])).push(new Lr(rt,Ue.from,bt?null:Ue.to))}}return z}function gr(a,y,ee){var z;if(a)for(var ce=0;ce<a.length;++ce){var Ue=a[ce],rt=Ue.marker,dt=Ue.to==null||(rt.inclusiveRight?Ue.to>=y:Ue.to>y);if(dt||Ue.from==y&&rt.type=="bookmark"&&(!ee||Ue.marker.insertLeft)){var bt=Ue.from==null||(rt.inclusiveLeft?Ue.from<=y:Ue.from<y);(z||(z=[])).push(new Lr(rt,bt?null:Ue.from-y,Ue.to==null?null:Ue.to-y))}}return z}function Zr(a,y){if(y.full)return null;var ee=Dt(a,y.from.line)&&Ln(a,y.from.line).markedSpans,z=Dt(a,y.to.line)&&Ln(a,y.to.line).markedSpans;if(!ee&&!z)return null;var ce=y.from.ch,Ue=y.to.ch,rt=Kt(y.from,y.to)==0,dt=Ur(ee,ce,rt),bt=gr(z,Ue,rt),At=y.text.length==1,un=xt(y.text).length+(At?ce:0);if(dt)for(var Sn=0;Sn<dt.length;++Sn){var rr=dt[Sn];if(rr.to==null){var Vn=Fr(bt,rr.marker);Vn?At&&(rr.to=Vn.to==null?null:Vn.to+un):rr.to=ce}}if(bt)for(var Or=0;Or<bt.length;++Or){var _r=bt[Or];if(_r.to!=null&&(_r.to+=un),_r.from==null){var oi=Fr(dt,_r.marker);oi||(_r.from=un,At&&(dt||(dt=[])).push(_r))}else _r.from+=un,At&&(dt||(dt=[])).push(_r)}dt&&(dt=jr(dt)),bt&&bt!=dt&&(bt=jr(bt));var gi=[dt];if(!At){var Oi=y.text.length-2,mi;if(Oi>0&&dt)for(var ki=0;ki<dt.length;++ki)dt[ki].to==null&&(mi||(mi=[])).push(new Lr(dt[ki].marker,null,null));for(var eo=0;eo<Oi;++eo)gi.push(mi);gi.push(bt)}return gi}function jr(a){for(var y=0;y<a.length;++y){var ee=a[y];ee.from!=null&&ee.from==ee.to&&ee.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function yi(a,y,ee){var z=null;if(a.iter(y.line,ee.line+1,function(Vn){if(Vn.markedSpans)for(var Or=0;Or<Vn.markedSpans.length;++Or){var _r=Vn.markedSpans[Or].marker;_r.readOnly&&(!z||Ge(z,_r)==-1)&&(z||(z=[])).push(_r)}}),!z)return null;for(var ce=[{from:y,to:ee}],Ue=0;Ue<z.length;++Ue)for(var rt=z[Ue],dt=rt.find(0),bt=0;bt<ce.length;++bt){var At=ce[bt];if(!(Kt(At.to,dt.from)<0||Kt(At.from,dt.to)>0)){var un=[bt,1],Sn=Kt(At.from,dt.from),rr=Kt(At.to,dt.to);(Sn<0||!rt.inclusiveLeft&&!Sn)&&un.push({from:At.from,to:dt.from}),(rr>0||!rt.inclusiveRight&&!rr)&&un.push({from:dt.to,to:At.to}),ce.splice.apply(ce,un),bt+=un.length-3}}return ce}function Yr(a){var y=a.markedSpans;if(y){for(var ee=0;ee<y.length;++ee)y[ee].marker.detachLine(a);a.markedSpans=null}}function Kr(a,y){if(y){for(var ee=0;ee<y.length;++ee)y[ee].marker.attachLine(a);a.markedSpans=y}}function si(a){return a.inclusiveLeft?-1:0}function ni(a){return a.inclusiveRight?1:0}function Mr(a,y){var ee=a.lines.length-y.lines.length;if(ee!=0)return ee;var z=a.find(),ce=y.find(),Ue=Kt(z.from,ce.from)||si(a)-si(y);if(Ue)return-Ue;var rt=Kt(z.to,ce.to)||ni(a)-ni(y);return rt||y.id-a.id}function Vr(a,y){var ee=Fn&&a.markedSpans,z;if(ee)for(var ce=void 0,Ue=0;Ue<ee.length;++Ue)ce=ee[Ue],ce.marker.collapsed&&(y?ce.from:ce.to)==null&&(!z||Mr(z,ce.marker)<0)&&(z=ce.marker);return z}function yr(a){return Vr(a,!0)}function Jn(a){return Vr(a,!1)}function sr(a,y){var ee=Fn&&a.markedSpans,z;if(ee)for(var ce=0;ce<ee.length;++ce){var Ue=ee[ce];Ue.marker.collapsed&&(Ue.from==null||Ue.from<y)&&(Ue.to==null||Ue.to>y)&&(!z||Mr(z,Ue.marker)<0)&&(z=Ue.marker)}return z}function hr(a,y,ee,z,ce){var Ue=Ln(a,y),rt=Fn&&Ue.markedSpans;if(rt)for(var dt=0;dt<rt.length;++dt){var bt=rt[dt];if(bt.marker.collapsed){var At=bt.marker.find(0),un=Kt(At.from,ee)||si(bt.marker)-si(ce),Sn=Kt(At.to,z)||ni(bt.marker)-ni(ce);if(!(un>=0&&Sn<=0||un<=0&&Sn>=0)&&(un<=0&&(bt.marker.inclusiveRight&&ce.inclusiveLeft?Kt(At.to,ee)>=0:Kt(At.to,ee)>0)||un>=0&&(bt.marker.inclusiveRight&&ce.inclusiveLeft?Kt(At.from,z)<=0:Kt(At.from,z)<0)))return!0}}}function Gn(a){for(var y;y=yr(a);)a=y.find(-1,!0).line;return a}function kr(a){for(var y;y=Jn(a);)a=y.find(1,!0).line;return a}function Br(a){for(var y,ee;y=Jn(a);)a=y.find(1,!0).line,(ee||(ee=[])).push(a);return ee}function _t(a,y){var ee=Ln(a,y),z=Gn(ee);return ee==z?y:zt(z)}function Bn(a,y){if(y>a.lastLine())return y;var ee=Ln(a,y),z;if(!Xn(a,ee))return y;for(;z=Jn(ee);)ee=z.find(1,!0).line;return zt(ee)+1}function Xn(a,y){var ee=Fn&&y.markedSpans;if(ee){for(var z=void 0,ce=0;ce<ee.length;++ce)if(z=ee[ce],!!z.marker.collapsed){if(z.from==null)return!0;if(!z.marker.widgetNode&&z.from==0&&z.marker.inclusiveLeft&&fr(a,y,z))return!0}}}function fr(a,y,ee){if(ee.to==null){var z=ee.marker.find(1,!0);return fr(a,z.line,Fr(z.line.markedSpans,ee.marker))}if(ee.marker.inclusiveRight&&ee.to==y.text.length)return!0;for(var ce=void 0,Ue=0;Ue<y.markedSpans.length;++Ue)if(ce=y.markedSpans[Ue],ce.marker.collapsed&&!ce.marker.widgetNode&&ce.from==ee.to&&(ce.to==null||ce.to!=ee.from)&&(ce.marker.inclusiveLeft||ee.marker.inclusiveRight)&&fr(a,y,ce))return!0}function Wr(a){a=Gn(a);for(var y=0,ee=a.parent,z=0;z<ee.lines.length;++z){var ce=ee.lines[z];if(ce==a)break;y+=ce.height}for(var Ue=ee.parent;Ue;ee=Ue,Ue=ee.parent)for(var rt=0;rt<Ue.children.length;++rt){var dt=Ue.children[rt];if(dt==ee)break;y+=dt.height}return y}function Qr(a){if(a.height==0)return 0;for(var y=a.text.length,ee,z=a;ee=yr(z);){var ce=ee.find(0,!0);z=ce.from.line,y+=ce.from.ch-ce.to.ch}for(z=a;ee=Jn(z);){var Ue=ee.find(0,!0);y-=z.text.length-Ue.from.ch,z=Ue.to.line,y+=z.text.length-Ue.to.ch}return y}function Xr(a){var y=a.display,ee=a.doc;y.maxLine=Ln(ee,ee.first),y.maxLineLength=Qr(y.maxLine),y.maxLineChanged=!0,ee.iter(function(z){var ce=Qr(z);ce>y.maxLineLength&&(y.maxLineLength=ce,y.maxLine=z)})}var Fi=function(a,y,ee){this.text=a,Kr(this,y),this.height=ee?ee(this):1};Fi.prototype.lineNo=function(){return zt(this)},Ct(Fi);function or(a,y,ee,z){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Yr(a),Kr(a,ee);var ce=z?z(a):1;ce!=a.height&&wr(a,ce)}function Ti(a){a.parent=null,Yr(a)}var hi={},Ei={};function Li(a,y){if(!a||/^\s*$/.test(a))return null;var ee=y.addModeClass?Ei:hi;return ee[a]||(ee[a]=a.replace(/\S+/g,"cm-$&"))}function Ai(a,y){var ee=We("span",null,null,re?"padding-right: .1px":null),z={pre:We("pre",[ee],"CodeMirror-line"),content:ee,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var ce=0;ce<=(y.rest?y.rest.length:0);ce++){var Ue=ce?y.rest[ce-1]:y.line,rt=void 0;z.pos=0,z.addToken=So,xr(a.display.measure)&&(rt=ot(Ue,a.doc.direction))&&(z.addToken=io(z.addToken,rt)),z.map=[];var dt=y!=a.display.externalMeasured&&zt(Ue);li(Ue,z,Cn(a,Ue,dt)),Ue.styleClasses&&(Ue.styleClasses.bgClass&&(z.bgClass=lt(Ue.styleClasses.bgClass,z.bgClass||"")),Ue.styleClasses.textClass&&(z.textClass=lt(Ue.styleClasses.textClass,z.textClass||""))),z.map.length==0&&z.map.push(0,0,z.content.appendChild(tr(a.display.measure))),ce==0?(y.measure.map=z.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(z.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(re){var bt=z.content.lastChild;(/\bcm-tab\b/.test(bt.className)||bt.querySelector&&bt.querySelector(".cm-tab"))&&(z.content.className="cm-tab-wrap-hack")}return qt(a,"renderLine",a,y.line,z.pre),z.pre.className&&(z.textClass=lt(z.pre.className,z.textClass||"")),z}function ro(a){var y=Ke("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function So(a,y,ee,z,ce,Ue,rt){if(y){var dt=a.splitSpaces?Qi(y,a.trailingSpace):y,bt=a.cm.state.specialChars,At=!1,un;if(!bt.test(y))a.col+=y.length,un=document.createTextNode(dt),a.map.push(a.pos,a.pos+y.length,un),de&&ve<9&&(At=!0),a.pos+=y.length;else{un=document.createDocumentFragment();for(var Sn=0;;){bt.lastIndex=Sn;var rr=bt.exec(y),Vn=rr?rr.index-Sn:y.length-Sn;if(Vn){var Or=document.createTextNode(dt.slice(Sn,Sn+Vn));de&&ve<9?un.appendChild(Ke("span",[Or])):un.appendChild(Or),a.map.push(a.pos,a.pos+Vn,Or),a.col+=Vn,a.pos+=Vn}if(!rr)break;Sn+=Vn+1;var _r=void 0;if(rr[0]==" "){var oi=a.cm.options.tabSize,gi=oi-a.col%oi;_r=un.appendChild(Ke("span",Tt(gi),"cm-tab")),_r.setAttribute("role","presentation"),_r.setAttribute("cm-text"," "),a.col+=gi}else rr[0]=="\r"||rr[0]==`
`?(_r=un.appendChild(Ke("span",rr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),_r.setAttribute("cm-text",rr[0]),a.col+=1):(_r=a.cm.options.specialCharPlaceholder(rr[0]),_r.setAttribute("cm-text",rr[0]),de&&ve<9?un.appendChild(Ke("span",[_r])):un.appendChild(_r),a.col+=1);a.map.push(a.pos,a.pos+1,_r),a.pos++}}if(a.trailingSpace=dt.charCodeAt(y.length-1)==32,ee||z||ce||At||Ue||rt){var Oi=ee||"";z&&(Oi+=z),ce&&(Oi+=ce);var mi=Ke("span",[un],Oi,Ue);if(rt)for(var ki in rt)rt.hasOwnProperty(ki)&&ki!="style"&&ki!="class"&&mi.setAttribute(ki,rt[ki]);return a.content.appendChild(mi)}a.content.appendChild(un)}}function Qi(a,y){if(a.length>1&&!/ /.test(a))return a;for(var ee=y,z="",ce=0;ce<a.length;ce++){var Ue=a.charAt(ce);Ue==" "&&ee&&(ce==a.length-1||a.charCodeAt(ce+1)==32)&&(Ue="\xA0"),z+=Ue,ee=Ue==" "}return z}function io(a,y){return function(ee,z,ce,Ue,rt,dt,bt){ce=ce?ce+" cm-force-border":"cm-force-border";for(var At=ee.pos,un=At+z.length;;){for(var Sn=void 0,rr=0;rr<y.length&&(Sn=y[rr],!(Sn.to>At&&Sn.from<=At));rr++);if(Sn.to>=un)return a(ee,z,ce,Ue,rt,dt,bt);a(ee,z.slice(0,Sn.to-At),ce,Ue,null,dt,bt),Ue=null,z=z.slice(Sn.to-At),At=Sn.to}}}function ti(a,y,ee,z){var ce=!z&&ee.widgetNode;ce&&a.map.push(a.pos,a.pos+y,ce),!z&&a.cm.display.input.needsContentAttribute&&(ce||(ce=a.content.appendChild(document.createElement("span"))),ce.setAttribute("cm-marker",ee.id)),ce&&(a.cm.display.input.setUneditable(ce),a.content.appendChild(ce)),a.pos+=y,a.trailingSpace=!1}function li(a,y,ee){var z=a.markedSpans,ce=a.text,Ue=0;if(!z){for(var rt=1;rt<ee.length;rt+=2)y.addToken(y,ce.slice(Ue,Ue=ee[rt]),Li(ee[rt+1],y.cm.options));return}for(var dt=ce.length,bt=0,At=1,un="",Sn,rr,Vn=0,Or,_r,oi,gi,Oi;;){if(Vn==bt){Or=_r=oi=rr="",Oi=null,gi=null,Vn=1/0;for(var mi=[],ki=void 0,eo=0;eo<z.length;++eo){var Yi=z[eo],Do=Yi.marker;if(Do.type=="bookmark"&&Yi.from==bt&&Do.widgetNode)mi.push(Do);else if(Yi.from<=bt&&(Yi.to==null||Yi.to>bt||Do.collapsed&&Yi.to==bt&&Yi.from==bt)){if(Yi.to!=null&&Yi.to!=bt&&Vn>Yi.to&&(Vn=Yi.to,_r=""),Do.className&&(Or+=" "+Do.className),Do.css&&(rr=(rr?rr+";":"")+Do.css),Do.startStyle&&Yi.from==bt&&(oi+=" "+Do.startStyle),Do.endStyle&&Yi.to==Vn&&(ki||(ki=[])).push(Do.endStyle,Yi.to),Do.title&&((Oi||(Oi={})).title=Do.title),Do.attributes)for(var ra in Do.attributes)(Oi||(Oi={}))[ra]=Do.attributes[ra];Do.collapsed&&(!gi||Mr(gi.marker,Do)<0)&&(gi=Yi)}else Yi.from>bt&&Vn>Yi.from&&(Vn=Yi.from)}if(ki)for(var _a=0;_a<ki.length;_a+=2)ki[_a+1]==Vn&&(_r+=" "+ki[_a]);if(!gi||gi.from==bt)for(var va=0;va<mi.length;++va)ti(y,0,mi[va]);if(gi&&(gi.from||0)==bt){if(ti(y,(gi.to==null?dt+1:gi.to)-bt,gi.marker,gi.from==null),gi.to==null)return;gi.to==bt&&(gi=!1)}}if(bt>=dt)break;for(var ws=Math.min(dt,Vn);;){if(un){var ds=bt+un.length;if(!gi){var Oa=ds>ws?un.slice(0,ws-bt):un;y.addToken(y,Oa,Sn?Sn+Or:Or,oi,bt+Oa.length==Vn?_r:"",rr,Oi)}if(ds>=ws){un=un.slice(ws-bt),bt=ws;break}bt=ds,oi=""}un=ce.slice(Ue,Ue=ee[At++]),Sn=Li(ee[At++],y.cm.options)}}}function qi(a,y,ee){this.line=y,this.rest=Br(y),this.size=this.rest?zt(xt(this.rest))-ee+1:1,this.node=this.text=null,this.hidden=Xn(a,y)}function ho(a,y,ee){for(var z=[],ce,Ue=y;Ue<ee;Ue=ce){var rt=new qi(a.doc,Ln(a.doc,Ue),Ue);ce=Ue+rt.size,z.push(rt)}return z}var ji=null;function oo(a){ji?ji.ops.push(a):a.ownsGroup=ji={ops:[a],delayedCallbacks:[]}}function uo(a){var y=a.delayedCallbacks,ee=0;do{for(;ee<y.length;ee++)y[ee].call(null);for(var z=0;z<a.ops.length;z++){var ce=a.ops[z];if(ce.cursorActivityHandlers)for(;ce.cursorActivityCalled<ce.cursorActivityHandlers.length;)ce.cursorActivityHandlers[ce.cursorActivityCalled++].call(null,ce.cm)}}while(ee<y.length)}function $i(a,y){var ee=a.ownsGroup;if(ee)try{uo(ee)}finally{ji=null,y(ee)}}var co=null;function so(a,y){var ee=Rt(a,y);if(ee.length){var z=Array.prototype.slice.call(arguments,2),ce;ji?ce=ji.delayedCallbacks:co?ce=co:(ce=co=[],setTimeout(jo,0));for(var Ue=function(dt){ce.push(function(){return ee[dt].apply(null,z)})},rt=0;rt<ee.length;++rt)Ue(rt)}}function jo(){var a=co;co=null;for(var y=0;y<a.length;++y)a[y]()}function Jo(a,y,ee,z){for(var ce=0;ce<y.changes.length;ce++){var Ue=y.changes[ce];Ue=="text"?Ya(a,y):Ue=="gutter"?to(a,y,ee,z):Ue=="class"?Hi(a,y):Ue=="widget"&&Zi(a,y,z)}y.changes=null}function Yo(a){return a.node==a.text&&(a.node=Ke("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),de&&ve<8&&(a.node.style.zIndex=2)),a.node}function Zo(a,y){var ee=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(ee&&(ee+=" CodeMirror-linebackground"),y.background)ee?y.background.className=ee:(y.background.parentNode.removeChild(y.background),y.background=null);else if(ee){var z=Yo(y);y.background=z.insertBefore(Ke("div",null,ee),z.firstChild),a.display.input.setUneditable(y.background)}}function ns(a,y){var ee=a.display.externalMeasured;return ee&&ee.line==y.line?(a.display.externalMeasured=null,y.measure=ee.measure,ee.built):Ai(a,y)}function Ya(a,y){var ee=y.text.className,z=ns(a,y);y.text==y.node&&(y.node=z.pre),y.text.parentNode.replaceChild(z.pre,y.text),y.text=z.pre,z.bgClass!=y.bgClass||z.textClass!=y.textClass?(y.bgClass=z.bgClass,y.textClass=z.textClass,Hi(a,y)):ee&&(y.text.className=ee)}function Hi(a,y){Zo(a,y),y.line.wrapClass?Yo(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var ee=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=ee||""}function to(a,y,ee,z){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var ce=Yo(y);y.gutterBackground=Ke("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?z.fixedPos:-z.gutterTotalWidth)+"px; width: "+z.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),ce.insertBefore(y.gutterBackground,y.text)}var Ue=y.line.gutterMarkers;if(a.options.lineNumbers||Ue){var rt=Yo(y),dt=y.gutter=Ke("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?z.fixedPos:-z.gutterTotalWidth)+"px");if(a.display.input.setUneditable(dt),rt.insertBefore(dt,y.text),y.line.gutterClass&&(dt.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!Ue||!Ue["CodeMirror-linenumbers"])&&(y.lineNumber=dt.appendChild(Ke("div",Vt(a.options,ee),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+z.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),Ue)for(var bt=0;bt<a.display.gutterSpecs.length;++bt){var At=a.display.gutterSpecs[bt].className,un=Ue.hasOwnProperty(At)&&Ue[At];un&&dt.appendChild(Ke("div",[un],"CodeMirror-gutter-elt","left: "+z.gutterLeft[At]+"px; width: "+z.gutterWidth[At]+"px"))}}}function Zi(a,y,ee){y.alignable&&(y.alignable=null);for(var z=Te("CodeMirror-linewidget"),ce=y.node.firstChild,Ue=void 0;ce;ce=Ue)Ue=ce.nextSibling,z.test(ce.className)&&y.node.removeChild(ce);bo(a,y,ee)}function Vi(a,y,ee,z){var ce=ns(a,y);return y.text=y.node=ce.pre,ce.bgClass&&(y.bgClass=ce.bgClass),ce.textClass&&(y.textClass=ce.textClass),Hi(a,y),to(a,y,ee,z),bo(a,y,z),y.node}function bo(a,y,ee){if($n(a,y.line,y,ee,!0),y.rest)for(var z=0;z<y.rest.length;z++)$n(a,y.rest[z],y,ee,!1)}function $n(a,y,ee,z,ce){if(y.widgets)for(var Ue=Yo(ee),rt=0,dt=y.widgets;rt<dt.length;++rt){var bt=dt[rt],At=Ke("div",[bt.node],"CodeMirror-linewidget"+(bt.className?" "+bt.className:""));bt.handleMouseEvents||At.setAttribute("cm-ignore-events","true"),Hr(bt,At,ee,z),a.display.input.setUneditable(At),ce&&bt.above?Ue.insertBefore(At,ee.gutter||ee.text):Ue.appendChild(At),so(bt,"redraw")}}function Hr(a,y,ee,z){if(a.noHScroll){(ee.alignable||(ee.alignable=[])).push(y);var ce=z.wrapperWidth;y.style.left=z.fixedPos+"px",a.coverGutter||(ce-=z.gutterTotalWidth,y.style.paddingLeft=z.gutterTotalWidth+"px"),y.style.width=ce+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-z.gutterTotalWidth+"px"))}function pi(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Ye(document.body,a.node)){var ee="position: relative;";a.coverGutter&&(ee+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(ee+="width: "+y.display.wrapper.clientWidth+"px;"),Oe(y.display.measure,Ke("div",[a.node],null,ee))}return a.height=a.node.parentNode.offsetHeight}function Xi(a,y){for(var ee=Wt(y);ee!=a.wrapper;ee=ee.parentNode)if(!ee||ee.nodeType==1&&ee.getAttribute("cm-ignore-events")=="true"||ee.parentNode==a.sizer&&ee!=a.mover)return!0}function xo(a){return a.lineSpace.offsetTop}function ya(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Na(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Oe(a.measure,Ke("pre","x","CodeMirror-line-like")),ee=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,z={left:parseInt(ee.paddingLeft),right:parseInt(ee.paddingRight)};return!isNaN(z.left)&&!isNaN(z.right)&&(a.cachedPaddingH=z),z}function To(a){return $e-a.display.nativeBarWidth}function aa(a){return a.display.scroller.clientWidth-To(a)-a.display.barWidth}function $a(a){return a.display.scroller.clientHeight-To(a)-a.display.barHeight}function Ia(a,y,ee){var z=a.options.lineWrapping,ce=z&&aa(a);if(!y.measure.heights||z&&y.measure.width!=ce){var Ue=y.measure.heights=[];if(z){y.measure.width=ce;for(var rt=y.text.firstChild.getClientRects(),dt=0;dt<rt.length-1;dt++){var bt=rt[dt],At=rt[dt+1];Math.abs(bt.bottom-At.bottom)>2&&Ue.push((bt.bottom+At.top)/2-ee.top)}}Ue.push(ee.bottom-ee.top)}}function Wa(a,y,ee){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var z=0;z<a.rest.length;z++)if(a.rest[z]==y)return{map:a.measure.maps[z],cache:a.measure.caches[z]};for(var ce=0;ce<a.rest.length;ce++)if(zt(a.rest[ce])>ee)return{map:a.measure.maps[ce],cache:a.measure.caches[ce],before:!0}}function Ps(a,y){y=Gn(y);var ee=zt(y),z=a.display.externalMeasured=new qi(a.doc,y,ee);z.lineN=ee;var ce=z.built=Ai(a,z);return z.text=ce.pre,Oe(a.display.lineMeasure,ce.pre),z}function Us(a,y,ee,z){return vs(a,Ca(a,y),ee,z)}function ms(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[bs(a,y)];var ee=a.display.externalMeasured;if(ee&&y>=ee.lineN&&y<ee.lineN+ee.size)return ee}function Ca(a,y){var ee=zt(y),z=ms(a,ee);z&&!z.text?z=null:z&&z.changes&&(Jo(a,z,ee,_s(a)),a.curOp.forceUpdate=!0),z||(z=Ps(a,y));var ce=Wa(z,y,ee);return{line:y,view:z,rect:null,map:ce.map,cache:ce.cache,before:ce.before,hasHeights:!1}}function vs(a,y,ee,z,ce){y.before&&(ee=-1);var Ue=ee+(z||""),rt;return y.cache.hasOwnProperty(Ue)?rt=y.cache[Ue]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Ia(a,y.view,y.rect),y.hasHeights=!0),rt=Hl(a,y,ee,z),rt.bogus||(y.cache[Ue]=rt)),{left:rt.left,right:rt.right,top:ce?rt.rtop:rt.top,bottom:ce?rt.rbottom:rt.bottom}}var iu={left:0,right:0,top:0,bottom:0};function Ss(a,y,ee){for(var z,ce,Ue,rt,dt,bt,At=0;At<a.length;At+=3)if(dt=a[At],bt=a[At+1],y<dt?(ce=0,Ue=1,rt="left"):y<bt?(ce=y-dt,Ue=ce+1):(At==a.length-3||y==bt&&a[At+3]>y)&&(Ue=bt-dt,ce=Ue-1,y>=bt&&(rt="right")),ce!=null){if(z=a[At+2],dt==bt&&ee==(z.insertLeft?"left":"right")&&(rt=ee),ee=="left"&&ce==0)for(;At&&a[At-2]==a[At-3]&&a[At-1].insertLeft;)z=a[(At-=3)+2],rt="left";if(ee=="right"&&ce==bt-dt)for(;At<a.length-3&&a[At+3]==a[At+4]&&!a[At+5].insertLeft;)z=a[(At+=3)+2],rt="right";break}return{node:z,start:ce,end:Ue,collapse:rt,coverStart:dt,coverEnd:bt}}function Dl(a,y){var ee=iu;if(y=="left")for(var z=0;z<a.length&&(ee=a[z]).left==ee.right;z++);else for(var ce=a.length-1;ce>=0&&(ee=a[ce]).left==ee.right;ce--);return ee}function Hl(a,y,ee,z){var ce=Ss(y.map,ee,z),Ue=ce.node,rt=ce.start,dt=ce.end,bt=ce.collapse,At;if(Ue.nodeType==3){for(var un=0;un<4;un++){for(;rt&&x(y.line.text.charAt(ce.coverStart+rt));)--rt;for(;ce.coverStart+dt<ce.coverEnd&&x(y.line.text.charAt(ce.coverStart+dt));)++dt;if(de&&ve<9&&rt==0&&dt==ce.coverEnd-ce.coverStart?At=Ue.parentNode.getBoundingClientRect():At=Dl(Ne(Ue,rt,dt).getClientRects(),z),At.left||At.right||rt==0)break;dt=rt,rt=rt-1,bt="right"}de&&ve<11&&(At=ku(a.display.measure,At))}else{rt>0&&(bt=z="right");var Sn;a.options.lineWrapping&&(Sn=Ue.getClientRects()).length>1?At=Sn[z=="right"?Sn.length-1:0]:At=Ue.getBoundingClientRect()}if(de&&ve<9&&!rt&&(!At||!At.left&&!At.right)){var rr=Ue.parentNode.getClientRects()[0];rr?At={left:rr.left,right:rr.left+Ja(a.display),top:rr.top,bottom:rr.bottom}:At=iu}for(var Vn=At.top-y.rect.top,Or=At.bottom-y.rect.top,_r=(Vn+Or)/2,oi=y.view.measure.heights,gi=0;gi<oi.length-1&&!(_r<oi[gi]);gi++);var Oi=gi?oi[gi-1]:0,mi=oi[gi],ki={left:(bt=="right"?At.right:At.left)-y.rect.left,right:(bt=="left"?At.left:At.right)-y.rect.left,top:Oi,bottom:mi};return!At.left&&!At.right&&(ki.bogus=!0),a.options.singleCursorHeightPerLine||(ki.rtop=Vn,ki.rbottom=Or),ki}function ku(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Pn(a))return y;var ee=screen.logicalXDPI/screen.deviceXDPI,z=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*ee,right:y.right*ee,top:y.top*z,bottom:y.bottom*z}}function Pl(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function Es(a){a.display.externalMeasure=null,_e(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)Pl(a.display.view[y])}function Js(a){Es(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Qs(){return fe&&be?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Tl(){return fe&&be?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function el(a){var y=0;if(a.widgets)for(var ee=0;ee<a.widgets.length;++ee)a.widgets[ee].above&&(y+=pi(a.widgets[ee]));return y}function Ol(a,y,ee,z,ce){if(!ce){var Ue=el(y);ee.top+=Ue,ee.bottom+=Ue}if(z=="line")return ee;z||(z="local");var rt=Wr(y);if(z=="local"?rt+=xo(a.display):rt-=a.display.viewOffset,z=="page"||z=="window"){var dt=a.display.lineSpace.getBoundingClientRect();rt+=dt.top+(z=="window"?0:Tl());var bt=dt.left+(z=="window"?0:Qs());ee.left+=bt,ee.right+=bt}return ee.top+=rt,ee.bottom+=rt,ee}function Zl(a,y,ee){if(ee=="div")return y;var z=y.left,ce=y.top;if(ee=="page")z-=Qs(),ce-=Tl();else if(ee=="local"||!ee){var Ue=a.display.sizer.getBoundingClientRect();z+=Ue.left,ce+=Ue.top}var rt=a.display.lineSpace.getBoundingClientRect();return{left:z-rt.left,top:ce-rt.top}}function Fs(a,y,ee,z,ce){return z||(z=Ln(a.doc,y.line)),Ol(a,z,Us(a,z,y.ch,ce),ee)}function ka(a,y,ee,z,ce,Ue){z=z||Ln(a.doc,y.line),ce||(ce=Ca(a,z));function rt(Or,_r){var oi=vs(a,ce,Or,_r?"right":"left",Ue);return _r?oi.left=oi.right:oi.right=oi.left,Ol(a,z,oi,ee)}var dt=ot(z,a.doc.direction),bt=y.ch,At=y.sticky;if(bt>=z.text.length?(bt=z.text.length,At="before"):bt<=0&&(bt=0,At="after"),!dt)return rt(At=="before"?bt-1:bt,At=="before");function un(Or,_r,oi){var gi=dt[_r],Oi=gi.level==1;return rt(oi?Or-1:Or,Oi!=oi)}var Sn=Qe(dt,bt,At),rr=Be,Vn=un(bt,Sn,At=="before");return rr!=null&&(Vn.other=un(bt,rr,At!="before")),Vn}function Oo(a,y){var ee=0;y=Yt(a.doc,y),a.options.lineWrapping||(ee=Ja(a.display)*y.ch);var z=Ln(a.doc,y.line),ce=Wr(z)+xo(a.display);return{left:ee,right:ee,top:ce,bottom:ce+z.height}}function fo(a,y,ee,z,ce){var Ue=Nt(a,y,ee);return Ue.xRel=ce,z&&(Ue.outside=z),Ue}function ua(a,y,ee){var z=a.doc;if(ee+=a.display.viewOffset,ee<0)return fo(z.first,0,null,-1,-1);var ce=It(z,ee),Ue=z.first+z.size-1;if(ce>Ue)return fo(z.first+z.size-1,Ln(z,Ue).text.length,null,1,1);y<0&&(y=0);for(var rt=Ln(z,ce);;){var dt=gs(a,rt,ce,y,ee),bt=sr(rt,dt.ch+(dt.xRel>0||dt.outside>0?1:0));if(!bt)return dt;var At=bt.find(1);if(At.line==ce)return At;rt=Ln(z,ce=At.line)}}function Va(a,y,ee,z){z-=el(y);var ce=y.text.length,Ue=Le(function(rt){return vs(a,ee,rt-1).bottom<=z},ce,0);return ce=Le(function(rt){return vs(a,ee,rt).top>z},Ue,ce),{begin:Ue,end:ce}}function ca(a,y,ee,z){ee||(ee=Ca(a,y));var ce=Ol(a,y,vs(a,ee,z),"line").top;return Va(a,y,ee,ce)}function wa(a,y,ee,z){return a.bottom<=ee?!1:a.top>ee?!0:(z?a.left:a.right)>y}function gs(a,y,ee,z,ce){ce-=Wr(y);var Ue=Ca(a,y),rt=el(y),dt=0,bt=y.text.length,At=!0,un=ot(y,a.doc.direction);if(un){var Sn=(a.options.lineWrapping?As:ys)(a,y,ee,Ue,un,z,ce);At=Sn.level!=1,dt=At?Sn.from:Sn.to-1,bt=At?Sn.to:Sn.from-1}var rr=null,Vn=null,Or=Le(function(eo){var Yi=vs(a,Ue,eo);return Yi.top+=rt,Yi.bottom+=rt,wa(Yi,z,ce,!1)?(Yi.top<=ce&&Yi.left<=z&&(rr=eo,Vn=Yi),!0):!1},dt,bt),_r,oi,gi=!1;if(Vn){var Oi=z-Vn.left<Vn.right-z,mi=Oi==At;Or=rr+(mi?0:1),oi=mi?"after":"before",_r=Oi?Vn.left:Vn.right}else{!At&&(Or==bt||Or==dt)&&Or++,oi=Or==0?"after":Or==y.text.length?"before":vs(a,Ue,Or-(At?1:0)).bottom+rt<=ce==At?"after":"before";var ki=ka(a,Nt(ee,Or,oi),"line",y,Ue);_r=ki.left,gi=ce<ki.top?-1:ce>=ki.bottom?1:0}return Or=me(y.text,Or,1),fo(ee,Or,oi,gi,z-_r)}function ys(a,y,ee,z,ce,Ue,rt){var dt=Le(function(Sn){var rr=ce[Sn],Vn=rr.level!=1;return wa(ka(a,Nt(ee,Vn?rr.to:rr.from,Vn?"before":"after"),"line",y,z),Ue,rt,!0)},0,ce.length-1),bt=ce[dt];if(dt>0){var At=bt.level!=1,un=ka(a,Nt(ee,At?bt.from:bt.to,At?"after":"before"),"line",y,z);wa(un,Ue,rt,!0)&&un.top>rt&&(bt=ce[dt-1])}return bt}function As(a,y,ee,z,ce,Ue,rt){var dt=Va(a,y,z,rt),bt=dt.begin,At=dt.end;/\s/.test(y.text.charAt(At-1))&&At--;for(var un=null,Sn=null,rr=0;rr<ce.length;rr++){var Vn=ce[rr];if(!(Vn.from>=At||Vn.to<=bt)){var Or=Vn.level!=1,_r=vs(a,z,Or?Math.min(At,Vn.to)-1:Math.max(bt,Vn.from)).right,oi=_r<Ue?Ue-_r+1e9:_r-Ue;(!un||Sn>oi)&&(un=Vn,Sn=oi)}}return un||(un=ce[ce.length-1]),un.from<bt&&(un={from:bt,to:un.to,level:un.level}),un.to>At&&(un={from:un.from,to:At,level:un.level}),un}var rs;function Ma(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(rs==null){rs=Ke("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)rs.appendChild(document.createTextNode("x")),rs.appendChild(Ke("br"));rs.appendChild(document.createTextNode("x"))}Oe(a.measure,rs);var ee=rs.offsetHeight/50;return ee>3&&(a.cachedTextHeight=ee),_e(a.measure),ee||1}function Ja(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Ke("span","xxxxxxxxxx"),ee=Ke("pre",[y],"CodeMirror-line-like");Oe(a.measure,ee);var z=y.getBoundingClientRect(),ce=(z.right-z.left)/10;return ce>2&&(a.cachedCharWidth=ce),ce||10}function _s(a){for(var y=a.display,ee={},z={},ce=y.gutters.clientLeft,Ue=y.gutters.firstChild,rt=0;Ue;Ue=Ue.nextSibling,++rt){var dt=a.display.gutterSpecs[rt].className;ee[dt]=Ue.offsetLeft+Ue.clientLeft+ce,z[dt]=Ue.clientWidth}return{fixedPos:ou(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:ee,gutterWidth:z,wrapperWidth:y.wrapper.clientWidth}}function ou(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function au(a){var y=Ma(a.display),ee=a.options.lineWrapping,z=ee&&Math.max(5,a.display.scroller.clientWidth/Ja(a.display)-3);return function(ce){if(Xn(a.doc,ce))return 0;var Ue=0;if(ce.widgets)for(var rt=0;rt<ce.widgets.length;rt++)ce.widgets[rt].height&&(Ue+=ce.widgets[rt].height);return ee?Ue+(Math.ceil(ce.text.length/z)||1)*y:Ue+y}}function cl(a){var y=a.doc,ee=au(a);y.iter(function(z){var ce=ee(z);ce!=z.height&&wr(z,ce)})}function Is(a,y,ee,z){var ce=a.display;if(!ee&&Wt(y).getAttribute("cm-not-content")=="true")return null;var Ue,rt,dt=ce.lineSpace.getBoundingClientRect();try{Ue=y.clientX-dt.left,rt=y.clientY-dt.top}catch(Sn){return null}var bt=ua(a,Ue,rt),At;if(z&&bt.xRel>0&&(At=Ln(a.doc,bt.line).text).length==bt.ch){var un=nt(At,At.length,a.options.tabSize)-At.length;bt=Nt(bt.line,Math.max(0,Math.round((Ue-Na(a.display).left)/Ja(a.display))-un))}return bt}function bs(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var ee=a.display.view,z=0;z<ee.length;z++)if(y-=ee[z].size,y<0)return z}function Ra(a,y,ee,z){y==null&&(y=a.doc.first),ee==null&&(ee=a.doc.first+a.doc.size),z||(z=0);var ce=a.display;if(z&&ee<ce.viewTo&&(ce.updateLineNumbers==null||ce.updateLineNumbers>y)&&(ce.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=ce.viewTo)Fn&&_t(a.doc,y)<ce.viewTo&&Ts(a);else if(ee<=ce.viewFrom)Fn&&Bn(a.doc,ee+z)>ce.viewFrom?Ts(a):(ce.viewFrom+=z,ce.viewTo+=z);else if(y<=ce.viewFrom&&ee>=ce.viewTo)Ts(a);else if(y<=ce.viewFrom){var Ue=Bl(a,ee,ee+z,1);Ue?(ce.view=ce.view.slice(Ue.index),ce.viewFrom=Ue.lineN,ce.viewTo+=z):Ts(a)}else if(ee>=ce.viewTo){var rt=Bl(a,y,y,-1);rt?(ce.view=ce.view.slice(0,rt.index),ce.viewTo=rt.lineN):Ts(a)}else{var dt=Bl(a,y,y,-1),bt=Bl(a,ee,ee+z,1);dt&&bt?(ce.view=ce.view.slice(0,dt.index).concat(ho(a,dt.lineN,bt.lineN)).concat(ce.view.slice(bt.index)),ce.viewTo+=z):Ts(a)}var At=ce.externalMeasured;At&&(ee<At.lineN?At.lineN+=z:y<At.lineN+At.size&&(ce.externalMeasured=null))}function js(a,y,ee){a.curOp.viewChanged=!0;var z=a.display,ce=a.display.externalMeasured;if(ce&&y>=ce.lineN&&y<ce.lineN+ce.size&&(z.externalMeasured=null),!(y<z.viewFrom||y>=z.viewTo)){var Ue=z.view[bs(a,y)];if(Ue.node!=null){var rt=Ue.changes||(Ue.changes=[]);Ge(rt,ee)==-1&&rt.push(ee)}}}function Ts(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Bl(a,y,ee,z){var ce=bs(a,y),Ue,rt=a.display.view;if(!Fn||ee==a.doc.first+a.doc.size)return{index:ce,lineN:ee};for(var dt=a.display.viewFrom,bt=0;bt<ce;bt++)dt+=rt[bt].size;if(dt!=y){if(z>0){if(ce==rt.length-1)return null;Ue=dt+rt[ce].size-y,ce++}else Ue=dt-y;y+=Ue,ee+=Ue}for(;_t(a.doc,ee)!=ee;){if(ce==(z<0?0:rt.length-1))return null;ee+=z*rt[ce-(z<0?1:0)].size,ce+=z}return{index:ce,lineN:ee}}function Mu(a,y,ee){var z=a.display,ce=z.view;ce.length==0||y>=z.viewTo||ee<=z.viewFrom?(z.view=ho(a,y,ee),z.viewFrom=y):(z.viewFrom>y?z.view=ho(a,y,z.viewFrom).concat(z.view):z.viewFrom<y&&(z.view=z.view.slice(bs(a,y))),z.viewFrom=y,z.viewTo<ee?z.view=z.view.concat(ho(a,z.viewTo,ee)):z.viewTo>ee&&(z.view=z.view.slice(0,bs(a,ee)))),z.viewTo=ee}function su(a){for(var y=a.display.view,ee=0,z=0;z<y.length;z++){var ce=y[z];!ce.hidden&&(!ce.node||ce.changes)&&++ee}return ee}function tl(a){a.display.input.showSelection(a.display.input.prepareSelection())}function Gu(a,y){y===void 0&&(y=!0);for(var ee=a.doc,z={},ce=z.cursors=document.createDocumentFragment(),Ue=z.selection=document.createDocumentFragment(),rt=0;rt<ee.sel.ranges.length;rt++)if(!(!y&&rt==ee.sel.primIndex)){var dt=ee.sel.ranges[rt];if(!(dt.from().line>=a.display.viewTo||dt.to().line<a.display.viewFrom)){var bt=dt.empty();(bt||a.options.showCursorWhenSelecting)&&Ru(a,dt.head,ce),bt||hc(a,dt,Ue)}}return z}function Ru(a,y,ee){var z=ka(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),ce=ee.appendChild(Ke("div","\xA0","CodeMirror-cursor"));if(ce.style.left=z.left+"px",ce.style.top=z.top+"px",ce.style.height=Math.max(0,z.bottom-z.top)*a.options.cursorHeight+"px",z.other){var Ue=ee.appendChild(Ke("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Ue.style.display="",Ue.style.left=z.other.left+"px",Ue.style.top=z.other.top+"px",Ue.style.height=(z.other.bottom-z.other.top)*.85+"px"}}function Ll(a,y){return a.top-y.top||a.left-y.left}function hc(a,y,ee){var z=a.display,ce=a.doc,Ue=document.createDocumentFragment(),rt=Na(a.display),dt=rt.left,bt=Math.max(z.sizerWidth,aa(a)-z.sizer.offsetLeft)-rt.right,At=ce.direction=="ltr";function un(mi,ki,eo,Yi){ki<0&&(ki=0),ki=Math.round(ki),Yi=Math.round(Yi),Ue.appendChild(Ke("div",null,"CodeMirror-selected","position: absolute; left: "+mi+`px;
top: `+ki+"px; width: "+(eo==null?bt-mi:eo)+`px;
height: `+(Yi-ki)+"px"))}function Sn(mi,ki,eo){var Yi=Ln(ce,mi),Do=Yi.text.length,ra,_a;function va(Oa,as){return Fs(a,Nt(mi,Oa),"div",Yi,as)}function ws(Oa,as,Xa){var za=ca(a,Yi,null,Oa),xa=as=="ltr"==(Xa=="after")?"left":"right",ga=Xa=="after"?za.begin:za.end-(/\s/.test(Yi.text.charAt(za.end-1))?2:1);return va(ga,xa)[xa]}var ds=ot(Yi,ce.direction);return Se(ds,ki||0,eo==null?Do:eo,function(Oa,as,Xa,za){var xa=Xa=="ltr",ga=va(Oa,xa?"left":"right"),fs=va(as-1,xa?"right":"left"),tu=ki==null&&Oa==0,Cl=eo==null&&as==Do,ts=za==0,Hs=!ds||za==ds.length-1;if(fs.top-ga.top<=3){var he=(At?tu:Cl)&&ts,xe=(At?Cl:tu)&&Hs,ze=he?dt:(xa?ga:fs).left,et=xe?bt:(xa?fs:ga).right;un(ze,ga.top,et-ze,ga.bottom)}else{var vt,gt,St,Pt;xa?(vt=At&&tu&&ts?dt:ga.left,gt=At?bt:ws(Oa,Xa,"before"),St=At?dt:ws(as,Xa,"after"),Pt=At&&Cl&&Hs?bt:fs.right):(vt=At?ws(Oa,Xa,"before"):dt,gt=!At&&tu&&ts?bt:ga.right,St=!At&&Cl&&Hs?dt:fs.left,Pt=At?ws(as,Xa,"after"):bt),un(vt,ga.top,gt-vt,ga.bottom),ga.bottom<fs.top&&un(dt,ga.bottom,null,fs.top),un(St,fs.top,Pt-St,fs.bottom)}(!ra||Ll(ga,ra)<0)&&(ra=ga),Ll(fs,ra)<0&&(ra=fs),(!_a||Ll(ga,_a)<0)&&(_a=ga),Ll(fs,_a)<0&&(_a=fs)}),{start:ra,end:_a}}var rr=y.from(),Vn=y.to();if(rr.line==Vn.line)Sn(rr.line,rr.ch,Vn.ch);else{var Or=Ln(ce,rr.line),_r=Ln(ce,Vn.line),oi=Gn(Or)==Gn(_r),gi=Sn(rr.line,rr.ch,oi?Or.text.length+1:null).end,Oi=Sn(Vn.line,oi?0:null,Vn.ch).start;oi&&(gi.top<Oi.top-2?(un(gi.right,gi.top,null,gi.bottom),un(dt,Oi.top,Oi.left,Oi.bottom)):un(gi.right,gi.top,Oi.left-gi.right,gi.bottom)),gi.bottom<Oi.top&&un(dt,gi.bottom,null,Oi.top)}ee.appendChild(Ue)}function Ul(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var ee=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||dl(a),y.cursorDiv.style.visibility=(ee=!ee)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function Xu(a){a.state.focused||(a.display.input.focus(),ju(a))}function Fu(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,dl(a))},100)}function ju(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(qt(a,"focus",a,y),a.state.focused=!0,He(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),re&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ul(a))}function dl(a,y){a.state.delayingBlurEvent||(a.state.focused&&(qt(a,"blur",a,y),a.state.focused=!1,Fe(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Ki(a){for(var y=a.display,ee=y.lineDiv.offsetTop,z=0;z<y.view.length;z++){var ce=y.view[z],Ue=a.options.lineWrapping,rt=void 0,dt=0;if(!ce.hidden){if(de&&ve<8){var bt=ce.node.offsetTop+ce.node.offsetHeight;rt=bt-ee,ee=bt}else{var At=ce.node.getBoundingClientRect();rt=At.bottom-At.top,!Ue&&ce.text.firstChild&&(dt=ce.text.firstChild.getBoundingClientRect().right-At.left-1)}var un=ce.line.height-rt;if((un>.005||un<-.005)&&(wr(ce.line,rt),fl(ce.line),ce.rest))for(var Sn=0;Sn<ce.rest.length;Sn++)fl(ce.rest[Sn]);if(dt>a.display.sizerWidth){var rr=Math.ceil(dt/Ja(a.display));rr>a.display.maxLineLength&&(a.display.maxLineLength=rr,a.display.maxLine=ce.line,a.display.maxLineChanged=!0)}}}}function fl(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var ee=a.widgets[y],z=ee.node.parentNode;z&&(ee.height=z.offsetHeight)}}function Os(a,y,ee){var z=ee&&ee.top!=null?Math.max(0,ee.top):a.scroller.scrollTop;z=Math.floor(z-xo(a));var ce=ee&&ee.bottom!=null?ee.bottom:z+a.wrapper.clientHeight,Ue=It(y,z),rt=It(y,ce);if(ee&&ee.ensure){var dt=ee.ensure.from.line,bt=ee.ensure.to.line;dt<Ue?(Ue=dt,rt=It(y,Wr(Ln(y,dt))+a.wrapper.clientHeight)):Math.min(bt,y.lastLine())>=rt&&(Ue=It(y,Wr(Ln(y,bt))-a.wrapper.clientHeight),rt=bt)}return{from:Ue,to:Math.max(rt,Ue+1)}}function Yu(a,y){if(!Bt(a,"scrollCursorIntoView")){var ee=a.display,z=ee.sizer.getBoundingClientRect(),ce=null;if(y.top+z.top<0?ce=!0:y.bottom+z.top>(window.innerHeight||document.documentElement.clientHeight)&&(ce=!1),ce!=null&&!ge){var Ue=Ke("div","\u200B",null,`position: absolute;
top: `+(y.top-ee.viewOffset-xo(a.display))+`px;
height: `+(y.bottom-y.top+To(a)+ee.barHeight)+`px;
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(Ue),Ue.scrollIntoView(ce),a.display.lineSpace.removeChild(Ue)}}}function lu(a,y,ee,z){z==null&&(z=0);var ce;!a.options.lineWrapping&&y==ee&&(y=y.ch?Nt(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,ee=y.sticky=="before"?Nt(y.line,y.ch+1,"before"):y);for(var Ue=0;Ue<5;Ue++){var rt=!1,dt=ka(a,y),bt=!ee||ee==y?dt:ka(a,ee);ce={left:Math.min(dt.left,bt.left),top:Math.min(dt.top,bt.top)-z,right:Math.max(dt.left,bt.left),bottom:Math.max(dt.bottom,bt.bottom)+z};var At=uu(a,ce),un=a.doc.scrollTop,Sn=a.doc.scrollLeft;if(At.scrollTop!=null&&(Vs(a,At.scrollTop),Math.abs(a.doc.scrollTop-un)>1&&(rt=!0)),At.scrollLeft!=null&&(xs(a,At.scrollLeft),Math.abs(a.doc.scrollLeft-Sn)>1&&(rt=!0)),!rt)break}return ce}function $u(a,y){var ee=uu(a,y);ee.scrollTop!=null&&Vs(a,ee.scrollTop),ee.scrollLeft!=null&&xs(a,ee.scrollLeft)}function uu(a,y){var ee=a.display,z=Ma(a.display);y.top<0&&(y.top=0);var ce=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ee.scroller.scrollTop,Ue=$a(a),rt={};y.bottom-y.top>Ue&&(y.bottom=y.top+Ue);var dt=a.doc.height+ya(ee),bt=y.top<z,At=y.bottom>dt-z;if(y.top<ce)rt.scrollTop=bt?0:y.top;else if(y.bottom>ce+Ue){var un=Math.min(y.top,(At?dt:y.bottom)-Ue);un!=ce&&(rt.scrollTop=un)}var Sn=a.options.fixedGutter?0:ee.gutters.offsetWidth,rr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ee.scroller.scrollLeft-Sn,Vn=aa(a)-ee.gutters.offsetWidth,Or=y.right-y.left>Vn;return Or&&(y.right=y.left+Vn),y.left<10?rt.scrollLeft=0:y.left<rr?rt.scrollLeft=Math.max(0,y.left+Sn-(Or?0:10)):y.right>Vn+rr-3&&(rt.scrollLeft=y.right+(Or?0:10)-Vn),rt}function cu(a,y){y!=null&&(du(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Nl(a){du(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function _l(a,y,ee){(y!=null||ee!=null)&&du(a),y!=null&&(a.curOp.scrollLeft=y),ee!=null&&(a.curOp.scrollTop=ee)}function Ju(a,y){du(a),a.curOp.scrollToPos=y}function du(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var ee=Oo(a,y.from),z=Oo(a,y.to);Vl(a,ee,z,y.margin)}}function Vl(a,y,ee,z){var ce=uu(a,{left:Math.min(y.left,ee.left),top:Math.min(y.top,ee.top)-z,right:Math.max(y.right,ee.right),bottom:Math.max(y.bottom,ee.bottom)+z});_l(a,ce.scrollLeft,ce.scrollTop)}function Vs(a,y){Math.abs(a.doc.scrollTop-y)<2||(b||vu(a,{top:y}),Kl(a,y,!0),b&&vu(a),kl(a,100))}function Kl(a,y,ee){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!ee)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function xs(a,y,ee,z){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ee?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!z)&&(a.doc.scrollLeft=y,kt(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function zs(a){var y=a.display,ee=y.gutters.offsetWidth,z=Math.round(a.doc.height+ya(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?ee:0,docHeight:z,scrollHeight:z+To(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:ee}}var nl=function(a,y,ee){this.cm=ee;var z=this.vert=Ke("div",[Ke("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ce=this.horiz=Ke("div",[Ke("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");z.tabIndex=ce.tabIndex=-1,a(z),a(ce),Mt(z,"scroll",function(){z.clientHeight&&y(z.scrollTop,"vertical")}),Mt(ce,"scroll",function(){ce.clientWidth&&y(ce.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,de&&ve<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};nl.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,ee=a.scrollHeight>a.clientHeight+1,z=a.nativeBarWidth;if(ee){this.vert.style.display="block",this.vert.style.bottom=y?z+"px":"0";var ce=a.viewHeight-(y?z:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ce)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=ee?z+"px":"0",this.horiz.style.left=a.barLeft+"px";var Ue=a.viewWidth-a.barLeft-(ee?z:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+Ue)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(z==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ee?z:0,bottom:y?z:0}},nl.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},nl.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},nl.prototype.zeroWidthHack=function(){var a=Ee&&!ne?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ze,this.disableVert=new Ze},nl.prototype.enableZeroWidthBar=function(a,y,ee){a.style.pointerEvents="auto";function z(){var ce=a.getBoundingClientRect(),Ue=ee=="vert"?document.elementFromPoint(ce.right-1,(ce.top+ce.bottom)/2):document.elementFromPoint((ce.right+ce.left)/2,ce.bottom-1);Ue!=a?a.style.pointerEvents="none":y.set(1e3,z)}y.set(1e3,z)},nl.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var rl=function(){};rl.prototype.update=function(){return{bottom:0,right:0}},rl.prototype.setScrollLeft=function(){},rl.prototype.setScrollTop=function(){},rl.prototype.clear=function(){};function il(a,y){y||(y=zs(a));var ee=a.display.barWidth,z=a.display.barHeight;fu(a,y);for(var ce=0;ce<4&&ee!=a.display.barWidth||z!=a.display.barHeight;ce++)ee!=a.display.barWidth&&a.options.lineWrapping&&Ki(a),fu(a,zs(a)),ee=a.display.barWidth,z=a.display.barHeight}function fu(a,y){var ee=a.display,z=ee.scrollbars.update(y);ee.sizer.style.paddingRight=(ee.barWidth=z.right)+"px",ee.sizer.style.paddingBottom=(ee.barHeight=z.bottom)+"px",ee.heightForcer.style.borderBottom=z.bottom+"px solid transparent",z.right&&z.bottom?(ee.scrollbarFiller.style.display="block",ee.scrollbarFiller.style.height=z.bottom+"px",ee.scrollbarFiller.style.width=z.right+"px"):ee.scrollbarFiller.style.display="",z.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ee.gutterFiller.style.display="block",ee.gutterFiller.style.height=z.bottom+"px",ee.gutterFiller.style.width=y.gutterWidth+"px"):ee.gutterFiller.style.display=""}var Qu={native:nl,null:rl};function pu(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Fe(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Qu[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),Mt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,ee){ee=="horizontal"?xs(a,y):Vs(a,y)},a),a.display.scrollbars.addClass&&He(a.display.wrapper,a.display.scrollbars.addClass)}var mc=0;function ol(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++mc},oo(a.curOp)}function pl(a){var y=a.curOp;y&&$i(y,function(ee){for(var z=0;z<ee.ops.length;z++)ee.ops[z].cm.curOp=null;qu(ee)})}function qu(a){for(var y=a.ops,ee=0;ee<y.length;ee++)vc(y[ee]);for(var z=0;z<y.length;z++)zu(y[z]);for(var ce=0;ce<y.length;ce++)gc(y[ce]);for(var Ue=0;Ue<y.length;Ue++)ec(y[Ue]);for(var rt=0;rt<y.length;rt++)yc(y[rt])}function vc(a){var y=a.cm,ee=y.display;Gl(y),a.updateMaxLine&&Xr(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<ee.viewFrom||a.scrollToPos.to.line>=ee.viewTo)||ee.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new Ks(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function zu(a){a.updatedDisplay=a.mustUpdate&&mu(a.cm,a.update)}function gc(a){var y=a.cm,ee=y.display;a.updatedDisplay&&Ki(y),a.barMeasure=zs(y),ee.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=Us(y,ee.maxLine,ee.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ee.scroller.clientWidth,ee.sizer.offsetLeft+a.adjustWidthTo+To(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,ee.sizer.offsetLeft+a.adjustWidthTo-aa(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ee.input.prepareSelection())}function ec(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&xs(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var ee=a.focus&&a.focus==Je();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,ee),(a.updatedDisplay||a.startHeight!=y.doc.height)&&il(y,a.barMeasure),a.updatedDisplay&&pt(y,a.barMeasure),a.selectionChanged&&Ul(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),ee&&Xu(a.cm)}function yc(a){var y=a.cm,ee=y.display,z=y.doc;if(a.updatedDisplay&&Bs(y,a.update),ee.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(ee.wheelStartX=ee.wheelStartY=null),a.scrollTop!=null&&Kl(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&xs(y,a.scrollLeft,!0,!0),a.scrollToPos){var ce=lu(y,Yt(z,a.scrollToPos.from),Yt(z,a.scrollToPos.to),a.scrollToPos.margin);Yu(y,ce)}var Ue=a.maybeHiddenMarkers,rt=a.maybeUnhiddenMarkers;if(Ue)for(var dt=0;dt<Ue.length;++dt)Ue[dt].lines.length||qt(Ue[dt],"hide");if(rt)for(var bt=0;bt<rt.length;++bt)rt[bt].lines.length&&qt(rt[bt],"unhide");ee.wrapper.offsetHeight&&(z.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&qt(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function Qa(a,y){if(a.curOp)return y();ol(a);try{return y()}finally{pl(a)}}function Fa(a,y){return function(){if(a.curOp)return y.apply(a,arguments);ol(a);try{return y.apply(a,arguments)}finally{pl(a)}}}function Ka(a){return function(){if(this.curOp)return a.apply(this,arguments);ol(this);try{return a.apply(this,arguments)}finally{pl(this)}}}function Da(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);ol(y);try{return a.apply(this,arguments)}finally{pl(y)}}}function kl(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,tt(Wu,a))}function Wu(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var ee=+new Date+a.options.workTime,z=Ht(a,y.highlightFrontier),ce=[];y.iter(z.line,Math.min(y.first+y.size,a.display.viewTo+500),function(Ue){if(z.line>=a.display.viewFrom){var rt=Ue.styles,dt=Ue.text.length>a.options.maxHighlightLength?Nr(y.mode,z.state):null,bt=nn(a,Ue,z,!0);dt&&(z.state=dt),Ue.styles=bt.styles;var At=Ue.styleClasses,un=bt.classes;un?Ue.styleClasses=un:At&&(Ue.styleClasses=null);for(var Sn=!rt||rt.length!=Ue.styles.length||At!=un&&(!At||!un||At.bgClass!=un.bgClass||At.textClass!=un.textClass),rr=0;!Sn&&rr<rt.length;++rr)Sn=rt[rr]!=Ue.styles[rr];Sn&&ce.push(z.line),Ue.stateAfter=z.save(),z.nextLine()}else Ue.text.length<=a.options.maxHighlightLength&&Ft(a,Ue.text,z),Ue.stateAfter=z.line%5==0?z.save():null,z.nextLine();if(+new Date>ee)return kl(a,a.options.workDelay),!0}),y.highlightFrontier=z.line,y.modeFrontier=Math.max(y.modeFrontier,z.line),ce.length&&Qa(a,function(){for(var Ue=0;Ue<ce.length;Ue++)js(a,ce[Ue],"text")})}}var Ks=function(a,y,ee){var z=a.display;this.viewport=y,this.visible=Os(z,a.doc,y),this.editorIsHidden=!z.wrapper.offsetWidth,this.wrapperHeight=z.wrapper.clientHeight,this.wrapperWidth=z.wrapper.clientWidth,this.oldDisplayWidth=aa(a),this.force=ee,this.dims=_s(a),this.events=[]};Ks.prototype.signal=function(a,y){$t(a,y)&&this.events.push(arguments)},Ks.prototype.finish=function(){for(var a=0;a<this.events.length;a++)qt.apply(null,this.events[a])};function Gl(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=To(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=To(a)+"px",y.scrollbarsClipped=!0)}function hu(a){if(a.hasFocus())return null;var y=Je();if(!y||!Ye(a.display.lineDiv,y))return null;var ee={activeElt:y};if(window.getSelection){var z=window.getSelection();z.anchorNode&&z.extend&&Ye(a.display.lineDiv,z.anchorNode)&&(ee.anchorNode=z.anchorNode,ee.anchorOffset=z.anchorOffset,ee.focusNode=z.focusNode,ee.focusOffset=z.focusOffset)}return ee}function tc(a){if(!(!a||!a.activeElt||a.activeElt==Je())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Ye(document.body,a.anchorNode)&&Ye(document.body,a.focusNode))){var y=window.getSelection(),ee=document.createRange();ee.setEnd(a.anchorNode,a.anchorOffset),ee.collapse(!1),y.removeAllRanges(),y.addRange(ee),y.extend(a.focusNode,a.focusOffset)}}function mu(a,y){var ee=a.display,z=a.doc;if(y.editorIsHidden)return Ts(a),!1;if(!y.force&&y.visible.from>=ee.viewFrom&&y.visible.to<=ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo)&&ee.renderedView==ee.view&&su(a)==0)return!1;Ut(a)&&(Ts(a),y.dims=_s(a));var ce=z.first+z.size,Ue=Math.max(y.visible.from-a.options.viewportMargin,z.first),rt=Math.min(ce,y.visible.to+a.options.viewportMargin);ee.viewFrom<Ue&&Ue-ee.viewFrom<20&&(Ue=Math.max(z.first,ee.viewFrom)),ee.viewTo>rt&&ee.viewTo-rt<20&&(rt=Math.min(ce,ee.viewTo)),Fn&&(Ue=_t(a.doc,Ue),rt=Bn(a.doc,rt));var dt=Ue!=ee.viewFrom||rt!=ee.viewTo||ee.lastWrapHeight!=y.wrapperHeight||ee.lastWrapWidth!=y.wrapperWidth;Mu(a,Ue,rt),ee.viewOffset=Wr(Ln(a.doc,ee.viewFrom)),a.display.mover.style.top=ee.viewOffset+"px";var bt=su(a);if(!dt&&bt==0&&!y.force&&ee.renderedView==ee.view&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo))return!1;var At=hu(a);return bt>4&&(ee.lineDiv.style.display="none"),nc(a,ee.updateLineNumbers,y.dims),bt>4&&(ee.lineDiv.style.display=""),ee.renderedView=ee.view,tc(At),_e(ee.cursorDiv),_e(ee.selectionDiv),ee.gutters.style.height=ee.sizer.style.minHeight=0,dt&&(ee.lastWrapHeight=y.wrapperHeight,ee.lastWrapWidth=y.wrapperWidth,kl(a,400)),ee.updateLineNumbers=null,!0}function Bs(a,y){for(var ee=y.viewport,z=!0;;z=!1){if(!z||!a.options.lineWrapping||y.oldDisplayWidth==aa(a)){if(ee&&ee.top!=null&&(ee={top:Math.min(a.doc.height+ya(a.display)-$a(a),ee.top)}),y.visible=Os(a.display,a.doc,ee),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else z&&(y.visible=Os(a.display,a.doc,ee));if(!mu(a,y))break;Ki(a);var ce=zs(a);tl(a),il(a,ce),pt(a,ce),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function vu(a,y){var ee=new Ks(a,y);if(mu(a,ee)){Ki(a),Bs(a,ee);var z=zs(a);tl(a),il(a,z),pt(a,z),ee.finish()}}function nc(a,y,ee){var z=a.display,ce=a.options.lineNumbers,Ue=z.lineDiv,rt=Ue.firstChild;function dt(Or){var _r=Or.nextSibling;return re&&Ee&&a.display.currentWheelTarget==Or?Or.style.display="none":Or.parentNode.removeChild(Or),_r}for(var bt=z.view,At=z.viewFrom,un=0;un<bt.length;un++){var Sn=bt[un];if(!Sn.hidden)if(!Sn.node||Sn.node.parentNode!=Ue){var rr=Vi(a,Sn,At,ee);Ue.insertBefore(rr,rt)}else{for(;rt!=Sn.node;)rt=dt(rt);var Vn=ce&&y!=null&&y<=At&&Sn.lineNumber;Sn.changes&&(Ge(Sn.changes,"gutter")>-1&&(Vn=!1),Jo(a,Sn,At,ee)),Vn&&(_e(Sn.lineNumber),Sn.lineNumber.appendChild(document.createTextNode(Vt(a.options,At)))),rt=Sn.node.nextSibling}At+=Sn.size}for(;rt;)rt=dt(rt)}function ht(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function pt(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+To(a)+"px"}function kt(a){var y=a.display,ee=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var z=ou(y)-y.scroller.scrollLeft+a.doc.scrollLeft,ce=y.gutters.offsetWidth,Ue=z+"px",rt=0;rt<ee.length;rt++)if(!ee[rt].hidden){a.options.fixedGutter&&(ee[rt].gutter&&(ee[rt].gutter.style.left=Ue),ee[rt].gutterBackground&&(ee[rt].gutterBackground.style.left=Ue));var dt=ee[rt].alignable;if(dt)for(var bt=0;bt<dt.length;bt++)dt[bt].style.left=Ue}a.options.fixedGutter&&(y.gutters.style.left=z+ce+"px")}}function Ut(a){if(!a.options.lineNumbers)return!1;var y=a.doc,ee=Vt(a.options,y.first+y.size-1),z=a.display;if(ee.length!=z.lineNumChars){var ce=z.measure.appendChild(Ke("div",[Ke("div",ee)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Ue=ce.firstChild.offsetWidth,rt=ce.offsetWidth-Ue;return z.lineGutter.style.width="",z.lineNumInnerWidth=Math.max(Ue,z.lineGutter.offsetWidth-rt)+1,z.lineNumWidth=z.lineNumInnerWidth+rt,z.lineNumChars=z.lineNumInnerWidth?ee.length:-1,z.lineGutter.style.width=z.lineNumWidth+"px",ht(a.display),!0}return!1}function sn(a,y){for(var ee=[],z=!1,ce=0;ce<a.length;ce++){var Ue=a[ce],rt=null;if(typeof Ue!="string"&&(rt=Ue.style,Ue=Ue.className),Ue=="CodeMirror-linenumbers")if(y)z=!0;else continue;ee.push({className:Ue,style:rt})}return y&&!z&&ee.push({className:"CodeMirror-linenumbers",style:null}),ee}function mn(a){var y=a.gutters,ee=a.gutterSpecs;_e(y),a.lineGutter=null;for(var z=0;z<ee.length;++z){var ce=ee[z],Ue=ce.className,rt=ce.style,dt=y.appendChild(Ke("div",null,"CodeMirror-gutter "+Ue));rt&&(dt.style.cssText=rt),Ue=="CodeMirror-linenumbers"&&(a.lineGutter=dt,dt.style.width=(a.lineNumWidth||1)+"px")}y.style.display=ee.length?"":"none",ht(a)}function Nn(a){mn(a.display),Ra(a),kt(a)}function Dn(a,y,ee,z){var ce=this;this.input=ee,ce.scrollbarFiller=Ke("div",null,"CodeMirror-scrollbar-filler"),ce.scrollbarFiller.setAttribute("cm-not-content","true"),ce.gutterFiller=Ke("div",null,"CodeMirror-gutter-filler"),ce.gutterFiller.setAttribute("cm-not-content","true"),ce.lineDiv=We("div",null,"CodeMirror-code"),ce.selectionDiv=Ke("div",null,null,"position: relative; z-index: 1"),ce.cursorDiv=Ke("div",null,"CodeMirror-cursors"),ce.measure=Ke("div",null,"CodeMirror-measure"),ce.lineMeasure=Ke("div",null,"CodeMirror-measure"),ce.lineSpace=We("div",[ce.measure,ce.lineMeasure,ce.selectionDiv,ce.cursorDiv,ce.lineDiv],null,"position: relative; outline: none");var Ue=We("div",[ce.lineSpace],"CodeMirror-lines");ce.mover=Ke("div",[Ue],null,"position: relative"),ce.sizer=Ke("div",[ce.mover],"CodeMirror-sizer"),ce.sizerWidth=null,ce.heightForcer=Ke("div",null,null,"position: absolute; height: "+$e+"px; width: 1px;"),ce.gutters=Ke("div",null,"CodeMirror-gutters"),ce.lineGutter=null,ce.scroller=Ke("div",[ce.sizer,ce.heightForcer,ce.gutters],"CodeMirror-scroll"),ce.scroller.setAttribute("tabIndex","-1"),ce.wrapper=Ke("div",[ce.scrollbarFiller,ce.gutterFiller,ce.scroller],"CodeMirror"),de&&ve<8&&(ce.gutters.style.zIndex=-1,ce.scroller.style.paddingRight=0),!re&&!(b&&le)&&(ce.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ce.wrapper):a(ce.wrapper)),ce.viewFrom=ce.viewTo=y.first,ce.reportedViewFrom=ce.reportedViewTo=y.first,ce.view=[],ce.renderedView=null,ce.externalMeasured=null,ce.viewOffset=0,ce.lastWrapHeight=ce.lastWrapWidth=0,ce.updateLineNumbers=null,ce.nativeBarWidth=ce.barHeight=ce.barWidth=0,ce.scrollbarsClipped=!1,ce.lineNumWidth=ce.lineNumInnerWidth=ce.lineNumChars=null,ce.alignWidgets=!1,ce.cachedCharWidth=ce.cachedTextHeight=ce.cachedPaddingH=null,ce.maxLine=null,ce.maxLineLength=0,ce.maxLineChanged=!1,ce.wheelDX=ce.wheelDY=ce.wheelStartX=ce.wheelStartY=null,ce.shift=!1,ce.selForContextMenu=null,ce.activeTouch=null,ce.gutterSpecs=sn(z.gutters,z.lineNumbers),mn(ce),ee.init(ce)}var Hn=0,Mn=null;de?Mn=-.53:b?Mn=15:fe?Mn=-.7:te&&(Mn=-1/3);function br(a){var y=a.wheelDeltaX,ee=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),ee==null&&a.detail&&a.axis==a.VERTICAL_AXIS?ee=a.detail:ee==null&&(ee=a.wheelDelta),{x:y,y:ee}}function cr(a){var y=br(a);return y.x*=Mn,y.y*=Mn,y}function lr(a,y){var ee=br(y),z=ee.x,ce=ee.y,Ue=a.display,rt=Ue.scroller,dt=rt.scrollWidth>rt.clientWidth,bt=rt.scrollHeight>rt.clientHeight;if(z&&dt||ce&&bt){if(ce&&Ee&&re){e:for(var At=y.target,un=Ue.view;At!=rt;At=At.parentNode)for(var Sn=0;Sn<un.length;Sn++)if(un[Sn].node==At){a.display.currentWheelTarget=At;break e}}if(z&&!b&&!E&&Mn!=null){ce&&bt&&Vs(a,Math.max(0,rt.scrollTop+ce*Mn)),xs(a,Math.max(0,rt.scrollLeft+z*Mn)),(!ce||ce&&bt)&&jt(y),Ue.wheelStartX=null;return}if(ce&&Mn!=null){var rr=ce*Mn,Vn=a.doc.scrollTop,Or=Vn+Ue.wrapper.clientHeight;rr<0?Vn=Math.max(0,Vn+rr-50):Or=Math.min(a.doc.height,Or+rr+50),vu(a,{top:Vn,bottom:Or})}Hn<20&&(Ue.wheelStartX==null?(Ue.wheelStartX=rt.scrollLeft,Ue.wheelStartY=rt.scrollTop,Ue.wheelDX=z,Ue.wheelDY=ce,setTimeout(function(){if(Ue.wheelStartX!=null){var _r=rt.scrollLeft-Ue.wheelStartX,oi=rt.scrollTop-Ue.wheelStartY,gi=oi&&Ue.wheelDY&&oi/Ue.wheelDY||_r&&Ue.wheelDX&&_r/Ue.wheelDX;Ue.wheelStartX=Ue.wheelStartY=null,gi&&(Mn=(Mn*Hn+gi)/(Hn+1),++Hn)}},200)):(Ue.wheelDX+=z,Ue.wheelDY+=ce))}}var er=function(a,y){this.ranges=a,this.primIndex=y};er.prototype.primary=function(){return this.ranges[this.primIndex]},er.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var ee=this.ranges[y],z=a.ranges[y];if(!ut(ee.anchor,z.anchor)||!ut(ee.head,z.head))return!1}return!0},er.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new qn(Qt(this.ranges[y].anchor),Qt(this.ranges[y].head));return new er(a,this.primIndex)},er.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},er.prototype.contains=function(a,y){y||(y=a);for(var ee=0;ee<this.ranges.length;ee++){var z=this.ranges[ee];if(Kt(y,z.from())>=0&&Kt(a,z.to())<=0)return ee}return-1};var qn=function(a,y){this.anchor=a,this.head=y};qn.prototype.from=function(){return an(this.anchor,this.head)},qn.prototype.to=function(){return on(this.anchor,this.head)},qn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Gr(a,y,ee){var z=a&&a.options.selectionsMayTouch,ce=y[ee];y.sort(function(rr,Vn){return Kt(rr.from(),Vn.from())}),ee=Ge(y,ce);for(var Ue=1;Ue<y.length;Ue++){var rt=y[Ue],dt=y[Ue-1],bt=Kt(dt.to(),rt.from());if(z&&!rt.empty()?bt>0:bt>=0){var At=an(dt.from(),rt.from()),un=on(dt.to(),rt.to()),Sn=dt.empty()?rt.from()==rt.head:dt.from()==dt.head;Ue<=ee&&--ee,y.splice(--Ue,2,new qn(Sn?un:At,Sn?At:un))}}return new er(y,ee)}function Pr(a,y){return new er([new qn(a,y||a)],0)}function $r(a){return a.text?Nt(a.from.line+a.text.length-1,xt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function ri(a,y){if(Kt(a,y.from)<0)return a;if(Kt(a,y.to)<=0)return $r(y);var ee=a.line+y.text.length-(y.to.line-y.from.line)-1,z=a.ch;return a.line==y.to.line&&(z+=$r(y).ch-y.to.ch),Nt(ee,z)}function Jr(a,y){for(var ee=[],z=0;z<a.sel.ranges.length;z++){var ce=a.sel.ranges[z];ee.push(new qn(ri(ce.anchor,y),ri(ce.head,y)))}return Gr(a.cm,ee,a.sel.primIndex)}function qr(a,y,ee){return a.line==y.line?Nt(ee.line,a.ch-y.ch+ee.ch):Nt(ee.line+(a.line-y.line),a.ch)}function fi(a,y,ee){for(var z=[],ce=Nt(a.first,0),Ue=ce,rt=0;rt<y.length;rt++){var dt=y[rt],bt=qr(dt.from,ce,Ue),At=qr($r(dt),ce,Ue);if(ce=dt.to,Ue=At,ee=="around"){var un=a.sel.ranges[rt],Sn=Kt(un.head,un.anchor)<0;z[rt]=new qn(Sn?At:bt,Sn?bt:At)}else z[rt]=new qn(bt,bt)}return new er(z,a.sel.primIndex)}function Ci(a){a.doc.mode=Cr(a.options,a.doc.modeOption),vi(a)}function vi(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,kl(a,100),a.state.modeGen++,a.curOp&&Ra(a)}function no(a,y){return y.from.ch==0&&y.to.ch==0&&xt(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function zi(a,y,ee,z){function ce(Oi){return ee?ee[Oi]:null}function Ue(Oi,mi,ki){or(Oi,mi,ki,z),so(Oi,"change",Oi,y)}function rt(Oi,mi){for(var ki=[],eo=Oi;eo<mi;++eo)ki.push(new Fi(At[eo],ce(eo),z));return ki}var dt=y.from,bt=y.to,At=y.text,un=Ln(a,dt.line),Sn=Ln(a,bt.line),rr=xt(At),Vn=ce(At.length-1),Or=bt.line-dt.line;if(y.full)a.insert(0,rt(0,At.length)),a.remove(At.length,a.size-At.length);else if(no(a,y)){var _r=rt(0,At.length-1);Ue(Sn,Sn.text,Vn),Or&&a.remove(dt.line,Or),_r.length&&a.insert(dt.line,_r)}else if(un==Sn)if(At.length==1)Ue(un,un.text.slice(0,dt.ch)+rr+un.text.slice(bt.ch),Vn);else{var oi=rt(1,At.length-1);oi.push(new Fi(rr+un.text.slice(bt.ch),Vn,z)),Ue(un,un.text.slice(0,dt.ch)+At[0],ce(0)),a.insert(dt.line+1,oi)}else if(At.length==1)Ue(un,un.text.slice(0,dt.ch)+At[0]+Sn.text.slice(bt.ch),ce(0)),a.remove(dt.line+1,Or);else{Ue(un,un.text.slice(0,dt.ch)+At[0],ce(0)),Ue(Sn,rr+Sn.text.slice(bt.ch),Vn);var gi=rt(1,At.length-1);Or>1&&a.remove(dt.line+1,Or-1),a.insert(dt.line+1,gi)}so(a,"change",a,y)}function Ni(a,y,ee){function z(ce,Ue,rt){if(ce.linked)for(var dt=0;dt<ce.linked.length;++dt){var bt=ce.linked[dt];if(bt.doc!=Ue){var At=rt&&bt.sharedHist;ee&&!At||(y(bt.doc,At),z(bt.doc,ce,At))}}}z(a,null,!0)}function Gi(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,cl(a),Ci(a),wi(a),a.options.lineWrapping||Xr(a),a.options.mode=y.modeOption,Ra(a)}function wi(a){(a.doc.direction=="rtl"?He:Fe)(a.display.lineDiv,"CodeMirror-rtl")}function Si(a){Qa(a,function(){wi(a),Ra(a)})}function ui(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function ii(a,y){var ee={from:Qt(y.from),to:$r(y),text:Qn(a,y.from,y.to)};return Qo(a,ee,y.from.line,y.to.line+1),Ni(a,function(z){return Qo(z,ee,y.from.line,y.to.line+1)},!0),ee}function xi(a){for(;a.length;){var y=xt(a);if(y.ranges)a.pop();else break}}function Ii(a,y){if(y)return xi(a.done),xt(a.done);if(a.done.length&&!xt(a.done).ranges)return xt(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),xt(a.done)}function Mi(a,y,ee,z){var ce=a.history;ce.undone.length=0;var Ue=+new Date,rt,dt;if((ce.lastOp==z||ce.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&ce.lastModTime>Ue-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(rt=Ii(ce,ce.lastOp==z)))dt=xt(rt.changes),Kt(y.from,y.to)==0&&Kt(y.from,dt.to)==0?dt.to=$r(y):rt.changes.push(ii(a,y));else{var bt=xt(ce.done);for((!bt||!bt.ranges)&&po(a.sel,ce.done),rt={changes:[ii(a,y)],generation:ce.generation},ce.done.push(rt);ce.done.length>ce.undoDepth;)ce.done.shift(),ce.done[0].ranges||ce.done.shift()}ce.done.push(ee),ce.generation=++ce.maxGeneration,ce.lastModTime=ce.lastSelTime=Ue,ce.lastOp=ce.lastSelOp=z,ce.lastOrigin=ce.lastSelOrigin=y.origin,dt||qt(a,"historyAdded")}function ci(a,y,ee,z){var ce=y.charAt(0);return ce=="*"||ce=="+"&&ee.ranges.length==z.ranges.length&&ee.somethingSelected()==z.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function lo(a,y,ee,z){var ce=a.history,Ue=z&&z.origin;ee==ce.lastSelOp||Ue&&ce.lastSelOrigin==Ue&&(ce.lastModTime==ce.lastSelTime&&ce.lastOrigin==Ue||ci(a,Ue,xt(ce.done),y))?ce.done[ce.done.length-1]=y:po(y,ce.done),ce.lastSelTime=+new Date,ce.lastSelOrigin=Ue,ce.lastSelOp=ee,z&&z.clearRedo!==!1&&xi(ce.undone)}function po(a,y){var ee=xt(y);ee&&ee.ranges&&ee.equals(a)||y.push(a)}function Qo(a,y,ee,z){var ce=y["spans_"+a.id],Ue=0;a.iter(Math.max(a.first,ee),Math.min(a.first+a.size,z),function(rt){rt.markedSpans&&((ce||(ce=y["spans_"+a.id]={}))[Ue]=rt.markedSpans),++Ue})}function qo(a){if(!a)return null;for(var y,ee=0;ee<a.length;++ee)a[ee].marker.explicitlyCleared?y||(y=a.slice(0,ee)):y&&y.push(a[ee]);return y?y.length?y:null:a}function Ko(a,y){var ee=y["spans_"+a.id];if(!ee)return null;for(var z=[],ce=0;ce<y.text.length;++ce)z.push(qo(ee[ce]));return z}function ea(a,y){var ee=Ko(a,y),z=Zr(a,y);if(!ee)return z;if(!z)return ee;for(var ce=0;ce<ee.length;++ce){var Ue=ee[ce],rt=z[ce];if(Ue&&rt)e:for(var dt=0;dt<rt.length;++dt){for(var bt=rt[dt],At=0;At<Ue.length;++At)if(Ue[At].marker==bt.marker)continue e;Ue.push(bt)}else rt&&(ee[ce]=rt)}return ee}function sa(a,y,ee){for(var z=[],ce=0;ce<a.length;++ce){var Ue=a[ce];if(Ue.ranges){z.push(ee?er.prototype.deepCopy.call(Ue):Ue);continue}var rt=Ue.changes,dt=[];z.push({changes:dt});for(var bt=0;bt<rt.length;++bt){var At=rt[bt],un=void 0;if(dt.push({from:At.from,to:At.to,text:At.text}),y)for(var Sn in At)(un=Sn.match(/^spans_(\d+)$/))&&Ge(y,Number(un[1]))>-1&&(xt(dt)[Sn]=At[Sn],delete At[Sn])}}return z}function mo(a,y,ee,z){if(z){var ce=a.anchor;if(ee){var Ue=Kt(y,ce)<0;Ue!=Kt(ee,ce)<0?(ce=y,y=ee):Ue!=Kt(y,ee)<0&&(y=ee)}return new qn(ce,y)}else return new qn(ee||y,y)}function go(a,y,ee,z,ce){ce==null&&(ce=a.cm&&(a.cm.display.shift||a.extend)),bi(a,new er([mo(a.sel.primary(),y,ee,ce)],0),z)}function da(a,y,ee){for(var z=[],ce=a.cm&&(a.cm.display.shift||a.extend),Ue=0;Ue<a.sel.ranges.length;Ue++)z[Ue]=mo(a.sel.ranges[Ue],y[Ue],null,ce);var rt=Gr(a.cm,z,a.sel.primIndex);bi(a,rt,ee)}function ta(a,y,ee,z){var ce=a.sel.ranges.slice(0);ce[y]=ee,bi(a,Gr(a.cm,ce,a.sel.primIndex),z)}function Di(a,y,ee,z){bi(a,Pr(y,ee),z)}function Ji(a,y,ee){var z={ranges:y.ranges,update:function(ce){this.ranges=[];for(var Ue=0;Ue<ce.length;Ue++)this.ranges[Ue]=new qn(Yt(a,ce[Ue].anchor),Yt(a,ce[Ue].head))},origin:ee&&ee.origin};return qt(a,"beforeSelectionChange",a,z),a.cm&&qt(a.cm,"beforeSelectionChange",a.cm,z),z.ranges!=y.ranges?Gr(a.cm,z.ranges,z.ranges.length-1):y}function Bi(a,y,ee){var z=a.history.done,ce=xt(z);ce&&ce.ranges?(z[z.length-1]=y,Io(a,y,ee)):bi(a,y,ee)}function bi(a,y,ee){Io(a,y,ee),lo(a,a.sel,a.cm?a.cm.curOp.id:NaN,ee)}function Io(a,y,ee){($t(a,"beforeSelectionChange")||a.cm&&$t(a.cm,"beforeSelectionChange"))&&(y=Ji(a,y,ee));var z=ee&&ee.bias||(Kt(y.primary().head,a.sel.primary().head)<0?-1:1);Eo(a,Uo(a,y,z,!0)),!(ee&&ee.scroll===!1)&&a.cm&&Nl(a.cm)}function Eo(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,hn(a.cm)),so(a,"cursorActivity",a))}function $o(a){Eo(a,Uo(a,a.sel,null,!1))}function Uo(a,y,ee,z){for(var ce,Ue=0;Ue<y.ranges.length;Ue++){var rt=y.ranges[Ue],dt=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[Ue],bt=fa(a,rt.anchor,dt&&dt.anchor,ee,z),At=fa(a,rt.head,dt&&dt.head,ee,z);(ce||bt!=rt.anchor||At!=rt.head)&&(ce||(ce=y.ranges.slice(0,Ue)),ce[Ue]=new qn(bt,At))}return ce?Gr(a.cm,ce,y.primIndex):y}function Mo(a,y,ee,z,ce){var Ue=Ln(a,y.line);if(Ue.markedSpans)for(var rt=0;rt<Ue.markedSpans.length;++rt){var dt=Ue.markedSpans[rt],bt=dt.marker,At="selectLeft"in bt?!bt.selectLeft:bt.inclusiveLeft,un="selectRight"in bt?!bt.selectRight:bt.inclusiveRight;if((dt.from==null||(At?dt.from<=y.ch:dt.from<y.ch))&&(dt.to==null||(un?dt.to>=y.ch:dt.to>y.ch))){if(ce&&(qt(bt,"beforeCursorEnter"),bt.explicitlyCleared))if(Ue.markedSpans){--rt;continue}else break;if(!bt.atomic)continue;if(ee){var Sn=bt.find(z<0?1:-1),rr=void 0;if((z<0?un:At)&&(Sn=Ri(a,Sn,-z,Sn&&Sn.line==y.line?Ue:null)),Sn&&Sn.line==y.line&&(rr=Kt(Sn,ee))&&(z<0?rr<0:rr>0))return Mo(a,Sn,y,z,ce)}var Vn=bt.find(z<0?-1:1);return(z<0?At:un)&&(Vn=Ri(a,Vn,z,Vn.line==y.line?Ue:null)),Vn?Mo(a,Vn,y,z,ce):null}}return y}function fa(a,y,ee,z,ce){var Ue=z||1,rt=Mo(a,y,ee,Ue,ce)||!ce&&Mo(a,y,ee,Ue,!0)||Mo(a,y,ee,-Ue,ce)||!ce&&Mo(a,y,ee,-Ue,!0);return rt||(a.cantEdit=!0,Nt(a.first,0))}function Ri(a,y,ee,z){return ee<0&&y.ch==0?y.line>a.first?Yt(a,Nt(y.line-1)):null:ee>0&&y.ch==(z||Ln(a,y.line)).text.length?y.line<a.first+a.size-1?Nt(y.line+1,0):null:new Nt(y.line,y.ch+ee)}function _i(a){a.setSelection(Nt(a.firstLine(),0),Nt(a.lastLine()),Ve)}function Lo(a,y,ee){var z={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return z.canceled=!0}};return ee&&(z.update=function(ce,Ue,rt,dt){ce&&(z.from=Yt(a,ce)),Ue&&(z.to=Yt(a,Ue)),rt&&(z.text=rt),dt!==void 0&&(z.origin=dt)}),qt(a,"beforeChange",a,z),a.cm&&qt(a.cm,"beforeChange",a.cm,z),z.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:z.from,to:z.to,text:z.text,origin:z.origin}}function ko(a,y,ee){if(a.cm){if(!a.cm.curOp)return Fa(a.cm,ko)(a,y,ee);if(a.cm.state.suppressEdits)return}if(!(($t(a,"beforeChange")||a.cm&&$t(a.cm,"beforeChange"))&&(y=Lo(a,y,!0),!y))){var z=ar&&!ee&&yi(a,y.from,y.to);if(z)for(var ce=z.length-1;ce>=0;--ce)Ro(a,{from:z[ce].from,to:z[ce].to,text:ce?[""]:y.text,origin:y.origin});else Ro(a,y)}}function Ro(a,y){if(!(y.text.length==1&&y.text[0]==""&&Kt(y.from,y.to)==0)){var ee=Jr(a,y);Mi(a,y,ee,a.cm?a.cm.curOp.id:NaN),qa(a,y,ee,Zr(a,y));var z=[];Ni(a,function(ce,Ue){!Ue&&Ge(z,ce.history)==-1&&(ba(ce.history,y),z.push(ce.history)),qa(ce,y,null,Zr(ce,y))})}}function Sa(a,y,ee){var z=a.cm&&a.cm.state.suppressEdits;if(!(z&&!ee)){for(var ce=a.history,Ue,rt=a.sel,dt=y=="undo"?ce.done:ce.undone,bt=y=="undo"?ce.undone:ce.done,At=0;At<dt.length&&(Ue=dt[At],!(ee?Ue.ranges&&!Ue.equals(a.sel):!Ue.ranges));At++);if(At!=dt.length){for(ce.lastOrigin=ce.lastSelOrigin=null;;)if(Ue=dt.pop(),Ue.ranges){if(po(Ue,bt),ee&&!Ue.equals(a.sel)){bi(a,Ue,{clearRedo:!1});return}rt=Ue}else if(z){dt.push(Ue);return}else break;var un=[];po(rt,bt),bt.push({changes:un,generation:ce.generation}),ce.generation=Ue.generation||++ce.maxGeneration;for(var Sn=$t(a,"beforeChange")||a.cm&&$t(a.cm,"beforeChange"),rr=function(_r){var oi=Ue.changes[_r];if(oi.origin=y,Sn&&!Lo(a,oi,!1))return dt.length=0,{};un.push(ii(a,oi));var gi=_r?Jr(a,oi):xt(dt);qa(a,oi,gi,ea(a,oi)),!_r&&a.cm&&a.cm.scrollIntoView({from:oi.from,to:$r(oi)});var Oi=[];Ni(a,function(mi,ki){!ki&&Ge(Oi,mi.history)==-1&&(ba(mi.history,oi),Oi.push(mi.history)),qa(mi,oi,null,ea(mi,oi))})},Vn=Ue.changes.length-1;Vn>=0;--Vn){var Or=rr(Vn);if(Or)return Or.v}}}}function pa(a,y){if(y!=0&&(a.first+=y,a.sel=new er(wt(a.sel.ranges,function(ce){return new qn(Nt(ce.anchor.line+y,ce.anchor.ch),Nt(ce.head.line+y,ce.head.ch))}),a.sel.primIndex),a.cm)){Ra(a.cm,a.first,a.first-y,y);for(var ee=a.cm.display,z=ee.viewFrom;z<ee.viewTo;z++)js(a.cm,z,"gutter")}}function qa(a,y,ee,z){if(a.cm&&!a.cm.curOp)return Fa(a.cm,qa)(a,y,ee,z);if(y.to.line<a.first){pa(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var ce=y.text.length-1-(a.first-y.from.line);pa(a,ce),y={from:Nt(a.first,0),to:Nt(y.to.line+ce,y.to.ch),text:[xt(y.text)],origin:y.origin}}var Ue=a.lastLine();y.to.line>Ue&&(y={from:y.from,to:Nt(Ue,Ln(a,Ue).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Qn(a,y.from,y.to),ee||(ee=Jr(a,y)),a.cm?Go(a.cm,y,z):zi(a,y,z),Io(a,ee,Ve),a.cantEdit&&fa(a,Nt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Go(a,y,ee){var z=a.doc,ce=a.display,Ue=y.from,rt=y.to,dt=!1,bt=Ue.line;a.options.lineWrapping||(bt=zt(Gn(Ln(z,Ue.line))),z.iter(bt,rt.line+1,function(Vn){if(Vn==ce.maxLine)return dt=!0,!0})),z.sel.contains(y.from,y.to)>-1&&hn(a),zi(z,y,ee,au(a)),a.options.lineWrapping||(z.iter(bt,Ue.line+y.text.length,function(Vn){var Or=Qr(Vn);Or>ce.maxLineLength&&(ce.maxLine=Vn,ce.maxLineLength=Or,ce.maxLineChanged=!0,dt=!1)}),dt&&(a.curOp.updateMaxLine=!0)),Un(z,Ue.line),kl(a,400);var At=y.text.length-(rt.line-Ue.line)-1;y.full?Ra(a):Ue.line==rt.line&&y.text.length==1&&!no(a.doc,y)?js(a,Ue.line,"text"):Ra(a,Ue.line,rt.line+1,At);var un=$t(a,"changes"),Sn=$t(a,"change");if(Sn||un){var rr={from:Ue,to:rt,text:y.text,removed:y.removed,origin:y.origin};Sn&&so(a,"change",a,rr),un&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(rr)}a.display.selForContextMenu=null}function yo(a,y,ee,z,ce){var Ue;z||(z=ee),Kt(z,ee)<0&&(Ue=[z,ee],ee=Ue[0],z=Ue[1]),typeof y=="string"&&(y=a.splitLines(y)),ko(a,{from:ee,to:z,text:y,origin:ce})}function _o(a,y,ee,z){ee<a.line?a.line+=z:y<a.line&&(a.line=y,a.ch=0)}function Xo(a,y,ee,z){for(var ce=0;ce<a.length;++ce){var Ue=a[ce],rt=!0;if(Ue.ranges){Ue.copied||(Ue=a[ce]=Ue.deepCopy(),Ue.copied=!0);for(var dt=0;dt<Ue.ranges.length;dt++)_o(Ue.ranges[dt].anchor,y,ee,z),_o(Ue.ranges[dt].head,y,ee,z);continue}for(var bt=0;bt<Ue.changes.length;++bt){var At=Ue.changes[bt];if(ee<At.from.line)At.from=Nt(At.from.line+z,At.from.ch),At.to=Nt(At.to.line+z,At.to.ch);else if(y<=At.to.line){rt=!1;break}}rt||(a.splice(0,ce+1),ce=0)}}function ba(a,y){var ee=y.from.line,z=y.to.line,ce=y.text.length-(z-ee)-1;Xo(a.done,ee,z,ce),Xo(a.undone,ee,z,ce)}function ia(a,y,ee,z){var ce=y,Ue=y;return typeof y=="number"?Ue=Ln(a,Xt(a,y)):ce=zt(y),ce==null?null:(z(Ue,ce)&&a.cm&&js(a.cm,ce,ee),Ue)}function Po(a){this.lines=a,this.parent=null;for(var y=0,ee=0;ee<a.length;++ee)a[ee].parent=this,y+=a[ee].height;this.height=y}Po.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var ee=a,z=a+y;ee<z;++ee){var ce=this.lines[ee];this.height-=ce.height,Ti(ce),so(ce,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,ee){this.height+=ee,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var z=0;z<y.length;++z)y[z].parent=this},iterN:function(a,y,ee){for(var z=a+y;a<z;++a)if(ee(this.lines[a]))return!0}};function na(a){this.children=a;for(var y=0,ee=0,z=0;z<a.length;++z){var ce=a[z];y+=ce.chunkSize(),ee+=ce.height,ce.parent=this}this.size=y,this.height=ee,this.parent=null}na.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var ee=0;ee<this.children.length;++ee){var z=this.children[ee],ce=z.chunkSize();if(a<ce){var Ue=Math.min(y,ce-a),rt=z.height;if(z.removeInner(a,Ue),this.height-=rt-z.height,ce==Ue&&(this.children.splice(ee--,1),z.parent=null),(y-=Ue)==0)break;a=0}else a-=ce}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Po))){var dt=[];this.collapse(dt),this.children=[new Po(dt)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,ee){this.size+=y.length,this.height+=ee;for(var z=0;z<this.children.length;++z){var ce=this.children[z],Ue=ce.chunkSize();if(a<=Ue){if(ce.insertInner(a,y,ee),ce.lines&&ce.lines.length>50){for(var rt=ce.lines.length%25+25,dt=rt;dt<ce.lines.length;){var bt=new Po(ce.lines.slice(dt,dt+=25));ce.height-=bt.height,this.children.splice(++z,0,bt),bt.parent=this}ce.lines=ce.lines.slice(0,rt),this.maybeSpill()}break}a-=Ue}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),ee=new na(y);if(a.parent){a.size-=ee.size,a.height-=ee.height;var ce=Ge(a.parent.children,a);a.parent.children.splice(ce+1,0,ee)}else{var z=new na(a.children);z.parent=a,a.children=[z,ee],a=z}ee.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,ee){for(var z=0;z<this.children.length;++z){var ce=this.children[z],Ue=ce.chunkSize();if(a<Ue){var rt=Math.min(y,Ue-a);if(ce.iterN(a,rt,ee))return!0;if((y-=rt)==0)break;a=0}else a-=Ue}}};var No=function(a,y,ee){if(ee)for(var z in ee)ee.hasOwnProperty(z)&&(this[z]=ee[z]);this.doc=a,this.node=y};No.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,ee=this.line,z=zt(ee);if(!(z==null||!y)){for(var ce=0;ce<y.length;++ce)y[ce]==this&&y.splice(ce--,1);y.length||(ee.widgets=null);var Ue=pi(this);wr(ee,Math.max(0,ee.height-Ue)),a&&(Qa(a,function(){ja(a,ee,-Ue),js(a,z,"widget")}),so(a,"lineWidgetCleared",a,this,z))}},No.prototype.changed=function(){var a=this,y=this.height,ee=this.doc.cm,z=this.line;this.height=null;var ce=pi(this)-y;ce&&(Xn(this.doc,z)||wr(z,z.height+ce),ee&&Qa(ee,function(){ee.curOp.forceUpdate=!0,ja(ee,z,ce),so(ee,"lineWidgetChanged",ee,a,zt(z))}))},Ct(No);function ja(a,y,ee){Wr(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&cu(a,ee)}function ma(a,y,ee,z){var ce=new No(a,ee,z),Ue=a.cm;return Ue&&ce.noHScroll&&(Ue.display.alignWidgets=!0),ia(a,y,"widget",function(rt){var dt=rt.widgets||(rt.widgets=[]);if(ce.insertAt==null?dt.push(ce):dt.splice(Math.min(dt.length-1,Math.max(0,ce.insertAt)),0,ce),ce.line=rt,Ue&&!Xn(a,rt)){var bt=Wr(rt)<a.scrollTop;wr(rt,rt.height+pi(ce)),bt&&cu(Ue,ce.height),Ue.curOp.forceUpdate=!0}return!0}),Ue&&so(Ue,"lineWidgetAdded",Ue,ce,typeof y=="number"?y:zt(y)),ce}var Pa=0,es=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++Pa};es.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&ol(a),$t(this,"clear")){var ee=this.find();ee&&so(this,"clear",ee.from,ee.to)}for(var z=null,ce=null,Ue=0;Ue<this.lines.length;++Ue){var rt=this.lines[Ue],dt=Fr(rt.markedSpans,this);a&&!this.collapsed?js(a,zt(rt),"text"):a&&(dt.to!=null&&(ce=zt(rt)),dt.from!=null&&(z=zt(rt))),rt.markedSpans=vr(rt.markedSpans,dt),dt.from==null&&this.collapsed&&!Xn(this.doc,rt)&&a&&wr(rt,Ma(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var bt=0;bt<this.lines.length;++bt){var At=Gn(this.lines[bt]),un=Qr(At);un>a.display.maxLineLength&&(a.display.maxLine=At,a.display.maxLineLength=un,a.display.maxLineChanged=!0)}z!=null&&a&&this.collapsed&&Ra(a,z,ce+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&$o(a.doc)),a&&so(a,"markerCleared",a,this,z,ce),y&&pl(a),this.parent&&this.parent.clear()}},es.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var ee,z,ce=0;ce<this.lines.length;++ce){var Ue=this.lines[ce],rt=Fr(Ue.markedSpans,this);if(rt.from!=null&&(ee=Nt(y?Ue:zt(Ue),rt.from),a==-1))return ee;if(rt.to!=null&&(z=Nt(y?Ue:zt(Ue),rt.to),a==1))return z}return ee&&{from:ee,to:z}},es.prototype.changed=function(){var a=this,y=this.find(-1,!0),ee=this,z=this.doc.cm;!y||!z||Qa(z,function(){var ce=y.line,Ue=zt(y.line),rt=ms(z,Ue);if(rt&&(Pl(rt),z.curOp.selectionChanged=z.curOp.forceUpdate=!0),z.curOp.updateMaxLine=!0,!Xn(ee.doc,ce)&&ee.height!=null){var dt=ee.height;ee.height=null;var bt=pi(ee)-dt;bt&&wr(ce,ce.height+bt)}so(z,"markerChanged",z,a)})},es.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||Ge(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},es.prototype.detachLine=function(a){if(this.lines.splice(Ge(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Ct(es);function Ls(a,y,ee,z,ce){if(z&&z.shared)return Ml(a,y,ee,z,ce);if(a.cm&&!a.cm.curOp)return Fa(a.cm,Ls)(a,y,ee,z,ce);var Ue=new es(a,ce),rt=Kt(y,ee);if(z&&Ot(z,Ue,!1),rt>0||rt==0&&Ue.clearWhenEmpty!==!1)return Ue;if(Ue.replacedWith&&(Ue.collapsed=!0,Ue.widgetNode=We("span",[Ue.replacedWith],"CodeMirror-widget"),z.handleMouseEvents||Ue.widgetNode.setAttribute("cm-ignore-events","true"),z.insertLeft&&(Ue.widgetNode.insertLeft=!0)),Ue.collapsed){if(hr(a,y.line,y,ee,Ue)||y.line!=ee.line&&hr(a,ee.line,y,ee,Ue))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ir()}Ue.addToHistory&&Mi(a,{from:y,to:ee,origin:"markText"},a.sel,NaN);var dt=y.line,bt=a.cm,At;if(a.iter(dt,ee.line+1,function(Sn){bt&&Ue.collapsed&&!bt.options.lineWrapping&&Gn(Sn)==bt.display.maxLine&&(At=!0),Ue.collapsed&&dt!=y.line&&wr(Sn,0),Dr(Sn,new Lr(Ue,dt==y.line?y.ch:null,dt==ee.line?ee.ch:null)),++dt}),Ue.collapsed&&a.iter(y.line,ee.line+1,function(Sn){Xn(a,Sn)&&wr(Sn,0)}),Ue.clearOnEnter&&Mt(Ue,"beforeCursorEnter",function(){return Ue.clear()}),Ue.readOnly&&(ir(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),Ue.collapsed&&(Ue.id=++Pa,Ue.atomic=!0),bt){if(At&&(bt.curOp.updateMaxLine=!0),Ue.collapsed)Ra(bt,y.line,ee.line+1);else if(Ue.className||Ue.startStyle||Ue.endStyle||Ue.css||Ue.attributes||Ue.title)for(var un=y.line;un<=ee.line;un++)js(bt,un,"text");Ue.atomic&&$o(bt.doc),so(bt,"markerAdded",bt,Ue)}return Ue}var Vo=function(a,y){this.markers=a,this.primary=y;for(var ee=0;ee<a.length;++ee)a[ee].parent=this};Vo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();so(this,"clear")}},Vo.prototype.find=function(a,y){return this.primary.find(a,y)},Ct(Vo);function Ml(a,y,ee,z,ce){z=Ot(z),z.shared=!1;var Ue=[Ls(a,y,ee,z,ce)],rt=Ue[0],dt=z.widgetNode;return Ni(a,function(bt){dt&&(z.widgetNode=dt.cloneNode(!0)),Ue.push(Ls(bt,Yt(bt,y),Yt(bt,ee),z,ce));for(var At=0;At<bt.linked.length;++At)if(bt.linked[At].isParent)return;rt=xt(Ue)}),new Vo(Ue,rt)}function Ga(a){return a.findMarks(Nt(a.first,0),a.clipPos(Nt(a.lastLine())),function(y){return y.parent})}function Ds(a,y){for(var ee=0;ee<y.length;ee++){var z=y[ee],ce=z.find(),Ue=a.clipPos(ce.from),rt=a.clipPos(ce.to);if(Kt(Ue,rt)){var dt=Ls(a,Ue,rt,z.primary,z.primary.type);z.markers.push(dt),dt.parent=z}}}function ls(a){for(var y=function(z){var ce=a[z],Ue=[ce.primary.doc];Ni(ce.primary.doc,function(bt){return Ue.push(bt)});for(var rt=0;rt<ce.markers.length;rt++){var dt=ce.markers[rt];Ge(Ue,dt.doc)==-1&&(dt.parent=null,ce.markers.splice(rt--,1))}},ee=0;ee<a.length;ee++)y(ee)}var is=0,zo=function(a,y,ee,z,ce){if(!(this instanceof zo))return new zo(a,y,ee,z,ce);ee==null&&(ee=0),na.call(this,[new Po([new Fi("",null)])]),this.first=ee,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ee;var Ue=Nt(ee,0);this.sel=Pr(Ue),this.history=new ui(null),this.id=++is,this.modeOption=y,this.lineSep=z,this.direction=ce=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),zi(this,{from:Ue,to:Ue,text:a}),bi(this,Pr(Ue),Ve)};zo.prototype=ue(na.prototype,{constructor:zo,iter:function(a,y,ee){ee?this.iterN(a-this.first,y-a,ee):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var ee=0,z=0;z<y.length;++z)ee+=y[z].height;this.insertInner(a-this.first,y,ee)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=Ar(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:Da(function(a){var y=Nt(this.first,0),ee=this.first+this.size-1;ko(this,{from:y,to:Nt(ee,Ln(this,ee).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&_l(this.cm,0,0),bi(this,Pr(y),Ve)}),replaceRange:function(a,y,ee,z){y=Yt(this,y),ee=ee?Yt(this,ee):y,yo(this,a,y,ee,z)},getRange:function(a,y,ee){var z=Qn(this,Yt(this,a),Yt(this,y));return ee===!1?z:z.join(ee||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(Dt(this,a))return Ln(this,a)},getLineNumber:function(a){return zt(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=Ln(this,a)),Gn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Yt(this,a)},getCursor:function(a){var y=this.sel.primary(),ee;return a==null||a=="head"?ee=y.head:a=="anchor"?ee=y.anchor:a=="end"||a=="to"||a===!1?ee=y.to():ee=y.from(),ee},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Da(function(a,y,ee){Di(this,Yt(this,typeof a=="number"?Nt(a,y||0):a),null,ee)}),setSelection:Da(function(a,y,ee){Di(this,Yt(this,a),Yt(this,y||a),ee)}),extendSelection:Da(function(a,y,ee){go(this,Yt(this,a),y&&Yt(this,y),ee)}),extendSelections:Da(function(a,y){da(this,dn(this,a),y)}),extendSelectionsBy:Da(function(a,y){var ee=wt(this.sel.ranges,a);da(this,dn(this,ee),y)}),setSelections:Da(function(a,y,ee){if(a.length){for(var z=[],ce=0;ce<a.length;ce++)z[ce]=new qn(Yt(this,a[ce].anchor),Yt(this,a[ce].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),bi(this,Gr(this.cm,z,y),ee)}}),addSelection:Da(function(a,y,ee){var z=this.sel.ranges.slice(0);z.push(new qn(Yt(this,a),Yt(this,y||a))),bi(this,Gr(this.cm,z,z.length-1),ee)}),getSelection:function(a){for(var y=this.sel.ranges,ee,z=0;z<y.length;z++){var ce=Qn(this,y[z].from(),y[z].to());ee=ee?ee.concat(ce):ce}return a===!1?ee:ee.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],ee=this.sel.ranges,z=0;z<ee.length;z++){var ce=Qn(this,ee[z].from(),ee[z].to());a!==!1&&(ce=ce.join(a||this.lineSeparator())),y[z]=ce}return y},replaceSelection:function(a,y,ee){for(var z=[],ce=0;ce<this.sel.ranges.length;ce++)z[ce]=a;this.replaceSelections(z,y,ee||"+input")},replaceSelections:Da(function(a,y,ee){for(var z=[],ce=this.sel,Ue=0;Ue<ce.ranges.length;Ue++){var rt=ce.ranges[Ue];z[Ue]={from:rt.from(),to:rt.to(),text:this.splitLines(a[Ue]),origin:ee}}for(var dt=y&&y!="end"&&fi(this,z,y),bt=z.length-1;bt>=0;bt--)ko(this,z[bt]);dt?Bi(this,dt):this.cm&&Nl(this.cm)}),undo:Da(function(){Sa(this,"undo")}),redo:Da(function(){Sa(this,"redo")}),undoSelection:Da(function(){Sa(this,"undo",!0)}),redoSelection:Da(function(){Sa(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,ee=0,z=0;z<a.done.length;z++)a.done[z].ranges||++y;for(var ce=0;ce<a.undone.length;ce++)a.undone[ce].ranges||++ee;return{undo:y,redo:ee}},clearHistory:function(){var a=this;this.history=new ui(this.history.maxGeneration),Ni(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:sa(this.history.done),undone:sa(this.history.undone)}},setHistory:function(a){var y=this.history=new ui(this.history.maxGeneration);y.done=sa(a.done.slice(0),null,!0),y.undone=sa(a.undone.slice(0),null,!0)},setGutterMarker:Da(function(a,y,ee){return ia(this,a,"gutter",function(z){var ce=z.gutterMarkers||(z.gutterMarkers={});return ce[y]=ee,!ee&&De(ce)&&(z.gutterMarkers=null),!0})}),clearGutter:Da(function(a){var y=this;this.iter(function(ee){ee.gutterMarkers&&ee.gutterMarkers[a]&&ia(y,ee,"gutter",function(){return ee.gutterMarkers[a]=null,De(ee.gutterMarkers)&&(ee.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!Dt(this,a)||(y=a,a=Ln(this,a),!a))return null}else if(y=zt(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:Da(function(a,y,ee){return ia(this,a,y=="gutter"?"gutter":"class",function(z){var ce=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!z[ce])z[ce]=ee;else{if(Te(ee).test(z[ce]))return!1;z[ce]+=" "+ee}return!0})}),removeLineClass:Da(function(a,y,ee){return ia(this,a,y=="gutter"?"gutter":"class",function(z){var ce=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",Ue=z[ce];if(Ue)if(ee==null)z[ce]=null;else{var rt=Ue.match(Te(ee));if(!rt)return!1;var dt=rt.index+rt[0].length;z[ce]=Ue.slice(0,rt.index)+(!rt.index||dt==Ue.length?"":" ")+Ue.slice(dt)||null}else return!1;return!0})}),addLineWidget:Da(function(a,y,ee){return ma(this,a,y,ee)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,ee){return Ls(this,Yt(this,a),Yt(this,y),ee,ee&&ee.type||"range")},setBookmark:function(a,y){var ee={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=Yt(this,a),Ls(this,a,a,ee,"bookmark")},findMarksAt:function(a){a=Yt(this,a);var y=[],ee=Ln(this,a.line).markedSpans;if(ee)for(var z=0;z<ee.length;++z){var ce=ee[z];(ce.from==null||ce.from<=a.ch)&&(ce.to==null||ce.to>=a.ch)&&y.push(ce.marker.parent||ce.marker)}return y},findMarks:function(a,y,ee){a=Yt(this,a),y=Yt(this,y);var z=[],ce=a.line;return this.iter(a.line,y.line+1,function(Ue){var rt=Ue.markedSpans;if(rt)for(var dt=0;dt<rt.length;dt++){var bt=rt[dt];!(bt.to!=null&&ce==a.line&&a.ch>=bt.to||bt.from==null&&ce!=a.line||bt.from!=null&&ce==y.line&&bt.from>=y.ch)&&(!ee||ee(bt.marker))&&z.push(bt.marker.parent||bt.marker)}++ce}),z},getAllMarks:function(){var a=[];return this.iter(function(y){var ee=y.markedSpans;if(ee)for(var z=0;z<ee.length;++z)ee[z].from!=null&&a.push(ee[z].marker)}),a},posFromIndex:function(a){var y,ee=this.first,z=this.lineSeparator().length;return this.iter(function(ce){var Ue=ce.text.length+z;if(Ue>a)return y=a,!0;a-=Ue,++ee}),Yt(this,Nt(ee,y))},indexFromPos:function(a){a=Yt(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var ee=this.lineSeparator().length;return this.iter(this.first,a.line,function(z){y+=z.text.length+ee}),y},copy:function(a){var y=new zo(Ar(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,ee=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<ee&&(ee=a.to);var z=new zo(Ar(this,y,ee),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(z.history=this.history),(this.linked||(this.linked=[])).push({doc:z,sharedHist:a.sharedHist}),z.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],Ds(z,Ga(this)),z},unlinkDoc:function(a){if(a instanceof la&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var ee=this.linked[y];if(ee.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),ls(Ga(this));break}}if(a.history==this.history){var z=[a.id];Ni(a,function(ce){return z.push(ce.id)},!0),a.history=new ui(null),a.history.done=sa(this.history.done,z),a.history.undone=sa(this.history.undone,z)}},iterLinkedDocs:function(a){Ni(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Yn(a)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Da(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&Si(this.cm))})}),zo.prototype.eachLine=zo.prototype.iter;var us=0;function Ns(a){var y=this;if(Xl(y),!(Bt(y,a)||Xi(y.display,a))){jt(a),de&&(us=+new Date);var ee=Is(y,a,!0),z=a.dataTransfer.files;if(!(!ee||y.isReadOnly()))if(z&&z.length&&window.FileReader&&window.File)for(var ce=z.length,Ue=Array(ce),rt=0,dt=function(){++rt==ce&&Fa(y,function(){ee=Yt(y.doc,ee);var Vn={from:ee,to:ee,text:y.doc.splitLines(Ue.filter(function(Or){return Or!=null}).join(y.doc.lineSeparator())),origin:"paste"};ko(y.doc,Vn),Bi(y.doc,Pr(Yt(y.doc,ee),Yt(y.doc,$r(Vn))))})()},bt=function(Vn,Or){if(y.options.allowDropFileTypes&&Ge(y.options.allowDropFileTypes,Vn.type)==-1){dt();return}var _r=new FileReader;_r.onerror=function(){return dt()},_r.onload=function(){var oi=_r.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(oi)){dt();return}Ue[Or]=oi,dt()},_r.readAsText(Vn)},At=0;At<z.length;At++)bt(z[At],At);else{if(y.state.draggingText&&y.doc.sel.contains(ee)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var un=a.dataTransfer.getData("Text");if(un){var Sn;if(y.state.draggingText&&!y.state.draggingText.copy&&(Sn=y.listSelections()),Io(y.doc,Pr(ee,ee)),Sn)for(var rr=0;rr<Sn.length;++rr)yo(y.doc,"",Sn[rr].anchor,Sn[rr].head,"drag");y.replaceSelection(un,"around","paste"),y.display.input.focus()}}catch(Vn){}}}}function ks(a,y){if(de&&(!a.state.draggingText||+new Date-us<100)){Et(y);return}if(!(Bt(a,y)||Xi(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!te)){var ee=Ke("img",null,null,"position: fixed; left: 0; top: 0;");ee.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",E&&(ee.width=ee.height=1,a.display.wrapper.appendChild(ee),ee._top=ee.offsetTop),y.dataTransfer.setDragImage(ee,0,0),E&&ee.parentNode.removeChild(ee)}}function Ms(a,y){var ee=Is(a,y);if(ee){var z=document.createDocumentFragment();Ru(a,ee,z),a.display.dragCursor||(a.display.dragCursor=Ke("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Oe(a.display.dragCursor,z)}}function Xl(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function hl(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),ee=[],z=0;z<y.length;z++){var ce=y[z].CodeMirror;ce&&ee.push(ce)}ee.length&&ee[0].operation(function(){for(var Ue=0;Ue<ee.length;Ue++)a(ee[Ue])})}}var Rl=!1;function Yl(){Rl||(gu(),Rl=!0)}function gu(){var a;Mt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,hl(ao)},100))}),Mt(window,"blur",function(){return hl(dl)})}function ao(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var Ao={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},oa=0;oa<10;oa++)Ao[oa+48]=Ao[oa+96]=String(oa);for(var ha=65;ha<=90;ha++)Ao[ha]=String.fromCharCode(ha);for(var Ta=1;Ta<=12;Ta++)Ao[Ta+111]=Ao[Ta+63235]="F"+Ta;var Ea={};Ea.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ea.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ea.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ea.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ea.default=Ee?Ea.macDefault:Ea.pcDefault;function os(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var ee,z,ce,Ue,rt=0;rt<y.length-1;rt++){var dt=y[rt];if(/^(cmd|meta|m)$/i.test(dt))Ue=!0;else if(/^a(lt)?$/i.test(dt))ee=!0;else if(/^(c|ctrl|control)$/i.test(dt))z=!0;else if(/^s(hift)?$/i.test(dt))ce=!0;else throw new Error("Unrecognized modifier name: "+dt)}return ee&&(a="Alt-"+a),z&&(a="Ctrl-"+a),Ue&&(a="Cmd-"+a),ce&&(a="Shift-"+a),a}function Ha(a){var y={};for(var ee in a)if(a.hasOwnProperty(ee)){var z=a[ee];if(/^(name|fallthrough|(de|at)tach)$/.test(ee))continue;if(z=="..."){delete a[ee];continue}for(var ce=wt(ee.split(" "),os),Ue=0;Ue<ce.length;Ue++){var rt=void 0,dt=void 0;Ue==ce.length-1?(dt=ce.join(" "),rt=z):(dt=ce.slice(0,Ue+1).join(" "),rt="...");var bt=y[dt];if(!bt)y[dt]=rt;else if(bt!=rt)throw new Error("Inconsistent bindings for "+dt)}delete a[ee]}for(var At in y)a[At]=y[At];return a}function al(a,y,ee,z){y=$l(y);var ce=y.call?y.call(a,z):y[a];if(ce===!1)return"nothing";if(ce==="...")return"multi";if(ce!=null&&ee(ce))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return al(a,y.fallthrough,ee,z);for(var Ue=0;Ue<y.fallthrough.length;Ue++){var rt=al(a,y.fallthrough[Ue],ee,z);if(rt)return rt}}}function ml(a){var y=typeof a=="string"?a:Ao[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function vl(a,y,ee){var z=a;return y.altKey&&z!="Alt"&&(a="Alt-"+a),(Me?y.metaKey:y.ctrlKey)&&z!="Ctrl"&&(a="Ctrl-"+a),(Me?y.ctrlKey:y.metaKey)&&z!="Mod"&&(a="Cmd-"+a),!ee&&y.shiftKey&&z!="Shift"&&(a="Shift-"+a),a}function Gs(a,y){if(E&&a.keyCode==34&&a.char)return!1;var ee=Ao[a.keyCode];return ee==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(ee=a.code),vl(ee,a,y))}function $l(a){return typeof a=="string"?Ea[a]:a}function Xs(a,y){for(var ee=a.doc.sel.ranges,z=[],ce=0;ce<ee.length;ce++){for(var Ue=y(ee[ce]);z.length&&Kt(Ue.from,xt(z).to)<=0;){var rt=z.pop();if(Kt(rt.from,Ue.from)<0){Ue.from=rt.from;break}}z.push(Ue)}Qa(a,function(){for(var dt=z.length-1;dt>=0;dt--)yo(a.doc,"",z[dt].from,z[dt].to,"+delete");Nl(a)})}function yu(a,y,ee){var z=me(a.text,y+ee,ee);return z<0||z>a.text.length?null:z}function Jl(a,y,ee){var z=yu(a,y.ch,ee);return z==null?null:new Nt(y.line,z,ee<0?"after":"before")}function Ys(a,y,ee,z,ce){if(a){y.doc.direction=="rtl"&&(ce=-ce);var Ue=ot(ee,y.doc.direction);if(Ue){var rt=ce<0?xt(Ue):Ue[0],dt=ce<0==(rt.level==1),bt=dt?"after":"before",At;if(rt.level>0||y.doc.direction=="rtl"){var un=Ca(y,ee);At=ce<0?ee.text.length-1:0;var Sn=vs(y,un,At).top;At=Le(function(rr){return vs(y,un,rr).top==Sn},ce<0==(rt.level==1)?rt.from:rt.to-1,At),bt=="before"&&(At=yu(ee,At,1))}else At=ce<0?rt.to:rt.from;return new Nt(z,At,bt)}}return new Nt(z,ce<0?ee.text.length:0,ce<0?"before":"after")}function Hu(a,y,ee,z){var ce=ot(y,a.doc.direction);if(!ce)return Jl(y,ee,z);ee.ch>=y.text.length?(ee.ch=y.text.length,ee.sticky="before"):ee.ch<=0&&(ee.ch=0,ee.sticky="after");var Ue=Qe(ce,ee.ch,ee.sticky),rt=ce[Ue];if(a.doc.direction=="ltr"&&rt.level%2==0&&(z>0?rt.to>ee.ch:rt.from<ee.ch))return Jl(y,ee,z);var dt=function(gi,Oi){return yu(y,gi instanceof Nt?gi.ch:gi,Oi)},bt,At=function(gi){return a.options.lineWrapping?(bt=bt||Ca(a,y),ca(a,y,bt,gi)):{begin:0,end:y.text.length}},un=At(ee.sticky=="before"?dt(ee,-1):ee.ch);if(a.doc.direction=="rtl"||rt.level==1){var Sn=rt.level==1==z<0,rr=dt(ee,Sn?1:-1);if(rr!=null&&(Sn?rr<=rt.to&&rr<=un.end:rr>=rt.from&&rr>=un.begin)){var Vn=Sn?"before":"after";return new Nt(ee.line,rr,Vn)}}var Or=function(gi,Oi,mi){for(var ki=function(ra,_a){return _a?new Nt(ee.line,dt(ra,1),"before"):new Nt(ee.line,ra,"after")};gi>=0&&gi<ce.length;gi+=Oi){var eo=ce[gi],Yi=Oi>0==(eo.level!=1),Do=Yi?mi.begin:dt(mi.end,-1);if(eo.from<=Do&&Do<eo.to||(Do=Yi?eo.from:dt(eo.to,-1),mi.begin<=Do&&Do<mi.end))return ki(Do,Yi)}},_r=Or(Ue+z,z,un);if(_r)return _r;var oi=z>0?un.end:dt(un.begin,-1);return oi!=null&&!(z>0&&oi==y.text.length)&&(_r=Or(z>0?0:ce.length-1,z,At(oi)),_r)?_r:null}var $s={selectAll:_i,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Ve)},killLine:function(a){return Xs(a,function(y){if(y.empty()){var ee=Ln(a.doc,y.head.line).text.length;return y.head.ch==ee&&y.head.line<a.lastLine()?{from:y.head,to:Nt(y.head.line+1,0)}:{from:y.head,to:Nt(y.head.line,ee)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Xs(a,function(y){return{from:Nt(y.from().line,0),to:Yt(a.doc,Nt(y.to().line+1,0))}})},delLineLeft:function(a){return Xs(a,function(y){return{from:Nt(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return Xs(a,function(y){var ee=a.charCoords(y.head,"div").top+5,z=a.coordsChar({left:0,top:ee},"div");return{from:z,to:y.from()}})},delWrappedLineRight:function(a){return Xs(a,function(y){var ee=a.charCoords(y.head,"div").top+5,z=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:ee},"div");return{from:y.from(),to:z}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(Nt(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Nt(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return bu(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return Fl(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return rc(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:ee},"div")},st)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:ee},"div")},st)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5,z=a.coordsChar({left:0,top:ee},"div");return z.ch<a.getLine(z.line).search(/\S/)?Fl(a,y.head):z},st)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],ee=a.listSelections(),z=a.options.tabSize,ce=0;ce<ee.length;ce++){var Ue=ee[ce].from(),rt=nt(a.getLine(Ue.line),Ue.ch,z);y.push(Tt(z-rt%z))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Qa(a,function(){for(var y=a.listSelections(),ee=[],z=0;z<y.length;z++)if(y[z].empty()){var ce=y[z].head,Ue=Ln(a.doc,ce.line).text;if(Ue){if(ce.ch==Ue.length&&(ce=new Nt(ce.line,ce.ch-1)),ce.ch>0)ce=new Nt(ce.line,ce.ch+1),a.replaceRange(Ue.charAt(ce.ch-1)+Ue.charAt(ce.ch-2),Nt(ce.line,ce.ch-2),ce,"+transpose");else if(ce.line>a.doc.first){var rt=Ln(a.doc,ce.line-1).text;rt&&(ce=new Nt(ce.line,1),a.replaceRange(Ue.charAt(0)+a.doc.lineSeparator()+rt.charAt(rt.length-1),Nt(ce.line-1,rt.length-1),ce,"+transpose"))}}ee.push(new qn(ce,ce))}a.setSelections(ee)})},newlineAndIndent:function(a){return Qa(a,function(){for(var y=a.listSelections(),ee=y.length-1;ee>=0;ee--)a.replaceRange(a.doc.lineSeparator(),y[ee].anchor,y[ee].head,"+input");y=a.listSelections();for(var z=0;z<y.length;z++)a.indentLine(y[z].from().line,null,!0);Nl(a)})},openLine:function(a){return a.replaceSelection(`
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function bu(a,y){var ee=Ln(a.doc,y),z=Gn(ee);return z!=ee&&(y=zt(z)),Ys(!0,a,z,y,1)}function rc(a,y){var ee=Ln(a.doc,y),z=kr(ee);return z!=ee&&(y=zt(z)),Ys(!0,a,ee,y,-1)}function Fl(a,y){var ee=bu(a,y.line),z=Ln(a.doc,ee.line),ce=ot(z,a.doc.direction);if(!ce||ce[0].level==0){var Ue=Math.max(ee.ch,z.text.search(/\S/)),rt=y.line==ee.line&&y.ch<=Ue&&y.ch;return Nt(ee.line,rt?0:Ue,ee.sticky)}return ee}function jl(a,y,ee){if(typeof y=="string"&&(y=$s[y],!y))return!1;a.display.input.ensurePolled();var z=a.display.shift,ce=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ee&&(a.display.shift=!1),ce=y(a)!=qe}finally{a.display.shift=z,a.state.suppressEdits=!1}return ce}function ic(a,y,ee){for(var z=0;z<a.state.keyMaps.length;z++){var ce=al(y,a.state.keyMaps[z],ee,a);if(ce)return ce}return a.options.extraKeys&&al(y,a.options.extraKeys,ee,a)||al(y,a.options.keyMap,ee,a)}var oc=new Ze;function zl(a,y,ee,z){var ce=a.state.keySeq;if(ce){if(ml(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:oc.set(50,function(){a.state.keySeq==ce&&(a.state.keySeq=null,a.display.input.reset())}),xu(a,ce+" "+y,ee,z))return!0}return xu(a,y,ee,z)}function xu(a,y,ee,z){var ce=ic(a,y,z);return ce=="multi"&&(a.state.keySeq=y),ce=="handled"&&so(a,"keyHandled",a,y,ee),(ce=="handled"||ce=="multi")&&(jt(ee),Ul(a)),!!ce}function Wl(a,y){var ee=Gs(y,!0);return ee?y.shiftKey&&!a.state.keySeq?zl(a,"Shift-"+ee,y,function(z){return jl(a,z,!0)})||zl(a,ee,y,function(z){if(typeof z=="string"?/^go[A-Z]/.test(z):z.motion)return jl(a,z)}):zl(a,ee,y,function(z){return jl(a,z)}):!1}function Cu(a,y,ee){return zl(a,"'"+ee+"'",y,function(z){return jl(a,z,!0)})}var gl=null;function wu(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=Je(),!Bt(y,a))){de&&ve<11&&a.keyCode==27&&(a.returnValue=!1);var ee=a.keyCode;y.display.shift=ee==16||a.shiftKey;var z=Wl(y,a);E&&(gl=z?ee:null,!z&&ee==88&&!Wn&&(Ee?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!Ee&&!z&&ee==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),ee==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Zu(y)}}function Zu(a){var y=a.display.lineDiv;He(y,"CodeMirror-crosshair");function ee(z){(z.keyCode==18||!z.altKey)&&(Fe(y,"CodeMirror-crosshair"),tn(document,"keyup",ee),tn(document,"mouseover",ee))}Mt(document,"keyup",ee),Mt(document,"mouseover",ee)}function Su(a){a.keyCode==16&&(this.doc.sel.shift=!1),Bt(this,a)}function Eu(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Xi(y.display,a)||Bt(y,a)||a.ctrlKey&&!a.altKey||Ee&&a.metaKey)){var ee=a.keyCode,z=a.charCode;if(E&&ee==gl){gl=null,jt(a);return}if(!(E&&(!a.which||a.which<10)&&Wl(y,a))){var ce=String.fromCharCode(z==null?ee:z);ce!="\b"&&(Cu(y,a,ce)||y.display.input.onKeyPress(a))}}}var Uu=400,Ql=function(a,y,ee){this.time=a,this.pos=y,this.button=ee};Ql.prototype.compare=function(a,y,ee){return this.time+Uu>a&&Kt(y,this.pos)==0&&ee==this.button};var sl,yl;function Au(a,y){var ee=+new Date;return yl&&yl.compare(ee,a,y)?(sl=yl=null,"triple"):sl&&sl.compare(ee,a,y)?(yl=new Ql(ee,a,y),sl=null,"double"):(sl=new Ql(ee,a,y),yl=null,"single")}function Iu(a){var y=this,ee=y.display;if(!(Bt(y,a)||ee.activeTouch&&ee.input.supportsTouch())){if(ee.input.ensurePolled(),ee.shift=a.shiftKey,Xi(ee,a)){re||(ee.scroller.draggable=!1,setTimeout(function(){return ee.scroller.draggable=!0},100));return}if(!Ws(y,a)){var z=Is(y,a),ce=Jt(a),Ue=z?Au(z,ce):"single";window.focus(),ce==1&&y.state.selectingText&&y.state.selectingText(a),!(z&&ac(y,ce,z,Ue,a))&&(ce==1?z?Bo(y,z,Ue,a):Wt(a)==ee.scroller&&jt(a):ce==2?(z&&go(y.doc,z),setTimeout(function(){return ee.input.focus()},20)):ce==3&&(ye?y.display.input.onContextMenu(a):Fu(y)))}}}function ac(a,y,ee,z,ce){var Ue="Click";return z=="double"?Ue="Double"+Ue:z=="triple"&&(Ue="Triple"+Ue),Ue=(y==1?"Left":y==2?"Middle":"Right")+Ue,zl(a,vl(Ue,ce),ce,function(rt){if(typeof rt=="string"&&(rt=$s[rt]),!rt)return!1;var dt=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),dt=rt(a,ee)!=qe}finally{a.state.suppressEdits=!1}return dt})}function Co(a,y,ee){var z=a.getOption("configureMouse"),ce=z?z(a,y,ee):{};if(ce.unit==null){var Ue=Pe?ee.shiftKey&&ee.metaKey:ee.altKey;ce.unit=Ue?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(ce.extend==null||a.doc.extend)&&(ce.extend=a.doc.extend||ee.shiftKey),ce.addNew==null&&(ce.addNew=Ee?ee.metaKey:ee.ctrlKey),ce.moveOnDrag==null&&(ce.moveOnDrag=!(Ee?ee.altKey:ee.ctrlKey)),ce}function Bo(a,y,ee,z){de?setTimeout(tt(Xu,a),0):a.curOp.focus=Je();var ce=Co(a,ee,z),Ue=a.doc.sel,rt;a.options.dragDrop&&bn&&!a.isReadOnly()&&ee=="single"&&(rt=Ue.contains(y))>-1&&(Kt((rt=Ue.ranges[rt]).from(),y)<0||y.xRel>0)&&(Kt(rt.to(),y)>0||y.xRel<0)?Za(a,z,y,ce):Ua(a,z,y,ce)}function Za(a,y,ee,z){var ce=a.display,Ue=!1,rt=Fa(a,function(At){re&&(ce.scroller.draggable=!1),a.state.draggingText=!1,tn(ce.wrapper.ownerDocument,"mouseup",rt),tn(ce.wrapper.ownerDocument,"mousemove",dt),tn(ce.scroller,"dragstart",bt),tn(ce.scroller,"drop",rt),Ue||(jt(At),z.addNew||go(a.doc,ee,null,null,z.extend),re&&!te||de&&ve==9?setTimeout(function(){ce.wrapper.ownerDocument.body.focus({preventScroll:!0}),ce.input.focus()},20):ce.input.focus())}),dt=function(At){Ue=Ue||Math.abs(y.clientX-At.clientX)+Math.abs(y.clientY-At.clientY)>=10},bt=function(){return Ue=!0};re&&(ce.scroller.draggable=!0),a.state.draggingText=rt,rt.copy=!z.moveOnDrag,ce.scroller.dragDrop&&ce.scroller.dragDrop(),Mt(ce.wrapper.ownerDocument,"mouseup",rt),Mt(ce.wrapper.ownerDocument,"mousemove",dt),Mt(ce.scroller,"dragstart",bt),Mt(ce.scroller,"drop",rt),Fu(a),setTimeout(function(){return ce.input.focus()},20)}function cs(a,y,ee){if(ee=="char")return new qn(y,y);if(ee=="word")return a.findWordAt(y);if(ee=="line")return new qn(Nt(y.line,0),Yt(a.doc,Nt(y.line+1,0)));var z=ee(a,y);return new qn(z.from,z.to)}function Ua(a,y,ee,z){var ce=a.display,Ue=a.doc;jt(y);var rt,dt,bt=Ue.sel,At=bt.ranges;if(z.addNew&&!z.extend?(dt=Ue.sel.contains(ee),dt>-1?rt=At[dt]:rt=new qn(ee,ee)):(rt=Ue.sel.primary(),dt=Ue.sel.primIndex),z.unit=="rectangle")z.addNew||(rt=new qn(ee,ee)),ee=Is(a,y,!0,!0),dt=-1;else{var un=cs(a,ee,z.unit);z.extend?rt=mo(rt,un.anchor,un.head,z.extend):rt=un}z.addNew?dt==-1?(dt=At.length,bi(Ue,Gr(a,At.concat([rt]),dt),{scroll:!1,origin:"*mouse"})):At.length>1&&At[dt].empty()&&z.unit=="char"&&!z.extend?(bi(Ue,Gr(a,At.slice(0,dt).concat(At.slice(dt+1)),0),{scroll:!1,origin:"*mouse"}),bt=Ue.sel):ta(Ue,dt,rt,mt):(dt=0,bi(Ue,new er([rt],0),mt),bt=Ue.sel);var Sn=ee;function rr(mi){if(Kt(Sn,mi)!=0)if(Sn=mi,z.unit=="rectangle"){for(var ki=[],eo=a.options.tabSize,Yi=nt(Ln(Ue,ee.line).text,ee.ch,eo),Do=nt(Ln(Ue,mi.line).text,mi.ch,eo),ra=Math.min(Yi,Do),_a=Math.max(Yi,Do),va=Math.min(ee.line,mi.line),ws=Math.min(a.lastLine(),Math.max(ee.line,mi.line));va<=ws;va++){var ds=Ln(Ue,va).text,Oa=Lt(ds,ra,eo);ra==_a?ki.push(new qn(Nt(va,Oa),Nt(va,Oa))):ds.length>Oa&&ki.push(new qn(Nt(va,Oa),Nt(va,Lt(ds,_a,eo))))}ki.length||ki.push(new qn(ee,ee)),bi(Ue,Gr(a,bt.ranges.slice(0,dt).concat(ki),dt),{origin:"*mouse",scroll:!1}),a.scrollIntoView(mi)}else{var as=rt,Xa=cs(a,mi,z.unit),za=as.anchor,xa;Kt(Xa.anchor,za)>0?(xa=Xa.head,za=an(as.from(),Xa.anchor)):(xa=Xa.anchor,za=on(as.to(),Xa.head));var ga=bt.ranges.slice(0);ga[dt]=bl(a,new qn(Yt(Ue,za),xa)),bi(Ue,Gr(a,ga,dt),mt)}}var Vn=ce.wrapper.getBoundingClientRect(),Or=0;function _r(mi){var ki=++Or,eo=Is(a,mi,!0,z.unit=="rectangle");if(eo)if(Kt(eo,Sn)!=0){a.curOp.focus=Je(),rr(eo);var Yi=Os(ce,Ue);(eo.line>=Yi.to||eo.line<Yi.from)&&setTimeout(Fa(a,function(){Or==ki&&_r(mi)}),150)}else{var Do=mi.clientY<Vn.top?-20:mi.clientY>Vn.bottom?20:0;Do&&setTimeout(Fa(a,function(){Or==ki&&(ce.scroller.scrollTop+=Do,_r(mi))}),50)}}function oi(mi){a.state.selectingText=!1,Or=1/0,mi&&(jt(mi),ce.input.focus()),tn(ce.wrapper.ownerDocument,"mousemove",gi),tn(ce.wrapper.ownerDocument,"mouseup",Oi),Ue.history.lastSelOrigin=null}var gi=Fa(a,function(mi){mi.buttons===0||!Jt(mi)?oi(mi):_r(mi)}),Oi=Fa(a,oi);a.state.selectingText=Oi,Mt(ce.wrapper.ownerDocument,"mousemove",gi),Mt(ce.wrapper.ownerDocument,"mouseup",Oi)}function bl(a,y){var ee=y.anchor,z=y.head,ce=Ln(a.doc,ee.line);if(Kt(ee,z)==0&&ee.sticky==z.sticky)return y;var Ue=ot(ce);if(!Ue)return y;var rt=Qe(Ue,ee.ch,ee.sticky),dt=Ue[rt];if(dt.from!=ee.ch&&dt.to!=ee.ch)return y;var bt=rt+(dt.from==ee.ch==(dt.level!=1)?0:1);if(bt==0||bt==Ue.length)return y;var At;if(z.line!=ee.line)At=(z.line-ee.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var un=Qe(Ue,z.ch,z.sticky),Sn=un-rt||(z.ch-ee.ch)*(dt.level==1?-1:1);un==bt-1||un==bt?At=Sn<0:At=Sn>0}var rr=Ue[bt+(At?-1:0)],Vn=At==(rr.level==1),Or=Vn?rr.from:rr.to,_r=Vn?"after":"before";return ee.ch==Or&&ee.sticky==_r?y:new qn(new Nt(ee.line,Or,_r),z)}function Cs(a,y,ee,z){var ce,Ue;if(y.touches)ce=y.touches[0].clientX,Ue=y.touches[0].clientY;else try{ce=y.clientX,Ue=y.clientY}catch(rr){return!1}if(ce>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;z&&jt(y);var rt=a.display,dt=rt.lineDiv.getBoundingClientRect();if(Ue>dt.bottom||!$t(a,ee))return yn(y);Ue-=dt.top-rt.viewOffset;for(var bt=0;bt<a.display.gutterSpecs.length;++bt){var At=rt.gutters.childNodes[bt];if(At&&At.getBoundingClientRect().right>=ce){var un=It(a.doc,Ue),Sn=a.display.gutterSpecs[bt];return qt(a,ee,a,un,Sn.className,y),yn(y)}}}function Ws(a,y){return Cs(a,y,"gutterClick",!0)}function ll(a,y){Xi(a.display,y)||Du(a,y)||Bt(a,y,"contextmenu")||ye||a.display.input.onContextMenu(y)}function Du(a,y){return $t(a,"gutterContextMenu")?Cs(a,y,"gutterContextMenu",!1):!1}function bc(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Js(a)}var Pu={toString:function(){return"CodeMirror.Init"}},xc={},ql={};function kc(a){var y=a.optionHandlers;function ee(z,ce,Ue,rt){a.defaults[z]=ce,Ue&&(y[z]=rt?function(dt,bt,At){At!=Pu&&Ue(dt,bt,At)}:Ue)}a.defineOption=ee,a.Init=Pu,ee("value","",function(z,ce){return z.setValue(ce)},!0),ee("mode",null,function(z,ce){z.doc.modeOption=ce,Ci(z)},!0),ee("indentUnit",2,Ci,!0),ee("indentWithTabs",!1),ee("smartIndent",!0),ee("tabSize",4,function(z){vi(z),Js(z),Ra(z)},!0),ee("lineSeparator",null,function(z,ce){if(z.doc.lineSep=ce,!!ce){var Ue=[],rt=z.doc.first;z.doc.iter(function(bt){for(var At=0;;){var un=bt.text.indexOf(ce,At);if(un==-1)break;At=un+ce.length,Ue.push(Nt(rt,un))}rt++});for(var dt=Ue.length-1;dt>=0;dt--)yo(z.doc,ce,Ue[dt],Nt(Ue[dt].line,Ue[dt].ch+ce.length))}}),ee("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(z,ce,Ue){z.state.specialChars=new RegExp(ce.source+(ce.test(" ")?"":"| "),"g"),Ue!=Pu&&z.refresh()}),ee("specialCharPlaceholder",ro,function(z){return z.refresh()},!0),ee("electricChars",!0),ee("inputStyle",le?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ee("spellcheck",!1,function(z,ce){return z.getInputField().spellcheck=ce},!0),ee("autocorrect",!1,function(z,ce){return z.getInputField().autocorrect=ce},!0),ee("autocapitalize",!1,function(z,ce){return z.getInputField().autocapitalize=ce},!0),ee("rtlMoveVisually",!Ie),ee("wholeLineUpdateBefore",!0),ee("theme","default",function(z){bc(z),Nn(z)},!0),ee("keyMap","default",function(z,ce,Ue){var rt=$l(ce),dt=Ue!=Pu&&$l(Ue);dt&&dt.detach&&dt.detach(z,rt),rt.attach&&rt.attach(z,dt||null)}),ee("extraKeys",null),ee("configureMouse",null),ee("lineWrapping",!1,Rc,!0),ee("gutters",[],function(z,ce){z.display.gutterSpecs=sn(ce,z.options.lineNumbers),Nn(z)},!0),ee("fixedGutter",!0,function(z,ce){z.display.gutters.style.left=ce?ou(z.display)+"px":"0",z.refresh()},!0),ee("coverGutterNextToScrollbar",!1,function(z){return il(z)},!0),ee("scrollbarStyle","native",function(z){pu(z),il(z),z.display.scrollbars.setScrollTop(z.doc.scrollTop),z.display.scrollbars.setScrollLeft(z.doc.scrollLeft)},!0),ee("lineNumbers",!1,function(z,ce){z.display.gutterSpecs=sn(z.options.gutters,ce),Nn(z)},!0),ee("firstLineNumber",1,Nn,!0),ee("lineNumberFormatter",function(z){return z},Nn,!0),ee("showCursorWhenSelecting",!1,tl,!0),ee("resetSelectionOnContextMenu",!0),ee("lineWiseCopyCut",!0),ee("pasteLinesPerSelection",!0),ee("selectionsMayTouch",!1),ee("readOnly",!1,function(z,ce){ce=="nocursor"&&(dl(z),z.display.input.blur()),z.display.input.readOnlyChanged(ce)}),ee("screenReaderLabel",null,function(z,ce){ce=ce===""?null:ce,z.display.input.screenReaderLabelChanged(ce)}),ee("disableInput",!1,function(z,ce){ce||z.display.input.reset()},!0),ee("dragDrop",!0,Mc),ee("allowDropFileTypes",null),ee("cursorBlinkRate",530),ee("cursorScrollMargin",0),ee("cursorHeight",1,tl,!0),ee("singleCursorHeightPerLine",!0,tl,!0),ee("workTime",100),ee("workDelay",100),ee("flattenSpans",!0,vi,!0),ee("addModeClass",!1,vi,!0),ee("pollInterval",100),ee("undoDepth",200,function(z,ce){return z.doc.history.undoDepth=ce}),ee("historyEventDelay",1250),ee("viewportMargin",10,function(z){return z.refresh()},!0),ee("maxHighlightLength",1e4,vi,!0),ee("moveInputWithCursor",!0,function(z,ce){ce||z.display.input.resetPosition()}),ee("tabindex",null,function(z,ce){return z.display.input.getField().tabIndex=ce||""}),ee("autofocus",null),ee("direction","ltr",function(z,ce){return z.doc.setDirection(ce)},!0),ee("phrases",null)}function Mc(a,y,ee){var z=ee&&ee!=Pu;if(!y!=!z){var ce=a.display.dragFunctions,Ue=y?Mt:tn;Ue(a.display.scroller,"dragstart",ce.start),Ue(a.display.scroller,"dragenter",ce.enter),Ue(a.display.scroller,"dragover",ce.over),Ue(a.display.scroller,"dragleave",ce.leave),Ue(a.display.scroller,"drop",ce.drop)}}function Rc(a){a.options.lineWrapping?(He(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Fe(a.display.wrapper,"CodeMirror-wrap"),Xr(a)),cl(a),Ra(a),Js(a),setTimeout(function(){return il(a)},100)}function la(a,y){var ee=this;if(!(this instanceof la))return new la(a,y);this.options=y=y?Ot(y):{},Ot(xc,y,!1);var z=y.value;typeof z=="string"?z=new zo(z,y.mode,null,y.lineSeparator,y.direction):y.mode&&(z.modeOption=y.mode),this.doc=z;var ce=new la.inputStyles[y.inputStyle](this),Ue=this.display=new Dn(a,z,ce,y);Ue.wrapper.CodeMirror=this,bc(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),pu(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 Ze,keySeq:null,specialChars:null},y.autofocus&&!le&&Ue.input.focus(),de&&ve<11&&setTimeout(function(){return ee.display.input.reset(!0)},20),Fc(this),Yl(),ol(this),this.curOp.forceUpdate=!0,Gi(this,z),y.autofocus&&!le||this.hasFocus()?setTimeout(function(){ee.hasFocus()&&!ee.state.focused&&ju(ee)},20):dl(this);for(var rt in ql)ql.hasOwnProperty(rt)&&ql[rt](this,y[rt],Pu);Ut(this),y.finishInit&&y.finishInit(this);for(var dt=0;dt<_u.length;++dt)_u[dt](this);pl(this),re&&y.lineWrapping&&getComputedStyle(Ue.lineDiv).textRendering=="optimizelegibility"&&(Ue.lineDiv.style.textRendering="auto")}la.defaults=xc,la.optionHandlers=ql;function Fc(a){var y=a.display;Mt(y.scroller,"mousedown",Fa(a,Iu)),de&&ve<11?Mt(y.scroller,"dblclick",Fa(a,function(bt){if(!Bt(a,bt)){var At=Is(a,bt);if(!(!At||Ws(a,bt)||Xi(a.display,bt))){jt(bt);var un=a.findWordAt(At);go(a.doc,un.anchor,un.head)}}})):Mt(y.scroller,"dblclick",function(bt){return Bt(a,bt)||jt(bt)}),Mt(y.scroller,"contextmenu",function(bt){return ll(a,bt)}),Mt(y.input.getField(),"contextmenu",function(bt){y.scroller.contains(bt.target)||ll(a,bt)});var ee,z={end:0};function ce(){y.activeTouch&&(ee=setTimeout(function(){return y.activeTouch=null},1e3),z=y.activeTouch,z.end=+new Date)}function Ue(bt){if(bt.touches.length!=1)return!1;var At=bt.touches[0];return At.radiusX<=1&&At.radiusY<=1}function rt(bt,At){if(At.left==null)return!0;var un=At.left-bt.left,Sn=At.top-bt.top;return un*un+Sn*Sn>20*20}Mt(y.scroller,"touchstart",function(bt){if(!Bt(a,bt)&&!Ue(bt)&&!Ws(a,bt)){y.input.ensurePolled(),clearTimeout(ee);var At=+new Date;y.activeTouch={start:At,moved:!1,prev:At-z.end<=300?z:null},bt.touches.length==1&&(y.activeTouch.left=bt.touches[0].pageX,y.activeTouch.top=bt.touches[0].pageY)}}),Mt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Mt(y.scroller,"touchend",function(bt){var At=y.activeTouch;if(At&&!Xi(y,bt)&&At.left!=null&&!At.moved&&new Date-At.start<300){var un=a.coordsChar(y.activeTouch,"page"),Sn;!At.prev||rt(At,At.prev)?Sn=new qn(un,un):!At.prev.prev||rt(At,At.prev.prev)?Sn=a.findWordAt(un):Sn=new qn(Nt(un.line,0),Yt(a.doc,Nt(un.line+1,0))),a.setSelection(Sn.anchor,Sn.head),a.focus(),jt(bt)}ce()}),Mt(y.scroller,"touchcancel",ce),Mt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(Vs(a,y.scroller.scrollTop),xs(a,y.scroller.scrollLeft,!0),qt(a,"scroll",a))}),Mt(y.scroller,"mousewheel",function(bt){return lr(a,bt)}),Mt(y.scroller,"DOMMouseScroll",function(bt){return lr(a,bt)}),Mt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(bt){Bt(a,bt)||Et(bt)},over:function(bt){Bt(a,bt)||(Ms(a,bt),Et(bt))},start:function(bt){return ks(a,bt)},drop:Fa(a,Ns),leave:function(bt){Bt(a,bt)||Xl(a)}};var dt=y.input.getField();Mt(dt,"keyup",function(bt){return Su.call(a,bt)}),Mt(dt,"keydown",Fa(a,wu)),Mt(dt,"keypress",Fa(a,Eu)),Mt(dt,"focus",function(bt){return ju(a,bt)}),Mt(dt,"blur",function(bt){return dl(a,bt)})}var _u=[];la.defineInitHook=function(a){return _u.push(a)};function Tu(a,y,ee,z){var ce=a.doc,Ue;ee==null&&(ee="add"),ee=="smart"&&(ce.mode.indent?Ue=Ht(a,y).state:ee="prev");var rt=a.options.tabSize,dt=Ln(ce,y),bt=nt(dt.text,null,rt);dt.stateAfter&&(dt.stateAfter=null);var At=dt.text.match(/^\s*/)[0],un;if(!z&&!/\S/.test(dt.text))un=0,ee="not";else if(ee=="smart"&&(un=ce.mode.indent(Ue,dt.text.slice(At.length),dt.text),un==qe||un>150)){if(!z)return;ee="prev"}ee=="prev"?y>ce.first?un=nt(Ln(ce,y-1).text,null,rt):un=0:ee=="add"?un=bt+a.options.indentUnit:ee=="subtract"?un=bt-a.options.indentUnit:typeof ee=="number"&&(un=bt+ee),un=Math.max(0,un);var Sn="",rr=0;if(a.options.indentWithTabs)for(var Vn=Math.floor(un/rt);Vn;--Vn)rr+=rt,Sn+=" ";if(rr<un&&(Sn+=Tt(un-rr)),Sn!=At)return yo(ce,Sn,Nt(y,0),Nt(y,At.length),"+input"),dt.stateAfter=null,!0;for(var Or=0;Or<ce.sel.ranges.length;Or++){var _r=ce.sel.ranges[Or];if(_r.head.line==y&&_r.head.ch<At.length){var oi=Nt(y,At.length);ta(ce,Or,new qn(oi,oi));break}}}var Rs=null;function sc(a){Rs=a}function Ou(a,y,ee,z,ce){var Ue=a.doc;a.display.shift=!1,z||(z=Ue.sel);var rt=+new Date-200,dt=ce=="paste"||a.state.pasteIncoming>rt,bt=Yn(y),At=null;if(dt&&z.ranges.length>1)if(Rs&&Rs.text.join(`
`)==y){if(z.ranges.length%Rs.text.length==0){At=[];for(var un=0;un<Rs.text.length;un++)At.push(Ue.splitLines(Rs.text[un]))}}else bt.length==z.ranges.length&&a.options.pasteLinesPerSelection&&(At=wt(bt,function(gi){return[gi]}));for(var Sn=a.curOp.updateInput,rr=z.ranges.length-1;rr>=0;rr--){var Vn=z.ranges[rr],Or=Vn.from(),_r=Vn.to();Vn.empty()&&(ee&&ee>0?Or=Nt(Or.line,Or.ch-ee):a.state.overwrite&&!dt?_r=Nt(_r.line,Math.min(Ln(Ue,_r.line).text.length,_r.ch+xt(bt).length)):dt&&Rs&&Rs.lineWise&&Rs.text.join(`
`)==bt.join(`
`)&&(Or=_r=Nt(Or.line,0)));var oi={from:Or,to:_r,text:At?At[rr%At.length]:bt,origin:ce||(dt?"paste":a.state.cutIncoming>rt?"cut":"+input")};ko(a.doc,oi),so(a,"inputRead",a,oi)}y&&!dt&&wc(a,y),Nl(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Sn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Cc(a,y){var ee=a.clipboardData&&a.clipboardData.getData("Text");if(ee)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&Qa(y,function(){return Ou(y,ee,0,null,"paste")}),!0}function wc(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ee=a.doc.sel,z=ee.ranges.length-1;z>=0;z--){var ce=ee.ranges[z];if(!(ce.head.ch>100||z&&ee.ranges[z-1].head.line==ce.head.line)){var Ue=a.getModeAt(ce.head),rt=!1;if(Ue.electricChars){for(var dt=0;dt<Ue.electricChars.length;dt++)if(y.indexOf(Ue.electricChars.charAt(dt))>-1){rt=Tu(a,ce.head.line,"smart");break}}else Ue.electricInput&&Ue.electricInput.test(Ln(a.doc,ce.head.line).text.slice(0,ce.head.ch))&&(rt=Tu(a,ce.head.line,"smart"));rt&&so(a,"electricInput",a,ce.head.line)}}}function Sc(a){for(var y=[],ee=[],z=0;z<a.doc.sel.ranges.length;z++){var ce=a.doc.sel.ranges[z].head.line,Ue={anchor:Nt(ce,0),head:Nt(ce+1,0)};ee.push(Ue),y.push(a.getRange(Ue.anchor,Ue.head))}return{text:y,ranges:ee}}function Ec(a,y,ee,z){a.setAttribute("autocorrect",ee?"":"off"),a.setAttribute("autocapitalize",z?"":"off"),a.setAttribute("spellcheck",!!y)}function Ac(){var a=Ke("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Ke("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return re?a.style.width="1000px":a.setAttribute("wrap","off"),Ce&&(a.style.border="1px solid black"),Ec(a),y}function jc(a){var y=a.optionHandlers,ee=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(z,ce){var Ue=this.options,rt=Ue[z];Ue[z]==ce&&z!="mode"||(Ue[z]=ce,y.hasOwnProperty(z)&&Fa(this,y[z])(this,ce,rt),qt(this,"optionChange",this,z))},getOption:function(z){return this.options[z]},getDoc:function(){return this.doc},addKeyMap:function(z,ce){this.state.keyMaps[ce?"push":"unshift"]($l(z))},removeKeyMap:function(z){for(var ce=this.state.keyMaps,Ue=0;Ue<ce.length;++Ue)if(ce[Ue]==z||ce[Ue].name==z)return ce.splice(Ue,1),!0},addOverlay:Ka(function(z,ce){var Ue=z.token?z:a.getMode(this.options,z);if(Ue.startState)throw new Error("Overlays may not be stateful.");yt(this.state.overlays,{mode:Ue,modeSpec:z,opaque:ce&&ce.opaque,priority:ce&&ce.priority||0},function(rt){return rt.priority}),this.state.modeGen++,Ra(this)}),removeOverlay:Ka(function(z){for(var ce=this.state.overlays,Ue=0;Ue<ce.length;++Ue){var rt=ce[Ue].modeSpec;if(rt==z||typeof z=="string"&&rt.name==z){ce.splice(Ue,1),this.state.modeGen++,Ra(this);return}}}),indentLine:Ka(function(z,ce,Ue){typeof ce!="string"&&typeof ce!="number"&&(ce==null?ce=this.options.smartIndent?"smart":"prev":ce=ce?"add":"subtract"),Dt(this.doc,z)&&Tu(this,z,ce,Ue)}),indentSelection:Ka(function(z){for(var ce=this.doc.sel.ranges,Ue=-1,rt=0;rt<ce.length;rt++){var dt=ce[rt];if(dt.empty())dt.head.line>Ue&&(Tu(this,dt.head.line,z,!0),Ue=dt.head.line,rt==this.doc.sel.primIndex&&Nl(this));else{var bt=dt.from(),At=dt.to(),un=Math.max(Ue,bt.line);Ue=Math.min(this.lastLine(),At.line-(At.ch?0:1))+1;for(var Sn=un;Sn<Ue;++Sn)Tu(this,Sn,z);var rr=this.doc.sel.ranges;bt.ch==0&&ce.length==rr.length&&rr[rt].from().ch>0&&ta(this.doc,rt,new qn(bt,rr[rt].to()),Ve)}}}),getTokenAt:function(z,ce){return An(this,z,ce)},getLineTokens:function(z,ce){return An(this,Nt(z),ce,!0)},getTokenTypeAt:function(z){z=Yt(this.doc,z);var ce=Cn(this,Ln(this.doc,z.line)),Ue=0,rt=(ce.length-1)/2,dt=z.ch,bt;if(dt==0)bt=ce[2];else for(;;){var At=Ue+rt>>1;if((At?ce[At*2-1]:0)>=dt)rt=At;else if(ce[At*2+1]<dt)Ue=At+1;else{bt=ce[At*2+2];break}}var un=bt?bt.indexOf("overlay "):-1;return un<0?bt:un==0?null:bt.slice(0,un-1)},getModeAt:function(z){var ce=this.doc.mode;return ce.innerMode?a.innerMode(ce,this.getTokenAt(z).state).mode:ce},getHelper:function(z,ce){return this.getHelpers(z,ce)[0]},getHelpers:function(z,ce){var Ue=[];if(!ee.hasOwnProperty(ce))return Ue;var rt=ee[ce],dt=this.getModeAt(z);if(typeof dt[ce]=="string")rt[dt[ce]]&&Ue.push(rt[dt[ce]]);else if(dt[ce])for(var bt=0;bt<dt[ce].length;bt++){var At=rt[dt[ce][bt]];At&&Ue.push(At)}else dt.helperType&&rt[dt.helperType]?Ue.push(rt[dt.helperType]):rt[dt.name]&&Ue.push(rt[dt.name]);for(var un=0;un<rt._global.length;un++){var Sn=rt._global[un];Sn.pred(dt,this)&&Ge(Ue,Sn.val)==-1&&Ue.push(Sn.val)}return Ue},getStateAfter:function(z,ce){var Ue=this.doc;return z=Xt(Ue,z==null?Ue.first+Ue.size-1:z),Ht(this,z+1,ce).state},cursorCoords:function(z,ce){var Ue,rt=this.doc.sel.primary();return z==null?Ue=rt.head:typeof z=="object"?Ue=Yt(this.doc,z):Ue=z?rt.from():rt.to(),ka(this,Ue,ce||"page")},charCoords:function(z,ce){return Fs(this,Yt(this.doc,z),ce||"page")},coordsChar:function(z,ce){return z=Zl(this,z,ce||"page"),ua(this,z.left,z.top)},lineAtHeight:function(z,ce){return z=Zl(this,{top:z,left:0},ce||"page").top,It(this.doc,z+this.display.viewOffset)},heightAtLine:function(z,ce,Ue){var rt=!1,dt;if(typeof z=="number"){var bt=this.doc.first+this.doc.size-1;z<this.doc.first?z=this.doc.first:z>bt&&(z=bt,rt=!0),dt=Ln(this.doc,z)}else dt=z;return Ol(this,dt,{top:0,left:0},ce||"page",Ue||rt).top+(rt?this.doc.height-Wr(dt):0)},defaultTextHeight:function(){return Ma(this.display)},defaultCharWidth:function(){return Ja(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(z,ce,Ue,rt,dt){var bt=this.display;z=ka(this,Yt(this.doc,z));var At=z.bottom,un=z.left;if(ce.style.position="absolute",ce.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ce),bt.sizer.appendChild(ce),rt=="over")At=z.top;else if(rt=="above"||rt=="near"){var Sn=Math.max(bt.wrapper.clientHeight,this.doc.height),rr=Math.max(bt.sizer.clientWidth,bt.lineSpace.clientWidth);(rt=="above"||z.bottom+ce.offsetHeight>Sn)&&z.top>ce.offsetHeight?At=z.top-ce.offsetHeight:z.bottom+ce.offsetHeight<=Sn&&(At=z.bottom),un+ce.offsetWidth>rr&&(un=rr-ce.offsetWidth)}ce.style.top=At+"px",ce.style.left=ce.style.right="",dt=="right"?(un=bt.sizer.clientWidth-ce.offsetWidth,ce.style.right="0px"):(dt=="left"?un=0:dt=="middle"&&(un=(bt.sizer.clientWidth-ce.offsetWidth)/2),ce.style.left=un+"px"),Ue&&$u(this,{left:un,top:At,right:un+ce.offsetWidth,bottom:At+ce.offsetHeight})},triggerOnKeyDown:Ka(wu),triggerOnKeyPress:Ka(Eu),triggerOnKeyUp:Su,triggerOnMouseDown:Ka(Iu),execCommand:function(z){if($s.hasOwnProperty(z))return $s[z].call(null,this)},triggerElectric:Ka(function(z){wc(this,z)}),findPosH:function(z,ce,Ue,rt){var dt=1;ce<0&&(dt=-1,ce=-ce);for(var bt=Yt(this.doc,z),At=0;At<ce&&(bt=lc(this.doc,bt,dt,Ue,rt),!bt.hitSide);++At);return bt},moveH:Ka(function(z,ce){var Ue=this;this.extendSelectionsBy(function(rt){return Ue.display.shift||Ue.doc.extend||rt.empty()?lc(Ue.doc,rt.head,z,ce,Ue.options.rtlMoveVisually):z<0?rt.from():rt.to()},st)}),deleteH:Ka(function(z,ce){var Ue=this.doc.sel,rt=this.doc;Ue.somethingSelected()?rt.replaceSelection("",null,"+delete"):Xs(this,function(dt){var bt=lc(rt,dt.head,z,ce,!1);return z<0?{from:bt,to:dt.head}:{from:dt.head,to:bt}})}),findPosV:function(z,ce,Ue,rt){var dt=1,bt=rt;ce<0&&(dt=-1,ce=-ce);for(var At=Yt(this.doc,z),un=0;un<ce;++un){var Sn=ka(this,At,"div");if(bt==null?bt=Sn.left:Sn.left=bt,At=uc(this,Sn,dt,Ue),At.hitSide)break}return At},moveV:Ka(function(z,ce){var Ue=this,rt=this.doc,dt=[],bt=!this.display.shift&&!rt.extend&&rt.sel.somethingSelected();if(rt.extendSelectionsBy(function(un){if(bt)return z<0?un.from():un.to();var Sn=ka(Ue,un.head,"div");un.goalColumn!=null&&(Sn.left=un.goalColumn),dt.push(Sn.left);var rr=uc(Ue,Sn,z,ce);return ce=="page"&&un==rt.sel.primary()&&cu(Ue,Fs(Ue,rr,"div").top-Sn.top),rr},st),dt.length)for(var At=0;At<rt.sel.ranges.length;At++)rt.sel.ranges[At].goalColumn=dt[At]}),findWordAt:function(z){var ce=this.doc,Ue=Ln(ce,z.line).text,rt=z.ch,dt=z.ch;if(Ue){var bt=this.getHelper(z,"wordChars");(z.sticky=="before"||dt==Ue.length)&&rt?--rt:++dt;for(var At=Ue.charAt(rt),un=Xe(At,bt)?function(Sn){return Xe(Sn,bt)}:/\s/.test(At)?function(Sn){return/\s/.test(Sn)}:function(Sn){return!/\s/.test(Sn)&&!Xe(Sn)};rt>0&&un(Ue.charAt(rt-1));)--rt;for(;dt<Ue.length&&un(Ue.charAt(dt));)++dt}return new qn(Nt(z.line,rt),Nt(z.line,dt))},toggleOverwrite:function(z){z!=null&&z==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?He(this.display.cursorDiv,"CodeMirror-overwrite"):Fe(this.display.cursorDiv,"CodeMirror-overwrite"),qt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Je()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ka(function(z,ce){_l(this,z,ce)}),getScrollInfo:function(){var z=this.display.scroller;return{left:z.scrollLeft,top:z.scrollTop,height:z.scrollHeight-To(this)-this.display.barHeight,width:z.scrollWidth-To(this)-this.display.barWidth,clientHeight:$a(this),clientWidth:aa(this)}},scrollIntoView:Ka(function(z,ce){z==null?(z={from:this.doc.sel.primary().head,to:null},ce==null&&(ce=this.options.cursorScrollMargin)):typeof z=="number"?z={from:Nt(z,0),to:null}:z.from==null&&(z={from:z,to:null}),z.to||(z.to=z.from),z.margin=ce||0,z.from.line!=null?Ju(this,z):Vl(this,z.from,z.to,z.margin)}),setSize:Ka(function(z,ce){var Ue=this,rt=function(bt){return typeof bt=="number"||/^\d+$/.test(String(bt))?bt+"px":bt};z!=null&&(this.display.wrapper.style.width=rt(z)),ce!=null&&(this.display.wrapper.style.height=rt(ce)),this.options.lineWrapping&&Es(this);var dt=this.display.viewFrom;this.doc.iter(dt,this.display.viewTo,function(bt){if(bt.widgets){for(var At=0;At<bt.widgets.length;At++)if(bt.widgets[At].noHScroll){js(Ue,dt,"widget");break}}++dt}),this.curOp.forceUpdate=!0,qt(this,"refresh",this)}),operation:function(z){return Qa(this,z)},startOperation:function(){return ol(this)},endOperation:function(){return pl(this)},refresh:Ka(function(){var z=this.display.cachedTextHeight;Ra(this),this.curOp.forceUpdate=!0,Js(this),_l(this,this.doc.scrollLeft,this.doc.scrollTop),ht(this.display),(z==null||Math.abs(z-Ma(this.display))>.5||this.options.lineWrapping)&&cl(this),qt(this,"refresh",this)}),swapDoc:Ka(function(z){var ce=this.doc;return ce.cm=null,this.state.selectingText&&this.state.selectingText(),Gi(this,z),Js(this),this.display.input.reset(),_l(this,z.scrollLeft,z.scrollTop),this.curOp.forceScroll=!0,so(this,"swapDoc",this,ce),ce}),phrase:function(z){var ce=this.options.phrases;return ce&&Object.prototype.hasOwnProperty.call(ce,z)?ce[z]:z},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}},Ct(a),a.registerHelper=function(z,ce,Ue){ee.hasOwnProperty(z)||(ee[z]=a[z]={_global:[]}),ee[z][ce]=Ue},a.registerGlobalHelper=function(z,ce,Ue,rt){a.registerHelper(z,ce,rt),ee[z]._global.push({pred:Ue,val:rt})}}function lc(a,y,ee,z,ce){var Ue=y,rt=ee,dt=Ln(a,y.line),bt=ce&&a.direction=="rtl"?-ee:ee;function At(){var Oi=y.line+bt;return Oi<a.first||Oi>=a.first+a.size?!1:(y=new Nt(Oi,y.ch,y.sticky),dt=Ln(a,Oi))}function un(Oi){var mi;if(z=="codepoint"){var ki=dt.text.charCodeAt(y.ch+(z>0?0:-1));isNaN(ki)?mi=null:mi=new Nt(y.line,Math.max(0,Math.min(dt.text.length,y.ch+ee*(ki>=55296&&ki<56320?2:1))),-ee)}else ce?mi=Hu(a.cm,dt,y,ee):mi=Jl(dt,y,ee);if(mi==null)if(!Oi&&At())y=Ys(ce,a.cm,dt,y.line,bt);else return!1;else y=mi;return!0}if(z=="char"||z=="codepoint")un();else if(z=="column")un(!0);else if(z=="word"||z=="group")for(var Sn=null,rr=z=="group",Vn=a.cm&&a.cm.getHelper(y,"wordChars"),Or=!0;!(ee<0&&!un(!Or));Or=!1){var _r=dt.text.charAt(y.ch)||`
`,oi=Xe(_r,Vn)?"w":rr&&_r==`
`?"n":!rr||/\s/.test(_r)?null:"p";if(rr&&!Or&&!oi&&(oi="s"),Sn&&Sn!=oi){ee<0&&(ee=1,un(),y.sticky="after");break}if(oi&&(Sn=oi),ee>0&&!un(!Or))break}var gi=fa(a,y,Ue,rt,!0);return ut(Ue,gi)&&(gi.hitSide=!0),gi}function uc(a,y,ee,z){var ce=a.doc,Ue=y.left,rt;if(z=="page"){var dt=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),bt=Math.max(dt-.5*Ma(a.display),3);rt=(ee>0?y.bottom:y.top)+ee*bt}else z=="line"&&(rt=ee>0?y.bottom+3:y.top-3);for(var At;At=ua(a,Ue,rt),!!At.outside;){if(ee<0?rt<=0:rt>=ce.height){At.hitSide=!0;break}rt+=ee*5}return At}var Ho=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ze,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ho.prototype.init=function(a){var y=this,ee=this,z=ee.cm,ce=ee.div=a.lineDiv;Ec(ce,z.options.spellcheck,z.options.autocorrect,z.options.autocapitalize);function Ue(dt){for(var bt=dt.target;bt;bt=bt.parentNode){if(bt==ce)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(bt.className))break}return!1}Mt(ce,"paste",function(dt){!Ue(dt)||Bt(z,dt)||Cc(dt,z)||ve<=11&&setTimeout(Fa(z,function(){return y.updateFromDOM()}),20)}),Mt(ce,"compositionstart",function(dt){y.composing={data:dt.data,done:!1}}),Mt(ce,"compositionupdate",function(dt){y.composing||(y.composing={data:dt.data,done:!1})}),Mt(ce,"compositionend",function(dt){y.composing&&(dt.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Mt(ce,"touchstart",function(){return ee.forceCompositionEnd()}),Mt(ce,"input",function(){y.composing||y.readFromDOMSoon()});function rt(dt){if(!(!Ue(dt)||Bt(z,dt))){if(z.somethingSelected())sc({lineWise:!1,text:z.getSelections()}),dt.type=="cut"&&z.replaceSelection("",null,"cut");else if(z.options.lineWiseCopyCut){var bt=Sc(z);sc({lineWise:!0,text:bt.text}),dt.type=="cut"&&z.operation(function(){z.setSelections(bt.ranges,0,Ve),z.replaceSelection("",null,"cut")})}else return;if(dt.clipboardData){dt.clipboardData.clearData();var At=Rs.text.join(`
`);if(dt.clipboardData.setData("Text",At),dt.clipboardData.getData("Text")==At){dt.preventDefault();return}}var un=Ac(),Sn=un.firstChild;z.display.lineSpace.insertBefore(un,z.display.lineSpace.firstChild),Sn.value=Rs.text.join(`
`);var rr=document.activeElement;ft(Sn),setTimeout(function(){z.display.lineSpace.removeChild(un),rr.focus(),rr==ce&&ee.showPrimarySelection()},50)}}Mt(ce,"copy",rt),Mt(ce,"cut",rt)},Ho.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Ho.prototype.prepareSelection=function(){var a=Gu(this.cm,!1);return a.focus=document.activeElement==this.div,a},Ho.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Ho.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ho.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,ee=y.doc.sel.primary(),z=ee.from(),ce=ee.to();if(y.display.viewTo==y.display.viewFrom||z.line>=y.display.viewTo||ce.line<y.display.viewFrom){a.removeAllRanges();return}var Ue=Vu(y,a.anchorNode,a.anchorOffset),rt=Vu(y,a.focusNode,a.focusOffset);if(!(Ue&&!Ue.bad&&rt&&!rt.bad&&Kt(an(Ue,rt),z)==0&&Kt(on(Ue,rt),ce)==0)){var dt=y.display.view,bt=z.line>=y.display.viewFrom&&Bu(y,z)||{node:dt[0].measure.map[2],offset:0},At=ce.line<y.display.viewTo&&Bu(y,ce);if(!At){var un=dt[dt.length-1].measure,Sn=un.maps?un.maps[un.maps.length-1]:un.map;At={node:Sn[Sn.length-1],offset:Sn[Sn.length-2]-Sn[Sn.length-3]}}if(!bt||!At){a.removeAllRanges();return}var rr=a.rangeCount&&a.getRangeAt(0),Vn;try{Vn=Ne(bt.node,bt.offset,At.offset,At.node)}catch(Or){}Vn&&(!b&&y.state.focused?(a.collapse(bt.node,bt.offset),Vn.collapsed||(a.removeAllRanges(),a.addRange(Vn))):(a.removeAllRanges(),a.addRange(Vn)),rr&&a.anchorNode==null?a.addRange(rr):b&&this.startGracePeriod()),this.rememberSelection()}},Ho.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},Ho.prototype.showMultipleSelections=function(a){Oe(this.cm.display.cursorDiv,a.cursors),Oe(this.cm.display.selectionDiv,a.selection)},Ho.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Ho.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return Ye(this.div,y)},Ho.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ho.prototype.blur=function(){this.div.blur()},Ho.prototype.getField=function(){return this.div},Ho.prototype.supportsTouch=function(){return!0},Ho.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():Qa(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},Ho.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Ho.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(be&&fe&&this.cm.display.gutterSpecs.length&&zc(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ee=Vu(y,a.anchorNode,a.anchorOffset),z=Vu(y,a.focusNode,a.focusOffset);ee&&z&&Qa(y,function(){bi(y.doc,Pr(ee,z),Ve),(ee.bad||z.bad)&&(y.curOp.selectionChanged=!0)})}}},Ho.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,ee=a.doc.sel.primary(),z=ee.from(),ce=ee.to();if(z.ch==0&&z.line>a.firstLine()&&(z=Nt(z.line-1,Ln(a.doc,z.line-1).length)),ce.ch==Ln(a.doc,ce.line).text.length&&ce.line<a.lastLine()&&(ce=Nt(ce.line+1,0)),z.line<y.viewFrom||ce.line>y.viewTo-1)return!1;var Ue,rt,dt;z.line==y.viewFrom||(Ue=bs(a,z.line))==0?(rt=zt(y.view[0].line),dt=y.view[0].node):(rt=zt(y.view[Ue].line),dt=y.view[Ue-1].node.nextSibling);var bt=bs(a,ce.line),At,un;if(bt==y.view.length-1?(At=y.viewTo-1,un=y.lineDiv.lastChild):(At=zt(y.view[bt+1].line)-1,un=y.view[bt+1].node.previousSibling),!dt)return!1;for(var Sn=a.doc.splitLines(Ic(a,dt,un,rt,At)),rr=Qn(a.doc,Nt(rt,0),Nt(At,Ln(a.doc,At).text.length));Sn.length>1&&rr.length>1;)if(xt(Sn)==xt(rr))Sn.pop(),rr.pop(),At--;else if(Sn[0]==rr[0])Sn.shift(),rr.shift(),rt++;else break;for(var Vn=0,Or=0,_r=Sn[0],oi=rr[0],gi=Math.min(_r.length,oi.length);Vn<gi&&_r.charCodeAt(Vn)==oi.charCodeAt(Vn);)++Vn;for(var Oi=xt(Sn),mi=xt(rr),ki=Math.min(Oi.length-(Sn.length==1?Vn:0),mi.length-(rr.length==1?Vn:0));Or<ki&&Oi.charCodeAt(Oi.length-Or-1)==mi.charCodeAt(mi.length-Or-1);)++Or;if(Sn.length==1&&rr.length==1&&rt==z.line)for(;Vn&&Vn>z.ch&&Oi.charCodeAt(Oi.length-Or-1)==mi.charCodeAt(mi.length-Or-1);)Vn--,Or++;Sn[Sn.length-1]=Oi.slice(0,Oi.length-Or).replace(/^\u200b+/,""),Sn[0]=Sn[0].slice(Vn).replace(/\u200b+$/,"");var eo=Nt(rt,Vn),Yi=Nt(At,rr.length?xt(rr).length-Or:0);if(Sn.length>1||Sn[0]||Kt(eo,Yi))return yo(a.doc,Sn,eo,Yi,"+input"),!0},Ho.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ho.prototype.reset=function(){this.forceCompositionEnd()},Ho.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ho.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},Ho.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Qa(this.cm,function(){return Ra(a.cm)})},Ho.prototype.setUneditable=function(a){a.contentEditable="false"},Ho.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Fa(this.cm,Ou)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Ho.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Ho.prototype.onContextMenu=function(){},Ho.prototype.resetPosition=function(){},Ho.prototype.needsContentAttribute=!0;function Bu(a,y){var ee=ms(a,y.line);if(!ee||ee.hidden)return null;var z=Ln(a.doc,y.line),ce=Wa(ee,z,y.line),Ue=ot(z,a.doc.direction),rt="left";if(Ue){var dt=Qe(Ue,y.ch);rt=dt%2?"right":"left"}var bt=Ss(ce.map,y.ch,rt);return bt.offset=bt.collapse=="right"?bt.end:bt.start,bt}function zc(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function xl(a,y){return y&&(a.bad=!0),a}function Ic(a,y,ee,z,ce){var Ue="",rt=!1,dt=a.doc.lineSeparator(),bt=!1;function At(Vn){return function(Or){return Or.id==Vn}}function un(){rt&&(Ue+=dt,bt&&(Ue+=dt),rt=bt=!1)}function Sn(Vn){Vn&&(un(),Ue+=Vn)}function rr(Vn){if(Vn.nodeType==1){var Or=Vn.getAttribute("cm-text");if(Or){Sn(Or);return}var _r=Vn.getAttribute("cm-marker"),oi;if(_r){var gi=a.findMarks(Nt(z,0),Nt(ce+1,0),At(+_r));gi.length&&(oi=gi[0].find(0))&&Sn(Qn(a.doc,oi.from,oi.to).join(dt));return}if(Vn.getAttribute("contenteditable")=="false")return;var Oi=/^(pre|div|p|li|table|br)$/i.test(Vn.nodeName);if(!/^br$/i.test(Vn.nodeName)&&Vn.textContent.length==0)return;Oi&&un();for(var mi=0;mi<Vn.childNodes.length;mi++)rr(Vn.childNodes[mi]);/^(pre|p)$/i.test(Vn.nodeName)&&(bt=!0),Oi&&(rt=!0)}else Vn.nodeType==3&&Sn(Vn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;rr(y),y!=ee;)y=y.nextSibling,bt=!1;return Ue}function Vu(a,y,ee){var z;if(y==a.display.lineDiv){if(z=a.display.lineDiv.childNodes[ee],!z)return xl(a.clipPos(Nt(a.display.viewTo-1)),!0);y=null,ee=0}else for(z=y;;z=z.parentNode){if(!z||z==a.display.lineDiv)return null;if(z.parentNode&&z.parentNode==a.display.lineDiv)break}for(var ce=0;ce<a.display.view.length;ce++){var Ue=a.display.view[ce];if(Ue.node==z)return Wc(Ue,y,ee)}}function Wc(a,y,ee){var z=a.text.firstChild,ce=!1;if(!y||!Ye(z,y))return xl(Nt(zt(a.line),0),!0);if(y==z&&(ce=!0,y=z.childNodes[ee],ee=0,!y)){var Ue=a.rest?xt(a.rest):a.line;return xl(Nt(zt(Ue),Ue.text.length),ce)}var rt=y.nodeType==3?y:null,dt=y;for(!rt&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(rt=y.firstChild,ee&&(ee=rt.nodeValue.length));dt.parentNode!=z;)dt=dt.parentNode;var bt=a.measure,At=bt.maps;function un(oi,gi,Oi){for(var mi=-1;mi<(At?At.length:0);mi++)for(var ki=mi<0?bt.map:At[mi],eo=0;eo<ki.length;eo+=3){var Yi=ki[eo+2];if(Yi==oi||Yi==gi){var Do=zt(mi<0?a.line:a.rest[mi]),ra=ki[eo]+Oi;return(Oi<0||Yi!=oi)&&(ra=ki[eo+(Oi?1:0)]),Nt(Do,ra)}}}var Sn=un(rt,dt,ee);if(Sn)return xl(Sn,ce);for(var rr=dt.nextSibling,Vn=rt?rt.nodeValue.length-ee:0;rr;rr=rr.nextSibling){if(Sn=un(rr,rr.firstChild,0),Sn)return xl(Nt(Sn.line,Sn.ch-Vn),ce);Vn+=rr.textContent.length}for(var Or=dt.previousSibling,_r=ee;Or;Or=Or.previousSibling){if(Sn=un(Or,Or.firstChild,-1),Sn)return xl(Nt(Sn.line,Sn.ch+_r),ce);_r+=Or.textContent.length}}var Aa=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new Ze,this.hasSelection=!1,this.composing=null};Aa.prototype.init=function(a){var y=this,ee=this,z=this.cm;this.createField(a);var ce=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Ce&&(ce.style.width="0px"),Mt(ce,"input",function(){de&&ve>=9&&y.hasSelection&&(y.hasSelection=null),ee.poll()}),Mt(ce,"paste",function(rt){Bt(z,rt)||Cc(rt,z)||(z.state.pasteIncoming=+new Date,ee.fastPoll())});function Ue(rt){if(!Bt(z,rt)){if(z.somethingSelected())sc({lineWise:!1,text:z.getSelections()});else if(z.options.lineWiseCopyCut){var dt=Sc(z);sc({lineWise:!0,text:dt.text}),rt.type=="cut"?z.setSelections(dt.ranges,null,Ve):(ee.prevInput="",ce.value=dt.text.join(`
`),ft(ce))}else return;rt.type=="cut"&&(z.state.cutIncoming=+new Date)}}Mt(ce,"cut",Ue),Mt(ce,"copy",Ue),Mt(a.scroller,"paste",function(rt){if(!(Xi(a,rt)||Bt(z,rt))){if(!ce.dispatchEvent){z.state.pasteIncoming=+new Date,ee.focus();return}var dt=new Event("paste");dt.clipboardData=rt.clipboardData,ce.dispatchEvent(dt)}}),Mt(a.lineSpace,"selectstart",function(rt){Xi(a,rt)||jt(rt)}),Mt(ce,"compositionstart",function(){var rt=z.getCursor("from");ee.composing&&ee.composing.range.clear(),ee.composing={start:rt,range:z.markText(rt,z.getCursor("to"),{className:"CodeMirror-composing"})}}),Mt(ce,"compositionend",function(){ee.composing&&(ee.poll(),ee.composing.range.clear(),ee.composing=null)})},Aa.prototype.createField=function(a){this.wrapper=Ac(),this.textarea=this.wrapper.firstChild},Aa.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},Aa.prototype.prepareSelection=function(){var a=this.cm,y=a.display,ee=a.doc,z=Gu(a);if(a.options.moveInputWithCursor){var ce=ka(a,ee.sel.primary().head,"div"),Ue=y.wrapper.getBoundingClientRect(),rt=y.lineDiv.getBoundingClientRect();z.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,ce.top+rt.top-Ue.top)),z.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,ce.left+rt.left-Ue.left))}return z},Aa.prototype.showSelection=function(a){var y=this.cm,ee=y.display;Oe(ee.cursorDiv,a.cursors),Oe(ee.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},Aa.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var ee=y.getSelection();this.textarea.value=ee,y.state.focused&&ft(this.textarea),de&&ve>=9&&(this.hasSelection=ee)}else a||(this.prevInput=this.textarea.value="",de&&ve>=9&&(this.hasSelection=null))}},Aa.prototype.getField=function(){return this.textarea},Aa.prototype.supportsTouch=function(){return!1},Aa.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!le||Je()!=this.textarea))try{this.textarea.focus()}catch(a){}},Aa.prototype.blur=function(){this.textarea.blur()},Aa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Aa.prototype.receivedFocus=function(){this.slowPoll()},Aa.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},Aa.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function ee(){var z=y.poll();!z&&!a?(a=!0,y.polling.set(60,ee)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,ee)},Aa.prototype.poll=function(){var a=this,y=this.cm,ee=this.textarea,z=this.prevInput;if(this.contextMenuPending||!y.state.focused||mr(ee)&&!z&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var ce=ee.value;if(ce==z&&!y.somethingSelected())return!1;if(de&&ve>=9&&this.hasSelection===ce||Ee&&/[\uf700-\uf7ff]/.test(ce))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var Ue=ce.charCodeAt(0);if(Ue==8203&&!z&&(z="\u200B"),Ue==8666)return this.reset(),this.cm.execCommand("undo")}for(var rt=0,dt=Math.min(z.length,ce.length);rt<dt&&z.charCodeAt(rt)==ce.charCodeAt(rt);)++rt;return Qa(y,function(){Ou(y,ce.slice(rt),z.length-rt,null,a.composing?"*compose":null),ce.length>1e3||ce.indexOf(`
`)>-1?ee.value=a.prevInput="":a.prevInput=ce,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Aa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Aa.prototype.onKeyPress=function(){de&&ve>=9&&(this.hasSelection=null),this.fastPoll()},Aa.prototype.onContextMenu=function(a){var y=this,ee=y.cm,z=ee.display,ce=y.textarea;y.contextMenuPending&&y.contextMenuPending();var Ue=Is(ee,a),rt=z.scroller.scrollTop;if(!Ue||E)return;var dt=ee.options.resetSelectionOnContextMenu;dt&&ee.doc.sel.contains(Ue)==-1&&Fa(ee,bi)(ee.doc,Pr(Ue),Ve);var bt=ce.style.cssText,At=y.wrapper.style.cssText,un=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",ce.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-un.top-5)+"px; left: "+(a.clientX-un.left-5)+`px;
z-index: 1000; background: `+(de?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Sn;re&&(Sn=window.scrollY),z.input.focus(),re&&window.scrollTo(null,Sn),z.input.reset(),ee.somethingSelected()||(ce.value=y.prevInput=" "),y.contextMenuPending=Vn,z.selForContextMenu=ee.doc.sel,clearTimeout(z.detectingSelectAll);function rr(){if(ce.selectionStart!=null){var _r=ee.somethingSelected(),oi="\u200B"+(_r?ce.value:"");ce.value="\u21DA",ce.value=oi,y.prevInput=_r?"":"\u200B",ce.selectionStart=1,ce.selectionEnd=oi.length,z.selForContextMenu=ee.doc.sel}}function Vn(){if(y.contextMenuPending==Vn&&(y.contextMenuPending=!1,y.wrapper.style.cssText=At,ce.style.cssText=bt,de&&ve<9&&z.scrollbars.setScrollTop(z.scroller.scrollTop=rt),ce.selectionStart!=null)){(!de||de&&ve<9)&&rr();var _r=0,oi=function(){z.selForContextMenu==ee.doc.sel&&ce.selectionStart==0&&ce.selectionEnd>0&&y.prevInput=="\u200B"?Fa(ee,_i)(ee):_r++<10?z.detectingSelectAll=setTimeout(oi,500):(z.selForContextMenu=null,z.input.reset())};z.detectingSelectAll=setTimeout(oi,200)}}if(de&&ve>=9&&rr(),ye){Et(a);var Or=function(){tn(window,"mouseup",Or),setTimeout(Vn,20)};Mt(window,"mouseup",Or)}else setTimeout(Vn,50)},Aa.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},Aa.prototype.setUneditable=function(){},Aa.prototype.needsContentAttribute=!1;function Hc(a,y){if(y=y?Ot(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var ee=Je();y.autofocus=ee==a||a.getAttribute("autofocus")!=null&&ee==document.body}function z(){a.value=dt.getValue()}var ce;if(a.form&&(Mt(a.form,"submit",z),!y.leaveSubmitMethodAlone)){var Ue=a.form;ce=Ue.submit;try{var rt=Ue.submit=function(){z(),Ue.submit=ce,Ue.submit(),Ue.submit=rt}}catch(bt){}}y.finishInit=function(bt){bt.save=z,bt.getTextArea=function(){return a},bt.toTextArea=function(){bt.toTextArea=isNaN,z(),a.parentNode.removeChild(bt.getWrapperElement()),a.style.display="",a.form&&(tn(a.form,"submit",z),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ce))}},a.style.display="none";var dt=la(function(bt){return a.parentNode.insertBefore(bt,a.nextSibling)},y);return dt}function cc(a){a.off=tn,a.on=Mt,a.wheelEventPixels=cr,a.Doc=zo,a.splitLines=Yn,a.countColumn=nt,a.findColumn=Lt,a.isWordChar=ke,a.Pass=qe,a.signal=qt,a.Line=Fi,a.changeEnd=$r,a.scrollbarModel=Qu,a.Pos=Nt,a.cmpPos=Kt,a.modes=Tn,a.mimeModes=In,a.resolveMode=nr,a.getMode=Cr,a.modeExtensions=Sr,a.extendMode=Er,a.copyState=Nr,a.startState=zr,a.innerMode=Tr,a.commands=$s,a.keyMap=Ea,a.keyName=Gs,a.isModifierKey=ml,a.lookupKey=al,a.normalizeKeyMap=Ha,a.StringStream=Rr,a.SharedTextMarker=Vo,a.TextMarker=es,a.LineWidget=No,a.e_preventDefault=jt,a.e_stopPropagation=ln,a.e_stop=Et,a.addClass=He,a.contains=Ye,a.rmClass=Fe,a.keyNames=Ao}kc(la),jc(la);var Dc="iter insert remove copy getEditor constructor".split(" ");for(var eu in zo.prototype)zo.prototype.hasOwnProperty(eu)&&Ge(Dc,eu)<0&&(la.prototype[eu]=function(a){return function(){return a.apply(this.doc,arguments)}}(zo.prototype[eu]));return Ct(zo),la.inputStyles={textarea:Aa,contenteditable:Ho},la.defineMode=function(a){!la.defaults.mode&&a!="null"&&(la.defaults.mode=a),Kn.apply(this,arguments)},la.defineMIME=jn,la.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),la.defineMIME("text/plain","null"),la.defineExtension=function(a,y){la.prototype[a]=y},la.defineDocExtension=function(a,y){zo.prototype[a]=y},la.fromTextArea=Hc,cc(la),la.version="5.58.2",la})},25419:function(_n,pn,ae){(function(b){b(ae(89780),ae(15525),ae(98101))})(function(b){"use strict";b.defineMode("markdown",function(oe,we){var Ae=b.getMode(oe,"text/html"),de=Ae.name=="null";function ve(nt){if(b.findModeByName){var Ze=b.findModeByName(nt);Ze&&(nt=Ze.mime||Ze.mimes[0])}var Ge=b.getMode(oe,nt);return Ge.name=="null"?null:Ge}we.highlightFormatting===void 0&&(we.highlightFormatting=!1),we.maxBlockquoteDepth===void 0&&(we.maxBlockquoteDepth=0),we.taskLists===void 0&&(we.taskLists=!1),we.strikethrough===void 0&&(we.strikethrough=!1),we.emoji===void 0&&(we.emoji=!1),we.fencedCodeBlockHighlighting===void 0&&(we.fencedCodeBlockHighlighting=!0),we.fencedCodeBlockDefaultMode===void 0&&(we.fencedCodeBlockDefaultMode="text/plain"),we.xml===void 0&&(we.xml=!0),we.tokenTypeOverrides===void 0&&(we.tokenTypeOverrides={});var re={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 se in re)re.hasOwnProperty(se)&&we.tokenTypeOverrides[se]&&(re[se]=we.tokenTypeOverrides[se]);var fe=/^([*\-_])(?:\s*\1){2,}\s*$/,E=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,te=/^\[(x| )\](?=\s)/i,ne=we.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ge=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ce=/^[^#!\[\]*_\\<>` "'(~:]+/,be=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,le=/^\s*\[[^\]]+?\]:.*$/,Ee=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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 Ie(nt,Ze,Ge){return Ze.f=Ze.inline=Ge,Ge(nt,Ze)}function Re(nt,Ze,Ge){return Ze.f=Ze.block=Ge,Ge(nt,Ze)}function Me(nt){return!nt||!/\S/.test(nt.string)}function ye(nt){if(nt.linkTitle=!1,nt.linkHref=!1,nt.linkText=!1,nt.em=!1,nt.strong=!1,nt.strikethrough=!1,nt.quote=0,nt.indentedCode=!1,nt.f==Fe){var Ze=de;if(!Ze){var Ge=b.innerMode(Ae,nt.htmlState);Ze=Ge.mode.name=="xml"&&Ge.state.tagStart===null&&!Ge.state.context&&Ge.state.tokenize.isInText}Ze&&(nt.f=We,nt.block=Te,nt.htmlState=null)}return nt.trailingSpace=0,nt.trailingSpaceNewLine=!1,nt.prevLine=nt.thisLine,nt.thisLine={stream:null},null}function Te(nt,Ze){var Ge=nt.column()===Ze.indentation,$e=Me(Ze.prevLine.stream),qe=Ze.indentedCode,Ve=Ze.prevLine.hr,mt=Ze.list!==!1,st=(Ze.listStack[Ze.listStack.length-1]||0)+3;Ze.indentedCode=!1;var Lt=Ze.indentation;if(Ze.indentationDiff===null&&(Ze.indentationDiff=Ze.indentation,mt)){for(Ze.list=null;Lt<Ze.listStack[Ze.listStack.length-1];)Ze.listStack.pop(),Ze.listStack.length?Ze.indentation=Ze.listStack[Ze.listStack.length-1]:Ze.list=!1;Ze.list!==!1&&(Ze.indentationDiff=Lt-Ze.listStack[Ze.listStack.length-1])}var ct=!$e&&!Ve&&!Ze.prevLine.header&&(!mt||!qe)&&!Ze.prevLine.fencedCodeEnd,Tt=(Ze.list===!1||Ve||$e)&&Ze.indentation<=st&&nt.match(fe),xt=null;if(Ze.indentationDiff>=4&&(qe||Ze.prevLine.fencedCodeEnd||Ze.prevLine.header||$e))return nt.skipToEnd(),Ze.indentedCode=!0,re.code;if(nt.eatSpace())return null;if(Ge&&Ze.indentation<=st&&(xt=nt.match(ne))&&xt[1].length<=6)return Ze.quote=0,Ze.header=xt[1].length,Ze.thisLine.header=!0,we.highlightFormatting&&(Ze.formatting="header"),Ze.f=Ze.inline,Oe(Ze);if(Ze.indentation<=st&&nt.eat(">"))return Ze.quote=Ge?1:Ze.quote+1,we.highlightFormatting&&(Ze.formatting="quote"),nt.eatSpace(),Oe(Ze);if(!Tt&&!Ze.setext&&Ge&&Ze.indentation<=st&&(xt=nt.match(E))){var wt=xt[1]?"ol":"ul";return Ze.indentation=Lt+nt.current().length,Ze.list=!0,Ze.quote=0,Ze.listStack.push(Ze.indentation),Ze.em=!1,Ze.strong=!1,Ze.code=!1,Ze.strikethrough=!1,we.taskLists&&nt.match(te,!1)&&(Ze.taskList=!0),Ze.f=Ze.inline,we.highlightFormatting&&(Ze.formatting=["list","list-"+wt]),Oe(Ze)}else{if(Ge&&Ze.indentation<=st&&(xt=nt.match(be,!0)))return Ze.quote=0,Ze.fencedEndRE=new RegExp(xt[1]+"+ *$"),Ze.localMode=we.fencedCodeBlockHighlighting&&ve(xt[2]||we.fencedCodeBlockDefaultMode),Ze.localMode&&(Ze.localState=b.startState(Ze.localMode)),Ze.f=Ze.block=_e,we.highlightFormatting&&(Ze.formatting="code-block"),Ze.code=-1,Oe(Ze);if(Ze.setext||(!ct||!mt)&&!Ze.quote&&Ze.list===!1&&!Ze.code&&!Tt&&!le.test(nt.string)&&(xt=nt.lookAhead(1))&&(xt=xt.match(ge)))return Ze.setext?(Ze.header=Ze.setext,Ze.setext=0,nt.skipToEnd(),we.highlightFormatting&&(Ze.formatting="header")):(Ze.header=xt[0].charAt(0)=="="?1:2,Ze.setext=Ze.header),Ze.thisLine.header=!0,Ze.f=Ze.inline,Oe(Ze);if(Tt)return nt.skipToEnd(),Ze.hr=!0,Ze.thisLine.hr=!0,re.hr;if(nt.peek()==="[")return Ie(nt,Ze,lt)}return Ie(nt,Ze,Ze.inline)}function Fe(nt,Ze){var Ge=Ae.token(nt,Ze.htmlState);if(!de){var $e=b.innerMode(Ae,Ze.htmlState);($e.mode.name=="xml"&&$e.state.tagStart===null&&!$e.state.context&&$e.state.tokenize.isInText||Ze.md_inside&&nt.current().indexOf(">")>-1)&&(Ze.f=We,Ze.block=Te,Ze.htmlState=null)}return Ge}function _e(nt,Ze){var Ge=Ze.listStack[Ze.listStack.length-1]||0,$e=Ze.indentation<Ge,qe=Ge+3;if(Ze.fencedEndRE&&Ze.indentation<=qe&&($e||nt.match(Ze.fencedEndRE))){we.highlightFormatting&&(Ze.formatting="code-block");var Ve;return $e||(Ve=Oe(Ze)),Ze.localMode=Ze.localState=null,Ze.block=Te,Ze.f=We,Ze.fencedEndRE=null,Ze.code=0,Ze.thisLine.fencedCodeEnd=!0,$e?Re(nt,Ze,Ze.block):Ve}else return Ze.localMode?Ze.localMode.token(nt,Ze.localState):(nt.skipToEnd(),re.code)}function Oe(nt){var Ze=[];if(nt.formatting){Ze.push(re.formatting),typeof nt.formatting=="string"&&(nt.formatting=[nt.formatting]);for(var Ge=0;Ge<nt.formatting.length;Ge++)Ze.push(re.formatting+"-"+nt.formatting[Ge]),nt.formatting[Ge]==="header"&&Ze.push(re.formatting+"-"+nt.formatting[Ge]+"-"+nt.header),nt.formatting[Ge]==="quote"&&(!we.maxBlockquoteDepth||we.maxBlockquoteDepth>=nt.quote?Ze.push(re.formatting+"-"+nt.formatting[Ge]+"-"+nt.quote):Ze.push("error"))}if(nt.taskOpen)return Ze.push("meta"),Ze.length?Ze.join(" "):null;if(nt.taskClosed)return Ze.push("property"),Ze.length?Ze.join(" "):null;if(nt.linkHref?Ze.push(re.linkHref,"url"):(nt.strong&&Ze.push(re.strong),nt.em&&Ze.push(re.em),nt.strikethrough&&Ze.push(re.strikethrough),nt.emoji&&Ze.push(re.emoji),nt.linkText&&Ze.push(re.linkText),nt.code&&Ze.push(re.code),nt.image&&Ze.push(re.image),nt.imageAltText&&Ze.push(re.imageAltText,"link"),nt.imageMarker&&Ze.push(re.imageMarker)),nt.header&&Ze.push(re.header,re.header+"-"+nt.header),nt.quote&&(Ze.push(re.quote),!we.maxBlockquoteDepth||we.maxBlockquoteDepth>=nt.quote?Ze.push(re.quote+"-"+nt.quote):Ze.push(re.quote+"-"+we.maxBlockquoteDepth)),nt.list!==!1){var $e=(nt.listStack.length-1)%3;$e?$e===1?Ze.push(re.list2):Ze.push(re.list3):Ze.push(re.list1)}return nt.trailingSpaceNewLine?Ze.push("trailing-space-new-line"):nt.trailingSpace&&Ze.push("trailing-space-"+(nt.trailingSpace%2?"a":"b")),Ze.length?Ze.join(" "):null}function Ke(nt,Ze){if(nt.match(Ce,!0))return Oe(Ze)}function We(nt,Ze){var Ge=Ze.text(nt,Ze);if(typeof Ge!="undefined")return Ge;if(Ze.list)return Ze.list=null,Oe(Ze);if(Ze.taskList){var $e=nt.match(te,!0)[1]===" ";return $e?Ze.taskOpen=!0:Ze.taskClosed=!0,we.highlightFormatting&&(Ze.formatting="task"),Ze.taskList=!1,Oe(Ze)}if(Ze.taskOpen=!1,Ze.taskClosed=!1,Ze.header&&nt.match(/^#+$/,!0))return we.highlightFormatting&&(Ze.formatting="header"),Oe(Ze);var qe=nt.next();if(Ze.linkTitle){Ze.linkTitle=!1;var Ve=qe;qe==="("&&(Ve=")"),Ve=(Ve+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var mt="^\\s*(?:[^"+Ve+"\\\\]+|\\\\\\\\|\\\\.)"+Ve;if(nt.match(new RegExp(mt),!0))return re.linkHref}if(qe==="`"){var st=Ze.formatting;we.highlightFormatting&&(Ze.formatting="code"),nt.eatWhile("`");var Lt=nt.current().length;if(Ze.code==0&&(!Ze.quote||Lt==1))return Ze.code=Lt,Oe(Ze);if(Lt==Ze.code){var ct=Oe(Ze);return Ze.code=0,ct}else return Ze.formatting=st,Oe(Ze)}else if(Ze.code)return Oe(Ze);if(qe==="\\"&&(nt.next(),we.highlightFormatting)){var Tt=Oe(Ze),xt=re.formatting+"-escape";return Tt?Tt+" "+xt:xt}if(qe==="!"&&nt.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ze.imageMarker=!0,Ze.image=!0,we.highlightFormatting&&(Ze.formatting="image"),Oe(Ze);if(qe==="["&&Ze.imageMarker&&nt.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ze.imageMarker=!1,Ze.imageAltText=!0,we.highlightFormatting&&(Ze.formatting="image"),Oe(Ze);if(qe==="]"&&Ze.imageAltText){we.highlightFormatting&&(Ze.formatting="image");var Tt=Oe(Ze);return Ze.imageAltText=!1,Ze.image=!1,Ze.inline=Ze.f=Ye,Tt}if(qe==="["&&!Ze.image)return Ze.linkText&&nt.match(/^.*?\]/)||(Ze.linkText=!0,we.highlightFormatting&&(Ze.formatting="link")),Oe(Ze);if(qe==="]"&&Ze.linkText){we.highlightFormatting&&(Ze.formatting="link");var Tt=Oe(Ze);return Ze.linkText=!1,Ze.inline=Ze.f=nt.match(/\(.*?\)| ?\[.*?\]/,!1)?Ye:We,Tt}if(qe==="<"&&nt.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ze.f=Ze.inline=Ne,we.highlightFormatting&&(Ze.formatting="link");var Tt=Oe(Ze);return Tt?Tt+=" ":Tt="",Tt+re.linkInline}if(qe==="<"&&nt.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ze.f=Ze.inline=Ne,we.highlightFormatting&&(Ze.formatting="link");var Tt=Oe(Ze);return Tt?Tt+=" ":Tt="",Tt+re.linkEmail}if(we.xml&&qe==="<"&&nt.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var wt=nt.string.indexOf(">",nt.pos);if(wt!=-1){var yt=nt.string.substring(nt.start,wt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(yt)&&(Ze.md_inside=!0)}return nt.backUp(1),Ze.htmlState=b.startState(Ae),Re(nt,Ze,Fe)}if(we.xml&&qe==="<"&&nt.match(/^\/\w*?>/))return Ze.md_inside=!1,"tag";if(qe==="*"||qe==="_"){for(var je=1,ue=nt.pos==1?" ":nt.string.charAt(nt.pos-2);je<3&&nt.eat(qe);)je++;var ie=nt.peek()||" ",ke=!/\s/.test(ie)&&(!Ee.test(ie)||/\s/.test(ue)||Ee.test(ue)),Xe=!/\s/.test(ue)&&(!Ee.test(ue)||/\s/.test(ie)||Ee.test(ie)),De=null,pe=null;if(je%2&&(!Ze.em&&ke&&(qe==="*"||!Xe||Ee.test(ue))?De=!0:Ze.em==qe&&Xe&&(qe==="*"||!ke||Ee.test(ie))&&(De=!1)),je>1&&(!Ze.strong&&ke&&(qe==="*"||!Xe||Ee.test(ue))?pe=!0:Ze.strong==qe&&Xe&&(qe==="*"||!ke||Ee.test(ie))&&(pe=!1)),pe!=null||De!=null){we.highlightFormatting&&(Ze.formatting=De==null?"strong":pe==null?"em":"strong em"),De===!0&&(Ze.em=qe),pe===!0&&(Ze.strong=qe);var ct=Oe(Ze);return De===!1&&(Ze.em=!1),pe===!1&&(Ze.strong=!1),ct}}else if(qe===" "&&(nt.eat("*")||nt.eat("_"))){if(nt.peek()===" ")return Oe(Ze);nt.backUp(1)}if(we.strikethrough){if(qe==="~"&&nt.eatWhile(qe)){if(Ze.strikethrough){we.highlightFormatting&&(Ze.formatting="strikethrough");var ct=Oe(Ze);return Ze.strikethrough=!1,ct}else if(nt.match(/^[^\s]/,!1))return Ze.strikethrough=!0,we.highlightFormatting&&(Ze.formatting="strikethrough"),Oe(Ze)}else if(qe===" "&&nt.match(/^~~/,!0)){if(nt.peek()===" ")return Oe(Ze);nt.backUp(2)}}if(we.emoji&&qe===":"&&nt.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ze.emoji=!0,we.highlightFormatting&&(Ze.formatting="emoji");var x=Oe(Ze);return Ze.emoji=!1,x}return qe===" "&&(nt.match(/^ +$/,!1)?Ze.trailingSpace++:Ze.trailingSpace&&(Ze.trailingSpaceNewLine=!0)),Oe(Ze)}function Ne(nt,Ze){var Ge=nt.next();if(Ge===">"){Ze.f=Ze.inline=We,we.highlightFormatting&&(Ze.formatting="link");var $e=Oe(Ze);return $e?$e+=" ":$e="",$e+re.linkInline}return nt.match(/^[^>]+/,!0),re.linkInline}function Ye(nt,Ze){if(nt.eatSpace())return null;var Ge=nt.next();return Ge==="("||Ge==="["?(Ze.f=Ze.inline=He(Ge==="("?")":"]"),we.highlightFormatting&&(Ze.formatting="link-string"),Ze.linkHref=!0,Oe(Ze)):"error"}var Je={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function He(nt){return function(Ze,Ge){var $e=Ze.next();if($e===nt){Ge.f=Ge.inline=We,we.highlightFormatting&&(Ge.formatting="link-string");var qe=Oe(Ge);return Ge.linkHref=!1,qe}return Ze.match(Je[nt]),Ge.linkHref=!0,Oe(Ge)}}function lt(nt,Ze){return nt.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ze.f=ft,nt.next(),we.highlightFormatting&&(Ze.formatting="link"),Ze.linkText=!0,Oe(Ze)):Ie(nt,Ze,We)}function ft(nt,Ze){if(nt.match(/^\]:/,!0)){Ze.f=Ze.inline=tt,we.highlightFormatting&&(Ze.formatting="link");var Ge=Oe(Ze);return Ze.linkText=!1,Ge}return nt.match(/^([^\]\\]|\\.)+/,!0),re.linkText}function tt(nt,Ze){return nt.eatSpace()?null:(nt.match(/^[^\s]+/,!0),nt.peek()===void 0?Ze.linkTitle=!0:nt.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ze.f=Ze.inline=We,re.linkHref+" url")}var Ot={startState:function(){return{f:Te,prevLine:{stream:null},thisLine:{stream:null},block:Te,htmlState:null,indentation:0,inline:We,text:Ke,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(nt){return{f:nt.f,prevLine:nt.prevLine,thisLine:nt.thisLine,block:nt.block,htmlState:nt.htmlState&&b.copyState(Ae,nt.htmlState),indentation:nt.indentation,localMode:nt.localMode,localState:nt.localMode?b.copyState(nt.localMode,nt.localState):null,inline:nt.inline,text:nt.text,formatting:!1,linkText:nt.linkText,linkTitle:nt.linkTitle,linkHref:nt.linkHref,code:nt.code,em:nt.em,strong:nt.strong,strikethrough:nt.strikethrough,emoji:nt.emoji,header:nt.header,setext:nt.setext,hr:nt.hr,taskList:nt.taskList,list:nt.list,listStack:nt.listStack.slice(0),quote:nt.quote,indentedCode:nt.indentedCode,trailingSpace:nt.trailingSpace,trailingSpaceNewLine:nt.trailingSpaceNewLine,md_inside:nt.md_inside,fencedEndRE:nt.fencedEndRE}},token:function(nt,Ze){if(Ze.formatting=!1,nt!=Ze.thisLine.stream){if(Ze.header=0,Ze.hr=!1,nt.match(/^\s*$/,!0))return ye(Ze),null;if(Ze.prevLine=Ze.thisLine,Ze.thisLine={stream:nt},Ze.taskList=!1,Ze.trailingSpace=0,Ze.trailingSpaceNewLine=!1,!Ze.localState&&(Ze.f=Ze.block,Ze.f!=Fe)){var Ge=nt.match(/^\s*/,!0)[0].replace(/\t/g,Pe).length;if(Ze.indentation=Ge,Ze.indentationDiff=null,Ge>0)return null}}return Ze.f(nt,Ze)},innerMode:function(nt){return nt.block==Fe?{state:nt.htmlState,mode:Ae}:nt.localState?{state:nt.localState,mode:nt.localMode}:{state:nt,mode:Ot}},indent:function(nt,Ze,Ge){return nt.block==Fe&&Ae.indent?Ae.indent(nt.htmlState,Ze,Ge):nt.localState&&nt.localMode.indent?nt.localMode.indent(nt.localState,Ze,Ge):b.Pass},blankLine:ye,getType:Oe,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Ot},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(_n,pn,ae){(function(b){b(ae(89780))})(function(b){"use strict";b.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 oe=0;oe<b.modeInfo.length;oe++){var we=b.modeInfo[oe];we.mimes&&(we.mime=we.mimes[0])}b.findModeByMIME=function(Ae){Ae=Ae.toLowerCase();for(var de=0;de<b.modeInfo.length;de++){var ve=b.modeInfo[de];if(ve.mime==Ae)return ve;if(ve.mimes){for(var re=0;re<ve.mimes.length;re++)if(ve.mimes[re]==Ae)return ve}}if(/\+xml$/.test(Ae))return b.findModeByMIME("application/xml");if(/\+json$/.test(Ae))return b.findModeByMIME("application/json")},b.findModeByExtension=function(Ae){Ae=Ae.toLowerCase();for(var de=0;de<b.modeInfo.length;de++){var ve=b.modeInfo[de];if(ve.ext){for(var re=0;re<ve.ext.length;re++)if(ve.ext[re]==Ae)return ve}}},b.findModeByFileName=function(Ae){for(var de=0;de<b.modeInfo.length;de++){var ve=b.modeInfo[de];if(ve.file&&ve.file.test(Ae))return ve}var re=Ae.lastIndexOf("."),se=re>-1&&Ae.substring(re+1,Ae.length);if(se)return b.findModeByExtension(se)},b.findModeByName=function(Ae){Ae=Ae.toLowerCase();for(var de=0;de<b.modeInfo.length;de++){var ve=b.modeInfo[de];if(ve.name.toLowerCase()==Ae)return ve;if(ve.alias){for(var re=0;re<ve.alias.length;re++)if(ve.alias[re].toLowerCase()==Ae)return ve}}}})},67549:function(_n,pn,ae){(function(b){b(ae(89780))})(function(b){"use strict";b.defineMode("stex",function(oe,we){"use strict";function Ae(Ce,be){Ce.cmdState.push(be)}function de(Ce){return Ce.cmdState.length>0?Ce.cmdState[Ce.cmdState.length-1]:null}function ve(Ce){var be=Ce.cmdState.pop();be&&be.closeBracket()}function re(Ce){for(var be=Ce.cmdState,le=be.length-1;le>=0;le--){var Ee=be[le];if(Ee.name!="DEFAULT")return Ee}return{styleIdentifier:function(){return null}}}function se(Ce,be,le){return function(){this.name=Ce,this.bracketNo=0,this.style=be,this.styles=le,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var fe={};fe.importmodule=se("importmodule","tag",["string","builtin"]),fe.documentclass=se("documentclass","tag",["","atom"]),fe.usepackage=se("usepackage","tag",["atom"]),fe.begin=se("begin","tag",["atom"]),fe.end=se("end","tag",["atom"]),fe.label=se("label","tag",["atom"]),fe.ref=se("ref","tag",["atom"]),fe.eqref=se("eqref","tag",["atom"]),fe.cite=se("cite","tag",["atom"]),fe.bibitem=se("bibitem","tag",["atom"]),fe.Bibitem=se("Bibitem","tag",["atom"]),fe.RBibitem=se("RBibitem","tag",["atom"]),fe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function E(Ce,be){Ce.f=be}function te(Ce,be){var le;if(Ce.match(/^\\[a-zA-Z@]+/)){var Ee=Ce.current().slice(1);return le=fe.hasOwnProperty(Ee)?fe[Ee]:fe.DEFAULT,le=new le,Ae(be,le),E(be,ge),le.style}if(Ce.match(/^\\[$&%#{}_]/)||Ce.match(/^\\[,;!\/\\]/))return"tag";if(Ce.match("\\["))return E(be,function(Ie,Re){return ne(Ie,Re,"\\]")}),"keyword";if(Ce.match("\\("))return E(be,function(Ie,Re){return ne(Ie,Re,"\\)")}),"keyword";if(Ce.match("$$"))return E(be,function(Ie,Re){return ne(Ie,Re,"$$")}),"keyword";if(Ce.match("$"))return E(be,function(Ie,Re){return ne(Ie,Re,"$")}),"keyword";var Pe=Ce.next();if(Pe=="%")return Ce.skipToEnd(),"comment";if(Pe=="}"||Pe=="]"){if(le=de(be),le)le.closeBracket(Pe),E(be,ge);else return"error";return"bracket"}else return Pe=="{"||Pe=="["?(le=fe.DEFAULT,le=new le,Ae(be,le),"bracket"):/\d/.test(Pe)?(Ce.eatWhile(/[\w.%]/),"atom"):(Ce.eatWhile(/[\w\-_]/),le=re(be),le.name=="begin"&&(le.argument=Ce.current()),le.styleIdentifier())}function ne(Ce,be,le){if(Ce.eatSpace())return null;if(le&&Ce.match(le))return E(be,te),"keyword";if(Ce.match(/^\\[a-zA-Z@]+/))return"tag";if(Ce.match(/^[a-zA-Z]+/))return"variable-2";if(Ce.match(/^\\[$&%#{}_]/)||Ce.match(/^\\[,;!\/]/)||Ce.match(/^[\^_&]/))return"tag";if(Ce.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ce.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Ee=Ce.next();return Ee=="{"||Ee=="}"||Ee=="["||Ee=="]"||Ee=="("||Ee==")"?"bracket":Ee=="%"?(Ce.skipToEnd(),"comment"):"error"}function ge(Ce,be){var le=Ce.peek(),Ee;return le=="{"||le=="["?(Ee=de(be),Ee.openBracket(le),Ce.eat(le),E(be,te),"bracket"):/[ \t\r]/.test(le)?(Ce.eat(le),null):(E(be,te),ve(be),te(Ce,be))}return{startState:function(){var Ce=we.inMathMode?function(be,le){return ne(be,le)}:te;return{cmdState:[],f:Ce}},copyState:function(Ce){return{cmdState:Ce.cmdState.slice(),f:Ce.f}},token:function(Ce,be){return be.f(Ce,be)},blankLine:function(Ce){Ce.f=te,Ce.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(_n,pn,ae){(function(b){b(ae(89780))})(function(b){"use strict";var oe={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},we={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(Ae,de){var ve=Ae.indentUnit,re={},se=de.htmlMode?oe:we;for(var fe in se)re[fe]=se[fe];for(var fe in de)re[fe]=de[fe];var E,te;function ne(Ne,Ye){function Je(ft){return Ye.tokenize=ft,ft(Ne,Ye)}var He=Ne.next();if(He=="<")return Ne.eat("!")?Ne.eat("[")?Ne.match("CDATA[")?Je(be("atom","]]>")):null:Ne.match("--")?Je(be("comment","-->")):Ne.match("DOCTYPE",!0,!0)?(Ne.eatWhile(/[\w\._\-]/),Je(le(1))):null:Ne.eat("?")?(Ne.eatWhile(/[\w\._\-]/),Ye.tokenize=be("meta","?>"),"meta"):(E=Ne.eat("/")?"closeTag":"openTag",Ye.tokenize=ge,"tag bracket");if(He=="&"){var lt;return Ne.eat("#")?Ne.eat("x")?lt=Ne.eatWhile(/[a-fA-F\d]/)&&Ne.eat(";"):lt=Ne.eatWhile(/[\d]/)&&Ne.eat(";"):lt=Ne.eatWhile(/[\w\.\-:]/)&&Ne.eat(";"),lt?"atom":"error"}else return Ne.eatWhile(/[^&<]/),null}ne.isInText=!0;function ge(Ne,Ye){var Je=Ne.next();if(Je==">"||Je=="/"&&Ne.eat(">"))return Ye.tokenize=ne,E=Je==">"?"endTag":"selfcloseTag","tag bracket";if(Je=="=")return E="equals",null;if(Je=="<"){Ye.tokenize=ne,Ye.state=Re,Ye.tagName=Ye.tagStart=null;var He=Ye.tokenize(Ne,Ye);return He?He+" tag error":"tag error"}else return/[\'\"]/.test(Je)?(Ye.tokenize=Ce(Je),Ye.stringStartCol=Ne.column(),Ye.tokenize(Ne,Ye)):(Ne.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ce(Ne){var Ye=function(Je,He){for(;!Je.eol();)if(Je.next()==Ne){He.tokenize=ge;break}return"string"};return Ye.isInAttribute=!0,Ye}function be(Ne,Ye){return function(Je,He){for(;!Je.eol();){if(Je.match(Ye)){He.tokenize=ne;break}Je.next()}return Ne}}function le(Ne){return function(Ye,Je){for(var He;(He=Ye.next())!=null;){if(He=="<")return Je.tokenize=le(Ne+1),Je.tokenize(Ye,Je);if(He==">")if(Ne==1){Je.tokenize=ne;break}else return Je.tokenize=le(Ne-1),Je.tokenize(Ye,Je)}return"meta"}}function Ee(Ne,Ye,Je){this.prev=Ne.context,this.tagName=Ye,this.indent=Ne.indented,this.startOfLine=Je,(re.doNotIndent.hasOwnProperty(Ye)||Ne.context&&Ne.context.noIndent)&&(this.noIndent=!0)}function Pe(Ne){Ne.context&&(Ne.context=Ne.context.prev)}function Ie(Ne,Ye){for(var Je;;){if(!Ne.context||(Je=Ne.context.tagName,!re.contextGrabbers.hasOwnProperty(Je)||!re.contextGrabbers[Je].hasOwnProperty(Ye)))return;Pe(Ne)}}function Re(Ne,Ye,Je){return Ne=="openTag"?(Je.tagStart=Ye.column(),Me):Ne=="closeTag"?ye:Re}function Me(Ne,Ye,Je){return Ne=="word"?(Je.tagName=Ye.current(),te="tag",_e):re.allowMissingTagName&&Ne=="endTag"?(te="tag bracket",_e(Ne,Ye,Je)):(te="error",Me)}function ye(Ne,Ye,Je){if(Ne=="word"){var He=Ye.current();return Je.context&&Je.context.tagName!=He&&re.implicitlyClosed.hasOwnProperty(Je.context.tagName)&&Pe(Je),Je.context&&Je.context.tagName==He||re.matchClosing===!1?(te="tag",Te):(te="tag error",Fe)}else return re.allowMissingTagName&&Ne=="endTag"?(te="tag bracket",Te(Ne,Ye,Je)):(te="error",Fe)}function Te(Ne,Ye,Je){return Ne!="endTag"?(te="error",Te):(Pe(Je),Re)}function Fe(Ne,Ye,Je){return te="error",Te(Ne,Ye,Je)}function _e(Ne,Ye,Je){if(Ne=="word")return te="attribute",Oe;if(Ne=="endTag"||Ne=="selfcloseTag"){var He=Je.tagName,lt=Je.tagStart;return Je.tagName=Je.tagStart=null,Ne=="selfcloseTag"||re.autoSelfClosers.hasOwnProperty(He)?Ie(Je,He):(Ie(Je,He),Je.context=new Ee(Je,He,lt==Je.indented)),Re}return te="error",_e}function Oe(Ne,Ye,Je){return Ne=="equals"?Ke:(re.allowMissing||(te="error"),_e(Ne,Ye,Je))}function Ke(Ne,Ye,Je){return Ne=="string"?We:Ne=="word"&&re.allowUnquoted?(te="string",_e):(te="error",_e(Ne,Ye,Je))}function We(Ne,Ye,Je){return Ne=="string"?We:_e(Ne,Ye,Je)}return{startState:function(Ne){var Ye={tokenize:ne,state:Re,indented:Ne||0,tagName:null,tagStart:null,context:null};return Ne!=null&&(Ye.baseIndent=Ne),Ye},token:function(Ne,Ye){if(!Ye.tagName&&Ne.sol()&&(Ye.indented=Ne.indentation()),Ne.eatSpace())return null;E=null;var Je=Ye.tokenize(Ne,Ye);return(Je||E)&&Je!="comment"&&(te=null,Ye.state=Ye.state(E||Je,Ne,Ye),te&&(Je=te=="error"?Je+" error":te)),Je},indent:function(Ne,Ye,Je){var He=Ne.context;if(Ne.tokenize.isInAttribute)return Ne.tagStart==Ne.indented?Ne.stringStartCol+1:Ne.indented+ve;if(He&&He.noIndent)return b.Pass;if(Ne.tokenize!=ge&&Ne.tokenize!=ne)return Je?Je.match(/^(\s*)/)[0].length:0;if(Ne.tagName)return re.multilineTagIndentPastTag!==!1?Ne.tagStart+Ne.tagName.length+2:Ne.tagStart+ve*(re.multilineTagIndentFactor||1);if(re.alignCDATA&&/<!\[CDATA\[/.test(Ye))return 0;var lt=Ye&&/^<(\/)?([\w_:\.-]*)/.exec(Ye);if(lt&&lt[1])for(;He;)if(He.tagName==lt[2]){He=He.prev;break}else if(re.implicitlyClosed.hasOwnProperty(He.tagName))He=He.prev;else break;else if(lt)for(;He;){var ft=re.contextGrabbers[He.tagName];if(ft&&ft.hasOwnProperty(lt[2]))He=He.prev;else break}for(;He&&He.prev&&!He.startOfLine;)He=He.prev;return He?He.indent+ve:Ne.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:re.htmlMode?"html":"xml",helperType:re.htmlMode?"html":"xml",skipAttribute:function(Ne){Ne.state==Ke&&(Ne.state=_e)},xmlCurrentTag:function(Ne){return Ne.tagName?{name:Ne.tagName,close:Ne.type=="closeTag"}:null},xmlCurrentContext:function(Ne){for(var Ye=[],Je=Ne.context;Je;Je=Je.prev)Je.tagName&&Ye.push(Je.tagName);return Ye.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(_n,pn,ae){"use strict";ae.d(pn,{hP:function(){return yt}});var b=function(je,ue){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,ke){ie.__proto__=ke}||function(ie,ke){for(var Xe in ke)Object.prototype.hasOwnProperty.call(ke,Xe)&&(ie[Xe]=ke[Xe])})(je,ue)};function oe(je,ue){function ie(){this.constructor=je}b(je,ue),je.prototype=ue===null?Object.create(ue):(ie.prototype=ue.prototype,new ie)}function we(je,ue,ie,ke){return new(ie||(ie=Promise))(function(Xe,De){function pe(Le){try{me(ke.next(Le))}catch(Se){De(Se)}}function x(Le){try{me(ke.throw(Le))}catch(Se){De(Se)}}function me(Le){var Se;Le.done?Xe(Le.value):(Se=Le.value,Se instanceof ie?Se:new ie(function(Be){Be(Se)})).then(pe,x)}me((ke=ke.apply(je,ue||[])).next())})}function Ae(je,ue){var ie,ke,Xe,De,pe={label:0,sent:function(){if(1&Xe[0])throw Xe[1];return Xe[1]},trys:[],ops:[]};return De={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(De[Symbol.iterator]=function(){return this}),De;function x(me){return function(Le){return function(Se){if(ie)throw new TypeError("Generator is already executing.");for(;pe;)try{if(ie=1,ke&&(Xe=2&Se[0]?ke.return:Se[0]?ke.throw||((Xe=ke.return)&&Xe.call(ke),0):ke.next)&&!(Xe=Xe.call(ke,Se[1])).done)return Xe;switch(ke=0,Xe&&(Se=[2&Se[0],Xe.value]),Se[0]){case 0:case 1:Xe=Se;break;case 4:return pe.label++,{value:Se[1],done:!1};case 5:pe.label++,ke=Se[1],Se=[0];continue;case 7:Se=pe.ops.pop(),pe.trys.pop();continue;default:if(Xe=pe.trys,!((Xe=Xe.length>0&&Xe[Xe.length-1])||Se[0]!==6&&Se[0]!==2)){pe=0;continue}if(Se[0]===3&&(!Xe||Se[1]>Xe[0]&&Se[1]<Xe[3])){pe.label=Se[1];break}if(Se[0]===6&&pe.label<Xe[1]){pe.label=Xe[1],Xe=Se;break}if(Xe&&pe.label<Xe[2]){pe.label=Xe[2],pe.ops.push(Se);break}Xe[2]&&pe.ops.pop(),pe.trys.pop();continue}Se=ue.call(je,pe)}catch(Be){Se=[6,Be],ke=0}finally{ie=Xe=0}if(5&Se[0])throw Se[1];return{value:Se[0]?Se[1]:void 0,done:!0}}([me,Le])}}}function de(){for(var je=0,ue=0,ie=arguments.length;ue<ie;ue++)je+=arguments[ue].length;var ke=Array(je),Xe=0;for(ue=0;ue<ie;ue++)for(var De=arguments[ue],pe=0,x=De.length;pe<x;pe++,Xe++)ke[Xe]=De[pe];return ke}var ve=function(){function je(){}return je.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},je.setAttributes=function(ue,ie){for(var ke=0,Xe=ie;ke<Xe.length;ke++){var De=Xe[ke],pe=De[0],x=De[1];ue.setAttribute(pe,x)}},je.createRect=function(ue,ie,ke){var Xe=document.createElementNS("http://www.w3.org/2000/svg","rect");return Xe.setAttribute("width",ue.toString()),Xe.setAttribute("height",ie.toString()),ke&&je.setAttributes(Xe,ke),Xe},je.createLine=function(ue,ie,ke,Xe,De){var pe=document.createElementNS("http://www.w3.org/2000/svg","line");return pe.setAttribute("x1",ue.toString()),pe.setAttribute("y1",ie.toString()),pe.setAttribute("x2",ke.toString()),pe.setAttribute("y2",Xe.toString()),De&&je.setAttributes(pe,De),pe},je.createPolygon=function(ue,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ke.setAttribute("points",ue),ie&&je.setAttributes(ke,ie),ke},je.createCircle=function(ue,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","circle");return ke.setAttribute("cx",(ue/2).toString()),ke.setAttribute("cy",(ue/2).toString()),ke.setAttribute("r",ue.toString()),ie&&je.setAttributes(ke,ie),ke},je.createEllipse=function(ue,ie,ke){var Xe=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return Xe.setAttribute("cx",(ue/2).toString()),Xe.setAttribute("cy",(ie/2).toString()),Xe.setAttribute("rx",(ue/2).toString()),Xe.setAttribute("ry",(ie/2).toString()),ke&&je.setAttributes(Xe,ke),Xe},je.createGroup=function(ue){var ie=document.createElementNS("http://www.w3.org/2000/svg","g");return ue&&je.setAttributes(ie,ue),ie},je.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},je.createMarker=function(ue,ie,ke,Xe,De,pe,x){var me=document.createElementNS("http://www.w3.org/2000/svg","marker");return je.setAttributes(me,[["id",ue],["orient",ie],["markerWidth",ke.toString()],["markerHeight",Xe.toString()],["refX",De.toString()],["refY",pe.toString()]]),me.appendChild(x),me},je.createText=function(ue){var ie=document.createElementNS("http://www.w3.org/2000/svg","text");return ie.setAttribute("x","0"),ie.setAttribute("y","0"),ue&&je.setAttributes(ie,ue),ie},je.createTSpan=function(ue,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ke.textContent=ue,ie&&je.setAttributes(ke,ie),ke},je.createImage=function(ue){var ie=document.createElementNS("http://www.w3.org/2000/svg","image");return ue&&je.setAttributes(ie,ue),ie},je.createPoint=function(ue,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ke.x=ue,ke.y=ie,ke},je.createPath=function(ue,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","path");return ke.setAttribute("d",ue),ie&&je.setAttributes(ke,ie),ke},je}(),re=function(){function je(){}return je.addKey=function(ue){je.key=ue},Object.defineProperty(je,"isLicensed",{get:function(){return!!je.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(je.key)},enumerable:!1,configurable:!0}),je}(),se=function(){function je(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return je.prototype.rasterize=function(ue,ie,ke){var Xe=this;return new Promise(function(De){var pe=ke!==void 0?ke:document.createElement("canvas");ue===null&&(Xe.markersOnly=!0,Xe.naturalSize=!1);var x=document.createElementNS("http://www.w3.org/2000/svg","svg");x.setAttribute("xmlns","http://www.w3.org/2000/svg"),x.setAttribute("width",ie.width.baseVal.valueAsString),x.setAttribute("height",ie.height.baseVal.valueAsString),x.setAttribute("viewBox","0 0 "+ie.viewBox.baseVal.width.toString()+" "+ie.viewBox.baseVal.height.toString()),x.innerHTML=ie.innerHTML,Xe.naturalSize===!0?(x.width.baseVal.value=ue.naturalWidth,x.height.baseVal.value=ue.naturalHeight):Xe.width!==void 0&&Xe.height!==void 0&&(x.width.baseVal.value=Xe.width,x.height.baseVal.value=Xe.height),pe.width=x.width.baseVal.value,pe.height=x.height.baseVal.value;var me=x.outerHTML,Le=pe.getContext("2d");Xe.markersOnly!==!0&&Le.drawImage(ue,0,0,pe.width,pe.height);var Se=window.URL,Be=new Image(pe.width,pe.height);Be.setAttribute("crossOrigin","anonymous");var Qe=new Blob([me],{type:"image/svg+xml"}),it=Se.createObjectURL(Qe);Be.onload=function(){Le.drawImage(Be,0,0),Se.revokeObjectURL(it);var ot=pe.toDataURL(Xe.imageType,Xe.imageQuality);De(ot)},Be.src=it})},je}(),fe=function(){},E=function(){function je(ue){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ue+"_"}return Object.defineProperty(je.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),je.prototype.addClass=function(ue){return this.styleSheet===void 0&&this.addStyleSheet(),ue.name=""+this.classNamePrefix+ue.localName,this.classes.push(ue),this.styleSheet.sheet.insertRule("."+ue.name+" {"+ue.style+"}",this.styleSheet.sheet.cssRules.length),ue},je.prototype.addRule=function(ue){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ue),this.styleSheet.sheet.insertRule(ue.selector+" {"+ue.style+"}",this.styleSheet.sheet.cssRules.length)},je.prototype.addStyleSheet=function(){var ue;this.styleSheet=document.createElement("style"),((ue=this.styleSheetRoot)!==null&&ue!==void 0?ue:document.head).appendChild(this.styleSheet),this.addRule(new te("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new te("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new te("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new ne("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new ne("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},je.prototype.removeStyleSheet=function(){var ue;this.styleSheet&&(((ue=this.styleSheetRoot)!==null&&ue!==void 0?ue:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},je}(),te=function(je,ue){this.selector=je,this.style=ue},ne=function(je,ue){this.localName=je,this.style=ue},ge=function(){function je(ue,ie,ke,Xe,De){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ue,this.displayMode=ie,this.markerItems=ke,this.uiStyleSettings=Xe,this.styles=De,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return je.prototype.show=function(ue){var ie=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ue,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ke=document.createElement("div");ke.className=this.toolbarBlockStyleClass.name,ke.style.whiteSpace="nowrap",this.uiContainer.appendChild(ke),this.addActionButton(ke,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(ke,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(ke,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(ke,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(ke,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(ke,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(ke,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(ke,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(De){var pe=document.createElement("div");pe.className=""+ie.toolbarButtonStyleClass.name,pe.setAttribute("data-type-name",De.typeName),pe.innerHTML=De.icon,pe.addEventListener("click",function(){ie.markerToolbarButtonClicked(pe,De)}),ie.buttons.push(pe),ie.markerButtons.push(pe)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var Xe=document.createElement("div");Xe.className=this.toolbarBlockStyleClass.name,Xe.style.whiteSpace="nowrap",Xe.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(Xe),this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},je.prototype.addButtonClickListener=function(ue){this.buttonClickListeners.push(ue)},je.prototype.removeButtonClickListener=function(ue){this.buttonClickListeners.indexOf(ue)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ue),1)},je.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},je.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ue=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ie=0;ie<this.markerButtons.length;ie++)ie<ue||ie===ue&&this.markerButtons.length-1===ue?this.markerButtonBlock.appendChild(this.markerButtons[ie]):(ie===ue&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ie]))}},je.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},je.prototype.resetButtonStyles=function(){var ue=this;this.buttons.forEach(function(ie){ie.className=ie.className.replace(ue.uiStyleSettings.toolbarButtonStyleColorsClassName?ue.uiStyleSettings.toolbarButtonStyleColorsClassName:ue.toolbarButtonStyleColorsClass.name,"").trim(),ie.className=ie.className.replace(ue.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ue.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ue.toolbarActiveButtonStyleColorsClass.name,"").trim(),ie.className+=" "+(ue.uiStyleSettings.toolbarButtonStyleColorsClassName?ue.uiStyleSettings.toolbarButtonStyleColorsClassName:ue.toolbarButtonStyleColorsClass.name)})},je.prototype.addActionButton=function(ue,ie,ke){var Xe=this,De=document.createElement("div");switch(De.className=""+this.toolbarButtonStyleClass.name,De.innerHTML=ie,De.setAttribute("data-action",ke),De.addEventListener("click",function(){Xe.actionToolbarButtonClicked(De,ke)}),ke){case"select":De.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":De.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":De.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":De.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":De.style.fill=this.uiStyleSettings.closeButtonColor}ue.appendChild(De),this.buttons.push(De)},je.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ne("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new ne("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ne("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ne("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new ne("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var ue=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ne("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px;
padding: `+ue+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new ne("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ne("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new te("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new te("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},je.prototype.markerToolbarButtonClicked=function(ue,ie){this.setActiveButton(ue),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ke){return ke("marker",ie)}),this.markerButtonOverflowBlock.style.display="none"},je.prototype.actionToolbarButtonClicked=function(ue,ie){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ke){return ke("action",ie)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},je.prototype.setActiveButton=function(ue){this.resetButtonStyles(),ue.className=ue.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ue.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},je.prototype.setActiveMarkerButton=function(ue){var ie=this.markerButtons.find(function(ke){return ke.getAttribute("data-type-name")===ue});ie&&this.setActiveButton(ie)},je.prototype.setCurrentMarker=function(ue){var ie=this;this.currentMarker=ue,this.buttons.filter(function(ke){return/delete|notes/.test(ke.getAttribute("data-action"))}).forEach(function(ke){ie.currentMarker===void 0?(ke.style.fillOpacity="0.4",ke.style.pointerEvents="none"):(ke.style.fillOpacity="1",ke.style.pointerEvents="all")})},je}(),Ce=function(){function je(ue,ie,ke,Xe){this.panels=[],this.panelButtons=[],this.markerjsContainer=ue,this.displayMode=ie,this.uiStyleSettings=ke,this.styles=Xe,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return je.prototype.addStyles=function(){var ue;this.toolboxStyleClass=this.styles.addClass(new ne("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new ne("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var ie=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ne("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ne("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ne("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new ne("toolbox-panel-row_colors",`
background-color: `+((ue=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ue!==void 0?ue:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ne("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
padding: `+ie+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ne("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ne("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new te("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new te("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},je.prototype.show=function(ue){var ie;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ue,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},je.prototype.setPanelButtons=function(ue){var ie,ke,Xe=this;this.panels=ue,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ke=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ke!==void 0?ke:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(De){var pe;De.uiStyleSettings=Xe.uiStyleSettings;var x=document.createElement("div");x.className=Xe.toolboxButtonStyleClass.name+" "+((pe=Xe.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&pe!==void 0?pe:Xe.toolboxButtonStyleColorsClass.name),x.innerHTML=De.icon,x.title=De.title,x.addEventListener("click",function(){Xe.panelButtonClick(De)}),Xe.panelButtons.push(x),Xe.buttonRow.appendChild(x)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},je.prototype.panelButtonClick=function(ue){var ie=this,ke=-1;if(ue!==this.activePanel){ke=this.panels.indexOf(ue),this.panelRow.innerHTML="";var Xe=ue.getUi();Xe.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(Xe),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ue}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ie.displayMode==="inline"?ie.panelRow.style.display="none":ie.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(De,pe){var x,me;De.className=ie.toolboxButtonStyleClass.name+" "+(pe===ke?""+((x=ie.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&x!==void 0?x:ie.toolboxActiveButtonStyleColorsClass.name):""+((me=ie.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&me!==void 0?me:ie.toolboxButtonStyleColorsClass.name))})},je}(),be=function(je,ue){this.title=je,this.icon=ue},le=function(je){function ue(ie,ke,Xe,De){var pe=je.call(this,ie,De||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return pe.colors=[],pe.addTransparent=!1,pe.colorBoxes=[],pe.colors=ke,pe.currentColor=Xe,pe.setCurrentColor=pe.setCurrentColor.bind(pe),pe.getColorBox=pe.getColorBox.bind(pe),pe}return oe(ue,je),ue.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.overflow="hidden",ke.style.whiteSpace="nowrap",this.colors.forEach(function(Xe){var De=ie.getColorBox(Xe);ke.appendChild(De),ie.colorBoxes.push(De)}),ke},ue.prototype.getColorBox=function(ie){var ke=this,Xe=this.uiStyleSettings.toolbarHeight/4,De=this.uiStyleSettings.toolbarHeight-Xe,pe=document.createElement("div");pe.style.display="inline-block",pe.style.boxSizing="content-box",pe.style.width=De-2+"px",pe.style.height=De-2+"px",pe.style.padding="1px",pe.style.marginRight="2px",pe.style.marginBottom="2px",pe.style.borderWidth="2px",pe.style.borderStyle="solid",pe.style.borderRadius=(De+2)/2+"px",pe.style.borderColor=ie===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",pe.addEventListener("click",function(){ke.setCurrentColor(ie,pe)});var x=document.createElement("div");return x.style.display="inline-block",x.style.width=De-2+"px",x.style.height=De-2+"px",x.style.backgroundColor=ie,x.style.borderRadius=De/2+"px",ie==="transparent"&&(x.style.fill=this.uiStyleSettings.toolboxAccentColor,x.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),pe.appendChild(x),pe},ue.prototype.setCurrentColor=function(ie,ke){var Xe=this;this.currentColor=ie,this.colorBoxes.forEach(function(De){De.style.borderColor=De===ke?Xe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ie)},ue}(be),Ee=function(){function je(ue,ie,ke){this._state="new",this._isSelected=!1,this._container=ue,this._overlayContainer=ie,this.globalSettings=ke,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(je.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),je.prototype.ownsTarget=function(ue){return!1},Object.defineProperty(je.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),je.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},je.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},je.prototype.pointerDown=function(ue,ie){},je.prototype.dblClick=function(ue,ie){},je.prototype.manipulate=function(ue){},je.prototype.pointerUp=function(ue){this.stateChanged()},je.prototype.dispose=function(){},je.prototype.addMarkerVisualToContainer=function(ue){this.container.childNodes.length>0?this.container.insertBefore(ue,this.container.childNodes[0]):this.container.appendChild(ue)},je.prototype.getState=function(){return{typeName:je.typeName,state:this.state,notes:this.notes}},je.prototype.restoreState=function(ue){this._state=ue.state,this.notes=ue.notes},je.prototype.scale=function(ue,ie){},je.prototype.colorChanged=function(ue){this.onColorChanged&&this.onColorChanged(ue),this.stateChanged()},je.prototype.fillColorChanged=function(ue){this.onFillColorChanged&&this.onFillColorChanged(ue),this.stateChanged()},je.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ue=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ue.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ue)&&this.onStateChanged(this)}},je.typeName="MarkerBase",je}(),Pe=function(){function je(){this.findGripByVisual=this.findGripByVisual.bind(this)}return je.prototype.findGripByVisual=function(ue){return this.topLeft.ownsTarget(ue)?this.topLeft:this.topCenter.ownsTarget(ue)?this.topCenter:this.topRight.ownsTarget(ue)?this.topRight:this.centerLeft.ownsTarget(ue)?this.centerLeft:this.centerRight.ownsTarget(ue)?this.centerRight:this.bottomLeft.ownsTarget(ue)?this.bottomLeft:this.bottomCenter.ownsTarget(ue)?this.bottomCenter:this.bottomRight.ownsTarget(ue)?this.bottomRight:void 0},je}(),Ie=function(){function je(){this.GRIP_SIZE=10,this.visual=ve.createGroup(),this.visual.appendChild(ve.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ve.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return je.prototype.ownsTarget=function(ue){return ue===this.visual||ue===this.visual.childNodes[0]||ue===this.visual.childNodes[1]},je}(),Re=function(){function je(){}return je.toITransformMatrix=function(ue){return{a:ue.a,b:ue.b,c:ue.c,d:ue.d,e:ue.e,f:ue.f}},je.toSVGMatrix=function(ue,ie){return ue.a=ie.a,ue.b=ie.b,ue.c=ie.c,ue.d=ie.d,ue.e=ie.e,ue.f=ie.f,ue},je}(),Me=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.left=0,De.top=0,De.width=0,De.height=0,De.defaultSize={x:50,y:20},De.offsetX=0,De.offsetY=0,De.rotationAngle=0,De.CB_DISTANCE=10,De._suppressMarkerCreateEvent=!1,De.container.transform.baseVal.appendItem(ve.createTransform()),De.setupControlBox(),De}return oe(ue,je),Object.defineProperty(ue.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"visual",{get:function(){return this._visual},set:function(ie){this._visual=ie;var ke=ve.createTransform();this._visual.transform.baseVal.appendItem(ke)},enumerable:!1,configurable:!0}),ue.prototype.ownsTarget=function(ie){return!!je.prototype.ownsTarget.call(this,ie)||!!(this.controlGrips.findGripByVisual(ie)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ie))},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="new"&&(this.left=ie.x,this.top=ie.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var Xe=this.unrotatePoint(ie);if(this.manipulationStartX=Xe.x,this.manipulationStartY=Xe.y,this.offsetX=Xe.x-this.left,this.offsetY=Xe.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ke),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ke)){this.activeGrip=this.rotatorGrip;var De=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=De.x-this.width/2,this.top=De.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var pe=this.container.transform.baseVal.getItem(0);pe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(pe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ue.prototype.pointerUp=function(ie){var ke=this.state;je.prototype.pointerUp.call(this,ie),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ie),this._state="select",ke==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ue.prototype.moveVisual=function(ie){this.visual.style.transform="translate("+ie.x+"px, "+ie.y+"px)"},ue.prototype.manipulate=function(ie){var ke=this.unrotatePoint(ie);this.state==="creating"?this.resize(ie):this.state==="move"?(this.left=this.manipulationStartLeft+(ke.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ke.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ke):this.state==="rotate"&&this.rotate(ie)},ue.prototype.resize=function(ie){var ke=this.manipulationStartLeft,Xe=this.manipulationStartWidth,De=this.manipulationStartTop,pe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ke=this.manipulationStartLeft+ie.x-this.manipulationStartX,Xe=this.manipulationStartWidth+this.manipulationStartLeft-ke;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:Xe=this.manipulationStartWidth+ie.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:De=this.manipulationStartTop+ie.y-this.manipulationStartY,pe=this.manipulationStartHeight+this.manipulationStartTop-De;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:pe=this.manipulationStartHeight+ie.y-this.manipulationStartY}Xe>=0?(this.left=ke,this.width=Xe):(this.left=ke+Xe,this.width=-Xe),pe>=0?(this.top=De,this.height=pe):(this.top=De+pe,this.height=-pe),this.setSize()},ue.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ue.prototype.rotate=function(ie){if(Math.abs(ie.x-this.centerX)>.1){var ke=Math.sign(ie.x-this.centerX);this.rotationAngle=180*Math.atan((ie.y-this.centerY)/(ie.x-this.centerX))/Math.PI+90*ke,this.applyRotation()}},ue.prototype.applyRotation=function(){var ie=this.container.transform.baseVal.getItem(0);ie.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ie,0)},ue.prototype.rotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ke=this.container.getCTM(),Xe=ve.createPoint(ie.x,ie.y);return{x:(Xe=Xe.matrixTransform(ke)).x,y:Xe.y}},ue.prototype.unrotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ke=this.container.getCTM();ke=ke.inverse();var Xe=ve.createPoint(ie.x,ie.y);return{x:(Xe=Xe.matrixTransform(ke)).x,y:Xe.y}},ue.prototype.select=function(){je.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ue.prototype.deselect=function(){je.prototype.deselect.call(this),this.controlBox.style.display="none"},ue.prototype.setupControlBox=function(){this.controlBox=ve.createGroup();var ie=ve.createTransform();ie.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ie),this.container.appendChild(this.controlBox),this.controlRect=ve.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=ve.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new Pe,this.addControlGrips(),this.controlBox.style.display="none"},ue.prototype.adjustControlBox=function(){var ie=this.controlBox.transform.baseVal.getItem(0);ie.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ie,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ue.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ue.prototype.createGrip=function(){var ie=new Ie;return ie.visual.transform.baseVal.appendItem(ve.createTransform()),this.controlBox.appendChild(ie.visual),ie},ue.prototype.positionGrips=function(){var ie=this.controlGrips.topLeft.GRIP_SIZE,ke=-ie/2,Xe=ke,De=(this.width+this.CB_DISTANCE)/2-ie/2,pe=(this.height+this.CB_DISTANCE)/2-ie/2,x=this.height+this.CB_DISTANCE-ie/2,me=this.width+this.CB_DISTANCE-ie/2;this.positionGrip(this.controlGrips.topLeft.visual,ke,Xe),this.positionGrip(this.controlGrips.topCenter.visual,De,Xe),this.positionGrip(this.controlGrips.topRight.visual,me,Xe),this.positionGrip(this.controlGrips.centerLeft.visual,ke,pe),this.positionGrip(this.controlGrips.centerRight.visual,me,pe),this.positionGrip(this.controlGrips.bottomLeft.visual,ke,x),this.positionGrip(this.controlGrips.bottomCenter.visual,De,x),this.positionGrip(this.controlGrips.bottomRight.visual,me,x),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,De,Xe-3*this.CB_DISTANCE)},ue.prototype.positionGrip=function(ie,ke,Xe){var De=ie.transform.baseVal.getItem(0);De.setTranslate(ke,Xe),ie.transform.baseVal.replaceItem(De,0)},ue.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ue.prototype.showControlBox=function(){this.controlBox.style.display=""},ue.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Re.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Re.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},je.prototype.getState.call(this))},ue.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.left=ke.left,this.top=ke.top,this.width=ke.width,this.height=ke.height,this.rotationAngle=ke.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Re.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ke.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Re.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ke.containerTransformMatrix))},ue.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke);var Xe=this.rotatePoint({x:this.left,y:this.top}),De=this.unrotatePoint({x:Xe.x*ie,y:Xe.y*ke});this.left=De.x,this.top=De.y,this.width=this.width*ie,this.height=this.height*ke,this.adjustControlBox()},ue}(Ee),ye=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.fillColor="transparent",De.strokeColor="transparent",De.strokeWidth=0,De.strokeDasharray="",De.opacity=1,De.setStrokeColor=De.setStrokeColor.bind(De),De.setFillColor=De.setFillColor.bind(De),De.setStrokeWidth=De.setStrokeWidth.bind(De),De.setStrokeDasharray=De.setStrokeDasharray.bind(De),De.createVisual=De.createVisual.bind(De),De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},ue.prototype.createVisual=function(){this.visual=ve.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},ue.prototype.manipulate=function(ie){je.prototype.manipulate.call(this,ie)},ue.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.setSize()},ue.prototype.setSize=function(){je.prototype.setSize.call(this),ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ue.prototype.pointerUp=function(ie){je.prototype.pointerUp.call(this,ie),this.setSize()},ue.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.visual&&ve.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ue.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&ve.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ue.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&ve.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ue.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&ve.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ue.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},je.prototype.getState.call(this))},ue.prototype.restoreState=function(ie){var ke=ie;this.fillColor=ke.fillColor,this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.opacity=ke.opacity,this.createVisual(),je.prototype.restoreState.call(this,ie),this.setSize()},ue.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setSize()},ue.title="Rectangle marker",ue}(Me),Te=function(je){function ue(ie,ke,Xe,De){var pe=je.call(this,ie,De||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return pe.widths=[],pe.widthBoxes=[],pe.widths=ke,pe.currentWidth=Xe,pe.setCurrentWidth=pe.setCurrentWidth.bind(pe),pe}return oe(ue,je),ue.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.display="flex",ke.style.overflow="hidden",ke.style.flexGrow="2",this.widths.forEach(function(Xe){var De=document.createElement("div");De.style.display="flex",De.style.flexGrow="2",De.style.alignItems="center",De.style.justifyContent="space-between",De.style.padding="5px",De.style.borderWidth="2px",De.style.borderStyle="solid",De.style.borderColor=Xe===ie.currentWidth?ie.uiStyleSettings.toolboxAccentColor:"transparent",De.addEventListener("click",function(){ie.setCurrentWidth(Xe,De)}),ke.appendChild(De);var pe=document.createElement("div");pe.innerText=Xe.toString(),pe.style.marginRight="5px",De.appendChild(pe);var x=document.createElement("div");x.style.minHeight="20px",x.style.flexGrow="2",x.style.display="flex",x.style.alignItems="center";var me=document.createElement("hr");me.style.minWidth="20px",me.style.border="0px",me.style.borderTop=Xe+"px solid "+ie.uiStyleSettings.toolboxColor,me.style.flexGrow="2",x.appendChild(me),De.appendChild(x),ie.widthBoxes.push(De)}),ke},ue.prototype.setCurrentWidth=function(ie,ke){var Xe=this;this.currentWidth=ie,this.widthBoxes.forEach(function(De){De.style.borderColor=De===ke?Xe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ue}(be),Fe=function(je){function ue(ie,ke,Xe,De){var pe=je.call(this,ie,De||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return pe.styles=[],pe.styleBoxes=[],pe.styles=ke,pe.currentStyle=Xe,pe.setCurrentStyle=pe.setCurrentStyle.bind(pe),pe}return oe(ue,je),ue.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.display="flex",ke.style.overflow="hidden",ke.style.flexGrow="2",this.styles.forEach(function(Xe){var De=document.createElement("div");De.style.display="flex",De.style.alignItems="center",De.style.justifyContent="space-between",De.style.padding="5px",De.style.borderWidth="2px",De.style.borderStyle="solid",De.style.overflow="hidden",De.style.maxWidth=100/ie.styles.length-5+"%",De.style.borderColor=Xe===ie.currentStyle?ie.uiStyleSettings.toolboxAccentColor:"transparent",De.addEventListener("click",function(){ie.setCurrentStyle(Xe,De)}),ke.appendChild(De);var pe=document.createElement("div");pe.style.minHeight="20px",pe.style.flexGrow="2",pe.style.overflow="hidden";var x=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ie.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(Xe!==""?'stroke-dasharray="'+Xe+'"':"")+` />
</svg>`;pe.innerHTML=x,De.appendChild(pe),ie.styleBoxes.push(De)}),ke},ue.prototype.setCurrentStyle=function(ie,ke){var Xe=this;this.currentStyle=ie,this.styleBoxes.forEach(function(De){De.style.borderColor=De===ke?Xe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ue}(be),_e=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.strokeColor=Xe.defaultColor,De.strokeWidth=Xe.defaultStrokeWidth,De.strokeDasharray=Xe.defaultStrokeDasharray,De.strokePanel=new le("Line color",Xe.defaultColorSet,Xe.defaultColor),De.strokePanel.onColorChanged=De.setStrokeColor,De.strokeWidthPanel=new Te("Line width",Xe.defaultStrokeWidths,Xe.defaultStrokeWidth),De.strokeWidthPanel.onWidthChanged=De.setStrokeWidth,De.strokeStylePanel=new Fe("Line style",Xe.defaultStrokeDasharrays,Xe.defaultStrokeDasharray),De.strokeStylePanel.onStyleChanged=De.setStrokeDasharray,De}return oe(ue,je),Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=ue.typeName,ie},ue.typeName="FrameMarker",ue.title="Frame marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ue}(ye),Oe=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Ke=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.x1=0,De.y1=0,De.x2=0,De.y2=0,De.defaultLength=50,De.manipulationStartX=0,De.manipulationStartY=0,De.manipulationStartX1=0,De.manipulationStartY1=0,De.manipulationStartX2=0,De.manipulationStartY2=0,De.setupControlBox(),De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return!!je.prototype.ownsTarget.call(this,ie)||!(!this.grip1.ownsTarget(ie)&&!this.grip2.ownsTarget(ie))},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.manipulationStartX=ie.x,this.manipulationStartY=ie.y,this.state==="new"&&(this.x1=ie.x,this.y1=ie.y,this.x2=ie.x,this.y2=ie.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(ke)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ke)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ue.prototype.pointerUp=function(ie){var ke=this.state;je.prototype.pointerUp.call(this,ie),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(ie),this._state="select",ke==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ue.prototype.adjustVisual=function(){},ue.prototype.manipulate=function(ie){this.state==="creating"?this.resize(ie):this.state==="move"?(this.x1=this.manipulationStartX1+ie.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ie.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ie.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ie.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ie)},ue.prototype.resize=function(ie){switch(this.activeGrip){case this.grip1:this.x1=ie.x,this.y1=ie.y;break;case this.grip2:case void 0:this.x2=ie.x,this.y2=ie.y}this.adjustVisual(),this.adjustControlBox()},ue.prototype.select=function(){je.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ue.prototype.deselect=function(){je.prototype.deselect.call(this),this.controlBox.style.display="none"},ue.prototype.setupControlBox=function(){this.controlBox=ve.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ue.prototype.adjustControlBox=function(){this.positionGrips()},ue.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ue.prototype.createGrip=function(){var ie=new Ie;return ie.visual.transform.baseVal.appendItem(ve.createTransform()),this.controlBox.appendChild(ie.visual),ie},ue.prototype.positionGrips=function(){var ie=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ie/2,this.y1-ie/2),this.positionGrip(this.grip2.visual,this.x2-ie/2,this.y2-ie/2)},ue.prototype.positionGrip=function(ie,ke,Xe){var De=ie.transform.baseVal.getItem(0);De.setTranslate(ke,Xe),ie.transform.baseVal.replaceItem(De,0)},ue.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},je.prototype.getState.call(this))},ue.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.x1=ke.x1,this.y1=ke.y1,this.x2=ke.x2,this.y2=ke.y2},ue.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.x1=this.x1*ie,this.y1=this.y1*ke,this.x2=this.x2*ie,this.y2=this.y2*ke,this.adjustVisual(),this.adjustControlBox()},ue}(Ee),We=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.strokeColor="transparent",De.strokeWidth=0,De.strokeDasharray="",De.setStrokeColor=De.setStrokeColor.bind(De),De.setStrokeWidth=De.setStrokeWidth.bind(De),De.setStrokeDasharray=De.setStrokeDasharray.bind(De),De.strokeColor=Xe.defaultColor,De.strokeWidth=Xe.defaultStrokeWidth,De.strokeDasharray=Xe.defaultStrokeDasharray,De.strokePanel=new le("Line color",Xe.defaultColorSet,Xe.defaultColor),De.strokePanel.onColorChanged=De.setStrokeColor,De.strokeWidthPanel=new Te("Line width",Xe.defaultStrokeWidths,Xe.defaultStrokeWidth),De.strokeWidthPanel.onWidthChanged=De.setStrokeWidth,De.strokeStylePanel=new Fe("Line style",Xe.defaultStrokeDasharrays,Xe.defaultStrokeDasharray),De.strokeStylePanel.onStyleChanged=De.setStrokeDasharray,De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.selectorLine&&ie!==this.visibleLine)},ue.prototype.createVisual=function(){this.visual=ve.createGroup(),this.selectorLine=ve.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ve.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ue.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),ve.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ve.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ve.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ue.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.adjustVisual(),this.colorChanged(ie)},ue.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.adjustVisual()},ue.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},je.prototype.getState.call(this));return ie.typeName=ue.typeName,ie},ue.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.createVisual(),this.adjustVisual()},ue.typeName="LineMarker",ue.title="Line marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ue}(Ke),Ne=function(je){function ue(ie,ke,Xe,De){var pe=je.call(this,ie,De||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return pe.fonts=[],pe.fontBoxes=[],pe.fonts=ke,pe.currentFont=Xe,pe.setCurrentFont=pe.setCurrentFont.bind(pe),pe}return oe(ue,je),ue.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.overflow="hidden",ke.style.flexGrow="2",this.fonts.forEach(function(Xe){var De=document.createElement("div");De.style.display="inline-block",De.style.alignItems="center",De.style.justifyContent="space-between",De.style.padding="5px",De.style.borderWidth="2px",De.style.borderStyle="solid",De.style.overflow="hidden",De.style.maxWidth=100/ie.fonts.length-5+"%",De.style.borderColor=Xe===ie.currentFont?ie.uiStyleSettings.toolboxAccentColor:"transparent",De.addEventListener("click",function(){ie.setCurrentFont(Xe,De)}),ke.appendChild(De);var pe=document.createElement("div");pe.style.display="flex",pe.style.minHeight="20px",pe.style.flexGrow="2",pe.style.fontFamily=Xe,pe.style.overflow="hidden";var x=document.createElement("div");x.style.whiteSpace="nowrap",x.style.overflow="hidden",x.style.textOverflow="ellipsis",x.innerHTML="The quick brown fox jumps over the lazy dog",pe.appendChild(x),De.appendChild(pe),ie.fontBoxes.push(De)}),ke},ue.prototype.setCurrentFont=function(ie,ke){var Xe=this;this.currentFont=ie,this.fontBoxes.forEach(function(De){De.style.borderColor=De===ke?Xe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ue}(be),Ye=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.color="transparent",De.padding=5,De.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",De.text=De.DEFAULT_TEXT,De.isMoved=!1,De.color=Xe.defaultColor,De.fontFamily=Xe.defaultFontFamily,De.defaultSize={x:100,y:30},De.setColor=De.setColor.bind(De),De.setFont=De.setFont.bind(De),De.renderText=De.renderText.bind(De),De.sizeText=De.sizeText.bind(De),De.textEditDivClicked=De.textEditDivClicked.bind(De),De.showTextEditor=De.showTextEditor.bind(De),De.setSize=De.setSize.bind(De),De.positionTextEditor=De.positionTextEditor.bind(De),De.colorPanel=new le("Color",Xe.defaultColorSet,Xe.defaultColor),De.colorPanel.onColorChanged=De.setColor,De.fontFamilyPanel=new Ne("Font",Xe.defaultFontFamilies,Xe.defaultFontFamily),De.fontFamilyPanel.onFontChanged=De.setFont,De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){if(je.prototype.ownsTarget.call(this,ie)||ie===this.visual||ie===this.textElement||ie===this.bgRectangle)return!0;var ke=!1;return this.textElement.childNodes.forEach(function(Xe){Xe===ie&&(ke=!0)}),ke},ue.prototype.createVisual=function(){this.visual=ve.createGroup(),this.bgRectangle=ve.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ve.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ve.createTransform()),this.textElement.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.isMoved=!1,this.pointerDownPoint=ie,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},ue.prototype.renderText=function(){var ie=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(ke){ie.textElement.appendChild(ve.createTSpan(ke.trim()===""?" ":ke.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ue.prototype.getTextScale=function(){var ie=this.textElement.getBBox(),ke=1;if(ie.width>0&&ie.height>0){var Xe=(1*this.width-this.width*this.padding*2/100)/ie.width,De=(1*this.height-this.height*this.padding*2/100)/ie.height;ke=Math.min(Xe,De)}return ke},ue.prototype.getTextPosition=function(ie){var ke=this.textElement.getBBox(),Xe=0,De=0;return ke.width>0&&ke.height>0&&(Xe=(this.width-ke.width*ie)/2,De=this.height/2-ke.height*ie/2),{x:Xe,y:De}},ue.prototype.sizeText=function(){var ie=this.textElement.getBBox(),ke=this.getTextScale(),Xe=this.getTextPosition(ke);Xe.y-=ie.y*ke,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+Xe.x+"px, "+Xe.y+"px) scale("+ke+", "+ke+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(Xe.x,Xe.y),this.textElement.transform.baseVal.getItem(1).setScale(ke,ke))},ue.prototype.manipulate=function(ie){je.prototype.manipulate.call(this,ie),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ie.x-this.pointerDownPoint.x)>5||Math.abs(ie.y-this.pointerDownPoint.y)>5)},ue.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.isMoved=!0,this.setSize(),this.sizeText()},ue.prototype.setSize=function(){je.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ue.prototype.pointerUp=function(ie){var ke=this.state;ke==="creating"&&(this._suppressMarkerCreateEvent=!0),je.prototype.pointerUp.call(this,ie),this.setSize(),(ke==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ue.prototype.showTextEditor=function(){var ie=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(ke){ke.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ke=Number.parseFloat(ie.textEditor.style.fontSize);ie.textEditor.clientWidth>=Number.parseInt(ie.textEditor.style.maxWidth)&&ke>.9;)ke-=.1,ie.textEditor.style.fontSize=Math.max(ke,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ke){ke.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ke){if(ke.clipboardData){var Xe=ke.clipboardData.getData("text"),De=window.getSelection();if(!De.rangeCount)return!1;De.deleteFromDocument(),De.getRangeAt(0).insertNode(document.createTextNode(Xe)),ke.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ie.textEditDivClicked(ie.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ue.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ie=this.getTextScale(),ke=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),Xe=this.textElement.getBBox(),De={x:Xe.width*ie,y:Xe.height*ie};ke.x-=De.x/2,ke.y-=De.y/2,this.textEditor.style.top=ke.y+"px",this.textEditor.style.left=ke.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ke.x+"px",this.textEditor.style.fontSize=Math.max(16*ie,12)+"px",this.textElement.style.display="none"}},ue.prototype.textEditDivClicked=function(ie){this.text=ie.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ue.prototype.select=function(){je.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ue.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),je.prototype.deselect.call(this)},ue.prototype.dblClick=function(ie,ke){je.prototype.dblClick.call(this,ie,ke),this.showTextEditor()},ue.prototype.setColor=function(ie){this.textElement&&ve.setAttributes(this.textElement,[["fill",ie]]),this.color=ie,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ie)},ue.prototype.setFont=function(ie){this.textElement&&ve.setAttributes(this.textElement,[["font-family",ie]]),this.fontFamily=ie,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ue.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ue.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},je.prototype.getState.call(this));return ie.typeName=ue.typeName,ie},ue.prototype.restoreState=function(ie){var ke=ie;this.color=ke.color,this.fontFamily=ke.fontFamily,this.padding=ke.padding,this.text=ke.text,this.createVisual(),je.prototype.restoreState.call(this,ie),this.setSize()},ue.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setSize(),this.sizeText(),this.positionTextEditor()},ue.typeName="TextMarker",ue.title="Text marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',ue}(Me),Je=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.color="transparent",De.lineWidth=3,De.drawing=!1,De.pixelRatio=1,De.color=Xe.defaultColor,De.lineWidth=Xe.defaultStrokeWidth,De.pixelRatio=Xe.freehandPixelRatio,De.setColor=De.setColor.bind(De),De.addCanvas=De.addCanvas.bind(De),De.finishCreation=De.finishCreation.bind(De),De.setLineWidth=De.setLineWidth.bind(De),De.colorPanel=new le("Color",Xe.defaultColorSet,Xe.defaultColor),De.colorPanel.onColorChanged=De.setColor,De.lineWidthPanel=new Te("Line width",Xe.defaultStrokeWidths,Xe.defaultStrokeWidth),De.lineWidthPanel.onWidthChanged=De.setLineWidth,De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.drawingImage)},ue.prototype.createVisual=function(){this.visual=ve.createGroup(),this.drawingImage=ve.createImage(),this.visual.appendChild(this.drawingImage);var ie=ve.createTransform();this.visual.transform.baseVal.appendItem(ie),this.addMarkerVisualToContainer(this.visual)},ue.prototype.pointerDown=function(ie,ke){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(ie.x,ie.y),this.drawing=!0):je.prototype.pointerDown.call(this,ie,ke)},ue.prototype.manipulate=function(ie){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ie.x,ie.y),this.canvasContext.stroke()):je.prototype.manipulate.call(this,ie)},ue.prototype.resize=function(ie){je.prototype.resize.call(this,ie),ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ue.prototype.pointerUp=function(ie){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):je.prototype.pointerUp.call(this,ie)},ue.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ue.prototype.select=function(){this.state==="creating"&&this.finishCreation(),je.prototype.select.call(this)},ue.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),je.prototype.deselect.call(this)},ue.prototype.finishCreation=function(){for(var ie=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ke=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],Xe=ke[0],De=ke[1],pe=ke[2],x=ke[3],me=!1,Le=0;Le<this.canvasElement.height;Le++)for(var Se=0;Se<this.canvasElement.width;Se++)ie.data[Le*this.canvasElement.width*4+4*Se+3]>0&&(me=!0,Le<De&&(De=Le),Se<Xe&&(Xe=Se),Le>x&&(x=Le),Se>pe&&(pe=Se));if(me){this.left=Xe/this.pixelRatio,this.top=De/this.pixelRatio,this.width=(pe-Xe)/this.pixelRatio,this.height=(x-De)/this.pixelRatio;var Be=document.createElement("canvas");Be.width=pe-Xe,Be.height=x-De,Be.getContext("2d").putImageData(this.canvasContext.getImageData(Xe,De,pe-Xe,x-De),0,0),this.drawingImgUrl=Be.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ue.prototype.setDrawingImage=function(){ve.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ue.prototype.setColor=function(ie){this.color=ie,this.colorChanged(ie)},ue.prototype.setLineWidth=function(ie){this.lineWidth=ie},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=Object.assign({drawingImgUrl:this.drawingImgUrl},je.prototype.getState.call(this));return ie.typeName=ue.typeName,ie},ue.prototype.restoreState=function(ie){this.createVisual(),je.prototype.restoreState.call(this,ie),this.drawingImgUrl=ie.drawingImgUrl,this.setDrawingImage()},ue.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setDrawingImage()},ue.typeName="FreehandMarker",ue.title="Freehand marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',ue}(Me),He=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,Xe||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return De.typeBoxes=[],De.currentType=ke,De.setCurrentType=De.setCurrentType.bind(De),De}return oe(ue,je),ue.prototype.getUi=function(){var ie=this,ke=document.createElement("div");ke.style.display="flex",ke.style.overflow="hidden",ke.style.flexGrow="2";for(var Xe=function(x){var me="both";switch(x){case 0:me="both";break;case 1:me="start";break;case 2:me="end";break;case 3:me="none"}var Le=document.createElement("div");if(Le.style.display="flex",Le.style.flexGrow="2",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=me===De.currentType?De.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){ie.setCurrentType(me,Le)}),ke.appendChild(Le),me==="both"||me==="start"){var Se=document.createElement("div");Se.style.display="flex",Se.style.alignItems="center",Se.style.minHeight="20px",Se.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(De.uiStyleSettings!==void 0?De.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Se.style.marginLeft="5px",Le.appendChild(Se)}var Be=document.createElement("div");Be.style.display="flex",Be.style.alignItems="center",Be.style.minHeight="20px",Be.style.flexGrow="2";var Qe=document.createElement("hr");if(Qe.style.minWidth="20px",Qe.style.border="0px",Qe.style.borderTop="3px solid "+(De.uiStyleSettings!==void 0?De.uiStyleSettings.toolboxColor:"#eeeeee"),Qe.style.flexGrow="2",Be.appendChild(Qe),Le.appendChild(Be),me==="both"||me==="end"){var it=document.createElement("div");it.style.display="flex",it.style.alignItems="center",it.style.minHeight="20px",it.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(De.uiStyleSettings!==void 0?De.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,it.style.marginRight="5px",Le.appendChild(it)}De.typeBoxes.push(Le)},De=this,pe=0;pe<4;pe++)Xe(pe);return ke},ue.prototype.setCurrentType=function(ie,ke){var Xe=this;this.currentType=ie,this.typeBoxes.forEach(function(De){De.style.borderColor=De===ke?Xe.uiStyleSettings!==void 0?Xe.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ue}(be),lt=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.arrowType="end",De.arrowBaseHeight=10,De.arrowBaseWidth=10,De.getArrowPoints=De.getArrowPoints.bind(De),De.setArrowType=De.setArrowType.bind(De),De.arrowTypePanel=new He("Arrow type","end"),De.arrowTypePanel.onArrowTypeChanged=De.setArrowType,De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.arrow1&&ie!==this.arrow2)},ue.prototype.getArrowPoints=function(ie,ke){var Xe=this.arrowBaseWidth+2*this.strokeWidth,De=this.arrowBaseHeight+2*this.strokeWidth;return ie-Xe/2+","+(ke+De/2)+" "+ie+","+(ke-De/2)+" "+(ie+Xe/2)+","+(ke+De/2)},ue.prototype.createTips=function(){this.arrow1=ve.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ve.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.arrow2)},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="creating"&&this.createTips()},ue.prototype.adjustVisual=function(){if(je.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",ve.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ve.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ie=0;Math.abs(this.x1-this.x2)>.1&&(ie=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ke=this.arrow1.transform.baseVal.getItem(0);ke.setRotate(ie,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ke,0);var Xe=this.arrow2.transform.baseVal.getItem(0);Xe.setRotate(ie+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(Xe,0)}},ue.prototype.setArrowType=function(ie){this.arrowType=ie,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=Object.assign({arrowType:this.arrowType},je.prototype.getState.call(this));return ie.typeName=ue.typeName,ie},ue.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.arrowType=ke.arrowType,this.createTips(),this.adjustVisual()},ue.typeName="ArrowMarker",ue.title="Arrow marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ue}(We),ft=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.fillColor=Xe.defaultFillColor,De.strokeWidth=0,De.fillPanel=new le("Color",Xe.defaultColorSet,Xe.defaultFillColor),De.fillPanel.onColorChanged=De.setFillColor,De}return oe(ue,je),Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=ue.typeName,ie},ue.typeName="CoverMarker",ue.title="Cover marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ue}(ye),tt=function(je){function ue(ie,ke,Xe,De){var pe=je.call(this,ie,De||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return pe.opacities=[],pe.opacityBoxes=[],pe.opacities=ke,pe.currentOpacity=Xe,pe.setCurrentOpacity=pe.setCurrentOpacity.bind(pe),pe}return oe(ue,je),ue.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.display="flex",ke.style.overflow="hidden",ke.style.flexGrow="2",ke.style.justifyContent="space-between",this.opacities.forEach(function(Xe){var De=document.createElement("div");De.style.display="flex",De.style.alignItems="center",De.style.justifyContent="center",De.style.padding="5px",De.style.borderWidth="2px",De.style.borderStyle="solid",De.style.borderColor=Xe===ie.currentOpacity?ie.uiStyleSettings.toolboxAccentColor:"transparent",De.addEventListener("click",function(){ie.setCurrentOpacity(Xe,De)}),ke.appendChild(De);var pe=document.createElement("div");pe.innerText=100*Xe+"%",De.appendChild(pe),ie.opacityBoxes.push(De)}),ke},ue.prototype.setCurrentOpacity=function(ie,ke){var Xe=this;this.currentOpacity=ie,this.opacityBoxes.forEach(function(De){De.style.borderColor=De===ke?Xe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ue}(be),Ot=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.setOpacity=De.setOpacity.bind(De),De.fillColor=Xe.defaultHighlightColor,De.strokeWidth=0,De.opacity=Xe.defaultHighlightOpacity,De.fillPanel=new le("Color",Xe.defaultColorSet,De.fillColor),De.fillPanel.onColorChanged=De.setFillColor,De.opacityPanel=new tt("Opacity",Xe.defaultOpacitySteps,De.opacity),De.opacityPanel.onOpacityChanged=De.setOpacity,De}return oe(ue,je),ue.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&ve.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=ue.typeName,ie},ue.typeName="HighlightMarker",ue.title="Highlight marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',ue}(ft),nt='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',Ze='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',Ge=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.bgColor="transparent",De.tipPosition={x:0,y:0},De.tipBase1Position={x:0,y:0},De.tipBase2Position={x:0,y:0},De.tipMoving=!1,De.color=Xe.defaultStrokeColor,De.bgColor=Xe.defaultFillColor,De.fontFamily=Xe.defaultFontFamily,De.defaultSize={x:100,y:30},De.setBgColor=De.setBgColor.bind(De),De.getTipPoints=De.getTipPoints.bind(De),De.positionTip=De.positionTip.bind(De),De.setTipPoints=De.setTipPoints.bind(De),De.colorPanel=new le("Text color",Xe.defaultColorSet,De.color,nt),De.colorPanel.onColorChanged=De.setColor,De.bgColorPanel=new le("Fill color",Xe.defaultColorSet,De.bgColor,Ze),De.bgColorPanel.onColorChanged=De.setBgColor,De.fontFamilyPanel=new Ne("Font",Xe.defaultFontFamilies,Xe.defaultFontFamily),De.fontFamilyPanel.onFontChanged=De.setFont,De.tipGrip=new Ie,De.tipGrip.visual.transform.baseVal.appendItem(ve.createTransform()),De.controlBox.appendChild(De.tipGrip.visual),De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return je.prototype.ownsTarget.call(this,ie)||this.tipGrip.ownsTarget(ie)||this.tip===ie},ue.prototype.createTip=function(){ve.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ve.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ue.prototype.pointerDown=function(ie,ke){this.state==="new"&&je.prototype.pointerDown.call(this,ie,ke),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ke)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):je.prototype.pointerDown.call(this,ie,ke)},ue.prototype.pointerUp=function(ie){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,je.prototype.pointerUp.call(this,ie);else{var ke=this.state==="creating";je.prototype.pointerUp.call(this,ie),this.setTipPoints(ke),this.positionTip()}},ue.prototype.manipulate=function(ie){if(this.tipMoving){var ke=this.unrotatePoint(ie);this.tipPosition={x:ke.x-this.manipulationStartLeft,y:ke.y-this.manipulationStartTop},this.positionTip()}else je.prototype.manipulate.call(this,ie)},ue.prototype.setBgColor=function(ie){this.bgRectangle&&this.tip&&(ve.setAttributes(this.bgRectangle,[["fill",ie]]),ve.setAttributes(this.tip,[["fill",ie]])),this.bgColor=ie,this.fillColorChanged(ie)},ue.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ue.prototype.setTipPoints=function(ie){ie===void 0&&(ie=!1);var ke=Math.min(this.height/2,15),Xe=this.height/5;ie&&(this.tipPosition={x:ke+Xe/2,y:this.height+20});var De=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?De<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(Xe=this.width/5,ke=Math.min(this.width/2,15),this.tipBase1Position={x:ke,y:0},this.tipBase2Position={x:ke+Xe,y:0}):(this.tipBase1Position={x:0,y:ke},this.tipBase2Position={x:0,y:ke+Xe}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?De<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(Xe=this.width/5,ke=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ke-Xe,y:0},this.tipBase2Position={x:this.width-ke,y:0}):(this.tipBase1Position={x:this.width,y:ke},this.tipBase2Position={x:this.width,y:ke+Xe}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?De<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(Xe=this.width/5,ke=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ke-Xe,y:this.height},this.tipBase2Position={x:this.width-ke,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ke-Xe},this.tipBase2Position={x:this.width,y:this.height-ke}):De<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(Xe=this.width/5,ke=Math.min(this.width/2,15),this.tipBase1Position={x:ke,y:this.height},this.tipBase2Position={x:ke+Xe,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ke},this.tipBase2Position={x:0,y:this.height-ke-Xe})},ue.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.positionTip()},ue.prototype.positionTip=function(){ve.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ie=this.tipGrip.visual.transform.baseVal.getItem(0);ie.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ie,0)},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ue.prototype.select=function(){this.positionTip(),je.prototype.select.call(this)},ue.prototype.getState=function(){var ie=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},je.prototype.getState.call(this));return ie.typeName=ue.typeName,ie},ue.prototype.restoreState=function(ie){var ke=ie;this.bgColor=ke.bgColor,this.tipPosition=ke.tipPosition,je.prototype.restoreState.call(this,ie),this.createTip(),this.setTipPoints()},ue.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.tipPosition={x:this.tipPosition.x*ie,y:this.tipPosition.y*ke},this.positionTip()},ue.typeName="CalloutMarker",ue.title="Callout marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',ue}(Ye),$e=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.fillColor="transparent",De.strokeColor="transparent",De.strokeWidth=0,De.strokeDasharray="",De.opacity=1,De.strokeColor=Xe.defaultColor,De.strokeWidth=Xe.defaultStrokeWidth,De.strokeDasharray=Xe.defaultStrokeDasharray,De.fillColor=Xe.defaultFillColor,De.setStrokeColor=De.setStrokeColor.bind(De),De.setFillColor=De.setFillColor.bind(De),De.setStrokeWidth=De.setStrokeWidth.bind(De),De.setStrokeDasharray=De.setStrokeDasharray.bind(De),De.setOpacity=De.setOpacity.bind(De),De.createVisual=De.createVisual.bind(De),De.strokePanel=new le("Line color",de(Xe.defaultColorSet,["transparent"]),Xe.defaultColor),De.strokePanel.onColorChanged=De.setStrokeColor,De.fillPanel=new le("Fill color",de(Xe.defaultColorSet,["transparent"]),De.fillColor,Ze),De.fillPanel.onColorChanged=De.setFillColor,De.strokeWidthPanel=new Te("Line width",Xe.defaultStrokeWidths,Xe.defaultStrokeWidth),De.strokeWidthPanel.onWidthChanged=De.setStrokeWidth,De.strokeStylePanel=new Fe("Line style",Xe.defaultStrokeDasharrays,Xe.defaultStrokeDasharray),De.strokeStylePanel.onStyleChanged=De.setStrokeDasharray,De.opacityPanel=new tt("Opacity",Xe.defaultOpacitySteps,De.opacity),De.opacityPanel.onOpacityChanged=De.setOpacity,De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},ue.prototype.createVisual=function(){this.visual=ve.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},ue.prototype.manipulate=function(ie){je.prototype.manipulate.call(this,ie)},ue.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.setSize()},ue.prototype.setSize=function(){je.prototype.setSize.call(this),ve.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ue.prototype.pointerUp=function(ie){je.prototype.pointerUp.call(this,ie),this.setSize()},ue.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.visual&&ve.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ue.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&ve.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},ue.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&ve.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ue.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&ve.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ue.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&ve.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},je.prototype.getState.call(this));return ie.typeName=ue.typeName,ie},ue.prototype.restoreState=function(ie){var ke=ie;this.fillColor=ke.fillColor,this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.opacity=ke.opacity,this.createVisual(),je.prototype.restoreState.call(this,ie),this.setSize()},ue.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setSize()},ue.typeName="EllipseMarker",ue.title="Ellipse marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ue}(Me),qe=function(je){function ue(ie,ke,Xe){return je.call(this,ie,ke,Xe)||this}return oe(ue,je),Object.defineProperty(ue.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ue.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.tip1&&ie!==this.tip2)},ue.prototype.createTips=function(){this.tip1=ve.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ve.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.tip2)},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="creating"&&this.createTips()},ue.prototype.adjustVisual=function(){if(je.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ve.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),ve.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var ie=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ke=this.tip1.transform.baseVal.getItem(0);ke.setRotate(ie,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ke,0);var Xe=this.tip2.transform.baseVal.getItem(0);Xe.setRotate(ie+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(Xe,0)}},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=ue.typeName,ie},ue.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie),this.createTips(),this.adjustVisual()},ue.typeName="MeasurementMarker",ue.title="Measurement marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',ue}(We),Ve=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.strokePanel.colors=Xe.defaultColorSet,De.fillColor="transparent",De}return oe(ue,je),Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=ue.typeName,ie},ue.typeName="EllipseFrameMarker",ue.title="Ellipse frame marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ue}($e),mt=function(){function je(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(je.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),je.prototype.addUndoStep=function(ue){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ue)||(this.undoStack.push(ue),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ue)&&this.redoStack.splice(0,this.redoStack.length))},je.prototype.replaceLastUndoStep=function(ue){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ue)},je.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},je.prototype.undo=function(){if(this.undoStack.length>1){var ue=this.undoStack.pop();return ue!==void 0&&this.redoStack.push(ue),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},je.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},je}(),st=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.strokeColor="transparent",De.strokeWidth=0,De.strokeDasharray="",De.curveX=0,De.curveY=0,De.manipulationStartCurveX=0,De.manipulationStartCurveY=0,De.setStrokeColor=De.setStrokeColor.bind(De),De.setStrokeWidth=De.setStrokeWidth.bind(De),De.setStrokeDasharray=De.setStrokeDasharray.bind(De),De.positionGrips=De.positionGrips.bind(De),De.addControlGrips=De.addControlGrips.bind(De),De.adjustVisual=De.adjustVisual.bind(De),De.setupControlBox=De.setupControlBox.bind(De),De.resize=De.resize.bind(De),De.strokeColor=Xe.defaultColor,De.strokeWidth=Xe.defaultStrokeWidth,De.strokeDasharray=Xe.defaultStrokeDasharray,De.strokePanel=new le("Line color",Xe.defaultColorSet,Xe.defaultColor),De.strokePanel.onColorChanged=De.setStrokeColor,De.strokeWidthPanel=new Te("Line width",Xe.defaultStrokeWidths,Xe.defaultStrokeWidth),De.strokeWidthPanel.onWidthChanged=De.setStrokeWidth,De.strokeStylePanel=new Fe("Line style",Xe.defaultStrokeDasharrays,Xe.defaultStrokeDasharray),De.strokeStylePanel.onStyleChanged=De.setStrokeDasharray,De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.selectorCurve&&ie!==this.visibleCurve&&!this.curveGrip.ownsTarget(ie))},ue.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ue.prototype.createVisual=function(){this.visual=ve.createGroup(),this.selectorCurve=ve.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ve.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ie.x,this.curveY=ie.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ke)&&(this.activeGrip=this.curveGrip,this._state="resize")},ue.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ve.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ve.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ve.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ue.prototype.setupControlBox=function(){je.prototype.setupControlBox.call(this),this.curveControlLine1=ve.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ve.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ue.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,je.prototype.addControlGrips.call(this)},ue.prototype.positionGrips=function(){je.prototype.positionGrips.call(this);var ie=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ie/2,this.curveY-ie/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ue.prototype.manipulate=function(ie){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ie.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ie.y-this.manipulationStartY),je.prototype.manipulate.call(this,ie)},ue.prototype.resize=function(ie){this.activeGrip===this.curveGrip&&(this.curveX=ie.x,this.curveY=ie.y),je.prototype.resize.call(this,ie),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ue.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.adjustVisual(),this.colorChanged(ie)},ue.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.adjustVisual()},ue.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.adjustVisual()},ue.prototype.scale=function(ie,ke){this.curveX=this.curveX*ie,this.curveY=this.curveY*ke,je.prototype.scale.call(this,ie,ke)},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},je.prototype.getState.call(this));return ie.typeName=ue.typeName,ie},ue.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.curveX=ke.curveX,this.curveY=ke.curveY,this.createVisual(),this.adjustVisual()},ue.typeName="CurveMarker",ue.title="Curve marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',ue}(Ke),Lt=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,ke,Xe)||this;return De.fillColor="transparent",De.strokeColor="transparent",De.strokeWidth=0,De.strokeDasharray="",De.textColor="transparent",De.fontSize="1rem",De.isMoved=!1,De.captionText="Caption",De.PADDING=5,De.captionBoxWidth=0,De.captionBoxHeight=0,De.strokeColor=Xe.defaultColor,De.strokeWidth=Xe.defaultStrokeWidth,De.strokeDasharray=Xe.defaultStrokeDasharray,De.fillColor=Xe.defaultFillColor,De.textColor=Xe.defaultStrokeColor,De.fontFamily=Xe.defaultFontFamily,De.fontSize=Xe.defaultCaptionFontSize,De.captionText=Xe.defaultCaptionText,De.setStrokeColor=De.setStrokeColor.bind(De),De.setFillColor=De.setFillColor.bind(De),De.setStrokeWidth=De.setStrokeWidth.bind(De),De.setStrokeDasharray=De.setStrokeDasharray.bind(De),De.createVisual=De.createVisual.bind(De),De.sizeCaption=De.sizeCaption.bind(De),De.setCaptionText=De.setCaptionText.bind(De),De.showTextEditor=De.showTextEditor.bind(De),De.positionTextEditor=De.positionTextEditor.bind(De),De.finishTextEditing=De.finishTextEditing.bind(De),De.setFont=De.setFont.bind(De),De.setTextColor=De.setTextColor.bind(De),De.strokePanel=new le("Line color",de(Xe.defaultColorSet,["transparent"]),De.strokeColor),De.strokePanel.onColorChanged=De.setStrokeColor,De.fillPanel=new le("Fill color",de(Xe.defaultColorSet,["transparent"]),De.fillColor,Ze),De.fillPanel.onColorChanged=De.setFillColor,De.strokeWidthPanel=new Te("Line width",Xe.defaultStrokeWidths,Xe.defaultStrokeWidth),De.strokeWidthPanel.onWidthChanged=De.setStrokeWidth,De.strokeStylePanel=new Fe("Line style",Xe.defaultStrokeDasharrays,Xe.defaultStrokeDasharray),De.strokeStylePanel.onStyleChanged=De.setStrokeDasharray,De.fontFamilyPanel=new Ne("Font",Xe.defaultFontFamilies,Xe.defaultFontFamily),De.fontFamilyPanel.onFontChanged=De.setFont,De.textColorPanel=new le("Text color",Xe.defaultColorSet,De.textColor,nt),De.textColorPanel.onColorChanged=De.setTextColor,De}return oe(ue,je),ue.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.frame&&ie!==this.captionBg&&ie!==this.captionElement)},ue.prototype.createVisual=function(){this.visual=ve.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ve.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ve.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=ve.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ue.prototype.setCaptionText=function(ie){this.captionText=ie,this.captionElement.textContent=this.captionText,this.sizeCaption()},ue.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.isMoved=!1,this.pointerDownPoint=ie,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},ue.prototype.manipulate=function(ie){je.prototype.manipulate.call(this,ie),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ie.x-this.pointerDownPoint.x)>5||Math.abs(ie.y-this.pointerDownPoint.y)>5)},ue.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.setSize()},ue.prototype.sizeCaption=function(){var ie=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ie.width+2*this.PADDING,this.captionBoxHeight=ie.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ve.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),ve.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ue.prototype.showTextEditor=function(){var ie=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(ke){ke.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ke){ke.key==="Enter"&&ie.finishTextEditing(ie.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ke){ke.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ie.finishTextEditing(ie.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ie.finishTextEditing(ie.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ue.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ue.prototype.finishTextEditing=function(ie){this.setCaptionText(ie.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ue.prototype.setFont=function(ie){this.captionElement&&ve.setAttributes(this.captionElement,[["font-family",ie]]),this.fontFamily=ie,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ue.prototype.setTextColor=function(ie){this.captionElement&&ve.setAttributes(this.captionElement,[["fill",ie]]),this.textColor=ie,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ue.prototype.setSize=function(){je.prototype.setSize.call(this),ve.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ue.prototype.pointerUp=function(ie){je.prototype.pointerUp.call(this,ie),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ue.prototype.dblClick=function(ie,ke){je.prototype.dblClick.call(this,ie,ke),this.showTextEditor()},ue.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.frame&&ve.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ue.prototype.setFillColor=function(ie){this.fillColor=ie,this.captionBg&&ve.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},ue.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.frame&&ve.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ue.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.frame&&ve.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var ie=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},je.prototype.getState.call(this));return ie.typeName=this.typeName,ie},ue.prototype.restoreState=function(ie){var ke=ie;this.fillColor=ke.fillColor,this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.textColor=ke.textColor,this.fontFamily=ke.fontFamily,this.captionText=ke.captionText,this.fontSize=ke.fontSize,this.createVisual(),je.prototype.restoreState.call(this,ie),this.setSize()},ue.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setSize()},ue.typeName="CaptionFrameMarker",ue.title="Caption frame marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',ue}(Me),ct=function(){function je(ue,ie){ie===void 0&&(ie=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ue,this.cancelable=ie}return Object.defineProperty(je.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),je.prototype.preventDefault=function(){this._defaultPrevented=!0},je}(),Tt=function(je){function ue(ie,ke,Xe){var De=je.call(this,ie,!1)||this;return De.dataUrl=ke,De.state=Xe,De}return oe(ue,je),ue}(ct),xt=function(je){function ue(ie,ke,Xe){Xe===void 0&&(Xe=!1);var De=je.call(this,ie,Xe)||this;return De.marker=ke,De}return oe(ue,je),ue}(ct),wt=function(){function je(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return je.prototype.addEventListener=function(ue,ie){this[ue].push(ie)},je.prototype.removeEventListener=function(ue,ie){var ke=this[ue].indexOf(ie);ke>-1&&this[ue].splice(ke,1)},je}(),yt=function(){function je(ue){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Oe,this._isOpen=!1,this.undoRedoManager=new mt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new wt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=je.instanceCounter++,this.styles=new E(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ue,this.targetRoot=document.body,this.width=ue.clientWidth,this.height=ue.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(je.prototype,"ALL_MARKER_TYPES",{get:function(){return[_e,Je,lt,Ye,Ve,$e,Ot,Ge,qe,ft,We,st,Lt]},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[_e,Je,lt,Ye,$e,Ot,Ge]},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"BASIC_MARKER_TYPES",{get:function(){return[_e,Je,lt,Ye,Ot]},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ue){var ie=this;this._availableMarkerTypes.splice(0),ue.forEach(function(ke){if(typeof ke=="string"){var Xe=ie.ALL_MARKER_TYPES.find(function(De){return De.typeName===ke});Xe!==void 0&&ie._availableMarkerTypes.push(Xe)}else ie._availableMarkerTypes.push(ke)})},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ue){this._zoomLevel=ue,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),je.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),re.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},je.prototype.show=function(){var ue=this;this.styles.styleSheetRoot===void 0&&fe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=fe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ie){return ie(new ct(ue))})},je.prototype.render=function(){return we(this,void 0,void 0,function(){var ue;return Ae(this,function(ie){switch(ie.label){case 0:return this.setCurrentMarker(),(ue=new se).naturalSize=this.renderAtNaturalSize,ue.imageType=this.renderImageType,ue.imageQuality=this.renderImageQuality,ue.markersOnly=this.renderMarkersOnly,ue.width=this.renderWidth,ue.height=this.renderHeight,[4,ue.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ie.sent(),[4,ue.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ie.sent()]}})})},je.prototype.close=function(ue){var ie=this;if(ue===void 0&&(ue=!1),this.isOpen){var ke=!1;ue||this.eventListeners.beforeclose.forEach(function(Xe){var De=new ct(ie,!0);Xe(De),De.defaultPrevented&&(ke=!0)}),ke||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(Xe){return Xe(new ct(ie))}),this.detachEvents(),this._isOpen=!1)}},je.prototype.addMarkersToToolbar=function(){for(var ue,ie=[],ke=0;ke<arguments.length;ke++)ie[ke]=arguments[ke];(ue=this._availableMarkerTypes).push.apply(ue,ie)},je.prototype.addRenderEventListener=function(ue){this.addEventListener("render",function(ie){ue(ie.dataUrl,ie.state)})},je.prototype.removeRenderEventListener=function(ue){},je.prototype.addCloseEventListener=function(ue){this.addEventListener("close",function(){ue()})},je.prototype.removeCloseEventListener=function(ue){},je.prototype.setupResizeObserver=function(){var ue=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ue.resize(ue.target.clientWidth,ue.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ue.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},je.prototype.onPopupTargetResize=function(){var ue=1*this.target.clientWidth/this.target.clientHeight,ie=this.editorCanvas.clientWidth/ue>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ue:this.editorCanvas.clientWidth,ke=ie<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ue;this.resize(ie,ke)},je.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},je.prototype.resize=function(ue,ie){this._isResizing=!0;var ke=ue/this.imageWidth,Xe=ie/this.imageHeight;this.imageWidth=Math.round(ue),this.imageHeight=Math.round(ie),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(ke,Xe),this._isResizing=!1},je.prototype.scaleMarkers=function(ue,ie){var ke,Xe=this;this._currentMarker&&this._currentMarker instanceof Ye?this._currentMarker.scale(ue,ie):(ke=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(De){De!==Xe._currentMarker&&De.scale(ue,ie)}),ke!==void 0&&this.setCurrentMarker(ke)},je.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},je.prototype.setTopLeft=function(){var ue=this.editingTarget.getBoundingClientRect(),ie=this.editorCanvas.getBoundingClientRect();this.left=ue.left-ie.left,this.top=ue.top-ie.top},je.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},je.prototype.addDefs=function(){for(var ue,ie=[],ke=0;ke<arguments.length;ke++)ie[ke]=arguments[ke];this.defs=ve.createDefs(),this.addDefsToImage(),(ue=this.defs).append.apply(ue,ie)},je.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},je.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},je.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},je.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},je.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},je.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},je.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},je.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var ue=document.createElement("a");ue.href="https://markerjs.com/",ue.target="_blank",ue.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',ue.title="Powered by marker.js",ue.style.display="grid",ue.style.alignItems="center",ue.style.justifyItems="center",ue.style.padding="3px",ue.style.width="20px",ue.style.height="20px",this.logoUI.appendChild(ue),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},je.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},je.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},je.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},je.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ue=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ue+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new ge(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new Ce(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},je.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},je.prototype.removeMarker=function(ue){this.markerImage.removeChild(ue.container),this.markers.indexOf(ue)>-1&&this.markers.splice(this.markers.indexOf(ue),1),ue.dispose()},je.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},je.prototype.toolbarButtonClicked=function(ue,ie){if(ue==="marker"&&ie!==void 0)this.createNewMarker(ie);else if(ue==="action")switch(ie){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},je.prototype.deleteSelectedMarker=function(){var ue=this;if(this._currentMarker!==void 0){var ie=!1;if(this.eventListeners.markerbeforedelete.forEach(function(Xe){var De=new xt(ue,ue._currentMarker,!0);Xe(De),De.defaultPrevented&&(ie=!0)}),!ie){var ke=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(Xe){return Xe(new xt(ue,ke))})}}},je.prototype.clear=function(){var ue=this,ie=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(pe){var x=new xt(ue,void 0,!0);pe(x),x.defaultPrevented&&(ie=!0)}),!ie)){this.setCurrentMarker();for(var ke=function(pe){var x=Xe.markers[pe];Xe.setCurrentMarker(Xe.markers[pe]),Xe._currentMarker.dispose(),Xe.markerImage.removeChild(Xe._currentMarker.container),Xe.markers.splice(Xe.markers.indexOf(Xe._currentMarker),1),Xe.eventListeners.markerdelete.forEach(function(me){return me(new xt(ue,x))})},Xe=this,De=this.markers.length-1;De>=0;De--)ke(De);this.addUndoStep()}},Object.defineProperty(je.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),je.prototype.showNotesEditor=function(){var ue;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ue=this._currentMarker.notes)!==null&&ue!==void 0?ue:"",this.overlayContainer.appendChild(this.notesArea))},je.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},je.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},je.prototype.addUndoStep=function(){var ue=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ie=this.getState(),ke=this.undoRedoManager.getLastUndoStep();if(!ke||ke.width===ie.width&&ke.height===ie.height){var Xe=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ie),Xe<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(De){return De(new ct(ue))})}else this.undoRedoManager.replaceLastUndoStep(ie),this.eventListeners.statechange.forEach(function(De){return De(new ct(ue))})}},je.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},je.prototype.undoStep=function(){var ue=this,ie=this.undoRedoManager.undo();ie!==void 0&&(this.restoreState(ie),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ke){return ke(new ct(ue))}))},je.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},je.prototype.redoStep=function(){var ue=this,ie=this.undoRedoManager.redo();ie!==void 0&&(this.restoreState(ie),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ke){return ke(new ct(ue))}))},je.prototype.stepZoom=function(){var ue=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ue<this.zoomSteps.length-1?this.zoomSteps[ue+1]:this.zoomSteps[0]},je.prototype.panTo=function(ue){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ue.x,top:this.prevPanPoint.y-ue.y}),this.prevPanPoint=ue},je.prototype.startRenderAndClose=function(){return we(this,void 0,void 0,function(){var ue,ie,ke=this;return Ae(this,function(Xe){switch(Xe.label){case 0:return[4,this.render()];case 1:return ue=Xe.sent(),ie=this.getState(),this.eventListeners.render.forEach(function(De){return De(new Tt(ke,ue,ie))}),this.close(!0),[2]}})})},je.prototype.getState=function(ue){ue===!0&&this.setCurrentMarker();var ie={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ke){return ie.markers.push(ke.getState())}),ie},je.prototype.restoreState=function(ue){var ie=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ue.markers.forEach(function(ke){var Xe=ie._availableMarkerTypes.find(function(pe){return pe.typeName===ke.typeName});if(Xe!==void 0){var De=ie.addNewMarker(Xe);De.restoreState(ke),ie.markers.push(De)}}),ue.width&&ue.height&&(ue.width!==this.imageWidth||ue.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ue.width,this.imageHeight/ue.height),this.eventListeners.restorestate.forEach(function(ke){return ke(new ct(ie))})},je.prototype.addNewMarker=function(ue){var ie=ve.createGroup();return this.markerImage.appendChild(ie),new ue(ie,this.overlayContainer,this.settings)},je.prototype.createNewMarker=function(ue){var ie,ke=this;(ie=typeof ue=="string"?this._availableMarkerTypes.find(function(Xe){return Xe.typeName===ue}):ue)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ie),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(ie.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(Xe){return Xe(new xt(ke,ke._currentMarker))}))},je.prototype.markerCreated=function(ue){var ie=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ue),this.setCurrentMarker(ue),ue instanceof Je&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Je):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ke){return ke(new xt(ie,ie._currentMarker))})},je.prototype.colorChanged=function(ue){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ue,this.settings.defaultStrokeColor=ue)},je.prototype.fillColorChanged=function(ue){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ue)},je.prototype.markerStateChanged=function(ue){var ie=this;this.eventListeners.markerchange.forEach(function(ke){return ke(new xt(ie,ue))})},je.prototype.setCurrentMarker=function(ue){var ie=this;this._currentMarker!==ue&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ke){return ke(new xt(ie,ie._currentMarker))})),this._currentMarker=ue,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(ke){return ke(new xt(ie,ie._currentMarker))}))},je.prototype.onPointerDown=function(ue){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ue.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ie=this.markers.find(function(ke){return ke.ownsTarget(ue.target)});ie!==void 0?(this.setCurrentMarker(ie),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ue.clientX,ue.clientY),ue.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ue.clientX,y:ue.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ue.clientX,ue.clientY))},je.prototype.onDblClick=function(ue){if(this._isFocused||this.focus(),this.mode==="select"){var ie=this.markers.find(function(ke){return ke.ownsTarget(ue.target)});ie!==void 0&&ie!==this._currentMarker&&this.setCurrentMarker(ie),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ue.clientX,ue.clientY),ue.target):this.setCurrentMarker()}},je.prototype.onPointerMove=function(ue){this.touchPoints!==1&&ue.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ue.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ue.clientX,ue.clientY)):this.zoomLevel>1&&this.panTo({x:ue.clientX,y:ue.clientY}))},je.prototype.onPointerUp=function(ue){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ue.clientX,ue.clientY)),this.isDragging=!1,this.addUndoStep()},je.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},je.prototype.onKeyUp=function(ue){this._currentMarker===void 0||this.notesArea!==void 0||ue.key!=="Delete"&&ue.key!=="Backspace"||this.deleteSelectedMarker()},je.prototype.clientToLocalCoordinates=function(ue,ie){var ke=this.markerImage.getBoundingClientRect();return{x:(ue-ke.left)/this.zoomLevel,y:(ie-ke.top)/this.zoomLevel}},je.prototype.onWindowResize=function(){this.positionUI()},je.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ue=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ue+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},je.prototype.addLicenseKey=function(ue){re.addKey(ue)},je.prototype.addEventListener=function(ue,ie){this.eventListeners.addEventListener(ue,ie)},je.prototype.removeEventListener=function(ue,ie){this.eventListeners.removeEventListener(ue,ie)},je.prototype.renderState=function(ue){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ue),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(je.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),je.prototype.focus=function(){var ue=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ie){return ie(new ct(ue))}))},je.prototype.blur=function(){var ue=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ie){return ie(new ct(ue))}))},je.instanceCounter=0,je}()},6551:function(_n,pn,ae){"use strict";ae.d(pn,{ZP:function(){return re}});var b=ae(72190),oe=ae(59301),we=ae(47273),Ae=0,de=(0,we.Z)();function ve(){var se;return de?(se=Ae,Ae+=1):se="TEST_OR_SSR",se}function re(se){var fe=oe.useState(),E=(0,b.Z)(fe,2),te=E[0],ne=E[1];return oe.useEffect(function(){ne("rc_select_".concat(ve()))},[]),se||te}},37463:function(_n,pn,ae){"use strict";ae.d(pn,{Ac:function(){return Bt},Xo:function(){return $t},Wx:function(){return jt},ZP:function(){return wr},lk:function(){return Re}});var b=ae(60499),oe=ae(77654),we=ae(18642),Ae=ae(85899),de=ae(72190),ve=ae(42244),re=ae(43749),se=ae(18929),fe=ae(48736),E=ae(59301),te=ae(92310),ne=ae.n(te),ge=ae(34280),Ce=ae(49658),be=ae(8654),le=function(It){var Dt=It.className,Vt=It.customizeIcon,Nt=It.customizeIconProps,Kt=It.children,ut=It.onMouseDown,Qt=It.onClick,on=typeof Vt=="function"?Vt(Nt):Vt;return E.createElement("span",{className:Dt,onMouseDown:function(Xt){Xt.preventDefault(),ut==null||ut(Xt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Qt,"aria-hidden":!0},on!==void 0?on:E.createElement("span",{className:ne()(Dt.split(/\s+/).map(function(an){return"".concat(an,"-icon")}))},Kt))},Ee=le,Pe=function(It,Dt,Vt,Nt,Kt){var ut=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Qt=arguments.length>6?arguments[6]:void 0,on=arguments.length>7?arguments[7]:void 0,an=E.useMemo(function(){if((0,re.Z)(Nt)==="object")return Nt.clearIcon;if(Kt)return Kt},[Nt,Kt]),Xt=E.useMemo(function(){return!!(!ut&&Nt&&(Vt.length||Qt)&&!(on==="combobox"&&Qt===""))},[Nt,ut,Vt.length,Qt,on]);return{allowClear:Xt,clearIcon:E.createElement(Ee,{className:"".concat(It,"-clear"),onMouseDown:Dt,customizeIcon:an},"\xD7")}},Ie=E.createContext(null);function Re(){return E.useContext(Ie)}function Me(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,It=E.useState(!1),Dt=(0,de.Z)(It,2),Vt=Dt[0],Nt=Dt[1],Kt=E.useRef(null),ut=function(){window.clearTimeout(Kt.current)};E.useEffect(function(){return ut},[]);var Qt=function(an,Xt){ut(),Kt.current=window.setTimeout(function(){Nt(an),Xt&&Xt()},zt)};return[Vt,Qt,ut]}function ye(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,It=E.useRef(null),Dt=E.useRef(null);E.useEffect(function(){return function(){window.clearTimeout(Dt.current)}},[]);function Vt(Nt){(Nt||It.current===null)&&(It.current=Nt),window.clearTimeout(Dt.current),Dt.current=window.setTimeout(function(){It.current=null},zt)}return[function(){return It.current},Vt]}function Te(zt,It,Dt,Vt){var Nt=E.useRef(null);Nt.current={open:It,triggerOpen:Dt,customizedTrigger:Vt},E.useEffect(function(){function Kt(ut){var Qt;if(!((Qt=Nt.current)!==null&&Qt!==void 0&&Qt.customizedTrigger)){var on=ut.target;on.shadowRoot&&ut.composed&&(on=ut.composedPath()[0]||on),Nt.current.open&&zt().filter(function(an){return an}).every(function(an){return!an.contains(on)&&an!==on})&&Nt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Kt),function(){return window.removeEventListener("mousedown",Kt)}},[])}var Fe=ae(10228);function _e(zt){return zt&&![Fe.Z.ESC,Fe.Z.SHIFT,Fe.Z.BACKSPACE,Fe.Z.TAB,Fe.Z.WIN_KEY,Fe.Z.ALT,Fe.Z.META,Fe.Z.WIN_KEY_RIGHT,Fe.Z.CTRL,Fe.Z.SEMICOLON,Fe.Z.EQUALS,Fe.Z.CAPS_LOCK,Fe.Z.CONTEXT_MENU,Fe.Z.F1,Fe.Z.F2,Fe.Z.F3,Fe.Z.F4,Fe.Z.F5,Fe.Z.F6,Fe.Z.F7,Fe.Z.F8,Fe.Z.F9,Fe.Z.F10,Fe.Z.F11,Fe.Z.F12].includes(zt)}var Oe=ae(26112),Ke=ae(83836);function We(zt,It,Dt){var Vt=(0,Ae.Z)((0,Ae.Z)({},zt),Dt?It:{});return Object.keys(It).forEach(function(Nt){var Kt=It[Nt];typeof Kt=="function"&&(Vt[Nt]=function(){for(var ut,Qt=arguments.length,on=new Array(Qt),an=0;an<Qt;an++)on[an]=arguments[an];return Kt.apply(void 0,on),(ut=zt[Nt])===null||ut===void 0?void 0:ut.call.apply(ut,[zt].concat(on))})}),Vt}var Ne=We,Ye=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Je=function(It,Dt){var Vt=It.prefixCls,Nt=It.id,Kt=It.inputElement,ut=It.autoFocus,Qt=It.autoComplete,on=It.editable,an=It.activeDescendantId,Xt=It.value,Yt=It.open,Gt=It.attrs,dn=(0,ve.Z)(It,Ye),ur=Kt||E.createElement("input",null),Zt=ur,nn=Zt.ref,Cn=Zt.props;return(0,fe.Kp)(!("maxLength"in ur.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),ur=E.cloneElement(ur,(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({type:"search"},Ne(dn,Cn,!0)),{},{id:Nt,ref:(0,be.sQ)(Dt,nn),autoComplete:Qt||"off",autoFocus:ut,className:ne()("".concat(Vt,"-selection-search-input"),Cn==null?void 0:Cn.className),role:"combobox","aria-expanded":Yt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Nt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Nt,"_list"),"aria-activedescendant":Yt?an:void 0},Gt),{},{value:on?Xt:"",readOnly:!on,unselectable:on?null:"on",style:(0,Ae.Z)((0,Ae.Z)({},Cn.style),{},{opacity:on?null:0})})),ur},He=E.forwardRef(Je),lt=He;function ft(zt){return Array.isArray(zt)?zt:zt!==void 0?[zt]:[]}var tt=typeof window!="undefined"&&window.document&&window.document.documentElement,Ot=tt;function nt(zt){return zt!=null}function Ze(zt){return!zt&&zt!==0}function Ge(zt){return["string","number"].includes((0,re.Z)(zt))}function $e(zt){var It=void 0;return zt&&(Ge(zt.title)?It=zt.title.toString():Ge(zt.label)&&(It=zt.label.toString())),It}function qe(zt,It){Ot?E.useLayoutEffect(zt,It):E.useEffect(zt,It)}function Ve(zt){var It;return(It=zt.key)!==null&&It!==void 0?It:zt.value}var mt=function(It){It.preventDefault(),It.stopPropagation()},st=function(It){var Dt=It.id,Vt=It.prefixCls,Nt=It.values,Kt=It.open,ut=It.searchValue,Qt=It.autoClearSearchValue,on=It.inputRef,an=It.placeholder,Xt=It.disabled,Yt=It.mode,Gt=It.showSearch,dn=It.autoFocus,ur=It.autoComplete,Zt=It.activeDescendantId,nn=It.tabIndex,Cn=It.removeIcon,Ht=It.maxTagCount,Ft=It.maxTagTextLength,fn=It.maxTagPlaceholder,wn=fn===void 0?function(hr){return"+ ".concat(hr.length," ...")}:fn,vn=It.tagRender,An=It.onToggleOpen,Rn=It.onRemove,Zn=It.onInputChange,zn=It.onInputPaste,Un=It.onInputKeyDown,ar=It.onInputMouseDown,Fn=It.onInputCompositionStart,ir=It.onInputCompositionEnd,Ir=It.onInputBlur,Lr=E.useRef(null),Fr=(0,E.useState)(0),vr=(0,de.Z)(Fr,2),Dr=vr[0],Ur=vr[1],gr=(0,E.useState)(!1),Zr=(0,de.Z)(gr,2),jr=Zr[0],yi=Zr[1],Yr="".concat(Vt,"-selection"),Kr=Kt||Yt==="multiple"&&Qt===!1||Yt==="tags"?ut:"",si=Yt==="tags"||Yt==="multiple"&&Qt===!1||Gt&&(Kt||jr);qe(function(){Ur(Lr.current.scrollWidth)},[Kr]);var ni=function(Gn,kr,Br,_t,Bn){return E.createElement("span",{title:$e(Gn),className:ne()("".concat(Yr,"-item"),(0,we.Z)({},"".concat(Yr,"-item-disabled"),Br))},E.createElement("span",{className:"".concat(Yr,"-item-content")},kr),_t&&E.createElement(Ee,{className:"".concat(Yr,"-item-remove"),onMouseDown:mt,onClick:Bn,customizeIcon:Cn},"\xD7"))},Mr=function(Gn,kr,Br,_t,Bn,Xn){var fr=function(Qr){mt(Qr),An(!Kt)};return E.createElement("span",{onMouseDown:fr},vn({label:kr,value:Gn,disabled:Br,closable:_t,onClose:Bn,isMaxTag:!!Xn}))},Vr=function(Gn){var kr=Gn.disabled,Br=Gn.label,_t=Gn.value,Bn=!Xt&&!kr,Xn=Br;if(typeof Ft=="number"&&(typeof Br=="string"||typeof Br=="number")){var fr=String(Xn);fr.length>Ft&&(Xn="".concat(fr.slice(0,Ft),"..."))}var Wr=function(Xr){Xr&&Xr.stopPropagation(),Rn(Gn)};return typeof vn=="function"?Mr(_t,Xn,kr,Bn,Wr):ni(Gn,Xn,kr,Bn,Wr)},yr=function(Gn){if(!Nt.length)return null;var kr=typeof wn=="function"?wn(Gn):wn;return typeof vn=="function"?Mr(void 0,kr,!1,!1,void 0,!0):ni({title:kr},kr,!1)},Jn=E.createElement("div",{className:"".concat(Yr,"-search"),style:{width:Dr},onFocus:function(){yi(!0)},onBlur:function(){yi(!1)}},E.createElement(lt,{ref:on,open:Kt,prefixCls:Vt,id:Dt,inputElement:null,disabled:Xt,autoFocus:dn,autoComplete:ur,editable:si,activeDescendantId:Zt,value:Kr,onKeyDown:Un,onMouseDown:ar,onChange:Zn,onPaste:zn,onCompositionStart:Fn,onCompositionEnd:ir,onBlur:Ir,tabIndex:nn,attrs:(0,Oe.Z)(It,!0)}),E.createElement("span",{ref:Lr,className:"".concat(Yr,"-search-mirror"),"aria-hidden":!0},Kr,"\xA0")),sr=E.createElement(Ke.Z,{prefixCls:"".concat(Yr,"-overflow"),data:Nt,renderItem:Vr,renderRest:yr,suffix:Jn,itemKey:Ve,maxCount:Ht});return E.createElement("span",{className:"".concat(Yr,"-wrap")},sr,!Nt.length&&!Kr&&E.createElement("span",{className:"".concat(Yr,"-placeholder")},an))},Lt=st,ct=function(It){var Dt=It.inputElement,Vt=It.prefixCls,Nt=It.id,Kt=It.inputRef,ut=It.disabled,Qt=It.autoFocus,on=It.autoComplete,an=It.activeDescendantId,Xt=It.mode,Yt=It.open,Gt=It.values,dn=It.placeholder,ur=It.tabIndex,Zt=It.showSearch,nn=It.searchValue,Cn=It.activeValue,Ht=It.maxLength,Ft=It.onInputKeyDown,fn=It.onInputMouseDown,wn=It.onInputChange,vn=It.onInputPaste,An=It.onInputCompositionStart,Rn=It.onInputCompositionEnd,Zn=It.onInputBlur,zn=It.title,Un=E.useState(!1),ar=(0,de.Z)(Un,2),Fn=ar[0],ir=ar[1],Ir=Xt==="combobox",Lr=Ir||Zt,Fr=Gt[0],vr=nn||"";Ir&&Cn&&!Fn&&(vr=Cn),E.useEffect(function(){Ir&&ir(!1)},[Ir,Cn]);var Dr=Xt!=="combobox"&&!Yt&&!Zt?!1:!!vr,Ur=zn===void 0?$e(Fr):zn,gr=E.useMemo(function(){return Fr?null:E.createElement("span",{className:"".concat(Vt,"-selection-placeholder"),style:Dr?{visibility:"hidden"}:void 0},dn)},[Fr,Dr,dn,Vt]);return E.createElement("span",{className:"".concat(Vt,"-selection-wrap")},E.createElement("span",{className:"".concat(Vt,"-selection-search")},E.createElement(lt,{ref:Kt,prefixCls:Vt,id:Nt,open:Yt,inputElement:Dt,disabled:ut,autoFocus:Qt,autoComplete:on,editable:Lr,activeDescendantId:an,value:vr,onKeyDown:Ft,onMouseDown:fn,onChange:function(jr){ir(!0),wn(jr)},onPaste:vn,onCompositionStart:An,onCompositionEnd:Rn,onBlur:Zn,tabIndex:ur,attrs:(0,Oe.Z)(It,!0),maxLength:Ir?Ht:void 0})),!Ir&&Fr?E.createElement("span",{className:"".concat(Vt,"-selection-item"),title:Ur,style:Dr?{visibility:"hidden"}:void 0},Fr.label):null,gr)},Tt=ct,xt=function(It,Dt){var Vt=(0,E.useRef)(null),Nt=(0,E.useRef)(!1),Kt=It.prefixCls,ut=It.open,Qt=It.mode,on=It.showSearch,an=It.tokenWithEnter,Xt=It.disabled,Yt=It.prefix,Gt=It.autoClearSearchValue,dn=It.onSearch,ur=It.onSearchSubmit,Zt=It.onToggleOpen,nn=It.onInputKeyDown,Cn=It.onInputBlur,Ht=It.domRef;E.useImperativeHandle(Dt,function(){return{focus:function(Ur){Vt.current.focus(Ur)},blur:function(){Vt.current.blur()}}});var Ft=ye(0),fn=(0,de.Z)(Ft,2),wn=fn[0],vn=fn[1],An=function(Ur){var gr=Ur.which,Zr=Vt.current instanceof HTMLTextAreaElement;!Zr&&ut&&(gr===Fe.Z.UP||gr===Fe.Z.DOWN)&&Ur.preventDefault(),nn&&nn(Ur),gr===Fe.Z.ENTER&&Qt==="tags"&&!Nt.current&&!ut&&(ur==null||ur(Ur.target.value)),!(Zr&&!ut&&~[Fe.Z.UP,Fe.Z.DOWN,Fe.Z.LEFT,Fe.Z.RIGHT].indexOf(gr))&&_e(gr)&&Zt(!0)},Rn=function(){vn(!0)},Zn=(0,E.useRef)(null),zn=function(Ur){dn(Ur,!0,Nt.current)!==!1&&Zt(!0)},Un=function(){Nt.current=!0},ar=function(Ur){Nt.current=!1,Qt!=="combobox"&&zn(Ur.target.value)},Fn=function(Ur){var gr=Ur.target.value;if(an&&Zn.current&&/[\r\n]/.test(Zn.current)){var Zr=Zn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");gr=gr.replace(Zr,Zn.current)}Zn.current=null,zn(gr)},ir=function(Ur){var gr=Ur.clipboardData,Zr=gr==null?void 0:gr.getData("text");Zn.current=Zr||""},Ir=function(Ur){var gr=Ur.target;if(gr!==Vt.current){var Zr=document.body.style.msTouchAction!==void 0;Zr?setTimeout(function(){Vt.current.focus()}):Vt.current.focus()}},Lr=function(Ur){var gr=wn();Ur.target!==Vt.current&&!gr&&!(Qt==="combobox"&&Xt)&&Ur.preventDefault(),(Qt!=="combobox"&&(!on||!gr)||!ut)&&(ut&&Gt!==!1&&dn("",!0,!1),Zt())},Fr={inputRef:Vt,onInputKeyDown:An,onInputMouseDown:Rn,onInputChange:Fn,onInputPaste:ir,onInputCompositionStart:Un,onInputCompositionEnd:ar,onInputBlur:Cn},vr=Qt==="multiple"||Qt==="tags"?E.createElement(Lt,(0,b.Z)({},It,Fr)):E.createElement(Tt,(0,b.Z)({},It,Fr));return E.createElement("div",{ref:Ht,className:"".concat(Kt,"-selector"),onClick:Ir,onMouseDown:Lr},Yt&&E.createElement("div",{className:"".concat(Kt,"-prefix")},Yt),vr)},wt=E.forwardRef(xt),yt=wt,je=ae(68196),ue=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ie=function(It){var Dt=It===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Dt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Dt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Dt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Dt,adjustY:1},htmlRegion:"scroll"}}},ke=function(It,Dt){var Vt=It.prefixCls,Nt=It.disabled,Kt=It.visible,ut=It.children,Qt=It.popupElement,on=It.animation,an=It.transitionName,Xt=It.dropdownStyle,Yt=It.dropdownClassName,Gt=It.direction,dn=Gt===void 0?"ltr":Gt,ur=It.placement,Zt=It.builtinPlacements,nn=It.dropdownMatchSelectWidth,Cn=It.dropdownRender,Ht=It.dropdownAlign,Ft=It.getPopupContainer,fn=It.empty,wn=It.getTriggerDOMNode,vn=It.onPopupVisibleChange,An=It.onPopupMouseEnter,Rn=(0,ve.Z)(It,ue),Zn="".concat(Vt,"-dropdown"),zn=Qt;Cn&&(zn=Cn(Qt));var Un=E.useMemo(function(){return Zt||ie(nn)},[Zt,nn]),ar=on?"".concat(Zn,"-").concat(on):an,Fn=typeof nn=="number",ir=E.useMemo(function(){return Fn?null:nn===!1?"minWidth":"width"},[nn,Fn]),Ir=Xt;Fn&&(Ir=(0,Ae.Z)((0,Ae.Z)({},Ir),{},{width:nn}));var Lr=E.useRef(null);return E.useImperativeHandle(Dt,function(){return{getPopupElement:function(){var vr;return(vr=Lr.current)===null||vr===void 0?void 0:vr.popupElement}}}),E.createElement(je.Z,(0,b.Z)({},Rn,{showAction:vn?["click"]:[],hideAction:vn?["click"]:[],popupPlacement:ur||(dn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Un,prefixCls:Zn,popupTransitionName:ar,popup:E.createElement("div",{onMouseEnter:An},zn),ref:Lr,stretch:ir,popupAlign:Ht,popupVisible:Kt,getPopupContainer:Ft,popupClassName:ne()(Yt,(0,we.Z)({},"".concat(Zn,"-empty"),fn)),popupStyle:Ir,getTriggerDOMNode:wn,onPopupVisibleChange:vn}),ut)},Xe=E.forwardRef(ke),De=Xe,pe=ae(48745);function x(zt,It){var Dt=zt.key,Vt;return"value"in zt&&(Vt=zt.value),Dt!=null?Dt:Vt!==void 0?Vt:"rc-index-key-".concat(It)}function me(zt){return typeof zt!="undefined"&&!Number.isNaN(zt)}function Le(zt,It){var Dt=zt||{},Vt=Dt.label,Nt=Dt.value,Kt=Dt.options,ut=Dt.groupLabel,Qt=Vt||(It?"children":"label");return{label:Qt,value:Nt||"value",options:Kt||"options",groupLabel:ut||Qt}}function Se(zt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Dt=It.fieldNames,Vt=It.childrenAsData,Nt=[],Kt=Le(Dt,!1),ut=Kt.label,Qt=Kt.value,on=Kt.options,an=Kt.groupLabel;function Xt(Yt,Gt){Array.isArray(Yt)&&Yt.forEach(function(dn){if(Gt||!(on in dn)){var ur=dn[Qt];Nt.push({key:x(dn,Nt.length),groupOption:Gt,data:dn,label:dn[ut],value:ur})}else{var Zt=dn[an];Zt===void 0&&Vt&&(Zt=dn.label),Nt.push({key:x(dn,Nt.length),group:!0,data:dn,label:Zt}),Xt(dn[on],!0)}})}return Xt(zt,!1),Nt}function Be(zt){var It=(0,Ae.Z)({},zt);return"props"in It||Object.defineProperty(It,"props",{get:function(){return(0,fe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),It}}),It}var Qe=function(It,Dt,Vt){if(!Dt||!Dt.length)return null;var Nt=!1,Kt=function Qt(on,an){var Xt=(0,pe.Z)(an),Yt=Xt[0],Gt=Xt.slice(1);if(!Yt)return[on];var dn=on.split(Yt);return Nt=Nt||dn.length>1,dn.reduce(function(ur,Zt){return[].concat((0,oe.Z)(ur),(0,oe.Z)(Qt(Zt,Gt)))},[]).filter(Boolean)},ut=Kt(It,Dt);return Nt?typeof Vt!="undefined"?ut.slice(0,Vt):ut:null},it=E.createContext(null),ot=it;function at(zt){var It=zt.visible,Dt=zt.values;if(!It)return null;var Vt=50;return E.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Dt.slice(0,Vt).map(function(Nt){var Kt=Nt.label,ut=Nt.value;return["number","string"].includes((0,re.Z)(Kt))?Kt:ut}).join(", ")),Dt.length>Vt?", ...":null)}var Mt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Rt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],tn=function(It){return It==="tags"||It==="multiple"},qt=E.forwardRef(function(zt,It){var Dt,Vt=zt.id,Nt=zt.prefixCls,Kt=zt.className,ut=zt.showSearch,Qt=zt.tagRender,on=zt.direction,an=zt.omitDomProps,Xt=zt.displayValues,Yt=zt.onDisplayValuesChange,Gt=zt.emptyOptions,dn=zt.notFoundContent,ur=dn===void 0?"Not Found":dn,Zt=zt.onClear,nn=zt.mode,Cn=zt.disabled,Ht=zt.loading,Ft=zt.getInputElement,fn=zt.getRawInputElement,wn=zt.open,vn=zt.defaultOpen,An=zt.onDropdownVisibleChange,Rn=zt.activeValue,Zn=zt.onActiveValueChange,zn=zt.activeDescendantId,Un=zt.searchValue,ar=zt.autoClearSearchValue,Fn=zt.onSearch,ir=zt.onSearchSplit,Ir=zt.tokenSeparators,Lr=zt.allowClear,Fr=zt.prefix,vr=zt.suffixIcon,Dr=zt.clearIcon,Ur=zt.OptionList,gr=zt.animation,Zr=zt.transitionName,jr=zt.dropdownStyle,yi=zt.dropdownClassName,Yr=zt.dropdownMatchSelectWidth,Kr=zt.dropdownRender,si=zt.dropdownAlign,ni=zt.placement,Mr=zt.builtinPlacements,Vr=zt.getPopupContainer,yr=zt.showAction,Jn=yr===void 0?[]:yr,sr=zt.onFocus,hr=zt.onBlur,Gn=zt.onKeyUp,kr=zt.onKeyDown,Br=zt.onMouseDown,_t=(0,ve.Z)(zt,Mt),Bn=tn(nn),Xn=(ut!==void 0?ut:Bn)||nn==="combobox",fr=(0,Ae.Z)({},_t);Rt.forEach(function(Oo){delete fr[Oo]}),an==null||an.forEach(function(Oo){delete fr[Oo]});var Wr=E.useState(!1),Qr=(0,de.Z)(Wr,2),Xr=Qr[0],Fi=Qr[1];E.useEffect(function(){Fi((0,Ce.Z)())},[]);var or=E.useRef(null),Ti=E.useRef(null),hi=E.useRef(null),Ei=E.useRef(null),Li=E.useRef(null),Ai=E.useRef(!1),ro=Me(),So=(0,de.Z)(ro,3),Qi=So[0],io=So[1],ti=So[2];E.useImperativeHandle(It,function(){var Oo,fo;return{focus:(Oo=Ei.current)===null||Oo===void 0?void 0:Oo.focus,blur:(fo=Ei.current)===null||fo===void 0?void 0:fo.blur,scrollTo:function(Va){var ca;return(ca=Li.current)===null||ca===void 0?void 0:ca.scrollTo(Va)},nativeElement:or.current||Ti.current}});var li=E.useMemo(function(){var Oo;if(nn!=="combobox")return Un;var fo=(Oo=Xt[0])===null||Oo===void 0?void 0:Oo.value;return typeof fo=="string"||typeof fo=="number"?String(fo):""},[Un,nn,Xt]),qi=nn==="combobox"&&typeof Ft=="function"&&Ft()||null,ho=typeof fn=="function"&&fn(),ji=(0,be.x1)(Ti,ho==null||(Dt=ho.props)===null||Dt===void 0?void 0:Dt.ref),oo=E.useState(!1),uo=(0,de.Z)(oo,2),$i=uo[0],co=uo[1];(0,ge.Z)(function(){co(!0)},[]);var so=(0,se.Z)(!1,{defaultValue:vn,value:wn}),jo=(0,de.Z)(so,2),Jo=jo[0],Yo=jo[1],Zo=$i?Jo:!1,ns=!ur&&Gt;(Cn||ns&&Zo&&nn==="combobox")&&(Zo=!1);var Ya=ns?!1:Zo,Hi=E.useCallback(function(Oo){var fo=Oo!==void 0?Oo:!Zo;Cn||(Yo(fo),Zo!==fo&&(An==null||An(fo)))},[Cn,Zo,Yo,An]),to=E.useMemo(function(){return(Ir||[]).some(function(Oo){return[`
`,`\r
`].includes(Oo)})},[Ir]),Zi=E.useContext(ot)||{},Vi=Zi.maxCount,bo=Zi.rawValues,$n=function(fo,ua,Va){if(!(Bn&&me(Vi)&&(bo==null?void 0:bo.size)>=Vi)){var ca=!0,wa=fo;Zn==null||Zn(null);var gs=Qe(fo,Ir,me(Vi)?Vi-bo.size:void 0),ys=Va?null:gs;return nn!=="combobox"&&ys&&(wa="",ir==null||ir(ys),Hi(!1),ca=!1),Fn&&li!==wa&&Fn(wa,{source:ua?"typing":"effect"}),ca}},Hr=function(fo){!fo||!fo.trim()||Fn(fo,{source:"submit"})};E.useEffect(function(){!Zo&&!Bn&&nn!=="combobox"&&$n("",!1,!1)},[Zo]),E.useEffect(function(){Jo&&Cn&&Yo(!1),Cn&&!Ai.current&&io(!1)},[Cn]);var pi=ye(),Xi=(0,de.Z)(pi,2),xo=Xi[0],ya=Xi[1],Na=E.useRef(!1),To=function(fo){var ua=xo(),Va=fo.key,ca=Va==="Enter";if(ca&&(nn!=="combobox"&&fo.preventDefault(),Zo||Hi(!0)),ya(!!li),Va==="Backspace"&&!ua&&Bn&&!li&&Xt.length){for(var wa=(0,oe.Z)(Xt),gs=null,ys=wa.length-1;ys>=0;ys-=1){var As=wa[ys];if(!As.disabled){wa.splice(ys,1),gs=As;break}}gs&&Yt(wa,{type:"remove",values:[gs]})}for(var rs=arguments.length,Ma=new Array(rs>1?rs-1:0),Ja=1;Ja<rs;Ja++)Ma[Ja-1]=arguments[Ja];if(Zo&&(!ca||!Na.current)){var _s;ca&&(Na.current=!0),(_s=Li.current)===null||_s===void 0||_s.onKeyDown.apply(_s,[fo].concat(Ma))}kr==null||kr.apply(void 0,[fo].concat(Ma))},aa=function(fo){for(var ua=arguments.length,Va=new Array(ua>1?ua-1:0),ca=1;ca<ua;ca++)Va[ca-1]=arguments[ca];if(Zo){var wa;(wa=Li.current)===null||wa===void 0||wa.onKeyUp.apply(wa,[fo].concat(Va))}fo.key==="Enter"&&(Na.current=!1),Gn==null||Gn.apply(void 0,[fo].concat(Va))},$a=function(fo){var ua=Xt.filter(function(Va){return Va!==fo});Yt(ua,{type:"remove",values:[fo]})},Ia=function(){Na.current=!1},Wa=E.useRef(!1),Ps=function(){io(!0),Cn||(sr&&!Wa.current&&sr.apply(void 0,arguments),Jn.includes("focus")&&Hi(!0)),Wa.current=!0},Us=function(){Ai.current=!0,io(!1,function(){Wa.current=!1,Ai.current=!1,Hi(!1)}),!Cn&&(li&&(nn==="tags"?Fn(li,{source:"submit"}):nn==="multiple"&&Fn("",{source:"blur"})),hr&&hr.apply(void 0,arguments))},ms=[];E.useEffect(function(){return function(){ms.forEach(function(Oo){return clearTimeout(Oo)}),ms.splice(0,ms.length)}},[]);var Ca=function(fo){var ua,Va=fo.target,ca=(ua=hi.current)===null||ua===void 0?void 0:ua.getPopupElement();if(ca&&ca.contains(Va)){var wa=setTimeout(function(){var rs=ms.indexOf(wa);if(rs!==-1&&ms.splice(rs,1),ti(),!Xr&&!ca.contains(document.activeElement)){var Ma;(Ma=Ei.current)===null||Ma===void 0||Ma.focus()}});ms.push(wa)}for(var gs=arguments.length,ys=new Array(gs>1?gs-1:0),As=1;As<gs;As++)ys[As-1]=arguments[As];Br==null||Br.apply(void 0,[fo].concat(ys))},vs=E.useState({}),iu=(0,de.Z)(vs,2),Ss=iu[1];function Dl(){Ss({})}var Hl;ho&&(Hl=function(fo){Hi(fo)}),Te(function(){var Oo;return[or.current,(Oo=hi.current)===null||Oo===void 0?void 0:Oo.getPopupElement()]},Ya,Hi,!!ho);var ku=E.useMemo(function(){return(0,Ae.Z)((0,Ae.Z)({},zt),{},{notFoundContent:ur,open:Zo,triggerOpen:Ya,id:Vt,showSearch:Xn,multiple:Bn,toggleOpen:Hi})},[zt,ur,Ya,Zo,Vt,Xn,Bn,Hi]),Pl=!!vr||Ht,Es;Pl&&(Es=E.createElement(Ee,{className:ne()("".concat(Nt,"-arrow"),(0,we.Z)({},"".concat(Nt,"-arrow-loading"),Ht)),customizeIcon:vr,customizeIconProps:{loading:Ht,searchValue:li,open:Zo,focused:Qi,showSearch:Xn}}));var Js=function(){var fo;Zt==null||Zt(),(fo=Ei.current)===null||fo===void 0||fo.focus(),Yt([],{type:"clear",values:Xt}),$n("",!1,!1)},Qs=Pe(Nt,Js,Xt,Lr,Dr,Cn,li,nn),Tl=Qs.allowClear,el=Qs.clearIcon,Ol=E.createElement(Ur,{ref:Li}),Zl=ne()(Nt,Kt,(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},"".concat(Nt,"-focused"),Qi),"".concat(Nt,"-multiple"),Bn),"".concat(Nt,"-single"),!Bn),"".concat(Nt,"-allow-clear"),Lr),"".concat(Nt,"-show-arrow"),Pl),"".concat(Nt,"-disabled"),Cn),"".concat(Nt,"-loading"),Ht),"".concat(Nt,"-open"),Zo),"".concat(Nt,"-customize-input"),qi),"".concat(Nt,"-show-search"),Xn)),Fs=E.createElement(De,{ref:hi,disabled:Cn,prefixCls:Nt,visible:Ya,popupElement:Ol,animation:gr,transitionName:Zr,dropdownStyle:jr,dropdownClassName:yi,direction:on,dropdownMatchSelectWidth:Yr,dropdownRender:Kr,dropdownAlign:si,placement:ni,builtinPlacements:Mr,getPopupContainer:Vr,empty:Gt,getTriggerDOMNode:function(fo){return Ti.current||fo},onPopupVisibleChange:Hl,onPopupMouseEnter:Dl},ho?E.cloneElement(ho,{ref:ji}):E.createElement(yt,(0,b.Z)({},zt,{domRef:Ti,prefixCls:Nt,inputElement:qi,ref:Ei,id:Vt,prefix:Fr,showSearch:Xn,autoClearSearchValue:ar,mode:nn,activeDescendantId:zn,tagRender:Qt,values:Xt,open:Zo,onToggleOpen:Hi,activeValue:Rn,searchValue:li,onSearch:$n,onSearchSubmit:Hr,onRemove:$a,tokenWithEnter:to,onInputBlur:Ia}))),ka;return ho?ka=Fs:ka=E.createElement("div",(0,b.Z)({className:Zl},fr,{ref:or,onMouseDown:Ca,onKeyDown:To,onKeyUp:aa,onFocus:Ps,onBlur:Us}),E.createElement(at,{visible:Qi&&!Zo,values:Xt}),Fs,Es,Tl&&el),E.createElement(Ie.Provider,{value:ku},ka)}),Bt=qt,hn=function(){return null};hn.isSelectOptGroup=!0;var $t=hn,Ct=function(){return null};Ct.isSelectOption=!0;var jt=Ct,ln=ae(80547),yn=ae(2738),Et=ae(48911);function Wt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Jt=["disabled","title","children","style","className"];function bn(zt){return typeof zt=="string"||typeof zt=="number"}var kn=function(It,Dt){var Vt=Re(),Nt=Vt.prefixCls,Kt=Vt.id,ut=Vt.open,Qt=Vt.multiple,on=Vt.mode,an=Vt.searchValue,Xt=Vt.toggleOpen,Yt=Vt.notFoundContent,Gt=Vt.onPopupScroll,dn=E.useContext(ot),ur=dn.maxCount,Zt=dn.flattenOptions,nn=dn.onActiveValue,Cn=dn.defaultActiveFirstOption,Ht=dn.onSelect,Ft=dn.menuItemSelectedIcon,fn=dn.rawValues,wn=dn.fieldNames,vn=dn.virtual,An=dn.direction,Rn=dn.listHeight,Zn=dn.listItemHeight,zn=dn.optionRender,Un="".concat(Nt,"-item"),ar=(0,ln.Z)(function(){return Zt},[ut,Zt],function(yr,Jn){return Jn[0]&&yr[1]!==Jn[1]}),Fn=E.useRef(null),ir=E.useMemo(function(){return Qt&&me(ur)&&(fn==null?void 0:fn.size)>=ur},[Qt,ur,fn==null?void 0:fn.size]),Ir=function(Jn){Jn.preventDefault()},Lr=function(Jn){var sr;(sr=Fn.current)===null||sr===void 0||sr.scrollTo(typeof Jn=="number"?{index:Jn}:Jn)},Fr=E.useCallback(function(yr){return on==="combobox"?!1:fn.has(yr)},[on,(0,oe.Z)(fn).toString(),fn.size]),vr=function(Jn){for(var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,hr=ar.length,Gn=0;Gn<hr;Gn+=1){var kr=(Jn+Gn*sr+hr)%hr,Br=ar[kr]||{},_t=Br.group,Bn=Br.data;if(!_t&&!(Bn!=null&&Bn.disabled)&&(Fr(Bn.value)||!ir))return kr}return-1},Dr=E.useState(function(){return vr(0)}),Ur=(0,de.Z)(Dr,2),gr=Ur[0],Zr=Ur[1],jr=function(Jn){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Zr(Jn);var hr={source:sr?"keyboard":"mouse"},Gn=ar[Jn];if(!Gn){nn(null,-1,hr);return}nn(Gn.value,Jn,hr)};(0,E.useEffect)(function(){jr(Cn!==!1?vr(0):-1)},[ar.length,an]);var yi=E.useCallback(function(yr){return on==="combobox"?String(yr).toLowerCase()===an.toLowerCase():fn.has(yr)},[on,an,(0,oe.Z)(fn).toString(),fn.size]);(0,E.useEffect)(function(){var yr=setTimeout(function(){if(!Qt&&ut&&fn.size===1){var sr=Array.from(fn)[0],hr=ar.findIndex(function(Gn){var kr=Gn.data;return an?String(kr.value).startsWith(an):kr.value===sr});hr!==-1&&(jr(hr),Lr(hr))}});if(ut){var Jn;(Jn=Fn.current)===null||Jn===void 0||Jn.scrollTo(void 0)}return function(){return clearTimeout(yr)}},[ut,an]);var Yr=function(Jn){Jn!==void 0&&Ht(Jn,{selected:!fn.has(Jn)}),Qt||Xt(!1)};if(E.useImperativeHandle(Dt,function(){return{onKeyDown:function(Jn){var sr=Jn.which,hr=Jn.ctrlKey;switch(sr){case Fe.Z.N:case Fe.Z.P:case Fe.Z.UP:case Fe.Z.DOWN:{var Gn=0;if(sr===Fe.Z.UP?Gn=-1:sr===Fe.Z.DOWN?Gn=1:Wt()&&hr&&(sr===Fe.Z.N?Gn=1:sr===Fe.Z.P&&(Gn=-1)),Gn!==0){var kr=vr(gr+Gn,Gn);Lr(kr),jr(kr,!0)}break}case Fe.Z.TAB:case Fe.Z.ENTER:{var Br,_t=ar[gr];_t&&!(_t!=null&&(Br=_t.data)!==null&&Br!==void 0&&Br.disabled)&&!ir?Yr(_t.value):Yr(void 0),ut&&Jn.preventDefault();break}case Fe.Z.ESC:Xt(!1),ut&&Jn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Jn){Lr(Jn)}}}),ar.length===0)return E.createElement("div",{role:"listbox",id:"".concat(Kt,"_list"),className:"".concat(Un,"-empty"),onMouseDown:Ir},Yt);var Kr=Object.keys(wn).map(function(yr){return wn[yr]}),si=function(Jn){return Jn.label};function ni(yr,Jn){var sr=yr.group;return{role:sr?"presentation":"option",id:"".concat(Kt,"_list_").concat(Jn)}}var Mr=function(Jn){var sr=ar[Jn];if(!sr)return null;var hr=sr.data||{},Gn=hr.value,kr=sr.group,Br=(0,Oe.Z)(hr,!0),_t=si(sr);return sr?E.createElement("div",(0,b.Z)({"aria-label":typeof _t=="string"&&!kr?_t:null},Br,{key:Jn},ni(sr,Jn),{"aria-selected":yi(Gn)}),Gn):null},Vr={role:"listbox",id:"".concat(Kt,"_list")};return E.createElement(E.Fragment,null,vn&&E.createElement("div",(0,b.Z)({},Vr,{style:{height:0,width:0,overflow:"hidden"}}),Mr(gr-1),Mr(gr),Mr(gr+1)),E.createElement(Et.Z,{itemKey:"key",ref:Fn,data:ar,height:Rn,itemHeight:Zn,fullHeight:!1,onMouseDown:Ir,onScroll:Gt,virtual:vn,direction:An,innerProps:vn?null:Vr},function(yr,Jn){var sr=yr.group,hr=yr.groupOption,Gn=yr.data,kr=yr.label,Br=yr.value,_t=Gn.key;if(sr){var Bn,Xn=(Bn=Gn.title)!==null&&Bn!==void 0?Bn:bn(kr)?kr.toString():void 0;return E.createElement("div",{className:ne()(Un,"".concat(Un,"-group"),Gn.className),title:Xn},kr!==void 0?kr:_t)}var fr=Gn.disabled,Wr=Gn.title,Qr=Gn.children,Xr=Gn.style,Fi=Gn.className,or=(0,ve.Z)(Gn,Jt),Ti=(0,yn.Z)(or,Kr),hi=Fr(Br),Ei=fr||!hi&&ir,Li="".concat(Un,"-option"),Ai=ne()(Un,Li,Fi,(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},"".concat(Li,"-grouped"),hr),"".concat(Li,"-active"),gr===Jn&&!Ei),"".concat(Li,"-disabled"),Ei),"".concat(Li,"-selected"),hi)),ro=si(yr),So=!Ft||typeof Ft=="function"||hi,Qi=typeof ro=="number"?ro:ro||Br,io=bn(Qi)?Qi.toString():void 0;return Wr!==void 0&&(io=Wr),E.createElement("div",(0,b.Z)({},(0,Oe.Z)(Ti),vn?{}:ni(yr,Jn),{"aria-selected":yi(Br),className:Ai,title:io,onMouseMove:function(){gr===Jn||Ei||jr(Jn)},onClick:function(){Ei||Yr(Br)},style:Xr}),E.createElement("div",{className:"".concat(Li,"-content")},typeof zn=="function"?zn(yr,{index:Jn}):Qi),E.isValidElement(Ft)||hi,So&&E.createElement(Ee,{className:"".concat(Un,"-option-state"),customizeIcon:Ft,customizeIconProps:{value:Br,disabled:Ei,isSelected:hi}},hi?"\u2713":null))}))},tr=E.forwardRef(kn),pr=tr,xr=function(zt,It){var Dt=E.useRef({values:new Map,options:new Map}),Vt=E.useMemo(function(){var Kt=Dt.current,ut=Kt.values,Qt=Kt.options,on=zt.map(function(Yt){if(Yt.label===void 0){var Gt;return(0,Ae.Z)((0,Ae.Z)({},Yt),{},{label:(Gt=ut.get(Yt.value))===null||Gt===void 0?void 0:Gt.label})}return Yt}),an=new Map,Xt=new Map;return on.forEach(function(Yt){an.set(Yt.value,Yt),Xt.set(Yt.value,It.get(Yt.value)||Qt.get(Yt.value))}),Dt.current.values=an,Dt.current.options=Xt,on},[zt,It]),Nt=E.useCallback(function(Kt){return It.get(Kt)||Dt.current.options.get(Kt)},[It]);return[Vt,Nt]};function Yn(zt,It){return ft(zt).join("").toUpperCase().includes(It)}var mr=function(zt,It,Dt,Vt,Nt){return E.useMemo(function(){if(!Dt||Vt===!1)return zt;var Kt=It.options,ut=It.label,Qt=It.value,on=[],an=typeof Vt=="function",Xt=Dt.toUpperCase(),Yt=an?Vt:function(dn,ur){return Nt?Yn(ur[Nt],Xt):ur[Kt]?Yn(ur[ut!=="children"?ut:"label"],Xt):Yn(ur[Qt],Xt)},Gt=an?function(dn){return Be(dn)}:function(dn){return dn};return zt.forEach(function(dn){if(dn[Kt]){var ur=Yt(Dt,Gt(dn));if(ur)on.push(dn);else{var Zt=dn[Kt].filter(function(nn){return Yt(Dt,Gt(nn))});Zt.length&&on.push((0,Ae.Z)((0,Ae.Z)({},dn),{},(0,we.Z)({},Kt,Zt)))}return}Yt(Dt,Gt(dn))&&on.push(dn)}),on},[zt,Vt,Nt,Dt,It])},Wn=ae(6551),xn=ae(11592),Pn=["children","value"],Tn=["children"];function In(zt){var It=zt,Dt=It.key,Vt=It.props,Nt=Vt.children,Kt=Vt.value,ut=(0,ve.Z)(Vt,Pn);return(0,Ae.Z)({key:Dt,value:Kt!==void 0?Kt:Dt,children:Nt},ut)}function Kn(zt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,xn.Z)(zt).map(function(Dt,Vt){if(!E.isValidElement(Dt)||!Dt.type)return null;var Nt=Dt,Kt=Nt.type.isSelectOptGroup,ut=Nt.key,Qt=Nt.props,on=Qt.children,an=(0,ve.Z)(Qt,Tn);return It||!Kt?In(Dt):(0,Ae.Z)((0,Ae.Z)({key:"__RC_SELECT_GRP__".concat(ut===null?Vt:ut,"__"),label:ut},an),{},{options:Kn(on)})}).filter(function(Dt){return Dt})}var jn=function(It,Dt,Vt,Nt,Kt){return E.useMemo(function(){var ut=It,Qt=!It;Qt&&(ut=Kn(Dt));var on=new Map,an=new Map,Xt=function(dn,ur,Zt){Zt&&typeof Zt=="string"&&dn.set(ur[Zt],ur)},Yt=function Gt(dn){for(var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Zt=0;Zt<dn.length;Zt+=1){var nn=dn[Zt];!nn[Vt.options]||ur?(on.set(nn[Vt.value],nn),Xt(an,nn,Vt.label),Xt(an,nn,Nt),Xt(an,nn,Kt)):Gt(nn[Vt.options],!0)}};return Yt(ut),{options:ut,valueOptions:on,labelOptions:an}},[It,Dt,Vt,Nt,Kt])},nr=jn;function Cr(zt){var It=E.useRef();It.current=zt;var Dt=E.useCallback(function(){return It.current.apply(It,arguments)},[]);return Dt}function Sr(zt){var It=zt.mode,Dt=zt.options,Vt=zt.children,Nt=zt.backfill,Kt=zt.allowClear,ut=zt.placeholder,Qt=zt.getInputElement,on=zt.showSearch,an=zt.onSearch,Xt=zt.defaultOpen,Yt=zt.autoFocus,Gt=zt.labelInValue,dn=zt.value,ur=zt.inputValue,Zt=zt.optionLabelProp,nn=isMultiple(It),Cn=on!==void 0?on:nn||It==="combobox",Ht=Dt||convertChildrenToData(Vt);if(warning(It!=="tags"||Ht.every(function(vn){return!vn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),It==="tags"||It==="combobox"){var Ft=Ht.some(function(vn){return vn.options?vn.options.some(function(An){return typeof("value"in An?An.value:An.key)=="number"}):typeof("value"in vn?vn.value:vn.key)=="number"});warning(!Ft,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(It!=="combobox"||!Zt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(It==="combobox"||!Nt,"`backfill` only works with `combobox` mode."),warning(It==="combobox"||!Qt,"`getInputElement` only work with `combobox` mode."),noteOnce(It!=="combobox"||!Qt||!Kt||!ut,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),an&&!Cn&&It!=="combobox"&&It!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Xt||Yt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),dn!=null){var fn=toArray(dn);warning(!Gt||fn.every(function(vn){return _typeof(vn)==="object"&&("key"in vn||"value"in vn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!nn||Array.isArray(dn),"`value` should be array when `mode` is `multiple` or `tags`")}if(Vt){var wn=null;toNodeArray(Vt).some(function(vn){if(!React.isValidElement(vn)||!vn.type)return!1;var An=vn,Rn=An.type;if(Rn.isSelectOption)return!1;if(Rn.isSelectOptGroup){var Zn=toNodeArray(vn.props.children).every(function(zn){return!React.isValidElement(zn)||!vn.type||zn.type.isSelectOption?!0:(wn=zn.type,!1)});return!Zn}return wn=Rn,!0}),wn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(wn.displayName||wn.name||wn,"`.")),warning(ur===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Er(zt,It){if(zt){var Dt=function Vt(Nt){for(var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ut=0;ut<Nt.length;ut++){var Qt=Nt[ut];if(Qt[It==null?void 0:It.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Kt&&Array.isArray(Qt[It==null?void 0:It.options])&&Vt(Qt[It==null?void 0:It.options],!0))break}};Dt(zt)}}var Nr=null,Tr=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],zr=["inputValue"];function Rr(zt){return!zt||(0,re.Z)(zt)!=="object"}var Ln=E.forwardRef(function(zt,It){var Dt=zt.id,Vt=zt.mode,Nt=zt.prefixCls,Kt=Nt===void 0?"rc-select":Nt,ut=zt.backfill,Qt=zt.fieldNames,on=zt.inputValue,an=zt.searchValue,Xt=zt.onSearch,Yt=zt.autoClearSearchValue,Gt=Yt===void 0?!0:Yt,dn=zt.onSelect,ur=zt.onDeselect,Zt=zt.dropdownMatchSelectWidth,nn=Zt===void 0?!0:Zt,Cn=zt.filterOption,Ht=zt.filterSort,Ft=zt.optionFilterProp,fn=zt.optionLabelProp,wn=zt.options,vn=zt.optionRender,An=zt.children,Rn=zt.defaultActiveFirstOption,Zn=zt.menuItemSelectedIcon,zn=zt.virtual,Un=zt.direction,ar=zt.listHeight,Fn=ar===void 0?200:ar,ir=zt.listItemHeight,Ir=ir===void 0?20:ir,Lr=zt.labelRender,Fr=zt.value,vr=zt.defaultValue,Dr=zt.labelInValue,Ur=zt.onChange,gr=zt.maxCount,Zr=(0,ve.Z)(zt,Tr),jr=(0,Wn.ZP)(Dt),yi=tn(Vt),Yr=!!(!wn&&An),Kr=E.useMemo(function(){return Cn===void 0&&Vt==="combobox"?!1:Cn},[Cn,Vt]),si=E.useMemo(function(){return Le(Qt,Yr)},[JSON.stringify(Qt),Yr]),ni=(0,se.Z)("",{value:an!==void 0?an:on,postState:function(to){return to||""}}),Mr=(0,de.Z)(ni,2),Vr=Mr[0],yr=Mr[1],Jn=nr(wn,An,si,Ft,fn),sr=Jn.valueOptions,hr=Jn.labelOptions,Gn=Jn.options,kr=E.useCallback(function(Hi){var to=ft(Hi);return to.map(function(Zi){var Vi,bo,$n,Hr,pi;if(Rr(Zi))Vi=Zi;else{var Xi;$n=Zi.key,bo=Zi.label,Vi=(Xi=Zi.value)!==null&&Xi!==void 0?Xi:$n}var xo=sr.get(Vi);if(xo){var ya;if(bo===void 0&&(bo=xo==null?void 0:xo[fn||si.label]),$n===void 0&&($n=(ya=xo==null?void 0:xo.key)!==null&&ya!==void 0?ya:Vi),Hr=xo==null?void 0:xo.disabled,pi=xo==null?void 0:xo.title,0)var Na}return{label:bo,value:Vi,key:$n,disabled:Hr,title:pi}})},[si,fn,sr]),Br=(0,se.Z)(vr,{value:Fr}),_t=(0,de.Z)(Br,2),Bn=_t[0],Xn=_t[1],fr=E.useMemo(function(){var Hi,to=yi&&Bn===null?[]:Bn,Zi=kr(to);return Vt==="combobox"&&Ze((Hi=Zi[0])===null||Hi===void 0?void 0:Hi.value)?[]:Zi},[Bn,kr,Vt,yi]),Wr=xr(fr,sr),Qr=(0,de.Z)(Wr,2),Xr=Qr[0],Fi=Qr[1],or=E.useMemo(function(){if(!Vt&&Xr.length===1){var Hi=Xr[0];if(Hi.value===null&&(Hi.label===null||Hi.label===void 0))return[]}return Xr.map(function(to){var Zi;return(0,Ae.Z)((0,Ae.Z)({},to),{},{label:(Zi=typeof Lr=="function"?Lr(to):to.label)!==null&&Zi!==void 0?Zi:to.value})})},[Vt,Xr,Lr]),Ti=E.useMemo(function(){return new Set(Xr.map(function(Hi){return Hi.value}))},[Xr]);E.useEffect(function(){if(Vt==="combobox"){var Hi,to=(Hi=Xr[0])===null||Hi===void 0?void 0:Hi.value;yr(nt(to)?String(to):"")}},[Xr]);var hi=Cr(function(Hi,to){var Zi=to!=null?to:Hi;return(0,we.Z)((0,we.Z)({},si.value,Hi),si.label,Zi)}),Ei=E.useMemo(function(){if(Vt!=="tags")return Gn;var Hi=(0,oe.Z)(Gn),to=function(Vi){return sr.has(Vi)};return(0,oe.Z)(Xr).sort(function(Zi,Vi){return Zi.value<Vi.value?-1:1}).forEach(function(Zi){var Vi=Zi.value;to(Vi)||Hi.push(hi(Vi,Zi.label))}),Hi},[hi,Gn,sr,Xr,Vt]),Li=mr(Ei,si,Vr,Kr,Ft),Ai=E.useMemo(function(){return Vt!=="tags"||!Vr||Li.some(function(Hi){return Hi[Ft||"value"]===Vr})||Li.some(function(Hi){return Hi[si.value]===Vr})?Li:[hi(Vr)].concat((0,oe.Z)(Li))},[hi,Ft,Vt,Li,Vr,si]),ro=function Hi(to){var Zi=(0,oe.Z)(to).sort(function(Vi,bo){return Ht(Vi,bo,{searchValue:Vr})});return Zi.map(function(Vi){return Array.isArray(Vi.options)?(0,Ae.Z)((0,Ae.Z)({},Vi),{},{options:Vi.options.length>0?Hi(Vi.options):Vi.options}):Vi})},So=E.useMemo(function(){return Ht?ro(Ai):Ai},[Ai,Ht,Vr]),Qi=E.useMemo(function(){return Se(So,{fieldNames:si,childrenAsData:Yr})},[So,si,Yr]),io=function(to){var Zi=kr(to);if(Xn(Zi),Ur&&(Zi.length!==Xr.length||Zi.some(function($n,Hr){var pi;return((pi=Xr[Hr])===null||pi===void 0?void 0:pi.value)!==($n==null?void 0:$n.value)}))){var Vi=Dr?Zi:Zi.map(function($n){return $n.value}),bo=Zi.map(function($n){return Be(Fi($n.value))});Ur(yi?Vi:Vi[0],yi?bo:bo[0])}},ti=E.useState(null),li=(0,de.Z)(ti,2),qi=li[0],ho=li[1],ji=E.useState(0),oo=(0,de.Z)(ji,2),uo=oo[0],$i=oo[1],co=Rn!==void 0?Rn:Vt!=="combobox",so=E.useCallback(function(Hi,to){var Zi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vi=Zi.source,bo=Vi===void 0?"keyboard":Vi;$i(to),ut&&Vt==="combobox"&&Hi!==null&&bo==="keyboard"&&ho(String(Hi))},[ut,Vt]),jo=function(to,Zi,Vi){var bo=function(){var $a,Ia=Fi(to);return[Dr?{label:Ia==null?void 0:Ia[si.label],value:to,key:($a=Ia==null?void 0:Ia.key)!==null&&$a!==void 0?$a:to}:to,Be(Ia)]};if(Zi&&dn){var $n=bo(),Hr=(0,de.Z)($n,2),pi=Hr[0],Xi=Hr[1];dn(pi,Xi)}else if(!Zi&&ur&&Vi!=="clear"){var xo=bo(),ya=(0,de.Z)(xo,2),Na=ya[0],To=ya[1];ur(Na,To)}},Jo=Cr(function(Hi,to){var Zi,Vi=yi?to.selected:!0;Vi?Zi=yi?[].concat((0,oe.Z)(Xr),[Hi]):[Hi]:Zi=Xr.filter(function(bo){return bo.value!==Hi}),io(Zi),jo(Hi,Vi),Vt==="combobox"?ho(""):(!tn||Gt)&&(yr(""),ho(""))}),Yo=function(to,Zi){io(to);var Vi=Zi.type,bo=Zi.values;(Vi==="remove"||Vi==="clear")&&bo.forEach(function($n){jo($n.value,!1,Vi)})},Zo=function(to,Zi){if(yr(to),ho(null),Zi.source==="submit"){var Vi=(to||"").trim();if(Vi){var bo=Array.from(new Set([].concat((0,oe.Z)(Ti),[Vi])));io(bo),jo(Vi,!0),yr("")}return}Zi.source!=="blur"&&(Vt==="combobox"&&io(to),Xt==null||Xt(to))},ns=function(to){var Zi=to;Vt!=="tags"&&(Zi=to.map(function(bo){var $n=hr.get(bo);return $n==null?void 0:$n.value}).filter(function(bo){return bo!==void 0}));var Vi=Array.from(new Set([].concat((0,oe.Z)(Ti),(0,oe.Z)(Zi))));io(Vi),Vi.forEach(function(bo){jo(bo,!0)})},Ya=E.useMemo(function(){var Hi=zn!==!1&&nn!==!1;return(0,Ae.Z)((0,Ae.Z)({},Jn),{},{flattenOptions:Qi,onActiveValue:so,defaultActiveFirstOption:co,onSelect:Jo,menuItemSelectedIcon:Zn,rawValues:Ti,fieldNames:si,virtual:Hi,direction:Un,listHeight:Fn,listItemHeight:Ir,childrenAsData:Yr,maxCount:gr,optionRender:vn})},[gr,Jn,Qi,so,co,Jo,Zn,Ti,si,zn,nn,Un,Fn,Ir,Yr,vn]);return E.createElement(ot.Provider,{value:Ya},E.createElement(Bt,(0,b.Z)({},Zr,{id:jr,prefixCls:Kt,ref:It,omitDomProps:zr,mode:Vt,displayValues:or,onDisplayValuesChange:Yo,direction:Un,searchValue:Vr,onSearch:Zo,autoClearSearchValue:Gt,onSearchSplit:ns,dropdownMatchSelectWidth:nn,OptionList:pr,emptyOptions:!Qi.length,activeValue:qi,activeDescendantId:"".concat(jr,"_list_").concat(uo)})))}),Qn=Ln;Qn.Option=jt,Qn.OptGroup=$t;var Ar=Qn,wr=Ar},22711:function(_n,pn,ae){"use strict";ae.r(pn),ae.d(pn,{ResizableTextArea:function(){return Ne},default:function(){return lt}});var b=ae(60499),oe=ae(18642),we=ae(85899),Ae=ae(77654),de=ae(72190),ve=ae(42244),re=ae(92310),se=ae.n(re),fe=ae(36901),E=ae(66003),te=ae(30292),ne=ae(18929),ge=ae(59301),Ce=ae(43749),be=ae(29301),le=ae(34280),Ee=ae(16089),Pe=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,Ie=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Re={},Me;function ye(ft){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ot=ft.getAttribute("id")||ft.getAttribute("data-reactid")||ft.getAttribute("name");if(tt&&Re[Ot])return Re[Ot];var nt=window.getComputedStyle(ft),Ze=nt.getPropertyValue("box-sizing")||nt.getPropertyValue("-moz-box-sizing")||nt.getPropertyValue("-webkit-box-sizing"),Ge=parseFloat(nt.getPropertyValue("padding-bottom"))+parseFloat(nt.getPropertyValue("padding-top")),$e=parseFloat(nt.getPropertyValue("border-bottom-width"))+parseFloat(nt.getPropertyValue("border-top-width")),qe=Ie.map(function(mt){return"".concat(mt,":").concat(nt.getPropertyValue(mt))}).join(";"),Ve={sizingStyle:qe,paddingSize:Ge,borderSize:$e,boxSizing:Ze};return tt&&Ot&&(Re[Ot]=Ve),Ve}function Te(ft){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Me||(Me=document.createElement("textarea"),Me.setAttribute("tab-index","-1"),Me.setAttribute("aria-hidden","true"),Me.setAttribute("name","hiddenTextarea"),document.body.appendChild(Me)),ft.getAttribute("wrap")?Me.setAttribute("wrap",ft.getAttribute("wrap")):Me.removeAttribute("wrap");var Ze=ye(ft,tt),Ge=Ze.paddingSize,$e=Ze.borderSize,qe=Ze.boxSizing,Ve=Ze.sizingStyle;Me.setAttribute("style","".concat(Ve,";").concat(Pe)),Me.value=ft.value||ft.placeholder||"";var mt=void 0,st=void 0,Lt,ct=Me.scrollHeight;if(qe==="border-box"?ct+=$e:qe==="content-box"&&(ct-=Ge),Ot!==null||nt!==null){Me.value=" ";var Tt=Me.scrollHeight-Ge;Ot!==null&&(mt=Tt*Ot,qe==="border-box"&&(mt=mt+Ge+$e),ct=Math.max(mt,ct)),nt!==null&&(st=Tt*nt,qe==="border-box"&&(st=st+Ge+$e),Lt=ct>st?"":"hidden",ct=Math.min(st,ct))}var xt={height:ct,overflowY:Lt,resize:"none"};return mt&&(xt.minHeight=mt),st&&(xt.maxHeight=st),xt}var Fe=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],_e=0,Oe=1,Ke=2,We=ge.forwardRef(function(ft,tt){var Ot=ft,nt=Ot.prefixCls,Ze=Ot.defaultValue,Ge=Ot.value,$e=Ot.autoSize,qe=Ot.onResize,Ve=Ot.className,mt=Ot.style,st=Ot.disabled,Lt=Ot.onChange,ct=Ot.onInternalAutoSize,Tt=(0,ve.Z)(Ot,Fe),xt=(0,ne.Z)(Ze,{value:Ge,postState:function(jt){return jt!=null?jt:""}}),wt=(0,de.Z)(xt,2),yt=wt[0],je=wt[1],ue=function(jt){je(jt.target.value),Lt==null||Lt(jt)},ie=ge.useRef();ge.useImperativeHandle(tt,function(){return{textArea:ie.current}});var ke=ge.useMemo(function(){return $e&&(0,Ce.Z)($e)==="object"?[$e.minRows,$e.maxRows]:[]},[$e]),Xe=(0,de.Z)(ke,2),De=Xe[0],pe=Xe[1],x=!!$e,me=function(){try{if(document.activeElement===ie.current){var jt=ie.current,ln=jt.selectionStart,yn=jt.selectionEnd,Et=jt.scrollTop;ie.current.setSelectionRange(ln,yn),ie.current.scrollTop=Et}}catch(Wt){}},Le=ge.useState(Ke),Se=(0,de.Z)(Le,2),Be=Se[0],Qe=Se[1],it=ge.useState(),ot=(0,de.Z)(it,2),at=ot[0],Mt=ot[1],Rt=function(){Qe(_e)};(0,le.Z)(function(){x&&Rt()},[Ge,De,pe,x]),(0,le.Z)(function(){if(Be===_e)Qe(Oe);else if(Be===Oe){var Ct=Te(ie.current,!1,De,pe);Qe(Ke),Mt(Ct)}else me()},[Be]);var tn=ge.useRef(),qt=function(){Ee.Z.cancel(tn.current)},Bt=function(jt){Be===Ke&&(qe==null||qe(jt),$e&&(qt(),tn.current=(0,Ee.Z)(function(){Rt()})))};ge.useEffect(function(){return qt},[]);var hn=x?at:null,$t=(0,we.Z)((0,we.Z)({},mt),hn);return(Be===_e||Be===Oe)&&($t.overflowY="hidden",$t.overflowX="hidden"),ge.createElement(be.Z,{onResize:Bt,disabled:!($e||qe)},ge.createElement("textarea",(0,b.Z)({},Tt,{ref:ie,style:$t,className:se()(nt,Ve,(0,oe.Z)({},"".concat(nt,"-disabled"),st)),disabled:st,value:yt,onChange:ue})))}),Ne=We,Ye=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Je=ge.forwardRef(function(ft,tt){var Ot,nt=ft.defaultValue,Ze=ft.value,Ge=ft.onFocus,$e=ft.onBlur,qe=ft.onChange,Ve=ft.allowClear,mt=ft.maxLength,st=ft.onCompositionStart,Lt=ft.onCompositionEnd,ct=ft.suffix,Tt=ft.prefixCls,xt=Tt===void 0?"rc-textarea":Tt,wt=ft.showCount,yt=ft.count,je=ft.className,ue=ft.style,ie=ft.disabled,ke=ft.hidden,Xe=ft.classNames,De=ft.styles,pe=ft.onResize,x=ft.onClear,me=ft.onPressEnter,Le=ft.readOnly,Se=ft.autoSize,Be=ft.onKeyDown,Qe=(0,ve.Z)(ft,Ye),it=(0,ne.Z)(nt,{value:Ze,defaultValue:nt}),ot=(0,de.Z)(it,2),at=ot[0],Mt=ot[1],Rt=at==null?"":String(at),tn=ge.useState(!1),qt=(0,de.Z)(tn,2),Bt=qt[0],hn=qt[1],$t=ge.useRef(!1),Ct=ge.useState(null),jt=(0,de.Z)(Ct,2),ln=jt[0],yn=jt[1],Et=(0,ge.useRef)(null),Wt=(0,ge.useRef)(null),Jt=function(){var Qn;return(Qn=Wt.current)===null||Qn===void 0?void 0:Qn.textArea},bn=function(){Jt().focus()};(0,ge.useImperativeHandle)(tt,function(){var Ln;return{resizableTextArea:Wt.current,focus:bn,blur:function(){Jt().blur()},nativeElement:((Ln=Et.current)===null||Ln===void 0?void 0:Ln.nativeElement)||Jt()}}),(0,ge.useEffect)(function(){hn(function(Ln){return!ie&&Ln})},[ie]);var kn=ge.useState(null),tr=(0,de.Z)(kn,2),pr=tr[0],xr=tr[1];ge.useEffect(function(){if(pr){var Ln;(Ln=Jt()).setSelectionRange.apply(Ln,(0,Ae.Z)(pr))}},[pr]);var Yn=(0,E.Z)(yt,wt),mr=(Ot=Yn.max)!==null&&Ot!==void 0?Ot:mt,Wn=Number(mr)>0,xn=Yn.strategy(Rt),Pn=!!mr&&xn>mr,Tn=function(Qn,Ar){var wr=Ar;!$t.current&&Yn.exceedFormatter&&Yn.max&&Yn.strategy(Ar)>Yn.max&&(wr=Yn.exceedFormatter(Ar,{max:Yn.max}),Ar!==wr&&xr([Jt().selectionStart||0,Jt().selectionEnd||0])),Mt(wr),(0,te.rJ)(Qn.currentTarget,Qn,qe,wr)},In=function(Qn){$t.current=!0,st==null||st(Qn)},Kn=function(Qn){$t.current=!1,Tn(Qn,Qn.currentTarget.value),Lt==null||Lt(Qn)},jn=function(Qn){Tn(Qn,Qn.target.value)},nr=function(Qn){Qn.key==="Enter"&&me&&me(Qn),Be==null||Be(Qn)},Cr=function(Qn){hn(!0),Ge==null||Ge(Qn)},Sr=function(Qn){hn(!1),$e==null||$e(Qn)},Er=function(Qn){Mt(""),bn(),(0,te.rJ)(Jt(),Qn,qe)},Nr=ct,Tr;Yn.show&&(Yn.showFormatter?Tr=Yn.showFormatter({value:Rt,count:xn,maxLength:mr}):Tr="".concat(xn).concat(Wn?" / ".concat(mr):""),Nr=ge.createElement(ge.Fragment,null,Nr,ge.createElement("span",{className:se()("".concat(xt,"-data-count"),Xe==null?void 0:Xe.count),style:De==null?void 0:De.count},Tr)));var zr=function(Qn){var Ar;pe==null||pe(Qn),(Ar=Jt())!==null&&Ar!==void 0&&Ar.style.height&&yn(!0)},Rr=!Se&&!wt&&!Ve;return ge.createElement(fe.BaseInput,{ref:Et,value:Rt,allowClear:Ve,handleReset:Er,suffix:Nr,prefixCls:xt,classNames:(0,we.Z)((0,we.Z)({},Xe),{},{affixWrapper:se()(Xe==null?void 0:Xe.affixWrapper,(0,oe.Z)((0,oe.Z)({},"".concat(xt,"-show-count"),wt),"".concat(xt,"-textarea-allow-clear"),Ve))}),disabled:ie,focused:Bt,className:se()(je,Pn&&"".concat(xt,"-out-of-range")),style:(0,we.Z)((0,we.Z)({},ue),ln&&!Rr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Tr=="string"?Tr:void 0}},hidden:ke,readOnly:Le,onClear:x},ge.createElement(Ne,(0,b.Z)({},Qe,{autoSize:Se,maxLength:mt,onKeyDown:nr,onChange:jn,onFocus:Cr,onBlur:Sr,onCompositionStart:In,onCompositionEnd:Kn,className:se()(Xe==null?void 0:Xe.textarea),style:(0,we.Z)((0,we.Z)({},De==null?void 0:De.textarea),{},{resize:ue==null?void 0:ue.resize}),disabled:ie,prefixCls:xt,onResize:zr,ref:Wt,readOnly:Le})))}),He=Je,lt=He},639:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return Re}});var b=ae(60499),oe=ae(18642),we=ae(85899),Ae=ae(72190),de=ae(42244),ve=ae(59301),re=ae(92310),se=ae.n(re),fe=ae(26112),E=ae(30699),te=function(ye){for(var Te=ye.prefixCls,Fe=ye.level,_e=ye.isStart,Oe=ye.isEnd,Ke="".concat(Te,"-indent-unit"),We=[],Ne=0;Ne<Fe;Ne+=1)We.push(ve.createElement("span",{key:Ne,className:se()(Ke,(0,oe.Z)((0,oe.Z)({},"".concat(Ke,"-start"),_e[Ne]),"".concat(Ke,"-end"),Oe[Ne]))}));return ve.createElement("span",{"aria-hidden":"true",className:"".concat(Te,"-indent")},We)},ne=ve.memo(te),ge=ae(65065),Ce=ae(34061),be=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],le="open",Ee="close",Pe="---",Ie=function(ye){var Te,Fe,_e,Oe=ye.eventKey,Ke=ye.className,We=ye.style,Ne=ye.dragOver,Ye=ye.dragOverGapTop,Je=ye.dragOverGapBottom,He=ye.isLeaf,lt=ye.isStart,ft=ye.isEnd,tt=ye.expanded,Ot=ye.selected,nt=ye.checked,Ze=ye.halfChecked,Ge=ye.loading,$e=ye.domRef,qe=ye.active,Ve=ye.data,mt=ye.onMouseMove,st=ye.selectable,Lt=(0,de.Z)(ye,be),ct=ve.useContext(E.k),Tt=ve.useContext(E.y),xt=ve.useRef(null),wt=ve.useState(!1),yt=(0,Ae.Z)(wt,2),je=yt[0],ue=yt[1],ie=!!(ct.disabled||ye.disabled||(Te=Tt.nodeDisabled)!==null&&Te!==void 0&&Te.call(Tt,Ve)),ke=ve.useMemo(function(){return!ct.checkable||ye.checkable===!1?!1:ct.checkable},[ct.checkable,ye.checkable]),Xe=function(xn){ie||ct.onNodeSelect(xn,(0,Ce.F)(ye))},De=function(xn){ie||!ke||ye.disableCheckbox||ct.onNodeCheck(xn,(0,Ce.F)(ye),!nt)},pe=ve.useMemo(function(){return typeof st=="boolean"?st:ct.selectable},[st,ct.selectable]),x=function(xn){ct.onNodeClick(xn,(0,Ce.F)(ye)),pe?Xe(xn):De(xn)},me=function(xn){ct.onNodeDoubleClick(xn,(0,Ce.F)(ye))},Le=function(xn){ct.onNodeMouseEnter(xn,(0,Ce.F)(ye))},Se=function(xn){ct.onNodeMouseLeave(xn,(0,Ce.F)(ye))},Be=function(xn){ct.onNodeContextMenu(xn,(0,Ce.F)(ye))},Qe=ve.useMemo(function(){return!!(ct.draggable&&(!ct.draggable.nodeDraggable||ct.draggable.nodeDraggable(Ve)))},[ct.draggable,Ve]),it=function(xn){xn.stopPropagation(),ue(!0),ct.onNodeDragStart(xn,ye);try{xn.dataTransfer.setData("text/plain","")}catch(Pn){}},ot=function(xn){xn.preventDefault(),xn.stopPropagation(),ct.onNodeDragEnter(xn,ye)},at=function(xn){xn.preventDefault(),xn.stopPropagation(),ct.onNodeDragOver(xn,ye)},Mt=function(xn){xn.stopPropagation(),ct.onNodeDragLeave(xn,ye)},Rt=function(xn){xn.stopPropagation(),ue(!1),ct.onNodeDragEnd(xn,ye)},tn=function(xn){xn.preventDefault(),xn.stopPropagation(),ue(!1),ct.onNodeDrop(xn,ye)},qt=function(xn){Ge||ct.onNodeExpand(xn,(0,Ce.F)(ye))},Bt=ve.useMemo(function(){var Wn=(0,ge.Z)(ct.keyEntities,Oe)||{},xn=Wn.children;return!!(xn||[]).length},[ct.keyEntities,Oe]),hn=ve.useMemo(function(){return He===!1?!1:He||!ct.loadData&&!Bt||ct.loadData&&ye.loaded&&!Bt},[He,ct.loadData,Bt,ye.loaded]);ve.useEffect(function(){Ge||typeof ct.loadData=="function"&&tt&&!hn&&!ye.loaded&&ct.onNodeLoad((0,Ce.F)(ye))},[Ge,ct.loadData,ct.onNodeLoad,tt,hn,ye]);var $t=ve.useMemo(function(){var Wn;return(Wn=ct.draggable)!==null&&Wn!==void 0&&Wn.icon?ve.createElement("span",{className:"".concat(ct.prefixCls,"-draggable-icon")},ct.draggable.icon):null},[ct.draggable]),Ct=function(xn){var Pn=ye.switcherIcon||ct.switcherIcon;return typeof Pn=="function"?Pn((0,we.Z)((0,we.Z)({},ye),{},{isLeaf:xn})):Pn},jt=function(){if(hn){var xn=Ct(!0);return xn!==!1?ve.createElement("span",{className:se()("".concat(ct.prefixCls,"-switcher"),"".concat(ct.prefixCls,"-switcher-noop"))},xn):null}var Pn=Ct(!1);return Pn!==!1?ve.createElement("span",{onClick:qt,className:se()("".concat(ct.prefixCls,"-switcher"),"".concat(ct.prefixCls,"-switcher_").concat(tt?le:Ee))},Pn):null},ln=ve.useMemo(function(){if(!ke)return null;var Wn=typeof ke!="boolean"?ke:null;return ve.createElement("span",{className:se()("".concat(ct.prefixCls,"-checkbox"),(0,oe.Z)((0,oe.Z)((0,oe.Z)({},"".concat(ct.prefixCls,"-checkbox-checked"),nt),"".concat(ct.prefixCls,"-checkbox-indeterminate"),!nt&&Ze),"".concat(ct.prefixCls,"-checkbox-disabled"),ie||ye.disableCheckbox)),onClick:De,role:"checkbox","aria-checked":Ze?"mixed":nt,"aria-disabled":ie||ye.disableCheckbox,"aria-label":"Select ".concat(typeof ye.title=="string"?ye.title:"tree node")},Wn)},[ke,nt,Ze,ie,ye.disableCheckbox,ye.title]),yn=ve.useMemo(function(){return hn?null:tt?le:Ee},[hn,tt]),Et=ve.useMemo(function(){return ve.createElement("span",{className:se()("".concat(ct.prefixCls,"-iconEle"),"".concat(ct.prefixCls,"-icon__").concat(yn||"docu"),(0,oe.Z)({},"".concat(ct.prefixCls,"-icon_loading"),Ge))})},[ct.prefixCls,yn,Ge]),Wt=ve.useMemo(function(){var Wn=!!ct.draggable,xn=!ye.disabled&&Wn&&ct.dragOverNodeKey===Oe;return xn?ct.dropIndicatorRender({dropPosition:ct.dropPosition,dropLevelOffset:ct.dropLevelOffset,indent:ct.indent,prefixCls:ct.prefixCls,direction:ct.direction}):null},[ct.dropPosition,ct.dropLevelOffset,ct.indent,ct.prefixCls,ct.direction,ct.draggable,ct.dragOverNodeKey,ct.dropIndicatorRender]),Jt=ve.useMemo(function(){var Wn=ye.title,xn=Wn===void 0?Pe:Wn,Pn="".concat(ct.prefixCls,"-node-content-wrapper"),Tn;if(ct.showIcon){var In=ye.icon||ct.icon;Tn=In?ve.createElement("span",{className:se()("".concat(ct.prefixCls,"-iconEle"),"".concat(ct.prefixCls,"-icon__customize"))},typeof In=="function"?In(ye):In):Et}else ct.loadData&&Ge&&(Tn=Et);var Kn;return typeof xn=="function"?Kn=xn(Ve):ct.titleRender?Kn=ct.titleRender(Ve):Kn=xn,ve.createElement("span",{ref:xt,title:typeof xn=="string"?xn:"",className:se()(Pn,"".concat(Pn,"-").concat(yn||"normal"),(0,oe.Z)({},"".concat(ct.prefixCls,"-node-selected"),!ie&&(Ot||je))),onMouseEnter:Le,onMouseLeave:Se,onContextMenu:Be,onClick:x,onDoubleClick:me},Tn,ve.createElement("span",{className:"".concat(ct.prefixCls,"-title")},Kn),Wt)},[ct.prefixCls,ct.showIcon,ye,ct.icon,Et,ct.titleRender,Ve,yn,Le,Se,Be,x,me]),bn=(0,fe.Z)(Lt,{aria:!0,data:!0}),kn=(0,ge.Z)(ct.keyEntities,Oe)||{},tr=kn.level,pr=ft[ft.length-1],xr=!ie&&Qe,Yn=ct.draggingNodeKey===Oe,mr=st!==void 0?{"aria-selected":!!st}:void 0;return ve.createElement("div",(0,b.Z)({ref:$e,role:"treeitem","aria-expanded":He?void 0:tt,className:se()(Ke,"".concat(ct.prefixCls,"-treenode"),(_e={},(0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)(_e,"".concat(ct.prefixCls,"-treenode-disabled"),ie),"".concat(ct.prefixCls,"-treenode-switcher-").concat(tt?"open":"close"),!He),"".concat(ct.prefixCls,"-treenode-checkbox-checked"),nt),"".concat(ct.prefixCls,"-treenode-checkbox-indeterminate"),Ze),"".concat(ct.prefixCls,"-treenode-selected"),Ot),"".concat(ct.prefixCls,"-treenode-loading"),Ge),"".concat(ct.prefixCls,"-treenode-active"),qe),"".concat(ct.prefixCls,"-treenode-leaf-last"),pr),"".concat(ct.prefixCls,"-treenode-draggable"),Qe),"dragging",Yn),(0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)(_e,"drop-target",ct.dropTargetKey===Oe),"drop-container",ct.dropContainerKey===Oe),"drag-over",!ie&&Ne),"drag-over-gap-top",!ie&&Ye),"drag-over-gap-bottom",!ie&&Je),"filter-node",(Fe=ct.filterTreeNode)===null||Fe===void 0?void 0:Fe.call(ct,(0,Ce.F)(ye))),"".concat(ct.prefixCls,"-treenode-leaf"),hn))),style:We,draggable:xr,onDragStart:xr?it:void 0,onDragEnter:Qe?ot:void 0,onDragOver:Qe?at:void 0,onDragLeave:Qe?Mt:void 0,onDrop:Qe?tn:void 0,onDragEnd:Qe?Rt:void 0,onMouseMove:mt},mr,bn),ve.createElement(ne,{prefixCls:ct.prefixCls,level:tr,isStart:lt,isEnd:ft}),$t,jt(),ln,Jt)};Ie.isTreeNode=1;var Re=Ie},30699:function(_n,pn,ae){"use strict";ae.d(pn,{k:function(){return oe},y:function(){return we}});var b=ae(59301),oe=b.createContext(null),we=b.createContext({})},87632:function(_n,pn,ae){"use strict";ae.d(pn,{OF:function(){return Oe.Z},y6:function(){return Ee.y},ZP:function(){return ie}});var b=ae(60499),oe=ae(43749),we=ae(85899),Ae=ae(77654),de=ae(38705),ve=ae(17212),re=ae(15793),se=ae(39153),fe=ae(55401),E=ae(18642),te=ae(92310),ne=ae.n(te),ge=ae(10228),Ce=ae(26112),be=ae(48736),le=ae(59301),Ee=ae(30699),Pe=function(Xe){var De=Xe.dropPosition,pe=Xe.dropLevelOffset,x=Xe.indent,me={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(De){case-1:me.top=0,me.left=-pe*x;break;case 1:me.bottom=0,me.left=-pe*x;break;case 0:me.bottom=0,me.left=x;break}return le.createElement("div",{style:me})},Ie=Pe;function Re(ke){if(ke==null)throw new TypeError("Cannot destructure "+ke)}var Me=ae(72190),ye=ae(42244),Te=ae(34280),Fe=ae(48911),_e=ae(77900),Oe=ae(639);function Ke(ke,Xe){var De=le.useState(!1),pe=(0,Me.Z)(De,2),x=pe[0],me=pe[1];(0,Te.Z)(function(){if(x)return ke(),function(){Xe()}},[x]),(0,Te.Z)(function(){return me(!0),function(){me(!1)}},[])}var We=Ke,Ne=ae(34061),Ye=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Je=le.forwardRef(function(ke,Xe){var De=ke.className,pe=ke.style,x=ke.motion,me=ke.motionNodes,Le=ke.motionType,Se=ke.onMotionStart,Be=ke.onMotionEnd,Qe=ke.active,it=ke.treeNodeRequiredProps,ot=(0,ye.Z)(ke,Ye),at=le.useState(!0),Mt=(0,Me.Z)(at,2),Rt=Mt[0],tn=Mt[1],qt=le.useContext(Ee.k),Bt=qt.prefixCls,hn=me&&Le!=="hide";(0,Te.Z)(function(){me&&hn!==Rt&&tn(hn)},[me]);var $t=function(){me&&Se()},Ct=le.useRef(!1),jt=function(){me&&!Ct.current&&(Ct.current=!0,Be())};We($t,jt);var ln=function(Et){hn===Et&&jt()};return me?le.createElement(_e.default,(0,b.Z)({ref:Xe,visible:Rt},x,{motionAppear:Le==="show",onVisibleChanged:ln}),function(yn,Et){var Wt=yn.className,Jt=yn.style;return le.createElement("div",{ref:Et,className:ne()("".concat(Bt,"-treenode-motion"),Wt),style:Jt},me.map(function(bn){var kn=Object.assign({},(Re(bn.data),bn.data)),tr=bn.title,pr=bn.key,xr=bn.isStart,Yn=bn.isEnd;delete kn.children;var mr=(0,Ne.H8)(pr,it);return le.createElement(Oe.Z,(0,b.Z)({},kn,mr,{title:tr,active:Qe,data:bn.data,key:pr,isStart:xr,isEnd:Yn}))}))}):le.createElement(Oe.Z,(0,b.Z)({domRef:Xe,className:De,style:pe},ot,{active:Qe}))}),He=Je;function lt(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=ke.length,pe=Xe.length;if(Math.abs(De-pe)!==1)return{add:!1,key:null};function x(me,Le){var Se=new Map;me.forEach(function(Qe){Se.set(Qe,!0)});var Be=Le.filter(function(Qe){return!Se.has(Qe)});return Be.length===1?Be[0]:null}return De<pe?{add:!0,key:x(ke,Xe)}:{add:!1,key:x(Xe,ke)}}function ft(ke,Xe,De){var pe=ke.findIndex(function(Se){return Se.key===De}),x=ke[pe+1],me=Xe.findIndex(function(Se){return Se.key===De});if(x){var Le=Xe.findIndex(function(Se){return Se.key===x.key});return Xe.slice(me+1,Le)}return Xe.slice(me+1)}var tt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},nt=function(){},Ze="RC_TREE_MOTION_".concat(Math.random()),Ge={key:Ze},$e={key:Ze,level:0,index:0,pos:"0",node:Ge,nodes:[Ge]},qe={parent:null,children:[],pos:$e.pos,data:Ge,title:null,key:Ze,isStart:[],isEnd:[]};function Ve(ke,Xe,De,pe){return Xe===!1||!De?ke:ke.slice(0,Math.ceil(De/pe)+1)}function mt(ke){var Xe=ke.key,De=ke.pos;return(0,Ne.km)(Xe,De)}function st(ke){for(var Xe=String(ke.data.key),De=ke;De.parent;)De=De.parent,Xe="".concat(De.data.key," > ").concat(Xe);return Xe}var Lt=le.forwardRef(function(ke,Xe){var De=ke.prefixCls,pe=ke.data,x=ke.selectable,me=ke.checkable,Le=ke.expandedKeys,Se=ke.selectedKeys,Be=ke.checkedKeys,Qe=ke.loadedKeys,it=ke.loadingKeys,ot=ke.halfCheckedKeys,at=ke.keyEntities,Mt=ke.disabled,Rt=ke.dragging,tn=ke.dragOverNodeKey,qt=ke.dropPosition,Bt=ke.motion,hn=ke.height,$t=ke.itemHeight,Ct=ke.virtual,jt=ke.scrollWidth,ln=ke.focusable,yn=ke.activeItem,Et=ke.focused,Wt=ke.tabIndex,Jt=ke.onKeyDown,bn=ke.onFocus,kn=ke.onBlur,tr=ke.onActiveChange,pr=ke.onListChangeStart,xr=ke.onListChangeEnd,Yn=(0,ye.Z)(ke,tt),mr=le.useRef(null),Wn=le.useRef(null);le.useImperativeHandle(Xe,function(){return{scrollTo:function(Qt){mr.current.scrollTo(Qt)},getIndentWidth:function(){return Wn.current.offsetWidth}}});var xn=le.useState(Le),Pn=(0,Me.Z)(xn,2),Tn=Pn[0],In=Pn[1],Kn=le.useState(pe),jn=(0,Me.Z)(Kn,2),nr=jn[0],Cr=jn[1],Sr=le.useState(pe),Er=(0,Me.Z)(Sr,2),Nr=Er[0],Tr=Er[1],zr=le.useState([]),Rr=(0,Me.Z)(zr,2),Ln=Rr[0],Qn=Rr[1],Ar=le.useState(null),wr=(0,Me.Z)(Ar,2),zt=wr[0],It=wr[1],Dt=le.useRef(pe);Dt.current=pe;function Vt(){var ut=Dt.current;Cr(ut),Tr(ut),Qn([]),It(null),xr()}(0,Te.Z)(function(){In(Le);var ut=lt(Tn,Le);if(ut.key!==null)if(ut.add){var Qt=nr.findIndex(function(dn){var ur=dn.key;return ur===ut.key}),on=Ve(ft(nr,pe,ut.key),Ct,hn,$t),an=nr.slice();an.splice(Qt+1,0,qe),Tr(an),Qn(on),It("show")}else{var Xt=pe.findIndex(function(dn){var ur=dn.key;return ur===ut.key}),Yt=Ve(ft(pe,nr,ut.key),Ct,hn,$t),Gt=pe.slice();Gt.splice(Xt+1,0,qe),Tr(Gt),Qn(Yt),It("hide")}else nr!==pe&&(Cr(pe),Tr(pe))},[Le,pe]),le.useEffect(function(){Rt||Vt()},[Rt]);var Nt=Bt?Nr:pe,Kt={expandedKeys:Le,selectedKeys:Se,loadedKeys:Qe,loadingKeys:it,checkedKeys:Be,halfCheckedKeys:ot,dragOverNodeKey:tn,dropPosition:qt,keyEntities:at};return le.createElement(le.Fragment,null,Et&&yn&&le.createElement("span",{style:Ot,"aria-live":"assertive"},st(yn)),le.createElement("div",null,le.createElement("input",{style:Ot,disabled:ln===!1||Mt,tabIndex:ln!==!1?Wt:null,onKeyDown:Jt,onFocus:bn,onBlur:kn,value:"",onChange:nt,"aria-label":"for screen reader"})),le.createElement("div",{className:"".concat(De,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},le.createElement("div",{className:"".concat(De,"-indent")},le.createElement("div",{ref:Wn,className:"".concat(De,"-indent-unit")}))),le.createElement(Fe.Z,(0,b.Z)({},Yn,{data:Nt,itemKey:mt,height:hn,fullHeight:!1,virtual:Ct,itemHeight:$t,scrollWidth:jt,prefixCls:"".concat(De,"-list"),ref:mr,role:"tree",onVisibleChange:function(Qt){Qt.every(function(on){return mt(on)!==Ze})&&Vt()}}),function(ut){var Qt=ut.pos,on=Object.assign({},(Re(ut.data),ut.data)),an=ut.title,Xt=ut.key,Yt=ut.isStart,Gt=ut.isEnd,dn=(0,Ne.km)(Xt,Qt);delete on.key,delete on.children;var ur=(0,Ne.H8)(dn,Kt);return le.createElement(He,(0,b.Z)({},on,ur,{title:an,active:!!yn&&Xt===yn.key,pos:Qt,data:ut.data,isStart:Yt,isEnd:Gt,motion:Bt,motionNodes:Xt===Ze?Ln:null,motionType:zt,onMotionStart:pr,onMotionEnd:Vt,treeNodeRequiredProps:Kt,onMouseMove:function(){tr(null)}}))}))}),ct=Lt,Tt=ae(82661),xt=ae(34643),wt=ae(65065),yt=10,je=function(ke){(0,se.Z)(De,ke);var Xe=(0,fe.Z)(De);function De(){var pe;(0,de.Z)(this,De);for(var x=arguments.length,me=new Array(x),Le=0;Le<x;Le++)me[Le]=arguments[Le];return pe=Xe.call.apply(Xe,[this].concat(me)),(0,E.Z)((0,re.Z)(pe),"destroyed",!1),(0,E.Z)((0,re.Z)(pe),"delayedDragEnterLogic",void 0),(0,E.Z)((0,re.Z)(pe),"loadingRetryTimes",{}),(0,E.Z)((0,re.Z)(pe),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ne.w$)()}),(0,E.Z)((0,re.Z)(pe),"dragStartMousePosition",null),(0,E.Z)((0,re.Z)(pe),"dragNodeProps",null),(0,E.Z)((0,re.Z)(pe),"currentMouseOverDroppableNodeKey",null),(0,E.Z)((0,re.Z)(pe),"listRef",le.createRef()),(0,E.Z)((0,re.Z)(pe),"onNodeDragStart",function(Se,Be){var Qe=pe.state,it=Qe.expandedKeys,ot=Qe.keyEntities,at=pe.props.onDragStart,Mt=Be.eventKey;pe.dragNodeProps=Be,pe.dragStartMousePosition={x:Se.clientX,y:Se.clientY};var Rt=(0,Tt._5)(it,Mt);pe.setState({draggingNodeKey:Mt,dragChildrenKeys:(0,Tt.wA)(Mt,ot),indent:pe.listRef.current.getIndentWidth()}),pe.setExpandedKeys(Rt),window.addEventListener("dragend",pe.onWindowDragEnd),at==null||at({event:Se,node:(0,Ne.F)(Be)})}),(0,E.Z)((0,re.Z)(pe),"onNodeDragEnter",function(Se,Be){var Qe=pe.state,it=Qe.expandedKeys,ot=Qe.keyEntities,at=Qe.dragChildrenKeys,Mt=Qe.flattenNodes,Rt=Qe.indent,tn=pe.props,qt=tn.onDragEnter,Bt=tn.onExpand,hn=tn.allowDrop,$t=tn.direction,Ct=Be.pos,jt=Be.eventKey;if(pe.currentMouseOverDroppableNodeKey!==jt&&(pe.currentMouseOverDroppableNodeKey=jt),!pe.dragNodeProps){pe.resetDragState();return}var ln=(0,Tt.OM)(Se,pe.dragNodeProps,Be,Rt,pe.dragStartMousePosition,hn,Mt,ot,it,$t),yn=ln.dropPosition,Et=ln.dropLevelOffset,Wt=ln.dropTargetKey,Jt=ln.dropContainerKey,bn=ln.dropTargetPos,kn=ln.dropAllowed,tr=ln.dragOverNodeKey;if(at.includes(Wt)||!kn){pe.resetDragState();return}if(pe.delayedDragEnterLogic||(pe.delayedDragEnterLogic={}),Object.keys(pe.delayedDragEnterLogic).forEach(function(pr){clearTimeout(pe.delayedDragEnterLogic[pr])}),pe.dragNodeProps.eventKey!==Be.eventKey&&(Se.persist(),pe.delayedDragEnterLogic[Ct]=window.setTimeout(function(){if(pe.state.draggingNodeKey!==null){var pr=(0,Ae.Z)(it),xr=(0,wt.Z)(ot,Be.eventKey);xr&&(xr.children||[]).length&&(pr=(0,Tt.L0)(it,Be.eventKey)),pe.props.hasOwnProperty("expandedKeys")||pe.setExpandedKeys(pr),Bt==null||Bt(pr,{node:(0,Ne.F)(Be),expanded:!0,nativeEvent:Se.nativeEvent})}},800)),pe.dragNodeProps.eventKey===Wt&&Et===0){pe.resetDragState();return}pe.setState({dragOverNodeKey:tr,dropPosition:yn,dropLevelOffset:Et,dropTargetKey:Wt,dropContainerKey:Jt,dropTargetPos:bn,dropAllowed:kn}),qt==null||qt({event:Se,node:(0,Ne.F)(Be),expandedKeys:it})}),(0,E.Z)((0,re.Z)(pe),"onNodeDragOver",function(Se,Be){var Qe=pe.state,it=Qe.dragChildrenKeys,ot=Qe.flattenNodes,at=Qe.keyEntities,Mt=Qe.expandedKeys,Rt=Qe.indent,tn=pe.props,qt=tn.onDragOver,Bt=tn.allowDrop,hn=tn.direction;if(pe.dragNodeProps){var $t=(0,Tt.OM)(Se,pe.dragNodeProps,Be,Rt,pe.dragStartMousePosition,Bt,ot,at,Mt,hn),Ct=$t.dropPosition,jt=$t.dropLevelOffset,ln=$t.dropTargetKey,yn=$t.dropContainerKey,Et=$t.dropTargetPos,Wt=$t.dropAllowed,Jt=$t.dragOverNodeKey;it.includes(ln)||!Wt||(pe.dragNodeProps.eventKey===ln&&jt===0?pe.state.dropPosition===null&&pe.state.dropLevelOffset===null&&pe.state.dropTargetKey===null&&pe.state.dropContainerKey===null&&pe.state.dropTargetPos===null&&pe.state.dropAllowed===!1&&pe.state.dragOverNodeKey===null||pe.resetDragState():Ct===pe.state.dropPosition&&jt===pe.state.dropLevelOffset&&ln===pe.state.dropTargetKey&&yn===pe.state.dropContainerKey&&Et===pe.state.dropTargetPos&&Wt===pe.state.dropAllowed&&Jt===pe.state.dragOverNodeKey||pe.setState({dropPosition:Ct,dropLevelOffset:jt,dropTargetKey:ln,dropContainerKey:yn,dropTargetPos:Et,dropAllowed:Wt,dragOverNodeKey:Jt}),qt==null||qt({event:Se,node:(0,Ne.F)(Be)}))}}),(0,E.Z)((0,re.Z)(pe),"onNodeDragLeave",function(Se,Be){pe.currentMouseOverDroppableNodeKey===Be.eventKey&&!Se.currentTarget.contains(Se.relatedTarget)&&(pe.resetDragState(),pe.currentMouseOverDroppableNodeKey=null);var Qe=pe.props.onDragLeave;Qe==null||Qe({event:Se,node:(0,Ne.F)(Be)})}),(0,E.Z)((0,re.Z)(pe),"onWindowDragEnd",function(Se){pe.onNodeDragEnd(Se,null,!0),window.removeEventListener("dragend",pe.onWindowDragEnd)}),(0,E.Z)((0,re.Z)(pe),"onNodeDragEnd",function(Se,Be){var Qe=pe.props.onDragEnd;pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),Qe==null||Qe({event:Se,node:(0,Ne.F)(Be)}),pe.dragNodeProps=null,window.removeEventListener("dragend",pe.onWindowDragEnd)}),(0,E.Z)((0,re.Z)(pe),"onNodeDrop",function(Se,Be){var Qe,it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ot=pe.state,at=ot.dragChildrenKeys,Mt=ot.dropPosition,Rt=ot.dropTargetKey,tn=ot.dropTargetPos,qt=ot.dropAllowed;if(qt){var Bt=pe.props.onDrop;if(pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),Rt!==null){var hn=(0,we.Z)((0,we.Z)({},(0,Ne.H8)(Rt,pe.getTreeNodeRequiredProps())),{},{active:((Qe=pe.getActiveItem())===null||Qe===void 0?void 0:Qe.key)===Rt,data:(0,wt.Z)(pe.state.keyEntities,Rt).node}),$t=at.includes(Rt);(0,be.ZP)(!$t,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ct=(0,Tt.yx)(tn),jt={event:Se,node:(0,Ne.F)(hn),dragNode:pe.dragNodeProps?(0,Ne.F)(pe.dragNodeProps):null,dragNodesKeys:[pe.dragNodeProps.eventKey].concat(at),dropToGap:Mt!==0,dropPosition:Mt+Number(Ct[Ct.length-1])};it||Bt==null||Bt(jt),pe.dragNodeProps=null}}}),(0,E.Z)((0,re.Z)(pe),"cleanDragState",function(){var Se=pe.state.draggingNodeKey;Se!==null&&pe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),pe.dragStartMousePosition=null,pe.currentMouseOverDroppableNodeKey=null}),(0,E.Z)((0,re.Z)(pe),"triggerExpandActionExpand",function(Se,Be){var Qe=pe.state,it=Qe.expandedKeys,ot=Qe.flattenNodes,at=Be.expanded,Mt=Be.key,Rt=Be.isLeaf;if(!(Rt||Se.shiftKey||Se.metaKey||Se.ctrlKey)){var tn=ot.filter(function(Bt){return Bt.key===Mt})[0],qt=(0,Ne.F)((0,we.Z)((0,we.Z)({},(0,Ne.H8)(Mt,pe.getTreeNodeRequiredProps())),{},{data:tn.data}));pe.setExpandedKeys(at?(0,Tt._5)(it,Mt):(0,Tt.L0)(it,Mt)),pe.onNodeExpand(Se,qt)}}),(0,E.Z)((0,re.Z)(pe),"onNodeClick",function(Se,Be){var Qe=pe.props,it=Qe.onClick,ot=Qe.expandAction;ot==="click"&&pe.triggerExpandActionExpand(Se,Be),it==null||it(Se,Be)}),(0,E.Z)((0,re.Z)(pe),"onNodeDoubleClick",function(Se,Be){var Qe=pe.props,it=Qe.onDoubleClick,ot=Qe.expandAction;ot==="doubleClick"&&pe.triggerExpandActionExpand(Se,Be),it==null||it(Se,Be)}),(0,E.Z)((0,re.Z)(pe),"onNodeSelect",function(Se,Be){var Qe=pe.state.selectedKeys,it=pe.state,ot=it.keyEntities,at=it.fieldNames,Mt=pe.props,Rt=Mt.onSelect,tn=Mt.multiple,qt=Be.selected,Bt=Be[at.key],hn=!qt;hn?tn?Qe=(0,Tt.L0)(Qe,Bt):Qe=[Bt]:Qe=(0,Tt._5)(Qe,Bt);var $t=Qe.map(function(Ct){var jt=(0,wt.Z)(ot,Ct);return jt?jt.node:null}).filter(Boolean);pe.setUncontrolledState({selectedKeys:Qe}),Rt==null||Rt(Qe,{event:"select",selected:hn,node:Be,selectedNodes:$t,nativeEvent:Se.nativeEvent})}),(0,E.Z)((0,re.Z)(pe),"onNodeCheck",function(Se,Be,Qe){var it=pe.state,ot=it.keyEntities,at=it.checkedKeys,Mt=it.halfCheckedKeys,Rt=pe.props,tn=Rt.checkStrictly,qt=Rt.onCheck,Bt=Be.key,hn,$t={event:"check",node:Be,checked:Qe,nativeEvent:Se.nativeEvent};if(tn){var Ct=Qe?(0,Tt.L0)(at,Bt):(0,Tt._5)(at,Bt),jt=(0,Tt._5)(Mt,Bt);hn={checked:Ct,halfChecked:jt},$t.checkedNodes=Ct.map(function(bn){return(0,wt.Z)(ot,bn)}).filter(Boolean).map(function(bn){return bn.node}),pe.setUncontrolledState({checkedKeys:Ct})}else{var ln=(0,xt.S)([].concat((0,Ae.Z)(at),[Bt]),!0,ot),yn=ln.checkedKeys,Et=ln.halfCheckedKeys;if(!Qe){var Wt=new Set(yn);Wt.delete(Bt);var Jt=(0,xt.S)(Array.from(Wt),{checked:!1,halfCheckedKeys:Et},ot);yn=Jt.checkedKeys,Et=Jt.halfCheckedKeys}hn=yn,$t.checkedNodes=[],$t.checkedNodesPositions=[],$t.halfCheckedKeys=Et,yn.forEach(function(bn){var kn=(0,wt.Z)(ot,bn);if(kn){var tr=kn.node,pr=kn.pos;$t.checkedNodes.push(tr),$t.checkedNodesPositions.push({node:tr,pos:pr})}}),pe.setUncontrolledState({checkedKeys:yn},!1,{halfCheckedKeys:Et})}qt==null||qt(hn,$t)}),(0,E.Z)((0,re.Z)(pe),"onNodeLoad",function(Se){var Be,Qe=Se.key,it=pe.state.keyEntities,ot=(0,wt.Z)(it,Qe);if(!(ot!=null&&(Be=ot.children)!==null&&Be!==void 0&&Be.length)){var at=new Promise(function(Mt,Rt){pe.setState(function(tn){var qt=tn.loadedKeys,Bt=qt===void 0?[]:qt,hn=tn.loadingKeys,$t=hn===void 0?[]:hn,Ct=pe.props,jt=Ct.loadData,ln=Ct.onLoad;if(!jt||Bt.includes(Qe)||$t.includes(Qe))return null;var yn=jt(Se);return yn.then(function(){var Et=pe.state.loadedKeys,Wt=(0,Tt.L0)(Et,Qe);ln==null||ln(Wt,{event:"load",node:Se}),pe.setUncontrolledState({loadedKeys:Wt}),pe.setState(function(Jt){return{loadingKeys:(0,Tt._5)(Jt.loadingKeys,Qe)}}),Mt()}).catch(function(Et){if(pe.setState(function(Jt){return{loadingKeys:(0,Tt._5)(Jt.loadingKeys,Qe)}}),pe.loadingRetryTimes[Qe]=(pe.loadingRetryTimes[Qe]||0)+1,pe.loadingRetryTimes[Qe]>=yt){var Wt=pe.state.loadedKeys;(0,be.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),pe.setUncontrolledState({loadedKeys:(0,Tt.L0)(Wt,Qe)}),Mt()}Rt(Et)}),{loadingKeys:(0,Tt.L0)($t,Qe)}})});return at.catch(function(){}),at}}),(0,E.Z)((0,re.Z)(pe),"onNodeMouseEnter",function(Se,Be){var Qe=pe.props.onMouseEnter;Qe==null||Qe({event:Se,node:Be})}),(0,E.Z)((0,re.Z)(pe),"onNodeMouseLeave",function(Se,Be){var Qe=pe.props.onMouseLeave;Qe==null||Qe({event:Se,node:Be})}),(0,E.Z)((0,re.Z)(pe),"onNodeContextMenu",function(Se,Be){var Qe=pe.props.onRightClick;Qe&&(Se.preventDefault(),Qe({event:Se,node:Be}))}),(0,E.Z)((0,re.Z)(pe),"onFocus",function(){var Se=pe.props.onFocus;pe.setState({focused:!0});for(var Be=arguments.length,Qe=new Array(Be),it=0;it<Be;it++)Qe[it]=arguments[it];Se==null||Se.apply(void 0,Qe)}),(0,E.Z)((0,re.Z)(pe),"onBlur",function(){var Se=pe.props.onBlur;pe.setState({focused:!1}),pe.onActiveChange(null);for(var Be=arguments.length,Qe=new Array(Be),it=0;it<Be;it++)Qe[it]=arguments[it];Se==null||Se.apply(void 0,Qe)}),(0,E.Z)((0,re.Z)(pe),"getTreeNodeRequiredProps",function(){var Se=pe.state,Be=Se.expandedKeys,Qe=Se.selectedKeys,it=Se.loadedKeys,ot=Se.loadingKeys,at=Se.checkedKeys,Mt=Se.halfCheckedKeys,Rt=Se.dragOverNodeKey,tn=Se.dropPosition,qt=Se.keyEntities;return{expandedKeys:Be||[],selectedKeys:Qe||[],loadedKeys:it||[],loadingKeys:ot||[],checkedKeys:at||[],halfCheckedKeys:Mt||[],dragOverNodeKey:Rt,dropPosition:tn,keyEntities:qt}}),(0,E.Z)((0,re.Z)(pe),"setExpandedKeys",function(Se){var Be=pe.state,Qe=Be.treeData,it=Be.fieldNames,ot=(0,Ne.oH)(Qe,Se,it);pe.setUncontrolledState({expandedKeys:Se,flattenNodes:ot},!0)}),(0,E.Z)((0,re.Z)(pe),"onNodeExpand",function(Se,Be){var Qe=pe.state.expandedKeys,it=pe.state,ot=it.listChanging,at=it.fieldNames,Mt=pe.props,Rt=Mt.onExpand,tn=Mt.loadData,qt=Be.expanded,Bt=Be[at.key];if(!ot){var hn=Qe.includes(Bt),$t=!qt;if((0,be.ZP)(qt&&hn||!qt&&!hn,"Expand state not sync with index check"),Qe=$t?(0,Tt.L0)(Qe,Bt):(0,Tt._5)(Qe,Bt),pe.setExpandedKeys(Qe),Rt==null||Rt(Qe,{node:Be,expanded:$t,nativeEvent:Se.nativeEvent}),$t&&tn){var Ct=pe.onNodeLoad(Be);Ct&&Ct.then(function(){var jt=(0,Ne.oH)(pe.state.treeData,Qe,at);pe.setUncontrolledState({flattenNodes:jt})}).catch(function(){var jt=pe.state.expandedKeys,ln=(0,Tt._5)(jt,Bt);pe.setExpandedKeys(ln)})}}}),(0,E.Z)((0,re.Z)(pe),"onListChangeStart",function(){pe.setUncontrolledState({listChanging:!0})}),(0,E.Z)((0,re.Z)(pe),"onListChangeEnd",function(){setTimeout(function(){pe.setUncontrolledState({listChanging:!1})})}),(0,E.Z)((0,re.Z)(pe),"onActiveChange",function(Se){var Be=pe.state.activeKey,Qe=pe.props,it=Qe.onActiveChange,ot=Qe.itemScrollOffset,at=ot===void 0?0:ot;Be!==Se&&(pe.setState({activeKey:Se}),Se!==null&&pe.scrollTo({key:Se,offset:at}),it==null||it(Se))}),(0,E.Z)((0,re.Z)(pe),"getActiveItem",function(){var Se=pe.state,Be=Se.activeKey,Qe=Se.flattenNodes;return Be===null?null:Qe.find(function(it){var ot=it.key;return ot===Be})||null}),(0,E.Z)((0,re.Z)(pe),"offsetActiveKey",function(Se){var Be=pe.state,Qe=Be.flattenNodes,it=Be.activeKey,ot=Qe.findIndex(function(Rt){var tn=Rt.key;return tn===it});ot===-1&&Se<0&&(ot=Qe.length),ot=(ot+Se+Qe.length)%Qe.length;var at=Qe[ot];if(at){var Mt=at.key;pe.onActiveChange(Mt)}else pe.onActiveChange(null)}),(0,E.Z)((0,re.Z)(pe),"onKeyDown",function(Se){var Be=pe.state,Qe=Be.activeKey,it=Be.expandedKeys,ot=Be.checkedKeys,at=Be.fieldNames,Mt=pe.props,Rt=Mt.onKeyDown,tn=Mt.checkable,qt=Mt.selectable;switch(Se.which){case ge.Z.UP:{pe.offsetActiveKey(-1),Se.preventDefault();break}case ge.Z.DOWN:{pe.offsetActiveKey(1),Se.preventDefault();break}}var Bt=pe.getActiveItem();if(Bt&&Bt.data){var hn=pe.getTreeNodeRequiredProps(),$t=Bt.data.isLeaf===!1||!!(Bt.data[at.children]||[]).length,Ct=(0,Ne.F)((0,we.Z)((0,we.Z)({},(0,Ne.H8)(Qe,hn)),{},{data:Bt.data,active:!0}));switch(Se.which){case ge.Z.LEFT:{$t&&it.includes(Qe)?pe.onNodeExpand({},Ct):Bt.parent&&pe.onActiveChange(Bt.parent.key),Se.preventDefault();break}case ge.Z.RIGHT:{$t&&!it.includes(Qe)?pe.onNodeExpand({},Ct):Bt.children&&Bt.children.length&&pe.onActiveChange(Bt.children[0].key),Se.preventDefault();break}case ge.Z.ENTER:case ge.Z.SPACE:{tn&&!Ct.disabled&&Ct.checkable!==!1&&!Ct.disableCheckbox?pe.onNodeCheck({},Ct,!ot.includes(Qe)):!tn&&qt&&!Ct.disabled&&Ct.selectable!==!1&&pe.onNodeSelect({},Ct);break}}}Rt==null||Rt(Se)}),(0,E.Z)((0,re.Z)(pe),"setUncontrolledState",function(Se){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!pe.destroyed){var it=!1,ot=!0,at={};Object.keys(Se).forEach(function(Mt){if(pe.props.hasOwnProperty(Mt)){ot=!1;return}it=!0,at[Mt]=Se[Mt]}),it&&(!Be||ot)&&pe.setState((0,we.Z)((0,we.Z)({},at),Qe))}}),(0,E.Z)((0,re.Z)(pe),"scrollTo",function(Se){pe.listRef.current.scrollTo(Se)}),pe}return(0,ve.Z)(De,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var x=this.props,me=x.activeKey,Le=x.itemScrollOffset,Se=Le===void 0?0:Le;me!==void 0&&me!==this.state.activeKey&&(this.setState({activeKey:me}),me!==null&&this.scrollTo({key:me,offset:Se}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var x=this.state,me=x.focused,Le=x.flattenNodes,Se=x.keyEntities,Be=x.draggingNodeKey,Qe=x.activeKey,it=x.dropLevelOffset,ot=x.dropContainerKey,at=x.dropTargetKey,Mt=x.dropPosition,Rt=x.dragOverNodeKey,tn=x.indent,qt=this.props,Bt=qt.prefixCls,hn=qt.className,$t=qt.style,Ct=qt.showLine,jt=qt.focusable,ln=qt.tabIndex,yn=ln===void 0?0:ln,Et=qt.selectable,Wt=qt.showIcon,Jt=qt.icon,bn=qt.switcherIcon,kn=qt.draggable,tr=qt.checkable,pr=qt.checkStrictly,xr=qt.disabled,Yn=qt.motion,mr=qt.loadData,Wn=qt.filterTreeNode,xn=qt.height,Pn=qt.itemHeight,Tn=qt.scrollWidth,In=qt.virtual,Kn=qt.titleRender,jn=qt.dropIndicatorRender,nr=qt.onContextMenu,Cr=qt.onScroll,Sr=qt.direction,Er=qt.rootClassName,Nr=qt.rootStyle,Tr=(0,Ce.Z)(this.props,{aria:!0,data:!0}),zr;kn&&((0,oe.Z)(kn)==="object"?zr=kn:typeof kn=="function"?zr={nodeDraggable:kn}:zr={});var Rr={prefixCls:Bt,selectable:Et,showIcon:Wt,icon:Jt,switcherIcon:bn,draggable:zr,draggingNodeKey:Be,checkable:tr,checkStrictly:pr,disabled:xr,keyEntities:Se,dropLevelOffset:it,dropContainerKey:ot,dropTargetKey:at,dropPosition:Mt,dragOverNodeKey:Rt,indent:tn,direction:Sr,dropIndicatorRender:jn,loadData:mr,filterTreeNode:Wn,titleRender:Kn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return le.createElement(Ee.k.Provider,{value:Rr},le.createElement("div",{className:ne()(Bt,hn,Er,(0,E.Z)((0,E.Z)((0,E.Z)({},"".concat(Bt,"-show-line"),Ct),"".concat(Bt,"-focused"),me),"".concat(Bt,"-active-focused"),Qe!==null)),style:Nr},le.createElement(ct,(0,b.Z)({ref:this.listRef,prefixCls:Bt,style:$t,data:Le,disabled:xr,selectable:Et,checkable:!!tr,motion:Yn,dragging:Be!==null,height:xn,itemHeight:Pn,virtual:In,focusable:jt,focused:me,tabIndex:yn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:nr,onScroll:Cr,scrollWidth:Tn},this.getTreeNodeRequiredProps(),Tr))))}}],[{key:"getDerivedStateFromProps",value:function(x,me){var Le=me.prevProps,Se={prevProps:x};function Be(yn){return!Le&&x.hasOwnProperty(yn)||Le&&Le[yn]!==x[yn]}var Qe,it=me.fieldNames;if(Be("fieldNames")&&(it=(0,Ne.w$)(x.fieldNames),Se.fieldNames=it),Be("treeData")?Qe=x.treeData:Be("children")&&((0,be.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Qe=(0,Ne.zn)(x.children)),Qe){Se.treeData=Qe;var ot=(0,Ne.I8)(Qe,{fieldNames:it});Se.keyEntities=(0,we.Z)((0,E.Z)({},Ze,$e),ot.keyEntities)}var at=Se.keyEntities||me.keyEntities;if(Be("expandedKeys")||Le&&Be("autoExpandParent"))Se.expandedKeys=x.autoExpandParent||!Le&&x.defaultExpandParent?(0,Tt.r7)(x.expandedKeys,at):x.expandedKeys;else if(!Le&&x.defaultExpandAll){var Mt=(0,we.Z)({},at);delete Mt[Ze];var Rt=[];Object.keys(Mt).forEach(function(yn){var Et=Mt[yn];Et.children&&Et.children.length&&Rt.push(Et.key)}),Se.expandedKeys=Rt}else!Le&&x.defaultExpandedKeys&&(Se.expandedKeys=x.autoExpandParent||x.defaultExpandParent?(0,Tt.r7)(x.defaultExpandedKeys,at):x.defaultExpandedKeys);if(Se.expandedKeys||delete Se.expandedKeys,Qe||Se.expandedKeys){var tn=(0,Ne.oH)(Qe||me.treeData,Se.expandedKeys||me.expandedKeys,it);Se.flattenNodes=tn}if(x.selectable&&(Be("selectedKeys")?Se.selectedKeys=(0,Tt.BT)(x.selectedKeys,x):!Le&&x.defaultSelectedKeys&&(Se.selectedKeys=(0,Tt.BT)(x.defaultSelectedKeys,x))),x.checkable){var qt;if(Be("checkedKeys")?qt=(0,Tt.E6)(x.checkedKeys)||{}:!Le&&x.defaultCheckedKeys?qt=(0,Tt.E6)(x.defaultCheckedKeys)||{}:Qe&&(qt=(0,Tt.E6)(x.checkedKeys)||{checkedKeys:me.checkedKeys,halfCheckedKeys:me.halfCheckedKeys}),qt){var Bt=qt,hn=Bt.checkedKeys,$t=hn===void 0?[]:hn,Ct=Bt.halfCheckedKeys,jt=Ct===void 0?[]:Ct;if(!x.checkStrictly){var ln=(0,xt.S)($t,!0,at);$t=ln.checkedKeys,jt=ln.halfCheckedKeys}Se.checkedKeys=$t,Se.halfCheckedKeys=jt}}return Be("loadedKeys")&&(Se.loadedKeys=x.loadedKeys),Se}}]),De}(le.Component);(0,E.Z)(je,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Ie,allowDrop:function(){return!0},expandAction:!1}),(0,E.Z)(je,"TreeNode",Oe.Z);var ue=je,ie=ue},82661:function(_n,pn,ae){"use strict";ae.d(pn,{BT:function(){return le},E6:function(){return Ie},L0:function(){return E},OM:function(){return be},_5:function(){return fe},r7:function(){return Re},wA:function(){return ne},yx:function(){return te}});var b=ae(77654),oe=ae(43749),we=ae(48736),Ae=ae(59301),de=ae(639),ve=ae(65065),re=ae(34061),se=null;function fe(Me,ye){if(!Me)return[];var Te=Me.slice(),Fe=Te.indexOf(ye);return Fe>=0&&Te.splice(Fe,1),Te}function E(Me,ye){var Te=(Me||[]).slice();return Te.indexOf(ye)===-1&&Te.push(ye),Te}function te(Me){return Me.split("-")}function ne(Me,ye){var Te=[],Fe=(0,ve.Z)(ye,Me);function _e(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Oe.forEach(function(Ke){var We=Ke.key,Ne=Ke.children;Te.push(We),_e(Ne)})}return _e(Fe.children),Te}function ge(Me){if(Me.parent){var ye=te(Me.pos);return Number(ye[ye.length-1])===Me.parent.children.length-1}return!1}function Ce(Me){var ye=te(Me.pos);return Number(ye[ye.length-1])===0}function be(Me,ye,Te,Fe,_e,Oe,Ke,We,Ne,Ye){var Je,He=Me.clientX,lt=Me.clientY,ft=Me.target.getBoundingClientRect(),tt=ft.top,Ot=ft.height,nt=(Ye==="rtl"?-1:1)*(((_e==null?void 0:_e.x)||0)-He),Ze=(nt-12)/Fe,Ge=Ne.filter(function(ie){var ke;return(ke=We[ie])===null||ke===void 0||(ke=ke.children)===null||ke===void 0?void 0:ke.length}),$e=(0,ve.Z)(We,Te.eventKey);if(lt<tt+Ot/2){var qe=Ke.findIndex(function(ie){return ie.key===$e.key}),Ve=qe<=0?0:qe-1,mt=Ke[Ve].key;$e=(0,ve.Z)(We,mt)}var st=$e.key,Lt=$e,ct=$e.key,Tt=0,xt=0;if(!Ge.includes(st))for(var wt=0;wt<Ze&&ge($e);wt+=1)$e=$e.parent,xt+=1;var yt=ye.data,je=$e.node,ue=!0;return Ce($e)&&$e.level===0&&lt<tt+Ot/2&&Oe({dragNode:yt,dropNode:je,dropPosition:-1})&&$e.key===Te.eventKey?Tt=-1:(Lt.children||[]).length&&Ge.includes(ct)?Oe({dragNode:yt,dropNode:je,dropPosition:0})?Tt=0:ue=!1:xt===0?Ze>-1.5?Oe({dragNode:yt,dropNode:je,dropPosition:1})?Tt=1:ue=!1:Oe({dragNode:yt,dropNode:je,dropPosition:0})?Tt=0:Oe({dragNode:yt,dropNode:je,dropPosition:1})?Tt=1:ue=!1:Oe({dragNode:yt,dropNode:je,dropPosition:1})?Tt=1:ue=!1,{dropPosition:Tt,dropLevelOffset:xt,dropTargetKey:$e.key,dropTargetPos:$e.pos,dragOverNodeKey:ct,dropContainerKey:Tt===0?null:((Je=$e.parent)===null||Je===void 0?void 0:Je.key)||null,dropAllowed:ue}}function le(Me,ye){if(Me){var Te=ye.multiple;return Te?Me.slice():Me.length?[Me[0]]:Me}}var Ee=function(ye){return ye};function Pe(Me,ye){if(!Me)return[];var Te=ye||{},Fe=Te.processProps,_e=Fe===void 0?Ee:Fe,Oe=Array.isArray(Me)?Me:[Me];return Oe.map(function(Ke){var We=Ke.children,Ne=_objectWithoutProperties(Ke,se),Ye=Pe(We,ye);return React.createElement(TreeNode,_extends({key:Ne.key},_e(Ne)),Ye)})}function Ie(Me){if(!Me)return null;var ye;if(Array.isArray(Me))ye={checkedKeys:Me,halfCheckedKeys:void 0};else if((0,oe.Z)(Me)==="object")ye={checkedKeys:Me.checked||void 0,halfCheckedKeys:Me.halfChecked||void 0};else return(0,we.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ye}function Re(Me,ye){var Te=new Set;function Fe(_e){if(!Te.has(_e)){var Oe=(0,ve.Z)(ye,_e);if(Oe){Te.add(_e);var Ke=Oe.parent,We=Oe.node;We.disabled||Ke&&Fe(Ke.key)}}}return(Me||[]).forEach(function(_e){Fe(_e)}),(0,b.Z)(Te)}},34643:function(_n,pn,ae){"use strict";ae.d(pn,{S:function(){return re}});var b=ae(48736),oe=ae(65065);function we(se,fe){var E=new Set;return se.forEach(function(te){fe.has(te)||E.add(te)}),E}function Ae(se){var fe=se||{},E=fe.disabled,te=fe.disableCheckbox,ne=fe.checkable;return!!(E||te)||ne===!1}function de(se,fe,E,te){for(var ne=new Set(se),ge=new Set,Ce=0;Ce<=E;Ce+=1){var be=fe.get(Ce)||new Set;be.forEach(function(Ie){var Re=Ie.key,Me=Ie.node,ye=Ie.children,Te=ye===void 0?[]:ye;ne.has(Re)&&!te(Me)&&Te.filter(function(Fe){return!te(Fe.node)}).forEach(function(Fe){ne.add(Fe.key)})})}for(var le=new Set,Ee=E;Ee>=0;Ee-=1){var Pe=fe.get(Ee)||new Set;Pe.forEach(function(Ie){var Re=Ie.parent,Me=Ie.node;if(!(te(Me)||!Ie.parent||le.has(Ie.parent.key))){if(te(Ie.parent.node)){le.add(Re.key);return}var ye=!0,Te=!1;(Re.children||[]).filter(function(Fe){return!te(Fe.node)}).forEach(function(Fe){var _e=Fe.key,Oe=ne.has(_e);ye&&!Oe&&(ye=!1),!Te&&(Oe||ge.has(_e))&&(Te=!0)}),ye&&ne.add(Re.key),Te&&ge.add(Re.key),le.add(Re.key)}})}return{checkedKeys:Array.from(ne),halfCheckedKeys:Array.from(we(ge,ne))}}function ve(se,fe,E,te,ne){for(var ge=new Set(se),Ce=new Set(fe),be=0;be<=te;be+=1){var le=E.get(be)||new Set;le.forEach(function(Re){var Me=Re.key,ye=Re.node,Te=Re.children,Fe=Te===void 0?[]:Te;!ge.has(Me)&&!Ce.has(Me)&&!ne(ye)&&Fe.filter(function(_e){return!ne(_e.node)}).forEach(function(_e){ge.delete(_e.key)})})}Ce=new Set;for(var Ee=new Set,Pe=te;Pe>=0;Pe-=1){var Ie=E.get(Pe)||new Set;Ie.forEach(function(Re){var Me=Re.parent,ye=Re.node;if(!(ne(ye)||!Re.parent||Ee.has(Re.parent.key))){if(ne(Re.parent.node)){Ee.add(Me.key);return}var Te=!0,Fe=!1;(Me.children||[]).filter(function(_e){return!ne(_e.node)}).forEach(function(_e){var Oe=_e.key,Ke=ge.has(Oe);Te&&!Ke&&(Te=!1),!Fe&&(Ke||Ce.has(Oe))&&(Fe=!0)}),Te||ge.delete(Me.key),Fe&&Ce.add(Me.key),Ee.add(Me.key)}})}return{checkedKeys:Array.from(ge),halfCheckedKeys:Array.from(we(Ce,ge))}}function re(se,fe,E,te){var ne=[],ge;te?ge=te:ge=Ae;var Ce=new Set(se.filter(function(Pe){var Ie=!!(0,oe.Z)(E,Pe);return Ie||ne.push(Pe),Ie})),be=new Map,le=0;Object.keys(E).forEach(function(Pe){var Ie=E[Pe],Re=Ie.level,Me=be.get(Re);Me||(Me=new Set,be.set(Re,Me)),Me.add(Ie),le=Math.max(le,Re)}),(0,b.ZP)(!ne.length,"Tree missing follow keys: ".concat(ne.slice(0,100).map(function(Pe){return"'".concat(Pe,"'")}).join(", ")));var Ee;return fe===!0?Ee=de(Ce,be,le,ge):Ee=ve(Ce,fe.halfCheckedKeys,be,le,ge),Ee}},65065:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return b}});function b(oe,we){return oe[we]}},34061:function(_n,pn,ae){"use strict";ae.d(pn,{F:function(){return Re},H8:function(){return Ie},I8:function(){return Pe},km:function(){return ne},oH:function(){return le},w$:function(){return ge},zn:function(){return be}});var b=ae(43749),oe=ae(77654),we=ae(85899),Ae=ae(42244),de=ae(11592),ve=ae(2738),re=ae(48736),se=ae(65065),fe=["children"];function E(Me,ye){return"".concat(Me,"-").concat(ye)}function te(Me){return Me&&Me.type&&Me.type.isTreeNode}function ne(Me,ye){return Me!=null?Me:ye}function ge(Me){var ye=Me||{},Te=ye.title,Fe=ye._title,_e=ye.key,Oe=ye.children,Ke=Te||"title";return{title:Ke,_title:Fe||[Ke],key:_e||"key",children:Oe||"children"}}function Ce(Me,ye){var Te=new Map;function Fe(_e){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(_e||[]).forEach(function(Ke){var We=Ke[ye.key],Ne=Ke[ye.children];warning(We!=null,"Tree node must have a certain key: [".concat(Oe).concat(We,"]"));var Ye=String(We);warning(!Te.has(Ye)||We===null||We===void 0,"Same 'key' exist in the Tree: ".concat(Ye)),Te.set(Ye,!0),Fe(Ne,"".concat(Oe).concat(Ye," > "))})}Fe(Me)}function be(Me){function ye(Te){var Fe=(0,de.Z)(Te);return Fe.map(function(_e){if(!te(_e))return(0,re.ZP)(!_e,"Tree/TreeNode can only accept TreeNode as children."),null;var Oe=_e.key,Ke=_e.props,We=Ke.children,Ne=(0,Ae.Z)(Ke,fe),Ye=(0,we.Z)({key:Oe},Ne),Je=ye(We);return Je.length&&(Ye.children=Je),Ye}).filter(function(_e){return _e})}return ye(Me)}function le(Me,ye,Te){var Fe=ge(Te),_e=Fe._title,Oe=Fe.key,Ke=Fe.children,We=new Set(ye===!0?[]:ye),Ne=[];function Ye(Je){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Je.map(function(lt,ft){for(var tt=E(He?He.pos:"0",ft),Ot=ne(lt[Oe],tt),nt,Ze=0;Ze<_e.length;Ze+=1){var Ge=_e[Ze];if(lt[Ge]!==void 0){nt=lt[Ge];break}}var $e=Object.assign((0,ve.Z)(lt,[].concat((0,oe.Z)(_e),[Oe,Ke])),{title:nt,key:Ot,parent:He,pos:tt,children:null,data:lt,isStart:[].concat((0,oe.Z)(He?He.isStart:[]),[ft===0]),isEnd:[].concat((0,oe.Z)(He?He.isEnd:[]),[ft===Je.length-1])});return Ne.push($e),ye===!0||We.has(Ot)?$e.children=Ye(lt[Ke]||[],$e):$e.children=[],$e})}return Ye(Me),Ne}function Ee(Me,ye,Te){var Fe={};(0,b.Z)(Te)==="object"?Fe=Te:Fe={externalGetKey:Te},Fe=Fe||{};var _e=Fe,Oe=_e.childrenPropName,Ke=_e.externalGetKey,We=_e.fieldNames,Ne=ge(We),Ye=Ne.key,Je=Ne.children,He=Oe||Je,lt;Ke?typeof Ke=="string"?lt=function(Ot){return Ot[Ke]}:typeof Ke=="function"&&(lt=function(Ot){return Ke(Ot)}):lt=function(Ot,nt){return ne(Ot[Ye],nt)};function ft(tt,Ot,nt,Ze){var Ge=tt?tt[He]:Me,$e=tt?E(nt.pos,Ot):"0",qe=tt?[].concat((0,oe.Z)(Ze),[tt]):[];if(tt){var Ve=lt(tt,$e),mt={node:tt,index:Ot,pos:$e,key:Ve,parentPos:nt.node?nt.pos:null,level:nt.level+1,nodes:qe};ye(mt)}Ge&&Ge.forEach(function(st,Lt){ft(st,Lt,{node:tt,pos:$e,level:nt?nt.level+1:-1},qe)})}ft(null)}function Pe(Me){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Te=ye.initWrapper,Fe=ye.processEntity,_e=ye.onProcessFinished,Oe=ye.externalGetKey,Ke=ye.childrenPropName,We=ye.fieldNames,Ne=arguments.length>2?arguments[2]:void 0,Ye=Oe||Ne,Je={},He={},lt={posEntities:Je,keyEntities:He};return Te&&(lt=Te(lt)||lt),Ee(Me,function(ft){var tt=ft.node,Ot=ft.index,nt=ft.pos,Ze=ft.key,Ge=ft.parentPos,$e=ft.level,qe=ft.nodes,Ve={node:tt,nodes:qe,index:Ot,key:Ze,pos:nt,level:$e},mt=ne(Ze,nt);Je[nt]=Ve,He[mt]=Ve,Ve.parent=Je[Ge],Ve.parent&&(Ve.parent.children=Ve.parent.children||[],Ve.parent.children.push(Ve)),Fe&&Fe(Ve,lt)},{externalGetKey:Ye,childrenPropName:Ke,fieldNames:We}),_e&&_e(lt),lt}function Ie(Me,ye){var Te=ye.expandedKeys,Fe=ye.selectedKeys,_e=ye.loadedKeys,Oe=ye.loadingKeys,Ke=ye.checkedKeys,We=ye.halfCheckedKeys,Ne=ye.dragOverNodeKey,Ye=ye.dropPosition,Je=ye.keyEntities,He=(0,se.Z)(Je,Me),lt={eventKey:Me,expanded:Te.indexOf(Me)!==-1,selected:Fe.indexOf(Me)!==-1,loaded:_e.indexOf(Me)!==-1,loading:Oe.indexOf(Me)!==-1,checked:Ke.indexOf(Me)!==-1,halfChecked:We.indexOf(Me)!==-1,pos:String(He?He.pos:""),dragOver:Ne===Me&&Ye===0,dragOverGapTop:Ne===Me&&Ye===-1,dragOverGapBottom:Ne===Me&&Ye===1};return lt}function Re(Me){var ye=Me.data,Te=Me.expanded,Fe=Me.selected,_e=Me.checked,Oe=Me.loaded,Ke=Me.loading,We=Me.halfChecked,Ne=Me.dragOver,Ye=Me.dragOverGapTop,Je=Me.dragOverGapBottom,He=Me.pos,lt=Me.active,ft=Me.eventKey,tt=(0,we.Z)((0,we.Z)({},ye),{},{expanded:Te,selected:Fe,checked:_e,loaded:Oe,loading:Ke,halfChecked:We,dragOver:Ne,dragOverGapTop:Ye,dragOverGapBottom:Je,pos:He,active:lt,key:ft});return"props"in tt||Object.defineProperty(tt,"props",{get:function(){return(0,re.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Me}}),tt}},8224:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return oe}});var b=ae(4676);function oe(we,Ae,de,ve){var re=b.unstable_batchedUpdates?function(fe){b.unstable_batchedUpdates(de,fe)}:de;return we!=null&&we.addEventListener&&we.addEventListener(Ae,re,ve),{remove:function(){we!=null&&we.removeEventListener&&we.removeEventListener(Ae,re,ve)}}}},24514:function(_n,pn,ae){"use strict";ae.d(pn,{G:function(){return Ae}});var b=ae(47273),oe=function(ve){if((0,b.Z)()&&window.document.documentElement){var re=Array.isArray(ve)?ve:[ve],se=window.document.documentElement;return re.some(function(fe){return fe in se.style})}return!1},we=function(ve,re){if(!oe(ve))return!1;var se=document.createElement("div"),fe=se.style[ve];return se.style[ve]=re,se.style[ve]!==fe};function Ae(de,ve){return!Array.isArray(de)&&ve!==void 0?we(de,ve):oe(de)}},48911:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return yt}});var b=ae(60499),oe=ae(43749),we=ae(85899),Ae=ae(18642),de=ae(72190),ve=ae(42244),re=ae(92310),se=ae.n(re),fe=ae(29301),E=ae(70425),te=ae(34280),ne=ae(59301),ge=ae(4676),Ce=ne.forwardRef(function(je,ue){var ie=je.height,ke=je.offsetY,Xe=je.offsetX,De=je.children,pe=je.prefixCls,x=je.onInnerResize,me=je.innerProps,Le=je.rtl,Se=je.extra,Be={},Qe={display:"flex",flexDirection:"column"};return ke!==void 0&&(Be={height:ie,position:"relative",overflow:"hidden"},Qe=(0,we.Z)((0,we.Z)({},Qe),{},(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({transform:"translateY(".concat(ke,"px)")},Le?"marginRight":"marginLeft",-Xe),"position","absolute"),"left",0),"right",0),"top",0))),ne.createElement("div",{style:Be},ne.createElement(fe.Z,{onResize:function(ot){var at=ot.offsetHeight;at&&x&&x()}},ne.createElement("div",(0,b.Z)({style:Qe,className:se()((0,Ae.Z)({},"".concat(pe,"-holder-inner"),pe)),ref:ue},me),De,Se)))});Ce.displayName="Filler";var be=Ce;function le(je){var ue=je.children,ie=je.setRef,ke=ne.useCallback(function(Xe){ie(Xe)},[]);return ne.cloneElement(ue,{ref:ke})}function Ee(je,ue,ie,ke,Xe,De,pe,x){var me=x.getKey;return je.slice(ue,ie+1).map(function(Le,Se){var Be=ue+Se,Qe=pe(Le,Be,{style:{width:ke},offsetX:Xe}),it=me(Le);return ne.createElement(le,{key:it,setRef:function(at){return De(Le,at)}},Qe)})}function Pe(je,ue,ie,ke){var Xe=ie-je,De=ue-ie,pe=Math.min(Xe,De)*2;if(ke<=pe){var x=Math.floor(ke/2);return ke%2?ie+x+1:ie-x}return Xe>De?ie-(ke-De):ie+(ke-Xe)}function Ie(je,ue,ie){var ke=je.length,Xe=ue.length,De,pe;if(ke===0&&Xe===0)return null;ke<Xe?(De=je,pe=ue):(De=ue,pe=je);var x={__EMPTY_ITEM__:!0};function me(ot){return ot!==void 0?ie(ot):x}for(var Le=null,Se=Math.abs(ke-Xe)!==1,Be=0;Be<pe.length;Be+=1){var Qe=me(De[Be]),it=me(pe[Be]);if(Qe!==it){Le=Be,Se=Se||Qe!==me(pe[Be+1]);break}}return Le===null?null:{index:Le,multiple:Se}}function Re(je,ue,ie){var ke=ne.useState(je),Xe=(0,de.Z)(ke,2),De=Xe[0],pe=Xe[1],x=ne.useState(null),me=(0,de.Z)(x,2),Le=me[0],Se=me[1];return ne.useEffect(function(){var Be=Ie(De||[],je||[],ue);(Be==null?void 0:Be.index)!==void 0&&(ie==null||ie(Be.index),Se(je[Be.index])),pe(je)},[je]),[Le]}var Me=ae(16089),ye=(typeof navigator=="undefined"?"undefined":(0,oe.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Te=ye,Fe=function(je,ue,ie,ke){var Xe=(0,ne.useRef)(!1),De=(0,ne.useRef)(null);function pe(){clearTimeout(De.current),Xe.current=!0,De.current=setTimeout(function(){Xe.current=!1},50)}var x=(0,ne.useRef)({top:je,bottom:ue,left:ie,right:ke});return x.current.top=je,x.current.bottom=ue,x.current.left=ie,x.current.right=ke,function(me,Le){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Be=me?Le<0&&x.current.left||Le>0&&x.current.right:Le<0&&x.current.top||Le>0&&x.current.bottom;return Se&&Be?(clearTimeout(De.current),Xe.current=!1):(!Be||Xe.current)&&pe(),!Xe.current&&Be}};function _e(je,ue,ie,ke,Xe,De,pe){var x=(0,ne.useRef)(0),me=(0,ne.useRef)(null),Le=(0,ne.useRef)(null),Se=(0,ne.useRef)(!1),Be=Fe(ue,ie,ke,Xe);function Qe(tn,qt){if(Me.Z.cancel(me.current),!Be(!1,qt)){var Bt=tn;if(!Bt._virtualHandled)Bt._virtualHandled=!0;else return;x.current+=qt,Le.current=qt,Te||Bt.preventDefault(),me.current=(0,Me.Z)(function(){var hn=Se.current?10:1;pe(x.current*hn,!1),x.current=0})}}function it(tn,qt){pe(qt,!0),Te||tn.preventDefault()}var ot=(0,ne.useRef)(null),at=(0,ne.useRef)(null);function Mt(tn){if(je){Me.Z.cancel(at.current),at.current=(0,Me.Z)(function(){ot.current=null},2);var qt=tn.deltaX,Bt=tn.deltaY,hn=tn.shiftKey,$t=qt,Ct=Bt;(ot.current==="sx"||!ot.current&&hn&&Bt&&!qt)&&($t=Bt,Ct=0,ot.current="sx");var jt=Math.abs($t),ln=Math.abs(Ct);ot.current===null&&(ot.current=De&&jt>ln?"x":"y"),ot.current==="y"?Qe(tn,Ct):it(tn,$t)}}function Rt(tn){je&&(Se.current=tn.detail===Le.current)}return[Mt,Rt]}function Oe(je,ue,ie,ke){var Xe=ne.useMemo(function(){return[new Map,[]]},[je,ie.id,ke]),De=(0,de.Z)(Xe,2),pe=De[0],x=De[1],me=function(Se){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se,Qe=pe.get(Se),it=pe.get(Be);if(Qe===void 0||it===void 0)for(var ot=je.length,at=x.length;at<ot;at+=1){var Mt,Rt=je[at],tn=ue(Rt);pe.set(tn,at);var qt=(Mt=ie.get(tn))!==null&&Mt!==void 0?Mt:ke;if(x[at]=(x[at-1]||0)+qt,tn===Se&&(Qe=at),tn===Be&&(it=at),Qe!==void 0&&it!==void 0)break}return{top:x[Qe-1]||0,bottom:x[it]}};return me}var Ke=ae(38705),We=ae(17212),Ne=function(){function je(){(0,Ke.Z)(this,je),(0,Ae.Z)(this,"maps",void 0),(0,Ae.Z)(this,"id",0),(0,Ae.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,We.Z)(je,[{key:"set",value:function(ie,ke){this.diffRecords.set(ie,this.maps[ie]),this.maps[ie]=ke,this.id+=1}},{key:"get",value:function(ie){return this.maps[ie]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),je}(),Ye=Ne;function Je(je){var ue=parseFloat(je);return isNaN(ue)?0:ue}function He(je,ue,ie){var ke=ne.useState(0),Xe=(0,de.Z)(ke,2),De=Xe[0],pe=Xe[1],x=(0,ne.useRef)(new Map),me=(0,ne.useRef)(new Ye),Le=(0,ne.useRef)(0);function Se(){Le.current+=1}function Be(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Se();var ot=function(){var Rt=!1;x.current.forEach(function(tn,qt){if(tn&&tn.offsetParent){var Bt=tn.offsetHeight,hn=getComputedStyle(tn),$t=hn.marginTop,Ct=hn.marginBottom,jt=Je($t),ln=Je(Ct),yn=Bt+jt+ln;me.current.get(qt)!==yn&&(me.current.set(qt,yn),Rt=!0)}}),Rt&&pe(function(tn){return tn+1})};if(it)ot();else{Le.current+=1;var at=Le.current;Promise.resolve().then(function(){at===Le.current&&ot()})}}function Qe(it,ot){var at=je(it),Mt=x.current.get(at);ot?(x.current.set(at,ot),Be()):x.current.delete(at),!Mt!=!ot&&(ot?ue==null||ue(it):ie==null||ie(it))}return(0,ne.useEffect)(function(){return Se},[]),[Qe,Be,me.current,De]}var lt=14/15;function ft(je,ue,ie){var ke=(0,ne.useRef)(!1),Xe=(0,ne.useRef)(0),De=(0,ne.useRef)(0),pe=(0,ne.useRef)(null),x=(0,ne.useRef)(null),me,Le=function(it){if(ke.current){var ot=Math.ceil(it.touches[0].pageX),at=Math.ceil(it.touches[0].pageY),Mt=Xe.current-ot,Rt=De.current-at,tn=Math.abs(Mt)>Math.abs(Rt);tn?Xe.current=ot:De.current=at;var qt=ie(tn,tn?Mt:Rt,!1,it);qt&&it.preventDefault(),clearInterval(x.current),qt&&(x.current=setInterval(function(){tn?Mt*=lt:Rt*=lt;var Bt=Math.floor(tn?Mt:Rt);(!ie(tn,Bt,!0)||Math.abs(Bt)<=.1)&&clearInterval(x.current)},16))}},Se=function(){ke.current=!1,me()},Be=function(it){me(),it.touches.length===1&&!ke.current&&(ke.current=!0,Xe.current=Math.ceil(it.touches[0].pageX),De.current=Math.ceil(it.touches[0].pageY),pe.current=it.target,pe.current.addEventListener("touchmove",Le,{passive:!1}),pe.current.addEventListener("touchend",Se,{passive:!0}))};me=function(){pe.current&&(pe.current.removeEventListener("touchmove",Le),pe.current.removeEventListener("touchend",Se))},(0,te.Z)(function(){return je&&ue.current.addEventListener("touchstart",Be,{passive:!0}),function(){var Qe;(Qe=ue.current)===null||Qe===void 0||Qe.removeEventListener("touchstart",Be),me(),clearInterval(x.current)}},[je])}function tt(je){return Math.floor(Math.pow(je,.5))}function Ot(je,ue){var ie="touches"in je?je.touches[0]:je;return ie[ue?"pageX":"pageY"]-window[ue?"scrollX":"scrollY"]}function nt(je,ue,ie){ne.useEffect(function(){var ke=ue.current;if(je&&ke){var Xe=!1,De,pe,x=function(){Me.Z.cancel(De)},me=function Qe(){x(),De=(0,Me.Z)(function(){ie(pe),Qe()})},Le=function(){Xe=!1,x()},Se=function(it){if(!(it.target.draggable||it.button!==0)){var ot=it;ot._virtualHandled||(ot._virtualHandled=!0,Xe=!0)}},Be=function(it){if(Xe){var ot=Ot(it,!1),at=ke.getBoundingClientRect(),Mt=at.top,Rt=at.bottom;if(ot<=Mt){var tn=Mt-ot;pe=-tt(tn),me()}else if(ot>=Rt){var qt=ot-Rt;pe=tt(qt),me()}else x()}};return ke.addEventListener("mousedown",Se),ke.ownerDocument.addEventListener("mouseup",Le),ke.ownerDocument.addEventListener("mousemove",Be),ke.ownerDocument.addEventListener("dragend",Le),function(){ke.removeEventListener("mousedown",Se),ke.ownerDocument.removeEventListener("mouseup",Le),ke.ownerDocument.removeEventListener("mousemove",Be),ke.ownerDocument.removeEventListener("dragend",Le),x()}}},[je])}var Ze=10;function Ge(je,ue,ie,ke,Xe,De,pe,x){var me=ne.useRef(),Le=ne.useState(null),Se=(0,de.Z)(Le,2),Be=Se[0],Qe=Se[1];return(0,te.Z)(function(){if(Be&&Be.times<Ze){if(!je.current){Qe(function(Yn){return(0,we.Z)({},Yn)});return}De();var it=Be.targetAlign,ot=Be.originAlign,at=Be.index,Mt=Be.offset,Rt=je.current.clientHeight,tn=!1,qt=it,Bt=null;if(Rt){for(var hn=it||ot,$t=0,Ct=0,jt=0,ln=Math.min(ue.length-1,at),yn=0;yn<=ln;yn+=1){var Et=Xe(ue[yn]);Ct=$t;var Wt=ie.get(Et);jt=Ct+(Wt===void 0?ke:Wt),$t=jt}for(var Jt=hn==="top"?Mt:Rt-Mt,bn=ln;bn>=0;bn-=1){var kn=Xe(ue[bn]),tr=ie.get(kn);if(tr===void 0){tn=!0;break}if(Jt-=tr,Jt<=0)break}switch(hn){case"top":Bt=Ct-Mt;break;case"bottom":Bt=jt-Rt+Mt;break;default:{var pr=je.current.scrollTop,xr=pr+Rt;Ct<pr?qt="top":jt>xr&&(qt="bottom")}}Bt!==null&&pe(Bt),Bt!==Be.lastTop&&(tn=!0)}tn&&Qe((0,we.Z)((0,we.Z)({},Be),{},{times:Be.times+1,targetAlign:qt,lastTop:Bt}))}},[Be,je.current]),function(it){if(it==null){x();return}if(Me.Z.cancel(me.current),typeof it=="number")pe(it);else if(it&&(0,oe.Z)(it)==="object"){var ot,at=it.align;"index"in it?ot=it.index:ot=ue.findIndex(function(tn){return Xe(tn)===it.key});var Mt=it.offset,Rt=Mt===void 0?0:Mt;Qe({times:0,index:ot,offset:Rt,originAlign:at})}}}var $e=ne.forwardRef(function(je,ue){var ie=je.prefixCls,ke=je.rtl,Xe=je.scrollOffset,De=je.scrollRange,pe=je.onStartMove,x=je.onStopMove,me=je.onScroll,Le=je.horizontal,Se=je.spinSize,Be=je.containerSize,Qe=je.style,it=je.thumbStyle,ot=je.showScrollBar,at=ne.useState(!1),Mt=(0,de.Z)(at,2),Rt=Mt[0],tn=Mt[1],qt=ne.useState(null),Bt=(0,de.Z)(qt,2),hn=Bt[0],$t=Bt[1],Ct=ne.useState(null),jt=(0,de.Z)(Ct,2),ln=jt[0],yn=jt[1],Et=!ke,Wt=ne.useRef(),Jt=ne.useRef(),bn=ne.useState(ot),kn=(0,de.Z)(bn,2),tr=kn[0],pr=kn[1],xr=ne.useRef(),Yn=function(){ot===!0||ot===!1||(clearTimeout(xr.current),pr(!0),xr.current=setTimeout(function(){pr(!1)},3e3))},mr=De-Be||0,Wn=Be-Se||0,xn=ne.useMemo(function(){if(Xe===0||mr===0)return 0;var Er=Xe/mr;return Er*Wn},[Xe,mr,Wn]),Pn=function(Nr){Nr.stopPropagation(),Nr.preventDefault()},Tn=ne.useRef({top:xn,dragging:Rt,pageY:hn,startTop:ln});Tn.current={top:xn,dragging:Rt,pageY:hn,startTop:ln};var In=function(Nr){tn(!0),$t(Ot(Nr,Le)),yn(Tn.current.top),pe(),Nr.stopPropagation(),Nr.preventDefault()};ne.useEffect(function(){var Er=function(Rr){Rr.preventDefault()},Nr=Wt.current,Tr=Jt.current;return Nr.addEventListener("touchstart",Er,{passive:!1}),Tr.addEventListener("touchstart",In,{passive:!1}),function(){Nr.removeEventListener("touchstart",Er),Tr.removeEventListener("touchstart",In)}},[]);var Kn=ne.useRef();Kn.current=mr;var jn=ne.useRef();jn.current=Wn,ne.useEffect(function(){if(Rt){var Er,Nr=function(Rr){var Ln=Tn.current,Qn=Ln.dragging,Ar=Ln.pageY,wr=Ln.startTop;Me.Z.cancel(Er);var zt=Wt.current.getBoundingClientRect(),It=Be/(Le?zt.width:zt.height);if(Qn){var Dt=(Ot(Rr,Le)-Ar)*It,Vt=wr;!Et&&Le?Vt-=Dt:Vt+=Dt;var Nt=Kn.current,Kt=jn.current,ut=Kt?Vt/Kt:0,Qt=Math.ceil(ut*Nt);Qt=Math.max(Qt,0),Qt=Math.min(Qt,Nt),Er=(0,Me.Z)(function(){me(Qt,Le)})}},Tr=function(){tn(!1),x()};return window.addEventListener("mousemove",Nr,{passive:!0}),window.addEventListener("touchmove",Nr,{passive:!0}),window.addEventListener("mouseup",Tr,{passive:!0}),window.addEventListener("touchend",Tr,{passive:!0}),function(){window.removeEventListener("mousemove",Nr),window.removeEventListener("touchmove",Nr),window.removeEventListener("mouseup",Tr),window.removeEventListener("touchend",Tr),Me.Z.cancel(Er)}}},[Rt]),ne.useEffect(function(){return Yn(),function(){clearTimeout(xr.current)}},[Xe]),ne.useImperativeHandle(ue,function(){return{delayHidden:Yn}});var nr="".concat(ie,"-scrollbar"),Cr={position:"absolute",visibility:tr?null:"hidden"},Sr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Le?(Object.assign(Cr,{height:8,left:0,right:0,bottom:0}),Object.assign(Sr,(0,Ae.Z)({height:"100%",width:Se},Et?"left":"right",xn))):(Object.assign(Cr,(0,Ae.Z)({width:8,top:0,bottom:0},Et?"right":"left",0)),Object.assign(Sr,{width:"100%",height:Se,top:xn})),ne.createElement("div",{ref:Wt,className:se()(nr,(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},"".concat(nr,"-horizontal"),Le),"".concat(nr,"-vertical"),!Le),"".concat(nr,"-visible"),tr)),style:(0,we.Z)((0,we.Z)({},Cr),Qe),onMouseDown:Pn,onMouseMove:Yn},ne.createElement("div",{ref:Jt,className:se()("".concat(nr,"-thumb"),(0,Ae.Z)({},"".concat(nr,"-thumb-moving"),Rt)),style:(0,we.Z)((0,we.Z)({},Sr),it),onMouseDown:In}))}),qe=$e,Ve=20;function mt(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ie=je/ue*je;return isNaN(ie)&&(ie=0),ie=Math.max(ie,Ve),Math.floor(ie)}var st=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Lt=[],ct={overflowY:"auto",overflowAnchor:"none"};function Tt(je,ue){var ie=je.prefixCls,ke=ie===void 0?"rc-virtual-list":ie,Xe=je.className,De=je.height,pe=je.itemHeight,x=je.fullHeight,me=x===void 0?!0:x,Le=je.style,Se=je.data,Be=je.children,Qe=je.itemKey,it=je.virtual,ot=je.direction,at=je.scrollWidth,Mt=je.component,Rt=Mt===void 0?"div":Mt,tn=je.onScroll,qt=je.onVirtualScroll,Bt=je.onVisibleChange,hn=je.innerProps,$t=je.extraRender,Ct=je.styles,jt=je.showScrollBar,ln=jt===void 0?"optional":jt,yn=(0,ve.Z)(je,st),Et=ne.useCallback(function(Jn){return typeof Qe=="function"?Qe(Jn):Jn==null?void 0:Jn[Qe]},[Qe]),Wt=He(Et,null,null),Jt=(0,de.Z)(Wt,4),bn=Jt[0],kn=Jt[1],tr=Jt[2],pr=Jt[3],xr=!!(it!==!1&&De&&pe),Yn=ne.useMemo(function(){return Object.values(tr.maps).reduce(function(Jn,sr){return Jn+sr},0)},[tr.id,tr.maps]),mr=xr&&Se&&(Math.max(pe*Se.length,Yn)>De||!!at),Wn=ot==="rtl",xn=se()(ke,(0,Ae.Z)({},"".concat(ke,"-rtl"),Wn),Xe),Pn=Se||Lt,Tn=(0,ne.useRef)(),In=(0,ne.useRef)(),Kn=(0,ne.useRef)(),jn=(0,ne.useState)(0),nr=(0,de.Z)(jn,2),Cr=nr[0],Sr=nr[1],Er=(0,ne.useState)(0),Nr=(0,de.Z)(Er,2),Tr=Nr[0],zr=Nr[1],Rr=(0,ne.useState)(!1),Ln=(0,de.Z)(Rr,2),Qn=Ln[0],Ar=Ln[1],wr=function(){Ar(!0)},zt=function(){Ar(!1)},It={getKey:Et};function Dt(Jn){Sr(function(sr){var hr;typeof Jn=="function"?hr=Jn(sr):hr=Jn;var Gn=Rn(hr);return Tn.current.scrollTop=Gn,Gn})}var Vt=(0,ne.useRef)({start:0,end:Pn.length}),Nt=(0,ne.useRef)(),Kt=Re(Pn,Et),ut=(0,de.Z)(Kt,1),Qt=ut[0];Nt.current=Qt;var on=ne.useMemo(function(){if(!xr)return{scrollHeight:void 0,start:0,end:Pn.length-1,offset:void 0};if(!mr){var Jn;return{scrollHeight:((Jn=In.current)===null||Jn===void 0?void 0:Jn.offsetHeight)||0,start:0,end:Pn.length-1,offset:void 0}}for(var sr=0,hr,Gn,kr,Br=Pn.length,_t=0;_t<Br;_t+=1){var Bn=Pn[_t],Xn=Et(Bn),fr=tr.get(Xn),Wr=sr+(fr===void 0?pe:fr);Wr>=Cr&&hr===void 0&&(hr=_t,Gn=sr),Wr>Cr+De&&kr===void 0&&(kr=_t),sr=Wr}return hr===void 0&&(hr=0,Gn=0,kr=Math.ceil(De/pe)),kr===void 0&&(kr=Pn.length-1),kr=Math.min(kr+1,Pn.length-1),{scrollHeight:sr,start:hr,end:kr,offset:Gn}},[mr,xr,Cr,Pn,pr,De]),an=on.scrollHeight,Xt=on.start,Yt=on.end,Gt=on.offset;Vt.current.start=Xt,Vt.current.end=Yt,ne.useLayoutEffect(function(){var Jn=tr.getRecord();if(Jn.size===1){var sr=Array.from(Jn.keys())[0],hr=Jn.get(sr),Gn=Pn[Xt];if(Gn&&hr===void 0){var kr=Et(Gn);if(kr===sr){var Br=tr.get(sr),_t=Br-pe;Dt(function(Bn){return Bn+_t})}}}tr.resetRecord()},[an]);var dn=ne.useState({width:0,height:De}),ur=(0,de.Z)(dn,2),Zt=ur[0],nn=ur[1],Cn=function(sr){nn({width:sr.offsetWidth,height:sr.offsetHeight})},Ht=(0,ne.useRef)(),Ft=(0,ne.useRef)(),fn=ne.useMemo(function(){return mt(Zt.width,at)},[Zt.width,at]),wn=ne.useMemo(function(){return mt(Zt.height,an)},[Zt.height,an]),vn=an-De,An=(0,ne.useRef)(vn);An.current=vn;function Rn(Jn){var sr=Jn;return Number.isNaN(An.current)||(sr=Math.min(sr,An.current)),sr=Math.max(sr,0),sr}var Zn=Cr<=0,zn=Cr>=vn,Un=Tr<=0,ar=Tr>=at,Fn=Fe(Zn,zn,Un,ar),ir=function(){return{x:Wn?-Tr:Tr,y:Cr}},Ir=(0,ne.useRef)(ir()),Lr=(0,E.zX)(function(Jn){if(qt){var sr=(0,we.Z)((0,we.Z)({},ir()),Jn);(Ir.current.x!==sr.x||Ir.current.y!==sr.y)&&(qt(sr),Ir.current=sr)}});function Fr(Jn,sr){var hr=Jn;sr?((0,ge.flushSync)(function(){zr(hr)}),Lr()):Dt(hr)}function vr(Jn){var sr=Jn.currentTarget.scrollTop;sr!==Cr&&Dt(sr),tn==null||tn(Jn),Lr()}var Dr=function(sr){var hr=sr,Gn=at?at-Zt.width:0;return hr=Math.max(hr,0),hr=Math.min(hr,Gn),hr},Ur=(0,E.zX)(function(Jn,sr){sr?((0,ge.flushSync)(function(){zr(function(hr){var Gn=hr+(Wn?-Jn:Jn);return Dr(Gn)})}),Lr()):Dt(function(hr){var Gn=hr+Jn;return Gn})}),gr=_e(xr,Zn,zn,Un,ar,!!at,Ur),Zr=(0,de.Z)(gr,2),jr=Zr[0],yi=Zr[1];ft(xr,Tn,function(Jn,sr,hr,Gn){var kr=Gn;return Fn(Jn,sr,hr)?!1:!kr||!kr._virtualHandled?(kr&&(kr._virtualHandled=!0),jr({preventDefault:function(){},deltaX:Jn?sr:0,deltaY:Jn?0:sr}),!0):!1}),nt(mr,Tn,function(Jn){Dt(function(sr){return sr+Jn})}),(0,te.Z)(function(){function Jn(hr){var Gn=Zn&&hr.detail<0,kr=zn&&hr.detail>0;xr&&!Gn&&!kr&&hr.preventDefault()}var sr=Tn.current;return sr.addEventListener("wheel",jr,{passive:!1}),sr.addEventListener("DOMMouseScroll",yi,{passive:!0}),sr.addEventListener("MozMousePixelScroll",Jn,{passive:!1}),function(){sr.removeEventListener("wheel",jr),sr.removeEventListener("DOMMouseScroll",yi),sr.removeEventListener("MozMousePixelScroll",Jn)}},[xr,Zn,zn]),(0,te.Z)(function(){if(at){var Jn=Dr(Tr);zr(Jn),Lr({x:Jn})}},[Zt.width,at]);var Yr=function(){var sr,hr;(sr=Ht.current)===null||sr===void 0||sr.delayHidden(),(hr=Ft.current)===null||hr===void 0||hr.delayHidden()},Kr=Ge(Tn,Pn,tr,pe,Et,function(){return kn(!0)},Dt,Yr);ne.useImperativeHandle(ue,function(){return{nativeElement:Kn.current,getScrollInfo:ir,scrollTo:function(sr){function hr(Gn){return Gn&&(0,oe.Z)(Gn)==="object"&&("left"in Gn||"top"in Gn)}hr(sr)?(sr.left!==void 0&&zr(Dr(sr.left)),Kr(sr.top)):Kr(sr)}}}),(0,te.Z)(function(){if(Bt){var Jn=Pn.slice(Xt,Yt+1);Bt(Jn,Pn)}},[Xt,Yt,Pn]);var si=Oe(Pn,Et,tr,pe),ni=$t==null?void 0:$t({start:Xt,end:Yt,virtual:mr,offsetX:Tr,offsetY:Gt,rtl:Wn,getSize:si}),Mr=Ee(Pn,Xt,Yt,at,Tr,bn,Be,It),Vr=null;De&&(Vr=(0,we.Z)((0,Ae.Z)({},me?"height":"maxHeight",De),ct),xr&&(Vr.overflowY="hidden",at&&(Vr.overflowX="hidden"),Qn&&(Vr.pointerEvents="none")));var yr={};return Wn&&(yr.dir="rtl"),ne.createElement("div",(0,b.Z)({ref:Kn,style:(0,we.Z)((0,we.Z)({},Le),{},{position:"relative"}),className:xn},yr,yn),ne.createElement(fe.Z,{onResize:Cn},ne.createElement(Rt,{className:"".concat(ke,"-holder"),style:Vr,ref:Tn,onScroll:vr,onMouseEnter:Yr},ne.createElement(be,{prefixCls:ke,height:an,offsetX:Tr,offsetY:Gt,scrollWidth:at,onInnerResize:kn,ref:In,innerProps:hn,rtl:Wn,extra:ni},Mr))),mr&&an>De&&ne.createElement(qe,{ref:Ht,prefixCls:ke,scrollOffset:Cr,scrollRange:an,rtl:Wn,onScroll:Fr,onStartMove:wr,onStopMove:zt,spinSize:wn,containerSize:Zt.height,style:Ct==null?void 0:Ct.verticalScrollBar,thumbStyle:Ct==null?void 0:Ct.verticalScrollBarThumb,showScrollBar:ln}),mr&&at>Zt.width&&ne.createElement(qe,{ref:Ft,prefixCls:ke,scrollOffset:Tr,scrollRange:at,rtl:Wn,onScroll:Fr,onStartMove:wr,onStopMove:zt,spinSize:fn,containerSize:Zt.width,horizontal:!0,style:Ct==null?void 0:Ct.horizontalScrollBar,thumbStyle:Ct==null?void 0:Ct.horizontalScrollBarThumb,showScrollBar:ln}))}var xt=ne.forwardRef(Tt);xt.displayName="List";var wt=xt,yt=wt},43141:function(_n,pn,ae){"use strict";ae.d(pn,{Z5:function(){return xc},_l:function(){return Xa},bK:function(){return Hs}});var b=ae(59301),oe=ae(29658);function we(he,xe){he.prototype=Object.create(xe.prototype),he.prototype.constructor=he,(0,oe.Z)(he,xe)}var Ae=ae(60499),de=ae(59781),ve=b.createContext(null),re=null;function se(he){he()}var fe=se,E=function(xe){return fe=xe},te=function(){return fe};function ne(){var he=te(),xe=null,ze=null;return{clear:function(){xe=null,ze=null},notify:function(){he(function(){for(var vt=xe;vt;)vt.callback(),vt=vt.next})},get:function(){for(var vt=[],gt=xe;gt;)vt.push(gt),gt=gt.next;return vt},subscribe:function(vt){var gt=!0,St=ze={callback:vt,next:null,prev:ze};return St.prev?St.prev.next=St:xe=St,function(){!gt||xe===null||(gt=!1,St.next?St.next.prev=St.prev:ze=St.prev,St.prev?St.prev.next=St.next:xe=St.next)}}}}var ge={notify:function(){},get:function(){return[]}};function Ce(he,xe){var ze,et=ge;function vt(rn){return en(),et.subscribe(rn)}function gt(){et.notify()}function St(){gn.onStateChange&&gn.onStateChange()}function Pt(){return!!ze}function en(){ze||(ze=xe?xe.addNestedSub(St):he.subscribe(St),et=ne())}function En(){ze&&(ze(),ze=void 0,et.clear(),et=ge)}var gn={addNestedSub:vt,notifyNestedSubs:gt,handleChangeWrapper:St,isSubscribed:Pt,trySubscribe:en,tryUnsubscribe:En,getListeners:function(){return et}};return gn}var be=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function le(he){var xe=he.store,ze=he.context,et=he.children,vt=(0,b.useMemo)(function(){var Pt=Ce(xe);return{store:xe,subscription:Pt}},[xe]),gt=(0,b.useMemo)(function(){return xe.getState()},[xe]);be(function(){var Pt=vt.subscription;return Pt.onStateChange=Pt.notifyNestedSubs,Pt.trySubscribe(),gt!==xe.getState()&&Pt.notifyNestedSubs(),function(){Pt.tryUnsubscribe(),Pt.onStateChange=null}},[vt,gt]);var St=ze||ve;return b.createElement(St.Provider,{value:vt},et)}var Ee=le,Pe=ae(69010),Ie=ae(94266),Re=ae.n(Ie),Me=ae(53410),ye=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Te=["reactReduxForwardedRef"],Fe=[],_e=[null,null],Oe=function(xe){try{return JSON.stringify(xe)}catch(ze){return String(xe)}};function Ke(he,xe){var ze=he[1];return[xe.payload,ze+1]}function We(he,xe,ze){be(function(){return he.apply(void 0,xe)},ze)}function Ne(he,xe,ze,et,vt,gt,St){he.current=et,xe.current=vt,ze.current=!1,gt.current&&(gt.current=null,St())}function Ye(he,xe,ze,et,vt,gt,St,Pt,en,En){if(he){var gn=!1,rn=null,cn=function(){if(!gn){var ei=xe.getState(),ai,di;try{ai=et(ei,vt.current)}catch(Pi){di=Pi,rn=Pi}di||(rn=null),ai===gt.current?St.current||en():(gt.current=ai,Pt.current=ai,St.current=!0,En({type:"STORE_UPDATED",payload:{error:di}}))}};ze.onStateChange=cn,ze.trySubscribe(),cn();var On=function(){if(gn=!0,ze.tryUnsubscribe(),ze.onStateChange=null,rn)throw rn};return On}}var Je=function(){return[null,0]};function He(he,xe){xe===void 0&&(xe={});var ze=xe,et=ze.getDisplayName,vt=et===void 0?function(vo){return"ConnectAdvanced("+vo+")"}:et,gt=ze.methodName,St=gt===void 0?"connectAdvanced":gt,Pt=ze.renderCountProp,en=Pt===void 0?void 0:Pt,En=ze.shouldHandleStateChanges,gn=En===void 0?!0:En,rn=ze.storeKey,cn=rn===void 0?"store":rn,On=ze.withRef,dr=On===void 0?!1:On,ei=ze.forwardRef,ai=ei===void 0?!1:ei,di=ze.context,Pi=di===void 0?ve:di,Wi=(0,Pe.Z)(ze,ye);if(0)var Ui;var wo=Pi;return function(Fo){var Ba=Fo.displayName||Fo.name||"Component",Wo=vt(Ba),La=(0,Ae.Z)({},Wi,{getDisplayName:vt,methodName:St,renderCountProp:en,shouldHandleStateChanges:gn,storeKey:cn,displayName:Wo,wrappedComponentName:Ba,WrappedComponent:Fo}),ss=Wi.pure;function ps(hs){return he(hs.dispatch,La)}var wl=ss?b.useMemo:function(hs){return hs()};function ul(hs){var nu=(0,b.useMemo)(function(){var pc=hs.reactReduxForwardedRef,Vc=(0,Pe.Z)(hs,Te);return[hs.context,pc,Vc]},[hs]),El=nu[0],dc=nu[1],Lu=nu[2],ru=(0,b.useMemo)(function(){return El&&El.Consumer&&(0,Me.isContextConsumer)(b.createElement(El.Consumer,null))?El:wo},[El,wo]),Al=(0,b.useContext)(ru),Nu=!!hs.store&&!!hs.store.getState&&!!hs.store.dispatch,Pc=!!Al&&!!Al.store,Il=Nu?hs.store:Al.store,fc=(0,b.useMemo)(function(){return ps(Il)},[Il]),Tc=(0,b.useMemo)(function(){if(!gn)return _e;var pc=Ce(Il,Nu?null:Al.subscription),Vc=pc.notifyNestedSubs.bind(pc);return[pc,Vc]},[Il,Nu,Al]),Ku=Tc[0],Oc=Tc[1],Bc=(0,b.useMemo)(function(){return Nu?Al:(0,Ae.Z)({},Al,{subscription:Ku})},[Nu,Al,Ku]),Kc=(0,b.useReducer)(Ke,Fe,Je),$c=Kc[0],Lc=$c[0],Jc=Kc[1];if(Lc&&Lc.error)throw Lc.error;var Gc=(0,b.useRef)(),Zc=(0,b.useRef)(Lu),Nc=(0,b.useRef)(),Xc=(0,b.useRef)(!1),Uc=wl(function(){return Nc.current&&Lu===Zc.current?Nc.current:fc(Il.getState(),Lu)},[Il,Lc,Lu]);We(Ne,[Zc,Gc,Xc,Lu,Uc,Nc,Oc]),We(Ye,[gn,Il,Ku,fc,Zc,Gc,Xc,Nc,Oc,Jc],[Il,Ku,fc]);var _c=(0,b.useMemo)(function(){return b.createElement(Fo,(0,Ae.Z)({},Uc,{ref:dc}))},[dc,Fo,Uc]),Qc=(0,b.useMemo)(function(){return gn?b.createElement(ru.Provider,{value:Bc},_c):_c},[ru,_c,Bc]);return Qc}var Zs=ss?b.memo(ul):ul;if(Zs.WrappedComponent=Fo,Zs.displayName=ul.displayName=Wo,ai){var Sl=b.forwardRef(function(nu,El){return b.createElement(Zs,(0,Ae.Z)({},nu,{reactReduxForwardedRef:El}))});return Sl.displayName=Wo,Sl.WrappedComponent=Fo,Re()(Sl,Fo)}return Re()(Zs,Fo)}}function lt(he,xe){return he===xe?he!==0||xe!==0||1/he===1/xe:he!==he&&xe!==xe}function ft(he,xe){if(lt(he,xe))return!0;if(typeof he!="object"||he===null||typeof xe!="object"||xe===null)return!1;var ze=Object.keys(he),et=Object.keys(xe);if(ze.length!==et.length)return!1;for(var vt=0;vt<ze.length;vt++)if(!Object.prototype.hasOwnProperty.call(xe,ze[vt])||!lt(he[ze[vt]],xe[ze[vt]]))return!1;return!0}function tt(he,xe){var ze={},et=function(St){var Pt=he[St];typeof Pt=="function"&&(ze[St]=function(){return xe(Pt.apply(void 0,arguments))})};for(var vt in he)et(vt);return ze}function Ot(he){return function(ze,et){var vt=he(ze,et);function gt(){return vt}return gt.dependsOnOwnProps=!1,gt}}function nt(he){return he.dependsOnOwnProps!==null&&he.dependsOnOwnProps!==void 0?!!he.dependsOnOwnProps:he.length!==1}function Ze(he,xe){return function(et,vt){var gt=vt.displayName,St=function(en,En){return St.dependsOnOwnProps?St.mapToProps(en,En):St.mapToProps(en)};return St.dependsOnOwnProps=!0,St.mapToProps=function(en,En){St.mapToProps=he,St.dependsOnOwnProps=nt(he);var gn=St(en,En);return typeof gn=="function"&&(St.mapToProps=gn,St.dependsOnOwnProps=nt(gn),gn=St(en,En)),gn},St}}function Ge(he){return typeof he=="function"?Ze(he,"mapDispatchToProps"):void 0}function $e(he){return he?void 0:Ot(function(xe){return{dispatch:xe}})}function qe(he){return he&&typeof he=="object"?Ot(function(xe){return tt(he,xe)}):void 0}var Ve=[Ge,$e,qe];function mt(he){return typeof he=="function"?Ze(he,"mapStateToProps"):void 0}function st(he){return he?void 0:Ot(function(){return{}})}var Lt=[mt,st];function ct(he,xe,ze){return(0,Ae.Z)({},ze,he,xe)}function Tt(he){return function(ze,et){var vt=et.displayName,gt=et.pure,St=et.areMergedPropsEqual,Pt=!1,en;return function(gn,rn,cn){var On=he(gn,rn,cn);return Pt?(!gt||!St(On,en))&&(en=On):(Pt=!0,en=On),en}}}function xt(he){return typeof he=="function"?Tt(he):void 0}function wt(he){return he?void 0:function(){return ct}}var yt=[xt,wt],je=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ue(he,xe,ze,et){return function(gt,St){return ze(he(gt,St),xe(et,St),St)}}function ie(he,xe,ze,et,vt){var gt=vt.areStatesEqual,St=vt.areOwnPropsEqual,Pt=vt.areStatePropsEqual,en=!1,En,gn,rn,cn,On;function dr(Wi,Ui){return En=Wi,gn=Ui,rn=he(En,gn),cn=xe(et,gn),On=ze(rn,cn,gn),en=!0,On}function ei(){return rn=he(En,gn),xe.dependsOnOwnProps&&(cn=xe(et,gn)),On=ze(rn,cn,gn),On}function ai(){return he.dependsOnOwnProps&&(rn=he(En,gn)),xe.dependsOnOwnProps&&(cn=xe(et,gn)),On=ze(rn,cn,gn),On}function di(){var Wi=he(En,gn),Ui=!Pt(Wi,rn);return rn=Wi,Ui&&(On=ze(rn,cn,gn)),On}function Pi(Wi,Ui){var wo=!St(Ui,gn),vo=!gt(Wi,En,Ui,gn);return En=Wi,gn=Ui,wo&&vo?ei():wo?ai():vo?di():On}return function(Ui,wo){return en?Pi(Ui,wo):dr(Ui,wo)}}function ke(he,xe){var ze=xe.initMapStateToProps,et=xe.initMapDispatchToProps,vt=xe.initMergeProps,gt=(0,Pe.Z)(xe,je),St=ze(he,gt),Pt=et(he,gt),en=vt(he,gt),En=gt.pure?ie:ue;return En(St,Pt,en,he,gt)}var Xe=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function De(he,xe,ze){for(var et=xe.length-1;et>=0;et--){var vt=xe[et](he);if(vt)return vt}return function(gt,St){throw new Error("Invalid value of type "+typeof he+" for "+ze+" argument when connecting component "+St.wrappedComponentName+".")}}function pe(he,xe){return he===xe}function x(he){var xe=he===void 0?{}:he,ze=xe.connectHOC,et=ze===void 0?He:ze,vt=xe.mapStateToPropsFactories,gt=vt===void 0?Lt:vt,St=xe.mapDispatchToPropsFactories,Pt=St===void 0?Ve:St,en=xe.mergePropsFactories,En=en===void 0?yt:en,gn=xe.selectorFactory,rn=gn===void 0?ke:gn;return function(On,dr,ei,ai){ai===void 0&&(ai={});var di=ai,Pi=di.pure,Wi=Pi===void 0?!0:Pi,Ui=di.areStatesEqual,wo=Ui===void 0?pe:Ui,vo=di.areOwnPropsEqual,Fo=vo===void 0?ft:vo,Ba=di.areStatePropsEqual,Wo=Ba===void 0?ft:Ba,La=di.areMergedPropsEqual,ss=La===void 0?ft:La,ps=(0,Pe.Z)(di,Xe),wl=De(On,gt,"mapStateToProps"),ul=De(dr,Pt,"mapDispatchToProps"),Zs=De(ei,En,"mergeProps");return et(rn,(0,Ae.Z)({methodName:"connect",getDisplayName:function(hs){return"Connect("+hs+")"},shouldHandleStateChanges:!!On,initMapStateToProps:wl,initMapDispatchToProps:ul,initMergeProps:Zs,pure:Wi,areStatesEqual:wo,areOwnPropsEqual:Fo,areStatePropsEqual:Wo,areMergedPropsEqual:ss},ps))}}var me=x();function Le(){var he=useContext(ReactReduxContext);return he}function Se(he){he===void 0&&(he=ReactReduxContext);var xe=he===ReactReduxContext?useDefaultReduxContext:function(){return useContext(he)};return function(){var et=xe(),vt=et.store;return vt}}var Be=null;function Qe(he){he===void 0&&(he=ReactReduxContext);var xe=he===ReactReduxContext?useDefaultStore:createStoreHook(he);return function(){var et=xe();return et.dispatch}}var it=null,ot=function(xe,ze){return xe===ze};function at(he,xe,ze,et){var vt=useReducer(function(dr){return dr+1},0),gt=vt[1],St=useMemo(function(){return createSubscription(ze,et)},[ze,et]),Pt=useRef(),en=useRef(),En=useRef(),gn=useRef(),rn=ze.getState(),cn;try{if(he!==en.current||rn!==En.current||Pt.current){var On=he(rn);gn.current===void 0||!xe(On,gn.current)?cn=On:cn=gn.current}else cn=gn.current}catch(dr){throw Pt.current&&(dr.message+=`
The error may be correlated with this previous error:
`+Pt.current.stack+`
`),dr}return useIsomorphicLayoutEffect(function(){en.current=he,En.current=rn,gn.current=cn,Pt.current=void 0}),useIsomorphicLayoutEffect(function(){function dr(){try{var ei=ze.getState();if(ei===En.current)return;var ai=en.current(ei);if(xe(ai,gn.current))return;gn.current=ai,En.current=ei}catch(di){Pt.current=di}gt()}return St.onStateChange=dr,St.trySubscribe(),dr(),function(){return St.tryUnsubscribe()}},[ze,St]),cn}function Mt(he){he===void 0&&(he=ReactReduxContext);var xe=he===ReactReduxContext?useDefaultReduxContext:function(){return useContext(he)};return function(et,vt){vt===void 0&&(vt=ot);var gt=xe(),St=gt.store,Pt=gt.subscription,en=at(et,vt,St,Pt);return useDebugValue(en),en}}var Rt=null,tn=ae(4676);E(tn.unstable_batchedUpdates);function qt(he,xe){if(he.length!==xe.length)return!1;for(var ze=0;ze<he.length;ze++)if(he[ze]!==xe[ze])return!1;return!0}function Bt(he,xe){var ze=(0,b.useState)(function(){return{inputs:xe,result:he()}})[0],et=(0,b.useRef)(!0),vt=(0,b.useRef)(ze),gt=et.current||!!(xe&&vt.current.inputs&&qt(xe,vt.current.inputs)),St=gt?vt.current:{inputs:xe,result:he()};return(0,b.useEffect)(function(){et.current=!1,vt.current=St},[St]),St.result}function hn(he,xe){return Bt(function(){return he},xe)}var $t=Bt,Ct=hn,jt=!0,ln="Invariant failed";function yn(he,xe){if(!he){if(jt)throw new Error(ln);var ze=typeof xe=="function"?xe():xe,et=ze?"".concat(ln,": ").concat(ze):ln;throw new Error(et)}}var Et=function(xe){var ze=xe.top,et=xe.right,vt=xe.bottom,gt=xe.left,St=et-gt,Pt=vt-ze,en={top:ze,right:et,bottom:vt,left:gt,width:St,height:Pt,x:gt,y:ze,center:{x:(et+gt)/2,y:(vt+ze)/2}};return en},Wt=function(xe,ze){return{top:xe.top-ze.top,left:xe.left-ze.left,bottom:xe.bottom+ze.bottom,right:xe.right+ze.right}},Jt=function(xe,ze){return{top:xe.top+ze.top,left:xe.left+ze.left,bottom:xe.bottom-ze.bottom,right:xe.right-ze.right}},bn=function(xe,ze){return{top:xe.top+ze.y,left:xe.left+ze.x,bottom:xe.bottom+ze.y,right:xe.right+ze.x}},kn={top:0,right:0,bottom:0,left:0},tr=function(xe){var ze=xe.borderBox,et=xe.margin,vt=et===void 0?kn:et,gt=xe.border,St=gt===void 0?kn:gt,Pt=xe.padding,en=Pt===void 0?kn:Pt,En=Et(Wt(ze,vt)),gn=Et(Jt(ze,St)),rn=Et(Jt(gn,en));return{marginBox:En,borderBox:Et(ze),paddingBox:gn,contentBox:rn,margin:vt,border:St,padding:en}},pr=function(xe){var ze=xe.slice(0,-2),et=xe.slice(-2);if(et!=="px")return 0;var vt=Number(ze);return isNaN(vt)&&yn(!1),vt},xr=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Yn=function(xe,ze){var et=xe.borderBox,vt=xe.border,gt=xe.margin,St=xe.padding,Pt=bn(et,ze);return tr({borderBox:Pt,border:vt,margin:gt,padding:St})},mr=function(xe,ze){return ze===void 0&&(ze=xr()),Yn(xe,ze)},Wn=function(xe,ze){var et={top:pr(ze.marginTop),right:pr(ze.marginRight),bottom:pr(ze.marginBottom),left:pr(ze.marginLeft)},vt={top:pr(ze.paddingTop),right:pr(ze.paddingRight),bottom:pr(ze.paddingBottom),left:pr(ze.paddingLeft)},gt={top:pr(ze.borderTopWidth),right:pr(ze.borderRightWidth),bottom:pr(ze.borderBottomWidth),left:pr(ze.borderLeftWidth)};return tr({borderBox:xe,margin:et,padding:vt,border:gt})},xn=function(xe){var ze=xe.getBoundingClientRect(),et=window.getComputedStyle(xe);return Wn(ze,et)},Pn=Number.isNaN||function(xe){return typeof xe=="number"&&xe!==xe};function Tn(he,xe){return!!(he===xe||Pn(he)&&Pn(xe))}function In(he,xe){if(he.length!==xe.length)return!1;for(var ze=0;ze<he.length;ze++)if(!Tn(he[ze],xe[ze]))return!1;return!0}function Kn(he,xe){xe===void 0&&(xe=In);var ze,et=[],vt,gt=!1;function St(){for(var Pt=[],en=0;en<arguments.length;en++)Pt[en]=arguments[en];return gt&&ze===this&&xe(Pt,et)||(vt=he.apply(this,Pt),gt=!0,ze=this,et=Pt),vt}return St}var jn=Kn,nr=function(xe){var ze=[],et=null,vt=function(){for(var St=arguments.length,Pt=new Array(St),en=0;en<St;en++)Pt[en]=arguments[en];ze=Pt,!et&&(et=requestAnimationFrame(function(){et=null,xe.apply(void 0,ze)}))};return vt.cancel=function(){et&&(cancelAnimationFrame(et),et=null)},vt},Cr=nr,Sr=!0,Er=/[ \t]{2,}/g,Nr=/^[ \t]*/gm,Tr=function(xe){return xe.replace(Er," ").replace(Nr,"").trim()},zr=function(xe){return Tr(`
%creact-beautiful-dnd
%c`+Tr(xe)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},Rr=function(xe){return[zr(xe),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},Ln="__react-beautiful-dnd-disable-dev-warnings";function Qn(he,xe){var ze;Sr||typeof window!="undefined"&&window[Ln]||(ze=console)[he].apply(ze,Rr(xe))}var Ar=Qn.bind(null,"warn"),wr=Qn.bind(null,"error");function zt(){}function It(he,xe){return(0,Ae.Z)({},he,{},xe)}function Dt(he,xe,ze){var et=xe.map(function(vt){var gt=It(ze,vt.options);return he.addEventListener(vt.eventName,vt.fn,gt),function(){he.removeEventListener(vt.eventName,vt.fn,gt)}});return function(){et.forEach(function(gt){gt()})}}var Vt=!0,Nt="Invariant failed";function Kt(he){this.message=he}Kt.prototype.toString=function(){return this.message};function ut(he,xe){if(!he)throw Vt?new Kt(Nt):new Kt(Nt+": "+(xe||""))}var Qt=function(he){we(xe,he);function xe(){for(var et,vt=arguments.length,gt=new Array(vt),St=0;St<vt;St++)gt[St]=arguments[St];return et=he.call.apply(he,[this].concat(gt))||this,et.callbacks=null,et.unbind=zt,et.onWindowError=function(Pt){var en=et.getCallbacks();en.isDragging()&&en.tryAbort();var En=Pt.error;En instanceof Kt&&Pt.preventDefault()},et.getCallbacks=function(){if(!et.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return et.callbacks},et.setCallbacks=function(Pt){et.callbacks=Pt},et}var ze=xe.prototype;return ze.componentDidMount=function(){this.unbind=Dt(window,[{eventName:"error",fn:this.onWindowError}])},ze.componentWillUnmount=function(){this.unbind()},ze.componentDidCatch=function(vt){if(vt instanceof Kt){this.setState({});return}throw vt},ze.render=function(){return this.props.children(this.setCallbacks)},xe}(b.Component),on=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,an=function(xe){return xe+1},Xt=function(xe){return`
You have lifted an item in position `+an(xe.source.index)+`
`},Yt=function(xe,ze){var et=xe.droppableId===ze.droppableId,vt=an(xe.index),gt=an(ze.index);return et?`
You have moved the item from position `+vt+`
to position `+gt+`
`:`
You have moved the item from position `+vt+`
in list `+xe.droppableId+`
to list `+ze.droppableId+`
in position `+gt+`
`},Gt=function(xe,ze,et){var vt=ze.droppableId===et.droppableId;return vt?`
The item `+xe+`
has been combined with `+et.draggableId:`
The item `+xe+`
in list `+ze.droppableId+`
has been combined with `+et.draggableId+`
in list `+et.droppableId+`
`},dn=function(xe){var ze=xe.destination;if(ze)return Yt(xe.source,ze);var et=xe.combine;return et?Gt(xe.draggableId,xe.source,et):"You are over an area that cannot be dropped on"},ur=function(xe){return`
The item has returned to its starting position
of `+an(xe.index)+`
`},Zt=function(xe){if(xe.reason==="CANCEL")return`
Movement cancelled.
`+ur(xe.source)+`
`;var ze=xe.destination,et=xe.combine;return ze?`
You have dropped the item.
`+Yt(xe.source,ze)+`
`:et?`
You have dropped the item.
`+Gt(xe.draggableId,xe.source,et)+`
`:`
The item has been dropped while not over a drop area.
`+ur(xe.source)+`
`},nn={dragHandleUsageInstructions:on,onDragStart:Xt,onDragUpdate:dn,onDragEnd:Zt},Cn={x:0,y:0},Ht=function(xe,ze){return{x:xe.x+ze.x,y:xe.y+ze.y}},Ft=function(xe,ze){return{x:xe.x-ze.x,y:xe.y-ze.y}},fn=function(xe,ze){return xe.x===ze.x&&xe.y===ze.y},wn=function(xe){return{x:xe.x!==0?-xe.x:0,y:xe.y!==0?-xe.y:0}},vn=function(xe,ze,et){var vt;return et===void 0&&(et=0),vt={},vt[xe]=ze,vt[xe==="x"?"y":"x"]=et,vt},An=function(xe,ze){return Math.sqrt(Math.pow(ze.x-xe.x,2)+Math.pow(ze.y-xe.y,2))},Rn=function(xe,ze){return Math.min.apply(Math,ze.map(function(et){return An(xe,et)}))},Zn=function(xe){return function(ze){return{x:xe(ze.x),y:xe(ze.y)}}},zn=function(he,xe){var ze=Et({top:Math.max(xe.top,he.top),right:Math.min(xe.right,he.right),bottom:Math.min(xe.bottom,he.bottom),left:Math.max(xe.left,he.left)});return ze.width<=0||ze.height<=0?null:ze},Un=function(xe,ze){return{top:xe.top+ze.y,left:xe.left+ze.x,bottom:xe.bottom+ze.y,right:xe.right+ze.x}},ar=function(xe){return[{x:xe.left,y:xe.top},{x:xe.right,y:xe.top},{x:xe.left,y:xe.bottom},{x:xe.right,y:xe.bottom}]},Fn={top:0,right:0,bottom:0,left:0},ir=function(xe,ze){return ze?Un(xe,ze.scroll.diff.displacement):xe},Ir=function(xe,ze,et){if(et&&et.increasedBy){var vt;return(0,Ae.Z)({},xe,(vt={},vt[ze.end]=xe[ze.end]+et.increasedBy[ze.line],vt))}return xe},Lr=function(xe,ze){return ze&&ze.shouldClipSubject?zn(ze.pageMarginBox,xe):Et(xe)},Fr=function(he){var xe=he.page,ze=he.withPlaceholder,et=he.axis,vt=he.frame,gt=ir(xe.marginBox,vt),St=Ir(gt,et,ze),Pt=Lr(St,vt);return{page:xe,withPlaceholder:ze,active:Pt}},vr=function(he,xe){he.frame||ut(!1);var ze=he.frame,et=Ft(xe,ze.scroll.initial),vt=wn(et),gt=(0,Ae.Z)({},ze,{scroll:{initial:ze.scroll.initial,current:xe,diff:{value:et,displacement:vt},max:ze.scroll.max}}),St=Fr({page:he.subject.page,withPlaceholder:he.subject.withPlaceholder,axis:he.axis,frame:gt}),Pt=(0,Ae.Z)({},he,{frame:gt,subject:St});return Pt};function Dr(he){return Number.isInteger?Number.isInteger(he):typeof he=="number"&&isFinite(he)&&Math.floor(he)===he}function Ur(he){return Object.values?Object.values(he):Object.keys(he).map(function(xe){return he[xe]})}function gr(he,xe){if(he.findIndex)return he.findIndex(xe);for(var ze=0;ze<he.length;ze++)if(xe(he[ze]))return ze;return-1}function Zr(he,xe){if(he.find)return he.find(xe);var ze=gr(he,xe);if(ze!==-1)return he[ze]}function jr(he){return Array.prototype.slice.call(he)}var yi=jn(function(he){return he.reduce(function(xe,ze){return xe[ze.descriptor.id]=ze,xe},{})}),Yr=jn(function(he){return he.reduce(function(xe,ze){return xe[ze.descriptor.id]=ze,xe},{})}),Kr=jn(function(he){return Ur(he)}),si=jn(function(he){return Ur(he)}),ni=jn(function(he,xe){var ze=si(xe).filter(function(et){return he===et.descriptor.droppableId}).sort(function(et,vt){return et.descriptor.index-vt.descriptor.index});return ze});function Mr(he){return he.at&&he.at.type==="REORDER"?he.at.destination:null}function Vr(he){return he.at&&he.at.type==="COMBINE"?he.at.combine:null}var yr=jn(function(he,xe){return xe.filter(function(ze){return ze.descriptor.id!==he.descriptor.id})}),Jn=function(he){var xe=he.isMovingForward,ze=he.draggable,et=he.destination,vt=he.insideDestination,gt=he.previousImpact;if(!et.isCombineEnabled)return null;var St=Mr(gt);if(!St)return null;function Pt(ei){var ai={type:"COMBINE",combine:{draggableId:ei,droppableId:et.descriptor.id}};return(0,Ae.Z)({},gt,{at:ai})}var en=gt.displaced.all,En=en.length?en[0]:null;if(xe)return En?Pt(En):null;var gn=yr(ze,vt);if(!En){if(!gn.length)return null;var rn=gn[gn.length-1];return Pt(rn.descriptor.id)}var cn=gr(gn,function(ei){return ei.descriptor.id===En});cn===-1&&ut(!1);var On=cn-1;if(On<0)return null;var dr=gn[On];return Pt(dr.descriptor.id)},sr=function(he,xe){return he.descriptor.droppableId===xe.descriptor.id},hr={point:Cn,value:0},Gn={invisible:{},visible:{},all:[]},kr={displaced:Gn,displacedBy:hr,at:null},Br=function(he,xe){return function(ze){return he<=ze&&ze<=xe}},_t=function(he){var xe=Br(he.top,he.bottom),ze=Br(he.left,he.right);return function(et){var vt=xe(et.top)&&xe(et.bottom)&&ze(et.left)&&ze(et.right);if(vt)return!0;var gt=xe(et.top)||xe(et.bottom),St=ze(et.left)||ze(et.right),Pt=gt&&St;if(Pt)return!0;var en=et.top<he.top&&et.bottom>he.bottom,En=et.left<he.left&&et.right>he.right,gn=en&&En;if(gn)return!0;var rn=en&&St||En&&gt;return rn}},Bn=function(he){var xe=Br(he.top,he.bottom),ze=Br(he.left,he.right);return function(et){var vt=xe(et.top)&&xe(et.bottom)&&ze(et.left)&&ze(et.right);return vt}},Xn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},fr={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Wr=function(he){return function(xe){var ze=Br(xe.top,xe.bottom),et=Br(xe.left,xe.right);return function(vt){return he===Xn?ze(vt.top)&&ze(vt.bottom):et(vt.left)&&et(vt.right)}}},Qr=function(xe,ze){var et=ze.frame?ze.frame.scroll.diff.displacement:Cn;return Un(xe,et)},Xr=function(xe,ze,et){return ze.subject.active?et(ze.subject.active)(xe):!1},Fi=function(xe,ze,et){return et(ze)(xe)},or=function(xe){var ze=xe.target,et=xe.destination,vt=xe.viewport,gt=xe.withDroppableDisplacement,St=xe.isVisibleThroughFrameFn,Pt=gt?Qr(ze,et):ze;return Xr(Pt,et,St)&&Fi(Pt,vt,St)},Ti=function(xe){return or((0,Ae.Z)({},xe,{isVisibleThroughFrameFn:_t}))},hi=function(xe){return or((0,Ae.Z)({},xe,{isVisibleThroughFrameFn:Bn}))},Ei=function(xe){return or((0,Ae.Z)({},xe,{isVisibleThroughFrameFn:Wr(xe.destination.axis)}))},Li=function(xe,ze,et){if(typeof et=="boolean")return et;if(!ze)return!0;var vt=ze.invisible,gt=ze.visible;if(vt[xe])return!1;var St=gt[xe];return St?St.shouldAnimate:!0};function Ai(he,xe){var ze=he.page.marginBox,et={top:xe.point.y,right:0,bottom:0,left:xe.point.x};return Et(Wt(ze,et))}function ro(he){var xe=he.afterDragging,ze=he.destination,et=he.displacedBy,vt=he.viewport,gt=he.forceShouldAnimate,St=he.last;return xe.reduce(function(en,En){var gn=Ai(En,et),rn=En.descriptor.id;en.all.push(rn);var cn=Ti({target:gn,destination:ze,viewport:vt,withDroppableDisplacement:!0});if(!cn)return en.invisible[En.descriptor.id]=!0,en;var On=Li(rn,St,gt),dr={draggableId:rn,shouldAnimate:On};return en.visible[rn]=dr,en},{all:[],visible:{},invisible:{}})}function So(he,xe){if(!he.length)return 0;var ze=he[he.length-1].descriptor.index;return xe.inHomeList?ze:ze+1}function Qi(he){var xe=he.insideDestination,ze=he.inHomeList,et=he.displacedBy,vt=he.destination,gt=So(xe,{inHomeList:ze});return{displaced:Gn,displacedBy:et,at:{type:"REORDER",destination:{droppableId:vt.descriptor.id,index:gt}}}}function io(he){var xe=he.draggable,ze=he.insideDestination,et=he.destination,vt=he.viewport,gt=he.displacedBy,St=he.last,Pt=he.index,en=he.forceShouldAnimate,En=sr(xe,et);if(Pt==null)return Qi({insideDestination:ze,inHomeList:En,displacedBy:gt,destination:et});var gn=Zr(ze,function(ei){return ei.descriptor.index===Pt});if(!gn)return Qi({insideDestination:ze,inHomeList:En,displacedBy:gt,destination:et});var rn=yr(xe,ze),cn=ze.indexOf(gn),On=rn.slice(cn),dr=ro({afterDragging:On,destination:et,displacedBy:gt,last:St,viewport:vt.frame,forceShouldAnimate:en});return{displaced:dr,displacedBy:gt,at:{type:"REORDER",destination:{droppableId:et.descriptor.id,index:Pt}}}}function ti(he,xe){return!!xe.effected[he]}var li=function(he){var xe=he.isMovingForward,ze=he.destination,et=he.draggables,vt=he.combine,gt=he.afterCritical;if(!ze.isCombineEnabled)return null;var St=vt.draggableId,Pt=et[St],en=Pt.descriptor.index,En=ti(St,gt);return En?xe?en:en-1:xe?en+1:en},qi=function(he){var xe=he.isMovingForward,ze=he.isInHomeList,et=he.insideDestination,vt=he.location;if(!et.length)return null;var gt=vt.index,St=xe?gt+1:gt-1,Pt=et[0].descriptor.index,en=et[et.length-1].descriptor.index,En=ze?en:en+1;return St<Pt||St>En?null:St},ho=function(he){var xe=he.isMovingForward,ze=he.isInHomeList,et=he.draggable,vt=he.draggables,gt=he.destination,St=he.insideDestination,Pt=he.previousImpact,en=he.viewport,En=he.afterCritical,gn=Pt.at;if(gn||ut(!1),gn.type==="REORDER"){var rn=qi({isMovingForward:xe,isInHomeList:ze,location:gn.destination,insideDestination:St});return rn==null?null:io({draggable:et,insideDestination:St,destination:gt,viewport:en,last:Pt.displaced,displacedBy:Pt.displacedBy,index:rn})}var cn=li({isMovingForward:xe,destination:gt,displaced:Pt.displaced,draggables:vt,combine:gn.combine,afterCritical:En});return cn==null?null:io({draggable:et,insideDestination:St,destination:gt,viewport:en,last:Pt.displaced,displacedBy:Pt.displacedBy,index:cn})},ji=function(he){var xe=he.displaced,ze=he.afterCritical,et=he.combineWith,vt=he.displacedBy,gt=!!(xe.visible[et]||xe.invisible[et]);return ti(et,ze)?gt?Cn:wn(vt.point):gt?vt.point:Cn},oo=function(he){var xe=he.afterCritical,ze=he.impact,et=he.draggables,vt=Vr(ze);vt||ut(!1);var gt=vt.draggableId,St=et[gt].page.borderBox.center,Pt=ji({displaced:ze.displaced,afterCritical:xe,combineWith:gt,displacedBy:ze.displacedBy});return Ht(St,Pt)},uo=function(xe,ze){return ze.margin[xe.start]+ze.borderBox[xe.size]/2},$i=function(xe,ze){return ze.margin[xe.end]+ze.borderBox[xe.size]/2},co=function(xe,ze,et){return ze[xe.crossAxisStart]+et.margin[xe.crossAxisStart]+et.borderBox[xe.crossAxisSize]/2},so=function(xe){var ze=xe.axis,et=xe.moveRelativeTo,vt=xe.isMoving;return vn(ze.line,et.marginBox[ze.end]+uo(ze,vt),co(ze,et.marginBox,vt))},jo=function(xe){var ze=xe.axis,et=xe.moveRelativeTo,vt=xe.isMoving;return vn(ze.line,et.marginBox[ze.start]-$i(ze,vt),co(ze,et.marginBox,vt))},Jo=function(xe){var ze=xe.axis,et=xe.moveInto,vt=xe.isMoving;return vn(ze.line,et.contentBox[ze.start]+uo(ze,vt),co(ze,et.contentBox,vt))},Yo=function(he){var xe=he.impact,ze=he.draggable,et=he.draggables,vt=he.droppable,gt=he.afterCritical,St=ni(vt.descriptor.id,et),Pt=ze.page,en=vt.axis;if(!St.length)return Jo({axis:en,moveInto:vt.page,isMoving:Pt});var En=xe.displaced,gn=xe.displacedBy,rn=En.all[0];if(rn){var cn=et[rn];if(ti(rn,gt))return jo({axis:en,moveRelativeTo:cn.page,isMoving:Pt});var On=Yn(cn.page,gn.point);return jo({axis:en,moveRelativeTo:On,isMoving:Pt})}var dr=St[St.length-1];if(dr.descriptor.id===ze.descriptor.id)return Pt.borderBox.center;if(ti(dr.descriptor.id,gt)){var ei=Yn(dr.page,wn(gt.displacedBy.point));return so({axis:en,moveRelativeTo:ei,isMoving:Pt})}return so({axis:en,moveRelativeTo:dr.page,isMoving:Pt})},Zo=function(he,xe){var ze=he.frame;return ze?Ht(xe,ze.scroll.diff.displacement):xe},ns=function(xe){var ze=xe.impact,et=xe.draggable,vt=xe.droppable,gt=xe.draggables,St=xe.afterCritical,Pt=et.page.borderBox.center,en=ze.at;return!vt||!en?Pt:en.type==="REORDER"?Yo({impact:ze,draggable:et,draggables:gt,droppable:vt,afterCritical:St}):oo({impact:ze,draggables:gt,afterCritical:St})},Ya=function(he){var xe=ns(he),ze=he.droppable,et=ze?Zo(ze,xe):xe;return et},Hi=function(he,xe){var ze=Ft(xe,he.scroll.initial),et=wn(ze),vt=Et({top:xe.y,bottom:xe.y+he.frame.height,left:xe.x,right:xe.x+he.frame.width}),gt={frame:vt,scroll:{initial:he.scroll.initial,max:he.scroll.max,current:xe,diff:{value:ze,displacement:et}}};return gt};function to(he,xe){return he.map(function(ze){return xe[ze]})}function Zi(he,xe){for(var ze=0;ze<xe.length;ze++){var et=xe[ze].visible[he];if(et)return et}return null}var Vi=function(he){var xe=he.impact,ze=he.viewport,et=he.destination,vt=he.draggables,gt=he.maxScrollChange,St=Hi(ze,Ht(ze.scroll.current,gt)),Pt=et.frame?vr(et,Ht(et.frame.scroll.current,gt)):et,en=xe.displaced,En=ro({afterDragging:to(en.all,vt),destination:et,displacedBy:xe.displacedBy,viewport:St.frame,last:en,forceShouldAnimate:!1}),gn=ro({afterDragging:to(en.all,vt),destination:Pt,displacedBy:xe.displacedBy,viewport:ze.frame,last:en,forceShouldAnimate:!1}),rn={},cn={},On=[en,En,gn];en.all.forEach(function(ei){var ai=Zi(ei,On);if(ai){cn[ei]=ai;return}rn[ei]=!0});var dr=(0,Ae.Z)({},xe,{displaced:{all:en.all,invisible:rn,visible:cn}});return dr},bo=function(he,xe){return Ht(he.scroll.diff.displacement,xe)},$n=function(he){var xe=he.pageBorderBoxCenter,ze=he.draggable,et=he.viewport,vt=bo(et,xe),gt=Ft(vt,ze.page.borderBox.center);return Ht(ze.client.borderBox.center,gt)},Hr=function(he){var xe=he.draggable,ze=he.destination,et=he.newPageBorderBoxCenter,vt=he.viewport,gt=he.withDroppableDisplacement,St=he.onlyOnMainAxis,Pt=St===void 0?!1:St,en=Ft(et,xe.page.borderBox.center),En=Un(xe.page.borderBox,en),gn={target:En,destination:ze,withDroppableDisplacement:gt,viewport:vt};return Pt?Ei(gn):hi(gn)},pi=function(he){var xe=he.isMovingForward,ze=he.draggable,et=he.destination,vt=he.draggables,gt=he.previousImpact,St=he.viewport,Pt=he.previousPageBorderBoxCenter,en=he.previousClientSelection,En=he.afterCritical;if(!et.isEnabled)return null;var gn=ni(et.descriptor.id,vt),rn=sr(ze,et),cn=Jn({isMovingForward:xe,draggable:ze,destination:et,insideDestination:gn,previousImpact:gt})||ho({isMovingForward:xe,isInHomeList:rn,draggable:ze,draggables:vt,destination:et,insideDestination:gn,previousImpact:gt,viewport:St,afterCritical:En});if(!cn)return null;var On=Ya({impact:cn,draggable:ze,droppable:et,draggables:vt,afterCritical:En}),dr=Hr({draggable:ze,destination:et,newPageBorderBoxCenter:On,viewport:St.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(dr){var ei=$n({pageBorderBoxCenter:On,draggable:ze,viewport:St});return{clientSelection:ei,impact:cn,scrollJumpRequest:null}}var ai=Ft(On,Pt),di=Vi({impact:cn,viewport:St,destination:et,draggables:vt,maxScrollChange:ai});return{clientSelection:en,impact:di,scrollJumpRequest:ai}},Xi=function(xe){var ze=xe.subject.active;return ze||ut(!1),ze},xo=function(he){var xe=he.isMovingForward,ze=he.pageBorderBoxCenter,et=he.source,vt=he.droppables,gt=he.viewport,St=et.subject.active;if(!St)return null;var Pt=et.axis,en=Br(St[Pt.start],St[Pt.end]),En=Kr(vt).filter(function(rn){return rn!==et}).filter(function(rn){return rn.isEnabled}).filter(function(rn){return!!rn.subject.active}).filter(function(rn){return _t(gt.frame)(Xi(rn))}).filter(function(rn){var cn=Xi(rn);return xe?St[Pt.crossAxisEnd]<cn[Pt.crossAxisEnd]:cn[Pt.crossAxisStart]<St[Pt.crossAxisStart]}).filter(function(rn){var cn=Xi(rn),On=Br(cn[Pt.start],cn[Pt.end]);return en(cn[Pt.start])||en(cn[Pt.end])||On(St[Pt.start])||On(St[Pt.end])}).sort(function(rn,cn){var On=Xi(rn)[Pt.crossAxisStart],dr=Xi(cn)[Pt.crossAxisStart];return xe?On-dr:dr-On}).filter(function(rn,cn,On){return Xi(rn)[Pt.crossAxisStart]===Xi(On[0])[Pt.crossAxisStart]});if(!En.length)return null;if(En.length===1)return En[0];var gn=En.filter(function(rn){var cn=Br(Xi(rn)[Pt.start],Xi(rn)[Pt.end]);return cn(ze[Pt.line])});return gn.length===1?gn[0]:gn.length>1?gn.sort(function(rn,cn){return Xi(rn)[Pt.start]-Xi(cn)[Pt.start]})[0]:En.sort(function(rn,cn){var On=Rn(ze,ar(Xi(rn))),dr=Rn(ze,ar(Xi(cn)));return On!==dr?On-dr:Xi(rn)[Pt.start]-Xi(cn)[Pt.start]})[0]},ya=function(xe,ze){var et=xe.page.borderBox.center;return ti(xe.descriptor.id,ze)?Ft(et,ze.displacedBy.point):et},Na=function(xe,ze){var et=xe.page.borderBox;return ti(xe.descriptor.id,ze)?Un(et,wn(ze.displacedBy.point)):et},To=function(he){var xe=he.pageBorderBoxCenter,ze=he.viewport,et=he.destination,vt=he.insideDestination,gt=he.afterCritical,St=vt.filter(function(Pt){return hi({target:Na(Pt,gt),destination:et,viewport:ze.frame,withDroppableDisplacement:!0})}).sort(function(Pt,en){var En=An(xe,Zo(et,ya(Pt,gt))),gn=An(xe,Zo(et,ya(en,gt)));return En<gn?-1:gn<En?1:Pt.descriptor.index-en.descriptor.index});return St[0]||null},aa=jn(function(xe,ze){var et=ze[xe.line];return{value:et,point:vn(xe.line,et)}}),$a=function(xe,ze,et){var vt=xe.axis;if(xe.descriptor.mode==="virtual")return vn(vt.line,ze[vt.line]);var gt=xe.subject.page.contentBox[vt.size],St=ni(xe.descriptor.id,et),Pt=St.reduce(function(gn,rn){return gn+rn.client.marginBox[vt.size]},0),en=Pt+ze[vt.line],En=en-gt;return En<=0?null:vn(vt.line,En)},Ia=function(xe,ze){return(0,Ae.Z)({},xe,{scroll:(0,Ae.Z)({},xe.scroll,{max:ze})})},Wa=function(xe,ze,et){var vt=xe.frame;sr(ze,xe)&&ut(!1),xe.subject.withPlaceholder&&ut(!1);var gt=aa(xe.axis,ze.displaceBy).point,St=$a(xe,gt,et),Pt={placeholderSize:gt,increasedBy:St,oldFrameMaxScroll:xe.frame?xe.frame.scroll.max:null};if(!vt){var en=Fr({page:xe.subject.page,withPlaceholder:Pt,axis:xe.axis,frame:xe.frame});return(0,Ae.Z)({},xe,{subject:en})}var En=St?Ht(vt.scroll.max,St):vt.scroll.max,gn=Ia(vt,En),rn=Fr({page:xe.subject.page,withPlaceholder:Pt,axis:xe.axis,frame:gn});return(0,Ae.Z)({},xe,{subject:rn,frame:gn})},Ps=function(xe){var ze=xe.subject.withPlaceholder;ze||ut(!1);var et=xe.frame;if(!et){var vt=Fr({page:xe.subject.page,axis:xe.axis,frame:null,withPlaceholder:null});return(0,Ae.Z)({},xe,{subject:vt})}var gt=ze.oldFrameMaxScroll;gt||ut(!1);var St=Ia(et,gt),Pt=Fr({page:xe.subject.page,axis:xe.axis,frame:St,withPlaceholder:null});return(0,Ae.Z)({},xe,{subject:Pt,frame:St})},Us=function(he){var xe=he.previousPageBorderBoxCenter,ze=he.moveRelativeTo,et=he.insideDestination,vt=he.draggable,gt=he.draggables,St=he.destination,Pt=he.viewport,en=he.afterCritical;if(!ze){if(et.length)return null;var En={displaced:Gn,displacedBy:hr,at:{type:"REORDER",destination:{droppableId:St.descriptor.id,index:0}}},gn=Ya({impact:En,draggable:vt,droppable:St,draggables:gt,afterCritical:en}),rn=sr(vt,St)?St:Wa(St,vt,gt),cn=Hr({draggable:vt,destination:rn,newPageBorderBoxCenter:gn,viewport:Pt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return cn?En:null}var On=xe[St.axis.line]<=ze.page.borderBox.center[St.axis.line],dr=function(){var ai=ze.descriptor.index;return ze.descriptor.id===vt.descriptor.id||On?ai:ai+1}(),ei=aa(St.axis,vt.displaceBy);return io({draggable:vt,insideDestination:et,destination:St,viewport:Pt,displacedBy:ei,last:Gn,index:dr})},ms=function(he){var xe=he.isMovingForward,ze=he.previousPageBorderBoxCenter,et=he.draggable,vt=he.isOver,gt=he.draggables,St=he.droppables,Pt=he.viewport,en=he.afterCritical,En=xo({isMovingForward:xe,pageBorderBoxCenter:ze,source:vt,droppables:St,viewport:Pt});if(!En)return null;var gn=ni(En.descriptor.id,gt),rn=To({pageBorderBoxCenter:ze,viewport:Pt,destination:En,insideDestination:gn,afterCritical:en}),cn=Us({previousPageBorderBoxCenter:ze,destination:En,draggable:et,draggables:gt,moveRelativeTo:rn,insideDestination:gn,viewport:Pt,afterCritical:en});if(!cn)return null;var On=Ya({impact:cn,draggable:et,droppable:En,draggables:gt,afterCritical:en}),dr=$n({pageBorderBoxCenter:On,draggable:et,viewport:Pt});return{clientSelection:dr,impact:cn,scrollJumpRequest:null}},Ca=function(he){var xe=he.at;return xe?xe.type==="REORDER"?xe.destination.droppableId:xe.combine.droppableId:null},vs=function(xe,ze){var et=Ca(xe);return et?ze[et]:null},iu=function(he){var xe=he.state,ze=he.type,et=vs(xe.impact,xe.dimensions.droppables),vt=!!et,gt=xe.dimensions.droppables[xe.critical.droppable.id],St=et||gt,Pt=St.axis.direction,en=Pt==="vertical"&&(ze==="MOVE_UP"||ze==="MOVE_DOWN")||Pt==="horizontal"&&(ze==="MOVE_LEFT"||ze==="MOVE_RIGHT");if(en&&!vt)return null;var En=ze==="MOVE_DOWN"||ze==="MOVE_RIGHT",gn=xe.dimensions.draggables[xe.critical.draggable.id],rn=xe.current.page.borderBoxCenter,cn=xe.dimensions,On=cn.draggables,dr=cn.droppables;return en?pi({isMovingForward:En,previousPageBorderBoxCenter:rn,draggable:gn,destination:St,draggables:On,viewport:xe.viewport,previousClientSelection:xe.current.client.selection,previousImpact:xe.impact,afterCritical:xe.afterCritical}):ms({isMovingForward:En,previousPageBorderBoxCenter:rn,draggable:gn,isOver:St,draggables:On,droppables:dr,viewport:xe.viewport,afterCritical:xe.afterCritical})};function Ss(he){return he.phase==="DRAGGING"||he.phase==="COLLECTING"}function Dl(he){var xe=Br(he.top,he.bottom),ze=Br(he.left,he.right);return function(vt){return xe(vt.y)&&ze(vt.x)}}function Hl(he,xe){return he.left<xe.right&&he.right>xe.left&&he.top<xe.bottom&&he.bottom>xe.top}function ku(he){var xe=he.pageBorderBox,ze=he.draggable,et=he.candidates,vt=ze.page.borderBox.center,gt=et.map(function(St){var Pt=St.axis,en=vn(St.axis.line,xe.center[Pt.line],St.page.borderBox.center[Pt.crossAxisLine]);return{id:St.descriptor.id,distance:An(vt,en)}}).sort(function(St,Pt){return Pt.distance-St.distance});return gt[0]?gt[0].id:null}function Pl(he){var xe=he.pageBorderBox,ze=he.draggable,et=he.droppables,vt=Kr(et).filter(function(gt){if(!gt.isEnabled)return!1;var St=gt.subject.active;if(!St||!Hl(xe,St))return!1;if(Dl(St)(xe.center))return!0;var Pt=gt.axis,en=St.center[Pt.crossAxisLine],En=xe[Pt.crossAxisStart],gn=xe[Pt.crossAxisEnd],rn=Br(St[Pt.crossAxisStart],St[Pt.crossAxisEnd]),cn=rn(En),On=rn(gn);return!cn&&!On?!0:cn?En<en:gn>en});return vt.length?vt.length===1?vt[0].descriptor.id:ku({pageBorderBox:xe,draggable:ze,candidates:vt}):null}var Es=function(xe,ze){return Et(Un(xe,ze))},Js=function(he,xe){var ze=he.frame;return ze?Es(xe,ze.scroll.diff.value):xe};function Qs(he){var xe=he.displaced,ze=he.id;return!!(xe.visible[ze]||xe.invisible[ze])}function Tl(he){var xe=he.draggable,ze=he.closest,et=he.inHomeList;return ze?et&&ze.descriptor.index>xe.descriptor.index?ze.descriptor.index-1:ze.descriptor.index:null}var el=function(he){var xe=he.pageBorderBoxWithDroppableScroll,ze=he.draggable,et=he.destination,vt=he.insideDestination,gt=he.last,St=he.viewport,Pt=he.afterCritical,en=et.axis,En=aa(et.axis,ze.displaceBy),gn=En.value,rn=xe[en.start],cn=xe[en.end],On=yr(ze,vt),dr=Zr(On,function(ai){var di=ai.descriptor.id,Pi=ai.page.borderBox.center[en.line],Wi=ti(di,Pt),Ui=Qs({displaced:gt,id:di});return Wi?Ui?cn<=Pi:rn<Pi-gn:Ui?cn<=Pi+gn:rn<Pi}),ei=Tl({draggable:ze,closest:dr,inHomeList:sr(ze,et)});return io({draggable:ze,insideDestination:vt,destination:et,viewport:St,last:gt,displacedBy:En,index:ei})},Ol=4,Zl=function(he){var xe=he.draggable,ze=he.pageBorderBoxWithDroppableScroll,et=he.previousImpact,vt=he.destination,gt=he.insideDestination,St=he.afterCritical;if(!vt.isCombineEnabled)return null;var Pt=vt.axis,en=aa(vt.axis,xe.displaceBy),En=en.value,gn=ze[Pt.start],rn=ze[Pt.end],cn=yr(xe,gt),On=Zr(cn,function(ei){var ai=ei.descriptor.id,di=ei.page.borderBox,Pi=di[Pt.size],Wi=Pi/Ol,Ui=ti(ai,St),wo=Qs({displaced:et.displaced,id:ai});return Ui?wo?rn>di[Pt.start]+Wi&&rn<di[Pt.end]-Wi:gn>di[Pt.start]-En+Wi&&gn<di[Pt.end]-En-Wi:wo?rn>di[Pt.start]+En+Wi&&rn<di[Pt.end]+En-Wi:gn>di[Pt.start]+Wi&&gn<di[Pt.end]-Wi});if(!On)return null;var dr={displacedBy:en,displaced:et.displaced,at:{type:"COMBINE",combine:{draggableId:On.descriptor.id,droppableId:vt.descriptor.id}}};return dr},Fs=function(he){var xe=he.pageOffset,ze=he.draggable,et=he.draggables,vt=he.droppables,gt=he.previousImpact,St=he.viewport,Pt=he.afterCritical,en=Es(ze.page.borderBox,xe),En=Pl({pageBorderBox:en,draggable:ze,droppables:vt});if(!En)return kr;var gn=vt[En],rn=ni(gn.descriptor.id,et),cn=Js(gn,en);return Zl({pageBorderBoxWithDroppableScroll:cn,draggable:ze,previousImpact:gt,destination:gn,insideDestination:rn,afterCritical:Pt})||el({pageBorderBoxWithDroppableScroll:cn,draggable:ze,destination:gn,insideDestination:rn,last:gt.displaced,viewport:St,afterCritical:Pt})},ka=function(he,xe){var ze;return(0,Ae.Z)({},he,(ze={},ze[xe.descriptor.id]=xe,ze))},Oo=function(xe){var ze=xe.previousImpact,et=xe.impact,vt=xe.droppables,gt=Ca(ze),St=Ca(et);if(!gt||gt===St)return vt;var Pt=vt[gt];if(!Pt.subject.withPlaceholder)return vt;var en=Ps(Pt);return ka(vt,en)},fo=function(he){var xe=he.draggable,ze=he.draggables,et=he.droppables,vt=he.previousImpact,gt=he.impact,St=Oo({previousImpact:vt,impact:gt,droppables:et}),Pt=Ca(gt);if(!Pt)return St;var en=et[Pt];if(sr(xe,en)||en.subject.withPlaceholder)return St;var En=Wa(en,xe,ze);return ka(St,En)},ua=function(he){var xe=he.state,ze=he.clientSelection,et=he.dimensions,vt=he.viewport,gt=he.impact,St=he.scrollJumpRequest,Pt=vt||xe.viewport,en=et||xe.dimensions,En=ze||xe.current.client.selection,gn=Ft(En,xe.initial.client.selection),rn={offset:gn,selection:En,borderBoxCenter:Ht(xe.initial.client.borderBoxCenter,gn)},cn={selection:Ht(rn.selection,Pt.scroll.current),borderBoxCenter:Ht(rn.borderBoxCenter,Pt.scroll.current),offset:Ht(rn.offset,Pt.scroll.diff.value)},On={client:rn,page:cn};if(xe.phase==="COLLECTING")return(0,Ae.Z)({phase:"COLLECTING"},xe,{dimensions:en,viewport:Pt,current:On});var dr=en.draggables[xe.critical.draggable.id],ei=gt||Fs({pageOffset:cn.offset,draggable:dr,draggables:en.draggables,droppables:en.droppables,previousImpact:xe.impact,viewport:Pt,afterCritical:xe.afterCritical}),ai=fo({draggable:dr,impact:ei,previousImpact:xe.impact,draggables:en.draggables,droppables:en.droppables}),di=(0,Ae.Z)({},xe,{current:On,dimensions:{draggables:en.draggables,droppables:ai},impact:ei,viewport:Pt,scrollJumpRequest:St||null,forceShouldAnimate:St?!1:null});return di};function Va(he,xe){return he.map(function(ze){return xe[ze]})}var ca=function(he){var xe=he.impact,ze=he.viewport,et=he.draggables,vt=he.destination,gt=he.forceShouldAnimate,St=xe.displaced,Pt=Va(St.all,et),en=ro({afterDragging:Pt,destination:vt,displacedBy:xe.displacedBy,viewport:ze.frame,forceShouldAnimate:gt,last:St});return(0,Ae.Z)({},xe,{displaced:en})},wa=function(he){var xe=he.impact,ze=he.draggable,et=he.droppable,vt=he.draggables,gt=he.viewport,St=he.afterCritical,Pt=Ya({impact:xe,draggable:ze,draggables:vt,droppable:et,afterCritical:St});return $n({pageBorderBoxCenter:Pt,draggable:ze,viewport:gt})},gs=function(he){var xe=he.state,ze=he.dimensions,et=he.viewport;xe.movementMode!=="SNAP"&&ut(!1);var vt=xe.impact,gt=et||xe.viewport,St=ze||xe.dimensions,Pt=St.draggables,en=St.droppables,En=Pt[xe.critical.draggable.id],gn=Ca(vt);gn||ut(!1);var rn=en[gn],cn=ca({impact:vt,viewport:gt,destination:rn,draggables:Pt}),On=wa({impact:cn,draggable:En,droppable:rn,draggables:Pt,viewport:gt,afterCritical:xe.afterCritical});return ua({impact:cn,clientSelection:On,state:xe,dimensions:St,viewport:gt})},ys=function(he){return{index:he.index,droppableId:he.droppableId}},As=function(he){var xe=he.draggable,ze=he.home,et=he.draggables,vt=he.viewport,gt=aa(ze.axis,xe.displaceBy),St=ni(ze.descriptor.id,et),Pt=St.indexOf(xe);Pt===-1&&ut(!1);var en=St.slice(Pt+1),En=en.reduce(function(On,dr){return On[dr.descriptor.id]=!0,On},{}),gn={inVirtualList:ze.descriptor.mode==="virtual",displacedBy:gt,effected:En},rn=ro({afterDragging:en,destination:ze,displacedBy:gt,last:null,viewport:vt.frame,forceShouldAnimate:!1}),cn={displaced:rn,displacedBy:gt,at:{type:"REORDER",destination:ys(xe.descriptor)}};return{impact:cn,afterCritical:gn}},rs=function(he,xe){return{draggables:he.draggables,droppables:ka(he.droppables,xe)}},Ma=function(xe){},Ja=function(xe){},_s=function(he){var xe=he.draggable,ze=he.offset,et=he.initialWindowScroll,vt=Yn(xe.client,ze),gt=mr(vt,et),St=(0,Ae.Z)({},xe,{placeholder:(0,Ae.Z)({},xe.placeholder,{client:vt}),client:vt,page:gt});return St},ou=function(he){var xe=he.frame;return xe||ut(!1),xe},au=function(he){var xe=he.additions,ze=he.updatedDroppables,et=he.viewport,vt=et.scroll.diff.value;return xe.map(function(gt){var St=gt.descriptor.droppableId,Pt=ze[St],en=ou(Pt),En=en.scroll.diff.value,gn=Ht(vt,En),rn=_s({draggable:gt,offset:gn,initialWindowScroll:et.scroll.initial});return rn})},cl=function(he){var xe=he.state,ze=he.published;Ma();var et=ze.modified.map(function(Wi){var Ui=xe.dimensions.droppables[Wi.droppableId],wo=vr(Ui,Wi.scroll);return wo}),vt=(0,Ae.Z)({},xe.dimensions.droppables,{},yi(et)),gt=Yr(au({additions:ze.additions,updatedDroppables:vt,viewport:xe.viewport})),St=(0,Ae.Z)({},xe.dimensions.draggables,{},gt);ze.removals.forEach(function(Wi){delete St[Wi]});var Pt={droppables:vt,draggables:St},en=Ca(xe.impact),En=en?Pt.droppables[en]:null,gn=Pt.draggables[xe.critical.draggable.id],rn=Pt.droppables[xe.critical.droppable.id],cn=As({draggable:gn,home:rn,draggables:St,viewport:xe.viewport}),On=cn.impact,dr=cn.afterCritical,ei=En&&En.isCombineEnabled?xe.impact:On,ai=Fs({pageOffset:xe.current.page.offset,draggable:Pt.draggables[xe.critical.draggable.id],draggables:Pt.draggables,droppables:Pt.droppables,previousImpact:ei,viewport:xe.viewport,afterCritical:dr});Ja();var di=(0,Ae.Z)({phase:"DRAGGING"},xe,{phase:"DRAGGING",impact:ai,onLiftImpact:On,dimensions:Pt,afterCritical:dr,forceShouldAnimate:!1});if(xe.phase==="COLLECTING")return di;var Pi=(0,Ae.Z)({phase:"DROP_PENDING"},di,{phase:"DROP_PENDING",reason:xe.reason,isWaiting:!1});return Pi},Is=function(xe){return xe.movementMode==="SNAP"},bs=function(xe,ze,et){var vt=rs(xe.dimensions,ze);return!Is(xe)||et?ua({state:xe,dimensions:vt}):gs({state:xe,dimensions:vt})};function Ra(he){return he.isDragging&&he.movementMode==="SNAP"?(0,Ae.Z)({phase:"DRAGGING"},he,{scrollJumpRequest:null}):he}var js={phase:"IDLE",completed:null,shouldFlush:!1},Ts=function(he,xe){if(he===void 0&&(he=js),xe.type==="FLUSH")return(0,Ae.Z)({},js,{shouldFlush:!0});if(xe.type==="INITIAL_PUBLISH"){he.phase!=="IDLE"&&ut(!1);var ze=xe.payload,et=ze.critical,vt=ze.clientSelection,gt=ze.viewport,St=ze.dimensions,Pt=ze.movementMode,en=St.draggables[et.draggable.id],En=St.droppables[et.droppable.id],gn={selection:vt,borderBoxCenter:en.client.borderBox.center,offset:Cn},rn={client:gn,page:{selection:Ht(gn.selection,gt.scroll.initial),borderBoxCenter:Ht(gn.selection,gt.scroll.initial),offset:Ht(gn.selection,gt.scroll.diff.value)}},cn=Kr(St.droppables).every(function(Bc){return!Bc.isFixedOnPage}),On=As({draggable:en,home:En,draggables:St.draggables,viewport:gt}),dr=On.impact,ei=On.afterCritical,ai={phase:"DRAGGING",isDragging:!0,critical:et,movementMode:Pt,dimensions:St,initial:rn,current:rn,isWindowScrollAllowed:cn,impact:dr,afterCritical:ei,onLiftImpact:dr,viewport:gt,scrollJumpRequest:null,forceShouldAnimate:null};return ai}if(xe.type==="COLLECTION_STARTING"){if(he.phase==="COLLECTING"||he.phase==="DROP_PENDING")return he;he.phase!=="DRAGGING"&&ut(!1);var di=(0,Ae.Z)({phase:"COLLECTING"},he,{phase:"COLLECTING"});return di}if(xe.type==="PUBLISH_WHILE_DRAGGING")return he.phase==="COLLECTING"||he.phase==="DROP_PENDING"||ut(!1),cl({state:he,published:xe.payload});if(xe.type==="MOVE"){if(he.phase==="DROP_PENDING")return he;Ss(he)||ut(!1);var Pi=xe.payload.client;return fn(Pi,he.current.client.selection)?he:ua({state:he,clientSelection:Pi,impact:Is(he)?he.impact:null})}if(xe.type==="UPDATE_DROPPABLE_SCROLL"){if(he.phase==="DROP_PENDING"||he.phase==="COLLECTING")return Ra(he);Ss(he)||ut(!1);var Wi=xe.payload,Ui=Wi.id,wo=Wi.newScroll,vo=he.dimensions.droppables[Ui];if(!vo)return he;var Fo=vr(vo,wo);return bs(he,Fo,!1)}if(xe.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(he.phase==="DROP_PENDING")return he;Ss(he)||ut(!1);var Ba=xe.payload,Wo=Ba.id,La=Ba.isEnabled,ss=he.dimensions.droppables[Wo];ss||ut(!1),ss.isEnabled===La&&ut(!1);var ps=(0,Ae.Z)({},ss,{isEnabled:La});return bs(he,ps,!0)}if(xe.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(he.phase==="DROP_PENDING")return he;Ss(he)||ut(!1);var wl=xe.payload,ul=wl.id,Zs=wl.isCombineEnabled,Sl=he.dimensions.droppables[ul];Sl||ut(!1),Sl.isCombineEnabled===Zs&&ut(!1);var hs=(0,Ae.Z)({},Sl,{isCombineEnabled:Zs});return bs(he,hs,!0)}if(xe.type==="MOVE_BY_WINDOW_SCROLL"){if(he.phase==="DROP_PENDING"||he.phase==="DROP_ANIMATING")return he;Ss(he)||ut(!1),he.isWindowScrollAllowed||ut(!1);var nu=xe.payload.newScroll;if(fn(he.viewport.scroll.current,nu))return Ra(he);var El=Hi(he.viewport,nu);return Is(he)?gs({state:he,viewport:El}):ua({state:he,viewport:El})}if(xe.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Ss(he))return he;var dc=xe.payload.maxScroll;if(fn(dc,he.viewport.scroll.max))return he;var Lu=(0,Ae.Z)({},he.viewport,{scroll:(0,Ae.Z)({},he.viewport.scroll,{max:dc})});return(0,Ae.Z)({phase:"DRAGGING"},he,{viewport:Lu})}if(xe.type==="MOVE_UP"||xe.type==="MOVE_DOWN"||xe.type==="MOVE_LEFT"||xe.type==="MOVE_RIGHT"){if(he.phase==="COLLECTING"||he.phase==="DROP_PENDING")return he;he.phase!=="DRAGGING"&&ut(!1);var ru=iu({state:he,type:xe.type});return ru?ua({state:he,impact:ru.impact,clientSelection:ru.clientSelection,scrollJumpRequest:ru.scrollJumpRequest}):he}if(xe.type==="DROP_PENDING"){var Al=xe.payload.reason;he.phase!=="COLLECTING"&&ut(!1);var Nu=(0,Ae.Z)({phase:"DROP_PENDING"},he,{phase:"DROP_PENDING",isWaiting:!0,reason:Al});return Nu}if(xe.type==="DROP_ANIMATE"){var Pc=xe.payload,Il=Pc.completed,fc=Pc.dropDuration,Tc=Pc.newHomeClientOffset;he.phase==="DRAGGING"||he.phase==="DROP_PENDING"||ut(!1);var Ku={phase:"DROP_ANIMATING",completed:Il,dropDuration:fc,newHomeClientOffset:Tc,dimensions:he.dimensions};return Ku}if(xe.type==="DROP_COMPLETE"){var Oc=xe.payload.completed;return{phase:"IDLE",completed:Oc,shouldFlush:!1}}return he},Bl=function(xe){return{type:"BEFORE_INITIAL_CAPTURE",payload:xe}},Mu=function(xe){return{type:"LIFT",payload:xe}},su=function(xe){return{type:"INITIAL_PUBLISH",payload:xe}},tl=function(xe){return{type:"PUBLISH_WHILE_DRAGGING",payload:xe}},Gu=function(){return{type:"COLLECTION_STARTING",payload:null}},Ru=function(xe){return{type:"UPDATE_DROPPABLE_SCROLL",payload:xe}},Ll=function(xe){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:xe}},hc=function(xe){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:xe}},Ul=function(xe){return{type:"MOVE",payload:xe}},Xu=function(xe){return{type:"MOVE_BY_WINDOW_SCROLL",payload:xe}},Fu=function(xe){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:xe}},ju=function(){return{type:"MOVE_UP",payload:null}},dl=function(){return{type:"MOVE_DOWN",payload:null}},Ki=function(){return{type:"MOVE_RIGHT",payload:null}},fl=function(){return{type:"MOVE_LEFT",payload:null}},Os=function(){return{type:"FLUSH",payload:null}},Yu=function(xe){return{type:"DROP_ANIMATE",payload:xe}},lu=function(xe){return{type:"DROP_COMPLETE",payload:xe}},$u=function(xe){return{type:"DROP",payload:xe}},uu=function(xe){return{type:"DROP_PENDING",payload:xe}},cu=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Nl(he){if(!(he.length<=1)){for(var xe=he.map(function(Pt){return Pt.descriptor.index}),ze={},et=1;et<xe.length;et++){var vt=xe[et],gt=xe[et-1];vt!==gt+1&&(ze[vt]=!0)}if(Object.keys(ze).length)var St=xe.map(function(Pt){var en=!!ze[Pt];return en?"[\u{1F525}"+Pt+"]":""+Pt}).join(", ")}}function _l(he,xe){if(0)var ze}var Ju=function(he){return function(xe){var ze=xe.getState,et=xe.dispatch;return function(vt){return function(gt){if(gt.type!=="LIFT"){vt(gt);return}var St=gt.payload,Pt=St.id,en=St.clientSelection,En=St.movementMode,gn=ze();gn.phase==="DROP_ANIMATING"&&et(lu({completed:gn.completed})),ze().phase!=="IDLE"&&ut(!1),et(Os()),et(Bl({draggableId:Pt,movementMode:En}));var rn={shouldPublishImmediately:En==="SNAP"},cn={draggableId:Pt,scrollOptions:rn},On=he.startPublishing(cn),dr=On.critical,ei=On.dimensions,ai=On.viewport;_l(dr,ei),et(su({critical:dr,dimensions:ei,clientSelection:en,movementMode:En,viewport:ai}))}}}},du=function(he){return function(){return function(xe){return function(ze){ze.type==="INITIAL_PUBLISH"&&he.dragging(),ze.type==="DROP_ANIMATE"&&he.dropping(ze.payload.completed.result.reason),(ze.type==="FLUSH"||ze.type==="DROP_COMPLETE")&&he.resting(),xe(ze)}}}},Vl={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Vs={opacity:{drop:0,combining:.7},scale:{drop:.75}},Kl={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},xs=Kl.outOfTheWay+"s "+Vl.outOfTheWay,zs={fluid:"opacity "+xs,snap:"transform "+xs+", opacity "+xs,drop:function(xe){var ze=xe+"s "+Vl.drop;return"transform "+ze+", opacity "+ze},outOfTheWay:"transform "+xs,placeholder:"height "+xs+", width "+xs+", margin "+xs},nl=function(xe){return fn(xe,Cn)?null:"translate("+xe.x+"px, "+xe.y+"px)"},rl={moveTo:nl,drop:function(xe,ze){var et=nl(xe);return et?ze?et+" scale("+Vs.scale.drop+")":et:null}},il=Kl.minDropTime,fu=Kl.maxDropTime,Qu=fu-il,pu=1500,mc=.6,ol=function(he){var xe=he.current,ze=he.destination,et=he.reason,vt=An(xe,ze);if(vt<=0)return il;if(vt>=pu)return fu;var gt=vt/pu,St=il+Qu*gt,Pt=et==="CANCEL"?St*mc:St;return Number(Pt.toFixed(2))},pl=function(he){var xe=he.impact,ze=he.draggable,et=he.dimensions,vt=he.viewport,gt=he.afterCritical,St=et.draggables,Pt=et.droppables,en=Ca(xe),En=en?Pt[en]:null,gn=Pt[ze.descriptor.droppableId],rn=wa({impact:xe,draggable:ze,draggables:St,afterCritical:gt,droppable:En||gn,viewport:vt}),cn=Ft(rn,ze.client.borderBox.center);return cn},qu=function(he){var xe=he.draggables,ze=he.reason,et=he.lastImpact,vt=he.home,gt=he.viewport,St=he.onLiftImpact;if(!et.at||ze!=="DROP"){var Pt=ca({draggables:xe,impact:St,destination:vt,viewport:gt,forceShouldAnimate:!0});return{impact:Pt,didDropInsideDroppable:!1}}if(et.at.type==="REORDER")return{impact:et,didDropInsideDroppable:!0};var en=(0,Ae.Z)({},et,{displaced:Gn});return{impact:en,didDropInsideDroppable:!0}},vc=function(he){var xe=he.getState,ze=he.dispatch;return function(et){return function(vt){if(vt.type!=="DROP"){et(vt);return}var gt=xe(),St=vt.payload.reason;if(gt.phase==="COLLECTING"){ze(uu({reason:St}));return}if(gt.phase!=="IDLE"){var Pt=gt.phase==="DROP_PENDING"&&gt.isWaiting;Pt&&ut(!1),gt.phase==="DRAGGING"||gt.phase==="DROP_PENDING"||ut(!1);var en=gt.critical,En=gt.dimensions,gn=En.draggables[gt.critical.draggable.id],rn=qu({reason:St,lastImpact:gt.impact,afterCritical:gt.afterCritical,onLiftImpact:gt.onLiftImpact,home:gt.dimensions.droppables[gt.critical.droppable.id],viewport:gt.viewport,draggables:gt.dimensions.draggables}),cn=rn.impact,On=rn.didDropInsideDroppable,dr=On?Mr(cn):null,ei=On?Vr(cn):null,ai={index:en.draggable.index,droppableId:en.droppable.id},di={draggableId:gn.descriptor.id,type:gn.descriptor.type,source:ai,reason:St,mode:gt.movementMode,destination:dr,combine:ei},Pi=pl({impact:cn,draggable:gn,dimensions:En,viewport:gt.viewport,afterCritical:gt.afterCritical}),Wi={critical:gt.critical,afterCritical:gt.afterCritical,result:di,impact:cn},Ui=!fn(gt.current.client.offset,Pi)||!!di.combine;if(!Ui){ze(lu({completed:Wi}));return}var wo=ol({current:gt.current.client.offset,destination:Pi,reason:St}),vo={newHomeClientOffset:Pi,dropDuration:wo,completed:Wi};ze(Yu(vo))}}}},zu=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function gc(he){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ze){ze.target!==window&&ze.target!==window.document||he()}}}function ec(he){var xe=he.onWindowScroll;function ze(){xe(zu())}var et=Cr(ze),vt=gc(et),gt=zt;function St(){return gt!==zt}function Pt(){St()&&ut(!1),gt=Dt(window,[vt])}function en(){St()||ut(!1),et.cancel(),gt(),gt=zt}return{start:Pt,stop:en,isActive:St}}var yc=function(xe){return xe.type==="DROP_COMPLETE"||xe.type==="DROP_ANIMATE"||xe.type==="FLUSH"},Qa=function(he){var xe=ec({onWindowScroll:function(et){he.dispatch(Xu({newScroll:et}))}});return function(ze){return function(et){!xe.isActive()&&et.type==="INITIAL_PUBLISH"&&xe.start(),xe.isActive()&&yc(et)&&xe.stop(),ze(et)}}},Fa=function(he){var xe=!1,ze=!1,et=setTimeout(function(){ze=!0}),vt=function(St){xe||ze||(xe=!0,he(St),clearTimeout(et))};return vt.wasCalled=function(){return xe},vt},Ka=function(){var he=[],xe=function(gt){var St=gr(he,function(En){return En.timerId===gt});St===-1&&ut(!1);var Pt=he.splice(St,1),en=Pt[0];en.callback()},ze=function(gt){var St=setTimeout(function(){return xe(St)}),Pt={timerId:St,callback:gt};he.push(Pt)},et=function(){if(he.length){var gt=[].concat(he);he.length=0,gt.forEach(function(St){clearTimeout(St.timerId),St.callback()})}};return{add:ze,flush:et}},Da=function(xe,ze){return xe==null&&ze==null?!0:xe==null||ze==null?!1:xe.droppableId===ze.droppableId&&xe.index===ze.index},kl=function(xe,ze){return xe==null&&ze==null?!0:xe==null||ze==null?!1:xe.draggableId===ze.draggableId&&xe.droppableId===ze.droppableId},Wu=function(xe,ze){if(xe===ze)return!0;var et=xe.draggable.id===ze.draggable.id&&xe.draggable.droppableId===ze.draggable.droppableId&&xe.draggable.type===ze.draggable.type&&xe.draggable.index===ze.draggable.index,vt=xe.droppable.id===ze.droppable.id&&xe.droppable.type===ze.droppable.type;return et&&vt},Ks=function(xe,ze){Ma(),ze(),Ja()},Gl=function(xe,ze){return{draggableId:xe.draggable.id,type:xe.droppable.type,source:{droppableId:xe.droppable.id,index:xe.draggable.index},mode:ze}},hu=function(xe,ze,et,vt){if(!xe){et(vt(ze));return}var gt=Fa(et),St={announce:gt};xe(ze,St),gt.wasCalled()||et(vt(ze))},tc=function(he,xe){var ze=Ka(),et=null,vt=function(cn,On){et&&ut(!1),Ks("onBeforeCapture",function(){var dr=he().onBeforeCapture;if(dr){var ei={draggableId:cn,mode:On};dr(ei)}})},gt=function(cn,On){et&&ut(!1),Ks("onBeforeDragStart",function(){var dr=he().onBeforeDragStart;dr&&dr(Gl(cn,On))})},St=function(cn,On){et&&ut(!1);var dr=Gl(cn,On);et={mode:On,lastCritical:cn,lastLocation:dr.source,lastCombine:null},ze.add(function(){Ks("onDragStart",function(){return hu(he().onDragStart,dr,xe,nn.onDragStart)})})},Pt=function(cn,On){var dr=Mr(On),ei=Vr(On);et||ut(!1);var ai=!Wu(cn,et.lastCritical);ai&&(et.lastCritical=cn);var di=!Da(et.lastLocation,dr);di&&(et.lastLocation=dr);var Pi=!kl(et.lastCombine,ei);if(Pi&&(et.lastCombine=ei),!(!ai&&!di&&!Pi)){var Wi=(0,Ae.Z)({},Gl(cn,et.mode),{combine:ei,destination:dr});ze.add(function(){Ks("onDragUpdate",function(){return hu(he().onDragUpdate,Wi,xe,nn.onDragUpdate)})})}},en=function(){et||ut(!1),ze.flush()},En=function(cn){et||ut(!1),et=null,Ks("onDragEnd",function(){return hu(he().onDragEnd,cn,xe,nn.onDragEnd)})},gn=function(){if(et){var cn=(0,Ae.Z)({},Gl(et.lastCritical,et.mode),{combine:null,destination:null,reason:"CANCEL"});En(cn)}};return{beforeCapture:vt,beforeStart:gt,start:St,update:Pt,flush:en,drop:En,abort:gn}},mu=function(he,xe){var ze=tc(he,xe);return function(et){return function(vt){return function(gt){if(gt.type==="BEFORE_INITIAL_CAPTURE"){ze.beforeCapture(gt.payload.draggableId,gt.payload.movementMode);return}if(gt.type==="INITIAL_PUBLISH"){var St=gt.payload.critical;ze.beforeStart(St,gt.payload.movementMode),vt(gt),ze.start(St,gt.payload.movementMode);return}if(gt.type==="DROP_COMPLETE"){var Pt=gt.payload.completed.result;ze.flush(),vt(gt),ze.drop(Pt);return}if(vt(gt),gt.type==="FLUSH"){ze.abort();return}var en=et.getState();en.phase==="DRAGGING"&&ze.update(en.critical,en.impact)}}}},Bs=function(he){return function(xe){return function(ze){if(ze.type!=="DROP_ANIMATION_FINISHED"){xe(ze);return}var et=he.getState();et.phase!=="DROP_ANIMATING"&&ut(!1),he.dispatch(lu({completed:et.completed}))}}},vu=function(he){var xe=null,ze=null;function et(){ze&&(cancelAnimationFrame(ze),ze=null),xe&&(xe(),xe=null)}return function(vt){return function(gt){if((gt.type==="FLUSH"||gt.type==="DROP_COMPLETE"||gt.type==="DROP_ANIMATION_FINISHED")&&et(),vt(gt),gt.type==="DROP_ANIMATE"){var St={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var en=he.getState();en.phase==="DROP_ANIMATING"&&he.dispatch(cu())}};ze=requestAnimationFrame(function(){ze=null,xe=Dt(window,[St])})}}}},nc=function(he){return function(){return function(xe){return function(ze){(ze.type==="DROP_COMPLETE"||ze.type==="FLUSH"||ze.type==="DROP_ANIMATE")&&he.stopPublishing(),xe(ze)}}}},ht=function(he){var xe=!1;return function(){return function(ze){return function(et){if(et.type==="INITIAL_PUBLISH"){xe=!0,he.tryRecordFocus(et.payload.critical.draggable.id),ze(et),he.tryRestoreFocusRecorded();return}if(ze(et),!!xe){if(et.type==="FLUSH"){xe=!1,he.tryRestoreFocusRecorded();return}if(et.type==="DROP_COMPLETE"){xe=!1;var vt=et.payload.completed.result;vt.combine&&he.tryShiftRecord(vt.draggableId,vt.combine.draggableId),he.tryRestoreFocusRecorded()}}}}}},pt=function(xe){return xe.type==="DROP_COMPLETE"||xe.type==="DROP_ANIMATE"||xe.type==="FLUSH"},kt=function(he){return function(xe){return function(ze){return function(et){if(pt(et)){he.stop(),ze(et);return}if(et.type==="INITIAL_PUBLISH"){ze(et);var vt=xe.getState();vt.phase!=="DRAGGING"&&ut(!1),he.start(vt);return}ze(et),he.scroll(xe.getState())}}}},Ut=function(he){return function(xe){return function(ze){if(xe(ze),ze.type==="PUBLISH_WHILE_DRAGGING"){var et=he.getState();et.phase==="DROP_PENDING"&&(et.isWaiting||he.dispatch($u({reason:et.reason})))}}}},sn=de.qC,mn=function(he){var xe=he.dimensionMarshal,ze=he.focusMarshal,et=he.styleMarshal,vt=he.getResponders,gt=he.announce,St=he.autoScroller;return(0,de.MT)(Ts,sn((0,de.md)(du(et),nc(xe),Ju(xe),vc,Bs,vu,Ut,kt(St),Qa,ht(ze),mu(vt,gt))))},Nn=function(){return{additions:{},removals:{},modified:{}}};function Dn(he){var xe=he.registry,ze=he.callbacks,et=Nn(),vt=null,gt=function(){vt||(ze.collectionStarting(),vt=requestAnimationFrame(function(){vt=null,Ma();var gn=et,rn=gn.additions,cn=gn.removals,On=gn.modified,dr=Object.keys(rn).map(function(di){return xe.draggable.getById(di).getDimension(Cn)}).sort(function(di,Pi){return di.descriptor.index-Pi.descriptor.index}),ei=Object.keys(On).map(function(di){var Pi=xe.droppable.getById(di),Wi=Pi.callbacks.getScrollWhileDragging();return{droppableId:di,scroll:Wi}}),ai={additions:dr,removals:Object.keys(cn),modified:ei};et=Nn(),Ja(),ze.publish(ai)}))},St=function(gn){var rn=gn.descriptor.id;et.additions[rn]=gn,et.modified[gn.descriptor.droppableId]=!0,et.removals[rn]&&delete et.removals[rn],gt()},Pt=function(gn){var rn=gn.descriptor;et.removals[rn.id]=!0,et.modified[rn.droppableId]=!0,et.additions[rn.id]&&delete et.additions[rn.id],gt()},en=function(){vt&&(cancelAnimationFrame(vt),vt=null,et=Nn())};return{add:St,remove:Pt,stop:en}}var Hn=function(he){var xe=he.scrollHeight,ze=he.scrollWidth,et=he.height,vt=he.width,gt=Ft({x:ze,y:xe},{x:vt,y:et}),St={x:Math.max(0,gt.x),y:Math.max(0,gt.y)};return St},Mn=function(){var he=document.documentElement;return he||ut(!1),he},br=function(){var he=Mn(),xe=Hn({scrollHeight:he.scrollHeight,scrollWidth:he.scrollWidth,width:he.clientWidth,height:he.clientHeight});return xe},cr=function(){var he=zu(),xe=br(),ze=he.y,et=he.x,vt=Mn(),gt=vt.clientWidth,St=vt.clientHeight,Pt=et+gt,en=ze+St,En=Et({top:ze,left:et,right:Pt,bottom:en}),gn={frame:En,scroll:{initial:he,current:he,max:xe,diff:{value:Cn,displacement:Cn}}};return gn},lr=function(he){var xe=he.critical,ze=he.scrollOptions,et=he.registry;Ma();var vt=cr(),gt=vt.scroll.current,St=xe.droppable,Pt=et.droppable.getAllByType(St.type).map(function(rn){return rn.callbacks.getDimensionAndWatchScroll(gt,ze)}),en=et.draggable.getAllByType(xe.draggable.type).map(function(rn){return rn.getDimension(gt)}),En={draggables:Yr(en),droppables:yi(Pt)};Ja();var gn={dimensions:En,critical:xe,viewport:vt};return gn};function er(he,xe,ze){if(ze.descriptor.id===xe.id||ze.descriptor.type!==xe.type)return!1;var et=he.droppable.getById(ze.descriptor.droppableId);return et.descriptor.mode==="virtual"}var qn=function(he,xe){var ze=null,et=Dn({callbacks:{publish:xe.publishWhileDragging,collectionStarting:xe.collectionStarting},registry:he}),vt=function(On,dr){he.droppable.exists(On)||ut(!1),ze&&xe.updateDroppableIsEnabled({id:On,isEnabled:dr})},gt=function(On,dr){ze&&(he.droppable.exists(On)||ut(!1),xe.updateDroppableIsCombineEnabled({id:On,isCombineEnabled:dr}))},St=function(On,dr){ze&&(he.droppable.exists(On)||ut(!1),xe.updateDroppableScroll({id:On,newScroll:dr}))},Pt=function(On,dr){ze&&he.droppable.getById(On).callbacks.scroll(dr)},en=function(){if(ze){et.stop();var On=ze.critical.droppable;he.droppable.getAllByType(On.type).forEach(function(dr){return dr.callbacks.dragStopped()}),ze.unsubscribe(),ze=null}},En=function(On){ze||ut(!1);var dr=ze.critical.draggable;On.type==="ADDITION"&&er(he,dr,On.value)&&et.add(On.value),On.type==="REMOVAL"&&er(he,dr,On.value)&&et.remove(On.value)},gn=function(On){ze&&ut(!1);var dr=he.draggable.getById(On.draggableId),ei=he.droppable.getById(dr.descriptor.droppableId),ai={draggable:dr.descriptor,droppable:ei.descriptor},di=he.subscribe(En);return ze={critical:ai,unsubscribe:di},lr({critical:ai,registry:he,scrollOptions:On.scrollOptions})},rn={updateDroppableIsEnabled:vt,updateDroppableIsCombineEnabled:gt,scrollDroppable:Pt,updateDroppableScroll:St,startPublishing:gn,stopPublishing:en};return rn},Gr=function(he,xe){return he.phase==="IDLE"?!0:he.phase!=="DROP_ANIMATING"||he.completed.result.draggableId===xe?!1:he.completed.result.reason==="DROP"},Pr=function(he){window.scrollBy(he.x,he.y)},$r=jn(function(he){return Kr(he).filter(function(xe){return!(!xe.isEnabled||!xe.frame)})}),ri=function(xe,ze){var et=Zr($r(ze),function(vt){return vt.frame||ut(!1),Dl(vt.frame.pageMarginBox)(xe)});return et},Jr=function(he){var xe=he.center,ze=he.destination,et=he.droppables;if(ze){var vt=et[ze];return vt.frame?vt:null}var gt=ri(xe,et);return gt},qr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(xe){return Math.pow(xe,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},fi=function(he,xe){var ze=he[xe.size]*qr.startFromPercentage,et=he[xe.size]*qr.maxScrollAtPercentage,vt={startScrollingFrom:ze,maxScrollValueAt:et};return vt},Ci=function(he){var xe=he.startOfRange,ze=he.endOfRange,et=he.current,vt=ze-xe;if(vt===0)return 0;var gt=et-xe,St=gt/vt;return St},vi=1,no=function(he,xe){if(he>xe.startScrollingFrom)return 0;if(he<=xe.maxScrollValueAt)return qr.maxPixelScroll;if(he===xe.startScrollingFrom)return vi;var ze=Ci({startOfRange:xe.maxScrollValueAt,endOfRange:xe.startScrollingFrom,current:he}),et=1-ze,vt=qr.maxPixelScroll*qr.ease(et);return Math.ceil(vt)},zi=qr.durationDampening.accelerateAt,Ni=qr.durationDampening.stopDampeningAt,Gi=function(he,xe){var ze=xe,et=Ni,vt=Date.now(),gt=vt-ze;if(gt>=Ni)return he;if(gt<zi)return vi;var St=Ci({startOfRange:zi,endOfRange:et,current:gt}),Pt=he*qr.ease(St);return Math.ceil(Pt)},wi=function(he){var xe=he.distanceToEdge,ze=he.thresholds,et=he.dragStartTime,vt=he.shouldUseTimeDampening,gt=no(xe,ze);return gt===0?0:vt?Math.max(Gi(gt,et),vi):gt},Si=function(he){var xe=he.container,ze=he.distanceToEdges,et=he.dragStartTime,vt=he.axis,gt=he.shouldUseTimeDampening,St=fi(xe,vt),Pt=ze[vt.end]<ze[vt.start];return Pt?wi({distanceToEdge:ze[vt.end],thresholds:St,dragStartTime:et,shouldUseTimeDampening:gt}):-1*wi({distanceToEdge:ze[vt.start],thresholds:St,dragStartTime:et,shouldUseTimeDampening:gt})},ui=function(he){var xe=he.container,ze=he.subject,et=he.proposedScroll,vt=ze.height>xe.height,gt=ze.width>xe.width;return!gt&&!vt?et:gt&&vt?null:{x:gt?0:et.x,y:vt?0:et.y}},ii=Zn(function(he){return he===0?0:he}),xi=function(he){var xe=he.dragStartTime,ze=he.container,et=he.subject,vt=he.center,gt=he.shouldUseTimeDampening,St={top:vt.y-ze.top,right:ze.right-vt.x,bottom:ze.bottom-vt.y,left:vt.x-ze.left},Pt=Si({container:ze,distanceToEdges:St,dragStartTime:xe,axis:Xn,shouldUseTimeDampening:gt}),en=Si({container:ze,distanceToEdges:St,dragStartTime:xe,axis:fr,shouldUseTimeDampening:gt}),En=ii({x:en,y:Pt});if(fn(En,Cn))return null;var gn=ui({container:ze,subject:et,proposedScroll:En});return gn?fn(gn,Cn)?null:gn:null},Ii=Zn(function(he){return he===0?0:he>0?1:-1}),Mi=function(){var he=function(ze,et){return ze<0?ze:ze>et?ze-et:0};return function(xe){var ze=xe.current,et=xe.max,vt=xe.change,gt=Ht(ze,vt),St={x:he(gt.x,et.x),y:he(gt.y,et.y)};return fn(St,Cn)?null:St}}(),ci=function(xe){var ze=xe.max,et=xe.current,vt=xe.change,gt={x:Math.max(et.x,ze.x),y:Math.max(et.y,ze.y)},St=Ii(vt),Pt=Mi({max:gt,current:et,change:St});return!Pt||St.x!==0&&Pt.x===0||St.y!==0&&Pt.y===0},lo=function(xe,ze){return ci({current:xe.scroll.current,max:xe.scroll.max,change:ze})},po=function(xe,ze){if(!lo(xe,ze))return null;var et=xe.scroll.max,vt=xe.scroll.current;return Mi({current:vt,max:et,change:ze})},Qo=function(xe,ze){var et=xe.frame;return et?ci({current:et.scroll.current,max:et.scroll.max,change:ze}):!1},qo=function(xe,ze){var et=xe.frame;return!et||!Qo(xe,ze)?null:Mi({current:et.scroll.current,max:et.scroll.max,change:ze})},Ko=function(he){var xe=he.viewport,ze=he.subject,et=he.center,vt=he.dragStartTime,gt=he.shouldUseTimeDampening,St=xi({dragStartTime:vt,container:xe.frame,subject:ze,center:et,shouldUseTimeDampening:gt});return St&&lo(xe,St)?St:null},ea=function(he){var xe=he.droppable,ze=he.subject,et=he.center,vt=he.dragStartTime,gt=he.shouldUseTimeDampening,St=xe.frame;if(!St)return null;var Pt=xi({dragStartTime:vt,container:St.pageMarginBox,subject:ze,center:et,shouldUseTimeDampening:gt});return Pt&&Qo(xe,Pt)?Pt:null},sa=function(he){var xe=he.state,ze=he.dragStartTime,et=he.shouldUseTimeDampening,vt=he.scrollWindow,gt=he.scrollDroppable,St=xe.current.page.borderBoxCenter,Pt=xe.dimensions.draggables[xe.critical.draggable.id],en=Pt.page.marginBox;if(xe.isWindowScrollAllowed){var En=xe.viewport,gn=Ko({dragStartTime:ze,viewport:En,subject:en,center:St,shouldUseTimeDampening:et});if(gn){vt(gn);return}}var rn=Jr({center:St,destination:Ca(xe.impact),droppables:xe.dimensions.droppables});if(rn){var cn=ea({dragStartTime:ze,droppable:rn,subject:en,center:St,shouldUseTimeDampening:et});cn&&gt(rn.descriptor.id,cn)}},mo=function(he){var xe=he.scrollWindow,ze=he.scrollDroppable,et=Cr(xe),vt=Cr(ze),gt=null,St=function(gn){gt||ut(!1);var rn=gt,cn=rn.shouldUseTimeDampening,On=rn.dragStartTime;sa({state:gn,scrollWindow:et,scrollDroppable:vt,dragStartTime:On,shouldUseTimeDampening:cn})},Pt=function(gn){Ma(),gt&&ut(!1);var rn=Date.now(),cn=!1,On=function(){cn=!0};sa({state:gn,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:On,scrollDroppable:On}),gt={dragStartTime:rn,shouldUseTimeDampening:cn},Ja(),cn&&St(gn)},en=function(){gt&&(et.cancel(),vt.cancel(),gt=null)};return{start:Pt,stop:en,scroll:St}},go=function(he){var xe=he.move,ze=he.scrollDroppable,et=he.scrollWindow,vt=function(En,gn){var rn=Ht(En.current.client.selection,gn);xe({client:rn})},gt=function(En,gn){if(!Qo(En,gn))return gn;var rn=qo(En,gn);if(!rn)return ze(En.descriptor.id,gn),null;var cn=Ft(gn,rn);ze(En.descriptor.id,cn);var On=Ft(gn,cn);return On},St=function(En,gn,rn){if(!En||!lo(gn,rn))return rn;var cn=po(gn,rn);if(!cn)return et(rn),null;var On=Ft(rn,cn);et(On);var dr=Ft(rn,On);return dr},Pt=function(En){var gn=En.scrollJumpRequest;if(gn){var rn=Ca(En.impact);rn||ut(!1);var cn=gt(En.dimensions.droppables[rn],gn);if(cn){var On=En.viewport,dr=St(En.isWindowScrollAllowed,On,cn);dr&&vt(En,dr)}}};return Pt},da=function(he){var xe=he.scrollDroppable,ze=he.scrollWindow,et=he.move,vt=mo({scrollWindow:ze,scrollDroppable:xe}),gt=go({move:et,scrollWindow:ze,scrollDroppable:xe}),St=function(En){if(En.phase==="DRAGGING"){if(En.movementMode==="FLUID"){vt.scroll(En);return}En.scrollJumpRequest&&gt(En)}},Pt={scroll:St,start:vt.start,stop:vt.stop};return Pt},ta="data-rbd",Di=function(){var he=ta+"-drag-handle";return{base:he,draggableId:he+"-draggable-id",contextId:he+"-context-id"}}(),Ji=function(){var he=ta+"-draggable";return{base:he,contextId:he+"-context-id",id:he+"-id"}}(),Bi=function(){var he=ta+"-droppable";return{base:he,contextId:he+"-context-id",id:he+"-id"}}(),bi={contextId:ta+"-scroll-container-context-id"},Io=function(xe){return function(ze){return"["+ze+'="'+xe+'"]'}},Eo=function(xe,ze){return xe.map(function(et){var vt=et.styles[ze];return vt?et.selector+" { "+vt+" }":""}).join(" ")},$o="pointer-events: none;",Uo=function(he){var xe=Io(he),ze=function(){var Pt=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:xe(Di.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Pt,dragging:$o,dropAnimating:Pt}}}(),et=function(){var Pt=`
transition: `+zs.outOfTheWay+`;
`;return{selector:xe(Ji.contextId),styles:{dragging:Pt,dropAnimating:Pt,userCancel:Pt}}}(),vt={selector:xe(Bi.contextId),styles:{always:"overflow-anchor: none;"}},gt={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},St=[et,ze,vt,gt];return{always:Eo(St,"always"),resting:Eo(St,"resting"),dragging:Eo(St,"dragging"),dropAnimating:Eo(St,"dropAnimating"),userCancel:Eo(St,"userCancel")}},Mo=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,fa=function(){var xe=document.querySelector("head");return xe||ut(!1),xe},Ri=function(xe){var ze=document.createElement("style");return xe&&ze.setAttribute("nonce",xe),ze.type="text/css",ze};function _i(he,xe){var ze=$t(function(){return Uo(he)},[he]),et=(0,b.useRef)(null),vt=(0,b.useRef)(null),gt=Ct(jn(function(rn){var cn=vt.current;cn||ut(!1),cn.textContent=rn}),[]),St=Ct(function(rn){var cn=et.current;cn||ut(!1),cn.textContent=rn},[]);Mo(function(){!et.current&&!vt.current||ut(!1);var rn=Ri(xe),cn=Ri(xe);return et.current=rn,vt.current=cn,rn.setAttribute(ta+"-always",he),cn.setAttribute(ta+"-dynamic",he),fa().appendChild(rn),fa().appendChild(cn),St(ze.always),gt(ze.resting),function(){var On=function(ei){var ai=ei.current;ai||ut(!1),fa().removeChild(ai),ei.current=null};On(et),On(vt)}},[xe,St,gt,ze.always,ze.resting,he]);var Pt=Ct(function(){return gt(ze.dragging)},[gt,ze.dragging]),en=Ct(function(rn){if(rn==="DROP"){gt(ze.dropAnimating);return}gt(ze.userCancel)},[gt,ze.dropAnimating,ze.userCancel]),En=Ct(function(){vt.current&&gt(ze.resting)},[gt,ze.resting]),gn=$t(function(){return{dragging:Pt,dropping:en,resting:En}},[Pt,en,En]);return gn}var Lo=function(he){return he&&he.ownerDocument?he.ownerDocument.defaultView:window};function ko(he){return he instanceof Lo(he).HTMLElement}function Ro(he,xe){var ze="["+Di.contextId+'="'+he+'"]',et=jr(document.querySelectorAll(ze));if(!et.length)return null;var vt=Zr(et,function(gt){return gt.getAttribute(Di.draggableId)===xe});return!vt||!ko(vt)?null:vt}function Sa(he){var xe=(0,b.useRef)({}),ze=(0,b.useRef)(null),et=(0,b.useRef)(null),vt=(0,b.useRef)(!1),gt=Ct(function(cn,On){var dr={id:cn,focus:On};return xe.current[cn]=dr,function(){var ai=xe.current,di=ai[cn];di!==dr&&delete ai[cn]}},[]),St=Ct(function(cn){var On=Ro(he,cn);On&&On!==document.activeElement&&On.focus()},[he]),Pt=Ct(function(cn,On){ze.current===cn&&(ze.current=On)},[]),en=Ct(function(){et.current||vt.current&&(et.current=requestAnimationFrame(function(){et.current=null;var cn=ze.current;cn&&St(cn)}))},[St]),En=Ct(function(cn){ze.current=null;var On=document.activeElement;On&&On.getAttribute(Di.draggableId)===cn&&(ze.current=cn)},[]);Mo(function(){return vt.current=!0,function(){vt.current=!1;var cn=et.current;cn&&cancelAnimationFrame(cn)}},[]);var gn=$t(function(){return{register:gt,tryRecordFocus:En,tryRestoreFocusRecorded:en,tryShiftRecord:Pt}},[gt,En,en,Pt]);return gn}function pa(){var he={draggables:{},droppables:{}},xe=[];function ze(rn){return xe.push(rn),function(){var On=xe.indexOf(rn);On!==-1&&xe.splice(On,1)}}function et(rn){xe.length&&xe.forEach(function(cn){return cn(rn)})}function vt(rn){return he.draggables[rn]||null}function gt(rn){var cn=vt(rn);return cn||ut(!1),cn}var St={register:function(cn){he.draggables[cn.descriptor.id]=cn,et({type:"ADDITION",value:cn})},update:function(cn,On){var dr=he.draggables[On.descriptor.id];dr&&dr.uniqueId===cn.uniqueId&&(delete he.draggables[On.descriptor.id],he.draggables[cn.descriptor.id]=cn)},unregister:function(cn){var On=cn.descriptor.id,dr=vt(On);dr&&cn.uniqueId===dr.uniqueId&&(delete he.draggables[On],et({type:"REMOVAL",value:cn}))},getById:gt,findById:vt,exists:function(cn){return!!vt(cn)},getAllByType:function(cn){return Ur(he.draggables).filter(function(On){return On.descriptor.type===cn})}};function Pt(rn){return he.droppables[rn]||null}function en(rn){var cn=Pt(rn);return cn||ut(!1),cn}var En={register:function(cn){he.droppables[cn.descriptor.id]=cn},unregister:function(cn){var On=Pt(cn.descriptor.id);On&&cn.uniqueId===On.uniqueId&&delete he.droppables[cn.descriptor.id]},getById:en,findById:Pt,exists:function(cn){return!!Pt(cn)},getAllByType:function(cn){return Ur(he.droppables).filter(function(On){return On.descriptor.type===cn})}};function gn(){he.draggables={},he.droppables={},xe.length=0}return{draggable:St,droppable:En,subscribe:ze,clean:gn}}function qa(){var he=$t(pa,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(he.clean)}},[he]),he}var Go=b.createContext(null),yo=function(){var he=document.body;return he||ut(!1),he},_o={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Xo=function(xe){return"rbd-announcement-"+xe};function ba(he){var xe=$t(function(){return Xo(he)},[he]),ze=(0,b.useRef)(null);(0,b.useEffect)(function(){var gt=document.createElement("div");return ze.current=gt,gt.id=xe,gt.setAttribute("aria-live","assertive"),gt.setAttribute("aria-atomic","true"),(0,Ae.Z)(gt.style,_o),yo().appendChild(gt),function(){setTimeout(function(){var en=yo();en.contains(gt)&&en.removeChild(gt),gt===ze.current&&(ze.current=null)})}},[xe]);var et=Ct(function(vt){var gt=ze.current;if(gt){gt.textContent=vt;return}},[]);return et}var ia=0,Po={separator:"::"};function na(){ia=0}function No(he,xe){return xe===void 0&&(xe=Po),$t(function(){return""+he+xe.separator+ia++},[xe.separator,he])}function ja(he){var xe=he.contextId,ze=he.uniqueId;return"rbd-hidden-text-"+xe+"-"+ze}function ma(he){var xe=he.contextId,ze=he.text,et=No("hidden-text",{separator:"-"}),vt=$t(function(){return ja({contextId:xe,uniqueId:et})},[et,xe]);return(0,b.useEffect)(function(){var St=document.createElement("div");return St.id=vt,St.textContent=ze,St.style.display="none",yo().appendChild(St),function(){var en=yo();en.contains(St)&&en.removeChild(St)}},[vt,ze]),vt}var Pa=b.createContext(null),es={react:"^16.8.5","react-dom":"^16.8.5"},Ls=/(\d+)\.(\d+)\.(\d+)/,Vo=function(xe){var ze=Ls.exec(xe);ze==null&&ut(!1);var et=Number(ze[1]),vt=Number(ze[2]),gt=Number(ze[3]);return{major:et,minor:vt,patch:gt,raw:xe}},Ml=function(xe,ze){return ze.major>xe.major?!0:ze.major<xe.major?!1:ze.minor>xe.minor?!0:ze.minor<xe.minor?!1:ze.patch>=xe.patch},Ga=function(he,xe){var ze=Vo(he),et=Vo(xe);Ml(ze,et)},Ds=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,ls=function(he){var xe=he.doctype;xe&&(xe.name.toLowerCase(),xe.publicId)};function is(he){}function zo(he,xe){}function us(){zo(function(){Ga(es.react,b.version),ls(document)},[])}function Ns(he){var xe=(0,b.useRef)(he);return(0,b.useEffect)(function(){xe.current=he}),xe}function ks(){var he=null;function xe(){return!!he}function ze(St){return St===he}function et(St){he&&ut(!1);var Pt={abandon:St};return he=Pt,Pt}function vt(){he||ut(!1),he=null}function gt(){he&&(he.abandon(),vt())}return{isClaimed:xe,isActive:ze,claim:et,release:vt,tryAbandon:gt}}var Ms=9,Xl=13,hl=27,Rl=32,Yl=33,gu=34,ao=35,Ao=36,oa=37,ha=38,Ta=39,Ea=40,os,Ha=(os={},os[Xl]=!0,os[Ms]=!0,os),al=function(he){Ha[he.keyCode]&&he.preventDefault()},ml=function(){var he="visibilitychange";if(typeof document=="undefined")return he;var xe=[he,"ms"+he,"webkit"+he,"moz"+he,"o"+he],ze=Zr(xe,function(et){return"on"+et in document});return ze||he}(),vl=0,Gs=5;function $l(he,xe){return Math.abs(xe.x-he.x)>=Gs||Math.abs(xe.y-he.y)>=Gs}var Xs={type:"IDLE"};function yu(he){var xe=he.cancel,ze=he.completed,et=he.getPhase,vt=he.setPhase;return[{eventName:"mousemove",fn:function(St){var Pt=St.button,en=St.clientX,En=St.clientY;if(Pt===vl){var gn={x:en,y:En},rn=et();if(rn.type==="DRAGGING"){St.preventDefault(),rn.actions.move(gn);return}rn.type!=="PENDING"&&ut(!1);var cn=rn.point;if($l(cn,gn)){St.preventDefault();var On=rn.actions.fluidLift(gn);vt({type:"DRAGGING",actions:On})}}}},{eventName:"mouseup",fn:function(St){var Pt=et();if(Pt.type!=="DRAGGING"){xe();return}St.preventDefault(),Pt.actions.drop({shouldBlockNextClick:!0}),ze()}},{eventName:"mousedown",fn:function(St){et().type==="DRAGGING"&&St.preventDefault(),xe()}},{eventName:"keydown",fn:function(St){var Pt=et();if(Pt.type==="PENDING"){xe();return}if(St.keyCode===hl){St.preventDefault(),xe();return}al(St)}},{eventName:"resize",fn:xe},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){et().type==="PENDING"&&xe()}},{eventName:"webkitmouseforcedown",fn:function(St){var Pt=et();if(Pt.type==="IDLE"&&ut(!1),Pt.actions.shouldRespectForcePress()){xe();return}St.preventDefault()}},{eventName:ml,fn:xe}]}function Jl(he){var xe=(0,b.useRef)(Xs),ze=(0,b.useRef)(zt),et=$t(function(){return{eventName:"mousedown",fn:function(rn){if(!rn.defaultPrevented&&rn.button===vl&&!(rn.ctrlKey||rn.metaKey||rn.shiftKey||rn.altKey)){var cn=he.findClosestDraggableId(rn);if(cn){var On=he.tryGetLock(cn,St,{sourceEvent:rn});if(On){rn.preventDefault();var dr={x:rn.clientX,y:rn.clientY};ze.current(),En(On,dr)}}}}}},[he]),vt=$t(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(rn){if(!rn.defaultPrevented){var cn=he.findClosestDraggableId(rn);if(cn){var On=he.findOptionsForDraggable(cn);On&&(On.shouldRespectForcePress||he.canGetLock(cn)&&rn.preventDefault())}}}}},[he]),gt=Ct(function(){var rn={passive:!1,capture:!0};ze.current=Dt(window,[vt,et],rn)},[vt,et]),St=Ct(function(){var gn=xe.current;gn.type!=="IDLE"&&(xe.current=Xs,ze.current(),gt())},[gt]),Pt=Ct(function(){var gn=xe.current;St(),gn.type==="DRAGGING"&&gn.actions.cancel({shouldBlockNextClick:!0}),gn.type==="PENDING"&&gn.actions.abort()},[St]),en=Ct(function(){var rn={capture:!0,passive:!1},cn=yu({cancel:Pt,completed:St,getPhase:function(){return xe.current},setPhase:function(dr){xe.current=dr}});ze.current=Dt(window,cn,rn)},[Pt,St]),En=Ct(function(rn,cn){xe.current.type!=="IDLE"&&ut(!1),xe.current={type:"PENDING",point:cn,actions:rn},en()},[en]);Mo(function(){return gt(),function(){ze.current()}},[gt])}var Ys;function Hu(){}var $s=(Ys={},Ys[gu]=!0,Ys[Yl]=!0,Ys[Ao]=!0,Ys[ao]=!0,Ys);function bu(he,xe){function ze(){xe(),he.cancel()}function et(){xe(),he.drop()}return[{eventName:"keydown",fn:function(gt){if(gt.keyCode===hl){gt.preventDefault(),ze();return}if(gt.keyCode===Rl){gt.preventDefault(),et();return}if(gt.keyCode===Ea){gt.preventDefault(),he.moveDown();return}if(gt.keyCode===ha){gt.preventDefault(),he.moveUp();return}if(gt.keyCode===Ta){gt.preventDefault(),he.moveRight();return}if(gt.keyCode===oa){gt.preventDefault(),he.moveLeft();return}if($s[gt.keyCode]){gt.preventDefault();return}al(gt)}},{eventName:"mousedown",fn:ze},{eventName:"mouseup",fn:ze},{eventName:"click",fn:ze},{eventName:"touchstart",fn:ze},{eventName:"resize",fn:ze},{eventName:"wheel",fn:ze,options:{passive:!0}},{eventName:ml,fn:ze}]}function rc(he){var xe=(0,b.useRef)(Hu),ze=$t(function(){return{eventName:"keydown",fn:function(gt){if(gt.defaultPrevented||gt.keyCode!==Rl)return;var St=he.findClosestDraggableId(gt);if(!St)return;var Pt=he.tryGetLock(St,gn,{sourceEvent:gt});if(!Pt)return;gt.preventDefault();var en=!0,En=Pt.snapLift();xe.current();function gn(){en||ut(!1),en=!1,xe.current(),et()}xe.current=Dt(window,bu(En,gn),{capture:!0,passive:!1})}}},[he]),et=Ct(function(){var gt={passive:!1,capture:!0};xe.current=Dt(window,[ze],gt)},[ze]);Mo(function(){return et(),function(){xe.current()}},[et])}var Fl={type:"IDLE"},jl=120,ic=.15;function oc(he){var xe=he.cancel,ze=he.getPhase;return[{eventName:"orientationchange",fn:xe},{eventName:"resize",fn:xe},{eventName:"contextmenu",fn:function(vt){vt.preventDefault()}},{eventName:"keydown",fn:function(vt){if(ze().type!=="DRAGGING"){xe();return}vt.keyCode===hl&&vt.preventDefault(),xe()}},{eventName:ml,fn:xe}]}function zl(he){var xe=he.cancel,ze=he.completed,et=he.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(gt){var St=et();if(St.type!=="DRAGGING"){xe();return}St.hasMoved=!0;var Pt=gt.touches[0],en=Pt.clientX,En=Pt.clientY,gn={x:en,y:En};gt.preventDefault(),St.actions.move(gn)}},{eventName:"touchend",fn:function(gt){var St=et();if(St.type!=="DRAGGING"){xe();return}gt.preventDefault(),St.actions.drop({shouldBlockNextClick:!0}),ze()}},{eventName:"touchcancel",fn:function(gt){if(et().type!=="DRAGGING"){xe();return}gt.preventDefault(),xe()}},{eventName:"touchforcechange",fn:function(gt){var St=et();St.type==="IDLE"&&ut(!1);var Pt=gt.touches[0];if(Pt){var en=Pt.force>=ic;if(en){var En=St.actions.shouldRespectForcePress();if(St.type==="PENDING"){En&&xe();return}if(En){if(St.hasMoved){gt.preventDefault();return}xe();return}gt.preventDefault()}}}},{eventName:ml,fn:xe}]}function xu(he){var xe=(0,b.useRef)(Fl),ze=(0,b.useRef)(zt),et=Ct(function(){return xe.current},[]),vt=Ct(function(On){xe.current=On},[]),gt=$t(function(){return{eventName:"touchstart",fn:function(On){if(!On.defaultPrevented){var dr=he.findClosestDraggableId(On);if(dr){var ei=he.tryGetLock(dr,Pt,{sourceEvent:On});if(ei){var ai=On.touches[0],di=ai.clientX,Pi=ai.clientY,Wi={x:di,y:Pi};ze.current(),rn(ei,Wi)}}}}}},[he]),St=Ct(function(){var On={capture:!0,passive:!1};ze.current=Dt(window,[gt],On)},[gt]),Pt=Ct(function(){var cn=xe.current;cn.type!=="IDLE"&&(cn.type==="PENDING"&&clearTimeout(cn.longPressTimerId),vt(Fl),ze.current(),St())},[St,vt]),en=Ct(function(){var cn=xe.current;Pt(),cn.type==="DRAGGING"&&cn.actions.cancel({shouldBlockNextClick:!0}),cn.type==="PENDING"&&cn.actions.abort()},[Pt]),En=Ct(function(){var On={capture:!0,passive:!1},dr={cancel:en,completed:Pt,getPhase:et},ei=Dt(window,zl(dr),On),ai=Dt(window,oc(dr),On);ze.current=function(){ei(),ai()}},[en,et,Pt]),gn=Ct(function(){var On=et();On.type!=="PENDING"&&ut(!1);var dr=On.actions.fluidLift(On.point);vt({type:"DRAGGING",actions:dr,hasMoved:!1})},[et,vt]),rn=Ct(function(On,dr){et().type!=="IDLE"&&ut(!1);var ei=setTimeout(gn,jl);vt({type:"PENDING",point:dr,actions:On,longPressTimerId:ei}),En()},[En,et,vt,gn]);Mo(function(){return St(),function(){ze.current();var dr=et();dr.type==="PENDING"&&(clearTimeout(dr.longPressTimerId),vt(Fl))}},[et,St,vt]),Mo(function(){var On=Dt(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return On},[])}function Wl(he){}var Cu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function gl(he,xe){if(xe==null)return!1;var ze=!!Cu[xe.tagName.toLowerCase()];if(ze)return!0;var et=xe.getAttribute("contenteditable");return et==="true"||et===""?!0:xe===he?!1:gl(he,xe.parentElement)}function wu(he,xe){var ze=xe.target;return ko(ze)?gl(he,ze):!1}var Zu=function(he){return Et(he.getBoundingClientRect()).center};function Su(he){return he instanceof Lo(he).Element}var Eu=function(){var he="matches";if(typeof document=="undefined")return he;var xe=[he,"msMatchesSelector","webkitMatchesSelector"],ze=Zr(xe,function(et){return et in Element.prototype});return ze||he}();function Uu(he,xe){return he==null?null:he[Eu](xe)?he:Uu(he.parentElement,xe)}function Ql(he,xe){return he.closest?he.closest(xe):Uu(he,xe)}function sl(he){return"["+Di.contextId+'="'+he+'"]'}function yl(he,xe){var ze=xe.target;if(!Su(ze))return null;var et=sl(he),vt=Ql(ze,et);return!vt||!ko(vt)?null:vt}function Au(he,xe){var ze=yl(he,xe);return ze?ze.getAttribute(Di.draggableId):null}function Iu(he,xe){var ze="["+Ji.contextId+'="'+he+'"]',et=jr(document.querySelectorAll(ze)),vt=Zr(et,function(gt){return gt.getAttribute(Ji.id)===xe});return!vt||!ko(vt)?null:vt}function ac(he){he.preventDefault()}function Co(he){var xe=he.expected,ze=he.phase,et=he.isLockActive,vt=he.shouldWarn;return!(!et()||xe!==ze)}function Bo(he){var xe=he.lockAPI,ze=he.store,et=he.registry,vt=he.draggableId;if(xe.isClaimed())return!1;var gt=et.draggable.findById(vt);return!(!gt||!gt.options.isEnabled||!Gr(ze.getState(),vt))}function Za(he){var xe=he.lockAPI,ze=he.contextId,et=he.store,vt=he.registry,gt=he.draggableId,St=he.forceSensorStop,Pt=he.sourceEvent,en=Bo({lockAPI:xe,store:et,registry:vt,draggableId:gt});if(!en)return null;var En=vt.draggable.getById(gt),gn=Iu(ze,En.descriptor.id);if(!gn||Pt&&!En.options.canDragInteractiveElements&&wu(gn,Pt))return null;var rn=xe.claim(St||zt),cn="PRE_DRAG";function On(){return En.options.shouldRespectForcePress}function dr(){return xe.isActive(rn)}function ei(vo,Fo){Co({expected:vo,phase:cn,isLockActive:dr,shouldWarn:!0})&&et.dispatch(Fo())}var ai=ei.bind(null,"DRAGGING");function di(vo){function Fo(){xe.release(),cn="COMPLETED"}cn!=="PRE_DRAG"&&(Fo(),cn!=="PRE_DRAG"&&ut(!1)),et.dispatch(Mu(vo.liftActionArgs)),cn="DRAGGING";function Ba(Wo,La){if(La===void 0&&(La={shouldBlockNextClick:!1}),vo.cleanup(),La.shouldBlockNextClick){var ss=Dt(window,[{eventName:"click",fn:ac,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ss)}Fo(),et.dispatch($u({reason:Wo}))}return(0,Ae.Z)({isActive:function(){return Co({expected:"DRAGGING",phase:cn,isLockActive:dr,shouldWarn:!1})},shouldRespectForcePress:On,drop:function(La){return Ba("DROP",La)},cancel:function(La){return Ba("CANCEL",La)}},vo.actions)}function Pi(vo){var Fo=Cr(function(Wo){ai(function(){return Ul({client:Wo})})}),Ba=di({liftActionArgs:{id:gt,clientSelection:vo,movementMode:"FLUID"},cleanup:function(){return Fo.cancel()},actions:{move:Fo}});return(0,Ae.Z)({},Ba,{move:Fo})}function Wi(){var vo={moveUp:function(){return ai(ju)},moveRight:function(){return ai(Ki)},moveDown:function(){return ai(dl)},moveLeft:function(){return ai(fl)}};return di({liftActionArgs:{id:gt,clientSelection:Zu(gn),movementMode:"SNAP"},cleanup:zt,actions:vo})}function Ui(){var vo=Co({expected:"PRE_DRAG",phase:cn,isLockActive:dr,shouldWarn:!0});vo&&xe.release()}var wo={isActive:function(){return Co({expected:"PRE_DRAG",phase:cn,isLockActive:dr,shouldWarn:!1})},shouldRespectForcePress:On,fluidLift:Pi,snapLift:Wi,abort:Ui};return wo}var cs=[Jl,rc,xu];function Ua(he){var xe=he.contextId,ze=he.store,et=he.registry,vt=he.customSensors,gt=he.enableDefaultSensors,St=[].concat(gt?cs:[],vt||[]),Pt=(0,b.useState)(function(){return ks()})[0],en=Ct(function(Pi,Wi){Pi.isDragging&&!Wi.isDragging&&Pt.tryAbandon()},[Pt]);Mo(function(){var Pi=ze.getState(),Wi=ze.subscribe(function(){var Ui=ze.getState();en(Pi,Ui),Pi=Ui});return Wi},[Pt,ze,en]),Mo(function(){return Pt.tryAbandon},[Pt.tryAbandon]);var En=Ct(function(di){return Bo({lockAPI:Pt,registry:et,store:ze,draggableId:di})},[Pt,et,ze]),gn=Ct(function(di,Pi,Wi){return Za({lockAPI:Pt,registry:et,contextId:xe,store:ze,draggableId:di,forceSensorStop:Pi,sourceEvent:Wi&&Wi.sourceEvent?Wi.sourceEvent:null})},[xe,Pt,et,ze]),rn=Ct(function(di){return Au(xe,di)},[xe]),cn=Ct(function(di){var Pi=et.draggable.findById(di);return Pi?Pi.options:null},[et.draggable]),On=Ct(function(){Pt.isClaimed()&&(Pt.tryAbandon(),ze.getState().phase!=="IDLE"&&ze.dispatch(Os()))},[Pt,ze]),dr=Ct(Pt.isClaimed,[Pt]),ei=$t(function(){return{canGetLock:En,tryGetLock:gn,findClosestDraggableId:rn,findOptionsForDraggable:cn,tryReleaseLock:On,isLockClaimed:dr}},[En,gn,rn,cn,On,dr]);Wl(St);for(var ai=0;ai<St.length;ai++)St[ai](ei)}var bl=function(xe){return{onBeforeCapture:xe.onBeforeCapture,onBeforeDragStart:xe.onBeforeDragStart,onDragStart:xe.onDragStart,onDragEnd:xe.onDragEnd,onDragUpdate:xe.onDragUpdate}};function Cs(he){return he.current||ut(!1),he.current}function Ws(he){var xe=he.contextId,ze=he.setCallbacks,et=he.sensors,vt=he.nonce,gt=he.dragHandleUsageInstructions,St=(0,b.useRef)(null);us();var Pt=Ns(he),en=Ct(function(){return bl(Pt.current)},[Pt]),En=ba(xe),gn=ma({contextId:xe,text:gt}),rn=_i(xe,vt),cn=Ct(function(Wo){Cs(St).dispatch(Wo)},[]),On=$t(function(){return(0,de.DE)({publishWhileDragging:tl,updateDroppableScroll:Ru,updateDroppableIsEnabled:Ll,updateDroppableIsCombineEnabled:hc,collectionStarting:Gu},cn)},[cn]),dr=qa(),ei=$t(function(){return qn(dr,On)},[dr,On]),ai=$t(function(){return da((0,Ae.Z)({scrollWindow:Pr,scrollDroppable:ei.scrollDroppable},(0,de.DE)({move:Ul},cn)))},[ei.scrollDroppable,cn]),di=Sa(xe),Pi=$t(function(){return mn({announce:En,autoScroller:ai,dimensionMarshal:ei,focusMarshal:di,getResponders:en,styleMarshal:rn})},[En,ai,ei,di,en,rn]);St.current=Pi;var Wi=Ct(function(){var Wo=Cs(St),La=Wo.getState();La.phase!=="IDLE"&&Wo.dispatch(Os())},[]),Ui=Ct(function(){var Wo=Cs(St).getState();return Wo.isDragging||Wo.phase==="DROP_ANIMATING"},[]),wo=$t(function(){return{isDragging:Ui,tryAbort:Wi}},[Ui,Wi]);ze(wo);var vo=Ct(function(Wo){return Gr(Cs(St).getState(),Wo)},[]),Fo=Ct(function(){return Ss(Cs(St).getState())},[]),Ba=$t(function(){return{marshal:ei,focus:di,contextId:xe,canLift:vo,isMovementAllowed:Fo,dragHandleUsageInstructionsId:gn,registry:dr}},[xe,ei,gn,di,vo,Fo,dr]);return Ua({contextId:xe,store:Pi,registry:dr,customSensors:et,enableDefaultSensors:he.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return Wi},[Wi]),b.createElement(Pa.Provider,{value:Ba},b.createElement(Ee,{context:Go,store:Pi},he.children))}var ll=0;function Du(){ll=0}function bc(){return $t(function(){return""+ll++},[])}function Pu(){Du(),na()}function xc(he){var xe=bc(),ze=he.dragHandleUsageInstructions||nn.dragHandleUsageInstructions;return b.createElement(Qt,null,function(et){return b.createElement(Ws,{nonce:he.nonce,contextId:xe,setCallbacks:et,dragHandleUsageInstructions:ze,enableDefaultSensors:he.enableDefaultSensors,sensors:he.sensors,onBeforeCapture:he.onBeforeCapture,onBeforeDragStart:he.onBeforeDragStart,onDragStart:he.onDragStart,onDragUpdate:he.onDragUpdate,onDragEnd:he.onDragEnd},he.children)})}var ql=function(xe){return function(ze){return xe===ze}},kc=ql("scroll"),Mc=ql("auto"),Rc=ql("visible"),la=function(xe,ze){return ze(xe.overflowX)||ze(xe.overflowY)},Fc=function(xe,ze){return ze(xe.overflowX)&&ze(xe.overflowY)},_u=function(xe){var ze=window.getComputedStyle(xe),et={overflowX:ze.overflowX,overflowY:ze.overflowY};return la(et,kc)||la(et,Mc)},Tu=function(){return!1;var xe,ze,et,vt},Rs=function he(xe){return xe==null?null:xe===document.body?Tu()?xe:null:xe===document.documentElement?null:_u(xe)?xe:he(xe.parentElement)},sc=function(he){if(he)var xe=Rs(he.parentElement)},Ou=function(he){return{x:he.scrollLeft,y:he.scrollTop}},Cc=function he(xe){if(!xe)return!1;var ze=window.getComputedStyle(xe);return ze.position==="fixed"?!0:he(xe.parentElement)},wc=function(he){var xe=Rs(he),ze=Cc(he);return{closestScrollable:xe,isFixedOnPage:ze}},Sc=function(he){var xe=he.descriptor,ze=he.isEnabled,et=he.isCombineEnabled,vt=he.isFixedOnPage,gt=he.direction,St=he.client,Pt=he.page,en=he.closest,En=function(){if(!en)return null;var On=en.scrollSize,dr=en.client,ei=Hn({scrollHeight:On.scrollHeight,scrollWidth:On.scrollWidth,height:dr.paddingBox.height,width:dr.paddingBox.width});return{pageMarginBox:en.page.marginBox,frameClient:dr,scrollSize:On,shouldClipSubject:en.shouldClipSubject,scroll:{initial:en.scroll,current:en.scroll,max:ei,diff:{value:Cn,displacement:Cn}}}}(),gn=gt==="vertical"?Xn:fr,rn=Fr({page:Pt,withPlaceholder:null,axis:gn,frame:En}),cn={descriptor:xe,isCombineEnabled:et,isFixedOnPage:vt,axis:gn,isEnabled:ze,client:St,page:Pt,frame:En,subject:rn};return cn},Ec=function(xe,ze){var et=xn(xe);if(!ze||xe!==ze)return et;var vt=et.paddingBox.top-ze.scrollTop,gt=et.paddingBox.left-ze.scrollLeft,St=vt+ze.scrollHeight,Pt=gt+ze.scrollWidth,en={top:vt,right:Pt,bottom:St,left:gt},En=Wt(en,et.border),gn=tr({borderBox:En,margin:et.margin,border:et.border,padding:et.padding});return gn},Ac=function(he){var xe=he.ref,ze=he.descriptor,et=he.env,vt=he.windowScroll,gt=he.direction,St=he.isDropDisabled,Pt=he.isCombineEnabled,en=he.shouldClipSubject,En=et.closestScrollable,gn=Ec(xe,En),rn=mr(gn,vt),cn=function(){if(!En)return null;var dr=xn(En),ei={scrollHeight:En.scrollHeight,scrollWidth:En.scrollWidth};return{client:dr,page:mr(dr,vt),scroll:Ou(En),scrollSize:ei,shouldClipSubject:en}}(),On=Sc({descriptor:ze,isEnabled:!St,isCombineEnabled:Pt,isFixedOnPage:et.isFixedOnPage,direction:gt,client:gn,page:rn,closest:cn});return On},jc={passive:!1},lc={passive:!0},uc=function(he){return he.shouldPublishImmediately?jc:lc};function Ho(he){var xe=(0,b.useContext)(he);return xe||ut(!1),xe}var Bu=function(xe){return xe&&xe.env.closestScrollable||null};function zc(he){var xe=(0,b.useRef)(null),ze=Ho(Pa),et=No("droppable"),vt=ze.registry,gt=ze.marshal,St=Ns(he),Pt=$t(function(){return{id:he.droppableId,type:he.type,mode:he.mode}},[he.droppableId,he.mode,he.type]),en=(0,b.useRef)(Pt),En=$t(function(){return jn(function(Ui,wo){xe.current||ut(!1);var vo={x:Ui,y:wo};gt.updateDroppableScroll(Pt.id,vo)})},[Pt.id,gt]),gn=Ct(function(){var Ui=xe.current;return!Ui||!Ui.env.closestScrollable?Cn:Ou(Ui.env.closestScrollable)},[]),rn=Ct(function(){var Ui=gn();En(Ui.x,Ui.y)},[gn,En]),cn=$t(function(){return Cr(rn)},[rn]),On=Ct(function(){var Ui=xe.current,wo=Bu(Ui);Ui&&wo||ut(!1);var vo=Ui.scrollOptions;if(vo.shouldPublishImmediately){rn();return}cn()},[cn,rn]),dr=Ct(function(Ui,wo){xe.current&&ut(!1);var vo=St.current,Fo=vo.getDroppableRef();Fo||ut(!1);var Ba=wc(Fo),Wo={ref:Fo,descriptor:Pt,env:Ba,scrollOptions:wo};xe.current=Wo;var La=Ac({ref:Fo,descriptor:Pt,env:Ba,windowScroll:Ui,direction:vo.direction,isDropDisabled:vo.isDropDisabled,isCombineEnabled:vo.isCombineEnabled,shouldClipSubject:!vo.ignoreContainerClipping}),ss=Ba.closestScrollable;return ss&&(ss.setAttribute(bi.contextId,ze.contextId),ss.addEventListener("scroll",On,uc(Wo.scrollOptions))),La},[ze.contextId,Pt,On,St]),ei=Ct(function(){var Ui=xe.current,wo=Bu(Ui);return Ui&&wo||ut(!1),Ou(wo)},[]),ai=Ct(function(){var Ui=xe.current;Ui||ut(!1);var wo=Bu(Ui);xe.current=null,wo&&(cn.cancel(),wo.removeAttribute(bi.contextId),wo.removeEventListener("scroll",On,uc(Ui.scrollOptions)))},[On,cn]),di=Ct(function(Ui){var wo=xe.current;wo||ut(!1);var vo=Bu(wo);vo||ut(!1),vo.scrollTop+=Ui.y,vo.scrollLeft+=Ui.x},[]),Pi=$t(function(){return{getDimensionAndWatchScroll:dr,getScrollWhileDragging:ei,dragStopped:ai,scroll:di}},[ai,dr,ei,di]),Wi=$t(function(){return{uniqueId:et,descriptor:Pt,callbacks:Pi}},[Pi,Pt,et]);Mo(function(){return en.current=Wi.descriptor,vt.droppable.register(Wi),function(){xe.current&&ai(),vt.droppable.unregister(Wi)}},[Pi,Pt,ai,Wi,gt,vt.droppable]),Mo(function(){xe.current&&gt.updateDroppableIsEnabled(en.current.id,!he.isDropDisabled)},[he.isDropDisabled,gt]),Mo(function(){xe.current&&gt.updateDroppableIsCombineEnabled(en.current.id,he.isCombineEnabled)},[he.isCombineEnabled,gt])}function xl(){}var Ic={width:0,height:0,margin:Fn},Vu=function(xe){var ze=xe.isAnimatingOpenOnMount,et=xe.placeholder,vt=xe.animate;return ze||vt==="close"?Ic:{height:et.client.borderBox.height,width:et.client.borderBox.width,margin:et.client.margin}},Wc=function(xe){var ze=xe.isAnimatingOpenOnMount,et=xe.placeholder,vt=xe.animate,gt=Vu({isAnimatingOpenOnMount:ze,placeholder:et,animate:vt});return{display:et.display,boxSizing:"border-box",width:gt.width,height:gt.height,marginTop:gt.margin.top,marginRight:gt.margin.right,marginBottom:gt.margin.bottom,marginLeft:gt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:vt!=="none"?zs.placeholder:null}};function Aa(he){var xe=(0,b.useRef)(null),ze=Ct(function(){xe.current&&(clearTimeout(xe.current),xe.current=null)},[]),et=he.animate,vt=he.onTransitionEnd,gt=he.onClose,St=he.contextId,Pt=(0,b.useState)(he.animate==="open"),en=Pt[0],En=Pt[1];(0,b.useEffect)(function(){return en?et!=="open"?(ze(),En(!1),xl):xe.current?xl:(xe.current=setTimeout(function(){xe.current=null,En(!1)}),ze):xl},[et,en,ze]);var gn=Ct(function(cn){cn.propertyName==="height"&&(vt(),et==="close"&&gt())},[et,gt,vt]),rn=Wc({isAnimatingOpenOnMount:en,animate:he.animate,placeholder:he.placeholder});return b.createElement(he.placeholder.tagName,{style:rn,"data-rbd-placeholder-context-id":St,onTransitionEnd:gn,ref:he.innerRef})}var Hc=b.memo(Aa),cc=b.createContext(null);function Dc(he){he&&ko(he)||ut(!1)}function eu(he){return typeof he=="boolean"}function a(he,xe){xe.forEach(function(ze){return ze(he)})}var y=[function(xe){var ze=xe.props;ze.droppableId||ut(!1),typeof ze.droppableId!="string"&&ut(!1)},function(xe){var ze=xe.props;eu(ze.isDropDisabled)||ut(!1),eu(ze.isCombineEnabled)||ut(!1),eu(ze.ignoreContainerClipping)||ut(!1)},function(xe){var ze=xe.getDroppableRef;Dc(ze())}],ee=[function(xe){var ze=xe.props,et=xe.getPlaceholderRef;if(ze.placeholder)var vt=et()}],z=[function(xe){var ze=xe.props;ze.renderClone||ut(!1)},function(xe){var ze=xe.getPlaceholderRef;ze()&&ut(!1)}];function ce(he){zo(function(){a(he,y),he.props.mode==="standard"&&a(he,ee),he.props.mode==="virtual"&&a(he,z)})}var Ue=function(he){we(xe,he);function xe(){for(var et,vt=arguments.length,gt=new Array(vt),St=0;St<vt;St++)gt[St]=arguments[St];return et=he.call.apply(he,[this].concat(gt))||this,et.state={isVisible:!!et.props.on,data:et.props.on,animate:et.props.shouldAnimate&&et.props.on?"open":"none"},et.onClose=function(){et.state.animate==="close"&&et.setState({isVisible:!1})},et}xe.getDerivedStateFromProps=function(vt,gt){return vt.shouldAnimate?vt.on?{isVisible:!0,data:vt.on,animate:"open"}:gt.isVisible?{isVisible:!0,data:gt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!vt.on,data:vt.on,animate:"none"}};var ze=xe.prototype;return ze.render=function(){if(!this.state.isVisible)return null;var vt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(vt)},xe}(b.PureComponent),rt={dragging:5e3,dropAnimating:4500},dt=function(xe,ze){return ze?zs.drop(ze.duration):xe?zs.snap:zs.fluid},bt=function(xe,ze){return xe?ze?Vs.opacity.drop:Vs.opacity.combining:null},At=function(xe){return xe.forceShouldAnimate!=null?xe.forceShouldAnimate:xe.mode==="SNAP"};function un(he){var xe=he.dimension,ze=xe.client,et=he.offset,vt=he.combineWith,gt=he.dropping,St=!!vt,Pt=At(he),en=!!gt,En=en?rl.drop(et,St):rl.moveTo(et),gn={position:"fixed",top:ze.marginBox.top,left:ze.marginBox.left,boxSizing:"border-box",width:ze.borderBox.width,height:ze.borderBox.height,transition:dt(Pt,gt),transform:En,opacity:bt(St,en),zIndex:en?rt.dropAnimating:rt.dragging,pointerEvents:"none"};return gn}function Sn(he){return{transform:rl.moveTo(he.offset),transition:he.shouldAnimateDisplacement?null:"none"}}function rr(he){return he.type==="DRAGGING"?un(he):Sn(he)}function Vn(he,xe,ze){ze===void 0&&(ze=Cn);var et=window.getComputedStyle(xe),vt=xe.getBoundingClientRect(),gt=Wn(vt,et),St=mr(gt,ze),Pt={client:gt,tagName:xe.tagName.toLowerCase(),display:et.display},en={x:gt.marginBox.width,y:gt.marginBox.height},En={descriptor:he,placeholder:Pt,displaceBy:en,client:gt,page:St};return En}function Or(he){var xe=No("draggable"),ze=he.descriptor,et=he.registry,vt=he.getDraggableRef,gt=he.canDragInteractiveElements,St=he.shouldRespectForcePress,Pt=he.isEnabled,en=$t(function(){return{canDragInteractiveElements:gt,shouldRespectForcePress:St,isEnabled:Pt}},[gt,Pt,St]),En=Ct(function(On){var dr=vt();return dr||ut(!1),Vn(ze,dr,On)},[ze,vt]),gn=$t(function(){return{uniqueId:xe,descriptor:ze,options:en,getDimension:En}},[ze,En,en,xe]),rn=(0,b.useRef)(gn),cn=(0,b.useRef)(!0);Mo(function(){return et.draggable.register(rn.current),function(){return et.draggable.unregister(rn.current)}},[et.draggable]),Mo(function(){if(cn.current){cn.current=!1;return}var On=rn.current;rn.current=gn,et.draggable.update(gn,On)},[gn,et.draggable])}function _r(he,xe,ze){zo(function(){function et(gt){return"Draggable[id: "+gt+"]: "}var vt=he.draggableId;vt||ut(!1),typeof vt!="string"&&ut(!1),Dr(he.index)||ut(!1),he.mapped.type!=="DRAGGING"&&(Dc(ze()),he.isEnabled&&(Ro(xe,vt)||ut(!1)))})}function oi(he){}function gi(he){he.preventDefault()}function Oi(he){var xe=(0,b.useRef)(null),ze=Ct(function(Wo){xe.current=Wo},[]),et=Ct(function(){return xe.current},[]),vt=Ho(Pa),gt=vt.contextId,St=vt.dragHandleUsageInstructionsId,Pt=vt.registry,en=Ho(cc),En=en.type,gn=en.droppableId,rn=$t(function(){return{id:he.draggableId,index:he.index,type:En,droppableId:gn}},[he.draggableId,he.index,En,gn]),cn=he.children,On=he.draggableId,dr=he.isEnabled,ei=he.shouldRespectForcePress,ai=he.canDragInteractiveElements,di=he.isClone,Pi=he.mapped,Wi=he.dropAnimationFinished;if(_r(he,gt,et),oi(di),!di){var Ui=$t(function(){return{descriptor:rn,registry:Pt,getDraggableRef:et,canDragInteractiveElements:ai,shouldRespectForcePress:ei,isEnabled:dr}},[rn,Pt,et,ai,ei,dr]);Or(Ui)}var wo=$t(function(){return dr?{tabIndex:0,role:"button","aria-describedby":St,"data-rbd-drag-handle-draggable-id":On,"data-rbd-drag-handle-context-id":gt,draggable:!1,onDragStart:gi}:null},[gt,St,On,dr]),vo=Ct(function(Wo){Pi.type==="DRAGGING"&&Pi.dropping&&Wo.propertyName==="transform"&&Wi()},[Wi,Pi]),Fo=$t(function(){var Wo=rr(Pi),La=Pi.type==="DRAGGING"&&Pi.dropping?vo:null,ss={innerRef:ze,draggableProps:{"data-rbd-draggable-context-id":gt,"data-rbd-draggable-id":On,style:Wo,onTransitionEnd:La},dragHandleProps:wo};return ss},[gt,wo,On,Pi,vo,ze]),Ba=$t(function(){return{draggableId:rn.id,type:rn.type,source:{index:rn.index,droppableId:rn.droppableId}}},[rn.droppableId,rn.id,rn.index,rn.type]);return cn(Fo,Pi.snapshot,Ba)}var mi=function(he,xe){return he===xe},ki=function(he){var xe=he.combine,ze=he.destination;return ze?ze.droppableId:xe?xe.droppableId:null},eo=function(xe){return xe.combine?xe.combine.draggableId:null},Yi=function(xe){return xe.at&&xe.at.type==="COMBINE"?xe.at.combine.draggableId:null};function Do(){var he=jn(function(vt,gt){return{x:vt,y:gt}}),xe=jn(function(vt,gt,St,Pt,en){return{isDragging:!0,isClone:gt,isDropAnimating:!!en,dropAnimation:en,mode:vt,draggingOver:St,combineWith:Pt,combineTargetFor:null}}),ze=jn(function(vt,gt,St,Pt,en,En,gn){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:en,combineWith:En,mode:gt,offset:vt,dimension:St,forceShouldAnimate:gn,snapshot:xe(gt,Pt,en,En,null)}}}),et=function(gt,St){if(gt.isDragging){if(gt.critical.draggable.id!==St.draggableId)return null;var Pt=gt.current.client.offset,en=gt.dimensions.draggables[St.draggableId],En=Ca(gt.impact),gn=Yi(gt.impact),rn=gt.forceShouldAnimate;return ze(he(Pt.x,Pt.y),gt.movementMode,en,St.isClone,En,gn,rn)}if(gt.phase==="DROP_ANIMATING"){var cn=gt.completed;if(cn.result.draggableId!==St.draggableId)return null;var On=St.isClone,dr=gt.dimensions.draggables[St.draggableId],ei=cn.result,ai=ei.mode,di=ki(ei),Pi=eo(ei),Wi=gt.dropDuration,Ui={duration:Wi,curve:Vl.drop,moveTo:gt.newHomeClientOffset,opacity:Pi?Vs.opacity.drop:null,scale:Pi?Vs.scale.drop:null};return{mapped:{type:"DRAGGING",offset:gt.newHomeClientOffset,dimension:dr,dropping:Ui,draggingOver:di,combineWith:Pi,mode:ai,forceShouldAnimate:null,snapshot:xe(ai,On,di,Pi,Ui)}}}return null};return et}function ra(he){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:he,combineWith:null}}var _a={mapped:{type:"SECONDARY",offset:Cn,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ra(null)}};function va(){var he=jn(function(St,Pt){return{x:St,y:Pt}}),xe=jn(ra),ze=jn(function(St,Pt,en){return Pt===void 0&&(Pt=null),{mapped:{type:"SECONDARY",offset:St,combineTargetFor:Pt,shouldAnimateDisplacement:en,snapshot:xe(Pt)}}}),et=function(Pt){return Pt?ze(Cn,Pt,!0):null},vt=function(Pt,en,En,gn){var rn=En.displaced.visible[Pt],cn=!!(gn.inVirtualList&&gn.effected[Pt]),On=Vr(En),dr=On&&On.draggableId===Pt?en:null;if(!rn){if(!cn)return et(dr);if(En.displaced.invisible[Pt])return null;var ei=wn(gn.displacedBy.point),ai=he(ei.x,ei.y);return ze(ai,dr,!0)}if(cn)return et(dr);var di=En.displacedBy.point,Pi=he(di.x,di.y);return ze(Pi,dr,rn.shouldAnimate)},gt=function(Pt,en){if(Pt.isDragging)return Pt.critical.draggable.id===en.draggableId?null:vt(en.draggableId,Pt.critical.draggable.id,Pt.impact,Pt.afterCritical);if(Pt.phase==="DROP_ANIMATING"){var En=Pt.completed;return En.result.draggableId===en.draggableId?null:vt(en.draggableId,En.result.draggableId,En.impact,En.afterCritical)}return null};return gt}var ws=function(){var xe=Do(),ze=va(),et=function(gt,St){return xe(gt,St)||ze(gt,St)||_a};return et},ds={dropAnimationFinished:cu},Oa=me(ws,ds,null,{context:Go,pure:!0,areStatePropsEqual:mi})(Oi);function as(he){var xe=Ho(cc),ze=xe.isUsingCloneFor;return ze===he.draggableId&&!he.isClone?null:b.createElement(Oa,he)}function Xa(he){var xe=typeof he.isDragDisabled=="boolean"?!he.isDragDisabled:!0,ze=!!he.disableInteractiveElementBlocking,et=!!he.shouldRespectForcePress;return b.createElement(as,(0,Ae.Z)({},he,{isClone:!1,isEnabled:xe,canDragInteractiveElements:ze,shouldRespectForcePress:et}))}function za(he){var xe=(0,b.useContext)(Pa);xe||ut(!1);var ze=xe.contextId,et=xe.isMovementAllowed,vt=(0,b.useRef)(null),gt=(0,b.useRef)(null),St=he.children,Pt=he.droppableId,en=he.type,En=he.mode,gn=he.direction,rn=he.ignoreContainerClipping,cn=he.isDropDisabled,On=he.isCombineEnabled,dr=he.snapshot,ei=he.useClone,ai=he.updateViewportMaxScroll,di=he.getContainerForClone,Pi=Ct(function(){return vt.current},[]),Wi=Ct(function(ps){vt.current=ps},[]),Ui=Ct(function(){return gt.current},[]),wo=Ct(function(ps){gt.current=ps},[]);ce({props:he,getDroppableRef:Pi,getPlaceholderRef:Ui});var vo=Ct(function(){et()&&ai({maxScroll:br()})},[et,ai]);zc({droppableId:Pt,type:en,mode:En,direction:gn,isDropDisabled:cn,isCombineEnabled:On,ignoreContainerClipping:rn,getDroppableRef:Pi});var Fo=b.createElement(Ue,{on:he.placeholder,shouldAnimate:he.shouldAnimatePlaceholder},function(ps){var wl=ps.onClose,ul=ps.data,Zs=ps.animate;return b.createElement(Hc,{placeholder:ul,onClose:wl,innerRef:wo,animate:Zs,contextId:ze,onTransitionEnd:vo})}),Ba=$t(function(){return{innerRef:Wi,placeholder:Fo,droppableProps:{"data-rbd-droppable-id":Pt,"data-rbd-droppable-context-id":ze}}},[ze,Pt,Fo,Wi]),Wo=ei?ei.dragging.draggableId:null,La=$t(function(){return{droppableId:Pt,type:en,isUsingCloneFor:Wo}},[Pt,Wo,en]);function ss(){if(!ei)return null;var ps=ei.dragging,wl=ei.render,ul=b.createElement(as,{draggableId:ps.draggableId,index:ps.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Zs,Sl){return wl(Zs,Sl,ps)});return tn.createPortal(ul,di())}return b.createElement(cc.Provider,{value:La},St(Ba,dr),ss())}var xa=function(xe,ze){return xe===ze.droppable.type},ga=function(xe,ze){return ze.draggables[xe.draggable.id]},fs=function(){var xe={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ze=(0,Ae.Z)({},xe,{shouldAnimatePlaceholder:!1}),et=jn(function(St){return{draggableId:St.id,type:St.type,source:{index:St.index,droppableId:St.droppableId}}}),vt=jn(function(St,Pt,en,En,gn,rn){var cn=gn.descriptor.id,On=gn.descriptor.droppableId===St;if(On){var dr=rn?{render:rn,dragging:et(gn.descriptor)}:null,ei={isDraggingOver:en,draggingOverWith:en?cn:null,draggingFromThisWith:cn,isUsingPlaceholder:!0};return{placeholder:gn.placeholder,shouldAnimatePlaceholder:!1,snapshot:ei,useClone:dr}}if(!Pt)return ze;if(!En)return xe;var ai={isDraggingOver:en,draggingOverWith:cn,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:gn.placeholder,shouldAnimatePlaceholder:!0,snapshot:ai,useClone:null}}),gt=function(Pt,en){var En=en.droppableId,gn=en.type,rn=!en.isDropDisabled,cn=en.renderClone;if(Pt.isDragging){var On=Pt.critical;if(!xa(gn,On))return ze;var dr=ga(On,Pt.dimensions),ei=Ca(Pt.impact)===En;return vt(En,rn,ei,ei,dr,cn)}if(Pt.phase==="DROP_ANIMATING"){var ai=Pt.completed;if(!xa(gn,ai.critical))return ze;var di=ga(ai.critical,Pt.dimensions);return vt(En,rn,ki(ai.result)===En,Ca(ai.impact)===En,di,cn)}if(Pt.phase==="IDLE"&&Pt.completed&&!Pt.shouldFlush){var Pi=Pt.completed;if(!xa(gn,Pi.critical))return ze;var Wi=Ca(Pi.impact)===En,Ui=!!(Pi.impact.at&&Pi.impact.at.type==="COMBINE"),wo=Pi.critical.droppable.id===En;return Wi?Ui?xe:ze:wo?xe:ze}return ze};return gt},tu={updateViewportMaxScroll:Fu};function Cl(){return document.body||ut(!1),document.body}var ts={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Cl},Hs=me(fs,tu,null,{context:Go,pure:!0,areStatePropsEqual:mi})(za);Hs.defaultProps=ts},38486:function(_n,pn){"use strict";var ae;var b=60103,oe=60106,we=60107,Ae=60108,de=60114,ve=60109,re=60110,se=60112,fe=60113,E=60120,te=60115,ne=60116,ge=60121,Ce=60122,be=60117,le=60129,Ee=60131;if(typeof Symbol=="function"&&Symbol.for){var Pe=Symbol.for;b=Pe("react.element"),oe=Pe("react.portal"),we=Pe("react.fragment"),Ae=Pe("react.strict_mode"),de=Pe("react.profiler"),ve=Pe("react.provider"),re=Pe("react.context"),se=Pe("react.forward_ref"),fe=Pe("react.suspense"),E=Pe("react.suspense_list"),te=Pe("react.memo"),ne=Pe("react.lazy"),ge=Pe("react.block"),Ce=Pe("react.server.block"),be=Pe("react.fundamental"),le=Pe("react.debug_trace_mode"),Ee=Pe("react.legacy_hidden")}function Ie(Ye){if(typeof Ye=="object"&&Ye!==null){var Je=Ye.$$typeof;switch(Je){case b:switch(Ye=Ye.type,Ye){case we:case de:case Ae:case fe:case E:return Ye;default:switch(Ye=Ye&&Ye.$$typeof,Ye){case re:case se:case ne:case te:case ve:return Ye;default:return Je}}case oe:return Je}}}var Re=ve,Me=b,ye=se,Te=we,Fe=ne,_e=te,Oe=oe,Ke=de,We=Ae,Ne=fe;ae=re,ae=Re,ae=Me,ae=ye,ae=Te,ae=Fe,ae=_e,ae=Oe,ae=Ke,ae=We,ae=Ne,ae=function(){return!1},ae=function(){return!1},pn.isContextConsumer=function(Ye){return Ie(Ye)===re},ae=function(Ye){return Ie(Ye)===ve},ae=function(Ye){return typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===b},ae=function(Ye){return Ie(Ye)===se},ae=function(Ye){return Ie(Ye)===we},ae=function(Ye){return Ie(Ye)===ne},ae=function(Ye){return Ie(Ye)===te},ae=function(Ye){return Ie(Ye)===oe},ae=function(Ye){return Ie(Ye)===de},ae=function(Ye){return Ie(Ye)===Ae},ae=function(Ye){return Ie(Ye)===fe},ae=function(Ye){return typeof Ye=="string"||typeof Ye=="function"||Ye===we||Ye===de||Ye===le||Ye===Ae||Ye===fe||Ye===E||Ye===Ee||typeof Ye=="object"&&Ye!==null&&(Ye.$$typeof===ne||Ye.$$typeof===te||Ye.$$typeof===ve||Ye.$$typeof===re||Ye.$$typeof===se||Ye.$$typeof===be||Ye.$$typeof===ge||Ye[0]===Ce)},ae=Ie},53410:function(_n,pn,ae){"use strict";_n.exports=ae(38486)},25510:function(_n){"use strict";_n.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJU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b76IcModFA8wdzsV3lq7euzAtT8CCRbsaGTqHReOxCljeFCVkUsbGoPmb72zSrQ/TIVO5kE+Np4h2A7DUT6k22bTyKU+K8taQTS4aXbanbY4LKPA750HJhZP6HFsuLKL6Z1n4CQy0jUV6us8xbKcu219PawtscsBkaN5sZ1w17wZgqaFWZdncJNKq7JFHHmne+MY3polvVziVTSykuPUGyRj+wz/8Q9pyW4riee/cc8/dEjtuGxA0Iu/jscceS0X8BPTuUdXzla98pbn66qtb6ZTzbP3+7/9+upSuxq1NG7TV9dgV7J133tm87GUvS8DEt5XzwrAyf/TRRzedQ+PDY2pfyv2pp55qXv/6109yWEo8LbsNsHCT8tAeTGT/s5/9bBf7NyV6confH//xH2dBZltFyNk0ee7sQEsBv+Uf3USSe45u3ttCldwg/oUvfCGFZbRTZda+5N6TR+fuu+9u3vnOd068vDkQ4xctufps2Eff27F+5jOfaX791399co1Gn2OprcvqAngCb9rAVI43jAPZHDopunZcs5QPwDIL1QrfsUbVZuLzumLe2u1SMskKmx2smCa0XKd20tx3333NeeedVwxYajppaUTb1rjnVoOiO78J1Vx++eVTk/GsK5h+XXvttekHt2rpQ67M5z//+aLiClt95zvfSd6MnBs+tyLyoR7R35YVPQRMCIe8+MUvnoCcEjnbbYCliCmVhbwhx8NIUnjbzhVvWPn3HXfckWSz61wh27UPfvCDzXXXXVfZ2+7itn/8TegVHZWTMesp0gIFzx86gN8KQXS3Wl5COoA5duWVV04WeWpLXqsS+bYARWOR90gHSRKqwwO2DJ5wO7/hiQ7PzOXzWHpoLIyD8SzDWMo5ni8ZgGW7FCx4H4HDkGi7IJOLHTKve93rUrLoTng0ETR57EqdiSHAMsRKVmEOxf+V30Ffctv1LDgEsKDgvELzngnroRFgqfGw1AAW+E2i39e//vUJyKM//rCunFzkVlC2nD9XgnwXvDjKjSmRtQAs3VTy8wHAcu+9924KT9pcEGsQqR15w/heccUVVR6WoQCLHTF95dRedFTbgy5TPhu0eOELX9h885vfTJdzDvUg24C8q666KrUtsA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G7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD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jYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},4977:function(_n){"use strict";_n.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpG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WrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},16722:function(_n,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});const b=fe=>typeof fe=="object"&&fe!=null&&fe.nodeType===1,oe=(fe,E)=>(!E||fe!=="hidden")&&fe!=="visible"&&fe!=="clip",we=(fe,E)=>{if(fe.clientHeight<fe.scrollHeight||fe.clientWidth<fe.scrollWidth){const te=getComputedStyle(fe,null);return oe(te.overflowY,E)||oe(te.overflowX,E)||(ne=>{const ge=(Ce=>{if(!Ce.ownerDocument||!Ce.ownerDocument.defaultView)return null;try{return Ce.ownerDocument.defaultView.frameElement}catch(be){return null}})(ne);return!!ge&&(ge.clientHeight<ne.scrollHeight||ge.clientWidth<ne.scrollWidth)})(fe)}return!1},Ae=(fe,E,te,ne,ge,Ce,be,le)=>Ce<fe&&be>E||Ce>fe&&be<E?0:Ce<=fe&&le<=te||be>=E&&le>=te?Ce-fe-ne:be>E&&le<te||Ce<fe&&le>te?be-E+ge:0,de=fe=>{const E=fe.parentElement;return E==null?fe.getRootNode().host||null:E},ve=(fe,E)=>{var te,ne,ge,Ce;if(typeof document=="undefined")return[];const{scrollMode:be,block:le,inline:Ee,boundary:Pe,skipOverflowHiddenElements:Ie}=E,Re=typeof Pe=="function"?Pe:qe=>qe!==Pe;if(!b(fe))throw new TypeError("Invalid target");const Me=document.scrollingElement||document.documentElement,ye=[];let Te=fe;for(;b(Te)&&Re(Te);){if(Te=de(Te),Te===Me){ye.push(Te);break}Te!=null&&Te===document.body&&we(Te)&&!we(document.documentElement)||Te!=null&&we(Te,Ie)&&ye.push(Te)}const Fe=(ne=(te=window.visualViewport)==null?void 0:te.width)!=null?ne:innerWidth,_e=(Ce=(ge=window.visualViewport)==null?void 0:ge.height)!=null?Ce:innerHeight,{scrollX:Oe,scrollY:Ke}=window,{height:We,width:Ne,top:Ye,right:Je,bottom:He,left:lt}=fe.getBoundingClientRect(),{top:ft,right:tt,bottom:Ot,left:nt}=(qe=>{const Ve=window.getComputedStyle(qe);return{top:parseFloat(Ve.scrollMarginTop)||0,right:parseFloat(Ve.scrollMarginRight)||0,bottom:parseFloat(Ve.scrollMarginBottom)||0,left:parseFloat(Ve.scrollMarginLeft)||0}})(fe);let Ze=le==="start"||le==="nearest"?Ye-ft:le==="end"?He+Ot:Ye+We/2-ft+Ot,Ge=Ee==="center"?lt+Ne/2-nt+tt:Ee==="end"?Je+tt:lt-nt;const $e=[];for(let qe=0;qe<ye.length;qe++){const Ve=ye[qe],{height:mt,width:st,top:Lt,right:ct,bottom:Tt,left:xt}=Ve.getBoundingClientRect();if(be==="if-needed"&&Ye>=0&&lt>=0&&He<=_e&&Je<=Fe&&(Ve===Me&&!we(Ve)||Ye>=Lt&&He<=Tt&&lt>=xt&&Je<=ct))return $e;const wt=getComputedStyle(Ve),yt=parseInt(wt.borderLeftWidth,10),je=parseInt(wt.borderTopWidth,10),ue=parseInt(wt.borderRightWidth,10),ie=parseInt(wt.borderBottomWidth,10);let ke=0,Xe=0;const De="offsetWidth"in Ve?Ve.offsetWidth-Ve.clientWidth-yt-ue:0,pe="offsetHeight"in Ve?Ve.offsetHeight-Ve.clientHeight-je-ie:0,x="offsetWidth"in Ve?Ve.offsetWidth===0?0:st/Ve.offsetWidth:0,me="offsetHeight"in Ve?Ve.offsetHeight===0?0:mt/Ve.offsetHeight:0;if(Me===Ve)ke=le==="start"?Ze:le==="end"?Ze-_e:le==="nearest"?Ae(Ke,Ke+_e,_e,je,ie,Ke+Ze,Ke+Ze+We,We):Ze-_e/2,Xe=Ee==="start"?Ge:Ee==="center"?Ge-Fe/2:Ee==="end"?Ge-Fe:Ae(Oe,Oe+Fe,Fe,yt,ue,Oe+Ge,Oe+Ge+Ne,Ne),ke=Math.max(0,ke+Ke),Xe=Math.max(0,Xe+Oe);else{ke=le==="start"?Ze-Lt-je:le==="end"?Ze-Tt+ie+pe:le==="nearest"?Ae(Lt,Tt,mt,je,ie+pe,Ze,Ze+We,We):Ze-(Lt+mt/2)+pe/2,Xe=Ee==="start"?Ge-xt-yt:Ee==="center"?Ge-(xt+st/2)+De/2:Ee==="end"?Ge-ct+ue+De:Ae(xt,ct,st,yt,ue+De,Ge,Ge+Ne,Ne);const{scrollLeft:Le,scrollTop:Se}=Ve;ke=me===0?0:Math.max(0,Math.min(Se+ke/me,Ve.scrollHeight-mt/me+pe)),Xe=x===0?0:Math.max(0,Math.min(Le+Xe/x,Ve.scrollWidth-st/x+De)),Ze+=Se-ke,Ge+=Le-Xe}$e.push({el:Ve,top:ke,left:Xe})}return $e},re=fe=>fe===!1?{block:"end",inline:"nearest"}:(E=>E===Object(E)&&Object.keys(E).length!==0)(fe)?fe:{block:"start",inline:"nearest"};function se(fe,E){if(!fe.isConnected||!(ge=>{let Ce=ge;for(;Ce&&Ce.parentNode;){if(Ce.parentNode===document)return!0;Ce=Ce.parentNode instanceof ShadowRoot?Ce.parentNode.host:Ce.parentNode}return!1})(fe))return;const te=(ge=>{const Ce=window.getComputedStyle(ge);return{top:parseFloat(Ce.scrollMarginTop)||0,right:parseFloat(Ce.scrollMarginRight)||0,bottom:parseFloat(Ce.scrollMarginBottom)||0,left:parseFloat(Ce.scrollMarginLeft)||0}})(fe);if((ge=>typeof ge=="object"&&typeof ge.behavior=="function")(E))return E.behavior(ve(fe,E));const ne=typeof E=="boolean"||E==null?void 0:E.behavior;for(const{el:ge,top:Ce,left:be}of ve(fe,re(E))){const le=Ce-te.top+te.bottom,Ee=be-te.left+te.right;ge.scroll({top:le,left:Ee,behavior:ne})}}}}]);