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__Progr...

3668 lines
2.7 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.

!(function(){var By=Object.defineProperty,Ly=Object.defineProperties;var Oy=Object.getOwnPropertyDescriptors;var fh=Object.getOwnPropertySymbols;var Np=Object.prototype.hasOwnProperty,Ip=Object.prototype.propertyIsEnumerable;var Mc=Math.pow,kp=(Hn,sn,ee)=>sn in Hn?By(Hn,sn,{enumerable:!0,configurable:!0,writable:!0,value:ee}):Hn[sn]=ee,ql=(Hn,sn)=>{for(var ee in sn||(sn={}))Np.call(sn,ee)&&kp(Hn,ee,sn[ee]);if(fh)for(var ee of fh(sn))Ip.call(sn,ee)&&kp(Hn,ee,sn[ee]);return Hn},tu=(Hn,sn)=>Ly(Hn,Oy(sn));var hh=(Hn,sn)=>{var ee={};for(var ne in Hn)Np.call(Hn,ne)&&sn.indexOf(ne)<0&&(ee[ne]=Hn[ne]);if(Hn!=null&&fh)for(var ne of fh(Hn))sn.indexOf(ne)<0&&Ip.call(Hn,ne)&&(ee[ne]=Hn[ne]);return ee};var od=(Hn,sn,ee)=>new Promise((ne,de)=>{var Me=ke=>{try{we(ee.next(ke))}catch(ce){de(ce)}},et=ke=>{try{we(ee.throw(ke))}catch(ce){de(ce)}},we=ke=>ke.done?ne(ke.value):Promise.resolve(ke.value).then(Me,et);we((ee=ee.apply(Hn,sn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[64030],{33463:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},28575:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},18299:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={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"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},81893:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},42922:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},25877:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},55304:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},63237:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={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"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},99569:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={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"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},73148:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},56747:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},50881:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},22751:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},34182:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},38308:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},74664:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},17663:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"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"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},91034:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},72395:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={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"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},53978:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ce}});var ne=ee(87462),de=ee(67294),Me={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"},et=Me,we=ee(84089),ke=function(me,Pe){return de.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:et}))},ce=de.forwardRef(ke)},60887:function(Hn,sn,ee){"use strict";ee.d(sn,{LB:function(){return wl},g4:function(){return Qt},we:function(){return qn},pE:function(){return ht},VK:function(){return Mt},Cj:function(){return Cl},O1:function(){return Sl},Zj:function(){return Pi},VT:function(){return vt}});var ne=ee(67294),de=ee(73935),Me=ee(24285);const et={display:"none"};function we(He){let{id:nt,value:It}=He;return ne.createElement("div",{id:nt,style:et},It)}function ke(He){let{id:nt,announcement:It,ariaLiveType:pe="assertive"}=He;const Oe={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ne.createElement("div",{id:nt,style:Oe,role:"status","aria-live":pe,"aria-atomic":!0},It)}function ce(){const[He,nt]=(0,ne.useState)("");return{announce:(0,ne.useCallback)(pe=>{pe!=null&&nt(pe)},[]),announcement:He}}const Se=(0,ne.createContext)(null);function me(He){const nt=(0,ne.useContext)(Se);(0,ne.useEffect)(()=>{if(!nt)throw new Error("useDndMonitor must be used within a children of <DndContext>");return nt(He)},[He,nt])}function Pe(){const[He]=(0,ne.useState)(()=>new Set),nt=(0,ne.useCallback)(pe=>(He.add(pe),()=>He.delete(pe)),[He]);return[(0,ne.useCallback)(pe=>{let{type:Oe,event:Ae}=pe;He.forEach(Ke=>{var Qe;return(Qe=Ke[Oe])==null?void 0:Qe.call(Ke,Ae)})},[He]),nt]}const Xe={draggable:`
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
`},fe={onDragStart(He){let{active:nt}=He;return"Picked up draggable item "+nt.id+"."},onDragOver(He){let{active:nt,over:It}=He;return It?"Draggable item "+nt.id+" was moved over droppable area "+It.id+".":"Draggable item "+nt.id+" is no longer over a droppable area."},onDragEnd(He){let{active:nt,over:It}=He;return It?"Draggable item "+nt.id+" was dropped over droppable area "+It.id:"Draggable item "+nt.id+" was dropped."},onDragCancel(He){let{active:nt}=He;return"Dragging was cancelled. Draggable item "+nt.id+" was dropped."}};function Ge(He){let{announcements:nt=fe,container:It,hiddenTextDescribedById:pe,screenReaderInstructions:Oe=Xe}=He;const{announce:Ae,announcement:Ke}=ce(),Qe=(0,Me.Ld)("DndLiveRegion"),[at,ft]=(0,ne.useState)(!1);if((0,ne.useEffect)(()=>{ft(!0)},[]),me((0,ne.useMemo)(()=>({onDragStart(an){let{active:Qn}=an;Ae(nt.onDragStart({active:Qn}))},onDragMove(an){let{active:Qn,over:cr}=an;nt.onDragMove&&Ae(nt.onDragMove({active:Qn,over:cr}))},onDragOver(an){let{active:Qn,over:cr}=an;Ae(nt.onDragOver({active:Qn,over:cr}))},onDragEnd(an){let{active:Qn,over:cr}=an;Ae(nt.onDragEnd({active:Qn,over:cr}))},onDragCancel(an){let{active:Qn,over:cr}=an;Ae(nt.onDragCancel({active:Qn,over:cr}))}}),[Ae,nt])),!at)return null;const Xt=ne.createElement(ne.Fragment,null,ne.createElement(we,{id:pe,value:Oe.draggable}),ne.createElement(ke,{id:Qe,announcement:Ke}));return It?(0,de.createPortal)(Xt,It):Xt}var pt;(function(He){He.DragStart="dragStart",He.DragMove="dragMove",He.DragEnd="dragEnd",He.DragCancel="dragCancel",He.DragOver="dragOver",He.RegisterDroppable="registerDroppable",He.SetDroppableDisabled="setDroppableDisabled",He.UnregisterDroppable="unregisterDroppable"})(pt||(pt={}));function ot(){}function vt(He,nt){return(0,ne.useMemo)(()=>({sensor:He,options:nt!=null?nt:{}}),[He,nt])}function Ee(){for(var He=arguments.length,nt=new Array(He),It=0;It<He;It++)nt[It]=arguments[It];return useMemo(()=>[...nt].filter(pe=>pe!=null),[...nt])}const wt=Object.freeze({x:0,y:0});function Rt(He,nt){return Math.sqrt(Math.pow(He.x-nt.x,2)+Math.pow(He.y-nt.y,2))}function tt(He,nt){const It=getEventCoordinates(He);if(!It)return"0 0";const pe={x:(It.x-nt.left)/nt.width*100,y:(It.y-nt.top)/nt.height*100};return pe.x+"% "+pe.y+"%"}function st(He,nt){let{data:{value:It}}=He,{data:{value:pe}}=nt;return It-pe}function ye(He,nt){let{data:{value:It}}=He,{data:{value:pe}}=nt;return pe-It}function ue(He){let{left:nt,top:It,height:pe,width:Oe}=He;return[{x:nt,y:It},{x:nt+Oe,y:It},{x:nt,y:It+pe},{x:nt+Oe,y:It+pe}]}function $e(He,nt){if(!He||He.length===0)return null;const[It]=He;return nt?It[nt]:It}function Je(He,nt,It){return nt===void 0&&(nt=He.left),It===void 0&&(It=He.top),{x:nt+He.width*.5,y:It+He.height*.5}}const ht=He=>{let{collisionRect:nt,droppableRects:It,droppableContainers:pe}=He;const Oe=Je(nt,nt.left,nt.top),Ae=[];for(const Ke of pe){const{id:Qe}=Ke,at=It.get(Qe);if(at){const ft=Rt(Je(at),Oe);Ae.push({id:Qe,data:{droppableContainer:Ke,value:ft}})}}return Ae.sort(st)},yt=He=>{let{collisionRect:nt,droppableRects:It,droppableContainers:pe}=He;const Oe=ue(nt),Ae=[];for(const Ke of pe){const{id:Qe}=Ke,at=It.get(Qe);if(at){const ft=ue(at),Xt=Oe.reduce((Qn,cr,Ar)=>Qn+Rt(ft[Ar],cr),0),an=Number((Xt/4).toFixed(4));Ae.push({id:Qe,data:{droppableContainer:Ke,value:an}})}}return Ae.sort(st)};function Fe(He,nt){const It=Math.max(nt.top,He.top),pe=Math.max(nt.left,He.left),Oe=Math.min(nt.left+nt.width,He.left+He.width),Ae=Math.min(nt.top+nt.height,He.top+He.height),Ke=Oe-pe,Qe=Ae-It;if(pe<Oe&&It<Ae){const at=nt.width*nt.height,ft=He.width*He.height,Xt=Ke*Qe,an=Xt/(at+ft-Xt);return Number(an.toFixed(4))}return 0}const Be=He=>{let{collisionRect:nt,droppableRects:It,droppableContainers:pe}=He;const Oe=[];for(const Ae of pe){const{id:Ke}=Ae,Qe=It.get(Ke);if(Qe){const at=Fe(Qe,nt);at>0&&Oe.push({id:Ke,data:{droppableContainer:Ae,value:at}})}}return Oe.sort(ye)};function mt(He,nt){const{top:It,left:pe,bottom:Oe,right:Ae}=nt;return It<=He.y&&He.y<=Oe&&pe<=He.x&&He.x<=Ae}const ze=He=>{let{droppableContainers:nt,droppableRects:It,pointerCoordinates:pe}=He;if(!pe)return[];const Oe=[];for(const Ae of nt){const{id:Ke}=Ae,Qe=It.get(Ke);if(Qe&&mt(pe,Qe)){const ft=ue(Qe).reduce((an,Qn)=>an+Rt(pe,Qn),0),Xt=Number((ft/4).toFixed(4));Oe.push({id:Ke,data:{droppableContainer:Ae,value:Xt}})}}return Oe.sort(st)};function ut(He,nt,It){return tu(ql({},He),{scaleX:nt&&It?nt.width/It.width:1,scaleY:nt&&It?nt.height/It.height:1})}function rt(He,nt){return He&&nt?{x:He.left-nt.left,y:He.top-nt.top}:wt}function Tt(He){return function(It){for(var pe=arguments.length,Oe=new Array(pe>1?pe-1:0),Ae=1;Ae<pe;Ae++)Oe[Ae-1]=arguments[Ae];return Oe.reduce((Ke,Qe)=>tu(ql({},Ke),{top:Ke.top+He*Qe.y,bottom:Ke.bottom+He*Qe.y,left:Ke.left+He*Qe.x,right:Ke.right+He*Qe.x}),ql({},It))}}const Bt=Tt(1);function en(He){if(He.startsWith("matrix3d(")){const nt=He.slice(9,-1).split(/, /);return{x:+nt[12],y:+nt[13],scaleX:+nt[0],scaleY:+nt[5]}}else if(He.startsWith("matrix(")){const nt=He.slice(7,-1).split(/, /);return{x:+nt[4],y:+nt[5],scaleX:+nt[0],scaleY:+nt[3]}}return null}function ct(He,nt,It){const pe=en(nt);if(!pe)return He;const{scaleX:Oe,scaleY:Ae,x:Ke,y:Qe}=pe,at=He.left-Ke-(1-Oe)*parseFloat(It),ft=He.top-Qe-(1-Ae)*parseFloat(It.slice(It.indexOf(" ")+1)),Xt=Oe?He.width/Oe:He.width,an=Ae?He.height/Ae:He.height;return{width:Xt,height:an,top:ft,right:at+Xt,bottom:ft+an,left:at}}const Ie={ignoreTransform:!1};function Mt(He,nt){nt===void 0&&(nt=Ie);let It=He.getBoundingClientRect();if(nt.ignoreTransform){const{transform:ft,transformOrigin:Xt}=(0,Me.Jj)(He).getComputedStyle(He);ft&&(It=ct(It,ft,Xt))}const{top:pe,left:Oe,width:Ae,height:Ke,bottom:Qe,right:at}=It;return{top:pe,left:Oe,width:Ae,height:Ke,bottom:Qe,right:at}}function vn(He){return Mt(He,{ignoreTransform:!0})}function qt(He){const nt=He.innerWidth,It=He.innerHeight;return{top:0,left:0,right:nt,bottom:It,width:nt,height:It}}function Nt(He,nt){return nt===void 0&&(nt=(0,Me.Jj)(He).getComputedStyle(He)),nt.position==="fixed"}function Kt(He,nt){nt===void 0&&(nt=(0,Me.Jj)(He).getComputedStyle(He));const It=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Oe=>{const Ae=nt[Oe];return typeof Ae=="string"?It.test(Ae):!1})}function nn(He,nt){const It=[];function pe(Oe){if(nt!=null&&It.length>=nt||!Oe)return It;if((0,Me.qk)(Oe)&&Oe.scrollingElement!=null&&!It.includes(Oe.scrollingElement))return It.push(Oe.scrollingElement),It;if(!(0,Me.Re)(Oe)||(0,Me.vZ)(Oe)||It.includes(Oe))return It;const Ae=(0,Me.Jj)(He).getComputedStyle(Oe);return Oe!==He&&Kt(Oe,Ae)&&It.push(Oe),Nt(Oe,Ae)?It:pe(Oe.parentNode)}return He?pe(He):It}function Cn(He){const[nt]=nn(He,1);return nt!=null?nt:null}function Sn(He){return!Me.Nq||!He?null:(0,Me.FJ)(He)?He:(0,Me.UG)(He)?(0,Me.qk)(He)||He===(0,Me.r3)(He).scrollingElement?window:(0,Me.Re)(He)?He:null:null}function tn(He){return(0,Me.FJ)(He)?He.scrollX:He.scrollLeft}function In(He){return(0,Me.FJ)(He)?He.scrollY:He.scrollTop}function br(He){return{x:tn(He),y:In(He)}}var gn;(function(He){He[He.Forward=1]="Forward",He[He.Backward=-1]="Backward"})(gn||(gn={}));function Ye(He){return!Me.Nq||!He?!1:He===document.scrollingElement}function ve(He){const nt={x:0,y:0},It=Ye(He)?{height:window.innerHeight,width:window.innerWidth}:{height:He.clientHeight,width:He.clientWidth},pe={x:He.scrollWidth-It.width,y:He.scrollHeight-It.height},Oe=He.scrollTop<=nt.y,Ae=He.scrollLeft<=nt.x,Ke=He.scrollTop>=pe.y,Qe=He.scrollLeft>=pe.x;return{isTop:Oe,isLeft:Ae,isBottom:Ke,isRight:Qe,maxScroll:pe,minScroll:nt}}const he={x:.2,y:.2};function be(He,nt,It,pe,Oe){let{top:Ae,left:Ke,right:Qe,bottom:at}=It;pe===void 0&&(pe=10),Oe===void 0&&(Oe=he);const{isTop:ft,isBottom:Xt,isLeft:an,isRight:Qn}=ve(He),cr={x:0,y:0},Ar={x:0,y:0},Dn={height:nt.height*Oe.y,width:nt.width*Oe.x};return!ft&&Ae<=nt.top+Dn.height?(cr.y=gn.Backward,Ar.y=pe*Math.abs((nt.top+Dn.height-Ae)/Dn.height)):!Xt&&at>=nt.bottom-Dn.height&&(cr.y=gn.Forward,Ar.y=pe*Math.abs((nt.bottom-Dn.height-at)/Dn.height)),!Qn&&Qe>=nt.right-Dn.width?(cr.x=gn.Forward,Ar.x=pe*Math.abs((nt.right-Dn.width-Qe)/Dn.width)):!an&&Ke<=nt.left+Dn.width&&(cr.x=gn.Backward,Ar.x=pe*Math.abs((nt.left+Dn.width-Ke)/Dn.width)),{direction:cr,speed:Ar}}function ge(He){if(He===document.scrollingElement){const{innerWidth:Ae,innerHeight:Ke}=window;return{top:0,left:0,right:Ae,bottom:Ke,width:Ae,height:Ke}}const{top:nt,left:It,right:pe,bottom:Oe}=He.getBoundingClientRect();return{top:nt,left:It,right:pe,bottom:Oe,width:He.clientWidth,height:He.clientHeight}}function se(He){return He.reduce((nt,It)=>(0,Me.IH)(nt,br(It)),wt)}function je(He){return He.reduce((nt,It)=>nt+tn(It),0)}function xt(He){return He.reduce((nt,It)=>nt+In(It),0)}function En(He,nt){if(nt===void 0&&(nt=Mt),!He)return;const{top:It,left:pe,bottom:Oe,right:Ae}=nt(He);Cn(He)&&(Oe<=0||Ae<=0||It>=window.innerHeight||pe>=window.innerWidth)&&He.scrollIntoView({block:"center",inline:"center"})}const un=[["x",["left","right"],je],["y",["top","bottom"],xt]];class Pn{constructor(nt,It){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const pe=nn(It),Oe=se(pe);this.rect=ql({},nt),this.width=nt.width,this.height=nt.height;for(const[Ae,Ke,Qe]of un)for(const at of Ke)Object.defineProperty(this,at,{get:()=>{const ft=Qe(pe),Xt=Oe[Ae]-ft;return this.rect[at]+Xt},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Xn{constructor(nt){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(It=>{var pe;return(pe=this.target)==null?void 0:pe.removeEventListener(...It)})},this.target=nt}add(nt,It,pe){var Oe;(Oe=this.target)==null||Oe.addEventListener(nt,It,pe),this.listeners.push([nt,It,pe])}}function _n(He){const{EventTarget:nt}=(0,Me.Jj)(He);return He instanceof nt?He:(0,Me.r3)(He)}function Vt(He,nt){const It=Math.abs(He.x),pe=Math.abs(He.y);return typeof nt=="number"?Math.sqrt(Mc(It,2)+Mc(pe,2))>nt:"x"in nt&&"y"in nt?It>nt.x&&pe>nt.y:"x"in nt?It>nt.x:"y"in nt?pe>nt.y:!1}var yn;(function(He){He.Click="click",He.DragStart="dragstart",He.Keydown="keydown",He.ContextMenu="contextmenu",He.Resize="resize",He.SelectionChange="selectionchange",He.VisibilityChange="visibilitychange"})(yn||(yn={}));function Kn(He){He.preventDefault()}function On(He){He.stopPropagation()}var Qt;(function(He){He.Space="Space",He.Down="ArrowDown",He.Right="ArrowRight",He.Left="ArrowLeft",He.Up="ArrowUp",He.Esc="Escape",He.Enter="Enter"})(Qt||(Qt={}));const Dr={start:[Qt.Space,Qt.Enter],cancel:[Qt.Esc],end:[Qt.Space,Qt.Enter]},jt=(He,nt)=>{let{currentCoordinates:It}=nt;switch(He.code){case Qt.Right:return tu(ql({},It),{x:It.x+25});case Qt.Left:return tu(ql({},It),{x:It.x-25});case Qt.Down:return tu(ql({},It),{y:It.y+25});case Qt.Up:return tu(ql({},It),{y:It.y-25})}};class rn{constructor(nt){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=nt;const{event:{target:It}}=nt;this.props=nt,this.listeners=new Xn((0,Me.r3)(It)),this.windowListeners=new Xn((0,Me.Jj)(It)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(yn.Resize,this.handleCancel),this.windowListeners.add(yn.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(yn.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:nt,onStart:It}=this.props,pe=nt.node.current;pe&&En(pe),It(wt)}handleKeyDown(nt){if((0,Me.vd)(nt)){const{active:It,context:pe,options:Oe}=this.props,{keyboardCodes:Ae=Dr,coordinateGetter:Ke=jt,scrollBehavior:Qe="smooth"}=Oe,{code:at}=nt;if(Ae.end.includes(at)){this.handleEnd(nt);return}if(Ae.cancel.includes(at)){this.handleCancel(nt);return}const{collisionRect:ft}=pe.current,Xt=ft?{x:ft.left,y:ft.top}:wt;this.referenceCoordinates||(this.referenceCoordinates=Xt);const an=Ke(nt,{active:It,context:pe.current,currentCoordinates:Xt});if(an){const Qn=(0,Me.$X)(an,Xt),cr={x:0,y:0},{scrollableAncestors:Ar}=pe.current;for(const Dn of Ar){const $n=nt.code,{isTop:Jn,isRight:kr,isLeft:Hr,isBottom:zr,maxScroll:Fr,minScroll:jr}=ve(Dn),_r=ge(Dn),Jr={x:Math.min($n===Qt.Right?_r.right-_r.width/2:_r.right,Math.max($n===Qt.Right?_r.left:_r.left+_r.width/2,an.x)),y:Math.min($n===Qt.Down?_r.bottom-_r.height/2:_r.bottom,Math.max($n===Qt.Down?_r.top:_r.top+_r.height/2,an.y))},kt=$n===Qt.Right&&!kr||$n===Qt.Left&&!Hr,Pt=$n===Qt.Down&&!zr||$n===Qt.Up&&!Jn;if(kt&&Jr.x!==an.x){const zn=Dn.scrollLeft+Qn.x,Bn=$n===Qt.Right&&zn<=Fr.x||$n===Qt.Left&&zn>=jr.x;if(Bn&&!Qn.y){Dn.scrollTo({left:zn,behavior:Qe});return}Bn?cr.x=Dn.scrollLeft-zn:cr.x=$n===Qt.Right?Dn.scrollLeft-Fr.x:Dn.scrollLeft-jr.x,cr.x&&Dn.scrollBy({left:-cr.x,behavior:Qe});break}else if(Pt&&Jr.y!==an.y){const zn=Dn.scrollTop+Qn.y,Bn=$n===Qt.Down&&zn<=Fr.y||$n===Qt.Up&&zn>=jr.y;if(Bn&&!Qn.x){Dn.scrollTo({top:zn,behavior:Qe});return}Bn?cr.y=Dn.scrollTop-zn:cr.y=$n===Qt.Down?Dn.scrollTop-Fr.y:Dn.scrollTop-jr.y,cr.y&&Dn.scrollBy({top:-cr.y,behavior:Qe});break}}this.handleMove(nt,(0,Me.IH)((0,Me.$X)(an,this.referenceCoordinates),cr))}}}handleMove(nt,It){const{onMove:pe}=this.props;nt.preventDefault(),pe(It)}handleEnd(nt){const{onEnd:It}=this.props;nt.preventDefault(),this.detach(),It()}handleCancel(nt){const{onCancel:It}=this.props;nt.preventDefault(),this.detach(),It()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}rn.activators=[{eventName:"onKeyDown",handler:(He,nt,It)=>{let{keyboardCodes:pe=Dr,onActivation:Oe}=nt,{active:Ae}=It;const{code:Ke}=He.nativeEvent;if(pe.start.includes(Ke)){const Qe=Ae.activatorNode.current;return Qe&&He.target!==Qe?!1:(He.preventDefault(),Oe==null||Oe({event:He.nativeEvent}),!0)}return!1}}];function Ir(He){return!!(He&&"distance"in He)}function ur(He){return!!(He&&"delay"in He)}class Rr{constructor(nt,It,pe){var Oe;pe===void 0&&(pe=_n(nt.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=nt,this.events=It;const{event:Ae}=nt,{target:Ke}=Ae;this.props=nt,this.events=It,this.document=(0,Me.r3)(Ke),this.documentListeners=new Xn(this.document),this.listeners=new Xn(pe),this.windowListeners=new Xn((0,Me.Jj)(Ke)),this.initialCoordinates=(Oe=(0,Me.DC)(Ae))!=null?Oe:wt,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:nt,props:{options:{activationConstraint:It,bypassActivationConstraint:pe}}}=this;if(this.listeners.add(nt.move.name,this.handleMove,{passive:!1}),this.listeners.add(nt.end.name,this.handleEnd),this.windowListeners.add(yn.Resize,this.handleCancel),this.windowListeners.add(yn.DragStart,Kn),this.windowListeners.add(yn.VisibilityChange,this.handleCancel),this.windowListeners.add(yn.ContextMenu,Kn),this.documentListeners.add(yn.Keydown,this.handleKeydown),It){if(pe!=null&&pe({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ur(It)){this.timeoutId=setTimeout(this.handleStart,It.delay);return}if(Ir(It))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:nt}=this,{onStart:It}=this.props;nt&&(this.activated=!0,this.documentListeners.add(yn.Click,On,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(yn.SelectionChange,this.removeTextSelection),It(nt))}handleMove(nt){var It;const{activated:pe,initialCoordinates:Oe,props:Ae}=this,{onMove:Ke,options:{activationConstraint:Qe}}=Ae;if(!Oe)return;const at=(It=(0,Me.DC)(nt))!=null?It:wt,ft=(0,Me.$X)(Oe,at);if(!pe&&Qe){if(Ir(Qe)){if(Qe.tolerance!=null&&Vt(ft,Qe.tolerance))return this.handleCancel();if(Vt(ft,Qe.distance))return this.handleStart()}return ur(Qe)&&Vt(ft,Qe.tolerance)?this.handleCancel():void 0}nt.cancelable&&nt.preventDefault(),Ke(at)}handleEnd(){const{onEnd:nt}=this.props;this.detach(),nt()}handleCancel(){const{onCancel:nt}=this.props;this.detach(),nt()}handleKeydown(nt){nt.code===Qt.Esc&&this.handleCancel()}removeTextSelection(){var nt;(nt=this.document.getSelection())==null||nt.removeAllRanges()}}const aa={move:{name:"pointermove"},end:{name:"pointerup"}};class qn extends Rr{constructor(nt){const{event:It}=nt,pe=(0,Me.r3)(It.target);super(nt,aa,pe)}}qn.activators=[{eventName:"onPointerDown",handler:(He,nt)=>{let{nativeEvent:It}=He,{onActivation:pe}=nt;return!It.isPrimary||It.button!==0?!1:(pe==null||pe({event:It}),!0)}}];const Pa={move:{name:"mousemove"},end:{name:"mouseup"}};var Fa;(function(He){He[He.RightClick=2]="RightClick"})(Fa||(Fa={}));class _a extends Rr{constructor(nt){super(nt,Pa,(0,Me.r3)(nt.event.target))}}_a.activators=[{eventName:"onMouseDown",handler:(He,nt)=>{let{nativeEvent:It}=He,{onActivation:pe}=nt;return It.button===Fa.RightClick?!1:(pe==null||pe({event:It}),!0)}}];const Xr={move:{name:"touchmove"},end:{name:"touchend"}};class Da extends Rr{constructor(nt){super(nt,Xr)}static setup(){return window.addEventListener(Xr.move.name,nt,{capture:!1,passive:!1}),function(){window.removeEventListener(Xr.move.name,nt)};function nt(){}}}Da.activators=[{eventName:"onTouchStart",handler:(He,nt)=>{let{nativeEvent:It}=He,{onActivation:pe}=nt;const{touches:Oe}=It;return Oe.length>1?!1:(pe==null||pe({event:It}),!0)}}];var Mi;(function(He){He[He.Pointer=0]="Pointer",He[He.DraggableRect=1]="DraggableRect"})(Mi||(Mi={}));var Si;(function(He){He[He.TreeOrder=0]="TreeOrder",He[He.ReversedTreeOrder=1]="ReversedTreeOrder"})(Si||(Si={}));function zi(He){let{acceleration:nt,activator:It=Mi.Pointer,canScroll:pe,draggingRect:Oe,enabled:Ae,interval:Ke=5,order:Qe=Si.TreeOrder,pointerCoordinates:at,scrollableAncestors:ft,scrollableAncestorRects:Xt,delta:an,threshold:Qn}=He;const cr=Tn({delta:an,disabled:!Ae}),[Ar,Dn]=(0,Me.Yz)(),$n=(0,ne.useRef)({x:0,y:0}),Jn=(0,ne.useRef)({x:0,y:0}),kr=(0,ne.useMemo)(()=>{switch(It){case Mi.Pointer:return at?{top:at.y,bottom:at.y,left:at.x,right:at.x}:null;case Mi.DraggableRect:return Oe}},[It,Oe,at]),Hr=(0,ne.useRef)(null),zr=(0,ne.useCallback)(()=>{const jr=Hr.current;if(!jr)return;const _r=$n.current.x*Jn.current.x,Jr=$n.current.y*Jn.current.y;jr.scrollBy(_r,Jr)},[]),Fr=(0,ne.useMemo)(()=>Qe===Si.TreeOrder?[...ft].reverse():ft,[Qe,ft]);(0,ne.useEffect)(()=>{if(!Ae||!ft.length||!kr){Dn();return}for(const jr of Fr){if((pe==null?void 0:pe(jr))===!1)continue;const _r=ft.indexOf(jr),Jr=Xt[_r];if(!Jr)continue;const{direction:kt,speed:Pt}=be(jr,Jr,kr,nt,Qn);for(const zn of["x","y"])cr[zn][kt[zn]]||(Pt[zn]=0,kt[zn]=0);if(Pt.x>0||Pt.y>0){Dn(),Hr.current=jr,Ar(zr,Ke),$n.current=Pt,Jn.current=kt;return}}$n.current={x:0,y:0},Jn.current={x:0,y:0},Dn()},[nt,zr,pe,Dn,Ae,Ke,JSON.stringify(kr),JSON.stringify(cr),Ar,ft,Fr,Xt,JSON.stringify(Qn)])}const fi={x:{[gn.Backward]:!1,[gn.Forward]:!1},y:{[gn.Backward]:!1,[gn.Forward]:!1}};function Tn(He){let{delta:nt,disabled:It}=He;const pe=(0,Me.D9)(nt);return(0,Me.Gj)(Oe=>{if(It||!pe||!Oe)return fi;const Ae={x:Math.sign(nt.x-pe.x),y:Math.sign(nt.y-pe.y)};return{x:{[gn.Backward]:Oe.x[gn.Backward]||Ae.x===-1,[gn.Forward]:Oe.x[gn.Forward]||Ae.x===1},y:{[gn.Backward]:Oe.y[gn.Backward]||Ae.y===-1,[gn.Forward]:Oe.y[gn.Forward]||Ae.y===1}}},[It,nt,pe])}function bn(He,nt){const It=nt!==null?He.get(nt):void 0,pe=It?It.node.current:null;return(0,Me.Gj)(Oe=>{var Ae;return nt===null?null:(Ae=pe!=null?pe:Oe)!=null?Ae:null},[pe,nt])}function ir(He,nt){return(0,ne.useMemo)(()=>He.reduce((It,pe)=>{const{sensor:Oe}=pe,Ae=Oe.activators.map(Ke=>({eventName:Ke.eventName,handler:nt(Ke.handler,pe)}));return[...It,...Ae]},[]),[He,nt])}var Cr;(function(He){He[He.Always=0]="Always",He[He.BeforeDragging=1]="BeforeDragging",He[He.WhileDragging=2]="WhileDragging"})(Cr||(Cr={}));var Or;(function(He){He.Optimized="optimized"})(Or||(Or={}));const Lr=new Map;function sa(He,nt){let{dragging:It,dependencies:pe,config:Oe}=nt;const[Ae,Ke]=(0,ne.useState)(null),{frequency:Qe,measure:at,strategy:ft}=Oe,Xt=(0,ne.useRef)(He),an=$n(),Qn=(0,Me.Ey)(an),cr=(0,ne.useCallback)(function(Jn){Jn===void 0&&(Jn=[]),!Qn.current&&Ke(kr=>kr===null?Jn:kr.concat(Jn.filter(Hr=>!kr.includes(Hr))))},[Qn]),Ar=(0,ne.useRef)(null),Dn=(0,Me.Gj)(Jn=>{if(an&&!It)return Lr;if(!Jn||Jn===Lr||Xt.current!==He||Ae!=null){const kr=new Map;for(let Hr of He){if(!Hr)continue;if(Ae&&Ae.length>0&&!Ae.includes(Hr.id)&&Hr.rect.current){kr.set(Hr.id,Hr.rect.current);continue}const zr=Hr.node.current,Fr=zr?new Pn(at(zr),zr):null;Hr.rect.current=Fr,Fr&&kr.set(Hr.id,Fr)}return kr}return Jn},[He,Ae,It,an,at]);return(0,ne.useEffect)(()=>{Xt.current=He},[He]),(0,ne.useEffect)(()=>{an||cr()},[It,an]),(0,ne.useEffect)(()=>{Ae&&Ae.length>0&&Ke(null)},[JSON.stringify(Ae)]),(0,ne.useEffect)(()=>{an||typeof Qe!="number"||Ar.current!==null||(Ar.current=setTimeout(()=>{cr(),Ar.current=null},Qe))},[Qe,an,cr,...pe]),{droppableRects:Dn,measureDroppableContainers:cr,measuringScheduled:Ae!=null};function $n(){switch(ft){case Cr.Always:return!1;case Cr.BeforeDragging:return It;default:return!It}}}function pn(He,nt){return(0,Me.Gj)(It=>He?It||(typeof nt=="function"?nt(He):He):null,[nt,He])}function At(He,nt){return pn(He,nt)}function Zt(He){let{callback:nt,disabled:It}=He;const pe=(0,Me.zX)(nt),Oe=(0,ne.useMemo)(()=>{if(It||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Ae}=window;return new Ae(pe)},[pe,It]);return(0,ne.useEffect)(()=>()=>Oe==null?void 0:Oe.disconnect(),[Oe]),Oe}function on(He){let{callback:nt,disabled:It}=He;const pe=(0,Me.zX)(nt),Oe=(0,ne.useMemo)(()=>{if(It||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Ae}=window;return new Ae(pe)},[It]);return(0,ne.useEffect)(()=>()=>Oe==null?void 0:Oe.disconnect(),[Oe]),Oe}function Yn(He){return new Pn(Mt(He),He)}function Dt(He,nt,It){nt===void 0&&(nt=Yn);const[pe,Oe]=(0,ne.useReducer)(Qe,null),Ae=Zt({callback(at){if(He)for(const ft of at){const{type:Xt,target:an}=ft;if(Xt==="childList"&&an instanceof HTMLElement&&an.contains(He)){Oe();break}}}}),Ke=on({callback:Oe});return(0,Me.LI)(()=>{Oe(),He?(Ke==null||Ke.observe(He),Ae==null||Ae.observe(document.body,{childList:!0,subtree:!0})):(Ke==null||Ke.disconnect(),Ae==null||Ae.disconnect())},[He]),pe;function Qe(at){if(!He)return null;if(He.isConnected===!1){var ft;return(ft=at!=null?at:It)!=null?ft:null}const Xt=nt(He);return JSON.stringify(at)===JSON.stringify(Xt)?at:Xt}}function fn(He){const nt=pn(He);return rt(He,nt)}const Vn=[];function kn(He){const nt=(0,ne.useRef)(He),It=(0,Me.Gj)(pe=>He?pe&&pe!==Vn&&He&&nt.current&&He.parentNode===nt.current.parentNode?pe:nn(He):Vn,[He]);return(0,ne.useEffect)(()=>{nt.current=He},[He]),It}function rr(He){const[nt,It]=(0,ne.useState)(null),pe=(0,ne.useRef)(He),Oe=(0,ne.useCallback)(Ae=>{const Ke=Sn(Ae.target);Ke&&It(Qe=>Qe?(Qe.set(Ke,br(Ke)),new Map(Qe)):null)},[]);return(0,ne.useEffect)(()=>{const Ae=pe.current;if(He!==Ae){Ke(Ae);const Qe=He.map(at=>{const ft=Sn(at);return ft?(ft.addEventListener("scroll",Oe,{passive:!0}),[ft,br(ft)]):null}).filter(at=>at!=null);It(Qe.length?new Map(Qe):null),pe.current=He}return()=>{Ke(He),Ke(Ae)};function Ke(Qe){Qe.forEach(at=>{const ft=Sn(at);ft==null||ft.removeEventListener("scroll",Oe)})}},[Oe,He]),(0,ne.useMemo)(()=>He.length?nt?Array.from(nt.values()).reduce((Ae,Ke)=>(0,Me.IH)(Ae,Ke),wt):se(He):wt,[He,nt])}function fr(He,nt){nt===void 0&&(nt=[]);const It=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{It.current=null},nt),(0,ne.useEffect)(()=>{const pe=He!==wt;pe&&!It.current&&(It.current=He),!pe&&It.current&&(It.current=null)},[He]),It.current?(0,Me.$X)(He,It.current):wt}function mn(He){(0,ne.useEffect)(()=>{if(!Me.Nq)return;const nt=He.map(It=>{let{sensor:pe}=It;return pe.setup==null?void 0:pe.setup()});return()=>{for(const It of nt)It==null||It()}},He.map(nt=>{let{sensor:It}=nt;return It}))}function Ta(He,nt){return(0,ne.useMemo)(()=>He.reduce((It,pe)=>{let{eventName:Oe,handler:Ae}=pe;return It[Oe]=Ke=>{Ae(Ke,nt)},It},{}),[He,nt])}function ha(He){return(0,ne.useMemo)(()=>He?qt(He):null,[He])}const ya=[];function Sa(He,nt){nt===void 0&&(nt=Mt);const[It]=He,pe=ha(It?(0,Me.Jj)(It):null),[Oe,Ae]=(0,ne.useReducer)(Qe,ya),Ke=on({callback:Ae});return He.length>0&&Oe===ya&&Ae(),(0,Me.LI)(()=>{He.length?He.forEach(at=>Ke==null?void 0:Ke.observe(at)):(Ke==null||Ke.disconnect(),Ae())},[He]),Oe;function Qe(){return He.length?He.map(at=>Ye(at)?pe:new Pn(nt(at),at)):ya}}function Ma(He){if(!He)return null;if(He.children.length>1)return He;const nt=He.children[0];return(0,Me.Re)(nt)?nt:He}function pa(He){let{measure:nt}=He;const[It,pe]=(0,ne.useState)(null),Oe=(0,ne.useCallback)(ft=>{for(const{target:Xt}of ft)if((0,Me.Re)(Xt)){pe(an=>{const Qn=nt(Xt);return an?tu(ql({},an),{width:Qn.width,height:Qn.height}):Qn});break}},[nt]),Ae=on({callback:Oe}),Ke=(0,ne.useCallback)(ft=>{const Xt=Ma(ft);Ae==null||Ae.disconnect(),Xt&&(Ae==null||Ae.observe(Xt)),pe(Xt?nt(Xt):null)},[nt,Ae]),[Qe,at]=(0,Me.wm)(Ke);return(0,ne.useMemo)(()=>({nodeRef:Qe,rect:It,setRef:at}),[It,Qe,at])}const Er=[{sensor:qn,options:{}},{sensor:rn,options:{}}],qr={current:{}},Hi={draggable:{measure:vn},droppable:{measure:vn,strategy:Cr.WhileDragging,frequency:Or.Optimized},dragOverlay:{measure:Mt}};class Fi extends Map{get(nt){var It;return nt!=null&&(It=super.get(nt))!=null?It:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(nt=>{let{disabled:It}=nt;return!It})}getNodeFor(nt){var It,pe;return(It=(pe=this.get(nt))==null?void 0:pe.node.current)!=null?It:void 0}}const $a={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Fi,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:ot},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Hi,measureDroppableContainers:ot,windowRect:null,measuringScheduled:!1},ni={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:ot,draggableNodes:new Map,over:null,measureDroppableContainers:ot},no=(0,ne.createContext)(ni),oi=(0,ne.createContext)($a);function so(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Fi}}}function ta(He,nt){switch(nt.type){case pt.DragStart:return tu(ql({},He),{draggable:tu(ql({},He.draggable),{initialCoordinates:nt.initialCoordinates,active:nt.active})});case pt.DragMove:return He.draggable.active?tu(ql({},He),{draggable:tu(ql({},He.draggable),{translate:{x:nt.coordinates.x-He.draggable.initialCoordinates.x,y:nt.coordinates.y-He.draggable.initialCoordinates.y}})}):He;case pt.DragEnd:case pt.DragCancel:return tu(ql({},He),{draggable:tu(ql({},He.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case pt.RegisterDroppable:{const{element:It}=nt,{id:pe}=It,Oe=new Fi(He.droppable.containers);return Oe.set(pe,It),tu(ql({},He),{droppable:tu(ql({},He.droppable),{containers:Oe})})}case pt.SetDroppableDisabled:{const{id:It,key:pe,disabled:Oe}=nt,Ae=He.droppable.containers.get(It);if(!Ae||pe!==Ae.key)return He;const Ke=new Fi(He.droppable.containers);return Ke.set(It,tu(ql({},Ae),{disabled:Oe})),tu(ql({},He),{droppable:tu(ql({},He.droppable),{containers:Ke})})}case pt.UnregisterDroppable:{const{id:It,key:pe}=nt,Oe=He.droppable.containers.get(It);if(!Oe||pe!==Oe.key)return He;const Ae=new Fi(He.droppable.containers);return Ae.delete(It),tu(ql({},He),{droppable:tu(ql({},He.droppable),{containers:Ae})})}default:return He}}function to(He){let{disabled:nt}=He;const{active:It,activatorEvent:pe,draggableNodes:Oe}=(0,ne.useContext)(no),Ae=(0,Me.D9)(pe),Ke=(0,Me.D9)(It==null?void 0:It.id);return(0,ne.useEffect)(()=>{if(!nt&&!pe&&Ae&&Ke!=null){if(!(0,Me.vd)(Ae)||document.activeElement===Ae.target)return;const Qe=Oe.get(Ke);if(!Qe)return;const{activatorNode:at,node:ft}=Qe;if(!at.current&&!ft.current)return;requestAnimationFrame(()=>{for(const Xt of[at.current,ft.current]){if(!Xt)continue;const an=(0,Me.so)(Xt);if(an){an.focus();break}}})}},[pe,nt,Oe,Ke,Ae]),null}function xo(He,nt){let Oe=nt,{transform:It}=Oe,pe=hh(Oe,["transform"]);return He!=null&&He.length?He.reduce((Ae,Ke)=>Ke(ql({transform:Ae},pe)),It):It}function xl(He){return(0,ne.useMemo)(()=>({draggable:ql(ql({},Hi.draggable),He==null?void 0:He.draggable),droppable:ql(ql({},Hi.droppable),He==null?void 0:He.droppable),dragOverlay:ql(ql({},Hi.dragOverlay),He==null?void 0:He.dragOverlay)}),[He==null?void 0:He.draggable,He==null?void 0:He.droppable,He==null?void 0:He.dragOverlay])}function ll(He){let{activeNode:nt,measure:It,initialRect:pe,config:Oe=!0}=He;const Ae=(0,ne.useRef)(!1),{x:Ke,y:Qe}=typeof Oe=="boolean"?{x:Oe,y:Oe}:Oe;(0,Me.LI)(()=>{if(!Ke&&!Qe||!nt){Ae.current=!1;return}if(Ae.current||!pe)return;const ft=nt==null?void 0:nt.node.current;if(!ft||ft.isConnected===!1)return;const Xt=It(ft),an=rt(Xt,pe);if(Ke||(an.x=0),Qe||(an.y=0),Ae.current=!0,Math.abs(an.x)>0||Math.abs(an.y)>0){const Qn=Cn(ft);Qn&&Qn.scrollBy({top:an.y,left:an.x})}},[nt,Ke,Qe,pe,It])}const Uo=(0,ne.createContext)(tu(ql({},wt),{scaleX:1,scaleY:1}));var co;(function(He){He[He.Uninitialized=0]="Uninitialized",He[He.Initializing=1]="Initializing",He[He.Initialized=2]="Initialized"})(co||(co={}));const wl=(0,ne.memo)(function(nt){var It,pe,Oe,Ae;let Ql=nt,{id:Ke,accessibility:Qe,autoScroll:at=!0,children:ft,sensors:Xt=Er,collisionDetection:an=Be,measuring:Qn,modifiers:cr}=Ql,Ar=hh(Ql,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const Dn=(0,ne.useReducer)(ta,void 0,so),[$n,Jn]=Dn,[kr,Hr]=Pe(),[zr,Fr]=(0,ne.useState)(co.Uninitialized),jr=zr===co.Initialized,{draggable:{active:_r,nodes:Jr,translate:kt},droppable:{containers:Pt}}=$n,zn=_r?Jr.get(_r):null,Bn=(0,ne.useRef)({initial:null,translated:null}),xr=(0,ne.useMemo)(()=>{var Al;return _r!=null?{id:_r,data:(Al=zn==null?void 0:zn.data)!=null?Al:qr,rect:Bn}:null},[_r,zn]),Zr=(0,ne.useRef)(null),[$t,cn]=(0,ne.useState)(null),[dn,Rn]=(0,ne.useState)(null),yr=(0,Me.Ey)(Ar,Object.values(Ar)),Tr=(0,Me.Ld)("DndDescribedBy",Ke),vr=(0,ne.useMemo)(()=>Pt.getEnabled(),[Pt]),Pr=xl(Qn),{droppableRects:ia,measureDroppableContainers:Va,measuringScheduled:ma}=sa(vr,{dragging:jr,dependencies:[kt.x,kt.y],config:Pr.droppable}),Gr=bn(Jr,_r),Ea=(0,ne.useMemo)(()=>dn?(0,Me.DC)(dn):null,[dn]),ja=ls(),ai=At(Gr,Pr.draggable.measure);ll({activeNode:_r?Jr.get(_r):null,config:ja.layoutShiftCompensation,initialRect:ai,measure:Pr.draggable.measure});const Ra=Dt(Gr,Pr.draggable.measure,ai),da=Dt(Gr?Gr.parentElement:null),ci=(0,ne.useRef)({activatorEvent:null,active:null,activeNode:Gr,collisionRect:null,collisions:null,droppableRects:ia,draggableNodes:Jr,draggingNode:null,draggingNodeRect:null,droppableContainers:Pt,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),mi=Pt.getNodeFor((It=ci.current.over)==null?void 0:It.id),io=pa({measure:Pr.dragOverlay.measure}),po=(pe=io.nodeRef.current)!=null?pe:Gr,Ao=jr?(Oe=io.rect)!=null?Oe:Ra:null,uo=!!(io.nodeRef.current&&io.rect),ho=fn(uo?null:Ra),ji=ha(po?(0,Me.Jj)(po):null),wo=kn(jr?mi!=null?mi:Gr:null),Zi=Sa(wo),gi=xo(cr,{transform:{x:kt.x-ho.x,y:kt.y-ho.y,scaleX:1,scaleY:1},activatorEvent:dn,active:xr,activeNodeRect:Ra,containerNodeRect:da,draggingNodeRect:Ao,over:ci.current.over,overlayNodeRect:io.rect,scrollableAncestors:wo,scrollableAncestorRects:Zi,windowRect:ji}),mo=Ea?(0,Me.IH)(Ea,kt):null,_o=rr(wo),Wi=fr(_o),al=fr(_o,[Ra]),fl=(0,Me.IH)(gi,Wi),hl=Ao?Bt(Ao,gi):null,qo=xr&&hl?an({active:xr,collisionRect:hl,droppableRects:ia,droppableContainers:vr,pointerCoordinates:mo}):null,Mo=$e(qo,"id"),[Wl,Vo]=(0,ne.useState)(null),yo=uo?gi:(0,Me.IH)(gi,al),sl=ut(yo,(Ae=Wl==null?void 0:Wl.rect)!=null?Ae:null,Ra),Vl=(0,ne.useCallback)((Al,Tl)=>{let{sensor:$l,options:Rl}=Tl;if(Zr.current==null)return;const Il=Jr.get(Zr.current);if(!Il)return;const ss=Al.nativeEvent,us=new $l({active:Zr.current,activeNode:Il,event:ss,options:Rl,context:ci,onStart(ts){const ns=Zr.current;if(ns==null)return;const Go=Jr.get(ns);if(!Go)return;const{onDragStart:il}=yr.current,_l={active:{id:ns,data:Go.data,rect:Bn}};(0,de.unstable_batchedUpdates)(()=>{il==null||il(_l),Fr(co.Initializing),Jn({type:pt.DragStart,initialCoordinates:ts,active:ns}),kr({type:"onDragStart",event:_l})})},onMove(ts){Jn({type:pt.DragMove,coordinates:ts})},onEnd:ms(pt.DragEnd),onCancel:ms(pt.DragCancel)});(0,de.unstable_batchedUpdates)(()=>{cn(us),Rn(Al.nativeEvent)});function ms(ts){return function(){return od(this,null,function*(){const{active:Go,collisions:il,over:_l,scrollAdjustedTranslate:Xl}=ci.current;let hs=null;if(Go&&Xl){const{cancelDrop:xs}=yr.current;hs={activatorEvent:ss,active:Go,collisions:il,delta:Xl,over:_l},ts===pt.DragEnd&&typeof xs=="function"&&(yield Promise.resolve(xs(hs)))&&(ts=pt.DragCancel)}Zr.current=null,(0,de.unstable_batchedUpdates)(()=>{Jn({type:ts}),Fr(co.Uninitialized),Vo(null),cn(null),Rn(null);const xs=ts===pt.DragEnd?"onDragEnd":"onDragCancel";if(hs){const Ms=yr.current[xs];Ms==null||Ms(hs),kr({type:xs,event:hs})}})})}}},[Jr]),pl=(0,ne.useCallback)((Al,Tl)=>($l,Rl)=>{const Il=$l.nativeEvent,ss=Jr.get(Rl);if(Zr.current!==null||!ss||Il.dndKit||Il.defaultPrevented)return;const us={active:ss};Al($l,Tl.options,us)===!0&&(Il.dndKit={capturedBy:Tl.sensor},Zr.current=Rl,Vl($l,Tl))},[Jr,Vl]),Dl=ir(Xt,pl);mn(Xt),(0,Me.LI)(()=>{Ra&&zr===co.Initializing&&Fr(co.Initialized)},[Ra,zr]),(0,ne.useEffect)(()=>{const{onDragMove:Al}=yr.current,{active:Tl,activatorEvent:$l,collisions:Rl,over:Il}=ci.current;if(!Tl||!$l)return;const ss={active:Tl,activatorEvent:$l,collisions:Rl,delta:{x:fl.x,y:fl.y},over:Il};(0,de.unstable_batchedUpdates)(()=>{Al==null||Al(ss),kr({type:"onDragMove",event:ss})})},[fl.x,fl.y]),(0,ne.useEffect)(()=>{const{active:Al,activatorEvent:Tl,collisions:$l,droppableContainers:Rl,scrollAdjustedTranslate:Il}=ci.current;if(!Al||Zr.current==null||!Tl||!Il)return;const{onDragOver:ss}=yr.current,us=Rl.get(Mo),ms=us&&us.rect.current?{id:us.id,rect:us.rect.current,data:us.data,disabled:us.disabled}:null,ts={active:Al,activatorEvent:Tl,collisions:$l,delta:{x:Il.x,y:Il.y},over:ms};(0,de.unstable_batchedUpdates)(()=>{Vo(ms),ss==null||ss(ts),kr({type:"onDragOver",event:ts})})},[Mo]),(0,Me.LI)(()=>{ci.current={activatorEvent:dn,active:xr,activeNode:Gr,collisionRect:hl,collisions:qo,droppableRects:ia,draggableNodes:Jr,draggingNode:po,draggingNodeRect:Ao,droppableContainers:Pt,over:Wl,scrollableAncestors:wo,scrollAdjustedTranslate:fl},Bn.current={initial:Ao,translated:hl}},[xr,Gr,qo,hl,Jr,po,Ao,ia,Pt,Wl,wo,fl]),zi(tu(ql({},ja),{delta:kt,draggingRect:hl,pointerCoordinates:mo,scrollableAncestors:wo,scrollableAncestorRects:Zi}));const Lo=(0,ne.useMemo)(()=>({active:xr,activeNode:Gr,activeNodeRect:Ra,activatorEvent:dn,collisions:qo,containerNodeRect:da,dragOverlay:io,draggableNodes:Jr,droppableContainers:Pt,droppableRects:ia,over:Wl,measureDroppableContainers:Va,scrollableAncestors:wo,scrollableAncestorRects:Zi,measuringConfiguration:Pr,measuringScheduled:ma,windowRect:ji}),[xr,Gr,Ra,dn,qo,da,io,Jr,Pt,ia,Wl,Va,wo,Zi,Pr,ma,ji]),jl=(0,ne.useMemo)(()=>({activatorEvent:dn,activators:Dl,active:xr,activeNodeRect:Ra,ariaDescribedById:{draggable:Tr},dispatch:Jn,draggableNodes:Jr,over:Wl,measureDroppableContainers:Va}),[dn,Dl,xr,Ra,Jn,Tr,Jr,Wl,Va]);return ne.createElement(Se.Provider,{value:Hr},ne.createElement(no.Provider,{value:jl},ne.createElement(oi.Provider,{value:Lo},ne.createElement(Uo.Provider,{value:sl},ft)),ne.createElement(to,{disabled:(Qe==null?void 0:Qe.restoreFocus)===!1})),ne.createElement(Ge,tu(ql({},Qe),{hiddenTextDescribedById:Tr})));function ls(){const Al=($t==null?void 0:$t.autoScrollEnabled)===!1,Tl=typeof at=="object"?at.enabled===!1:at===!1,$l=jr&&!Al&&!Tl;return typeof at=="object"?tu(ql({},at),{enabled:$l}):{enabled:$l}}}),Yo=(0,ne.createContext)(null),gl="button",zl="Droppable";function Sl(He){let{id:nt,data:It,disabled:pe=!1,attributes:Oe}=He;const Ae=(0,Me.Ld)(zl),{activators:Ke,activatorEvent:Qe,active:at,activeNodeRect:ft,ariaDescribedById:Xt,draggableNodes:an,over:Qn}=(0,ne.useContext)(no),{role:cr=gl,roleDescription:Ar="draggable",tabIndex:Dn=0}=Oe!=null?Oe:{},$n=(at==null?void 0:at.id)===nt,Jn=(0,ne.useContext)($n?Uo:Yo),[kr,Hr]=(0,Me.wm)(),[zr,Fr]=(0,Me.wm)(),jr=Ta(Ke,nt),_r=(0,Me.Ey)(It);(0,Me.LI)(()=>(an.set(nt,{id:nt,key:Ae,node:kr,activatorNode:zr,data:_r}),()=>{const kt=an.get(nt);kt&&kt.key===Ae&&an.delete(nt)}),[an,nt]);const Jr=(0,ne.useMemo)(()=>({role:cr,tabIndex:Dn,"aria-disabled":pe,"aria-pressed":$n&&cr===gl?!0:void 0,"aria-roledescription":Ar,"aria-describedby":Xt.draggable}),[pe,cr,Dn,$n,Ar,Xt.draggable]);return{active:at,activatorEvent:Qe,activeNodeRect:ft,attributes:Jr,isDragging:$n,listeners:pe?void 0:jr,node:kr,over:Qn,setNodeRef:Hr,setActivatorNodeRef:Fr,transform:Jn}}function Cl(){return(0,ne.useContext)(oi)}const wi="Droppable",ko={timeout:25};function Pi(He){let{data:nt,disabled:It=!1,id:pe,resizeObserverConfig:Oe}=He;const Ae=(0,Me.Ld)(wi),{active:Ke,dispatch:Qe,over:at,measureDroppableContainers:ft}=(0,ne.useContext)(no),Xt=(0,ne.useRef)({disabled:It}),an=(0,ne.useRef)(!1),Qn=(0,ne.useRef)(null),cr=(0,ne.useRef)(null),{disabled:Ar,updateMeasurementsFor:Dn,timeout:$n}=ql(ql({},ko),Oe),Jn=(0,Me.Ey)(Dn!=null?Dn:pe),kr=(0,ne.useCallback)(()=>{if(!an.current){an.current=!0;return}cr.current!=null&&clearTimeout(cr.current),cr.current=setTimeout(()=>{ft(Array.isArray(Jn.current)?Jn.current:[Jn.current]),cr.current=null},$n)},[$n]),Hr=on({callback:kr,disabled:Ar||!Ke}),zr=(0,ne.useCallback)((Jr,kt)=>{Hr&&(kt&&(Hr.unobserve(kt),an.current=!1),Jr&&Hr.observe(Jr))},[Hr]),[Fr,jr]=(0,Me.wm)(zr),_r=(0,Me.Ey)(nt);return(0,ne.useEffect)(()=>{!Hr||!Fr.current||(Hr.disconnect(),an.current=!1,Hr.observe(Fr.current))},[Fr,Hr]),(0,Me.LI)(()=>(Qe({type:pt.RegisterDroppable,element:{id:pe,key:Ae,disabled:It,node:Fr,rect:Qn,data:_r}}),()=>Qe({type:pt.UnregisterDroppable,key:Ae,id:pe})),[pe]),(0,ne.useEffect)(()=>{It!==Xt.current.disabled&&(Qe({type:pt.SetDroppableDisabled,id:pe,key:Ae,disabled:It}),Xt.current.disabled=It)},[pe,Ae,It,Qe]),{active:Ke,rect:Qn,isOver:(at==null?void 0:at.id)===pe,node:Fr,over:at,setNodeRef:jr}}function Ci(He){let{animation:nt,children:It}=He;const[pe,Oe]=useState(null),[Ae,Ke]=useState(null),Qe=usePrevious(It);return!It&&!pe&&Qe&&Oe(Qe),useIsomorphicLayoutEffect(()=>{if(!Ae)return;const at=pe==null?void 0:pe.key,ft=pe==null?void 0:pe.props.id;if(at==null||ft==null){Oe(null);return}Promise.resolve(nt(ft,Ae)).then(()=>{Oe(null)})},[nt,pe,Ae]),React.createElement(React.Fragment,null,It,pe?cloneElement(pe,{ref:Ke}):null)}const Zn={x:0,y:0,scaleX:1,scaleY:1};function Mn(He){let{children:nt}=He;return React.createElement(no.Provider,{value:ni},React.createElement(Uo.Provider,{value:Zn},nt))}const dr={position:"fixed",touchAction:"none"},Qr=He=>isKeyboardEvent(He)?"transform 250ms ease":void 0,va=null,Vi={duration:250,easing:"ease",keyframes:He=>{let{transform:{initial:nt,final:It}}=He;return[{transform:Me.ux.Transform.toString(nt)},{transform:Me.ux.Transform.toString(It)}]},sideEffects:(He=>nt=>{let{active:It,dragOverlay:pe}=nt;const Oe={},{styles:Ae,className:Ke}=He;if(Ae!=null&&Ae.active)for(const[Qe,at]of Object.entries(Ae.active))at!==void 0&&(Oe[Qe]=It.node.style.getPropertyValue(Qe),It.node.style.setProperty(Qe,at));if(Ae!=null&&Ae.dragOverlay)for(const[Qe,at]of Object.entries(Ae.dragOverlay))at!==void 0&&pe.node.style.setProperty(Qe,at);return Ke!=null&&Ke.active&&It.node.classList.add(Ke.active),Ke!=null&&Ke.dragOverlay&&pe.node.classList.add(Ke.dragOverlay),function(){for(const[at,ft]of Object.entries(Oe))It.node.style.setProperty(at,ft);Ke!=null&&Ke.active&&It.node.classList.remove(Ke.active)}})({styles:{active:{opacity:"0"}}})};function ui(He){let{config:nt,draggableNodes:It,droppableContainers:pe,measuringConfiguration:Oe}=He;return useEvent((Ae,Ke)=>{if(nt===null)return;const Qe=It.get(Ae);if(!Qe)return;const at=Qe.node.current;if(!at)return;const ft=Ma(Ke);if(!ft)return;const{transform:Xt}=getWindow(Ke).getComputedStyle(Ke),an=en(Xt);if(!an)return;const Qn=typeof nt=="function"?nt:Di(nt);return En(at,Oe.draggable.measure),Qn({active:{id:Ae,data:Qe.data,node:at,rect:Oe.draggable.measure(at)},draggableNodes:It,dragOverlay:{node:Ke,rect:Oe.dragOverlay.measure(ft)},droppableContainers:pe,measuringConfiguration:Oe,transform:an})})}function Di(He){const{duration:nt,easing:It,sideEffects:pe,keyframes:Oe}=ql(ql({},Vi),He);return Ae=>{let kr=Ae,{active:Ke,dragOverlay:Qe,transform:at}=kr,ft=hh(kr,["active","dragOverlay","transform"]);if(!nt)return;const Xt={x:Qe.rect.left-Ke.rect.left,y:Qe.rect.top-Ke.rect.top},an={scaleX:at.scaleX!==1?Ke.rect.width*at.scaleX/Qe.rect.width:1,scaleY:at.scaleY!==1?Ke.rect.height*at.scaleY/Qe.rect.height:1},Qn=ql({x:at.x-Xt.x,y:at.y-Xt.y},an),cr=Oe(tu(ql({},ft),{active:Ke,dragOverlay:Qe,transform:{initial:at,final:Qn}})),[Ar]=cr,Dn=cr[cr.length-1];if(JSON.stringify(Ar)===JSON.stringify(Dn))return;const $n=pe==null?void 0:pe(ql({active:Ke,dragOverlay:Qe},ft)),Jn=Qe.node.animate(cr,{duration:nt,easing:It,fill:"forwards"});return new Promise(Hr=>{Jn.onfinish=()=>{$n==null||$n(),Hr()}})}}let Eo=0;function Zo(He){return useMemo(()=>{if(He!=null)return Eo++,Eo},[He])}const Qo=null},32339:function(Hn,sn,ee){"use strict";ee.d(sn,{DL:function(){return ce}});var ne=ee(24285);function de(Pe){return Xe=>{let{transform:fe}=Xe;return tu(ql({},fe),{x:Math.ceil(fe.x/Pe)*Pe,y:Math.ceil(fe.y/Pe)*Pe})}}const Me=Pe=>{let{transform:Xe}=Pe;return tu(ql({},Xe),{y:0})};function et(Pe,Xe,fe){const Ge=ql({},Pe);return Xe.top+Pe.y<=fe.top?Ge.y=fe.top-Xe.top:Xe.bottom+Pe.y>=fe.top+fe.height&&(Ge.y=fe.top+fe.height-Xe.bottom),Xe.left+Pe.x<=fe.left?Ge.x=fe.left-Xe.left:Xe.right+Pe.x>=fe.left+fe.width&&(Ge.x=fe.left+fe.width-Xe.right),Ge}const we=Pe=>{let{containerNodeRect:Xe,draggingNodeRect:fe,transform:Ge}=Pe;return!fe||!Xe?Ge:et(Ge,fe,Xe)},ke=Pe=>{let{draggingNodeRect:Xe,transform:fe,scrollableAncestorRects:Ge}=Pe;const pt=Ge[0];return!Xe||!pt?fe:et(fe,Xe,pt)},ce=Pe=>{let{transform:Xe}=Pe;return tu(ql({},Xe),{x:0})},Se=Pe=>{let{transform:Xe,draggingNodeRect:fe,windowRect:Ge}=Pe;return!fe||!Ge?Xe:et(Xe,fe,Ge)},me=Pe=>{let{activatorEvent:Xe,draggingNodeRect:fe,transform:Ge}=Pe;if(fe&&Xe){const pt=getEventCoordinates(Xe);if(!pt)return Ge;const ot=pt.x-fe.left,vt=pt.y-fe.top;return tu(ql({},Ge),{x:Ge.x+ot-fe.width/2,y:Ge.y+vt-fe.height/2})}return Ge}},45587:function(Hn,sn,ee){"use strict";ee.d(sn,{Fo:function(){return tt},PG:function(){return Xe},Rp:function(){return et},nB:function(){return Fe},qw:function(){return vt}});var ne=ee(67294),de=ee(60887),Me=ee(24285);function et(Bt,en,ct){const Ie=Bt.slice();return Ie.splice(ct<0?Ie.length+ct:ct,0,Ie.splice(en,1)[0]),Ie}function we(Bt,en,ct){const Ie=Bt.slice();return Ie[en]=Bt[ct],Ie[ct]=Bt[en],Ie}function ke(Bt,en){return Bt.reduce((ct,Ie,Mt)=>{const vn=en.get(Ie);return vn&&(ct[Mt]=vn),ct},Array(Bt.length))}function ce(Bt){return Bt!==null&&Bt>=0}function Se(Bt,en){if(Bt===en)return!0;if(Bt.length!==en.length)return!1;for(let ct=0;ct<Bt.length;ct++)if(Bt[ct]!==en[ct])return!1;return!0}function me(Bt){return typeof Bt=="boolean"?{draggable:Bt,droppable:Bt}:Bt}const Pe={scaleX:1,scaleY:1},Xe=Bt=>{var en;let{rects:ct,activeNodeRect:Ie,activeIndex:Mt,overIndex:vn,index:qt}=Bt;const Nt=(en=ct[Mt])!=null?en:Ie;if(!Nt)return null;const Kt=fe(ct,qt,Mt);if(qt===Mt){const nn=ct[vn];return nn?ql({x:Mt<vn?nn.left+nn.width-(Nt.left+Nt.width):nn.left-Nt.left,y:0},Pe):null}return qt>Mt&&qt<=vn?ql({x:-Nt.width-Kt,y:0},Pe):qt<Mt&&qt>=vn?ql({x:Nt.width+Kt,y:0},Pe):ql({x:0,y:0},Pe)};function fe(Bt,en,ct){const Ie=Bt[en],Mt=Bt[en-1],vn=Bt[en+1];return!Ie||!Mt&&!vn?0:ct<en?Mt?Ie.left-(Mt.left+Mt.width):vn.left-(Ie.left+Ie.width):vn?vn.left-(Ie.left+Ie.width):Ie.left-(Mt.left+Mt.width)}const Ge=Bt=>{let{rects:en,activeIndex:ct,overIndex:Ie,index:Mt}=Bt;const vn=et(en,Ie,ct),qt=en[Mt],Nt=vn[Mt];return!Nt||!qt?null:{x:Nt.left-qt.left,y:Nt.top-qt.top,scaleX:Nt.width/qt.width,scaleY:Nt.height/qt.height}},pt=Bt=>{let{activeIndex:en,index:ct,rects:Ie,overIndex:Mt}=Bt,vn,qt;return ct===en&&(vn=Ie[ct],qt=Ie[Mt]),ct===Mt&&(vn=Ie[ct],qt=Ie[en]),!qt||!vn?null:{x:qt.left-vn.left,y:qt.top-vn.top,scaleX:qt.width/vn.width,scaleY:qt.height/vn.height}},ot={scaleX:1,scaleY:1},vt=Bt=>{var en;let{activeIndex:ct,activeNodeRect:Ie,index:Mt,rects:vn,overIndex:qt}=Bt;const Nt=(en=vn[ct])!=null?en:Ie;if(!Nt)return null;if(Mt===ct){const nn=vn[qt];return nn?ql({x:0,y:ct<qt?nn.top+nn.height-(Nt.top+Nt.height):nn.top-Nt.top},ot):null}const Kt=Ee(vn,Mt,ct);return Mt>ct&&Mt<=qt?ql({x:0,y:-Nt.height-Kt},ot):Mt<ct&&Mt>=qt?ql({x:0,y:Nt.height+Kt},ot):ql({x:0,y:0},ot)};function Ee(Bt,en,ct){const Ie=Bt[en],Mt=Bt[en-1],vn=Bt[en+1];return Ie?ct<en?Mt?Ie.top-(Mt.top+Mt.height):vn?vn.top-(Ie.top+Ie.height):0:vn?vn.top-(Ie.top+Ie.height):Mt?Ie.top-(Mt.top+Mt.height):0:0}const wt="Sortable",Rt=ne.createContext({activeIndex:-1,containerId:wt,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Ge,disabled:{draggable:!1,droppable:!1}});function tt(Bt){let{children:en,id:ct,items:Ie,strategy:Mt=Ge,disabled:vn=!1}=Bt;const{active:qt,dragOverlay:Nt,droppableRects:Kt,over:nn,measureDroppableContainers:Cn}=(0,de.Cj)(),Sn=(0,Me.Ld)(wt,ct),tn=Nt.rect!==null,In=(0,ne.useMemo)(()=>Ie.map(je=>typeof je=="object"&&"id"in je?je.id:je),[Ie]),br=qt!=null,gn=qt?In.indexOf(qt.id):-1,Ye=nn?In.indexOf(nn.id):-1,ve=(0,ne.useRef)(In),he=!Se(In,ve.current),be=Ye!==-1&&gn===-1||he,ge=me(vn);(0,Me.LI)(()=>{he&&br&&Cn(In)},[he,In,br,Cn]),(0,ne.useEffect)(()=>{ve.current=In},[In]);const se=(0,ne.useMemo)(()=>({activeIndex:gn,containerId:Sn,disabled:ge,disableTransforms:be,items:In,overIndex:Ye,useDragOverlay:tn,sortedRects:ke(In,Kt),strategy:Mt}),[gn,Sn,ge.draggable,ge.droppable,be,In,Ye,Kt,tn,Mt]);return ne.createElement(Rt.Provider,{value:se},en)}const st=Bt=>{let{id:en,items:ct,activeIndex:Ie,overIndex:Mt}=Bt;return et(ct,Ie,Mt).indexOf(en)},ye=Bt=>{let{containerId:en,isSorting:ct,wasDragging:Ie,index:Mt,items:vn,newIndex:qt,previousItems:Nt,previousContainerId:Kt,transition:nn}=Bt;return!nn||!Ie||Nt!==vn&&Mt===qt?!1:ct?!0:qt!==Mt&&en===Kt},ue={duration:200,easing:"ease"},$e="transform",Je=Me.ux.Transition.toString({property:$e,duration:0,easing:"linear"}),ht={roleDescription:"sortable"};function yt(Bt){let{disabled:en,index:ct,node:Ie,rect:Mt}=Bt;const[vn,qt]=(0,ne.useState)(null),Nt=(0,ne.useRef)(ct);return(0,Me.LI)(()=>{if(!en&&ct!==Nt.current&&Ie.current){const Kt=Mt.current;if(Kt){const nn=(0,de.VK)(Ie.current,{ignoreTransform:!0}),Cn={x:Kt.left-nn.left,y:Kt.top-nn.top,scaleX:Kt.width/nn.width,scaleY:Kt.height/nn.height};(Cn.x||Cn.y)&&qt(Cn)}}ct!==Nt.current&&(Nt.current=ct)},[en,ct,Ie,Mt]),(0,ne.useEffect)(()=>{vn&&qt(null)},[vn]),vn}function Fe(Bt){let{animateLayoutChanges:en=ye,attributes:ct,disabled:Ie,data:Mt,getNewIndex:vn=st,id:qt,strategy:Nt,resizeObserverConfig:Kt,transition:nn=ue}=Bt;const{items:Cn,containerId:Sn,activeIndex:tn,disabled:In,disableTransforms:br,sortedRects:gn,overIndex:Ye,useDragOverlay:ve,strategy:he}=(0,ne.useContext)(Rt),be=Be(Ie,In),ge=Cn.indexOf(qt),se=(0,ne.useMemo)(()=>ql({sortable:{containerId:Sn,index:ge,items:Cn}},Mt),[Sn,Mt,ge,Cn]),je=(0,ne.useMemo)(()=>Cn.slice(Cn.indexOf(qt)),[Cn,qt]),{rect:xt,node:En,isOver:un,setNodeRef:Pn}=(0,de.Zj)({id:qt,data:se,disabled:be.droppable,resizeObserverConfig:ql({updateMeasurementsFor:je},Kt)}),{active:Xn,activatorEvent:_n,activeNodeRect:Vt,attributes:yn,setNodeRef:Kn,listeners:On,isDragging:Qt,over:Dr,setActivatorNodeRef:jt,transform:rn}=(0,de.O1)({id:qt,data:se,attributes:ql(ql({},ht),ct),disabled:be.draggable}),Ir=(0,Me.HB)(Pn,Kn),ur=!!Xn,Rr=ur&&!br&&ce(tn)&&ce(Ye),aa=!ve&&Qt,qn=aa&&Rr?rn:null,Pa=Nt!=null?Nt:he,Fa=Rr?qn!=null?qn:Pa({rects:gn,activeNodeRect:Vt,activeIndex:tn,overIndex:Ye,index:ge}):null,_a=ce(tn)&&ce(Ye)?vn({id:qt,items:Cn,activeIndex:tn,overIndex:Ye}):ge,Xr=Xn==null?void 0:Xn.id,Da=(0,ne.useRef)({activeId:Xr,items:Cn,newIndex:_a,containerId:Sn}),Mi=Cn!==Da.current.items,Si=en({active:Xn,containerId:Sn,isDragging:Qt,isSorting:ur,id:qt,index:ge,items:Cn,newIndex:Da.current.newIndex,previousItems:Da.current.items,previousContainerId:Da.current.containerId,transition:nn,wasDragging:Da.current.activeId!=null}),zi=yt({disabled:!Si,index:ge,node:En,rect:xt});return(0,ne.useEffect)(()=>{ur&&Da.current.newIndex!==_a&&(Da.current.newIndex=_a),Sn!==Da.current.containerId&&(Da.current.containerId=Sn),Cn!==Da.current.items&&(Da.current.items=Cn)},[ur,_a,Sn,Cn]),(0,ne.useEffect)(()=>{if(Xr===Da.current.activeId)return;if(Xr&&!Da.current.activeId){Da.current.activeId=Xr;return}const Tn=setTimeout(()=>{Da.current.activeId=Xr},50);return()=>clearTimeout(Tn)},[Xr]),{active:Xn,activeIndex:tn,attributes:yn,data:se,rect:xt,index:ge,newIndex:_a,items:Cn,isOver:un,isSorting:ur,isDragging:Qt,listeners:On,node:En,overIndex:Ye,over:Dr,setNodeRef:Ir,setActivatorNodeRef:jt,setDroppableNodeRef:Pn,setDraggableNodeRef:Kn,transform:zi!=null?zi:Fa,transition:fi()};function fi(){if(zi||Mi&&Da.current.newIndex===ge)return Je;if(!(aa&&!(0,Me.vd)(_n)||!nn)&&(ur||Si))return Me.ux.Transition.toString(tu(ql({},nn),{property:$e}))}}function Be(Bt,en){var ct,Ie;return typeof Bt=="boolean"?{draggable:Bt,droppable:!1}:{draggable:(ct=Bt==null?void 0:Bt.draggable)!=null?ct:en.draggable,droppable:(Ie=Bt==null?void 0:Bt.droppable)!=null?Ie:en.droppable}}function mt(Bt){if(!Bt)return!1;const en=Bt.data.current;return!!(en&&"sortable"in en&&typeof en.sortable=="object"&&"containerId"in en.sortable&&"items"in en.sortable&&"index"in en.sortable)}const ze=[de.g4.Down,de.g4.Right,de.g4.Up,de.g4.Left],ut=(Bt,en)=>{let{context:{active:ct,collisionRect:Ie,droppableRects:Mt,droppableContainers:vn,over:qt,scrollableAncestors:Nt}}=en;if(ze.includes(Bt.code)){if(Bt.preventDefault(),!ct||!Ie)return;const Kt=[];vn.getEnabled().forEach(Sn=>{if(!Sn||Sn!=null&&Sn.disabled)return;const tn=Mt.get(Sn.id);if(tn)switch(Bt.code){case KeyboardCode.Down:Ie.top<tn.top&&Kt.push(Sn);break;case KeyboardCode.Up:Ie.top>tn.top&&Kt.push(Sn);break;case KeyboardCode.Left:Ie.left>tn.left&&Kt.push(Sn);break;case KeyboardCode.Right:Ie.left<tn.left&&Kt.push(Sn);break}});const nn=closestCorners({active:ct,collisionRect:Ie,droppableRects:Mt,droppableContainers:Kt,pointerCoordinates:null});let Cn=getFirstCollision(nn,"id");if(Cn===(qt==null?void 0:qt.id)&&nn.length>1&&(Cn=nn[1].id),Cn!=null){const Sn=vn.get(ct.id),tn=vn.get(Cn),In=tn?Mt.get(tn.id):null,br=tn==null?void 0:tn.node.current;if(br&&In&&Sn&&tn){const Ye=getScrollableAncestors(br).some((je,xt)=>Nt[xt]!==je),ve=rt(Sn,tn),he=Tt(Sn,tn),be=Ye||!ve?{x:0,y:0}:{x:he?Ie.width-In.width:0,y:he?Ie.height-In.height:0},ge={x:In.left,y:In.top};return be.x&&be.y?ge:subtract(ge,be)}}}};function rt(Bt,en){return!mt(Bt)||!mt(en)?!1:Bt.data.current.sortable.containerId===en.data.current.sortable.containerId}function Tt(Bt,en){return!mt(Bt)||!mt(en)||!rt(Bt,en)?!1:Bt.data.current.sortable.index<en.data.current.sortable.index}},24285:function(Hn,sn,ee){"use strict";ee.d(sn,{$X:function(){return ye},D9:function(){return Ee},DC:function(){return ht},Ey:function(){return pt},FJ:function(){return et},Gj:function(){return ot},HB:function(){return de},IH:function(){return st},Jj:function(){return ke},LI:function(){return Xe},Ld:function(){return Rt},Nq:function(){return Me},Re:function(){return Se},UG:function(){return we},Yz:function(){return Ge},qk:function(){return ce},r3:function(){return Pe},so:function(){return Be},ux:function(){return yt},vZ:function(){return me},vd:function(){return $e},wm:function(){return vt},zX:function(){return fe}});var ne=ee(67294);function de(){for(var mt=arguments.length,ze=new Array(mt),ut=0;ut<mt;ut++)ze[ut]=arguments[ut];return(0,ne.useMemo)(()=>rt=>{ze.forEach(Tt=>Tt(rt))},ze)}const Me=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function et(mt){const ze=Object.prototype.toString.call(mt);return ze==="[object Window]"||ze==="[object global]"}function we(mt){return"nodeType"in mt}function ke(mt){var ze,ut;return mt?et(mt)?mt:we(mt)&&(ze=(ut=mt.ownerDocument)==null?void 0:ut.defaultView)!=null?ze:window:window}function ce(mt){const{Document:ze}=ke(mt);return mt instanceof ze}function Se(mt){return et(mt)?!1:mt instanceof ke(mt).HTMLElement}function me(mt){return mt instanceof ke(mt).SVGElement}function Pe(mt){return mt?et(mt)?mt.document:we(mt)?ce(mt)?mt:Se(mt)||me(mt)?mt.ownerDocument:document:document:document}const Xe=Me?ne.useLayoutEffect:ne.useEffect;function fe(mt){const ze=(0,ne.useRef)(mt);return Xe(()=>{ze.current=mt}),(0,ne.useCallback)(function(){for(var ut=arguments.length,rt=new Array(ut),Tt=0;Tt<ut;Tt++)rt[Tt]=arguments[Tt];return ze.current==null?void 0:ze.current(...rt)},[])}function Ge(){const mt=(0,ne.useRef)(null),ze=(0,ne.useCallback)((rt,Tt)=>{mt.current=setInterval(rt,Tt)},[]),ut=(0,ne.useCallback)(()=>{mt.current!==null&&(clearInterval(mt.current),mt.current=null)},[]);return[ze,ut]}function pt(mt,ze){ze===void 0&&(ze=[mt]);const ut=(0,ne.useRef)(mt);return Xe(()=>{ut.current!==mt&&(ut.current=mt)},ze),ut}function ot(mt,ze){const ut=(0,ne.useRef)();return(0,ne.useMemo)(()=>{const rt=mt(ut.current);return ut.current=rt,rt},[...ze])}function vt(mt){const ze=fe(mt),ut=(0,ne.useRef)(null),rt=(0,ne.useCallback)(Tt=>{Tt!==ut.current&&(ze==null||ze(Tt,ut.current)),ut.current=Tt},[]);return[ut,rt]}function Ee(mt){const ze=(0,ne.useRef)();return(0,ne.useEffect)(()=>{ze.current=mt},[mt]),ze.current}let wt={};function Rt(mt,ze){return(0,ne.useMemo)(()=>{if(ze)return ze;const ut=wt[mt]==null?0:wt[mt]+1;return wt[mt]=ut,mt+"-"+ut},[mt,ze])}function tt(mt){return function(ze){for(var ut=arguments.length,rt=new Array(ut>1?ut-1:0),Tt=1;Tt<ut;Tt++)rt[Tt-1]=arguments[Tt];return rt.reduce((Bt,en)=>{const ct=Object.entries(en);for(const[Ie,Mt]of ct){const vn=Bt[Ie];vn!=null&&(Bt[Ie]=vn+mt*Mt)}return Bt},ql({},ze))}}const st=tt(1),ye=tt(-1);function ue(mt){return"clientX"in mt&&"clientY"in mt}function $e(mt){if(!mt)return!1;const{KeyboardEvent:ze}=ke(mt.target);return ze&&mt instanceof ze}function Je(mt){if(!mt)return!1;const{TouchEvent:ze}=ke(mt.target);return ze&&mt instanceof ze}function ht(mt){if(Je(mt)){if(mt.touches&&mt.touches.length){const{clientX:ze,clientY:ut}=mt.touches[0];return{x:ze,y:ut}}else if(mt.changedTouches&&mt.changedTouches.length){const{clientX:ze,clientY:ut}=mt.changedTouches[0];return{x:ze,y:ut}}}return ue(mt)?{x:mt.clientX,y:mt.clientY}:null}const yt=Object.freeze({Translate:{toString(mt){if(!mt)return;const{x:ze,y:ut}=mt;return"translate3d("+(ze?Math.round(ze):0)+"px, "+(ut?Math.round(ut):0)+"px, 0)"}},Scale:{toString(mt){if(!mt)return;const{scaleX:ze,scaleY:ut}=mt;return"scaleX("+ze+") scaleY("+ut+")"}},Transform:{toString(mt){if(mt)return[yt.Translate.toString(mt),yt.Scale.toString(mt)].join(" ")}},Transition:{toString(mt){let{property:ze,duration:ut,easing:rt}=mt;return ze+" "+ut+"ms "+rt}}}),Fe="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Be(mt){return mt.matches(Fe)?mt:mt.querySelector(Fe)}},71749:function(){"use strict"},30483:function(){"use strict"},71736:function(Hn,sn){"use strict";sn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},39886:function(Hn,sn){"use strict";sn.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},57971:function(Hn,sn,ee){"use strict";var ne=ee(67294),de=Object.defineProperty,Me=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ke=(me,Pe,Xe)=>Pe in me?de(me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):me[Pe]=Xe,ce=(me,Pe)=>{for(var Xe in Pe||(Pe={}))et.call(Pe,Xe)&&ke(me,Xe,Pe[Xe]);if(Me)for(var Xe of Me(Pe))we.call(Pe,Xe)&&ke(me,Xe,Pe[Xe]);return me};const Se=me=>React.createElement("svg",ce({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},me),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));sn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},36913:function(Hn,sn,ee){"use strict";var ne=ee(67294),de=Object.defineProperty,Me=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ke=(me,Pe,Xe)=>Pe in me?de(me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):me[Pe]=Xe,ce=(me,Pe)=>{for(var Xe in Pe||(Pe={}))et.call(Pe,Xe)&&ke(me,Xe,Pe[Xe]);if(Me)for(var Xe of Me(Pe))we.call(Pe,Xe)&&ke(me,Xe,Pe[Xe]);return me};const Se=me=>React.createElement("svg",ce({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},me),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));sn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},61016: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 Hn={},sn="5.0",ee={},ne=null,de=!1,Me=!1,et=null,we=!1,ke=null,ce=null,Se=0;Se<arguments.length;Se++){var me=arguments[Se];if(me!==null)switch(typeof me){case"number":sn=me.toFixed(1);break;case"string":me.match(new RegExp("^[0-9]\\.[0-9]+$"))?sn=me:et=me;break;case"object":typeof me.is3D!="undefined"?ne=me:ee=me;break;case"boolean":de=me,Me=!0;break}}ne===null&&(ne={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!Me&&(de=!0)),et!==null&&ee.id===void 0&&(ee.id=et);var Pe="",Xe="",fe=!1,Ge=null,pt=null,ot=null,vt=!1,Ee=null,wt=null,Rt=null,tt=null,st=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var ye=function(Nt){return parseFloat(Nt)>4?parseFloat(Nt):5};Hn.setHTML5Codebase=function(Nt,Kt){ce=Nt,Mt(Nt,Kt)},Hn.setJavaCodebase=Hn.setJavaCodebaseVersion=Hn.isCompiledInstalled=Hn.setPreCompiledScriptPath=Hn.setPreCompiledResourcePath=function(){},Hn.setHTML5CodebaseVersion=function(Nt,Kt){var nn=parseFloat(Nt);if(nn!==NaN&&nn<5){console.log("The GeoGebra HTML5 codebase version "+nn+" is deprecated. Using version latest instead.");return}ke=Nt,Ie(Nt,Kt)},Hn.getHTML5CodebaseVersion=function(){return pt},Hn.getParameters=function(){return ee},Hn.setFontsCSSURL=function(Nt){tt=Nt},Hn.setGiacJSURL=function(Nt){},Hn.setJNLPFile=function(Nt){Pe=Nt},Hn.setJNLPBaseDir=function(Nt){},Hn.inject=function(){function Nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Kt="auto",nn=ee.id,Cn,Sn=!1,tn=0;tn<arguments.length;tn++){var In=arguments[tn];typeof In=="string"?(In=In.toLowerCase(),In.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Kt=In:nn=arguments[tn]):typeof In=="boolean"?Sn=In:In instanceof HTMLElement&&(Cn=In)}br();function br(){if(!we){setTimeout(br,200);return}Kt=en(Kt);var gn=Cn||document.getElementById(nn);if(!gn){console.log("possibly bug on ajax loading? ");return}if(Hn.removeExistingApplet(gn,!1),ee.width===void 0&&gn.clientWidth&&(ee.width=gn.clientWidth),ee.height===void 0&&gn.clientHeight&&(ee.height=gn.clientHeight),!(ee.width&&ee.height)&&Kt==="html5"&&(delete ee.width,delete ee.height),Ge=Kt,Kt==="screenshot")ze(gn,ee);else{var Ye=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?Ye=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(Ye=(!ue()||Nt())&&$e()),Ye?(Ge="screenshot",rt(gn,ee,Sn,Kt)):mt(gn,ee,Sn)}}};function ue(){try{return window.self!==window.top}catch(Nt){return!0}}function $e(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Hn.getViews=function(){return ne},Hn.isJavaInstalled=function(){return!1};var Je=function(Nt){var Kt=function(tn){var In=JSON.parse(tn),br=function(ve){return ve.type=="G"||ve.type=="E"},gn=In.elements?In.elements.filter(br)[0]:In;if(!gn||!gn.url){nn();return}ee.fileName=gn.url,ht(gn.settings||{}),ne.is3D=!0;var Ye="https://www.geogebra.org/images/";Hn.setPreviewImage(Ee||gn.previewUrl,Ye+"GeoGebra_loading.png",Ye+"applet_play.png"),Nt()},nn=function(){ee.onError&&ee.onError(),vn("Error: Fetching material (id "+ee.material_id+") failed.",ee)},Cn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Sn="/materials/"+ee.material_id+"?scope=basic";yt("https://"+Cn+"/api/proxy.php?path="+encodeURIComponent(Sn),Kt,nn)};function ht(Nt){var Kt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(nn){Nt[nn]=!!Nt[nn]}),Kt.forEach(function(nn){ee[nn]===void 0&&Nt[nn]!==void 0&&(ee[nn]=Nt[nn])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function yt(Nt,Kt,nn){var Cn=new XMLHttpRequest;Cn.open("GET",Nt),Cn.onload=function(){Kt(Cn.responseText)},Cn.onerror=nn,Cn.send()}Hn.isHTML5Installed=function(){return!0},Hn.getLoadedAppletType=function(){return Ge},Hn.setPreviewImage=function(Nt,Kt,nn){Ee=Nt,wt=Kt,Rt=nn},Hn.removeExistingApplet=function(Nt,Kt){var nn;typeof Nt=="string"&&(Nt=document.getElementById(Nt)),Ge=null;var Cn=null;for(nn=0;nn<Nt.childNodes.length;nn++){var Sn=Nt.childNodes[nn],tn=Sn.className;tn==="applet_screenshot"?Kt?(Sn.style.display="block",Ge="screenshot"):Sn.style.display="none":tn!=="applet_scaler prerender"&&(Nt.removeChild(Sn),Cn=tn&&tn.indexOf("appletParameters")!=-1?Sn.id:null,nn--)}var In=ee.id!==void 0?ee.id:Cn,br=window[In];br&&typeof br.getBase64=="function"&&(br.remove(),window[In]=null)},Hn.refreshHitPoints=function(){if(ye(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Nt=Hn.getAppletObject();return Nt&&typeof Nt.recalculateEnvironments=="function"?(Nt.recalculateEnvironments(),!0):!1},Hn.startAnimation=function(){var Nt=Hn.getAppletObject();return Nt&&typeof Nt.startAnimation=="function"?(Nt.startAnimation(),!0):!1},Hn.stopAnimation=function(){var Nt=Hn.getAppletObject();return Nt&&typeof Nt.stopAnimation=="function"?(Nt.stopAnimation(),!0):!1},Hn.getAppletObject=function(){var Nt=ee.id!==void 0?ee.id:"ggbApplet";return window[Nt]},Hn.resize=function(){};var Fe=function(Nt,Kt,nn){var Cn=document.createElement("param");Cn.setAttribute("name",Kt),Cn.setAttribute("value",nn),Nt.appendChild(Cn)},Be=function(Nt){return Nt&&Nt!=="false"},mt=function(Nt,Kt,nn){ye(pt)<=4.2&&(nn=!0);var Cn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==pt||ggbHTML5LoadedCodebaseIsWebSimple&&!vt)&&(Cn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Sn=document.createElement("div");Sn.classList.add("appletParameters","notranslate");var tn=Kt.width,In=Kt.height;if(Kt.disableAutoScale=Kt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Kt.disableAutoScale,Kt.width!==void 0)if(ye(pt)<=4.4)Be(Kt.showToolBar)&&(Kt.height-=7),Be(Kt.showAlgebraInput)&&(Kt.height-=37),Kt.width<605&&Be(Kt.showToolBar)&&(Kt.width=605,tn=605);else{var br=100;(Be(Kt.showToolBar)||Be(Kt.showMenuBar))&&(Kt.hasOwnProperty("customToolBar")&&(Kt.customToolbar=Kt.customToolBar),br=Be(Kt.showMenuBar)?245:155),tn<br&&(Kt.width=br,tn=br)}Sn.style.border="none",Sn.style.display="inline-block";for(var gn in Kt)Kt.hasOwnProperty(gn)&&gn!=="appletOnLoad"&&Sn.setAttribute("data-param-"+gn,Kt[gn]);tt&&Sn.setAttribute("data-param-fontscssurl",tt),Hn.resize=function(){GGBAppletUtils.responsiveResize(Nt,Kt)},window.addEventListener("resize",function(_n){Hn.resize()});var Ye=typeof Kt.appletOnLoad=="function"?Kt.appletOnLoad:function(){};if(!nn&&Kt.width!==void 0){Kt.hasOwnProperty("showSplash")||Sn.setAttribute("data-param-showSplash","false");var ve=Nt.querySelector(".applet_scaler.prerender"),he=ve!==null;if(he)var be=ve.querySelector(".ggb_preview");else{var be=Bt(tn,In,Kt.borderColor,!1);ve=document.createElement("div"),ve.className="applet_scaler",ve.style.position="relative",ve.style.display="block",ve.style.width=tn+"px",ve.style.height=In+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ve,"66%"),ye(pt)>=5?(Kt.appletOnLoad=function(_n){var Vt=Nt.querySelector(".ggb_preview");Vt&&Vt.parentNode.removeChild(Vt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ve),window.GGBT_wsf_view&&$(window).trigger("resize"),Ye(_n)},he||ve.appendChild(be)):Sn.appendChild(be),ve.appendChild(Sn),he||Nt.appendChild(ve),setTimeout(function(){Hn.resize()},1)}else{var ge=document.createElement("div");ge.className="applet_scaler",ge.style.position="relative",ge.style.display="block",ge.appendChild(Sn),Nt.appendChild(ge),Kt.appletOnLoad=function(_n){Hn.resize(),Ye(_n)}}function se(_n,Vt){Vt&&typeof Vt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(_n,Vt.appletOnLoad):renderGGBElement(_n),vn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Vt)}function je(_n,Vt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:_n,params:Vt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(yn){se(yn.article,yn.params)}),html5AppletsToProcess=null)},ye(pt)<5&&(_n.className+=" geogebraweb")):se(_n,Vt)}if(Cn){scriptLoadStarted=!0;for(var xt=0;xt<Sn.childNodes.length;xt++){var En=Sn.childNodes[xt].tagName;En==="TABLE"&&(Sn.removeChild(Sn.childNodes[xt]),xt--)}if(ggbHTML5LoadedScript!==null){var un=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');un!=null&&un.parentNode.removeChild(un)}var Pn=document.createElement("script"),Xn=function(){je(Sn,Kt)};Pn.src=Xe+ot,ggbHTML5LoadedCodebaseIsWebSimple=vt,ggbHTML5LoadedCodebaseVersion=pt,ggbHTML5LoadedScript=Pn.src,vn("GeoGebra HTML5 codebase loaded: '"+Xe+"'.",Kt),!ce&&(!ke||ke=="5.0")?(vt?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Xn()):Xe.requirejs?__webpack_require__.e(12).then(function(){var _n=[__webpack_require__(12)];Xn.apply(null,_n)}.bind(this)).catch(__webpack_require__.oe):(Pn.onload=Xn,Nt.appendChild(Pn))}else je(Sn,Kt);Kt.height=In,Kt.width=tn},ze=function(Nt,Kt,nn){var Cn=Bt(Kt.width,Kt.height,Kt.borderColor,nn),Sn=document.createElement("div");Sn.style.position="relative",Sn.style.display="block",Sn.style.width=Kt.width+"px",Sn.style.height=Kt.height+"px",Sn.className="applet_screenshot applet_scaler"+(nn?" applet_screenshot_play":""),Sn.appendChild(Cn);var tn=GGBAppletUtils.getScale(Kt,Nt,nn);nn?(Nt.appendChild(Tt()),window.GGBT_wsf_view||(Nt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Sn,"66%"),Nt.appendChild(Sn),tn!==1&&!isNaN(tn)&&(GGBAppletUtils.scaleElement(Sn,tn),Sn.style.width=Kt.width+"px",Sn.style.height=Kt.height+"px",Sn.parentNode.style.width=Kt.width*tn+"px",Sn.parentNode.style.height=Kt.height*tn+"px"),Hn.resize=function(){ut(Nt,Cn,Sn,nn)},window.addEventListener("resize",function(In){Hn.resize()}),Hn.resize()};function ut(Nt,Kt,nn,Cn){if(Nt.contains(Kt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Nt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Nt)}var Sn=GGBAppletUtils.getScale(ee,Nt,Cn);nn.parentNode!==null&&(!isNaN(Sn)&&Sn!==1?(GGBAppletUtils.scaleElement(nn,Sn),nn.parentNode.style.width=ee.width*Sn+"px",nn.parentNode.style.height=ee.height*Sn+"px"):(GGBAppletUtils.scaleElement(nn,1),nn.parentNode.style.width=ee.width+"px",nn.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Nt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Hn.onExitFullscreen=function(Nt,Kt){Kt.appendChild(Nt)};var rt=function(Nt,Kt,nn,Cn){ze(Nt,Kt,!0);for(var Sn=function(){var br=[];for(In=0;In<Nt.childNodes.length;In++)br.push(Nt.childNodes[In]);if(window.GGBT_wsf_view){var gn=window.GGBT_wsf_view.renderFullScreen(Nt,Kt.id),Ye=document.getElementById("fullscreencontainer"),ve=jQuery(Nt).find(".fullscreencontent");ve.length>0?(gn.remove(),ve.attr("id","fullscreencontent").show(),jQuery(Ye).append(ve),window.dispatchEvent(new Event("resize"))):mt(gn,Kt,!1),window.GGBT_wsf_view.launchFullScreen(Ye)}else Ge=Cn,mt(Nt,Kt,!1);if(!window.GGBT_wsf_view)for(In=0;In<br.length;In++)Nt.removeChild(br[In])},tn=Nt.getElementsByClassName("ggb_preview_play"),In=0;In<tn.length;In++)tn[In].addEventListener("click",Sn,!1),tn[In].addEventListener("ontouchstart",Sn,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Nt),$e()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Tt=function(){var Nt=document.createElement("div");if(Nt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Kt='.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");}',nn=document.createElement("style");nn.styleSheet?nn.styleSheet.cssText=Kt:nn.appendChild(document.createTextNode(Kt)),document.getElementsByTagName("head")[0].appendChild(nn)}return Nt},Bt=function(Nt,Kt,nn,Cn){var Sn=document.createElement("div");Sn.className="ggb_preview",Sn.style.position="absolute",Sn.style.zIndex="90",Sn.style.width=Nt-2+"px",Sn.style.height=Kt-2+"px",Sn.style.top="0px",Sn.style.left="0px",Sn.style.overflow="hidden",Sn.style.backgroundColor="white";var tn="lightgrey";nn!==void 0&&(nn==="none"?tn="transparent":tn=nn),Sn.style.border="1px solid "+tn;var In=document.createElement("img");if(In.style.position="relative",In.style.zIndex="1000",In.style.top="-1px",In.style.left="-1px",Ee!==null&&In.setAttribute("src",Ee),In.style.opacity=.7,wt!==null){var br,gn,Ye;if(!Cn){br=document.createElement("img"),br.style.position="absolute",br.style.zIndex="1001",br.style.opacity=1,In.style.opacity=.3,gn=360,gn>Nt/4*3&&(gn=Nt/4*3),Ye=gn/5.8,br.setAttribute("src",wt),br.setAttribute("width",gn),br.setAttribute("height",Ye);var ve=(Nt-gn)/2,he=(Kt-Ye)/2;br.style.left=ve+"px",br.style.top=he+"px",Sn.appendChild(br)}}return Sn.appendChild(In),Sn},en=function(Nt){return Nt=Nt.toLowerCase(),Nt==="html5"||Nt==="screenshot"?Nt:"html5"},ct=["web","webSimple","web3d","tablet","tablet3d","phone"],Ie=function(Nt,Kt){if(pt=Nt,Kt){Mt(pt,!0);return}var nn=!de;if(nn){var Cn=ye(pt);!isNaN(Cn)&&Cn<4.4&&(nn=!1)}var Sn,tn;window.location.protocol.substr(0,4)==="http"?Sn=window.location.protocol:Sn="http:";var In=pt.indexOf("//");In>0?tn=pt:In===0?tn=Sn+pt:tn="https://www.geogebra.org/apps/5.2.814.0/";for(var br in ct)if(pt.slice(ct[br].length*-1)===ct[br]||pt.slice((ct[br].length+1)*-1)===ct[br]+"/"){Mt(tn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&nn&&!ne.is3D&&!ne.AV&&!ne.SV&&!ne.CV&&!ne.EV2&&!ne.CP&&!ne.PC&&!ne.DA&&!ne.FI&&!ne.PV&&!Be(ee.showToolBar)&&!Be(ee.showMenuBar)&&!Be(ee.showAlgebraInput)&&!Be(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?tn+="webSimple/":tn+="web3d/",Mt(tn,!1)},Mt=function(Nt,Kt){if(Nt.requirejs){Xe=Nt;return}Nt.slice(-1)!=="/"&&(Nt+="/"),Xe=Nt,Kt===null&&(Kt=Nt.indexOf("http")===-1),fe=Kt,ot="web.nocache.js",vt=!1;var nn=Xe.split("/");nn.length>1&&(!Kt&&nn[nn.length-2]==="webSimple"?(ot="webSimple.nocache.js",vt=!0):ct.indexOf(nn[nn.length-2])>=0&&(ot=nn[nn.length-2]+".nocache.js")),nn=Nt.split("/"),pt=nn[nn.length-3],pt.substr(0,4)==="test"?pt=pt.substr(4,1)+"."+pt.substr(5,1):(pt.substr(0,3)==="war"||pt.substr(0,4)==="beta")&&(pt="5.0");var Cn=parseFloat(pt);Cn!==NaN&&Cn<5&&Nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Cn+" is deprecated. Using version latest instead."),Ie("5.0",Kt))},vn=function(Nt,Kt){window.console&&window.console.log&&(!Kt||typeof Kt.showLogging=="undefined"||Kt.showLogging&&Kt.showLogging!=="false")&&console.log(Nt)};ee.material_id!==void 0?Je(qt):qt();function qt(){var Nt=sn;ke!==null?Nt=ke:parseFloat(Nt)<5&&(Nt="5.0"),Ie(Nt,!1),ce!==null&&Mt(ce,fe),we=!0}return Hn},GGBAppletUtils=function(){"use strict";function Hn(){return window.GGBT_wsf_edit!==void 0}function sn(we,ke){ke!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+ke+","+ke+")",we.style.webkitTransform="scale("+ke+","+ke+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function ee(we,ke,ce,Se,me,Pe){var Xe=null;if(Pe!=null&&Pe!="")for(var fe=we.parentNode;fe!=null;)if((" "+fe.className+" ").indexOf(" "+Pe+" ")>-1){Xe=fe;break}else fe=fe.parentNode;var Ge=0,pt=0,ot=0,vt=0,Ee=0,wt=0,Rt=0;if(Xe)Ge=Xe.offsetWidth,pt=Math.max(Se?Xe.offsetWidth:0,Xe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ge=Math.min(window.innerWidth,document.documentElement.clientWidth),pt=Math.min(window.innerHeight,document.documentElement.clientHeight),ot=Ge):(Ge=window.innerWidth,pt=window.innerHeight,ot=window.innerWidth),we){var tt=we.getBoundingClientRect();tt.left>0&&tt.left<=Ge&&(me===void 0||!me)&&(document.dir==="rtl"?(Ee=Ge-tt.width-tt.left,wt=ot<=480?10:30):(wt=tt.left,Ee=ot<=480?10:30),vt=wt+Ee)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var st=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(vt=40,Rt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(vt=0,Rt=40)}}return we&&((ce===void 0||!ce)&&ke>0&&ke+vt<Ge?Ge=ke:Ge-=vt,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce===void 0||!ce)&&(pt-=Rt)),{width:Ge,height:pt}}function ne(we,ke,ce,Se,me){if(we.isScreenshoGenerator)return 1;var Pe=Se!==void 0&&Se,Xe=we.noScaleMargin!=null&&we.noScaleMargin,fe=function(st){return st&&st!=="false"},Ge=fe(we.autoHeight),pt=ee(ke,we.width,ce,Ge,Pe&&window.GGBT_wsf_view||Xe,me),ot=parseInt(pt.width),vt=we.width,Ee=we.height;if(vt===void 0){var wt=ke.querySelector(".appletParameters");wt&&(vt=wt.offsetWidth,Ee=wt.offsetHeight)}var Rt=ot/vt,tt=Pe?1:pt.height/Ee;return ce!==void 0&&!ce&&(Rt=Math.min(1,Rt),tt=Math.min(1,tt)),Math.min(Rt,tt)}function de(we,ke,ce){var Se=1,me,Pe=!1;if(we.hasOwnProperty("allowUpscale")&&(Pe=we.allowUpscale),we.hasOwnProperty("scale")&&(Se=parseFloat(we.scale),(isNaN(Se)||Se===null||Se===0)&&(Se=1),Se>1&&(Pe=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Pe=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))me=ne(we,ke,Pe,ce,we.scaleContainerClass);else return Se;return Pe&&(!we.hasOwnProperty("scale")||Se===1)?me:Math.min(Se,me)}function Me(we){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),ce=Math.min(window.innerHeight,document.documentElement.clientHeight),Se=we.getBoundingClientRect(),me=(ke-Se.width)/2,Pe=(ce-Se.height)/2;Pe<0&&(Pe=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(me<40?we.style.left="40px":we.style.left=me+"px",we.style.top=Pe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Pe<40?we.style.top="40px":we.style.top=Pe+"px",we.style.left=me+"px")}function et(we,ke){var ce=we.querySelector(".appletParameters");if(ce){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==ce.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(ce.parentElement&&/fullscreen/.test(ce.parentElement.className))return;var Se=de(ke,we);Hn()&&ce.setAttribute("data-param-scale",Se);for(var me=null,Pe=0;Pe<we.childNodes.length;Pe++)if(we.childNodes[Pe].className!==void 0&&we.childNodes[Pe].className.match(/^applet_scaler/)){me=we.childNodes[Pe];break}if(me!==null&&me.querySelector(".noscale")!==null)return;var Xe=ke.id!==void 0?ke.id:"ggbApplet",fe=window[Xe];(fe==null||!fe.recalculateEnvironments)&&me!==null&&!me.className.match(/fullscreen/)&&(me.parentNode.style.transform="",!isNaN(Se)&&Se!==1?(me.parentNode.style.width=ke.width*Se+"px",me.parentNode.style.height=ke.height*Se+"px",sn(me,Se)):(sn(me,1),me.parentNode.style.width=ke.width+"px",me.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Me(we),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ce).parents(".content-added-content"))}}return{responsiveResize:et,isFlexibleWorksheetEditor:Hn,positionCenter:Me,getScale:de,scaleElement:sn}}();__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 Hn=n.location.search;return Hn.indexOf(J)!=-1||Hn.indexOf(K)!=-1}function q(Hn,sn){}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(Hn){var sn=s[L].bindings;s[L].bindings=function(){for(var ee=sn?sn():{},ne=Hn[webModule.__softPermutationId],de=O;de<ne.length;de++){var Me=ne[de];ee[Me[O]]=Me[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var Hn=o.createElement(Q);if(Hn.id=L,Hn.style.cssText=R+S,Hn.tabIndex=-1,o.body.appendChild(Hn),t=Hn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var sn=document.compatMode==U?V:W;t.write(sn+X),t.close()}}}function w(Hn){function sn(ne){function de(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Me=de();if(Me){ne();return}function et(){if(!Me){if(!de())return;Me=!0,ne(),o.removeEventListener&&o.removeEventListener(Z,et,!1),we&&clearInterval(we)}}o.addEventListener&&o.addEventListener(Z,et,!1);var we=setInterval(function(){et()},$)}function ee(ne){var de=u(),Me=de.body,et=de.createElement(_);et.language=ab,et.crossOrigin=W,et.src=ne,webModule.__errFn&&(et.onerror=function(){webModule.__errFn(L,new Error(bb+ne))}),Me.appendChild(et)}sn(function(){ee(Hn)})}webModule.__startLoadingFragment=function(Hn){return C(Hn)},webModule.__installRunAsyncCode=function(Hn){var sn=u(),ee=sn.body,ne=sn.createElement(_);ne.language=ab,ne.text=Hn,ee.appendChild(ne),ee.removeChild(ne)};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(Hn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Hn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Hn){var sn=c[Hn];return sn==null?null:sn},r=d,webModule.__errFn=e}function B(){function Hn(we){var ke=we.lastIndexOf(rb);ke==-1&&(ke=we.length);var ce=we.indexOf(sb);ce==-1&&(ce=we.length);var Se=we.lastIndexOf(tb,Math.min(ce,ke));return Se>=O?we.substring(O,Se+P):W}function sn(we){if(!we.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=we+vb,we=Hn(ke.src)}return we}function ee(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function ne(){for(var we=o.getElementsByTagName(_),ke=O;ke<we.length;++ke)if(we[ke].src.indexOf(xb)!=-1)return Hn(we[ke].src);return W}function de(){var we=o.getElementsByTagName(yb);return we.length>O?we[we.length-P].href:W}function Me(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var et=ee();return et==W&&(et=ne()),et==W&&(et=de()),et==W&&Me()&&(et=Hn(o.location.href)),et=sn(et),et}function C(Hn){return Hn.match(/^\//)||Hn.match(/^[a-zA-Z]+:\/\//)?Hn:webModule.__moduleBase+Hn}function D(){var Hn=[],sn=O,ee=[],ne=[];function de(we){var ke=ne[we](),ce=ee[we];if(ke in ce)return ke;var Se=[];for(var me in ce)Se[ce[me]]=me;throw r&&r(we,Se,ke),null}if(__gwt_isKnownPropertyValue=function(we,ke){return ke in ee[we]},webModule.__getPropMap=function(){var we={};for(var ke in ee)ee.hasOwnProperty(ke)&&(we[ke]=de(ke));return we},webModule.__computePropValue=de,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Me;try{Me=Cb;var et=Me.indexOf(Db);et!=-1&&(sn=parseInt(Me.substring(et+P),$),Me=Me.substring(O,et))}catch(we){}return webModule.__softPermutationId=sn,C(Me+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(Hn,sn,ee){"use strict";ee.d(sn,{Ax:function(){return et},Ds:function(){return we},KI:function(){return ce},SI:function(){return Me},f1:function(){return de}});var ne=ee(11320);function de(Se){let me=!0;if(Se.length>0){for(let Pe=0;Pe<Se.length;Pe++)if(Se[Pe].compile_success==0||!Se[Pe].compile_success){me=!1;break}}else me=!1;return me}function Me(Se,me=""){let Pe=[];for(let Xe=0;Xe<Se.length;Xe++){let fe=Se[Xe],Ge=me?`${me}/${fe.name}`:`${fe.name}`;Pe.push({title:fe.name,type:fe.type,isLeaf:fe.type!=="tree",key:Ge})}return Pe}function et(Se,me,Pe){for(let Xe=0;Xe<Se.length;Xe++){let fe=Se[Xe];if(fe.key===me){fe.children=Pe;break}fe.children&&et(fe.children,me,Pe)}return Se}function we(Se,me,Pe){let Xe;return function(){let fe=this,Ge=arguments,pt=function(){Xe=null,Pe||Se.apply(fe,Ge)},ot=Pe&&!Xe;clearTimeout(Xe),Xe=setTimeout(pt,me),ot&&Se.apply(fe,Ge)}}const ke=!0,ce=ne.Z.API_SERVER},63205:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Xe}});var ne=ee(67294),de={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Me=ee(94184),et=ee.n(Me),we=ee(57953),ke=ee(15979),ce=ee(33170),Se=ee(28706),me=(fe,Ge,pt)=>new Promise((ot,vt)=>{var Ee=tt=>{try{Rt(pt.next(tt))}catch(st){vt(st)}},wt=tt=>{try{Rt(pt.throw(tt))}catch(st){vt(st)}},Rt=tt=>tt.done?ot(tt.value):Promise.resolve(tt.value).then(Ee,wt);Rt((pt=pt.apply(fe,Ge)).next())}),Xe=({data:fe,className:Ge,fullWidth:pt,style:ot={},onClose:vt,onOk:Ee,showFullTools:wt,noAssociationId:Rt})=>{const tt=(0,ne.useRef)(null),st=(0,ne.useRef)(null),ye=(0,ne.useRef)(null),ue=(0,ne.useRef)(null),[$e,Je]=(0,ne.useState)(!1),[ht,yt]=(0,ne.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ne.useEffect)(()=>{ye.current||(ye.current=document.createElement("style"),document.head.appendChild(ye.current)),fe!=null&&fe.visible?(document.body.setAttribute("data-custom","y-hidden"),ye.current.innerHTML=" html { overflow-y: hidden; }",fe!=null&&fe.src&&Fe()):(document.body.removeAttribute("data-custom"),ye.current&&(document.head.removeChild(ye.current),ye.current=null))},[fe==null?void 0:fe.visible]);const Fe=()=>me(void 0,null,function*(){Je(!0),yt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const rt=yield(0,Se.ZJ)(fe==null?void 0:fe.src);tt.current.src="",tt.current.src=rt,tt.current.onload=function(){ut()},Je(!1),yt("")}),Be=()=>{document.body.removeAttribute("data-custom"),ye.current.innerHTML=" ",vt()},mt=rt=>me(void 0,null,function*(){Je(!0),yt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Tt=yield(0,ce.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:fe.title,file:rt.dataUrl}});Tt!=null&&Tt.id&&!Rt?(yield(0,ce.ZP)(`/api/attachments/${fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Tt==null?void 0:Tt.id,settings:JSON.stringify(rt.state)}})).status===0&&Ee():Tt!=null&&Tt.id&&Ee(Tt),document.body.removeAttribute("data-custom"),ye.current.innerHTML=" ",Je(!1),yt("")}),ze=()=>{const rt=document.querySelector('a[href="https://markerjs.com/"]');rt&&rt.parentNode&&(rt.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(Bt=>{const en=document.querySelector(Bt.name);en&&en.setAttribute("title",Bt.title)})},ut=()=>{st.current=new ke.hP(tt.current),st.current.targetRoot=ue.current,st.current.addEventListener("render",mt),st.current.addEventListener("beforeclose",Be),wt&&(st.current.availableMarkerTypes=st.current.ALL_MARKER_TYPES,st.current.uiStyleSettings.redoButtonVisible=!0,st.current.uiStyleSettings.notesButtonVisible=!0,st.current.uiStyleSettings.zoomButtonVisible=!0,st.current.uiStyleSettings.zoomOutButtonVisible=!0,st.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=st.current.uiStyleSettings,st.current.show(),fe!=null&&fe.snapshotData&&st.current.restoreState(fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ze()},300)};return ne.createElement(ne.Fragment,null,(fe==null?void 0:fe.visible)&&ne.createElement(we.Z,{spinning:$e,tip:ht,style:{position:"absolute"}},ne.createElement("div",{ref:ue,className:et()(de.imageDimensions,Ge,pt?de.fullWidth:""),style:ot},ne.createElement("img",{className:de.img,ref:tt}))))}},36527:function(Hn,sn,ee){"use strict";var ne=ee(67294),de=ee(71230),Me=ee(15746),et=ee(66368),we=ee(71577),ke=ee(35598),ce=ee(71736),Se=ee(84279),me=ee(67294);const Pe=(0,ne.forwardRef)(({callback:Xe,showSaveButton:fe,value:Ge=""},pt)=>{const ot=(0,ne.useRef)(),vt=[{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}`}]}]}],wt=st=>{ot.current.setValue(ot.current.getValue()+" "+st.value+" ")},Rt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:me.createElement(de.Z,{className:ce.Z.lists,gutter:[10,10]},vt.map((st,ye)=>me.createElement(Me.Z,{flex:"110px",className:ce.Z.item},me.createElement("div",null,me.createElement(ke.Z,{value:`$$${st.value}$$`}),st.name),me.createElement("div",{className:ce.Z.children},st.children.map((ue,$e)=>me.createElement("div",{key:$e},me.createElement("h1",null,ue.name),me.createElement(de.Z,{gutter:[10,10]},ue.data.map((Je,ht)=>me.createElement(Me.Z,{key:ht,onClick:()=>wt(Je),className:ce.Z.diamond},me.createElement(ke.Z,{value:"`$$"+Je.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:me.createElement(de.Z,{className:ce.Z.lists,gutter:[10,10]},Ee.map((st,ye)=>me.createElement(Me.Z,{flex:"110px",className:ce.Z.item},me.createElement("div",null,me.createElement(ke.Z,{value:"`$$"+st.value+"$$`"}),st.name),me.createElement("div",{className:ce.Z.children},st.children.map((ue,$e)=>me.createElement("div",{key:$e},ue.name&&me.createElement("h1",null,ue.name),me.createElement(de.Z,{gutter:[10,10]},ue.data.map((Je,ht)=>me.createElement(Me.Z,{key:ht,onClick:()=>wt(Je),className:ce.Z.diamond},me.createElement(ke.Z,{value:"`$$"+Je.value+"$$`"}))))))))))}],tt=()=>{var st=document.createElement("div");st.innerHTML=ot.current.getValue();var ye=st.innerText;return Xe&&Xe(ye),ye};return(0,ne.useImperativeHandle)(pt,()=>({getData:tt})),me.createElement("div",{className:ce.Z.mathWrap},me.createElement(et.default,{defaultActiveKey:"1",items:Rt}),me.createElement("math-field",{locale:"zh_cn",className:ce.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:ot,style:{width:800,marginTop:30,fontSize:18}},Ge||""),fe&&me.createElement("div",{className:ce.Z.button},me.createElement(we.ZP,{size:"large",onClick:tt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});sn.Z=Pe},39717:function(Hn,sn,ee){"use strict";ee.d(sn,{Q:function(){return ke}});var ne=ee(67294),de=ee(11713),Me=ee(78045),et=ee(31795),we=ee(67294),ke=(Se=>(Se[Se.Number=1]="Number",Se[Se.Percent=2]="Percent",Se))(ke||{});const ce=({value:Se,onChange:me,disabled:Pe,hidePercentOption:Xe=!1,percentType:fe="select"})=>{const Ge=(0,ne.useMemo)(()=>Xe?1:2,[Xe]),[pt,ot]=(0,ne.useState)(Ge);console.log(pt);const vt=wt=>Se.type===1?`${wt}\u5206`:`${wt}%`,Ee=(0,ne.useCallback)(wt=>{if(pt===1){const Rt=wt.replace("\u5206","");return isNaN(parseInt(Rt,10))?0:Rt}else return wt.replace("%","")},[pt]);return(0,ne.useEffect)(()=>{ot(Se.type)},[Se]),we.createElement("div",{style:{display:"flex",alignItems:"center"}},fe=="select"&&we.createElement(de.default,{size:"large",onChange:wt=>{ot(wt),me({type:wt,inputValue:wt===1?5:20})},value:pt||Ge,style:{width:100},options:Xe?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Pe}),fe=="radio"&&we.createElement(Me.ZP.Group,{size:"large",onChange:wt=>{const Rt=wt.target.value;ot(Rt),me({type:Rt,inputValue:Rt===1?5:20})},value:pt||Ge,disabled:Pe},!Xe&&we.createElement(Me.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),we.createElement(Me.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),fe=="radio"&&we.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Se.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),we.createElement(et.Z,{size:"large",disabled:Pe,value:Se.inputValue,style:{width:"120px"},parser:Ee,addonAfter:Se.type===1?"\u5206":"%",max:pt===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:wt=>{me({type:pt,inputValue:wt})}}),fe=="radio"&&Se.type==2&&we.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};sn.Z=ce},96332:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Se}});var ne=ee(67294),de={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Me=ee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PbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ke=(me,Pe,Xe)=>new Promise((fe,Ge)=>{var pt=Ee=>{try{vt(Xe.next(Ee))}catch(wt){Ge(wt)}},ot=Ee=>{try{vt(Xe.throw(Ee))}catch(wt){Ge(wt)}},vt=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(pt,ot);vt((Xe=Xe.apply(me,Pe)).next())}),Se=({type:me,resdata:Pe,onok:Xe,oktext:fe,okloading:Ge})=>{const[pt,ot]=(0,ne.useState)(!1),{can_copy_list:vt,can_copy_num:Ee,challenge_type:wt,course_data_list:Rt,no_copy_list:tt,no_copy_num:st,no_use_list:ye,no_use_num:ue,repeat_shixun_num:$e,student_count:Je,total_num:ht,use_num:yt}=Pe;let Fe=Ee>0||me==="exercise";(0,ne.useEffect)(()=>{(Pe==null?void 0:Pe.student_count)>0&&ot(!0)},[Pe]),console.log("---11",Ge),(0,ne.useEffect)(()=>{Ge||ot(!1)},[Ge]);const Be=()=>{if(me==="exercise"&&wt===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:de.orangeColor},Je),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:de.orangeColor},yt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(me==="exercise"&&wt===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:de.orangeColor},Je),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:de.orangeColor},yt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixun"&&wt===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:de.orangeColor},Je),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixun"&&wt===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:de.orangeColor},Je),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="subject"&&wt===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:de.orangeColor},Je),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:de.orangeColor},yt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="subject"&&wt===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ne.createElement("span",{className:de.orangeColor},Je)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ne.createElement("span",{className:de.orangeColor},yt)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="exercisepush")return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:de.orangeColor},Je),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ne.createElement("span",{className:de.orangeColor},yt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(me==="shixunpush"&&wt===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:de.orangeColor},Je),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:de.orangeColor},yt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixunpush"&&wt===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:de.orangeColor},Je),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ne.createElement("span",{className:de.orangeColor},yt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ne.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},mt=()=>{if(me==="exercise"||me==="subject"||me==="exercisepush"||me==="shixunpush")return ne.createElement("div",{style:{marginTop:20}},st>0&&ne.createElement("div",null,ne.createElement("span",{className:de.flex},ne.createElement("img",{src:we,style:{width:14}}),ne.createElement("span",{className:de.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ne.createElement("div",{className:de.statusbody},me==="exercise"&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:de.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(me==="subject"||me==="exercisepush")&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Fe&&ne.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),me==="shixunpush"&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Fe&&ne.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),ne.createElement("div",null,tt==null?void 0:tt.map((ze,ut)=>ne.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",ut+1!==st&&"\u3001"))))),Ee>0&&ne.createElement("div",{style:{marginTop:20}},ne.createElement("span",{className:de.flex},ne.createElement("img",{src:et,style:{width:14}}),ne.createElement("span",{className:de.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ne.createElement("div",{className:de.statusbody},me==="exercise"&&ne.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(me==="subject"||me==="exercisepush")&&ne.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),me==="shixunpush"&&ne.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),ne.createElement("div",null,vt==null?void 0:vt.map((ze,ut)=>ne.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",ut+1!==Ee&&"\u3001"))))));if(me==="shixun")return ne.createElement("div",{style:{marginTop:20}},Ee>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return ne.createElement(Me.default,{open:pt,onCancel:()=>{ot(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Fe&&"none"}},zIndex:1003,confirmLoading:Ge,okText:Fe?fe:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){Fe?yield Xe([...vt,...ye]):ot(!1)})},ne.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Be(),mt()))}},57444:function(Hn,sn,ee){"use strict";ee.d(sn,{h:function(){return st}});var ne=ee(67294),de=ee(11713),Me=ee(22150),et=ee(71577),we=ee(4631),ke=ee.n(we),ce=ee(71749),Se=ee(30483),me=Object.defineProperty,Pe=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,ot=(ye,ue,$e)=>ue in ye?me(ye,ue,{enumerable:!0,configurable:!0,writable:!0,value:$e}):ye[ue]=$e,vt=(ye,ue)=>{for(var $e in ue||(ue={}))Ge.call(ue,$e)&&ot(ye,$e,ue[$e]);if(fe)for(var $e of fe(ue))pt.call(ue,$e)&&ot(ye,$e,ue[$e]);return ye},Ee=(ye,ue)=>Pe(ye,Xe(ue));const wt=de.default.Option,Rt={labelCol:{span:4},wrapperCol:{span:20}},tt={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"]};sn.Z=({callback:ye,onCancel:ue})=>{const[$e,Je]=(0,ne.useState)("python");function ht(Fe){Je(tt[Fe][1])}function yt(Fe){ye(Fe)}return ne.createElement(Me.default,Ee(vt({},Rt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:yt,style:{width:500}}),ne.createElement(Me.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ne.createElement(de.default,{getPopupContainer:Fe=>Fe.parentNode,onChange:ht},Object.keys(tt).map(Fe=>ne.createElement(wt,{key:Fe,value:Fe},tt[Fe][0])))),ne.createElement(Me.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ne.createElement(st,{mode:$e})),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(et.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(et.ZP,{type:"ghost",onClick:ue},"\u53D6\u6D88")))};function st({value:ye,onChange:ue,mode:$e,options:Je={}}){const ht=(0,ne.useRef)(),[yt,Fe]=(0,ne.useState)();return(0,ne.useEffect)(()=>{if(yt){let Be=function(mt){const ze=mt.getValue();ue&&ue(ze)};return yt.on("change",Be),()=>{yt.off("change",Be)}}},[yt,ue]),(0,ne.useEffect)(()=>{yt&&yt.setOption("mode",$e)},[yt,$e]),(0,ne.useEffect)(()=>{yt&&(ye!==yt.getValue()||ye==="")&&setTimeout(()=>{yt.setValue(ye||"")},300)},[yt,ye]),(0,ne.useEffect)(()=>{if(ht.current&&!yt){const Be=ke().fromTextArea(ht.current,vt({mode:$e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Je));Fe(Be)}},[ht.current,yt]),ne.createElement("div",{className:"my-codemirror-container"},ne.createElement("textarea",{ref:ht}))}},91304:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return sa}});var ne=ee(67294),de=ee(4631),Me=ee.n(de),et=ee(91033),we=ee(71749),ke=ee(57341),ce=ee(82801),Se=ee(88386),me=ee(49047),Pe=ee(80785),Xe=ee(35598),fe=({value:pn="",className:At,showTextOnly:Zt,showLines:on,style:Yn={}})=>{const Dt=(0,ne.useMemo)(()=>"",[pn]);return ne.createElement(ne.Fragment,null,ne.createElement("div",{dangerouslySetInnerHTML:{__html:Dt}}))},Ge=ee(67294),pt=Object.defineProperty,ot=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,tt=(pn,At,Zt)=>At in pn?pt(pn,At,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):pn[At]=Zt,st=(pn,At)=>{for(var Zt in At||(At={}))wt.call(At,Zt)&&tt(pn,Zt,At[Zt]);if(Ee)for(var Zt of Ee(At))Rt.call(At,Zt)&&tt(pn,Zt,At[Zt]);return pn},ye=(pn,At)=>ot(pn,vt(At));let ue=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function $e({onActionCallback:pn,title:At,icon:Zt,actionName:on,className:Yn="",children:Dt}){function fn(){pn(on)}return Ge.createElement("a",{title:At,className:Yn,onClick:fn},Ge.createElement("i",{className:`${Zt}`}),Dt)}var Je=({watch:pn,showNullButton:At,showNullProgramButton:Zt,onActionCallback:on,fullScreen:Yn,insertTemp:Dt,hidetoolBar:fn,extraUse:Vn})=>{const kn=[...ue,{title:`${pn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${pn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ge.createElement("ul",{className:"markdown-toolbar-container"},!fn&&kn.map((rr,fr)=>Ge.createElement("li",{key:fr},rr.actionName?Ge.createElement($e,ye(st({},rr),{onActionCallback:on})):Ge.createElement("span",{className:"v-line"}))),At?Ge.createElement("li",null,Ge.createElement($e,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:on},Ge.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Zt?Ge.createElement(Ge.Fragment,null,Ge.createElement("li",null,Ge.createElement($e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:on},Ge.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ge.createElement("li",null,Ge.createElement($e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:on},Ge.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Dt&&Ge.createElement("li",null,Ge.createElement($e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Dt}`,onActionCallback:on},Ge.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Vn&&Ge.createElement("li",null,Vn),Ge.createElement("li",{className:"btn-full-screen"},Ge.createElement($e,{icon:`${Yn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Yn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:on})))},ht=ee(76621),yt=ee(22150),Fe=ee(69677),Be=ee(71577),mt=Object.defineProperty,ze=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,en=(pn,At,Zt)=>At in pn?mt(pn,At,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):pn[At]=Zt,ct=(pn,At)=>{for(var Zt in At||(At={}))Tt.call(At,Zt)&&en(pn,Zt,At[Zt]);if(rt)for(var Zt of rt(At))Bt.call(At,Zt)&&en(pn,Zt,At[Zt]);return pn},Ie=(pn,At)=>ze(pn,ut(At));const Mt={labelCol:{span:4},wrapperCol:{span:20}};var vn=({callback:pn,onCancel:At})=>{function Zt(on){pn(on)}return ne.createElement(yt.default,Ie(ct({},Mt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Zt,style:{width:500}}),ne.createElement(yt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ne.createElement(Fe.default,null)),ne.createElement(yt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ne.createElement(Fe.default,null)),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Be.ZP,{type:"ghost",onClick:At},"\u53D6\u6D88")))},qt=ee(57444),Nt=ee(70859),Kt=ee(14446),nn=ee(71230),Cn=ee(63205),Sn=ee(67294),tn=({callback:pn,onCancel:At})=>{const Zt=document.createElement("canvas"),on=Zt.getContext("2d");Zt.width=1e3,Zt.height=800,on.fillStyle="#ffffff",on.fillRect(0,0,Zt.width,Zt.height);const Yn=Zt.toDataURL("image/png");return Sn.createElement(Kt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Sn.createElement(nn.Z,{style:{height:"100vh"}},Sn.createElement(Cn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Yn,visible:!0,title:String(Date.now())},onOk:Dt=>{pn({src:Dt.url})},onClose:At})))},In=ee(72565),br=ee(15746),gn=ee(2453),Ye={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ve=ee(67294),be=(0,ne.forwardRef)(({onCancel:pn,editImgId:At,callback:Zt},on)=>{let Yn=(0,ne.useRef)(),Dt=(0,ne.useRef)(),fn=(0,ne.useRef)(),Vn=(0,ne.useRef)(!1);const kn=(0,ne.useRef)(!1);console.log("ref:",on);const[rr,fr]=(0,ne.useState)(0),[mn,Ta]=(0,ne.useState)("100vh");return(0,ne.useEffect)(()=>{fr(1);try{indexedDB.databases().then(ha=>{ha.forEach(ya=>indexedDB.deleteDatabase(ya.name))})}catch(ha){}},[]),(0,ne.useImperativeHandle)(on,()=>({setHeight:Ta})),ve.createElement("div",{ref:kn,className:"body-overflow-initial"},ve.createElement(In.Z,{width:"100vw",height:mn,footer:null,closable:!0,placement:"bottom",open:!!rr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Ye.drawerWrap}`,onClose:()=>{window.saveDrawData(ha=>{Zt({src:`/api/attachments/${ha}`,id:ha})})},title:ve.createElement(nn.Z,{align:"middle"},ve.createElement(br.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ve.createElement(br.Z,{onClick:()=>{Ta(mn==="60px"?"100vh":"60px")}},ve.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ve.createElement(br.Z,{onClick:()=>{window.saveDrawData(ha=>{if(ha===null){gn.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}gn.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Zt({src:`/api/attachments/${ha}`,id:ha,disabledClose:!0})})}},ve.createElement(Be.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ve.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${At||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Dt})))}),ge=ee(11320),se=ee(78045),je=ee(31795);const xt=se.ZP.Group,En={margin:"0 8px"};var un=({callback:pn,onCancel:At})=>{function Zt(on){pn(on)}return ne.createElement(yt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Zt},ne.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ne.createElement("span",{style:En},"\u5355\u5143\u683C\u6570\uFF1A"),ne.createElement("span",{style:En},"\u884C\u6570"),ne.createElement(yt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ne.createElement(je.Z,null)),ne.createElement("span",{style:En},"\u5217\u6570"),ne.createElement(yt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ne.createElement(je.Z,null))),ne.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ne.createElement("span",{style:En},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ne.createElement(yt.default.Item,{name:"align"},ne.createElement(xt,null,ne.createElement(se.ZP,{value:"default"},ne.createElement("i",{className:"fa fa-align-justify"})),ne.createElement(se.ZP,{value:"left"},ne.createElement("i",{className:"fa fa-align-left"})),ne.createElement(se.ZP,{value:"center"},ne.createElement("i",{className:"fa fa-align-center"})),ne.createElement(se.ZP,{value:"right"},ne.createElement("i",{className:"fa fa-align-right"}))))),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Be.ZP,{type:"ghost",onClick:At},"\u53D6\u6D88")))},Pn=ee(47897),Xn=ee(61016),_n=ee.n(Xn),yn=(0,ne.forwardRef)(({use3d:pn,width:At,height:Zt,callback:on,showSaveButton:Yn},Dt)=>{const fn=(0,ne.useRef)(),Vn=(0,ne.useRef)(),[kn,rr]=(0,ne.useState)(!1),fr=(0,ne.useRef)({id:fn,appName:"graphing",width:At||1e3,height:Zt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ne.useEffect)(()=>{Vn.current=new(_n())(fr.current,!0),window.onload=function(){Vn.current.inject("applet_container")}},[]);const mn=()=>{var Ta=window.ggbApplet.getPNGBase64(1,!0,72);return on&&on(Ta),Ta};return(0,ne.useEffect)(()=>{fr.current.appName=kn?"3D":"graphing",Vn.current.inject("applet_container")},[kn]),(0,ne.useEffect)(()=>{rr(pn)},[pn]),(0,ne.useImperativeHandle)(Dt,()=>({getImgData:mn})),ne.createElement(ne.Fragment,null,ne.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:fn}),ne.createElement(nn.Z,{align:"middle"},ne.createElement(br.Z,{flex:1},ne.createElement(Pn.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:kn,onChange:Ta=>rr(Ta)})),ne.createElement(br.Z,null,ne.createElement(Be.ZP,{size:"large",onClick:mn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Kn=ee(36527),On=ee(25934);const Qt="link",Dr="upload-image",jt="add-flowchart",rn="draw-image",Ir="add-flowchart",ur="code-block",Rr="add-table",aa="------------",qn={default:aa,left:`:${aa}`,center:`:${aa}:`,right:`${aa}:`};var Pa=ee(99914),Fa=(pn,At,Zt)=>new Promise((on,Yn)=>{var Dt=kn=>{try{Vn(Zt.next(kn))}catch(rr){Yn(rr)}},fn=kn=>{try{Vn(Zt.throw(kn))}catch(rr){Yn(rr)}},Vn=kn=>kn.done?on(kn.value):Promise.resolve(kn.value).then(Dt,fn);Vn((Zt=Zt.apply(pn,At)).next())});function _a(){}let Xr=0;const Da=1e4,Mi="\u2581",Si="@\u2581\u2581@",zi="@\u2581@",fi=`
**\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`,Tn=["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 bn(pn){return/^\d+$/.test(pn)?`${pn}px`:pn}const Cr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Or={[Cr+"-B"]:"bold",[Cr+"-I"]:"italic"},Lr={[Qt]:"\u6DFB\u52A0\u94FE\u63A5",[ur]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Dr]:"\u6DFB\u52A0\u56FE\u7247",[rn]:"\u6DFB\u52A0\u753B\u56FE",[jt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Rr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var sa=({defaultValue:pn="",onChange:At,width:Zt="100%",height:on=400,miniToolbar:Yn=!1,isFocus:Dt=!1,watch:fn,insertTemp:Vn,mode:kn="markdown",id:rr="markdown-editor-id",showResizeBar:fr=!1,noStorage:mn=!1,showNullButton:Ta=!1,showNullProgramButton:ha=!1,hidetoolBar:ya=!1,fullScreen:Sa=!1,onBlur:Ma,onCMBeforeChange:pa,onFullScreen:Er,className:qr="",disablePaste:Hi=!1,disabled:Fi=!1,disabledFill:$a=!1,placeholder:ni="",values:no="",extraUse:oi,onAddBlank:so})=>{const[ta,to]=(0,ne.useState)(null),[xo,xl]=(0,ne.useState)(pn),[ll,Uo]=(0,ne.useState)(fn),[co,wl]=(0,ne.useState)(Sa),[Yo,gl]=(0,ne.useState)(""),[zl,Sl]=(0,ne.useState)(0),[Cl,wi]=(0,ne.useState)(on),[ko,Pi]=(0,ne.useState)(!1),Ci=(0,ne.useRef)((0,On.Z)()),Zn=(0,ne.useRef)(!1),Mn=(0,ne.useRef)(),[dr,Qr]=(0,ne.useState)(0),[va,pi]=(0,ne.useState)(0),Ai=(0,ne.useRef)(),Vi=(0,ne.useRef)(),ui=(0,ne.useRef)(),Di=(0,ne.useRef)(),Eo=(0,ne.useRef)(),Zo=(0,ne.useRef)(),Qo=()=>Fa(void 0,null,function*(){var Dn;const $n=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ci.current}});(Dn=$n==null?void 0:$n.attachments)!=null&&Dn.length&&(console.log("cm:",ta,Ai),$n.attachments.map(Jn=>{Jn.content_type.indexOf("image")>-1?ta.replaceSelection(`![,](/api/attachments/${Jn.id}?type=${Jn.content_type})`):Jn.content_type.indexOf("video")>-1?ta.replaceSelection(`<video width="100%" controls src="${ge.Z.API_SERVER}/api/attachments/${data.id}"></video>`):Jn.content_type.indexOf("pdf")>-1?ta.replaceSelection(`<a href="${ge.Z.API_SERVER}/api/attachments/${Jn.id}?type=${Jn.content_type}&disposition=inline" target="_blank">${Jn.name}</a>`):ta.replaceSelection(`[${Jn.name}](${ge.Z.API_SERVER}/api/attachments/${Jn.id}?type=${Jn.content_type})`)}))});(0,ne.useEffect)(()=>{const Dn=window.scrollY||window.pageYOffset;xl(no),ta==null||ta.setValue(no),window.scrollTo(0,Dn)},[no]),(0,ne.useEffect)(()=>{Er==null||Er(co)},[co]),(0,ne.useEffect)(()=>{if(Ai.current){let Dn=function(Jn,kr){var Hr;if(Hi){kr.preventDefault();return}const zr=kr.clipboardData;if(zr){const Fr=zr.types.toString(),jr=zr.items;if(Fr==="Files"||zr.types.indexOf("Files")>-1){if(kr.preventDefault(),kn=="stex")return;try{let _r=jr[1];((Hr=jr[0])==null?void 0:Hr.kind)==="file"&&(_r=jr[0]);const Jr=_r.getAsFile(),kt=Jr.name.split(".").pop();(0,Nt.I)(Jr,Pt=>{var zn,Bn,xr;Pt.id?((zn=Jr==null?void 0:Jr.type)==null?void 0:zn.indexOf("image"))>-1?$n.replaceSelection(`<img width="100%" src="/api/attachments/${Pt.id}?type=${Pt.content_type})" alt="" />`):((Bn=Jr==null?void 0:Jr.type)==null?void 0:Bn.indexOf("video"))>-1?$n.replaceSelection(`<video width="100%" controls src="/api/attachments/${Pt.id}"></video>`):((xr=Jr==null?void 0:Jr.type)==null?void 0:xr.indexOf("pdf"))>-1?$n.replaceSelection(`<a href="/api/attachments/${Pt.id}?type=${Jr.type}&disposition=inline" target="_blank">${Jr.name}</a>`):Tn.includes(kt)?$n.replaceSelection(`<a href="/api/attachments/${Pt.id}?type=office&disposition=inline" target="_blank">${Jr.name}</a>`):$n.replaceSelection(`[${Jr.name}](/api/attachments/${Pt.id}?type=${Pt.content_type})`):(Pt==null?void 0:Pt.status)===401&&(gn.ZP.warning((Pt==null?void 0:Pt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(_r){gn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const $n=Me().fromTextArea(Ai.current,{mode:kn,lineNumbers:!Yn,lineWrapping:!0,value:pn,autoCloseTags:!ha,autoCloseBrackets:!0});return $n.on("keyup",function(Jn,kr){kr.keyCode===8&&(Jn.getValue()==""?$n.setOption("placeholder",ni):$n.setOption("placeholder",null))}),$n.on("keydown",function(Jn,kr){if(kr.keyCode===8){var Hr=nt(Jn);Hr&&kr.preventDefault()}}),Dt&&$n.focus(),$n.on("paste",Dn),$n.on("dragleave",function(Jn,kr){Vi.current.classList.remove("mouse-hover-md")}),Fi&&$n.on("beforeChange",function(Jn,kr){(kr.origin==="paste"||kr.origin==="+input")&&kr.cancel()}),to($n),()=>{$n.off("paste",Dn)}}},[]);const He=(0,ne.useCallback)(()=>{if(Vi.current)try{}catch(Dn){console.log(Dn,"---- to set md editor body height")}},[Cl,Vi,co]);(0,ne.useEffect)(()=>{function Dn(){let $n=new et.Z(Jn=>{for(let kr of Jn)(kr.target.offsetHeight>0||kr.target.offsetWidth>0)&&(He(),ta.setSize("100%","100%"),ta.refresh())});return $n.observe(Ai.current.parentElement),$n}if(ta){const $n=Dn();return()=>{var Jn,kr;(Jn=Ai.current)!=null&&Jn.parentElement&&$n.unobserve((kr=Ai.current)==null?void 0:kr.parentElement)}}},[ta,He]),(0,ne.useEffect)(()=>{if(ta){let Dn=[];for(const[$n,Jn]of Object.entries(Or)){let kr={[$n]:()=>{It(Jn)}};Dn.push(kr),ta.addKeyMap(kr)}return Mn.current=setInterval(()=>{Zn.current&&Qo()},4e3),()=>{clearInterval(Mn.current);for(let $n of Dn)ta.removeKeyMap($n)}}},[ta]),(0,ne.useEffect)(()=>{Sa!==co&&wl(Sa)},[Sa]),(0,Pa.Z)(()=>{if(!mn&&zl>0){let Dn=new Date().getTime(),$n=window.sessionStorage.getItem(rr);Dn>=zl+Da&&(!$n||$n!==xo)&&(window.sessionStorage.setItem(rr,xo),Pi(!0))}},Da),(0,ne.useEffect)(()=>{Uo(fn)},[ta,fn]),(0,ne.useEffect)(()=>{ta&&Dt&&ta.focus()},[ta,Dt]),(0,ne.useEffect)(()=>{if(ll&&ta){let Dn=function(Jn){let kr=Jn.target;if(Di.current){let Hr=kr.scrollTop/kr.scrollHeight;Di.current.scrollTop=Di.current.scrollHeight*Hr}};const $n=ta.getScrollerElement();return $n.addEventListener("scroll",Dn),()=>{$n.removeEventListener("scroll",Dn)}}},[ta,ll]),(0,ne.useEffect)(()=>{if(ta&&pa){let Dn=function($n,Jn){pa($n,Jn)};return ta.on("beforeChange",Dn),()=>{ta.off("beforeChange",Dn)}}},[ta,pa]),(0,ne.useEffect)(()=>{if(ta&&Ma){let Dn=function(){Ma(ta.getValue())};return ta.on("blur",Dn),()=>{ta.off("blur",Dn)}}},[ta,Ma]);function nt(Dn,$n){var Jn=Dn.getDoc(),kr=Jn.getCursor(),Hr=Jn.getLine(kr.line),zr=Hr.charAt(kr.ch-1),Fr=Hr.lastIndexOf("@\u2581@",kr.ch),jr=Hr.lastIndexOf("@\u2581\u2581@",kr.ch),_r=Fr>jr?Fr:jr,Jr=Fr>jr?3:4;if(Si.indexOf(zr)===-1)return null;if(console.log("change1:",$n,Dn,Hr,kr,_r,Fr,jr,zr),_r>=0&&kr.ch-_r<5){var kt=_r+Jr;return Jn.replaceRange("",{line:kr.line,ch:_r},{line:kr.line,ch:kt}),{line:kr.line,ch:kt}}return null}(0,ne.useEffect)(()=>{if(ta){let Dn=function($n,Jn){const kr=$n.getValue();xl(kr),Sl(new Date().getTime()),$n.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),At&&(ha?At(kr,Xt(kr)):At(kr))};return ta.on("change",Dn),()=>{ta.off("change",Dn)}}},[ta,At]),(0,ne.useEffect)(()=>{if(ta)if(pn==null)ta.setValue(""),xl("");else{const Dn=window.scrollY||window.pageYOffset;pn!==ta.getValue()&&(ta.setValue(pn),xl(pn),ta.setCursor(Fi?1:ta.lineCount(),0),window.scrollTo(0,Dn))}},[ta,pn]);const It=(0,ne.useCallback)(Dn=>{const $n=ta.getCursor(),Jn=ta.getSelection();let kr=Jn.split(`
`);switch(Dn){case"bold":return ta.replaceSelection("**"+Jn+"**"),Jn===""&&ta.setCursor($n.line,$n.ch+2),ta.focus();case"italic":return ta.replaceSelection("*"+Jn+"*"),Jn===""&&ta.setCursor($n.line,$n.ch+1),ta.focus();case"code":return ta.replaceSelection("`"+Jn+"`"),Jn===""&&ta.setCursor($n.line,$n.ch+1),ta.focus();case"inline-latex":return gl("inline-latex"),ta.focus();case"latex":return ta.replaceSelection("```latex\n"+Jn+"\n```"),ta.setCursor($n.line+1,Jn.length+1),ta.focus();case"line-break":return ta.replaceSelection(`<br/>
`),ta.focus();case"list-ul":return Jn===""?ta.replaceSelection("- "+Jn):ta.replaceSelection(kr.map(Hr=>Hr===""?"":`- ${Hr}`).join(`
`)),ta.focus();case"list-ol":return Jn===""?ta.replaceSelection("1. "+Jn):ta.replaceSelection(kr.map((Hr,zr)=>Hr===""?"":`${zr+1}. ${Hr}`).join(`
`)),ta.focus();case"add-null-ch":so==null||so();return;case"add-signal":return Jn===""&&ta.setCursor($n.line,$n.ch),ta.replaceSelection(zi),ta.focus();case"add-multiple":return Jn===""&&ta.setCursor($n.line,$n.ch),ta.replaceSelection(Si),ta.focus();case"inster-template-1":return Jn===""&&ta.setCursor($n.line,$n.ch),ta.replaceSelection(fi),ta.focus();case"eraser":return ta.setValue(""),ta.focus();case"trigger-watch":return Uo(!ll),ta.focus();case"trigger-full-screen":return wl(!co),ta.focus();case Qt:gl(Qt);return;case ur:gl(ur);return;case Dr:gl(Dr);return;case rn:gl(rn);return;case"maths-latex":gl("maths-latex");return;case jt:Eo.current="",sessionStorage.removeItem("file_id"),gl(jt);return;case Rr:gl(Rr);return;default:throw new Error}},[ta,ll,co]),pe=(0,ne.useCallback)((Dn,$n)=>{var Jn,kr,Hr,zr,Fr,jr;gl("");const{src:_r,alt:Jr,id:kt}=Dn||{};switch(Yo){case Qt:const{title:Zr,link:$t}=Dn;return ta.replaceSelection(`[${Zr}](${$t})`),ta.focus();case ur:const{language:cn,content:dn}=Dn;return ta.replaceSelection(["```"+cn,dn,"```"].join(`
`)),ta.focus();case"maths-latex":for(var Pt=atob(Dn),zn=new Uint8Array(Pt.length),Bn=0;Bn<Pt.length;Bn++)zn[Bn]=Pt.charCodeAt(Bn);var xr=new Blob([zn],{type:"image/png"});(0,Nt.I)(xr,Va=>{Va.id?ta.replaceSelection(`![,](/api/attachments/${Va.id}?type=${Va.content_type})`):(Va==null?void 0:Va.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ta.replaceSelection("`$$"+Dn+"$$`");break;case Ir:if(!kt)return;ta.focus(),ta.getValue().indexOf(_r)===-1?ta.replaceSelection(`<center><img id="${kt}" width="80%" src="${_r}" class="draw-flowchart" alt="${Jr||""}" /></center>`):document.getElementById(kt).src=ge.Z.API_SERVER+_r+"?t="+Date.now();try{setTimeout(()=>{Ma(ta.getValue())},100)}catch(Va){}break;case Dr:case rn:const Rn=$n,yr=(Hr=(kr=(Jn=Rn==null?void 0:Rn.name)==null?void 0:Jn.split("."))==null?void 0:kr.pop)==null?void 0:Hr.call(kr);return((zr=Rn==null?void 0:Rn.type)==null?void 0:zr.indexOf("image"))>-1||!(Rn!=null&&Rn.type)?Rn!=null&&Rn.align||Rn!=null&&Rn.width?ta.replaceSelection(`<p style="text-align:${Rn.align||"initial"}"><img width="${Rn.width?Rn.width+"%":"initial"}" src="${_r}" alt="${Jr||""}" /></p>`):ta.replaceSelection(`<img width="100%" src="${_r}" alt="${Jr||""}" />`):((Fr=Rn==null?void 0:Rn.type)==null?void 0:Fr.indexOf("video"))>-1?ta.replaceSelection(`<video width="100%" controls src="${_r}"></video>`):((jr=Rn==null?void 0:Rn.type)==null?void 0:jr.indexOf("pdf"))>-1?ta.replaceSelection(`<a href="${_r}?type=${Rn.type}&disposition=inline" target="_blank">${Rn.name}</a>`):Tn.includes(yr)?ta.replaceSelection(`<a href="${_r}?type=office&disposition=inline" target="_blank">${Rn.name}</a>`):ta.replaceSelection(`[${Rn.name}](${_r})`),ta.focus();case Rr:const{row:Tr,col:vr,align:Pr}=Dn;let ia=`
`;for(let Va=0;Va<Tr;Va++){let ma=[],Gr=[];for(let Ea=0;Ea<vr;Ea++)Va===1&&Gr.push(qn[Pr]),ma.push(" ");Va===1&&(ia+=`| ${Gr.join(" | ")} |
`),ia+=`| ${ma.join(vr===1?"":" | ")} |
`}return ta.replaceSelection(ia+`
`),ta.focus();default:throw new Error}},[ta,Yo]),Oe=(0,ne.useMemo)(()=>{switch(Yo){case Qt:return ne.createElement(vn,{callback:pe,onCancel:Ae});case ur:return ne.createElement(qt.Z,{callback:pe,onCancel:Ae});case Dr:return ne.createElement(Nt.Z,{callback:pe,onCancel:Ae});case jt:return ne.createElement(be,{editImgId:Eo.current,callback:pe,onCancel:Ae});case Rr:return ne.createElement(un,{callback:pe,onCancel:Ae});case"maths-latex":return ne.createElement(yn,{showSaveButton:!0,callback:pe});case"inline-latex":return ne.createElement(Kn.Z,{showSaveButton:!0,callback:pe});default:return null}},[Yo]);function Ae(){gl("")}(0,ne.useEffect)(()=>{if(ui.current){let Dn=function(Fr){Hr=!0,zr=Fr.pageY},$n=function(){Hr=!1},Jn=function(Fr){if(Hr){let jr=Fr.pageY-zr;jr<0&&(jr=0),jr>300&&(jr=300);let _r=on+jr+"px";wi(_r)}},kr=ui.current,Hr=!1,zr=0;return kr.addEventListener("mousedown",Dn),document.addEventListener("mousemove",Jn),document.addEventListener("mouseup",$n),()=>{kr.removeEventListener("mousedown",Dn),document.removeEventListener("mousemove",Jn),document.removeEventListener("mouseup",$n)}}},[ta,ui]),(0,ne.useEffect)(()=>{wi(on)},[on]);const Ke=bn(Zt),Qe=bn(Cl),at={width:Ke,height:Qe},ft=(0,ne.useMemo)(()=>{if(zl){let Dn=new Date(zl),$n=Dn.getHours(),Jn=Dn.getMinutes(),kr=Dn.getSeconds();return $n=$n<10?"0"+$n:$n,Jn=Jn<10?"0"+Jn:Jn,kr=kr<10?"0"+kr:kr,`${$n}:${Jn}:${kr}`}return 0},[zl]),Xt=Dn=>{const $n=[];if(ha){let Jn=-1;Dn=Dn.replace(/(@▁▁@|@▁@)/g,function(kr,Hr,zr){$n.push({multiLine:kr!==zi})})}return $n};function an(){window.sessionStorage.removeItem(rr),Pi(!1),Sl(0)}function Qn(){Pi(!1),Sl(0),ta.setValue(window.sessionStorage.getItem(rr))}(0,ne.useEffect)(()=>{Lr[Yo]&&Yo!==rn&&Yo!==jt&&setTimeout(()=>{const Dn=document.getElementsByClassName("markdown-popup-form")[0],$n=window.innerWidth/2-Dn.offsetWidth/2,Jn=window.innerHeight/2-Dn.offsetHeight/2;Qr($n),pi(Jn)},0)},[Yo]);const cr=Dn=>{Dn.preventDefault();const $n=Dn.clientX-dr,Jn=Dn.clientY-va;document.body.onmousemove=kr=>{let Hr=kr.clientX-$n,zr=kr.clientY-Jn;const Fr=document.getElementsByClassName("markdown-popup-form")[0],jr=window.innerWidth-Fr.offsetWidth,_r=window.innerHeight-Fr.offsetHeight;Hr=Math.max(0,Math.min(Hr,jr)),zr=Math.max(0,Math.min(zr,_r)),Ar(kr.clientX,kr.clientY,$n,Jn)&&(Qr(Hr),pi(zr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ar=(Dn,$n,Jn,kr)=>{const Hr=document.body.clientHeight,zr=document.body.clientWidth;return Dn<20&&Jn>Dn||Dn>zr-20&&Jn<Dn||$n<20&&kr>$n||$n>Hr-20&&kr<$n?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"markdown-editor-wrapper",ref:Vi},ne.createElement("div",{className:`markdown-editor-container ${qr} ${ll?"on-preview":""} ${Yn?"mini":""} ${co?"full-screen":""}`,style:at},ne.createElement(Je,{insertTemp:Vn,watch:ll,fullScreen:co,showNullButton:Ta,showNullProgramButton:ha,onActionCallback:It,hidetoolBar:ya,extraUse:oi}),ne.createElement("div",{className:"markdown-editor-body"},ne.createElement("div",{className:"codemirror-container"},ne.createElement("textarea",{ref:Ai,placeholder:ni})),ll?ne.createElement("div",{ref:Di,className:"preview-container"},kn==="stex"&&ne.createElement(fe,{value:xo}),kn!=="stex"&&ne.createElement(Xe.Z,{edit:!0,disabledFill:$a,showProgramFill:ha,value:xo,openEditor:Dn=>{var $n;Eo.current=Dn,($n=Zo.current)==null||$n.setHeight("100vh"),setTimeout(()=>{gl("add-flowchart")},150)}})):null))),fr?ne.createElement("a",{ref:ui,className:"editor-resize"}):null,Yo===rn&&ne.createElement(tn,{callback:pe,onCancel:Ae}),Yo===jt&&ne.createElement(be,{ref:Zo,editImgId:Eo.current,callback:pe,onCancel:Ae}),ne.createElement(ht.Z,null,Lr[Yo]&&Yo!==rn&&Yo!==jt?ne.createElement(Kt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:dr,top:va},title:ne.createElement("div",{style:{cursor:"move"},onMouseDown:cr},Lr[Yo]),open:!0,onCancel:Ae,footer:null,destroyOnClose:!0,width:Yo===jt?"1200px":null,height:Yo===jt?"80vh":null,className:"markdown-popup-form"},Oe):null))}},70859:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return $e},I:function(){return ht}});var ne=ee(22150),de=ee(2453),Me=ee(69677),et=ee(93421),we=ee(31795),ke=ee(78045),ce=ee(71577),Se=ee(15476),me=ee(67294),Pe=ee(52262),Xe=ee(67294),fe=Object.defineProperty,Ge=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,wt=(yt,Fe,Be)=>Fe in yt?fe(yt,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):yt[Fe]=Be,Rt=(yt,Fe)=>{for(var Be in Fe||(Fe={}))vt.call(Fe,Be)&&wt(yt,Be,Fe[Be]);if(ot)for(var Be of ot(Fe))Ee.call(Fe,Be)&&wt(yt,Be,Fe[Be]);return yt},tt=(yt,Fe)=>Ge(yt,pt(Fe));const{useForm:st}=ne.default,ye={width:280,marginRight:10},ue={labelCol:{span:5},wrapperCol:{span:19}};var $e=({callback:yt,onCancel:Fe})=>{const[Be]=st();let mt=(0,me.useRef)();function ze(Tt){mt.current.width=Be.getFieldValue("width"),mt.current.align=Be.getFieldValue("align"),yt(Tt,mt.current)}function ut(Tt,Bt){if(Tt.status===-1){de.ZP.error(Tt.message);return}Be.setFieldsValue({src:`/api/attachments/${Tt.id}`,type:Bt.type})}function rt(Tt){let Bt=Tt.target.files[0];mt.current=Bt,ht(Bt,ut)}return Xe.createElement(ne.default,tt(Rt({form:Be},ue),{className:"upload-image-panel",onFinish:ze,style:{width:470,overflow:"hidden"}}),Xe.createElement(ne.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Xe.createElement("div",{className:"flex-container"},Xe.createElement(ne.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Xe.createElement(Me.default,{style:ye})),Xe.createElement(Je,{onFileChange:rt}))),Xe.createElement(ne.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Xe.createElement(Me.default,{style:{width:264}})),Xe.createElement(ne.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Xe.createElement(et.Z,null,Xe.createElement(ne.default.Item,{name:"width",style:{margin:0}},Xe.createElement(we.Z,{style:{width:264}})),Xe.createElement("span",{className:"ml8"},"%"))),Xe.createElement(ne.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Xe.createElement(ke.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"}]})),Xe.createElement("aside",null,Xe.createElement(ne.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Xe.createElement(ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Xe.createElement(ce.ZP,{type:"default",onClick:Fe},"\u53D6\u6D88"))))};function Je({onFileChange:yt}){return Xe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Xe.createElement("input",{type:"file",onChange:yt}))}function ht(yt,Fe){if(!yt)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Pe.bg)())throw de.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Be=new FormData;Be.append("editormd-image-file",yt),Be.append("file_param_name","editormd-image-file"),Be.append("byxhr","true");var mt=new window.XMLHttpRequest;mt.withCredentials=!0,mt.addEventListener("load",function(ze){Fe(JSON.parse(ze.target.responseText),yt)},!1),mt.addEventListener("error",function(ze){console.error(ze)},!1),mt.open("POST",`${Se.KI}/api/attachments.json`),mt.send(Be)}},76621:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Me}});var ne=ee(67294),de=ee(73935);class Me extends ne.Component{constructor(we){super(we);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:we}=this.props;return(0,de.createPortal)(we,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(Hn,sn,ee){"use strict";ee.d(sn,{i:function(){return ue},Z:function(){return Je}});var ne={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"},de=ee(57953),Me=ee(83062),et=ee(38703),we=ee(94184),ke=ee.n(we),ce=ee(28706),Se=ee(26194),me=ee(52262),Pe=ee(79005),Xe=ee(20345),fe=ee(77882),Ge=ee(31081),pt=ee(75309),ot=ee(71979),vt=ee(47558),Ee=ee(60345),wt=ee(66832),Rt=ee(96593),tt=ee(19664),st=ee(91833),ye=ee(67294);const ue=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Pe,swimg:Xe},{name:"101\u8BA1\u5212",ptimg:fe,swimg:Ge},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:pt,swimg:ot},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vt,swimg:Ee},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:wt,swimg:Rt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:tt,swimg:st}];var Je=({className:ht,dataSource:yt=[],col:Fe=4,right:Be,bottom:mt=23,precision:ze=0,wrapWidth:ut=1200,trackEventItems:rt,loading:Tt,onRemove:Bt=()=>{},isCurrent:en=!0,showAlias:ct=!1,showProgress:Ie=!1})=>{const Mt=Math.floor((ut-(Fe-1)*Be)/Fe),vn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(qt=>(window.ENV==="build"&&(qt.ptimg=`/react/build${qt.ptimg}`,qt.swimg=`/react/build${qt.swimg}`),qt));return ye.createElement(de.Z,{spinning:Tt},ye.createElement("div",{className:ke()(ne.list,ht)},!!(yt!=null&&yt.length)&&(yt==null?void 0:yt.map((qt,Nt)=>{var Kt,nn,Cn,Sn,tn,In;const{name:br,id:gn,identifier:Ye,featured:ve,school_name:he,image_url:be,excellent:ge,is_plan:se}=qt;return ye.createElement("div",{key:gn,className:en&&Ie?ne.wrapisCurrent:ne.wrap,style:{width:Mt,marginRight:(1+Nt)%Fe===0?0:Be+ze,marginBottom:mt}},ye.createElement("a",{className:ne.li,onClick:je=>{je.preventDefault(),je.stopPropagation(),rt&&(0,ce.L9)([rt]),(0,ce.xg)(`/paths/${Ye}`)}},ye.createElement("div",{className:ne.img},ye.createElement("img",{className:ne.cover,src:`${be}`}),en&&(0,me.bg)()&&(qt==null?void 0:qt.studying)&&ye.createElement("div",{className:`${ne.movebq} user-path-items`,onClick:je=>{je.stopPropagation(),Bt(qt)}},ye.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ye.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Kt=qt==null?void 0:qt.subject_tags)==null?void 0:Kt.map((je,xt)=>{var En,un;if(xt===0){const Xn=(En=vn.find(_n=>_n.name==je))==null?void 0:En.swimg;return ye.createElement("img",{className:ne.sign,src:Xn,style:{left:"-4px"}})}const Pn=(un=vn.find(Xn=>Xn.name==je))==null?void 0:un.ptimg;return ye.createElement("img",{className:ne.sign,src:Pn,style:{left:`${48+52*(xt-1)+2*xt}px`}})}),ye.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(qt==null?void 0:qt.excellent)&&ye.createElement("div",{className:ne.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ye.createElement("div",{className:ne.name},ye.createElement(Me.Z,{title:ct&&(qt!=null&&qt.excellent_alias_name)?ye.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${br}`,ye.createElement("br",null),ye.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${qt==null?void 0:qt.excellent_alias_name}`)):br},ye.createElement("span",{className:ne.e},ct&&(qt==null?void 0:qt.excellent_alias_name)||br))),en&&Ie&&((nn=qt==null?void 0:qt.progress)==null?void 0:nn.all_score)!=0&&ye.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ye.createElement(et.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Cn=qt==null?void 0:qt.progress)==null?void 0:Cn.my_score)/((Sn=qt==null?void 0:qt.progress)==null?void 0:Sn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(tn=qt==null?void 0:qt.progress)==null?void 0:tn.my_score,"/",(In=qt==null?void 0:qt.progress)==null?void 0:In.all_score),(!en||!Ie)&&ye.createElement("div",{className:ne.tags},ye.createElement("div",null,ye.createElement(Me.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ye.createElement("span",null,qt.stages_count))),ye.createElement(Me.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ye.createElement("span",null,qt.members_count)))))))})),!yt.length&&ye.createElement(Se.Z,null)))}},78311:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ke}});var ne=ee(67294),de={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"},Me=ee(94184),et=ee.n(Me),ke=({dataSource:ce=[],value:Se,onChange:me,className:Pe,style:Xe={}})=>ne.createElement("div",{style:Xe,className:et()(de.tabs,Pe)},ce.map(fe=>ne.createElement("span",{onClick:()=>me(fe.id),className:Se===fe.id?de.active:"",key:fe.id},fe.name)))},64743:function(Hn,sn,ee){"use strict";ee.d(sn,{jL:function(){return we},w9:function(){return Cr},vv:function(){return Yn},dN:function(){return pn},QD:function(){return Mn},cQ:function(){return se.Z},vg:function(){return zi},Oz:function(){return Fa},op:function(){return Cl},O5:function(){return at},_b:function(){return Vi},t7:function(){return Fe},tT:function(){return ze},Gi:function(){return Ma},YG:function(){return kn},Ed:function(){return ya},kT:function(){return mn},qp:function(){return Ee},Um:function(){return ue},K3:function(){return tt},vr:function(){return va},qE:function(){return Pi},Je:function(){return Tt},wb:function(){return Sn},rC:function(){return ge},lB:function(){return br},cq:function(){return $a},kO:function(){return so},tp:function(){return $e.Z},Si:function(){return an},k8:function(){return Zr},Du:function(){return Hr}});var ne=ee(67294),de={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJL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rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",we=({dataSource:$t=[],img:cn,imgWidth:dn=346,title:Rn,sunTitle:yr,bannerExtraContent:Tr})=>ne.createElement("div",{className:de.banner},ne.createElement("div",{className:de.content},ne.createElement("aside",null,ne.createElement("p",null,ne.createElement("b",null,Rn),ne.createElement("span",null,yr)),$t.length>0&&ne.createElement("div",{className:de.btns},$t.map((vr,Pr)=>ne.createElement("div",{key:Pr,onClick:vr.click},vr.name,vr.sign?ne.createElement("img",{src:Me,width:39}):null))),Tr),cn&&ne.createElement("img",{style:{marginTop:33,marginRight:38},src:cn,width:dn}))),ke={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"},ce=ee(94184),Se=ee.n(ce),me=ee(96486),Pe=Object.defineProperty,Xe=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,pt=($t,cn,dn)=>cn in $t?Pe($t,cn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):$t[cn]=dn,ot=($t,cn)=>{for(var dn in cn||(cn={}))fe.call(cn,dn)&&pt($t,dn,cn[dn]);if(Xe)for(var dn of Xe(cn))Ge.call(cn,dn)&&pt($t,dn,cn[dn]);return $t},Ee=({dataSource:$t=[],value:cn,onChange:dn,onTitleChange:Rn,className:yr,title:Tr,titleWidth:vr=41,style:Pr={},fontColor:ia="#6A7283",showCount:Va,classNameActive:ma,styleItem:Gr={}})=>{const[Ea,ja]=(0,ne.useState)(0),[ai,Ra]=(0,ne.useState)(!1),da=(0,ne.useRef)(null),ci=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{var mi;$t.length!==0&&(((mi=da==null?void 0:da.current)==null?void 0:mi.clientHeight)>97?ja(1):ja(0)),$t.length===0&&ja(0),Ra(!1)},[$t]),ne.createElement("div",{className:Se()(ke.row,yr),style:Pr},ne.createElement("div",{onClick:(0,me.throttle)(()=>Rn==null?void 0:Rn(),2e3),style:{width:vr,marginTop:ai?12:4},className:`${ke.title} ${Rn?"current":""}`},Tr),ne.createElement("div",{className:ai?`${ke.tagsWrap} ${ke.tagsBorderWrap}`:ke.tagsWrap},ne.createElement("div",{className:ke.bar,ref:ci,style:Ea>0?{height:Ea===1?97:"auto",overflow:Ea===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ne.createElement("div",{className:ke.tag,ref:da},$t==null?void 0:$t.map(mi=>ne.createElement("span",{onClick:()=>dn(mi.id),key:mi.id,style:ot(ot({color:ia},Gr),(mi==null?void 0:mi.style)||{}),className:cn===mi.id?Se()(ma||ke.active,mi.classNameActive):""},ne.createElement("span",{title:mi.name,className:ke.name},mi.name),!!Va&&ne.createElement("span",{className:ke.num},mi.count))))),!!Ea&&ne.createElement(ne.Fragment,null,Ea===1?ne.createElement("div",{onClick:()=>{var mi;ja(2),((mi=da==null?void 0:da.current)==null?void 0:mi.clientHeight)>245?Ra(!0):Ra(!1)},className:ke.action},"\u5C55\u5F00",ne.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ne.createElement("div",{onClick:()=>{ci.current.scrollTop=0,ja(1),Ra(!1)},className:ke.action},"\u6536\u8D77",ne.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},wt={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},tt=({dataSource:$t=[],value:cn,onChange:dn,onTitleChange:Rn,className:yr,title:Tr,titleWidth:vr=41,style:Pr={},fontColor:ia="#6A7283",showCount:Va,expand:ma=!0})=>{const[Gr,Ea]=(0,ne.useState)(0),[ja,ai]=(0,ne.useState)(!1),Ra=(0,ne.useRef)(null),da=(0,ne.useRef)(null),[ci,mi]=(0,ne.useState)(ma);return ne.createElement("div",{className:Se()(wt.row,yr),style:Pr},ne.createElement("div",{className:"flex item-center justify-between"},ne.createElement("div",{onClick:(0,me.throttle)(()=>Rn==null?void 0:Rn(),2e3),style:{width:vr,marginTop:ja?12:4},className:`${wt.title} ${Rn?"current":""}`},Tr),ne.createElement("i",{className:`iconfont ${ci?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:ci?8:10},onClick:()=>mi(!ci)})),ci&&ne.createElement("div",{className:ja?`${wt.tagsWrap} ${wt.tagsBorderWrap}`:wt.tagsWrap},ne.createElement("div",{className:wt.fenge}),ne.createElement("div",{className:wt.bar,ref:da},ne.createElement("div",{className:wt.tag,ref:Ra},$t==null?void 0:$t.map(io=>ne.createElement("span",{onClick:()=>dn(io.id),key:io.id,style:{color:ia},className:cn===io.id?wt.active:""},ne.createElement("span",{title:io.name,className:wt.name},io.name),!!Va&&ne.createElement("span",{className:wt.num},io.count)))))))},st={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ue=({dataSource:$t=[],value:cn,onChange:dn,onTitleChange:Rn,className:yr,title:Tr,titleWidth:vr=41,style:Pr={},fontColor:ia="#fff",showCount:Va,expand:ma=!0})=>{const[Gr,Ea]=(0,ne.useState)(0),[ja,ai]=(0,ne.useState)(!1),Ra=(0,ne.useRef)(null),da=(0,ne.useRef)(null),[ci,mi]=(0,ne.useState)(ma);return ne.createElement("div",{className:Se()(st.row,yr),style:Pr},ne.createElement("div",{className:"flex item-center justify-between"},ne.createElement("div",{onClick:(0,me.throttle)(()=>Rn==null?void 0:Rn(),2e3),style:{width:vr},className:`${st.title} ${Rn?"current":""}`},Tr),ne.createElement("i",{className:`iconfont ${ci?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:ci?"#00DDC7":"#037F74",fontSize:ci?10:12},onClick:()=>mi(!ci)})),ci&&ne.createElement("div",{className:ja?`${st.tagsWrap} ${st.tagsBorderWrap}`:st.tagsWrap},ne.createElement("div",{className:st.bar,ref:da},ne.createElement("div",{className:st.tag,ref:Ra},$t==null?void 0:$t.map(io=>ne.createElement("span",{onClick:()=>dn(io.id),key:io.id,style:{color:ia},className:cn===io.id?st.active:""},ne.createElement("span",{title:io.name,className:st.name},io.name),!!Va&&ne.createElement("span",{className:st.num},io.count)))))))},$e=ee(78311),Je={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ht=ee(69677),Fe=({dataSource:$t=[],value:cn="",onChange:dn,onInputChange:Rn=()=>{},className:yr,style:Tr={},placeholder:vr,allowClear:Pr=!1})=>{var ia;const[Va,ma]=(0,ne.useState)(""),[Gr,Ea]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var Ra;let da=cn;(Ra=JSON.stringify(cn))!=null&&Ra.includes("{")&&(ma(cn.id),da=cn.value||"");try{Ea(decodeURIComponent(da||""))}catch(ci){Ea(decodeURIComponent(da||""))}},[cn]);const ja=()=>{dn(encodeURIComponent(Gr),Va||null)},ai=Ra=>{Ra!==Va&&(ma(Ra),dn(encodeURIComponent(Gr),Ra))};return ne.createElement("div",{className:Se()(Je.input,yr),style:Tr},!!$t.length&&ne.createElement("div",{className:Je.dropdown},ne.createElement("div",{className:Je.text},(ia=$t.find(Ra=>Ra.id===Va))==null?void 0:ia.name,ne.createElement("i",{className:"iconfont icon-zhankai4"}),ne.createElement("b",{className:Je.b1}),ne.createElement("b",{className:Je.b2})),ne.createElement("div",{className:Je.menu},$t.map((Ra,da)=>ne.createElement("div",{key:da,onClick:()=>ai(Ra.id)},Ra.name)))),ne.createElement(ht.default,{onPressEnter:ja,value:Gr,onChange:Ra=>{Ea(Ra.target.value),Rn(encodeURIComponent(Ra.target.value),Va||null)},bordered:!1,placeholder:vr}),ne.createElement("i",{onClick:ja,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Be={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},ze=({dataSource:$t=[],value:cn="",onChange:dn,onInputChange:Rn=()=>{},className:yr,style:Tr={},placeholder:vr,allowClear:Pr=!1})=>{var ia;const[Va,ma]=(0,ne.useState)(""),[Gr,Ea]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var Ra;let da=cn;(Ra=JSON.stringify(cn))!=null&&Ra.includes("{")&&(ma(cn.id),da=cn.value||"");try{Ea(decodeURIComponent(da||""))}catch(ci){Ea(decodeURIComponent(da||""))}},[cn]);const ja=()=>{dn(encodeURIComponent(Gr),Va||null)},ai=Ra=>{Ra!==Va&&(ma(Ra),dn(encodeURIComponent(Gr),Ra))};return ne.createElement("div",{className:Se()(Be.input,yr),style:Tr},!!$t.length&&ne.createElement("div",{className:Be.dropdown},ne.createElement("div",{className:Be.text},(ia=$t.find(Ra=>Ra.id===Va))==null?void 0:ia.name,ne.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ne.createElement("div",{className:Be.menu},$t.map((Ra,da)=>ne.createElement("div",{key:da,onClick:()=>ai(Ra.id)},Ra.name)))),ne.createElement(ht.default,{onPressEnter:ja,value:Gr,onChange:Ra=>{Ea(Ra.target.value),Rn(encodeURIComponent(Ra.target.value),Va||null)},bordered:!1,placeholder:vr}),ne.createElement("i",{onClick:ja,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ut={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"},Tt=({value:$t,onChange:cn,className:dn,total:Rn,pageSize:yr,style:Tr={}})=>{const vr=$t<2,Pr=$t>=Math.ceil(Rn/yr);return Rn<=yr?ne.createElement(ne.Fragment,null):ne.createElement("div",{className:Se()(ut.quickPager,dn),style:Tr},ne.createElement("div",{onClick:()=>{vr||cn($t-1,"prev")},className:vr?ut.disabled:""},"\u4E0A\u4E00\u9875"),ne.createElement("div",{onClick:()=>{Pr||cn($t+1,"next")},className:Pr?ut.disabled:""},"\u4E0B\u4E00\u9875"))},Bt={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"},en=ee(57953),ct=ee(83062),Ie=ee(12604),Mt=ee(11320),vn=ee(28706),qt=ee(96908),Nt=ee(57177),Kt=ee(81378),nn=ee(26194),Sn=({className:$t,dataSource:cn=[],col:dn=4,right:Rn,bottom:yr=23,precision:Tr=0,wrapWidth:vr=1200,trackEventItems:Pr,loading:ia})=>{const Va=Math.floor((vr-(dn-1)*Rn)/dn);return ne.createElement(en.Z,{spinning:ia},ne.createElement("div",{className:Se()(Bt.list,$t)},!!cn.length&&cn.map((ma,Gr)=>{const{name:Ea,id:ja,identifier:ai,power:Ra,cover_image_id:da,pic:ci}=ma;return ne.createElement("div",{className:Bt.wrap,key:ja,style:{width:Va,marginRight:(1+Gr)%dn===0?0:Rn+Tr,marginBottom:yr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${ai}/challenges`,className:Bt.li,onClick:mi=>{mi.preventDefault(),Pr&&(0,vn.L9)([Pr]),Ra&&(0,vn.xg)(`/shixuns/${ai}/challenges`)}},ne.createElement("div",{className:Bt.img},ne.createElement("img",{className:Bt.cover,src:`${ci}`}),ma.is_jupyter&&ne.createElement("img",{className:Bt.sign,src:qt}),ma.is_jupyter_lab&&ne.createElement("img",{className:Bt.sign,src:Nt}),ma.is_unity_3d&&ne.createElement("img",{className:Bt.sign,src:Kt})),ne.createElement("div",{className:Bt.name},ne.createElement(ct.Z,{title:Ea||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:Bt.e},Ea||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:Bt.tags},ne.createElement(ct.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,ma.challenges_count))),!!ma.myshixuns_count&&ne.createElement(ct.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ne.createElement("span",null,ma.myshixuns_count))),ne.createElement(ct.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,ma.level))),ne.createElement("div",{className:Bt.rate},ne.createElement(Ie.Z,{allowHalf:!0,disabled:!0,defaultValue:ma.score_info}),ne.createElement("span",null,"\xA0",ma.score_info?`${ma.score_info}\u5206`:"5\u5206")))),!Ra&&ne.createElement("div",{className:Bt.lockWrap},ne.createElement("img",{src:`${Mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!cn.length&&ne.createElement(nn.Z,null)))},tn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},br=({className:$t,dataSource:cn=[],col:dn=4,right:Rn,bottom:yr=23,precision:Tr=0,wrapWidth:vr=1200,wrapClassName:Pr,trackEventItems:ia,loading:Va})=>{const ma=Math.floor((vr-(dn-1)*Rn)/dn);return ne.createElement(en.Z,{spinning:Va},ne.createElement("div",{className:Se()(tn.list,$t)},!!cn.length&&cn.map((Gr,Ea)=>{const{name:ja,id:ai,identifier:Ra,power:da,cover_image_id:ci,pic:mi}=Gr;return ne.createElement("div",{className:Se()(tn.wrap,Pr),key:ai,style:{width:ma,marginRight:(1+Ea)%dn===0?0:Rn+Tr,marginBottom:yr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${Ra}/challenges`,className:tn.li,onClick:io=>{io.preventDefault(),ia&&(0,vn.L9)([ia]),da&&(0,vn.xg)(`/shixuns/${Ra}/challenges`)}},ne.createElement("img",{src:ee(79633),className:tn.titleBg}),ne.createElement("div",{className:tn.name},ne.createElement(ct.Z,{title:ja||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:tn.e},ja||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{style:{padding:"14px",paddingBottom:0}},ne.createElement("div",{className:tn.img},ne.createElement("img",{className:tn.cover,src:ci?`${Mt.Z.API_SERVER}/api/attachments/${ci}`:`${Mt.Z.IMG_SERVER+mi}`}),Gr.is_jupyter&&ne.createElement("div",{className:tn.bq},"Jupyter"),Gr.is_jupyter_lab&&ne.createElement("div",{className:tn.bq},"JupyterLab"),Gr.is_unity_3d&&ne.createElement("div",{className:tn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ne.createElement("div",{className:"mt20 flex item-center justify-between"},ne.createElement("div",null,ne.createElement("span",{className:tn.text},"\u5B66\u4E60\u4EBA\u6570"),ne.createElement("span",{className:tn.value},Gr.myshixuns_count)),ne.createElement("div",null,ne.createElement("span",{className:tn.text},"\u56F0\u96BE\u7B49\u7EA7"),ne.createElement("span",{className:tn.value},Gr.level))),ne.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ne.createElement("div",null,ne.createElement("span",{className:tn.text},"\u5173\u5361\u6570"),ne.createElement("span",{className:tn.value},Gr.challenges_count)),ne.createElement("div",{className:tn.rate},ne.createElement(Ie.Z,{allowHalf:!0,disabled:!0,defaultValue:Gr.score_info}),ne.createElement("span",{className:tn.value,style:{color:"#FF9C00"}},"\xA0",Gr.score_info?`${Gr.score_info}\u5206`:"5\u5206"))))),!da&&ne.createElement("div",{className:tn.lockWrap},ne.createElement("img",{src:`${Mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!cn.length&&ne.createElement(nn.Z,null)))},gn={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},Ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5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JCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",ge=({className:$t,dataSource:cn=[],col:dn=4,right:Rn,bottom:yr=23,precision:Tr=0,wrapWidth:vr=1200,trackEventItems:Pr,loading:ia,wrapClassName:Va,imgClassName:ma})=>{const Gr=Math.floor((vr-(dn-1)*Rn)/dn);return ne.createElement(en.Z,{spinning:ia},ne.createElement("div",{className:Se()(gn.list,$t)},!!cn.length&&cn.map((Ea,ja)=>{const{name:ai,id:Ra,identifier:da,power:ci,cover_image_id:mi,pic:io}=Ea;return ne.createElement("div",{className:Se()(gn.wrap,Va),key:Ra,style:{width:Gr,marginRight:(1+ja)%dn===0?0:Rn+Tr,marginBottom:yr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${da}/challenges`,className:gn.li,onClick:po=>{po.preventDefault(),Pr&&(0,vn.L9)([Pr]),ci&&(0,vn.xg)(`/shixuns/${da}/challenges`)}},ne.createElement("div",{className:Se()(gn.img,ma)},ne.createElement("img",{className:gn.cover,src:mi?`${Mt.Z.API_SERVER}/api/attachments/${mi}`:`${Mt.Z.IMG_SERVER+io}`}),Ea.is_jupyter&&ne.createElement("img",{className:gn.sign,src:Ye}),Ea.is_jupyter_lab&&ne.createElement("img",{className:gn.sign,src:ve}),Ea.is_unity_3d&&ne.createElement("img",{className:gn.sign,src:he})),ne.createElement("div",{className:gn.name},ne.createElement(ct.Z,{title:ai||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:gn.e},ai||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:gn.tags},ne.createElement(ct.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,Ea.challenges_count))),!!Ea.myshixuns_count&&ne.createElement(ct.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ne.createElement("span",null,Ea.myshixuns_count))),ne.createElement(ct.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,Ea.level))),ne.createElement("div",{className:gn.rate},ne.createElement(Ie.Z,{allowHalf:!0,disabled:!0,defaultValue:Ea.score_info}),ne.createElement("span",null,"\xA0",Ea.score_info?`${Ea.score_info}\u5206`:"5\u5206")))),!ci&&ne.createElement("div",{className:gn.lockWrap},ne.createElement("img",{src:`${Mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!cn.length&&ne.createElement(nn.Z,null)))},se=ee(5476),je={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},xt=ee(79005),En=ee(20345),un=ee(77882),Pn=ee(31081),Xn=ee(75309),_n=ee(71979),Vt=ee(47558),yn=ee(60345),Kn=ee(66832),On=ee(96593),Qt=ee(19664),Dr=ee(91833),jt=Object.defineProperty,rn=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,Rr=($t,cn,dn)=>cn in $t?jt($t,cn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):$t[cn]=dn,aa=($t,cn)=>{for(var dn in cn||(cn={}))Ir.call(cn,dn)&&Rr($t,dn,cn[dn]);if(rn)for(var dn of rn(cn))ur.call(cn,dn)&&Rr($t,dn,cn[dn]);return $t};const qn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:xt,swimg:En},{name:"101\u8BA1\u5212",ptimg:un,swimg:Pn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Xn,swimg:_n},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Vt,swimg:yn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Kn,swimg:On},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Qt,swimg:Dr}];var Fa=({className:$t,dataSource:cn=[],col:dn=4,right:Rn,bottom:yr=23,precision:Tr=0,wrapWidth:vr=1200,trackEventItems:Pr,loading:ia,wrapClassName:Va,imgClassName:ma,isArrow:Gr=!1,imgStyle:Ea={}})=>{const ja=Math.floor((vr-(dn-1)*Rn)/dn),[ai,Ra]=(0,ne.useState)(),[da,ci]=(0,ne.useState)(),mi=po=>Ra(po),io=()=>Ra(-1);return ne.createElement(en.Z,{spinning:ia},ne.createElement("div",{className:Se()(je.list,$t)},!!(cn!=null&&cn.length)&&(cn==null?void 0:cn.map((po,Ao)=>{var uo;const{name:ho,id:ji,identifier:wo,featured:Zi,school_name:gi,image_url:mo,excellent:_o,is_plan:Wi}=po;return ne.createElement("div",{key:ji,className:Se()(je.wrap,Va),style:{width:ja,marginRight:(1+Ao)%dn===0?0:Rn+Tr,marginBottom:yr}},ne.createElement("a",{target:"_blank",href:`/paths/${wo}`,className:je.li,onClick:al=>{al.preventDefault(),Pr&&(0,vn.L9)([Pr]),(0,vn.xg)(`/paths/${wo}`)}},ne.createElement("img",{src:ee(39057),className:je.titleBg}),ne.createElement("div",{className:je.name},ne.createElement(ct.Z,{title:ho},ne.createElement("span",{className:je.e,style:{color:Gr&&ai===Ao?"#145DFF":"#000000"},onMouseEnter:()=>{mi(Ao)},onMouseLeave:io},ho))),ne.createElement("div",{style:{padding:"14px",paddingBottom:0}},ne.createElement("div",{className:Se()(je.img,ma)},ne.createElement("img",{className:je.cover,style:aa({},Ea),src:`${Mt.Z.IMG_SERVER+mo}`}),(uo=po==null?void 0:po.subject_tags)==null?void 0:uo.map((al,fl)=>{var hl,qo;if(fl===0){const Wl=(hl=qn.find(Vo=>Vo.name==al))==null?void 0:hl.swimg;return ne.createElement("img",{className:je.sign,src:Wl,style:{left:"-4px"}})}const Mo=(qo=qn.find(Wl=>Wl.name==al))==null?void 0:qo.ptimg;return ne.createElement("img",{className:je.sign,src:Mo,style:{left:`${48+52*(fl-1)+2*fl}px`}})}),ne.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(po==null?void 0:po.excellent)&&ne.createElement("div",{className:je.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ne.createElement("div",null,ne.createElement("span",{className:je.text},"\u7AE0\u8282\u6570"),ne.createElement("span",{className:je.value},po.stages_count)),ne.createElement("div",null,ne.createElement("span",{className:je.text},"\u5B66\u4E60\u4EBA\u6570"),ne.createElement("span",{className:je.value},po.members_count))))))})),!cn.length&&ne.createElement(nn.Z,null)))},_a={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Xr=ee(52262),Da=ee(67294);const Mi=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:xt,swimg:En},{name:"101\u8BA1\u5212",ptimg:un,swimg:Pn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Xn,swimg:_n},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Vt,swimg:yn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Kn,swimg:On},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Qt,swimg:Dr}];var zi=({className:$t,dataSource:cn=[],col:dn=4,right:Rn,bottom:yr=23,precision:Tr=0,wrapWidth:vr=1200,trackEventItems:Pr,loading:ia,onRemove:Va=()=>{},isCurrent:ma=!0,showAlias:Gr=!1,wrapClassName:Ea,imgClassName:ja})=>{const ai=Math.floor((vr-(dn-1)*Rn)/dn),Ra=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(da=>(window.ENV==="build"&&(da.ptimg=`/react/build${da.ptimg}`,da.swimg=`/react/build${da.swimg}`),da));return Da.createElement(en.Z,{spinning:ia},Da.createElement("div",{className:Se()(_a.list,$t)},!!(cn!=null&&cn.length)&&(cn==null?void 0:cn.map((da,ci)=>{var mi;const{name:io,id:po,identifier:Ao,featured:uo,school_name:ho,image_url:ji,excellent:wo,is_plan:Zi}=da;return Da.createElement("div",{key:po,className:Se()(_a.wrap,Ea),style:{width:ai,marginRight:(1+ci)%dn===0?0:Rn+Tr,marginBottom:yr}},Da.createElement("a",{className:_a.li,onClick:gi=>{gi.preventDefault(),gi.stopPropagation(),Pr&&(0,vn.L9)([Pr]),(0,vn.xg)(`/paths/${Ao}`)}},Da.createElement("div",{className:Se()(_a.img,ja)},Da.createElement("img",{className:_a.cover,src:`${Mt.Z.IMG_SERVER+ji}`}),ma&&(0,Xr.bg)()&&(da==null?void 0:da.studying)&&Da.createElement("div",{className:`${_a.movebq} user-path-items`,onClick:gi=>{gi.stopPropagation(),Va(da)}},Da.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Da.createElement("span",{className:"c-red"},"\u79FB\u9664")),(mi=da==null?void 0:da.subject_tags)==null?void 0:mi.map((gi,mo)=>{var _o,Wi;if(mo===0){const fl=(_o=Ra.find(hl=>hl.name==gi))==null?void 0:_o.swimg;return Da.createElement("img",{className:_a.sign,src:fl,style:{left:"-4px"}})}const al=(Wi=Ra.find(fl=>fl.name==gi))==null?void 0:Wi.ptimg;return Da.createElement("img",{className:_a.sign,src:al,style:{left:`${48+52*(mo-1)+2*mo}px`}})}),Da.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(da==null?void 0:da.excellent)&&Da.createElement("div",{className:_a.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Da.createElement("div",{className:_a.name},Da.createElement(ct.Z,{title:Gr&&(da!=null&&da.excellent_alias_name)?Da.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${io}`,Da.createElement("br",null),Da.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${da==null?void 0:da.excellent_alias_name}`)):io},Da.createElement("span",{className:_a.e},Gr&&(da==null?void 0:da.excellent_alias_name)||io))),Da.createElement("div",{className:_a.tags},Da.createElement("div",null,Da.createElement(ct.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Da.createElement("span",null,Da.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Da.createElement("span",null,da.stages_count))),Da.createElement(ct.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Da.createElement("span",null,Da.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Da.createElement("span",null,da.members_count)))))))})),!cn.length&&Da.createElement(nn.Z,null)))},fi={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Tn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnE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H3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",bn=ee(67294),Cr=({className:$t,dataSource:cn=[],col:dn=4,right:Rn,bottom:yr=23,precision:Tr=0,wrapWidth:vr=1200,trackEventItems:Pr,loading:ia})=>{const Va=Math.floor((vr-(dn-1)*Rn)/dn);return bn.createElement(en.Z,{spinning:ia},bn.createElement("div",{className:Se()(fi.list,$t)},!!cn.length&&cn.map((ma,Gr)=>{const{subject_identifier:Ea,id:ja,identifier:ai,power:Ra}=ma,da=ma.is_public!=0&&ma.is_public;return bn.createElement("div",{className:fi.wrap,key:ja,style:{width:Va,marginRight:(1+Gr)%dn===0?0:Rn+Tr,marginBottom:yr}},bn.createElement("a",{className:fi.li,onClick:ci=>{ci.preventDefault(),Pr&&(0,vn.L9)([Pr]),(0,vn.xg)(ma.first_category_url)}},bn.createElement("div",{className:fi.top},bn.createElement(ct.Z,{title:ma.name},bn.createElement("div",{className:fi.name},ma.name)),bn.createElement("img",{className:fi.img,src:Mt.Z.IMG_SERVER+"/images/"+ma.avatar_url}),bn.createElement("div",{className:fi.text,title:ma.creator},ma.creator),Ea&&bn.createElement("div",{className:fi.btns},bn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),bn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),da&&bn.createElement("div",{className:fi.sign},"\u516C\u5F00")),bn.createElement("div",{className:fi.bottom},ma.visits>0&&bn.createElement(ct.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-liulanyan"}),bn.createElement("span",null,ma.visits))),ma.course_members_count>0&&bn.createElement(ct.Z,{title:"\u6210\u5458",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-chengyuan"}),ma.course_members_count)),ma.tasks_count>0&&bn.createElement(ct.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-zuoye"}),ma.tasks_count)),ma.is_end?bn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):bn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ma.is_accessible&&bn.createElement("div",{className:fi.lockWrap},bn.createElement("img",{src:`${Mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),bn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!cn.length&&bn.createElement(nn.Z,null)))},Or={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Lr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUe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YuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",pn=({className:$t,dataSource:cn=[],col:dn=4,right:Rn,bottom:yr=23,precision:Tr=0,wrapWidth:vr=1200,wrapClassName:Pr,trackEventItems:ia,loading:Va})=>{const ma=Math.floor((vr-(dn-1)*Rn)/dn);return ne.createElement(en.Z,{spinning:Va},ne.createElement("div",{className:Se()(Or.list,$t)},!!cn.length&&cn.map((Gr,Ea)=>{const{subject_identifier:ja,id:ai,identifier:Ra,power:da}=Gr,ci=Gr.is_public!=0&&Gr.is_public;return ne.createElement("div",{className:Se()(`${Or.wrap} ${Gr.is_accessible?"":Or.warpStyle}`,Pr),key:ai,style:{width:ma,marginRight:(1+Ea)%dn===0?0:Rn+Tr,marginBottom:yr}},ne.createElement("a",{className:Or.li,onClick:mi=>{mi.preventDefault(),ia&&(0,vn.L9)([ia]),(0,vn.xg)(Gr.first_category_url)}},ne.createElement("div",{className:Or.creator},ne.createElement("img",{className:Or.img,src:Mt.Z.IMG_SERVER+"/images/"+Gr.avatar_url}),ne.createElement("div",{className:Or.text,title:Gr.creator},Gr.creator)),ne.createElement("div",{className:Or.top},ne.createElement(ct.Z,{title:Gr.name},ne.createElement("div",{className:Or.name},Gr.name)),ci&&ne.createElement("div",{className:Or.sign},"\u516C\u5F00")),ne.createElement("div",{className:Or.middle},ne.createElement("div",{className:Or.row,style:{marginBottom:6}},ne.createElement("div",null,ne.createElement("span",{className:Or.text},"\u8BBF\u95EE\u91CF"),ne.createElement("span",{className:Or.value},(Gr==null?void 0:Gr.visits)||0)),ne.createElement("div",null,ne.createElement("span",{className:Or.text},"\u6210\u5458"),ne.createElement("span",{className:Or.value},(Gr==null?void 0:Gr.course_members_count)||0))),ne.createElement("div",{className:Or.row},ne.createElement("div",null,ne.createElement("span",{className:Or.text,style:{width:42}},"\u4F5C",ne.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ne.createElement("span",{className:Or.value},(Gr==null?void 0:Gr.tasks_count)||0)),ne.createElement("div",null,ne.createElement("span",{className:Or.text},"\u72B6\u6001"),Gr.is_end?ne.createElement("span",{className:Or.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ne.createElement("span",{className:Or.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ja&&ne.createElement("div",{className:Or.btns},ne.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ne.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Gr.is_accessible&&ne.createElement("div",{className:Or.lockWrap},ne.createElement("img",{src:`${Mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!cn.length&&ne.createElement(nn.Z,null)))},At={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Zt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KR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CSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Yn=({className:$t,dataSource:cn=[],col:dn=4,right:Rn,bottom:yr=23,precision:Tr=0,wrapWidth:vr=1200,wrapClassName:Pr,trackEventItems:ia,loading:Va})=>{const ma=Math.floor((vr-(dn-1)*Rn)/dn);return ne.createElement(en.Z,{spinning:Va},ne.createElement("div",{className:Se()(At.list,$t)},!!cn.length&&cn.map((Gr,Ea)=>{const{subject_identifier:ja,id:ai,identifier:Ra,power:da}=Gr,ci=Gr.is_public!=0&&Gr.is_public;return ne.createElement("div",{className:Se()(`${At.wrap} ${Gr.is_accessible?"":At.warpStyle}`,Pr),key:ai,style:{width:ma,marginRight:(1+Ea)%dn===0?0:Rn+Tr,marginBottom:yr}},ne.createElement("a",{className:At.li,onClick:mi=>{mi.preventDefault(),ia&&(0,vn.L9)([ia]),(0,vn.xg)(Gr.first_category_url)}},ne.createElement("div",{className:At.creator},ne.createElement("img",{className:At.img,src:Mt.Z.IMG_SERVER+"/images/"+Gr.avatar_url}),ne.createElement("div",{className:At.text,title:Gr.creator},Gr.creator)),ne.createElement("div",{className:At.top},ne.createElement(ct.Z,{title:Gr.name},ne.createElement("div",{className:At.name},Gr.name)),ci&&ne.createElement("div",{className:At.sign})),ne.createElement("div",{className:At.middle},ne.createElement("div",{className:At.row,style:{marginBottom:6}},ne.createElement("div",null,ne.createElement("span",{className:At.text},"\u8BBF\u95EE\u91CF"),ne.createElement("span",{className:At.value},(Gr==null?void 0:Gr.visits)||0)),ne.createElement("div",null,ne.createElement("span",{className:At.text},"\u6210\u5458"),ne.createElement("span",{className:At.value},(Gr==null?void 0:Gr.course_members_count)||0))),ne.createElement("div",{className:At.row},ne.createElement("div",null,ne.createElement("span",{className:At.text,style:{width:42}},"\u4F5C",ne.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ne.createElement("span",{className:At.value},(Gr==null?void 0:Gr.tasks_count)||0)),ne.createElement("div",null,ne.createElement("span",{className:At.text},"\u72B6\u6001"),Gr.is_end?ne.createElement("span",{className:At.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ne.createElement("span",{className:At.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ja&&ne.createElement("div",{className:At.btns},ne.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ne.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Gr.is_accessible&&ne.createElement("div",{className:At.lockWrap},ne.createElement("img",{src:`${Mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!cn.length&&ne.createElement(nn.Z,null)))},Dt={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"},fn=ee(35973),kn=({dataSource:$t=[],value:cn,onChange:dn,className:Rn,style:yr={},tabBarExtraContent:Tr})=>ne.createElement("div",{className:Se()(Dt.tabs,Rn),style:yr},ne.createElement("div",{className:Dt.tabsWrap},$t.map((vr,Pr)=>ne.createElement("aside",{className:Dt.tab,onClick:()=>{dn(vr.id),vr.link&&fn.history.push(vr.link)},key:Pr},ne.createElement("div",{className:cn===vr.id?Dt.active:""},vr.name),(vr==null?void 0:vr.resetCount)==null&&(vr==null?void 0:vr.total)!==void 0&&ne.createElement("span",null,"\uFF08",vr==null?void 0:vr.total,"\uFF09"),(vr==null?void 0:vr.resetCount)!==void 0&&(vr==null?void 0:vr.total)!==void 0&&ne.createElement(ct.Z,{title:(vr==null?void 0:vr.tip)!=null?vr==null?void 0:vr.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},vr==null?void 0:vr.resetCount),"/",ne.createElement("span",null,vr==null?void 0:vr.total),"\uFF09"))))),ne.createElement("div",{className:Dt.tabBar},Tr)),rr={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},mn=({dataSource:$t=[],value:cn,onChange:dn,className:Rn,style:yr={},tabBarExtraContent:Tr})=>ne.createElement("div",{className:Se()(rr.tabs,Rn),style:yr},ne.createElement("div",{className:rr.tabsWrap},$t.map((vr,Pr)=>ne.createElement("aside",{className:rr.tab,onClick:()=>{dn(vr.id),vr.link&&fn.history.push(vr.link)},key:Pr},ne.createElement("div",{className:cn===vr.id?rr.active:""},vr.name),(vr==null?void 0:vr.resetCount)==null&&(vr==null?void 0:vr.total)!==void 0&&ne.createElement("span",null,"\uFF08",vr==null?void 0:vr.total,"\uFF09"),(vr==null?void 0:vr.resetCount)!==void 0&&(vr==null?void 0:vr.total)!==void 0&&ne.createElement(ct.Z,{title:(vr==null?void 0:vr.tip)!=null?vr==null?void 0:vr.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},vr==null?void 0:vr.resetCount),"/",ne.createElement("span",null,vr==null?void 0:vr.total),"\uFF09"))))),ne.createElement("div",{className:rr.tabBar},Tr)),Ta={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},ya=({dataSource:$t=[],value:cn,onChange:dn,className:Rn,style:yr={},tabBarExtraContent:Tr})=>ne.createElement("div",{className:Se()(Ta.tabs,Rn),style:yr},ne.createElement("div",{className:Ta.tabsWrap},$t.map((vr,Pr)=>ne.createElement("aside",{className:`${Ta.tab} ${cn===vr.id?Ta.active:""}`,onClick:()=>{dn(vr.id),vr.link&&fn.history.push(vr.link)},key:Pr},ne.createElement("div",null,vr.name),(vr==null?void 0:vr.resetCount)==null&&(vr==null?void 0:vr.total)!==void 0&&ne.createElement("span",null,"\uFF08",vr==null?void 0:vr.total,"\uFF09"),(vr==null?void 0:vr.resetCount)!==void 0&&(vr==null?void 0:vr.total)!==void 0&&ne.createElement(ct.Z,{title:(vr==null?void 0:vr.tip)!=null?vr==null?void 0:vr.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},vr==null?void 0:vr.resetCount),"/",ne.createElement("span",null,vr==null?void 0:vr.total),"\uFF09"))))),ne.createElement("div",{className:Ta.tabBar},Tr)),Ma=({className:$t,style:cn={},children:dn})=>ne.createElement("div",{className:Se()($t),style:cn},dn),pa={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"},Er=ee(85418),qr=ee(68508);const Hi=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var $a=({sortValue:$t,dropValue:cn,className:dn,onSort:Rn,onDrop:yr,dataSource:Tr=Hi})=>{var vr;return ne.createElement("div",{className:Se()(pa.orderWrap,dn)},ne.createElement(Er.Z,{dropdownRender:()=>ne.createElement(qr.default,null,Tr.map((Pr,ia)=>ne.createElement(qr.default.Item,{key:ia,onClick:()=>yr(Pr.id)},Pr.name)))},ne.createElement("span",{className:pa.orderTextWrap},(vr=Tr.find(Pr=>cn===Pr.id))==null?void 0:vr.name)),ne.createElement("span",{className:pa.orderIconWrap},ne.createElement("span",{className:pa.orderAsc},ne.createElement("i",{className:$t==="asc"?`iconfont icon-sanjiaoxing-up font12 ${pa.cursorPointer} ${pa.active}`:`iconfont icon-sanjiaoxing-up font12 ${pa.cursorPointer}`,onClick:()=>Rn($t==="asc"?"desc":"asc")})),ne.createElement("span",{className:pa.orderDesc},ne.createElement("i",{className:$t==="desc"?`iconfont icon-sanjiaoxing-down font12 ${pa.cursorPointer} ${pa.active}`:`iconfont icon-sanjiaoxing-down font12 ${pa.cursorPointer}`,onClick:()=>Rn($t==="asc"?"desc":"asc")}))))},ni={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const no=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var so=({sortValue:$t,dropValue:cn,className:dn,onSort:Rn,onDrop:yr,dataSource:Tr=no})=>{var vr;return ne.createElement("div",{className:Se()(ni.orderWrap,dn)},ne.createElement(Er.Z,{dropdownRender:()=>ne.createElement(qr.default,null,Tr.map((Pr,ia)=>ne.createElement(qr.default.Item,{key:ia,onClick:()=>yr(Pr.id)},Pr.name)))},ne.createElement("span",{className:ni.orderTextWrap},(vr=Tr.find(Pr=>cn===Pr.id))==null?void 0:vr.name)),ne.createElement("span",{className:ni.orderIconWrap},ne.createElement("span",{className:ni.orderAsc},ne.createElement("i",{className:$t==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ni.cursorPointer} ${ni.active}`:`iconfont icon-sanjiaoxing-up font12 ${ni.cursorPointer}`,onClick:()=>Rn($t==="asc"?"desc":"asc")})),ne.createElement("span",{className:ni.orderDesc},ne.createElement("i",{className:$t==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ni.cursorPointer} ${ni.active}`:`iconfont icon-sanjiaoxing-down font12 ${ni.cursorPointer}`,onClick:()=>Rn($t==="asc"?"desc":"asc")}))))},ta={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},to=ee(71577),xo=ee(52810),xl=Object.defineProperty,ll=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,wl=($t,cn,dn)=>cn in $t?xl($t,cn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):$t[cn]=dn,Yo=($t,cn)=>{for(var dn in cn||(cn={}))Uo.call(cn,dn)&&wl($t,dn,cn[dn]);if(ll)for(var dn of ll(cn))co.call(cn,dn)&&wl($t,dn,cn[dn]);return $t},gl=($t,cn)=>{var dn={};for(var Rn in $t)Uo.call($t,Rn)&&cn.indexOf(Rn)<0&&(dn[Rn]=$t[Rn]);if($t!=null&&ll)for(var Rn of ll($t))cn.indexOf(Rn)<0&&co.call($t,Rn)&&(dn[Rn]=$t[Rn]);return dn},zl=($t,cn,dn)=>new Promise((Rn,yr)=>{var Tr=ia=>{try{Pr(dn.next(ia))}catch(Va){yr(Va)}},vr=ia=>{try{Pr(dn.throw(ia))}catch(Va){yr(Va)}},Pr=ia=>ia.done?Rn(ia.value):Promise.resolve(ia.value).then(Tr,vr);Pr((dn=dn.apply($t,cn)).next())}),Cl=$t=>{var cn=$t,{className:dn,style:Rn,children:yr,loading:Tr=!1,openLoading:vr,onClick:Pr=()=>{},size:ia="middle",shape:Va="round",theme:ma}=cn,Gr=gl(cn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Ea,ja]=(0,ne.useState)(!1),ai=(0,ne.useMemo)(()=>{switch(ma){case xo.Fy.THEMEONE:return ta.ThemeOne;case xo.Fy.DEFAULT:default:return ta.btn}},[ma]);return ne.createElement(to.ZP,Yo({onClick:(0,me.throttle)(Ra=>zl(void 0,null,function*(){vr&&ja(!0);try{yield Pr(Ra)}catch(da){console.log("error",da)}vr&&ja(!1)}),2e3,{leading:!0,trailing:!1}),className:Se()(ai,ta[`${ia}-${Va}`],dn),style:Rn,size:ia,shape:Va,loading:Ea||Tr},Gr),yr)},wi={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"},Pi=({className:$t,style:cn,children:dn=null,onClick:Rn,title:yr})=>ne.createElement("div",{className:Se()(wi.head,$t),style:cn},ne.createElement("span",{className:"primary-hover",onClick:Rn},ne.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ne.createElement("b",{title:yr},yr),ne.createElement("div",{className:wi.node},dn)),Ci={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"},Mn=({confirmShow:$t=!0,confirmTitle:cn,confirmClick:dn,cancelShow:Rn=!0,cancelTitle:yr,cancelClick:Tr,className:vr,style:Pr,confirmLoading:ia=!1})=>ne.createElement("div",{className:Se()(Ci.btns,vr),style:Pr},$t&&ne.createElement(to.ZP,{loading:ia,onClick:dn,type:"primary",className:Ci.confirm},cn),Rn&&ne.createElement(to.ZP,{onClick:Tr,className:Ci.cancel},yr)),dr={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"},va=({className:$t,style:cn={},LeftContent:dn,children:Rn,RightContent:yr})=>ne.createElement("div",{className:Se()(dr.fixedBottom,$t),style:cn},ne.createElement("div",{className:dr.wrap},ne.createElement("div",{className:dr.left},dn),ne.createElement("div",{className:dr.center},Rn),ne.createElement("div",{className:dr.right},yr))),pi={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"},Vi=({className:$t,style:cn={},dataSource:dn=[]})=>ne.createElement("div",{className:Se()(pi.crumbs,$t),style:cn},dn.map((Rn,yr)=>yr<dn.length-1?ne.createElement(ne.Fragment,{key:yr},Rn.path||Rn.onClick?ne.createElement("span",{className:pi.hover,onClick:Rn!=null&&Rn.onClick?Rn.onClick:()=>fn.history.push(Rn.path)},Rn.name):ne.createElement("span",null,Rn.name),ne.createElement("span",null,"\xA0",">","\xA0")):ne.createElement("span",{key:yr,style:{color:"#5F6368"}},Rn.name))),ui=ee(55054),Di=Object.defineProperty,Eo=Object.defineProperties,Zo=Object.getOwnPropertyDescriptors,Qo=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,It=($t,cn,dn)=>cn in $t?Di($t,cn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):$t[cn]=dn,pe=($t,cn)=>{for(var dn in cn||(cn={}))He.call(cn,dn)&&It($t,dn,cn[dn]);if(Qo)for(var dn of Qo(cn))nt.call(cn,dn)&&It($t,dn,cn[dn]);return $t},Oe=($t,cn)=>Eo($t,Zo(cn)),Ae=($t,cn)=>{var dn={};for(var Rn in $t)He.call($t,Rn)&&cn.indexOf(Rn)<0&&(dn[Rn]=$t[Rn]);if($t!=null&&Qo)for(var Rn of Qo($t))cn.indexOf(Rn)<0&&nt.call($t,Rn)&&(dn[Rn]=$t[Rn]);return dn};const{Countdown:Ke}=ui.default;var at=$t=>{var cn=$t,{onChange:dn}=cn,Rn=Ae(cn,["onChange"]);const[yr,Tr]=(0,ne.useState)(null);(0,ne.useEffect)(()=>{typeof yr=="number"&&yr>=0&&dn(yr)},[yr]);const vr=Pr=>{const ia=Math.floor(Pr/1e3);Tr(ia)};return ne.createElement(Ke,Oe(pe({},Rn),{onChange:vr}))},ft={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},an=({DataProps:$t,className:cn,style:dn={}})=>{var Rn;return ne.createElement("div",{className:Se()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",ft.ClassRoomItem,cn),style:dn,onClick:()=>{(0,vn.xg)($t==null?void 0:$t.first_category_url)}},ne.createElement("div",{className:"flex flex-col item-center"},ne.createElement("img",{src:`${(Rn=Mt.Z)==null?void 0:Rn.IMG_SERVER}/images/${$t==null?void 0:$t.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),($t==null?void 0:$t.subject_identifier)&&ne.createElement("div",{className:"mt-40px"},ne.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ne.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ne.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ne.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!($t!=null&&$t.is_public)&&ne.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),ne.createElement("span",{className:Se()("text-16px font-medium",ft.TitleDom)},$t==null?void 0:$t.name)),ne.createElement("div",{className:"c-grey-333 font-medium"},$t==null?void 0:$t.creator),ne.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",$t==null?void 0:$t.course_members_count),ne.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ne.createElement("div",null,"\u4F5C\u4E1A\uFF1A",$t==null?void 0:$t.tasks_count),$t!=null&&$t.is_end?ne.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ne.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Qn=Object.defineProperty,cr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,$n=($t,cn,dn)=>cn in $t?Qn($t,cn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):$t[cn]=dn,Jn=($t,cn)=>{for(var dn in cn||(cn={}))Ar.call(cn,dn)&&$n($t,dn,cn[dn]);if(cr)for(var dn of cr(cn))Dn.call(cn,dn)&&$n($t,dn,cn[dn]);return $t},Hr=({DataProps:$t=[],selectValue:cn,onChange:dn,className:Rn,style:yr={},extra:Tr,classNameItem:vr,styleItem:Pr={},barHidden:ia})=>{const[Va,ma]=(0,ne.useState)();return(0,ne.useEffect)(()=>{ma(Array.isArray(cn)?cn:[cn])},[cn]),ne.createElement("div",{className:Se()("flex px-20px py-10px gap-40px",Rn),style:Jn({borderBottom:"1px solid #D3F0FF"},yr)},$t==null?void 0:$t.map(Gr=>ne.createElement("div",{key:Gr==null?void 0:Gr.id,className:Se()("flex item-center justify-center current c-grey-333 text-16 relative",vr,Gr==null?void 0:Gr.className),style:Jn(Jn({color:Va!=null&&Va.includes(Gr==null?void 0:Gr.id)?"#1890FF":"",minWidth:88},Pr),(Gr==null?void 0:Gr.style)||{}),onClick:Ea=>{dn==null||dn({domEvent:Ea,item:Gr}),Gr!=null&&Gr.link&&fn.history.push(Gr==null?void 0:Gr.link)}},Gr==null?void 0:Gr.name,!ia&&(Va==null?void 0:Va.includes(Gr==null?void 0:Gr.id))&&ne.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ne.createElement("div",{className:"ml-auto"},Tr))},zr=Object.defineProperty,Fr=Object.defineProperties,jr=Object.getOwnPropertyDescriptors,_r=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Pt=($t,cn,dn)=>cn in $t?zr($t,cn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):$t[cn]=dn,zn=($t,cn)=>{for(var dn in cn||(cn={}))Jr.call(cn,dn)&&Pt($t,dn,cn[dn]);if(_r)for(var dn of _r(cn))kt.call(cn,dn)&&Pt($t,dn,cn[dn]);return $t},Bn=($t,cn)=>Fr($t,jr(cn)),Zr=({value:$t,onChange:cn,onInputChange:dn,className:Rn,style:yr={},InputProps:Tr})=>{const[vr,Pr]=(0,ne.useState)($t);return ne.createElement("div",{className:Se()("flex item-center rounded-full px-10px py-2px",Rn),style:zn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},yr)},ne.createElement(ht.default,Bn(zn({bordered:!1},Tr),{onChange:ia=>{Pr(ia.target.value),dn==null||dn(encodeURIComponent(ia.target.value))},onPressEnter:ia=>{cn==null||cn({domEvent:ia,item:{value:vr}})}})),ne.createElement("img",{className:"h-22px current",src:ee(25365),height:22,onClick:ia=>{cn==null||cn({domEvent:ia,item:{value:vr}})}}))}},99914:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return de}});var ne=ee(67294);function de(Me,et){const we=(0,ne.useRef)();(0,ne.useEffect)(()=>{we.current=Me}),(0,ne.useEffect)(()=>{function ke(){we.current()}if(et!==null){let ce=setInterval(ke,et);return()=>clearInterval(ce)}},[et])}},81119:function(Hn,sn,ee){"use strict";ee.r(sn),ee.d(sn,{default:function(){return sa}});var ne=ee(67294),de={card:"card___c4ypw",head:"head___d2Dfo",element:"element___PyfcV",collaborator:"collaborator___o6MF4",btn:"btn___CF6mw",delSty:"delSty___Wm5pj",delBorder:"delBorder___IVg2Z",copHover:"copHover___rNmmw",wrap:"wrap___feope",center:"center___uU09V",tip:"tip___yCX57",title:"title___OpV1r",content:"content___XU4yH",fixedBtns:"fixedBtns___ItSdd"},Me=ee(94184),et=ee.n(Me),we=ee(64743),ke=ee(91304),ce=ee(71230),Se=ee(71577),me=ee(14446),Pe=ee(69677),Xe=ee(9430),fe=ee(22150),Ge=ee(83062),pt=ee(31795),ot=ee(2453),vt=ee(57953),Ee=ee(84567),wt=ee(78045),Rt=ee(34336),tt=ee(28706),st=ee(35973),ye=ee(50881),ue=ee(60887),$e=ee(32339),Je=ee(45587),ht=ee(24285),yt=ee(26194),Fe=Object.defineProperty,Be=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Tt=(pn,At,Zt)=>At in pn?Fe(pn,At,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):pn[At]=Zt,Bt=(pn,At)=>{for(var Zt in At||(At={}))ut.call(At,Zt)&&Tt(pn,Zt,At[Zt]);if(ze)for(var Zt of ze(At))rt.call(At,Zt)&&Tt(pn,Zt,At[Zt]);return pn},en=(pn,At)=>Be(pn,mt(At));const ct=ne.createContext({}),Ie=()=>{const{setActivatorNodeRef:pn,listeners:At}=(0,ne.useContext)(ct);return ne.createElement(Se.ZP,Bt({type:"text",size:"small",icon:ne.createElement(Ge.Z,{title:"\u53EF\u9F20\u6807\u62D6\u62FD\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"},ne.createElement(ye.Z,null)),style:{cursor:"move"},ref:pn},At))},Mt=pn=>{const{attributes:At,listeners:Zt,setNodeRef:on,setActivatorNodeRef:Yn,transform:Dt,transition:fn,isDragging:Vn}=(0,Je.nB)({id:pn["data-row-key"]}),kn=Bt(en(Bt({},pn.style),{transform:ht.ux.Translate.toString(Dt),transition:fn}),Vn?{position:"relative",zIndex:99}:{}),rr=(0,ne.useMemo)(()=>({setActivatorNodeRef:Yn,listeners:Zt}),[Yn,Zt]);return ne.createElement(ct.Provider,{value:rr},ne.createElement("tr",Bt(en(Bt({},pn),{ref:on,style:kn}),At)))};var qt=({columns:pn,dataSource:At,setDataSource:Zt,loading:on})=>{const Yn=({active:Dt,over:fn})=>{Dt.id!==(fn==null?void 0:fn.id)&&Zt(Vn=>{const kn=Vn.findIndex(fr=>fr.id===(Dt==null?void 0:Dt.id)),rr=Vn.findIndex(fr=>fr.id===(fn==null?void 0:fn.id));return(0,Je.Rp)(Vn,kn,rr)})};return ne.createElement(ue.LB,{modifiers:[$e.DL],onDragEnd:Yn},ne.createElement(Je.Fo,{items:At.map(Dt=>Dt.id),strategy:Je.qw},ne.createElement(Xe.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:on,locale:{emptyText:ne.createElement(yt.Z,{styles:{margin:"80px auto"},customText:ne.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",ne.createElement("span",{style:{color:"#CA7720"}},"\u53F3\u4E0A\u89D2\u64CD\u4F5C\u6309\u94AE"),"\u8FDB\u884C\u6DFB\u52A0\uFF5E")})},dataSource:At,components:{body:{row:Mt}},columns:[{key:"sort",align:"center",width:80,render:()=>ne.createElement(Ie,null)},...pn],size:"middle"})))},Nt=ee(66368),Kt=ee(85546),nn=ee(11713),Cn=ee(48305),Sn=ee(28452),tn=ee(33170),In={flex_box_center:"flex_box_center___Iqqr9",flex_space_between:"flex_space_between___y0uZc",flex_box_vertical_center:"flex_box_vertical_center___akeKA",flex_box_center_end:"flex_box_center_end___DEJG9",flex_box_column:"flex_box_column___pgYr1",scoremodal:"scoremodal___PYXCN",selectWrapper:"selectWrapper___RNoPX",selectWrappers:"selectWrappers___fUTXA",allqingchu:"allqingchu___k6Qgb",title:"title___AAfdA",score:"score___oYtrM",close:"close___i8V3V",content:"content___JpTOI",items:"items___je5K0",bottom:"bottom___jjylc",yes:"yes___Wh4La",no:"no___fIya2",titlecount:"titlecount___pZQaF",add:"add___hT0xx",search:"search___WBmWG",searchIcon:"searchIcon___LgZF_",tabWrap:"tabWrap___lGZ3A",previewModal:"previewModal___jPoO2"},br=ee(53430),gn={flex_box_center:"flex_box_center____Tkex",flex_space_between:"flex_space_between___EZnYm",flex_box_vertical_center:"flex_box_vertical_center___e6Uyw",flex_box_center_end:"flex_box_center_end___FubGu",flex_box_column:"flex_box_column___ibm4g",warp:"warp___IgClr",shixunbutton:"shixunbutton___DTP9s",redio:"redio___wfYmJ",redioitem:"redioitem___Lx8l8",redioitemyes:"redioitemyes___KKsIv",title:"title___GXJmE",titleyes:"titleyes___yYOlS",yestag:"yestag___WQlWV",qcount:"qcount___QpuQ9",score:"score___WkTL9",qtitle:"qtitle___TQM3w",checkbox:"checkbox___XWcyb",checkboxitem:"checkboxitem___eUzWD",checkboxitemyes:"checkboxitemyes___LOyRE",bottom:"bottom___IKM1j",bottomitem:"bottomitem___TaUK6",left:"left___szEjt",right:"right___XEuVG",completion:"completion___bVp0S",content:"content___R3KZ7",items:"items___DCx2v",simple:"simple___GPeTT",shixun:"shixun___hhixj",combination:"combination___toZnZ",program:"program___alaBk"},Ye=ee(35598),ve=ee(19575);const he=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var ge=({qitem:pn})=>{var At,Zt,on,Yn,Dt,fn,Vn,kn,rr,fr;return ne.createElement("div",{className:gn.warp},ne.createElement("div",{className:gn.mainPart},ne.createElement("div",{className:gn.qcount},(pn==null?void 0:pn.question_type)===8&&ne.createElement(Ye.Z,{className:gn.content,showProgramFill:!0,value:(At=pn==null?void 0:pn.program_attr)==null?void 0:At.description}),(pn==null?void 0:pn.question_type)!=8&&ne.createElement(Ye.Z,{className:gn.qtitle,value:(pn==null?void 0:pn.name)||(pn==null?void 0:pn.title)})),((pn==null?void 0:pn.question_type)===0||(pn==null?void 0:pn.question_type)===2)&&ne.createElement("div",null,(Zt=pn==null?void 0:pn.choices)==null?void 0:Zt.map((mn,Ta)=>ne.createElement("div",{className:gn.redio},!(mn!=null&&mn.is_answer)&&ne.createElement("span",{className:gn.redioitem}),(mn==null?void 0:mn.is_answer)&&ne.createElement("i",{className:`${gn.redioitemyes} icon-duigou1`}),ne.createElement(Ye.Z,{className:mn!=null&&mn.is_answer?gn.titleyes:gn.title,value:he[Ta]+(mn==null?void 0:mn.choice_text)}),(mn==null?void 0:mn.is_answer)&&ne.createElement("div",{className:gn.yestag},"\u6B63\u786E\u7B54\u6848")))),(pn==null?void 0:pn.question_type)===1&&ne.createElement("div",null,(on=pn==null?void 0:pn.choices)==null?void 0:on.map((mn,Ta)=>ne.createElement("div",{className:gn.checkbox},!(mn!=null&&mn.is_answer)&&ne.createElement("span",{className:gn.checkboxitem}),(mn==null?void 0:mn.is_answer)&&ne.createElement("i",{className:`${gn.checkboxitemyes} icon-duigou1`}),ne.createElement(Ye.Z,{className:mn!=null&&mn.is_answer?gn.titleyes:gn.title,value:he[Ta]+(mn==null?void 0:mn.choice_text)}),(mn==null?void 0:mn.is_answer)&&ne.createElement("div",{className:gn.yestag},"\u6B63\u786E\u7B54\u6848")))),(pn==null?void 0:pn.question_type)===3&&ne.createElement("div",{className:gn.completion},(Yn=pn==null?void 0:pn.standard_answer)==null?void 0:Yn.map((mn,Ta)=>{var ha;return ne.createElement("div",{style:{display:"flex"}},ne.createElement("span",{className:gn.title},"\u586B\u7A7A\u9879",Ta+1),ne.createElement("div",{className:gn.content},(ha=mn==null?void 0:mn.answer_text)==null?void 0:ha.map((ya,Sa)=>ne.createElement("div",{className:gn.items},ya))))})),(pn==null?void 0:pn.question_type)===4&&ne.createElement("div",{className:gn.simple},ne.createElement("div",{className:gn.title},"\u53C2\u8003\u7B54\u6848"),ne.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Dt=pn==null?void 0:pn.answer_texts)!=null&&Dt[0]?ne.createElement(Ye.Z,{className:gn.content,value:(fn=pn==null?void 0:pn.answer_texts)==null?void 0:fn[0]}):ne.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(pn==null?void 0:pn.question_type)===5&&((Vn=pn==null?void 0:pn.challenge_names)==null?void 0:Vn.map((mn,Ta)=>ne.createElement("div",{className:gn.shixun},ne.createElement("span",{className:gn.qtitle},ne.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,tt.EM)(Ta+1),"\u9898"),mn)))),(pn==null?void 0:pn.question_type)===6&&ne.createElement("div",{className:gn.program},ne.createElement(Ye.Z,{className:gn.content,value:((kn=pn==null?void 0:pn.program_attr)==null?void 0:kn.description)||"- -"})),(pn==null?void 0:pn.question_type)===7&&((rr=pn==null?void 0:pn.sub_item_banks)==null?void 0:rr.map((mn,Ta)=>{var ha,ya,Sa,Ma,pa;return ne.createElement("div",null,ne.createElement("div",{className:gn.combination},ne.createElement("span",{className:gn.qtitle},mn==null?void 0:mn.name)),ne.createElement("div",{className:gn.warp,style:{padding:"0px",paddingTop:20}},ne.createElement("div",null,((mn==null?void 0:mn.item_type)=="SINGLE"||(mn==null?void 0:mn.item_type)=="JUDGMENT")&&((ha=mn==null?void 0:mn.choices)==null?void 0:ha.map((Er,qr)=>ne.createElement("div",{className:gn.redio},!(Er!=null&&Er.is_answer)&&ne.createElement("span",{className:gn.redioitem}),(Er==null?void 0:Er.is_answer)&&ne.createElement("i",{className:`${gn.redioitemyes} icon-duigou1`}),ne.createElement(Ye.Z,{className:Er!=null&&Er.is_answer?gn.titleyes:gn.title,value:he[qr]+(Er==null?void 0:Er.choice_text)}),(Er==null?void 0:Er.is_answer)&&ne.createElement("div",{className:gn.yestag},"\u6B63\u786E\u7B54\u6848")))),(mn==null?void 0:mn.item_type)=="MULTIPLE"&&((ya=mn==null?void 0:mn.choices)==null?void 0:ya.map((Er,qr)=>ne.createElement("div",{className:gn.checkbox},!(Er!=null&&Er.is_answer)&&ne.createElement("span",{className:gn.checkboxitem}),(Er==null?void 0:Er.is_answer)&&ne.createElement("i",{className:`${gn.checkboxitemyes} icon-duigou1`}),ne.createElement(Ye.Z,{className:Er!=null&&Er.is_answer?gn.titleyes:gn.title,value:he[qr]+(Er==null?void 0:Er.choice_text)}),(Er==null?void 0:Er.is_answer)&&ne.createElement("div",{className:gn.yestag},"\u6B63\u786E\u7B54\u6848")))),(mn==null?void 0:mn.item_type)=="COMPLETION"&&ne.createElement("div",{className:gn.completion},(Sa=mn==null?void 0:mn.standard_answer)==null?void 0:Sa.map((Er,qr)=>{var Hi;return ne.createElement("div",{style:{display:"flex"}},ne.createElement("span",{className:gn.title},"\u586B\u7A7A\u9879",qr+1),ne.createElement("div",{className:gn.content},(Hi=Er==null?void 0:Er.answer_text)==null?void 0:Hi.map((Fi,$a)=>ne.createElement("div",{className:gn.items},Fi))))})),(mn==null?void 0:mn.item_type)=="SUBJECTIVE"&&ne.createElement("div",{className:gn.simple},ne.createElement("div",{className:gn.title},"\u53C2\u8003\u7B54\u6848"),ne.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Ma=mn==null?void 0:mn.answer_texts)!=null&&Ma[0]?ne.createElement(Ye.Z,{className:gn.content,value:(pa=mn==null?void 0:mn.answer_texts)==null?void 0:pa[0]}):ne.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(pn==null?void 0:pn.question_type)===8&&ne.createElement("div",null,ne.createElement(Ye.Z,{disabledFill:!0,className:gn.content,showProgramFill:!0,value:ve.Base64.decode(((fr=pn==null?void 0:pn.program_attr)==null?void 0:fr.code)||"")})),(pn==null?void 0:pn.question_type)===5&&ne.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},ne.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},ne.createElement("div",{style:{marginRight:30}},ne.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),ne.createElement("span",{style:{color:"#000000"}},(pn==null?void 0:pn.author_name)||"- -")),ne.createElement("div",{style:{marginRight:30}},ne.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),ne.createElement("span",{style:{color:"#000000"}},(pn==null?void 0:pn.author_school_name)||"- -")),ne.createElement("div",{style:{marginRight:30}},ne.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),ne.createElement("span",{style:{color:"#000000"}},(pn==null?void 0:pn.study_count)||"0"))),ne.createElement("a",{className:gn.shixunbutton,href:`/shixuns/${pn==null?void 0:pn.identifier}/challenges?exercise=true`,target:"_blank"},ne.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((pn==null?void 0:pn.question_type)<=4||[6,8].includes(pn==null?void 0:pn.question_type))&&ne.createElement("div",{className:gn.bottom},ne.createElement("div",{className:gn.bottomitem},ne.createElement("span",{className:gn.left},"\u89E3\u6790"),ne.createElement("span",{className:gn.right},pn!=null&&pn.analysis?ne.createElement(Ye.Z,{value:pn==null?void 0:pn.analysis}):ne.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ne.createElement("div",{className:gn.bottomitem},ne.createElement("span",{className:gn.left},"\u96BE\u5EA6"),ne.createElement("span",{className:gn.right},(pn==null?void 0:pn.difficulty)===1?"\u7B80\u5355":(pn==null?void 0:pn.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ne.createElement("div",{className:gn.bottomitem},ne.createElement("span",{className:gn.left},"\u77E5\u8BC6\u70B9"),ne.createElement("span",{className:gn.right},pn!=null&&pn.tag_discipline?pn==null?void 0:pn.tag_discipline:ne.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},se=ee(36913),je=ee(57971),xt=ee(38244),En=ee(17663),un=ee(67294),Pn=Object.defineProperty,Xn=Object.defineProperties,_n=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,On=(pn,At,Zt)=>At in pn?Pn(pn,At,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):pn[At]=Zt,Qt=(pn,At)=>{for(var Zt in At||(At={}))yn.call(At,Zt)&&On(pn,Zt,At[Zt]);if(Vt)for(var Zt of Vt(At))Kn.call(At,Zt)&&On(pn,Zt,At[Zt]);return pn},Dr=(pn,At)=>Xn(pn,_n(At)),jt=(pn,At,Zt)=>new Promise((on,Yn)=>{var Dt=kn=>{try{Vn(Zt.next(kn))}catch(rr){Yn(rr)}},fn=kn=>{try{Vn(Zt.throw(kn))}catch(rr){Yn(rr)}},Vn=kn=>kn.done?on(kn.value):Promise.resolve(kn.value).then(Dt,fn);Vn((Zt=Zt.apply(pn,At)).next())});const rn=({setScoreShow:pn,ScoreShow:At,onOk:Zt,isshixuns:on,isloadings:Yn,dispatch:Dt,selectedIds:fn,user:Vn,virtualId:kn,shixunsDetail:rr})=>{var fr;let[mn,Ta]=(0,ne.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[ha,ya]=(0,ne.useState)([]),[Sa,Ma]=(0,ne.useState)([]),[pa,Er]=(0,ne.useState)([]),[qr,Hi]=(0,ne.useState)([]);const[Fi,$a]=(0,ne.useState)(!1),[ni]=fe.default.useForm(),[no,oi]=(0,ne.useState)(),[so,ta]=(0,ne.useState)(!1);let[to,xo]=(0,ne.useState)(on);const[xl,ll]=(0,ne.useState)([]),[Uo,co]=(0,ne.useState)(0),[wl,Yo]=(0,ne.useState)(!0),[gl,zl]=(0,ne.useState)([]),[Sl,Cl]=(0,ne.useState)([]),wi=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[ko,Pi]=(0,ne.useState)([]),Ci=(0,ne.useRef)(new Set),Zn=(0,ne.useRef)(new Set),Mn=(0,ne.useRef)(1),dr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Qr=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],va=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[pi,Ai]=(0,ne.useState)(!1),Vi=()=>{ni.resetFields(),to=!1,xo(!1),Ai(!1),ni.submit()};(0,ne.useEffect)(()=>{At&&(ni.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),wl&&to&&(ni.setFieldsValue({item_type:"SHIXUN"}),mn.item_type="SHIXUN",Ta(Qt({},mn)),Yo(!1)),mn.type="0",Ma(fn),Er(fn),Zn.current=new Set(fn),ui(mn),Di(),Eo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Zo())},[At]),console.log(Sa,pa,"listitems"),(0,ne.useEffect)(()=>{Uo>0&&setTimeout(()=>{co(0)},2e3)},[Uo]);function ui(Ae){return jt(this,null,function*(){var Ke,Qe,at;if($a(!0),Ta(Qt({},Ae)),(pa==null?void 0:pa.length)<=0&&Ae.type==="5"){Hi([]),$a(!1);return}let ft=Ae.type==="5"?pa==null?void 0:pa.filter(cr=>!xl.includes(cr)):null,Xt=Ae.type==="5"?pa==null?void 0:pa.filter(cr=>xl.includes(cr)):null;Mn.current=Mn.current+1;const an=Mn.current;Ae.group_id=((Ke=Ae.group_id)==null?void 0:Ke.map(cr=>cr==null?void 0:cr.value))||null;let Qn=yield(0,tn.ZP)("/api/item_banks.json",{method:"get",params:Dr(Qt({},Ae),{discipline_id:((Qe=Ae==null?void 0:Ae.courseid)==null?void 0:Qe[0])||null,sub_discipline_id:((at=Ae==null?void 0:Ae.courseid)==null?void 0:at[1])||null,ids:ft,shixun_ids:Xt,include_shixuns:!0,keyword:Ae.keyword?encodeURIComponent(Ae.keyword):Ae.keyword,type:Ae.type==="5"?null:Ae.type,clazz:Ae.type==="3"?"ItemBanksGroup":null})});Mn.current===an&&(Hi(Qn),$a(!1))})}function Di(){return jt(this,null,function*(){let Ae=yield(0,tn.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:mn.type==="5"?null:mn.type,clazz:"ItemBanksGroup"}});ya((0,br.L)(Ae==null?void 0:Ae.disciplines))})}function Eo(Ae){return jt(this,null,function*(){var Ke;let Qe=yield(0,tn.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Ae}),at=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Ke=Qe==null?void 0:Qe.data)==null?void 0:Ke.map(ft=>({title:ft.name,id:ft.id,pid:ft.id,value:ft.id,key:ft.id,isLeaf:!ft.have_child}))}];zl(at)})}function Zo(){return jt(this,null,function*(){let Ae=yield(0,xt.Dm)({});(Ae==null?void 0:Ae.status)===0&&Cl(Ae==null?void 0:Ae.groups)})}function Qo(Ae){return jt(this,null,function*(){var Ke,Qe,at,ft;$a(!0);let Xt=(Ke=Ae.list)==null?void 0:Ke.filter(cr=>!xl.includes(cr)),an=(Qe=Ae.list)==null?void 0:Qe.filter(cr=>xl.includes(cr));if(Xt.length===0&&an.length===0){$a(!1),Hi([]);return}let Qn=yield(0,tn.ZP)("/api/item_banks.json",{method:"get",params:Dr(Qt({},Ae),{discipline_id:((at=Ae==null?void 0:Ae.courseid)==null?void 0:at[0])||null,sub_discipline_id:((ft=Ae==null?void 0:Ae.courseid)==null?void 0:ft[1])||null,ids:Xt,shixun_ids:an,type:Ae.type==="5"?null:Ae.type,clazz:Ae.type==="3"?"ItemBanksGroup":null})});$a(!1),Hi(Qn)})}const He=Ae=>jt(void 0,null,function*(){const Ke=yield Dt({type:"shixunsDetail/release",payload:{id:Ae}});let Qe=Ke==null?void 0:Ke.tag_position,at=(Ke==null?void 0:Ke.evaluation_set_position)||[],ft=Ke.status;return ft===0?(ot.ZP.success("\u53D1\u5E03\u6210\u529F"),ui(mn),!0):(ft===2?ot.ZP.error(`\u7B2C${at.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):ft===3?ot.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Qe.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):ot.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),nt=Ae=>(Ae==null?void 0:Ae.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",It=()=>Fi?"\u6682\u65E0\u6570\u636E":mn.type==="3"&&!(Sl!=null&&Sl.length)?un.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",un.createElement("span",{onClick:()=>{var Ae;return(0,tt.xg)(`/users/${(Ae=Vn==null?void 0:Vn.userInfo)==null?void 0:Ae.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):mn.type==="0"&&(qr==null?void 0:qr.items_count)===0&&!(mn!=null&&mn.tag_discipline_id)&&!(mn!=null&&mn.difficulty)&&!(mn!=null&&mn.keyword)&&!(mn!=null&&mn.group_id)&&!(mn!=null&&mn.difficulty)?un.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",un.createElement("span",{onClick:()=>{(0,tt.xg)(`/problems/newcreate?&pageId=${kn}`),pn(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",pe=(Ae,Ke,Qe)=>Ae.map(at=>at.key===Ke?Qt(Qt({},at),Qe):at.children?Dr(Qt({},at),{children:pe(at.children,Ke,Qe)}):at),Oe=Ae=>jt(void 0,null,function*(){const{key:Ke}=Ae;let Qe=mn.type;const at=yield(0,xt.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Ke),type:Qe}),{data:ft,total_count:Xt}=at||{};Xt>0&&zl(an=>pe(an,Ke,{children:ft.map(Qn=>({title:Qn.name,id:Qn.id,pid:Qn.id,value:Qn.id,key:Qn.id,isLeaf:!Qn.have_child}))}))});return un.createElement("div",null,un.createElement(me.default,{title:!1,footer:!1,open:At,width:1200,centered:!0,className:In.scoremodal,onCancel:()=>{pn(!1)}},un.createElement("div",{style:{display:"flex",alignItems:"center"}},un.createElement("div",{className:In.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),un.createElement(Nt.default,{className:In.tabWrap,activeKey:mn.type,onChange:Ae=>{Ae==="3"?(mn.show_all_share=!0,Eo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):mn.show_all_share=null,Ae==="0"&&Eo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),mn.type=Ae,mn.page=1,mn.updated_at="",mn.quotes="",mn.courseid="",mn.tag_discipline_id=null,mn.difficulty=null,mn.keyword=null,mn.group_id=null,mn.teach_group_id=null,ni.setFieldsValue({courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(mn==null?void 0:mn.item_type)==="SHIXUN"&&mn.type!=="5"&&(to=!0,xo(!0)),Ai(!1),mn.type==="5"&&(to=!1,xo(!1)),Ta(Qt({},mn)),ui(Qt({},mn)),Di()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:un.createElement("div",null,"\u5DF2\u9009",pa.length>0&&un.createElement("span",{className:In.titlecount},pa.length),Uo>0&&un.createElement("span",{className:In.add},"+",Uo)),key:"5"}]}),un.createElement(fe.default,{layout:"inline",form:ni,onValuesChange:(Ae,Ke)=>{const Qe=Object.values(Ke).some(ft=>ft!==null&&ft!==""&&ft!==void 0),at=Ke.keyword==="";if(Ai(Qe||!at),mn.page=1,(Ke==null?void 0:Ke.item_type)==="SHIXUN"){if(mn.type==="5"?xo(!1):xo(!0),Ae.keyword||Ae.keyword==="")return;ni.submit()}else{if(Ae!=null&&Ae.courseid&&ni.setFieldsValue({tag_discipline_id:""}),xo(!1),Ae.keyword||Ae.keyword==="")return;ni.submit()}},onFinish:Ae=>{var Ke;mn.type==="3"&&(!Ae.group_id||((Ke=Ae==null?void 0:Ae.group_id)==null?void 0:Ke.length)===0)?mn.show_all_share=!0:mn.show_all_share=null,Ta(Qt(Qt({},mn),Ae)),ui(Qt(Qt({},mn),Ae))}},un.createElement(fe.default.Item,{name:"courseid"},un.createElement(Kt.Z,{className:In.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:ha})),!to&&un.createElement(fe.default.Item,{name:"tag_discipline_id"},un.createElement(nn.default,{className:In.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(fr=qr==null?void 0:qr.tag_disciplines)==null?void 0:fr.map(Ae=>un.createElement(nn.default.Option,{key:Ae.id},Ae.name)))),un.createElement(fe.default.Item,{name:to?"diff":"difficulty"},un.createElement(nn.default,{className:In.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!to&&dr.map(Ae=>un.createElement(nn.default.Option,{key:Ae.value},Ae.name)),to&&Qr.map(Ae=>un.createElement(nn.default.Option,{key:Ae.value},Ae.name)))),to&&un.createElement(fe.default.Item,{name:"shixun_publish_status"},un.createElement(nn.default,{className:In.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},va.map(Ae=>un.createElement(nn.default.Option,{key:Ae.value},Ae.name)))),mn.type==="3"&&!to&&un.createElement(fe.default.Item,{name:"teach_group_id"},un.createElement(nn.default,{className:In.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(Ae,Ke)=>(console.log("---",Ae,Ke),Ke.children.toUpperCase().indexOf(Ae.toUpperCase())!==-1)},Sl==null?void 0:Sl.map(Ae=>un.createElement(nn.default.Option,{key:Ae.group_id},Ae.name)))),(mn.type==="3"||mn.type==="0")&&!to&&un.createElement(fe.default.Item,{name:"group_id"},un.createElement(Cn.default,{treeDataSimpleMode:!0,style:{width:118},className:In.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(Ae,Ke)=>Ke.title.toUpperCase().indexOf(Ae.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Oe,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:gl})),pi&&un.createElement("span",{className:In.allqingchu,onClick:Vi},un.createElement("i",{className:"iconfont icon-guanbi4"}),un.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),un.createElement(fe.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},un.createElement(Pe.default.Search,{className:In.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:un.createElement("i",{className:`iconfont icon-sousuo9 font14 ${In.searchIcon}`,onClick:()=>ni.submit()}),onSearch:Ae=>{ni.submit()}}))),un.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},un.createElement("div",{onClick:()=>{mn.updated_at==="asc"?mn.updated_at="desc":mn.updated_at="asc",Ta(Dr(Qt({},mn),{page:1})),ui(Dr(Qt({},mn),{page:1}))}}," ",mn.updated_at?un.createElement("img",{src:mn.updated_at==="asc"?se.Z:je.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):un.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),un.createElement("div",{onClick:()=>{mn.quotes==="asc"?mn.quotes="desc":mn.quotes="asc",Ta(Dr(Qt({},mn),{page:1})),ui(Dr(Qt({},mn),{page:1}))},style:{marginLeft:20}}," ",mn.quotes?un.createElement("img",{src:mn.quotes==="asc"?se.Z:je.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):un.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),un.createElement(Xe.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(qr==null?void 0:qr.items)||(qr==null?void 0:qr.shixun_list),pagination:!1,locale:{emptyText:un.createElement(yt.Z,{styles:{margin:"18px auto"},customText:It()})},loading:Fi,rowKey:Ae=>Ae.id,rowSelection:{type:"checkbox",selectedRowKeys:Sa,getCheckboxProps:Ae=>({disabled:Ae.shixun_tag_num===1}),onSelect(Ae,Ke,Qe){if(Ke)(to||Ae!=null&&Ae.challenge_names)&&ll([...xl,Ae.id]),Ma([...Sa,Ae.id]),Pi([...ko,Ae]),Ae.identifier?Ci.current.add(Ae.id):Zn.current.add(Ae.id),co(1),Er([...pa,Ae.id]);else{const at=ko.filter(an=>an.id!==Ae.id);Pi(at);const ft=at.map(an=>an.id);Ma([...ft]),Ae.identifier?Ci.current.delete(Ae.id):Zn.current.delete(Ae.id);let Xt=pa.filter(an=>an!==Ae.id);if(Er(Xt),to||Ae!=null&&Ae.challenge_names){let an=xl.filter(Qn=>Qn!==Ae.id);ll([...an])}if(mn.type==="5"){Qo(Dr(Qt({},mn),{list:[...Xt]}));return}}},onSelectAll(Ae,Ke,Qe){var at,ft;if(Ae){const Xt=Qe.map(Qn=>Qn.id),an=(ft=Qe==null?void 0:Qe.filter(Qn=>Qn==null?void 0:Qn.challenge_names))==null?void 0:ft.map(Qn=>Qn.id);ll([...xl,...an]),Pi([...ko,...Qe]),Ma([...Sa,...Xt]),Er([...pa,...Xt]);for(const Qn of Qe)Qn.identifier?Ci.current.add(Qn.id):Zn.current.add(Qn.id)}else{const Xt=Qe.map(Dn=>Dn.id),an=Sa.filter(Dn=>!Xt.some($n=>$n===Dn)),Qn=ko.filter(Dn=>!Xt.some($n=>$n===Dn.id)),cr=(at=Qe==null?void 0:Qe.filter(Dn=>Dn==null?void 0:Dn.challenge_names))==null?void 0:at.map(Dn=>Dn.id);Pi(Qn),Ma([...an]),Er([...an]);let Ar=xl.filter(Dn=>!cr.some($n=>$n===Dn.id));ll([...Ar]),mn.type==="5"&&Qo(Dr(Qt({},mn),{list:[...an]}));for(const Dn of Xt)Dn.identifier?Ci.current.delete(Dn):Zn.current.delete(Dn)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(Ae,Ke,Qe)=>{const at=`No.${Ae}`;return un.createElement(Ge.Z,{title:at},un.createElement("span",null,at))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:to?"30%":"60%",key:"name",render:(Ae,Ke,Qe)=>{var at;return un.createElement(Ge.Z,{title:nt(Ke)},un.createElement("span",null,un.createElement(Ye.Z,{key:1,showLines:1,showTextOnly:!0,value:to||Ke!=null&&Ke.challenge_names?Ke!=null&&Ke.title||Ae===null?"--":Ae:(Ke==null?void 0:Ke.item_type)=="BPROGRAM"?(at=Ke==null?void 0:Ke.program_attr)==null?void 0:at.description:Ae})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(Ae,Ke,Qe)=>un.createElement(Ge.Z,{title:Ae},un.createElement("span",null,Ae||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!to,render:(Ae,Ke,Qe)=>{var at;return un.createElement(Ge.Z,{title:nt(Ke)},un.createElement("span",null,Ae?(at=Ae==null?void 0:Ae.split("\u3001"))==null?void 0:at[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!to,render:(Ae,Ke,Qe)=>un.createElement(Ge.Z,{title:nt(Ke)},un.createElement("span",null,Ae||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(Ae,Ke,Qe)=>{var at,ft,Xt,an;return un.createElement(Ge.Z,{title:nt(Ke)},un.createElement("div",null,to||Ke!=null&&Ke.challenge_names?(Ke==null?void 0:Ke.level)||((ft=(at=dr==null?void 0:dr.filter(Qn=>Qn.value===Ae))==null?void 0:at[0])==null?void 0:ft.name):(an=(Xt=dr==null?void 0:dr.filter(Qn=>Qn.value===Ae))==null?void 0:Xt[0])==null?void 0:an.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!to,render:(Ae,Ke,Qe)=>un.createElement(Ge.Z,{title:nt(Ke)},un.createElement("div",null,Ae||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(Ae,Ke,Qe)=>un.createElement(Ge.Z,{title:nt(Ke)},un.createElement("div",null,to||Ke!=null&&Ke.challenge_names?(Ke==null?void 0:Ke.study_count)||(Ke==null?void 0:Ke.stu_num):Ae))},{title:un.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",un.createElement(Ge.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},un.createElement(En.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!to,render:(Ae,Ke,Qe)=>un.createElement(Ge.Z,{title:nt(Ke)},un.createElement("div",null,Ae||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(Ae,Ke,Qe)=>un.createElement(Ge.Z,{title:nt(Ke)},un.createElement("div",{style:{flex:1,textAlign:"start"}},un.createElement("a",{onClick:()=>{var at,ft;oi(Dr(Qt({},Ke),{question_type:to||Ke!=null&&Ke.challenge_names?5:(ft=(at=wi==null?void 0:wi.filter(Xt=>Xt.value===(Ke==null?void 0:Ke.item_type)))==null?void 0:at[0])==null?void 0:ft.question_type})),ta(!0)}},"\u67E5\u770B"),(Ke==null?void 0:Ke.shixun_tag_num)===1&&un.createElement("a",{style:{marginLeft:10},onClick:()=>{me.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:un.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",un.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Ke==null?void 0:Ke.identifier}/challenges`)}},(Ke==null?void 0:Ke.shixun_name)||"--"),"\uFF1F"),onOk:()=>jt(void 0,null,function*(){if(!He(Ke==null?void 0:Ke.identifier))return new Promise((at,ft)=>{ft()})})})}},"\u53D1\u5E03")))}].filter(Ae=>!Ae.hidden)}),un.createElement(Sn.Z,{current:mn.page,total:(qr==null?void 0:qr.items_count)||(qr==null?void 0:qr.shixuns_count),style:{marginBottom:20},defaultPageSize:mn.per_page,hideOnSinglePage:!(qr!=null&&qr.items_count),showTotal:Ae=>un.createElement("span",null,"\u5171\xA0",un.createElement("span",{style:{color:"#165DFF"}},Ae),"\xA0\u6761\u6570\u636E"),pageSize:mn.per_page,onChange:(Ae,Ke)=>{mn.page=Ae,mn.per_page=Ke,Ta(Qt({},mn)),ui(Qt({},mn))}}),un.createElement("div",{className:In.bottom},un.createElement(Se.ZP,{className:In.no,onClick:()=>{pn(!1)}},"\u53D6\u6D88"),un.createElement(Se.ZP,{loading:Yn,style:{width:Yn&&75},className:In.yes,onClick:()=>jt(void 0,null,function*(){if((pa==null?void 0:pa.length)<=0){ot.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}Zt([...Zn.current],[...Ci.current],!0,pa==null?void 0:pa.length)})},"\u786E\u8BA4"))),un.createElement(me.default,{open:so,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:In.previewModal,width:1e3,centered:!0,onCancel:()=>{ta(!1)},onOk:()=>{ta(!1)}},un.createElement(ge,{qitem:no})))};var Ir=(0,st.connect)(({shixunsDetail:pn,user:At})=>({shixunsDetail:pn,user:At}))(rn),ur=ee(12082),Rr=ee(27484),aa=ee.n(Rr),qn=ee(67294),Pa=Object.defineProperty,Fa=Object.defineProperties,_a=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,Si=(pn,At,Zt)=>At in pn?Pa(pn,At,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):pn[At]=Zt,zi=(pn,At)=>{for(var Zt in At||(At={}))Da.call(At,Zt)&&Si(pn,Zt,At[Zt]);if(Xr)for(var Zt of Xr(At))Mi.call(At,Zt)&&Si(pn,Zt,At[Zt]);return pn},fi=(pn,At)=>Fa(pn,_a(At)),Tn=(pn,At)=>{var Zt={};for(var on in pn)Da.call(pn,on)&&At.indexOf(on)<0&&(Zt[on]=pn[on]);if(pn!=null&&Xr)for(var on of Xr(pn))At.indexOf(on)<0&&Mi.call(pn,on)&&(Zt[on]=pn[on]);return Zt},bn=(pn,At,Zt)=>new Promise((on,Yn)=>{var Dt=kn=>{try{Vn(Zt.next(kn))}catch(rr){Yn(rr)}},fn=kn=>{try{Vn(Zt.throw(kn))}catch(rr){Yn(rr)}},Vn=kn=>kn.done?on(kn.value):Promise.resolve(kn.value).then(Dt,fn);Vn((Zt=Zt.apply(pn,At)).next())});const ir=({title:pn,icon:At,className:Zt,style:on,children:Yn})=>qn.createElement("div",{className:et()(de.card,Zt),style:on},qn.createElement("div",{className:de.head},qn.createElement("i",{className:At}),qn.createElement("b",null,pn)),qn.createElement("div",{className:de.element},Yn)),Cr=pn=>{var At=pn,{value:Zt,onChange:on}=At,Yn=Tn(At,["value","onChange"]);return qn.createElement(ke.Z,fi(zi({},Yn),{defaultValue:Zt,onChange:on}))},Or=({value:pn=[],onChange:At,params:Zt,className:on})=>{const[Yn,Dt]=(0,ne.useState)(!1),[fn,Vn]=(0,ne.useState)([]),[kn,rr]=(0,ne.useState)(""),[fr,mn]=(0,ne.useState)([]),[Ta,ha]=(0,ne.useState)("");(0,ne.useEffect)(()=>{ya()},[]);function ya(){return bn(this,null,function*(){let Sa=yield(0,tn.ZP)(`/api/courses/${Zt==null?void 0:Zt.coursesId}/teachers`,{method:"get",params:{homework_id:Zt.categoryId,limit:1e3}});mn((Sa==null?void 0:Sa.teacher_list)||[])})}return qn.createElement(ne.Fragment,null,qn.createElement("div",{className:et()(de.collaborator,on)},pn==null?void 0:pn.map(Sa=>qn.createElement(ce.Z,{align:"middle",className:`${de.btn} ${Ta==(Sa==null?void 0:Sa.user_id)?de.delBorder:""}`,key:Sa.user_id},qn.createElement("span",{className:"c-grey-333"},Sa==null?void 0:Sa.name),qn.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${de.delSty}`,onMouseEnter:()=>{ha(Sa==null?void 0:Sa.user_id)},onMouseLeave:()=>{ha("")},onClick:()=>{const Ma=pn.filter(pa=>pa.user_id!==Sa.user_id);Vn(Ma.map(pa=>pa.user_id)),At(Ma)}}))),qn.createElement(Se.ZP,{className:de.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>Dt(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),qn.createElement(me.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Yn,onCancel:()=>Dt(!1),onOk:()=>{const Sa=fr.filter(Ma=>fn.includes(Ma.user_id));At(Sa),Dt(!1)},afterClose:()=>{rr("")}},qn.createElement(ce.Z,{align:"middle"},qn.createElement("label",null,"\u59D3\u540D\uFF1A"),qn.createElement(Pe.default.Search,{value:kn,size:"middle",style:{flex:1},onChange:Sa=>rr(Sa.target.value)})),qn.createElement(Xe.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:Sa=>{Vn(Sa)},selectedRowKeys:fn,getCheckboxProps:Sa=>({disabled:Sa.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:fr.filter(Sa=>Sa.name.includes(kn)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var sa=()=>{var pn;const At=(0,st.useParams)(),Zt=(0,st.useDispatch)(),[on]=fe.default.useForm(),Yn=fe.default.useWatch("hack_score_settings",on),Dt=fe.default.useWatch("open_code",on),fn=fe.default.useWatch("rank_forbidden",on),Vn=fe.default.useWatch("hack_analysis",on),kn=fe.default.useWatch("hack_answer",on),[rr,fr]=(0,ne.useState)([]),[mn,Ta]=(0,ne.useState)({}),[ha,ya]=(0,ne.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[Sa,Ma]=(0,ne.useState)(!0),[pa,Er]=(0,ne.useState)(!1),[qr,Hi]=(0,ne.useState)(!1),[Fi,$a]=(0,ne.useState)({}),[ni,no]=(0,ne.useState)(!1),[oi,so]=(0,ne.useState)(!1),ta=(0,ne.useRef)(!1),to=(0,ne.useRef)(String(Math.random()).slice(-6)),xo=(pn=window.location.pathname)==null?void 0:pn.includes("add");(0,ne.useEffect)(()=>(window.addEventListener("visibilitychange",xl),()=>{window.removeEventListener("visibilitychange",xl)}),[rr,Fi]),(0,ne.useEffect)(()=>(Zt({type:"globalSetting/footerToggle",payload:!1}),()=>{Zt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ne.useEffect)(()=>{rr.length&&Yn!==void 0&&gl()},[Yn,JSON.stringify(rr==null?void 0:rr.map(wi=>wi.id+wi.hack_score))]),(0,ne.useEffect)(()=>{ll(),xo?Ma(!1):Uo()},[]);const xl=()=>bn(void 0,null,function*(){var wi;if(document.visibilityState==="visible"){so(!0);let ko=rr.map(Zn=>Zn.id),Pi=localStorage.getItem(to.current);Pi&&(Pi=JSON.parse(Pi),Pi=Array.isArray(Pi)?Pi:[],ko=[...ko,...Pi],localStorage.removeItem(to.current));const Ci=yield(0,tn.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:ko.length?ko:-1,homework_common_id:xo?null:Fi==null?void 0:Fi.homework_id}});if(Ci!=null&&Ci.items){const Zn=(wi=Ci==null?void 0:Ci.items)==null?void 0:wi.map(Mn=>{const dr=rr.find(Qr=>Qr.id===Mn.id);return dr?fi(zi({},Mn),{hack_score:dr.hack_score}):Mn});fr(Zn)}so(!1)}}),ll=()=>bn(void 0,null,function*(){const wi=yield(0,tn.ZP)(`/api/courses/${At.coursesId}/homework_commons/new.json`,{method:"get",params:{category:At==null?void 0:At.categoryId,type:5}});wi!=null&&wi.course_name&&Ta(wi)}),Uo=()=>bn(void 0,null,function*(){var wi,ko;const Pi=yield(0,tn.ZP)(`/api/homework_commons/${At==null?void 0:At.categoryId}/edit_hack.json`,{method:"get"});if((Pi==null?void 0:Pi.status)===0){const Ci=(wi=Pi==null?void 0:Pi.collaborators_data)==null?void 0:wi.map(Mn=>({user_id:Mn.id,name:Mn.real_name}));on.setFieldsValue(fi(zi({},Pi),{user_ids:Ci,rank_forbidden_start:Pi!=null&&Pi.rank_forbidden_start?aa()(Pi==null?void 0:Pi.rank_forbidden_start):"",rank_forbidden_end:Pi!=null&&Pi.rank_forbidden_end?aa()(Pi==null?void 0:Pi.rank_forbidden_end):""}));const Zn=(ko=Pi==null?void 0:Pi.items)==null?void 0:ko.map((Mn,dr)=>{var Qr,va;return fi(zi({},Mn),{hack_score:(va=(Qr=Pi==null?void 0:Pi.hack_settings)==null?void 0:Qr[dr])==null?void 0:va.hack_score})});fr(Zn||[]),$a(zi({},Pi))}Ma(!1)}),co=()=>{let wi=`/classrooms/${At==null?void 0:At.coursesId}/program_homework`;return xo||(wi=`/classrooms/${At==null?void 0:At.coursesId}/program_homework/${At==null?void 0:At.categoryId}/detail`),wi},wl=[{name:(mn==null?void 0:mn.course_name)||"",path:`/classrooms/${mn==null?void 0:mn.course_id}/program_homework`},{name:xo?"\u7F16\u7A0B\u4F5C\u4E1A":Fi==null?void 0:Fi.name,path:co()},{name:(xo?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],Yo=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(wi,ko,Pi)=>Pi+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:wi=>qn.createElement(Ge.Z,{placement:"topLeft",title:wi},qn.createElement("span",null,wi||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(wi,ko,Pi)=>qn.createElement(pt.Z,{disabled:Yn!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:wi,onChange:Ci=>{rr[Pi].hack_score=Ci;const Zn=rr.reduce((Mn,dr)=>Mn+Number(dr.hack_score||0),0);on.setFieldsValue({total_score:Zn.toFixed(2)}),fr([...rr])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:wi=>qn.createElement("span",null,wi===1?"\u7B80\u5355":wi===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:wi=>qn.createElement(Ge.Z,{placement:"topLeft",title:wi},qn.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},wi||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(wi,ko)=>qn.createElement("span",null,qn.createElement("span",{onClick:()=>bn(void 0,null,function*(){var Pi;Zt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let Ci=yield(0,tn.ZP)(`/api/problems/${(Pi=ko==null?void 0:ko.program_attr)==null?void 0:Pi.identifier}/start.json`,{method:"get"});(Ci==null?void 0:Ci.status)===0&&(0,tt.xg)(`/myproblems/${Ci==null?void 0:Ci.identifier}?type=1&pageId=edit&backUrl=${co()}`),Zt({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),qn.createElement("span",{onClick:()=>{var Pi;return(0,tt.xg)(`/problems/newedit/${(Pi=ko==null?void 0:ko.program_attr)==null?void 0:Pi.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),qn.createElement("span",{onClick:()=>{const Pi=rr.filter(Ci=>Ci.id!==ko.id);fr(Pi),ot.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],gl=()=>{const wi=[...rr],ko=on.getFieldValue("total_score"),Pi=wi==null?void 0:wi.length;let Ci=0,Zn;switch(Yn){case 0:const Mn=(ko/Pi).toFixed(2);wi.map((Di,Eo)=>{Ci=Eo,Di.hack_score=Mn>0?Mn:0}),Zn=(ko-Mn*(Pi-1)).toFixed(2),wi[Ci].hack_score=Zn>0?Zn:0;break;case 1:const dr=[0,1,3,6];let Qr=0;const va=wi.filter(Di=>Di.difficulty===1).length*dr[1],pi=wi.filter(Di=>Di.difficulty===2).length*dr[2],Ai=wi.filter(Di=>Di.difficulty===3).length*dr[3],Vi=ko/(va+pi+Ai);wi.map((Di,Eo)=>{Ci=Eo,Di.hack_score=(dr[Di.difficulty]*Vi).toFixed(2),Qr=Qr+Number(Di.hack_score)});let ui=wi[Ci].hack_score;Zn=(ko-Qr+Number(ui)).toFixed(2),wi[Ci].hack_score=Zn>0?Zn:0;break}fr(wi)},zl=wi=>{ta.current=wi,on.submit()},Sl=wi=>bn(void 0,null,function*(){var ko;if(!rr.length){ot.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),on.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}no(!0);const Pi=[],Ci=rr.map(dr=>(Pi.push(dr.hack_id),{hack_id:dr.hack_id,hack_name:dr.name,hack_score:dr.hack_score,difficult:dr.difficulty})),Zn=(ko=wi==null?void 0:wi.user_ids)==null?void 0:ko.map(dr=>dr.user_id),Mn=yield(0,tn.ZP)(`/api/courses/${At.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:fi(zi({},wi),{category:xo?Number(At==null?void 0:At.categoryId):null,homework_id:xo?null:Fi==null?void 0:Fi.homework_id,hack_settings:Ci,user_ids:Zn,hack_ids:Pi})});if((Mn==null?void 0:Mn.status)===0)if(ot.ZP.success("\u4FDD\u5B58\u6210\u529F"),ta.current){const dr=zi({},Mn);ya(dr),Zt({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Mn==null?void 0:Mn.id],selectArrsAll:[dr],params:At,detail:!0,type:2,manage_all_group:dr==null?void 0:dr.manage_all_group}})}else st.history.push(`/classrooms/${At.coursesId}/program_homework/${Mn==null?void 0:Mn.id}/detail`);no(!1)}),Cl=wi=>bn(void 0,null,function*(){if(!wi.length){ot.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(wi.length>200){ot.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const ko=[],Pi=rr.map(Mn=>{var dr;return(dr=Mn.program_attr)==null?void 0:dr.origin_item_bank_id}),Ci=[];wi.forEach(Mn=>{if(Pi.includes(Mn)){const dr=rr.find(Qr=>{var va;return((va=Qr.program_attr)==null?void 0:va.origin_item_bank_id)===Mn});Ci.push(dr)}else ko.push(Mn)}),Hi(!0);const Zn=yield(0,tn.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:ko}});if(Zn!=null&&Zn.items){const Mn=[...Ci,...Zn==null?void 0:Zn.items];if(Yn===2){const dr=Mn.reduce((Qr,va)=>Qr+Number(va.hack_score||0),0);on.setFieldsValue({total_score:dr.toFixed(2)})}fr(Mn),Er(!1)}Hi(!1)});return qn.createElement("div",{className:de.wrap},qn.createElement(vt.Z,{spinning:Sa},qn.createElement("div",{className:de.center},qn.createElement(we._b,{dataSource:wl,className:"mb20"}),qn.createElement(fe.default,{form:on,preserve:!1,onValuesChange:wi=>{"total_score"in wi&&gl()},onFinishFailed:wi=>bn(void 0,null,function*(){var ko,Pi;ot.ZP.error(wi.errorFields[0].errors[0]),on.scrollToField((Pi=(ko=wi==null?void 0:wi.errorFields)==null?void 0:ko[0])==null?void 0:Pi.name,{behavior:"smooth",block:"center"})}),onFinish:Sl,colon:!1,size:"large"},qn.createElement(ir,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},qn.createElement(fe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"},{whitespace:!0,message:"\u4F5C\u4E1A\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},qn.createElement(Pe.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),qn.createElement(fe.default.Item,{labelCol:{flex:"81px"},label:"\u4F5C\u4E1A\u8BF4\u660E",name:"description",initialValue:"",rules:[{max:5e4,message:"\u4F5C\u4E1A\u8BF4\u660E\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26"}]},qn.createElement(Cr,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),qn.createElement(ir,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},qn.createElement(fe.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},qn.createElement(Ee.default.Group,null,qn.createElement(Ee.default,{value:"c"},"C\u8BED\u8A00"),qn.createElement(Ee.default,{value:"c++"},"C++\u8BED\u8A00"),qn.createElement(Ee.default,{value:"java"},"Java\u8BED\u8A00"),qn.createElement(Ee.default,{value:"python"},"Python\u8BED\u8A00"))),qn.createElement(ce.Z,{align:"middle"},qn.createElement(fe.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},qn.createElement(pt.Z,{precision:1,disabled:Yn===2,min:0,style:{width:223},addonAfter:"\u5206"})),qn.createElement(fe.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},qn.createElement(pt.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),qn.createElement(fe.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},qn.createElement(wt.ZP.Group,null,qn.createElement(wt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),qn.createElement(wt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),qn.createElement(wt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),qn.createElement(ce.Z,{align:"middle"},qn.createElement("span",null,"\u9898\u76EE\u5217\u8868"),qn.createElement(Se.ZP,{onClick:()=>Er(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),qn.createElement(Se.ZP,{onClick:()=>(0,tt.xg)(`/problems/newcreate?pageId=${to.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),qn.createElement("div",{className:de.tip},qn.createElement("i",{className:"iconfont icon-tishi12 mr5 font14"}),"\u63D0\u793A\uFF1A\u53EF\u4EE5\u70B9\u51FB\u201C\u7F16\u8F91\u201D\u5BF9\u8BE5\u8BD5\u9898\u7684\u6D4B\u8BD5\u7528\u4F8B/\u521D\u59CB\u4EE3\u7801\u8FDB\u884C\u4FEE\u6539\uFF0C\u4FEE\u6539\u7684\u5185\u5BB9\u5E76\u4E0D\u4F1A\u540C\u6B65\u5230\u8BD5\u9898\u5E93"),qn.createElement(fe.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},qn.createElement(qt,{dataSource:rr,setDataSource:fr,columns:Yo,loading:oi}))),qn.createElement(ir,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},qn.createElement("div",{className:de.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),qn.createElement("div",{className:`${de.content} mb30`},qn.createElement(fe.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},qn.createElement(wt.ZP.Group,null,qn.createElement(wt.ZP,{value:0},qn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),qn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),qn.createElement(wt.ZP,{style:{marginLeft:40},value:1},qn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),qn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),qn.createElement("div",{className:`${de.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),qn.createElement("div",{className:de.content},qn.createElement(fe.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},qn.createElement(Ee.default,null,qn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),qn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801\uFF0C\u5426\u5219\u53EA\u5C55\u793A\u5728\u4F5C\u4E1A\u65F6\u95F4\u8303\u56F4\u5185\u63D0\u4EA4\u7684\u4EE3\u7801\uFF09")))),qn.createElement("div",{className:`${de.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),qn.createElement("div",{className:de.content},qn.createElement(fe.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},qn.createElement(Ee.default,null,qn.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),qn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\u5B66\u751F\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u540E\uFF0C\u53EF\u67E5\u770B\u5176\u4ED6\u5B66\u751F\u7684\u6210\u7EE9\uFF09"))),qn.createElement(fe.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},qn.createElement(Ee.default,null,qn.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),qn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09"))),!!Dt&&qn.createElement(fe.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},qn.createElement(wt.ZP.Group,null,qn.createElement(wt.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),qn.createElement(wt.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),qn.createElement(fe.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},qn.createElement(Ee.default,null,qn.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),qn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09"))),!!fn&&qn.createElement(ce.Z,{align:"middle",className:"ml25"},qn.createElement(fe.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"rank_forbidden_start",initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},qn.createElement(Rt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:tt.Q8,disabledTime:tt.d0})),qn.createElement(fe.default.Item,{label:"\u622A\u6B62\u65F6\u95F4",name:"rank_forbidden_end",style:{marginLeft:40},initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},qn.createElement(Rt.default,{style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:tt.Q8,disabledTime:tt.d0}))),qn.createElement(fe.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},qn.createElement(Ee.default,null,qn.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),qn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!Vn&&qn.createElement(fe.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},qn.createElement(wt.ZP.Group,null,qn.createElement(wt.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),qn.createElement(wt.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),qn.createElement(wt.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),qn.createElement(fe.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},qn.createElement(Ee.default,null,qn.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),qn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!kn&&qn.createElement(fe.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},qn.createElement(wt.ZP.Group,null,qn.createElement(wt.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),qn.createElement(wt.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),qn.createElement("div",{className:`${de.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),qn.createElement(fe.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},qn.createElement(Or,{params:At}))))),qn.createElement("div",{className:de.fixedBtns},qn.createElement(ce.Z,{align:"middle",className:de.center},qn.createElement(Se.ZP,{onClick:()=>st.history.push(co()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),qn.createElement(Se.ZP,{loading:ni&&!ta.current,disabled:ni&&ta.current,onClick:()=>zl(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),qn.createElement(Se.ZP,{loading:ni&&ta.current,disabled:ni&&!ta.current,onClick:()=>zl(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),qn.createElement(Ir,{setScoreShow:Er,isshixuns:!1,ScoreShow:pa,virtualId:to.current,isloadings:qr,onOk:Cl,selectedIds:rr.map(wi=>{var ko;return(ko=wi.program_attr)==null?void 0:ko.origin_item_bank_id})||[]}),qn.createElement(ur.Z,{courseEndTime:ha==null?void 0:ha.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${At==null?void 0:At.coursesId}/program_homework/${ha==null?void 0:ha.id}/detail`}}))}},12082:function(Hn,sn,ee){"use strict";var ne=ee(67294),de=ee(22150),Me=ee(2453),et=ee(14446),we=ee(71230),ke=ee(78045),ce=ee(31795),Se=ee(15746),me=ee(34336),Pe=ee(84567),Xe=ee(27484),fe=ee.n(Xe),Ge=ee(33170),pt=ee(52262),ot=ee(28706),vt=ee(35973),Ee=ee(12317),wt=ee(89779),Rt=ee(17998),tt=ee(67294),st=Object.defineProperty,ye=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,yt=(rt,Tt,Bt)=>Tt in rt?st(rt,Tt,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):rt[Tt]=Bt,Fe=(rt,Tt)=>{for(var Bt in Tt||(Tt={}))Je.call(Tt,Bt)&&yt(rt,Bt,Tt[Bt]);if($e)for(var Bt of $e(Tt))ht.call(Tt,Bt)&&yt(rt,Bt,Tt[Bt]);return rt},Be=(rt,Tt)=>ye(rt,ue(Tt)),mt=(rt,Tt)=>{var Bt={};for(var en in rt)Je.call(rt,en)&&Tt.indexOf(en)<0&&(Bt[en]=rt[en]);if(rt!=null&&$e)for(var en of $e(rt))Tt.indexOf(en)<0&&ht.call(rt,en)&&(Bt[en]=rt[en]);return Bt},ze=(rt,Tt,Bt)=>new Promise((en,ct)=>{var Ie=qt=>{try{vn(Bt.next(qt))}catch(Nt){ct(Nt)}},Mt=qt=>{try{vn(Bt.throw(qt))}catch(Nt){ct(Nt)}},vn=qt=>qt.done?en(qt.value):Promise.resolve(qt.value).then(Ie,Mt);vn((Bt=Bt.apply(rt,Tt)).next())});const ut=rt=>{var Tt=rt,{classroomList:Bt,dispatch:en,courseEndTime:ct,onWindowBack:Ie}=Tt,Mt=mt(Tt,["classroomList","dispatch","courseEndTime","onWindowBack"]),vn,qt,Nt,Kt,nn,Cn,Sn,tn,In,br,gn,Ye,ve,he,be,ge,se,je,xt,En,un,Pn,Xn,_n,Vt,yn,Kn,On,Qt,Dr,jt,rn,Ir,ur,Rr,aa,qn,Pa,Fa;const _a=(0,vt.useParams)(),[Xr]=de.default.useForm(),[Da,Mi]=(0,ne.useState)(1),[Si,zi]=(0,ne.useState)([]),[fi,Tn]=(0,ne.useState)(0),[bn,ir]=(0,ne.useState)(2e3),[Cr,Or]=(0,ne.useState)(!0),[Lr,sa]=(0,ne.useState)(!1),[pn,At]=(0,ne.useState)(!1),[Zt,on]=(0,ne.useState)([]),[Yn,Dt]=(0,ne.useState)(!0),[fn,Vn]=(0,ne.useState)(!((Nt=(qt=(vn=Bt.actionTabs)==null?void 0:vn.selectArrsAll)==null?void 0:qt[0])!=null&&Nt.send_type));let[kn,rr]=(0,ne.useState)([0,0,0]);(0,ne.useEffect)(()=>{var pa,Er,qr,Hi,Fi,$a,ni,no,oi,so,ta,to,xo;if(Bt.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(ha(),(qr=(Er=(pa=Bt.actionTabs)==null?void 0:pa.selectArrsAll)==null?void 0:Er[0])!=null&&qr.can_publish?rr([...(oi=(no=(ni=Bt.actionTabs)==null?void 0:ni.selectArrsAll)==null?void 0:no[0])==null?void 0:oi.difficult_count]):rr([...($a=(Fi=(Hi=Bt.actionTabs)==null?void 0:Hi.selectArrsAll)==null?void 0:Fi[0])==null?void 0:$a.difficult_settings]),Vn(!((to=(ta=(so=Bt.actionTabs)==null?void 0:so.selectArrsAll)==null?void 0:ta[0])!=null&&to.send_type)),fr(),Bt.actionTabs.type===2){const xl=(xo=Bt.actionTabs.selectArrsAll)==null?void 0:xo[0];Dt(xl.unified_setting)}else Dt(!1)},[Bt.actionTabs]),(0,ne.useEffect)(()=>{if(Lr){if(pn)return;en({type:"classroomList/setActionTabs",payload:{}}),(0,pt.GJ)()?(en({type:"classroomList/getClassroomTeacherCommonList",payload:Be(Fe({},Bt.actionTabs.params),{type:1})}),en({type:"shixunHomeworks/getWorkList",payload:Fe({},_a)})):en({type:"classroomList/getClassroomCommonList",payload:Fe({},Bt.actionTabs.params)})}},[Lr]);const fr=pa=>ze(void 0,null,function*(){Or(!0);const Er=yield(0,wt.c_)(Be(Fe({},_a),{page:pa||Da,limit:2e4,homework_id:Bt.actionTabs.type===1?"":Bt.actionTabs.selectArrs[0]}));Er==null||Er.course_groups.map((qr,Hi)=>{qr.key=qr.id,qr.title=qr.name,qr.disabled=qr.is_published}),Er&&(zi([...Er==null?void 0:Er.course_groups]),Tn(Er==null?void 0:Er.course_groups_count),Or(!1),pa||Xr.setFieldsValue({publish_time:fe()(fe()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:fe()(fe()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),mn=()=>{(0,pt.GJ)()?Bt.actionTabs.detail?(en({type:"shixunHomeworks/setActionTabs",payload:{}}),en({type:"shixunHomeworks/getWorkList",payload:Fe({},_a)}),en({type:"shixunHomeworks/getWorkSetting",payload:Fe({},_a)})):en({type:"classroomList/getClassroomTeacherCommonList",payload:Be(Fe({},Bt.actionTabs.params),{type:5,category:Bt.actionTabs.params.categoryId})}):en({type:"classroomList/getClassroomCommonList",payload:Fe({},Bt.actionTabs.params)})},Ta=()=>ze(void 0,null,function*(){var pa,Er;if((0,pt.Rm)()&&!((pa=Bt.AssistantObject.hack)!=null&&pa.can_publish)){Me.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),Ma(!1);return}const qr=Fe({},Xr.getFieldsValue());if(qr.end_time<=qr.publish_time){Me.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Ma(!1);return}if((Zt==null?void 0:Zt.length)<=0&&!Yn&&Si.length>0){Me.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Ma(!1);return}if(kn.reduce(($a,ni)=>$a+ni)===0&&!fn){Me.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Ma(!1);return}let Hi={homework_ids:[...Bt.actionTabs.selectArrs],group_ids:Zt.length>0?Zt.map($a=>$a.id):(Er=Bt.detailCommonHomeworksList)==null?void 0:Er.course_groups,end_time:fe()(qr.end_time).format("YYYY-MM-DD HH:mm"),publish_time:fe()(qr.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:kn==null?void 0:kn.map($a=>$a),send_type:fn?"0":"1",unified_setting:!Zt.length};if(Ma(!0),(yield(0,Ge.ZP)(`/api/courses/${_a.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:Fe({},Hi)})).status===0){if(Ma(!1),(0,ot.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),Me.ZP.success("\u53D1\u5E03\u6210\u529F"),en({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),Ie){Ie();return}Mt.onCallback&&Mt.onCallback(),mn(),localStorage.getItem("Noviceguide")==="0"||en({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:tt.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})}else Ma(!1)}),ha=()=>{Mi(1),zi([]),on([])},ya=fi>Da*bn,[Sa,Ma]=(0,ne.useState)(!1);return tt.createElement(et.default,{width:600,confirmLoading:Sa,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Bt.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:Ta,onCancel:()=>{if(ha(),en({type:"classroomList/setActionTabs",payload:{}}),Ie){Ie();return}mn()}},tt.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",tt.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),Si&&tt.createElement(de.default,{form:Xr},tt.createElement("div",{style:{paddingLeft:0}},Bt.actionTabs.type===2&&tt.createElement(we.Z,{style:{marginBottom:"10px"}},tt.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),tt.createElement(ke.ZP.Group,{value:fn,disabled:!((Cn=(nn=(Kt=Bt.actionTabs)==null?void 0:Kt.selectArrsAll)==null?void 0:nn[0])!=null&&Cn.can_publish),onChange:pa=>{Vn(pa.target.value)}},tt.createElement(ke.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),tt.createElement(ke.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!fn&&tt.createElement(we.Z,{style:{marginBottom:"10px"}},tt.createElement("span",{style:{marginRight:65}}),tt.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",tt.createElement(ce.Z,{value:kn[0],onChange:pa=>{kn[0]=pa,rr([...kn])},min:0,disabled:!((In=(tn=(Sn=Bt.actionTabs)==null?void 0:Sn.selectArrsAll)==null?void 0:tn[0])!=null&&In.can_publish),placeholder:`\u6700\u5927${(ve=(Ye=(gn=(br=Bt.actionTabs)==null?void 0:br.selectArrsAll)==null?void 0:gn[0])==null?void 0:Ye.difficult_count)==null?void 0:ve[0]}`,max:(se=(ge=(be=(he=Bt.actionTabs)==null?void 0:he.selectArrsAll)==null?void 0:be[0])==null?void 0:ge.difficult_count)==null?void 0:se[0],style:{width:60}})),tt.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",tt.createElement(ce.Z,{value:kn[1],onChange:pa=>{kn[1]=pa,rr([...kn])},min:0,disabled:!((En=(xt=(je=Bt.actionTabs)==null?void 0:je.selectArrsAll)==null?void 0:xt[0])!=null&&En.can_publish),max:(_n=(Xn=(Pn=(un=Bt.actionTabs)==null?void 0:un.selectArrsAll)==null?void 0:Pn[0])==null?void 0:Xn.difficult_count)==null?void 0:_n[1],placeholder:`\u6700\u5927${(On=(Kn=(yn=(Vt=Bt.actionTabs)==null?void 0:Vt.selectArrsAll)==null?void 0:yn[0])==null?void 0:Kn.difficult_count)==null?void 0:On[1]}`,style:{width:60}})),tt.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",tt.createElement(ce.Z,{value:kn[2],onChange:pa=>{kn[2]=pa,rr([...kn])},min:0,disabled:!((jt=(Dr=(Qt=Bt.actionTabs)==null?void 0:Qt.selectArrsAll)==null?void 0:Dr[0])!=null&&jt.can_publish),placeholder:`\u6700\u5927${(Rr=(ur=(Ir=(rn=Bt.actionTabs)==null?void 0:rn.selectArrsAll)==null?void 0:Ir[0])==null?void 0:ur.difficult_count)==null?void 0:Rr[2]}`,max:(Fa=(Pa=(qn=(aa=Bt.actionTabs)==null?void 0:aa.selectArrsAll)==null?void 0:qn[0])==null?void 0:Pa.difficult_count)==null?void 0:Fa[2],style:{width:60}}))),tt.createElement(we.Z,{className:"mt30",align:"middle"},tt.createElement(Se.Z,null,tt.createElement(de.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},tt.createElement(me.default,{style:{width:170,marginRight:"25px"},disabledDate:pa=>(0,Rt.Q8)(pa,ct),disabledTime:pa=>(0,Rt.d0)(pa),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,ot.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),tt.createElement(Se.Z,{className:"ml20"},tt.createElement(de.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},tt.createElement(me.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:fe()((0,ot.U6)(),"HH:mm")},disabledDate:pa=>(0,Rt.Q8)(pa,ct,Xr.getFieldValue("publish_time")),disabledTime:pa=>(0,Rt.d0)(pa,Xr.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Bt.actionTabs.type===2&&tt.createElement(we.Z,{style:{marginBottom:"10px"}},tt.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),tt.createElement(ke.ZP.Group,{value:Yn,onChange:pa=>{Dt(pa.target.value),on([])}},tt.createElement(ke.ZP,{value:!0,disabled:!Bt.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),tt.createElement(ke.ZP,{className:"ml20",disabled:Si.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Si.length<=0&&Bt.actionTabs.type===2&&tt.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(Bt.actionTabs.type===1||!Yn)&&Si.length>0&&tt.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},tt.createElement("span",{style:{flex:1}},tt.createElement(Pe.default,{checked:Zt.length===Si.length,onChange:pa=>{Zt.length===Si.length?on([]):on(Si.filter(Er=>!Er.is_published))}},"\u5168\u9009")," "),tt.createElement("span",{style:{width:16}}),tt.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Zt.length||0,"\u4E2A\u5206\u73ED")),(Bt.actionTabs.type===1||!Yn)&&Si.length>0&&tt.createElement(Ee.Z,{data:Si,selectedRowKeys:Zt,setSelectedRowKeys:on})))};sn.Z=(0,vt.connect)(({classroomList:rt})=>({classroomList:rt}))(ut)},17998:function(Hn,sn,ee){"use strict";ee.d(sn,{Q8:function(){return Ie},d0:function(){return Mt},w6:function(){return ct}});var ne=ee(67294),de=ee(34336),Me=ee(11713),et=ee(2453),we=ee(14446),ke=ee(78045),ce=ee(71230),Se=ee(15746),me=ee(83062),Pe=ee(84567),Xe=ee(71577),fe=ee(27484),Ge=ee.n(fe),pt=ee(52262),ot=ee(33170),vt=ee(96486),Ee=ee.n(vt),wt=ee(28706),Rt=ee(39886),tt=ee(35973),st=ee(39717),ye=ee(78207),ue=ee(92882),$e=ee(96332),Je=ee(93686),ht=ee(67294),yt=Object.defineProperty,Fe=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,rt=(Kt,nn,Cn)=>nn in Kt?yt(Kt,nn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Kt[nn]=Cn,Tt=(Kt,nn)=>{for(var Cn in nn||(nn={}))ze.call(nn,Cn)&&rt(Kt,Cn,nn[Cn]);if(mt)for(var Cn of mt(nn))ut.call(nn,Cn)&&rt(Kt,Cn,nn[Cn]);return Kt},Bt=(Kt,nn)=>Fe(Kt,Be(nn)),en=(Kt,nn,Cn)=>new Promise((Sn,tn)=>{var In=Ye=>{try{gn(Cn.next(Ye))}catch(ve){tn(ve)}},br=Ye=>{try{gn(Cn.throw(Ye))}catch(ve){tn(ve)}},gn=Ye=>Ye.done?Sn(Ye.value):Promise.resolve(Ye.value).then(In,br);gn((Cn=Cn.apply(Kt,nn)).next())});function ct(Kt,nn){const Cn=[];for(let Sn=Kt;Sn<nn;Sn++)Cn.push(Sn);return Cn}const Ie=(Kt,nn,Cn)=>{const Sn=Kt<Ge()().startOf("day"),tn=Kt>Ge()(nn).endOf("day"),In=Kt<Ge()(Cn).startOf("day");return nn?Cn?Ge()()<=Ge()(Cn)?In||tn:Sn||tn:Kt&&Sn||tn:Cn&&Ge()()<=Ge()(Cn)?In:Sn},Mt=(Kt,nn)=>{const Cn=parseInt(Ge()(Kt).format("HH")),Sn=parseInt(Ge()().format("HH")),tn=parseInt(Ge()().format("mm"));if(!Kt)return{disabledHours:()=>ct(0,Sn),disabledMinutes:()=>ct(0,tn)};if(nn){const In=parseInt(Ge()(nn).format("HH")),br=parseInt(Ge()(nn).format("mm"));return Ge()(Kt).isSame(Ge()(nn),"day")?{disabledHours:()=>ct(0,In),disabledMinutes:()=>Cn<=In?ct(0,br):[]}:void 0}if(Ge()(Kt).isSame(Ge()(),"day"))return{disabledHours:()=>ct(0,Sn),disabledMinutes:()=>Ge()(Kt).isSame(Ge()(),"hour")&&Cn<=Sn?ct(0,tn):[]}},{RangePicker:vn}=de.default,{Option:qt}=Me.default,Nt=({shixunHomeworks:Kt,loading:nn,dispatch:Cn,classroomList:Sn,user:tn})=>{var In,br,gn,Ye,ve,he,be,ge,se;const je=(0,tt.useParams)(),{workSetting:xt,workList:En,shixunWorkList:un,headerInfo:Pn,changeData:Xn}=Kt,[_n,Vt]=(0,ne.useState)(!1),[yn,Kn]=(0,ne.useState)(!1);let[On,Qt]=(0,ne.useState)([]),[Dr,jt]=(0,ne.useState)([]),[rn,Ir]=(0,ne.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:st.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[ur,Rr]=(0,ne.useState)({}),[aa,qn]=(0,ne.useState)({});(0,ne.useEffect)(()=>()=>{Qt([])},[]),(0,ne.useEffect)(()=>{Vt(!(0,pt.GJ)())},[(0,pt.GJ)()]);const Pa=()=>{Cn({type:"shixunHomeworks/getWorkSetting",payload:Tt({},je)})};(0,ne.useEffect)(()=>{if(!(xt!=null&&xt.course_id))return;Object.keys(rn).map(function(ir){rn[ir]=xt[ir]}),(!rn.allow_late||!rn.unified_late)&&(rn.late_penalty=20,rn.penalty_type=st.Q.Percent),rn.unified_setting||(rn.unified_late=!1,rn.unified_anonymous_comment=!1,rn.unified_anonymous_appeal=!1),On=JSON.parse(JSON.stringify(xt.group_settings.map(ir=>Bt(Tt({},ir),{group_name:[ir.group_name]})).filter(ir=>ir.publish_time!==null))),Dr=JSON.parse(JSON.stringify(xt.allow_late_settings.map(ir=>Bt(Tt({},ir),{group_name:[ir.group_name]})).filter(ir=>ir.late_time!==null))),Ir(Tt({},rn));const bn=(0,wt.QE)((On==null?void 0:On.length)>0?On:[]);Qt([...bn]),(Dr==null?void 0:Dr.length)<=0?jt([{penalty_type:st.Q.Percent,late_penalty:20}]):jt([...Dr])},[xt]);const Fa=()=>en(void 0,null,function*(){var bn,ir;if(((bn=tn==null?void 0:tn.userInfo)==null?void 0:bn.user_status)===2){(0,ye.Rd)();return}const Cr=JSON.parse(JSON.stringify(rn));if(Cr.challenge_settings.filter(Lr=>!Lr.hide),Cr.categoryId=je.categoryId,(ir=Cr.challenge_settings)!=null&&ir.every(Lr=>!Lr.checked)){et.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(On),!rn.unified_setting)On=On==null?void 0:On.map(Lr=>{var sa;if(!Lr.publish_time||!Lr.end_time)throw et.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Lr.group_name)throw et.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Lr.group_name=typeof(Lr==null?void 0:Lr.group_name)=="string"?[Lr==null?void 0:Lr.group_name]:Lr==null?void 0:Lr.group_name,Lr.group_id=(sa=xt.group_settings)==null?void 0:sa.filter(pn=>{var At;return(At=Lr==null?void 0:Lr.group_name)==null?void 0:At.includes(pn.group_name)}).map(pn=>pn.group_id||pn.id).toString().split(","),Lr});else if(!rn.publish_time||!rn.end_time)throw et.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(Cr.group_settings=On,rn.allow_late)if(rn.unified_late){if(rn.late_penalty===null||rn.late_penalty===void 0||rn.late_penalty<0||rn.late_penalty>100)throw et.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!rn.late_time)throw et.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else Dr=Dr==null?void 0:Dr.map(Lr=>{var sa,pn;if(Lr.late_penalty===null||Lr.late_penalty===void 0||Lr.late_penalty<0||Lr.late_penalty>100)throw et.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Lr.late_time)throw et.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Lr.group_name)throw et.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Lr.group_name=typeof(Lr==null?void 0:Lr.group_name)=="string"?[Lr==null?void 0:Lr.group_name]:Lr==null?void 0:Lr.group_name,Lr.group_id=(pn=(sa=Lr==null?void 0:Lr.group_name)==null?void 0:sa.map(At=>{var Zt,on;let Yn=(on=(Zt=xt.group_settings)==null?void 0:Zt.filter(Dt=>(Dt==null?void 0:Dt.group_name)===At))==null?void 0:on[0];return Yn==null?void 0:Yn.group_id}))==null?void 0:pn.toString().split(","),Lr}),Cr.allow_late_settings=Dr;let Or=yield(0,Je.Tr)({homework_common_ids:[parseInt(je.categoryId)],course_id:je.coursesId,type:"homework_common"});(Or==null?void 0:Or.student_count)===0?_a(Cr):(qn(Cr),Rr(Or))}),_a=bn=>{var ir;if(bn.total_score===null){et.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(bn!=null&&bn.work_efficiency&&bn.eff_score===null){et.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Cr=bn.challenge_settings.reduce((sa,pn)=>sa+Number(pn.challenge_score),0);if((Cr==null?void 0:Cr.toFixed(10))!==((ir=bn.total_score-bn.eff_score)==null?void 0:ir.toFixed(10))){et.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${bn.total_score}\u5206`);return}const Or={shixun_evaluation:bn.shixun_evaluation,challenge_settings:bn.challenge_settings};let Lr=()=>{var sa;const pn=()=>en(void 0,null,function*(){Kn(!0),(yield(0,ot.ZP)(`/api/homework_commons/${je.categoryId}/publish_setting.json`,{method:"post",body:Tt({},bn)})).status===0&&(et.ZP.success("\u66F4\u65B0\u6210\u529F"),Pa(),Cn({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Tt({},je)})),Kn(!1)});!(0,vt.isEqual)(Xn,Or)&&!((sa=Pn==null?void 0:Pn.homework_status)!=null&&sa.includes("\u672A\u53D1\u5E03"))?we.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:pn}):pn()};xt!=null&&xt.high_resources_consume&&!(xt!=null&&xt.high_resources_consume_permission)?Cn({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:je.coursesId,type:"shixun",type_id:je.categoryId,name:xt.homework_name,fn:()=>{Lr()}}}):Lr()},Xr=(bn,ir,Cr="group_id")=>{var Or;return ir?ir.find(Lr=>Lr[Cr]===bn):(Or=xt==null?void 0:xt.group_settings)==null?void 0:Or.find(Lr=>Lr.group_id[0]===bn)},Da=(xt==null?void 0:xt.allow_late)||(xt==null?void 0:xt.anonymous_comment),Mi=bn=>{var ir,Cr;const Or=Xr(bn,xt==null?void 0:xt.allow_late_settings,"id"),Lr=Xr(bn,xt==null?void 0:xt.anonymous_comment_settings),sa=Xr(bn);return(xt==null?void 0:xt.allow_late)&&Or&&Ge()(Or==null?void 0:Or.late_time)<=Ge()()||(xt==null?void 0:xt.anonymous_comment)&&Lr&&(Lr==null?void 0:Lr.evaluation_start)!==null||((Cr=(Ge()(sa==null?void 0:sa.end_time)<=Ge()()&&((ir=xt==null?void 0:xt.allow_late_settings)==null?void 0:ir.filter(pn=>pn.group_id.includes(bn))))[0])==null?void 0:Cr.late_time)!=null},Si=(0,ne.useMemo)(()=>(xt==null?void 0:xt.allow_late)||(xt==null?void 0:xt.all_group_late),[xt,Pn]),zi=xt==null?void 0:xt.anonymous_comment,fi=bn=>{if(!bn)return!1;const ir=Xr(bn,xt==null?void 0:xt.anonymous_comment_settings);return(xt==null?void 0:xt.anonymous_comment)&&ir&&(ir==null?void 0:ir.evaluation_start)!==null},Tn=(bn,ir)=>{var Cr,Or,Lr;Cn({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:bn,index:ir,rangePickerDisabled:_n||(Ge()()<=Ge()((Or=Xr((Cr=bn==null?void 0:bn.group_id)==null?void 0:Cr[0]))==null?void 0:Or.publish_time)?!1:[!0,Mi((Lr=bn==null?void 0:bn.group_id)==null?void 0:Lr[0])]),disabledDate:xt==null?void 0:xt.course_end_date}})};return ht.createElement("section",{className:Rt.Z.form},ht.createElement("div",{className:Rt.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ht.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),ht.createElement("div",null,ht.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ht.createElement(ke.ZP.Group,{disabled:_n||!((In=Pn==null?void 0:Pn.homework_status)!=null&&In.includes("\u672A\u53D1\u5E03"))||(0,pt.Rm)()&&!((br=Sn.AssistantObject.practice)!=null&&br.can_publish),value:rn.unified_setting,onChange:bn=>{var ir;if(!((ir=Pn==null?void 0:Pn.homework_status)!=null&&ir.includes("\u672A\u53D1\u5E03"))){et.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(rn.unified_setting=!rn.unified_setting,rn.unified_setting||(rn.unified_late=!1,jt([{late_penalty:5}])),Ir(Object.assign({},rn)),rn.unified_setting===!1&&On==""){Qt(On.concat({}));return}rn.unified_setting&&(Qt([]),jt([{late_penalty:5}]))}},ht.createElement(ke.ZP,{value:!0,disabled:_n||!(xt!=null&&xt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ht.createElement(ke.ZP,{disabled:_n||!((gn=xt==null?void 0:xt.group_settings)!=null&&gn.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Ye=xt==null?void 0:xt.group_settings)==null?void 0:Ye.length)===0&&ht.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),rn.unified_setting&&ht.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ht.createElement(ce.Z,{align:"middle"},ht.createElement(Se.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ht.createElement(Se.Z,{className:"ml10"},ht.createElement(de.default,{size:"large",disabled:_n||!((ve=Pn==null?void 0:Pn.homework_status)!=null&&ve.includes("\u672A\u53D1\u5E03")||(he=Pn==null?void 0:Pn.homework_status)!=null&&he.includes("\u672A\u5F00\u59CB"))||(0,pt.Rm)()&&!((be=Sn.AssistantObject.practice)!=null&&be.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:bn=>Ie(bn,xt==null?void 0:xt.course_end_date),disabledTime:bn=>Mt(bn),value:rn.publish_time?Ge()(rn.publish_time):"",onChange:(bn,ir)=>{rn.publish_time=ir,(rn.end_time==""||!rn.end_time)&&rn.unified_setting&&(rn.end_time=Ge()(bn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Ir(Object.assign({},rn))}}))),ht.createElement(ce.Z,{align:"middle",className:"pl30"},ht.createElement(Se.Z,null,"\u622A\u6B62\u65F6\u95F4"),ht.createElement(Se.Z,{className:"ml10"},ht.createElement(de.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ge()((0,wt.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(xt==null?void 0:xt.allow_late)&&(xt==null?void 0:xt.homework_status.includes("\u5DF2\u622A\u6B62"))||_n||(xt==null?void 0:xt.allow_late)&&Ge()()>=Ge()(xt==null?void 0:xt.end_time)||(0,pt.Rm)()&&!((ge=Sn.AssistantObject.practice)!=null&&ge.can_publish),disabledDate:bn=>Ie(bn,xt==null?void 0:xt.course_end_date,rn.publish_time),disabledTime:bn=>Mt(bn,rn.publish_time),value:rn.end_time?Ge()(rn.end_time):"",onChange:(bn,ir)=>{rn.end_time=ir,Ir(Object.assign({},rn))}})))),!rn.unified_setting&&(On==null?void 0:On.length)>0&&ht.createElement(ce.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},On&&On.map(function(bn,ir){var Cr,Or,Lr,sa,pn,At,Zt;return ht.createElement(Se.Z,{span:24,key:ir},ht.createElement(ce.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:ir==(On==null?void 0:On.length)-1?"0px":"10px"}},ht.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",ir+1),ht.createElement(Me.default,{disabled:_n||((Cr=Pn==null?void 0:Pn.homework_status)!=null&&Cr.includes("\u672A\u53D1\u5E03")&&bn.id||Ge()()<Ge()(bn==null?void 0:bn.publish_time)?!1:!!(bn!=null&&bn.publish_time))||(0,pt.Rm)()&&!((Or=Sn.AssistantObject.practice)!=null&&Or.can_publish),mode:"multiple",className:Rt.Z.multiple_select,style:{width:"250px"},value:bn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:on=>{var Yn;if((0,pt.Rm)()&&!((Yn=Sn.AssistantObject.practice)!=null&&Yn.can_publish)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}On[ir].group_name=on,On[ir].group_id=bn.group_id;const Dt=(0,vt.flattenDeep)(On.map(Vn=>Vn.group_name)),fn=Dr.map(Vn=>{let kn=(Vn==null?void 0:Vn.group_name)||[];return Bt(Tt({},Vn),{group_name:(0,vt.remove)(kn,rr=>Dt.includes(rr))})});jt(fn),Qt(On.slice())},maxTagCount:4,maxTagPlaceholder:on=>ht.createElement("div",{style:{cursor:"pointer"},onClick:()=>Tn(bn,ir)},"+",on==null?void 0:on.length)},xt.group_settings&&xt.group_settings.map(function(on){if(!On.map(Dt=>Dt.group_name).flat().includes(on.group_name))return ht.createElement(qt,{value:on.group_name,key:on.id},on.group_name)})),ht.createElement("div",{className:"ml20"},ht.createElement(vn,{size:"large",ranges:{\u6B64\u523B:[bn.publish_time?Ge()(bn.publish_time):Ge()(),Ge()()]},allowClear:!1,disabled:_n||(Ge()()<=Ge()((sa=Xr((Lr=bn==null?void 0:bn.group_id)==null?void 0:Lr[0]))==null?void 0:sa.publish_time)?!1:[!0,Mi((pn=bn==null?void 0:bn.group_id)==null?void 0:pn[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:on=>Ie(on,xt==null?void 0:xt.course_end_date),disabledTime:on=>Mt(on),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ge()((0,wt.U6)(),"HH:mm"),Ge()((0,wt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:bn.publish_time&&[Ge()(bn.publish_time),bn.end_time?Ge()(bn.end_time):void 0],onChange:(on,Yn)=>{var Dt;if((0,pt.Rm)()&&!((Dt=Sn.AssistantObject.practice)!=null&&Dt.can_publish)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}On[ir].publish_time=Yn[0],!bn.end_time&&Yn[0]?On[ir].end_time=Ge()(Yn[0]).add(7,"days"):On[ir].end_time=Yn[1],Qt([...On])},onCalendarChange:(on,Yn,Dt)=>{if(Yn!=null&&Yn[0]&&!Yn[1]){const fn=Ge()(Yn[0]).add(7,"days");On[ir].publish_time=Yn[0],On[ir].end_time=fn,Qt([...On])}}})),!_n&&ht.createElement("div",{style:{display:"flex",width:"50px"}},((At=bn==null?void 0:bn.group_id)==null?void 0:At.length)>1&&ht.createElement(me.Z,{title:"\u89C4\u5219\u62C6\u5206"},ht.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Tn(bn,ir)})),On.length<((Zt=xt==null?void 0:xt.group_settings)==null?void 0:Zt.length)&&ht.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var on;if((0,pt.Rm)()&&!((on=Sn.AssistantObject.practice)!=null&&on.can_publish)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qt(On.concat({}))}}),((bn==null?void 0:bn.publish_time)&&Ge()()<Ge()(bn==null?void 0:bn.publish_time)||!(bn!=null&&bn.publish_time))&&ir!=0&&ht.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const on=(0,vt.cloneDeep)(Dr);on.forEach((Yn,Dt)=>{Yn.group_name&&(Yn.group_name=Yn.group_name.filter(fn=>{var Vn;return!((Vn=On[ir].group_name)!=null&&Vn.includes(fn))}))}),On=On.filter((Yn,Dt)=>ir!==Dt),jt(on),Qt(On.slice()),setTimeout(()=>Qt(On.slice()),10)}}))))}))),ht.createElement(ce.Z,null,ht.createElement(Se.Z,null,ht.createElement("div",{className:Rt.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ht.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),ht.createElement(Se.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ht.createElement(Pe.default,{checked:rn.allow_late,disabled:_n||Si,onChange:bn=>{var ir;if((0,pt.Rm)()&&!((ir=Sn.AssistantObject.practice)!=null&&ir.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}bn.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ht.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ht.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),ht.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ht.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),rn.allow_late=!rn.allow_late,Dr==""&&jt([{late_penalty:5}]),Ir(Object.assign({},rn))}},ht.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(rn==null?void 0:rn.allow_late)&&ht.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ht.createElement("div",{style:{display:"flex"}},ht.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ht.createElement(ke.ZP.Group,{style:{marginLeft:"20px"},disabled:_n||(xt==null?void 0:xt.anonymous_comment)||(xt==null?void 0:xt.allow_late),value:rn.unified_late,onChange:bn=>{var ir;if((0,pt.Rm)()&&!((ir=Sn.AssistantObject.practice)!=null&&ir.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}rn.unified_late=bn.target.value,Dr==""&&!bn.target.value&&jt([{penalty_type:st.Q.Percent,late_penalty:20}]),Ir(Tt({},rn))}},(rn==null?void 0:rn.unified_setting)&&ht.createElement(ke.ZP,{value:!0,disabled:!(xt!=null&&xt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((se=xt==null?void 0:xt.group_settings)==null?void 0:se.length)>0&&ht.createElement(ke.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),rn!=null&&rn.unified_late?ht.createElement(ht.Fragment,null,ht.createElement(ce.Z,{align:"middle",style:{marginTop:"10px"}},ht.createElement(Se.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ht.createElement(Se.Z,{className:"ml20"},ht.createElement(st.Z,{disabled:_n||zi,value:{type:rn.penalty_type,inputValue:rn.late_penalty},onChange:bn=>{var ir;if((0,pt.Rm)()&&!((ir=Sn.AssistantObject.practice)!=null&&ir.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ir(Bt(Tt({},rn),{late_penalty:bn.inputValue,penalty_type:bn.type}))}})),ht.createElement(Se.Z,{flex:"1",className:"ml5"},ht.createElement("span",{className:"c-grey-c ml10"},rn.penalty_type===st.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),ht.createElement(ce.Z,{align:"middle",style:{marginTop:"15px"}},ht.createElement(Se.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ht.createElement(Se.Z,{className:"ml20"},ht.createElement(de.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ge()((0,wt.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:_n||zi,value:rn.late_time?Ge()(rn.late_time):"",disabledDate:bn=>Ie(bn,xt==null?void 0:xt.course_end_date),onChange:(bn,ir)=>{var Cr;if((0,pt.Rm)()&&!((Cr=Sn.AssistantObject.practice)!=null&&Cr.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}rn.late_time=ir,Ir(Object.assign({},rn))}})))):Dr.map(function(bn,ir){var Cr;return ht.createElement(Se.Z,{span:24,key:ir},ht.createElement(ce.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ht.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",ir+1),ht.createElement(Me.default,{disabled:_n||!((Cr=Pn==null?void 0:Pn.homework_status)!=null&&Cr.includes("\u672A\u53D1\u5E03"))&&bn.id||(xt==null?void 0:xt.anonymous_comment),mode:"multiple",className:Rt.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof bn.group_name=="string"?[bn.group_name]:bn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Or=>{var Lr;if((0,pt.Rm)()&&!((Lr=Sn.AssistantObject.practice)!=null&&Lr.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dr[ir].group_name=Or,Dr[ir].group_id=bn.group_id,jt(Dr.slice())}},xt.group_settings&&xt.group_settings.map(function(Or){const Lr=Dr.map(pn=>pn.group_name).flat(),sa=On.map(pn=>pn.group_name).flat();if(rn!=null&&rn.unified_setting){if(!Lr.includes(Or.group_name))return ht.createElement(qt,{value:Or.group_name,key:Or.id},Or.group_name)}else if(sa.includes(Or.group_name)&&!Lr.includes(Or.group_name))return ht.createElement(qt,{value:Or.group_name,key:Or.id},Or.group_name)})),ht.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ht.createElement(st.Z,{disabled:_n||fi(bn.id),value:{type:bn.penalty_type,inputValue:bn.late_penalty},onChange:Or=>{var Lr;if((0,pt.Rm)()&&!((Lr=Sn.AssistantObject.practice)!=null&&Lr.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dr[ir].late_penalty=Or.inputValue,Dr[ir].penalty_type=Or.type,jt([...Dr])}}),ht.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ht.createElement(de.default,{size:"large",disabled:_n||fi(bn.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Ge()((0,wt.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:Or=>Ie(Or,xt==null?void 0:xt.course_end_date),format:"YYYY-MM-DD HH:mm",value:bn!=null&&bn.late_time?Ge()(bn.late_time):void 0,onChange:(Or,Lr)=>{var sa;if((0,pt.Rm)()&&!((sa=Sn.AssistantObject.practice)!=null&&sa.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dr[ir].late_time=Lr,jt([...Dr])}}),!_n&&ht.createElement("div",{style:{display:"flex",width:"50px"}},ht.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Or;if((0,pt.Rm)()&&!((Or=Sn.AssistantObject.practice)!=null&&Or.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}jt(Dr.concat({penalty_type:st.Q.Percent,late_penalty:20}))}}),ir>0&&!bn.id&&ht.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var Or;if((0,pt.Rm)()&&!((Or=Sn.AssistantObject.practice)!=null&&Or.can_late)){et.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dr=Dr.filter((Lr,sa)=>ir!==sa),jt(Dr.slice()),setTimeout(()=>jt(Dr.slice()),10)}}))))})),!_n&&ht.createElement(ht.Fragment,null,ht.createElement(Xe.ZP,{type:"primary",size:"large",loading:yn,style:{width:"138px",marginTop:"30px"},onClick:()=>Fa()},"\u4FDD\u5B58")),ht.createElement(ue.Z,{onConfirm:(bn,ir)=>{On.splice(bn,0,...ir),On.splice(bn+ir.length,1);const Cr=(0,wt.QE)([...On]);Qt([...Cr])}}),ht.createElement($e.Z,{resdata:ur,type:"shixun",okloading:yn,oktext:(ur==null?void 0:ur.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:bn=>en(void 0,null,function*(){Kn(!0);let ir=yield(0,ot.ZP)(`/api/courses/${je.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(je.categoryId)]}});Kn(!1),(ir==null?void 0:ir.status)===0&&_a(aa)})}))};sn.ZP=(0,tt.connect)(({shixunHomeworks:Kt,classroomList:nn,loading:Cn,user:Sn})=>({shixunHomeworks:Kt,classroomList:nn,loading:Cn.effects,user:Sn}))(Nt)},12317:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Pe}});var ne=ee(67294),de=ee(69677),Me=ee(84567),et=ee(71230),we={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ce=ee(26194),Se=(Xe,fe,Ge)=>new Promise((pt,ot)=>{var vt=Rt=>{try{wt(Ge.next(Rt))}catch(tt){ot(tt)}},Ee=Rt=>{try{wt(Ge.throw(Rt))}catch(tt){ot(tt)}},wt=Rt=>Rt.done?pt(Rt.value):Promise.resolve(Rt.value).then(vt,Ee);wt((Ge=Ge.apply(Xe,fe)).next())}),Pe=({data:Xe,value:fe=[],handleChangePage:Ge,setSelectedRowKeys:pt,selectedRowKeys:ot,onChange:vt=()=>{}})=>{const[Ee,wt]=(0,ne.useState)([]),[Rt,tt]=(0,ne.useState)([]),[st,ye]=(0,ne.useState)([]);let[ue,$e]=(0,ne.useState)(1),[Je,ht]=(0,ne.useState)();return(0,ne.useEffect)(()=>{wt(Xe),tt([]),ye([])},[Xe]),(0,ne.useEffect)(()=>{pt&&(tt(ot),ye(ot))},[ot]),ne.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},ne.createElement("div",{className:we.leftdiv},ne.createElement(de.default.Search,{size:"middle",onChange:yt=>Se(void 0,null,function*(){wt(Xe.filter(Fe=>{var Be;return(Be=Fe==null?void 0:Fe.name)==null?void 0:Be.includes(yt.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Ee.length===0&&ne.createElement(ce.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),ne.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},ne.createElement(Me.default.Group,{value:Rt.map(yt=>`${yt.id}`),onChange:yt=>{pt(Ee.filter(Fe=>yt.includes(`${Fe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},Ee.map((yt,Fe)=>ne.createElement(et.Z,{key:yt.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},ne.createElement(Me.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:yt.is_published,value:`${yt.id}`},ne.createElement("div",{className:we.listClass},ne.createElement("span",{className:we.spantitle,style:{width:yt.is_published?"108px":"170px"}},yt.name),yt.is_published&&ne.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),ne.createElement("div",{className:we.rightdiv},ne.createElement(de.default.Search,{onChange:yt=>{ye(Rt.filter(Fe=>Fe.name.includes(yt.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),st.length===0&&ne.createElement(ce.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),st.length>0&&ne.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},ne.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},st.map((yt,Fe)=>ne.createElement(et.Z,{justify:"space-between",style:{marginTop:"10px"},key:yt.id},ne.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},yt.name),ne.createElement("img",{src:ke,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{pt(Rt.filter(Be=>`${Be.id}`!=`${yt.id}`))}})))))))}},92882:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return vt}});var ne=ee(67294),de=ee(35973),Me=ee(34336),et=ee(14446),we=ee(69677),ke=ee(71230),ce=ee(15746),Se={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},me=ee(27484),Pe=ee.n(me),Xe=ee(28706),fe=ee(26194),Ge=ee(67294);const{RangePicker:pt}=Me.default,ot=({dispatch:Ee,classroomList:wt,onConfirm:Rt})=>{const[tt,st]=(0,ne.useState)([]),[ye,ue]=(0,ne.useState)([]),[$e,Je]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var Fe;if(wt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Be=wt.actionTabs.data;console.log("data",Be);let mt=(Fe=Be==null?void 0:Be.group_name)==null?void 0:Fe.map((ze,ut)=>{var rt;return{group_id:Be==null?void 0:Be.group_id[ut],group_name:Be==null?void 0:Be.group_name[ut],is_admin:Be==null?void 0:Be.is_admin,end_time:Be==null?void 0:Be.end_time,publish_time:Array.isArray(Be==null?void 0:Be.publish_time)?(rt=Be==null?void 0:Be.publish_time)==null?void 0:rt[0]:Be==null?void 0:Be.publish_time}});mt&&(st([...mt]),ue([...mt]))}},[wt.actionTabs]);const ht=()=>{Ee({type:"classroomList/setActionTabs",payload:{}}),Je("")},yt=Fe=>{if(Fe){const Be=ye==null?void 0:ye.filter(mt=>{var ze,ut;return(ut=(ze=mt==null?void 0:mt.group_name)==null?void 0:ze.toLowerCase())==null?void 0:ut.includes(Fe==null?void 0:Fe.toLowerCase())});st(Be)}else st(ye)};return Ge.createElement(et.default,{width:980,title:Ge.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Ge.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Ge.createElement("span",{className:Se.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),Ge.createElement(we.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:$e,onChange:Fe=>{Je(Fe.target.value.trim()),yt(Fe.target.value.trim())}})),centered:!0,maskClosable:!1,open:wt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>ht(),onOk:()=>{var Fe;Rt((Fe=wt.actionTabs)==null?void 0:Fe.index,ye),ht()}},Ge.createElement("div",{className:Se.modal_con},Ge.createElement(ke.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(tt==null?void 0:tt.length)>0?tt.map(function(Fe,Be){var mt,ze;return Ge.createElement(ce.Z,{span:24,key:Be},Ge.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Be==(tt==null?void 0:tt.length)-1?"0px":"10px"}},Ge.createElement("div",{className:Se.multiple_select,title:Fe.group_name},Fe.group_name),Ge.createElement("div",{className:"ml20"},Ge.createElement(pt,{size:"large",ranges:{\u6B64\u523B:[Fe.publish_time?Pe()(Fe.publish_time):Pe()(),Pe()()]},allowClear:!1,disabled:(mt=wt.actionTabs)==null?void 0:mt.rangePickerDisabled,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:ut=>{var rt;return(0,Xe.Q8)(ut,(rt=wt.actionTabs)==null?void 0:rt.disabledDate)},disabledTime:ut=>(0,Xe.d0)(ut),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Pe()((0,Xe.U6)(),"HH:mm"),Pe()((0,Xe.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Fe.publish_time&&[Pe()(Fe.publish_time),Fe.end_time?Pe()(Fe.end_time):void 0],onChange:(ut,rt)=>{tt[Be].publish_time=rt[0],tt[Be].end_time=rt[1],st([...tt]),ye.forEach(Tt=>{Tt.group_id===Fe.group_id&&(Tt.publish_time=rt[0],Tt.end_time=rt[1])}),ue([...ye])}})),(ze=wt.actionTabs)!=null&&ze.rangePickerDisabled?Ge.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Ge.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{tt.splice(Be,1),st([...tt]),ye.forEach((ut,rt)=>{ut.group_id===Fe.group_id&&ye.splice(rt,1)}),ue([...ye])}})))}):Ge.createElement(fe.Z,null))))};var vt=(0,de.connect)(({classroomList:Ee})=>({classroomList:Ee}))(ot)},78207:function(Hn,sn,ee){"use strict";ee.d(sn,{rX:function(){return tt},pW:function(){return st},gy:function(){return ye},xY:function(){return Rt},O5:function(){return wt},tJ:function(){return Ge},o1:function(){return pt},Rd:function(){return Ee}});var ne=ee(35973),de=ee(14446),Me=ee(96074),et=ee(52262),we=ee(28706),ke=ee(55304),ce=ee(25510),Se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2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vlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",me=ee.p+"static/newqrcode.a8740efb.png",Pe=ee(32637),Xe=ee(67294),fe=(ue,$e,Je)=>new Promise((ht,yt)=>{var Fe=ze=>{try{mt(Je.next(ze))}catch(ut){yt(ut)}},Be=ze=>{try{mt(Je.throw(ze))}catch(ut){yt(ut)}},mt=ze=>ze.done?ht(ze.value):Promise.resolve(ze.value).then(Fe,Be);mt((Je=Je.apply(ue,$e)).next())});const Ge=(ue,$e=!1)=>!!(pt(ue)&&ot($e)),pt=ue=>(0,et.bg)()?!0:(ue({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ot=(ue=!1)=>{var $e;const{user:Je}=(0,ne.getDvaApp)()._store.getState();return($e=Je.userInfo)!=null&&$e.profile_completed?!0:(de.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,we.xg)("/account/profile/edit"),vt()}}),!1)},vt=()=>{de.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()}})},Ee=()=>{de.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Xe.createElement("div",{style:{textAlign:"center"}},Xe.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"),Xe.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Pe}),Xe.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},wt=()=>{var ue;const{user:$e}=(0,ne.getDvaApp)()._store.getState();return(ue=$e.userInfo)!=null&&ue.professional_certification?!0:(de.default.confirm({title:"\u63D0\u793A",centered:!0,content:Xe.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,we.xg)("/account/certification")}}),!1)},Rt=()=>(0,et.V9)()?!0:(de.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Xe.createElement("div",{className:"tc",style:{marginLeft:-38}},Xe.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Xe.createElement("img",{src:me,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),tt=(ue,$e)=>ue?!0:(de.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Xe.createElement("div",null,Xe.createElement("p",null,$e||"\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"),Xe.createElement("div",{style:{marginLeft:"110px"}},Xe.createElement("img",{src:Se,width:200}),Xe.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,we.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),st=ue=>{de.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Xe.createElement("div",null,Xe.createElement("div",null,Xe.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"),Xe.createElement(Me.Z,null),Xe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Xe.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 ",Xe.createElement("a",null,ue),"\u5929\u3002"),Xe.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Xe.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")),Xe.createElement("div",{style:{textAlign:"center",marginTop:30}},Xe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ce,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ye=(ue,$e="")=>{const{shixunsDetail:{detail:Je}}=(0,ne.getDvaApp)()._store.getState();if((Je==null?void 0:Je.public)===2||(Je==null?void 0:Je.public)===1||(Je==null?void 0:Je.shixun_status)===3){let ht="";return(Je==null?void 0:Je.public)===2&&(ht="\u5DF2\u516C\u5F00"),(Je==null?void 0:Je.public)===1&&(ht="\u5F85\u5BA1\u6838"),(Je==null?void 0:Je.shixun_status)===3&&(ht="\u5DF2\u5173\u95ED"),de.default.info({centered:!0,icon:Xe.createElement(ke.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Xe.createElement("div",{className:"tc",style:{marginLeft:-38}},Xe.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Xe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ht,"\uFF0C",$e,"\u3002"),Xe.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Xe.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ce,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Je==null?void 0:Je.shixun_status)===2?(de.default.confirm({centered:!0,icon:Xe.createElement(ke.Z,null),title:"\u63D0\u793A",content:Xe.createElement("div",null,Xe.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",$e,"\u3002"),Xe.createElement("br",null),Xe.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:()=>{de.default.confirm({width:440,centered:!0,icon:Xe.createElement(ke.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:()=>fe(void 0,null,function*(){(yield ue({type:"shixunsDetail/cancelRelease",payload:{id:Je==null?void 0:Je.identifier}})).status!==401&&(ue({type:"shixunsDetail/getShixunsDetail",payload:{id:Je==null?void 0:Je.identifier}}),ue({type:"practiceSetting/getCommonData",payload:{id:Je==null?void 0:Je.identifier}}))})})}}),!0):!1}},38780:function(Hn,sn){"use strict";function ee(){const ne=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let de=1;de<arguments.length;de++){const Me=de<0||arguments.length<=de?void 0:arguments[de];Me&&Object.keys(Me).forEach(et=>{const we=Me[et];we!==void 0&&(ne[et]=we)})}return ne}sn.Z=ee},66367:function(Hn,sn,ee){"use strict";ee.d(sn,{F:function(){return ne},Z:function(){return de}});function ne(Me){return Me!=null&&Me===Me.window}function de(Me,et){var we,ke;if(typeof window=="undefined")return 0;const ce=et?"scrollTop":"scrollLeft";let Se=0;return ne(Me)?Se=Me[et?"pageYOffset":"pageXOffset"]:Me instanceof Document?Se=Me.documentElement[ce]:(Me instanceof HTMLElement||Me)&&(Se=Me[ce]),Me&&!ne(Me)&&typeof Se!="number"&&(Se=(ke=((we=Me.ownerDocument)!==null&&we!==void 0?we:Me).documentElement)===null||ke===void 0?void 0:ke[ce]),Se}},57838:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return de}});var ne=ee(67294);function de(){const[,Me]=ne.useReducer(et=>et+1,0);return Me}},58375:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return et}});var ne=ee(96523);function de(we,ke,ce,Se){const me=ce-ke;return we/=Se/2,we<1?me/2*we*we*we+ke:me/2*((we-=2)*we*we+2)+ke}var Me=ee(66367);function et(we){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ce=()=>window,callback:Se,duration:me=450}=ke,Pe=ce(),Xe=(0,Me.Z)(Pe,!0),fe=Date.now(),Ge=()=>{const ot=Date.now()-fe,vt=de(ot>me?me:ot,Xe,we,me);(0,Me.F)(Pe)?Pe.scrollTo(window.pageXOffset,vt):Pe instanceof Document||Pe.constructor.name==="HTMLDocument"?Pe.documentElement.scrollTop=vt:Pe.scrollTop=vt,ot<me?(0,ne.Z)(Ge):typeof Se=="function"&&Se()};(0,ne.Z)(Ge)}},9708:function(Hn,sn,ee){"use strict";ee.d(sn,{F:function(){return we},Z:function(){return et}});var ne=ee(94184),de=ee.n(ne);const Me=null;function et(ke,ce,Se){return de()({[`${ke}-status-success`]:ce==="success",[`${ke}-status-warning`]:ce==="warning",[`${ke}-status-error`]:ce==="error",[`${ke}-status-validating`]:ce==="validating",[`${ke}-has-feedback`]:Se})}const we=(ke,ce)=>ce||ke},85546:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return it}});var ne=ee(74902),de=ee(67294),Me=ee(22751),et=ee(3407),we=ee(91034),ke=ee(94184),ce=ee.n(ke),Se=ee(87462),me=ee(97685),Pe=ee(45987),Xe=ee(4942),fe=ee(1413),Ge=ee(71002);function pt(Ce){var Ne=de.useRef();Ne.current=Ce;var St=de.useCallback(function(){for(var bt,Jt=arguments.length,_t=new Array(Jt),Wt=0;Wt<Jt;Wt++)_t[Wt]=arguments[Wt];return(bt=Ne.current)===null||bt===void 0?void 0:bt.call.apply(bt,[Ne].concat(_t))},[]);return St}function ot(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var vt=ot()?de.useLayoutEffect:de.useEffect,Ee=vt,wt=function(Ne,St){var bt=de.useRef(!0);vt(function(){if(!bt.current)return Ne()},St),vt(function(){return bt.current=!1,function(){bt.current=!0}},[])};function Rt(Ce){var Ne=de.useRef(!1),St=de.useState(Ce),bt=(0,me.Z)(St,2),Jt=bt[0],_t=bt[1];de.useEffect(function(){return Ne.current=!1,function(){Ne.current=!0}},[]);function Wt(Wn,xn){xn&&Ne.current||_t(Wn)}return[Jt,Wt]}function tt(Ce){return Ce!==void 0}function st(Ce,Ne){var St=Ne||{},bt=St.defaultValue,Jt=St.value,_t=St.onChange,Wt=St.postState,Wn=Rt(function(){return tt(Jt)?Jt:tt(bt)?typeof bt=="function"?bt():bt:typeof Ce=="function"?Ce():Ce}),xn=(0,me.Z)(Wn,2),Ln=xn[0],Mr=xn[1],pr=Jt!==void 0?Jt:Ln,or=Wt?Wt(pr):pr,sr=pt(_t),Br=Rt([pr]),Vr=(0,me.Z)(Br,2),na=Vr[0],ka=Vr[1];wt(function(){var gt=na[0];Ln!==gt&&sr(Ln,gt)},[na]),wt(function(){tt(Jt)||Mr(Jt)},[Jt]);var _e=pt(function(gt,Ht){Mr(gt,Ht),ka([pr],Ht)});return[or,_e]}var ye={};function ue(Ce,Ne){}function $e(Ce,Ne){}function Je(){ye={}}function ht(Ce,Ne,St){!Ne&&!ye[St]&&(Ce(!1,St),ye[St]=!0)}function yt(Ce,Ne){ht(ue,Ce,Ne)}function Fe(Ce,Ne){ht($e,Ce,Ne)}var Be=yt,mt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Ce=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Ce)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Ce==null?void 0:Ce.substr(0,4))},ze={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ne){var St=Ne.keyCode;if(Ne.altKey&&!Ne.ctrlKey||Ne.metaKey||St>=ze.F1&&St<=ze.F12)return!1;switch(St){case ze.ALT:case ze.CAPS_LOCK:case ze.CONTEXT_MENU:case ze.CTRL:case ze.DOWN:case ze.END:case ze.ESC:case ze.HOME:case ze.INSERT:case ze.LEFT:case ze.MAC_FF_META:case ze.META:case ze.NUMLOCK:case ze.NUM_CENTER:case ze.PAGE_DOWN:case ze.PAGE_UP:case ze.PAUSE:case ze.PRINT_SCREEN:case ze.RIGHT:case ze.SHIFT:case ze.UP:case ze.WIN_KEY:case ze.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ne){if(Ne>=ze.ZERO&&Ne<=ze.NINE||Ne>=ze.NUM_ZERO&&Ne<=ze.NUM_MULTIPLY||Ne>=ze.A&&Ne<=ze.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ne===0)return!0;switch(Ne){case ze.SPACE:case ze.QUESTION_MARK:case ze.NUM_PLUS:case ze.NUM_MINUS:case ze.NUM_PERIOD:case ze.NUM_DIVISION:case ze.SEMICOLON:case ze.DASH:case ze.EQUALS:case ze.COMMA:case ze.PERIOD:case ze.SLASH:case ze.APOSTROPHE:case ze.SINGLE_QUOTE:case ze.OPEN_SQUARE_BRACKET:case ze.BACKSLASH:case ze.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ut=ze,rt=ee(16357);function Tt(Ce,Ne,St){var bt=de.useRef({});return(!("value"in bt.current)||St(bt.current.condition,Ne))&&(bt.current.value=Ce(),bt.current.condition=Ne),bt.current.value}function Bt(Ce,Ne){typeof Ce=="function"?Ce(Ne):(0,Ge.Z)(Ce)==="object"&&Ce&&"current"in Ce&&(Ce.current=Ne)}function en(){for(var Ce=arguments.length,Ne=new Array(Ce),St=0;St<Ce;St++)Ne[St]=arguments[St];var bt=Ne.filter(function(Jt){return Jt});return bt.length<=1?bt[0]:function(Jt){Ne.forEach(function(_t){Bt(_t,Jt)})}}function ct(){for(var Ce=arguments.length,Ne=new Array(Ce),St=0;St<Ce;St++)Ne[St]=arguments[St];return Tt(function(){return en.apply(void 0,Ne)},Ne,function(bt,Jt){return bt.length===Jt.length&&bt.every(function(_t,Wt){return _t===Jt[Wt]})})}function Ie(Ce){var Ne,St,bt=isMemo(Ce)?Ce.type.type:Ce.type;return!(typeof bt=="function"&&!((Ne=bt.prototype)!==null&&Ne!==void 0&&Ne.render)||typeof Ce=="function"&&!((St=Ce.prototype)!==null&&St!==void 0&&St.render))}var Mt=function(Ne){var St=Ne.className,bt=Ne.customizeIcon,Jt=Ne.customizeIconProps,_t=Ne.onMouseDown,Wt=Ne.onClick,Wn=Ne.children,xn;return typeof bt=="function"?xn=bt(Jt):xn=bt,de.createElement("span",{className:St,onMouseDown:function(Mr){Mr.preventDefault(),_t&&_t(Mr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Wt,"aria-hidden":!0},xn!==void 0?xn:de.createElement("span",{className:ce()(St.split(/\s+/).map(function(Ln){return"".concat(Ln,"-icon")}))},Wn))},vn=Mt;function qt(Ce,Ne,St,bt,Jt){var _t=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Wt=arguments.length>6?arguments[6]:void 0,Wn=arguments.length>7?arguments[7]:void 0,xn=de.useMemo(function(){if((0,Ge.Z)(bt)==="object")return bt.clearIcon;if(Jt)return Jt},[bt,Jt]),Ln=de.useMemo(function(){return!!(!_t&&bt&&(St.length||Wt)&&!(Wn==="combobox"&&Wt===""))},[bt,_t,St.length,Wt,Wn]);return{allowClear:Ln,clearIcon:de.createElement(vn,{className:"".concat(Ce,"-clear"),onMouseDown:Ne,customizeIcon:xn},"\xD7")}}var Nt=de.createContext(null);function Kt(){return de.useContext(Nt)}function nn(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ne=de.useState(!1),St=(0,me.Z)(Ne,2),bt=St[0],Jt=St[1],_t=de.useRef(null),Wt=function(){window.clearTimeout(_t.current)};de.useEffect(function(){return Wt},[]);var Wn=function(Ln,Mr){Wt(),_t.current=window.setTimeout(function(){Jt(Ln),Mr&&Mr()},Ce)};return[bt,Wn,Wt]}function Cn(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ne=de.useRef(null),St=de.useRef(null);de.useEffect(function(){return function(){window.clearTimeout(St.current)}},[]);function bt(Jt){(Jt||Ne.current===null)&&(Ne.current=Jt),window.clearTimeout(St.current),St.current=window.setTimeout(function(){Ne.current=null},Ce)}return[function(){return Ne.current},bt]}function Sn(Ce,Ne,St,bt){var Jt=de.useRef(null);Jt.current={open:Ne,triggerOpen:St,customizedTrigger:bt},de.useEffect(function(){function _t(Wt){var Wn;if(!((Wn=Jt.current)!==null&&Wn!==void 0&&Wn.customizedTrigger)){var xn=Wt.target;xn.shadowRoot&&Wt.composed&&(xn=Wt.composedPath()[0]||xn),Jt.current.open&&Ce().filter(function(Ln){return Ln}).every(function(Ln){return!Ln.contains(xn)&&Ln!==xn})&&Jt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",_t),function(){return window.removeEventListener("mousedown",_t)}},[])}var tn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,In=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,br="".concat(tn," ").concat(In).split(/[\s\n]+/),gn="aria-",Ye="data-";function ve(Ce,Ne){return Ce.indexOf(Ne)===0}function he(Ce){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,St;Ne===!1?St={aria:!0,data:!0,attr:!0}:Ne===!0?St={aria:!0}:St=(0,fe.Z)({},Ne);var bt={};return Object.keys(Ce).forEach(function(Jt){(St.aria&&(Jt==="role"||ve(Jt,gn))||St.data&&ve(Jt,Ye)||St.attr&&br.includes(Jt))&&(bt[Jt]=Ce[Jt])}),bt}var be=ee(48555);function ge(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var se=ge()?de.useLayoutEffect:de.useEffect,je=function(Ne,St){var bt=de.useRef(!0);se(function(){return Ne(bt.current)},St),se(function(){return bt.current=!1,function(){bt.current=!0}},[])},xt=function(Ne,St){je(function(bt){if(!bt)return Ne()},St)},En=je,un=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Pn=void 0;function Xn(Ce,Ne){var St=Ce.prefixCls,bt=Ce.invalidate,Jt=Ce.item,_t=Ce.renderItem,Wt=Ce.responsive,Wn=Ce.responsiveDisabled,xn=Ce.registerSize,Ln=Ce.itemKey,Mr=Ce.className,pr=Ce.style,or=Ce.children,sr=Ce.display,Br=Ce.order,Vr=Ce.component,na=Vr===void 0?"div":Vr,ka=(0,Pe.Z)(Ce,un),_e=Wt&&!sr;function gt(Fn){xn(Ln,Fn)}de.useEffect(function(){return function(){gt(null)}},[]);var Ht=_t&&Jt!==Pn?_t(Jt):or,Ue;bt||(Ue={opacity:_e?0:1,height:_e?0:Pn,overflowY:_e?"hidden":Pn,order:Wt?Br:Pn,pointerEvents:_e?"none":Pn,position:_e?"absolute":Pn});var Ut={};_e&&(Ut["aria-hidden"]=!0);var hn=de.createElement(na,(0,Se.Z)({className:ce()(!bt&&St,Mr),style:(0,fe.Z)((0,fe.Z)({},Ue),pr)},Ut,ka,{ref:Ne}),Ht);return Wt&&(hn=de.createElement(be.Z,{onResize:function(Lt){var Gt=Lt.offsetWidth;gt(Gt)},disabled:Wn},hn)),hn}var _n=de.forwardRef(Xn);_n.displayName="Item";var Vt=_n;function yn(Ce){var Ne=de.useRef();Ne.current=Ce;var St=de.useCallback(function(){for(var bt,Jt=arguments.length,_t=new Array(Jt),Wt=0;Wt<Jt;Wt++)_t[Wt]=arguments[Wt];return(bt=Ne.current)===null||bt===void 0?void 0:bt.call.apply(bt,[Ne].concat(_t))},[]);return St}var Kn=ee(73935),On=function(Ne){return+setTimeout(Ne,16)},Qt=function(Ne){return clearTimeout(Ne)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(On=function(Ne){return window.requestAnimationFrame(Ne)},Qt=function(Ne){return window.cancelAnimationFrame(Ne)});var Dr=0,jt=new Map;function rn(Ce){jt.delete(Ce)}var Ir=function(Ne){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Dr+=1;var bt=Dr;function Jt(_t){if(_t===0)rn(bt),Ne();else{var Wt=On(function(){Jt(_t-1)});jt.set(bt,Wt)}}return Jt(St),bt};Ir.cancel=function(Ce){var Ne=jt.get(Ce);return rn(Ne),Qt(Ne)};var ur=Ir;function Rr(Ce){if(typeof MessageChannel=="undefined")ur(Ce);else{var Ne=new MessageChannel;Ne.port1.onmessage=function(){return Ce()},Ne.port2.postMessage(void 0)}}function aa(){var Ce=de.useRef(null),Ne=function(bt){Ce.current||(Ce.current=[],Rr(function(){(0,Kn.unstable_batchedUpdates)(function(){Ce.current.forEach(function(Jt){Jt()}),Ce.current=null})})),Ce.current.push(bt)};return Ne}function qn(Ce,Ne){var St=de.useState(Ne),bt=(0,me.Z)(St,2),Jt=bt[0],_t=bt[1],Wt=yn(function(Wn){Ce(function(){_t(Wn)})});return[Jt,Wt]}var Pa=de.createContext(null),Fa=["component"],_a=["className"],Xr=["className"],Da=function(Ne,St){var bt=de.useContext(Pa);if(!bt){var Jt=Ne.component,_t=Jt===void 0?"div":Jt,Wt=(0,Pe.Z)(Ne,Fa);return de.createElement(_t,(0,Se.Z)({},Wt,{ref:St}))}var Wn=bt.className,xn=(0,Pe.Z)(bt,_a),Ln=Ne.className,Mr=(0,Pe.Z)(Ne,Xr);return de.createElement(Pa.Provider,{value:null},de.createElement(Vt,(0,Se.Z)({ref:St,className:ce()(Wn,Ln)},xn,Mr)))},Mi=de.forwardRef(Da);Mi.displayName="RawItem";var Si=Mi,zi=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],fi="responsive",Tn="invalidate";function bn(Ce){return"+ ".concat(Ce.length," ...")}function ir(Ce,Ne){var St=Ce.prefixCls,bt=St===void 0?"rc-overflow":St,Jt=Ce.data,_t=Jt===void 0?[]:Jt,Wt=Ce.renderItem,Wn=Ce.renderRawItem,xn=Ce.itemKey,Ln=Ce.itemWidth,Mr=Ln===void 0?10:Ln,pr=Ce.ssr,or=Ce.style,sr=Ce.className,Br=Ce.maxCount,Vr=Ce.renderRest,na=Ce.renderRawRest,ka=Ce.suffix,_e=Ce.component,gt=_e===void 0?"div":_e,Ht=Ce.itemComponent,Ue=Ce.onVisibleChange,Ut=(0,Pe.Z)(Ce,zi),hn=pr==="full",Fn=aa(),Lt=qn(Fn,null),Gt=(0,me.Z)(Lt,2),ln=Gt[0],jn=Gt[1],er=ln||0,gr=qn(Fn,new Map),lr=(0,me.Z)(gr,2),Nr=lr[0],Wr=lr[1],ea=qn(Fn,0),Kr=(0,me.Z)(ea,2),Ba=Kr[0],ua=Kr[1],Na=qn(Fn,0),Ga=(0,me.Z)(Na,2),la=Ga[0],ga=Ga[1],fa=qn(Fn,0),La=(0,me.Z)(fa,2),Aa=La[0],ca=La[1],Xa=(0,de.useState)(null),ra=(0,me.Z)(Xa,2),Ya=ra[0],Za=ra[1],Ua=(0,de.useState)(null),Oa=(0,me.Z)(Ua,2),ii=Oa[0],yi=Oa[1],Ko=de.useMemo(function(){return ii===null&&hn?Number.MAX_SAFE_INTEGER:ii||0},[ii,ln]),No=(0,de.useState)(!1),vo=(0,me.Z)(No,2),ol=vo[0],Bo=vo[1],kl="".concat(bt,"-item"),Pl=Math.max(Ba,la),Ki=Br===fi,di=_t.length&&Ki,go=Br===Tn,zo=di||typeof Br=="number"&&_t.length>Br,oo=(0,de.useMemo)(function(){var qi=_t;return di?ln===null&&hn?qi=_t:qi=_t.slice(0,Math.min(_t.length,er/Mr)):typeof Br=="number"&&(qi=_t.slice(0,Br)),qi},[_t,Mr,ln,Br,di]),bo=(0,de.useMemo)(function(){return di?_t.slice(Ko+1):_t.slice(oo.length)},[_t,oo,di,Ko]),ro=(0,de.useCallback)(function(qi,Ja){var ki;return typeof xn=="function"?xn(qi):(ki=xn&&(qi==null?void 0:qi[xn]))!==null&&ki!==void 0?ki:Ja},[xn]),Wo=(0,de.useCallback)(Wt||function(qi){return qi},[Wt]);function ul(qi,Ja,ki){ii===qi&&(Ja===void 0||Ja===Ya)||(yi(qi),ki||(Bo(qi<_t.length-1),Ue==null||Ue(qi)),Ja!==void 0&&Za(Ja))}function Nl(qi,Ja){jn(Ja.clientWidth)}function Fl(qi,Ja){Wr(function(ki){var Oi=new Map(ki);return Ja===null?Oi.delete(qi):Oi.set(qi,Ja),Oi})}function Ro(qi,Ja){ga(Ja),ua(la)}function Ji(qi,Ja){ca(Ja)}function el(qi){return Nr.get(ro(oo[qi],qi))}En(function(){if(er&&typeof Pl=="number"&&oo){var qi=Aa,Ja=oo.length,ki=Ja-1;if(!Ja){ul(0,null);return}for(var Oi=0;Oi<Ja;Oi+=1){var ba=el(Oi);if(hn&&(ba=ba||0),ba===void 0){ul(Oi-1,void 0,!0);break}if(qi+=ba,ki===0&&qi<=er||Oi===ki-1&&qi+el(ki)<=er){ul(ki,null);break}else if(qi+Pl>er){ul(Oi-1,qi-ba-Aa+la);break}}ka&&el(0)+Aa>er&&Za(null)}},[er,Nr,la,Aa,ro,oo]);var ml=ol&&!!bo.length,Io={};Ya!==null&&di&&(Io={position:"absolute",left:Ya,top:0});var Ho={prefixCls:kl,responsive:di,component:Ht,invalidate:go},Ui=Wn?function(qi,Ja){var ki=ro(qi,Ja);return de.createElement(Pa.Provider,{key:ki,value:(0,fe.Z)((0,fe.Z)({},Ho),{},{order:Ja,item:qi,itemKey:ki,registerSize:Fl,display:Ja<=Ko})},Wn(qi,Ja))}:function(qi,Ja){var ki=ro(qi,Ja);return de.createElement(Vt,(0,Se.Z)({},Ho,{order:Ja,key:ki,item:qi,renderItem:Wo,itemKey:ki,registerSize:Fl,display:Ja<=Ko}))},Bi,tl={order:ml?Ko:Number.MAX_SAFE_INTEGER,className:"".concat(kl,"-rest"),registerSize:Ro,display:ml};if(na)na&&(Bi=de.createElement(Pa.Provider,{value:(0,fe.Z)((0,fe.Z)({},Ho),tl)},na(bo)));else{var jo=Vr||bn;Bi=de.createElement(Vt,(0,Se.Z)({},Ho,tl),typeof jo=="function"?jo(bo):jo)}var Bl=de.createElement(gt,(0,Se.Z)({className:ce()(!go&&bt,sr),style:or,ref:Ne},Ut),oo.map(Ui),zo?Bi:null,ka&&de.createElement(Vt,(0,Se.Z)({},Ho,{responsive:Ki,responsiveDisabled:!di,order:Ko,className:"".concat(kl,"-suffix"),registerSize:Ji,display:!0,style:Io}),ka));return Ki&&(Bl=de.createElement(be.Z,{onResize:Nl,disabled:!di},Bl)),Bl}var Cr=de.forwardRef(ir);Cr.displayName="Overflow",Cr.Item=Si,Cr.RESPONSIVE=fi,Cr.INVALIDATE=Tn;var Or=Cr,Lr=Or,sa=function(Ne,St){var bt,Jt,_t=Ne.prefixCls,Wt=Ne.id,Wn=Ne.inputElement,xn=Ne.disabled,Ln=Ne.tabIndex,Mr=Ne.autoFocus,pr=Ne.autoComplete,or=Ne.editable,sr=Ne.activeDescendantId,Br=Ne.value,Vr=Ne.maxLength,na=Ne.onKeyDown,ka=Ne.onMouseDown,_e=Ne.onChange,gt=Ne.onPaste,Ht=Ne.onCompositionStart,Ue=Ne.onCompositionEnd,Ut=Ne.open,hn=Ne.attrs,Fn=Wn||de.createElement("input",null),Lt=Fn,Gt=Lt.ref,ln=Lt.props,jn=ln.onKeyDown,er=ln.onChange,gr=ln.onMouseDown,lr=ln.onCompositionStart,Nr=ln.onCompositionEnd,Wr=ln.style;return"maxLength"in Fn.props,Fn=de.cloneElement(Fn,(0,fe.Z)((0,fe.Z)((0,fe.Z)({type:"search"},ln),{},{id:Wt,ref:en(St,Gt),disabled:xn,tabIndex:Ln,autoComplete:pr||"off",autoFocus:Mr,className:ce()("".concat(_t,"-selection-search-input"),(bt=Fn)===null||bt===void 0||(Jt=bt.props)===null||Jt===void 0?void 0:Jt.className),role:"combobox","aria-label":"Search","aria-expanded":Ut||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Wt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Wt,"_list"),"aria-activedescendant":Ut?sr:void 0},hn),{},{value:or?Br:"",maxLength:Vr,readOnly:!or,unselectable:or?null:"on",style:(0,fe.Z)((0,fe.Z)({},Wr),{},{opacity:or?null:0}),onKeyDown:function(Kr){na(Kr),jn&&jn(Kr)},onMouseDown:function(Kr){ka(Kr),gr&&gr(Kr)},onChange:function(Kr){_e(Kr),er&&er(Kr)},onCompositionStart:function(Kr){Ht(Kr),lr&&lr(Kr)},onCompositionEnd:function(Kr){Ue(Kr),Nr&&Nr(Kr)},onPaste:gt})),Fn},pn=de.forwardRef(sa);pn.displayName="Input";var At=pn;function Zt(Ce){return Array.isArray(Ce)?Ce:Ce!==void 0?[Ce]:[]}var on=typeof window!="undefined"&&window.document&&window.document.documentElement,Yn=on;function Dt(Ce){return Ce!=null}function fn(Ce){return!Ce&&Ce!==0}function Vn(Ce){return["string","number"].includes((0,Ge.Z)(Ce))}function kn(Ce){var Ne=void 0;return Ce&&(Vn(Ce.title)?Ne=Ce.title.toString():Vn(Ce.label)&&(Ne=Ce.label.toString())),Ne}function rr(Ce,Ne){Yn?de.useLayoutEffect(Ce,Ne):de.useEffect(Ce,Ne)}function fr(Ce){var Ne;return(Ne=Ce.key)!==null&&Ne!==void 0?Ne:Ce.value}var mn=function(Ne){Ne.preventDefault(),Ne.stopPropagation()},Ta=function(Ne){var St=Ne.id,bt=Ne.prefixCls,Jt=Ne.values,_t=Ne.open,Wt=Ne.searchValue,Wn=Ne.autoClearSearchValue,xn=Ne.inputRef,Ln=Ne.placeholder,Mr=Ne.disabled,pr=Ne.mode,or=Ne.showSearch,sr=Ne.autoFocus,Br=Ne.autoComplete,Vr=Ne.activeDescendantId,na=Ne.tabIndex,ka=Ne.removeIcon,_e=Ne.maxTagCount,gt=Ne.maxTagTextLength,Ht=Ne.maxTagPlaceholder,Ue=Ht===void 0?function(Za){return"+ ".concat(Za.length," ...")}:Ht,Ut=Ne.tagRender,hn=Ne.onToggleOpen,Fn=Ne.onRemove,Lt=Ne.onInputChange,Gt=Ne.onInputPaste,ln=Ne.onInputKeyDown,jn=Ne.onInputMouseDown,er=Ne.onInputCompositionStart,gr=Ne.onInputCompositionEnd,lr=de.useRef(null),Nr=(0,de.useState)(0),Wr=(0,me.Z)(Nr,2),ea=Wr[0],Kr=Wr[1],Ba=(0,de.useState)(!1),ua=(0,me.Z)(Ba,2),Na=ua[0],Ga=ua[1],la="".concat(bt,"-selection"),ga=_t||pr==="multiple"&&Wn===!1||pr==="tags"?Wt:"",fa=pr==="tags"||pr==="multiple"&&Wn===!1||or&&(_t||Na);rr(function(){Kr(lr.current.scrollWidth)},[ga]);function La(Za,Ua,Oa,ii,yi){return de.createElement("span",{className:ce()("".concat(la,"-item"),(0,Xe.Z)({},"".concat(la,"-item-disabled"),Oa)),title:kn(Za)},de.createElement("span",{className:"".concat(la,"-item-content")},Ua),ii&&de.createElement(vn,{className:"".concat(la,"-item-remove"),onMouseDown:mn,onClick:yi,customizeIcon:ka},"\xD7"))}function Aa(Za,Ua,Oa,ii,yi){var Ko=function(vo){mn(vo),hn(!_t)};return de.createElement("span",{onMouseDown:Ko},Ut({label:Ua,value:Za,disabled:Oa,closable:ii,onClose:yi}))}function ca(Za){var Ua=Za.disabled,Oa=Za.label,ii=Za.value,yi=!Mr&&!Ua,Ko=Oa;if(typeof gt=="number"&&(typeof Oa=="string"||typeof Oa=="number")){var No=String(Ko);No.length>gt&&(Ko="".concat(No.slice(0,gt),"..."))}var vo=function(Bo){Bo&&Bo.stopPropagation(),Fn(Za)};return typeof Ut=="function"?Aa(ii,Ko,Ua,yi,vo):La(Za,Ko,Ua,yi,vo)}function Xa(Za){var Ua=typeof Ue=="function"?Ue(Za):Ue;return La({title:Ua},Ua,!1)}var ra=de.createElement("div",{className:"".concat(la,"-search"),style:{width:ea},onFocus:function(){Ga(!0)},onBlur:function(){Ga(!1)}},de.createElement(At,{ref:xn,open:_t,prefixCls:bt,id:St,inputElement:null,disabled:Mr,autoFocus:sr,autoComplete:Br,editable:fa,activeDescendantId:Vr,value:ga,onKeyDown:ln,onMouseDown:jn,onChange:Lt,onPaste:Gt,onCompositionStart:er,onCompositionEnd:gr,tabIndex:na,attrs:he(Ne,!0)}),de.createElement("span",{ref:lr,className:"".concat(la,"-search-mirror"),"aria-hidden":!0},ga,"\xA0")),Ya=de.createElement(Lr,{prefixCls:"".concat(la,"-overflow"),data:Jt,renderItem:ca,renderRest:Xa,suffix:ra,itemKey:fr,maxCount:_e});return de.createElement(de.Fragment,null,Ya,!Jt.length&&!ga&&de.createElement("span",{className:"".concat(la,"-placeholder")},Ln))},ha=Ta,ya=function(Ne){var St=Ne.inputElement,bt=Ne.prefixCls,Jt=Ne.id,_t=Ne.inputRef,Wt=Ne.disabled,Wn=Ne.autoFocus,xn=Ne.autoComplete,Ln=Ne.activeDescendantId,Mr=Ne.mode,pr=Ne.open,or=Ne.values,sr=Ne.placeholder,Br=Ne.tabIndex,Vr=Ne.showSearch,na=Ne.searchValue,ka=Ne.activeValue,_e=Ne.maxLength,gt=Ne.onInputKeyDown,Ht=Ne.onInputMouseDown,Ue=Ne.onInputChange,Ut=Ne.onInputPaste,hn=Ne.onInputCompositionStart,Fn=Ne.onInputCompositionEnd,Lt=Ne.title,Gt=de.useState(!1),ln=(0,me.Z)(Gt,2),jn=ln[0],er=ln[1],gr=Mr==="combobox",lr=gr||Vr,Nr=or[0],Wr=na||"";gr&&ka&&!jn&&(Wr=ka),de.useEffect(function(){gr&&er(!1)},[gr,ka]);var ea=Mr!=="combobox"&&!pr&&!Vr?!1:!!Wr,Kr=Lt===void 0?kn(Nr):Lt,Ba=function(){if(Nr)return null;var Na=ea?{visibility:"hidden"}:void 0;return de.createElement("span",{className:"".concat(bt,"-selection-placeholder"),style:Na},sr)};return de.createElement(de.Fragment,null,de.createElement("span",{className:"".concat(bt,"-selection-search")},de.createElement(At,{ref:_t,prefixCls:bt,id:Jt,open:pr,inputElement:St,disabled:Wt,autoFocus:Wn,autoComplete:xn,editable:lr,activeDescendantId:Ln,value:Wr,onKeyDown:gt,onMouseDown:Ht,onChange:function(Na){er(!0),Ue(Na)},onPaste:Ut,onCompositionStart:hn,onCompositionEnd:Fn,tabIndex:Br,attrs:he(Ne,!0),maxLength:gr?_e:void 0})),!gr&&Nr?de.createElement("span",{className:"".concat(bt,"-selection-item"),title:Kr,style:ea?{visibility:"hidden"}:void 0},Nr.label):null,Ba())},Sa=ya;function Ma(Ce){return![ut.ESC,ut.SHIFT,ut.BACKSPACE,ut.TAB,ut.WIN_KEY,ut.ALT,ut.META,ut.WIN_KEY_RIGHT,ut.CTRL,ut.SEMICOLON,ut.EQUALS,ut.CAPS_LOCK,ut.CONTEXT_MENU,ut.F1,ut.F2,ut.F3,ut.F4,ut.F5,ut.F6,ut.F7,ut.F8,ut.F9,ut.F10,ut.F11,ut.F12].includes(Ce)}var pa=function(Ne,St){var bt=(0,de.useRef)(null),Jt=(0,de.useRef)(!1),_t=Ne.prefixCls,Wt=Ne.open,Wn=Ne.mode,xn=Ne.showSearch,Ln=Ne.tokenWithEnter,Mr=Ne.autoClearSearchValue,pr=Ne.onSearch,or=Ne.onSearchSubmit,sr=Ne.onToggleOpen,Br=Ne.onInputKeyDown,Vr=Ne.domRef;de.useImperativeHandle(St,function(){return{focus:function(){bt.current.focus()},blur:function(){bt.current.blur()}}});var na=Cn(0),ka=(0,me.Z)(na,2),_e=ka[0],gt=ka[1],Ht=function(Wr){var ea=Wr.which;(ea===ut.UP||ea===ut.DOWN)&&Wr.preventDefault(),Br&&Br(Wr),ea===ut.ENTER&&Wn==="tags"&&!Jt.current&&!Wt&&(or==null||or(Wr.target.value)),Ma(ea)&&sr(!0)},Ue=function(){gt(!0)},Ut=(0,de.useRef)(null),hn=function(Wr){pr(Wr,!0,Jt.current)!==!1&&sr(!0)},Fn=function(){Jt.current=!0},Lt=function(Wr){Jt.current=!1,Wn!=="combobox"&&hn(Wr.target.value)},Gt=function(Wr){var ea=Wr.target.value;if(Ln&&Ut.current&&/[\r\n]/.test(Ut.current)){var Kr=Ut.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ea=ea.replace(Kr,Ut.current)}Ut.current=null,hn(ea)},ln=function(Wr){var ea=Wr.clipboardData,Kr=ea.getData("text");Ut.current=Kr},jn=function(Wr){var ea=Wr.target;if(ea!==bt.current){var Kr=document.body.style.msTouchAction!==void 0;Kr?setTimeout(function(){bt.current.focus()}):bt.current.focus()}},er=function(Wr){var ea=_e();Wr.target!==bt.current&&!ea&&Wn!=="combobox"&&Wr.preventDefault(),(Wn!=="combobox"&&(!xn||!ea)||!Wt)&&(Wt&&Mr!==!1&&pr("",!0,!1),sr())},gr={inputRef:bt,onInputKeyDown:Ht,onInputMouseDown:Ue,onInputChange:Gt,onInputPaste:ln,onInputCompositionStart:Fn,onInputCompositionEnd:Lt},lr=Wn==="multiple"||Wn==="tags"?de.createElement(ha,(0,Se.Z)({},Ne,gr)):de.createElement(Sa,(0,Se.Z)({},Ne,gr));return de.createElement("div",{ref:Vr,className:"".concat(_t,"-selector"),onClick:jn,onMouseDown:er},lr)},Er=de.forwardRef(pa);Er.displayName="Selector";var qr=Er,Hi=ee(62709),Fi=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],$a=function(Ne){var St=Ne===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"}}},ni=function(Ne,St){var bt=Ne.prefixCls,Jt=Ne.disabled,_t=Ne.visible,Wt=Ne.children,Wn=Ne.popupElement,xn=Ne.animation,Ln=Ne.transitionName,Mr=Ne.dropdownStyle,pr=Ne.dropdownClassName,or=Ne.direction,sr=or===void 0?"ltr":or,Br=Ne.placement,Vr=Ne.builtinPlacements,na=Ne.dropdownMatchSelectWidth,ka=Ne.dropdownRender,_e=Ne.dropdownAlign,gt=Ne.getPopupContainer,Ht=Ne.empty,Ue=Ne.getTriggerDOMNode,Ut=Ne.onPopupVisibleChange,hn=Ne.onPopupMouseEnter,Fn=(0,Pe.Z)(Ne,Fi),Lt="".concat(bt,"-dropdown"),Gt=Wn;ka&&(Gt=ka(Wn));var ln=de.useMemo(function(){return Vr||$a(na)},[Vr,na]),jn=xn?"".concat(Lt,"-").concat(xn):Ln,er=typeof na=="number",gr=de.useMemo(function(){return er?null:na===!1?"minWidth":"width"},[na,er]),lr=Mr;er&&(lr=(0,fe.Z)((0,fe.Z)({},lr),{},{width:na}));var Nr=de.useRef(null);return de.useImperativeHandle(St,function(){return{getPopupElement:function(){return Nr.current}}}),de.createElement(Hi.Z,(0,Se.Z)({},Fn,{showAction:Ut?["click"]:[],hideAction:Ut?["click"]:[],popupPlacement:Br||(sr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ln,prefixCls:Lt,popupTransitionName:jn,popup:de.createElement("div",{ref:Nr,onMouseEnter:hn},Gt),stretch:gr,popupAlign:_e,popupVisible:_t,getPopupContainer:gt,popupClassName:ce()(pr,(0,Xe.Z)({},"".concat(Lt,"-empty"),Ht)),popupStyle:lr,getTriggerDOMNode:Ue,onPopupVisibleChange:Ut}),Wt)},no=de.forwardRef(ni);no.displayName="SelectTrigger";var oi=no,so=ee(84506);function ta(Ce,Ne){var St=Ce.key,bt;return"value"in Ce&&(bt=Ce.value),St!=null?St:bt!==void 0?bt:"rc-index-key-".concat(Ne)}function to(Ce,Ne){var St=Ce||{},bt=St.label,Jt=St.value,_t=St.options,Wt=St.groupLabel,Wn=bt||(Ne?"children":"label");return{label:Wn,value:Jt||"value",options:_t||"options",groupLabel:Wt||Wn}}function xo(Ce){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},St=Ne.fieldNames,bt=Ne.childrenAsData,Jt=[],_t=to(St,!1),Wt=_t.label,Wn=_t.value,xn=_t.options,Ln=_t.groupLabel;function Mr(pr,or){pr.forEach(function(sr){if(or||!(xn in sr)){var Br=sr[Wn];Jt.push({key:ta(sr,Jt.length),groupOption:or,data:sr,label:sr[Wt],value:Br})}else{var Vr=sr[Ln];Vr===void 0&&bt&&(Vr=sr.label),Jt.push({key:ta(sr,Jt.length),group:!0,data:sr,label:Vr}),Mr(sr[xn],!0)}})}return Mr(Ce,!1),Jt}function xl(Ce){var Ne=(0,fe.Z)({},Ce);return"props"in Ne||Object.defineProperty(Ne,"props",{get:function(){return Be(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ne}}),Ne}function ll(Ce,Ne){if(!Ne||!Ne.length)return null;var St=!1;function bt(_t,Wt){var Wn=(0,so.Z)(Wt),xn=Wn[0],Ln=Wn.slice(1);if(!xn)return[_t];var Mr=_t.split(xn);return St=St||Mr.length>1,Mr.reduce(function(pr,or){return[].concat((0,ne.Z)(pr),(0,ne.Z)(bt(or,Ln)))},[]).filter(function(pr){return pr})}var Jt=bt(Ce,Ne);return St?Jt:null}var Uo=["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","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],co=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function wl(Ce){return Ce==="tags"||Ce==="multiple"}var Yo=de.forwardRef(function(Ce,Ne){var St,bt,Jt=Ce.id,_t=Ce.prefixCls,Wt=Ce.className,Wn=Ce.showSearch,xn=Ce.tagRender,Ln=Ce.direction,Mr=Ce.omitDomProps,pr=Ce.displayValues,or=Ce.onDisplayValuesChange,sr=Ce.emptyOptions,Br=Ce.notFoundContent,Vr=Br===void 0?"Not Found":Br,na=Ce.onClear,ka=Ce.mode,_e=Ce.disabled,gt=Ce.loading,Ht=Ce.getInputElement,Ue=Ce.getRawInputElement,Ut=Ce.open,hn=Ce.defaultOpen,Fn=Ce.onDropdownVisibleChange,Lt=Ce.activeValue,Gt=Ce.onActiveValueChange,ln=Ce.activeDescendantId,jn=Ce.searchValue,er=Ce.autoClearSearchValue,gr=Ce.onSearch,lr=Ce.onSearchSplit,Nr=Ce.tokenSeparators,Wr=Ce.allowClear,ea=Ce.suffixIcon,Kr=Ce.clearIcon,Ba=Ce.OptionList,ua=Ce.animation,Na=Ce.transitionName,Ga=Ce.dropdownStyle,la=Ce.dropdownClassName,ga=Ce.dropdownMatchSelectWidth,fa=Ce.dropdownRender,La=Ce.dropdownAlign,Aa=Ce.placement,ca=Ce.builtinPlacements,Xa=Ce.getPopupContainer,ra=Ce.showAction,Ya=ra===void 0?[]:ra,Za=Ce.onFocus,Ua=Ce.onBlur,Oa=Ce.onKeyUp,ii=Ce.onKeyDown,yi=Ce.onMouseDown,Ko=(0,Pe.Z)(Ce,Uo),No=wl(ka),vo=(Wn!==void 0?Wn:No)||ka==="combobox",ol=(0,fe.Z)({},Ko);co.forEach(function(Wa){delete ol[Wa]}),Mr==null||Mr.forEach(function(Wa){delete ol[Wa]});var Bo=de.useState(!1),kl=(0,me.Z)(Bo,2),Pl=kl[0],Ki=kl[1];de.useEffect(function(){Ki(mt())},[]);var di=de.useRef(null),go=de.useRef(null),zo=de.useRef(null),oo=de.useRef(null),bo=de.useRef(null),ro=nn(),Wo=(0,me.Z)(ro,3),ul=Wo[0],Nl=Wo[1],Fl=Wo[2];de.useImperativeHandle(Ne,function(){var Wa,Ha;return{focus:(Wa=oo.current)===null||Wa===void 0?void 0:Wa.focus,blur:(Ha=oo.current)===null||Ha===void 0?void 0:Ha.blur,scrollTo:function(Li){var ao;return(ao=bo.current)===null||ao===void 0?void 0:ao.scrollTo(Li)}}});var Ro=de.useMemo(function(){var Wa;if(ka!=="combobox")return jn;var Ha=(Wa=pr[0])===null||Wa===void 0?void 0:Wa.value;return typeof Ha=="string"||typeof Ha=="number"?String(Ha):""},[jn,ka,pr]),Ji=ka==="combobox"&&typeof Ht=="function"&&Ht()||null,el=typeof Ue=="function"&&Ue(),ml=ct(go,el==null||(St=el.props)===null||St===void 0?void 0:St.ref),Io=de.useState(!1),Ho=(0,me.Z)(Io,2),Ui=Ho[0],Bi=Ho[1];Ee(function(){Bi(!0)},[]);var tl=st(!1,{defaultValue:hn,value:Ut}),jo=(0,me.Z)(tl,2),Bl=jo[0],qi=jo[1],Ja=Ui?Bl:!1,ki=!Vr&&sr;(_e||ki&&Ja&&ka==="combobox")&&(Ja=!1);var Oi=ki?!1:Ja,ba=de.useCallback(function(Wa){var Ha=Wa!==void 0?Wa:!Ja;_e||(qi(Ha),Ja!==Ha&&(Fn==null||Fn(Ha)))},[_e,Ja,qi,Fn]),Qa=de.useMemo(function(){return(Nr||[]).some(function(Wa){return[`
`,`\r
`].includes(Wa)})},[Nr]),Gi=function(Ha,ei,Li){var ao=!0,nl=Ha;Gt==null||Gt(null);var Po=Li?null:ll(Ha,Nr);return ka!=="combobox"&&Po&&(nl="",lr==null||lr(Po),ba(!1),ao=!1),gr&&Ro!==nl&&gr(nl,{source:ei?"typing":"effect"}),ao},cl=function(Ha){!Ha||!Ha.trim()||gr(Ha,{source:"submit"})};de.useEffect(function(){!Ja&&!No&&ka!=="combobox"&&Gi("",!1,!1)},[Ja]),de.useEffect(function(){Bl&&_e&&qi(!1),_e&&Nl(!1)},[_e]);var Jl=Cn(),ws=(0,me.Z)(Jl,2),Te=ws[0],Ze=ws[1],Et=function(Ha){var ei=Te(),Li=Ha.which;if(Li===ut.ENTER&&(ka!=="combobox"&&Ha.preventDefault(),Ja||ba(!0)),Ze(!!Ro),Li===ut.BACKSPACE&&!ei&&No&&!Ro&&pr.length){for(var ao=(0,ne.Z)(pr),nl=null,Po=ao.length-1;Po>=0;Po-=1){var Oo=ao[Po];if(!Oo.disabled){ao.splice(Po,1),nl=Oo;break}}nl&&or(ao,{type:"remove",values:[nl]})}for(var Ml=arguments.length,vl=new Array(Ml>1?Ml-1:0),Kl=1;Kl<Ml;Kl++)vl[Kl-1]=arguments[Kl];if(Ja&&bo.current){var Gl;(Gl=bo.current).onKeyDown.apply(Gl,[Ha].concat(vl))}ii==null||ii.apply(void 0,[Ha].concat(vl))},Ot=function(Ha){for(var ei=arguments.length,Li=new Array(ei>1?ei-1:0),ao=1;ao<ei;ao++)Li[ao-1]=arguments[ao];if(Ja&&bo.current){var nl;(nl=bo.current).onKeyUp.apply(nl,[Ha].concat(Li))}Oa==null||Oa.apply(void 0,[Ha].concat(Li))},Yt=function(Ha){var ei=pr.filter(function(Li){return Li!==Ha});or(ei,{type:"remove",values:[Ha]})},An=de.useRef(!1),ar=function(){Nl(!0),_e||(Za&&!An.current&&Za.apply(void 0,arguments),Ya.includes("focus")&&ba(!0)),An.current=!0},wr=function(){Nl(!1,function(){An.current=!1,ba(!1)}),!_e&&(Ro&&(ka==="tags"?gr(Ro,{source:"submit"}):ka==="multiple"&&gr("",{source:"blur"})),Ua&&Ua.apply(void 0,arguments))},Un=[];de.useEffect(function(){return function(){Un.forEach(function(Wa){return clearTimeout(Wa)}),Un.splice(0,Un.length)}},[]);var Gn=function(Ha){var ei,Li=Ha.target,ao=(ei=zo.current)===null||ei===void 0?void 0:ei.getPopupElement();if(ao&&ao.contains(Li)){var nl=setTimeout(function(){var vl=Un.indexOf(nl);if(vl!==-1&&Un.splice(vl,1),Fl(),!Pl&&!ao.contains(document.activeElement)){var Kl;(Kl=oo.current)===null||Kl===void 0||Kl.focus()}});Un.push(nl)}for(var Po=arguments.length,Oo=new Array(Po>1?Po-1:0),Ml=1;Ml<Po;Ml++)Oo[Ml-1]=arguments[Ml];yi==null||yi.apply(void 0,[Ha].concat(Oo))},Sr=de.useState({}),Nn=(0,me.Z)(Sr,2),Ur=Nn[1];function xa(){Ur({})}var wa;el&&(wa=function(Ha){ba(Ha)}),Sn(function(){var Wa;return[di.current,(Wa=zo.current)===null||Wa===void 0?void 0:Wa.getPopupElement()]},Oi,ba,!!el);var Ka=de.useMemo(function(){return(0,fe.Z)((0,fe.Z)({},Ce),{},{notFoundContent:Vr,open:Ja,triggerOpen:Oi,id:Jt,showSearch:vo,multiple:No,toggleOpen:ba})},[Ce,Vr,Oi,Ja,Jt,vo,No,ba]),Yr=!!ea||gt,ri;Yr&&(ri=de.createElement(vn,{className:ce()("".concat(_t,"-arrow"),(0,Xe.Z)({},"".concat(_t,"-arrow-loading"),gt)),customizeIcon:ea,customizeIconProps:{loading:gt,searchValue:Ro,open:Ja,focused:ul,showSearch:vo}}));var qa=function(){var Ha;na==null||na(),(Ha=oo.current)===null||Ha===void 0||Ha.focus(),or([],{type:"clear",values:pr}),Gi("",!1,!1)},Ti=qt(_t,qa,pr,Wr,Kr,_e,Ro,ka),vi=Ti.allowClear,hi=Ti.clearIcon,bi=de.createElement(Ba,{ref:bo}),_i=ce()(_t,Wt,(bt={},(0,Xe.Z)(bt,"".concat(_t,"-focused"),ul),(0,Xe.Z)(bt,"".concat(_t,"-multiple"),No),(0,Xe.Z)(bt,"".concat(_t,"-single"),!No),(0,Xe.Z)(bt,"".concat(_t,"-allow-clear"),Wr),(0,Xe.Z)(bt,"".concat(_t,"-show-arrow"),Yr),(0,Xe.Z)(bt,"".concat(_t,"-disabled"),_e),(0,Xe.Z)(bt,"".concat(_t,"-loading"),gt),(0,Xe.Z)(bt,"".concat(_t,"-open"),Ja),(0,Xe.Z)(bt,"".concat(_t,"-customize-input"),Ji),(0,Xe.Z)(bt,"".concat(_t,"-show-search"),vo),bt)),Fo=de.createElement(oi,{ref:zo,disabled:_e,prefixCls:_t,visible:Oi,popupElement:bi,animation:ua,transitionName:Na,dropdownStyle:Ga,dropdownClassName:la,direction:Ln,dropdownMatchSelectWidth:ga,dropdownRender:fa,dropdownAlign:La,placement:Aa,builtinPlacements:ca,getPopupContainer:Xa,empty:sr,getTriggerDOMNode:function(){return go.current},onPopupVisibleChange:wa,onPopupMouseEnter:xa},el?de.cloneElement(el,{ref:ml}):de.createElement(qr,(0,Se.Z)({},Ce,{domRef:go,prefixCls:_t,inputElement:Ji,ref:oo,id:Jt,showSearch:vo,autoClearSearchValue:er,mode:ka,activeDescendantId:ln,tagRender:xn,values:pr,open:Ja,onToggleOpen:ba,activeValue:Lt,searchValue:Ro,onSearch:Gi,onSearchSubmit:cl,onRemove:Yt,tokenWithEnter:Qa}))),Ii;return el?Ii=Fo:Ii=de.createElement("div",(0,Se.Z)({className:_i},ol,{ref:di,onMouseDown:Gn,onKeyDown:Et,onKeyUp:Ot,onFocus:ar,onBlur:wr}),ul&&!Ja&&de.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(pr.map(function(Wa){var Ha=Wa.label,ei=Wa.value;return["number","string"].includes((0,Ge.Z)(Ha))?Ha:ei}).join(", "))),Fo,ri,vi&&hi),de.createElement(Nt.Provider,{value:Ka},Ii)}),gl=Yo,zl=function(Ce,Ne){var St=de.useRef({values:new Map,options:new Map}),bt=de.useMemo(function(){var _t=St.current,Wt=_t.values,Wn=_t.options,xn=Ce.map(function(pr){if(pr.label===void 0){var or;return(0,fe.Z)((0,fe.Z)({},pr),{},{label:(or=Wt.get(pr.value))===null||or===void 0?void 0:or.label})}return pr}),Ln=new Map,Mr=new Map;return xn.forEach(function(pr){Ln.set(pr.value,pr),Mr.set(pr.value,Ne.get(pr.value)||Wn.get(pr.value))}),St.current.values=Ln,St.current.options=Mr,xn},[Ce,Ne]),Jt=de.useCallback(function(_t){return Ne.get(_t)||St.current.options.get(_t)},[Ne]);return[bt,Jt]};function Sl(Ce,Ne){return Zt(Ce).join("").toUpperCase().includes(Ne)}var Cl=function(Ce,Ne,St,bt,Jt){return de.useMemo(function(){if(!St||bt===!1)return Ce;var _t=Ne.options,Wt=Ne.label,Wn=Ne.value,xn=[],Ln=typeof bt=="function",Mr=St.toUpperCase(),pr=Ln?bt:function(sr,Br){return Jt?Sl(Br[Jt],Mr):Br[_t]?Sl(Br[Wt!=="children"?Wt:"label"],Mr):Sl(Br[Wn],Mr)},or=Ln?function(sr){return xl(sr)}:function(sr){return sr};return Ce.forEach(function(sr){if(sr[_t]){var Br=pr(St,or(sr));if(Br)xn.push(sr);else{var Vr=sr[_t].filter(function(na){return pr(St,or(na))});Vr.length&&xn.push((0,fe.Z)((0,fe.Z)({},sr),{},(0,Xe.Z)({},_t,Vr)))}return}pr(St,or(sr))&&xn.push(sr)}),xn},[Ce,bt,Jt,St,Ne])},wi=0,ko=ot();function Pi(){var Ce;return ko?(Ce=wi,wi+=1):Ce="TEST_OR_SSR",Ce}function Ci(Ce){var Ne=de.useState(),St=(0,me.Z)(Ne,2),bt=St[0],Jt=St[1];return de.useEffect(function(){Jt("rc_select_".concat(Pi()))},[]),Ce||bt}function Zn(Ce){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},St=[];return de.Children.forEach(Ce,function(bt){bt==null&&!Ne.keepEmpty||(Array.isArray(bt)?St=St.concat(Zn(bt)):(0,rt.isFragment)(bt)&&bt.props?St=St.concat(Zn(bt.props.children,Ne)):St.push(bt))}),St}var Mn=["children","value"],dr=["children"];function Qr(Ce){var Ne=Ce,St=Ne.key,bt=Ne.props,Jt=bt.children,_t=bt.value,Wt=(0,Pe.Z)(bt,Mn);return(0,fe.Z)({key:St,value:_t!==void 0?_t:St,children:Jt},Wt)}function va(Ce){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Zn(Ce).map(function(St,bt){if(!de.isValidElement(St)||!St.type)return null;var Jt=St,_t=Jt.type.isSelectOptGroup,Wt=Jt.key,Wn=Jt.props,xn=Wn.children,Ln=(0,Pe.Z)(Wn,dr);return Ne||!_t?Qr(St):(0,fe.Z)((0,fe.Z)({key:"__RC_SELECT_GRP__".concat(Wt===null?bt:Wt,"__"),label:Wt},Ln),{},{options:va(xn)})}).filter(function(St){return St})}function pi(Ce,Ne,St,bt,Jt){return de.useMemo(function(){var _t=Ce,Wt=!Ce;Wt&&(_t=va(Ne));var Wn=new Map,xn=new Map,Ln=function(or,sr,Br){Br&&typeof Br=="string"&&or.set(sr[Br],sr)};function Mr(pr){for(var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sr=0;sr<pr.length;sr+=1){var Br=pr[sr];!Br[St.options]||or?(Wn.set(Br[St.value],Br),Ln(xn,Br,St.label),Ln(xn,Br,bt),Ln(xn,Br,Jt)):Mr(Br[St.options],!0)}}return Mr(_t),{options:_t,valueOptions:Wn,labelOptions:xn}},[Ce,Ne,St,bt,Jt])}function Ai(Ce){var Ne=de.useRef();Ne.current=Ce;var St=de.useCallback(function(){return Ne.current.apply(Ne,arguments)},[]);return St}var Vi=function(){return null};Vi.isSelectOptGroup=!0;var ui=Vi,Di=function(){return null};Di.isSelectOption=!0;var Eo=Di;function Zo(Ce,Ne){var St=(0,fe.Z)({},Ce);return Array.isArray(Ne)&&Ne.forEach(function(bt){delete St[bt]}),St}var Qo=ee(73299),He=de.createContext(null),nt=He;function It(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var pe=["disabled","title","children","style","className"];function Oe(Ce){return typeof Ce=="string"||typeof Ce=="number"}var Ae=function(Ne,St){var bt=Kt(),Jt=bt.prefixCls,_t=bt.id,Wt=bt.open,Wn=bt.multiple,xn=bt.mode,Ln=bt.searchValue,Mr=bt.toggleOpen,pr=bt.notFoundContent,or=bt.onPopupScroll,sr=de.useContext(nt),Br=sr.flattenOptions,Vr=sr.onActiveValue,na=sr.defaultActiveFirstOption,ka=sr.onSelect,_e=sr.menuItemSelectedIcon,gt=sr.rawValues,Ht=sr.fieldNames,Ue=sr.virtual,Ut=sr.direction,hn=sr.listHeight,Fn=sr.listItemHeight,Lt="".concat(Jt,"-item"),Gt=Tt(function(){return Br},[Wt,Br],function(La,Aa){return Aa[0]&&La[1]!==Aa[1]}),ln=de.useRef(null),jn=function(Aa){Aa.preventDefault()},er=function(Aa){ln.current&&ln.current.scrollTo(typeof Aa=="number"?{index:Aa}:Aa)},gr=function(Aa){for(var ca=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Xa=Gt.length,ra=0;ra<Xa;ra+=1){var Ya=(Aa+ra*ca+Xa)%Xa,Za=Gt[Ya],Ua=Za.group,Oa=Za.data;if(!Ua&&!Oa.disabled)return Ya}return-1},lr=de.useState(function(){return gr(0)}),Nr=(0,me.Z)(lr,2),Wr=Nr[0],ea=Nr[1],Kr=function(Aa){var ca=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ea(Aa);var Xa={source:ca?"keyboard":"mouse"},ra=Gt[Aa];if(!ra){Vr(null,-1,Xa);return}Vr(ra.value,Aa,Xa)};(0,de.useEffect)(function(){Kr(na!==!1?gr(0):-1)},[Gt.length,Ln]);var Ba=de.useCallback(function(La){return gt.has(La)&&xn!=="combobox"},[xn,(0,ne.Z)(gt).toString(),gt.size]);(0,de.useEffect)(function(){var La=setTimeout(function(){if(!Wn&&Wt&&gt.size===1){var ca=Array.from(gt)[0],Xa=Gt.findIndex(function(ra){var Ya=ra.data;return Ya.value===ca});Xa!==-1&&(Kr(Xa),er(Xa))}});if(Wt){var Aa;(Aa=ln.current)===null||Aa===void 0||Aa.scrollTo(void 0)}return function(){return clearTimeout(La)}},[Wt,Ln,Br.length]);var ua=function(Aa){Aa!==void 0&&ka(Aa,{selected:!gt.has(Aa)}),Wn||Mr(!1)};if(de.useImperativeHandle(St,function(){return{onKeyDown:function(Aa){var ca=Aa.which,Xa=Aa.ctrlKey;switch(ca){case ut.N:case ut.P:case ut.UP:case ut.DOWN:{var ra=0;if(ca===ut.UP?ra=-1:ca===ut.DOWN?ra=1:It()&&Xa&&(ca===ut.N?ra=1:ca===ut.P&&(ra=-1)),ra!==0){var Ya=gr(Wr+ra,ra);er(Ya),Kr(Ya,!0)}break}case ut.ENTER:{var Za=Gt[Wr];Za&&!Za.data.disabled?ua(Za.value):ua(void 0),Wt&&Aa.preventDefault();break}case ut.ESC:Mr(!1),Wt&&Aa.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Aa){er(Aa)}}}),Gt.length===0)return de.createElement("div",{role:"listbox",id:"".concat(_t,"_list"),className:"".concat(Lt,"-empty"),onMouseDown:jn},pr);var Na=Object.keys(Ht).map(function(La){return Ht[La]}),Ga=function(Aa){return Aa.label};function la(La,Aa){var ca=La.group;return{role:ca?"presentation":"option",id:"".concat(_t,"_list_").concat(Aa)}}var ga=function(Aa){var ca=Gt[Aa];if(!ca)return null;var Xa=ca.data||{},ra=Xa.value,Ya=ca.group,Za=he(Xa,!0),Ua=Ga(ca);return ca?de.createElement("div",(0,Se.Z)({"aria-label":typeof Ua=="string"&&!Ya?Ua:null},Za,{key:Aa},la(ca,Aa),{"aria-selected":Ba(ra)}),ra):null},fa={role:"listbox",id:"".concat(_t,"_list")};return de.createElement(de.Fragment,null,Ue&&de.createElement("div",(0,Se.Z)({},fa,{style:{height:0,width:0,overflow:"hidden"}}),ga(Wr-1),ga(Wr),ga(Wr+1)),de.createElement(Qo.Z,{itemKey:"key",ref:ln,data:Gt,height:hn,itemHeight:Fn,fullHeight:!1,onMouseDown:jn,onScroll:or,virtual:Ue,direction:Ut,innerProps:Ue?null:fa},function(La,Aa){var ca,Xa=La.group,ra=La.groupOption,Ya=La.data,Za=La.label,Ua=La.value,Oa=Ya.key;if(Xa){var ii,yi=(ii=Ya.title)!==null&&ii!==void 0?ii:Oe(Za)?Za.toString():void 0;return de.createElement("div",{className:ce()(Lt,"".concat(Lt,"-group")),title:yi},Za!==void 0?Za:Oa)}var Ko=Ya.disabled,No=Ya.title,vo=Ya.children,ol=Ya.style,Bo=Ya.className,kl=(0,Pe.Z)(Ya,pe),Pl=Zo(kl,Na),Ki=Ba(Ua),di="".concat(Lt,"-option"),go=ce()(Lt,di,Bo,(ca={},(0,Xe.Z)(ca,"".concat(di,"-grouped"),ra),(0,Xe.Z)(ca,"".concat(di,"-active"),Wr===Aa&&!Ko),(0,Xe.Z)(ca,"".concat(di,"-disabled"),Ko),(0,Xe.Z)(ca,"".concat(di,"-selected"),Ki),ca)),zo=Ga(La),oo=!_e||typeof _e=="function"||Ki,bo=typeof zo=="number"?zo:zo||Ua,ro=Oe(bo)?bo.toString():void 0;return No!==void 0&&(ro=No),de.createElement("div",(0,Se.Z)({},he(Pl),Ue?{}:la(La,Aa),{"aria-selected":Ki,className:go,title:ro,onMouseMove:function(){Wr===Aa||Ko||Kr(Aa)},onClick:function(){Ko||ua(Ua)},style:ol}),de.createElement("div",{className:"".concat(di,"-content")},bo),de.isValidElement(_e)||Ki,oo&&de.createElement(vn,{className:"".concat(Lt,"-option-state"),customizeIcon:_e,customizeIconProps:{isSelected:Ki}},Ki?"\u2713":null))}))},Ke=de.forwardRef(Ae);Ke.displayName="OptionList";var Qe=Ke;function at(Ce){var Ne=Ce.mode,St=Ce.options,bt=Ce.children,Jt=Ce.backfill,_t=Ce.allowClear,Wt=Ce.placeholder,Wn=Ce.getInputElement,xn=Ce.showSearch,Ln=Ce.onSearch,Mr=Ce.defaultOpen,pr=Ce.autoFocus,or=Ce.labelInValue,sr=Ce.value,Br=Ce.inputValue,Vr=Ce.optionLabelProp,na=isMultiple(Ne),ka=xn!==void 0?xn:na||Ne==="combobox",_e=St||convertChildrenToData(bt);if(warning(Ne!=="tags"||_e.every(function(Ut){return!Ut.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ne==="tags"||Ne==="combobox"){var gt=_e.some(function(Ut){return Ut.options?Ut.options.some(function(hn){return typeof("value"in hn?hn.value:hn.key)=="number"}):typeof("value"in Ut?Ut.value:Ut.key)=="number"});warning(!gt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ne!=="combobox"||!Vr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ne==="combobox"||!Jt,"`backfill` only works with `combobox` mode."),warning(Ne==="combobox"||!Wn,"`getInputElement` only work with `combobox` mode."),noteOnce(Ne!=="combobox"||!Wn||!_t||!Wt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ln&&!ka&&Ne!=="combobox"&&Ne!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Mr||pr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),sr!=null){var Ht=toArray(sr);warning(!or||Ht.every(function(Ut){return _typeof(Ut)==="object"&&("key"in Ut||"value"in Ut)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!na||Array.isArray(sr),"`value` should be array when `mode` is `multiple` or `tags`")}if(bt){var Ue=null;toNodeArray(bt).some(function(Ut){if(!React.isValidElement(Ut)||!Ut.type)return!1;var hn=Ut,Fn=hn.type;if(Fn.isSelectOption)return!1;if(Fn.isSelectOptGroup){var Lt=toNodeArray(Ut.props.children).every(function(Gt){return!React.isValidElement(Gt)||!Ut.type||Gt.type.isSelectOption?!0:(Ue=Gt.type,!1)});return!Lt}return Ue=Fn,!0}),Ue&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ue.displayName||Ue.name||Ue,"`.")),warning(Br===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function ft(Ce,Ne){if(Ce){var St=function bt(Jt){for(var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wt=0;Wt<Jt.length;Wt++){var Wn=Jt[Wt];if(Wn[Ne==null?void 0:Ne.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!_t&&Array.isArray(Wn[Ne==null?void 0:Ne.options])&&bt(Wn[Ne==null?void 0:Ne.options],!0))break}};St(Ce)}}var Xt=null,an=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Qn=["inputValue"];function cr(Ce){return!Ce||(0,Ge.Z)(Ce)!=="object"}var Ar=de.forwardRef(function(Ce,Ne){var St=Ce.id,bt=Ce.mode,Jt=Ce.prefixCls,_t=Jt===void 0?"rc-select":Jt,Wt=Ce.backfill,Wn=Ce.fieldNames,xn=Ce.inputValue,Ln=Ce.searchValue,Mr=Ce.onSearch,pr=Ce.autoClearSearchValue,or=pr===void 0?!0:pr,sr=Ce.onSelect,Br=Ce.onDeselect,Vr=Ce.dropdownMatchSelectWidth,na=Vr===void 0?!0:Vr,ka=Ce.filterOption,_e=Ce.filterSort,gt=Ce.optionFilterProp,Ht=Ce.optionLabelProp,Ue=Ce.options,Ut=Ce.children,hn=Ce.defaultActiveFirstOption,Fn=Ce.menuItemSelectedIcon,Lt=Ce.virtual,Gt=Ce.direction,ln=Ce.listHeight,jn=ln===void 0?200:ln,er=Ce.listItemHeight,gr=er===void 0?20:er,lr=Ce.value,Nr=Ce.defaultValue,Wr=Ce.labelInValue,ea=Ce.onChange,Kr=(0,Pe.Z)(Ce,an),Ba=Ci(St),ua=wl(bt),Na=!!(!Ue&&Ut),Ga=de.useMemo(function(){return ka===void 0&&bt==="combobox"?!1:ka},[ka,bt]),la=de.useMemo(function(){return to(Wn,Na)},[JSON.stringify(Wn),Na]),ga=st("",{value:Ln!==void 0?Ln:xn,postState:function(ki){return ki||""}}),fa=(0,me.Z)(ga,2),La=fa[0],Aa=fa[1],ca=pi(Ue,Ut,la,gt,Ht),Xa=ca.valueOptions,ra=ca.labelOptions,Ya=ca.options,Za=de.useCallback(function(Ja){var ki=Zt(Ja);return ki.map(function(Oi){var ba,Qa,Gi,cl,Jl;if(cr(Oi))ba=Oi;else{var ws;Gi=Oi.key,Qa=Oi.label,ba=(ws=Oi.value)!==null&&ws!==void 0?ws:Gi}var Te=Xa.get(ba);if(Te){var Ze;if(Qa===void 0&&(Qa=Te==null?void 0:Te[Ht||la.label]),Gi===void 0&&(Gi=(Ze=Te==null?void 0:Te.key)!==null&&Ze!==void 0?Ze:ba),cl=Te==null?void 0:Te.disabled,Jl=Te==null?void 0:Te.title,0)var Et}return{label:Qa,value:ba,key:Gi,disabled:cl,title:Jl}})},[la,Ht,Xa]),Ua=st(Nr,{value:lr}),Oa=(0,me.Z)(Ua,2),ii=Oa[0],yi=Oa[1],Ko=de.useMemo(function(){var Ja,ki=Za(ii);return bt==="combobox"&&fn((Ja=ki[0])===null||Ja===void 0?void 0:Ja.value)?[]:ki},[ii,Za,bt]),No=zl(Ko,Xa),vo=(0,me.Z)(No,2),ol=vo[0],Bo=vo[1],kl=de.useMemo(function(){if(!bt&&ol.length===1){var Ja=ol[0];if(Ja.value===null&&(Ja.label===null||Ja.label===void 0))return[]}return ol.map(function(ki){var Oi;return(0,fe.Z)((0,fe.Z)({},ki),{},{label:(Oi=ki.label)!==null&&Oi!==void 0?Oi:ki.value})})},[bt,ol]),Pl=de.useMemo(function(){return new Set(ol.map(function(Ja){return Ja.value}))},[ol]);de.useEffect(function(){if(bt==="combobox"){var Ja,ki=(Ja=ol[0])===null||Ja===void 0?void 0:Ja.value;Aa(Dt(ki)?String(ki):"")}},[ol]);var Ki=Ai(function(Ja,ki){var Oi,ba=ki!=null?ki:Ja;return Oi={},(0,Xe.Z)(Oi,la.value,Ja),(0,Xe.Z)(Oi,la.label,ba),Oi}),di=de.useMemo(function(){if(bt!=="tags")return Ya;var Ja=(0,ne.Z)(Ya),ki=function(ba){return Xa.has(ba)};return(0,ne.Z)(ol).sort(function(Oi,ba){return Oi.value<ba.value?-1:1}).forEach(function(Oi){var ba=Oi.value;ki(ba)||Ja.push(Ki(ba,Oi.label))}),Ja},[Ki,Ya,Xa,ol,bt]),go=Cl(di,la,La,Ga,gt),zo=de.useMemo(function(){return bt!=="tags"||!La||go.some(function(Ja){return Ja[gt||"value"]===La})||go.some(function(Ja){return Ja[la.value]===La})?go:[Ki(La)].concat((0,ne.Z)(go))},[Ki,gt,bt,go,La,la]),oo=de.useMemo(function(){return _e?(0,ne.Z)(zo).sort(function(Ja,ki){return _e(Ja,ki)}):zo},[zo,_e]),bo=de.useMemo(function(){return xo(oo,{fieldNames:la,childrenAsData:Na})},[oo,la,Na]),ro=function(ki){var Oi=Za(ki);if(yi(Oi),ea&&(Oi.length!==ol.length||Oi.some(function(Gi,cl){var Jl;return((Jl=ol[cl])===null||Jl===void 0?void 0:Jl.value)!==(Gi==null?void 0:Gi.value)}))){var ba=Wr?Oi:Oi.map(function(Gi){return Gi.value}),Qa=Oi.map(function(Gi){return xl(Bo(Gi.value))});ea(ua?ba:ba[0],ua?Qa:Qa[0])}},Wo=de.useState(null),ul=(0,me.Z)(Wo,2),Nl=ul[0],Fl=ul[1],Ro=de.useState(0),Ji=(0,me.Z)(Ro,2),el=Ji[0],ml=Ji[1],Io=hn!==void 0?hn:bt!=="combobox",Ho=de.useCallback(function(Ja,ki){var Oi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ba=Oi.source,Qa=ba===void 0?"keyboard":ba;ml(ki),Wt&&bt==="combobox"&&Ja!==null&&Qa==="keyboard"&&Fl(String(Ja))},[Wt,bt]),Ui=function(ki,Oi,ba){var Qa=function(){var An,ar=Bo(ki);return[Wr?{label:ar==null?void 0:ar[la.label],value:ki,key:(An=ar==null?void 0:ar.key)!==null&&An!==void 0?An:ki}:ki,xl(ar)]};if(Oi&&sr){var Gi=Qa(),cl=(0,me.Z)(Gi,2),Jl=cl[0],ws=cl[1];sr(Jl,ws)}else if(!Oi&&Br&&ba!=="clear"){var Te=Qa(),Ze=(0,me.Z)(Te,2),Et=Ze[0],Ot=Ze[1];Br(Et,Ot)}},Bi=Ai(function(Ja,ki){var Oi,ba=ua?ki.selected:!0;ba?Oi=ua?[].concat((0,ne.Z)(ol),[Ja]):[Ja]:Oi=ol.filter(function(Qa){return Qa.value!==Ja}),ro(Oi),Ui(Ja,ba),bt==="combobox"?Fl(""):(!wl||or)&&(Aa(""),Fl(""))}),tl=function(ki,Oi){ro(ki);var ba=Oi.type,Qa=Oi.values;(ba==="remove"||ba==="clear")&&Qa.forEach(function(Gi){Ui(Gi.value,!1,ba)})},jo=function(ki,Oi){if(Aa(ki),Fl(null),Oi.source==="submit"){var ba=(ki||"").trim();if(ba){var Qa=Array.from(new Set([].concat((0,ne.Z)(Pl),[ba])));ro(Qa),Ui(ba,!0),Aa("")}return}Oi.source!=="blur"&&(bt==="combobox"&&ro(ki),Mr==null||Mr(ki))},Bl=function(ki){var Oi=ki;bt!=="tags"&&(Oi=ki.map(function(Qa){var Gi=ra.get(Qa);return Gi==null?void 0:Gi.value}).filter(function(Qa){return Qa!==void 0}));var ba=Array.from(new Set([].concat((0,ne.Z)(Pl),(0,ne.Z)(Oi))));ro(ba),ba.forEach(function(Qa){Ui(Qa,!0)})},qi=de.useMemo(function(){var Ja=Lt!==!1&&na!==!1;return(0,fe.Z)((0,fe.Z)({},ca),{},{flattenOptions:bo,onActiveValue:Ho,defaultActiveFirstOption:Io,onSelect:Bi,menuItemSelectedIcon:Fn,rawValues:Pl,fieldNames:la,virtual:Ja,direction:Gt,listHeight:jn,listItemHeight:gr,childrenAsData:Na})},[ca,bo,Ho,Io,Bi,Fn,Pl,la,Lt,na,jn,gr,Na]);return de.createElement(nt.Provider,{value:qi},de.createElement(gl,(0,Se.Z)({},Kr,{id:Ba,prefixCls:_t,ref:Ne,omitDomProps:Qn,mode:bt,displayValues:kl,onDisplayValuesChange:tl,direction:Gt,searchValue:La,onSearch:jo,autoClearSearchValue:or,onSearchSplit:Bl,dropdownMatchSelectWidth:na,OptionList:Qe,emptyOptions:!bo.length,activeValue:Nl,activeDescendantId:"".concat(Ba,"_list_").concat(el)})))}),Dn=Ar;Dn.Option=Eo,Dn.OptGroup=ui;var $n=null,Jn=null,kr=ee(17341);function Hr(Ce){var Ne=de.useRef(!1),St=de.useState(Ce),bt=(0,me.Z)(St,2),Jt=bt[0],_t=bt[1];de.useEffect(function(){return Ne.current=!1,function(){Ne.current=!0}},[]);function Wt(Wn,xn){xn&&Ne.current||_t(Wn)}return[Jt,Wt]}function zr(Ce){return Ce!==void 0}function Fr(Ce,Ne){var St=Ne||{},bt=St.defaultValue,Jt=St.value,_t=St.onChange,Wt=St.postState,Wn=Hr(function(){return zr(Jt)?Jt:zr(bt)?typeof bt=="function"?bt():bt:typeof Ce=="function"?Ce():Ce}),xn=(0,me.Z)(Wn,2),Ln=xn[0],Mr=xn[1],pr=Jt!==void 0?Jt:Ln,or=Wt?Wt(pr):pr,sr=yn(_t),Br=Hr([pr]),Vr=(0,me.Z)(Br,2),na=Vr[0],ka=Vr[1];xt(function(){var gt=na[0];Ln!==gt&&sr(Ln,gt)},[na]),xt(function(){zr(Jt)||Mr(Jt)},[Jt]);var _e=yn(function(gt,Ht){Mr(gt,Ht),ka([pr],Ht)});return[or,_e]}var jr=de.createContext(null),_r=jr,Jr="__rc_cascader_search_mark__",kt=function(Ne,St,bt){var Jt=bt.label;return St.some(function(_t){return String(_t[Jt]).toLowerCase().includes(Ne.toLowerCase())})},Pt=function(Ne,St,bt,Jt){return St.map(function(_t){return _t[Jt.label]}).join(" / ")},zn=function(Ce,Ne,St,bt,Jt,_t){var Wt=Jt.filter,Wn=Wt===void 0?kt:Wt,xn=Jt.render,Ln=xn===void 0?Pt:xn,Mr=Jt.limit,pr=Mr===void 0?50:Mr,or=Jt.sort;return de.useMemo(function(){var sr=[];if(!Ce)return[];function Br(Vr,na){var ka=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Vr.forEach(function(_e){if(!(!or&&pr!==!1&&pr>0&&sr.length>=pr)){var gt=[].concat((0,ne.Z)(na),[_e]),Ht=_e[St.children],Ue=ka||_e.disabled;if((!Ht||Ht.length===0||_t)&&Wn(Ce,gt,{label:St.label})){var Ut;sr.push((0,fe.Z)((0,fe.Z)({},_e),{},(Ut={disabled:Ue},(0,Xe.Z)(Ut,St.label,Ln(Ce,gt,bt,St)),(0,Xe.Z)(Ut,Jr,gt),(0,Xe.Z)(Ut,St.children,void 0),Ut)))}Ht&&Br(_e[St.children],gt,Ue)}})}return Br(Ne,[]),or&&sr.sort(function(Vr,na){return or(Vr[Jr],na[Jr],Ce,St)}),pr!==!1&&pr>0?sr.slice(0,pr):sr},[Ce,Ne,St,bt,Ln,_t,Wn,or,pr])},Bn="__RC_CASCADER_SPLIT__",xr="SHOW_PARENT",Zr="SHOW_CHILD";function $t(Ce){return Ce.join(Bn)}function cn(Ce){return Ce.map($t)}function dn(Ce){return Ce.split(Bn)}function Rn(Ce){var Ne=Ce||{},St=Ne.label,bt=Ne.value,Jt=Ne.children,_t=bt||"value";return{label:St||"label",value:_t,key:_t,children:Jt||"children"}}function yr(Ce,Ne){var St,bt;return(St=Ce.isLeaf)!==null&&St!==void 0?St:!((bt=Ce[Ne.children])!==null&&bt!==void 0&&bt.length)}function Tr(Ce){var Ne=Ce.parentElement;if(Ne){var St=Ce.offsetTop-Ne.offsetTop;St-Ne.scrollTop<0?Ne.scrollTo({top:St}):St+Ce.offsetHeight-Ne.scrollTop>Ne.offsetHeight&&Ne.scrollTo({top:St+Ce.offsetHeight-Ne.offsetHeight})}}function vr(Ce,Ne){return Ce.map(function(St){var bt;return(bt=St[Jr])===null||bt===void 0?void 0:bt.map(function(Jt){return Jt[Ne.value]})})}function Pr(Ce,Ne,St){var bt=new Set(Ce),Jt=Ne();return Ce.filter(function(_t){var Wt=Jt[_t],Wn=Wt?Wt.parent:null,xn=Wt?Wt.children:null;return Wt&&Wt.node.disabled?!0:St===Zr?!(xn&&xn.some(function(Ln){return Ln.key&&bt.has(Ln.key)})):!(Wn&&!Wn.node.disabled&&bt.has(Wn.key))})}function ia(Ce,Ne,St){for(var bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Jt=Ne,_t=[],Wt=function(){var Ln,Mr,pr,or=Ce[Wn],sr=(Ln=Jt)===null||Ln===void 0?void 0:Ln.findIndex(function(Vr){var na=Vr[St.value];return bt?String(na)===String(or):na===or}),Br=sr!==-1?(Mr=Jt)===null||Mr===void 0?void 0:Mr[sr]:null;_t.push({value:(pr=Br==null?void 0:Br[St.value])!==null&&pr!==void 0?pr:or,index:sr,option:Br}),Jt=Br==null?void 0:Br[St.children]},Wn=0;Wn<Ce.length;Wn+=1)Wt();return _t}var Va=function(Ce,Ne,St,bt,Jt){return de.useMemo(function(){var _t=Jt||function(Wt){var Wn=bt?Wt.slice(-1):Wt,xn=" / ";return Wn.every(function(Ln){return["string","number"].includes((0,Ge.Z)(Ln))})?Wn.join(xn):Wn.reduce(function(Ln,Mr,pr){var or=de.isValidElement(Mr)?de.cloneElement(Mr,{key:pr}):Mr;return pr===0?[or]:[].concat((0,ne.Z)(Ln),[xn,or])},[])};return Ce.map(function(Wt){var Wn,xn,Ln=ia(Wt,Ne,St),Mr=_t(Ln.map(function(or){var sr,Br=or.option,Vr=or.value;return(sr=Br==null?void 0:Br[St.label])!==null&&sr!==void 0?sr:Vr}),Ln.map(function(or){var sr=or.option;return sr})),pr=$t(Wt);return{label:Mr,value:pr,key:pr,valueCells:Wt,disabled:(Wn=Ln[Ln.length-1])===null||Wn===void 0||(xn=Wn.option)===null||xn===void 0?void 0:xn.disabled}})},[Ce,Ne,St,Jt,bt])},ma=ee(1089),Gr=function(Ce,Ne){var St=de.useRef({options:null,info:null}),bt=de.useCallback(function(){return St.current.options!==Ce&&(St.current.options=Ce,St.current.info=(0,ma.I8)(Ce,{fieldNames:Ne,initWrapper:function(_t){return(0,fe.Z)((0,fe.Z)({},_t),{},{pathKeyEntities:{}})},processEntity:function(_t,Wt){var Wn=_t.nodes.map(function(xn){return xn[Ne.value]}).join(Bn);Wt.pathKeyEntities[Wn]=_t,_t.key=Wn}})),St.current.info.pathKeyEntities},[Ne,Ce]);return bt},Ea=function(Ce,Ne){return de.useCallback(function(St){var bt=[],Jt=[];return St.forEach(function(_t){var Wt=ia(_t,Ce,Ne);Wt.every(function(Wn){return Wn.option})?Jt.push(_t):bt.push(_t)}),[Jt,bt]},[Ce,Ne])},ja={},ai=[],Ra=function(Ne){ai.push(Ne)};function da(Ce,Ne){if(0)var St}function ci(Ce,Ne){if(0)var St}function mi(){ja={}}function io(Ce,Ne,St){!Ne&&!ja[St]&&(Ce(!1,St),ja[St]=!0)}function po(Ce,Ne){io(da,Ce,Ne)}function Ao(Ce,Ne){io(ci,Ce,Ne)}po.preMessage=Ra,po.resetWarned=mi,po.noteOnce=Ao;var uo=null;function ho(Ce){return de.useMemo(function(){if(!Ce)return[!1,{}];var Ne={matchInputWidth:!0,limit:50};return Ce&&(0,Ge.Z)(Ce)==="object"&&(Ne=(0,fe.Z)((0,fe.Z)({},Ne),Ce)),Ne.limit<=0&&delete Ne.limit,[!0,Ne]},[Ce])}var ji=de.memo(function(Ce){var Ne=Ce.children;return Ne},function(Ce,Ne){return!Ne.open}),wo=ji;function Zi(Ce){var Ne,St=Ce.prefixCls,bt=Ce.checked,Jt=Ce.halfChecked,_t=Ce.disabled,Wt=Ce.onClick,Wn=Ce.disableCheckbox,xn=de.useContext(_r),Ln=xn.checkable,Mr=typeof Ln!="boolean"?Ln:null;return de.createElement("span",{className:ce()("".concat(St),(Ne={},(0,Xe.Z)(Ne,"".concat(St,"-checked"),bt),(0,Xe.Z)(Ne,"".concat(St,"-indeterminate"),!bt&&Jt),(0,Xe.Z)(Ne,"".concat(St,"-disabled"),_t||Wn),Ne)),onClick:Wt},Mr)}var gi="__cascader_fix_label__";function mo(Ce){var Ne=Ce.prefixCls,St=Ce.multiple,bt=Ce.options,Jt=Ce.activeValue,_t=Ce.prevValuePath,Wt=Ce.onToggleOpen,Wn=Ce.onSelect,xn=Ce.onActive,Ln=Ce.checkedSet,Mr=Ce.halfCheckedSet,pr=Ce.loadingKeys,or=Ce.isSelectable,sr=Ce.searchValue,Br="".concat(Ne,"-menu"),Vr="".concat(Ne,"-menu-item"),na=de.useContext(_r),ka=na.fieldNames,_e=na.changeOnSelect,gt=na.expandTrigger,Ht=na.expandIcon,Ue=na.loadingIcon,Ut=na.dropdownMenuColumnStyle,hn=gt==="hover",Fn=de.useMemo(function(){return bt.map(function(Lt){var Gt,ln=Lt.disabled,jn=Lt.disableCheckbox,er=Lt[Jr],gr=(Gt=Lt[gi])!==null&&Gt!==void 0?Gt:Lt[ka.label],lr=Lt[ka.value],Nr=yr(Lt,ka),Wr=er?er.map(function(Na){return Na[ka.value]}):[].concat((0,ne.Z)(_t),[lr]),ea=$t(Wr),Kr=pr.includes(ea),Ba=Ln.has(ea),ua=Mr.has(ea);return{disabled:ln,label:gr,value:lr,isLeaf:Nr,isLoading:Kr,checked:Ba,halfChecked:ua,option:Lt,disableCheckbox:jn,fullPath:Wr,fullPathKey:ea}})},[bt,Ln,ka,Mr,pr,_t]);return de.createElement("ul",{className:Br,role:"menu"},Fn.map(function(Lt){var Gt,ln=Lt.disabled,jn=Lt.label,er=Lt.value,gr=Lt.isLeaf,lr=Lt.isLoading,Nr=Lt.checked,Wr=Lt.halfChecked,ea=Lt.option,Kr=Lt.fullPath,Ba=Lt.fullPathKey,ua=Lt.disableCheckbox,Na=function(){if(!(ln||sr)){var fa=(0,ne.Z)(Kr);hn&&gr&&fa.pop(),xn(fa)}},Ga=function(){or(ea)&&Wn(Kr,gr)},la;return typeof ea.title=="string"?la=ea.title:typeof jn=="string"&&(la=jn),de.createElement("li",{key:Ba,className:ce()(Vr,(Gt={},(0,Xe.Z)(Gt,"".concat(Vr,"-expand"),!gr),(0,Xe.Z)(Gt,"".concat(Vr,"-active"),Jt===er||Jt===Ba),(0,Xe.Z)(Gt,"".concat(Vr,"-disabled"),ln),(0,Xe.Z)(Gt,"".concat(Vr,"-loading"),lr),Gt)),style:Ut,role:"menuitemcheckbox",title:la,"aria-checked":Nr,"data-path-key":Ba,onClick:function(){Na(),!ua&&(!St||gr)&&Ga()},onDoubleClick:function(){_e&&Wt(!1)},onMouseEnter:function(){hn&&Na()},onMouseDown:function(fa){fa.preventDefault()}},St&&de.createElement(Zi,{prefixCls:"".concat(Ne,"-checkbox"),checked:Nr,halfChecked:Wr,disabled:ln||ua,disableCheckbox:ua,onClick:function(fa){ua||(fa.stopPropagation(),Ga())}}),de.createElement("div",{className:"".concat(Vr,"-content")},jn),!lr&&Ht&&!gr&&de.createElement("div",{className:"".concat(Vr,"-expand-icon")},Ht),lr&&Ue&&de.createElement("div",{className:"".concat(Vr,"-loading-icon")},Ue))}))}var _o=function(){var Ce=Kt(),Ne=Ce.multiple,St=Ce.open,bt=de.useContext(_r),Jt=bt.values,_t=de.useState([]),Wt=(0,me.Z)(_t,2),Wn=Wt[0],xn=Wt[1];return de.useEffect(function(){if(St&&!Ne){var Ln=Jt[0];xn(Ln||[])}},[St]),[Wn,xn]},Wi={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ne){var St=Ne.keyCode;if(Ne.altKey&&!Ne.ctrlKey||Ne.metaKey||St>=Wi.F1&&St<=Wi.F12)return!1;switch(St){case Wi.ALT:case Wi.CAPS_LOCK:case Wi.CONTEXT_MENU:case Wi.CTRL:case Wi.DOWN:case Wi.END:case Wi.ESC:case Wi.HOME:case Wi.INSERT:case Wi.LEFT:case Wi.MAC_FF_META:case Wi.META:case Wi.NUMLOCK:case Wi.NUM_CENTER:case Wi.PAGE_DOWN:case Wi.PAGE_UP:case Wi.PAUSE:case Wi.PRINT_SCREEN:case Wi.RIGHT:case Wi.SHIFT:case Wi.UP:case Wi.WIN_KEY:case Wi.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ne){if(Ne>=Wi.ZERO&&Ne<=Wi.NINE||Ne>=Wi.NUM_ZERO&&Ne<=Wi.NUM_MULTIPLY||Ne>=Wi.A&&Ne<=Wi.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ne===0)return!0;switch(Ne){case Wi.SPACE:case Wi.QUESTION_MARK:case Wi.NUM_PLUS:case Wi.NUM_MINUS:case Wi.NUM_PERIOD:case Wi.NUM_DIVISION:case Wi.SEMICOLON:case Wi.DASH:case Wi.EQUALS:case Wi.COMMA:case Wi.PERIOD:case Wi.SLASH:case Wi.APOSTROPHE:case Wi.SINGLE_QUOTE:case Wi.OPEN_SQUARE_BRACKET:case Wi.BACKSLASH:case Wi.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},al=Wi,fl=function(Ce,Ne,St,bt,Jt,_t){var Wt=Kt(),Wn=Wt.direction,xn=Wt.searchValue,Ln=Wt.toggleOpen,Mr=Wt.open,pr=Wn==="rtl",or=de.useMemo(function(){for(var Ut=-1,hn=Ne,Fn=[],Lt=[],Gt=bt.length,ln=vr(Ne,St),jn=function(ea){var Kr=hn.findIndex(function(Ba,ua){return(ln[ua]?$t(ln[ua]):Ba[St.value])===bt[ea]});if(Kr===-1)return"break";Ut=Kr,Fn.push(Ut),Lt.push(bt[ea]),hn=hn[Ut][St.children]},er=0;er<Gt&&hn;er+=1){var gr=jn(er);if(gr==="break")break}for(var lr=Ne,Nr=0;Nr<Fn.length-1;Nr+=1)lr=lr[Fn[Nr]][St.children];return[Lt,Ut,lr,ln]},[bt,St,Ne]),sr=(0,me.Z)(or,4),Br=sr[0],Vr=sr[1],na=sr[2],ka=sr[3],_e=function(hn){Jt(hn)},gt=function(hn){var Fn=na.length,Lt=Vr;Lt===-1&&hn<0&&(Lt=Fn);for(var Gt=0;Gt<Fn;Gt+=1){Lt=(Lt+hn+Fn)%Fn;var ln=na[Lt];if(ln&&!ln.disabled){var jn=Br.slice(0,-1).concat(ka[Lt]?$t(ka[Lt]):ln[St.value]);_e(jn);return}}},Ht=function(){if(Br.length>1){var hn=Br.slice(0,-1);_e(hn)}else Ln(!1)},Ue=function(){var hn,Fn=((hn=na[Vr])===null||hn===void 0?void 0:hn[St.children])||[],Lt=Fn.find(function(ln){return!ln.disabled});if(Lt){var Gt=[].concat((0,ne.Z)(Br),[Lt[St.value]]);_e(Gt)}};de.useImperativeHandle(Ce,function(){return{onKeyDown:function(hn){var Fn=hn.which;switch(Fn){case al.UP:case al.DOWN:{var Lt=0;Fn===al.UP?Lt=-1:Fn===al.DOWN&&(Lt=1),Lt!==0&&gt(Lt);break}case al.LEFT:{if(xn)break;pr?Ue():Ht();break}case al.RIGHT:{if(xn)break;pr?Ht():Ue();break}case al.BACKSPACE:{xn||Ht();break}case al.ENTER:{if(Br.length){var Gt=na[Vr],ln=(Gt==null?void 0:Gt[Jr])||[];ln.length?_t(ln.map(function(jn){return jn[St.value]}),ln[ln.length-1]):_t(Br,na[Vr])}break}case al.ESC:Ln(!1),Mr&&hn.stopPropagation()}},onKeyUp:function(){}}})},hl=de.forwardRef(function(Ce,Ne){var St,bt,Jt,_t,Wt=Kt(),Wn=Wt.prefixCls,xn=Wt.multiple,Ln=Wt.searchValue,Mr=Wt.toggleOpen,pr=Wt.notFoundContent,or=Wt.direction,sr=Wt.open,Br=de.useRef(),Vr=or==="rtl",na=de.useContext(_r),ka=na.options,_e=na.values,gt=na.halfValues,Ht=na.fieldNames,Ue=na.changeOnSelect,Ut=na.onSelect,hn=na.searchOptions,Fn=na.dropdownPrefixCls,Lt=na.loadData,Gt=na.expandTrigger,ln=Fn||Wn,jn=de.useState([]),er=(0,me.Z)(jn,2),gr=er[0],lr=er[1],Nr=function(Oa){if(!(!Lt||Ln)){var ii=ia(Oa,ka,Ht),yi=ii.map(function(vo){var ol=vo.option;return ol}),Ko=yi[yi.length-1];if(Ko&&!yr(Ko,Ht)){var No=$t(Oa);lr(function(vo){return[].concat((0,ne.Z)(vo),[No])}),Lt(yi)}}};de.useEffect(function(){gr.length&&gr.forEach(function(Ua){var Oa=dn(Ua),ii=ia(Oa,ka,Ht,!0).map(function(Ko){var No=Ko.option;return No}),yi=ii[ii.length-1];(!yi||yi[Ht.children]||yr(yi,Ht))&&lr(function(Ko){return Ko.filter(function(No){return No!==Ua})})})},[ka,gr,Ht]);var Wr=de.useMemo(function(){return new Set(cn(_e))},[_e]),ea=de.useMemo(function(){return new Set(cn(gt))},[gt]),Kr=_o(),Ba=(0,me.Z)(Kr,2),ua=Ba[0],Na=Ba[1],Ga=function(Oa){Na(Oa),Nr(Oa)},la=function(Oa){var ii=Oa.disabled,yi=yr(Oa,Ht);return!ii&&(yi||Ue||xn)},ga=function(Oa,ii){var yi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ut(Oa),!xn&&(ii||Ue&&(Gt==="hover"||yi))&&Mr(!1)},fa=de.useMemo(function(){return Ln?hn:ka},[Ln,hn,ka]),La=de.useMemo(function(){for(var Ua=[{options:fa}],Oa=fa,ii=vr(Oa,Ht),yi=function(){var ol=ua[Ko],Bo=Oa.find(function(Pl,Ki){return(ii[Ki]?$t(ii[Ki]):Pl[Ht.value])===ol}),kl=Bo==null?void 0:Bo[Ht.children];if(!(kl!=null&&kl.length))return"break";Oa=kl,Ua.push({options:kl})},Ko=0;Ko<ua.length;Ko+=1){var No=yi();if(No==="break")break}return Ua},[fa,ua,Ht]),Aa=function(Oa,ii){la(ii)&&ga(Oa,yr(ii,Ht),!0)};fl(Ne,fa,Ht,ua,Ga,Aa),de.useEffect(function(){for(var Ua=0;Ua<ua.length;Ua+=1){var Oa,ii=ua.slice(0,Ua+1),yi=$t(ii),Ko=(Oa=Br.current)===null||Oa===void 0?void 0:Oa.querySelector('li[data-path-key="'.concat(yi.replace(/\\{0,2}"/g,'\\"'),'"]'));Ko&&Tr(Ko)}},[ua]);var ca=!((St=La[0])!==null&&St!==void 0&&(bt=St.options)!==null&&bt!==void 0&&bt.length),Xa=[(Jt={},(0,Xe.Z)(Jt,Ht.value,"__EMPTY__"),(0,Xe.Z)(Jt,gi,pr),(0,Xe.Z)(Jt,"disabled",!0),Jt)],ra=(0,fe.Z)((0,fe.Z)({},Ce),{},{multiple:!ca&&xn,onSelect:ga,onActive:Ga,onToggleOpen:Mr,checkedSet:Wr,halfCheckedSet:ea,loadingKeys:gr,isSelectable:la}),Ya=ca?[{options:Xa}]:La,Za=Ya.map(function(Ua,Oa){var ii=ua.slice(0,Oa),yi=ua[Oa];return de.createElement(mo,(0,Se.Z)({key:Oa},ra,{searchValue:Ln,prefixCls:ln,options:Ua.options,prevValuePath:ii,activeValue:yi}))});return de.createElement(wo,{open:sr},de.createElement("div",{className:ce()("".concat(ln,"-menus"),(_t={},(0,Xe.Z)(_t,"".concat(ln,"-menu-empty"),ca),(0,Xe.Z)(_t,"".concat(ln,"-rtl"),Vr),_t)),ref:Br},Za))}),qo=hl;function Mo(Ce){var Ne=Ce.onPopupVisibleChange,St=Ce.popupVisible,bt=Ce.popupClassName,Jt=Ce.popupPlacement;warning(!Ne,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(St===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(bt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Jt===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Wl(Ce,Ne){if(Ce){var St=function bt(Jt){for(var _t=0;_t<Jt.length;_t++){var Wt=Jt[_t];if(Wt[Ne==null?void 0:Ne.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Wt[Ne==null?void 0:Ne.children])&&bt(Wt[Ne==null?void 0:Ne.children]))return!0}};St(Ce)}}var Vo=null,yo=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function sl(Ce){return Array.isArray(Ce)&&Array.isArray(Ce[0])}function Vl(Ce){return Ce?sl(Ce)?Ce:(Ce.length===0?[]:[Ce]).map(function(Ne){return Array.isArray(Ne)?Ne:[Ne]}):[]}var pl=de.forwardRef(function(Ce,Ne){var St=Ce.id,bt=Ce.prefixCls,Jt=bt===void 0?"rc-cascader":bt,_t=Ce.fieldNames,Wt=Ce.defaultValue,Wn=Ce.value,xn=Ce.changeOnSelect,Ln=Ce.onChange,Mr=Ce.displayRender,pr=Ce.checkable,or=Ce.autoClearSearchValue,sr=or===void 0?!0:or,Br=Ce.searchValue,Vr=Ce.onSearch,na=Ce.showSearch,ka=Ce.expandTrigger,_e=Ce.options,gt=Ce.dropdownPrefixCls,Ht=Ce.loadData,Ue=Ce.popupVisible,Ut=Ce.open,hn=Ce.popupClassName,Fn=Ce.dropdownClassName,Lt=Ce.dropdownMenuColumnStyle,Gt=Ce.popupPlacement,ln=Ce.placement,jn=Ce.onDropdownVisibleChange,er=Ce.onPopupVisibleChange,gr=Ce.expandIcon,lr=gr===void 0?">":gr,Nr=Ce.loadingIcon,Wr=Ce.children,ea=Ce.dropdownMatchSelectWidth,Kr=ea===void 0?!1:ea,Ba=Ce.showCheckedStrategy,ua=Ba===void 0?xr:Ba,Na=(0,Pe.Z)(Ce,yo),Ga=Ci(St),la=!!pr,ga=Fr(Wt,{value:Wn,postState:Vl}),fa=(0,me.Z)(ga,2),La=fa[0],Aa=fa[1],ca=de.useMemo(function(){return Rn(_t)},[JSON.stringify(_t)]),Xa=de.useMemo(function(){return _e||[]},[_e]),ra=Gr(Xa,ca),Ya=de.useCallback(function(Ho){var Ui=ra();return Ho.map(function(Bi){var tl=Ui[Bi].nodes;return tl.map(function(jo){return jo[ca.value]})})},[ra,ca]),Za=Fr("",{value:Br,postState:function(Ui){return Ui||""}}),Ua=(0,me.Z)(Za,2),Oa=Ua[0],ii=Ua[1],yi=function(Ui,Bi){ii(Ui),Bi.source!=="blur"&&Vr&&Vr(Ui)},Ko=ho(na),No=(0,me.Z)(Ko,2),vo=No[0],ol=No[1],Bo=zn(Oa,Xa,ca,gt||Jt,ol,xn),kl=Ea(Xa,ca),Pl=de.useMemo(function(){var Ho=kl(La),Ui=(0,me.Z)(Ho,2),Bi=Ui[0],tl=Ui[1];if(!la||!La.length)return[Bi,[],tl];var jo=cn(Bi),Bl=ra(),qi=(0,kr.S)(jo,!0,Bl),Ja=qi.checkedKeys,ki=qi.halfCheckedKeys;return[Ya(Ja),Ya(ki),tl]},[la,La,ra,Ya,kl]),Ki=(0,me.Z)(Pl,3),di=Ki[0],go=Ki[1],zo=Ki[2],oo=de.useMemo(function(){var Ho=cn(di),Ui=Pr(Ho,ra,ua);return[].concat((0,ne.Z)(zo),(0,ne.Z)(Ya(Ui)))},[di,ra,Ya,zo,ua]),bo=Va(oo,Xa,ca,la,Mr),ro=yn(function(Ho){if(Aa(Ho),Ln){var Ui=Vl(Ho),Bi=Ui.map(function(Bl){return ia(Bl,Xa,ca).map(function(qi){return qi.option})}),tl=la?Ui:Ui[0],jo=la?Bi:Bi[0];Ln(tl,jo)}}),Wo=yn(function(Ho){if((!la||sr)&&ii(""),!la)ro(Ho);else{var Ui=$t(Ho),Bi=cn(di),tl=cn(go),jo=Bi.includes(Ui),Bl=zo.some(function(Jl){return $t(Jl)===Ui}),qi=di,Ja=zo;if(Bl&&!jo)Ja=zo.filter(function(Jl){return $t(Jl)!==Ui});else{var ki=jo?Bi.filter(function(Jl){return Jl!==Ui}):[].concat((0,ne.Z)(Bi),[Ui]),Oi=ra(),ba;if(jo){var Qa=(0,kr.S)(ki,{checked:!1,halfCheckedKeys:tl},Oi);ba=Qa.checkedKeys}else{var Gi=(0,kr.S)(ki,!0,Oi);ba=Gi.checkedKeys}var cl=Pr(ba,ra,ua);qi=Ya(cl)}ro([].concat((0,ne.Z)(Ja),(0,ne.Z)(qi)))}}),ul=function(Ui,Bi){if(Bi.type==="clear"){ro([]);return}var tl=Bi.values[0],jo=tl.valueCells;Wo(jo)},Nl=Ut!==void 0?Ut:Ue,Fl=Fn||hn,Ro=ln||Gt,Ji=function(Ui){jn==null||jn(Ui),er==null||er(Ui)},el=de.useMemo(function(){return{options:Xa,fieldNames:ca,values:di,halfValues:go,changeOnSelect:xn,onSelect:Wo,checkable:pr,searchOptions:Bo,dropdownPrefixCls:gt,loadData:Ht,expandTrigger:ka,expandIcon:lr,loadingIcon:Nr,dropdownMenuColumnStyle:Lt}},[Xa,ca,di,go,xn,Wo,pr,Bo,gt,Ht,ka,lr,Nr,Lt]),ml=!(Oa?Bo:Xa).length,Io=Oa&&ol.matchInputWidth||ml?{}:{minWidth:"auto"};return de.createElement(_r.Provider,{value:el},de.createElement(gl,(0,Se.Z)({},Na,{ref:Ne,id:Ga,prefixCls:Jt,autoClearSearchValue:sr,dropdownMatchSelectWidth:Kr,dropdownStyle:Io,displayValues:bo,onDisplayValuesChange:ul,mode:la?"multiple":void 0,searchValue:Oa,onSearch:yi,showSearch:vo,OptionList:qo,emptyOptions:ml,open:Nl,dropdownClassName:Fl,placement:Ro,onDropdownVisibleChange:Ji,getRawInputElement:function(){return Wr}})))});pl.SHOW_PARENT=xr,pl.SHOW_CHILD=Zr;var Dl=pl,Lo=Dl,jl=ee(10366),ls=ee(33603),Ql=ee(8745),Al=ee(9708),Tl=ee(53124),$l=ee(88258),Rl=ee(98866),Il=ee(98675),ss=ee(65223),us=ee(87244),ms=ee(13458),ts=ee(78642),ns=ee(46163),Go=ee(4173),il=ee(63185),_l=ee(14747),Xl=ee(80110),hs=ee(67968);const xs=Ce=>{const{prefixCls:Ne,componentCls:St,antCls:bt}=Ce,Jt=`${St}-menu-item`,_t=`
&${Jt}-expand ${Jt}-expand-icon,
${Jt}-loading-icon
`;return[{[St]:{width:Ce.controlWidth}},{[`${St}-dropdown`]:[(0,il.C2)(`${Ne}-checkbox`,Ce),{[`&${bt}-select-dropdown`]:{padding:0}},{[St]:{"&-checkbox":{top:0,marginInlineEnd:Ce.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${St}-menu-empty`]:{[`${St}-menu`]:{width:"100%",height:"auto",[Jt]:{color:Ce.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ce.controlItemWidth,height:Ce.dropdownHeight,margin:0,padding:Ce.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ce.lineWidth}px ${Ce.lineType} ${Ce.colorSplit}`},"&-item":Object.assign(Object.assign({},_l.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ce.optionPadding,lineHeight:Ce.lineHeight,cursor:"pointer",transition:`all ${Ce.motionDurationMid}`,borderRadius:Ce.borderRadiusSM,"&:hover":{background:Ce.controlItemBgHover},"&-disabled":{color:Ce.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[_t]:{color:Ce.colorTextDisabled}},[`&-active:not(${Jt}-disabled)`]:{"&, &:hover":{fontWeight:Ce.optionSelectedFontWeight,backgroundColor:Ce.optionSelectedBg}},"&-content":{flex:"auto"},[_t]:{marginInlineStart:Ce.paddingXXS,color:Ce.colorTextDescription,fontSize:Ce.fontSizeIcon},"&-keyword":{color:Ce.colorHighlight}})}}}]},{[`${St}-dropdown-rtl`]:{direction:"rtl"}},(0,Xl.c)(Ce)]};var Ms=(0,hs.Z)("Cascader",Ce=>[xs(Ce)],Ce=>{const Ne=Math.round((Ce.controlHeight-Ce.fontSize*Ce.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ce.controlItemBgActive,optionSelectedFontWeight:Ce.fontWeightStrong,optionPadding:`${Ne}px ${Ce.paddingSM}px`,menuPadding:Ce.paddingXXS}}),zs=function(Ce,Ne){var St={};for(var bt in Ce)Object.prototype.hasOwnProperty.call(Ce,bt)&&Ne.indexOf(bt)<0&&(St[bt]=Ce[bt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,bt=Object.getOwnPropertySymbols(Ce);Jt<bt.length;Jt++)Ne.indexOf(bt[Jt])<0&&Object.prototype.propertyIsEnumerable.call(Ce,bt[Jt])&&(St[bt[Jt]]=Ce[bt[Jt]]);return St};const{SHOW_CHILD:Ws,SHOW_PARENT:Bs}=Lo;function Xs(Ce,Ne,St){const bt=Ce.toLowerCase().split(Ne).reduce((Wt,Wn,xn)=>xn===0?[Wn]:[].concat((0,ne.Z)(Wt),[Ne,Wn]),[]),Jt=[];let _t=0;return bt.forEach((Wt,Wn)=>{const xn=_t+Wt.length;let Ln=Ce.slice(_t,xn);_t=xn,Wn%2===1&&(Ln=de.createElement("span",{className:`${St}-menu-item-keyword`,key:`separator-${Wn}`},Ln)),Jt.push(Ln)}),Jt}const Ul=(Ce,Ne,St,bt)=>{const Jt=[],_t=Ce.toLowerCase();return Ne.forEach((Wt,Wn)=>{Wn!==0&&Jt.push(" / ");let xn=Wt[bt.label];const Ln=typeof xn;(Ln==="string"||Ln==="number")&&(xn=Xs(String(xn),_t,St)),Jt.push(xn)}),Jt},Le=de.forwardRef((Ce,Ne)=>{const{prefixCls:St,size:bt,disabled:Jt,className:_t,rootClassName:Wt,multiple:Wn,bordered:xn=!0,transitionName:Ln,choiceTransitionName:Mr="",popupClassName:pr,dropdownClassName:or,expandIcon:sr,placement:Br,showSearch:Vr,allowClear:na=!0,notFoundContent:ka,direction:_e,getPopupContainer:gt,status:Ht,showArrow:Ue,builtinPlacements:Ut,style:hn}=Ce,Fn=zs(Ce,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Lt=(0,jl.Z)(Fn,["suffixIcon"]),{getPopupContainer:Gt,getPrefixCls:ln,renderEmpty:jn,direction:er,popupOverflow:gr,cascader:lr}=de.useContext(Tl.E_),Nr=_e||er,Wr=Nr==="rtl",{status:ea,hasFeedback:Kr,isFormItemInput:Ba,feedbackIcon:ua}=de.useContext(ss.aM),Na=(0,Al.F)(ea,Ht),Ga=ka||(jn==null?void 0:jn("Cascader"))||de.createElement($l.Z,{componentName:"Cascader"}),la=ln(),ga=ln("select",St),fa=ln("cascader",St),[La,Aa]=(0,us.Z)(ga),[ca]=Ms(fa),{compactSize:Xa,compactItemClassnames:ra}=(0,Go.ri)(ga,_e),Ya=ce()(pr||or,`${fa}-dropdown`,{[`${fa}-dropdown-rtl`]:Nr==="rtl"},Wt,Aa),Za=de.useMemo(()=>{if(!Vr)return Vr;let zo={render:Ul};return typeof Vr=="object"&&(zo=Object.assign(Object.assign({},zo),Vr)),zo},[Vr]),Ua=(0,Il.Z)(zo=>{var oo;return(oo=bt!=null?bt:Xa)!==null&&oo!==void 0?oo:zo}),Oa=de.useContext(Rl.Z),ii=Jt!=null?Jt:Oa;let yi=sr;sr||(yi=Wr?de.createElement(Me.Z,null):de.createElement(we.Z,null));const Ko=de.createElement("span",{className:`${ga}-menu-item-loading-icon`},de.createElement(et.Z,{spin:!0})),No=de.useMemo(()=>Wn?de.createElement("span",{className:`${fa}-checkbox-inner`}):!1,[Wn]),vo=(0,ts.Z)(Ce.suffixIcon,Ue),{suffixIcon:ol,removeIcon:Bo,clearIcon:kl}=(0,ns.Z)(Object.assign(Object.assign({},Ce),{hasFeedback:Kr,feedbackIcon:ua,showSuffixIcon:vo,multiple:Wn,prefixCls:ga,componentName:"Cascader"})),Pl=de.useMemo(()=>Br!==void 0?Br:Wr?"bottomRight":"bottomLeft",[Br,Wr]),Ki=(0,ms.Z)(Ut,gr),di=na===!0?{clearIcon:kl}:na,go=de.createElement(Lo,Object.assign({prefixCls:ga,className:ce()(!St&&fa,{[`${ga}-lg`]:Ua==="large",[`${ga}-sm`]:Ua==="small",[`${ga}-rtl`]:Wr,[`${ga}-borderless`]:!xn,[`${ga}-in-form-item`]:Ba},(0,Al.Z)(ga,Na,Kr),ra,lr==null?void 0:lr.className,_t,Wt,Aa),disabled:ii,style:Object.assign(Object.assign({},lr==null?void 0:lr.style),hn)},Lt,{builtinPlacements:Ki,direction:Nr,placement:Pl,notFoundContent:Ga,allowClear:di,showSearch:Za,expandIcon:yi,suffixIcon:ol,removeIcon:Bo,loadingIcon:Ko,checkable:No,dropdownClassName:Ya,dropdownPrefixCls:St||fa,choiceTransitionName:(0,ls.m)(la,"",Mr),transitionName:(0,ls.m)(la,"slide-up",Ln),getPopupContainer:gt||Gt,ref:Ne}));return ca(La(go))}),qe=(0,Ql.Z)(Le);Le.SHOW_PARENT=Bs,Le.SHOW_CHILD=Ws,Le._InternalPanelDoNotUseOrYouWillBeFired=qe;var it=Le},84567:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return $e}});var ne=ee(94184),de=ee.n(ne),Me=ee(95860),et=ee(67294),we=ee(53124),ke=ee(98866),ce=ee(65223),me=et.createContext(null),Pe=ee(63185),Xe=ee(45353),fe=ee(92429),Ge=function(Je,ht){var yt={};for(var Fe in Je)Object.prototype.hasOwnProperty.call(Je,Fe)&&ht.indexOf(Fe)<0&&(yt[Fe]=Je[Fe]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Fe=Object.getOwnPropertySymbols(Je);Be<Fe.length;Be++)ht.indexOf(Fe[Be])<0&&Object.prototype.propertyIsEnumerable.call(Je,Fe[Be])&&(yt[Fe[Be]]=Je[Fe[Be]]);return yt};const pt=(Je,ht)=>{var yt;const{prefixCls:Fe,className:Be,rootClassName:mt,children:ze,indeterminate:ut=!1,style:rt,onMouseEnter:Tt,onMouseLeave:Bt,skipGroup:en=!1,disabled:ct}=Je,Ie=Ge(Je,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Mt,direction:vn,checkbox:qt}=et.useContext(we.E_),Nt=et.useContext(me),{isFormItemInput:Kt}=et.useContext(ce.aM),nn=et.useContext(ke.Z),Cn=(yt=(Nt==null?void 0:Nt.disabled)||ct)!==null&&yt!==void 0?yt:nn,Sn=et.useRef(Ie.value);et.useEffect(()=>{Nt==null||Nt.registerValue(Ie.value)},[]),et.useEffect(()=>{if(!en)return Ie.value!==Sn.current&&(Nt==null||Nt.cancelValue(Sn.current),Nt==null||Nt.registerValue(Ie.value),Sn.current=Ie.value),()=>Nt==null?void 0:Nt.cancelValue(Ie.value)},[Ie.value]);const tn=Mt("checkbox",Fe),[In,br]=(0,Pe.ZP)(tn),gn=Object.assign({},Ie);Nt&&!en&&(gn.onChange=function(){Ie.onChange&&Ie.onChange.apply(Ie,arguments),Nt.toggleOption&&Nt.toggleOption({label:ze,value:Ie.value})},gn.name=Nt.name,gn.checked=Nt.value.includes(Ie.value));const Ye=de()(`${tn}-wrapper`,{[`${tn}-rtl`]:vn==="rtl",[`${tn}-wrapper-checked`]:gn.checked,[`${tn}-wrapper-disabled`]:Cn,[`${tn}-wrapper-in-form-item`]:Kt},qt==null?void 0:qt.className,Be,mt,br),ve=de()({[`${tn}-indeterminate`]:ut},fe.A,br),he=ut?"mixed":void 0;return In(et.createElement(Xe.Z,{component:"Checkbox",disabled:Cn},et.createElement("label",{className:Ye,style:Object.assign(Object.assign({},qt==null?void 0:qt.style),rt),onMouseEnter:Tt,onMouseLeave:Bt},et.createElement(Me.Z,Object.assign({"aria-checked":he},gn,{prefixCls:tn,className:ve,disabled:Cn,ref:ht})),ze!==void 0&&et.createElement("span",null,ze))))};var vt=et.forwardRef(pt),Ee=ee(74902),wt=ee(10366),Rt=function(Je,ht){var yt={};for(var Fe in Je)Object.prototype.hasOwnProperty.call(Je,Fe)&&ht.indexOf(Fe)<0&&(yt[Fe]=Je[Fe]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Fe=Object.getOwnPropertySymbols(Je);Be<Fe.length;Be++)ht.indexOf(Fe[Be])<0&&Object.prototype.propertyIsEnumerable.call(Je,Fe[Be])&&(yt[Fe[Be]]=Je[Fe[Be]]);return yt};const tt=(Je,ht)=>{const{defaultValue:yt,children:Fe,options:Be=[],prefixCls:mt,className:ze,rootClassName:ut,style:rt,onChange:Tt}=Je,Bt=Rt(Je,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:en,direction:ct}=et.useContext(we.E_),[Ie,Mt]=et.useState(Bt.value||yt||[]),[vn,qt]=et.useState([]);et.useEffect(()=>{"value"in Bt&&Mt(Bt.value||[])},[Bt.value]);const Nt=et.useMemo(()=>Be.map(be=>typeof be=="string"||typeof be=="number"?{label:be,value:be}:be),[Be]),Kt=be=>{qt(ge=>ge.filter(se=>se!==be))},nn=be=>{qt(ge=>[].concat((0,Ee.Z)(ge),[be]))},Cn=be=>{const ge=Ie.indexOf(be.value),se=(0,Ee.Z)(Ie);ge===-1?se.push(be.value):se.splice(ge,1),"value"in Bt||Mt(se),Tt==null||Tt(se.filter(je=>vn.includes(je)).sort((je,xt)=>{const En=Nt.findIndex(Pn=>Pn.value===je),un=Nt.findIndex(Pn=>Pn.value===xt);return En-un}))},Sn=en("checkbox",mt),tn=`${Sn}-group`,[In,br]=(0,Pe.ZP)(Sn),gn=(0,wt.Z)(Bt,["value","disabled"]),Ye=Be.length?Nt.map(be=>et.createElement(vt,{prefixCls:Sn,key:be.value.toString(),disabled:"disabled"in be?be.disabled:Bt.disabled,value:be.value,checked:Ie.includes(be.value),onChange:be.onChange,className:`${tn}-item`,style:be.style,title:be.title},be.label)):Fe,ve={toggleOption:Cn,value:Ie,disabled:Bt.disabled,name:Bt.name,registerValue:nn,cancelValue:Kt},he=de()(tn,{[`${tn}-rtl`]:ct==="rtl"},ze,ut,br);return In(et.createElement("div",Object.assign({className:he,style:rt},gn,{ref:ht}),et.createElement(me.Provider,{value:ve},Ye)))},st=et.forwardRef(tt);var ye=et.memo(st);const ue=vt;ue.Group=ye,ue.__ANT_CHECKBOX=!0;var $e=ue},63185:function(Hn,sn,ee){"use strict";ee.d(sn,{C2:function(){return we}});var ne=ee(14747),de=ee(45503),Me=ee(67968);const et=ke=>{const{checkboxCls:ce}=ke,Se=`${ce}-wrapper`;return[{[`${ce}-group`]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[Se]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Se}`]:{marginInlineStart:0},[`&${Se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ce]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.borderRadiusSM,alignSelf:"center",[`${ce}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ce}-inner`]:Object.assign({},(0,ne.oN)(ke))},[`${ce}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[`
${Se}:not(${Se}-disabled),
${ce}:not(${ce}-disabled)
`]:{[`&:hover ${ce}-inner`]:{borderColor:ke.colorPrimary}},[`${Se}:not(${Se}-disabled)`]:{[`&:hover ${ce}-checked:not(${ce}-disabled) ${ce}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ce}-checked:not(${ce}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${ce}-checked`]:{[`${ce}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[`
${Se}-checked:not(${Se}-disabled),
${ce}-checked:not(${ce}-disabled)
`]:{[`&:hover ${ce}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[ce]:{"&-indeterminate":{[`${ce}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Se}-disabled`]:{cursor:"not-allowed"},[`${ce}-disabled`]:{[`&, ${ce}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ce}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${ce}-indeterminate ${ce}-inner::after`]:{background:ke.colorTextDisabled}}}]};function we(ke,ce){const Se=(0,de.TS)(ce,{checkboxCls:`.${ke}`,checkboxSize:ce.controlInteractiveSize});return[et(Se)]}sn.ZP=(0,Me.Z)("Checkbox",(ke,ce)=>{let{prefixCls:Se}=ce;return[we(Se,ke)]})},88258:function(Hn,sn,ee){"use strict";var ne=ee(67294),de=ee(53124),Me=ee(32983);const et=we=>{const{componentName:ke}=we,{getPrefixCls:ce}=(0,ne.useContext)(de.E_),Se=ce("empty");switch(ke){case"Table":case"List":return ne.createElement(Me.Z,{image:Me.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ne.createElement(Me.Z,{image:Me.Z.PRESENTED_IMAGE_SIMPLE,className:`${Se}-small`});default:return ne.createElement(Me.Z,null)}};sn.Z=et},34336:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return Ul}});var ne=ee(97909),de=ee.n(ne),Me=ee(68291),et=ee(33088),we=ee.n(et),ke=ee(26850),ce=ee.n(ke),Se=ee(23082),me=ee.n(Se),Pe=ee(99873),Xe=ee.n(Pe),fe=ee(86625),Ge=ee.n(fe),pt=ee(40618),ot=ee.n(pt);de().extend(ot()),de().extend(Ge()),de().extend(we()),de().extend(ce()),de().extend(me()),de().extend(Xe()),de().extend(function(Le,qe){var it=qe.prototype,Ce=it.format;it.format=function(St){var bt=(St||"").replace("Wo","wo");return Ce.bind(this)(bt)}});var vt={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Ee=function(qe){var it=vt[qe];return it||qe.split("_")[0]},wt=function(){(0,Me.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Rt={getNow:function(){return de()()},getFixedDate:function(qe){return de()(qe,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(qe){return qe.endOf("month")},getWeekDay:function(qe){var it=qe.locale("en");return it.weekday()+it.localeData().firstDayOfWeek()},getYear:function(qe){return qe.year()},getMonth:function(qe){return qe.month()},getDate:function(qe){return qe.date()},getHour:function(qe){return qe.hour()},getMinute:function(qe){return qe.minute()},getSecond:function(qe){return qe.second()},addYear:function(qe,it){return qe.add(it,"year")},addMonth:function(qe,it){return qe.add(it,"month")},addDate:function(qe,it){return qe.add(it,"day")},setYear:function(qe,it){return qe.year(it)},setMonth:function(qe,it){return qe.month(it)},setDate:function(qe,it){return qe.date(it)},setHour:function(qe,it){return qe.hour(it)},setMinute:function(qe,it){return qe.minute(it)},setSecond:function(qe,it){return qe.second(it)},isAfter:function(qe,it){return qe.isAfter(it)},isValidate:function(qe){return qe.isValid()},locale:{getWeekFirstDay:function(qe){return de()().locale(Ee(qe)).localeData().firstDayOfWeek()},getWeekFirstDate:function(qe,it){return it.locale(Ee(qe)).weekday(0)},getWeek:function(qe,it){return it.locale(Ee(qe)).week()},getShortWeekDays:function(qe){return de()().locale(Ee(qe)).localeData().weekdaysMin()},getShortMonths:function(qe){return de()().locale(Ee(qe)).localeData().monthsShort()},format:function(qe,it,Ce){return it.locale(Ee(qe)).format(Ce)},parse:function(qe,it,Ce){for(var Ne=Ee(qe),St=0;St<Ce.length;St+=1){var bt=Ce[St],Jt=it;if(bt.includes("wo")||bt.includes("Wo")){for(var _t=Jt.split("-")[0],Wt=Jt.split("-")[1],Wn=de()(_t,"YYYY").startOf("year").locale(Ne),xn=0;xn<=52;xn+=1){var Ln=Wn.add(xn,"week");if(Ln.format("Wo")===Wt)return Ln}return wt(),null}var Mr=de()(Jt,bt,!0).locale(Ne);if(Mr.isValid())return Mr}return it&&wt(),null}}},tt=Rt,st=ee(8745),ye=ee(87462),ue=ee(67294),$e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Je=$e,ht=ee(84089),yt=function(qe,it){return ue.createElement(ht.Z,(0,ye.Z)({},qe,{ref:it,icon:Je}))},Fe=ue.forwardRef(yt),Be={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},mt=Be,ze=function(qe,it){return ue.createElement(ht.Z,(0,ye.Z)({},qe,{ref:it,icon:mt}))},ut=ue.forwardRef(ze),rt=ee(16646),Tt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Bt=Tt,en=function(qe,it){return ue.createElement(ht.Z,(0,ye.Z)({},qe,{ref:it,icon:Bt}))},ct=ue.forwardRef(en),Ie=ee(94184),Mt=ee.n(Ie),vn=ee(15671),qt=ee(43144),Nt=ee(97326),Kt=ee(60136),nn=ee(51630),Cn=ee(4942),Sn=ee(1413),tn=ee(97685),In=ee(5663),br=ee(1337),gn=ee(92739),Ye=ee(7699),ve=10,he=ve*10,be=7;function ge(Le,qe){if(!Le&&!qe)return!0;if(!Le||!qe)return!1}function se(Le,qe,it){var Ce=ge(qe,it);if(typeof Ce=="boolean")return Ce;var Ne=Math.floor(Le.getYear(qe)/10),St=Math.floor(Le.getYear(it)/10);return Ne===St}function je(Le,qe,it){var Ce=ge(qe,it);return typeof Ce=="boolean"?Ce:Le.getYear(qe)===Le.getYear(it)}function xt(Le,qe){var it=Math.floor(Le.getMonth(qe)/3);return it+1}function En(Le,qe,it){var Ce=ge(qe,it);return typeof Ce=="boolean"?Ce:je(Le,qe,it)&&xt(Le,qe)===xt(Le,it)}function un(Le,qe,it){var Ce=ge(qe,it);return typeof Ce=="boolean"?Ce:je(Le,qe,it)&&Le.getMonth(qe)===Le.getMonth(it)}function Pn(Le,qe,it){var Ce=ge(qe,it);return typeof Ce=="boolean"?Ce:Le.getYear(qe)===Le.getYear(it)&&Le.getMonth(qe)===Le.getMonth(it)&&Le.getDate(qe)===Le.getDate(it)}function Xn(Le,qe,it){var Ce=ge(qe,it);return typeof Ce=="boolean"?Ce:Le.getHour(qe)===Le.getHour(it)&&Le.getMinute(qe)===Le.getMinute(it)&&Le.getSecond(qe)===Le.getSecond(it)}function _n(Le,qe,it,Ce){var Ne=ge(it,Ce);return typeof Ne=="boolean"?Ne:je(Le,it,Ce)&&Le.locale.getWeek(qe,it)===Le.locale.getWeek(qe,Ce)}function Vt(Le,qe,it){return Pn(Le,qe,it)&&Xn(Le,qe,it)}function yn(Le,qe,it,Ce){return!qe||!it||!Ce?!1:!Pn(Le,qe,Ce)&&!Pn(Le,it,Ce)&&Le.isAfter(Ce,qe)&&Le.isAfter(it,Ce)}function Kn(Le,qe,it){var Ce=qe.locale.getWeekFirstDay(Le),Ne=qe.setDate(it,1),St=qe.getWeekDay(Ne),bt=qe.addDate(Ne,Ce-St);return qe.getMonth(bt)===qe.getMonth(it)&&qe.getDate(bt)>1&&(bt=qe.addDate(bt,-7)),bt}function On(Le,qe,it){var Ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(qe){case"year":return it.addYear(Le,Ce*10);case"quarter":case"month":return it.addYear(Le,Ce);default:return it.addMonth(Le,Ce)}}function Qt(Le,qe){var it=qe.generateConfig,Ce=qe.locale,Ne=qe.format;return typeof Ne=="function"?Ne(Le):it.locale.format(Ce.locale,Le,Ne)}function Dr(Le,qe){var it=qe.generateConfig,Ce=qe.locale,Ne=qe.formatList;return!Le||typeof Ne[0]=="function"?null:it.locale.parse(Ce.locale,Le,Ne)}function jt(Le){var qe=Le.cellDate,it=Le.mode,Ce=Le.disabledDate,Ne=Le.generateConfig;if(!Ce)return!1;var St=function(pr,or,sr){for(var Br=or;Br<=sr;){var Vr=void 0;switch(pr){case"date":{if(Vr=Ne.setDate(qe,Br),!Ce(Vr))return!1;break}case"month":{if(Vr=Ne.setMonth(qe,Br),!jt({cellDate:Vr,mode:"month",generateConfig:Ne,disabledDate:Ce}))return!1;break}case"year":{if(Vr=Ne.setYear(qe,Br),!jt({cellDate:Vr,mode:"year",generateConfig:Ne,disabledDate:Ce}))return!1;break}}Br+=1}return!0};switch(it){case"date":case"week":return Ce(qe);case"month":{var bt=1,Jt=Ne.getDate(Ne.getEndDate(qe));return St("date",bt,Jt)}case"quarter":{var _t=Math.floor(Ne.getMonth(qe)/3)*3,Wt=_t+2;return St("month",_t,Wt)}case"year":return St("month",0,11);case"decade":{var Wn=Ne.getYear(qe),xn=Math.floor(Wn/ve)*ve,Ln=xn+ve-1;return St("year",xn,Ln)}}}function rn(Le,qe){var it=qe.formatList,Ce=qe.generateConfig,Ne=qe.locale;return(0,gn.Z)(function(){if(!Le)return[[""],""];for(var St="",bt=[],Jt=0;Jt<it.length;Jt+=1){var _t=it[Jt],Wt=Qt(Le,{generateConfig:Ce,locale:Ne,format:_t});bt.push(Wt),Jt===0&&(St=Wt)}return[bt,St]},[Le,it,Ne],function(St,bt){return!Vt(Ce,St[0],bt[0])||!(0,Ye.Z)(St[1],bt[1],!0)||!(0,Ye.Z)(St[2],bt[2],!0)})}function Ir(Le,qe){var it=qe.formatList,Ce=qe.generateConfig,Ne=qe.locale,St=(0,ue.useState)(null),bt=(0,tn.Z)(St,2),Jt=bt[0],_t=bt[1],Wt=(0,ue.useRef)(null);function Wn(sr){var Br=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Wt.current),Br){_t(sr);return}Wt.current=requestAnimationFrame(function(){_t(sr)})}var xn=rn(Jt,{formatList:it,generateConfig:Ce,locale:Ne}),Ln=(0,tn.Z)(xn,2),Mr=Ln[1];function pr(sr){Wn(sr)}function or(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Wn(null,sr)}return(0,ue.useEffect)(function(){or(!0)},[Le]),(0,ue.useEffect)(function(){return function(){return cancelAnimationFrame(Wt.current)}},[]),[Mr,pr,or]}var ur=ee(92389),Rr=ee(96523),aa=ee(74902),qn=ee(48130),Pa=new Map;function Fa(Le,qe){var it;function Ce(){(0,qn.Z)(Le)?qe():it=(0,Rr.Z)(function(){Ce()})}return Ce(),function(){Rr.Z.cancel(it)}}function _a(Le,qe,it){if(Pa.get(Le)&&cancelAnimationFrame(Pa.get(Le)),it<=0){Pa.set(Le,requestAnimationFrame(function(){Le.scrollTop=qe}));return}var Ce=qe-Le.scrollTop,Ne=Ce/it*10;Pa.set(Le,requestAnimationFrame(function(){Le.scrollTop+=Ne,Le.scrollTop!==qe&&_a(Le,qe,it-10)}))}function Xr(Le,qe){var it=qe.onLeftRight,Ce=qe.onCtrlLeftRight,Ne=qe.onUpDown,St=qe.onPageUpDown,bt=qe.onEnter,Jt=Le.which,_t=Le.ctrlKey,Wt=Le.metaKey;switch(Jt){case ur.Z.LEFT:if(_t||Wt){if(Ce)return Ce(-1),!0}else if(it)return it(-1),!0;break;case ur.Z.RIGHT:if(_t||Wt){if(Ce)return Ce(1),!0}else if(it)return it(1),!0;break;case ur.Z.UP:if(Ne)return Ne(-1),!0;break;case ur.Z.DOWN:if(Ne)return Ne(1),!0;break;case ur.Z.PAGE_UP:if(St)return St(-1),!0;break;case ur.Z.PAGE_DOWN:if(St)return St(1),!0;break;case ur.Z.ENTER:if(bt)return bt(),!0;break}return!1}function Da(Le,qe,it,Ce){var Ne=Le;if(!Ne)switch(qe){case"time":Ne=Ce?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ne="gggg-wo";break;case"month":Ne="YYYY-MM";break;case"quarter":Ne="YYYY-[Q]Q";break;case"year":Ne="YYYY";break;default:Ne=it?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ne}function Mi(Le,qe,it){var Ce=Le==="time"?8:10,Ne=typeof qe=="function"?qe(it.getNow()).length:qe.length;return Math.max(Ce,Ne)+2}var Si=null,zi=new Set;function fi(Le){return!Si&&typeof window!="undefined"&&window.addEventListener&&(Si=function(it){(0,aa.Z)(zi).forEach(function(Ce){Ce(it)})},window.addEventListener("mousedown",Si)),zi.add(Le),function(){zi.delete(Le),zi.size===0&&(window.removeEventListener("mousedown",Si),Si=null)}}function Tn(Le){var qe=Le.target;if(Le.composed&&qe.shadowRoot){var it;return((it=Le.composedPath)===null||it===void 0?void 0:it.call(Le)[0])||qe}return qe}var bn=function(qe){return qe==="month"||qe==="date"?"year":qe},ir=function(qe){return qe==="date"?"month":qe},Cr=function(qe){return qe==="month"||qe==="date"?"quarter":qe},Or=function(qe){return qe==="date"?"week":qe},Lr={year:bn,month:ir,quarter:Cr,week:Or,time:null,date:null};function sa(Le,qe){return Le.some(function(it){return it&&it.contains(qe)})}function pn(Le){var qe=Le.open,it=Le.value,Ce=Le.isClickOutside,Ne=Le.triggerOpen,St=Le.forwardKeyDown,bt=Le.onKeyDown,Jt=Le.blurToCancel,_t=Le.onSubmit,Wt=Le.onCancel,Wn=Le.onFocus,xn=Le.onBlur,Ln=Le.changeOnBlur,Mr=(0,ue.useState)(!1),pr=(0,tn.Z)(Mr,2),or=pr[0],sr=pr[1],Br=(0,ue.useState)(!1),Vr=(0,tn.Z)(Br,2),na=Vr[0],ka=Vr[1],_e=(0,ue.useRef)(!1),gt=(0,ue.useRef)(!1),Ht=(0,ue.useRef)(!1),Ue={onMouseDown:function(){sr(!0),Ne(!0)},onKeyDown:function(hn){var Fn=function(){Ht.current=!0};if(bt(hn,Fn),!Ht.current){switch(hn.which){case ur.Z.ENTER:{qe?_t()!==!1&&sr(!0):Ne(!0),hn.preventDefault();return}case ur.Z.TAB:{or&&qe&&!hn.shiftKey?(sr(!1),hn.preventDefault()):!or&&qe&&!St(hn)&&hn.shiftKey&&(sr(!0),hn.preventDefault());return}case ur.Z.ESC:{sr(!0),Wt();return}}!qe&&![ur.Z.SHIFT].includes(hn.which)?Ne(!0):or||St(hn)}},onFocus:function(hn){sr(!0),ka(!0),Wn&&Wn(hn)},onBlur:function(hn){if(_e.current||!Ce(document.activeElement)){_e.current=!1;return}Jt?setTimeout(function(){for(var Fn=document,Lt=Fn.activeElement;Lt&&Lt.shadowRoot;)Lt=Lt.shadowRoot.activeElement;Ce(Lt)&&Wt()},0):qe&&(Ne(!1),gt.current&&_t()),ka(!1),xn==null||xn(hn)}};return(0,ue.useEffect)(function(){gt.current=!1},[qe]),(0,ue.useEffect)(function(){gt.current=!0},[it]),(0,ue.useEffect)(function(){return fi(function(Ut){var hn=Tn(Ut),Fn=Ce(hn);qe&&(Fn?!Ln&&(!na||Fn)&&Ne(!1):(_e.current=!0,(0,Rr.Z)(function(){_e.current=!1})))})}),[Ue,{focused:na,typing:or}]}function At(Le,qe){return ue.useMemo(function(){return Le||(qe?((0,Me.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(qe).map(function(it){var Ce=(0,tn.Z)(it,2),Ne=Ce[0],St=Ce[1];return{label:Ne,value:St}})):[])},[Le,qe])}var Zt=ee(14075);function on(Le){var qe=Le.valueTexts,it=Le.onTextChange,Ce=ue.useState(""),Ne=(0,tn.Z)(Ce,2),St=Ne[0],bt=Ne[1],Jt=ue.useRef([]);Jt.current=qe;function _t(Wn){bt(Wn),it(Wn)}function Wt(){bt(Jt.current[0])}return(0,Zt.Z)(function(){qe.every(function(Wn){return Wn!==St})&&Wt()},[qe.join("||")]),[St,_t,Wt]}var Yn=ue.createContext({}),Dt=Yn,fn=ee(71002);function Vn(Le){var qe=Le.cellRender,it=Le.monthCellRender,Ce=Le.dateRender,Ne=ue.useMemo(function(){if(qe)return qe;if(!(!it&&!Ce))return function(St,bt){var Jt=St;return Ce&&bt.type==="date"?Ce(Jt,bt.today):it&&bt.type==="month"?it(Jt,bt.locale):bt.originNode}},[qe,it,Ce]);return Ne}function kn(Le,qe){for(var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ce=String(Le);Ce.length<qe;)Ce="".concat(it).concat(Le);return Ce}var rr=function(){for(var qe=arguments.length,it=new Array(qe),Ce=0;Ce<qe;Ce++)it[Ce]=arguments[Ce];return it};function fr(Le){return Le==null?[]:Array.isArray(Le)?Le:[Le]}function mn(Le,qe){return Le?Le[qe]:null}function Ta(Le,qe,it){var Ce=[mn(Le,0),mn(Le,1)];return Ce[it]=typeof qe=="function"?qe(Ce[it]):qe,!Ce[0]&&!Ce[1]?null:Ce}function ha(Le){return typeof Le=="function"?Le():Le}function ya(Le){var qe=Le.cellPrefixCls,it=Le.generateConfig,Ce=Le.rangedValue,Ne=Le.hoverRangedValue,St=Le.isInView,bt=Le.isSameCell,Jt=Le.offsetCell,_t=Le.today,Wt=Le.value;function Wn(xn){var Ln,Mr=Jt(xn,-1),pr=Jt(xn,1),or=mn(Ce,0),sr=mn(Ce,1),Br=mn(Ne,0),Vr=mn(Ne,1),na=yn(it,Br,Vr,xn);function ka(hn){return bt(or,hn)}function _e(hn){return bt(sr,hn)}var gt=bt(Br,xn),Ht=bt(Vr,xn),Ue=(na||Ht)&&(!St(Mr)||_e(Mr)),Ut=(na||gt)&&(!St(pr)||ka(pr));return Ln={},(0,Cn.Z)(Ln,"".concat(qe,"-in-view"),St(xn)),(0,Cn.Z)(Ln,"".concat(qe,"-in-range"),yn(it,or,sr,xn)),(0,Cn.Z)(Ln,"".concat(qe,"-range-start"),ka(xn)),(0,Cn.Z)(Ln,"".concat(qe,"-range-end"),_e(xn)),(0,Cn.Z)(Ln,"".concat(qe,"-range-start-single"),ka(xn)&&!sr),(0,Cn.Z)(Ln,"".concat(qe,"-range-end-single"),_e(xn)&&!or),(0,Cn.Z)(Ln,"".concat(qe,"-range-start-near-hover"),ka(xn)&&(bt(Mr,Br)||yn(it,Br,Vr,Mr))),(0,Cn.Z)(Ln,"".concat(qe,"-range-end-near-hover"),_e(xn)&&(bt(pr,Vr)||yn(it,Br,Vr,pr))),(0,Cn.Z)(Ln,"".concat(qe,"-range-hover"),na),(0,Cn.Z)(Ln,"".concat(qe,"-range-hover-start"),gt),(0,Cn.Z)(Ln,"".concat(qe,"-range-hover-end"),Ht),(0,Cn.Z)(Ln,"".concat(qe,"-range-hover-edge-start"),Ue),(0,Cn.Z)(Ln,"".concat(qe,"-range-hover-edge-end"),Ut),(0,Cn.Z)(Ln,"".concat(qe,"-range-hover-edge-start-near-range"),Ue&&bt(Mr,sr)),(0,Cn.Z)(Ln,"".concat(qe,"-range-hover-edge-end-near-range"),Ut&&bt(pr,or)),(0,Cn.Z)(Ln,"".concat(qe,"-today"),bt(_t,xn)),(0,Cn.Z)(Ln,"".concat(qe,"-selected"),bt(Wt,xn)),Ln}return Wn}var Sa=ue.createContext({}),Ma=Sa;function pa(Le,qe,it,Ce,Ne){var St=Le.setHour(qe,it);return St=Le.setMinute(St,Ce),St=Le.setSecond(St,Ne),St}function Er(Le,qe,it){if(!it)return qe;var Ce=qe;return Ce=Le.setHour(Ce,Le.getHour(it)),Ce=Le.setMinute(Ce,Le.getMinute(it)),Ce=Le.setSecond(Ce,Le.getSecond(it)),Ce}function qr(Le,qe,it,Ce,Ne,St){var bt=Math.floor(Le/Ce)*Ce;if(bt<Le)return[bt,60-Ne,60-St];var Jt=Math.floor(qe/Ne)*Ne;if(Jt<qe)return[bt,Jt,60-St];var _t=Math.floor(it/St)*St;return[bt,Jt,_t]}function Hi(Le,qe){var it=Le.getYear(qe),Ce=Le.getMonth(qe)+1,Ne=Le.getEndDate(Le.getFixedDate("".concat(it,"-").concat(Ce,"-01"))),St=Le.getDate(Ne),bt=Ce<10?"0".concat(Ce):"".concat(Ce);return"".concat(it,"-").concat(bt,"-").concat(St)}function Fi(Le){for(var qe=Le.prefixCls,it=Le.disabledDate,Ce=Le.onSelect,Ne=Le.picker,St=Le.rowNum,bt=Le.colNum,Jt=Le.prefixColumn,_t=Le.rowClassName,Wt=Le.baseDate,Wn=Le.getCellClassName,xn=Le.getCellText,Ln=Le.getCellNode,Mr=Le.getCellDate,pr=Le.generateConfig,or=Le.titleCell,sr=Le.headerCells,Br=ue.useContext(Dt),Vr=Br.onDateMouseEnter,na=Br.onDateMouseLeave,ka=Br.mode,_e="".concat(qe,"-cell"),gt=[],Ht=0;Ht<St;Ht+=1){for(var Ue=[],Ut=void 0,hn=function(){var Gt,ln=Ht*bt+Fn,jn=Mr(Wt,ln),er=jt({cellDate:jn,mode:ka,disabledDate:it,generateConfig:pr});Fn===0&&(Ut=jn,Jt&&Ue.push(Jt(Ut)));var gr=or&&or(jn),lr=ue.createElement("div",{className:"".concat(_e,"-inner")},xn(jn));Ue.push(ue.createElement("td",{key:Fn,title:gr,className:Mt()(_e,(0,Sn.Z)((Gt={},(0,Cn.Z)(Gt,"".concat(_e,"-disabled"),er),(0,Cn.Z)(Gt,"".concat(_e,"-start"),xn(jn)===1||Ne==="year"&&Number(gr)%10===0),(0,Cn.Z)(Gt,"".concat(_e,"-end"),gr===Hi(pr,jn)||Ne==="year"&&Number(gr)%10===9),Gt),Wn(jn))),onClick:function(){er||Ce(jn)},onMouseEnter:function(){!er&&Vr&&Vr(jn)},onMouseLeave:function(){!er&&na&&na(jn)}},Ln?Ln(jn,lr):lr))},Fn=0;Fn<bt;Fn+=1)hn();gt.push(ue.createElement("tr",{key:Ht,className:_t&&_t(Ut)},Ue))}return ue.createElement("div",{className:"".concat(qe,"-body")},ue.createElement("table",{className:"".concat(qe,"-content")},sr&&ue.createElement("thead",null,ue.createElement("tr",null,sr)),ue.createElement("tbody",null,gt)))}function $a(Le){var qe=Le.prefixCls,it=Le.generateConfig,Ce=Le.prefixColumn,Ne=Le.locale,St=Le.rowCount,bt=Le.viewDate,Jt=Le.value,_t=Le.cellRender,Wt=Le.isSameCell,Wn=ue.useContext(Ma),xn=Wn.rangedValue,Ln=Wn.hoverRangedValue,Mr=Kn(Ne.locale,it,bt),pr="".concat(qe,"-cell"),or=it.locale.getWeekFirstDay(Ne.locale),sr=it.getNow(),Br=[],Vr=Ne.shortWeekDays||(it.locale.getShortWeekDays?it.locale.getShortWeekDays(Ne.locale):[]);Ce&&Br.push(ue.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var na=0;na<be;na+=1)Br.push(ue.createElement("th",{key:na},Vr[(na+or)%be]));var ka=ya({cellPrefixCls:pr,today:sr,value:Jt,generateConfig:it,rangedValue:Ce?null:xn,hoverRangedValue:Ce?null:Ln,isSameCell:Wt||function(gt,Ht){return Pn(it,gt,Ht)},isInView:function(Ht){return un(it,Ht,bt)},offsetCell:function(Ht,Ue){return it.addDate(Ht,Ue)}}),_e=_t?function(gt,Ht){return _t(gt,{originNode:Ht,today:sr,type:"date",locale:Ne})}:void 0;return ue.createElement(Fi,(0,ye.Z)({},Le,{rowNum:St,colNum:be,baseDate:Mr,getCellNode:_e,getCellText:it.getDate,getCellClassName:ka,getCellDate:it.addDate,titleCell:function(Ht){return Qt(Ht,{locale:Ne,format:"YYYY-MM-DD",generateConfig:it})},headerCells:Br}))}var ni=$a,no={visibility:"hidden"};function oi(Le){var qe=Le.prefixCls,it=Le.prevIcon,Ce=it===void 0?"\u2039":it,Ne=Le.nextIcon,St=Ne===void 0?"\u203A":Ne,bt=Le.superPrevIcon,Jt=bt===void 0?"\xAB":bt,_t=Le.superNextIcon,Wt=_t===void 0?"\xBB":_t,Wn=Le.onSuperPrev,xn=Le.onSuperNext,Ln=Le.onPrev,Mr=Le.onNext,pr=Le.children,or=ue.useContext(Dt),sr=or.hideNextBtn,Br=or.hidePrevBtn;return ue.createElement("div",{className:qe},Wn&&ue.createElement("button",{type:"button",onClick:Wn,tabIndex:-1,className:"".concat(qe,"-super-prev-btn"),style:Br?no:{}},Jt),Ln&&ue.createElement("button",{type:"button",onClick:Ln,tabIndex:-1,className:"".concat(qe,"-prev-btn"),style:Br?no:{}},Ce),ue.createElement("div",{className:"".concat(qe,"-view")},pr),Mr&&ue.createElement("button",{type:"button",onClick:Mr,tabIndex:-1,className:"".concat(qe,"-next-btn"),style:sr?no:{}},St),xn&&ue.createElement("button",{type:"button",onClick:xn,tabIndex:-1,className:"".concat(qe,"-super-next-btn"),style:sr?no:{}},Wt))}var so=oi;function ta(Le){var qe=Le.prefixCls,it=Le.generateConfig,Ce=Le.locale,Ne=Le.viewDate,St=Le.onNextMonth,bt=Le.onPrevMonth,Jt=Le.onNextYear,_t=Le.onPrevYear,Wt=Le.onYearClick,Wn=Le.onMonthClick,xn=ue.useContext(Dt),Ln=xn.hideHeader;if(Ln)return null;var Mr="".concat(qe,"-header"),pr=Ce.shortMonths||(it.locale.getShortMonths?it.locale.getShortMonths(Ce.locale):[]),or=it.getMonth(Ne),sr=ue.createElement("button",{type:"button",key:"year",onClick:Wt,tabIndex:-1,className:"".concat(qe,"-year-btn")},Qt(Ne,{locale:Ce,format:Ce.yearFormat,generateConfig:it})),Br=ue.createElement("button",{type:"button",key:"month",onClick:Wn,tabIndex:-1,className:"".concat(qe,"-month-btn")},Ce.monthFormat?Qt(Ne,{locale:Ce,format:Ce.monthFormat,generateConfig:it}):pr[or]),Vr=Ce.monthBeforeYear?[Br,sr]:[sr,Br];return ue.createElement(so,(0,ye.Z)({},Le,{prefixCls:Mr,onSuperPrev:_t,onPrev:bt,onNext:St,onSuperNext:Jt}),Vr)}var to=ta,xo=6;function xl(Le){var qe=Le.prefixCls,it=Le.panelName,Ce=it===void 0?"date":it,Ne=Le.keyboardConfig,St=Le.active,bt=Le.operationRef,Jt=Le.generateConfig,_t=Le.value,Wt=Le.viewDate,Wn=Le.onViewDateChange,xn=Le.onPanelChange,Ln=Le.onSelect,Mr="".concat(qe,"-").concat(Ce,"-panel");bt.current={onKeyDown:function(Br){return Xr(Br,(0,Sn.Z)({onLeftRight:function(na){Ln(Jt.addDate(_t||Wt,na),"key")},onCtrlLeftRight:function(na){Ln(Jt.addYear(_t||Wt,na),"key")},onUpDown:function(na){Ln(Jt.addDate(_t||Wt,na*be),"key")},onPageUpDown:function(na){Ln(Jt.addMonth(_t||Wt,na),"key")}},Ne))}};var pr=function(Br){var Vr=Jt.addYear(Wt,Br);Wn(Vr),xn(null,Vr)},or=function(Br){var Vr=Jt.addMonth(Wt,Br);Wn(Vr),xn(null,Vr)};return ue.createElement("div",{className:Mt()(Mr,(0,Cn.Z)({},"".concat(Mr,"-active"),St))},ue.createElement(to,(0,ye.Z)({},Le,{prefixCls:qe,value:_t,viewDate:Wt,onPrevYear:function(){pr(-1)},onNextYear:function(){pr(1)},onPrevMonth:function(){or(-1)},onNextMonth:function(){or(1)},onMonthClick:function(){xn("month",Wt)},onYearClick:function(){xn("year",Wt)}})),ue.createElement(ni,(0,ye.Z)({},Le,{onSelect:function(Br){return Ln(Br,"mouse")},prefixCls:qe,value:_t,viewDate:Wt,rowCount:xo})))}var ll=xl;function Uo(Le){var qe=ue.useContext(Dt),it=qe.hideHeader;if(it)return null;var Ce=Le.prefixCls,Ne=Le.generateConfig,St=Le.locale,bt=Le.value,Jt=Le.format,_t="".concat(Ce,"-header");return ue.createElement(so,{prefixCls:_t},bt?Qt(bt,{locale:St,format:Jt,generateConfig:Ne}):"\xA0")}var co=Uo;function wl(Le){var qe=Le.value,it=Le.generateConfig,Ce=Le.disabledMinutes,Ne=Le.disabledSeconds,St=Le.minutes,bt=Le.seconds,Jt=Le.use12Hours,_t=function(Wn,xn,Ln,Mr){var pr=it.getNow(),or=qe||pr,sr=xn<0?it.getHour(pr):xn,Br=Ln<0?it.getMinute(pr):Ln,Vr=Mr<0?it.getSecond(pr):Mr,na=Ce&&Ce(sr);if(na!=null&&na.includes(Br)){var ka=St.find(function(Ht){return!na.includes(Ht.value)});if(ka)Br=ka.value;else return null}var _e=Ne&&Ne(sr,Br);if(_e!=null&&_e.includes(Vr)){var gt=bt.find(function(Ht){return!_e.includes(Ht.value)});if(gt)Vr=gt.value;else return null}return or=pa(it,or,!Jt||!Wn?sr:sr+12,Br,Vr),or};return _t}function Yo(Le){var qe=Le.prefixCls,it=Le.units,Ce=Le.onSelect,Ne=Le.value,St=Le.active,bt=Le.hideDisabledOptions,Jt=Le.info,_t=Le.type,Wt="".concat(qe,"-cell"),Wn=ue.useContext(Dt),xn=Wn.open,Ln=(0,ue.useRef)(null),Mr=(0,ue.useRef)(new Map),pr=(0,ue.useRef)();return(0,ue.useLayoutEffect)(function(){var or=Mr.current.get(Ne);or&&xn!==!1&&_a(Ln.current,or.offsetTop,120)},[Ne]),(0,ue.useLayoutEffect)(function(){if(xn){var or=Mr.current.get(Ne);or&&(pr.current=Fa(or,function(){_a(Ln.current,or.offsetTop,0)}))}return function(){var sr;(sr=pr.current)===null||sr===void 0||sr.call(pr)}},[xn]),ue.createElement("ul",{className:Mt()("".concat(qe,"-column"),(0,Cn.Z)({},"".concat(qe,"-column-active"),St)),ref:Ln,style:{position:"relative"}},it.map(function(or){var sr;return bt&&or.disabled?null:ue.createElement("li",{key:or.value,ref:function(Vr){Mr.current.set(or.value,Vr)},className:Mt()(Wt,(sr={},(0,Cn.Z)(sr,"".concat(Wt,"-disabled"),or.disabled),(0,Cn.Z)(sr,"".concat(Wt,"-selected"),Ne===or.value),sr)),onClick:function(){or.disabled||Ce(or.value)}},Jt.cellRender?Jt.cellRender(or.value,{today:Jt.today,locale:Jt.locale,originNode:ue.createElement("div",{className:"".concat(Wt,"-inner")},or.label),type:"time",subType:_t}):ue.createElement("div",{className:"".concat(Wt,"-inner")},or.label))}))}var gl=Yo;function zl(Le,qe){if(Le.length!==qe.length)return!0;for(var it=0;it<Le.length;it+=1)if(Le[it].disabled!==qe[it].disabled)return!0;return!1}function Sl(Le,qe,it,Ce){for(var Ne=[],St=it>=1?it|0:1,bt=Le;bt<=qe;bt+=St)Ne.push({label:kn(bt,2),value:bt,disabled:(Ce||[]).includes(bt)});return Ne}function Cl(Le){var qe=Le.generateConfig,it=Le.prefixCls,Ce=Le.operationRef,Ne=Le.activeColumnIndex,St=Le.value,bt=Le.showHour,Jt=Le.showMinute,_t=Le.showSecond,Wt=Le.use12Hours,Wn=Le.hourStep,xn=Wn===void 0?1:Wn,Ln=Le.minuteStep,Mr=Ln===void 0?1:Ln,pr=Le.secondStep,or=pr===void 0?1:pr,sr=Le.disabledHours,Br=Le.disabledMinutes,Vr=Le.disabledSeconds,na=Le.disabledTime,ka=Le.hideDisabledOptions,_e=Le.onSelect,gt=Le.cellRender,Ht=Le.locale,Ue=[],Ut="".concat(it,"-content"),hn="".concat(it,"-time-panel"),Fn,Lt=St?qe.getHour(St):-1,Gt=Lt,ln=St?qe.getMinute(St):-1,jn=St?qe.getSecond(St):-1,er=qe.getNow(),gr=ue.useMemo(function(){if(na){var ra=na(er);return[ra.disabledHours,ra.disabledMinutes,ra.disabledSeconds]}return[sr,Br,Vr]},[sr,Br,Vr,na,er]),lr=(0,tn.Z)(gr,3),Nr=lr[0],Wr=lr[1],ea=lr[2],Kr=Sl(0,23,xn,Nr&&Nr()),Ba=(0,gn.Z)(function(){return Kr},Kr,zl);Wt&&(Fn=Gt>=12,Gt%=12);var ua=ue.useMemo(function(){if(!Wt)return[!1,!1];var ra=[!0,!0];return Ba.forEach(function(Ya){var Za=Ya.disabled,Ua=Ya.value;Za||(Ua>=12?ra[1]=!1:ra[0]=!1)}),ra},[Wt,Ba]),Na=(0,tn.Z)(ua,2),Ga=Na[0],la=Na[1],ga=ue.useMemo(function(){return Wt?Ba.filter(Fn?function(ra){return ra.value>=12}:function(ra){return ra.value<12}).map(function(ra){var Ya=ra.value%12,Za=Ya===0?"12":kn(Ya,2);return(0,Sn.Z)((0,Sn.Z)({},ra),{},{label:Za,value:Ya})}):Ba},[Wt,Fn,Ba]),fa=Sl(0,59,Mr,Wr&&Wr(Lt)),La=Sl(0,59,or,ea&&ea(Lt,ln)),Aa=wl({value:St,generateConfig:qe,disabledMinutes:Wr,disabledSeconds:ea,minutes:fa,seconds:La,use12Hours:Wt});Ce.current={onUpDown:function(Ya){var Za=Ue[Ne];if(Za)for(var Ua=Za.units.findIndex(function(Ko){return Ko.value===Za.value}),Oa=Za.units.length,ii=1;ii<Oa;ii+=1){var yi=Za.units[(Ua+Ya*ii+Oa)%Oa];if(yi.disabled!==!0){Za.onSelect(yi.value);break}}}};function ca(ra,Ya,Za,Ua,Oa){ra!==!1&&Ue.push({node:ue.cloneElement(Ya,{prefixCls:hn,value:Za,active:Ne===Ue.length,onSelect:Oa,units:Ua,hideDisabledOptions:ka}),onSelect:Oa,value:Za,units:Ua})}ca(bt,ue.createElement(gl,{key:"hour",type:"hour",info:{today:er,locale:Ht,cellRender:gt}}),Gt,ga,function(ra){_e(Aa(Fn,ra,ln,jn),"mouse")}),ca(Jt,ue.createElement(gl,{key:"minute",type:"minute",info:{today:er,locale:Ht,cellRender:gt}}),ln,fa,function(ra){_e(Aa(Fn,Gt,ra,jn),"mouse")}),ca(_t,ue.createElement(gl,{key:"second",type:"second",info:{today:er,locale:Ht,cellRender:gt}}),jn,La,function(ra){_e(Aa(Fn,Gt,ln,ra),"mouse")});var Xa=-1;return typeof Fn=="boolean"&&(Xa=Fn?1:0),ca(Wt===!0,ue.createElement(gl,{key:"meridiem",type:"meridiem",info:{today:er,locale:Ht,cellRender:gt}}),Xa,[{label:"AM",value:0,disabled:Ga},{label:"PM",value:1,disabled:la}],function(ra){_e(Aa(!!ra,Gt,ln,jn),"mouse")}),ue.createElement("div",{className:Ut},Ue.map(function(ra){var Ya=ra.node;return Ya}))}var wi=Cl,ko=function(qe){return qe.filter(function(it){return it!==!1}).length};function Pi(Le){var qe=Le.generateConfig,it=Le.format,Ce=it===void 0?"HH:mm:ss":it,Ne=Le.prefixCls,St=Le.active,bt=Le.operationRef,Jt=Le.showHour,_t=Le.showMinute,Wt=Le.showSecond,Wn=Le.use12Hours,xn=Wn===void 0?!1:Wn,Ln=Le.onSelect,Mr=Le.value,pr="".concat(Ne,"-time-panel"),or=ue.useRef(),sr=ue.useState(-1),Br=(0,tn.Z)(sr,2),Vr=Br[0],na=Br[1],ka=ko([Jt,_t,Wt,xn]);return bt.current={onKeyDown:function(gt){return Xr(gt,{onLeftRight:function(Ue){na((Vr+Ue+ka)%ka)},onUpDown:function(Ue){Vr===-1?na(0):or.current&&or.current.onUpDown(Ue)},onEnter:function(){Ln(Mr||qe.getNow(),"key"),na(-1)}})},onBlur:function(){na(-1)}},ue.createElement("div",{className:Mt()(pr,(0,Cn.Z)({},"".concat(pr,"-active"),St))},ue.createElement(co,(0,ye.Z)({},Le,{format:Ce,prefixCls:Ne})),ue.createElement(wi,(0,ye.Z)({},Le,{prefixCls:Ne,activeColumnIndex:Vr,operationRef:or})))}var Ci=Pi,Zn=rr("date","time");function Mn(Le){var qe=Le.prefixCls,it=Le.operationRef,Ce=Le.generateConfig,Ne=Le.value,St=Le.defaultValue,bt=Le.disabledTime,Jt=Le.showTime,_t=Le.onSelect,Wt=Le.cellRender,Wn="".concat(qe,"-datetime-panel"),xn=ue.useState(null),Ln=(0,tn.Z)(xn,2),Mr=Ln[0],pr=Ln[1],or=ue.useRef({}),sr=ue.useRef({}),Br=(0,fn.Z)(Jt)==="object"?(0,Sn.Z)({},Jt):{};function Vr(gt){var Ht=Zn.indexOf(Mr)+gt,Ue=Zn[Ht]||null;return Ue}var na=function(Ht){sr.current.onBlur&&sr.current.onBlur(Ht),pr(null)};it.current={onKeyDown:function(Ht){if(Ht.which===ur.Z.TAB){var Ue=Vr(Ht.shiftKey?-1:1);return pr(Ue),Ue&&Ht.preventDefault(),!0}if(Mr){var Ut=Mr==="date"?or:sr;return Ut.current&&Ut.current.onKeyDown&&Ut.current.onKeyDown(Ht),!0}return[ur.Z.LEFT,ur.Z.RIGHT,ur.Z.UP,ur.Z.DOWN].includes(Ht.which)?(pr("date"),!0):!1},onBlur:na,onClose:na};var ka=function(Ht,Ue){var Ut=Ht;Ue==="date"&&!Ne&&Br.defaultValue?(Ut=Ce.setHour(Ut,Ce.getHour(Br.defaultValue)),Ut=Ce.setMinute(Ut,Ce.getMinute(Br.defaultValue)),Ut=Ce.setSecond(Ut,Ce.getSecond(Br.defaultValue))):Ue==="time"&&!Ne&&St&&(Ut=Ce.setYear(Ut,Ce.getYear(St)),Ut=Ce.setMonth(Ut,Ce.getMonth(St)),Ut=Ce.setDate(Ut,Ce.getDate(St))),_t&&_t(Ut,"mouse")},_e=bt?bt(Ne||null):{};return ue.createElement("div",{className:Mt()(Wn,(0,Cn.Z)({},"".concat(Wn,"-active"),Mr))},ue.createElement(ll,(0,ye.Z)({},Le,{cellRender:Wt,operationRef:or,active:Mr==="date",onSelect:function(Ht){ka(Er(Ce,Ht,!Ne&&(0,fn.Z)(Jt)==="object"?Jt.defaultValue:null),"date")}})),ue.createElement(Ci,(0,ye.Z)({},Le,{cellRender:Wt?function(gt,Ht){return Wt(gt,(0,Sn.Z)((0,Sn.Z)({},Ht),{},{type:"time"}))}:void 0,format:void 0},Br,_e,{disabledTime:null,defaultValue:void 0,operationRef:sr,active:Mr==="time",onSelect:function(Ht){ka(Ht,"time")}})))}var dr=Mn;function Qr(Le){var qe=Le.prefixCls,it=Le.generateConfig,Ce=Le.viewDate,Ne=Le.onPrevDecades,St=Le.onNextDecades,bt=ue.useContext(Dt),Jt=bt.hideHeader;if(Jt)return null;var _t="".concat(qe,"-header"),Wt=it.getYear(Ce),Wn=Math.floor(Wt/he)*he,xn=Wn+he-1;return ue.createElement(so,(0,ye.Z)({},Le,{prefixCls:_t,onSuperPrev:Ne,onSuperNext:St}),Wn,"-",xn)}var va=Qr,pi=3,Ai=4;function Vi(Le){var qe=ve-1,it=Le.prefixCls,Ce=Le.viewDate,Ne=Le.generateConfig,St=Le.cellRender,bt=Le.locale,Jt="".concat(it,"-cell"),_t=Ne.getYear(Ce),Wt=Math.floor(_t/ve)*ve,Wn=Math.floor(_t/he)*he,xn=Wn+he-1,Ln=Ne.setYear(Ce,Wn-Math.ceil((pi*Ai*ve-he)/2)),Mr=function(sr){var Br,Vr=Ne.getYear(sr),na=Vr+qe;return Br={},(0,Cn.Z)(Br,"".concat(Jt,"-in-view"),Wn<=Vr&&na<=xn),(0,Cn.Z)(Br,"".concat(Jt,"-selected"),Vr===Wt),Br},pr=St?function(or,sr){return St(or,{originNode:sr,today:Ne.getNow(),type:"decade",locale:bt})}:void 0;return ue.createElement(Fi,(0,ye.Z)({},Le,{rowNum:Ai,colNum:pi,baseDate:Ln,getCellNode:pr,getCellText:function(sr){var Br=Ne.getYear(sr);return"".concat(Br,"-").concat(Br+qe)},getCellClassName:Mr,getCellDate:function(sr,Br){return Ne.addYear(sr,Br*ve)}}))}var ui=Vi;function Di(Le){var qe=Le.prefixCls,it=Le.onViewDateChange,Ce=Le.generateConfig,Ne=Le.viewDate,St=Le.operationRef,bt=Le.onSelect,Jt=Le.onPanelChange,_t="".concat(qe,"-decade-panel");St.current={onKeyDown:function(Ln){return Xr(Ln,{onLeftRight:function(pr){bt(Ce.addYear(Ne,pr*ve),"key")},onCtrlLeftRight:function(pr){bt(Ce.addYear(Ne,pr*he),"key")},onUpDown:function(pr){bt(Ce.addYear(Ne,pr*ve*pi),"key")},onEnter:function(){Jt("year",Ne)}})}};var Wt=function(Ln){var Mr=Ce.addYear(Ne,Ln*he);it(Mr),Jt(null,Mr)},Wn=function(Ln){bt(Ln,"mouse"),Jt("year",Ln)};return ue.createElement("div",{className:_t},ue.createElement(va,(0,ye.Z)({},Le,{prefixCls:qe,onPrevDecades:function(){Wt(-1)},onNextDecades:function(){Wt(1)}})),ue.createElement(ui,(0,ye.Z)({},Le,{prefixCls:qe,onSelect:Wn})))}var Eo=Di;function Zo(Le){var qe=Le.prefixCls,it=Le.generateConfig,Ce=Le.locale,Ne=Le.viewDate,St=Le.onNextYear,bt=Le.onPrevYear,Jt=Le.onYearClick,_t=ue.useContext(Dt),Wt=_t.hideHeader;if(Wt)return null;var Wn="".concat(qe,"-header");return ue.createElement(so,(0,ye.Z)({},Le,{prefixCls:Wn,onSuperPrev:bt,onSuperNext:St}),ue.createElement("button",{type:"button",onClick:Jt,className:"".concat(qe,"-year-btn")},Qt(Ne,{locale:Ce,format:Ce.yearFormat,generateConfig:it})))}var Qo=Zo,He=3,nt=4;function It(Le){var qe=Le.prefixCls,it=Le.locale,Ce=Le.value,Ne=Le.viewDate,St=Le.generateConfig,bt=Le.cellRender,Jt=ue.useContext(Ma),_t=Jt.rangedValue,Wt=Jt.hoverRangedValue,Wn="".concat(qe,"-cell"),xn=ya({cellPrefixCls:Wn,value:Ce,generateConfig:St,rangedValue:_t,hoverRangedValue:Wt,isSameCell:function(sr,Br){return un(St,sr,Br)},isInView:function(){return!0},offsetCell:function(sr,Br){return St.addMonth(sr,Br)}}),Ln=it.shortMonths||(St.locale.getShortMonths?St.locale.getShortMonths(it.locale):[]),Mr=St.setMonth(Ne,0),pr=bt?function(or,sr){return bt(or,{originNode:sr,locale:it,today:St.getNow(),type:"month"})}:void 0;return ue.createElement(Fi,(0,ye.Z)({},Le,{rowNum:nt,colNum:He,baseDate:Mr,getCellNode:pr,getCellText:function(sr){return it.monthFormat?Qt(sr,{locale:it,format:it.monthFormat,generateConfig:St}):Ln[St.getMonth(sr)]},getCellClassName:xn,getCellDate:St.addMonth,titleCell:function(sr){return Qt(sr,{locale:it,format:"YYYY-MM",generateConfig:St})}}))}var pe=It;function Oe(Le){var qe=Le.prefixCls,it=Le.operationRef,Ce=Le.onViewDateChange,Ne=Le.generateConfig,St=Le.value,bt=Le.viewDate,Jt=Le.onPanelChange,_t=Le.onSelect,Wt="".concat(qe,"-month-panel");it.current={onKeyDown:function(Ln){return Xr(Ln,{onLeftRight:function(pr){_t(Ne.addMonth(St||bt,pr),"key")},onCtrlLeftRight:function(pr){_t(Ne.addYear(St||bt,pr),"key")},onUpDown:function(pr){_t(Ne.addMonth(St||bt,pr*He),"key")},onEnter:function(){Jt("date",St||bt)}})}};var Wn=function(Ln){var Mr=Ne.addYear(bt,Ln);Ce(Mr),Jt(null,Mr)};return ue.createElement("div",{className:Wt},ue.createElement(Qo,(0,ye.Z)({},Le,{prefixCls:qe,onPrevYear:function(){Wn(-1)},onNextYear:function(){Wn(1)},onYearClick:function(){Jt("year",bt)}})),ue.createElement(pe,(0,ye.Z)({},Le,{prefixCls:qe,onSelect:function(Ln){_t(Ln,"mouse"),Jt("date",Ln)}})))}var Ae=Oe;function Ke(Le){var qe=Le.prefixCls,it=Le.generateConfig,Ce=Le.locale,Ne=Le.viewDate,St=Le.onNextYear,bt=Le.onPrevYear,Jt=Le.onYearClick,_t=ue.useContext(Dt),Wt=_t.hideHeader;if(Wt)return null;var Wn="".concat(qe,"-header");return ue.createElement(so,(0,ye.Z)({},Le,{prefixCls:Wn,onSuperPrev:bt,onSuperNext:St}),ue.createElement("button",{type:"button",onClick:Jt,className:"".concat(qe,"-year-btn")},Qt(Ne,{locale:Ce,format:Ce.yearFormat,generateConfig:it})))}var Qe=Ke,at=4,ft=1;function Xt(Le){var qe=Le.prefixCls,it=Le.locale,Ce=Le.value,Ne=Le.viewDate,St=Le.generateConfig,bt=Le.cellRender,Jt=ue.useContext(Ma),_t=Jt.rangedValue,Wt=Jt.hoverRangedValue,Wn="".concat(qe,"-cell"),xn=ya({cellPrefixCls:Wn,value:Ce,generateConfig:St,rangedValue:_t,hoverRangedValue:Wt,isSameCell:function(or,sr){return En(St,or,sr)},isInView:function(){return!0},offsetCell:function(or,sr){return St.addMonth(or,sr*3)}}),Ln=St.setDate(St.setMonth(Ne,0),1),Mr=bt?function(pr,or){return bt(pr,{originNode:or,locale:it,today:St.getNow(),type:"quarter"})}:void 0;return ue.createElement(Fi,(0,ye.Z)({},Le,{rowNum:ft,colNum:at,baseDate:Ln,getCellNode:Mr,getCellText:function(or){return Qt(or,{locale:it,format:it.quarterFormat||"[Q]Q",generateConfig:St})},getCellClassName:xn,getCellDate:function(or,sr){return St.addMonth(or,sr*3)},titleCell:function(or){return Qt(or,{locale:it,format:"YYYY-[Q]Q",generateConfig:St})}}))}var an=Xt;function Qn(Le){var qe=Le.prefixCls,it=Le.operationRef,Ce=Le.onViewDateChange,Ne=Le.generateConfig,St=Le.value,bt=Le.viewDate,Jt=Le.onPanelChange,_t=Le.onSelect,Wt="".concat(qe,"-quarter-panel");it.current={onKeyDown:function(Ln){return Xr(Ln,{onLeftRight:function(pr){_t(Ne.addMonth(St||bt,pr*3),"key")},onCtrlLeftRight:function(pr){_t(Ne.addYear(St||bt,pr),"key")},onUpDown:function(pr){_t(Ne.addYear(St||bt,pr),"key")}})}};var Wn=function(Ln){var Mr=Ne.addYear(bt,Ln);Ce(Mr),Jt(null,Mr)};return ue.createElement("div",{className:Wt},ue.createElement(Qe,(0,ye.Z)({},Le,{prefixCls:qe,onPrevYear:function(){Wn(-1)},onNextYear:function(){Wn(1)},onYearClick:function(){Jt("year",bt)}})),ue.createElement(an,(0,ye.Z)({},Le,{prefixCls:qe,onSelect:function(Ln){_t(Ln,"mouse")}})))}var cr=Qn;function Ar(Le){var qe=Le.prefixCls,it=Le.generateConfig,Ce=Le.locale,Ne=Le.value,St=Le.disabledDate,bt=Le.onSelect,Jt=ue.useContext(Ma),_t=Jt.rangedValue,Wt=Jt.hoverRangedValue,Wn=ue.useContext(Dt),xn=Wn.onDateMouseEnter,Ln=Wn.onDateMouseLeave,Mr=(Wt==null?void 0:Wt[0])||(_t==null?void 0:_t[0]),pr=(Wt==null?void 0:Wt[1])||(_t==null?void 0:_t[1]),or="".concat(qe,"-cell"),sr=function(ka){var _e=jt({cellDate:ka,mode:"week",disabledDate:St,generateConfig:it});return ue.createElement("td",{key:"week",className:Mt()(or,"".concat(or,"-week")),onClick:function(){_e||bt(ka,"mouse")},onMouseEnter:function(){!_e&&xn&&xn(ka)},onMouseLeave:function(){!_e&&Ln&&Ln(ka)}},ue.createElement("div",{className:"".concat(or,"-inner")},it.locale.getWeek(Ce.locale,ka)))},Br="".concat(qe,"-week-panel-row"),Vr=function(ka){var _e,gt=_n(it,Ce.locale,Mr,ka),Ht=_n(it,Ce.locale,pr,ka);return Mt()(Br,(_e={},(0,Cn.Z)(_e,"".concat(Br,"-selected"),!_t&&_n(it,Ce.locale,Ne,ka)),(0,Cn.Z)(_e,"".concat(Br,"-range-start"),gt),(0,Cn.Z)(_e,"".concat(Br,"-range-end"),Ht),(0,Cn.Z)(_e,"".concat(Br,"-range-hover"),!gt&&!Ht&&yn(it,Mr,pr,ka)),_e))};return ue.createElement(ll,(0,ye.Z)({},Le,{panelName:"week",prefixColumn:sr,rowClassName:Vr,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Dn=Ar,$n=10;function Jn(Le){var qe=Le.prefixCls,it=Le.generateConfig,Ce=Le.viewDate,Ne=Le.onPrevDecade,St=Le.onNextDecade,bt=Le.onDecadeClick,Jt=ue.useContext(Dt),_t=Jt.hideHeader;if(_t)return null;var Wt="".concat(qe,"-header"),Wn=it.getYear(Ce),xn=Math.floor(Wn/$n)*$n,Ln=xn+$n-1;return ue.createElement(so,(0,ye.Z)({},Le,{prefixCls:Wt,onSuperPrev:Ne,onSuperNext:St}),ue.createElement("button",{type:"button",onClick:bt,className:"".concat(qe,"-decade-btn")},xn,"-",Ln))}var kr=Jn,Hr=3,zr=4;function Fr(Le){var qe=Le.prefixCls,it=Le.value,Ce=Le.viewDate,Ne=Le.locale,St=Le.generateConfig,bt=Le.cellRender,Jt=ue.useContext(Ma),_t=Jt.rangedValue,Wt=Jt.hoverRangedValue,Wn="".concat(qe,"-cell"),xn=St.getYear(Ce),Ln=Math.floor(xn/$n)*$n,Mr=Ln+$n-1,pr=St.setYear(Ce,Ln-Math.ceil((Hr*zr-$n)/2)),or=St.getNow(),sr=function(ka){var _e=St.getYear(ka);return Ln<=_e&&_e<=Mr},Br=ya({cellPrefixCls:Wn,value:it,generateConfig:St,rangedValue:_t,hoverRangedValue:Wt,isSameCell:function(ka,_e){return je(St,ka,_e)},isInView:sr,offsetCell:function(ka,_e){return St.addYear(ka,_e)}}),Vr=bt?function(na,ka){return bt(na,{originNode:ka,today:or,type:"year",locale:Ne})}:void 0;return ue.createElement(Fi,(0,ye.Z)({},Le,{rowNum:zr,colNum:Hr,baseDate:pr,getCellNode:Vr,getCellText:St.getYear,getCellClassName:Br,getCellDate:St.addYear,titleCell:function(ka){return Qt(ka,{locale:Ne,format:"YYYY",generateConfig:St})}}))}var jr=Fr;function _r(Le){var qe=Le.prefixCls,it=Le.operationRef,Ce=Le.onViewDateChange,Ne=Le.generateConfig,St=Le.value,bt=Le.viewDate,Jt=Le.sourceMode,_t=Le.onSelect,Wt=Le.onPanelChange,Wn="".concat(qe,"-year-panel");it.current={onKeyDown:function(Mr){return Xr(Mr,{onLeftRight:function(or){_t(Ne.addYear(St||bt,or),"key")},onCtrlLeftRight:function(or){_t(Ne.addYear(St||bt,or*$n),"key")},onUpDown:function(or){_t(Ne.addYear(St||bt,or*Hr),"key")},onEnter:function(){Wt(Jt==="date"?"date":"month",St||bt)}})}};var xn=function(Mr){var pr=Ne.addYear(bt,Mr*10);Ce(pr),Wt(null,pr)};return ue.createElement("div",{className:Wn},ue.createElement(kr,(0,ye.Z)({},Le,{prefixCls:qe,onPrevDecade:function(){xn(-1)},onNextDecade:function(){xn(1)},onDecadeClick:function(){Wt("decade",bt)}})),ue.createElement(jr,(0,ye.Z)({},Le,{prefixCls:qe,onSelect:function(Mr){Wt(Jt==="date"?"date":"month",Mr),_t(Mr,"mouse")}})))}var Jr=_r;function kt(Le,qe,it){return it?ue.createElement("div",{className:"".concat(Le,"-footer-extra")},it(qe)):null}function Pt(Le){var qe=Le.prefixCls,it=Le.components,Ce=it===void 0?{}:it,Ne=Le.needConfirmButton,St=Le.onNow,bt=Le.onOk,Jt=Le.okDisabled,_t=Le.showNow,Wt=Le.locale,Wn,xn;if(Ne){var Ln=Ce.button||"button";St&&_t!==!1&&(Wn=ue.createElement("li",{className:"".concat(qe,"-now")},ue.createElement("a",{className:"".concat(qe,"-now-btn"),onClick:St},Wt.now))),xn=Ne&&ue.createElement("li",{className:"".concat(qe,"-ok")},ue.createElement(Ln,{disabled:Jt,onClick:bt},Wt.ok))}return!Wn&&!xn?null:ue.createElement("ul",{className:"".concat(qe,"-ranges")},Wn,xn)}var zn=["date","month"];function Bn(Le){var qe,it=Le,Ce=it.prefixCls,Ne=Ce===void 0?"rc-picker":Ce,St=it.className,bt=it.style,Jt=it.locale,_t=it.generateConfig,Wt=it.value,Wn=it.defaultValue,xn=it.pickerValue,Ln=it.defaultPickerValue,Mr=it.disabledDate,pr=it.mode,or=it.picker,sr=or===void 0?"date":or,Br=it.tabIndex,Vr=Br===void 0?0:Br,na=it.showNow,ka=it.showTime,_e=it.showToday,gt=it.renderExtraFooter,Ht=it.hideHeader,Ue=it.onSelect,Ut=it.onChange,hn=it.onPanelChange,Fn=it.onMouseDown,Lt=it.onPickerValueChange,Gt=it.onOk,ln=it.components,jn=it.direction,er=it.hourStep,gr=er===void 0?1:er,lr=it.minuteStep,Nr=lr===void 0?1:lr,Wr=it.secondStep,ea=Wr===void 0?1:Wr,Kr=it.dateRender,Ba=it.monthCellRender,ua=it.cellRender,Na=sr==="date"&&!!ka||sr==="time",Ga=24%gr===0,la=60%Nr===0,ga=60%ea===0,fa=ue.useContext(Dt),La=fa.operationRef,Aa=fa.onSelect,ca=fa.hideRanges,Xa=fa.defaultOpenValue,ra=ue.useContext(Ma),Ya=ra.inRange,Za=ra.panelPosition,Ua=ra.rangedValue,Oa=ra.hoverRangedValue,ii=ue.useRef({}),yi=ue.useRef(!0),Ko=(0,In.Z)(null,{value:Wt,defaultValue:Wn,postState:function(Qa){return!Qa&&Xa&&sr==="time"?Xa:Qa}}),No=(0,tn.Z)(Ko,2),vo=No[0],ol=No[1],Bo=(0,In.Z)(null,{value:xn,defaultValue:Ln||vo,postState:function(Qa){var Gi=_t.getNow();if(!Qa)return Gi;if(!vo&&ka){var cl=(0,fn.Z)(ka)==="object"?ka.defaultValue:Wn;return Er(_t,Array.isArray(Qa)?Qa[0]:Qa,cl||Gi)}return Array.isArray(Qa)?Qa[0]:Qa}}),kl=(0,tn.Z)(Bo,2),Pl=kl[0],Ki=kl[1],di=function(Qa){Ki(Qa),Lt&&Lt(Qa)},go=function(Qa){var Gi=Lr[sr];return Gi?Gi(Qa):Qa},zo=(0,In.Z)(function(){return sr==="time"?"time":go("date")},{value:pr}),oo=(0,tn.Z)(zo,2),bo=oo[0],ro=oo[1];ue.useEffect(function(){ro(sr)},[sr]);var Wo=ue.useState(function(){return bo}),ul=(0,tn.Z)(Wo,2),Nl=ul[0],Fl=ul[1],Ro=function(Qa,Gi){var cl=go(Qa||bo);Fl(bo),ro(cl),hn&&(bo!==cl||Vt(_t,Pl,Pl))&&hn(Gi,cl)},Ji=function(Qa,Gi){var cl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(bo===sr||cl)&&(ol(Qa),Ue&&Ue(Qa),Aa&&Aa(Qa,Gi),Ut&&!Vt(_t,Qa,vo)&&!(Mr!=null&&Mr(Qa))&&Ut(Qa))},el=function(Qa){if(zn.includes(bo)){var Gi,cl,Jl=bo==="date";switch(Qa===ur.Z.PAGE_UP||Qa===ur.Z.PAGE_DOWN?cl=Jl?_t.addMonth:_t.addYear:cl=Jl?_t.addDate:_t.addMonth,Qa){case ur.Z.LEFT:case ur.Z.PAGE_UP:Gi=cl(Pl,-1);break;case ur.Z.RIGHT:case ur.Z.PAGE_DOWN:Gi=cl(Pl,1);break;case ur.Z.UP:case ur.Z.DOWN:Gi=cl(Pl,Number("".concat(Qa===ur.Z.UP?"-":"").concat(Jl?be:He)));break}if(Gi)return!(Mr!=null&&Mr(Gi))}return!0},ml=function(Qa){if(ii.current&&ii.current.onKeyDown){var Gi=!0,cl=Qa.which;if([ur.Z.LEFT,ur.Z.RIGHT,ur.Z.UP,ur.Z.DOWN,ur.Z.PAGE_UP,ur.Z.PAGE_DOWN,ur.Z.ENTER].includes(cl)&&(Qa.preventDefault(),cl!==ur.Z.ENTER&&Vr===0&&(Gi=el(cl))),Gi)return ii.current.onKeyDown(Qa)}return(0,Me.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Io=function(Qa){ii.current&&ii.current.onBlur&&ii.current.onBlur(Qa)};La&&Za!=="right"&&(La.current={onKeyDown:ml,onClose:function(){ii.current&&ii.current.onClose&&ii.current.onClose()}}),ue.useEffect(function(){Wt&&!yi.current&&Ki(Wt)},[Wt]),ue.useEffect(function(){yi.current=!1},[]);var Ho,Ui=Vn({cellRender:ua,monthCellRender:Ba,dateRender:Kr}),Bi=(0,Sn.Z)((0,Sn.Z)({},Le),{},{cellRender:Ui,operationRef:ii,prefixCls:Ne,viewDate:Pl,value:vo,onViewDateChange:di,sourceMode:Nl,onPanelChange:Ro,disabledDate:Mr});switch(delete Bi.onChange,delete Bi.onSelect,bo){case"decade":Ho=ue.createElement(Eo,(0,ye.Z)({},Bi,{onSelect:function(Qa,Gi){di(Qa),Ji(Qa,Gi)}}));break;case"year":Ho=ue.createElement(Jr,(0,ye.Z)({},Bi,{onSelect:function(Qa,Gi){di(Qa),Ji(Qa,Gi)}}));break;case"month":Ho=ue.createElement(Ae,(0,ye.Z)({},Bi,{onSelect:function(Qa,Gi){di(Qa),Ji(Qa,Gi)}}));break;case"quarter":Ho=ue.createElement(cr,(0,ye.Z)({},Bi,{onSelect:function(Qa,Gi){di(Qa),Ji(Qa,Gi)}}));break;case"week":Ho=ue.createElement(Dn,(0,ye.Z)({},Bi,{onSelect:function(Qa,Gi){di(Qa),Ji(Qa,Gi)}}));break;case"time":delete Bi.showTime,Ho=ue.createElement(Ci,(0,ye.Z)({},Bi,(0,fn.Z)(ka)==="object"?ka:null,{onSelect:function(Qa,Gi){di(Qa),Ji(Qa,Gi)}}));break;default:ka?Ho=ue.createElement(dr,(0,ye.Z)({},Bi,{onSelect:function(Qa,Gi){di(Qa),Ji(Qa,Gi)}})):Ho=ue.createElement(ll,(0,ye.Z)({},Bi,{onSelect:function(Qa,Gi){di(Qa),Ji(Qa,Gi)}}))}var tl,jo,Bl=function(){var Qa=_t.getNow(),Gi=qr(_t.getHour(Qa),_t.getMinute(Qa),_t.getSecond(Qa),Ga?gr:1,la?Nr:1,ga?ea:1),cl=pa(_t,Qa,Gi[0],Gi[1],Gi[2]);Ji(cl,"submit")};ca||(tl=kt(Ne,bo,gt),ka&&bo!=="date"?jo=null:jo=Pt({prefixCls:Ne,components:ln,needConfirmButton:Na,okDisabled:!vo||Mr&&Mr(vo),locale:Jt,showNow:na,onNow:Na&&Bl,onOk:function(){vo&&(Ji(vo,"submit",!0),Gt&&Gt(vo))}}));var qi;if(_e&&bo==="date"&&sr==="date"&&!ka){var Ja=_t.getNow(),ki="".concat(Ne,"-today-btn"),Oi=Mr&&Mr(Ja);qi=ue.createElement("a",{className:Mt()(ki,Oi&&"".concat(ki,"-disabled")),"aria-disabled":Oi,onClick:function(){Oi||Ji(Ja,"mouse",!0)}},Jt.today)}return ue.createElement(Dt.Provider,{value:(0,Sn.Z)((0,Sn.Z)({},fa),{},{mode:bo,hideHeader:"hideHeader"in Le?Ht:fa.hideHeader,hidePrevBtn:Ya&&Za==="right",hideNextBtn:Ya&&Za==="left"})},ue.createElement("div",{tabIndex:Vr,className:Mt()("".concat(Ne,"-panel"),St,(qe={},(0,Cn.Z)(qe,"".concat(Ne,"-panel-has-range"),Ua&&Ua[0]&&Ua[1]),(0,Cn.Z)(qe,"".concat(Ne,"-panel-has-range-hover"),Oa&&Oa[0]&&Oa[1]),(0,Cn.Z)(qe,"".concat(Ne,"-panel-rtl"),jn==="rtl"),qe)),style:bt,onKeyDown:ml,onBlur:Io,onMouseDown:Fn},Ho,tl||jo||qi?ue.createElement("div",{className:"".concat(Ne,"-footer")},tl,jo,qi):null))}var xr=Bn,Zr=ee(62709),$t={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function cn(Le){var qe,it=Le.prefixCls,Ce=Le.popupElement,Ne=Le.popupStyle,St=Le.visible,bt=Le.dropdownClassName,Jt=Le.dropdownAlign,_t=Le.transitionName,Wt=Le.getPopupContainer,Wn=Le.children,xn=Le.range,Ln=Le.popupPlacement,Mr=Le.direction,pr="".concat(it,"-dropdown"),or=function(){return Ln!==void 0?Ln:Mr==="rtl"?"bottomRight":"bottomLeft"};return ue.createElement(Zr.Z,{showAction:[],hideAction:[],popupPlacement:or(),builtinPlacements:$t,prefixCls:pr,popupTransitionName:_t,popup:Ce,popupAlign:Jt,popupVisible:St,popupClassName:Mt()(bt,(qe={},(0,Cn.Z)(qe,"".concat(pr,"-range"),xn),(0,Cn.Z)(qe,"".concat(pr,"-rtl"),Mr==="rtl"),qe)),popupStyle:Ne,getPopupContainer:Wt},Wn)}var dn=cn;function Rn(Le){var qe=Le.prefixCls,it=Le.presets,Ce=Le.onClick,Ne=Le.onHover;return it.length?ue.createElement("div",{className:"".concat(qe,"-presets")},ue.createElement("ul",null,it.map(function(St,bt){var Jt=St.label,_t=St.value;return ue.createElement("li",{key:bt,onClick:function(){return Ce==null?void 0:Ce(ha(_t))},onMouseEnter:function(){return Ne==null?void 0:Ne(ha(_t))},onMouseLeave:function(){return Ne==null?void 0:Ne(null)}},Jt)}))):null}function yr(Le){var qe=Le.picker,it=Le.disabledHours,Ce=Le.disabledMinutes,Ne=Le.disabledSeconds;qe==="time"&&(it||Ce||Ne)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Tr(Le,qe,it){var Ce=(0,fn.Z)(qe)==="object"?qe.clearIcon:it;return Ce||ue.createElement("span",{className:"".concat(Le,"-clear-btn")})}function vr(Le){var qe,it=Le,Ce=it.prefixCls,Ne=Ce===void 0?"rc-picker":Ce,St=it.id,bt=it.name,Jt=it.tabIndex,_t=it.style,Wt=it.className,Wn=it.dropdownClassName,xn=it.dropdownAlign,Ln=it.popupStyle,Mr=it.transitionName,pr=it.generateConfig,or=it.locale,sr=it.inputReadOnly,Br=it.allowClear,Vr=it.autoFocus,na=it.showTime,ka=it.picker,_e=ka===void 0?"date":ka,gt=it.format,Ht=it.use12Hours,Ue=it.value,Ut=it.defaultValue,hn=it.presets,Fn=it.open,Lt=it.defaultOpen,Gt=it.defaultOpenValue,ln=it.suffixIcon,jn=it.clearIcon,er=it.disabled,gr=it.disabledDate,lr=it.placeholder,Nr=it.getPopupContainer,Wr=it.pickerRef,ea=it.panelRender,Kr=it.onChange,Ba=it.onOpenChange,ua=it.onFocus,Na=it.onBlur,Ga=it.onMouseDown,la=it.onMouseUp,ga=it.onMouseEnter,fa=it.onMouseLeave,La=it.onContextMenu,Aa=it.onClick,ca=it.onKeyDown,Xa=it.onSelect,ra=it.direction,Ya=it.autoComplete,Za=Ya===void 0?"off":Ya,Ua=it.inputRender,Oa=it.changeOnBlur,ii=ue.useRef(null),yi=_e==="date"&&!!na||_e==="time",Ko=At(hn),No=fr(Da(gt,_e,na,Ht)),vo=ue.useRef(null),ol=ue.useRef(null),Bo=ue.useRef(null),kl=(0,In.Z)(null,{value:Ue,defaultValue:Ut}),Pl=(0,tn.Z)(kl,2),Ki=Pl[0],di=Pl[1],go=ue.useState(Ki),zo=(0,tn.Z)(go,2),oo=zo[0],bo=zo[1],ro=ue.useRef(null),Wo=(0,In.Z)(!1,{value:Fn,defaultValue:Lt,postState:function(Yr){return er?!1:Yr},onChange:function(Yr){Ba&&Ba(Yr),!Yr&&ro.current&&ro.current.onClose&&ro.current.onClose()}}),ul=(0,tn.Z)(Wo,2),Nl=ul[0],Fl=ul[1],Ro=rn(oo,{formatList:No,generateConfig:pr,locale:or}),Ji=(0,tn.Z)(Ro,2),el=Ji[0],ml=Ji[1],Io=on({valueTexts:el,onTextChange:function(Yr){var ri=Dr(Yr,{locale:or,formatList:No,generateConfig:pr});ri&&(!gr||!gr(ri))&&bo(ri)}}),Ho=(0,tn.Z)(Io,3),Ui=Ho[0],Bi=Ho[1],tl=Ho[2],jo=function(Yr){bo(Yr),di(Yr),Kr&&!Vt(pr,Ki,Yr)&&Kr(Yr,Yr?Qt(Yr,{generateConfig:pr,locale:or,format:No[0]}):"")},Bl=function(Yr){er&&Yr||Fl(Yr)},qi=function(Yr){return Nl&&ro.current&&ro.current.onKeyDown?ro.current.onKeyDown(Yr):((0,Me.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ja=function(){for(var Yr=arguments.length,ri=new Array(Yr),qa=0;qa<Yr;qa++)ri[qa]=arguments[qa];Aa==null||Aa.apply(void 0,ri),ii.current&&(ii.current.focus(),Bl(!0))},ki=function(Yr){Oa&&jo(oo),Na==null||Na(Yr)},Oi=pn({blurToCancel:yi,open:Nl,value:Ui,triggerOpen:Bl,forwardKeyDown:qi,isClickOutside:function(Yr){return!sa([vo.current,ol.current,Bo.current],Yr)},onSubmit:function(){return!oo||gr&&gr(oo)?!1:(jo(oo),Bl(!1),tl(),!0)},onCancel:function(){Bl(!1),bo(Ki),tl()},onKeyDown:function(Yr,ri){ca==null||ca(Yr,ri)},onFocus:ua,onBlur:ki,changeOnBlur:Oa}),ba=(0,tn.Z)(Oi,2),Qa=ba[0],Gi=ba[1],cl=Gi.focused,Jl=Gi.typing;ue.useEffect(function(){Nl||(bo(Ki),!el.length||el[0]===""?Bi(""):ml!==Ui&&tl())},[Nl,el]),ue.useEffect(function(){Nl||tl()},[_e]),ue.useEffect(function(){bo(Ki)},[Ki]),Wr&&(Wr.current={focus:function(){var Yr;(Yr=ii.current)===null||Yr===void 0||Yr.focus()},blur:function(){var Yr;(Yr=ii.current)===null||Yr===void 0||Yr.blur()}});var ws=Ir(Ui,{formatList:No,generateConfig:pr,locale:or}),Te=(0,tn.Z)(ws,3),Ze=Te[0],Et=Te[1],Ot=Te[2],Yt=(0,Sn.Z)((0,Sn.Z)({},Le),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),An=ue.createElement("div",{className:"".concat(Ne,"-panel-layout")},ue.createElement(Rn,{prefixCls:Ne,presets:Ko,onClick:function(Yr){jo(Yr),Bl(!1)}}),ue.createElement(xr,(0,ye.Z)({},Yt,{generateConfig:pr,className:Mt()((0,Cn.Z)({},"".concat(Ne,"-panel-focused"),!Jl)),value:oo,locale:or,tabIndex:-1,onSelect:function(Yr){Xa==null||Xa(Yr),bo(Yr)},direction:ra,onPanelChange:function(Yr,ri){var qa=Le.onPanelChange;Ot(!0),qa==null||qa(Yr,ri)}})));ea&&(An=ea(An));var ar=ue.createElement("div",{className:"".concat(Ne,"-panel-container"),ref:vo,onMouseDown:function(Yr){Yr.preventDefault()}},An),wr;ln&&(wr=ue.createElement("span",{className:"".concat(Ne,"-suffix"),onMouseDown:function(Yr){Yr.preventDefault()}},ln));var Un=Tr(Ne,Br,jn),Gn=ue.createElement("span",{onMouseDown:function(Yr){Yr.preventDefault(),Yr.stopPropagation()},onMouseUp:function(Yr){Yr.preventDefault(),Yr.stopPropagation(),jo(null),Bl(!1)},className:"".concat(Ne,"-clear"),role:"button"},Un),Sr=!!Br&&Ki&&!er,Nn=(0,Sn.Z)((0,Sn.Z)((0,Sn.Z)({id:St,tabIndex:Jt,disabled:er,readOnly:sr||typeof No[0]=="function"||!Jl,value:Ze||Ui,onChange:function(Yr){Bi(Yr.target.value)},autoFocus:Vr,placeholder:lr,ref:ii,title:Ui},Qa),{},{size:Mi(_e,No[0],pr),name:bt},(0,br.Z)(Le,{aria:!0,data:!0})),{},{autoComplete:Za}),Ur=Ua?Ua(Nn):ue.createElement("input",Nn),xa=function(Yr,ri){(ri==="submit"||ri!=="key"&&!yi)&&(jo(Yr),Bl(!1))},wa=ra==="rtl"?"bottomRight":"bottomLeft";return ue.createElement(Dt.Provider,{value:{operationRef:ro,hideHeader:_e==="time",onSelect:xa,open:Nl,defaultOpenValue:Gt,onDateMouseEnter:Et,onDateMouseLeave:Ot}},ue.createElement(dn,{visible:Nl,popupElement:ar,popupStyle:Ln,prefixCls:Ne,dropdownClassName:Wn,dropdownAlign:xn,getPopupContainer:Nr,transitionName:Mr,popupPlacement:wa,direction:ra},ue.createElement("div",{ref:Bo,className:Mt()(Ne,Wt,(qe={},(0,Cn.Z)(qe,"".concat(Ne,"-disabled"),er),(0,Cn.Z)(qe,"".concat(Ne,"-focused"),cl),(0,Cn.Z)(qe,"".concat(Ne,"-rtl"),ra==="rtl"),qe)),style:_t,onMouseDown:Ga,onMouseUp:la,onMouseEnter:ga,onMouseLeave:fa,onContextMenu:La,onClick:Ja},ue.createElement("div",{className:Mt()("".concat(Ne,"-input"),(0,Cn.Z)({},"".concat(Ne,"-input-placeholder"),!!Ze)),ref:ol},Ur,wr,Sr&&Gn))))}var Pr=function(Le){(0,Kt.Z)(it,Le);var qe=(0,nn.Z)(it);function it(){var Ce;(0,vn.Z)(this,it);for(var Ne=arguments.length,St=new Array(Ne),bt=0;bt<Ne;bt++)St[bt]=arguments[bt];return Ce=qe.call.apply(qe,[this].concat(St)),(0,Cn.Z)((0,Nt.Z)(Ce),"pickerRef",ue.createRef()),(0,Cn.Z)((0,Nt.Z)(Ce),"focus",function(){Ce.pickerRef.current&&Ce.pickerRef.current.focus()}),(0,Cn.Z)((0,Nt.Z)(Ce),"blur",function(){Ce.pickerRef.current&&Ce.pickerRef.current.blur()}),Ce}return(0,qt.Z)(it,[{key:"render",value:function(){return ue.createElement(vr,(0,ye.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),it}(ue.Component),ia=Pr;function Va(Le,qe){var it=Le.picker,Ce=Le.locale,Ne=Le.selectedValue,St=Le.disabledDate,bt=Le.disabled,Jt=Le.generateConfig,_t=mn(Ne,0),Wt=mn(Ne,1);function Wn(or){return Jt.locale.getWeekFirstDate(Ce.locale,or)}function xn(or){var sr=Jt.getYear(or),Br=Jt.getMonth(or);return sr*100+Br}function Ln(or){var sr=Jt.getYear(or),Br=xt(Jt,or);return sr*10+Br}var Mr=ue.useCallback(function(or){if(bt[0]||St&&St(or))return!0;if(bt[1]&&Wt)return!Pn(Jt,or,Wt)&&Jt.isAfter(or,Wt);if(!qe&&Wt)switch(it){case"quarter":return Ln(or)>Ln(Wt);case"month":return xn(or)>xn(Wt);case"week":return Wn(or)>Wn(Wt);default:return!Pn(Jt,or,Wt)&&Jt.isAfter(or,Wt)}return!1},[St,bt[1],Wt,qe]),pr=ue.useCallback(function(or){if(bt[1]||St&&St(or))return!0;if(bt[0]&&_t)return!Pn(Jt,or,Wt)&&Jt.isAfter(_t,or);if(!qe&&_t)switch(it){case"quarter":return Ln(or)<Ln(_t);case"month":return xn(or)<xn(_t);case"week":return Wn(or)<Wn(_t);default:return!Pn(Jt,or,_t)&&Jt.isAfter(_t,or)}return!1},[St,bt[0],_t,qe]);return[Mr,pr]}var ma=ee(60276),Gr=ee(77527);function Ea(Le,qe,it,Ce,Ne,St,bt,Jt,_t,Wt){var Wn=ue.useState(!1),xn=(0,tn.Z)(Wn,2),Ln=xn[0],Mr=xn[1],pr=(0,ma.useMergedState)(Le||!1,{value:qe}),or=(0,tn.Z)(pr,2),sr=or[0],Br=or[1],Vr=(0,ma.useMergedState)(Le||!1,{value:qe,onChange:function(gr){Wt==null||Wt(gr)}}),na=(0,tn.Z)(Vr,2),ka=na[0],_e=na[1],gt=(0,ma.useMergedState)(0,{value:it}),Ht=(0,tn.Z)(gt,2),Ue=Ht[0],Ut=Ht[1],hn=ue.useState(null),Fn=(0,tn.Z)(hn,2),Lt=Fn[0],Gt=Fn[1];ue.useEffect(function(){ka&&Mr(!0)},[ka]);var ln=function(gr){return gr===0?1:0},jn=(0,Gr.Z)(function(er,gr,lr){if(gr===!1)_e(er);else if(er){Ut(gr),_e(er);var Nr=ln(gr);!ka||![bt,Jt][Nr]?Gt(Nr):(Mr(!1),Lt!==null&&Gt(null))}else if(lr==="confirm"||lr==="blur"&&Ce){var Wr=sr?ln(gr):Lt;Wr!==null&&(Mr(!1),Ut(Wr)),Gt(null),Wr!==null&&!_t[Wr]?(0,Rr.Z)(function(){var ea,Kr=[Ne,St][Wr];(ea=Kr.current)===null||ea===void 0||ea.focus()}):_e(!1)}else _e(!1),Br(!1)});return[ka,Ue,Ln,jn]}function ja(Le,qe,it,Ce){var Ne=On(Le,it,Ce,1);function St(bt){return bt(Le,qe)?"same":bt(Ne,qe)?"closing":"far"}switch(it){case"year":return St(function(bt,Jt){return se(Ce,bt,Jt)});case"quarter":case"month":return St(function(bt,Jt){return je(Ce,bt,Jt)});default:return St(function(bt,Jt){return un(Ce,bt,Jt)})}}function ai(Le,qe,it,Ce){var Ne=mn(Le,0),St=mn(Le,1);if(qe===0)return Ne;if(Ne&&St){var bt=ja(Ne,St,it,Ce);switch(bt){case"same":return Ne;case"closing":return Ne;default:return On(St,it,Ce,-1)}}return Ne}function Ra(Le){var qe=Le.values,it=Le.picker,Ce=Le.defaultDates,Ne=Le.generateConfig,St=ue.useState(function(){return[mn(Ce,0),mn(Ce,1)]}),bt=(0,tn.Z)(St,2),Jt=bt[0],_t=bt[1],Wt=ue.useState(null),Wn=(0,tn.Z)(Wt,2),xn=Wn[0],Ln=Wn[1],Mr=mn(qe,0),pr=mn(qe,1);function or(Br){return Jt[Br]?Jt[Br]:mn(xn,Br)||ai(qe,Br,it,Ne)||Mr||pr||Ne.getNow()}function sr(Br,Vr){if(Br){var na=Ta(xn,Br,Vr);_t(Ta(Jt,null,Vr)||[null,null]);var ka=(Vr+1)%2;mn(qe,ka)||(na=Ta(na,Br,ka)),Ln(na)}else(Mr||pr)&&Ln(null)}return[or,sr]}function da(Le,qe){return Le&&Le[0]&&Le[1]&&qe.isAfter(Le[0],Le[1])?[Le[1],Le[0]]:Le}function ci(Le,qe,it,Ce){return!!(Le||Ce&&Ce[qe]||it[(qe+1)%2])}function mi(Le){var qe,it,Ce,Ne=Le,St=Ne.prefixCls,bt=St===void 0?"rc-picker":St,Jt=Ne.id,_t=Ne.style,Wt=Ne.className,Wn=Ne.popupStyle,xn=Ne.dropdownClassName,Ln=Ne.transitionName,Mr=Ne.dropdownAlign,pr=Ne.getPopupContainer,or=Ne.generateConfig,sr=Ne.locale,Br=Ne.placeholder,Vr=Ne.autoFocus,na=Ne.disabled,ka=Ne.format,_e=Ne.picker,gt=_e===void 0?"date":_e,Ht=Ne.showTime,Ue=Ne.use12Hours,Ut=Ne.separator,hn=Ut===void 0?"~":Ut,Fn=Ne.value,Lt=Ne.defaultValue,Gt=Ne.defaultPickerValue,ln=Ne.open,jn=Ne.defaultOpen,er=Ne.disabledDate,gr=Ne.disabledTime,lr=Ne.dateRender,Nr=Ne.monthCellRender,Wr=Ne.cellRender,ea=Ne.panelRender,Kr=Ne.presets,Ba=Ne.ranges,ua=Ne.allowEmpty,Na=Ne.allowClear,Ga=Ne.suffixIcon,la=Ne.clearIcon,ga=Ne.pickerRef,fa=Ne.inputReadOnly,La=Ne.mode,Aa=Ne.renderExtraFooter,ca=Ne.onChange,Xa=Ne.onOpenChange,ra=Ne.onPanelChange,Ya=Ne.onCalendarChange,Za=Ne.onFocus,Ua=Ne.onBlur,Oa=Ne.onMouseDown,ii=Ne.onMouseUp,yi=Ne.onMouseEnter,Ko=Ne.onMouseLeave,No=Ne.onClick,vo=Ne.onOk,ol=Ne.onKeyDown,Bo=Ne.components,kl=Ne.order,Pl=Ne.direction,Ki=Ne.activePickerIndex,di=Ne.autoComplete,go=di===void 0?"off":di,zo=Ne.changeOnBlur,oo=gt==="date"&&!!Ht||gt==="time",bo=(0,ue.useRef)(null),ro=(0,ue.useRef)(null),Wo=(0,ue.useRef)(null),ul=(0,ue.useRef)(null),Nl=(0,ue.useRef)(null),Fl=(0,ue.useRef)(null),Ro=(0,ue.useRef)(null),Ji=(0,ue.useRef)(null),el=fr(Da(ka,gt,Ht,Ue)),ml=(0,ue.useRef)(null),Io=ue.useMemo(function(){return Array.isArray(na)?na:[na||!1,na||!1]},[na]),Ho=(0,In.Z)(null,{value:Fn,defaultValue:Lt,postState:function(yl){return gt==="time"&&!kl?yl:da(yl,or)}}),Ui=(0,tn.Z)(Ho,2),Bi=Ui[0],tl=Ui[1],jo=Ra({values:Bi,picker:gt,defaultDates:Gt,generateConfig:or}),Bl=(0,tn.Z)(jo,2),qi=Bl[0],Ja=Bl[1],ki=(0,In.Z)(Bi,{postState:function(yl){var Hl=yl;if(Io[0]&&Io[1])return Hl;for(var ys=0;ys<2;ys+=1)Io[ys]&&!Hl&&!mn(Hl,ys)&&!mn(ua,ys)&&(Hl=Ta(Hl,or.getNow(),ys));return Hl}}),Oi=(0,tn.Z)(ki,2),ba=Oi[0],Qa=Oi[1],Gi=(0,In.Z)([gt,gt],{value:La}),cl=(0,tn.Z)(Gi,2),Jl=cl[0],ws=cl[1];(0,ue.useEffect)(function(){ws([gt,gt])},[gt]);var Te=function(yl,Hl){ws(yl),ra&&ra(Hl,yl)},Ze=Ea(jn,ln,Ki,zo,Fl,Ro,mn(ba,0),mn(ba,1),Io,Xa),Et=(0,tn.Z)(Ze,4),Ot=Et[0],Yt=Et[1],An=Et[2],ar=Et[3],wr=Ot&&Yt===0,Un=Ot&&Yt===1,Gn=Va({picker:gt,selectedValue:ba,locale:sr,disabled:Io,disabledDate:er,generateConfig:or},!Ot||An),Sr=(0,tn.Z)(Gn,2),Nn=Sr[0],Ur=Sr[1],xa=(0,ue.useState)(0),wa=(0,tn.Z)(xa,2),Ka=wa[0],Yr=wa[1];(0,ue.useEffect)(function(){!Ot&&bo.current&&Yr(bo.current.offsetWidth)},[Ot]);function ri(Cs){ar(!0,Cs,"open"),(0,Rr.Z)(function(){var yl,Hl=[Fl,Ro][Cs];(yl=Hl.current)===null||yl===void 0||yl.focus()},0)}function qa(Cs,yl){var Hl=Cs,ys=mn(Hl,0),Rs=mn(Hl,1);ys&&Rs&&or.isAfter(ys,Rs)&&(gt==="week"&&!_n(or,sr.locale,ys,Rs)||gt==="quarter"&&!En(or,ys,Rs)||gt!=="week"&&gt!=="quarter"&&gt!=="time"&&!Pn(or,ys,Rs)?yl===0?(Hl=[ys,null],Rs=null):(ys=null,Hl=[null,Rs]):(gt!=="time"||kl!==!1)&&(Hl=da(Hl,or))),Qa(Hl);var pu=Hl&&Hl[0]?Qt(Hl[0],{generateConfig:or,locale:sr,format:el[0]}):"",wu=Hl&&Hl[1]?Qt(Hl[1],{generateConfig:or,locale:sr,format:el[0]}):"";if(Ya){var rc={range:yl===0?"start":"end"};Ya(Hl,[pu,wu],rc)}var ac=ci(ys,0,Io,ua),Xu=ci(Rs,1,Io,ua),fc=Hl===null||ac&&Xu;fc&&(tl(Hl),ca&&(!Vt(or,mn(Bi,0),ys)||!Vt(or,mn(Bi,1),Rs))&&ca(Hl,[pu,wu]))}var Ti=function(yl){return Ot&&ml.current&&ml.current.onKeyDown?ml.current.onKeyDown(yl):((0,Me.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},vi={formatList:el,generateConfig:or,locale:sr},hi=rn(mn(ba,0),vi),bi=(0,tn.Z)(hi,2),_i=bi[0],Fo=bi[1],Ii=rn(mn(ba,1),vi),Wa=(0,tn.Z)(Ii,2),Ha=Wa[0],ei=Wa[1],Li=function(yl,Hl){var ys=Dr(yl,{locale:sr,formatList:el,generateConfig:or}),Rs=Hl===0?Nn:Ur;ys&&!Rs(ys)&&(Qa(Ta(ba,ys,Hl)),Ja(ys,Hl))},ao=on({valueTexts:_i,onTextChange:function(yl){return Li(yl,0)}}),nl=(0,tn.Z)(ao,3),Po=nl[0],Oo=nl[1],Ml=nl[2],vl=on({valueTexts:Ha,onTextChange:function(yl){return Li(yl,1)}}),Kl=(0,tn.Z)(vl,3),Gl=Kl[0],Is=Kl[1],Ps=Kl[2],Yl=(0,ue.useState)(null),_s=(0,tn.Z)(Yl,2),ps=_s[0],gs=_s[1],Jo=(0,ue.useState)(null),Qi=(0,tn.Z)(Jo,2),Ni=Qi[0],So=Qi[1],Co=Ir(Po,{formatList:el,generateConfig:or,locale:sr}),Xi=(0,tn.Z)(Co,3),rs=Xi[0],$i=Xi[1],bl=Xi[2],cs=Ir(Gl,{formatList:el,generateConfig:or,locale:sr}),es=(0,tn.Z)(cs,3),au=es[0],nu=es[1],Au=es[2],li=function(yl){So(Ta(ba,yl,Yt)),Yt===0?$i(yl):nu(yl)},Hu=function(){So(Ta(ba,null,Yt)),Yt===0?bl():Au()},js=ue.useState(Ot),bu=(0,tn.Z)(js,2),Nu=bu[0],vs=bu[1];ue.useEffect(function(){vs(Ot)},[Ot]);var Ss=function(yl){if(zo&&Nu){var Hl=mn(ba,Yt);Hl&&qa(ba,Yt)}return Ua==null?void 0:Ua(yl)},Ls=function(yl,Hl){return{blurToCancel:!zo&&oo,forwardKeyDown:Ti,onBlur:Ss,isClickOutside:function(Rs){return!sa([ro.current,Wo.current,ul.current,bo.current],Rs)},onFocus:function(Rs){Za&&Za(Rs)},triggerOpen:function(Rs){Rs?ar(Rs,yl,"open"):ar(Rs,mn(ba,yl)?yl:!1,"blur")},onSubmit:function(){if(!ba||er&&er(ba[yl]))return!1;qa(ba,yl),Hl(),ar(!1,Yt,"confirm")},onCancel:function(){ar(!1,yl,"cancel"),Qa(Bi),Hl()}}},as={onKeyDown:function(yl,Hl){ol==null||ol(yl,Hl)},changeOnBlur:zo},su=pn((0,Sn.Z)((0,Sn.Z)({},Ls(0,Ml)),{},{open:wr,value:Po},as)),ds=(0,tn.Z)(su,2),ru=ds[0],uu=ds[1],cu=uu.focused,Iu=uu.typing,Us=pn((0,Sn.Z)((0,Sn.Z)({},Ls(1,Ps)),{},{open:Un,value:Gl},as)),Pu=(0,tn.Z)(Us,2),Gs=Pu[0],du=Pu[1],fu=du.focused,Ys=du.typing,Vs=function(yl){No&&No(yl),!Ot&&!Fl.current.contains(yl.target)&&!Ro.current.contains(yl.target)&&(Io[0]?Io[1]||ri(1):ri(0))},Hs=function(yl){Oa&&Oa(yl),Ot&&(cu||fu)&&!Fl.current.contains(yl.target)&&!Ro.current.contains(yl.target)&&yl.preventDefault()},Qu=Bi&&Bi[0]?Qt(Bi[0],{locale:sr,format:"YYYYMMDDHHmmss",generateConfig:or}):"",dc=Bi&&Bi[1]?Qt(Bi[1],{locale:sr,format:"YYYYMMDDHHmmss",generateConfig:or}):"";(0,ue.useEffect)(function(){Ot||(Qa(Bi),!_i.length||_i[0]===""?Oo(""):Fo!==Po&&Ml(),!Ha.length||Ha[0]===""?Is(""):ei!==Gl&&Ps())},[Ot,_i,Ha]),(0,ue.useEffect)(function(){Qa(Bi)},[Qu,dc]);var Ts=Vn({cellRender:Wr,monthCellRender:Nr,dateRender:lr}),xu=ue.useMemo(function(){if(Ts)return function(Cs,yl){return Ts(Cs,(0,Sn.Z)((0,Sn.Z)({},yl),{},{range:Yt?"end":"start"}))}},[Yt,Ts]);ga&&(ga.current={focus:function(){Fl.current&&Fl.current.focus()},blur:function(){Fl.current&&Fl.current.blur(),Ro.current&&Ro.current.blur()}});var Rc=At(Kr,Ba);function ec(){var Cs=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,yl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Hl=null;Ot&&Ni&&Ni[0]&&Ni[1]&&or.isAfter(Ni[1],Ni[0])&&(Hl=Ni);var ys=Ht;if(Ht&&(0,fn.Z)(Ht)==="object"&&Ht.defaultValue){var Rs=Ht.defaultValue;ys=(0,Sn.Z)((0,Sn.Z)({},Ht),{},{defaultValue:mn(Rs,Yt)||void 0})}return ue.createElement(Ma.Provider,{value:{inRange:!0,panelPosition:Cs,rangedValue:ps||ba,hoverRangedValue:Hl}},ue.createElement(xr,(0,ye.Z)({},Le,yl,{cellRender:xu,showTime:ys,mode:Jl[Yt],generateConfig:or,style:void 0,direction:Pl,disabledDate:Yt===0?Nn:Ur,disabledTime:function(wu){return gr?gr(wu,Yt===0?"start":"end"):!1},className:Mt()((0,Cn.Z)({},"".concat(bt,"-panel-focused"),Yt===0?!Iu:!Ys)),value:mn(ba,Yt),locale:sr,tabIndex:-1,onPanelChange:function(wu,rc){Yt===0&&bl(!0),Yt===1&&Au(!0),Te(Ta(Jl,rc,Yt),Ta(ba,wu,Yt));var ac=wu;Cs==="right"&&Jl[Yt]===rc&&(ac=On(ac,rc,or,-1)),Ja(ac,Yt)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Yt===0?mn(ba,1):mn(ba,0)})))}var os=0,dl=0;if(Yt&&Wo.current&&Nl.current&&ro.current&&Ji.current){os=Wo.current.offsetWidth+Nl.current.offsetWidth;var iu=Ji.current.offsetLeft>os?Ji.current.offsetLeft-os:Ji.current.offsetLeft,As=ro.current.offsetWidth,hu=Ji.current.offsetWidth;As&&hu&&os>As-hu-(Pl==="rtl"?0:iu)&&(dl=os)}var za=Pl==="rtl"?{right:os}:{left:os};function Ou(){var Cs,yl=kt(bt,Jl[Yt],Aa),Hl=Pt({prefixCls:bt,components:Bo,needConfirmButton:oo,okDisabled:!mn(ba,Yt)||er&&er(ba[Yt]),locale:sr,onOk:function(){var Ku=mn(ba,Yt);Ku&&(qa(ba,Yt),vo==null||vo(ba),ar(!1,Yt,"confirm"))}});if(gt!=="time"&&!Ht){var ys=qi(Yt),Rs=On(ys,gt,or),pu=Jl[Yt],wu=pu===gt,rc=ec(wu?"left":!1,{pickerValue:ys,onPickerValueChange:function(Ku){Ja(Ku,Yt)}}),ac=ec("right",{pickerValue:Rs,onPickerValueChange:function(Ku){Ja(On(Ku,gt,or,-1),Yt)}});Pl==="rtl"?Cs=ue.createElement(ue.Fragment,null,ac,wu&&rc):Cs=ue.createElement(ue.Fragment,null,rc,wu&&ac)}else Cs=ec();var Xu=ue.createElement("div",{className:"".concat(bt,"-panel-layout")},ue.createElement(Rn,{prefixCls:bt,presets:Rc,onClick:function(Ku){qa(Ku,null),ar(!1,Yt,"preset")},onHover:function(Ku){gs(Ku)}}),ue.createElement("div",null,ue.createElement("div",{className:"".concat(bt,"-panels")},Cs),(yl||Hl)&&ue.createElement("div",{className:"".concat(bt,"-footer")},yl,Hl)));return ea&&(Xu=ea(Xu)),ue.createElement("div",{className:"".concat(bt,"-panel-container"),style:{marginLeft:dl},ref:ro,onMouseDown:function(Ku){Ku.preventDefault()}},Xu)}var tc=ue.createElement("div",{className:Mt()("".concat(bt,"-range-wrapper"),"".concat(bt,"-").concat(gt,"-range-wrapper")),style:{minWidth:Ka}},ue.createElement("div",{ref:Ji,className:"".concat(bt,"-range-arrow"),style:za}),Ou()),kc;Ga&&(kc=ue.createElement("span",{className:"".concat(bt,"-suffix"),onMouseDown:function(yl){yl.preventDefault()}},Ga));var Jc=Tr(bt,Na,la),nc=ue.createElement("span",{onMouseDown:function(yl){yl.preventDefault(),yl.stopPropagation()},onMouseUp:function(yl){yl.preventDefault(),yl.stopPropagation();var Hl=Bi;Io[0]||(Hl=Ta(Hl,null,0)),Io[1]||(Hl=Ta(Hl,null,1)),qa(Hl,null),ar(!1,Yt,"clear")},className:"".concat(bt,"-clear"),role:"button"},Jc),Nc=Na&&(mn(Bi,0)&&!Io[0]||mn(Bi,1)&&!Io[1]),qc={size:Mi(gt,el[0],or)},ou=0,Fu=0;Wo.current&&ul.current&&Nl.current&&(Yt===0?Fu=Wo.current.offsetWidth:(ou=os,Fu=ul.current.offsetWidth));var Ic=Pl==="rtl"?{right:ou}:{left:ou},Fc=function(yl,Hl){var ys=Ta(ba,yl,Yt);if(Hl==="submit"||Hl!=="key"&&!oo){qa(ys,Yt),Yt===0?bl():Au();var Rs=Yt===0?1:0;Io[Rs]?ar(!1,!1,"confirm"):ar(!1,Yt,"confirm")}else Qa(ys)};return ue.createElement(Dt.Provider,{value:{operationRef:ml,hideHeader:gt==="time",onDateMouseEnter:li,onDateMouseLeave:Hu,hideRanges:!0,onSelect:Fc,open:Ot}},ue.createElement(dn,{visible:Ot,popupElement:tc,popupStyle:Wn,prefixCls:bt,dropdownClassName:xn,dropdownAlign:Mr,getPopupContainer:pr,transitionName:Ln,range:!0,direction:Pl},ue.createElement("div",(0,ye.Z)({ref:bo,className:Mt()(bt,"".concat(bt,"-range"),Wt,(qe={},(0,Cn.Z)(qe,"".concat(bt,"-disabled"),Io[0]&&Io[1]),(0,Cn.Z)(qe,"".concat(bt,"-focused"),Yt===0?cu:fu),(0,Cn.Z)(qe,"".concat(bt,"-rtl"),Pl==="rtl"),qe)),style:_t,onClick:Vs,onMouseEnter:yi,onMouseLeave:Ko,onMouseDown:Hs,onMouseUp:ii},(0,br.Z)(Le,{aria:!0,data:!0})),ue.createElement("div",{className:Mt()("".concat(bt,"-input"),(it={},(0,Cn.Z)(it,"".concat(bt,"-input-active"),Yt===0),(0,Cn.Z)(it,"".concat(bt,"-input-placeholder"),!!rs),it)),ref:Wo},ue.createElement("input",(0,ye.Z)({id:Jt,disabled:Io[0],readOnly:fa||typeof el[0]=="function"||!Iu,value:rs||Po,onChange:function(yl){Oo(yl.target.value)},autoFocus:Vr,placeholder:mn(Br,0)||"",ref:Fl},ru,qc,{autoComplete:go}))),ue.createElement("div",{className:"".concat(bt,"-range-separator"),ref:Nl},hn),ue.createElement("div",{className:Mt()("".concat(bt,"-input"),(Ce={},(0,Cn.Z)(Ce,"".concat(bt,"-input-active"),Yt===1),(0,Cn.Z)(Ce,"".concat(bt,"-input-placeholder"),!!au),Ce)),ref:ul},ue.createElement("input",(0,ye.Z)({disabled:Io[1],readOnly:fa||typeof el[0]=="function"||!Ys,value:au||Gl,onChange:function(yl){Is(yl.target.value)},placeholder:mn(Br,1)||"",ref:Ro},Gs,qc,{autoComplete:go}))),ue.createElement("div",{className:"".concat(bt,"-active-bar"),style:(0,Sn.Z)((0,Sn.Z)({},Ic),{},{width:Fu,position:"absolute"})}),kc,Nc&&nc)))}var io=function(Le){(0,Kt.Z)(it,Le);var qe=(0,nn.Z)(it);function it(){var Ce;(0,vn.Z)(this,it);for(var Ne=arguments.length,St=new Array(Ne),bt=0;bt<Ne;bt++)St[bt]=arguments[bt];return Ce=qe.call.apply(qe,[this].concat(St)),(0,Cn.Z)((0,Nt.Z)(Ce),"pickerRef",ue.createRef()),(0,Cn.Z)((0,Nt.Z)(Ce),"focus",function(){Ce.pickerRef.current&&Ce.pickerRef.current.focus()}),(0,Cn.Z)((0,Nt.Z)(Ce),"blur",function(){Ce.pickerRef.current&&Ce.pickerRef.current.blur()}),Ce}return(0,qt.Z)(it,[{key:"render",value:function(){return ue.createElement(mi,(0,ye.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),it}(ue.Component),po=io,Ao=ia,uo=ee(9708),ho=ee(53124),ji=ee(98866),wo=ee(98675),Zi=ee(65223),gi=ee(10110),mo=ee(4173),_o=ee(16516),Wi=ee(84780),al=ee(47673),fl=ee(14747),hl=ee(79511),qo=ee(80110),Mo=ee(67771),Wl=ee(33297),Vo=ee(45503),yo=ee(67968);const sl=(Le,qe,it,Ce)=>{const{lineHeight:Ne}=Le,St=Math.floor(it*Ne)+2,bt=Math.max((qe-St)/2,0),Jt=Math.max(qe-St-bt,0);return{padding:`${bt}px ${Ce}px ${Jt}px`}},Vl=Le=>{const{componentCls:qe,pickerCellCls:it,pickerCellInnerCls:Ce,cellHeight:Ne,motionDurationSlow:St,borderRadiusSM:bt,motionDurationMid:Jt,cellHoverBg:_t,lineWidth:Wt,lineType:Wn,colorPrimary:xn,cellActiveWithRangeBg:Ln,colorTextLightSolid:Mr,controlHeightSM:pr,cellRangeBorderColor:or,pickerCellBorderGap:sr,cellHoverWithRangeBg:Br,cellWidth:Vr,colorTextDisabled:na,cellBgDisabled:ka}=Le;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ne,transform:"translateY(-50%)",transition:`all ${St}`,content:'""'},[Ce]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ne,height:Ne,lineHeight:`${Ne}px`,borderRadius:bt,transition:`background ${Jt}, border ${Jt}`},"&-range-hover-start, &-range-hover-end":{[Ce]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${it}-in-view),
&:hover:not(${it}-selected):not(${it}-range-start):not(${it}-range-end):not(${it}-range-hover-start):not(${it}-range-hover-end)`]:{[Ce]:{background:_t}},[`&-in-view${it}-today ${Ce}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Wt}px ${Wn} ${xn}`,borderRadius:bt,content:'""'}},[`&-in-view${it}-in-range`]:{position:"relative","&::before":{background:Ln}},[`&-in-view${it}-selected ${Ce},
&-in-view${it}-range-start ${Ce},
&-in-view${it}-range-end ${Ce}`]:{color:Mr,background:xn},[`&-in-view${it}-range-start:not(${it}-range-start-single),
&-in-view${it}-range-end:not(${it}-range-end-single)`]:{"&::before":{background:Ln}},[`&-in-view${it}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${it}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${it}-range-hover-start:not(${it}-in-range):not(${it}-range-start):not(${it}-range-end),
&-in-view${it}-range-hover-end:not(${it}-in-range):not(${it}-range-start):not(${it}-range-end),
&-in-view${it}-range-hover-start${it}-range-start-single,
&-in-view${it}-range-hover-start${it}-range-start${it}-range-end${it}-range-end-near-hover,
&-in-view${it}-range-hover-end${it}-range-start${it}-range-end${it}-range-start-near-hover,
&-in-view${it}-range-hover-end${it}-range-end-single,
&-in-view${it}-range-hover:not(${it}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:pr,borderTop:`${Wt}px dashed ${or}`,borderBottom:`${Wt}px dashed ${or}`,transform:"translateY(-50%)",transition:`all ${St}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:sr},[`&-in-view${it}-in-range${it}-range-hover::before,
&-in-view${it}-in-range${it}-range-hover-start::before,
&-in-view${it}-in-range${it}-range-hover-end::before,
&-in-view${it}-range-start${it}-range-hover::before,
&-in-view${it}-range-end${it}-range-hover::before,
&-in-view${it}-range-start:not(${it}-range-start-single)${it}-range-hover-start::before,
&-in-view${it}-range-end:not(${it}-range-end-single)${it}-range-hover-end::before,
${qe}-panel
> :not(${qe}-date-panel)
&-in-view${it}-in-range${it}-range-hover-start::before,
${qe}-panel
> :not(${qe}-date-panel)
&-in-view${it}-in-range${it}-range-hover-end::before`]:{background:Br},[`&-in-view${it}-range-start:not(${it}-range-start-single):not(${it}-range-end) ${Ce}`]:{borderStartStartRadius:bt,borderEndStartRadius:bt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${it}-range-end:not(${it}-range-end-single):not(${it}-range-start) ${Ce}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:bt,borderEndEndRadius:bt},[`&-range-hover${it}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${it}-range-hover:first-child::after,
tr > &-in-view${it}-range-hover-end:first-child::after,
&-in-view${it}-start${it}-range-hover-edge-start${it}-range-hover-edge-start-near-range::after,
&-in-view${it}-range-hover-edge-start:not(${it}-range-hover-edge-start-near-range)::after,
&-in-view${it}-range-hover-start::after`]:{insetInlineStart:(Vr-Ne)/2,borderInlineStart:`${Wt}px dashed ${or}`,borderStartStartRadius:bt,borderEndStartRadius:bt},[`tr > &-in-view${it}-range-hover:last-child::after,
tr > &-in-view${it}-range-hover-start:last-child::after,
&-in-view${it}-end${it}-range-hover-edge-end${it}-range-hover-edge-end-near-range::after,
&-in-view${it}-range-hover-edge-end:not(${it}-range-hover-edge-end-near-range)::after,
&-in-view${it}-range-hover-end::after`]:{insetInlineEnd:(Vr-Ne)/2,borderInlineEnd:`${Wt}px dashed ${or}`,borderStartEndRadius:bt,borderEndEndRadius:bt},"&-disabled":{color:na,pointerEvents:"none",[Ce]:{background:"transparent"},"&::before":{background:ka}},[`&-disabled${it}-today ${Ce}::before`]:{borderColor:na}}},pl=Le=>{const{componentCls:qe,pickerCellCls:it,pickerCellInnerCls:Ce,pickerYearMonthCellWidth:Ne,pickerControlIconSize:St,cellWidth:bt,paddingSM:Jt,paddingXS:_t,paddingXXS:Wt,colorBgContainer:Wn,lineWidth:xn,lineType:Ln,borderRadiusLG:Mr,colorPrimary:pr,colorTextHeading:or,colorSplit:sr,pickerControlIconBorderWidth:Br,colorIcon:Vr,textHeight:na,motionDurationMid:ka,colorIconHover:_e,fontWeightStrong:gt,cellHeight:Ht,pickerCellPaddingVertical:Ue,colorTextDisabled:Ut,colorText:hn,fontSize:Fn,cellHoverWithRangeBg:Lt,motionDurationSlow:Gt,withoutTimeCellHeight:ln,pickerQuarterPanelContentHeight:jn,colorLink:er,colorLinkActive:gr,colorLinkHover:lr,cellRangeBorderColor:Nr,borderRadiusSM:Wr,colorTextLightSolid:ea,cellHoverBg:Kr,timeColumnHeight:Ba,timeColumnWidth:ua,timeCellHeight:Na,controlItemBgActive:Ga,marginXXS:la,pickerDatePanelPaddingHorizontal:ga}=Le,fa=bt*7+ga*2,La=(fa-_t*2)/3-Ne-Jt,Aa=(fa-_t*2)/4-Ne;return{[qe]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Wn,border:`${xn}px ${Ln} ${sr}`,borderRadius:Mr,outline:"none","&-focused":{borderColor:pr},"&-rtl":{direction:"rtl",[`${qe}-prev-icon,
${qe}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${qe}-next-icon,
${qe}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:fa},"&-header":{display:"flex",padding:`0 ${_t}px`,color:or,borderBottom:`${xn}px ${Ln} ${sr}`,"> *":{flex:"none"},button:{padding:0,color:Vr,lineHeight:`${na}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${ka}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Fn,"&:hover":{color:_e}},"&-view":{flex:"auto",fontWeight:gt,lineHeight:`${na}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:_t},"&:hover":{color:pr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:St,height:St,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:St,height:St,border:"0 solid currentcolor",borderBlockStartWidth:Br,borderBlockEndWidth:0,borderInlineStartWidth:Br,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(St/2),insetInlineStart:Math.ceil(St/2),display:"inline-block",width:St,height:St,border:"0 solid currentcolor",borderBlockStartWidth:Br,borderBlockEndWidth:0,borderInlineStartWidth:Br,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Ht,fontWeight:"normal"},th:{height:Ht+Ue*2,color:hn,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Ue}px 0`,color:Ut,cursor:"pointer","&-in-view":{color:hn}},Vl(Le)),[`&-date-panel ${qe}-cell-in-view${qe}-cell-in-range${qe}-cell-range-hover-start ${Ce},
&-date-panel ${qe}-cell-in-view${qe}-cell-in-range${qe}-cell-range-hover-end ${Ce}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Lt,transition:`all ${Gt}`,content:'""'}},[`&-date-panel
${qe}-cell-in-view${qe}-cell-in-range${qe}-cell-range-hover-start
${Ce}::after`]:{insetInlineEnd:-(bt-Ht)/2,insetInlineStart:0},[`&-date-panel ${qe}-cell-in-view${qe}-cell-in-range${qe}-cell-range-hover-end ${Ce}::after`]:{insetInlineEnd:0,insetInlineStart:-(bt-Ht)/2},[`&-range-hover${qe}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${qe}-content`]:{height:ln*4},[Ce]:{padding:`0 ${_t}px`}},"&-quarter-panel":{[`${qe}-content`]:{height:jn},[`${qe}-cell-range-hover-start::after`]:{insetInlineStart:Aa,borderInlineStart:`${xn}px dashed ${Nr}`,[`${qe}-panel-rtl &`]:{insetInlineEnd:Aa,borderInlineEnd:`${xn}px dashed ${Nr}`}},[`${qe}-cell-range-hover-end::after`]:{insetInlineEnd:Aa,borderInlineEnd:`${xn}px dashed ${Nr}`,[`${qe}-panel-rtl &`]:{insetInlineStart:Aa,borderInlineStart:`${xn}px dashed ${Nr}`}}},[`&-panel ${qe}-footer`]:{borderTop:`${xn}px ${Ln} ${sr}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${na-2*xn}px`,textAlign:"center","&-extra":{padding:`0 ${Jt}px`,lineHeight:`${na-2*xn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${xn}px ${Ln} ${sr}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:er,"&:hover":{color:lr},"&:active":{color:gr},[`&${qe}-today-btn-disabled`]:{color:Ut,cursor:"not-allowed"}},"&-decade-panel":{[Ce]:{padding:`0 ${_t/2}px`},[`${qe}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${qe}-body`]:{padding:`0 ${_t}px`},[Ce]:{width:Ne},[`${qe}-cell-range-hover-start::after`]:{borderStartStartRadius:Wr,borderEndStartRadius:Wr,borderStartEndRadius:0,borderEndEndRadius:0,[`${qe}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Wr,borderEndEndRadius:Wr}},[`${qe}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Wr,borderEndEndRadius:Wr,[`${qe}-panel-rtl &`]:{borderStartStartRadius:Wr,borderEndStartRadius:Wr,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${qe}-cell-range-hover-start::after`]:{insetInlineStart:La,borderInlineStart:`${xn}px dashed ${Nr}`,[`${qe}-panel-rtl &`]:{insetInlineEnd:La,borderInlineEnd:`${xn}px dashed ${Nr}`}},[`${qe}-cell-range-hover-end::after`]:{insetInlineEnd:La,borderInlineEnd:`${xn}px dashed ${Nr}`,[`${qe}-panel-rtl &`]:{insetInlineStart:La,borderInlineStart:`${xn}px dashed ${Nr}`}}},"&-week-panel":{[`${qe}-body`]:{padding:`${_t}px ${Jt}px`},[`${qe}-cell`]:{[`&:hover ${Ce},
&-selected ${Ce},
${Ce}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${ka}`},"&:first-child:before":{borderStartStartRadius:Wr,borderEndStartRadius:Wr},"&:last-child:before":{borderStartEndRadius:Wr,borderEndEndRadius:Wr}},"&:hover td":{"&:before":{background:Kr}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${it}`]:{"&:before":{background:pr},[`&${qe}-cell-week`]:{color:new Wi.C(ea).setAlpha(.5).toHexString()},[Ce]:{color:ea}}},"&-range-hover td:before":{background:Ga}}},"&-date-panel":{[`${qe}-body`]:{padding:`${_t}px ${ga}px`},[`${qe}-content`]:{width:bt*7,th:{width:bt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${qe}-time-panel`]:{borderInlineStart:`${xn}px ${Ln} ${sr}`},[`${qe}-date-panel,
${qe}-time-panel`]:{transition:`opacity ${Gt}`},"&-active":{[`${qe}-date-panel,
${qe}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${qe}-content`]:{display:"flex",flex:"auto",height:Ba},"&-column":{flex:"1 0 auto",width:ua,margin:`${Wt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${ka}`,overflowX:"hidden","&::after":{display:"block",height:Ba-Na,content:'""'},"&:not(:first-child)":{borderInlineStart:`${xn}px ${Ln} ${sr}`},"&-active":{background:new Wi.C(Ga).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${qe}-time-panel-cell`]:{marginInline:la,[`${qe}-time-panel-cell-inner`]:{display:"block",width:ua-2*la,height:Na,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ua-Na)/2,color:hn,lineHeight:`${Na}px`,borderRadius:Wr,cursor:"pointer",transition:`background ${ka}`,"&:hover":{background:Kr}},"&-selected":{[`${qe}-time-panel-cell-inner`]:{background:Ga}},"&-disabled":{[`${qe}-time-panel-cell-inner`]:{color:Ut,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${qe}-time-panel-column:after`]:{height:Ba-Na+Wt*2}}}},Dl=Le=>{const{componentCls:qe,colorBgContainer:it,colorError:Ce,errorActiveShadow:Ne,colorWarning:St,warningActiveShadow:bt}=Le;return{[`${qe}:not(${qe}-disabled)`]:{[`&${qe}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:it,borderColor:Ce},[`&${qe}-focused, &:focus`]:Object.assign({},(0,al.M1)((0,Vo.TS)(Le,{activeBorderColor:Ce,activeShadow:Ne}))),[`${qe}-active-bar`]:{background:Ce}},[`&${qe}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:it,borderColor:St},[`&${qe}-focused, &:focus`]:Object.assign({},(0,al.M1)((0,Vo.TS)(Le,{activeBorderColor:St,activeShadow:bt}))),[`${qe}-active-bar`]:{background:St}}}}},Lo=Le=>{const{componentCls:qe,antCls:it,controlHeight:Ce,fontSize:Ne,paddingInline:St,colorBgContainer:bt,lineWidth:Jt,lineType:_t,colorBorder:Wt,borderRadius:Wn,motionDurationMid:xn,colorBgContainerDisabled:Ln,colorTextDisabled:Mr,colorTextPlaceholder:pr,controlHeightLG:or,fontSizeLG:sr,controlHeightSM:Br,paddingInlineSM:Vr,paddingXS:na,marginXS:ka,colorTextDescription:_e,lineWidthBold:gt,lineHeight:Ht,colorPrimary:Ue,motionDurationSlow:Ut,zIndexPopup:hn,paddingXXS:Fn,paddingSM:Lt,textHeight:Gt,cellActiveWithRangeBg:ln,colorPrimaryBorder:jn,sizePopupArrow:er,borderRadiusXS:gr,borderRadiusOuter:lr,colorBgElevated:Nr,borderRadiusLG:Wr,boxShadowSecondary:ea,borderRadiusSM:Kr,colorSplit:Ba,cellHoverBg:ua,presetsWidth:Na,presetsMaxWidth:Ga,boxShadowPopoverArrow:la,colorTextQuaternary:ga}=Le;return[{[qe]:Object.assign(Object.assign(Object.assign({},(0,fl.Wf)(Le)),sl(Le,Ce,Ne,St)),{position:"relative",display:"inline-flex",alignItems:"center",background:bt,lineHeight:1,border:`${Jt}px ${_t} ${Wt}`,borderRadius:Wn,transition:`border ${xn}, box-shadow ${xn}`,"&:hover, &-focused":Object.assign({},(0,al.pU)(Le)),"&-focused":Object.assign({},(0,al.M1)(Le)),[`&${qe}-disabled`]:{background:Ln,borderColor:Wt,cursor:"not-allowed",[`${qe}-suffix`]:{color:ga}},[`&${qe}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${qe}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,al.ik)(Le)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${qe}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:pr}}},"&-large":Object.assign(Object.assign({},sl(Le,or,sr,St)),{[`${qe}-input > input`]:{fontSize:sr}}),"&-small":Object.assign({},sl(Le,Br,Ne,Vr)),[`${qe}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:na/2,color:Mr,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:ka}}},[`${qe}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Mr,lineHeight:1,background:bt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${xn}, color ${xn}`,"> *":{verticalAlign:"top"},"&:hover":{color:_e}},[`${qe}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:sr,color:Mr,fontSize:sr,verticalAlign:"top",cursor:"default",[`${qe}-focused &`]:{color:_e},[`${qe}-range-separator &`]:{[`${qe}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${qe}-clear`]:{insetInlineEnd:St},"&:hover":{[`${qe}-clear`]:{opacity:1}},[`${qe}-active-bar`]:{bottom:-Jt,height:gt,marginInlineStart:St,background:Ue,opacity:0,transition:`all ${Ut} ease-out`,pointerEvents:"none"},[`&${qe}-focused`]:{[`${qe}-active-bar`]:{opacity:1}},[`${qe}-range-separator`]:{alignItems:"center",padding:`0 ${na}px`,lineHeight:1},[`&${qe}-small`]:{[`${qe}-clear`]:{insetInlineEnd:Vr},[`${qe}-active-bar`]:{marginInlineStart:Vr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,fl.Wf)(Le)),pl(Le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:hn,[`&${qe}-dropdown-hidden`]:{display:"none"},[`&${qe}-dropdown-placement-bottomLeft`]:{[`${qe}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${qe}-dropdown-placement-topLeft`]:{[`${qe}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${it}-slide-up-enter${it}-slide-up-enter-active${qe}-dropdown-placement-topLeft,
&${it}-slide-up-enter${it}-slide-up-enter-active${qe}-dropdown-placement-topRight,
&${it}-slide-up-appear${it}-slide-up-appear-active${qe}-dropdown-placement-topLeft,
&${it}-slide-up-appear${it}-slide-up-appear-active${qe}-dropdown-placement-topRight`]:{animationName:Mo.Qt},[`&${it}-slide-up-enter${it}-slide-up-enter-active${qe}-dropdown-placement-bottomLeft,
&${it}-slide-up-enter${it}-slide-up-enter-active${qe}-dropdown-placement-bottomRight,
&${it}-slide-up-appear${it}-slide-up-appear-active${qe}-dropdown-placement-bottomLeft,
&${it}-slide-up-appear${it}-slide-up-appear-active${qe}-dropdown-placement-bottomRight`]:{animationName:Mo.fJ},[`&${it}-slide-up-leave${it}-slide-up-leave-active${qe}-dropdown-placement-topLeft,
&${it}-slide-up-leave${it}-slide-up-leave-active${qe}-dropdown-placement-topRight`]:{animationName:Mo.ly},[`&${it}-slide-up-leave${it}-slide-up-leave-active${qe}-dropdown-placement-bottomLeft,
&${it}-slide-up-leave${it}-slide-up-leave-active${qe}-dropdown-placement-bottomRight`]:{animationName:Mo.Uw},[`${qe}-panel > ${qe}-time-panel`]:{paddingTop:Fn},[`${qe}-ranges`]:{marginBottom:0,padding:`${Fn}px ${Lt}px`,overflow:"hidden",lineHeight:`${Gt-2*Jt-na/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${qe}-preset > ${it}-tag-blue`]:{color:Ue,background:ln,borderColor:jn,cursor:"pointer"},[`${qe}-ok`]:{marginInlineStart:"auto"}},[`${qe}-range-wrapper`]:{display:"flex",position:"relative"},[`${qe}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:St*1.5,transition:`left ${Ut} ease-out`},(0,hl.r)(er,gr,lr,Nr,la)),[`${qe}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Nr,borderRadius:Wr,boxShadow:ea,transition:`margin ${Ut}`,[`${qe}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${qe}-presets`]:{display:"flex",flexDirection:"column",minWidth:Na,maxWidth:Ga,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:na,borderInlineEnd:`${Jt}px ${_t} ${Ba}`,li:Object.assign(Object.assign({},fl.vS),{borderRadius:Kr,paddingInline:na,paddingBlock:(Br-Math.round(Ne*Ht))/2,cursor:"pointer",transition:`all ${Ut}`,"+ li":{marginTop:ka},"&:hover":{background:ua}})}},[`${qe}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${qe}-panel`]:{borderWidth:`0 0 ${Jt}px`},"&:last-child":{[`${qe}-panel`]:{borderWidth:0}}},[`${qe}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${qe}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:Wt}}}}),"&-dropdown-range":{padding:`${er*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${qe}-separator`]:{transform:"rotate(180deg)"},[`${qe}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Mo.oN)(Le,"slide-up"),(0,Mo.oN)(Le,"slide-down"),(0,Wl.Fm)(Le,"move-up"),(0,Wl.Fm)(Le,"move-down")]},jl=Le=>{const{componentCls:qe,controlHeightLG:it,paddingXXS:Ce,padding:Ne}=Le;return{pickerCellCls:`${qe}-cell`,pickerCellInnerCls:`${qe}-cell-inner`,pickerYearMonthCellWidth:it*1.5,pickerQuarterPanelContentHeight:it*1.4,pickerCellPaddingVertical:Ce+Ce/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Ne+Ce/2}},ls=Le=>({cellHoverBg:Le.controlItemBgHover,cellActiveWithRangeBg:Le.controlItemBgActive,cellHoverWithRangeBg:new Wi.C(Le.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Wi.C(Le.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Le.colorBgContainerDisabled,timeColumnWidth:Le.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Le.controlHeightSM*1.5,cellHeight:Le.controlHeightSM,textHeight:Le.controlHeightLG,withoutTimeCellHeight:Le.controlHeightLG*1.65});var Ql=(0,yo.Z)("DatePicker",Le=>{const qe=(0,Vo.TS)((0,al.e5)(Le),jl(Le));return[Lo(qe),Dl(qe),(0,qo.c)(Le,{focusElCls:`${Le.componentCls}-focused`})]},Le=>Object.assign(Object.assign(Object.assign({},(0,al.TM)(Le)),ls(Le)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:Le.zIndexPopupBase+50}));function Al(Le,qe,it){return it!==void 0?it:qe==="year"&&Le.lang.yearPlaceholder?Le.lang.yearPlaceholder:qe==="quarter"&&Le.lang.quarterPlaceholder?Le.lang.quarterPlaceholder:qe==="month"&&Le.lang.monthPlaceholder?Le.lang.monthPlaceholder:qe==="week"&&Le.lang.weekPlaceholder?Le.lang.weekPlaceholder:qe==="time"&&Le.timePickerLocale.placeholder?Le.timePickerLocale.placeholder:Le.lang.placeholder}function Tl(Le,qe,it){return it!==void 0?it:qe==="year"&&Le.lang.yearPlaceholder?Le.lang.rangeYearPlaceholder:qe==="quarter"&&Le.lang.quarterPlaceholder?Le.lang.rangeQuarterPlaceholder:qe==="month"&&Le.lang.monthPlaceholder?Le.lang.rangeMonthPlaceholder:qe==="week"&&Le.lang.weekPlaceholder?Le.lang.rangeWeekPlaceholder:qe==="time"&&Le.timePickerLocale.placeholder?Le.timePickerLocale.rangePlaceholder:Le.lang.rangePlaceholder}function $l(Le,qe){const it={adjustX:1,adjustY:1};switch(qe){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:it};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:it};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:it};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:it};default:return{points:Le==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:it}}}function Rl(Le){return Le?Array.isArray(Le)?Le:[Le]:[]}function Il(Le){const{format:qe,picker:it,showHour:Ce,showMinute:Ne,showSecond:St,use12Hours:bt}=Le,Jt=Rl(qe)[0],_t=Object.assign({},Le);return qe&&Array.isArray(qe)&&(_t.format=Jt),Jt&&typeof Jt=="string"&&(!Jt.includes("s")&&St===void 0&&(_t.showSecond=!1),!Jt.includes("m")&&Ne===void 0&&(_t.showMinute=!1),!Jt.includes("H")&&!Jt.includes("h")&&!Jt.includes("K")&&!Jt.includes("k")&&Ce===void 0&&(_t.showHour=!1),(Jt.includes("a")||Jt.includes("A"))&&bt===void 0&&(_t.use12Hours=!0)),it==="time"?_t:(typeof Jt=="function"&&delete _t.format,{showTime:_t})}function ss(Le,qe,it){if(Le===!1)return!1;const Ce={clearIcon:qe!=null?qe:it};return typeof Le=="object"?Object.assign(Object.assign({},Ce),Le):Ce}var us=ee(71577);function ms(Le){return ue.createElement(us.ZP,Object.assign({size:"small",type:"primary"},Le))}var ns={button:ms},Go=function(Le,qe){var it={};for(var Ce in Le)Object.prototype.hasOwnProperty.call(Le,Ce)&&qe.indexOf(Ce)<0&&(it[Ce]=Le[Ce]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ce=Object.getOwnPropertySymbols(Le);Ne<Ce.length;Ne++)qe.indexOf(Ce[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ce[Ne])&&(it[Ce[Ne]]=Le[Ce[Ne]]);return it};function il(Le){return(0,ue.forwardRef)((it,Ce)=>{const{prefixCls:Ne,getPopupContainer:St,className:bt,placement:Jt,size:_t,disabled:Wt,bordered:Wn=!0,placeholder:xn,popupClassName:Ln,dropdownClassName:Mr,status:pr,clearIcon:or,allowClear:sr,rootClassName:Br}=it,Vr=Go(it,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),na=ue.useRef(null),{getPrefixCls:ka,direction:_e,getPopupContainer:gt}=(0,ue.useContext)(ho.E_),Ht=ka("picker",Ne),{compactSize:Ue,compactItemClassnames:Ut}=(0,mo.ri)(Ht,_e),{format:hn,showTime:Fn,picker:Lt}=it,Gt=ka(),[ln,jn]=Ql(Ht),er=Object.assign(Object.assign({},Fn?Il(Object.assign({format:hn,picker:Lt},Fn)):{}),Lt==="time"?Il(Object.assign(Object.assign({format:hn},it),{picker:Lt})):{}),gr=(0,wo.Z)(la=>{var ga;return(ga=_t!=null?_t:Ue)!==null&&ga!==void 0?ga:la}),lr=ue.useContext(ji.Z),Nr=Wt!=null?Wt:lr,Wr=(0,ue.useContext)(Zi.aM),{hasFeedback:ea,status:Kr,feedbackIcon:Ba}=Wr,ua=ue.createElement(ue.Fragment,null,Lt==="time"?ue.createElement(ut,null):ue.createElement(Fe,null),ea&&Ba);(0,ue.useImperativeHandle)(Ce,()=>({focus:()=>{var la;return(la=na.current)===null||la===void 0?void 0:la.focus()},blur:()=>{var la;return(la=na.current)===null||la===void 0?void 0:la.blur()}}));const[Na]=(0,gi.Z)("Calendar",_o.Z),Ga=Object.assign(Object.assign({},Na),it.locale);return ln(ue.createElement(po,Object.assign({separator:ue.createElement("span",{"aria-label":"to",className:`${Ht}-separator`},ue.createElement(ct,null)),disabled:Nr,ref:na,dropdownAlign:$l(_e,Jt),placeholder:Tl(Ga,Lt,xn),suffixIcon:ua,prevIcon:ue.createElement("span",{className:`${Ht}-prev-icon`}),nextIcon:ue.createElement("span",{className:`${Ht}-next-icon`}),superPrevIcon:ue.createElement("span",{className:`${Ht}-super-prev-icon`}),superNextIcon:ue.createElement("span",{className:`${Ht}-super-next-icon`}),transitionName:`${Gt}-slide-up`},Vr,er,{className:Mt()({[`${Ht}-${gr}`]:gr,[`${Ht}-borderless`]:!Wn},(0,uo.Z)(Ht,(0,uo.F)(Kr,pr),ea),jn,Ut,bt,Br),locale:Ga.lang,prefixCls:Ht,getPopupContainer:St||gt,generateConfig:Le,components:ns,direction:_e,dropdownClassName:Mt()(jn,Ln||Mr,Br),allowClear:ss(sr,or,ue.createElement(rt.Z,null))})))})}var _l=function(Le,qe){var it={};for(var Ce in Le)Object.prototype.hasOwnProperty.call(Le,Ce)&&qe.indexOf(Ce)<0&&(it[Ce]=Le[Ce]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ce=Object.getOwnPropertySymbols(Le);Ne<Ce.length;Ne++)qe.indexOf(Ce[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ce[Ne])&&(it[Ce[Ne]]=Le[Ce[Ne]]);return it};function Xl(Le){function qe(_t,Wt){const Wn=Wt==="TimePicker"?"timePicker":"datePicker",xn=(0,ue.forwardRef)((Ln,Mr)=>{const{prefixCls:pr,getPopupContainer:or,style:sr,className:Br,rootClassName:Vr,size:na,bordered:ka=!0,placement:_e,placeholder:gt,popupClassName:Ht,dropdownClassName:Ue,disabled:Ut,status:hn,clearIcon:Fn,allowClear:Lt}=Ln,Gt=_l(Ln,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:ln,direction:jn,getPopupContainer:er,[Wn]:gr}=(0,ue.useContext)(ho.E_),lr=ln("picker",pr),{compactSize:Nr,compactItemClassnames:Wr}=(0,mo.ri)(lr,jn),ea=ue.useRef(null),{format:Kr,showTime:Ba}=Ln,[ua,Na]=Ql(lr);(0,ue.useImperativeHandle)(Mr,()=>({focus:()=>{var yi;return(yi=ea.current)===null||yi===void 0?void 0:yi.focus()},blur:()=>{var yi;return(yi=ea.current)===null||yi===void 0?void 0:yi.blur()}}));const Ga={showToday:!0};let la={};_t&&(la.picker=_t);const ga=_t||Ln.picker;la=Object.assign(Object.assign(Object.assign({},la),Ba?Il(Object.assign({format:Kr,picker:ga},Ba)):{}),ga==="time"?Il(Object.assign(Object.assign({format:Kr},Ln),{picker:ga})):{});const fa=ln(),La=(0,wo.Z)(yi=>{var Ko;return(Ko=na!=null?na:Nr)!==null&&Ko!==void 0?Ko:yi}),Aa=ue.useContext(ji.Z),ca=Ut!=null?Ut:Aa,Xa=(0,ue.useContext)(Zi.aM),{hasFeedback:ra,status:Ya,feedbackIcon:Za}=Xa,Ua=ue.createElement(ue.Fragment,null,ga==="time"?ue.createElement(ut,null):ue.createElement(Fe,null),ra&&Za),[Oa]=(0,gi.Z)("DatePicker",_o.Z),ii=Object.assign(Object.assign({},Oa),Ln.locale);return ua(ue.createElement(Ao,Object.assign({ref:ea,placeholder:Al(ii,ga,gt),suffixIcon:Ua,dropdownAlign:$l(jn,_e),prevIcon:ue.createElement("span",{className:`${lr}-prev-icon`}),nextIcon:ue.createElement("span",{className:`${lr}-next-icon`}),superPrevIcon:ue.createElement("span",{className:`${lr}-super-prev-icon`}),superNextIcon:ue.createElement("span",{className:`${lr}-super-next-icon`}),transitionName:`${fa}-slide-up`},Ga,Gt,la,{locale:ii.lang,className:Mt()({[`${lr}-${La}`]:La,[`${lr}-borderless`]:!ka},(0,uo.Z)(lr,(0,uo.F)(Ya,hn),ra),Na,Wr,gr==null?void 0:gr.className,Br,Vr),style:Object.assign(Object.assign({},gr==null?void 0:gr.style),sr),prefixCls:lr,getPopupContainer:or||er,generateConfig:Le,components:ns,direction:jn,disabled:ca,dropdownClassName:Mt()(Na,Vr,Ht||Ue),allowClear:ss(Lt,Fn,ue.createElement(rt.Z,null))})))});return Wt&&(xn.displayName=Wt),xn}const it=qe(),Ce=qe("week","WeekPicker"),Ne=qe("month","MonthPicker"),St=qe("year","YearPicker"),bt=qe("time","TimePicker"),Jt=qe("quarter","QuarterPicker");return{DatePicker:it,WeekPicker:Ce,MonthPicker:Ne,YearPicker:St,TimePicker:bt,QuarterPicker:Jt}}const hs=null;function xs(Le){const{DatePicker:qe,WeekPicker:it,MonthPicker:Ce,YearPicker:Ne,TimePicker:St,QuarterPicker:bt}=Xl(Le),Jt=il(Le),_t=qe;return _t.WeekPicker=it,_t.MonthPicker=Ce,_t.YearPicker=Ne,_t.RangePicker=Jt,_t.TimePicker=St,_t.QuarterPicker=bt,_t}var Ms=xs;const zs=Ms(tt);function Ws(Le){const qe=$l(Le.direction,Le.placement);return qe.overflow.adjustY=!1,qe.overflow.adjustX=!1,Object.assign(Object.assign({},Le),{dropdownAlign:qe})}const Bs=(0,st.Z)(zs,"picker",null,Ws);zs._InternalPanelDoNotUseOrYouWillBeFired=Bs;const Xs=(0,st.Z)(zs.RangePicker,"picker",null,Ws);zs._InternalRangePanelDoNotUseOrYouWillBeFired=Xs,zs.generatePicker=Ms;var Ul=zs},96074:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return fe}});var ne=ee(94184),de=ee.n(ne),Me=ee(67294),et=ee(53124),we=ee(14747),ke=ee(67968),ce=ee(45503);const Se=Ge=>{const{componentCls:pt,sizePaddingEdgeHorizontal:ot,colorSplit:vt,lineWidth:Ee,textPaddingInline:wt,orientationMargin:Rt,verticalMarginInline:tt}=Ge;return{[pt]:Object.assign(Object.assign({},(0,we.Wf)(Ge)),{borderBlockStart:`${Ee}px solid ${vt}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:tt,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Ee}px solid ${vt}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ge.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${pt}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ge.dividerHorizontalWithTextGutterMargin}px 0`,color:Ge.colorTextHeading,fontWeight:500,fontSize:Ge.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${vt}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Ee}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${pt}-with-text-left`]:{"&::before":{width:`${Rt*100}%`},"&::after":{width:`${100-Rt*100}%`}},[`&-horizontal${pt}-with-text-right`]:{"&::before":{width:`${100-Rt*100}%`},"&::after":{width:`${Rt*100}%`}},[`${pt}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:wt},"&-dashed":{background:"none",borderColor:vt,borderStyle:"dashed",borderWidth:`${Ee}px 0 0`},[`&-horizontal${pt}-with-text${pt}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${pt}-dashed`]:{borderInlineStartWidth:Ee,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${pt}-with-text`]:{color:Ge.colorText,fontWeight:"normal",fontSize:Ge.fontSize},[`&-horizontal${pt}-with-text-left${pt}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${pt}-inner-text`]:{paddingInlineStart:ot}},[`&-horizontal${pt}-with-text-right${pt}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${pt}-inner-text`]:{paddingInlineEnd:ot}}})}};var me=(0,ke.Z)("Divider",Ge=>{const pt=(0,ce.TS)(Ge,{dividerHorizontalWithTextGutterMargin:Ge.margin,dividerHorizontalGutterMargin:Ge.marginLG,sizePaddingEdgeHorizontal:0});return[Se(pt)]},Ge=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ge.marginXS})),Pe=function(Ge,pt){var ot={};for(var vt in Ge)Object.prototype.hasOwnProperty.call(Ge,vt)&&pt.indexOf(vt)<0&&(ot[vt]=Ge[vt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,vt=Object.getOwnPropertySymbols(Ge);Ee<vt.length;Ee++)pt.indexOf(vt[Ee])<0&&Object.prototype.propertyIsEnumerable.call(Ge,vt[Ee])&&(ot[vt[Ee]]=Ge[vt[Ee]]);return ot},fe=Ge=>{const{getPrefixCls:pt,direction:ot,divider:vt}=Me.useContext(et.E_),{prefixCls:Ee,type:wt="horizontal",orientation:Rt="center",orientationMargin:tt,className:st,rootClassName:ye,children:ue,dashed:$e,plain:Je,style:ht}=Ge,yt=Pe(Ge,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Fe=pt("divider",Ee),[Be,mt]=me(Fe),ze=Rt.length>0?`-${Rt}`:Rt,ut=!!ue,rt=Rt==="left"&&tt!=null,Tt=Rt==="right"&&tt!=null,Bt=de()(Fe,vt==null?void 0:vt.className,mt,`${Fe}-${wt}`,{[`${Fe}-with-text`]:ut,[`${Fe}-with-text${ze}`]:ut,[`${Fe}-dashed`]:!!$e,[`${Fe}-plain`]:!!Je,[`${Fe}-rtl`]:ot==="rtl",[`${Fe}-no-default-orientation-margin-left`]:rt,[`${Fe}-no-default-orientation-margin-right`]:Tt},st,ye),en=Me.useMemo(()=>typeof tt=="number"?tt:/^\d+$/.test(tt)?Number(tt):tt,[tt]),ct=Object.assign(Object.assign({},rt&&{marginLeft:en}),Tt&&{marginRight:en});return Be(Me.createElement("div",Object.assign({className:Bt,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),ht)},yt,{role:"separator"}),ue&&wt!=="vertical"&&Me.createElement("span",{className:`${Fe}-inner-text`,style:ct},ue)))}},72565:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Ci}});var ne=ee(94184),de=ee.n(ne),Me=ee(1413),et=ee(97685),we=ee(67294),ke=ee(73935);function ce(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Se={};function me(Zn,Mn){}function Pe(Zn,Mn){}function Xe(){Se={}}function fe(Zn,Mn,dr){!Mn&&!Se[dr]&&(Zn(!1,dr),Se[dr]=!0)}function Ge(Zn,Mn){fe(me,Zn,Mn)}function pt(Zn,Mn){fe(Pe,Zn,Mn)}var ot=null,vt=ee(71002),Ee=ee(18459);function wt(Zn,Mn,dr){var Qr=we.useRef({});return(!("value"in Qr.current)||dr(Qr.current.condition,Mn))&&(Qr.current.value=Zn(),Qr.current.condition=Mn),Qr.current.value}function Rt(Zn,Mn){typeof Zn=="function"?Zn(Mn):(0,vt.Z)(Zn)==="object"&&Zn&&"current"in Zn&&(Zn.current=Mn)}function tt(){for(var Zn=arguments.length,Mn=new Array(Zn),dr=0;dr<Zn;dr++)Mn[dr]=arguments[dr];var Qr=Mn.filter(function(va){return va});return Qr.length<=1?Qr[0]:function(va){Mn.forEach(function(pi){Rt(pi,va)})}}function st(){for(var Zn=arguments.length,Mn=new Array(Zn),dr=0;dr<Zn;dr++)Mn[dr]=arguments[dr];return wt(function(){return tt.apply(void 0,Mn)},Mn,function(Qr,va){return Qr.length===va.length&&Qr.every(function(pi,Ai){return pi===va[Ai]})})}function ye(Zn){var Mn,dr,Qr=(0,Ee.isMemo)(Zn)?Zn.type.type:Zn.type;return!(typeof Qr=="function"&&!((Mn=Qr.prototype)!==null&&Mn!==void 0&&Mn.render)||typeof Zn=="function"&&!((dr=Zn.prototype)!==null&&dr!==void 0&&dr.render))}var ue=we.createContext(null),$e=ue,Je=ee(74902),ht=ce()?we.useLayoutEffect:we.useEffect,yt=ht,Fe=function(Mn,dr){var Qr=React.useRef(!0);ht(function(){if(!Qr.current)return Mn()},dr),ht(function(){return Qr.current=!1,function(){Qr.current=!0}},[])},Be=[];function mt(Zn,Mn){var dr=we.useState(function(){if(!ce())return null;var nt=document.createElement("div");return nt}),Qr=(0,et.Z)(dr,1),va=Qr[0],pi=we.useRef(!1),Ai=we.useContext($e),Vi=we.useState(Be),ui=(0,et.Z)(Vi,2),Di=ui[0],Eo=ui[1],Zo=Ai||(pi.current?void 0:function(nt){Eo(function(It){var pe=[nt].concat((0,Je.Z)(It));return pe})});function Qo(){va.parentElement||document.body.appendChild(va),pi.current=!0}function He(){var nt;(nt=va.parentElement)===null||nt===void 0||nt.removeChild(va),pi.current=!1}return yt(function(){return Zn?Ai?Ai(Qo):Qo():He(),He},[Zn]),yt(function(){Di.length&&(Di.forEach(function(nt){return nt()}),Eo(Be))},[Di]),[va,Zo]}function ze(Zn,Mn){if(!Zn)return!1;if(Zn.contains)return Zn.contains(Mn);for(var dr=Mn;dr;){if(dr===Zn)return!0;dr=dr.parentNode}return!1}var ut="data-rc-order",rt="rc-util-key",Tt=new Map;function Bt(){var Zn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Mn=Zn.mark;return Mn?Mn.startsWith("data-")?Mn:"data-".concat(Mn):rt}function en(Zn){if(Zn.attachTo)return Zn.attachTo;var Mn=document.querySelector("head");return Mn||document.body}function ct(Zn){return Zn==="queue"?"prependQueue":Zn?"prepend":"append"}function Ie(Zn){return Array.from((Tt.get(Zn)||Zn).children).filter(function(Mn){return Mn.tagName==="STYLE"})}function Mt(Zn){var Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ce())return null;var dr=Mn.csp,Qr=Mn.prepend,va=document.createElement("style");va.setAttribute(ut,ct(Qr)),dr!=null&&dr.nonce&&(va.nonce=dr==null?void 0:dr.nonce),va.innerHTML=Zn;var pi=en(Mn),Ai=pi.firstChild;if(Qr){if(Qr==="queue"){var Vi=Ie(pi).filter(function(ui){return["prepend","prependQueue"].includes(ui.getAttribute(ut))});if(Vi.length)return pi.insertBefore(va,Vi[Vi.length-1].nextSibling),va}pi.insertBefore(va,Ai)}else pi.appendChild(va);return va}function vn(Zn){var Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dr=en(Mn);return Ie(dr).find(function(Qr){return Qr.getAttribute(Bt(Mn))===Zn})}function qt(Zn){var Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dr=vn(Zn,Mn);if(dr){var Qr=en(Mn);Qr.removeChild(dr)}}function Nt(Zn,Mn){var dr=Tt.get(Zn);if(!dr||!ze(document,dr)){var Qr=Mt("",Mn),va=Qr.parentNode;Tt.set(Zn,va),Zn.removeChild(Qr)}}function Kt(){Tt.clear()}function nn(Zn,Mn){var dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qr=en(dr);Nt(Qr,dr);var va=vn(Mn,dr);if(va){var pi,Ai;if((pi=dr.csp)!==null&&pi!==void 0&&pi.nonce&&va.nonce!==((Ai=dr.csp)===null||Ai===void 0?void 0:Ai.nonce)){var Vi;va.nonce=(Vi=dr.csp)===null||Vi===void 0?void 0:Vi.nonce}return va.innerHTML!==Zn&&(va.innerHTML=Zn),va}var ui=Mt(Zn,dr);return ui.setAttribute(Bt(dr),Mn),ui}var Cn;function Sn(Zn){if(typeof document=="undefined")return 0;if(Zn||Cn===void 0){var Mn=document.createElement("div");Mn.style.width="100%",Mn.style.height="200px";var dr=document.createElement("div"),Qr=dr.style;Qr.position="absolute",Qr.top="0",Qr.left="0",Qr.pointerEvents="none",Qr.visibility="hidden",Qr.width="200px",Qr.height="150px",Qr.overflow="hidden",dr.appendChild(Mn),document.body.appendChild(dr);var va=Mn.offsetWidth;dr.style.overflow="scroll";var pi=Mn.offsetWidth;va===pi&&(pi=dr.clientWidth),document.body.removeChild(dr),Cn=va-pi}return Cn}function tn(Zn){var Mn=Zn.match(/^(.*)px$/),dr=Number(Mn==null?void 0:Mn[1]);return Number.isNaN(dr)?Sn():dr}function In(Zn){if(typeof document=="undefined"||!Zn||!(Zn instanceof Element))return{width:0,height:0};var Mn=getComputedStyle(Zn,"::-webkit-scrollbar"),dr=Mn.width,Qr=Mn.height;return{width:tn(dr),height:tn(Qr)}}function br(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var gn="rc-util-locker-".concat(Date.now()),Ye=0;function ve(Zn){var Mn=!!Zn,dr=we.useState(function(){return Ye+=1,"".concat(gn,"_").concat(Ye)}),Qr=(0,et.Z)(dr,1),va=Qr[0];yt(function(){if(Mn){var pi=In(document.body).width,Ai=br();nn(`
html body {
overflow-y: hidden;
`.concat(Ai?"width: calc(100% - ".concat(pi,"px);"):"",`
}`),va)}else qt(va);return function(){qt(va)}},[Mn,va])}var he=!1;function be(Zn){return typeof Zn=="boolean"&&(he=Zn),he}var ge=function(Mn){return Mn===!1?!1:!ce()||!Mn?null:typeof Mn=="string"?document.querySelector(Mn):typeof Mn=="function"?Mn():Mn},se=we.forwardRef(function(Zn,Mn){var dr=Zn.open,Qr=Zn.autoLock,va=Zn.getContainer,pi=Zn.debug,Ai=Zn.autoDestroy,Vi=Ai===void 0?!0:Ai,ui=Zn.children,Di=we.useState(dr),Eo=(0,et.Z)(Di,2),Zo=Eo[0],Qo=Eo[1],He=Zo||dr;we.useEffect(function(){(Vi||dr)&&Qo(dr)},[dr,Vi]);var nt=we.useState(function(){return ge(va)}),It=(0,et.Z)(nt,2),pe=It[0],Oe=It[1];we.useEffect(function(){var Dn=ge(va);Oe(Dn!=null?Dn:null)});var Ae=mt(He&&!pe,pi),Ke=(0,et.Z)(Ae,2),Qe=Ke[0],at=Ke[1],ft=pe!=null?pe:Qe;ve(Qr&&dr&&ce()&&(ft===Qe||ft===document.body));var Xt=null;if(ui&&ye(ui)&&Mn){var an=ui;Xt=an.ref}var Qn=st(Xt,Mn);if(!He||!ce()||pe===void 0)return null;var cr=ft===!1||be(),Ar=ui;return Mn&&(Ar=we.cloneElement(ui,{ref:Qn})),we.createElement($e.Provider,{value:at},cr?Ar:(0,ke.createPortal)(Ar,ft))}),je=se,xt=je;function En(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var un=En()?we.useLayoutEffect:we.useEffect,Pn=function(Mn,dr){var Qr=we.useRef(!0);un(function(){return Mn(Qr.current)},dr),un(function(){return Qr.current=!1,function(){Qr.current=!0}},[])},Xn=function(Mn,dr){Pn(function(Qr){if(!Qr)return Mn()},dr)},_n=Pn,Vt=we.createContext(null),yn=we.createContext({}),Kn=Vt,On=ee(4942),Qt=ee(87462),Dr=ee(62874),jt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Mn){var dr=Mn.keyCode;if(Mn.altKey&&!Mn.ctrlKey||Mn.metaKey||dr>=jt.F1&&dr<=jt.F12)return!1;switch(dr){case jt.ALT:case jt.CAPS_LOCK:case jt.CONTEXT_MENU:case jt.CTRL:case jt.DOWN:case jt.END:case jt.ESC:case jt.HOME:case jt.INSERT:case jt.LEFT:case jt.MAC_FF_META:case jt.META:case jt.NUMLOCK:case jt.NUM_CENTER:case jt.PAGE_DOWN:case jt.PAGE_UP:case jt.PAUSE:case jt.PRINT_SCREEN:case jt.RIGHT:case jt.SHIFT:case jt.UP:case jt.WIN_KEY:case jt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Mn){if(Mn>=jt.ZERO&&Mn<=jt.NINE||Mn>=jt.NUM_ZERO&&Mn<=jt.NUM_MULTIPLY||Mn>=jt.A&&Mn<=jt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Mn===0)return!0;switch(Mn){case jt.SPACE:case jt.QUESTION_MARK:case jt.NUM_PLUS:case jt.NUM_MINUS:case jt.NUM_PERIOD:case jt.NUM_DIVISION:case jt.SEMICOLON:case jt.DASH:case jt.EQUALS:case jt.COMMA:case jt.PERIOD:case jt.SLASH:case jt.APOSTROPHE:case jt.SINGLE_QUOTE:case jt.OPEN_SQUARE_BRACKET:case jt.BACKSLASH:case jt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},rn=jt,Ir=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,ur=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Rr="".concat(Ir," ").concat(ur).split(/[\s\n]+/),aa="aria-",qn="data-";function Pa(Zn,Mn){return Zn.indexOf(Mn)===0}function Fa(Zn){var Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dr;Mn===!1?dr={aria:!0,data:!0,attr:!0}:Mn===!0?dr={aria:!0}:dr=(0,Me.Z)({},Mn);var Qr={};return Object.keys(Zn).forEach(function(va){(dr.aria&&(va==="role"||Pa(va,aa))||dr.data&&Pa(va,qn)||dr.attr&&Rr.includes(va))&&(Qr[va]=Zn[va])}),Qr}function _a(Zn){var Mn=React.useRef();Mn.current=Zn;var dr=React.useCallback(function(){for(var Qr,va=arguments.length,pi=new Array(va),Ai=0;Ai<va;Ai++)pi[Ai]=arguments[Ai];return(Qr=Mn.current)===null||Qr===void 0?void 0:Qr.call.apply(Qr,[Mn].concat(pi))},[]);return dr}function Xr(Zn){var Mn=React.useRef(!1),dr=React.useState(Zn),Qr=_slicedToArray(dr,2),va=Qr[0],pi=Qr[1];React.useEffect(function(){return Mn.current=!1,function(){Mn.current=!0}},[]);function Ai(Vi,ui){ui&&Mn.current||pi(Vi)}return[va,Ai]}function Da(Zn){return Zn!==void 0}function Mi(Zn,Mn){var dr=Mn||{},Qr=dr.defaultValue,va=dr.value,pi=dr.onChange,Ai=dr.postState,Vi=useState(function(){return Da(va)?va:Da(Qr)?typeof Qr=="function"?Qr():Qr:typeof Zn=="function"?Zn():Zn}),ui=_slicedToArray(Vi,2),Di=ui[0],Eo=ui[1],Zo=va!==void 0?va:Di,Qo=Ai?Ai(Zo):Zo,He=useEvent(pi),nt=useState([Zo]),It=_slicedToArray(nt,2),pe=It[0],Oe=It[1];useLayoutUpdateEffect(function(){var Ke=pe[0];Di!==Ke&&He(Di,Ke)},[pe]),useLayoutUpdateEffect(function(){Da(va)||Eo(va)},[va]);var Ae=useEvent(function(Ke,Qe){Eo(Ke,Qe),Oe([Zo],Qe)});return[Qo,Ae]}var Si=ee(33993);function zi(Zn,Mn,dr){var Qr=we.useRef({});return(!("value"in Qr.current)||dr(Qr.current.condition,Mn))&&(Qr.current.value=Zn(),Qr.current.condition=Mn),Qr.current.value}function fi(Zn,Mn){typeof Zn=="function"?Zn(Mn):(0,vt.Z)(Zn)==="object"&&Zn&&"current"in Zn&&(Zn.current=Mn)}function Tn(){for(var Zn=arguments.length,Mn=new Array(Zn),dr=0;dr<Zn;dr++)Mn[dr]=arguments[dr];var Qr=Mn.filter(function(va){return va});return Qr.length<=1?Qr[0]:function(va){Mn.forEach(function(pi){fi(pi,va)})}}function bn(){for(var Zn=arguments.length,Mn=new Array(Zn),dr=0;dr<Zn;dr++)Mn[dr]=arguments[dr];return zi(function(){return Tn.apply(void 0,Mn)},Mn,function(Qr,va){return Qr.length!==va.length||Qr.every(function(pi,Ai){return pi!==va[Ai]})})}function ir(Zn){var Mn,dr,Qr=isMemo(Zn)?Zn.type.type:Zn.type;return!(typeof Qr=="function"&&!((Mn=Qr.prototype)!==null&&Mn!==void 0&&Mn.render)||typeof Zn=="function"&&!((dr=Zn.prototype)!==null&&dr!==void 0&&dr.render))}function Cr(Zn){return!isValidElement(Zn)||isFragment(Zn)?!1:ir(Zn)}function Or(Zn,Mn,dr,Qr){if(!Mn.length)return dr;var va=_toArray(Mn),pi=va[0],Ai=va.slice(1),Vi;return!Zn&&typeof pi=="number"?Vi=[]:Array.isArray(Zn)?Vi=_toConsumableArray(Zn):Vi=_objectSpread({},Zn),Qr&&dr===void 0&&Ai.length===1?delete Vi[pi][Ai[0]]:Vi[pi]=Or(Vi[pi],Ai,dr,Qr),Vi}function Lr(Zn,Mn,dr){var Qr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Mn.length&&Qr&&dr===void 0&&!get(Zn,Mn.slice(0,-1))?Zn:Or(Zn,Mn,dr,Qr)}function sa(Zn){return _typeof(Zn)==="object"&&Zn!==null&&Object.getPrototypeOf(Zn)===Object.prototype}function pn(Zn){return Array.isArray(Zn)?[]:{}}var At=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Zt(){for(var Zn=arguments.length,Mn=new Array(Zn),dr=0;dr<Zn;dr++)Mn[dr]=arguments[dr];var Qr=pn(Mn[0]);return Mn.forEach(function(va){function pi(Ai,Vi){var ui=new Set(Vi),Di=get(va,Ai),Eo=Array.isArray(Di);if(Eo||sa(Di)){if(!ui.has(Di)){ui.add(Di);var Zo=get(Qr,Ai);Eo?Qr=Lr(Qr,Ai,[]):(!Zo||_typeof(Zo)!=="object")&&(Qr=Lr(Qr,Ai,pn(Di))),At(Di).forEach(function(Qo){pi([].concat(_toConsumableArray(Ai),[Qo]),ui)})}}else Qr=Lr(Qr,Ai,Di)}pi([])}),Qr}var on={},Yn=[],Dt=function(Mn){Yn.push(Mn)};function fn(Zn,Mn){if(0)var dr}function Vn(Zn,Mn){if(0)var dr}function kn(){on={}}function rr(Zn,Mn,dr){!Mn&&!on[dr]&&(Zn(!1,dr),on[dr]=!0)}function fr(Zn,Mn){rr(fn,Zn,Mn)}function mn(Zn,Mn){rr(Vn,Zn,Mn)}fr.preMessage=Dt,fr.resetWarned=kn,fr.noteOnce=mn;var Ta=fr,ha=function(Mn){var dr=Mn.prefixCls,Qr=Mn.className,va=Mn.style,pi=Mn.children,Ai=Mn.containerRef,Vi=Mn.id,ui=Mn.onMouseEnter,Di=Mn.onMouseOver,Eo=Mn.onMouseLeave,Zo=Mn.onClick,Qo=Mn.onKeyDown,He=Mn.onKeyUp,nt={onMouseEnter:ui,onMouseOver:Di,onMouseLeave:Eo,onClick:Zo,onKeyDown:Qo,onKeyUp:He},It=we.useContext(yn),pe=It.panel,Oe=bn(pe,Ai);return we.createElement(we.Fragment,null,we.createElement("div",(0,Qt.Z)({id:Vi,className:de()("".concat(dr,"-content"),Qr),style:(0,Me.Z)({},va),"aria-modal":"true",role:"dialog",ref:Oe},nt),pi))},ya=ha;function Sa(Zn){return typeof Zn=="string"&&String(Number(Zn))===Zn?(Ta(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Zn)):Zn}function Ma(Zn){warning(!("wrapperClassName"in Zn),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Zn.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var pa={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Er(Zn,Mn){var dr,Qr,va,pi,Ai=Zn.prefixCls,Vi=Zn.open,ui=Zn.placement,Di=Zn.inline,Eo=Zn.push,Zo=Zn.forceRender,Qo=Zn.autoFocus,He=Zn.keyboard,nt=Zn.rootClassName,It=Zn.rootStyle,pe=Zn.zIndex,Oe=Zn.className,Ae=Zn.id,Ke=Zn.style,Qe=Zn.motion,at=Zn.width,ft=Zn.height,Xt=Zn.children,an=Zn.contentWrapperStyle,Qn=Zn.mask,cr=Zn.maskClosable,Ar=Zn.maskMotion,Dn=Zn.maskClassName,$n=Zn.maskStyle,Jn=Zn.afterOpenChange,kr=Zn.onClose,Hr=Zn.onMouseEnter,zr=Zn.onMouseOver,Fr=Zn.onMouseLeave,jr=Zn.onClick,_r=Zn.onKeyDown,Jr=Zn.onKeyUp,kt=we.useRef(),Pt=we.useRef(),zn=we.useRef();we.useImperativeHandle(Mn,function(){return kt.current});var Bn=function(ja){var ai=ja.keyCode,Ra=ja.shiftKey;switch(ai){case rn.TAB:{if(ai===rn.TAB){if(!Ra&&document.activeElement===zn.current){var da;(da=Pt.current)===null||da===void 0||da.focus({preventScroll:!0})}else if(Ra&&document.activeElement===Pt.current){var ci;(ci=zn.current)===null||ci===void 0||ci.focus({preventScroll:!0})}}break}case rn.ESC:{kr&&He&&(ja.stopPropagation(),kr(ja));break}}};we.useEffect(function(){if(Vi&&Qo){var Ea;(Ea=kt.current)===null||Ea===void 0||Ea.focus({preventScroll:!0})}},[Vi]);var xr=we.useState(!1),Zr=(0,et.Z)(xr,2),$t=Zr[0],cn=Zr[1],dn=we.useContext(Kn),Rn;Eo===!1?Rn={distance:0}:Eo===!0?Rn={}:Rn=Eo||{};var yr=(dr=(Qr=(va=Rn)===null||va===void 0?void 0:va.distance)!==null&&Qr!==void 0?Qr:dn==null?void 0:dn.pushDistance)!==null&&dr!==void 0?dr:180,Tr=we.useMemo(function(){return{pushDistance:yr,push:function(){cn(!0)},pull:function(){cn(!1)}}},[yr]);we.useEffect(function(){if(Vi){var Ea;dn==null||(Ea=dn.push)===null||Ea===void 0||Ea.call(dn)}else{var ja;dn==null||(ja=dn.pull)===null||ja===void 0||ja.call(dn)}},[Vi]),we.useEffect(function(){return function(){var Ea;dn==null||(Ea=dn.pull)===null||Ea===void 0||Ea.call(dn)}},[]);var vr=Qn&&we.createElement(Dr.Z,(0,Qt.Z)({key:"mask"},Ar,{visible:Vi}),function(Ea,ja){var ai=Ea.className,Ra=Ea.style;return we.createElement("div",{className:de()("".concat(Ai,"-mask"),ai,Dn),style:(0,Me.Z)((0,Me.Z)({},Ra),$n),onClick:cr&&Vi?kr:void 0,ref:ja})}),Pr=typeof Qe=="function"?Qe(ui):Qe,ia={};if($t&&yr)switch(ui){case"top":ia.transform="translateY(".concat(yr,"px)");break;case"bottom":ia.transform="translateY(".concat(-yr,"px)");break;case"left":ia.transform="translateX(".concat(yr,"px)");break;default:ia.transform="translateX(".concat(-yr,"px)");break}ui==="left"||ui==="right"?ia.width=Sa(at):ia.height=Sa(ft);var Va={onMouseEnter:Hr,onMouseOver:zr,onMouseLeave:Fr,onClick:jr,onKeyDown:_r,onKeyUp:Jr},ma=we.createElement(Dr.Z,(0,Qt.Z)({key:"panel"},Pr,{visible:Vi,forceRender:Zo,onVisibleChanged:function(ja){Jn==null||Jn(ja)},removeOnLeave:!1,leavedClassName:"".concat(Ai,"-content-wrapper-hidden")}),function(Ea,ja){var ai=Ea.className,Ra=Ea.style;return we.createElement("div",(0,Qt.Z)({className:de()("".concat(Ai,"-content-wrapper"),ai),style:(0,Me.Z)((0,Me.Z)((0,Me.Z)({},ia),Ra),an)},Fa(Zn,{data:!0})),we.createElement(ya,(0,Qt.Z)({id:Ae,containerRef:ja,prefixCls:Ai,className:Oe,style:Ke},Va),Xt))}),Gr=(0,Me.Z)({},It);return pe&&(Gr.zIndex=pe),we.createElement(Kn.Provider,{value:Tr},we.createElement("div",{className:de()(Ai,"".concat(Ai,"-").concat(ui),nt,(pi={},(0,On.Z)(pi,"".concat(Ai,"-open"),Vi),(0,On.Z)(pi,"".concat(Ai,"-inline"),Di),pi)),style:Gr,tabIndex:-1,ref:kt,onKeyDown:Bn},vr,we.createElement("div",{tabIndex:0,ref:Pt,style:pa,"aria-hidden":"true","data-sentinel":"start"}),ma,we.createElement("div",{tabIndex:0,ref:zn,style:pa,"aria-hidden":"true","data-sentinel":"end"})))}var qr=we.forwardRef(Er),Hi=qr,Fi=function(Mn){var dr=Mn.open,Qr=dr===void 0?!1:dr,va=Mn.prefixCls,pi=va===void 0?"rc-drawer":va,Ai=Mn.placement,Vi=Ai===void 0?"right":Ai,ui=Mn.autoFocus,Di=ui===void 0?!0:ui,Eo=Mn.keyboard,Zo=Eo===void 0?!0:Eo,Qo=Mn.width,He=Qo===void 0?378:Qo,nt=Mn.mask,It=nt===void 0?!0:nt,pe=Mn.maskClosable,Oe=pe===void 0?!0:pe,Ae=Mn.getContainer,Ke=Mn.forceRender,Qe=Mn.afterOpenChange,at=Mn.destroyOnClose,ft=Mn.onMouseEnter,Xt=Mn.onMouseOver,an=Mn.onMouseLeave,Qn=Mn.onClick,cr=Mn.onKeyDown,Ar=Mn.onKeyUp,Dn=Mn.panelRef,$n=we.useState(!1),Jn=(0,et.Z)($n,2),kr=Jn[0],Hr=Jn[1],zr=we.useState(!1),Fr=(0,et.Z)(zr,2),jr=Fr[0],_r=Fr[1];_n(function(){_r(!0)},[]);var Jr=jr?Qr:!1,kt=we.useRef(),Pt=we.useRef();_n(function(){Jr&&(Pt.current=document.activeElement)},[Jr]);var zn=function(cn){var dn;if(Hr(cn),Qe==null||Qe(cn),!cn&&Pt.current&&!((dn=kt.current)!==null&&dn!==void 0&&dn.contains(Pt.current))){var Rn;(Rn=Pt.current)===null||Rn===void 0||Rn.focus({preventScroll:!0})}},Bn=we.useMemo(function(){return{panel:Dn}},[Dn]);if(!Ke&&!kr&&!Jr&&at)return null;var xr={onMouseEnter:ft,onMouseOver:Xt,onMouseLeave:an,onClick:Qn,onKeyDown:cr,onKeyUp:Ar},Zr=(0,Me.Z)((0,Me.Z)({},Mn),{},{open:Jr,prefixCls:pi,placement:Vi,autoFocus:Di,keyboard:Zo,width:He,mask:It,maskClosable:Oe,inline:Ae===!1,afterOpenChange:zn,ref:kt},xr);return we.createElement(yn.Provider,{value:Bn},we.createElement(xt,{open:Jr||Ke||kr,autoDestroy:!1,getContainer:Ae,autoLock:It&&(Jr||kr)},we.createElement(Hi,Zr)))},$a=Fi,ni=$a,no=ee(33603),oi=ee(53124),so=ee(65223),ta=ee(69760),xo=Zn=>{const{prefixCls:Mn,title:dr,footer:Qr,extra:va,closeIcon:pi,closable:Ai,onClose:Vi,headerStyle:ui,drawerStyle:Di,bodyStyle:Eo,footerStyle:Zo,children:Qo}=Zn,He=we.useCallback(Ae=>we.createElement("button",{type:"button",onClick:Vi,"aria-label":"Close",className:`${Mn}-close`},Ae),[Vi]),[nt,It]=(0,ta.Z)(Ai,pi,He,void 0,!0),pe=we.useMemo(()=>!dr&&!nt?null:we.createElement("div",{style:ui,className:de()(`${Mn}-header`,{[`${Mn}-header-close-only`]:nt&&!dr&&!va})},we.createElement("div",{className:`${Mn}-header-title`},It,dr&&we.createElement("div",{className:`${Mn}-title`},dr)),va&&we.createElement("div",{className:`${Mn}-extra`},va)),[nt,It,va,ui,Mn,dr]),Oe=we.useMemo(()=>{if(!Qr)return null;const Ae=`${Mn}-footer`;return we.createElement("div",{className:Ae,style:Zo},Qr)},[Qr,Zo,Mn]);return we.createElement("div",{className:`${Mn}-wrapper-body`,style:Di},pe,we.createElement("div",{className:`${Mn}-body`,style:Eo},Qo),Oe)},xl=ee(4173),ll=ee(67968),Uo=ee(45503),wl=Zn=>{const{componentCls:Mn,motionDurationSlow:dr}=Zn,Qr={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${dr}`}}};return{[Mn]:{[`${Mn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${dr}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Mn}-panel-motion`]:{"&-left":[Qr,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Qr,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Qr,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Qr,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Yo=Zn=>{const{componentCls:Mn,zIndexPopup:dr,colorBgMask:Qr,colorBgElevated:va,motionDurationSlow:pi,motionDurationMid:Ai,padding:Vi,paddingLG:ui,fontSizeLG:Di,lineHeightLG:Eo,lineWidth:Zo,lineType:Qo,colorSplit:He,marginSM:nt,colorIcon:It,colorIconHover:pe,colorText:Oe,fontWeightStrong:Ae,footerPaddingBlock:Ke,footerPaddingInline:Qe}=Zn,at=`${Mn}-content-wrapper`;return{[Mn]:{position:"fixed",inset:0,zIndex:dr,pointerEvents:"none","&-pure":{position:"relative",background:va,[`&${Mn}-left`]:{boxShadow:Zn.boxShadowDrawerLeft},[`&${Mn}-right`]:{boxShadow:Zn.boxShadowDrawerRight},[`&${Mn}-top`]:{boxShadow:Zn.boxShadowDrawerUp},[`&${Mn}-bottom`]:{boxShadow:Zn.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Mn}-mask`]:{position:"absolute",inset:0,zIndex:dr,background:Qr,pointerEvents:"auto"},[at]:{position:"absolute",zIndex:dr,maxWidth:"100vw",transition:`all ${pi}`,"&-hidden":{display:"none"}},[`&-left > ${at}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Zn.boxShadowDrawerLeft},[`&-right > ${at}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Zn.boxShadowDrawerRight},[`&-top > ${at}`]:{top:0,insetInline:0,boxShadow:Zn.boxShadowDrawerUp},[`&-bottom > ${at}`]:{bottom:0,insetInline:0,boxShadow:Zn.boxShadowDrawerDown},[`${Mn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:va,pointerEvents:"auto"},[`${Mn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Mn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Vi}px ${ui}px`,fontSize:Di,lineHeight:Eo,borderBottom:`${Zo}px ${Qo} ${He}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Mn}-extra`]:{flex:"none"},[`${Mn}-close`]:{display:"inline-block",marginInlineEnd:nt,color:It,fontWeight:Ae,fontSize:Di,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Ai}`,textRendering:"auto","&:focus, &:hover":{color:pe,textDecoration:"none"}},[`${Mn}-title`]:{flex:1,margin:0,color:Oe,fontWeight:Zn.fontWeightStrong,fontSize:Di,lineHeight:Eo},[`${Mn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:ui,overflow:"auto"},[`${Mn}-footer`]:{flexShrink:0,padding:`${Ke}px ${Qe}px`,borderTop:`${Zo}px ${Qo} ${He}`},"&-rtl":{direction:"rtl"}}}};var gl=(0,ll.Z)("Drawer",Zn=>{const Mn=(0,Uo.TS)(Zn,{});return[Yo(Mn),wl(Mn)]},Zn=>({zIndexPopup:Zn.zIndexPopupBase,footerPaddingBlock:Zn.paddingXS,footerPaddingInline:Zn.padding})),zl=ee(16569),Sl=function(Zn,Mn){var dr={};for(var Qr in Zn)Object.prototype.hasOwnProperty.call(Zn,Qr)&&Mn.indexOf(Qr)<0&&(dr[Qr]=Zn[Qr]);if(Zn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var va=0,Qr=Object.getOwnPropertySymbols(Zn);va<Qr.length;va++)Mn.indexOf(Qr[va])<0&&Object.prototype.propertyIsEnumerable.call(Zn,Qr[va])&&(dr[Qr[va]]=Zn[Qr[va]]);return dr};const Cl=null,wi={distance:180},ko=Zn=>{var Mn;const{rootClassName:dr,width:Qr,height:va,size:pi="default",mask:Ai=!0,push:Vi=wi,open:ui,afterOpenChange:Di,onClose:Eo,prefixCls:Zo,getContainer:Qo,style:He,className:nt,visible:It,afterVisibleChange:pe}=Zn,Oe=Sl(Zn,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Ae,getPrefixCls:Ke,direction:Qe,drawer:at}=we.useContext(oi.E_),ft=Ke("drawer",Zo),[Xt,an]=gl(ft),Qn=Qo===void 0&&Ae?()=>Ae(document.body):Qo,cr=de()({"no-mask":!Ai,[`${ft}-rtl`]:Qe==="rtl"},dr,an),Ar=we.useMemo(()=>Qr!=null?Qr:pi==="large"?736:378,[Qr,pi]),Dn=we.useMemo(()=>va!=null?va:pi==="large"?736:378,[va,pi]),$n={motionName:(0,no.m)(ft,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Jn=Hr=>({motionName:(0,no.m)(ft,`panel-motion-${Hr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),kr=(0,zl.H)();return Xt(we.createElement(xl.BR,null,we.createElement(so.Ux,{status:!0,override:!0},we.createElement(ni,Object.assign({prefixCls:ft,onClose:Eo,maskMotion:$n,motion:Jn},Oe,{open:ui!=null?ui:It,mask:Ai,push:Vi,width:Ar,height:Dn,style:Object.assign(Object.assign({},at==null?void 0:at.style),He),className:de()(at==null?void 0:at.className,nt),rootClassName:cr,getContainer:Qn,afterOpenChange:Di!=null?Di:pe,panelRef:kr}),we.createElement(xo,Object.assign({prefixCls:ft},Oe,{onClose:Eo}))))))},Pi=Zn=>{const{prefixCls:Mn,style:dr,className:Qr,placement:va="right"}=Zn,pi=Sl(Zn,["prefixCls","style","className","placement"]),{getPrefixCls:Ai}=we.useContext(oi.E_),Vi=Ai("drawer",Mn),[ui,Di]=gl(Vi),Eo=de()(Vi,`${Vi}-pure`,`${Vi}-${va}`,Di,Qr);return ui(we.createElement("div",{className:Eo,style:dr},we.createElement(xo,Object.assign({prefixCls:Vi},pi))))};ko._InternalPanelDoNotUseOrYouWillBeFired=Pi;var Ci=ko},35874:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ge}});var ne=ee(67294),de=ee(91034),Me=ee(94184),et=ee.n(Me),we=ee(87462),ke=ee(4942),ce=ee(97685),Se=ee(45987),me=ee(62709),Pe=ee(71002),Xe=ee(12060);function fe(se,je,xt){var En=React.useRef({});return(!("value"in En.current)||xt(En.current.condition,je))&&(En.current.value=se(),En.current.condition=je),En.current.value}function Ge(se,je){typeof se=="function"?se(je):(0,Pe.Z)(se)==="object"&&se&&"current"in se&&(se.current=je)}function pt(){for(var se=arguments.length,je=new Array(se),xt=0;xt<se;xt++)je[xt]=arguments[xt];var En=je.filter(function(un){return un});return En.length<=1?En[0]:function(un){je.forEach(function(Pn){Ge(Pn,un)})}}function ot(){for(var se=arguments.length,je=new Array(se),xt=0;xt<se;xt++)je[xt]=arguments[xt];return useMemo(function(){return pt.apply(void 0,je)},je,function(En,un){return En.length===un.length&&En.every(function(Pn,Xn){return Pn===un[Xn]})})}function vt(se){var je,xt,En=(0,Xe.isMemo)(se)?se.type.type:se.type;return!(typeof En=="function"&&!((je=En.prototype)!==null&&je!==void 0&&je.render)||typeof se=="function"&&!((xt=se.prototype)!==null&&xt!==void 0&&xt.render))}var Ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(je){var xt=je.keyCode;if(je.altKey&&!je.ctrlKey||je.metaKey||xt>=Ee.F1&&xt<=Ee.F12)return!1;switch(xt){case Ee.ALT:case Ee.CAPS_LOCK:case Ee.CONTEXT_MENU:case Ee.CTRL:case Ee.DOWN:case Ee.END:case Ee.ESC:case Ee.HOME:case Ee.INSERT:case Ee.LEFT:case Ee.MAC_FF_META:case Ee.META:case Ee.NUMLOCK:case Ee.NUM_CENTER:case Ee.PAGE_DOWN:case Ee.PAGE_UP:case Ee.PAUSE:case Ee.PRINT_SCREEN:case Ee.RIGHT:case Ee.SHIFT:case Ee.UP:case Ee.WIN_KEY:case Ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(je){if(je>=Ee.ZERO&&je<=Ee.NINE||je>=Ee.NUM_ZERO&&je<=Ee.NUM_MULTIPLY||je>=Ee.A&&je<=Ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&je===0)return!0;switch(je){case Ee.SPACE:case Ee.QUESTION_MARK:case Ee.NUM_PLUS:case Ee.NUM_MINUS:case Ee.NUM_PERIOD:case Ee.NUM_DIVISION:case Ee.SEMICOLON:case Ee.DASH:case Ee.EQUALS:case Ee.COMMA:case Ee.PERIOD:case Ee.SLASH:case Ee.APOSTROPHE:case Ee.SINGLE_QUOTE:case Ee.OPEN_SQUARE_BRACKET:case Ee.BACKSLASH:case Ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},wt=Ee,Rt=function(je){return+setTimeout(je,16)},tt=function(je){return clearTimeout(je)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Rt=function(je){return window.requestAnimationFrame(je)},tt=function(je){return window.cancelAnimationFrame(je)});var st=0,ye=new Map;function ue(se){ye.delete(se)}var $e=function(je){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;st+=1;var En=st;function un(Pn){if(Pn===0)ue(En),je();else{var Xn=Rt(function(){un(Pn-1)});ye.set(En,Xn)}}return un(xt),En};$e.cancel=function(se){var je=ye.get(se);return ue(je),tt(je)};var Je=$e,ht=wt.ESC,yt=wt.TAB;function Fe(se){var je=se.visible,xt=se.triggerRef,En=se.onVisibleChange,un=se.autoFocus,Pn=se.overlayRef,Xn=ne.useRef(!1),_n=function(){if(je){var On,Qt;(On=xt.current)===null||On===void 0||(Qt=On.focus)===null||Qt===void 0||Qt.call(On),En==null||En(!1)}},Vt=function(){var On;return(On=Pn.current)!==null&&On!==void 0&&On.focus?(Pn.current.focus(),Xn.current=!0,!0):!1},yn=function(On){switch(On.keyCode){case ht:_n();break;case yt:{var Qt=!1;Xn.current||(Qt=Vt()),Qt?On.preventDefault():_n();break}}};ne.useEffect(function(){return je?(window.addEventListener("keydown",yn),un&&Je(Vt,3),function(){window.removeEventListener("keydown",yn),Xn.current=!1}):function(){Xn.current=!1}},[je])}var Be=(0,ne.forwardRef)(function(se,je){var xt=se.overlay,En=se.arrow,un=se.prefixCls,Pn=(0,ne.useMemo)(function(){var _n;return typeof xt=="function"?_n=xt():_n=xt,_n},[xt]),Xn=pt(je,Pn==null?void 0:Pn.ref);return ne.createElement(ne.Fragment,null,En&&ne.createElement("div",{className:"".concat(un,"-arrow")}),ne.cloneElement(Pn,{ref:vt(Pn)?Xn:void 0}))}),mt=Be,ze={adjustX:1,adjustY:1},ut=[0,0],rt={topLeft:{points:["bl","tl"],overflow:ze,offset:[0,-4],targetOffset:ut},top:{points:["bc","tc"],overflow:ze,offset:[0,-4],targetOffset:ut},topRight:{points:["br","tr"],overflow:ze,offset:[0,-4],targetOffset:ut},bottomLeft:{points:["tl","bl"],overflow:ze,offset:[0,4],targetOffset:ut},bottom:{points:["tc","bc"],overflow:ze,offset:[0,4],targetOffset:ut},bottomRight:{points:["tr","br"],overflow:ze,offset:[0,4],targetOffset:ut}},Tt=rt,Bt=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function en(se,je){var xt,En=se.arrow,un=En===void 0?!1:En,Pn=se.prefixCls,Xn=Pn===void 0?"rc-dropdown":Pn,_n=se.transitionName,Vt=se.animation,yn=se.align,Kn=se.placement,On=Kn===void 0?"bottomLeft":Kn,Qt=se.placements,Dr=Qt===void 0?Tt:Qt,jt=se.getPopupContainer,rn=se.showAction,Ir=se.hideAction,ur=se.overlayClassName,Rr=se.overlayStyle,aa=se.visible,qn=se.trigger,Pa=qn===void 0?["hover"]:qn,Fa=se.autoFocus,_a=se.overlay,Xr=se.children,Da=se.onVisibleChange,Mi=(0,Se.Z)(se,Bt),Si=ne.useState(),zi=(0,ce.Z)(Si,2),fi=zi[0],Tn=zi[1],bn="visible"in se?aa:fi,ir=ne.useRef(null),Cr=ne.useRef(null),Or=ne.useRef(null);ne.useImperativeHandle(je,function(){return ir.current});var Lr=function(Vn){Tn(Vn),Da==null||Da(Vn)};Fe({visible:bn,triggerRef:Or,onVisibleChange:Lr,autoFocus:Fa,overlayRef:Cr});var sa=function(Vn){var kn=se.onOverlayClick;Tn(!1),kn&&kn(Vn)},pn=function(){return ne.createElement(mt,{ref:Cr,overlay:_a,prefixCls:Xn,arrow:un})},At=function(){return typeof _a=="function"?pn:pn()},Zt=function(){var Vn=se.minOverlayWidthMatchTrigger,kn=se.alignPoint;return"minOverlayWidthMatchTrigger"in se?Vn:!kn},on=function(){var Vn=se.openClassName;return Vn!==void 0?Vn:"".concat(Xn,"-open")},Yn=ne.cloneElement(Xr,{className:et()((xt=Xr.props)===null||xt===void 0?void 0:xt.className,bn&&on()),ref:vt(Xr)?pt(Or,Xr.ref):void 0}),Dt=Ir;return!Dt&&Pa.indexOf("contextMenu")!==-1&&(Dt=["click"]),ne.createElement(me.Z,(0,we.Z)({builtinPlacements:Dr},Mi,{prefixCls:Xn,ref:ir,popupClassName:et()(ur,(0,ke.Z)({},"".concat(Xn,"-show-arrow"),un)),popupStyle:Rr,action:Pa,showAction:rn,hideAction:Dt,popupPlacement:On,popupAlign:yn,popupTransitionName:_n,popupAnimation:Vt,popupVisible:bn,stretch:Zt()?"minWidth":"",popup:At(),onPopupVisibleChange:Lr,onPopupClick:sa,getPopupContainer:jt}),Yn)}var ct=ne.forwardRef(en),Ie=ct,Mt=ee(60276),vn=ee(5663),qt=ee(10366),Nt=ee(80636),Kt=ee(8745),nn=ee(96159),Cn=ee(53124),Sn=ee(68508),tn=ee(76529),In=ee(29691),br=ee(66748);const gn=null,Ye=se=>{const{menu:je,arrow:xt,prefixCls:En,children:un,trigger:Pn,disabled:Xn,dropdownRender:_n,getPopupContainer:Vt,overlayClassName:yn,rootClassName:Kn,open:On,onOpenChange:Qt,visible:Dr,onVisibleChange:jt,mouseEnterDelay:rn=.15,mouseLeaveDelay:Ir=.1,autoAdjustOverflow:ur=!0,placement:Rr="",overlay:aa,transitionName:qn}=se,{getPopupContainer:Pa,getPrefixCls:Fa,direction:_a}=ne.useContext(Cn.E_),Xr=ne.useMemo(()=>{const Yn=Fa();return qn!==void 0?qn:Rr.includes("top")?`${Yn}-slide-down`:`${Yn}-slide-up`},[Fa,Rr,qn]),Da=ne.useMemo(()=>Rr?Rr.includes("Center")?Rr.slice(0,Rr.indexOf("Center")):Rr:_a==="rtl"?"bottomRight":"bottomLeft",[Rr,_a]),Mi=Fa("dropdown",En),[Si,zi]=(0,br.Z)(Mi),[,fi]=(0,In.Z)(),Tn=ne.Children.only(un),bn=(0,nn.Tm)(Tn,{className:et()(`${Mi}-trigger`,{[`${Mi}-rtl`]:_a==="rtl"},Tn.props.className),disabled:Xn}),ir=Xn?[]:Pn;let Cr;ir&&ir.includes("contextMenu")&&(Cr=!0);const[Or,Lr]=(0,vn.Z)(!1,{value:On!=null?On:Dr}),sa=(0,Mt.useEvent)(Yn=>{Qt==null||Qt(Yn),jt==null||jt(Yn),Lr(Yn)}),pn=et()(yn,Kn,zi,{[`${Mi}-rtl`]:_a==="rtl"}),At=(0,Nt.Z)({arrowPointAtCenter:typeof xt=="object"&&xt.pointAtCenter,autoAdjustOverflow:ur,offset:fi.marginXXS,arrowWidth:xt?fi.sizePopupArrow:0,borderRadius:fi.borderRadius}),Zt=ne.useCallback(()=>{Lr(!1)},[]),on=()=>{let Yn;return je!=null&&je.items?Yn=ne.createElement(Sn.default,Object.assign({},je)):typeof aa=="function"?Yn=aa():Yn=aa,_n&&(Yn=_n(Yn)),Yn=ne.Children.only(typeof Yn=="string"?ne.createElement("span",null,Yn):Yn),ne.createElement(tn.J,{prefixCls:`${Mi}-menu`,expandIcon:ne.createElement("span",{className:`${Mi}-menu-submenu-arrow`},ne.createElement(de.Z,{className:`${Mi}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Zt,validator:Dt=>{let{mode:fn}=Dt}},Yn)};return Si(ne.createElement(Ie,Object.assign({alignPoint:Cr},(0,qt.Z)(se,["rootClassName"]),{mouseEnterDelay:rn,mouseLeaveDelay:Ir,visible:Or,builtinPlacements:At,arrow:!!xt,overlayClassName:pn,prefixCls:Mi,getPopupContainer:Vt||Pa,transitionName:Xr,trigger:ir,overlay:on,placement:Da,onVisibleChange:sa}),bn))};function ve(se){return Object.assign(Object.assign({},se),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const he=(0,Kt.Z)(Ye,"dropdown",se=>se,ve),be=se=>ne.createElement(he,Object.assign({},se),ne.createElement("span",null));Ye._InternalPanelDoNotUseOrYouWillBeFired=be;var ge=Ye},85418:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ot}});var ne=ee(35874),de=ee(94184),Me=ee.n(de),et=ee(67294),we=ee(25877),ke=ee(71577),ce=ee(53124),Se=ee(93421),me=ee(4173),Pe=ee(66748),Xe=function(vt,Ee){var wt={};for(var Rt in vt)Object.prototype.hasOwnProperty.call(vt,Rt)&&Ee.indexOf(Rt)<0&&(wt[Rt]=vt[Rt]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Rt=Object.getOwnPropertySymbols(vt);tt<Rt.length;tt++)Ee.indexOf(Rt[tt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Rt[tt])&&(wt[Rt[tt]]=vt[Rt[tt]]);return wt};const fe=vt=>{const{getPopupContainer:Ee,getPrefixCls:wt,direction:Rt}=et.useContext(ce.E_),{prefixCls:tt,type:st="default",danger:ye,disabled:ue,loading:$e,onClick:Je,htmlType:ht,children:yt,className:Fe,menu:Be,arrow:mt,autoFocus:ze,overlay:ut,trigger:rt,align:Tt,open:Bt,onOpenChange:en,placement:ct,getPopupContainer:Ie,href:Mt,icon:vn=et.createElement(we.Z,null),title:qt,buttonsRender:Nt=Xn=>Xn,mouseEnterDelay:Kt,mouseLeaveDelay:nn,overlayClassName:Cn,overlayStyle:Sn,destroyPopupOnHide:tn,dropdownRender:In}=vt,br=Xe(vt,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),gn=wt("dropdown",tt),Ye=`${gn}-button`,[ve,he]=(0,Pe.Z)(gn),be={menu:Be,arrow:mt,autoFocus:ze,align:Tt,disabled:ue,trigger:ue?[]:rt,onOpenChange:en,getPopupContainer:Ie||Ee,mouseEnterDelay:Kt,mouseLeaveDelay:nn,overlayClassName:Cn,overlayStyle:Sn,destroyPopupOnHide:tn,dropdownRender:In},{compactSize:ge,compactItemClassnames:se}=(0,me.ri)(gn,Rt),je=Me()(Ye,se,Fe,he);"overlay"in vt&&(be.overlay=ut),"open"in vt&&(be.open=Bt),"placement"in vt?be.placement=ct:be.placement=Rt==="rtl"?"bottomLeft":"bottomRight";const xt=et.createElement(ke.ZP,{type:st,danger:ye,disabled:ue,loading:$e,onClick:Je,htmlType:ht,href:Mt,title:qt},yt),En=et.createElement(ke.ZP,{type:st,danger:ye,icon:vn}),[un,Pn]=Nt([xt,En]);return ve(et.createElement(Se.Z.Compact,Object.assign({className:je,size:ge,block:!0},br),un,et.createElement(ne.Z,Object.assign({},be),Pn)))};fe.__ANT_BUTTON=!0;var Ge=fe;const pt=ne.Z;pt.Button=Ge;var ot=pt},66748:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Xe}});var ne=ee(14747),de=ee(67771),Me=ee(33297),et=ee(50438),we=ee(97414),ke=ee(67968),ce=ee(45503),me=fe=>{const{componentCls:Ge,menuCls:pt,colorError:ot,colorTextLightSolid:vt}=fe,Ee=`${pt}-item`;return{[`${Ge}, ${Ge}-menu-submenu`]:{[`${pt} ${Ee}`]:{[`&${Ee}-danger:not(${Ee}-disabled)`]:{color:ot,"&:hover":{color:vt,backgroundColor:ot}}}}}};const Pe=fe=>{const{componentCls:Ge,menuCls:pt,zIndexPopup:ot,dropdownArrowDistance:vt,sizePopupArrow:Ee,antCls:wt,iconCls:Rt,motionDurationMid:tt,dropdownPaddingVertical:st,fontSize:ye,dropdownEdgeChildPadding:ue,colorTextDisabled:$e,fontSizeIcon:Je,controlPaddingHorizontal:ht,colorBgElevated:yt}=fe;return[{[Ge]:Object.assign(Object.assign({},(0,ne.Wf)(fe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ot,display:"block","&::before":{position:"absolute",insetBlock:-vt+Ee/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${wt}-btn`]:{[`& > ${Rt}-down, & > ${wt}-btn-icon > ${Rt}-down`]:{fontSize:Je}},[`${Ge}-wrap`]:{position:"relative",[`${wt}-btn > ${Rt}-down`]:{fontSize:Je},[`${Rt}-down::before`]:{transition:`transform ${tt}`}},[`${Ge}-wrap-open`]:{[`${Rt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ge}-placement-bottomLeft,
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ge}-placement-bottomLeft,
&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ge}-placement-bottom,
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ge}-placement-bottom,
&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ge}-placement-bottomRight,
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ge}-placement-bottomRight`]:{animationName:de.fJ},[`&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ge}-placement-topLeft,
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ge}-placement-topLeft,
&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ge}-placement-top,
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ge}-placement-top,
&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ge}-placement-topRight,
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ge}-placement-topRight`]:{animationName:de.Qt},[`&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ge}-placement-bottomLeft,
&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ge}-placement-bottom,
&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ge}-placement-bottomRight`]:{animationName:de.Uw},[`&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ge}-placement-topLeft,
&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ge}-placement-top,
&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ge}-placement-topRight`]:{animationName:de.ly}})},(0,we.ZP)(fe,{colorBg:yt,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ge} ${pt}`]:{position:"relative",margin:0},[`${pt}-submenu-popup`]:{position:"absolute",zIndex:ot,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ge}, ${Ge}-menu-submenu`]:{[pt]:Object.assign(Object.assign({padding:ue,listStyleType:"none",backgroundColor:yt,backgroundClip:"padding-box",borderRadius:fe.borderRadiusLG,outline:"none",boxShadow:fe.boxShadowSecondary},(0,ne.Qy)(fe)),{[`${pt}-item-group-title`]:{padding:`${st}px ${ht}px`,color:fe.colorTextDescription,transition:`all ${tt}`},[`${pt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${pt}-item-icon`]:{minWidth:ye,marginInlineEnd:fe.marginXS,fontSize:fe.fontSizeSM},[`${pt}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${tt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${pt}-item, ${pt}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${st}px ${ht}px`,color:fe.colorText,fontWeight:"normal",fontSize:ye,lineHeight:fe.lineHeight,cursor:"pointer",transition:`all ${tt}`,borderRadius:fe.borderRadiusSM,"&:hover, &-active":{backgroundColor:fe.controlItemBgHover}},(0,ne.Qy)(fe)),{"&-selected":{color:fe.colorPrimary,backgroundColor:fe.controlItemBgActive,"&:hover, &-active":{backgroundColor:fe.controlItemBgActiveHover}},"&-disabled":{color:$e,cursor:"not-allowed","&:hover":{color:$e,backgroundColor:yt,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${fe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:fe.colorSplit},[`${Ge}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:fe.paddingXS,[`${Ge}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:fe.colorTextDescription,fontSize:Je,fontStyle:"normal"}}}),[`${pt}-item-group-list`]:{margin:`0 ${fe.marginXS}px`,padding:0,listStyle:"none"},[`${pt}-submenu-title`]:{paddingInlineEnd:ht+fe.fontSizeSM},[`${pt}-submenu-vertical`]:{position:"relative"},[`${pt}-submenu${pt}-submenu-disabled ${Ge}-menu-submenu-title`]:{[`&, ${Ge}-menu-submenu-arrow-icon`]:{color:$e,backgroundColor:yt,cursor:"not-allowed"}},[`${pt}-submenu-selected ${Ge}-menu-submenu-title`]:{color:fe.colorPrimary}})}},[(0,de.oN)(fe,"slide-up"),(0,de.oN)(fe,"slide-down"),(0,Me.Fm)(fe,"move-up"),(0,Me.Fm)(fe,"move-down"),(0,et._y)(fe,"zoom-big")]]};var Xe=(0,ke.Z)("Dropdown",(fe,Ge)=>{let{rootPrefixCls:pt}=Ge;const{marginXXS:ot,sizePopupArrow:vt,controlHeight:Ee,fontSize:wt,lineHeight:Rt,paddingXXS:tt,componentCls:st,borderRadiusLG:ye}=fe,ue=(Ee-wt*Rt)/2,{dropdownArrowOffset:$e}=(0,we.fS)({contentRadius:ye}),Je=(0,ce.TS)(fe,{menuCls:`${st}-menu`,rootPrefixCls:pt,dropdownArrowDistance:vt/2+ot,dropdownArrowOffset:$e,dropdownPaddingVertical:ue,dropdownEdgeChildPadding:tt});return[Pe(Je),me(Je)]},fe=>({zIndexPopup:fe.zIndexPopupBase+50}))},32983:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return tt}});var ne=ee(94184),de=ee.n(ne),Me=ee(67294),et=ee(53124),we=ee(10110),ke=ee(84780),ce=ee(29691),me=()=>{const[,st]=(0,ce.Z)(),ue=new ke.C(st.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return Me.createElement("svg",{style:ue,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},Me.createElement("g",{fill:"none",fillRule:"evenodd"},Me.createElement("g",{transform:"translate(24 31.67)"},Me.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),Me.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"}),Me.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)"}),Me.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"}),Me.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"})),Me.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"}),Me.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},Me.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),Me.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Xe=()=>{const[,st]=(0,ce.Z)(),{colorFill:ye,colorFillTertiary:ue,colorFillQuaternary:$e,colorBgContainer:Je}=st,{borderColor:ht,shadowColor:yt,contentColor:Fe}=(0,Me.useMemo)(()=>({borderColor:new ke.C(ye).onBackground(Je).toHexShortString(),shadowColor:new ke.C(ue).onBackground(Je).toHexShortString(),contentColor:new ke.C($e).onBackground(Je).toHexShortString()}),[ye,ue,$e,Je]);return Me.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},Me.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},Me.createElement("ellipse",{fill:yt,cx:"32",cy:"33",rx:"32",ry:"7"}),Me.createElement("g",{fillRule:"nonzero",stroke:ht},Me.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"}),Me.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:Fe}))))},fe=ee(67968),Ge=ee(45503);const pt=st=>{const{componentCls:ye,margin:ue,marginXS:$e,marginXL:Je,fontSize:ht,lineHeight:yt}=st;return{[ye]:{marginInline:$e,fontSize:ht,lineHeight:yt,textAlign:"center",[`${ye}-image`]:{height:st.emptyImgHeight,marginBottom:$e,opacity:st.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ye}-description`]:{color:st.colorText},[`${ye}-footer`]:{marginTop:ue},"&-normal":{marginBlock:Je,color:st.colorTextDisabled,[`${ye}-description`]:{color:st.colorTextDisabled},[`${ye}-image`]:{height:st.emptyImgHeightMD}},"&-small":{marginBlock:$e,color:st.colorTextDisabled,[`${ye}-image`]:{height:st.emptyImgHeightSM}}}}};var ot=(0,fe.Z)("Empty",st=>{const{componentCls:ye,controlHeightLG:ue}=st,$e=(0,Ge.TS)(st,{emptyImgCls:`${ye}-img`,emptyImgHeight:ue*2.5,emptyImgHeightMD:ue,emptyImgHeightSM:ue*.875});return[pt($e)]}),vt=function(st,ye){var ue={};for(var $e in st)Object.prototype.hasOwnProperty.call(st,$e)&&ye.indexOf($e)<0&&(ue[$e]=st[$e]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,$e=Object.getOwnPropertySymbols(st);Je<$e.length;Je++)ye.indexOf($e[Je])<0&&Object.prototype.propertyIsEnumerable.call(st,$e[Je])&&(ue[$e[Je]]=st[$e[Je]]);return ue};const Ee=Me.createElement(me,null),wt=Me.createElement(Xe,null),Rt=st=>{var{className:ye,rootClassName:ue,prefixCls:$e,image:Je=Ee,description:ht,children:yt,imageStyle:Fe,style:Be}=st,mt=vt(st,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:ze,direction:ut,empty:rt}=Me.useContext(et.E_),Tt=ze("empty",$e),[Bt,en]=ot(Tt),[ct]=(0,we.Z)("Empty"),Ie=typeof ht!="undefined"?ht:ct==null?void 0:ct.description,Mt=typeof Ie=="string"?Ie:"empty";let vn=null;return typeof Je=="string"?vn=Me.createElement("img",{alt:Mt,src:Je}):vn=Je,Bt(Me.createElement("div",Object.assign({className:de()(en,Tt,rt==null?void 0:rt.className,{[`${Tt}-normal`]:Je===wt,[`${Tt}-rtl`]:ut==="rtl"},ye,ue),style:Object.assign(Object.assign({},rt==null?void 0:rt.style),Be)},mt),Me.createElement("div",{className:`${Tt}-image`,style:Fe},vn),Ie&&Me.createElement("div",{className:`${Tt}-description`},Ie),yt&&Me.createElement("div",{className:`${Tt}-footer`},yt)))};Rt.PRESENTED_IMAGE_DEFAULT=Ee,Rt.PRESENTED_IMAGE_SIMPLE=wt;var tt=Rt},22150:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return Yn}});var ne=ee(74902),de=ee(94184),Me=ee.n(de),et=ee(38379),we=ee(67294),ke=ee(33603),ce=ee(65223);function Se(Dt){const[fn,Vn]=we.useState(Dt);return we.useEffect(()=>{const kn=setTimeout(()=>{Vn(Dt)},Dt.length?0:10);return()=>{clearTimeout(kn)}},[Dt]),fn}var me=ee(14747),Pe=ee(50438),Xe=ee(33507),fe=ee(45503),Ge=ee(67968),ot=Dt=>{const{componentCls:fn}=Dt,Vn=`${fn}-show-help`,kn=`${fn}-show-help-item`;return{[Vn]:{transition:`opacity ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[kn]:{overflow:"hidden",transition:`height ${Dt.motionDurationSlow} ${Dt.motionEaseInOut},
opacity ${Dt.motionDurationSlow} ${Dt.motionEaseInOut},
transform ${Dt.motionDurationSlow} ${Dt.motionEaseInOut} !important`,[`&${kn}-appear, &${kn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${kn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const vt=Dt=>({legend:{display:"block",width:"100%",marginBottom:Dt.marginLG,padding:0,color:Dt.colorTextDescription,fontSize:Dt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Dt.lineWidth}px ${Dt.lineType} ${Dt.colorBorder}`},label:{fontSize:Dt.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Dt.controlOutlineWidth}px ${Dt.controlOutline}`},output:{display:"block",paddingTop:15,color:Dt.colorText,fontSize:Dt.fontSize,lineHeight:Dt.lineHeight}}),Ee=(Dt,fn)=>{const{formItemCls:Vn}=Dt;return{[Vn]:{[`${Vn}-label > label`]:{height:fn},[`${Vn}-control-input`]:{minHeight:fn}}}},wt=Dt=>{const{componentCls:fn}=Dt;return{[Dt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,me.Wf)(Dt)),vt(Dt)),{[`${fn}-text`]:{display:"inline-block",paddingInlineEnd:Dt.paddingSM},"&-small":Object.assign({},Ee(Dt,Dt.controlHeightSM)),"&-large":Object.assign({},Ee(Dt,Dt.controlHeightLG))})}},Rt=Dt=>{const{formItemCls:fn,iconCls:Vn,componentCls:kn,rootPrefixCls:rr,labelRequiredMarkColor:fr,labelColor:mn,labelFontSize:Ta,labelHeight:ha,labelColonMarginInlineStart:ya,labelColonMarginInlineEnd:Sa,itemMarginBottom:Ma}=Dt;return{[fn]:Object.assign(Object.assign({},(0,me.Wf)(Dt)),{marginBottom:Ma,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${rr}-row`]:{display:"none"},"&-has-warning":{[`${fn}-split`]:{color:Dt.colorError}},"&-has-error":{[`${fn}-split`]:{color:Dt.colorWarning}},[`${fn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Dt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ha,color:mn,fontSize:Ta,[`> ${Vn}`]:{fontSize:Dt.fontSize,verticalAlign:"top"},[`&${fn}-required:not(${fn}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Dt.marginXXS,color:fr,fontSize:Dt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${kn}-hide-required-mark &`]:{display:"none"}},[`${fn}-optional`]:{display:"inline-block",marginInlineStart:Dt.marginXXS,color:Dt.colorTextDescription,[`${kn}-hide-required-mark &`]:{display:"none"}},[`${fn}-tooltip`]:{color:Dt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Dt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:ya,marginInlineEnd:Sa},[`&${fn}-no-colon::after`]:{content:'"\\a0"'}}},[`${fn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${rr}-col-'"]):not([class*="' ${rr}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Dt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[fn]:{"&-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 ${fn}-explain`]:{height:"auto",opacity:1},[`${fn}-feedback-icon`]:{fontSize:Dt.fontSize,textAlign:"center",visibility:"visible",animationName:Pe.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}}})}},tt=Dt=>{const{componentCls:fn,formItemCls:Vn}=Dt;return{[`${fn}-horizontal`]:{[`${Vn}-label`]:{flexGrow:0},[`${Vn}-control`]:{flex:"1 1 0",minWidth:0},[`${Vn}-label[class$='-24'], ${Vn}-label[class*='-24 ']`]:{[`& + ${Vn}-control`]:{minWidth:"unset"}}}}},st=Dt=>{const{componentCls:fn,formItemCls:Vn}=Dt;return{[`${fn}-inline`]:{display:"flex",flexWrap:"wrap",[Vn]:{flex:"none",marginInlineEnd:Dt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Vn}-label,
> ${Vn}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Vn}-label`]:{flex:"none"},[`${fn}-text`]:{display:"inline-block"},[`${Vn}-has-feedback`]:{display:"inline-block"}}}}},ye=Dt=>({padding:Dt.verticalLabelPadding,margin:Dt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ue=Dt=>{const{componentCls:fn,formItemCls:Vn,rootPrefixCls:kn}=Dt;return{[`${Vn} ${Vn}-label`]:ye(Dt),[fn]:{[Vn]:{flexWrap:"wrap",[`${Vn}-label, ${Vn}-control`]:{[`&:not([class*=" ${kn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},$e=Dt=>{const{componentCls:fn,formItemCls:Vn,rootPrefixCls:kn}=Dt;return{[`${fn}-vertical`]:{[Vn]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${fn}-item-control`]:{width:"100%"}}},[`${fn}-vertical ${Vn}-label,
.${kn}-col-24${Vn}-label,
.${kn}-col-xl-24${Vn}-label`]:ye(Dt),[`@media (max-width: ${Dt.screenXSMax}px)`]:[ue(Dt),{[fn]:{[`.${kn}-col-xs-24${Vn}-label`]:ye(Dt)}}],[`@media (max-width: ${Dt.screenSMMax}px)`]:{[fn]:{[`.${kn}-col-sm-24${Vn}-label`]:ye(Dt)}},[`@media (max-width: ${Dt.screenMDMax}px)`]:{[fn]:{[`.${kn}-col-md-24${Vn}-label`]:ye(Dt)}},[`@media (max-width: ${Dt.screenLGMax}px)`]:{[fn]:{[`.${kn}-col-lg-24${Vn}-label`]:ye(Dt)}}}},Je=(Dt,fn)=>(0,fe.TS)(Dt,{formItemCls:`${Dt.componentCls}-item`,rootPrefixCls:fn});var ht=(0,Ge.Z)("Form",(Dt,fn)=>{let{rootPrefixCls:Vn}=fn;const kn=Je(Dt,Vn);return[wt(kn),Rt(kn),ot(kn),tt(kn),st(kn),$e(kn),(0,Xe.Z)(kn),Pe.kr]},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}),{order:-1e3});const yt=[];function Fe(Dt,fn,Vn){let kn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Dt=="string"?Dt:`${fn}-${kn}`,error:Dt,errorStatus:Vn}}var mt=Dt=>{let{help:fn,helpStatus:Vn,errors:kn=yt,warnings:rr=yt,className:fr,fieldId:mn,onVisibleChanged:Ta}=Dt;const{prefixCls:ha}=we.useContext(ce.Rk),ya=`${ha}-item-explain`,[,Sa]=ht(ha),Ma=(0,we.useMemo)(()=>(0,ke.Z)(ha),[ha]),pa=Se(kn),Er=Se(rr),qr=we.useMemo(()=>fn!=null?[Fe(fn,"help",Vn)]:[].concat((0,ne.Z)(pa.map((Fi,$a)=>Fe(Fi,"error","error",$a))),(0,ne.Z)(Er.map((Fi,$a)=>Fe(Fi,"warning","warning",$a)))),[fn,Vn,pa,Er]),Hi={};return mn&&(Hi.id=`${mn}_help`),we.createElement(et.default,{motionDeadline:Ma.motionDeadline,motionName:`${ha}-show-help`,visible:!!qr.length,onVisibleChanged:Ta},Fi=>{const{className:$a,style:ni}=Fi;return we.createElement("div",Object.assign({},Hi,{className:Me()(ya,$a,fr,Sa),style:ni,role:"alert"}),we.createElement(et.CSSMotionList,Object.assign({keys:qr},(0,ke.Z)(ha),{motionName:`${ha}-show-help-item`,component:!1}),no=>{const{key:oi,error:so,errorStatus:ta,className:to,style:xo}=no;return we.createElement("div",{key:oi,className:Me()(to,{[`${ya}-${ta}`]:ta}),style:xo},so)}))})},ze=ee(46660),ut=ee(53124),rt=ee(98866),Tt=ee(97647),Bt=ee(98675),en=ee(17423);const ct=["parentNode"],Ie="form_item";function Mt(Dt){return Dt===void 0||Dt===!1?[]:Array.isArray(Dt)?Dt:[Dt]}function vn(Dt,fn){if(!Dt.length)return;const Vn=Dt.join("_");return fn?`${fn}_${Vn}`:ct.includes(Vn)?`${Ie}_${Vn}`:Vn}function qt(Dt,fn,Vn,kn,rr,fr){let mn=kn;return fr!==void 0?mn=fr:Vn.validating?mn="validating":Dt.length?mn="error":fn.length?mn="warning":(Vn.touched||rr&&Vn.validated)&&(mn="success"),mn}function Nt(Dt){return Mt(Dt).join("_")}function Kt(Dt){const[fn]=(0,ze.useForm)(),Vn=we.useRef({}),kn=we.useMemo(()=>Dt!=null?Dt:Object.assign(Object.assign({},fn),{__INTERNAL__:{itemRef:rr=>fr=>{const mn=Nt(rr);fr?Vn.current[mn]=fr:delete Vn.current[mn]}},scrollToField:function(rr){let fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const mn=Mt(rr),Ta=vn(mn,kn.__INTERNAL__.name),ha=Ta?document.getElementById(Ta):null;ha&&(0,en.Z)(ha,Object.assign({scrollMode:"if-needed",block:"nearest"},fr))},getFieldInstance:rr=>{const fr=Nt(rr);return Vn.current[fr]}}),[Dt,fn]);return[kn]}var nn=ee(37920),Cn=function(Dt,fn){var Vn={};for(var kn in Dt)Object.prototype.hasOwnProperty.call(Dt,kn)&&fn.indexOf(kn)<0&&(Vn[kn]=Dt[kn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rr=0,kn=Object.getOwnPropertySymbols(Dt);rr<kn.length;rr++)fn.indexOf(kn[rr])<0&&Object.prototype.propertyIsEnumerable.call(Dt,kn[rr])&&(Vn[kn[rr]]=Dt[kn[rr]]);return Vn};const Sn=(Dt,fn)=>{const Vn=we.useContext(rt.Z),{getPrefixCls:kn,direction:rr,form:fr}=we.useContext(ut.E_),{prefixCls:mn,className:Ta,rootClassName:ha,size:ya,disabled:Sa=Vn,form:Ma,colon:pa,labelAlign:Er,labelWrap:qr,labelCol:Hi,wrapperCol:Fi,hideRequiredMark:$a,layout:ni="horizontal",scrollToFirstError:no,requiredMark:oi,onFinishFailed:so,name:ta,style:to,feedbackIcons:xo}=Dt,xl=Cn(Dt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),ll=(0,Bt.Z)(ya),Uo=we.useContext(nn.Z),co=(0,we.useMemo)(()=>oi!==void 0?oi:fr&&fr.requiredMark!==void 0?fr.requiredMark:!$a,[$a,oi,fr]),wl=pa!=null?pa:fr==null?void 0:fr.colon,Yo=kn("form",mn),[gl,zl]=ht(Yo),Sl=Me()(Yo,`${Yo}-${ni}`,{[`${Yo}-hide-required-mark`]:co===!1,[`${Yo}-rtl`]:rr==="rtl",[`${Yo}-${ll}`]:ll},zl,fr==null?void 0:fr.className,Ta,ha),[Cl]=Kt(Ma),{__INTERNAL__:wi}=Cl;wi.name=ta;const ko=(0,we.useMemo)(()=>({name:ta,labelAlign:Er,labelCol:Hi,labelWrap:qr,wrapperCol:Fi,vertical:ni==="vertical",colon:wl,requiredMark:co,itemRef:wi.itemRef,form:Cl,feedbackIcons:xo}),[ta,Er,Hi,Fi,ni,wl,co,Cl,xo]);we.useImperativeHandle(fn,()=>Cl);const Pi=(Zn,Mn)=>{if(Zn){let dr={block:"nearest"};typeof Zn=="object"&&(dr=Zn),Cl.scrollToField(Mn,dr)}},Ci=Zn=>{if(so==null||so(Zn),Zn.errorFields.length){const Mn=Zn.errorFields[0].name;if(no!==void 0){Pi(no,Mn);return}fr&&fr.scrollToFirstError!==void 0&&Pi(fr.scrollToFirstError,Mn)}};return gl(we.createElement(rt.n,{disabled:Sa},we.createElement(Tt.q,{size:ll},we.createElement(ce.RV,Object.assign({},{validateMessages:Uo}),we.createElement(ce.q3.Provider,{value:ko},we.createElement(ze.default,Object.assign({id:ta},xl,{name:ta,onFinishFailed:Ci,form:Cl,style:Object.assign(Object.assign({},fr==null?void 0:fr.style),to),className:Sl})))))))};var In=we.forwardRef(Sn),br=ee(9475),gn=ee(17799),Ye=ee(96159),ve=ee(37419);function he(Dt){if(typeof Dt=="function")return Dt;const fn=(0,ve.Z)(Dt);return fn.length<=1?fn[0]:fn}const be=()=>{const{status:Dt,errors:fn=[],warnings:Vn=[]}=(0,we.useContext)(ce.aM);return{status:Dt,errors:fn,warnings:Vn}};be.Context=ce.aM;var ge=be,se=ee(96523);function je(Dt){const[fn,Vn]=we.useState(Dt),kn=(0,we.useRef)(null),rr=(0,we.useRef)([]),fr=(0,we.useRef)(!1);we.useEffect(()=>(fr.current=!1,()=>{fr.current=!0,se.Z.cancel(kn.current),kn.current=null}),[]);function mn(Ta){fr.current||(kn.current===null&&(rr.current=[],kn.current=(0,se.Z)(()=>{kn.current=null,Vn(ha=>{let ya=ha;return rr.current.forEach(Sa=>{ya=Sa(ya)}),ya})})),rr.current.push(Ta))}return[fn,mn]}function xt(){const{itemRef:Dt}=we.useContext(ce.q3),fn=we.useRef({});function Vn(kn,rr){const fr=rr&&typeof rr=="object"&&rr.ref,mn=kn.join("_");return(fn.current.name!==mn||fn.current.originRef!==fr)&&(fn.current.name=mn,fn.current.originRef=fr,fn.current.ref=(0,gn.sQ)(Dt(kn),fr)),fn.current.ref}return Vn}var En=ee(48130),un=ee(14075),Pn=ee(10366),Xn=ee(92820),_n=ee(21584);const Vt=Dt=>{const{formItemCls:fn}=Dt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${fn}-control`]:{display:"flex"}}}};var yn=(0,Ge.b)(["Form","item-item"],(Dt,fn)=>{let{rootPrefixCls:Vn}=fn;const kn=Je(Dt,Vn);return[Vt(kn)]}),On=Dt=>{const{prefixCls:fn,status:Vn,wrapperCol:kn,children:rr,errors:fr,warnings:mn,_internalItemRender:Ta,extra:ha,help:ya,fieldId:Sa,marginBottom:Ma,onErrorVisibleChanged:pa}=Dt,Er=`${fn}-item`,qr=we.useContext(ce.q3),Hi=kn||qr.wrapperCol||{},Fi=Me()(`${Er}-control`,Hi.className),$a=we.useMemo(()=>Object.assign({},qr),[qr]);delete $a.labelCol,delete $a.wrapperCol;const ni=we.createElement("div",{className:`${Er}-control-input`},we.createElement("div",{className:`${Er}-control-input-content`},rr)),no=we.useMemo(()=>({prefixCls:fn,status:Vn}),[fn,Vn]),oi=Ma!==null||fr.length||mn.length?we.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},we.createElement(ce.Rk.Provider,{value:no},we.createElement(mt,{fieldId:Sa,errors:fr,warnings:mn,help:ya,helpStatus:Vn,className:`${Er}-explain-connected`,onVisibleChanged:pa})),!!Ma&&we.createElement("div",{style:{width:0,height:Ma}})):null,so={};Sa&&(so.id=`${Sa}_extra`);const ta=ha?we.createElement("div",Object.assign({},so,{className:`${Er}-extra`}),ha):null,to=Ta&&Ta.mark==="pro_table_render"&&Ta.render?Ta.render(Dt,{input:ni,errorList:oi,extra:ta}):we.createElement(we.Fragment,null,ni,oi,ta);return we.createElement(ce.q3.Provider,{value:$a},we.createElement(_n.Z,Object.assign({},Hi,{className:Fi}),to),we.createElement(yn,{prefixCls:fn}))},Qt=ee(17663),Dr=ee(24457),jt=ee(10110),rn=ee(83062),Ir=function(Dt,fn){var Vn={};for(var kn in Dt)Object.prototype.hasOwnProperty.call(Dt,kn)&&fn.indexOf(kn)<0&&(Vn[kn]=Dt[kn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rr=0,kn=Object.getOwnPropertySymbols(Dt);rr<kn.length;rr++)fn.indexOf(kn[rr])<0&&Object.prototype.propertyIsEnumerable.call(Dt,kn[rr])&&(Vn[kn[rr]]=Dt[kn[rr]]);return Vn};function ur(Dt){return Dt?typeof Dt=="object"&&!we.isValidElement(Dt)?Dt:{title:Dt}:null}var aa=Dt=>{let{prefixCls:fn,label:Vn,htmlFor:kn,labelCol:rr,labelAlign:fr,colon:mn,required:Ta,requiredMark:ha,tooltip:ya}=Dt;var Sa;const[Ma]=(0,jt.Z)("Form"),{vertical:pa,labelAlign:Er,labelCol:qr,labelWrap:Hi,colon:Fi}=we.useContext(ce.q3);if(!Vn)return null;const $a=rr||qr||{},ni=fr||Er,no=`${fn}-item-label`,oi=Me()(no,ni==="left"&&`${no}-left`,$a.className,{[`${no}-wrap`]:!!Hi});let so=Vn;const ta=mn===!0||Fi!==!1&&mn!==!1;ta&&!pa&&typeof Vn=="string"&&Vn.trim()!==""&&(so=Vn.replace(/[:|]\s*$/,""));const xo=ur(ya);if(xo){const{icon:co=we.createElement(Qt.Z,null)}=xo,wl=Ir(xo,["icon"]),Yo=we.createElement(rn.Z,Object.assign({},wl),we.cloneElement(co,{className:`${fn}-item-tooltip`,title:""}));so=we.createElement(we.Fragment,null,so,Yo)}const xl=ha==="optional",ll=typeof ha=="function";ll?so=ha(so,{required:!!Ta}):xl&&!Ta&&(so=we.createElement(we.Fragment,null,so,we.createElement("span",{className:`${fn}-item-optional`,title:""},(Ma==null?void 0:Ma.optional)||((Sa=Dr.Z.Form)===null||Sa===void 0?void 0:Sa.optional))));const Uo=Me()({[`${fn}-item-required`]:Ta,[`${fn}-item-required-mark-optional`]:xl||ll,[`${fn}-item-no-colon`]:!ta});return we.createElement(_n.Z,Object.assign({},$a,{className:oi}),we.createElement("label",{htmlFor:kn,className:Uo,title:typeof Vn=="string"?Vn:""},so))},qn=ee(87725),Pa=ee(16646),Fa=ee(87995),_a=ee(3407);const Xr={success:qn.Z,warning:Fa.Z,error:Pa.Z,validating:_a.Z};function Da(Dt){let{children:fn,errors:Vn,warnings:kn,hasFeedback:rr,validateStatus:fr,prefixCls:mn,meta:Ta,noStyle:ha}=Dt;const ya=`${mn}-item`,{feedbackIcons:Sa}=we.useContext(ce.q3),Ma=qt(Vn,kn,Ta,null,!!rr,fr),{isFormItemInput:pa,status:Er}=we.useContext(ce.aM),qr=we.useMemo(()=>{var Hi;let Fi;if(rr){const no=rr!==!0&&rr.icons||Sa,oi=Ma&&((Hi=no==null?void 0:no({status:Ma,errors:Vn,warnings:kn}))===null||Hi===void 0?void 0:Hi[Ma]),so=Ma&&Xr[Ma];Fi=oi!==!1&&so?we.createElement("span",{className:Me()(`${ya}-feedback-icon`,`${ya}-feedback-icon-${Ma}`)},oi||we.createElement(so,null)):null}let $a=!0,ni=Ma||"";return ha&&($a=pa,ni=(Ma!=null?Ma:Er)||""),{status:ni,errors:Vn,warnings:kn,hasFeedback:!!rr,feedbackIcon:Fi,isFormItemInput:$a}},[Ma,rr,ha,pa,Er]);return we.createElement(ce.aM.Provider,{value:qr},fn)}var Mi=function(Dt,fn){var Vn={};for(var kn in Dt)Object.prototype.hasOwnProperty.call(Dt,kn)&&fn.indexOf(kn)<0&&(Vn[kn]=Dt[kn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rr=0,kn=Object.getOwnPropertySymbols(Dt);rr<kn.length;rr++)fn.indexOf(kn[rr])<0&&Object.prototype.propertyIsEnumerable.call(Dt,kn[rr])&&(Vn[kn[rr]]=Dt[kn[rr]]);return Vn};function Si(Dt){const{prefixCls:fn,className:Vn,rootClassName:kn,style:rr,help:fr,errors:mn,warnings:Ta,validateStatus:ha,meta:ya,hasFeedback:Sa,hidden:Ma,children:pa,fieldId:Er,required:qr,isRequired:Hi,onSubItemMetaChange:Fi}=Dt,$a=Mi(Dt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),ni=`${fn}-item`,{requiredMark:no}=we.useContext(ce.q3),oi=we.useRef(null),so=Se(mn),ta=Se(Ta),to=fr!=null,xo=!!(to||mn.length||Ta.length),xl=!!oi.current&&(0,En.Z)(oi.current),[ll,Uo]=we.useState(null);(0,un.Z)(()=>{if(xo&&oi.current){const zl=getComputedStyle(oi.current);Uo(parseInt(zl.marginBottom,10))}},[xo,xl]);const co=zl=>{zl||Uo(null)},Yo=function(){let zl=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Sl=zl?so:ya.errors,Cl=zl?ta:ya.warnings;return qt(Sl,Cl,ya,"",!!Sa,ha)}(),gl=Me()(ni,Vn,kn,{[`${ni}-with-help`]:to||so.length||ta.length,[`${ni}-has-feedback`]:Yo&&Sa,[`${ni}-has-success`]:Yo==="success",[`${ni}-has-warning`]:Yo==="warning",[`${ni}-has-error`]:Yo==="error",[`${ni}-is-validating`]:Yo==="validating",[`${ni}-hidden`]:Ma});return we.createElement("div",{className:gl,style:rr,ref:oi},we.createElement(Xn.Z,Object.assign({className:`${ni}-row`},(0,Pn.Z)($a,["_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(aa,Object.assign({htmlFor:Er},Dt,{requiredMark:no,required:qr!=null?qr:Hi,prefixCls:fn})),we.createElement(On,Object.assign({},Dt,ya,{errors:so,warnings:ta,prefixCls:fn,status:Yo,help:fr,marginBottom:ll,onErrorVisibleChanged:co}),we.createElement(ce.qI.Provider,{value:Fi},we.createElement(Da,{prefixCls:fn,meta:ya,errors:ya.errors,warnings:ya.warnings,hasFeedback:Sa,validateStatus:Yo},pa)))),!!ll&&we.createElement("div",{className:`${ni}-margin-offset`,style:{marginBottom:-ll}}))}const zi="__SPLIT__",fi=null,Tn=we.memo(Dt=>{let{children:fn}=Dt;return fn},(Dt,fn)=>Dt.value===fn.value&&Dt.update===fn.update&&Dt.childProps.length===fn.childProps.length&&Dt.childProps.every((Vn,kn)=>Vn===fn.childProps[kn]));function bn(Dt){return Dt!=null}function ir(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Cr(Dt){const{name:fn,noStyle:Vn,className:kn,dependencies:rr,prefixCls:fr,shouldUpdate:mn,rules:Ta,children:ha,required:ya,label:Sa,messageVariables:Ma,trigger:pa="onChange",validateTrigger:Er,hidden:qr,help:Hi}=Dt,{getPrefixCls:Fi}=we.useContext(ut.E_),{name:$a}=we.useContext(ce.q3),ni=he(ha),no=typeof ni=="function",oi=we.useContext(ce.qI),{validateTrigger:so}=we.useContext(ze.FieldContext),ta=Er!==void 0?Er:so,to=bn(fn),xo=Fi("form",fr),[xl,ll]=ht(xo),Uo=we.useContext(ze.ListContext),co=we.useRef(),[wl,Yo]=je({}),[gl,zl]=(0,br.Z)(()=>ir()),Sl=Mn=>{const dr=Uo==null?void 0:Uo.getKey(Mn.name);if(zl(Mn.destroy?ir():Mn,!0),Vn&&Hi!==!1&&oi){let Qr=Mn.name;if(Mn.destroy)Qr=co.current||Qr;else if(dr!==void 0){const[va,pi]=dr;Qr=[va].concat((0,ne.Z)(pi)),co.current=Qr}oi(Mn,Qr)}},Cl=(Mn,dr)=>{Yo(Qr=>{const va=Object.assign({},Qr),Ai=[].concat((0,ne.Z)(Mn.name.slice(0,-1)),(0,ne.Z)(dr)).join(zi);return Mn.destroy?delete va[Ai]:va[Ai]=Mn,va})},[wi,ko]=we.useMemo(()=>{const Mn=(0,ne.Z)(gl.errors),dr=(0,ne.Z)(gl.warnings);return Object.values(wl).forEach(Qr=>{Mn.push.apply(Mn,(0,ne.Z)(Qr.errors||[])),dr.push.apply(dr,(0,ne.Z)(Qr.warnings||[]))}),[Mn,dr]},[wl,gl.errors,gl.warnings]),Pi=xt();function Ci(Mn,dr,Qr){return Vn&&!qr?we.createElement(Da,{prefixCls:xo,hasFeedback:Dt.hasFeedback,validateStatus:Dt.validateStatus,meta:gl,errors:wi,warnings:ko,noStyle:!0},Mn):we.createElement(Si,Object.assign({key:"row"},Dt,{className:Me()(kn,ll),prefixCls:xo,fieldId:dr,isRequired:Qr,errors:wi,warnings:ko,meta:gl,onSubItemMetaChange:Cl}),Mn)}if(!to&&!no&&!rr)return xl(Ci(ni));let Zn={};return typeof Sa=="string"?Zn.label=Sa:fn&&(Zn.label=String(fn)),Ma&&(Zn=Object.assign(Object.assign({},Zn),Ma)),xl(we.createElement(ze.Field,Object.assign({},Dt,{messageVariables:Zn,trigger:pa,validateTrigger:ta,onMetaChange:Sl}),(Mn,dr,Qr)=>{const va=Mt(fn).length&&dr?dr.name:[],pi=vn(va,$a),Ai=ya!==void 0?ya:!!(Ta&&Ta.some(Di=>{if(Di&&typeof Di=="object"&&Di.required&&!Di.warningOnly)return!0;if(typeof Di=="function"){const Eo=Di(Qr);return Eo&&Eo.required&&!Eo.warningOnly}return!1})),Vi=Object.assign({},Mn);let ui=null;if(Array.isArray(ni)&&to)ui=ni;else if(!(no&&(!(mn||rr)||to))){if(!(rr&&!no&&!to))if((0,Ye.l$)(ni)){const Di=Object.assign(Object.assign({},ni.props),Vi);if(Di.id||(Di.id=pi),Hi||wi.length>0||ko.length>0||Dt.extra){const Qo=[];(Hi||wi.length>0)&&Qo.push(`${pi}_help`),Dt.extra&&Qo.push(`${pi}_extra`),Di["aria-describedby"]=Qo.join(" ")}wi.length>0&&(Di["aria-invalid"]="true"),Ai&&(Di["aria-required"]="true"),(0,gn.Yr)(ni)&&(Di.ref=Pi(va,ni)),new Set([].concat((0,ne.Z)(Mt(pa)),(0,ne.Z)(Mt(ta)))).forEach(Qo=>{Di[Qo]=function(){for(var He,nt,It,pe,Oe,Ae=arguments.length,Ke=new Array(Ae),Qe=0;Qe<Ae;Qe++)Ke[Qe]=arguments[Qe];(It=Vi[Qo])===null||It===void 0||(He=It).call.apply(He,[Vi].concat(Ke)),(Oe=(pe=ni.props)[Qo])===null||Oe===void 0||(nt=Oe).call.apply(nt,[pe].concat(Ke))}});const Zo=[Di["aria-required"],Di["aria-invalid"],Di["aria-describedby"]];ui=we.createElement(Tn,{value:Vi[Dt.valuePropName||"value"],update:ni,childProps:Zo},(0,Ye.Tm)(ni,Di))}else no&&(mn||rr)&&!to?ui=ni(Qr):ui=ni}return Ci(ui,pi,Ai)}))}const Or=Cr;Or.useStatus=ge;var Lr=Or,sa=function(Dt,fn){var Vn={};for(var kn in Dt)Object.prototype.hasOwnProperty.call(Dt,kn)&&fn.indexOf(kn)<0&&(Vn[kn]=Dt[kn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rr=0,kn=Object.getOwnPropertySymbols(Dt);rr<kn.length;rr++)fn.indexOf(kn[rr])<0&&Object.prototype.propertyIsEnumerable.call(Dt,kn[rr])&&(Vn[kn[rr]]=Dt[kn[rr]]);return Vn},At=Dt=>{var{prefixCls:fn,children:Vn}=Dt,kn=sa(Dt,["prefixCls","children"]);const{getPrefixCls:rr}=we.useContext(ut.E_),fr=rr("form",fn),mn=we.useMemo(()=>({prefixCls:fr,status:"error"}),[fr]);return we.createElement(ze.List,Object.assign({},kn),(Ta,ha,ya)=>we.createElement(ce.Rk.Provider,{value:mn},Vn(Ta.map(Sa=>Object.assign(Object.assign({},Sa),{fieldKey:Sa.key})),ha,{errors:ya.errors,warnings:ya.warnings})))};function Zt(){const{form:Dt}=(0,we.useContext)(ce.q3);return Dt}const on=In;on.Item=Lr,on.List=At,on.ErrorList=mt,on.useForm=Kt,on.useFormInstance=Zt,on.useWatch=ze.useWatch,on.Provider=ce.RV,on.create=()=>{};var Yn=on},25378:function(Hn,sn,ee){"use strict";var ne=ee(67294),de=ee(14075),Me=ee(57838),et=ee(74443);function we(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ce=(0,ne.useRef)({}),Se=(0,Me.Z)(),me=(0,et.ZP)();return(0,de.Z)(()=>{const Pe=me.subscribe(Xe=>{ce.current=Xe,ke&&Se()});return()=>me.unsubscribe(Pe)},[]),ce.current}sn.Z=we},31795:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return pn}});var ne=ee(42922),de=ee(53978),Me=ee(94184),et=ee.n(Me),we=ee(87462),ke=ee(4942),ce=ee(71002),Se=ee(97685),me=ee(45987),Pe=ee(15671),Xe=ee(43144);function fe(){return typeof BigInt=="function"}function Ge(At){return!At&&At!==0&&!Number.isNaN(At)||!String(At).trim()}function pt(At){var Zt=At.trim(),on=Zt.startsWith("-");on&&(Zt=Zt.slice(1)),Zt=Zt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Zt.startsWith(".")&&(Zt="0".concat(Zt));var Yn=Zt||"0",Dt=Yn.split("."),fn=Dt[0]||"0",Vn=Dt[1]||"0";fn==="0"&&Vn==="0"&&(on=!1);var kn=on?"-":"";return{negative:on,negativeStr:kn,trimStr:Yn,integerStr:fn,decimalStr:Vn,fullStr:"".concat(kn).concat(Yn)}}function ot(At){var Zt=String(At);return!Number.isNaN(Number(Zt))&&Zt.includes("e")}function vt(At){var Zt=String(At);if(ot(At)){var on=Number(Zt.slice(Zt.indexOf("e-")+2)),Yn=Zt.match(/\.(\d+)/);return Yn!=null&&Yn[1]&&(on+=Yn[1].length),on}return Zt.includes(".")&&wt(Zt)?Zt.length-Zt.indexOf(".")-1:0}function Ee(At){var Zt=String(At);if(ot(At)){if(At>Number.MAX_SAFE_INTEGER)return String(fe()?BigInt(At).toString():Number.MAX_SAFE_INTEGER);if(At<Number.MIN_SAFE_INTEGER)return String(fe()?BigInt(At).toString():Number.MIN_SAFE_INTEGER);Zt=At.toFixed(vt(Zt))}return pt(Zt).fullStr}function wt(At){return typeof At=="number"?!Number.isNaN(At):At?/^\s*-?\d+(\.\d+)?\s*$/.test(At)||/^\s*-?\d+\.\s*$/.test(At)||/^\s*-?\.\d+\s*$/.test(At):!1}var Rt=function(){function At(Zt){if((0,Pe.Z)(this,At),(0,ke.Z)(this,"origin",""),(0,ke.Z)(this,"negative",void 0),(0,ke.Z)(this,"integer",void 0),(0,ke.Z)(this,"decimal",void 0),(0,ke.Z)(this,"decimalLen",void 0),(0,ke.Z)(this,"empty",void 0),(0,ke.Z)(this,"nan",void 0),Ge(Zt)){this.empty=!0;return}if(this.origin=String(Zt),Zt==="-"||Number.isNaN(Zt)){this.nan=!0;return}var on=Zt;if(ot(on)&&(on=Number(on)),on=typeof on=="string"?on:Ee(on),wt(on)){var Yn=pt(on);this.negative=Yn.negative;var Dt=Yn.trimStr.split(".");this.integer=BigInt(Dt[0]);var fn=Dt[1]||"0";this.decimal=BigInt(fn),this.decimalLen=fn.length}else this.nan=!0}return(0,Xe.Z)(At,[{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(on){var Yn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(on,"0"));return BigInt(Yn)}},{key:"negate",value:function(){var on=new At(this.toString());return on.negative=!on.negative,on}},{key:"cal",value:function(on,Yn,Dt){var fn=Math.max(this.getDecimalStr().length,on.getDecimalStr().length),Vn=this.alignDecimal(fn),kn=on.alignDecimal(fn),rr=Yn(Vn,kn).toString(),fr=Dt(fn),mn=pt(rr),Ta=mn.negativeStr,ha=mn.trimStr,ya="".concat(Ta).concat(ha.padStart(fr+1,"0"));return new At("".concat(ya.slice(0,-fr),".").concat(ya.slice(-fr)))}},{key:"add",value:function(on){if(this.isInvalidate())return new At(on);var Yn=new At(on);return Yn.isInvalidate()?this:this.cal(Yn,function(Dt,fn){return Dt+fn},function(Dt){return Dt})}},{key:"multi",value:function(on){var Yn=new At(on);return this.isInvalidate()||Yn.isInvalidate()?new At(NaN):this.cal(Yn,function(Dt,fn){return Dt*fn},function(Dt){return Dt*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(on){return this.toString()===(on==null?void 0:on.toString())}},{key:"lessEquals",value:function(on){return this.add(on.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return on?this.isInvalidate()?"":pt("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),At}(),tt=function(){function At(Zt){if((0,Pe.Z)(this,At),(0,ke.Z)(this,"origin",""),(0,ke.Z)(this,"number",void 0),(0,ke.Z)(this,"empty",void 0),Ge(Zt)){this.empty=!0;return}this.origin=String(Zt),this.number=Number(Zt)}return(0,Xe.Z)(At,[{key:"negate",value:function(){return new At(-this.toNumber())}},{key:"add",value:function(on){if(this.isInvalidate())return new At(on);var Yn=Number(on);if(Number.isNaN(Yn))return this;var Dt=this.number+Yn;if(Dt>Number.MAX_SAFE_INTEGER)return new At(Number.MAX_SAFE_INTEGER);if(Dt<Number.MIN_SAFE_INTEGER)return new At(Number.MIN_SAFE_INTEGER);var fn=Math.max(vt(this.number),vt(Yn));return new At(Dt.toFixed(fn))}},{key:"multi",value:function(on){var Yn=Number(on);if(this.isInvalidate()||Number.isNaN(Yn))return new At(NaN);var Dt=this.number*Yn;if(Dt>Number.MAX_SAFE_INTEGER)return new At(Number.MAX_SAFE_INTEGER);if(Dt<Number.MIN_SAFE_INTEGER)return new At(Number.MIN_SAFE_INTEGER);var fn=Math.max(vt(this.number),vt(Yn));return new At(Dt.toFixed(fn))}},{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(on){return this.toNumber()===(on==null?void 0:on.toNumber())}},{key:"lessEquals",value:function(on){return this.add(on.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return on?this.isInvalidate()?"":Ee(this.number):this.origin}}]),At}();function st(At){return fe()?new Rt(At):new tt(At)}function ye(At,Zt,on){var Yn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(At==="")return"";var Dt=pt(At),fn=Dt.negativeStr,Vn=Dt.integerStr,kn=Dt.decimalStr,rr="".concat(Zt).concat(kn),fr="".concat(fn).concat(Vn);if(on>=0){var mn=Number(kn[on]);if(mn>=5&&!Yn){var Ta=st(At).add("".concat(fn,"0.").concat("0".repeat(on)).concat(10-mn));return ye(Ta.toString(),Zt,on,Yn)}return on===0?fr:"".concat(fr).concat(Zt).concat(kn.padEnd(on,"0").slice(0,on))}return rr===".0"?fr:"".concat(fr).concat(rr)}var ue=st,$e=ee(67656),Je=ee(67294);function ht(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var yt=ht()?Je.useLayoutEffect:Je.useEffect,Fe=function(Zt,on){var Yn=Je.useRef(!0);yt(function(){return Zt(Yn.current)},on),yt(function(){return Yn.current=!1,function(){Yn.current=!0}},[])},Be=function(Zt,on){Fe(function(Yn){if(!Yn)return Zt()},on)},mt=Fe,ze=ee(27183);function ut(At,Zt,on){var Yn=React.useRef({});return(!("value"in Yn.current)||on(Yn.current.condition,Zt))&&(Yn.current.value=At(),Yn.current.condition=Zt),Yn.current.value}function rt(At,Zt){typeof At=="function"?At(Zt):(0,ce.Z)(At)==="object"&&At&&"current"in At&&(At.current=Zt)}function Tt(){for(var At=arguments.length,Zt=new Array(At),on=0;on<At;on++)Zt[on]=arguments[on];var Yn=Zt.filter(function(Dt){return Dt});return Yn.length<=1?Yn[0]:function(Dt){Zt.forEach(function(fn){rt(fn,Dt)})}}function Bt(){for(var At=arguments.length,Zt=new Array(At),on=0;on<At;on++)Zt[on]=arguments[on];return useMemo(function(){return Tt.apply(void 0,Zt)},Zt,function(Yn,Dt){return Yn.length!==Dt.length||Yn.every(function(fn,Vn){return fn!==Dt[Vn]})})}function en(At){var Zt,on,Yn=isMemo(At)?At.type.type:At.type;return!(typeof Yn=="function"&&!((Zt=Yn.prototype)!==null&&Zt!==void 0&&Zt.render)||typeof At=="function"&&!((on=At.prototype)!==null&&on!==void 0&&on.render))}function ct(At){return!isValidElement(At)||isFragment(At)?!1:en(At)}var Ie={},Mt=[],vn=function(Zt){Mt.push(Zt)};function qt(At,Zt){if(0)var on}function Nt(At,Zt){if(0)var on}function Kt(){Ie={}}function nn(At,Zt,on){!Zt&&!Ie[on]&&(At(!1,on),Ie[on]=!0)}function Cn(At,Zt){nn(qt,At,Zt)}function Sn(At,Zt){nn(Nt,At,Zt)}Cn.preMessage=vn,Cn.resetWarned=Kt,Cn.noteOnce=Sn;var tn=Cn;function In(At,Zt){var on=(0,Je.useRef)(null);function Yn(){try{var fn=At.selectionStart,Vn=At.selectionEnd,kn=At.value,rr=kn.substring(0,fn),fr=kn.substring(Vn);on.current={start:fn,end:Vn,value:kn,beforeTxt:rr,afterTxt:fr}}catch(mn){}}function Dt(){if(At&&on.current&&Zt)try{var fn=At.value,Vn=on.current,kn=Vn.beforeTxt,rr=Vn.afterTxt,fr=Vn.start,mn=fn.length;if(fn.endsWith(rr))mn=fn.length-on.current.afterTxt.length;else if(fn.startsWith(kn))mn=kn.length;else{var Ta=kn[fr-1],ha=fn.indexOf(Ta,fr-1);ha!==-1&&(mn=ha+1)}At.setSelectionRange(mn,mn)}catch(ya){tn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(ya.message))}}return[Yn,Dt]}var br=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var At=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(At)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(At==null?void 0:At.substr(0,4))},gn=function(){var Zt=(0,Je.useState)(!1),on=(0,Se.Z)(Zt,2),Yn=on[0],Dt=on[1];return mt(function(){Dt(br())},[]),Yn},Ye=gn,ve=function(Zt){return+setTimeout(Zt,16)},he=function(Zt){return clearTimeout(Zt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ve=function(Zt){return window.requestAnimationFrame(Zt)},he=function(Zt){return window.cancelAnimationFrame(Zt)});var be=0,ge=new Map;function se(At){ge.delete(At)}var je=function(Zt){var on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;be+=1;var Yn=be;function Dt(fn){if(fn===0)se(Yn),Zt();else{var Vn=ve(function(){Dt(fn-1)});ge.set(Yn,Vn)}}return Dt(on),Yn};je.cancel=function(At){var Zt=ge.get(At);return se(Zt),he(Zt)};var xt=je,En=200,un=600;function Pn(At){var Zt=At.prefixCls,on=At.upNode,Yn=At.downNode,Dt=At.upDisabled,fn=At.downDisabled,Vn=At.onStep,kn=Je.useRef(),rr=Je.useRef([]),fr=Je.useRef();fr.current=Vn;var mn=function(){clearTimeout(kn.current)},Ta=function(Hi,Fi){Hi.preventDefault(),mn(),fr.current(Fi);function $a(){fr.current(Fi),kn.current=setTimeout($a,En)}kn.current=setTimeout($a,un)};Je.useEffect(function(){return function(){mn(),rr.current.forEach(function(qr){return xt.cancel(qr)})}},[]);var ha=Ye();if(ha)return null;var ya="".concat(Zt,"-handler"),Sa=et()(ya,"".concat(ya,"-up"),(0,ke.Z)({},"".concat(ya,"-up-disabled"),Dt)),Ma=et()(ya,"".concat(ya,"-down"),(0,ke.Z)({},"".concat(ya,"-down-disabled"),fn)),pa=function(){return rr.current.push(xt(mn))},Er={unselectable:"on",role:"button",onMouseUp:pa,onMouseLeave:pa};return Je.createElement("div",{className:"".concat(ya,"-wrap")},Je.createElement("span",(0,we.Z)({},Er,{onMouseDown:function(Hi){Ta(Hi,!0)},"aria-label":"Increase Value","aria-disabled":Dt,className:Sa}),on||Je.createElement("span",{unselectable:"on",className:"".concat(Zt,"-handler-up-inner")})),Je.createElement("span",(0,we.Z)({},Er,{onMouseDown:function(Hi){Ta(Hi,!1)},"aria-label":"Decrease Value","aria-disabled":fn,className:Ma}),Yn||Je.createElement("span",{unselectable:"on",className:"".concat(Zt,"-handler-down-inner")})))}function Xn(At){var Zt=typeof At=="number"?Ee(At):pt(At).fullStr,on=Zt.includes(".");return on?pt(Zt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:At+"0"}var _n=ee(87887),Vt=function(){var At=(0,Je.useRef)(0),Zt=function(){xt.cancel(At.current)};return(0,Je.useEffect)(function(){return Zt},[]),function(on){Zt(),At.current=xt(function(){on()})}},yn=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Kn=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],On=function(Zt,on){return Zt||on.isEmpty()?on.toString():on.toNumber()},Qt=function(Zt){var on=ue(Zt);return on.isInvalidate()?null:on},Dr=Je.forwardRef(function(At,Zt){var on,Yn=At.prefixCls,Dt=Yn===void 0?"rc-input-number":Yn,fn=At.className,Vn=At.style,kn=At.min,rr=At.max,fr=At.step,mn=fr===void 0?1:fr,Ta=At.defaultValue,ha=At.value,ya=At.disabled,Sa=At.readOnly,Ma=At.upHandler,pa=At.downHandler,Er=At.keyboard,qr=At.controls,Hi=qr===void 0?!0:qr,Fi=At.classNames,$a=At.stringMode,ni=At.parser,no=At.formatter,oi=At.precision,so=At.decimalSeparator,ta=At.onChange,to=At.onInput,xo=At.onPressEnter,xl=At.onStep,ll=(0,me.Z)(At,yn),Uo="".concat(Dt,"-input"),co=Je.useRef(null),wl=Je.useState(!1),Yo=(0,Se.Z)(wl,2),gl=Yo[0],zl=Yo[1],Sl=Je.useRef(!1),Cl=Je.useRef(!1),wi=Je.useRef(!1),ko=Je.useState(function(){return ue(ha!=null?ha:Ta)}),Pi=(0,Se.Z)(ko,2),Ci=Pi[0],Zn=Pi[1];function Mn(zr){ha===void 0&&Zn(zr)}var dr=Je.useCallback(function(zr,Fr){if(!Fr)return oi>=0?oi:Math.max(vt(zr),vt(mn))},[oi,mn]),Qr=Je.useCallback(function(zr){var Fr=String(zr);if(ni)return ni(Fr);var jr=Fr;return so&&(jr=jr.replace(so,".")),jr.replace(/[^\w.-]+/g,"")},[ni,so]),va=Je.useRef(""),pi=Je.useCallback(function(zr,Fr){if(no)return no(zr,{userTyping:Fr,input:String(va.current)});var jr=typeof zr=="number"?Ee(zr):zr;if(!Fr){var _r=dr(jr,Fr);if(wt(jr)&&(so||_r>=0)){var Jr=so||".";jr=ye(jr,Jr,_r)}}return jr},[no,dr,so]),Ai=Je.useState(function(){var zr=Ta!=null?Ta:ha;return Ci.isInvalidate()&&["string","number"].includes((0,ce.Z)(zr))?Number.isNaN(zr)?"":zr:pi(Ci.toString(),!1)}),Vi=(0,Se.Z)(Ai,2),ui=Vi[0],Di=Vi[1];va.current=ui;function Eo(zr,Fr){Di(pi(zr.isInvalidate()?zr.toString(!1):zr.toString(!Fr),Fr))}var Zo=Je.useMemo(function(){return Qt(rr)},[rr,oi]),Qo=Je.useMemo(function(){return Qt(kn)},[kn,oi]),He=Je.useMemo(function(){return!Zo||!Ci||Ci.isInvalidate()?!1:Zo.lessEquals(Ci)},[Zo,Ci]),nt=Je.useMemo(function(){return!Qo||!Ci||Ci.isInvalidate()?!1:Ci.lessEquals(Qo)},[Qo,Ci]),It=In(co.current,gl),pe=(0,Se.Z)(It,2),Oe=pe[0],Ae=pe[1],Ke=function(Fr){return Zo&&!Fr.lessEquals(Zo)?Zo:Qo&&!Qo.lessEquals(Fr)?Qo:null},Qe=function(Fr){return!Ke(Fr)},at=function(Fr,jr){var _r=Fr,Jr=Qe(_r)||_r.isEmpty();if(!_r.isEmpty()&&!jr&&(_r=Ke(_r)||_r,Jr=!0),!Sa&&!ya&&Jr){var kt=_r.toString(),Pt=dr(kt,jr);return Pt>=0&&(_r=ue(ye(kt,".",Pt)),Qe(_r)||(_r=ue(ye(kt,".",Pt,!0)))),_r.equals(Ci)||(Mn(_r),ta==null||ta(_r.isEmpty()?null:On($a,_r)),ha===void 0&&Eo(_r,jr)),_r}return Ci},ft=Vt(),Xt=function zr(Fr){if(Oe(),va.current=Fr,Di(Fr),!Cl.current){var jr=Qr(Fr),_r=ue(jr);_r.isNaN()||at(_r,!0)}to==null||to(Fr),ft(function(){var Jr=Fr;ni||(Jr=Fr.replace(/。/g,".")),Jr!==Fr&&zr(Jr)})},an=function(){Cl.current=!0},Qn=function(){Cl.current=!1,Xt(co.current.value)},cr=function(Fr){Xt(Fr.target.value)},Ar=function(Fr){var jr;if(!(Fr&&He||!Fr&&nt)){Sl.current=!1;var _r=ue(wi.current?Xn(mn):mn);Fr||(_r=_r.negate());var Jr=(Ci||ue(0)).add(_r.toString()),kt=at(Jr,!1);xl==null||xl(On($a,kt),{offset:wi.current?Xn(mn):mn,type:Fr?"up":"down"}),(jr=co.current)===null||jr===void 0||jr.focus()}},Dn=function(Fr){var jr=ue(Qr(ui)),_r=jr;jr.isNaN()?_r=at(Ci,Fr):_r=at(jr,Fr),ha!==void 0?Eo(Ci,!1):_r.isNaN()||Eo(_r,!1)},$n=function(){Sl.current=!0},Jn=function(Fr){var jr=Fr.key,_r=Fr.shiftKey;Sl.current=!0,wi.current=_r,jr==="Enter"&&(Cl.current||(Sl.current=!1),Dn(!1),xo==null||xo(Fr)),Er!==!1&&!Cl.current&&["Up","ArrowUp","Down","ArrowDown"].includes(jr)&&(Ar(jr==="Up"||jr==="ArrowUp"),Fr.preventDefault())},kr=function(){Sl.current=!1,wi.current=!1},Hr=function(){Dn(!1),zl(!1),Sl.current=!1};return Be(function(){Ci.isInvalidate()||Eo(Ci,!1)},[oi]),Be(function(){var zr=ue(ha);Zn(zr);var Fr=ue(Qr(ui));(!zr.equals(Fr)||!Sl.current||no)&&Eo(zr,Sl.current)},[ha]),Be(function(){no&&Ae()},[ui]),Je.createElement("div",{className:et()(Dt,Fi==null?void 0:Fi.input,fn,(on={},(0,ke.Z)(on,"".concat(Dt,"-focused"),gl),(0,ke.Z)(on,"".concat(Dt,"-disabled"),ya),(0,ke.Z)(on,"".concat(Dt,"-readonly"),Sa),(0,ke.Z)(on,"".concat(Dt,"-not-a-number"),Ci.isNaN()),(0,ke.Z)(on,"".concat(Dt,"-out-of-range"),!Ci.isInvalidate()&&!Qe(Ci)),on)),style:Vn,onFocus:function(){zl(!0)},onBlur:Hr,onKeyDown:Jn,onKeyUp:kr,onCompositionStart:an,onCompositionEnd:Qn,onBeforeInput:$n},Hi&&Je.createElement(Pn,{prefixCls:Dt,upNode:Ma,downNode:pa,upDisabled:He,downDisabled:nt,onStep:Ar}),Je.createElement("div",{className:"".concat(Uo,"-wrap")},Je.createElement("input",(0,we.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":kn,"aria-valuemax":rr,"aria-valuenow":Ci.isInvalidate()?null:Ci.toString(),step:mn},ll,{ref:Tt(co,Zt),className:Uo,value:ui,onChange:cr,disabled:ya,readOnly:Sa}))))}),jt=Je.forwardRef(function(At,Zt){var on=At.disabled,Yn=At.style,Dt=At.prefixCls,fn=At.value,Vn=At.prefix,kn=At.suffix,rr=At.addonBefore,fr=At.addonAfter,mn=At.classes,Ta=At.className,ha=At.classNames,ya=(0,me.Z)(At,Kn),Sa=Je.useRef(null),Ma=function(Er){Sa.current&&(0,_n.nH)(Sa.current,Er)};return Je.createElement($e.BaseInput,{inputElement:Je.createElement(Dr,(0,we.Z)({prefixCls:Dt,disabled:on,classNames:ha,ref:Tt(Sa,Zt)},ya)),className:Ta,triggerFocus:Ma,prefixCls:Dt,value:fn,disabled:on,style:Yn,prefix:Vn,suffix:kn,addonAfter:fr,addonBefore:rr,classes:mn,classNames:ha,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});jt.displayName="InputNumber";var rn=jt,Ir=rn,ur=ee(9708),Rr=ee(53124),aa=ee(46735),qn=ee(98866),Pa=ee(98675),Fa=ee(65223),_a=ee(4173),Xr=ee(47673),Da=ee(14747),Mi=ee(80110),Si=ee(67968),zi=ee(45503);const fi=(At,Zt)=>{let{componentCls:on,borderRadiusSM:Yn,borderRadiusLG:Dt}=At;const fn=Zt==="lg"?Dt:Yn;return{[`&-${Zt}`]:{[`${on}-handler-wrap`]:{borderStartEndRadius:fn,borderEndEndRadius:fn},[`${on}-handler-up`]:{borderStartEndRadius:fn},[`${on}-handler-down`]:{borderEndEndRadius:fn}}}},Tn=At=>{const{componentCls:Zt,lineWidth:on,lineType:Yn,colorBorder:Dt,borderRadius:fn,fontSizeLG:Vn,controlHeightLG:kn,controlHeightSM:rr,colorError:fr,paddingInlineSM:mn,colorTextDescription:Ta,motionDurationMid:ha,handleHoverColor:ya,paddingInline:Sa,paddingBlock:Ma,handleBg:pa,handleActiveBg:Er,colorTextDisabled:qr,borderRadiusSM:Hi,borderRadiusLG:Fi,controlWidth:$a,handleVisible:ni,handleBorderColor:no}=At;return[{[Zt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Da.Wf)(At)),(0,Xr.ik)(At)),(0,Xr.bi)(At,Zt)),{display:"inline-block",width:$a,margin:0,padding:0,border:`${on}px ${Yn} ${Dt}`,borderRadius:fn,"&-rtl":{direction:"rtl",[`${Zt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Vn,borderRadius:Fi,[`input${Zt}-input`]:{height:kn-2*on}},"&-sm":{padding:0,borderRadius:Hi,[`input${Zt}-input`]:{height:rr-2*on,padding:`0 ${mn}px`}},"&:hover":Object.assign({},(0,Xr.pU)(At)),"&-focused":Object.assign({},(0,Xr.M1)(At)),"&-out-of-range":{[`${Zt}-input-wrap`]:{input:{color:fr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Da.Wf)(At)),(0,Xr.s7)(At)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Zt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Zt}-group-addon`]:{borderRadius:Fi,fontSize:At.fontSizeLG}},"&-sm":{[`${Zt}-group-addon`]:{borderRadius:Hi}},[`${Zt}-wrapper-disabled > ${Zt}-group-addon`]:Object.assign({},(0,Xr.Xy)(At))}}),[`&-disabled ${Zt}-input`]:{cursor:"not-allowed"},[Zt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Da.Wf)(At)),{width:"100%",padding:`${Ma}px ${Sa}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:fn,outline:0,transition:`all ${ha} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Xr.nz)(At.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[Zt]:Object.assign(Object.assign(Object.assign({[`&:hover ${Zt}-handler-wrap, &-focused ${Zt}-handler-wrap`]:{opacity:1},[`${Zt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:At.handleWidth,height:"100%",background:pa,borderStartStartRadius:0,borderStartEndRadius:fn,borderEndEndRadius:fn,borderEndStartRadius:0,opacity:ni===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${ha} linear ${ha}`,[`${Zt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${Zt}-handler-up-inner,
${Zt}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:At.handleFontSize}}},[`${Zt}-handler`]:{height:"50%",overflow:"hidden",color:Ta,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${on}px ${Yn} ${no}`,transition:`all ${ha} linear`,"&:active":{background:Er},"&:hover":{height:"60%",[`
${Zt}-handler-up-inner,
${Zt}-handler-down-inner
`]:{color:ya}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Da.Ro)()),{color:Ta,transition:`all ${ha} linear`,userSelect:"none"})},[`${Zt}-handler-up`]:{borderStartEndRadius:fn},[`${Zt}-handler-down`]:{borderBlockStart:`${on}px ${Yn} ${no}`,borderEndEndRadius:fn}},fi(At,"lg")),fi(At,"sm")),{"&-disabled, &-readonly":{[`${Zt}-handler-wrap`]:{display:"none"},[`${Zt}-input`]:{color:"inherit"}},[`
${Zt}-handler-up-disabled,
${Zt}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${Zt}-handler-up-disabled:hover &-handler-up-inner,
${Zt}-handler-down-disabled:hover &-handler-down-inner
`]:{color:qr}})},{[`${Zt}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${Zt}-handler-down`]:{borderBlockStartWidth:0}}}]},bn=At=>{const{componentCls:Zt,paddingBlock:on,paddingInline:Yn,inputAffixPadding:Dt,controlWidth:fn,borderRadiusLG:Vn,borderRadiusSM:kn}=At;return{[`${Zt}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Xr.ik)(At)),(0,Xr.bi)(At,`${Zt}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:fn,padding:0,paddingInlineStart:Yn,"&-lg":{borderRadius:Vn},"&-sm":{borderRadius:kn},[`&:not(${Zt}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Xr.pU)(At)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Zt}-disabled`]:{background:"transparent"},[`> div${Zt}`]:{width:"100%",border:"none",outline:"none",[`&${Zt}-focused`]:{boxShadow:"none !important"}},[`input${Zt}-input`]:{padding:`${on}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Zt}-handler-wrap`]:{zIndex:2},[Zt]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Dt},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Yn,marginInlineStart:Dt}}})}};var ir=(0,Si.Z)("InputNumber",At=>{const Zt=(0,zi.TS)(At,(0,Xr.e5)(At));return[Tn(Zt),bn(Zt),(0,Mi.c)(Zt)]},At=>Object.assign(Object.assign({},(0,Xr.TM)(At)),{controlWidth:90,handleWidth:At.controlHeightSM-At.lineWidth*2,handleFontSize:At.fontSize/2,handleVisible:"auto",handleActiveBg:At.colorFillAlter,handleBg:At.colorBgContainer,handleHoverColor:At.colorPrimary,handleBorderColor:At.colorBorder})),Cr=function(At,Zt){var on={};for(var Yn in At)Object.prototype.hasOwnProperty.call(At,Yn)&&Zt.indexOf(Yn)<0&&(on[Yn]=At[Yn]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Yn=Object.getOwnPropertySymbols(At);Dt<Yn.length;Dt++)Zt.indexOf(Yn[Dt])<0&&Object.prototype.propertyIsEnumerable.call(At,Yn[Dt])&&(on[Yn[Dt]]=At[Yn[Dt]]);return on};const Or=Je.forwardRef((At,Zt)=>{const{getPrefixCls:on,direction:Yn}=Je.useContext(Rr.E_),Dt=Je.useRef(null);Je.useImperativeHandle(Zt,()=>Dt.current);const{className:fn,rootClassName:Vn,size:kn,disabled:rr,prefixCls:fr,addonBefore:mn,addonAfter:Ta,prefix:ha,bordered:ya=!0,readOnly:Sa,status:Ma,controls:pa}=At,Er=Cr(At,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),qr=on("input-number",fr),[Hi,Fi]=ir(qr),{compactSize:$a,compactItemClassnames:ni}=(0,_a.ri)(qr,Yn);let no=Je.createElement(de.Z,{className:`${qr}-handler-up-inner`}),oi=Je.createElement(ne.Z,{className:`${qr}-handler-down-inner`});const so=typeof pa=="boolean"?pa:void 0;typeof pa=="object"&&(no=typeof pa.upIcon=="undefined"?no:Je.createElement("span",{className:`${qr}-handler-up-inner`},pa.upIcon),oi=typeof pa.downIcon=="undefined"?oi:Je.createElement("span",{className:`${qr}-handler-down-inner`},pa.downIcon));const{hasFeedback:ta,status:to,isFormItemInput:xo,feedbackIcon:xl}=Je.useContext(Fa.aM),ll=(0,ur.F)(to,Ma),Uo=(0,Pa.Z)(Sl=>{var Cl;return(Cl=kn!=null?kn:$a)!==null&&Cl!==void 0?Cl:Sl}),co=Je.useContext(qn.Z),wl=rr!=null?rr:co,Yo=et()({[`${qr}-lg`]:Uo==="large",[`${qr}-sm`]:Uo==="small",[`${qr}-rtl`]:Yn==="rtl",[`${qr}-borderless`]:!ya,[`${qr}-in-form-item`]:xo},(0,ur.Z)(qr,ll),ni,Fi),gl=`${qr}-group`,zl=Je.createElement(Ir,Object.assign({ref:Dt,disabled:wl,className:et()(fn,Vn),upHandler:no,downHandler:oi,prefixCls:qr,readOnly:Sa,controls:so,prefix:ha,suffix:ta&&xl,addonAfter:Ta&&Je.createElement(_a.BR,null,Je.createElement(Fa.Ux,{override:!0,status:!0},Ta)),addonBefore:mn&&Je.createElement(_a.BR,null,Je.createElement(Fa.Ux,{override:!0,status:!0},mn)),classNames:{input:Yo},classes:{affixWrapper:et()((0,ur.Z)(`${qr}-affix-wrapper`,ll,ta),{[`${qr}-affix-wrapper-sm`]:Uo==="small",[`${qr}-affix-wrapper-lg`]:Uo==="large",[`${qr}-affix-wrapper-rtl`]:Yn==="rtl",[`${qr}-affix-wrapper-borderless`]:!ya},Fi),wrapper:et()({[`${gl}-rtl`]:Yn==="rtl",[`${qr}-wrapper-disabled`]:wl},Fi),group:et()({[`${qr}-group-wrapper-sm`]:Uo==="small",[`${qr}-group-wrapper-lg`]:Uo==="large",[`${qr}-group-wrapper-rtl`]:Yn==="rtl"},(0,ur.Z)(`${qr}-group-wrapper`,ll,ta),Fi)}},Er));return Hi(zl)}),Lr=Or,sa=At=>Je.createElement(aa.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},Je.createElement(Or,Object.assign({},At)));Lr._InternalPanelDoNotUseOrYouWillBeFired=sa;var pn=Lr},82586:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Rt},n:function(){return Ee}});var ne=ee(16646),de=ee(94184),Me=ee.n(de),et=ee(67656),we=ee(17799),ke=ee(67294),ce=ee(9708),Se=ee(53124),me=ee(98866),Pe=ee(98675),Xe=ee(65223),fe=ee(4173),Ge=ee(72922),pt=ee(47673);function ot(tt){return!!(tt.prefix||tt.suffix||tt.allowClear)}var vt=function(tt,st){var ye={};for(var ue in tt)Object.prototype.hasOwnProperty.call(tt,ue)&&st.indexOf(ue)<0&&(ye[ue]=tt[ue]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,ue=Object.getOwnPropertySymbols(tt);$e<ue.length;$e++)st.indexOf(ue[$e])<0&&Object.prototype.propertyIsEnumerable.call(tt,ue[$e])&&(ye[ue[$e]]=tt[ue[$e]]);return ye};function Ee(tt,st){if(!tt)return;tt.focus(st);const{cursor:ye}=st||{};if(ye){const ue=tt.value.length;switch(ye){case"start":tt.setSelectionRange(0,0);break;case"end":tt.setSelectionRange(ue,ue);break;default:tt.setSelectionRange(0,ue);break}}}var Rt=(0,ke.forwardRef)((tt,st)=>{var ye;const{prefixCls:ue,bordered:$e=!0,status:Je,size:ht,disabled:yt,onBlur:Fe,onFocus:Be,suffix:mt,allowClear:ze,addonAfter:ut,addonBefore:rt,className:Tt,style:Bt,styles:en,rootClassName:ct,onChange:Ie,classNames:Mt}=tt,vn=vt(tt,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:qt,direction:Nt,input:Kt}=ke.useContext(Se.E_),nn=qt("input",ue),Cn=(0,ke.useRef)(null),[Sn,tn]=(0,pt.ZP)(nn),{compactSize:In,compactItemClassnames:br}=(0,fe.ri)(nn,Nt),gn=(0,Pe.Z)(yn=>{var Kn;return(Kn=ht!=null?ht:In)!==null&&Kn!==void 0?Kn:yn}),Ye=ke.useContext(me.Z),ve=yt!=null?yt:Ye,{status:he,hasFeedback:be,feedbackIcon:ge}=(0,ke.useContext)(Xe.aM),se=(0,ce.F)(he,Je),je=ot(tt)||!!be,xt=(0,ke.useRef)(je);(0,ke.useEffect)(()=>{var yn;je&&xt.current,xt.current=je},[je]);const En=(0,Ge.Z)(Cn,!0),un=yn=>{En(),Fe==null||Fe(yn)},Pn=yn=>{En(),Be==null||Be(yn)},Xn=yn=>{En(),Ie==null||Ie(yn)},_n=(be||mt)&&ke.createElement(ke.Fragment,null,mt,be&&ge);let Vt;return typeof ze=="object"&&(ze!=null&&ze.clearIcon)?Vt=ze:ze&&(Vt={clearIcon:ke.createElement(ne.Z,null)}),Sn(ke.createElement(et.default,Object.assign({ref:(0,we.sQ)(st,Cn),prefixCls:nn,autoComplete:Kt==null?void 0:Kt.autoComplete},vn,{disabled:ve,onBlur:un,onFocus:Pn,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Bt),styles:Object.assign(Object.assign({},Kt==null?void 0:Kt.styles),en),suffix:_n,allowClear:Vt,className:Me()(Tt,ct,br,Kt==null?void 0:Kt.className),onChange:Xn,addonAfter:ut&&ke.createElement(fe.BR,null,ke.createElement(Xe.Ux,{override:!0,status:!0},ut)),addonBefore:rt&&ke.createElement(fe.BR,null,ke.createElement(Xe.Ux,{override:!0,status:!0},rt)),classNames:Object.assign(Object.assign(Object.assign({},Mt),Kt==null?void 0:Kt.classNames),{input:Me()({[`${nn}-sm`]:gn==="small",[`${nn}-lg`]:gn==="large",[`${nn}-rtl`]:Nt==="rtl",[`${nn}-borderless`]:!$e},!je&&(0,ce.Z)(nn,se),Mt==null?void 0:Mt.input,(ye=Kt==null?void 0:Kt.classNames)===null||ye===void 0?void 0:ye.input,tn)}),classes:{affixWrapper:Me()({[`${nn}-affix-wrapper-sm`]:gn==="small",[`${nn}-affix-wrapper-lg`]:gn==="large",[`${nn}-affix-wrapper-rtl`]:Nt==="rtl",[`${nn}-affix-wrapper-borderless`]:!$e},(0,ce.Z)(`${nn}-affix-wrapper`,se,be),tn),wrapper:Me()({[`${nn}-group-rtl`]:Nt==="rtl"},tn),group:Me()({[`${nn}-group-wrapper-sm`]:gn==="small",[`${nn}-group-wrapper-lg`]:gn==="large",[`${nn}-group-wrapper-rtl`]:Nt==="rtl",[`${nn}-group-wrapper-disabled`]:ve},(0,ce.Z)(`${nn}-group-wrapper`,se,be),tn)}})))})},96330:function(Hn,sn,ee){"use strict";var ne=ee(16646),de=ee(94184),Me=ee.n(de),et=ee(64701),we=ee(67294),ke=ee(9708),ce=ee(53124),Se=ee(98866),me=ee(98675),Pe=ee(65223),Xe=ee(82586),fe=ee(47673),Ge=function(ot,vt){var Ee={};for(var wt in ot)Object.prototype.hasOwnProperty.call(ot,wt)&&vt.indexOf(wt)<0&&(Ee[wt]=ot[wt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,wt=Object.getOwnPropertySymbols(ot);Rt<wt.length;Rt++)vt.indexOf(wt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(ot,wt[Rt])&&(Ee[wt[Rt]]=ot[wt[Rt]]);return Ee};const pt=(0,we.forwardRef)((ot,vt)=>{const{prefixCls:Ee,bordered:wt=!0,size:Rt,disabled:tt,status:st,allowClear:ye,showCount:ue,classNames:$e,rootClassName:Je,className:ht}=ot,yt=Ge(ot,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Fe,direction:Be}=we.useContext(ce.E_),mt=(0,me.Z)(Rt),ze=we.useContext(Se.Z),ut=tt!=null?tt:ze,{status:rt,hasFeedback:Tt,feedbackIcon:Bt}=we.useContext(Pe.aM),en=(0,ke.F)(rt,st),ct=we.useRef(null);we.useImperativeHandle(vt,()=>{var Nt;return{resizableTextArea:(Nt=ct.current)===null||Nt===void 0?void 0:Nt.resizableTextArea,focus:Kt=>{var nn,Cn;(0,Xe.n)((Cn=(nn=ct.current)===null||nn===void 0?void 0:nn.resizableTextArea)===null||Cn===void 0?void 0:Cn.textArea,Kt)},blur:()=>{var Kt;return(Kt=ct.current)===null||Kt===void 0?void 0:Kt.blur()}}});const Ie=Fe("input",Ee);let Mt;typeof ye=="object"&&(ye!=null&&ye.clearIcon)?Mt=ye:ye&&(Mt={clearIcon:we.createElement(ne.Z,null)});const[vn,qt]=(0,fe.ZP)(Ie);return vn(we.createElement(et.default,Object.assign({},yt,{disabled:ut,allowClear:Mt,className:Me()(ht,Je),classes:{affixWrapper:Me()(`${Ie}-textarea-affix-wrapper`,{[`${Ie}-affix-wrapper-rtl`]:Be==="rtl",[`${Ie}-affix-wrapper-borderless`]:!wt,[`${Ie}-affix-wrapper-sm`]:mt==="small",[`${Ie}-affix-wrapper-lg`]:mt==="large",[`${Ie}-textarea-show-count`]:ue},(0,ke.Z)(`${Ie}-affix-wrapper`,en),qt)},classNames:Object.assign(Object.assign({},$e),{textarea:Me()({[`${Ie}-borderless`]:!wt,[`${Ie}-sm`]:mt==="small",[`${Ie}-lg`]:mt==="large"},(0,ke.Z)(Ie,en),qt,$e==null?void 0:$e.textarea)}),prefixCls:Ie,suffix:Tt&&we.createElement("span",{className:`${Ie}-textarea-suffix`},Bt),showCount:ue,ref:ct})))});sn.Z=pt},72922:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return de}});var ne=ee(67294);function de(Me,et){const we=(0,ne.useRef)([]),ke=()=>{we.current.push(setTimeout(()=>{var ce,Se,me,Pe;!((ce=Me.current)===null||ce===void 0)&&ce.input&&((Se=Me.current)===null||Se===void 0?void 0:Se.input.getAttribute("type"))==="password"&&(!((me=Me.current)===null||me===void 0)&&me.input.hasAttribute("value"))&&((Pe=Me.current)===null||Pe===void 0||Pe.input.removeAttribute("value"))}))};return(0,ne.useEffect)(()=>(et&&ke(),()=>we.current.forEach(ce=>{ce&&clearTimeout(ce)})),[]),ke}},69677:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return mt}});var ne=ee(94184),de=ee.n(ne),Me=ee(67294),et=ee(53124),we=ee(65223),ke=ee(47673),Se=ze=>{const{getPrefixCls:ut,direction:rt}=(0,Me.useContext)(et.E_),{prefixCls:Tt,className:Bt}=ze,en=ut("input-group",Tt),ct=ut("input"),[Ie,Mt]=(0,ke.ZP)(ct),vn=de()(en,{[`${en}-lg`]:ze.size==="large",[`${en}-sm`]:ze.size==="small",[`${en}-compact`]:ze.compact,[`${en}-rtl`]:rt==="rtl"},Mt,Bt),qt=(0,Me.useContext)(we.aM),Nt=(0,Me.useMemo)(()=>Object.assign(Object.assign({},qt),{isFormItemInput:!1}),[qt]);return Ie(Me.createElement("span",{className:vn,style:ze.style,onMouseEnter:ze.onMouseEnter,onMouseLeave:ze.onMouseLeave,onFocus:ze.onFocus,onBlur:ze.onBlur},Me.createElement(we.aM.Provider,{value:Nt},ze.children)))},me=ee(82586),Pe=ee(63237),Xe=ee(99569),fe=ee(10366),Ge=ee(17799),pt=ee(72922),ot=function(ze,ut){var rt={};for(var Tt in ze)Object.prototype.hasOwnProperty.call(ze,Tt)&&ut.indexOf(Tt)<0&&(rt[Tt]=ze[Tt]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Tt=Object.getOwnPropertySymbols(ze);Bt<Tt.length;Bt++)ut.indexOf(Tt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Tt[Bt])&&(rt[Tt[Bt]]=ze[Tt[Bt]]);return rt};const vt=ze=>ze?Me.createElement(Xe.Z,null):Me.createElement(Pe.Z,null),Ee={click:"onClick",hover:"onMouseOver"};var Rt=Me.forwardRef((ze,ut)=>{const{visibilityToggle:rt=!0}=ze,Tt=typeof rt=="object"&&rt.visible!==void 0,[Bt,en]=(0,Me.useState)(()=>Tt?rt.visible:!1),ct=(0,Me.useRef)(null);Me.useEffect(()=>{Tt&&en(rt.visible)},[Tt,rt]);const Ie=(0,pt.Z)(ct),Mt=()=>{const{disabled:ve}=ze;ve||(Bt&&Ie(),en(he=>{var be;const ge=!he;return typeof rt=="object"&&((be=rt.onVisibleChange)===null||be===void 0||be.call(rt,ge)),ge}))},vn=ve=>{const{action:he="click",iconRender:be=vt}=ze,ge=Ee[he]||"",se=be(Bt),je={[ge]:Mt,className:`${ve}-icon`,key:"passwordIcon",onMouseDown:xt=>{xt.preventDefault()},onMouseUp:xt=>{xt.preventDefault()}};return Me.cloneElement(Me.isValidElement(se)?se:Me.createElement("span",null,se),je)},{className:qt,prefixCls:Nt,inputPrefixCls:Kt,size:nn}=ze,Cn=ot(ze,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Sn}=Me.useContext(et.E_),tn=Sn("input",Kt),In=Sn("input-password",Nt),br=rt&&vn(In),gn=de()(In,qt,{[`${In}-${nn}`]:!!nn}),Ye=Object.assign(Object.assign({},(0,fe.Z)(Cn,["suffix","iconRender","visibilityToggle"])),{type:Bt?"text":"password",className:gn,prefixCls:tn,suffix:br});return nn&&(Ye.size=nn),Me.createElement(me.Z,Object.assign({ref:(0,Ge.sQ)(ut,ct)},Ye))}),tt=ee(72395),st=ee(96159),ye=ee(71577),ue=ee(98675),$e=ee(4173),Je=function(ze,ut){var rt={};for(var Tt in ze)Object.prototype.hasOwnProperty.call(ze,Tt)&&ut.indexOf(Tt)<0&&(rt[Tt]=ze[Tt]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Tt=Object.getOwnPropertySymbols(ze);Bt<Tt.length;Bt++)ut.indexOf(Tt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Tt[Bt])&&(rt[Tt[Bt]]=ze[Tt[Bt]]);return rt},yt=Me.forwardRef((ze,ut)=>{const{prefixCls:rt,inputPrefixCls:Tt,className:Bt,size:en,suffix:ct,enterButton:Ie=!1,addonAfter:Mt,loading:vn,disabled:qt,onSearch:Nt,onChange:Kt,onCompositionStart:nn,onCompositionEnd:Cn}=ze,Sn=Je(ze,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:tn,direction:In}=Me.useContext(et.E_),br=Me.useRef(!1),gn=tn("input-search",rt),Ye=tn("input",Tt),{compactSize:ve}=(0,$e.ri)(gn,In),he=(0,ue.Z)(On=>{var Qt;return(Qt=en!=null?en:ve)!==null&&Qt!==void 0?Qt:On}),be=Me.useRef(null),ge=On=>{On&&On.target&&On.type==="click"&&Nt&&Nt(On.target.value,On,{source:"clear"}),Kt&&Kt(On)},se=On=>{var Qt;document.activeElement===((Qt=be.current)===null||Qt===void 0?void 0:Qt.input)&&On.preventDefault()},je=On=>{var Qt,Dr;Nt&&Nt((Dr=(Qt=be.current)===null||Qt===void 0?void 0:Qt.input)===null||Dr===void 0?void 0:Dr.value,On,{source:"input"})},xt=On=>{br.current||vn||je(On)},En=typeof Ie=="boolean"?Me.createElement(tt.Z,null):null,un=`${gn}-button`;let Pn;const Xn=Ie||{},_n=Xn.type&&Xn.type.__ANT_BUTTON===!0;_n||Xn.type==="button"?Pn=(0,st.Tm)(Xn,Object.assign({onMouseDown:se,onClick:On=>{var Qt,Dr;(Dr=(Qt=Xn==null?void 0:Xn.props)===null||Qt===void 0?void 0:Qt.onClick)===null||Dr===void 0||Dr.call(Qt,On),je(On)},key:"enterButton"},_n?{className:un,size:he}:{})):Pn=Me.createElement(ye.ZP,{className:un,type:Ie?"primary":void 0,size:he,disabled:qt,key:"enterButton",onMouseDown:se,onClick:je,loading:vn,icon:En},Ie),Mt&&(Pn=[Pn,(0,st.Tm)(Mt,{key:"addonAfter"})]);const Vt=de()(gn,{[`${gn}-rtl`]:In==="rtl",[`${gn}-${he}`]:!!he,[`${gn}-with-button`]:!!Ie},Bt),yn=On=>{br.current=!0,nn==null||nn(On)},Kn=On=>{br.current=!1,Cn==null||Cn(On)};return Me.createElement(me.Z,Object.assign({ref:(0,Ge.sQ)(be,ut),onPressEnter:xt},Sn,{size:he,onCompositionStart:yn,onCompositionEnd:Kn,prefixCls:Ye,addonAfter:Pn,suffix:ct,onChange:ge,className:Vt,disabled:qt}))}),Fe=ee(96330);const Be=me.Z;Be.Group=Se,Be.Search=yt,Be.TextArea=Fe.Z,Be.Password=Rt;var mt=Be},47673:function(Hn,sn,ee){"use strict";ee.d(sn,{M1:function(){return ce},TM:function(){return st},Xy:function(){return Se},bi:function(){return Xe},e5:function(){return tt},ik:function(){return fe},nz:function(){return we},pU:function(){return ke},s7:function(){return Ge},x0:function(){return Pe}});var ne=ee(14747),de=ee(80110),Me=ee(45503),et=ee(67968);const we=ye=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:ye,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),ke=ye=>({borderColor:ye.hoverBorderColor}),ce=ye=>({borderColor:ye.activeBorderColor,boxShadow:ye.activeShadow,outline:0}),Se=ye=>({color:ye.colorTextDisabled,backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},ke((0,Me.TS)(ye,{hoverBorderColor:ye.colorBorder})))}),me=ye=>{const{paddingBlockLG:ue,fontSizeLG:$e,lineHeightLG:Je,borderRadiusLG:ht,paddingInlineLG:yt}=ye;return{padding:`${ue}px ${yt}px`,fontSize:$e,lineHeight:Je,borderRadius:ht}},Pe=ye=>({padding:`${ye.paddingBlockSM}px ${ye.paddingInlineSM}px`,borderRadius:ye.borderRadiusSM}),Xe=(ye,ue)=>{const{componentCls:$e,colorError:Je,colorWarning:ht,errorActiveShadow:yt,warningActiveShadow:Fe,colorErrorBorderHover:Be,colorWarningBorderHover:mt}=ye;return{[`&-status-error:not(${ue}-disabled):not(${ue}-borderless)${ue}`]:{borderColor:Je,"&:hover":{borderColor:Be},"&:focus, &-focused":Object.assign({},ce((0,Me.TS)(ye,{activeBorderColor:Je,activeShadow:yt}))),[`${$e}-prefix, ${$e}-suffix`]:{color:Je}},[`&-status-warning:not(${ue}-disabled):not(${ue}-borderless)${ue}`]:{borderColor:ht,"&:hover":{borderColor:mt},"&:focus, &-focused":Object.assign({},ce((0,Me.TS)(ye,{activeBorderColor:ht,activeShadow:Fe}))),[`${$e}-prefix, ${$e}-suffix`]:{color:ht}}}},fe=ye=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${ye.paddingBlock}px ${ye.paddingInline}px`,color:ye.colorText,fontSize:ye.fontSize,lineHeight:ye.lineHeight,backgroundColor:ye.colorBgContainer,backgroundImage:"none",borderWidth:ye.lineWidth,borderStyle:ye.lineType,borderColor:ye.colorBorder,borderRadius:ye.borderRadius,transition:`all ${ye.motionDurationMid}`},we(ye.colorTextPlaceholder)),{"&:hover":Object.assign({},ke(ye)),"&:focus, &-focused":Object.assign({},ce(ye)),"&-disabled, &[disabled]":Object.assign({},Se(ye)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:ye.controlHeight,lineHeight:ye.lineHeight,verticalAlign:"bottom",transition:`all ${ye.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},me(ye)),"&-sm":Object.assign({},Pe(ye)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Ge=ye=>{const{componentCls:ue,antCls:$e}=ye;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:ye.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${ue}, &-lg > ${ue}-group-addon`]:Object.assign({},me(ye)),[`&-sm ${ue}, &-sm > ${ue}-group-addon`]:Object.assign({},Pe(ye)),[`&-lg ${$e}-select-single ${$e}-select-selector`]:{height:ye.controlHeightLG},[`&-sm ${$e}-select-single ${$e}-select-selector`]:{height:ye.controlHeightSM},[`> ${ue}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${ue}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${ye.paddingInline}px`,color:ye.colorText,fontWeight:"normal",fontSize:ye.fontSize,textAlign:"center",backgroundColor:ye.colorFillAlter,border:`${ye.lineWidth}px ${ye.lineType} ${ye.colorBorder}`,borderRadius:ye.borderRadius,transition:`all ${ye.motionDurationSlow}`,lineHeight:1,[`${$e}-select`]:{margin:`-${ye.paddingBlock+1}px -${ye.paddingInline}px`,[`&${$e}-select-single:not(${$e}-select-customize-input)`]:{[`${$e}-select-selector`]:{backgroundColor:"inherit",border:`${ye.lineWidth}px ${ye.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${$e}-select-selector`]:{color:ye.colorPrimary}}},[`${$e}-cascader-picker`]:{margin:`-9px -${ye.paddingInline}px`,backgroundColor:"transparent",[`${$e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${ue}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${ue}-search-with-button &`]:{zIndex:0}}},[`> ${ue}:first-child, ${ue}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${ue}-affix-wrapper`]:{[`&:not(:first-child) ${ue}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${ue}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${ue}:last-child, ${ue}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${ue}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${ue}-search &`]:{borderStartStartRadius:ye.borderRadius,borderEndStartRadius:ye.borderRadius}},[`&:not(:first-child), ${ue}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${ue}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ne.dF)()),{[`${ue}-group-addon, ${ue}-group-wrap, > ${ue}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:ye.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${ue}-affix-wrapper,
& > ${ue}-number-affix-wrapper,
& > ${$e}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-ye.lineWidth,borderInlineEndWidth:ye.lineWidth},[`${ue}`]:{float:"none"},[`& > ${$e}-select > ${$e}-select-selector,
& > ${$e}-select-auto-complete ${ue},
& > ${$e}-cascader-picker ${ue},
& > ${ue}-group-wrapper ${ue}`]:{borderInlineEndWidth:ye.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${$e}-select-focused`]:{zIndex:1},[`& > ${$e}-select > ${$e}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${$e}-select:first-child > ${$e}-select-selector,
& > ${$e}-select-auto-complete:first-child ${ue},
& > ${$e}-cascader-picker:first-child ${ue}`]:{borderStartStartRadius:ye.borderRadius,borderEndStartRadius:ye.borderRadius},[`& > *:last-child,
& > ${$e}-select:last-child > ${$e}-select-selector,
& > ${$e}-cascader-picker:last-child ${ue},
& > ${$e}-cascader-picker-focused:last-child ${ue}`]:{borderInlineEndWidth:ye.lineWidth,borderStartEndRadius:ye.borderRadius,borderEndEndRadius:ye.borderRadius},[`& > ${$e}-select-auto-complete ${ue}`]:{verticalAlign:"top"},[`${ue}-group-wrapper + ${ue}-group-wrapper`]:{marginInlineStart:-ye.lineWidth,[`${ue}-affix-wrapper`]:{borderRadius:0}},[`${ue}-group-wrapper:not(:last-child)`]:{[`&${ue}-search > ${ue}-group`]:{[`& > ${ue}-group-addon > ${ue}-search-button`]:{borderRadius:0},[`& > ${ue}`]:{borderStartStartRadius:ye.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ye.borderRadius}}}})}},pt=ye=>{const{componentCls:ue,controlHeightSM:$e,lineWidth:Je}=ye,yt=($e-Je*2-16)/2;return{[ue]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(ye)),fe(ye)),Xe(ye,ue)),{'&[type="color"]':{height:ye.controlHeight,[`&${ue}-lg`]:{height:ye.controlHeightLG},[`&${ue}-sm`]:{height:$e,paddingTop:yt,paddingBottom:yt}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},ot=ye=>{const{componentCls:ue}=ye;return{[`${ue}-clear-icon`]:{margin:0,color:ye.colorTextQuaternary,fontSize:ye.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${ye.motionDurationSlow}`,"&:hover":{color:ye.colorTextTertiary},"&:active":{color:ye.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${ye.inputAffixPadding}px`}}}},vt=ye=>{const{componentCls:ue,inputAffixPadding:$e,colorTextDescription:Je,motionDurationSlow:ht,colorIcon:yt,colorIconHover:Fe,iconCls:Be}=ye;return{[`${ue}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},fe(ye)),{display:"inline-flex",[`&:not(${ue}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},ke(ye)),{zIndex:1,[`${ue}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${ue}[disabled]`]:{background:"transparent"}},[`> input${ue}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${ue}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:ye.paddingXS}},"&-show-count-suffix":{color:Je},"&-show-count-has-suffix":{marginInlineEnd:ye.paddingXXS},"&-prefix":{marginInlineEnd:$e},"&-suffix":{marginInlineStart:$e}}}),ot(ye)),{[`${Be}${ue}-password-icon`]:{color:yt,cursor:"pointer",transition:`all ${ht}`,"&:hover":{color:Fe}}}),Xe(ye,`${ue}-affix-wrapper`))}},Ee=ye=>{const{componentCls:ue,colorError:$e,colorWarning:Je,borderRadiusLG:ht,borderRadiusSM:yt}=ye;return{[`${ue}-group`]:Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(ye)),Ge(ye)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${ue}-group-addon`]:{borderRadius:ht,fontSize:ye.fontSizeLG}},"&-sm":{[`${ue}-group-addon`]:{borderRadius:yt}},"&-status-error":{[`${ue}-group-addon`]:{color:$e,borderColor:$e}},"&-status-warning":{[`${ue}-group-addon`]:{color:Je,borderColor:Je}},"&-disabled":{[`${ue}-group-addon`]:Object.assign({},Se(ye))},[`&:not(${ue}-compact-first-item):not(${ue}-compact-last-item)${ue}-compact-item`]:{[`${ue}, ${ue}-group-addon`]:{borderRadius:0}},[`&:not(${ue}-compact-last-item)${ue}-compact-first-item`]:{[`${ue}, ${ue}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${ue}-compact-first-item)${ue}-compact-last-item`]:{[`${ue}, ${ue}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},wt=ye=>{const{componentCls:ue,antCls:$e}=ye,Je=`${ue}-search`;return{[Je]:{[`${ue}`]:{"&:hover, &:focus":{borderColor:ye.colorPrimaryHover,[`+ ${ue}-group-addon ${Je}-button:not(${$e}-btn-primary)`]:{borderInlineStartColor:ye.colorPrimaryHover}}},[`${ue}-affix-wrapper`]:{borderRadius:0},[`${ue}-lg`]:{lineHeight:ye.lineHeightLG-2e-4},[`> ${ue}-group`]:{[`> ${ue}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Je}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:ye.borderRadius,borderEndEndRadius:ye.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${Je}-button:not(${$e}-btn-primary)`]:{color:ye.colorTextDescription,"&:hover":{color:ye.colorPrimaryHover},"&:active":{color:ye.colorPrimaryActive},[`&${$e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Je}-button`]:{height:ye.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${Je}-button`]:{height:ye.controlHeightLG},[`&-small ${Je}-button`]:{height:ye.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${ue}-compact-item`]:{[`&:not(${ue}-compact-last-item)`]:{[`${ue}-group-addon`]:{[`${ue}-search-button`]:{marginInlineEnd:-ye.lineWidth,borderRadius:0}}},[`&:not(${ue}-compact-first-item)`]:{[`${ue},${ue}-affix-wrapper`]:{borderRadius:0}},[`> ${ue}-group-addon ${ue}-search-button,
> ${ue},
${ue}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${ue}-affix-wrapper-focused`]:{zIndex:2}}}}},Rt=ye=>{const{componentCls:ue,paddingLG:$e}=ye,Je=`${ue}-textarea`;return{[Je]:{position:"relative","&-show-count":{[`> ${ue}`]:{height:"100%"},[`${ue}-data-count`]:{position:"absolute",bottom:-ye.fontSize*ye.lineHeight,insetInlineEnd:0,color:ye.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${ue}`]:{paddingInlineEnd:$e}},[`&-affix-wrapper${Je}-has-feedback`]:{[`${ue}`]:{paddingInlineEnd:$e}},[`&-affix-wrapper${ue}-affix-wrapper`]:{padding:0,[`> textarea${ue}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${ue}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${ue}-clear-icon`]:{position:"absolute",insetInlineEnd:ye.paddingXS,insetBlockStart:ye.paddingXS},[`${Je}-suffix`]:{position:"absolute",top:0,insetInlineEnd:ye.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function tt(ye){return(0,Me.TS)(ye,{inputAffixPadding:ye.paddingXXS})}const st=ye=>{const{controlHeight:ue,fontSize:$e,lineHeight:Je,lineWidth:ht,controlHeightSM:yt,controlHeightLG:Fe,fontSizeLG:Be,lineHeightLG:mt,paddingSM:ze,controlPaddingHorizontalSM:ut,controlPaddingHorizontal:rt,colorFillAlter:Tt,colorPrimaryHover:Bt,controlOutlineWidth:en,controlOutline:ct,colorErrorOutline:Ie,colorWarningOutline:Mt}=ye;return{paddingBlock:Math.max(Math.round((ue-$e*Je)/2*10)/10-ht,3),paddingBlockSM:Math.max(Math.round((yt-$e*Je)/2*10)/10-ht,0),paddingBlockLG:Math.ceil((Fe-Be*mt)/2*10)/10-ht,paddingInline:ze-ht,paddingInlineSM:ut-ht,paddingInlineLG:rt-ht,addonBg:Tt,activeBorderColor:Bt,hoverBorderColor:Bt,activeShadow:`0 0 0 ${en}px ${ct}`,errorActiveShadow:`0 0 0 ${en}px ${Ie}`,warningActiveShadow:`0 0 0 ${en}px ${Mt}`}};sn.ZP=(0,et.Z)("Input",ye=>{const ue=(0,Me.TS)(ye,tt(ye));return[pt(ue),Rt(ue),vt(ue),Ee(ue),wt(ue),(0,de.c)(ue)]},st)},71322:function(Hn,sn,ee){"use strict";ee.d(sn,{D:function(){return Rt},Z:function(){return ye}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},et=Me,we=ee(84089),ke=function($e,Je){return de.createElement(we.Z,(0,ne.Z)({},$e,{ref:Je,icon:et}))},ce=de.forwardRef(ke),Se=ee(22751),me=ee(91034),Pe=ee(94184),Xe=ee.n(Pe),fe=ee(10366),pt=ue=>!isNaN(parseFloat(ue))&&isFinite(ue),ot=ee(53124),vt=ee(84321),Ee=function(ue,$e){var Je={};for(var ht in ue)Object.prototype.hasOwnProperty.call(ue,ht)&&$e.indexOf(ht)<0&&(Je[ht]=ue[ht]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,ht=Object.getOwnPropertySymbols(ue);yt<ht.length;yt++)$e.indexOf(ht[yt])<0&&Object.prototype.propertyIsEnumerable.call(ue,ht[yt])&&(Je[ht[yt]]=ue[ht[yt]]);return Je};const wt={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Rt=de.createContext({}),tt=(()=>{let ue=0;return function(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue+=1,`${$e}${ue}`}})();var ye=de.forwardRef((ue,$e)=>{const{prefixCls:Je,className:ht,trigger:yt,children:Fe,defaultCollapsed:Be=!1,theme:mt="dark",style:ze={},collapsible:ut=!1,reverseArrow:rt=!1,width:Tt=200,collapsedWidth:Bt=80,zeroWidthTriggerStyle:en,breakpoint:ct,onCollapse:Ie,onBreakpoint:Mt}=ue,vn=Ee(ue,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:qt}=(0,de.useContext)(vt.Gs),[Nt,Kt]=(0,de.useState)("collapsed"in ue?ue.collapsed:Be),[nn,Cn]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ue&&Kt(ue.collapsed)},[ue.collapsed]);const Sn=(ve,he)=>{"collapsed"in ue||Kt(ve),Ie==null||Ie(ve,he)},tn=(0,de.useRef)();tn.current=ve=>{Cn(ve.matches),Mt==null||Mt(ve.matches),Nt!==ve.matches&&Sn(ve.matches,"responsive")},(0,de.useEffect)(()=>{function ve(be){return tn.current(be)}let he;if(typeof window!="undefined"){const{matchMedia:be}=window;if(be&&ct&&ct in wt){he=be(`(max-width: ${wt[ct]})`);try{he.addEventListener("change",ve)}catch(ge){he.addListener(ve)}ve(he)}}return()=>{try{he==null||he.removeEventListener("change",ve)}catch(be){he==null||he.removeListener(ve)}}},[ct]),(0,de.useEffect)(()=>{const ve=tt("ant-sider-");return qt.addSider(ve),()=>qt.removeSider(ve)},[]);const In=()=>{Sn(!Nt,"clickTrigger")},{getPrefixCls:br}=(0,de.useContext)(ot.E_),gn=()=>{const ve=br("layout-sider",Je),he=(0,fe.Z)(vn,["collapsed"]),be=Nt?Bt:Tt,ge=pt(be)?`${be}px`:String(be),se=parseFloat(String(Bt||0))===0?de.createElement("span",{onClick:In,className:Xe()(`${ve}-zero-width-trigger`,`${ve}-zero-width-trigger-${rt?"right":"left"}`),style:en},yt||de.createElement(ce,null)):null,En={expanded:rt?de.createElement(me.Z,null):de.createElement(Se.Z,null),collapsed:rt?de.createElement(Se.Z,null):de.createElement(me.Z,null)}[Nt?"collapsed":"expanded"],un=yt!==null?se||de.createElement("div",{className:`${ve}-trigger`,onClick:In,style:{width:ge}},yt||En):null,Pn=Object.assign(Object.assign({},ze),{flex:`0 0 ${ge}`,maxWidth:ge,minWidth:ge,width:ge}),Xn=Xe()(ve,`${ve}-${mt}`,{[`${ve}-collapsed`]:!!Nt,[`${ve}-has-trigger`]:ut&&yt!==null&&!se,[`${ve}-below`]:!!nn,[`${ve}-zero-width`]:parseFloat(ge)===0},ht);return de.createElement("aside",Object.assign({className:Xn},he,{style:Pn,ref:$e}),de.createElement("div",{className:`${ve}-children`},Fe),ut||nn&&se?un:null)},Ye=de.useMemo(()=>({siderCollapsed:Nt}),[Nt]);return de.createElement(Rt.Provider,{value:Ye},gn())})},84321:function(Hn,sn,ee){"use strict";ee.d(sn,{VY:function(){return tt},$_:function(){return Rt},h4:function(){return wt},Gs:function(){return Ge},ZP:function(){return st}});var ne=ee(74902),de=ee(94184),Me=ee.n(de),et=ee(10366),we=ee(67294),ke=ee(53124),ce=ee(67968),me=ye=>{const{componentCls:ue,bodyBg:$e,lightSiderBg:Je,lightTriggerBg:ht,lightTriggerColor:yt}=ye;return{[`${ue}-sider-light`]:{background:Je,[`${ue}-sider-trigger`]:{color:yt,background:ht},[`${ue}-sider-zero-width-trigger`]:{color:yt,background:ht,border:`1px solid ${$e}`,borderInlineStart:0}}}};const Pe=ye=>{const{antCls:ue,componentCls:$e,colorText:Je,triggerColor:ht,footerBg:yt,triggerBg:Fe,headerHeight:Be,headerPadding:mt,headerColor:ze,footerPadding:ut,triggerHeight:rt,zeroTriggerHeight:Tt,zeroTriggerWidth:Bt,motionDurationMid:en,motionDurationSlow:ct,fontSize:Ie,borderRadius:Mt,bodyBg:vn,headerBg:qt,siderBg:Nt}=ye;return{[$e]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:vn,"&, *":{boxSizing:"border-box"},[`&${$e}-has-sider`]:{flexDirection:"row",[`> ${$e}, > ${$e}-content`]:{width:0}},[`${$e}-header, &${$e}-footer`]:{flex:"0 0 auto"},[`${$e}-sider`]:{position:"relative",minWidth:0,background:Nt,transition:`all ${en}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ue}-menu${ue}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:rt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:rt,color:ht,lineHeight:`${rt}px`,textAlign:"center",background:Fe,cursor:"pointer",transition:`all ${en}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Be,insetInlineEnd:-Bt,zIndex:1,width:Bt,height:Tt,color:ht,fontSize:ye.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Nt,borderStartStartRadius:0,borderStartEndRadius:Mt,borderEndEndRadius:Mt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ct} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ct}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Bt,borderStartStartRadius:Mt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Mt}}}}},me(ye)),{"&-rtl":{direction:"rtl"}}),[`${$e}-header`]:{height:Be,padding:mt,color:ze,lineHeight:`${Be}px`,background:qt,[`${ue}-menu`]:{lineHeight:"inherit"}},[`${$e}-footer`]:{padding:ut,color:Je,fontSize:Ie,background:yt},[`${$e}-content`]:{flex:"auto",minHeight:0}}};var Xe=(0,ce.Z)("Layout",ye=>[Pe(ye)],ye=>{const{colorBgLayout:ue,controlHeight:$e,controlHeightLG:Je,colorText:ht,controlHeightSM:yt,marginXXS:Fe,colorTextLightSolid:Be,colorBgContainer:mt}=ye,ze=Je*1.25;return{colorBgHeader:"#001529",colorBgBody:ue,colorBgTrigger:"#002140",bodyBg:ue,headerBg:"#001529",headerHeight:$e*2,headerPadding:`0 ${ze}px`,headerColor:ht,footerPadding:`${yt}px ${ze}px`,footerBg:ue,siderBg:"#001529",triggerHeight:Je+Fe*2,triggerBg:"#002140",triggerColor:Be,zeroTriggerWidth:Je,zeroTriggerHeight:Je,lightSiderBg:mt,lightTriggerBg:mt,lightTriggerColor:ht}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),fe=function(ye,ue){var $e={};for(var Je in ye)Object.prototype.hasOwnProperty.call(ye,Je)&&ue.indexOf(Je)<0&&($e[Je]=ye[Je]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Je=Object.getOwnPropertySymbols(ye);ht<Je.length;ht++)ue.indexOf(Je[ht])<0&&Object.prototype.propertyIsEnumerable.call(ye,Je[ht])&&($e[Je[ht]]=ye[Je[ht]]);return $e};const Ge=we.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function pt(ye){let{suffixCls:ue,tagName:$e,displayName:Je}=ye;return ht=>we.forwardRef((Fe,Be)=>we.createElement(ht,Object.assign({ref:Be,suffixCls:ue,tagName:$e},Fe)))}const ot=we.forwardRef((ye,ue)=>{const{prefixCls:$e,suffixCls:Je,className:ht,tagName:yt}=ye,Fe=fe(ye,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Be}=we.useContext(ke.E_),mt=Be("layout",$e),[ze,ut]=Xe(mt),rt=Je?`${mt}-${Je}`:mt;return ze(we.createElement(yt,Object.assign({className:Me()($e||rt,ht,ut),ref:ue},Fe)))}),vt=we.forwardRef((ye,ue)=>{const{direction:$e}=we.useContext(ke.E_),[Je,ht]=we.useState([]),{prefixCls:yt,className:Fe,rootClassName:Be,children:mt,hasSider:ze,tagName:ut,style:rt}=ye,Tt=fe(ye,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Bt=(0,et.Z)(Tt,["suffixCls"]),{getPrefixCls:en,layout:ct}=we.useContext(ke.E_),Ie=en("layout",yt),[Mt,vn]=Xe(Ie),qt=Me()(Ie,{[`${Ie}-has-sider`]:typeof ze=="boolean"?ze:Je.length>0,[`${Ie}-rtl`]:$e==="rtl"},ct==null?void 0:ct.className,Fe,Be,vn),Nt=we.useMemo(()=>({siderHook:{addSider:Kt=>{ht(nn=>[].concat((0,ne.Z)(nn),[Kt]))},removeSider:Kt=>{ht(nn=>nn.filter(Cn=>Cn!==Kt))}}}),[]);return Mt(we.createElement(Ge.Provider,{value:Nt},we.createElement(ut,Object.assign({ref:ue,className:qt,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),rt)},Bt),mt)))}),Ee=pt({tagName:"div",displayName:"Layout"})(vt),wt=pt({suffixCls:"header",tagName:"header",displayName:"Header"})(ot),Rt=pt({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(ot),tt=pt({suffixCls:"content",tagName:"main",displayName:"Content"})(ot);var st=Ee},76529:function(Hn,sn,ee){"use strict";ee.d(sn,{J:function(){return ke}});var ne=ee(67294),de=ee(4173),Me=ee(60276),et=function(ce,Se){var me={};for(var Pe in ce)Object.prototype.hasOwnProperty.call(ce,Pe)&&Se.indexOf(Pe)<0&&(me[Pe]=ce[Pe]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Pe=Object.getOwnPropertySymbols(ce);Xe<Pe.length;Xe++)Se.indexOf(Pe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(ce,Pe[Xe])&&(me[Pe[Xe]]=ce[Pe[Xe]]);return me};const we=ne.createContext(null),ke=ne.forwardRef((ce,Se)=>{const{children:me}=ce,Pe=et(ce,["children"]),Xe=ne.useContext(we),fe=ne.useMemo(()=>Object.assign(Object.assign({},Xe),Pe),[Xe,Pe.prefixCls,Pe.mode,Pe.selectable]);return ne.createElement(we.Provider,{value:fe},ne.createElement(de.BR,null,(0,Me.supportNodeRef)(me)?ne.cloneElement(me,{ref:Se}):me))});sn.Z=we},68508:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return ve}});var ne=ee(78595),de=ee(67294),Me=ee(71322),et=ee(94184),we=ee.n(et),ke=ee(53124),ce=function(he,be){var ge={};for(var se in he)Object.prototype.hasOwnProperty.call(he,se)&&be.indexOf(se)<0&&(ge[se]=he[se]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,se=Object.getOwnPropertySymbols(he);je<se.length;je++)be.indexOf(se[je])<0&&Object.prototype.propertyIsEnumerable.call(he,se[je])&&(ge[se[je]]=he[se[je]]);return ge},me=he=>{const{prefixCls:be,className:ge,dashed:se}=he,je=ce(he,["prefixCls","className","dashed"]),{getPrefixCls:xt}=de.useContext(ke.E_),En=xt("menu",be),un=we()({[`${En}-item-divider-dashed`]:!!se},ge);return de.createElement(ne.iz,Object.assign({className:un},je))},Pe=ee(37419),Xe=ee(10366),fe=ee(83062),Ge=ee(96159),ot=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ee=he=>{var be;const{className:ge,children:se,icon:je,title:xt,danger:En}=he,{prefixCls:un,firstLevel:Pn,direction:Xn,disableMenuItemTitleTooltip:_n,inlineCollapsed:Vt}=de.useContext(ot),yn=rn=>{const Ir=de.createElement("span",{className:`${un}-title-content`},se);return(!je||(0,Ge.l$)(se)&&se.type==="span")&&se&&rn&&Pn&&typeof se=="string"?de.createElement("div",{className:`${un}-inline-collapsed-noicon`},se.charAt(0)):Ir},{siderCollapsed:Kn}=de.useContext(Me.D);let On=xt;typeof xt=="undefined"?On=Pn?se:"":xt===!1&&(On="");const Qt={title:On};!Kn&&!Vt&&(Qt.title=null,Qt.open=!1);const Dr=(0,Pe.Z)(se).length;let jt=de.createElement(ne.ck,Object.assign({},(0,Xe.Z)(he,["title","icon","danger"]),{className:we()({[`${un}-item-danger`]:En,[`${un}-item-only-child`]:(je?Dr+1:Dr)===1},ge),title:typeof xt=="string"?xt:void 0}),(0,Ge.Tm)(je,{className:we()((0,Ge.l$)(je)?(be=je.props)===null||be===void 0?void 0:be.className:"",`${un}-item-icon`)}),yn(Vt));return _n||(jt=de.createElement(fe.Z,Object.assign({},Qt,{placement:Xn==="rtl"?"left":"right",overlayClassName:`${un}-inline-collapsed-tooltip`}),jt)),jt},Rt=he=>{var be;const{popupClassName:ge,icon:se,title:je,theme:xt}=he,En=de.useContext(ot),{prefixCls:un,inlineCollapsed:Pn,theme:Xn}=En,_n=(0,ne.Xl)();let Vt;if(!se)Vt=Pn&&!_n.length&&je&&typeof je=="string"?de.createElement("div",{className:`${un}-inline-collapsed-noicon`},je.charAt(0)):de.createElement("span",{className:`${un}-title-content`},je);else{const Kn=(0,Ge.l$)(je)&&je.type==="span";Vt=de.createElement(de.Fragment,null,(0,Ge.Tm)(se,{className:we()((0,Ge.l$)(se)?(be=se.props)===null||be===void 0?void 0:be.className:"",`${un}-item-icon`)}),Kn?je:de.createElement("span",{className:`${un}-title-content`},je))}const yn=de.useMemo(()=>Object.assign(Object.assign({},En),{firstLevel:!1}),[En]);return de.createElement(ot.Provider,{value:yn},de.createElement(ne.Wd,Object.assign({},(0,Xe.Z)(he,["icon"]),{title:Vt,popupClassName:we()(un,ge,`${un}-${xt||Xn}`)})))},tt=ee(25877),st=ee(60276),ye=ee(33603),ue=ee(76529),$e=function(he,be){var ge={};for(var se in he)Object.prototype.hasOwnProperty.call(he,se)&&be.indexOf(se)<0&&(ge[se]=he[se]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,se=Object.getOwnPropertySymbols(he);je<se.length;je++)be.indexOf(se[je])<0&&Object.prototype.propertyIsEnumerable.call(he,se[je])&&(ge[se[je]]=he[se[je]]);return ge};function Je(he){return(he||[]).map((be,ge)=>{if(be&&typeof be=="object"){const se=be,{label:je,children:xt,key:En,type:un}=se,Pn=$e(se,["label","children","key","type"]),Xn=En!=null?En:`tmp-${ge}`;return xt||un==="group"?un==="group"?de.createElement(ne.BW,Object.assign({key:Xn},Pn,{title:je}),Je(xt)):de.createElement(Rt,Object.assign({key:Xn},Pn,{title:je}),Je(xt)):un==="divider"?de.createElement(me,Object.assign({key:Xn},Pn)):de.createElement(Ee,Object.assign({key:Xn},Pn),je)}return null}).filter(be=>be)}function ht(he){return de.useMemo(()=>he&&Je(he),[he])}var yt=ee(84780),Fe=ee(14747),Be=ee(33507),mt=ee(67771),ze=ee(50438),ut=ee(67968),rt=ee(45503),Bt=he=>{const{componentCls:be,motionDurationSlow:ge,horizontalLineHeight:se,colorSplit:je,lineWidth:xt,lineType:En,itemPaddingInline:un}=he;return{[`${be}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${xt}px ${En} ${je}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${be}-item, ${be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:un},[`> ${be}-item:hover,
> ${be}-item-active,
> ${be}-submenu ${be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${be}-item, ${be}-submenu-title`]:{transition:[`border-color ${ge}`,`background ${ge}`].join(",")},[`${be}-submenu-arrow`]:{display:"none"}}}},ct=he=>{let{componentCls:be,menuArrowOffset:ge}=he;return{[`${be}-rtl`]:{direction:"rtl"},[`${be}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${be}-rtl${be}-vertical,
${be}-submenu-rtl ${be}-vertical`]:{[`${be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ge})`},"&::after":{transform:`rotate(45deg) translateY(${ge})`}}}}};const Ie=he=>Object.assign({},(0,Fe.oN)(he));var vn=(he,be)=>{const{componentCls:ge,itemColor:se,itemSelectedColor:je,groupTitleColor:xt,itemBg:En,subMenuItemBg:un,itemSelectedBg:Pn,activeBarHeight:Xn,activeBarWidth:_n,activeBarBorderWidth:Vt,motionDurationSlow:yn,motionEaseInOut:Kn,motionEaseOut:On,itemPaddingInline:Qt,motionDurationMid:Dr,itemHoverColor:jt,lineType:rn,colorSplit:Ir,itemDisabledColor:ur,dangerItemColor:Rr,dangerItemHoverColor:aa,dangerItemSelectedColor:qn,dangerItemActiveBg:Pa,dangerItemSelectedBg:Fa,itemHoverBg:_a,itemActiveBg:Xr,menuSubMenuBg:Da,horizontalItemSelectedColor:Mi,horizontalItemSelectedBg:Si,horizontalItemBorderRadius:zi,horizontalItemHoverBg:fi,popupBg:Tn}=he;return{[`${ge}-${be}, ${ge}-${be} > ${ge}`]:{color:se,background:En,[`&${ge}-root:focus-visible`]:Object.assign({},Ie(he)),[`${ge}-item-group-title`]:{color:xt},[`${ge}-submenu-selected`]:{[`> ${ge}-submenu-title`]:{color:je}},[`${ge}-item-disabled, ${ge}-submenu-disabled`]:{color:`${ur} !important`},[`${ge}-item:not(${ge}-item-selected):not(${ge}-submenu-selected)`]:{[`&:hover, > ${ge}-submenu-title:hover`]:{color:jt}},[`&:not(${ge}-horizontal)`]:{[`${ge}-item:not(${ge}-item-selected)`]:{"&:hover":{backgroundColor:_a},"&:active":{backgroundColor:Xr}},[`${ge}-submenu-title`]:{"&:hover":{backgroundColor:_a},"&:active":{backgroundColor:Xr}}},[`${ge}-item-danger`]:{color:Rr,[`&${ge}-item:hover`]:{[`&:not(${ge}-item-selected):not(${ge}-submenu-selected)`]:{color:aa}},[`&${ge}-item:active`]:{background:Pa}},[`${ge}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ge}-item-selected`]:{color:je,[`&${ge}-item-danger`]:{color:qn},"a, a:hover":{color:"inherit"}},[`& ${ge}-item-selected`]:{backgroundColor:Pn,[`&${ge}-item-danger`]:{backgroundColor:Fa}},[`${ge}-item, ${ge}-submenu-title`]:{[`&:not(${ge}-item-disabled):focus-visible`]:Object.assign({},Ie(he))},[`&${ge}-submenu > ${ge}`]:{backgroundColor:Da},[`&${ge}-popup > ${ge}`]:{backgroundColor:Tn},[`&${ge}-horizontal`]:Object.assign(Object.assign({},be==="dark"?{borderBottom:0}:{}),{[`> ${ge}-item, > ${ge}-submenu`]:{top:Vt,marginTop:-Vt,marginBottom:0,borderRadius:zi,"&::after":{position:"absolute",insetInline:Qt,bottom:0,borderBottom:`${Xn}px solid transparent`,transition:`border-color ${yn} ${Kn}`,content:'""'},"&:hover, &-active, &-open":{background:fi,"&::after":{borderBottomWidth:Xn,borderBottomColor:Mi}},"&-selected":{color:Mi,backgroundColor:Si,"&:hover":{backgroundColor:Si},"&::after":{borderBottomWidth:Xn,borderBottomColor:Mi}}}}),[`&${ge}-root`]:{[`&${ge}-inline, &${ge}-vertical`]:{borderInlineEnd:`${Vt}px ${rn} ${Ir}`}},[`&${ge}-inline`]:{[`${ge}-sub${ge}-inline`]:{background:un},[`${ge}-item, ${ge}-submenu-title`]:Vt&&_n?{width:`calc(100% + ${Vt}px)`}:{},[`${ge}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${_n}px solid ${je}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Dr} ${On}`,`opacity ${Dr} ${On}`].join(","),content:'""'},[`&${ge}-item-danger`]:{"&::after":{borderInlineEndColor:qn}}},[`${ge}-selected, ${ge}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Dr} ${Kn}`,`opacity ${Dr} ${Kn}`].join(",")}}}}}};const qt=he=>{const{componentCls:be,itemHeight:ge,itemMarginInline:se,padding:je,menuArrowSize:xt,marginXS:En,itemMarginBlock:un}=he,Pn=je+xt+En;return{[`${be}-item`]:{position:"relative",overflow:"hidden"},[`${be}-item, ${be}-submenu-title`]:{height:ge,lineHeight:`${ge}px`,paddingInline:je,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:un,width:`calc(100% - ${se*2}px)`},[`> ${be}-item,
> ${be}-submenu > ${be}-submenu-title`]:{height:ge,lineHeight:`${ge}px`},[`${be}-item-group-list ${be}-submenu-title,
${be}-submenu-title`]:{paddingInlineEnd:Pn}}};var Kt=he=>{const{componentCls:be,iconCls:ge,itemHeight:se,colorTextLightSolid:je,dropdownWidth:xt,controlHeightLG:En,motionDurationMid:un,motionEaseOut:Pn,paddingXL:Xn,itemMarginInline:_n,fontSizeLG:Vt,motionDurationSlow:yn,paddingXS:Kn,boxShadowSecondary:On,collapsedWidth:Qt,collapsedIconSize:Dr}=he,jt={height:se,lineHeight:`${se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[be]:{"&-inline, &-vertical":Object.assign({[`&${be}-root`]:{boxShadow:"none"}},qt(he))},[`${be}-submenu-popup`]:{[`${be}-vertical`]:Object.assign(Object.assign({},qt(he)),{boxShadow:On})}},{[`${be}-submenu-popup ${be}-vertical${be}-sub`]:{minWidth:xt,maxHeight:`calc(100vh - ${En*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${be}-inline`]:{width:"100%",[`&${be}-root`]:{[`${be}-item, ${be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${yn}`,`background ${yn}`,`padding ${un} ${Pn}`].join(","),[`> ${be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${be}-sub${be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${be}-submenu > ${be}-submenu-title`]:jt,[`& ${be}-item-group-title`]:{paddingInlineStart:Xn}},[`${be}-item`]:jt}},{[`${be}-inline-collapsed`]:{width:Qt,[`&${be}-root`]:{[`${be}-item, ${be}-submenu ${be}-submenu-title`]:{[`> ${be}-inline-collapsed-noicon`]:{fontSize:Vt,textAlign:"center"}}},[`> ${be}-item,
> ${be}-item-group > ${be}-item-group-list > ${be}-item,
> ${be}-item-group > ${be}-item-group-list > ${be}-submenu > ${be}-submenu-title,
> ${be}-submenu > ${be}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Vt/2}px - ${_n}px)`,textOverflow:"clip",[`
${be}-submenu-arrow,
${be}-submenu-expand-icon
`]:{opacity:0},[`${be}-item-icon, ${ge}`]:{margin:0,fontSize:Dr,lineHeight:`${se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${be}-item-icon, ${ge}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${be}-item-icon, ${ge}`]:{display:"none"},"a, a:hover":{color:je}},[`${be}-item-group-title`]:Object.assign(Object.assign({},Fe.vS),{paddingInline:Kn})}}]};const nn=he=>{const{componentCls:be,motionDurationSlow:ge,motionDurationMid:se,motionEaseInOut:je,motionEaseOut:xt,iconCls:En,iconSize:un,iconMarginInlineEnd:Pn}=he;return{[`${be}-item, ${be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ge}`,`background ${ge}`,`padding ${ge} ${je}`].join(","),[`${be}-item-icon, ${En}`]:{minWidth:un,fontSize:un,transition:[`font-size ${se} ${xt}`,`margin ${ge} ${je}`,`color ${ge}`].join(","),"+ span":{marginInlineStart:Pn,opacity:1,transition:[`opacity ${ge} ${je}`,`margin ${ge}`,`color ${ge}`].join(",")}},[`${be}-item-icon`]:Object.assign({},(0,Fe.Ro)()),[`&${be}-item-only-child`]:{[`> ${En}, > ${be}-item-icon`]:{marginInlineEnd:0}}},[`${be}-item-disabled, ${be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Cn=he=>{const{componentCls:be,motionDurationSlow:ge,motionEaseInOut:se,borderRadius:je,menuArrowSize:xt,menuArrowOffset:En}=he;return{[`${be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:he.margin,width:xt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ge} ${se}, opacity ${ge}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:xt*.6,height:xt*.15,backgroundColor:"currentcolor",borderRadius:je,transition:[`background ${ge} ${se}`,`transform ${ge} ${se}`,`top ${ge} ${se}`,`color ${ge} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${En})`},"&::after":{transform:`rotate(-45deg) translateY(${En})`}}}}},Sn=he=>{const{antCls:be,componentCls:ge,fontSize:se,motionDurationSlow:je,motionDurationMid:xt,motionEaseInOut:En,paddingXS:un,padding:Pn,colorSplit:Xn,lineWidth:_n,zIndexPopup:Vt,borderRadiusLG:yn,subMenuItemBorderRadius:Kn,menuArrowSize:On,menuArrowOffset:Qt,lineType:Dr,menuPanelMaskInset:jt,groupTitleLineHeight:rn,groupTitleFontSize:Ir}=he;return[{"":{[`${ge}`]:Object.assign(Object.assign({},(0,Fe.dF)()),{"&-hidden":{display:"none"}})},[`${ge}-submenu-hidden`]:{display:"none"}},{[ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(he)),(0,Fe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${je} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ge}-item`]:{flex:"none"}},[`${ge}-item, ${ge}-submenu, ${ge}-submenu-title`]:{borderRadius:he.itemBorderRadius},[`${ge}-item-group-title`]:{padding:`${un}px ${Pn}px`,fontSize:Ir,lineHeight:rn,transition:`all ${je}`},[`&-horizontal ${ge}-submenu`]:{transition:[`border-color ${je} ${En}`,`background ${je} ${En}`].join(",")},[`${ge}-submenu, ${ge}-submenu-inline`]:{transition:[`border-color ${je} ${En}`,`background ${je} ${En}`,`padding ${xt} ${En}`].join(",")},[`${ge}-submenu ${ge}-sub`]:{cursor:"initial",transition:[`background ${je} ${En}`,`padding ${je} ${En}`].join(",")},[`${ge}-title-content`]:{transition:`color ${je}`},[`${ge}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ge}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Xn,borderStyle:Dr,borderWidth:0,borderTopWidth:_n,marginBlock:_n,padding:0,"&-dashed":{borderStyle:"dashed"}}}),nn(he)),{[`${ge}-item-group`]:{[`${ge}-item-group-list`]:{margin:0,padding:0,[`${ge}-item, ${ge}-submenu-title`]:{paddingInline:`${se*2}px ${Pn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Vt,borderRadius:yn,boxShadow:"none",transformOrigin:"0 0",[`&${ge}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${jt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:jt},"\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:he.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:he.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:he.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:he.paddingXS},[`> ${ge}`]:Object.assign(Object.assign(Object.assign({borderRadius:yn},nn(he)),Cn(he)),{[`${ge}-item, ${ge}-submenu > ${ge}-submenu-title`]:{borderRadius:Kn},[`${ge}-submenu-title::after`]:{transition:`transform ${je} ${En}`}})}}),Cn(he)),{[`&-inline-collapsed ${ge}-submenu-arrow,
&-inline ${ge}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Qt})`},"&::after":{transform:`rotate(45deg) translateX(-${Qt})`}},[`${ge}-submenu-open${ge}-submenu-inline > ${ge}-submenu-title > ${ge}-submenu-arrow`]:{transform:`translateY(-${On*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Qt})`},"&::before":{transform:`rotate(45deg) translateX(${Qt})`}}})},{[`${be}-layout-header`]:{[ge]:{lineHeight:"inherit"}}}]};var tn=(he,be)=>(0,ut.Z)("Menu",se=>{if(be===!1)return[];const{colorBgElevated:je,colorPrimary:xt,colorTextLightSolid:En,controlHeightLG:un,fontSize:Pn,darkItemColor:Xn,darkDangerItemColor:_n,darkItemBg:Vt,darkSubMenuItemBg:yn,darkItemSelectedColor:Kn,darkItemSelectedBg:On,darkDangerItemSelectedBg:Qt,darkItemHoverBg:Dr,darkGroupTitleColor:jt,darkItemHoverColor:rn,darkItemDisabledColor:Ir,darkDangerItemHoverColor:ur,darkDangerItemSelectedColor:Rr,darkDangerItemActiveBg:aa}=se,qn=Pn/7*5,Pa=(0,rt.TS)(se,{menuArrowSize:qn,menuHorizontalHeight:un*1.15,menuArrowOffset:`${qn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:je}),Fa=(0,rt.TS)(Pa,{itemColor:Xn,itemHoverColor:rn,groupTitleColor:jt,itemSelectedColor:Kn,itemBg:Vt,popupBg:Vt,subMenuItemBg:yn,itemActiveBg:"transparent",itemSelectedBg:On,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Dr,itemDisabledColor:Ir,dangerItemColor:_n,dangerItemHoverColor:ur,dangerItemSelectedColor:Rr,dangerItemActiveBg:aa,dangerItemSelectedBg:Qt,menuSubMenuBg:yn,horizontalItemSelectedColor:En,horizontalItemSelectedBg:xt});return[Sn(Pa),Bt(Pa),Kt(Pa),vn(Pa,"light"),vn(Fa,"dark"),ct(Pa),(0,Be.Z)(Pa),(0,mt.oN)(Pa,"slide-up"),(0,mt.oN)(Pa,"slide-down"),(0,ze._y)(Pa,"zoom-big")]},se=>{const{colorPrimary:je,colorError:xt,colorTextDisabled:En,colorErrorBg:un,colorText:Pn,colorTextDescription:Xn,colorBgContainer:_n,colorFillAlter:Vt,colorFillContent:yn,lineWidth:Kn,lineWidthBold:On,controlItemBgActive:Qt,colorBgTextHover:Dr,controlHeightLG:jt,lineHeight:rn,colorBgElevated:Ir,marginXXS:ur,padding:Rr,fontSize:aa,controlHeightSM:qn,fontSizeLG:Pa,colorTextLightSolid:Fa,colorErrorHover:_a}=se,Xr=new yt.C(Fa).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:se.zIndexPopupBase+50,radiusItem:se.borderRadiusLG,itemBorderRadius:se.borderRadiusLG,radiusSubMenuItem:se.borderRadiusSM,subMenuItemBorderRadius:se.borderRadiusSM,colorItemText:Pn,itemColor:Pn,colorItemTextHover:Pn,itemHoverColor:Pn,colorItemTextHoverHorizontal:je,horizontalItemHoverColor:je,colorGroupTitle:Xn,groupTitleColor:Xn,colorItemTextSelected:je,itemSelectedColor:je,colorItemTextSelectedHorizontal:je,horizontalItemSelectedColor:je,colorItemBg:_n,itemBg:_n,colorItemBgHover:Dr,itemHoverBg:Dr,colorItemBgActive:yn,itemActiveBg:Qt,colorSubItemBg:Vt,subMenuItemBg:Vt,colorItemBgSelected:Qt,itemSelectedBg:Qt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:On,activeBarHeight:On,colorActiveBarBorderSize:Kn,activeBarBorderWidth:Kn,colorItemTextDisabled:En,itemDisabledColor:En,colorDangerItemText:xt,dangerItemColor:xt,colorDangerItemTextHover:xt,dangerItemHoverColor:xt,colorDangerItemTextSelected:xt,dangerItemSelectedColor:xt,colorDangerItemBgActive:un,dangerItemActiveBg:un,colorDangerItemBgSelected:un,dangerItemSelectedBg:un,itemMarginInline:se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:jt,groupTitleLineHeight:rn,collapsedWidth:jt*2,popupBg:Ir,itemMarginBlock:ur,itemPaddingInline:Rr,horizontalLineHeight:`${jt*1.15}px`,iconSize:aa,iconMarginInlineEnd:qn-aa,collapsedIconSize:Pa,groupTitleFontSize:aa,darkItemDisabledColor:new yt.C(Fa).setAlpha(.25).toRgbString(),darkItemColor:Xr,darkDangerItemColor:xt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Fa,darkItemSelectedBg:je,darkDangerItemSelectedBg:xt,darkItemHoverBg:"transparent",darkGroupTitleColor:Xr,darkItemHoverColor:Fa,darkDangerItemHoverColor:_a,darkDangerItemSelectedColor:Fa,darkDangerItemActiveBg:xt}},{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"]]})(he),In=function(he,be){var ge={};for(var se in he)Object.prototype.hasOwnProperty.call(he,se)&&be.indexOf(se)<0&&(ge[se]=he[se]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,se=Object.getOwnPropertySymbols(he);je<se.length;je++)be.indexOf(se[je])<0&&Object.prototype.propertyIsEnumerable.call(he,se[je])&&(ge[se[je]]=he[se[je]]);return ge},gn=(0,de.forwardRef)((he,be)=>{var ge,se;const je=de.useContext(ue.Z),xt=je||{},{getPrefixCls:En,getPopupContainer:un,direction:Pn,menu:Xn}=de.useContext(ke.E_),_n=En(),{prefixCls:Vt,className:yn,style:Kn,theme:On="light",expandIcon:Qt,_internalDisableMenuItemTitleTooltip:Dr,inlineCollapsed:jt,siderCollapsed:rn,items:Ir,children:ur,rootClassName:Rr,mode:aa,selectable:qn,onClick:Pa,overflowedIndicatorPopupClassName:Fa}=he,_a=In(he,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Xr=(0,Xe.Z)(_a,["collapsedWidth"]),Da=ht(Ir)||ur;(ge=xt.validator)===null||ge===void 0||ge.call(xt,{mode:aa});const Mi=(0,st.useEvent)(function(){var pn;Pa==null||Pa.apply(void 0,arguments),(pn=xt.onClick)===null||pn===void 0||pn.call(xt)}),Si=xt.mode||aa,zi=qn!=null?qn:xt.selectable,fi=de.useMemo(()=>rn!==void 0?rn:jt,[jt,rn]),Tn={horizontal:{motionName:`${_n}-slide-up`},inline:(0,ye.Z)(_n),other:{motionName:`${_n}-zoom-big`}},bn=En("menu",Vt||xt.prefixCls),[ir,Cr]=tn(bn,!je),Or=we()(`${bn}-${On}`,Xn==null?void 0:Xn.className,yn);let Lr;if(typeof Qt=="function")Lr=Qt;else if(Qt===null||Qt===!1)Lr=null;else if(xt.expandIcon===null||xt.expandIcon===!1)Lr=null;else{const pn=Qt!=null?Qt:xt.expandIcon;Lr=(0,Ge.Tm)(pn,{className:we()(`${bn}-submenu-expand-icon`,(0,Ge.l$)(pn)?(se=pn.props)===null||se===void 0?void 0:se.className:"")})}const sa=de.useMemo(()=>({prefixCls:bn,inlineCollapsed:fi||!1,direction:Pn,firstLevel:!0,theme:On,mode:Si,disableMenuItemTitleTooltip:Dr}),[bn,fi,Pn,Dr,On]);return ir(de.createElement(ue.Z.Provider,{value:null},de.createElement(ot.Provider,{value:sa},de.createElement(ne.ZP,Object.assign({getPopupContainer:un,overflowedIndicator:de.createElement(tt.Z,null),overflowedIndicatorPopupClassName:we()(bn,`${bn}-${On}`,Fa),mode:Si,selectable:zi,onClick:Mi},Xr,{inlineCollapsed:fi,style:Object.assign(Object.assign({},Xn==null?void 0:Xn.style),Kn),className:Or,prefixCls:bn,direction:Pn,defaultMotions:Tn,expandIcon:Lr,ref:be,rootClassName:we()(Rr,Cr)}),Da))))});const Ye=(0,de.forwardRef)((he,be)=>{const ge=(0,de.useRef)(null),se=de.useContext(Me.D);return(0,de.useImperativeHandle)(be,()=>({menu:ge.current,focus:je=>{var xt;(xt=ge.current)===null||xt===void 0||xt.focus(je)}})),de.createElement(gn,Object.assign({ref:ge},he,se))});Ye.Item=Ee,Ye.SubMenu=Rt,Ye.Divider=me,Ye.ItemGroup=ne.BW;var ve=Ye},28452:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return _n}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},et=Me,we=ee(84089),ke=function(yn,Kn){return de.createElement(we.Z,(0,ne.Z)({},yn,{ref:Kn,icon:et}))},ce=de.forwardRef(ke),Se=ee(81893),me=ee(22751),Pe=ee(91034),Xe=ee(94184),fe=ee.n(Xe),Ge=ee(4942),pt=ee(1413),ot=ee(15671),vt=ee(43144),Ee=ee(60136),wt=ee(51630),Rt=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,tt=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,st="".concat(Rt," ").concat(tt).split(/[\s\n]+/),ye="aria-",ue="data-";function $e(Vt,yn){return Vt.indexOf(yn)===0}function Je(Vt){var yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Kn;yn===!1?Kn={aria:!0,data:!0,attr:!0}:yn===!0?Kn={aria:!0}:Kn=(0,pt.Z)({},yn);var On={};return Object.keys(Vt).forEach(function(Qt){(Kn.aria&&(Qt==="role"||$e(Qt,ye))||Kn.data&&$e(Qt,ue)||Kn.attr&&st.includes(Qt))&&(On[Qt]=Vt[Qt])}),On}var ht={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},yt=ht,Fe=ee(81626),Be=function(Vt){(0,Ee.Z)(Kn,Vt);var yn=(0,wt.Z)(Kn);function Kn(){var On;(0,ot.Z)(this,Kn);for(var Qt=arguments.length,Dr=new Array(Qt),jt=0;jt<Qt;jt++)Dr[jt]=arguments[jt];return On=yn.call.apply(yn,[this].concat(Dr)),On.state={goInputText:""},On.getValidValue=function(){var rn=On.state.goInputText;return!rn||Number.isNaN(rn)?void 0:Number(rn)},On.buildOptionText=function(rn){return"".concat(rn," ").concat(On.props.locale.items_per_page)},On.changeSize=function(rn){On.props.changeSize(Number(rn))},On.handleChange=function(rn){On.setState({goInputText:rn.target.value})},On.handleBlur=function(rn){var Ir=On.props,ur=Ir.goButton,Rr=Ir.quickGo,aa=Ir.rootPrefixCls,qn=On.state.goInputText;ur||qn===""||(On.setState({goInputText:""}),!(rn.relatedTarget&&(rn.relatedTarget.className.indexOf("".concat(aa,"-item-link"))>=0||rn.relatedTarget.className.indexOf("".concat(aa,"-item"))>=0))&&Rr(On.getValidValue()))},On.go=function(rn){var Ir=On.state.goInputText;Ir!==""&&(rn.keyCode===yt.ENTER||rn.type==="click")&&(On.setState({goInputText:""}),On.props.quickGo(On.getValidValue()))},On}return(0,vt.Z)(Kn,[{key:"getPageSizeOptions",value:function(){var Qt=this.props,Dr=Qt.pageSize,jt=Qt.pageSizeOptions;return jt.some(function(rn){return rn.toString()===Dr.toString()})?jt:jt.concat([Dr.toString()]).sort(function(rn,Ir){var ur=Number.isNaN(Number(rn))?0:Number(rn),Rr=Number.isNaN(Number(Ir))?0:Number(Ir);return ur-Rr})}},{key:"render",value:function(){var Qt=this,Dr=this.props,jt=Dr.pageSize,rn=Dr.locale,Ir=Dr.rootPrefixCls,ur=Dr.changeSize,Rr=Dr.quickGo,aa=Dr.goButton,qn=Dr.selectComponentClass,Pa=Dr.buildOptionText,Fa=Dr.selectPrefixCls,_a=Dr.disabled,Xr=this.state.goInputText,Da="".concat(Ir,"-options"),Mi=qn,Si=null,zi=null,fi=null;if(!ur&&!Rr)return null;var Tn=this.getPageSizeOptions();if(ur&&Mi){var bn=Tn.map(function(ir,Cr){return de.createElement(Mi.Option,{key:Cr,value:ir.toString()},(Pa||Qt.buildOptionText)(ir))});Si=de.createElement(Mi,{disabled:_a,prefixCls:Fa,showSearch:!1,className:"".concat(Da,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(jt||Tn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Cr){return Cr.parentNode},"aria-label":rn.page_size,defaultOpen:!1},bn)}return Rr&&(aa&&(fi=typeof aa=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:_a,className:"".concat(Da,"-quick-jumper-button")},rn.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},aa)),zi=de.createElement("div",{className:"".concat(Da,"-quick-jumper")},rn.jump_to,de.createElement("input",{disabled:_a,type:"text",value:Xr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":rn.page}),rn.page,fi)),de.createElement("li",{className:"".concat(Da)},Si,zi)}}]),Kn}(de.Component);Be.defaultProps={pageSizeOptions:["10","20","50","100"]};var mt=Be,ze=function(yn){var Kn,On=yn.rootPrefixCls,Qt=yn.page,Dr=yn.active,jt=yn.className,rn=yn.showTitle,Ir=yn.onClick,ur=yn.onKeyPress,Rr=yn.itemRender,aa="".concat(On,"-item"),qn=fe()(aa,"".concat(aa,"-").concat(Qt),(Kn={},(0,Ge.Z)(Kn,"".concat(aa,"-active"),Dr),(0,Ge.Z)(Kn,"".concat(aa,"-disabled"),!Qt),(0,Ge.Z)(Kn,yn.className,jt),Kn)),Pa=function(){Ir(Qt)},Fa=function(Da){ur(Da,Ir,Qt)},_a=Rr(Qt,"page",de.createElement("a",{rel:"nofollow"},Qt));return _a?de.createElement("li",{title:rn?Qt.toString():null,className:qn,onClick:Pa,onKeyPress:Fa,tabIndex:0},_a):null},ut=ze;function rt(){}function Tt(Vt){var yn=Number(Vt);return typeof yn=="number"&&!Number.isNaN(yn)&&isFinite(yn)&&Math.floor(yn)===yn}var Bt=function(yn,Kn,On){return On};function en(Vt,yn,Kn){var On=typeof Vt=="undefined"?yn.pageSize:Vt;return Math.floor((Kn.total-1)/On)+1}var ct=function(Vt){(0,Ee.Z)(Kn,Vt);var yn=(0,wt.Z)(Kn);function Kn(On){var Qt;(0,ot.Z)(this,Kn),Qt=yn.call(this,On),Qt.paginationNode=de.createRef(),Qt.getJumpPrevPage=function(){return Math.max(1,Qt.state.current-(Qt.props.showLessItems?3:5))},Qt.getJumpNextPage=function(){return Math.min(en(void 0,Qt.state,Qt.props),Qt.state.current+(Qt.props.showLessItems?3:5))},Qt.getItemIcon=function(ur,Rr){var aa=Qt.props.prefixCls,qn=ur||de.createElement("button",{type:"button","aria-label":Rr,className:"".concat(aa,"-item-link")});return typeof ur=="function"&&(qn=de.createElement(ur,(0,pt.Z)({},Qt.props))),qn},Qt.isValid=function(ur){var Rr=Qt.props.total;return Tt(ur)&&ur!==Qt.state.current&&Tt(Rr)&&Rr>0},Qt.shouldDisplayQuickJumper=function(){var ur=Qt.props,Rr=ur.showQuickJumper,aa=ur.total,qn=Qt.state.pageSize;return aa<=qn?!1:Rr},Qt.handleKeyDown=function(ur){(ur.keyCode===yt.ARROW_UP||ur.keyCode===yt.ARROW_DOWN)&&ur.preventDefault()},Qt.handleKeyUp=function(ur){var Rr=Qt.getValidValue(ur),aa=Qt.state.currentInputValue;Rr!==aa&&Qt.setState({currentInputValue:Rr}),ur.keyCode===yt.ENTER?Qt.handleChange(Rr):ur.keyCode===yt.ARROW_UP?Qt.handleChange(Rr-1):ur.keyCode===yt.ARROW_DOWN&&Qt.handleChange(Rr+1)},Qt.handleBlur=function(ur){var Rr=Qt.getValidValue(ur);Qt.handleChange(Rr)},Qt.changePageSize=function(ur){var Rr=Qt.state.current,aa=en(ur,Qt.state,Qt.props);Rr=Rr>aa?aa:Rr,aa===0&&(Rr=Qt.state.current),typeof ur=="number"&&("pageSize"in Qt.props||Qt.setState({pageSize:ur}),"current"in Qt.props||Qt.setState({current:Rr,currentInputValue:Rr})),Qt.props.onShowSizeChange(Rr,ur),"onChange"in Qt.props&&Qt.props.onChange&&Qt.props.onChange(Rr,ur)},Qt.handleChange=function(ur){var Rr=Qt.props,aa=Rr.disabled,qn=Rr.onChange,Pa=Qt.state,Fa=Pa.pageSize,_a=Pa.current,Xr=Pa.currentInputValue;if(Qt.isValid(ur)&&!aa){var Da=en(void 0,Qt.state,Qt.props),Mi=ur;return ur>Da?Mi=Da:ur<1&&(Mi=1),"current"in Qt.props||Qt.setState({current:Mi}),Mi!==Xr&&Qt.setState({currentInputValue:Mi}),qn(Mi,Fa),Mi}return _a},Qt.prev=function(){Qt.hasPrev()&&Qt.handleChange(Qt.state.current-1)},Qt.next=function(){Qt.hasNext()&&Qt.handleChange(Qt.state.current+1)},Qt.jumpPrev=function(){Qt.handleChange(Qt.getJumpPrevPage())},Qt.jumpNext=function(){Qt.handleChange(Qt.getJumpNextPage())},Qt.hasPrev=function(){return Qt.state.current>1},Qt.hasNext=function(){return Qt.state.current<en(void 0,Qt.state,Qt.props)},Qt.runIfEnter=function(ur,Rr){if(ur.key==="Enter"||ur.charCode===13){for(var aa=arguments.length,qn=new Array(aa>2?aa-2:0),Pa=2;Pa<aa;Pa++)qn[Pa-2]=arguments[Pa];Rr.apply(void 0,qn)}},Qt.runIfEnterPrev=function(ur){Qt.runIfEnter(ur,Qt.prev)},Qt.runIfEnterNext=function(ur){Qt.runIfEnter(ur,Qt.next)},Qt.runIfEnterJumpPrev=function(ur){Qt.runIfEnter(ur,Qt.jumpPrev)},Qt.runIfEnterJumpNext=function(ur){Qt.runIfEnter(ur,Qt.jumpNext)},Qt.handleGoTO=function(ur){(ur.keyCode===yt.ENTER||ur.type==="click")&&Qt.handleChange(Qt.state.currentInputValue)},Qt.renderPrev=function(ur){var Rr=Qt.props,aa=Rr.prevIcon,qn=Rr.itemRender,Pa=qn(ur,"prev",Qt.getItemIcon(aa,"prev page")),Fa=!Qt.hasPrev();return(0,de.isValidElement)(Pa)?(0,de.cloneElement)(Pa,{disabled:Fa}):Pa},Qt.renderNext=function(ur){var Rr=Qt.props,aa=Rr.nextIcon,qn=Rr.itemRender,Pa=qn(ur,"next",Qt.getItemIcon(aa,"next page")),Fa=!Qt.hasNext();return(0,de.isValidElement)(Pa)?(0,de.cloneElement)(Pa,{disabled:Fa}):Pa};var Dr=On.onChange!==rt,jt="current"in On;jt&&!Dr&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var rn=On.defaultCurrent;"current"in On&&(rn=On.current);var Ir=On.defaultPageSize;return"pageSize"in On&&(Ir=On.pageSize),rn=Math.min(rn,en(Ir,void 0,On)),Qt.state={current:rn,currentInputValue:rn,pageSize:Ir},Qt}return(0,vt.Z)(Kn,[{key:"componentDidUpdate",value:function(Qt,Dr){var jt=this.props.prefixCls;if(Dr.current!==this.state.current&&this.paginationNode.current){var rn=this.paginationNode.current.querySelector(".".concat(jt,"-item-").concat(Dr.current));if(rn&&document.activeElement===rn){var Ir;rn==null||(Ir=rn.blur)===null||Ir===void 0||Ir.call(rn)}}}},{key:"getValidValue",value:function(Qt){var Dr=Qt.target.value,jt=en(void 0,this.state,this.props),rn=this.state.currentInputValue,Ir;return Dr===""?Ir=Dr:Number.isNaN(Number(Dr))?Ir=rn:Dr>=jt?Ir=jt:Ir=Number(Dr),Ir}},{key:"getShowSizeChanger",value:function(){var Qt=this.props,Dr=Qt.showSizeChanger,jt=Qt.total,rn=Qt.totalBoundaryShowSizeChanger;return typeof Dr!="undefined"?Dr:jt>rn}},{key:"render",value:function(){var Qt=this.props,Dr=Qt.prefixCls,jt=Qt.className,rn=Qt.style,Ir=Qt.disabled,ur=Qt.hideOnSinglePage,Rr=Qt.total,aa=Qt.locale,qn=Qt.showQuickJumper,Pa=Qt.showLessItems,Fa=Qt.showTitle,_a=Qt.showTotal,Xr=Qt.simple,Da=Qt.itemRender,Mi=Qt.showPrevNextJumpers,Si=Qt.jumpPrevIcon,zi=Qt.jumpNextIcon,fi=Qt.selectComponentClass,Tn=Qt.selectPrefixCls,bn=Qt.pageSizeOptions,ir=this.state,Cr=ir.current,Or=ir.pageSize,Lr=ir.currentInputValue;if(ur===!0&&Rr<=Or)return null;var sa=en(void 0,this.state,this.props),pn=[],At=null,Zt=null,on=null,Yn=null,Dt=null,fn=qn&&qn.goButton,Vn=Pa?1:2,kn=Cr-1>0?Cr-1:0,rr=Cr+1<sa?Cr+1:sa,fr=Je(this.props,{aria:!0,data:!0}),mn=_a&&de.createElement("li",{className:"".concat(Dr,"-total-text")},_a(Rr,[Rr===0?0:(Cr-1)*Or+1,Cr*Or>Rr?Rr:Cr*Or]));if(Xr){fn&&(typeof fn=="boolean"?Dt=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},aa.jump_to_confirm):Dt=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},fn),Dt=de.createElement("li",{title:Fa?"".concat(aa.jump_to).concat(Cr,"/").concat(sa):null,className:"".concat(Dr,"-simple-pager")},Dt));var Ta=this.renderPrev(kn);return de.createElement("ul",(0,ne.Z)({className:fe()(Dr,"".concat(Dr,"-simple"),(0,Ge.Z)({},"".concat(Dr,"-disabled"),Ir),jt),style:rn,ref:this.paginationNode},fr),mn,Ta?de.createElement("li",{title:Fa?aa.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:fe()("".concat(Dr,"-prev"),(0,Ge.Z)({},"".concat(Dr,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Ta):null,de.createElement("li",{title:Fa?"".concat(Cr,"/").concat(sa):null,className:"".concat(Dr,"-simple-pager")},de.createElement("input",{type:"text",value:Lr,disabled:Ir,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(Dr,"-slash")},"/"),sa),de.createElement("li",{title:Fa?aa.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:fe()("".concat(Dr,"-next"),(0,Ge.Z)({},"".concat(Dr,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(rr)),Dt)}if(sa<=3+Vn*2){var ha={locale:aa,rootPrefixCls:Dr,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Fa,itemRender:Da};sa||pn.push(de.createElement(ut,(0,ne.Z)({},ha,{key:"noPager",page:1,className:"".concat(Dr,"-item-disabled")})));for(var ya=1;ya<=sa;ya+=1){var Sa=Cr===ya;pn.push(de.createElement(ut,(0,ne.Z)({},ha,{key:ya,page:ya,active:Sa})))}}else{var Ma=Pa?aa.prev_3:aa.prev_5,pa=Pa?aa.next_3:aa.next_5,Er=Da(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Si,"prev page")),qr=Da(this.getJumpNextPage(),"jump-next",this.getItemIcon(zi,"next page"));Mi&&(At=Er?de.createElement("li",{title:Fa?Ma:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:fe()("".concat(Dr,"-jump-prev"),(0,Ge.Z)({},"".concat(Dr,"-jump-prev-custom-icon"),!!Si))},Er):null,Zt=qr?de.createElement("li",{title:Fa?pa:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:fe()("".concat(Dr,"-jump-next"),(0,Ge.Z)({},"".concat(Dr,"-jump-next-custom-icon"),!!zi))},qr):null),Yn=de.createElement(ut,{locale:aa,last:!0,rootPrefixCls:Dr,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:sa,page:sa,active:!1,showTitle:Fa,itemRender:Da}),on=de.createElement(ut,{locale:aa,rootPrefixCls:Dr,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Fa,itemRender:Da});var Hi=Math.max(1,Cr-Vn),Fi=Math.min(Cr+Vn,sa);Cr-1<=Vn&&(Fi=1+Vn*2),sa-Cr<=Vn&&(Hi=sa-Vn*2);for(var $a=Hi;$a<=Fi;$a+=1){var ni=Cr===$a;pn.push(de.createElement(ut,{locale:aa,rootPrefixCls:Dr,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$a,page:$a,active:ni,showTitle:Fa,itemRender:Da}))}Cr-1>=Vn*2&&Cr!==3&&(pn[0]=(0,de.cloneElement)(pn[0],{className:"".concat(Dr,"-item-after-jump-prev")}),pn.unshift(At)),sa-Cr>=Vn*2&&Cr!==sa-2&&(pn[pn.length-1]=(0,de.cloneElement)(pn[pn.length-1],{className:"".concat(Dr,"-item-before-jump-next")}),pn.push(Zt)),Hi!==1&&pn.unshift(on),Fi!==sa&&pn.push(Yn)}var no=!this.hasPrev()||!sa,oi=!this.hasNext()||!sa,so=this.renderPrev(kn),ta=this.renderNext(rr);return de.createElement("ul",(0,ne.Z)({className:fe()(Dr,jt,(0,Ge.Z)({},"".concat(Dr,"-disabled"),Ir)),style:rn,ref:this.paginationNode},fr),mn,so?de.createElement("li",{title:Fa?aa.prev_page:null,onClick:this.prev,tabIndex:no?null:0,onKeyPress:this.runIfEnterPrev,className:fe()("".concat(Dr,"-prev"),(0,Ge.Z)({},"".concat(Dr,"-disabled"),no)),"aria-disabled":no},so):null,pn,ta?de.createElement("li",{title:Fa?aa.next_page:null,onClick:this.next,tabIndex:oi?null:0,onKeyPress:this.runIfEnterNext,className:fe()("".concat(Dr,"-next"),(0,Ge.Z)({},"".concat(Dr,"-disabled"),oi)),"aria-disabled":oi},ta):null,de.createElement(mt,{disabled:Ir,locale:aa,rootPrefixCls:Dr,selectComponentClass:fi,selectPrefixCls:Tn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Cr,pageSize:Or,pageSizeOptions:bn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:fn}))}}],[{key:"getDerivedStateFromProps",value:function(Qt,Dr){var jt={};if("current"in Qt&&(jt.current=Qt.current,Qt.current!==Dr.current&&(jt.currentInputValue=jt.current)),"pageSize"in Qt&&Qt.pageSize!==Dr.pageSize){var rn=Dr.current,Ir=en(Qt.pageSize,Dr,Qt);rn=rn>Ir?Ir:rn,"current"in Qt||(jt.current=rn,jt.currentInputValue=rn),jt.pageSize=Qt.pageSize}return jt}}]),Kn}(de.Component);ct.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:rt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:rt,locale:Fe.Z,style:{},itemRender:Bt,totalBoundaryShowSizeChanger:50};var Ie=ct,Mt=ee(62906),vn=ee(53124),qt=ee(98675),Nt=ee(25378),Kt=ee(10110),nn=ee(11713);const Cn=Vt=>de.createElement(nn.default,Object.assign({},Vt,{showSearch:!0,size:"small"})),Sn=Vt=>de.createElement(nn.default,Object.assign({},Vt,{showSearch:!0,size:"middle"}));Cn.Option=nn.default.Option,Sn.Option=nn.default.Option;var tn=ee(47673),In=ee(14747),br=ee(67968),gn=ee(45503);const Ye=Vt=>{const{componentCls:yn}=Vt;return{[`${yn}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${yn}-item-link`]:{color:Vt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${yn}-item-link`]:{color:Vt.colorTextDisabled,cursor:"not-allowed"}}},[`&${yn}-disabled`]:{cursor:"not-allowed",[`${yn}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Vt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Vt.colorBorder,backgroundColor:Vt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Vt.itemActiveBgDisabled},a:{color:Vt.itemActiveColorDisabled}}},[`${yn}-item-link`]:{color:Vt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${yn}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${yn}-simple-pager`]:{color:Vt.colorTextDisabled},[`${yn}-jump-prev, ${yn}-jump-next`]:{[`${yn}-item-link-icon`]:{opacity:0},[`${yn}-item-ellipsis`]:{opacity:1}}},[`&${yn}-simple`]:{[`${yn}-prev, ${yn}-next`]:{[`&${yn}-disabled ${yn}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ve=Vt=>{const{componentCls:yn}=Vt;return{[`&${yn}-mini ${yn}-total-text, &${yn}-mini ${yn}-simple-pager`]:{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`},[`&${yn}-mini ${yn}-item`]:{minWidth:Vt.itemSizeSM,height:Vt.itemSizeSM,margin:0,lineHeight:`${Vt.itemSizeSM-2}px`},[`&${yn}-mini:not(${yn}-disabled) ${yn}-item:not(${yn}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Vt.colorBgTextHover},"&:active":{backgroundColor:Vt.colorBgTextActive}},[`&${yn}-mini ${yn}-prev, &${yn}-mini ${yn}-next`]:{minWidth:Vt.itemSizeSM,height:Vt.itemSizeSM,margin:0,lineHeight:`${Vt.itemSizeSM}px`},[`&${yn}-mini:not(${yn}-disabled)`]:{[`${yn}-prev, ${yn}-next`]:{[`&:hover ${yn}-item-link`]:{backgroundColor:Vt.colorBgTextHover},[`&:active ${yn}-item-link`]:{backgroundColor:Vt.colorBgTextActive},[`&${yn}-disabled:hover ${yn}-item-link`]:{backgroundColor:"transparent"}}},[`
&${yn}-mini ${yn}-prev ${yn}-item-link,
&${yn}-mini ${yn}-next ${yn}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`}},[`&${yn}-mini ${yn}-jump-prev, &${yn}-mini ${yn}-jump-next`]:{height:Vt.itemSizeSM,marginInlineEnd:0,lineHeight:`${Vt.itemSizeSM}px`},[`&${yn}-mini ${yn}-options`]:{marginInlineStart:Vt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Vt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,tn.x0)(Vt)),{width:Vt.paginationMiniQuickJumperInputWidth,height:Vt.controlHeightSM})}}}},he=Vt=>{const{componentCls:yn}=Vt;return{[`
&${yn}-simple ${yn}-prev,
&${yn}-simple ${yn}-next
`]:{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`,verticalAlign:"top",[`${yn}-item-link`]:{height:Vt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Vt.colorBgTextHover},"&:active":{backgroundColor:Vt.colorBgTextActive},"&::after":{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`}}},[`&${yn}-simple ${yn}-simple-pager`]:{display:"inline-block",height:Vt.itemSizeSM,marginInlineEnd:Vt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Vt.marginXS,padding:`0 ${Vt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Vt.itemInputBg,border:`${Vt.lineWidth}px ${Vt.lineType} ${Vt.colorBorder}`,borderRadius:Vt.borderRadius,outline:"none",transition:`border-color ${Vt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Vt.colorPrimary},"&:focus":{borderColor:Vt.colorPrimaryHover,boxShadow:`${Vt.inputOutlineOffset}px 0 ${Vt.controlOutlineWidth}px ${Vt.controlOutline}`},"&[disabled]":{color:Vt.colorTextDisabled,backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder,cursor:"not-allowed"}}}}},be=Vt=>{const{componentCls:yn}=Vt;return{[`${yn}-jump-prev, ${yn}-jump-next`]:{outline:0,[`${yn}-item-container`]:{position:"relative",[`${yn}-item-link-icon`]:{color:Vt.colorPrimary,fontSize:Vt.fontSizeSM,opacity:0,transition:`all ${Vt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${yn}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Vt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Vt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Vt.paginationEllipsisTextIndent,opacity:1,transition:`all ${Vt.motionDurationMid}`}},"&:hover":{[`${yn}-item-link-icon`]:{opacity:1},[`${yn}-item-ellipsis`]:{opacity:0}}},[`
${yn}-prev,
${yn}-jump-prev,
${yn}-jump-next
`]:{marginInlineEnd:Vt.marginXS},[`
${yn}-prev,
${yn}-next,
${yn}-jump-prev,
${yn}-jump-next
`]:{display:"inline-block",minWidth:Vt.itemSize,height:Vt.itemSize,color:Vt.colorText,fontFamily:Vt.fontFamily,lineHeight:`${Vt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Vt.borderRadius,cursor:"pointer",transition:`all ${Vt.motionDurationMid}`},[`${yn}-prev, ${yn}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Vt.colorText,cursor:"pointer",userSelect:"none"},[`${yn}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Vt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Vt.lineWidth}px ${Vt.lineType} transparent`,borderRadius:Vt.borderRadius,outline:"none",transition:`all ${Vt.motionDurationMid}`},[`&:hover ${yn}-item-link`]:{backgroundColor:Vt.colorBgTextHover},[`&:active ${yn}-item-link`]:{backgroundColor:Vt.colorBgTextActive},[`&${yn}-disabled:hover`]:{[`${yn}-item-link`]:{backgroundColor:"transparent"}}},[`${yn}-slash`]:{marginInlineEnd:Vt.paginationSlashMarginInlineEnd,marginInlineStart:Vt.paginationSlashMarginInlineStart},[`${yn}-options`]:{display:"inline-block",marginInlineStart:Vt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Vt.controlHeight,marginInlineStart:Vt.marginXS,lineHeight:`${Vt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,tn.ik)(Vt)),{width:Vt.controlHeightLG*1.25,height:Vt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Vt.marginXS,marginInlineEnd:Vt.marginXS})}}}},ge=Vt=>{const{componentCls:yn}=Vt;return{[`${yn}-item`]:{display:"inline-block",minWidth:Vt.itemSize,height:Vt.itemSize,marginInlineEnd:Vt.marginXS,fontFamily:Vt.fontFamily,lineHeight:`${Vt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Vt.lineWidth}px ${Vt.lineType} transparent`,borderRadius:Vt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Vt.paginationItemPaddingInline}px`,color:Vt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${yn}-item-active)`]:{"&:hover":{transition:`all ${Vt.motionDurationMid}`,backgroundColor:Vt.colorBgTextHover},"&:active":{backgroundColor:Vt.colorBgTextActive}},"&-active":{fontWeight:Vt.fontWeightStrong,backgroundColor:Vt.itemActiveBg,borderColor:Vt.colorPrimary,a:{color:Vt.colorPrimary},"&:hover":{borderColor:Vt.colorPrimaryHover},"&:hover a":{color:Vt.colorPrimaryHover}}}}},se=Vt=>{const{componentCls:yn}=Vt;return{[yn]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,In.Wf)(Vt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${yn}-total-text`]:{display:"inline-block",height:Vt.itemSize,marginInlineEnd:Vt.marginXS,lineHeight:`${Vt.itemSize-2}px`,verticalAlign:"middle"}}),ge(Vt)),be(Vt)),he(Vt)),ve(Vt)),Ye(Vt)),{[`@media only screen and (max-width: ${Vt.screenLG}px)`]:{[`${yn}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Vt.screenSM}px)`]:{[`${yn}-options`]:{display:"none"}}}),[`&${Vt.componentCls}-rtl`]:{direction:"rtl"}}},je=Vt=>{const{componentCls:yn}=Vt;return{[`${yn}${yn}-disabled:not(${yn}-mini)`]:{"&, &:hover":{[`${yn}-item-link`]:{borderColor:Vt.colorBorder}},"&:focus-visible":{[`${yn}-item-link`]:{borderColor:Vt.colorBorder}},[`${yn}-item, ${yn}-item-link`]:{backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder,[`&:hover:not(${yn}-item-active)`]:{backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder,a:{color:Vt.colorTextDisabled}},[`&${yn}-item-active`]:{backgroundColor:Vt.itemActiveBgDisabled}},[`${yn}-prev, ${yn}-next`]:{"&:hover button":{backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder,color:Vt.colorTextDisabled},[`${yn}-item-link`]:{backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder}}},[`${yn}:not(${yn}-mini)`]:{[`${yn}-prev, ${yn}-next`]:{"&:hover button":{borderColor:Vt.colorPrimaryHover,backgroundColor:Vt.itemBg},[`${yn}-item-link`]:{backgroundColor:Vt.itemLinkBg,borderColor:Vt.colorBorder},[`&:hover ${yn}-item-link`]:{borderColor:Vt.colorPrimary,backgroundColor:Vt.itemBg,color:Vt.colorPrimary},[`&${yn}-disabled`]:{[`${yn}-item-link`]:{borderColor:Vt.colorBorder,color:Vt.colorTextDisabled}}},[`${yn}-item`]:{backgroundColor:Vt.itemBg,border:`${Vt.lineWidth}px ${Vt.lineType} ${Vt.colorBorder}`,[`&:hover:not(${yn}-item-active)`]:{borderColor:Vt.colorPrimary,backgroundColor:Vt.itemBg,a:{color:Vt.colorPrimary}},"&-active":{borderColor:Vt.colorPrimary}}}}},xt=Vt=>{const{componentCls:yn}=Vt;return{[`${yn}:not(${yn}-disabled)`]:{[`${yn}-item`]:Object.assign({},(0,In.Qy)(Vt)),[`${yn}-jump-prev, ${yn}-jump-next`]:{"&:focus-visible":Object.assign({[`${yn}-item-link-icon`]:{opacity:1},[`${yn}-item-ellipsis`]:{opacity:0}},(0,In.oN)(Vt))},[`${yn}-prev, ${yn}-next`]:{[`&:focus-visible ${yn}-item-link`]:Object.assign({},(0,In.oN)(Vt))}}}};var En=(0,br.Z)("Pagination",Vt=>{const yn=(0,gn.TS)(Vt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Vt.marginXXS/2,paginationMiniQuickJumperInputWidth:Vt.controlHeightLG*1.1,paginationItemPaddingInline:Vt.marginXXS*1.5,paginationEllipsisLetterSpacing:Vt.marginXXS/2,paginationSlashMarginInlineStart:Vt.marginXXS,paginationSlashMarginInlineEnd:Vt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,tn.e5)(Vt),(0,tn.TM)(Vt));return[se(yn),xt(yn),Vt.wireframe&&je(yn)]},Vt=>({itemBg:Vt.colorBgContainer,itemSize:Vt.controlHeight,itemSizeSM:Vt.controlHeightSM,itemActiveBg:Vt.colorBgContainer,itemLinkBg:Vt.colorBgContainer,itemActiveColorDisabled:Vt.colorTextDisabled,itemActiveBgDisabled:Vt.controlItemBgActiveDisabled,itemInputBg:Vt.colorBgContainer,miniOptionsSizeChangerTop:0})),un=function(Vt,yn){var Kn={};for(var On in Vt)Object.prototype.hasOwnProperty.call(Vt,On)&&yn.indexOf(On)<0&&(Kn[On]=Vt[On]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,On=Object.getOwnPropertySymbols(Vt);Qt<On.length;Qt++)yn.indexOf(On[Qt])<0&&Object.prototype.propertyIsEnumerable.call(Vt,On[Qt])&&(Kn[On[Qt]]=Vt[On[Qt]]);return Kn},Xn=Vt=>{const{prefixCls:yn,selectPrefixCls:Kn,className:On,rootClassName:Qt,style:Dr,size:jt,locale:rn,selectComponentClass:Ir,responsive:ur,showSizeChanger:Rr}=Vt,aa=un(Vt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:qn}=(0,Nt.Z)(ur),{getPrefixCls:Pa,direction:Fa,pagination:_a={}}=de.useContext(vn.E_),Xr=Pa("pagination",yn),[Da,Mi]=En(Xr),Si=Rr!=null?Rr:_a.showSizeChanger,zi=de.useMemo(()=>{const sa=de.createElement("span",{className:`${Xr}-item-ellipsis`},"\u2022\u2022\u2022"),pn=de.createElement("button",{className:`${Xr}-item-link`,type:"button",tabIndex:-1},Fa==="rtl"?de.createElement(Pe.Z,null):de.createElement(me.Z,null)),At=de.createElement("button",{className:`${Xr}-item-link`,type:"button",tabIndex:-1},Fa==="rtl"?de.createElement(me.Z,null):de.createElement(Pe.Z,null)),Zt=de.createElement("a",{className:`${Xr}-item-link`},de.createElement("div",{className:`${Xr}-item-container`},Fa==="rtl"?de.createElement(Se.Z,{className:`${Xr}-item-link-icon`}):de.createElement(ce,{className:`${Xr}-item-link-icon`}),sa)),on=de.createElement("a",{className:`${Xr}-item-link`},de.createElement("div",{className:`${Xr}-item-container`},Fa==="rtl"?de.createElement(ce,{className:`${Xr}-item-link-icon`}):de.createElement(Se.Z,{className:`${Xr}-item-link-icon`}),sa));return{prevIcon:pn,nextIcon:At,jumpPrevIcon:Zt,jumpNextIcon:on}},[Fa,Xr]),[fi]=(0,Kt.Z)("Pagination",Mt.Z),Tn=Object.assign(Object.assign({},fi),rn),bn=(0,qt.Z)(jt),ir=bn==="small"||!!(qn&&!bn&&ur),Cr=Pa("select",Kn),Or=fe()({[`${Xr}-mini`]:ir,[`${Xr}-rtl`]:Fa==="rtl"},_a==null?void 0:_a.className,On,Qt,Mi),Lr=Object.assign(Object.assign({},_a==null?void 0:_a.style),Dr);return Da(de.createElement(Ie,Object.assign({},zi,aa,{style:Lr,prefixCls:Xr,selectPrefixCls:Cr,className:Or,selectComponentClass:Ir||(ir?Cn:Sn),locale:Tn,showSizeChanger:Si})))},_n=Xn},38703:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Dr}});var ne=ee(67294),de=ee(87725),Me=ee(18299),et=ee(16646),we=ee(73475),ke=ee(94184),ce=ee.n(ke),Se=ee(10366),me=ee(53124),Pe=ee(87462),Xe=ee(1413),fe=ee(45987),Ge={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},pt=function(){var rn=(0,ne.useRef)([]),Ir=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var ur=Date.now(),Rr=!1;rn.current.forEach(function(aa){if(aa){Rr=!0;var qn=aa.style;qn.transitionDuration=".3s, .3s, .3s, .06s",Ir.current&&ur-Ir.current<100&&(qn.transitionDuration="0s, 0s")}}),Rr&&(Ir.current=Date.now())}),rn.current},ot=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],vt=function(rn){var Ir=(0,Xe.Z)((0,Xe.Z)({},Ge),rn),ur=Ir.className,Rr=Ir.percent,aa=Ir.prefixCls,qn=Ir.strokeColor,Pa=Ir.strokeLinecap,Fa=Ir.strokeWidth,_a=Ir.style,Xr=Ir.trailColor,Da=Ir.trailWidth,Mi=Ir.transition,Si=(0,fe.Z)(Ir,ot);delete Si.gapPosition;var zi=Array.isArray(Rr)?Rr:[Rr],fi=Array.isArray(qn)?qn:[qn],Tn=pt(),bn=Fa/2,ir=100-Fa/2,Cr="M ".concat(Pa==="round"?bn:0,",").concat(bn,`
L `).concat(Pa==="round"?ir:100,",").concat(bn),Or="0 0 100 ".concat(Fa),Lr=0;return ne.createElement("svg",(0,Pe.Z)({className:ce()("".concat(aa,"-line"),ur),viewBox:Or,preserveAspectRatio:"none",style:_a},Si),ne.createElement("path",{className:"".concat(aa,"-line-trail"),d:Cr,strokeLinecap:Pa,stroke:Xr,strokeWidth:Da||Fa,fillOpacity:"0"}),zi.map(function(sa,pn){var At=1;switch(Pa){case"round":At=1-Fa/100;break;case"square":At=1-Fa/2/100;break;default:At=1;break}var Zt={strokeDasharray:"".concat(sa*At,"px, 100px"),strokeDashoffset:"-".concat(Lr,"px"),transition:Mi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},on=fi[pn]||fi[fi.length-1];return Lr+=sa,ne.createElement("path",{key:pn,className:"".concat(aa,"-line-path"),d:Cr,strokeLinecap:Pa,stroke:on,strokeWidth:Fa,fillOpacity:"0",ref:function(Dt){Tn[pn]=Dt},style:Zt})}))},Ee=vt,wt=ee(71002),Rt=ee(97685),tt=ee(98924),st=0,ye=(0,tt.Z)();function ue(){var jt;return ye?(jt=st,st+=1):jt="TEST_OR_SSR",jt}var $e=function(jt){var rn=ne.useState(),Ir=(0,Rt.Z)(rn,2),ur=Ir[0],Rr=Ir[1];return ne.useEffect(function(){Rr("rc_progress_".concat(ue()))},[]),jt||ur},Je=function(rn){var Ir=rn.bg,ur=rn.children;return ne.createElement("div",{style:{width:"100%",height:"100%",background:Ir}},ur)};function ht(jt,rn){return Object.keys(jt).map(function(Ir){var ur=parseFloat(Ir),Rr="".concat(Math.floor(ur*rn),"%");return"".concat(jt[Ir]," ").concat(Rr)})}var yt=ne.forwardRef(function(jt,rn){var Ir=jt.prefixCls,ur=jt.color,Rr=jt.gradientId,aa=jt.radius,qn=jt.style,Pa=jt.ptg,Fa=jt.strokeLinecap,_a=jt.strokeWidth,Xr=jt.size,Da=jt.gapDegree,Mi=ur&&(0,wt.Z)(ur)==="object",Si=Mi?"#FFF":void 0,zi=Xr/2,fi=ne.createElement("circle",{className:"".concat(Ir,"-circle-path"),r:aa,cx:zi,cy:zi,stroke:Si,strokeLinecap:Fa,strokeWidth:_a,opacity:Pa===0?0:1,style:qn,ref:rn});if(!Mi)return fi;var Tn="".concat(Rr,"-conic"),bn=Da?"".concat(180+Da/2,"deg"):"0deg",ir=ht(ur,(360-Da)/360),Cr=ht(ur,1),Or="conic-gradient(from ".concat(bn,", ").concat(ir.join(", "),")"),Lr="linear-gradient(to ".concat(Da?"bottom":"top",", ").concat(Cr.join(", "),")");return ne.createElement(ne.Fragment,null,ne.createElement("mask",{id:Tn},fi),ne.createElement("foreignObject",{x:0,y:0,width:Xr,height:Xr,mask:"url(#".concat(Tn,")")},ne.createElement(Je,{bg:Lr},ne.createElement(Je,{bg:Or}))))}),Fe=yt,Be=100,mt=function(rn,Ir,ur,Rr,aa,qn,Pa,Fa,_a,Xr){var Da=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Mi=ur/100*360*((360-qn)/360),Si=qn===0?0:{bottom:0,top:180,left:90,right:-90}[Pa],zi=(100-Rr)/100*Ir;_a==="round"&&Rr!==100&&(zi+=Xr/2,zi>=Ir&&(zi=Ir-.01));var fi=Be/2;return{stroke:typeof Fa=="string"?Fa:void 0,strokeDasharray:"".concat(Ir,"px ").concat(rn),strokeDashoffset:zi+Da,transform:"rotate(".concat(aa+Mi+Si,"deg)"),transformOrigin:"".concat(fi,"px ").concat(fi,"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}},ze=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ut(jt){var rn=jt!=null?jt:[];return Array.isArray(rn)?rn:[rn]}var rt=function(rn){var Ir=(0,Xe.Z)((0,Xe.Z)({},Ge),rn),ur=Ir.id,Rr=Ir.prefixCls,aa=Ir.steps,qn=Ir.strokeWidth,Pa=Ir.trailWidth,Fa=Ir.gapDegree,_a=Fa===void 0?0:Fa,Xr=Ir.gapPosition,Da=Ir.trailColor,Mi=Ir.strokeLinecap,Si=Ir.style,zi=Ir.className,fi=Ir.strokeColor,Tn=Ir.percent,bn=(0,fe.Z)(Ir,ze),ir=Be/2,Cr=$e(ur),Or="".concat(Cr,"-gradient"),Lr=ir-qn/2,sa=Math.PI*2*Lr,pn=_a>0?90+_a/2:-90,At=sa*((360-_a)/360),Zt=(0,wt.Z)(aa)==="object"?aa:{count:aa,space:2},on=Zt.count,Yn=Zt.space,Dt=ut(Tn),fn=ut(fi),Vn=fn.find(function(ya){return ya&&(0,wt.Z)(ya)==="object"}),kn=Vn&&(0,wt.Z)(Vn)==="object",rr=kn?"butt":Mi,fr=mt(sa,At,0,100,pn,_a,Xr,Da,rr,qn),mn=pt(),Ta=function(){var Sa=0;return Dt.map(function(Ma,pa){var Er=fn[pa]||fn[fn.length-1],qr=mt(sa,At,Sa,Ma,pn,_a,Xr,Er,rr,qn);return Sa+=Ma,ne.createElement(Fe,{key:pa,color:Er,ptg:Ma,radius:Lr,prefixCls:Rr,gradientId:Or,style:qr,strokeLinecap:rr,strokeWidth:qn,gapDegree:_a,ref:function(Fi){mn[pa]=Fi},size:Be})}).reverse()},ha=function(){var Sa=Math.round(on*(Dt[0]/100)),Ma=100/on,pa=0;return new Array(on).fill(null).map(function(Er,qr){var Hi=qr<=Sa-1?fn[0]:Da,Fi=Hi&&(0,wt.Z)(Hi)==="object"?"url(#".concat(Or,")"):void 0,$a=mt(sa,At,pa,Ma,pn,_a,Xr,Hi,"butt",qn,Yn);return pa+=(At-$a.strokeDashoffset+Yn)*100/At,ne.createElement("circle",{key:qr,className:"".concat(Rr,"-circle-path"),r:Lr,cx:ir,cy:ir,stroke:Fi,strokeWidth:qn,opacity:1,style:$a,ref:function(no){mn[qr]=no}})})};return ne.createElement("svg",(0,Pe.Z)({className:ce()("".concat(Rr,"-circle"),zi),viewBox:"0 0 ".concat(Be," ").concat(Be),style:Si,id:ur,role:"presentation"},bn),!on&&ne.createElement("circle",{className:"".concat(Rr,"-circle-trail"),r:Lr,cx:ir,cy:ir,stroke:Da,strokeLinecap:rr,strokeWidth:Pa||qn,style:fr}),on?ha():Ta())},Tt=rt,Bt={Line:Ee,Circle:Tt},en=ee(83062),ct=ee(16397);function Ie(jt){return!jt||jt<0?0:jt>100?100:jt}function Mt(jt){let{success:rn,successPercent:Ir}=jt,ur=Ir;return rn&&"progress"in rn&&(ur=rn.progress),rn&&"percent"in rn&&(ur=rn.percent),ur}const vn=jt=>{let{percent:rn,success:Ir,successPercent:ur}=jt;const Rr=Ie(Mt({success:Ir,successPercent:ur}));return[Rr,Ie(Ie(rn)-Rr)]},qt=jt=>{let{success:rn={},strokeColor:Ir}=jt;const{strokeColor:ur}=rn;return[ur||ct.presetPrimaryColors.green,Ir||null]},Nt=(jt,rn,Ir)=>{var ur,Rr,aa,qn;let Pa=-1,Fa=-1;if(rn==="step"){const _a=Ir.steps,Xr=Ir.strokeWidth;typeof jt=="string"||typeof jt=="undefined"?(Pa=jt==="small"?2:14,Fa=Xr!=null?Xr:8):typeof jt=="number"?[Pa,Fa]=[jt,jt]:[Pa=14,Fa=8]=jt,Pa*=_a}else if(rn==="line"){const _a=Ir==null?void 0:Ir.strokeWidth;typeof jt=="string"||typeof jt=="undefined"?Fa=_a||(jt==="small"?6:8):typeof jt=="number"?[Pa,Fa]=[jt,jt]:[Pa=-1,Fa=8]=jt}else(rn==="circle"||rn==="dashboard")&&(typeof jt=="string"||typeof jt=="undefined"?[Pa,Fa]=jt==="small"?[60,60]:[120,120]:typeof jt=="number"?[Pa,Fa]=[jt,jt]:(Pa=(Rr=(ur=jt[0])!==null&&ur!==void 0?ur:jt[1])!==null&&Rr!==void 0?Rr:120,Fa=(qn=(aa=jt[0])!==null&&aa!==void 0?aa:jt[1])!==null&&qn!==void 0?qn:120));return[Pa,Fa]},Kt=3,nn=jt=>Kt/jt*100;var Sn=jt=>{const{prefixCls:rn,trailColor:Ir=null,strokeLinecap:ur="round",gapPosition:Rr,gapDegree:aa,width:qn=120,type:Pa,children:Fa,success:_a,size:Xr=qn}=jt,[Da,Mi]=Nt(Xr,"circle");let{strokeWidth:Si}=jt;Si===void 0&&(Si=Math.max(nn(Da),6));const zi={width:Da,height:Mi,fontSize:Da*.15+6},fi=ne.useMemo(()=>{if(aa||aa===0)return aa;if(Pa==="dashboard")return 75},[aa,Pa]),Tn=Rr||Pa==="dashboard"&&"bottom"||void 0,bn=Object.prototype.toString.call(jt.strokeColor)==="[object Object]",ir=qt({success:_a,strokeColor:jt.strokeColor}),Cr=ce()(`${rn}-inner`,{[`${rn}-circle-gradient`]:bn}),Or=ne.createElement(Tt,{percent:vn(jt),strokeWidth:Si,trailWidth:Si,strokeColor:ir,strokeLinecap:ur,trailColor:Ir,prefixCls:rn,gapDegree:fi,gapPosition:Tn});return ne.createElement("div",{className:Cr,style:zi},Da<=20?ne.createElement(en.Z,{title:Fa},ne.createElement("span",null,Or)):ne.createElement(ne.Fragment,null,Or,Fa))},tn=function(jt,rn){var Ir={};for(var ur in jt)Object.prototype.hasOwnProperty.call(jt,ur)&&rn.indexOf(ur)<0&&(Ir[ur]=jt[ur]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,ur=Object.getOwnPropertySymbols(jt);Rr<ur.length;Rr++)rn.indexOf(ur[Rr])<0&&Object.prototype.propertyIsEnumerable.call(jt,ur[Rr])&&(Ir[ur[Rr]]=jt[ur[Rr]]);return Ir};const In=jt=>{let rn=[];return Object.keys(jt).forEach(Ir=>{const ur=parseFloat(Ir.replace(/%/g,""));isNaN(ur)||rn.push({key:ur,value:jt[Ir]})}),rn=rn.sort((Ir,ur)=>Ir.key-ur.key),rn.map(Ir=>{let{key:ur,value:Rr}=Ir;return`${Rr} ${ur}%`}).join(", ")},br=(jt,rn)=>{const{from:Ir=ct.presetPrimaryColors.blue,to:ur=ct.presetPrimaryColors.blue,direction:Rr=rn==="rtl"?"to left":"to right"}=jt,aa=tn(jt,["from","to","direction"]);if(Object.keys(aa).length!==0){const qn=In(aa);return{backgroundImage:`linear-gradient(${Rr}, ${qn})`}}return{backgroundImage:`linear-gradient(${Rr}, ${Ir}, ${ur})`}};var Ye=jt=>{const{prefixCls:rn,direction:Ir,percent:ur,size:Rr,strokeWidth:aa,strokeColor:qn,strokeLinecap:Pa="round",children:Fa,trailColor:_a=null,success:Xr}=jt,Da=qn&&typeof qn!="string"?br(qn,Ir):{backgroundColor:qn},Mi=Pa==="square"||Pa==="butt"?0:void 0,Si={backgroundColor:_a||void 0,borderRadius:Mi},zi=Rr!=null?Rr:[-1,aa||(Rr==="small"?6:8)],[fi,Tn]=Nt(zi,"line",{strokeWidth:aa}),bn=Object.assign({width:`${Ie(ur)}%`,height:Tn,borderRadius:Mi},Da),ir=Mt(jt),Cr={width:`${Ie(ir)}%`,height:Tn,borderRadius:Mi,backgroundColor:Xr==null?void 0:Xr.strokeColor},Or={width:fi<0?"100%":fi,height:Tn};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:`${rn}-outer`,style:Or},ne.createElement("div",{className:`${rn}-inner`,style:Si},ne.createElement("div",{className:`${rn}-bg`,style:bn}),ir!==void 0?ne.createElement("div",{className:`${rn}-success-bg`,style:Cr}):null)),Fa)},he=jt=>{const{size:rn,steps:Ir,percent:ur=0,strokeWidth:Rr=8,strokeColor:aa,trailColor:qn=null,prefixCls:Pa,children:Fa}=jt,_a=Math.round(Ir*(ur/100)),Xr=rn==="small"?2:14,Da=rn!=null?rn:[Xr,Rr],[Mi,Si]=Nt(Da,"step",{steps:Ir,strokeWidth:Rr}),zi=Mi/Ir,fi=new Array(Ir);for(let Tn=0;Tn<Ir;Tn++){const bn=Array.isArray(aa)?aa[Tn]:aa;fi[Tn]=ne.createElement("div",{key:Tn,className:ce()(`${Pa}-steps-item`,{[`${Pa}-steps-item-active`]:Tn<=_a-1}),style:{backgroundColor:Tn<=_a-1?bn:qn,width:zi,height:Si}})}return ne.createElement("div",{className:`${Pa}-steps-outer`},fi,Fa)},be=ee(34367),ge=ee(14747),se=ee(67968),je=ee(45503);const xt=jt=>{const rn=jt?"100%":"-100%";return new be.Keyframes(`antProgress${jt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${rn}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${rn}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},En=jt=>{const{componentCls:rn,iconCls:Ir}=jt;return{[rn]:Object.assign(Object.assign({},(0,ge.Wf)(jt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:jt.fontSize,marginInlineEnd:jt.marginXS,marginBottom:jt.marginXS},[`${rn}-outer`]:{display:"inline-block",width:"100%"},[`&${rn}-show-info`]:{[`${rn}-outer`]:{marginInlineEnd:`calc(-2em - ${jt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${jt.paddingXS}px)`}},[`${rn}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:jt.remainingColor,borderRadius:jt.lineBorderRadius},[`${rn}-inner:not(${rn}-circle-gradient)`]:{[`${rn}-circle-path`]:{stroke:jt.defaultColor}},[`${rn}-success-bg, ${rn}-bg`]:{position:"relative",backgroundColor:jt.defaultColor,borderRadius:jt.lineBorderRadius,transition:`all ${jt.motionDurationSlow} ${jt.motionEaseInOutCirc}`},[`${rn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:jt.colorSuccess},[`${rn}-text`]:{display:"inline-block",width:"2em",marginInlineStart:jt.marginXS,color:jt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ir]:{fontSize:jt.fontSize}},[`&${rn}-status-active`]:{[`${rn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:jt.colorBgContainer,borderRadius:jt.lineBorderRadius,opacity:0,animationName:xt(),animationDuration:jt.progressActiveMotionDuration,animationTimingFunction:jt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${rn}-rtl${rn}-status-active`]:{[`${rn}-bg::before`]:{animationName:xt(!0)}},[`&${rn}-status-exception`]:{[`${rn}-bg`]:{backgroundColor:jt.colorError},[`${rn}-text`]:{color:jt.colorError}},[`&${rn}-status-exception ${rn}-inner:not(${rn}-circle-gradient)`]:{[`${rn}-circle-path`]:{stroke:jt.colorError}},[`&${rn}-status-success`]:{[`${rn}-bg`]:{backgroundColor:jt.colorSuccess},[`${rn}-text`]:{color:jt.colorSuccess}},[`&${rn}-status-success ${rn}-inner:not(${rn}-circle-gradient)`]:{[`${rn}-circle-path`]:{stroke:jt.colorSuccess}}})}},un=jt=>{const{componentCls:rn,iconCls:Ir}=jt;return{[rn]:{[`${rn}-circle-trail`]:{stroke:jt.remainingColor},[`&${rn}-circle ${rn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${rn}-circle ${rn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:jt.circleTextColor,fontSize:jt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ir]:{fontSize:`${jt.fontSize/jt.fontSizeSM}em`}},[`${rn}-circle&-status-exception`]:{[`${rn}-text`]:{color:jt.colorError}},[`${rn}-circle&-status-success`]:{[`${rn}-text`]:{color:jt.colorSuccess}}},[`${rn}-inline-circle`]:{lineHeight:1,[`${rn}-inner`]:{verticalAlign:"bottom"}}}},Pn=jt=>{const{componentCls:rn}=jt;return{[rn]:{[`${rn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:jt.progressStepMinWidth,marginInlineEnd:jt.progressStepMarginInlineEnd,backgroundColor:jt.remainingColor,transition:`all ${jt.motionDurationSlow}`,"&-active":{backgroundColor:jt.defaultColor}}}}}},Xn=jt=>{const{componentCls:rn,iconCls:Ir}=jt;return{[rn]:{[`${rn}-small&-line, ${rn}-small&-line ${rn}-text ${Ir}`]:{fontSize:jt.fontSizeSM}}}};var _n=(0,se.Z)("Progress",jt=>{const rn=jt.marginXXS/2,Ir=(0,je.TS)(jt,{progressStepMarginInlineEnd:rn,progressStepMinWidth:rn,progressActiveMotionDuration:"2.4s"});return[En(Ir),un(Ir),Pn(Ir),Xn(Ir)]},jt=>({circleTextColor:jt.colorText,defaultColor:jt.colorInfo,remainingColor:jt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Vt=function(jt,rn){var Ir={};for(var ur in jt)Object.prototype.hasOwnProperty.call(jt,ur)&&rn.indexOf(ur)<0&&(Ir[ur]=jt[ur]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rr=0,ur=Object.getOwnPropertySymbols(jt);Rr<ur.length;Rr++)rn.indexOf(ur[Rr])<0&&Object.prototype.propertyIsEnumerable.call(jt,ur[Rr])&&(Ir[ur[Rr]]=jt[ur[Rr]]);return Ir};const yn=null,Kn=["normal","exception","active","success"];var Qt=ne.forwardRef((jt,rn)=>{const{prefixCls:Ir,className:ur,rootClassName:Rr,steps:aa,strokeColor:qn,percent:Pa=0,size:Fa="default",showInfo:_a=!0,type:Xr="line",status:Da,format:Mi,style:Si}=jt,zi=Vt(jt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),fi=ne.useMemo(()=>{var Dt,fn;const Vn=Mt(jt);return parseInt(Vn!==void 0?(Dt=Vn!=null?Vn:0)===null||Dt===void 0?void 0:Dt.toString():(fn=Pa!=null?Pa:0)===null||fn===void 0?void 0:fn.toString(),10)},[Pa,jt.success,jt.successPercent]),Tn=ne.useMemo(()=>!Kn.includes(Da)&&fi>=100?"success":Da||"normal",[Da,fi]),{getPrefixCls:bn,direction:ir,progress:Cr}=ne.useContext(me.E_),Or=bn("progress",Ir),[Lr,sa]=_n(Or),pn=ne.useMemo(()=>{if(!_a)return null;const Dt=Mt(jt);let fn;const Vn=Mi||(rr=>`${rr}%`),kn=Xr==="line";return Mi||Tn!=="exception"&&Tn!=="success"?fn=Vn(Ie(Pa),Ie(Dt)):Tn==="exception"?fn=kn?ne.createElement(et.Z,null):ne.createElement(we.Z,null):Tn==="success"&&(fn=kn?ne.createElement(de.Z,null):ne.createElement(Me.Z,null)),ne.createElement("span",{className:`${Or}-text`,title:typeof fn=="string"?fn:void 0},fn)},[_a,Pa,fi,Tn,Xr,Or,Mi]),At=Array.isArray(qn)?qn[0]:qn,Zt=typeof qn=="string"||Array.isArray(qn)?qn:void 0;let on;Xr==="line"?on=aa?ne.createElement(he,Object.assign({},jt,{strokeColor:Zt,prefixCls:Or,steps:aa}),pn):ne.createElement(Ye,Object.assign({},jt,{strokeColor:At,prefixCls:Or,direction:ir}),pn):(Xr==="circle"||Xr==="dashboard")&&(on=ne.createElement(Sn,Object.assign({},jt,{strokeColor:At,prefixCls:Or,progressStatus:Tn}),pn));const Yn=ce()(Or,`${Or}-status-${Tn}`,`${Or}-${Xr==="dashboard"&&"circle"||aa&&"steps"||Xr}`,{[`${Or}-inline-circle`]:Xr==="circle"&&Nt(Fa,"circle")[0]<=20,[`${Or}-show-info`]:_a,[`${Or}-${Fa}`]:typeof Fa=="string",[`${Or}-rtl`]:ir==="rtl"},Cr==null?void 0:Cr.className,ur,Rr,sa);return Lr(ne.createElement("div",Object.assign({ref:rn,style:Object.assign(Object.assign({},Cr==null?void 0:Cr.style),Si),className:Yn,role:"progressbar","aria-valuenow":fi},(0,Se.Z)(zi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),on))}),Dr=Qt},78045:function(Hn,sn,ee){"use strict";ee.d(sn,{ZP:function(){return ct}});var ne=ee(94184),de=ee.n(ne),Me=ee(5663),et=ee(1337),we=ee(67294),ke=ee(53124),ce=ee(98675);const Se=we.createContext(null),me=Se.Provider;var Pe=Se;const Xe=we.createContext(null),fe=Xe.Provider;var Ge=ee(95860),pt=ee(17799),ot=ee(98866),vt=ee(65223),Ee=ee(14747),wt=ee(67968),Rt=ee(45503);const tt=Ie=>{const{componentCls:Mt,antCls:vn}=Ie,qt=`${Mt}-group`;return{[qt]:Object.assign(Object.assign({},(0,Ee.Wf)(Ie)),{display:"inline-block",fontSize:0,[`&${qt}-rtl`]:{direction:"rtl"},[`${vn}-badge ${vn}-badge-count`]:{zIndex:1},[`> ${vn}-badge:not(:first-child) > ${vn}-button-wrapper`]:{borderInlineStart:"none"}})}},st=Ie=>{const{componentCls:Mt,wrapperMarginInlineEnd:vn,colorPrimary:qt,radioSize:Nt,motionDurationSlow:Kt,motionDurationMid:nn,motionEaseInOutCirc:Cn,colorBgContainer:Sn,colorBorder:tn,lineWidth:In,dotSize:br,colorBgContainerDisabled:gn,colorTextDisabled:Ye,paddingXS:ve,dotColorDisabled:he,lineType:be,radioDotDisabledSize:ge,wireframe:se,colorWhite:je}=Ie,xt=`${Mt}-inner`;return{[`${Mt}-wrapper`]:Object.assign(Object.assign({},(0,Ee.Wf)(Ie)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:vn,cursor:"pointer",[`&${Mt}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ie.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${Mt}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${In}px ${be} ${qt}`,borderRadius:"50%",visibility:"hidden",content:'""'},[Mt]:Object.assign(Object.assign({},(0,Ee.Wf)(Ie)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Mt}-wrapper:hover &,
&:hover ${xt}`]:{borderColor:qt},[`${Mt}-input:focus-visible + ${xt}`]:Object.assign({},(0,Ee.oN)(Ie)),[`${Mt}:hover::after, ${Mt}-wrapper:hover &::after`]:{visibility:"visible"},[`${Mt}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Nt,height:Nt,marginBlockStart:Nt/-2,marginInlineStart:Nt/-2,backgroundColor:se?qt:je,borderBlockStart:0,borderInlineStart:0,borderRadius:Nt,transform:"scale(0)",opacity:0,transition:`all ${Kt} ${Cn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Nt,height:Nt,backgroundColor:Sn,borderColor:tn,borderStyle:"solid",borderWidth:In,borderRadius:"50%",transition:`all ${nn}`},[`${Mt}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Mt}-checked`]:{[xt]:{borderColor:qt,backgroundColor:se?Sn:qt,"&::after":{transform:`scale(${br/Nt})`,opacity:1,transition:`all ${Kt} ${Cn}`}}},[`${Mt}-disabled`]:{cursor:"not-allowed",[xt]:{backgroundColor:gn,borderColor:tn,cursor:"not-allowed","&::after":{backgroundColor:he}},[`${Mt}-input`]:{cursor:"not-allowed"},[`${Mt}-disabled + span`]:{color:Ye,cursor:"not-allowed"},[`&${Mt}-checked`]:{[xt]:{"&::after":{transform:`scale(${ge/Nt})`}}}},[`span${Mt} + *`]:{paddingInlineStart:ve,paddingInlineEnd:ve}})}},ye=Ie=>{const{buttonColor:Mt,controlHeight:vn,componentCls:qt,lineWidth:Nt,lineType:Kt,colorBorder:nn,motionDurationSlow:Cn,motionDurationMid:Sn,buttonPaddingInline:tn,fontSize:In,buttonBg:br,fontSizeLG:gn,controlHeightLG:Ye,controlHeightSM:ve,paddingXS:he,borderRadius:be,borderRadiusSM:ge,borderRadiusLG:se,buttonCheckedBg:je,buttonSolidCheckedColor:xt,colorTextDisabled:En,colorBgContainerDisabled:un,buttonCheckedBgDisabled:Pn,buttonCheckedColorDisabled:Xn,colorPrimary:_n,colorPrimaryHover:Vt,colorPrimaryActive:yn,buttonSolidCheckedBg:Kn,buttonSolidCheckedHoverBg:On,buttonSolidCheckedActiveBg:Qt}=Ie;return{[`${qt}-button-wrapper`]:{position:"relative",display:"inline-block",height:vn,margin:0,paddingInline:tn,paddingBlock:0,color:Mt,fontSize:In,lineHeight:`${vn-Nt*2}px`,background:br,border:`${Nt}px ${Kt} ${nn}`,borderBlockStartWidth:Nt+.02,borderInlineStartWidth:0,borderInlineEndWidth:Nt,cursor:"pointer",transition:[`color ${Sn}`,`background ${Sn}`,`box-shadow ${Sn}`].join(","),a:{color:Mt},[`> ${qt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Nt,insetInlineStart:-Nt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Nt,paddingInline:0,backgroundColor:nn,transition:`background-color ${Cn}`,content:'""'}},"&:first-child":{borderInlineStart:`${Nt}px ${Kt} ${nn}`,borderStartStartRadius:be,borderEndStartRadius:be},"&:last-child":{borderStartEndRadius:be,borderEndEndRadius:be},"&:first-child:last-child":{borderRadius:be},[`${qt}-group-large &`]:{height:Ye,fontSize:gn,lineHeight:`${Ye-Nt*2}px`,"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},[`${qt}-group-small &`]:{height:ve,paddingInline:he-Nt,paddingBlock:0,lineHeight:`${ve-Nt*2}px`,"&:first-child":{borderStartStartRadius:ge,borderEndStartRadius:ge},"&:last-child":{borderStartEndRadius:ge,borderEndEndRadius:ge}},"&:hover":{position:"relative",color:_n},"&:has(:focus-visible)":Object.assign({},(0,Ee.oN)(Ie)),[`${qt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${qt}-button-wrapper-disabled)`]:{zIndex:1,color:_n,background:je,borderColor:_n,"&::before":{backgroundColor:_n},"&:first-child":{borderColor:_n},"&:hover":{color:Vt,borderColor:Vt,"&::before":{backgroundColor:Vt}},"&:active":{color:yn,borderColor:yn,"&::before":{backgroundColor:yn}}},[`${qt}-group-solid &-checked:not(${qt}-button-wrapper-disabled)`]:{color:xt,background:Kn,borderColor:Kn,"&:hover":{color:xt,background:On,borderColor:On},"&:active":{color:xt,background:Qt,borderColor:Qt}},"&-disabled":{color:En,backgroundColor:un,borderColor:nn,cursor:"not-allowed","&:first-child, &:hover":{color:En,backgroundColor:un,borderColor:nn}},[`&-disabled${qt}-button-wrapper-checked`]:{color:Xn,backgroundColor:Pn,borderColor:nn,boxShadow:"none"}}}},ue=Ie=>Ie-4*2;var $e=(0,wt.Z)("Radio",Ie=>{const{controlOutline:Mt,controlOutlineWidth:vn,radioSize:qt}=Ie,Nt=`0 0 0 ${vn}px ${Mt}`,Kt=Nt,nn=ue(qt),Cn=(0,Rt.TS)(Ie,{radioDotDisabledSize:nn,radioFocusShadow:Nt,radioButtonFocusShadow:Kt});return[tt(Cn),st(Cn),ye(Cn)]},Ie=>{const{wireframe:Mt,padding:vn,marginXS:qt,lineWidth:Nt,fontSizeLG:Kt,colorText:nn,colorBgContainer:Cn,colorTextDisabled:Sn,controlItemBgActiveDisabled:tn,colorTextLightSolid:In,colorPrimary:br,colorPrimaryHover:gn,colorPrimaryActive:Ye}=Ie,ve=4,he=Kt,be=Mt?ue(he):he-(ve+Nt)*2;return{radioSize:he,dotSize:be,dotColorDisabled:Sn,buttonSolidCheckedColor:In,buttonSolidCheckedBg:br,buttonSolidCheckedHoverBg:gn,buttonSolidCheckedActiveBg:Ye,buttonBg:Cn,buttonCheckedBg:Cn,buttonColor:nn,buttonCheckedBgDisabled:tn,buttonCheckedColorDisabled:Sn,buttonPaddingInline:vn-Nt,wrapperMarginInlineEnd:qt}}),Je=ee(45353),ht=ee(92429),yt=function(Ie,Mt){var vn={};for(var qt in Ie)Object.prototype.hasOwnProperty.call(Ie,qt)&&Mt.indexOf(qt)<0&&(vn[qt]=Ie[qt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,qt=Object.getOwnPropertySymbols(Ie);Nt<qt.length;Nt++)Mt.indexOf(qt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,qt[Nt])&&(vn[qt[Nt]]=Ie[qt[Nt]]);return vn};const Fe=(Ie,Mt)=>{var vn,qt;const Nt=we.useContext(Pe),Kt=we.useContext(Xe),{getPrefixCls:nn,direction:Cn,radio:Sn}=we.useContext(ke.E_),tn=we.useRef(null),In=(0,pt.sQ)(Mt,tn),{isFormItemInput:br}=we.useContext(vt.aM),gn=yn=>{var Kn,On;(Kn=Ie.onChange)===null||Kn===void 0||Kn.call(Ie,yn),(On=Nt==null?void 0:Nt.onChange)===null||On===void 0||On.call(Nt,yn)},{prefixCls:Ye,className:ve,rootClassName:he,children:be,style:ge}=Ie,se=yt(Ie,["prefixCls","className","rootClassName","children","style"]),je=nn("radio",Ye),xt=((Nt==null?void 0:Nt.optionType)||Kt)==="button",En=xt?`${je}-button`:je,[un,Pn]=$e(je),Xn=Object.assign({},se),_n=we.useContext(ot.Z);Nt&&(Xn.name=Nt.name,Xn.onChange=gn,Xn.checked=Ie.value===Nt.value,Xn.disabled=(vn=Xn.disabled)!==null&&vn!==void 0?vn:Nt.disabled),Xn.disabled=(qt=Xn.disabled)!==null&&qt!==void 0?qt:_n;const Vt=de()(`${En}-wrapper`,{[`${En}-wrapper-checked`]:Xn.checked,[`${En}-wrapper-disabled`]:Xn.disabled,[`${En}-wrapper-rtl`]:Cn==="rtl",[`${En}-wrapper-in-form-item`]:br},Sn==null?void 0:Sn.className,ve,he,Pn);return un(we.createElement(Je.Z,{component:"Radio",disabled:Xn.disabled},we.createElement("label",{className:Vt,style:Object.assign(Object.assign({},Sn==null?void 0:Sn.style),ge),onMouseEnter:Ie.onMouseEnter,onMouseLeave:Ie.onMouseLeave},we.createElement(Ge.Z,Object.assign({},Xn,{className:de()(Xn.className,!xt&&ht.A),type:"radio",prefixCls:En,ref:In})),be!==void 0?we.createElement("span",null,be):null)))};var mt=we.forwardRef(Fe);const ze=we.forwardRef((Ie,Mt)=>{const{getPrefixCls:vn,direction:qt}=we.useContext(ke.E_),[Nt,Kt]=(0,Me.Z)(Ie.defaultValue,{value:Ie.value}),nn=Kn=>{const On=Nt,Qt=Kn.target.value;"value"in Ie||Kt(Qt);const{onChange:Dr}=Ie;Dr&&Qt!==On&&Dr(Kn)},{prefixCls:Cn,className:Sn,rootClassName:tn,options:In,buttonStyle:br="outline",disabled:gn,children:Ye,size:ve,style:he,id:be,onMouseEnter:ge,onMouseLeave:se,onFocus:je,onBlur:xt}=Ie,En=vn("radio",Cn),un=`${En}-group`,[Pn,Xn]=$e(En);let _n=Ye;In&&In.length>0&&(_n=In.map(Kn=>typeof Kn=="string"||typeof Kn=="number"?we.createElement(mt,{key:Kn.toString(),prefixCls:En,disabled:gn,value:Kn,checked:Nt===Kn},Kn):we.createElement(mt,{key:`radio-group-value-options-${Kn.value}`,prefixCls:En,disabled:Kn.disabled||gn,value:Kn.value,checked:Nt===Kn.value,title:Kn.title,style:Kn.style},Kn.label)));const Vt=(0,ce.Z)(ve),yn=de()(un,`${un}-${br}`,{[`${un}-${Vt}`]:Vt,[`${un}-rtl`]:qt==="rtl"},Sn,tn,Xn);return Pn(we.createElement("div",Object.assign({},(0,et.Z)(Ie,{aria:!0,data:!0}),{className:yn,style:he,onMouseEnter:ge,onMouseLeave:se,onFocus:je,onBlur:xt,id:be,ref:Mt}),we.createElement(me,{value:{onChange:nn,value:Nt,disabled:Ie.disabled,name:Ie.name,optionType:Ie.optionType}},_n)))});var ut=we.memo(ze),rt=function(Ie,Mt){var vn={};for(var qt in Ie)Object.prototype.hasOwnProperty.call(Ie,qt)&&Mt.indexOf(qt)<0&&(vn[qt]=Ie[qt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,qt=Object.getOwnPropertySymbols(Ie);Nt<qt.length;Nt++)Mt.indexOf(qt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,qt[Nt])&&(vn[qt[Nt]]=Ie[qt[Nt]]);return vn};const Tt=(Ie,Mt)=>{const{getPrefixCls:vn}=we.useContext(ke.E_),{prefixCls:qt}=Ie,Nt=rt(Ie,["prefixCls"]),Kt=vn("radio",qt);return we.createElement(fe,{value:"button"},we.createElement(mt,Object.assign({prefixCls:Kt},Nt,{type:"radio",ref:Mt})))};var Bt=we.forwardRef(Tt);const en=mt;en.Button=Bt,en.Group=ut,en.__ANT_RADIO=!0;var ct=en},12604:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ct}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},et=Me,we=ee(84089),ke=function(Mt,vn){return de.createElement(we.Z,(0,ne.Z)({},Mt,{ref:vn,icon:et}))},ce=de.forwardRef(ke),Se=ee(94184),me=ee.n(Se),Pe=ee(4942),Xe=ee(97685),fe=ee(45987),Ge=ee(21770),pt=ee(15105),ot=ee(64217);function vt(Ie,Mt){var vn=Ie.disabled,qt=Ie.prefixCls,Nt=Ie.character,Kt=Ie.characterRender,nn=Ie.index,Cn=Ie.count,Sn=Ie.value,tn=Ie.allowHalf,In=Ie.focused,br=Ie.onHover,gn=Ie.onClick,Ye=function(En){br(En,nn)},ve=function(En){gn(En,nn)},he=function(En){En.keyCode===pt.Z.ENTER&&gn(En,nn)},be=nn+1,ge=new Set([qt]);Sn===0&&nn===0&&In?ge.add("".concat(qt,"-focused")):tn&&Sn+.5>=be&&Sn<be?(ge.add("".concat(qt,"-half")),ge.add("".concat(qt,"-active")),In&&ge.add("".concat(qt,"-focused"))):(be<=Sn?ge.add("".concat(qt,"-full")):ge.add("".concat(qt,"-zero")),be===Sn&&In&&ge.add("".concat(qt,"-focused")));var se=typeof Nt=="function"?Nt(Ie):Nt,je=de.createElement("li",{className:me()(Array.from(ge)),ref:Mt},de.createElement("div",{onClick:vn?null:ve,onKeyDown:vn?null:he,onMouseMove:vn?null:Ye,role:"radio","aria-checked":Sn>nn?"true":"false","aria-posinset":nn+1,"aria-setsize":Cn,tabIndex:vn?-1:0},de.createElement("div",{className:"".concat(qt,"-first")},se),de.createElement("div",{className:"".concat(qt,"-second")},se)));return Kt&&(je=Kt(je,Ie)),je}var Ee=de.forwardRef(vt);function wt(){var Ie=de.useRef({});function Mt(qt){return Ie.current[qt]}function vn(qt){return function(Nt){Ie.current[qt]=Nt}}return[Mt,vn]}function Rt(Ie){var Mt=Ie.pageXOffset,vn="scrollLeft";if(typeof Mt!="number"){var qt=Ie.document;Mt=qt.documentElement[vn],typeof Mt!="number"&&(Mt=qt.body[vn])}return Mt}function tt(Ie){var Mt,vn,qt=Ie.ownerDocument,Nt=qt.body,Kt=qt&&qt.documentElement,nn=Ie.getBoundingClientRect();return Mt=nn.left,vn=nn.top,Mt-=Kt.clientLeft||Nt.clientLeft||0,vn-=Kt.clientTop||Nt.clientTop||0,{left:Mt,top:vn}}function st(Ie){var Mt=tt(Ie),vn=Ie.ownerDocument,qt=vn.defaultView||vn.parentWindow;return Mt.left+=Rt(qt),Mt.left}var ye=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ue(Ie,Mt){var vn,qt=Ie.prefixCls,Nt=qt===void 0?"rc-rate":qt,Kt=Ie.className,nn=Ie.defaultValue,Cn=Ie.value,Sn=Ie.count,tn=Sn===void 0?5:Sn,In=Ie.allowHalf,br=In===void 0?!1:In,gn=Ie.allowClear,Ye=gn===void 0?!0:gn,ve=Ie.character,he=ve===void 0?"\u2605":ve,be=Ie.characterRender,ge=Ie.disabled,se=Ie.direction,je=se===void 0?"ltr":se,xt=Ie.tabIndex,En=xt===void 0?0:xt,un=Ie.autoFocus,Pn=Ie.onHoverChange,Xn=Ie.onChange,_n=Ie.onFocus,Vt=Ie.onBlur,yn=Ie.onKeyDown,Kn=Ie.onMouseLeave,On=(0,fe.Z)(Ie,ye),Qt=wt(),Dr=(0,Xe.Z)(Qt,2),jt=Dr[0],rn=Dr[1],Ir=de.useRef(null),ur=function(){if(!ge){var kn;(kn=Ir.current)===null||kn===void 0||kn.focus()}};de.useImperativeHandle(Mt,function(){return{focus:ur,blur:function(){if(!ge){var kn;(kn=Ir.current)===null||kn===void 0||kn.blur()}}}});var Rr=(0,Ge.Z)(nn||0,{value:Cn}),aa=(0,Xe.Z)(Rr,2),qn=aa[0],Pa=aa[1],Fa=(0,Ge.Z)(null),_a=(0,Xe.Z)(Fa,2),Xr=_a[0],Da=_a[1],Mi=function(kn,rr){var fr=je==="rtl",mn=kn+1;if(br){var Ta=jt(kn),ha=st(Ta),ya=Ta.clientWidth;(fr&&rr-ha>ya/2||!fr&&rr-ha<ya/2)&&(mn-=.5)}return mn},Si=function(kn){Pa(kn),Xn==null||Xn(kn)},zi=de.useState(!1),fi=(0,Xe.Z)(zi,2),Tn=fi[0],bn=fi[1],ir=function(){bn(!0),_n==null||_n()},Cr=function(){bn(!1),Vt==null||Vt()},Or=de.useState(null),Lr=(0,Xe.Z)(Or,2),sa=Lr[0],pn=Lr[1],At=function(kn,rr){var fr=Mi(rr,kn.pageX);fr!==Xr&&(pn(fr),Da(null)),Pn==null||Pn(fr)},Zt=function(kn){ge||(pn(null),Da(null),Pn==null||Pn(void 0)),kn&&(Kn==null||Kn(kn))},on=function(kn,rr){var fr=Mi(rr,kn.pageX),mn=!1;Ye&&(mn=fr===qn),Zt(),Si(mn?0:fr),Da(mn?fr:null)},Yn=function(kn){var rr=kn.keyCode,fr=je==="rtl",mn=qn;rr===pt.Z.RIGHT&&mn<tn&&!fr?(br?mn+=.5:mn+=1,Si(mn),kn.preventDefault()):rr===pt.Z.LEFT&&mn>0&&!fr||rr===pt.Z.RIGHT&&mn>0&&fr?(br?mn-=.5:mn-=1,Si(mn),kn.preventDefault()):rr===pt.Z.LEFT&&mn<tn&&fr&&(br?mn+=.5:mn+=1,Si(mn),kn.preventDefault()),yn==null||yn(kn)};de.useEffect(function(){un&&!ge&&ur()},[]);var Dt=new Array(tn).fill(0).map(function(Vn,kn){return de.createElement(Ee,{ref:rn(kn),index:kn,count:tn,disabled:ge,prefixCls:"".concat(Nt,"-star"),allowHalf:br,value:sa===null?qn:sa,onClick:on,onHover:At,key:Vn||kn,character:he,characterRender:be,focused:Tn})}),fn=me()(Nt,Kt,(vn={},(0,Pe.Z)(vn,"".concat(Nt,"-disabled"),ge),(0,Pe.Z)(vn,"".concat(Nt,"-rtl"),je==="rtl"),vn));return de.createElement("ul",(0,ne.Z)({className:fn,onMouseLeave:Zt,tabIndex:ge?-1:En,onFocus:ge?null:ir,onBlur:ge?null:Cr,onKeyDown:ge?null:Yn,ref:Ir,role:"radiogroup"},(0,ot.Z)(On,{aria:!0,data:!0,attr:!0})),Dt)}var $e=de.forwardRef(ue),Je=$e,ht=ee(53124),yt=ee(83062),Fe=ee(14747),Be=ee(67968),mt=ee(45503);const ze=Ie=>{const{componentCls:Mt}=Ie;return{[`${Mt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ie.marginXS},"> div":{transition:`all ${Ie.motionDurationMid}, outline 0s`,"&:hover":{transform:Ie.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ie.lineWidth}px dashed ${Ie.starColor}`,transform:Ie.starHoverScale}},"&-first, &-second":{color:Ie.starBg,transition:`all ${Ie.motionDurationMid}`,userSelect:"none",[Ie.iconCls]:{verticalAlign:"middle"}},"&-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"}}}},ut=Ie=>({[`&-rtl${Ie.componentCls}`]:{direction:"rtl"}}),rt=Ie=>{const{componentCls:Mt}=Ie;return{[Mt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(Ie)),{display:"inline-block",margin:0,padding:0,color:Ie.starColor,fontSize:Ie.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Mt} ${Mt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ze(Ie)),{[`+ ${Mt}-text`]:{display:"inline-block",marginInlineStart:Ie.marginXS,fontSize:Ie.fontSize}}),ut(Ie))}};var Tt=(0,Be.Z)("Rate",Ie=>{const Mt=(0,mt.TS)(Ie,{});return[rt(Mt)]},Ie=>({starColor:Ie.yellow6,starSize:Ie.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ie.colorFillContent})),Bt=function(Ie,Mt){var vn={};for(var qt in Ie)Object.prototype.hasOwnProperty.call(Ie,qt)&&Mt.indexOf(qt)<0&&(vn[qt]=Ie[qt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,qt=Object.getOwnPropertySymbols(Ie);Nt<qt.length;Nt++)Mt.indexOf(qt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,qt[Nt])&&(vn[qt[Nt]]=Ie[qt[Nt]]);return vn},ct=de.forwardRef((Ie,Mt)=>{const{prefixCls:vn,className:qt,rootClassName:Nt,style:Kt,tooltips:nn,character:Cn=de.createElement(ce,null)}=Ie,Sn=Bt(Ie,["prefixCls","className","rootClassName","style","tooltips","character"]),tn=(ge,se)=>{let{index:je}=se;return nn?de.createElement(yt.Z,{title:nn[je]},ge):ge},{getPrefixCls:In,direction:br,rate:gn}=de.useContext(ht.E_),Ye=In("rate",vn),[ve,he]=Tt(Ye),be=Object.assign(Object.assign({},gn==null?void 0:gn.style),Kt);return ve(de.createElement(Je,Object.assign({ref:Mt,character:Cn,characterRender:tn},Sn,{className:me()(qt,Nt,he,gn==null?void 0:gn.className),style:be,prefixCls:Ye,direction:br})))})},11713:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return Jr}});var ne=ee(94184),de=ee.n(ne),Me=ee(87462),et=ee(74902),we=ee(4942),ke=ee(1413),ce=ee(97685),Se=ee(45987),me=ee(71002),Pe=ee(67294);function Xe(kt){var Pt=Pe.useRef();Pt.current=kt;var zn=Pe.useCallback(function(){for(var Bn,xr=arguments.length,Zr=new Array(xr),$t=0;$t<xr;$t++)Zr[$t]=arguments[$t];return(Bn=Pt.current)===null||Bn===void 0?void 0:Bn.call.apply(Bn,[Pt].concat(Zr))},[]);return zn}function fe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ge=fe()?Pe.useLayoutEffect:Pe.useEffect,pt=Ge,ot=function(Pt,zn){var Bn=Pe.useRef(!0);Ge(function(){if(!Bn.current)return Pt()},zn),Ge(function(){return Bn.current=!1,function(){Bn.current=!0}},[])};function vt(kt){var Pt=Pe.useRef(!1),zn=Pe.useState(kt),Bn=(0,ce.Z)(zn,2),xr=Bn[0],Zr=Bn[1];Pe.useEffect(function(){return Pt.current=!1,function(){Pt.current=!0}},[]);function $t(cn,dn){dn&&Pt.current||Zr(cn)}return[xr,$t]}function Ee(kt){return kt!==void 0}function wt(kt,Pt){var zn=Pt||{},Bn=zn.defaultValue,xr=zn.value,Zr=zn.onChange,$t=zn.postState,cn=vt(function(){return Ee(xr)?xr:Ee(Bn)?typeof Bn=="function"?Bn():Bn:typeof kt=="function"?kt():kt}),dn=(0,ce.Z)(cn,2),Rn=dn[0],yr=dn[1],Tr=xr!==void 0?xr:Rn,vr=$t?$t(Tr):Tr,Pr=Xe(Zr),ia=vt([Tr]),Va=(0,ce.Z)(ia,2),ma=Va[0],Gr=Va[1];ot(function(){var ja=ma[0];Rn!==ja&&Pr(Rn,ja)},[ma]),ot(function(){Ee(xr)||yr(xr)},[xr]);var Ea=Xe(function(ja,ai){yr(ja,ai),Gr([Tr],ai)});return[vr,Ea]}var Rt={};function tt(kt,Pt){}function st(kt,Pt){}function ye(){Rt={}}function ue(kt,Pt,zn){!Pt&&!Rt[zn]&&(kt(!1,zn),Rt[zn]=!0)}function $e(kt,Pt){ue(tt,kt,Pt)}function Je(kt,Pt){ue(st,kt,Pt)}var ht=$e,yt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var kt=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(kt)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(kt==null?void 0:kt.substr(0,4))},Fe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Pt){var zn=Pt.keyCode;if(Pt.altKey&&!Pt.ctrlKey||Pt.metaKey||zn>=Fe.F1&&zn<=Fe.F12)return!1;switch(zn){case Fe.ALT:case Fe.CAPS_LOCK:case Fe.CONTEXT_MENU:case Fe.CTRL:case Fe.DOWN:case Fe.END:case Fe.ESC:case Fe.HOME:case Fe.INSERT:case Fe.LEFT:case Fe.MAC_FF_META:case Fe.META:case Fe.NUMLOCK:case Fe.NUM_CENTER:case Fe.PAGE_DOWN:case Fe.PAGE_UP:case Fe.PAUSE:case Fe.PRINT_SCREEN:case Fe.RIGHT:case Fe.SHIFT:case Fe.UP:case Fe.WIN_KEY:case Fe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Pt){if(Pt>=Fe.ZERO&&Pt<=Fe.NINE||Pt>=Fe.NUM_ZERO&&Pt<=Fe.NUM_MULTIPLY||Pt>=Fe.A&&Pt<=Fe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Pt===0)return!0;switch(Pt){case Fe.SPACE:case Fe.QUESTION_MARK:case Fe.NUM_PLUS:case Fe.NUM_MINUS:case Fe.NUM_PERIOD:case Fe.NUM_DIVISION:case Fe.SEMICOLON:case Fe.DASH:case Fe.EQUALS:case Fe.COMMA:case Fe.PERIOD:case Fe.SLASH:case Fe.APOSTROPHE:case Fe.SINGLE_QUOTE:case Fe.OPEN_SQUARE_BRACKET:case Fe.BACKSLASH:case Fe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Be=Fe,mt=ee(47655);function ze(kt,Pt,zn){var Bn=Pe.useRef({});return(!("value"in Bn.current)||zn(Bn.current.condition,Pt))&&(Bn.current.value=kt(),Bn.current.condition=Pt),Bn.current.value}function ut(kt,Pt){typeof kt=="function"?kt(Pt):(0,me.Z)(kt)==="object"&&kt&&"current"in kt&&(kt.current=Pt)}function rt(){for(var kt=arguments.length,Pt=new Array(kt),zn=0;zn<kt;zn++)Pt[zn]=arguments[zn];var Bn=Pt.filter(function(xr){return xr});return Bn.length<=1?Bn[0]:function(xr){Pt.forEach(function(Zr){ut(Zr,xr)})}}function Tt(){for(var kt=arguments.length,Pt=new Array(kt),zn=0;zn<kt;zn++)Pt[zn]=arguments[zn];return ze(function(){return rt.apply(void 0,Pt)},Pt,function(Bn,xr){return Bn.length===xr.length&&Bn.every(function(Zr,$t){return Zr===xr[$t]})})}function Bt(kt){var Pt,zn,Bn=isMemo(kt)?kt.type.type:kt.type;return!(typeof Bn=="function"&&!((Pt=Bn.prototype)!==null&&Pt!==void 0&&Pt.render)||typeof kt=="function"&&!((zn=kt.prototype)!==null&&zn!==void 0&&zn.render))}var en=function(Pt){var zn=Pt.className,Bn=Pt.customizeIcon,xr=Pt.customizeIconProps,Zr=Pt.onMouseDown,$t=Pt.onClick,cn=Pt.children,dn;return typeof Bn=="function"?dn=Bn(xr):dn=Bn,Pe.createElement("span",{className:zn,onMouseDown:function(yr){yr.preventDefault(),Zr&&Zr(yr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:$t,"aria-hidden":!0},dn!==void 0?dn:Pe.createElement("span",{className:de()(zn.split(/\s+/).map(function(Rn){return"".concat(Rn,"-icon")}))},cn))},ct=en;function Ie(kt,Pt,zn,Bn,xr){var Zr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,$t=arguments.length>6?arguments[6]:void 0,cn=arguments.length>7?arguments[7]:void 0,dn=Pe.useMemo(function(){if((0,me.Z)(Bn)==="object")return Bn.clearIcon;if(xr)return xr},[Bn,xr]),Rn=Pe.useMemo(function(){return!!(!Zr&&Bn&&(zn.length||$t)&&!(cn==="combobox"&&$t===""))},[Bn,Zr,zn.length,$t,cn]);return{allowClear:Rn,clearIcon:Pe.createElement(ct,{className:"".concat(kt,"-clear"),onMouseDown:Pt,customizeIcon:dn},"\xD7")}}var Mt=Pe.createContext(null);function vn(){return Pe.useContext(Mt)}function qt(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Pt=Pe.useState(!1),zn=(0,ce.Z)(Pt,2),Bn=zn[0],xr=zn[1],Zr=Pe.useRef(null),$t=function(){window.clearTimeout(Zr.current)};Pe.useEffect(function(){return $t},[]);var cn=function(Rn,yr){$t(),Zr.current=window.setTimeout(function(){xr(Rn),yr&&yr()},kt)};return[Bn,cn,$t]}function Nt(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Pt=Pe.useRef(null),zn=Pe.useRef(null);Pe.useEffect(function(){return function(){window.clearTimeout(zn.current)}},[]);function Bn(xr){(xr||Pt.current===null)&&(Pt.current=xr),window.clearTimeout(zn.current),zn.current=window.setTimeout(function(){Pt.current=null},kt)}return[function(){return Pt.current},Bn]}function Kt(kt,Pt,zn,Bn){var xr=Pe.useRef(null);xr.current={open:Pt,triggerOpen:zn,customizedTrigger:Bn},Pe.useEffect(function(){function Zr($t){var cn;if(!((cn=xr.current)!==null&&cn!==void 0&&cn.customizedTrigger)){var dn=$t.target;dn.shadowRoot&&$t.composed&&(dn=$t.composedPath()[0]||dn),xr.current.open&&kt().filter(function(Rn){return Rn}).every(function(Rn){return!Rn.contains(dn)&&Rn!==dn})&&xr.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Zr),function(){return window.removeEventListener("mousedown",Zr)}},[])}var nn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Cn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Sn="".concat(nn," ").concat(Cn).split(/[\s\n]+/),tn="aria-",In="data-";function br(kt,Pt){return kt.indexOf(Pt)===0}function gn(kt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,zn;Pt===!1?zn={aria:!0,data:!0,attr:!0}:Pt===!0?zn={aria:!0}:zn=(0,ke.Z)({},Pt);var Bn={};return Object.keys(kt).forEach(function(xr){(zn.aria&&(xr==="role"||br(xr,tn))||zn.data&&br(xr,In)||zn.attr&&Sn.includes(xr))&&(Bn[xr]=kt[xr])}),Bn}var Ye=ee(48555),ve=ee(14075),he=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],be=void 0;function ge(kt,Pt){var zn=kt.prefixCls,Bn=kt.invalidate,xr=kt.item,Zr=kt.renderItem,$t=kt.responsive,cn=kt.responsiveDisabled,dn=kt.registerSize,Rn=kt.itemKey,yr=kt.className,Tr=kt.style,vr=kt.children,Pr=kt.display,ia=kt.order,Va=kt.component,ma=Va===void 0?"div":Va,Gr=(0,Se.Z)(kt,he),Ea=$t&&!Pr;function ja(mi){dn(Rn,mi)}Pe.useEffect(function(){return function(){ja(null)}},[]);var ai=Zr&&xr!==be?Zr(xr):vr,Ra;Bn||(Ra={opacity:Ea?0:1,height:Ea?0:be,overflowY:Ea?"hidden":be,order:$t?ia:be,pointerEvents:Ea?"none":be,position:Ea?"absolute":be});var da={};Ea&&(da["aria-hidden"]=!0);var ci=Pe.createElement(ma,(0,Me.Z)({className:de()(!Bn&&zn,yr),style:(0,ke.Z)((0,ke.Z)({},Ra),Tr)},da,Gr,{ref:Pt}),ai);return $t&&(ci=Pe.createElement(Ye.Z,{onResize:function(io){var po=io.offsetWidth;ja(po)},disabled:cn},ci)),ci}var se=Pe.forwardRef(ge);se.displayName="Item";var je=se,xt=ee(77527),En=ee(73935),un=ee(96523);function Pn(kt){if(typeof MessageChannel=="undefined")(0,un.Z)(kt);else{var Pt=new MessageChannel;Pt.port1.onmessage=function(){return kt()},Pt.port2.postMessage(void 0)}}function Xn(){var kt=Pe.useRef(null),Pt=function(Bn){kt.current||(kt.current=[],Pn(function(){(0,En.unstable_batchedUpdates)(function(){kt.current.forEach(function(xr){xr()}),kt.current=null})})),kt.current.push(Bn)};return Pt}function _n(kt,Pt){var zn=Pe.useState(Pt),Bn=(0,ce.Z)(zn,2),xr=Bn[0],Zr=Bn[1],$t=(0,xt.Z)(function(cn){kt(function(){Zr(cn)})});return[xr,$t]}var Vt=Pe.createContext(null),yn=["component"],Kn=["className"],On=["className"],Qt=function(Pt,zn){var Bn=Pe.useContext(Vt);if(!Bn){var xr=Pt.component,Zr=xr===void 0?"div":xr,$t=(0,Se.Z)(Pt,yn);return Pe.createElement(Zr,(0,Me.Z)({},$t,{ref:zn}))}var cn=Bn.className,dn=(0,Se.Z)(Bn,Kn),Rn=Pt.className,yr=(0,Se.Z)(Pt,On);return Pe.createElement(Vt.Provider,{value:null},Pe.createElement(je,(0,Me.Z)({ref:zn,className:de()(cn,Rn)},dn,yr)))},Dr=Pe.forwardRef(Qt);Dr.displayName="RawItem";var jt=Dr,rn=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ir="responsive",ur="invalidate";function Rr(kt){return"+ ".concat(kt.length," ...")}function aa(kt,Pt){var zn=kt.prefixCls,Bn=zn===void 0?"rc-overflow":zn,xr=kt.data,Zr=xr===void 0?[]:xr,$t=kt.renderItem,cn=kt.renderRawItem,dn=kt.itemKey,Rn=kt.itemWidth,yr=Rn===void 0?10:Rn,Tr=kt.ssr,vr=kt.style,Pr=kt.className,ia=kt.maxCount,Va=kt.renderRest,ma=kt.renderRawRest,Gr=kt.suffix,Ea=kt.component,ja=Ea===void 0?"div":Ea,ai=kt.itemComponent,Ra=kt.onVisibleChange,da=(0,Se.Z)(kt,rn),ci=Tr==="full",mi=Xn(),io=_n(mi,null),po=(0,ce.Z)(io,2),Ao=po[0],uo=po[1],ho=Ao||0,ji=_n(mi,new Map),wo=(0,ce.Z)(ji,2),Zi=wo[0],gi=wo[1],mo=_n(mi,0),_o=(0,ce.Z)(mo,2),Wi=_o[0],al=_o[1],fl=_n(mi,0),hl=(0,ce.Z)(fl,2),qo=hl[0],Mo=hl[1],Wl=_n(mi,0),Vo=(0,ce.Z)(Wl,2),yo=Vo[0],sl=Vo[1],Vl=(0,Pe.useState)(null),pl=(0,ce.Z)(Vl,2),Dl=pl[0],Lo=pl[1],jl=(0,Pe.useState)(null),ls=(0,ce.Z)(jl,2),Ql=ls[0],Al=ls[1],Tl=Pe.useMemo(function(){return Ql===null&&ci?Number.MAX_SAFE_INTEGER:Ql||0},[Ql,Ao]),$l=(0,Pe.useState)(!1),Rl=(0,ce.Z)($l,2),Il=Rl[0],ss=Rl[1],us="".concat(Bn,"-item"),ms=Math.max(Wi,qo),ts=ia===Ir,ns=Zr.length&&ts,Go=ia===ur,il=ns||typeof ia=="number"&&Zr.length>ia,_l=(0,Pe.useMemo)(function(){var _t=Zr;return ns?Ao===null&&ci?_t=Zr:_t=Zr.slice(0,Math.min(Zr.length,ho/yr)):typeof ia=="number"&&(_t=Zr.slice(0,ia)),_t},[Zr,yr,Ao,ia,ns]),Xl=(0,Pe.useMemo)(function(){return ns?Zr.slice(Tl+1):Zr.slice(_l.length)},[Zr,_l,ns,Tl]),hs=(0,Pe.useCallback)(function(_t,Wt){var Wn;return typeof dn=="function"?dn(_t):(Wn=dn&&(_t==null?void 0:_t[dn]))!==null&&Wn!==void 0?Wn:Wt},[dn]),xs=(0,Pe.useCallback)($t||function(_t){return _t},[$t]);function Ms(_t,Wt,Wn){Ql===_t&&(Wt===void 0||Wt===Dl)||(Al(_t),Wn||(ss(_t<Zr.length-1),Ra==null||Ra(_t)),Wt!==void 0&&Lo(Wt))}function zs(_t,Wt){uo(Wt.clientWidth)}function Ws(_t,Wt){gi(function(Wn){var xn=new Map(Wn);return Wt===null?xn.delete(_t):xn.set(_t,Wt),xn})}function Bs(_t,Wt){Mo(Wt),al(qo)}function Xs(_t,Wt){sl(Wt)}function Ul(_t){return Zi.get(hs(_l[_t],_t))}(0,ve.Z)(function(){if(ho&&typeof ms=="number"&&_l){var _t=yo,Wt=_l.length,Wn=Wt-1;if(!Wt){Ms(0,null);return}for(var xn=0;xn<Wt;xn+=1){var Ln=Ul(xn);if(ci&&(Ln=Ln||0),Ln===void 0){Ms(xn-1,void 0,!0);break}if(_t+=Ln,Wn===0&&_t<=ho||xn===Wn-1&&_t+Ul(Wn)<=ho){Ms(Wn,null);break}else if(_t+ms>ho){Ms(xn-1,_t-Ln-yo+qo);break}}Gr&&Ul(0)+yo>ho&&Lo(null)}},[ho,Zi,qo,yo,hs,_l]);var Le=Il&&!!Xl.length,qe={};Dl!==null&&ns&&(qe={position:"absolute",left:Dl,top:0});var it={prefixCls:us,responsive:ns,component:ai,invalidate:Go},Ce=cn?function(_t,Wt){var Wn=hs(_t,Wt);return Pe.createElement(Vt.Provider,{key:Wn,value:(0,ke.Z)((0,ke.Z)({},it),{},{order:Wt,item:_t,itemKey:Wn,registerSize:Ws,display:Wt<=Tl})},cn(_t,Wt))}:function(_t,Wt){var Wn=hs(_t,Wt);return Pe.createElement(je,(0,Me.Z)({},it,{order:Wt,key:Wn,item:_t,renderItem:xs,itemKey:Wn,registerSize:Ws,display:Wt<=Tl}))},Ne,St={order:Le?Tl:Number.MAX_SAFE_INTEGER,className:"".concat(us,"-rest"),registerSize:Bs,display:Le};if(ma)ma&&(Ne=Pe.createElement(Vt.Provider,{value:(0,ke.Z)((0,ke.Z)({},it),St)},ma(Xl)));else{var bt=Va||Rr;Ne=Pe.createElement(je,(0,Me.Z)({},it,St),typeof bt=="function"?bt(Xl):bt)}var Jt=Pe.createElement(ja,(0,Me.Z)({className:de()(!Go&&Bn,Pr),style:vr,ref:Pt},da),_l.map(Ce),il?Ne:null,Gr&&Pe.createElement(je,(0,Me.Z)({},it,{responsive:ts,responsiveDisabled:!ns,order:Tl,className:"".concat(us,"-suffix"),registerSize:Xs,display:!0,style:qe}),Gr));return ts&&(Jt=Pe.createElement(Ye.Z,{onResize:zs,disabled:!ns},Jt)),Jt}var qn=Pe.forwardRef(aa);qn.displayName="Overflow",qn.Item=jt,qn.RESPONSIVE=Ir,qn.INVALIDATE=ur;var Pa=qn,Fa=Pa,_a=function(Pt,zn){var Bn,xr,Zr=Pt.prefixCls,$t=Pt.id,cn=Pt.inputElement,dn=Pt.disabled,Rn=Pt.tabIndex,yr=Pt.autoFocus,Tr=Pt.autoComplete,vr=Pt.editable,Pr=Pt.activeDescendantId,ia=Pt.value,Va=Pt.maxLength,ma=Pt.onKeyDown,Gr=Pt.onMouseDown,Ea=Pt.onChange,ja=Pt.onPaste,ai=Pt.onCompositionStart,Ra=Pt.onCompositionEnd,da=Pt.open,ci=Pt.attrs,mi=cn||Pe.createElement("input",null),io=mi,po=io.ref,Ao=io.props,uo=Ao.onKeyDown,ho=Ao.onChange,ji=Ao.onMouseDown,wo=Ao.onCompositionStart,Zi=Ao.onCompositionEnd,gi=Ao.style;return"maxLength"in mi.props,mi=Pe.cloneElement(mi,(0,ke.Z)((0,ke.Z)((0,ke.Z)({type:"search"},Ao),{},{id:$t,ref:rt(zn,po),disabled:dn,tabIndex:Rn,autoComplete:Tr||"off",autoFocus:yr,className:de()("".concat(Zr,"-selection-search-input"),(Bn=mi)===null||Bn===void 0||(xr=Bn.props)===null||xr===void 0?void 0:xr.className),role:"combobox","aria-label":"Search","aria-expanded":da||!1,"aria-haspopup":"listbox","aria-owns":"".concat($t,"_list"),"aria-autocomplete":"list","aria-controls":"".concat($t,"_list"),"aria-activedescendant":da?Pr:void 0},ci),{},{value:vr?ia:"",maxLength:Va,readOnly:!vr,unselectable:vr?null:"on",style:(0,ke.Z)((0,ke.Z)({},gi),{},{opacity:vr?null:0}),onKeyDown:function(_o){ma(_o),uo&&uo(_o)},onMouseDown:function(_o){Gr(_o),ji&&ji(_o)},onChange:function(_o){Ea(_o),ho&&ho(_o)},onCompositionStart:function(_o){ai(_o),wo&&wo(_o)},onCompositionEnd:function(_o){Ra(_o),Zi&&Zi(_o)},onPaste:ja})),mi},Xr=Pe.forwardRef(_a);Xr.displayName="Input";var Da=Xr;function Mi(kt){return Array.isArray(kt)?kt:kt!==void 0?[kt]:[]}var Si=typeof window!="undefined"&&window.document&&window.document.documentElement,zi=Si;function fi(kt){return kt!=null}function Tn(kt){return!kt&&kt!==0}function bn(kt){return["string","number"].includes((0,me.Z)(kt))}function ir(kt){var Pt=void 0;return kt&&(bn(kt.title)?Pt=kt.title.toString():bn(kt.label)&&(Pt=kt.label.toString())),Pt}function Cr(kt,Pt){zi?Pe.useLayoutEffect(kt,Pt):Pe.useEffect(kt,Pt)}function Or(kt){var Pt;return(Pt=kt.key)!==null&&Pt!==void 0?Pt:kt.value}var Lr=function(Pt){Pt.preventDefault(),Pt.stopPropagation()},sa=function(Pt){var zn=Pt.id,Bn=Pt.prefixCls,xr=Pt.values,Zr=Pt.open,$t=Pt.searchValue,cn=Pt.autoClearSearchValue,dn=Pt.inputRef,Rn=Pt.placeholder,yr=Pt.disabled,Tr=Pt.mode,vr=Pt.showSearch,Pr=Pt.autoFocus,ia=Pt.autoComplete,Va=Pt.activeDescendantId,ma=Pt.tabIndex,Gr=Pt.removeIcon,Ea=Pt.maxTagCount,ja=Pt.maxTagTextLength,ai=Pt.maxTagPlaceholder,Ra=ai===void 0?function(Lo){return"+ ".concat(Lo.length," ...")}:ai,da=Pt.tagRender,ci=Pt.onToggleOpen,mi=Pt.onRemove,io=Pt.onInputChange,po=Pt.onInputPaste,Ao=Pt.onInputKeyDown,uo=Pt.onInputMouseDown,ho=Pt.onInputCompositionStart,ji=Pt.onInputCompositionEnd,wo=Pe.useRef(null),Zi=(0,Pe.useState)(0),gi=(0,ce.Z)(Zi,2),mo=gi[0],_o=gi[1],Wi=(0,Pe.useState)(!1),al=(0,ce.Z)(Wi,2),fl=al[0],hl=al[1],qo="".concat(Bn,"-selection"),Mo=Zr||Tr==="multiple"&&cn===!1||Tr==="tags"?$t:"",Wl=Tr==="tags"||Tr==="multiple"&&cn===!1||vr&&(Zr||fl);Cr(function(){_o(wo.current.scrollWidth)},[Mo]);function Vo(Lo,jl,ls,Ql,Al){return Pe.createElement("span",{className:de()("".concat(qo,"-item"),(0,we.Z)({},"".concat(qo,"-item-disabled"),ls)),title:ir(Lo)},Pe.createElement("span",{className:"".concat(qo,"-item-content")},jl),Ql&&Pe.createElement(ct,{className:"".concat(qo,"-item-remove"),onMouseDown:Lr,onClick:Al,customizeIcon:Gr},"\xD7"))}function yo(Lo,jl,ls,Ql,Al){var Tl=function(Rl){Lr(Rl),ci(!Zr)};return Pe.createElement("span",{onMouseDown:Tl},da({label:jl,value:Lo,disabled:ls,closable:Ql,onClose:Al}))}function sl(Lo){var jl=Lo.disabled,ls=Lo.label,Ql=Lo.value,Al=!yr&&!jl,Tl=ls;if(typeof ja=="number"&&(typeof ls=="string"||typeof ls=="number")){var $l=String(Tl);$l.length>ja&&(Tl="".concat($l.slice(0,ja),"..."))}var Rl=function(ss){ss&&ss.stopPropagation(),mi(Lo)};return typeof da=="function"?yo(Ql,Tl,jl,Al,Rl):Vo(Lo,Tl,jl,Al,Rl)}function Vl(Lo){var jl=typeof Ra=="function"?Ra(Lo):Ra;return Vo({title:jl},jl,!1)}var pl=Pe.createElement("div",{className:"".concat(qo,"-search"),style:{width:mo},onFocus:function(){hl(!0)},onBlur:function(){hl(!1)}},Pe.createElement(Da,{ref:dn,open:Zr,prefixCls:Bn,id:zn,inputElement:null,disabled:yr,autoFocus:Pr,autoComplete:ia,editable:Wl,activeDescendantId:Va,value:Mo,onKeyDown:Ao,onMouseDown:uo,onChange:io,onPaste:po,onCompositionStart:ho,onCompositionEnd:ji,tabIndex:ma,attrs:gn(Pt,!0)}),Pe.createElement("span",{ref:wo,className:"".concat(qo,"-search-mirror"),"aria-hidden":!0},Mo,"\xA0")),Dl=Pe.createElement(Fa,{prefixCls:"".concat(qo,"-overflow"),data:xr,renderItem:sl,renderRest:Vl,suffix:pl,itemKey:Or,maxCount:Ea});return Pe.createElement(Pe.Fragment,null,Dl,!xr.length&&!Mo&&Pe.createElement("span",{className:"".concat(qo,"-placeholder")},Rn))},pn=sa,At=function(Pt){var zn=Pt.inputElement,Bn=Pt.prefixCls,xr=Pt.id,Zr=Pt.inputRef,$t=Pt.disabled,cn=Pt.autoFocus,dn=Pt.autoComplete,Rn=Pt.activeDescendantId,yr=Pt.mode,Tr=Pt.open,vr=Pt.values,Pr=Pt.placeholder,ia=Pt.tabIndex,Va=Pt.showSearch,ma=Pt.searchValue,Gr=Pt.activeValue,Ea=Pt.maxLength,ja=Pt.onInputKeyDown,ai=Pt.onInputMouseDown,Ra=Pt.onInputChange,da=Pt.onInputPaste,ci=Pt.onInputCompositionStart,mi=Pt.onInputCompositionEnd,io=Pt.title,po=Pe.useState(!1),Ao=(0,ce.Z)(po,2),uo=Ao[0],ho=Ao[1],ji=yr==="combobox",wo=ji||Va,Zi=vr[0],gi=ma||"";ji&&Gr&&!uo&&(gi=Gr),Pe.useEffect(function(){ji&&ho(!1)},[ji,Gr]);var mo=yr!=="combobox"&&!Tr&&!Va?!1:!!gi,_o=io===void 0?ir(Zi):io,Wi=function(){if(Zi)return null;var fl=mo?{visibility:"hidden"}:void 0;return Pe.createElement("span",{className:"".concat(Bn,"-selection-placeholder"),style:fl},Pr)};return Pe.createElement(Pe.Fragment,null,Pe.createElement("span",{className:"".concat(Bn,"-selection-search")},Pe.createElement(Da,{ref:Zr,prefixCls:Bn,id:xr,open:Tr,inputElement:zn,disabled:$t,autoFocus:cn,autoComplete:dn,editable:wo,activeDescendantId:Rn,value:gi,onKeyDown:ja,onMouseDown:ai,onChange:function(fl){ho(!0),Ra(fl)},onPaste:da,onCompositionStart:ci,onCompositionEnd:mi,tabIndex:ia,attrs:gn(Pt,!0),maxLength:ji?Ea:void 0})),!ji&&Zi?Pe.createElement("span",{className:"".concat(Bn,"-selection-item"),title:_o,style:mo?{visibility:"hidden"}:void 0},Zi.label):null,Wi())},Zt=At;function on(kt){return![Be.ESC,Be.SHIFT,Be.BACKSPACE,Be.TAB,Be.WIN_KEY,Be.ALT,Be.META,Be.WIN_KEY_RIGHT,Be.CTRL,Be.SEMICOLON,Be.EQUALS,Be.CAPS_LOCK,Be.CONTEXT_MENU,Be.F1,Be.F2,Be.F3,Be.F4,Be.F5,Be.F6,Be.F7,Be.F8,Be.F9,Be.F10,Be.F11,Be.F12].includes(kt)}var Yn=function(Pt,zn){var Bn=(0,Pe.useRef)(null),xr=(0,Pe.useRef)(!1),Zr=Pt.prefixCls,$t=Pt.open,cn=Pt.mode,dn=Pt.showSearch,Rn=Pt.tokenWithEnter,yr=Pt.autoClearSearchValue,Tr=Pt.onSearch,vr=Pt.onSearchSubmit,Pr=Pt.onToggleOpen,ia=Pt.onInputKeyDown,Va=Pt.domRef;Pe.useImperativeHandle(zn,function(){return{focus:function(){Bn.current.focus()},blur:function(){Bn.current.blur()}}});var ma=Nt(0),Gr=(0,ce.Z)(ma,2),Ea=Gr[0],ja=Gr[1],ai=function(gi){var mo=gi.which;(mo===Be.UP||mo===Be.DOWN)&&gi.preventDefault(),ia&&ia(gi),mo===Be.ENTER&&cn==="tags"&&!xr.current&&!$t&&(vr==null||vr(gi.target.value)),on(mo)&&Pr(!0)},Ra=function(){ja(!0)},da=(0,Pe.useRef)(null),ci=function(gi){Tr(gi,!0,xr.current)!==!1&&Pr(!0)},mi=function(){xr.current=!0},io=function(gi){xr.current=!1,cn!=="combobox"&&ci(gi.target.value)},po=function(gi){var mo=gi.target.value;if(Rn&&da.current&&/[\r\n]/.test(da.current)){var _o=da.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");mo=mo.replace(_o,da.current)}da.current=null,ci(mo)},Ao=function(gi){var mo=gi.clipboardData,_o=mo.getData("text");da.current=_o},uo=function(gi){var mo=gi.target;if(mo!==Bn.current){var _o=document.body.style.msTouchAction!==void 0;_o?setTimeout(function(){Bn.current.focus()}):Bn.current.focus()}},ho=function(gi){var mo=Ea();gi.target!==Bn.current&&!mo&&cn!=="combobox"&&gi.preventDefault(),(cn!=="combobox"&&(!dn||!mo)||!$t)&&($t&&yr!==!1&&Tr("",!0,!1),Pr())},ji={inputRef:Bn,onInputKeyDown:ai,onInputMouseDown:Ra,onInputChange:po,onInputPaste:Ao,onInputCompositionStart:mi,onInputCompositionEnd:io},wo=cn==="multiple"||cn==="tags"?Pe.createElement(pn,(0,Me.Z)({},Pt,ji)):Pe.createElement(Zt,(0,Me.Z)({},Pt,ji));return Pe.createElement("div",{ref:Va,className:"".concat(Zr,"-selector"),onClick:uo,onMouseDown:ho},wo)},Dt=Pe.forwardRef(Yn);Dt.displayName="Selector";var fn=Dt,Vn=ee(62709),kn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],rr=function(Pt){var zn=Pt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:zn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:zn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:zn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:zn,adjustY:1},htmlRegion:"scroll"}}},fr=function(Pt,zn){var Bn=Pt.prefixCls,xr=Pt.disabled,Zr=Pt.visible,$t=Pt.children,cn=Pt.popupElement,dn=Pt.animation,Rn=Pt.transitionName,yr=Pt.dropdownStyle,Tr=Pt.dropdownClassName,vr=Pt.direction,Pr=vr===void 0?"ltr":vr,ia=Pt.placement,Va=Pt.builtinPlacements,ma=Pt.dropdownMatchSelectWidth,Gr=Pt.dropdownRender,Ea=Pt.dropdownAlign,ja=Pt.getPopupContainer,ai=Pt.empty,Ra=Pt.getTriggerDOMNode,da=Pt.onPopupVisibleChange,ci=Pt.onPopupMouseEnter,mi=(0,Se.Z)(Pt,kn),io="".concat(Bn,"-dropdown"),po=cn;Gr&&(po=Gr(cn));var Ao=Pe.useMemo(function(){return Va||rr(ma)},[Va,ma]),uo=dn?"".concat(io,"-").concat(dn):Rn,ho=typeof ma=="number",ji=Pe.useMemo(function(){return ho?null:ma===!1?"minWidth":"width"},[ma,ho]),wo=yr;ho&&(wo=(0,ke.Z)((0,ke.Z)({},wo),{},{width:ma}));var Zi=Pe.useRef(null);return Pe.useImperativeHandle(zn,function(){return{getPopupElement:function(){return Zi.current}}}),Pe.createElement(Vn.Z,(0,Me.Z)({},mi,{showAction:da?["click"]:[],hideAction:da?["click"]:[],popupPlacement:ia||(Pr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ao,prefixCls:io,popupTransitionName:uo,popup:Pe.createElement("div",{ref:Zi,onMouseEnter:ci},po),stretch:ji,popupAlign:Ea,popupVisible:Zr,getPopupContainer:ja,popupClassName:de()(Tr,(0,we.Z)({},"".concat(io,"-empty"),ai)),popupStyle:wo,getTriggerDOMNode:Ra,onPopupVisibleChange:da}),$t)},mn=Pe.forwardRef(fr);mn.displayName="SelectTrigger";var Ta=mn,ha=ee(84506);function ya(kt,Pt){var zn=kt.key,Bn;return"value"in kt&&(Bn=kt.value),zn!=null?zn:Bn!==void 0?Bn:"rc-index-key-".concat(Pt)}function Sa(kt,Pt){var zn=kt||{},Bn=zn.label,xr=zn.value,Zr=zn.options,$t=zn.groupLabel,cn=Bn||(Pt?"children":"label");return{label:cn,value:xr||"value",options:Zr||"options",groupLabel:$t||cn}}function Ma(kt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zn=Pt.fieldNames,Bn=Pt.childrenAsData,xr=[],Zr=Sa(zn,!1),$t=Zr.label,cn=Zr.value,dn=Zr.options,Rn=Zr.groupLabel;function yr(Tr,vr){Tr.forEach(function(Pr){if(vr||!(dn in Pr)){var ia=Pr[cn];xr.push({key:ya(Pr,xr.length),groupOption:vr,data:Pr,label:Pr[$t],value:ia})}else{var Va=Pr[Rn];Va===void 0&&Bn&&(Va=Pr.label),xr.push({key:ya(Pr,xr.length),group:!0,data:Pr,label:Va}),yr(Pr[dn],!0)}})}return yr(kt,!1),xr}function pa(kt){var Pt=(0,ke.Z)({},kt);return"props"in Pt||Object.defineProperty(Pt,"props",{get:function(){return ht(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Pt}}),Pt}function Er(kt,Pt){if(!Pt||!Pt.length)return null;var zn=!1;function Bn(Zr,$t){var cn=(0,ha.Z)($t),dn=cn[0],Rn=cn.slice(1);if(!dn)return[Zr];var yr=Zr.split(dn);return zn=zn||yr.length>1,yr.reduce(function(Tr,vr){return[].concat((0,et.Z)(Tr),(0,et.Z)(Bn(vr,Rn)))},[]).filter(function(Tr){return Tr})}var xr=Bn(kt,Pt);return zn?xr:null}var qr=["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","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Hi=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Fi(kt){return kt==="tags"||kt==="multiple"}var $a=Pe.forwardRef(function(kt,Pt){var zn,Bn,xr=kt.id,Zr=kt.prefixCls,$t=kt.className,cn=kt.showSearch,dn=kt.tagRender,Rn=kt.direction,yr=kt.omitDomProps,Tr=kt.displayValues,vr=kt.onDisplayValuesChange,Pr=kt.emptyOptions,ia=kt.notFoundContent,Va=ia===void 0?"Not Found":ia,ma=kt.onClear,Gr=kt.mode,Ea=kt.disabled,ja=kt.loading,ai=kt.getInputElement,Ra=kt.getRawInputElement,da=kt.open,ci=kt.defaultOpen,mi=kt.onDropdownVisibleChange,io=kt.activeValue,po=kt.onActiveValueChange,Ao=kt.activeDescendantId,uo=kt.searchValue,ho=kt.autoClearSearchValue,ji=kt.onSearch,wo=kt.onSearchSplit,Zi=kt.tokenSeparators,gi=kt.allowClear,mo=kt.suffixIcon,_o=kt.clearIcon,Wi=kt.OptionList,al=kt.animation,fl=kt.transitionName,hl=kt.dropdownStyle,qo=kt.dropdownClassName,Mo=kt.dropdownMatchSelectWidth,Wl=kt.dropdownRender,Vo=kt.dropdownAlign,yo=kt.placement,sl=kt.builtinPlacements,Vl=kt.getPopupContainer,pl=kt.showAction,Dl=pl===void 0?[]:pl,Lo=kt.onFocus,jl=kt.onBlur,ls=kt.onKeyUp,Ql=kt.onKeyDown,Al=kt.onMouseDown,Tl=(0,Se.Z)(kt,qr),$l=Fi(Gr),Rl=(cn!==void 0?cn:$l)||Gr==="combobox",Il=(0,ke.Z)({},Tl);Hi.forEach(function(ga){delete Il[ga]}),yr==null||yr.forEach(function(ga){delete Il[ga]});var ss=Pe.useState(!1),us=(0,ce.Z)(ss,2),ms=us[0],ts=us[1];Pe.useEffect(function(){ts(yt())},[]);var ns=Pe.useRef(null),Go=Pe.useRef(null),il=Pe.useRef(null),_l=Pe.useRef(null),Xl=Pe.useRef(null),hs=qt(),xs=(0,ce.Z)(hs,3),Ms=xs[0],zs=xs[1],Ws=xs[2];Pe.useImperativeHandle(Pt,function(){var ga,fa;return{focus:(ga=_l.current)===null||ga===void 0?void 0:ga.focus,blur:(fa=_l.current)===null||fa===void 0?void 0:fa.blur,scrollTo:function(Aa){var ca;return(ca=Xl.current)===null||ca===void 0?void 0:ca.scrollTo(Aa)}}});var Bs=Pe.useMemo(function(){var ga;if(Gr!=="combobox")return uo;var fa=(ga=Tr[0])===null||ga===void 0?void 0:ga.value;return typeof fa=="string"||typeof fa=="number"?String(fa):""},[uo,Gr,Tr]),Xs=Gr==="combobox"&&typeof ai=="function"&&ai()||null,Ul=typeof Ra=="function"&&Ra(),Le=Tt(Go,Ul==null||(zn=Ul.props)===null||zn===void 0?void 0:zn.ref),qe=Pe.useState(!1),it=(0,ce.Z)(qe,2),Ce=it[0],Ne=it[1];pt(function(){Ne(!0)},[]);var St=wt(!1,{defaultValue:ci,value:da}),bt=(0,ce.Z)(St,2),Jt=bt[0],_t=bt[1],Wt=Ce?Jt:!1,Wn=!Va&&Pr;(Ea||Wn&&Wt&&Gr==="combobox")&&(Wt=!1);var xn=Wn?!1:Wt,Ln=Pe.useCallback(function(ga){var fa=ga!==void 0?ga:!Wt;Ea||(_t(fa),Wt!==fa&&(mi==null||mi(fa)))},[Ea,Wt,_t,mi]),Mr=Pe.useMemo(function(){return(Zi||[]).some(function(ga){return[`
`,`\r
`].includes(ga)})},[Zi]),pr=function(fa,La,Aa){var ca=!0,Xa=fa;po==null||po(null);var ra=Aa?null:Er(fa,Zi);return Gr!=="combobox"&&ra&&(Xa="",wo==null||wo(ra),Ln(!1),ca=!1),ji&&Bs!==Xa&&ji(Xa,{source:La?"typing":"effect"}),ca},or=function(fa){!fa||!fa.trim()||ji(fa,{source:"submit"})};Pe.useEffect(function(){!Wt&&!$l&&Gr!=="combobox"&&pr("",!1,!1)},[Wt]),Pe.useEffect(function(){Jt&&Ea&&_t(!1),Ea&&zs(!1)},[Ea]);var sr=Nt(),Br=(0,ce.Z)(sr,2),Vr=Br[0],na=Br[1],ka=function(fa){var La=Vr(),Aa=fa.which;if(Aa===Be.ENTER&&(Gr!=="combobox"&&fa.preventDefault(),Wt||Ln(!0)),na(!!Bs),Aa===Be.BACKSPACE&&!La&&$l&&!Bs&&Tr.length){for(var ca=(0,et.Z)(Tr),Xa=null,ra=ca.length-1;ra>=0;ra-=1){var Ya=ca[ra];if(!Ya.disabled){ca.splice(ra,1),Xa=Ya;break}}Xa&&vr(ca,{type:"remove",values:[Xa]})}for(var Za=arguments.length,Ua=new Array(Za>1?Za-1:0),Oa=1;Oa<Za;Oa++)Ua[Oa-1]=arguments[Oa];if(Wt&&Xl.current){var ii;(ii=Xl.current).onKeyDown.apply(ii,[fa].concat(Ua))}Ql==null||Ql.apply(void 0,[fa].concat(Ua))},_e=function(fa){for(var La=arguments.length,Aa=new Array(La>1?La-1:0),ca=1;ca<La;ca++)Aa[ca-1]=arguments[ca];if(Wt&&Xl.current){var Xa;(Xa=Xl.current).onKeyUp.apply(Xa,[fa].concat(Aa))}ls==null||ls.apply(void 0,[fa].concat(Aa))},gt=function(fa){var La=Tr.filter(function(Aa){return Aa!==fa});vr(La,{type:"remove",values:[fa]})},Ht=Pe.useRef(!1),Ue=function(){zs(!0),Ea||(Lo&&!Ht.current&&Lo.apply(void 0,arguments),Dl.includes("focus")&&Ln(!0)),Ht.current=!0},Ut=function(){zs(!1,function(){Ht.current=!1,Ln(!1)}),!Ea&&(Bs&&(Gr==="tags"?ji(Bs,{source:"submit"}):Gr==="multiple"&&ji("",{source:"blur"})),jl&&jl.apply(void 0,arguments))},hn=[];Pe.useEffect(function(){return function(){hn.forEach(function(ga){return clearTimeout(ga)}),hn.splice(0,hn.length)}},[]);var Fn=function(fa){var La,Aa=fa.target,ca=(La=il.current)===null||La===void 0?void 0:La.getPopupElement();if(ca&&ca.contains(Aa)){var Xa=setTimeout(function(){var Ua=hn.indexOf(Xa);if(Ua!==-1&&hn.splice(Ua,1),Ws(),!ms&&!ca.contains(document.activeElement)){var Oa;(Oa=_l.current)===null||Oa===void 0||Oa.focus()}});hn.push(Xa)}for(var ra=arguments.length,Ya=new Array(ra>1?ra-1:0),Za=1;Za<ra;Za++)Ya[Za-1]=arguments[Za];Al==null||Al.apply(void 0,[fa].concat(Ya))},Lt=Pe.useState({}),Gt=(0,ce.Z)(Lt,2),ln=Gt[1];function jn(){ln({})}var er;Ul&&(er=function(fa){Ln(fa)}),Kt(function(){var ga;return[ns.current,(ga=il.current)===null||ga===void 0?void 0:ga.getPopupElement()]},xn,Ln,!!Ul);var gr=Pe.useMemo(function(){return(0,ke.Z)((0,ke.Z)({},kt),{},{notFoundContent:Va,open:Wt,triggerOpen:xn,id:xr,showSearch:Rl,multiple:$l,toggleOpen:Ln})},[kt,Va,xn,Wt,xr,Rl,$l,Ln]),lr=!!mo||ja,Nr;lr&&(Nr=Pe.createElement(ct,{className:de()("".concat(Zr,"-arrow"),(0,we.Z)({},"".concat(Zr,"-arrow-loading"),ja)),customizeIcon:mo,customizeIconProps:{loading:ja,searchValue:Bs,open:Wt,focused:Ms,showSearch:Rl}}));var Wr=function(){var fa;ma==null||ma(),(fa=_l.current)===null||fa===void 0||fa.focus(),vr([],{type:"clear",values:Tr}),pr("",!1,!1)},ea=Ie(Zr,Wr,Tr,gi,_o,Ea,Bs,Gr),Kr=ea.allowClear,Ba=ea.clearIcon,ua=Pe.createElement(Wi,{ref:Xl}),Na=de()(Zr,$t,(Bn={},(0,we.Z)(Bn,"".concat(Zr,"-focused"),Ms),(0,we.Z)(Bn,"".concat(Zr,"-multiple"),$l),(0,we.Z)(Bn,"".concat(Zr,"-single"),!$l),(0,we.Z)(Bn,"".concat(Zr,"-allow-clear"),gi),(0,we.Z)(Bn,"".concat(Zr,"-show-arrow"),lr),(0,we.Z)(Bn,"".concat(Zr,"-disabled"),Ea),(0,we.Z)(Bn,"".concat(Zr,"-loading"),ja),(0,we.Z)(Bn,"".concat(Zr,"-open"),Wt),(0,we.Z)(Bn,"".concat(Zr,"-customize-input"),Xs),(0,we.Z)(Bn,"".concat(Zr,"-show-search"),Rl),Bn)),Ga=Pe.createElement(Ta,{ref:il,disabled:Ea,prefixCls:Zr,visible:xn,popupElement:ua,animation:al,transitionName:fl,dropdownStyle:hl,dropdownClassName:qo,direction:Rn,dropdownMatchSelectWidth:Mo,dropdownRender:Wl,dropdownAlign:Vo,placement:yo,builtinPlacements:sl,getPopupContainer:Vl,empty:Pr,getTriggerDOMNode:function(){return Go.current},onPopupVisibleChange:er,onPopupMouseEnter:jn},Ul?Pe.cloneElement(Ul,{ref:Le}):Pe.createElement(fn,(0,Me.Z)({},kt,{domRef:Go,prefixCls:Zr,inputElement:Xs,ref:_l,id:xr,showSearch:Rl,autoClearSearchValue:ho,mode:Gr,activeDescendantId:Ao,tagRender:dn,values:Tr,open:Wt,onToggleOpen:Ln,activeValue:io,searchValue:Bs,onSearch:pr,onSearchSubmit:or,onRemove:gt,tokenWithEnter:Mr}))),la;return Ul?la=Ga:la=Pe.createElement("div",(0,Me.Z)({className:Na},Il,{ref:ns,onMouseDown:Fn,onKeyDown:ka,onKeyUp:_e,onFocus:Ue,onBlur:Ut}),Ms&&!Wt&&Pe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Tr.map(function(ga){var fa=ga.label,La=ga.value;return["number","string"].includes((0,me.Z)(fa))?fa:La}).join(", "))),Ga,Nr,Kr&&Ba),Pe.createElement(Mt.Provider,{value:gr},la)}),ni=$a,no=function(kt,Pt){var zn=Pe.useRef({values:new Map,options:new Map}),Bn=Pe.useMemo(function(){var Zr=zn.current,$t=Zr.values,cn=Zr.options,dn=kt.map(function(Tr){if(Tr.label===void 0){var vr;return(0,ke.Z)((0,ke.Z)({},Tr),{},{label:(vr=$t.get(Tr.value))===null||vr===void 0?void 0:vr.label})}return Tr}),Rn=new Map,yr=new Map;return dn.forEach(function(Tr){Rn.set(Tr.value,Tr),yr.set(Tr.value,Pt.get(Tr.value)||cn.get(Tr.value))}),zn.current.values=Rn,zn.current.options=yr,dn},[kt,Pt]),xr=Pe.useCallback(function(Zr){return Pt.get(Zr)||zn.current.options.get(Zr)},[Pt]);return[Bn,xr]};function oi(kt,Pt){return Mi(kt).join("").toUpperCase().includes(Pt)}var so=function(kt,Pt,zn,Bn,xr){return Pe.useMemo(function(){if(!zn||Bn===!1)return kt;var Zr=Pt.options,$t=Pt.label,cn=Pt.value,dn=[],Rn=typeof Bn=="function",yr=zn.toUpperCase(),Tr=Rn?Bn:function(Pr,ia){return xr?oi(ia[xr],yr):ia[Zr]?oi(ia[$t!=="children"?$t:"label"],yr):oi(ia[cn],yr)},vr=Rn?function(Pr){return pa(Pr)}:function(Pr){return Pr};return kt.forEach(function(Pr){if(Pr[Zr]){var ia=Tr(zn,vr(Pr));if(ia)dn.push(Pr);else{var Va=Pr[Zr].filter(function(ma){return Tr(zn,vr(ma))});Va.length&&dn.push((0,ke.Z)((0,ke.Z)({},Pr),{},(0,we.Z)({},Zr,Va)))}return}Tr(zn,vr(Pr))&&dn.push(Pr)}),dn},[kt,Bn,xr,zn,Pt])},ta=0,to=fe();function xo(){var kt;return to?(kt=ta,ta+=1):kt="TEST_OR_SSR",kt}function xl(kt){var Pt=Pe.useState(),zn=(0,ce.Z)(Pt,2),Bn=zn[0],xr=zn[1];return Pe.useEffect(function(){xr("rc_select_".concat(xo()))},[]),kt||Bn}function ll(kt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zn=[];return Pe.Children.forEach(kt,function(Bn){Bn==null&&!Pt.keepEmpty||(Array.isArray(Bn)?zn=zn.concat(ll(Bn)):(0,mt.isFragment)(Bn)&&Bn.props?zn=zn.concat(ll(Bn.props.children,Pt)):zn.push(Bn))}),zn}var Uo=["children","value"],co=["children"];function wl(kt){var Pt=kt,zn=Pt.key,Bn=Pt.props,xr=Bn.children,Zr=Bn.value,$t=(0,Se.Z)(Bn,Uo);return(0,ke.Z)({key:zn,value:Zr!==void 0?Zr:zn,children:xr},$t)}function Yo(kt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ll(kt).map(function(zn,Bn){if(!Pe.isValidElement(zn)||!zn.type)return null;var xr=zn,Zr=xr.type.isSelectOptGroup,$t=xr.key,cn=xr.props,dn=cn.children,Rn=(0,Se.Z)(cn,co);return Pt||!Zr?wl(zn):(0,ke.Z)((0,ke.Z)({key:"__RC_SELECT_GRP__".concat($t===null?Bn:$t,"__"),label:$t},Rn),{},{options:Yo(dn)})}).filter(function(zn){return zn})}function gl(kt,Pt,zn,Bn,xr){return Pe.useMemo(function(){var Zr=kt,$t=!kt;$t&&(Zr=Yo(Pt));var cn=new Map,dn=new Map,Rn=function(vr,Pr,ia){ia&&typeof ia=="string"&&vr.set(Pr[ia],Pr)};function yr(Tr){for(var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pr=0;Pr<Tr.length;Pr+=1){var ia=Tr[Pr];!ia[zn.options]||vr?(cn.set(ia[zn.value],ia),Rn(dn,ia,zn.label),Rn(dn,ia,Bn),Rn(dn,ia,xr)):yr(ia[zn.options],!0)}}return yr(Zr),{options:Zr,valueOptions:cn,labelOptions:dn}},[kt,Pt,zn,Bn,xr])}function zl(kt){var Pt=Pe.useRef();Pt.current=kt;var zn=Pe.useCallback(function(){return Pt.current.apply(Pt,arguments)},[]);return zn}var Sl=function(){return null};Sl.isSelectOptGroup=!0;var Cl=Sl,wi=function(){return null};wi.isSelectOption=!0;var ko=wi;function Pi(kt,Pt){var zn=(0,ke.Z)({},kt);return Array.isArray(Pt)&&Pt.forEach(function(Bn){delete zn[Bn]}),zn}var Ci=ee(73299),Zn=Pe.createContext(null),Mn=Zn;function dr(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Qr=["disabled","title","children","style","className"];function va(kt){return typeof kt=="string"||typeof kt=="number"}var pi=function(Pt,zn){var Bn=vn(),xr=Bn.prefixCls,Zr=Bn.id,$t=Bn.open,cn=Bn.multiple,dn=Bn.mode,Rn=Bn.searchValue,yr=Bn.toggleOpen,Tr=Bn.notFoundContent,vr=Bn.onPopupScroll,Pr=Pe.useContext(Mn),ia=Pr.flattenOptions,Va=Pr.onActiveValue,ma=Pr.defaultActiveFirstOption,Gr=Pr.onSelect,Ea=Pr.menuItemSelectedIcon,ja=Pr.rawValues,ai=Pr.fieldNames,Ra=Pr.virtual,da=Pr.direction,ci=Pr.listHeight,mi=Pr.listItemHeight,io="".concat(xr,"-item"),po=ze(function(){return ia},[$t,ia],function(Vo,yo){return yo[0]&&Vo[1]!==yo[1]}),Ao=Pe.useRef(null),uo=function(yo){yo.preventDefault()},ho=function(yo){Ao.current&&Ao.current.scrollTo(typeof yo=="number"?{index:yo}:yo)},ji=function(yo){for(var sl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Vl=po.length,pl=0;pl<Vl;pl+=1){var Dl=(yo+pl*sl+Vl)%Vl,Lo=po[Dl],jl=Lo.group,ls=Lo.data;if(!jl&&!ls.disabled)return Dl}return-1},wo=Pe.useState(function(){return ji(0)}),Zi=(0,ce.Z)(wo,2),gi=Zi[0],mo=Zi[1],_o=function(yo){var sl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;mo(yo);var Vl={source:sl?"keyboard":"mouse"},pl=po[yo];if(!pl){Va(null,-1,Vl);return}Va(pl.value,yo,Vl)};(0,Pe.useEffect)(function(){_o(ma!==!1?ji(0):-1)},[po.length,Rn]);var Wi=Pe.useCallback(function(Vo){return ja.has(Vo)&&dn!=="combobox"},[dn,(0,et.Z)(ja).toString(),ja.size]);(0,Pe.useEffect)(function(){var Vo=setTimeout(function(){if(!cn&&$t&&ja.size===1){var sl=Array.from(ja)[0],Vl=po.findIndex(function(pl){var Dl=pl.data;return Dl.value===sl});Vl!==-1&&(_o(Vl),ho(Vl))}});if($t){var yo;(yo=Ao.current)===null||yo===void 0||yo.scrollTo(void 0)}return function(){return clearTimeout(Vo)}},[$t,Rn,ia.length]);var al=function(yo){yo!==void 0&&Gr(yo,{selected:!ja.has(yo)}),cn||yr(!1)};if(Pe.useImperativeHandle(zn,function(){return{onKeyDown:function(yo){var sl=yo.which,Vl=yo.ctrlKey;switch(sl){case Be.N:case Be.P:case Be.UP:case Be.DOWN:{var pl=0;if(sl===Be.UP?pl=-1:sl===Be.DOWN?pl=1:dr()&&Vl&&(sl===Be.N?pl=1:sl===Be.P&&(pl=-1)),pl!==0){var Dl=ji(gi+pl,pl);ho(Dl),_o(Dl,!0)}break}case Be.ENTER:{var Lo=po[gi];Lo&&!Lo.data.disabled?al(Lo.value):al(void 0),$t&&yo.preventDefault();break}case Be.ESC:yr(!1),$t&&yo.stopPropagation()}},onKeyUp:function(){},scrollTo:function(yo){ho(yo)}}}),po.length===0)return Pe.createElement("div",{role:"listbox",id:"".concat(Zr,"_list"),className:"".concat(io,"-empty"),onMouseDown:uo},Tr);var fl=Object.keys(ai).map(function(Vo){return ai[Vo]}),hl=function(yo){return yo.label};function qo(Vo,yo){var sl=Vo.group;return{role:sl?"presentation":"option",id:"".concat(Zr,"_list_").concat(yo)}}var Mo=function(yo){var sl=po[yo];if(!sl)return null;var Vl=sl.data||{},pl=Vl.value,Dl=sl.group,Lo=gn(Vl,!0),jl=hl(sl);return sl?Pe.createElement("div",(0,Me.Z)({"aria-label":typeof jl=="string"&&!Dl?jl:null},Lo,{key:yo},qo(sl,yo),{"aria-selected":Wi(pl)}),pl):null},Wl={role:"listbox",id:"".concat(Zr,"_list")};return Pe.createElement(Pe.Fragment,null,Ra&&Pe.createElement("div",(0,Me.Z)({},Wl,{style:{height:0,width:0,overflow:"hidden"}}),Mo(gi-1),Mo(gi),Mo(gi+1)),Pe.createElement(Ci.Z,{itemKey:"key",ref:Ao,data:po,height:ci,itemHeight:mi,fullHeight:!1,onMouseDown:uo,onScroll:vr,virtual:Ra,direction:da,innerProps:Ra?null:Wl},function(Vo,yo){var sl,Vl=Vo.group,pl=Vo.groupOption,Dl=Vo.data,Lo=Vo.label,jl=Vo.value,ls=Dl.key;if(Vl){var Ql,Al=(Ql=Dl.title)!==null&&Ql!==void 0?Ql:va(Lo)?Lo.toString():void 0;return Pe.createElement("div",{className:de()(io,"".concat(io,"-group")),title:Al},Lo!==void 0?Lo:ls)}var Tl=Dl.disabled,$l=Dl.title,Rl=Dl.children,Il=Dl.style,ss=Dl.className,us=(0,Se.Z)(Dl,Qr),ms=Pi(us,fl),ts=Wi(jl),ns="".concat(io,"-option"),Go=de()(io,ns,ss,(sl={},(0,we.Z)(sl,"".concat(ns,"-grouped"),pl),(0,we.Z)(sl,"".concat(ns,"-active"),gi===yo&&!Tl),(0,we.Z)(sl,"".concat(ns,"-disabled"),Tl),(0,we.Z)(sl,"".concat(ns,"-selected"),ts),sl)),il=hl(Vo),_l=!Ea||typeof Ea=="function"||ts,Xl=typeof il=="number"?il:il||jl,hs=va(Xl)?Xl.toString():void 0;return $l!==void 0&&(hs=$l),Pe.createElement("div",(0,Me.Z)({},gn(ms),Ra?{}:qo(Vo,yo),{"aria-selected":ts,className:Go,title:hs,onMouseMove:function(){gi===yo||Tl||_o(yo)},onClick:function(){Tl||al(jl)},style:Il}),Pe.createElement("div",{className:"".concat(ns,"-content")},Xl),Pe.isValidElement(Ea)||ts,_l&&Pe.createElement(ct,{className:"".concat(io,"-option-state"),customizeIcon:Ea,customizeIconProps:{isSelected:ts}},ts?"\u2713":null))}))},Ai=Pe.forwardRef(pi);Ai.displayName="OptionList";var Vi=Ai;function ui(kt){var Pt=kt.mode,zn=kt.options,Bn=kt.children,xr=kt.backfill,Zr=kt.allowClear,$t=kt.placeholder,cn=kt.getInputElement,dn=kt.showSearch,Rn=kt.onSearch,yr=kt.defaultOpen,Tr=kt.autoFocus,vr=kt.labelInValue,Pr=kt.value,ia=kt.inputValue,Va=kt.optionLabelProp,ma=isMultiple(Pt),Gr=dn!==void 0?dn:ma||Pt==="combobox",Ea=zn||convertChildrenToData(Bn);if(warning(Pt!=="tags"||Ea.every(function(da){return!da.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Pt==="tags"||Pt==="combobox"){var ja=Ea.some(function(da){return da.options?da.options.some(function(ci){return typeof("value"in ci?ci.value:ci.key)=="number"}):typeof("value"in da?da.value:da.key)=="number"});warning(!ja,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Pt!=="combobox"||!Va,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Pt==="combobox"||!xr,"`backfill` only works with `combobox` mode."),warning(Pt==="combobox"||!cn,"`getInputElement` only work with `combobox` mode."),noteOnce(Pt!=="combobox"||!cn||!Zr||!$t,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Rn&&!Gr&&Pt!=="combobox"&&Pt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!yr||Tr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Pr!=null){var ai=toArray(Pr);warning(!vr||ai.every(function(da){return _typeof(da)==="object"&&("key"in da||"value"in da)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ma||Array.isArray(Pr),"`value` should be array when `mode` is `multiple` or `tags`")}if(Bn){var Ra=null;toNodeArray(Bn).some(function(da){if(!React.isValidElement(da)||!da.type)return!1;var ci=da,mi=ci.type;if(mi.isSelectOption)return!1;if(mi.isSelectOptGroup){var io=toNodeArray(da.props.children).every(function(po){return!React.isValidElement(po)||!da.type||po.type.isSelectOption?!0:(Ra=po.type,!1)});return!io}return Ra=mi,!0}),Ra&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ra.displayName||Ra.name||Ra,"`.")),warning(ia===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Di(kt,Pt){if(kt){var zn=function Bn(xr){for(var Zr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$t=0;$t<xr.length;$t++){var cn=xr[$t];if(cn[Pt==null?void 0:Pt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Zr&&Array.isArray(cn[Pt==null?void 0:Pt.options])&&Bn(cn[Pt==null?void 0:Pt.options],!0))break}};zn(kt)}}var Eo=null,Zo=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Qo=["inputValue"];function He(kt){return!kt||(0,me.Z)(kt)!=="object"}var nt=Pe.forwardRef(function(kt,Pt){var zn=kt.id,Bn=kt.mode,xr=kt.prefixCls,Zr=xr===void 0?"rc-select":xr,$t=kt.backfill,cn=kt.fieldNames,dn=kt.inputValue,Rn=kt.searchValue,yr=kt.onSearch,Tr=kt.autoClearSearchValue,vr=Tr===void 0?!0:Tr,Pr=kt.onSelect,ia=kt.onDeselect,Va=kt.dropdownMatchSelectWidth,ma=Va===void 0?!0:Va,Gr=kt.filterOption,Ea=kt.filterSort,ja=kt.optionFilterProp,ai=kt.optionLabelProp,Ra=kt.options,da=kt.children,ci=kt.defaultActiveFirstOption,mi=kt.menuItemSelectedIcon,io=kt.virtual,po=kt.direction,Ao=kt.listHeight,uo=Ao===void 0?200:Ao,ho=kt.listItemHeight,ji=ho===void 0?20:ho,wo=kt.value,Zi=kt.defaultValue,gi=kt.labelInValue,mo=kt.onChange,_o=(0,Se.Z)(kt,Zo),Wi=xl(zn),al=Fi(Bn),fl=!!(!Ra&&da),hl=Pe.useMemo(function(){return Gr===void 0&&Bn==="combobox"?!1:Gr},[Gr,Bn]),qo=Pe.useMemo(function(){return Sa(cn,fl)},[JSON.stringify(cn),fl]),Mo=wt("",{value:Rn!==void 0?Rn:dn,postState:function(Wn){return Wn||""}}),Wl=(0,ce.Z)(Mo,2),Vo=Wl[0],yo=Wl[1],sl=gl(Ra,da,qo,ja,ai),Vl=sl.valueOptions,pl=sl.labelOptions,Dl=sl.options,Lo=Pe.useCallback(function(Wt){var Wn=Mi(Wt);return Wn.map(function(xn){var Ln,Mr,pr,or,sr;if(He(xn))Ln=xn;else{var Br;pr=xn.key,Mr=xn.label,Ln=(Br=xn.value)!==null&&Br!==void 0?Br:pr}var Vr=Vl.get(Ln);if(Vr){var na;if(Mr===void 0&&(Mr=Vr==null?void 0:Vr[ai||qo.label]),pr===void 0&&(pr=(na=Vr==null?void 0:Vr.key)!==null&&na!==void 0?na:Ln),or=Vr==null?void 0:Vr.disabled,sr=Vr==null?void 0:Vr.title,0)var ka}return{label:Mr,value:Ln,key:pr,disabled:or,title:sr}})},[qo,ai,Vl]),jl=wt(Zi,{value:wo}),ls=(0,ce.Z)(jl,2),Ql=ls[0],Al=ls[1],Tl=Pe.useMemo(function(){var Wt,Wn=Lo(Ql);return Bn==="combobox"&&Tn((Wt=Wn[0])===null||Wt===void 0?void 0:Wt.value)?[]:Wn},[Ql,Lo,Bn]),$l=no(Tl,Vl),Rl=(0,ce.Z)($l,2),Il=Rl[0],ss=Rl[1],us=Pe.useMemo(function(){if(!Bn&&Il.length===1){var Wt=Il[0];if(Wt.value===null&&(Wt.label===null||Wt.label===void 0))return[]}return Il.map(function(Wn){var xn;return(0,ke.Z)((0,ke.Z)({},Wn),{},{label:(xn=Wn.label)!==null&&xn!==void 0?xn:Wn.value})})},[Bn,Il]),ms=Pe.useMemo(function(){return new Set(Il.map(function(Wt){return Wt.value}))},[Il]);Pe.useEffect(function(){if(Bn==="combobox"){var Wt,Wn=(Wt=Il[0])===null||Wt===void 0?void 0:Wt.value;yo(fi(Wn)?String(Wn):"")}},[Il]);var ts=zl(function(Wt,Wn){var xn,Ln=Wn!=null?Wn:Wt;return xn={},(0,we.Z)(xn,qo.value,Wt),(0,we.Z)(xn,qo.label,Ln),xn}),ns=Pe.useMemo(function(){if(Bn!=="tags")return Dl;var Wt=(0,et.Z)(Dl),Wn=function(Ln){return Vl.has(Ln)};return(0,et.Z)(Il).sort(function(xn,Ln){return xn.value<Ln.value?-1:1}).forEach(function(xn){var Ln=xn.value;Wn(Ln)||Wt.push(ts(Ln,xn.label))}),Wt},[ts,Dl,Vl,Il,Bn]),Go=so(ns,qo,Vo,hl,ja),il=Pe.useMemo(function(){return Bn!=="tags"||!Vo||Go.some(function(Wt){return Wt[ja||"value"]===Vo})||Go.some(function(Wt){return Wt[qo.value]===Vo})?Go:[ts(Vo)].concat((0,et.Z)(Go))},[ts,ja,Bn,Go,Vo,qo]),_l=Pe.useMemo(function(){return Ea?(0,et.Z)(il).sort(function(Wt,Wn){return Ea(Wt,Wn)}):il},[il,Ea]),Xl=Pe.useMemo(function(){return Ma(_l,{fieldNames:qo,childrenAsData:fl})},[_l,qo,fl]),hs=function(Wn){var xn=Lo(Wn);if(Al(xn),mo&&(xn.length!==Il.length||xn.some(function(pr,or){var sr;return((sr=Il[or])===null||sr===void 0?void 0:sr.value)!==(pr==null?void 0:pr.value)}))){var Ln=gi?xn:xn.map(function(pr){return pr.value}),Mr=xn.map(function(pr){return pa(ss(pr.value))});mo(al?Ln:Ln[0],al?Mr:Mr[0])}},xs=Pe.useState(null),Ms=(0,ce.Z)(xs,2),zs=Ms[0],Ws=Ms[1],Bs=Pe.useState(0),Xs=(0,ce.Z)(Bs,2),Ul=Xs[0],Le=Xs[1],qe=ci!==void 0?ci:Bn!=="combobox",it=Pe.useCallback(function(Wt,Wn){var xn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ln=xn.source,Mr=Ln===void 0?"keyboard":Ln;Le(Wn),$t&&Bn==="combobox"&&Wt!==null&&Mr==="keyboard"&&Ws(String(Wt))},[$t,Bn]),Ce=function(Wn,xn,Ln){var Mr=function(){var Ht,Ue=ss(Wn);return[gi?{label:Ue==null?void 0:Ue[qo.label],value:Wn,key:(Ht=Ue==null?void 0:Ue.key)!==null&&Ht!==void 0?Ht:Wn}:Wn,pa(Ue)]};if(xn&&Pr){var pr=Mr(),or=(0,ce.Z)(pr,2),sr=or[0],Br=or[1];Pr(sr,Br)}else if(!xn&&ia&&Ln!=="clear"){var Vr=Mr(),na=(0,ce.Z)(Vr,2),ka=na[0],_e=na[1];ia(ka,_e)}},Ne=zl(function(Wt,Wn){var xn,Ln=al?Wn.selected:!0;Ln?xn=al?[].concat((0,et.Z)(Il),[Wt]):[Wt]:xn=Il.filter(function(Mr){return Mr.value!==Wt}),hs(xn),Ce(Wt,Ln),Bn==="combobox"?Ws(""):(!Fi||vr)&&(yo(""),Ws(""))}),St=function(Wn,xn){hs(Wn);var Ln=xn.type,Mr=xn.values;(Ln==="remove"||Ln==="clear")&&Mr.forEach(function(pr){Ce(pr.value,!1,Ln)})},bt=function(Wn,xn){if(yo(Wn),Ws(null),xn.source==="submit"){var Ln=(Wn||"").trim();if(Ln){var Mr=Array.from(new Set([].concat((0,et.Z)(ms),[Ln])));hs(Mr),Ce(Ln,!0),yo("")}return}xn.source!=="blur"&&(Bn==="combobox"&&hs(Wn),yr==null||yr(Wn))},Jt=function(Wn){var xn=Wn;Bn!=="tags"&&(xn=Wn.map(function(Mr){var pr=pl.get(Mr);return pr==null?void 0:pr.value}).filter(function(Mr){return Mr!==void 0}));var Ln=Array.from(new Set([].concat((0,et.Z)(ms),(0,et.Z)(xn))));hs(Ln),Ln.forEach(function(Mr){Ce(Mr,!0)})},_t=Pe.useMemo(function(){var Wt=io!==!1&&ma!==!1;return(0,ke.Z)((0,ke.Z)({},sl),{},{flattenOptions:Xl,onActiveValue:it,defaultActiveFirstOption:qe,onSelect:Ne,menuItemSelectedIcon:mi,rawValues:ms,fieldNames:qo,virtual:Wt,direction:po,listHeight:uo,listItemHeight:ji,childrenAsData:fl})},[sl,Xl,it,qe,Ne,mi,ms,qo,io,ma,uo,ji,fl]);return Pe.createElement(Mn.Provider,{value:_t},Pe.createElement(ni,(0,Me.Z)({},_o,{id:Wi,prefixCls:Zr,ref:Pt,omitDomProps:Qo,mode:Bn,displayValues:us,onDisplayValuesChange:St,direction:po,searchValue:Vo,onSearch:bt,autoClearSearchValue:vr,onSearchSplit:Jt,dropdownMatchSelectWidth:ma,OptionList:Vi,emptyOptions:!Xl.length,activeValue:zs,activeDescendantId:"".concat(Wi,"_list_").concat(Ul)})))}),It=nt;It.Option=ko,It.OptGroup=Cl;var pe=It,Oe=pe,Ae=ee(10366),Ke=ee(8745),Qe=ee(33603),at=ee(9708),ft=ee(53124),Xt=ee(98866),an=ee(88258),Qn=ee(98675),cr=ee(65223),Ar=ee(4173),Dn=ee(87244),$n=ee(13458),Jn=ee(78642),kr=ee(46163),Hr=function(kt,Pt){var zn={};for(var Bn in kt)Object.prototype.hasOwnProperty.call(kt,Bn)&&Pt.indexOf(Bn)<0&&(zn[Bn]=kt[Bn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xr=0,Bn=Object.getOwnPropertySymbols(kt);xr<Bn.length;xr++)Pt.indexOf(Bn[xr])<0&&Object.prototype.propertyIsEnumerable.call(kt,Bn[xr])&&(zn[Bn[xr]]=kt[Bn[xr]]);return zn};const zr="SECRET_COMBOBOX_MODE_DO_NOT_USE",Fr=(kt,Pt)=>{var zn,{prefixCls:Bn,bordered:xr=!0,className:Zr,rootClassName:$t,getPopupContainer:cn,popupClassName:dn,dropdownClassName:Rn,listHeight:yr=256,placement:Tr,listItemHeight:vr=24,size:Pr,disabled:ia,notFoundContent:Va,status:ma,builtinPlacements:Gr,dropdownMatchSelectWidth:Ea,popupMatchSelectWidth:ja,direction:ai,style:Ra,allowClear:da}=kt,ci=Hr(kt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:mi,getPrefixCls:io,renderEmpty:po,direction:Ao,virtual:uo,popupMatchSelectWidth:ho,popupOverflow:ji,select:wo}=Pe.useContext(ft.E_),Zi=io("select",Bn),gi=io(),mo=ai!=null?ai:Ao,{compactSize:_o,compactItemClassnames:Wi}=(0,Ar.ri)(Zi,mo),[al,fl]=(0,Dn.Z)(Zi),hl=Pe.useMemo(()=>{const{mode:ns}=ci;if(ns!=="combobox")return ns===zr?"combobox":ns},[ci.mode]),qo=hl==="multiple"||hl==="tags",Mo=(0,Jn.Z)(ci.suffixIcon,ci.showArrow),Wl=(zn=ja!=null?ja:Ea)!==null&&zn!==void 0?zn:ho,{status:Vo,hasFeedback:yo,isFormItemInput:sl,feedbackIcon:Vl}=Pe.useContext(cr.aM),pl=(0,at.F)(Vo,ma);let Dl;Va!==void 0?Dl=Va:hl==="combobox"?Dl=null:Dl=(po==null?void 0:po("Select"))||Pe.createElement(an.Z,{componentName:"Select"});const{suffixIcon:Lo,itemIcon:jl,removeIcon:ls,clearIcon:Ql}=(0,kr.Z)(Object.assign(Object.assign({},ci),{multiple:qo,hasFeedback:yo,feedbackIcon:Vl,showSuffixIcon:Mo,prefixCls:Zi,showArrow:ci.showArrow,componentName:"Select"})),Al=da===!0?{clearIcon:Ql}:da,Tl=(0,Ae.Z)(ci,["suffixIcon","itemIcon"]),$l=de()(dn||Rn,{[`${Zi}-dropdown-${mo}`]:mo==="rtl"},$t,fl),Rl=(0,Qn.Z)(ns=>{var Go;return(Go=Pr!=null?Pr:_o)!==null&&Go!==void 0?Go:ns}),Il=Pe.useContext(Xt.Z),ss=ia!=null?ia:Il,us=de()({[`${Zi}-lg`]:Rl==="large",[`${Zi}-sm`]:Rl==="small",[`${Zi}-rtl`]:mo==="rtl",[`${Zi}-borderless`]:!xr,[`${Zi}-in-form-item`]:sl},(0,at.Z)(Zi,pl,yo),Wi,wo==null?void 0:wo.className,Zr,$t,fl),ms=Pe.useMemo(()=>Tr!==void 0?Tr:mo==="rtl"?"bottomRight":"bottomLeft",[Tr,mo]),ts=(0,$n.Z)(Gr,ji);return al(Pe.createElement(Oe,Object.assign({ref:Pt,virtual:uo,showSearch:wo==null?void 0:wo.showSearch},Tl,{style:Object.assign(Object.assign({},wo==null?void 0:wo.style),Ra),dropdownMatchSelectWidth:Wl,builtinPlacements:ts,transitionName:(0,Qe.m)(gi,"slide-up",ci.transitionName),listHeight:yr,listItemHeight:vr,mode:hl,prefixCls:Zi,placement:ms,direction:mo,suffixIcon:Lo,menuItemSelectedIcon:jl,removeIcon:ls,allowClear:Al,notFoundContent:Dl,className:us,getPopupContainer:cn||mi,dropdownClassName:$l,disabled:ss})))},jr=Pe.forwardRef(Fr),_r=(0,Ke.Z)(jr);jr.SECRET_COMBOBOX_MODE_DO_NOT_USE=zr,jr.Option=ko,jr.OptGroup=Cl,jr._InternalPanelDoNotUseOrYouWillBeFired=_r;var Jr=jr},87244:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ye}});var ne=ee(14747),de=ee(80110),Me=ee(45503),et=ee(67968),we=ee(67771),ke=ee(33297);const ce=ue=>{const{optionHeight:$e,optionFontSize:Je,optionLineHeight:ht,optionPadding:yt}=ue;return{position:"relative",display:"block",minHeight:$e,padding:yt,color:ue.colorText,fontWeight:"normal",fontSize:Je,lineHeight:ht,boxSizing:"border-box"}};var me=ue=>{const{antCls:$e,componentCls:Je}=ue,ht=`${Je}-item`,yt=`&${$e}-slide-up-enter${$e}-slide-up-enter-active`,Fe=`&${$e}-slide-up-appear${$e}-slide-up-appear-active`,Be=`&${$e}-slide-up-leave${$e}-slide-up-leave-active`,mt=`${Je}-dropdown-placement-`;return[{[`${Je}-dropdown`]:Object.assign(Object.assign({},(0,ne.Wf)(ue)),{position:"absolute",top:-9999,zIndex:ue.zIndexPopup,boxSizing:"border-box",padding:ue.paddingXXS,overflow:"hidden",fontSize:ue.fontSize,fontVariant:"initial",backgroundColor:ue.colorBgElevated,borderRadius:ue.borderRadiusLG,outline:"none",boxShadow:ue.boxShadowSecondary,[`
${yt}${mt}bottomLeft,
${Fe}${mt}bottomLeft
`]:{animationName:we.fJ},[`
${yt}${mt}topLeft,
${Fe}${mt}topLeft,
${yt}${mt}topRight,
${Fe}${mt}topRight
`]:{animationName:we.Qt},[`${Be}${mt}bottomLeft`]:{animationName:we.Uw},[`
${Be}${mt}topLeft,
${Be}${mt}topRight
`]:{animationName:we.ly},"&-hidden":{display:"none"},[`${ht}`]:Object.assign(Object.assign({},ce(ue)),{cursor:"pointer",transition:`background ${ue.motionDurationSlow} ease`,borderRadius:ue.borderRadiusSM,"&-group":{color:ue.colorTextDescription,fontSize:ue.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ne.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ht}-option-disabled)`]:{backgroundColor:ue.optionActiveBg},[`&-selected:not(${ht}-option-disabled)`]:{color:ue.optionSelectedColor,fontWeight:ue.optionSelectedFontWeight,backgroundColor:ue.optionSelectedBg,[`${ht}-option-state`]:{color:ue.colorPrimary}},"&-disabled":{[`&${ht}-option-selected`]:{backgroundColor:ue.colorBgContainerDisabled},color:ue.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ue.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,we.oN)(ue,"slide-up"),(0,we.oN)(ue,"slide-down"),(0,ke.Fm)(ue,"move-up"),(0,ke.Fm)(ue,"move-down")]};const Pe=2,Xe=ue=>{let{controlHeightSM:$e,controlHeight:Je,lineWidth:ht}=ue;const yt=(Je-$e)/2-ht,Fe=Math.ceil(yt/2);return[yt,Fe]};function fe(ue,$e){const{componentCls:Je,iconCls:ht}=ue,yt=`${Je}-selection-overflow`,Fe=ue.multipleSelectItemHeight,[Be]=Xe(ue),mt=$e?`${Je}-${$e}`:"";return{[`${Je}-multiple${mt}`]:{fontSize:ue.fontSize,[yt]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Je}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Be-Pe}px ${Pe*2}px`,borderRadius:ue.borderRadius,[`${Je}-show-search&`]:{cursor:"text"},[`${Je}-disabled&`]:{background:ue.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Pe}px 0`,lineHeight:`${Fe}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${Je}-show-arrow ${Je}-selector,
&${Je}-allow-clear ${Je}-selector
`]:{paddingInlineEnd:ue.fontSizeIcon+ue.controlPaddingHorizontal},[`${Je}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Fe,marginTop:Pe,marginBottom:Pe,lineHeight:`${Fe-ue.lineWidth*2}px`,background:ue.multipleItemBg,border:`${ue.lineWidth}px ${ue.lineType} ${ue.multipleItemBorderColor}`,borderRadius:ue.borderRadiusSM,cursor:"default",transition:`font-size ${ue.motionDurationSlow}, line-height ${ue.motionDurationSlow}, height ${ue.motionDurationSlow}`,userSelect:"none",marginInlineEnd:Pe*2,paddingInlineStart:ue.paddingXS,paddingInlineEnd:ue.paddingXS/2,[`${Je}-disabled&`]:{color:ue.multipleItemColorDisabled,borderColor:ue.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:ue.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ne.Ro)()),{display:"inline-flex",alignItems:"center",color:ue.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ht}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ue.colorIconHover}})},[`${yt}-item + ${yt}-item`]:{[`${Je}-selection-search`]:{marginInlineStart:0}},[`${Je}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:ue.inputPaddingHorizontalBase-Be,"\n &-input,\n &-mirror\n ":{height:Fe,fontFamily:ue.fontFamily,lineHeight:`${Fe}px`,transition:`all ${ue.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Je}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:ue.inputPaddingHorizontalBase,insetInlineEnd:ue.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${ue.motionDurationSlow}`}}}}var pt=ue=>{const{componentCls:$e}=ue,Je=(0,Me.TS)(ue,{controlHeight:ue.controlHeightSM,multipleSelectItemHeight:ue.controlHeightXS,borderRadius:ue.borderRadiusSM,borderRadiusSM:ue.borderRadiusXS}),ht=(0,Me.TS)(ue,{fontSize:ue.fontSizeLG,controlHeight:ue.controlHeightLG,multipleSelectItemHeight:ue.multipleItemHeightLG,borderRadius:ue.borderRadiusLG,borderRadiusSM:ue.borderRadius}),[,yt]=Xe(ue);return[fe(ue),fe(Je,"sm"),{[`${$e}-multiple${$e}-sm`]:{[`${$e}-selection-placeholder`]:{insetInline:ue.controlPaddingHorizontalSM-ue.lineWidth},[`${$e}-selection-search`]:{marginInlineStart:yt}}},fe(ht,"lg")]};function ot(ue,$e){const{componentCls:Je,inputPaddingHorizontalBase:ht,borderRadius:yt}=ue,Fe=ue.controlHeight-ue.lineWidth*2,Be=Math.ceil(ue.fontSize*1.25),mt=$e?`${Je}-${$e}`:"";return{[`${Je}-single${mt}`]:{fontSize:ue.fontSize,[`${Je}-selector`]:Object.assign(Object.assign({},(0,ne.Wf)(ue)),{display:"flex",borderRadius:yt,[`${Je}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ht,insetInlineEnd:ht,bottom:0,"&-input":{width:"100%"}},[`
${Je}-selection-item,
${Je}-selection-placeholder
`]:{padding:0,lineHeight:`${Fe}px`,transition:`all ${ue.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Fe}px`}},[`${Je}-selection-item`]:{position:"relative",userSelect:"none"},[`${Je}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Je}-selection-item:after`,`${Je}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${Je}-show-arrow ${Je}-selection-item,
&${Je}-show-arrow ${Je}-selection-placeholder
`]:{paddingInlineEnd:Be},[`&${Je}-open ${Je}-selection-item`]:{color:ue.colorTextPlaceholder},[`&:not(${Je}-customize-input)`]:{[`${Je}-selector`]:{width:"100%",height:ue.controlHeight,padding:`0 ${ht}px`,[`${Je}-selection-search-input`]:{height:Fe},"&:after":{lineHeight:`${Fe}px`}}},[`&${Je}-customize-input`]:{[`${Je}-selector`]:{"&:after":{display:"none"},[`${Je}-selection-search`]:{position:"static",width:"100%"},[`${Je}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ht}px`,"&:after":{display:"none"}}}}}}}function vt(ue){const{componentCls:$e}=ue,Je=ue.controlPaddingHorizontalSM-ue.lineWidth;return[ot(ue),ot((0,Me.TS)(ue,{controlHeight:ue.controlHeightSM,borderRadius:ue.borderRadiusSM}),"sm"),{[`${$e}-single${$e}-sm`]:{[`&:not(${$e}-customize-input)`]:{[`${$e}-selection-search`]:{insetInlineStart:Je,insetInlineEnd:Je},[`${$e}-selector`]:{padding:`0 ${Je}px`},[`&${$e}-show-arrow ${$e}-selection-search`]:{insetInlineEnd:Je+ue.fontSize*1.5},[`
&${$e}-show-arrow ${$e}-selection-item,
&${$e}-show-arrow ${$e}-selection-placeholder
`]:{paddingInlineEnd:ue.fontSize*1.5}}}},ot((0,Me.TS)(ue,{controlHeight:ue.singleItemHeightLG,fontSize:ue.fontSizeLG,borderRadius:ue.borderRadiusLG}),"lg")]}const Ee=ue=>{const{componentCls:$e,selectorBg:Je}=ue;return{position:"relative",backgroundColor:Je,border:`${ue.lineWidth}px ${ue.lineType} ${ue.colorBorder}`,transition:`all ${ue.motionDurationMid} ${ue.motionEaseInOut}`,input:{cursor:"pointer"},[`${$e}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${$e}-disabled&`]:{color:ue.colorTextDisabled,background:ue.colorBgContainerDisabled,cursor:"not-allowed",[`${$e}-multiple&`]:{background:ue.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},wt=function(ue,$e){let Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ht,borderHoverColor:yt,outlineColor:Fe,antCls:Be}=$e,mt=Je?{[`${ht}-selector`]:{borderColor:yt}}:{};return{[ue]:{[`&:not(${ht}-disabled):not(${ht}-customize-input):not(${Be}-pagination-size-changer)`]:Object.assign(Object.assign({},mt),{[`${ht}-focused& ${ht}-selector`]:{borderColor:yt,boxShadow:`0 0 0 ${$e.controlOutlineWidth}px ${Fe}`,outline:0},[`&:hover ${ht}-selector`]:{borderColor:yt}})}}},Rt=ue=>{const{componentCls:$e}=ue;return{[`${$e}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},tt=ue=>{const{componentCls:$e,inputPaddingHorizontalBase:Je,iconCls:ht}=ue;return{[$e]:Object.assign(Object.assign({},(0,ne.Wf)(ue)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${$e}-customize-input) ${$e}-selector`]:Object.assign(Object.assign({},Ee(ue)),Rt(ue)),[`${$e}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ne.vS),[`${$e}-selection-placeholder`]:Object.assign(Object.assign({},ne.vS),{flex:1,color:ue.colorTextPlaceholder,pointerEvents:"none"}),[`${$e}-arrow`]:Object.assign(Object.assign({},(0,ne.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Je,height:ue.fontSizeIcon,marginTop:-ue.fontSizeIcon/2,color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ht]:{verticalAlign:"top",transition:`transform ${ue.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${$e}-suffix)`]:{pointerEvents:"auto"}},[`${$e}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${$e}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Je,zIndex:1,display:"inline-block",width:ue.fontSizeIcon,height:ue.fontSizeIcon,marginTop:-ue.fontSizeIcon/2,color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:ue.clearBg,cursor:"pointer",opacity:0,transition:`color ${ue.motionDurationMid} ease, opacity ${ue.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ue.colorTextTertiary}},"&:hover":{[`${$e}-clear`]:{opacity:1}}}),[`${$e}-has-feedback`]:{[`${$e}-clear`]:{insetInlineEnd:Je+ue.fontSize+ue.paddingXS}}}},st=ue=>{const{componentCls:$e}=ue;return[{[$e]:{[`&-borderless ${$e}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${$e}-in-form-item`]:{width:"100%"}}},tt(ue),vt(ue),pt(ue),me(ue),{[`${$e}-rtl`]:{direction:"rtl"}},wt($e,(0,Me.TS)(ue,{borderHoverColor:ue.colorPrimaryHover,outlineColor:ue.controlOutline})),wt(`${$e}-status-error`,(0,Me.TS)(ue,{borderHoverColor:ue.colorErrorHover,outlineColor:ue.colorErrorOutline}),!0),wt(`${$e}-status-warning`,(0,Me.TS)(ue,{borderHoverColor:ue.colorWarningHover,outlineColor:ue.colorWarningOutline}),!0),(0,de.c)(ue,{borderElCls:`${$e}-selector`,focusElCls:`${$e}-focused`})]};var ye=(0,et.Z)("Select",(ue,$e)=>{let{rootPrefixCls:Je}=$e;const ht=(0,Me.TS)(ue,{rootPrefixCls:Je,inputPaddingHorizontalBase:ue.paddingSM-1,multipleSelectItemHeight:ue.multipleItemHeight});return[st(ht)]},ue=>{const{fontSize:$e,lineHeight:Je,controlHeight:ht,controlPaddingHorizontal:yt,zIndexPopupBase:Fe,colorText:Be,fontWeightStrong:mt,controlItemBgActive:ze,controlItemBgHover:ut,colorBgContainer:rt,colorFillSecondary:Tt,controlHeightLG:Bt,controlHeightSM:en,colorBgContainerDisabled:ct,colorTextDisabled:Ie}=ue;return{zIndexPopup:Fe+50,optionSelectedColor:Be,optionSelectedFontWeight:mt,optionSelectedBg:ze,optionActiveBg:ut,optionPadding:`${(ht-$e*Je)/2}px ${yt}px`,optionFontSize:$e,optionLineHeight:Je,optionHeight:ht,selectorBg:rt,clearBg:rt,singleItemHeightLG:Bt,multipleItemBg:Tt,multipleItemBorderColor:"transparent",multipleItemHeight:en,multipleItemHeightLG:ht,multipleSelectorBgDisabled:ct,multipleItemColorDisabled:Ie,multipleItemBorderColorDisabled:"transparent"}})},13458:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return de}});const ne=Me=>{const we={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Me==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},we),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},we),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},we),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},we),{points:["br","tr"],offset:[0,-4]})}};function de(Me,et){return Me||ne(et)}},78642:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ne}});function ne(de,Me){return Me!==void 0?Me:de!==null}},46163:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Se}});var ne=ee(18299),de=ee(16646),Me=ee(73475),et=ee(42922),we=ee(3407),ke=ee(72395),ce=ee(67294);function Se(me){let{suffixIcon:Pe,clearIcon:Xe,menuItemSelectedIcon:fe,removeIcon:Ge,loading:pt,multiple:ot,hasFeedback:vt,prefixCls:Ee,showSuffixIcon:wt,feedbackIcon:Rt,showArrow:tt,componentName:st}=me;const ye=Xe!=null?Xe:ce.createElement(de.Z,null),ue=yt=>Pe===null&&!vt&&!tt?null:ce.createElement(ce.Fragment,null,wt!==!1&&yt,vt&&Rt);let $e=null;if(Pe!==void 0)$e=ue(Pe);else if(pt)$e=ue(ce.createElement(we.Z,{spin:!0}));else{const yt=`${Ee}-suffix`;$e=Fe=>{let{open:Be,showSearch:mt}=Fe;return ue(Be&&mt?ce.createElement(ke.Z,{className:yt}):ce.createElement(et.Z,{className:yt}))}}let Je=null;fe!==void 0?Je=fe:ot?Je=ce.createElement(ne.Z,null):Je=null;let ht=null;return Ge!==void 0?ht=Ge:ht=ce.createElement(Me.Z,null),{clearIcon:ye,suffixIcon:$e,itemIcon:Je,removeIcon:ht}}},46303:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return he}});var ne=ee(94184),de=ee.n(ne),Me=ee(67294),et=ee(53124),we=ee(10366),ce=be=>{const{prefixCls:ge,className:se,style:je,size:xt,shape:En}=be,un=de()({[`${ge}-lg`]:xt==="large",[`${ge}-sm`]:xt==="small"}),Pn=de()({[`${ge}-circle`]:En==="circle",[`${ge}-square`]:En==="square",[`${ge}-round`]:En==="round"}),Xn=Me.useMemo(()=>typeof xt=="number"?{width:xt,height:xt,lineHeight:`${xt}px`}:{},[xt]);return Me.createElement("span",{className:de()(ge,un,Pn,se),style:Object.assign(Object.assign({},Xn),je)})},Se=ee(34367),me=ee(67968),Pe=ee(45503);const Xe=new Se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),fe=be=>({height:be,lineHeight:`${be}px`}),Ge=be=>Object.assign({width:be},fe(be)),pt=be=>({background:be.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Xe,animationDuration:be.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),ot=be=>Object.assign({width:be*5,minWidth:be*5},fe(be)),vt=be=>{const{skeletonAvatarCls:ge,gradientFromColor:se,controlHeight:je,controlHeightLG:xt,controlHeightSM:En}=be;return{[`${ge}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:se},Ge(je)),[`${ge}${ge}-circle`]:{borderRadius:"50%"},[`${ge}${ge}-lg`]:Object.assign({},Ge(xt)),[`${ge}${ge}-sm`]:Object.assign({},Ge(En))}},Ee=be=>{const{controlHeight:ge,borderRadiusSM:se,skeletonInputCls:je,controlHeightLG:xt,controlHeightSM:En,gradientFromColor:un}=be;return{[`${je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:un,borderRadius:se},ot(ge)),[`${je}-lg`]:Object.assign({},ot(xt)),[`${je}-sm`]:Object.assign({},ot(En))}},wt=be=>Object.assign({width:be},fe(be)),Rt=be=>{const{skeletonImageCls:ge,imageSizeBase:se,gradientFromColor:je,borderRadiusSM:xt}=be;return{[`${ge}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:je,borderRadius:xt},wt(se*2)),{[`${ge}-path`]:{fill:"#bfbfbf"},[`${ge}-svg`]:Object.assign(Object.assign({},wt(se)),{maxWidth:se*4,maxHeight:se*4}),[`${ge}-svg${ge}-svg-circle`]:{borderRadius:"50%"}}),[`${ge}${ge}-circle`]:{borderRadius:"50%"}}},tt=(be,ge,se)=>{const{skeletonButtonCls:je}=be;return{[`${se}${je}-circle`]:{width:ge,minWidth:ge,borderRadius:"50%"},[`${se}${je}-round`]:{borderRadius:ge}}},st=be=>Object.assign({width:be*2,minWidth:be*2},fe(be)),ye=be=>{const{borderRadiusSM:ge,skeletonButtonCls:se,controlHeight:je,controlHeightLG:xt,controlHeightSM:En,gradientFromColor:un}=be;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:un,borderRadius:ge,width:je*2,minWidth:je*2},st(je))},tt(be,je,se)),{[`${se}-lg`]:Object.assign({},st(xt))}),tt(be,xt,`${se}-lg`)),{[`${se}-sm`]:Object.assign({},st(En))}),tt(be,En,`${se}-sm`))},ue=be=>{const{componentCls:ge,skeletonAvatarCls:se,skeletonTitleCls:je,skeletonParagraphCls:xt,skeletonButtonCls:En,skeletonInputCls:un,skeletonImageCls:Pn,controlHeight:Xn,controlHeightLG:_n,controlHeightSM:Vt,gradientFromColor:yn,padding:Kn,marginSM:On,borderRadius:Qt,titleHeight:Dr,blockRadius:jt,paragraphLiHeight:rn,controlHeightXS:Ir,paragraphMarginTop:ur}=be;return{[`${ge}`]:{display:"table",width:"100%",[`${ge}-header`]:{display:"table-cell",paddingInlineEnd:Kn,verticalAlign:"top",[`${se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:yn},Ge(Xn)),[`${se}-circle`]:{borderRadius:"50%"},[`${se}-lg`]:Object.assign({},Ge(_n)),[`${se}-sm`]:Object.assign({},Ge(Vt))},[`${ge}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${je}`]:{width:"100%",height:Dr,background:yn,borderRadius:jt,[`+ ${xt}`]:{marginBlockStart:Vt}},[`${xt}`]:{padding:0,"> li":{width:"100%",height:rn,listStyle:"none",background:yn,borderRadius:jt,"+ li":{marginBlockStart:Ir}}},[`${xt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ge}-content`]:{[`${je}, ${xt} > li`]:{borderRadius:Qt}}},[`${ge}-with-avatar ${ge}-content`]:{[`${je}`]:{marginBlockStart:On,[`+ ${xt}`]:{marginBlockStart:ur}}},[`${ge}${ge}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ye(be)),vt(be)),Ee(be)),Rt(be)),[`${ge}${ge}-block`]:{width:"100%",[`${En}`]:{width:"100%"},[`${un}`]:{width:"100%"}},[`${ge}${ge}-active`]:{[`
${je},
${xt} > li,
${se},
${En},
${un},
${Pn}
`]:Object.assign({},pt(be))}}};var $e=(0,me.Z)("Skeleton",be=>{const{componentCls:ge}=be,se=(0,Pe.TS)(be,{skeletonAvatarCls:`${ge}-avatar`,skeletonTitleCls:`${ge}-title`,skeletonParagraphCls:`${ge}-paragraph`,skeletonButtonCls:`${ge}-button`,skeletonInputCls:`${ge}-input`,skeletonImageCls:`${ge}-image`,imageSizeBase:be.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${be.gradientFromColor} 25%, ${be.gradientToColor} 37%, ${be.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ue(se)]},be=>{const{colorFillContent:ge,colorFill:se}=be,je=ge,xt=se;return{color:je,colorGradientEnd:xt,gradientFromColor:je,gradientToColor:xt,titleHeight:be.controlHeight/2,blockRadius:be.borderRadiusSM,paragraphMarginTop:be.marginLG+be.marginXXS,paragraphLiHeight:be.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ht=be=>{const{prefixCls:ge,className:se,rootClassName:je,active:xt,shape:En="circle",size:un="default"}=be,{getPrefixCls:Pn}=Me.useContext(et.E_),Xn=Pn("skeleton",ge),[_n,Vt]=$e(Xn),yn=(0,we.Z)(be,["prefixCls","className"]),Kn=de()(Xn,`${Xn}-element`,{[`${Xn}-active`]:xt},se,je,Vt);return _n(Me.createElement("div",{className:Kn},Me.createElement(ce,Object.assign({prefixCls:`${Xn}-avatar`,shape:En,size:un},yn))))},Fe=be=>{const{prefixCls:ge,className:se,rootClassName:je,active:xt,block:En=!1,size:un="default"}=be,{getPrefixCls:Pn}=Me.useContext(et.E_),Xn=Pn("skeleton",ge),[_n,Vt]=$e(Xn),yn=(0,we.Z)(be,["prefixCls"]),Kn=de()(Xn,`${Xn}-element`,{[`${Xn}-active`]:xt,[`${Xn}-block`]:En},se,je,Vt);return _n(Me.createElement("div",{className:Kn},Me.createElement(ce,Object.assign({prefixCls:`${Xn}-button`,size:un},yn))))};const Be="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var ze=be=>{const{prefixCls:ge,className:se,rootClassName:je,style:xt,active:En}=be,{getPrefixCls:un}=Me.useContext(et.E_),Pn=un("skeleton",ge),[Xn,_n]=$e(Pn),Vt=de()(Pn,`${Pn}-element`,{[`${Pn}-active`]:En},se,je,_n);return Xn(Me.createElement("div",{className:Vt},Me.createElement("div",{className:de()(`${Pn}-image`,se),style:xt},Me.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Pn}-image-svg`},Me.createElement("path",{d:Be,className:`${Pn}-image-path`})))))},rt=be=>{const{prefixCls:ge,className:se,rootClassName:je,active:xt,block:En,size:un="default"}=be,{getPrefixCls:Pn}=Me.useContext(et.E_),Xn=Pn("skeleton",ge),[_n,Vt]=$e(Xn),yn=(0,we.Z)(be,["prefixCls"]),Kn=de()(Xn,`${Xn}-element`,{[`${Xn}-active`]:xt,[`${Xn}-block`]:En},se,je,Vt);return _n(Me.createElement("div",{className:Kn},Me.createElement(ce,Object.assign({prefixCls:`${Xn}-input`,size:un},yn))))},Tt=ee(87462),Bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},en=Bt,ct=ee(84089),Ie=function(ge,se){return Me.createElement(ct.Z,(0,Tt.Z)({},ge,{ref:se,icon:en}))},Mt=Me.forwardRef(Ie),qt=be=>{const{prefixCls:ge,className:se,rootClassName:je,style:xt,active:En,children:un}=be,{getPrefixCls:Pn}=Me.useContext(et.E_),Xn=Pn("skeleton",ge),[_n,Vt]=$e(Xn),yn=de()(Xn,`${Xn}-element`,{[`${Xn}-active`]:En},Vt,se,je),Kn=un!=null?un:Me.createElement(Mt,null);return _n(Me.createElement("div",{className:yn},Me.createElement("div",{className:de()(`${Xn}-image`,se),style:xt},Kn)))},Nt=ee(74902),nn=be=>{const ge=Pn=>{const{width:Xn,rows:_n=2}=be;if(Array.isArray(Xn))return Xn[Pn];if(_n-1===Pn)return Xn},{prefixCls:se,className:je,style:xt,rows:En}=be,un=(0,Nt.Z)(Array(En)).map((Pn,Xn)=>Me.createElement("li",{key:Xn,style:{width:ge(Xn)}}));return Me.createElement("ul",{className:de()(se,je),style:xt},un)},Sn=be=>{let{prefixCls:ge,className:se,width:je,style:xt}=be;return Me.createElement("h3",{className:de()(ge,se),style:Object.assign({width:je},xt)})};function tn(be){return be&&typeof be=="object"?be:{}}function In(be,ge){return be&&!ge?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function br(be,ge){return!be&&ge?{width:"38%"}:be&&ge?{width:"50%"}:{}}function gn(be,ge){const se={};return(!be||!ge)&&(se.width="61%"),!be&&ge?se.rows=3:se.rows=2,se}const Ye=be=>{const{prefixCls:ge,loading:se,className:je,rootClassName:xt,style:En,children:un,avatar:Pn=!1,title:Xn=!0,paragraph:_n=!0,active:Vt,round:yn}=be,{getPrefixCls:Kn,direction:On,skeleton:Qt}=Me.useContext(et.E_),Dr=Kn("skeleton",ge),[jt,rn]=$e(Dr);if(se||!("loading"in be)){const Ir=!!Pn,ur=!!Xn,Rr=!!_n;let aa;if(Ir){const Fa=Object.assign(Object.assign({prefixCls:`${Dr}-avatar`},In(ur,Rr)),tn(Pn));aa=Me.createElement("div",{className:`${Dr}-header`},Me.createElement(ce,Object.assign({},Fa)))}let qn;if(ur||Rr){let Fa;if(ur){const Xr=Object.assign(Object.assign({prefixCls:`${Dr}-title`},br(Ir,Rr)),tn(Xn));Fa=Me.createElement(Sn,Object.assign({},Xr))}let _a;if(Rr){const Xr=Object.assign(Object.assign({prefixCls:`${Dr}-paragraph`},gn(Ir,ur)),tn(_n));_a=Me.createElement(nn,Object.assign({},Xr))}qn=Me.createElement("div",{className:`${Dr}-content`},Fa,_a)}const Pa=de()(Dr,{[`${Dr}-with-avatar`]:Ir,[`${Dr}-active`]:Vt,[`${Dr}-rtl`]:On==="rtl",[`${Dr}-round`]:yn},Qt==null?void 0:Qt.className,je,xt,rn);return jt(Me.createElement("div",{className:Pa,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),En)},aa,qn))}return typeof un!="undefined"?un:null};Ye.Button=Fe,Ye.Avatar=ht,Ye.Input=rt,Ye.Image=ze,Ye.Node=qt;var ve=Ye,he=ve},55054:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return $e}});var ne=ee(67294),de=ee(57838),Me=ee(96159),et=ee(94184),we=ee.n(et),ke=ee(53124),ce=ee(46303),me=Je=>{const{value:ht,formatter:yt,precision:Fe,decimalSeparator:Be,groupSeparator:mt="",prefixCls:ze}=Je;let ut;if(typeof yt=="function")ut=yt(ht);else{const rt=String(ht),Tt=rt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Tt||rt==="-")ut=rt;else{const Bt=Tt[1];let en=Tt[2]||"0",ct=Tt[4]||"";en=en.replace(/\B(?=(\d{3})+(?!\d))/g,mt),typeof Fe=="number"&&(ct=ct.padEnd(Fe,"0").slice(0,Fe>0?Fe:0)),ct&&(ct=`${Be}${ct}`),ut=[ne.createElement("span",{key:"int",className:`${ze}-content-value-int`},Bt,en),ct&&ne.createElement("span",{key:"decimal",className:`${ze}-content-value-decimal`},ct)]}}return ne.createElement("span",{className:`${ze}-content-value`},ut)},Pe=ee(14747),Xe=ee(67968),fe=ee(45503);const Ge=Je=>{const{componentCls:ht,marginXXS:yt,padding:Fe,colorTextDescription:Be,titleFontSize:mt,colorTextHeading:ze,contentFontSize:ut,fontFamily:rt}=Je;return{[`${ht}`]:Object.assign(Object.assign({},(0,Pe.Wf)(Je)),{[`${ht}-title`]:{marginBottom:yt,color:Be,fontSize:mt},[`${ht}-skeleton`]:{paddingTop:Fe},[`${ht}-content`]:{color:ze,fontSize:ut,fontFamily:rt,[`${ht}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ht}-content-prefix, ${ht}-content-suffix`]:{display:"inline-block"},[`${ht}-content-prefix`]:{marginInlineEnd:yt},[`${ht}-content-suffix`]:{marginInlineStart:yt}}})}};var pt=(0,Xe.Z)("Statistic",Je=>{const ht=(0,fe.TS)(Je,{});return[Ge(ht)]},Je=>{const{fontSizeHeading3:ht,fontSize:yt}=Je;return{titleFontSize:yt,contentFontSize:ht}}),vt=Je=>{const{prefixCls:ht,className:yt,rootClassName:Fe,style:Be,valueStyle:mt,value:ze=0,title:ut,valueRender:rt,prefix:Tt,suffix:Bt,loading:en=!1,onMouseEnter:ct,onMouseLeave:Ie,decimalSeparator:Mt=".",groupSeparator:vn=","}=Je,{getPrefixCls:qt,direction:Nt,statistic:Kt}=ne.useContext(ke.E_),nn=qt("statistic",ht),[Cn,Sn]=pt(nn),tn=ne.createElement(me,Object.assign({decimalSeparator:Mt,groupSeparator:vn,prefixCls:nn},Je,{value:ze})),In=we()(nn,{[`${nn}-rtl`]:Nt==="rtl"},Kt==null?void 0:Kt.className,yt,Fe,Sn);return Cn(ne.createElement("div",{className:In,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Be),onMouseEnter:ct,onMouseLeave:Ie},ut&&ne.createElement("div",{className:`${nn}-title`},ut),ne.createElement(ce.Z,{paragraph:!1,loading:en,className:`${nn}-skeleton`},ne.createElement("div",{style:mt,className:`${nn}-content`},Tt&&ne.createElement("span",{className:`${nn}-content-prefix`},Tt),rt?rt(tn):tn,Bt&&ne.createElement("span",{className:`${nn}-content-suffix`},Bt)))))};const Ee=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function wt(Je,ht){let yt=Je;const Fe=/\[[^\]]*]/g,Be=(ht.match(Fe)||[]).map(rt=>rt.slice(1,-1)),mt=ht.replace(Fe,"[]"),ze=Ee.reduce((rt,Tt)=>{let[Bt,en]=Tt;if(rt.includes(Bt)){const ct=Math.floor(yt/en);return yt-=ct*en,rt.replace(new RegExp(`${Bt}+`,"g"),Ie=>{const Mt=Ie.length;return ct.toString().padStart(Mt,"0")})}return rt},mt);let ut=0;return ze.replace(Fe,()=>{const rt=Be[ut];return ut+=1,rt})}function Rt(Je,ht){const{format:yt=""}=ht,Fe=new Date(Je).getTime(),Be=Date.now(),mt=Math.max(Fe-Be,0);return wt(mt,yt)}const tt=1e3/30;function st(Je){return new Date(Je).getTime()}const ye=Je=>{const{value:ht,format:yt="HH:mm:ss",onChange:Fe,onFinish:Be}=Je,mt=(0,de.Z)(),ze=ne.useRef(null),ut=()=>{Be==null||Be(),ze.current&&(clearInterval(ze.current),ze.current=null)},rt=()=>{const en=st(ht);en>=Date.now()&&(ze.current=setInterval(()=>{mt(),Fe==null||Fe(en-Date.now()),en<Date.now()&&ut()},tt))};ne.useEffect(()=>(rt(),()=>{ze.current&&(clearInterval(ze.current),ze.current=null)}),[ht]);const Tt=(en,ct)=>Rt(en,Object.assign(Object.assign({},ct),{format:yt})),Bt=en=>(0,Me.Tm)(en,{title:void 0});return ne.createElement(vt,Object.assign({},Je,{valueRender:Bt,formatter:Tt}))};var ue=ne.memo(ye);vt.Countdown=ue;var $e=vt},33507:function(Hn,sn){"use strict";const ee=ne=>({[ne.componentCls]:{[`${ne.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${ne.motionDurationMid} ${ne.motionEaseInOut},
opacity ${ne.motionDurationMid} ${ne.motionEaseInOut} !important`}},[`${ne.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${ne.motionDurationMid} ${ne.motionEaseInOut},
opacity ${ne.motionDurationMid} ${ne.motionEaseInOut} !important`}}});sn.Z=ee},33297:function(Hn,sn,ee){"use strict";ee.d(sn,{Fm:function(){return fe}});var ne=ee(34367),de=ee(93590);const Me=new ne.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),et=new ne.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),we=new ne.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ke=new ne.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ce=new ne.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Se=new ne.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),me=new ne.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Pe=new ne.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Xe={"move-up":{inKeyframes:me,outKeyframes:Pe},"move-down":{inKeyframes:Me,outKeyframes:et},"move-left":{inKeyframes:we,outKeyframes:ke},"move-right":{inKeyframes:ce,outKeyframes:Se}},fe=(Ge,pt)=>{const{antCls:ot}=Ge,vt=`${ot}-${pt}`,{inKeyframes:Ee,outKeyframes:wt}=Xe[pt];return[(0,de.R)(vt,Ee,wt,Ge.motionDurationMid),{[`
${vt}-enter,
${vt}-appear
`]:{opacity:0,animationTimingFunction:Ge.motionEaseOutCirc},[`${vt}-leave`]:{animationTimingFunction:Ge.motionEaseInOutCirc}}]}},67771:function(Hn,sn,ee){"use strict";ee.d(sn,{Qt:function(){return we},Uw:function(){return et},fJ:function(){return Me},ly:function(){return ke},oN:function(){return fe}});var ne=ee(34367),de=ee(93590);const Me=new ne.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),et=new ne.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),we=new ne.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ke=new ne.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ce=new ne.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Se=new ne.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),me=new ne.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Pe=new ne.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Xe={"slide-up":{inKeyframes:Me,outKeyframes:et},"slide-down":{inKeyframes:we,outKeyframes:ke},"slide-left":{inKeyframes:ce,outKeyframes:Se},"slide-right":{inKeyframes:me,outKeyframes:Pe}},fe=(Ge,pt)=>{const{antCls:ot}=Ge,vt=`${ot}-${pt}`,{inKeyframes:Ee,outKeyframes:wt}=Xe[pt];return[(0,de.R)(vt,Ee,wt,Ge.motionDurationMid),{[`
${vt}-enter,
${vt}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:Ge.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${vt}-leave`]:{animationTimingFunction:Ge.motionEaseInQuint}}]}},49867:function(Hn,sn,ee){"use strict";ee.d(sn,{N:function(){return ne}});const ne=de=>({color:de.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${de.motionDurationSlow}`,"&:focus, &:hover":{color:de.colorLinkHover},"&:active":{color:de.colorLinkActive}})},47897:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return be}});var ne=ee(3407),de=ee(94184),Me=ee.n(de);function et(){return et=Object.assign?Object.assign.bind():function(ge){for(var se=1;se<arguments.length;se++){var je=arguments[se];for(var xt in je)Object.prototype.hasOwnProperty.call(je,xt)&&(ge[xt]=je[xt])}return ge},et.apply(this,arguments)}function we(ge){"@babel/helpers - typeof";return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},we(ge)}function ke(ge,se){if(we(ge)!=="object"||ge===null)return ge;var je=ge[Symbol.toPrimitive];if(je!==void 0){var xt=je.call(ge,se||"default");if(we(xt)!=="object")return xt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(se==="string"?String:Number)(ge)}function ce(ge){var se=ke(ge,"string");return we(se)==="symbol"?se:String(se)}function Se(ge,se,je){return se=ce(se),se in ge?Object.defineProperty(ge,se,{value:je,enumerable:!0,configurable:!0,writable:!0}):ge[se]=je,ge}function me(ge){if(Array.isArray(ge))return ge}function Pe(ge,se){var je=ge==null?null:typeof Symbol!="undefined"&&ge[Symbol.iterator]||ge["@@iterator"];if(je!=null){var xt,En,un,Pn,Xn=[],_n=!0,Vt=!1;try{if(un=(je=je.call(ge)).next,se===0){if(Object(je)!==je)return;_n=!1}else for(;!(_n=(xt=un.call(je)).done)&&(Xn.push(xt.value),Xn.length!==se);_n=!0);}catch(yn){Vt=!0,En=yn}finally{try{if(!_n&&je.return!=null&&(Pn=je.return(),Object(Pn)!==Pn))return}finally{if(Vt)throw En}}return Xn}}function Xe(ge,se){(se==null||se>ge.length)&&(se=ge.length);for(var je=0,xt=new Array(se);je<se;je++)xt[je]=ge[je];return xt}function fe(ge,se){if(ge){if(typeof ge=="string")return Xe(ge,se);var je=Object.prototype.toString.call(ge).slice(8,-1);if(je==="Object"&&ge.constructor&&(je=ge.constructor.name),je==="Map"||je==="Set")return Array.from(ge);if(je==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(je))return Xe(ge,se)}}function Ge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pt(ge,se){return me(ge)||Pe(ge,se)||fe(ge,se)||Ge()}function ot(ge,se){if(ge==null)return{};var je={},xt=Object.keys(ge),En,un;for(un=0;un<xt.length;un++)En=xt[un],!(se.indexOf(En)>=0)&&(je[En]=ge[En]);return je}function vt(ge,se){if(ge==null)return{};var je=ot(ge,se),xt,En;if(Object.getOwnPropertySymbols){var un=Object.getOwnPropertySymbols(ge);for(En=0;En<un.length;En++)xt=un[En],!(se.indexOf(xt)>=0)&&Object.prototype.propertyIsEnumerable.call(ge,xt)&&(je[xt]=ge[xt])}return je}var Ee=ee(67294);function wt(ge){if(Array.isArray(ge))return ge}function Rt(ge,se){var je=ge==null?null:typeof Symbol!="undefined"&&ge[Symbol.iterator]||ge["@@iterator"];if(je!=null){var xt,En,un,Pn,Xn=[],_n=!0,Vt=!1;try{if(un=(je=je.call(ge)).next,se===0){if(Object(je)!==je)return;_n=!1}else for(;!(_n=(xt=un.call(je)).done)&&(Xn.push(xt.value),Xn.length!==se);_n=!0);}catch(yn){Vt=!0,En=yn}finally{try{if(!_n&&je.return!=null&&(Pn=je.return(),Object(Pn)!==Pn))return}finally{if(Vt)throw En}}return Xn}}function tt(ge,se){(se==null||se>ge.length)&&(se=ge.length);for(var je=0,xt=new Array(se);je<se;je++)xt[je]=ge[je];return xt}function st(ge,se){if(ge){if(typeof ge=="string")return tt(ge,se);var je=Object.prototype.toString.call(ge).slice(8,-1);if(je==="Object"&&ge.constructor&&(je=ge.constructor.name),je==="Map"||je==="Set")return Array.from(ge);if(je==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(je))return tt(ge,se)}}function ye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ue(ge,se){return wt(ge)||Rt(ge,se)||st(ge,se)||ye()}function $e(ge){var se=Ee.useRef();se.current=ge;var je=Ee.useCallback(function(){for(var xt,En=arguments.length,un=new Array(En),Pn=0;Pn<En;Pn++)un[Pn]=arguments[Pn];return(xt=se.current)===null||xt===void 0?void 0:xt.call.apply(xt,[se].concat(un))},[]);return je}function Je(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ht=Je()?Ee.useLayoutEffect:Ee.useEffect,yt=function(se,je){var xt=Ee.useRef(!0);ht(function(){return se(xt.current)},je),ht(function(){return xt.current=!1,function(){xt.current=!0}},[])},Fe=function(se,je){yt(function(xt){if(!xt)return se()},je)},Be=null;function mt(ge){var se=Ee.useRef(!1),je=Ee.useState(ge),xt=ue(je,2),En=xt[0],un=xt[1];Ee.useEffect(function(){return se.current=!1,function(){se.current=!0}},[]);function Pn(Xn,_n){_n&&se.current||un(Xn)}return[En,Pn]}function ze(ge){return ge!==void 0}function ut(ge,se){var je=se||{},xt=je.defaultValue,En=je.value,un=je.onChange,Pn=je.postState,Xn=mt(function(){return ze(En)?En:ze(xt)?typeof xt=="function"?xt():xt:typeof ge=="function"?ge():ge}),_n=ue(Xn,2),Vt=_n[0],yn=_n[1],Kn=En!==void 0?En:Vt,On=Pn?Pn(Kn):Kn,Qt=$e(un),Dr=mt([Kn]),jt=ue(Dr,2),rn=jt[0],Ir=jt[1];Fe(function(){var Rr=rn[0];Vt!==Rr&&Qt(Vt,Rr)},[rn]),Fe(function(){ze(En)||yn(En)},[En]);var ur=$e(function(Rr,aa){yn(Rr,aa),Ir([Kn],aa)});return[On,ur]}var rt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(se){var je=se.keyCode;if(se.altKey&&!se.ctrlKey||se.metaKey||je>=rt.F1&&je<=rt.F12)return!1;switch(je){case rt.ALT:case rt.CAPS_LOCK:case rt.CONTEXT_MENU:case rt.CTRL:case rt.DOWN:case rt.END:case rt.ESC:case rt.HOME:case rt.INSERT:case rt.LEFT:case rt.MAC_FF_META:case rt.META:case rt.NUMLOCK:case rt.NUM_CENTER:case rt.PAGE_DOWN:case rt.PAGE_UP:case rt.PAUSE:case rt.PRINT_SCREEN:case rt.RIGHT:case rt.SHIFT:case rt.UP:case rt.WIN_KEY:case rt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(se){if(se>=rt.ZERO&&se<=rt.NINE||se>=rt.NUM_ZERO&&se<=rt.NUM_MULTIPLY||se>=rt.A&&se<=rt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&se===0)return!0;switch(se){case rt.SPACE:case rt.QUESTION_MARK:case rt.NUM_PLUS:case rt.NUM_MINUS:case rt.NUM_PERIOD:case rt.NUM_DIVISION:case rt.SEMICOLON:case rt.DASH:case rt.EQUALS:case rt.COMMA:case rt.PERIOD:case rt.SLASH:case rt.APOSTROPHE:case rt.SINGLE_QUOTE:case rt.OPEN_SQUARE_BRACKET:case rt.BACKSLASH:case rt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Tt=rt,Bt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],en=Ee.forwardRef(function(ge,se){var je,xt=ge.prefixCls,En=xt===void 0?"rc-switch":xt,un=ge.className,Pn=ge.checked,Xn=ge.defaultChecked,_n=ge.disabled,Vt=ge.loadingIcon,yn=ge.checkedChildren,Kn=ge.unCheckedChildren,On=ge.onClick,Qt=ge.onChange,Dr=ge.onKeyDown,jt=vt(ge,Bt),rn=ut(!1,{value:Pn,defaultValue:Xn}),Ir=pt(rn,2),ur=Ir[0],Rr=Ir[1];function aa(_a,Xr){var Da=ur;return _n||(Da=_a,Rr(Da),Qt==null||Qt(Da,Xr)),Da}function qn(_a){_a.which===Tt.LEFT?aa(!1,_a):_a.which===Tt.RIGHT&&aa(!0,_a),Dr==null||Dr(_a)}function Pa(_a){var Xr=aa(!ur,_a);On==null||On(Xr,_a)}var Fa=Me()(En,un,(je={},Se(je,"".concat(En,"-checked"),ur),Se(je,"".concat(En,"-disabled"),_n),je));return Ee.createElement("button",et({},jt,{type:"button",role:"switch","aria-checked":ur,disabled:_n,className:Fa,ref:se,onKeyDown:qn,onClick:Pa}),Vt,Ee.createElement("span",{className:"".concat(En,"-inner")},Ee.createElement("span",{className:"".concat(En,"-inner-checked")},yn),Ee.createElement("span",{className:"".concat(En,"-inner-unchecked")},Kn)))});en.displayName="Switch";var ct=en,Ie=ee(45353),Mt=ee(53124),vn=ee(98866),qt=ee(98675),Nt=ee(84780),Kt=ee(14747),nn=ee(67968),Cn=ee(45503);const Sn=ge=>{const{componentCls:se,trackHeightSM:je,trackPadding:xt,trackMinWidthSM:En,innerMinMarginSM:un,innerMaxMarginSM:Pn,handleSizeSM:Xn}=ge,_n=`${se}-inner`;return{[se]:{[`&${se}-small`]:{minWidth:En,height:je,lineHeight:`${je}px`,[`${se}-inner`]:{paddingInlineStart:Pn,paddingInlineEnd:un,[`${_n}-checked`]:{marginInlineStart:`calc(-100% + ${Xn+xt*2}px - ${Pn*2}px)`,marginInlineEnd:`calc(100% - ${Xn+xt*2}px + ${Pn*2}px)`},[`${_n}-unchecked`]:{marginTop:-je,marginInlineStart:0,marginInlineEnd:0}},[`${se}-handle`]:{width:Xn,height:Xn},[`${se}-loading-icon`]:{top:(Xn-ge.switchLoadingIconSize)/2,fontSize:ge.switchLoadingIconSize},[`&${se}-checked`]:{[`${se}-inner`]:{paddingInlineStart:un,paddingInlineEnd:Pn,[`${_n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${_n}-unchecked`]:{marginInlineStart:`calc(100% - ${Xn+xt*2}px + ${Pn*2}px)`,marginInlineEnd:`calc(-100% + ${Xn+xt*2}px - ${Pn*2}px)`}},[`${se}-handle`]:{insetInlineStart:`calc(100% - ${Xn+xt}px)`}},[`&:not(${se}-disabled):active`]:{[`&:not(${se}-checked) ${_n}`]:{[`${_n}-unchecked`]:{marginInlineStart:ge.marginXXS/2,marginInlineEnd:-ge.marginXXS/2}},[`&${se}-checked ${_n}`]:{[`${_n}-checked`]:{marginInlineStart:-ge.marginXXS/2,marginInlineEnd:ge.marginXXS/2}}}}}}},tn=ge=>{const{componentCls:se,handleSize:je}=ge;return{[se]:{[`${se}-loading-icon${ge.iconCls}`]:{position:"relative",top:(je-ge.fontSize)/2,color:ge.switchLoadingIconColor,verticalAlign:"top"},[`&${se}-checked ${se}-loading-icon`]:{color:ge.switchColor}}}},In=ge=>{const{componentCls:se,motion:je,trackPadding:xt,handleBg:En,handleShadow:un,handleSize:Pn}=ge,Xn=`${se}-handle`;return{[se]:{[Xn]:{position:"absolute",top:xt,insetInlineStart:xt,width:Pn,height:Pn,transition:`all ${ge.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:En,borderRadius:Pn/2,boxShadow:un,transition:`all ${ge.switchDuration} ease-in-out`,content:'""'}},[`&${se}-checked ${Xn}`]:{insetInlineStart:`calc(100% - ${Pn+xt}px)`},[`&:not(${se}-disabled):active`]:je?{[`${Xn}::before`]:{insetInlineEnd:ge.switchHandleActiveInset,insetInlineStart:0},[`&${se}-checked ${Xn}::before`]:{insetInlineEnd:0,insetInlineStart:ge.switchHandleActiveInset}}:{}}}},br=ge=>{const{componentCls:se,trackHeight:je,trackPadding:xt,innerMinMargin:En,innerMaxMargin:un,handleSize:Pn}=ge,Xn=`${se}-inner`;return{[se]:{[Xn]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:un,paddingInlineEnd:En,transition:`padding-inline-start ${ge.switchDuration} ease-in-out, padding-inline-end ${ge.switchDuration} ease-in-out`,[`${Xn}-checked, ${Xn}-unchecked`]:{display:"block",color:ge.colorTextLightSolid,fontSize:ge.fontSizeSM,transition:`margin-inline-start ${ge.switchDuration} ease-in-out, margin-inline-end ${ge.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Xn}-checked`]:{marginInlineStart:`calc(-100% + ${Pn+xt*2}px - ${un*2}px)`,marginInlineEnd:`calc(100% - ${Pn+xt*2}px + ${un*2}px)`},[`${Xn}-unchecked`]:{marginTop:-je,marginInlineStart:0,marginInlineEnd:0}},[`&${se}-checked ${Xn}`]:{paddingInlineStart:En,paddingInlineEnd:un,[`${Xn}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Xn}-unchecked`]:{marginInlineStart:`calc(100% - ${Pn+xt*2}px + ${un*2}px)`,marginInlineEnd:`calc(-100% + ${Pn+xt*2}px - ${un*2}px)`}},[`&:not(${se}-disabled):active`]:{[`&:not(${se}-checked) ${Xn}`]:{[`${Xn}-unchecked`]:{marginInlineStart:xt*2,marginInlineEnd:-xt*2}},[`&${se}-checked ${Xn}`]:{[`${Xn}-checked`]:{marginInlineStart:-xt*2,marginInlineEnd:xt*2}}}}}},gn=ge=>{const{componentCls:se,trackHeight:je,trackMinWidth:xt}=ge;return{[se]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Kt.Wf)(ge)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:xt,height:je,lineHeight:`${je}px`,verticalAlign:"middle",background:ge.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ge.motionDurationMid}`,userSelect:"none",[`&:hover:not(${se}-disabled)`]:{background:ge.colorTextTertiary}}),(0,Kt.Qy)(ge)),{[`&${se}-checked`]:{background:ge.switchColor,[`&:hover:not(${se}-disabled)`]:{background:ge.colorPrimaryHover}},[`&${se}-loading, &${se}-disabled`]:{cursor:"not-allowed",opacity:ge.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${se}-rtl`]:{direction:"rtl"}})}};var Ye=(0,nn.Z)("Switch",ge=>{const se=(0,Cn.TS)(ge,{switchDuration:ge.motionDurationMid,switchColor:ge.colorPrimary,switchDisabledOpacity:ge.opacityLoading,switchLoadingIconSize:ge.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${ge.opacityLoading})`,switchHandleActiveInset:"-30%"});return[gn(se),br(se),In(se),tn(se),Sn(se)]},ge=>{const{fontSize:se,lineHeight:je,controlHeight:xt,colorWhite:En}=ge,un=se*je,Pn=xt/2,Xn=2,_n=un-Xn*2,Vt=Pn-Xn*2;return{trackHeight:un,trackHeightSM:Pn,trackMinWidth:_n*2+Xn*4,trackMinWidthSM:Vt*2+Xn*2,trackPadding:Xn,handleBg:En,handleSize:_n,handleSizeSM:Vt,handleShadow:`0 2px 4px 0 ${new Nt.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:_n/2,innerMaxMargin:_n+Xn+Xn*2,innerMinMarginSM:Vt/2,innerMaxMarginSM:Vt+Xn+Xn*2}}),ve=function(ge,se){var je={};for(var xt in ge)Object.prototype.hasOwnProperty.call(ge,xt)&&se.indexOf(xt)<0&&(je[xt]=ge[xt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,xt=Object.getOwnPropertySymbols(ge);En<xt.length;En++)se.indexOf(xt[En])<0&&Object.prototype.propertyIsEnumerable.call(ge,xt[En])&&(je[xt[En]]=ge[xt[En]]);return je};const he=Ee.forwardRef((ge,se)=>{const{prefixCls:je,size:xt,disabled:En,loading:un,className:Pn,rootClassName:Xn,style:_n}=ge,Vt=ve(ge,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:yn,direction:Kn,switch:On}=Ee.useContext(Mt.E_),Qt=Ee.useContext(vn.Z),Dr=(En!=null?En:Qt)||un,jt=yn("switch",je),rn=Ee.createElement("div",{className:`${jt}-handle`},un&&Ee.createElement(ne.Z,{className:`${jt}-loading-icon`})),[Ir,ur]=Ye(jt),Rr=(0,qt.Z)(xt),aa=Me()(On==null?void 0:On.className,{[`${jt}-small`]:Rr==="small",[`${jt}-loading`]:un,[`${jt}-rtl`]:Kn==="rtl"},Pn,Xn,ur),qn=Object.assign(Object.assign({},On==null?void 0:On.style),_n);return Ir(Ee.createElement(Ie.Z,{component:"Switch"},Ee.createElement(ct,Object.assign({},Vt,{prefixCls:jt,className:aa,style:qn,disabled:Dr,ref:se,loadingIcon:rn}))))});he.__ANT_SWITCH=!0;var be=he},9430:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return ws}});var ne={},de="rc-table-internal-hook",Me=ee(97685),et=ee(66680),we=ee(8410),ke=ee(91881),ce=ee(67294),Se=ee(73935);function me(Te){var Ze=ce.createContext(void 0),Et=function(Yt){var An=Yt.value,ar=Yt.children,wr=ce.useRef(An);wr.current=An;var Un=ce.useState(function(){return{getValue:function(){return wr.current},listeners:new Set}}),Gn=(0,Me.Z)(Un,1),Sr=Gn[0];return(0,we.Z)(function(){(0,Se.unstable_batchedUpdates)(function(){Sr.listeners.forEach(function(Nn){Nn(An)})})},[An]),ce.createElement(Ze.Provider,{value:Sr},ar)};return{Context:Ze,Provider:Et,defaultValue:Te}}function Pe(Te,Ze){var Et=(0,et.Z)(typeof Ze=="function"?Ze:function(Nn){if(Ze===void 0)return Nn;if(!Array.isArray(Ze))return Nn[Ze];var Ur={};return Ze.forEach(function(xa){Ur[xa]=Nn[xa]}),Ur}),Ot=ce.useContext(Te==null?void 0:Te.Context),Yt=Ot||{},An=Yt.listeners,ar=Yt.getValue,wr=ce.useRef();wr.current=Et(Ot?ar():Te==null?void 0:Te.defaultValue);var Un=ce.useState({}),Gn=(0,Me.Z)(Un,2),Sr=Gn[1];return(0,we.Z)(function(){if(!Ot)return;function Nn(Ur){var xa=Et(Ur);(0,ke.Z)(wr.current,xa,!0)||Sr({})}return An.add(Nn),function(){An.delete(Nn)}},[Ot]),wr.current}var Xe=ee(87462),fe=ee(42550);function Ge(){var Te=ce.createContext(null);function Ze(){return ce.useContext(Te)}function Et(Yt,An){var ar=(0,fe.Yr)(Yt),wr=function(Gn,Sr){var Nn=ar?{ref:Sr}:{},Ur=ce.useRef(0),xa=ce.useRef(Gn),wa=Ze();return wa!==null?ce.createElement(Yt,(0,Xe.Z)({},Gn,Nn)):((!An||An(xa.current,Gn))&&(Ur.current+=1),xa.current=Gn,ce.createElement(Te.Provider,{value:Ur.current},ce.createElement(Yt,(0,Xe.Z)({},Gn,Nn))))};return ar?ce.forwardRef(wr):wr}function Ot(Yt,An){var ar=(0,fe.Yr)(Yt),wr=function(Gn,Sr){var Nn=ar?{ref:Sr}:{};return Ze(),ce.createElement(Yt,(0,Xe.Z)({},Gn,Nn))};return ar?ce.memo(ce.forwardRef(wr),An):ce.memo(wr,An)}return{makeImmutable:Et,responseImmutable:Ot,useImmutableMark:Ze}}var pt=Ge(),ot=pt.makeImmutable,vt=pt.responseImmutable,Ee=pt.useImmutableMark,wt=Ge(),Rt=wt.makeImmutable,tt=wt.responseImmutable,st=wt.useImmutableMark,ye=me(),ue=ye;function $e(Te,Ze){var Et=ce.useRef(0);Et.current+=1;var Ot=ce.useRef(Te),Yt=[];Object.keys(Te||{}).map(function(ar){var wr;(Te==null?void 0:Te[ar])!==((wr=Ot.current)===null||wr===void 0?void 0:wr[ar])&&Yt.push(ar)}),Ot.current=Te;var An=ce.useRef([]);return Yt.length&&(An.current=Yt),ce.useDebugValue(Et.current),ce.useDebugValue(An.current.join(", ")),Ze&&console.log("".concat(Ze,":"),Et.current,An.current),Et.current}var Je=null,ht=ce.memo(function(){var Te=$e();return ce.createElement("h1",null,"Render Times: ",Te)});ht.displayName="RenderBlock";var yt=ee(71002),Fe=ee(1413),Be=ee(4942),mt=ee(94184),ze=ee.n(mt);function ut(Te,Ze,Et){var Ot=ce.useRef({});return(!("value"in Ot.current)||Et(Ot.current.condition,Ze))&&(Ot.current.value=Te(),Ot.current.condition=Ze),Ot.current.value}var rt={},Tt=[],Bt=function(Ze){Tt.push(Ze)};function en(Te,Ze){if(0)var Et}function ct(Te,Ze){if(0)var Et}function Ie(){rt={}}function Mt(Te,Ze,Et){!Ze&&!rt[Et]&&(Te(!1,Et),rt[Et]=!0)}function vn(Te,Ze){Mt(en,Te,Ze)}function qt(Te,Ze){Mt(ct,Te,Ze)}vn.preMessage=Bt,vn.resetWarned=Ie,vn.noteOnce=qt;var Nt=vn;function Kt(Te,Ze){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ot=new Set;function Yt(An,ar){var wr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Un=Ot.has(An);if(Nt(!Un,"Warning: There may be circular references"),Un)return!1;if(An===ar)return!0;if(Et&&wr>1)return!1;Ot.add(An);var Gn=wr+1;if(Array.isArray(An)){if(!Array.isArray(ar)||An.length!==ar.length)return!1;for(var Sr=0;Sr<An.length;Sr++)if(!Yt(An[Sr],ar[Sr],Gn))return!1;return!0}if(An&&ar&&(0,yt.Z)(An)==="object"&&(0,yt.Z)(ar)==="object"){var Nn=Object.keys(An);return Nn.length!==Object.keys(ar).length?!1:Nn.every(function(Ur){return Yt(An[Ur],ar[Ur],Gn)})}return!1}return Yt(Te,Ze)}var nn=Kt;function Cn(Te,Ze){for(var Et=Te,Ot=0;Ot<Ze.length;Ot+=1){if(Et==null)return;Et=Et[Ze[Ot]]}return Et}var Sn=ce.createContext({renderWithProps:!1}),tn=Sn,In="RC_TABLE_KEY";function br(Te){return Te==null?[]:Array.isArray(Te)?Te:[Te]}function gn(Te){var Ze=[],Et={};return Te.forEach(function(Ot){for(var Yt=Ot||{},An=Yt.key,ar=Yt.dataIndex,wr=An||br(ar).join("-")||In;Et[wr];)wr="".concat(wr,"_next");Et[wr]=!0,Ze.push(wr)}),Ze}function Ye(Te){return Te!=null}function ve(Te){return Te&&(0,yt.Z)(Te)==="object"&&!Array.isArray(Te)&&!ce.isValidElement(Te)}function he(Te,Ze,Et,Ot,Yt,An){var ar=ce.useContext(tn),wr=st(),Un=ut(function(){if(Ye(Ot))return[Ot];var Gn=Ze==null||Ze===""?[]:Array.isArray(Ze)?Ze:[Ze],Sr=Cn(Te,Gn),Nn=Sr,Ur=void 0;if(Yt){var xa=Yt(Sr,Te,Et);ve(xa)?(Nn=xa.children,Ur=xa.props,ar.renderWithProps=!0):Nn=xa}return[Nn,Ur]},[wr,Te,Ot,Ze,Yt,Et],function(Gn,Sr){if(An){var Nn=(0,Me.Z)(Gn,2),Ur=Nn[1],xa=(0,Me.Z)(Sr,2),wa=xa[1];return An(wa,Ur)}return ar.renderWithProps?!0:!nn(Gn,Sr,!0)});return Un}function be(Te,Ze,Et,Ot){var Yt=Te+Ze-1;return Te<=Ot&&Yt>=Et}function ge(Te,Ze){return Pe(ue,function(Et){var Ot=be(Te,Ze||1,Et.hoverStartRow,Et.hoverEndRow);return[Ot,Et.onHover]})}var se=function(Ze){var Et=Ze.ellipsis,Ot=Ze.rowType,Yt=Ze.children,An,ar=Et===!0?{showTitle:!0}:Et;return ar&&(ar.showTitle||Ot==="header")&&(typeof Yt=="string"||typeof Yt=="number"?An=Yt.toString():ce.isValidElement(Yt)&&typeof Yt.props.children=="string"&&(An=Yt.props.children)),An};function je(Te){var Ze,Et,Ot,Yt,An,ar,wr,Un,Gn=Te.component,Sr=Te.children,Nn=Te.ellipsis,Ur=Te.scope,xa=Te.prefixCls,wa=Te.className,Ka=Te.align,Yr=Te.record,ri=Te.render,qa=Te.dataIndex,Ti=Te.renderIndex,vi=Te.shouldCellUpdate,hi=Te.index,bi=Te.rowType,_i=Te.colSpan,Fo=Te.rowSpan,Ii=Te.fixLeft,Wa=Te.fixRight,Ha=Te.firstFixLeft,ei=Te.lastFixLeft,Li=Te.firstFixRight,ao=Te.lastFixRight,nl=Te.appendNode,Po=Te.additionalProps,Oo=Po===void 0?{}:Po,Ml=Te.isSticky,vl="".concat(xa,"-cell"),Kl=Pe(ue,["supportSticky","allColumnsFixedLeft"]),Gl=Kl.supportSticky,Is=Kl.allColumnsFixedLeft,Ps=he(Yr,qa,Ti,Sr,ri,vi),Yl=(0,Me.Z)(Ps,2),_s=Yl[0],ps=Yl[1],gs={},Jo=typeof Ii=="number"&&Gl,Qi=typeof Wa=="number"&&Gl;Jo&&(gs.position="sticky",gs.left=Ii),Qi&&(gs.position="sticky",gs.right=Wa);var Ni=(Ze=(Et=(Ot=ps==null?void 0:ps.colSpan)!==null&&Ot!==void 0?Ot:Oo.colSpan)!==null&&Et!==void 0?Et:_i)!==null&&Ze!==void 0?Ze:1,So=(Yt=(An=(ar=ps==null?void 0:ps.rowSpan)!==null&&ar!==void 0?ar:Oo.rowSpan)!==null&&An!==void 0?An:Fo)!==null&&Yt!==void 0?Yt:1,Co=ge(hi,So),Xi=(0,Me.Z)(Co,2),rs=Xi[0],$i=Xi[1],bl=function(js){var bu;Yr&&$i(hi,hi+So-1),Oo==null||(bu=Oo.onMouseEnter)===null||bu===void 0||bu.call(Oo,js)},cs=function(js){var bu;Yr&&$i(-1,-1),Oo==null||(bu=Oo.onMouseLeave)===null||bu===void 0||bu.call(Oo,js)};if(Ni===0||So===0)return null;var es=(wr=Oo.title)!==null&&wr!==void 0?wr:se({rowType:bi,ellipsis:Nn,children:_s}),au=ze()(vl,wa,(Un={},(0,Be.Z)(Un,"".concat(vl,"-fix-left"),Jo&&Gl),(0,Be.Z)(Un,"".concat(vl,"-fix-left-first"),Ha&&Gl),(0,Be.Z)(Un,"".concat(vl,"-fix-left-last"),ei&&Gl),(0,Be.Z)(Un,"".concat(vl,"-fix-left-all"),ei&&Is&&Gl),(0,Be.Z)(Un,"".concat(vl,"-fix-right"),Qi&&Gl),(0,Be.Z)(Un,"".concat(vl,"-fix-right-first"),Li&&Gl),(0,Be.Z)(Un,"".concat(vl,"-fix-right-last"),ao&&Gl),(0,Be.Z)(Un,"".concat(vl,"-ellipsis"),Nn),(0,Be.Z)(Un,"".concat(vl,"-with-append"),nl),(0,Be.Z)(Un,"".concat(vl,"-fix-sticky"),(Jo||Qi)&&Ml&&Gl),(0,Be.Z)(Un,"".concat(vl,"-row-hover"),!ps&&rs),Un),Oo.className,ps==null?void 0:ps.className),nu={};Ka&&(nu.textAlign=Ka);var Au=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},gs),Oo.style),nu),ps==null?void 0:ps.style),li=_s;return(0,yt.Z)(li)==="object"&&!Array.isArray(li)&&!ce.isValidElement(li)&&(li=null),Nn&&(ei||Li)&&(li=ce.createElement("span",{className:"".concat(vl,"-content")},li)),ce.createElement(Gn,(0,Xe.Z)({},ps,Oo,{className:au,style:Au,title:es,scope:Ur,onMouseEnter:bl,onMouseLeave:cs,colSpan:Ni!==1?Ni:null,rowSpan:So!==1?So:null}),nl,li)}var xt=ce.memo(je);function En(Te,Ze,Et,Ot,Yt,An){var ar=Et[Te]||{},wr=Et[Ze]||{},Un,Gn;ar.fixed==="left"?Un=Ot.left[Yt==="rtl"?Ze:Te]:wr.fixed==="right"&&(Gn=Ot.right[Yt==="rtl"?Te:Ze]);var Sr=!1,Nn=!1,Ur=!1,xa=!1,wa=Et[Ze+1],Ka=Et[Te-1],Yr=!(An!=null&&An.children);if(Yt==="rtl"){if(Un!==void 0){var ri=Ka&&Ka.fixed==="left";xa=!ri&&Yr}else if(Gn!==void 0){var qa=wa&&wa.fixed==="right";Ur=!qa&&Yr}}else if(Un!==void 0){var Ti=wa&&wa.fixed==="left";Sr=!Ti&&Yr}else if(Gn!==void 0){var vi=Ka&&Ka.fixed==="right";Nn=!vi&&Yr}return{fixLeft:Un,fixRight:Gn,lastFixLeft:Sr,firstFixRight:Nn,lastFixRight:Ur,firstFixLeft:xa,isSticky:Ot.isSticky}}var un=ce.createContext({}),Pn=un;function Xn(Te){var Ze=Te.className,Et=Te.index,Ot=Te.children,Yt=Te.colSpan,An=Yt===void 0?1:Yt,ar=Te.rowSpan,wr=Te.align,Un=Pe(ue,["prefixCls","direction"]),Gn=Un.prefixCls,Sr=Un.direction,Nn=ce.useContext(Pn),Ur=Nn.scrollColumnIndex,xa=Nn.stickyOffsets,wa=Nn.flattenColumns,Ka=Nn.columns,Yr=Et+An-1,ri=Yr+1===Ur?An+1:An,qa=En(Et,Et+ri-1,wa,xa,Sr,Ka==null?void 0:Ka[Et]);return ce.createElement(xt,(0,Xe.Z)({className:Ze,index:Et,component:"td",prefixCls:Gn,record:null,dataIndex:null,align:wr,colSpan:ri,rowSpan:ar,render:function(){return Ot}},qa))}var _n=ee(45987),Vt=["children"];function yn(Te){var Ze=Te.children,Et=(0,_n.Z)(Te,Vt);return ce.createElement("tr",Et,Ze)}function Kn(Te){var Ze=Te.children;return Ze}Kn.Row=yn,Kn.Cell=Xn;var On=Kn;function Qt(Te){var Ze=Te.children,Et=Te.stickyOffsets,Ot=Te.flattenColumns,Yt=Te.columns,An=Pe(ue,"prefixCls"),ar=Ot.length-1,wr=Ot[ar],Un=ce.useMemo(function(){return{stickyOffsets:Et,flattenColumns:Ot,scrollColumnIndex:wr!=null&&wr.scrollbar?ar:null,columns:Yt}},[wr,Ot,ar,Et,Yt]);return ce.createElement(Pn.Provider,{value:Un},ce.createElement("tfoot",{className:"".concat(An,"-summary")},Ze))}var Dr=tt(Qt),jt=On;function rn(Te){var Ze=ce.useRef();Ze.current=Te;var Et=ce.useCallback(function(){for(var Ot,Yt=arguments.length,An=new Array(Yt),ar=0;ar<Yt;ar++)An[ar]=arguments[ar];return(Ot=Ze.current)===null||Ot===void 0?void 0:Ot.call.apply(Ot,[Ze].concat(An))},[]);return Et}function Ir(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ur=Ir()?ce.useLayoutEffect:ce.useEffect,Rr=function(Ze,Et){var Ot=React.useRef(!0);ur(function(){return Ze(Ot.current)},Et),ur(function(){return Ot.current=!1,function(){Ot.current=!0}},[])},aa=function(Ze,Et){Rr(function(Ot){if(!Ot)return Ze()},Et)},qn=null;function Pa(Te){var Ze=React.useRef(!1),Et=React.useState(Te),Ot=_slicedToArray(Et,2),Yt=Ot[0],An=Ot[1];React.useEffect(function(){return Ze.current=!1,function(){Ze.current=!0}},[]);function ar(wr,Un){Un&&Ze.current||An(wr)}return[Yt,ar]}function Fa(Te){return Te!==void 0}function _a(Te,Ze){var Et=Ze||{},Ot=Et.defaultValue,Yt=Et.value,An=Et.onChange,ar=Et.postState,wr=useState(function(){return Fa(Yt)?Yt:Fa(Ot)?typeof Ot=="function"?Ot():Ot:typeof Te=="function"?Te():Te}),Un=_slicedToArray(wr,2),Gn=Un[0],Sr=Un[1],Nn=Yt!==void 0?Yt:Gn,Ur=ar?ar(Nn):Nn,xa=useEvent(An),wa=useState([Nn]),Ka=_slicedToArray(wa,2),Yr=Ka[0],ri=Ka[1];useLayoutUpdateEffect(function(){var Ti=Yr[0];Gn!==Ti&&xa(Gn,Ti)},[Yr]),useLayoutUpdateEffect(function(){Fa(Yt)||Sr(Yt)},[Yt]);var qa=useEvent(function(Ti,vi){Sr(Ti,vi),ri([Nn],vi)});return[Ur,qa]}var Xr=ee(35110);function Da(Te,Ze){typeof Te=="function"?Te(Ze):(0,yt.Z)(Te)==="object"&&Te&&"current"in Te&&(Te.current=Ze)}function Mi(){for(var Te=arguments.length,Ze=new Array(Te),Et=0;Et<Te;Et++)Ze[Et]=arguments[Et];var Ot=Ze.filter(function(Yt){return Yt});return Ot.length<=1?Ot[0]:function(Yt){Ze.forEach(function(An){Da(An,Yt)})}}function Si(){for(var Te=arguments.length,Ze=new Array(Te),Et=0;Et<Te;Et++)Ze[Et]=arguments[Et];return useMemo(function(){return Mi.apply(void 0,Ze)},Ze,function(Ot,Yt){return Ot.length!==Yt.length||Ot.every(function(An,ar){return An!==Yt[ar]})})}function zi(Te){var Ze,Et,Ot=isMemo(Te)?Te.type.type:Te.type;return!(typeof Ot=="function"&&!((Ze=Ot.prototype)!==null&&Ze!==void 0&&Ze.render)||typeof Te=="function"&&!((Et=Te.prototype)!==null&&Et!==void 0&&Et.render))}function fi(Te){return!isValidElement(Te)||isFragment(Te)?!1:zi(Te)}function Tn(Te,Ze,Et,Ot){if(!Ze.length)return Et;var Yt=_toArray(Ze),An=Yt[0],ar=Yt.slice(1),wr;return!Te&&typeof An=="number"?wr=[]:Array.isArray(Te)?wr=_toConsumableArray(Te):wr=_objectSpread({},Te),Ot&&Et===void 0&&ar.length===1?delete wr[An][ar[0]]:wr[An]=Tn(wr[An],ar,Et,Ot),wr}function bn(Te,Ze,Et){var Ot=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Ze.length&&Ot&&Et===void 0&&!get(Te,Ze.slice(0,-1))?Te:Tn(Te,Ze,Et,Ot)}function ir(Te){return _typeof(Te)==="object"&&Te!==null&&Object.getPrototypeOf(Te)===Object.prototype}function Cr(Te){return Array.isArray(Te)?[]:{}}var Or=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Lr(){for(var Te=arguments.length,Ze=new Array(Te),Et=0;Et<Te;Et++)Ze[Et]=arguments[Et];var Ot=Cr(Ze[0]);return Ze.forEach(function(Yt){function An(ar,wr){var Un=new Set(wr),Gn=get(Yt,ar),Sr=Array.isArray(Gn);if(Sr||ir(Gn)){if(!Un.has(Gn)){Un.add(Gn);var Nn=get(Ot,ar);Sr?Ot=bn(Ot,ar,[]):(!Nn||_typeof(Nn)!=="object")&&(Ot=bn(Ot,ar,Cr(Gn))),Or(Gn).forEach(function(Ur){An([].concat(_toConsumableArray(ar),[Ur]),Un)})}}else Ot=bn(Ot,ar,Gn)}An([])}),Ot}var sa=ee(48555),pn=function(Te){if(!Te)return!1;if(Te instanceof Element){if(Te.offsetParent)return!0;if(Te.getBBox){var Ze=Te.getBBox(),Et=Ze.width,Ot=Ze.height;if(Et||Ot)return!0}if(Te.getBoundingClientRect){var Yt=Te.getBoundingClientRect(),An=Yt.width,ar=Yt.height;if(An||ar)return!0}}return!1},At=function(Ze){if(Ir()&&window.document.documentElement){var Et=Array.isArray(Ze)?Ze:[Ze],Ot=window.document.documentElement;return Et.some(function(Yt){return Yt in Ot.style})}return!1},Zt=function(Ze,Et){if(!At(Ze))return!1;var Ot=document.createElement("div"),Yt=Ot.style[Ze];return Ot.style[Ze]=Et,Ot.style[Ze]!==Yt};function on(Te,Ze){return!Array.isArray(Te)&&Ze!==void 0?Zt(Te,Ze):At(Te)}var Yn;function Dt(Te){if(typeof document=="undefined")return 0;if(Te||Yn===void 0){var Ze=document.createElement("div");Ze.style.width="100%",Ze.style.height="200px";var Et=document.createElement("div"),Ot=Et.style;Ot.position="absolute",Ot.top="0",Ot.left="0",Ot.pointerEvents="none",Ot.visibility="hidden",Ot.width="200px",Ot.height="150px",Ot.overflow="hidden",Et.appendChild(Ze),document.body.appendChild(Et);var Yt=Ze.offsetWidth;Et.style.overflow="scroll";var An=Ze.offsetWidth;Yt===An&&(An=Et.clientWidth),document.body.removeChild(Et),Yn=Yt-An}return Yn}function fn(Te){var Ze=Te.match(/^(.*)px$/),Et=Number(Ze==null?void 0:Ze[1]);return Number.isNaN(Et)?Dt():Et}function Vn(Te){if(typeof document=="undefined"||!Te||!(Te instanceof Element))return{width:0,height:0};var Ze=getComputedStyle(Te,"::-webkit-scrollbar"),Et=Ze.width,Ot=Ze.height;return{width:fn(Et),height:fn(Ot)}}var kn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,rr=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,fr="".concat(kn," ").concat(rr).split(/[\s\n]+/),mn="aria-",Ta="data-";function ha(Te,Ze){return Te.indexOf(Ze)===0}function ya(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Et;Ze===!1?Et={aria:!0,data:!0,attr:!0}:Ze===!0?Et={aria:!0}:Et=(0,Fe.Z)({},Ze);var Ot={};return Object.keys(Te).forEach(function(Yt){(Et.aria&&(Yt==="role"||ha(Yt,mn))||Et.data&&ha(Yt,Ta)||Et.attr&&fr.includes(Yt))&&(Ot[Yt]=Te[Yt])}),Ot}function Sa(Te,Ze,Et,Ot,Yt,An,ar){Te.push({record:Ze,indent:Et,index:ar});var wr=An(Ze),Un=Yt==null?void 0:Yt.has(wr);if(Ze&&Array.isArray(Ze[Ot])&&Un)for(var Gn=0;Gn<Ze[Ot].length;Gn+=1)Sa(Te,Ze[Ot][Gn],Et+1,Ot,Yt,An,Gn)}function Ma(Te,Ze,Et,Ot){var Yt=ce.useMemo(function(){if(Et!=null&&Et.size){for(var An=[],ar=0;ar<(Te==null?void 0:Te.length);ar+=1){var wr=Te[ar];Sa(An,wr,0,Ze,Et,Ot,ar)}return An}return Te==null?void 0:Te.map(function(Un,Gn){return{record:Un,indent:0,index:Gn}})},[Te,Ze,Et,Ot]);return Yt}function pa(Te){var Ze=Te.prefixCls,Et=Te.children,Ot=Te.component,Yt=Te.cellComponent,An=Te.className,ar=Te.expanded,wr=Te.colSpan,Un=Te.isEmpty,Gn=Pe(ue,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Sr=Gn.scrollbarSize,Nn=Gn.fixHeader,Ur=Gn.fixColumn,xa=Gn.componentWidth,wa=Gn.horizonScroll,Ka=Et;return(Un?wa&&xa:Ur)&&(Ka=ce.createElement("div",{style:{width:xa-(Nn?Sr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ze,"-expanded-row-fixed")},Ka)),ce.createElement(Ot,{className:An,style:{display:ar?null:"none"}},ce.createElement(xt,{component:Yt,prefixCls:Ze,colSpan:wr},Ka))}var Er=pa;function qr(Te,Ze,Et,Ot){var Yt=Pe(ue,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),An=Yt.flattenColumns,ar=Yt.expandableType,wr=Yt.expandedKeys,Un=Yt.childrenColumnName,Gn=Yt.onTriggerExpand,Sr=Yt.rowExpandable,Nn=Yt.onRow,Ur=Yt.expandRowByClick,xa=Yt.rowClassName,wa=ar==="nest",Ka=ar==="row"&&(!Sr||Sr(Te)),Yr=Ka||wa,ri=wr&&wr.has(Ze),qa=Un&&Te&&Te[Un],Ti=rn(Gn),vi=Nn==null?void 0:Nn(Te,Et),hi=vi==null?void 0:vi.onClick,bi=function(Wa){Ur&&Yr&&Gn(Te,Wa);for(var Ha=arguments.length,ei=new Array(Ha>1?Ha-1:0),Li=1;Li<Ha;Li++)ei[Li-1]=arguments[Li];hi==null||hi.apply(void 0,[Wa].concat(ei))},_i;typeof xa=="string"?_i=xa:typeof xa=="function"&&(_i=xa(Te,Et,Ot));var Fo=gn(An);return(0,Fe.Z)((0,Fe.Z)({},Yt),{},{columnsKey:Fo,nestExpandable:wa,expanded:ri,hasNestChildren:qa,record:Te,onTriggerExpand:Ti,rowSupportExpand:Ka,expandable:Yr,rowProps:(0,Fe.Z)((0,Fe.Z)({},vi),{},{className:ze()(_i,vi==null?void 0:vi.className),onClick:bi})})}function Hi(Te,Ze,Et,Ot,Yt){var An=Te.record,ar=Te.prefixCls,wr=Te.columnsKey,Un=Te.fixedInfoList,Gn=Te.expandIconColumnIndex,Sr=Te.nestExpandable,Nn=Te.indentSize,Ur=Te.expandIcon,xa=Te.expanded,wa=Te.hasNestChildren,Ka=Te.onTriggerExpand,Yr=wr[Et],ri=Un[Et],qa;Et===(Gn||0)&&Sr&&(qa=ce.createElement(ce.Fragment,null,ce.createElement("span",{style:{paddingLeft:"".concat(Nn*Ot,"px")},className:"".concat(ar,"-row-indent indent-level-").concat(Ot)}),Ur({prefixCls:ar,expanded:xa,expandable:wa,record:An,onExpand:Ka})));var Ti;return Ze.onCell&&(Ti=Ze.onCell(An,Yt)),{key:Yr,fixedInfo:ri,appendCellNode:qa,additionalCellProps:Ti||{}}}function Fi(Te){var Ze=Te.className,Et=Te.style,Ot=Te.record,Yt=Te.index,An=Te.renderIndex,ar=Te.rowKey,wr=Te.indent,Un=wr===void 0?0:wr,Gn=Te.rowComponent,Sr=Te.cellComponent,Nn=Te.scopeCellComponent,Ur=qr(Ot,ar,Yt,Un),xa=Ur.prefixCls,wa=Ur.flattenColumns,Ka=Ur.expandedRowClassName,Yr=Ur.expandedRowRender,ri=Ur.rowProps,qa=Ur.expanded,Ti=Ur.rowSupportExpand,vi=ce.useState(!1),hi=(0,Me.Z)(vi,2),bi=hi[0],_i=hi[1];ce.useEffect(function(){qa&&_i(!0)},[qa]);var Fo=ce.createElement(Gn,(0,Xe.Z)({},ri,{"data-row-key":ar,className:ze()(Ze,"".concat(xa,"-row"),"".concat(xa,"-row-level-").concat(Un),ri==null?void 0:ri.className),style:(0,Fe.Z)((0,Fe.Z)({},Et),ri==null?void 0:ri.style)}),wa.map(function(ei,Li){var ao=ei.render,nl=ei.dataIndex,Po=ei.className,Oo=Hi(Ur,ei,Li,Un,Yt),Ml=Oo.key,vl=Oo.fixedInfo,Kl=Oo.appendCellNode,Gl=Oo.additionalCellProps;return ce.createElement(xt,(0,Xe.Z)({className:Po,ellipsis:ei.ellipsis,align:ei.align,scope:ei.rowScope,component:ei.rowScope?Nn:Sr,prefixCls:xa,key:Ml,record:Ot,index:Yt,renderIndex:An,dataIndex:nl,render:ao,shouldCellUpdate:ei.shouldCellUpdate},vl,{appendNode:Kl,additionalProps:Gl}))})),Ii;if(Ti&&(bi||qa)){var Wa=Yr(Ot,Yt,Un+1,qa),Ha=Ka&&Ka(Ot,Yt,Un);Ii=ce.createElement(Er,{expanded:qa,className:ze()("".concat(xa,"-expanded-row"),"".concat(xa,"-expanded-row-level-").concat(Un+1),Ha),prefixCls:xa,component:Gn,cellComponent:Sr,colSpan:wa.length,isEmpty:!1},Wa)}return ce.createElement(ce.Fragment,null,Fo,Ii)}Fi.displayName="BodyRow";var $a=tt(Fi);function ni(Te){var Ze=Te.columnKey,Et=Te.onColumnResize,Ot=ce.useRef();return ce.useEffect(function(){Ot.current&&Et(Ze,Ot.current.offsetWidth)},[]),ce.createElement(sa.Z,{data:Ze},ce.createElement("td",{ref:Ot,style:{padding:0,border:0,height:0}},ce.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function no(Te){var Ze=Te.prefixCls,Et=Te.columnsKey,Ot=Te.onColumnResize;return ce.createElement("tr",{"aria-hidden":"true",className:"".concat(Ze,"-measure-row"),style:{height:0,fontSize:0}},ce.createElement(sa.Z.Collection,{onBatchResize:function(An){An.forEach(function(ar){var wr=ar.data,Un=ar.size;Ot(wr,Un.offsetWidth)})}},Et.map(function(Yt){return ce.createElement(ni,{key:Yt,columnKey:Yt,onColumnResize:Ot})})))}function oi(Te){var Ze=Te.data,Et=Te.measureColumnWidth,Ot=Pe(ue,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Yt=Ot.prefixCls,An=Ot.getComponent,ar=Ot.onColumnResize,wr=Ot.flattenColumns,Un=Ot.getRowKey,Gn=Ot.expandedKeys,Sr=Ot.childrenColumnName,Nn=Ot.emptyNode,Ur=Ma(Ze,Sr,Gn,Un),xa=ce.useRef({renderWithProps:!1}),wa=An(["body","wrapper"],"tbody"),Ka=An(["body","row"],"tr"),Yr=An(["body","cell"],"td"),ri=An(["body","cell"],"th"),qa;Ze.length?qa=Ur.map(function(vi,hi){var bi=vi.record,_i=vi.indent,Fo=vi.index,Ii=Un(bi,hi);return ce.createElement($a,{key:Ii,rowKey:Ii,record:bi,index:hi,renderIndex:Fo,rowComponent:Ka,cellComponent:Yr,scopeCellComponent:ri,getRowKey:Un,indent:_i})}):qa=ce.createElement(Er,{expanded:!0,className:"".concat(Yt,"-placeholder"),prefixCls:Yt,component:Ka,cellComponent:Yr,colSpan:wr.length,isEmpty:!0},Nn);var Ti=gn(wr);return ce.createElement(tn.Provider,{value:xa.current},ce.createElement(wa,{className:"".concat(Yt,"-tbody")},Et&&ce.createElement(no,{prefixCls:Yt,columnsKey:Ti,onColumnResize:ar}),qa))}oi.displayName="Body";var so=tt(oi),ta=["expandable"],to="RC_TABLE_INTERNAL_COL_DEFINE";function xo(Te){var Ze=Te.expandable,Et=(0,_n.Z)(Te,ta),Ot;return"expandable"in Te?Ot=(0,Fe.Z)((0,Fe.Z)({},Et),Ze):Ot=Et,Ot.showExpandColumn===!1&&(Ot.expandIconColumnIndex=-1),Ot}var xl=["columnType"];function ll(Te){for(var Ze=Te.colWidths,Et=Te.columns,Ot=Te.columCount,Yt=[],An=Ot||Et.length,ar=!1,wr=An-1;wr>=0;wr-=1){var Un=Ze[wr],Gn=Et&&Et[wr],Sr=Gn&&Gn[to];if(Un||Sr||ar){var Nn=Sr||{},Ur=Nn.columnType,xa=(0,_n.Z)(Nn,xl);Yt.unshift(ce.createElement("col",(0,Xe.Z)({key:wr,style:{width:Un}},xa))),ar=!0}}return ce.createElement("colgroup",null,Yt)}var Uo=ll,co=ee(74902),wl=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Yo(Te,Ze){return(0,ce.useMemo)(function(){for(var Et=[],Ot=0;Ot<Ze;Ot+=1){var Yt=Te[Ot];if(Yt!==void 0)Et[Ot]=Yt;else return null}return Et},[Te.join("_"),Ze])}var gl=ce.forwardRef(function(Te,Ze){var Et=Te.className,Ot=Te.noData,Yt=Te.columns,An=Te.flattenColumns,ar=Te.colWidths,wr=Te.columCount,Un=Te.stickyOffsets,Gn=Te.direction,Sr=Te.fixHeader,Nn=Te.stickyTopOffset,Ur=Te.stickyBottomOffset,xa=Te.stickyClassName,wa=Te.onScroll,Ka=Te.maxContentScroll,Yr=Te.children,ri=(0,_n.Z)(Te,wl),qa=Pe(ue,["prefixCls","scrollbarSize","isSticky"]),Ti=qa.prefixCls,vi=qa.scrollbarSize,hi=qa.isSticky,bi=hi&&!Sr?0:vi,_i=ce.useRef(null),Fo=ce.useCallback(function(Po){Da(Ze,Po),Da(_i,Po)},[]);ce.useEffect(function(){var Po;function Oo(Ml){var vl=Ml,Kl=vl.currentTarget,Gl=vl.deltaX;Gl&&(wa({currentTarget:Kl,scrollLeft:Kl.scrollLeft+Gl}),Ml.preventDefault())}return(Po=_i.current)===null||Po===void 0||Po.addEventListener("wheel",Oo),function(){var Ml;(Ml=_i.current)===null||Ml===void 0||Ml.removeEventListener("wheel",Oo)}},[]);var Ii=ce.useMemo(function(){return An.every(function(Po){return Po.width})},[An]),Wa=An[An.length-1],Ha={fixed:Wa?Wa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ti,"-cell-scrollbar")}}},ei=(0,ce.useMemo)(function(){return bi?[].concat((0,co.Z)(Yt),[Ha]):Yt},[bi,Yt]),Li=(0,ce.useMemo)(function(){return bi?[].concat((0,co.Z)(An),[Ha]):An},[bi,An]),ao=(0,ce.useMemo)(function(){var Po=Un.right,Oo=Un.left;return(0,Fe.Z)((0,Fe.Z)({},Un),{},{left:Gn==="rtl"?[].concat((0,co.Z)(Oo.map(function(Ml){return Ml+bi})),[0]):Oo,right:Gn==="rtl"?Po:[].concat((0,co.Z)(Po.map(function(Ml){return Ml+bi})),[0]),isSticky:hi})},[bi,Un,hi]),nl=Yo(ar,wr);return ce.createElement("div",{style:(0,Fe.Z)({overflow:"hidden"},hi?{top:Nn,bottom:Ur}:{}),ref:Fo,className:ze()(Et,(0,Be.Z)({},xa,!!xa))},ce.createElement("table",{style:{tableLayout:"fixed",visibility:Ot||nl?null:"hidden"}},(!Ot||!Ka||Ii)&&ce.createElement(Uo,{colWidths:nl?[].concat((0,co.Z)(nl),[bi]):[],columCount:wr+1,columns:Li}),Yr((0,Fe.Z)((0,Fe.Z)({},ri),{},{stickyOffsets:ao,columns:ei,flattenColumns:Li}))))});gl.displayName="FixedHolder";var zl=ce.memo(gl);function Sl(Te){var Ze=Te.cells,Et=Te.stickyOffsets,Ot=Te.flattenColumns,Yt=Te.rowComponent,An=Te.cellComponent,ar=Te.tdCellComponent,wr=Te.onHeaderRow,Un=Te.index,Gn=Pe(ue,["prefixCls","direction"]),Sr=Gn.prefixCls,Nn=Gn.direction,Ur;wr&&(Ur=wr(Ze.map(function(wa){return wa.column}),Un));var xa=gn(Ze.map(function(wa){return wa.column}));return ce.createElement(Yt,Ur,Ze.map(function(wa,Ka){var Yr=wa.column,ri=En(wa.colStart,wa.colEnd,Ot,Et,Nn,Yr),qa;return Yr&&Yr.onHeaderCell&&(qa=wa.column.onHeaderCell(Yr)),ce.createElement(xt,(0,Xe.Z)({},wa,{scope:Yr.title?wa.colSpan>1?"colgroup":"col":null,ellipsis:Yr.ellipsis,align:Yr.align,component:Yr.title?An:ar,prefixCls:Sr,key:xa[Ka]},ri,{additionalProps:qa,rowType:"header"}))}))}Sl.displayName="HeaderRow";var Cl=Sl;function wi(Te){var Ze=[];function Et(ar,wr){var Un=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ze[Un]=Ze[Un]||[];var Gn=wr,Sr=ar.filter(Boolean).map(function(Nn){var Ur={key:Nn.key,className:Nn.className||"",children:Nn.title,column:Nn,colStart:Gn},xa=1,wa=Nn.children;return wa&&wa.length>0&&(xa=Et(wa,Gn,Un+1).reduce(function(Ka,Yr){return Ka+Yr},0),Ur.hasSubColumns=!0),"colSpan"in Nn&&(xa=Nn.colSpan),"rowSpan"in Nn&&(Ur.rowSpan=Nn.rowSpan),Ur.colSpan=xa,Ur.colEnd=Ur.colStart+xa-1,Ze[Un].push(Ur),Gn+=xa,xa});return Sr}Et(Te,0);for(var Ot=Ze.length,Yt=function(wr){Ze[wr].forEach(function(Un){!("rowSpan"in Un)&&!Un.hasSubColumns&&(Un.rowSpan=Ot-wr)})},An=0;An<Ot;An+=1)Yt(An);return Ze}function ko(Te){var Ze=Te.stickyOffsets,Et=Te.columns,Ot=Te.flattenColumns,Yt=Te.onHeaderRow,An=Pe(ue,["prefixCls","getComponent"]),ar=An.prefixCls,wr=An.getComponent,Un=ce.useMemo(function(){return wi(Et)},[Et]),Gn=wr(["header","wrapper"],"thead"),Sr=wr(["header","row"],"tr"),Nn=wr(["header","cell"],"th"),Ur=wr(["header","cell"],"td");return ce.createElement(Gn,{className:"".concat(ar,"-thead")},Un.map(function(xa,wa){var Ka=ce.createElement(Cl,{key:wa,flattenColumns:Ot,cells:xa,stickyOffsets:Ze,rowComponent:Sr,cellComponent:Nn,tdCellComponent:Ur,onHeaderRow:Yt,index:wa});return Ka}))}var Pi=tt(ko);function Ci(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Et=[];return ce.Children.forEach(Te,function(Ot){Ot==null&&!Ze.keepEmpty||(Array.isArray(Ot)?Et=Et.concat(Ci(Ot)):(0,Xr.isFragment)(Ot)&&Ot.props?Et=Et.concat(Ci(Ot.props.children,Ze)):Et.push(Ot))}),Et}function Zn(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ze=="number"?Ze:Ze.endsWith("%")?Te*parseFloat(Ze)/100:null}function Mn(Te,Ze){return ce.useMemo(function(){if(Ze&&Ze>0){var Et=0,Ot=0;Te.forEach(function(Gn){var Sr=Zn(Ze,Gn.width);Sr?Et+=Sr:Ot+=1});var Yt=Ze-Et,An=Ot,ar=Yt/Ot,wr=0,Un=Te.map(function(Gn){var Sr=(0,Fe.Z)({},Gn),Nn=Zn(Ze,Sr.width);if(Nn)Sr.width=Nn;else{var Ur=Math.floor(ar);Sr.width=An===1?Yt:Ur,Yt-=Ur,An-=1}return wr+=Sr.width,Sr});return[Un,wr]}return[Te,Ze]},[Te,Ze])}var dr=["children"],Qr=["fixed"];function va(Te){return Ci(Te).filter(function(Ze){return ce.isValidElement(Ze)}).map(function(Ze){var Et=Ze.key,Ot=Ze.props,Yt=Ot.children,An=(0,_n.Z)(Ot,dr),ar=(0,Fe.Z)({key:Et},An);return Yt&&(ar.children=va(Yt)),ar})}function pi(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Te.filter(function(Et){return Et&&(0,yt.Z)(Et)==="object"}).reduce(function(Et,Ot,Yt){var An=Ot.fixed,ar=An===!0?"left":An,wr="".concat(Ze,"-").concat(Yt),Un=Ot.children;return Un&&Un.length>0?[].concat((0,co.Z)(Et),(0,co.Z)(pi(Un,wr).map(function(Gn){return(0,Fe.Z)({fixed:ar},Gn)}))):[].concat((0,co.Z)(Et),[(0,Fe.Z)((0,Fe.Z)({key:wr},Ot),{},{fixed:ar})])},[])}function Ai(Te){for(var Ze=!0,Et=0;Et<Te.length;Et+=1){var Ot=Te[Et];if(Ze&&Ot.fixed!=="left")Ze=!1;else if(!Ze&&Ot.fixed==="left"){warning(!1,"Index ".concat(Et-1," of `columns` missing `fixed='left'` prop."));break}}for(var Yt=!0,An=Te.length-1;An>=0;An-=1){var ar=Te[An];if(Yt&&ar.fixed!=="right")Yt=!1;else if(!Yt&&ar.fixed==="right"){warning(!1,"Index ".concat(An+1," of `columns` missing `fixed='right'` prop."));break}}}function Vi(Te){return Te.map(function(Ze){var Et=Ze.fixed,Ot=(0,_n.Z)(Ze,Qr),Yt=Et;return Et==="left"?Yt="right":Et==="right"&&(Yt="left"),(0,Fe.Z)({fixed:Yt},Ot)})}function ui(Te,Ze){var Et=Te.prefixCls,Ot=Te.columns,Yt=Te.children,An=Te.expandable,ar=Te.expandedKeys,wr=Te.columnTitle,Un=Te.getRowKey,Gn=Te.onTriggerExpand,Sr=Te.expandIcon,Nn=Te.rowExpandable,Ur=Te.expandIconColumnIndex,xa=Te.direction,wa=Te.expandRowByClick,Ka=Te.columnWidth,Yr=Te.fixed,ri=Te.scrollWidth,qa=ce.useMemo(function(){return Ot||va(Yt)},[Ot,Yt]),Ti=ce.useMemo(function(){if(An){var Wa,Ha=qa.slice();if(!Ha.includes(ne)){var ei=Ur||0;ei>=0&&Ha.splice(ei,0,ne)}var Li=Ha.indexOf(ne);Ha=Ha.filter(function(Oo,Ml){return Oo!==ne||Ml===Li});var ao=qa[Li],nl;(Yr==="left"||Yr)&&!Ur?nl="left":(Yr==="right"||Yr)&&Ur===qa.length?nl="right":nl=ao?ao.fixed:null;var Po=(Wa={},(0,Be.Z)(Wa,to,{className:"".concat(Et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Be.Z)(Wa,"title",wr),(0,Be.Z)(Wa,"fixed",nl),(0,Be.Z)(Wa,"className","".concat(Et,"-row-expand-icon-cell")),(0,Be.Z)(Wa,"width",Ka),(0,Be.Z)(Wa,"render",function(Ml,vl,Kl){var Gl=Un(vl,Kl),Is=ar.has(Gl),Ps=Nn?Nn(vl):!0,Yl=Sr({prefixCls:Et,expanded:Is,expandable:Ps,record:vl,onExpand:Gn});return wa?ce.createElement("span",{onClick:function(ps){return ps.stopPropagation()}},Yl):Yl}),Wa);return Ha.map(function(Oo){return Oo===ne?Po:Oo})}return qa.filter(function(Oo){return Oo!==ne})},[An,qa,Un,ar,Sr,xa]),vi=ce.useMemo(function(){var Wa=Ti;return Ze&&(Wa=Ze(Wa)),Wa.length||(Wa=[{render:function(){return null}}]),Wa},[Ze,Ti,xa]),hi=ce.useMemo(function(){return xa==="rtl"?Vi(pi(vi)):pi(vi)},[vi,xa,ri]),bi=Mn(hi,ri),_i=(0,Me.Z)(bi,2),Fo=_i[0],Ii=_i[1];return[vi,Fo,Ii]}var Di=ui;function Eo(Te){var Ze,Et=Te.prefixCls,Ot=Te.record,Yt=Te.onExpand,An=Te.expanded,ar=Te.expandable,wr="".concat(Et,"-row-expand-icon");if(!ar)return ce.createElement("span",{className:ze()(wr,"".concat(Et,"-row-spaced"))});var Un=function(Sr){Yt(Ot,Sr),Sr.stopPropagation()};return ce.createElement("span",{className:ze()(wr,(Ze={},(0,Be.Z)(Ze,"".concat(Et,"-row-expanded"),An),(0,Be.Z)(Ze,"".concat(Et,"-row-collapsed"),!An),Ze)),onClick:Un})}function Zo(Te,Ze,Et){var Ot=[];function Yt(An){(An||[]).forEach(function(ar,wr){Ot.push(Ze(ar,wr)),Yt(ar[Et])})}return Yt(Te),Ot}function Qo(Te,Ze,Et){var Ot=xo(Te),Yt=Ot.expandIcon,An=Ot.expandedRowKeys,ar=Ot.defaultExpandedRowKeys,wr=Ot.defaultExpandAllRows,Un=Ot.expandedRowRender,Gn=Ot.onExpand,Sr=Ot.onExpandedRowsChange,Nn=Ot.childrenColumnName,Ur=Yt||Eo,xa=Nn||"children",wa=ce.useMemo(function(){return Un?"row":Te.expandable&&Te.internalHooks===de&&Te.expandable.__PARENT_RENDER_ICON__||Ze.some(function(hi){return hi&&(0,yt.Z)(hi)==="object"&&hi[xa]})?"nest":!1},[!!Un,Ze]),Ka=ce.useState(function(){return ar||(wr?Zo(Ze,Et,xa):[])}),Yr=(0,Me.Z)(Ka,2),ri=Yr[0],qa=Yr[1],Ti=ce.useMemo(function(){return new Set(An||ri||[])},[An,ri]),vi=ce.useCallback(function(hi){var bi=Et(hi,Ze.indexOf(hi)),_i,Fo=Ti.has(bi);Fo?(Ti.delete(bi),_i=(0,co.Z)(Ti)):_i=[].concat((0,co.Z)(Ti),[bi]),qa(_i),Gn&&Gn(!Fo,hi),Sr&&Sr(_i)},[Et,Ti,Ze,Gn,Sr]);return[Ot,wa,Ti,Ur,xa,vi]}function He(Te,Ze,Et,Ot){var Yt=Te.map(function(An,ar){return En(ar,ar,Te,Ze,Et,Ot==null?void 0:Ot[ar])});return ut(function(){return Yt},[Yt],function(An,ar){return!nn(An,ar)})}function nt(Te){var Ze=(0,ce.useRef)(Te),Et=(0,ce.useState)({}),Ot=(0,Me.Z)(Et,2),Yt=Ot[1],An=(0,ce.useRef)(null),ar=(0,ce.useRef)([]);function wr(Un){ar.current.push(Un);var Gn=Promise.resolve();An.current=Gn,Gn.then(function(){if(An.current===Gn){var Sr=ar.current,Nn=Ze.current;ar.current=[],Sr.forEach(function(Ur){Ze.current=Ur(Ze.current)}),An.current=null,Nn!==Ze.current&&Yt({})}})}return(0,ce.useEffect)(function(){return function(){An.current=null}},[]),[Ze.current,wr]}function It(Te){var Ze=(0,ce.useRef)(Te||null),Et=(0,ce.useRef)();function Ot(){window.clearTimeout(Et.current)}function Yt(ar){Ze.current=ar,Ot(),Et.current=window.setTimeout(function(){Ze.current=null,Et.current=void 0},100)}function An(){return Ze.current}return(0,ce.useEffect)(function(){return Ot},[]),[Yt,An]}function pe(){var Te=ce.useState(-1),Ze=(0,Me.Z)(Te,2),Et=Ze[0],Ot=Ze[1],Yt=ce.useState(-1),An=(0,Me.Z)(Yt,2),ar=An[0],wr=An[1],Un=ce.useCallback(function(Gn,Sr){Ot(Gn),wr(Sr)},[]);return[Et,ar,Un]}var Oe=Ir()?window:null;function Ae(Te,Ze){var Et=(0,yt.Z)(Te)==="object"?Te:{},Ot=Et.offsetHeader,Yt=Ot===void 0?0:Ot,An=Et.offsetSummary,ar=An===void 0?0:An,wr=Et.offsetScroll,Un=wr===void 0?0:wr,Gn=Et.getContainer,Sr=Gn===void 0?function(){return Oe}:Gn,Nn=Sr()||Oe;return ce.useMemo(function(){var Ur=!!Te;return{isSticky:Ur,stickyClassName:Ur?"".concat(Ze,"-sticky-holder"):"",offsetHeader:Yt,offsetSummary:ar,offsetScroll:Un,container:Nn}},[Un,Yt,ar,Ze,Nn])}function Ke(Te,Ze,Et){var Ot=(0,ce.useMemo)(function(){for(var Yt=[],An=[],ar=0,wr=0,Un=0;Un<Ze;Un+=1)if(Et==="rtl"){An[Un]=wr,wr+=Te[Un]||0;var Gn=Ze-Un-1;Yt[Gn]=ar,ar+=Te[Gn]||0}else{Yt[Un]=ar,ar+=Te[Un]||0;var Sr=Ze-Un-1;An[Sr]=wr,wr+=Te[Sr]||0}return{left:Yt,right:An}},[Te,Ze,Et]);return Ot}var Qe=Ke;function at(Te){var Ze=Te.className,Et=Te.children;return ce.createElement("div",{className:Ze},Et)}var ft=at;function Xt(Te,Ze,Et,Ot){var Yt=Se.unstable_batchedUpdates?function(ar){Se.unstable_batchedUpdates(Et,ar)}:Et;return Te!=null&&Te.addEventListener&&Te.addEventListener(Ze,Yt,Ot),{remove:function(){Te!=null&&Te.removeEventListener&&Te.removeEventListener(Ze,Yt,Ot)}}}var an=/margin|padding|width|height|max|min|offset/,Qn={left:!0,top:!0},cr={cssFloat:1,styleFloat:1,float:1};function Ar(Te){return Te.nodeType===1?Te.ownerDocument.defaultView.getComputedStyle(Te,null):{}}function Dn(Te,Ze,Et){if(Ze=Ze.toLowerCase(),Et==="auto"){if(Ze==="height")return Te.offsetHeight;if(Ze==="width")return Te.offsetWidth}return Ze in Qn||(Qn[Ze]=an.test(Ze)),Qn[Ze]?parseFloat(Et)||0:Et}function $n(Te,Ze){var Et=arguments.length,Ot=Ar(Te);return Ze=cr[Ze]?"cssFloat"in Te.style?"cssFloat":"styleFloat":Ze,Et===1?Ot:Dn(Te,Ze,Ot[Ze]||Te.style[Ze])}function Jn(Te,Ze,Et){var Ot=arguments.length;if(Ze=cr[Ze]?"cssFloat"in Te.style?"cssFloat":"styleFloat":Ze,Ot===3)return typeof Et=="number"&&an.test(Ze)&&(Et="".concat(Et,"px")),Te.style[Ze]=Et,Et;for(var Yt in Ze)Ze.hasOwnProperty(Yt)&&Jn(Te,Yt,Ze[Yt]);return Ar(Te)}function kr(Te){return Te===document.body?document.documentElement.clientWidth:Te.offsetWidth}function Hr(Te){return Te===document.body?window.innerHeight||document.documentElement.clientHeight:Te.offsetHeight}function zr(){var Te=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Ze=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Te,height:Ze}}function Fr(){var Te=document.documentElement.clientWidth,Ze=window.innerHeight||document.documentElement.clientHeight;return{width:Te,height:Ze}}function jr(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function _r(Te){var Ze=Te.getBoundingClientRect(),Et=document.documentElement;return{left:Ze.left+(window.pageXOffset||Et.scrollLeft)-(Et.clientLeft||document.body.clientLeft||0),top:Ze.top+(window.pageYOffset||Et.scrollTop)-(Et.clientTop||document.body.clientTop||0)}}var Jr=function(Ze,Et){var Ot,Yt,An=Ze.scrollBodyRef,ar=Ze.onScroll,wr=Ze.offsetScroll,Un=Ze.container,Gn=Pe(ue,"prefixCls"),Sr=((Ot=An.current)===null||Ot===void 0?void 0:Ot.scrollWidth)||0,Nn=((Yt=An.current)===null||Yt===void 0?void 0:Yt.clientWidth)||0,Ur=Sr&&Nn*(Nn/Sr),xa=ce.useRef(),wa=nt({scrollLeft:0,isHiddenScrollBar:!1}),Ka=(0,Me.Z)(wa,2),Yr=Ka[0],ri=Ka[1],qa=ce.useRef({delta:0,x:0}),Ti=ce.useState(!1),vi=(0,Me.Z)(Ti,2),hi=vi[0],bi=vi[1],_i=function(){bi(!1)},Fo=function(Li){Li.persist(),qa.current.delta=Li.pageX-Yr.scrollLeft,qa.current.x=0,bi(!0),Li.preventDefault()},Ii=function(Li){var ao,nl=Li||((ao=window)===null||ao===void 0?void 0:ao.event),Po=nl.buttons;if(!hi||Po===0){hi&&bi(!1);return}var Oo=qa.current.x+Li.pageX-qa.current.x-qa.current.delta;Oo<=0&&(Oo=0),Oo+Ur>=Nn&&(Oo=Nn-Ur),ar({scrollLeft:Oo/Nn*(Sr+2)}),qa.current.x=Li.pageX},Wa=function(){if(An.current){var Li=_r(An.current).top,ao=Li+An.current.offsetHeight,nl=Un===window?document.documentElement.scrollTop+window.innerHeight:_r(Un).top+Un.clientHeight;ao-Dt()<=nl||Li>=nl-wr?ri(function(Po){return(0,Fe.Z)((0,Fe.Z)({},Po),{},{isHiddenScrollBar:!0})}):ri(function(Po){return(0,Fe.Z)((0,Fe.Z)({},Po),{},{isHiddenScrollBar:!1})})}},Ha=function(Li){ri(function(ao){return(0,Fe.Z)((0,Fe.Z)({},ao),{},{scrollLeft:Li/Sr*Nn||0})})};return ce.useImperativeHandle(Et,function(){return{setScrollLeft:Ha}}),ce.useEffect(function(){var ei=Xt(document.body,"mouseup",_i,!1),Li=Xt(document.body,"mousemove",Ii,!1);return Wa(),function(){ei.remove(),Li.remove()}},[Ur,hi]),ce.useEffect(function(){var ei=Xt(Un,"scroll",Wa,!1),Li=Xt(window,"resize",Wa,!1);return function(){ei.remove(),Li.remove()}},[Un]),ce.useEffect(function(){Yr.isHiddenScrollBar||ri(function(ei){var Li=An.current;return Li?(0,Fe.Z)((0,Fe.Z)({},ei),{},{scrollLeft:Li.scrollLeft/Li.scrollWidth*Li.clientWidth}):ei})},[Yr.isHiddenScrollBar]),Sr<=Nn||!Ur||Yr.isHiddenScrollBar?null:ce.createElement("div",{style:{height:Dt(),width:Nn,bottom:wr},className:"".concat(Gn,"-sticky-scroll")},ce.createElement("div",{onMouseDown:Fo,ref:xa,className:ze()("".concat(Gn,"-sticky-scroll-bar"),(0,Be.Z)({},"".concat(Gn,"-sticky-scroll-bar-active"),hi)),style:{width:"".concat(Ur,"px"),transform:"translate3d(".concat(Yr.scrollLeft,"px, 0, 0)")}}))},kt=ce.forwardRef(Jr);function Pt(Te){return null}var zn=Pt;function Bn(Te){return null}var xr=Bn,Zr="rc-table",$t=[],cn={};function dn(){return"No Data"}function Rn(Te){var Ze,Et=(0,Fe.Z)({rowKey:"key",prefixCls:Zr,emptyText:dn},Te),Ot=Et.prefixCls,Yt=Et.className,An=Et.rowClassName,ar=Et.style,wr=Et.data,Un=Et.rowKey,Gn=Et.scroll,Sr=Et.tableLayout,Nn=Et.direction,Ur=Et.title,xa=Et.footer,wa=Et.summary,Ka=Et.caption,Yr=Et.id,ri=Et.showHeader,qa=Et.components,Ti=Et.emptyText,vi=Et.onRow,hi=Et.onHeaderRow,bi=Et.internalHooks,_i=Et.transformColumns,Fo=Et.internalRefs,Ii=Et.tailor,Wa=Et.sticky,Ha=wr||$t,ei=!!Ha.length,Li=bi===de,ao=ce.useCallback(function(Ds,Zs){return Cn(qa,Ds)||Zs},[qa]),nl=ce.useMemo(function(){return typeof Un=="function"?Un:function(Ds){var Zs=Ds&&Ds[Un];return Zs}},[Un]),Po=ao(["body"]),Oo=pe(),Ml=(0,Me.Z)(Oo,3),vl=Ml[0],Kl=Ml[1],Gl=Ml[2],Is=Qo(Et,Ha,nl),Ps=(0,Me.Z)(Is,6),Yl=Ps[0],_s=Ps[1],ps=Ps[2],gs=Ps[3],Jo=Ps[4],Qi=Ps[5],Ni=Gn==null?void 0:Gn.x,So=ce.useState(0),Co=(0,Me.Z)(So,2),Xi=Co[0],rs=Co[1],$i=Di((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},Et),Yl),{},{expandable:!!Yl.expandedRowRender,columnTitle:Yl.columnTitle,expandedKeys:ps,getRowKey:nl,onTriggerExpand:Qi,expandIcon:gs,expandIconColumnIndex:Yl.expandIconColumnIndex,direction:Nn,scrollWidth:Li&&Ii&&typeof Ni=="number"?Ni:null}),Li?_i:null),bl=(0,Me.Z)($i,3),cs=bl[0],es=bl[1],au=bl[2],nu=au!=null?au:Ni,Au=ce.useMemo(function(){return{columns:cs,flattenColumns:es}},[cs,es]),li=ce.useRef(),Hu=ce.useRef(),js=ce.useRef(),bu=ce.useRef(),Nu=ce.useRef(),vs=ce.useState(!1),Ss=(0,Me.Z)(vs,2),Ls=Ss[0],as=Ss[1],su=ce.useState(!1),ds=(0,Me.Z)(su,2),ru=ds[0],uu=ds[1],cu=nt(new Map),Iu=(0,Me.Z)(cu,2),Us=Iu[0],Pu=Iu[1],Gs=gn(es),du=Gs.map(function(Ds){return Us.get(Ds)}),fu=ce.useMemo(function(){return du},[du.join("_")]),Ys=Qe(fu,es.length,Nn),Vs=Gn&&Ye(Gn.y),Hs=Gn&&Ye(nu)||!!Yl.fixed,Qu=Hs&&es.some(function(Ds){var Zs=Ds.fixed;return Zs}),dc=ce.useRef(),Ts=Ae(Wa,Ot),xu=Ts.isSticky,Rc=Ts.offsetHeader,ec=Ts.offsetSummary,os=Ts.offsetScroll,dl=Ts.stickyClassName,iu=Ts.container,As=ce.useMemo(function(){return wa==null?void 0:wa(Ha)},[wa,Ha]),hu=(Vs||xu)&&ce.isValidElement(As)&&As.type===On&&As.props.fixed,za,Ou,tc;Vs&&(Ou={overflowY:"scroll",maxHeight:Gn.y}),Hs&&(za={overflowX:"auto"},Vs||(Ou={overflowY:"hidden"}),tc={width:nu===!0?"auto":nu,minWidth:"100%"});var kc=ce.useCallback(function(Ds,Zs){pn(li.current)&&Pu(function(Uu){if(Uu.get(Ds)!==Zs){var vc=new Map(Uu);return vc.set(Ds,Zs),vc}return Uu})},[]),Jc=It(null),nc=(0,Me.Z)(Jc,2),Nc=nc[0],qc=nc[1];function ou(Ds,Zs){Zs&&(typeof Zs=="function"?Zs(Ds):Zs.scrollLeft!==Ds&&(Zs.scrollLeft=Ds,Zs.scrollLeft!==Ds&&setTimeout(function(){Zs.scrollLeft=Ds},0)))}var Fu=rn(function(Ds){var Zs=Ds.currentTarget,Uu=Ds.scrollLeft,vc=Nn==="rtl",ks=typeof Uu=="number"?Uu:Zs.scrollLeft,xd=Zs||cn;if(!qc()||qc()===xd){var wd;Nc(xd),ou(ks,Hu.current),ou(ks,js.current),ou(ks,Nu.current),ou(ks,(wd=dc.current)===null||wd===void 0?void 0:wd.setScrollLeft)}var wc=Zs||Hu.current;if(wc){var Sd=wc.scrollWidth,Kc=wc.clientWidth;if(Sd===Kc){as(!1),uu(!1);return}vc?(as(-ks<Sd-Kc),uu(-ks>0)):(as(ks>0),uu(ks<Sd-Kc))}}),Ic=function(){Hs&&js.current?Fu({currentTarget:js.current}):(as(!1),uu(!1))},Fc=function(Zs){var Uu=Zs.width;Uu!==Xi&&(Ic(),rs(li.current?li.current.offsetWidth:Uu))},Cs=ce.useRef(!1);ce.useEffect(function(){Cs.current&&Ic()},[Hs,wr,cs.length]),ce.useEffect(function(){Cs.current=!0},[]);var yl=ce.useState(0),Hl=(0,Me.Z)(yl,2),ys=Hl[0],Rs=Hl[1],pu=ce.useState(!0),wu=(0,Me.Z)(pu,2),rc=wu[0],ac=wu[1];ce.useEffect(function(){(!Ii||!Li)&&(js.current instanceof Element?Rs(Vn(js.current).width):Rs(Vn(bu.current).width)),ac(on("position","sticky"))},[]),ce.useEffect(function(){Li&&Fo&&(Fo.body.current=js.current)});var Xu=ce.useCallback(function(Ds){return ce.createElement(ce.Fragment,null,ce.createElement(Pi,Ds),hu==="top"&&ce.createElement(Dr,Ds,As))},[hu,As]),fc=ce.useCallback(function(Ds){return ce.createElement(Dr,Ds,As)},[As]),Ku=ao(["table"],"table"),ud=ce.useMemo(function(){return Sr||(Qu?nu==="max-content"?"auto":"fixed":Vs||xu||es.some(function(Ds){var Zs=Ds.ellipsis;return Zs})?"fixed":"auto")},[Vs,Qu,es,Sr,xu]),bd,cd={colWidths:fu,columCount:es.length,stickyOffsets:Ys,onHeaderRow:hi,fixHeader:Vs,scroll:Gn},is=ce.useMemo(function(){return ei?null:typeof Ti=="function"?Ti():Ti},[ei,Ti]),Fd=ce.createElement(so,{data:Ha,measureColumnWidth:Vs||Hs||xu}),dd=ce.createElement(Uo,{colWidths:es.map(function(Ds){var Zs=Ds.width;return Zs}),columns:es}),ic=Ka!=null?ce.createElement("caption",{className:"".concat(Ot,"-caption")},Ka):void 0,sc=ya(Et,{data:!0}),mc=ya(Et,{aria:!0});if(Vs||xu){var $c;typeof Po=="function"?($c=Po(Ha,{scrollbarSize:ys,ref:js,onScroll:Fu}),cd.colWidths=es.map(function(Ds,Zs){var Uu=Ds.width,vc=Zs===es.length-1?Uu-ys:Uu;return typeof vc=="number"&&!Number.isNaN(vc)?vc:0})):$c=ce.createElement("div",{style:(0,Fe.Z)((0,Fe.Z)({},za),Ou),onScroll:Fu,ref:js,className:ze()("".concat(Ot,"-body"))},ce.createElement(Ku,(0,Xe.Z)({style:(0,Fe.Z)((0,Fe.Z)({},tc),{},{tableLayout:ud})},mc),ic,dd,Fd,!hu&&As&&ce.createElement(Dr,{stickyOffsets:Ys,flattenColumns:es,columns:cs},As)));var fd=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({noData:!Ha.length,maxContentScroll:Hs&&nu==="max-content"},cd),Au),{},{direction:Nn,stickyClassName:dl,onScroll:Fu});bd=ce.createElement(ce.Fragment,null,ri!==!1&&ce.createElement(zl,(0,Xe.Z)({},fd,{stickyTopOffset:Rc,className:"".concat(Ot,"-header"),ref:Hu}),Xu),$c,hu&&hu!=="top"&&ce.createElement(zl,(0,Xe.Z)({},fd,{stickyBottomOffset:ec,className:"".concat(Ot,"-summary"),ref:Nu}),fc),xu&&ce.createElement(kt,{ref:dc,offsetScroll:os,scrollBodyRef:js,onScroll:Fu,container:iu}))}else bd=ce.createElement("div",{style:(0,Fe.Z)((0,Fe.Z)({},za),Ou),className:ze()("".concat(Ot,"-content")),onScroll:Fu,ref:js},ce.createElement(Ku,(0,Xe.Z)({style:(0,Fe.Z)((0,Fe.Z)({},tc),{},{tableLayout:ud})},mc),ic,dd,ri!==!1&&ce.createElement(Pi,(0,Xe.Z)({},cd,Au)),Fd,As&&ce.createElement(Dr,{stickyOffsets:Ys,flattenColumns:es,columns:cs},As)));var ed=ce.createElement("div",(0,Xe.Z)({className:ze()(Ot,Yt,(Ze={},(0,Be.Z)(Ze,"".concat(Ot,"-rtl"),Nn==="rtl"),(0,Be.Z)(Ze,"".concat(Ot,"-ping-left"),Ls),(0,Be.Z)(Ze,"".concat(Ot,"-ping-right"),ru),(0,Be.Z)(Ze,"".concat(Ot,"-layout-fixed"),Sr==="fixed"),(0,Be.Z)(Ze,"".concat(Ot,"-fixed-header"),Vs),(0,Be.Z)(Ze,"".concat(Ot,"-fixed-column"),Qu),(0,Be.Z)(Ze,"".concat(Ot,"-scroll-horizontal"),Hs),(0,Be.Z)(Ze,"".concat(Ot,"-has-fix-left"),es[0]&&es[0].fixed),(0,Be.Z)(Ze,"".concat(Ot,"-has-fix-right"),es[es.length-1]&&es[es.length-1].fixed==="right"),Ze)),style:ar,id:Yr,ref:li},sc),Ur&&ce.createElement(ft,{className:"".concat(Ot,"-title")},Ur(Ha)),ce.createElement("div",{ref:bu,className:"".concat(Ot,"-container")},bd),xa&&ce.createElement(ft,{className:"".concat(Ot,"-footer")},xa(Ha)));Hs&&(ed=ce.createElement(sa.Z,{onResize:Fc},ed));var Pc=He(es,Ys,Nn,cs),Kd=ce.useMemo(function(){return{scrollX:nu,prefixCls:Ot,getComponent:ao,scrollbarSize:ys,direction:Nn,fixedInfoList:Pc,isSticky:xu,supportSticky:rc,componentWidth:Xi,fixHeader:Vs,fixColumn:Qu,horizonScroll:Hs,tableLayout:ud,rowClassName:An,expandedRowClassName:Yl.expandedRowClassName,expandIcon:gs,expandableType:_s,expandRowByClick:Yl.expandRowByClick,expandedRowRender:Yl.expandedRowRender,onTriggerExpand:Qi,expandIconColumnIndex:Yl.expandIconColumnIndex,indentSize:Yl.indentSize,allColumnsFixedLeft:es.every(function(Ds){return Ds.fixed==="left"}),emptyNode:is,columns:cs,flattenColumns:es,onColumnResize:kc,hoverStartRow:vl,hoverEndRow:Kl,onHover:Gl,rowExpandable:Yl.rowExpandable,onRow:vi,getRowKey:nl,expandedKeys:ps,childrenColumnName:Jo}},[nu,Ot,ao,ys,Nn,Pc,xu,rc,Xi,Vs,Qu,Hs,ud,An,Yl.expandedRowClassName,gs,_s,Yl.expandRowByClick,Yl.expandedRowRender,Qi,Yl.expandIconColumnIndex,Yl.indentSize,is,cs,es,kc,vl,Kl,Gl,Yl.rowExpandable,vi,nl,ps,Jo]);return ce.createElement(ue.Provider,{value:Kd},ed)}function yr(Te){return Rt(Rn,Te)}var Tr=yr();Tr.EXPAND_COLUMN=ne,Tr.INTERNAL_HOOKS=de,Tr.Column=zn,Tr.ColumnGroup=xr,Tr.Summary=jt;var vr=Tr,Pr=ee(73299),ia=me(null),Va=me(null);function ma(Te,Ze,Et){var Ot=Ze||1;return Et[Te+Ot]-(Et[Te]||0)}function Gr(Te){var Ze=Te.rowInfo,Et=Te.column,Ot=Te.colIndex,Yt=Te.indent,An=Te.index,ar=Te.renderIndex,wr=Te.record,Un=Te.style,Gn=Te.className,Sr=Te.inverse,Nn=Te.getHeight,Ur=Et.render,xa=Et.dataIndex,wa=Et.className,Ka=Et.width,Yr=Pe(Va,["columnsOffset"]),ri=Yr.columnsOffset,qa=Hi(Ze,Et,Ot,Yt,An),Ti=qa.key,vi=qa.fixedInfo,hi=qa.appendCellNode,bi=qa.additionalCellProps,_i=bi.style,Fo=bi.colSpan,Ii=Fo===void 0?1:Fo,Wa=bi.rowSpan,Ha=Wa===void 0?1:Wa,ei=Ot-1,Li=ma(ei,Ii,ri),ao=Ii>1?Ka-Li:0,nl=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},_i),Un),{},{flex:"0 0 ".concat(Li,"px"),width:"".concat(Li,"px"),marginRight:ao,pointerEvents:"auto"}),Po=ce.useMemo(function(){return Sr?Ha<=1:Ii===0||Ha===0||Ha>1},[Ha,Ii,Sr]);Po?nl.visibility="hidden":Sr&&(nl.height=Nn==null?void 0:Nn(Ha));var Oo=Po?function(){return null}:Ur,Ml={};return(Ha===0||Ii===0)&&(Ml.rowSpan=1,Ml.colSpan=1),ce.createElement(xt,(0,Xe.Z)({className:ze()(wa,Gn),ellipsis:Et.ellipsis,align:Et.align,scope:Et.rowScope,component:"div",prefixCls:Ze.prefixCls,key:Ti,record:wr,index:An,renderIndex:ar,dataIndex:xa,render:Oo,shouldCellUpdate:Et.shouldCellUpdate},vi,{appendNode:hi,additionalProps:(0,Fe.Z)((0,Fe.Z)({},bi),{},{style:nl},Ml)}))}var Ea=Gr,ja=["data","index","className","rowKey","style","extra","getHeight"],ai=ce.forwardRef(function(Te,Ze){var Et=Te.data,Ot=Te.index,Yt=Te.className,An=Te.rowKey,ar=Te.style,wr=Te.extra,Un=Te.getHeight,Gn=(0,_n.Z)(Te,ja),Sr=Et.record,Nn=Et.indent,Ur=Et.index,xa=Pe(ue,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),wa=xa.scrollX,Ka=xa.flattenColumns,Yr=xa.prefixCls,ri=xa.fixColumn,qa=xa.componentWidth,Ti=qr(Sr,An,Ot,Nn),vi=Ti.rowSupportExpand,hi=Ti.expanded,bi=Ti.rowProps,_i=Ti.expandedRowRender,Fo=Ti.expandedRowClassName,Ii;if(vi&&hi){var Wa=_i(Sr,Ot,Nn+1,hi),Ha=Fo==null?void 0:Fo(Sr,Ot,Nn),ei={};ri&&(ei={style:(0,Be.Z)({},"--virtual-width","".concat(qa,"px"))});var Li="".concat(Yr,"-expanded-row-cell");Ii=ce.createElement("div",{className:ze()("".concat(Yr,"-expanded-row"),"".concat(Yr,"-expanded-row-level-").concat(Nn+1),Ha)},ce.createElement(xt,{component:"div",prefixCls:Yr,className:ze()(Li,(0,Be.Z)({},"".concat(Li,"-fixed"),ri)),additionalProps:ei},Wa))}var ao=(0,Fe.Z)((0,Fe.Z)({},ar),{},{width:wa});wr&&(ao.position="absolute",ao.pointerEvents="none");var nl=ce.createElement("div",(0,Xe.Z)({},bi,Gn,{ref:vi?null:Ze,className:ze()(Yt,"".concat(Yr,"-row"),bi==null?void 0:bi.className,(0,Be.Z)({},"".concat(Yr,"-row-extra"),wr)),style:(0,Fe.Z)((0,Fe.Z)({},ao),bi==null?void 0:bi.style)}),Ka.map(function(Po,Oo){return ce.createElement(Ea,{key:Oo,rowInfo:Ti,column:Po,colIndex:Oo,indent:Nn,index:Ot,renderIndex:Ur,record:Sr,inverse:wr,getHeight:Un})}));return vi?ce.createElement("div",{ref:Ze},nl,Ii):nl}),Ra=tt(ai),da=Ra,ci=ce.forwardRef(function(Te,Ze){var Et=Te.data,Ot=Te.onScroll,Yt=Pe(ue,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),An=Yt.flattenColumns,ar=Yt.onColumnResize,wr=Yt.getRowKey,Un=Yt.expandedKeys,Gn=Yt.prefixCls,Sr=Yt.childrenColumnName,Nn=Yt.emptyNode,Ur=Yt.scrollX,xa=Pe(ia),wa=xa.scrollY,Ka=xa.listItemHeight,Yr=ce.useRef(),ri=Ma(Et,Sr,Un,wr),qa=ce.useMemo(function(){var Ii=0;return An.map(function(Wa){var Ha=Wa.width,ei=Wa.key;return Ii+=Ha,[ei,Ha,Ii]})},[An]),Ti=ce.useMemo(function(){return qa.map(function(Ii){return Ii[2]})},[qa]);ce.useEffect(function(){qa.forEach(function(Ii){var Wa=(0,Me.Z)(Ii,2),Ha=Wa[0],ei=Wa[1];ar(Ha,ei)})},[qa]),ce.useImperativeHandle(Ze,function(){var Ii={};return Object.defineProperty(Ii,"scrollLeft",{get:function(){var Ha;return((Ha=Yr.current)===null||Ha===void 0?void 0:Ha.getScrollInfo().x)||0},set:function(Ha){var ei;(ei=Yr.current)===null||ei===void 0||ei.scrollTo({left:Ha})}}),Ii});var vi=function(Wa,Ha){var ei,Li=(ei=ri[Ha])===null||ei===void 0?void 0:ei.record,ao=Wa.onCell;if(ao){var nl,Po=ao(Li,Ha);return(nl=Po==null?void 0:Po.rowSpan)!==null&&nl!==void 0?nl:1}return 1},hi=function(Wa){var Ha=Wa.start,ei=Wa.end,Li=Wa.getSize,ao=Wa.offsetY;if(ei<0)return null;for(var nl=An.filter(function(Ni){return vi(Ni,Ha)===0}),Po=Ha,Oo=function(So){if(nl=nl.filter(function(Co){return vi(Co,So)===0}),!nl.length)return Po=So,"break"},Ml=Ha;Ml>=0;Ml-=1){var vl=Oo(Ml);if(vl==="break")break}for(var Kl=An.filter(function(Ni){return vi(Ni,ei)!==1}),Gl=ei,Is=function(So){if(Kl=Kl.filter(function(Co){return vi(Co,So)!==1}),!Kl.length)return Gl=Math.max(So-1,ei),"break"},Ps=ei;Ps<ri.length;Ps+=1){var Yl=Is(Ps);if(Yl==="break")break}for(var _s=[],ps=function(So){var Co=ri[So];if(!Co)return"continue";An.some(function(Xi){return vi(Xi,So)>1})&&_s.push(So)},gs=Po;gs<=Gl;gs+=1)var Jo=ps(gs);var Qi=_s.map(function(Ni){var So=ri[Ni],Co=wr(So.record,Ni),Xi=function(bl){var cs=Ni+bl-1,es=wr(ri[cs].record,cs),au=Li(Co,es);return au.bottom-au.top},rs=Li(Co);return ce.createElement(da,{key:Ni,data:So,rowKey:Co,index:Ni,style:{top:-ao+rs.top},extra:!0,getHeight:Xi})});return Qi},bi=ce.useMemo(function(){return{columnsOffset:Ti}},[Ti]),_i="".concat(Gn,"-tbody"),Fo;return ri.length?Fo=ce.createElement(Pr.Z,{fullHeight:!1,ref:Yr,className:ze()(_i,"".concat(_i,"-virtual")),height:wa,itemHeight:Ka||24,data:ri,itemKey:function(Wa){return wr(Wa.record)},scrollWidth:Ur,onVirtualScroll:function(Wa){var Ha=Wa.x;Ot({scrollLeft:Ha})},extraRender:hi},function(Ii,Wa,Ha){var ei=wr(Ii.record,Wa);return ce.createElement(da,(0,Xe.Z)({data:Ii,rowKey:ei,index:Wa},Ha))}):Fo=ce.createElement("div",{className:ze()("".concat(Gn,"-placeholder"))},ce.createElement(xt,{component:"div",prefixCls:Gn},Nn)),ce.createElement(Va.Provider,{value:bi},Fo)}),mi=tt(ci),io=mi,po=function(Ze,Et){var Ot=Et.ref,Yt=Et.onScroll;return ce.createElement(io,{ref:Ot,data:Ze,onScroll:Yt})},Ao=100;function uo(Te){var Ze=Te.columns,Et=Te.scroll,Ot=Te.prefixCls,Yt=Ot===void 0?Zr:Ot,An=Te.className,ar=Te.listItemHeight,wr=Et||{},Un=wr.x,Gn=wr.y;typeof Un!="number"&&(Un=((Ze||[]).length+1)*Ao),typeof Gn!="number"&&(Gn=500);var Sr=ce.useMemo(function(){return{scrollY:Gn,listItemHeight:ar}},[Gn,ar]);return ce.createElement(ia.Provider,{value:Sr},ce.createElement(vr,(0,Xe.Z)({},Te,{className:ze()(An,"".concat(Yt,"-virtual")),scroll:(0,Fe.Z)((0,Fe.Z)({},Et),{},{x:Un}),components:{body:po},columns:Ze,internalHooks:de,tailor:!0})))}function ho(Te){return Rt(uo,Te)}var ji=ho(),wo=null;function Zi(Te){return null}var gi=Zi;function mo(Te){return null}var _o=mo,Wi=ee(10366),al=ee(58375),fl=ee(53124),hl=ee(88258),qo=ee(98675),Mo=ee(25378),Wl=ee(24457),Vo=ee(28452),yo=ee(57953),sl=ee(29691);function Vl(Te){return function(Et){let{prefixCls:Ot,onExpand:Yt,record:An,expanded:ar,expandable:wr}=Et;const Un=`${Ot}-row-expand-icon`;return ce.createElement("button",{type:"button",onClick:Gn=>{Yt(An,Gn),Gn.stopPropagation()},className:ze()(Un,{[`${Un}-spaced`]:!wr,[`${Un}-expanded`]:wr&&ar,[`${Un}-collapsed`]:wr&&!ar}),"aria-label":ar?Te.collapse:Te.expand,"aria-expanded":ar})}}var pl=Vl;function Dl(Te,Ze){return"key"in Te&&Te.key!==void 0&&Te.key!==null?Te.key:Te.dataIndex?Array.isArray(Te.dataIndex)?Te.dataIndex.join("."):Te.dataIndex:Ze}function Lo(Te,Ze){return Ze?`${Ze}-${Te}`:`${Te}`}function jl(Te,Ze){return typeof Te=="function"?Te(Ze):Te}function ls(Te,Ze){const Et=jl(Te,Ze);return Object.prototype.toString.call(Et)==="[object Object]"?"":Et}var Ql={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"},Al=Ql,Tl=ee(84089),$l=function(Ze,Et){return ce.createElement(Tl.Z,(0,Xe.Z)({},Ze,{ref:Et,icon:Al}))},Rl=ce.forwardRef($l),Il=ee(7699),ss=ee(57838);function us(Te){const Ze=ce.useRef(Te),Et=(0,ss.Z)();return[()=>Ze.current,Ot=>{Ze.current=Ot,Et()}]}var ms=ee(71577),ts=ee(84567),ns=ee(85418),Go=ee(32983),il=ee(68508),_l=ee(76529),Xl=ee(78045),hs=ee(79870),xs=ee(72395),Ms=ee(69677);function zs(Te){let{value:Ze,onChange:Et,filterSearch:Ot,tablePrefixCls:Yt,locale:An}=Te;return Ot?ce.createElement("div",{className:`${Yt}-filter-dropdown-search`},ce.createElement(Ms.default,{prefix:ce.createElement(xs.Z,null),placeholder:An.filterSearchPlaceholder,onChange:Et,value:Ze,htmlSize:1,className:`${Yt}-filter-dropdown-search-input`})):null}var Ws=zs,Bs=ee(92389);const Xs=Te=>{const{keyCode:Ze}=Te;Ze===Bs.Z.ENTER&&Te.stopPropagation()};var Le=ce.forwardRef((Te,Ze)=>ce.createElement("div",{className:Te.className,onClick:Et=>Et.stopPropagation(),onKeyDown:Xs,ref:Ze},Te.children));function qe(Te){let Ze=[];return(Te||[]).forEach(Et=>{let{value:Ot,children:Yt}=Et;Ze.push(Ot),Yt&&(Ze=[].concat((0,co.Z)(Ze),(0,co.Z)(qe(Yt))))}),Ze}function it(Te){return Te.some(Ze=>{let{children:Et}=Ze;return Et})}function Ce(Te,Ze){return typeof Ze=="string"||typeof Ze=="number"?Ze==null?void 0:Ze.toString().toLowerCase().includes(Te.trim().toLowerCase()):!1}function Ne(Te){let{filters:Ze,prefixCls:Et,filteredKeys:Ot,filterMultiple:Yt,searchValue:An,filterSearch:ar}=Te;return Ze.map((wr,Un)=>{const Gn=String(wr.value);if(wr.children)return{key:Gn||Un,label:wr.text,popupClassName:`${Et}-dropdown-submenu`,children:Ne({filters:wr.children,prefixCls:Et,filteredKeys:Ot,filterMultiple:Yt,searchValue:An,filterSearch:ar})};const Sr=Yt?ts.default:Xl.ZP,Nn={key:wr.value!==void 0?Gn:Un,label:ce.createElement(ce.Fragment,null,ce.createElement(Sr,{checked:Ot.includes(Gn)}),ce.createElement("span",null,wr.text))};return An.trim()?typeof ar=="function"?ar(An,wr)?Nn:null:Ce(An,wr.text)?Nn:null:Nn})}function St(Te){var Ze,Et;const{tablePrefixCls:Ot,prefixCls:Yt,column:An,dropdownPrefixCls:ar,columnKey:wr,filterMultiple:Un,filterMode:Gn="menu",filterSearch:Sr=!1,filterState:Nn,triggerFilter:Ur,locale:xa,children:wa,getPopupContainer:Ka}=Te,{filterDropdownOpen:Yr,onFilterDropdownOpenChange:ri,filterResetToDefaultFilteredValue:qa,defaultFilteredValue:Ti,filterDropdownVisible:vi,onFilterDropdownVisibleChange:hi}=An,[bi,_i]=ce.useState(!1),Fo=!!(Nn&&(!((Ze=Nn.filteredKeys)===null||Ze===void 0)&&Ze.length||Nn.forceFiltered)),Ii=$i=>{_i($i),ri==null||ri($i),hi==null||hi($i)},Wa=(Et=Yr!=null?Yr:vi)!==null&&Et!==void 0?Et:bi,Ha=Nn==null?void 0:Nn.filteredKeys,[ei,Li]=us(Ha||[]),ao=$i=>{let{selectedKeys:bl}=$i;Li(bl)},nl=($i,bl)=>{let{node:cs,checked:es}=bl;ao(Un?{selectedKeys:$i}:{selectedKeys:es&&cs.key?[cs.key]:[]})};ce.useEffect(()=>{bi&&ao({selectedKeys:Ha||[]})},[Ha]);const[Po,Oo]=ce.useState([]),Ml=$i=>{Oo($i)},[vl,Kl]=ce.useState(""),Gl=$i=>{const{value:bl}=$i.target;Kl(bl)};ce.useEffect(()=>{bi||Kl("")},[bi]);const Is=$i=>{const bl=$i&&$i.length?$i:null;if(bl===null&&(!Nn||!Nn.filteredKeys)||(0,Il.Z)(bl,Nn==null?void 0:Nn.filteredKeys,!0))return null;Ur({column:An,key:wr,filteredKeys:bl})},Ps=()=>{Ii(!1),Is(ei())},Yl=function(){let{confirm:$i,closeDropdown:bl}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};$i&&Is([]),bl&&Ii(!1),Kl(""),Li(qa?(Ti||[]).map(cs=>String(cs)):[])},_s=function(){let{closeDropdown:$i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};$i&&Ii(!1),Is(ei())},ps=$i=>{$i&&Ha!==void 0&&Li(Ha||[]),Ii($i),!$i&&!An.filterDropdown&&Ps()},gs=ze()({[`${ar}-menu-without-submenu`]:!it(An.filters||[])}),Jo=$i=>{if($i.target.checked){const bl=qe(An==null?void 0:An.filters).map(cs=>String(cs));Li(bl)}else Li([])},Qi=$i=>{let{filters:bl}=$i;return(bl||[]).map((cs,es)=>{const au=String(cs.value),nu={title:cs.text,key:cs.value!==void 0?au:es};return cs.children&&(nu.children=Qi({filters:cs.children})),nu})},Ni=$i=>{var bl;return Object.assign(Object.assign({},$i),{text:$i.title,value:$i.key,children:((bl=$i.children)===null||bl===void 0?void 0:bl.map(cs=>Ni(cs)))||[]})};let So;if(typeof An.filterDropdown=="function")So=An.filterDropdown({prefixCls:`${ar}-custom`,setSelectedKeys:$i=>ao({selectedKeys:$i}),selectedKeys:ei(),confirm:_s,clearFilters:Yl,filters:An.filters,visible:Wa,close:()=>{Ii(!1)}});else if(An.filterDropdown)So=An.filterDropdown;else{const $i=ei()||[],bl=()=>(An.filters||[]).length===0?ce.createElement(Go.Z,{image:Go.Z.PRESENTED_IMAGE_SIMPLE,description:xa.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Gn==="tree"?ce.createElement(ce.Fragment,null,ce.createElement(Ws,{filterSearch:Sr,value:vl,onChange:Gl,tablePrefixCls:Ot,locale:xa}),ce.createElement("div",{className:`${Ot}-filter-dropdown-tree`},Un?ce.createElement(ts.default,{checked:$i.length===qe(An.filters).length,indeterminate:$i.length>0&&$i.length<qe(An.filters).length,className:`${Ot}-filter-dropdown-checkall`,onChange:Jo},xa.filterCheckall):null,ce.createElement(hs.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Un,checkStrictly:!Un,className:`${ar}-menu`,onCheck:nl,checkedKeys:$i,selectedKeys:$i,showIcon:!1,treeData:Qi({filters:An.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:vl.trim()?es=>typeof Sr=="function"?Sr(vl,Ni(es)):Ce(vl,es.title):void 0}))):ce.createElement(ce.Fragment,null,ce.createElement(Ws,{filterSearch:Sr,value:vl,onChange:Gl,tablePrefixCls:Ot,locale:xa}),ce.createElement(il.default,{selectable:!0,multiple:Un,prefixCls:`${ar}-menu`,className:gs,onSelect:ao,onDeselect:ao,selectedKeys:$i,getPopupContainer:Ka,openKeys:Po,onOpenChange:Ml,items:Ne({filters:An.filters||[],filterSearch:Sr,prefixCls:Yt,filteredKeys:ei(),filterMultiple:Un,searchValue:vl})})),cs=()=>qa?(0,Il.Z)((Ti||[]).map(es=>String(es)),$i,!0):$i.length===0;So=ce.createElement(ce.Fragment,null,bl(),ce.createElement("div",{className:`${Yt}-dropdown-btns`},ce.createElement(ms.ZP,{type:"link",size:"small",disabled:cs(),onClick:()=>Yl()},xa.filterReset),ce.createElement(ms.ZP,{type:"primary",size:"small",onClick:Ps},xa.filterConfirm)))}An.filterDropdown&&(So=ce.createElement(_l.J,{selectable:void 0},So));const Co=()=>ce.createElement(Le,{className:`${Yt}-dropdown`},So);let Xi;typeof An.filterIcon=="function"?Xi=An.filterIcon(Fo):An.filterIcon?Xi=An.filterIcon:Xi=ce.createElement(Rl,null);const{direction:rs}=ce.useContext(fl.E_);return ce.createElement("div",{className:`${Yt}-column`},ce.createElement("span",{className:`${Ot}-column-title`},wa),ce.createElement(ns.Z,{dropdownRender:Co,trigger:["click"],open:Wa,onOpenChange:ps,getPopupContainer:Ka,placement:rs==="rtl"?"bottomLeft":"bottomRight"},ce.createElement("span",{role:"button",tabIndex:-1,className:ze()(`${Yt}-trigger`,{active:Fo}),onClick:$i=>{$i.stopPropagation()}},Xi)))}var bt=St;function Jt(Te,Ze,Et){let Ot=[];return(Te||[]).forEach((Yt,An)=>{var ar;const wr=Lo(An,Et);if(Yt.filters||"filterDropdown"in Yt||"onFilter"in Yt)if("filteredValue"in Yt){let Un=Yt.filteredValue;"filterDropdown"in Yt||(Un=(ar=Un==null?void 0:Un.map(String))!==null&&ar!==void 0?ar:Un),Ot.push({column:Yt,key:Dl(Yt,wr),filteredKeys:Un,forceFiltered:Yt.filtered})}else Ot.push({column:Yt,key:Dl(Yt,wr),filteredKeys:Ze&&Yt.defaultFilteredValue?Yt.defaultFilteredValue:void 0,forceFiltered:Yt.filtered});"children"in Yt&&(Ot=[].concat((0,co.Z)(Ot),(0,co.Z)(Jt(Yt.children,Ze,wr))))}),Ot}function _t(Te,Ze,Et,Ot,Yt,An,ar,wr){return Et.map((Un,Gn)=>{const Sr=Lo(Gn,wr),{filterMultiple:Nn=!0,filterMode:Ur,filterSearch:xa}=Un;let wa=Un;if(wa.filters||wa.filterDropdown){const Ka=Dl(wa,Sr),Yr=Ot.find(ri=>{let{key:qa}=ri;return Ka===qa});wa=Object.assign(Object.assign({},wa),{title:ri=>ce.createElement(bt,{tablePrefixCls:Te,prefixCls:`${Te}-filter`,dropdownPrefixCls:Ze,column:wa,columnKey:Ka,filterState:Yr,filterMultiple:Nn,filterMode:Ur,filterSearch:xa,triggerFilter:An,locale:Yt,getPopupContainer:ar},jl(Un.title,ri))})}return"children"in wa&&(wa=Object.assign(Object.assign({},wa),{children:_t(Te,Ze,wa.children,Ot,Yt,An,ar,Sr)})),wa})}function Wt(Te){const Ze={};return Te.forEach(Et=>{let{key:Ot,filteredKeys:Yt,column:An}=Et;const{filters:ar,filterDropdown:wr}=An;if(wr)Ze[Ot]=Yt||null;else if(Array.isArray(Yt)){const Un=qe(ar);Ze[Ot]=Un.filter(Gn=>Yt.includes(String(Gn)))}else Ze[Ot]=null}),Ze}function Wn(Te,Ze){return Ze.reduce((Et,Ot)=>{const{column:{onFilter:Yt,filters:An},filteredKeys:ar}=Ot;return Yt&&ar&&ar.length?Et.filter(wr=>ar.some(Un=>{const Gn=qe(An),Sr=Gn.findIndex(Ur=>String(Ur)===String(Un)),Nn=Sr!==-1?Gn[Sr]:Un;return Yt(Nn,wr)})):Et},Te)}const xn=Te=>Te.flatMap(Ze=>"children"in Ze?[Ze].concat((0,co.Z)(xn(Ze.children||[]))):[Ze]);function Ln(Te){let{prefixCls:Ze,dropdownPrefixCls:Et,mergedColumns:Ot,onFilterChange:Yt,getPopupContainer:An,locale:ar}=Te;const wr=ce.useMemo(()=>xn(Ot||[]),[Ot]),[Un,Gn]=ce.useState(()=>Jt(wr,!0)),Sr=ce.useMemo(()=>{const wa=Jt(wr,!1);if(wa.length===0)return wa;let Ka=!0,Yr=!0;if(wa.forEach(ri=>{let{filteredKeys:qa}=ri;qa!==void 0?Ka=!1:Yr=!1}),Ka){const ri=(wr||[]).map((qa,Ti)=>Dl(qa,Lo(Ti)));return Un.filter(qa=>{let{key:Ti}=qa;return ri.includes(Ti)}).map(qa=>{const Ti=wr[ri.findIndex(vi=>vi===qa.key)];return Object.assign(Object.assign({},qa),{column:Object.assign(Object.assign({},qa.column),Ti),forceFiltered:Ti.filtered})})}return wa},[wr,Un]),Nn=ce.useMemo(()=>Wt(Sr),[Sr]),Ur=wa=>{const Ka=Sr.filter(Yr=>{let{key:ri}=Yr;return ri!==wa.key});Ka.push(wa),Gn(Ka),Yt(Wt(Ka),Ka)};return[wa=>_t(Ze,Et,wa,Sr,ar,Ur,An),Sr,Nn]}var Mr=Ln;function pr(Te,Ze,Et){const Ot=ce.useRef({});function Yt(An){if(!Ot.current||Ot.current.data!==Te||Ot.current.childrenColumnName!==Ze||Ot.current.getRowKey!==Et){let wr=function(Un){Un.forEach((Gn,Sr)=>{const Nn=Et(Gn,Sr);ar.set(Nn,Gn),Gn&&typeof Gn=="object"&&Ze in Gn&&wr(Gn[Ze]||[])})};const ar=new Map;wr(Te),Ot.current={data:Te,childrenColumnName:Ze,kvMap:ar,getRowKey:Et}}return Ot.current.kvMap.get(An)}return[Yt]}var or=ee(38780),sr=function(Te,Ze){var Et={};for(var Ot in Te)Object.prototype.hasOwnProperty.call(Te,Ot)&&Ze.indexOf(Ot)<0&&(Et[Ot]=Te[Ot]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,Ot=Object.getOwnPropertySymbols(Te);Yt<Ot.length;Yt++)Ze.indexOf(Ot[Yt])<0&&Object.prototype.propertyIsEnumerable.call(Te,Ot[Yt])&&(Et[Ot[Yt]]=Te[Ot[Yt]]);return Et};const Br=10;function Vr(Te,Ze){const Et={current:Te.current,pageSize:Te.pageSize};return Object.keys(Ze&&typeof Ze=="object"?Ze:{}).forEach(Yt=>{const An=Te[Yt];typeof An!="function"&&(Et[Yt]=An)}),Et}function na(Te,Ze,Et){const Ot=Et&&typeof Et=="object"?Et:{},{total:Yt=0}=Ot,An=sr(Ot,["total"]),[ar,wr]=(0,ce.useState)(()=>({current:"defaultCurrent"in An?An.defaultCurrent:1,pageSize:"defaultPageSize"in An?An.defaultPageSize:Br})),Un=(0,or.Z)(ar,An,{total:Yt>0?Yt:Te}),Gn=Math.ceil((Yt||Te)/Un.pageSize);Un.current>Gn&&(Un.current=Gn||1);const Sr=(Ur,xa)=>{wr({current:Ur!=null?Ur:1,pageSize:xa||Un.pageSize})},Nn=(Ur,xa)=>{var wa;Et&&((wa=Et.onChange)===null||wa===void 0||wa.call(Et,Ur,xa)),Sr(Ur,xa),Ze(Ur,xa||(Un==null?void 0:Un.pageSize))};return Et===!1?[{},()=>{}]:[Object.assign(Object.assign({},Un),{onChange:Nn}),Sr]}var ka=na,_e=ee(42922),gt=ee(29873),Ht=ee(97153),Ue=ee(83898),Ut=ee(5663);const hn={},Fn="SELECT_ALL",Lt="SELECT_INVERT",Gt="SELECT_NONE",ln=[],jn=(Te,Ze)=>{let Et=[];return(Ze||[]).forEach(Ot=>{Et.push(Ot),Ot&&typeof Ot=="object"&&Te in Ot&&(Et=[].concat((0,co.Z)(Et),(0,co.Z)(jn(Te,Ot[Te]))))}),Et};var gr=(Te,Ze)=>{const{preserveSelectedRowKeys:Et,selectedRowKeys:Ot,defaultSelectedRowKeys:Yt,getCheckboxProps:An,onChange:ar,onSelect:wr,onSelectAll:Un,onSelectInvert:Gn,onSelectNone:Sr,onSelectMultiple:Nn,columnWidth:Ur,type:xa,selections:wa,fixed:Ka,renderCell:Yr,hideSelectAll:ri,checkStrictly:qa=!0}=Ze||{},{prefixCls:Ti,data:vi,pageData:hi,getRecordByKey:bi,getRowKey:_i,expandType:Fo,childrenColumnName:Ii,locale:Wa,getPopupContainer:Ha}=Te,[ei,Li]=(0,Ut.Z)(Ot||Yt||ln,{value:Ot}),ao=ce.useRef(new Map),nl=(0,ce.useCallback)(Ni=>{if(Et){const So=new Map;Ni.forEach(Co=>{let Xi=bi(Co);!Xi&&ao.current.has(Co)&&(Xi=ao.current.get(Co)),So.set(Co,Xi)}),ao.current=So}},[bi,Et]);ce.useEffect(()=>{nl(ei)},[ei]);const{keyEntities:Po}=(0,ce.useMemo)(()=>{if(qa)return{keyEntities:null};let Ni=vi;if(Et){const So=new Set(vi.map((Xi,rs)=>_i(Xi,rs))),Co=Array.from(ao.current).reduce((Xi,rs)=>{let[$i,bl]=rs;return So.has($i)?Xi:Xi.concat(bl)},[]);Ni=[].concat((0,co.Z)(Ni),(0,co.Z)(Co))}return(0,Ue.I8)(Ni,{externalGetKey:_i,childrenPropName:Ii})},[vi,_i,qa,Ii,Et]),Oo=(0,ce.useMemo)(()=>jn(Ii,hi),[Ii,hi]),Ml=(0,ce.useMemo)(()=>{const Ni=new Map;return Oo.forEach((So,Co)=>{const Xi=_i(So,Co),rs=(An?An(So):null)||{};Ni.set(Xi,rs)}),Ni},[Oo,_i,An]),vl=(0,ce.useCallback)(Ni=>{var So;return!!(!((So=Ml.get(_i(Ni)))===null||So===void 0)&&So.disabled)},[Ml,_i]),[Kl,Gl]=(0,ce.useMemo)(()=>{if(qa)return[ei||[],[]];const{checkedKeys:Ni,halfCheckedKeys:So}=(0,Ht.S)(ei,!0,Po,vl);return[Ni||[],So]},[ei,qa,Po,vl]),Is=(0,ce.useMemo)(()=>{const Ni=xa==="radio"?Kl.slice(0,1):Kl;return new Set(Ni)},[Kl,xa]),Ps=(0,ce.useMemo)(()=>xa==="radio"?new Set:new Set(Gl),[Gl,xa]),[Yl,_s]=(0,ce.useState)(null);ce.useEffect(()=>{Ze||Li(ln)},[!!Ze]);const ps=(0,ce.useCallback)((Ni,So)=>{let Co,Xi;nl(Ni),Et?(Co=Ni,Xi=Ni.map(rs=>ao.current.get(rs))):(Co=[],Xi=[],Ni.forEach(rs=>{const $i=bi(rs);$i!==void 0&&(Co.push(rs),Xi.push($i))})),Li(Co),ar==null||ar(Co,Xi,{type:So})},[Li,bi,ar,Et]),gs=(0,ce.useCallback)((Ni,So,Co,Xi)=>{if(wr){const rs=Co.map($i=>bi($i));wr(bi(Ni),So,rs,Xi)}ps(Co,"single")},[wr,bi,ps]),Jo=(0,ce.useMemo)(()=>!wa||ri?null:(wa===!0?[Fn,Lt,Gt]:wa).map(So=>So===Fn?{key:"all",text:Wa.selectionAll,onSelect(){ps(vi.map((Co,Xi)=>_i(Co,Xi)).filter(Co=>{const Xi=Ml.get(Co);return!(Xi!=null&&Xi.disabled)||Is.has(Co)}),"all")}}:So===Lt?{key:"invert",text:Wa.selectInvert,onSelect(){const Co=new Set(Is);hi.forEach((rs,$i)=>{const bl=_i(rs,$i),cs=Ml.get(bl);cs!=null&&cs.disabled||(Co.has(bl)?Co.delete(bl):Co.add(bl))});const Xi=Array.from(Co);Gn&&Gn(Xi),ps(Xi,"invert")}}:So===Gt?{key:"none",text:Wa.selectNone,onSelect(){Sr==null||Sr(),ps(Array.from(Is).filter(Co=>{const Xi=Ml.get(Co);return Xi==null?void 0:Xi.disabled}),"none")}}:So).map(So=>Object.assign(Object.assign({},So),{onSelect:function(){for(var Co,Xi,rs=arguments.length,$i=new Array(rs),bl=0;bl<rs;bl++)$i[bl]=arguments[bl];(Xi=So.onSelect)===null||Xi===void 0||(Co=Xi).call.apply(Co,[So].concat($i)),_s(null)}})),[wa,Is,hi,_i,Gn,ps]);return[(0,ce.useCallback)(Ni=>{var So;if(!Ze)return Ni.filter(vs=>vs!==hn);let Co=(0,co.Z)(Ni);const Xi=new Set(Is),rs=Oo.map(_i).filter(vs=>!Ml.get(vs).disabled),$i=rs.every(vs=>Xi.has(vs)),bl=rs.some(vs=>Xi.has(vs)),cs=()=>{const vs=[];$i?rs.forEach(Ls=>{Xi.delete(Ls),vs.push(Ls)}):rs.forEach(Ls=>{Xi.has(Ls)||(Xi.add(Ls),vs.push(Ls))});const Ss=Array.from(Xi);Un==null||Un(!$i,Ss.map(Ls=>bi(Ls)),vs.map(Ls=>bi(Ls))),ps(Ss,"all"),_s(null)};let es;if(xa!=="radio"){let vs;if(Jo){const ds={getPopupContainer:Ha,items:Jo.map((ru,uu)=>{const{key:cu,text:Iu,onSelect:Us}=ru;return{key:cu!=null?cu:uu,onClick:()=>{Us==null||Us(rs)},label:Iu}})};vs=ce.createElement("div",{className:`${Ti}-selection-extra`},ce.createElement(ns.Z,{menu:ds,getPopupContainer:Ha},ce.createElement("span",null,ce.createElement(_e.Z,null))))}const Ss=Oo.map((ds,ru)=>{const uu=_i(ds,ru),cu=Ml.get(uu)||{};return Object.assign({checked:Xi.has(uu)},cu)}).filter(ds=>{let{disabled:ru}=ds;return ru}),Ls=!!Ss.length&&Ss.length===Oo.length,as=Ls&&Ss.every(ds=>{let{checked:ru}=ds;return ru}),su=Ls&&Ss.some(ds=>{let{checked:ru}=ds;return ru});es=!ri&&ce.createElement("div",{className:`${Ti}-selection`},ce.createElement(ts.default,{checked:Ls?as:!!Oo.length&&$i,indeterminate:Ls?!as&&su:!$i&&bl,onChange:cs,disabled:Oo.length===0||Ls,"aria-label":vs?"Custom selection":"Select all",skipGroup:!0}),vs)}let au;xa==="radio"?au=(vs,Ss,Ls)=>{const as=_i(Ss,Ls),su=Xi.has(as);return{node:ce.createElement(Xl.ZP,Object.assign({},Ml.get(as),{checked:su,onClick:ds=>ds.stopPropagation(),onChange:ds=>{Xi.has(as)||gs(as,!0,[as],ds.nativeEvent)}})),checked:su}}:au=(vs,Ss,Ls)=>{var as;const su=_i(Ss,Ls),ds=Xi.has(su),ru=Ps.has(su),uu=Ml.get(su);let cu;return Fo==="nest"?cu=ru:cu=(as=uu==null?void 0:uu.indeterminate)!==null&&as!==void 0?as:ru,{node:ce.createElement(ts.default,Object.assign({},uu,{indeterminate:cu,checked:ds,skipGroup:!0,onClick:Iu=>Iu.stopPropagation(),onChange:Iu=>{let{nativeEvent:Us}=Iu;const{shiftKey:Pu}=Us;let Gs=-1,du=-1;if(Pu&&qa){const fu=new Set([Yl,su]);rs.some((Ys,Vs)=>{if(fu.has(Ys))if(Gs===-1)Gs=Vs;else return du=Vs,!0;return!1})}if(du!==-1&&Gs!==du&&qa){const fu=rs.slice(Gs,du+1),Ys=[];ds?fu.forEach(Hs=>{Xi.has(Hs)&&(Ys.push(Hs),Xi.delete(Hs))}):fu.forEach(Hs=>{Xi.has(Hs)||(Ys.push(Hs),Xi.add(Hs))});const Vs=Array.from(Xi);Nn==null||Nn(!ds,Vs.map(Hs=>bi(Hs)),Ys.map(Hs=>bi(Hs))),ps(Vs,"multiple")}else{const fu=Kl;if(qa){const Ys=ds?(0,gt._5)(fu,su):(0,gt.L0)(fu,su);gs(su,!ds,Ys,Us)}else{const Ys=(0,Ht.S)([].concat((0,co.Z)(fu),[su]),!0,Po,vl),{checkedKeys:Vs,halfCheckedKeys:Hs}=Ys;let Qu=Vs;if(ds){const dc=new Set(Vs);dc.delete(su),Qu=(0,Ht.S)(Array.from(dc),{checked:!1,halfCheckedKeys:Hs},Po,vl).checkedKeys}gs(su,!ds,Qu,Us)}}_s(ds?null:su)}})),checked:ds}};const nu=(vs,Ss,Ls)=>{const{node:as,checked:su}=au(vs,Ss,Ls);return Yr?Yr(su,Ss,Ls,as):as};if(!Co.includes(hn))if(Co.findIndex(vs=>{var Ss;return((Ss=vs[to])===null||Ss===void 0?void 0:Ss.columnType)==="EXPAND_COLUMN"})===0){const[vs,...Ss]=Co;Co=[vs,hn].concat((0,co.Z)(Ss))}else Co=[hn].concat((0,co.Z)(Co));const Au=Co.indexOf(hn);Co=Co.filter((vs,Ss)=>vs!==hn||Ss===Au);const li=Co[Au-1],Hu=Co[Au+1];let js=Ka;js===void 0&&((Hu==null?void 0:Hu.fixed)!==void 0?js=Hu.fixed:(li==null?void 0:li.fixed)!==void 0&&(js=li.fixed)),js&&li&&((So=li[to])===null||So===void 0?void 0:So.columnType)==="EXPAND_COLUMN"&&li.fixed===void 0&&(li.fixed=js);const bu=ze()(`${Ti}-selection-col`,{[`${Ti}-selection-col-with-dropdown`]:wa&&xa==="checkbox"}),Nu={fixed:js,width:Ur,className:`${Ti}-selection-column`,title:Ze.columnTitle||es,render:nu,onCell:Ze.onCell,[to]:{className:bu}};return Co.map(vs=>vs===hn?Nu:vs)},[_i,Oo,Ze,Kl,Is,Ps,Ur,Jo,Fo,Yl,Ml,Nn,gs,vl]),Is]},lr=ee(33463),Nr=ee(28575),Wr=ee(83062);const ea="ascend",Kr="descend";function Ba(Te){return typeof Te.sorter=="object"&&typeof Te.sorter.multiple=="number"?Te.sorter.multiple:!1}function ua(Te){return typeof Te=="function"?Te:Te&&typeof Te=="object"&&Te.compare?Te.compare:!1}function Na(Te,Ze){return Ze?Te[Te.indexOf(Ze)+1]:Te[0]}function Ga(Te,Ze,Et){let Ot=[];function Yt(An,ar){Ot.push({column:An,key:Dl(An,ar),multiplePriority:Ba(An),sortOrder:An.sortOrder})}return(Te||[]).forEach((An,ar)=>{const wr=Lo(ar,Et);An.children?("sortOrder"in An&&Yt(An,wr),Ot=[].concat((0,co.Z)(Ot),(0,co.Z)(Ga(An.children,Ze,wr)))):An.sorter&&("sortOrder"in An?Yt(An,wr):Ze&&An.defaultSortOrder&&Ot.push({column:An,key:Dl(An,wr),multiplePriority:Ba(An),sortOrder:An.defaultSortOrder}))}),Ot}function la(Te,Ze,Et,Ot,Yt,An,ar,wr){return(Ze||[]).map((Un,Gn)=>{const Sr=Lo(Gn,wr);let Nn=Un;if(Nn.sorter){const Ur=Nn.sortDirections||Yt,xa=Nn.showSorterTooltip===void 0?ar:Nn.showSorterTooltip,wa=Dl(Nn,Sr),Ka=Et.find(Fo=>{let{key:Ii}=Fo;return Ii===wa}),Yr=Ka?Ka.sortOrder:null,ri=Na(Ur,Yr);let qa;if(Un.sortIcon)qa=Un.sortIcon({sortOrder:Yr});else{const Fo=Ur.includes(ea)&&ce.createElement(Nr.Z,{className:ze()(`${Te}-column-sorter-up`,{active:Yr===ea})}),Ii=Ur.includes(Kr)&&ce.createElement(lr.Z,{className:ze()(`${Te}-column-sorter-down`,{active:Yr===Kr})});qa=ce.createElement("span",{className:ze()(`${Te}-column-sorter`,{[`${Te}-column-sorter-full`]:!!(Fo&&Ii)})},ce.createElement("span",{className:`${Te}-column-sorter-inner`,"aria-hidden":"true"},Fo,Ii))}const{cancelSort:Ti,triggerAsc:vi,triggerDesc:hi}=An||{};let bi=Ti;ri===Kr?bi=hi:ri===ea&&(bi=vi);const _i=typeof xa=="object"?xa:{title:bi};Nn=Object.assign(Object.assign({},Nn),{className:ze()(Nn.className,{[`${Te}-column-sort`]:Yr}),title:Fo=>{const Ii=ce.createElement("div",{className:`${Te}-column-sorters`},ce.createElement("span",{className:`${Te}-column-title`},jl(Un.title,Fo)),qa);return xa?ce.createElement(Wr.Z,Object.assign({},_i),Ii):Ii},onHeaderCell:Fo=>{const Ii=Un.onHeaderCell&&Un.onHeaderCell(Fo)||{},Wa=Ii.onClick,Ha=Ii.onKeyDown;Ii.onClick=ao=>{Ot({column:Un,key:wa,sortOrder:ri,multiplePriority:Ba(Un)}),Wa==null||Wa(ao)},Ii.onKeyDown=ao=>{ao.keyCode===Bs.Z.ENTER&&(Ot({column:Un,key:wa,sortOrder:ri,multiplePriority:Ba(Un)}),Ha==null||Ha(ao))};const ei=ls(Un.title,{}),Li=ei==null?void 0:ei.toString();return Yr?Ii["aria-sort"]=Yr==="ascend"?"ascending":"descending":Ii["aria-label"]=Li||"",Ii.className=ze()(Ii.className,`${Te}-column-has-sorters`),Ii.tabIndex=0,Un.ellipsis&&(Ii.title=(ei!=null?ei:"").toString()),Ii}})}return"children"in Nn&&(Nn=Object.assign(Object.assign({},Nn),{children:la(Te,Nn.children,Et,Ot,Yt,An,ar,Sr)})),Nn})}function ga(Te){const{column:Ze,sortOrder:Et}=Te;return{column:Ze,order:Et,field:Ze.dataIndex,columnKey:Ze.key}}function fa(Te){const Ze=Te.filter(Et=>{let{sortOrder:Ot}=Et;return Ot}).map(ga);return Ze.length===0&&Te.length?Object.assign(Object.assign({},ga(Te[Te.length-1])),{column:void 0}):Ze.length<=1?Ze[0]||{}:Ze}function La(Te,Ze,Et){const Ot=Ze.slice().sort((ar,wr)=>wr.multiplePriority-ar.multiplePriority),Yt=Te.slice(),An=Ot.filter(ar=>{let{column:{sorter:wr},sortOrder:Un}=ar;return ua(wr)&&Un});return An.length?Yt.sort((ar,wr)=>{for(let Un=0;Un<An.length;Un+=1){const Gn=An[Un],{column:{sorter:Sr},sortOrder:Nn}=Gn,Ur=ua(Sr);if(Ur&&Nn){const xa=Ur(ar,wr,Nn);if(xa!==0)return Nn===ea?xa:-xa}}return 0}).map(ar=>{const wr=ar[Et];return wr?Object.assign(Object.assign({},ar),{[Et]:La(wr,Ze,Et)}):ar}):Yt}function Aa(Te){let{prefixCls:Ze,mergedColumns:Et,onSorterChange:Ot,sortDirections:Yt,tableLocale:An,showSorterTooltip:ar}=Te;const[wr,Un]=ce.useState(Ga(Et,!0)),Gn=ce.useMemo(()=>{let wa=!0;const Ka=Ga(Et,!1);if(!Ka.length)return wr;const Yr=[];function ri(Ti){wa?Yr.push(Ti):Yr.push(Object.assign(Object.assign({},Ti),{sortOrder:null}))}let qa=null;return Ka.forEach(Ti=>{qa===null?(ri(Ti),Ti.sortOrder&&(Ti.multiplePriority===!1?wa=!1:qa=!0)):(qa&&Ti.multiplePriority!==!1||(wa=!1),ri(Ti))}),Yr},[Et,wr]),Sr=ce.useMemo(()=>{const wa=Gn.map(Ka=>{let{column:Yr,sortOrder:ri}=Ka;return{column:Yr,order:ri}});return{sortColumns:wa,sortColumn:wa[0]&&wa[0].column,sortOrder:wa[0]&&wa[0].order}},[Gn]);function Nn(wa){let Ka;wa.multiplePriority===!1||!Gn.length||Gn[0].multiplePriority===!1?Ka=[wa]:Ka=[].concat((0,co.Z)(Gn.filter(Yr=>{let{key:ri}=Yr;return ri!==wa.key})),[wa]),Un(Ka),Ot(fa(Ka),Ka)}return[wa=>la(Ze,wa,Gn,Nn,Yt,An,ar),Gn,Sr,()=>fa(Gn)]}function ca(Te,Ze){return Te.map(Et=>{const Ot=Object.assign({},Et);return Ot.title=jl(Et.title,Ze),"children"in Ot&&(Ot.children=ca(Ot.children,Ze)),Ot})}function Xa(Te){return[ce.useCallback(Et=>ca(Et,Te),[Te])]}var ra=yr((Te,Ze)=>{const{_renderTimes:Et}=Te,{_renderTimes:Ot}=Ze;return Et!==Ot}),Ya=ho((Te,Ze)=>{const{_renderTimes:Et}=Te,{_renderTimes:Ot}=Ze;return Et!==Ot}),Za=ee(84780),Ua=ee(14747),Oa=ee(67968),ii=ee(45503),Ko=Te=>{const{componentCls:Ze}=Te,Et=`${Te.lineWidth}px ${Te.lineType} ${Te.tableBorderColor}`,Ot=(Yt,An,ar)=>({[`&${Ze}-${Yt}`]:{[`> ${Ze}-container`]:{[`> ${Ze}-content, > ${Ze}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ze}-expanded-row-fixed`]:{margin:`-${An}px -${ar+Te.lineWidth}px`}}}}}});return{[`${Ze}-wrapper`]:{[`${Ze}${Ze}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ze}-title`]:{border:Et,borderBottom:0},[`> ${Ze}-container`]:{borderInlineStart:Et,borderTop:Et,[`
> ${Ze}-content,
> ${Ze}-header,
> ${Ze}-body,
> ${Ze}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ze}-cell-fix-right-first::after`]:{borderInlineEnd:Et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ze}-expanded-row-fixed`]:{margin:`-${Te.tablePaddingVertical}px -${Te.tablePaddingHorizontal+Te.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Te.lineWidth,bottom:0,borderInlineEnd:Et,content:'""'}}}}}},[`&${Ze}-scroll-horizontal`]:{[`> ${Ze}-container > ${Ze}-body`]:{"> table > tbody":{[`
> tr${Ze}-expanded-row,
> tr${Ze}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ot("middle",Te.tablePaddingVerticalMiddle,Te.tablePaddingHorizontalMiddle)),Ot("small",Te.tablePaddingVerticalSmall,Te.tablePaddingHorizontalSmall)),{[`> ${Ze}-footer`]:{border:Et,borderTop:0}}),[`${Ze}-cell`]:{[`${Ze}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Te.lineWidth}px 0 ${Te.lineWidth}px ${Te.tableHeaderBg}`}},[`${Ze}-bordered ${Ze}-cell-scrollbar`]:{borderInlineEnd:Et}}}},vo=Te=>{const{componentCls:Ze}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-cell-ellipsis`]:Object.assign(Object.assign({},Ua.vS),{wordBreak:"keep-all",[`
&${Ze}-cell-fix-left-last,
&${Ze}-cell-fix-right-first
`]:{overflow:"visible",[`${Ze}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ze}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Bo=Te=>{const{componentCls:Ze}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-tbody > tr${Ze}-placeholder`]:{textAlign:"center",color:Te.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Te.colorBgContainer}}}}},kl=ee(49867),Ki=Te=>{const{componentCls:Ze,antCls:Et,controlInteractiveSize:Ot,motionDurationSlow:Yt,lineWidth:An,paddingXS:ar,lineType:wr,tableBorderColor:Un,tableExpandIconBg:Gn,tableExpandColumnWidth:Sr,borderRadius:Nn,fontSize:Ur,fontSizeSM:xa,lineHeight:wa,tablePaddingVertical:Ka,tablePaddingHorizontal:Yr,tableExpandedRowBg:ri,paddingXXS:qa}=Te,Ti=Ot/2-An,vi=Ti*2+An*3,hi=`${An}px ${wr} ${Un}`,bi=qa-An;return{[`${Ze}-wrapper`]:{[`${Ze}-expand-icon-col`]:{width:Sr},[`${Ze}-row-expand-icon-cell`]:{textAlign:"center",[`${Ze}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ze}-row-indent`]:{height:1,float:"left"},[`${Ze}-row-expand-icon`]:Object.assign(Object.assign({},(0,kl.N)(Te)),{position:"relative",float:"left",boxSizing:"border-box",width:vi,height:vi,padding:0,color:"inherit",lineHeight:`${vi}px`,background:Gn,border:hi,borderRadius:Nn,transform:`scale(${Ot/vi})`,transition:`all ${Yt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Yt} ease-out`,content:'""'},"&::before":{top:Ti,insetInlineEnd:bi,insetInlineStart:bi,height:An},"&::after":{top:bi,bottom:bi,insetInlineStart:Ti,width:An,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Ze}-row-indent + ${Ze}-row-expand-icon`]:{marginTop:(Ur*wa-An*3)/2-Math.ceil((xa*1.4-An*3)/2),marginInlineEnd:ar},[`tr${Ze}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ri}},[`${Et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ze}-expanded-row-fixed`]:{position:"relative",margin:`-${Ka}px -${Yr}px`,padding:`${Ka}px ${Yr}px`}}}},go=Te=>{const{componentCls:Ze,antCls:Et,iconCls:Ot,tableFilterDropdownWidth:Yt,tableFilterDropdownSearchWidth:An,paddingXXS:ar,paddingXS:wr,colorText:Un,lineWidth:Gn,lineType:Sr,tableBorderColor:Nn,tableHeaderIconColor:Ur,fontSizeSM:xa,tablePaddingHorizontal:wa,borderRadius:Ka,motionDurationSlow:Yr,colorTextDescription:ri,colorPrimary:qa,tableHeaderFilterActiveBg:Ti,colorTextDisabled:vi,tableFilterDropdownBg:hi,tableFilterDropdownHeight:bi,controlItemBgHover:_i,controlItemBgActive:Fo,boxShadowSecondary:Ii,filterDropdownMenuBg:Wa}=Te,Ha=`${Et}-dropdown`,ei=`${Ze}-filter-dropdown`,Li=`${Et}-tree`,ao=`${Gn}px ${Sr} ${Nn}`;return[{[`${Ze}-wrapper`]:{[`${Ze}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ze}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-ar,marginInline:`${ar}px ${-wa/2}px`,padding:`0 ${ar}px`,color:Ur,fontSize:xa,borderRadius:Ka,cursor:"pointer",transition:`all ${Yr}`,"&:hover":{color:ri,background:Ti},"&.active":{color:qa}}}},{[`${Et}-dropdown`]:{[ei]:Object.assign(Object.assign({},(0,Ua.Wf)(Te)),{minWidth:Yt,backgroundColor:hi,borderRadius:Ka,boxShadow:Ii,overflow:"hidden",[`${Ha}-menu`]:{maxHeight:bi,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Wa,"&:empty::after":{display:"block",padding:`${wr}px 0`,color:vi,fontSize:xa,textAlign:"center",content:'"Not Found"'}},[`${ei}-tree`]:{paddingBlock:`${wr}px 0`,paddingInline:wr,[Li]:{padding:0},[`${Li}-treenode ${Li}-node-content-wrapper:hover`]:{backgroundColor:_i},[`${Li}-treenode-checkbox-checked ${Li}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Fo}}},[`${ei}-search`]:{padding:wr,borderBottom:ao,"&-input":{input:{minWidth:An},[Ot]:{color:vi}}},[`${ei}-checkall`]:{width:"100%",marginBottom:ar,marginInlineStart:ar},[`${ei}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${wr-Gn}px ${wr}px`,overflow:"hidden",borderTop:ao}})}},{[`${Et}-dropdown ${ei}, ${ei}-submenu`]:{[`${Et}-checkbox-wrapper + span`]:{paddingInlineStart:wr,color:Un},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},oo=Te=>{const{componentCls:Ze,lineWidth:Et,colorSplit:Ot,motionDurationSlow:Yt,zIndexTableFixed:An,tableBg:ar,zIndexTableSticky:wr}=Te,Un=Ot;return{[`${Ze}-wrapper`]:{[`
${Ze}-cell-fix-left,
${Ze}-cell-fix-right
`]:{position:"sticky !important",zIndex:An,background:ar},[`
${Ze}-cell-fix-left-first::after,
${Ze}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Et,width:30,transform:"translateX(100%)",transition:`box-shadow ${Yt}`,content:'""',pointerEvents:"none"},[`${Ze}-cell-fix-left-all::after`]:{display:"none"},[`
${Ze}-cell-fix-right-first::after,
${Ze}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Yt}`,content:'""',pointerEvents:"none"},[`${Ze}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:wr+1,width:30,transition:`box-shadow ${Yt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ze}-ping-left`]:{[`&:not(${Ze}-has-fix-left) ${Ze}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Un}`}},[`
${Ze}-cell-fix-left-first::after,
${Ze}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Un}`},[`${Ze}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ze}-ping-right`]:{[`&:not(${Ze}-has-fix-right) ${Ze}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Un}`}},[`
${Ze}-cell-fix-right-first::after,
${Ze}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Un}`}}}}},ro=Te=>{const{componentCls:Ze,antCls:Et}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-pagination${Et}-pagination`]:{margin:`${Te.margin}px 0`},[`${Ze}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Te.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ul=Te=>{const{componentCls:Ze,tableRadius:Et}=Te;return{[`${Ze}-wrapper`]:{[Ze]:{[`${Ze}-title, ${Ze}-header`]:{borderRadius:`${Et}px ${Et}px 0 0`},[`${Ze}-title + ${Ze}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ze}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Et,borderStartEndRadius:Et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Et},"> *:last-child":{borderStartEndRadius:Et}}},"&-footer":{borderRadius:`0 0 ${Et}px ${Et}px`}}}}},Fl=Te=>{const{componentCls:Ze}=Te;return{[`${Ze}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ze}-pagination-left`]:{justifyContent:"flex-end"},[`${Ze}-pagination-right`]:{justifyContent:"flex-start"},[`${Ze}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ze}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ze}-row-indent`]:{float:"right"}}}}},Ji=Te=>{const{componentCls:Ze,antCls:Et,iconCls:Ot,fontSizeIcon:Yt,padding:An,paddingXS:ar,tableHeaderIconColor:wr,tableHeaderIconColorHover:Un,tableSelectionColumnWidth:Gn}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-selection-col`]:{width:Gn,[`&${Ze}-selection-col-with-dropdown`]:{width:Gn+Yt+An/4}},[`${Ze}-bordered ${Ze}-selection-col`]:{width:Gn+ar*2,[`&${Ze}-selection-col-with-dropdown`]:{width:Gn+Yt+An/4+ar*2}},[`
table tr th${Ze}-selection-column,
table tr td${Ze}-selection-column
`]:{paddingInlineEnd:Te.paddingXS,paddingInlineStart:Te.paddingXS,textAlign:"center",[`${Et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ze}-selection-column${Ze}-cell-fix-left`]:{zIndex:Te.zIndexTableFixed+1},[`table tr th${Ze}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ze}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ze}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Te.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Te.tablePaddingHorizontal/4}px`,[Ot]:{color:wr,fontSize:Yt,verticalAlign:"baseline","&:hover":{color:Un}}}}}},ml=Te=>{const{componentCls:Ze}=Te,Et=(Ot,Yt,An,ar)=>({[`${Ze}${Ze}-${Ot}`]:{fontSize:ar,[`
${Ze}-title,
${Ze}-footer,
${Ze}-cell,
${Ze}-thead > tr > th,
${Ze}-tbody > tr > th,
${Ze}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Yt}px ${An}px`},[`${Ze}-filter-trigger`]:{marginInlineEnd:`-${An/2}px`},[`${Ze}-expanded-row-fixed`]:{margin:`-${Yt}px -${An}px`},[`${Ze}-tbody`]:{[`${Ze}-wrapper:only-child ${Ze}`]:{marginBlock:`-${Yt}px`,marginInline:`${Te.tableExpandColumnWidth-An}px -${An}px`}},[`${Ze}-selection-column`]:{paddingInlineStart:`${An/4}px`}}});return{[`${Ze}-wrapper`]:Object.assign(Object.assign({},Et("middle",Te.tablePaddingVerticalMiddle,Te.tablePaddingHorizontalMiddle,Te.tableFontSizeMiddle)),Et("small",Te.tablePaddingVerticalSmall,Te.tablePaddingHorizontalSmall,Te.tableFontSizeSmall))}},Ho=Te=>{const{componentCls:Ze,marginXXS:Et,fontSizeIcon:Ot,tableHeaderIconColor:Yt,tableHeaderIconColorHover:An}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-thead th${Ze}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Te.motionDurationSlow}`,"&:hover":{background:Te.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Te.colorPrimary},[`
&${Ze}-cell-fix-left:hover,
&${Ze}-cell-fix-right:hover
`]:{background:Te.tableFixedHeaderSortActiveBg}},[`${Ze}-thead th${Ze}-column-sort`]:{background:Te.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ze}-column-sort`]:{background:Te.tableBodySortBg},[`${Ze}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ze}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ze}-column-sorter`]:{marginInlineStart:Et,color:Yt,fontSize:0,transition:`color ${Te.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ot,"&.active":{color:Te.colorPrimary}},[`${Ze}-column-sorter-up + ${Ze}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ze}-column-sorters:hover ${Ze}-column-sorter`]:{color:An}}}},Bi=Te=>{const{componentCls:Ze,opacityLoading:Et,tableScrollThumbBg:Ot,tableScrollThumbBgHover:Yt,tableScrollThumbSize:An,tableScrollBg:ar,zIndexTableSticky:wr,stickyScrollBarBorderRadius:Un}=Te,Gn=`${Te.lineWidth}px ${Te.lineType} ${Te.tableBorderColor}`;return{[`${Ze}-wrapper`]:{[`${Ze}-sticky`]:{"&-holder":{position:"sticky",zIndex:wr,background:Te.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${An}px !important`,zIndex:wr,display:"flex",alignItems:"center",background:ar,borderTop:Gn,opacity:Et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:An,backgroundColor:Ot,borderRadius:Un,transition:`all ${Te.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Yt}}}}}}},jo=Te=>{const{componentCls:Ze,lineWidth:Et,tableBorderColor:Ot}=Te,Yt=`${Et}px ${Te.lineType} ${Ot}`;return{[`${Ze}-wrapper`]:{[`${Ze}-summary`]:{position:"relative",zIndex:Te.zIndexTableFixed,background:Te.tableBg,"> tr":{"> th, > td":{borderBottom:Yt}}},[`div${Ze}-summary`]:{boxShadow:`0 -${Et}px 0 ${Ot}`}}}},qi=Te=>{const{componentCls:Ze}=Te,Et=`${Te.lineWidth}px ${Te.lineType} ${Te.tableBorderColor}`,Ot=`${Ze}-expanded-row-cell`;return{[`${Ze}-wrapper`]:{[`${Ze}-tbody-virtual`]:{[`${Ze}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ze}-cell`]:{borderBottom:Et},[`${Ze}-expanded-row`]:{[`${Ot}${Ot}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Te.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ze}-bordered`]:{[`${Ze}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Et,position:"absolute"},[`${Ze}-cell`]:{borderInlineEnd:Et,[`&${Ze}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Te.lineWidth,borderInlineStart:Et}}}}}}};const Ja=Te=>{const{componentCls:Ze,fontWeightStrong:Et,tablePaddingVertical:Ot,tablePaddingHorizontal:Yt,lineWidth:An,lineType:ar,tableBorderColor:wr,tableFontSize:Un,tableBg:Gn,tableRadius:Sr,tableHeaderTextColor:Nn,motionDurationMid:Ur,tableHeaderBg:xa,tableHeaderCellSplitColor:wa,tableRowHoverBg:Ka,tableSelectedRowBg:Yr,tableSelectedRowHoverBg:ri,tableFooterTextColor:qa,tableFooterBg:Ti,paddingContentVerticalLG:vi}=Te,hi=`${An}px ${ar} ${wr}`;return{[`${Ze}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ua.dF)()),{[Ze]:Object.assign(Object.assign({},(0,Ua.Wf)(Te)),{fontSize:Un,background:Gn,borderRadius:`${Sr}px ${Sr}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Sr}px ${Sr}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Ze}-cell,
${Ze}-thead > tr > th,
${Ze}-tbody > tr > th,
${Ze}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${vi}px ${Yt}px`,overflowWrap:"break-word"},[`${Ze}-title`]:{padding:`${Ot}px ${Yt}px`},[`${Ze}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Nn,fontWeight:Et,textAlign:"start",background:xa,borderBottom:hi,transition:`background ${Ur} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ze}-selection-column):not(${Ze}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:wa,transform:"translateY(-50%)",transition:`background-color ${Ur}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ze}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Ur}, border-color ${Ur}`,borderBottom:hi,[`
> ${Ze}-wrapper:only-child,
> ${Ze}-expanded-row-fixed > ${Ze}-wrapper:only-child
`]:{[Ze]:{marginBlock:`-${Ot}px`,marginInline:`${Te.tableExpandColumnWidth-Yt}px -${Yt}px`,[`${Ze}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Nn,fontWeight:Et,textAlign:"start",background:xa,borderBottom:hi,transition:`background ${Ur} ease`},[`
&${Ze}-row:hover > th,
&${Ze}-row:hover > td,
> th${Ze}-cell-row-hover,
> td${Ze}-cell-row-hover
`]:{background:Ka},[`&${Ze}-row-selected`]:{"> th, > td":{background:Yr},"&:hover > th, &:hover > td":{background:ri}}}},[`${Ze}-footer`]:{padding:`${Ot}px ${Yt}px`,color:qa,background:Ti}})}};var ki=(0,Oa.Z)("Table",Te=>{const{colorTextHeading:Ze,colorSplit:Et,colorIcon:Ot,colorIconHover:Yt,opacityLoading:An,colorBgContainer:ar,controlInteractiveSize:wr,headerBg:Un,headerColor:Gn,headerSortActiveBg:Sr,headerSortHoverBg:Nn,bodySortBg:Ur,rowHoverBg:xa,rowSelectedBg:wa,rowSelectedHoverBg:Ka,rowExpandedBg:Yr,cellPaddingBlock:ri,cellPaddingInline:qa,cellPaddingBlockMD:Ti,cellPaddingInlineMD:vi,cellPaddingBlockSM:hi,cellPaddingInlineSM:bi,borderColor:_i,footerBg:Fo,footerColor:Ii,headerBorderRadius:Wa,cellFontSize:Ha,cellFontSizeMD:ei,cellFontSizeSM:Li,headerSplitColor:ao,fixedHeaderSortActiveBg:nl,headerFilterHoverBg:Po,filterDropdownBg:Oo,expandIconBg:Ml,selectionColumnWidth:vl,stickyScrollBarBg:Kl}=Te,Gl=new Za.C(Ot),Is=new Za.C(Yt),Ps=2,Yl=(0,ii.TS)(Te,{tableFontSize:Ha,tableBg:ar,tableRadius:Wa,tablePaddingVertical:ri,tablePaddingHorizontal:qa,tablePaddingVerticalMiddle:Ti,tablePaddingHorizontalMiddle:vi,tablePaddingVerticalSmall:hi,tablePaddingHorizontalSmall:bi,tableBorderColor:_i,tableHeaderTextColor:Gn,tableHeaderBg:Un,tableFooterTextColor:Ii,tableFooterBg:Fo,tableHeaderCellSplitColor:ao,tableHeaderSortBg:Sr,tableHeaderSortHoverBg:Nn,tableHeaderIconColor:Gl.clone().setAlpha(Gl.getAlpha()*An).toRgbString(),tableHeaderIconColorHover:Is.clone().setAlpha(Is.getAlpha()*An).toRgbString(),tableBodySortBg:Ur,tableFixedHeaderSortActiveBg:nl,tableHeaderFilterActiveBg:Po,tableFilterDropdownBg:Oo,tableRowHoverBg:xa,tableSelectedRowBg:wa,tableSelectedRowHoverBg:Ka,zIndexTableFixed:Ps,zIndexTableSticky:Ps+1,tableFontSizeMiddle:ei,tableFontSizeSmall:Li,tableSelectionColumnWidth:vl,tableExpandIconBg:Ml,tableExpandColumnWidth:wr+2*Te.padding,tableExpandedRowBg:Yr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Kl,tableScrollThumbBgHover:Ze,tableScrollBg:Et});return[Ja(Yl),ro(Yl),jo(Yl),Ho(Yl),go(Yl),Ko(Yl),ul(Yl),Ki(Yl),jo(Yl),Bo(Yl),Ji(Yl),oo(Yl),Bi(Yl),vo(Yl),ml(Yl),Fl(Yl),qi(Yl)]},Te=>{const{colorFillAlter:Ze,colorBgContainer:Et,colorTextHeading:Ot,colorFillSecondary:Yt,colorFillContent:An,controlItemBgActive:ar,controlItemBgActiveHover:wr,padding:Un,paddingSM:Gn,paddingXS:Sr,colorBorderSecondary:Nn,borderRadiusLG:Ur,fontSize:xa,controlHeight:wa,colorTextPlaceholder:Ka}=Te,Yr=new Za.C(Yt).onBackground(Et).toHexShortString(),ri=new Za.C(An).onBackground(Et).toHexShortString(),qa=new Za.C(Ze).onBackground(Et).toHexShortString();return{headerBg:qa,headerColor:Ot,headerSortActiveBg:Yr,headerSortHoverBg:ri,bodySortBg:qa,rowHoverBg:qa,rowSelectedBg:ar,rowSelectedHoverBg:wr,rowExpandedBg:Ze,cellPaddingBlock:Un,cellPaddingInline:Un,cellPaddingBlockMD:Gn,cellPaddingInlineMD:Sr,cellPaddingBlockSM:Sr,cellPaddingInlineSM:Sr,borderColor:Nn,headerBorderRadius:Ur,footerBg:qa,footerColor:Ot,cellFontSize:xa,cellFontSizeMD:xa,cellFontSizeSM:xa,headerSplitColor:Nn,fixedHeaderSortActiveBg:Yr,headerFilterHoverBg:An,filterDropdownMenuBg:Et,filterDropdownBg:Et,expandIconBg:Et,selectionColumnWidth:wa,stickyScrollBarBg:Ka,stickyScrollBarBorderRadius:100}});const Oi=[],ba=(Te,Ze)=>{const{prefixCls:Et,className:Ot,rootClassName:Yt,style:An,size:ar,bordered:wr,dropdownPrefixCls:Un,dataSource:Gn,pagination:Sr,rowSelection:Nn,rowKey:Ur="key",rowClassName:xa,columns:wa,children:Ka,childrenColumnName:Yr,onChange:ri,getPopupContainer:qa,loading:Ti,expandIcon:vi,expandable:hi,expandedRowRender:bi,expandIconColumnIndex:_i,indentSize:Fo,scroll:Ii,sortDirections:Wa,locale:Ha,showSorterTooltip:ei=!0,virtual:Li}=Te,ao=ce.useMemo(()=>wa||va(Ka),[wa,Ka]),nl=ce.useMemo(()=>ao.some(os=>os.responsive),[ao]),Po=(0,Mo.Z)(nl),Oo=ce.useMemo(()=>{const os=new Set(Object.keys(Po).filter(dl=>Po[dl]));return ao.filter(dl=>!dl.responsive||dl.responsive.some(iu=>os.has(iu)))},[ao,Po]),Ml=(0,Wi.Z)(Te,["className","style","columns"]),{locale:vl=Wl.Z,direction:Kl,table:Gl,renderEmpty:Is,getPrefixCls:Ps,getPopupContainer:Yl}=ce.useContext(fl.E_),_s=(0,qo.Z)(ar),ps=Object.assign(Object.assign({},vl.Table),Ha),gs=Gn||Oi,Jo=Ps("table",Et),Qi=Ps("dropdown",Un),Ni=Object.assign({childrenColumnName:Yr,expandIconColumnIndex:_i},hi),{childrenColumnName:So="children"}=Ni,Co=ce.useMemo(()=>gs.some(os=>os==null?void 0:os[So])?"nest":bi||hi&&hi.expandedRowRender?"row":null,[gs]),Xi={body:ce.useRef()},rs=ce.useMemo(()=>typeof Ur=="function"?Ur:os=>os==null?void 0:os[Ur],[Ur]),[$i]=pr(gs,So,rs),bl={},cs=function(os,dl){let iu=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var As,hu,za;const Ou=Object.assign(Object.assign({},bl),os);iu&&((As=bl.resetPagination)===null||As===void 0||As.call(bl),!((hu=Ou.pagination)===null||hu===void 0)&&hu.current&&(Ou.pagination.current=1),Sr&&Sr.onChange&&Sr.onChange(1,(za=Ou.pagination)===null||za===void 0?void 0:za.pageSize)),Ii&&Ii.scrollToFirstRowOnChange!==!1&&Xi.body.current&&(0,al.Z)(0,{getContainer:()=>Xi.body.current}),ri==null||ri(Ou.pagination,Ou.filters,Ou.sorter,{currentDataSource:Wn(La(gs,Ou.sorterStates,So),Ou.filterStates),action:dl})},es=(os,dl)=>{cs({sorter:os,sorterStates:dl},"sort",!1)},[au,nu,Au,li]=Aa({prefixCls:Jo,mergedColumns:Oo,onSorterChange:es,sortDirections:Wa||["ascend","descend"],tableLocale:ps,showSorterTooltip:ei}),Hu=ce.useMemo(()=>La(gs,nu,So),[gs,nu]);bl.sorter=li(),bl.sorterStates=nu;const js=(os,dl)=>{cs({filters:os,filterStates:dl},"filter",!0)},[bu,Nu,vs]=Mr({prefixCls:Jo,locale:ps,dropdownPrefixCls:Qi,mergedColumns:Oo,onFilterChange:js,getPopupContainer:qa||Yl}),Ss=Wn(Hu,Nu);bl.filters=vs,bl.filterStates=Nu;const Ls=ce.useMemo(()=>{const os={};return Object.keys(vs).forEach(dl=>{vs[dl]!==null&&(os[dl]=vs[dl])}),Object.assign(Object.assign({},Au),{filters:os})},[Au,vs]),[as]=Xa(Ls),su=(os,dl)=>{cs({pagination:Object.assign(Object.assign({},bl.pagination),{current:os,pageSize:dl})},"paginate")},[ds,ru]=ka(Ss.length,su,Sr);bl.pagination=Sr===!1?{}:Vr(ds,Sr),bl.resetPagination=ru;const uu=ce.useMemo(()=>{if(Sr===!1||!ds.pageSize)return Ss;const{current:os=1,total:dl,pageSize:iu=Br}=ds;return Ss.length<dl?Ss.length>iu?Ss.slice((os-1)*iu,os*iu):Ss:Ss.slice((os-1)*iu,os*iu)},[!!Sr,Ss,ds&&ds.current,ds&&ds.pageSize,ds&&ds.total]),[cu,Iu]=gr({prefixCls:Jo,data:Ss,pageData:uu,getRowKey:rs,getRecordByKey:$i,expandType:Co,childrenColumnName:So,locale:ps,getPopupContainer:qa||Yl},Nn),Us=(os,dl,iu)=>{let As;return typeof xa=="function"?As=ze()(xa(os,dl,iu)):As=ze()(xa),ze()({[`${Jo}-row-selected`]:Iu.has(rs(os,dl))},As)};Ni.__PARENT_RENDER_ICON__=Ni.expandIcon,Ni.expandIcon=Ni.expandIcon||vi||pl(ps),Co==="nest"&&Ni.expandIconColumnIndex===void 0?Ni.expandIconColumnIndex=Nn?1:0:Ni.expandIconColumnIndex>0&&Nn&&(Ni.expandIconColumnIndex-=1),typeof Ni.indentSize!="number"&&(Ni.indentSize=typeof Fo=="number"?Fo:15);const Pu=ce.useCallback(os=>as(cu(bu(au(os)))),[au,bu,cu]);let Gs,du;if(Sr!==!1&&(ds!=null&&ds.total)){let os;ds.size?os=ds.size:os=_s==="small"||_s==="middle"?"small":void 0;const dl=hu=>ce.createElement(Vo.Z,Object.assign({},ds,{className:ze()(`${Jo}-pagination ${Jo}-pagination-${hu}`,ds.className),size:os})),iu=Kl==="rtl"?"left":"right",{position:As}=ds;if(As!==null&&Array.isArray(As)){const hu=As.find(tc=>tc.includes("top")),za=As.find(tc=>tc.includes("bottom")),Ou=As.every(tc=>`${tc}`=="none");!hu&&!za&&!Ou&&(du=dl(iu)),hu&&(Gs=dl(hu.toLowerCase().replace("top",""))),za&&(du=dl(za.toLowerCase().replace("bottom","")))}else du=dl(iu)}let fu;typeof Ti=="boolean"?fu={spinning:Ti}:typeof Ti=="object"&&(fu=Object.assign({spinning:!0},Ti));const[Ys,Vs]=ki(Jo),[,Hs]=(0,sl.Z)(),Qu=ze()(`${Jo}-wrapper`,Gl==null?void 0:Gl.className,{[`${Jo}-wrapper-rtl`]:Kl==="rtl"},Ot,Yt,Vs),dc=Object.assign(Object.assign({},Gl==null?void 0:Gl.style),An),Ts=Ha&&Ha.emptyText||(Is==null?void 0:Is("Table"))||ce.createElement(hl.Z,{componentName:"Table"}),xu=Li?Ya:ra,Rc={},ec=ce.useMemo(()=>{const{fontSize:os,lineHeight:dl,padding:iu,paddingXS:As,paddingSM:hu}=Hs,za=Math.floor(os*dl);switch(_s){case"large":return iu*2+za;case"small":return As*2+za;default:return hu*2+za}},[Hs,_s]);return Li&&(Rc.listItemHeight=ec),Ys(ce.createElement("div",{ref:Ze,className:Qu,style:dc},ce.createElement(yo.Z,Object.assign({spinning:!1},fu),Gs,ce.createElement(xu,Object.assign({},Rc,Ml,{columns:Oo,direction:Kl,expandable:Ni,prefixCls:Jo,className:ze()({[`${Jo}-middle`]:_s==="middle",[`${Jo}-small`]:_s==="small",[`${Jo}-bordered`]:wr,[`${Jo}-empty`]:gs.length===0}),data:uu,rowKey:rs,rowClassName:Us,emptyText:Ts,internalHooks:de,internalRefs:Xi,transformColumns:Pu})),du)))};var Qa=ce.forwardRef(ba);const Gi=(Te,Ze)=>{const Et=ce.useRef(0);return Et.current+=1,ce.createElement(Qa,Object.assign({},Te,{ref:Ze,_renderTimes:Et.current}))},cl=ce.forwardRef(Gi);cl.SELECTION_COLUMN=hn,cl.EXPAND_COLUMN=ne,cl.SELECTION_ALL=Fn,cl.SELECTION_INVERT=Lt,cl.SELECTION_NONE=Gt,cl.Column=gi,cl.ColumnGroup=_o,cl.Summary=jt;var Jl=cl,ws=Jl},66368:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return It}});var ne=ee(73475),de=ee(25877),Me=ee(38308),et=ee(94184),we=ee.n(et),ke=ee(87462),ce=ee(4942),Se=ee(1413),me=ee(97685),Pe=ee(71002),Xe=ee(45987),fe=ee(67294),Ge=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var pe=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(pe)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(pe==null?void 0:pe.substr(0,4))};function pt(pe){var Oe=fe.useRef();Oe.current=pe;var Ae=fe.useCallback(function(){for(var Ke,Qe=arguments.length,at=new Array(Qe),ft=0;ft<Qe;ft++)at[ft]=arguments[ft];return(Ke=Oe.current)===null||Ke===void 0?void 0:Ke.call.apply(Ke,[Oe].concat(at))},[]);return Ae}function ot(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var vt=ot()?fe.useLayoutEffect:fe.useEffect,Ee=function(Oe,Ae){var Ke=fe.useRef(!0);vt(function(){return Oe(Ke.current)},Ae),vt(function(){return Ke.current=!1,function(){Ke.current=!0}},[])},wt=function(Oe,Ae){Ee(function(Ke){if(!Ke)return Oe()},Ae)},Rt=null;function tt(pe){var Oe=fe.useRef(!1),Ae=fe.useState(pe),Ke=(0,me.Z)(Ae,2),Qe=Ke[0],at=Ke[1];fe.useEffect(function(){return Oe.current=!1,function(){Oe.current=!0}},[]);function ft(Xt,an){an&&Oe.current||at(Xt)}return[Qe,ft]}function st(pe){return pe!==void 0}function ye(pe,Oe){var Ae=Oe||{},Ke=Ae.defaultValue,Qe=Ae.value,at=Ae.onChange,ft=Ae.postState,Xt=tt(function(){return st(Qe)?Qe:st(Ke)?typeof Ke=="function"?Ke():Ke:typeof pe=="function"?pe():pe}),an=(0,me.Z)(Xt,2),Qn=an[0],cr=an[1],Ar=Qe!==void 0?Qe:Qn,Dn=ft?ft(Ar):Ar,$n=pt(at),Jn=tt([Ar]),kr=(0,me.Z)(Jn,2),Hr=kr[0],zr=kr[1];wt(function(){var jr=Hr[0];Qn!==jr&&$n(Qn,jr)},[Hr]),wt(function(){st(Qe)||cr(Qe)},[Qe]);var Fr=pt(function(jr,_r){cr(jr,_r),zr([Ar],_r)});return[Dn,Fr]}var ue=ee(62874),$e=(0,fe.createContext)(null),Je=fe.forwardRef(function(pe,Oe){var Ae=pe.prefixCls,Ke=pe.className,Qe=pe.style,at=pe.id,ft=pe.active,Xt=pe.tabKey,an=pe.children;return fe.createElement("div",{id:at&&"".concat(at,"-panel-").concat(Xt),role:"tabpanel",tabIndex:ft?0:-1,"aria-labelledby":at&&"".concat(at,"-tab-").concat(Xt),"aria-hidden":!ft,style:Qe,className:we()(Ae,ft&&"".concat(Ae,"-active"),Ke),ref:Oe},an)}),ht=Je,yt=["key","forceRender","style","className"];function Fe(pe){var Oe=pe.id,Ae=pe.activeKey,Ke=pe.animated,Qe=pe.tabPosition,at=pe.destroyInactiveTabPane,ft=fe.useContext($e),Xt=ft.prefixCls,an=ft.tabs,Qn=Ke.tabPane,cr="".concat(Xt,"-tabpane");return fe.createElement("div",{className:we()("".concat(Xt,"-content-holder"))},fe.createElement("div",{className:we()("".concat(Xt,"-content"),"".concat(Xt,"-content-").concat(Qe),(0,ce.Z)({},"".concat(Xt,"-content-animated"),Qn))},an.map(function(Ar){var Dn=Ar.key,$n=Ar.forceRender,Jn=Ar.style,kr=Ar.className,Hr=(0,Xe.Z)(Ar,yt),zr=Dn===Ae;return fe.createElement(ue.Z,(0,ke.Z)({key:Dn,visible:zr,forceRender:$n,removeOnLeave:!!at,leavedClassName:"".concat(cr,"-hidden")},Ke.tabPaneMotion),function(Fr,jr){var _r=Fr.style,Jr=Fr.className;return fe.createElement(ht,(0,ke.Z)({},Hr,{prefixCls:cr,id:Oe,tabKey:Dn,animated:Qn,active:zr,style:(0,Se.Z)((0,Se.Z)({},Jn),_r),className:we()(kr,Jr),ref:jr}))})})))}var Be=ee(74902),mt=ee(48555),ze=ee(59864);function ut(pe,Oe,Ae){var Ke=fe.useRef({});return(!("value"in Ke.current)||Ae(Ke.current.condition,Oe))&&(Ke.current.value=pe(),Ke.current.condition=Oe),Ke.current.value}function rt(pe,Oe){typeof pe=="function"?pe(Oe):(0,Pe.Z)(pe)==="object"&&pe&&"current"in pe&&(pe.current=Oe)}function Tt(){for(var pe=arguments.length,Oe=new Array(pe),Ae=0;Ae<pe;Ae++)Oe[Ae]=arguments[Ae];var Ke=Oe.filter(function(Qe){return Qe});return Ke.length<=1?Ke[0]:function(Qe){Oe.forEach(function(at){rt(at,Qe)})}}function Bt(){for(var pe=arguments.length,Oe=new Array(pe),Ae=0;Ae<pe;Ae++)Oe[Ae]=arguments[Ae];return ut(function(){return Tt.apply(void 0,Oe)},Oe,function(Ke,Qe){return Ke.length===Qe.length&&Ke.every(function(at,ft){return at===Qe[ft]})})}function en(pe){var Oe,Ae,Ke=isMemo(pe)?pe.type.type:pe.type;return!(typeof Ke=="function"&&!((Oe=Ke.prototype)!==null&&Oe!==void 0&&Oe.render)||typeof pe=="function"&&!((Ae=pe.prototype)!==null&&Ae!==void 0&&Ae.render))}var ct={width:0,height:0,left:0,top:0};function Ie(pe,Oe,Ae){return(0,fe.useMemo)(function(){for(var Ke,Qe=new Map,at=Oe.get((Ke=pe[0])===null||Ke===void 0?void 0:Ke.key)||ct,ft=at.left+at.width,Xt=0;Xt<pe.length;Xt+=1){var an=pe[Xt].key,Qn=Oe.get(an);if(!Qn){var cr;Qn=Oe.get((cr=pe[Xt-1])===null||cr===void 0?void 0:cr.key)||ct}var Ar=Qe.get(an)||(0,Se.Z)({},Qn);Ar.right=ft-Ar.left-Ar.width,Qe.set(an,Ar)}return Qe},[pe.map(function(Ke){return Ke.key}).join("_"),Oe,Ae])}function Mt(pe,Oe){var Ae=fe.useRef(pe),Ke=fe.useState({}),Qe=(0,me.Z)(Ke,2),at=Qe[1];function ft(Xt){var an=typeof Xt=="function"?Xt(Ae.current):Xt;an!==Ae.current&&Oe(an,Ae.current),Ae.current=an,at({})}return[Ae.current,ft]}var vn=.1,qt=.01,Nt=20,Kt=Math.pow(.995,Nt);function nn(pe,Oe){var Ae=(0,fe.useState)(),Ke=(0,me.Z)(Ae,2),Qe=Ke[0],at=Ke[1],ft=(0,fe.useState)(0),Xt=(0,me.Z)(ft,2),an=Xt[0],Qn=Xt[1],cr=(0,fe.useState)(0),Ar=(0,me.Z)(cr,2),Dn=Ar[0],$n=Ar[1],Jn=(0,fe.useState)(),kr=(0,me.Z)(Jn,2),Hr=kr[0],zr=kr[1],Fr=(0,fe.useRef)();function jr(Bn){var xr=Bn.touches[0],Zr=xr.screenX,$t=xr.screenY;at({x:Zr,y:$t}),window.clearInterval(Fr.current)}function _r(Bn){if(Qe){Bn.preventDefault();var xr=Bn.touches[0],Zr=xr.screenX,$t=xr.screenY;at({x:Zr,y:$t});var cn=Zr-Qe.x,dn=$t-Qe.y;Oe(cn,dn);var Rn=Date.now();Qn(Rn),$n(Rn-an),zr({x:cn,y:dn})}}function Jr(){if(Qe&&(at(null),zr(null),Hr)){var Bn=Hr.x/Dn,xr=Hr.y/Dn,Zr=Math.abs(Bn),$t=Math.abs(xr);if(Math.max(Zr,$t)<vn)return;var cn=Bn,dn=xr;Fr.current=window.setInterval(function(){if(Math.abs(cn)<qt&&Math.abs(dn)<qt){window.clearInterval(Fr.current);return}cn*=Kt,dn*=Kt,Oe(cn*Nt,dn*Nt)},Nt)}}var kt=(0,fe.useRef)();function Pt(Bn){var xr=Bn.deltaX,Zr=Bn.deltaY,$t=0,cn=Math.abs(xr),dn=Math.abs(Zr);cn===dn?$t=kt.current==="x"?xr:Zr:cn>dn?($t=xr,kt.current="x"):($t=Zr,kt.current="y"),Oe(-$t,-$t)&&Bn.preventDefault()}var zn=(0,fe.useRef)(null);zn.current={onTouchStart:jr,onTouchMove:_r,onTouchEnd:Jr,onWheel:Pt},fe.useEffect(function(){function Bn(cn){zn.current.onTouchStart(cn)}function xr(cn){zn.current.onTouchMove(cn)}function Zr(cn){zn.current.onTouchEnd(cn)}function $t(cn){zn.current.onWheel(cn)}return document.addEventListener("touchmove",xr,{passive:!1}),document.addEventListener("touchend",Zr,{passive:!1}),pe.current.addEventListener("touchstart",Bn,{passive:!1}),pe.current.addEventListener("wheel",$t),function(){document.removeEventListener("touchmove",xr),document.removeEventListener("touchend",Zr)}},[])}function Cn(pe){var Oe=(0,fe.useState)(0),Ae=(0,me.Z)(Oe,2),Ke=Ae[0],Qe=Ae[1],at=(0,fe.useRef)(0),ft=(0,fe.useRef)();return ft.current=pe,wt(function(){var Xt;(Xt=ft.current)===null||Xt===void 0||Xt.call(ft)},[Ke]),function(){at.current===Ke&&(at.current+=1,Qe(at.current))}}function Sn(pe){var Oe=(0,fe.useRef)([]),Ae=(0,fe.useState)({}),Ke=(0,me.Z)(Ae,2),Qe=Ke[1],at=(0,fe.useRef)(typeof pe=="function"?pe():pe),ft=Cn(function(){var an=at.current;Oe.current.forEach(function(Qn){an=Qn(an)}),Oe.current=[],at.current=an,Qe({})});function Xt(an){Oe.current.push(an),ft()}return[at.current,Xt]}var tn={width:0,height:0,left:0,top:0,right:0};function In(pe,Oe,Ae,Ke,Qe,at,ft){var Xt=ft.tabs,an=ft.tabPosition,Qn=ft.rtl,cr,Ar,Dn;return["top","bottom"].includes(an)?(cr="width",Ar=Qn?"right":"left",Dn=Math.abs(Ae)):(cr="height",Ar="top",Dn=-Ae),(0,fe.useMemo)(function(){if(!Xt.length)return[0,0];for(var $n=Xt.length,Jn=$n,kr=0;kr<$n;kr+=1){var Hr=pe.get(Xt[kr].key)||tn;if(Hr[Ar]+Hr[cr]>Dn+Oe){Jn=kr-1;break}}for(var zr=0,Fr=$n-1;Fr>=0;Fr-=1){var jr=pe.get(Xt[Fr].key)||tn;if(jr[Ar]<Dn){zr=Fr+1;break}}return zr>=Jn?[0,0]:[zr,Jn]},[pe,Oe,Ke,Qe,at,Dn,an,Xt.map(function($n){return $n.key}).join("_"),Qn])}function br(pe){var Oe;return pe instanceof Map?(Oe={},pe.forEach(function(Ae,Ke){Oe[Ke]=Ae})):Oe=pe,JSON.stringify(Oe)}var gn="TABS_DQ";function Ye(pe){return String(pe).replace(/"/g,gn)}function ve(pe,Oe,Ae,Ke){return!(!Ae||Ke||pe===!1||pe===void 0&&(Oe===!1||Oe===null))}function he(pe,Oe){var Ae=pe.prefixCls,Ke=pe.editable,Qe=pe.locale,at=pe.style;return!Ke||Ke.showAdd===!1?null:fe.createElement("button",{ref:Oe,type:"button",className:"".concat(Ae,"-nav-add"),style:at,"aria-label":(Qe==null?void 0:Qe.addAriaLabel)||"Add tab",onClick:function(Xt){Ke.onEdit("add",{event:Xt})}},Ke.addIcon||"+")}var be=fe.forwardRef(he),ge=fe.forwardRef(function(pe,Oe){var Ae=pe.position,Ke=pe.prefixCls,Qe=pe.extra;if(!Qe)return null;var at,ft={};return(0,Pe.Z)(Qe)==="object"&&!fe.isValidElement(Qe)?ft=Qe:ft.right=Qe,Ae==="right"&&(at=ft.right),Ae==="left"&&(at=ft.left),at?fe.createElement("div",{className:"".concat(Ke,"-extra-content"),ref:Oe},at):null}),se=ge,je=ee(62709);function xt(pe,Oe,Ae){var Ke=React.useRef({});return(!("value"in Ke.current)||Ae(Ke.current.condition,Oe))&&(Ke.current.value=pe(),Ke.current.condition=Oe),Ke.current.value}function En(pe,Oe){typeof pe=="function"?pe(Oe):(0,Pe.Z)(pe)==="object"&&pe&&"current"in pe&&(pe.current=Oe)}function un(){for(var pe=arguments.length,Oe=new Array(pe),Ae=0;Ae<pe;Ae++)Oe[Ae]=arguments[Ae];var Ke=Oe.filter(function(Qe){return Qe});return Ke.length<=1?Ke[0]:function(Qe){Oe.forEach(function(at){En(at,Qe)})}}function Pn(){for(var pe=arguments.length,Oe=new Array(pe),Ae=0;Ae<pe;Ae++)Oe[Ae]=arguments[Ae];return useMemo(function(){return un.apply(void 0,Oe)},Oe,function(Ke,Qe){return Ke.length===Qe.length&&Ke.every(function(at,ft){return at===Qe[ft]})})}function Xn(pe){var Oe,Ae,Ke=(0,ze.isMemo)(pe)?pe.type.type:pe.type;return!(typeof Ke=="function"&&!((Oe=Ke.prototype)!==null&&Oe!==void 0&&Oe.render)||typeof pe=="function"&&!((Ae=pe.prototype)!==null&&Ae!==void 0&&Ae.render))}var _n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Oe){var Ae=Oe.keyCode;if(Oe.altKey&&!Oe.ctrlKey||Oe.metaKey||Ae>=_n.F1&&Ae<=_n.F12)return!1;switch(Ae){case _n.ALT:case _n.CAPS_LOCK:case _n.CONTEXT_MENU:case _n.CTRL:case _n.DOWN:case _n.END:case _n.ESC:case _n.HOME:case _n.INSERT:case _n.LEFT:case _n.MAC_FF_META:case _n.META:case _n.NUMLOCK:case _n.NUM_CENTER:case _n.PAGE_DOWN:case _n.PAGE_UP:case _n.PAUSE:case _n.PRINT_SCREEN:case _n.RIGHT:case _n.SHIFT:case _n.UP:case _n.WIN_KEY:case _n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Oe){if(Oe>=_n.ZERO&&Oe<=_n.NINE||Oe>=_n.NUM_ZERO&&Oe<=_n.NUM_MULTIPLY||Oe>=_n.A&&Oe<=_n.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Oe===0)return!0;switch(Oe){case _n.SPACE:case _n.QUESTION_MARK:case _n.NUM_PLUS:case _n.NUM_MINUS:case _n.NUM_PERIOD:case _n.NUM_DIVISION:case _n.SEMICOLON:case _n.DASH:case _n.EQUALS:case _n.COMMA:case _n.PERIOD:case _n.SLASH:case _n.APOSTROPHE:case _n.SINGLE_QUOTE:case _n.OPEN_SQUARE_BRACKET:case _n.BACKSLASH:case _n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Vt=_n,yn=function(Oe){return+setTimeout(Oe,16)},Kn=function(Oe){return clearTimeout(Oe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(yn=function(Oe){return window.requestAnimationFrame(Oe)},Kn=function(Oe){return window.cancelAnimationFrame(Oe)});var On=0,Qt=new Map;function Dr(pe){Qt.delete(pe)}var jt=function(Oe){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;On+=1;var Ke=On;function Qe(at){if(at===0)Dr(Ke),Oe();else{var ft=yn(function(){Qe(at-1)});Qt.set(Ke,ft)}}return Qe(Ae),Ke};jt.cancel=function(pe){var Oe=Qt.get(pe);return Dr(Oe),Kn(Oe)};var rn=jt,Ir=Vt.ESC,ur=Vt.TAB;function Rr(pe){var Oe=pe.visible,Ae=pe.triggerRef,Ke=pe.onVisibleChange,Qe=pe.autoFocus,at=pe.overlayRef,ft=fe.useRef(!1),Xt=function(){if(Oe){var Ar,Dn;(Ar=Ae.current)===null||Ar===void 0||(Dn=Ar.focus)===null||Dn===void 0||Dn.call(Ar),Ke==null||Ke(!1)}},an=function(){var Ar;return(Ar=at.current)!==null&&Ar!==void 0&&Ar.focus?(at.current.focus(),ft.current=!0,!0):!1},Qn=function(Ar){switch(Ar.keyCode){case Ir:Xt();break;case ur:{var Dn=!1;ft.current||(Dn=an()),Dn?Ar.preventDefault():Xt();break}}};fe.useEffect(function(){return Oe?(window.addEventListener("keydown",Qn),Qe&&rn(an,3),function(){window.removeEventListener("keydown",Qn),ft.current=!1}):function(){ft.current=!1}},[Oe])}var aa=(0,fe.forwardRef)(function(pe,Oe){var Ae=pe.overlay,Ke=pe.arrow,Qe=pe.prefixCls,at=(0,fe.useMemo)(function(){var Xt;return typeof Ae=="function"?Xt=Ae():Xt=Ae,Xt},[Ae]),ft=un(Oe,at==null?void 0:at.ref);return fe.createElement(fe.Fragment,null,Ke&&fe.createElement("div",{className:"".concat(Qe,"-arrow")}),fe.cloneElement(at,{ref:Xn(at)?ft:void 0}))}),qn=aa,Pa={adjustX:1,adjustY:1},Fa=[0,0],_a={topLeft:{points:["bl","tl"],overflow:Pa,offset:[0,-4],targetOffset:Fa},top:{points:["bc","tc"],overflow:Pa,offset:[0,-4],targetOffset:Fa},topRight:{points:["br","tr"],overflow:Pa,offset:[0,-4],targetOffset:Fa},bottomLeft:{points:["tl","bl"],overflow:Pa,offset:[0,4],targetOffset:Fa},bottom:{points:["tc","bc"],overflow:Pa,offset:[0,4],targetOffset:Fa},bottomRight:{points:["tr","br"],overflow:Pa,offset:[0,4],targetOffset:Fa}},Xr=_a,Da=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Mi(pe,Oe){var Ae,Ke=pe.arrow,Qe=Ke===void 0?!1:Ke,at=pe.prefixCls,ft=at===void 0?"rc-dropdown":at,Xt=pe.transitionName,an=pe.animation,Qn=pe.align,cr=pe.placement,Ar=cr===void 0?"bottomLeft":cr,Dn=pe.placements,$n=Dn===void 0?Xr:Dn,Jn=pe.getPopupContainer,kr=pe.showAction,Hr=pe.hideAction,zr=pe.overlayClassName,Fr=pe.overlayStyle,jr=pe.visible,_r=pe.trigger,Jr=_r===void 0?["hover"]:_r,kt=pe.autoFocus,Pt=pe.overlay,zn=pe.children,Bn=pe.onVisibleChange,xr=(0,Xe.Z)(pe,Da),Zr=fe.useState(),$t=(0,me.Z)(Zr,2),cn=$t[0],dn=$t[1],Rn="visible"in pe?jr:cn,yr=fe.useRef(null),Tr=fe.useRef(null),vr=fe.useRef(null);fe.useImperativeHandle(Oe,function(){return yr.current});var Pr=function(da){dn(da),Bn==null||Bn(da)};Rr({visible:Rn,triggerRef:vr,onVisibleChange:Pr,autoFocus:kt,overlayRef:Tr});var ia=function(da){var ci=pe.onOverlayClick;dn(!1),ci&&ci(da)},Va=function(){return fe.createElement(qn,{ref:Tr,overlay:Pt,prefixCls:ft,arrow:Qe})},ma=function(){return typeof Pt=="function"?Va:Va()},Gr=function(){var da=pe.minOverlayWidthMatchTrigger,ci=pe.alignPoint;return"minOverlayWidthMatchTrigger"in pe?da:!ci},Ea=function(){var da=pe.openClassName;return da!==void 0?da:"".concat(ft,"-open")},ja=fe.cloneElement(zn,{className:we()((Ae=zn.props)===null||Ae===void 0?void 0:Ae.className,Rn&&Ea()),ref:Xn(zn)?un(vr,zn.ref):void 0}),ai=Hr;return!ai&&Jr.indexOf("contextMenu")!==-1&&(ai=["click"]),fe.createElement(je.Z,(0,ke.Z)({builtinPlacements:$n},xr,{prefixCls:ft,ref:yr,popupClassName:we()(zr,(0,ce.Z)({},"".concat(ft,"-show-arrow"),Qe)),popupStyle:Fr,action:Jr,showAction:kr,hideAction:ai,popupPlacement:Ar,popupAlign:Qn,popupTransitionName:Xt,popupAnimation:an,popupVisible:Rn,stretch:Gr()?"minWidth":"",popup:ma(),onPopupVisibleChange:Pr,onPopupClick:ia,getPopupContainer:Jn}),ja)}var Si=fe.forwardRef(Mi),zi=Si,fi=ee(78595),Tn={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Oe){var Ae=Oe.keyCode;if(Oe.altKey&&!Oe.ctrlKey||Oe.metaKey||Ae>=Tn.F1&&Ae<=Tn.F12)return!1;switch(Ae){case Tn.ALT:case Tn.CAPS_LOCK:case Tn.CONTEXT_MENU:case Tn.CTRL:case Tn.DOWN:case Tn.END:case Tn.ESC:case Tn.HOME:case Tn.INSERT:case Tn.LEFT:case Tn.MAC_FF_META:case Tn.META:case Tn.NUMLOCK:case Tn.NUM_CENTER:case Tn.PAGE_DOWN:case Tn.PAGE_UP:case Tn.PAUSE:case Tn.PRINT_SCREEN:case Tn.RIGHT:case Tn.SHIFT:case Tn.UP:case Tn.WIN_KEY:case Tn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Oe){if(Oe>=Tn.ZERO&&Oe<=Tn.NINE||Oe>=Tn.NUM_ZERO&&Oe<=Tn.NUM_MULTIPLY||Oe>=Tn.A&&Oe<=Tn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Oe===0)return!0;switch(Oe){case Tn.SPACE:case Tn.QUESTION_MARK:case Tn.NUM_PLUS:case Tn.NUM_MINUS:case Tn.NUM_PERIOD:case Tn.NUM_DIVISION:case Tn.SEMICOLON:case Tn.DASH:case Tn.EQUALS:case Tn.COMMA:case Tn.PERIOD:case Tn.SLASH:case Tn.APOSTROPHE:case Tn.SINGLE_QUOTE:case Tn.OPEN_SQUARE_BRACKET:case Tn.BACKSLASH:case Tn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},bn=Tn;function ir(pe,Oe){var Ae=pe.prefixCls,Ke=pe.id,Qe=pe.tabs,at=pe.locale,ft=pe.mobile,Xt=pe.moreIcon,an=Xt===void 0?"More":Xt,Qn=pe.moreTransitionName,cr=pe.style,Ar=pe.className,Dn=pe.editable,$n=pe.tabBarGutter,Jn=pe.rtl,kr=pe.removeAriaLabel,Hr=pe.onTabClick,zr=pe.getPopupContainer,Fr=pe.popupClassName,jr=(0,fe.useState)(!1),_r=(0,me.Z)(jr,2),Jr=_r[0],kt=_r[1],Pt=(0,fe.useState)(null),zn=(0,me.Z)(Pt,2),Bn=zn[0],xr=zn[1],Zr="".concat(Ke,"-more-popup"),$t="".concat(Ae,"-dropdown"),cn=Bn!==null?"".concat(Zr,"-").concat(Bn):null,dn=at==null?void 0:at.dropdownAriaLabel;function Rn(ma,Gr){ma.preventDefault(),ma.stopPropagation(),Dn.onEdit("remove",{key:Gr,event:ma})}var yr=fe.createElement(fi.ZP,{onClick:function(Gr){var Ea=Gr.key,ja=Gr.domEvent;Hr(Ea,ja),kt(!1)},prefixCls:"".concat($t,"-menu"),id:Zr,tabIndex:-1,role:"listbox","aria-activedescendant":cn,selectedKeys:[Bn],"aria-label":dn!==void 0?dn:"expanded dropdown"},Qe.map(function(ma){var Gr=ma.closable,Ea=ma.disabled,ja=ma.closeIcon,ai=ma.key,Ra=ma.label,da=ve(Gr,ja,Dn,Ea);return fe.createElement(fi.sN,{key:ai,id:"".concat(Zr,"-").concat(ai),role:"option","aria-controls":Ke&&"".concat(Ke,"-panel-").concat(ai),disabled:Ea},fe.createElement("span",null,Ra),da&&fe.createElement("button",{type:"button","aria-label":kr||"remove",tabIndex:0,className:"".concat($t,"-menu-item-remove"),onClick:function(mi){mi.stopPropagation(),Rn(mi,ai)}},ja||Dn.removeIcon||"\xD7"))}));function Tr(ma){for(var Gr=Qe.filter(function(da){return!da.disabled}),Ea=Gr.findIndex(function(da){return da.key===Bn})||0,ja=Gr.length,ai=0;ai<ja;ai+=1){Ea=(Ea+ma+ja)%ja;var Ra=Gr[Ea];if(!Ra.disabled){xr(Ra.key);return}}}function vr(ma){var Gr=ma.which;if(!Jr){[bn.DOWN,bn.SPACE,bn.ENTER].includes(Gr)&&(kt(!0),ma.preventDefault());return}switch(Gr){case bn.UP:Tr(-1),ma.preventDefault();break;case bn.DOWN:Tr(1),ma.preventDefault();break;case bn.ESC:kt(!1);break;case bn.SPACE:case bn.ENTER:Bn!==null&&Hr(Bn,ma);break}}(0,fe.useEffect)(function(){var ma=document.getElementById(cn);ma&&ma.scrollIntoView&&ma.scrollIntoView(!1)},[Bn]),(0,fe.useEffect)(function(){Jr||xr(null)},[Jr]);var Pr=(0,ce.Z)({},Jn?"marginRight":"marginLeft",$n);Qe.length||(Pr.visibility="hidden",Pr.order=1);var ia=we()((0,ce.Z)({},"".concat($t,"-rtl"),Jn)),Va=ft?null:fe.createElement(zi,{prefixCls:$t,overlay:yr,trigger:["hover"],visible:Qe.length?Jr:!1,transitionName:Qn,onVisibleChange:kt,overlayClassName:we()(ia,Fr),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:zr},fe.createElement("button",{type:"button",className:"".concat(Ae,"-nav-more"),style:Pr,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Zr,id:"".concat(Ke,"-more"),"aria-expanded":Jr,onKeyDown:vr},an));return fe.createElement("div",{className:we()("".concat(Ae,"-nav-operations"),Ar),style:cr,ref:Oe},Va,fe.createElement(be,{prefixCls:Ae,locale:at,editable:Dn}))}var Cr=fe.memo(fe.forwardRef(ir),function(pe,Oe){return Oe.tabMoving});function Or(pe){var Oe,Ae=pe.prefixCls,Ke=pe.id,Qe=pe.active,at=pe.tab,ft=at.key,Xt=at.label,an=at.disabled,Qn=at.closeIcon,cr=pe.closable,Ar=pe.renderWrapper,Dn=pe.removeAriaLabel,$n=pe.editable,Jn=pe.onClick,kr=pe.onFocus,Hr=pe.style,zr="".concat(Ae,"-tab"),Fr=ve(cr,Qn,$n,an);function jr(kt){an||Jn(kt)}function _r(kt){kt.preventDefault(),kt.stopPropagation(),$n.onEdit("remove",{key:ft,event:kt})}var Jr=fe.createElement("div",{key:ft,"data-node-key":Ye(ft),className:we()(zr,(Oe={},(0,ce.Z)(Oe,"".concat(zr,"-with-remove"),Fr),(0,ce.Z)(Oe,"".concat(zr,"-active"),Qe),(0,ce.Z)(Oe,"".concat(zr,"-disabled"),an),Oe)),style:Hr,onClick:jr},fe.createElement("div",{role:"tab","aria-selected":Qe,id:Ke&&"".concat(Ke,"-tab-").concat(ft),className:"".concat(zr,"-btn"),"aria-controls":Ke&&"".concat(Ke,"-panel-").concat(ft),"aria-disabled":an,tabIndex:an?null:0,onClick:function(Pt){Pt.stopPropagation(),jr(Pt)},onKeyDown:function(Pt){[bn.SPACE,bn.ENTER].includes(Pt.which)&&(Pt.preventDefault(),jr(Pt))},onFocus:kr},Xt),Fr&&fe.createElement("button",{type:"button","aria-label":Dn||"remove",tabIndex:0,className:"".concat(zr,"-remove"),onClick:function(Pt){Pt.stopPropagation(),_r(Pt)}},Qn||$n.removeIcon||"\xD7"));return Ar?Ar(Jr):Jr}var Lr=Or,sa=function(Oe){return+setTimeout(Oe,16)},pn=function(Oe){return clearTimeout(Oe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(sa=function(Oe){return window.requestAnimationFrame(Oe)},pn=function(Oe){return window.cancelAnimationFrame(Oe)});var At=0,Zt=new Map;function on(pe){Zt.delete(pe)}var Yn=function(Oe){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;At+=1;var Ke=At;function Qe(at){if(at===0)on(Ke),Oe();else{var ft=sa(function(){Qe(at-1)});Zt.set(Ke,ft)}}return Qe(Ae),Ke};Yn.cancel=function(pe){var Oe=Zt.get(pe);return on(Oe),pn(Oe)};var Dt=Yn,fn=function(Oe){var Ae=Oe.activeTabOffset,Ke=Oe.horizontal,Qe=Oe.rtl,at=Oe.indicatorSize,ft=(0,fe.useState)(),Xt=(0,me.Z)(ft,2),an=Xt[0],Qn=Xt[1],cr=(0,fe.useRef)(),Ar=function(Jn){return typeof at=="function"?at(Jn):typeof at=="number"?at:Jn};function Dn(){Dt.cancel(cr.current)}return(0,fe.useEffect)(function(){var $n={};return Ae&&(Ke?(Qe?($n.right=Ae.right+Ae.width/2,$n.transform="translateX(50%)"):($n.left=Ae.left+Ae.width/2,$n.transform="translateX(-50%)"),$n.width=Ar(Ae.width)):($n.top=Ae.top+Ae.height/2,$n.transform="translateY(-50%)",$n.height=Ar(Ae.height))),Dn(),cr.current=Dt(function(){Qn($n)}),Dn},[Ae,Ke,Qe,at]),{style:an}},Vn=fn,kn=function(Oe){var Ae=Oe.current||{},Ke=Ae.offsetWidth,Qe=Ke===void 0?0:Ke,at=Ae.offsetHeight,ft=at===void 0?0:at;return[Qe,ft]},rr=function(Oe,Ae){return Oe[Ae?0:1]};function fr(pe,Oe){var Ae,Ke=fe.useContext($e),Qe=Ke.prefixCls,at=Ke.tabs,ft=pe.className,Xt=pe.style,an=pe.id,Qn=pe.animated,cr=pe.activeKey,Ar=pe.rtl,Dn=pe.extra,$n=pe.editable,Jn=pe.locale,kr=pe.tabPosition,Hr=pe.tabBarGutter,zr=pe.children,Fr=pe.onTabClick,jr=pe.onTabScroll,_r=pe.indicatorSize,Jr=(0,fe.useRef)(),kt=(0,fe.useRef)(),Pt=(0,fe.useRef)(),zn=(0,fe.useRef)(),Bn=(0,fe.useRef)(),xr=(0,fe.useRef)(),Zr=(0,fe.useRef)(),$t=kr==="top"||kr==="bottom",cn=Mt(0,function(Ul,Le){$t&&jr&&jr({direction:Ul>Le?"left":"right"})}),dn=(0,me.Z)(cn,2),Rn=dn[0],yr=dn[1],Tr=Mt(0,function(Ul,Le){!$t&&jr&&jr({direction:Ul>Le?"top":"bottom"})}),vr=(0,me.Z)(Tr,2),Pr=vr[0],ia=vr[1],Va=(0,fe.useState)([0,0]),ma=(0,me.Z)(Va,2),Gr=ma[0],Ea=ma[1],ja=(0,fe.useState)([0,0]),ai=(0,me.Z)(ja,2),Ra=ai[0],da=ai[1],ci=(0,fe.useState)([0,0]),mi=(0,me.Z)(ci,2),io=mi[0],po=mi[1],Ao=(0,fe.useState)([0,0]),uo=(0,me.Z)(Ao,2),ho=uo[0],ji=uo[1],wo=Sn(new Map),Zi=(0,me.Z)(wo,2),gi=Zi[0],mo=Zi[1],_o=Ie(at,gi,Ra[0]),Wi=rr(Gr,$t),al=rr(Ra,$t),fl=rr(io,$t),hl=rr(ho,$t),qo=Wi<al+fl,Mo=qo?Wi-hl:Wi-fl,Wl="".concat(Qe,"-nav-operations-hidden"),Vo=0,yo=0;$t&&Ar?(Vo=0,yo=Math.max(0,al-Mo)):(Vo=Math.min(0,Mo-al),yo=0);function sl(Ul){return Ul<Vo?Vo:Ul>yo?yo:Ul}var Vl=(0,fe.useRef)(),pl=(0,fe.useState)(),Dl=(0,me.Z)(pl,2),Lo=Dl[0],jl=Dl[1];function ls(){jl(Date.now())}function Ql(){window.clearTimeout(Vl.current)}nn(zn,function(Ul,Le){function qe(it,Ce){it(function(Ne){var St=sl(Ne+Ce);return St})}return qo?($t?qe(yr,Ul):qe(ia,Le),Ql(),ls(),!0):!1}),(0,fe.useEffect)(function(){return Ql(),Lo&&(Vl.current=window.setTimeout(function(){jl(0)},100)),Ql},[Lo]);var Al=In(_o,Mo,$t?Rn:Pr,al,fl,hl,(0,Se.Z)((0,Se.Z)({},pe),{},{tabs:at})),Tl=(0,me.Z)(Al,2),$l=Tl[0],Rl=Tl[1],Il=pt(function(){var Ul=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cr,Le=_o.get(Ul)||{width:0,height:0,left:0,right:0,top:0};if($t){var qe=Rn;Ar?Le.right<Rn?qe=Le.right:Le.right+Le.width>Rn+Mo&&(qe=Le.right+Le.width-Mo):Le.left<-Rn?qe=-Le.left:Le.left+Le.width>-Rn+Mo&&(qe=-(Le.left+Le.width-Mo)),ia(0),yr(sl(qe))}else{var it=Pr;Le.top<-Pr?it=-Le.top:Le.top+Le.height>-Pr+Mo&&(it=-(Le.top+Le.height-Mo)),yr(0),ia(sl(it))}}),ss={};kr==="top"||kr==="bottom"?ss[Ar?"marginRight":"marginLeft"]=Hr:ss.marginTop=Hr;var us=at.map(function(Ul,Le){var qe=Ul.key;return fe.createElement(Lr,{id:an,prefixCls:Qe,key:qe,tab:Ul,style:Le===0?void 0:ss,closable:Ul.closable,editable:$n,active:qe===cr,renderWrapper:zr,removeAriaLabel:Jn==null?void 0:Jn.removeAriaLabel,onClick:function(Ce){Fr(qe,Ce)},onFocus:function(){Il(qe),ls(),zn.current&&(Ar||(zn.current.scrollLeft=0),zn.current.scrollTop=0)}})}),ms=function(){return mo(function(){var Le=new Map;return at.forEach(function(qe){var it,Ce=qe.key,Ne=(it=Bn.current)===null||it===void 0?void 0:it.querySelector('[data-node-key="'.concat(Ye(Ce),'"]'));Ne&&Le.set(Ce,{width:Ne.offsetWidth,height:Ne.offsetHeight,left:Ne.offsetLeft,top:Ne.offsetTop})}),Le})};(0,fe.useEffect)(function(){ms()},[at.map(function(Ul){return Ul.key}).join("_")]);var ts=Cn(function(){var Ul=kn(Jr),Le=kn(kt),qe=kn(Pt);Ea([Ul[0]-Le[0]-qe[0],Ul[1]-Le[1]-qe[1]]);var it=kn(Zr);po(it);var Ce=kn(xr);ji(Ce);var Ne=kn(Bn);da([Ne[0]-it[0],Ne[1]-it[1]]),ms()}),ns=at.slice(0,$l),Go=at.slice(Rl+1),il=[].concat((0,Be.Z)(ns),(0,Be.Z)(Go)),_l=_o.get(cr),Xl=Vn({activeTabOffset:_l,horizontal:$t,rtl:Ar,indicatorSize:_r}),hs=Xl.style;(0,fe.useEffect)(function(){Il()},[cr,Vo,yo,br(_l),br(_o),$t]),(0,fe.useEffect)(function(){ts()},[Ar]);var xs=!!il.length,Ms="".concat(Qe,"-nav-wrap"),zs,Ws,Bs,Xs;return $t?Ar?(Ws=Rn>0,zs=Rn!==yo):(zs=Rn<0,Ws=Rn!==Vo):(Bs=Pr<0,Xs=Pr!==Vo),fe.createElement(mt.Z,{onResize:ts},fe.createElement("div",{ref:Bt(Oe,Jr),role:"tablist",className:we()("".concat(Qe,"-nav"),ft),style:Xt,onKeyDown:function(){ls()}},fe.createElement(se,{ref:kt,position:"left",extra:Dn,prefixCls:Qe}),fe.createElement(mt.Z,{onResize:ts},fe.createElement("div",{className:we()(Ms,(Ae={},(0,ce.Z)(Ae,"".concat(Ms,"-ping-left"),zs),(0,ce.Z)(Ae,"".concat(Ms,"-ping-right"),Ws),(0,ce.Z)(Ae,"".concat(Ms,"-ping-top"),Bs),(0,ce.Z)(Ae,"".concat(Ms,"-ping-bottom"),Xs),Ae)),ref:zn},fe.createElement(mt.Z,{onResize:ts},fe.createElement("div",{ref:Bn,className:"".concat(Qe,"-nav-list"),style:{transform:"translate(".concat(Rn,"px, ").concat(Pr,"px)"),transition:Lo?"none":void 0}},us,fe.createElement(be,{ref:Zr,prefixCls:Qe,locale:Jn,editable:$n,style:(0,Se.Z)((0,Se.Z)({},us.length===0?void 0:ss),{},{visibility:xs?"hidden":null})}),fe.createElement("div",{className:we()("".concat(Qe,"-ink-bar"),(0,ce.Z)({},"".concat(Qe,"-ink-bar-animated"),Qn.inkBar)),style:hs}))))),fe.createElement(Cr,(0,ke.Z)({},pe,{removeAriaLabel:Jn==null?void 0:Jn.removeAriaLabel,ref:xr,prefixCls:Qe,tabs:il,className:!xs&&Wl,tabMoving:!!Lo})),fe.createElement(se,{ref:Pt,position:"right",extra:Dn,prefixCls:Qe})))}var mn=fe.forwardRef(fr),Ta=["renderTabBar"],ha=["label","key"];function ya(pe){var Oe=pe.renderTabBar,Ae=(0,Xe.Z)(pe,Ta),Ke=fe.useContext($e),Qe=Ke.tabs;if(Oe){var at=(0,Se.Z)((0,Se.Z)({},Ae),{},{panes:Qe.map(function(ft){var Xt=ft.label,an=ft.key,Qn=(0,Xe.Z)(ft,ha);return fe.createElement(ht,(0,ke.Z)({tab:Xt,key:an,tabKey:an},Qn))})});return Oe(at,mn)}return fe.createElement(mn,Ae)}var Sa={},Ma=[],pa=function(Oe){Ma.push(Oe)};function Er(pe,Oe){if(0)var Ae}function qr(pe,Oe){if(0)var Ae}function Hi(){Sa={}}function Fi(pe,Oe,Ae){!Oe&&!Sa[Ae]&&(pe(!1,Ae),Sa[Ae]=!0)}function $a(pe,Oe){Fi(Er,pe,Oe)}function ni(pe,Oe){Fi(qr,pe,Oe)}$a.preMessage=pa,$a.resetWarned=Hi,$a.noteOnce=ni;var no=null;function oi(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Oe;return pe===!1?Oe={inkBar:!1,tabPane:!1}:pe===!0?Oe={inkBar:!0,tabPane:!1}:Oe=(0,Se.Z)({inkBar:!0},(0,Pe.Z)(pe)==="object"?pe:{}),Oe.tabPaneMotion&&Oe.tabPane===void 0&&(Oe.tabPane=!0),!Oe.tabPaneMotion&&Oe.tabPane&&(Oe.tabPane=!1),Oe}var so=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],ta=0;function to(pe,Oe){var Ae,Ke=pe.id,Qe=pe.prefixCls,at=Qe===void 0?"rc-tabs":Qe,ft=pe.className,Xt=pe.items,an=pe.direction,Qn=pe.activeKey,cr=pe.defaultActiveKey,Ar=pe.editable,Dn=pe.animated,$n=pe.tabPosition,Jn=$n===void 0?"top":$n,kr=pe.tabBarGutter,Hr=pe.tabBarStyle,zr=pe.tabBarExtraContent,Fr=pe.locale,jr=pe.moreIcon,_r=pe.moreTransitionName,Jr=pe.destroyInactiveTabPane,kt=pe.renderTabBar,Pt=pe.onChange,zn=pe.onTabClick,Bn=pe.onTabScroll,xr=pe.getPopupContainer,Zr=pe.popupClassName,$t=pe.indicatorSize,cn=(0,Xe.Z)(pe,so),dn=fe.useMemo(function(){return(Xt||[]).filter(function(ji){return ji&&(0,Pe.Z)(ji)==="object"&&"key"in ji})},[Xt]),Rn=an==="rtl",yr=oi(Dn),Tr=(0,fe.useState)(!1),vr=(0,me.Z)(Tr,2),Pr=vr[0],ia=vr[1];(0,fe.useEffect)(function(){ia(Ge())},[]);var Va=ye(function(){var ji;return(ji=dn[0])===null||ji===void 0?void 0:ji.key},{value:Qn,defaultValue:cr}),ma=(0,me.Z)(Va,2),Gr=ma[0],Ea=ma[1],ja=(0,fe.useState)(function(){return dn.findIndex(function(ji){return ji.key===Gr})}),ai=(0,me.Z)(ja,2),Ra=ai[0],da=ai[1];(0,fe.useEffect)(function(){var ji=dn.findIndex(function(Zi){return Zi.key===Gr});if(ji===-1){var wo;ji=Math.max(0,Math.min(Ra,dn.length-1)),Ea((wo=dn[ji])===null||wo===void 0?void 0:wo.key)}da(ji)},[dn.map(function(ji){return ji.key}).join("_"),Gr,Ra]);var ci=ye(null,{value:Ke}),mi=(0,me.Z)(ci,2),io=mi[0],po=mi[1];(0,fe.useEffect)(function(){Ke||(po("rc-tabs-".concat(ta)),ta+=1)},[]);function Ao(ji,wo){zn==null||zn(ji,wo);var Zi=ji!==Gr;Ea(ji),Zi&&(Pt==null||Pt(ji))}var uo={id:io,activeKey:Gr,animated:yr,tabPosition:Jn,rtl:Rn,mobile:Pr},ho=(0,Se.Z)((0,Se.Z)({},uo),{},{editable:Ar,locale:Fr,moreIcon:jr,moreTransitionName:_r,tabBarGutter:kr,onTabClick:Ao,onTabScroll:Bn,extra:zr,style:Hr,panes:null,getPopupContainer:xr,popupClassName:Zr,indicatorSize:$t});return fe.createElement($e.Provider,{value:{tabs:dn,prefixCls:at}},fe.createElement("div",(0,ke.Z)({ref:Oe,id:Ke,className:we()(at,"".concat(at,"-").concat(Jn),(Ae={},(0,ce.Z)(Ae,"".concat(at,"-mobile"),Pr),(0,ce.Z)(Ae,"".concat(at,"-editable"),Ar),(0,ce.Z)(Ae,"".concat(at,"-rtl"),Rn),Ae),ft)},cn),fe.createElement(ya,(0,ke.Z)({},ho,{renderTabBar:kt})),fe.createElement(Fe,(0,ke.Z)({destroyInactiveTabPane:Jr},uo,{animated:yr}))))}var xo=fe.forwardRef(to),xl=xo,ll=xl,Uo=ee(53124),co=ee(98675),Yo=()=>null,gl=ee(33603);const zl={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Sl(pe){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Ae;return Oe===!1?Ae={inkBar:!1,tabPane:!1}:Oe===!0?Ae={inkBar:!0,tabPane:!0}:Ae=Object.assign({inkBar:!0},typeof Oe=="object"?Oe:{}),Ae.tabPane&&(Ae.tabPaneMotion=Object.assign(Object.assign({},zl),{motionName:(0,gl.m)(pe,"switch")})),Ae}var Cl=ee(37419),wi=function(pe,Oe){var Ae={};for(var Ke in pe)Object.prototype.hasOwnProperty.call(pe,Ke)&&Oe.indexOf(Ke)<0&&(Ae[Ke]=pe[Ke]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ke=Object.getOwnPropertySymbols(pe);Qe<Ke.length;Qe++)Oe.indexOf(Ke[Qe])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ke[Qe])&&(Ae[Ke[Qe]]=pe[Ke[Qe]]);return Ae};function ko(pe){return pe.filter(Oe=>Oe)}function Pi(pe,Oe){if(pe)return pe;const Ae=(0,Cl.Z)(Oe).map(Ke=>{if(fe.isValidElement(Ke)){const{key:Qe,props:at}=Ke,ft=at||{},{tab:Xt}=ft,an=wi(ft,["tab"]);return Object.assign(Object.assign({key:String(Qe)},an),{label:Xt})}return null});return ko(Ae)}var Ci=ee(14747),Zn=ee(67968),Mn=ee(45503),dr=ee(67771),va=pe=>{const{componentCls:Oe,motionDurationSlow:Ae}=pe;return[{[Oe]:{[`${Oe}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Ae}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Ae}`}}}}},[(0,dr.oN)(pe,"slide-up"),(0,dr.oN)(pe,"slide-down")]]};const pi=pe=>{const{componentCls:Oe,tabsCardPadding:Ae,cardBg:Ke,cardGutter:Qe,colorBorderSecondary:at,itemSelectedColor:ft}=pe;return{[`${Oe}-card`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{margin:0,padding:Ae,background:Ke,border:`${pe.lineWidth}px ${pe.lineType} ${at}`,transition:`all ${pe.motionDurationSlow} ${pe.motionEaseInOut}`},[`${Oe}-tab-active`]:{color:ft,background:pe.colorBgContainer},[`${Oe}-ink-bar`]:{visibility:"hidden"}},[`&${Oe}-top, &${Oe}-bottom`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab + ${Oe}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Qe}px`}}}},[`&${Oe}-top`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{borderRadius:`${pe.borderRadiusLG}px ${pe.borderRadiusLG}px 0 0`},[`${Oe}-tab-active`]:{borderBottomColor:pe.colorBgContainer}}},[`&${Oe}-bottom`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{borderRadius:`0 0 ${pe.borderRadiusLG}px ${pe.borderRadiusLG}px`},[`${Oe}-tab-active`]:{borderTopColor:pe.colorBgContainer}}},[`&${Oe}-left, &${Oe}-right`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab + ${Oe}-tab`]:{marginTop:`${Qe}px`}}},[`&${Oe}-left`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{borderRadius:{_skip_check_:!0,value:`${pe.borderRadiusLG}px 0 0 ${pe.borderRadiusLG}px`}},[`${Oe}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:pe.colorBgContainer}}}},[`&${Oe}-right`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${pe.borderRadiusLG}px ${pe.borderRadiusLG}px 0`}},[`${Oe}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:pe.colorBgContainer}}}}}}},Ai=pe=>{const{componentCls:Oe,itemHoverColor:Ae,dropdownEdgeChildVerticalPadding:Ke}=pe;return{[`${Oe}-dropdown`]:Object.assign(Object.assign({},(0,Ci.Wf)(pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:pe.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Oe}-dropdown-menu`]:{maxHeight:pe.tabsDropdownHeight,margin:0,padding:`${Ke}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:pe.colorBgContainer,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Ci.vS),{display:"flex",alignItems:"center",minWidth:pe.tabsDropdownWidth,margin:0,padding:`${pe.paddingXXS}px ${pe.paddingSM}px`,color:pe.colorText,fontWeight:"normal",fontSize:pe.fontSize,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${pe.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:pe.marginSM},color:pe.colorTextDescription,fontSize:pe.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Ae}},"&:hover":{background:pe.controlItemBgHover},"&-disabled":{"&, &:hover":{color:pe.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Vi=pe=>{const{componentCls:Oe,margin:Ae,colorBorderSecondary:Ke,horizontalMargin:Qe,verticalItemPadding:at,verticalItemMargin:ft}=pe;return{[`${Oe}-top, ${Oe}-bottom`]:{flexDirection:"column",[`> ${Oe}-nav, > div > ${Oe}-nav`]:{margin:Qe,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${pe.lineWidth}px ${pe.lineType} ${Ke}`,content:"''"},[`${Oe}-ink-bar`]:{height:pe.lineWidthBold,"&-animated":{transition:`width ${pe.motionDurationSlow}, left ${pe.motionDurationSlow},
right ${pe.motionDurationSlow}`}},[`${Oe}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:pe.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:pe.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:pe.boxShadowTabsOverflowRight},[`&${Oe}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Oe}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Oe}-top`]:{[`> ${Oe}-nav,
> div > ${Oe}-nav`]:{"&::before":{bottom:0},[`${Oe}-ink-bar`]:{bottom:0}}},[`${Oe}-bottom`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{order:1,marginTop:`${Ae}px`,marginBottom:0,"&::before":{top:0},[`${Oe}-ink-bar`]:{top:0}},[`> ${Oe}-content-holder, > div > ${Oe}-content-holder`]:{order:0}},[`${Oe}-left, ${Oe}-right`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{flexDirection:"column",minWidth:pe.controlHeight*1.25,[`${Oe}-tab`]:{padding:at,textAlign:"center"},[`${Oe}-tab + ${Oe}-tab`]:{margin:ft},[`${Oe}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:pe.controlHeight},"&::before":{top:0,boxShadow:pe.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:pe.boxShadowTabsOverflowBottom},[`&${Oe}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Oe}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Oe}-ink-bar`]:{width:pe.lineWidthBold,"&-animated":{transition:`height ${pe.motionDurationSlow}, top ${pe.motionDurationSlow}`}},[`${Oe}-nav-list, ${Oe}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Oe}-left`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Oe}-content-holder, > div > ${Oe}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${pe.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`},[`> ${Oe}-content > ${Oe}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:pe.paddingLG}}}},[`${Oe}-right`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{order:1,[`${Oe}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Oe}-content-holder, > div > ${Oe}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-pe.lineWidth},borderRight:{_skip_check_:!0,value:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`},[`> ${Oe}-content > ${Oe}-tabpane`]:{paddingRight:{_skip_check_:!0,value:pe.paddingLG}}}}}},ui=pe=>{const{componentCls:Oe,cardPaddingSM:Ae,cardPaddingLG:Ke,horizontalItemPaddingSM:Qe,horizontalItemPaddingLG:at}=pe;return{[Oe]:{"&-small":{[`> ${Oe}-nav`]:{[`${Oe}-tab`]:{padding:Qe,fontSize:pe.titleFontSizeSM}}},"&-large":{[`> ${Oe}-nav`]:{[`${Oe}-tab`]:{padding:at,fontSize:pe.titleFontSizeLG}}}},[`${Oe}-card`]:{[`&${Oe}-small`]:{[`> ${Oe}-nav`]:{[`${Oe}-tab`]:{padding:Ae}},[`&${Oe}-bottom`]:{[`> ${Oe}-nav ${Oe}-tab`]:{borderRadius:`0 0 ${pe.borderRadius}px ${pe.borderRadius}px`}},[`&${Oe}-top`]:{[`> ${Oe}-nav ${Oe}-tab`]:{borderRadius:`${pe.borderRadius}px ${pe.borderRadius}px 0 0`}},[`&${Oe}-right`]:{[`> ${Oe}-nav ${Oe}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${pe.borderRadius}px ${pe.borderRadius}px 0`}}},[`&${Oe}-left`]:{[`> ${Oe}-nav ${Oe}-tab`]:{borderRadius:{_skip_check_:!0,value:`${pe.borderRadius}px 0 0 ${pe.borderRadius}px`}}}},[`&${Oe}-large`]:{[`> ${Oe}-nav`]:{[`${Oe}-tab`]:{padding:Ke}}}}}},Di=pe=>{const{componentCls:Oe,itemActiveColor:Ae,itemHoverColor:Ke,iconCls:Qe,tabsHorizontalItemMargin:at,horizontalItemPadding:ft,itemSelectedColor:Xt,itemColor:an}=pe,Qn=`${Oe}-tab`;return{[Qn]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:ft,fontSize:pe.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:an,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Ae}},(0,Ci.Qy)(pe)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-pe.marginXXS},marginLeft:{_skip_check_:!0,value:pe.marginXS},color:pe.colorTextDescription,fontSize:pe.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${pe.motionDurationSlow}`,"&:hover":{color:pe.colorTextHeading}},"&:hover":{color:Ke},[`&${Qn}-active ${Qn}-btn`]:{color:Xt,textShadow:pe.tabsActiveTextShadow},[`&${Qn}-disabled`]:{color:pe.colorTextDisabled,cursor:"not-allowed"},[`&${Qn}-disabled ${Qn}-btn, &${Qn}-disabled ${Oe}-remove`]:{"&:focus, &:active":{color:pe.colorTextDisabled}},[`& ${Qn}-remove ${Qe}`]:{margin:0},[Qe]:{marginRight:{_skip_check_:!0,value:pe.marginSM}}},[`${Qn} + ${Qn}`]:{margin:{_skip_check_:!0,value:at}}}},Eo=pe=>{const{componentCls:Oe,tabsHorizontalItemMarginRTL:Ae,iconCls:Ke,cardGutter:Qe}=pe;return{[`${Oe}-rtl`]:{direction:"rtl",[`${Oe}-nav`]:{[`${Oe}-tab`]:{margin:{_skip_check_:!0,value:Ae},[`${Oe}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Ke]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${pe.marginSM}px`}},[`${Oe}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${pe.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${pe.marginXXS}px`},[Ke]:{margin:0}}}},[`&${Oe}-left`]:{[`> ${Oe}-nav`]:{order:1},[`> ${Oe}-content-holder`]:{order:0}},[`&${Oe}-right`]:{[`> ${Oe}-nav`]:{order:0},[`> ${Oe}-content-holder`]:{order:1}},[`&${Oe}-card${Oe}-top, &${Oe}-card${Oe}-bottom`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab + ${Oe}-tab`]:{marginRight:{_skip_check_:!0,value:Qe},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Oe}-dropdown-rtl`]:{direction:"rtl"},[`${Oe}-menu-item`]:{[`${Oe}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Zo=pe=>{const{componentCls:Oe,tabsCardPadding:Ae,cardHeight:Ke,cardGutter:Qe,itemHoverColor:at,itemActiveColor:ft,colorBorderSecondary:Xt}=pe;return{[Oe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ci.Wf)(pe)),{display:"flex",[`> ${Oe}-nav, > div > ${Oe}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Oe}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${pe.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Oe}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${pe.motionDurationSlow}`},[`${Oe}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Oe}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Oe}-nav-more`]:{position:"relative",padding:Ae,background:"transparent",border:0,color:pe.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:pe.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Oe}-nav-add`]:Object.assign({minWidth:Ke,marginLeft:{_skip_check_:!0,value:Qe},padding:`0 ${pe.paddingXS}px`,background:"transparent",border:`${pe.lineWidth}px ${pe.lineType} ${Xt}`,borderRadius:`${pe.borderRadiusLG}px ${pe.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:pe.colorText,transition:`all ${pe.motionDurationSlow} ${pe.motionEaseInOut}`,"&:hover":{color:at},"&:active, &:focus:not(:focus-visible)":{color:ft}},(0,Ci.Qy)(pe))},[`${Oe}-extra-content`]:{flex:"none"},[`${Oe}-ink-bar`]:{position:"absolute",background:pe.inkBarColor,pointerEvents:"none"}}),Di(pe)),{[`${Oe}-content`]:{position:"relative",width:"100%"},[`${Oe}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Oe}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Oe}-centered`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-nav-wrap`]:{[`&:not([class*='${Oe}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var Qo=(0,Zn.Z)("Tabs",pe=>{const Oe=(0,Mn.TS)(pe,{tabsCardPadding:pe.cardPadding||`${(pe.cardHeight-Math.round(pe.fontSize*pe.lineHeight))/2-pe.lineWidth}px ${pe.padding}px`,dropdownEdgeChildVerticalPadding:pe.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${pe.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${pe.horizontalItemGutter}px`});return[ui(Oe),Eo(Oe),Vi(Oe),Ai(Oe),pi(Oe),Zo(Oe),va(Oe)]},pe=>{const Oe=pe.controlHeightLG;return{zIndexPopup:pe.zIndexPopupBase+50,cardBg:pe.colorFillAlter,cardHeight:Oe,cardPadding:"",cardPaddingSM:`${pe.paddingXXS*1.5}px ${pe.padding}px`,cardPaddingLG:`${pe.paddingXS}px ${pe.padding}px ${pe.paddingXXS*1.5}px`,titleFontSize:pe.fontSize,titleFontSizeLG:pe.fontSizeLG,titleFontSizeSM:pe.fontSize,inkBarColor:pe.colorPrimary,horizontalMargin:`0 0 ${pe.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${pe.paddingSM}px 0`,horizontalItemPaddingSM:`${pe.paddingXS}px 0`,horizontalItemPaddingLG:`${pe.padding}px 0`,verticalItemPadding:`${pe.paddingXS}px ${pe.paddingLG}px`,verticalItemMargin:`${pe.margin}px 0 0 0`,itemColor:pe.colorText,itemSelectedColor:pe.colorPrimary,itemHoverColor:pe.colorPrimaryHover,itemActiveColor:pe.colorPrimaryActive,cardGutter:pe.marginXXS/2}}),He=function(pe,Oe){var Ae={};for(var Ke in pe)Object.prototype.hasOwnProperty.call(pe,Ke)&&Oe.indexOf(Ke)<0&&(Ae[Ke]=pe[Ke]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ke=Object.getOwnPropertySymbols(pe);Qe<Ke.length;Qe++)Oe.indexOf(Ke[Qe])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ke[Qe])&&(Ae[Ke[Qe]]=pe[Ke[Qe]]);return Ae};const nt=pe=>{const{type:Oe,className:Ae,rootClassName:Ke,size:Qe,onEdit:at,hideAdd:ft,centered:Xt,addIcon:an,popupClassName:Qn,children:cr,items:Ar,animated:Dn,style:$n,indicatorSize:Jn}=pe,kr=He(pe,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Hr,moreIcon:zr=fe.createElement(de.Z,null)}=kr,{direction:Fr,tabs:jr,getPrefixCls:_r,getPopupContainer:Jr}=fe.useContext(Uo.E_),kt=_r("tabs",Hr),[Pt,zn]=Qo(kt);let Bn;Oe==="editable-card"&&(Bn={onEdit:(Rn,yr)=>{let{key:Tr,event:vr}=yr;at==null||at(Rn==="add"?vr:Tr,Rn)},removeIcon:fe.createElement(ne.Z,null),addIcon:an||fe.createElement(Me.Z,null),showAdd:ft!==!0});const xr=_r(),Zr=Pi(Ar,cr),$t=Sl(kt,Dn),cn=(0,co.Z)(Qe),dn=Object.assign(Object.assign({},jr==null?void 0:jr.style),$n);return Pt(fe.createElement(ll,Object.assign({direction:Fr,getPopupContainer:Jr,moreTransitionName:`${xr}-slide-up`},kr,{items:Zr,className:we()({[`${kt}-${cn}`]:cn,[`${kt}-card`]:["card","editable-card"].includes(Oe),[`${kt}-editable-card`]:Oe==="editable-card",[`${kt}-centered`]:Xt},jr==null?void 0:jr.className,Ae,Ke,zn),popupClassName:we()(Qn,zn),style:dn,editable:Bn,moreIcon:zr,prefixCls:kt,animated:$t,indicatorSize:Jn!=null?Jn:jr==null?void 0:jr.indicatorSize})))};nt.TabPane=Yo;var It=nt},48305:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return ka}});var ne=ee(94184),de=ee.n(ne),Me=ee(87462),et=ee(74902),we=ee(1413),ke=ee(97685),ce=ee(45987),Se=ee(71002),me=ee(4942),Pe=ee(21770),Xe=ee(80334),fe=ee(67294),Ge=ee(8410),pt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var _e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(_e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(_e==null?void 0:_e.substr(0,4))},ot=ee(15105),vt=ee(42550),Ee=function(gt){var Ht=gt.className,Ue=gt.customizeIcon,Ut=gt.customizeIconProps,hn=gt.onMouseDown,Fn=gt.onClick,Lt=gt.children,Gt;return typeof Ue=="function"?Gt=Ue(Ut):Gt=Ue,fe.createElement("span",{className:Ht,onMouseDown:function(jn){jn.preventDefault(),hn&&hn(jn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Fn,"aria-hidden":!0},Gt!==void 0?Gt:fe.createElement("span",{className:de()(Ht.split(/\s+/).map(function(ln){return"".concat(ln,"-icon")}))},Lt))},wt=Ee;function Rt(_e,gt,Ht,Ue,Ut){var hn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Fn=arguments.length>6?arguments[6]:void 0,Lt=arguments.length>7?arguments[7]:void 0,Gt=fe.useMemo(function(){if((0,Se.Z)(Ue)==="object")return Ue.clearIcon;if(Ut)return Ut},[Ue,Ut]),ln=fe.useMemo(function(){return!!(!hn&&Ue&&(Ht.length||Fn)&&!(Lt==="combobox"&&Fn===""))},[Ue,hn,Ht.length,Fn,Lt]);return{allowClear:ln,clearIcon:fe.createElement(wt,{className:"".concat(_e,"-clear"),onMouseDown:gt,customizeIcon:Gt},"\xD7")}}var tt=fe.createContext(null);function st(){return fe.useContext(tt)}function ye(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,gt=fe.useState(!1),Ht=(0,ke.Z)(gt,2),Ue=Ht[0],Ut=Ht[1],hn=fe.useRef(null),Fn=function(){window.clearTimeout(hn.current)};fe.useEffect(function(){return Fn},[]);var Lt=function(ln,jn){Fn(),hn.current=window.setTimeout(function(){Ut(ln),jn&&jn()},_e)};return[Ue,Lt,Fn]}function ue(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,gt=fe.useRef(null),Ht=fe.useRef(null);fe.useEffect(function(){return function(){window.clearTimeout(Ht.current)}},[]);function Ue(Ut){(Ut||gt.current===null)&&(gt.current=Ut),window.clearTimeout(Ht.current),Ht.current=window.setTimeout(function(){gt.current=null},_e)}return[function(){return gt.current},Ue]}function $e(_e,gt,Ht,Ue){var Ut=fe.useRef(null);Ut.current={open:gt,triggerOpen:Ht,customizedTrigger:Ue},fe.useEffect(function(){function hn(Fn){var Lt;if(!((Lt=Ut.current)!==null&&Lt!==void 0&&Lt.customizedTrigger)){var Gt=Fn.target;Gt.shadowRoot&&Fn.composed&&(Gt=Fn.composedPath()[0]||Gt),Ut.current.open&&_e().filter(function(ln){return ln}).every(function(ln){return!ln.contains(Gt)&&ln!==Gt})&&Ut.current.triggerOpen(!1)}}return window.addEventListener("mousedown",hn),function(){return window.removeEventListener("mousedown",hn)}},[])}var Je=ee(64217),ht=ee(48555);function yt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Fe=yt()?fe.useLayoutEffect:fe.useEffect,Be=function(gt,Ht){var Ue=fe.useRef(!0);Fe(function(){return gt(Ue.current)},Ht),Fe(function(){return Ue.current=!1,function(){Ue.current=!0}},[])},mt=function(gt,Ht){Be(function(Ue){if(!Ue)return gt()},Ht)},ze=Be,ut=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],rt=void 0;function Tt(_e,gt){var Ht=_e.prefixCls,Ue=_e.invalidate,Ut=_e.item,hn=_e.renderItem,Fn=_e.responsive,Lt=_e.responsiveDisabled,Gt=_e.registerSize,ln=_e.itemKey,jn=_e.className,er=_e.style,gr=_e.children,lr=_e.display,Nr=_e.order,Wr=_e.component,ea=Wr===void 0?"div":Wr,Kr=(0,ce.Z)(_e,ut),Ba=Fn&&!lr;function ua(fa){Gt(ln,fa)}fe.useEffect(function(){return function(){ua(null)}},[]);var Na=hn&&Ut!==rt?hn(Ut):gr,Ga;Ue||(Ga={opacity:Ba?0:1,height:Ba?0:rt,overflowY:Ba?"hidden":rt,order:Fn?Nr:rt,pointerEvents:Ba?"none":rt,position:Ba?"absolute":rt});var la={};Ba&&(la["aria-hidden"]=!0);var ga=fe.createElement(ea,(0,Me.Z)({className:de()(!Ue&&Ht,jn),style:(0,we.Z)((0,we.Z)({},Ga),er)},la,Kr,{ref:gt}),Na);return Fn&&(ga=fe.createElement(ht.Z,{onResize:function(La){var Aa=La.offsetWidth;ua(Aa)},disabled:Lt},ga)),ga}var Bt=fe.forwardRef(Tt);Bt.displayName="Item";var en=Bt;function ct(_e){var gt=fe.useRef();gt.current=_e;var Ht=fe.useCallback(function(){for(var Ue,Ut=arguments.length,hn=new Array(Ut),Fn=0;Fn<Ut;Fn++)hn[Fn]=arguments[Fn];return(Ue=gt.current)===null||Ue===void 0?void 0:Ue.call.apply(Ue,[gt].concat(hn))},[]);return Ht}var Ie=ee(73935),Mt=function(gt){return+setTimeout(gt,16)},vn=function(gt){return clearTimeout(gt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Mt=function(gt){return window.requestAnimationFrame(gt)},vn=function(gt){return window.cancelAnimationFrame(gt)});var qt=0,Nt=new Map;function Kt(_e){Nt.delete(_e)}var nn=function(gt){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;qt+=1;var Ue=qt;function Ut(hn){if(hn===0)Kt(Ue),gt();else{var Fn=Mt(function(){Ut(hn-1)});Nt.set(Ue,Fn)}}return Ut(Ht),Ue};nn.cancel=function(_e){var gt=Nt.get(_e);return Kt(gt),vn(gt)};var Cn=nn;function Sn(_e){if(typeof MessageChannel=="undefined")Cn(_e);else{var gt=new MessageChannel;gt.port1.onmessage=function(){return _e()},gt.port2.postMessage(void 0)}}function tn(){var _e=fe.useRef(null),gt=function(Ue){_e.current||(_e.current=[],Sn(function(){(0,Ie.unstable_batchedUpdates)(function(){_e.current.forEach(function(Ut){Ut()}),_e.current=null})})),_e.current.push(Ue)};return gt}function In(_e,gt){var Ht=fe.useState(gt),Ue=(0,ke.Z)(Ht,2),Ut=Ue[0],hn=Ue[1],Fn=ct(function(Lt){_e(function(){hn(Lt)})});return[Ut,Fn]}var br=fe.createContext(null),gn=["component"],Ye=["className"],ve=["className"],he=function(gt,Ht){var Ue=fe.useContext(br);if(!Ue){var Ut=gt.component,hn=Ut===void 0?"div":Ut,Fn=(0,ce.Z)(gt,gn);return fe.createElement(hn,(0,Me.Z)({},Fn,{ref:Ht}))}var Lt=Ue.className,Gt=(0,ce.Z)(Ue,Ye),ln=gt.className,jn=(0,ce.Z)(gt,ve);return fe.createElement(br.Provider,{value:null},fe.createElement(en,(0,Me.Z)({ref:Ht,className:de()(Lt,ln)},Gt,jn)))},be=fe.forwardRef(he);be.displayName="RawItem";var ge=be,se=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],je="responsive",xt="invalidate";function En(_e){return"+ ".concat(_e.length," ...")}function un(_e,gt){var Ht=_e.prefixCls,Ue=Ht===void 0?"rc-overflow":Ht,Ut=_e.data,hn=Ut===void 0?[]:Ut,Fn=_e.renderItem,Lt=_e.renderRawItem,Gt=_e.itemKey,ln=_e.itemWidth,jn=ln===void 0?10:ln,er=_e.ssr,gr=_e.style,lr=_e.className,Nr=_e.maxCount,Wr=_e.renderRest,ea=_e.renderRawRest,Kr=_e.suffix,Ba=_e.component,ua=Ba===void 0?"div":Ba,Na=_e.itemComponent,Ga=_e.onVisibleChange,la=(0,ce.Z)(_e,se),ga=er==="full",fa=tn(),La=In(fa,null),Aa=(0,ke.Z)(La,2),ca=Aa[0],Xa=Aa[1],ra=ca||0,Ya=In(fa,new Map),Za=(0,ke.Z)(Ya,2),Ua=Za[0],Oa=Za[1],ii=In(fa,0),yi=(0,ke.Z)(ii,2),Ko=yi[0],No=yi[1],vo=In(fa,0),ol=(0,ke.Z)(vo,2),Bo=ol[0],kl=ol[1],Pl=In(fa,0),Ki=(0,ke.Z)(Pl,2),di=Ki[0],go=Ki[1],zo=(0,fe.useState)(null),oo=(0,ke.Z)(zo,2),bo=oo[0],ro=oo[1],Wo=(0,fe.useState)(null),ul=(0,ke.Z)(Wo,2),Nl=ul[0],Fl=ul[1],Ro=fe.useMemo(function(){return Nl===null&&ga?Number.MAX_SAFE_INTEGER:Nl||0},[Nl,ca]),Ji=(0,fe.useState)(!1),el=(0,ke.Z)(Ji,2),ml=el[0],Io=el[1],Ho="".concat(Ue,"-item"),Ui=Math.max(Ko,Bo),Bi=Nr===je,tl=hn.length&&Bi,jo=Nr===xt,Bl=tl||typeof Nr=="number"&&hn.length>Nr,qi=(0,fe.useMemo)(function(){var Un=hn;return tl?ca===null&&ga?Un=hn:Un=hn.slice(0,Math.min(hn.length,ra/jn)):typeof Nr=="number"&&(Un=hn.slice(0,Nr)),Un},[hn,jn,ca,Nr,tl]),Ja=(0,fe.useMemo)(function(){return tl?hn.slice(Ro+1):hn.slice(qi.length)},[hn,qi,tl,Ro]),ki=(0,fe.useCallback)(function(Un,Gn){var Sr;return typeof Gt=="function"?Gt(Un):(Sr=Gt&&(Un==null?void 0:Un[Gt]))!==null&&Sr!==void 0?Sr:Gn},[Gt]),Oi=(0,fe.useCallback)(Fn||function(Un){return Un},[Fn]);function ba(Un,Gn,Sr){Nl===Un&&(Gn===void 0||Gn===bo)||(Fl(Un),Sr||(Io(Un<hn.length-1),Ga==null||Ga(Un)),Gn!==void 0&&ro(Gn))}function Qa(Un,Gn){Xa(Gn.clientWidth)}function Gi(Un,Gn){Oa(function(Sr){var Nn=new Map(Sr);return Gn===null?Nn.delete(Un):Nn.set(Un,Gn),Nn})}function cl(Un,Gn){kl(Gn),No(Bo)}function Jl(Un,Gn){go(Gn)}function ws(Un){return Ua.get(ki(qi[Un],Un))}ze(function(){if(ra&&typeof Ui=="number"&&qi){var Un=di,Gn=qi.length,Sr=Gn-1;if(!Gn){ba(0,null);return}for(var Nn=0;Nn<Gn;Nn+=1){var Ur=ws(Nn);if(ga&&(Ur=Ur||0),Ur===void 0){ba(Nn-1,void 0,!0);break}if(Un+=Ur,Sr===0&&Un<=ra||Nn===Sr-1&&Un+ws(Sr)<=ra){ba(Sr,null);break}else if(Un+Ui>ra){ba(Nn-1,Un-Ur-di+Bo);break}}Kr&&ws(0)+di>ra&&ro(null)}},[ra,Ua,Bo,di,ki,qi]);var Te=ml&&!!Ja.length,Ze={};bo!==null&&tl&&(Ze={position:"absolute",left:bo,top:0});var Et={prefixCls:Ho,responsive:tl,component:Na,invalidate:jo},Ot=Lt?function(Un,Gn){var Sr=ki(Un,Gn);return fe.createElement(br.Provider,{key:Sr,value:(0,we.Z)((0,we.Z)({},Et),{},{order:Gn,item:Un,itemKey:Sr,registerSize:Gi,display:Gn<=Ro})},Lt(Un,Gn))}:function(Un,Gn){var Sr=ki(Un,Gn);return fe.createElement(en,(0,Me.Z)({},Et,{order:Gn,key:Sr,item:Un,renderItem:Oi,itemKey:Sr,registerSize:Gi,display:Gn<=Ro}))},Yt,An={order:Te?Ro:Number.MAX_SAFE_INTEGER,className:"".concat(Ho,"-rest"),registerSize:cl,display:Te};if(ea)ea&&(Yt=fe.createElement(br.Provider,{value:(0,we.Z)((0,we.Z)({},Et),An)},ea(Ja)));else{var ar=Wr||En;Yt=fe.createElement(en,(0,Me.Z)({},Et,An),typeof ar=="function"?ar(Ja):ar)}var wr=fe.createElement(ua,(0,Me.Z)({className:de()(!jo&&Ue,lr),style:gr,ref:gt},la),qi.map(Ot),Bl?Yt:null,Kr&&fe.createElement(en,(0,Me.Z)({},Et,{responsive:Bi,responsiveDisabled:!tl,order:Ro,className:"".concat(Ho,"-suffix"),registerSize:Jl,display:!0,style:Ze}),Kr));return Bi&&(wr=fe.createElement(ht.Z,{onResize:Qa,disabled:!tl},wr)),wr}var Pn=fe.forwardRef(un);Pn.displayName="Overflow",Pn.Item=ge,Pn.RESPONSIVE=je,Pn.INVALIDATE=xt;var Xn=Pn,_n=Xn,Vt=function(gt,Ht){var Ue,Ut,hn=gt.prefixCls,Fn=gt.id,Lt=gt.inputElement,Gt=gt.disabled,ln=gt.tabIndex,jn=gt.autoFocus,er=gt.autoComplete,gr=gt.editable,lr=gt.activeDescendantId,Nr=gt.value,Wr=gt.maxLength,ea=gt.onKeyDown,Kr=gt.onMouseDown,Ba=gt.onChange,ua=gt.onPaste,Na=gt.onCompositionStart,Ga=gt.onCompositionEnd,la=gt.open,ga=gt.attrs,fa=Lt||fe.createElement("input",null),La=fa,Aa=La.ref,ca=La.props,Xa=ca.onKeyDown,ra=ca.onChange,Ya=ca.onMouseDown,Za=ca.onCompositionStart,Ua=ca.onCompositionEnd,Oa=ca.style;return(0,Xe.Kp)(!("maxLength"in fa.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),fa=fe.cloneElement(fa,(0,we.Z)((0,we.Z)((0,we.Z)({type:"search"},ca),{},{id:Fn,ref:(0,vt.sQ)(Ht,Aa),disabled:Gt,tabIndex:ln,autoComplete:er||"off",autoFocus:jn,className:de()("".concat(hn,"-selection-search-input"),(Ue=fa)===null||Ue===void 0||(Ut=Ue.props)===null||Ut===void 0?void 0:Ut.className),role:"combobox","aria-label":"Search","aria-expanded":la||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Fn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Fn,"_list"),"aria-activedescendant":la?lr:void 0},ga),{},{value:gr?Nr:"",maxLength:Wr,readOnly:!gr,unselectable:gr?null:"on",style:(0,we.Z)((0,we.Z)({},Oa),{},{opacity:gr?null:0}),onKeyDown:function(yi){ea(yi),Xa&&Xa(yi)},onMouseDown:function(yi){Kr(yi),Ya&&Ya(yi)},onChange:function(yi){Ba(yi),ra&&ra(yi)},onCompositionStart:function(yi){Na(yi),Za&&Za(yi)},onCompositionEnd:function(yi){Ga(yi),Ua&&Ua(yi)},onPaste:ua})),fa},yn=fe.forwardRef(Vt);yn.displayName="Input";var Kn=yn;function On(_e){return Array.isArray(_e)?_e:_e!==void 0?[_e]:[]}var Qt=typeof window!="undefined"&&window.document&&window.document.documentElement,Dr=Qt;function jt(_e){return _e!=null}function rn(_e){return!_e&&_e!==0}function Ir(_e){return["string","number"].includes((0,Se.Z)(_e))}function ur(_e){var gt=void 0;return _e&&(Ir(_e.title)?gt=_e.title.toString():Ir(_e.label)&&(gt=_e.label.toString())),gt}function Rr(_e,gt){Dr?fe.useLayoutEffect(_e,gt):fe.useEffect(_e,gt)}function aa(_e){var gt;return(gt=_e.key)!==null&&gt!==void 0?gt:_e.value}var qn=function(gt){gt.preventDefault(),gt.stopPropagation()},Pa=function(gt){var Ht=gt.id,Ue=gt.prefixCls,Ut=gt.values,hn=gt.open,Fn=gt.searchValue,Lt=gt.autoClearSearchValue,Gt=gt.inputRef,ln=gt.placeholder,jn=gt.disabled,er=gt.mode,gr=gt.showSearch,lr=gt.autoFocus,Nr=gt.autoComplete,Wr=gt.activeDescendantId,ea=gt.tabIndex,Kr=gt.removeIcon,Ba=gt.maxTagCount,ua=gt.maxTagTextLength,Na=gt.maxTagPlaceholder,Ga=Na===void 0?function(ro){return"+ ".concat(ro.length," ...")}:Na,la=gt.tagRender,ga=gt.onToggleOpen,fa=gt.onRemove,La=gt.onInputChange,Aa=gt.onInputPaste,ca=gt.onInputKeyDown,Xa=gt.onInputMouseDown,ra=gt.onInputCompositionStart,Ya=gt.onInputCompositionEnd,Za=fe.useRef(null),Ua=(0,fe.useState)(0),Oa=(0,ke.Z)(Ua,2),ii=Oa[0],yi=Oa[1],Ko=(0,fe.useState)(!1),No=(0,ke.Z)(Ko,2),vo=No[0],ol=No[1],Bo="".concat(Ue,"-selection"),kl=hn||er==="multiple"&&Lt===!1||er==="tags"?Fn:"",Pl=er==="tags"||er==="multiple"&&Lt===!1||gr&&(hn||vo);Rr(function(){yi(Za.current.scrollWidth)},[kl]);function Ki(ro,Wo,ul,Nl,Fl){return fe.createElement("span",{className:de()("".concat(Bo,"-item"),(0,me.Z)({},"".concat(Bo,"-item-disabled"),ul)),title:ur(ro)},fe.createElement("span",{className:"".concat(Bo,"-item-content")},Wo),Nl&&fe.createElement(wt,{className:"".concat(Bo,"-item-remove"),onMouseDown:qn,onClick:Fl,customizeIcon:Kr},"\xD7"))}function di(ro,Wo,ul,Nl,Fl){var Ro=function(el){qn(el),ga(!hn)};return fe.createElement("span",{onMouseDown:Ro},la({label:Wo,value:ro,disabled:ul,closable:Nl,onClose:Fl}))}function go(ro){var Wo=ro.disabled,ul=ro.label,Nl=ro.value,Fl=!jn&&!Wo,Ro=ul;if(typeof ua=="number"&&(typeof ul=="string"||typeof ul=="number")){var Ji=String(Ro);Ji.length>ua&&(Ro="".concat(Ji.slice(0,ua),"..."))}var el=function(Io){Io&&Io.stopPropagation(),fa(ro)};return typeof la=="function"?di(Nl,Ro,Wo,Fl,el):Ki(ro,Ro,Wo,Fl,el)}function zo(ro){var Wo=typeof Ga=="function"?Ga(ro):Ga;return Ki({title:Wo},Wo,!1)}var oo=fe.createElement("div",{className:"".concat(Bo,"-search"),style:{width:ii},onFocus:function(){ol(!0)},onBlur:function(){ol(!1)}},fe.createElement(Kn,{ref:Gt,open:hn,prefixCls:Ue,id:Ht,inputElement:null,disabled:jn,autoFocus:lr,autoComplete:Nr,editable:Pl,activeDescendantId:Wr,value:kl,onKeyDown:ca,onMouseDown:Xa,onChange:La,onPaste:Aa,onCompositionStart:ra,onCompositionEnd:Ya,tabIndex:ea,attrs:(0,Je.Z)(gt,!0)}),fe.createElement("span",{ref:Za,className:"".concat(Bo,"-search-mirror"),"aria-hidden":!0},kl,"\xA0")),bo=fe.createElement(_n,{prefixCls:"".concat(Bo,"-overflow"),data:Ut,renderItem:go,renderRest:zo,suffix:oo,itemKey:aa,maxCount:Ba});return fe.createElement(fe.Fragment,null,bo,!Ut.length&&!kl&&fe.createElement("span",{className:"".concat(Bo,"-placeholder")},ln))},Fa=Pa,_a=function(gt){var Ht=gt.inputElement,Ue=gt.prefixCls,Ut=gt.id,hn=gt.inputRef,Fn=gt.disabled,Lt=gt.autoFocus,Gt=gt.autoComplete,ln=gt.activeDescendantId,jn=gt.mode,er=gt.open,gr=gt.values,lr=gt.placeholder,Nr=gt.tabIndex,Wr=gt.showSearch,ea=gt.searchValue,Kr=gt.activeValue,Ba=gt.maxLength,ua=gt.onInputKeyDown,Na=gt.onInputMouseDown,Ga=gt.onInputChange,la=gt.onInputPaste,ga=gt.onInputCompositionStart,fa=gt.onInputCompositionEnd,La=gt.title,Aa=fe.useState(!1),ca=(0,ke.Z)(Aa,2),Xa=ca[0],ra=ca[1],Ya=jn==="combobox",Za=Ya||Wr,Ua=gr[0],Oa=ea||"";Ya&&Kr&&!Xa&&(Oa=Kr),fe.useEffect(function(){Ya&&ra(!1)},[Ya,Kr]);var ii=jn!=="combobox"&&!er&&!Wr?!1:!!Oa,yi=La===void 0?ur(Ua):La,Ko=function(){if(Ua)return null;var vo=ii?{visibility:"hidden"}:void 0;return fe.createElement("span",{className:"".concat(Ue,"-selection-placeholder"),style:vo},lr)};return fe.createElement(fe.Fragment,null,fe.createElement("span",{className:"".concat(Ue,"-selection-search")},fe.createElement(Kn,{ref:hn,prefixCls:Ue,id:Ut,open:er,inputElement:Ht,disabled:Fn,autoFocus:Lt,autoComplete:Gt,editable:Za,activeDescendantId:ln,value:Oa,onKeyDown:ua,onMouseDown:Na,onChange:function(vo){ra(!0),Ga(vo)},onPaste:la,onCompositionStart:ga,onCompositionEnd:fa,tabIndex:Nr,attrs:(0,Je.Z)(gt,!0),maxLength:Ya?Ba:void 0})),!Ya&&Ua?fe.createElement("span",{className:"".concat(Ue,"-selection-item"),title:yi,style:ii?{visibility:"hidden"}:void 0},Ua.label):null,Ko())},Xr=_a;function Da(_e){return![ot.Z.ESC,ot.Z.SHIFT,ot.Z.BACKSPACE,ot.Z.TAB,ot.Z.WIN_KEY,ot.Z.ALT,ot.Z.META,ot.Z.WIN_KEY_RIGHT,ot.Z.CTRL,ot.Z.SEMICOLON,ot.Z.EQUALS,ot.Z.CAPS_LOCK,ot.Z.CONTEXT_MENU,ot.Z.F1,ot.Z.F2,ot.Z.F3,ot.Z.F4,ot.Z.F5,ot.Z.F6,ot.Z.F7,ot.Z.F8,ot.Z.F9,ot.Z.F10,ot.Z.F11,ot.Z.F12].includes(_e)}var Mi=function(gt,Ht){var Ue=(0,fe.useRef)(null),Ut=(0,fe.useRef)(!1),hn=gt.prefixCls,Fn=gt.open,Lt=gt.mode,Gt=gt.showSearch,ln=gt.tokenWithEnter,jn=gt.autoClearSearchValue,er=gt.onSearch,gr=gt.onSearchSubmit,lr=gt.onToggleOpen,Nr=gt.onInputKeyDown,Wr=gt.domRef;fe.useImperativeHandle(Ht,function(){return{focus:function(){Ue.current.focus()},blur:function(){Ue.current.blur()}}});var ea=ue(0),Kr=(0,ke.Z)(ea,2),Ba=Kr[0],ua=Kr[1],Na=function(Oa){var ii=Oa.which;(ii===ot.Z.UP||ii===ot.Z.DOWN)&&Oa.preventDefault(),Nr&&Nr(Oa),ii===ot.Z.ENTER&&Lt==="tags"&&!Ut.current&&!Fn&&(gr==null||gr(Oa.target.value)),Da(ii)&&lr(!0)},Ga=function(){ua(!0)},la=(0,fe.useRef)(null),ga=function(Oa){er(Oa,!0,Ut.current)!==!1&&lr(!0)},fa=function(){Ut.current=!0},La=function(Oa){Ut.current=!1,Lt!=="combobox"&&ga(Oa.target.value)},Aa=function(Oa){var ii=Oa.target.value;if(ln&&la.current&&/[\r\n]/.test(la.current)){var yi=la.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ii=ii.replace(yi,la.current)}la.current=null,ga(ii)},ca=function(Oa){var ii=Oa.clipboardData,yi=ii.getData("text");la.current=yi},Xa=function(Oa){var ii=Oa.target;if(ii!==Ue.current){var yi=document.body.style.msTouchAction!==void 0;yi?setTimeout(function(){Ue.current.focus()}):Ue.current.focus()}},ra=function(Oa){var ii=Ba();Oa.target!==Ue.current&&!ii&&Lt!=="combobox"&&Oa.preventDefault(),(Lt!=="combobox"&&(!Gt||!ii)||!Fn)&&(Fn&&jn!==!1&&er("",!0,!1),lr())},Ya={inputRef:Ue,onInputKeyDown:Na,onInputMouseDown:Ga,onInputChange:Aa,onInputPaste:ca,onInputCompositionStart:fa,onInputCompositionEnd:La},Za=Lt==="multiple"||Lt==="tags"?fe.createElement(Fa,(0,Me.Z)({},gt,Ya)):fe.createElement(Xr,(0,Me.Z)({},gt,Ya));return fe.createElement("div",{ref:Wr,className:"".concat(hn,"-selector"),onClick:Xa,onMouseDown:ra},Za)},Si=fe.forwardRef(Mi);Si.displayName="Selector";var zi=Si,fi=ee(62709),Tn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],bn=function(gt){var Ht=gt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ht,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ht,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ht,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ht,adjustY:1},htmlRegion:"scroll"}}},ir=function(gt,Ht){var Ue=gt.prefixCls,Ut=gt.disabled,hn=gt.visible,Fn=gt.children,Lt=gt.popupElement,Gt=gt.animation,ln=gt.transitionName,jn=gt.dropdownStyle,er=gt.dropdownClassName,gr=gt.direction,lr=gr===void 0?"ltr":gr,Nr=gt.placement,Wr=gt.builtinPlacements,ea=gt.dropdownMatchSelectWidth,Kr=gt.dropdownRender,Ba=gt.dropdownAlign,ua=gt.getPopupContainer,Na=gt.empty,Ga=gt.getTriggerDOMNode,la=gt.onPopupVisibleChange,ga=gt.onPopupMouseEnter,fa=(0,ce.Z)(gt,Tn),La="".concat(Ue,"-dropdown"),Aa=Lt;Kr&&(Aa=Kr(Lt));var ca=fe.useMemo(function(){return Wr||bn(ea)},[Wr,ea]),Xa=Gt?"".concat(La,"-").concat(Gt):ln,ra=typeof ea=="number",Ya=fe.useMemo(function(){return ra?null:ea===!1?"minWidth":"width"},[ea,ra]),Za=jn;ra&&(Za=(0,we.Z)((0,we.Z)({},Za),{},{width:ea}));var Ua=fe.useRef(null);return fe.useImperativeHandle(Ht,function(){return{getPopupElement:function(){return Ua.current}}}),fe.createElement(fi.Z,(0,Me.Z)({},fa,{showAction:la?["click"]:[],hideAction:la?["click"]:[],popupPlacement:Nr||(lr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ca,prefixCls:La,popupTransitionName:Xa,popup:fe.createElement("div",{ref:Ua,onMouseEnter:ga},Aa),stretch:Ya,popupAlign:Ba,popupVisible:hn,getPopupContainer:ua,popupClassName:de()(er,(0,me.Z)({},"".concat(La,"-empty"),Na)),popupStyle:Za,getTriggerDOMNode:Ga,onPopupVisibleChange:la}),Fn)},Cr=fe.forwardRef(ir);Cr.displayName="SelectTrigger";var Or=Cr,Lr=ee(84506);function sa(_e,gt){var Ht=_e.key,Ue;return"value"in _e&&(Ue=_e.value),Ht!=null?Ht:Ue!==void 0?Ue:"rc-index-key-".concat(gt)}function pn(_e,gt){var Ht=_e||{},Ue=Ht.label,Ut=Ht.value,hn=Ht.options,Fn=Ht.groupLabel,Lt=Ue||(gt?"children":"label");return{label:Lt,value:Ut||"value",options:hn||"options",groupLabel:Fn||Lt}}function At(_e){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ht=gt.fieldNames,Ue=gt.childrenAsData,Ut=[],hn=pn(Ht,!1),Fn=hn.label,Lt=hn.value,Gt=hn.options,ln=hn.groupLabel;function jn(er,gr){er.forEach(function(lr){if(gr||!(Gt in lr)){var Nr=lr[Lt];Ut.push({key:sa(lr,Ut.length),groupOption:gr,data:lr,label:lr[Fn],value:Nr})}else{var Wr=lr[ln];Wr===void 0&&Ue&&(Wr=lr.label),Ut.push({key:sa(lr,Ut.length),group:!0,data:lr,label:Wr}),jn(lr[Gt],!0)}})}return jn(_e,!1),Ut}function Zt(_e){var gt=(0,we.Z)({},_e);return"props"in gt||Object.defineProperty(gt,"props",{get:function(){return(0,Xe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),gt}}),gt}function on(_e,gt){if(!gt||!gt.length)return null;var Ht=!1;function Ue(hn,Fn){var Lt=(0,Lr.Z)(Fn),Gt=Lt[0],ln=Lt.slice(1);if(!Gt)return[hn];var jn=hn.split(Gt);return Ht=Ht||jn.length>1,jn.reduce(function(er,gr){return[].concat((0,et.Z)(er),(0,et.Z)(Ue(gr,ln)))},[]).filter(function(er){return er})}var Ut=Ue(_e,gt);return Ht?Ut:null}var Yn=["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","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Dt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function fn(_e){return _e==="tags"||_e==="multiple"}var Vn=fe.forwardRef(function(_e,gt){var Ht,Ue,Ut=_e.id,hn=_e.prefixCls,Fn=_e.className,Lt=_e.showSearch,Gt=_e.tagRender,ln=_e.direction,jn=_e.omitDomProps,er=_e.displayValues,gr=_e.onDisplayValuesChange,lr=_e.emptyOptions,Nr=_e.notFoundContent,Wr=Nr===void 0?"Not Found":Nr,ea=_e.onClear,Kr=_e.mode,Ba=_e.disabled,ua=_e.loading,Na=_e.getInputElement,Ga=_e.getRawInputElement,la=_e.open,ga=_e.defaultOpen,fa=_e.onDropdownVisibleChange,La=_e.activeValue,Aa=_e.onActiveValueChange,ca=_e.activeDescendantId,Xa=_e.searchValue,ra=_e.autoClearSearchValue,Ya=_e.onSearch,Za=_e.onSearchSplit,Ua=_e.tokenSeparators,Oa=_e.allowClear,ii=_e.suffixIcon,yi=_e.clearIcon,Ko=_e.OptionList,No=_e.animation,vo=_e.transitionName,ol=_e.dropdownStyle,Bo=_e.dropdownClassName,kl=_e.dropdownMatchSelectWidth,Pl=_e.dropdownRender,Ki=_e.dropdownAlign,di=_e.placement,go=_e.builtinPlacements,zo=_e.getPopupContainer,oo=_e.showAction,bo=oo===void 0?[]:oo,ro=_e.onFocus,Wo=_e.onBlur,ul=_e.onKeyUp,Nl=_e.onKeyDown,Fl=_e.onMouseDown,Ro=(0,ce.Z)(_e,Yn),Ji=fn(Kr),el=(Lt!==void 0?Lt:Ji)||Kr==="combobox",ml=(0,we.Z)({},Ro);Dt.forEach(function(Jo){delete ml[Jo]}),jn==null||jn.forEach(function(Jo){delete ml[Jo]});var Io=fe.useState(!1),Ho=(0,ke.Z)(Io,2),Ui=Ho[0],Bi=Ho[1];fe.useEffect(function(){Bi(pt())},[]);var tl=fe.useRef(null),jo=fe.useRef(null),Bl=fe.useRef(null),qi=fe.useRef(null),Ja=fe.useRef(null),ki=ye(),Oi=(0,ke.Z)(ki,3),ba=Oi[0],Qa=Oi[1],Gi=Oi[2];fe.useImperativeHandle(gt,function(){var Jo,Qi;return{focus:(Jo=qi.current)===null||Jo===void 0?void 0:Jo.focus,blur:(Qi=qi.current)===null||Qi===void 0?void 0:Qi.blur,scrollTo:function(So){var Co;return(Co=Ja.current)===null||Co===void 0?void 0:Co.scrollTo(So)}}});var cl=fe.useMemo(function(){var Jo;if(Kr!=="combobox")return Xa;var Qi=(Jo=er[0])===null||Jo===void 0?void 0:Jo.value;return typeof Qi=="string"||typeof Qi=="number"?String(Qi):""},[Xa,Kr,er]),Jl=Kr==="combobox"&&typeof Na=="function"&&Na()||null,ws=typeof Ga=="function"&&Ga(),Te=(0,vt.x1)(jo,ws==null||(Ht=ws.props)===null||Ht===void 0?void 0:Ht.ref),Ze=fe.useState(!1),Et=(0,ke.Z)(Ze,2),Ot=Et[0],Yt=Et[1];(0,Ge.Z)(function(){Yt(!0)},[]);var An=(0,Pe.Z)(!1,{defaultValue:ga,value:la}),ar=(0,ke.Z)(An,2),wr=ar[0],Un=ar[1],Gn=Ot?wr:!1,Sr=!Wr&&lr;(Ba||Sr&&Gn&&Kr==="combobox")&&(Gn=!1);var Nn=Sr?!1:Gn,Ur=fe.useCallback(function(Jo){var Qi=Jo!==void 0?Jo:!Gn;Ba||(Un(Qi),Gn!==Qi&&(fa==null||fa(Qi)))},[Ba,Gn,Un,fa]),xa=fe.useMemo(function(){return(Ua||[]).some(function(Jo){return[`
`,`\r
`].includes(Jo)})},[Ua]),wa=function(Qi,Ni,So){var Co=!0,Xi=Qi;Aa==null||Aa(null);var rs=So?null:on(Qi,Ua);return Kr!=="combobox"&&rs&&(Xi="",Za==null||Za(rs),Ur(!1),Co=!1),Ya&&cl!==Xi&&Ya(Xi,{source:Ni?"typing":"effect"}),Co},Ka=function(Qi){!Qi||!Qi.trim()||Ya(Qi,{source:"submit"})};fe.useEffect(function(){!Gn&&!Ji&&Kr!=="combobox"&&wa("",!1,!1)},[Gn]),fe.useEffect(function(){wr&&Ba&&Un(!1),Ba&&Qa(!1)},[Ba]);var Yr=ue(),ri=(0,ke.Z)(Yr,2),qa=ri[0],Ti=ri[1],vi=function(Qi){var Ni=qa(),So=Qi.which;if(So===ot.Z.ENTER&&(Kr!=="combobox"&&Qi.preventDefault(),Gn||Ur(!0)),Ti(!!cl),So===ot.Z.BACKSPACE&&!Ni&&Ji&&!cl&&er.length){for(var Co=(0,et.Z)(er),Xi=null,rs=Co.length-1;rs>=0;rs-=1){var $i=Co[rs];if(!$i.disabled){Co.splice(rs,1),Xi=$i;break}}Xi&&gr(Co,{type:"remove",values:[Xi]})}for(var bl=arguments.length,cs=new Array(bl>1?bl-1:0),es=1;es<bl;es++)cs[es-1]=arguments[es];if(Gn&&Ja.current){var au;(au=Ja.current).onKeyDown.apply(au,[Qi].concat(cs))}Nl==null||Nl.apply(void 0,[Qi].concat(cs))},hi=function(Qi){for(var Ni=arguments.length,So=new Array(Ni>1?Ni-1:0),Co=1;Co<Ni;Co++)So[Co-1]=arguments[Co];if(Gn&&Ja.current){var Xi;(Xi=Ja.current).onKeyUp.apply(Xi,[Qi].concat(So))}ul==null||ul.apply(void 0,[Qi].concat(So))},bi=function(Qi){var Ni=er.filter(function(So){return So!==Qi});gr(Ni,{type:"remove",values:[Qi]})},_i=fe.useRef(!1),Fo=function(){Qa(!0),Ba||(ro&&!_i.current&&ro.apply(void 0,arguments),bo.includes("focus")&&Ur(!0)),_i.current=!0},Ii=function(){Qa(!1,function(){_i.current=!1,Ur(!1)}),!Ba&&(cl&&(Kr==="tags"?Ya(cl,{source:"submit"}):Kr==="multiple"&&Ya("",{source:"blur"})),Wo&&Wo.apply(void 0,arguments))},Wa=[];fe.useEffect(function(){return function(){Wa.forEach(function(Jo){return clearTimeout(Jo)}),Wa.splice(0,Wa.length)}},[]);var Ha=function(Qi){var Ni,So=Qi.target,Co=(Ni=Bl.current)===null||Ni===void 0?void 0:Ni.getPopupElement();if(Co&&Co.contains(So)){var Xi=setTimeout(function(){var cs=Wa.indexOf(Xi);if(cs!==-1&&Wa.splice(cs,1),Gi(),!Ui&&!Co.contains(document.activeElement)){var es;(es=qi.current)===null||es===void 0||es.focus()}});Wa.push(Xi)}for(var rs=arguments.length,$i=new Array(rs>1?rs-1:0),bl=1;bl<rs;bl++)$i[bl-1]=arguments[bl];Fl==null||Fl.apply(void 0,[Qi].concat($i))},ei=fe.useState({}),Li=(0,ke.Z)(ei,2),ao=Li[1];function nl(){ao({})}var Po;ws&&(Po=function(Qi){Ur(Qi)}),$e(function(){var Jo;return[tl.current,(Jo=Bl.current)===null||Jo===void 0?void 0:Jo.getPopupElement()]},Nn,Ur,!!ws);var Oo=fe.useMemo(function(){return(0,we.Z)((0,we.Z)({},_e),{},{notFoundContent:Wr,open:Gn,triggerOpen:Nn,id:Ut,showSearch:el,multiple:Ji,toggleOpen:Ur})},[_e,Wr,Nn,Gn,Ut,el,Ji,Ur]),Ml=!!ii||ua,vl;Ml&&(vl=fe.createElement(wt,{className:de()("".concat(hn,"-arrow"),(0,me.Z)({},"".concat(hn,"-arrow-loading"),ua)),customizeIcon:ii,customizeIconProps:{loading:ua,searchValue:cl,open:Gn,focused:ba,showSearch:el}}));var Kl=function(){var Qi;ea==null||ea(),(Qi=qi.current)===null||Qi===void 0||Qi.focus(),gr([],{type:"clear",values:er}),wa("",!1,!1)},Gl=Rt(hn,Kl,er,Oa,yi,Ba,cl,Kr),Is=Gl.allowClear,Ps=Gl.clearIcon,Yl=fe.createElement(Ko,{ref:Ja}),_s=de()(hn,Fn,(Ue={},(0,me.Z)(Ue,"".concat(hn,"-focused"),ba),(0,me.Z)(Ue,"".concat(hn,"-multiple"),Ji),(0,me.Z)(Ue,"".concat(hn,"-single"),!Ji),(0,me.Z)(Ue,"".concat(hn,"-allow-clear"),Oa),(0,me.Z)(Ue,"".concat(hn,"-show-arrow"),Ml),(0,me.Z)(Ue,"".concat(hn,"-disabled"),Ba),(0,me.Z)(Ue,"".concat(hn,"-loading"),ua),(0,me.Z)(Ue,"".concat(hn,"-open"),Gn),(0,me.Z)(Ue,"".concat(hn,"-customize-input"),Jl),(0,me.Z)(Ue,"".concat(hn,"-show-search"),el),Ue)),ps=fe.createElement(Or,{ref:Bl,disabled:Ba,prefixCls:hn,visible:Nn,popupElement:Yl,animation:No,transitionName:vo,dropdownStyle:ol,dropdownClassName:Bo,direction:ln,dropdownMatchSelectWidth:kl,dropdownRender:Pl,dropdownAlign:Ki,placement:di,builtinPlacements:go,getPopupContainer:zo,empty:lr,getTriggerDOMNode:function(){return jo.current},onPopupVisibleChange:Po,onPopupMouseEnter:nl},ws?fe.cloneElement(ws,{ref:Te}):fe.createElement(zi,(0,Me.Z)({},_e,{domRef:jo,prefixCls:hn,inputElement:Jl,ref:qi,id:Ut,showSearch:el,autoClearSearchValue:ra,mode:Kr,activeDescendantId:ca,tagRender:Gt,values:er,open:Gn,onToggleOpen:Ur,activeValue:La,searchValue:cl,onSearch:wa,onSearchSubmit:Ka,onRemove:bi,tokenWithEnter:xa}))),gs;return ws?gs=ps:gs=fe.createElement("div",(0,Me.Z)({className:_s},ml,{ref:tl,onMouseDown:Ha,onKeyDown:vi,onKeyUp:hi,onFocus:Fo,onBlur:Ii}),ba&&!Gn&&fe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(er.map(function(Jo){var Qi=Jo.label,Ni=Jo.value;return["number","string"].includes((0,Se.Z)(Qi))?Qi:Ni}).join(", "))),ps,vl,Is&&Ps),fe.createElement(tt.Provider,{value:Oo},gs)}),kn=Vn,rr=function(_e,gt){var Ht=fe.useRef({values:new Map,options:new Map}),Ue=fe.useMemo(function(){var hn=Ht.current,Fn=hn.values,Lt=hn.options,Gt=_e.map(function(er){if(er.label===void 0){var gr;return(0,we.Z)((0,we.Z)({},er),{},{label:(gr=Fn.get(er.value))===null||gr===void 0?void 0:gr.label})}return er}),ln=new Map,jn=new Map;return Gt.forEach(function(er){ln.set(er.value,er),jn.set(er.value,gt.get(er.value)||Lt.get(er.value))}),Ht.current.values=ln,Ht.current.options=jn,Gt},[_e,gt]),Ut=fe.useCallback(function(hn){return gt.get(hn)||Ht.current.options.get(hn)},[gt]);return[Ue,Ut]};function fr(_e,gt){return On(_e).join("").toUpperCase().includes(gt)}var mn=function(_e,gt,Ht,Ue,Ut){return fe.useMemo(function(){if(!Ht||Ue===!1)return _e;var hn=gt.options,Fn=gt.label,Lt=gt.value,Gt=[],ln=typeof Ue=="function",jn=Ht.toUpperCase(),er=ln?Ue:function(lr,Nr){return Ut?fr(Nr[Ut],jn):Nr[hn]?fr(Nr[Fn!=="children"?Fn:"label"],jn):fr(Nr[Lt],jn)},gr=ln?function(lr){return Zt(lr)}:function(lr){return lr};return _e.forEach(function(lr){if(lr[hn]){var Nr=er(Ht,gr(lr));if(Nr)Gt.push(lr);else{var Wr=lr[hn].filter(function(ea){return er(Ht,gr(ea))});Wr.length&&Gt.push((0,we.Z)((0,we.Z)({},lr),{},(0,me.Z)({},hn,Wr)))}return}er(Ht,gr(lr))&&Gt.push(lr)}),Gt},[_e,Ue,Ut,Ht,gt])},Ta=ee(98924),ha=0,ya=(0,Ta.Z)();function Sa(){var _e;return ya?(_e=ha,ha+=1):_e="TEST_OR_SSR",_e}function Ma(_e){var gt=fe.useState(),Ht=(0,ke.Z)(gt,2),Ue=Ht[0],Ut=Ht[1];return fe.useEffect(function(){Ut("rc_select_".concat(Sa()))},[]),_e||Ue}var pa=ee(50344),Er=["children","value"],qr=["children"];function Hi(_e){var gt=_e,Ht=gt.key,Ue=gt.props,Ut=Ue.children,hn=Ue.value,Fn=(0,ce.Z)(Ue,Er);return(0,we.Z)({key:Ht,value:hn!==void 0?hn:Ht,children:Ut},Fn)}function Fi(_e){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,pa.Z)(_e).map(function(Ht,Ue){if(!fe.isValidElement(Ht)||!Ht.type)return null;var Ut=Ht,hn=Ut.type.isSelectOptGroup,Fn=Ut.key,Lt=Ut.props,Gt=Lt.children,ln=(0,ce.Z)(Lt,qr);return gt||!hn?Hi(Ht):(0,we.Z)((0,we.Z)({key:"__RC_SELECT_GRP__".concat(Fn===null?Ue:Fn,"__"),label:Fn},ln),{},{options:Fi(Gt)})}).filter(function(Ht){return Ht})}function $a(_e,gt,Ht,Ue,Ut){return fe.useMemo(function(){var hn=_e,Fn=!_e;Fn&&(hn=Fi(gt));var Lt=new Map,Gt=new Map,ln=function(gr,lr,Nr){Nr&&typeof Nr=="string"&&gr.set(lr[Nr],lr)};function jn(er){for(var gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,lr=0;lr<er.length;lr+=1){var Nr=er[lr];!Nr[Ht.options]||gr?(Lt.set(Nr[Ht.value],Nr),ln(Gt,Nr,Ht.label),ln(Gt,Nr,Ue),ln(Gt,Nr,Ut)):jn(Nr[Ht.options],!0)}}return jn(hn),{options:hn,valueOptions:Lt,labelOptions:Gt}},[_e,gt,Ht,Ue,Ut])}function ni(_e){var gt=fe.useRef();gt.current=_e;var Ht=fe.useCallback(function(){return gt.current.apply(gt,arguments)},[]);return Ht}var no=function(){return null};no.isSelectOptGroup=!0;var oi=no,so=function(){return null};so.isSelectOption=!0;var ta=so,to=ee(56982),xo=ee(98423),xl=ee(73299),ll=fe.createContext(null),Uo=ll;function co(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var wl=["disabled","title","children","style","className"];function Yo(_e){return typeof _e=="string"||typeof _e=="number"}var gl=function(gt,Ht){var Ue=st(),Ut=Ue.prefixCls,hn=Ue.id,Fn=Ue.open,Lt=Ue.multiple,Gt=Ue.mode,ln=Ue.searchValue,jn=Ue.toggleOpen,er=Ue.notFoundContent,gr=Ue.onPopupScroll,lr=fe.useContext(Uo),Nr=lr.flattenOptions,Wr=lr.onActiveValue,ea=lr.defaultActiveFirstOption,Kr=lr.onSelect,Ba=lr.menuItemSelectedIcon,ua=lr.rawValues,Na=lr.fieldNames,Ga=lr.virtual,la=lr.direction,ga=lr.listHeight,fa=lr.listItemHeight,La="".concat(Ut,"-item"),Aa=(0,to.Z)(function(){return Nr},[Fn,Nr],function(Ki,di){return di[0]&&Ki[1]!==di[1]}),ca=fe.useRef(null),Xa=function(di){di.preventDefault()},ra=function(di){ca.current&&ca.current.scrollTo(typeof di=="number"?{index:di}:di)},Ya=function(di){for(var go=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,zo=Aa.length,oo=0;oo<zo;oo+=1){var bo=(di+oo*go+zo)%zo,ro=Aa[bo],Wo=ro.group,ul=ro.data;if(!Wo&&!ul.disabled)return bo}return-1},Za=fe.useState(function(){return Ya(0)}),Ua=(0,ke.Z)(Za,2),Oa=Ua[0],ii=Ua[1],yi=function(di){var go=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ii(di);var zo={source:go?"keyboard":"mouse"},oo=Aa[di];if(!oo){Wr(null,-1,zo);return}Wr(oo.value,di,zo)};(0,fe.useEffect)(function(){yi(ea!==!1?Ya(0):-1)},[Aa.length,ln]);var Ko=fe.useCallback(function(Ki){return ua.has(Ki)&&Gt!=="combobox"},[Gt,(0,et.Z)(ua).toString(),ua.size]);(0,fe.useEffect)(function(){var Ki=setTimeout(function(){if(!Lt&&Fn&&ua.size===1){var go=Array.from(ua)[0],zo=Aa.findIndex(function(oo){var bo=oo.data;return bo.value===go});zo!==-1&&(yi(zo),ra(zo))}});if(Fn){var di;(di=ca.current)===null||di===void 0||di.scrollTo(void 0)}return function(){return clearTimeout(Ki)}},[Fn,ln,Nr.length]);var No=function(di){di!==void 0&&Kr(di,{selected:!ua.has(di)}),Lt||jn(!1)};if(fe.useImperativeHandle(Ht,function(){return{onKeyDown:function(di){var go=di.which,zo=di.ctrlKey;switch(go){case ot.Z.N:case ot.Z.P:case ot.Z.UP:case ot.Z.DOWN:{var oo=0;if(go===ot.Z.UP?oo=-1:go===ot.Z.DOWN?oo=1:co()&&zo&&(go===ot.Z.N?oo=1:go===ot.Z.P&&(oo=-1)),oo!==0){var bo=Ya(Oa+oo,oo);ra(bo),yi(bo,!0)}break}case ot.Z.ENTER:{var ro=Aa[Oa];ro&&!ro.data.disabled?No(ro.value):No(void 0),Fn&&di.preventDefault();break}case ot.Z.ESC:jn(!1),Fn&&di.stopPropagation()}},onKeyUp:function(){},scrollTo:function(di){ra(di)}}}),Aa.length===0)return fe.createElement("div",{role:"listbox",id:"".concat(hn,"_list"),className:"".concat(La,"-empty"),onMouseDown:Xa},er);var vo=Object.keys(Na).map(function(Ki){return Na[Ki]}),ol=function(di){return di.label};function Bo(Ki,di){var go=Ki.group;return{role:go?"presentation":"option",id:"".concat(hn,"_list_").concat(di)}}var kl=function(di){var go=Aa[di];if(!go)return null;var zo=go.data||{},oo=zo.value,bo=go.group,ro=(0,Je.Z)(zo,!0),Wo=ol(go);return go?fe.createElement("div",(0,Me.Z)({"aria-label":typeof Wo=="string"&&!bo?Wo:null},ro,{key:di},Bo(go,di),{"aria-selected":Ko(oo)}),oo):null},Pl={role:"listbox",id:"".concat(hn,"_list")};return fe.createElement(fe.Fragment,null,Ga&&fe.createElement("div",(0,Me.Z)({},Pl,{style:{height:0,width:0,overflow:"hidden"}}),kl(Oa-1),kl(Oa),kl(Oa+1)),fe.createElement(xl.Z,{itemKey:"key",ref:ca,data:Aa,height:ga,itemHeight:fa,fullHeight:!1,onMouseDown:Xa,onScroll:gr,virtual:Ga,direction:la,innerProps:Ga?null:Pl},function(Ki,di){var go,zo=Ki.group,oo=Ki.groupOption,bo=Ki.data,ro=Ki.label,Wo=Ki.value,ul=bo.key;if(zo){var Nl,Fl=(Nl=bo.title)!==null&&Nl!==void 0?Nl:Yo(ro)?ro.toString():void 0;return fe.createElement("div",{className:de()(La,"".concat(La,"-group")),title:Fl},ro!==void 0?ro:ul)}var Ro=bo.disabled,Ji=bo.title,el=bo.children,ml=bo.style,Io=bo.className,Ho=(0,ce.Z)(bo,wl),Ui=(0,xo.Z)(Ho,vo),Bi=Ko(Wo),tl="".concat(La,"-option"),jo=de()(La,tl,Io,(go={},(0,me.Z)(go,"".concat(tl,"-grouped"),oo),(0,me.Z)(go,"".concat(tl,"-active"),Oa===di&&!Ro),(0,me.Z)(go,"".concat(tl,"-disabled"),Ro),(0,me.Z)(go,"".concat(tl,"-selected"),Bi),go)),Bl=ol(Ki),qi=!Ba||typeof Ba=="function"||Bi,Ja=typeof Bl=="number"?Bl:Bl||Wo,ki=Yo(Ja)?Ja.toString():void 0;return Ji!==void 0&&(ki=Ji),fe.createElement("div",(0,Me.Z)({},(0,Je.Z)(Ui),Ga?{}:Bo(Ki,di),{"aria-selected":Bi,className:jo,title:ki,onMouseMove:function(){Oa===di||Ro||yi(di)},onClick:function(){Ro||No(Wo)},style:ml}),fe.createElement("div",{className:"".concat(tl,"-content")},Ja),fe.isValidElement(Ba)||Bi,qi&&fe.createElement(wt,{className:"".concat(La,"-option-state"),customizeIcon:Ba,customizeIconProps:{isSelected:Bi}},Bi?"\u2713":null))}))},zl=fe.forwardRef(gl);zl.displayName="OptionList";var Sl=zl;function Cl(_e){var gt=_e.mode,Ht=_e.options,Ue=_e.children,Ut=_e.backfill,hn=_e.allowClear,Fn=_e.placeholder,Lt=_e.getInputElement,Gt=_e.showSearch,ln=_e.onSearch,jn=_e.defaultOpen,er=_e.autoFocus,gr=_e.labelInValue,lr=_e.value,Nr=_e.inputValue,Wr=_e.optionLabelProp,ea=isMultiple(gt),Kr=Gt!==void 0?Gt:ea||gt==="combobox",Ba=Ht||convertChildrenToData(Ue);if(warning(gt!=="tags"||Ba.every(function(la){return!la.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),gt==="tags"||gt==="combobox"){var ua=Ba.some(function(la){return la.options?la.options.some(function(ga){return typeof("value"in ga?ga.value:ga.key)=="number"}):typeof("value"in la?la.value:la.key)=="number"});warning(!ua,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(gt!=="combobox"||!Wr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(gt==="combobox"||!Ut,"`backfill` only works with `combobox` mode."),warning(gt==="combobox"||!Lt,"`getInputElement` only work with `combobox` mode."),noteOnce(gt!=="combobox"||!Lt||!hn||!Fn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ln&&!Kr&&gt!=="combobox"&&gt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!jn||er,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),lr!=null){var Na=toArray(lr);warning(!gr||Na.every(function(la){return _typeof(la)==="object"&&("key"in la||"value"in la)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ea||Array.isArray(lr),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ue){var Ga=null;toNodeArray(Ue).some(function(la){if(!React.isValidElement(la)||!la.type)return!1;var ga=la,fa=ga.type;if(fa.isSelectOption)return!1;if(fa.isSelectOptGroup){var La=toNodeArray(la.props.children).every(function(Aa){return!React.isValidElement(Aa)||!la.type||Aa.type.isSelectOption?!0:(Ga=Aa.type,!1)});return!La}return Ga=fa,!0}),Ga&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ga.displayName||Ga.name||Ga,"`.")),warning(Nr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function wi(_e,gt){if(_e){var Ht=function Ue(Ut){for(var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Fn=0;Fn<Ut.length;Fn++){var Lt=Ut[Fn];if(Lt[gt==null?void 0:gt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!hn&&Array.isArray(Lt[gt==null?void 0:gt.options])&&Ue(Lt[gt==null?void 0:gt.options],!0))break}};Ht(_e)}}var ko=null,Pi=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Ci=["inputValue"];function Zn(_e){return!_e||(0,Se.Z)(_e)!=="object"}var Mn=fe.forwardRef(function(_e,gt){var Ht=_e.id,Ue=_e.mode,Ut=_e.prefixCls,hn=Ut===void 0?"rc-select":Ut,Fn=_e.backfill,Lt=_e.fieldNames,Gt=_e.inputValue,ln=_e.searchValue,jn=_e.onSearch,er=_e.autoClearSearchValue,gr=er===void 0?!0:er,lr=_e.onSelect,Nr=_e.onDeselect,Wr=_e.dropdownMatchSelectWidth,ea=Wr===void 0?!0:Wr,Kr=_e.filterOption,Ba=_e.filterSort,ua=_e.optionFilterProp,Na=_e.optionLabelProp,Ga=_e.options,la=_e.children,ga=_e.defaultActiveFirstOption,fa=_e.menuItemSelectedIcon,La=_e.virtual,Aa=_e.direction,ca=_e.listHeight,Xa=ca===void 0?200:ca,ra=_e.listItemHeight,Ya=ra===void 0?20:ra,Za=_e.value,Ua=_e.defaultValue,Oa=_e.labelInValue,ii=_e.onChange,yi=(0,ce.Z)(_e,Pi),Ko=Ma(Ht),No=fn(Ue),vo=!!(!Ga&&la),ol=fe.useMemo(function(){return Kr===void 0&&Ue==="combobox"?!1:Kr},[Kr,Ue]),Bo=fe.useMemo(function(){return pn(Lt,vo)},[JSON.stringify(Lt),vo]),kl=(0,Pe.Z)("",{value:ln!==void 0?ln:Gt,postState:function(Sr){return Sr||""}}),Pl=(0,ke.Z)(kl,2),Ki=Pl[0],di=Pl[1],go=$a(Ga,la,Bo,ua,Na),zo=go.valueOptions,oo=go.labelOptions,bo=go.options,ro=fe.useCallback(function(Gn){var Sr=On(Gn);return Sr.map(function(Nn){var Ur,xa,wa,Ka,Yr;if(Zn(Nn))Ur=Nn;else{var ri;wa=Nn.key,xa=Nn.label,Ur=(ri=Nn.value)!==null&&ri!==void 0?ri:wa}var qa=zo.get(Ur);if(qa){var Ti;if(xa===void 0&&(xa=qa==null?void 0:qa[Na||Bo.label]),wa===void 0&&(wa=(Ti=qa==null?void 0:qa.key)!==null&&Ti!==void 0?Ti:Ur),Ka=qa==null?void 0:qa.disabled,Yr=qa==null?void 0:qa.title,0)var vi}return{label:xa,value:Ur,key:wa,disabled:Ka,title:Yr}})},[Bo,Na,zo]),Wo=(0,Pe.Z)(Ua,{value:Za}),ul=(0,ke.Z)(Wo,2),Nl=ul[0],Fl=ul[1],Ro=fe.useMemo(function(){var Gn,Sr=ro(Nl);return Ue==="combobox"&&rn((Gn=Sr[0])===null||Gn===void 0?void 0:Gn.value)?[]:Sr},[Nl,ro,Ue]),Ji=rr(Ro,zo),el=(0,ke.Z)(Ji,2),ml=el[0],Io=el[1],Ho=fe.useMemo(function(){if(!Ue&&ml.length===1){var Gn=ml[0];if(Gn.value===null&&(Gn.label===null||Gn.label===void 0))return[]}return ml.map(function(Sr){var Nn;return(0,we.Z)((0,we.Z)({},Sr),{},{label:(Nn=Sr.label)!==null&&Nn!==void 0?Nn:Sr.value})})},[Ue,ml]),Ui=fe.useMemo(function(){return new Set(ml.map(function(Gn){return Gn.value}))},[ml]);fe.useEffect(function(){if(Ue==="combobox"){var Gn,Sr=(Gn=ml[0])===null||Gn===void 0?void 0:Gn.value;di(jt(Sr)?String(Sr):"")}},[ml]);var Bi=ni(function(Gn,Sr){var Nn,Ur=Sr!=null?Sr:Gn;return Nn={},(0,me.Z)(Nn,Bo.value,Gn),(0,me.Z)(Nn,Bo.label,Ur),Nn}),tl=fe.useMemo(function(){if(Ue!=="tags")return bo;var Gn=(0,et.Z)(bo),Sr=function(Ur){return zo.has(Ur)};return(0,et.Z)(ml).sort(function(Nn,Ur){return Nn.value<Ur.value?-1:1}).forEach(function(Nn){var Ur=Nn.value;Sr(Ur)||Gn.push(Bi(Ur,Nn.label))}),Gn},[Bi,bo,zo,ml,Ue]),jo=mn(tl,Bo,Ki,ol,ua),Bl=fe.useMemo(function(){return Ue!=="tags"||!Ki||jo.some(function(Gn){return Gn[ua||"value"]===Ki})||jo.some(function(Gn){return Gn[Bo.value]===Ki})?jo:[Bi(Ki)].concat((0,et.Z)(jo))},[Bi,ua,Ue,jo,Ki,Bo]),qi=fe.useMemo(function(){return Ba?(0,et.Z)(Bl).sort(function(Gn,Sr){return Ba(Gn,Sr)}):Bl},[Bl,Ba]),Ja=fe.useMemo(function(){return At(qi,{fieldNames:Bo,childrenAsData:vo})},[qi,Bo,vo]),ki=function(Sr){var Nn=ro(Sr);if(Fl(Nn),ii&&(Nn.length!==ml.length||Nn.some(function(wa,Ka){var Yr;return((Yr=ml[Ka])===null||Yr===void 0?void 0:Yr.value)!==(wa==null?void 0:wa.value)}))){var Ur=Oa?Nn:Nn.map(function(wa){return wa.value}),xa=Nn.map(function(wa){return Zt(Io(wa.value))});ii(No?Ur:Ur[0],No?xa:xa[0])}},Oi=fe.useState(null),ba=(0,ke.Z)(Oi,2),Qa=ba[0],Gi=ba[1],cl=fe.useState(0),Jl=(0,ke.Z)(cl,2),ws=Jl[0],Te=Jl[1],Ze=ga!==void 0?ga:Ue!=="combobox",Et=fe.useCallback(function(Gn,Sr){var Nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ur=Nn.source,xa=Ur===void 0?"keyboard":Ur;Te(Sr),Fn&&Ue==="combobox"&&Gn!==null&&xa==="keyboard"&&Gi(String(Gn))},[Fn,Ue]),Ot=function(Sr,Nn,Ur){var xa=function(){var _i,Fo=Io(Sr);return[Oa?{label:Fo==null?void 0:Fo[Bo.label],value:Sr,key:(_i=Fo==null?void 0:Fo.key)!==null&&_i!==void 0?_i:Sr}:Sr,Zt(Fo)]};if(Nn&&lr){var wa=xa(),Ka=(0,ke.Z)(wa,2),Yr=Ka[0],ri=Ka[1];lr(Yr,ri)}else if(!Nn&&Nr&&Ur!=="clear"){var qa=xa(),Ti=(0,ke.Z)(qa,2),vi=Ti[0],hi=Ti[1];Nr(vi,hi)}},Yt=ni(function(Gn,Sr){var Nn,Ur=No?Sr.selected:!0;Ur?Nn=No?[].concat((0,et.Z)(ml),[Gn]):[Gn]:Nn=ml.filter(function(xa){return xa.value!==Gn}),ki(Nn),Ot(Gn,Ur),Ue==="combobox"?Gi(""):(!fn||gr)&&(di(""),Gi(""))}),An=function(Sr,Nn){ki(Sr);var Ur=Nn.type,xa=Nn.values;(Ur==="remove"||Ur==="clear")&&xa.forEach(function(wa){Ot(wa.value,!1,Ur)})},ar=function(Sr,Nn){if(di(Sr),Gi(null),Nn.source==="submit"){var Ur=(Sr||"").trim();if(Ur){var xa=Array.from(new Set([].concat((0,et.Z)(Ui),[Ur])));ki(xa),Ot(Ur,!0),di("")}return}Nn.source!=="blur"&&(Ue==="combobox"&&ki(Sr),jn==null||jn(Sr))},wr=function(Sr){var Nn=Sr;Ue!=="tags"&&(Nn=Sr.map(function(xa){var wa=oo.get(xa);return wa==null?void 0:wa.value}).filter(function(xa){return xa!==void 0}));var Ur=Array.from(new Set([].concat((0,et.Z)(Ui),(0,et.Z)(Nn))));ki(Ur),Ur.forEach(function(xa){Ot(xa,!0)})},Un=fe.useMemo(function(){var Gn=La!==!1&&ea!==!1;return(0,we.Z)((0,we.Z)({},go),{},{flattenOptions:Ja,onActiveValue:Et,defaultActiveFirstOption:Ze,onSelect:Yt,menuItemSelectedIcon:fa,rawValues:Ui,fieldNames:Bo,virtual:Gn,direction:Aa,listHeight:Xa,listItemHeight:Ya,childrenAsData:vo})},[go,Ja,Et,Ze,Yt,fa,Ui,Bo,La,ea,Xa,Ya,vo]);return fe.createElement(Uo.Provider,{value:Un},fe.createElement(kn,(0,Me.Z)({},yi,{id:Ko,prefixCls:hn,ref:gt,omitDomProps:Ci,mode:Ue,displayValues:Ho,onDisplayValuesChange:An,direction:Aa,searchValue:Ki,onSearch:ar,autoClearSearchValue:gr,onSearchSplit:wr,dropdownMatchSelectWidth:ea,OptionList:Sl,emptyOptions:!Ja.length,activeValue:Qa,activeDescendantId:"".concat(Ko,"_list_").concat(ws)})))}),dr=Mn;dr.Option=ta,dr.OptGroup=oi;var Qr=null,va=null,pi=ee(17341),Ai=function(_e){var gt=fe.useRef({valueLabels:new Map});return fe.useMemo(function(){var Ht=gt.current.valueLabels,Ue=new Map,Ut=_e.map(function(hn){var Fn,Lt=hn.value,Gt=(Fn=hn.label)!==null&&Fn!==void 0?Fn:Ht.get(Lt);return Ue.set(Lt,Gt),(0,we.Z)((0,we.Z)({},hn),{},{label:Gt})});return gt.current.valueLabels=Ue,[Ut]},[_e])},Vi=function(_e,gt,Ht,Ue){return fe.useMemo(function(){var Ut=_e.map(function(Gt){var ln=Gt.value;return ln}),hn=gt.map(function(Gt){var ln=Gt.value;return ln}),Fn=Ut.filter(function(Gt){return!Ue[Gt]});if(Ht){var Lt=(0,pi.S)(Ut,!0,Ue);Ut=Lt.checkedKeys,hn=Lt.halfCheckedKeys}return[Array.from(new Set([].concat((0,et.Z)(Fn),(0,et.Z)(Ut)))),hn]},[_e,gt,Ht,Ue])},ui=ee(1089),Di=function(_e,gt){return fe.useMemo(function(){var Ht=(0,ui.I8)(_e,{fieldNames:gt,initWrapper:function(Ut){return(0,we.Z)((0,we.Z)({},Ut),{},{valueEntities:new Map})},processEntity:function(Ut,hn){var Fn=Ut.node[gt.value];if(0)var Lt;hn.valueEntities.set(Fn,Ut)}});return Ht},[_e,gt])},Eo=function(){return null},Zo=Eo,Qo=["children","value"];function He(_e){return(0,pa.Z)(_e).map(function(gt){if(!fe.isValidElement(gt)||!gt.type)return null;var Ht=gt,Ue=Ht.key,Ut=Ht.props,hn=Ut.children,Fn=Ut.value,Lt=(0,ce.Z)(Ut,Qo),Gt=(0,we.Z)({key:Ue,value:Fn},Lt),ln=He(hn);return ln.length&&(Gt.children=ln),Gt}).filter(function(gt){return gt})}function nt(_e){if(!_e)return _e;var gt=(0,we.Z)({},_e);return"props"in gt||Object.defineProperty(gt,"props",{get:function(){return(0,Xe.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),gt}}),gt}function It(_e,gt,Ht,Ue,Ut,hn){var Fn=null,Lt=null;function Gt(){function ln(jn){var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return jn.map(function(lr,Nr){var Wr="".concat(er,"-").concat(Nr),ea=lr[hn.value],Kr=Ht.includes(ea),Ba=ln(lr[hn.children]||[],Wr,Kr),ua=fe.createElement(Zo,lr,Ba.map(function(Ga){return Ga.node}));if(gt===ea&&(Fn=ua),Kr){var Na={pos:Wr,node:ua,children:Ba};return gr||Lt.push(Na),Na}return null}).filter(function(lr){return lr})}Lt||(Lt=[],ln(Ue),Lt.sort(function(jn,er){var gr=jn.node.props.value,lr=er.node.props.value,Nr=Ht.indexOf(gr),Wr=Ht.indexOf(lr);return Nr-Wr}))}Object.defineProperty(_e,"triggerNode",{get:function(){return(0,Xe.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Gt(),Fn}}),Object.defineProperty(_e,"allCheckedNodes",{get:function(){return(0,Xe.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Gt(),Ut?Lt:Lt.map(function(jn){var er=jn.node;return er})}})}var pe=function(_e,gt,Ht){var Ue=Ht.treeNodeFilterProp,Ut=Ht.filterTreeNode,hn=Ht.fieldNames,Fn=hn.children;return fe.useMemo(function(){if(!gt||Ut===!1)return _e;var Lt;if(typeof Ut=="function")Lt=Ut;else{var Gt=gt.toUpperCase();Lt=function(er,gr){var lr=gr[Ue];return String(lr).toUpperCase().includes(Gt)}}function ln(jn){var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return jn.reduce(function(gr,lr){var Nr=lr[Fn],Wr=er||Lt(gt,nt(lr)),ea=ln(Nr||[],Wr);return(Wr||ea.length)&&gr.push((0,we.Z)((0,we.Z)({},lr),{},(0,me.Z)({isLeaf:void 0},Fn,ea))),gr},[])}return ln(_e)},[_e,gt,Fn,Ue,Ut])};function Oe(_e){var gt=fe.useRef();gt.current=_e;var Ht=fe.useCallback(function(){return gt.current.apply(gt,arguments)},[]);return Ht}function Ae(_e,gt){var Ht=gt.id,Ue=gt.pId,Ut=gt.rootPId,hn={},Fn=[],Lt=_e.map(function(Gt){var ln=(0,we.Z)({},Gt),jn=ln[Ht];return hn[jn]=ln,ln.key=ln.key||jn,ln});return Lt.forEach(function(Gt){var ln=Gt[Ue],jn=hn[ln];jn&&(jn.children=jn.children||[],jn.children.push(Gt)),(ln===Ut||!jn&&Ut===null)&&Fn.push(Gt)}),Fn}function Ke(_e,gt,Ht){return fe.useMemo(function(){return _e?Ht?Ae(_e,(0,we.Z)({id:"id",pId:"pId",rootPId:null},Ht!==!0?Ht:{})):_e:He(gt)},[gt,Ht,_e])}var Qe=fe.createContext(null),at=Qe,ft=ee(15671),Xt=ee(43144),an=ee(97326),Qn=ee(60136),cr=ee(51630),Ar=ee(27822),Dn=ee(10225),$n=ee(36459),Jn=fe.forwardRef(function(_e,gt){var Ht=_e.height,Ue=_e.offset,Ut=_e.children,hn=_e.prefixCls,Fn=_e.onInnerResize,Lt=_e.innerProps,Gt={},ln={display:"flex",flexDirection:"column"};return Ue!==void 0&&(Gt={height:Ht,position:"relative",overflow:"hidden"},ln=(0,we.Z)((0,we.Z)({},ln),{},{transform:"translateY(".concat(Ue,"px)"),position:"absolute",left:0,right:0,top:0})),fe.createElement("div",{style:Gt},fe.createElement(ht.Z,{onResize:function(er){var gr=er.offsetHeight;gr&&Fn&&Fn()}},fe.createElement("div",(0,Me.Z)({style:ln,className:de()((0,me.Z)({},"".concat(hn,"-holder-inner"),hn)),ref:gt},Lt),Ut)))});Jn.displayName="Filler";var kr=Jn,Hr=ee(75164),zr=20;function Fr(_e){return"touches"in _e?_e.touches[0].pageY:_e.pageY}var jr=function(_e){(0,Qn.Z)(Ht,_e);var gt=(0,cr.Z)(Ht);function Ht(){var Ue;(0,ft.Z)(this,Ht);for(var Ut=arguments.length,hn=new Array(Ut),Fn=0;Fn<Ut;Fn++)hn[Fn]=arguments[Fn];return Ue=gt.call.apply(gt,[this].concat(hn)),Ue.moveRaf=null,Ue.scrollbarRef=fe.createRef(),Ue.thumbRef=fe.createRef(),Ue.visibleTimeout=null,Ue.state={dragging:!1,pageY:null,startTop:null,visible:!1},Ue.delayHidden=function(){clearTimeout(Ue.visibleTimeout),Ue.setState({visible:!0}),Ue.visibleTimeout=setTimeout(function(){Ue.setState({visible:!1})},2e3)},Ue.onScrollbarTouchStart=function(Lt){Lt.preventDefault()},Ue.onContainerMouseDown=function(Lt){Lt.stopPropagation(),Lt.preventDefault()},Ue.patchEvents=function(){window.addEventListener("mousemove",Ue.onMouseMove),window.addEventListener("mouseup",Ue.onMouseUp),Ue.thumbRef.current.addEventListener("touchmove",Ue.onMouseMove),Ue.thumbRef.current.addEventListener("touchend",Ue.onMouseUp)},Ue.removeEvents=function(){var Lt;window.removeEventListener("mousemove",Ue.onMouseMove),window.removeEventListener("mouseup",Ue.onMouseUp),(Lt=Ue.scrollbarRef.current)===null||Lt===void 0||Lt.removeEventListener("touchstart",Ue.onScrollbarTouchStart),Ue.thumbRef.current&&(Ue.thumbRef.current.removeEventListener("touchstart",Ue.onMouseDown),Ue.thumbRef.current.removeEventListener("touchmove",Ue.onMouseMove),Ue.thumbRef.current.removeEventListener("touchend",Ue.onMouseUp)),Hr.Z.cancel(Ue.moveRaf)},Ue.onMouseDown=function(Lt){var Gt=Ue.props.onStartMove;Ue.setState({dragging:!0,pageY:Fr(Lt),startTop:Ue.getTop()}),Gt(),Ue.patchEvents(),Lt.stopPropagation(),Lt.preventDefault()},Ue.onMouseMove=function(Lt){var Gt=Ue.state,ln=Gt.dragging,jn=Gt.pageY,er=Gt.startTop,gr=Ue.props.onScroll;if(Hr.Z.cancel(Ue.moveRaf),ln){var lr=Fr(Lt)-jn,Nr=er+lr,Wr=Ue.getEnableScrollRange(),ea=Ue.getEnableHeightRange(),Kr=ea?Nr/ea:0,Ba=Math.ceil(Kr*Wr);Ue.moveRaf=(0,Hr.Z)(function(){gr(Ba)})}},Ue.onMouseUp=function(){var Lt=Ue.props.onStopMove;Ue.setState({dragging:!1}),Lt(),Ue.removeEvents()},Ue.getSpinHeight=function(){var Lt=Ue.props,Gt=Lt.height,ln=Lt.count,jn=Gt/ln*10;return jn=Math.max(jn,zr),jn=Math.min(jn,Gt/2),Math.floor(jn)},Ue.getEnableScrollRange=function(){var Lt=Ue.props,Gt=Lt.scrollHeight,ln=Lt.height;return Gt-ln||0},Ue.getEnableHeightRange=function(){var Lt=Ue.props.height,Gt=Ue.getSpinHeight();return Lt-Gt||0},Ue.getTop=function(){var Lt=Ue.props.scrollTop,Gt=Ue.getEnableScrollRange(),ln=Ue.getEnableHeightRange();if(Lt===0||Gt===0)return 0;var jn=Lt/Gt;return jn*ln},Ue.showScroll=function(){var Lt=Ue.props,Gt=Lt.height,ln=Lt.scrollHeight;return ln>Gt},Ue}return(0,Xt.Z)(Ht,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(Ut){Ut.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ut=this.state,hn=Ut.dragging,Fn=Ut.visible,Lt=this.props.prefixCls,Gt=this.getSpinHeight(),ln=this.getTop(),jn=this.showScroll(),er=jn&&Fn;return fe.createElement("div",{ref:this.scrollbarRef,className:de()("".concat(Lt,"-scrollbar"),(0,me.Z)({},"".concat(Lt,"-scrollbar-show"),jn)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:er?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},fe.createElement("div",{ref:this.thumbRef,className:de()("".concat(Lt,"-scrollbar-thumb"),(0,me.Z)({},"".concat(Lt,"-scrollbar-thumb-moving"),hn)),style:{width:"100%",height:Gt,top:ln,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Ht}(fe.Component);function _r(_e){var gt=_e.children,Ht=_e.setRef,Ue=fe.useCallback(function(Ut){Ht(Ut)},[]);return fe.cloneElement(gt,{ref:Ue})}function Jr(_e,gt,Ht,Ue,Ut,hn){var Fn=hn.getKey;return _e.slice(gt,Ht+1).map(function(Lt,Gt){var ln=gt+Gt,jn=Ut(Lt,ln,{}),er=Fn(Lt);return fe.createElement(_r,{key:er,setRef:function(lr){return Ue(Lt,lr)}},jn)})}var kt=ee(34203),Pt=function(){function _e(){(0,ft.Z)(this,_e),this.maps=void 0,this.maps=Object.create(null)}return(0,Xt.Z)(_e,[{key:"set",value:function(Ht,Ue){this.maps[Ht]=Ue}},{key:"get",value:function(Ht){return this.maps[Ht]}}]),_e}(),zn=Pt;function Bn(_e,gt,Ht){var Ue=fe.useState(0),Ut=(0,ke.Z)(Ue,2),hn=Ut[0],Fn=Ut[1],Lt=(0,fe.useRef)(new Map),Gt=(0,fe.useRef)(new zn),ln=(0,fe.useRef)();function jn(){Hr.Z.cancel(ln.current)}function er(){jn(),ln.current=(0,Hr.Z)(function(){Lt.current.forEach(function(lr,Nr){if(lr&&lr.offsetParent){var Wr=(0,kt.Z)(lr),ea=Wr.offsetHeight;Gt.current.get(Nr)!==ea&&Gt.current.set(Nr,Wr.offsetHeight)}}),Fn(function(lr){return lr+1})})}function gr(lr,Nr){var Wr=_e(lr),ea=Lt.current.get(Wr);Nr?(Lt.current.set(Wr,Nr),er()):Lt.current.delete(Wr),!ea!=!Nr&&(Nr?gt==null||gt(lr):Ht==null||Ht(lr))}return(0,fe.useEffect)(function(){return jn},[]),[gr,er,Gt.current,hn]}function xr(_e,gt,Ht,Ue,Ut,hn,Fn,Lt){var Gt=fe.useRef();return function(ln){if(ln==null){Lt();return}if(Hr.Z.cancel(Gt.current),typeof ln=="number")Fn(ln);else if(ln&&(0,Se.Z)(ln)==="object"){var jn,er=ln.align;"index"in ln?jn=ln.index:jn=gt.findIndex(function(Wr){return Ut(Wr)===ln.key});var gr=ln.offset,lr=gr===void 0?0:gr,Nr=function Wr(ea,Kr){if(!(ea<0||!_e.current)){var Ba=_e.current.clientHeight,ua=!1,Na=Kr;if(Ba){for(var Ga=Kr||er,la=0,ga=0,fa=0,La=Math.min(gt.length,jn),Aa=0;Aa<=La;Aa+=1){var ca=Ut(gt[Aa]);ga=la;var Xa=Ht.get(ca);fa=ga+(Xa===void 0?Ue:Xa),la=fa,Aa===jn&&Xa===void 0&&(ua=!0)}var ra=null;switch(Ga){case"top":ra=ga-lr;break;case"bottom":ra=fa-Ba+lr;break;default:{var Ya=_e.current.scrollTop,Za=Ya+Ba;ga<Ya?Na="top":fa>Za&&(Na="bottom")}}ra!==null&&ra!==_e.current.scrollTop&&Fn(ra)}Gt.current=(0,Hr.Z)(function(){ua&&hn(),Wr(ea-1,Na)},2)}};Nr(3)}}}function Zr(_e,gt,Ht,Ue){var Ut=Ht-_e,hn=gt-Ht,Fn=Math.min(Ut,hn)*2;if(Ue<=Fn){var Lt=Math.floor(Ue/2);return Ue%2?Ht+Lt+1:Ht-Lt}return Ut>hn?Ht-(Ue-hn):Ht+(Ue-Ut)}function $t(_e,gt,Ht){var Ue=_e.length,Ut=gt.length,hn,Fn;if(Ue===0&&Ut===0)return null;Ue<Ut?(hn=_e,Fn=gt):(hn=gt,Fn=_e);var Lt={__EMPTY_ITEM__:!0};function Gt(Nr){return Nr!==void 0?Ht(Nr):Lt}for(var ln=null,jn=Math.abs(Ue-Ut)!==1,er=0;er<Fn.length;er+=1){var gr=Gt(hn[er]),lr=Gt(Fn[er]);if(gr!==lr){ln=er,jn=jn||gr!==Gt(Fn[er+1]);break}}return ln===null?null:{index:ln,multiple:jn}}function cn(_e,gt,Ht){var Ue=fe.useState(_e),Ut=(0,ke.Z)(Ue,2),hn=Ut[0],Fn=Ut[1],Lt=fe.useState(null),Gt=(0,ke.Z)(Lt,2),ln=Gt[0],jn=Gt[1];return fe.useEffect(function(){var er=$t(hn||[],_e||[],gt);(er==null?void 0:er.index)!==void 0&&(Ht==null||Ht(er.index),jn(_e[er.index])),Fn(_e)},[_e]),[ln]}var dn=(typeof navigator=="undefined"?"undefined":(0,Se.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Rn=dn,yr=function(_e,gt){var Ht=(0,fe.useRef)(!1),Ue=(0,fe.useRef)(null);function Ut(){clearTimeout(Ue.current),Ht.current=!0,Ue.current=setTimeout(function(){Ht.current=!1},50)}var hn=(0,fe.useRef)({top:_e,bottom:gt});return hn.current.top=_e,hn.current.bottom=gt,function(Fn){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Gt=Fn<0&&hn.current.top||Fn>0&&hn.current.bottom;return Lt&&Gt?(clearTimeout(Ue.current),Ht.current=!1):(!Gt||Ht.current)&&Ut(),!Ht.current&&Gt}};function Tr(_e,gt,Ht,Ue){var Ut=(0,fe.useRef)(0),hn=(0,fe.useRef)(null),Fn=(0,fe.useRef)(null),Lt=(0,fe.useRef)(!1),Gt=yr(gt,Ht);function ln(er){if(_e){Hr.Z.cancel(hn.current);var gr=er.deltaY;Ut.current+=gr,Fn.current=gr,!Gt(gr)&&(Rn||er.preventDefault(),hn.current=(0,Hr.Z)(function(){var lr=Lt.current?10:1;Ue(Ut.current*lr),Ut.current=0}))}}function jn(er){_e&&(Lt.current=er.detail===Fn.current)}return[ln,jn]}var vr=14/15;function Pr(_e,gt,Ht){var Ue=(0,fe.useRef)(!1),Ut=(0,fe.useRef)(0),hn=(0,fe.useRef)(null),Fn=(0,fe.useRef)(null),Lt,Gt=function(gr){if(Ue.current){var lr=Math.ceil(gr.touches[0].pageY),Nr=Ut.current-lr;Ut.current=lr,Ht(Nr)&&gr.preventDefault(),clearInterval(Fn.current),Fn.current=setInterval(function(){Nr*=vr,(!Ht(Nr,!0)||Math.abs(Nr)<=.1)&&clearInterval(Fn.current)},16)}},ln=function(){Ue.current=!1,Lt()},jn=function(gr){Lt(),gr.touches.length===1&&!Ue.current&&(Ue.current=!0,Ut.current=Math.ceil(gr.touches[0].pageY),hn.current=gr.target,hn.current.addEventListener("touchmove",Gt),hn.current.addEventListener("touchend",ln))};Lt=function(){hn.current&&(hn.current.removeEventListener("touchmove",Gt),hn.current.removeEventListener("touchend",ln))},(0,Ge.Z)(function(){return _e&&gt.current.addEventListener("touchstart",jn),function(){var er;(er=gt.current)===null||er===void 0||er.removeEventListener("touchstart",jn),Lt(),clearInterval(Fn.current)}},[_e])}var ia=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange","innerProps"],Va=[],ma={overflowY:"auto",overflowAnchor:"none"};function Gr(_e,gt){var Ht=_e.prefixCls,Ue=Ht===void 0?"rc-virtual-list":Ht,Ut=_e.className,hn=_e.height,Fn=_e.itemHeight,Lt=_e.fullHeight,Gt=Lt===void 0?!0:Lt,ln=_e.style,jn=_e.data,er=_e.children,gr=_e.itemKey,lr=_e.virtual,Nr=_e.component,Wr=Nr===void 0?"div":Nr,ea=_e.onScroll,Kr=_e.onVisibleChange,Ba=_e.innerProps,ua=(0,ce.Z)(_e,ia),Na=!!(lr!==!1&&hn&&Fn),Ga=Na&&jn&&Fn*jn.length>hn,la=(0,fe.useState)(0),ga=(0,ke.Z)(la,2),fa=ga[0],La=ga[1],Aa=(0,fe.useState)(!1),ca=(0,ke.Z)(Aa,2),Xa=ca[0],ra=ca[1],Ya=de()(Ue,Ut),Za=jn||Va,Ua=(0,fe.useRef)(),Oa=(0,fe.useRef)(),ii=(0,fe.useRef)(),yi=fe.useCallback(function(ba){return typeof gr=="function"?gr(ba):ba==null?void 0:ba[gr]},[gr]),Ko={getKey:yi};function No(ba){La(function(Qa){var Gi;typeof ba=="function"?Gi=ba(Qa):Gi=ba;var cl=el(Gi);return Ua.current.scrollTop=cl,cl})}var vo=(0,fe.useRef)({start:0,end:Za.length}),ol=(0,fe.useRef)(),Bo=cn(Za,yi),kl=(0,ke.Z)(Bo,1),Pl=kl[0];ol.current=Pl;var Ki=Bn(yi,null,null),di=(0,ke.Z)(Ki,4),go=di[0],zo=di[1],oo=di[2],bo=di[3],ro=fe.useMemo(function(){if(!Na)return{scrollHeight:void 0,start:0,end:Za.length-1,offset:void 0};if(!Ga){var ba;return{scrollHeight:((ba=Oa.current)===null||ba===void 0?void 0:ba.offsetHeight)||0,start:0,end:Za.length-1,offset:void 0}}for(var Qa=0,Gi,cl,Jl,ws=Za.length,Te=0;Te<ws;Te+=1){var Ze=Za[Te],Et=yi(Ze),Ot=oo.get(Et),Yt=Qa+(Ot===void 0?Fn:Ot);Yt>=fa&&Gi===void 0&&(Gi=Te,cl=Qa),Yt>fa+hn&&Jl===void 0&&(Jl=Te),Qa=Yt}return Gi===void 0&&(Gi=0,cl=0,Jl=Math.ceil(hn/Fn)),Jl===void 0&&(Jl=Za.length-1),Jl=Math.min(Jl+1,Za.length),{scrollHeight:Qa,start:Gi,end:Jl,offset:cl}},[Ga,Na,fa,Za,bo,hn]),Wo=ro.scrollHeight,ul=ro.start,Nl=ro.end,Fl=ro.offset;vo.current.start=ul,vo.current.end=Nl;var Ro=Wo-hn,Ji=(0,fe.useRef)(Ro);Ji.current=Ro;function el(ba){var Qa=ba;return Number.isNaN(Ji.current)||(Qa=Math.min(Qa,Ji.current)),Qa=Math.max(Qa,0),Qa}var ml=fa<=0,Io=fa>=Ro,Ho=yr(ml,Io);function Ui(ba){var Qa=ba;No(Qa)}function Bi(ba){var Qa=ba.currentTarget.scrollTop;Qa!==fa&&No(Qa),ea==null||ea(ba)}var tl=Tr(Na,ml,Io,function(ba){No(function(Qa){var Gi=Qa+ba;return Gi})}),jo=(0,ke.Z)(tl,2),Bl=jo[0],qi=jo[1];Pr(Na,Ua,function(ba,Qa){return Ho(ba,Qa)?!1:(Bl({preventDefault:function(){},deltaY:ba}),!0)}),(0,Ge.Z)(function(){function ba(Qa){Na&&Qa.preventDefault()}return Ua.current.addEventListener("wheel",Bl),Ua.current.addEventListener("DOMMouseScroll",qi),Ua.current.addEventListener("MozMousePixelScroll",ba),function(){Ua.current&&(Ua.current.removeEventListener("wheel",Bl),Ua.current.removeEventListener("DOMMouseScroll",qi),Ua.current.removeEventListener("MozMousePixelScroll",ba))}},[Na]);var Ja=xr(Ua,Za,oo,Fn,yi,zo,No,function(){var ba;(ba=ii.current)===null||ba===void 0||ba.delayHidden()});fe.useImperativeHandle(gt,function(){return{scrollTo:Ja}}),(0,Ge.Z)(function(){if(Kr){var ba=Za.slice(ul,Nl+1);Kr(ba,Za)}},[ul,Nl,Za]);var ki=Jr(Za,ul,Nl,go,er,Ko),Oi=null;return hn&&(Oi=(0,we.Z)((0,me.Z)({},Gt?"height":"maxHeight",hn),ma),Na&&(Oi.overflowY="hidden",Xa&&(Oi.pointerEvents="none"))),fe.createElement("div",(0,Me.Z)({style:(0,we.Z)((0,we.Z)({},ln),{},{position:"relative"}),className:Ya},ua),fe.createElement(Wr,{className:"".concat(Ue,"-holder"),style:Oi,ref:Ua,onScroll:Bi},fe.createElement(kr,{prefixCls:Ue,height:Wo,offset:Fl,onInnerResize:zo,ref:Oa,innerProps:Ba},ki)),Na&&fe.createElement(jr,{ref:ii,prefixCls:Ue,scrollTop:fa,height:hn,scrollHeight:Wo,count:Za.length,onScroll:Ui,onStartMove:function(){ra(!0)},onStopMove:function(){ra(!1)}}))}var Ea=fe.forwardRef(Gr);Ea.displayName="List";var ja=Ea,ai=ja,Ra=ee(62874),da=ee(86128),ci=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],mi=function(gt,Ht){var Ue=gt.className,Ut=gt.style,hn=gt.motion,Fn=gt.motionNodes,Lt=gt.motionType,Gt=gt.onMotionStart,ln=gt.onMotionEnd,jn=gt.active,er=gt.treeNodeRequiredProps,gr=(0,ce.Z)(gt,ci),lr=fe.useState(!0),Nr=(0,ke.Z)(lr,2),Wr=Nr[0],ea=Nr[1],Kr=fe.useContext(Ar.k),Ba=Kr.prefixCls,ua=fe.useRef(!1),Na=function(){ua.current||ln(),ua.current=!0};return(0,fe.useEffect)(function(){Fn&&Lt==="hide"&&Wr&&ea(!1)},[Fn]),(0,fe.useEffect)(function(){return Fn&&Gt(),function(){Fn&&Na()}},[]),Fn?fe.createElement(Ra.Z,(0,Me.Z)({ref:Ht,visible:Wr},hn,{motionAppear:Lt==="show",onAppearEnd:Na,onLeaveEnd:Na}),function(Ga,la){var ga=Ga.className,fa=Ga.style;return fe.createElement("div",{ref:la,className:de()("".concat(Ba,"-treenode-motion"),ga),style:fa},Fn.map(function(La){var Aa=(0,Me.Z)({},((0,$n.Z)(La.data),La.data)),ca=La.title,Xa=La.key,ra=La.isStart,Ya=La.isEnd;delete Aa.children;var Za=(0,ui.H8)(Xa,er);return fe.createElement(da.Z,(0,Me.Z)({},Aa,Za,{title:ca,active:jn,data:La.data,key:Xa,isStart:ra,isEnd:Ya}))}))}):fe.createElement(da.Z,(0,Me.Z)({domRef:Ht,className:Ue,style:Ut},gr,{active:jn}))};mi.displayName="MotionTreeNode";var io=fe.forwardRef(mi),po=io;function Ao(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ht=_e.length,Ue=gt.length;if(Math.abs(Ht-Ue)!==1)return{add:!1,key:null};function Ut(hn,Fn){var Lt=new Map;hn.forEach(function(ln){Lt.set(ln,!0)});var Gt=Fn.filter(function(ln){return!Lt.has(ln)});return Gt.length===1?Gt[0]:null}return Ht<Ue?{add:!0,key:Ut(_e,gt)}:{add:!1,key:Ut(gt,_e)}}function uo(_e,gt,Ht){var Ue=_e.findIndex(function(Lt){return Lt.key===Ht}),Ut=_e[Ue+1],hn=gt.findIndex(function(Lt){return Lt.key===Ht});if(Ut){var Fn=gt.findIndex(function(Lt){return Lt.key===Ut.key});return gt.slice(hn+1,Fn)}return gt.slice(hn+1)}var ho=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ji={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},wo=function(){},Zi="RC_TREE_MOTION_".concat(Math.random()),gi={key:Zi},mo={key:Zi,level:0,index:0,pos:"0",node:gi,nodes:[gi]},_o={parent:null,children:[],pos:mo.pos,data:gi,title:null,key:Zi,isStart:[],isEnd:[]};function Wi(_e,gt,Ht,Ue){return gt===!1||!Ht?_e:_e.slice(0,Math.ceil(Ht/Ue)+1)}function al(_e){var gt=_e.key,Ht=_e.pos;return(0,ui.km)(gt,Ht)}function fl(_e){for(var gt=String(_e.data.key),Ht=_e;Ht.parent;)Ht=Ht.parent,gt="".concat(Ht.data.key," > ").concat(gt);return gt}var hl=fe.forwardRef(function(_e,gt){var Ht=_e.prefixCls,Ue=_e.data,Ut=_e.selectable,hn=_e.checkable,Fn=_e.expandedKeys,Lt=_e.selectedKeys,Gt=_e.checkedKeys,ln=_e.loadedKeys,jn=_e.loadingKeys,er=_e.halfCheckedKeys,gr=_e.keyEntities,lr=_e.disabled,Nr=_e.dragging,Wr=_e.dragOverNodeKey,ea=_e.dropPosition,Kr=_e.motion,Ba=_e.height,ua=_e.itemHeight,Na=_e.virtual,Ga=_e.focusable,la=_e.activeItem,ga=_e.focused,fa=_e.tabIndex,La=_e.onKeyDown,Aa=_e.onFocus,ca=_e.onBlur,Xa=_e.onActiveChange,ra=_e.onListChangeStart,Ya=_e.onListChangeEnd,Za=(0,ce.Z)(_e,ho),Ua=fe.useRef(null),Oa=fe.useRef(null);fe.useImperativeHandle(gt,function(){return{scrollTo:function(Ho){Ua.current.scrollTo(Ho)},getIndentWidth:function(){return Oa.current.offsetWidth}}});var ii=fe.useState(Fn),yi=(0,ke.Z)(ii,2),Ko=yi[0],No=yi[1],vo=fe.useState(Ue),ol=(0,ke.Z)(vo,2),Bo=ol[0],kl=ol[1],Pl=fe.useState(Ue),Ki=(0,ke.Z)(Pl,2),di=Ki[0],go=Ki[1],zo=fe.useState([]),oo=(0,ke.Z)(zo,2),bo=oo[0],ro=oo[1],Wo=fe.useState(null),ul=(0,ke.Z)(Wo,2),Nl=ul[0],Fl=ul[1],Ro=fe.useRef(Ue);Ro.current=Ue;function Ji(){var Io=Ro.current;kl(Io),go(Io),ro([]),Fl(null),Ya()}fe.useEffect(function(){No(Fn);var Io=Ao(Ko,Fn);if(Io.key!==null)if(Io.add){var Ho=Bo.findIndex(function(qi){var Ja=qi.key;return Ja===Io.key}),Ui=Wi(uo(Bo,Ue,Io.key),Na,Ba,ua),Bi=Bo.slice();Bi.splice(Ho+1,0,_o),go(Bi),ro(Ui),Fl("show")}else{var tl=Ue.findIndex(function(qi){var Ja=qi.key;return Ja===Io.key}),jo=Wi(uo(Ue,Bo,Io.key),Na,Ba,ua),Bl=Ue.slice();Bl.splice(tl+1,0,_o),go(Bl),ro(jo),Fl("hide")}else Bo!==Ue&&(kl(Ue),go(Ue))},[Fn,Ue]),fe.useEffect(function(){Nr||Ji()},[Nr]);var el=Kr?di:Ue,ml={expandedKeys:Fn,selectedKeys:Lt,loadedKeys:ln,loadingKeys:jn,checkedKeys:Gt,halfCheckedKeys:er,dragOverNodeKey:Wr,dropPosition:ea,keyEntities:gr};return fe.createElement(fe.Fragment,null,ga&&la&&fe.createElement("span",{style:ji,"aria-live":"assertive"},fl(la)),fe.createElement("div",null,fe.createElement("input",{style:ji,disabled:Ga===!1||lr,tabIndex:Ga!==!1?fa:null,onKeyDown:La,onFocus:Aa,onBlur:ca,value:"",onChange:wo,"aria-label":"for screen reader"})),fe.createElement("div",{className:"".concat(Ht,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},fe.createElement("div",{className:"".concat(Ht,"-indent")},fe.createElement("div",{ref:Oa,className:"".concat(Ht,"-indent-unit")}))),fe.createElement(ai,(0,Me.Z)({},Za,{data:el,itemKey:al,height:Ba,fullHeight:!1,virtual:Na,itemHeight:ua,prefixCls:"".concat(Ht,"-list"),ref:Ua,onVisibleChange:function(Ho,Ui){var Bi=new Set(Ho),tl=Ui.filter(function(jo){return!Bi.has(jo)});tl.some(function(jo){return al(jo)===Zi})&&Ji()}}),function(Io){var Ho=Io.pos,Ui=(0,Me.Z)({},((0,$n.Z)(Io.data),Io.data)),Bi=Io.title,tl=Io.key,jo=Io.isStart,Bl=Io.isEnd,qi=(0,ui.km)(tl,Ho);delete Ui.key,delete Ui.children;var Ja=(0,ui.H8)(qi,ml);return fe.createElement(po,(0,Me.Z)({},Ui,Ja,{title:Bi,active:!!la&&tl===la.key,pos:Ho,data:Io.data,isStart:jo,isEnd:Bl,motion:Kr,motionNodes:tl===Zi?bo:null,motionType:Nl,onMotionStart:ra,onMotionEnd:Ji,treeNodeRequiredProps:ml,onMouseMove:function(){Xa(null)}}))}))});hl.displayName="NodeList";var qo=hl;function Mo(_e){var gt=_e.dropPosition,Ht=_e.dropLevelOffset,Ue=_e.indent,Ut={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(gt){case-1:Ut.top=0,Ut.left=-Ht*Ue;break;case 1:Ut.bottom=0,Ut.left=-Ht*Ue;break;case 0:Ut.bottom=0,Ut.left=Ue;break}return fe.createElement("div",{style:Ut})}var Wl=10,Vo=function(_e){(0,Qn.Z)(Ht,_e);var gt=(0,cr.Z)(Ht);function Ht(){var Ue;(0,ft.Z)(this,Ht);for(var Ut=arguments.length,hn=new Array(Ut),Fn=0;Fn<Ut;Fn++)hn[Fn]=arguments[Fn];return Ue=gt.call.apply(gt,[this].concat(hn)),Ue.destroyed=!1,Ue.delayedDragEnterLogic=void 0,Ue.loadingRetryTimes={},Ue.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,ui.w$)()},Ue.dragStartMousePosition=null,Ue.dragNode=void 0,Ue.currentMouseOverDroppableNodeKey=null,Ue.listRef=fe.createRef(),Ue.onNodeDragStart=function(Lt,Gt){var ln=Ue.state,jn=ln.expandedKeys,er=ln.keyEntities,gr=Ue.props.onDragStart,lr=Gt.props.eventKey;Ue.dragNode=Gt,Ue.dragStartMousePosition={x:Lt.clientX,y:Lt.clientY};var Nr=(0,Dn._5)(jn,lr);Ue.setState({draggingNodeKey:lr,dragChildrenKeys:(0,Dn.wA)(lr,er),indent:Ue.listRef.current.getIndentWidth()}),Ue.setExpandedKeys(Nr),window.addEventListener("dragend",Ue.onWindowDragEnd),gr==null||gr({event:Lt,node:(0,ui.F)(Gt.props)})},Ue.onNodeDragEnter=function(Lt,Gt){var ln=Ue.state,jn=ln.expandedKeys,er=ln.keyEntities,gr=ln.dragChildrenKeys,lr=ln.flattenNodes,Nr=ln.indent,Wr=Ue.props,ea=Wr.onDragEnter,Kr=Wr.onExpand,Ba=Wr.allowDrop,ua=Wr.direction,Na=Gt.props,Ga=Na.pos,la=Na.eventKey,ga=(0,an.Z)(Ue),fa=ga.dragNode;if(Ue.currentMouseOverDroppableNodeKey!==la&&(Ue.currentMouseOverDroppableNodeKey=la),!fa){Ue.resetDragState();return}var La=(0,Dn.OM)(Lt,fa,Gt,Nr,Ue.dragStartMousePosition,Ba,lr,er,jn,ua),Aa=La.dropPosition,ca=La.dropLevelOffset,Xa=La.dropTargetKey,ra=La.dropContainerKey,Ya=La.dropTargetPos,Za=La.dropAllowed,Ua=La.dragOverNodeKey;if(gr.indexOf(Xa)!==-1||!Za){Ue.resetDragState();return}if(Ue.delayedDragEnterLogic||(Ue.delayedDragEnterLogic={}),Object.keys(Ue.delayedDragEnterLogic).forEach(function(Oa){clearTimeout(Ue.delayedDragEnterLogic[Oa])}),fa.props.eventKey!==Gt.props.eventKey&&(Lt.persist(),Ue.delayedDragEnterLogic[Ga]=window.setTimeout(function(){if(Ue.state.draggingNodeKey!==null){var Oa=(0,et.Z)(jn),ii=er[Gt.props.eventKey];ii&&(ii.children||[]).length&&(Oa=(0,Dn.L0)(jn,Gt.props.eventKey)),"expandedKeys"in Ue.props||Ue.setExpandedKeys(Oa),Kr==null||Kr(Oa,{node:(0,ui.F)(Gt.props),expanded:!0,nativeEvent:Lt.nativeEvent})}},800)),fa.props.eventKey===Xa&&ca===0){Ue.resetDragState();return}Ue.setState({dragOverNodeKey:Ua,dropPosition:Aa,dropLevelOffset:ca,dropTargetKey:Xa,dropContainerKey:ra,dropTargetPos:Ya,dropAllowed:Za}),ea==null||ea({event:Lt,node:(0,ui.F)(Gt.props),expandedKeys:jn})},Ue.onNodeDragOver=function(Lt,Gt){var ln=Ue.state,jn=ln.dragChildrenKeys,er=ln.flattenNodes,gr=ln.keyEntities,lr=ln.expandedKeys,Nr=ln.indent,Wr=Ue.props,ea=Wr.onDragOver,Kr=Wr.allowDrop,Ba=Wr.direction,ua=(0,an.Z)(Ue),Na=ua.dragNode;if(Na){var Ga=(0,Dn.OM)(Lt,Na,Gt,Nr,Ue.dragStartMousePosition,Kr,er,gr,lr,Ba),la=Ga.dropPosition,ga=Ga.dropLevelOffset,fa=Ga.dropTargetKey,La=Ga.dropContainerKey,Aa=Ga.dropAllowed,ca=Ga.dropTargetPos,Xa=Ga.dragOverNodeKey;jn.indexOf(fa)!==-1||!Aa||(Na.props.eventKey===fa&&ga===0?Ue.state.dropPosition===null&&Ue.state.dropLevelOffset===null&&Ue.state.dropTargetKey===null&&Ue.state.dropContainerKey===null&&Ue.state.dropTargetPos===null&&Ue.state.dropAllowed===!1&&Ue.state.dragOverNodeKey===null||Ue.resetDragState():la===Ue.state.dropPosition&&ga===Ue.state.dropLevelOffset&&fa===Ue.state.dropTargetKey&&La===Ue.state.dropContainerKey&&ca===Ue.state.dropTargetPos&&Aa===Ue.state.dropAllowed&&Xa===Ue.state.dragOverNodeKey||Ue.setState({dropPosition:la,dropLevelOffset:ga,dropTargetKey:fa,dropContainerKey:La,dropTargetPos:ca,dropAllowed:Aa,dragOverNodeKey:Xa}),ea==null||ea({event:Lt,node:(0,ui.F)(Gt.props)}))}},Ue.onNodeDragLeave=function(Lt,Gt){Ue.currentMouseOverDroppableNodeKey===Gt.props.eventKey&&!Lt.currentTarget.contains(Lt.relatedTarget)&&(Ue.resetDragState(),Ue.currentMouseOverDroppableNodeKey=null);var ln=Ue.props.onDragLeave;ln==null||ln({event:Lt,node:(0,ui.F)(Gt.props)})},Ue.onWindowDragEnd=function(Lt){Ue.onNodeDragEnd(Lt,null,!0),window.removeEventListener("dragend",Ue.onWindowDragEnd)},Ue.onNodeDragEnd=function(Lt,Gt){var ln=Ue.props.onDragEnd;Ue.setState({dragOverNodeKey:null}),Ue.cleanDragState(),ln==null||ln({event:Lt,node:(0,ui.F)(Gt.props)}),Ue.dragNode=null,window.removeEventListener("dragend",Ue.onWindowDragEnd)},Ue.onNodeDrop=function(Lt,Gt){var ln,jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,er=Ue.state,gr=er.dragChildrenKeys,lr=er.dropPosition,Nr=er.dropTargetKey,Wr=er.dropTargetPos,ea=er.dropAllowed;if(ea){var Kr=Ue.props.onDrop;if(Ue.setState({dragOverNodeKey:null}),Ue.cleanDragState(),Nr!==null){var Ba=(0,we.Z)((0,we.Z)({},(0,ui.H8)(Nr,Ue.getTreeNodeRequiredProps())),{},{active:((ln=Ue.getActiveItem())===null||ln===void 0?void 0:ln.key)===Nr,data:Ue.state.keyEntities[Nr].node}),ua=gr.indexOf(Nr)!==-1;(0,Xe.ZP)(!ua,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Na=(0,Dn.yx)(Wr),Ga={event:Lt,node:(0,ui.F)(Ba),dragNode:Ue.dragNode?(0,ui.F)(Ue.dragNode.props):null,dragNodesKeys:[Ue.dragNode.props.eventKey].concat(gr),dropToGap:lr!==0,dropPosition:lr+Number(Na[Na.length-1])};jn||Kr==null||Kr(Ga),Ue.dragNode=null}}},Ue.cleanDragState=function(){var Lt=Ue.state.draggingNodeKey;Lt!==null&&Ue.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Ue.dragStartMousePosition=null,Ue.currentMouseOverDroppableNodeKey=null},Ue.triggerExpandActionExpand=function(Lt,Gt){var ln=Ue.state,jn=ln.expandedKeys,er=ln.flattenNodes,gr=Gt.expanded,lr=Gt.key,Nr=Gt.isLeaf;if(!(Nr||Lt.shiftKey||Lt.metaKey||Lt.ctrlKey)){var Wr=er.filter(function(Kr){return Kr.key===lr})[0],ea=(0,ui.F)((0,we.Z)((0,we.Z)({},(0,ui.H8)(lr,Ue.getTreeNodeRequiredProps())),{},{data:Wr.data}));Ue.setExpandedKeys(gr?(0,Dn._5)(jn,lr):(0,Dn.L0)(jn,lr)),Ue.onNodeExpand(Lt,ea)}},Ue.onNodeClick=function(Lt,Gt){var ln=Ue.props,jn=ln.onClick,er=ln.expandAction;er==="click"&&Ue.triggerExpandActionExpand(Lt,Gt),jn==null||jn(Lt,Gt)},Ue.onNodeDoubleClick=function(Lt,Gt){var ln=Ue.props,jn=ln.onDoubleClick,er=ln.expandAction;er==="doubleClick"&&Ue.triggerExpandActionExpand(Lt,Gt),jn==null||jn(Lt,Gt)},Ue.onNodeSelect=function(Lt,Gt){var ln=Ue.state.selectedKeys,jn=Ue.state,er=jn.keyEntities,gr=jn.fieldNames,lr=Ue.props,Nr=lr.onSelect,Wr=lr.multiple,ea=Gt.selected,Kr=Gt[gr.key],Ba=!ea;Ba?Wr?ln=(0,Dn.L0)(ln,Kr):ln=[Kr]:ln=(0,Dn._5)(ln,Kr);var ua=ln.map(function(Na){var Ga=er[Na];return Ga?Ga.node:null}).filter(function(Na){return Na});Ue.setUncontrolledState({selectedKeys:ln}),Nr==null||Nr(ln,{event:"select",selected:Ba,node:Gt,selectedNodes:ua,nativeEvent:Lt.nativeEvent})},Ue.onNodeCheck=function(Lt,Gt,ln){var jn=Ue.state,er=jn.keyEntities,gr=jn.checkedKeys,lr=jn.halfCheckedKeys,Nr=Ue.props,Wr=Nr.checkStrictly,ea=Nr.onCheck,Kr=Gt.key,Ba,ua={event:"check",node:Gt,checked:ln,nativeEvent:Lt.nativeEvent};if(Wr){var Na=ln?(0,Dn.L0)(gr,Kr):(0,Dn._5)(gr,Kr),Ga=(0,Dn._5)(lr,Kr);Ba={checked:Na,halfChecked:Ga},ua.checkedNodes=Na.map(function(ca){return er[ca]}).filter(function(ca){return ca}).map(function(ca){return ca.node}),Ue.setUncontrolledState({checkedKeys:Na})}else{var la=(0,pi.S)([].concat((0,et.Z)(gr),[Kr]),!0,er),ga=la.checkedKeys,fa=la.halfCheckedKeys;if(!ln){var La=new Set(ga);La.delete(Kr);var Aa=(0,pi.S)(Array.from(La),{checked:!1,halfCheckedKeys:fa},er);ga=Aa.checkedKeys,fa=Aa.halfCheckedKeys}Ba=ga,ua.checkedNodes=[],ua.checkedNodesPositions=[],ua.halfCheckedKeys=fa,ga.forEach(function(ca){var Xa=er[ca];if(Xa){var ra=Xa.node,Ya=Xa.pos;ua.checkedNodes.push(ra),ua.checkedNodesPositions.push({node:ra,pos:Ya})}}),Ue.setUncontrolledState({checkedKeys:ga},!1,{halfCheckedKeys:fa})}ea==null||ea(Ba,ua)},Ue.onNodeLoad=function(Lt){var Gt=Lt.key,ln=new Promise(function(jn,er){Ue.setState(function(gr){var lr=gr.loadedKeys,Nr=lr===void 0?[]:lr,Wr=gr.loadingKeys,ea=Wr===void 0?[]:Wr,Kr=Ue.props,Ba=Kr.loadData,ua=Kr.onLoad;if(!Ba||Nr.indexOf(Gt)!==-1||ea.indexOf(Gt)!==-1)return null;var Na=Ba(Lt);return Na.then(function(){var Ga=Ue.state.loadedKeys,la=(0,Dn.L0)(Ga,Gt);ua==null||ua(la,{event:"load",node:Lt}),Ue.setUncontrolledState({loadedKeys:la}),Ue.setState(function(ga){return{loadingKeys:(0,Dn._5)(ga.loadingKeys,Gt)}}),jn()}).catch(function(Ga){if(Ue.setState(function(ga){return{loadingKeys:(0,Dn._5)(ga.loadingKeys,Gt)}}),Ue.loadingRetryTimes[Gt]=(Ue.loadingRetryTimes[Gt]||0)+1,Ue.loadingRetryTimes[Gt]>=Wl){var la=Ue.state.loadedKeys;(0,Xe.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Ue.setUncontrolledState({loadedKeys:(0,Dn.L0)(la,Gt)}),jn()}er(Ga)}),{loadingKeys:(0,Dn.L0)(ea,Gt)}})});return ln.catch(function(){}),ln},Ue.onNodeMouseEnter=function(Lt,Gt){var ln=Ue.props.onMouseEnter;ln==null||ln({event:Lt,node:Gt})},Ue.onNodeMouseLeave=function(Lt,Gt){var ln=Ue.props.onMouseLeave;ln==null||ln({event:Lt,node:Gt})},Ue.onNodeContextMenu=function(Lt,Gt){var ln=Ue.props.onRightClick;ln&&(Lt.preventDefault(),ln({event:Lt,node:Gt}))},Ue.onFocus=function(){var Lt=Ue.props.onFocus;Ue.setState({focused:!0});for(var Gt=arguments.length,ln=new Array(Gt),jn=0;jn<Gt;jn++)ln[jn]=arguments[jn];Lt==null||Lt.apply(void 0,ln)},Ue.onBlur=function(){var Lt=Ue.props.onBlur;Ue.setState({focused:!1}),Ue.onActiveChange(null);for(var Gt=arguments.length,ln=new Array(Gt),jn=0;jn<Gt;jn++)ln[jn]=arguments[jn];Lt==null||Lt.apply(void 0,ln)},Ue.getTreeNodeRequiredProps=function(){var Lt=Ue.state,Gt=Lt.expandedKeys,ln=Lt.selectedKeys,jn=Lt.loadedKeys,er=Lt.loadingKeys,gr=Lt.checkedKeys,lr=Lt.halfCheckedKeys,Nr=Lt.dragOverNodeKey,Wr=Lt.dropPosition,ea=Lt.keyEntities;return{expandedKeys:Gt||[],selectedKeys:ln||[],loadedKeys:jn||[],loadingKeys:er||[],checkedKeys:gr||[],halfCheckedKeys:lr||[],dragOverNodeKey:Nr,dropPosition:Wr,keyEntities:ea}},Ue.setExpandedKeys=function(Lt){var Gt=Ue.state,ln=Gt.treeData,jn=Gt.fieldNames,er=(0,ui.oH)(ln,Lt,jn);Ue.setUncontrolledState({expandedKeys:Lt,flattenNodes:er},!0)},Ue.onNodeExpand=function(Lt,Gt){var ln=Ue.state.expandedKeys,jn=Ue.state,er=jn.listChanging,gr=jn.fieldNames,lr=Ue.props,Nr=lr.onExpand,Wr=lr.loadData,ea=Gt.expanded,Kr=Gt[gr.key];if(!er){var Ba=ln.indexOf(Kr),ua=!ea;if((0,Xe.ZP)(ea&&Ba!==-1||!ea&&Ba===-1,"Expand state not sync with index check"),ua?ln=(0,Dn.L0)(ln,Kr):ln=(0,Dn._5)(ln,Kr),Ue.setExpandedKeys(ln),Nr==null||Nr(ln,{node:Gt,expanded:ua,nativeEvent:Lt.nativeEvent}),ua&&Wr){var Na=Ue.onNodeLoad(Gt);Na&&Na.then(function(){var Ga=(0,ui.oH)(Ue.state.treeData,ln,gr);Ue.setUncontrolledState({flattenNodes:Ga})}).catch(function(){var Ga=Ue.state.expandedKeys,la=(0,Dn._5)(Ga,Kr);Ue.setExpandedKeys(la)})}}},Ue.onListChangeStart=function(){Ue.setUncontrolledState({listChanging:!0})},Ue.onListChangeEnd=function(){setTimeout(function(){Ue.setUncontrolledState({listChanging:!1})})},Ue.onActiveChange=function(Lt){var Gt=Ue.state.activeKey,ln=Ue.props.onActiveChange;Gt!==Lt&&(Ue.setState({activeKey:Lt}),Lt!==null&&Ue.scrollTo({key:Lt}),ln==null||ln(Lt))},Ue.getActiveItem=function(){var Lt=Ue.state,Gt=Lt.activeKey,ln=Lt.flattenNodes;return Gt===null?null:ln.find(function(jn){var er=jn.key;return er===Gt})||null},Ue.offsetActiveKey=function(Lt){var Gt=Ue.state,ln=Gt.flattenNodes,jn=Gt.activeKey,er=ln.findIndex(function(Nr){var Wr=Nr.key;return Wr===jn});er===-1&&Lt<0&&(er=ln.length),er=(er+Lt+ln.length)%ln.length;var gr=ln[er];if(gr){var lr=gr.key;Ue.onActiveChange(lr)}else Ue.onActiveChange(null)},Ue.onKeyDown=function(Lt){var Gt=Ue.state,ln=Gt.activeKey,jn=Gt.expandedKeys,er=Gt.checkedKeys,gr=Gt.fieldNames,lr=Ue.props,Nr=lr.onKeyDown,Wr=lr.checkable,ea=lr.selectable;switch(Lt.which){case ot.Z.UP:{Ue.offsetActiveKey(-1),Lt.preventDefault();break}case ot.Z.DOWN:{Ue.offsetActiveKey(1),Lt.preventDefault();break}}var Kr=Ue.getActiveItem();if(Kr&&Kr.data){var Ba=Ue.getTreeNodeRequiredProps(),ua=Kr.data.isLeaf===!1||!!(Kr.data[gr.children]||[]).length,Na=(0,ui.F)((0,we.Z)((0,we.Z)({},(0,ui.H8)(ln,Ba)),{},{data:Kr.data,active:!0}));switch(Lt.which){case ot.Z.LEFT:{ua&&jn.includes(ln)?Ue.onNodeExpand({},Na):Kr.parent&&Ue.onActiveChange(Kr.parent.key),Lt.preventDefault();break}case ot.Z.RIGHT:{ua&&!jn.includes(ln)?Ue.onNodeExpand({},Na):Kr.children&&Kr.children.length&&Ue.onActiveChange(Kr.children[0].key),Lt.preventDefault();break}case ot.Z.ENTER:case ot.Z.SPACE:{Wr&&!Na.disabled&&Na.checkable!==!1&&!Na.disableCheckbox?Ue.onNodeCheck({},Na,!er.includes(ln)):!Wr&&ea&&!Na.disabled&&Na.selectable!==!1&&Ue.onNodeSelect({},Na);break}}}Nr==null||Nr(Lt)},Ue.setUncontrolledState=function(Lt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ln=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ue.destroyed){var jn=!1,er=!0,gr={};Object.keys(Lt).forEach(function(lr){if(lr in Ue.props){er=!1;return}jn=!0,gr[lr]=Lt[lr]}),jn&&(!Gt||er)&&Ue.setState((0,we.Z)((0,we.Z)({},gr),ln))}},Ue.scrollTo=function(Lt){Ue.listRef.current.scrollTo(Lt)},Ue}return(0,Xt.Z)(Ht,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ut=this.props.activeKey;Ut!==void 0&&Ut!==this.state.activeKey&&(this.setState({activeKey:Ut}),Ut!==null&&this.scrollTo({key:Ut}))}},{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 Ut,hn=this.state,Fn=hn.focused,Lt=hn.flattenNodes,Gt=hn.keyEntities,ln=hn.draggingNodeKey,jn=hn.activeKey,er=hn.dropLevelOffset,gr=hn.dropContainerKey,lr=hn.dropTargetKey,Nr=hn.dropPosition,Wr=hn.dragOverNodeKey,ea=hn.indent,Kr=this.props,Ba=Kr.prefixCls,ua=Kr.className,Na=Kr.style,Ga=Kr.showLine,la=Kr.focusable,ga=Kr.tabIndex,fa=ga===void 0?0:ga,La=Kr.selectable,Aa=Kr.showIcon,ca=Kr.icon,Xa=Kr.switcherIcon,ra=Kr.draggable,Ya=Kr.checkable,Za=Kr.checkStrictly,Ua=Kr.disabled,Oa=Kr.motion,ii=Kr.loadData,yi=Kr.filterTreeNode,Ko=Kr.height,No=Kr.itemHeight,vo=Kr.virtual,ol=Kr.titleRender,Bo=Kr.dropIndicatorRender,kl=Kr.onContextMenu,Pl=Kr.onScroll,Ki=Kr.direction,di=Kr.rootClassName,go=Kr.rootStyle,zo=(0,Je.Z)(this.props,{aria:!0,data:!0}),oo;return ra&&((0,Se.Z)(ra)==="object"?oo=ra:typeof ra=="function"?oo={nodeDraggable:ra}:oo={}),fe.createElement(Ar.k.Provider,{value:{prefixCls:Ba,selectable:La,showIcon:Aa,icon:ca,switcherIcon:Xa,draggable:oo,draggingNodeKey:ln,checkable:Ya,checkStrictly:Za,disabled:Ua,keyEntities:Gt,dropLevelOffset:er,dropContainerKey:gr,dropTargetKey:lr,dropPosition:Nr,dragOverNodeKey:Wr,indent:ea,direction:Ki,dropIndicatorRender:Bo,loadData:ii,filterTreeNode:yi,titleRender:ol,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}},fe.createElement("div",{role:"tree",className:de()(Ba,ua,di,(Ut={},(0,me.Z)(Ut,"".concat(Ba,"-show-line"),Ga),(0,me.Z)(Ut,"".concat(Ba,"-focused"),Fn),(0,me.Z)(Ut,"".concat(Ba,"-active-focused"),jn!==null),Ut)),style:go},fe.createElement(qo,(0,Me.Z)({ref:this.listRef,prefixCls:Ba,style:Na,data:Lt,disabled:Ua,selectable:La,checkable:!!Ya,motion:Oa,dragging:ln!==null,height:Ko,itemHeight:No,virtual:vo,focusable:la,focused:Fn,tabIndex:fa,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:kl,onScroll:Pl},this.getTreeNodeRequiredProps(),zo))))}}],[{key:"getDerivedStateFromProps",value:function(Ut,hn){var Fn=hn.prevProps,Lt={prevProps:Ut};function Gt(la){return!Fn&&la in Ut||Fn&&Fn[la]!==Ut[la]}var ln,jn=hn.fieldNames;if(Gt("fieldNames")&&(jn=(0,ui.w$)(Ut.fieldNames),Lt.fieldNames=jn),Gt("treeData")?ln=Ut.treeData:Gt("children")&&((0,Xe.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ln=(0,ui.zn)(Ut.children)),ln){Lt.treeData=ln;var er=(0,ui.I8)(ln,{fieldNames:jn});Lt.keyEntities=(0,we.Z)((0,me.Z)({},Zi,mo),er.keyEntities)}var gr=Lt.keyEntities||hn.keyEntities;if(Gt("expandedKeys")||Fn&&Gt("autoExpandParent"))Lt.expandedKeys=Ut.autoExpandParent||!Fn&&Ut.defaultExpandParent?(0,Dn.r7)(Ut.expandedKeys,gr):Ut.expandedKeys;else if(!Fn&&Ut.defaultExpandAll){var lr=(0,we.Z)({},gr);delete lr[Zi],Lt.expandedKeys=Object.keys(lr).map(function(la){return lr[la].key})}else!Fn&&Ut.defaultExpandedKeys&&(Lt.expandedKeys=Ut.autoExpandParent||Ut.defaultExpandParent?(0,Dn.r7)(Ut.defaultExpandedKeys,gr):Ut.defaultExpandedKeys);if(Lt.expandedKeys||delete Lt.expandedKeys,ln||Lt.expandedKeys){var Nr=(0,ui.oH)(ln||hn.treeData,Lt.expandedKeys||hn.expandedKeys,jn);Lt.flattenNodes=Nr}if(Ut.selectable&&(Gt("selectedKeys")?Lt.selectedKeys=(0,Dn.BT)(Ut.selectedKeys,Ut):!Fn&&Ut.defaultSelectedKeys&&(Lt.selectedKeys=(0,Dn.BT)(Ut.defaultSelectedKeys,Ut))),Ut.checkable){var Wr;if(Gt("checkedKeys")?Wr=(0,Dn.E6)(Ut.checkedKeys)||{}:!Fn&&Ut.defaultCheckedKeys?Wr=(0,Dn.E6)(Ut.defaultCheckedKeys)||{}:ln&&(Wr=(0,Dn.E6)(Ut.checkedKeys)||{checkedKeys:hn.checkedKeys,halfCheckedKeys:hn.halfCheckedKeys}),Wr){var ea=Wr,Kr=ea.checkedKeys,Ba=Kr===void 0?[]:Kr,ua=ea.halfCheckedKeys,Na=ua===void 0?[]:ua;if(!Ut.checkStrictly){var Ga=(0,pi.S)(Ba,!0,gr);Ba=Ga.checkedKeys,Na=Ga.halfCheckedKeys}Lt.checkedKeys=Ba,Lt.halfCheckedKeys=Na}}return Gt("loadedKeys")&&(Lt.loadedKeys=Ut.loadedKeys),Lt}}]),Ht}(fe.Component);Vo.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:Mo,allowDrop:function(){return!0},expandAction:!1},Vo.TreeNode=da.Z;var yo=Vo,sl=yo,Vl=fe.createContext(null),pl=Vl;function Dl(_e){return Array.isArray(_e)?_e:_e!==void 0?[_e]:[]}function Lo(_e){var gt=_e||{},Ht=gt.label,Ue=gt.value,Ut=gt.children,hn=Ue||"value";return{_title:Ht?[Ht]:["title","label"],value:hn,key:hn,children:Ut||"children"}}function jl(_e){return!_e||_e.disabled||_e.disableCheckbox||_e.checkable===!1}function ls(_e,gt){var Ht=[];function Ue(Ut){Ut.forEach(function(hn){var Fn=hn[gt.children];Fn&&(Ht.push(hn[gt.value]),Ue(Fn))})}return Ue(_e),Ht}function Ql(_e){return _e==null}var Al={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Tl=function(gt,Ht){var Ue=st(),Ut=Ue.prefixCls,hn=Ue.multiple,Fn=Ue.searchValue,Lt=Ue.toggleOpen,Gt=Ue.open,ln=Ue.notFoundContent,jn=fe.useContext(pl),er=jn.virtual,gr=jn.listHeight,lr=jn.listItemHeight,Nr=jn.treeData,Wr=jn.fieldNames,ea=jn.onSelect,Kr=jn.dropdownMatchSelectWidth,Ba=jn.treeExpandAction,ua=fe.useContext(at),Na=ua.checkable,Ga=ua.checkedKeys,la=ua.halfCheckedKeys,ga=ua.treeExpandedKeys,fa=ua.treeDefaultExpandAll,La=ua.treeDefaultExpandedKeys,Aa=ua.onTreeExpand,ca=ua.treeIcon,Xa=ua.showTreeIcon,ra=ua.switcherIcon,Ya=ua.treeLine,Za=ua.treeNodeFilterProp,Ua=ua.loadData,Oa=ua.treeLoadedKeys,ii=ua.treeMotion,yi=ua.onTreeLoad,Ko=ua.keyEntities,No=fe.useRef(),vo=(0,to.Z)(function(){return Nr},[Gt,Nr],function(Ui,Bi){return Bi[0]&&Ui[1]!==Bi[1]}),ol=fe.useState(null),Bo=(0,ke.Z)(ol,2),kl=Bo[0],Pl=Bo[1],Ki=Ko[kl],di=fe.useMemo(function(){return Na?{checked:Ga,halfChecked:la}:null},[Na,Ga,la]);fe.useEffect(function(){if(Gt&&!hn&&Ga.length){var Ui;(Ui=No.current)===null||Ui===void 0||Ui.scrollTo({key:Ga[0]}),Pl(Ga[0])}},[Gt]);var go=String(Fn).toLowerCase(),zo=function(Bi){return go?String(Bi[Za]).toLowerCase().includes(go):!1},oo=fe.useState(La),bo=(0,ke.Z)(oo,2),ro=bo[0],Wo=bo[1],ul=fe.useState(null),Nl=(0,ke.Z)(ul,2),Fl=Nl[0],Ro=Nl[1],Ji=fe.useMemo(function(){return ga?(0,et.Z)(ga):Fn?Fl:ro},[ro,Fl,ga,Fn]);fe.useEffect(function(){Fn&&Ro(ls(Nr,Wr))},[Fn]);var el=function(Bi){Wo(Bi),Ro(Bi),Aa&&Aa(Bi)},ml=function(Bi){Bi.preventDefault()},Io=function(Bi,tl){var jo=tl.node;Na&&jl(jo)||(ea(jo.key,{selected:!Ga.includes(jo.key)}),hn||Lt(!1))};if(fe.useImperativeHandle(Ht,function(){var Ui;return{scrollTo:(Ui=No.current)===null||Ui===void 0?void 0:Ui.scrollTo,onKeyDown:function(tl){var jo,Bl=tl.which;switch(Bl){case ot.Z.UP:case ot.Z.DOWN:case ot.Z.LEFT:case ot.Z.RIGHT:(jo=No.current)===null||jo===void 0||jo.onKeyDown(tl);break;case ot.Z.ENTER:{if(Ki){var qi=(Ki==null?void 0:Ki.node)||{},Ja=qi.selectable,ki=qi.value;Ja!==!1&&Io(null,{node:{key:kl},selected:!Ga.includes(ki)})}break}case ot.Z.ESC:Lt(!1)}},onKeyUp:function(){}}}),vo.length===0)return fe.createElement("div",{role:"listbox",className:"".concat(Ut,"-empty"),onMouseDown:ml},ln);var Ho={fieldNames:Wr};return Oa&&(Ho.loadedKeys=Oa),Ji&&(Ho.expandedKeys=Ji),fe.createElement("div",{onMouseDown:ml},Ki&&Gt&&fe.createElement("span",{style:Al,"aria-live":"assertive"},Ki.node.value),fe.createElement(sl,(0,Me.Z)({ref:No,focusable:!1,prefixCls:"".concat(Ut,"-tree"),treeData:vo,height:gr,itemHeight:lr,virtual:er!==!1&&Kr!==!1,multiple:hn,icon:ca,showIcon:Xa,switcherIcon:ra,showLine:Ya,loadData:Fn?null:Ua,motion:ii,activeKey:kl,checkable:Na,checkStrictly:!0,checkedKeys:di,selectedKeys:Na?[]:Ga,defaultExpandAll:fa},Ho,{onActiveChange:Pl,onSelect:Io,onCheck:Io,onExpand:el,onLoad:yi,filterTreeNode:zo,expandAction:Ba})))},$l=fe.forwardRef(Tl);$l.displayName="OptionList";var Rl=$l,Il="SHOW_ALL",ss="SHOW_PARENT",us="SHOW_CHILD";function ms(_e,gt,Ht,Ue){var Ut=new Set(_e);return gt===us?_e.filter(function(hn){var Fn=Ht[hn];return!(Fn&&Fn.children&&Fn.children.some(function(Lt){var Gt=Lt.node;return Ut.has(Gt[Ue.value])})&&Fn.children.every(function(Lt){var Gt=Lt.node;return jl(Gt)||Ut.has(Gt[Ue.value])}))}):gt===ss?_e.filter(function(hn){var Fn=Ht[hn],Lt=Fn?Fn.parent:null;return!(Lt&&!jl(Lt.node)&&Ut.has(Lt.key))}):_e}function ts(_e){var gt=_e.searchPlaceholder,Ht=_e.treeCheckStrictly,Ue=_e.treeCheckable,Ut=_e.labelInValue,hn=_e.value,Fn=_e.multiple;warning(!gt,"`searchPlaceholder` has been removed."),Ht&&Ut===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ut||Ht)&&warning(toArray(hn).every(function(Lt){return Lt&&_typeof(Lt)==="object"&&"value"in Lt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Ht||Fn||Ue?warning(!hn||Array.isArray(hn),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(hn),"`value` should not be array when `TreeSelect` is single mode.")}var ns=null,Go=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function il(_e){return!_e||(0,Se.Z)(_e)!=="object"}var _l=fe.forwardRef(function(_e,gt){var Ht=_e.id,Ue=_e.prefixCls,Ut=Ue===void 0?"rc-tree-select":Ue,hn=_e.value,Fn=_e.defaultValue,Lt=_e.onChange,Gt=_e.onSelect,ln=_e.onDeselect,jn=_e.searchValue,er=_e.inputValue,gr=_e.onSearch,lr=_e.autoClearSearchValue,Nr=lr===void 0?!0:lr,Wr=_e.filterTreeNode,ea=_e.treeNodeFilterProp,Kr=ea===void 0?"value":ea,Ba=_e.showCheckedStrategy,ua=_e.treeNodeLabelProp,Na=_e.multiple,Ga=_e.treeCheckable,la=_e.treeCheckStrictly,ga=_e.labelInValue,fa=_e.fieldNames,La=_e.treeDataSimpleMode,Aa=_e.treeData,ca=_e.children,Xa=_e.loadData,ra=_e.treeLoadedKeys,Ya=_e.onTreeLoad,Za=_e.treeDefaultExpandAll,Ua=_e.treeExpandedKeys,Oa=_e.treeDefaultExpandedKeys,ii=_e.onTreeExpand,yi=_e.treeExpandAction,Ko=_e.virtual,No=_e.listHeight,vo=No===void 0?200:No,ol=_e.listItemHeight,Bo=ol===void 0?20:ol,kl=_e.onDropdownVisibleChange,Pl=_e.dropdownMatchSelectWidth,Ki=Pl===void 0?!0:Pl,di=_e.treeLine,go=_e.treeIcon,zo=_e.showTreeIcon,oo=_e.switcherIcon,bo=_e.treeMotion,ro=(0,ce.Z)(_e,Go),Wo=Ma(Ht),ul=Ga&&!la,Nl=Ga||la,Fl=la||ga,Ro=Nl||Na,Ji=(0,Pe.Z)(Fn,{value:hn}),el=(0,ke.Z)(Ji,2),ml=el[0],Io=el[1],Ho=fe.useMemo(function(){return Ga?Ba||us:Il},[Ba,Ga]),Ui=fe.useMemo(function(){return Lo(fa)},[JSON.stringify(fa)]),Bi=(0,Pe.Z)("",{value:jn!==void 0?jn:er,postState:function(hi){return hi||""}}),tl=(0,ke.Z)(Bi,2),jo=tl[0],Bl=tl[1],qi=function(hi){Bl(hi),gr==null||gr(hi)},Ja=Ke(Aa,ca,La),ki=Di(Ja,Ui),Oi=ki.keyEntities,ba=ki.valueEntities,Qa=fe.useCallback(function(vi){var hi=[],bi=[];return vi.forEach(function(_i){ba.has(_i)?bi.push(_i):hi.push(_i)}),{missingRawValues:hi,existRawValues:bi}},[ba]),Gi=pe(Ja,jo,{fieldNames:Ui,treeNodeFilterProp:Kr,filterTreeNode:Wr}),cl=fe.useCallback(function(vi){if(vi){if(ua)return vi[ua];for(var hi=Ui._title,bi=0;bi<hi.length;bi+=1){var _i=vi[hi[bi]];if(_i!==void 0)return _i}}},[Ui,ua]),Jl=fe.useCallback(function(vi){var hi=Dl(vi);return hi.map(function(bi){return il(bi)?{value:bi}:bi})},[]),ws=fe.useCallback(function(vi){var hi=Jl(vi);return hi.map(function(bi){var _i=bi.label,Fo=bi.value,Ii=bi.halfChecked,Wa,Ha=ba.get(Fo);if(Ha){var ei;_i=(ei=_i)!==null&&ei!==void 0?ei:cl(Ha.node),Wa=Ha.node.disabled}else if(_i===void 0){var Li=Jl(ml).find(function(ao){return ao.value===Fo});_i=Li.label}return{label:_i,value:Fo,halfChecked:Ii,disabled:Wa}})},[ba,cl,Jl,ml]),Te=fe.useMemo(function(){return Jl(ml)},[Jl,ml]),Ze=fe.useMemo(function(){var vi=[],hi=[];return Te.forEach(function(bi){bi.halfChecked?hi.push(bi):vi.push(bi)}),[vi,hi]},[Te]),Et=(0,ke.Z)(Ze,2),Ot=Et[0],Yt=Et[1],An=fe.useMemo(function(){return Ot.map(function(vi){return vi.value})},[Ot]),ar=Vi(Ot,Yt,ul,Oi),wr=(0,ke.Z)(ar,2),Un=wr[0],Gn=wr[1],Sr=fe.useMemo(function(){var vi=ms(Un,Ho,Oi,Ui),hi=vi.map(function(Ii){var Wa,Ha,ei;return(Wa=(Ha=Oi[Ii])===null||Ha===void 0||(ei=Ha.node)===null||ei===void 0?void 0:ei[Ui.value])!==null&&Wa!==void 0?Wa:Ii}),bi=hi.map(function(Ii){var Wa=Ot.find(function(Ha){return Ha.value===Ii});return{value:Ii,label:Wa==null?void 0:Wa.label}}),_i=ws(bi),Fo=_i[0];return!Ro&&Fo&&Ql(Fo.value)&&Ql(Fo.label)?[]:_i.map(function(Ii){var Wa;return(0,we.Z)((0,we.Z)({},Ii),{},{label:(Wa=Ii.label)!==null&&Wa!==void 0?Wa:Ii.value})})},[Ui,Ro,Un,Ot,ws,Ho,Oi]),Nn=Ai(Sr),Ur=(0,ke.Z)(Nn,1),xa=Ur[0],wa=Oe(function(vi,hi,bi){var _i=ws(vi);if(Io(_i),Nr&&Bl(""),Lt){var Fo=vi;if(ul){var Ii=ms(vi,Ho,Oi,Ui);Fo=Ii.map(function(vl){var Kl=ba.get(vl);return Kl?Kl.node[Ui.value]:vl})}var Wa=hi||{triggerValue:void 0,selected:void 0},Ha=Wa.triggerValue,ei=Wa.selected,Li=Fo;if(la){var ao=Yt.filter(function(vl){return!Fo.includes(vl.value)});Li=[].concat((0,et.Z)(Li),(0,et.Z)(ao))}var nl=ws(Li),Po={preValue:Ot,triggerValue:Ha},Oo=!0;(la||bi==="selection"&&!ei)&&(Oo=!1),It(Po,Ha,vi,Ja,Oo,Ui),Nl?Po.checked=ei:Po.selected=ei;var Ml=Fl?nl:nl.map(function(vl){return vl.value});Lt(Ro?Ml:Ml[0],Fl?null:nl.map(function(vl){return vl.label}),Po)}}),Ka=fe.useCallback(function(vi,hi){var bi,_i=hi.selected,Fo=hi.source,Ii=Oi[vi],Wa=Ii==null?void 0:Ii.node,Ha=(bi=Wa==null?void 0:Wa[Ui.value])!==null&&bi!==void 0?bi:vi;if(!Ro)wa([Ha],{selected:!0,triggerValue:Ha},"option");else{var ei=_i?[].concat((0,et.Z)(An),[Ha]):Un.filter(function(Kl){return Kl!==Ha});if(ul){var Li=Qa(ei),ao=Li.missingRawValues,nl=Li.existRawValues,Po=nl.map(function(Kl){return ba.get(Kl).key}),Oo;if(_i){var Ml=(0,pi.S)(Po,!0,Oi);Oo=Ml.checkedKeys}else{var vl=(0,pi.S)(Po,{checked:!1,halfCheckedKeys:Gn},Oi);Oo=vl.checkedKeys}ei=[].concat((0,et.Z)(ao),(0,et.Z)(Oo.map(function(Kl){return Oi[Kl].node[Ui.value]})))}wa(ei,{selected:_i,triggerValue:Ha},Fo||"option")}_i||!Ro?Gt==null||Gt(Ha,nt(Wa)):ln==null||ln(Ha,nt(Wa))},[Qa,ba,Oi,Ui,Ro,An,wa,ul,Gt,ln,Un,Gn]),Yr=fe.useCallback(function(vi){if(kl){var hi={};Object.defineProperty(hi,"documentClickClose",{get:function(){return(0,Xe.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),kl(vi,hi)}},[kl]),ri=Oe(function(vi,hi){var bi=vi.map(function(_i){return _i.value});if(hi.type==="clear"){wa(bi,{},"selection");return}hi.values.length&&Ka(hi.values[0].value,{selected:!1,source:"selection"})}),qa=fe.useMemo(function(){return{virtual:Ko,dropdownMatchSelectWidth:Ki,listHeight:vo,listItemHeight:Bo,treeData:Gi,fieldNames:Ui,onSelect:Ka,treeExpandAction:yi}},[Ko,Ki,vo,Bo,Gi,Ui,Ka,yi]),Ti=fe.useMemo(function(){return{checkable:Nl,loadData:Xa,treeLoadedKeys:ra,onTreeLoad:Ya,checkedKeys:Un,halfCheckedKeys:Gn,treeDefaultExpandAll:Za,treeExpandedKeys:Ua,treeDefaultExpandedKeys:Oa,onTreeExpand:ii,treeIcon:go,treeMotion:bo,showTreeIcon:zo,switcherIcon:oo,treeLine:di,treeNodeFilterProp:Kr,keyEntities:Oi}},[Nl,Xa,ra,Ya,Un,Gn,Za,Ua,Oa,ii,go,bo,zo,oo,di,Kr,Oi]);return fe.createElement(pl.Provider,{value:qa},fe.createElement(at.Provider,{value:Ti},fe.createElement(kn,(0,Me.Z)({ref:gt},ro,{id:Wo,prefixCls:Ut,mode:Ro?"multiple":void 0,displayValues:xa,onDisplayValuesChange:ri,searchValue:jo,onSearch:qi,OptionList:Rl,emptyOptions:!Ja.length,onDropdownVisibleChange:Yr,dropdownMatchSelectWidth:Ki}))))}),Xl=_l;Xl.TreeNode=Zo,Xl.SHOW_ALL=Il,Xl.SHOW_PARENT=ss,Xl.SHOW_CHILD=us;var hs=Xl,xs=hs,Ms=ee(10366),zs=ee(8745),Ws=ee(33603),Bs=ee(9708),Xs=ee(53124),Ul=ee(98866),Le=ee(88258),qe=ee(98675),it=ee(65223),Ce=ee(87244),Ne=ee(13458),St=ee(78642),bt=ee(46163),Jt=ee(4173),_t=ee(99184),Wt=ee(63185),Wn=ee(45503),xn=ee(67968),Ln=ee(32157);const Mr=_e=>{const{componentCls:gt,treePrefixCls:Ht,colorBgElevated:Ue}=_e,Ut=`.${Ht}`;return[{[`${gt}-dropdown`]:[{padding:`${_e.paddingXS}px ${_e.paddingXS/2}px`},(0,Ln.Yk)(Ht,(0,Wn.TS)(_e,{colorBgContainer:Ue})),{[Ut]:{borderRadius:0,[`${Ut}-list-holder-inner`]:{alignItems:"stretch",[`${Ut}-treenode`]:{[`${Ut}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Wt.C2)(`${Ht}-checkbox`,_e),{"&-rtl":{direction:"rtl",[`${Ut}-switcher${Ut}-switcher_close`]:{[`${Ut}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function pr(_e,gt){return(0,xn.Z)("TreeSelect",Ht=>{const Ue=(0,Wn.TS)(Ht,{treePrefixCls:gt});return[Mr(Ue)]},Ln.TM)(_e)}var or=function(_e,gt){var Ht={};for(var Ue in _e)Object.prototype.hasOwnProperty.call(_e,Ue)&&gt.indexOf(Ue)<0&&(Ht[Ue]=_e[Ue]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Ue=Object.getOwnPropertySymbols(_e);Ut<Ue.length;Ut++)gt.indexOf(Ue[Ut])<0&&Object.prototype.propertyIsEnumerable.call(_e,Ue[Ut])&&(Ht[Ue[Ut]]=_e[Ue[Ut]]);return Ht};const sr=(_e,gt)=>{var Ht,{prefixCls:Ue,size:Ut,disabled:hn,bordered:Fn=!0,className:Lt,rootClassName:Gt,treeCheckable:ln,multiple:jn,listHeight:er=256,listItemHeight:gr=26,placement:lr,notFoundContent:Nr,switcherIcon:Wr,treeLine:ea,getPopupContainer:Kr,popupClassName:Ba,dropdownClassName:ua,treeIcon:Na=!1,transitionName:Ga,choiceTransitionName:la="",status:ga,treeExpandAction:fa,builtinPlacements:La,dropdownMatchSelectWidth:Aa,popupMatchSelectWidth:ca,allowClear:Xa}=_e,ra=or(_e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:Ya,getPrefixCls:Za,renderEmpty:Ua,direction:Oa,virtual:ii,popupMatchSelectWidth:yi,popupOverflow:Ko}=fe.useContext(Xs.E_),No=Za(),vo=Za("select",Ue),ol=Za("select-tree",Ue),Bo=Za("tree-select",Ue),{compactSize:kl,compactItemClassnames:Pl}=(0,Jt.ri)(vo,Oa),[Ki,di]=(0,Ce.Z)(vo),[go]=pr(Bo,ol),zo=de()(Ba||ua,`${Bo}-dropdown`,{[`${Bo}-dropdown-rtl`]:Oa==="rtl"},Gt,di),oo=!!(ln||jn),bo=(0,St.Z)(ra.suffixIcon,ra.showArrow),ro=(Ht=ca!=null?ca:Aa)!==null&&Ht!==void 0?Ht:yi,{status:Wo,hasFeedback:ul,isFormItemInput:Nl,feedbackIcon:Fl}=fe.useContext(it.aM),Ro=(0,Bs.F)(Wo,ga),{suffixIcon:Ji,removeIcon:el,clearIcon:ml}=(0,bt.Z)(Object.assign(Object.assign({},ra),{multiple:oo,showSuffixIcon:bo,hasFeedback:ul,feedbackIcon:Fl,prefixCls:vo,componentName:"TreeSelect"})),Io=Xa===!0?{clearIcon:ml}:Xa;let Ho;Nr!==void 0?Ho=Nr:Ho=(Ua==null?void 0:Ua("Select"))||fe.createElement(Le.Z,{componentName:"Select"});const Ui=(0,Ms.Z)(ra,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Bi=fe.useMemo(()=>lr!==void 0?lr:Oa==="rtl"?"bottomRight":"bottomLeft",[lr,Oa]),tl=(0,Ne.Z)(La,Ko),jo=(0,qe.Z)(ba=>{var Qa;return(Qa=Ut!=null?Ut:kl)!==null&&Qa!==void 0?Qa:ba}),Bl=fe.useContext(Ul.Z),qi=hn!=null?hn:Bl,Ja=de()(!Ue&&Bo,{[`${vo}-lg`]:jo==="large",[`${vo}-sm`]:jo==="small",[`${vo}-rtl`]:Oa==="rtl",[`${vo}-borderless`]:!Fn,[`${vo}-in-form-item`]:Nl},(0,Bs.Z)(vo,Ro,ul),Pl,Lt,Gt,di),ki=ba=>fe.createElement(_t.Z,{prefixCls:ol,switcherIcon:Wr,treeNodeProps:ba,showLine:ea}),Oi=fe.createElement(xs,Object.assign({virtual:ii,disabled:qi},Ui,{dropdownMatchSelectWidth:ro,builtinPlacements:tl,ref:gt,prefixCls:vo,className:Ja,listHeight:er,listItemHeight:gr,treeCheckable:ln&&fe.createElement("span",{className:`${vo}-tree-checkbox-inner`}),treeLine:!!ea,suffixIcon:Ji,multiple:oo,placement:Bi,removeIcon:el,allowClear:Io,switcherIcon:ki,showTreeIcon:Na,notFoundContent:Ho,getPopupContainer:Kr||Ya,treeMotion:null,dropdownClassName:zo,choiceTransitionName:(0,Ws.m)(No,"",la),transitionName:(0,Ws.m)(No,"slide-up",Ga),treeExpandAction:fa}));return Ki(go(Oi))},Vr=fe.forwardRef(sr),na=(0,zs.Z)(Vr);Vr.TreeNode=Zo,Vr.SHOW_ALL=Il,Vr.SHOW_PARENT=ss,Vr.SHOW_CHILD=us,Vr._InternalPanelDoNotUseOrYouWillBeFired=na;var ka=Vr},79870:function(Hn,sn,ee){"use strict";ee.d(sn,{default:function(){return Qo}});var ne=ee(87462),de=ee(4942),Me=ee(71002),et=ee(1413),we=ee(74902),ke=ee(15671),ce=ee(43144),Se=ee(97326),me=ee(60136),Pe=ee(51630),Xe=ee(94184),fe=ee.n(Xe),Ge={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(nt){var It=nt.keyCode;if(nt.altKey&&!nt.ctrlKey||nt.metaKey||It>=Ge.F1&&It<=Ge.F12)return!1;switch(It){case Ge.ALT:case Ge.CAPS_LOCK:case Ge.CONTEXT_MENU:case Ge.CTRL:case Ge.DOWN:case Ge.END:case Ge.ESC:case Ge.HOME:case Ge.INSERT:case Ge.LEFT:case Ge.MAC_FF_META:case Ge.META:case Ge.NUMLOCK:case Ge.NUM_CENTER:case Ge.PAGE_DOWN:case Ge.PAGE_UP:case Ge.PAUSE:case Ge.PRINT_SCREEN:case Ge.RIGHT:case Ge.SHIFT:case Ge.UP:case Ge.WIN_KEY:case Ge.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(nt){if(nt>=Ge.ZERO&&nt<=Ge.NINE||nt>=Ge.NUM_ZERO&&nt<=Ge.NUM_MULTIPLY||nt>=Ge.A&&nt<=Ge.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&nt===0)return!0;switch(nt){case Ge.SPACE:case Ge.QUESTION_MARK:case Ge.NUM_PLUS:case Ge.NUM_MINUS:case Ge.NUM_PERIOD:case Ge.NUM_DIVISION:case Ge.SEMICOLON:case Ge.DASH:case Ge.EQUALS:case Ge.COMMA:case Ge.PERIOD:case Ge.SLASH:case Ge.APOSTROPHE:case Ge.SINGLE_QUOTE:case Ge.OPEN_SQUARE_BRACKET:case Ge.BACKSLASH:case Ge.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},pt=Ge,ot=ee(34952),vt=ee(72978),Ee=ee(67294),wt=ee(69610);function Rt(He){var nt=He.dropPosition,It=He.dropLevelOffset,pe=He.indent,Oe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(nt){case-1:Oe.top=0,Oe.left=-It*pe;break;case 1:Oe.bottom=0,Oe.left=-It*pe;break;case 0:Oe.bottom=0,Oe.left=pe;break}return Ee.createElement("div",{style:Oe})}var tt=ee(36459),st=ee(97685),ye=ee(45987);function ue(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var $e=ue()?Ee.useLayoutEffect:Ee.useEffect,Je=$e,ht=function(nt,It){var pe=React.useRef(!0);$e(function(){if(!pe.current)return nt()},It),$e(function(){return pe.current=!1,function(){pe.current=!0}},[])},yt=ee(73299),Fe=ee(73935);function Be(He){return He instanceof HTMLElement||He instanceof SVGElement}function mt(He){return Be(He)?He:He instanceof Ee.Component?Fe.findDOMNode(He):null}var ze=ee(28580);function ut(He,nt,It){var pe=React.useRef({});return(!("value"in pe.current)||It(pe.current.condition,nt))&&(pe.current.value=He(),pe.current.condition=nt),pe.current.value}function rt(He,nt){typeof He=="function"?He(nt):(0,Me.Z)(He)==="object"&&He&&"current"in He&&(He.current=nt)}function Tt(){for(var He=arguments.length,nt=new Array(He),It=0;It<He;It++)nt[It]=arguments[It];var pe=nt.filter(function(Oe){return Oe});return pe.length<=1?pe[0]:function(Oe){nt.forEach(function(Ae){rt(Ae,Oe)})}}function Bt(){for(var He=arguments.length,nt=new Array(He),It=0;It<He;It++)nt[It]=arguments[It];return useMemo(function(){return Tt.apply(void 0,nt)},nt,function(pe,Oe){return pe.length===Oe.length&&pe.every(function(Ae,Ke){return Ae===Oe[Ke]})})}function en(He){var nt,It,pe=(0,ze.isMemo)(He)?He.type.type:He.type;return!(typeof pe=="function"&&!((nt=pe.prototype)!==null&&nt!==void 0&&nt.render)||typeof He=="function"&&!((It=He.prototype)!==null&&It!==void 0&&It.render))}function ct(He,nt){var It={};return It[He.toLowerCase()]=nt.toLowerCase(),It["Webkit".concat(He)]="webkit".concat(nt),It["Moz".concat(He)]="moz".concat(nt),It["ms".concat(He)]="MS".concat(nt),It["O".concat(He)]="o".concat(nt.toLowerCase()),It}function Ie(He,nt){var It={animationend:ct("Animation","AnimationEnd"),transitionend:ct("Transition","TransitionEnd")};return He&&("AnimationEvent"in nt||delete It.animationend.animation,"TransitionEvent"in nt||delete It.transitionend.transition),It}var Mt=Ie(ue(),typeof window!="undefined"?window:{}),vn={};if(ue()){var qt=document.createElement("div");vn=qt.style}var Nt={};function Kt(He){if(Nt[He])return Nt[He];var nt=Mt[He];if(nt)for(var It=Object.keys(nt),pe=It.length,Oe=0;Oe<pe;Oe+=1){var Ae=It[Oe];if(Object.prototype.hasOwnProperty.call(nt,Ae)&&Ae in vn)return Nt[He]=nt[Ae],Nt[He]}return""}var nn=Kt("animationend"),Cn=Kt("transitionend"),Sn=!!(nn&&Cn),tn=nn||"animationend",In=Cn||"transitionend";function br(He,nt){if(!He)return null;if((0,Me.Z)(He)==="object"){var It=nt.replace(/-\w/g,function(pe){return pe[1].toUpperCase()});return He[It]}return"".concat(He,"-").concat(nt)}var gn="none",Ye="appear",ve="enter",he="leave",be="none",ge="prepare",se="start",je="active",xt="end";function En(He){var nt=Ee.useRef(!1),It=Ee.useState(He),pe=(0,st.Z)(It,2),Oe=pe[0],Ae=pe[1];Ee.useEffect(function(){return nt.current=!1,function(){nt.current=!0}},[]);function Ke(Qe,at){at&&nt.current||Ae(Qe)}return[Oe,Ke]}var un=function(nt){return+setTimeout(nt,16)},Pn=function(nt){return clearTimeout(nt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(un=function(nt){return window.requestAnimationFrame(nt)},Pn=function(nt){return window.cancelAnimationFrame(nt)});var Xn=0,_n=new Map;function Vt(He){_n.delete(He)}var yn=function(nt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Xn+=1;var pe=Xn;function Oe(Ae){if(Ae===0)Vt(pe),nt();else{var Ke=un(function(){Oe(Ae-1)});_n.set(pe,Ke)}}return Oe(It),pe};yn.cancel=function(He){var nt=_n.get(He);return Vt(nt),Pn(nt)};var Kn=yn,On=function(){var He=Ee.useRef(null);function nt(){Kn.cancel(He.current)}function It(pe){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;nt();var Ae=Kn(function(){Oe<=1?pe({isCanceled:function(){return Ae!==He.current}}):It(pe,Oe-1)});He.current=Ae}return Ee.useEffect(function(){return function(){nt()}},[]),[It,nt]},Qt=ue()?Ee.useLayoutEffect:Ee.useEffect,Dr=Qt,jt=[ge,se,je,xt],rn=!1,Ir=!0;function ur(He){return He===je||He===xt}var Rr=function(He,nt){var It=En(be),pe=(0,st.Z)(It,2),Oe=pe[0],Ae=pe[1],Ke=On(),Qe=(0,st.Z)(Ke,2),at=Qe[0],ft=Qe[1];function Xt(){Ae(ge,!0)}return Dr(function(){if(Oe!==be&&Oe!==xt){var an=jt.indexOf(Oe),Qn=jt[an+1],cr=nt(Oe);cr===rn?Ae(Qn,!0):at(function(Ar){function Dn(){Ar.isCanceled()||Ae(Qn,!0)}cr===!0?Dn():Promise.resolve(cr).then(Dn)})}},[He,Oe]),Ee.useEffect(function(){return function(){ft()}},[]),[Xt,Oe]},aa=function(He){var nt=(0,Ee.useRef)(),It=(0,Ee.useRef)(He);It.current=He;var pe=Ee.useCallback(function(Ke){It.current(Ke)},[]);function Oe(Ke){Ke&&(Ke.removeEventListener(In,pe),Ke.removeEventListener(tn,pe))}function Ae(Ke){nt.current&&nt.current!==Ke&&Oe(nt.current),Ke&&Ke!==nt.current&&(Ke.addEventListener(In,pe),Ke.addEventListener(tn,pe),nt.current=Ke)}return Ee.useEffect(function(){return function(){Oe(nt.current)}},[]),[Ae,Oe]};function qn(He,nt,It,pe){var Oe=pe.motionEnter,Ae=Oe===void 0?!0:Oe,Ke=pe.motionAppear,Qe=Ke===void 0?!0:Ke,at=pe.motionLeave,ft=at===void 0?!0:at,Xt=pe.motionDeadline,an=pe.motionLeaveImmediately,Qn=pe.onAppearPrepare,cr=pe.onEnterPrepare,Ar=pe.onLeavePrepare,Dn=pe.onAppearStart,$n=pe.onEnterStart,Jn=pe.onLeaveStart,kr=pe.onAppearActive,Hr=pe.onEnterActive,zr=pe.onLeaveActive,Fr=pe.onAppearEnd,jr=pe.onEnterEnd,_r=pe.onLeaveEnd,Jr=pe.onVisibleChanged,kt=En(),Pt=(0,st.Z)(kt,2),zn=Pt[0],Bn=Pt[1],xr=En(gn),Zr=(0,st.Z)(xr,2),$t=Zr[0],cn=Zr[1],dn=En(null),Rn=(0,st.Z)(dn,2),yr=Rn[0],Tr=Rn[1],vr=(0,Ee.useRef)(!1),Pr=(0,Ee.useRef)(null);function ia(){return It()}var Va=(0,Ee.useRef)(!1);function ma(uo){var ho=ia();if(!(uo&&!uo.deadline&&uo.target!==ho)){var ji=Va.current,wo;$t===Ye&&ji?wo=Fr==null?void 0:Fr(ho,uo):$t===ve&&ji?wo=jr==null?void 0:jr(ho,uo):$t===he&&ji&&(wo=_r==null?void 0:_r(ho,uo)),$t!==gn&&ji&&wo!==!1&&(cn(gn,!0),Tr(null,!0))}}var Gr=aa(ma),Ea=(0,st.Z)(Gr,1),ja=Ea[0],ai=Ee.useMemo(function(){var uo,ho,ji;switch($t){case Ye:return uo={},(0,de.Z)(uo,ge,Qn),(0,de.Z)(uo,se,Dn),(0,de.Z)(uo,je,kr),uo;case ve:return ho={},(0,de.Z)(ho,ge,cr),(0,de.Z)(ho,se,$n),(0,de.Z)(ho,je,Hr),ho;case he:return ji={},(0,de.Z)(ji,ge,Ar),(0,de.Z)(ji,se,Jn),(0,de.Z)(ji,je,zr),ji;default:return{}}},[$t]),Ra=Rr($t,function(uo){if(uo===ge){var ho=ai[ge];return ho?ho(ia()):rn}if(mi in ai){var ji;Tr(((ji=ai[mi])===null||ji===void 0?void 0:ji.call(ai,ia(),null))||null)}return mi===je&&(ja(ia()),Xt>0&&(clearTimeout(Pr.current),Pr.current=setTimeout(function(){ma({deadline:!0})},Xt))),Ir}),da=(0,st.Z)(Ra,2),ci=da[0],mi=da[1],io=ur(mi);Va.current=io,Dr(function(){Bn(nt);var uo=vr.current;if(vr.current=!0,!!He){var ho;!uo&&nt&&Qe&&(ho=Ye),uo&&nt&&Ae&&(ho=ve),(uo&&!nt&&ft||!uo&&an&&!nt&&ft)&&(ho=he),ho&&(cn(ho),ci())}},[nt]),(0,Ee.useEffect)(function(){($t===Ye&&!Qe||$t===ve&&!Ae||$t===he&&!ft)&&cn(gn)},[Qe,Ae,ft]),(0,Ee.useEffect)(function(){return function(){vr.current=!1,clearTimeout(Pr.current)}},[]);var po=Ee.useRef(!1);(0,Ee.useEffect)(function(){zn&&(po.current=!0),zn!==void 0&&$t===gn&&((po.current||zn)&&(Jr==null||Jr(zn)),po.current=!0)},[zn,$t]);var Ao=yr;return ai[ge]&&mi===se&&(Ao=(0,et.Z)({transition:"none"},Ao)),[$t,mi,Ao,zn!=null?zn:nt]}var Pa=function(He){(0,me.Z)(It,He);var nt=(0,Pe.Z)(It);function It(){return(0,ke.Z)(this,It),nt.apply(this,arguments)}return(0,ce.Z)(It,[{key:"render",value:function(){return this.props.children}}]),It}(Ee.Component),Fa=Pa;function _a(He){var nt=He;(0,Me.Z)(He)==="object"&&(nt=He.transitionSupport);function It(Oe){return!!(Oe.motionName&&nt)}var pe=Ee.forwardRef(function(Oe,Ae){var Ke=Oe.visible,Qe=Ke===void 0?!0:Ke,at=Oe.removeOnLeave,ft=at===void 0?!0:at,Xt=Oe.forceRender,an=Oe.children,Qn=Oe.motionName,cr=Oe.leavedClassName,Ar=Oe.eventProps,Dn=It(Oe),$n=(0,Ee.useRef)(),Jn=(0,Ee.useRef)();function kr(){try{return $n.current instanceof HTMLElement?$n.current:mt(Jn.current)}catch(dn){return null}}var Hr=qn(Dn,Qe,kr,Oe),zr=(0,st.Z)(Hr,4),Fr=zr[0],jr=zr[1],_r=zr[2],Jr=zr[3],kt=Ee.useRef(Jr);Jr&&(kt.current=!0);var Pt=Ee.useCallback(function(dn){$n.current=dn,rt(Ae,dn)},[Ae]),zn,Bn=(0,et.Z)((0,et.Z)({},Ar),{},{visible:Qe});if(!an)zn=null;else if(Fr===gn||!It(Oe))Jr?zn=an((0,et.Z)({},Bn),Pt):!ft&&kt.current&&cr?zn=an((0,et.Z)((0,et.Z)({},Bn),{},{className:cr}),Pt):Xt||!ft&&!cr?zn=an((0,et.Z)((0,et.Z)({},Bn),{},{style:{display:"none"}}),Pt):zn=null;else{var xr,Zr;jr===ge?Zr="prepare":ur(jr)?Zr="active":jr===se&&(Zr="start"),zn=an((0,et.Z)((0,et.Z)({},Bn),{},{className:fe()(br(Qn,Fr),(xr={},(0,de.Z)(xr,br(Qn,"".concat(Fr,"-").concat(Zr)),Zr),(0,de.Z)(xr,Qn,typeof Qn=="string"),xr)),style:_r}),Pt)}if(Ee.isValidElement(zn)&&en(zn)){var $t=zn,cn=$t.ref;cn||(zn=Ee.cloneElement(zn,{ref:Pt}))}return Ee.createElement(Fa,{ref:Jn},zn)});return pe.displayName="CSSMotion",pe}var Xr=_a(Sn),Da="add",Mi="keep",Si="remove",zi="removed";function fi(He){var nt;return He&&(0,Me.Z)(He)==="object"&&"key"in He?nt=He:nt={key:He},(0,et.Z)((0,et.Z)({},nt),{},{key:String(nt.key)})}function Tn(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return He.map(fi)}function bn(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],It=[],pe=0,Oe=nt.length,Ae=Tn(He),Ke=Tn(nt);Ae.forEach(function(ft){for(var Xt=!1,an=pe;an<Oe;an+=1){var Qn=Ke[an];if(Qn.key===ft.key){pe<an&&(It=It.concat(Ke.slice(pe,an).map(function(cr){return(0,et.Z)((0,et.Z)({},cr),{},{status:Da})})),pe=an),It.push((0,et.Z)((0,et.Z)({},Qn),{},{status:Mi})),pe+=1,Xt=!0;break}}Xt||It.push((0,et.Z)((0,et.Z)({},ft),{},{status:Si}))}),pe<Oe&&(It=It.concat(Ke.slice(pe).map(function(ft){return(0,et.Z)((0,et.Z)({},ft),{},{status:Da})})));var Qe={};It.forEach(function(ft){var Xt=ft.key;Qe[Xt]=(Qe[Xt]||0)+1});var at=Object.keys(Qe).filter(function(ft){return Qe[ft]>1});return at.forEach(function(ft){It=It.filter(function(Xt){var an=Xt.key,Qn=Xt.status;return an!==ft||Qn!==Si}),It.forEach(function(Xt){Xt.key===ft&&(Xt.status=Mi)})}),It}var ir=["component","children","onVisibleChanged","onAllRemoved"],Cr=["status"],Or=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Lr(He){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xr,It=function(pe){(0,me.Z)(Ae,pe);var Oe=(0,Pe.Z)(Ae);function Ae(){var Ke;(0,ke.Z)(this,Ae);for(var Qe=arguments.length,at=new Array(Qe),ft=0;ft<Qe;ft++)at[ft]=arguments[ft];return Ke=Oe.call.apply(Oe,[this].concat(at)),(0,de.Z)((0,Se.Z)(Ke),"state",{keyEntities:[]}),(0,de.Z)((0,Se.Z)(Ke),"removeKey",function(Xt){var an=Ke.state.keyEntities,Qn=an.map(function(cr){return cr.key!==Xt?cr:(0,et.Z)((0,et.Z)({},cr),{},{status:zi})});return Ke.setState({keyEntities:Qn}),Qn.filter(function(cr){var Ar=cr.status;return Ar!==zi}).length}),Ke}return(0,ce.Z)(Ae,[{key:"render",value:function(){var Qe=this,at=this.state.keyEntities,ft=this.props,Xt=ft.component,an=ft.children,Qn=ft.onVisibleChanged,cr=ft.onAllRemoved,Ar=(0,ye.Z)(ft,ir),Dn=Xt||Ee.Fragment,$n={};return Or.forEach(function(Jn){$n[Jn]=Ar[Jn],delete Ar[Jn]}),delete Ar.keys,Ee.createElement(Dn,Ar,at.map(function(Jn){var kr=Jn.status,Hr=(0,ye.Z)(Jn,Cr),zr=kr===Da||kr===Mi;return Ee.createElement(nt,(0,ne.Z)({},$n,{key:Hr.key,visible:zr,eventProps:Hr,onVisibleChanged:function(jr){if(Qn==null||Qn(jr,{key:Hr.key}),!jr){var _r=Qe.removeKey(Hr.key);_r===0&&cr&&cr()}}}),an)}))}}],[{key:"getDerivedStateFromProps",value:function(Qe,at){var ft=Qe.keys,Xt=at.keyEntities,an=Tn(ft),Qn=bn(Xt,an);return{keyEntities:Qn.filter(function(cr){var Ar=Xt.find(function(Dn){var $n=Dn.key;return cr.key===$n});return!(Ar&&Ar.status===zi&&cr.status===Si)})}}}]),Ae}(Ee.Component);return(0,de.Z)(It,"defaultProps",{component:"div"}),It}var sa=Lr(Sn),pn=Xr,At=ee(56261);function Zt(He,nt){var It=Ee.useState(!1),pe=(0,st.Z)(It,2),Oe=pe[0],Ae=pe[1];Ee.useLayoutEffect(function(){if(Oe)return He(),function(){nt()}},[Oe]),Ee.useLayoutEffect(function(){return Ae(!0),function(){Ae(!1)}},[])}var on=ee(83898),Yn=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Dt=function(nt,It){var pe=nt.className,Oe=nt.style,Ae=nt.motion,Ke=nt.motionNodes,Qe=nt.motionType,at=nt.onMotionStart,ft=nt.onMotionEnd,Xt=nt.active,an=nt.treeNodeRequiredProps,Qn=(0,ye.Z)(nt,Yn),cr=Ee.useState(!0),Ar=(0,st.Z)(cr,2),Dn=Ar[0],$n=Ar[1],Jn=Ee.useContext(wt.k),kr=Jn.prefixCls,Hr=Ke&&Qe!=="hide";Je(function(){Ke&&Hr!==Dn&&$n(Hr)},[Ke]);var zr=function(){Ke&&at()},Fr=Ee.useRef(!1),jr=function(){Ke&&!Fr.current&&(Fr.current=!0,ft())};Zt(zr,jr);var _r=function(kt){Hr===kt&&jr()};return Ke?Ee.createElement(pn,(0,ne.Z)({ref:It,visible:Dn},Ae,{motionAppear:Qe==="show",onVisibleChanged:_r}),function(Jr,kt){var Pt=Jr.className,zn=Jr.style;return Ee.createElement("div",{ref:kt,className:fe()("".concat(kr,"-treenode-motion"),Pt),style:zn},Ke.map(function(Bn){var xr=(0,ne.Z)({},((0,tt.Z)(Bn.data),Bn.data)),Zr=Bn.title,$t=Bn.key,cn=Bn.isStart,dn=Bn.isEnd;delete xr.children;var Rn=(0,on.H8)($t,an);return Ee.createElement(At.Z,(0,ne.Z)({},xr,Rn,{title:Zr,active:Xt,data:Bn.data,key:$t,isStart:cn,isEnd:dn}))}))}):Ee.createElement(At.Z,(0,ne.Z)({domRef:It,className:pe,style:Oe},Qn,{active:Xt}))};Dt.displayName="MotionTreeNode";var fn=Ee.forwardRef(Dt),Vn=fn;function kn(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],It=He.length,pe=nt.length;if(Math.abs(It-pe)!==1)return{add:!1,key:null};function Oe(Ae,Ke){var Qe=new Map;Ae.forEach(function(ft){Qe.set(ft,!0)});var at=Ke.filter(function(ft){return!Qe.has(ft)});return at.length===1?at[0]:null}return It<pe?{add:!0,key:Oe(He,nt)}:{add:!1,key:Oe(nt,He)}}function rr(He,nt,It){var pe=He.findIndex(function(Qe){return Qe.key===It}),Oe=He[pe+1],Ae=nt.findIndex(function(Qe){return Qe.key===It});if(Oe){var Ke=nt.findIndex(function(Qe){return Qe.key===Oe.key});return nt.slice(Ae+1,Ke)}return nt.slice(Ae+1)}var fr=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],mn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ta=function(){},ha="RC_TREE_MOTION_".concat(Math.random()),ya={key:ha},Sa={key:ha,level:0,index:0,pos:"0",node:ya,nodes:[ya]},Ma={parent:null,children:[],pos:Sa.pos,data:ya,title:null,key:ha,isStart:[],isEnd:[]};function pa(He,nt,It,pe){return nt===!1||!It?He:He.slice(0,Math.ceil(It/pe)+1)}function Er(He){var nt=He.key,It=He.pos;return(0,on.km)(nt,It)}function qr(He){for(var nt=String(He.data.key),It=He;It.parent;)It=It.parent,nt="".concat(It.data.key," > ").concat(nt);return nt}var Hi=Ee.forwardRef(function(He,nt){var It=He.prefixCls,pe=He.data,Oe=He.selectable,Ae=He.checkable,Ke=He.expandedKeys,Qe=He.selectedKeys,at=He.checkedKeys,ft=He.loadedKeys,Xt=He.loadingKeys,an=He.halfCheckedKeys,Qn=He.keyEntities,cr=He.disabled,Ar=He.dragging,Dn=He.dragOverNodeKey,$n=He.dropPosition,Jn=He.motion,kr=He.height,Hr=He.itemHeight,zr=He.virtual,Fr=He.focusable,jr=He.activeItem,_r=He.focused,Jr=He.tabIndex,kt=He.onKeyDown,Pt=He.onFocus,zn=He.onBlur,Bn=He.onActiveChange,xr=He.onListChangeStart,Zr=He.onListChangeEnd,$t=(0,ye.Z)(He,fr),cn=Ee.useRef(null),dn=Ee.useRef(null);Ee.useImperativeHandle(nt,function(){return{scrollTo:function(mo){cn.current.scrollTo(mo)},getIndentWidth:function(){return dn.current.offsetWidth}}});var Rn=Ee.useState(Ke),yr=(0,st.Z)(Rn,2),Tr=yr[0],vr=yr[1],Pr=Ee.useState(pe),ia=(0,st.Z)(Pr,2),Va=ia[0],ma=ia[1],Gr=Ee.useState(pe),Ea=(0,st.Z)(Gr,2),ja=Ea[0],ai=Ea[1],Ra=Ee.useState([]),da=(0,st.Z)(Ra,2),ci=da[0],mi=da[1],io=Ee.useState(null),po=(0,st.Z)(io,2),Ao=po[0],uo=po[1],ho=Ee.useRef(pe);ho.current=pe;function ji(){var gi=ho.current;ma(gi),ai(gi),mi([]),uo(null),Zr()}Je(function(){vr(Ke);var gi=kn(Tr,Ke);if(gi.key!==null)if(gi.add){var mo=Va.findIndex(function(qo){var Mo=qo.key;return Mo===gi.key}),_o=pa(rr(Va,pe,gi.key),zr,kr,Hr),Wi=Va.slice();Wi.splice(mo+1,0,Ma),ai(Wi),mi(_o),uo("show")}else{var al=pe.findIndex(function(qo){var Mo=qo.key;return Mo===gi.key}),fl=pa(rr(pe,Va,gi.key),zr,kr,Hr),hl=pe.slice();hl.splice(al+1,0,Ma),ai(hl),mi(fl),uo("hide")}else Va!==pe&&(ma(pe),ai(pe))},[Ke,pe]),Ee.useEffect(function(){Ar||ji()},[Ar]);var wo=Jn?ja:pe,Zi={expandedKeys:Ke,selectedKeys:Qe,loadedKeys:ft,loadingKeys:Xt,checkedKeys:at,halfCheckedKeys:an,dragOverNodeKey:Dn,dropPosition:$n,keyEntities:Qn};return Ee.createElement(Ee.Fragment,null,_r&&jr&&Ee.createElement("span",{style:mn,"aria-live":"assertive"},qr(jr)),Ee.createElement("div",null,Ee.createElement("input",{style:mn,disabled:Fr===!1||cr,tabIndex:Fr!==!1?Jr:null,onKeyDown:kt,onFocus:Pt,onBlur:zn,value:"",onChange:Ta,"aria-label":"for screen reader"})),Ee.createElement("div",{className:"".concat(It,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Ee.createElement("div",{className:"".concat(It,"-indent")},Ee.createElement("div",{ref:dn,className:"".concat(It,"-indent-unit")}))),Ee.createElement(yt.Z,(0,ne.Z)({},$t,{data:wo,itemKey:Er,height:kr,fullHeight:!1,virtual:zr,itemHeight:Hr,prefixCls:"".concat(It,"-list"),ref:cn,onVisibleChange:function(mo,_o){var Wi=new Set(mo),al=_o.filter(function(fl){return!Wi.has(fl)});al.some(function(fl){return Er(fl)===ha})&&ji()}}),function(gi){var mo=gi.pos,_o=(0,ne.Z)({},((0,tt.Z)(gi.data),gi.data)),Wi=gi.title,al=gi.key,fl=gi.isStart,hl=gi.isEnd,qo=(0,on.km)(al,mo);delete _o.key,delete _o.children;var Mo=(0,on.H8)(qo,Zi);return Ee.createElement(Vn,(0,ne.Z)({},_o,Mo,{title:Wi,active:!!jr&&al===jr.key,pos:mo,data:gi.data,isStart:fl,isEnd:hl,motion:Jn,motionNodes:al===ha?ci:null,motionType:Ao,onMotionStart:xr,onMotionEnd:ji,treeNodeRequiredProps:Zi,onMouseMove:function(){Bn(null)}}))}))});Hi.displayName="NodeList";var Fi=Hi,$a=ee(29873),ni=ee(97153),no=ee(3596),oi=10,so=function(He){(0,me.Z)(It,He);var nt=(0,Pe.Z)(It);function It(){var pe;(0,ke.Z)(this,It);for(var Oe=arguments.length,Ae=new Array(Oe),Ke=0;Ke<Oe;Ke++)Ae[Ke]=arguments[Ke];return pe=nt.call.apply(nt,[this].concat(Ae)),pe.destroyed=!1,pe.delayedDragEnterLogic=void 0,pe.loadingRetryTimes={},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,on.w$)()},pe.dragStartMousePosition=null,pe.dragNode=void 0,pe.currentMouseOverDroppableNodeKey=null,pe.listRef=Ee.createRef(),pe.onNodeDragStart=function(Qe,at){var ft=pe.state,Xt=ft.expandedKeys,an=ft.keyEntities,Qn=pe.props.onDragStart,cr=at.props.eventKey;pe.dragNode=at,pe.dragStartMousePosition={x:Qe.clientX,y:Qe.clientY};var Ar=(0,$a._5)(Xt,cr);pe.setState({draggingNodeKey:cr,dragChildrenKeys:(0,$a.wA)(cr,an),indent:pe.listRef.current.getIndentWidth()}),pe.setExpandedKeys(Ar),window.addEventListener("dragend",pe.onWindowDragEnd),Qn==null||Qn({event:Qe,node:(0,on.F)(at.props)})},pe.onNodeDragEnter=function(Qe,at){var ft=pe.state,Xt=ft.expandedKeys,an=ft.keyEntities,Qn=ft.dragChildrenKeys,cr=ft.flattenNodes,Ar=ft.indent,Dn=pe.props,$n=Dn.onDragEnter,Jn=Dn.onExpand,kr=Dn.allowDrop,Hr=Dn.direction,zr=at.props,Fr=zr.pos,jr=zr.eventKey,_r=(0,Se.Z)(pe),Jr=_r.dragNode;if(pe.currentMouseOverDroppableNodeKey!==jr&&(pe.currentMouseOverDroppableNodeKey=jr),!Jr){pe.resetDragState();return}var kt=(0,$a.OM)(Qe,Jr,at,Ar,pe.dragStartMousePosition,kr,cr,an,Xt,Hr),Pt=kt.dropPosition,zn=kt.dropLevelOffset,Bn=kt.dropTargetKey,xr=kt.dropContainerKey,Zr=kt.dropTargetPos,$t=kt.dropAllowed,cn=kt.dragOverNodeKey;if(Qn.indexOf(Bn)!==-1||!$t){pe.resetDragState();return}if(pe.delayedDragEnterLogic||(pe.delayedDragEnterLogic={}),Object.keys(pe.delayedDragEnterLogic).forEach(function(dn){clearTimeout(pe.delayedDragEnterLogic[dn])}),Jr.props.eventKey!==at.props.eventKey&&(Qe.persist(),pe.delayedDragEnterLogic[Fr]=window.setTimeout(function(){if(pe.state.draggingNodeKey!==null){var dn=(0,we.Z)(Xt),Rn=(0,no.Z)(an,at.props.eventKey);Rn&&(Rn.children||[]).length&&(dn=(0,$a.L0)(Xt,at.props.eventKey)),"expandedKeys"in pe.props||pe.setExpandedKeys(dn),Jn==null||Jn(dn,{node:(0,on.F)(at.props),expanded:!0,nativeEvent:Qe.nativeEvent})}},800)),Jr.props.eventKey===Bn&&zn===0){pe.resetDragState();return}pe.setState({dragOverNodeKey:cn,dropPosition:Pt,dropLevelOffset:zn,dropTargetKey:Bn,dropContainerKey:xr,dropTargetPos:Zr,dropAllowed:$t}),$n==null||$n({event:Qe,node:(0,on.F)(at.props),expandedKeys:Xt})},pe.onNodeDragOver=function(Qe,at){var ft=pe.state,Xt=ft.dragChildrenKeys,an=ft.flattenNodes,Qn=ft.keyEntities,cr=ft.expandedKeys,Ar=ft.indent,Dn=pe.props,$n=Dn.onDragOver,Jn=Dn.allowDrop,kr=Dn.direction,Hr=(0,Se.Z)(pe),zr=Hr.dragNode;if(zr){var Fr=(0,$a.OM)(Qe,zr,at,Ar,pe.dragStartMousePosition,Jn,an,Qn,cr,kr),jr=Fr.dropPosition,_r=Fr.dropLevelOffset,Jr=Fr.dropTargetKey,kt=Fr.dropContainerKey,Pt=Fr.dropAllowed,zn=Fr.dropTargetPos,Bn=Fr.dragOverNodeKey;Xt.indexOf(Jr)!==-1||!Pt||(zr.props.eventKey===Jr&&_r===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():jr===pe.state.dropPosition&&_r===pe.state.dropLevelOffset&&Jr===pe.state.dropTargetKey&&kt===pe.state.dropContainerKey&&zn===pe.state.dropTargetPos&&Pt===pe.state.dropAllowed&&Bn===pe.state.dragOverNodeKey||pe.setState({dropPosition:jr,dropLevelOffset:_r,dropTargetKey:Jr,dropContainerKey:kt,dropTargetPos:zn,dropAllowed:Pt,dragOverNodeKey:Bn}),$n==null||$n({event:Qe,node:(0,on.F)(at.props)}))}},pe.onNodeDragLeave=function(Qe,at){pe.currentMouseOverDroppableNodeKey===at.props.eventKey&&!Qe.currentTarget.contains(Qe.relatedTarget)&&(pe.resetDragState(),pe.currentMouseOverDroppableNodeKey=null);var ft=pe.props.onDragLeave;ft==null||ft({event:Qe,node:(0,on.F)(at.props)})},pe.onWindowDragEnd=function(Qe){pe.onNodeDragEnd(Qe,null,!0),window.removeEventListener("dragend",pe.onWindowDragEnd)},pe.onNodeDragEnd=function(Qe,at){var ft=pe.props.onDragEnd;pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),ft==null||ft({event:Qe,node:(0,on.F)(at.props)}),pe.dragNode=null,window.removeEventListener("dragend",pe.onWindowDragEnd)},pe.onNodeDrop=function(Qe,at){var ft,Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,an=pe.state,Qn=an.dragChildrenKeys,cr=an.dropPosition,Ar=an.dropTargetKey,Dn=an.dropTargetPos,$n=an.dropAllowed;if($n){var Jn=pe.props.onDrop;if(pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),Ar!==null){var kr=(0,et.Z)((0,et.Z)({},(0,on.H8)(Ar,pe.getTreeNodeRequiredProps())),{},{active:((ft=pe.getActiveItem())===null||ft===void 0?void 0:ft.key)===Ar,data:(0,no.Z)(pe.state.keyEntities,Ar).node}),Hr=Qn.indexOf(Ar)!==-1;(0,vt.ZP)(!Hr,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var zr=(0,$a.yx)(Dn),Fr={event:Qe,node:(0,on.F)(kr),dragNode:pe.dragNode?(0,on.F)(pe.dragNode.props):null,dragNodesKeys:[pe.dragNode.props.eventKey].concat(Qn),dropToGap:cr!==0,dropPosition:cr+Number(zr[zr.length-1])};Xt||Jn==null||Jn(Fr),pe.dragNode=null}}},pe.cleanDragState=function(){var Qe=pe.state.draggingNodeKey;Qe!==null&&pe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),pe.dragStartMousePosition=null,pe.currentMouseOverDroppableNodeKey=null},pe.triggerExpandActionExpand=function(Qe,at){var ft=pe.state,Xt=ft.expandedKeys,an=ft.flattenNodes,Qn=at.expanded,cr=at.key,Ar=at.isLeaf;if(!(Ar||Qe.shiftKey||Qe.metaKey||Qe.ctrlKey)){var Dn=an.filter(function(Jn){return Jn.key===cr})[0],$n=(0,on.F)((0,et.Z)((0,et.Z)({},(0,on.H8)(cr,pe.getTreeNodeRequiredProps())),{},{data:Dn.data}));pe.setExpandedKeys(Qn?(0,$a._5)(Xt,cr):(0,$a.L0)(Xt,cr)),pe.onNodeExpand(Qe,$n)}},pe.onNodeClick=function(Qe,at){var ft=pe.props,Xt=ft.onClick,an=ft.expandAction;an==="click"&&pe.triggerExpandActionExpand(Qe,at),Xt==null||Xt(Qe,at)},pe.onNodeDoubleClick=function(Qe,at){var ft=pe.props,Xt=ft.onDoubleClick,an=ft.expandAction;an==="doubleClick"&&pe.triggerExpandActionExpand(Qe,at),Xt==null||Xt(Qe,at)},pe.onNodeSelect=function(Qe,at){var ft=pe.state.selectedKeys,Xt=pe.state,an=Xt.keyEntities,Qn=Xt.fieldNames,cr=pe.props,Ar=cr.onSelect,Dn=cr.multiple,$n=at.selected,Jn=at[Qn.key],kr=!$n;kr?Dn?ft=(0,$a.L0)(ft,Jn):ft=[Jn]:ft=(0,$a._5)(ft,Jn);var Hr=ft.map(function(zr){var Fr=(0,no.Z)(an,zr);return Fr?Fr.node:null}).filter(function(zr){return zr});pe.setUncontrolledState({selectedKeys:ft}),Ar==null||Ar(ft,{event:"select",selected:kr,node:at,selectedNodes:Hr,nativeEvent:Qe.nativeEvent})},pe.onNodeCheck=function(Qe,at,ft){var Xt=pe.state,an=Xt.keyEntities,Qn=Xt.checkedKeys,cr=Xt.halfCheckedKeys,Ar=pe.props,Dn=Ar.checkStrictly,$n=Ar.onCheck,Jn=at.key,kr,Hr={event:"check",node:at,checked:ft,nativeEvent:Qe.nativeEvent};if(Dn){var zr=ft?(0,$a.L0)(Qn,Jn):(0,$a._5)(Qn,Jn),Fr=(0,$a._5)(cr,Jn);kr={checked:zr,halfChecked:Fr},Hr.checkedNodes=zr.map(function(zn){return(0,no.Z)(an,zn)}).filter(function(zn){return zn}).map(function(zn){return zn.node}),pe.setUncontrolledState({checkedKeys:zr})}else{var jr=(0,ni.S)([].concat((0,we.Z)(Qn),[Jn]),!0,an),_r=jr.checkedKeys,Jr=jr.halfCheckedKeys;if(!ft){var kt=new Set(_r);kt.delete(Jn);var Pt=(0,ni.S)(Array.from(kt),{checked:!1,halfCheckedKeys:Jr},an);_r=Pt.checkedKeys,Jr=Pt.halfCheckedKeys}kr=_r,Hr.checkedNodes=[],Hr.checkedNodesPositions=[],Hr.halfCheckedKeys=Jr,_r.forEach(function(zn){var Bn=(0,no.Z)(an,zn);if(Bn){var xr=Bn.node,Zr=Bn.pos;Hr.checkedNodes.push(xr),Hr.checkedNodesPositions.push({node:xr,pos:Zr})}}),pe.setUncontrolledState({checkedKeys:_r},!1,{halfCheckedKeys:Jr})}$n==null||$n(kr,Hr)},pe.onNodeLoad=function(Qe){var at=Qe.key,ft=new Promise(function(Xt,an){pe.setState(function(Qn){var cr=Qn.loadedKeys,Ar=cr===void 0?[]:cr,Dn=Qn.loadingKeys,$n=Dn===void 0?[]:Dn,Jn=pe.props,kr=Jn.loadData,Hr=Jn.onLoad;if(!kr||Ar.indexOf(at)!==-1||$n.indexOf(at)!==-1)return null;var zr=kr(Qe);return zr.then(function(){var Fr=pe.state.loadedKeys,jr=(0,$a.L0)(Fr,at);Hr==null||Hr(jr,{event:"load",node:Qe}),pe.setUncontrolledState({loadedKeys:jr}),pe.setState(function(_r){return{loadingKeys:(0,$a._5)(_r.loadingKeys,at)}}),Xt()}).catch(function(Fr){if(pe.setState(function(_r){return{loadingKeys:(0,$a._5)(_r.loadingKeys,at)}}),pe.loadingRetryTimes[at]=(pe.loadingRetryTimes[at]||0)+1,pe.loadingRetryTimes[at]>=oi){var jr=pe.state.loadedKeys;(0,vt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),pe.setUncontrolledState({loadedKeys:(0,$a.L0)(jr,at)}),Xt()}an(Fr)}),{loadingKeys:(0,$a.L0)($n,at)}})});return ft.catch(function(){}),ft},pe.onNodeMouseEnter=function(Qe,at){var ft=pe.props.onMouseEnter;ft==null||ft({event:Qe,node:at})},pe.onNodeMouseLeave=function(Qe,at){var ft=pe.props.onMouseLeave;ft==null||ft({event:Qe,node:at})},pe.onNodeContextMenu=function(Qe,at){var ft=pe.props.onRightClick;ft&&(Qe.preventDefault(),ft({event:Qe,node:at}))},pe.onFocus=function(){var Qe=pe.props.onFocus;pe.setState({focused:!0});for(var at=arguments.length,ft=new Array(at),Xt=0;Xt<at;Xt++)ft[Xt]=arguments[Xt];Qe==null||Qe.apply(void 0,ft)},pe.onBlur=function(){var Qe=pe.props.onBlur;pe.setState({focused:!1}),pe.onActiveChange(null);for(var at=arguments.length,ft=new Array(at),Xt=0;Xt<at;Xt++)ft[Xt]=arguments[Xt];Qe==null||Qe.apply(void 0,ft)},pe.getTreeNodeRequiredProps=function(){var Qe=pe.state,at=Qe.expandedKeys,ft=Qe.selectedKeys,Xt=Qe.loadedKeys,an=Qe.loadingKeys,Qn=Qe.checkedKeys,cr=Qe.halfCheckedKeys,Ar=Qe.dragOverNodeKey,Dn=Qe.dropPosition,$n=Qe.keyEntities;return{expandedKeys:at||[],selectedKeys:ft||[],loadedKeys:Xt||[],loadingKeys:an||[],checkedKeys:Qn||[],halfCheckedKeys:cr||[],dragOverNodeKey:Ar,dropPosition:Dn,keyEntities:$n}},pe.setExpandedKeys=function(Qe){var at=pe.state,ft=at.treeData,Xt=at.fieldNames,an=(0,on.oH)(ft,Qe,Xt);pe.setUncontrolledState({expandedKeys:Qe,flattenNodes:an},!0)},pe.onNodeExpand=function(Qe,at){var ft=pe.state.expandedKeys,Xt=pe.state,an=Xt.listChanging,Qn=Xt.fieldNames,cr=pe.props,Ar=cr.onExpand,Dn=cr.loadData,$n=at.expanded,Jn=at[Qn.key];if(!an){var kr=ft.indexOf(Jn),Hr=!$n;if((0,vt.ZP)($n&&kr!==-1||!$n&&kr===-1,"Expand state not sync with index check"),Hr?ft=(0,$a.L0)(ft,Jn):ft=(0,$a._5)(ft,Jn),pe.setExpandedKeys(ft),Ar==null||Ar(ft,{node:at,expanded:Hr,nativeEvent:Qe.nativeEvent}),Hr&&Dn){var zr=pe.onNodeLoad(at);zr&&zr.then(function(){var Fr=(0,on.oH)(pe.state.treeData,ft,Qn);pe.setUncontrolledState({flattenNodes:Fr})}).catch(function(){var Fr=pe.state.expandedKeys,jr=(0,$a._5)(Fr,Jn);pe.setExpandedKeys(jr)})}}},pe.onListChangeStart=function(){pe.setUncontrolledState({listChanging:!0})},pe.onListChangeEnd=function(){setTimeout(function(){pe.setUncontrolledState({listChanging:!1})})},pe.onActiveChange=function(Qe){var at=pe.state.activeKey,ft=pe.props.onActiveChange;at!==Qe&&(pe.setState({activeKey:Qe}),Qe!==null&&pe.scrollTo({key:Qe}),ft==null||ft(Qe))},pe.getActiveItem=function(){var Qe=pe.state,at=Qe.activeKey,ft=Qe.flattenNodes;return at===null?null:ft.find(function(Xt){var an=Xt.key;return an===at})||null},pe.offsetActiveKey=function(Qe){var at=pe.state,ft=at.flattenNodes,Xt=at.activeKey,an=ft.findIndex(function(Ar){var Dn=Ar.key;return Dn===Xt});an===-1&&Qe<0&&(an=ft.length),an=(an+Qe+ft.length)%ft.length;var Qn=ft[an];if(Qn){var cr=Qn.key;pe.onActiveChange(cr)}else pe.onActiveChange(null)},pe.onKeyDown=function(Qe){var at=pe.state,ft=at.activeKey,Xt=at.expandedKeys,an=at.checkedKeys,Qn=at.fieldNames,cr=pe.props,Ar=cr.onKeyDown,Dn=cr.checkable,$n=cr.selectable;switch(Qe.which){case pt.UP:{pe.offsetActiveKey(-1),Qe.preventDefault();break}case pt.DOWN:{pe.offsetActiveKey(1),Qe.preventDefault();break}}var Jn=pe.getActiveItem();if(Jn&&Jn.data){var kr=pe.getTreeNodeRequiredProps(),Hr=Jn.data.isLeaf===!1||!!(Jn.data[Qn.children]||[]).length,zr=(0,on.F)((0,et.Z)((0,et.Z)({},(0,on.H8)(ft,kr)),{},{data:Jn.data,active:!0}));switch(Qe.which){case pt.LEFT:{Hr&&Xt.includes(ft)?pe.onNodeExpand({},zr):Jn.parent&&pe.onActiveChange(Jn.parent.key),Qe.preventDefault();break}case pt.RIGHT:{Hr&&!Xt.includes(ft)?pe.onNodeExpand({},zr):Jn.children&&Jn.children.length&&pe.onActiveChange(Jn.children[0].key),Qe.preventDefault();break}case pt.ENTER:case pt.SPACE:{Dn&&!zr.disabled&&zr.checkable!==!1&&!zr.disableCheckbox?pe.onNodeCheck({},zr,!an.includes(ft)):!Dn&&$n&&!zr.disabled&&zr.selectable!==!1&&pe.onNodeSelect({},zr);break}}}Ar==null||Ar(Qe)},pe.setUncontrolledState=function(Qe){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!pe.destroyed){var Xt=!1,an=!0,Qn={};Object.keys(Qe).forEach(function(cr){if(cr in pe.props){an=!1;return}Xt=!0,Qn[cr]=Qe[cr]}),Xt&&(!at||an)&&pe.setState((0,et.Z)((0,et.Z)({},Qn),ft))}},pe.scrollTo=function(Qe){pe.listRef.current.scrollTo(Qe)},pe}return(0,ce.Z)(It,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Oe=this.props.activeKey;Oe!==void 0&&Oe!==this.state.activeKey&&(this.setState({activeKey:Oe}),Oe!==null&&this.scrollTo({key:Oe}))}},{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 Oe,Ae=this.state,Ke=Ae.focused,Qe=Ae.flattenNodes,at=Ae.keyEntities,ft=Ae.draggingNodeKey,Xt=Ae.activeKey,an=Ae.dropLevelOffset,Qn=Ae.dropContainerKey,cr=Ae.dropTargetKey,Ar=Ae.dropPosition,Dn=Ae.dragOverNodeKey,$n=Ae.indent,Jn=this.props,kr=Jn.prefixCls,Hr=Jn.className,zr=Jn.style,Fr=Jn.showLine,jr=Jn.focusable,_r=Jn.tabIndex,Jr=_r===void 0?0:_r,kt=Jn.selectable,Pt=Jn.showIcon,zn=Jn.icon,Bn=Jn.switcherIcon,xr=Jn.draggable,Zr=Jn.checkable,$t=Jn.checkStrictly,cn=Jn.disabled,dn=Jn.motion,Rn=Jn.loadData,yr=Jn.filterTreeNode,Tr=Jn.height,vr=Jn.itemHeight,Pr=Jn.virtual,ia=Jn.titleRender,Va=Jn.dropIndicatorRender,ma=Jn.onContextMenu,Gr=Jn.onScroll,Ea=Jn.direction,ja=Jn.rootClassName,ai=Jn.rootStyle,Ra=(0,ot.Z)(this.props,{aria:!0,data:!0}),da;return xr&&((0,Me.Z)(xr)==="object"?da=xr:typeof xr=="function"?da={nodeDraggable:xr}:da={}),Ee.createElement(wt.k.Provider,{value:{prefixCls:kr,selectable:kt,showIcon:Pt,icon:zn,switcherIcon:Bn,draggable:da,draggingNodeKey:ft,checkable:Zr,checkStrictly:$t,disabled:cn,keyEntities:at,dropLevelOffset:an,dropContainerKey:Qn,dropTargetKey:cr,dropPosition:Ar,dragOverNodeKey:Dn,indent:$n,direction:Ea,dropIndicatorRender:Va,loadData:Rn,filterTreeNode:yr,titleRender:ia,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}},Ee.createElement("div",{role:"tree",className:fe()(kr,Hr,ja,(Oe={},(0,de.Z)(Oe,"".concat(kr,"-show-line"),Fr),(0,de.Z)(Oe,"".concat(kr,"-focused"),Ke),(0,de.Z)(Oe,"".concat(kr,"-active-focused"),Xt!==null),Oe)),style:ai},Ee.createElement(Fi,(0,ne.Z)({ref:this.listRef,prefixCls:kr,style:zr,data:Qe,disabled:cn,selectable:kt,checkable:!!Zr,motion:dn,dragging:ft!==null,height:Tr,itemHeight:vr,virtual:Pr,focusable:jr,focused:Ke,tabIndex:Jr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ma,onScroll:Gr},this.getTreeNodeRequiredProps(),Ra))))}}],[{key:"getDerivedStateFromProps",value:function(Oe,Ae){var Ke=Ae.prevProps,Qe={prevProps:Oe};function at(jr){return!Ke&&jr in Oe||Ke&&Ke[jr]!==Oe[jr]}var ft,Xt=Ae.fieldNames;if(at("fieldNames")&&(Xt=(0,on.w$)(Oe.fieldNames),Qe.fieldNames=Xt),at("treeData")?ft=Oe.treeData:at("children")&&((0,vt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ft=(0,on.zn)(Oe.children)),ft){Qe.treeData=ft;var an=(0,on.I8)(ft,{fieldNames:Xt});Qe.keyEntities=(0,et.Z)((0,de.Z)({},ha,Sa),an.keyEntities)}var Qn=Qe.keyEntities||Ae.keyEntities;if(at("expandedKeys")||Ke&&at("autoExpandParent"))Qe.expandedKeys=Oe.autoExpandParent||!Ke&&Oe.defaultExpandParent?(0,$a.r7)(Oe.expandedKeys,Qn):Oe.expandedKeys;else if(!Ke&&Oe.defaultExpandAll){var cr=(0,et.Z)({},Qn);delete cr[ha],Qe.expandedKeys=Object.keys(cr).map(function(jr){return cr[jr].key})}else!Ke&&Oe.defaultExpandedKeys&&(Qe.expandedKeys=Oe.autoExpandParent||Oe.defaultExpandParent?(0,$a.r7)(Oe.defaultExpandedKeys,Qn):Oe.defaultExpandedKeys);if(Qe.expandedKeys||delete Qe.expandedKeys,ft||Qe.expandedKeys){var Ar=(0,on.oH)(ft||Ae.treeData,Qe.expandedKeys||Ae.expandedKeys,Xt);Qe.flattenNodes=Ar}if(Oe.selectable&&(at("selectedKeys")?Qe.selectedKeys=(0,$a.BT)(Oe.selectedKeys,Oe):!Ke&&Oe.defaultSelectedKeys&&(Qe.selectedKeys=(0,$a.BT)(Oe.defaultSelectedKeys,Oe))),Oe.checkable){var Dn;if(at("checkedKeys")?Dn=(0,$a.E6)(Oe.checkedKeys)||{}:!Ke&&Oe.defaultCheckedKeys?Dn=(0,$a.E6)(Oe.defaultCheckedKeys)||{}:ft&&(Dn=(0,$a.E6)(Oe.checkedKeys)||{checkedKeys:Ae.checkedKeys,halfCheckedKeys:Ae.halfCheckedKeys}),Dn){var $n=Dn,Jn=$n.checkedKeys,kr=Jn===void 0?[]:Jn,Hr=$n.halfCheckedKeys,zr=Hr===void 0?[]:Hr;if(!Oe.checkStrictly){var Fr=(0,ni.S)(kr,!0,Qn);kr=Fr.checkedKeys,zr=Fr.halfCheckedKeys}Qe.checkedKeys=kr,Qe.halfCheckedKeys=zr}}return at("loadedKeys")&&(Qe.loadedKeys=Oe.loadedKeys),Qe}}]),It}(Ee.Component);so.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:Rt,allowDrop:function(){return!0},expandAction:!1},so.TreeNode=At.Z;var ta=so,to=ta,xo=ee(73148),xl=ee(56747),ll={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"},Uo=ll,co=ee(84089),wl=function(nt,It){return Ee.createElement(co.Z,(0,ne.Z)({},nt,{ref:It,icon:Uo}))},Yo=Ee.forwardRef(wl),gl=ee(53124),zl=ee(50881),Sl=ee(33603),Cl=ee(32157);const wi=4;function ko(He){const{dropPosition:nt,dropLevelOffset:It,prefixCls:pe,indent:Oe,direction:Ae="ltr"}=He,Ke=Ae==="ltr"?"left":"right",Qe=Ae==="ltr"?"right":"left",at={[Ke]:-It*Oe+wi,[Qe]:0};switch(nt){case-1:at.top=-3;break;case 1:at.bottom=-3;break;default:at.bottom=-3,at[Ke]=Oe+wi;break}return Ee.createElement("div",{style:at,className:`${pe}-drop-indicator`})}var Pi=ee(99184),Zn=Ee.forwardRef((He,nt)=>{const{getPrefixCls:It,direction:pe,virtual:Oe,tree:Ae}=Ee.useContext(gl.E_),{prefixCls:Ke,className:Qe,showIcon:at=!1,showLine:ft,switcherIcon:Xt,blockNode:an=!1,children:Qn,checkable:cr=!1,selectable:Ar=!0,draggable:Dn,motion:$n,style:Jn}=He,kr=It("tree",Ke),Hr=It(),zr=$n!=null?$n:Object.assign(Object.assign({},(0,Sl.Z)(Hr)),{motionAppear:!1}),Fr=Object.assign(Object.assign({},He),{checkable:cr,selectable:Ar,showIcon:at,motion:zr,blockNode:an,showLine:!!ft,dropIndicatorRender:ko}),[jr,_r]=(0,Cl.ZP)(kr),Jr=Ee.useMemo(()=>{if(!Dn)return!1;let Pt={};switch(typeof Dn){case"function":Pt.nodeDraggable=Dn;break;case"object":Pt=Object.assign({},Dn);break;default:break}return Pt.icon!==!1&&(Pt.icon=Pt.icon||Ee.createElement(zl.Z,null)),Pt},[Dn]),kt=Pt=>Ee.createElement(Pi.Z,{prefixCls:kr,switcherIcon:Xt,treeNodeProps:Pt,showLine:ft});return jr(Ee.createElement(to,Object.assign({itemHeight:20,ref:nt,virtual:Oe},Fr,{style:Object.assign(Object.assign({},Ae==null?void 0:Ae.style),Jn),prefixCls:kr,className:fe()({[`${kr}-icon-hide`]:!at,[`${kr}-block-node`]:an,[`${kr}-unselectable`]:!Ar,[`${kr}-rtl`]:pe==="rtl"},Ae==null?void 0:Ae.className,Qe,_r),direction:pe,checkable:cr&&Ee.createElement("span",{className:`${kr}-checkbox-inner`}),selectable:Ar,switcherIcon:kt,draggable:Jr}),Qn))}),Mn;(function(He){He[He.None=0]="None",He[He.Start=1]="Start",He[He.End=2]="End"})(Mn||(Mn={}));function dr(He,nt){function It(pe){const{key:Oe,children:Ae}=pe;nt(Oe,pe)!==!1&&dr(Ae||[],nt)}He.forEach(It)}function Qr(He){let{treeData:nt,expandedKeys:It,startKey:pe,endKey:Oe}=He;const Ae=[];let Ke=Mn.None;if(pe&&pe===Oe)return[pe];if(!pe||!Oe)return[];function Qe(at){return at===pe||at===Oe}return dr(nt,at=>{if(Ke===Mn.End)return!1;if(Qe(at)){if(Ae.push(at),Ke===Mn.None)Ke=Mn.Start;else if(Ke===Mn.Start)return Ke=Mn.End,!1}else Ke===Mn.Start&&Ae.push(at);return It.includes(at)}),Ae}function va(He,nt){const It=(0,we.Z)(nt),pe=[];return dr(He,(Oe,Ae)=>{const Ke=It.indexOf(Oe);return Ke!==-1&&(pe.push(Ae),It.splice(Ke,1)),!!It.length}),pe}var pi=function(He,nt){var It={};for(var pe in He)Object.prototype.hasOwnProperty.call(He,pe)&&nt.indexOf(pe)<0&&(It[pe]=He[pe]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,pe=Object.getOwnPropertySymbols(He);Oe<pe.length;Oe++)nt.indexOf(pe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(He,pe[Oe])&&(It[pe[Oe]]=He[pe[Oe]]);return It};function Ai(He){const{isLeaf:nt,expanded:It}=He;return nt?Ee.createElement(xo.Z,null):It?Ee.createElement(xl.Z,null):Ee.createElement(Yo,null)}function Vi(He){let{treeData:nt,children:It}=He;return nt||(0,on.zn)(It)}const ui=(He,nt)=>{var{defaultExpandAll:It,defaultExpandParent:pe,defaultExpandedKeys:Oe}=He,Ae=pi(He,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ke=Ee.useRef(),Qe=Ee.useRef(),at=()=>{const{keyEntities:Jr}=(0,on.I8)(Vi(Ae));let kt;return It?kt=Object.keys(Jr):pe?kt=(0,$a.r7)(Ae.expandedKeys||Oe||[],Jr):kt=Ae.expandedKeys||Oe,kt},[ft,Xt]=Ee.useState(Ae.selectedKeys||Ae.defaultSelectedKeys||[]),[an,Qn]=Ee.useState(()=>at());Ee.useEffect(()=>{"selectedKeys"in Ae&&Xt(Ae.selectedKeys)},[Ae.selectedKeys]),Ee.useEffect(()=>{"expandedKeys"in Ae&&Qn(Ae.expandedKeys)},[Ae.expandedKeys]);const cr=(Jr,kt)=>{var Pt;return"expandedKeys"in Ae||Qn(Jr),(Pt=Ae.onExpand)===null||Pt===void 0?void 0:Pt.call(Ae,Jr,kt)},Ar=(Jr,kt)=>{var Pt;const{multiple:zn}=Ae,{node:Bn,nativeEvent:xr}=kt,{key:Zr=""}=Bn,$t=Vi(Ae),cn=Object.assign(Object.assign({},kt),{selected:!0}),dn=(xr==null?void 0:xr.ctrlKey)||(xr==null?void 0:xr.metaKey),Rn=xr==null?void 0:xr.shiftKey;let yr;zn&&dn?(yr=Jr,Ke.current=Zr,Qe.current=yr,cn.selectedNodes=va($t,yr)):zn&&Rn?(yr=Array.from(new Set([].concat((0,we.Z)(Qe.current||[]),(0,we.Z)(Qr({treeData:$t,expandedKeys:an,startKey:Zr,endKey:Ke.current}))))),cn.selectedNodes=va($t,yr)):(yr=[Zr],Ke.current=Zr,Qe.current=yr,cn.selectedNodes=va($t,yr)),(Pt=Ae.onSelect)===null||Pt===void 0||Pt.call(Ae,yr,cn),"selectedKeys"in Ae||Xt(yr)},{getPrefixCls:Dn,direction:$n}=Ee.useContext(gl.E_),{prefixCls:Jn,className:kr,showIcon:Hr=!0,expandAction:zr="click"}=Ae,Fr=pi(Ae,["prefixCls","className","showIcon","expandAction"]),jr=Dn("tree",Jn),_r=fe()(`${jr}-directory`,{[`${jr}-directory-rtl`]:$n==="rtl"},kr);return Ee.createElement(Zn,Object.assign({icon:Ai,ref:nt,blockNode:!0},Fr,{showIcon:Hr,expandAction:zr,prefixCls:jr,className:_r,expandedKeys:an,selectedKeys:ft,onSelect:Ar,onExpand:cr}))};var Eo=Ee.forwardRef(ui);const Zo=Zn;Zo.DirectoryTree=Eo,Zo.TreeNode=At.Z;var Qo=Zo},32157:function(Hn,sn,ee){"use strict";ee.d(sn,{TM:function(){return Ge},Yk:function(){return fe}});var ne=ee(34367),de=ee(63185),Me=ee(14747),et=ee(33507),we=ee(45503),ke=ee(67968);const ce=new ne.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Se=(pt,ot)=>({[`.${pt}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${ot.motionDurationSlow}`}}}),me=(pt,ot)=>({[`.${pt}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:ot.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${ot.lineWidthBold}px solid ${ot.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Pe=(pt,ot)=>{const{treeCls:vt,treeNodeCls:Ee,treeNodePadding:wt,titleHeight:Rt,nodeSelectedBg:tt,nodeHoverBg:st}=ot,ye=ot.paddingXS;return{[vt]:Object.assign(Object.assign({},(0,Me.Wf)(ot)),{background:ot.colorBgContainer,borderRadius:ot.borderRadius,transition:`background-color ${ot.motionDurationSlow}`,[`&${vt}-rtl`]:{[`${vt}-switcher`]:{"&_close":{[`${vt}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${vt}-active-focused)`]:Object.assign({},(0,Me.oN)(ot)),[`${vt}-list-holder-inner`]:{alignItems:"flex-start"},[`&${vt}-block-node`]:{[`${vt}-list-holder-inner`]:{alignItems:"stretch",[`${vt}-node-content-wrapper`]:{flex:"auto"},[`${Ee}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:wt,insetInlineStart:0,border:`1px solid ${ot.colorPrimary}`,opacity:0,animationName:ce,animationDuration:ot.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Ee}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${wt}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${vt}-node-content-wrapper`]:{color:ot.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${vt}-node-content-wrapper`]:Object.assign({},(0,Me.oN)(ot)),[`&:not(${Ee}-disabled).filter-node ${vt}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${vt}-draggable-icon`]:{flexShrink:0,width:Rt,lineHeight:`${Rt}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${ot.motionDurationSlow}`,[`${Ee}:hover &`]:{opacity:.45}},[`&${Ee}-disabled`]:{[`${vt}-draggable-icon`]:{visibility:"hidden"}}}},[`${vt}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Rt}},[`${vt}-draggable-icon`]:{visibility:"hidden"},[`${vt}-switcher`]:Object.assign(Object.assign({},Se(pt,ot)),{position:"relative",flex:"none",alignSelf:"stretch",width:Rt,margin:0,lineHeight:`${Rt}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${vt}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:ot.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Rt/2,bottom:-wt,marginInlineStart:-1,borderInlineEnd:`1px solid ${ot.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Rt/2*.8,height:Rt/2,borderBottom:`1px solid ${ot.colorBorder}`,content:'""'}}}),[`${vt}-checkbox`]:{top:"initial",marginInlineEnd:ye},[`${vt}-node-content-wrapper, ${vt}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Rt,margin:0,padding:`0 ${ot.paddingXS/2}px`,color:"inherit",lineHeight:`${Rt}px`,background:"transparent",borderRadius:ot.borderRadius,cursor:"pointer",transition:`all ${ot.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:st},[`&${vt}-node-selected`]:{backgroundColor:tt},[`${vt}-iconEle`]:{display:"inline-block",width:Rt,height:Rt,lineHeight:`${Rt}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${vt}-unselectable ${vt}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${vt}-node-content-wrapper`]:Object.assign({lineHeight:`${Rt}px`,userSelect:"none"},me(pt,ot)),[`${Ee}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${ot.colorPrimary}`}},"&-show-line":{[`${vt}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Rt/2,bottom:-wt,borderInlineEnd:`1px solid ${ot.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${vt}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ee}-leaf-last`]:{[`${vt}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Rt/2}px !important`}}}}})}},Xe=pt=>{const{treeCls:ot,treeNodeCls:vt,treeNodePadding:Ee,directoryNodeSelectedBg:wt,directoryNodeSelectedColor:Rt}=pt;return{[`${ot}${ot}-directory`]:{[vt]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Ee,insetInlineStart:0,transition:`background-color ${pt.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:pt.controlItemBgHover}},"> *":{zIndex:1},[`${ot}-switcher`]:{transition:`color ${pt.motionDurationMid}`},[`${ot}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${ot}-node-selected`]:{color:Rt,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:wt},[`${ot}-switcher`]:{color:Rt},[`${ot}-node-content-wrapper`]:{color:Rt,background:"transparent"}}}}}},fe=(pt,ot)=>{const vt=`.${pt}`,Ee=`${vt}-treenode`,wt=ot.paddingXS/2,Rt=(0,we.TS)(ot,{treeCls:vt,treeNodeCls:Ee,treeNodePadding:wt});return[Pe(pt,Rt),Xe(Rt)]},Ge=pt=>{const{controlHeightSM:ot}=pt;return{titleHeight:ot,nodeHoverBg:pt.controlItemBgHover,nodeSelectedBg:pt.controlItemBgActive}};sn.ZP=(0,ke.Z)("Tree",(pt,ot)=>{let{prefixCls:vt}=ot;return[{[pt.componentCls]:(0,de.C2)(`${vt}-checkbox`,pt)},fe(vt,pt),(0,et.Z)(pt)]},pt=>{const{colorTextLightSolid:ot,colorPrimary:vt}=pt;return Object.assign(Object.assign({},Ge(pt)),{directoryNodeSelectedColor:ot,directoryNodeSelectedBg:vt})})},99184:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return vt}});var ne=ee(87462),de=ee(67294),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},et=Me,we=ee(84089),ke=function(wt,Rt){return de.createElement(we.Z,(0,ne.Z)({},wt,{ref:Rt,icon:et}))},ce=de.forwardRef(ke),Se=ee(73148),me=ee(3407),Pe=ee(34182),Xe=ee(74664),fe=ee(94184),Ge=ee.n(fe),pt=ee(96159),vt=Ee=>{const{prefixCls:wt,switcherIcon:Rt,treeNodeProps:tt,showLine:st}=Ee,{isLeaf:ye,expanded:ue,loading:$e}=tt;if($e)return de.createElement(me.Z,{className:`${wt}-switcher-loading-icon`});let Je;if(st&&typeof st=="object"&&(Je=st.showLeafIcon),ye){if(!st)return null;if(typeof Je!="boolean"&&Je){const Fe=typeof Je=="function"?Je(tt):Je,Be=`${wt}-switcher-line-custom-icon`;return(0,pt.l$)(Fe)?(0,pt.Tm)(Fe,{className:Ge()(Fe.props.className||"",Be)}):Fe}return Je?de.createElement(Se.Z,{className:`${wt}-switcher-line-icon`}):de.createElement("span",{className:`${wt}-switcher-leaf-line`})}const ht=`${wt}-switcher-icon`,yt=typeof Rt=="function"?Rt(tt):Rt;return(0,pt.l$)(yt)?(0,pt.Tm)(yt,{className:Ge()(yt.props.className||"",ht)}):yt!==void 0?yt:st?ue?de.createElement(Pe.Z,{className:`${wt}-switcher-line-icon`}):de.createElement(Xe.Z,{className:`${wt}-switcher-line-icon`}):de.createElement(ce,{className:ht})}},97909:function(Hn){(function(sn,ee){Hn.exports=ee()})(this,function(){"use strict";var sn=1e3,ee=6e4,ne=36e5,de="millisecond",Me="second",et="minute",we="hour",ke="day",ce="week",Se="month",me="quarter",Pe="year",Xe="date",fe="Invalid Date",Ge=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,pt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ot={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(yt){var Fe=["th","st","nd","rd"],Be=yt%100;return"["+yt+(Fe[(Be-20)%10]||Fe[Be]||Fe[0])+"]"}},vt=function(yt,Fe,Be){var mt=String(yt);return!mt||mt.length>=Fe?yt:""+Array(Fe+1-mt.length).join(Be)+yt},Ee={s:vt,z:function(yt){var Fe=-yt.utcOffset(),Be=Math.abs(Fe),mt=Math.floor(Be/60),ze=Be%60;return(Fe<=0?"+":"-")+vt(mt,2,"0")+":"+vt(ze,2,"0")},m:function yt(Fe,Be){if(Fe.date()<Be.date())return-yt(Be,Fe);var mt=12*(Be.year()-Fe.year())+(Be.month()-Fe.month()),ze=Fe.clone().add(mt,Se),ut=Be-ze<0,rt=Fe.clone().add(mt+(ut?-1:1),Se);return+(-(mt+(Be-ze)/(ut?ze-rt:rt-ze))||0)},a:function(yt){return yt<0?Math.ceil(yt)||0:Math.floor(yt)},p:function(yt){return{M:Se,y:Pe,w:ce,d:ke,D:Xe,h:we,m:et,s:Me,ms:de,Q:me}[yt]||String(yt||"").toLowerCase().replace(/s$/,"")},u:function(yt){return yt===void 0}},wt="en",Rt={};Rt[wt]=ot;var tt="$isDayjsObject",st=function(yt){return yt instanceof Je||!(!yt||!yt[tt])},ye=function yt(Fe,Be,mt){var ze;if(!Fe)return wt;if(typeof Fe=="string"){var ut=Fe.toLowerCase();Rt[ut]&&(ze=ut),Be&&(Rt[ut]=Be,ze=ut);var rt=Fe.split("-");if(!ze&&rt.length>1)return yt(rt[0])}else{var Tt=Fe.name;Rt[Tt]=Fe,ze=Tt}return!mt&&ze&&(wt=ze),ze||!mt&&wt},ue=function(yt,Fe){if(st(yt))return yt.clone();var Be=typeof Fe=="object"?Fe:{};return Be.date=yt,Be.args=arguments,new Je(Be)},$e=Ee;$e.l=ye,$e.i=st,$e.w=function(yt,Fe){return ue(yt,{locale:Fe.$L,utc:Fe.$u,x:Fe.$x,$offset:Fe.$offset})};var Je=function(){function yt(Be){this.$L=ye(Be.locale,null,!0),this.parse(Be),this.$x=this.$x||Be.x||{},this[tt]=!0}var Fe=yt.prototype;return Fe.parse=function(Be){this.$d=function(mt){var ze=mt.date,ut=mt.utc;if(ze===null)return new Date(NaN);if($e.u(ze))return new Date;if(ze instanceof Date)return new Date(ze);if(typeof ze=="string"&&!/Z$/i.test(ze)){var rt=ze.match(Ge);if(rt){var Tt=rt[2]-1||0,Bt=(rt[7]||"0").substring(0,3);return ut?new Date(Date.UTC(rt[1],Tt,rt[3]||1,rt[4]||0,rt[5]||0,rt[6]||0,Bt)):new Date(rt[1],Tt,rt[3]||1,rt[4]||0,rt[5]||0,rt[6]||0,Bt)}}return new Date(ze)}(Be),this.init()},Fe.init=function(){var Be=this.$d;this.$y=Be.getFullYear(),this.$M=Be.getMonth(),this.$D=Be.getDate(),this.$W=Be.getDay(),this.$H=Be.getHours(),this.$m=Be.getMinutes(),this.$s=Be.getSeconds(),this.$ms=Be.getMilliseconds()},Fe.$utils=function(){return $e},Fe.isValid=function(){return this.$d.toString()!==fe},Fe.isSame=function(Be,mt){var ze=ue(Be);return this.startOf(mt)<=ze&&ze<=this.endOf(mt)},Fe.isAfter=function(Be,mt){return ue(Be)<this.startOf(mt)},Fe.isBefore=function(Be,mt){return this.endOf(mt)<ue(Be)},Fe.$g=function(Be,mt,ze){return $e.u(Be)?this[mt]:this.set(ze,Be)},Fe.unix=function(){return Math.floor(this.valueOf()/1e3)},Fe.valueOf=function(){return this.$d.getTime()},Fe.startOf=function(Be,mt){var ze=this,ut=!!$e.u(mt)||mt,rt=$e.p(Be),Tt=function(Nt,Kt){var nn=$e.w(ze.$u?Date.UTC(ze.$y,Kt,Nt):new Date(ze.$y,Kt,Nt),ze);return ut?nn:nn.endOf(ke)},Bt=function(Nt,Kt){return $e.w(ze.toDate()[Nt].apply(ze.toDate("s"),(ut?[0,0,0,0]:[23,59,59,999]).slice(Kt)),ze)},en=this.$W,ct=this.$M,Ie=this.$D,Mt="set"+(this.$u?"UTC":"");switch(rt){case Pe:return ut?Tt(1,0):Tt(31,11);case Se:return ut?Tt(1,ct):Tt(0,ct+1);case ce:var vn=this.$locale().weekStart||0,qt=(en<vn?en+7:en)-vn;return Tt(ut?Ie-qt:Ie+(6-qt),ct);case ke:case Xe:return Bt(Mt+"Hours",0);case we:return Bt(Mt+"Minutes",1);case et:return Bt(Mt+"Seconds",2);case Me:return Bt(Mt+"Milliseconds",3);default:return this.clone()}},Fe.endOf=function(Be){return this.startOf(Be,!1)},Fe.$set=function(Be,mt){var ze,ut=$e.p(Be),rt="set"+(this.$u?"UTC":""),Tt=(ze={},ze[ke]=rt+"Date",ze[Xe]=rt+"Date",ze[Se]=rt+"Month",ze[Pe]=rt+"FullYear",ze[we]=rt+"Hours",ze[et]=rt+"Minutes",ze[Me]=rt+"Seconds",ze[de]=rt+"Milliseconds",ze)[ut],Bt=ut===ke?this.$D+(mt-this.$W):mt;if(ut===Se||ut===Pe){var en=this.clone().set(Xe,1);en.$d[Tt](Bt),en.init(),this.$d=en.set(Xe,Math.min(this.$D,en.daysInMonth())).$d}else Tt&&this.$d[Tt](Bt);return this.init(),this},Fe.set=function(Be,mt){return this.clone().$set(Be,mt)},Fe.get=function(Be){return this[$e.p(Be)]()},Fe.add=function(Be,mt){var ze,ut=this;Be=Number(Be);var rt=$e.p(mt),Tt=function(ct){var Ie=ue(ut);return $e.w(Ie.date(Ie.date()+Math.round(ct*Be)),ut)};if(rt===Se)return this.set(Se,this.$M+Be);if(rt===Pe)return this.set(Pe,this.$y+Be);if(rt===ke)return Tt(1);if(rt===ce)return Tt(7);var Bt=(ze={},ze[et]=ee,ze[we]=ne,ze[Me]=sn,ze)[rt]||1,en=this.$d.getTime()+Be*Bt;return $e.w(en,this)},Fe.subtract=function(Be,mt){return this.add(-1*Be,mt)},Fe.format=function(Be){var mt=this,ze=this.$locale();if(!this.isValid())return ze.invalidDate||fe;var ut=Be||"YYYY-MM-DDTHH:mm:ssZ",rt=$e.z(this),Tt=this.$H,Bt=this.$m,en=this.$M,ct=ze.weekdays,Ie=ze.months,Mt=ze.meridiem,vn=function(Kt,nn,Cn,Sn){return Kt&&(Kt[nn]||Kt(mt,ut))||Cn[nn].slice(0,Sn)},qt=function(Kt){return $e.s(Tt%12||12,Kt,"0")},Nt=Mt||function(Kt,nn,Cn){var Sn=Kt<12?"AM":"PM";return Cn?Sn.toLowerCase():Sn};return ut.replace(pt,function(Kt,nn){return nn||function(Cn){switch(Cn){case"YY":return String(mt.$y).slice(-2);case"YYYY":return $e.s(mt.$y,4,"0");case"M":return en+1;case"MM":return $e.s(en+1,2,"0");case"MMM":return vn(ze.monthsShort,en,Ie,3);case"MMMM":return vn(Ie,en);case"D":return mt.$D;case"DD":return $e.s(mt.$D,2,"0");case"d":return String(mt.$W);case"dd":return vn(ze.weekdaysMin,mt.$W,ct,2);case"ddd":return vn(ze.weekdaysShort,mt.$W,ct,3);case"dddd":return ct[mt.$W];case"H":return String(Tt);case"HH":return $e.s(Tt,2,"0");case"h":return qt(1);case"hh":return qt(2);case"a":return Nt(Tt,Bt,!0);case"A":return Nt(Tt,Bt,!1);case"m":return String(Bt);case"mm":return $e.s(Bt,2,"0");case"s":return String(mt.$s);case"ss":return $e.s(mt.$s,2,"0");case"SSS":return $e.s(mt.$ms,3,"0");case"Z":return rt}return null}(Kt)||rt.replace(":","")})},Fe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Fe.diff=function(Be,mt,ze){var ut,rt=this,Tt=$e.p(mt),Bt=ue(Be),en=(Bt.utcOffset()-this.utcOffset())*ee,ct=this-Bt,Ie=function(){return $e.m(rt,Bt)};switch(Tt){case Pe:ut=Ie()/12;break;case Se:ut=Ie();break;case me:ut=Ie()/3;break;case ce:ut=(ct-en)/6048e5;break;case ke:ut=(ct-en)/864e5;break;case we:ut=ct/ne;break;case et:ut=ct/ee;break;case Me:ut=ct/sn;break;default:ut=ct}return ze?ut:$e.a(ut)},Fe.daysInMonth=function(){return this.endOf(Se).$D},Fe.$locale=function(){return Rt[this.$L]},Fe.locale=function(Be,mt){if(!Be)return this.$L;var ze=this.clone(),ut=ye(Be,mt,!0);return ut&&(ze.$L=ut),ze},Fe.clone=function(){return $e.w(this.$d,this)},Fe.toDate=function(){return new Date(this.valueOf())},Fe.toJSON=function(){return this.isValid()?this.toISOString():null},Fe.toISOString=function(){return this.$d.toISOString()},Fe.toString=function(){return this.$d.toUTCString()},yt}(),ht=Je.prototype;return ue.prototype=ht,[["$ms",de],["$s",Me],["$m",et],["$H",we],["$W",ke],["$M",Se],["$y",Pe],["$D",Xe]].forEach(function(yt){ht[yt[1]]=function(Fe){return this.$g(Fe,yt[0],yt[1])}}),ue.extend=function(yt,Fe){return yt.$i||(yt(Fe,Je,ue),yt.$i=!0),ue},ue.locale=ye,ue.isDayjs=st,ue.unix=function(yt){return ue(1e3*yt)},ue.en=Rt[wt],ue.Ls=Rt,ue.p={},ue})},86625:function(Hn){(function(sn,ee){Hn.exports=ee()})(this,function(){"use strict";return function(sn,ee){var ne=ee.prototype,de=ne.format;ne.format=function(Me){var et=this,we=this.$locale();if(!this.isValid())return de.bind(this)(Me);var ke=this.$utils(),ce=(Me||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(Se){switch(Se){case"Q":return Math.ceil((et.$M+1)/3);case"Do":return we.ordinal(et.$D);case"gggg":return et.weekYear();case"GGGG":return et.isoWeekYear();case"wo":return we.ordinal(et.week(),"W");case"w":case"ww":return ke.s(et.week(),Se==="w"?1:2,"0");case"W":case"WW":return ke.s(et.isoWeek(),Se==="W"?1:2,"0");case"k":case"kk":return ke.s(String(et.$H===0?24:et.$H),Se==="k"?1:2,"0");case"X":return Math.floor(et.$d.getTime()/1e3);case"x":return et.$d.getTime();case"z":return"["+et.offsetName()+"]";case"zzz":return"["+et.offsetName("long")+"]";default:return Se}});return de.bind(this)(ce)}}})},40618:function(Hn){(function(sn,ee){Hn.exports=ee()})(this,function(){"use strict";var sn={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ee=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ne=/\d\d/,de=/\d\d?/,Me=/\d*[^-_:/,()\s\d]+/,et={},we=function(fe){return(fe=+fe)+(fe>68?1900:2e3)},ke=function(fe){return function(Ge){this[fe]=+Ge}},ce=[/[+-]\d\d:?(\d\d)?|Z/,function(fe){(this.zone||(this.zone={})).offset=function(Ge){if(!Ge||Ge==="Z")return 0;var pt=Ge.match(/([+-]|\d\d)/g),ot=60*pt[1]+(+pt[2]||0);return ot===0?0:pt[0]==="+"?-ot:ot}(fe)}],Se=function(fe){var Ge=et[fe];return Ge&&(Ge.indexOf?Ge:Ge.s.concat(Ge.f))},me=function(fe,Ge){var pt,ot=et.meridiem;if(ot){for(var vt=1;vt<=24;vt+=1)if(fe.indexOf(ot(vt,0,Ge))>-1){pt=vt>12;break}}else pt=fe===(Ge?"pm":"PM");return pt},Pe={A:[Me,function(fe){this.afternoon=me(fe,!1)}],a:[Me,function(fe){this.afternoon=me(fe,!0)}],S:[/\d/,function(fe){this.milliseconds=100*+fe}],SS:[ne,function(fe){this.milliseconds=10*+fe}],SSS:[/\d{3}/,function(fe){this.milliseconds=+fe}],s:[de,ke("seconds")],ss:[de,ke("seconds")],m:[de,ke("minutes")],mm:[de,ke("minutes")],H:[de,ke("hours")],h:[de,ke("hours")],HH:[de,ke("hours")],hh:[de,ke("hours")],D:[de,ke("day")],DD:[ne,ke("day")],Do:[Me,function(fe){var Ge=et.ordinal,pt=fe.match(/\d+/);if(this.day=pt[0],Ge)for(var ot=1;ot<=31;ot+=1)Ge(ot).replace(/\[|\]/g,"")===fe&&(this.day=ot)}],M:[de,ke("month")],MM:[ne,ke("month")],MMM:[Me,function(fe){var Ge=Se("months"),pt=(Se("monthsShort")||Ge.map(function(ot){return ot.slice(0,3)})).indexOf(fe)+1;if(pt<1)throw new Error;this.month=pt%12||pt}],MMMM:[Me,function(fe){var Ge=Se("months").indexOf(fe)+1;if(Ge<1)throw new Error;this.month=Ge%12||Ge}],Y:[/[+-]?\d+/,ke("year")],YY:[ne,function(fe){this.year=we(fe)}],YYYY:[/\d{4}/,ke("year")],Z:ce,ZZ:ce};function Xe(fe){var Ge,pt;Ge=fe,pt=et&&et.formats;for(var ot=(fe=Ge.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(ye,ue,$e){var Je=$e&&$e.toUpperCase();return ue||pt[$e]||sn[$e]||pt[Je].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ht,yt,Fe){return yt||Fe.slice(1)})})).match(ee),vt=ot.length,Ee=0;Ee<vt;Ee+=1){var wt=ot[Ee],Rt=Pe[wt],tt=Rt&&Rt[0],st=Rt&&Rt[1];ot[Ee]=st?{regex:tt,parser:st}:wt.replace(/^\[|\]$/g,"")}return function(ye){for(var ue={},$e=0,Je=0;$e<vt;$e+=1){var ht=ot[$e];if(typeof ht=="string")Je+=ht.length;else{var yt=ht.regex,Fe=ht.parser,Be=ye.slice(Je),mt=yt.exec(Be)[0];Fe.call(ue,mt),ye=ye.replace(mt,"")}}return function(ze){var ut=ze.afternoon;if(ut!==void 0){var rt=ze.hours;ut?rt<12&&(ze.hours+=12):rt===12&&(ze.hours=0),delete ze.afternoon}}(ue),ue}}return function(fe,Ge,pt){pt.p.customParseFormat=!0,fe&&fe.parseTwoDigitYear&&(we=fe.parseTwoDigitYear);var ot=Ge.prototype,vt=ot.parse;ot.parse=function(Ee){var wt=Ee.date,Rt=Ee.utc,tt=Ee.args;this.$u=Rt;var st=tt[1];if(typeof st=="string"){var ye=tt[2]===!0,ue=tt[3]===!0,$e=ye||ue,Je=tt[2];ue&&(Je=tt[2]),et=this.$locale(),!ye&&Je&&(et=pt.Ls[Je]),this.$d=function(Be,mt,ze){try{if(["x","X"].indexOf(mt)>-1)return new Date((mt==="X"?1e3:1)*Be);var ut=Xe(mt)(Be),rt=ut.year,Tt=ut.month,Bt=ut.day,en=ut.hours,ct=ut.minutes,Ie=ut.seconds,Mt=ut.milliseconds,vn=ut.zone,qt=new Date,Nt=Bt||(rt||Tt?1:qt.getDate()),Kt=rt||qt.getFullYear(),nn=0;rt&&!Tt||(nn=Tt>0?Tt-1:qt.getMonth());var Cn=en||0,Sn=ct||0,tn=Ie||0,In=Mt||0;return vn?new Date(Date.UTC(Kt,nn,Nt,Cn,Sn,tn,In+60*vn.offset*1e3)):ze?new Date(Date.UTC(Kt,nn,Nt,Cn,Sn,tn,In)):new Date(Kt,nn,Nt,Cn,Sn,tn,In)}catch(br){return new Date("")}}(wt,st,Rt),this.init(),Je&&Je!==!0&&(this.$L=this.locale(Je).$L),$e&&wt!=this.format(st)&&(this.$d=new Date("")),et={}}else if(st instanceof Array)for(var ht=st.length,yt=1;yt<=ht;yt+=1){tt[1]=st[yt-1];var Fe=pt.apply(this,tt);if(Fe.isValid()){this.$d=Fe.$d,this.$L=Fe.$L,this.init();break}yt===ht&&(this.$d=new Date(""))}else vt.call(this,Ee)}}})},26850:function(Hn){(function(sn,ee){Hn.exports=ee()})(this,function(){"use strict";return function(sn,ee,ne){var de=ee.prototype,Me=function(Se){return Se&&(Se.indexOf?Se:Se.s)},et=function(Se,me,Pe,Xe,fe){var Ge=Se.name?Se:Se.$locale(),pt=Me(Ge[me]),ot=Me(Ge[Pe]),vt=pt||ot.map(function(wt){return wt.slice(0,Xe)});if(!fe)return vt;var Ee=Ge.weekStart;return vt.map(function(wt,Rt){return vt[(Rt+(Ee||0))%7]})},we=function(){return ne.Ls[ne.locale()]},ke=function(Se,me){return Se.formats[me]||function(Pe){return Pe.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Xe,fe,Ge){return fe||Ge.slice(1)})}(Se.formats[me.toUpperCase()])},ce=function(){var Se=this;return{months:function(me){return me?me.format("MMMM"):et(Se,"months")},monthsShort:function(me){return me?me.format("MMM"):et(Se,"monthsShort","months",3)},firstDayOfWeek:function(){return Se.$locale().weekStart||0},weekdays:function(me){return me?me.format("dddd"):et(Se,"weekdays")},weekdaysMin:function(me){return me?me.format("dd"):et(Se,"weekdaysMin","weekdays",2)},weekdaysShort:function(me){return me?me.format("ddd"):et(Se,"weekdaysShort","weekdays",3)},longDateFormat:function(me){return ke(Se.$locale(),me)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};de.localeData=function(){return ce.bind(this)()},ne.localeData=function(){var Se=we();return{firstDayOfWeek:function(){return Se.weekStart||0},weekdays:function(){return ne.weekdays()},weekdaysShort:function(){return ne.weekdaysShort()},weekdaysMin:function(){return ne.weekdaysMin()},months:function(){return ne.months()},monthsShort:function(){return ne.monthsShort()},longDateFormat:function(me){return ke(Se,me)},meridiem:Se.meridiem,ordinal:Se.ordinal}},ne.months=function(){return et(we(),"months")},ne.monthsShort=function(){return et(we(),"monthsShort","months",3)},ne.weekdays=function(Se){return et(we(),"weekdays",null,null,Se)},ne.weekdaysShort=function(Se){return et(we(),"weekdaysShort","weekdays",3,Se)},ne.weekdaysMin=function(Se){return et(we(),"weekdaysMin","weekdays",2,Se)}}})},23082:function(Hn){(function(sn,ee){Hn.exports=ee()})(this,function(){"use strict";var sn="week",ee="year";return function(ne,de,Me){var et=de.prototype;et.week=function(we){if(we===void 0&&(we=null),we!==null)return this.add(7*(we-this.week()),"day");var ke=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var ce=Me(this).startOf(ee).add(1,ee).date(ke),Se=Me(this).endOf(sn);if(ce.isBefore(Se))return 1}var me=Me(this).startOf(ee).date(ke).startOf(sn).subtract(1,"millisecond"),Pe=this.diff(me,sn,!0);return Pe<0?Me(this).startOf("week").week():Math.ceil(Pe)},et.weeks=function(we){return we===void 0&&(we=null),this.week(we)}}})},99873:function(Hn){(function(sn,ee){Hn.exports=ee()})(this,function(){"use strict";return function(sn,ee){ee.prototype.weekYear=function(){var ne=this.month(),de=this.week(),Me=this.year();return de===1&&ne===11?Me+1:ne===0&&de>=52?Me-1:Me}}})},33088:function(Hn){(function(sn,ee){Hn.exports=ee()})(this,function(){"use strict";return function(sn,ee){ee.prototype.weekday=function(ne){var de=this.$locale().weekStart||0,Me=this.$W,et=(Me<de?Me+7:Me)-de;return this.$utils().u(ne)?et:this.subtract(et,"day").add(ne,"day")}}})},72665:function(Hn,sn){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,de=ne?Symbol.for("react.element"):60103,Me=ne?Symbol.for("react.portal"):60106,et=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,ce=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,Xe=ne?Symbol.for("react.forward_ref"):60112,fe=ne?Symbol.for("react.suspense"):60113,Ge=ne?Symbol.for("react.suspense_list"):60120,pt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Rt=ne?Symbol.for("react.scope"):60119;function tt(ye){if(typeof ye=="object"&&ye!==null){var ue=ye.$$typeof;switch(ue){case de:switch(ye=ye.type,ye){case me:case Pe:case et:case ke:case we:case fe:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case Xe:case ot:case pt:case ce:return ye;default:return ue}}case Me:return ue}}}function st(ye){return tt(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=ce,ee=de,ee=Xe,ee=et,ee=ot,ee=pt,ee=Me,ee=ke,ee=we,ee=fe,ee=function(ye){return st(ye)||tt(ye)===me},ee=st,ee=function(ye){return tt(ye)===Se},ee=function(ye){return tt(ye)===ce},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===de},ee=function(ye){return tt(ye)===Xe},ee=function(ye){return tt(ye)===et},ee=function(ye){return tt(ye)===ot},sn.isMemo=function(ye){return tt(ye)===pt},ee=function(ye){return tt(ye)===Me},ee=function(ye){return tt(ye)===ke},ee=function(ye){return tt(ye)===we},ee=function(ye){return tt(ye)===fe},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===et||ye===Pe||ye===ke||ye===we||ye===fe||ye===Ge||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===pt||ye.$$typeof===ce||ye.$$typeof===Se||ye.$$typeof===Xe||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Rt||ye.$$typeof===vt)},ee=tt},12060:function(Hn,sn,ee){"use strict";Hn.exports=ee(72665)},41771:function(Hn,sn){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,de=ne?Symbol.for("react.element"):60103,Me=ne?Symbol.for("react.portal"):60106,et=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,ce=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,Xe=ne?Symbol.for("react.forward_ref"):60112,fe=ne?Symbol.for("react.suspense"):60113,Ge=ne?Symbol.for("react.suspense_list"):60120,pt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Rt=ne?Symbol.for("react.scope"):60119;function tt(ye){if(typeof ye=="object"&&ye!==null){var ue=ye.$$typeof;switch(ue){case de:switch(ye=ye.type,ye){case me:case Pe:case et:case ke:case we:case fe:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case Xe:case ot:case pt:case ce:return ye;default:return ue}}case Me:return ue}}}function st(ye){return tt(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=ce,ee=de,ee=Xe,ee=et,ee=ot,ee=pt,ee=Me,ee=ke,ee=we,ee=fe,ee=function(ye){return st(ye)||tt(ye)===me},ee=st,ee=function(ye){return tt(ye)===Se},ee=function(ye){return tt(ye)===ce},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===de},ee=function(ye){return tt(ye)===Xe},sn.isFragment=function(ye){return tt(ye)===et},ee=function(ye){return tt(ye)===ot},ee=function(ye){return tt(ye)===pt},ee=function(ye){return tt(ye)===Me},ee=function(ye){return tt(ye)===ke},ee=function(ye){return tt(ye)===we},ee=function(ye){return tt(ye)===fe},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===et||ye===Pe||ye===ke||ye===we||ye===fe||ye===Ge||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===pt||ye.$$typeof===ce||ye.$$typeof===Se||ye.$$typeof===Xe||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Rt||ye.$$typeof===vt)},ee=tt},47655:function(Hn,sn,ee){"use strict";Hn.exports=ee(41771)},64701:function(Hn,sn,ee){"use strict";ee.r(sn),ee.d(sn,{ResizableTextArea:function(){return vn},default:function(){return Sn}});var ne=ee(87462),de=ee(1413),Me=ee(4942),et=ee(71002),we=ee(97685),ke=ee(45987),ce=ee(74902),Se=ee(94184),me=ee.n(Se),Pe=ee(67656),Xe=ee(87887),fe=ee(67294);function Ge(tn){var In=fe.useRef();In.current=tn;var br=fe.useCallback(function(){for(var gn,Ye=arguments.length,ve=new Array(Ye),he=0;he<Ye;he++)ve[he]=arguments[he];return(gn=In.current)===null||gn===void 0?void 0:gn.call.apply(gn,[In].concat(ve))},[]);return br}function pt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ot=pt()?fe.useLayoutEffect:fe.useEffect,vt=ot,Ee=function(In,br){var gn=fe.useRef(!0);ot(function(){if(!gn.current)return In()},br),ot(function(){return gn.current=!1,function(){gn.current=!0}},[])};function wt(tn){var In=fe.useRef(!1),br=fe.useState(tn),gn=(0,we.Z)(br,2),Ye=gn[0],ve=gn[1];fe.useEffect(function(){return In.current=!1,function(){In.current=!0}},[]);function he(be,ge){ge&&In.current||ve(be)}return[Ye,he]}function Rt(tn){return tn!==void 0}function tt(tn,In){var br=In||{},gn=br.defaultValue,Ye=br.value,ve=br.onChange,he=br.postState,be=wt(function(){return Rt(Ye)?Ye:Rt(gn)?typeof gn=="function"?gn():gn:typeof tn=="function"?tn():tn}),ge=(0,we.Z)(be,2),se=ge[0],je=ge[1],xt=Ye!==void 0?Ye:se,En=he?he(xt):xt,un=Ge(ve),Pn=wt([xt]),Xn=(0,we.Z)(Pn,2),_n=Xn[0],Vt=Xn[1];Ee(function(){var Kn=_n[0];se!==Kn&&un(se,Kn)},[_n]),Ee(function(){Rt(Ye)||je(Ye)},[Ye]);var yn=Ge(function(Kn,On){je(Kn,On),Vt([xt],On)});return[En,yn]}var st=ee(48555),ye=function(In){return+setTimeout(In,16)},ue=function(In){return clearTimeout(In)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ye=function(In){return window.requestAnimationFrame(In)},ue=function(In){return window.cancelAnimationFrame(In)});var $e=0,Je=new Map;function ht(tn){Je.delete(tn)}var yt=function(In){var br=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;$e+=1;var gn=$e;function Ye(ve){if(ve===0)ht(gn),In();else{var he=ye(function(){Ye(ve-1)});Je.set(gn,he)}}return Ye(br),gn};yt.cancel=function(tn){var In=Je.get(tn);return ht(In),ue(In)};var Fe=yt,Be=`
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;
`,mt=["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"],ze={},ut;function rt(tn){var In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,br=tn.getAttribute("id")||tn.getAttribute("data-reactid")||tn.getAttribute("name");if(In&&ze[br])return ze[br];var gn=window.getComputedStyle(tn),Ye=gn.getPropertyValue("box-sizing")||gn.getPropertyValue("-moz-box-sizing")||gn.getPropertyValue("-webkit-box-sizing"),ve=parseFloat(gn.getPropertyValue("padding-bottom"))+parseFloat(gn.getPropertyValue("padding-top")),he=parseFloat(gn.getPropertyValue("border-bottom-width"))+parseFloat(gn.getPropertyValue("border-top-width")),be=mt.map(function(se){return"".concat(se,":").concat(gn.getPropertyValue(se))}).join(";"),ge={sizingStyle:be,paddingSize:ve,borderSize:he,boxSizing:Ye};return In&&br&&(ze[br]=ge),ge}function Tt(tn){var In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,gn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ut||(ut=document.createElement("textarea"),ut.setAttribute("tab-index","-1"),ut.setAttribute("aria-hidden","true"),document.body.appendChild(ut)),tn.getAttribute("wrap")?ut.setAttribute("wrap",tn.getAttribute("wrap")):ut.removeAttribute("wrap");var Ye=rt(tn,In),ve=Ye.paddingSize,he=Ye.borderSize,be=Ye.boxSizing,ge=Ye.sizingStyle;ut.setAttribute("style","".concat(ge,";").concat(Be)),ut.value=tn.value||tn.placeholder||"";var se=void 0,je=void 0,xt,En=ut.scrollHeight;if(be==="border-box"?En+=he:be==="content-box"&&(En-=ve),br!==null||gn!==null){ut.value=" ";var un=ut.scrollHeight-ve;br!==null&&(se=un*br,be==="border-box"&&(se=se+ve+he),En=Math.max(se,En)),gn!==null&&(je=un*gn,be==="border-box"&&(je=je+ve+he),xt=En>je?"":"hidden",En=Math.min(je,En))}var Pn={height:En,overflowY:xt,resize:"none"};return se&&(Pn.minHeight=se),je&&(Pn.maxHeight=je),Pn}var Bt=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],en=0,ct=1,Ie=2,Mt=fe.forwardRef(function(tn,In){var br=tn,gn=br.prefixCls,Ye=br.onPressEnter,ve=br.defaultValue,he=br.value,be=br.autoSize,ge=br.onResize,se=br.className,je=br.style,xt=br.disabled,En=br.onChange,un=br.onInternalAutoSize,Pn=(0,ke.Z)(br,Bt),Xn=tt(ve,{value:he,postState:function(Cr){return Cr!=null?Cr:""}}),_n=(0,we.Z)(Xn,2),Vt=_n[0],yn=_n[1],Kn=function(Cr){yn(Cr.target.value),En==null||En(Cr)},On=fe.useRef();fe.useImperativeHandle(In,function(){return{textArea:On.current}});var Qt=fe.useMemo(function(){return be&&(0,et.Z)(be)==="object"?[be.minRows,be.maxRows]:[]},[be]),Dr=(0,we.Z)(Qt,2),jt=Dr[0],rn=Dr[1],Ir=!!be,ur=function(){try{if(document.activeElement===On.current){var Cr=On.current,Or=Cr.selectionStart,Lr=Cr.selectionEnd,sa=Cr.scrollTop;On.current.setSelectionRange(Or,Lr),On.current.scrollTop=sa}}catch(pn){}},Rr=fe.useState(Ie),aa=(0,we.Z)(Rr,2),qn=aa[0],Pa=aa[1],Fa=fe.useState(),_a=(0,we.Z)(Fa,2),Xr=_a[0],Da=_a[1],Mi=function(){Pa(en)};vt(function(){Ir&&Mi()},[he,jt,rn,Ir]),vt(function(){if(qn===en)Pa(ct);else if(qn===ct){var ir=Tt(On.current,!1,jt,rn);Pa(Ie),Da(ir)}else ur()},[qn]);var Si=fe.useRef(),zi=function(){Fe.cancel(Si.current)},fi=function(Cr){qn===Ie&&(ge==null||ge(Cr),be&&(zi(),Si.current=Fe(function(){Mi()})))};fe.useEffect(function(){return zi},[]);var Tn=Ir?Xr:null,bn=(0,de.Z)((0,de.Z)({},je),Tn);return(qn===en||qn===ct)&&(bn.overflowY="hidden",bn.overflowX="hidden"),fe.createElement(st.Z,{onResize:fi,disabled:!(be||ge)},fe.createElement("textarea",(0,ne.Z)({},Pn,{ref:On,style:bn,className:me()(gn,se,(0,Me.Z)({},"".concat(gn,"-disabled"),xt)),disabled:xt,value:Vt,onChange:Kn})))}),vn=Mt,qt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Nt(tn,In){return(0,ce.Z)(tn||"").slice(0,In).join("")}function Kt(tn,In,br,gn){var Ye=br;return tn?Ye=Nt(br,gn):(0,ce.Z)(In||"").length<br.length&&(0,ce.Z)(br||"").length>gn&&(Ye=In),Ye}var nn=fe.forwardRef(function(tn,In){var br,gn=tn.defaultValue,Ye=tn.value,ve=tn.onFocus,he=tn.onBlur,be=tn.onChange,ge=tn.allowClear,se=tn.maxLength,je=tn.onCompositionStart,xt=tn.onCompositionEnd,En=tn.suffix,un=tn.prefixCls,Pn=un===void 0?"rc-textarea":un,Xn=tn.classes,_n=tn.showCount,Vt=tn.className,yn=tn.style,Kn=tn.disabled,On=tn.hidden,Qt=tn.classNames,Dr=tn.styles,jt=tn.onResize,rn=(0,ke.Z)(tn,qt),Ir=tt(gn,{value:Ye,defaultValue:gn}),ur=(0,we.Z)(Ir,2),Rr=ur[0],aa=ur[1],qn=(0,fe.useRef)(null),Pa=fe.useState(!1),Fa=(0,we.Z)(Pa,2),_a=Fa[0],Xr=Fa[1],Da=fe.useState(!1),Mi=(0,we.Z)(Da,2),Si=Mi[0],zi=Mi[1],fi=fe.useRef(),Tn=fe.useRef(0),bn=fe.useState(null),ir=(0,we.Z)(bn,2),Cr=ir[0],Or=ir[1],Lr=function(){var Sa;(Sa=qn.current)===null||Sa===void 0||Sa.textArea.focus()};(0,fe.useImperativeHandle)(In,function(){return{resizableTextArea:qn.current,focus:Lr,blur:function(){var Sa;(Sa=qn.current)===null||Sa===void 0||Sa.textArea.blur()}}}),(0,fe.useEffect)(function(){Xr(function(ya){return!Kn&&ya})},[Kn]);var sa=Number(se)>0,pn=function(Sa){zi(!0),fi.current=Rr,Tn.current=Sa.currentTarget.selectionStart,je==null||je(Sa)},At=function(Sa){zi(!1);var Ma=Sa.currentTarget.value;if(sa){var pa,Er=Tn.current>=se+1||Tn.current===((pa=fi.current)===null||pa===void 0?void 0:pa.length);Ma=Kt(Er,fi.current,Ma,se)}Ma!==Rr&&(aa(Ma),(0,Xe.rJ)(Sa.currentTarget,Sa,be,Ma)),xt==null||xt(Sa)},Zt=function(Sa){var Ma=Sa.target.value;if(!Si&&sa){var pa=Sa.target.selectionStart>=se+1||Sa.target.selectionStart===Ma.length||!Sa.target.selectionStart;Ma=Kt(pa,Rr,Ma,se)}aa(Ma),(0,Xe.rJ)(Sa.currentTarget,Sa,be,Ma)},on=function(Sa){var Ma=rn.onPressEnter,pa=rn.onKeyDown;Sa.key==="Enter"&&Ma&&Ma(Sa),pa==null||pa(Sa)},Yn=function(Sa){Xr(!0),ve==null||ve(Sa)},Dt=function(Sa){Xr(!1),he==null||he(Sa)},fn=function(Sa){var Ma;aa(""),Lr(),(0,Xe.rJ)((Ma=qn.current)===null||Ma===void 0?void 0:Ma.textArea,Sa,be)},Vn=(0,Xe.D7)(Rr);!Si&&sa&&Ye==null&&(Vn=Nt(Vn,se));var kn=En,rr;if(_n){var fr=(0,ce.Z)(Vn).length;(0,et.Z)(_n)==="object"?rr=_n.formatter({value:Vn,count:fr,maxLength:se}):rr="".concat(fr).concat(sa?" / ".concat(se):""),kn=fe.createElement(fe.Fragment,null,kn,fe.createElement("span",{className:me()("".concat(Pn,"-data-count"),Qt==null?void 0:Qt.count),style:Dr==null?void 0:Dr.count},rr))}var mn=function(Sa){var Ma;jt==null||jt(Sa),(Ma=qn.current)!==null&&Ma!==void 0&&Ma.textArea.style.height&&Or(!0)},Ta=!rn.autoSize&&!_n&&!ge,ha=fe.createElement(Pe.BaseInput,{value:Vn,allowClear:ge,handleReset:fn,suffix:kn,prefixCls:Pn,classes:{affixWrapper:me()(Xn==null?void 0:Xn.affixWrapper,(br={},(0,Me.Z)(br,"".concat(Pn,"-show-count"),_n),(0,Me.Z)(br,"".concat(Pn,"-textarea-allow-clear"),ge),br))},disabled:Kn,focused:_a,className:Vt,style:(0,de.Z)((0,de.Z)({},yn),Cr&&!Ta?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof rr=="string"?rr:void 0}},hidden:On,inputElement:fe.createElement(vn,(0,ne.Z)({},rn,{onKeyDown:on,onChange:Zt,onFocus:Yn,onBlur:Dt,onCompositionStart:pn,onCompositionEnd:At,className:Qt==null?void 0:Qt.textarea,style:(0,de.Z)((0,de.Z)({},Dr==null?void 0:Dr.textarea),{},{resize:yn==null?void 0:yn.resize}),disabled:Kn,prefixCls:Pn,onResize:mn,ref:qn}))});return ha}),Cn=nn,Sn=Cn},56261:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Je}});var ne=ee(87462),de=ee(4942),Me=ee(45987),et=ee(1413),we=ee(15671),ke=ee(43144),ce=ee(97326),Se=ee(60136),me=ee(51630),Pe=ee(94184),Xe=ee.n(Pe),fe=ee(34952),Ge=ee(67294),pt=ee(69610),ot=function(yt){for(var Fe=yt.prefixCls,Be=yt.level,mt=yt.isStart,ze=yt.isEnd,ut="".concat(Fe,"-indent-unit"),rt=[],Tt=0;Tt<Be;Tt+=1){var Bt;rt.push(Ge.createElement("span",{key:Tt,className:Xe()(ut,(Bt={},(0,de.Z)(Bt,"".concat(ut,"-start"),mt[Tt]),(0,de.Z)(Bt,"".concat(ut,"-end"),ze[Tt]),Bt))}))}return Ge.createElement("span",{"aria-hidden":"true",className:"".concat(Fe,"-indent")},rt)},vt=Ge.memo(ot),Ee=ee(3596),wt=ee(83898),Rt=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],tt="open",st="close",ye="---",ue=function(ht){(0,Se.Z)(Fe,ht);var yt=(0,me.Z)(Fe);function Fe(){var Be;(0,we.Z)(this,Fe);for(var mt=arguments.length,ze=new Array(mt),ut=0;ut<mt;ut++)ze[ut]=arguments[ut];return Be=yt.call.apply(yt,[this].concat(ze)),Be.state={dragNodeHighlight:!1},Be.selectHandle=void 0,Be.cacheIndent=void 0,Be.onSelectorClick=function(rt){var Tt=Be.props.context.onNodeClick;Tt(rt,(0,wt.F)(Be.props)),Be.isSelectable()?Be.onSelect(rt):Be.onCheck(rt)},Be.onSelectorDoubleClick=function(rt){var Tt=Be.props.context.onNodeDoubleClick;Tt(rt,(0,wt.F)(Be.props))},Be.onSelect=function(rt){if(!Be.isDisabled()){var Tt=Be.props.context.onNodeSelect;Tt(rt,(0,wt.F)(Be.props))}},Be.onCheck=function(rt){if(!Be.isDisabled()){var Tt=Be.props,Bt=Tt.disableCheckbox,en=Tt.checked,ct=Be.props.context.onNodeCheck;if(!(!Be.isCheckable()||Bt)){var Ie=!en;ct(rt,(0,wt.F)(Be.props),Ie)}}},Be.onMouseEnter=function(rt){var Tt=Be.props.context.onNodeMouseEnter;Tt(rt,(0,wt.F)(Be.props))},Be.onMouseLeave=function(rt){var Tt=Be.props.context.onNodeMouseLeave;Tt(rt,(0,wt.F)(Be.props))},Be.onContextMenu=function(rt){var Tt=Be.props.context.onNodeContextMenu;Tt(rt,(0,wt.F)(Be.props))},Be.onDragStart=function(rt){var Tt=Be.props.context.onNodeDragStart;rt.stopPropagation(),Be.setState({dragNodeHighlight:!0}),Tt(rt,(0,ce.Z)(Be));try{rt.dataTransfer.setData("text/plain","")}catch(Bt){}},Be.onDragEnter=function(rt){var Tt=Be.props.context.onNodeDragEnter;rt.preventDefault(),rt.stopPropagation(),Tt(rt,(0,ce.Z)(Be))},Be.onDragOver=function(rt){var Tt=Be.props.context.onNodeDragOver;rt.preventDefault(),rt.stopPropagation(),Tt(rt,(0,ce.Z)(Be))},Be.onDragLeave=function(rt){var Tt=Be.props.context.onNodeDragLeave;rt.stopPropagation(),Tt(rt,(0,ce.Z)(Be))},Be.onDragEnd=function(rt){var Tt=Be.props.context.onNodeDragEnd;rt.stopPropagation(),Be.setState({dragNodeHighlight:!1}),Tt(rt,(0,ce.Z)(Be))},Be.onDrop=function(rt){var Tt=Be.props.context.onNodeDrop;rt.preventDefault(),rt.stopPropagation(),Be.setState({dragNodeHighlight:!1}),Tt(rt,(0,ce.Z)(Be))},Be.onExpand=function(rt){var Tt=Be.props,Bt=Tt.loading,en=Tt.context.onNodeExpand;Bt||en(rt,(0,wt.F)(Be.props))},Be.setSelectHandle=function(rt){Be.selectHandle=rt},Be.getNodeState=function(){var rt=Be.props.expanded;return Be.isLeaf()?null:rt?tt:st},Be.hasChildren=function(){var rt=Be.props.eventKey,Tt=Be.props.context.keyEntities,Bt=(0,Ee.Z)(Tt,rt)||{},en=Bt.children;return!!(en||[]).length},Be.isLeaf=function(){var rt=Be.props,Tt=rt.isLeaf,Bt=rt.loaded,en=Be.props.context.loadData,ct=Be.hasChildren();return Tt===!1?!1:Tt||!en&&!ct||en&&Bt&&!ct},Be.isDisabled=function(){var rt=Be.props.disabled,Tt=Be.props.context.disabled;return!!(Tt||rt)},Be.isCheckable=function(){var rt=Be.props.checkable,Tt=Be.props.context.checkable;return!Tt||rt===!1?!1:Tt},Be.syncLoadData=function(rt){var Tt=rt.expanded,Bt=rt.loading,en=rt.loaded,ct=Be.props.context,Ie=ct.loadData,Mt=ct.onNodeLoad;Bt||Ie&&Tt&&!Be.isLeaf()&&!Be.hasChildren()&&!en&&Mt((0,wt.F)(Be.props))},Be.isDraggable=function(){var rt=Be.props,Tt=rt.data,Bt=rt.context.draggable;return!!(Bt&&(!Bt.nodeDraggable||Bt.nodeDraggable(Tt)))},Be.renderDragHandler=function(){var rt=Be.props.context,Tt=rt.draggable,Bt=rt.prefixCls;return Tt!=null&&Tt.icon?Ge.createElement("span",{className:"".concat(Bt,"-draggable-icon")},Tt.icon):null},Be.renderSwitcherIconDom=function(rt){var Tt=Be.props.switcherIcon,Bt=Be.props.context.switcherIcon,en=Tt||Bt;return typeof en=="function"?en((0,et.Z)((0,et.Z)({},Be.props),{},{isLeaf:rt})):en},Be.renderSwitcher=function(){var rt=Be.props.expanded,Tt=Be.props.context.prefixCls;if(Be.isLeaf()){var Bt=Be.renderSwitcherIconDom(!0);return Bt!==!1?Ge.createElement("span",{className:Xe()("".concat(Tt,"-switcher"),"".concat(Tt,"-switcher-noop"))},Bt):null}var en=Xe()("".concat(Tt,"-switcher"),"".concat(Tt,"-switcher_").concat(rt?tt:st)),ct=Be.renderSwitcherIconDom(!1);return ct!==!1?Ge.createElement("span",{onClick:Be.onExpand,className:en},ct):null},Be.renderCheckbox=function(){var rt=Be.props,Tt=rt.checked,Bt=rt.halfChecked,en=rt.disableCheckbox,ct=Be.props.context.prefixCls,Ie=Be.isDisabled(),Mt=Be.isCheckable();if(!Mt)return null;var vn=typeof Mt!="boolean"?Mt:null;return Ge.createElement("span",{className:Xe()("".concat(ct,"-checkbox"),Tt&&"".concat(ct,"-checkbox-checked"),!Tt&&Bt&&"".concat(ct,"-checkbox-indeterminate"),(Ie||en)&&"".concat(ct,"-checkbox-disabled")),onClick:Be.onCheck},vn)},Be.renderIcon=function(){var rt=Be.props.loading,Tt=Be.props.context.prefixCls;return Ge.createElement("span",{className:Xe()("".concat(Tt,"-iconEle"),"".concat(Tt,"-icon__").concat(Be.getNodeState()||"docu"),rt&&"".concat(Tt,"-icon_loading"))})},Be.renderSelector=function(){var rt=Be.state.dragNodeHighlight,Tt=Be.props,Bt=Tt.title,en=Bt===void 0?ye:Bt,ct=Tt.selected,Ie=Tt.icon,Mt=Tt.loading,vn=Tt.data,qt=Be.props.context,Nt=qt.prefixCls,Kt=qt.showIcon,nn=qt.icon,Cn=qt.loadData,Sn=qt.titleRender,tn=Be.isDisabled(),In="".concat(Nt,"-node-content-wrapper"),br;if(Kt){var gn=Ie||nn;br=gn?Ge.createElement("span",{className:Xe()("".concat(Nt,"-iconEle"),"".concat(Nt,"-icon__customize"))},typeof gn=="function"?gn(Be.props):gn):Be.renderIcon()}else Cn&&Mt&&(br=Be.renderIcon());var Ye;typeof en=="function"?Ye=en(vn):Sn?Ye=Sn(vn):Ye=en;var ve=Ge.createElement("span",{className:"".concat(Nt,"-title")},Ye);return Ge.createElement("span",{ref:Be.setSelectHandle,title:typeof en=="string"?en:"",className:Xe()("".concat(In),"".concat(In,"-").concat(Be.getNodeState()||"normal"),!tn&&(ct||rt)&&"".concat(Nt,"-node-selected")),onMouseEnter:Be.onMouseEnter,onMouseLeave:Be.onMouseLeave,onContextMenu:Be.onContextMenu,onClick:Be.onSelectorClick,onDoubleClick:Be.onSelectorDoubleClick},br,ve,Be.renderDropIndicator())},Be.renderDropIndicator=function(){var rt=Be.props,Tt=rt.disabled,Bt=rt.eventKey,en=Be.props.context,ct=en.draggable,Ie=en.dropLevelOffset,Mt=en.dropPosition,vn=en.prefixCls,qt=en.indent,Nt=en.dropIndicatorRender,Kt=en.dragOverNodeKey,nn=en.direction,Cn=!!ct,Sn=!Tt&&Cn&&Kt===Bt,tn=qt!=null?qt:Be.cacheIndent;return Be.cacheIndent=qt,Sn?Nt({dropPosition:Mt,dropLevelOffset:Ie,indent:tn,prefixCls:vn,direction:nn}):null},Be}return(0,ke.Z)(Fe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var mt=this.props.selectable,ze=this.props.context.selectable;return typeof mt=="boolean"?mt:ze}},{key:"render",value:function(){var mt,ze=this.props,ut=ze.eventKey,rt=ze.className,Tt=ze.style,Bt=ze.dragOver,en=ze.dragOverGapTop,ct=ze.dragOverGapBottom,Ie=ze.isLeaf,Mt=ze.isStart,vn=ze.isEnd,qt=ze.expanded,Nt=ze.selected,Kt=ze.checked,nn=ze.halfChecked,Cn=ze.loading,Sn=ze.domRef,tn=ze.active,In=ze.data,br=ze.onMouseMove,gn=ze.selectable,Ye=(0,Me.Z)(ze,Rt),ve=this.props.context,he=ve.prefixCls,be=ve.filterTreeNode,ge=ve.keyEntities,se=ve.dropContainerKey,je=ve.dropTargetKey,xt=ve.draggingNodeKey,En=this.isDisabled(),un=(0,fe.Z)(Ye,{aria:!0,data:!0}),Pn=(0,Ee.Z)(ge,ut)||{},Xn=Pn.level,_n=vn[vn.length-1],Vt=this.isDraggable(),yn=!En&&Vt,Kn=xt===ut,On=gn!==void 0?{"aria-selected":!!gn}:void 0;return Ge.createElement("div",(0,ne.Z)({ref:Sn,className:Xe()(rt,"".concat(he,"-treenode"),(mt={},(0,de.Z)(mt,"".concat(he,"-treenode-disabled"),En),(0,de.Z)(mt,"".concat(he,"-treenode-switcher-").concat(qt?"open":"close"),!Ie),(0,de.Z)(mt,"".concat(he,"-treenode-checkbox-checked"),Kt),(0,de.Z)(mt,"".concat(he,"-treenode-checkbox-indeterminate"),nn),(0,de.Z)(mt,"".concat(he,"-treenode-selected"),Nt),(0,de.Z)(mt,"".concat(he,"-treenode-loading"),Cn),(0,de.Z)(mt,"".concat(he,"-treenode-active"),tn),(0,de.Z)(mt,"".concat(he,"-treenode-leaf-last"),_n),(0,de.Z)(mt,"".concat(he,"-treenode-draggable"),Vt),(0,de.Z)(mt,"dragging",Kn),(0,de.Z)(mt,"drop-target",je===ut),(0,de.Z)(mt,"drop-container",se===ut),(0,de.Z)(mt,"drag-over",!En&&Bt),(0,de.Z)(mt,"drag-over-gap-top",!En&&en),(0,de.Z)(mt,"drag-over-gap-bottom",!En&&ct),(0,de.Z)(mt,"filter-node",be&&be((0,wt.F)(this.props))),mt)),style:Tt,draggable:yn,"aria-grabbed":Kn,onDragStart:yn?this.onDragStart:void 0,onDragEnter:Vt?this.onDragEnter:void 0,onDragOver:Vt?this.onDragOver:void 0,onDragLeave:Vt?this.onDragLeave:void 0,onDrop:Vt?this.onDrop:void 0,onDragEnd:Vt?this.onDragEnd:void 0,onMouseMove:br},On,un),Ge.createElement(vt,{prefixCls:he,level:Xn,isStart:Mt,isEnd:vn}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Fe}(Ge.Component),$e=function(yt){return Ge.createElement(pt.k.Consumer,null,function(Fe){return Ge.createElement(ue,(0,ne.Z)({},yt,{context:Fe}))})};$e.displayName="TreeNode",$e.isTreeNode=1;var Je=$e},69610:function(Hn,sn,ee){"use strict";ee.d(sn,{k:function(){return de}});var ne=ee(67294),de=ne.createContext(null)},29873:function(Hn,sn,ee){"use strict";ee.d(sn,{BT:function(){return vt},E6:function(){return Rt},L0:function(){return Pe},OM:function(){return ot},_5:function(){return me},r7:function(){return tt},wA:function(){return fe},yx:function(){return Xe}});var ne=ee(74902),de=ee(71002),Me=ee(72978),et=ee(67294),we=ee(56261),ke=ee(3596),ce=ee(83898),Se=null;function me(st,ye){if(!st)return[];var ue=st.slice(),$e=ue.indexOf(ye);return $e>=0&&ue.splice($e,1),ue}function Pe(st,ye){var ue=(st||[]).slice();return ue.indexOf(ye)===-1&&ue.push(ye),ue}function Xe(st){return st.split("-")}function fe(st,ye){var ue=[],$e=(0,ke.Z)(ye,st);function Je(){var ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ht.forEach(function(yt){var Fe=yt.key,Be=yt.children;ue.push(Fe),Je(Be)})}return Je($e.children),ue}function Ge(st){if(st.parent){var ye=Xe(st.pos);return Number(ye[ye.length-1])===st.parent.children.length-1}return!1}function pt(st){var ye=Xe(st.pos);return Number(ye[ye.length-1])===0}function ot(st,ye,ue,$e,Je,ht,yt,Fe,Be,mt){var ze,ut=st.clientX,rt=st.clientY,Tt=st.target.getBoundingClientRect(),Bt=Tt.top,en=Tt.height,ct=(mt==="rtl"?-1:1)*(((Je==null?void 0:Je.x)||0)-ut),Ie=(ct-12)/$e,Mt=(0,ke.Z)(Fe,ue.props.eventKey);if(rt<Bt+en/2){var vn=yt.findIndex(function(ve){return ve.key===Mt.key}),qt=vn<=0?0:vn-1,Nt=yt[qt].key;Mt=(0,ke.Z)(Fe,Nt)}var Kt=Mt.key,nn=Mt,Cn=Mt.key,Sn=0,tn=0;if(!Be.includes(Kt))for(var In=0;In<Ie&&Ge(Mt);In+=1)Mt=Mt.parent,tn+=1;var br=ye.props.data,gn=Mt.node,Ye=!0;return pt(Mt)&&Mt.level===0&&rt<Bt+en/2&&ht({dragNode:br,dropNode:gn,dropPosition:-1})&&Mt.key===ue.props.eventKey?Sn=-1:(nn.children||[]).length&&Be.includes(Cn)?ht({dragNode:br,dropNode:gn,dropPosition:0})?Sn=0:Ye=!1:tn===0?Ie>-1.5?ht({dragNode:br,dropNode:gn,dropPosition:1})?Sn=1:Ye=!1:ht({dragNode:br,dropNode:gn,dropPosition:0})?Sn=0:ht({dragNode:br,dropNode:gn,dropPosition:1})?Sn=1:Ye=!1:ht({dragNode:br,dropNode:gn,dropPosition:1})?Sn=1:Ye=!1,{dropPosition:Sn,dropLevelOffset:tn,dropTargetKey:Mt.key,dropTargetPos:Mt.pos,dragOverNodeKey:Cn,dropContainerKey:Sn===0?null:((ze=Mt.parent)===null||ze===void 0?void 0:ze.key)||null,dropAllowed:Ye}}function vt(st,ye){if(st){var ue=ye.multiple;return ue?st.slice():st.length?[st[0]]:st}}var Ee=function(ye){return ye};function wt(st,ye){if(!st)return[];var ue=ye||{},$e=ue.processProps,Je=$e===void 0?Ee:$e,ht=Array.isArray(st)?st:[st];return ht.map(function(yt){var Fe=yt.children,Be=_objectWithoutProperties(yt,Se),mt=wt(Fe,ye);return React.createElement(TreeNode,_extends({key:Be.key},Je(Be)),mt)})}function Rt(st){if(!st)return null;var ye;if(Array.isArray(st))ye={checkedKeys:st,halfCheckedKeys:void 0};else if((0,de.Z)(st)==="object")ye={checkedKeys:st.checked||void 0,halfCheckedKeys:st.halfChecked||void 0};else return(0,Me.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ye}function tt(st,ye){var ue=new Set;function $e(Je){if(!ue.has(Je)){var ht=(0,ke.Z)(ye,Je);if(ht){ue.add(Je);var yt=ht.parent,Fe=ht.node;Fe.disabled||yt&&$e(yt.key)}}}return(st||[]).forEach(function(Je){$e(Je)}),(0,ne.Z)(ue)}},97153:function(Hn,sn,ee){"use strict";ee.d(sn,{S:function(){return ce}});var ne=ee(72978),de=ee(3596);function Me(Se,me){var Pe=new Set;return Se.forEach(function(Xe){me.has(Xe)||Pe.add(Xe)}),Pe}function et(Se){var me=Se||{},Pe=me.disabled,Xe=me.disableCheckbox,fe=me.checkable;return!!(Pe||Xe)||fe===!1}function we(Se,me,Pe,Xe){for(var fe=new Set(Se),Ge=new Set,pt=0;pt<=Pe;pt+=1){var ot=me.get(pt)||new Set;ot.forEach(function(Rt){var tt=Rt.key,st=Rt.node,ye=Rt.children,ue=ye===void 0?[]:ye;fe.has(tt)&&!Xe(st)&&ue.filter(function($e){return!Xe($e.node)}).forEach(function($e){fe.add($e.key)})})}for(var vt=new Set,Ee=Pe;Ee>=0;Ee-=1){var wt=me.get(Ee)||new Set;wt.forEach(function(Rt){var tt=Rt.parent,st=Rt.node;if(!(Xe(st)||!Rt.parent||vt.has(Rt.parent.key))){if(Xe(Rt.parent.node)){vt.add(tt.key);return}var ye=!0,ue=!1;(tt.children||[]).filter(function($e){return!Xe($e.node)}).forEach(function($e){var Je=$e.key,ht=fe.has(Je);ye&&!ht&&(ye=!1),!ue&&(ht||Ge.has(Je))&&(ue=!0)}),ye&&fe.add(tt.key),ue&&Ge.add(tt.key),vt.add(tt.key)}})}return{checkedKeys:Array.from(fe),halfCheckedKeys:Array.from(Me(Ge,fe))}}function ke(Se,me,Pe,Xe,fe){for(var Ge=new Set(Se),pt=new Set(me),ot=0;ot<=Xe;ot+=1){var vt=Pe.get(ot)||new Set;vt.forEach(function(tt){var st=tt.key,ye=tt.node,ue=tt.children,$e=ue===void 0?[]:ue;!Ge.has(st)&&!pt.has(st)&&!fe(ye)&&$e.filter(function(Je){return!fe(Je.node)}).forEach(function(Je){Ge.delete(Je.key)})})}pt=new Set;for(var Ee=new Set,wt=Xe;wt>=0;wt-=1){var Rt=Pe.get(wt)||new Set;Rt.forEach(function(tt){var st=tt.parent,ye=tt.node;if(!(fe(ye)||!tt.parent||Ee.has(tt.parent.key))){if(fe(tt.parent.node)){Ee.add(st.key);return}var ue=!0,$e=!1;(st.children||[]).filter(function(Je){return!fe(Je.node)}).forEach(function(Je){var ht=Je.key,yt=Ge.has(ht);ue&&!yt&&(ue=!1),!$e&&(yt||pt.has(ht))&&($e=!0)}),ue||Ge.delete(st.key),$e&&pt.add(st.key),Ee.add(st.key)}})}return{checkedKeys:Array.from(Ge),halfCheckedKeys:Array.from(Me(pt,Ge))}}function ce(Se,me,Pe,Xe){var fe=[],Ge;Xe?Ge=Xe:Ge=et;var pt=new Set(Se.filter(function(wt){var Rt=!!(0,de.Z)(Pe,wt);return Rt||fe.push(wt),Rt})),ot=new Map,vt=0;Object.keys(Pe).forEach(function(wt){var Rt=Pe[wt],tt=Rt.level,st=ot.get(tt);st||(st=new Set,ot.set(tt,st)),st.add(Rt),vt=Math.max(vt,tt)}),(0,ne.ZP)(!fe.length,"Tree missing follow keys: ".concat(fe.slice(0,100).map(function(wt){return"'".concat(wt,"'")}).join(", ")));var Ee;return me===!0?Ee=we(pt,ot,vt,Ge):Ee=ke(pt,me.halfCheckedKeys,ot,vt,Ge),Ee}},3596:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ne}});function ne(de,Me){return de[Me]}},83898:function(Hn,sn,ee){"use strict";ee.d(sn,{I8:function(){return tt},F:function(){return ye},zn:function(){return Ee},w$:function(){return ot},oH:function(){return wt},km:function(){return pt},H8:function(){return st}});var ne=ee(71002),de=ee(74902),Me=ee(1413),et=ee(45987),we=ee(67294),ke=ee(28580);function ce(ue){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Je=[];return we.Children.forEach(ue,function(ht){ht==null&&!$e.keepEmpty||(Array.isArray(ht)?Je=Je.concat(ce(ht)):(0,ke.isFragment)(ht)&&ht.props?Je=Je.concat(ce(ht.props.children,$e)):Je.push(ht))}),Je}function Se(ue,$e){var Je=(0,Me.Z)({},ue);return Array.isArray($e)&&$e.forEach(function(ht){delete Je[ht]}),Je}var me=ee(72978),Pe=ee(3596),Xe=["children"];function fe(ue,$e){return"".concat(ue,"-").concat($e)}function Ge(ue){return ue&&ue.type&&ue.type.isTreeNode}function pt(ue,$e){return ue!=null?ue:$e}function ot(ue){var $e=ue||{},Je=$e.title,ht=$e._title,yt=$e.key,Fe=$e.children,Be=Je||"title";return{title:Be,_title:ht||[Be],key:yt||"key",children:Fe||"children"}}function vt(ue,$e){var Je=new Map;function ht(yt){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(yt||[]).forEach(function(Be){var mt=Be[$e.key],ze=Be[$e.children];warning(mt!=null,"Tree node must have a certain key: [".concat(Fe).concat(mt,"]"));var ut=String(mt);warning(!Je.has(ut)||mt===null||mt===void 0,"Same 'key' exist in the Tree: ".concat(ut)),Je.set(ut,!0),ht(ze,"".concat(Fe).concat(ut," > "))})}ht(ue)}function Ee(ue){function $e(Je){var ht=ce(Je);return ht.map(function(yt){if(!Ge(yt))return(0,me.ZP)(!yt,"Tree/TreeNode can only accept TreeNode as children."),null;var Fe=yt.key,Be=yt.props,mt=Be.children,ze=(0,et.Z)(Be,Xe),ut=(0,Me.Z)({key:Fe},ze),rt=$e(mt);return rt.length&&(ut.children=rt),ut}).filter(function(yt){return yt})}return $e(ue)}function wt(ue,$e,Je){var ht=ot(Je),yt=ht._title,Fe=ht.key,Be=ht.children,mt=new Set($e===!0?[]:$e),ze=[];function ut(rt){var Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return rt.map(function(Bt,en){for(var ct=fe(Tt?Tt.pos:"0",en),Ie=pt(Bt[Fe],ct),Mt,vn=0;vn<yt.length;vn+=1){var qt=yt[vn];if(Bt[qt]!==void 0){Mt=Bt[qt];break}}var Nt=(0,Me.Z)((0,Me.Z)({},Se(Bt,[].concat((0,de.Z)(yt),[Fe,Be]))),{},{title:Mt,key:Ie,parent:Tt,pos:ct,children:null,data:Bt,isStart:[].concat((0,de.Z)(Tt?Tt.isStart:[]),[en===0]),isEnd:[].concat((0,de.Z)(Tt?Tt.isEnd:[]),[en===rt.length-1])});return ze.push(Nt),$e===!0||mt.has(Ie)?Nt.children=ut(Bt[Be]||[],Nt):Nt.children=[],Nt})}return ut(ue),ze}function Rt(ue,$e,Je){var ht={};(0,ne.Z)(Je)==="object"?ht=Je:ht={externalGetKey:Je},ht=ht||{};var yt=ht,Fe=yt.childrenPropName,Be=yt.externalGetKey,mt=yt.fieldNames,ze=ot(mt),ut=ze.key,rt=ze.children,Tt=Fe||rt,Bt;Be?typeof Be=="string"?Bt=function(Ie){return Ie[Be]}:typeof Be=="function"&&(Bt=function(Ie){return Be(Ie)}):Bt=function(Ie,Mt){return pt(Ie[ut],Mt)};function en(ct,Ie,Mt,vn){var qt=ct?ct[Tt]:ue,Nt=ct?fe(Mt.pos,Ie):"0",Kt=ct?[].concat((0,de.Z)(vn),[ct]):[];if(ct){var nn=Bt(ct,Nt),Cn={node:ct,index:Ie,pos:Nt,key:nn,parentPos:Mt.node?Mt.pos:null,level:Mt.level+1,nodes:Kt};$e(Cn)}qt&&qt.forEach(function(Sn,tn){en(Sn,tn,{node:ct,pos:Nt,level:Mt?Mt.level+1:-1},Kt)})}en(null)}function tt(ue){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Je=$e.initWrapper,ht=$e.processEntity,yt=$e.onProcessFinished,Fe=$e.externalGetKey,Be=$e.childrenPropName,mt=$e.fieldNames,ze=arguments.length>2?arguments[2]:void 0,ut=Fe||ze,rt={},Tt={},Bt={posEntities:rt,keyEntities:Tt};return Je&&(Bt=Je(Bt)||Bt),Rt(ue,function(en){var ct=en.node,Ie=en.index,Mt=en.pos,vn=en.key,qt=en.parentPos,Nt=en.level,Kt=en.nodes,nn={node:ct,nodes:Kt,index:Ie,key:vn,pos:Mt,level:Nt},Cn=pt(vn,Mt);rt[Mt]=nn,Tt[Cn]=nn,nn.parent=rt[qt],nn.parent&&(nn.parent.children=nn.parent.children||[],nn.parent.children.push(nn)),ht&&ht(nn,Bt)},{externalGetKey:ut,childrenPropName:Be,fieldNames:mt}),yt&&yt(Bt),Bt}function st(ue,$e){var Je=$e.expandedKeys,ht=$e.selectedKeys,yt=$e.loadedKeys,Fe=$e.loadingKeys,Be=$e.checkedKeys,mt=$e.halfCheckedKeys,ze=$e.dragOverNodeKey,ut=$e.dropPosition,rt=$e.keyEntities,Tt=(0,Pe.Z)(rt,ue),Bt={eventKey:ue,expanded:Je.indexOf(ue)!==-1,selected:ht.indexOf(ue)!==-1,loaded:yt.indexOf(ue)!==-1,loading:Fe.indexOf(ue)!==-1,checked:Be.indexOf(ue)!==-1,halfChecked:mt.indexOf(ue)!==-1,pos:String(Tt?Tt.pos:""),dragOver:ze===ue&&ut===0,dragOverGapTop:ze===ue&&ut===-1,dragOverGapBottom:ze===ue&&ut===1};return Bt}function ye(ue){var $e=ue.data,Je=ue.expanded,ht=ue.selected,yt=ue.checked,Fe=ue.loaded,Be=ue.loading,mt=ue.halfChecked,ze=ue.dragOver,ut=ue.dragOverGapTop,rt=ue.dragOverGapBottom,Tt=ue.pos,Bt=ue.active,en=ue.eventKey,ct=(0,Me.Z)((0,Me.Z)({},$e),{},{expanded:Je,selected:ht,checked:yt,loaded:Fe,loading:Be,halfChecked:mt,dragOver:ze,dragOverGapTop:ut,dragOverGapBottom:rt,pos:Tt,active:Bt,key:en});return"props"in ct||Object.defineProperty(ct,"props",{get:function(){return(0,me.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ue}}),ct}},34952:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Se}});var ne=ee(1413),de=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Me=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,et="".concat(de," ").concat(Me).split(/[\s\n]+/),we="aria-",ke="data-";function ce(me,Pe){return me.indexOf(Pe)===0}function Se(me){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe;Pe===!1?Xe={aria:!0,data:!0,attr:!0}:Pe===!0?Xe={aria:!0}:Xe=(0,ne.Z)({},Pe);var fe={};return Object.keys(me).forEach(function(Ge){(Xe.aria&&(Ge==="role"||ce(Ge,we))||Xe.data&&ce(Ge,ke)||Xe.attr&&et.includes(Ge))&&(fe[Ge]=me[Ge])}),fe}},72978:function(Hn,sn,ee){"use strict";var ne={};function de(Se,me){}function Me(Se,me){}function et(){ne={}}function we(Se,me,Pe){!me&&!ne[Pe]&&(Se(!1,Pe),ne[Pe]=!0)}function ke(Se,me){we(de,Se,me)}function ce(Se,me){we(Me,Se,me)}sn.ZP=ke},81533:function(Hn,sn){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,de=ne?Symbol.for("react.element"):60103,Me=ne?Symbol.for("react.portal"):60106,et=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,ce=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,Xe=ne?Symbol.for("react.forward_ref"):60112,fe=ne?Symbol.for("react.suspense"):60113,Ge=ne?Symbol.for("react.suspense_list"):60120,pt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Rt=ne?Symbol.for("react.scope"):60119;function tt(ye){if(typeof ye=="object"&&ye!==null){var ue=ye.$$typeof;switch(ue){case de:switch(ye=ye.type,ye){case me:case Pe:case et:case ke:case we:case fe:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case Xe:case ot:case pt:case ce:return ye;default:return ue}}case Me:return ue}}}function st(ye){return tt(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=ce,ee=de,ee=Xe,ee=et,ee=ot,ee=pt,ee=Me,ee=ke,ee=we,ee=fe,ee=function(ye){return st(ye)||tt(ye)===me},ee=st,ee=function(ye){return tt(ye)===Se},ee=function(ye){return tt(ye)===ce},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===de},ee=function(ye){return tt(ye)===Xe},sn.isFragment=function(ye){return tt(ye)===et},ee=function(ye){return tt(ye)===ot},sn.isMemo=function(ye){return tt(ye)===pt},ee=function(ye){return tt(ye)===Me},ee=function(ye){return tt(ye)===ke},ee=function(ye){return tt(ye)===we},ee=function(ye){return tt(ye)===fe},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===et||ye===Pe||ye===ke||ye===we||ye===fe||ye===Ge||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===pt||ye.$$typeof===ce||ye.$$typeof===Se||ye.$$typeof===Xe||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Rt||ye.$$typeof===vt)},ee=tt},28580:function(Hn,sn,ee){"use strict";Hn.exports=ee(81533)},92389:function(Hn,sn){"use strict";var ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(de){var Me=de.keyCode;if(de.altKey&&!de.ctrlKey||de.metaKey||Me>=ee.F1&&Me<=ee.F12)return!1;switch(Me){case ee.ALT:case ee.CAPS_LOCK:case ee.CONTEXT_MENU:case ee.CTRL:case ee.DOWN:case ee.END:case ee.ESC:case ee.HOME:case ee.INSERT:case ee.LEFT:case ee.MAC_FF_META:case ee.META:case ee.NUMLOCK:case ee.NUM_CENTER:case ee.PAGE_DOWN:case ee.PAGE_UP:case ee.PAUSE:case ee.PRINT_SCREEN:case ee.RIGHT:case ee.SHIFT:case ee.UP:case ee.WIN_KEY:case ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(de){if(de>=ee.ZERO&&de<=ee.NINE||de>=ee.NUM_ZERO&&de<=ee.NUM_MULTIPLY||de>=ee.A&&de<=ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&de===0)return!0;switch(de){case ee.SPACE:case ee.QUESTION_MARK:case ee.NUM_PLUS:case ee.NUM_MINUS:case ee.NUM_PERIOD:case ee.NUM_DIVISION:case ee.SEMICOLON:case ee.DASH:case ee.EQUALS:case ee.COMMA:case ee.PERIOD:case ee.SLASH:case ee.APOSTROPHE:case ee.SINGLE_QUOTE:case ee.OPEN_SQUARE_BRACKET:case ee.BACKSLASH:case ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};sn.Z=ee},1337:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Se}});var ne=ee(1413),de=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Me=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,et="".concat(de," ").concat(Me).split(/[\s\n]+/),we="aria-",ke="data-";function ce(me,Pe){return me.indexOf(Pe)===0}function Se(me){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe;Pe===!1?Xe={aria:!0,data:!0,attr:!0}:Pe===!0?Xe={aria:!0}:Xe=(0,ne.Z)({},Pe);var fe={};return Object.keys(me).forEach(function(Ge){(Xe.aria&&(Ge==="role"||ce(Ge,we))||Xe.data&&ce(Ge,ke)||Xe.attr&&et.includes(Ge))&&(fe[Ge]=me[Ge])}),fe}},88386:function(Hn,sn,ee){(function(ne){ne(ee(4631))})(function(ne){ne.defineOption("placeholder","",function(Se,me,Pe){var Xe=Pe&&Pe!=ne.Init;if(me&&!Xe)Se.on("blur",we),Se.on("change",ke),Se.on("swapDoc",ke),ne.on(Se.getInputField(),"compositionupdate",Se.state.placeholderCompose=function(){et(Se)}),ke(Se);else if(!me&&Xe){Se.off("blur",we),Se.off("change",ke),Se.off("swapDoc",ke),ne.off(Se.getInputField(),"compositionupdate",Se.state.placeholderCompose),de(Se);var fe=Se.getWrapperElement();fe.className=fe.className.replace(" CodeMirror-empty","")}me&&!Se.hasFocus()&&we(Se)});function de(Se){Se.state.placeholder&&(Se.state.placeholder.parentNode.removeChild(Se.state.placeholder),Se.state.placeholder=null)}function Me(Se){de(Se);var me=Se.state.placeholder=document.createElement("pre");me.style.cssText="height: 0; overflow: visible",me.style.direction=Se.getOption("direction"),me.className="CodeMirror-placeholder CodeMirror-line-like";var Pe=Se.getOption("placeholder");typeof Pe=="string"&&(Pe=document.createTextNode(Pe)),me.appendChild(Pe),Se.display.lineSpace.insertBefore(me,Se.display.lineSpace.firstChild)}function et(Se){setTimeout(function(){var me=!1,Pe=Se.getInputField();Pe.nodeName=="TEXTAREA"?me=!Pe.value:Se.lineCount()==1&&(me=!/[^\u200b]/.test(Pe.querySelector(".CodeMirror-line").textContent)),me?Me(Se):de(Se)},20)}function we(Se){ce(Se)&&Me(Se)}function ke(Se){var me=Se.getWrapperElement(),Pe=ce(Se);me.className=me.className.replace(" CodeMirror-empty","")+(Pe?" CodeMirror-empty":""),Pe?Me(Se):de(Se)}function ce(Se){return Se.lineCount()===1&&Se.getLine(0)===""}})},82801:function(Hn,sn,ee){(function(ne){ne(ee(4631))})(function(ne){var de={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Me=ne.Pos;ne.defineOption("autoCloseBrackets",!1,function(ot,vt,Ee){Ee&&Ee!=ne.Init&&(ot.removeKeyMap(we),ot.state.closeBrackets=null),vt&&(ke(et(vt,"pairs")),ot.state.closeBrackets=vt,ot.addKeyMap(we))});function et(ot,vt){return vt=="pairs"&&typeof ot=="string"?ot:typeof ot=="object"&&ot[vt]!=null?ot[vt]:de[vt]}var we={Backspace:me,Enter:Pe};function ke(ot){for(var vt=0;vt<ot.length;vt++){var Ee=ot.charAt(vt),wt="'"+Ee+"'";we[wt]||(we[wt]=ce(Ee))}}ke(de.pairs+"`");function ce(ot){return function(vt){return fe(vt,ot)}}function Se(ot){var vt=ot.state.closeBrackets;if(!vt||vt.override)return vt;var Ee=ot.getModeAt(ot.getCursor());return Ee.closeBrackets||vt}function me(ot){var vt=Se(ot);if(!vt||ot.getOption("disableInput"))return ne.Pass;for(var Ee=et(vt,"pairs"),wt=ot.listSelections(),Rt=0;Rt<wt.length;Rt++){if(!wt[Rt].empty())return ne.Pass;var tt=Ge(ot,wt[Rt].head);if(!tt||Ee.indexOf(tt)%2!=0)return ne.Pass}for(var Rt=wt.length-1;Rt>=0;Rt--){var st=wt[Rt].head;ot.replaceRange("",Me(st.line,st.ch-1),Me(st.line,st.ch+1),"+delete")}}function Pe(ot){var vt=Se(ot),Ee=vt&&et(vt,"explode");if(!Ee||ot.getOption("disableInput"))return ne.Pass;for(var wt=ot.listSelections(),Rt=0;Rt<wt.length;Rt++){if(!wt[Rt].empty())return ne.Pass;var tt=Ge(ot,wt[Rt].head);if(!tt||Ee.indexOf(tt)%2!=0)return ne.Pass}ot.operation(function(){var st=ot.lineSeparator()||`
`;ot.replaceSelection(st+st,null),ot.execCommand("goCharLeft"),wt=ot.listSelections();for(var ye=0;ye<wt.length;ye++){var ue=wt[ye].head.line;ot.indentLine(ue,null,!0),ot.indentLine(ue+1,null,!0)}})}function Xe(ot){var vt=ne.cmpPos(ot.anchor,ot.head)>0;return{anchor:new Me(ot.anchor.line,ot.anchor.ch+(vt?-1:1)),head:new Me(ot.head.line,ot.head.ch+(vt?1:-1))}}function fe(ot,vt){var Ee=Se(ot);if(!Ee||ot.getOption("disableInput"))return ne.Pass;var wt=et(Ee,"pairs"),Rt=wt.indexOf(vt);if(Rt==-1)return ne.Pass;for(var tt=et(Ee,"closeBefore"),st=et(Ee,"triples"),ye=wt.charAt(Rt+1)==vt,ue=ot.listSelections(),$e=Rt%2==0,Je,ht=0;ht<ue.length;ht++){var yt=ue[ht],Fe=yt.head,Be,mt=ot.getRange(Fe,Me(Fe.line,Fe.ch+1));if($e&&!yt.empty())Be="surround";else if((ye||!$e)&&mt==vt)ye&&pt(ot,Fe)?Be="both":st.indexOf(vt)>=0&&ot.getRange(Fe,Me(Fe.line,Fe.ch+3))==vt+vt+vt?Be="skipThree":Be="skip";else if(ye&&Fe.ch>1&&st.indexOf(vt)>=0&&ot.getRange(Me(Fe.line,Fe.ch-2),Fe)==vt+vt){if(Fe.ch>2&&/\bstring/.test(ot.getTokenTypeAt(Me(Fe.line,Fe.ch-2))))return ne.Pass;Be="addFour"}else if(ye){var ze=Fe.ch==0?" ":ot.getRange(Me(Fe.line,Fe.ch-1),Fe);if(!ne.isWordChar(mt)&&ze!=vt&&!ne.isWordChar(ze))Be="both";else return ne.Pass}else if($e&&(mt.length===0||/\s/.test(mt)||tt.indexOf(mt)>-1))Be="both";else return ne.Pass;if(!Je)Je=Be;else if(Je!=Be)return ne.Pass}var ut=Rt%2?wt.charAt(Rt-1):vt,rt=Rt%2?vt:wt.charAt(Rt+1);ot.operation(function(){if(Je=="skip")ot.execCommand("goCharRight");else if(Je=="skipThree")for(var Tt=0;Tt<3;Tt++)ot.execCommand("goCharRight");else if(Je=="surround"){for(var Bt=ot.getSelections(),Tt=0;Tt<Bt.length;Tt++)Bt[Tt]=ut+Bt[Tt]+rt;ot.replaceSelections(Bt,"around"),Bt=ot.listSelections().slice();for(var Tt=0;Tt<Bt.length;Tt++)Bt[Tt]=Xe(Bt[Tt]);ot.setSelections(Bt)}else Je=="both"?(ot.replaceSelection(ut+rt,null),ot.triggerElectric(ut+rt),ot.execCommand("goCharLeft")):Je=="addFour"&&(ot.replaceSelection(ut+ut+ut+ut,"before"),ot.execCommand("goCharRight"))})}function Ge(ot,vt){var Ee=ot.getRange(Me(vt.line,vt.ch-1),Me(vt.line,vt.ch+1));return Ee.length==2?Ee:null}function pt(ot,vt){var Ee=ot.getTokenAt(Me(vt.line,vt.ch+1));return/\bstring/.test(Ee.type)&&Ee.start==vt.ch&&(vt.ch==0||!/\bstring/.test(ot.getTokenTypeAt(vt)))}})},57341:function(Hn,sn,ee){(function(ne){ne(ee(4631),ee(4786))})(function(ne){ne.defineOption("autoCloseTags",!1,function(me,Pe,Xe){if(Xe!=ne.Init&&Xe&&me.removeKeyMap("autoCloseTags"),!!Pe){var fe={name:"autoCloseTags"};(typeof Pe!="object"||Pe.whenClosing!==!1)&&(fe["'/'"]=function(Ge){return ke(Ge)}),(typeof Pe!="object"||Pe.whenOpening!==!1)&&(fe["'>'"]=function(Ge){return et(Ge)}),me.addKeyMap(fe)}});var de=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Me=["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 et(me){if(me.getOption("disableInput"))return ne.Pass;for(var Pe=me.listSelections(),Xe=[],fe=me.getOption("autoCloseTags"),Ge=0;Ge<Pe.length;Ge++){if(!Pe[Ge].empty())return ne.Pass;var pt=Pe[Ge].head,ot=me.getTokenAt(pt),vt=ne.innerMode(me.getMode(),ot.state),Ee=vt.state,wt=vt.mode.xmlCurrentTag&&vt.mode.xmlCurrentTag(Ee),Rt=wt&&wt.name;if(!Rt)return ne.Pass;var tt=vt.mode.configuration=="html",st=typeof fe=="object"&&fe.dontCloseTags||tt&&de,ye=typeof fe=="object"&&fe.indentTags||tt&&Me;ot.end>pt.ch&&(Rt=Rt.slice(0,Rt.length-ot.end+pt.ch));var ue=Rt.toLowerCase();if(!Rt||ot.type=="string"&&(ot.end!=pt.ch||!/[\"\']/.test(ot.string.charAt(ot.string.length-1))||ot.string.length==1)||ot.type=="tag"&&wt.close||ot.string.indexOf("/")==pt.ch-ot.start-1||st&&ce(st,ue)>-1||Se(me,vt.mode.xmlCurrentContext&&vt.mode.xmlCurrentContext(Ee)||[],Rt,pt,!0))return ne.Pass;var $e=typeof fe=="object"&&fe.emptyTags;if($e&&ce($e,Rt)>-1){Xe[Ge]={text:"/>",newPos:ne.Pos(pt.line,pt.ch+2)};continue}var Je=ye&&ce(ye,ue)>-1;Xe[Ge]={indent:Je,text:">"+(Je?`
`:"")+"</"+Rt+">",newPos:Je?ne.Pos(pt.line+1,0):ne.Pos(pt.line,pt.ch+1)}}for(var ht=typeof fe=="object"&&fe.dontIndentOnAutoClose,Ge=Pe.length-1;Ge>=0;Ge--){var yt=Xe[Ge];me.replaceRange(yt.text,Pe[Ge].head,Pe[Ge].anchor,"+insert");var Fe=me.listSelections().slice(0);Fe[Ge]={head:yt.newPos,anchor:yt.newPos},me.setSelections(Fe),!ht&&yt.indent&&(me.indentLine(yt.newPos.line,null,!0),me.indentLine(yt.newPos.line+1,null,!0))}}function we(me,Pe){for(var Xe=me.listSelections(),fe=[],Ge=Pe?"/":"</",pt=me.getOption("autoCloseTags"),ot=typeof pt=="object"&&pt.dontIndentOnSlash,vt=0;vt<Xe.length;vt++){if(!Xe[vt].empty())return ne.Pass;var Ee=Xe[vt].head,wt=me.getTokenAt(Ee),Rt=ne.innerMode(me.getMode(),wt.state),tt=Rt.state;if(Pe&&(wt.type=="string"||wt.string.charAt(0)!="<"||wt.start!=Ee.ch-1))return ne.Pass;var st,ye=Rt.mode.name!="xml"&&me.getMode().name=="htmlmixed";if(ye&&Rt.mode.name=="javascript")st=Ge+"script";else if(ye&&Rt.mode.name=="css")st=Ge+"style";else{var ue=Rt.mode.xmlCurrentContext&&Rt.mode.xmlCurrentContext(tt);if(!ue||ue.length&&Se(me,ue,ue[ue.length-1],Ee))return ne.Pass;st=Ge+ue[ue.length-1]}me.getLine(Ee.line).charAt(wt.end)!=">"&&(st+=">"),fe[vt]=st}if(me.replaceSelections(fe),Xe=me.listSelections(),!ot)for(var vt=0;vt<Xe.length;vt++)(vt==Xe.length-1||Xe[vt].head.line<Xe[vt+1].head.line)&&me.indentLine(Xe[vt].head.line)}function ke(me){return me.getOption("disableInput")?ne.Pass:we(me,!0)}ne.commands.closeTag=function(me){return we(me)};function ce(me,Pe){if(me.indexOf)return me.indexOf(Pe);for(var Xe=0,fe=me.length;Xe<fe;++Xe)if(me[Xe]==Pe)return Xe;return-1}function Se(me,Pe,Xe,fe,Ge){if(!ne.scanForClosingTag)return!1;var pt=Math.min(me.lastLine()+1,fe.line+500),ot=ne.scanForClosingTag(me,fe,null,pt);if(!ot||ot.tag!=Xe)return!1;for(var vt=Ge?1:0,Ee=Pe.length-1;Ee>=0&&Pe[Ee]==Xe;Ee--)++vt;fe=ot.to;for(var Ee=1;Ee<vt;Ee++){var wt=ne.scanForClosingTag(me,fe,null,pt);if(!wt||wt.tag!=Xe)return!1;fe=wt.to}return!0}})},4786:function(Hn,sn,ee){(function(ne){ne(ee(4631))})(function(ne){"use strict";var de=ne.Pos;function Me(Ee,wt){return Ee.line-wt.line||Ee.ch-wt.ch}var et="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",we=et+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ke=new RegExp("<(/?)(["+et+"]["+we+"]*)","g");function ce(Ee,wt,Rt,tt){this.line=wt,this.ch=Rt,this.cm=Ee,this.text=Ee.getLine(wt),this.min=tt?Math.max(tt.from,Ee.firstLine()):Ee.firstLine(),this.max=tt?Math.min(tt.to-1,Ee.lastLine()):Ee.lastLine()}function Se(Ee,wt){var Rt=Ee.cm.getTokenTypeAt(de(Ee.line,wt));return Rt&&/\btag\b/.test(Rt)}function me(Ee){if(!(Ee.line>=Ee.max))return Ee.ch=0,Ee.text=Ee.cm.getLine(++Ee.line),!0}function Pe(Ee){if(!(Ee.line<=Ee.min))return Ee.text=Ee.cm.getLine(--Ee.line),Ee.ch=Ee.text.length,!0}function Xe(Ee){for(;;){var wt=Ee.text.indexOf(">",Ee.ch);if(wt==-1){if(me(Ee))continue;return}if(!Se(Ee,wt+1)){Ee.ch=wt+1;continue}var Rt=Ee.text.lastIndexOf("/",wt),tt=Rt>-1&&!/\S/.test(Ee.text.slice(Rt+1,wt));return Ee.ch=wt+1,tt?"selfClose":"regular"}}function fe(Ee){for(;;){var wt=Ee.ch?Ee.text.lastIndexOf("<",Ee.ch-1):-1;if(wt==-1){if(Pe(Ee))continue;return}if(!Se(Ee,wt+1)){Ee.ch=wt;continue}ke.lastIndex=wt,Ee.ch=wt;var Rt=ke.exec(Ee.text);if(Rt&&Rt.index==wt)return Rt}}function Ge(Ee){for(;;){ke.lastIndex=Ee.ch;var wt=ke.exec(Ee.text);if(!wt){if(me(Ee))continue;return}if(!Se(Ee,wt.index+1)){Ee.ch=wt.index+1;continue}return Ee.ch=wt.index+wt[0].length,wt}}function pt(Ee){for(;;){var wt=Ee.ch?Ee.text.lastIndexOf(">",Ee.ch-1):-1;if(wt==-1){if(Pe(Ee))continue;return}if(!Se(Ee,wt+1)){Ee.ch=wt;continue}var Rt=Ee.text.lastIndexOf("/",wt),tt=Rt>-1&&!/\S/.test(Ee.text.slice(Rt+1,wt));return Ee.ch=wt+1,tt?"selfClose":"regular"}}function ot(Ee,wt){for(var Rt=[];;){var tt=Ge(Ee),st,ye=Ee.line,ue=Ee.ch-(tt?tt[0].length:0);if(!tt||!(st=Xe(Ee)))return;if(st!="selfClose")if(tt[1]){for(var $e=Rt.length-1;$e>=0;--$e)if(Rt[$e]==tt[2]){Rt.length=$e;break}if($e<0&&(!wt||wt==tt[2]))return{tag:tt[2],from:de(ye,ue),to:de(Ee.line,Ee.ch)}}else Rt.push(tt[2])}}function vt(Ee,wt){for(var Rt=[];;){var tt=pt(Ee);if(!tt)return;if(tt=="selfClose"){fe(Ee);continue}var st=Ee.line,ye=Ee.ch,ue=fe(Ee);if(!ue)return;if(ue[1])Rt.push(ue[2]);else{for(var $e=Rt.length-1;$e>=0;--$e)if(Rt[$e]==ue[2]){Rt.length=$e;break}if($e<0&&(!wt||wt==ue[2]))return{tag:ue[2],from:de(Ee.line,Ee.ch),to:de(st,ye)}}}}ne.registerHelper("fold","xml",function(Ee,wt){for(var Rt=new ce(Ee,wt.line,0);;){var tt=Ge(Rt);if(!tt||Rt.line!=wt.line)return;var st=Xe(Rt);if(!st)return;if(!tt[1]&&st!="selfClose"){var ye=de(Rt.line,Rt.ch),ue=ot(Rt,tt[2]);return ue&&Me(ue.from,ye)>0?{from:ye,to:ue.from}:null}}}),ne.findMatchingTag=function(Ee,wt,Rt){var tt=new ce(Ee,wt.line,wt.ch,Rt);if(!(tt.text.indexOf(">")==-1&&tt.text.indexOf("<")==-1)){var st=Xe(tt),ye=st&&de(tt.line,tt.ch),ue=st&&fe(tt);if(!(!st||!ue||Me(tt,wt)>0)){var $e={from:de(tt.line,tt.ch),to:ye,tag:ue[2]};return st=="selfClose"?{open:$e,close:null,at:"open"}:ue[1]?{open:vt(tt,ue[2]),close:$e,at:"close"}:(tt=new ce(Ee,ye.line,ye.ch,Rt),{open:$e,close:ot(tt,ue[2]),at:"open"})}}},ne.findEnclosingTag=function(Ee,wt,Rt,tt){for(var st=new ce(Ee,wt.line,wt.ch,Rt);;){var ye=vt(st,tt);if(!ye)break;var ue=new ce(Ee,wt.line,wt.ch,Rt),$e=ot(ue,ye.tag);if($e)return{open:ye,close:$e}}},ne.scanForClosingTag=function(Ee,wt,Rt,tt){var st=new ce(Ee,wt.line,wt.ch,tt?{from:0,to:tt}:null);return ot(st,Rt)}})},4631:function(Hn){(function(sn,ee){Hn.exports=ee()})(this,function(){"use strict";var sn=navigator.userAgent,ee=navigator.platform,ne=/gecko\/\d/i.test(sn),de=/MSIE \d/.test(sn),Me=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(sn),et=/Edge\/(\d+)/.exec(sn),we=de||Me||et,ke=we&&(de?document.documentMode||6:+(et||Me)[1]),ce=!et&&/WebKit\//.test(sn),Se=ce&&/Qt\/\d+\.\d+/.test(sn),me=!et&&/Chrome\//.test(sn),Pe=/Opera\//.test(sn),Xe=/Apple Computer/.test(navigator.vendor),fe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(sn),Ge=/PhantomJS/.test(sn),pt=!et&&/AppleWebKit/.test(sn)&&/Mobile\/\w+/.test(sn),ot=/Android/.test(sn),vt=pt||ot||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(sn),Ee=pt||/Mac/.test(ee),wt=/\bCrOS\b/.test(sn),Rt=/win/i.test(ee),tt=Pe&&sn.match(/Version\/(\d*\.\d*)/);tt&&(tt=Number(tt[1])),tt&&tt>=15&&(Pe=!1,ce=!0);var st=Ee&&(Se||Pe&&(tt==null||tt<12.11)),ye=ne||we&&ke>=9;function ue(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var $e=function(x,z){var ae=x.className,re=ue(z).exec(ae);if(re){var oe=ae.slice(re.index+re[0].length);x.className=ae.slice(0,re.index)+(oe?re[1]+oe:"")}};function Je(x){for(var z=x.childNodes.length;z>0;--z)x.removeChild(x.firstChild);return x}function ht(x,z){return Je(x).appendChild(z)}function yt(x,z,ae,re){var oe=document.createElement(x);if(ae&&(oe.className=ae),re&&(oe.style.cssText=re),typeof z=="string")oe.appendChild(document.createTextNode(z));else if(z)for(var xe=0;xe<z.length;++xe)oe.appendChild(z[xe]);return oe}function Fe(x,z,ae,re){var oe=yt(x,z,ae,re);return oe.setAttribute("role","presentation"),oe}var Be;document.createRange?Be=function(x,z,ae,re){var oe=document.createRange();return oe.setEnd(re||x,ae),oe.setStart(x,z),oe}:Be=function(x,z,ae){var re=document.body.createTextRange();try{re.moveToElementText(x.parentNode)}catch(oe){return re}return re.collapse(!0),re.moveEnd("character",ae),re.moveStart("character",z),re};function mt(x,z){if(z.nodeType==3&&(z=z.parentNode),x.contains)return x.contains(z);do if(z.nodeType==11&&(z=z.host),z==x)return!0;while(z=z.parentNode)}function ze(){var x;try{x=document.activeElement}catch(z){x=document.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function ut(x,z){var ae=x.className;ue(z).test(ae)||(x.className+=(ae?" ":"")+z)}function rt(x,z){for(var ae=x.split(" "),re=0;re<ae.length;re++)ae[re]&&!ue(ae[re]).test(z)&&(z+=" "+ae[re]);return z}var Tt=function(x){x.select()};pt?Tt=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:we&&(Tt=function(x){try{x.select()}catch(z){}});function Bt(x){var z=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,z)}}function en(x,z,ae){z||(z={});for(var re in x)x.hasOwnProperty(re)&&(ae!==!1||!z.hasOwnProperty(re))&&(z[re]=x[re]);return z}function ct(x,z,ae,re,oe){z==null&&(z=x.search(/[^\s\u00a0]/),z==-1&&(z=x.length));for(var xe=re||0,We=oe||0;;){var dt=x.indexOf(" ",xe);if(dt<0||dt>=z)return We+(z-xe);We+=dt-xe,We+=ae-We%ae,xe=dt+1}}var Ie=function(){this.id=null,this.f=null,this.time=0,this.handler=Bt(this.onTimeout,this)};Ie.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Ie.prototype.set=function(x,z){this.f=z;var ae=+new Date+x;(!this.id||ae<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=ae)};function Mt(x,z){for(var ae=0;ae<x.length;++ae)if(x[ae]==z)return ae;return-1}var vn=50,qt={toString:function(){return"CodeMirror.Pass"}},Nt={scroll:!1},Kt={origin:"*mouse"},nn={origin:"+move"};function Cn(x,z,ae){for(var re=0,oe=0;;){var xe=x.indexOf(" ",re);xe==-1&&(xe=x.length);var We=xe-re;if(xe==x.length||oe+We>=z)return re+Math.min(We,z-oe);if(oe+=xe-re,oe+=ae-oe%ae,re=xe+1,oe>=z)return re}}var Sn=[""];function tn(x){for(;Sn.length<=x;)Sn.push(In(Sn)+" ");return Sn[x]}function In(x){return x[x.length-1]}function br(x,z){for(var ae=[],re=0;re<x.length;re++)ae[re]=z(x[re],re);return ae}function gn(x,z,ae){for(var re=0,oe=ae(z);re<x.length&&ae(x[re])<=oe;)re++;x.splice(re,0,z)}function Ye(){}function ve(x,z){var ae;return Object.create?ae=Object.create(x):(Ye.prototype=x,ae=new Ye),z&&en(z,ae),ae}var he=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function be(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||he.test(x))}function ge(x,z){return z?z.source.indexOf("\\w")>-1&&be(x)?!0:z.test(x):be(x)}function se(x){for(var z in x)if(x.hasOwnProperty(z)&&x[z])return!1;return!0}var je=/[\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 xt(x){return x.charCodeAt(0)>=768&&je.test(x)}function En(x,z,ae){for(;(ae<0?z>0:z<x.length)&&xt(x.charAt(z));)z+=ae;return z}function un(x,z,ae){for(var re=z>ae?-1:1;;){if(z==ae)return z;var oe=(z+ae)/2,xe=re<0?Math.ceil(oe):Math.floor(oe);if(xe==z)return x(xe)?z:ae;x(xe)?ae=xe:z=xe+re}}function Pn(x,z,ae,re){if(!x)return re(z,ae,"ltr",0);for(var oe=!1,xe=0;xe<x.length;++xe){var We=x[xe];(We.from<ae&&We.to>z||z==ae&&We.to==z)&&(re(Math.max(We.from,z),Math.min(We.to,ae),We.level==1?"rtl":"ltr",xe),oe=!0)}oe||re(z,ae,"ltr")}var Xn=null;function _n(x,z,ae){var re;Xn=null;for(var oe=0;oe<x.length;++oe){var xe=x[oe];if(xe.from<z&&xe.to>z)return oe;xe.to==z&&(xe.from!=xe.to&&ae=="before"?re=oe:Xn=oe),xe.from==z&&(xe.from!=xe.to&&ae!="before"?re=oe:Xn=oe)}return re!=null?re:Xn}var Vt=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",z="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ae(Ft){return Ft<=247?x.charAt(Ft):1424<=Ft&&Ft<=1524?"R":1536<=Ft&&Ft<=1785?z.charAt(Ft-1536):1774<=Ft&&Ft<=2220?"r":8192<=Ft&&Ft<=8203?"w":Ft==8204?"b":"L"}var re=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,oe=/[stwN]/,xe=/[LRr]/,We=/[Lb1n]/,dt=/[1n]/;function Ct(Ft,tr,mr){this.level=Ft,this.from=tr,this.to=mr}return function(Ft,tr){var mr=tr=="ltr"?"L":"R";if(Ft.length==0||tr=="ltr"&&!re.test(Ft))return!1;for(var oa=Ft.length,$r=[],ti=0;ti<oa;++ti)$r.push(ae(Ft.charCodeAt(ti)));for(var Ei=0,lo=mr;Ei<oa;++Ei){var To=$r[Ei];To=="m"?$r[Ei]=lo:lo=To}for(var Xo=0,Do=mr;Xo<oa;++Xo){var $o=$r[Xo];$o=="1"&&Do=="r"?$r[Xo]="n":xe.test($o)&&(Do=$o,$o=="r"&&($r[Xo]="R"))}for(var Ol=1,Zl=$r[0];Ol<oa-1;++Ol){var bs=$r[Ol];bs=="+"&&Zl=="1"&&$r[Ol+1]=="1"?$r[Ol]="1":bs==","&&Zl==$r[Ol+1]&&(Zl=="1"||Zl=="n")&&($r[Ol]=Zl),Zl=bs}for(var qs=0;qs<oa;++qs){var zu=$r[qs];if(zu==",")$r[qs]="N";else if(zu=="%"){var gu=void 0;for(gu=qs+1;gu<oa&&$r[gu]=="%";++gu);for(var Ju=qs&&$r[qs-1]=="!"||gu<oa&&$r[gu]=="1"?"1":"N",qu=qs;qu<gu;++qu)$r[qu]=Ju;qs=gu-1}}for(var Bu=0,$u=mr;Bu<oa;++Bu){var fs=$r[Bu];$u=="L"&&fs=="1"?$r[Bu]="L":xe.test(fs)&&($u=fs)}for(var Su=0;Su<oa;++Su)if(oe.test($r[Su])){var yu=void 0;for(yu=Su+1;yu<oa&&oe.test($r[yu]);++yu);for(var Cu=(Su?$r[Su-1]:mr)=="L",Mu=(yu<oa?$r[yu]:mr)=="L",nd=Cu==Mu?Cu?"L":"R":mr,oc=Su;oc<yu;++oc)$r[oc]=nd;Su=yu-1}for(var Zu=[],Fs,Tu=0;Tu<oa;)if(We.test($r[Tu])){var zd=Tu;for(++Tu;Tu<oa&&We.test($r[Tu]);++Tu);Zu.push(new Ct(0,zd,Tu))}else{var Lc=Tu,zc=Zu.length,Sc=tr=="rtl"?1:0;for(++Tu;Tu<oa&&$r[Tu]!="L";++Tu);for(var Lu=Lc;Lu<Tu;)if(dt.test($r[Lu])){Lc<Lu&&(Zu.splice(zc,0,new Ct(1,Lc,Lu)),zc+=Sc);var rd=Lu;for(++Lu;Lu<Tu&&dt.test($r[Lu]);++Lu);Zu.splice(zc,0,new Ct(2,rd,Lu)),zc+=Sc,Lc=Lu}else++Lu;Lc<Tu&&Zu.splice(zc,0,new Ct(1,Lc,Tu))}return tr=="ltr"&&(Zu[0].level==1&&(Fs=Ft.match(/^\s+/))&&(Zu[0].from=Fs[0].length,Zu.unshift(new Ct(0,0,Fs[0].length))),In(Zu).level==1&&(Fs=Ft.match(/\s+$/))&&(In(Zu).to-=Fs[0].length,Zu.push(new Ct(0,oa-Fs[0].length,oa)))),tr=="rtl"?Zu.reverse():Zu}}();function yn(x,z){var ae=x.order;return ae==null&&(ae=x.order=Vt(x.text,z)),ae}var Kn=[],On=function(x,z,ae){if(x.addEventListener)x.addEventListener(z,ae,!1);else if(x.attachEvent)x.attachEvent("on"+z,ae);else{var re=x._handlers||(x._handlers={});re[z]=(re[z]||Kn).concat(ae)}};function Qt(x,z){return x._handlers&&x._handlers[z]||Kn}function Dr(x,z,ae){if(x.removeEventListener)x.removeEventListener(z,ae,!1);else if(x.detachEvent)x.detachEvent("on"+z,ae);else{var re=x._handlers,oe=re&&re[z];if(oe){var xe=Mt(oe,ae);xe>-1&&(re[z]=oe.slice(0,xe).concat(oe.slice(xe+1)))}}}function jt(x,z){var ae=Qt(x,z);if(ae.length)for(var re=Array.prototype.slice.call(arguments,2),oe=0;oe<ae.length;++oe)ae[oe].apply(null,re)}function rn(x,z,ae){return typeof z=="string"&&(z={type:z,preventDefault:function(){this.defaultPrevented=!0}}),jt(x,ae||z.type,x,z),Pa(z)||z.codemirrorIgnore}function Ir(x){var z=x._handlers&&x._handlers.cursorActivity;if(z)for(var ae=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),re=0;re<z.length;++re)Mt(ae,z[re])==-1&&ae.push(z[re])}function ur(x,z){return Qt(x,z).length>0}function Rr(x){x.prototype.on=function(z,ae){On(this,z,ae)},x.prototype.off=function(z,ae){Dr(this,z,ae)}}function aa(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function qn(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Pa(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Fa(x){aa(x),qn(x)}function _a(x){return x.target||x.srcElement}function Xr(x){var z=x.which;return z==null&&(x.button&1?z=1:x.button&2?z=3:x.button&4&&(z=2)),Ee&&x.ctrlKey&&z==1&&(z=3),z}var Da=function(){if(we&&ke<9)return!1;var x=yt("div");return"draggable"in x||"dragDrop"in x}(),Mi;function Si(x){if(Mi==null){var z=yt("span","\u200B");ht(x,yt("span",[z,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(Mi=z.offsetWidth<=1&&z.offsetHeight>2&&!(we&&ke<8))}var ae=Mi?yt("span","\u200B"):yt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ae.setAttribute("cm-text",""),ae}var zi;function fi(x){if(zi!=null)return zi;var z=ht(x,document.createTextNode("A\u062EA")),ae=Be(z,0,1).getBoundingClientRect(),re=Be(z,1,2).getBoundingClientRect();return Je(x),!ae||ae.left==ae.right?!1:zi=re.right-ae.right<3}var Tn=`
b`.split(/\n/).length!=3?function(x){for(var z=0,ae=[],re=x.length;z<=re;){var oe=x.indexOf(`
`,z);oe==-1&&(oe=x.length);var xe=x.slice(z,x.charAt(oe-1)=="\r"?oe-1:oe),We=xe.indexOf("\r");We!=-1?(ae.push(xe.slice(0,We)),z+=We+1):(ae.push(xe),z=oe+1)}return ae}:function(x){return x.split(/\r\n?|\n/)},bn=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(z){return!1}}:function(x){var z;try{z=x.ownerDocument.selection.createRange()}catch(ae){}return!z||z.parentElement()!=x?!1:z.compareEndPoints("StartToEnd",z)!=0},ir=function(){var x=yt("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),Cr=null;function Or(x){if(Cr!=null)return Cr;var z=ht(x,yt("span","x")),ae=z.getBoundingClientRect(),re=Be(z,0,1).getBoundingClientRect();return Cr=Math.abs(ae.left-re.left)>1}var Lr={},sa={};function pn(x,z){arguments.length>2&&(z.dependencies=Array.prototype.slice.call(arguments,2)),Lr[x]=z}function At(x,z){sa[x]=z}function Zt(x){if(typeof x=="string"&&sa.hasOwnProperty(x))x=sa[x];else if(x&&typeof x.name=="string"&&sa.hasOwnProperty(x.name)){var z=sa[x.name];typeof z=="string"&&(z={name:z}),x=ve(z,x),x.name=z.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return Zt("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return Zt("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function on(x,z){z=Zt(z);var ae=Lr[z.name];if(!ae)return on(x,"text/plain");var re=ae(x,z);if(Yn.hasOwnProperty(z.name)){var oe=Yn[z.name];for(var xe in oe)oe.hasOwnProperty(xe)&&(re.hasOwnProperty(xe)&&(re["_"+xe]=re[xe]),re[xe]=oe[xe])}if(re.name=z.name,z.helperType&&(re.helperType=z.helperType),z.modeProps)for(var We in z.modeProps)re[We]=z.modeProps[We];return re}var Yn={};function Dt(x,z){var ae=Yn.hasOwnProperty(x)?Yn[x]:Yn[x]={};en(z,ae)}function fn(x,z){if(z===!0)return z;if(x.copyState)return x.copyState(z);var ae={};for(var re in z){var oe=z[re];oe instanceof Array&&(oe=oe.concat([])),ae[re]=oe}return ae}function Vn(x,z){for(var ae;x.innerMode&&(ae=x.innerMode(z),!(!ae||ae.mode==x));)z=ae.state,x=ae.mode;return ae||{mode:x,state:z}}function kn(x,z,ae){return x.startState?x.startState(z,ae):!0}var rr=function(x,z,ae){this.pos=this.start=0,this.string=x,this.tabSize=z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ae};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(x){var z=this.string.charAt(this.pos),ae;if(typeof x=="string"?ae=z==x:ae=z&&(x.test?x.test(z):x(z)),ae)return++this.pos,z},rr.prototype.eatWhile=function(x){for(var z=this.pos;this.eat(x););return this.pos>z},rr.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},rr.prototype.skipToEnd=function(){this.pos=this.string.length},rr.prototype.skipTo=function(x){var z=this.string.indexOf(x,this.pos);if(z>-1)return this.pos=z,!0},rr.prototype.backUp=function(x){this.pos-=x},rr.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ct(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ct(this.string,this.lineStart,this.tabSize):0)},rr.prototype.indentation=function(){return ct(this.string,null,this.tabSize)-(this.lineStart?ct(this.string,this.lineStart,this.tabSize):0)},rr.prototype.match=function(x,z,ae){if(typeof x=="string"){var re=function(We){return ae?We.toLowerCase():We},oe=this.string.substr(this.pos,x.length);if(re(oe)==re(x))return z!==!1&&(this.pos+=x.length),!0}else{var xe=this.string.slice(this.pos).match(x);return xe&&xe.index>0?null:(xe&&z!==!1&&(this.pos+=xe[0].length),xe)}},rr.prototype.current=function(){return this.string.slice(this.start,this.pos)},rr.prototype.hideFirstChars=function(x,z){this.lineStart+=x;try{return z()}finally{this.lineStart-=x}},rr.prototype.lookAhead=function(x){var z=this.lineOracle;return z&&z.lookAhead(x)},rr.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function fr(x,z){if(z-=x.first,z<0||z>=x.size)throw new Error("There is no line "+(z+x.first)+" in the document.");for(var ae=x;!ae.lines;)for(var re=0;;++re){var oe=ae.children[re],xe=oe.chunkSize();if(z<xe){ae=oe;break}z-=xe}return ae.lines[z]}function mn(x,z,ae){var re=[],oe=z.line;return x.iter(z.line,ae.line+1,function(xe){var We=xe.text;oe==ae.line&&(We=We.slice(0,ae.ch)),oe==z.line&&(We=We.slice(z.ch)),re.push(We),++oe}),re}function Ta(x,z,ae){var re=[];return x.iter(z,ae,function(oe){re.push(oe.text)}),re}function ha(x,z){var ae=z-x.height;if(ae)for(var re=x;re;re=re.parent)re.height+=ae}function ya(x){if(x.parent==null)return null;for(var z=x.parent,ae=Mt(z.lines,x),re=z.parent;re;z=re,re=re.parent)for(var oe=0;re.children[oe]!=z;++oe)ae+=re.children[oe].chunkSize();return ae+z.first}function Sa(x,z){var ae=x.first;e:do{for(var re=0;re<x.children.length;++re){var oe=x.children[re],xe=oe.height;if(z<xe){x=oe;continue e}z-=xe,ae+=oe.chunkSize()}return ae}while(!x.lines);for(var We=0;We<x.lines.length;++We){var dt=x.lines[We],Ct=dt.height;if(z<Ct)break;z-=Ct}return ae+We}function Ma(x,z){return z>=x.first&&z<x.first+x.size}function pa(x,z){return String(x.lineNumberFormatter(z+x.firstLineNumber))}function Er(x,z,ae){if(ae===void 0&&(ae=null),!(this instanceof Er))return new Er(x,z,ae);this.line=x,this.ch=z,this.sticky=ae}function qr(x,z){return x.line-z.line||x.ch-z.ch}function Hi(x,z){return x.sticky==z.sticky&&qr(x,z)==0}function Fi(x){return Er(x.line,x.ch)}function $a(x,z){return qr(x,z)<0?z:x}function ni(x,z){return qr(x,z)<0?x:z}function no(x,z){return Math.max(x.first,Math.min(z,x.first+x.size-1))}function oi(x,z){if(z.line<x.first)return Er(x.first,0);var ae=x.first+x.size-1;return z.line>ae?Er(ae,fr(x,ae).text.length):so(z,fr(x,z.line).text.length)}function so(x,z){var ae=x.ch;return ae==null||ae>z?Er(x.line,z):ae<0?Er(x.line,0):x}function ta(x,z){for(var ae=[],re=0;re<z.length;re++)ae[re]=oi(x,z[re]);return ae}var to=function(x,z){this.state=x,this.lookAhead=z},xo=function(x,z,ae,re){this.state=z,this.doc=x,this.line=ae,this.maxLookAhead=re||0,this.baseTokens=null,this.baseTokenPos=1};xo.prototype.lookAhead=function(x){var z=this.doc.getLine(this.line+x);return z!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),z},xo.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var z=this.baseTokens[this.baseTokenPos+1];return{type:z&&z.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},xo.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},xo.fromSaved=function(x,z,ae){return z instanceof to?new xo(x,fn(x.mode,z.state),ae,z.lookAhead):new xo(x,fn(x.mode,z),ae)},xo.prototype.save=function(x){var z=x!==!1?fn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new to(z,this.maxLookAhead):z};function xl(x,z,ae,re){var oe=[x.state.modeGen],xe={};Cl(x,z.text,x.doc.mode,ae,function(Ft,tr){return oe.push(Ft,tr)},xe,re);for(var We=ae.state,dt=function(Ft){ae.baseTokens=oe;var tr=x.state.overlays[Ft],mr=1,oa=0;ae.state=!0,Cl(x,z.text,tr.mode,ae,function($r,ti){for(var Ei=mr;oa<$r;){var lo=oe[mr];lo>$r&&oe.splice(mr,1,$r,oe[mr+1],lo),mr+=2,oa=Math.min($r,lo)}if(ti)if(tr.opaque)oe.splice(Ei,mr-Ei,$r,"overlay "+ti),mr=Ei+2;else for(;Ei<mr;Ei+=2){var To=oe[Ei+1];oe[Ei+1]=(To?To+" ":"")+"overlay "+ti}},xe),ae.state=We,ae.baseTokens=null,ae.baseTokenPos=1},Ct=0;Ct<x.state.overlays.length;++Ct)dt(Ct);return{styles:oe,classes:xe.bgClass||xe.textClass?xe:null}}function ll(x,z,ae){if(!z.styles||z.styles[0]!=x.state.modeGen){var re=Uo(x,ya(z)),oe=z.text.length>x.options.maxHighlightLength&&fn(x.doc.mode,re.state),xe=xl(x,z,re);oe&&(re.state=oe),z.stateAfter=re.save(!oe),z.styles=xe.styles,xe.classes?z.styleClasses=xe.classes:z.styleClasses&&(z.styleClasses=null),ae===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return z.styles}function Uo(x,z,ae){var re=x.doc,oe=x.display;if(!re.mode.startState)return new xo(re,!0,z);var xe=wi(x,z,ae),We=xe>re.first&&fr(re,xe-1).stateAfter,dt=We?xo.fromSaved(re,We,xe):new xo(re,kn(re.mode),xe);return re.iter(xe,z,function(Ct){co(x,Ct.text,dt);var Ft=dt.line;Ct.stateAfter=Ft==z-1||Ft%5==0||Ft>=oe.viewFrom&&Ft<oe.viewTo?dt.save():null,dt.nextLine()}),ae&&(re.modeFrontier=dt.line),dt}function co(x,z,ae,re){var oe=x.doc.mode,xe=new rr(z,x.options.tabSize,ae);for(xe.start=xe.pos=re||0,z==""&&wl(oe,ae.state);!xe.eol();)Yo(oe,xe,ae.state),xe.start=xe.pos}function wl(x,z){if(x.blankLine)return x.blankLine(z);if(x.innerMode){var ae=Vn(x,z);if(ae.mode.blankLine)return ae.mode.blankLine(ae.state)}}function Yo(x,z,ae,re){for(var oe=0;oe<10;oe++){re&&(re[0]=Vn(x,ae).mode);var xe=x.token(z,ae);if(z.pos>z.start)return xe}throw new Error("Mode "+x.name+" failed to advance stream.")}var gl=function(x,z,ae){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=z||null,this.state=ae};function zl(x,z,ae,re){var oe=x.doc,xe=oe.mode,We;z=oi(oe,z);var dt=fr(oe,z.line),Ct=Uo(x,z.line,ae),Ft=new rr(dt.text,x.options.tabSize,Ct),tr;for(re&&(tr=[]);(re||Ft.pos<z.ch)&&!Ft.eol();)Ft.start=Ft.pos,We=Yo(xe,Ft,Ct.state),re&&tr.push(new gl(Ft,We,fn(oe.mode,Ct.state)));return re?tr:new gl(Ft,We,Ct.state)}function Sl(x,z){if(x)for(;;){var ae=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ae)break;x=x.slice(0,ae.index)+x.slice(ae.index+ae[0].length);var re=ae[1]?"bgClass":"textClass";z[re]==null?z[re]=ae[2]:new RegExp("(?:^|\\s)"+ae[2]+"(?:$|\\s)").test(z[re])||(z[re]+=" "+ae[2])}return x}function Cl(x,z,ae,re,oe,xe,We){var dt=ae.flattenSpans;dt==null&&(dt=x.options.flattenSpans);var Ct=0,Ft=null,tr=new rr(z,x.options.tabSize,re),mr,oa=x.options.addModeClass&&[null];for(z==""&&Sl(wl(ae,re.state),xe);!tr.eol();){if(tr.pos>x.options.maxHighlightLength?(dt=!1,We&&co(x,z,re,tr.pos),tr.pos=z.length,mr=null):mr=Sl(Yo(ae,tr,re.state,oa),xe),oa){var $r=oa[0].name;$r&&(mr="m-"+(mr?$r+" "+mr:$r))}if(!dt||Ft!=mr){for(;Ct<tr.start;)Ct=Math.min(tr.start,Ct+5e3),oe(Ct,Ft);Ft=mr}tr.start=tr.pos}for(;Ct<tr.pos;){var ti=Math.min(tr.pos,Ct+5e3);oe(ti,Ft),Ct=ti}}function wi(x,z,ae){for(var re,oe,xe=x.doc,We=ae?-1:z-(x.doc.mode.innerMode?1e3:100),dt=z;dt>We;--dt){if(dt<=xe.first)return xe.first;var Ct=fr(xe,dt-1),Ft=Ct.stateAfter;if(Ft&&(!ae||dt+(Ft instanceof to?Ft.lookAhead:0)<=xe.modeFrontier))return dt;var tr=ct(Ct.text,null,x.options.tabSize);(oe==null||re>tr)&&(oe=dt-1,re=tr)}return oe}function ko(x,z){if(x.modeFrontier=Math.min(x.modeFrontier,z),!(x.highlightFrontier<z-10)){for(var ae=x.first,re=z-1;re>ae;re--){var oe=fr(x,re).stateAfter;if(oe&&(!(oe instanceof to)||re+oe.lookAhead<z)){ae=re+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ae)}}var Pi=!1,Ci=!1;function Zn(){Pi=!0}function Mn(){Ci=!0}function dr(x,z,ae){this.marker=x,this.from=z,this.to=ae}function Qr(x,z){if(x)for(var ae=0;ae<x.length;++ae){var re=x[ae];if(re.marker==z)return re}}function va(x,z){for(var ae,re=0;re<x.length;++re)x[re]!=z&&(ae||(ae=[])).push(x[re]);return ae}function pi(x,z){x.markedSpans=x.markedSpans?x.markedSpans.concat([z]):[z],z.marker.attachLine(x)}function Ai(x,z,ae){var re;if(x)for(var oe=0;oe<x.length;++oe){var xe=x[oe],We=xe.marker,dt=xe.from==null||(We.inclusiveLeft?xe.from<=z:xe.from<z);if(dt||xe.from==z&&We.type=="bookmark"&&(!ae||!xe.marker.insertLeft)){var Ct=xe.to==null||(We.inclusiveRight?xe.to>=z:xe.to>z);(re||(re=[])).push(new dr(We,xe.from,Ct?null:xe.to))}}return re}function Vi(x,z,ae){var re;if(x)for(var oe=0;oe<x.length;++oe){var xe=x[oe],We=xe.marker,dt=xe.to==null||(We.inclusiveRight?xe.to>=z:xe.to>z);if(dt||xe.from==z&&We.type=="bookmark"&&(!ae||xe.marker.insertLeft)){var Ct=xe.from==null||(We.inclusiveLeft?xe.from<=z:xe.from<z);(re||(re=[])).push(new dr(We,Ct?null:xe.from-z,xe.to==null?null:xe.to-z))}}return re}function ui(x,z){if(z.full)return null;var ae=Ma(x,z.from.line)&&fr(x,z.from.line).markedSpans,re=Ma(x,z.to.line)&&fr(x,z.to.line).markedSpans;if(!ae&&!re)return null;var oe=z.from.ch,xe=z.to.ch,We=qr(z.from,z.to)==0,dt=Ai(ae,oe,We),Ct=Vi(re,xe,We),Ft=z.text.length==1,tr=In(z.text).length+(Ft?oe:0);if(dt)for(var mr=0;mr<dt.length;++mr){var oa=dt[mr];if(oa.to==null){var $r=Qr(Ct,oa.marker);$r?Ft&&(oa.to=$r.to==null?null:$r.to+tr):oa.to=oe}}if(Ct)for(var ti=0;ti<Ct.length;++ti){var Ei=Ct[ti];if(Ei.to!=null&&(Ei.to+=tr),Ei.from==null){var lo=Qr(dt,Ei.marker);lo||(Ei.from=tr,Ft&&(dt||(dt=[])).push(Ei))}else Ei.from+=tr,Ft&&(dt||(dt=[])).push(Ei)}dt&&(dt=Di(dt)),Ct&&Ct!=dt&&(Ct=Di(Ct));var To=[dt];if(!Ft){var Xo=z.text.length-2,Do;if(Xo>0&&dt)for(var $o=0;$o<dt.length;++$o)dt[$o].to==null&&(Do||(Do=[])).push(new dr(dt[$o].marker,null,null));for(var Ol=0;Ol<Xo;++Ol)To.push(Do);To.push(Ct)}return To}function Di(x){for(var z=0;z<x.length;++z){var ae=x[z];ae.from!=null&&ae.from==ae.to&&ae.marker.clearWhenEmpty!==!1&&x.splice(z--,1)}return x.length?x:null}function Eo(x,z,ae){var re=null;if(x.iter(z.line,ae.line+1,function($r){if($r.markedSpans)for(var ti=0;ti<$r.markedSpans.length;++ti){var Ei=$r.markedSpans[ti].marker;Ei.readOnly&&(!re||Mt(re,Ei)==-1)&&(re||(re=[])).push(Ei)}}),!re)return null;for(var oe=[{from:z,to:ae}],xe=0;xe<re.length;++xe)for(var We=re[xe],dt=We.find(0),Ct=0;Ct<oe.length;++Ct){var Ft=oe[Ct];if(!(qr(Ft.to,dt.from)<0||qr(Ft.from,dt.to)>0)){var tr=[Ct,1],mr=qr(Ft.from,dt.from),oa=qr(Ft.to,dt.to);(mr<0||!We.inclusiveLeft&&!mr)&&tr.push({from:Ft.from,to:dt.from}),(oa>0||!We.inclusiveRight&&!oa)&&tr.push({from:dt.to,to:Ft.to}),oe.splice.apply(oe,tr),Ct+=tr.length-3}}return oe}function Zo(x){var z=x.markedSpans;if(z){for(var ae=0;ae<z.length;++ae)z[ae].marker.detachLine(x);x.markedSpans=null}}function Qo(x,z){if(z){for(var ae=0;ae<z.length;++ae)z[ae].marker.attachLine(x);x.markedSpans=z}}function He(x){return x.inclusiveLeft?-1:0}function nt(x){return x.inclusiveRight?1:0}function It(x,z){var ae=x.lines.length-z.lines.length;if(ae!=0)return ae;var re=x.find(),oe=z.find(),xe=qr(re.from,oe.from)||He(x)-He(z);if(xe)return-xe;var We=qr(re.to,oe.to)||nt(x)-nt(z);return We||z.id-x.id}function pe(x,z){var ae=Ci&&x.markedSpans,re;if(ae)for(var oe=void 0,xe=0;xe<ae.length;++xe)oe=ae[xe],oe.marker.collapsed&&(z?oe.from:oe.to)==null&&(!re||It(re,oe.marker)<0)&&(re=oe.marker);return re}function Oe(x){return pe(x,!0)}function Ae(x){return pe(x,!1)}function Ke(x,z){var ae=Ci&&x.markedSpans,re;if(ae)for(var oe=0;oe<ae.length;++oe){var xe=ae[oe];xe.marker.collapsed&&(xe.from==null||xe.from<z)&&(xe.to==null||xe.to>z)&&(!re||It(re,xe.marker)<0)&&(re=xe.marker)}return re}function Qe(x,z,ae,re,oe){var xe=fr(x,z),We=Ci&&xe.markedSpans;if(We)for(var dt=0;dt<We.length;++dt){var Ct=We[dt];if(Ct.marker.collapsed){var Ft=Ct.marker.find(0),tr=qr(Ft.from,ae)||He(Ct.marker)-He(oe),mr=qr(Ft.to,re)||nt(Ct.marker)-nt(oe);if(!(tr>=0&&mr<=0||tr<=0&&mr>=0)&&(tr<=0&&(Ct.marker.inclusiveRight&&oe.inclusiveLeft?qr(Ft.to,ae)>=0:qr(Ft.to,ae)>0)||tr>=0&&(Ct.marker.inclusiveRight&&oe.inclusiveLeft?qr(Ft.from,re)<=0:qr(Ft.from,re)<0)))return!0}}}function at(x){for(var z;z=Oe(x);)x=z.find(-1,!0).line;return x}function ft(x){for(var z;z=Ae(x);)x=z.find(1,!0).line;return x}function Xt(x){for(var z,ae;z=Ae(x);)x=z.find(1,!0).line,(ae||(ae=[])).push(x);return ae}function an(x,z){var ae=fr(x,z),re=at(ae);return ae==re?z:ya(re)}function Qn(x,z){if(z>x.lastLine())return z;var ae=fr(x,z),re;if(!cr(x,ae))return z;for(;re=Ae(ae);)ae=re.find(1,!0).line;return ya(ae)+1}function cr(x,z){var ae=Ci&&z.markedSpans;if(ae){for(var re=void 0,oe=0;oe<ae.length;++oe)if(re=ae[oe],!!re.marker.collapsed){if(re.from==null)return!0;if(!re.marker.widgetNode&&re.from==0&&re.marker.inclusiveLeft&&Ar(x,z,re))return!0}}}function Ar(x,z,ae){if(ae.to==null){var re=ae.marker.find(1,!0);return Ar(x,re.line,Qr(re.line.markedSpans,ae.marker))}if(ae.marker.inclusiveRight&&ae.to==z.text.length)return!0;for(var oe=void 0,xe=0;xe<z.markedSpans.length;++xe)if(oe=z.markedSpans[xe],oe.marker.collapsed&&!oe.marker.widgetNode&&oe.from==ae.to&&(oe.to==null||oe.to!=ae.from)&&(oe.marker.inclusiveLeft||ae.marker.inclusiveRight)&&Ar(x,z,oe))return!0}function Dn(x){x=at(x);for(var z=0,ae=x.parent,re=0;re<ae.lines.length;++re){var oe=ae.lines[re];if(oe==x)break;z+=oe.height}for(var xe=ae.parent;xe;ae=xe,xe=ae.parent)for(var We=0;We<xe.children.length;++We){var dt=xe.children[We];if(dt==ae)break;z+=dt.height}return z}function $n(x){if(x.height==0)return 0;for(var z=x.text.length,ae,re=x;ae=Oe(re);){var oe=ae.find(0,!0);re=oe.from.line,z+=oe.from.ch-oe.to.ch}for(re=x;ae=Ae(re);){var xe=ae.find(0,!0);z-=re.text.length-xe.from.ch,re=xe.to.line,z+=re.text.length-xe.to.ch}return z}function Jn(x){var z=x.display,ae=x.doc;z.maxLine=fr(ae,ae.first),z.maxLineLength=$n(z.maxLine),z.maxLineChanged=!0,ae.iter(function(re){var oe=$n(re);oe>z.maxLineLength&&(z.maxLineLength=oe,z.maxLine=re)})}var kr=function(x,z,ae){this.text=x,Qo(this,z),this.height=ae?ae(this):1};kr.prototype.lineNo=function(){return ya(this)},Rr(kr);function Hr(x,z,ae,re){x.text=z,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),Zo(x),Qo(x,ae);var oe=re?re(x):1;oe!=x.height&&ha(x,oe)}function zr(x){x.parent=null,Zo(x)}var Fr={},jr={};function _r(x,z){if(!x||/^\s*$/.test(x))return null;var ae=z.addModeClass?jr:Fr;return ae[x]||(ae[x]=x.replace(/\S+/g,"cm-$&"))}function Jr(x,z){var ae=Fe("span",null,null,ce?"padding-right: .1px":null),re={pre:Fe("pre",[ae],"CodeMirror-line"),content:ae,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};z.measure={};for(var oe=0;oe<=(z.rest?z.rest.length:0);oe++){var xe=oe?z.rest[oe-1]:z.line,We=void 0;re.pos=0,re.addToken=Pt,fi(x.display.measure)&&(We=yn(xe,x.doc.direction))&&(re.addToken=Bn(re.addToken,We)),re.map=[];var dt=z!=x.display.externalMeasured&&ya(xe);Zr(xe,re,ll(x,xe,dt)),xe.styleClasses&&(xe.styleClasses.bgClass&&(re.bgClass=rt(xe.styleClasses.bgClass,re.bgClass||"")),xe.styleClasses.textClass&&(re.textClass=rt(xe.styleClasses.textClass,re.textClass||""))),re.map.length==0&&re.map.push(0,0,re.content.appendChild(Si(x.display.measure))),oe==0?(z.measure.map=re.map,z.measure.cache={}):((z.measure.maps||(z.measure.maps=[])).push(re.map),(z.measure.caches||(z.measure.caches=[])).push({}))}if(ce){var Ct=re.content.lastChild;(/\bcm-tab\b/.test(Ct.className)||Ct.querySelector&&Ct.querySelector(".cm-tab"))&&(re.content.className="cm-tab-wrap-hack")}return jt(x,"renderLine",x,z.line,re.pre),re.pre.className&&(re.textClass=rt(re.pre.className,re.textClass||"")),re}function kt(x){var z=yt("span","\u2022","cm-invalidchar");return z.title="\\u"+x.charCodeAt(0).toString(16),z.setAttribute("aria-label",z.title),z}function Pt(x,z,ae,re,oe,xe,We){if(z){var dt=x.splitSpaces?zn(z,x.trailingSpace):z,Ct=x.cm.state.specialChars,Ft=!1,tr;if(!Ct.test(z))x.col+=z.length,tr=document.createTextNode(dt),x.map.push(x.pos,x.pos+z.length,tr),we&&ke<9&&(Ft=!0),x.pos+=z.length;else{tr=document.createDocumentFragment();for(var mr=0;;){Ct.lastIndex=mr;var oa=Ct.exec(z),$r=oa?oa.index-mr:z.length-mr;if($r){var ti=document.createTextNode(dt.slice(mr,mr+$r));we&&ke<9?tr.appendChild(yt("span",[ti])):tr.appendChild(ti),x.map.push(x.pos,x.pos+$r,ti),x.col+=$r,x.pos+=$r}if(!oa)break;mr+=$r+1;var Ei=void 0;if(oa[0]==" "){var lo=x.cm.options.tabSize,To=lo-x.col%lo;Ei=tr.appendChild(yt("span",tn(To),"cm-tab")),Ei.setAttribute("role","presentation"),Ei.setAttribute("cm-text"," "),x.col+=To}else oa[0]=="\r"||oa[0]==`
`?(Ei=tr.appendChild(yt("span",oa[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ei.setAttribute("cm-text",oa[0]),x.col+=1):(Ei=x.cm.options.specialCharPlaceholder(oa[0]),Ei.setAttribute("cm-text",oa[0]),we&&ke<9?tr.appendChild(yt("span",[Ei])):tr.appendChild(Ei),x.col+=1);x.map.push(x.pos,x.pos+1,Ei),x.pos++}}if(x.trailingSpace=dt.charCodeAt(z.length-1)==32,ae||re||oe||Ft||xe||We){var Xo=ae||"";re&&(Xo+=re),oe&&(Xo+=oe);var Do=yt("span",[tr],Xo,xe);if(We)for(var $o in We)We.hasOwnProperty($o)&&$o!="style"&&$o!="class"&&Do.setAttribute($o,We[$o]);return x.content.appendChild(Do)}x.content.appendChild(tr)}}function zn(x,z){if(x.length>1&&!/ /.test(x))return x;for(var ae=z,re="",oe=0;oe<x.length;oe++){var xe=x.charAt(oe);xe==" "&&ae&&(oe==x.length-1||x.charCodeAt(oe+1)==32)&&(xe="\xA0"),re+=xe,ae=xe==" "}return re}function Bn(x,z){return function(ae,re,oe,xe,We,dt,Ct){oe=oe?oe+" cm-force-border":"cm-force-border";for(var Ft=ae.pos,tr=Ft+re.length;;){for(var mr=void 0,oa=0;oa<z.length&&(mr=z[oa],!(mr.to>Ft&&mr.from<=Ft));oa++);if(mr.to>=tr)return x(ae,re,oe,xe,We,dt,Ct);x(ae,re.slice(0,mr.to-Ft),oe,xe,null,dt,Ct),xe=null,re=re.slice(mr.to-Ft),Ft=mr.to}}}function xr(x,z,ae,re){var oe=!re&&ae.widgetNode;oe&&x.map.push(x.pos,x.pos+z,oe),!re&&x.cm.display.input.needsContentAttribute&&(oe||(oe=x.content.appendChild(document.createElement("span"))),oe.setAttribute("cm-marker",ae.id)),oe&&(x.cm.display.input.setUneditable(oe),x.content.appendChild(oe)),x.pos+=z,x.trailingSpace=!1}function Zr(x,z,ae){var re=x.markedSpans,oe=x.text,xe=0;if(!re){for(var We=1;We<ae.length;We+=2)z.addToken(z,oe.slice(xe,xe=ae[We]),_r(ae[We+1],z.cm.options));return}for(var dt=oe.length,Ct=0,Ft=1,tr="",mr,oa,$r=0,ti,Ei,lo,To,Xo;;){if($r==Ct){ti=Ei=lo=oa="",Xo=null,To=null,$r=1/0;for(var Do=[],$o=void 0,Ol=0;Ol<re.length;++Ol){var Zl=re[Ol],bs=Zl.marker;if(bs.type=="bookmark"&&Zl.from==Ct&&bs.widgetNode)Do.push(bs);else if(Zl.from<=Ct&&(Zl.to==null||Zl.to>Ct||bs.collapsed&&Zl.to==Ct&&Zl.from==Ct)){if(Zl.to!=null&&Zl.to!=Ct&&$r>Zl.to&&($r=Zl.to,Ei=""),bs.className&&(ti+=" "+bs.className),bs.css&&(oa=(oa?oa+";":"")+bs.css),bs.startStyle&&Zl.from==Ct&&(lo+=" "+bs.startStyle),bs.endStyle&&Zl.to==$r&&($o||($o=[])).push(bs.endStyle,Zl.to),bs.title&&((Xo||(Xo={})).title=bs.title),bs.attributes)for(var qs in bs.attributes)(Xo||(Xo={}))[qs]=bs.attributes[qs];bs.collapsed&&(!To||It(To.marker,bs)<0)&&(To=Zl)}else Zl.from>Ct&&$r>Zl.from&&($r=Zl.from)}if($o)for(var zu=0;zu<$o.length;zu+=2)$o[zu+1]==$r&&(Ei+=" "+$o[zu]);if(!To||To.from==Ct)for(var gu=0;gu<Do.length;++gu)xr(z,0,Do[gu]);if(To&&(To.from||0)==Ct){if(xr(z,(To.to==null?dt+1:To.to)-Ct,To.marker,To.from==null),To.to==null)return;To.to==Ct&&(To=!1)}}if(Ct>=dt)break;for(var Ju=Math.min(dt,$r);;){if(tr){var qu=Ct+tr.length;if(!To){var Bu=qu>Ju?tr.slice(0,Ju-Ct):tr;z.addToken(z,Bu,mr?mr+ti:ti,lo,Ct+Bu.length==$r?Ei:"",oa,Xo)}if(qu>=Ju){tr=tr.slice(Ju-Ct),Ct=Ju;break}Ct=qu,lo=""}tr=oe.slice(xe,xe=ae[Ft++]),mr=_r(ae[Ft++],z.cm.options)}}}function $t(x,z,ae){this.line=z,this.rest=Xt(z),this.size=this.rest?ya(In(this.rest))-ae+1:1,this.node=this.text=null,this.hidden=cr(x,z)}function cn(x,z,ae){for(var re=[],oe,xe=z;xe<ae;xe=oe){var We=new $t(x.doc,fr(x.doc,xe),xe);oe=xe+We.size,re.push(We)}return re}var dn=null;function Rn(x){dn?dn.ops.push(x):x.ownsGroup=dn={ops:[x],delayedCallbacks:[]}}function yr(x){var z=x.delayedCallbacks,ae=0;do{for(;ae<z.length;ae++)z[ae].call(null);for(var re=0;re<x.ops.length;re++){var oe=x.ops[re];if(oe.cursorActivityHandlers)for(;oe.cursorActivityCalled<oe.cursorActivityHandlers.length;)oe.cursorActivityHandlers[oe.cursorActivityCalled++].call(null,oe.cm)}}while(ae<z.length)}function Tr(x,z){var ae=x.ownsGroup;if(ae)try{yr(ae)}finally{dn=null,z(ae)}}var vr=null;function Pr(x,z){var ae=Qt(x,z);if(ae.length){var re=Array.prototype.slice.call(arguments,2),oe;dn?oe=dn.delayedCallbacks:vr?oe=vr:(oe=vr=[],setTimeout(ia,0));for(var xe=function(dt){oe.push(function(){return ae[dt].apply(null,re)})},We=0;We<ae.length;++We)xe(We)}}function ia(){var x=vr;vr=null;for(var z=0;z<x.length;++z)x[z]()}function Va(x,z,ae,re){for(var oe=0;oe<z.changes.length;oe++){var xe=z.changes[oe];xe=="text"?ja(x,z):xe=="gutter"?Ra(x,z,ae,re):xe=="class"?ai(x,z):xe=="widget"&&da(x,z,re)}z.changes=null}function ma(x){return x.node==x.text&&(x.node=yt("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),we&&ke<8&&(x.node.style.zIndex=2)),x.node}function Gr(x,z){var ae=z.bgClass?z.bgClass+" "+(z.line.bgClass||""):z.line.bgClass;if(ae&&(ae+=" CodeMirror-linebackground"),z.background)ae?z.background.className=ae:(z.background.parentNode.removeChild(z.background),z.background=null);else if(ae){var re=ma(z);z.background=re.insertBefore(yt("div",null,ae),re.firstChild),x.display.input.setUneditable(z.background)}}function Ea(x,z){var ae=x.display.externalMeasured;return ae&&ae.line==z.line?(x.display.externalMeasured=null,z.measure=ae.measure,ae.built):Jr(x,z)}function ja(x,z){var ae=z.text.className,re=Ea(x,z);z.text==z.node&&(z.node=re.pre),z.text.parentNode.replaceChild(re.pre,z.text),z.text=re.pre,re.bgClass!=z.bgClass||re.textClass!=z.textClass?(z.bgClass=re.bgClass,z.textClass=re.textClass,ai(x,z)):ae&&(z.text.className=ae)}function ai(x,z){Gr(x,z),z.line.wrapClass?ma(z).className=z.line.wrapClass:z.node!=z.text&&(z.node.className="");var ae=z.textClass?z.textClass+" "+(z.line.textClass||""):z.line.textClass;z.text.className=ae||""}function Ra(x,z,ae,re){if(z.gutter&&(z.node.removeChild(z.gutter),z.gutter=null),z.gutterBackground&&(z.node.removeChild(z.gutterBackground),z.gutterBackground=null),z.line.gutterClass){var oe=ma(z);z.gutterBackground=yt("div",null,"CodeMirror-gutter-background "+z.line.gutterClass,"left: "+(x.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px; width: "+re.gutterTotalWidth+"px"),x.display.input.setUneditable(z.gutterBackground),oe.insertBefore(z.gutterBackground,z.text)}var xe=z.line.gutterMarkers;if(x.options.lineNumbers||xe){var We=ma(z),dt=z.gutter=yt("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px");if(x.display.input.setUneditable(dt),We.insertBefore(dt,z.text),z.line.gutterClass&&(dt.className+=" "+z.line.gutterClass),x.options.lineNumbers&&(!xe||!xe["CodeMirror-linenumbers"])&&(z.lineNumber=dt.appendChild(yt("div",pa(x.options,ae),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+re.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),xe)for(var Ct=0;Ct<x.display.gutterSpecs.length;++Ct){var Ft=x.display.gutterSpecs[Ct].className,tr=xe.hasOwnProperty(Ft)&&xe[Ft];tr&&dt.appendChild(yt("div",[tr],"CodeMirror-gutter-elt","left: "+re.gutterLeft[Ft]+"px; width: "+re.gutterWidth[Ft]+"px"))}}}function da(x,z,ae){z.alignable&&(z.alignable=null);for(var re=ue("CodeMirror-linewidget"),oe=z.node.firstChild,xe=void 0;oe;oe=xe)xe=oe.nextSibling,re.test(oe.className)&&z.node.removeChild(oe);mi(x,z,ae)}function ci(x,z,ae,re){var oe=Ea(x,z);return z.text=z.node=oe.pre,oe.bgClass&&(z.bgClass=oe.bgClass),oe.textClass&&(z.textClass=oe.textClass),ai(x,z),Ra(x,z,ae,re),mi(x,z,re),z.node}function mi(x,z,ae){if(io(x,z.line,z,ae,!0),z.rest)for(var re=0;re<z.rest.length;re++)io(x,z.rest[re],z,ae,!1)}function io(x,z,ae,re,oe){if(z.widgets)for(var xe=ma(ae),We=0,dt=z.widgets;We<dt.length;++We){var Ct=dt[We],Ft=yt("div",[Ct.node],"CodeMirror-linewidget"+(Ct.className?" "+Ct.className:""));Ct.handleMouseEvents||Ft.setAttribute("cm-ignore-events","true"),po(Ct,Ft,ae,re),x.display.input.setUneditable(Ft),oe&&Ct.above?xe.insertBefore(Ft,ae.gutter||ae.text):xe.appendChild(Ft),Pr(Ct,"redraw")}}function po(x,z,ae,re){if(x.noHScroll){(ae.alignable||(ae.alignable=[])).push(z);var oe=re.wrapperWidth;z.style.left=re.fixedPos+"px",x.coverGutter||(oe-=re.gutterTotalWidth,z.style.paddingLeft=re.gutterTotalWidth+"px"),z.style.width=oe+"px"}x.coverGutter&&(z.style.zIndex=5,z.style.position="relative",x.noHScroll||(z.style.marginLeft=-re.gutterTotalWidth+"px"))}function Ao(x){if(x.height!=null)return x.height;var z=x.doc.cm;if(!z)return 0;if(!mt(document.body,x.node)){var ae="position: relative;";x.coverGutter&&(ae+="margin-left: -"+z.display.gutters.offsetWidth+"px;"),x.noHScroll&&(ae+="width: "+z.display.wrapper.clientWidth+"px;"),ht(z.display.measure,yt("div",[x.node],null,ae))}return x.height=x.node.parentNode.offsetHeight}function uo(x,z){for(var ae=_a(z);ae!=x.wrapper;ae=ae.parentNode)if(!ae||ae.nodeType==1&&ae.getAttribute("cm-ignore-events")=="true"||ae.parentNode==x.sizer&&ae!=x.mover)return!0}function ho(x){return x.lineSpace.offsetTop}function ji(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function wo(x){if(x.cachedPaddingH)return x.cachedPaddingH;var z=ht(x.measure,yt("pre","x","CodeMirror-line-like")),ae=window.getComputedStyle?window.getComputedStyle(z):z.currentStyle,re={left:parseInt(ae.paddingLeft),right:parseInt(ae.paddingRight)};return!isNaN(re.left)&&!isNaN(re.right)&&(x.cachedPaddingH=re),re}function Zi(x){return vn-x.display.nativeBarWidth}function gi(x){return x.display.scroller.clientWidth-Zi(x)-x.display.barWidth}function mo(x){return x.display.scroller.clientHeight-Zi(x)-x.display.barHeight}function _o(x,z,ae){var re=x.options.lineWrapping,oe=re&&gi(x);if(!z.measure.heights||re&&z.measure.width!=oe){var xe=z.measure.heights=[];if(re){z.measure.width=oe;for(var We=z.text.firstChild.getClientRects(),dt=0;dt<We.length-1;dt++){var Ct=We[dt],Ft=We[dt+1];Math.abs(Ct.bottom-Ft.bottom)>2&&xe.push((Ct.bottom+Ft.top)/2-ae.top)}}xe.push(ae.bottom-ae.top)}}function Wi(x,z,ae){if(x.line==z)return{map:x.measure.map,cache:x.measure.cache};for(var re=0;re<x.rest.length;re++)if(x.rest[re]==z)return{map:x.measure.maps[re],cache:x.measure.caches[re]};for(var oe=0;oe<x.rest.length;oe++)if(ya(x.rest[oe])>ae)return{map:x.measure.maps[oe],cache:x.measure.caches[oe],before:!0}}function al(x,z){z=at(z);var ae=ya(z),re=x.display.externalMeasured=new $t(x.doc,z,ae);re.lineN=ae;var oe=re.built=Jr(x,re);return re.text=oe.pre,ht(x.display.lineMeasure,oe.pre),re}function fl(x,z,ae,re){return Mo(x,qo(x,z),ae,re)}function hl(x,z){if(z>=x.display.viewFrom&&z<x.display.viewTo)return x.display.view[Ul(x,z)];var ae=x.display.externalMeasured;if(ae&&z>=ae.lineN&&z<ae.lineN+ae.size)return ae}function qo(x,z){var ae=ya(z),re=hl(x,ae);re&&!re.text?re=null:re&&re.changes&&(Va(x,re,ae,Ms(x)),x.curOp.forceUpdate=!0),re||(re=al(x,z));var oe=Wi(re,z,ae);return{line:z,view:re,rect:null,map:oe.map,cache:oe.cache,before:oe.before,hasHeights:!1}}function Mo(x,z,ae,re,oe){z.before&&(ae=-1);var xe=ae+(re||""),We;return z.cache.hasOwnProperty(xe)?We=z.cache[xe]:(z.rect||(z.rect=z.view.text.getBoundingClientRect()),z.hasHeights||(_o(x,z.view,z.rect),z.hasHeights=!0),We=sl(x,z,ae,re),We.bogus||(z.cache[xe]=We)),{left:We.left,right:We.right,top:oe?We.rtop:We.top,bottom:oe?We.rbottom:We.bottom}}var Wl={left:0,right:0,top:0,bottom:0};function Vo(x,z,ae){for(var re,oe,xe,We,dt,Ct,Ft=0;Ft<x.length;Ft+=3)if(dt=x[Ft],Ct=x[Ft+1],z<dt?(oe=0,xe=1,We="left"):z<Ct?(oe=z-dt,xe=oe+1):(Ft==x.length-3||z==Ct&&x[Ft+3]>z)&&(xe=Ct-dt,oe=xe-1,z>=Ct&&(We="right")),oe!=null){if(re=x[Ft+2],dt==Ct&&ae==(re.insertLeft?"left":"right")&&(We=ae),ae=="left"&&oe==0)for(;Ft&&x[Ft-2]==x[Ft-3]&&x[Ft-1].insertLeft;)re=x[(Ft-=3)+2],We="left";if(ae=="right"&&oe==Ct-dt)for(;Ft<x.length-3&&x[Ft+3]==x[Ft+4]&&!x[Ft+5].insertLeft;)re=x[(Ft+=3)+2],We="right";break}return{node:re,start:oe,end:xe,collapse:We,coverStart:dt,coverEnd:Ct}}function yo(x,z){var ae=Wl;if(z=="left")for(var re=0;re<x.length&&(ae=x[re]).left==ae.right;re++);else for(var oe=x.length-1;oe>=0&&(ae=x[oe]).left==ae.right;oe--);return ae}function sl(x,z,ae,re){var oe=Vo(z.map,ae,re),xe=oe.node,We=oe.start,dt=oe.end,Ct=oe.collapse,Ft;if(xe.nodeType==3){for(var tr=0;tr<4;tr++){for(;We&&xt(z.line.text.charAt(oe.coverStart+We));)--We;for(;oe.coverStart+dt<oe.coverEnd&&xt(z.line.text.charAt(oe.coverStart+dt));)++dt;if(we&&ke<9&&We==0&&dt==oe.coverEnd-oe.coverStart?Ft=xe.parentNode.getBoundingClientRect():Ft=yo(Be(xe,We,dt).getClientRects(),re),Ft.left||Ft.right||We==0)break;dt=We,We=We-1,Ct="right"}we&&ke<11&&(Ft=Vl(x.display.measure,Ft))}else{We>0&&(Ct=re="right");var mr;x.options.lineWrapping&&(mr=xe.getClientRects()).length>1?Ft=mr[re=="right"?mr.length-1:0]:Ft=xe.getBoundingClientRect()}if(we&&ke<9&&!We&&(!Ft||!Ft.left&&!Ft.right)){var oa=xe.parentNode.getClientRects()[0];oa?Ft={left:oa.left,right:oa.left+xs(x.display),top:oa.top,bottom:oa.bottom}:Ft=Wl}for(var $r=Ft.top-z.rect.top,ti=Ft.bottom-z.rect.top,Ei=($r+ti)/2,lo=z.view.measure.heights,To=0;To<lo.length-1&&!(Ei<lo[To]);To++);var Xo=To?lo[To-1]:0,Do=lo[To],$o={left:(Ct=="right"?Ft.right:Ft.left)-z.rect.left,right:(Ct=="left"?Ft.left:Ft.right)-z.rect.left,top:Xo,bottom:Do};return!Ft.left&&!Ft.right&&($o.bogus=!0),x.options.singleCursorHeightPerLine||($o.rtop=$r,$o.rbottom=ti),$o}function Vl(x,z){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Or(x))return z;var ae=screen.logicalXDPI/screen.deviceXDPI,re=screen.logicalYDPI/screen.deviceYDPI;return{left:z.left*ae,right:z.right*ae,top:z.top*re,bottom:z.bottom*re}}function pl(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var z=0;z<x.rest.length;z++)x.measure.caches[z]={}}function Dl(x){x.display.externalMeasure=null,Je(x.display.lineMeasure);for(var z=0;z<x.display.view.length;z++)pl(x.display.view[z])}function Lo(x){Dl(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function jl(){return me&&ot?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function ls(){return me&&ot?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ql(x){var z=0;if(x.widgets)for(var ae=0;ae<x.widgets.length;++ae)x.widgets[ae].above&&(z+=Ao(x.widgets[ae]));return z}function Al(x,z,ae,re,oe){if(!oe){var xe=Ql(z);ae.top+=xe,ae.bottom+=xe}if(re=="line")return ae;re||(re="local");var We=Dn(z);if(re=="local"?We+=ho(x.display):We-=x.display.viewOffset,re=="page"||re=="window"){var dt=x.display.lineSpace.getBoundingClientRect();We+=dt.top+(re=="window"?0:ls());var Ct=dt.left+(re=="window"?0:jl());ae.left+=Ct,ae.right+=Ct}return ae.top+=We,ae.bottom+=We,ae}function Tl(x,z,ae){if(ae=="div")return z;var re=z.left,oe=z.top;if(ae=="page")re-=jl(),oe-=ls();else if(ae=="local"||!ae){var xe=x.display.sizer.getBoundingClientRect();re+=xe.left,oe+=xe.top}var We=x.display.lineSpace.getBoundingClientRect();return{left:re-We.left,top:oe-We.top}}function $l(x,z,ae,re,oe){return re||(re=fr(x.doc,z.line)),Al(x,re,fl(x,re,z.ch,oe),ae)}function Rl(x,z,ae,re,oe,xe){re=re||fr(x.doc,z.line),oe||(oe=qo(x,re));function We(ti,Ei){var lo=Mo(x,oe,ti,Ei?"right":"left",xe);return Ei?lo.left=lo.right:lo.right=lo.left,Al(x,re,lo,ae)}var dt=yn(re,x.doc.direction),Ct=z.ch,Ft=z.sticky;if(Ct>=re.text.length?(Ct=re.text.length,Ft="before"):Ct<=0&&(Ct=0,Ft="after"),!dt)return We(Ft=="before"?Ct-1:Ct,Ft=="before");function tr(ti,Ei,lo){var To=dt[Ei],Xo=To.level==1;return We(lo?ti-1:ti,Xo!=lo)}var mr=_n(dt,Ct,Ft),oa=Xn,$r=tr(Ct,mr,Ft=="before");return oa!=null&&($r.other=tr(Ct,oa,Ft!="before")),$r}function Il(x,z){var ae=0;z=oi(x.doc,z),x.options.lineWrapping||(ae=xs(x.display)*z.ch);var re=fr(x.doc,z.line),oe=Dn(re)+ho(x.display);return{left:ae,right:ae,top:oe,bottom:oe+re.height}}function ss(x,z,ae,re,oe){var xe=Er(x,z,ae);return xe.xRel=oe,re&&(xe.outside=re),xe}function us(x,z,ae){var re=x.doc;if(ae+=x.display.viewOffset,ae<0)return ss(re.first,0,null,-1,-1);var oe=Sa(re,ae),xe=re.first+re.size-1;if(oe>xe)return ss(re.first+re.size-1,fr(re,xe).text.length,null,1,1);z<0&&(z=0);for(var We=fr(re,oe);;){var dt=Go(x,We,oe,z,ae),Ct=Ke(We,dt.ch+(dt.xRel>0||dt.outside>0?1:0));if(!Ct)return dt;var Ft=Ct.find(1);if(Ft.line==oe)return Ft;We=fr(re,oe=Ft.line)}}function ms(x,z,ae,re){re-=Ql(z);var oe=z.text.length,xe=un(function(We){return Mo(x,ae,We-1).bottom<=re},oe,0);return oe=un(function(We){return Mo(x,ae,We).top>re},xe,oe),{begin:xe,end:oe}}function ts(x,z,ae,re){ae||(ae=qo(x,z));var oe=Al(x,z,Mo(x,ae,re),"line").top;return ms(x,z,ae,oe)}function ns(x,z,ae,re){return x.bottom<=ae?!1:x.top>ae?!0:(re?x.left:x.right)>z}function Go(x,z,ae,re,oe){oe-=Dn(z);var xe=qo(x,z),We=Ql(z),dt=0,Ct=z.text.length,Ft=!0,tr=yn(z,x.doc.direction);if(tr){var mr=(x.options.lineWrapping?_l:il)(x,z,ae,xe,tr,re,oe);Ft=mr.level!=1,dt=Ft?mr.from:mr.to-1,Ct=Ft?mr.to:mr.from-1}var oa=null,$r=null,ti=un(function(Ol){var Zl=Mo(x,xe,Ol);return Zl.top+=We,Zl.bottom+=We,ns(Zl,re,oe,!1)?(Zl.top<=oe&&Zl.left<=re&&(oa=Ol,$r=Zl),!0):!1},dt,Ct),Ei,lo,To=!1;if($r){var Xo=re-$r.left<$r.right-re,Do=Xo==Ft;ti=oa+(Do?0:1),lo=Do?"after":"before",Ei=Xo?$r.left:$r.right}else{!Ft&&(ti==Ct||ti==dt)&&ti++,lo=ti==0?"after":ti==z.text.length?"before":Mo(x,xe,ti-(Ft?1:0)).bottom+We<=oe==Ft?"after":"before";var $o=Rl(x,Er(ae,ti,lo),"line",z,xe);Ei=$o.left,To=oe<$o.top?-1:oe>=$o.bottom?1:0}return ti=En(z.text,ti,1),ss(ae,ti,lo,To,re-Ei)}function il(x,z,ae,re,oe,xe,We){var dt=un(function(mr){var oa=oe[mr],$r=oa.level!=1;return ns(Rl(x,Er(ae,$r?oa.to:oa.from,$r?"before":"after"),"line",z,re),xe,We,!0)},0,oe.length-1),Ct=oe[dt];if(dt>0){var Ft=Ct.level!=1,tr=Rl(x,Er(ae,Ft?Ct.from:Ct.to,Ft?"after":"before"),"line",z,re);ns(tr,xe,We,!0)&&tr.top>We&&(Ct=oe[dt-1])}return Ct}function _l(x,z,ae,re,oe,xe,We){var dt=ms(x,z,re,We),Ct=dt.begin,Ft=dt.end;/\s/.test(z.text.charAt(Ft-1))&&Ft--;for(var tr=null,mr=null,oa=0;oa<oe.length;oa++){var $r=oe[oa];if(!($r.from>=Ft||$r.to<=Ct)){var ti=$r.level!=1,Ei=Mo(x,re,ti?Math.min(Ft,$r.to)-1:Math.max(Ct,$r.from)).right,lo=Ei<xe?xe-Ei+1e9:Ei-xe;(!tr||mr>lo)&&(tr=$r,mr=lo)}}return tr||(tr=oe[oe.length-1]),tr.from<Ct&&(tr={from:Ct,to:tr.to,level:tr.level}),tr.to>Ft&&(tr={from:tr.from,to:Ft,level:tr.level}),tr}var Xl;function hs(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(Xl==null){Xl=yt("pre",null,"CodeMirror-line-like");for(var z=0;z<49;++z)Xl.appendChild(document.createTextNode("x")),Xl.appendChild(yt("br"));Xl.appendChild(document.createTextNode("x"))}ht(x.measure,Xl);var ae=Xl.offsetHeight/50;return ae>3&&(x.cachedTextHeight=ae),Je(x.measure),ae||1}function xs(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var z=yt("span","xxxxxxxxxx"),ae=yt("pre",[z],"CodeMirror-line-like");ht(x.measure,ae);var re=z.getBoundingClientRect(),oe=(re.right-re.left)/10;return oe>2&&(x.cachedCharWidth=oe),oe||10}function Ms(x){for(var z=x.display,ae={},re={},oe=z.gutters.clientLeft,xe=z.gutters.firstChild,We=0;xe;xe=xe.nextSibling,++We){var dt=x.display.gutterSpecs[We].className;ae[dt]=xe.offsetLeft+xe.clientLeft+oe,re[dt]=xe.clientWidth}return{fixedPos:zs(z),gutterTotalWidth:z.gutters.offsetWidth,gutterLeft:ae,gutterWidth:re,wrapperWidth:z.wrapper.clientWidth}}function zs(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Ws(x){var z=hs(x.display),ae=x.options.lineWrapping,re=ae&&Math.max(5,x.display.scroller.clientWidth/xs(x.display)-3);return function(oe){if(cr(x.doc,oe))return 0;var xe=0;if(oe.widgets)for(var We=0;We<oe.widgets.length;We++)oe.widgets[We].height&&(xe+=oe.widgets[We].height);return ae?xe+(Math.ceil(oe.text.length/re)||1)*z:xe+z}}function Bs(x){var z=x.doc,ae=Ws(x);z.iter(function(re){var oe=ae(re);oe!=re.height&&ha(re,oe)})}function Xs(x,z,ae,re){var oe=x.display;if(!ae&&_a(z).getAttribute("cm-not-content")=="true")return null;var xe,We,dt=oe.lineSpace.getBoundingClientRect();try{xe=z.clientX-dt.left,We=z.clientY-dt.top}catch(mr){return null}var Ct=us(x,xe,We),Ft;if(re&&Ct.xRel>0&&(Ft=fr(x.doc,Ct.line).text).length==Ct.ch){var tr=ct(Ft,Ft.length,x.options.tabSize)-Ft.length;Ct=Er(Ct.line,Math.max(0,Math.round((xe-wo(x.display).left)/xs(x.display))-tr))}return Ct}function Ul(x,z){if(z>=x.display.viewTo||(z-=x.display.viewFrom,z<0))return null;for(var ae=x.display.view,re=0;re<ae.length;re++)if(z-=ae[re].size,z<0)return re}function Le(x,z,ae,re){z==null&&(z=x.doc.first),ae==null&&(ae=x.doc.first+x.doc.size),re||(re=0);var oe=x.display;if(re&&ae<oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>z)&&(oe.updateLineNumbers=z),x.curOp.viewChanged=!0,z>=oe.viewTo)Ci&&an(x.doc,z)<oe.viewTo&&it(x);else if(ae<=oe.viewFrom)Ci&&Qn(x.doc,ae+re)>oe.viewFrom?it(x):(oe.viewFrom+=re,oe.viewTo+=re);else if(z<=oe.viewFrom&&ae>=oe.viewTo)it(x);else if(z<=oe.viewFrom){var xe=Ce(x,ae,ae+re,1);xe?(oe.view=oe.view.slice(xe.index),oe.viewFrom=xe.lineN,oe.viewTo+=re):it(x)}else if(ae>=oe.viewTo){var We=Ce(x,z,z,-1);We?(oe.view=oe.view.slice(0,We.index),oe.viewTo=We.lineN):it(x)}else{var dt=Ce(x,z,z,-1),Ct=Ce(x,ae,ae+re,1);dt&&Ct?(oe.view=oe.view.slice(0,dt.index).concat(cn(x,dt.lineN,Ct.lineN)).concat(oe.view.slice(Ct.index)),oe.viewTo+=re):it(x)}var Ft=oe.externalMeasured;Ft&&(ae<Ft.lineN?Ft.lineN+=re:z<Ft.lineN+Ft.size&&(oe.externalMeasured=null))}function qe(x,z,ae){x.curOp.viewChanged=!0;var re=x.display,oe=x.display.externalMeasured;if(oe&&z>=oe.lineN&&z<oe.lineN+oe.size&&(re.externalMeasured=null),!(z<re.viewFrom||z>=re.viewTo)){var xe=re.view[Ul(x,z)];if(xe.node!=null){var We=xe.changes||(xe.changes=[]);Mt(We,ae)==-1&&We.push(ae)}}}function it(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function Ce(x,z,ae,re){var oe=Ul(x,z),xe,We=x.display.view;if(!Ci||ae==x.doc.first+x.doc.size)return{index:oe,lineN:ae};for(var dt=x.display.viewFrom,Ct=0;Ct<oe;Ct++)dt+=We[Ct].size;if(dt!=z){if(re>0){if(oe==We.length-1)return null;xe=dt+We[oe].size-z,oe++}else xe=dt-z;z+=xe,ae+=xe}for(;an(x.doc,ae)!=ae;){if(oe==(re<0?0:We.length-1))return null;ae+=re*We[oe-(re<0?1:0)].size,oe+=re}return{index:oe,lineN:ae}}function Ne(x,z,ae){var re=x.display,oe=re.view;oe.length==0||z>=re.viewTo||ae<=re.viewFrom?(re.view=cn(x,z,ae),re.viewFrom=z):(re.viewFrom>z?re.view=cn(x,z,re.viewFrom).concat(re.view):re.viewFrom<z&&(re.view=re.view.slice(Ul(x,z))),re.viewFrom=z,re.viewTo<ae?re.view=re.view.concat(cn(x,re.viewTo,ae)):re.viewTo>ae&&(re.view=re.view.slice(0,Ul(x,ae)))),re.viewTo=ae}function St(x){for(var z=x.display.view,ae=0,re=0;re<z.length;re++){var oe=z[re];!oe.hidden&&(!oe.node||oe.changes)&&++ae}return ae}function bt(x){x.display.input.showSelection(x.display.input.prepareSelection())}function Jt(x,z){z===void 0&&(z=!0);for(var ae=x.doc,re={},oe=re.cursors=document.createDocumentFragment(),xe=re.selection=document.createDocumentFragment(),We=0;We<ae.sel.ranges.length;We++)if(!(!z&&We==ae.sel.primIndex)){var dt=ae.sel.ranges[We];if(!(dt.from().line>=x.display.viewTo||dt.to().line<x.display.viewFrom)){var Ct=dt.empty();(Ct||x.options.showCursorWhenSelecting)&&_t(x,dt.head,oe),Ct||Wn(x,dt,xe)}}return re}function _t(x,z,ae){var re=Rl(x,z,"div",null,null,!x.options.singleCursorHeightPerLine),oe=ae.appendChild(yt("div","\xA0","CodeMirror-cursor"));if(oe.style.left=re.left+"px",oe.style.top=re.top+"px",oe.style.height=Math.max(0,re.bottom-re.top)*x.options.cursorHeight+"px",re.other){var xe=ae.appendChild(yt("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));xe.style.display="",xe.style.left=re.other.left+"px",xe.style.top=re.other.top+"px",xe.style.height=(re.other.bottom-re.other.top)*.85+"px"}}function Wt(x,z){return x.top-z.top||x.left-z.left}function Wn(x,z,ae){var re=x.display,oe=x.doc,xe=document.createDocumentFragment(),We=wo(x.display),dt=We.left,Ct=Math.max(re.sizerWidth,gi(x)-re.sizer.offsetLeft)-We.right,Ft=oe.direction=="ltr";function tr(Do,$o,Ol,Zl){$o<0&&($o=0),$o=Math.round($o),Zl=Math.round(Zl),xe.appendChild(yt("div",null,"CodeMirror-selected","position: absolute; left: "+Do+`px;
top: `+$o+"px; width: "+(Ol==null?Ct-Do:Ol)+`px;
height: `+(Zl-$o)+"px"))}function mr(Do,$o,Ol){var Zl=fr(oe,Do),bs=Zl.text.length,qs,zu;function gu(Bu,$u){return $l(x,Er(Do,Bu),"div",Zl,$u)}function Ju(Bu,$u,fs){var Su=ts(x,Zl,null,Bu),yu=$u=="ltr"==(fs=="after")?"left":"right",Cu=fs=="after"?Su.begin:Su.end-(/\s/.test(Zl.text.charAt(Su.end-1))?2:1);return gu(Cu,yu)[yu]}var qu=yn(Zl,oe.direction);return Pn(qu,$o||0,Ol==null?bs:Ol,function(Bu,$u,fs,Su){var yu=fs=="ltr",Cu=gu(Bu,yu?"left":"right"),Mu=gu($u-1,yu?"right":"left"),nd=$o==null&&Bu==0,oc=Ol==null&&$u==bs,Zu=Su==0,Fs=!qu||Su==qu.length-1;if(Mu.top-Cu.top<=3){var Tu=(Ft?nd:oc)&&Zu,zd=(Ft?oc:nd)&&Fs,Lc=Tu?dt:(yu?Cu:Mu).left,zc=zd?Ct:(yu?Mu:Cu).right;tr(Lc,Cu.top,zc-Lc,Cu.bottom)}else{var Sc,Lu,rd,Wu;yu?(Sc=Ft&&nd&&Zu?dt:Cu.left,Lu=Ft?Ct:Ju(Bu,fs,"before"),rd=Ft?dt:Ju($u,fs,"after"),Wu=Ft&&oc&&Fs?Ct:Mu.right):(Sc=Ft?Ju(Bu,fs,"before"):dt,Lu=!Ft&&nd&&Zu?Ct:Cu.right,rd=!Ft&&oc&&Fs?dt:Mu.left,Wu=Ft?Ju($u,fs,"after"):Ct),tr(Sc,Cu.top,Lu-Sc,Cu.bottom),Cu.bottom<Mu.top&&tr(dt,Cu.bottom,null,Mu.top),tr(rd,Mu.top,Wu-rd,Mu.bottom)}(!qs||Wt(Cu,qs)<0)&&(qs=Cu),Wt(Mu,qs)<0&&(qs=Mu),(!zu||Wt(Cu,zu)<0)&&(zu=Cu),Wt(Mu,zu)<0&&(zu=Mu)}),{start:qs,end:zu}}var oa=z.from(),$r=z.to();if(oa.line==$r.line)mr(oa.line,oa.ch,$r.ch);else{var ti=fr(oe,oa.line),Ei=fr(oe,$r.line),lo=at(ti)==at(Ei),To=mr(oa.line,oa.ch,lo?ti.text.length+1:null).end,Xo=mr($r.line,lo?0:null,$r.ch).start;lo&&(To.top<Xo.top-2?(tr(To.right,To.top,null,To.bottom),tr(dt,Xo.top,Xo.left,Xo.bottom)):tr(To.right,To.top,Xo.left-To.right,To.bottom)),To.bottom<Xo.top&&tr(dt,To.bottom,null,Xo.top)}ae.appendChild(xe)}function xn(x){if(x.state.focused){var z=x.display;clearInterval(z.blinker);var ae=!0;z.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?z.blinker=setInterval(function(){x.hasFocus()||or(x),z.cursorDiv.style.visibility=(ae=!ae)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(z.cursorDiv.style.visibility="hidden")}}function Ln(x){x.state.focused||(x.display.input.focus(),pr(x))}function Mr(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,or(x))},100)}function pr(x,z){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(jt(x,"focus",x,z),x.state.focused=!0,ut(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),ce&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),xn(x))}function or(x,z){x.state.delayingBlurEvent||(x.state.focused&&(jt(x,"blur",x,z),x.state.focused=!1,$e(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function sr(x){for(var z=x.display,ae=z.lineDiv.offsetTop,re=0;re<z.view.length;re++){var oe=z.view[re],xe=x.options.lineWrapping,We=void 0,dt=0;if(!oe.hidden){if(we&&ke<8){var Ct=oe.node.offsetTop+oe.node.offsetHeight;We=Ct-ae,ae=Ct}else{var Ft=oe.node.getBoundingClientRect();We=Ft.bottom-Ft.top,!xe&&oe.text.firstChild&&(dt=oe.text.firstChild.getBoundingClientRect().right-Ft.left-1)}var tr=oe.line.height-We;if((tr>.005||tr<-.005)&&(ha(oe.line,We),Br(oe.line),oe.rest))for(var mr=0;mr<oe.rest.length;mr++)Br(oe.rest[mr]);if(dt>x.display.sizerWidth){var oa=Math.ceil(dt/xs(x.display));oa>x.display.maxLineLength&&(x.display.maxLineLength=oa,x.display.maxLine=oe.line,x.display.maxLineChanged=!0)}}}}function Br(x){if(x.widgets)for(var z=0;z<x.widgets.length;++z){var ae=x.widgets[z],re=ae.node.parentNode;re&&(ae.height=re.offsetHeight)}}function Vr(x,z,ae){var re=ae&&ae.top!=null?Math.max(0,ae.top):x.scroller.scrollTop;re=Math.floor(re-ho(x));var oe=ae&&ae.bottom!=null?ae.bottom:re+x.wrapper.clientHeight,xe=Sa(z,re),We=Sa(z,oe);if(ae&&ae.ensure){var dt=ae.ensure.from.line,Ct=ae.ensure.to.line;dt<xe?(xe=dt,We=Sa(z,Dn(fr(z,dt))+x.wrapper.clientHeight)):Math.min(Ct,z.lastLine())>=We&&(xe=Sa(z,Dn(fr(z,Ct))-x.wrapper.clientHeight),We=Ct)}return{from:xe,to:Math.max(We,xe+1)}}function na(x,z){if(!rn(x,"scrollCursorIntoView")){var ae=x.display,re=ae.sizer.getBoundingClientRect(),oe=null;if(z.top+re.top<0?oe=!0:z.bottom+re.top>(window.innerHeight||document.documentElement.clientHeight)&&(oe=!1),oe!=null&&!Ge){var xe=yt("div","\u200B",null,`position: absolute;
top: `+(z.top-ae.viewOffset-ho(x.display))+`px;
height: `+(z.bottom-z.top+Zi(x)+ae.barHeight)+`px;
left: `+z.left+"px; width: "+Math.max(2,z.right-z.left)+"px;");x.display.lineSpace.appendChild(xe),xe.scrollIntoView(oe),x.display.lineSpace.removeChild(xe)}}}function ka(x,z,ae,re){re==null&&(re=0);var oe;!x.options.lineWrapping&&z==ae&&(z=z.ch?Er(z.line,z.sticky=="before"?z.ch-1:z.ch,"after"):z,ae=z.sticky=="before"?Er(z.line,z.ch+1,"before"):z);for(var xe=0;xe<5;xe++){var We=!1,dt=Rl(x,z),Ct=!ae||ae==z?dt:Rl(x,ae);oe={left:Math.min(dt.left,Ct.left),top:Math.min(dt.top,Ct.top)-re,right:Math.max(dt.left,Ct.left),bottom:Math.max(dt.bottom,Ct.bottom)+re};var Ft=gt(x,oe),tr=x.doc.scrollTop,mr=x.doc.scrollLeft;if(Ft.scrollTop!=null&&(Gt(x,Ft.scrollTop),Math.abs(x.doc.scrollTop-tr)>1&&(We=!0)),Ft.scrollLeft!=null&&(jn(x,Ft.scrollLeft),Math.abs(x.doc.scrollLeft-mr)>1&&(We=!0)),!We)break}return oe}function _e(x,z){var ae=gt(x,z);ae.scrollTop!=null&&Gt(x,ae.scrollTop),ae.scrollLeft!=null&&jn(x,ae.scrollLeft)}function gt(x,z){var ae=x.display,re=hs(x.display);z.top<0&&(z.top=0);var oe=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ae.scroller.scrollTop,xe=mo(x),We={};z.bottom-z.top>xe&&(z.bottom=z.top+xe);var dt=x.doc.height+ji(ae),Ct=z.top<re,Ft=z.bottom>dt-re;if(z.top<oe)We.scrollTop=Ct?0:z.top;else if(z.bottom>oe+xe){var tr=Math.min(z.top,(Ft?dt:z.bottom)-xe);tr!=oe&&(We.scrollTop=tr)}var mr=x.options.fixedGutter?0:ae.gutters.offsetWidth,oa=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ae.scroller.scrollLeft-mr,$r=gi(x)-ae.gutters.offsetWidth,ti=z.right-z.left>$r;return ti&&(z.right=z.left+$r),z.left<10?We.scrollLeft=0:z.left<oa?We.scrollLeft=Math.max(0,z.left+mr-(ti?0:10)):z.right>$r+oa-3&&(We.scrollLeft=z.right+(ti?0:10)-$r),We}function Ht(x,z){z!=null&&(Fn(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+z)}function Ue(x){Fn(x);var z=x.getCursor();x.curOp.scrollToPos={from:z,to:z,margin:x.options.cursorScrollMargin}}function Ut(x,z,ae){(z!=null||ae!=null)&&Fn(x),z!=null&&(x.curOp.scrollLeft=z),ae!=null&&(x.curOp.scrollTop=ae)}function hn(x,z){Fn(x),x.curOp.scrollToPos=z}function Fn(x){var z=x.curOp.scrollToPos;if(z){x.curOp.scrollToPos=null;var ae=Il(x,z.from),re=Il(x,z.to);Lt(x,ae,re,z.margin)}}function Lt(x,z,ae,re){var oe=gt(x,{left:Math.min(z.left,ae.left),top:Math.min(z.top,ae.top)-re,right:Math.max(z.right,ae.right),bottom:Math.max(z.bottom,ae.bottom)+re});Ut(x,oe.scrollLeft,oe.scrollTop)}function Gt(x,z){Math.abs(x.doc.scrollTop-z)<2||(ne||ol(x,{top:z}),ln(x,z,!0),ne&&ol(x),Za(x,100))}function ln(x,z,ae){z=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,z)),!(x.display.scroller.scrollTop==z&&!ae)&&(x.doc.scrollTop=z,x.display.scrollbars.setScrollTop(z),x.display.scroller.scrollTop!=z&&(x.display.scroller.scrollTop=z))}function jn(x,z,ae,re){z=Math.max(0,Math.min(z,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ae?z==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-z)<2)&&!re)&&(x.doc.scrollLeft=z,Ki(x),x.display.scroller.scrollLeft!=z&&(x.display.scroller.scrollLeft=z),x.display.scrollbars.setScrollLeft(z))}function er(x){var z=x.display,ae=z.gutters.offsetWidth,re=Math.round(x.doc.height+ji(x.display));return{clientHeight:z.scroller.clientHeight,viewHeight:z.wrapper.clientHeight,scrollWidth:z.scroller.scrollWidth,clientWidth:z.scroller.clientWidth,viewWidth:z.wrapper.clientWidth,barLeft:x.options.fixedGutter?ae:0,docHeight:re,scrollHeight:re+Zi(x)+z.barHeight,nativeBarWidth:z.nativeBarWidth,gutterWidth:ae}}var gr=function(x,z,ae){this.cm=ae;var re=this.vert=yt("div",[yt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),oe=this.horiz=yt("div",[yt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");re.tabIndex=oe.tabIndex=-1,x(re),x(oe),On(re,"scroll",function(){re.clientHeight&&z(re.scrollTop,"vertical")}),On(oe,"scroll",function(){oe.clientWidth&&z(oe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,we&&ke<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};gr.prototype.update=function(x){var z=x.scrollWidth>x.clientWidth+1,ae=x.scrollHeight>x.clientHeight+1,re=x.nativeBarWidth;if(ae){this.vert.style.display="block",this.vert.style.bottom=z?re+"px":"0";var oe=x.viewHeight-(z?re:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+oe)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(z){this.horiz.style.display="block",this.horiz.style.right=ae?re+"px":"0",this.horiz.style.left=x.barLeft+"px";var xe=x.viewWidth-x.barLeft-(ae?re:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+xe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(re==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ae?re:0,bottom:z?re:0}},gr.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},gr.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},gr.prototype.zeroWidthHack=function(){var x=Ee&&!fe?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ie,this.disableVert=new Ie},gr.prototype.enableZeroWidthBar=function(x,z,ae){x.style.pointerEvents="auto";function re(){var oe=x.getBoundingClientRect(),xe=ae=="vert"?document.elementFromPoint(oe.right-1,(oe.top+oe.bottom)/2):document.elementFromPoint((oe.right+oe.left)/2,oe.bottom-1);xe!=x?x.style.pointerEvents="none":z.set(1e3,re)}z.set(1e3,re)},gr.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var lr=function(){};lr.prototype.update=function(){return{bottom:0,right:0}},lr.prototype.setScrollLeft=function(){},lr.prototype.setScrollTop=function(){},lr.prototype.clear=function(){};function Nr(x,z){z||(z=er(x));var ae=x.display.barWidth,re=x.display.barHeight;Wr(x,z);for(var oe=0;oe<4&&ae!=x.display.barWidth||re!=x.display.barHeight;oe++)ae!=x.display.barWidth&&x.options.lineWrapping&&sr(x),Wr(x,er(x)),ae=x.display.barWidth,re=x.display.barHeight}function Wr(x,z){var ae=x.display,re=ae.scrollbars.update(z);ae.sizer.style.paddingRight=(ae.barWidth=re.right)+"px",ae.sizer.style.paddingBottom=(ae.barHeight=re.bottom)+"px",ae.heightForcer.style.borderBottom=re.bottom+"px solid transparent",re.right&&re.bottom?(ae.scrollbarFiller.style.display="block",ae.scrollbarFiller.style.height=re.bottom+"px",ae.scrollbarFiller.style.width=re.right+"px"):ae.scrollbarFiller.style.display="",re.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ae.gutterFiller.style.display="block",ae.gutterFiller.style.height=re.bottom+"px",ae.gutterFiller.style.width=z.gutterWidth+"px"):ae.gutterFiller.style.display=""}var ea={native:gr,null:lr};function Kr(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&$e(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new ea[x.options.scrollbarStyle](function(z){x.display.wrapper.insertBefore(z,x.display.scrollbarFiller),On(z,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),z.setAttribute("cm-not-content","true")},function(z,ae){ae=="horizontal"?jn(x,z):Gt(x,z)},x),x.display.scrollbars.addClass&&ut(x.display.wrapper,x.display.scrollbars.addClass)}var Ba=0;function ua(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ba},Rn(x.curOp)}function Na(x){var z=x.curOp;z&&Tr(z,function(ae){for(var re=0;re<ae.ops.length;re++)ae.ops[re].cm.curOp=null;Ga(ae)})}function Ga(x){for(var z=x.ops,ae=0;ae<z.length;ae++)la(z[ae]);for(var re=0;re<z.length;re++)ga(z[re]);for(var oe=0;oe<z.length;oe++)fa(z[oe]);for(var xe=0;xe<z.length;xe++)La(z[xe]);for(var We=0;We<z.length;We++)Aa(z[We])}function la(x){var z=x.cm,ae=z.display;ii(z),x.updateMaxLine&&Jn(z),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<ae.viewFrom||x.scrollToPos.to.line>=ae.viewTo)||ae.maxLineChanged&&z.options.lineWrapping,x.update=x.mustUpdate&&new Oa(z,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function ga(x){x.updatedDisplay=x.mustUpdate&&No(x.cm,x.update)}function fa(x){var z=x.cm,ae=z.display;x.updatedDisplay&&sr(z),x.barMeasure=er(z),ae.maxLineChanged&&!z.options.lineWrapping&&(x.adjustWidthTo=fl(z,ae.maxLine,ae.maxLine.text.length).left+3,z.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ae.scroller.clientWidth,ae.sizer.offsetLeft+x.adjustWidthTo+Zi(z)+z.display.barWidth),x.maxScrollLeft=Math.max(0,ae.sizer.offsetLeft+x.adjustWidthTo-gi(z))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ae.input.prepareSelection())}function La(x){var z=x.cm;x.adjustWidthTo!=null&&(z.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<z.doc.scrollLeft&&jn(z,Math.min(z.display.scroller.scrollLeft,x.maxScrollLeft),!0),z.display.maxLineChanged=!1);var ae=x.focus&&x.focus==ze();x.preparedSelection&&z.display.input.showSelection(x.preparedSelection,ae),(x.updatedDisplay||x.startHeight!=z.doc.height)&&Nr(z,x.barMeasure),x.updatedDisplay&&Pl(z,x.barMeasure),x.selectionChanged&&xn(z),z.state.focused&&x.updateInput&&z.display.input.reset(x.typing),ae&&Ln(x.cm)}function Aa(x){var z=x.cm,ae=z.display,re=z.doc;if(x.updatedDisplay&&vo(z,x.update),ae.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ae.wheelStartX=ae.wheelStartY=null),x.scrollTop!=null&&ln(z,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&jn(z,x.scrollLeft,!0,!0),x.scrollToPos){var oe=ka(z,oi(re,x.scrollToPos.from),oi(re,x.scrollToPos.to),x.scrollToPos.margin);na(z,oe)}var xe=x.maybeHiddenMarkers,We=x.maybeUnhiddenMarkers;if(xe)for(var dt=0;dt<xe.length;++dt)xe[dt].lines.length||jt(xe[dt],"hide");if(We)for(var Ct=0;Ct<We.length;++Ct)We[Ct].lines.length&&jt(We[Ct],"unhide");ae.wrapper.offsetHeight&&(re.scrollTop=z.display.scroller.scrollTop),x.changeObjs&&jt(z,"changes",z,x.changeObjs),x.update&&x.update.finish()}function ca(x,z){if(x.curOp)return z();ua(x);try{return z()}finally{Na(x)}}function Xa(x,z){return function(){if(x.curOp)return z.apply(x,arguments);ua(x);try{return z.apply(x,arguments)}finally{Na(x)}}}function ra(x){return function(){if(this.curOp)return x.apply(this,arguments);ua(this);try{return x.apply(this,arguments)}finally{Na(this)}}}function Ya(x){return function(){var z=this.cm;if(!z||z.curOp)return x.apply(this,arguments);ua(z);try{return x.apply(this,arguments)}finally{Na(z)}}}function Za(x,z){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(z,Bt(Ua,x))}function Ua(x){var z=x.doc;if(!(z.highlightFrontier>=x.display.viewTo)){var ae=+new Date+x.options.workTime,re=Uo(x,z.highlightFrontier),oe=[];z.iter(re.line,Math.min(z.first+z.size,x.display.viewTo+500),function(xe){if(re.line>=x.display.viewFrom){var We=xe.styles,dt=xe.text.length>x.options.maxHighlightLength?fn(z.mode,re.state):null,Ct=xl(x,xe,re,!0);dt&&(re.state=dt),xe.styles=Ct.styles;var Ft=xe.styleClasses,tr=Ct.classes;tr?xe.styleClasses=tr:Ft&&(xe.styleClasses=null);for(var mr=!We||We.length!=xe.styles.length||Ft!=tr&&(!Ft||!tr||Ft.bgClass!=tr.bgClass||Ft.textClass!=tr.textClass),oa=0;!mr&&oa<We.length;++oa)mr=We[oa]!=xe.styles[oa];mr&&oe.push(re.line),xe.stateAfter=re.save(),re.nextLine()}else xe.text.length<=x.options.maxHighlightLength&&co(x,xe.text,re),xe.stateAfter=re.line%5==0?re.save():null,re.nextLine();if(+new Date>ae)return Za(x,x.options.workDelay),!0}),z.highlightFrontier=re.line,z.modeFrontier=Math.max(z.modeFrontier,re.line),oe.length&&ca(x,function(){for(var xe=0;xe<oe.length;xe++)qe(x,oe[xe],"text")})}}var Oa=function(x,z,ae){var re=x.display;this.viewport=z,this.visible=Vr(re,x.doc,z),this.editorIsHidden=!re.wrapper.offsetWidth,this.wrapperHeight=re.wrapper.clientHeight,this.wrapperWidth=re.wrapper.clientWidth,this.oldDisplayWidth=gi(x),this.force=ae,this.dims=Ms(x),this.events=[]};Oa.prototype.signal=function(x,z){ur(x,z)&&this.events.push(arguments)},Oa.prototype.finish=function(){for(var x=0;x<this.events.length;x++)jt.apply(null,this.events[x])};function ii(x){var z=x.display;!z.scrollbarsClipped&&z.scroller.offsetWidth&&(z.nativeBarWidth=z.scroller.offsetWidth-z.scroller.clientWidth,z.heightForcer.style.height=Zi(x)+"px",z.sizer.style.marginBottom=-z.nativeBarWidth+"px",z.sizer.style.borderRightWidth=Zi(x)+"px",z.scrollbarsClipped=!0)}function yi(x){if(x.hasFocus())return null;var z=ze();if(!z||!mt(x.display.lineDiv,z))return null;var ae={activeElt:z};if(window.getSelection){var re=window.getSelection();re.anchorNode&&re.extend&&mt(x.display.lineDiv,re.anchorNode)&&(ae.anchorNode=re.anchorNode,ae.anchorOffset=re.anchorOffset,ae.focusNode=re.focusNode,ae.focusOffset=re.focusOffset)}return ae}function Ko(x){if(!(!x||!x.activeElt||x.activeElt==ze())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&mt(document.body,x.anchorNode)&&mt(document.body,x.focusNode))){var z=window.getSelection(),ae=document.createRange();ae.setEnd(x.anchorNode,x.anchorOffset),ae.collapse(!1),z.removeAllRanges(),z.addRange(ae),z.extend(x.focusNode,x.focusOffset)}}function No(x,z){var ae=x.display,re=x.doc;if(z.editorIsHidden)return it(x),!1;if(!z.force&&z.visible.from>=ae.viewFrom&&z.visible.to<=ae.viewTo&&(ae.updateLineNumbers==null||ae.updateLineNumbers>=ae.viewTo)&&ae.renderedView==ae.view&&St(x)==0)return!1;di(x)&&(it(x),z.dims=Ms(x));var oe=re.first+re.size,xe=Math.max(z.visible.from-x.options.viewportMargin,re.first),We=Math.min(oe,z.visible.to+x.options.viewportMargin);ae.viewFrom<xe&&xe-ae.viewFrom<20&&(xe=Math.max(re.first,ae.viewFrom)),ae.viewTo>We&&ae.viewTo-We<20&&(We=Math.min(oe,ae.viewTo)),Ci&&(xe=an(x.doc,xe),We=Qn(x.doc,We));var dt=xe!=ae.viewFrom||We!=ae.viewTo||ae.lastWrapHeight!=z.wrapperHeight||ae.lastWrapWidth!=z.wrapperWidth;Ne(x,xe,We),ae.viewOffset=Dn(fr(x.doc,ae.viewFrom)),x.display.mover.style.top=ae.viewOffset+"px";var Ct=St(x);if(!dt&&Ct==0&&!z.force&&ae.renderedView==ae.view&&(ae.updateLineNumbers==null||ae.updateLineNumbers>=ae.viewTo))return!1;var Ft=yi(x);return Ct>4&&(ae.lineDiv.style.display="none"),Bo(x,ae.updateLineNumbers,z.dims),Ct>4&&(ae.lineDiv.style.display=""),ae.renderedView=ae.view,Ko(Ft),Je(ae.cursorDiv),Je(ae.selectionDiv),ae.gutters.style.height=ae.sizer.style.minHeight=0,dt&&(ae.lastWrapHeight=z.wrapperHeight,ae.lastWrapWidth=z.wrapperWidth,Za(x,400)),ae.updateLineNumbers=null,!0}function vo(x,z){for(var ae=z.viewport,re=!0;;re=!1){if(!re||!x.options.lineWrapping||z.oldDisplayWidth==gi(x)){if(ae&&ae.top!=null&&(ae={top:Math.min(x.doc.height+ji(x.display)-mo(x),ae.top)}),z.visible=Vr(x.display,x.doc,ae),z.visible.from>=x.display.viewFrom&&z.visible.to<=x.display.viewTo)break}else re&&(z.visible=Vr(x.display,x.doc,ae));if(!No(x,z))break;sr(x);var oe=er(x);bt(x),Nr(x,oe),Pl(x,oe),z.force=!1}z.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(z.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function ol(x,z){var ae=new Oa(x,z);if(No(x,ae)){sr(x),vo(x,ae);var re=er(x);bt(x),Nr(x,re),Pl(x,re),ae.finish()}}function Bo(x,z,ae){var re=x.display,oe=x.options.lineNumbers,xe=re.lineDiv,We=xe.firstChild;function dt(ti){var Ei=ti.nextSibling;return ce&&Ee&&x.display.currentWheelTarget==ti?ti.style.display="none":ti.parentNode.removeChild(ti),Ei}for(var Ct=re.view,Ft=re.viewFrom,tr=0;tr<Ct.length;tr++){var mr=Ct[tr];if(!mr.hidden)if(!mr.node||mr.node.parentNode!=xe){var oa=ci(x,mr,Ft,ae);xe.insertBefore(oa,We)}else{for(;We!=mr.node;)We=dt(We);var $r=oe&&z!=null&&z<=Ft&&mr.lineNumber;mr.changes&&(Mt(mr.changes,"gutter")>-1&&($r=!1),Va(x,mr,Ft,ae)),$r&&(Je(mr.lineNumber),mr.lineNumber.appendChild(document.createTextNode(pa(x.options,Ft)))),We=mr.node.nextSibling}Ft+=mr.size}for(;We;)We=dt(We)}function kl(x){var z=x.gutters.offsetWidth;x.sizer.style.marginLeft=z+"px"}function Pl(x,z){x.display.sizer.style.minHeight=z.docHeight+"px",x.display.heightForcer.style.top=z.docHeight+"px",x.display.gutters.style.height=z.docHeight+x.display.barHeight+Zi(x)+"px"}function Ki(x){var z=x.display,ae=z.view;if(!(!z.alignWidgets&&(!z.gutters.firstChild||!x.options.fixedGutter))){for(var re=zs(z)-z.scroller.scrollLeft+x.doc.scrollLeft,oe=z.gutters.offsetWidth,xe=re+"px",We=0;We<ae.length;We++)if(!ae[We].hidden){x.options.fixedGutter&&(ae[We].gutter&&(ae[We].gutter.style.left=xe),ae[We].gutterBackground&&(ae[We].gutterBackground.style.left=xe));var dt=ae[We].alignable;if(dt)for(var Ct=0;Ct<dt.length;Ct++)dt[Ct].style.left=xe}x.options.fixedGutter&&(z.gutters.style.left=re+oe+"px")}}function di(x){if(!x.options.lineNumbers)return!1;var z=x.doc,ae=pa(x.options,z.first+z.size-1),re=x.display;if(ae.length!=re.lineNumChars){var oe=re.measure.appendChild(yt("div",[yt("div",ae)],"CodeMirror-linenumber CodeMirror-gutter-elt")),xe=oe.firstChild.offsetWidth,We=oe.offsetWidth-xe;return re.lineGutter.style.width="",re.lineNumInnerWidth=Math.max(xe,re.lineGutter.offsetWidth-We)+1,re.lineNumWidth=re.lineNumInnerWidth+We,re.lineNumChars=re.lineNumInnerWidth?ae.length:-1,re.lineGutter.style.width=re.lineNumWidth+"px",kl(x.display),!0}return!1}function go(x,z){for(var ae=[],re=!1,oe=0;oe<x.length;oe++){var xe=x[oe],We=null;if(typeof xe!="string"&&(We=xe.style,xe=xe.className),xe=="CodeMirror-linenumbers")if(z)re=!0;else continue;ae.push({className:xe,style:We})}return z&&!re&&ae.push({className:"CodeMirror-linenumbers",style:null}),ae}function zo(x){var z=x.gutters,ae=x.gutterSpecs;Je(z),x.lineGutter=null;for(var re=0;re<ae.length;++re){var oe=ae[re],xe=oe.className,We=oe.style,dt=z.appendChild(yt("div",null,"CodeMirror-gutter "+xe));We&&(dt.style.cssText=We),xe=="CodeMirror-linenumbers"&&(x.lineGutter=dt,dt.style.width=(x.lineNumWidth||1)+"px")}z.style.display=ae.length?"":"none",kl(x)}function oo(x){zo(x.display),Le(x),Ki(x)}function bo(x,z,ae,re){var oe=this;this.input=ae,oe.scrollbarFiller=yt("div",null,"CodeMirror-scrollbar-filler"),oe.scrollbarFiller.setAttribute("cm-not-content","true"),oe.gutterFiller=yt("div",null,"CodeMirror-gutter-filler"),oe.gutterFiller.setAttribute("cm-not-content","true"),oe.lineDiv=Fe("div",null,"CodeMirror-code"),oe.selectionDiv=yt("div",null,null,"position: relative; z-index: 1"),oe.cursorDiv=yt("div",null,"CodeMirror-cursors"),oe.measure=yt("div",null,"CodeMirror-measure"),oe.lineMeasure=yt("div",null,"CodeMirror-measure"),oe.lineSpace=Fe("div",[oe.measure,oe.lineMeasure,oe.selectionDiv,oe.cursorDiv,oe.lineDiv],null,"position: relative; outline: none");var xe=Fe("div",[oe.lineSpace],"CodeMirror-lines");oe.mover=yt("div",[xe],null,"position: relative"),oe.sizer=yt("div",[oe.mover],"CodeMirror-sizer"),oe.sizerWidth=null,oe.heightForcer=yt("div",null,null,"position: absolute; height: "+vn+"px; width: 1px;"),oe.gutters=yt("div",null,"CodeMirror-gutters"),oe.lineGutter=null,oe.scroller=yt("div",[oe.sizer,oe.heightForcer,oe.gutters],"CodeMirror-scroll"),oe.scroller.setAttribute("tabIndex","-1"),oe.wrapper=yt("div",[oe.scrollbarFiller,oe.gutterFiller,oe.scroller],"CodeMirror"),we&&ke<8&&(oe.gutters.style.zIndex=-1,oe.scroller.style.paddingRight=0),!ce&&!(ne&&vt)&&(oe.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(oe.wrapper):x(oe.wrapper)),oe.viewFrom=oe.viewTo=z.first,oe.reportedViewFrom=oe.reportedViewTo=z.first,oe.view=[],oe.renderedView=null,oe.externalMeasured=null,oe.viewOffset=0,oe.lastWrapHeight=oe.lastWrapWidth=0,oe.updateLineNumbers=null,oe.nativeBarWidth=oe.barHeight=oe.barWidth=0,oe.scrollbarsClipped=!1,oe.lineNumWidth=oe.lineNumInnerWidth=oe.lineNumChars=null,oe.alignWidgets=!1,oe.cachedCharWidth=oe.cachedTextHeight=oe.cachedPaddingH=null,oe.maxLine=null,oe.maxLineLength=0,oe.maxLineChanged=!1,oe.wheelDX=oe.wheelDY=oe.wheelStartX=oe.wheelStartY=null,oe.shift=!1,oe.selForContextMenu=null,oe.activeTouch=null,oe.gutterSpecs=go(re.gutters,re.lineNumbers),zo(oe),ae.init(oe)}var ro=0,Wo=null;we?Wo=-.53:ne?Wo=15:me?Wo=-.7:Xe&&(Wo=-1/3);function ul(x){var z=x.wheelDeltaX,ae=x.wheelDeltaY;return z==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(z=x.detail),ae==null&&x.detail&&x.axis==x.VERTICAL_AXIS?ae=x.detail:ae==null&&(ae=x.wheelDelta),{x:z,y:ae}}function Nl(x){var z=ul(x);return z.x*=Wo,z.y*=Wo,z}function Fl(x,z){var ae=ul(z),re=ae.x,oe=ae.y,xe=x.display,We=xe.scroller,dt=We.scrollWidth>We.clientWidth,Ct=We.scrollHeight>We.clientHeight;if(re&&dt||oe&&Ct){if(oe&&Ee&&ce){e:for(var Ft=z.target,tr=xe.view;Ft!=We;Ft=Ft.parentNode)for(var mr=0;mr<tr.length;mr++)if(tr[mr].node==Ft){x.display.currentWheelTarget=Ft;break e}}if(re&&!ne&&!Pe&&Wo!=null){oe&&Ct&&Gt(x,Math.max(0,We.scrollTop+oe*Wo)),jn(x,Math.max(0,We.scrollLeft+re*Wo)),(!oe||oe&&Ct)&&aa(z),xe.wheelStartX=null;return}if(oe&&Wo!=null){var oa=oe*Wo,$r=x.doc.scrollTop,ti=$r+xe.wrapper.clientHeight;oa<0?$r=Math.max(0,$r+oa-50):ti=Math.min(x.doc.height,ti+oa+50),ol(x,{top:$r,bottom:ti})}ro<20&&(xe.wheelStartX==null?(xe.wheelStartX=We.scrollLeft,xe.wheelStartY=We.scrollTop,xe.wheelDX=re,xe.wheelDY=oe,setTimeout(function(){if(xe.wheelStartX!=null){var Ei=We.scrollLeft-xe.wheelStartX,lo=We.scrollTop-xe.wheelStartY,To=lo&&xe.wheelDY&&lo/xe.wheelDY||Ei&&xe.wheelDX&&Ei/xe.wheelDX;xe.wheelStartX=xe.wheelStartY=null,To&&(Wo=(Wo*ro+To)/(ro+1),++ro)}},200)):(xe.wheelDX+=re,xe.wheelDY+=oe))}}var Ro=function(x,z){this.ranges=x,this.primIndex=z};Ro.prototype.primary=function(){return this.ranges[this.primIndex]},Ro.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var z=0;z<this.ranges.length;z++){var ae=this.ranges[z],re=x.ranges[z];if(!Hi(ae.anchor,re.anchor)||!Hi(ae.head,re.head))return!1}return!0},Ro.prototype.deepCopy=function(){for(var x=[],z=0;z<this.ranges.length;z++)x[z]=new Ji(Fi(this.ranges[z].anchor),Fi(this.ranges[z].head));return new Ro(x,this.primIndex)},Ro.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},Ro.prototype.contains=function(x,z){z||(z=x);for(var ae=0;ae<this.ranges.length;ae++){var re=this.ranges[ae];if(qr(z,re.from())>=0&&qr(x,re.to())<=0)return ae}return-1};var Ji=function(x,z){this.anchor=x,this.head=z};Ji.prototype.from=function(){return ni(this.anchor,this.head)},Ji.prototype.to=function(){return $a(this.anchor,this.head)},Ji.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function el(x,z,ae){var re=x&&x.options.selectionsMayTouch,oe=z[ae];z.sort(function(oa,$r){return qr(oa.from(),$r.from())}),ae=Mt(z,oe);for(var xe=1;xe<z.length;xe++){var We=z[xe],dt=z[xe-1],Ct=qr(dt.to(),We.from());if(re&&!We.empty()?Ct>0:Ct>=0){var Ft=ni(dt.from(),We.from()),tr=$a(dt.to(),We.to()),mr=dt.empty()?We.from()==We.head:dt.from()==dt.head;xe<=ae&&--ae,z.splice(--xe,2,new Ji(mr?tr:Ft,mr?Ft:tr))}}return new Ro(z,ae)}function ml(x,z){return new Ro([new Ji(x,z||x)],0)}function Io(x){return x.text?Er(x.from.line+x.text.length-1,In(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Ho(x,z){if(qr(x,z.from)<0)return x;if(qr(x,z.to)<=0)return Io(z);var ae=x.line+z.text.length-(z.to.line-z.from.line)-1,re=x.ch;return x.line==z.to.line&&(re+=Io(z).ch-z.to.ch),Er(ae,re)}function Ui(x,z){for(var ae=[],re=0;re<x.sel.ranges.length;re++){var oe=x.sel.ranges[re];ae.push(new Ji(Ho(oe.anchor,z),Ho(oe.head,z)))}return el(x.cm,ae,x.sel.primIndex)}function Bi(x,z,ae){return x.line==z.line?Er(ae.line,x.ch-z.ch+ae.ch):Er(ae.line+(x.line-z.line),x.ch)}function tl(x,z,ae){for(var re=[],oe=Er(x.first,0),xe=oe,We=0;We<z.length;We++){var dt=z[We],Ct=Bi(dt.from,oe,xe),Ft=Bi(Io(dt),oe,xe);if(oe=dt.to,xe=Ft,ae=="around"){var tr=x.sel.ranges[We],mr=qr(tr.head,tr.anchor)<0;re[We]=new Ji(mr?Ft:Ct,mr?Ct:Ft)}else re[We]=new Ji(Ct,Ct)}return new Ro(re,x.sel.primIndex)}function jo(x){x.doc.mode=on(x.options,x.doc.modeOption),Bl(x)}function Bl(x){x.doc.iter(function(z){z.stateAfter&&(z.stateAfter=null),z.styles&&(z.styles=null)}),x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first,Za(x,100),x.state.modeGen++,x.curOp&&Le(x)}function qi(x,z){return z.from.ch==0&&z.to.ch==0&&In(z.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function Ja(x,z,ae,re){function oe(Xo){return ae?ae[Xo]:null}function xe(Xo,Do,$o){Hr(Xo,Do,$o,re),Pr(Xo,"change",Xo,z)}function We(Xo,Do){for(var $o=[],Ol=Xo;Ol<Do;++Ol)$o.push(new kr(Ft[Ol],oe(Ol),re));return $o}var dt=z.from,Ct=z.to,Ft=z.text,tr=fr(x,dt.line),mr=fr(x,Ct.line),oa=In(Ft),$r=oe(Ft.length-1),ti=Ct.line-dt.line;if(z.full)x.insert(0,We(0,Ft.length)),x.remove(Ft.length,x.size-Ft.length);else if(qi(x,z)){var Ei=We(0,Ft.length-1);xe(mr,mr.text,$r),ti&&x.remove(dt.line,ti),Ei.length&&x.insert(dt.line,Ei)}else if(tr==mr)if(Ft.length==1)xe(tr,tr.text.slice(0,dt.ch)+oa+tr.text.slice(Ct.ch),$r);else{var lo=We(1,Ft.length-1);lo.push(new kr(oa+tr.text.slice(Ct.ch),$r,re)),xe(tr,tr.text.slice(0,dt.ch)+Ft[0],oe(0)),x.insert(dt.line+1,lo)}else if(Ft.length==1)xe(tr,tr.text.slice(0,dt.ch)+Ft[0]+mr.text.slice(Ct.ch),oe(0)),x.remove(dt.line+1,ti);else{xe(tr,tr.text.slice(0,dt.ch)+Ft[0],oe(0)),xe(mr,oa+mr.text.slice(Ct.ch),$r);var To=We(1,Ft.length-1);ti>1&&x.remove(dt.line+1,ti-1),x.insert(dt.line+1,To)}Pr(x,"change",x,z)}function ki(x,z,ae){function re(oe,xe,We){if(oe.linked)for(var dt=0;dt<oe.linked.length;++dt){var Ct=oe.linked[dt];if(Ct.doc!=xe){var Ft=We&&Ct.sharedHist;ae&&!Ft||(z(Ct.doc,Ft),re(Ct.doc,oe,Ft))}}}re(x,null,!0)}function Oi(x,z){if(z.cm)throw new Error("This document is already in use.");x.doc=z,z.cm=x,Bs(x),jo(x),ba(x),x.options.lineWrapping||Jn(x),x.options.mode=z.modeOption,Le(x)}function ba(x){(x.doc.direction=="rtl"?ut:$e)(x.display.lineDiv,"CodeMirror-rtl")}function Qa(x){ca(x,function(){ba(x),Le(x)})}function Gi(x){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=x||1}function cl(x,z){var ae={from:Fi(z.from),to:Io(z),text:mn(x,z.from,z.to)};return Yt(x,ae,z.from.line,z.to.line+1),ki(x,function(re){return Yt(re,ae,z.from.line,z.to.line+1)},!0),ae}function Jl(x){for(;x.length;){var z=In(x);if(z.ranges)x.pop();else break}}function ws(x,z){if(z)return Jl(x.done),In(x.done);if(x.done.length&&!In(x.done).ranges)return In(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),In(x.done)}function Te(x,z,ae,re){var oe=x.history;oe.undone.length=0;var xe=+new Date,We,dt;if((oe.lastOp==re||oe.lastOrigin==z.origin&&z.origin&&(z.origin.charAt(0)=="+"&&oe.lastModTime>xe-(x.cm?x.cm.options.historyEventDelay:500)||z.origin.charAt(0)=="*"))&&(We=ws(oe,oe.lastOp==re)))dt=In(We.changes),qr(z.from,z.to)==0&&qr(z.from,dt.to)==0?dt.to=Io(z):We.changes.push(cl(x,z));else{var Ct=In(oe.done);for((!Ct||!Ct.ranges)&&Ot(x.sel,oe.done),We={changes:[cl(x,z)],generation:oe.generation},oe.done.push(We);oe.done.length>oe.undoDepth;)oe.done.shift(),oe.done[0].ranges||oe.done.shift()}oe.done.push(ae),oe.generation=++oe.maxGeneration,oe.lastModTime=oe.lastSelTime=xe,oe.lastOp=oe.lastSelOp=re,oe.lastOrigin=oe.lastSelOrigin=z.origin,dt||jt(x,"historyAdded")}function Ze(x,z,ae,re){var oe=z.charAt(0);return oe=="*"||oe=="+"&&ae.ranges.length==re.ranges.length&&ae.somethingSelected()==re.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function Et(x,z,ae,re){var oe=x.history,xe=re&&re.origin;ae==oe.lastSelOp||xe&&oe.lastSelOrigin==xe&&(oe.lastModTime==oe.lastSelTime&&oe.lastOrigin==xe||Ze(x,xe,In(oe.done),z))?oe.done[oe.done.length-1]=z:Ot(z,oe.done),oe.lastSelTime=+new Date,oe.lastSelOrigin=xe,oe.lastSelOp=ae,re&&re.clearRedo!==!1&&Jl(oe.undone)}function Ot(x,z){var ae=In(z);ae&&ae.ranges&&ae.equals(x)||z.push(x)}function Yt(x,z,ae,re){var oe=z["spans_"+x.id],xe=0;x.iter(Math.max(x.first,ae),Math.min(x.first+x.size,re),function(We){We.markedSpans&&((oe||(oe=z["spans_"+x.id]={}))[xe]=We.markedSpans),++xe})}function An(x){if(!x)return null;for(var z,ae=0;ae<x.length;++ae)x[ae].marker.explicitlyCleared?z||(z=x.slice(0,ae)):z&&z.push(x[ae]);return z?z.length?z:null:x}function ar(x,z){var ae=z["spans_"+x.id];if(!ae)return null;for(var re=[],oe=0;oe<z.text.length;++oe)re.push(An(ae[oe]));return re}function wr(x,z){var ae=ar(x,z),re=ui(x,z);if(!ae)return re;if(!re)return ae;for(var oe=0;oe<ae.length;++oe){var xe=ae[oe],We=re[oe];if(xe&&We)e:for(var dt=0;dt<We.length;++dt){for(var Ct=We[dt],Ft=0;Ft<xe.length;++Ft)if(xe[Ft].marker==Ct.marker)continue e;xe.push(Ct)}else We&&(ae[oe]=We)}return ae}function Un(x,z,ae){for(var re=[],oe=0;oe<x.length;++oe){var xe=x[oe];if(xe.ranges){re.push(ae?Ro.prototype.deepCopy.call(xe):xe);continue}var We=xe.changes,dt=[];re.push({changes:dt});for(var Ct=0;Ct<We.length;++Ct){var Ft=We[Ct],tr=void 0;if(dt.push({from:Ft.from,to:Ft.to,text:Ft.text}),z)for(var mr in Ft)(tr=mr.match(/^spans_(\d+)$/))&&Mt(z,Number(tr[1]))>-1&&(In(dt)[mr]=Ft[mr],delete Ft[mr])}}return re}function Gn(x,z,ae,re){if(re){var oe=x.anchor;if(ae){var xe=qr(z,oe)<0;xe!=qr(ae,oe)<0?(oe=z,z=ae):xe!=qr(z,ae)<0&&(z=ae)}return new Ji(oe,z)}else return new Ji(ae||z,z)}function Sr(x,z,ae,re,oe){oe==null&&(oe=x.cm&&(x.cm.display.shift||x.extend)),Yr(x,new Ro([Gn(x.sel.primary(),z,ae,oe)],0),re)}function Nn(x,z,ae){for(var re=[],oe=x.cm&&(x.cm.display.shift||x.extend),xe=0;xe<x.sel.ranges.length;xe++)re[xe]=Gn(x.sel.ranges[xe],z[xe],null,oe);var We=el(x.cm,re,x.sel.primIndex);Yr(x,We,ae)}function Ur(x,z,ae,re){var oe=x.sel.ranges.slice(0);oe[z]=ae,Yr(x,el(x.cm,oe,x.sel.primIndex),re)}function xa(x,z,ae,re){Yr(x,ml(z,ae),re)}function wa(x,z,ae){var re={ranges:z.ranges,update:function(oe){this.ranges=[];for(var xe=0;xe<oe.length;xe++)this.ranges[xe]=new Ji(oi(x,oe[xe].anchor),oi(x,oe[xe].head))},origin:ae&&ae.origin};return jt(x,"beforeSelectionChange",x,re),x.cm&&jt(x.cm,"beforeSelectionChange",x.cm,re),re.ranges!=z.ranges?el(x.cm,re.ranges,re.ranges.length-1):z}function Ka(x,z,ae){var re=x.history.done,oe=In(re);oe&&oe.ranges?(re[re.length-1]=z,ri(x,z,ae)):Yr(x,z,ae)}function Yr(x,z,ae){ri(x,z,ae),Et(x,x.sel,x.cm?x.cm.curOp.id:NaN,ae)}function ri(x,z,ae){(ur(x,"beforeSelectionChange")||x.cm&&ur(x.cm,"beforeSelectionChange"))&&(z=wa(x,z,ae));var re=ae&&ae.bias||(qr(z.primary().head,x.sel.primary().head)<0?-1:1);qa(x,vi(x,z,re,!0)),!(ae&&ae.scroll===!1)&&x.cm&&Ue(x.cm)}function qa(x,z){z.equals(x.sel)||(x.sel=z,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,Ir(x.cm)),Pr(x,"cursorActivity",x))}function Ti(x){qa(x,vi(x,x.sel,null,!1))}function vi(x,z,ae,re){for(var oe,xe=0;xe<z.ranges.length;xe++){var We=z.ranges[xe],dt=z.ranges.length==x.sel.ranges.length&&x.sel.ranges[xe],Ct=bi(x,We.anchor,dt&&dt.anchor,ae,re),Ft=bi(x,We.head,dt&&dt.head,ae,re);(oe||Ct!=We.anchor||Ft!=We.head)&&(oe||(oe=z.ranges.slice(0,xe)),oe[xe]=new Ji(Ct,Ft))}return oe?el(x.cm,oe,z.primIndex):z}function hi(x,z,ae,re,oe){var xe=fr(x,z.line);if(xe.markedSpans)for(var We=0;We<xe.markedSpans.length;++We){var dt=xe.markedSpans[We],Ct=dt.marker,Ft="selectLeft"in Ct?!Ct.selectLeft:Ct.inclusiveLeft,tr="selectRight"in Ct?!Ct.selectRight:Ct.inclusiveRight;if((dt.from==null||(Ft?dt.from<=z.ch:dt.from<z.ch))&&(dt.to==null||(tr?dt.to>=z.ch:dt.to>z.ch))){if(oe&&(jt(Ct,"beforeCursorEnter"),Ct.explicitlyCleared))if(xe.markedSpans){--We;continue}else break;if(!Ct.atomic)continue;if(ae){var mr=Ct.find(re<0?1:-1),oa=void 0;if((re<0?tr:Ft)&&(mr=_i(x,mr,-re,mr&&mr.line==z.line?xe:null)),mr&&mr.line==z.line&&(oa=qr(mr,ae))&&(re<0?oa<0:oa>0))return hi(x,mr,z,re,oe)}var $r=Ct.find(re<0?-1:1);return(re<0?Ft:tr)&&($r=_i(x,$r,re,$r.line==z.line?xe:null)),$r?hi(x,$r,z,re,oe):null}}return z}function bi(x,z,ae,re,oe){var xe=re||1,We=hi(x,z,ae,xe,oe)||!oe&&hi(x,z,ae,xe,!0)||hi(x,z,ae,-xe,oe)||!oe&&hi(x,z,ae,-xe,!0);return We||(x.cantEdit=!0,Er(x.first,0))}function _i(x,z,ae,re){return ae<0&&z.ch==0?z.line>x.first?oi(x,Er(z.line-1)):null:ae>0&&z.ch==(re||fr(x,z.line)).text.length?z.line<x.first+x.size-1?Er(z.line+1,0):null:new Er(z.line,z.ch+ae)}function Fo(x){x.setSelection(Er(x.firstLine(),0),Er(x.lastLine()),Nt)}function Ii(x,z,ae){var re={canceled:!1,from:z.from,to:z.to,text:z.text,origin:z.origin,cancel:function(){return re.canceled=!0}};return ae&&(re.update=function(oe,xe,We,dt){oe&&(re.from=oi(x,oe)),xe&&(re.to=oi(x,xe)),We&&(re.text=We),dt!==void 0&&(re.origin=dt)}),jt(x,"beforeChange",x,re),x.cm&&jt(x.cm,"beforeChange",x.cm,re),re.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:re.from,to:re.to,text:re.text,origin:re.origin}}function Wa(x,z,ae){if(x.cm){if(!x.cm.curOp)return Xa(x.cm,Wa)(x,z,ae);if(x.cm.state.suppressEdits)return}if(!((ur(x,"beforeChange")||x.cm&&ur(x.cm,"beforeChange"))&&(z=Ii(x,z,!0),!z))){var re=Pi&&!ae&&Eo(x,z.from,z.to);if(re)for(var oe=re.length-1;oe>=0;--oe)Ha(x,{from:re[oe].from,to:re[oe].to,text:oe?[""]:z.text,origin:z.origin});else Ha(x,z)}}function Ha(x,z){if(!(z.text.length==1&&z.text[0]==""&&qr(z.from,z.to)==0)){var ae=Ui(x,z);Te(x,z,ae,x.cm?x.cm.curOp.id:NaN),ao(x,z,ae,ui(x,z));var re=[];ki(x,function(oe,xe){!xe&&Mt(re,oe.history)==-1&&(vl(oe.history,z),re.push(oe.history)),ao(oe,z,null,ui(oe,z))})}}function ei(x,z,ae){var re=x.cm&&x.cm.state.suppressEdits;if(!(re&&!ae)){for(var oe=x.history,xe,We=x.sel,dt=z=="undo"?oe.done:oe.undone,Ct=z=="undo"?oe.undone:oe.done,Ft=0;Ft<dt.length&&(xe=dt[Ft],!(ae?xe.ranges&&!xe.equals(x.sel):!xe.ranges));Ft++);if(Ft!=dt.length){for(oe.lastOrigin=oe.lastSelOrigin=null;;)if(xe=dt.pop(),xe.ranges){if(Ot(xe,Ct),ae&&!xe.equals(x.sel)){Yr(x,xe,{clearRedo:!1});return}We=xe}else if(re){dt.push(xe);return}else break;var tr=[];Ot(We,Ct),Ct.push({changes:tr,generation:oe.generation}),oe.generation=xe.generation||++oe.maxGeneration;for(var mr=ur(x,"beforeChange")||x.cm&&ur(x.cm,"beforeChange"),oa=function(Ei){var lo=xe.changes[Ei];if(lo.origin=z,mr&&!Ii(x,lo,!1))return dt.length=0,{};tr.push(cl(x,lo));var To=Ei?Ui(x,lo):In(dt);ao(x,lo,To,wr(x,lo)),!Ei&&x.cm&&x.cm.scrollIntoView({from:lo.from,to:Io(lo)});var Xo=[];ki(x,function(Do,$o){!$o&&Mt(Xo,Do.history)==-1&&(vl(Do.history,lo),Xo.push(Do.history)),ao(Do,lo,null,wr(Do,lo))})},$r=xe.changes.length-1;$r>=0;--$r){var ti=oa($r);if(ti)return ti.v}}}}function Li(x,z){if(z!=0&&(x.first+=z,x.sel=new Ro(br(x.sel.ranges,function(oe){return new Ji(Er(oe.anchor.line+z,oe.anchor.ch),Er(oe.head.line+z,oe.head.ch))}),x.sel.primIndex),x.cm)){Le(x.cm,x.first,x.first-z,z);for(var ae=x.cm.display,re=ae.viewFrom;re<ae.viewTo;re++)qe(x.cm,re,"gutter")}}function ao(x,z,ae,re){if(x.cm&&!x.cm.curOp)return Xa(x.cm,ao)(x,z,ae,re);if(z.to.line<x.first){Li(x,z.text.length-1-(z.to.line-z.from.line));return}if(!(z.from.line>x.lastLine())){if(z.from.line<x.first){var oe=z.text.length-1-(x.first-z.from.line);Li(x,oe),z={from:Er(x.first,0),to:Er(z.to.line+oe,z.to.ch),text:[In(z.text)],origin:z.origin}}var xe=x.lastLine();z.to.line>xe&&(z={from:z.from,to:Er(xe,fr(x,xe).text.length),text:[z.text[0]],origin:z.origin}),z.removed=mn(x,z.from,z.to),ae||(ae=Ui(x,z)),x.cm?nl(x.cm,z,re):Ja(x,z,re),ri(x,ae,Nt),x.cantEdit&&bi(x,Er(x.firstLine(),0))&&(x.cantEdit=!1)}}function nl(x,z,ae){var re=x.doc,oe=x.display,xe=z.from,We=z.to,dt=!1,Ct=xe.line;x.options.lineWrapping||(Ct=ya(at(fr(re,xe.line))),re.iter(Ct,We.line+1,function($r){if($r==oe.maxLine)return dt=!0,!0})),re.sel.contains(z.from,z.to)>-1&&Ir(x),Ja(re,z,ae,Ws(x)),x.options.lineWrapping||(re.iter(Ct,xe.line+z.text.length,function($r){var ti=$n($r);ti>oe.maxLineLength&&(oe.maxLine=$r,oe.maxLineLength=ti,oe.maxLineChanged=!0,dt=!1)}),dt&&(x.curOp.updateMaxLine=!0)),ko(re,xe.line),Za(x,400);var Ft=z.text.length-(We.line-xe.line)-1;z.full?Le(x):xe.line==We.line&&z.text.length==1&&!qi(x.doc,z)?qe(x,xe.line,"text"):Le(x,xe.line,We.line+1,Ft);var tr=ur(x,"changes"),mr=ur(x,"change");if(mr||tr){var oa={from:xe,to:We,text:z.text,removed:z.removed,origin:z.origin};mr&&Pr(x,"change",x,oa),tr&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(oa)}x.display.selForContextMenu=null}function Po(x,z,ae,re,oe){var xe;re||(re=ae),qr(re,ae)<0&&(xe=[re,ae],ae=xe[0],re=xe[1]),typeof z=="string"&&(z=x.splitLines(z)),Wa(x,{from:ae,to:re,text:z,origin:oe})}function Oo(x,z,ae,re){ae<x.line?x.line+=re:z<x.line&&(x.line=z,x.ch=0)}function Ml(x,z,ae,re){for(var oe=0;oe<x.length;++oe){var xe=x[oe],We=!0;if(xe.ranges){xe.copied||(xe=x[oe]=xe.deepCopy(),xe.copied=!0);for(var dt=0;dt<xe.ranges.length;dt++)Oo(xe.ranges[dt].anchor,z,ae,re),Oo(xe.ranges[dt].head,z,ae,re);continue}for(var Ct=0;Ct<xe.changes.length;++Ct){var Ft=xe.changes[Ct];if(ae<Ft.from.line)Ft.from=Er(Ft.from.line+re,Ft.from.ch),Ft.to=Er(Ft.to.line+re,Ft.to.ch);else if(z<=Ft.to.line){We=!1;break}}We||(x.splice(0,oe+1),oe=0)}}function vl(x,z){var ae=z.from.line,re=z.to.line,oe=z.text.length-(re-ae)-1;Ml(x.done,ae,re,oe),Ml(x.undone,ae,re,oe)}function Kl(x,z,ae,re){var oe=z,xe=z;return typeof z=="number"?xe=fr(x,no(x,z)):oe=ya(z),oe==null?null:(re(xe,oe)&&x.cm&&qe(x.cm,oe,ae),xe)}function Gl(x){this.lines=x,this.parent=null;for(var z=0,ae=0;ae<x.length;++ae)x[ae].parent=this,z+=x[ae].height;this.height=z}Gl.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,z){for(var ae=x,re=x+z;ae<re;++ae){var oe=this.lines[ae];this.height-=oe.height,zr(oe),Pr(oe,"delete")}this.lines.splice(x,z)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,z,ae){this.height+=ae,this.lines=this.lines.slice(0,x).concat(z).concat(this.lines.slice(x));for(var re=0;re<z.length;++re)z[re].parent=this},iterN:function(x,z,ae){for(var re=x+z;x<re;++x)if(ae(this.lines[x]))return!0}};function Is(x){this.children=x;for(var z=0,ae=0,re=0;re<x.length;++re){var oe=x[re];z+=oe.chunkSize(),ae+=oe.height,oe.parent=this}this.size=z,this.height=ae,this.parent=null}Is.prototype={chunkSize:function(){return this.size},removeInner:function(x,z){this.size-=z;for(var ae=0;ae<this.children.length;++ae){var re=this.children[ae],oe=re.chunkSize();if(x<oe){var xe=Math.min(z,oe-x),We=re.height;if(re.removeInner(x,xe),this.height-=We-re.height,oe==xe&&(this.children.splice(ae--,1),re.parent=null),(z-=xe)==0)break;x=0}else x-=oe}if(this.size-z<25&&(this.children.length>1||!(this.children[0]instanceof Gl))){var dt=[];this.collapse(dt),this.children=[new Gl(dt)],this.children[0].parent=this}},collapse:function(x){for(var z=0;z<this.children.length;++z)this.children[z].collapse(x)},insertInner:function(x,z,ae){this.size+=z.length,this.height+=ae;for(var re=0;re<this.children.length;++re){var oe=this.children[re],xe=oe.chunkSize();if(x<=xe){if(oe.insertInner(x,z,ae),oe.lines&&oe.lines.length>50){for(var We=oe.lines.length%25+25,dt=We;dt<oe.lines.length;){var Ct=new Gl(oe.lines.slice(dt,dt+=25));oe.height-=Ct.height,this.children.splice(++re,0,Ct),Ct.parent=this}oe.lines=oe.lines.slice(0,We),this.maybeSpill()}break}x-=xe}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var z=x.children.splice(x.children.length-5,5),ae=new Is(z);if(x.parent){x.size-=ae.size,x.height-=ae.height;var oe=Mt(x.parent.children,x);x.parent.children.splice(oe+1,0,ae)}else{var re=new Is(x.children);re.parent=x,x.children=[re,ae],x=re}ae.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,z,ae){for(var re=0;re<this.children.length;++re){var oe=this.children[re],xe=oe.chunkSize();if(x<xe){var We=Math.min(z,xe-x);if(oe.iterN(x,We,ae))return!0;if((z-=We)==0)break;x=0}else x-=xe}}};var Ps=function(x,z,ae){if(ae)for(var re in ae)ae.hasOwnProperty(re)&&(this[re]=ae[re]);this.doc=x,this.node=z};Ps.prototype.clear=function(){var x=this.doc.cm,z=this.line.widgets,ae=this.line,re=ya(ae);if(!(re==null||!z)){for(var oe=0;oe<z.length;++oe)z[oe]==this&&z.splice(oe--,1);z.length||(ae.widgets=null);var xe=Ao(this);ha(ae,Math.max(0,ae.height-xe)),x&&(ca(x,function(){Yl(x,ae,-xe),qe(x,re,"widget")}),Pr(x,"lineWidgetCleared",x,this,re))}},Ps.prototype.changed=function(){var x=this,z=this.height,ae=this.doc.cm,re=this.line;this.height=null;var oe=Ao(this)-z;oe&&(cr(this.doc,re)||ha(re,re.height+oe),ae&&ca(ae,function(){ae.curOp.forceUpdate=!0,Yl(ae,re,oe),Pr(ae,"lineWidgetChanged",ae,x,ya(re))}))},Rr(Ps);function Yl(x,z,ae){Dn(z)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&Ht(x,ae)}function _s(x,z,ae,re){var oe=new Ps(x,ae,re),xe=x.cm;return xe&&oe.noHScroll&&(xe.display.alignWidgets=!0),Kl(x,z,"widget",function(We){var dt=We.widgets||(We.widgets=[]);if(oe.insertAt==null?dt.push(oe):dt.splice(Math.min(dt.length-1,Math.max(0,oe.insertAt)),0,oe),oe.line=We,xe&&!cr(x,We)){var Ct=Dn(We)<x.scrollTop;ha(We,We.height+Ao(oe)),Ct&&Ht(xe,oe.height),xe.curOp.forceUpdate=!0}return!0}),xe&&Pr(xe,"lineWidgetAdded",xe,oe,typeof z=="number"?z:ya(z)),oe}var ps=0,gs=function(x,z){this.lines=[],this.type=z,this.doc=x,this.id=++ps};gs.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,z=x&&!x.curOp;if(z&&ua(x),ur(this,"clear")){var ae=this.find();ae&&Pr(this,"clear",ae.from,ae.to)}for(var re=null,oe=null,xe=0;xe<this.lines.length;++xe){var We=this.lines[xe],dt=Qr(We.markedSpans,this);x&&!this.collapsed?qe(x,ya(We),"text"):x&&(dt.to!=null&&(oe=ya(We)),dt.from!=null&&(re=ya(We))),We.markedSpans=va(We.markedSpans,dt),dt.from==null&&this.collapsed&&!cr(this.doc,We)&&x&&ha(We,hs(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var Ct=0;Ct<this.lines.length;++Ct){var Ft=at(this.lines[Ct]),tr=$n(Ft);tr>x.display.maxLineLength&&(x.display.maxLine=Ft,x.display.maxLineLength=tr,x.display.maxLineChanged=!0)}re!=null&&x&&this.collapsed&&Le(x,re,oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Ti(x.doc)),x&&Pr(x,"markerCleared",x,this,re,oe),z&&Na(x),this.parent&&this.parent.clear()}},gs.prototype.find=function(x,z){x==null&&this.type=="bookmark"&&(x=1);for(var ae,re,oe=0;oe<this.lines.length;++oe){var xe=this.lines[oe],We=Qr(xe.markedSpans,this);if(We.from!=null&&(ae=Er(z?xe:ya(xe),We.from),x==-1))return ae;if(We.to!=null&&(re=Er(z?xe:ya(xe),We.to),x==1))return re}return ae&&{from:ae,to:re}},gs.prototype.changed=function(){var x=this,z=this.find(-1,!0),ae=this,re=this.doc.cm;!z||!re||ca(re,function(){var oe=z.line,xe=ya(z.line),We=hl(re,xe);if(We&&(pl(We),re.curOp.selectionChanged=re.curOp.forceUpdate=!0),re.curOp.updateMaxLine=!0,!cr(ae.doc,oe)&&ae.height!=null){var dt=ae.height;ae.height=null;var Ct=Ao(ae)-dt;Ct&&ha(oe,oe.height+Ct)}Pr(re,"markerChanged",re,x)})},gs.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(!z.maybeHiddenMarkers||Mt(z.maybeHiddenMarkers,this)==-1)&&(z.maybeUnhiddenMarkers||(z.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},gs.prototype.detachLine=function(x){if(this.lines.splice(Mt(this.lines,x),1),!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(z.maybeHiddenMarkers||(z.maybeHiddenMarkers=[])).push(this)}},Rr(gs);function Jo(x,z,ae,re,oe){if(re&&re.shared)return Ni(x,z,ae,re,oe);if(x.cm&&!x.cm.curOp)return Xa(x.cm,Jo)(x,z,ae,re,oe);var xe=new gs(x,oe),We=qr(z,ae);if(re&&en(re,xe,!1),We>0||We==0&&xe.clearWhenEmpty!==!1)return xe;if(xe.replacedWith&&(xe.collapsed=!0,xe.widgetNode=Fe("span",[xe.replacedWith],"CodeMirror-widget"),re.handleMouseEvents||xe.widgetNode.setAttribute("cm-ignore-events","true"),re.insertLeft&&(xe.widgetNode.insertLeft=!0)),xe.collapsed){if(Qe(x,z.line,z,ae,xe)||z.line!=ae.line&&Qe(x,ae.line,z,ae,xe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Mn()}xe.addToHistory&&Te(x,{from:z,to:ae,origin:"markText"},x.sel,NaN);var dt=z.line,Ct=x.cm,Ft;if(x.iter(dt,ae.line+1,function(mr){Ct&&xe.collapsed&&!Ct.options.lineWrapping&&at(mr)==Ct.display.maxLine&&(Ft=!0),xe.collapsed&&dt!=z.line&&ha(mr,0),pi(mr,new dr(xe,dt==z.line?z.ch:null,dt==ae.line?ae.ch:null)),++dt}),xe.collapsed&&x.iter(z.line,ae.line+1,function(mr){cr(x,mr)&&ha(mr,0)}),xe.clearOnEnter&&On(xe,"beforeCursorEnter",function(){return xe.clear()}),xe.readOnly&&(Zn(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),xe.collapsed&&(xe.id=++ps,xe.atomic=!0),Ct){if(Ft&&(Ct.curOp.updateMaxLine=!0),xe.collapsed)Le(Ct,z.line,ae.line+1);else if(xe.className||xe.startStyle||xe.endStyle||xe.css||xe.attributes||xe.title)for(var tr=z.line;tr<=ae.line;tr++)qe(Ct,tr,"text");xe.atomic&&Ti(Ct.doc),Pr(Ct,"markerAdded",Ct,xe)}return xe}var Qi=function(x,z){this.markers=x,this.primary=z;for(var ae=0;ae<x.length;++ae)x[ae].parent=this};Qi.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();Pr(this,"clear")}},Qi.prototype.find=function(x,z){return this.primary.find(x,z)},Rr(Qi);function Ni(x,z,ae,re,oe){re=en(re),re.shared=!1;var xe=[Jo(x,z,ae,re,oe)],We=xe[0],dt=re.widgetNode;return ki(x,function(Ct){dt&&(re.widgetNode=dt.cloneNode(!0)),xe.push(Jo(Ct,oi(Ct,z),oi(Ct,ae),re,oe));for(var Ft=0;Ft<Ct.linked.length;++Ft)if(Ct.linked[Ft].isParent)return;We=In(xe)}),new Qi(xe,We)}function So(x){return x.findMarks(Er(x.first,0),x.clipPos(Er(x.lastLine())),function(z){return z.parent})}function Co(x,z){for(var ae=0;ae<z.length;ae++){var re=z[ae],oe=re.find(),xe=x.clipPos(oe.from),We=x.clipPos(oe.to);if(qr(xe,We)){var dt=Jo(x,xe,We,re.primary,re.primary.type);re.markers.push(dt),dt.parent=re}}}function Xi(x){for(var z=function(re){var oe=x[re],xe=[oe.primary.doc];ki(oe.primary.doc,function(Ct){return xe.push(Ct)});for(var We=0;We<oe.markers.length;We++){var dt=oe.markers[We];Mt(xe,dt.doc)==-1&&(dt.parent=null,oe.markers.splice(We--,1))}},ae=0;ae<x.length;ae++)z(ae)}var rs=0,$i=function(x,z,ae,re,oe){if(!(this instanceof $i))return new $i(x,z,ae,re,oe);ae==null&&(ae=0),Is.call(this,[new Gl([new kr("",null)])]),this.first=ae,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ae;var xe=Er(ae,0);this.sel=ml(xe),this.history=new Gi(null),this.id=++rs,this.modeOption=z,this.lineSep=re,this.direction=oe=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),Ja(this,{from:xe,to:xe,text:x}),Yr(this,ml(xe),Nt)};$i.prototype=ve(Is.prototype,{constructor:$i,iter:function(x,z,ae){ae?this.iterN(x-this.first,z-x,ae):this.iterN(this.first,this.first+this.size,x)},insert:function(x,z){for(var ae=0,re=0;re<z.length;++re)ae+=z[re].height;this.insertInner(x-this.first,z,ae)},remove:function(x,z){this.removeInner(x-this.first,z)},getValue:function(x){var z=Ta(this,this.first,this.first+this.size);return x===!1?z:z.join(x||this.lineSeparator())},setValue:Ya(function(x){var z=Er(this.first,0),ae=this.first+this.size-1;Wa(this,{from:z,to:Er(ae,fr(this,ae).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&Ut(this.cm,0,0),Yr(this,ml(z),Nt)}),replaceRange:function(x,z,ae,re){z=oi(this,z),ae=ae?oi(this,ae):z,Po(this,x,z,ae,re)},getRange:function(x,z,ae){var re=mn(this,oi(this,x),oi(this,z));return ae===!1?re:re.join(ae||this.lineSeparator())},getLine:function(x){var z=this.getLineHandle(x);return z&&z.text},getLineHandle:function(x){if(Ma(this,x))return fr(this,x)},getLineNumber:function(x){return ya(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=fr(this,x)),at(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return oi(this,x)},getCursor:function(x){var z=this.sel.primary(),ae;return x==null||x=="head"?ae=z.head:x=="anchor"?ae=z.anchor:x=="end"||x=="to"||x===!1?ae=z.to():ae=z.from(),ae},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ya(function(x,z,ae){xa(this,oi(this,typeof x=="number"?Er(x,z||0):x),null,ae)}),setSelection:Ya(function(x,z,ae){xa(this,oi(this,x),oi(this,z||x),ae)}),extendSelection:Ya(function(x,z,ae){Sr(this,oi(this,x),z&&oi(this,z),ae)}),extendSelections:Ya(function(x,z){Nn(this,ta(this,x),z)}),extendSelectionsBy:Ya(function(x,z){var ae=br(this.sel.ranges,x);Nn(this,ta(this,ae),z)}),setSelections:Ya(function(x,z,ae){if(x.length){for(var re=[],oe=0;oe<x.length;oe++)re[oe]=new Ji(oi(this,x[oe].anchor),oi(this,x[oe].head));z==null&&(z=Math.min(x.length-1,this.sel.primIndex)),Yr(this,el(this.cm,re,z),ae)}}),addSelection:Ya(function(x,z,ae){var re=this.sel.ranges.slice(0);re.push(new Ji(oi(this,x),oi(this,z||x))),Yr(this,el(this.cm,re,re.length-1),ae)}),getSelection:function(x){for(var z=this.sel.ranges,ae,re=0;re<z.length;re++){var oe=mn(this,z[re].from(),z[re].to());ae=ae?ae.concat(oe):oe}return x===!1?ae:ae.join(x||this.lineSeparator())},getSelections:function(x){for(var z=[],ae=this.sel.ranges,re=0;re<ae.length;re++){var oe=mn(this,ae[re].from(),ae[re].to());x!==!1&&(oe=oe.join(x||this.lineSeparator())),z[re]=oe}return z},replaceSelection:function(x,z,ae){for(var re=[],oe=0;oe<this.sel.ranges.length;oe++)re[oe]=x;this.replaceSelections(re,z,ae||"+input")},replaceSelections:Ya(function(x,z,ae){for(var re=[],oe=this.sel,xe=0;xe<oe.ranges.length;xe++){var We=oe.ranges[xe];re[xe]={from:We.from(),to:We.to(),text:this.splitLines(x[xe]),origin:ae}}for(var dt=z&&z!="end"&&tl(this,re,z),Ct=re.length-1;Ct>=0;Ct--)Wa(this,re[Ct]);dt?Ka(this,dt):this.cm&&Ue(this.cm)}),undo:Ya(function(){ei(this,"undo")}),redo:Ya(function(){ei(this,"redo")}),undoSelection:Ya(function(){ei(this,"undo",!0)}),redoSelection:Ya(function(){ei(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,z=0,ae=0,re=0;re<x.done.length;re++)x.done[re].ranges||++z;for(var oe=0;oe<x.undone.length;oe++)x.undone[oe].ranges||++ae;return{undo:z,redo:ae}},clearHistory:function(){var x=this;this.history=new Gi(this.history.maxGeneration),ki(this,function(z){return z.history=x.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(x){return x&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(x){return this.history.generation==(x||this.cleanGeneration)},getHistory:function(){return{done:Un(this.history.done),undone:Un(this.history.undone)}},setHistory:function(x){var z=this.history=new Gi(this.history.maxGeneration);z.done=Un(x.done.slice(0),null,!0),z.undone=Un(x.undone.slice(0),null,!0)},setGutterMarker:Ya(function(x,z,ae){return Kl(this,x,"gutter",function(re){var oe=re.gutterMarkers||(re.gutterMarkers={});return oe[z]=ae,!ae&&se(oe)&&(re.gutterMarkers=null),!0})}),clearGutter:Ya(function(x){var z=this;this.iter(function(ae){ae.gutterMarkers&&ae.gutterMarkers[x]&&Kl(z,ae,"gutter",function(){return ae.gutterMarkers[x]=null,se(ae.gutterMarkers)&&(ae.gutterMarkers=null),!0})})}),lineInfo:function(x){var z;if(typeof x=="number"){if(!Ma(this,x)||(z=x,x=fr(this,x),!x))return null}else if(z=ya(x),z==null)return null;return{line:z,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:Ya(function(x,z,ae){return Kl(this,x,z=="gutter"?"gutter":"class",function(re){var oe=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass";if(!re[oe])re[oe]=ae;else{if(ue(ae).test(re[oe]))return!1;re[oe]+=" "+ae}return!0})}),removeLineClass:Ya(function(x,z,ae){return Kl(this,x,z=="gutter"?"gutter":"class",function(re){var oe=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass",xe=re[oe];if(xe)if(ae==null)re[oe]=null;else{var We=xe.match(ue(ae));if(!We)return!1;var dt=We.index+We[0].length;re[oe]=xe.slice(0,We.index)+(!We.index||dt==xe.length?"":" ")+xe.slice(dt)||null}else return!1;return!0})}),addLineWidget:Ya(function(x,z,ae){return _s(this,x,z,ae)}),removeLineWidget:function(x){x.clear()},markText:function(x,z,ae){return Jo(this,oi(this,x),oi(this,z),ae,ae&&ae.type||"range")},setBookmark:function(x,z){var ae={replacedWith:z&&(z.nodeType==null?z.widget:z),insertLeft:z&&z.insertLeft,clearWhenEmpty:!1,shared:z&&z.shared,handleMouseEvents:z&&z.handleMouseEvents};return x=oi(this,x),Jo(this,x,x,ae,"bookmark")},findMarksAt:function(x){x=oi(this,x);var z=[],ae=fr(this,x.line).markedSpans;if(ae)for(var re=0;re<ae.length;++re){var oe=ae[re];(oe.from==null||oe.from<=x.ch)&&(oe.to==null||oe.to>=x.ch)&&z.push(oe.marker.parent||oe.marker)}return z},findMarks:function(x,z,ae){x=oi(this,x),z=oi(this,z);var re=[],oe=x.line;return this.iter(x.line,z.line+1,function(xe){var We=xe.markedSpans;if(We)for(var dt=0;dt<We.length;dt++){var Ct=We[dt];!(Ct.to!=null&&oe==x.line&&x.ch>=Ct.to||Ct.from==null&&oe!=x.line||Ct.from!=null&&oe==z.line&&Ct.from>=z.ch)&&(!ae||ae(Ct.marker))&&re.push(Ct.marker.parent||Ct.marker)}++oe}),re},getAllMarks:function(){var x=[];return this.iter(function(z){var ae=z.markedSpans;if(ae)for(var re=0;re<ae.length;++re)ae[re].from!=null&&x.push(ae[re].marker)}),x},posFromIndex:function(x){var z,ae=this.first,re=this.lineSeparator().length;return this.iter(function(oe){var xe=oe.text.length+re;if(xe>x)return z=x,!0;x-=xe,++ae}),oi(this,Er(ae,z))},indexFromPos:function(x){x=oi(this,x);var z=x.ch;if(x.line<this.first||x.ch<0)return 0;var ae=this.lineSeparator().length;return this.iter(this.first,x.line,function(re){z+=re.text.length+ae}),z},copy:function(x){var z=new $i(Ta(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return z.scrollTop=this.scrollTop,z.scrollLeft=this.scrollLeft,z.sel=this.sel,z.extend=!1,x&&(z.history.undoDepth=this.history.undoDepth,z.setHistory(this.getHistory())),z},linkedDoc:function(x){x||(x={});var z=this.first,ae=this.first+this.size;x.from!=null&&x.from>z&&(z=x.from),x.to!=null&&x.to<ae&&(ae=x.to);var re=new $i(Ta(this,z,ae),x.mode||this.modeOption,z,this.lineSep,this.direction);return x.sharedHist&&(re.history=this.history),(this.linked||(this.linked=[])).push({doc:re,sharedHist:x.sharedHist}),re.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}],Co(re,So(this)),re},unlinkDoc:function(x){if(x instanceof is&&(x=x.doc),this.linked)for(var z=0;z<this.linked.length;++z){var ae=this.linked[z];if(ae.doc==x){this.linked.splice(z,1),x.unlinkDoc(this),Xi(So(this));break}}if(x.history==this.history){var re=[x.id];ki(x,function(oe){return re.push(oe.id)},!0),x.history=new Gi(null),x.history.done=Un(this.history.done,re),x.history.undone=Un(this.history.undone,re)}},iterLinkedDocs:function(x){ki(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):Tn(x)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Ya(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(z){return z.order=null}),this.cm&&Qa(this.cm))})}),$i.prototype.eachLine=$i.prototype.iter;var bl=0;function cs(x){var z=this;if(nu(z),!(rn(z,x)||uo(z.display,x))){aa(x),we&&(bl=+new Date);var ae=Xs(z,x,!0),re=x.dataTransfer.files;if(!(!ae||z.isReadOnly()))if(re&&re.length&&window.FileReader&&window.File)for(var oe=re.length,xe=Array(oe),We=0,dt=function(){++We==oe&&Xa(z,function(){ae=oi(z.doc,ae);var $r={from:ae,to:ae,text:z.doc.splitLines(xe.filter(function(ti){return ti!=null}).join(z.doc.lineSeparator())),origin:"paste"};Wa(z.doc,$r),Ka(z.doc,ml(oi(z.doc,ae),oi(z.doc,Io($r))))})()},Ct=function($r,ti){if(z.options.allowDropFileTypes&&Mt(z.options.allowDropFileTypes,$r.type)==-1){dt();return}var Ei=new FileReader;Ei.onerror=function(){return dt()},Ei.onload=function(){var lo=Ei.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(lo)){dt();return}xe[ti]=lo,dt()},Ei.readAsText($r)},Ft=0;Ft<re.length;Ft++)Ct(re[Ft],Ft);else{if(z.state.draggingText&&z.doc.sel.contains(ae)>-1){z.state.draggingText(x),setTimeout(function(){return z.display.input.focus()},20);return}try{var tr=x.dataTransfer.getData("Text");if(tr){var mr;if(z.state.draggingText&&!z.state.draggingText.copy&&(mr=z.listSelections()),ri(z.doc,ml(ae,ae)),mr)for(var oa=0;oa<mr.length;++oa)Po(z.doc,"",mr[oa].anchor,mr[oa].head,"drag");z.replaceSelection(tr,"around","paste"),z.display.input.focus()}}catch($r){}}}}function es(x,z){if(we&&(!x.state.draggingText||+new Date-bl<100)){Fa(z);return}if(!(rn(x,z)||uo(x.display,z))&&(z.dataTransfer.setData("Text",x.getSelection()),z.dataTransfer.effectAllowed="copyMove",z.dataTransfer.setDragImage&&!Xe)){var ae=yt("img",null,null,"position: fixed; left: 0; top: 0;");ae.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Pe&&(ae.width=ae.height=1,x.display.wrapper.appendChild(ae),ae._top=ae.offsetTop),z.dataTransfer.setDragImage(ae,0,0),Pe&&ae.parentNode.removeChild(ae)}}function au(x,z){var ae=Xs(x,z);if(ae){var re=document.createDocumentFragment();_t(x,ae,re),x.display.dragCursor||(x.display.dragCursor=yt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),ht(x.display.dragCursor,re)}}function nu(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function Au(x){if(document.getElementsByClassName){for(var z=document.getElementsByClassName("CodeMirror"),ae=[],re=0;re<z.length;re++){var oe=z[re].CodeMirror;oe&&ae.push(oe)}ae.length&&ae[0].operation(function(){for(var xe=0;xe<ae.length;xe++)x(ae[xe])})}}var li=!1;function Hu(){li||(js(),li=!0)}function js(){var x;On(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,Au(bu)},100))}),On(window,"blur",function(){return Au(or)})}function bu(x){var z=x.display;z.cachedCharWidth=z.cachedTextHeight=z.cachedPaddingH=null,z.scrollbarsClipped=!1,x.setSize()}for(var Nu={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"},vs=0;vs<10;vs++)Nu[vs+48]=Nu[vs+96]=String(vs);for(var Ss=65;Ss<=90;Ss++)Nu[Ss]=String.fromCharCode(Ss);for(var Ls=1;Ls<=12;Ls++)Nu[Ls+111]=Nu[Ls+63235]="F"+Ls;var as={};as.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"},as.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"},as.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"},as.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"]},as.default=Ee?as.macDefault:as.pcDefault;function su(x){var z=x.split(/-(?!$)/);x=z[z.length-1];for(var ae,re,oe,xe,We=0;We<z.length-1;We++){var dt=z[We];if(/^(cmd|meta|m)$/i.test(dt))xe=!0;else if(/^a(lt)?$/i.test(dt))ae=!0;else if(/^(c|ctrl|control)$/i.test(dt))re=!0;else if(/^s(hift)?$/i.test(dt))oe=!0;else throw new Error("Unrecognized modifier name: "+dt)}return ae&&(x="Alt-"+x),re&&(x="Ctrl-"+x),xe&&(x="Cmd-"+x),oe&&(x="Shift-"+x),x}function ds(x){var z={};for(var ae in x)if(x.hasOwnProperty(ae)){var re=x[ae];if(/^(name|fallthrough|(de|at)tach)$/.test(ae))continue;if(re=="..."){delete x[ae];continue}for(var oe=br(ae.split(" "),su),xe=0;xe<oe.length;xe++){var We=void 0,dt=void 0;xe==oe.length-1?(dt=oe.join(" "),We=re):(dt=oe.slice(0,xe+1).join(" "),We="...");var Ct=z[dt];if(!Ct)z[dt]=We;else if(Ct!=We)throw new Error("Inconsistent bindings for "+dt)}delete x[ae]}for(var Ft in z)x[Ft]=z[Ft];return x}function ru(x,z,ae,re){z=Us(z);var oe=z.call?z.call(x,re):z[x];if(oe===!1)return"nothing";if(oe==="...")return"multi";if(oe!=null&&ae(oe))return"handled";if(z.fallthrough){if(Object.prototype.toString.call(z.fallthrough)!="[object Array]")return ru(x,z.fallthrough,ae,re);for(var xe=0;xe<z.fallthrough.length;xe++){var We=ru(x,z.fallthrough[xe],ae,re);if(We)return We}}}function uu(x){var z=typeof x=="string"?x:Nu[x.keyCode];return z=="Ctrl"||z=="Alt"||z=="Shift"||z=="Mod"}function cu(x,z,ae){var re=x;return z.altKey&&re!="Alt"&&(x="Alt-"+x),(st?z.metaKey:z.ctrlKey)&&re!="Ctrl"&&(x="Ctrl-"+x),(st?z.ctrlKey:z.metaKey)&&re!="Mod"&&(x="Cmd-"+x),!ae&&z.shiftKey&&re!="Shift"&&(x="Shift-"+x),x}function Iu(x,z){if(Pe&&x.keyCode==34&&x.char)return!1;var ae=Nu[x.keyCode];return ae==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ae=x.code),cu(ae,x,z))}function Us(x){return typeof x=="string"?as[x]:x}function Pu(x,z){for(var ae=x.doc.sel.ranges,re=[],oe=0;oe<ae.length;oe++){for(var xe=z(ae[oe]);re.length&&qr(xe.from,In(re).to)<=0;){var We=re.pop();if(qr(We.from,xe.from)<0){xe.from=We.from;break}}re.push(xe)}ca(x,function(){for(var dt=re.length-1;dt>=0;dt--)Po(x.doc,"",re[dt].from,re[dt].to,"+delete");Ue(x)})}function Gs(x,z,ae){var re=En(x.text,z+ae,ae);return re<0||re>x.text.length?null:re}function du(x,z,ae){var re=Gs(x,z.ch,ae);return re==null?null:new Er(z.line,re,ae<0?"after":"before")}function fu(x,z,ae,re,oe){if(x){z.doc.direction=="rtl"&&(oe=-oe);var xe=yn(ae,z.doc.direction);if(xe){var We=oe<0?In(xe):xe[0],dt=oe<0==(We.level==1),Ct=dt?"after":"before",Ft;if(We.level>0||z.doc.direction=="rtl"){var tr=qo(z,ae);Ft=oe<0?ae.text.length-1:0;var mr=Mo(z,tr,Ft).top;Ft=un(function(oa){return Mo(z,tr,oa).top==mr},oe<0==(We.level==1)?We.from:We.to-1,Ft),Ct=="before"&&(Ft=Gs(ae,Ft,1))}else Ft=oe<0?We.to:We.from;return new Er(re,Ft,Ct)}}return new Er(re,oe<0?ae.text.length:0,oe<0?"before":"after")}function Ys(x,z,ae,re){var oe=yn(z,x.doc.direction);if(!oe)return du(z,ae,re);ae.ch>=z.text.length?(ae.ch=z.text.length,ae.sticky="before"):ae.ch<=0&&(ae.ch=0,ae.sticky="after");var xe=_n(oe,ae.ch,ae.sticky),We=oe[xe];if(x.doc.direction=="ltr"&&We.level%2==0&&(re>0?We.to>ae.ch:We.from<ae.ch))return du(z,ae,re);var dt=function(To,Xo){return Gs(z,To instanceof Er?To.ch:To,Xo)},Ct,Ft=function(To){return x.options.lineWrapping?(Ct=Ct||qo(x,z),ts(x,z,Ct,To)):{begin:0,end:z.text.length}},tr=Ft(ae.sticky=="before"?dt(ae,-1):ae.ch);if(x.doc.direction=="rtl"||We.level==1){var mr=We.level==1==re<0,oa=dt(ae,mr?1:-1);if(oa!=null&&(mr?oa<=We.to&&oa<=tr.end:oa>=We.from&&oa>=tr.begin)){var $r=mr?"before":"after";return new Er(ae.line,oa,$r)}}var ti=function(To,Xo,Do){for(var $o=function(qs,zu){return zu?new Er(ae.line,dt(qs,1),"before"):new Er(ae.line,qs,"after")};To>=0&&To<oe.length;To+=Xo){var Ol=oe[To],Zl=Xo>0==(Ol.level!=1),bs=Zl?Do.begin:dt(Do.end,-1);if(Ol.from<=bs&&bs<Ol.to||(bs=Zl?Ol.from:dt(Ol.to,-1),Do.begin<=bs&&bs<Do.end))return $o(bs,Zl)}},Ei=ti(xe+re,re,tr);if(Ei)return Ei;var lo=re>0?tr.end:dt(tr.begin,-1);return lo!=null&&!(re>0&&lo==z.text.length)&&(Ei=ti(re>0?0:oe.length-1,re,Ft(lo)),Ei)?Ei:null}var Vs={selectAll:Fo,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),Nt)},killLine:function(x){return Pu(x,function(z){if(z.empty()){var ae=fr(x.doc,z.head.line).text.length;return z.head.ch==ae&&z.head.line<x.lastLine()?{from:z.head,to:Er(z.head.line+1,0)}:{from:z.head,to:Er(z.head.line,ae)}}else return{from:z.from(),to:z.to()}})},deleteLine:function(x){return Pu(x,function(z){return{from:Er(z.from().line,0),to:oi(x.doc,Er(z.to().line+1,0))}})},delLineLeft:function(x){return Pu(x,function(z){return{from:Er(z.from().line,0),to:z.from()}})},delWrappedLineLeft:function(x){return Pu(x,function(z){var ae=x.charCoords(z.head,"div").top+5,re=x.coordsChar({left:0,top:ae},"div");return{from:re,to:z.from()}})},delWrappedLineRight:function(x){return Pu(x,function(z){var ae=x.charCoords(z.head,"div").top+5,re=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ae},"div");return{from:z.from(),to:re}})},undo:function(x){return x.undo()},redo:function(x){return x.redo()},undoSelection:function(x){return x.undoSelection()},redoSelection:function(x){return x.redoSelection()},goDocStart:function(x){return x.extendSelection(Er(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(Er(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(z){return Hs(x,z.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(z){return dc(x,z.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(z){return Qu(x,z.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(z){var ae=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ae},"div")},nn)},goLineLeft:function(x){return x.extendSelectionsBy(function(z){var ae=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:0,top:ae},"div")},nn)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(z){var ae=x.cursorCoords(z.head,"div").top+5,re=x.coordsChar({left:0,top:ae},"div");return re.ch<x.getLine(re.line).search(/\S/)?dc(x,z.head):re},nn)},goLineUp:function(x){return x.moveV(-1,"line")},goLineDown:function(x){return x.moveV(1,"line")},goPageUp:function(x){return x.moveV(-1,"page")},goPageDown:function(x){return x.moveV(1,"page")},goCharLeft:function(x){return x.moveH(-1,"char")},goCharRight:function(x){return x.moveH(1,"char")},goColumnLeft:function(x){return x.moveH(-1,"column")},goColumnRight:function(x){return x.moveH(1,"column")},goWordLeft:function(x){return x.moveH(-1,"word")},goGroupRight:function(x){return x.moveH(1,"group")},goGroupLeft:function(x){return x.moveH(-1,"group")},goWordRight:function(x){return x.moveH(1,"word")},delCharBefore:function(x){return x.deleteH(-1,"codepoint")},delCharAfter:function(x){return x.deleteH(1,"char")},delWordBefore:function(x){return x.deleteH(-1,"word")},delWordAfter:function(x){return x.deleteH(1,"word")},delGroupBefore:function(x){return x.deleteH(-1,"group")},delGroupAfter:function(x){return x.deleteH(1,"group")},indentAuto:function(x){return x.indentSelection("smart")},indentMore:function(x){return x.indentSelection("add")},indentLess:function(x){return x.indentSelection("subtract")},insertTab:function(x){return x.replaceSelection(" ")},insertSoftTab:function(x){for(var z=[],ae=x.listSelections(),re=x.options.tabSize,oe=0;oe<ae.length;oe++){var xe=ae[oe].from(),We=ct(x.getLine(xe.line),xe.ch,re);z.push(tn(re-We%re))}x.replaceSelections(z)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return ca(x,function(){for(var z=x.listSelections(),ae=[],re=0;re<z.length;re++)if(z[re].empty()){var oe=z[re].head,xe=fr(x.doc,oe.line).text;if(xe){if(oe.ch==xe.length&&(oe=new Er(oe.line,oe.ch-1)),oe.ch>0)oe=new Er(oe.line,oe.ch+1),x.replaceRange(xe.charAt(oe.ch-1)+xe.charAt(oe.ch-2),Er(oe.line,oe.ch-2),oe,"+transpose");else if(oe.line>x.doc.first){var We=fr(x.doc,oe.line-1).text;We&&(oe=new Er(oe.line,1),x.replaceRange(xe.charAt(0)+x.doc.lineSeparator()+We.charAt(We.length-1),Er(oe.line-1,We.length-1),oe,"+transpose"))}}ae.push(new Ji(oe,oe))}x.setSelections(ae)})},newlineAndIndent:function(x){return ca(x,function(){for(var z=x.listSelections(),ae=z.length-1;ae>=0;ae--)x.replaceRange(x.doc.lineSeparator(),z[ae].anchor,z[ae].head,"+input");z=x.listSelections();for(var re=0;re<z.length;re++)x.indentLine(z[re].from().line,null,!0);Ue(x)})},openLine:function(x){return x.replaceSelection(`
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function Hs(x,z){var ae=fr(x.doc,z),re=at(ae);return re!=ae&&(z=ya(re)),fu(!0,x,re,z,1)}function Qu(x,z){var ae=fr(x.doc,z),re=ft(ae);return re!=ae&&(z=ya(re)),fu(!0,x,ae,z,-1)}function dc(x,z){var ae=Hs(x,z.line),re=fr(x.doc,ae.line),oe=yn(re,x.doc.direction);if(!oe||oe[0].level==0){var xe=Math.max(ae.ch,re.text.search(/\S/)),We=z.line==ae.line&&z.ch<=xe&&z.ch;return Er(ae.line,We?0:xe,ae.sticky)}return ae}function Ts(x,z,ae){if(typeof z=="string"&&(z=Vs[z],!z))return!1;x.display.input.ensurePolled();var re=x.display.shift,oe=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),ae&&(x.display.shift=!1),oe=z(x)!=qt}finally{x.display.shift=re,x.state.suppressEdits=!1}return oe}function xu(x,z,ae){for(var re=0;re<x.state.keyMaps.length;re++){var oe=ru(z,x.state.keyMaps[re],ae,x);if(oe)return oe}return x.options.extraKeys&&ru(z,x.options.extraKeys,ae,x)||ru(z,x.options.keyMap,ae,x)}var Rc=new Ie;function ec(x,z,ae,re){var oe=x.state.keySeq;if(oe){if(uu(z))return"handled";if(/\'$/.test(z)?x.state.keySeq=null:Rc.set(50,function(){x.state.keySeq==oe&&(x.state.keySeq=null,x.display.input.reset())}),os(x,oe+" "+z,ae,re))return!0}return os(x,z,ae,re)}function os(x,z,ae,re){var oe=xu(x,z,re);return oe=="multi"&&(x.state.keySeq=z),oe=="handled"&&Pr(x,"keyHandled",x,z,ae),(oe=="handled"||oe=="multi")&&(aa(ae),xn(x)),!!oe}function dl(x,z){var ae=Iu(z,!0);return ae?z.shiftKey&&!x.state.keySeq?ec(x,"Shift-"+ae,z,function(re){return Ts(x,re,!0)})||ec(x,ae,z,function(re){if(typeof re=="string"?/^go[A-Z]/.test(re):re.motion)return Ts(x,re)}):ec(x,ae,z,function(re){return Ts(x,re)}):!1}function iu(x,z,ae){return ec(x,"'"+ae+"'",z,function(re){return Ts(x,re,!0)})}var As=null;function hu(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&(z.curOp.focus=ze(),!rn(z,x))){we&&ke<11&&x.keyCode==27&&(x.returnValue=!1);var ae=x.keyCode;z.display.shift=ae==16||x.shiftKey;var re=dl(z,x);Pe&&(As=re?ae:null,!re&&ae==88&&!ir&&(Ee?x.metaKey:x.ctrlKey)&&z.replaceSelection("",null,"cut")),ne&&!Ee&&!re&&ae==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),ae==18&&!/\bCodeMirror-crosshair\b/.test(z.display.lineDiv.className)&&za(z)}}function za(x){var z=x.display.lineDiv;ut(z,"CodeMirror-crosshair");function ae(re){(re.keyCode==18||!re.altKey)&&($e(z,"CodeMirror-crosshair"),Dr(document,"keyup",ae),Dr(document,"mouseover",ae))}On(document,"keyup",ae),On(document,"mouseover",ae)}function Ou(x){x.keyCode==16&&(this.doc.sel.shift=!1),rn(this,x)}function tc(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&!(uo(z.display,x)||rn(z,x)||x.ctrlKey&&!x.altKey||Ee&&x.metaKey)){var ae=x.keyCode,re=x.charCode;if(Pe&&ae==As){As=null,aa(x);return}if(!(Pe&&(!x.which||x.which<10)&&dl(z,x))){var oe=String.fromCharCode(re==null?ae:re);oe!="\b"&&(iu(z,x,oe)||z.display.input.onKeyPress(x))}}}var kc=400,Jc=function(x,z,ae){this.time=x,this.pos=z,this.button=ae};Jc.prototype.compare=function(x,z,ae){return this.time+kc>x&&qr(z,this.pos)==0&&ae==this.button};var nc,Nc;function qc(x,z){var ae=+new Date;return Nc&&Nc.compare(ae,x,z)?(nc=Nc=null,"triple"):nc&&nc.compare(ae,x,z)?(Nc=new Jc(ae,x,z),nc=null,"double"):(nc=new Jc(ae,x,z),Nc=null,"single")}function ou(x){var z=this,ae=z.display;if(!(rn(z,x)||ae.activeTouch&&ae.input.supportsTouch())){if(ae.input.ensurePolled(),ae.shift=x.shiftKey,uo(ae,x)){ce||(ae.scroller.draggable=!1,setTimeout(function(){return ae.scroller.draggable=!0},100));return}if(!pu(z,x)){var re=Xs(z,x),oe=Xr(x),xe=re?qc(re,oe):"single";window.focus(),oe==1&&z.state.selectingText&&z.state.selectingText(x),!(re&&Fu(z,oe,re,xe,x))&&(oe==1?re?Fc(z,re,xe,x):_a(x)==ae.scroller&&aa(x):oe==2?(re&&Sr(z.doc,re),setTimeout(function(){return ae.input.focus()},20)):oe==3&&(ye?z.display.input.onContextMenu(x):Mr(z)))}}}function Fu(x,z,ae,re,oe){var xe="Click";return re=="double"?xe="Double"+xe:re=="triple"&&(xe="Triple"+xe),xe=(z==1?"Left":z==2?"Middle":"Right")+xe,ec(x,cu(xe,oe),oe,function(We){if(typeof We=="string"&&(We=Vs[We]),!We)return!1;var dt=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),dt=We(x,ae)!=qt}finally{x.state.suppressEdits=!1}return dt})}function Ic(x,z,ae){var re=x.getOption("configureMouse"),oe=re?re(x,z,ae):{};if(oe.unit==null){var xe=wt?ae.shiftKey&&ae.metaKey:ae.altKey;oe.unit=xe?"rectangle":z=="single"?"char":z=="double"?"word":"line"}return(oe.extend==null||x.doc.extend)&&(oe.extend=x.doc.extend||ae.shiftKey),oe.addNew==null&&(oe.addNew=Ee?ae.metaKey:ae.ctrlKey),oe.moveOnDrag==null&&(oe.moveOnDrag=!(Ee?ae.altKey:ae.ctrlKey)),oe}function Fc(x,z,ae,re){we?setTimeout(Bt(Ln,x),0):x.curOp.focus=ze();var oe=Ic(x,ae,re),xe=x.doc.sel,We;x.options.dragDrop&&Da&&!x.isReadOnly()&&ae=="single"&&(We=xe.contains(z))>-1&&(qr((We=xe.ranges[We]).from(),z)<0||z.xRel>0)&&(qr(We.to(),z)>0||z.xRel<0)?Cs(x,re,z,oe):Hl(x,re,z,oe)}function Cs(x,z,ae,re){var oe=x.display,xe=!1,We=Xa(x,function(Ft){ce&&(oe.scroller.draggable=!1),x.state.draggingText=!1,Dr(oe.wrapper.ownerDocument,"mouseup",We),Dr(oe.wrapper.ownerDocument,"mousemove",dt),Dr(oe.scroller,"dragstart",Ct),Dr(oe.scroller,"drop",We),xe||(aa(Ft),re.addNew||Sr(x.doc,ae,null,null,re.extend),ce&&!Xe||we&&ke==9?setTimeout(function(){oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),oe.input.focus()},20):oe.input.focus())}),dt=function(Ft){xe=xe||Math.abs(z.clientX-Ft.clientX)+Math.abs(z.clientY-Ft.clientY)>=10},Ct=function(){return xe=!0};ce&&(oe.scroller.draggable=!0),x.state.draggingText=We,We.copy=!re.moveOnDrag,oe.scroller.dragDrop&&oe.scroller.dragDrop(),On(oe.wrapper.ownerDocument,"mouseup",We),On(oe.wrapper.ownerDocument,"mousemove",dt),On(oe.scroller,"dragstart",Ct),On(oe.scroller,"drop",We),Mr(x),setTimeout(function(){return oe.input.focus()},20)}function yl(x,z,ae){if(ae=="char")return new Ji(z,z);if(ae=="word")return x.findWordAt(z);if(ae=="line")return new Ji(Er(z.line,0),oi(x.doc,Er(z.line+1,0)));var re=ae(x,z);return new Ji(re.from,re.to)}function Hl(x,z,ae,re){var oe=x.display,xe=x.doc;aa(z);var We,dt,Ct=xe.sel,Ft=Ct.ranges;if(re.addNew&&!re.extend?(dt=xe.sel.contains(ae),dt>-1?We=Ft[dt]:We=new Ji(ae,ae)):(We=xe.sel.primary(),dt=xe.sel.primIndex),re.unit=="rectangle")re.addNew||(We=new Ji(ae,ae)),ae=Xs(x,z,!0,!0),dt=-1;else{var tr=yl(x,ae,re.unit);re.extend?We=Gn(We,tr.anchor,tr.head,re.extend):We=tr}re.addNew?dt==-1?(dt=Ft.length,Yr(xe,el(x,Ft.concat([We]),dt),{scroll:!1,origin:"*mouse"})):Ft.length>1&&Ft[dt].empty()&&re.unit=="char"&&!re.extend?(Yr(xe,el(x,Ft.slice(0,dt).concat(Ft.slice(dt+1)),0),{scroll:!1,origin:"*mouse"}),Ct=xe.sel):Ur(xe,dt,We,Kt):(dt=0,Yr(xe,new Ro([We],0),Kt),Ct=xe.sel);var mr=ae;function oa(Do){if(qr(mr,Do)!=0)if(mr=Do,re.unit=="rectangle"){for(var $o=[],Ol=x.options.tabSize,Zl=ct(fr(xe,ae.line).text,ae.ch,Ol),bs=ct(fr(xe,Do.line).text,Do.ch,Ol),qs=Math.min(Zl,bs),zu=Math.max(Zl,bs),gu=Math.min(ae.line,Do.line),Ju=Math.min(x.lastLine(),Math.max(ae.line,Do.line));gu<=Ju;gu++){var qu=fr(xe,gu).text,Bu=Cn(qu,qs,Ol);qs==zu?$o.push(new Ji(Er(gu,Bu),Er(gu,Bu))):qu.length>Bu&&$o.push(new Ji(Er(gu,Bu),Er(gu,Cn(qu,zu,Ol))))}$o.length||$o.push(new Ji(ae,ae)),Yr(xe,el(x,Ct.ranges.slice(0,dt).concat($o),dt),{origin:"*mouse",scroll:!1}),x.scrollIntoView(Do)}else{var $u=We,fs=yl(x,Do,re.unit),Su=$u.anchor,yu;qr(fs.anchor,Su)>0?(yu=fs.head,Su=ni($u.from(),fs.anchor)):(yu=fs.anchor,Su=$a($u.to(),fs.head));var Cu=Ct.ranges.slice(0);Cu[dt]=ys(x,new Ji(oi(xe,Su),yu)),Yr(xe,el(x,Cu,dt),Kt)}}var $r=oe.wrapper.getBoundingClientRect(),ti=0;function Ei(Do){var $o=++ti,Ol=Xs(x,Do,!0,re.unit=="rectangle");if(Ol)if(qr(Ol,mr)!=0){x.curOp.focus=ze(),oa(Ol);var Zl=Vr(oe,xe);(Ol.line>=Zl.to||Ol.line<Zl.from)&&setTimeout(Xa(x,function(){ti==$o&&Ei(Do)}),150)}else{var bs=Do.clientY<$r.top?-20:Do.clientY>$r.bottom?20:0;bs&&setTimeout(Xa(x,function(){ti==$o&&(oe.scroller.scrollTop+=bs,Ei(Do))}),50)}}function lo(Do){x.state.selectingText=!1,ti=1/0,Do&&(aa(Do),oe.input.focus()),Dr(oe.wrapper.ownerDocument,"mousemove",To),Dr(oe.wrapper.ownerDocument,"mouseup",Xo),xe.history.lastSelOrigin=null}var To=Xa(x,function(Do){Do.buttons===0||!Xr(Do)?lo(Do):Ei(Do)}),Xo=Xa(x,lo);x.state.selectingText=Xo,On(oe.wrapper.ownerDocument,"mousemove",To),On(oe.wrapper.ownerDocument,"mouseup",Xo)}function ys(x,z){var ae=z.anchor,re=z.head,oe=fr(x.doc,ae.line);if(qr(ae,re)==0&&ae.sticky==re.sticky)return z;var xe=yn(oe);if(!xe)return z;var We=_n(xe,ae.ch,ae.sticky),dt=xe[We];if(dt.from!=ae.ch&&dt.to!=ae.ch)return z;var Ct=We+(dt.from==ae.ch==(dt.level!=1)?0:1);if(Ct==0||Ct==xe.length)return z;var Ft;if(re.line!=ae.line)Ft=(re.line-ae.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var tr=_n(xe,re.ch,re.sticky),mr=tr-We||(re.ch-ae.ch)*(dt.level==1?-1:1);tr==Ct-1||tr==Ct?Ft=mr<0:Ft=mr>0}var oa=xe[Ct+(Ft?-1:0)],$r=Ft==(oa.level==1),ti=$r?oa.from:oa.to,Ei=$r?"after":"before";return ae.ch==ti&&ae.sticky==Ei?z:new Ji(new Er(ae.line,ti,Ei),re)}function Rs(x,z,ae,re){var oe,xe;if(z.touches)oe=z.touches[0].clientX,xe=z.touches[0].clientY;else try{oe=z.clientX,xe=z.clientY}catch(oa){return!1}if(oe>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;re&&aa(z);var We=x.display,dt=We.lineDiv.getBoundingClientRect();if(xe>dt.bottom||!ur(x,ae))return Pa(z);xe-=dt.top-We.viewOffset;for(var Ct=0;Ct<x.display.gutterSpecs.length;++Ct){var Ft=We.gutters.childNodes[Ct];if(Ft&&Ft.getBoundingClientRect().right>=oe){var tr=Sa(x.doc,xe),mr=x.display.gutterSpecs[Ct];return jt(x,ae,x,tr,mr.className,z),Pa(z)}}}function pu(x,z){return Rs(x,z,"gutterClick",!0)}function wu(x,z){uo(x.display,z)||rc(x,z)||rn(x,z,"contextmenu")||ye||x.display.input.onContextMenu(z)}function rc(x,z){return ur(x,"gutterContextMenu")?Rs(x,z,"gutterContextMenu",!1):!1}function ac(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Lo(x)}var Xu={toString:function(){return"CodeMirror.Init"}},fc={},Ku={};function ud(x){var z=x.optionHandlers;function ae(re,oe,xe,We){x.defaults[re]=oe,xe&&(z[re]=We?function(dt,Ct,Ft){Ft!=Xu&&xe(dt,Ct,Ft)}:xe)}x.defineOption=ae,x.Init=Xu,ae("value","",function(re,oe){return re.setValue(oe)},!0),ae("mode",null,function(re,oe){re.doc.modeOption=oe,jo(re)},!0),ae("indentUnit",2,jo,!0),ae("indentWithTabs",!1),ae("smartIndent",!0),ae("tabSize",4,function(re){Bl(re),Lo(re),Le(re)},!0),ae("lineSeparator",null,function(re,oe){if(re.doc.lineSep=oe,!!oe){var xe=[],We=re.doc.first;re.doc.iter(function(Ct){for(var Ft=0;;){var tr=Ct.text.indexOf(oe,Ft);if(tr==-1)break;Ft=tr+oe.length,xe.push(Er(We,tr))}We++});for(var dt=xe.length-1;dt>=0;dt--)Po(re.doc,oe,xe[dt],Er(xe[dt].line,xe[dt].ch+oe.length))}}),ae("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(re,oe,xe){re.state.specialChars=new RegExp(oe.source+(oe.test(" ")?"":"| "),"g"),xe!=Xu&&re.refresh()}),ae("specialCharPlaceholder",kt,function(re){return re.refresh()},!0),ae("electricChars",!0),ae("inputStyle",vt?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ae("spellcheck",!1,function(re,oe){return re.getInputField().spellcheck=oe},!0),ae("autocorrect",!1,function(re,oe){return re.getInputField().autocorrect=oe},!0),ae("autocapitalize",!1,function(re,oe){return re.getInputField().autocapitalize=oe},!0),ae("rtlMoveVisually",!Rt),ae("wholeLineUpdateBefore",!0),ae("theme","default",function(re){ac(re),oo(re)},!0),ae("keyMap","default",function(re,oe,xe){var We=Us(oe),dt=xe!=Xu&&Us(xe);dt&&dt.detach&&dt.detach(re,We),We.attach&&We.attach(re,dt||null)}),ae("extraKeys",null),ae("configureMouse",null),ae("lineWrapping",!1,cd,!0),ae("gutters",[],function(re,oe){re.display.gutterSpecs=go(oe,re.options.lineNumbers),oo(re)},!0),ae("fixedGutter",!0,function(re,oe){re.display.gutters.style.left=oe?zs(re.display)+"px":"0",re.refresh()},!0),ae("coverGutterNextToScrollbar",!1,function(re){return Nr(re)},!0),ae("scrollbarStyle","native",function(re){Kr(re),Nr(re),re.display.scrollbars.setScrollTop(re.doc.scrollTop),re.display.scrollbars.setScrollLeft(re.doc.scrollLeft)},!0),ae("lineNumbers",!1,function(re,oe){re.display.gutterSpecs=go(re.options.gutters,oe),oo(re)},!0),ae("firstLineNumber",1,oo,!0),ae("lineNumberFormatter",function(re){return re},oo,!0),ae("showCursorWhenSelecting",!1,bt,!0),ae("resetSelectionOnContextMenu",!0),ae("lineWiseCopyCut",!0),ae("pasteLinesPerSelection",!0),ae("selectionsMayTouch",!1),ae("readOnly",!1,function(re,oe){oe=="nocursor"&&(or(re),re.display.input.blur()),re.display.input.readOnlyChanged(oe)}),ae("screenReaderLabel",null,function(re,oe){oe=oe===""?null:oe,re.display.input.screenReaderLabelChanged(oe)}),ae("disableInput",!1,function(re,oe){oe||re.display.input.reset()},!0),ae("dragDrop",!0,bd),ae("allowDropFileTypes",null),ae("cursorBlinkRate",530),ae("cursorScrollMargin",0),ae("cursorHeight",1,bt,!0),ae("singleCursorHeightPerLine",!0,bt,!0),ae("workTime",100),ae("workDelay",100),ae("flattenSpans",!0,Bl,!0),ae("addModeClass",!1,Bl,!0),ae("pollInterval",100),ae("undoDepth",200,function(re,oe){return re.doc.history.undoDepth=oe}),ae("historyEventDelay",1250),ae("viewportMargin",10,function(re){return re.refresh()},!0),ae("maxHighlightLength",1e4,Bl,!0),ae("moveInputWithCursor",!0,function(re,oe){oe||re.display.input.resetPosition()}),ae("tabindex",null,function(re,oe){return re.display.input.getField().tabIndex=oe||""}),ae("autofocus",null),ae("direction","ltr",function(re,oe){return re.doc.setDirection(oe)},!0),ae("phrases",null)}function bd(x,z,ae){var re=ae&&ae!=Xu;if(!z!=!re){var oe=x.display.dragFunctions,xe=z?On:Dr;xe(x.display.scroller,"dragstart",oe.start),xe(x.display.scroller,"dragenter",oe.enter),xe(x.display.scroller,"dragover",oe.over),xe(x.display.scroller,"dragleave",oe.leave),xe(x.display.scroller,"drop",oe.drop)}}function cd(x){x.options.lineWrapping?(ut(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):($e(x.display.wrapper,"CodeMirror-wrap"),Jn(x)),Bs(x),Le(x),Lo(x),setTimeout(function(){return Nr(x)},100)}function is(x,z){var ae=this;if(!(this instanceof is))return new is(x,z);this.options=z=z?en(z):{},en(fc,z,!1);var re=z.value;typeof re=="string"?re=new $i(re,z.mode,null,z.lineSeparator,z.direction):z.mode&&(re.modeOption=z.mode),this.doc=re;var oe=new is.inputStyles[z.inputStyle](this),xe=this.display=new bo(x,re,oe,z);xe.wrapper.CodeMirror=this,ac(this),z.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Kr(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 Ie,keySeq:null,specialChars:null},z.autofocus&&!vt&&xe.input.focus(),we&&ke<11&&setTimeout(function(){return ae.display.input.reset(!0)},20),Fd(this),Hu(),ua(this),this.curOp.forceUpdate=!0,Oi(this,re),z.autofocus&&!vt||this.hasFocus()?setTimeout(function(){ae.hasFocus()&&!ae.state.focused&&pr(ae)},20):or(this);for(var We in Ku)Ku.hasOwnProperty(We)&&Ku[We](this,z[We],Xu);di(this),z.finishInit&&z.finishInit(this);for(var dt=0;dt<dd.length;++dt)dd[dt](this);Na(this),ce&&z.lineWrapping&&getComputedStyle(xe.lineDiv).textRendering=="optimizelegibility"&&(xe.lineDiv.style.textRendering="auto")}is.defaults=fc,is.optionHandlers=Ku;function Fd(x){var z=x.display;On(z.scroller,"mousedown",Xa(x,ou)),we&&ke<11?On(z.scroller,"dblclick",Xa(x,function(Ct){if(!rn(x,Ct)){var Ft=Xs(x,Ct);if(!(!Ft||pu(x,Ct)||uo(x.display,Ct))){aa(Ct);var tr=x.findWordAt(Ft);Sr(x.doc,tr.anchor,tr.head)}}})):On(z.scroller,"dblclick",function(Ct){return rn(x,Ct)||aa(Ct)}),On(z.scroller,"contextmenu",function(Ct){return wu(x,Ct)}),On(z.input.getField(),"contextmenu",function(Ct){z.scroller.contains(Ct.target)||wu(x,Ct)});var ae,re={end:0};function oe(){z.activeTouch&&(ae=setTimeout(function(){return z.activeTouch=null},1e3),re=z.activeTouch,re.end=+new Date)}function xe(Ct){if(Ct.touches.length!=1)return!1;var Ft=Ct.touches[0];return Ft.radiusX<=1&&Ft.radiusY<=1}function We(Ct,Ft){if(Ft.left==null)return!0;var tr=Ft.left-Ct.left,mr=Ft.top-Ct.top;return tr*tr+mr*mr>20*20}On(z.scroller,"touchstart",function(Ct){if(!rn(x,Ct)&&!xe(Ct)&&!pu(x,Ct)){z.input.ensurePolled(),clearTimeout(ae);var Ft=+new Date;z.activeTouch={start:Ft,moved:!1,prev:Ft-re.end<=300?re:null},Ct.touches.length==1&&(z.activeTouch.left=Ct.touches[0].pageX,z.activeTouch.top=Ct.touches[0].pageY)}}),On(z.scroller,"touchmove",function(){z.activeTouch&&(z.activeTouch.moved=!0)}),On(z.scroller,"touchend",function(Ct){var Ft=z.activeTouch;if(Ft&&!uo(z,Ct)&&Ft.left!=null&&!Ft.moved&&new Date-Ft.start<300){var tr=x.coordsChar(z.activeTouch,"page"),mr;!Ft.prev||We(Ft,Ft.prev)?mr=new Ji(tr,tr):!Ft.prev.prev||We(Ft,Ft.prev.prev)?mr=x.findWordAt(tr):mr=new Ji(Er(tr.line,0),oi(x.doc,Er(tr.line+1,0))),x.setSelection(mr.anchor,mr.head),x.focus(),aa(Ct)}oe()}),On(z.scroller,"touchcancel",oe),On(z.scroller,"scroll",function(){z.scroller.clientHeight&&(Gt(x,z.scroller.scrollTop),jn(x,z.scroller.scrollLeft,!0),jt(x,"scroll",x))}),On(z.scroller,"mousewheel",function(Ct){return Fl(x,Ct)}),On(z.scroller,"DOMMouseScroll",function(Ct){return Fl(x,Ct)}),On(z.wrapper,"scroll",function(){return z.wrapper.scrollTop=z.wrapper.scrollLeft=0}),z.dragFunctions={enter:function(Ct){rn(x,Ct)||Fa(Ct)},over:function(Ct){rn(x,Ct)||(au(x,Ct),Fa(Ct))},start:function(Ct){return es(x,Ct)},drop:Xa(x,cs),leave:function(Ct){rn(x,Ct)||nu(x)}};var dt=z.input.getField();On(dt,"keyup",function(Ct){return Ou.call(x,Ct)}),On(dt,"keydown",Xa(x,hu)),On(dt,"keypress",Xa(x,tc)),On(dt,"focus",function(Ct){return pr(x,Ct)}),On(dt,"blur",function(Ct){return or(x,Ct)})}var dd=[];is.defineInitHook=function(x){return dd.push(x)};function ic(x,z,ae,re){var oe=x.doc,xe;ae==null&&(ae="add"),ae=="smart"&&(oe.mode.indent?xe=Uo(x,z).state:ae="prev");var We=x.options.tabSize,dt=fr(oe,z),Ct=ct(dt.text,null,We);dt.stateAfter&&(dt.stateAfter=null);var Ft=dt.text.match(/^\s*/)[0],tr;if(!re&&!/\S/.test(dt.text))tr=0,ae="not";else if(ae=="smart"&&(tr=oe.mode.indent(xe,dt.text.slice(Ft.length),dt.text),tr==qt||tr>150)){if(!re)return;ae="prev"}ae=="prev"?z>oe.first?tr=ct(fr(oe,z-1).text,null,We):tr=0:ae=="add"?tr=Ct+x.options.indentUnit:ae=="subtract"?tr=Ct-x.options.indentUnit:typeof ae=="number"&&(tr=Ct+ae),tr=Math.max(0,tr);var mr="",oa=0;if(x.options.indentWithTabs)for(var $r=Math.floor(tr/We);$r;--$r)oa+=We,mr+=" ";if(oa<tr&&(mr+=tn(tr-oa)),mr!=Ft)return Po(oe,mr,Er(z,0),Er(z,Ft.length),"+input"),dt.stateAfter=null,!0;for(var ti=0;ti<oe.sel.ranges.length;ti++){var Ei=oe.sel.ranges[ti];if(Ei.head.line==z&&Ei.head.ch<Ft.length){var lo=Er(z,Ft.length);Ur(oe,ti,new Ji(lo,lo));break}}}var sc=null;function mc(x){sc=x}function $c(x,z,ae,re,oe){var xe=x.doc;x.display.shift=!1,re||(re=xe.sel);var We=+new Date-200,dt=oe=="paste"||x.state.pasteIncoming>We,Ct=Tn(z),Ft=null;if(dt&&re.ranges.length>1)if(sc&&sc.text.join(`
`)==z){if(re.ranges.length%sc.text.length==0){Ft=[];for(var tr=0;tr<sc.text.length;tr++)Ft.push(xe.splitLines(sc.text[tr]))}}else Ct.length==re.ranges.length&&x.options.pasteLinesPerSelection&&(Ft=br(Ct,function(To){return[To]}));for(var mr=x.curOp.updateInput,oa=re.ranges.length-1;oa>=0;oa--){var $r=re.ranges[oa],ti=$r.from(),Ei=$r.to();$r.empty()&&(ae&&ae>0?ti=Er(ti.line,ti.ch-ae):x.state.overwrite&&!dt?Ei=Er(Ei.line,Math.min(fr(xe,Ei.line).text.length,Ei.ch+In(Ct).length)):dt&&sc&&sc.lineWise&&sc.text.join(`
`)==Ct.join(`
`)&&(ti=Ei=Er(ti.line,0)));var lo={from:ti,to:Ei,text:Ft?Ft[oa%Ft.length]:Ct,origin:oe||(dt?"paste":x.state.cutIncoming>We?"cut":"+input")};Wa(x.doc,lo),Pr(x,"inputRead",x,lo)}z&&!dt&&ed(x,z),Ue(x),x.curOp.updateInput<2&&(x.curOp.updateInput=mr),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function fd(x,z){var ae=x.clipboardData&&x.clipboardData.getData("Text");if(ae)return x.preventDefault(),!z.isReadOnly()&&!z.options.disableInput&&ca(z,function(){return $c(z,ae,0,null,"paste")}),!0}function ed(x,z){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ae=x.doc.sel,re=ae.ranges.length-1;re>=0;re--){var oe=ae.ranges[re];if(!(oe.head.ch>100||re&&ae.ranges[re-1].head.line==oe.head.line)){var xe=x.getModeAt(oe.head),We=!1;if(xe.electricChars){for(var dt=0;dt<xe.electricChars.length;dt++)if(z.indexOf(xe.electricChars.charAt(dt))>-1){We=ic(x,oe.head.line,"smart");break}}else xe.electricInput&&xe.electricInput.test(fr(x.doc,oe.head.line).text.slice(0,oe.head.ch))&&(We=ic(x,oe.head.line,"smart"));We&&Pr(x,"electricInput",x,oe.head.line)}}}function Pc(x){for(var z=[],ae=[],re=0;re<x.doc.sel.ranges.length;re++){var oe=x.doc.sel.ranges[re].head.line,xe={anchor:Er(oe,0),head:Er(oe+1,0)};ae.push(xe),z.push(x.getRange(xe.anchor,xe.head))}return{text:z,ranges:ae}}function Kd(x,z,ae,re){x.setAttribute("autocorrect",ae?"":"off"),x.setAttribute("autocapitalize",re?"":"off"),x.setAttribute("spellcheck",!!z)}function Ds(){var x=yt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),z=yt("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ce?x.style.width="1000px":x.setAttribute("wrap","off"),pt&&(x.style.border="1px solid black"),Kd(x),z}function Zs(x){var z=x.optionHandlers,ae=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(re,oe){var xe=this.options,We=xe[re];xe[re]==oe&&re!="mode"||(xe[re]=oe,z.hasOwnProperty(re)&&Xa(this,z[re])(this,oe,We),jt(this,"optionChange",this,re))},getOption:function(re){return this.options[re]},getDoc:function(){return this.doc},addKeyMap:function(re,oe){this.state.keyMaps[oe?"push":"unshift"](Us(re))},removeKeyMap:function(re){for(var oe=this.state.keyMaps,xe=0;xe<oe.length;++xe)if(oe[xe]==re||oe[xe].name==re)return oe.splice(xe,1),!0},addOverlay:ra(function(re,oe){var xe=re.token?re:x.getMode(this.options,re);if(xe.startState)throw new Error("Overlays may not be stateful.");gn(this.state.overlays,{mode:xe,modeSpec:re,opaque:oe&&oe.opaque,priority:oe&&oe.priority||0},function(We){return We.priority}),this.state.modeGen++,Le(this)}),removeOverlay:ra(function(re){for(var oe=this.state.overlays,xe=0;xe<oe.length;++xe){var We=oe[xe].modeSpec;if(We==re||typeof re=="string"&&We.name==re){oe.splice(xe,1),this.state.modeGen++,Le(this);return}}}),indentLine:ra(function(re,oe,xe){typeof oe!="string"&&typeof oe!="number"&&(oe==null?oe=this.options.smartIndent?"smart":"prev":oe=oe?"add":"subtract"),Ma(this.doc,re)&&ic(this,re,oe,xe)}),indentSelection:ra(function(re){for(var oe=this.doc.sel.ranges,xe=-1,We=0;We<oe.length;We++){var dt=oe[We];if(dt.empty())dt.head.line>xe&&(ic(this,dt.head.line,re,!0),xe=dt.head.line,We==this.doc.sel.primIndex&&Ue(this));else{var Ct=dt.from(),Ft=dt.to(),tr=Math.max(xe,Ct.line);xe=Math.min(this.lastLine(),Ft.line-(Ft.ch?0:1))+1;for(var mr=tr;mr<xe;++mr)ic(this,mr,re);var oa=this.doc.sel.ranges;Ct.ch==0&&oe.length==oa.length&&oa[We].from().ch>0&&Ur(this.doc,We,new Ji(Ct,oa[We].to()),Nt)}}}),getTokenAt:function(re,oe){return zl(this,re,oe)},getLineTokens:function(re,oe){return zl(this,Er(re),oe,!0)},getTokenTypeAt:function(re){re=oi(this.doc,re);var oe=ll(this,fr(this.doc,re.line)),xe=0,We=(oe.length-1)/2,dt=re.ch,Ct;if(dt==0)Ct=oe[2];else for(;;){var Ft=xe+We>>1;if((Ft?oe[Ft*2-1]:0)>=dt)We=Ft;else if(oe[Ft*2+1]<dt)xe=Ft+1;else{Ct=oe[Ft*2+2];break}}var tr=Ct?Ct.indexOf("overlay "):-1;return tr<0?Ct:tr==0?null:Ct.slice(0,tr-1)},getModeAt:function(re){var oe=this.doc.mode;return oe.innerMode?x.innerMode(oe,this.getTokenAt(re).state).mode:oe},getHelper:function(re,oe){return this.getHelpers(re,oe)[0]},getHelpers:function(re,oe){var xe=[];if(!ae.hasOwnProperty(oe))return xe;var We=ae[oe],dt=this.getModeAt(re);if(typeof dt[oe]=="string")We[dt[oe]]&&xe.push(We[dt[oe]]);else if(dt[oe])for(var Ct=0;Ct<dt[oe].length;Ct++){var Ft=We[dt[oe][Ct]];Ft&&xe.push(Ft)}else dt.helperType&&We[dt.helperType]?xe.push(We[dt.helperType]):We[dt.name]&&xe.push(We[dt.name]);for(var tr=0;tr<We._global.length;tr++){var mr=We._global[tr];mr.pred(dt,this)&&Mt(xe,mr.val)==-1&&xe.push(mr.val)}return xe},getStateAfter:function(re,oe){var xe=this.doc;return re=no(xe,re==null?xe.first+xe.size-1:re),Uo(this,re+1,oe).state},cursorCoords:function(re,oe){var xe,We=this.doc.sel.primary();return re==null?xe=We.head:typeof re=="object"?xe=oi(this.doc,re):xe=re?We.from():We.to(),Rl(this,xe,oe||"page")},charCoords:function(re,oe){return $l(this,oi(this.doc,re),oe||"page")},coordsChar:function(re,oe){return re=Tl(this,re,oe||"page"),us(this,re.left,re.top)},lineAtHeight:function(re,oe){return re=Tl(this,{top:re,left:0},oe||"page").top,Sa(this.doc,re+this.display.viewOffset)},heightAtLine:function(re,oe,xe){var We=!1,dt;if(typeof re=="number"){var Ct=this.doc.first+this.doc.size-1;re<this.doc.first?re=this.doc.first:re>Ct&&(re=Ct,We=!0),dt=fr(this.doc,re)}else dt=re;return Al(this,dt,{top:0,left:0},oe||"page",xe||We).top+(We?this.doc.height-Dn(dt):0)},defaultTextHeight:function(){return hs(this.display)},defaultCharWidth:function(){return xs(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(re,oe,xe,We,dt){var Ct=this.display;re=Rl(this,oi(this.doc,re));var Ft=re.bottom,tr=re.left;if(oe.style.position="absolute",oe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(oe),Ct.sizer.appendChild(oe),We=="over")Ft=re.top;else if(We=="above"||We=="near"){var mr=Math.max(Ct.wrapper.clientHeight,this.doc.height),oa=Math.max(Ct.sizer.clientWidth,Ct.lineSpace.clientWidth);(We=="above"||re.bottom+oe.offsetHeight>mr)&&re.top>oe.offsetHeight?Ft=re.top-oe.offsetHeight:re.bottom+oe.offsetHeight<=mr&&(Ft=re.bottom),tr+oe.offsetWidth>oa&&(tr=oa-oe.offsetWidth)}oe.style.top=Ft+"px",oe.style.left=oe.style.right="",dt=="right"?(tr=Ct.sizer.clientWidth-oe.offsetWidth,oe.style.right="0px"):(dt=="left"?tr=0:dt=="middle"&&(tr=(Ct.sizer.clientWidth-oe.offsetWidth)/2),oe.style.left=tr+"px"),xe&&_e(this,{left:tr,top:Ft,right:tr+oe.offsetWidth,bottom:Ft+oe.offsetHeight})},triggerOnKeyDown:ra(hu),triggerOnKeyPress:ra(tc),triggerOnKeyUp:Ou,triggerOnMouseDown:ra(ou),execCommand:function(re){if(Vs.hasOwnProperty(re))return Vs[re].call(null,this)},triggerElectric:ra(function(re){ed(this,re)}),findPosH:function(re,oe,xe,We){var dt=1;oe<0&&(dt=-1,oe=-oe);for(var Ct=oi(this.doc,re),Ft=0;Ft<oe&&(Ct=Uu(this.doc,Ct,dt,xe,We),!Ct.hitSide);++Ft);return Ct},moveH:ra(function(re,oe){var xe=this;this.extendSelectionsBy(function(We){return xe.display.shift||xe.doc.extend||We.empty()?Uu(xe.doc,We.head,re,oe,xe.options.rtlMoveVisually):re<0?We.from():We.to()},nn)}),deleteH:ra(function(re,oe){var xe=this.doc.sel,We=this.doc;xe.somethingSelected()?We.replaceSelection("",null,"+delete"):Pu(this,function(dt){var Ct=Uu(We,dt.head,re,oe,!1);return re<0?{from:Ct,to:dt.head}:{from:dt.head,to:Ct}})}),findPosV:function(re,oe,xe,We){var dt=1,Ct=We;oe<0&&(dt=-1,oe=-oe);for(var Ft=oi(this.doc,re),tr=0;tr<oe;++tr){var mr=Rl(this,Ft,"div");if(Ct==null?Ct=mr.left:mr.left=Ct,Ft=vc(this,mr,dt,xe),Ft.hitSide)break}return Ft},moveV:ra(function(re,oe){var xe=this,We=this.doc,dt=[],Ct=!this.display.shift&&!We.extend&&We.sel.somethingSelected();if(We.extendSelectionsBy(function(tr){if(Ct)return re<0?tr.from():tr.to();var mr=Rl(xe,tr.head,"div");tr.goalColumn!=null&&(mr.left=tr.goalColumn),dt.push(mr.left);var oa=vc(xe,mr,re,oe);return oe=="page"&&tr==We.sel.primary()&&Ht(xe,$l(xe,oa,"div").top-mr.top),oa},nn),dt.length)for(var Ft=0;Ft<We.sel.ranges.length;Ft++)We.sel.ranges[Ft].goalColumn=dt[Ft]}),findWordAt:function(re){var oe=this.doc,xe=fr(oe,re.line).text,We=re.ch,dt=re.ch;if(xe){var Ct=this.getHelper(re,"wordChars");(re.sticky=="before"||dt==xe.length)&&We?--We:++dt;for(var Ft=xe.charAt(We),tr=ge(Ft,Ct)?function(mr){return ge(mr,Ct)}:/\s/.test(Ft)?function(mr){return/\s/.test(mr)}:function(mr){return!/\s/.test(mr)&&!ge(mr)};We>0&&tr(xe.charAt(We-1));)--We;for(;dt<xe.length&&tr(xe.charAt(dt));)++dt}return new Ji(Er(re.line,We),Er(re.line,dt))},toggleOverwrite:function(re){re!=null&&re==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ut(this.display.cursorDiv,"CodeMirror-overwrite"):$e(this.display.cursorDiv,"CodeMirror-overwrite"),jt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ze()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:ra(function(re,oe){Ut(this,re,oe)}),getScrollInfo:function(){var re=this.display.scroller;return{left:re.scrollLeft,top:re.scrollTop,height:re.scrollHeight-Zi(this)-this.display.barHeight,width:re.scrollWidth-Zi(this)-this.display.barWidth,clientHeight:mo(this),clientWidth:gi(this)}},scrollIntoView:ra(function(re,oe){re==null?(re={from:this.doc.sel.primary().head,to:null},oe==null&&(oe=this.options.cursorScrollMargin)):typeof re=="number"?re={from:Er(re,0),to:null}:re.from==null&&(re={from:re,to:null}),re.to||(re.to=re.from),re.margin=oe||0,re.from.line!=null?hn(this,re):Lt(this,re.from,re.to,re.margin)}),setSize:ra(function(re,oe){var xe=this,We=function(Ct){return typeof Ct=="number"||/^\d+$/.test(String(Ct))?Ct+"px":Ct};re!=null&&(this.display.wrapper.style.width=We(re)),oe!=null&&(this.display.wrapper.style.height=We(oe)),this.options.lineWrapping&&Dl(this);var dt=this.display.viewFrom;this.doc.iter(dt,this.display.viewTo,function(Ct){if(Ct.widgets){for(var Ft=0;Ft<Ct.widgets.length;Ft++)if(Ct.widgets[Ft].noHScroll){qe(xe,dt,"widget");break}}++dt}),this.curOp.forceUpdate=!0,jt(this,"refresh",this)}),operation:function(re){return ca(this,re)},startOperation:function(){return ua(this)},endOperation:function(){return Na(this)},refresh:ra(function(){var re=this.display.cachedTextHeight;Le(this),this.curOp.forceUpdate=!0,Lo(this),Ut(this,this.doc.scrollLeft,this.doc.scrollTop),kl(this.display),(re==null||Math.abs(re-hs(this.display))>.5||this.options.lineWrapping)&&Bs(this),jt(this,"refresh",this)}),swapDoc:ra(function(re){var oe=this.doc;return oe.cm=null,this.state.selectingText&&this.state.selectingText(),Oi(this,re),Lo(this),this.display.input.reset(),Ut(this,re.scrollLeft,re.scrollTop),this.curOp.forceScroll=!0,Pr(this,"swapDoc",this,oe),oe}),phrase:function(re){var oe=this.options.phrases;return oe&&Object.prototype.hasOwnProperty.call(oe,re)?oe[re]:re},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}},Rr(x),x.registerHelper=function(re,oe,xe){ae.hasOwnProperty(re)||(ae[re]=x[re]={_global:[]}),ae[re][oe]=xe},x.registerGlobalHelper=function(re,oe,xe,We){x.registerHelper(re,oe,We),ae[re]._global.push({pred:xe,val:We})}}function Uu(x,z,ae,re,oe){var xe=z,We=ae,dt=fr(x,z.line),Ct=oe&&x.direction=="rtl"?-ae:ae;function Ft(){var Xo=z.line+Ct;return Xo<x.first||Xo>=x.first+x.size?!1:(z=new Er(Xo,z.ch,z.sticky),dt=fr(x,Xo))}function tr(Xo){var Do;if(re=="codepoint"){var $o=dt.text.charCodeAt(z.ch+(re>0?0:-1));isNaN($o)?Do=null:Do=new Er(z.line,Math.max(0,Math.min(dt.text.length,z.ch+ae*($o>=55296&&$o<56320?2:1))),-ae)}else oe?Do=Ys(x.cm,dt,z,ae):Do=du(dt,z,ae);if(Do==null)if(!Xo&&Ft())z=fu(oe,x.cm,dt,z.line,Ct);else return!1;else z=Do;return!0}if(re=="char"||re=="codepoint")tr();else if(re=="column")tr(!0);else if(re=="word"||re=="group")for(var mr=null,oa=re=="group",$r=x.cm&&x.cm.getHelper(z,"wordChars"),ti=!0;!(ae<0&&!tr(!ti));ti=!1){var Ei=dt.text.charAt(z.ch)||`
`,lo=ge(Ei,$r)?"w":oa&&Ei==`
`?"n":!oa||/\s/.test(Ei)?null:"p";if(oa&&!ti&&!lo&&(lo="s"),mr&&mr!=lo){ae<0&&(ae=1,tr(),z.sticky="after");break}if(lo&&(mr=lo),ae>0&&!tr(!ti))break}var To=bi(x,z,xe,We,!0);return Hi(xe,To)&&(To.hitSide=!0),To}function vc(x,z,ae,re){var oe=x.doc,xe=z.left,We;if(re=="page"){var dt=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ct=Math.max(dt-.5*hs(x.display),3);We=(ae>0?z.bottom:z.top)+ae*Ct}else re=="line"&&(We=ae>0?z.bottom+3:z.top-3);for(var Ft;Ft=us(x,xe,We),!!Ft.outside;){if(ae<0?We<=0:We>=oe.height){Ft.hitSide=!0;break}We+=ae*5}return Ft}var ks=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ie,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ks.prototype.init=function(x){var z=this,ae=this,re=ae.cm,oe=ae.div=x.lineDiv;Kd(oe,re.options.spellcheck,re.options.autocorrect,re.options.autocapitalize);function xe(dt){for(var Ct=dt.target;Ct;Ct=Ct.parentNode){if(Ct==oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ct.className))break}return!1}On(oe,"paste",function(dt){!xe(dt)||rn(re,dt)||fd(dt,re)||ke<=11&&setTimeout(Xa(re,function(){return z.updateFromDOM()}),20)}),On(oe,"compositionstart",function(dt){z.composing={data:dt.data,done:!1}}),On(oe,"compositionupdate",function(dt){z.composing||(z.composing={data:dt.data,done:!1})}),On(oe,"compositionend",function(dt){z.composing&&(dt.data!=z.composing.data&&z.readFromDOMSoon(),z.composing.done=!0)}),On(oe,"touchstart",function(){return ae.forceCompositionEnd()}),On(oe,"input",function(){z.composing||z.readFromDOMSoon()});function We(dt){if(!(!xe(dt)||rn(re,dt))){if(re.somethingSelected())mc({lineWise:!1,text:re.getSelections()}),dt.type=="cut"&&re.replaceSelection("",null,"cut");else if(re.options.lineWiseCopyCut){var Ct=Pc(re);mc({lineWise:!0,text:Ct.text}),dt.type=="cut"&&re.operation(function(){re.setSelections(Ct.ranges,0,Nt),re.replaceSelection("",null,"cut")})}else return;if(dt.clipboardData){dt.clipboardData.clearData();var Ft=sc.text.join(`
`);if(dt.clipboardData.setData("Text",Ft),dt.clipboardData.getData("Text")==Ft){dt.preventDefault();return}}var tr=Ds(),mr=tr.firstChild;re.display.lineSpace.insertBefore(tr,re.display.lineSpace.firstChild),mr.value=sc.text.join(`
`);var oa=document.activeElement;Tt(mr),setTimeout(function(){re.display.lineSpace.removeChild(tr),oa.focus(),oa==oe&&ae.showPrimarySelection()},50)}}On(oe,"copy",We),On(oe,"cut",We)},ks.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},ks.prototype.prepareSelection=function(){var x=Jt(this.cm,!1);return x.focus=document.activeElement==this.div,x},ks.prototype.showSelection=function(x,z){!x||!this.cm.display.view.length||((x.focus||z)&&this.showPrimarySelection(),this.showMultipleSelections(x))},ks.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ks.prototype.showPrimarySelection=function(){var x=this.getSelection(),z=this.cm,ae=z.doc.sel.primary(),re=ae.from(),oe=ae.to();if(z.display.viewTo==z.display.viewFrom||re.line>=z.display.viewTo||oe.line<z.display.viewFrom){x.removeAllRanges();return}var xe=Kc(z,x.anchorNode,x.anchorOffset),We=Kc(z,x.focusNode,x.focusOffset);if(!(xe&&!xe.bad&&We&&!We.bad&&qr(ni(xe,We),re)==0&&qr($a(xe,We),oe)==0)){var dt=z.display.view,Ct=re.line>=z.display.viewFrom&&xd(z,re)||{node:dt[0].measure.map[2],offset:0},Ft=oe.line<z.display.viewTo&&xd(z,oe);if(!Ft){var tr=dt[dt.length-1].measure,mr=tr.maps?tr.maps[tr.maps.length-1]:tr.map;Ft={node:mr[mr.length-1],offset:mr[mr.length-2]-mr[mr.length-3]}}if(!Ct||!Ft){x.removeAllRanges();return}var oa=x.rangeCount&&x.getRangeAt(0),$r;try{$r=Be(Ct.node,Ct.offset,Ft.offset,Ft.node)}catch(ti){}$r&&(!ne&&z.state.focused?(x.collapse(Ct.node,Ct.offset),$r.collapsed||(x.removeAllRanges(),x.addRange($r))):(x.removeAllRanges(),x.addRange($r)),oa&&x.anchorNode==null?x.addRange(oa):ne&&this.startGracePeriod()),this.rememberSelection()}},ks.prototype.startGracePeriod=function(){var x=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){x.gracePeriod=!1,x.selectionChanged()&&x.cm.operation(function(){return x.cm.curOp.selectionChanged=!0})},20)},ks.prototype.showMultipleSelections=function(x){ht(this.cm.display.cursorDiv,x.cursors),ht(this.cm.display.selectionDiv,x.selection)},ks.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},ks.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var z=x.getRangeAt(0).commonAncestorContainer;return mt(this.div,z)},ks.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ks.prototype.blur=function(){this.div.blur()},ks.prototype.getField=function(){return this.div},ks.prototype.supportsTouch=function(){return!0},ks.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():ca(this.cm,function(){return x.cm.curOp.selectionChanged=!0});function z(){x.cm.state.focused&&(x.pollSelection(),x.polling.set(x.cm.options.pollInterval,z))}this.polling.set(this.cm.options.pollInterval,z)},ks.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},ks.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),z=this.cm;if(ot&&me&&this.cm.display.gutterSpecs.length&&wd(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ae=Kc(z,x.anchorNode,x.anchorOffset),re=Kc(z,x.focusNode,x.focusOffset);ae&&re&&ca(z,function(){Yr(z.doc,ml(ae,re),Nt),(ae.bad||re.bad)&&(z.curOp.selectionChanged=!0)})}}},ks.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,z=x.display,ae=x.doc.sel.primary(),re=ae.from(),oe=ae.to();if(re.ch==0&&re.line>x.firstLine()&&(re=Er(re.line-1,fr(x.doc,re.line-1).length)),oe.ch==fr(x.doc,oe.line).text.length&&oe.line<x.lastLine()&&(oe=Er(oe.line+1,0)),re.line<z.viewFrom||oe.line>z.viewTo-1)return!1;var xe,We,dt;re.line==z.viewFrom||(xe=Ul(x,re.line))==0?(We=ya(z.view[0].line),dt=z.view[0].node):(We=ya(z.view[xe].line),dt=z.view[xe-1].node.nextSibling);var Ct=Ul(x,oe.line),Ft,tr;if(Ct==z.view.length-1?(Ft=z.viewTo-1,tr=z.lineDiv.lastChild):(Ft=ya(z.view[Ct+1].line)-1,tr=z.view[Ct+1].node.previousSibling),!dt)return!1;for(var mr=x.doc.splitLines(Sd(x,dt,tr,We,Ft)),oa=mn(x.doc,Er(We,0),Er(Ft,fr(x.doc,Ft).text.length));mr.length>1&&oa.length>1;)if(In(mr)==In(oa))mr.pop(),oa.pop(),Ft--;else if(mr[0]==oa[0])mr.shift(),oa.shift(),We++;else break;for(var $r=0,ti=0,Ei=mr[0],lo=oa[0],To=Math.min(Ei.length,lo.length);$r<To&&Ei.charCodeAt($r)==lo.charCodeAt($r);)++$r;for(var Xo=In(mr),Do=In(oa),$o=Math.min(Xo.length-(mr.length==1?$r:0),Do.length-(oa.length==1?$r:0));ti<$o&&Xo.charCodeAt(Xo.length-ti-1)==Do.charCodeAt(Do.length-ti-1);)++ti;if(mr.length==1&&oa.length==1&&We==re.line)for(;$r&&$r>re.ch&&Xo.charCodeAt(Xo.length-ti-1)==Do.charCodeAt(Do.length-ti-1);)$r--,ti++;mr[mr.length-1]=Xo.slice(0,Xo.length-ti).replace(/^\u200b+/,""),mr[0]=mr[0].slice($r).replace(/\u200b+$/,"");var Ol=Er(We,$r),Zl=Er(Ft,oa.length?In(oa).length-ti:0);if(mr.length>1||mr[0]||qr(Ol,Zl))return Po(x.doc,mr,Ol,Zl,"+input"),!0},ks.prototype.ensurePolled=function(){this.forceCompositionEnd()},ks.prototype.reset=function(){this.forceCompositionEnd()},ks.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ks.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},ks.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&ca(this.cm,function(){return Le(x.cm)})},ks.prototype.setUneditable=function(x){x.contentEditable="false"},ks.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||Xa(this.cm,$c)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},ks.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},ks.prototype.onContextMenu=function(){},ks.prototype.resetPosition=function(){},ks.prototype.needsContentAttribute=!0;function xd(x,z){var ae=hl(x,z.line);if(!ae||ae.hidden)return null;var re=fr(x.doc,z.line),oe=Wi(ae,re,z.line),xe=yn(re,x.doc.direction),We="left";if(xe){var dt=_n(xe,z.ch);We=dt%2?"right":"left"}var Ct=Vo(oe.map,z.ch,We);return Ct.offset=Ct.collapse=="right"?Ct.end:Ct.start,Ct}function wd(x){for(var z=x;z;z=z.parentNode)if(/CodeMirror-gutter-wrapper/.test(z.className))return!0;return!1}function wc(x,z){return z&&(x.bad=!0),x}function Sd(x,z,ae,re,oe){var xe="",We=!1,dt=x.doc.lineSeparator(),Ct=!1;function Ft($r){return function(ti){return ti.id==$r}}function tr(){We&&(xe+=dt,Ct&&(xe+=dt),We=Ct=!1)}function mr($r){$r&&(tr(),xe+=$r)}function oa($r){if($r.nodeType==1){var ti=$r.getAttribute("cm-text");if(ti){mr(ti);return}var Ei=$r.getAttribute("cm-marker"),lo;if(Ei){var To=x.findMarks(Er(re,0),Er(oe+1,0),Ft(+Ei));To.length&&(lo=To[0].find(0))&&mr(mn(x.doc,lo.from,lo.to).join(dt));return}if($r.getAttribute("contenteditable")=="false")return;var Xo=/^(pre|div|p|li|table|br)$/i.test($r.nodeName);if(!/^br$/i.test($r.nodeName)&&$r.textContent.length==0)return;Xo&&tr();for(var Do=0;Do<$r.childNodes.length;Do++)oa($r.childNodes[Do]);/^(pre|p)$/i.test($r.nodeName)&&(Ct=!0),Xo&&(We=!0)}else $r.nodeType==3&&mr($r.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;oa(z),z!=ae;)z=z.nextSibling,Ct=!1;return xe}function Kc(x,z,ae){var re;if(z==x.display.lineDiv){if(re=x.display.lineDiv.childNodes[ae],!re)return wc(x.clipPos(Er(x.display.viewTo-1)),!0);z=null,ae=0}else for(re=z;;re=re.parentNode){if(!re||re==x.display.lineDiv)return null;if(re.parentNode&&re.parentNode==x.display.lineDiv)break}for(var oe=0;oe<x.display.view.length;oe++){var xe=x.display.view[oe];if(xe.node==re)return mh(xe,z,ae)}}function mh(x,z,ae){var re=x.text.firstChild,oe=!1;if(!z||!mt(re,z))return wc(Er(ya(x.line),0),!0);if(z==re&&(oe=!0,z=re.childNodes[ae],ae=0,!z)){var xe=x.rest?In(x.rest):x.line;return wc(Er(ya(xe),xe.text.length),oe)}var We=z.nodeType==3?z:null,dt=z;for(!We&&z.childNodes.length==1&&z.firstChild.nodeType==3&&(We=z.firstChild,ae&&(ae=We.nodeValue.length));dt.parentNode!=re;)dt=dt.parentNode;var Ct=x.measure,Ft=Ct.maps;function tr(lo,To,Xo){for(var Do=-1;Do<(Ft?Ft.length:0);Do++)for(var $o=Do<0?Ct.map:Ft[Do],Ol=0;Ol<$o.length;Ol+=3){var Zl=$o[Ol+2];if(Zl==lo||Zl==To){var bs=ya(Do<0?x.line:x.rest[Do]),qs=$o[Ol]+Xo;return(Xo<0||Zl!=lo)&&(qs=$o[Ol+(Xo?1:0)]),Er(bs,qs)}}}var mr=tr(We,dt,ae);if(mr)return wc(mr,oe);for(var oa=dt.nextSibling,$r=We?We.nodeValue.length-ae:0;oa;oa=oa.nextSibling){if(mr=tr(oa,oa.firstChild,0),mr)return wc(Er(mr.line,mr.ch-$r),oe);$r+=oa.textContent.length}for(var ti=dt.previousSibling,Ei=ae;ti;ti=ti.previousSibling){if(mr=tr(ti,ti.firstChild,-1),mr)return wc(Er(mr.line,mr.ch+Ei),oe);Ei+=ti.textContent.length}}var Js=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new Ie,this.hasSelection=!1,this.composing=null};Js.prototype.init=function(x){var z=this,ae=this,re=this.cm;this.createField(x);var oe=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),pt&&(oe.style.width="0px"),On(oe,"input",function(){we&&ke>=9&&z.hasSelection&&(z.hasSelection=null),ae.poll()}),On(oe,"paste",function(We){rn(re,We)||fd(We,re)||(re.state.pasteIncoming=+new Date,ae.fastPoll())});function xe(We){if(!rn(re,We)){if(re.somethingSelected())mc({lineWise:!1,text:re.getSelections()});else if(re.options.lineWiseCopyCut){var dt=Pc(re);mc({lineWise:!0,text:dt.text}),We.type=="cut"?re.setSelections(dt.ranges,null,Nt):(ae.prevInput="",oe.value=dt.text.join(`
`),Tt(oe))}else return;We.type=="cut"&&(re.state.cutIncoming=+new Date)}}On(oe,"cut",xe),On(oe,"copy",xe),On(x.scroller,"paste",function(We){if(!(uo(x,We)||rn(re,We))){if(!oe.dispatchEvent){re.state.pasteIncoming=+new Date,ae.focus();return}var dt=new Event("paste");dt.clipboardData=We.clipboardData,oe.dispatchEvent(dt)}}),On(x.lineSpace,"selectstart",function(We){uo(x,We)||aa(We)}),On(oe,"compositionstart",function(){var We=re.getCursor("from");ae.composing&&ae.composing.range.clear(),ae.composing={start:We,range:re.markText(We,re.getCursor("to"),{className:"CodeMirror-composing"})}}),On(oe,"compositionend",function(){ae.composing&&(ae.poll(),ae.composing.range.clear(),ae.composing=null)})},Js.prototype.createField=function(x){this.wrapper=Ds(),this.textarea=this.wrapper.firstChild},Js.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},Js.prototype.prepareSelection=function(){var x=this.cm,z=x.display,ae=x.doc,re=Jt(x);if(x.options.moveInputWithCursor){var oe=Rl(x,ae.sel.primary().head,"div"),xe=z.wrapper.getBoundingClientRect(),We=z.lineDiv.getBoundingClientRect();re.teTop=Math.max(0,Math.min(z.wrapper.clientHeight-10,oe.top+We.top-xe.top)),re.teLeft=Math.max(0,Math.min(z.wrapper.clientWidth-10,oe.left+We.left-xe.left))}return re},Js.prototype.showSelection=function(x){var z=this.cm,ae=z.display;ht(ae.cursorDiv,x.cursors),ht(ae.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},Js.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var z=this.cm;if(z.somethingSelected()){this.prevInput="";var ae=z.getSelection();this.textarea.value=ae,z.state.focused&&Tt(this.textarea),we&&ke>=9&&(this.hasSelection=ae)}else x||(this.prevInput=this.textarea.value="",we&&ke>=9&&(this.hasSelection=null))}},Js.prototype.getField=function(){return this.textarea},Js.prototype.supportsTouch=function(){return!1},Js.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!vt||ze()!=this.textarea))try{this.textarea.focus()}catch(x){}},Js.prototype.blur=function(){this.textarea.blur()},Js.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Js.prototype.receivedFocus=function(){this.slowPoll()},Js.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},Js.prototype.fastPoll=function(){var x=!1,z=this;z.pollingFast=!0;function ae(){var re=z.poll();!re&&!x?(x=!0,z.polling.set(60,ae)):(z.pollingFast=!1,z.slowPoll())}z.polling.set(20,ae)},Js.prototype.poll=function(){var x=this,z=this.cm,ae=this.textarea,re=this.prevInput;if(this.contextMenuPending||!z.state.focused||bn(ae)&&!re&&!this.composing||z.isReadOnly()||z.options.disableInput||z.state.keySeq)return!1;var oe=ae.value;if(oe==re&&!z.somethingSelected())return!1;if(we&&ke>=9&&this.hasSelection===oe||Ee&&/[\uf700-\uf7ff]/.test(oe))return z.display.input.reset(),!1;if(z.doc.sel==z.display.selForContextMenu){var xe=oe.charCodeAt(0);if(xe==8203&&!re&&(re="\u200B"),xe==8666)return this.reset(),this.cm.execCommand("undo")}for(var We=0,dt=Math.min(re.length,oe.length);We<dt&&re.charCodeAt(We)==oe.charCodeAt(We);)++We;return ca(z,function(){$c(z,oe.slice(We),re.length-We,null,x.composing?"*compose":null),oe.length>1e3||oe.indexOf(`
`)>-1?ae.value=x.prevInput="":x.prevInput=oe,x.composing&&(x.composing.range.clear(),x.composing.range=z.markText(x.composing.start,z.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Js.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Js.prototype.onKeyPress=function(){we&&ke>=9&&(this.hasSelection=null),this.fastPoll()},Js.prototype.onContextMenu=function(x){var z=this,ae=z.cm,re=ae.display,oe=z.textarea;z.contextMenuPending&&z.contextMenuPending();var xe=Xs(ae,x),We=re.scroller.scrollTop;if(!xe||Pe)return;var dt=ae.options.resetSelectionOnContextMenu;dt&&ae.doc.sel.contains(xe)==-1&&Xa(ae,Yr)(ae.doc,ml(xe),Nt);var Ct=oe.style.cssText,Ft=z.wrapper.style.cssText,tr=z.wrapper.offsetParent.getBoundingClientRect();z.wrapper.style.cssText="position: static",oe.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(x.clientY-tr.top-5)+"px; left: "+(x.clientX-tr.left-5)+`px;
z-index: 1000; background: `+(we?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var mr;ce&&(mr=window.scrollY),re.input.focus(),ce&&window.scrollTo(null,mr),re.input.reset(),ae.somethingSelected()||(oe.value=z.prevInput=" "),z.contextMenuPending=$r,re.selForContextMenu=ae.doc.sel,clearTimeout(re.detectingSelectAll);function oa(){if(oe.selectionStart!=null){var Ei=ae.somethingSelected(),lo="\u200B"+(Ei?oe.value:"");oe.value="\u21DA",oe.value=lo,z.prevInput=Ei?"":"\u200B",oe.selectionStart=1,oe.selectionEnd=lo.length,re.selForContextMenu=ae.doc.sel}}function $r(){if(z.contextMenuPending==$r&&(z.contextMenuPending=!1,z.wrapper.style.cssText=Ft,oe.style.cssText=Ct,we&&ke<9&&re.scrollbars.setScrollTop(re.scroller.scrollTop=We),oe.selectionStart!=null)){(!we||we&&ke<9)&&oa();var Ei=0,lo=function(){re.selForContextMenu==ae.doc.sel&&oe.selectionStart==0&&oe.selectionEnd>0&&z.prevInput=="\u200B"?Xa(ae,Fo)(ae):Ei++<10?re.detectingSelectAll=setTimeout(lo,500):(re.selForContextMenu=null,re.input.reset())};re.detectingSelectAll=setTimeout(lo,200)}}if(we&&ke>=9&&oa(),ye){Fa(x);var ti=function(){Dr(window,"mouseup",ti),setTimeout($r,20)};On(window,"mouseup",ti)}else setTimeout($r,50)},Js.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},Js.prototype.setUneditable=function(){},Js.prototype.needsContentAttribute=!1;function td(x,z){if(z=z?en(z):{},z.value=x.value,!z.tabindex&&x.tabIndex&&(z.tabindex=x.tabIndex),!z.placeholder&&x.placeholder&&(z.placeholder=x.placeholder),z.autofocus==null){var ae=ze();z.autofocus=ae==x||x.getAttribute("autofocus")!=null&&ae==document.body}function re(){x.value=dt.getValue()}var oe;if(x.form&&(On(x.form,"submit",re),!z.leaveSubmitMethodAlone)){var xe=x.form;oe=xe.submit;try{var We=xe.submit=function(){re(),xe.submit=oe,xe.submit(),xe.submit=We}}catch(Ct){}}z.finishInit=function(Ct){Ct.save=re,Ct.getTextArea=function(){return x},Ct.toTextArea=function(){Ct.toTextArea=isNaN,re(),x.parentNode.removeChild(Ct.getWrapperElement()),x.style.display="",x.form&&(Dr(x.form,"submit",re),!z.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=oe))}},x.style.display="none";var dt=is(function(Ct){return x.parentNode.insertBefore(Ct,x.nextSibling)},z);return dt}function hd(x){x.off=Dr,x.on=On,x.wheelEventPixels=Nl,x.Doc=$i,x.splitLines=Tn,x.countColumn=ct,x.findColumn=Cn,x.isWordChar=be,x.Pass=qt,x.signal=jt,x.Line=kr,x.changeEnd=Io,x.scrollbarModel=ea,x.Pos=Er,x.cmpPos=qr,x.modes=Lr,x.mimeModes=sa,x.resolveMode=Zt,x.getMode=on,x.modeExtensions=Yn,x.extendMode=Dt,x.copyState=fn,x.startState=kn,x.innerMode=Vn,x.commands=Vs,x.keyMap=as,x.keyName=Iu,x.isModifierKey=uu,x.lookupKey=ru,x.normalizeKeyMap=ds,x.StringStream=rr,x.SharedTextMarker=Qi,x.TextMarker=gs,x.LineWidget=Ps,x.e_preventDefault=aa,x.e_stopPropagation=qn,x.e_stop=Fa,x.addClass=ut,x.contains=mt,x.rmClass=$e,x.keyNames=Nu}ud(is),Zs(is);var Bc="iter insert remove copy getEditor constructor".split(" ");for(var hc in $i.prototype)$i.prototype.hasOwnProperty(hc)&&Mt(Bc,hc)<0&&(is.prototype[hc]=function(x){return function(){return x.apply(this.doc,arguments)}}($i.prototype[hc]));return Rr($i),is.inputStyles={textarea:Js,contenteditable:ks},is.defineMode=function(x){!is.defaults.mode&&x!="null"&&(is.defaults.mode=x),pn.apply(this,arguments)},is.defineMIME=At,is.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),is.defineMIME("text/plain","null"),is.defineExtension=function(x,z){is.prototype[x]=z},is.defineDocExtension=function(x,z){$i.prototype[x]=z},is.fromTextArea=td,hd(is),is.version="5.58.2",is})},49047:function(Hn,sn,ee){(function(ne){ne(ee(4631),ee(29589),ee(52539))})(function(ne){"use strict";ne.defineMode("markdown",function(de,Me){var et=ne.getMode(de,"text/html"),we=et.name=="null";function ke(ct){if(ne.findModeByName){var Ie=ne.findModeByName(ct);Ie&&(ct=Ie.mime||Ie.mimes[0])}var Mt=ne.getMode(de,ct);return Mt.name=="null"?null:Mt}Me.highlightFormatting===void 0&&(Me.highlightFormatting=!1),Me.maxBlockquoteDepth===void 0&&(Me.maxBlockquoteDepth=0),Me.taskLists===void 0&&(Me.taskLists=!1),Me.strikethrough===void 0&&(Me.strikethrough=!1),Me.emoji===void 0&&(Me.emoji=!1),Me.fencedCodeBlockHighlighting===void 0&&(Me.fencedCodeBlockHighlighting=!0),Me.fencedCodeBlockDefaultMode===void 0&&(Me.fencedCodeBlockDefaultMode="text/plain"),Me.xml===void 0&&(Me.xml=!0),Me.tokenTypeOverrides===void 0&&(Me.tokenTypeOverrides={});var ce={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 ce)ce.hasOwnProperty(Se)&&Me.tokenTypeOverrides[Se]&&(ce[Se]=Me.tokenTypeOverrides[Se]);var me=/^([*\-_])(?:\s*\1){2,}\s*$/,Pe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Xe=/^\[(x| )\](?=\s)/i,fe=Me.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Ge=/^ {0,3}(?:\={1,}|-{2,})\s*$/,pt=/^[^#!\[\]*_\\<>` "'(~:]+/,ot=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,vt=/^\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]/,wt=" ";function Rt(ct,Ie,Mt){return Ie.f=Ie.inline=Mt,Mt(ct,Ie)}function tt(ct,Ie,Mt){return Ie.f=Ie.block=Mt,Mt(ct,Ie)}function st(ct){return!ct||!/\S/.test(ct.string)}function ye(ct){if(ct.linkTitle=!1,ct.linkHref=!1,ct.linkText=!1,ct.em=!1,ct.strong=!1,ct.strikethrough=!1,ct.quote=0,ct.indentedCode=!1,ct.f==$e){var Ie=we;if(!Ie){var Mt=ne.innerMode(et,ct.htmlState);Ie=Mt.mode.name=="xml"&&Mt.state.tagStart===null&&!Mt.state.context&&Mt.state.tokenize.isInText}Ie&&(ct.f=Fe,ct.block=ue,ct.htmlState=null)}return ct.trailingSpace=0,ct.trailingSpaceNewLine=!1,ct.prevLine=ct.thisLine,ct.thisLine={stream:null},null}function ue(ct,Ie){var Mt=ct.column()===Ie.indentation,vn=st(Ie.prevLine.stream),qt=Ie.indentedCode,Nt=Ie.prevLine.hr,Kt=Ie.list!==!1,nn=(Ie.listStack[Ie.listStack.length-1]||0)+3;Ie.indentedCode=!1;var Cn=Ie.indentation;if(Ie.indentationDiff===null&&(Ie.indentationDiff=Ie.indentation,Kt)){for(Ie.list=null;Cn<Ie.listStack[Ie.listStack.length-1];)Ie.listStack.pop(),Ie.listStack.length?Ie.indentation=Ie.listStack[Ie.listStack.length-1]:Ie.list=!1;Ie.list!==!1&&(Ie.indentationDiff=Cn-Ie.listStack[Ie.listStack.length-1])}var Sn=!vn&&!Nt&&!Ie.prevLine.header&&(!Kt||!qt)&&!Ie.prevLine.fencedCodeEnd,tn=(Ie.list===!1||Nt||vn)&&Ie.indentation<=nn&&ct.match(me),In=null;if(Ie.indentationDiff>=4&&(qt||Ie.prevLine.fencedCodeEnd||Ie.prevLine.header||vn))return ct.skipToEnd(),Ie.indentedCode=!0,ce.code;if(ct.eatSpace())return null;if(Mt&&Ie.indentation<=nn&&(In=ct.match(fe))&&In[1].length<=6)return Ie.quote=0,Ie.header=In[1].length,Ie.thisLine.header=!0,Me.highlightFormatting&&(Ie.formatting="header"),Ie.f=Ie.inline,ht(Ie);if(Ie.indentation<=nn&&ct.eat(">"))return Ie.quote=Mt?1:Ie.quote+1,Me.highlightFormatting&&(Ie.formatting="quote"),ct.eatSpace(),ht(Ie);if(!tn&&!Ie.setext&&Mt&&Ie.indentation<=nn&&(In=ct.match(Pe))){var br=In[1]?"ol":"ul";return Ie.indentation=Cn+ct.current().length,Ie.list=!0,Ie.quote=0,Ie.listStack.push(Ie.indentation),Ie.em=!1,Ie.strong=!1,Ie.code=!1,Ie.strikethrough=!1,Me.taskLists&&ct.match(Xe,!1)&&(Ie.taskList=!0),Ie.f=Ie.inline,Me.highlightFormatting&&(Ie.formatting=["list","list-"+br]),ht(Ie)}else{if(Mt&&Ie.indentation<=nn&&(In=ct.match(ot,!0)))return Ie.quote=0,Ie.fencedEndRE=new RegExp(In[1]+"+ *$"),Ie.localMode=Me.fencedCodeBlockHighlighting&&ke(In[2]||Me.fencedCodeBlockDefaultMode),Ie.localMode&&(Ie.localState=ne.startState(Ie.localMode)),Ie.f=Ie.block=Je,Me.highlightFormatting&&(Ie.formatting="code-block"),Ie.code=-1,ht(Ie);if(Ie.setext||(!Sn||!Kt)&&!Ie.quote&&Ie.list===!1&&!Ie.code&&!tn&&!vt.test(ct.string)&&(In=ct.lookAhead(1))&&(In=In.match(Ge)))return Ie.setext?(Ie.header=Ie.setext,Ie.setext=0,ct.skipToEnd(),Me.highlightFormatting&&(Ie.formatting="header")):(Ie.header=In[0].charAt(0)=="="?1:2,Ie.setext=Ie.header),Ie.thisLine.header=!0,Ie.f=Ie.inline,ht(Ie);if(tn)return ct.skipToEnd(),Ie.hr=!0,Ie.thisLine.hr=!0,ce.hr;if(ct.peek()==="[")return Rt(ct,Ie,rt)}return Rt(ct,Ie,Ie.inline)}function $e(ct,Ie){var Mt=et.token(ct,Ie.htmlState);if(!we){var vn=ne.innerMode(et,Ie.htmlState);(vn.mode.name=="xml"&&vn.state.tagStart===null&&!vn.state.context&&vn.state.tokenize.isInText||Ie.md_inside&&ct.current().indexOf(">")>-1)&&(Ie.f=Fe,Ie.block=ue,Ie.htmlState=null)}return Mt}function Je(ct,Ie){var Mt=Ie.listStack[Ie.listStack.length-1]||0,vn=Ie.indentation<Mt,qt=Mt+3;if(Ie.fencedEndRE&&Ie.indentation<=qt&&(vn||ct.match(Ie.fencedEndRE))){Me.highlightFormatting&&(Ie.formatting="code-block");var Nt;return vn||(Nt=ht(Ie)),Ie.localMode=Ie.localState=null,Ie.block=ue,Ie.f=Fe,Ie.fencedEndRE=null,Ie.code=0,Ie.thisLine.fencedCodeEnd=!0,vn?tt(ct,Ie,Ie.block):Nt}else return Ie.localMode?Ie.localMode.token(ct,Ie.localState):(ct.skipToEnd(),ce.code)}function ht(ct){var Ie=[];if(ct.formatting){Ie.push(ce.formatting),typeof ct.formatting=="string"&&(ct.formatting=[ct.formatting]);for(var Mt=0;Mt<ct.formatting.length;Mt++)Ie.push(ce.formatting+"-"+ct.formatting[Mt]),ct.formatting[Mt]==="header"&&Ie.push(ce.formatting+"-"+ct.formatting[Mt]+"-"+ct.header),ct.formatting[Mt]==="quote"&&(!Me.maxBlockquoteDepth||Me.maxBlockquoteDepth>=ct.quote?Ie.push(ce.formatting+"-"+ct.formatting[Mt]+"-"+ct.quote):Ie.push("error"))}if(ct.taskOpen)return Ie.push("meta"),Ie.length?Ie.join(" "):null;if(ct.taskClosed)return Ie.push("property"),Ie.length?Ie.join(" "):null;if(ct.linkHref?Ie.push(ce.linkHref,"url"):(ct.strong&&Ie.push(ce.strong),ct.em&&Ie.push(ce.em),ct.strikethrough&&Ie.push(ce.strikethrough),ct.emoji&&Ie.push(ce.emoji),ct.linkText&&Ie.push(ce.linkText),ct.code&&Ie.push(ce.code),ct.image&&Ie.push(ce.image),ct.imageAltText&&Ie.push(ce.imageAltText,"link"),ct.imageMarker&&Ie.push(ce.imageMarker)),ct.header&&Ie.push(ce.header,ce.header+"-"+ct.header),ct.quote&&(Ie.push(ce.quote),!Me.maxBlockquoteDepth||Me.maxBlockquoteDepth>=ct.quote?Ie.push(ce.quote+"-"+ct.quote):Ie.push(ce.quote+"-"+Me.maxBlockquoteDepth)),ct.list!==!1){var vn=(ct.listStack.length-1)%3;vn?vn===1?Ie.push(ce.list2):Ie.push(ce.list3):Ie.push(ce.list1)}return ct.trailingSpaceNewLine?Ie.push("trailing-space-new-line"):ct.trailingSpace&&Ie.push("trailing-space-"+(ct.trailingSpace%2?"a":"b")),Ie.length?Ie.join(" "):null}function yt(ct,Ie){if(ct.match(pt,!0))return ht(Ie)}function Fe(ct,Ie){var Mt=Ie.text(ct,Ie);if(typeof Mt!="undefined")return Mt;if(Ie.list)return Ie.list=null,ht(Ie);if(Ie.taskList){var vn=ct.match(Xe,!0)[1]===" ";return vn?Ie.taskOpen=!0:Ie.taskClosed=!0,Me.highlightFormatting&&(Ie.formatting="task"),Ie.taskList=!1,ht(Ie)}if(Ie.taskOpen=!1,Ie.taskClosed=!1,Ie.header&&ct.match(/^#+$/,!0))return Me.highlightFormatting&&(Ie.formatting="header"),ht(Ie);var qt=ct.next();if(Ie.linkTitle){Ie.linkTitle=!1;var Nt=qt;qt==="("&&(Nt=")"),Nt=(Nt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Kt="^\\s*(?:[^"+Nt+"\\\\]+|\\\\\\\\|\\\\.)"+Nt;if(ct.match(new RegExp(Kt),!0))return ce.linkHref}if(qt==="`"){var nn=Ie.formatting;Me.highlightFormatting&&(Ie.formatting="code"),ct.eatWhile("`");var Cn=ct.current().length;if(Ie.code==0&&(!Ie.quote||Cn==1))return Ie.code=Cn,ht(Ie);if(Cn==Ie.code){var Sn=ht(Ie);return Ie.code=0,Sn}else return Ie.formatting=nn,ht(Ie)}else if(Ie.code)return ht(Ie);if(qt==="\\"&&(ct.next(),Me.highlightFormatting)){var tn=ht(Ie),In=ce.formatting+"-escape";return tn?tn+" "+In:In}if(qt==="!"&&ct.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ie.imageMarker=!0,Ie.image=!0,Me.highlightFormatting&&(Ie.formatting="image"),ht(Ie);if(qt==="["&&Ie.imageMarker&&ct.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ie.imageMarker=!1,Ie.imageAltText=!0,Me.highlightFormatting&&(Ie.formatting="image"),ht(Ie);if(qt==="]"&&Ie.imageAltText){Me.highlightFormatting&&(Ie.formatting="image");var tn=ht(Ie);return Ie.imageAltText=!1,Ie.image=!1,Ie.inline=Ie.f=mt,tn}if(qt==="["&&!Ie.image)return Ie.linkText&&ct.match(/^.*?\]/)||(Ie.linkText=!0,Me.highlightFormatting&&(Ie.formatting="link")),ht(Ie);if(qt==="]"&&Ie.linkText){Me.highlightFormatting&&(Ie.formatting="link");var tn=ht(Ie);return Ie.linkText=!1,Ie.inline=Ie.f=ct.match(/\(.*?\)| ?\[.*?\]/,!1)?mt:Fe,tn}if(qt==="<"&&ct.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ie.f=Ie.inline=Be,Me.highlightFormatting&&(Ie.formatting="link");var tn=ht(Ie);return tn?tn+=" ":tn="",tn+ce.linkInline}if(qt==="<"&&ct.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ie.f=Ie.inline=Be,Me.highlightFormatting&&(Ie.formatting="link");var tn=ht(Ie);return tn?tn+=" ":tn="",tn+ce.linkEmail}if(Me.xml&&qt==="<"&&ct.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var br=ct.string.indexOf(">",ct.pos);if(br!=-1){var gn=ct.string.substring(ct.start,br);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(gn)&&(Ie.md_inside=!0)}return ct.backUp(1),Ie.htmlState=ne.startState(et),tt(ct,Ie,$e)}if(Me.xml&&qt==="<"&&ct.match(/^\/\w*?>/))return Ie.md_inside=!1,"tag";if(qt==="*"||qt==="_"){for(var Ye=1,ve=ct.pos==1?" ":ct.string.charAt(ct.pos-2);Ye<3&&ct.eat(qt);)Ye++;var he=ct.peek()||" ",be=!/\s/.test(he)&&(!Ee.test(he)||/\s/.test(ve)||Ee.test(ve)),ge=!/\s/.test(ve)&&(!Ee.test(ve)||/\s/.test(he)||Ee.test(he)),se=null,je=null;if(Ye%2&&(!Ie.em&&be&&(qt==="*"||!ge||Ee.test(ve))?se=!0:Ie.em==qt&&ge&&(qt==="*"||!be||Ee.test(he))&&(se=!1)),Ye>1&&(!Ie.strong&&be&&(qt==="*"||!ge||Ee.test(ve))?je=!0:Ie.strong==qt&&ge&&(qt==="*"||!be||Ee.test(he))&&(je=!1)),je!=null||se!=null){Me.highlightFormatting&&(Ie.formatting=se==null?"strong":je==null?"em":"strong em"),se===!0&&(Ie.em=qt),je===!0&&(Ie.strong=qt);var Sn=ht(Ie);return se===!1&&(Ie.em=!1),je===!1&&(Ie.strong=!1),Sn}}else if(qt===" "&&(ct.eat("*")||ct.eat("_"))){if(ct.peek()===" ")return ht(Ie);ct.backUp(1)}if(Me.strikethrough){if(qt==="~"&&ct.eatWhile(qt)){if(Ie.strikethrough){Me.highlightFormatting&&(Ie.formatting="strikethrough");var Sn=ht(Ie);return Ie.strikethrough=!1,Sn}else if(ct.match(/^[^\s]/,!1))return Ie.strikethrough=!0,Me.highlightFormatting&&(Ie.formatting="strikethrough"),ht(Ie)}else if(qt===" "&&ct.match(/^~~/,!0)){if(ct.peek()===" ")return ht(Ie);ct.backUp(2)}}if(Me.emoji&&qt===":"&&ct.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ie.emoji=!0,Me.highlightFormatting&&(Ie.formatting="emoji");var xt=ht(Ie);return Ie.emoji=!1,xt}return qt===" "&&(ct.match(/^ +$/,!1)?Ie.trailingSpace++:Ie.trailingSpace&&(Ie.trailingSpaceNewLine=!0)),ht(Ie)}function Be(ct,Ie){var Mt=ct.next();if(Mt===">"){Ie.f=Ie.inline=Fe,Me.highlightFormatting&&(Ie.formatting="link");var vn=ht(Ie);return vn?vn+=" ":vn="",vn+ce.linkInline}return ct.match(/^[^>]+/,!0),ce.linkInline}function mt(ct,Ie){if(ct.eatSpace())return null;var Mt=ct.next();return Mt==="("||Mt==="["?(Ie.f=Ie.inline=ut(Mt==="("?")":"]"),Me.highlightFormatting&&(Ie.formatting="link-string"),Ie.linkHref=!0,ht(Ie)):"error"}var ze={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ut(ct){return function(Ie,Mt){var vn=Ie.next();if(vn===ct){Mt.f=Mt.inline=Fe,Me.highlightFormatting&&(Mt.formatting="link-string");var qt=ht(Mt);return Mt.linkHref=!1,qt}return Ie.match(ze[ct]),Mt.linkHref=!0,ht(Mt)}}function rt(ct,Ie){return ct.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ie.f=Tt,ct.next(),Me.highlightFormatting&&(Ie.formatting="link"),Ie.linkText=!0,ht(Ie)):Rt(ct,Ie,Fe)}function Tt(ct,Ie){if(ct.match(/^\]:/,!0)){Ie.f=Ie.inline=Bt,Me.highlightFormatting&&(Ie.formatting="link");var Mt=ht(Ie);return Ie.linkText=!1,Mt}return ct.match(/^([^\]\\]|\\.)+/,!0),ce.linkText}function Bt(ct,Ie){return ct.eatSpace()?null:(ct.match(/^[^\s]+/,!0),ct.peek()===void 0?Ie.linkTitle=!0:ct.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ie.f=Ie.inline=Fe,ce.linkHref+" url")}var en={startState:function(){return{f:ue,prevLine:{stream:null},thisLine:{stream:null},block:ue,htmlState:null,indentation:0,inline:Fe,text:yt,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(ct){return{f:ct.f,prevLine:ct.prevLine,thisLine:ct.thisLine,block:ct.block,htmlState:ct.htmlState&&ne.copyState(et,ct.htmlState),indentation:ct.indentation,localMode:ct.localMode,localState:ct.localMode?ne.copyState(ct.localMode,ct.localState):null,inline:ct.inline,text:ct.text,formatting:!1,linkText:ct.linkText,linkTitle:ct.linkTitle,linkHref:ct.linkHref,code:ct.code,em:ct.em,strong:ct.strong,strikethrough:ct.strikethrough,emoji:ct.emoji,header:ct.header,setext:ct.setext,hr:ct.hr,taskList:ct.taskList,list:ct.list,listStack:ct.listStack.slice(0),quote:ct.quote,indentedCode:ct.indentedCode,trailingSpace:ct.trailingSpace,trailingSpaceNewLine:ct.trailingSpaceNewLine,md_inside:ct.md_inside,fencedEndRE:ct.fencedEndRE}},token:function(ct,Ie){if(Ie.formatting=!1,ct!=Ie.thisLine.stream){if(Ie.header=0,Ie.hr=!1,ct.match(/^\s*$/,!0))return ye(Ie),null;if(Ie.prevLine=Ie.thisLine,Ie.thisLine={stream:ct},Ie.taskList=!1,Ie.trailingSpace=0,Ie.trailingSpaceNewLine=!1,!Ie.localState&&(Ie.f=Ie.block,Ie.f!=$e)){var Mt=ct.match(/^\s*/,!0)[0].replace(/\t/g,wt).length;if(Ie.indentation=Mt,Ie.indentationDiff=null,Mt>0)return null}}return Ie.f(ct,Ie)},innerMode:function(ct){return ct.block==$e?{state:ct.htmlState,mode:et}:ct.localState?{state:ct.localState,mode:ct.localMode}:{state:ct,mode:en}},indent:function(ct,Ie,Mt){return ct.block==$e&&et.indent?et.indent(ct.htmlState,Ie,Mt):ct.localState&&ct.localMode.indent?ct.localMode.indent(ct.localState,Ie,Mt):ne.Pass},blankLine:ye,getType:ht,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return en},"xml"),ne.defineMIME("text/markdown","markdown"),ne.defineMIME("text/x-markdown","markdown")})},52539:function(Hn,sn,ee){(function(ne){ne(ee(4631))})(function(ne){"use strict";ne.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 de=0;de<ne.modeInfo.length;de++){var Me=ne.modeInfo[de];Me.mimes&&(Me.mime=Me.mimes[0])}ne.findModeByMIME=function(et){et=et.toLowerCase();for(var we=0;we<ne.modeInfo.length;we++){var ke=ne.modeInfo[we];if(ke.mime==et)return ke;if(ke.mimes){for(var ce=0;ce<ke.mimes.length;ce++)if(ke.mimes[ce]==et)return ke}}if(/\+xml$/.test(et))return ne.findModeByMIME("application/xml");if(/\+json$/.test(et))return ne.findModeByMIME("application/json")},ne.findModeByExtension=function(et){et=et.toLowerCase();for(var we=0;we<ne.modeInfo.length;we++){var ke=ne.modeInfo[we];if(ke.ext){for(var ce=0;ce<ke.ext.length;ce++)if(ke.ext[ce]==et)return ke}}},ne.findModeByFileName=function(et){for(var we=0;we<ne.modeInfo.length;we++){var ke=ne.modeInfo[we];if(ke.file&&ke.file.test(et))return ke}var ce=et.lastIndexOf("."),Se=ce>-1&&et.substring(ce+1,et.length);if(Se)return ne.findModeByExtension(Se)},ne.findModeByName=function(et){et=et.toLowerCase();for(var we=0;we<ne.modeInfo.length;we++){var ke=ne.modeInfo[we];if(ke.name.toLowerCase()==et)return ke;if(ke.alias){for(var ce=0;ce<ke.alias.length;ce++)if(ke.alias[ce].toLowerCase()==et)return ke}}}})},80785:function(Hn,sn,ee){(function(ne){ne(ee(4631))})(function(ne){"use strict";ne.defineMode("stex",function(de,Me){"use strict";function et(pt,ot){pt.cmdState.push(ot)}function we(pt){return pt.cmdState.length>0?pt.cmdState[pt.cmdState.length-1]:null}function ke(pt){var ot=pt.cmdState.pop();ot&&ot.closeBracket()}function ce(pt){for(var ot=pt.cmdState,vt=ot.length-1;vt>=0;vt--){var Ee=ot[vt];if(Ee.name!="DEFAULT")return Ee}return{styleIdentifier:function(){return null}}}function Se(pt,ot,vt){return function(){this.name=pt,this.bracketNo=0,this.style=ot,this.styles=vt,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var me={};me.importmodule=Se("importmodule","tag",["string","builtin"]),me.documentclass=Se("documentclass","tag",["","atom"]),me.usepackage=Se("usepackage","tag",["atom"]),me.begin=Se("begin","tag",["atom"]),me.end=Se("end","tag",["atom"]),me.label=Se("label","tag",["atom"]),me.ref=Se("ref","tag",["atom"]),me.eqref=Se("eqref","tag",["atom"]),me.cite=Se("cite","tag",["atom"]),me.bibitem=Se("bibitem","tag",["atom"]),me.Bibitem=Se("Bibitem","tag",["atom"]),me.RBibitem=Se("RBibitem","tag",["atom"]),me.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Pe(pt,ot){pt.f=ot}function Xe(pt,ot){var vt;if(pt.match(/^\\[a-zA-Z@]+/)){var Ee=pt.current().slice(1);return vt=me.hasOwnProperty(Ee)?me[Ee]:me.DEFAULT,vt=new vt,et(ot,vt),Pe(ot,Ge),vt.style}if(pt.match(/^\\[$&%#{}_]/)||pt.match(/^\\[,;!\/\\]/))return"tag";if(pt.match("\\["))return Pe(ot,function(Rt,tt){return fe(Rt,tt,"\\]")}),"keyword";if(pt.match("\\("))return Pe(ot,function(Rt,tt){return fe(Rt,tt,"\\)")}),"keyword";if(pt.match("$$"))return Pe(ot,function(Rt,tt){return fe(Rt,tt,"$$")}),"keyword";if(pt.match("$"))return Pe(ot,function(Rt,tt){return fe(Rt,tt,"$")}),"keyword";var wt=pt.next();if(wt=="%")return pt.skipToEnd(),"comment";if(wt=="}"||wt=="]"){if(vt=we(ot),vt)vt.closeBracket(wt),Pe(ot,Ge);else return"error";return"bracket"}else return wt=="{"||wt=="["?(vt=me.DEFAULT,vt=new vt,et(ot,vt),"bracket"):/\d/.test(wt)?(pt.eatWhile(/[\w.%]/),"atom"):(pt.eatWhile(/[\w\-_]/),vt=ce(ot),vt.name=="begin"&&(vt.argument=pt.current()),vt.styleIdentifier())}function fe(pt,ot,vt){if(pt.eatSpace())return null;if(vt&&pt.match(vt))return Pe(ot,Xe),"keyword";if(pt.match(/^\\[a-zA-Z@]+/))return"tag";if(pt.match(/^[a-zA-Z]+/))return"variable-2";if(pt.match(/^\\[$&%#{}_]/)||pt.match(/^\\[,;!\/]/)||pt.match(/^[\^_&]/))return"tag";if(pt.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(pt.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Ee=pt.next();return Ee=="{"||Ee=="}"||Ee=="["||Ee=="]"||Ee=="("||Ee==")"?"bracket":Ee=="%"?(pt.skipToEnd(),"comment"):"error"}function Ge(pt,ot){var vt=pt.peek(),Ee;return vt=="{"||vt=="["?(Ee=we(ot),Ee.openBracket(vt),pt.eat(vt),Pe(ot,Xe),"bracket"):/[ \t\r]/.test(vt)?(pt.eat(vt),null):(Pe(ot,Xe),ke(ot),Xe(pt,ot))}return{startState:function(){var pt=Me.inMathMode?function(ot,vt){return fe(ot,vt)}:Xe;return{cmdState:[],f:pt}},copyState:function(pt){return{cmdState:pt.cmdState.slice(),f:pt.f}},token:function(pt,ot){return ot.f(pt,ot)},blankLine:function(pt){pt.f=Xe,pt.cmdState.length=0},lineComment:"%"}}),ne.defineMIME("text/x-stex","stex"),ne.defineMIME("text/x-latex","stex")})},29589:function(Hn,sn,ee){(function(ne){ne(ee(4631))})(function(ne){"use strict";var de={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},Me={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ne.defineMode("xml",function(et,we){var ke=et.indentUnit,ce={},Se=we.htmlMode?de:Me;for(var me in Se)ce[me]=Se[me];for(var me in we)ce[me]=we[me];var Pe,Xe;function fe(Be,mt){function ze(Tt){return mt.tokenize=Tt,Tt(Be,mt)}var ut=Be.next();if(ut=="<")return Be.eat("!")?Be.eat("[")?Be.match("CDATA[")?ze(ot("atom","]]>")):null:Be.match("--")?ze(ot("comment","-->")):Be.match("DOCTYPE",!0,!0)?(Be.eatWhile(/[\w\._\-]/),ze(vt(1))):null:Be.eat("?")?(Be.eatWhile(/[\w\._\-]/),mt.tokenize=ot("meta","?>"),"meta"):(Pe=Be.eat("/")?"closeTag":"openTag",mt.tokenize=Ge,"tag bracket");if(ut=="&"){var rt;return Be.eat("#")?Be.eat("x")?rt=Be.eatWhile(/[a-fA-F\d]/)&&Be.eat(";"):rt=Be.eatWhile(/[\d]/)&&Be.eat(";"):rt=Be.eatWhile(/[\w\.\-:]/)&&Be.eat(";"),rt?"atom":"error"}else return Be.eatWhile(/[^&<]/),null}fe.isInText=!0;function Ge(Be,mt){var ze=Be.next();if(ze==">"||ze=="/"&&Be.eat(">"))return mt.tokenize=fe,Pe=ze==">"?"endTag":"selfcloseTag","tag bracket";if(ze=="=")return Pe="equals",null;if(ze=="<"){mt.tokenize=fe,mt.state=tt,mt.tagName=mt.tagStart=null;var ut=mt.tokenize(Be,mt);return ut?ut+" tag error":"tag error"}else return/[\'\"]/.test(ze)?(mt.tokenize=pt(ze),mt.stringStartCol=Be.column(),mt.tokenize(Be,mt)):(Be.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function pt(Be){var mt=function(ze,ut){for(;!ze.eol();)if(ze.next()==Be){ut.tokenize=Ge;break}return"string"};return mt.isInAttribute=!0,mt}function ot(Be,mt){return function(ze,ut){for(;!ze.eol();){if(ze.match(mt)){ut.tokenize=fe;break}ze.next()}return Be}}function vt(Be){return function(mt,ze){for(var ut;(ut=mt.next())!=null;){if(ut=="<")return ze.tokenize=vt(Be+1),ze.tokenize(mt,ze);if(ut==">")if(Be==1){ze.tokenize=fe;break}else return ze.tokenize=vt(Be-1),ze.tokenize(mt,ze)}return"meta"}}function Ee(Be,mt,ze){this.prev=Be.context,this.tagName=mt,this.indent=Be.indented,this.startOfLine=ze,(ce.doNotIndent.hasOwnProperty(mt)||Be.context&&Be.context.noIndent)&&(this.noIndent=!0)}function wt(Be){Be.context&&(Be.context=Be.context.prev)}function Rt(Be,mt){for(var ze;;){if(!Be.context||(ze=Be.context.tagName,!ce.contextGrabbers.hasOwnProperty(ze)||!ce.contextGrabbers[ze].hasOwnProperty(mt)))return;wt(Be)}}function tt(Be,mt,ze){return Be=="openTag"?(ze.tagStart=mt.column(),st):Be=="closeTag"?ye:tt}function st(Be,mt,ze){return Be=="word"?(ze.tagName=mt.current(),Xe="tag",Je):ce.allowMissingTagName&&Be=="endTag"?(Xe="tag bracket",Je(Be,mt,ze)):(Xe="error",st)}function ye(Be,mt,ze){if(Be=="word"){var ut=mt.current();return ze.context&&ze.context.tagName!=ut&&ce.implicitlyClosed.hasOwnProperty(ze.context.tagName)&&wt(ze),ze.context&&ze.context.tagName==ut||ce.matchClosing===!1?(Xe="tag",ue):(Xe="tag error",$e)}else return ce.allowMissingTagName&&Be=="endTag"?(Xe="tag bracket",ue(Be,mt,ze)):(Xe="error",$e)}function ue(Be,mt,ze){return Be!="endTag"?(Xe="error",ue):(wt(ze),tt)}function $e(Be,mt,ze){return Xe="error",ue(Be,mt,ze)}function Je(Be,mt,ze){if(Be=="word")return Xe="attribute",ht;if(Be=="endTag"||Be=="selfcloseTag"){var ut=ze.tagName,rt=ze.tagStart;return ze.tagName=ze.tagStart=null,Be=="selfcloseTag"||ce.autoSelfClosers.hasOwnProperty(ut)?Rt(ze,ut):(Rt(ze,ut),ze.context=new Ee(ze,ut,rt==ze.indented)),tt}return Xe="error",Je}function ht(Be,mt,ze){return Be=="equals"?yt:(ce.allowMissing||(Xe="error"),Je(Be,mt,ze))}function yt(Be,mt,ze){return Be=="string"?Fe:Be=="word"&&ce.allowUnquoted?(Xe="string",Je):(Xe="error",Je(Be,mt,ze))}function Fe(Be,mt,ze){return Be=="string"?Fe:Je(Be,mt,ze)}return{startState:function(Be){var mt={tokenize:fe,state:tt,indented:Be||0,tagName:null,tagStart:null,context:null};return Be!=null&&(mt.baseIndent=Be),mt},token:function(Be,mt){if(!mt.tagName&&Be.sol()&&(mt.indented=Be.indentation()),Be.eatSpace())return null;Pe=null;var ze=mt.tokenize(Be,mt);return(ze||Pe)&&ze!="comment"&&(Xe=null,mt.state=mt.state(Pe||ze,Be,mt),Xe&&(ze=Xe=="error"?ze+" error":Xe)),ze},indent:function(Be,mt,ze){var ut=Be.context;if(Be.tokenize.isInAttribute)return Be.tagStart==Be.indented?Be.stringStartCol+1:Be.indented+ke;if(ut&&ut.noIndent)return ne.Pass;if(Be.tokenize!=Ge&&Be.tokenize!=fe)return ze?ze.match(/^(\s*)/)[0].length:0;if(Be.tagName)return ce.multilineTagIndentPastTag!==!1?Be.tagStart+Be.tagName.length+2:Be.tagStart+ke*(ce.multilineTagIndentFactor||1);if(ce.alignCDATA&&/<!\[CDATA\[/.test(mt))return 0;var rt=mt&&/^<(\/)?([\w_:\.-]*)/.exec(mt);if(rt&&rt[1])for(;ut;)if(ut.tagName==rt[2]){ut=ut.prev;break}else if(ce.implicitlyClosed.hasOwnProperty(ut.tagName))ut=ut.prev;else break;else if(rt)for(;ut;){var Tt=ce.contextGrabbers[ut.tagName];if(Tt&&Tt.hasOwnProperty(rt[2]))ut=ut.prev;else break}for(;ut&&ut.prev&&!ut.startOfLine;)ut=ut.prev;return ut?ut.indent+ke:Be.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ce.htmlMode?"html":"xml",helperType:ce.htmlMode?"html":"xml",skipAttribute:function(Be){Be.state==yt&&(Be.state=Je)},xmlCurrentTag:function(Be){return Be.tagName?{name:Be.tagName,close:Be.type=="closeTag"}:null},xmlCurrentContext:function(Be){for(var mt=[],ze=Be.context;ze;ze=ze.prev)ze.tagName&&mt.push(ze.tagName);return mt.reverse()}}}),ne.defineMIME("text/xml","xml"),ne.defineMIME("application/xml","xml"),ne.mimeModes.hasOwnProperty("text/html")||ne.defineMIME("text/html",{name:"xml",htmlMode:!0})})},19575:function(Hn,sn,ee){var ne,de;(function(Me,et){Hn.exports=et(Me)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(Me){"use strict";Me=Me||{};var et=Me.Base64,we="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ce=function(ze){for(var ut={},rt=0,Tt=ze.length;rt<Tt;rt++)ut[ze.charAt(rt)]=rt;return ut}(ke),Se=String.fromCharCode,me=function(ze){if(ze.length<2){var ut=ze.charCodeAt(0);return ut<128?ze:ut<2048?Se(192|ut>>>6)+Se(128|ut&63):Se(224|ut>>>12&15)+Se(128|ut>>>6&63)+Se(128|ut&63)}else{var ut=65536+(ze.charCodeAt(0)-55296)*1024+(ze.charCodeAt(1)-56320);return Se(240|ut>>>18&7)+Se(128|ut>>>12&63)+Se(128|ut>>>6&63)+Se(128|ut&63)}},Pe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Xe=function(ze){return ze.replace(Pe,me)},fe=function(ze){var ut=[0,2,1][ze.length%3],rt=ze.charCodeAt(0)<<16|(ze.length>1?ze.charCodeAt(1):0)<<8|(ze.length>2?ze.charCodeAt(2):0),Tt=[ke.charAt(rt>>>18),ke.charAt(rt>>>12&63),ut>=2?"=":ke.charAt(rt>>>6&63),ut>=1?"=":ke.charAt(rt&63)];return Tt.join("")},Ge=Me.btoa&&typeof Me.btoa=="function"?function(ze){return Me.btoa(ze)}:function(ze){if(ze.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ze.replace(/[\s\S]{1,3}/g,fe)},pt=function(ze){return Ge(Xe(String(ze)))},ot=function(ze){return ze.replace(/[+\/]/g,function(ut){return ut=="+"?"-":"_"}).replace(/=/g,"")},vt=function(ze,ut){return ut?ot(pt(ze)):pt(ze)},Ee=function(ze){return vt(ze,!0)},wt;Me.Uint8Array&&(wt=function(ze,ut){for(var rt="",Tt=0,Bt=ze.length;Tt<Bt;Tt+=3){var en=ze[Tt],ct=ze[Tt+1],Ie=ze[Tt+2],Mt=en<<16|ct<<8|Ie;rt+=ke.charAt(Mt>>>18)+ke.charAt(Mt>>>12&63)+(typeof ct!="undefined"?ke.charAt(Mt>>>6&63):"=")+(typeof Ie!="undefined"?ke.charAt(Mt&63):"=")}return ut?ot(rt):rt});var Rt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,tt=function(ze){switch(ze.length){case 4:var ut=(7&ze.charCodeAt(0))<<18|(63&ze.charCodeAt(1))<<12|(63&ze.charCodeAt(2))<<6|63&ze.charCodeAt(3),rt=ut-65536;return Se((rt>>>10)+55296)+Se((rt&1023)+56320);case 3:return Se((15&ze.charCodeAt(0))<<12|(63&ze.charCodeAt(1))<<6|63&ze.charCodeAt(2));default:return Se((31&ze.charCodeAt(0))<<6|63&ze.charCodeAt(1))}},st=function(ze){return ze.replace(Rt,tt)},ye=function(ze){var ut=ze.length,rt=ut%4,Tt=(ut>0?ce[ze.charAt(0)]<<18:0)|(ut>1?ce[ze.charAt(1)]<<12:0)|(ut>2?ce[ze.charAt(2)]<<6:0)|(ut>3?ce[ze.charAt(3)]:0),Bt=[Se(Tt>>>16),Se(Tt>>>8&255),Se(Tt&255)];return Bt.length-=[0,0,2,1][rt],Bt.join("")},ue=Me.atob&&typeof Me.atob=="function"?function(ze){return Me.atob(ze)}:function(ze){return ze.replace(/\S{1,4}/g,ye)},$e=function(ze){return ue(String(ze).replace(/[^A-Za-z0-9\+\/]/g,""))},Je=function(ze){return st(ue(ze))},ht=function(ze){return String(ze).replace(/[-_]/g,function(ut){return ut=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},yt=function(ze){return Je(ht(ze))},Fe;Me.Uint8Array&&(Fe=function(ze){return Uint8Array.from($e(ht(ze)),function(ut){return ut.charCodeAt(0)})});var Be=function(){var ze=Me.Base64;return Me.Base64=et,ze};if(Me.Base64={VERSION:we,atob:$e,btoa:Ge,fromBase64:yt,toBase64:vt,utob:Xe,encode:vt,encodeURI:Ee,btou:st,decode:yt,noConflict:Be,fromUint8Array:wt,toUint8Array:Fe},typeof Object.defineProperty=="function"){var mt=function(ze){return{value:ze,enumerable:!1,writable:!0,configurable:!0}};Me.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",mt(function(){return yt(this)})),Object.defineProperty(String.prototype,"toBase64",mt(function(ze){return vt(this,ze)})),Object.defineProperty(String.prototype,"toBase64URI",mt(function(){return vt(this,!0)}))}}return Me.Meteor&&(Base64=Me.Base64),Hn.exports?Hn.exports.Base64=Me.Base64:(ne=[],de=function(){return Me.Base64}.apply(sn,ne),de!==void 0&&(Hn.exports=de)),{Base64:Me.Base64}})},15979:function(Hn,sn,ee){"use strict";ee.d(sn,{hP:function(){return gn}});var ne=function(Ye,ve){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(he,be){he.__proto__=be}||function(he,be){for(var ge in be)Object.prototype.hasOwnProperty.call(be,ge)&&(he[ge]=be[ge])})(Ye,ve)};function de(Ye,ve){function he(){this.constructor=Ye}ne(Ye,ve),Ye.prototype=ve===null?Object.create(ve):(he.prototype=ve.prototype,new he)}function Me(Ye,ve,he,be){return new(he||(he=Promise))(function(ge,se){function je(un){try{En(be.next(un))}catch(Pn){se(Pn)}}function xt(un){try{En(be.throw(un))}catch(Pn){se(Pn)}}function En(un){var Pn;un.done?ge(un.value):(Pn=un.value,Pn instanceof he?Pn:new he(function(Xn){Xn(Pn)})).then(je,xt)}En((be=be.apply(Ye,ve||[])).next())})}function et(Ye,ve){var he,be,ge,se,je={label:0,sent:function(){if(1&ge[0])throw ge[1];return ge[1]},trys:[],ops:[]};return se={next:xt(0),throw:xt(1),return:xt(2)},typeof Symbol=="function"&&(se[Symbol.iterator]=function(){return this}),se;function xt(En){return function(un){return function(Pn){if(he)throw new TypeError("Generator is already executing.");for(;je;)try{if(he=1,be&&(ge=2&Pn[0]?be.return:Pn[0]?be.throw||((ge=be.return)&&ge.call(be),0):be.next)&&!(ge=ge.call(be,Pn[1])).done)return ge;switch(be=0,ge&&(Pn=[2&Pn[0],ge.value]),Pn[0]){case 0:case 1:ge=Pn;break;case 4:return je.label++,{value:Pn[1],done:!1};case 5:je.label++,be=Pn[1],Pn=[0];continue;case 7:Pn=je.ops.pop(),je.trys.pop();continue;default:if(ge=je.trys,!((ge=ge.length>0&&ge[ge.length-1])||Pn[0]!==6&&Pn[0]!==2)){je=0;continue}if(Pn[0]===3&&(!ge||Pn[1]>ge[0]&&Pn[1]<ge[3])){je.label=Pn[1];break}if(Pn[0]===6&&je.label<ge[1]){je.label=ge[1],ge=Pn;break}if(ge&&je.label<ge[2]){je.label=ge[2],je.ops.push(Pn);break}ge[2]&&je.ops.pop(),je.trys.pop();continue}Pn=ve.call(Ye,je)}catch(Xn){Pn=[6,Xn],be=0}finally{he=ge=0}if(5&Pn[0])throw Pn[1];return{value:Pn[0]?Pn[1]:void 0,done:!0}}([En,un])}}}function we(){for(var Ye=0,ve=0,he=arguments.length;ve<he;ve++)Ye+=arguments[ve].length;var be=Array(Ye),ge=0;for(ve=0;ve<he;ve++)for(var se=arguments[ve],je=0,xt=se.length;je<xt;je++,ge++)be[ge]=se[je];return be}var ke=function(){function Ye(){}return Ye.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Ye.setAttributes=function(ve,he){for(var be=0,ge=he;be<ge.length;be++){var se=ge[be],je=se[0],xt=se[1];ve.setAttribute(je,xt)}},Ye.createRect=function(ve,he,be){var ge=document.createElementNS("http://www.w3.org/2000/svg","rect");return ge.setAttribute("width",ve.toString()),ge.setAttribute("height",he.toString()),be&&Ye.setAttributes(ge,be),ge},Ye.createLine=function(ve,he,be,ge,se){var je=document.createElementNS("http://www.w3.org/2000/svg","line");return je.setAttribute("x1",ve.toString()),je.setAttribute("y1",he.toString()),je.setAttribute("x2",be.toString()),je.setAttribute("y2",ge.toString()),se&&Ye.setAttributes(je,se),je},Ye.createPolygon=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","polygon");return be.setAttribute("points",ve),he&&Ye.setAttributes(be,he),be},Ye.createCircle=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","circle");return be.setAttribute("cx",(ve/2).toString()),be.setAttribute("cy",(ve/2).toString()),be.setAttribute("r",ve.toString()),he&&Ye.setAttributes(be,he),be},Ye.createEllipse=function(ve,he,be){var ge=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return ge.setAttribute("cx",(ve/2).toString()),ge.setAttribute("cy",(he/2).toString()),ge.setAttribute("rx",(ve/2).toString()),ge.setAttribute("ry",(he/2).toString()),be&&Ye.setAttributes(ge,be),ge},Ye.createGroup=function(ve){var he=document.createElementNS("http://www.w3.org/2000/svg","g");return ve&&Ye.setAttributes(he,ve),he},Ye.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Ye.createMarker=function(ve,he,be,ge,se,je,xt){var En=document.createElementNS("http://www.w3.org/2000/svg","marker");return Ye.setAttributes(En,[["id",ve],["orient",he],["markerWidth",be.toString()],["markerHeight",ge.toString()],["refX",se.toString()],["refY",je.toString()]]),En.appendChild(xt),En},Ye.createText=function(ve){var he=document.createElementNS("http://www.w3.org/2000/svg","text");return he.setAttribute("x","0"),he.setAttribute("y","0"),ve&&Ye.setAttributes(he,ve),he},Ye.createTSpan=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","tspan");return be.textContent=ve,he&&Ye.setAttributes(be,he),be},Ye.createImage=function(ve){var he=document.createElementNS("http://www.w3.org/2000/svg","image");return ve&&Ye.setAttributes(he,ve),he},Ye.createPoint=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return be.x=ve,be.y=he,be},Ye.createPath=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","path");return be.setAttribute("d",ve),he&&Ye.setAttributes(be,he),be},Ye}(),ce=function(){function Ye(){}return Ye.addKey=function(ve){Ye.key=ve},Object.defineProperty(Ye,"isLicensed",{get:function(){return!!Ye.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Ye.key)},enumerable:!1,configurable:!0}),Ye}(),Se=function(){function Ye(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Ye.prototype.rasterize=function(ve,he,be){var ge=this;return new Promise(function(se){var je=be!==void 0?be:document.createElement("canvas");ve===null&&(ge.markersOnly=!0,ge.naturalSize=!1);var xt=document.createElementNS("http://www.w3.org/2000/svg","svg");xt.setAttribute("xmlns","http://www.w3.org/2000/svg"),xt.setAttribute("width",he.width.baseVal.valueAsString),xt.setAttribute("height",he.height.baseVal.valueAsString),xt.setAttribute("viewBox","0 0 "+he.viewBox.baseVal.width.toString()+" "+he.viewBox.baseVal.height.toString()),xt.innerHTML=he.innerHTML,ge.naturalSize===!0?(xt.width.baseVal.value=ve.naturalWidth,xt.height.baseVal.value=ve.naturalHeight):ge.width!==void 0&&ge.height!==void 0&&(xt.width.baseVal.value=ge.width,xt.height.baseVal.value=ge.height),je.width=xt.width.baseVal.value,je.height=xt.height.baseVal.value;var En=xt.outerHTML,un=je.getContext("2d");ge.markersOnly!==!0&&un.drawImage(ve,0,0,je.width,je.height);var Pn=window.URL,Xn=new Image(je.width,je.height);Xn.setAttribute("crossOrigin","anonymous");var _n=new Blob([En],{type:"image/svg+xml"}),Vt=Pn.createObjectURL(_n);Xn.onload=function(){un.drawImage(Xn,0,0),Pn.revokeObjectURL(Vt);var yn=je.toDataURL(ge.imageType,ge.imageQuality);se(yn)},Xn.src=Vt})},Ye}(),me=function(){},Pe=function(){function Ye(ve){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ve+"_"}return Object.defineProperty(Ye.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.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(Ye.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Ye.prototype.addClass=function(ve){return this.styleSheet===void 0&&this.addStyleSheet(),ve.name=""+this.classNamePrefix+ve.localName,this.classes.push(ve),this.styleSheet.sheet.insertRule("."+ve.name+" {"+ve.style+"}",this.styleSheet.sheet.cssRules.length),ve},Ye.prototype.addRule=function(ve){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ve),this.styleSheet.sheet.insertRule(ve.selector+" {"+ve.style+"}",this.styleSheet.sheet.cssRules.length)},Ye.prototype.addStyleSheet=function(){var ve;this.styleSheet=document.createElement("style"),((ve=this.styleSheetRoot)!==null&&ve!==void 0?ve:document.head).appendChild(this.styleSheet),this.addRule(new Xe("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Xe("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Xe("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new fe("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new fe("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},Ye.prototype.removeStyleSheet=function(){var ve;this.styleSheet&&(((ve=this.styleSheetRoot)!==null&&ve!==void 0?ve:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Ye}(),Xe=function(Ye,ve){this.selector=Ye,this.style=ve},fe=function(Ye,ve){this.localName=Ye,this.style=ve},Ge=function(){function Ye(ve,he,be,ge,se){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ve,this.displayMode=he,this.markerItems=be,this.uiStyleSettings=ge,this.styles=se,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Ye.prototype.show=function(ve){var he=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ve,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var be=document.createElement("div");be.className=this.toolbarBlockStyleClass.name,be.style.whiteSpace="nowrap",this.uiContainer.appendChild(be),this.addActionButton(be,'<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(be,'<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(be,'<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(be,'<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(be,'<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(be,'<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(be,'<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(be,'<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(se){var je=document.createElement("div");je.className=""+he.toolbarButtonStyleClass.name,je.setAttribute("data-type-name",se.typeName),je.innerHTML=se.icon,je.addEventListener("click",function(){he.markerToolbarButtonClicked(je,se)}),he.buttons.push(je),he.markerButtons.push(je)}),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 ge=document.createElement("div");ge.className=this.toolbarBlockStyleClass.name,ge.style.whiteSpace="nowrap",ge.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(ge),this.addActionButton(ge,'<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(ge,'<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()},Ye.prototype.addButtonClickListener=function(ve){this.buttonClickListeners.push(ve)},Ye.prototype.removeButtonClickListener=function(ve){this.buttonClickListeners.indexOf(ve)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ve),1)},Ye.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Ye.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ve=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var he=0;he<this.markerButtons.length;he++)he<ve||he===ve&&this.markerButtons.length-1===ve?this.markerButtonBlock.appendChild(this.markerButtons[he]):(he===ve&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[he]))}},Ye.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")},Ye.prototype.resetButtonStyles=function(){var ve=this;this.buttons.forEach(function(he){he.className=he.className.replace(ve.uiStyleSettings.toolbarButtonStyleColorsClassName?ve.uiStyleSettings.toolbarButtonStyleColorsClassName:ve.toolbarButtonStyleColorsClass.name,"").trim(),he.className=he.className.replace(ve.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ve.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ve.toolbarActiveButtonStyleColorsClass.name,"").trim(),he.className+=" "+(ve.uiStyleSettings.toolbarButtonStyleColorsClassName?ve.uiStyleSettings.toolbarButtonStyleColorsClassName:ve.toolbarButtonStyleColorsClass.name)})},Ye.prototype.addActionButton=function(ve,he,be){var ge=this,se=document.createElement("div");switch(se.className=""+this.toolbarButtonStyleClass.name,se.innerHTML=he,se.setAttribute("data-action",be),se.addEventListener("click",function(){ge.actionToolbarButtonClicked(se,be)}),be){case"select":se.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":se.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":se.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":se.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":se.style.fill=this.uiStyleSettings.closeButtonColor}ve.appendChild(se),this.buttons.push(se)},Ye.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new fe("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 fe("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new fe("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new fe("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 fe("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var ve=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new fe("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ve)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ve)+`px;
padding: `+ve+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new fe("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new fe("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Xe("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Xe("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},Ye.prototype.markerToolbarButtonClicked=function(ve,he){this.setActiveButton(ve),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(be){return be("marker",he)}),this.markerButtonOverflowBlock.style.display="none"},Ye.prototype.actionToolbarButtonClicked=function(ve,he){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(be){return be("action",he)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Ye.prototype.setActiveButton=function(ve){this.resetButtonStyles(),ve.className=ve.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ve.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Ye.prototype.setActiveMarkerButton=function(ve){var he=this.markerButtons.find(function(be){return be.getAttribute("data-type-name")===ve});he&&this.setActiveButton(he)},Ye.prototype.setCurrentMarker=function(ve){var he=this;this.currentMarker=ve,this.buttons.filter(function(be){return/delete|notes/.test(be.getAttribute("data-action"))}).forEach(function(be){he.currentMarker===void 0?(be.style.fillOpacity="0.4",be.style.pointerEvents="none"):(be.style.fillOpacity="1",be.style.pointerEvents="all")})},Ye}(),pt=function(){function Ye(ve,he,be,ge){this.panels=[],this.panelButtons=[],this.markerjsContainer=ve,this.displayMode=he,this.uiStyleSettings=be,this.styles=ge,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Ye.prototype.addStyles=function(){var ve;this.toolboxStyleClass=this.styles.addClass(new fe("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 fe("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var he=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new fe("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new fe("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new fe("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 fe("toolbox-panel-row_colors",`
background-color: `+((ve=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ve!==void 0?ve:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new fe("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*he)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*he)+`px;
padding: `+he+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new fe("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new fe("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new Xe("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Xe("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},Ye.prototype.show=function(ve){var he;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ve,this.uiContainer.className=this.toolboxStyleClass.name+" "+((he=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&he!==void 0?he:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Ye.prototype.setPanelButtons=function(ve){var he,be,ge=this;this.panels=ve,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((he=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&he!==void 0?he:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((be=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&be!==void 0?be:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(se){var je;se.uiStyleSettings=ge.uiStyleSettings;var xt=document.createElement("div");xt.className=ge.toolboxButtonStyleClass.name+" "+((je=ge.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&je!==void 0?je:ge.toolboxButtonStyleColorsClass.name),xt.innerHTML=se.icon,xt.title=se.title,xt.addEventListener("click",function(){ge.panelButtonClick(se)}),ge.panelButtons.push(xt),ge.buttonRow.appendChild(xt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Ye.prototype.panelButtonClick=function(ve){var he=this,be=-1;if(ve!==this.activePanel){be=this.panels.indexOf(ve),this.panelRow.innerHTML="";var ge=ve.getUi();ge.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(ge),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=ve}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){he.displayMode==="inline"?he.panelRow.style.display="none":he.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(se,je){var xt,En;se.className=he.toolboxButtonStyleClass.name+" "+(je===be?""+((xt=he.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&xt!==void 0?xt:he.toolboxActiveButtonStyleColorsClass.name):""+((En=he.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&En!==void 0?En:he.toolboxButtonStyleColorsClass.name))})},Ye}(),ot=function(Ye,ve){this.title=Ye,this.icon=ve},vt=function(Ye){function ve(he,be,ge,se){var je=Ye.call(this,he,se||'<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 je.colors=[],je.addTransparent=!1,je.colorBoxes=[],je.colors=be,je.currentColor=ge,je.setCurrentColor=je.setCurrentColor.bind(je),je.getColorBox=je.getColorBox.bind(je),je}return de(ve,Ye),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.overflow="hidden",be.style.whiteSpace="nowrap",this.colors.forEach(function(ge){var se=he.getColorBox(ge);be.appendChild(se),he.colorBoxes.push(se)}),be},ve.prototype.getColorBox=function(he){var be=this,ge=this.uiStyleSettings.toolbarHeight/4,se=this.uiStyleSettings.toolbarHeight-ge,je=document.createElement("div");je.style.display="inline-block",je.style.boxSizing="content-box",je.style.width=se-2+"px",je.style.height=se-2+"px",je.style.padding="1px",je.style.marginRight="2px",je.style.marginBottom="2px",je.style.borderWidth="2px",je.style.borderStyle="solid",je.style.borderRadius=(se+2)/2+"px",je.style.borderColor=he===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",je.addEventListener("click",function(){be.setCurrentColor(he,je)});var xt=document.createElement("div");return xt.style.display="inline-block",xt.style.width=se-2+"px",xt.style.height=se-2+"px",xt.style.backgroundColor=he,xt.style.borderRadius=se/2+"px",he==="transparent"&&(xt.style.fill=this.uiStyleSettings.toolboxAccentColor,xt.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>`),je.appendChild(xt),je},ve.prototype.setCurrentColor=function(he,be){var ge=this;this.currentColor=he,this.colorBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(he)},ve}(ot),Ee=function(){function Ye(ve,he,be){this._state="new",this._isSelected=!1,this._container=ve,this._overlayContainer=he,this.globalSettings=be,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ye.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ye.prototype.ownsTarget=function(ve){return!1},Object.defineProperty(Ye.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ye.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ye.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ye.prototype.pointerDown=function(ve,he){},Ye.prototype.dblClick=function(ve,he){},Ye.prototype.manipulate=function(ve){},Ye.prototype.pointerUp=function(ve){this.stateChanged()},Ye.prototype.dispose=function(){},Ye.prototype.addMarkerVisualToContainer=function(ve){this.container.childNodes.length>0?this.container.insertBefore(ve,this.container.childNodes[0]):this.container.appendChild(ve)},Ye.prototype.getState=function(){return{typeName:Ye.typeName,state:this.state,notes:this.notes}},Ye.prototype.restoreState=function(ve){this._state=ve.state,this.notes=ve.notes},Ye.prototype.scale=function(ve,he){},Ye.prototype.colorChanged=function(ve){this.onColorChanged&&this.onColorChanged(ve),this.stateChanged()},Ye.prototype.fillColorChanged=function(ve){this.onFillColorChanged&&this.onFillColorChanged(ve),this.stateChanged()},Ye.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ve=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ve.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ve)&&this.onStateChanged(this)}},Ye.typeName="MarkerBase",Ye}(),wt=function(){function Ye(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ye.prototype.findGripByVisual=function(ve){return this.topLeft.ownsTarget(ve)?this.topLeft:this.topCenter.ownsTarget(ve)?this.topCenter:this.topRight.ownsTarget(ve)?this.topRight:this.centerLeft.ownsTarget(ve)?this.centerLeft:this.centerRight.ownsTarget(ve)?this.centerRight:this.bottomLeft.ownsTarget(ve)?this.bottomLeft:this.bottomCenter.ownsTarget(ve)?this.bottomCenter:this.bottomRight.ownsTarget(ve)?this.bottomRight:void 0},Ye}(),Rt=function(){function Ye(){this.GRIP_SIZE=10,this.visual=ke.createGroup(),this.visual.appendChild(ke.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ke.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ye.prototype.ownsTarget=function(ve){return ve===this.visual||ve===this.visual.childNodes[0]||ve===this.visual.childNodes[1]},Ye}(),tt=function(){function Ye(){}return Ye.toITransformMatrix=function(ve){return{a:ve.a,b:ve.b,c:ve.c,d:ve.d,e:ve.e,f:ve.f}},Ye.toSVGMatrix=function(ve,he){return ve.a=he.a,ve.b=he.b,ve.c=he.c,ve.d=he.d,ve.e=he.e,ve.f=he.f,ve},Ye}(),st=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.left=0,se.top=0,se.width=0,se.height=0,se.defaultSize={x:50,y:20},se.offsetX=0,se.offsetY=0,se.rotationAngle=0,se.CB_DISTANCE=10,se._suppressMarkerCreateEvent=!1,se.container.transform.baseVal.appendItem(ke.createTransform()),se.setupControlBox(),se}return de(ve,Ye),Object.defineProperty(ve.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"visual",{get:function(){return this._visual},set:function(he){this._visual=he;var be=ke.createTransform();this._visual.transform.baseVal.appendItem(be)},enumerable:!1,configurable:!0}),ve.prototype.ownsTarget=function(he){return!!Ye.prototype.ownsTarget.call(this,he)||!!(this.controlGrips.findGripByVisual(he)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(he))},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.state==="new"&&(this.left=he.x,this.top=he.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var ge=this.unrotatePoint(he);if(this.manipulationStartX=ge.x,this.manipulationStartY=ge.y,this.offsetX=ge.x-this.left,this.offsetY=ge.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(be),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(be)){this.activeGrip=this.rotatorGrip;var se=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=se.x-this.width/2,this.top=se.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var je=this.container.transform.baseVal.getItem(0);je.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(je,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ve.prototype.pointerUp=function(he){var be=this.state;Ye.prototype.pointerUp.call(this,he),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(he),this._state="select",be==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ve.prototype.moveVisual=function(he){this.visual.style.transform="translate("+he.x+"px, "+he.y+"px)"},ve.prototype.manipulate=function(he){var be=this.unrotatePoint(he);this.state==="creating"?this.resize(he):this.state==="move"?(this.left=this.manipulationStartLeft+(be.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(be.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(be):this.state==="rotate"&&this.rotate(he)},ve.prototype.resize=function(he){var be=this.manipulationStartLeft,ge=this.manipulationStartWidth,se=this.manipulationStartTop,je=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:be=this.manipulationStartLeft+he.x-this.manipulationStartX,ge=this.manipulationStartWidth+this.manipulationStartLeft-be;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:ge=this.manipulationStartWidth+he.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:se=this.manipulationStartTop+he.y-this.manipulationStartY,je=this.manipulationStartHeight+this.manipulationStartTop-se;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:je=this.manipulationStartHeight+he.y-this.manipulationStartY}ge>=0?(this.left=be,this.width=ge):(this.left=be+ge,this.width=-ge),je>=0?(this.top=se,this.height=je):(this.top=se+je,this.height=-je),this.setSize()},ve.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ve.prototype.rotate=function(he){if(Math.abs(he.x-this.centerX)>.1){var be=Math.sign(he.x-this.centerX);this.rotationAngle=180*Math.atan((he.y-this.centerY)/(he.x-this.centerX))/Math.PI+90*be,this.applyRotation()}},ve.prototype.applyRotation=function(){var he=this.container.transform.baseVal.getItem(0);he.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(he,0)},ve.prototype.rotatePoint=function(he){if(this.rotationAngle===0)return he;var be=this.container.getCTM(),ge=ke.createPoint(he.x,he.y);return{x:(ge=ge.matrixTransform(be)).x,y:ge.y}},ve.prototype.unrotatePoint=function(he){if(this.rotationAngle===0)return he;var be=this.container.getCTM();be=be.inverse();var ge=ke.createPoint(he.x,he.y);return{x:(ge=ge.matrixTransform(be)).x,y:ge.y}},ve.prototype.select=function(){Ye.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ve.prototype.deselect=function(){Ye.prototype.deselect.call(this),this.controlBox.style.display="none"},ve.prototype.setupControlBox=function(){this.controlBox=ke.createGroup();var he=ke.createTransform();he.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(he),this.container.appendChild(this.controlBox),this.controlRect=ke.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=ke.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 wt,this.addControlGrips(),this.controlBox.style.display="none"},ve.prototype.adjustControlBox=function(){var he=this.controlBox.transform.baseVal.getItem(0);he.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(he,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()},ve.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()},ve.prototype.createGrip=function(){var he=new Rt;return he.visual.transform.baseVal.appendItem(ke.createTransform()),this.controlBox.appendChild(he.visual),he},ve.prototype.positionGrips=function(){var he=this.controlGrips.topLeft.GRIP_SIZE,be=-he/2,ge=be,se=(this.width+this.CB_DISTANCE)/2-he/2,je=(this.height+this.CB_DISTANCE)/2-he/2,xt=this.height+this.CB_DISTANCE-he/2,En=this.width+this.CB_DISTANCE-he/2;this.positionGrip(this.controlGrips.topLeft.visual,be,ge),this.positionGrip(this.controlGrips.topCenter.visual,se,ge),this.positionGrip(this.controlGrips.topRight.visual,En,ge),this.positionGrip(this.controlGrips.centerLeft.visual,be,je),this.positionGrip(this.controlGrips.centerRight.visual,En,je),this.positionGrip(this.controlGrips.bottomLeft.visual,be,xt),this.positionGrip(this.controlGrips.bottomCenter.visual,se,xt),this.positionGrip(this.controlGrips.bottomRight.visual,En,xt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,se,ge-3*this.CB_DISTANCE)},ve.prototype.positionGrip=function(he,be,ge){var se=he.transform.baseVal.getItem(0);se.setTranslate(be,ge),he.transform.baseVal.replaceItem(se,0)},ve.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ve.prototype.showControlBox=function(){this.controlBox.style.display=""},ve.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:tt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:tt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ye.prototype.getState.call(this))},ve.prototype.restoreState=function(he){Ye.prototype.restoreState.call(this,he);var be=he;this.left=be.left,this.top=be.top,this.width=be.width,this.height=be.height,this.rotationAngle=be.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(tt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,be.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(tt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,be.containerTransformMatrix))},ve.prototype.scale=function(he,be){Ye.prototype.scale.call(this,he,be);var ge=this.rotatePoint({x:this.left,y:this.top}),se=this.unrotatePoint({x:ge.x*he,y:ge.y*be});this.left=se.x,this.top=se.y,this.width=this.width*he,this.height=this.height*be,this.adjustControlBox()},ve}(Ee),ye=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.opacity=1,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.createVisual=se.createVisual.bind(se),se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return!(!Ye.prototype.ownsTarget.call(this,he)&&he!==this.visual)},ve.prototype.createVisual=function(){this.visual=ke.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)},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ve.prototype.manipulate=function(he){Ye.prototype.manipulate.call(this,he)},ve.prototype.resize=function(he){Ye.prototype.resize.call(this,he),this.setSize()},ve.prototype.setSize=function(){Ye.prototype.setSize.call(this),ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ve.prototype.pointerUp=function(he){Ye.prototype.pointerUp.call(this,he),this.setSize()},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.visual&&ke.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ve.prototype.setFillColor=function(he){this.fillColor=he,this.visual&&ke.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.visual&&ke.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.visual&&ke.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ve.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ye.prototype.getState.call(this))},ve.prototype.restoreState=function(he){var be=he;this.fillColor=be.fillColor,this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.opacity=be.opacity,this.createVisual(),Ye.prototype.restoreState.call(this,he),this.setSize()},ve.prototype.scale=function(he,be){Ye.prototype.scale.call(this,he,be),this.setSize()},ve.title="Rectangle marker",ve}(st),ue=function(Ye){function ve(he,be,ge,se){var je=Ye.call(this,he,se||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return je.widths=[],je.widthBoxes=[],je.widths=be,je.currentWidth=ge,je.setCurrentWidth=je.setCurrentWidth.bind(je),je}return de(ve,Ye),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.display="flex",be.style.overflow="hidden",be.style.flexGrow="2",this.widths.forEach(function(ge){var se=document.createElement("div");se.style.display="flex",se.style.flexGrow="2",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.borderColor=ge===he.currentWidth?he.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){he.setCurrentWidth(ge,se)}),be.appendChild(se);var je=document.createElement("div");je.innerText=ge.toString(),je.style.marginRight="5px",se.appendChild(je);var xt=document.createElement("div");xt.style.minHeight="20px",xt.style.flexGrow="2",xt.style.display="flex",xt.style.alignItems="center";var En=document.createElement("hr");En.style.minWidth="20px",En.style.border="0px",En.style.borderTop=ge+"px solid "+he.uiStyleSettings.toolboxColor,En.style.flexGrow="2",xt.appendChild(En),se.appendChild(xt),he.widthBoxes.push(se)}),be},ve.prototype.setCurrentWidth=function(he,be){var ge=this;this.currentWidth=he,this.widthBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ve}(ot),$e=function(Ye){function ve(he,be,ge,se){var je=Ye.call(this,he,se||'<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 je.styles=[],je.styleBoxes=[],je.styles=be,je.currentStyle=ge,je.setCurrentStyle=je.setCurrentStyle.bind(je),je}return de(ve,Ye),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.display="flex",be.style.overflow="hidden",be.style.flexGrow="2",this.styles.forEach(function(ge){var se=document.createElement("div");se.style.display="flex",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.overflow="hidden",se.style.maxWidth=100/he.styles.length-5+"%",se.style.borderColor=ge===he.currentStyle?he.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){he.setCurrentStyle(ge,se)}),be.appendChild(se);var je=document.createElement("div");je.style.minHeight="20px",je.style.flexGrow="2",je.style.overflow="hidden";var xt=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+he.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(ge!==""?'stroke-dasharray="'+ge+'"':"")+` />
</svg>`;je.innerHTML=xt,se.appendChild(je),he.styleBoxes.push(se)}),be},ve.prototype.setCurrentStyle=function(he,be){var ge=this;this.currentStyle=he,this.styleBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ve}(ot),Je=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.strokeColor=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.strokePanel=new vt("Line color",ge.defaultColorSet,ge.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new ue("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new $e("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return de(ve,Ye),Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ye.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.typeName="FrameMarker",ve.title="Frame marker",ve.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ve}(ye),ht=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"},yt=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.x1=0,se.y1=0,se.x2=0,se.y2=0,se.defaultLength=50,se.manipulationStartX=0,se.manipulationStartY=0,se.manipulationStartX1=0,se.manipulationStartY1=0,se.manipulationStartX2=0,se.manipulationStartY2=0,se.setupControlBox(),se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return!!Ye.prototype.ownsTarget.call(this,he)||!(!this.grip1.ownsTarget(he)&&!this.grip2.ownsTarget(he))},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.manipulationStartX=he.x,this.manipulationStartY=he.y,this.state==="new"&&(this.x1=he.x,this.y1=he.y,this.x2=he.x,this.y2=he.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(be)?this.activeGrip=this.grip1:this.grip2.ownsTarget(be)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ve.prototype.pointerUp=function(he){var be=this.state;Ye.prototype.pointerUp.call(this,he),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(he),this._state="select",be==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ve.prototype.adjustVisual=function(){},ve.prototype.manipulate=function(he){this.state==="creating"?this.resize(he):this.state==="move"?(this.x1=this.manipulationStartX1+he.x-this.manipulationStartX,this.y1=this.manipulationStartY1+he.y-this.manipulationStartY,this.x2=this.manipulationStartX2+he.x-this.manipulationStartX,this.y2=this.manipulationStartY2+he.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(he)},ve.prototype.resize=function(he){switch(this.activeGrip){case this.grip1:this.x1=he.x,this.y1=he.y;break;case this.grip2:case void 0:this.x2=he.x,this.y2=he.y}this.adjustVisual(),this.adjustControlBox()},ve.prototype.select=function(){Ye.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ve.prototype.deselect=function(){Ye.prototype.deselect.call(this),this.controlBox.style.display="none"},ve.prototype.setupControlBox=function(){this.controlBox=ke.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ve.prototype.adjustControlBox=function(){this.positionGrips()},ve.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ve.prototype.createGrip=function(){var he=new Rt;return he.visual.transform.baseVal.appendItem(ke.createTransform()),this.controlBox.appendChild(he.visual),he},ve.prototype.positionGrips=function(){var he=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-he/2,this.y1-he/2),this.positionGrip(this.grip2.visual,this.x2-he/2,this.y2-he/2)},ve.prototype.positionGrip=function(he,be,ge){var se=he.transform.baseVal.getItem(0);se.setTranslate(be,ge),he.transform.baseVal.replaceItem(se,0)},ve.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ye.prototype.getState.call(this))},ve.prototype.restoreState=function(he){Ye.prototype.restoreState.call(this,he);var be=he;this.x1=be.x1,this.y1=be.y1,this.x2=be.x2,this.y2=be.y2},ve.prototype.scale=function(he,be){Ye.prototype.scale.call(this,he,be),this.x1=this.x1*he,this.y1=this.y1*be,this.x2=this.x2*he,this.y2=this.y2*be,this.adjustVisual(),this.adjustControlBox()},ve}(Ee),Fe=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.setStrokeColor=se.setStrokeColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.strokeColor=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.strokePanel=new vt("Line color",ge.defaultColorSet,ge.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new ue("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new $e("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return!(!Ye.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.selectorLine&&he!==this.visibleLine)},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.selectorLine=ke.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ke.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)},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ve.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()),ke.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ke.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ke.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.adjustVisual(),this.colorChanged(he)},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.adjustVisual()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ye.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){Ye.prototype.restoreState.call(this,he);var be=he;this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.createVisual(),this.adjustVisual()},ve.typeName="LineMarker",ve.title="Line marker",ve.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ve}(yt),Be=function(Ye){function ve(he,be,ge,se){var je=Ye.call(this,he,se||'<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 je.fonts=[],je.fontBoxes=[],je.fonts=be,je.currentFont=ge,je.setCurrentFont=je.setCurrentFont.bind(je),je}return de(ve,Ye),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.overflow="hidden",be.style.flexGrow="2",this.fonts.forEach(function(ge){var se=document.createElement("div");se.style.display="inline-block",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.overflow="hidden",se.style.maxWidth=100/he.fonts.length-5+"%",se.style.borderColor=ge===he.currentFont?he.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){he.setCurrentFont(ge,se)}),be.appendChild(se);var je=document.createElement("div");je.style.display="flex",je.style.minHeight="20px",je.style.flexGrow="2",je.style.fontFamily=ge,je.style.overflow="hidden";var xt=document.createElement("div");xt.style.whiteSpace="nowrap",xt.style.overflow="hidden",xt.style.textOverflow="ellipsis",xt.innerHTML="The quick brown fox jumps over the lazy dog",je.appendChild(xt),se.appendChild(je),he.fontBoxes.push(se)}),be},ve.prototype.setCurrentFont=function(he,be){var ge=this;this.currentFont=he,this.fontBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ve}(ot),mt=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.color="transparent",se.padding=5,se.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",se.text=se.DEFAULT_TEXT,se.isMoved=!1,se.color=ge.defaultColor,se.fontFamily=ge.defaultFontFamily,se.defaultSize={x:100,y:30},se.setColor=se.setColor.bind(se),se.setFont=se.setFont.bind(se),se.renderText=se.renderText.bind(se),se.sizeText=se.sizeText.bind(se),se.textEditDivClicked=se.textEditDivClicked.bind(se),se.showTextEditor=se.showTextEditor.bind(se),se.setSize=se.setSize.bind(se),se.positionTextEditor=se.positionTextEditor.bind(se),se.colorPanel=new vt("Color",ge.defaultColorSet,ge.defaultColor),se.colorPanel.onColorChanged=se.setColor,se.fontFamilyPanel=new Be("Font",ge.defaultFontFamilies,ge.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){if(Ye.prototype.ownsTarget.call(this,he)||he===this.visual||he===this.textElement||he===this.bgRectangle)return!0;var be=!1;return this.textElement.childNodes.forEach(function(ge){ge===he&&(be=!0)}),be},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.bgRectangle=ke.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ke.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ke.createTransform()),this.textElement.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.isMoved=!1,this.pointerDownPoint=he,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ve.prototype.renderText=function(){var he=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(be){he.textElement.appendChild(ke.createTSpan(be.trim()===""?" ":be.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ve.prototype.getTextScale=function(){var he=this.textElement.getBBox(),be=1;if(he.width>0&&he.height>0){var ge=(1*this.width-this.width*this.padding*2/100)/he.width,se=(1*this.height-this.height*this.padding*2/100)/he.height;be=Math.min(ge,se)}return be},ve.prototype.getTextPosition=function(he){var be=this.textElement.getBBox(),ge=0,se=0;return be.width>0&&be.height>0&&(ge=(this.width-be.width*he)/2,se=this.height/2-be.height*he/2),{x:ge,y:se}},ve.prototype.sizeText=function(){var he=this.textElement.getBBox(),be=this.getTextScale(),ge=this.getTextPosition(be);ge.y-=he.y*be,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+ge.x+"px, "+ge.y+"px) scale("+be+", "+be+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(ge.x,ge.y),this.textElement.transform.baseVal.getItem(1).setScale(be,be))},ve.prototype.manipulate=function(he){Ye.prototype.manipulate.call(this,he),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(he.x-this.pointerDownPoint.x)>5||Math.abs(he.y-this.pointerDownPoint.y)>5)},ve.prototype.resize=function(he){Ye.prototype.resize.call(this,he),this.isMoved=!0,this.setSize(),this.sizeText()},ve.prototype.setSize=function(){Ye.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ve.prototype.pointerUp=function(he){var be=this.state;be==="creating"&&(this._suppressMarkerCreateEvent=!0),Ye.prototype.pointerUp.call(this,he),this.setSize(),(be==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ve.prototype.showTextEditor=function(){var he=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(be){be.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var be=Number.parseFloat(he.textEditor.style.fontSize);he.textEditor.clientWidth>=Number.parseInt(he.textEditor.style.maxWidth)&&be>.9;)be-=.1,he.textEditor.style.fontSize=Math.max(be,.9)+"em"}),this.textEditor.addEventListener("keyup",function(be){be.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(be){if(be.clipboardData){var ge=be.clipboardData.getData("text"),se=window.getSelection();if(!se.rangeCount)return!1;se.deleteFromDocument(),se.getRangeAt(0).insertNode(document.createTextNode(ge)),be.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){he.textEditDivClicked(he.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ve.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var he=this.getTextScale(),be=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),ge=this.textElement.getBBox(),se={x:ge.width*he,y:ge.height*he};be.x-=se.x/2,be.y-=se.y/2,this.textEditor.style.top=be.y+"px",this.textEditor.style.left=be.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-be.x+"px",this.textEditor.style.fontSize=Math.max(16*he,12)+"px",this.textElement.style.display="none"}},ve.prototype.textEditDivClicked=function(he){this.text=he.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ve.prototype.select=function(){Ye.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ve.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ye.prototype.deselect.call(this)},ve.prototype.dblClick=function(he,be){Ye.prototype.dblClick.call(this,he,be),this.showTextEditor()},ve.prototype.setColor=function(he){this.textElement&&ke.setAttributes(this.textElement,[["fill",he]]),this.color=he,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(he)},ve.prototype.setFont=function(he){this.textElement&&ke.setAttributes(this.textElement,[["font-family",he]]),this.fontFamily=he,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ve.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ve.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ye.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){var be=he;this.color=be.color,this.fontFamily=be.fontFamily,this.padding=be.padding,this.text=be.text,this.createVisual(),Ye.prototype.restoreState.call(this,he),this.setSize()},ve.prototype.scale=function(he,be){Ye.prototype.scale.call(this,he,be),this.setSize(),this.sizeText(),this.positionTextEditor()},ve.typeName="TextMarker",ve.title="Text marker",ve.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>',ve}(st),ze=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.color="transparent",se.lineWidth=3,se.drawing=!1,se.pixelRatio=1,se.color=ge.defaultColor,se.lineWidth=ge.defaultStrokeWidth,se.pixelRatio=ge.freehandPixelRatio,se.setColor=se.setColor.bind(se),se.addCanvas=se.addCanvas.bind(se),se.finishCreation=se.finishCreation.bind(se),se.setLineWidth=se.setLineWidth.bind(se),se.colorPanel=new vt("Color",ge.defaultColorSet,ge.defaultColor),se.colorPanel.onColorChanged=se.setColor,se.lineWidthPanel=new ue("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.lineWidthPanel.onWidthChanged=se.setLineWidth,se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return!(!Ye.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.drawingImage)},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.drawingImage=ke.createImage(),this.visual.appendChild(this.drawingImage);var he=ke.createTransform();this.visual.transform.baseVal.appendItem(he),this.addMarkerVisualToContainer(this.visual)},ve.prototype.pointerDown=function(he,be){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(he.x,he.y),this.drawing=!0):Ye.prototype.pointerDown.call(this,he,be)},ve.prototype.manipulate=function(he){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(he.x,he.y),this.canvasContext.stroke()):Ye.prototype.manipulate.call(this,he)},ve.prototype.resize=function(he){Ye.prototype.resize.call(this,he),ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ve.prototype.pointerUp=function(he){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ye.prototype.pointerUp.call(this,he)},ve.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)},ve.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ye.prototype.select.call(this)},ve.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ye.prototype.deselect.call(this)},ve.prototype.finishCreation=function(){for(var he=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),be=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],ge=be[0],se=be[1],je=be[2],xt=be[3],En=!1,un=0;un<this.canvasElement.height;un++)for(var Pn=0;Pn<this.canvasElement.width;Pn++)he.data[un*this.canvasElement.width*4+4*Pn+3]>0&&(En=!0,un<se&&(se=un),Pn<ge&&(ge=Pn),un>xt&&(xt=un),Pn>je&&(je=Pn));if(En){this.left=ge/this.pixelRatio,this.top=se/this.pixelRatio,this.width=(je-ge)/this.pixelRatio,this.height=(xt-se)/this.pixelRatio;var Xn=document.createElement("canvas");Xn.width=je-ge,Xn.height=xt-se,Xn.getContext("2d").putImageData(this.canvasContext.getImageData(ge,se,je-ge,xt-se),0,0),this.drawingImgUrl=Xn.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ve.prototype.setDrawingImage=function(){ke.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ve.prototype.setColor=function(he){this.color=he,this.colorChanged(he)},ve.prototype.setLineWidth=function(he){this.lineWidth=he},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({drawingImgUrl:this.drawingImgUrl},Ye.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){this.createVisual(),Ye.prototype.restoreState.call(this,he),this.drawingImgUrl=he.drawingImgUrl,this.setDrawingImage()},ve.prototype.scale=function(he,be){Ye.prototype.scale.call(this,he,be),this.setDrawingImage()},ve.typeName="FreehandMarker",ve.title="Freehand marker",ve.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>',ve}(st),ut=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,ge||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return se.typeBoxes=[],se.currentType=be,se.setCurrentType=se.setCurrentType.bind(se),se}return de(ve,Ye),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");be.style.display="flex",be.style.overflow="hidden",be.style.flexGrow="2";for(var ge=function(xt){var En="both";switch(xt){case 0:En="both";break;case 1:En="start";break;case 2:En="end";break;case 3:En="none"}var un=document.createElement("div");if(un.style.display="flex",un.style.flexGrow="2",un.style.alignItems="center",un.style.justifyContent="space-between",un.style.padding="5px",un.style.borderWidth="2px",un.style.borderStyle="solid",un.style.borderColor=En===se.currentType?se.uiStyleSettings.toolboxAccentColor:"transparent",un.addEventListener("click",function(){he.setCurrentType(En,un)}),be.appendChild(un),En==="both"||En==="start"){var Pn=document.createElement("div");Pn.style.display="flex",Pn.style.alignItems="center",Pn.style.minHeight="20px",Pn.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="`+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Pn.style.marginLeft="5px",un.appendChild(Pn)}var Xn=document.createElement("div");Xn.style.display="flex",Xn.style.alignItems="center",Xn.style.minHeight="20px",Xn.style.flexGrow="2";var _n=document.createElement("hr");if(_n.style.minWidth="20px",_n.style.border="0px",_n.style.borderTop="3px solid "+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee"),_n.style.flexGrow="2",Xn.appendChild(_n),un.appendChild(Xn),En==="both"||En==="end"){var Vt=document.createElement("div");Vt.style.display="flex",Vt.style.alignItems="center",Vt.style.minHeight="20px",Vt.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="`+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Vt.style.marginRight="5px",un.appendChild(Vt)}se.typeBoxes.push(un)},se=this,je=0;je<4;je++)ge(je);return be},ve.prototype.setCurrentType=function(he,be){var ge=this;this.currentType=he,this.typeBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings!==void 0?ge.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ve}(ot),rt=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.arrowType="end",se.arrowBaseHeight=10,se.arrowBaseWidth=10,se.getArrowPoints=se.getArrowPoints.bind(se),se.setArrowType=se.setArrowType.bind(se),se.arrowTypePanel=new ut("Arrow type","end"),se.arrowTypePanel.onArrowTypeChanged=se.setArrowType,se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return!(!Ye.prototype.ownsTarget.call(this,he)&&he!==this.arrow1&&he!==this.arrow2)},ve.prototype.getArrowPoints=function(he,be){var ge=this.arrowBaseWidth+2*this.strokeWidth,se=this.arrowBaseHeight+2*this.strokeWidth;return he-ge/2+","+(be+se/2)+" "+he+","+(be-se/2)+" "+(he+ge/2)+","+(be+se/2)},ve.prototype.createTips=function(){this.arrow1=ke.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ke.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.arrow2)},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.state==="creating"&&this.createTips()},ve.prototype.adjustVisual=function(){if(Ye.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",ke.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ke.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var he=0;Math.abs(this.x1-this.x2)>.1&&(he=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var be=this.arrow1.transform.baseVal.getItem(0);be.setRotate(he,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(be,0);var ge=this.arrow2.transform.baseVal.getItem(0);ge.setRotate(he+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(ge,0)}},ve.prototype.setArrowType=function(he){this.arrowType=he,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({arrowType:this.arrowType},Ye.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){Ye.prototype.restoreState.call(this,he);var be=he;this.arrowType=be.arrowType,this.createTips(),this.adjustVisual()},ve.typeName="ArrowMarker",ve.title="Arrow marker",ve.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ve}(Fe),Tt=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.fillColor=ge.defaultFillColor,se.strokeWidth=0,se.fillPanel=new vt("Color",ge.defaultColorSet,ge.defaultFillColor),se.fillPanel.onColorChanged=se.setFillColor,se}return de(ve,Ye),Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ye.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.typeName="CoverMarker",ve.title="Cover marker",ve.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ve}(ye),Bt=function(Ye){function ve(he,be,ge,se){var je=Ye.call(this,he,se||'<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 je.opacities=[],je.opacityBoxes=[],je.opacities=be,je.currentOpacity=ge,je.setCurrentOpacity=je.setCurrentOpacity.bind(je),je}return de(ve,Ye),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.display="flex",be.style.overflow="hidden",be.style.flexGrow="2",be.style.justifyContent="space-between",this.opacities.forEach(function(ge){var se=document.createElement("div");se.style.display="flex",se.style.alignItems="center",se.style.justifyContent="center",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.borderColor=ge===he.currentOpacity?he.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){he.setCurrentOpacity(ge,se)}),be.appendChild(se);var je=document.createElement("div");je.innerText=100*ge+"%",se.appendChild(je),he.opacityBoxes.push(se)}),be},ve.prototype.setCurrentOpacity=function(he,be){var ge=this;this.currentOpacity=he,this.opacityBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ve}(ot),en=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.setOpacity=se.setOpacity.bind(se),se.fillColor=ge.defaultHighlightColor,se.strokeWidth=0,se.opacity=ge.defaultHighlightOpacity,se.fillPanel=new vt("Color",ge.defaultColorSet,se.fillColor),se.fillPanel.onColorChanged=se.setFillColor,se.opacityPanel=new Bt("Opacity",ge.defaultOpacitySteps,se.opacity),se.opacityPanel.onOpacityChanged=se.setOpacity,se}return de(ve,Ye),ve.prototype.setOpacity=function(he){this.opacity=he,this.visual&&ke.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ye.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.typeName="HighlightMarker",ve.title="Highlight marker",ve.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>',ve}(Tt),ct='<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>',Ie='<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>',Mt=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.bgColor="transparent",se.tipPosition={x:0,y:0},se.tipBase1Position={x:0,y:0},se.tipBase2Position={x:0,y:0},se.tipMoving=!1,se.color=ge.defaultStrokeColor,se.bgColor=ge.defaultFillColor,se.fontFamily=ge.defaultFontFamily,se.defaultSize={x:100,y:30},se.setBgColor=se.setBgColor.bind(se),se.getTipPoints=se.getTipPoints.bind(se),se.positionTip=se.positionTip.bind(se),se.setTipPoints=se.setTipPoints.bind(se),se.colorPanel=new vt("Text color",ge.defaultColorSet,se.color,ct),se.colorPanel.onColorChanged=se.setColor,se.bgColorPanel=new vt("Fill color",ge.defaultColorSet,se.bgColor,Ie),se.bgColorPanel.onColorChanged=se.setBgColor,se.fontFamilyPanel=new Be("Font",ge.defaultFontFamilies,ge.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se.tipGrip=new Rt,se.tipGrip.visual.transform.baseVal.appendItem(ke.createTransform()),se.controlBox.appendChild(se.tipGrip.visual),se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return Ye.prototype.ownsTarget.call(this,he)||this.tipGrip.ownsTarget(he)||this.tip===he},ve.prototype.createTip=function(){ke.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ke.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ve.prototype.pointerDown=function(he,be){this.state==="new"&&Ye.prototype.pointerDown.call(this,he,be),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(be)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ye.prototype.pointerDown.call(this,he,be)},ve.prototype.pointerUp=function(he){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ye.prototype.pointerUp.call(this,he);else{var be=this.state==="creating";Ye.prototype.pointerUp.call(this,he),this.setTipPoints(be),this.positionTip()}},ve.prototype.manipulate=function(he){if(this.tipMoving){var be=this.unrotatePoint(he);this.tipPosition={x:be.x-this.manipulationStartLeft,y:be.y-this.manipulationStartTop},this.positionTip()}else Ye.prototype.manipulate.call(this,he)},ve.prototype.setBgColor=function(he){this.bgRectangle&&this.tip&&(ke.setAttributes(this.bgRectangle,[["fill",he]]),ke.setAttributes(this.tip,[["fill",he]])),this.bgColor=he,this.fillColorChanged(he)},ve.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},ve.prototype.setTipPoints=function(he){he===void 0&&(he=!1);var be=Math.min(this.height/2,15),ge=this.height/5;he&&(this.tipPosition={x:be+ge/2,y:this.height+20});var se=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?se<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(ge=this.width/5,be=Math.min(this.width/2,15),this.tipBase1Position={x:be,y:0},this.tipBase2Position={x:be+ge,y:0}):(this.tipBase1Position={x:0,y:be},this.tipBase2Position={x:0,y:be+ge}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?se<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(ge=this.width/5,be=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-be-ge,y:0},this.tipBase2Position={x:this.width-be,y:0}):(this.tipBase1Position={x:this.width,y:be},this.tipBase2Position={x:this.width,y:be+ge}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?se<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(ge=this.width/5,be=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-be-ge,y:this.height},this.tipBase2Position={x:this.width-be,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-be-ge},this.tipBase2Position={x:this.width,y:this.height-be}):se<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(ge=this.width/5,be=Math.min(this.width/2,15),this.tipBase1Position={x:be,y:this.height},this.tipBase2Position={x:be+ge,y:this.height}):(this.tipBase1Position={x:0,y:this.height-be},this.tipBase2Position={x:0,y:this.height-be-ge})},ve.prototype.resize=function(he){Ye.prototype.resize.call(this,he),this.positionTip()},ve.prototype.positionTip=function(){ke.setAttributes(this.tip,[["points",this.getTipPoints()]]);var he=this.tipGrip.visual.transform.baseVal.getItem(0);he.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(he,0)},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ve.prototype.select=function(){this.positionTip(),Ye.prototype.select.call(this)},ve.prototype.getState=function(){var he=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Ye.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){var be=he;this.bgColor=be.bgColor,this.tipPosition=be.tipPosition,Ye.prototype.restoreState.call(this,he),this.createTip(),this.setTipPoints()},ve.prototype.scale=function(he,be){Ye.prototype.scale.call(this,he,be),this.tipPosition={x:this.tipPosition.x*he,y:this.tipPosition.y*be},this.positionTip()},ve.typeName="CalloutMarker",ve.title="Callout marker",ve.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>',ve}(mt),vn=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.opacity=1,se.strokeColor=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.fillColor=ge.defaultFillColor,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.setOpacity=se.setOpacity.bind(se),se.createVisual=se.createVisual.bind(se),se.strokePanel=new vt("Line color",we(ge.defaultColorSet,["transparent"]),ge.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.fillPanel=new vt("Fill color",we(ge.defaultColorSet,["transparent"]),se.fillColor,Ie),se.fillPanel.onColorChanged=se.setFillColor,se.strokeWidthPanel=new ue("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new $e("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se.opacityPanel=new Bt("Opacity",ge.defaultOpacitySteps,se.opacity),se.opacityPanel.onOpacityChanged=se.setOpacity,se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return!(!Ye.prototype.ownsTarget.call(this,he)&&he!==this.visual)},ve.prototype.createVisual=function(){this.visual=ke.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)},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ve.prototype.manipulate=function(he){Ye.prototype.manipulate.call(this,he)},ve.prototype.resize=function(he){Ye.prototype.resize.call(this,he),this.setSize()},ve.prototype.setSize=function(){Ye.prototype.setSize.call(this),ke.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ve.prototype.pointerUp=function(he){Ye.prototype.pointerUp.call(this,he),this.setSize()},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.visual&&ke.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ve.prototype.setFillColor=function(he){this.fillColor=he,this.visual&&ke.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(he),this.stateChanged()},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.visual&&ke.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.visual&&ke.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ve.prototype.setOpacity=function(he){this.opacity=he,this.visual&&ke.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ye.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){var be=he;this.fillColor=be.fillColor,this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.opacity=be.opacity,this.createVisual(),Ye.prototype.restoreState.call(this,he),this.setSize()},ve.prototype.scale=function(he,be){Ye.prototype.scale.call(this,he,be),this.setSize()},ve.typeName="EllipseMarker",ve.title="Ellipse marker",ve.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>',ve}(st),qt=function(Ye){function ve(he,be,ge){return Ye.call(this,he,be,ge)||this}return de(ve,Ye),Object.defineProperty(ve.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ve.prototype.ownsTarget=function(he){return!(!Ye.prototype.ownsTarget.call(this,he)&&he!==this.tip1&&he!==this.tip2)},ve.prototype.createTips=function(){this.tip1=ke.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(ke.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ke.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(ke.createTransform()),this.visual.appendChild(this.tip2)},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.state==="creating"&&this.createTips()},ve.prototype.adjustVisual=function(){if(Ye.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ke.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()]]),ke.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 he=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),be=this.tip1.transform.baseVal.getItem(0);be.setRotate(he,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(be,0);var ge=this.tip2.transform.baseVal.getItem(0);ge.setRotate(he+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(ge,0)}},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ye.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){Ye.prototype.restoreState.call(this,he),this.createTips(),this.adjustVisual()},ve.typeName="MeasurementMarker",ve.title="Measurement marker",ve.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>',ve}(Fe),Nt=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.strokePanel.colors=ge.defaultColorSet,se.fillColor="transparent",se}return de(ve,Ye),Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ye.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.typeName="EllipseFrameMarker",ve.title="Ellipse frame marker",ve.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>',ve}(vn),Kt=function(){function Ye(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ye.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ye.prototype.addUndoStep=function(ve){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ve)||(this.undoStack.push(ve),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ve)&&this.redoStack.splice(0,this.redoStack.length))},Ye.prototype.replaceLastUndoStep=function(ve){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ve)},Ye.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ye.prototype.undo=function(){if(this.undoStack.length>1){var ve=this.undoStack.pop();return ve!==void 0&&this.redoStack.push(ve),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ye.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ye}(),nn=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.curveX=0,se.curveY=0,se.manipulationStartCurveX=0,se.manipulationStartCurveY=0,se.setStrokeColor=se.setStrokeColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.positionGrips=se.positionGrips.bind(se),se.addControlGrips=se.addControlGrips.bind(se),se.adjustVisual=se.adjustVisual.bind(se),se.setupControlBox=se.setupControlBox.bind(se),se.resize=se.resize.bind(se),se.strokeColor=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.strokePanel=new vt("Line color",ge.defaultColorSet,ge.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new ue("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new $e("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return!(!Ye.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.selectorCurve&&he!==this.visibleCurve&&!this.curveGrip.ownsTarget(he))},ve.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.selectorCurve=ke.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ke.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)},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=he.x,this.curveY=he.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(be)&&(this.activeGrip=this.curveGrip,this._state="resize")},ve.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ke.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ke.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ke.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ve.prototype.setupControlBox=function(){Ye.prototype.setupControlBox.call(this),this.curveControlLine1=ke.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ke.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)},ve.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ye.prototype.addControlGrips.call(this)},ve.prototype.positionGrips=function(){Ye.prototype.positionGrips.call(this);var he=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-he/2,this.curveY-he/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()))},ve.prototype.manipulate=function(he){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+he.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+he.y-this.manipulationStartY),Ye.prototype.manipulate.call(this,he)},ve.prototype.resize=function(he){this.activeGrip===this.curveGrip&&(this.curveX=he.x,this.curveY=he.y),Ye.prototype.resize.call(this,he),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.adjustVisual(),this.colorChanged(he)},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.adjustVisual()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.adjustVisual()},ve.prototype.scale=function(he,be){this.curveX=this.curveX*he,this.curveY=this.curveY*be,Ye.prototype.scale.call(this,he,be)},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ye.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){Ye.prototype.restoreState.call(this,he);var be=he;this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.curveX=be.curveX,this.curveY=be.curveY,this.createVisual(),this.adjustVisual()},ve.typeName="CurveMarker",ve.title="Curve marker",ve.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>',ve}(yt),Cn=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,be,ge)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.textColor="transparent",se.fontSize="1rem",se.isMoved=!1,se.captionText="Caption",se.PADDING=5,se.captionBoxWidth=0,se.captionBoxHeight=0,se.strokeColor=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.fillColor=ge.defaultFillColor,se.textColor=ge.defaultStrokeColor,se.fontFamily=ge.defaultFontFamily,se.fontSize=ge.defaultCaptionFontSize,se.captionText=ge.defaultCaptionText,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.createVisual=se.createVisual.bind(se),se.sizeCaption=se.sizeCaption.bind(se),se.setCaptionText=se.setCaptionText.bind(se),se.showTextEditor=se.showTextEditor.bind(se),se.positionTextEditor=se.positionTextEditor.bind(se),se.finishTextEditing=se.finishTextEditing.bind(se),se.setFont=se.setFont.bind(se),se.setTextColor=se.setTextColor.bind(se),se.strokePanel=new vt("Line color",we(ge.defaultColorSet,["transparent"]),se.strokeColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.fillPanel=new vt("Fill color",we(ge.defaultColorSet,["transparent"]),se.fillColor,Ie),se.fillPanel.onColorChanged=se.setFillColor,se.strokeWidthPanel=new ue("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new $e("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se.fontFamilyPanel=new Be("Font",ge.defaultFontFamilies,ge.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se.textColorPanel=new vt("Text color",ge.defaultColorSet,se.textColor,ct),se.textColorPanel.onColorChanged=se.setTextColor,se}return de(ve,Ye),ve.prototype.ownsTarget=function(he){return!(!Ye.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.frame&&he!==this.captionBg&&he!==this.captionElement)},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ke.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ke.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=ke.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()},ve.prototype.setCaptionText=function(he){this.captionText=he,this.captionElement.textContent=this.captionText,this.sizeCaption()},ve.prototype.pointerDown=function(he,be){Ye.prototype.pointerDown.call(this,he,be),this.isMoved=!1,this.pointerDownPoint=he,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ve.prototype.manipulate=function(he){Ye.prototype.manipulate.call(this,he),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(he.x-this.pointerDownPoint.x)>5||Math.abs(he.y-this.pointerDownPoint.y)>5)},ve.prototype.resize=function(he){Ye.prototype.resize.call(this,he),this.setSize()},ve.prototype.sizeCaption=function(){var he=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=he.width+2*this.PADDING,this.captionBoxHeight=he.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ke.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')"]]),ke.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')"]])},ve.prototype.showTextEditor=function(){var he=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(be){be.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(be){be.key==="Enter"&&he.finishTextEditing(he.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(be){be.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){he.finishTextEditing(he.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){he.finishTextEditing(he.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ve.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"))},ve.prototype.finishTextEditing=function(he){this.setCaptionText(he.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ve.prototype.setFont=function(he){this.captionElement&&ke.setAttributes(this.captionElement,[["font-family",he]]),this.fontFamily=he,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ve.prototype.setTextColor=function(he){this.captionElement&&ke.setAttributes(this.captionElement,[["fill",he]]),this.textColor=he,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ve.prototype.setSize=function(){Ye.prototype.setSize.call(this),ke.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ve.prototype.pointerUp=function(he){Ye.prototype.pointerUp.call(this,he),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ve.prototype.dblClick=function(he,be){Ye.prototype.dblClick.call(this,he,be),this.showTextEditor()},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.frame&&ke.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ve.prototype.setFillColor=function(he){this.fillColor=he,this.captionBg&&ke.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(he),this.stateChanged()},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.frame&&ke.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.frame&&ke.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=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},Ye.prototype.getState.call(this));return he.typeName=this.typeName,he},ve.prototype.restoreState=function(he){var be=he;this.fillColor=be.fillColor,this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.textColor=be.textColor,this.fontFamily=be.fontFamily,this.captionText=be.captionText,this.fontSize=be.fontSize,this.createVisual(),Ye.prototype.restoreState.call(this,he),this.setSize()},ve.prototype.scale=function(he,be){Ye.prototype.scale.call(this,he,be),this.setSize()},ve.typeName="CaptionFrameMarker",ve.title="Caption frame marker",ve.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>',ve}(st),Sn=function(){function Ye(ve,he){he===void 0&&(he=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ve,this.cancelable=he}return Object.defineProperty(Ye.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ye.prototype.preventDefault=function(){this._defaultPrevented=!0},Ye}(),tn=function(Ye){function ve(he,be,ge){var se=Ye.call(this,he,!1)||this;return se.dataUrl=be,se.state=ge,se}return de(ve,Ye),ve}(Sn),In=function(Ye){function ve(he,be,ge){ge===void 0&&(ge=!1);var se=Ye.call(this,he,ge)||this;return se.marker=be,se}return de(ve,Ye),ve}(Sn),br=function(){function Ye(){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 Ye.prototype.addEventListener=function(ve,he){this[ve].push(he)},Ye.prototype.removeEventListener=function(ve,he){var be=this[ve].indexOf(he);be>-1&&this[ve].splice(be,1)},Ye}(),gn=function(){function Ye(ve){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new ht,this._isOpen=!1,this.undoRedoManager=new Kt,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 br,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ye.instanceCounter++,this.styles=new Pe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ve,this.targetRoot=document.body,this.width=ve.clientWidth,this.height=ve.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(Ye.prototype,"ALL_MARKER_TYPES",{get:function(){return[Je,ze,rt,mt,Nt,vn,en,Mt,qt,Tt,Fe,nn,Cn]},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Je,ze,rt,mt,vn,en,Mt]},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Je,ze,rt,mt,en]},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ve){var he=this;this._availableMarkerTypes.splice(0),ve.forEach(function(be){if(typeof be=="string"){var ge=he.ALL_MARKER_TYPES.find(function(se){return se.typeName===be});ge!==void 0&&he._availableMarkerTypes.push(ge)}else he._availableMarkerTypes.push(be)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ye.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ve){this._zoomLevel=ve,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(Ye.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ye.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ce.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ye.prototype.show=function(){var ve=this;this.styles.styleSheetRoot===void 0&&me.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=me.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(he){return he(new Sn(ve))})},Ye.prototype.render=function(){return Me(this,void 0,void 0,function(){var ve;return et(this,function(he){switch(he.label){case 0:return this.setCurrentMarker(),(ve=new Se).naturalSize=this.renderAtNaturalSize,ve.imageType=this.renderImageType,ve.imageQuality=this.renderImageQuality,ve.markersOnly=this.renderMarkersOnly,ve.width=this.renderWidth,ve.height=this.renderHeight,[4,ve.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return he.sent(),[4,ve.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,he.sent()]}})})},Ye.prototype.close=function(ve){var he=this;if(ve===void 0&&(ve=!1),this.isOpen){var be=!1;ve||this.eventListeners.beforeclose.forEach(function(ge){var se=new Sn(he,!0);ge(se),se.defaultPrevented&&(be=!0)}),be||(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(ge){return ge(new Sn(he))}),this.detachEvents(),this._isOpen=!1)}},Ye.prototype.addMarkersToToolbar=function(){for(var ve,he=[],be=0;be<arguments.length;be++)he[be]=arguments[be];(ve=this._availableMarkerTypes).push.apply(ve,he)},Ye.prototype.addRenderEventListener=function(ve){this.addEventListener("render",function(he){ve(he.dataUrl,he.state)})},Ye.prototype.removeRenderEventListener=function(ve){},Ye.prototype.addCloseEventListener=function(ve){this.addEventListener("close",function(){ve()})},Ye.prototype.removeCloseEventListener=function(ve){},Ye.prototype.setupResizeObserver=function(){var ve=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ve.resize(ve.target.clientWidth,ve.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ve.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Ye.prototype.onPopupTargetResize=function(){var ve=1*this.target.clientWidth/this.target.clientHeight,he=this.editorCanvas.clientWidth/ve>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ve:this.editorCanvas.clientWidth,be=he<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ve;this.resize(he,be)},Ye.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Ye.prototype.resize=function(ve,he){this._isResizing=!0;var be=ve/this.imageWidth,ge=he/this.imageHeight;this.imageWidth=Math.round(ve),this.imageHeight=Math.round(he),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(be,ge),this._isResizing=!1},Ye.prototype.scaleMarkers=function(ve,he){var be,ge=this;this._currentMarker&&this._currentMarker instanceof mt?this._currentMarker.scale(ve,he):(be=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(se){se!==ge._currentMarker&&se.scale(ve,he)}),be!==void 0&&this.setCurrentMarker(be)},Ye.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"},Ye.prototype.setTopLeft=function(){var ve=this.editingTarget.getBoundingClientRect(),he=this.editorCanvas.getBoundingClientRect();this.left=ve.left-he.left,this.top=ve.top-he.top},Ye.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)},Ye.prototype.addDefs=function(){for(var ve,he=[],be=0;be<arguments.length;be++)he[be]=arguments[be];this.defs=ke.createDefs(),this.addDefsToImage(),(ve=this.defs).append.apply(ve,he)},Ye.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Ye.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)},Ye.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Ye.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Ye.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)},Ye.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Ye.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)},Ye.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 ve=document.createElement("a");ve.href="https://markerjs.com/",ve.target="_blank",ve.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>',ve.title="Powered by marker.js",ve.style.display="grid",ve.style.alignItems="center",ve.style.justifyItems="center",ve.style.padding="3px",ve.style.width="20px",ve.style.height="20px",this.logoUI.appendChild(ve),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ye.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")},Ye.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"},Ye.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ye.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 ve=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=ve+"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 pt(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Ye.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Ye.prototype.removeMarker=function(ve){this.markerImage.removeChild(ve.container),this.markers.indexOf(ve)>-1&&this.markers.splice(this.markers.indexOf(ve),1),ve.dispose()},Ye.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())},Ye.prototype.toolbarButtonClicked=function(ve,he){if(ve==="marker"&&he!==void 0)this.createNewMarker(he);else if(ve==="action")switch(he){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()}},Ye.prototype.deleteSelectedMarker=function(){var ve=this;if(this._currentMarker!==void 0){var he=!1;if(this.eventListeners.markerbeforedelete.forEach(function(ge){var se=new In(ve,ve._currentMarker,!0);ge(se),se.defaultPrevented&&(he=!0)}),!he){var be=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(ge){return ge(new In(ve,be))})}}},Ye.prototype.clear=function(){var ve=this,he=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(je){var xt=new In(ve,void 0,!0);je(xt),xt.defaultPrevented&&(he=!0)}),!he)){this.setCurrentMarker();for(var be=function(je){var xt=ge.markers[je];ge.setCurrentMarker(ge.markers[je]),ge._currentMarker.dispose(),ge.markerImage.removeChild(ge._currentMarker.container),ge.markers.splice(ge.markers.indexOf(ge._currentMarker),1),ge.eventListeners.markerdelete.forEach(function(En){return En(new In(ve,xt))})},ge=this,se=this.markers.length-1;se>=0;se--)be(se);this.addUndoStep()}},Object.defineProperty(Ye.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ye.prototype.showNotesEditor=function(){var ve;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=(ve=this._currentMarker.notes)!==null&&ve!==void 0?ve:"",this.overlayContainer.appendChild(this.notesArea))},Ye.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)},Ye.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ye.prototype.addUndoStep=function(){var ve=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var he=this.getState(),be=this.undoRedoManager.getLastUndoStep();if(!be||be.width===he.width&&be.height===he.height){var ge=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(he),ge<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(se){return se(new Sn(ve))})}else this.undoRedoManager.replaceLastUndoStep(he),this.eventListeners.statechange.forEach(function(se){return se(new Sn(ve))})}},Ye.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Ye.prototype.undoStep=function(){var ve=this,he=this.undoRedoManager.undo();he!==void 0&&(this.restoreState(he),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(be){return be(new Sn(ve))}))},Ye.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Ye.prototype.redoStep=function(){var ve=this,he=this.undoRedoManager.redo();he!==void 0&&(this.restoreState(he),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(be){return be(new Sn(ve))}))},Ye.prototype.stepZoom=function(){var ve=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ve<this.zoomSteps.length-1?this.zoomSteps[ve+1]:this.zoomSteps[0]},Ye.prototype.panTo=function(ve){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ve.x,top:this.prevPanPoint.y-ve.y}),this.prevPanPoint=ve},Ye.prototype.startRenderAndClose=function(){return Me(this,void 0,void 0,function(){var ve,he,be=this;return et(this,function(ge){switch(ge.label){case 0:return[4,this.render()];case 1:return ve=ge.sent(),he=this.getState(),this.eventListeners.render.forEach(function(se){return se(new tn(be,ve,he))}),this.close(!0),[2]}})})},Ye.prototype.getState=function(ve){ve===!0&&this.setCurrentMarker();var he={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(be){return he.markers.push(be.getState())}),he},Ye.prototype.restoreState=function(ve){var he=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ve.markers.forEach(function(be){var ge=he._availableMarkerTypes.find(function(je){return je.typeName===be.typeName});if(ge!==void 0){var se=he.addNewMarker(ge);se.restoreState(be),he.markers.push(se)}}),ve.width&&ve.height&&(ve.width!==this.imageWidth||ve.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ve.width,this.imageHeight/ve.height),this.eventListeners.restorestate.forEach(function(be){return be(new Sn(he))})},Ye.prototype.addNewMarker=function(ve){var he=ke.createGroup();return this.markerImage.appendChild(he),new ve(he,this.overlayContainer,this.settings)},Ye.prototype.createNewMarker=function(ve){var he,be=this;(he=typeof ve=="string"?this._availableMarkerTypes.find(function(ge){return ge.typeName===ve}):ve)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(he),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(he.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(ge){return ge(new In(be,be._currentMarker))}))},Ye.prototype.markerCreated=function(ve){var he=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ve),this.setCurrentMarker(ve),ve instanceof ze&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(ze):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(be){return be(new In(he,he._currentMarker))})},Ye.prototype.colorChanged=function(ve){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ve,this.settings.defaultStrokeColor=ve)},Ye.prototype.fillColorChanged=function(ve){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ve)},Ye.prototype.markerStateChanged=function(ve){var he=this;this.eventListeners.markerchange.forEach(function(be){return be(new In(he,ve))})},Ye.prototype.setCurrentMarker=function(ve){var he=this;this._currentMarker!==ve&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(be){return be(new In(he,he._currentMarker))})),this._currentMarker=ve,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(be){return be(new In(he,he._currentMarker))}))},Ye.prototype.onPointerDown=function(ve){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ve.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var he=this.markers.find(function(be){return be.ownsTarget(ve.target)});he!==void 0?(this.setCurrentMarker(he),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ve.clientX,ve.clientY),ve.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ve.clientX,y:ve.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ve.clientX,ve.clientY))},Ye.prototype.onDblClick=function(ve){if(this._isFocused||this.focus(),this.mode==="select"){var he=this.markers.find(function(be){return be.ownsTarget(ve.target)});he!==void 0&&he!==this._currentMarker&&this.setCurrentMarker(he),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ve.clientX,ve.clientY),ve.target):this.setCurrentMarker()}},Ye.prototype.onPointerMove=function(ve){this.touchPoints!==1&&ve.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ve.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ve.clientX,ve.clientY)):this.zoomLevel>1&&this.panTo({x:ve.clientX,y:ve.clientY}))},Ye.prototype.onPointerUp=function(ve){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ve.clientX,ve.clientY)),this.isDragging=!1,this.addUndoStep()},Ye.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ye.prototype.onKeyUp=function(ve){this._currentMarker===void 0||this.notesArea!==void 0||ve.key!=="Delete"&&ve.key!=="Backspace"||this.deleteSelectedMarker()},Ye.prototype.clientToLocalCoordinates=function(ve,he){var be=this.markerImage.getBoundingClientRect();return{x:(ve-be.left)/this.zoomLevel,y:(he-be.top)/this.zoomLevel}},Ye.prototype.onWindowResize=function(){this.positionUI()},Ye.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ve=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ve+"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()},Ye.prototype.addLicenseKey=function(ve){ce.addKey(ve)},Ye.prototype.addEventListener=function(ve,he){this.eventListeners.addEventListener(ve,he)},Ye.prototype.removeEventListener=function(ve,he){this.eventListeners.removeEventListener(ve,he)},Ye.prototype.renderState=function(ve){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ve),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ye.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ye.prototype.focus=function(){var ve=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(he){return he(new Sn(ve))}))},Ye.prototype.blur=function(){var ve=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(he){return he(new Sn(ve))}))},Ye.instanceCounter=0,Ye}()},42767:function(Hn,sn){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,de=ne?Symbol.for("react.element"):60103,Me=ne?Symbol.for("react.portal"):60106,et=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,ce=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,Xe=ne?Symbol.for("react.forward_ref"):60112,fe=ne?Symbol.for("react.suspense"):60113,Ge=ne?Symbol.for("react.suspense_list"):60120,pt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Rt=ne?Symbol.for("react.scope"):60119;function tt(ye){if(typeof ye=="object"&&ye!==null){var ue=ye.$$typeof;switch(ue){case de:switch(ye=ye.type,ye){case me:case Pe:case et:case ke:case we:case fe:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case Xe:case ot:case pt:case ce:return ye;default:return ue}}case Me:return ue}}}function st(ye){return tt(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=ce,ee=de,ee=Xe,ee=et,ee=ot,ee=pt,ee=Me,ee=ke,ee=we,ee=fe,ee=function(ye){return st(ye)||tt(ye)===me},ee=st,ee=function(ye){return tt(ye)===Se},ee=function(ye){return tt(ye)===ce},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===de},ee=function(ye){return tt(ye)===Xe},sn.isFragment=function(ye){return tt(ye)===et},ee=function(ye){return tt(ye)===ot},ee=function(ye){return tt(ye)===pt},ee=function(ye){return tt(ye)===Me},ee=function(ye){return tt(ye)===ke},ee=function(ye){return tt(ye)===we},ee=function(ye){return tt(ye)===fe},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===et||ye===Pe||ye===ke||ye===we||ye===fe||ye===Ge||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===pt||ye.$$typeof===ce||ye.$$typeof===Se||ye.$$typeof===Xe||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Rt||ye.$$typeof===vt)},ee=tt},16357:function(Hn,sn,ee){"use strict";Hn.exports=ee(42767)},95860:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return tt}});var ne=ee(87462),de=ee(1413),Me=ee(4942),et=ee(97685),we=ee(45987),ke=ee(94184),ce=ee.n(ke),Se=ee(67294);function me(st){var ye=Se.useRef();ye.current=st;var ue=Se.useCallback(function(){for(var $e,Je=arguments.length,ht=new Array(Je),yt=0;yt<Je;yt++)ht[yt]=arguments[yt];return($e=ye.current)===null||$e===void 0?void 0:$e.call.apply($e,[ye].concat(ht))},[]);return ue}function Pe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Xe=Pe()?Se.useLayoutEffect:Se.useEffect,fe=function(ye,ue){var $e=Se.useRef(!0);Xe(function(){return ye($e.current)},ue),Xe(function(){return $e.current=!1,function(){$e.current=!0}},[])},Ge=function(ye,ue){fe(function($e){if(!$e)return ye()},ue)},pt=null;function ot(st){var ye=Se.useRef(!1),ue=Se.useState(st),$e=(0,et.Z)(ue,2),Je=$e[0],ht=$e[1];Se.useEffect(function(){return ye.current=!1,function(){ye.current=!0}},[]);function yt(Fe,Be){Be&&ye.current||ht(Fe)}return[Je,yt]}function vt(st){return st!==void 0}function Ee(st,ye){var ue=ye||{},$e=ue.defaultValue,Je=ue.value,ht=ue.onChange,yt=ue.postState,Fe=ot(function(){return vt(Je)?Je:vt($e)?typeof $e=="function"?$e():$e:typeof st=="function"?st():st}),Be=(0,et.Z)(Fe,2),mt=Be[0],ze=Be[1],ut=Je!==void 0?Je:mt,rt=yt?yt(ut):ut,Tt=me(ht),Bt=ot([ut]),en=(0,et.Z)(Bt,2),ct=en[0],Ie=en[1];Ge(function(){var vn=ct[0];mt!==vn&&Tt(mt,vn)},[ct]),Ge(function(){vt(Je)||ze(Je)},[Je]);var Mt=me(function(vn,qt){ze(vn,qt),Ie([ut],qt)});return[rt,Mt]}var wt=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Rt=(0,Se.forwardRef)(function(st,ye){var ue,$e=st.prefixCls,Je=$e===void 0?"rc-checkbox":$e,ht=st.className,yt=st.style,Fe=st.checked,Be=st.disabled,mt=st.defaultChecked,ze=mt===void 0?!1:mt,ut=st.type,rt=ut===void 0?"checkbox":ut,Tt=st.title,Bt=st.onChange,en=(0,we.Z)(st,wt),ct=(0,Se.useRef)(null),Ie=Ee(ze,{value:Fe}),Mt=(0,et.Z)(Ie,2),vn=Mt[0],qt=Mt[1];(0,Se.useImperativeHandle)(ye,function(){return{focus:function(){var Cn;(Cn=ct.current)===null||Cn===void 0||Cn.focus()},blur:function(){var Cn;(Cn=ct.current)===null||Cn===void 0||Cn.blur()},input:ct.current}});var Nt=ce()(Je,ht,(ue={},(0,Me.Z)(ue,"".concat(Je,"-checked"),vn),(0,Me.Z)(ue,"".concat(Je,"-disabled"),Be),ue)),Kt=function(Cn){Be||("checked"in st||qt(Cn.target.checked),Bt==null||Bt({target:(0,de.Z)((0,de.Z)({},st),{},{type:rt,checked:Cn.target.checked}),stopPropagation:function(){Cn.stopPropagation()},preventDefault:function(){Cn.preventDefault()},nativeEvent:Cn.nativeEvent}))};return Se.createElement("span",{className:Nt,title:Tt,style:yt},Se.createElement("input",(0,ne.Z)({},en,{className:"".concat(Je,"-input"),ref:ct,onChange:Kt,disabled:Be,checked:!!vn,type:rt})),Se.createElement("span",{className:"".concat(Je,"-inner")}))}),tt=Rt},26819:function(Hn,sn){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,de=ne?Symbol.for("react.element"):60103,Me=ne?Symbol.for("react.portal"):60106,et=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,ce=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,Xe=ne?Symbol.for("react.forward_ref"):60112,fe=ne?Symbol.for("react.suspense"):60113,Ge=ne?Symbol.for("react.suspense_list"):60120,pt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Rt=ne?Symbol.for("react.scope"):60119;function tt(ye){if(typeof ye=="object"&&ye!==null){var ue=ye.$$typeof;switch(ue){case de:switch(ye=ye.type,ye){case me:case Pe:case et:case ke:case we:case fe:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case Xe:case ot:case pt:case ce:return ye;default:return ue}}case Me:return ue}}}function st(ye){return tt(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=ce,ee=de,ee=Xe,ee=et,ee=ot,ee=pt,ee=Me,ee=ke,ee=we,ee=fe,ee=function(ye){return st(ye)||tt(ye)===me},ee=st,ee=function(ye){return tt(ye)===Se},ee=function(ye){return tt(ye)===ce},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===de},ee=function(ye){return tt(ye)===Xe},ee=function(ye){return tt(ye)===et},ee=function(ye){return tt(ye)===ot},sn.isMemo=function(ye){return tt(ye)===pt},ee=function(ye){return tt(ye)===Me},ee=function(ye){return tt(ye)===ke},ee=function(ye){return tt(ye)===we},ee=function(ye){return tt(ye)===fe},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===et||ye===Pe||ye===ke||ye===we||ye===fe||ye===Ge||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===pt||ye.$$typeof===ce||ye.$$typeof===Se||ye.$$typeof===Xe||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Rt||ye.$$typeof===vt)},ee=tt},18459:function(Hn,sn,ee){"use strict";Hn.exports=ee(26819)},16651:function(Hn,sn){"use strict";var ee;var ne=Symbol.for("react.element"),de=Symbol.for("react.portal"),Me=Symbol.for("react.fragment"),et=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),ce=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Xe=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),pt=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function vt(Ee){if(typeof Ee=="object"&&Ee!==null){var wt=Ee.$$typeof;switch(wt){case ne:switch(Ee=Ee.type,Ee){case Me:case we:case et:case Pe:case Xe:return Ee;default:switch(Ee=Ee&&Ee.$$typeof,Ee){case Se:case ce:case me:case Ge:case fe:case ke:return Ee;default:return wt}}case de:return wt}}}ee=ce,ee=ke,ee=ne,ee=me,ee=Me,ee=Ge,ee=fe,ee=de,ee=we,ee=et,ee=Pe,ee=Xe,ee=function(){return!1},ee=function(){return!1},ee=function(Ee){return vt(Ee)===ce},ee=function(Ee){return vt(Ee)===ke},ee=function(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===ne},ee=function(Ee){return vt(Ee)===me},ee=function(Ee){return vt(Ee)===Me},ee=function(Ee){return vt(Ee)===Ge},ee=function(Ee){return vt(Ee)===fe},ee=function(Ee){return vt(Ee)===de},ee=function(Ee){return vt(Ee)===we},ee=function(Ee){return vt(Ee)===et},ee=function(Ee){return vt(Ee)===Pe},ee=function(Ee){return vt(Ee)===Xe},ee=function(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===Me||Ee===we||Ee===et||Ee===Pe||Ee===Xe||Ee===pt||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===Ge||Ee.$$typeof===fe||Ee.$$typeof===ke||Ee.$$typeof===ce||Ee.$$typeof===me||Ee.$$typeof===ot||Ee.getModuleId!==void 0)},ee=vt},33993:function(Hn,sn,ee){"use strict";ee(16651)},82523:function(Hn,sn){"use strict";var ee;var ne=Symbol.for("react.element"),de=Symbol.for("react.portal"),Me=Symbol.for("react.fragment"),et=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),ce=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Xe=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),pt=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function vt(Ee){if(typeof Ee=="object"&&Ee!==null){var wt=Ee.$$typeof;switch(wt){case ne:switch(Ee=Ee.type,Ee){case Me:case we:case et:case Pe:case Xe:return Ee;default:switch(Ee=Ee&&Ee.$$typeof,Ee){case Se:case ce:case me:case Ge:case fe:case ke:return Ee;default:return wt}}case de:return wt}}}ee=ce,ee=ke,ee=ne,ee=me,ee=Me,ee=Ge,ee=fe,ee=de,ee=we,ee=et,ee=Pe,ee=Xe,ee=function(){return!1},ee=function(){return!1},ee=function(Ee){return vt(Ee)===ce},ee=function(Ee){return vt(Ee)===ke},ee=function(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===ne},ee=function(Ee){return vt(Ee)===me},ee=function(Ee){return vt(Ee)===Me},ee=function(Ee){return vt(Ee)===Ge},ee=function(Ee){return vt(Ee)===fe},ee=function(Ee){return vt(Ee)===de},ee=function(Ee){return vt(Ee)===we},ee=function(Ee){return vt(Ee)===et},ee=function(Ee){return vt(Ee)===Pe},ee=function(Ee){return vt(Ee)===Xe},ee=function(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===Me||Ee===we||Ee===et||Ee===Pe||Ee===Xe||Ee===pt||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===Ge||Ee.$$typeof===fe||Ee.$$typeof===ke||Ee.$$typeof===ce||Ee.$$typeof===me||Ee.$$typeof===ot||Ee.getModuleId!==void 0)},ee=vt},27183:function(Hn,sn,ee){"use strict";ee(82523)},67656:function(Hn,sn,ee){"use strict";ee.r(sn),ee.d(sn,{BaseInput:function(){return Pe},default:function(){return Rt}});var ne=ee(87462),de=ee(1413),Me=ee(4942),et=ee(71002),we=ee(94184),ke=ee.n(we),ce=ee(67294),Se=ee(87887),me=function(st){var ye,ue,$e=st.inputElement,Je=st.prefixCls,ht=st.prefix,yt=st.suffix,Fe=st.addonBefore,Be=st.addonAfter,mt=st.className,ze=st.style,ut=st.disabled,rt=st.readOnly,Tt=st.focused,Bt=st.triggerFocus,en=st.allowClear,ct=st.value,Ie=st.handleReset,Mt=st.hidden,vn=st.classes,qt=st.classNames,Nt=st.dataAttrs,Kt=st.styles,nn=st.components,Cn=(nn==null?void 0:nn.affixWrapper)||"span",Sn=(nn==null?void 0:nn.groupWrapper)||"span",tn=(nn==null?void 0:nn.wrapper)||"span",In=(nn==null?void 0:nn.groupAddon)||"span",br=(0,ce.useRef)(null),gn=function(Xn){var _n;(_n=br.current)!==null&&_n!==void 0&&_n.contains(Xn.target)&&(Bt==null||Bt())},Ye=function(){var Xn;if(!en)return null;var _n=!ut&&!rt&&ct,Vt="".concat(Je,"-clear-icon"),yn=(0,et.Z)(en)==="object"&&en!==null&&en!==void 0&&en.clearIcon?en.clearIcon:"\u2716";return ce.createElement("span",{onClick:Ie,onMouseDown:function(On){return On.preventDefault()},className:ke()(Vt,(Xn={},(0,Me.Z)(Xn,"".concat(Vt,"-hidden"),!_n),(0,Me.Z)(Xn,"".concat(Vt,"-has-suffix"),!!yt),Xn)),role:"button",tabIndex:-1},yn)},ve=(0,ce.cloneElement)($e,{value:ct,hidden:Mt,className:ke()((ye=$e.props)===null||ye===void 0?void 0:ye.className,!(0,Se.X3)(st)&&!(0,Se.He)(st)&&mt)||null,style:(0,de.Z)((0,de.Z)({},(ue=$e.props)===null||ue===void 0?void 0:ue.style),!(0,Se.X3)(st)&&!(0,Se.He)(st)?ze:{})});if((0,Se.X3)(st)){var he,be="".concat(Je,"-affix-wrapper"),ge=ke()(be,(he={},(0,Me.Z)(he,"".concat(be,"-disabled"),ut),(0,Me.Z)(he,"".concat(be,"-focused"),Tt),(0,Me.Z)(he,"".concat(be,"-readonly"),rt),(0,Me.Z)(he,"".concat(be,"-input-with-clear-btn"),yt&&en&&ct),he),!(0,Se.He)(st)&&mt,vn==null?void 0:vn.affixWrapper,qt==null?void 0:qt.affixWrapper),se=(yt||en)&&ce.createElement("span",{className:ke()("".concat(Je,"-suffix"),qt==null?void 0:qt.suffix),style:Kt==null?void 0:Kt.suffix},Ye(),yt);ve=ce.createElement(Cn,(0,ne.Z)({className:ge,style:(0,de.Z)((0,de.Z)({},(0,Se.He)(st)?void 0:ze),Kt==null?void 0:Kt.affixWrapper),hidden:!(0,Se.He)(st)&&Mt,onClick:gn},Nt==null?void 0:Nt.affixWrapper,{ref:br}),ht&&ce.createElement("span",{className:ke()("".concat(Je,"-prefix"),qt==null?void 0:qt.prefix),style:Kt==null?void 0:Kt.prefix},ht),(0,ce.cloneElement)($e,{value:ct,hidden:null}),se)}if((0,Se.He)(st)){var je="".concat(Je,"-group"),xt="".concat(je,"-addon"),En=ke()("".concat(Je,"-wrapper"),je,vn==null?void 0:vn.wrapper),un=ke()("".concat(Je,"-group-wrapper"),mt,vn==null?void 0:vn.group);return ce.createElement(Sn,{className:un,style:ze,hidden:Mt},ce.createElement(tn,{className:En},Fe&&ce.createElement(In,{className:xt},Fe),(0,ce.cloneElement)(ve,{hidden:null}),Be&&ce.createElement(In,{className:xt},Be)))}return ve},Pe=me,Xe=ee(74902),fe=ee(97685),Ge=ee(45987),pt=ee(21770),ot=ee(98423),vt=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Ee=(0,ce.forwardRef)(function(tt,st){var ye=tt.autoComplete,ue=tt.onChange,$e=tt.onFocus,Je=tt.onBlur,ht=tt.onPressEnter,yt=tt.onKeyDown,Fe=tt.prefixCls,Be=Fe===void 0?"rc-input":Fe,mt=tt.disabled,ze=tt.htmlSize,ut=tt.className,rt=tt.maxLength,Tt=tt.suffix,Bt=tt.showCount,en=tt.type,ct=en===void 0?"text":en,Ie=tt.classes,Mt=tt.classNames,vn=tt.styles,qt=(0,Ge.Z)(tt,vt),Nt=(0,pt.Z)(tt.defaultValue,{value:tt.value}),Kt=(0,fe.Z)(Nt,2),nn=Kt[0],Cn=Kt[1],Sn=(0,ce.useState)(!1),tn=(0,fe.Z)(Sn,2),In=tn[0],br=tn[1],gn=(0,ce.useRef)(null),Ye=function(un){gn.current&&(0,Se.nH)(gn.current,un)};(0,ce.useImperativeHandle)(st,function(){return{focus:Ye,blur:function(){var un;(un=gn.current)===null||un===void 0||un.blur()},setSelectionRange:function(un,Pn,Xn){var _n;(_n=gn.current)===null||_n===void 0||_n.setSelectionRange(un,Pn,Xn)},select:function(){var un;(un=gn.current)===null||un===void 0||un.select()},input:gn.current}}),(0,ce.useEffect)(function(){br(function(En){return En&&mt?!1:En})},[mt]);var ve=function(un){tt.value===void 0&&Cn(un.target.value),gn.current&&(0,Se.rJ)(gn.current,un,ue)},he=function(un){ht&&un.key==="Enter"&&ht(un),yt==null||yt(un)},be=function(un){br(!0),$e==null||$e(un)},ge=function(un){br(!1),Je==null||Je(un)},se=function(un){Cn(""),Ye(),gn.current&&(0,Se.rJ)(gn.current,un,ue)},je=function(){var un=(0,ot.Z)(tt,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return ce.createElement("input",(0,ne.Z)({autoComplete:ye},un,{onChange:ve,onFocus:be,onBlur:ge,onKeyDown:he,className:ke()(Be,(0,Me.Z)({},"".concat(Be,"-disabled"),mt),Mt==null?void 0:Mt.input),style:vn==null?void 0:vn.input,ref:gn,size:ze,type:ct}))},xt=function(){var un=Number(rt)>0;if(Tt||Bt){var Pn=(0,Se.D7)(nn),Xn=(0,Xe.Z)(Pn).length,_n=(0,et.Z)(Bt)==="object"?Bt.formatter({value:Pn,count:Xn,maxLength:rt}):"".concat(Xn).concat(un?" / ".concat(rt):"");return ce.createElement(ce.Fragment,null,!!Bt&&ce.createElement("span",{className:ke()("".concat(Be,"-show-count-suffix"),(0,Me.Z)({},"".concat(Be,"-show-count-has-suffix"),!!Tt),Mt==null?void 0:Mt.count),style:(0,de.Z)({},vn==null?void 0:vn.count)},_n),Tt)}return null};return ce.createElement(Pe,(0,ne.Z)({},qt,{prefixCls:Be,className:ut,inputElement:je(),handleReset:se,value:(0,Se.D7)(nn),focused:In,triggerFocus:Ye,suffix:xt(),disabled:mt,classes:Ie,classNames:Mt,styles:vn}))}),wt=Ee,Rt=wt},87887:function(Hn,sn,ee){"use strict";ee.d(sn,{D7:function(){return we},He:function(){return ne},X3:function(){return de},nH:function(){return et},rJ:function(){return Me}});function ne(ke){return!!(ke.addonBefore||ke.addonAfter)}function de(ke){return!!(ke.prefix||ke.suffix||ke.allowClear)}function Me(ke,ce,Se,me){if(Se){var Pe=ce;if(ce.type==="click"){var Xe=ke.cloneNode(!0);Pe=Object.create(ce,{target:{value:Xe},currentTarget:{value:Xe}}),Xe.value="",Se(Pe);return}if(me!==void 0){Pe=Object.create(ce,{target:{value:ke},currentTarget:{value:ke}}),ke.value=me,Se(Pe);return}Se(Pe)}}function et(ke,ce){if(ke){ke.focus(ce);var Se=ce||{},me=Se.cursor;if(me){var Pe=ke.value.length;switch(me){case"start":ke.setSelectionRange(0,0);break;case"end":ke.setSelectionRange(Pe,Pe);break;default:ke.setSelectionRange(0,Pe)}}}}function we(ke){return typeof ke=="undefined"||ke===null?"":String(ke)}},78595:function(Hn,sn,ee){"use strict";ee.d(sn,{iz:function(){return ui},ck:function(){return so},BW:function(){return Vi},sN:function(){return so},Wd:function(){return dr},ZP:function(){return Oe},Xl:function(){return _n}});var ne=ee(87462),de=ee(4942),Me=ee(1413),et=ee(74902),we=ee(97685),ke=ee(45987),ce=ee(94184),Se=ee.n(ce),me=ee(67294),Pe=ee(48555);function Xe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var fe=Xe()?me.useLayoutEffect:me.useEffect,Ge=function(Ke,Qe){var at=me.useRef(!0);fe(function(){return Ke(at.current)},Qe),fe(function(){return at.current=!1,function(){at.current=!0}},[])},pt=function(Ke,Qe){Ge(function(at){if(!at)return Ke()},Qe)},ot=Ge,vt=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ee=void 0;function wt(Ae,Ke){var Qe=Ae.prefixCls,at=Ae.invalidate,ft=Ae.item,Xt=Ae.renderItem,an=Ae.responsive,Qn=Ae.responsiveDisabled,cr=Ae.registerSize,Ar=Ae.itemKey,Dn=Ae.className,$n=Ae.style,Jn=Ae.children,kr=Ae.display,Hr=Ae.order,zr=Ae.component,Fr=zr===void 0?"div":zr,jr=(0,ke.Z)(Ae,vt),_r=an&&!kr;function Jr(xr){cr(Ar,xr)}me.useEffect(function(){return function(){Jr(null)}},[]);var kt=Xt&&ft!==Ee?Xt(ft):Jn,Pt;at||(Pt={opacity:_r?0:1,height:_r?0:Ee,overflowY:_r?"hidden":Ee,order:an?Hr:Ee,pointerEvents:_r?"none":Ee,position:_r?"absolute":Ee});var zn={};_r&&(zn["aria-hidden"]=!0);var Bn=me.createElement(Fr,(0,ne.Z)({className:Se()(!at&&Qe,Dn),style:(0,Me.Z)((0,Me.Z)({},Pt),$n)},zn,jr,{ref:Ke}),kt);return an&&(Bn=me.createElement(Pe.Z,{onResize:function(Zr){var $t=Zr.offsetWidth;Jr($t)},disabled:Qn},Bn)),Bn}var Rt=me.forwardRef(wt);Rt.displayName="Item";var tt=Rt;function st(Ae){var Ke=me.useRef();Ke.current=Ae;var Qe=me.useCallback(function(){for(var at,ft=arguments.length,Xt=new Array(ft),an=0;an<ft;an++)Xt[an]=arguments[an];return(at=Ke.current)===null||at===void 0?void 0:at.call.apply(at,[Ke].concat(Xt))},[]);return Qe}var ye=ee(73935),ue=function(Ke){return+setTimeout(Ke,16)},$e=function(Ke){return clearTimeout(Ke)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ue=function(Ke){return window.requestAnimationFrame(Ke)},$e=function(Ke){return window.cancelAnimationFrame(Ke)});var Je=0,ht=new Map;function yt(Ae){ht.delete(Ae)}var Fe=function(Ke){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Je+=1;var at=Je;function ft(Xt){if(Xt===0)yt(at),Ke();else{var an=ue(function(){ft(Xt-1)});ht.set(at,an)}}return ft(Qe),at};Fe.cancel=function(Ae){var Ke=ht.get(Ae);return yt(Ke),$e(Ke)};var Be=Fe;function mt(Ae){if(typeof MessageChannel=="undefined")Be(Ae);else{var Ke=new MessageChannel;Ke.port1.onmessage=function(){return Ae()},Ke.port2.postMessage(void 0)}}function ze(){var Ae=me.useRef(null),Ke=function(at){Ae.current||(Ae.current=[],mt(function(){(0,ye.unstable_batchedUpdates)(function(){Ae.current.forEach(function(ft){ft()}),Ae.current=null})})),Ae.current.push(at)};return Ke}function ut(Ae,Ke){var Qe=me.useState(Ke),at=(0,we.Z)(Qe,2),ft=at[0],Xt=at[1],an=st(function(Qn){Ae(function(){Xt(Qn)})});return[ft,an]}var rt=me.createContext(null),Tt=["component"],Bt=["className"],en=["className"],ct=function(Ke,Qe){var at=me.useContext(rt);if(!at){var ft=Ke.component,Xt=ft===void 0?"div":ft,an=(0,ke.Z)(Ke,Tt);return me.createElement(Xt,(0,ne.Z)({},an,{ref:Qe}))}var Qn=at.className,cr=(0,ke.Z)(at,Bt),Ar=Ke.className,Dn=(0,ke.Z)(Ke,en);return me.createElement(rt.Provider,{value:null},me.createElement(tt,(0,ne.Z)({ref:Qe,className:Se()(Qn,Ar)},cr,Dn)))},Ie=me.forwardRef(ct);Ie.displayName="RawItem";var Mt=Ie,vn=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],qt="responsive",Nt="invalidate";function Kt(Ae){return"+ ".concat(Ae.length," ...")}function nn(Ae,Ke){var Qe=Ae.prefixCls,at=Qe===void 0?"rc-overflow":Qe,ft=Ae.data,Xt=ft===void 0?[]:ft,an=Ae.renderItem,Qn=Ae.renderRawItem,cr=Ae.itemKey,Ar=Ae.itemWidth,Dn=Ar===void 0?10:Ar,$n=Ae.ssr,Jn=Ae.style,kr=Ae.className,Hr=Ae.maxCount,zr=Ae.renderRest,Fr=Ae.renderRawRest,jr=Ae.suffix,_r=Ae.component,Jr=_r===void 0?"div":_r,kt=Ae.itemComponent,Pt=Ae.onVisibleChange,zn=(0,ke.Z)(Ae,vn),Bn=$n==="full",xr=ze(),Zr=ut(xr,null),$t=(0,we.Z)(Zr,2),cn=$t[0],dn=$t[1],Rn=cn||0,yr=ut(xr,new Map),Tr=(0,we.Z)(yr,2),vr=Tr[0],Pr=Tr[1],ia=ut(xr,0),Va=(0,we.Z)(ia,2),ma=Va[0],Gr=Va[1],Ea=ut(xr,0),ja=(0,we.Z)(Ea,2),ai=ja[0],Ra=ja[1],da=ut(xr,0),ci=(0,we.Z)(da,2),mi=ci[0],io=ci[1],po=(0,me.useState)(null),Ao=(0,we.Z)(po,2),uo=Ao[0],ho=Ao[1],ji=(0,me.useState)(null),wo=(0,we.Z)(ji,2),Zi=wo[0],gi=wo[1],mo=me.useMemo(function(){return Zi===null&&Bn?Number.MAX_SAFE_INTEGER:Zi||0},[Zi,cn]),_o=(0,me.useState)(!1),Wi=(0,we.Z)(_o,2),al=Wi[0],fl=Wi[1],hl="".concat(at,"-item"),qo=Math.max(ma,ai),Mo=Hr===qt,Wl=Xt.length&&Mo,Vo=Hr===Nt,yo=Wl||typeof Hr=="number"&&Xt.length>Hr,sl=(0,me.useMemo)(function(){var Go=Xt;return Wl?cn===null&&Bn?Go=Xt:Go=Xt.slice(0,Math.min(Xt.length,Rn/Dn)):typeof Hr=="number"&&(Go=Xt.slice(0,Hr)),Go},[Xt,Dn,cn,Hr,Wl]),Vl=(0,me.useMemo)(function(){return Wl?Xt.slice(mo+1):Xt.slice(sl.length)},[Xt,sl,Wl,mo]),pl=(0,me.useCallback)(function(Go,il){var _l;return typeof cr=="function"?cr(Go):(_l=cr&&(Go==null?void 0:Go[cr]))!==null&&_l!==void 0?_l:il},[cr]),Dl=(0,me.useCallback)(an||function(Go){return Go},[an]);function Lo(Go,il,_l){Zi===Go&&(il===void 0||il===uo)||(gi(Go),_l||(fl(Go<Xt.length-1),Pt==null||Pt(Go)),il!==void 0&&ho(il))}function jl(Go,il){dn(il.clientWidth)}function ls(Go,il){Pr(function(_l){var Xl=new Map(_l);return il===null?Xl.delete(Go):Xl.set(Go,il),Xl})}function Ql(Go,il){Ra(il),Gr(ai)}function Al(Go,il){io(il)}function Tl(Go){return vr.get(pl(sl[Go],Go))}ot(function(){if(Rn&&typeof qo=="number"&&sl){var Go=mi,il=sl.length,_l=il-1;if(!il){Lo(0,null);return}for(var Xl=0;Xl<il;Xl+=1){var hs=Tl(Xl);if(Bn&&(hs=hs||0),hs===void 0){Lo(Xl-1,void 0,!0);break}if(Go+=hs,_l===0&&Go<=Rn||Xl===_l-1&&Go+Tl(_l)<=Rn){Lo(_l,null);break}else if(Go+qo>Rn){Lo(Xl-1,Go-hs-mi+ai);break}}jr&&Tl(0)+mi>Rn&&ho(null)}},[Rn,vr,ai,mi,pl,sl]);var $l=al&&!!Vl.length,Rl={};uo!==null&&Wl&&(Rl={position:"absolute",left:uo,top:0});var Il={prefixCls:hl,responsive:Wl,component:kt,invalidate:Vo},ss=Qn?function(Go,il){var _l=pl(Go,il);return me.createElement(rt.Provider,{key:_l,value:(0,Me.Z)((0,Me.Z)({},Il),{},{order:il,item:Go,itemKey:_l,registerSize:ls,display:il<=mo})},Qn(Go,il))}:function(Go,il){var _l=pl(Go,il);return me.createElement(tt,(0,ne.Z)({},Il,{order:il,key:_l,item:Go,renderItem:Dl,itemKey:_l,registerSize:ls,display:il<=mo}))},us,ms={order:$l?mo:Number.MAX_SAFE_INTEGER,className:"".concat(hl,"-rest"),registerSize:Ql,display:$l};if(Fr)Fr&&(us=me.createElement(rt.Provider,{value:(0,Me.Z)((0,Me.Z)({},Il),ms)},Fr(Vl)));else{var ts=zr||Kt;us=me.createElement(tt,(0,ne.Z)({},Il,ms),typeof ts=="function"?ts(Vl):ts)}var ns=me.createElement(Jr,(0,ne.Z)({className:Se()(!Vo&&at,kr),style:Jn,ref:Ke},zn),sl.map(ss),yo?us:null,jr&&me.createElement(tt,(0,ne.Z)({},Il,{responsive:Mo,responsiveDisabled:!Wl,order:mo,className:"".concat(hl,"-suffix"),registerSize:Al,display:!0,style:Rl}),jr));return Mo&&(ns=me.createElement(Pe.Z,{onResize:jl,disabled:!Wl},ns)),ns}var Cn=me.forwardRef(nn);Cn.displayName="Overflow",Cn.Item=Mt,Cn.RESPONSIVE=qt,Cn.INVALIDATE=Nt;var Sn=Cn,tn=Sn,In=ee(21770),br=ee(80334),gn=ee(91881),Ye=me.createContext(null);function ve(Ae,Ke){return Ae===void 0?null:"".concat(Ae,"-").concat(Ke)}function he(Ae){var Ke=me.useContext(Ye);return ve(Ke,Ae)}var be=ee(56982),ge=["children","locked"],se=me.createContext(null);function je(Ae,Ke){var Qe=(0,Me.Z)({},Ae);return Object.keys(Ke).forEach(function(at){var ft=Ke[at];ft!==void 0&&(Qe[at]=ft)}),Qe}function xt(Ae){var Ke=Ae.children,Qe=Ae.locked,at=(0,ke.Z)(Ae,ge),ft=me.useContext(se),Xt=(0,be.Z)(function(){return je(ft,at)},[ft,at],function(an,Qn){return!Qe&&(an[0]!==Qn[0]||!(0,gn.Z)(an[1],Qn[1],!0))});return me.createElement(se.Provider,{value:Xt},Ke)}var En=[],un=me.createContext(null);function Pn(){return me.useContext(un)}var Xn=me.createContext(En);function _n(Ae){var Ke=me.useContext(Xn);return me.useMemo(function(){return Ae!==void 0?[].concat((0,et.Z)(Ke),[Ae]):Ke},[Ke,Ae])}var Vt=me.createContext(null),yn=me.createContext({}),Kn=yn,On=ee(15105),Qt=ee(75164),Dr=function(Ae){if(!Ae)return!1;if(Ae instanceof Element){if(Ae.offsetParent)return!0;if(Ae.getBBox){var Ke=Ae.getBBox(),Qe=Ke.width,at=Ke.height;if(Qe||at)return!0}if(Ae.getBoundingClientRect){var ft=Ae.getBoundingClientRect(),Xt=ft.width,an=ft.height;if(Xt||an)return!0}}return!1};function jt(Ae){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Dr(Ae)){var Qe=Ae.nodeName.toLowerCase(),at=["input","select","textarea","button"].includes(Qe)||Ae.isContentEditable||Qe==="a"&&!!Ae.getAttribute("href"),ft=Ae.getAttribute("tabindex"),Xt=Number(ft),an=null;return ft&&!Number.isNaN(Xt)?an=Xt:at&&an===null&&(an=0),at&&Ae.disabled&&(an=null),an!==null&&(an>=0||Ke&&an<0)}return!1}function rn(Ae){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=(0,et.Z)(Ae.querySelectorAll("*")).filter(function(at){return jt(at,Ke)});return jt(Ae,Ke)&&Qe.unshift(Ae),Qe}var Ir=null;function ur(){Ir=document.activeElement}function Rr(){Ir=null}function aa(){if(Ir)try{Ir.focus()}catch(Ae){}}function qn(Ae,Ke){if(Ke.keyCode===9){var Qe=rn(Ae),at=Qe[Ke.shiftKey?0:Qe.length-1],ft=at===document.activeElement||Ae===document.activeElement;if(ft){var Xt=Qe[Ke.shiftKey?Qe.length-1:0];Xt.focus(),Ke.preventDefault()}}}var Pa=On.Z.LEFT,Fa=On.Z.RIGHT,_a=On.Z.UP,Xr=On.Z.DOWN,Da=On.Z.ENTER,Mi=On.Z.ESC,Si=On.Z.HOME,zi=On.Z.END,fi=[_a,Xr,Pa,Fa];function Tn(Ae,Ke,Qe,at){var ft,Xt,an,Qn,cr="prev",Ar="next",Dn="children",$n="parent";if(Ae==="inline"&&at===Da)return{inlineTrigger:!0};var Jn=(ft={},(0,de.Z)(ft,_a,cr),(0,de.Z)(ft,Xr,Ar),ft),kr=(Xt={},(0,de.Z)(Xt,Pa,Qe?Ar:cr),(0,de.Z)(Xt,Fa,Qe?cr:Ar),(0,de.Z)(Xt,Xr,Dn),(0,de.Z)(Xt,Da,Dn),Xt),Hr=(an={},(0,de.Z)(an,_a,cr),(0,de.Z)(an,Xr,Ar),(0,de.Z)(an,Da,Dn),(0,de.Z)(an,Mi,$n),(0,de.Z)(an,Pa,Qe?Dn:$n),(0,de.Z)(an,Fa,Qe?$n:Dn),an),zr={inline:Jn,horizontal:kr,vertical:Hr,inlineSub:Jn,horizontalSub:Hr,verticalSub:Hr},Fr=(Qn=zr["".concat(Ae).concat(Ke?"":"Sub")])===null||Qn===void 0?void 0:Qn[at];switch(Fr){case cr:return{offset:-1,sibling:!0};case Ar:return{offset:1,sibling:!0};case $n:return{offset:-1,sibling:!1};case Dn:return{offset:1,sibling:!1};default:return null}}function bn(Ae){for(var Ke=Ae;Ke;){if(Ke.getAttribute("data-menu-list"))return Ke;Ke=Ke.parentElement}return null}function ir(Ae,Ke){for(var Qe=Ae||document.activeElement;Qe;){if(Ke.has(Qe))return Qe;Qe=Qe.parentElement}return null}function Cr(Ae,Ke){var Qe=rn(Ae,!0);return Qe.filter(function(at){return Ke.has(at)})}function Or(Ae,Ke,Qe){var at=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Ae)return null;var ft=Cr(Ae,Ke),Xt=ft.length,an=ft.findIndex(function(Qn){return Qe===Qn});return at<0?an===-1?an=Xt-1:an-=1:at>0&&(an+=1),an=(an+Xt)%Xt,ft[an]}function Lr(Ae,Ke,Qe,at,ft,Xt,an,Qn,cr,Ar){var Dn=me.useRef(),$n=me.useRef();$n.current=Ke;var Jn=function(){Qt.Z.cancel(Dn.current)};return me.useEffect(function(){return function(){Jn()}},[]),function(kr){var Hr=kr.which;if([].concat(fi,[Da,Mi,Si,zi]).includes(Hr)){var zr,Fr,jr,_r=function(){zr=new Set,Fr=new Map,jr=new Map;var Tr=Xt();return Tr.forEach(function(vr){var Pr=document.querySelector("[data-menu-id='".concat(ve(at,vr),"']"));Pr&&(zr.add(Pr),jr.set(Pr,vr),Fr.set(vr,Pr))}),zr};_r();var Jr=Fr.get(Ke),kt=ir(Jr,zr),Pt=jr.get(kt),zn=Tn(Ae,an(Pt,!0).length===1,Qe,Hr);if(!zn&&Hr!==Si&&Hr!==zi)return;(fi.includes(Hr)||[Si,zi].includes(Hr))&&kr.preventDefault();var Bn=function(Tr){if(Tr){var vr=Tr,Pr=Tr.querySelector("a");Pr!=null&&Pr.getAttribute("href")&&(vr=Pr);var ia=jr.get(Tr);Qn(ia),Jn(),Dn.current=(0,Qt.Z)(function(){$n.current===ia&&vr.focus()})}};if([Si,zi].includes(Hr)||zn.sibling||!kt){var xr;!kt||Ae==="inline"?xr=ft.current:xr=bn(kt);var Zr,$t=Cr(xr,zr);Hr===Si?Zr=$t[0]:Hr===zi?Zr=$t[$t.length-1]:Zr=Or(xr,zr,kt,zn.offset),Bn(Zr)}else if(zn.inlineTrigger)cr(Pt);else if(zn.offset>0)cr(Pt,!0),Jn(),Dn.current=(0,Qt.Z)(function(){_r();var yr=kt.getAttribute("aria-controls"),Tr=document.getElementById(yr),vr=Or(Tr,zr);Bn(vr)},5);else if(zn.offset<0){var cn=an(Pt,!0),dn=cn[cn.length-2],Rn=Fr.get(dn);cr(dn,!1),Bn(Rn)}}Ar==null||Ar(kr)}}function sa(Ae){Promise.resolve().then(Ae)}var pn="__RC_UTIL_PATH_SPLIT__",At=function(Ke){return Ke.join(pn)},Zt=function(Ke){return Ke.split(pn)},on="rc-menu-more";function Yn(){var Ae=me.useState({}),Ke=(0,we.Z)(Ae,2),Qe=Ke[1],at=(0,me.useRef)(new Map),ft=(0,me.useRef)(new Map),Xt=me.useState([]),an=(0,we.Z)(Xt,2),Qn=an[0],cr=an[1],Ar=(0,me.useRef)(0),Dn=(0,me.useRef)(!1),$n=function(){Dn.current||Qe({})},Jn=(0,me.useCallback)(function(Jr,kt){var Pt=At(kt);ft.current.set(Pt,Jr),at.current.set(Jr,Pt),Ar.current+=1;var zn=Ar.current;sa(function(){zn===Ar.current&&$n()})},[]),kr=(0,me.useCallback)(function(Jr,kt){var Pt=At(kt);ft.current.delete(Pt),at.current.delete(Jr)},[]),Hr=(0,me.useCallback)(function(Jr){cr(Jr)},[]),zr=(0,me.useCallback)(function(Jr,kt){var Pt=at.current.get(Jr)||"",zn=Zt(Pt);return kt&&Qn.includes(zn[0])&&zn.unshift(on),zn},[Qn]),Fr=(0,me.useCallback)(function(Jr,kt){return Jr.some(function(Pt){var zn=zr(Pt,!0);return zn.includes(kt)})},[zr]),jr=function(){var kt=(0,et.Z)(at.current.keys());return Qn.length&&kt.push(on),kt},_r=(0,me.useCallback)(function(Jr){var kt="".concat(at.current.get(Jr)).concat(pn),Pt=new Set;return(0,et.Z)(ft.current.keys()).forEach(function(zn){zn.startsWith(kt)&&Pt.add(ft.current.get(zn))}),Pt},[]);return me.useEffect(function(){return function(){Dn.current=!0}},[]),{registerPath:Jn,unregisterPath:kr,refreshOverflowKeys:Hr,isSubPathKey:Fr,getKeyPath:zr,getKeys:jr,getSubPathKeys:_r}}function Dt(Ae){var Ke=me.useRef(Ae);Ke.current=Ae;var Qe=me.useCallback(function(){for(var at,ft=arguments.length,Xt=new Array(ft),an=0;an<ft;an++)Xt[an]=arguments[an];return(at=Ke.current)===null||at===void 0?void 0:at.call.apply(at,[Ke].concat(Xt))},[]);return Ae?Qe:void 0}var fn=Math.random().toFixed(5).toString().slice(2),Vn=0;function kn(Ae){var Ke=(0,In.Z)(Ae,{value:Ae}),Qe=(0,we.Z)(Ke,2),at=Qe[0],ft=Qe[1];return me.useEffect(function(){Vn+=1;var Xt="".concat(fn,"-").concat(Vn);ft("rc-menu-uuid-".concat(Xt))},[]),at}var rr=ee(15671),fr=ee(43144),mn=ee(60136),Ta=ee(51630),ha=ee(98423),ya=ee(42550);function Sa(Ae,Ke,Qe,at){var ft=me.useContext(se),Xt=ft.activeKey,an=ft.onActive,Qn=ft.onInactive,cr={active:Xt===Ae};return Ke||(cr.onMouseEnter=function(Ar){Qe==null||Qe({key:Ae,domEvent:Ar}),an(Ae)},cr.onMouseLeave=function(Ar){at==null||at({key:Ae,domEvent:Ar}),Qn(Ae)}),cr}function Ma(Ae){var Ke=me.useContext(se),Qe=Ke.mode,at=Ke.rtl,ft=Ke.inlineIndent;if(Qe!=="inline")return null;var Xt=Ae;return at?{paddingRight:Xt*ft}:{paddingLeft:Xt*ft}}function pa(Ae){var Ke=Ae.icon,Qe=Ae.props,at=Ae.children,ft;return Ke===null||Ke===!1?null:(typeof Ke=="function"?ft=me.createElement(Ke,(0,Me.Z)({},Qe)):typeof Ke!="boolean"&&(ft=Ke),ft||at||null)}var Er=["item"];function qr(Ae){var Ke=Ae.item,Qe=(0,ke.Z)(Ae,Er);return Object.defineProperty(Qe,"item",{get:function(){return(0,br.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Ke}}),Qe}var Hi=["title","attribute","elementRef"],Fi=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],$a=["active"],ni=function(Ae){(0,mn.Z)(Qe,Ae);var Ke=(0,Ta.Z)(Qe);function Qe(){return(0,rr.Z)(this,Qe),Ke.apply(this,arguments)}return(0,fr.Z)(Qe,[{key:"render",value:function(){var ft=this.props,Xt=ft.title,an=ft.attribute,Qn=ft.elementRef,cr=(0,ke.Z)(ft,Hi),Ar=(0,ha.Z)(cr,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,br.ZP)(!an,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),me.createElement(tn.Item,(0,ne.Z)({},an,{title:typeof Xt=="string"?Xt:void 0},Ar,{ref:Qn}))}}]),Qe}(me.Component),no=me.forwardRef(function(Ae,Ke){var Qe,at=Ae.style,ft=Ae.className,Xt=Ae.eventKey,an=Ae.warnKey,Qn=Ae.disabled,cr=Ae.itemIcon,Ar=Ae.children,Dn=Ae.role,$n=Ae.onMouseEnter,Jn=Ae.onMouseLeave,kr=Ae.onClick,Hr=Ae.onKeyDown,zr=Ae.onFocus,Fr=(0,ke.Z)(Ae,Fi),jr=he(Xt),_r=me.useContext(se),Jr=_r.prefixCls,kt=_r.onItemClick,Pt=_r.disabled,zn=_r.overflowDisabled,Bn=_r.itemIcon,xr=_r.selectedKeys,Zr=_r.onActive,$t=me.useContext(Kn),cn=$t._internalRenderMenuItem,dn="".concat(Jr,"-item"),Rn=me.useRef(),yr=me.useRef(),Tr=Pt||Qn,vr=(0,ya.x1)(Ke,yr),Pr=_n(Xt),ia=function(Ao){return{key:Xt,keyPath:(0,et.Z)(Pr).reverse(),item:Rn.current,domEvent:Ao}},Va=cr||Bn,ma=Sa(Xt,Tr,$n,Jn),Gr=ma.active,Ea=(0,ke.Z)(ma,$a),ja=xr.includes(Xt),ai=Ma(Pr.length),Ra=function(Ao){if(!Tr){var uo=ia(Ao);kr==null||kr(qr(uo)),kt(uo)}},da=function(Ao){if(Hr==null||Hr(Ao),Ao.which===On.Z.ENTER){var uo=ia(Ao);kr==null||kr(qr(uo)),kt(uo)}},ci=function(Ao){Zr(Xt),zr==null||zr(Ao)},mi={};Ae.role==="option"&&(mi["aria-selected"]=ja);var io=me.createElement(ni,(0,ne.Z)({ref:Rn,elementRef:vr,role:Dn===null?"none":Dn||"menuitem",tabIndex:Qn?null:-1,"data-menu-id":zn&&jr?null:jr},Fr,Ea,mi,{component:"li","aria-disabled":Qn,style:(0,Me.Z)((0,Me.Z)({},ai),at),className:Se()(dn,(Qe={},(0,de.Z)(Qe,"".concat(dn,"-active"),Gr),(0,de.Z)(Qe,"".concat(dn,"-selected"),ja),(0,de.Z)(Qe,"".concat(dn,"-disabled"),Tr),Qe),ft),onClick:Ra,onKeyDown:da,onFocus:ci}),Ar,me.createElement(pa,{props:(0,Me.Z)((0,Me.Z)({},Ae),{},{isSelected:ja}),icon:Va}));return cn&&(io=cn(io,Ae,{selected:ja})),io});function oi(Ae,Ke){var Qe=Ae.eventKey,at=Pn(),ft=_n(Qe);return me.useEffect(function(){if(at)return at.registerPath(Qe,ft),function(){at.unregisterPath(Qe,ft)}},[ft]),at?null:me.createElement(no,(0,ne.Z)({},Ae,{ref:Ke}))}var so=me.forwardRef(oi),ta=["className","children"],to=function(Ke,Qe){var at=Ke.className,ft=Ke.children,Xt=(0,ke.Z)(Ke,ta),an=me.useContext(se),Qn=an.prefixCls,cr=an.mode,Ar=an.rtl;return me.createElement("ul",(0,ne.Z)({className:Se()(Qn,Ar&&"".concat(Qn,"-rtl"),"".concat(Qn,"-sub"),"".concat(Qn,"-").concat(cr==="inline"?"inline":"vertical"),at),role:"menu"},Xt,{"data-menu-list":!0,ref:Qe}),ft)},xo=me.forwardRef(to);xo.displayName="SubMenuList";var xl=xo,ll=ee(50344);function Uo(Ae,Ke){return(0,ll.Z)(Ae).map(function(Qe,at){if(me.isValidElement(Qe)){var ft,Xt,an=Qe.key,Qn=(ft=(Xt=Qe.props)===null||Xt===void 0?void 0:Xt.eventKey)!==null&&ft!==void 0?ft:an,cr=Qn==null;cr&&(Qn="tmp_key-".concat([].concat((0,et.Z)(Ke),[at]).join("-")));var Ar={key:Qn,eventKey:Qn};return me.cloneElement(Qe,Ar)}return Qe})}var co=ee(62709),wl={adjustX:1,adjustY:1},Yo={topLeft:{points:["bl","tl"],overflow:wl},topRight:{points:["br","tr"],overflow:wl},bottomLeft:{points:["tl","bl"],overflow:wl},bottomRight:{points:["tr","br"],overflow:wl},leftTop:{points:["tr","tl"],overflow:wl},leftBottom:{points:["br","bl"],overflow:wl},rightTop:{points:["tl","tr"],overflow:wl},rightBottom:{points:["bl","br"],overflow:wl}},gl={topLeft:{points:["bl","tl"],overflow:wl},topRight:{points:["br","tr"],overflow:wl},bottomLeft:{points:["tl","bl"],overflow:wl},bottomRight:{points:["tr","br"],overflow:wl},rightTop:{points:["tr","tl"],overflow:wl},rightBottom:{points:["br","bl"],overflow:wl},leftTop:{points:["tl","tr"],overflow:wl},leftBottom:{points:["bl","br"],overflow:wl}},zl=null;function Sl(Ae,Ke,Qe){if(Ke)return Ke;if(Qe)return Qe[Ae]||Qe.other}var Cl={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function wi(Ae){var Ke=Ae.prefixCls,Qe=Ae.visible,at=Ae.children,ft=Ae.popup,Xt=Ae.popupStyle,an=Ae.popupClassName,Qn=Ae.popupOffset,cr=Ae.disabled,Ar=Ae.mode,Dn=Ae.onVisibleChange,$n=me.useContext(se),Jn=$n.getPopupContainer,kr=$n.rtl,Hr=$n.subMenuOpenDelay,zr=$n.subMenuCloseDelay,Fr=$n.builtinPlacements,jr=$n.triggerSubMenuAction,_r=$n.forceSubMenuRender,Jr=$n.rootClassName,kt=$n.motion,Pt=$n.defaultMotions,zn=me.useState(!1),Bn=(0,we.Z)(zn,2),xr=Bn[0],Zr=Bn[1],$t=kr?(0,Me.Z)((0,Me.Z)({},gl),Fr):(0,Me.Z)((0,Me.Z)({},Yo),Fr),cn=Cl[Ar],dn=Sl(Ar,kt,Pt),Rn=me.useRef(dn);Ar!=="inline"&&(Rn.current=dn);var yr=(0,Me.Z)((0,Me.Z)({},Rn.current),{},{leavedClassName:"".concat(Ke,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Tr=me.useRef();return me.useEffect(function(){return Tr.current=(0,Qt.Z)(function(){Zr(Qe)}),function(){Qt.Z.cancel(Tr.current)}},[Qe]),me.createElement(co.Z,{prefixCls:Ke,popupClassName:Se()("".concat(Ke,"-popup"),(0,de.Z)({},"".concat(Ke,"-rtl"),kr),an,Jr),stretch:Ar==="horizontal"?"minWidth":null,getPopupContainer:Jn,builtinPlacements:$t,popupPlacement:cn,popupVisible:xr,popup:ft,popupStyle:Xt,popupAlign:Qn&&{offset:Qn},action:cr?[]:[jr],mouseEnterDelay:Hr,mouseLeaveDelay:zr,onPopupVisibleChange:Dn,forceRender:_r,popupMotion:yr,fresh:!0},at)}var ko=ee(62874);function Pi(Ae){var Ke=Ae.id,Qe=Ae.open,at=Ae.keyPath,ft=Ae.children,Xt="inline",an=me.useContext(se),Qn=an.prefixCls,cr=an.forceSubMenuRender,Ar=an.motion,Dn=an.defaultMotions,$n=an.mode,Jn=me.useRef(!1);Jn.current=$n===Xt;var kr=me.useState(!Jn.current),Hr=(0,we.Z)(kr,2),zr=Hr[0],Fr=Hr[1],jr=Jn.current?Qe:!1;me.useEffect(function(){Jn.current&&Fr(!1)},[$n]);var _r=(0,Me.Z)({},Sl(Xt,Ar,Dn));at.length>1&&(_r.motionAppear=!1);var Jr=_r.onVisibleChanged;return _r.onVisibleChanged=function(kt){return!Jn.current&&!kt&&Fr(!0),Jr==null?void 0:Jr(kt)},zr?null:me.createElement(xt,{mode:Xt,locked:!Jn.current},me.createElement(ko.Z,(0,ne.Z)({visible:jr},_r,{forceRender:cr,removeOnLeave:!1,leavedClassName:"".concat(Qn,"-hidden")}),function(kt){var Pt=kt.className,zn=kt.style;return me.createElement(xl,{id:Ke,className:Pt,style:zn},ft)}))}var Ci=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Zn=["active"],Mn=function(Ke){var Qe,at=Ke.style,ft=Ke.className,Xt=Ke.title,an=Ke.eventKey,Qn=Ke.warnKey,cr=Ke.disabled,Ar=Ke.internalPopupClose,Dn=Ke.children,$n=Ke.itemIcon,Jn=Ke.expandIcon,kr=Ke.popupClassName,Hr=Ke.popupOffset,zr=Ke.popupStyle,Fr=Ke.onClick,jr=Ke.onMouseEnter,_r=Ke.onMouseLeave,Jr=Ke.onTitleClick,kt=Ke.onTitleMouseEnter,Pt=Ke.onTitleMouseLeave,zn=(0,ke.Z)(Ke,Ci),Bn=he(an),xr=me.useContext(se),Zr=xr.prefixCls,$t=xr.mode,cn=xr.openKeys,dn=xr.disabled,Rn=xr.overflowDisabled,yr=xr.activeKey,Tr=xr.selectedKeys,vr=xr.itemIcon,Pr=xr.expandIcon,ia=xr.onItemClick,Va=xr.onOpenChange,ma=xr.onActive,Gr=me.useContext(Kn),Ea=Gr._internalRenderSubMenuItem,ja=me.useContext(Vt),ai=ja.isSubPathKey,Ra=_n(),da="".concat(Zr,"-submenu"),ci=dn||cr,mi=me.useRef(),io=me.useRef(),po=$n!=null?$n:vr,Ao=Jn!=null?Jn:Pr,uo=cn.includes(an),ho=!Rn&&uo,ji=ai(Tr,an),wo=Sa(an,ci,kt,Pt),Zi=wo.active,gi=(0,ke.Z)(wo,Zn),mo=me.useState(!1),_o=(0,we.Z)(mo,2),Wi=_o[0],al=_o[1],fl=function(Al){ci||al(Al)},hl=function(Al){fl(!0),jr==null||jr({key:an,domEvent:Al})},qo=function(Al){fl(!1),_r==null||_r({key:an,domEvent:Al})},Mo=me.useMemo(function(){return Zi||($t!=="inline"?Wi||ai([yr],an):!1)},[$t,Zi,yr,Wi,an,ai]),Wl=Ma(Ra.length),Vo=function(Al){ci||(Jr==null||Jr({key:an,domEvent:Al}),$t==="inline"&&Va(an,!uo))},yo=Dt(function(Ql){Fr==null||Fr(qr(Ql)),ia(Ql)}),sl=function(Al){$t!=="inline"&&Va(an,Al)},Vl=function(){ma(an)},pl=Bn&&"".concat(Bn,"-popup"),Dl=me.createElement("div",(0,ne.Z)({role:"menuitem",style:Wl,className:"".concat(da,"-title"),tabIndex:ci?null:-1,ref:mi,title:typeof Xt=="string"?Xt:null,"data-menu-id":Rn&&Bn?null:Bn,"aria-expanded":ho,"aria-haspopup":!0,"aria-controls":pl,"aria-disabled":ci,onClick:Vo,onFocus:Vl},gi),Xt,me.createElement(pa,{icon:$t!=="horizontal"?Ao:void 0,props:(0,Me.Z)((0,Me.Z)({},Ke),{},{isOpen:ho,isSubMenu:!0})},me.createElement("i",{className:"".concat(da,"-arrow")}))),Lo=me.useRef($t);if($t!=="inline"&&Ra.length>1?Lo.current="vertical":Lo.current=$t,!Rn){var jl=Lo.current;Dl=me.createElement(wi,{mode:jl,prefixCls:da,visible:!Ar&&ho&&$t!=="inline",popupClassName:kr,popupOffset:Hr,popupStyle:zr,popup:me.createElement(xt,{mode:jl==="horizontal"?"vertical":jl},me.createElement(xl,{id:pl,ref:io},Dn)),disabled:ci,onVisibleChange:sl},Dl)}var ls=me.createElement(tn.Item,(0,ne.Z)({role:"none"},zn,{component:"li",style:at,className:Se()(da,"".concat(da,"-").concat($t),ft,(Qe={},(0,de.Z)(Qe,"".concat(da,"-open"),ho),(0,de.Z)(Qe,"".concat(da,"-active"),Mo),(0,de.Z)(Qe,"".concat(da,"-selected"),ji),(0,de.Z)(Qe,"".concat(da,"-disabled"),ci),Qe)),onMouseEnter:hl,onMouseLeave:qo}),Dl,!Rn&&me.createElement(Pi,{id:pl,open:ho,keyPath:Ra},Dn));return Ea&&(ls=Ea(ls,Ke,{selected:ji,active:Mo,open:ho,disabled:ci})),me.createElement(xt,{onItemClick:yo,mode:$t==="horizontal"?"vertical":$t,itemIcon:po,expandIcon:Ao},ls)};function dr(Ae){var Ke=Ae.eventKey,Qe=Ae.children,at=_n(Ke),ft=Uo(Qe,at),Xt=Pn();me.useEffect(function(){if(Xt)return Xt.registerPath(Ke,at),function(){Xt.unregisterPath(Ke,at)}},[at]);var an;return Xt?an=ft:an=me.createElement(Mn,Ae,ft),me.createElement(Xn.Provider,{value:at},an)}var Qr=ee(71002),va=["className","title","eventKey","children"],pi=["children"],Ai=function(Ke){var Qe=Ke.className,at=Ke.title,ft=Ke.eventKey,Xt=Ke.children,an=(0,ke.Z)(Ke,va),Qn=me.useContext(se),cr=Qn.prefixCls,Ar="".concat(cr,"-item-group");return me.createElement("li",(0,ne.Z)({role:"presentation"},an,{onClick:function($n){return $n.stopPropagation()},className:Se()(Ar,Qe)}),me.createElement("div",{role:"presentation",className:"".concat(Ar,"-title"),title:typeof at=="string"?at:void 0},at),me.createElement("ul",{role:"group",className:"".concat(Ar,"-list")},Xt))};function Vi(Ae){var Ke=Ae.children,Qe=(0,ke.Z)(Ae,pi),at=_n(Qe.eventKey),ft=Uo(Ke,at),Xt=Pn();return Xt?ft:me.createElement(Ai,(0,ha.Z)(Qe,["warnKey"]),ft)}function ui(Ae){var Ke=Ae.className,Qe=Ae.style,at=me.useContext(se),ft=at.prefixCls,Xt=Pn();return Xt?null:me.createElement("li",{role:"separator",className:Se()("".concat(ft,"-item-divider"),Ke),style:Qe})}var Di=["label","children","key","type"];function Eo(Ae){return(Ae||[]).map(function(Ke,Qe){if(Ke&&(0,Qr.Z)(Ke)==="object"){var at=Ke,ft=at.label,Xt=at.children,an=at.key,Qn=at.type,cr=(0,ke.Z)(at,Di),Ar=an!=null?an:"tmp-".concat(Qe);return Xt||Qn==="group"?Qn==="group"?me.createElement(Vi,(0,ne.Z)({key:Ar},cr,{title:ft}),Eo(Xt)):me.createElement(dr,(0,ne.Z)({key:Ar},cr,{title:ft}),Eo(Xt)):Qn==="divider"?me.createElement(ui,(0,ne.Z)({key:Ar},cr)):me.createElement(so,(0,ne.Z)({key:Ar},cr),ft)}return null}).filter(function(Ke){return Ke})}function Zo(Ae,Ke,Qe){var at=Ae;return Ke&&(at=Eo(Ke)),Uo(at,Qe)}var Qo=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],He=[],nt=me.forwardRef(function(Ae,Ke){var Qe,at,ft=Ae,Xt=ft.prefixCls,an=Xt===void 0?"rc-menu":Xt,Qn=ft.rootClassName,cr=ft.style,Ar=ft.className,Dn=ft.tabIndex,$n=Dn===void 0?0:Dn,Jn=ft.items,kr=ft.children,Hr=ft.direction,zr=ft.id,Fr=ft.mode,jr=Fr===void 0?"vertical":Fr,_r=ft.inlineCollapsed,Jr=ft.disabled,kt=ft.disabledOverflow,Pt=ft.subMenuOpenDelay,zn=Pt===void 0?.1:Pt,Bn=ft.subMenuCloseDelay,xr=Bn===void 0?.1:Bn,Zr=ft.forceSubMenuRender,$t=ft.defaultOpenKeys,cn=ft.openKeys,dn=ft.activeKey,Rn=ft.defaultActiveFirst,yr=ft.selectable,Tr=yr===void 0?!0:yr,vr=ft.multiple,Pr=vr===void 0?!1:vr,ia=ft.defaultSelectedKeys,Va=ft.selectedKeys,ma=ft.onSelect,Gr=ft.onDeselect,Ea=ft.inlineIndent,ja=Ea===void 0?24:Ea,ai=ft.motion,Ra=ft.defaultMotions,da=ft.triggerSubMenuAction,ci=da===void 0?"hover":da,mi=ft.builtinPlacements,io=ft.itemIcon,po=ft.expandIcon,Ao=ft.overflowedIndicator,uo=Ao===void 0?"...":Ao,ho=ft.overflowedIndicatorPopupClassName,ji=ft.getPopupContainer,wo=ft.onClick,Zi=ft.onOpenChange,gi=ft.onKeyDown,mo=ft.openAnimation,_o=ft.openTransitionName,Wi=ft._internalRenderMenuItem,al=ft._internalRenderSubMenuItem,fl=(0,ke.Z)(ft,Qo),hl=me.useMemo(function(){return Zo(kr,Jn,He)},[kr,Jn]),qo=me.useState(!1),Mo=(0,we.Z)(qo,2),Wl=Mo[0],Vo=Mo[1],yo=me.useRef(),sl=kn(zr),Vl=Hr==="rtl",pl=(0,In.Z)($t,{value:cn,postState:function(Gt){return Gt||He}}),Dl=(0,we.Z)(pl,2),Lo=Dl[0],jl=Dl[1],ls=function(Gt){var ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function jn(){jl(Gt),Zi==null||Zi(Gt)}ln?(0,ye.flushSync)(jn):jn()},Ql=me.useState(Lo),Al=(0,we.Z)(Ql,2),Tl=Al[0],$l=Al[1],Rl=me.useRef(!1),Il=me.useMemo(function(){return(jr==="inline"||jr==="vertical")&&_r?["vertical",_r]:[jr,!1]},[jr,_r]),ss=(0,we.Z)(Il,2),us=ss[0],ms=ss[1],ts=us==="inline",ns=me.useState(us),Go=(0,we.Z)(ns,2),il=Go[0],_l=Go[1],Xl=me.useState(ms),hs=(0,we.Z)(Xl,2),xs=hs[0],Ms=hs[1];me.useEffect(function(){_l(us),Ms(ms),Rl.current&&(ts?jl(Tl):ls(He))},[us,ms]);var zs=me.useState(0),Ws=(0,we.Z)(zs,2),Bs=Ws[0],Xs=Ws[1],Ul=Bs>=hl.length-1||il!=="horizontal"||kt;me.useEffect(function(){ts&&$l(Lo)},[Lo]),me.useEffect(function(){return Rl.current=!0,function(){Rl.current=!1}},[]);var Le=Yn(),qe=Le.registerPath,it=Le.unregisterPath,Ce=Le.refreshOverflowKeys,Ne=Le.isSubPathKey,St=Le.getKeyPath,bt=Le.getKeys,Jt=Le.getSubPathKeys,_t=me.useMemo(function(){return{registerPath:qe,unregisterPath:it}},[qe,it]),Wt=me.useMemo(function(){return{isSubPathKey:Ne}},[Ne]);me.useEffect(function(){Ce(Ul?He:hl.slice(Bs+1).map(function(Lt){return Lt.key}))},[Bs,Ul]);var Wn=(0,In.Z)(dn||Rn&&((Qe=hl[0])===null||Qe===void 0?void 0:Qe.key),{value:dn}),xn=(0,we.Z)(Wn,2),Ln=xn[0],Mr=xn[1],pr=Dt(function(Lt){Mr(Lt)}),or=Dt(function(){Mr(void 0)});(0,me.useImperativeHandle)(Ke,function(){return{list:yo.current,focus:function(Gt){var ln,jn=Ln!=null?Ln:(ln=hl.find(function(Nr){return!Nr.props.disabled}))===null||ln===void 0?void 0:ln.key;if(jn){var er,gr,lr;(er=yo.current)===null||er===void 0||(gr=er.querySelector("li[data-menu-id='".concat(ve(sl,jn),"']")))===null||gr===void 0||(lr=gr.focus)===null||lr===void 0||lr.call(gr,Gt)}}}});var sr=(0,In.Z)(ia||[],{value:Va,postState:function(Gt){return Array.isArray(Gt)?Gt:Gt==null?He:[Gt]}}),Br=(0,we.Z)(sr,2),Vr=Br[0],na=Br[1],ka=function(Gt){if(Tr){var ln=Gt.key,jn=Vr.includes(ln),er;Pr?jn?er=Vr.filter(function(lr){return lr!==ln}):er=[].concat((0,et.Z)(Vr),[ln]):er=[ln],na(er);var gr=(0,Me.Z)((0,Me.Z)({},Gt),{},{selectedKeys:er});jn?Gr==null||Gr(gr):ma==null||ma(gr)}!Pr&&Lo.length&&il!=="inline"&&ls(He)},_e=Dt(function(Lt){wo==null||wo(qr(Lt)),ka(Lt)}),gt=Dt(function(Lt,Gt){var ln=Lo.filter(function(er){return er!==Lt});if(Gt)ln.push(Lt);else if(il!=="inline"){var jn=Jt(Lt);ln=ln.filter(function(er){return!jn.has(er)})}(0,gn.Z)(Lo,ln,!0)||ls(ln,!0)}),Ht=function(Gt,ln){var jn=ln!=null?ln:!Lo.includes(Gt);gt(Gt,jn)},Ue=Lr(il,Ln,Vl,sl,yo,bt,St,Mr,Ht,gi);me.useEffect(function(){Vo(!0)},[]);var Ut=me.useMemo(function(){return{_internalRenderMenuItem:Wi,_internalRenderSubMenuItem:al}},[Wi,al]),hn=il!=="horizontal"||kt?hl:hl.map(function(Lt,Gt){return me.createElement(xt,{key:Lt.key,overflowDisabled:Gt>Bs},Lt)}),Fn=me.createElement(tn,(0,ne.Z)({id:zr,ref:yo,prefixCls:"".concat(an,"-overflow"),component:"ul",itemComponent:so,className:Se()(an,"".concat(an,"-root"),"".concat(an,"-").concat(il),Ar,(at={},(0,de.Z)(at,"".concat(an,"-inline-collapsed"),xs),(0,de.Z)(at,"".concat(an,"-rtl"),Vl),at),Qn),dir:Hr,style:cr,role:"menu",tabIndex:$n,data:hn,renderRawItem:function(Gt){return Gt},renderRawRest:function(Gt){var ln=Gt.length,jn=ln?hl.slice(-ln):null;return me.createElement(dr,{eventKey:on,title:uo,disabled:Ul,internalPopupClose:ln===0,popupClassName:ho},jn)},maxCount:il!=="horizontal"||kt?tn.INVALIDATE:tn.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Gt){Xs(Gt)},onKeyDown:Ue},fl));return me.createElement(Kn.Provider,{value:Ut},me.createElement(Ye.Provider,{value:sl},me.createElement(xt,{prefixCls:an,rootClassName:Qn,mode:il,openKeys:Lo,rtl:Vl,disabled:Jr,motion:Wl?ai:null,defaultMotions:Wl?Ra:null,activeKey:Ln,onActive:pr,onInactive:or,selectedKeys:Vr,inlineIndent:ja,subMenuOpenDelay:zn,subMenuCloseDelay:xr,forceSubMenuRender:Zr,builtinPlacements:mi,triggerSubMenuAction:ci,getPopupContainer:ji,itemIcon:io,expandIcon:po,onItemClick:_e,onOpenChange:gt},me.createElement(Vt.Provider,{value:Wt},Fn),me.createElement("div",{style:{display:"none"},"aria-hidden":!0},me.createElement(un.Provider,{value:_t},hl)))))}),It=nt,pe=It;pe.Item=so,pe.SubMenu=dr,pe.ItemGroup=Vi,pe.Divider=ui;var Oe=pe},81626:function(Hn,sn){"use strict";sn.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},46762:function(Hn,sn){"use strict";var ee;var ne=Symbol.for("react.element"),de=Symbol.for("react.portal"),Me=Symbol.for("react.fragment"),et=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),ce=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Xe=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),pt=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function vt(Ee){if(typeof Ee=="object"&&Ee!==null){var wt=Ee.$$typeof;switch(wt){case ne:switch(Ee=Ee.type,Ee){case Me:case we:case et:case Pe:case Xe:return Ee;default:switch(Ee=Ee&&Ee.$$typeof,Ee){case Se:case ce:case me:case Ge:case fe:case ke:return Ee;default:return wt}}case de:return wt}}}ee=ce,ee=ke,ee=ne,ee=me,ee=Me,ee=Ge,ee=fe,ee=de,ee=we,ee=et,ee=Pe,ee=Xe,ee=function(){return!1},ee=function(){return!1},ee=function(Ee){return vt(Ee)===ce},ee=function(Ee){return vt(Ee)===ke},ee=function(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===ne},ee=function(Ee){return vt(Ee)===me},sn.isFragment=function(Ee){return vt(Ee)===Me},ee=function(Ee){return vt(Ee)===Ge},ee=function(Ee){return vt(Ee)===fe},ee=function(Ee){return vt(Ee)===de},ee=function(Ee){return vt(Ee)===we},ee=function(Ee){return vt(Ee)===et},ee=function(Ee){return vt(Ee)===Pe},ee=function(Ee){return vt(Ee)===Xe},ee=function(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===Me||Ee===we||Ee===et||Ee===Pe||Ee===Xe||Ee===pt||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===Ge||Ee.$$typeof===fe||Ee.$$typeof===ke||Ee.$$typeof===ce||Ee.$$typeof===me||Ee.$$typeof===ot||Ee.getModuleId!==void 0)},ee=vt},35110:function(Hn,sn,ee){"use strict";Hn.exports=ee(46762)},86128:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return $e}});var ne=ee(87462),de=ee(4942),Me=ee(45987),et=ee(1413),we=ee(15671),ke=ee(43144),ce=ee(97326),Se=ee(60136),me=ee(51630),Pe=ee(67294),Xe=ee(94184),fe=ee.n(Xe),Ge=ee(64217),pt=ee(27822),ot=function(ht){for(var yt=ht.prefixCls,Fe=ht.level,Be=ht.isStart,mt=ht.isEnd,ze="".concat(yt,"-indent-unit"),ut=[],rt=0;rt<Fe;rt+=1){var Tt;ut.push(Pe.createElement("span",{key:rt,className:fe()(ze,(Tt={},(0,de.Z)(Tt,"".concat(ze,"-start"),Be[rt]),(0,de.Z)(Tt,"".concat(ze,"-end"),mt[rt]),Tt))}))}return Pe.createElement("span",{"aria-hidden":"true",className:"".concat(yt,"-indent")},ut)},vt=Pe.memo(ot),Ee=ee(1089),wt=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Rt="open",tt="close",st="---",ye=function(Je){(0,Se.Z)(yt,Je);var ht=(0,me.Z)(yt);function yt(){var Fe;(0,we.Z)(this,yt);for(var Be=arguments.length,mt=new Array(Be),ze=0;ze<Be;ze++)mt[ze]=arguments[ze];return Fe=ht.call.apply(ht,[this].concat(mt)),Fe.state={dragNodeHighlight:!1},Fe.selectHandle=void 0,Fe.onSelectorClick=function(ut){var rt=Fe.props.context.onNodeClick;rt(ut,(0,Ee.F)(Fe.props)),Fe.isSelectable()?Fe.onSelect(ut):Fe.onCheck(ut)},Fe.onSelectorDoubleClick=function(ut){var rt=Fe.props.context.onNodeDoubleClick;rt(ut,(0,Ee.F)(Fe.props))},Fe.onSelect=function(ut){if(!Fe.isDisabled()){var rt=Fe.props.context.onNodeSelect;ut.preventDefault(),rt(ut,(0,Ee.F)(Fe.props))}},Fe.onCheck=function(ut){if(!Fe.isDisabled()){var rt=Fe.props,Tt=rt.disableCheckbox,Bt=rt.checked,en=Fe.props.context.onNodeCheck;if(!(!Fe.isCheckable()||Tt)){ut.preventDefault();var ct=!Bt;en(ut,(0,Ee.F)(Fe.props),ct)}}},Fe.onMouseEnter=function(ut){var rt=Fe.props.context.onNodeMouseEnter;rt(ut,(0,Ee.F)(Fe.props))},Fe.onMouseLeave=function(ut){var rt=Fe.props.context.onNodeMouseLeave;rt(ut,(0,Ee.F)(Fe.props))},Fe.onContextMenu=function(ut){var rt=Fe.props.context.onNodeContextMenu;rt(ut,(0,Ee.F)(Fe.props))},Fe.onDragStart=function(ut){var rt=Fe.props.context.onNodeDragStart;ut.stopPropagation(),Fe.setState({dragNodeHighlight:!0}),rt(ut,(0,ce.Z)(Fe));try{ut.dataTransfer.setData("text/plain","")}catch(Tt){}},Fe.onDragEnter=function(ut){var rt=Fe.props.context.onNodeDragEnter;ut.preventDefault(),ut.stopPropagation(),rt(ut,(0,ce.Z)(Fe))},Fe.onDragOver=function(ut){var rt=Fe.props.context.onNodeDragOver;ut.preventDefault(),ut.stopPropagation(),rt(ut,(0,ce.Z)(Fe))},Fe.onDragLeave=function(ut){var rt=Fe.props.context.onNodeDragLeave;ut.stopPropagation(),rt(ut,(0,ce.Z)(Fe))},Fe.onDragEnd=function(ut){var rt=Fe.props.context.onNodeDragEnd;ut.stopPropagation(),Fe.setState({dragNodeHighlight:!1}),rt(ut,(0,ce.Z)(Fe))},Fe.onDrop=function(ut){var rt=Fe.props.context.onNodeDrop;ut.preventDefault(),ut.stopPropagation(),Fe.setState({dragNodeHighlight:!1}),rt(ut,(0,ce.Z)(Fe))},Fe.onExpand=function(ut){var rt=Fe.props,Tt=rt.loading,Bt=rt.context.onNodeExpand;Tt||Bt(ut,(0,Ee.F)(Fe.props))},Fe.setSelectHandle=function(ut){Fe.selectHandle=ut},Fe.getNodeState=function(){var ut=Fe.props.expanded;return Fe.isLeaf()?null:ut?Rt:tt},Fe.hasChildren=function(){var ut=Fe.props.eventKey,rt=Fe.props.context.keyEntities,Tt=rt[ut]||{},Bt=Tt.children;return!!(Bt||[]).length},Fe.isLeaf=function(){var ut=Fe.props,rt=ut.isLeaf,Tt=ut.loaded,Bt=Fe.props.context.loadData,en=Fe.hasChildren();return rt===!1?!1:rt||!Bt&&!en||Bt&&Tt&&!en},Fe.isDisabled=function(){var ut=Fe.props.disabled,rt=Fe.props.context.disabled;return!!(rt||ut)},Fe.isCheckable=function(){var ut=Fe.props.checkable,rt=Fe.props.context.checkable;return!rt||ut===!1?!1:rt},Fe.syncLoadData=function(ut){var rt=ut.expanded,Tt=ut.loading,Bt=ut.loaded,en=Fe.props.context,ct=en.loadData,Ie=en.onNodeLoad;Tt||ct&&rt&&!Fe.isLeaf()&&!Fe.hasChildren()&&!Bt&&Ie((0,Ee.F)(Fe.props))},Fe.isDraggable=function(){var ut=Fe.props,rt=ut.data,Tt=ut.context.draggable;return!!(Tt&&(!Tt.nodeDraggable||Tt.nodeDraggable(rt)))},Fe.renderDragHandler=function(){var ut=Fe.props.context,rt=ut.draggable,Tt=ut.prefixCls;return rt!=null&&rt.icon?Pe.createElement("span",{className:"".concat(Tt,"-draggable-icon")},rt.icon):null},Fe.renderSwitcherIconDom=function(ut){var rt=Fe.props.switcherIcon,Tt=Fe.props.context.switcherIcon,Bt=rt||Tt;return typeof Bt=="function"?Bt((0,et.Z)((0,et.Z)({},Fe.props),{},{isLeaf:ut})):Bt},Fe.renderSwitcher=function(){var ut=Fe.props.expanded,rt=Fe.props.context.prefixCls;if(Fe.isLeaf()){var Tt=Fe.renderSwitcherIconDom(!0);return Tt!==!1?Pe.createElement("span",{className:fe()("".concat(rt,"-switcher"),"".concat(rt,"-switcher-noop"))},Tt):null}var Bt=fe()("".concat(rt,"-switcher"),"".concat(rt,"-switcher_").concat(ut?Rt:tt)),en=Fe.renderSwitcherIconDom(!1);return en!==!1?Pe.createElement("span",{onClick:Fe.onExpand,className:Bt},en):null},Fe.renderCheckbox=function(){var ut=Fe.props,rt=ut.checked,Tt=ut.halfChecked,Bt=ut.disableCheckbox,en=Fe.props.context.prefixCls,ct=Fe.isDisabled(),Ie=Fe.isCheckable();if(!Ie)return null;var Mt=typeof Ie!="boolean"?Ie:null;return Pe.createElement("span",{className:fe()("".concat(en,"-checkbox"),rt&&"".concat(en,"-checkbox-checked"),!rt&&Tt&&"".concat(en,"-checkbox-indeterminate"),(ct||Bt)&&"".concat(en,"-checkbox-disabled")),onClick:Fe.onCheck},Mt)},Fe.renderIcon=function(){var ut=Fe.props.loading,rt=Fe.props.context.prefixCls;return Pe.createElement("span",{className:fe()("".concat(rt,"-iconEle"),"".concat(rt,"-icon__").concat(Fe.getNodeState()||"docu"),ut&&"".concat(rt,"-icon_loading"))})},Fe.renderSelector=function(){var ut=Fe.state.dragNodeHighlight,rt=Fe.props,Tt=rt.title,Bt=Tt===void 0?st:Tt,en=rt.selected,ct=rt.icon,Ie=rt.loading,Mt=rt.data,vn=Fe.props.context,qt=vn.prefixCls,Nt=vn.showIcon,Kt=vn.icon,nn=vn.loadData,Cn=vn.titleRender,Sn=Fe.isDisabled(),tn="".concat(qt,"-node-content-wrapper"),In;if(Nt){var br=ct||Kt;In=br?Pe.createElement("span",{className:fe()("".concat(qt,"-iconEle"),"".concat(qt,"-icon__customize"))},typeof br=="function"?br(Fe.props):br):Fe.renderIcon()}else nn&&Ie&&(In=Fe.renderIcon());var gn;typeof Bt=="function"?gn=Bt(Mt):Cn?gn=Cn(Mt):gn=Bt;var Ye=Pe.createElement("span",{className:"".concat(qt,"-title")},gn);return Pe.createElement("span",{ref:Fe.setSelectHandle,title:typeof Bt=="string"?Bt:"",className:fe()("".concat(tn),"".concat(tn,"-").concat(Fe.getNodeState()||"normal"),!Sn&&(en||ut)&&"".concat(qt,"-node-selected")),onMouseEnter:Fe.onMouseEnter,onMouseLeave:Fe.onMouseLeave,onContextMenu:Fe.onContextMenu,onClick:Fe.onSelectorClick,onDoubleClick:Fe.onSelectorDoubleClick},In,Ye,Fe.renderDropIndicator())},Fe.renderDropIndicator=function(){var ut=Fe.props,rt=ut.disabled,Tt=ut.eventKey,Bt=Fe.props.context,en=Bt.draggable,ct=Bt.dropLevelOffset,Ie=Bt.dropPosition,Mt=Bt.prefixCls,vn=Bt.indent,qt=Bt.dropIndicatorRender,Nt=Bt.dragOverNodeKey,Kt=Bt.direction,nn=!!en,Cn=!rt&&nn&&Nt===Tt;return Cn?qt({dropPosition:Ie,dropLevelOffset:ct,indent:vn,prefixCls:Mt,direction:Kt}):null},Fe}return(0,ke.Z)(yt,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Be=this.props.selectable,mt=this.props.context.selectable;return typeof Be=="boolean"?Be:mt}},{key:"render",value:function(){var Be,mt=this.props,ze=mt.eventKey,ut=mt.className,rt=mt.style,Tt=mt.dragOver,Bt=mt.dragOverGapTop,en=mt.dragOverGapBottom,ct=mt.isLeaf,Ie=mt.isStart,Mt=mt.isEnd,vn=mt.expanded,qt=mt.selected,Nt=mt.checked,Kt=mt.halfChecked,nn=mt.loading,Cn=mt.domRef,Sn=mt.active,tn=mt.data,In=mt.onMouseMove,br=mt.selectable,gn=(0,Me.Z)(mt,wt),Ye=this.props.context,ve=Ye.prefixCls,he=Ye.filterTreeNode,be=Ye.keyEntities,ge=Ye.dropContainerKey,se=Ye.dropTargetKey,je=Ye.draggingNodeKey,xt=this.isDisabled(),En=(0,Ge.Z)(gn,{aria:!0,data:!0}),un=be[ze]||{},Pn=un.level,Xn=Mt[Mt.length-1],_n=this.isDraggable(),Vt=!xt&&_n,yn=je===ze,Kn=br!==void 0?{"aria-selected":!!br}:void 0;return Pe.createElement("div",(0,ne.Z)({ref:Cn,className:fe()(ut,"".concat(ve,"-treenode"),(Be={},(0,de.Z)(Be,"".concat(ve,"-treenode-disabled"),xt),(0,de.Z)(Be,"".concat(ve,"-treenode-switcher-").concat(vn?"open":"close"),!ct),(0,de.Z)(Be,"".concat(ve,"-treenode-checkbox-checked"),Nt),(0,de.Z)(Be,"".concat(ve,"-treenode-checkbox-indeterminate"),Kt),(0,de.Z)(Be,"".concat(ve,"-treenode-selected"),qt),(0,de.Z)(Be,"".concat(ve,"-treenode-loading"),nn),(0,de.Z)(Be,"".concat(ve,"-treenode-active"),Sn),(0,de.Z)(Be,"".concat(ve,"-treenode-leaf-last"),Xn),(0,de.Z)(Be,"".concat(ve,"-treenode-draggable"),_n),(0,de.Z)(Be,"dragging",yn),(0,de.Z)(Be,"drop-target",se===ze),(0,de.Z)(Be,"drop-container",ge===ze),(0,de.Z)(Be,"drag-over",!xt&&Tt),(0,de.Z)(Be,"drag-over-gap-top",!xt&&Bt),(0,de.Z)(Be,"drag-over-gap-bottom",!xt&&en),(0,de.Z)(Be,"filter-node",he&&he((0,Ee.F)(this.props))),Be)),style:rt,draggable:Vt,"aria-grabbed":yn,onDragStart:Vt?this.onDragStart:void 0,onDragEnter:_n?this.onDragEnter:void 0,onDragOver:_n?this.onDragOver:void 0,onDragLeave:_n?this.onDragLeave:void 0,onDrop:_n?this.onDrop:void 0,onDragEnd:_n?this.onDragEnd:void 0,onMouseMove:In},Kn,En),Pe.createElement(vt,{prefixCls:ve,level:Pn,isStart:Ie,isEnd:Mt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),yt}(Pe.Component),ue=function(ht){return Pe.createElement(pt.k.Consumer,null,function(yt){return Pe.createElement(ye,(0,ne.Z)({},ht,{context:yt}))})};ue.displayName="TreeNode",ue.isTreeNode=1;var $e=ue},27822:function(Hn,sn,ee){"use strict";ee.d(sn,{k:function(){return de}});var ne=ee(67294),de=ne.createContext(null)},10225:function(Hn,sn,ee){"use strict";ee.d(sn,{BT:function(){return vt},Ds:function(){return Xe},E6:function(){return Rt},L0:function(){return Se},OM:function(){return ot},_5:function(){return ce},bt:function(){return Pe},r7:function(){return tt},wA:function(){return fe},yx:function(){return me}});var ne=ee(74902),de=ee(71002),Me=ee(67294),et=ee(80334),we=ee(86128),ke=null;function ce(st,ye){if(!st)return[];var ue=st.slice(),$e=ue.indexOf(ye);return $e>=0&&ue.splice($e,1),ue}function Se(st,ye){var ue=(st||[]).slice();return ue.indexOf(ye)===-1&&ue.push(ye),ue}function me(st){return st.split("-")}function Pe(st,ye){return"".concat(st,"-").concat(ye)}function Xe(st){return st&&st.type&&st.type.isTreeNode}function fe(st,ye){var ue=[],$e=ye[st];function Je(){var ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ht.forEach(function(yt){var Fe=yt.key,Be=yt.children;ue.push(Fe),Je(Be)})}return Je($e.children),ue}function Ge(st){if(st.parent){var ye=me(st.pos);return Number(ye[ye.length-1])===st.parent.children.length-1}return!1}function pt(st){var ye=me(st.pos);return Number(ye[ye.length-1])===0}function ot(st,ye,ue,$e,Je,ht,yt,Fe,Be,mt){var ze,ut=st.clientX,rt=st.clientY,Tt=st.target.getBoundingClientRect(),Bt=Tt.top,en=Tt.height,ct=(mt==="rtl"?-1:1)*(((Je==null?void 0:Je.x)||0)-ut),Ie=(ct-12)/$e,Mt=Fe[ue.props.eventKey];if(rt<Bt+en/2){var vn=yt.findIndex(function(ve){return ve.key===Mt.key}),qt=vn<=0?0:vn-1,Nt=yt[qt].key;Mt=Fe[Nt]}var Kt=Mt.key,nn=Mt,Cn=Mt.key,Sn=0,tn=0;if(!Be.includes(Kt))for(var In=0;In<Ie&&Ge(Mt);In+=1)Mt=Mt.parent,tn+=1;var br=ye.props.data,gn=Mt.node,Ye=!0;return pt(Mt)&&Mt.level===0&&rt<Bt+en/2&&ht({dragNode:br,dropNode:gn,dropPosition:-1})&&Mt.key===ue.props.eventKey?Sn=-1:(nn.children||[]).length&&Be.includes(Cn)?ht({dragNode:br,dropNode:gn,dropPosition:0})?Sn=0:Ye=!1:tn===0?Ie>-1.5?ht({dragNode:br,dropNode:gn,dropPosition:1})?Sn=1:Ye=!1:ht({dragNode:br,dropNode:gn,dropPosition:0})?Sn=0:ht({dragNode:br,dropNode:gn,dropPosition:1})?Sn=1:Ye=!1:ht({dragNode:br,dropNode:gn,dropPosition:1})?Sn=1:Ye=!1,{dropPosition:Sn,dropLevelOffset:tn,dropTargetKey:Mt.key,dropTargetPos:Mt.pos,dragOverNodeKey:Cn,dropContainerKey:Sn===0?null:((ze=Mt.parent)===null||ze===void 0?void 0:ze.key)||null,dropAllowed:Ye}}function vt(st,ye){if(st){var ue=ye.multiple;return ue?st.slice():st.length?[st[0]]:st}}var Ee=function(ye){return ye};function wt(st,ye){if(!st)return[];var ue=ye||{},$e=ue.processProps,Je=$e===void 0?Ee:$e,ht=Array.isArray(st)?st:[st];return ht.map(function(yt){var Fe=yt.children,Be=_objectWithoutProperties(yt,ke),mt=wt(Fe,ye);return React.createElement(TreeNode,_extends({key:Be.key},Je(Be)),mt)})}function Rt(st){if(!st)return null;var ye;if(Array.isArray(st))ye={checkedKeys:st,halfCheckedKeys:void 0};else if((0,de.Z)(st)==="object")ye={checkedKeys:st.checked||void 0,halfCheckedKeys:st.halfChecked||void 0};else return(0,et.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ye}function tt(st,ye){var ue=new Set;function $e(Je){if(!ue.has(Je)){var ht=ye[Je];if(ht){ue.add(Je);var yt=ht.parent,Fe=ht.node;Fe.disabled||yt&&$e(yt.key)}}}return(st||[]).forEach(function(Je){$e(Je)}),(0,ne.Z)(ue)}},17341:function(Hn,sn,ee){"use strict";ee.d(sn,{S:function(){return ke}});var ne=ee(80334);function de(ce,Se){var me=new Set;return ce.forEach(function(Pe){Se.has(Pe)||me.add(Pe)}),me}function Me(ce){var Se=ce||{},me=Se.disabled,Pe=Se.disableCheckbox,Xe=Se.checkable;return!!(me||Pe)||Xe===!1}function et(ce,Se,me,Pe){for(var Xe=new Set(ce),fe=new Set,Ge=0;Ge<=me;Ge+=1){var pt=Se.get(Ge)||new Set;pt.forEach(function(wt){var Rt=wt.key,tt=wt.node,st=wt.children,ye=st===void 0?[]:st;Xe.has(Rt)&&!Pe(tt)&&ye.filter(function(ue){return!Pe(ue.node)}).forEach(function(ue){Xe.add(ue.key)})})}for(var ot=new Set,vt=me;vt>=0;vt-=1){var Ee=Se.get(vt)||new Set;Ee.forEach(function(wt){var Rt=wt.parent,tt=wt.node;if(!(Pe(tt)||!wt.parent||ot.has(wt.parent.key))){if(Pe(wt.parent.node)){ot.add(Rt.key);return}var st=!0,ye=!1;(Rt.children||[]).filter(function(ue){return!Pe(ue.node)}).forEach(function(ue){var $e=ue.key,Je=Xe.has($e);st&&!Je&&(st=!1),!ye&&(Je||fe.has($e))&&(ye=!0)}),st&&Xe.add(Rt.key),ye&&fe.add(Rt.key),ot.add(Rt.key)}})}return{checkedKeys:Array.from(Xe),halfCheckedKeys:Array.from(de(fe,Xe))}}function we(ce,Se,me,Pe,Xe){for(var fe=new Set(ce),Ge=new Set(Se),pt=0;pt<=Pe;pt+=1){var ot=me.get(pt)||new Set;ot.forEach(function(Rt){var tt=Rt.key,st=Rt.node,ye=Rt.children,ue=ye===void 0?[]:ye;!fe.has(tt)&&!Ge.has(tt)&&!Xe(st)&&ue.filter(function($e){return!Xe($e.node)}).forEach(function($e){fe.delete($e.key)})})}Ge=new Set;for(var vt=new Set,Ee=Pe;Ee>=0;Ee-=1){var wt=me.get(Ee)||new Set;wt.forEach(function(Rt){var tt=Rt.parent,st=Rt.node;if(!(Xe(st)||!Rt.parent||vt.has(Rt.parent.key))){if(Xe(Rt.parent.node)){vt.add(tt.key);return}var ye=!0,ue=!1;(tt.children||[]).filter(function($e){return!Xe($e.node)}).forEach(function($e){var Je=$e.key,ht=fe.has(Je);ye&&!ht&&(ye=!1),!ue&&(ht||Ge.has(Je))&&(ue=!0)}),ye||fe.delete(tt.key),ue&&Ge.add(tt.key),vt.add(tt.key)}})}return{checkedKeys:Array.from(fe),halfCheckedKeys:Array.from(de(Ge,fe))}}function ke(ce,Se,me,Pe){var Xe=[],fe;Pe?fe=Pe:fe=Me;var Ge=new Set(ce.filter(function(Ee){var wt=!!me[Ee];return wt||Xe.push(Ee),wt})),pt=new Map,ot=0;Object.keys(me).forEach(function(Ee){var wt=me[Ee],Rt=wt.level,tt=pt.get(Rt);tt||(tt=new Set,pt.set(Rt,tt)),tt.add(wt),ot=Math.max(ot,Rt)}),(0,ne.ZP)(!Xe.length,"Tree missing follow keys: ".concat(Xe.slice(0,100).map(function(Ee){return"'".concat(Ee,"'")}).join(", ")));var vt;return Se===!0?vt=et(Ge,pt,ot,fe):vt=we(Ge,Se.halfCheckedKeys,pt,ot,fe),vt}},1089:function(Hn,sn,ee){"use strict";ee.d(sn,{F:function(){return wt},H8:function(){return Ee},I8:function(){return vt},km:function(){return Pe},oH:function(){return pt},w$:function(){return Xe},zn:function(){return Ge}});var ne=ee(71002),de=ee(74902),Me=ee(1413),et=ee(45987),we=ee(98423),ke=ee(50344),ce=ee(80334),Se=ee(10225),me=["children"];function Pe(Rt,tt){return Rt!=null?Rt:tt}function Xe(Rt){var tt=Rt||{},st=tt.title,ye=tt._title,ue=tt.key,$e=tt.children,Je=st||"title";return{title:Je,_title:ye||[Je],key:ue||"key",children:$e||"children"}}function fe(Rt,tt){var st=new Map;function ye(ue){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ue||[]).forEach(function(Je){var ht=Je[tt.key],yt=Je[tt.children];warning(ht!=null,"Tree node must have a certain key: [".concat($e).concat(ht,"]"));var Fe=String(ht);warning(!st.has(Fe)||ht===null||ht===void 0,"Same 'key' exist in the Tree: ".concat(Fe)),st.set(Fe,!0),ye(yt,"".concat($e).concat(Fe," > "))})}ye(Rt)}function Ge(Rt){function tt(st){var ye=(0,ke.Z)(st);return ye.map(function(ue){if(!(0,Se.Ds)(ue))return(0,ce.ZP)(!ue,"Tree/TreeNode can only accept TreeNode as children."),null;var $e=ue.key,Je=ue.props,ht=Je.children,yt=(0,et.Z)(Je,me),Fe=(0,Me.Z)({key:$e},yt),Be=tt(ht);return Be.length&&(Fe.children=Be),Fe}).filter(function(ue){return ue})}return tt(Rt)}function pt(Rt,tt,st){var ye=Xe(st),ue=ye._title,$e=ye.key,Je=ye.children,ht=new Set(tt===!0?[]:tt),yt=[];function Fe(Be){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Be.map(function(ze,ut){for(var rt=(0,Se.bt)(mt?mt.pos:"0",ut),Tt=Pe(ze[$e],rt),Bt,en=0;en<ue.length;en+=1){var ct=ue[en];if(ze[ct]!==void 0){Bt=ze[ct];break}}var Ie=(0,Me.Z)((0,Me.Z)({},(0,we.Z)(ze,[].concat((0,de.Z)(ue),[$e,Je]))),{},{title:Bt,key:Tt,parent:mt,pos:rt,children:null,data:ze,isStart:[].concat((0,de.Z)(mt?mt.isStart:[]),[ut===0]),isEnd:[].concat((0,de.Z)(mt?mt.isEnd:[]),[ut===Be.length-1])});return yt.push(Ie),tt===!0||ht.has(Tt)?Ie.children=Fe(ze[Je]||[],Ie):Ie.children=[],Ie})}return Fe(Rt),yt}function ot(Rt,tt,st){var ye={};(0,ne.Z)(st)==="object"?ye=st:ye={externalGetKey:st},ye=ye||{};var ue=ye,$e=ue.childrenPropName,Je=ue.externalGetKey,ht=ue.fieldNames,yt=Xe(ht),Fe=yt.key,Be=yt.children,mt=$e||Be,ze;Je?typeof Je=="string"?ze=function(Tt){return Tt[Je]}:typeof Je=="function"&&(ze=function(Tt){return Je(Tt)}):ze=function(Tt,Bt){return Pe(Tt[Fe],Bt)};function ut(rt,Tt,Bt,en){var ct=rt?rt[mt]:Rt,Ie=rt?(0,Se.bt)(Bt.pos,Tt):"0",Mt=rt?[].concat((0,de.Z)(en),[rt]):[];if(rt){var vn=ze(rt,Ie),qt={node:rt,index:Tt,pos:Ie,key:vn,parentPos:Bt.node?Bt.pos:null,level:Bt.level+1,nodes:Mt};tt(qt)}ct&&ct.forEach(function(Nt,Kt){ut(Nt,Kt,{node:rt,pos:Ie,level:Bt?Bt.level+1:-1},Mt)})}ut(null)}function vt(Rt){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},st=tt.initWrapper,ye=tt.processEntity,ue=tt.onProcessFinished,$e=tt.externalGetKey,Je=tt.childrenPropName,ht=tt.fieldNames,yt=arguments.length>2?arguments[2]:void 0,Fe=$e||yt,Be={},mt={},ze={posEntities:Be,keyEntities:mt};return st&&(ze=st(ze)||ze),ot(Rt,function(ut){var rt=ut.node,Tt=ut.index,Bt=ut.pos,en=ut.key,ct=ut.parentPos,Ie=ut.level,Mt=ut.nodes,vn={node:rt,nodes:Mt,index:Tt,key:en,pos:Bt,level:Ie},qt=Pe(en,Bt);Be[Bt]=vn,mt[qt]=vn,vn.parent=Be[ct],vn.parent&&(vn.parent.children=vn.parent.children||[],vn.parent.children.push(vn)),ye&&ye(vn,ze)},{externalGetKey:Fe,childrenPropName:Je,fieldNames:ht}),ue&&ue(ze),ze}function Ee(Rt,tt){var st=tt.expandedKeys,ye=tt.selectedKeys,ue=tt.loadedKeys,$e=tt.loadingKeys,Je=tt.checkedKeys,ht=tt.halfCheckedKeys,yt=tt.dragOverNodeKey,Fe=tt.dropPosition,Be=tt.keyEntities,mt=Be[Rt],ze={eventKey:Rt,expanded:st.indexOf(Rt)!==-1,selected:ye.indexOf(Rt)!==-1,loaded:ue.indexOf(Rt)!==-1,loading:$e.indexOf(Rt)!==-1,checked:Je.indexOf(Rt)!==-1,halfChecked:ht.indexOf(Rt)!==-1,pos:String(mt?mt.pos:""),dragOver:yt===Rt&&Fe===0,dragOverGapTop:yt===Rt&&Fe===-1,dragOverGapBottom:yt===Rt&&Fe===1};return ze}function wt(Rt){var tt=Rt.data,st=Rt.expanded,ye=Rt.selected,ue=Rt.checked,$e=Rt.loaded,Je=Rt.loading,ht=Rt.halfChecked,yt=Rt.dragOver,Fe=Rt.dragOverGapTop,Be=Rt.dragOverGapBottom,mt=Rt.pos,ze=Rt.active,ut=Rt.eventKey,rt=(0,Me.Z)((0,Me.Z)({},tt),{},{expanded:st,selected:ye,checked:ue,loaded:$e,loading:Je,halfChecked:ht,dragOver:yt,dragOverGapTop:Fe,dragOverGapBottom:Be,pos:mt,active:ze,key:ut});return"props"in rt||Object.defineProperty(rt,"props",{get:function(){return(0,ce.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Rt}}),rt}},66680:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return de}});var ne=ee(67294);function de(Me){var et=ne.useRef();et.current=Me;var we=ne.useCallback(function(){for(var ke,ce=arguments.length,Se=new Array(ce),me=0;me<ce;me++)Se[me]=arguments[me];return(ke=et.current)===null||ke===void 0?void 0:ke.call.apply(ke,[et].concat(Se))},[]);return we}},21770:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ke}});var ne=ee(97685),de=ee(66680),Me=ee(8410),et=ee(63896);function we(ce){return ce!==void 0}function ke(ce,Se){var me=Se||{},Pe=me.defaultValue,Xe=me.value,fe=me.onChange,Ge=me.postState,pt=(0,et.Z)(function(){return we(Xe)?Xe:we(Pe)?typeof Pe=="function"?Pe():Pe:typeof ce=="function"?ce():ce}),ot=(0,ne.Z)(pt,2),vt=ot[0],Ee=ot[1],wt=Xe!==void 0?Xe:vt,Rt=Ge?Ge(wt):wt,tt=(0,de.Z)(fe),st=(0,et.Z)([wt]),ye=(0,ne.Z)(st,2),ue=ye[0],$e=ye[1];(0,Me.o)(function(){var ht=ue[0];vt!==ht&&tt(vt,ht)},[ue]),(0,Me.o)(function(){we(Xe)||Ee(Xe)},[Xe]);var Je=(0,de.Z)(function(ht,yt){Ee(ht,yt),$e([wt],yt)});return[Rt,Je]}},91881:function(Hn,sn,ee){"use strict";var ne=ee(71002),de=ee(80334);function Me(et,we){var ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ce=new Set;function Se(me,Pe){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,fe=ce.has(me);if((0,de.ZP)(!fe,"Warning: There may be circular references"),fe)return!1;if(me===Pe)return!0;if(ke&&Xe>1)return!1;ce.add(me);var Ge=Xe+1;if(Array.isArray(me)){if(!Array.isArray(Pe)||me.length!==Pe.length)return!1;for(var pt=0;pt<me.length;pt++)if(!Se(me[pt],Pe[pt],Ge))return!1;return!0}if(me&&Pe&&(0,ne.Z)(me)==="object"&&(0,ne.Z)(Pe)==="object"){var ot=Object.keys(me);return ot.length!==Object.keys(Pe).length?!1:ot.every(function(vt){return Se(me[vt],Pe[vt],Ge)})}return!1}return Se(et,we)}sn.Z=Me},98423:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return de}});var ne=ee(1413);function de(Me,et){var we=(0,ne.Z)({},Me);return Array.isArray(et)&&et.forEach(function(ke){delete we[ke]}),we}},64217:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Se}});var ne=ee(1413),de=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Me=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,et="".concat(de," ").concat(Me).split(/[\s\n]+/),we="aria-",ke="data-";function ce(me,Pe){return me.indexOf(Pe)===0}function Se(me){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe;Pe===!1?Xe={aria:!0,data:!0,attr:!0}:Pe===!0?Xe={aria:!0}:Xe=(0,ne.Z)({},Pe);var fe={};return Object.keys(me).forEach(function(Ge){(Xe.aria&&(Ge==="role"||ce(Ge,we))||Xe.data&&ce(Ge,ke)||Xe.attr&&et.includes(Ge))&&(fe[Ge]=me[Ge])}),fe}},73299:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return fi}});var ne=ee(87462),de=ee(1413),Me=ee(71002),et=ee(97685),we=ee(4942),ke=ee(45987),ce=ee(67294),Se=ee(73935),me=ee(94184),Pe=ee.n(me),Xe=ee(48555),fe=ce.forwardRef(function(Tn,bn){var ir=Tn.height,Cr=Tn.offsetY,Or=Tn.offsetX,Lr=Tn.children,sa=Tn.prefixCls,pn=Tn.onInnerResize,At=Tn.innerProps,Zt=Tn.rtl,on=Tn.extra,Yn={},Dt={display:"flex",flexDirection:"column"};if(Cr!==void 0){var fn;Yn={height:ir,position:"relative",overflow:"hidden"},Dt=(0,de.Z)((0,de.Z)({},Dt),{},(fn={transform:"translateY(".concat(Cr,"px)")},(0,we.Z)(fn,Zt?"marginRight":"marginLeft",-Or),(0,we.Z)(fn,"position","absolute"),(0,we.Z)(fn,"left",0),(0,we.Z)(fn,"right",0),(0,we.Z)(fn,"top",0),fn))}return ce.createElement("div",{style:Yn},ce.createElement(Xe.Z,{onResize:function(kn){var rr=kn.offsetHeight;rr&&pn&&pn()}},ce.createElement("div",(0,ne.Z)({style:Dt,className:Pe()((0,we.Z)({},"".concat(sa,"-holder-inner"),sa)),ref:bn},At),Lr,on)))});fe.displayName="Filler";var Ge=fe,pt=function(bn){return+setTimeout(bn,16)},ot=function(bn){return clearTimeout(bn)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(pt=function(bn){return window.requestAnimationFrame(bn)},ot=function(bn){return window.cancelAnimationFrame(bn)});var vt=0,Ee=new Map;function wt(Tn){Ee.delete(Tn)}var Rt=function(bn){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;vt+=1;var Cr=vt;function Or(Lr){if(Lr===0)wt(Cr),bn();else{var sa=pt(function(){Or(Lr-1)});Ee.set(Cr,sa)}}return Or(ir),Cr};Rt.cancel=function(Tn){var bn=Ee.get(Tn);return wt(bn),ot(bn)};var tt=Rt;function st(Tn,bn){var ir="touches"in Tn?Tn.touches[0]:Tn;return ir[bn?"pageX":"pageY"]}var ye=ce.forwardRef(function(Tn,bn){var ir,Cr=Tn.prefixCls,Or=Tn.rtl,Lr=Tn.scrollOffset,sa=Tn.scrollRange,pn=Tn.onStartMove,At=Tn.onStopMove,Zt=Tn.onScroll,on=Tn.horizontal,Yn=Tn.spinSize,Dt=Tn.containerSize,fn=Tn.style,Vn=Tn.thumbStyle,kn=ce.useState(!1),rr=(0,et.Z)(kn,2),fr=rr[0],mn=rr[1],Ta=ce.useState(null),ha=(0,et.Z)(Ta,2),ya=ha[0],Sa=ha[1],Ma=ce.useState(null),pa=(0,et.Z)(Ma,2),Er=pa[0],qr=pa[1],Hi=!Or,Fi=ce.useRef(),$a=ce.useRef(),ni=ce.useState(!1),no=(0,et.Z)(ni,2),oi=no[0],so=no[1],ta=ce.useRef(),to=function(){clearTimeout(ta.current),so(!0),ta.current=setTimeout(function(){so(!1)},3e3)},xo=sa-Dt||0,xl=Dt-Yn||0,ll=xo>0,Uo=ce.useMemo(function(){if(Lr===0||xo===0)return 0;var ko=Lr/xo;return ko*xl},[Lr,xo,xl]),co=function(Pi){Pi.stopPropagation(),Pi.preventDefault()},wl=ce.useRef({top:Uo,dragging:fr,pageY:ya,startTop:Er});wl.current={top:Uo,dragging:fr,pageY:ya,startTop:Er};var Yo=function(Pi){mn(!0),Sa(st(Pi,on)),qr(wl.current.top),pn(),Pi.stopPropagation(),Pi.preventDefault()};ce.useEffect(function(){var ko=function(Mn){Mn.preventDefault()},Pi=Fi.current,Ci=$a.current;return Pi.addEventListener("touchstart",ko),Ci.addEventListener("touchstart",Yo),function(){Pi.removeEventListener("touchstart",ko),Ci.removeEventListener("touchstart",Yo)}},[]);var gl=ce.useRef();gl.current=xo;var zl=ce.useRef();zl.current=xl,ce.useEffect(function(){if(fr){var ko,Pi=function(Mn){var dr=wl.current,Qr=dr.dragging,va=dr.pageY,pi=dr.startTop;if(tt.cancel(ko),Qr){var Ai=st(Mn,on)-va,Vi=pi;!Hi&&on?Vi-=Ai:Vi+=Ai;var ui=gl.current,Di=zl.current,Eo=Di?Vi/Di:0,Zo=Math.ceil(Eo*ui);Zo=Math.max(Zo,0),Zo=Math.min(Zo,ui),ko=tt(function(){Zt(Zo,on)})}},Ci=function(){mn(!1),At()};return window.addEventListener("mousemove",Pi),window.addEventListener("touchmove",Pi),window.addEventListener("mouseup",Ci),window.addEventListener("touchend",Ci),function(){window.removeEventListener("mousemove",Pi),window.removeEventListener("touchmove",Pi),window.removeEventListener("mouseup",Ci),window.removeEventListener("touchend",Ci),tt.cancel(ko)}}},[fr]),ce.useEffect(function(){to()},[Lr]),ce.useImperativeHandle(bn,function(){return{delayHidden:to}});var Sl="".concat(Cr,"-scrollbar"),Cl={position:"absolute",visibility:oi&&ll?null:"hidden"},wi={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return on?(Cl.height=8,Cl.left=0,Cl.right=0,Cl.bottom=0,wi.height="100%",wi.width=Yn,Hi?wi.left=Uo:wi.right=Uo):(Cl.width=8,Cl.top=0,Cl.bottom=0,Hi?Cl.right=0:Cl.left=0,wi.width="100%",wi.height=Yn,wi.top=Uo),ce.createElement("div",{ref:Fi,className:Pe()(Sl,(ir={},(0,we.Z)(ir,"".concat(Sl,"-horizontal"),on),(0,we.Z)(ir,"".concat(Sl,"-vertical"),!on),(0,we.Z)(ir,"".concat(Sl,"-visible"),oi),ir)),style:(0,de.Z)((0,de.Z)({},Cl),fn),onMouseDown:co,onMouseMove:to},ce.createElement("div",{ref:$a,className:Pe()("".concat(Sl,"-thumb"),(0,we.Z)({},"".concat(Sl,"-thumb-moving"),fr)),style:(0,de.Z)((0,de.Z)({},wi),Vn),onMouseDown:Yo}))}),ue=ye;function $e(Tn){var bn=Tn.children,ir=Tn.setRef,Cr=ce.useCallback(function(Or){ir(Or)},[]);return ce.cloneElement(bn,{ref:Cr})}function Je(Tn,bn,ir,Cr,Or,Lr,sa){var pn=sa.getKey;return Tn.slice(bn,ir+1).map(function(At,Zt){var on=bn+Zt,Yn=Lr(At,on,{style:{width:Cr}}),Dt=pn(At);return ce.createElement($e,{key:Dt,setRef:function(Vn){return Or(At,Vn)}},Yn)})}function ht(Tn){return Tn instanceof HTMLElement||Tn instanceof SVGElement}function yt(Tn){return ht(Tn)?Tn:Tn instanceof ce.Component?Se.findDOMNode(Tn):null}var Fe=ee(15671),Be=ee(43144),mt=function(){function Tn(){(0,Fe.Z)(this,Tn),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,Be.Z)(Tn,[{key:"set",value:function(ir,Cr){this.maps[ir]=Cr,this.id+=1}},{key:"get",value:function(ir){return this.maps[ir]}}]),Tn}(),ze=mt;function ut(Tn,bn,ir){var Cr=ce.useState(0),Or=(0,et.Z)(Cr,2),Lr=Or[0],sa=Or[1],pn=(0,ce.useRef)(new Map),At=(0,ce.useRef)(new ze),Zt=(0,ce.useRef)();function on(){tt.cancel(Zt.current)}function Yn(){var fn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;on();var Vn=function(){pn.current.forEach(function(rr,fr){if(rr&&rr.offsetParent){var mn=yt(rr),Ta=mn.offsetHeight;At.current.get(fr)!==Ta&&At.current.set(fr,mn.offsetHeight)}}),sa(function(rr){return rr+1})};fn?Vn():Zt.current=tt(Vn)}function Dt(fn,Vn){var kn=Tn(fn),rr=pn.current.get(kn);Vn?(pn.current.set(kn,Vn),Yn()):pn.current.delete(kn),!rr!=!Vn&&(Vn?bn==null||bn(fn):ir==null||ir(fn))}return(0,ce.useEffect)(function(){return on},[]),[Dt,Yn,At.current,Lr]}function rt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Tt=rt()?ce.useLayoutEffect:ce.useEffect,Bt=function(bn,ir){var Cr=ce.useRef(!0);Tt(function(){return bn(Cr.current)},ir),Tt(function(){return Cr.current=!1,function(){Cr.current=!0}},[])},en=function(bn,ir){Bt(function(Cr){if(!Cr)return bn()},ir)},ct=Bt;function Ie(Tn){var bn=ce.useRef();bn.current=Tn;var ir=ce.useCallback(function(){for(var Cr,Or=arguments.length,Lr=new Array(Or),sa=0;sa<Or;sa++)Lr[sa]=arguments[sa];return(Cr=bn.current)===null||Cr===void 0?void 0:Cr.call.apply(Cr,[bn].concat(Lr))},[]);return ir}function Mt(Tn){var bn=React.useRef(!1),ir=React.useState(Tn),Cr=_slicedToArray(ir,2),Or=Cr[0],Lr=Cr[1];React.useEffect(function(){return bn.current=!1,function(){bn.current=!0}},[]);function sa(pn,At){At&&bn.current||Lr(pn)}return[Or,sa]}function vn(Tn){return Tn!==void 0}function qt(Tn,bn){var ir=bn||{},Cr=ir.defaultValue,Or=ir.value,Lr=ir.onChange,sa=ir.postState,pn=useState(function(){return vn(Or)?Or:vn(Cr)?typeof Cr=="function"?Cr():Cr:typeof Tn=="function"?Tn():Tn}),At=_slicedToArray(pn,2),Zt=At[0],on=At[1],Yn=Or!==void 0?Or:Zt,Dt=sa?sa(Yn):Yn,fn=useEvent(Lr),Vn=useState([Yn]),kn=_slicedToArray(Vn,2),rr=kn[0],fr=kn[1];useLayoutUpdateEffect(function(){var Ta=rr[0];Zt!==Ta&&fn(Zt,Ta)},[rr]),useLayoutUpdateEffect(function(){vn(Or)||on(Or)},[Or]);var mn=useEvent(function(Ta,ha){on(Ta,ha),fr([Yn],ha)});return[Dt,mn]}var Nt=ee(31461);function Kt(Tn,bn,ir){var Cr=React.useRef({});return(!("value"in Cr.current)||ir(Cr.current.condition,bn))&&(Cr.current.value=Tn(),Cr.current.condition=bn),Cr.current.value}function nn(Tn,bn){typeof Tn=="function"?Tn(bn):_typeof(Tn)==="object"&&Tn&&"current"in Tn&&(Tn.current=bn)}function Cn(){for(var Tn=arguments.length,bn=new Array(Tn),ir=0;ir<Tn;ir++)bn[ir]=arguments[ir];var Cr=bn.filter(function(Or){return Or});return Cr.length<=1?Cr[0]:function(Or){bn.forEach(function(Lr){nn(Lr,Or)})}}function Sn(){for(var Tn=arguments.length,bn=new Array(Tn),ir=0;ir<Tn;ir++)bn[ir]=arguments[ir];return useMemo(function(){return Cn.apply(void 0,bn)},bn,function(Cr,Or){return Cr.length!==Or.length||Cr.every(function(Lr,sa){return Lr!==Or[sa]})})}function tn(Tn){var bn,ir,Cr=isMemo(Tn)?Tn.type.type:Tn.type;return!(typeof Cr=="function"&&!((bn=Cr.prototype)!==null&&bn!==void 0&&bn.render)||typeof Tn=="function"&&!((ir=Tn.prototype)!==null&&ir!==void 0&&ir.render))}function In(Tn){return!isValidElement(Tn)||isFragment(Tn)?!1:tn(Tn)}function br(Tn,bn,ir,Cr){if(!bn.length)return ir;var Or=_toArray(bn),Lr=Or[0],sa=Or.slice(1),pn;return!Tn&&typeof Lr=="number"?pn=[]:Array.isArray(Tn)?pn=_toConsumableArray(Tn):pn=_objectSpread({},Tn),Cr&&ir===void 0&&sa.length===1?delete pn[Lr][sa[0]]:pn[Lr]=br(pn[Lr],sa,ir,Cr),pn}function gn(Tn,bn,ir){var Cr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return bn.length&&Cr&&ir===void 0&&!get(Tn,bn.slice(0,-1))?Tn:br(Tn,bn,ir,Cr)}function Ye(Tn){return _typeof(Tn)==="object"&&Tn!==null&&Object.getPrototypeOf(Tn)===Object.prototype}function ve(Tn){return Array.isArray(Tn)?[]:{}}var he=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function be(){for(var Tn=arguments.length,bn=new Array(Tn),ir=0;ir<Tn;ir++)bn[ir]=arguments[ir];var Cr=ve(bn[0]);return bn.forEach(function(Or){function Lr(sa,pn){var At=new Set(pn),Zt=get(Or,sa),on=Array.isArray(Zt);if(on||Ye(Zt)){if(!At.has(Zt)){At.add(Zt);var Yn=get(Cr,sa);on?Cr=gn(Cr,sa,[]):(!Yn||_typeof(Yn)!=="object")&&(Cr=gn(Cr,sa,ve(Zt))),he(Zt).forEach(function(Dt){Lr([].concat(_toConsumableArray(sa),[Dt]),At)})}}else Cr=gn(Cr,sa,Zt)}Lr([])}),Cr}var ge={},se=[],je=function(bn){se.push(bn)};function xt(Tn,bn){if(0)var ir}function En(Tn,bn){if(0)var ir}function un(){ge={}}function Pn(Tn,bn,ir){!bn&&!ge[ir]&&(Tn(!1,ir),ge[ir]=!0)}function Xn(Tn,bn){Pn(xt,Tn,bn)}function _n(Tn,bn){Pn(En,Tn,bn)}Xn.preMessage=je,Xn.resetWarned=un,Xn.noteOnce=_n;var Vt=null,yn=10;function Kn(Tn,bn,ir,Cr,Or,Lr,sa,pn){var At=ce.useRef(),Zt=ce.useState(null),on=(0,et.Z)(Zt,2),Yn=on[0],Dt=on[1];return ct(function(){if(Yn&&Yn.times<yn){if(!Tn.current){Dt(function(to){return(0,de.Z)({},to)});return}Lr();var fn=Yn.targetAlign,Vn=Yn.originAlign,kn=Yn.index,rr=Yn.offset,fr=Tn.current.clientHeight,mn=!1,Ta=fn,ha=null;if(fr){for(var ya=fn||Vn,Sa=0,Ma=0,pa=0,Er=Math.min(bn.length-1,kn),qr=0;qr<=Er;qr+=1){var Hi=Or(bn[qr]);Ma=Sa;var Fi=ir.get(Hi);pa=Ma+(Fi===void 0?Cr:Fi),Sa=pa}for(var $a=ya==="top"?rr:fr-rr,ni=Er;ni>=0;ni-=1){var no=Or(bn[ni]),oi=ir.get(no);if(oi===void 0){mn=!0;break}if($a-=oi,$a<=0)break}switch(ya){case"top":ha=Ma-rr;break;case"bottom":ha=pa-fr+rr;break;default:{var so=Tn.current.scrollTop,ta=so+fr;Ma<so?Ta="top":pa>ta&&(Ta="bottom")}}ha!==null&&sa(ha),ha!==Yn.lastTop&&(mn=!0)}mn&&Dt(function(to){return(0,de.Z)((0,de.Z)({},to),{},{times:to.times+1,targetAlign:Ta,lastTop:ha})})}},[Yn,Tn.current]),function(fn){if(fn==null){pn();return}if(tt.cancel(At.current),typeof fn=="number")sa(fn);else if(fn&&(0,Me.Z)(fn)==="object"){var Vn,kn=fn.align;"index"in fn?Vn=fn.index:Vn=bn.findIndex(function(mn){return Or(mn)===fn.key});var rr=fn.offset,fr=rr===void 0?0:rr;Dt({times:0,index:Vn,offset:fr,originAlign:kn})}}}function On(Tn,bn,ir,Cr){var Or=ir-Tn,Lr=bn-ir,sa=Math.min(Or,Lr)*2;if(Cr<=sa){var pn=Math.floor(Cr/2);return Cr%2?ir+pn+1:ir-pn}return Or>Lr?ir-(Cr-Lr):ir+(Cr-Or)}function Qt(Tn,bn,ir){var Cr=Tn.length,Or=bn.length,Lr,sa;if(Cr===0&&Or===0)return null;Cr<Or?(Lr=Tn,sa=bn):(Lr=bn,sa=Tn);var pn={__EMPTY_ITEM__:!0};function At(Vn){return Vn!==void 0?ir(Vn):pn}for(var Zt=null,on=Math.abs(Cr-Or)!==1,Yn=0;Yn<sa.length;Yn+=1){var Dt=At(Lr[Yn]),fn=At(sa[Yn]);if(Dt!==fn){Zt=Yn,on=on||Dt!==At(sa[Yn+1]);break}}return Zt===null?null:{index:Zt,multiple:on}}function Dr(Tn,bn,ir){var Cr=ce.useState(Tn),Or=(0,et.Z)(Cr,2),Lr=Or[0],sa=Or[1],pn=ce.useState(null),At=(0,et.Z)(pn,2),Zt=At[0],on=At[1];return ce.useEffect(function(){var Yn=Qt(Lr||[],Tn||[],bn);(Yn==null?void 0:Yn.index)!==void 0&&(ir==null||ir(Yn.index),on(Tn[Yn.index])),sa(Tn)},[Tn]),[Zt]}var jt=(typeof navigator=="undefined"?"undefined":(0,Me.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),rn=jt,Ir=function(Tn,bn){var ir=(0,ce.useRef)(!1),Cr=(0,ce.useRef)(null);function Or(){clearTimeout(Cr.current),ir.current=!0,Cr.current=setTimeout(function(){ir.current=!1},50)}var Lr=(0,ce.useRef)({top:Tn,bottom:bn});return Lr.current.top=Tn,Lr.current.bottom=bn,function(sa){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,At=sa<0&&Lr.current.top||sa>0&&Lr.current.bottom;return pn&&At?(clearTimeout(Cr.current),ir.current=!1):(!At||ir.current)&&Or(),!ir.current&&At}};function ur(Tn,bn,ir,Cr,Or){var Lr=(0,ce.useRef)(0),sa=(0,ce.useRef)(null),pn=(0,ce.useRef)(null),At=(0,ce.useRef)(!1),Zt=Ir(bn,ir);function on(rr,fr){tt.cancel(sa.current),Lr.current+=fr,pn.current=fr,!Zt(fr)&&(rn||rr.preventDefault(),sa.current=tt(function(){var mn=At.current?10:1;Or(Lr.current*mn),Lr.current=0}))}function Yn(rr,fr){Or(fr,!0),rn||rr.preventDefault()}var Dt=(0,ce.useRef)(null),fn=(0,ce.useRef)(null);function Vn(rr){if(Tn){tt.cancel(fn.current),fn.current=tt(function(){Dt.current=null},2);var fr=rr.deltaX,mn=rr.deltaY,Ta=rr.shiftKey,ha=fr,ya=mn;(Dt.current==="sx"||!Dt.current&&Ta&&mn&&!fr)&&(ha=mn,ya=0,Dt.current="sx");var Sa=Math.abs(ha),Ma=Math.abs(ya);Dt.current===null&&(Dt.current=Cr&&Sa>Ma?"x":"y"),Dt.current==="y"?on(rr,ya):Yn(rr,ha)}}function kn(rr){Tn&&(At.current=rr.detail===pn.current)}return[Vn,kn]}var Rr=14/15;function aa(Tn,bn,ir){var Cr=(0,ce.useRef)(!1),Or=(0,ce.useRef)(0),Lr=(0,ce.useRef)(null),sa=(0,ce.useRef)(null),pn,At=function(Dt){if(Cr.current){var fn=Math.ceil(Dt.touches[0].pageY),Vn=Or.current-fn;Or.current=fn,ir(Vn)&&Dt.preventDefault(),clearInterval(sa.current),sa.current=setInterval(function(){Vn*=Rr,(!ir(Vn,!0)||Math.abs(Vn)<=.1)&&clearInterval(sa.current)},16)}},Zt=function(){Cr.current=!1,pn()},on=function(Dt){pn(),Dt.touches.length===1&&!Cr.current&&(Cr.current=!0,Or.current=Math.ceil(Dt.touches[0].pageY),Lr.current=Dt.target,Lr.current.addEventListener("touchmove",At),Lr.current.addEventListener("touchend",Zt))};pn=function(){Lr.current&&(Lr.current.removeEventListener("touchmove",At),Lr.current.removeEventListener("touchend",Zt))},ct(function(){return Tn&&bn.current.addEventListener("touchstart",on),function(){var Yn;(Yn=bn.current)===null||Yn===void 0||Yn.removeEventListener("touchstart",on),pn(),clearInterval(sa.current)}},[Tn])}var qn=20;function Pa(){var Tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,bn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ir=Tn/bn*100;return isNaN(ir)&&(ir=0),ir=Math.max(ir,qn),ir=Math.min(ir,Tn/2),Math.floor(ir)}function Fa(Tn,bn,ir,Cr){var Or=ce.useMemo(function(){return[new Map,[]]},[Tn,ir.id,Cr]),Lr=(0,et.Z)(Or,2),sa=Lr[0],pn=Lr[1],At=function(on){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:on,Dt=sa.get(on),fn=sa.get(Yn);if(Dt===void 0||fn===void 0)for(var Vn=Tn.length,kn=pn.length;kn<Vn;kn+=1){var rr,fr=Tn[kn],mn=bn(fr);sa.set(mn,kn);var Ta=(rr=ir.get(mn))!==null&&rr!==void 0?rr:Cr;if(pn[kn]=(pn[kn-1]||0)+Ta,mn===on&&(Dt=kn),mn===Yn&&(fn=kn),Dt!==void 0&&fn!==void 0)break}return{top:pn[Dt-1]||0,bottom:pn[fn]}};return At}var _a=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Xr=[],Da={overflowY:"auto",overflowAnchor:"none"};function Mi(Tn,bn){var ir=Tn.prefixCls,Cr=ir===void 0?"rc-virtual-list":ir,Or=Tn.className,Lr=Tn.height,sa=Tn.itemHeight,pn=Tn.fullHeight,At=pn===void 0?!0:pn,Zt=Tn.style,on=Tn.data,Yn=Tn.children,Dt=Tn.itemKey,fn=Tn.virtual,Vn=Tn.direction,kn=Tn.scrollWidth,rr=Tn.component,fr=rr===void 0?"div":rr,mn=Tn.onScroll,Ta=Tn.onVirtualScroll,ha=Tn.onVisibleChange,ya=Tn.innerProps,Sa=Tn.extraRender,Ma=Tn.styles,pa=(0,ke.Z)(Tn,_a),Er=!!(fn!==!1&&Lr&&sa),qr=Er&&on&&(sa*on.length>Lr||!!kn),Hi=Vn==="rtl",Fi=Pe()(Cr,(0,we.Z)({},"".concat(Cr,"-rtl"),Hi),Or),$a=on||Xr,ni=(0,ce.useRef)(),no=(0,ce.useRef)(),oi=(0,ce.useState)(0),so=(0,et.Z)(oi,2),ta=so[0],to=so[1],xo=(0,ce.useState)(0),xl=(0,et.Z)(xo,2),ll=xl[0],Uo=xl[1],co=(0,ce.useState)(!1),wl=(0,et.Z)(co,2),Yo=wl[0],gl=wl[1],zl=function(){gl(!0)},Sl=function(){gl(!1)},Cl=ce.useCallback(function(Rn){return typeof Dt=="function"?Dt(Rn):Rn==null?void 0:Rn[Dt]},[Dt]),wi={getKey:Cl};function ko(Rn){to(function(yr){var Tr;typeof Rn=="function"?Tr=Rn(yr):Tr=Rn;var vr=Qn(Tr);return ni.current.scrollTop=vr,vr})}var Pi=(0,ce.useRef)({start:0,end:$a.length}),Ci=(0,ce.useRef)(),Zn=Dr($a,Cl),Mn=(0,et.Z)(Zn,1),dr=Mn[0];Ci.current=dr;var Qr=ut(Cl,null,null),va=(0,et.Z)(Qr,4),pi=va[0],Ai=va[1],Vi=va[2],ui=va[3],Di=ce.useMemo(function(){if(!Er)return{scrollHeight:void 0,start:0,end:$a.length-1,offset:void 0};if(!qr){var Rn;return{scrollHeight:((Rn=no.current)===null||Rn===void 0?void 0:Rn.offsetHeight)||0,start:0,end:$a.length-1,offset:void 0}}for(var yr=0,Tr,vr,Pr,ia=$a.length,Va=0;Va<ia;Va+=1){var ma=$a[Va],Gr=Cl(ma),Ea=Vi.get(Gr),ja=yr+(Ea===void 0?sa:Ea);ja>=ta&&Tr===void 0&&(Tr=Va,vr=yr),ja>ta+Lr&&Pr===void 0&&(Pr=Va),yr=ja}return Tr===void 0&&(Tr=0,vr=0,Pr=Math.ceil(Lr/sa)),Pr===void 0&&(Pr=$a.length-1),Pr=Math.min(Pr+1,$a.length-1),{scrollHeight:yr,start:Tr,end:Pr,offset:vr}},[qr,Er,ta,$a,ui,Lr]),Eo=Di.scrollHeight,Zo=Di.start,Qo=Di.end,He=Di.offset;Pi.current.start=Zo,Pi.current.end=Qo;var nt=ce.useState({width:0,height:Lr}),It=(0,et.Z)(nt,2),pe=It[0],Oe=It[1],Ae=function(yr){Oe({width:yr.width||yr.offsetWidth,height:yr.height||yr.offsetHeight})},Ke=(0,ce.useRef)(),Qe=(0,ce.useRef)(),at=ce.useMemo(function(){return Pa(pe.width,kn)},[pe.width,kn]),ft=ce.useMemo(function(){return Pa(pe.height,Eo)},[pe.height,Eo]),Xt=Eo-Lr,an=(0,ce.useRef)(Xt);an.current=Xt;function Qn(Rn){var yr=Rn;return Number.isNaN(an.current)||(yr=Math.min(yr,an.current)),yr=Math.max(yr,0),yr}var cr=ta<=0,Ar=ta>=Xt,Dn=Ir(cr,Ar),$n=function(){return{x:Hi?-ll:ll,y:ta}},Jn=(0,ce.useRef)($n()),kr=Ie(function(){if(Ta){var Rn=$n();(Jn.current.x!==Rn.x||Jn.current.y!==Rn.y)&&(Ta(Rn),Jn.current=Rn)}});function Hr(Rn,yr){var Tr=Rn;yr?((0,Se.flushSync)(function(){Uo(Tr)}),kr()):ko(Tr)}function zr(Rn){var yr=Rn.currentTarget.scrollTop;yr!==ta&&ko(yr),mn==null||mn(Rn),kr()}var Fr=function(yr){var Tr=yr,vr=kn-pe.width;return Tr=Math.max(Tr,0),Tr=Math.min(Tr,vr),Tr},jr=Ie(function(Rn,yr){yr?((0,Se.flushSync)(function(){Uo(function(Tr){var vr=Tr+(Hi?-Rn:Rn);return Fr(vr)})}),kr()):ko(function(Tr){var vr=Tr+Rn;return vr})}),_r=ur(Er,cr,Ar,!!kn,jr),Jr=(0,et.Z)(_r,2),kt=Jr[0],Pt=Jr[1];aa(Er,ni,function(Rn,yr){return Dn(Rn,yr)?!1:(kt({preventDefault:function(){},deltaY:Rn}),!0)}),ct(function(){function Rn(Tr){Er&&Tr.preventDefault()}var yr=ni.current;return yr.addEventListener("wheel",kt),yr.addEventListener("DOMMouseScroll",Pt),yr.addEventListener("MozMousePixelScroll",Rn),function(){yr.removeEventListener("wheel",kt),yr.removeEventListener("DOMMouseScroll",Pt),yr.removeEventListener("MozMousePixelScroll",Rn)}},[Er]),ct(function(){kn&&Uo(function(Rn){return Fr(Rn)})},[pe.width,kn]);var zn=function(){var yr,Tr;(yr=Ke.current)===null||yr===void 0||yr.delayHidden(),(Tr=Qe.current)===null||Tr===void 0||Tr.delayHidden()},Bn=Kn(ni,$a,Vi,sa,Cl,function(){return Ai(!0)},ko,zn);ce.useImperativeHandle(bn,function(){return{getScrollInfo:$n,scrollTo:function(yr){function Tr(vr){return vr&&(0,Me.Z)(vr)==="object"&&("left"in vr||"top"in vr)}Tr(yr)?(yr.left!==void 0&&Uo(Fr(yr.left)),Bn(yr.top)):Bn(yr)}}}),ct(function(){if(ha){var Rn=$a.slice(Zo,Qo+1);ha(Rn,$a)}},[Zo,Qo,$a]);var xr=Fa($a,Cl,Vi,sa),Zr=Sa==null?void 0:Sa({start:Zo,end:Qo,virtual:qr,offsetX:ll,offsetY:He,rtl:Hi,getSize:xr}),$t=Je($a,Zo,Qo,kn,pi,Yn,wi),cn=null;Lr&&(cn=(0,de.Z)((0,we.Z)({},At?"height":"maxHeight",Lr),Da),Er&&(cn.overflowY="hidden",kn&&(cn.overflowX="hidden"),Yo&&(cn.pointerEvents="none")));var dn={};return Hi&&(dn.dir="rtl"),ce.createElement("div",(0,ne.Z)({style:(0,de.Z)((0,de.Z)({},Zt),{},{position:"relative"}),className:Fi},dn,pa),ce.createElement(Xe.Z,{onResize:Ae},ce.createElement(fr,{className:"".concat(Cr,"-holder"),style:cn,ref:ni,onScroll:zr,onMouseEnter:zn},ce.createElement(Ge,{prefixCls:Cr,height:Eo,offsetX:ll,offsetY:He,scrollWidth:kn,onInnerResize:Ai,ref:no,innerProps:ya,rtl:Hi,extra:Zr},$t))),qr&&Eo>Lr&&ce.createElement(ue,{ref:Ke,prefixCls:Cr,scrollOffset:ta,scrollRange:Eo,rtl:Hi,onScroll:Hr,onStartMove:zl,onStopMove:Sl,spinSize:ft,containerSize:pe.height,style:Ma==null?void 0:Ma.verticalScrollBar,thumbStyle:Ma==null?void 0:Ma.verticalScrollBarThumb}),qr&&kn&&ce.createElement(ue,{ref:Qe,prefixCls:Cr,scrollOffset:ll,scrollRange:kn,rtl:Hi,onScroll:Hr,onStartMove:zl,onStopMove:Sl,spinSize:at,containerSize:pe.width,horizontal:!0,style:Ma==null?void 0:Ma.horizontalScrollBar,thumbStyle:Ma==null?void 0:Ma.horizontalScrollBarThumb}))}var Si=ce.forwardRef(Mi);Si.displayName="List";var zi=Si,fi=zi},66392:function(Hn,sn){"use strict";var ee;var ne=Symbol.for("react.element"),de=Symbol.for("react.portal"),Me=Symbol.for("react.fragment"),et=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),ce=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Xe=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),pt=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function vt(Ee){if(typeof Ee=="object"&&Ee!==null){var wt=Ee.$$typeof;switch(wt){case ne:switch(Ee=Ee.type,Ee){case Me:case we:case et:case Pe:case Xe:return Ee;default:switch(Ee=Ee&&Ee.$$typeof,Ee){case Se:case ce:case me:case Ge:case fe:case ke:return Ee;default:return wt}}case de:return wt}}}ee=ce,ee=ke,ee=ne,ee=me,ee=Me,ee=Ge,ee=fe,ee=de,ee=we,ee=et,ee=Pe,ee=Xe,ee=function(){return!1},ee=function(){return!1},ee=function(Ee){return vt(Ee)===ce},ee=function(Ee){return vt(Ee)===ke},ee=function(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===ne},ee=function(Ee){return vt(Ee)===me},ee=function(Ee){return vt(Ee)===Me},ee=function(Ee){return vt(Ee)===Ge},ee=function(Ee){return vt(Ee)===fe},ee=function(Ee){return vt(Ee)===de},ee=function(Ee){return vt(Ee)===we},ee=function(Ee){return vt(Ee)===et},ee=function(Ee){return vt(Ee)===Pe},ee=function(Ee){return vt(Ee)===Xe},ee=function(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===Me||Ee===we||Ee===et||Ee===Pe||Ee===Xe||Ee===pt||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===Ge||Ee.$$typeof===fe||Ee.$$typeof===ke||Ee.$$typeof===ce||Ee.$$typeof===me||Ee.$$typeof===ot||Ee.getModuleId!==void 0)},ee=vt},31461:function(Hn,sn,ee){"use strict";ee(66392)},25510:function(Hn){"use strict";Hn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6Vb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aTTJBM8cAxiYZIiH2GuxTHKDflgKQafrVjnLxBP/VsIowYKFhNLOcFasSkQHlSneyVFXAVk7wgOXFKJowGSAH7OgFm7hSoQrGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(Hn){"use strict";Hn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2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fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},79633:function(Hn){"use strict";Hn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3Kd3e3KWfn3xKN7UhnMuq+VnGblNKz9N1evXpOin/R/o1Gpe09ae3KX26U5/Vqj/qu44vkmtpS8aIY/3965RePUmJvaZnfphF6kvRJBkL71L6539N6c0vh01UWm9vqw0UWuS/2zI+fZ7L1Xe5z0w4/ON5qv7c6KmCdF3tcfb3oq+itPrzKqXbTym9/puUXv+mt8md3ZwBC62gRJRO7z4TuNg1hzuqxB7nEuru9397W2cKXl8EVLSaWhxBVYTIuYkQyjv9ucqxyLbmLkGJG3lGgYZ+i7RWhVfFrQxpjOXAeWs/HWgZORt+N2m/4SFYXmtGgQYxURVzhA/U6Lj8J75ZGRYaZzxNe1a+gUdbuls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3E8hl2H9/LZeiHUXHytHkniFL+8k/0ISO2WLRCIZuI015KOCAgYCDCAingSgQvU8otu9YEsL1zYFWOjW0SUjFiISapNUjDDKIWTY38AXuCALtYt/52lHR8VOC9WDnZ/XB6vTiA7UEB8QlNpHG30Ew3PIM8viGVa28CiSM16WskpraQnHMzInbKZmpmdlLr05dKxRw9sF71WH1Kx+UJRo6ofnxBe6O1tEjexMCk61P5me3GcFVsIa2cs1yar5EGzvG3FRopivTKxnuWGKOyDIdNe/+YbOM8CCLYRHqqpDMyd0p8Is4oC0STt4cZs628wWBbYnBECByU2ty32e5U9kTU7JoOMIGzAVIDuVTbZOOyETtJIz2r35ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},36459:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return ne}});function ne(de){if(de==null)throw new TypeError("Cannot destructure "+de)}},84279:function(Hn,sn,ee){"use strict";var ne=Object.defineProperty,de=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ce=(a,y,b)=>y in a?ne(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,Se=(a,y)=>{for(var b in y||(y={}))we.call(y,b)&&ce(a,b,y[b]);if(et)for(var b of et(y))ke.call(y,b)&&ce(a,b,y[b]);return a},me=(a,y)=>de(a,Me(y)),Pe=a=>typeof a=="symbol"?a:a+"",Xe=(a,y)=>{var b={};for(var E in a)we.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&et)for(var E of et(a))y.indexOf(E)<0&&ke.call(a,E)&&(b[E]=a[E]);return b};function fe(a){return Array.isArray(a)}var Ge={en:{"keyboard.tooltip.symbols":"\u7B26\u53F7","keyboard.tooltip.greek":"\u5E0C\u814A\u5B57\u6BCD","keyboard.tooltip.numeric":"\u6570\u5B57","keyboard.tooltip.alphabetic":"\u7F57\u9A6C\u5B57\u6BCD","tooltip.cut to clipboard":"\u526A\u5207\u5230\u526A\u8D34\u677F","tooltip.copy to clipboard":"\u590D\u5236\u5230\u526A\u8D34\u677F","tooltip.paste from clipboard":"\u7C98\u8D34","tooltip.redo":"\u91CD\u505A","tooltip.toggle virtual keyboard":"\u5207\u6362\u865A\u62DF\u952E\u76D8","tooltip.undo":"\u64A4\u6D88","menu.insert matrix":"\u63D2\u5165\u77E9\u9635","menu.borders":"\u77E9\u9635\u5206\u9694\u7B26","menu.array.add row above":"\u5728\u540E\u9762\u6DFB\u52A0\u884C","menu.array.add row below":"\u5728\u524D\u9762\u6DFB\u52A0\u884C","menu.array.add column after":"\u5728\u540E\u9762\u6DFB\u52A0\u5217r","menu.array.add column before":"\u5728\u524D\u9762\u6DFB\u52A0\u5217","menu.array.delete row":"\u5220\u9664\u884C","menu.array.delete rows":"\u5220\u9664\u9009\u5B9A\u884C","menu.array.delete column":"\u5220\u9664\u5217","menu.array.delete columns":"\u5220\u9664\u9009\u5B9A\u7684\u5217","menu.mode":"\u6A21\u5F0F","menu.mode-math":"\u6570\u5B66","menu.mode-text":"\u6587\u672C","menu.mode-latex":"LaTeX","tooltip.blackboard":"\u9ED1\u677F","tooltip.bold":"\u7C97\u4F53","tooltip.italic":"\u659C\u4F53","tooltip.fraktur":"Fraktur","tooltip.script":"\u811A\u672C","tooltip.caligraphic":"\u8349\u4E66","tooltip.typewriter":"\u6253\u5B57\u673A","tooltip.roman-upright":"\u7F57\u9A6C\u76F4\u7ACB","tooltip.row-by-col":"%@ \xD7 %@","menu.font-style":"\u5B57\u4F53\u6837\u5F0F","menu.accent":"\u91CD\u97F3","menu.decoration":"\u88C5\u9970","menu.color":"\u989C\u8272","menu.background-color":"\u80CC\u666F","menu.evaluate":"\u8BA1\u7B97","menu.simplify":"\u7B80\u5316","menu.solve":"\u6C42\u89E3","menu.solve-for":"\u6C42\u89E3 %@","menu.cut":"\u526A\u5207","menu.copy":"\u590D\u5236","menu.copy-as-latex":"\u590D\u5236\u4E3A LaTeX","menu.copy-as-ascii-math":"\u590D\u5236\u4E3A ASCII Math","menu.copy-as-mathml":"\u590D\u5236\u4E3A MathML","menu.paste":"\u7C98\u8D34","menu.select-all":"\u5168\u9009","color.red":"\u7EA2\u8272","color.orange":"\u6A59\u8272","color.yellow":"\u9EC4\u8272","color.lime":"\u7EFF\u9EC4\u8272","color.green":"\u7EFF\u8272","color.teal":"\u9752\u8272","color.cyan":"\u84DD\u7EFF\u8272","color.blue":"\u84DD\u8272","color.indigo":"\u975B\u84DD\u8272","color.purple":"\u7D2B\u8272","color.magenta":"\u6D0B\u7EA2\u8272","color.black":"\u9ED1\u8272","color.dark-grey":"\u6DF1\u7070\u8272","color.grey":"\u7070\u8272","color.light-grey":"\u6D45\u7070\u8272","color.white":"\u767D\u8272"}};function pt(){return"window"in globalThis&&"document"in globalThis}function ot(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function vt(){return typeof navigator.vibrate=="function"}function Ee(){var a,y;if(!pt())return"other";const b=(y=(a=navigator.userAgentData)==null?void 0:a.platform)!=null?y:navigator.platform;return/^mac/i.test(b)?navigator.maxTouchPoints===5?"ios":"macos":/^win/i.test(b)?"windows":/android/i.test(navigator.userAgent)?"android":/iphone|ipod|ipad/i.test(navigator.userAgent)?"ios":/\bcros\b/i.test(navigator.userAgent)?"chromeos":"other"}function wt(){if(!pt())return!0;if(/firefox/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/firefox\/(\d+)/i);return a?parseInt(a[1])>=78:!1}if(/trident/i.test(navigator.userAgent))return!1;if(/edge/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/edg\/(\d+)/i);return a?parseInt(a[1])>=79:!1}return!0}function Rt(){return HTMLElement.prototype.hasOwnProperty("popover")}var tt={strings:Ge,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return tt._locale||(tt._locale=pt()?navigator.language.slice(0,5):"en-US"),tt._locale},set locale(a){tt._locale=a,tt._numberFormatter=void 0,tt.dirty=!0},get numberFormatter(){return tt._numberFormatter||(tt._numberFormatter=new Intl.NumberFormat(tt.locale)),tt._numberFormatter},merge(a,y){if(typeof a=="string"&&y)tt.strings[a]=Se(Se({},tt.strings[a]),y),tt.dirty=!0;else for(const b of Object.keys(a))tt.merge(b,a[b])},get dirty(){return tt._dirty},set dirty(a){tt._dirty||tt._dirty===a||(tt._dirty=!0,setTimeout(()=>{tt._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return tt._subscribers.push(a),tt._subscribers.length-1},unsubscribe(a){a<0||a>=tt._subscribers.length||(tt._subscribers[a]=void 0)},update(a){let y=a.querySelectorAll("[data-l10n-tooltip]");for(const b of y){const E=b.getAttribute("data-l10n-tooltip");if(E){const te=st(E);te&&b.setAttribute("data-tooltip",te)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const E=b.getAttribute("data-l10n-arial-label");if(E){const te=st(E);te&&b.setAttribute("aria-label",te)}}}};function st(a,...y){if(a===void 0)return;let b="";const E=tt.locale;tt.strings[E]&&(b=tt.strings[E][a]);const te=E.slice(0,2);if(!b&&tt.strings[te]&&(b=tt.strings[te][a]),b||(b=tt.strings.en[a]),!b)return;const ie=/(%@|%([0-9]+)\$@)/g;let le=ie.exec(b),De=0;for(;le;){if(y[De++]){const Ve=le[2]?parseInt(le[2],10)-1:De-1;let lt=y[Ve];typeof lt=="number"&&(lt=tt.numberFormatter.format(lt)),b=b.replace(le[1],lt)}le=ie.exec(b)}return b=b.replace(/%%/g,"%"),b}var ye={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},ue={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},$e={red:"#fbbbb6",orange:"#ffe0c2",yellow:"#fff1c2",lime:"#d0e8b9",green:"#bceac4",teal:"#b9f1f1",cyan:"#b8e5c9",blue:"#b6d9fb",indigo:"#d1c2f0",purple:"#e3baf8",magenta:"#f9c8e0",black:"#353535","dark-grey":"#8C8C8C",grey:"#D0D0D0","light-grey":"#F0F0F0",white:"#ffffff"},Je={red:"#d7170b",orange:"#fe8a2b",yellow:"#ffc02b",lime:"#63b215",green:"#21ba3a",teal:"#17cfcf",cyan:"#13a7ec",blue:"#0d80f2",indigo:"#63c",purple:"#a219e6",magenta:"#eb4799",black:"#000","dark-grey":"#666",grey:"#A6A6A6","light-grey":"#d4d5d2",white:"#ffffff"},ht={Red:"red",Orange:"orange",Yellow:"yellow",LimeGreen:"lime",Green:"green",TealBlue:"teal",Blue:"blue",Violet:"indigo",Purple:"purple",Magenta:"magenta",Black:"black",Gray:"grey",White:"white"},yt={Apricot:"#FBB982",Aquamarine:"#00B5BE",Bittersweet:"#C04F17",Black:"#221E1F",Blue:"#2D2F92",BlueGreen:"#00B3B8",BlueViolet:"#473992",BrickRed:"#B6321C",Brown:"#792500",BurntOrange:"#F7921D",CadetBlue:"#74729A",CarnationPink:"#F282B4",Cerulean:"#00A2E3",CornflowerBlue:"#41B0E4",Cyan:"#00AEEF",Dandelion:"#FDBC42",DarkOrchid:"#A4538A",Emerald:"#00A99D",ForestGreen:"#009B55",Fuchsia:"#8C368C",Goldenrod:"#FFDF42",Gray:"#949698",Green:"#00A64F",GreenYellow:"#DFE674",JungleGreen:"#00A99A",Lavender:"#F49EC4",Limegreen:"#8DC73E",Magenta:"#EC008C",Mahogany:"#A9341F",Maroon:"#AF3235",Melon:"#F89E7B",MidnightBlue:"#006795",Mulberry:"#A93C93",NavyBlue:"#006EB8",OliveGreen:"#3C8031",Orange:"#F58137",OrangeRed:"#ED135A",Orchid:"#AF72B0",Peach:"#F7965A",Periwinkle:"#7977B8",PineGreen:"#008B72",Plum:"#92268F",ProcessBlue:"#00B0F0",Purple:"#99479B",RawSienna:"#974006",Red:"#ED1B23",RedOrange:"#F26035",RedViolet:"#A1246B",Rhodamine:"#EF559F",RoyalBlue:"#0071BC",RoyalPurple:"#613F99",RubineRed:"#ED017D",Salmon:"#F69289",SeaGreen:"#3FBC9D",Sepia:"#671800",SkyBlue:"#46C5DD",SpringGreen:"#C6DC67",Tan:"#DA9D76",TealBlue:"#00AEB3",Thistle:"#D883B7",Turquoise:"#00B4CE",Violet:"#58429B",VioletRed:"#EF58A0",White:"#FFFFFF",WildStrawberry:"#EE2967",Yellow:"#FFF200",YellowGreen:"#98CC70",YellowOrange:"#FAA21A"};function Fe(a){var y,b,E,te,ie,le;const De=a.split("!");let Re,Ve,lt,zt=255,wn=255,nr=255,hr=-1;const Ia=De.length>0&&De[0].startsWith("-");Ia&&(De[0]=De[0].slice(1));for(let Yi=0;Yi<De.length;Yi++){Re=zt,Ve=wn,lt=nr;const Ca=(y=De[Yi].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],si=Ca==null?void 0:Ca.toLowerCase(),eo=Ca&&(le=(ie=(te=(E=(b=Je[si])!=null?b:Je[ht[Ca]])!=null?E:ue[Ca])!=null?te:yt[Ca])!=null?ie:ye[Ca])!=null?le:De[Yi].trim();let xi=eo.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(xi!=null&&xi[1]&&xi[2]&&xi[3])zt=Math.max(0,Math.min(255,Number.parseInt(xi[1],16))),wn=Math.max(0,Math.min(255,Number.parseInt(xi[2],16))),nr=Math.max(0,Math.min(255,Number.parseInt(xi[3],16)));else if(xi=eo.match(/^#([\da-f]{3})$/i),xi!=null&&xi[1]){const rl=Number.parseInt(xi[1][0],16),Ll=Number.parseInt(xi[1][1],16),El=Number.parseInt(xi[1][2],16);zt=Math.max(0,Math.min(255,rl*16+rl)),wn=Math.max(0,Math.min(255,Ll*16+Ll)),nr=Math.max(0,Math.min(255,El*16+El))}else if(xi=eo.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),xi!=null&&xi[1]&&xi[2]&&xi[3])zt=Math.max(0,Math.min(255,Number.parseInt(xi[1]))),wn=Math.max(0,Math.min(255,Number.parseInt(xi[2]))),nr=Math.max(0,Math.min(255,Number.parseInt(xi[3])));else return;hr>=0&&(zt=(1-hr)*zt+hr*Re,wn=(1-hr)*wn+hr*Ve,nr=(1-hr)*nr+hr*lt,hr=-1),Yi+1<De.length&&(hr=Math.max(0,Math.min(100,Number.parseInt(De[++Yi])))/100)}return hr>=0&&(zt=hr*zt+(1-hr)*Re,wn=hr*wn+(1-hr)*Ve,nr=hr*nr+(1-hr)*lt),Ia&&(zt=255-zt,wn=255-wn,nr=255-nr),"#"+("00"+Math.round(zt).toString(16)).slice(-2)+("00"+Math.round(wn).toString(16)).slice(-2)+("00"+Math.round(nr).toString(16)).slice(-2)}function Be(a){var y,b;return a=a.trim(),(b=(y=$e[a.toLowerCase()])!=null?y:$e[ht[a]])!=null?b:Fe(a)}function mt(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&y.a===void 0&&(y.a=1),y}function ze(a,y,b){return b<0&&(b+=6),b>=6&&(b-=6),b<1?(y-a)*b+a:b<3?y:b<4?(y-a)*(4-b)+a:a}function ut(a){let[y,b,E]=[a.h,a.s,a.l];y=(y+360)%360/60,E=Math.max(0,Math.min(E,1)),b=Math.max(0,Math.min(b,1));const te=E<=.5?E*(b+1):E+b-E*b,ie=E*2-te;return{r:Math.round(255*ze(ie,te,y+2)),g:Math.round(255*ze(ie,te,y)),b:Math.round(255*ze(ie,te,y-2))}}function rt(a){return a<0?0:a>255?255:Math.round(a)}function Tt(a){const{r:y,g:b,b:E}=a;let te=((1<<24)+(rt(y)<<16)+(rt(b)<<8)+rt(E)).toString(16).slice(1);return te[0]===te[1]&&te[2]===te[3]&&te[4]===te[5]&&te[6]===te[7]&&(te=te[0]+te[2]+te[4]),"#"+te}function Bt(a){let{r:y,g:b,b:E}=a;y=y/255,b=b/255,E=E/255;const te=Math.min(y,b,E),ie=Math.max(y,b,E),le=ie-te;let De,Re;ie===te?De=0:y===ie?De=(b-E)/le:b===ie?De=2+(E-y)/le:E===ie&&(De=4+(y-b)/le),De=Math.min(De*60,360),De<0&&(De+=360);const Ve=(te+ie)/2;return ie===te?Re=0:Ve<=.5?Re=le/(ie+te):Re=le/(2-ie-te),{h:De,s:Re,l:Ve}}function en(a){let y=mt(a);if(!y)return a;let{h:b,s:E,l:te}=Bt(y);return E+=.1,te-=.1,Tt(ut({h:b,s:E,l:te}))}var ct={60:"\\lt",62:"\\gt",111:"o",38:"\\&",123:"\\lbrace",125:"\\rbrace",91:"\\lbrack",93:"\\rbrack",58:"\\colon",160:"~",172:"\\neg",183:"\\cdot",188:"\\frac{1}{4}",189:"\\frac{1}{2}",190:"\\frac{3}{4}",8304:"^{0}",8305:"^{i}",185:"^{1}",178:"^{2}",179:"^{3}",8224:"\\dagger",8225:"\\ddagger",8230:"\\ldots",8308:"^{4}",8309:"^{5}",8310:"^{6}",8311:"^{7}",8312:"^{8}",8313:"^{9}",8314:"^{+}",8315:"^{-}",8316:"^{=}",8319:"^{n}",8320:"_{0}",8321:"_{1}",8322:"_{2}",8323:"_{3}",8324:"_{4}",8325:"_{5}",8326:"_{6}",8327:"_{7}",8328:"_{8}",8329:"_{9}",8330:"_{+}",8331:"_{-}",8332:"_{=}",8336:"_{a}",8337:"_{e}",8338:"_{o}",8339:"_{x}",8242:"\\prime",39:"\\prime",8592:"\\gets",8594:"\\to",9651:"\\triangle",9661:"\\triangledown",8715:"\\owns",8727:"\\ast",8739:"\\vert",8741:"\\Vert",8743:"\\land",8744:"\\lor",8901:"\\cdot",8904:"\\bowtie",8800:"\\ne",8804:"\\le",8805:"\\ge",8869:"\\bot",10231:"\\biconditional",10232:"\\impliedby",10233:"\\implies",10234:"\\iff",8450:"\\mathbb{C}",8469:"\\mathbb{N}",8473:"\\mathbb{P}",8474:"\\mathbb{Q}",8477:"\\mathbb{R}",8484:"\\mathbb{Z}",8461:"\\mathbb{H}",8476:"\\Re",8465:"\\Im",42:"\\ast",11036:"\\square",9633:"\\square",8720:"\\coprod",8716:"\\not\\ni",9671:"\\diamond",8846:"\\uplus",8851:"\\sqcap",8852:"\\sqcup",8768:"\\wr",8750:"\\oint",8226:"\\textbullet",8722:"-",978:"\\Upsilon"},Ie={119893:8462,119965:8492,119968:8496,119969:8497,119971:8459,119972:8464,119975:8466,119976:8499,119981:8475,119994:8495,119996:8458,120004:8500,120070:8493,120075:8460,120076:8465,120085:8476,120093:8488,120122:8450,120127:8461,120133:8469,120135:8473,120136:8474,120137:8477,120145:8484},Mt=[{start:119808,len:26,offset:65,style:"bold"},{start:119834,len:26,offset:97,style:"bold"},{start:119860,len:26,offset:65,style:"italic"},{start:119886,len:26,offset:97,style:"italic"},{start:119912,len:26,offset:65,style:"bolditalic"},{start:119938,len:26,offset:97,style:"bolditalic"},{start:119964,len:26,offset:65,variant:"script"},{start:119990,len:26,offset:97,variant:"script"},{start:120016,len:26,offset:65,variant:"script",style:"bold"},{start:120042,len:26,offset:97,variant:"script",style:"bold"},{start:120068,len:26,offset:65,variant:"fraktur"},{start:120094,len:26,offset:97,variant:"fraktur"},{start:120172,len:26,offset:65,variant:"fraktur",style:"bold"},{start:120198,len:26,offset:97,variant:"fraktur",style:"bold"},{start:120120,len:26,offset:65,variant:"double-struck"},{start:120146,len:26,offset:97,variant:"double-struck"},{start:120224,len:26,offset:65,variant:"sans-serif"},{start:120250,len:26,offset:97,variant:"sans-serif"},{start:120276,len:26,offset:65,variant:"sans-serif",style:"bold"},{start:120302,len:26,offset:97,variant:"sans-serif",style:"bold"},{start:120328,len:26,offset:65,variant:"sans-serif",style:"italic"},{start:120354,len:26,offset:97,variant:"sans-serif",style:"italic"},{start:120380,len:26,offset:65,variant:"sans-serif",style:"bolditalic"},{start:120406,len:26,offset:97,variant:"sans-serif",style:"bolditalic"},{start:120432,len:26,offset:65,variant:"monospace"},{start:120458,len:26,offset:97,variant:"monospace"},{start:120488,len:25,offset:913,style:"bold"},{start:120514,len:25,offset:945,style:"bold"},{start:120546,len:25,offset:913,style:"italic"},{start:120572,len:25,offset:945,style:"italic"},{start:120604,len:25,offset:913,style:"bolditalic"},{start:120630,len:25,offset:945,style:"bolditalic"},{start:120662,len:25,offset:913,variant:"sans-serif",style:"bold"},{start:120688,len:25,offset:945,variant:"sans-serif",style:"bold"},{start:120720,len:25,offset:913,variant:"sans-serif",style:"bolditalic"},{start:120746,len:25,offset:945,variant:"sans-serif",style:"bolditalic"},{start:120782,len:10,offset:48,variant:"main",style:"bold"},{start:120792,len:10,offset:48,variant:"double-struck"},{start:120803,len:10,offset:48,variant:"sans-serif"},{start:120812,len:10,offset:48,variant:"sans-serif",style:"bold"},{start:120822,len:10,offset:48,variant:"monospace"}];function vn(a,y,b){if(!/[A-Za-z\d]/.test(a)||(b==="up"&&(b=void 0),!y&&!b))return a;const E=a.codePointAt(0);if(E===void 0)return a;for(const te of Mt)if((!y||te.variant===y)&&(!b||te.style===b)&&E>=te.offset&&E<te.offset+te.len){const ie=te.start+E-te.offset;return String.fromCodePoint(Ie[ie]||ie)}return a}function qt(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in Ie)if(Ie[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of Mt)if(a>=b.start&&a<b.start+b.len)return{char:String.fromCodePoint(a-b.start+b.offset),variant:b.variant,style:b.style};return{char:String.fromCodePoint(a)}}function Nt(a){var y;let b="";for(const E of a){if("{}<>[]$&#^_%:'\u02DC".includes(E)){b+=E;continue}const te=(y=E.codePointAt(0))!=null?y:0;let ie=ct[te];if(ie)ie.startsWith("\\")?b+=ie+" ":b+=ie;else{const{char:le,variant:De,style:Re}=qt(te);switch(ie=le,De){case"double-struck":ie=`\\mathbb{${ie}}`;break;case"fraktur":ie=`\\mathfrak{${ie}}`;break;case"script":ie=`\\mathscr{${ie}}`;break;case"sans-serif":ie=`\\mathsf{${ie}}`;break;case"monospace":ie=`\\mathtt{${ie}}`;break;case"calligraphic":ie=`\\mathcal{${ie}}`;break}switch(Re){case"bold":ie=`\\mathbf{${ie}}`;break;case"italic":ie=`\\mathit{${ie}}`;break;case"bolditalic":ie=`\\mathbfit{${ie}}`;break}b+=ie}}return b}function Kt(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var nn={},Cn=Se({},ct),Sn={},tn={},In={darr:"\\downarrow",dArr:"\\Downarrow",Darr:"\\Downarrow",lang:"\\langle",rang:"\\rangle",uarr:"\\uparrow",uArr:"\\Uparrow",Uarr:"\\Uparrow",N:"\\mathbb{N}",R:"\\mathbb{R}",Z:"\\mathbb{Z}",alef:"\\aleph",alefsym:"\\aleph",Alpha:"\\mathrm{A}",Beta:"\\mathrm{B}",bull:"\\bullet",Chi:"\\mathrm{X}",clubs:"\\clubsuit",cnums:"\\mathbb{C}",Complex:"\\mathbb{C}",Dagger:"\\ddagger",diamonds:"\\diamondsuit",empty:"\\emptyset",Epsilon:"\\mathrm{E}",Eta:"\\mathrm{H}",exist:"\\exists",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",Harr:"\\Leftrightarrow",hearts:"\\heartsuit",image:"\\Im",infin:"\\infty",Iota:"\\mathrm{I}",isin:"\\in",Kappa:"\\mathrm{K}",larr:"\\leftarrow",lArr:"\\Leftarrow",Larr:"\\Leftarrow",lrarr:"\\leftrightarrow",lrArr:"\\Leftrightarrow",Lrarr:"\\Leftrightarrow",Mu:"\\mathrm{M}",natnums:"\\mathbb{N}",Nu:"\\mathrm{N}",Omicron:"\\mathrm{O}",plusmn:"\\pm",rarr:"\\rightarrow",rArr:"\\Rightarrow",Rarr:"\\Rightarrow",real:"\\Re",reals:"\\mathbb{R}",Reals:"\\mathbb{R}",Rho:"\\mathrm{P}",sdot:"\\cdot",sect:"\\S",spades:"\\spadesuit",sub:"\\subset",sube:"\\subseteq",supe:"\\supseteq",Tau:"\\mathrm{T}",thetasym:"\\vartheta",weierp:"\\wp",Zeta:"\\mathrm{Z}"},br={varGamma:"\\mathit{\\Gamma}",varDelta:"\\mathit{\\Delta}",varTheta:"\\mathit{\\Theta}",varLambda:"\\mathit{\\Lambda}",varXi:"\\mathit{\\Xi}",varPi:"\\mathit{\\Pi}",varSigma:"\\mathit{\\Sigma}",varUpsilon:"\\mathit{\\Upsilon}",varPhi:"\\mathit{\\Phi}",varPsi:"\\mathit{\\Psi}",varOmega:"\\mathit{\\Omega}",pmod:{def:"\\quad(\\operatorname{mod}\\ #1)",args:1,expand:!1,captureSelection:!1},mod:{def:"\\quad\\operatorname{mod}\\,\\,#1",args:1,expand:!1},bmod:{def:"\\;\\mathbin{\\operatorname{mod }}",expand:!1}},gn={bra:{def:"\\mathinner{\\langle{#1}|}",args:1,captureSelection:!1},ket:{def:"\\mathinner{|{#1}\\rangle}",args:1,captureSelection:!1},braket:{def:"\\mathinner{\\langle{#1}\\rangle}",args:1,captureSelection:!1},set:{def:"\\mathinner{\\lbrace #1 \\rbrace}",args:1,captureSelection:!1},Bra:{def:"\\left\\langle #1\\right|",args:1,captureSelection:!1},Ket:{def:"\\left|#1\\right\\rangle",args:1,captureSelection:!1},Braket:{def:"\\left\\langle{#1}\\right\\rangle",args:1,captureSelection:!1},Set:{def:"\\left\\lbrace #1 \\right\\rbrace",args:1,captureSelection:!1}},Ye={iff:{primitive:!0,captureSelection:!0,def:"\\;\u27FA\\;"},nicefrac:"^{#1}\\!\\!/\\!_{#2}",phase:{def:"\\enclose{phasorangle}{#1}",args:1,captureSelection:!1},rd:"\\mathrm{d}",rD:"\\mathrm{D}",doubleStruckCapitalN:"\\mathbb{N}",doubleStruckCapitalR:"\\mathbb{R}",doubleStruckCapitalQ:"\\mathbb{Q}",doubleStruckCapitalZ:"\\mathbb{Z}",doubleStruckCapitalP:"\\mathbb{P}",scriptCapitalE:"\\mathscr{E}",scriptCapitalH:"\\mathscr{H}",scriptCapitalL:"\\mathscr{L}",gothicCapitalC:"\\mathfrak{C}",gothicCapitalH:"\\mathfrak{H}",gothicCapitalI:"\\mathfrak{I}",gothicCapitalR:"\\mathfrak{R}",imaginaryI:"\\mathrm{i}",imaginaryJ:"\\mathrm{j}",exponentialE:"\\mathrm{e}",differentialD:"\\mathrm{d}",capitalDifferentialD:"\\mathrm{D}",mathstrut:{def:"\\vphantom{(}",primitive:!0},angl:"\\enclose{actuarial}{#1}",angln:"\\enclose{actuarial}{n}",anglr:"\\enclose{actuarial}{r}",anglk:"\\enclose{actuarial}{k}",mathtools:{primitive:!0,package:{ordinarycolon:":",vcentcolon:"\\mathrel{\\mathop\\ordinarycolon}",dblcolon:'{\\mathop{\\char"2237}}',coloneqq:'{\\mathop{\\char"2254}}',Coloneqq:'{\\mathop{\\char"2237\\char"3D}}',coloneq:'{\\mathop{\\char"3A\\char"2212}}',Coloneq:'{\\mathop{\\char"2237\\char"2212}}',eqqcolon:'{\\mathop{\\char"2255}}',Eqqcolon:'{\\mathop{\\char"3D\\char"2237}}',eqcolon:'{\\mathop{\\char"2239}}',Eqcolon:'{\\mathop{\\char"2212\\char"2237}}',colonapprox:'{\\mathop{\\char"003A\\char"2248}}',Colonapprox:'{\\mathop{\\char"2237\\char"2248}}',colonsim:'{\\mathop{\\char"3A\\char"223C}}',Colonsim:'{\\mathop{\\char"2237\\char"223C}}',colondash:"\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",Colondash:"\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}"}},ratio:"\\vcentcolon",coloncolon:"\\dblcolon",colonequals:"\\coloneq",coloncolonequals:"\\Coloneq",equalscolon:"\\eqcolon",equalscoloncolon:"\\Eqcolon",colonminus:"\\colondash",coloncolonminus:"\\Colondash",minuscolon:"\\dashcolon",minuscoloncolon:"\\Dashcolon",coloncolonapprox:"\\Colonapprox",coloncolonsim:"\\Colonsim",simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",simcoloncolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcoloncolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",notni:"\\mathrel{\\char`\u220C}",limsup:"\\operatorname*{lim\\,sup}",liminf:"\\operatorname*{lim\\,inf}",injlim:"\\operatorname*{inj\\,lim}",projlim:"\\operatorname*{proj\\,lim}",varlimsup:"\\operatorname*{\\overline{lim}}",varliminf:"\\operatorname*{\\underline{lim}}",varinjlim:"\\operatorname*{\\underrightarrow{lim}}",varprojlim:"\\operatorname*{\\underleftarrow{lim}}",argmin:"\\operatorname*{arg\\,min}",argmax:"\\operatorname*{arg\\,max}",plim:"\\mathop{\\operatorname{plim}}\\limits",tripledash:{def:"\\vphantom{-}\\raise{4mu}{\\mkern1.5mu\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2mu}}",expand:!0},"braket.sty":{package:gn},"amsmath.sty":{package:br,primitive:!0},"texvc.sty":{package:In,primitive:!1}},ve={" ":32,"\\!":33,"\\#":35,"\\$":36,"\\%":37,"\\&":38,"-":45,"\\textunderscore":95,"\\euro":8364,"\\maltese":10016,"\\{":123,"\\}":125,"\\textbraceleft":123,"\\textbraceright":125,"\\lbrace":123,"\\rbrace":125,"\\lbrack":91,"\\rbrack":93,"\\nobreakspace":160,"\\ldots":8230,"\\textellipsis":8230,"\\backslash":92,"`":8216,"'":8217,"``":8220,"''":8221,"\\degree":176,"\\textasciicircum":94,"\\textasciitilde":126,"\\textasteriskcentered":42,"\\textbackslash":92,"\\textbullet":8226,"\\textdollar":36,"\\textsterling":163,"\\textdagger":8224,"\\textdaggerdbl":8225,"\u2013":8211,"\u2014":8212,"\u2018":8216,"\u2019":8217,"\u201C":8220,"\u201D":8221,'"':8221,"\\ss":223,"\\ae":230,"\\oe":339,"\\AE":198,"\\OE":338,"\\O":216,"\\i":305,"\\j":567,"\\aa":229,"\\AA":197},he=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,be,ge;wt()?(be=new RegExp("\\p{Letter}","u"),ge=new RegExp("[0-9\\p{Letter}]","u")):(be=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,ge=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function se(a,y,b="mord",E){y!==void 0&&(nn[a]={definitionType:"symbol",type:b,variant:E,codepoint:y},Cn[y]||(Cn[y]=a))}function je(a,y,b){if(typeof a=="string"){for(let E=0;E<a.length;E++){const te=a.charAt(E);se(te,te.codePointAt(0))}return}for(const[E,te,ie,le]of a)se(E,te,ie!=null?ie:y,le!=null?le:b)}function xt(a,y){for(let b=a;b<=y;b++)se(String.fromCodePoint(b),b)}function En(a){var y;return(y=tn[a])!=null?y:null}function un(a,y){var b,E;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const te=[];for(const le in Sn)le.startsWith(y)&&!Sn[le].infix&&te.push({match:le,frequency:(b=Sn[le].frequency)!=null?b:0});for(const le in nn)le.startsWith(y)&&te.push({match:le,frequency:(E=nn[le].frequency)!=null?E:0});const ie=y.substring(1);for(const le of Object.keys(a.options.macros))le.startsWith(ie)&&te.push({match:"\\"+le,frequency:0});return te.sort((le,De)=>{var Re,Ve;return le.frequency===De.frequency?le.match.length===De.match.length?le.match<De.match?-1:1:le.match.length-De.match.length:((Re=De.frequency)!=null?Re:0)-((Ve=le.frequency)!=null?Ve:0)}),te.map(le=>le.match)}function Pn(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function Xn(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:Pn(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...Xn(b[E]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:Pn(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...Xn(b[E]))}return y}function _n(a){if(!a)return"";let y="",b=!0;for(const E of a)typeof E.value=="string"?y+=E.value:b=!1;return b?y:""}function Vt(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const E of a)tn[E]=b}function yn(a,y,b){typeof a=="string"&&(a=[a]);const te={tabular:!0,params:Xn(y),createAtom:b};for(const ie of a)tn[ie]=te}function Kn(a,y,b){var E,te;b||(b={});const ie={definitionType:"function",params:Xn(y),ifMode:b.ifMode,isFunction:(E=b.isFunction)!=null?E:!1,applyMode:b.applyMode,infix:(te=b.infix)!=null?te:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")Sn["\\"+a]=ie;else for(const le of a)Sn["\\"+le]=ie}var On;function Qt(a){return On||(On=jt(Ye)),a?jt(Se(Se({},On),a)):On}function Dr(a,y){var b,E,te,ie;if(typeof a=="string"){let le=0;const De=a;return/(^|[^\\])#1/.test(De)&&(le=1),/(^|[^\\])#2/.test(De)&&(le=2),/(^|[^\\])#3/.test(De)&&(le=3),/(^|[^\\])#4/.test(De)&&(le=4),/(^|[^\\])#5/.test(De)&&(le=5),/(^|[^\\])#6/.test(De)&&(le=6),/(^|[^\\])#7/.test(De)&&(le=7),/(^|[^\\])#8/.test(De)&&(le=8),/(^|[^\\])#9/.test(De)&&(le=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(E=y==null?void 0:y.captureSelection)!=null?E:!0,args:le,def:De}}return Se({expand:(te=y==null?void 0:y.expand)!=null?te:!0,captureSelection:(ie=y==null?void 0:y.captureSelection)!=null?ie:!0,args:0},a)}function jt(a){if(!a)return{};const y={};for(const b of Object.keys(a)){const E=a[b];if(E==null)delete y[b];else if(typeof E=="object"&&"package"in E)for(const te of Object.keys(E.package))y[te]=Dr(E.package[te],{expand:!E.primitive,captureSelection:E.captureSelection});else y[b]=Dr(E)}return y}function rn(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=Sn[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=nn[a]:ve[a]&&(b={definitionType:"symbol",type:"mord",codepoint:ve[a]})}else if(y==="math"){if(b=nn[a],!b&&a.length===1){const E=ur("math",a.codePointAt(0));return E.startsWith("\\")?me(Se({},rn(E,"math")),{command:E}):null}}else ve[a]?b={definitionType:"symbol",type:"mord",codepoint:ve[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function Ir(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function ur(a,y){if(y===void 0)return"";if(a==="math"&&Cn[y])return Cn[y];if(a==="text"){const b=Object.keys(ve).find(E=>ve[E]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var Rr=[0,.68889,0,0,.72222],aa=[0,.68889,0,0,.66667],qn=[0,.68889,0,0,.77778],Pa=[0,.68889,0,0,.61111],Fa=[.16667,.68889,0,0,.77778],_a=[0,.68889,0,0,.55556],Xr=[0,0,0,0,.25],Da=[0,.825,0,0,2.33334],Mi=[0,.9,0,0,2.33334],Si=[0,.68889,0,0,.54028],zi=[-.03598,.46402,0,0,.5],fi=[-.13313,.36687,0,0,1],Tn=[.01354,.52239,0,0,1],bn=[.01354,.52239,0,0,1.11111],ir=[0,.54986,0,0,1],Cr=[0,.69224,0,0,.5],Or=[0,.43056,0,0,1],Lr=[.08198,.58198,0,0,.77778],sa=[.19444,.69224,0,0,.41667],pn=[.1808,.675,0,0,1],At=[.19444,.69224,0,0,.83334],Zt=[.13667,.63667,0,0,1],on=[-.064,.437,0,0,1.334],Yn=[.08167,.58167,0,0,.77778],Dt=[0,.69224,0,0,.72222],fn=[0,.69224,0,0,.66667],Vn=[-.13313,.36687,0,0,.77778],kn=[.06062,.54986,0,0,.77778],rr=[0,.69224,0,0,.77778],fr=[.25583,.75583,0,0,.77778],mn=[.25142,.75726,0,0,.77778],Ta=[.20576,.70576,0,0,.77778],ha=[.30274,.79383,0,0,.77778],ya=[.22958,.72958,0,0,.77778],Sa=[.1808,.675,0,0,.77778],Ma=[.13667,.63667,0,0,.77778],pa=[.13597,.63597,0,0,.77778],Er=[.03517,.54986,0,0,.77778],qr=[0,.675,0,0,.77778],Hi=[.19444,.69224,0,0,.61111],Fi=[0,.54986,0,0,.76042],$a=[0,.54986,0,0,.66667],ni=[.0391,.5391,0,0,.77778],no=[.03517,.54986,0,0,1.33334],oi=[.38569,.88569,0,0,.77778],so=[.23222,.74111,0,0,.77778],ta=[.19444,.69224,0,0,.77778],to=[0,.37788,0,0,.5],xo=[0,.54986,0,0,.72222],xl=[0,.69224,0,0,.83334],ll=[.11111,.69224,0,0,.66667],Uo=[.26167,.75726,0,0,.77778],co=[.48256,.98256,0,0,.77778],wl=[.28481,.79383,0,0,.77778],Yo=[.08167,.58167,0,0,.22222],gl=[.08167,.58167,0,0,.38889],zl=[0,.43056,.04028,0,.66667],Sl=[.41951,.91951,0,0,.77778],Cl=[.24982,.74947,0,0,.38865],wi=[.08319,.58283,0,0,.75623],ko=[0,.10803,0,0,.27764],Pi=[0,.47534,0,0,.50181],Ci=[.18906,.47534,0,0,.50181],Zn=[0,.69141,0,0,.50181],Mn=[.24982,.74947,0,0,.27764],dr=[0,.69141,0,0,.21471],Qr=[.25,.75,0,0,.44722],va=[0,.64444,0,0,.575],pi=[.08556,.58556,0,0,.89444],Ai=[0,.69444,0,0,.89444],Vi=[0,.68611,0,0,.9],ui=[0,.68611,0,0,.86944],Di=[.25,.75,0,0,.575],Eo=[.25,.75,0,0,.31944],Zo=[0,.69444,0,0,.63889],Qo=[0,.69444,0,0,.31944],He=[0,.44444,0,0,.63889],nt=[0,.44444,0,0,.51111],It=[0,.69444,0,0,.575],pe=[.13333,.63333,0,0,.89444],Oe=[0,.44444,0,0,.31944],Ae=[0,.69444,0,0,.86944],Ke=[0,.68611,0,0,.69166],Qe=[0,.68611,0,0,.83055],at=[0,.68611,0,0,.89444],ft=[0,.69444,0,0,.60278],Xt=[.19444,.69444,0,0,.51111],an=[0,.69444,0,0,.83055],Qn=[-.10889,.39111,0,0,1.14999],cr=[.19444,.69444,0,0,.575],Ar=[.19444,.69444,0,0,1.14999],Dn=[.19444,.69444,0,0,.70277],$n=[.05556,.75,0,0,.575],Jn=[0,.68611,0,0,.95833],kr=[.08556,.58556,0,0,.76666],Hr=[-.02639,.47361,0,0,.575],zr=[0,.44444,0,0,.89444],Fr=[0,.55556,0,0,.76666],jr=[-.10889,.39111,0,0,.89444],_r=[.00222,.50222,0,0,.89444],Jr=[.19667,.69667,0,0,.89444],kt=[.08556,.58556,0,0,1.14999],Pt=[0,.69444,0,0,.70277],zn=[-.02778,.47222,0,0,.575],Bn=[.25,.75,0,0,.51111],xr=[-.13889,.36111,0,0,1.14999],Zr=[.19444,.69444,0,0,1.02222],$t=[.12963,.69444,0,0,.89444],cn=[.19444,.69444,0,0,.44722],dn=[0,.64444,.13167,0,.59111],Rn=[.19444,.64444,.13167,0,.59111],yr=[0,.68611,.17208,0,.8961],Tr=[.19444,.44444,.105,0,.53222],vr=[0,.44444,.085,0,.82666],Pr=[0,.69444,.06709,0,.59111],ia=[0,.69444,.12945,0,.35555],Va=[0,.69444,0,0,.94888],ma=[0,.69444,.11472,0,.59111],Gr=[0,.68611,.10778,0,.88555],Ea=[0,.69444,.07939,0,.62055],ja=[0,.69444,.12417,0,.30667],ai=[0,.64444,.13556,0,.51111],Ra=[.19444,.64444,.13556,0,.51111],da=[0,.68333,.16389,0,.74333],ci=[.19444,.43056,.08847,0,.46],mi=[0,.43056,.07514,0,.71555],io=[0,.69444,.06646,0,.51111],po=[0,.69444,0,0,.83129],Ao=[0,.69444,.1225,0,.51111],uo=[0,.68333,.09403,0,.76666],ho=[0,.68333,.11111,0,.76666],ji=[0,.69444,.06961,0,.51444],wo=[0,.69444,0,0,.27778],Zi=[.25,.75,0,0,.38889],gi=[0,.64444,0,0,.5],mo=[0,.69444,0,0,.77778],_o=[0,.68333,0,0,.75],Wi=[0,.68333,0,0,.77778],al=[0,.68333,0,0,.68056],fl=[0,.68333,0,0,.72222],hl=[.25,.75,0,0,.5],qo=[.25,.75,0,0,.27778],Mo=[0,.69444,0,0,.5],Wl=[0,.69444,0,0,.55556],Vo=[0,.43056,0,0,.44445],yo=[0,.43056,0,0,.5],sl=[.19444,.43056,0,0,.55556],Vl=[0,.43056,0,0,.55556],pl=[.08333,.58333,0,0,.77778],Dl=[0,.43056,0,0,.27778],Lo=[0,.66786,0,0,.27778],jl=[0,.69444,0,0,.75],ls=[0,.66786,0,0,.5],Ql=[0,.68333,0,0,.625],Al=[.19444,.69444,0,0,.44445],Tl=[0,.69444,0,0,.72222],$l=[.19444,.69444,0,0,.5],Rl=[.19444,.69444,0,0,1],Il=[.011,.511,0,0,1.126],ss=[.19444,.69444,0,0,.61111],us=[.05556,.75,0,0,.5],ms=[0,.68333,0,0,.83334],ts=[.0391,.5391,0,0,.66667],ns=[-.05555,.44445,0,0,.5],Go=[0,.43056,0,0,.77778],il=[0,.55556,0,0,.66667],_l=[-.03625,.46375,0,0,.77778],Xl=[-.01688,.48312,0,0,.77778],hs=[.0391,.5391,0,0,1],xs=[0,.69444,0,0,.61111],Ms=[-.03472,.46528,0,0,.5],zs=[.25,.75,0,0,.44445],Ws=[-.14236,.35764,0,0,1],Bs=[.244,.744,0,0,.412],Xs=[.19444,.69444,0,0,.88889],Ul=[.12963,.69444,0,0,.77778],Le=[.19444,.69444,0,0,.38889],qe=[.011,.511,0,0,1.638],it=[.19444,.69444,0,0,0],Ce=[0,.44444,0,0,.575],Ne=[.19444,.44444,0,0,.575],St=[0,.68611,0,0,.75555],bt=[0,.69444,0,0,.66759],Jt=[0,.68611,0,0,.80555],_t=[0,.68611,.08229,0,.98229],Wt=[0,.68611,0,0,.76666],Wn=[0,.44444,0,0,.58472],xn=[.19444,.44444,0,0,.6118],Ln=[.19444,.43056,0,0,.5],Mr=[0,.68333,.02778,.08334,.76278],pr=[0,.68333,.08125,.05556,.83125],or=[0,.43056,0,.05556,.48472],sr=[.19444,.43056,0,.08334,.51702],Br=[.25,.75,0,0,.42778],Vr=[0,.69444,0,0,.55],na=[0,.69444,0,0,.73334],ka=[0,.69444,0,0,.79445],_e=[0,.69444,0,0,.51945],gt=[0,.69444,0,0,.70278],Ht=[0,.69444,0,0,.76389],Ue=[.25,.75,0,0,.34306],Ut=[0,.69444,0,0,.56111],hn=[0,.69444,0,0,.25556],Fn=[.19444,.45833,0,0,.56111],Lt=[0,.45833,0,0,.56111],Gt=[0,.69444,0,0,.30556],ln=[0,.69444,0,0,.58056],jn=[0,.69444,0,0,.67223],er=[0,.69444,0,0,.85556],gr=[0,.69444,0,0,.55834],lr=[0,.65556,.11156,0,.5],Nr=[0,.69444,.08094,0,.70834],Wr=[.17014,0,0,0,.44445],ea=[0,.69444,.0799,0,.5],Kr=[0,.69444,0,0,.73752],Ba=[0,.69444,.09205,0,.5],ua=[0,.69444,.09031,0,.77778],Na=[0,.69444,.07816,0,.27778],Ga=[0,.69444,.00316,0,.5],la=[.19444,.69444,0,0,.83334],ga=[.05556,.75,0,0,.83334],fa=[0,.75,0,0,.5],La=[.125,.08333,0,0,.27778],Aa=[0,.08333,0,0,.27778],ca=[0,.65556,0,0,.5],Xa=[0,.69444,0,0,.47222],ra=[0,.69444,0,0,.66667],Ya=[0,.69444,0,0,.59722],Za=[0,.69444,0,0,.54167],Ua=[0,.69444,0,0,.70834],Oa=[.25,.75,0,0,.28889],ii=[0,.69444,0,0,.51667],yi=[0,.44444,0,0,.44445],Ko=[.19444,.44444,0,0,.51667],No=[0,.44444,0,0,.38333],vo=[0,.44444,0,0,.51667],ol=[0,.69444,0,0,.83334],Bo=[.35001,.85,0,0,.45834],kl=[.35001,.85,0,0,.57778],Pl=[.35001,.85,0,0,.41667],Ki=[.35001,.85,0,0,.58334],di=[0,.72222,0,0,.55556],go=[1e-5,.6,0,0,.66667],zo=[1e-5,.6,0,0,.77778],oo=[.25001,.75,0,0,.94445],bo=[.306,.805,.19445,0,.47222],ro=[.30612,.805,.19445,0,.47222],Wo=[.25001,.75,0,0,.83334],ul=[.35001,.85,0,0,.47222],Nl=[.25001,.75,0,0,1.11111],Fl=[.65002,1.15,0,0,.59722],Ro=[.65002,1.15,0,0,.81111],Ji=[.65002,1.15,0,0,.47222],el=[.65002,1.15,0,0,.66667],ml=[0,.75,0,0,1],Io=[.55001,1.05,0,0,1.27778],Ho=[.862,1.36,.44445,0,.55556],Ui=[.86225,1.36,.44445,0,.55556],Bi=[.55001,1.05,0,0,1.11111],tl=[.65002,1.15,0,0,.52778],jo=[.65002,1.15,0,0,.61111],Bl=[.55001,1.05,0,0,1.51112],qi=[.95003,1.45,0,0,.73611],Ja=[.95003,1.45,0,0,1.04445],ki=[.95003,1.45,0,0,.52778],Oi=[.95003,1.45,0,0,.75],ba=[0,.75,0,0,1.44445],Qa=[.95003,1.45,0,0,.58334],Gi=[1.25003,1.75,0,0,.79167],cl=[1.25003,1.75,0,0,1.27778],Jl=[1.25003,1.75,0,0,.58334],ws=[1.25003,1.75,0,0,.80556],Te=[0,.825,0,0,1.8889],Ze=[1.25003,1.75,0,0,.63889],Et=[.64502,1.155,0,0,.875],Ot=[1e-5,.6,0,0,.875],Yt=[-99e-5,.601,0,0,.66667],An=[.64502,1.155,0,0,.66667],ar=[1e-5,.9,0,0,.88889],wr=[.65002,1.15,0,0,.88889],Un=[.90001,0,0,0,.88889],Gn=[-.00499,.605,0,0,1.05556],Sr=[0,.12,0,0,.45],Nn=[0,.61111,0,0,.525],Ur=[.08333,.69444,0,0,.525],xa=[-.08056,.53055,0,0,.525],wa=[-.05556,.55556,0,0,.525],Ka=[0,.43056,0,0,.525],Yr=[.22222,.43056,0,0,.525],ri=[0,0,0,0,.525],qa={"AMS-Regular":{32:Xr,65:Rr,66:aa,67:Rr,68:Rr,69:aa,70:Pa,71:qn,72:qn,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:qn,76:aa,77:[0,.68889,0,0,.94445],78:Rr,79:Fa,80:Pa,81:Fa,82:Rr,83:_a,84:aa,85:Rr,86:Rr,87:[0,.68889,0,0,1],88:Rr,89:Rr,90:aa,107:_a,160:Xr,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:_a,295:Si,710:Da,732:Mi,770:Da,771:Mi,989:Yn,1008:zl,8245:[0,.54986,0,0,.275],8463:Si,8487:Rr,8498:_a,8502:aa,8503:[0,.68889,0,0,.44445],8504:aa,8513:[0,.68889,0,0,.63889],8592:zi,8594:zi,8602:fi,8603:fi,8606:Tn,8608:Tn,8610:bn,8611:bn,8619:ir,8620:ir,8621:[-.13313,.37788,0,0,1.38889],8622:fi,8624:Cr,8625:Cr,8630:Or,8631:Or,8634:Lr,8635:Lr,8638:sa,8639:sa,8642:sa,8643:sa,8644:pn,8646:pn,8647:pn,8648:At,8649:pn,8650:At,8651:Tn,8652:Tn,8653:fi,8654:fi,8655:fi,8666:Zt,8667:Zt,8669:[-.13313,.37788,0,0,1],8672:on,8674:on,8705:[0,.825,0,0,.5],8708:_a,8709:Yn,8717:[0,.43056,0,0,.42917],8722:zi,8724:[.08198,.69224,0,0,.77778],8726:Yn,8733:rr,8736:Dt,8737:Dt,8738:[.03517,.52239,0,0,.72222],8739:Yo,8740:[.25142,.74111,0,0,.27778],8741:gl,8742:[.25142,.74111,0,0,.5],8756:fn,8757:fn,8764:Vn,8765:[-.13313,.37788,0,0,.77778],8769:Vn,8770:_l,8774:ha,8776:Xl,8778:Yn,8782:kn,8783:kn,8785:Lr,8786:Lr,8787:Lr,8790:rr,8791:ya,8796:[.08198,.91667,0,0,.77778],8806:fr,8807:fr,8808:mn,8809:mn,8812:[.25583,.75583,0,0,.5],8814:Ta,8815:Ta,8816:ha,8817:ha,8818:ya,8819:ya,8822:Sa,8823:Sa,8828:Ma,8829:Ma,8830:ya,8831:ya,8832:Ta,8833:Ta,8840:ha,8841:ha,8842:pa,8843:pa,8847:Er,8848:Er,8858:Lr,8859:Lr,8861:Lr,8862:qr,8863:qr,8864:qr,8865:qr,8872:[0,.69224,0,0,.61111],8873:Dt,8874:[0,.69224,0,0,.88889],8876:Pa,8877:Pa,8878:Rr,8879:Rr,8882:Er,8883:Er,8884:Ma,8885:Ma,8888:[0,.54986,0,0,1.11111],8890:sl,8891:Hi,8892:Hi,8901:[0,.54986,0,0,.27778],8903:Yn,8905:Yn,8906:Yn,8907:rr,8908:rr,8909:[-.03598,.46402,0,0,.77778],8910:Fi,8911:Fi,8912:Er,8913:Er,8914:$a,8915:$a,8916:fn,8918:ni,8919:ni,8920:no,8921:no,8922:oi,8923:oi,8926:Ma,8927:Ma,8928:ha,8929:ha,8934:so,8935:so,8936:so,8937:so,8938:Ta,8939:Ta,8940:ha,8941:ha,8994:ta,8995:ta,9416:[.15559,.69224,0,0,.90222],9484:Cr,9488:Cr,9492:to,9496:to,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:qr,9633:qr,9650:xo,9651:xo,9654:Er,9660:xo,9661:xo,9664:Er,9674:ll,9733:[.19444,.69224,0,0,.94445],10003:xl,10016:xl,10731:ll,10846:[.19444,.75583,0,0,.61111],10877:Ma,10878:Ma,10885:fr,10886:fr,10887:pa,10888:pa,10889:Uo,10890:Uo,10891:co,10892:co,10901:Ma,10902:Ma,10933:mn,10934:mn,10935:Uo,10936:Uo,10937:Uo,10938:Uo,10949:fr,10950:fr,10955:wl,10956:wl,57350:Yo,57351:gl,57352:Yn,57353:zl,57356:mn,57357:mn,57358:Sl,57359:ha,57360:ha,57361:Sl,57366:mn,57367:mn,57368:mn,57369:mn,57370:pa,57371:pa},"Caligraphic-Regular":{32:Xr,65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:Xr},"Fraktur-Regular":{32:Xr,33:[0,.69141,0,0,.29574],34:dr,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:Cl,41:Cl,42:[0,.62119,0,0,.27764],43:wi,44:ko,45:wi,46:ko,47:[.24982,.74947,0,0,.50181],48:Pi,49:Pi,50:Pi,51:Ci,52:Ci,53:Ci,54:Zn,55:Ci,56:Zn,57:Ci,58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:Mn,93:Mn,94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:Xr,8216:dr,8217:dr,58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:Xr,33:[0,.69444,0,0,.35],34:ft,35:[.19444,.69444,0,0,.95833],36:$n,37:[.05556,.75,0,0,.95833],38:Ai,39:Qo,40:Qr,41:Qr,42:[0,.75,0,0,.575],43:pe,44:[.19444,.15556,0,0,.31944],45:No,46:[0,.15556,0,0,.31944],47:Di,48:va,49:va,50:va,51:va,52:va,53:va,54:va,55:va,56:va,57:va,58:Oe,59:[.19444,.44444,0,0,.31944],60:pi,61:jr,62:pi,63:[0,.69444,0,0,.54305],64:Ai,65:ui,66:[0,.68611,0,0,.81805],67:Qe,68:[0,.68611,0,0,.88194],69:St,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:Vi,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:Ke,77:[0,.68611,0,0,1.09166],78:Vi,79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:ui,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:Eo,92:Di,93:Eo,94:It,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:Zo,99:nt,100:Zo,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:Zo,105:Qo,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:Qo,109:[0,.44444,0,0,.95833],110:He,111:Ce,112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:He,118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:nt,123:Di,124:Eo,125:Di,126:[.35,.34444,0,0,.575],160:Xr,163:[0,.69444,0,0,.86853],168:It,172:[0,.44444,0,0,.76666],176:Ae,177:pe,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:pe,216:[.04861,.73472,0,0,.89444],223:Ya,230:[0,.44444,0,0,.83055],247:pe,248:[.09722,.54167,0,0,.575],305:Oe,338:[0,.68611,0,0,1.16944],339:zr,567:[.19444,.44444,0,0,.35139],710:It,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:It,715:It,728:It,729:Qo,730:Ae,732:It,733:It,915:Ke,916:Jn,920:at,923:Jt,926:Wt,928:Vi,931:Qe,933:at,934:Qe,936:at,937:Qe,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:Qo,8217:Qo,8220:ft,8221:ft,8224:Xt,8225:Xt,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:bt,8465:an,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:an,8501:Pt,8592:Qn,8593:cr,8594:Qn,8595:cr,8596:Qn,8597:Di,8598:Ar,8599:Ar,8600:Ar,8601:Ar,8636:Qn,8637:Qn,8640:Qn,8641:Qn,8656:Qn,8657:Dn,8658:Qn,8659:Dn,8660:Qn,8661:[.25,.75,0,0,.70277],8704:Zo,8706:[0,.69444,.06389,0,.62847],8707:Zo,8709:$n,8711:Jn,8712:kr,8715:kr,8722:pe,8723:pe,8725:Di,8726:Di,8727:zn,8728:Hr,8729:Hr,8730:[.18,.82,0,0,.95833],8733:zr,8734:[0,.44444,0,0,1.14999],8736:Dt,8739:Eo,8741:Di,8743:Fr,8744:Fr,8745:Fr,8746:Fr,8747:[.19444,.69444,.12778,0,.56875],8764:jr,8768:[.19444,.69444,0,0,.31944],8771:_r,8776:[.02444,.52444,0,0,.89444],8781:_r,8801:_r,8804:Jr,8805:Jr,8810:kt,8811:kt,8826:pi,8827:pi,8834:pi,8835:pi,8838:Jr,8839:Jr,8846:Fr,8849:Jr,8850:Jr,8851:Fr,8852:Fr,8853:pe,8854:pe,8855:pe,8856:pe,8857:pe,8866:Pt,8867:Pt,8868:Ai,8869:Ai,8900:Hr,8901:[-.02639,.47361,0,0,.31944],8902:zn,8968:Bn,8969:Bn,8970:Bn,8971:Bn,8994:xr,8995:xr,9651:Zr,9657:zn,9661:Zr,9667:zn,9711:Ar,9824:$t,9825:$t,9826:$t,9827:$t,9837:[0,.75,0,0,.44722],9838:cn,9839:cn,10216:Qr,10217:Qr,10815:Vi,10927:Jr,10928:Jr,57376:it},"Main-BoldItalic":{32:Xr,33:[0,.69444,.11417,0,.38611],34:Ea,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:ia,40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:dn,49:dn,50:dn,51:dn,52:Rn,53:dn,54:dn,55:Rn,56:dn,57:dn,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:ma,64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:yr,73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:yr,79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:Pr,95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:Tr,104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:Tr,114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:Xr,168:[0,.69444,.11473,0,.59111],176:Va,184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:vr,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:vr,567:[.19444,.44444,.04611,0,.385],710:Pr,711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:ia,730:Va,732:ma,733:ma,915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:yr,931:[0,.68611,.11431,0,.82666],933:Gr,934:[0,.68611,.05632,0,.82666],936:Gr,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:ia,8217:ia,8220:[0,.69444,.16772,0,.62055],8221:Ea},"Main-Italic":{32:Xr,33:ja,34:ji,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:ja,40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:ai,49:ai,50:ai,51:ai,52:Ra,53:ai,54:ai,55:Ra,56:ai,57:ai,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Ao,64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:da,73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:da,79:uo,80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:da,86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:io,95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:ci,104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:ci,114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:Xr,168:[0,.66786,.10474,0,.51111],176:po,184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:mi,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:mi,710:io,711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:po,732:[0,.66786,.11585,0,.51111],733:Ao,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:uo,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:da,931:[0,.68333,.12028,0,.71555],933:ho,934:[0,.68333,.05986,0,.71555],936:ho,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:ja,8217:ja,8220:[0,.69444,.1685,0,.51444],8221:ji,8463:Si},"Main-Regular":{32:Xr,33:wo,34:Mo,35:la,36:us,37:ga,38:mo,39:wo,40:Zi,41:Zi,42:fa,43:pl,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:hl,48:gi,49:gi,50:gi,51:gi,52:gi,53:gi,54:gi,55:gi,56:gi,57:gi,58:Dl,59:[.19444,.43056,0,0,.27778],60:ni,61:Vn,62:ni,63:Xa,64:mo,65:_o,66:[0,.68333,0,0,.70834],67:fl,68:[0,.68333,0,0,.76389],69:al,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:_o,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:Wi,76:Ql,77:[0,.68333,0,0,.91667],78:_o,79:Wi,80:al,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:fl,85:_o,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:_o,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:qo,92:hl,93:qo,94:Mo,95:[.31,.12056,.02778,0,.5],97:yo,98:Wl,99:Vo,100:Wl,101:Vo,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:Wl,105:Lo,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:wo,109:[0,.43056,0,0,.83334],110:Vl,111:yo,112:sl,113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:Vl,118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:Vo,123:hl,124:qo,125:hl,126:[.35,.31786,0,0,.5],160:Xr,163:[0,.69444,0,0,.76909],167:Al,168:ls,172:[0,.43056,0,0,.66667],176:jl,177:pl,182:ss,184:Wr,198:[0,.68333,0,0,.90278],215:pl,216:[.04861,.73194,0,0,.77778],223:Mo,230:[0,.43056,0,0,.72222],247:pl,248:[.09722,.52778,0,0,.5],305:Dl,338:[0,.68333,0,0,1.01389],339:Go,567:[.19444,.43056,0,0,.30556],710:Mo,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:Mo,715:Mo,728:Mo,729:Lo,730:jl,732:ls,733:Mo,915:Ql,916:ms,920:Wi,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:_o,931:fl,933:Wi,934:fl,936:Wi,937:fl,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:wo,8217:wo,8220:Mo,8221:Mo,8224:Al,8225:Al,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:Si,8465:Tl,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:Tl,8501:xs,8592:fi,8593:$l,8594:fi,8595:$l,8596:fi,8597:hl,8598:Rl,8599:Rl,8600:Rl,8601:Rl,8614:[.011,.511,0,0,1],8617:Il,8618:Il,8636:fi,8637:fi,8640:fi,8641:fi,8652:[.011,.671,0,0,1],8656:fi,8657:ss,8658:fi,8659:ss,8660:fi,8661:[.25,.75,0,0,.61111],8704:Wl,8706:[0,.69444,.05556,.08334,.5309],8707:Wl,8709:us,8711:ms,8712:ts,8715:ts,8722:pl,8723:pl,8725:hl,8726:hl,8727:Ms,8728:ns,8729:ns,8730:[.2,.8,0,0,.83334],8733:Go,8734:Or,8736:Dt,8739:qo,8741:hl,8743:il,8744:il,8745:il,8746:il,8747:[.19444,.69444,.11111,0,.41667],8764:Vn,8768:[.19444,.69444,0,0,.27778],8771:_l,8773:[-.022,.589,0,0,1],8776:Xl,8781:_l,8784:[-.133,.67,0,0,.778],8801:_l,8804:pa,8805:pa,8810:hs,8811:hs,8826:ni,8827:ni,8834:ni,8835:ni,8838:pa,8839:pa,8846:il,8849:pa,8850:pa,8851:il,8852:il,8853:pl,8854:pl,8855:pl,8856:pl,8857:pl,8866:xs,8867:xs,8868:mo,8869:mo,8872:[.249,.75,0,0,.867],8900:ns,8901:[-.05555,.44445,0,0,.27778],8902:Ms,8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:zs,8969:zs,8970:zs,8971:zs,8994:Ws,8995:Ws,9136:Bs,9137:Bs,9651:Xs,9657:Ms,9661:Xs,9667:Ms,9711:Rl,9824:Ul,9825:Ul,9826:Ul,9827:Ul,9837:[0,.75,0,0,.38889],9838:Le,9839:Le,10216:Zi,10217:Zi,10222:Bs,10223:Bs,10229:[.011,.511,0,0,1.609],10230:qe,10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:qe,10815:_o,10927:pa,10928:pa,57376:it},"Math-BoldItalic":{32:Xr,48:Ce,49:Ce,50:Ce,51:Ne,52:Ne,53:Ne,54:va,55:Ne,56:va,57:Ne,65:ui,66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:_t,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:St,77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:bt,105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:Wn,112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:Xr,915:[0,.68611,.15972,0,.65694],916:Jn,920:[0,.68611,.03194,0,.86722],923:Jt,926:[0,.68611,.07458,0,.84125],928:_t,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:Wt,936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:Wn,960:[0,.44444,.03704,0,.68241],961:xn,962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:xn,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:Xr,48:yo,49:yo,50:yo,51:Ln,52:Ln,53:Ln,54:gi,55:Ln,56:gi,57:Ln,65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:pr,73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:Mr,80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:or,112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:Xr,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:Mr,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:pr,931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:or,960:[0,.43056,.03588,0,.57003],961:sr,962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:sr,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:Xr,33:[0,.69444,0,0,.36667],34:gr,35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:Gt,40:Br,41:Br,42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:Vr,49:Vr,50:Vr,51:Vr,52:Vr,53:Vr,54:Vr,55:Vr,56:Vr,57:Vr,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:_e,64:na,65:na,66:na,67:gt,68:ka,69:[0,.69444,0,0,.64167],70:xs,71:na,72:ka,73:[0,.69444,0,0,.33056],74:_e,75:Ht,76:ln,77:[0,.69444,0,0,.97778],78:ka,79:ka,80:gt,81:[.10556,.69444,0,0,.79445],82:gt,83:xs,84:na,85:Ht,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:na,89:[0,.69444,.0275,0,.73334],90:jn,91:Ue,93:Ue,94:Vr,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:Ut,99:[0,.45833,0,0,.48889],100:Ut,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:Ut,105:hn,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:hn,109:[0,.45833,0,0,.86667],110:Lt,111:[0,.45833,0,0,.55],112:Fn,113:Fn,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Lt,118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:Xr,168:Vr,176:na,180:Vr,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:Vr,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:Vr,729:Gt,730:na,732:Vr,733:Vr,915:ln,916:[0,.69444,0,0,.91667],920:er,923:jn,926:na,928:ka,931:ka,933:er,934:ka,936:er,937:ka,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:Gt,8217:Gt,8220:gr,8221:gr},"SansSerif-Italic":{32:Xr,33:[0,.69444,.05733,0,.31945],34:Ga,35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:Na,40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:La,45:[0,.44444,.01946,0,.33333],46:Aa,47:[.25,.75,.13164,0,.5],48:lr,49:lr,50:lr,51:lr,52:lr,53:lr,54:lr,55:lr,56:lr,57:lr,58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:ra,66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:Nr,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:Za,77:[0,.69444,.08094,0,.875],78:Nr,79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:ea,95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:Xr,168:[0,.67937,.06385,0,.5],176:Kr,184:Wr,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:ea,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:Ba,715:Mo,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:Kr,732:[0,.67659,.08826,0,.5],733:Ba,915:[0,.69444,.13372,0,.54167],916:ol,920:[0,.69444,.07555,0,.77778],923:xs,926:[0,.69444,.12816,0,.66667],928:Nr,931:[0,.69444,.11983,0,.72222],933:ua,934:[0,.69444,.04603,0,.72222],936:ua,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:Na,8217:Na,8220:[0,.69444,.14205,0,.5],8221:Ga},"SansSerif-Regular":{32:Xr,33:[0,.69444,0,0,.31945],34:Mo,35:la,36:us,37:ga,38:[0,.69444,0,0,.75834],39:wo,40:Zi,41:Zi,42:fa,43:pl,44:La,45:[0,.44444,0,0,.33333],46:Aa,47:hl,48:ca,49:ca,50:ca,51:ca,52:ca,53:ca,54:ca,55:ca,56:ca,57:ca,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:Xa,64:ra,65:ra,66:ra,67:Zo,68:[0,.69444,0,0,.72223],69:Ya,70:[0,.69444,0,0,.56945],71:ra,72:Ua,73:wo,74:Xa,75:[0,.69444,0,0,.69445],76:Za,77:[0,.69444,0,0,.875],78:Ua,79:[0,.69444,0,0,.73611],80:Zo,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:Wl,84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:ra,89:[0,.69444,.025,0,.66667],90:xs,91:Oa,93:Oa,94:Mo,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:ii,99:yi,100:ii,101:yi,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:ii,105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:vo,111:[0,.44444,0,0,.5],112:Ko,113:Ko,114:[0,.44444,.01389,0,.34167],115:No,116:[0,.57143,0,0,.36111],117:vo,118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:Xr,168:[0,.67937,0,0,.5],176:ra,184:Wr,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:Mo,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:Mo,715:Mo,728:Mo,729:[0,.67937,0,0,.27778],730:ra,732:[0,.67659,0,0,.5],733:Mo,915:Za,916:ol,920:mo,923:xs,926:ra,928:Ua,931:Tl,933:mo,934:Tl,936:mo,937:Tl,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:wo,8217:wo,8220:Mo,8221:Mo},"Script-Regular":{32:Xr,65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:Xr},"Size1-Regular":{32:Xr,40:Bo,41:Bo,47:kl,91:Pl,92:kl,93:Pl,123:Ki,125:Ki,160:Xr,710:di,732:di,770:di,771:di,8214:[-99e-5,.601,0,0,.77778],8593:go,8595:go,8657:zo,8659:zo,8719:oo,8720:oo,8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:ro,8748:bo,8749:bo,8750:ro,8896:Wo,8897:Wo,8898:Wo,8899:Wo,8968:ul,8969:ul,8970:ul,8971:ul,9168:Yt,10216:ul,10217:ul,10752:Nl,10753:Nl,10754:Nl,10756:Wo,10758:Wo},"Size2-Regular":{32:Xr,40:Fl,41:Fl,47:Ro,91:Ji,92:Ro,93:Ji,123:el,125:el,160:Xr,710:ml,732:ml,770:ml,771:ml,8719:Io,8720:Io,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:Ui,8748:Ho,8749:Ho,8750:Ui,8896:Bi,8897:Bi,8898:Bi,8899:Bi,8968:tl,8969:tl,8970:tl,8971:tl,10216:jo,10217:jo,10752:Bl,10753:Bl,10754:Bl,10756:Bi,10758:Bi},"Size3-Regular":{32:Xr,40:qi,41:qi,47:Ja,91:ki,92:Ja,93:ki,123:Oi,125:Oi,160:Xr,710:ba,732:ba,770:ba,771:ba,8730:[.95003,1.45,0,0,1],8968:Qa,8969:Qa,8970:Qa,8971:Qa,10216:Oi,10217:Oi},"Size4-Regular":{32:Xr,40:Gi,41:Gi,47:cl,91:Jl,92:cl,93:Jl,123:ws,125:ws,160:Xr,710:Te,732:Te,770:Te,771:Te,8730:[1.25003,1.75,0,0,1],8968:Ze,8969:Ze,8970:Ze,8971:Ze,9115:Et,9116:Ot,9117:Et,9118:Et,9119:Ot,9120:Et,9121:An,9122:Yt,9123:An,9124:An,9125:Yt,9126:An,9127:ar,9128:wr,9129:Un,9130:[0,.3,0,0,.88889],9131:ar,9132:wr,9133:Un,9143:[.88502,.915,0,0,1.05556],10216:ws,10217:ws,57344:Gn,57345:Gn,57680:Sr,57681:Sr,57682:Sr,57683:Sr},"Typewriter-Regular":{32:ri,33:Nn,34:Nn,35:Nn,36:Ur,37:Ur,38:Nn,39:Nn,40:Ur,41:Ur,42:[0,.52083,0,0,.525],43:xa,44:[.13889,.125,0,0,.525],45:xa,46:[0,.125,0,0,.525],47:Ur,48:Nn,49:Nn,50:Nn,51:Nn,52:Nn,53:Nn,54:Nn,55:Nn,56:Nn,57:Nn,58:Ka,59:[.13889,.43056,0,0,.525],60:wa,61:[-.19549,.41562,0,0,.525],62:wa,63:Nn,64:Nn,65:Nn,66:Nn,67:Nn,68:Nn,69:Nn,70:Nn,71:Nn,72:Nn,73:Nn,74:Nn,75:Nn,76:Nn,77:Nn,78:Nn,79:Nn,80:Nn,81:[.13889,.61111,0,0,.525],82:Nn,83:Nn,84:Nn,85:Nn,86:Nn,87:Nn,88:Nn,89:Nn,90:Nn,91:Ur,92:Ur,93:Ur,94:Nn,95:[.09514,0,0,0,.525],96:Nn,97:Ka,98:Nn,99:Ka,100:Nn,101:Ka,102:Nn,103:Yr,104:Nn,105:Nn,106:[.22222,.61111,0,0,.525],107:Nn,108:Nn,109:Ka,110:Ka,111:Ka,112:Yr,113:Yr,114:Ka,115:Ka,116:[0,.55358,0,0,.525],117:Ka,118:Ka,119:Ka,120:Ka,121:Yr,122:Ka,123:Ur,124:Ur,125:Ur,126:Nn,127:Nn,160:ri,176:Nn,184:[.19445,0,0,0,.525],305:Ka,567:Yr,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:Nn,715:Nn,728:Nn,730:Nn,770:Nn,771:Nn,776:Nn,915:Nn,916:Nn,920:Nn,923:Nn,926:Nn,928:Nn,931:Nn,933:Nn,934:Nn,936:Nn,937:Nn,8216:Nn,8217:Nn,8242:Nn,9251:[.11111,.21944,0,0,.525]}},Ti=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,vi=10,hi=.25,bi=1.2,_i=.431,Fo={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[_i,_i,_i],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.5,.732,.925],num2:[.394,.384,.5],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[hi,hi,hi],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04]},Ii=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Wa=5,Ha={"\xA0":" ","\u200B":" ",\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function ei(a,y){a===void 0&&(a=77);const b=qa[y][a];if(b)return{defaultMetrics:!1,depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]};if(a===11034)return{defaultMetrics:!0,depth:.2,height:.8,italic:0,skew:0,width:.8};const E=String.fromCodePoint(a);if(E in Ha)a=Ha[E].codePointAt(0);else if(Ti.test(E))return a=77,{defaultMetrics:!0,depth:.2,height:.9,italic:0,skew:0,width:1};return{defaultMetrics:!0,depth:.2,height:.7,italic:0,skew:0,width:.8}}var Li={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],longrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],longleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],longleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],longrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],longleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],longleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],longRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716],longLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},ao={widehat1:[1062,239,.24],widehat2:[2364,300,.3],widehat3:[2364,360,.36],widehat4:[2364,420,.42],widecheck1:[1062,239,.24],widecheck2:[2364,300,.3],widecheck3:[2364,360,.36],widecheck4:[2364,420,.42],widetilde1:[600,260,.26],widetilde2:[1033,286,.286],widetilde3:[2339,306,.306],widetilde4:[2340,312,.34],overarc:[1061,159,.3],underarc:[1061,159,.3]},nl={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,overarc:"M529 0c179 0 524 115 524 115 5 1 9 5 9 10 0 1-1 2-1 3l-4 22c-1 5-5 9-11 9h-2s-338-93-512-92c-174 0-513 92-513 92h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13 0 0 342-115 520-115z",underarc:`m 529 160
c -179 0 -524 -115 -524 -115
c -5 -1 -9 -5 -9 -10
c 0 -1 1 -2 1 -3
l 4 -22
c 1 -5 5 -9 11 -9
h 2
s 338 93 512 92
c 174 0 513 -92 513 -92
h 2
c 5 0 9 4 11 9
l 5 22
c 1 6 -2 12 -8 13
c 0 0 -342 115 -520 115
z
`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,widetilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,widetilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,widetilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,widetilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`};function Po(a){if(ao[a]){const[Ve,lt,zt]=ao[a],wn=`<span class="stretchy" style="height:${zt}em"><svg width="100%" height="${zt}em" viewBox="0 0 ${Ve} ${lt}" preserveAspectRatio="none" ><path fill="currentcolor" d="${nl[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*zt/2)/100}em;min-width:0">${wn}</span>`}const[y,b,E,te]=Li[a];let ie,le;const De=E/1e3;y.length===3?(ie=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],le=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(ie=["slice-1-of-2","slice-2-of-2"],le=["xMinYMin","xMaxYMin"]):(ie=["slice-1-of-1"],le=[te]);const Re=y.map((Ve,lt)=>`<span class="${ie[lt]}" style=height:${De}em><svg width=400em height=${De}em viewBox="0 0 400000 ${E}" preserveAspectRatio="${le[lt]} slice"><path fill="currentcolor" d="${nl[Ve]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${De}em;min-width:${b}em;">${Re}</span>`}function Oo(a){return Li[a]?Li[a][2]/1e3:ao[a][2]}function Ml(a){const y=[];for(let b=0;b<a.length;b++){let E=a.charCodeAt(b);if(E===13&&a.charCodeAt(b+1)===10&&(E=10,b++),(E===13||E===12)&&(E=10),E===0&&(E=65533),E>=55296&&E<=56319){const te=a.charCodeAt(b+1);if(te>=56320&&te<=57343){const ie=E-55296,le=te-56320;E=Mc(2,16)+ie*Mc(2,10)+le,b++}}y.push(E)}return y}var vl=8205,Kl=[[vl,1],[65038,2],[127995,5],[129456,4],[917536,96]],Gl,Is=[127462,127487];function Ps(a){var y;if(Gl===void 0){Gl={};for(const b of Kl)for(let E=b[0];E<=b[0]+b[1]-1;E++)Gl[E]=!0}return(y=Gl[a])!=null?y:!1}function Yl(a){return a>=Is[0]&&a<=Is[1]}function _s(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=Ml(a);let E=0;for(;E<b.length;){const te=b[E++],ie=b[E];if(ie===vl){const le=E-1;for(E+=2;b[E]===vl;)E+=2;y.push(String.fromCodePoint(...b.slice(le,E-le+1)))}else if(Ps(ie)){const le=E-1;for(;Ps(b[E]);)E+=b[E]===vl?2:1;y.push(String.fromCodePoint(...b.slice(le,2*E-le-1)))}else Yl(te)?(E+=1,y.push(String.fromCodePoint(...b.slice(E-2,2)))):y.push(String.fromCodePoint(te))}return y}var ps=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=_s(a)}end(){return this.pos>=this.s.length}get(){return this.pos<this.s.length?this.s[this.pos++]:""}peek(){return this.s[this.pos]}match(a){const y=typeof this.s=="string"?a.exec(this.s.slice(this.pos)):a.exec(this.s.slice(this.pos).join(""));return y!=null&&y[0]?(this.pos+=y[0].length,y[0]):""}next(){if(this.end())return null;if(!this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]+/)||this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]/))return"<space>";const a=this.get();if(a==="\\"){if(!this.end()){let y=this.match(/^[a-zA-Z\*]+/);return y?this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]*/):y=this.get(),"\\"+y}}else{if(a==="{")return"<{>";if(a==="}")return"<}>";if(a==="^"){if(this.peek()==="^"){this.get();const y=this.match(/^(\^(\^(\^(\^[\da-f])?[\da-f])?[\da-f])?[\da-f])?[\da-f]{2}/);if(y)return String.fromCodePoint(Number.parseInt(y.slice(y.lastIndexOf("^")+1),16))}return a}else if(a==="#"){if(!this.end()){let y=!1;if(/[\d?@]/.test(this.peek())&&(y=!0,this.pos+1<this.s.length)){const b=this.s[this.pos+1];y=/[^\dA-Za-z]/.test(b)}return y?"#"+this.get():"#"}}else if(a==="$")return this.peek()==="$"?(this.get(),"<$$>"):"<$>"}return a}};function gs(a,y){var b,E,te,ie;const le=[];let De=a.next();if(De&&De!=="\\relax"){if(De==="\\noexpand")De=a.next(),De&&le.push(De);else if(De==="\\obeyspaces")a.obeyspaces=!0;else if(De==="\\bgroup")le.push("<{>");else if(De==="\\egroup")le.push("<}>");else if(De==="\\string"){if(De=a.next(),De)if(De.startsWith("\\"))for(const Re of De)le.push(Re==="\\"?"\\backslash":Re);else De==="<{>"?le.push("\\{"):De==="<space>"?le.push("~"):De==="<}>"&&le.push("\\}")}else if(De==="\\csname"){for(;a.peek()==="<space>";)a.next();let Re="",Ve=!1,lt=[];do{if(lt.length===0)if(/^#[\d?@]$/.test(a.peek())){const zt=a.get().slice(1);lt=Jo((E=(b=y==null?void 0:y(zt))!=null?b:y==null?void 0:y("?"))!=null?E:"\\placeholder{}",y),De=lt[0]}else De=a.next(),lt=De?[De]:[];Ve=lt.length===0,!Ve&&De==="\\endcsname"&&(Ve=!0,lt.shift()),Ve||(Ve=De==="<$>"||De==="<$$>"||De==="<{>"||De==="<}>"||typeof De=="string"&&De.length>1&&De.startsWith("\\")),Ve||(Re+=lt.shift())}while(!Ve);Re&&le.push("\\"+Re),le.push(...lt)}else if(De!=="\\endcsname")if(De.length>1&&De.startsWith("#")){const Re=De.slice(1);le.push(...Jo((ie=(te=y==null?void 0:y(Re))!=null?te:y==null?void 0:y("?"))!=null?ie:"\\placeholder{}",y))}else le.push(De)}return le}function Jo(a,y=null){const b=[];let E="";for(const le of a.toString().split(/\r?\n/)){E&&b.push(E),E=" ";const De=le.match(/((?:\\%)|[^%])*/);De!==null&&b.push(De[0])}const te=new ps(Nt(b.join(""))),ie=[];do ie.push(...gs(te,y));while(!te.end());return ie}function Qi(a){let y="";const b=[];for(const E of a)E&&(y&&/^[a-zA-Z\*]/.test(E)&&b.push(y),b.push(E),/^\\[a-zA-Z]+\*?[\"\'][^\ ]+$/.test(E)&&b.push(" "),y=/\\[a-zA-Z]+\*?$/.test(E)?" ":"");return b.join("")}function Ni(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:Qi([a,...y.map(b=>`{${b}}`)])}function So(a){return Qi(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var Co=class Pf{constructor(y){Pf._registry[y]=this}static createAtom(y,b,E){return Pf._registry[y].createAtom(b,rn(b,y),E)}static serialize(y,b){var E;if(!y||y.length===0)return"";if((E=b.skipStyles)!=null&&E){const te=[];for(const ie of rs(y)){const le=Pf._registry[ie[0].mode];te.push(...le.serialize(ie,b))}return Qi(te)}return Qi(es(y,b))}static getFont(y,b,E){return Pf._registry[y].getFont(b,E)}};Co._registry={};var Xi=Co;function rs(a){const y=[];let b=[],E="NONE";for(const te of a)te.type!=="first"&&(te.mode!==E?(b.length>0&&y.push(b),b=[te],E=te.mode):b.push(te));return b.length>0&&y.push(b),y}function $i(a,y){const b=[];let E=[],te;for(const ie of a)if(ie.type!=="first"&&ie.style){let le;y==="variant"?(le=ie.style.variant,ie.style.variantStyle&&ie.style.variantStyle!=="up"&&(le+="-"+ie.style.variantStyle)):le=ie.style[y],le===te?E.push(ie):(E.length>0&&b.push(E),E=[ie],te=le)}return E.length>0&&b.push(E),b}function bl(a,y){var b;const{parent:E}=a[0],te=E==null?void 0:E.computedStyle.color,ie=[];for(const le of rs(a)){const De=y.defaultMode;for(const Re of $i(le,"color")){const Ve=Re[0].computedStyle,lt=Xi._registry[Re[0].mode].serialize(Re,me(Se({},y),{defaultMode:De==="text"?"text":"math"}));!y.skipStyles&&Ve.color&&Ve.color!=="none"&&(!E||te!==Ve.color)?ie.push(Ni("\\textcolor",(b=Ve.verbatimColor)!=null?b:Ve.color,Qi(lt))):ie.push(Qi(lt))}}return ie}function cs(a,y){const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.backgroundColor;return $i(a,"backgroundColor").map(te=>{var ie;if(te.length>0||te[0].type!=="box"){const le=te[0].computedStyle;if(le.backgroundColor&&le.backgroundColor!=="none"&&(!b||E!==le.backgroundColor))return Ni("\\colorbox",(ie=le.verbatimBackgroundColor)!=null?ie:le.backgroundColor,Qi(bl(te,me(Se({},y),{defaultMode:"text"}))))}return Qi(bl(te,y))})}function es(a,y){if(a.length===0)return[];const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.fontSize,te=[];for(const ie of $i(a,"fontSize")){const le=ie[0].computedStyle.fontSize,De=cs(ie,y);De&&(le&&le!=="auto"&&(!b||E!==le)?te.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][le],...De):te.push(...De))}return te}function au(a){return a?{mord:"ord",mbin:"bin",mop:"op",mrel:"rel",mopen:"open",mclose:"close",mpunct:"punct",minner:"inner",spacing:"ignore",latex:"latex",composition:"inner",error:"inner",placeholder:"ord",supsub:"ignore"}[a]:void 0}function nu(a){if(a.length===0)return"ord";const y=au(a[0].type),b=au(a[a.length-1].type);return y&&y===b?y:"ord"}function Au(a,y){if(typeof a=="string")return a;if(typeof a=="number"){console.assert(Number.isFinite(a));const b=Math.ceil(100*a)/100;return b===0?"0":b.toString()+(y!=null?y:"")}return""}var li=class Pp{constructor(y,b){var E,te,ie,le,De;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:fe(y)?this.children=y.filter(Ve=>Ve!==null):y&&y instanceof Pp&&(this.children=[y]),this.children)for(const Ve of this.children)Ve.parent=this;this.type=(E=b==null?void 0:b.type)!=null?E:"ignore",this.isSelected=(b==null?void 0:b.isSelected)===!0,b!=null&&b.caret&&(this.caret=b.caret),this.classes=(te=b==null?void 0:b.classes)!=null?te:"",this.isTight=(ie=b==null?void 0:b.isTight)!=null?ie:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let Re=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(Re=(De=Xi.getFont((le=b.mode)!=null?le:"math",this,me(Se({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?De:void 0),Re||(Re="Main-Regular"),this._height=0,this._depth=0,this._width=0,this.hasExplicitWidth=!1,this.skew=0,this.italic=0,this.maxFontSize=0,this.scale=1,(b==null?void 0:b.maxFontSize)!==void 0&&(this.maxFontSize=b.maxFontSize),vs(this,Re)}set atomID(y){y===void 0||y.length===0||(this.id=y)}selected(y){if(this.isSelected!==y&&(this.isSelected=y,this.children))for(const b of this.children)b.selected(y)}setStyle(y,b,E){if(b===void 0)return;const te=Au(b,E);te.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=te)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=Au(y,"em"),this.height-=y,this.depth+=y)}get left(){var y;return(y=this.cssProperties)!=null&&y["margin-left"]?Number.parseFloat(this.cssProperties["margin-left"]):0}set left(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-left"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-left"]=Au(y,"em")))}set right(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-right"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-right"]=Au(y,"em")))}set bottom(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-bottom"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-bottom"]=Au(y,"em")))}get width(){return this._width*this.scale}set width(y){this._width=y,this.hasExplicitWidth=!0}set softWidth(y){}get height(){return this._height*this.scale}set height(y){this._height=y}get depth(){return this._depth*this.scale}set depth(y){this._depth=y}wrap(y){const b=y.parent;if(!b)return this;y.isPhantom&&this.setStyle("opacity",0);const E=y.color;E&&E!==b.color&&this.setStyle("color",E);let te=y.backgroundColor;this.isSelected&&(te=en(te)),te&&te!==b.backgroundColor&&(this.setStyle("background-color",te),this.setStyle("display","inline-block"));const ie=y.scalingFactor;return this.scale=ie,this.skew*=ie,this.italic*=ie,this}toMarkup(){var y,b,E,te;let ie=(y=this.value)!=null?y:"";if(this.children)for(const nr of this.children)ie+=nr.toMarkup();let le="";if(this.svgBody)le=Po(this.svgBody);else if(this.svgOverlay){le='<span style="',le+="display: inline-block;",le+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,le+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,le+='">',le+=ie,le+="</span>",le+='<svg style="position:absolute;overflow:visible;',le+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const nr=(b=this.cssProperties)==null?void 0:b.padding;nr?(le+=`top:${nr};`,le+=`left:${nr};`,le+=`width:calc(100% - 2 * ${nr} );`):le+="top:0;left:0;width:100%;",le+="z-index:2;",le+='"',this.svgStyle&&(le+=this.svgStyle),le+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,le+=`>${this.svgOverlay}</svg>`}let De="";const Re=this.classes.split(" ");Re.push((E={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?E:""),this.caret==="latex"&&Re.push("ML__latex-caret"),this.isSelected&&Re.push("ML__selected");const Ve=Re.length===1?Re[0]:Re.filter((nr,hr,Ia)=>nr.length>0&&Ia.indexOf(nr)===hr).join(" ");if(Ve.length>0&&(De+=` class="${Ve}"`),this.id&&(De+=` data-atom-id=${this.id}`),this.cssId&&(De+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(De+=" "+Object.keys(this.attributes).map(nr=>`${nr}="${this.attributes[nr]}"`).join(" ")),this.htmlData){const nr=this.htmlData.split(",");for(const hr of nr){const Ia=hr.match(/([^=]+)=(.+$)/);if(Ia){const Yi=Ia[1].trim().replace(/ /g,"-");Yi&&(De+=` data-${Yi}="${Ia[2]}" `)}else{const Yi=hr.trim().replace(/ /g,"-");Yi&&(De+=` data-${Yi} `)}}}const lt=(te=this.cssProperties)!=null?te:{};this.hasExplicitWidth&&lt.width===void 0&&(lt.width=`${Math.ceil(this._width*100)/100}em`);const zt=Object.keys(lt).map(nr=>`${nr}:${lt[nr]}`);if(this.scale!==void 0&&this.scale!==1&&(ie.length>0||le.length>0)&&zt.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const nr=this.htmlStyle.split(";");let hr="";for(const Ia of nr){const Yi=Ia.match(/([^=]+):(.+$)/);if(Yi){const Ca=Yi[1].trim().replace(/ /g,"-");Ca&&(hr+=`${Ca}:${Yi[2]};`)}}hr&&(De+=` style="${hr}"`)}zt.length>0&&(De+=` style="${zt.join(";")}"`);let wn="";return De.length>0||le.length>0?wn=`<span${De}>${ie}${le}</span>`:wn=ie,this.caret==="text"?wn+='<span class="ML__text-caret"></span>':this.caret==="math"&&(wn+='<span class="ML__caret"></span>'),wn}tryCoalesceWith(y){if(this.svgBody||!this.value||y.svgBody||!y.value)return!1;const b=this.children&&this.children.length>0,E=y.children&&y.children.length>0;if(b||E)return!1;if(y.cssProperties||this.cssProperties){for(const Re of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&Re in y.cssProperties||this.cssProperties&&Re in this.cssProperties)return!1}const te=this.cssProperties?Object.keys(this.cssProperties).length:0,ie=y.cssProperties?Object.keys(y.cssProperties).length:0;if(te!==ie)return!1;if(te>0){for(const Re of Object.keys(this.cssProperties))if(this.cssProperties[Re]!==y.cssProperties[Re])return!1}const le=this.classes.trim().replace(/\s+/g," ").split(" "),De=y.classes.trim().replace(/\s+/g," ").split(" ");if(le.length!==De.length)return!1;le.sort(),De.sort();for(const[Re,Ve]of le.entries())if(Ve==="vertical-separator"||Ve!==De[Re])return!1;return this.value+=y.value,this.height=Math.max(this.height,y.height),this.depth=Math.max(this.depth,y.depth),this._width=this._width+y._width,this.maxFontSize=Math.max(this.maxFontSize,y.maxFontSize),this.italic=y.italic,!0}};function Hu(a){if(!a||a.length===0)return[];a[0].children=Hu(a[0].children);const y=[a[0]];for(let b=1;b<a.length;b++)y[y.length-1].tryCoalesceWith(a[b])||(a[b].children=Hu(a[b].children),y.push(a[b]));return y}function js(a){return a.children&&(a.children=Hu(a.children)),a}function bu(a,y){if(!a)return new li(null,y);const b=new li(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const E=[b];if(a.depth!==0){const te=new li(null,{classes:"ML__strut--bottom",type:"ignore"});te.setStyle("height",a.height+a.depth,"em"),te.setStyle("vertical-align",-a.depth,"em"),E.push(te)}return E.push(a),new li(E,me(Se({},y),{type:"lift"}))}function Nu(a){const y=Oo(a)/2,b=new li(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function vs(a,y){var b;if(a.type==="latex"){a.height=.9,a.depth=.2,a._width=1;return}if(a.value){a.height=-1/0,a.depth=-1/0,a._width=0,a.skew=-1/0,a.italic=-1/0;for(let E=0;E<a.value.length;E++){const te=ei(a.value.codePointAt(E),y);a.height=Math.max(a.height,te.height),a.depth=Math.max(a.depth,te.depth),a._width+=te.width,a.skew=te.skew,a.italic=te.italic}return}if(a.children&&a.children.length>0){let E=-1/0,te=-1/0,ie=0;for(const le of a.children)le.height>E&&(E=le.height),le.depth>te&&(te=le.depth),ie=Math.max(ie,(b=le.maxFontSize)!=null?b:0);a.height=E,a.depth=te,a._width=a.children.reduce((le,De)=>le+De.width,0),a.maxFontSize=ie}}function Ss(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const E=[b],te=-b.shift-b.box.depth;let ie=te;for(let le=1;le<y.length;le++){const De=y[le],Re=-De.shift-ie-De.box.depth,Ve=Re-(b.box.height+b.box.depth);ie=ie+Re,E.push(Ve),E.push(De),b=De}return[E,te]}if("top"in a){let y=a.top;for(const b of a.children)y-=typeof b=="number"?b:b.box.height+b.box.depth;return[a.children,y]}else{if("bottom"in a)return[a.children,-a.bottom];if("firstBaseline"in a){const y=a.firstBaseline[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.firstBaseline,-y.box.depth]}else if("shift"in a){const y=a.children[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.children,-y.box.depth-a.shift]}}return[null,0]}function Ls(a){var y;const[b,E]=Ss(a);if(!b)return[[],0,0];const te=new li(null,{classes:"pstrut"});let ie=0;for(const hr of b)if(typeof hr!="number"){const Ia=hr.box;ie=Math.max(ie,Ia.maxFontSize,Ia.height)}ie+=2,te.height=ie,te.setStyle("height",ie,"em");const le=[];let De=E,Re=E,Ve=E,lt=0;for(const hr of b){if(typeof hr=="number")Ve+=hr;else{const Ia=hr.box,Yi=(y=hr.classes)!=null?y:[],Ca=new li([te,Ia],{classes:Yi.join(" "),style:hr.style});Ia.setStyle("height",Ia.height+Ia.depth,"em"),Ia.setStyle("display","inline-block"),Ca.setStyle("top",-ie-Ve-Ia.depth,"em"),hr.marginLeft&&Ca.setStyle("margin-left",hr.marginLeft,"em"),hr.marginRight&&Ca.setStyle("margin-right",hr.marginRight,"em"),le.push(Ca),Ve+=Ia.height+Ia.depth,lt=Math.max(lt,Ca.width)}De=Math.min(De,Ve),Re=Math.max(Re,Ve)}le.forEach(hr=>{hr.softWidth=lt});const zt=new li(le,{classes:"vlist"});if(zt.softWidth=lt,zt.height=Re,zt.setStyle("height",Re,"em"),De>=0)return[[new li(zt,{classes:"vlist-r"})],Re,-De];const wn=new li(new li(null),{classes:"vlist"});wn.height=-De,wn.setStyle("height",-De,"em");const nr=new li(8203,{classes:"vlist-s",maxFontSize:0});return nr.softWidth=0,nr.height=0,nr.depth=0,[[new li([zt,nr],{classes:"vlist-r"}),new li(wn,{classes:"vlist-r"})],Re,-De]}var as=class extends li{constructor(a,y){var b;const[E,te,ie]=Ls(a);super(E.length===1?E[0]:E,{type:y==null?void 0:y.type,classes:((b=y==null?void 0:y.classes)!=null?b:"")+" vlist-t"+(E.length===2?" vlist-t2":"")}),this.height=te,this.depth=ie,this.softWidth=E.reduce((le,De)=>Math.max(le,De.width),0)}};function su(a,y){var b,E,te,ie,le;const De=a.metrics,Re=new li(y.base),Ve=(b=y.baseShift)!=null?b:0,lt=(E=y.slant)!=null?E:0;let zt=0,wn=0;y.above&&(zt=(te=y.aboveShift)!=null?te:Math.max(De.bigOpSpacing1,De.bigOpSpacing3-y.above.depth)),y.below&&(wn=(ie=y.belowShift)!=null?ie:Math.max(De.bigOpSpacing2,De.bigOpSpacing4-y.below.height));let nr=null;if(y.below&&y.above){const hr=De.bigOpSpacing5+y.below.height+y.below.depth+wn+Re.depth+Ve;nr=new as({bottom:hr,children:[De.bigOpSpacing5,{box:y.below,marginLeft:-lt,classes:["ML__center"]},wn,{box:Re,classes:["ML__center"]},zt,{box:y.above,marginLeft:lt,classes:["ML__center"]},De.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)nr=new as({top:Re.height-Ve,children:[De.bigOpSpacing5,{box:y.below,marginLeft:-lt,classes:["ML__center"]},wn,{box:Re,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const hr=Re.depth+Ve;nr=new as({bottom:hr,children:[{box:Re,classes:["ML__center"]},zt,{box:y.above,marginLeft:lt,classes:["ML__center"]},De.bigOpSpacing5]}).wrap(a)}else{const hr=Re.depth+Ve;nr=new as({bottom:hr,children:[{box:Re},De.bigOpSpacing5]}).wrap(a)}return new li(nr,{type:(le=y.type)!=null?le:"op"})}var ds=7,ru=6,uu=5,cu=4,Iu=3,Us=2,Pu=1,Gs=0,du=class{constructor(a,y,b){this.id=a,this.sizeDelta=y,this.cramped=b;const E={"-4":2,"-3":1,0:0}[y];this.metrics=Object.keys(Fo).reduce((te,ie)=>me(Se({},te),{[ie]:Fo[ie][E]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Ys[[Gs,Pu,Gs,Pu,Us,Iu,Us,Iu][this.id]]}get sub(){return Ys[[Gs,Gs,Gs,Gs,Us,Us,Us,Us][this.id]]}get fracNum(){return Ys[[Gs,Pu,Gs,Pu,Us,Iu,cu,uu][this.id]]}get fracDen(){return Ys[[Gs,Gs,Gs,Gs,Us,Us,cu,cu][this.id]]}get cramp(){return Ys[[Gs,Gs,Us,Us,cu,cu,ru,ru][this.id]]}get isTight(){return this.sizeDelta<0}},fu={7:new du(ds,0,!1),6:new du(ru,0,!0),5:new du(uu,0,!1),4:new du(cu,0,!0),3:new du(Iu,-3,!1),2:new du(Us,-3,!0),1:new du(Pu,-4,!1),0:new du(Gs,-4,!0)},Ys=me(Se({},fu),{displaystyle:fu[ds],textstyle:fu[uu],scriptstyle:fu[Iu],scriptscriptstyle:fu[Pu]});function Vs(a,y){var b;if(!a)return 0;const E={pt:1,mm:7227/2540,cm:7227/254,ex:35271/8192,px:3/4,em:vi,bp:803/800,dd:1238/1157,pc:12,in:72.27,mu:10/18}[(b=a.unit)!=null?b:"pt"];if(Number.isFinite(y)){const te=Mc(10,y);return Math.round(a.dimension/vi*E*te)/te}return a.dimension*E}function Hs(a,y){if(a===null)return 0;const b=Vs(a)/vi;if(Number.isFinite(y)){const E=Mc(10,y);return Math.round(b*E)/E}return b}function Qu(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function dc(a){let y=Qu(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${Qu(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${Qu(a.shrink)}`),y}function Ts(a){var y,b;if(a==null)return null;let E="";if("dimension"in a&&(E=`${a.dimension}${(y=a.unit)!=null?y:"pt"}`),"glue"in a&&(E=dc(a)),"number"in a)if(!("base"in a)||a.base==="decimal")E=Number(a.number).toString();else if(a.base==="alpha")E=`\`${String.fromCodePoint(a.number)}`;else{const te=Math.round(a.number)>>>0;a.base==="hexadecimal"?(E=Number(te).toString(16).toUpperCase(),te<=255?E=E.padStart(2,"0"):te<=65535?E=E.padStart(4,"0"):te<=16777215?E=E.padStart(6,"0"):E=E.padStart(8,"0"),E=`"${E}`):a.base==="octal"&&(E=Number(te).toString(8),te<=63?E=E.padStart(2,"0"):te<=30583?E=E.padStart(4,"0"):E=E.padStart(8,"0"),E=`'${E}`)}return"register"in a&&("factor"in a&&(a.factor===-1?E="-":a.factor!==1&&(E=Number(a.factor).toString())),"global"in a&&a.global&&(E+="\\global"),E+=`\\${a.register}`),"string"in a&&(E=a.string),(b=a.relax)!=null&&b&&(E+="\\relax"),E}function xu(a,y){return a==null?null:"number"in a?me(Se({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?me(Se({},a),{factor:a.factor*y}):me(Se({},a),{factor:y}):"dimension"in a?me(Se({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:xu(a.glue,y),shrink:xu(a.shrink,y),grow:xu(a.grow,y)}:a.shrink?{glue:xu(a.glue,y),shrink:xu(a.shrink,y)}:a.grow?{glue:xu(a.glue,y),grow:xu(a.grow,y)}:{glue:xu(a.glue,y)}:null}var Rc={"p@":{dimension:1},"z@":{dimension:0},maxdimen:{dimension:16383.99999},hfuzz:{dimension:.1},vfuzz:{dimension:.1},overfullrule:{dimension:5},hsize:{dimension:6.5,unit:"in"},vsize:{dimension:8.9,unit:"in"},parindent:{dimension:20},maxdepth:{dimension:4},splitmaxdepth:{register:"maxdimen"},boxmaxdepth:{register:"maxdimen"},delimitershortfall:{dimension:5},nulldelimiterspace:{dimension:1.2,unit:"pt"},scriptspace:{dimension:.5},topskip:{dimension:10},splittopskip:{dimension:10},normalbaselineskip:{dimension:12},normallineskip:{dimension:1},normallineskiplimit:{dimension:0},jot:{dimension:3},doublerulesep:{dimension:2},arrayrulewidth:{dimension:.4},arraycolsep:{dimension:5},fboxsep:{dimension:3},fboxrule:{dimension:.4},"z@skip":{glue:{dimension:0},shrink:{dimension:0},grow:{dimension:0}},hideskip:{glue:{dimension:-1e3},grow:{dimension:1,unit:"fill"}},"@flushglue":{glue:{dimension:0},grow:{dimension:1,unit:"fill"}},parskip:{glue:{dimension:0},grow:{dimension:1}},abovedisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},abovedisplayshortskip:{glue:{dimension:0},grow:{dimension:3}},belowdisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},belowdisplayshortskip:{glue:{dimension:7},grow:{dimension:3},shrink:{dimension:4}},parfillskip:{glue:{dimension:0},grow:{dimension:1,unit:"fil"}},thinmuskip:{glue:{dimension:3,unit:"mu"}},medmuskip:{glue:{dimension:4,unit:"mu"},grow:{dimension:2,unit:"mu"},shrink:{dimension:4,unit:"mu"}},thickmuskip:{glue:{dimension:5,unit:"mu"},grow:{dimension:5,unit:"mu"}},smallskipamount:{glue:{dimension:3},grow:{dimension:1},shrink:{dimension:1}},medskipamount:{glue:{dimension:6},grow:{dimension:2},shrink:{dimension:3}},bigskipamount:{glue:{dimension:12},grow:{dimension:2},shrink:{dimension:4}},pretolerance:100,tolerance:200,hbadness:1e3,vbadness:1e3,linepenalty:10,hyphenpenalty:50,exhyphenpenalty:50,binoppenalty:700,relpenalty:500,clubpenalty:150,widowpenalty:150,displaywidowpenalty:50,brokenpenalty:100,predisplaypenalty:1e4,doublehyphendemerits:1e4,finalhyphendemerits:5e3,adjdemerits:1e4,tracinglostchars:1,uchyph:1,delimiterfactor:901,defaulthyphenchar:"\\-",defaultskewchar:-1,newlinechar:-1,showboxbreadth:5,showboxdepth:3,errorcontextlines:5,interdisplaylinepenalty:100,interfootnotelinepenalty:100,baselineSkip:1.2,arraystretch:1,month:new Date().getMonth()+1,day:new Date().getDate(),year:new Date().getFullYear()};function ec(){return Se({},Rc)}function os(){return{registers:ec(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:tt.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:Fe,backgroundColorMap:Be,getMacro:a=>Ir(a,Qt())}}var dl=class Bp{constructor(y,b){var E,te,ie,le,De,Re,Ve,lt,zt,wn,nr,hr,Ia,Yi,Ca;let si;y!=null&&y.parent?(this.parent=y.parent,si=y.parent,this.registers={}):(si=Se(Se({},os()),(E=y==null?void 0:y.from)!=null?E:{}),this.registers=si.registers),si.atomIdsSettings&&(this.atomIdsSettings=Se({},si.atomIdsSettings)),this.renderPlaceholder=si.renderPlaceholder,this.isPhantom=(le=(ie=y==null?void 0:y.isPhantom)!=null?ie:(te=this.parent)==null?void 0:te.isPhantom)!=null?le:!1,this.letterShapeStyle=si.letterShapeStyle,this.minFontScale=si.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(Re=(De=this.parent)==null?void 0:De.color)!=null?Re:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(lt=(Ve=this.parent)==null?void 0:Ve.backgroundColor)!=null?lt:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((zt=this.parent)==null?void 0:zt.size)?this.size=b.fontSize:this.size=(nr=(wn=this.parent)==null?void 0:wn.size)!=null?nr:Wa;let eo=(Ia=(hr=this.parent)==null?void 0:hr.mathstyle)!=null?Ia:Ys.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(si instanceof Bp)switch(y.mathstyle){case"cramp":eo=eo.cramp;break;case"superscript":eo=eo.sup;break;case"subscript":eo=eo.sub;break;case"numerator":eo=eo.fracNum;break;case"denominator":eo=eo.fracDen;break}switch(y.mathstyle){case"textstyle":eo=Ys.textstyle;break;case"displaystyle":eo=Ys.displaystyle;break;case"scriptstyle":eo=Ys.scriptstyle;break;case"scriptscriptstyle":eo=Ys.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=eo,this.smartFence=si.smartFence,this.placeholderSymbol=si.placeholderSymbol,this.colorMap=(Yi=si.colorMap)!=null?Yi:xi=>xi,this.backgroundColorMap=(Ca=si.backgroundColorMap)!=null?Ca:xi=>xi,this.getMacro=si.getMacro,console.assert(this.parent!==void 0||this.registers!==void 0)}makeID(){if(!this.atomIdsSettings)return;if(this.atomIdsSettings.overrideID)return this.atomIdsSettings.overrideID;if(typeof this.atomIdsSettings.seed!="number")return`${Date.now().toString(36).slice(-2)}${Math.floor(Math.random()*1e5).toString(36)}`;const y=this.atomIdsSettings.seed.toString(36);return this.atomIdsSettings.seed+=1,y}scale(y){return y*this.effectiveFontSize}get scalingFactor(){return this.parent?this.effectiveFontSize/this.parent.effectiveFontSize:1}get isDisplayStyle(){return this.mathstyle.id===ds||this.mathstyle.id===ru}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(Ii[Math.max(1,this.size+this.mathstyle.sizeDelta)],this.minFontScale)}getRegister(y){var b;if((b=this.registers)!=null&&b[y])return this.registers[y];if(this.parent)return this.parent.getRegister(y)}getRegisterAsNumber(y){const b=this.getRegister(y);if(typeof b=="number")return b;if(typeof b=="string")return Number(b)}getRegisterAsGlue(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E:typeof E=="object"&&"dimension"in E?{glue:{dimension:E.dimension}}:typeof E=="number"?{glue:{dimension:E}}:void 0}if(this.parent)return this.parent.getRegisterAsGlue(y)}getRegisterAsEm(y,b){return Hs(this.getRegisterAsDimension(y),b)}getRegisterAsDimension(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E.glue:typeof E=="object"&&"dimension"in E?E:typeof E=="number"?{dimension:E}:void 0}if(this.parent)return this.parent.getRegisterAsDimension(y)}setRegister(y,b){if(b===void 0){delete this.registers[y];return}this.registers[y]=b}evaluate(y){if(!y||!("register"in y))return y;let b=this;if("global"in y&&y.global)for(;b.parent;)b=b.parent;let E=1;"factor"in y&&y.factor!==1&&y.factor!==void 0&&(E=y.factor);const te=b.getRegister(y.register);if(te===void 0)return;if(typeof te=="string")return{string:Number(te).toString()+te};if(typeof te=="number")return{number:E*te};const ie=b.evaluate(te);if(ie!==void 0)return"string"in ie?{string:Number(te).toString()+ie.string}:"number"in ie?{number:E*ie.number}:"dimension"in ie?me(Se({},ie),{dimension:E*ie.dimension}):"glue"in ie?me(Se({},ie),{glue:me(Se({},ie.glue),{dimension:E*ie.glue.dimension}),shrink:ie.shrink?me(Se({},ie.shrink),{dimension:E*ie.shrink.dimension}):void 0,grow:ie.grow?me(Se({},ie.grow),{dimension:E*ie.grow.dimension}):void 0}):y}toDimension(y){const b=this.evaluate(y);return b===void 0?null:"dimension"in b?b:"glue"in b?b.glue:"number"in b?{dimension:b.number}:null}toEm(y,b){if(y===null)return 0;const E=this.toDimension(y);return E===null?0:Vs(E,b)/vi}toNumber(y){if(y===null)return null;const b=this.evaluate(y);return b===void 0?null:"number"in b?b.number:"dimension"in b?b.dimension:"glue"in b?b.glue.dimension:"string"in b?Number(b.string):null}toColor(y){var b,E;if(y===null)return null;const te=this.evaluate(y);return te===void 0?null:"string"in te?(E=(b=this.colorMap)==null?void 0:b.call(this,te.string))!=null?E:te.string:null}toBackgroundColor(y){var b,E;if(y===null)return null;const te=this.evaluate(y);return te===void 0?null:"string"in te?(E=(b=this.backgroundColorMap)==null?void 0:b.call(this,te.string))!=null?E:te.string:null}},iu=["body","above","below","superscript","subscript"];function As(a){return typeof a=="string"&&iu.includes(a)}function hu(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var za=class ld{constructor(y){var b,E,te,ie,le,De;this.type=y.type,typeof y.value=="string"&&(this.value=y.value),this.command=(E=(b=y.command)!=null?b:this.value)!=null?E:"",this.mode=(te=y.mode)!=null?te:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=Se({},y.style),this.displayContainsHighlight=(ie=y.displayContainsHighlight)!=null?ie:!1,this.captureSelection=(le=y.captureSelection)!=null?le:!1,this.skipBoundary=(De=y.skipBoundary)!=null?De:!1,y.verbatimLatex!==void 0&&y.verbatimLatex!==null&&(this.verbatimLatex=y.verbatimLatex),y.args&&(this.args=y.args),y.body&&(this.body=y.body),this._changeCounter=0}static createBox(y,b,E){var te;if(!b)return null;const ie=Ou(b),le=[];for(const Re of ie){const Ve=Re[0].style,lt=tc(y,Re,{style:{color:Ve.color,backgroundColor:Ve.backgroundColor,fontSize:Ve.fontSize}});lt&&le.push(lt)}if(le.length===0)return null;const De=((te=E==null?void 0:E.classes)!=null?te:"").trim();return le.length===1&&!De&&!(E!=null&&E.type)?le[0].wrap(y):new li(le,{classes:De,type:E==null?void 0:E.type}).wrap(y)}static serialize(y,b){return Xi.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const E=new WeakSet;let{parent:te}=y;for(;te;)E.add(te),te=te.parent;for(te=b.parent;te;){if(E.has(te))return te;te=te.parent}console.assert(!!te)}static fromJson(y){return typeof y=="string"?new ld({type:"mord",value:y,mode:"math"}):new ld(y)}get latexMode(){return this.mode==="math"?"math":"text"}toJson(){const y={};if(this.type&&(y.type=this.type),this.mode!=="math"&&(y.mode=this.mode),this.command&&this.command!==this.value&&(y.command=this.command),this.value!==void 0&&(y.value=this.value),this.style&&Object.keys(this.style).length>0&&(y.style=Se({},this.style)),this.verbatimLatex!==void 0&&(y.verbatimLatex=this.verbatimLatex),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.explicitSubsupPlacement&&(y.explicitSubsupPlacement=!0),this.isFunction&&(y.isFunction=!0),this.displayContainsHighlight&&(y.displayContainsHighlight=!0),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.skipBoundary&&(y.skipBoundary=!0),this.captureSelection&&(y.captureSelection=!0),this.args&&(y.args=Jc(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(E=>E.type!=="first").map(E=>E.toJson()));return y.type==="mord"&&Object.keys(y).length===2&&"value"in y?y.value:y}get changeCounter(){return this.parent?this.parent.changeCounter:this._changeCounter}set isDirty(y){if(y){this.parent||this._changeCounter++,"verbatimLatex"in this&&(this.verbatimLatex=void 0),this._children=void 0;let{parent:b}=this;for(;b;)b.parent||b._changeCounter++,"verbatimLatex"in b&&(b.verbatimLatex=void 0),b._children=void 0,b=b.parent}}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=rn(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?Qi([Ni(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?Qi([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return Xi.serialize(this.body,me(Se({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return Xi.serialize(this.above,y)}belowToLatex(y){return Xi.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=me(Se({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const E=Xi.serialize(this.subscript,y);E.length===0?b+="_{}":E.length===1?/^[0-9]$/.test(E)?b+=`_${E}`:b+=`_{${E}}`:b+=`_{${E}}`}if(this.branch("superscript")!==void 0){const E=Xi.serialize(this.superscript,y);E.length===0?b+="^{}":E.length===1?E==="\u2032"?b+="^\\prime ":E==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(E)?b+=`^${E}`:b+=`^{${E}}`:b+=`^{${E}}`}return b}get treeDepth(){let y=1,b=this.parent;for(;b;)b=b.parent,y+=1;return y}get inCaptureSelection(){let y=this;for(;y;){if(y.captureSelection)return!0;y=y.parent}return!1}get parentPrompt(){let y=this.parent;for(;y;){if(y.type==="prompt"&&!y.captureSelection)return y;y=y.parent}return null}branch(y){if(As(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of iu)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(As(y)),As(y)?(this._branches?this._branches[y]||(this._branches[y]=[this.makeFirstAtom(y)]):this._branches={[y]:[this.makeFirstAtom(y)]},this.isDirty=!0,this._branches[y]):[]}get row(){return hu(this.parentBranch)?this.parentBranch[0]:-1}get col(){return hu(this.parentBranch)?this.parentBranch[1]:-1}get body(){var y;return(y=this._branches)==null?void 0:y.body}set body(y){this.setChildren(y,"body")}get superscript(){var y;return(y=this._branches)==null?void 0:y.superscript}set superscript(y){this.setChildren(y,"superscript")}get subscript(){var y;return(y=this._branches)==null?void 0:y.subscript}set subscript(y){this.setChildren(y,"subscript")}get above(){var y;return(y=this._branches)==null?void 0:y.above}set above(y){this.setChildren(y,"above")}get below(){var y;return(y=this._branches)==null?void 0:y.below}set below(y){this.setChildren(y,"below")}get computedStyle(){var y,b;const E=typeof this.style.verbatimColor=="string",te=typeof this.style.verbatimBackgroundColor=="string",ie=Se(Se({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete ie.variant,delete ie.variantStyle,te||delete ie.verbatimBackgroundColor,E||delete ie.verbatimColor,ie}applyStyle(y){this.isDirty=!0,this.style=Se(Se({},this.style),y),this.style.fontFamily==="none"&&delete this.style.fontFamily,this.style.fontShape==="auto"&&delete this.style.fontShape,this.style.fontSeries==="auto"&&delete this.style.fontSeries,this.style.color==="none"&&(delete this.style.color,delete this.style.verbatimColor),this.style.backgroundColor==="none"&&(delete this.style.backgroundColor,delete this.style.verbatimBackgroundColor),this.style.fontSize==="auto"&&delete this.style.fontSize;for(const b of this.children)b.applyStyle(y)}getInitialBaseElement(){var y,b,E;return this.hasEmptyBranch("body")?this:(console.assert(((y=this.body)==null?void 0:y[0].type)==="first"),(E=(b=this.body[1])==null?void 0:b.getInitialBaseElement())!=null?E:this)}getFinalBaseElement(){return this.hasEmptyBranch("body")?this:this.body[this.body.length-1].getFinalBaseElement()}isCharacterBox(){return this.type==="leftright"||this.type==="genfrac"||this.type==="subsup"||this.type==="delim"||this.type==="array"||this.type==="surd"?!1:this.getFinalBaseElement().type==="mord"}hasEmptyBranch(y){const b=this.branch(y);return b?(console.assert(b.length>0),console.assert(b[0].type==="first"),b.length===1):!0}setChildren(y,b){var E;if(!y||(console.assert(As(b)),!As(b)))return;console.assert(((E=y[0])==null?void 0:E.type)!=="first");const te=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=te:this._branches={[b]:te};for(const ie of y)ie.parent=this,ie.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new ld({type:"first",mode:this.mode});return b.parent=this,b.parentBranch=y,b}addChild(y,b){console.assert(y.type!=="first"),this.createBranch(b).push(y),this.isDirty=!0,y.parent=this,y.parentBranch=b}addChildBefore(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b),0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildAfter(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildren(y,b){const E=this.createBranch(b);for(const te of y)te.parent=this,te.parentBranch=b,E.push(te);this.isDirty=!0}addChildrenAfter(y,b){console.assert(y.length===0||y[0].type!=="first"),console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,...y),this.isDirty=!0;for(const te of y)te.parent=this,te.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(As(y)&&(this._branches[y]=void 0),!b)return[];for(const E of b)E.parent=void 0,E.parentBranch=void 0;return console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}removeChild(y){if(console.assert(y.parent===this),y.type==="first")return;const b=this.branch(y.parentBranch),E=b.indexOf(y);console.assert(E>=0),b.splice(E,1),this.isDirty=!0,y.parent=void 0,y.parentBranch=void 0}get siblings(){return this.parent?this.parent.branch(this.parentBranch):[]}get firstSibling(){return this.siblings[0]}get lastSibling(){const{siblings:y}=this;return y[y.length-1]}get isFirstSibling(){return this===this.firstSibling}get isLastSibling(){return this===this.lastSibling}get hasNoSiblings(){return this.siblings.length===1}get leftSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)-1]}get rightSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)+1]}get hasChildren(){return!!(this._branches&&this.children.length>0)}get firstChild(){return console.assert(this.hasChildren),this.children[0]}get lastChild(){console.assert(this.hasChildren);const{children:y}=this;return y[y.length-1]}get children(){if(this._children)return this._children;if(!this._branches)return[];const y=[];for(const b of iu)if(this._branches[b])for(const E of this._branches[b])y.push(...E.children),y.push(E);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=rn(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const E=new dl({parent:y},this.style);let te=this.createBox(E,{classes:this.parent?"":"ML__base"});return te?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(te=this.attachSupsub(E,{base:te})),te.wrap(E)):null}attachSupsub(y,b){var E;const te=b.base,ie=this.superscript,le=this.subscript;if(!ie&&!le)return te;let De=null,Re=null;const Ve=(E=b.isCharacterBox)!=null?E:this.isCharacterBox();let lt=0;if(ie){const Ia=new dl({parent:y,mathstyle:"superscript"});De=ld.createBox(Ia,ie),Ve||(lt=te.height-y.metrics.supDrop*Ia.scalingFactor)}let zt=0;if(le){const Ia=new dl({parent:y,mathstyle:"subscript"});Re=ld.createBox(Ia,le),Ve||(zt=te.depth+y.metrics.subDrop*Ia.scalingFactor)}let wn;y.isDisplayStyle?wn=y.metrics.sup1:y.isCramped?wn=y.metrics.sup3:wn=y.metrics.sup2;const nr=.5/vi/y.scalingFactor;let hr=null;if(Re&&De){lt=Math.max(lt,wn,De.depth+.25*y.metrics.xHeight),zt=Math.max(zt,y.metrics.sub2);const Ia=y.metrics.defaultRuleThickness;if(lt-De.depth-(Re.height-zt)<4*Ia){zt=4*Ia-(lt-De.depth)+Re.height;const Ca=.8*y.metrics.xHeight-(lt-De.depth);Ca>0&&(lt+=Ca,zt-=Ca)}const Yi=this.isExtensibleSymbol&&te.italic?-te.italic:0;hr=new as({individualShift:[{box:Re,shift:zt,marginLeft:Yi},{box:De,shift:-lt}]}).wrap(y)}else Re&&!De?(zt=Math.max(zt,y.metrics.sub1,Re.height-.8*_i),hr=new as({shift:zt,children:[{box:Re,marginRight:nr,marginLeft:this.isCharacterBox()?-te.italic:0}]})):!Re&&De&&(lt=Math.max(lt,wn,De.depth+.25*_i),hr=new as({shift:-lt,children:[{box:De,marginRight:nr}]}));return new li([te,new li(hr,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const E=this.superscript?ld.createBox(new dl({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,te=this.subscript?ld.createBox(new dl({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!E&&!te?b.base.wrap(y):su(y,me(Se({},b),{above:E,below:te}))}bind(y,b){if(!b||y.isPhantom||this.value==="\u200B")return b;let E=this.parent;for(;E&&!E.captureSelection;)E=E.parent;return E!=null&&E.captureSelection||(this.id||(this.id=y.makeID()),b.atomID=this.id),b}createBox(y,b){var E,te,ie,le;const De=(E=this.value)!=null?E:this.body,Re=(te=b==null?void 0:b.boxType)!=null?te:au(this.type);let Ve=(ie=b==null?void 0:b.classes)!=null?ie:"";this.mode==="text"&&(Ve+=" ML__text");const lt=typeof De=="string"||De===void 0?new li(De!=null?De:null,{type:Re,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:me(Se({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:Ve}):(le=ld.createBox(y,De,{type:Re,classes:Ve}))!=null?le:new li(null);return y.isTight&&(lt.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(lt.italic=0),lt.right=lt.italic,this.bind(y,lt),this.caret&&!this.superscript&&!this.subscript&&(lt.caret=this.caret),lt}isDigit(){var y;return this.type==="mord"&&this.value?/^[\d,\.]$/.test(this.value):this.type==="group"&&((y=this.body)==null?void 0:y.length)===2?this.body[0].type==="first"&&this.body[1].value===",":!1}asDigit(){var y;return this.type==="mord"&&this.value&&/^[\d,\.]$/.test(this.value)?this.value:this.type==="group"&&((y=this.body)==null?void 0:y.length)===2&&this.body[0].type==="first"&&this.body[1].value===","?".":""}};function Ou(a){let y;const b=[];let E=[];for(const te of a)if(!y&&!te.style)E.push(te);else{const ie=te.computedStyle;y&&ie.color===y.color&&ie.backgroundColor===y.backgroundColor&&ie.fontSize===y.fontSize?E.push(te):(E.length>0&&b.push(E),E=[te],y=ie)}return E.length>0&&b.push(E),b}function tc(a,y,b){var E,te,ie,le,De;if(!y||y.length===0)return null;const Re=new dl({parent:a},b.style),Ve=!((E=Re.atomIdsSettings)!=null&&E.groupNumbers);let lt=[];if(y.length===1){const wn=y[0],nr=wn.render(Re);nr&&(Ve&&wn.isSelected&&nr.selected(!0),lt=[nr])}else{let wn="",nr=!0;for(const hr of y){(te=Re.atomIdsSettings)!=null&&te.groupNumbers&&wn&&(nr&&hr.isDigit()||!nr&&kc(hr))&&(Re.atomIdsSettings.overrideID=wn);const Ia=hr.render(Re);Re.atomIdsSettings&&(Re.atomIdsSettings.overrideID=void 0),Ia&&((ie=Re.atomIdsSettings)!=null&&ie.groupNumbers&&((hr.isDigit()||kc(hr))&&(!wn||nr!==hr.isDigit())&&(nr=hr.isDigit(),wn=(le=hr.id)!=null?le:""),wn&&(!(hr.isDigit()||kc(hr))||!hr.hasEmptyBranch("superscript")||!hr.hasEmptyBranch("subscript"))&&(wn="")),Ve&&hr.isSelected&&Ia.selected(!0),lt.push(Ia))}}if(lt.length===0)return null;const zt=new li(lt,me(Se({isTight:Re.isTight},b),{type:(De=b.type)!=null?De:"lift"}));return zt.isSelected=lt.every(wn=>wn.isSelected),zt.wrap(Re)}function kc(a){return a.mode==="text"}function Jc(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof za?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var nc=class Lp extends za{constructor(y,b,E){super({type:"text",command:y,mode:"text",displayContainsHighlight:!0}),this.value=b,this.verbatimLatex=b,this.applyStyle(E)}static fromJson(y){return new Lp(y.command,y.value,y.style)}render(y){const b=this.createBox(y);return this.caret&&(b.caret=this.caret),b}_serialize(y){var b;return(b=this.verbatimLatex)!=null?b:ur("text",this.value.codePointAt(0))}};function Nc(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let E=0;for(;E<b&&qc(a.ranges[E],y.ranges[E])==="equal";)E++;return E===b?"equal":"different"}}return"different"}function qc(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function ou(a){let y=1/0,b=-1/0;for(const E of a.ranges)y=Math.min(y,E[0],E[1]),b=Math.max(b,E[0],E[1]);return[y,b]}function Fu(a){return typeof a=="number"&&!Number.isNaN(a)}function Ic(a){return Array.isArray(a)&&a.length===2}function Fc(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function Cs(a,y){const b=a.at(y);let E;if(b){E=b.mode;let te=b.parent;for(;!E&&te;)te&&(E=te.mode),te=te.parent}return E}function yl(a,y){if(!y)return"";if(typeof y=="string")return y;if(!a||y.after===void 0)return y.value;let b=!1,E=!1,te=!1,ie=!1,le=!1,De=!1,Re=!1,Ve=!1,lt=!1,zt=!1,wn=!1,nr=!1,hr=!1,Ia=!1,Yi=!1,Ca=a[0],si=0;for(;Ca!=null&&Ca.type&&/^(subsup|placeholder)$/.test(Ca.type);)si+=1,Ca=a[si];return b=!Ca||Ca.type==="first",Ca&&(Ia=Ca.mode==="text",E=!Ia&&Ca.type==="mord"&&be.test(Ca.value),te=!Ia&&Ca.type==="mord"&&/\d+$/.test(Ca.value),ie=!Ia&&Ca.isFunction,le=Ca.type==="genfrac",De=Ca.type==="surd",Re=Ca.type==="mbin",Ve=Ca.type==="mrel",lt=Ca.type==="mop"||Ca.type==="operator"||Ca.type==="extensible-symbol",zt=Ca.type==="mpunct"||Ca.type==="minner",wn=Ca.type==="array",nr=Ca.type==="mopen",hr=Ca.type==="mclose"||Ca.type==="leftright",Yi=Ca.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&E||y.after.includes("digit")&&te||y.after.includes("function")&&ie||y.after.includes("frac")&&le||y.after.includes("surd")&&De||y.after.includes("binop")&&Re||y.after.includes("relop")&&Ve||y.after.includes("operator")&&lt||y.after.includes("punct")&&zt||y.after.includes("array")&&wn||y.after.includes("openfence")&&nr||y.after.includes("closefence")&&hr||y.after.includes("text")&&Ia||y.after.includes("space")&&Yi?y.value:""}function Hl(a,y,b){return b?yl(a,b[y]):""}var ys={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\doubleprime}","'''":"^{\\prime\\prime\\prime}","''''":"^{\\prime\\prime\\prime\\prime}",alpha:"\\alpha",delta:"\\delta",Delta:"\\Delta",pi:"\\pi",Pi:"\\Pi",theta:"\\theta",Theta:"\\Theta",ii:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryI"},jj:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryJ"},ee:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\exponentialE"},nabla:"\\nabla",grad:"\\nabla",del:"\\partial",deg:{after:"digit+space",value:"\\degree"},infty:"\\infty","\u221E":"\\infty",oo:{after:"nothing+digit+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\infty"},"\u2211":"\\sum",sum:"\\sum_{#?}^{#?}",int:"\\int_{#?}^{#?}",prod:"\\prod_{#?}^{#?}",sqrt:"\\sqrt{#?}","\u2206":"\\differentialD","\u2202":"\\differentialD",arcsin:"\\arcsin",arccos:"\\arccos",arctan:"\\arctan",arcsec:"\\arcsec",arccsc:"\\arccsc",arsinh:"\\arsinh",arcosh:"\\arcosh",artanh:"\\artanh",arcsech:"\\arcsech",arccsch:"\\arccsch",arg:"\\arg",ch:"\\ch",cosec:"\\cosec",cosh:"\\cosh",cot:"\\cot",cotg:"\\cotg",coth:"\\coth",csc:"\\csc",ctg:"\\ctg",cth:"\\cth",sec:"\\sec",sinh:"\\sinh",sh:"\\sh",tanh:"\\tanh",tg:"\\tg",th:"\\th",sin:"\\sin",cos:"\\cos",tan:"\\tan",lg:"\\lg",lb:"\\lb",log:"\\log",ln:"\\ln",exp:"\\exp",lim:"\\lim_{#?}",dx:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD x"},dy:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD y"},dt:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD t"},AA:"\\forall",EE:"\\exists","!EE":"\\nexists","&&":"\\land",xin:{after:"nothing+text+relop+punct+openfence+space",value:"x \\in"},sint:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\sin t"},in:{after:"nothing+letter+closefence",value:"\\in"},"!in":"\\notin",NN:"\\mathbb{N}",ZZ:"\\Z",QQ:"\\Q",RR:"\\R",CC:"\\C",xx:"\\times","+-":"\\pm","\u2260":"\\ne","!=":"\\ne","\u2265":"\\ge",">=":"\\ge","\u2264":"\\le","<=":"\\le","<<":"\\ll",">>":"\\gg","~~":"\\approx","\u2248":"\\approx","?=":"\\questeq","\xF7":"\\div","\xAC":"\\neg",":=":"\\coloneq","::":"\\Colon","(:":"\\langle",":)":"\\rangle",beta:"\\beta",chi:"\\chi",epsilon:"\\epsilon",varepsilon:"\\varepsilon",eta:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\eta"},gamma:"\\gamma",Gamma:"\\Gamma",iota:"\\iota",kappa:"\\kappa",lambda:"\\lambda",Lambda:"\\Lambda",mu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\mu"},nu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\nu"},\u00B5:"\\mu",phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\phi"},Phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Phi"},varphi:"\\varphi",psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\psi"},Psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Psi"},rho:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\rho"},sigma:"\\sigma",Sigma:"\\Sigma",tau:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\tau"},vartheta:"\\vartheta",upsilon:"\\upsilon",xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\xi"},Xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Xi"},zeta:"\\zeta",omega:"\\omega",Omega:"\\Omega",\u03A9:"\\omega",forall:"\\forall",exists:"\\exists","!exists":"\\nexists",":.":"\\therefore",liminf:"\\liminf_{#?}",limsup:"\\limsup_{#?}",argmin:"\\operatorname*{arg~min}_{#?}",argmax:"\\operatorname*{arg~max}_{#?}",det:"\\det",mod:"\\bmod{#?}","(mod":"\\pmod{#?}",max:"\\max",min:"\\min",erf:"\\operatorname{erf}",erfc:"\\operatorname{erfc}",bessel:"\\operatorname{bessel}",mean:"\\operatorname{mean}",median:"\\operatorname{median}",fft:"\\operatorname{fft}",lcm:"\\operatorname{lcm}",gcd:"\\operatorname{gcd}",randomReal:"\\operatorname{randomReal}",randomInteger:"\\operatorname{randomInteger}",Re:"\\operatorname{Re}",Im:"\\operatorname{Im}",mm:{after:"nothing+digit+operator",value:"\\operatorname{mm}"},cm:{after:"nothing+digit+operator",value:"\\operatorname{cm}"},km:{after:"nothing+digit+operator",value:"\\operatorname{km}"},kg:{after:"nothing+digit+operator",value:"\\operatorname{kg}"},"...":"\\ldots","+...":"+\\cdots","-...":"-\\cdots","->...":"\\to\\cdots","-->...":"\\longrightarrow\\cdots","->":"\\to","|->":"\\mapsto","-->":"\\longrightarrow","<--":"\\longleftarrow","=>":"\\Rightarrow","==>":"\\Longrightarrow","<=>":"\\Leftrightarrow","<->":"\\leftrightarrow","(.)":"\\odot","(+)":"\\oplus","(/)":"\\oslash","(*)":"\\otimes","(-)":"\\ominus","||":"\\Vert","*":"\\cdot","**":"\\star","***":"\\ast","//":"\\slash","\\\\":"\\backslash",setminus:"\\backslash","|><":"\\ltimes","><|":"\\rtimes","|><|":"\\bowtie","-:":"\\div",divide:"\\div","@":"\\circ","^^":"\\wedge","^^^":"\\bigwedge",vv:"\\vee",vvv:"\\bigvee",nn:"\\cap",nnn:"\\bigcap",uu:"\\cup",uuu:"\\bigcup","-=":"\\equiv","~=":"\\cong",lt:"<","lt=":"\\leq",gt:">","gt=":"\\geq","-<":"\\prec","-lt":"\\prec","-<=":"\\preceq",">-=":"\\succeq",prop:"\\propto",diamond:"\\diamond",square:"\\square",iff:"\\iff",sub:"\\subset",sup:"\\supset",sube:"\\subseteq",supe:"\\supseteq",uarr:"\\uparrow",darr:"\\downarrow",rarr:"\\rightarrow",rArr:"\\Rightarrow",larr:"\\leftarrow",lArr:"\\Leftarrow",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",aleph:"\\aleph",and:"\\land",or:"\\lor",not:"\\neg","_|_":"\\bot",TT:"\\top","|--":"\\vdash","|==":"\\models","|__":"\\lfloor","__|":"\\rfloor","|~":"\\lceil","~|":"\\rceil",">->":"\\rightarrowtail","->>":"\\twoheadrightarrow",">->>":"\\twoheadrightarrowtail",frac:"\\frac{#?}{#?}",cbrt:"\\sqrt[3]{#?}",nthroot:"\\sqrt[#?]{#?}"};function Rs(a,y){var b;let E=(b=y==null?void 0:y.format)!=null?b:"auto";return E==="auto"&&([E,a]=fc(a)),E==="ascii-math"?(a=a.replace(/\u2061/gu,""),a=a.replace(/\u3016/gu,"{"),a=a.replace(/\u3017/gu,"}"),a=a.replace(/([^\\])sinx/g,"$1\\sin x"),a=a.replace(/([^\\])cosx/g,"$1\\cos x "),a=a.replace(/\u2013/g,"-"),["ascii-math",pu(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function pu(a,y){var b,E,te;if(!a)return"";let ie=!1,le;const De=(b=y.inlineShortcuts)!=null?b:ys;if(!ie&&(a.startsWith("^")||a.startsWith("_"))&&(le=wu(a.slice(1),{inlineShortcuts:De,noWrap:!0}),a=a[0]+"{"+le.match+"}",a+=pu(le.rest,y),ie=!0),ie||(le=a.match(/^(sqrt|\u221A)(.*)/),le&&(le=wu(le[2],{inlineShortcuts:De,noWrap:!0}),a="\\sqrt{"+((E=le.match)!=null?E:"\\placeholder{}")+"}",a+=pu(le.rest,y),ie=!0)),ie||(le=a.match(/^(\\cbrt|\u221B)(.*)/),le&&(le=wu(le[2],{inlineShortcuts:De,noWrap:!0}),a="\\sqrt[3]{"+((te=le.match)!=null?te:"\\placeholder{}")+"}",a+=pu(le.rest,y),ie=!0)),ie||(le=a.match(/^abs(.*)/),le&&(le=wu(le[1],{inlineShortcuts:De,noWrap:!0}),a="\\left|"+le.match+"\\right|",a+=pu(le.rest,y),ie=!0)),ie||(le=a.match(/^["”“](.*?)["”“](.*)/),le&&(a="\\text{"+le[1]+"}",a+=pu(le[2],y),ie=!0)),ie||(le=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),le&&(a=rc(le[1],De),a+=pu(le[2],y),ie=!0)),!ie&&/^([fgh])[^a-zA-Z]/.test(a)&&(le=wu(a.slice(1),{inlineShortcuts:De,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+le.match+"\\right)":a[0]+le.match,a+=pu(le.rest,y),ie=!0),ie||(le=a.match(/^([a-zA-Z]+)(.*)/),le&&(a=rc(le[1],De),a+=pu(le[2],y),ie=!0)),!ie)if(le=wu(a,{inlineShortcuts:De,noWrap:!0}),le.match&&le.rest[0]==="/"){const Re=wu(le.rest.slice(1),{inlineShortcuts:De,noWrap:!0});Re.match&&(a="\\frac{"+le.match+"}{"+Re.match+"}"+pu(Re.rest,y)),ie=!0}else le.match&&(a=a.startsWith("(")?"\\left("+le.match+"\\right)"+pu(le.rest,y):le.match+pu(le.rest,y),ie=!0);return ie||(le=a.match(/^(\s+)(.*)$/),le&&(a=" "+pu(le[2],y),ie=!0)),a}function wu(a,y){let b="";a=a.trim();let E=a,te=a.charAt(0),ie={"(":")","{":"}","[":"]"}[te];if(ie){let le=1,De=1;for(;De<a.length&&le>0;)a[De]===te&&le++,a[De]===ie&&le--,De++;le===0?(y.noWrap&&te==="("?b=pu(a.substring(1,De-1),y):(te==="{"&&ie==="}"&&(te="\\{",ie="\\}"),b="\\left"+te+pu(a.substring(1,De-1),y)+"\\right"+ie),E=a.slice(Math.max(0,De))):(b=a.substring(1,De),E="")}else{let le=a.match(/^([a-zA-Z]+)/);if(le){let De=Hl(null,a,y.inlineShortcuts);if(De)return De=De.replace("_{#?}",""),De=De.replace("^{#?}",""),{match:De,rest:a.slice(De.length)}}if(le=a.match(/^([a-zA-Z])/),le)return{match:le[1],rest:a.slice(1)};if(le=a.match(/^(-)?\d+(\.\d*)?/),le)return{match:le[0],rest:a.slice(le[0].length)};/^\\(left|right)/.test(a)||(le=a.match(/^(\\[a-zA-Z]+)/),le&&(E=a.slice(le[1].length),b=le[1]))}return{match:b,rest:E}}function rc(a,y){let b=Hl(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var ac=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Xu(a){const y=a.trim();for(const b of ac)if(y.startsWith(b[0])&&y.endsWith(b[1]))return[!0,y.substring(b[0].length,y.length-b[1].length)];return[!1,a]}function fc(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Xu(a),y?["latex",a]:a.startsWith("`")&&a.endsWith("`")?(a=a.substring(1,a.length-1),["ascii-math",a]):a.includes("\\")?["latex",a]:/\$.+\$/.test(a)?["latex",`\\text{${a}}`]:[void 0,a]}var Ku="$$",ud="$$",bd=(a,y,b)=>(ac.some(E=>y.startsWith(E[0])&&y.endsWith(E[1]))||(y=`${Ku} ${y} ${ud}`),y),cd=class ph{constructor(y){ph._modes[y]=this}static onPaste(y,b,E){var te;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof E=="string"){const le=new DataTransfer;le.setData("text/plain",E),E=le}const ie=new ClipboardEvent("paste",{clipboardData:E,cancelable:!0});return(te=b.host)!=null&&te.dispatchEvent(ie)?ph._modes[y].onPaste(b,E):!1}static copyToClipboard(y,b){if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const E=y.model,te=E.selectionIsCollapsed?[0,E.lastOffset]:ou(E.selection),ie=E.getValue(te,b);navigator.clipboard.writeText(ie).then(()=>{},()=>y.model.announce("plonk"))}static onCopy(y,b){var E;if(!b.clipboardData)return;if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const te=y.model,ie=te.selectionIsCollapsed?[0,te.lastOffset]:ou(te.selection);let le=te.getAtoms(ie);if(le.every(De=>De.mode==="text"||!De.mode))b.clipboardData.setData("text/plain",le.filter(De=>De instanceof nc).map(De=>De.value).join(""));else if(le.every(De=>De.mode==="latex"))b.clipboardData.setData("text/plain",te.getAtoms(ie,{includeChildren:!0}).map(De=>{var Re;return(Re=De.value)!=null?Re:""}).join(""));else{let De;le.length===1&&le[0].verbatimLatex!==void 0?De=le[0].verbatimLatex:De=te.getValue(ie,"latex-expanded"),b.clipboardData.setData("application/x-latex",De);try{b.clipboardData.setData("text/plain",y.options.onExport(y,De,ie))}catch(Re){}if(le.length===1){const Re=le[0];(Re.type==="root"||Re.type==="group")&&(le=Re.body.filter(Ve=>Ve.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(le.map(Re=>Re.toJson())))}catch(Re){}if((E=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&E.ComputeEngine){const Re=window.MathfieldElement.computeEngine;if(Re)try{const Ve=Re.jsonSerializationOptions;Re.jsonSerializationOptions={metadata:["latex"]};const lt=Re.parse(te.getValue(ie,"latex-unstyled"));Re.jsonSerializationOptions=Ve;const zt=JSON.stringify(lt.json);zt&&b.clipboardData.setData("application/json",zt)}catch(Ve){}}}b.preventDefault()}static insert(y,b,E={}){var te;const ie=E.mode==="auto"?y.mode:(te=E.mode)!=null?te:y.mode;return ph._modes[ie].insert(y,b,E)}onPaste(y,b){return!1}insert(y,b,E){return!1}};cd._modes={};var is=cd,Fd=[{key:"left",command:"moveToPreviousChar"},{key:"right",command:"moveToNextChar"},{key:"up",command:"moveUp"},{key:"down",command:"moveDown"},{key:"shift+[ArrowLeft]",command:"extendSelectionBackward"},{key:"shift+[ArrowRight]",command:"extendSelectionForward"},{key:"shift+[ArrowUp]",command:"extendSelectionUpward"},{key:"shift+[ArrowDown]",command:"extendSelectionDownward"},{key:"[Backspace]",command:"deleteBackward"},{key:"alt+[Delete]",command:"deleteBackward"},{key:"[Delete]",command:"deleteForward"},{key:"alt+[Backspace]",command:"deleteForward"},{key:"alt+[ArrowLeft]",command:"moveToPreviousWord"},{key:"alt+[ArrowRight]",command:"moveToNextWord"},{key:"shift+alt+[ArrowLeft]",command:"extendToPreviousWord"},{key:"shift+alt+[ArrowRight]",command:"extendToNextWord"},{key:"ctrl+[ArrowLeft]",command:"moveToGroupStart"},{key:"ctrl+[ArrowRight]",command:"moveToGroupEnd"},{key:"shift+ctrl+[ArrowLeft]",command:"extendToGroupStart"},{key:"shift+ctrl+[ArrowRight]",command:"extendToGroupEnd"},{key:"[Home]",command:"moveToMathfieldStart"},{key:"cmd+[ArrowLeft]",command:"moveToMathfieldStart"},{key:"shift+[Home]",command:"extendToMathFieldStart"},{key:"shift+cmd+[ArrowLeft]",command:"extendToMathFieldStart"},{key:"[End]",command:"moveToMathfieldEnd"},{key:"cmd+[ArrowRight]",command:"moveToMathfieldEnd"},{key:"shift+[End]",command:"extendToMathFieldEnd"},{key:"shift+cmd+[ArrowRight]",command:"extendToMathFieldEnd"},{key:"[Pageup]",command:"moveToGroupStart"},{key:"[Pagedown]",command:"moveToGroupEnd"},{key:"[Tab]",command:"moveToNextGroup"},{key:"shift+[Tab]",command:"moveToPreviousGroup"},{key:"[Escape]",ifMode:"math",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"text",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"latex",command:["complete","complete",{selectItem:"true"}]},{key:"\\",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[IntlBackslash]",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[Tab]",ifMode:"latex",command:["complete","accept-suggestion"]},{key:"[Return]",ifMode:"latex",command:"complete"},{key:"[Enter]",ifMode:"latex",command:"complete"},{key:"shift+[Escape]",ifMode:"latex",command:["complete","reject"]},{key:"[ArrowDown]",ifMode:"latex",command:"nextSuggestion"},{key:"[ArrowUp]",ifMode:"latex",command:"previousSuggestion"},{key:"ctrl+a",ifPlatform:"!macos",command:"selectAll"},{key:"cmd+a",command:"selectAll"},{key:"[Cut]",command:"cutToClipboard"},{key:"[Copy]",command:"copyToClipboard"},{key:"[Paste]",command:"pasteFromClipboard"},{key:"[Clear]",command:"deleteBackward"},{key:"[Undo]",command:"undo"},{key:"[Redo]",command:"redo"},{key:"[EraseEof]",command:"deleteToGroupEnd"},{key:"ctrl+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"cmd+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"ctrl+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"cmd+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"ctrl+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"cmd+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"ctrl+z",ifPlatform:"!macos",command:"undo"},{key:"cmd+z",command:"undo"},{key:"ctrl+y",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+y",command:"redo"},{key:"shift+ctrl+z",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+z",command:"redo"},{key:"ctrl+b",ifPlatform:"macos",command:"moveToPreviousChar"},{key:"ctrl+f",ifPlatform:"macos",command:"moveToNextChar"},{key:"ctrl+p",ifPlatform:"macos",command:"moveUp"},{key:"ctrl+n",ifPlatform:"macos",command:"moveDown"},{key:"ctrl+a",ifPlatform:"macos",command:"moveToMathfieldStart"},{key:"ctrl+e",ifPlatform:"macos",command:"moveToMathfieldEnd"},{key:"shift+ctrl+b",ifPlatform:"macos",command:"extendSelectionBackward"},{key:"shift+ctrl+f",ifPlatform:"macos",command:"extendSelectionForward"},{key:"shift+ctrl+p",ifPlatform:"macos",command:"extendSelectionUpward"},{key:"shift+ctrl+n",ifPlatform:"macos",command:"extendSelectionDownward"},{key:"shift+ctrl+a",ifPlatform:"macos",command:"extendToMathFieldStart"},{key:"shift+ctrl+e",ifPlatform:"macos",command:"extendToMathFieldEnd"},{key:"alt+ctrl+b",ifPlatform:"macos",command:"moveToPreviousWord"},{key:"alt+ctrl+f",ifPlatform:"macos",command:"moveToNextWord"},{key:"shift+alt+ctrl+b",ifPlatform:"macos",command:"extendToPreviousWord"},{key:"shift+alt+ctrl+f",ifPlatform:"macos",command:"extendToNextWord"},{key:"ctrl+h",ifPlatform:"macos",command:"deleteBackward"},{key:"ctrl+d",ifPlatform:"macos",command:"deleteForward"},{key:"ctrl+l",ifPlatform:"macos",command:"scrollIntoView"},{key:"ctrl+[Digit2]",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"ctrl+[Digit5]",ifMode:"math",command:"moveToOpposite"},{key:"ctrl+[Digit6]",ifMode:"math",command:"moveToSuperscript"},{key:"ctrl+[Return]",ifMode:"math",command:"addRowAfter"},{key:"ctrl+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Return]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"alt+p",ifMode:"math",command:["insert","\\pi"]},{key:"alt+v",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"alt+o",ifMode:"math",command:["insert","\\emptyset"]},{key:"alt+d",ifMode:"math",command:["insert","\\differentialD"]},{key:"shift+alt+o",ifMode:"math",command:["insert","\\varnothing"]},{key:"shift+alt+d",ifMode:"math",command:["insert","\\partial"]},{key:"alt+[Backslash]",ifMode:"math",command:["insert","\\backslash"]},{key:"[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#?}{#@}"]},{key:"shift+alt+k",command:"toggleKeystrokeCaption"},{key:"alt+[Space]",command:"toggleContextMenu"},{key:"alt+shift+[Space]",command:"toggleVirtualKeyboard"},{key:"alt+ctrl+[ArrowUp]",command:["speak","all",{withHighlighting:!1}]},{key:"alt+ctrl+[ArrowDown]",command:["speak","selection",{withHighlighting:!1}]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["switchMode","text","",""]},{key:"shift+alt+[KeyT]",ifMode:"math",command:["switchMode","text","",""]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"text",command:["switchMode","math","",""]},{key:"shift+alt+[KeyT]",ifMode:"text",command:["switchMode","math","",""]},{key:"/",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+shift+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrack #0 \\right\\rbrack"]},{key:"ctrl+[Minus]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"moveToSubscript"},{key:"shift+alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrace #0 \\right\\rbrace"]},{key:"ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"shift+ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"shift+cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"ctrl+[Backspace]",ifMode:"math",command:"removeRow"},{key:"cmd+[Backspace]",ifMode:"math",command:"removeRow"},{key:"alt+[Tab]",ifMode:"math",command:"addColumnAfter"},{key:"shift+alt+[Tab]",ifMode:"math",command:"addColumnBefore"},{key:"alt+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Enter]",ifMode:"math",command:"addRowBefore"},{key:"alt+[Return]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Return]",ifMode:"math",command:"addRowBefore"},{key:"shift+[Backspace]",ifMode:"math",command:"removeColumn"},{key:"alt+[Digit5]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","$\\infty"]},{key:"alt+[Digit9]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","("]},{key:"alt+[Digit0]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert",")"]},{key:"alt+|",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","|"]},{key:"shift+[Backquote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\~"]},{key:"[Backquote]",ifLayout:["windows.french","linux.french"],ifMode:"math",command:["insert","^2"]},{key:"[Backquote]",ifLayout:["windows.german","linux.german"],ifMode:"math",command:["insert","^"]},{key:"[IntlBackslash]",ifLayout:["apple.german"],ifMode:"math",command:["insert","^"]}],dd={"\\sqrt":["alt+v","ctrl+[Digit2]"],"\\pi":"alt+p","\\infty":"alt+[Digit5]","\\differentialD":"alt+d","\\partial":"shift+alt+d","\\frac":"Slash","\\emptyset":"alt+o","\\varnothing":"shift+alt+o","\\~":"~"};function ic(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function sc(a){var y,b;return(b=(y=a.querySelector(".ML__caret"))!=null?y:a.querySelector(".ML__text-caret"))!=null?b:a.querySelector(".ML__latex-caret")}function mc(a){const y=sc(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function $c(a){var y;if(!a.parent)return"root";let b=(y=a.parent.id)!=null?y:"";return b+=typeof a.parentBranch=="string"?"-"+a.parentBranch:`-${a.parentBranch[0]}/${a.parentBranch[0]}`,b}function fd(a,y,b){if(!y)return null;const E=a.field.getBoundingClientRect(),te=y.right-y.left,ie=y.bottom-y.top,le=Math.ceil(y.left-E.left+a.field.scrollLeft*b),De=Math.ceil(y.top-E.top);return{left:le,right:le+te,top:De,bottom:De+ie}}function ed(a){const y=a.getBoundingClientRect(),b=parseInt(getComputedStyle(a).marginRight),E={top:y.top-1,bottom:y.bottom,left:y.left,right:y.right-1+b};if(a.children.length===0||a.tagName.toUpperCase()==="SVG")return E;for(const te of a.children)if(te.nodeType===1&&"atomId"in te.dataset&&!te.classList.contains("pstrut")){const ie=ed(te);E.left=Math.min(E.left,ie.left),E.right=Math.max(E.right,ie.right),E.top=Math.min(E.top,ie.top),E.bottom=Math.max(E.bottom,ie.bottom)}return E}function Pc(a,y){var b,E;if(!y.id)return null;let te=(E=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?E:null;if(te!==null)return te;const ie=a.field.querySelector(`[data-atom-id="${y.id}"]`);return te=ie?ed(ie):null,a.atomBoundsCache&&(te?a.atomBoundsCache.set(y.id,te):a.atomBoundsCache.delete(y.id)),te!=null?te:null}function Kd(a,y,b){const E=new Map;for(const te of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&te.style.backgroundColor)continue;const ie=a.field,le=ie.offsetWidth;let Re=Math.floor(ie.getBoundingClientRect().width)/le;Re=isNaN(Re)?1:Re;const Ve=fd(a,Pc(a,te),Re);if(Ve){const lt=$c(te);if(E.has(lt)){const zt=E.get(lt);E.set(lt,{left:Math.min(zt.left,Ve.left),right:Math.max(zt.right,Ve.right),top:Math.min(zt.top,Ve.top),bottom:Math.max(zt.bottom,Ve.bottom)})}else E.set(lt,Ve)}}return[...E.values()]}function Ds(a,y){return a.model.selection.ranges.reduce((b,E)=>b.concat(...Kd(a,E,y)),[])}function Zs(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function Uu(a){let y=0,b=0;const E=a.offsetWidth,te=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,E,te)}var vc=`@keyframes ML__caret-blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.ML__container {
display: inline-flex;
flex-flow: row;
justify-content: space-between;
align-items: flex-end;
min-height: 39px;
/* Need some room for the virtual keyboard toggle */
width: 100%;
/* Encourage browsers to consider allocating a hardware accelerated
layer for this element. */
isolation: isolate;
/* Prevent the browser from trying to interpret touch gestures in the field */
/* "Disabling double-tap to zoom removes the need for browsers to
delay the generation of click events when the user taps the screen." */
touch-action: none;
--_caret-color: var(--caret-color, hsl(var(--_hue), 40%, 49%));
--_selection-color: var(--selection-color, #000);
--_selection-background-color: var(--selection-background-color, hsl(var(--_hue), 70%, 85%));
--_text-highlight-background-color: var(--highlight-text, hsla(var(--_hue), 40%, 50%, 0.1));
--_contains-highlight-background-color: var(--contains-highlight-background-color, hsl(var(--_hue), 40%, 95%));
--_smart-fence-color: var(--smart-fence-color, currentColor);
--_smart-fence-opacity: var(--smart-fence-opacity, 0.5);
--_latex-color: var(--latex-color, hsl(var(--_hue), 80%, 40%));
--_correct-color: var(--correct-color, #10a000);
--_incorrect-color: var(--incorrect-color, #a01b00);
--_composition-background-color: var(--composition-background-color, #fff1c2);
--_composition-text-color: var(--composition-text-color, black);
--_composition-underline-color: var(--composition-underline-color, transparent);
}
/* This is the actual field content (formula) */
.ML__content {
display: flex;
align-items: center;
align-self: center;
position: relative;
overflow: hidden;
padding: 2px 3px 2px 1px;
width: 100%;
}
.ML__virtual-keyboard-toggle,
.ML__menu-toggle {
box-sizing: border-box;
display: flex;
align-self: center;
align-items: center;
flex-shrink: 0;
flex-direction: column;
justify-content: center;
width: 34px;
height: 34px;
padding: 0;
margin-right: 4px;
cursor: pointer;
/* Avoid some weird blinking with :hover */
border-radius: 8px;
border: 1px solid transparent;
transition: background 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
color: hsl(var(--_hue), 40%, 50%);
fill: currentColor;
background: transparent;
}
.ML__virtual-keyboard-toggle:hover,
.ML__menu-toggle:hover {
background: hsla(0, 0%, 70%, 0.3);
color: #333;
fill: currentColor;
}
.ML__virtual-keyboard-toggle > span,
.ML__menu-toggle > span {
display: flex;
align-self: center;
align-items: center;
}
/* The invisible element used to capture keyboard events. We're just trying
really hard to make sure it doesn't show. */
.ML__keyboard-sink {
display: inline-block;
resize: none;
outline: none;
border: none;
/* Need these for Microsoft Edge */
position: fixed;
clip: rect(0 0 0 0);
/* Need this to prevent iOS Safari from auto-zooming */
font-size: 1em;
font-family: KaTeX_Main;
line-height: 0.5;
/* On Chromium, if this is 0, no keyboard events are received */
}
[part="placeholder"] {
color: var(--neutral-400);
}
.ML__composition {
background: var(--_composition-background-color);
color: var(--_composition-text-color);
text-decoration: underline var(--_composition-underline-color);
}
.ML__caret::after {
content: '';
visibility: hidden;
width: 0;
display: inline-block;
height: 0.76em;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_caret-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.045em;
bottom: -0.05em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__text-caret::after {
content: '';
visibility: hidden;
width: 0;
display: inline-block;
height: 0.76em;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_caret-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.045em;
bottom: -0.05em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__latex-caret::after {
content: '';
visibility: hidden;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_latex-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.019em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__focused .ML__latex-caret::after,
.ML__focused .ML__text-caret::after,
.ML__focused .ML__caret::after {
visibility: visible;
}
.ML__focused .ML__text {
background: var(--_text-highlight-background-color);
}
/* When using smartFence, the anticipated closing fence is displayed
with this style */
.ML__smart-fence__close {
opacity: var(--_smart-fence-opacity);
color: var(--_smart-fence-color);
}
.ML__selected,
.ML__focused .ML__selected .ML__contains-caret,
.ML__focused .ML__selected .ML__smart-fence__close,
.ML__focused .ML__selected .ML__placeholder {
color: var(--_selection-color);
opacity: 1;
}
.ML__selection {
box-sizing: border-box;
background: var(--_selection-background-color) !important;
}
.ML__contains-caret.ML__close,
.ML__contains-caret.ML__open,
.ML__contains-caret > .ML__close,
.ML__contains-caret > .ML__open,
.ML__contains-caret .ML__sqrt-sign,
.ML__contains-caret .ML__sqrt-line {
color: var(--_caret-color);
}
.ML__contains-highlight {
box-sizing: border-box;
background: transparent;
}
.ML__focused .ML__contains-highlight {
background: var(--_contains-highlight-background-color);
}
.ML__raw-latex {
font-family: 'Berkeley Mono', 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
font-weight: 400;
font-size: 0.8em;
letter-spacing: -0.05em;
color: var(--_latex-color);
}
.ML__suggestion {
color: var(--neutral-500);
}
.ML__virtual-keyboard-toggle.is-visible.is-pressed:hover {
background: hsl(var(--_hue), 25%, 35%);
color: #fafafa;
fill: currentColor;
}
.ML__virtual-keyboard-toggle:focus {
outline: none;
border-radius: 8px;
border: 2px solid hsl(var(--_hue), 40%, 50%);
}
.ML__virtual-keyboard-toggle.is-pressed,
.ML__virtual-keyboard-toggle.is-active:hover,
.ML__virtual-keyboard-toggle.is-active {
background: hsl(var(--_hue), 25%, 35%);
color: #fafafa;
fill: currentColor;
}
/* Add an attribute 'data-tooltip' to automatically show a
tooltip over a element on hover.
*/
[data-tooltip] {
position: relative;
}
[data-tooltip]::after {
content: attr(data-tooltip);
position: absolute;
display: block;
z-index: 2;
pointer-events: none;
right: auto;
top: calc(-100% - 4px);
width: max-content;
max-width: 200px;
padding: 8px 8px;
border-radius: 4px;
background: #616161;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
text-align: center;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 13px;
/* Phone */
opacity: 0;
transform: scale(0.5);
}
@media only screen and (max-width: 767px) {
[data-tooltip]::after {
padding: 8px 16px;
font-size: 16px;
}
}
menu [data-tooltip]::after {
left: 100%;
top: 0%;
}
menu .ML__base {
cursor: default;
}
/** Don't display if we're tracking, i.e. have the pointer down */
.tracking [data-tooltip]:hover::after {
/* Use visibility, not display. Display will remove the after from the DOM, and the override below will not work */
visibility: hidden;
}
/** But do display if tracking and inside a menu */
.tracking menu li[data-tooltip]:hover::after,
[data-tooltip]:hover::after {
visibility: visible;
opacity: 1;
transform: scale(1);
transition-property: opacity, scale;
transition-duration: 0.15s;
transition-delay: 1s;
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ML__prompt {
border-radius: 2px;
}
.ML__editablePromptBox {
outline: 1px solid #acacac;
border-radius: 2px;
z-index: -1;
}
.ML__focusedPromptBox {
outline: highlight auto 1px;
}
.ML__lockedPromptBox {
background-color: rgba(142, 142, 141, 0.4);
z-index: -1;
}
.ML__correctPromptBox {
outline: 1px solid var(--_correct-color);
box-shadow: 0 0 5px var(--_correct-color);
}
.ML__incorrectPromptBox {
outline: 1px solid var(--_incorrect-color);
box-shadow: 0 0 5px var(--_incorrect-color);
}
.variant-submenu {
display: flex;
flex-direction: column;
padding: 8px;
}
.variant-submenu [part=menu-item] {
font-size: 2rem;
text-align: center;
margin: 0;
}
.insert-matrix-submenu {
display: grid;
padding: 8px;
align-content: center;
justify-content: center;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.insert-matrix-submenu [part=menu-item] {
font-size: 21px;
border: none;
border-radius: 0;
line-height: 21px;
text-align: center;
padding: 0;
margin: 0;
}
.border-submenu [part=menu-item] {
font-size: 2rem;
line-height: 1.2;
text-align: center;
}
.swatches-submenu {
--_swatch-size: 2rem;
--_columns: 4;
display: flex;
flex-flow: wrap;
padding: 8px;
max-width: calc(var(--_columns) * (var(--_swatch-size) + 18px) + 16px);
box-sizing: border-box;
}
.menu-swatch {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: fit-content;
height: fit-content;
margin: 2px;
padding: 0;
background: var(--neutral-200);
}
.menu-swatch > .label {
padding: 0;
margin: 0;
line-height: 0;
}
.menu-swatch > .label > span {
display: inline-block;
margin: 6px;
min-width: var(--_swatch-size);
min-height: var(--_swatch-size);
border-radius: 50%;
}
.menu-swatch.active {
background: var(--neutral-100);
scale: 1.4;
}
.menu-swatch.active > .label > span {
border-radius: 2px;
}
.menu-swatch .ui-checkmark,
.menu-swatch .ui-mixedmark {
position: absolute;
margin: 0;
padding: 0;
color: white;
}
.menu-swatch.dark-contrast .ui-checkmark,
.menu-swatch.dark-contrast .ui-mixedmark {
color: #000;
}
`,ks=`.ML__container {
min-height: auto !important;
--_hue: var(--hue, 212);
--_placeholder-color: var(--placeholder-color, hsl(var(--_hue), 40%, 49%));
--_placeholder-opacity: var(--placeholder-opacity, 0.4);
--_text-font-family: var(--text-font-family, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif);
}
.ML__sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.ML__is-inline {
display: inline-block;
}
.ML__base {
visibility: inherit;
display: inline-block;
position: relative;
cursor: text;
padding: 0;
margin: 0;
box-sizing: content-box;
border: 0;
outline: 0;
vertical-align: baseline;
font-weight: inherit;
font-family: inherit;
font-style: inherit;
text-decoration: none;
width: min-content;
}
.ML__strut,
.ML__strut--bottom {
display: inline-block;
min-height: 0.5em;
}
.ML__small-delim {
font-family: KaTeX_Main;
}
/* Text mode */
.ML__text {
font-family: var(--_text-font-family);
white-space: pre;
}
/* Use cmr for 'math upright' */
.ML__cmr {
font-family: KaTeX_Main;
font-style: normal;
}
.ML__mathit {
font-family: KaTeX_Math;
/* The KaTeX_Math font is italic by default, so the font-style below is only
useful when a fallback font is used
*/
font-style: italic;
}
.ML__mathbf {
font-family: KaTeX_Main;
font-weight: bold;
}
/* Lowercase greek symbols should stick to math font when \\mathbf is applied
to match TeX idiosyncratic behavior */
.lcGreek.ML__mathbf {
font-family: KaTeX_Math;
font-weight: normal;
}
.ML__mathbfit {
font-family: KaTeX_Math;
font-weight: bold;
font-style: italic;
}
.ML__ams {
font-family: KaTeX_AMS;
}
/* Blackboard */
.ML__bb {
font-family: KaTeX_AMS;
}
.ML__cal {
font-family: KaTeX_Caligraphic;
}
.ML__frak {
font-family: KaTeX_Fraktur;
}
.ML__tt {
font-family: KaTeX_Typewriter;
}
.ML__script {
font-family: KaTeX_Script;
}
.ML__sans {
font-family: KaTeX_SansSerif;
}
.ML__series_ul {
font-weight: 100;
}
.ML__series_el {
font-weight: 100;
}
.ML__series_l {
font-weight: 200;
}
.ML__series_sl {
font-weight: 300;
}
.ML__series_sb {
font-weight: 500;
}
.ML__bold,
.ML__boldsymbol {
font-weight: 700;
}
.ML__series_eb {
font-weight: 800;
}
.ML__series_ub {
font-weight: 900;
}
.ML__series_uc {
font-stretch: ultra-condensed;
}
.ML__series_ec {
font-stretch: extra-condensed;
}
.ML__series_c {
font-stretch: condensed;
}
.ML__series_sc {
font-stretch: semi-condensed;
}
.ML__series_sx {
font-stretch: semi-expanded;
}
.ML__series_x {
font-stretch: expanded;
}
.ML__series_ex {
font-stretch: extra-expanded;
}
.ML__series_ux {
font-stretch: ultra-expanded;
}
.ML__it {
font-style: italic;
}
.ML__shape_ol {
-webkit-text-stroke: 1px black;
text-stroke: 1px black;
color: transparent;
}
.ML__shape_sc {
font-variant: small-caps;
}
.ML__shape_sl {
font-style: oblique;
}
/* First level emphasis */
.ML__emph {
color: #bc2612;
}
/* Second level emphasis */
.ML__emph .ML__emph {
color: #0c7f99;
}
.ML__highlight {
color: #007cb2;
background: #edd1b0;
}
.ML__center {
text-align: center;
}
.ML__label_padding {
padding: 0 0.5em;
}
.ML__frac-line {
width: 100%;
min-height: 1px;
}
.ML__frac-line:after {
content: '';
display: block;
margin-top: max(-1px, -0.04em);
min-height: max(1px, 0.04em);
/* Ensure the line is visible when printing even if "turn off background images" is on*/
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
/* There's a bug since Chrome 62 where
sub-pixel border lines don't draw at some zoom
levels (110%, 90%).
Setting the min-height used to work around it, but that workaround
broke in Chrome 84 or so.
Setting the background (and the min-height) seems to work for now.
*/
background: currentColor;
box-sizing: content-box;
/* Vuetify sets the box-sizing to inherit
causes the fraction line to not draw at all sizes (see #26) */
/* On some versions of Firefox on Windows, the line fails to
draw at some zoom levels, but setting the transform triggers
the hardware accelerated path, which works */
transform: translate(0, 0);
}
.ML__sqrt {
display: inline-block;
}
.ML__sqrt-sign {
display: inline-block;
position: relative;
}
.ML__sqrt-line {
display: inline-block;
height: max(1px, 0.04em);
width: 100%;
}
.ML__sqrt-line:before {
content: '';
display: block;
margin-top: min(-1px, -0.04em);
min-height: max(1px, 0.04em);
/* Ensure the line is visible when printing even if "turn off background images" is on*/
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
background: currentColor;
/* On some versions of Firefox on Windows, the line fails to
draw at some zoom levels, but setting the transform triggers
the hardware accelerated path, which works */
transform: translate(0, 0);
}
.ML__sqrt-line:after {
border-bottom-width: 1px;
content: ' ';
display: block;
margin-top: -0.1em;
}
.ML__sqrt-index {
margin-left: 0.27777778em;
margin-right: -0.55555556em;
}
.ML__delim-size1 {
font-family: KaTeX_Size1;
}
.ML__delim-size2 {
font-family: KaTeX_Size2;
}
.ML__delim-size3 {
font-family: KaTeX_Size3;
}
.ML__delim-size4 {
font-family: KaTeX_Size4;
}
.ML__delim-mult .delim-size1 > span {
font-family: KaTeX_Size1;
}
.ML__delim-mult .delim-size4 > span {
font-family: KaTeX_Size4;
}
.ML__accent-body > span {
font-family: KaTeX_Main;
width: 0;
}
.ML__accent-vec {
position: relative;
left: 0.24em;
}
/** The markup for a LaTeX formula, either in an editable mathfield or
in a static display.
*/
.ML__latex {
display: inline-block;
direction: ltr;
text-align: left;
text-indent: 0;
text-rendering: auto;
font-family: KaTeX_Main, 'Times New Roman', serif;
font-style: normal;
font-size-adjust: none;
font-stretch: normal;
font-variant-caps: normal;
letter-spacing: normal;
line-height: 1.2;
word-wrap: normal;
word-spacing: normal;
white-space: nowrap;
text-shadow: none;
-webkit-user-select: none;
user-select: none;
width: min-content;
}
.ML__latex .style-wrap {
position: relative;
}
.ML__latex .mfrac {
display: inline-block;
}
.ML__latex .left-right {
display: inline-block;
}
.ML__latex .vlist-t {
display: inline-table;
table-layout: fixed;
border-collapse: collapse;
}
.ML__latex .vlist-r {
display: table-row;
}
.ML__latex .vlist {
display: table-cell;
vertical-align: bottom;
position: relative;
}
.ML__latex .vlist > span {
display: block;
height: 0;
position: relative;
}
.ML__latex .vlist > span > span {
display: inline-block;
}
.ML__latex .vlist > span > .pstrut {
overflow: hidden;
width: 0;
}
.ML__latex .vlist-t2 {
margin-right: -2px;
}
.ML__latex .vlist-s {
display: table-cell;
vertical-align: bottom;
font-size: 1px;
width: 2px;
min-width: 2px;
}
.ML__latex .msubsup {
text-align: left;
}
.ML__latex .negativethinspace {
display: inline-block;
margin-left: -0.16667em;
height: 0.71em;
}
.ML__latex .thinspace {
display: inline-block;
width: 0.16667em;
height: 0.71em;
}
.ML__latex .mediumspace {
display: inline-block;
width: 0.22222em;
height: 0.71em;
}
.ML__latex .thickspace {
display: inline-block;
width: 0.27778em;
height: 0.71em;
}
.ML__latex .enspace {
display: inline-block;
width: 0.5em;
height: 0.71em;
}
.ML__latex .quad {
display: inline-block;
width: 1em;
height: 0.71em;
}
.ML__latex .qquad {
display: inline-block;
width: 2em;
height: 0.71em;
}
.ML__latex .llap,
.ML__latex .rlap {
width: 0;
position: relative;
display: inline-block;
}
.ML__latex .llap > .inner,
.ML__latex .rlap > .inner {
position: absolute;
}
.ML__latex .llap > .fix,
.ML__latex .rlap > .fix {
display: inline-block;
}
.ML__latex .llap > .inner {
right: 0;
}
.ML__latex .rlap > .inner {
left: 0;
}
.ML__latex .rule {
display: inline-block;
border: solid 0;
position: relative;
box-sizing: border-box;
}
.ML__latex .overline .overline-line,
.ML__latex .underline .underline-line {
width: 100%;
}
.ML__latex .overline .overline-line:before,
.ML__latex .underline .underline-line:before {
content: '';
border-bottom-style: solid;
border-bottom-width: max(1px, 0.04em);
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
display: block;
}
.ML__latex .overline .overline-line:after,
.ML__latex .underline .underline-line:after {
border-bottom-style: solid;
border-bottom-width: max(1px, 0.04em);
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
content: '';
display: block;
margin-top: -1px;
}
.ML__latex .stretchy {
display: block;
position: absolute;
width: 100%;
left: 0;
overflow: hidden;
}
.ML__latex .stretchy:before,
.ML__latex .stretchy:after {
content: '';
}
.ML__latex .stretchy svg {
display: block;
position: absolute;
width: 100%;
height: inherit;
fill: currentColor;
stroke: currentColor;
fill-rule: nonzero;
fill-opacity: 1;
stroke-width: 1;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-dasharray: none;
stroke-dashoffset: 0;
stroke-opacity: 1;
}
.ML__latex .slice-1-of-2 {
display: inline-flex;
position: absolute;
left: 0;
width: 50.2%;
overflow: hidden;
}
.ML__latex .slice-2-of-2 {
display: inline-flex;
position: absolute;
right: 0;
width: 50.2%;
overflow: hidden;
}
.ML__latex .slice-1-of-3 {
display: inline-flex;
position: absolute;
left: 0;
width: 25.1%;
overflow: hidden;
}
.ML__latex .slice-2-of-3 {
display: inline-flex;
position: absolute;
left: 25%;
width: 50%;
overflow: hidden;
}
.ML__latex .slice-3-of-3 {
display: inline-flex;
position: absolute;
right: 0;
width: 25.1%;
overflow: hidden;
}
.ML__latex .slice-1-of-1 {
display: inline-flex;
position: absolute;
width: 100%;
left: 0;
overflow: hidden;
}
.ML__latex .nulldelimiter {
display: inline-block;
}
.ML__latex .op-group {
display: inline-block;
}
.ML__latex .op-symbol {
position: relative;
}
.ML__latex .op-symbol.small-op {
font-family: KaTeX_Size1;
}
.ML__latex .op-symbol.large-op {
font-family: KaTeX_Size2;
}
.ML__latex .mtable .vertical-separator {
display: inline-block;
min-width: 1px;
box-sizing: border-box;
}
.ML__latex .mtable .arraycolsep {
display: inline-block;
}
.ML__latex .mtable .col-align-m > .vlist-t {
text-align: center;
}
.ML__latex .mtable .col-align-c > .vlist-t {
text-align: center;
}
.ML__latex .mtable .col-align-l > .vlist-t {
text-align: left;
}
.ML__latex .mtable .col-align-r > .vlist-t {
text-align: right;
}
.ML__error {
display: inline-block;
background-image: radial-gradient(ellipse at center, hsl(341, 100%, 40%), rgba(0, 0, 0, 0) 70%);
background-color: hsla(341, 100%, 40%, 0.1);
background-repeat: repeat-x;
background-size: 3px 3px;
padding-bottom: 3px;
background-position: 0 100%;
}
.ML__error > .ML__error {
background: transparent;
padding: 0;
}
.ML__placeholder {
color: var(--_placeholder-color);
opacity: var(--_placeholder-opacity);
padding-left: 0.4ex;
padding-right: 0.4ex;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
.ML__notation {
position: absolute;
box-sizing: border-box;
line-height: 0;
}
/* This class is used to implement the \`\\mathtip\` and \`\\texttip\` commands
For UI elements, see \`[data-ML__tooltip]\`
*/
.ML__tooltip-container {
position: relative;
transform: scale(0);
}
.ML__tooltip-container .ML__tooltip-content {
position: fixed;
display: inline-table;
visibility: hidden;
z-index: 2;
width: max-content;
max-width: 400px;
padding: 12px 12px;
border-radius: 8px;
background: #616161;
--_selection-color: #fff;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
opacity: 0;
transition: opacity 0.15s cubic-bezier(0.4, 0, 1, 1);
}
.ML__tooltip-container .ML__tooltip-content .ML__text {
white-space: normal;
}
.ML__tooltip-container .ML__tooltip-content .ML__base {
display: contents;
}
.ML__tooltip-container:hover .ML__tooltip-content {
visibility: visible;
opacity: 1;
font-size: 0.75em;
transform: scale(1) translate(0, 3em);
}
`,xd=`#mathlive-environment-popover.is-visible {
visibility: visible;
}
#mathlive-environment-popover {
--_environment-panel-height: var(--environment-panel-height, 70px);
--_accent-color: var(--accent-color, #aaa);
--_background: var(--environment-panel-background, #fff);
--_button-background: var(--environment-panel-button-background, white);
--_button-background-hover: var(--environment-panel-button-background-hover, #f5f5f7);
--_button-background-active: var(--environment-panel-button-background-active, #f5f5f7);
--_button-text: var(--environment-panel-button-text, #e3e4e8);
position: absolute;
width: calc(var(--_environment-panel-height) * 2);
height: var(--_environment-panel-height);
border-radius: 4px;
border: 1.5px solid var(--_accent-color);
background-color: var(--_background);
box-shadow: 0 0 30px 0 var(--environment-shadow, rgba(0, 0, 0, 0.4));
pointer-events: all;
visibility: hidden;
}
#mathlive-environment-popover .MLEP__array-buttons {
height: calc(var(--_environment-panel-height) * 5/4);
width: calc(var(--_environment-panel-height) * 5/4);
margin-left: calc(0px - var(--_environment-panel-height) * 0.16);
margin-top: calc(0px - var(--_environment-panel-height) * 0.19);
}
#mathlive-environment-popover .MLEP__array-buttons .font {
fill: white;
}
#mathlive-environment-popover .MLEP__array-buttons circle {
fill: #7f7f7f;
transition: fill 300ms;
}
#mathlive-environment-popover .MLEP__array-buttons .MLEP__array-insert-background {
fill-opacity: 1;
fill: var(--_background);
stroke: var(--_accent-color);
stroke-width: 3px;
}
#mathlive-environment-popover .MLEP__array-buttons line {
stroke: var(--_accent-color);
stroke-opacity: 0;
stroke-width: 40;
pointer-events: none;
transition: stroke-opacity 300ms;
stroke-linecap: round;
}
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover circle {
fill: var(--_accent-color);
}
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover line {
stroke-opacity: 1;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls {
height: 100%;
width: 50%;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options {
width: var(--_environment-panel-height);
height: var(--_environment-panel-height);
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-around;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg {
pointer-events: all;
margin-top: 2px;
width: calc(var(--_environment-panel-height) / 3 * 28 / 24);
height: calc(var(--_environment-panel-height) / 3 - 2px);
border-radius: calc(var(--_environment-panel-height) / 25);
background-color: var(--_button-background);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg:hover {
background-color: var(--_button-background-hover);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg line {
stroke: var(--_button-text);
stroke-width: 2;
stroke-linecap: round;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg rect,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path {
fill-opacity: 0;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active {
pointer-events: none;
background-color: var(--_button-background-active);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active path,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active line {
stroke: var(--_accent-color);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active circle {
fill: var(--_accent-color);
}
`,wd=`/* The element that display info while in latex mode */
#mathlive-suggestion-popover {
background-color: rgba(97, 97, 97);
color: #fff;
text-align: center;
border-radius: 8px;
position: fixed;
z-index: 1;
display: none;
flex-direction: column;
justify-content: center;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
#mathlive-suggestion-popover.top-tip::after {
content: '';
position: absolute;
top: -15px;
left: calc(50% - 15px);
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 15px solid rgba(97, 97, 97);
font-size: 1rem;
}
#mathlive-suggestion-popover.bottom-tip::after {
content: '';
position: absolute;
bottom: -15px;
left: calc(50% - 15px);
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-top: 15px solid rgba(97, 97, 97);
font-size: 1rem;
}
#mathlive-suggestion-popover.is-animated {
transition: all 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
animation: ML__fade-in cubic-bezier(0, 0, 0.2, 1) 0.15s;
}
#mathlive-suggestion-popover.is-visible {
display: flex;
}
@keyframes ML__fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* The wrapper class for the entire content of the popover panel */
#mathlive-suggestion-popover ul {
display: flex;
flex-flow: column;
list-style: none;
margin: 0;
padding: 0;
align-items: flex-start;
max-height: 400px;
overflow-y: auto;
}
#mathlive-suggestion-popover li {
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 8px;
padding: 8px;
width: calc(100% - 16px - 16px);
column-gap: 1em;
border-radius: 8px;
cursor: pointer;
/* Since the content can be clicked on, provide feedback on hover */
}
#mathlive-suggestion-popover li a {
color: #5ea6fd;
padding-top: 0.3em;
margin-top: 0.4em;
display: block;
}
#mathlive-suggestion-popover li a:hover {
color: #5ea6fd;
text-decoration: underline;
}
#mathlive-suggestion-popover li:hover,
#mathlive-suggestion-popover li.is-pressed,
#mathlive-suggestion-popover li.is-active {
background: rgba(255, 255, 255, 0.1);
}
/* The command inside a popover (inside a #mathlive-suggestion-popover) */
.ML__popover__command {
font-size: 1.6rem;
font-family: KaTeX_Main;
}
.ML__popover__current {
background: #5ea6fd;
color: #fff;
}
.ML__popover__latex {
font-family: 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
align-self: center;
}
/* The keyboard shortcuts for a symbol as displayed in the popover */
.ML__popover__keybinding {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 0.8em;
opacity: 0.7;
}
/* Style for the character that joins the modifiers of a keyboard shortcut
(usually a "+" sign)*/
.ML__shortcut-join {
opacity: 0.5;
}
`,wc=`/* The element that displays the keys as the user type them */
#mathlive-keystroke-caption-panel {
visibility: hidden;
/*min-width: 160px;*/
/*background-color: rgba(97, 97, 200, .95);*/
background: var(--secondary, hsl(var(--_hue), 19%, 26%));
border-color: var(--secondary-border, hsl(0, 0%, 91%));
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
text-align: center;
border-radius: 6px;
padding: 16px;
position: absolute;
z-index: 1;
display: flex;
flex-direction: row-reverse;
justify-content: center;
--keystroke: white;
--on-keystroke: #555;
--keystroke-border: #f7f7f7;
}
@media (prefers-color-scheme: dark) {
body:not([theme='light']) #mathlive-keystroke-caption-panel {
--keystroke: hsl(var(--_hue), 50%, 30%);
--on-keystroke: hsl(0, 0%, 98%);
--keystroke-border: hsl(var(--_hue), 50%, 25%);
}
}
body[theme='dark'] #mathlive-keystroke-caption-panel {
--keystroke: hsl(var(--_hue), 50%, 30%);
--on-keystroke: hsl(0, 0%, 98%);
--keystroke-border: hsl(var(--_hue), 50%, 25%);
}
#mathlive-keystroke-caption-panel > span {
min-width: 14px;
/*height: 8px;*/
margin: 0 8px 0 0;
padding: 4px;
background-color: var(--keystroke);
color: var(--on-keystroke);
fill: currentColor;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 1em;
border-radius: 6px;
border: 2px solid var(--keystroke-border);
/*box-shadow: 0 7px 14px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);*/
}
`,Sd=`.ML__keyboard {
--_keyboard-height: 0;
--_keyboard-zindex: var(--keyboard-zindex, 105);
--_accent-color: var(--keyboard-accent-color, #0c75d8);
--_background: var(--keyboard-background, #cacfd7);
--_border: var(--keyboard-border, #ddd);
--_padding-horizontal: var(--keyboard-padding-horizontal, 0px);
--_padding-top: var(--keyboard-padding-top, 5px);
--_padding-bottom: var(--keyboard-padding-bottom, 0px);
--_row-padding-left: var(--keyboard-row-padding-left, 0px);
--_row-padding-right: var(--keyboard-row-padding-right, 0px);
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
--_toolbar-text-active: var(--keyboard-toolbar-text-active, var(--_accent-color));
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
--_toolbar-font-size: var(--keyboard-toolbar-font-size, '135%');
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
--_keycap-background: var(--keycap-background, white);
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
--_keycap-border: var(--keycap-border, #e5e6e9);
--_keycap-border-bottom: var(--keycap-border-bottom, #8d8f92);
--_keycap-text: var(--keycap-text, #000);
--_keycap-text-active: var(--keycap-text-active, #fff);
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
--_keycap-primary-background: var(--keycap-primary-background, var(--_accent-color));
--_keycap-primary-text: var(--keycap-primary-text, #ddd);
--_keycap-primary-background-hover: var(--keycap-primary-background-hover, #0d80f2);
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
--_keycap-height: var(--keycap-height, 60px);
/* Keycap width (incl. margin) */
--_keycap-max-width: var(--keycap-max-width, 100px);
--_keycap-gap: var(--keycap-gap, 8px);
--_keycap-font-size: var(--keycap-font-size, clamp(16px, 4cqw, 24px));
--_keycap-small-font-size: var(--keycap-small-font-size, calc(var(--keycap-font-size) * 0.8));
--_keycap-extra-small-font-size: var(--keycap-extra-small-font-size, calc(var(--keycap-font-size) / 1.42));
--_variant-panel-background: var(--variant-panel-background, #fff);
--_variant-keycap-text: var(--variant-keycap-text, var(--_keycap-text));
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
--_variant-keycap-length: var(--variant-keycap-length, 70px);
--_variant-keycap-font-size: var(--variant-keycap-font-size, 30px);
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 12px);
--_keycap-shift-font-size: var(--keycap-shift-font-size, 16px);
--_keycap-shift-color: var(--keycap-shift-color, var(--_accent-color));
--_box-placeholder-color: var(--box-placeholder-color, var(--_accent-color));
--_box-placeholder-pressed-color: var(--box-placeholder-pressed-color, var(--keycap-text-pressed));
}
.is-math-mode .MLK__rows .if-text-mode,
.is-text-mode .MLK__rows .if-math-mode {
display: none;
}
.if-can-undo,
.if-can-redo,
.if-can-copy,
.if-can-cut,
.if-can-paste {
opacity: 0.4;
pointer-events: none;
}
.can-undo .if-can-undo,
.can-redo .if-can-redo,
.can-copy .if-can-copy,
.can-cut .if-can-cut,
.can-paste .if-can-paste {
opacity: 1;
pointer-events: all;
}
body > .ML__keyboard {
position: fixed;
--_padding-bottom: calc(var(--keyboard-padding-bottom, 0px) + env(safe-area-inset-bottom, 0));
}
body > .ML__keyboard.is-visible > .MLK__backdrop {
box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.08);
border-top: 1px solid var(--_border);
}
body > .ML__keyboard.backdrop-is-transparent.is-visible > .MLK__backdrop {
box-shadow: none;
border: none;
}
body > .ML__keyboard.is-visible.animate > .MLK__backdrop {
transition: 0.28s cubic-bezier(0, 0, 0.2, 1);
transition-property: transform, opacity;
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ML__keyboard {
position: relative;
overflow: hidden;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: var(--_keyboard-zindex);
box-sizing: border-box;
outline: none;
border: none;
margin: 0;
padding: 0;
line-height: 1;
overflow-wrap: unset;
text-align: left;
vertical-align: baseline;
cursor: auto;
white-space: pre;
box-shadow: none;
opacity: 1;
transform: none;
pointer-events: none;
}
.ML__keyboard :where(div) {
box-sizing: border-box;
outline: none;
border: none;
margin: 0;
padding: 0;
line-height: 1;
overflow-wrap: unset;
text-align: left;
vertical-align: baseline;
cursor: auto;
white-space: pre;
box-shadow: none;
transform: none;
}
.MLK__backdrop {
position: absolute;
bottom: calc(-1 * var(--_keyboard-height));
width: 100%;
height: var(--_keyboard-height);
box-sizing: border-box;
padding-top: var(--_padding-top);
padding-bottom: var(--_padding-bottom);
padding-left: var(--_padding-horizontal);
padding-right: var(--_padding-horizontal);
opacity: 0;
visibility: hidden;
transform: translate(0, 0);
background: var(--_background);
}
.backdrop-is-transparent .MLK__backdrop {
background: transparent;
}
/* If a custom layout has a custom container/backdrop
(backdrop-is-transparent), make sure to let pointer event go through. */
.backdrop-is-transparent .MLK__plate {
background: transparent;
pointer-events: none;
}
/* If a custom layout has a custom container/backdrop, make sure to
allow pointer events on it. */
.backdrop-is-transparent .MLK__layer > div > div {
pointer-events: all;
}
.ML__keyboard.is-visible > .MLK__backdrop {
transform: translate(0, calc(-1 * var(--_keyboard-height)));
opacity: 1;
visibility: visible;
}
.caps-lock-indicator {
display: none;
width: 8px;
height: 8px;
background: #0cbc0c;
box-shadow: inset 0 0 4px 0 #13ca13, 0 0 4px 0 #a9ef48;
border-radius: 8px;
right: 8px;
top: 8px;
position: absolute;
}
.ML__keyboard.is-caps-lock .caps-lock-indicator {
display: block;
}
.ML__keyboard.is-caps-lock .shift {
background: var(--_keycap-background-active);
color: var(--_keycap-text-active);
}
.MLK__plate {
position: absolute;
top: var(--_padding-top);
left: var(--_padding-horizontal);
width: calc(100% - 2 * var(--_padding-horizontal));
margin: 0;
padding: 0;
box-sizing: border-box;
container-type: inline-size;
touch-action: none;
-webkit-user-select: none;
user-select: none;
pointer-events: all;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 16px;
/* Size of toolbar labels */
font-weight: 400;
text-shadow: none;
}
.ML__box-placeholder {
color: var(--_box-placeholder-color);
}
.MLK__tex {
font-family: KaTeX_Main, KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__tex-math {
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
font-style: italic;
}
.MLK__layer {
display: none;
outline: none;
}
.MLK__layer.is-visible {
display: flex;
flex-flow: column;
}
/* Keyboard layouts are made or rows of keys... */
.MLK__rows {
--_keycap-width: min(var(--_keycap-max-width), 10cqw);
display: flex;
flex-flow: column;
align-items: center;
border-collapse: separate;
clear: both;
border: 0;
margin: 0;
margin-bottom: var(--_keycap-gap);
gap: var(--_keycap-gap);
/* If the styling include, e.g., some shadows, they will be
cut off by the overflow. In that case, set the padding to
compensate. */
padding-left: var(--_row-padding-left);
padding-right: var(--_row-padding-right);
overflow: visible;
touch-action: none;
}
.MLK__rows > .MLK__row {
display: flex;
flex-flow: row;
justify-content: center;
width: 100%;
gap: var(--_keycap-gap);
margin: 0;
padding: 0;
/* For the alignment of the text on some modifiers (e.g. shift) */
/* Extra spacing between two adjacent keys */
}
.MLK__rows > .MLK__row .tex {
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__rows > .MLK__row .tex-math {
font-family: KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__rows > .MLK__row .big-op {
font-size: calc(1.25 * var(--_keycap-font-size));
}
.MLK__rows > .MLK__row .small {
font-size: var(--_keycap-small-font-size);
}
.MLK__rows > .MLK__row .bottom {
justify-content: flex-end;
}
.MLK__rows > .MLK__row .left {
align-items: flex-start;
padding-left: 12px;
}
.MLK__rows > .MLK__row .right {
align-items: flex-end;
padding-right: 12px;
}
.MLK__rows > .MLK__row .w0 {
width: 0;
}
.MLK__rows > .MLK__row .w5 {
width: calc(0.5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w15 {
width: calc(1.5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w20 {
width: calc(2 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w40 {
width: calc(4 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w50 {
width: calc(5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .MLK__keycap.w50 {
font-size: 80%;
padding-top: 10px;
font-weight: 100;
}
.MLK__rows > .MLK__row .separator {
background: transparent;
border: none;
pointer-events: none;
}
.MLK__rows > .MLK__row .horizontal-rule {
height: 6px;
margin-top: 3px;
margin-bottom: 0;
width: 100%;
border-radius: 0;
border-top: var(--_horizontal-rule);
}
.MLK__rows > .MLK__row .ghost {
background: var(--_toolbar-background);
border: none;
color: var(--_toolbar-text);
}
.MLK__rows > .MLK__row .ghost:hover {
background: var(--_toolbar-background-hover);
}
.MLK__rows > .MLK__row .bigfnbutton {
font-size: var(--_keycap-extra-small-font-size);
}
.MLK__rows > .MLK__row .shift,
.MLK__rows > .MLK__row .action {
color: var(--_keycap-secondary-text);
background: var(--_keycap-secondary-background);
border-color: var(--_keycap-secondary-border);
border-bottom-color: var(--_keycap-secondary-border-bottom);
line-height: 0.8;
font-size: min(1rem, var(--_keycap-small-font-size));
font-weight: 600;
padding: 8px 12px 8px 12px;
}
.MLK__rows > .MLK__row .shift:hover,
.MLK__rows > .MLK__row .action:hover {
background: var(--_keycap-secondary-background-hover);
}
.MLK__rows > .MLK__row .action.primary {
background: var(--_keycap-primary-background);
color: var(--_keycap-primary-text);
}
.MLK__rows > .MLK__row .action.primary:hover {
background: var(--_keycap-primary-background-hover);
color: var(--_keycap-primary-text);
}
.MLK__rows > .MLK__row .shift.selected,
.MLK__rows > .MLK__row .action.selected {
color: var(--_toolbar-text-active);
}
.MLK__rows > .MLK__row .shift.selected.is-pressed,
.MLK__rows > .MLK__row .action.selected.is-pressed,
.MLK__rows > .MLK__row .shift.selected.is-active,
.MLK__rows > .MLK__row .action.selected.is-active {
color: white;
}
.MLK__rows > .MLK__row .warning {
background: #cd0030;
color: white;
}
.MLK__rows > .MLK__row .warning svg.svg-glyph {
width: 24px;
height: 24px;
min-height: 24px;
}
/** A regular keycap
* Use the :where() pseudo-class to give it a very low specifity,
* so that it can be overriden by custom style.
*/
:where(.MLK__rows > .MLK__row div) {
display: flex;
flex-flow: column;
align-items: center;
justify-content: space-evenly;
width: calc(var(--_keycap-width) - var(--_keycap-gap));
height: var(--_keycap-height);
box-sizing: border-box;
padding: 0;
vertical-align: top;
text-align: center;
float: left;
color: var(--_keycap-text);
fill: currentColor;
font-size: var(--_keycap-font-size);
background: var(--_keycap-background);
border: 1px solid var(--_keycap-border);
border-bottom-color: var(--_keycap-border-bottom);
border-radius: 6px;
cursor: pointer;
touch-action: none;
/* Keys with a variants panel */
position: relative;
overflow: hidden;
-webkit-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
:where(.MLK__rows > .MLK__row div):hover {
overflow: visible;
background: var(--_keycap-background-hover);
}
:where(.MLK__rows > .MLK__row div) .ML__latex {
pointer-events: none;
touch-action: none;
}
:where(.MLK__rows > .MLK__row div) svg.svg-glyph {
margin: 8px 0;
width: 20px;
height: 20px;
min-height: 20px;
}
:where(.MLK__rows > .MLK__row div) svg.svg-glyph-lg {
margin: 8px 0;
width: 24px;
height: 24px;
min-height: 24px;
}
:where(.MLK__rows > .MLK__row div).MLK__tex-math {
font-size: 25px;
}
:where(.MLK__rows > .MLK__row div).is-pressed {
background: var(--_keycap-background-pressed);
color: var(--_keycap-text-pressed);
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
:where(.MLK__rows > .MLK__row div).action.is-active,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
:where(.MLK__rows > .MLK__row div).action.is-pressed {
z-index: calc(var(--_keyboard-zindex) - 5);
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active aside,
:where(.MLK__rows > .MLK__row div).action.is-active aside,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed aside,
:where(.MLK__rows > .MLK__row div).action.is-pressed aside {
display: none;
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active .MLK__shift,
:where(.MLK__rows > .MLK__row div).action.is-active .MLK__shift,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed .MLK__shift,
:where(.MLK__rows > .MLK__row div).action.is-pressed .MLK__shift {
display: none;
}
:where(.MLK__rows > .MLK__row div).shift.is-pressed,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
:where(.MLK__rows > .MLK__row div).action.is-pressed {
background: var(--_keycap-background-pressed);
color: var(--_keycap-text-pressed);
}
:where(.MLK__rows > .MLK__row div).shift.is-active,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
:where(.MLK__rows > .MLK__row div).action.is-active {
background: var(--_keycap-background-active);
color: var(--_keycap-text-active);
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
}
:where(.MLK__rows > .MLK__row div) small {
color: var(--_keycap-secondary-text);
}
:where(.MLK__rows > .MLK__row div) aside {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 10px;
line-height: 10px;
color: var(--_keycap-secondary-text);
}
/* Add an attribute 'data-tooltip' to display a tooltip on hover.
Note there are a different set of tooltip rules for the keyboard toggle
(it's in a different CSS tree) */
.ML__keyboard [data-tooltip] {
position: relative;
}
.ML__keyboard [data-tooltip]::after {
position: absolute;
display: inline-table;
content: attr(data-tooltip);
top: inherit;
bottom: 100%;
width: max-content;
max-width: 200px;
padding: 8px 8px;
background: #616161;
color: #fff;
text-align: center;
z-index: 2;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
border-radius: 2px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-weight: 400;
font-size: 12px;
transition: all 0.15s cubic-bezier(0.4, 0, 1, 1) 1s;
opacity: 0;
transform: scale(0.5);
}
.ML__keyboard [data-tooltip]:hover {
position: relative;
}
.ML__keyboard [data-tooltip]:hover::after {
opacity: 1;
transform: scale(1);
}
.MLK__toolbar {
align-self: center;
display: flex;
flex-flow: row;
justify-content: space-between;
width: 100%;
max-width: 996px;
min-height: 32px;
/* Icons for undo/redo, etc. */
}
.MLK__toolbar svg {
height: 20px;
width: 20px;
}
.MLK__toolbar > .left {
position: relative;
display: flex;
justify-content: flex-start;
flex-flow: row;
}
.MLK__toolbar > .right {
display: flex;
justify-content: flex-end;
flex-flow: row;
}
.MLK__toolbar > div > div {
/* "button" in the toolbar */
display: flex;
align-items: center;
justify-content: center;
color: var(--_toolbar-text);
fill: currentColor;
background: var(--_toolbar-background);
font-size: var(--_toolbar-font-size);
padding: 4px 15px;
cursor: pointer;
width: max-content;
min-width: 42px;
min-height: 34px;
border: none;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 8px;
padding-top: 8px;
margin-top: 0;
margin-bottom: 4px;
margin-left: 4px;
margin-right: 4px;
border-radius: 8px;
box-shadow: none;
border-bottom: 2px solid transparent;
}
.MLK__toolbar > div > div:not(.disabled):not(.selected):hover {
background: var(--_toolbar-background-hover);
}
.MLK__toolbar > div > div.disabled svg,
.MLK__toolbar > div > div.disabled:hover svg,
.MLK__toolbar > div > div.disabled.is-pressed svg {
color: var(--_toolbar-text);
opacity: 0.2;
}
.MLK__toolbar > div > div:hover,
.MLK__toolbar > div > div:active,
.MLK__toolbar > div > div.is-pressed,
.MLK__toolbar > div > div.is-active {
color: var(--_toolbar-text-active);
}
.MLK__toolbar > div > div.selected {
color: var(--_toolbar-text-active);
background: var(--_toolbar-background-selected);
border-radius: 0;
border-bottom-color: var(--_toolbar-text-active);
padding-bottom: 4px;
margin-bottom: 8px;
}
/* This is the element that displays variants on press+hold */
.MLK__variant-panel {
visibility: hidden;
position: fixed;
display: flex;
flex-flow: row wrap-reverse;
justify-content: center;
align-content: center;
margin: 0;
padding: 0;
bottom: auto;
top: 0;
box-sizing: content-box;
transform: none;
z-index: calc(var(--_keyboard-zindex) + 1);
touch-action: none;
max-width: 350px;
background: var(--_variant-panel-background);
text-align: center;
border-radius: 6px;
padding: 6px;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
transition: none;
}
.MLK__variant-panel.is-visible {
visibility: visible;
}
.MLK__variant-panel.compact {
--_variant-keycap-length: var(--variant-keycap-length, 50px);
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 10px);
}
.MLK__variant-panel .item {
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
font-size: var(--_variant-keycap-font-size);
height: var(--_variant-keycap-length);
width: var(--_variant-keycap-length);
margin: 0;
box-sizing: border-box;
border-radius: 5px;
border: 1px solid transparent;
background: transparent;
pointer-events: all;
cursor: pointer;
color: var(--_variant-keycap-text);
fill: currentColor;
}
@media (max-height: 412px) {
.MLK__variant-panel .item {
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-length: var(--variant-keycap-length, 50px);
}
}
.MLK__variant-panel .item .ML__latex {
pointer-events: none;
}
.MLK__variant-panel .item.is-active {
background: var(--_variant-keycap-background-active);
color: var(--_variant-keycap-text-active);
}
.MLK__variant-panel .item.is-pressed {
background: var(--_variant-keycap-background-pressed);
color: var(--_variant-keycap-text-pressed);
}
.MLK__variant-panel .item.small {
font-size: var(--_keycap-small-font-size);
}
.MLK__variant-panel .item.swatch-button {
box-sizing: border-box;
background: #fbfbfb;
}
.MLK__variant-panel .item.swatch-button > span {
display: inline-block;
margin: 6px;
width: calc(100% - 12px);
height: calc(100% - 12px);
border-radius: 50%;
}
.MLK__variant-panel .item.swatch-button:hover {
background: #f0f0f0;
}
.MLK__variant-panel .item.swatch-button:hover > span {
border-radius: 2px;
}
.MLK__variant-panel .item.box > div,
.MLK__variant-panel .item.box > span {
border: 1px dashed rgba(0, 0, 0, 0.24);
}
.MLK__variant-panel .item .warning {
min-height: 60px;
min-width: 60px;
background: #cd0030;
color: white;
padding: 5px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
}
.MLK__variant-panel .item .warning.is-pressed,
.MLK__variant-panel .item .warning.is-active {
background: red;
}
.MLK__variant-panel .item .warning svg.svg-glyph {
width: 50px;
height: 50px;
}
.MLK__variant-panel .item aside {
font-size: var(--_variant-keycap-aside-font-size);
line-height: 12px;
opacity: 0.78;
padding-top: 2px;
}
.MLK__keycap {
position: relative;
}
.MLK__shift {
display: block;
position: absolute;
right: 4px;
top: 4px;
font-size: var(--_keycap-shift-font-size);
color: var(--_keycap-shift-color);
}
.hide-shift .MLK__shift {
display: none;
}
@media (max-width: 414px) {
.MLK__variant-panel {
max-width: 350px;
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-length: var(--variant-keycap-length, 50px);
}
}
/* @xs breakpoint: iPhone 5 */
@container (max-width: 414px) {
.MLK__rows {
--_keycap-gap: max(var(--_keycap-gap, 2px), 2px);
--_keycap-height: max(var(--_keycap-height), 42px);
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
}
.MLK__toolbar > div > div {
font-size: 100%;
margin-left: 2px;
margin-right: 2px;
}
.MLK__rows .shift,
.MLK__rows .action {
font-size: 65%;
}
.MLK__rows .warning svg.svg-glyph {
width: 14px;
height: 14px;
min-height: 14px;
}
}
@container (max-width: 744px) {
.MLK__rows {
--_keycap-gap: max(var(--keycap-gap, 2px), 2px);
--_keycap-height: max(var(--keycap-height, 52px), 52px);
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
}
.MLK__toolbar > div > div {
padding-left: 0;
padding-right: 0;
}
.MLK__tooltip::after {
padding: 8px 16px;
font-size: 16px;
}
.MLK__rows > .MLK__row > div.fnbutton {
font-size: 16px;
}
.MLK__rows > .MLK__row > div.bigfnbutton {
font-size: calc(var(--_keycap-extra-small-font-size) / 1.55);
}
.MLK__rows > .MLK__row > div.small {
font-size: 13px;
}
.MLK__rows > .MLK__row > div > aside {
display: none;
}
.MLK__shift {
display: none;
}
}
/* Medium breakpoint: larger phones */
@container (max-width: 768px) {
.MLK__rows {
--_keycap-height: max(var(--keycap-height, 42px), 42px);
}
.MLK__rows > .MLK__row > div > small {
font-size: 14px;
}
}
@media (max-height: 768px) {
.MLK__rows {
--_keycap-height: max(var(--keycap-height, 42px), 42px);
}
.MLK__rows > .MLK__row > div > small {
font-size: 14px;
}
}
@container (max-width: 1444px) {
.MLK__rows .if-wide {
display: none;
}
}
@media (prefers-color-scheme: dark) {
.ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
--_background: var(--keyboard-background, #151515);
--_border: var(--keyboard-border, transparent);
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
--keyboard-toolbar-background-hover: #303030;
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
--_keycap-background: var(--keycap-background, #1f2022);
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
--_keycap-border: var(--_keycap-border, transparent);
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
--_keycap-text: var(--keycap-text, #e3e4e8);
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
--keycap-secondary-border: transparent;
--keycap-secondary-border-bottom: transparent;
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
--_variant-panel-background: var(--variant-panel-background, #303030);
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
}
}
/* Same as the media query, but with a class */
[theme='dark'] .ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
--_background: var(--keyboard-background, #151515);
--_border: var(--keyboard-border, transparent);
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
--keyboard-toolbar-background-hover: #303030;
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
--_keycap-background: var(--keycap-background, #1f2022);
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
--_keycap-border: var(--_keycap-border, transparent);
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
--_keycap-text: var(--keycap-text, #e3e4e8);
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
--keycap-secondary-border: transparent;
--keycap-secondary-border-bottom: transparent;
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
--_variant-panel-background: var(--variant-panel-background, #303030);
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
}
[theme='light'] .ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0c75d8);
--_background: var(--keyboard-background, #cacfd7);
--_border: var(--keyboard-border, #ddd);
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
--_keycap-background: var(--keycap-background, white);
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
--_keycap-border: var(--_keycap-border, #e5e6e9);
--_keycap-border-bottom: var(--_keycap-border-bottom, #8d8f92);
--_keycap-text: var(--keycap-text, #000);
--_keycap-text-active: var(--keycap-text-active, #fff);
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
--_variant-panel-background: var(--variant-panel-background, #fff);
--_variant-keycap-text: var(--variant-keycap-textvar, var(--_keycap-text));
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
}
`,Kc=`:host {
--primary-color: #5898ff;
--primary-color-dimmed: #c0c0f0;
--primary-color-dark: var(--blue-500);
--primary-color-light: var(--blue-100);
--primary-color-reverse: #ffffff;
--secondary-color: #ff8a65;
--secondary-color-dimmed: #f0d5c5;
--secondary-color-dark: var(--orange-500);
--secondary-color-light: var(--orange-100);
--secondary-color-reverse: #ffffff;
--link-color: #5898ff;
--link-color-dimmed: #c5c5c5;
--link-color-dark: #121212;
--link-color-light: #e2e2e2;
--link-color-reverse: #ffffff;
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--neutral-100: #f5f5f5;
--neutral-200: #eeeeee;
--neutral-300: #e0e0e0;
--neutral-400: #bdbdbd;
--neutral-500: #9e9e9e;
--neutral-600: #757575;
--neutral-700: #616161;
--neutral-800: #424242;
--neutral-900: #212121;
--red-25: #fff8f7;
--red-50: #fff1ef;
--red-100: #ffeae6;
--red-200: #ffcac1;
--red-300: #ffa495;
--red-400: #ff7865;
--red-500: #f21c0d;
--red-600: #e50018;
--red-700: #d30024;
--red-800: #bd002c;
--red-900: #a1002f;
--orange-25: #fffbf8;
--orange-50: #fff7f1;
--orange-100: #fff3ea;
--orange-200: #ffe1c9;
--orange-300: #ffcca2;
--orange-400: #ffb677;
--orange-500: #fe9310;
--orange-600: #f58700;
--orange-700: #ea7c00;
--orange-800: #dc6d00;
--orange-900: #ca5b00;
--brown-25: #fff8ef;
--brown-50: #fff1df;
--brown-100: #ffe9ce;
--brown-200: #ebcca6;
--brown-300: #cdaf8a;
--brown-400: #af936f;
--brown-500: #856a47;
--brown-600: #7f5e34;
--brown-700: #78511f;
--brown-800: #6e4200;
--brown-900: #593200;
--yellow-25: #fffdf9;
--yellow-50: #fffcf2;
--yellow-100: #fffaec;
--yellow-200: #fff2ce;
--yellow-300: #ffe8ab;
--yellow-400: #ffdf85;
--yellow-500: #ffcf33;
--yellow-600: #f1c000;
--yellow-700: #dfb200;
--yellow-800: #c9a000;
--yellow-900: #ad8a00;
--lime-25: #f4ffee;
--lime-50: #e9ffdd;
--lime-100: #ddffca;
--lime-200: #a8fb6f;
--lime-300: #94e659;
--lime-400: #80d142;
--lime-500: #63b215;
--lime-600: #45a000;
--lime-700: #268e00;
--lime-800: #007417;
--lime-900: #005321;
--green-25: #f5fff5;
--green-50: #ebffea;
--green-100: #e0ffdf;
--green-200: #a7ffa7;
--green-300: #5afa65;
--green-400: #45e953;
--green-500: #17cf36;
--green-600: #00b944;
--green-700: #00a34a;
--green-800: #008749;
--green-900: #00653e;
--teal-25: #f3ffff;
--teal-50: #e6fffe;
--teal-100: #d9fffe;
--teal-200: #8dfffe;
--teal-300: #57f4f4;
--teal-400: #43e5e5;
--teal-500: #17cfcf;
--teal-600: #00c2c0;
--teal-700: #00b5b1;
--teal-800: #00a49e;
--teal-900: #009087;
--cyan-25: #f7fcff;
--cyan-50: #eff8ff;
--cyan-100: #e7f5ff;
--cyan-200: #c2e6ff;
--cyan-300: #95d5ff;
--cyan-400: #61c4ff;
--cyan-500: #13a7ec;
--cyan-600: #069eda;
--cyan-700: #0095c9;
--cyan-800: #0088b2;
--cyan-900: #0a7897;
--blue-25: #f7faff;
--blue-50: #eef5ff;
--blue-100: #e5f1ff;
--blue-200: #bfdbff;
--blue-300: #92c2ff;
--blue-400: #63a8ff;
--blue-500: #0d80f2;
--blue-600: #0077db;
--blue-700: #006dc4;
--blue-800: #0060a7;
--blue-900: #005086;
--indigo-25: #f8f7ff;
--indigo-50: #f1efff;
--indigo-100: #eae7ff;
--indigo-200: #ccc3ff;
--indigo-300: #ac99ff;
--indigo-400: #916aff;
--indigo-500: #63c;
--indigo-600: #5a21b2;
--indigo-700: #4e0b99;
--indigo-800: #3b0071;
--indigo-900: #220040;
--purple-25: #fbf7ff;
--purple-50: #f8f0ff;
--purple-100: #f4e8ff;
--purple-200: #e4c4ff;
--purple-300: #d49aff;
--purple-400: #c36aff;
--purple-500: #a219e6;
--purple-600: #9000c4;
--purple-700: #7c009f;
--purple-800: #600073;
--purple-900: #3d0043;
--magenta-25: #fff8fb;
--magenta-50: #fff2f6;
--magenta-100: #ffebf2;
--magenta-200: #ffcddf;
--magenta-300: #ffa8cb;
--magenta-400: #ff7fb7;
--magenta-500: #eb4799;
--magenta-600: #da3689;
--magenta-700: #c82179;
--magenta-800: #b00065;
--magenta-900: #8a004c;
}
@media (prefers-color-scheme: dark) {
:host {
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--semantic-bg-blue: var(--blue-25);
--semantic-bg-red: var(--red-25);
--semantic-bg-orange: var(--orange-25);
--semantic-bg-green: var(--green-25);
--neutral-100: #121212;
--neutral-200: #424242;
--neutral-300: #616161;
--neutral-400: #757575;
--neutral-500: #9e9e9e;
--neutral-600: #bdbdbd;
--neutral-700: #e0e0e0;
--neutral-800: #eeeeee;
--neutral-900: #f5f5f5;
}
}
:host([theme='dark']) {
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--semantic-bg-blue: var(--blue-25);
--semantic-bg-red: var(--red-25);
--semantic-bg-orange: var(--orange-25);
--semantic-bg-green: var(--green-25);
--neutral-100: #121212;
--neutral-200: #424242;
--neutral-300: #616161;
--neutral-400: #757575;
--neutral-500: #9e9e9e;
--neutral-600: #bdbdbd;
--neutral-700: #e0e0e0;
--neutral-800: #eeeeee;
--neutral-900: #f5f5f5;
}
/* @media (prefers-color-scheme: dark) {
:host {
--label-color: #fff;
--active-label-color: #000;
--menu-bg: #525252;
--active-bg: #5898ff;
--active-bg-dimmed: #5c5c5c;
}
} */
:host {
--ui-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol';
--ui-font-size: 14px;
--ui-line-height: 1.5;
--ui-letter-spacing: 0.007em;
--mono-font-family: 'Berkeley Mono', 'JetBrains Mono', 'IBM Plex Mono',
'Source Code Pro', Menlo, Monaco, 'Courier New', monospace;
--ui-layer-1: var(--neutral-100);
--ui-layer-2: var(--neutral-200);
--ui-layer-3: var(--neutral-300);
--ui-layer-4: var(--neutral-400);
--ui-layer-5: var(--neutral-500);
--ui-layer-6: var(--neutral-600);
--ui-border-color: var(--primary-color);
--ui-border-radius: 4px;
--ui-text: var(--neutral-900);
--ui-text-secondary: var(--neutral-700);
--ui-text-placeholder: var(--neutral-500);
--ui-text-muted: var(--neutral-300);
/** A field is a UI element in which a user can type data, for
* example an input or textarea element.
*/
--ui-field-bg: var(--neutral-100);
--ui-field-bg-hover: var(--neutral-100);
--ui-field-bg-disabled: var(--neutral-300);
--ui-field-bg-invalid: var(--red-100);
--ui-field-bg-focus: var(--neutral-100);
--ui-field-border: 0.5px solid var(--border-color);
--ui-field-border-hover: 0.5px solid var(--border-color);
--ui-field-border-disabled: 0.5px solid var(--border-color);
--ui-field-border-invalid: 0.5px solid var(--border-color);
--ui-field-border-focus: 0.5px solid var(--border-color);
--ui-menu-bg: var(--neutral-100);
--ui-menu-text: var(--neutral-900);
--ui-menu-bg-hover: var(--neutral-200);
--ui-menu-text-hover: var(--neutral-900);
/** The \`active\` state is used for the state of menu items
* when they are selected.
*/
--ui-menu-bg-active: var(--primary-color);
--ui-menu-text-active: var(--primary-color-reverse);
/** The \`active-muted\` set is used for the state of
* submenus when they are open.
*/
--ui-menu-bg-active-muted: var(--neutral-300);
--ui-menu-text-active-muted: var(--neutral-900);
/* --ui-menu-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),
0 2px 6px 2px rgba(60, 64, 67, 0.149); */
--ui-menu-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.2);
--ui-menu-divider: 0.5px solid #c7c7c7;
/* var(--neutral-300); */
--ui-menu-z-index: 10000;
--page-bg: var(--neutral-100);
--content-bg: var(--neutral-200);
}
@media (prefers-color-scheme: dark) {
:host {
--ui-menu-bg: var(--neutral-200);
}
}
:host([theme='dark']) {
--ui-menu-bg: var(--neutral-200);
}
/* PingFang SC is a macOS font. Microsoft Yahei is a Windows font.
Noto is a Linux/Android font.
*/
:lang(zh-cn),
:lang(zh-sg),
:lang(zh-my),
:lang(zh) {
--ui-font-family: -apple-system, system-ui, 'PingFang SC', 'Hiragino Sans GB',
'Noto Sans CJK SC', 'Noto Sans SC', 'Noto Sans', 'Microsoft Yahei UI',
'Microsoft YaHei New', 'Microsoft Yahei', '\u5FAE\u8F6F\u96C5\u9ED1', SimSun, '\u5B8B\u4F53',
STXihei, '\u534E\u6587\u7EC6\u9ED1', sans-serif;
}
:lang(zh-tw),
:lang(zh-hk),
:lang(zh-mo) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans',
'Microsoft JhengHei UI', 'Microsoft JhengHei', '\u5FAE\u8EDF\u6B63\u9ED1\u9AD4', '\u65B0\u7D30\u660E\u9AD4',
'PMingLiU', '\u7D30\u660E\u9AD4', 'MingLiU', sans-serif;
}
:lang(ja),
:lang(ja-jp),
:lang(ja-jp-mac) {
--ui-font-family: -apple-system, system-ui, 'Hiragino Sans',
'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Noto Sans JP', 'Noto Sans',
'\u6E38\u30B4\u30B7\u30C3\u30AF', '\u6E38\u30B4\u30B7\u30C3\u30AF\u4F53', YuGothic, 'Yu Gothic', '\u30E1\u30A4\u30EA\u30AA', Meiryo,
'\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF', 'MS PGothic', sans-serif;
}
:lang(ko),
:lang(ko-kr),
:lang(ko-kr-std) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
'Noto Sans', 'Malgun Gothic', '\uB9D1\uC740 \uACE0\uB515', 'Apple SD Gothic Neo',
'\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo', 'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
}
:lang(ko-kr-apple) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
'Noto Sans', 'Apple SD Gothic Neo', '\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo',
'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
}
:lang(zh-cn),
:lang(zh-sg),
:lang(zh-my),
:lang(zh),
:lang(zh-tw),
:lang(zh-hk),
:lang(zh-mo),
:lang(ja),
:lang(ja-jp),
:lang(ja-jp-mac),
:lang(ko),
:lang(ko-kr),
:lang(ko-kr-std),
:lang(ko-kr-apple) {
--ui-font-size: 1rem;
--ui-line-height: 1.7;
--ui-letter-spacing: 0;
}
:dir(rtl) {
--ui-line-height: auto;
--ui-letter-spacing: 0;
}
`,mh=`.ui-menu *,
.ui-menu ::before,
.ui-menu ::after {
box-sizing: border-box;
}
.ui-menu {
display: none;
color-scheme: light dark;
-webkit-user-select: none;
/* Important: Safari iOS doesn't respect user-select */
user-select: none;
cursor: default;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0 0 0 0);
--active-label-color: #fff;
/* ui-menu-text-active */
--label-color: #121212;
/* ui-menu-text */
--menu-bg: #e2e2e2;
/* ui-menu-background */
--active-bg: #5898ff;
/* ui-menu-background-active */
--active-bg-dimmed: #c5c5c5;
/* ui-menu-background-active-muted */
}
/** Use the :where pseudo selector to make the specificity of the
* selector 0, so that it can be overridden by the user.
*/
:where(.ui-menu-container) {
position: absolute;
overflow: visible;
width: auto;
height: auto;
z-index: 10000;
border-radius: 8px;
background: var(--ui-menu-bg);
box-shadow: var(--ui-menu-shadow);
list-style: none;
padding: 6px 0 6px 0;
margin: 0;
user-select: none;
cursor: default;
color: var(--ui-menu-text);
font-weight: normal;
font-style: normal;
text-shadow: none;
text-transform: none;
letter-spacing: 0;
outline: none;
opacity: 1;
/* The [popover] elements have a 1px solid black border. Ugh. */
border: none;
width: fit-content;
height: fit-content;
}
:where(.ui-menu-container > li) {
display: flex;
flex-flow: row;
align-items: center;
padding: 1px 7px 1px 7px;
margin-top: 0;
margin-left: 6px;
margin-right: 6px;
border-radius: 4px;
white-space: nowrap;
position: relative;
outline: none;
fill: currentColor;
user-select: none;
cursor: default;
text-align: left;
color: inherit;
font-family: var(--ui-font-family);
font-size: var(--ui-font-size);
line-height: var(--ui-line-height);
letter-spacing: var(--ui-letter-spacing);
}
:where(.ui-menu-container > li > .label) {
appearance: none;
background: none;
outline: none;
width: 100%;
margin: 0;
padding: 1px 2px 1px 1px;
overflow: visible;
border: 1px solid transparent;
white-space: nowrap;
text-align: start;
}
:where(.ui-menu-container > li:has(.heading)) {
margin-top: 0.5em;
}
:where(.ui-menu-container > li > .label.heading) {
font-weight: bold;
opacity: 0.4;
}
:where(.ui-menu-container > li.indent > .label) {
margin-inline-start: 12px;
}
:where(.ui-menu-container > li > .label.indent) {
margin-inline-start: 12px;
}
:where(.ui-menu-container > li[role='divider']) {
border-bottom: 1px solid var(--ui-menu-divider);
border-radius: 0;
padding: 0;
margin-left: 15px;
margin-right: 15px;
padding-top: 5px;
margin-bottom: 5px;
width: calc(100% - 30px);
/** 100% - (margin-left + margin-right) */
}
:where(.ui-menu-container > li[aria-disabled='true']) {
opacity: 0.5;
}
:where(.ui-menu-container > li.active) {
background: var(--ui-menu-bg-active);
background: -apple-system-control-accent;
color: var(--ui-menu-text-active);
}
:where(.ui-menu-container > li.active.is-submenu-open) {
background: var(--ui-menu-bg-active-muted);
color: inherit;
}
:where(.ui-menu-container > li[aria-haspopup='true'] > .label) {
padding-inline-end: 0;
}
:where(.ui-menu-container > li[aria-haspopup='true'].active::after) {
color: var(--ui-menu-text-active);
}
/** Keyboard shortcut */
:where(.ui-menu-container > li > kbd) {
font-family: var(--ui-font-family);
margin-inline-start: 12px;
opacity: 0.4;
}
:where(.ui-menu-container > li.active > kbd) {
opacity: 0.85;
}
.ui-trailing-chevron {
display: flex;
margin-inline-start: 24px;
width: 10px;
height: 10px;
margin-bottom: 4px;
}
.ui-trailing-chevron:dir(rtl) {
transform: scaleX(-1);
}
.ui-checkmark {
display: flex;
margin-inline-end: -11px;
margin-inline-start: -4px;
margin-top: 2px;
width: 16px;
height: 16px;
}
.ui-mixedmark {
display: flex;
margin-inline-end: -11px;
margin-inline-start: -4px;
margin-top: 2px;
width: 16px;
height: 16px;
}
`,Js;function td(a){let y="";switch(a){case"mathfield-element":y=`
:host { display: inline-block; background-color: field; color: fieldtext; border-width: 1px; border-style: solid; border-color: #acacac; border-radius: 2px; padding:4px;}
:host([hidden]) { display: none; }
:host([disabled]), :host([disabled]:focus), :host([disabled]:focus-within) { outline: none; opacity: .5; }
:host(:focus), :host(:focus-within) {
outline: Highlight auto 1px; /* For Firefox */
outline: -webkit-focus-ring-color auto 1px;
}
:host([readonly]:focus), :host([readonly]:focus-within),
:host([read-only]:focus), :host([read-only]:focus-within) {
outline: none;
}
@media (hover: none) and (pointer: coarse) {
:host(:not(:focus)) :first-child { pointer-events: none !important; }
}`;break;case"core":y=ks;break;case"mathfield":y=vc;break;case"environment-popover":y=xd;break;case"suggestion-popover":y=wd;break;case"keystroke-caption":y=wc;break;case"virtual-keyboard":y=Sd;break;case"ui":y=Kc;break;case"menu":y=mh;break;default:debugger}return y}function hd(a){return Js||(Js={}),Js[a]||(Js[a]=new CSSStyleSheet,Js[a].replaceSync(td(a))),Js[a]}var Bc;function hc(a){var y;if(!("adoptedStyleSheets"in document)){if(window.document.getElementById(`mathlive-style-${a}`))return;const b=window.document.createElement("style");b.id=`mathlive-style-${a}`,b.append(window.document.createTextNode(td(a))),window.document.head.appendChild(b);return}if(Bc||(Bc={}),((y=Bc[a])!=null?y:0)!==0)Bc[a]+=1;else{const b=hd(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],Bc[a]=1}}function x(a){if("adoptedStyleSheets"in document&&Bc!=null&&Bc[a]&&(Bc[a]-=1,Bc[a]<=0)){const y=Js[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var z=class Op extends za{constructor(y){var b;super(me(Se({},y),{type:"accent",body:(b=y.body)!=null?b:void 0})),y.accentChar?this.accent=y.accentChar:this.svgAccent=y==null?void 0:y.svgAccent,this.skipBoundary=!0,this.captureSelection=!0}static fromJson(y){return new Op(y)}toJson(){return me(Se({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const E=new dl({parent:y,mathstyle:"cramp"},this.style),te=(b=za.createBox(E,this.body))!=null?b:new li("\u25A2",{style:this.style});let ie=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(ie=te.skew);let le=Math.min(te.height,_i),De;if(this.svgAccent)De=Nu(this.svgAccent),le=E.metrics.bigOpSpacing1-le;else if(this.accent){const Ve=new li(this.accent,{fontFamily:"Main-Regular"});Ve.italic=0;const lt=this.accent===8407?" ML__accent-vec":"";De=new li(new li(Ve),{classes:"ML__accent-body"+lt})}De=new as({shift:0,children:[{box:new li(te)},-le,{box:De,marginLeft:te.left+2*ie,classes:["ML__center"]}]});const Re=new li(De,{type:"lift"});return this.caret&&(Re.caret=this.caret),this.bind(E,Re.wrap(E)),this.attachSupsub(E,{base:Re})}},ae={"(":")","{":"}","[":"]","|":"|","\\lbrace":"\\rbrace","\\lparen":"\\rparen","\\{":"\\}","\\langle":"\\rangle","\\lfloor":"\\rfloor","\\lceil":"\\rceil","\\vert":"\\vert","\\lvert":"\\rvert","\\Vert":"\\Vert","\\lVert":"\\rVert","\\lbrack":"\\rbrack","\\ulcorner":"\\urcorner","\\llcorner":"\\lrcorner","\\lgroup":"\\rgroup","\\lmoustache":"\\rmoustache"},re=Object.fromEntries(Object.entries(ae).map(([a,y])=>[y,a]));function oe(a){var y;return(y={"[":91,"]":93,"(":40,")":41,"\\mid":8739,"|":8739,"\u2223":8739,"\u2225":8741,"\\|":8739,"\\{":123,"\\}":125,"\\lbrace":123,"\\rbrace":125,"\\lparen":40,"\\rparen":41,"\\lbrack":91,"\\rbrack":93,"\\vert":8739,"\\lvert":8739,"\\mvert":8739,"\\rvert":8739,"\\Vert":8741,"\\lVert":8741,"\\mVert":8741,"\\rVert":8741,"\\parallel":8741,"\\shortparallel":8741,"\\langle":10216,"\\rangle":10217,"\\lfloor":8970,"\\rfloor":8971,"\\lceil":8968,"\\rceil":8969,"\\ulcorner":9484,"\\urcorner":9488,"\\llcorner":9492,"\\lrcorner":9496,"\\lgroup":10222,"\\rgroup":10223,"\\lmoustache":9136,"\\rmoustache":9137,"\\surd":8730}[a])!=null?y:a.codePointAt(0)}function xe(a,y,b,E){var te;const le=new li(oe(a),{fontFamily:"Main-Regular",isSelected:E.isSelected,classes:"ML__small-delim "+((te=E.classes)!=null?te:"")}).wrap(y);return b&&le.setTop((1-y.scalingFactor)*hi),le}function We(a,y,b,E,te){var ie,le;const De=new dl({parent:E,mathstyle:"textstyle"},te==null?void 0:te.style),Re=new li(oe(a),{fontFamily:`Size${y}-Regular`,isSelected:te.isSelected,classes:((ie=te.classes)!=null?ie:"")+` ML__delim-size${y}`,type:(le=te.type)!=null?le:"ignore"}).wrap(De);return b&&Re.setTop((1-De.scalingFactor)*hi),Re}function dt(a,y,b,E,te){var ie;let le,De,Re,Ve;le=Re=Ve=oe(a),De=null;let lt="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?Re=le=Ve=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?Re=le=Ve=8741:a==="\\uparrow"?Re=Ve=9168:a==="\\Uparrow"?Re=Ve=8214:a==="\\downarrow"?le=Re=9168:a==="\\Downarrow"?le=Re=8214:a==="\\updownarrow"?(le=8593,Re=9168,Ve=8595):a==="\\Updownarrow"?(le=8657,Re=8214,Ve=8659):a==="["||a==="\\lbrack"?(le=9121,Re=9122,Ve=9123,lt="Size4-Regular"):a==="]"||a==="\\rbrack"?(le=9124,Re=9125,Ve=9126,lt="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(Re=le=9122,Ve=9123,lt="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(le=9121,Re=Ve=9122,lt="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(Re=le=9125,Ve=9126,lt="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(le=9124,Re=Ve=9125,lt="Size4-Regular"):a==="("||a==="\\lparen"?(le=9115,Re=9116,Ve=9117,lt="Size4-Regular"):a===")"||a==="\\rparen"?(le=9118,Re=9119,Ve=9120,lt="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(le=9127,De=9128,Ve=9129,Re=9130,lt="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(le=9131,De=9132,Ve=9133,Re=9130,lt="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(le=9127,Ve=9129,Re=9130,lt="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(le=9131,Ve=9133,Re=9130,lt="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(le=9127,Ve=9133,Re=9130,lt="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(le=9131,Ve=9129,Re=9130,lt="Size4-Regular"):a==="\\surd"?(le=57345,Ve=9143,Re=57344,lt="Size4-Regular"):a==="\\ulcorner"?(le=9484,Re=Ve=32):a==="\\urcorner"?(le=9488,Re=Ve=32):a==="\\llcorner"?(Ve=9492,Re=le=32):a==="\\lrcorner"&&(le=9496,Re=le=32);const zt=ei(le,lt),wn=zt.height+zt.depth,nr=ei(Re,lt),hr=nr.height+nr.depth,Ia=ei(Ve,lt),Yi=Ia.height+Ia.depth;let Ca=0,si=1;if(De!==null){const Vu=ei(De,lt);Ca=Vu.height+Vu.depth,si=2}const eo=wn+Yi+Ca,xi=Math.max(0,Math.ceil((y-eo)/(si*hr))),rl=eo+xi*si*hr;let Ll=hi;b&&(Ll=Ll*E.scalingFactor);const El=rl/2-Ll,Ns=.008,Qs=[];Qs.push({box:new li(Ve,{fontFamily:lt})}),Qs.push(-Ns);const fo=new li(Re,{fontFamily:lt});if(De===null)for(let Vu=0;Vu<xi;Vu++)Qs.push({box:fo});else{for(let Vu=0;Vu<xi;Vu++)Qs.push({box:fo});Qs.push(-Ns),Qs.push({box:new li(De,{fontFamily:lt})}),Qs.push(-Ns);for(let Vu=0;Vu<xi;Vu++)Qs.push({box:fo})}Qs.push(-Ns),Qs.push({box:new li(le,{fontFamily:lt})});let bc="";lt==="Size1-Regular"?bc=" delim-size1":lt==="Size4-Regular"&&(bc=" delim-size4");const Uc=new as({bottom:El,children:Qs},{classes:bc});return new li(Uc,me(Se({},te!=null?te:{}),{classes:((ie=te==null?void 0:te.classes)!=null?ie:"")+" ML__delim-mult"}))}var Ct=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),Ft=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),tr=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),mr=[0,1.2,1.8,2.4,3];function oa(a,y,b,E){return a===void 0||a==="."?$o(b,E.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ct.has(a)||tr.has(a)?We(a,y,!1,b,E):Ft.has(a)?dt(a,mr[y],!1,b,E):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var $r=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ti=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],Ei=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}];function lo(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function To(a,y,b,E){const te={"-4":0,"-3":1,0:2}[E.mathstyle.sizeDelta];for(let ie=te;ie<b.length&&b[ie].type!=="stack";ie++){const le=ei(a,lo(b[ie]));if(le.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let De=le.height+le.depth;if(b[ie].type==="small"&&(b[ie].mathstyle==="scriptscriptstyle"?De*=Math.max(Ii[Math.max(1,E.size-2)],E.minFontScale):b[ie].mathstyle==="scriptstyle"&&(De*=Math.max(Ii[Math.max(1,E.size-1)],E.minFontScale))),De>y)return b[ie]}return b[b.length-1]}function Xo(a,y,b,E,te,ie){if(!y||y.length===0||y===".")return $o(te);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let le;tr.has(y)?le=$r:Ct.has(y)?le=Ei:le=ti;const De=To(oe(y),b,le,te),Re=new dl({parent:te,mathstyle:De.mathstyle},ie==null?void 0:ie.style);return De.type==="small"?xe(y,Re,E,me(Se({},ie),{type:a})):De.type==="large"?We(y,De.size,E,Re,me(Se({},ie),{type:a})):(console.assert(De.type==="stack"),dt(y,b,E,Re,me(Se({},ie),{type:a})))}function Do(a,y,b,E,te,ie){if(y===".")return $o(te,ie==null?void 0:ie.classes);const le=hi*te.scalingFactor,De=901,Re=5/vi,Ve=Math.max(b-le,E+le),lt=Math.max(Ve/500*De,2*Ve-Re);return Xo(a,y,lt,!0,te,ie)}function $o(a,y){const b=new li(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new dl({parent:a,mathstyle:"textstyle"}))}var Ol=class Tp extends za{constructor(y){var b;super({type:"placeholder",command:"\\placeholder",mode:(b=y==null?void 0:y.mode)!=null?b:"math",style:y==null?void 0:y.style}),this.captureSelection=!0}static fromJson(y){return new Tp(y)}toJson(){return super.toJson()}render(y){let b;return this.value=y.placeholderSymbol,typeof y.renderPlaceholder=="function"?b=y.renderPlaceholder(y):b=this.createBox(y),this.caret&&(b.classes+=" ML__placeholder-selected"),b}_serialize(y){return y.skipPlaceholders?"":"\\placeholder{}"}},Zl=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],bs=["cases","dcases","rcases"],qs=["align","align*","aligned","gather","gathered","split"],zu=["array","subequations","eqnarray"];function gu(a){return zu.concat(qs).concat(bs).concat(Zl).includes(a)}function Ju(a){return Zl.includes(a)}function qu(a){return bs.includes(a)}function Bu(a){return qs.includes(a)}function $u(a,y,b){let E=0;for(const Ve of b)"align"in Ve&&(E+=1);let te=0;const ie=[];for(const Ve of y){let lt=0;for(te=Math.max(te,Math.min(Ve.length,E));lt<Ve.length;){const zt=[],wn=Math.min(Ve.length,lt+E);for(;lt<wn;){const nr=Ve[lt];nr.length===0?zt.push([new za({type:"first",mode:a.mode})]):nr[0].type!=="first"?zt.push([new za({type:"first",mode:a.mode}),...nr]):(console.assert(!nr.slice(1).some(hr=>hr.type==="first")),zt.push(nr)),lt+=1}ie.push(zt)}}ie.length>0&&ie[ie.length-1].length===1&&ie[ie.length-1][0].length===1&&ie[ie.length-1][0][0].type==="first"&&ie.pop();const le=[];for(const Ve of ie){if(Ve.length!==te)for(let lt=Ve.length;lt<te;lt++)Ve.push([new za({type:"first",mode:a.mode}),new Ol]);le.push(Ve)}let De=0,Re=0;for(const Ve of le){Re=0;for(const lt of Ve){for(const zt of lt)zt.parent=a,zt.parentBranch=[De,Re];Re+=1}De+=1}return a.isDirty=!0,le}var fs=class Rp extends za{constructor(y,b,E,te={}){var ie;super({type:"array"}),this.environmentName=y,this.rowGaps=E,te.mathstyleName&&(this.mathstyleName=te.mathstyleName),te.columns&&(te.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=te.columns),this.colFormat||(this.colFormat=[{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"}]),this.array=$u(this,b,this.colFormat),te.leftDelim&&(this.leftDelim=te.leftDelim),te.rightDelim&&(this.rightDelim=te.rightDelim),te.arraycolsep!==void 0&&(this.arraycolsep=te.arraycolsep),this.colSeparationType=te.colSeparationType,te.arraystretch!==void 0&&(this.arraystretch=te.arraystretch),this.minColumns=(ie=te.minColumns)!=null?ie:1}static fromJson(y){return new Rp(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=me(Se({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(E=>E.map(te=>te.toJson()))),rowGaps:this.rowGaps,columns:this.colFormat,colSeparationType:this.colSeparationType});return this.arraystretch!==void 0&&(y.arraystretch=this.arraystretch),this.arraycolsep!==void 0&&(y.arraycolsep=this.arraycolsep),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}branch(y){var b;if(hu(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return hu(y)?(this.isDirty=!0,(b=this.branch(y))!=null?b:[]):[]}get rowCount(){return this.array.length}get colCount(){return this.array[0].length}get maxColumns(){return this.colFormat.filter(y=>!!y.align).length}removeBranch(y){if(As(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(E=>{E.parent=void 0,E.parentBranch=void 0}),console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}get hasChildren(){return this.children.length>0}get children(){const y=[];for(const b of this.array)for(const E of b)if(E)for(const te of E)y.push(...te.children),y.push(te);return[...y,...super.children]}render(y){var b,E,te,ie,le,De;const Re=new dl({parent:y,mathstyle:this.mathstyleName},this.style),Ve=Re.getRegisterAsEm("arrayrulewidth"),lt=Re.getRegisterAsEm("arraycolsep"),zt=Re.getRegisterAsEm("doublerulesep"),wn=(E=(b=this.arraystretch)!=null?b:Re.getRegisterAsNumber("arraystretch"))!=null?E:1;let nr=typeof this.arraycolsep=="number"?this.arraycolsep:lt;this.colSeparationType==="small"&&(nr=.2778*(new dl({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const hr=wn*bi,Ia=.7*hr,Yi=.3*hr;let Ca=0;const si=[];let eo=0;const xi=this.array.length;for(let eu=0;eu<xi;++eu){const ku=this.array[eu];eo=Math.max(eo,ku.length);const ju=new dl({parent:Re,mathstyle:this.mathstyleName},this.style);let Gc=Ia/ju.scalingFactor,Yc=Yi/ju.scalingFactor;const Qc={cells:[],height:0,depth:0,pos:0};for(const Tc of ku){const a0=(te=za.createBox(ju,Tc,{type:"ignore"}))!=null?te:new li(null,{type:"ignore"});Yc=Math.max(Yc,a0.depth),Gc=Math.max(Gc,a0.height),Qc.cells.push(a0)}let Xc=(ie=Hs(this.rowGaps[eu]))!=null?ie:0;Xc>0&&(Xc+=Yi,Yc=Math.max(Yc,Xc),Xc=0),eu<xi-1&&!Ju(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(Yc+=Re.getRegisterAsEm("jot")),Qc.height=Gc,Qc.depth=Yc,Ca+=Gc,Qc.pos=Ca,Ca+=Yc+Xc,si.push(Qc)}const rl=Ca/2+hi,Ll=[];for(let eu=0;eu<eo;eu++){const ku=[];for(const ju of si){const Gc=ju.cells[eu];Gc.depth=ju.depth,Gc.height=ju.height,ku.push({box:Gc,shift:ju.pos-rl})}ku.length>0&&Ll.push(new as({individualShift:ku}))}const El=[];let Ns=!1,Qs=!1,fo=0,bc=!this.leftDelim;const{colFormat:Uc}=this;for(const eu of Uc){if("align"in eu&&fo>=Ll.length)break;if("align"in eu)Ns?El.push(yu(2*nr)):(Qs||bc)&&El.push(yu(nr)),El.push(new li(Ll[fo],{classes:"col-align-"+eu.align})),fo++,Ns=!0,Qs=!1,bc=!1;else if("gap"in eu){if(typeof eu.gap=="number")El.push(yu(eu.gap));else{const ku=Cu(y,si,rl,eu.gap);ku&&El.push(ku)}Ns=!1,Qs=!1,bc=!1}else if("separator"in eu){const ku=new li(null,{classes:"vertical-separator"});ku.height=Ca,ku.setStyle("height",Ca,"em"),ku.setStyle("border-right",`${Ve}em ${eu.separator} currentColor`),ku.setStyle("vertical-align",-(Ca-rl),"em");let ju=0;Qs?ju=zt-Ve:Ns&&(ju=nr-Ve),ku.left=ju,El.push(ku),Ns=!1,Qs=!0,bc=!1}}Ns&&!this.rightDelim&&El.push(yu(nr));const Ac=new li(El,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(Ac.caret=this.caret),this.bind(y,Ac);const Vu=Ac.height,xc=Ac.depth,cc=this.bind(y,new li([this.bind(y,Do("open",(le=this.leftDelim)!=null?le:".",Vu,xc,Re,{isSelected:this.isSelected})),Ac,this.bind(y,Do("close",(De=this.rightDelim)!=null?De:".",Vu,xc,Re,{isSelected:this.isSelected}))],{type:"ord"}));return cc?(cc.setStyle("display","inline-block"),this.caret&&(cc.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:cc}))):null}_serialize(y){var b;const E=[];if(this.environmentName==="lines"?E.push("{\\displaylines"):E.push(`\\begin{${this.environmentName}}`),this.environmentName==="array"){if(E.push("{"),this.colFormat!==void 0)for(const te of this.colFormat)"align"in te&&typeof te.align=="string"?E.push(te.align):"separator"in te&&te.separator==="solid"?E.push("|"):"separator"in te&&te.separator==="dashed"&&E.push(":");E.push("}")}for(let te=0;te<this.array.length;te++){for(let ie=0;ie<this.array[te].length;ie++)ie>0&&E.push(" & "),E.push(za.serialize(this.array[te][ie],y));if(te<this.array.length-1){const ie=this.rowGaps[te];ie!=null&&ie.dimension?E.push(`\\\\[${ie.dimension} ${(b=ie.unit)!=null?b:"pt"}] `):E.push("\\\\ ")}}return this.environmentName==="lines"?E.push("}"):E.push(`\\end{${this.environmentName}}`),Qi(E)}getCell(y,b){return this.array[y][b]}setCell(y,b,E){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.array[y][b]!==void 0);for(const ie of this.array[y][b])ie.parent=void 0,ie.parentBranch=void 0;let te=E;(E.length===0||E[0].type!=="first")&&(te=[new za({type:"first",mode:this.mode}),...E]),this.array[y][b]=te;for(const ie of te)ie.parent=this,ie.parentBranch=[y,b];this.isDirty=!0}addRowBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(Su(this));this.array.splice(y,0,b);for(let E=y;E<this.rowCount;E++)for(let te=0;te<this.colCount;te++){const ie=this.array[E][te];if(ie)for(const le of ie)le.parentBranch=[E,te]}this.isDirty=!0}addRowAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(Su(this));this.array.splice(y+1,0,b);for(let E=y+1;E<this.rowCount;E++)for(let te=0;te<this.colCount;te++){const ie=this.array[E][te];if(ie)for(const le of ie)le.parentBranch=[E,te]}this.isDirty=!0}removeRow(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.rowCount>y);const b=this.array.splice(y,1);for(const E of b)for(const te of E)if(te)for(const ie of te)ie.parent=void 0,ie.parentBranch=void 0;for(let E=y;E<this.rowCount;E++)for(let te=0;te<this.colCount;te++){const ie=this.array[E][te];if(ie)for(const le of ie)le.parentBranch=[E,te]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,Su(this));for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const te=this.array[b][E];if(te)for(const ie of te)ie.parentBranch=[b,E]}this.isDirty=!0}addColumnAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y+1,0,Su(this));for(let b=0;b<this.rowCount;b++)for(let E=y+1;E<this.colCount;E++){const te=this.array[b][E];if(te)for(const ie of te)ie.parentBranch=[b,E]}this.isDirty=!0}addColumn(){this.addColumnAfter(this.colCount-1)}removeColumn(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.colCount>y);for(const b of this.array){const E=b.splice(y,1);for(const te of E)if(te)for(const ie of te)ie.parent=void 0,ie.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const te=this.array[b][E];if(te)for(const ie of te)ie.parentBranch=[b,E]}this.isDirty=!0}get cells(){const y=[];for(const b of this.array)for(const E of b)E&&y.push(E.filter(te=>te.type!=="first"));return y}};function Su(a){const y=new za({type:"first",mode:a.mode});y.parent=a;const b=new Ol;return b.parent=a,[y,b]}function yu(a){const y=new li(null,{classes:"arraycolsep"});return y.width=a,y}function Cu(a,y,b,E){if(!E)return null;const te=[];for(const ie of y){const le=za.createBox(a,E,{type:"ignore"});le&&(le.depth=ie.depth,le.height=ie.height,te.push({box:le,shift:ie.pos-b}))}return new as({individualShift:te}).wrap(a)}var Mu=class Fp extends za{constructor(y){super({mode:y.mode,command:y.command,style:y.style,body:y.body,type:"box"}),this.framecolor=y.framecolor,this.backgroundcolor=y.backgroundcolor,this.padding=y.padding,this.offset=y.offset,this.border=y.border}static fromJson(y){return new Fp(y)}toJson(){return me(Se({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,E,te,ie;const le=za.createBox(y,this.body,{type:"lift"});if(!le)return null;const De=y.toEm((b=this.offset)!=null?b:{dimension:0});le.depth+=De,le.setStyle("display","inline-block"),le.setStyle("position","relative"),le.setStyle("height",Math.floor(100*le.height+le.depth)/100,"em"),le.setStyle("vertical-align",-Math.floor(100*le.height)/100,"em");const Re=new dl({parent:y},this.style),Ve=Re.toEm((E=this.padding)!=null?E:{register:"fboxsep"}),lt=new li(null,{classes:"ML__box"});lt.height=le.height+Ve,lt.depth=le.depth+Ve,lt.setStyle("box-sizing","border-box"),lt.setStyle("position","absolute"),lt.setStyle("top",-Ve+.3,"em"),lt.setStyle("left",0),lt.setStyle("height",lt.height+lt.depth,"em"),lt.setStyle("width","100%"),this.backgroundcolor&&lt.setStyle("background-color",(te=Re.toColor(this.backgroundcolor))!=null?te:"transparent"),this.framecolor&&lt.setStyle("border",`${Re.getRegisterAsEm("fboxrule",2)}em solid ${(ie=Re.toColor(this.framecolor))!=null?ie:"black"}`),this.border&&lt.setStyle("border",this.border);const zt=new li([lt,le],{type:"lift"});return zt.setStyle("display","inline-block"),zt.setStyle("position","relative"),zt.setStyle("line-height",0),zt.height=le.height+Ve+(De>0?De:0),zt.depth=le.depth+Ve+(De<0?-De:0),zt.setStyle("padding-left",Ve,"em"),zt.setStyle("padding-right",Ve,"em"),zt.setStyle("height",Math.floor(100*(le.height+le.depth+2*Ve+Math.abs(De)))/100,"em"),zt.setStyle("margin-top",-Ve,"em"),zt.setStyle("top",Math.floor(100*(le.depth-le.height+2*Ve-De))/100,"em"),zt.setStyle("vertical-align",Math.floor(100*(le.depth+2*Ve))/100,"em"),this.caret&&(zt.caret=this.caret),this.attachSupsub(y,{base:zt})}_serialize(y){return y.skipStyles?Qi([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},nd=class Kp extends za{constructor(y,b){var E;super({type:"composition",mode:(E=b==null?void 0:b.mode)!=null?E:"math",value:y})}static fromJson(y){return new Kp(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new li(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},oc=class zp extends za{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new zp(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},Zu=class Hp extends za{constructor(y,b,E){super({type:"group",mode:b,style:E}),this.body=y,this.boxType=y.length>1?"ord":"ignore",this.skipBoundary=!0,this.displayContainsHighlight=!1,y&&y.length===1&&y[0].command===","&&(this.captureSelection=!0)}static fromJson(y){return new Hp(y.body,y.mode,y.style)}render(y){const b=za.createBox(y,this.body,{type:this.boxType});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=rn(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},Fs=class Zp extends za{constructor(y,b,E){super({type:"leftright",style:E.style,displayContainsHighlight:!0}),this.variant=y,this.body=b,this.leftDelim=E.leftDelim,this.rightDelim=E.rightDelim}static fromJson(y){var b;return new Zp((b=y.variant)!=null?b:"",y.body,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}_serialize(y){var b,E;const te=this.matchingRightDelim();return this.variant==="left...right"?Qi(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",te]):this.variant==="mleft...mright"?Qi(["\\mleft",(E=this.leftDelim)!=null?E:".",this.bodyToLatex(y),"\\mright",te]):Qi([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),te])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const E=(y=this.leftDelim)!=null?y:".";return(b=ae[E])!=null?b:E}render(y){var b,E;const te=new dl({parent:y},this.style);console.assert(this.body!==void 0);const ie=new dl({parent:y,mathstyle:"textstyle"},this.style),le=(b=za.createBox(te,this.body,{type:"inner"}))!=null?b:new li(null,{type:"inner"}),De=le.height/ie.scalingFactor,Re=le.depth/ie.scalingFactor,Ve=[];if(this.leftDelim&&Ve.push(this.bind(ie,Do("open",this.leftDelim,De,Re,ie,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),le&&(Tu(le.children,this,te,De,Re),Ve.push(le)),this.rightDelim){let nr=this.containsCaret?" ML__contains-caret":"",hr=this.rightDelim;hr==="?"&&(te.smartFence?(hr=this.matchingRightDelim(),nr+=" ML__smart-fence__close"):hr="."),Ve.push(this.bind(ie,Do("close",hr,De,Re,ie,{isSelected:this.isSelected,classes:nr+" ML__close",mode:this.mode,style:this.style})))}let lt=this.variant==="mleft...mright";const zt=this.leftSibling;zt&&(!lt&&zt.isFunction&&(lt=!0),!lt&&zt.type==="subsup"&&((E=zt.leftSibling)!=null&&E.isFunction)&&(lt=!0));const wn=new li(Ve,{type:lt?"close":"inner",classes:"left-right"});return wn.setStyle("margin-top",`${-le.depth}em`),wn.setStyle("height",`${le.height+le.depth}em`),this.caret&&(wn.caret=this.caret),this.bind(te,wn.wrap(te))}};function Tu(a,y,b,E,te){if(a)for(let ie=0;ie<a.length;ie++){const le=a[ie];le.type==="middle"?(a[ie]=y.bind(b,Do("inner",le.value,E,te,b,{isSelected:y.isSelected})),a[ie].caret=le.caret,a[ie].isSelected=le.isSelected,a[ie].cssId=le.cssId,a[ie].htmlData=le.htmlData,a[ie].htmlStyle=le.htmlStyle,a[ie].attributes=le.attributes,a[ie].cssProperties=le.cssProperties):le.children&&Tu(le.children,y,b,E,te)}}var zd=class Wp extends za{constructor(y,b){var E;super({type:"macro",command:y,style:b.style}),this.body=b.body,b.captureSelection===void 0?b.args?this.captureSelection=!1:this.captureSelection=!0:this.captureSelection=b.captureSelection,this.macroArgs=b.args,this.expand=(E=b.expand)!=null?E:!1}static fromJson(y){return new Wp(y.command,y)}toJson(){const y=super.toJson();return this.expand&&(y.expand=!0),this.captureSelection!==void 0&&(y.captureSelection=this.captureSelection),this.macroArgs&&(y.args=this.macroArgs),y}_serialize(y){var b;return y.expandMacro&&this.expand?this.bodyToLatex(y):this.command+((b=this.macroArgs)!=null?b:"")}render(y){const b=za.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Lc=class _p extends za{constructor(){super({type:"macro-argument"})}static fromJson(y){return new _p}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},zc=class Vp extends za{constructor(y,b,E=!1,te,ie){var le;super({type:"prompt",mode:(le=ie==null?void 0:ie.mode)!=null?le:"math",style:ie==null?void 0:ie.style,command:"\\placeholder"}),this.body=te,this.correctness=b,this.placeholderId=y,this.locked=E,this.captureSelection=this.locked}static fromJson(y){return new Vp(y.placeholderId,y.correctness,y.locked,y.body,y)}toJson(){const y=super.toJson();return this.placeholderId&&(y.placeholderId=this.placeholderId),this.body||delete y.body,this.body&&(y.body=this.body.filter(b=>b.type!=="first").map(b=>b.toJson())),this.correctness&&(y.correctness=this.correctness),y.locked=this.locked,y}render(y){const b=new dl({parent:y}),E=b.getRegisterAsEm("fboxsep"),te=E,ie=E,le=za.createBox(y,this.body);if(!le)return null;le.height||(le.height=b.metrics.xHeight),le.setStyle("vertical-align",-le.height,"em"),this.correctness==="correct"?le.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&le.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const De=new li(le,{type:"ord"});De.setStyle("display","inline-block"),De.setStyle("height",le.height+le.depth,"em"),De.setStyle("vertical-align",-ie,"em");let Re="ML__prompt ";this.locked?Re+=" ML__lockedPromptBox ":Re+=" ML__editablePromptBox ",this.correctness==="correct"?Re+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(Re+=" ML__incorrectPromptBox "),this.containsCaret&&(Re+=" ML__focusedPromptBox ");const Ve=new li(null,{classes:Re,attributes:{part:"prompt"}});Ve.height=De.height+ie,Ve.depth=De.depth+ie,Ve.width=De.width+2*te,Ve.setStyle("box-sizing","border-box"),Ve.setStyle("position","absolute"),Ve.setStyle("height",De.height+De.depth+2*ie,"em"),te===0&&Ve.setStyle("width","100%"),te!==0&&(Ve.setStyle("width",`calc(100% + ${2*te}em)`),Ve.setStyle("top",E,"em"),Ve.setStyle("left",-te,"em")),(!this.body||this.body.length===1)&&(Ve.width=3*te,Ve.setStyle("width",`calc(100% + ${3*te}em)`),Ve.setStyle("left",-1.5*te,"em"));let lt="";this.correctness==="incorrect"&&(lt+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),lt&&(Ve.svgOverlay=lt);const zt=new li([Ve,De],{classes:"ML__prompt-atom"});return zt.setStyle("position","relative"),zt.setStyle("display","inline-block"),zt.setStyle("line-height",0),zt.height=De.height+ie+.2,zt.depth=De.depth+ie,zt.left=te,zt.right=te,zt.setStyle("height",De.height+ie,"em"),zt.setStyle("top",De.depth-De.height,"em"),zt.setStyle("vertical-align",De.depth+ie,"em"),zt.setStyle("margin-left",.5,"em"),zt.setStyle("margin-right",.5,"em"),this.caret&&(zt.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:zt}))}_serialize(y){var b;const E=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return E;let te="\\placeholder";return this.placeholderId&&(te+=`[${this.placeholderId}]`),this.correctness==="correct"?te+="[correct]":this.correctness==="incorrect"&&(te+="[incorrect]"),this.locked&&(te+="[locked]"),Ni(te,E)}},Sc=class jp extends za{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new jp(y);for(const E of iu)y[E]&&b.setChildren(y[E],E);return b}render(y){var b;const E=new dl({parent:y,isPhantom:!0}),te=this.leftSibling,ie=(b=te.render(E))!=null?b:new li(null),le=new li(null);return le.height=ie.height,le.depth=ie.depth,this.attachSupsub(y,{base:le,isCharacterBox:te.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function Lu(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var rd=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var E,te,ie,le;b!=null||(b={}),this.tokens=a,this.context=y instanceof dl&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new dl({from:y,mathstyle:b.mathstyle},b.style),this.args=(E=b.args)!=null?E:void 0,this.smartFence=this.context.smartFence,this.parsingContext={parent:void 0,mathlist:[],style:(te=b.style)!=null?te:{},parseMode:(ie=b.parseMode)!=null?ie:"math",mathstyle:(le=b.mathstyle)!=null?le:"displaystyle",tabular:!1}}beginContext(a){var y,b,E;const te=this.parsingContext,ie={parent:te,mathlist:[],style:Se({},te.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:te.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:te.mathstyle,tabular:(E=a==null?void 0:a.tabular)!=null?E:!1};this.parsingContext=ie}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(Se({before:So(this.tokens.slice(this.index,this.index+10)),after:So(this.tokens.slice(Math.max(0,this.index-10),this.index))},a))}get mathlist(){return this.parsingContext.mathlist}set mathlist(a){this.parsingContext.mathlist=a}get parseMode(){return this.parsingContext.parseMode}set parseMode(a){this.parsingContext.parseMode=a}get tabularMode(){return this.parsingContext.tabular}get style(){let a=this.parsingContext;for(;a;){if(a.style)return Se({},a.style);a=a.parent}return{}}set style(a){this.parsingContext.style=a}end(){return this.endCount++,this.index>=this.tokens.length||this.endCount>1e3}next(){this.index+=1}get(){return this.endCount=0,this.index<this.tokens.length?this.tokens[this.index++]:""}peek(){return this.tokens[this.index]}match(a){return this.tokens[this.index]===a?(this.index++,!0):!1}lastSubsupAtom(){let a;return this.mathlist.length>0&&(a=this.mathlist[this.mathlist.length-1],a.type==="subsup"||a.subsupPlacement!==void 0)||(a=new Sc({style:this.style}),this.mathlist.push(a)),a}hasPattern(a){return a.test(this.tokens[this.index])}hasInfixCommand(){var a;const{index:y}=this;if(y<this.tokens.length&&this.tokens[y].startsWith("\\")){const b=rn(this.tokens[y],this.parseMode);return!b||b.definitionType==="symbol"||b.ifMode&&!b.ifMode.includes(this.parseMode)?!1:(a=b.infix)!=null?a:!1}return!1}matchColumnSeparator(){return!this.tabularMode||this.peek()!=="&"?!1:(this.index++,!0)}matchRowSeparator(){if(!this.tabularMode)return!1;const a=this.peek();return a!=="\\\\"&&a!=="\\cr"&&a!=="\\tabularnewline"?!1:(this.index++,!0)}placeholder(){var a;const y=(a=this.args)==null?void 0:a.call(this,"?");return y?Wu(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new Ol({mode:this.parseMode,style:this.style})]}skipWhitespace(){for(;this.match("<space>"););}skipUntilToken(a){let y=this.tokens[this.index];for(;y&&y!==a;)y=this.tokens[++this.index];y===a&&this.index++}skipFiller(){for(;this.match("\\relax")||this.match("<space>"););}matchKeyword(a){const y=this.index;let b=this.end(),E="";for(;!b;){const ie=this.get();Lu(ie)?(E+=ie,b=this.end()||E.length>=a.length):b=!0}const te=a.toUpperCase()===E.toUpperCase();return te||(this.index=y),te}scanString(){let a="";for(;!this.end();){const y=this.peek();if(y==="]")return a;if(y==="<space>")a+=" ";else if(y.startsWith("\\"))this.onError({code:"unexpected-command-in-string"}),a+=y.substring(1);else if(Lu(y))a+=y;else return a;this.next()}return a}scanBalancedString(){let a="",y=this.end(),b=1;for(;!y;){const E=this.get();E==="<space>"?a+=" ":E==="<{>"?(a+="{",b+=1):E==="<}>"?(b-=1,b>0?a+="}":this.index-=1):E==="<$>"?a+="$":E==="<$$>"?a+="$$":a+=E,y=b===0||this.end()}return a}scanLiteralGroup(){var a;if(!this.match("<{>"))return"";let y="",b=1;for(;b>0&&!this.end();){const E=this.get();E==="<}>"?(b-=1,b>0&&(y+="}")):E==="<{>"?(b+=1,y+="{"):(/\\[a-zA-Z]+$/.test(y)&&/^[a-zA-Z]/.test(E)&&(y+=" "),y+=(a={"<space>":" ","<$$>":"$$","<$>":"$"}[E])!=null?a:E)}return y}scanNumber(a=!0){var y,b;let E=!1,te=this.peek();for(;te==="<space>"||te==="+"||te==="-";)this.get(),te==="-"&&(E=!E),te=this.peek();a=!!a;let ie=10,le=/\d/;if(this.match("'"))ie=8,le=/[0-7]/,a=!0;else if(this.match('"'))ie=16,le=/[\dA-F]/,a=!0;else if(this.match("x"))ie=16,le=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return te=this.get(),te?te.length===2&&te.startsWith("\\")?{number:(E?-1:1)*((y=te.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(E?-1:1)*((b=te.codePointAt(0))!=null?b:0),base:"alpha"}:null;let De="";for(;this.hasPattern(le);)De+=this.get();if(!a&&(this.match(".")||this.match(",")))for(De+=".";this.hasPattern(le);)De+=this.get();const Re=a?Number.parseInt(De,ie):Number.parseFloat(De);return Number.isNaN(Re)?null:{number:E?-Re:Re,base:ie===16?"hexadecimal":ie===8?"octal":"decimal"}}scanRegister(){var a;const y=this.index,b=this.scanNumber(!1);if(this.skipWhitespace(),this.match("\\relax"))return b;let E=!1;if(b===null)for(;;){const ie=this.peek();if(ie==="-")E=!E;else if(ie!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const ie=this.get();return ie.startsWith("\\")?b?{register:ie,global:!0,factor:(E?-1:1)*b.number}:E?{register:ie,global:!0,factor:-1}:{register:ie,global:!0}:(this.index=y,null)}let te=this.get();return te!=null&&te.startsWith("\\")?(te=te.substring(1),this.context.registers[te]?!E||b!==null?{register:te,factor:(E?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:te}:(this.index=y,null)):(this.index=y,null)}scanValue(){const a=this.scanRegister();if(a)return a;const y=this.index,b=this.scanGlueOrDimen();if(b&&("unit"in b||"glue"in b&&"unit"in b.glue))return b;this.index=y;const E=this.scanNumber();if(E)return E;if(this.end()||!Lu(this.peek()))return null;const te=this.scanString();return te.length>0?{string:te}:null}scanDimen(){const a=this.scanNumber(!1);if(a===null)return null;const y=a.number;this.skipWhitespace(),this.matchKeyword("true"),this.skipWhitespace();let b;return this.matchKeyword("pt")?b="pt":this.matchKeyword("mm")?b="mm":this.matchKeyword("cm")?b="cm":this.matchKeyword("ex")?b="ex":this.matchKeyword("px")?b="px":this.matchKeyword("em")?b="em":this.matchKeyword("bp")?b="bp":this.matchKeyword("dd")?b="dd":this.matchKeyword("pc")?b="pc":this.matchKeyword("in")?b="in":this.matchKeyword("mu")&&(b="mu"),b?{dimension:y,unit:b}:{dimension:y}}scanGlueOrDimen(){const a=this.scanDimen();if(a===null)return null;if(this.skipWhitespace(),this.match("\\relax"))return a;const y={glue:a};if(this.matchKeyword("plus")){const b=this.scanDimen();if(b)y.grow=b;else return y}if(this.skipWhitespace(),this.match("\\relax"))return y;if(this.skipWhitespace(),this.matchKeyword("minus")){const b=this.scanDimen();if(b)y.shrink=b;else return y}return!y.grow&&!y.shrink?a:y}scanColspec(){this.skipWhitespace();const a=[];for(;!this.end()&&!(this.peek()==="<}>"||this.peek()==="]");){const y=this.get();y==="c"||y==="r"||y==="l"?a.push({align:y}):y==="|"?a.push({separator:"solid"}):y===":"?a.push({separator:"dashed"}):y==="@"&&(this.match("<{>")&&(this.beginContext({mode:"math"}),a.push({gap:this.scan(b=>b==="<}>")}),this.endContext()),this.match("<}>")||this.onError({code:"unbalanced-braces"}))}return a}scanModeSet(){let a;if(this.match("\\(")&&(a="textstyle"),!a&&this.match("\\[")&&(a="displaystyle"),!a)return null;this.beginContext({mode:"math",mathstyle:a});const y=this.scan(b=>b===(a==="displaystyle"?"\\]":"\\)"));return this.match(a==="displaystyle"?"\\]":"\\)")||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanModeShift(){let a="";if(this.match("<$>")&&(a="<$>"),!a&&this.match("<$$>")&&(a="<$$>"),!a)return null;this.beginContext({mode:"math",mathstyle:"textstyle"});const y=this.scan(b=>b===a);return this.match(a)||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanEnvironment(){if(!this.match("\\begin"))return null;const a=this.scanArgument("string");if(!a)return null;const y=En(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const De of y.params)if(De.isOptional)b.push(this.scanOptionalArgument(De.type));else{const Re=this.scanArgument(De.type);Re||this.onError({code:"missing-argument",arg:a}),b.push(Re)}this.beginContext({tabular:y.tabular});const E=[],te=[];let ie=[],le=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),le=!0),!le&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),le=!0),!le)if(this.matchColumnSeparator())ie.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){ie.push(this.mathlist),this.mathlist=[];let De=null;this.skipWhitespace(),this.match("[")&&(De=this.scanDimen(),this.skipWhitespace(),this.match("]")),te.push(De!=null?De:{dimension:0}),E.push(ie),ie=[]}else this.mathlist.push(...this.scan(De=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(De)));while(!le);return ie.push(this.mathlist),ie.length>0&&E.push(ie),this.endContext(),y.createAtom(a,E,te,b)}scanExpression(){const a=this.mathlist;if(this.mathlist=[],this.parseExpression()){const y=this.mathlist;return this.mathlist=a,y}return this.mathlist=a,null}scan(a){this.beginContext(),a||(a=le=>le==="<}>");let y="",b=null,E=[],te=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=rn(y,"math"),b&&(E=this.scanArguments(b)[1]),te=this.mathlist,this.mathlist=[]):this.parseExpression();let ie;return y?(console.assert(!!b),E.unshift(this.mathlist),te&&E.unshift(te),ie=[b.createAtom({command:y,args:E,style:this.style,mode:this.parseMode})]):ie=this.mathlist,this.endContext(),ie}scanGroup(){const a=this.index;if(!this.match("<{>"))return null;const y=this.scan(E=>E==="<}>");this.match("<}>")||this.onError({code:"unbalanced-braces"});const b=new Zu(y,this.parseMode,this.style);return b.verbatimLatex=So(this.tokens.slice(a,this.index)),b}scanSmartFence(){if(this.skipWhitespace(),!this.match("("))return null;this.beginContext();let a=1;for(;!this.end()&&a!==0;)this.match("(")&&(a+=1),this.match(")")&&(a-=1),a!==0&&this.parseExpression();const y=new Fs("",this.mathlist,{leftDelim:"(",rightDelim:a===0?")":"?"});return this.endContext(),y}scanDelim(){this.skipWhitespace();const a=this.peek();if(!a)return this.onError({code:"unexpected-end-of-string"}),null;if(!Lu(a)&&!a.startsWith("\\"))return null;this.next();const y=rn(a,"math");return y?y.definitionType==="function"&&y.ifMode&&!y.ifMode.includes(this.parseMode)?(this.onError({code:"unexpected-delimiter",arg:a}),null):y.definitionType==="symbol"&&(y.type==="mopen"||y.type==="mclose")||/^(\.|\?|\||<|>|\\vert|\\Vert|\\\||\\surd|\\uparrow|\\downarrow|\\Uparrow|\\Downarrow|\\updownarrow|\\Updownarrow|\\mid|\\mvert|\\mVert)$/.test(a)?a:(this.onError({code:"unexpected-delimiter",arg:a}),null):(this.onError({code:"unknown-command",arg:a}),null)}scanLeftRight(){var a;if(this.match("\\right"))return this.onError({code:"unbalanced-braces"}),new oc("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new oc("\\mright");let y="\\right";if(!this.match("\\left")){if(!this.match("\\mleft"))return null;y="\\mright"}const b=this.scanDelim();if(!b)return this.onError({code:"unexpected-delimiter"}),new oc(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const E=this.mathlist;this.endContext();const te=(a=this.scanDelim())!=null?a:".";return new Fs(y==="\\right"?"left...right":"mleft...mright",E,{leftDelim:b,rightDelim:te,style:this.style})}parseSupSub(){if(this.parseMode!=="math")return!1;let a=this.peek();if(a!=="^"&&a!=="_"&&a!=="'")return!1;const y=this.lastSubsupAtom();for(;a==="^"||a==="_"||a==="'";)this.match("'")?this.match("'")?y.addChild(new za({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new za({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(Kt(this.scanArgument("expression")),a==="_"?"subscript":"superscript"),a=this.peek();return!0}parseLimits(){if(this.parseMode!=="math")return!1;const a=this.match("\\limits"),y=!a&&this.match("\\nolimits"),b=!y&&!a&&this.match("\\displaylimits");if(!a&&!y&&!b)return!1;const E=this.mathlist.length>0?this.mathlist[this.mathlist.length-1]:null;return E===null?!1:(E.explicitSubsupPlacement=!0,a&&(E.subsupPlacement="over-under"),y&&(E.subsupPlacement="adjacent"),b&&(E.subsupPlacement="auto"),!0)}scanArguments(a){if(!(a!=null&&a.params))return[void 0,[]];let y;const b=[];let E=a.infix?2:0;for(;E<a.params.length;){const te=a.params[E];te.type==="rest"?b.push(this.scan(ie=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(ie))):te.isOptional?b.push(this.scanOptionalArgument(te.type)):te.type.endsWith("*")?y=te.type.slice(0,-1):b.push(this.scanArgument(te.type)),E+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(Lu(a)){const b=Xi.createAtom(this.parseMode,a,Se({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=rn(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new oc(a)];if(b.definitionType==="symbol"){const E=Se({},this.style);b.variant&&(E.variant=b.variant),y=new za({type:b.type,command:a,style:E,value:String.fromCodePoint(b.codepoint),mode:this.parseMode,verbatimLatex:a})}else{if(b.applyMode||b.applyStyle||b.infix)return this.onError({code:"invalid-command",arg:a}),[new oc(a)];b.createAtom&&(y=b.createAtom({command:a,args:[],style:this.style,mode:this.parseMode}))}}return y?[y]:null}scanArgument(a){var y;this.skipFiller();const b=this.parseMode;if(a==="auto"&&(a=b),!this.match("<{>")){if(a==="string")return this.scanString();if(a==="value")return this.scanValue();if(a==="delim")return(y=this.scanDelim())!=null?y:".";if(a==="expression")return this.scanExpression();if(a==="math"){a!==b&&this.beginContext({mode:"math"});const te=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),te}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const te=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),te}return a==="balanced-string"||console.assert(!1),null}if(a==="text"){this.beginContext({mode:"text"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const te=this.mathlist;return this.endContext(),{group:te}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const te=this.mathlist;return this.endContext(),{group:te}}let E=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const te=this.mathlist;return this.endContext(),{group:te}}return a==="string"?E=this.scanString():a==="balanced-string"?E=this.scanBalancedString():a==="colspec"?E=this.scanColspec():a==="value"&&(E=this.scanValue()),this.skipUntilToken("<}>"),E}scanOptionalArgument(a){if(a=a==="auto"?this.parseMode:a,this.skipFiller(),!this.match("["))return null;let y=null;for(;!this.end()&&!this.match("]");)if(a==="string")y=this.scanString();else if(a==="value")y=this.scanValue();else if(a==="colspec")y=this.scanColspec();else if(a==="bbox"){const b={},E=this.scanString().toLowerCase().trim().split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const te of E){const ie=te.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(ie)b.padding={dimension:parseInt(ie[1]),unit:ie[2]};else{const le=te.match(/^\s*border\s*:\s*(.*)/);le?b.border=le[1]:b.backgroundcolor={string:te}}}y=b}else a==="math"&&(this.beginContext({mode:"math"}),y=this.mathlist.concat(this.scan(b=>b==="]")),this.endContext());return y}scanSymbolOrCommand(a){var y,b,E;if(a==="\\placeholder"){const De=this.scanOptionalArgument("string"),Re=this.scanOptionalArgument("math"),Ve=za.serialize(Re,{defaultMode:"math"});let lt=[],zt;!zt&&Ve==="correct"?zt="correct":!zt&&Ve==="incorrect"?zt="incorrect":Ve!==""&&(lt=Re);const wn=this.scanOptionalArgument("string")==="locked",nr=this.scanArgument("auto");let hr;return nr&&Array.isArray(nr)&&nr.length>0?hr=nr:nr&&typeof nr=="object"&&"group"in nr?hr=nr.group:hr=lt,De?[new zc(De,zt,wn,hr!=null?hr:lt,{mode:this.parseMode,style:this.style})]:[new Ol({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const De=this.index,Re=this.scanLiteralGroup()||this.next();if(!Re)return null;if(this.context.registers[Re.substring(1)]){const Ve=this.scanArgument("string");Ve!==null&&(this.context.registers[Re.substring(1)]=Ve);const lt=Qi([a,So(this.tokens.slice(De,this.index))]);return[new za({type:"text",value:"",verbatimLatex:lt})]}}let te=this.scanMacro(a);if(te)return[te];const ie=rn(a,this.parseMode);if(!ie)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(De=>new za({type:"text",value:De,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new oc(a)]);const le=this.index;if(ie.definitionType==="symbol"){const De=Se({},this.style);ie.variant&&(De.variant=ie.variant),te=new za({type:ie.type,command:a,style:De,value:String.fromCodePoint(ie.codepoint),mode:this.parseMode})}else{if(ie.ifMode&&!ie.ifMode.includes(this.parseMode))return[];const De=this.parseMode;ie.applyMode&&(this.parseMode=ie.applyMode);let Re,Ve=[];if(ie.parse?Ve=ie.parse(this):[Re,Ve]=this.scanArguments(ie),this.parseMode=De,ie.applyMode&&!ie.applyStyle&&!ie.createAtom)return Kt(Ve[0]);if(ie.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof ie.createAtom=="function")te=ie.createAtom({command:a,args:Ve,style:this.style,mode:this.parseMode}),Re&&(te.body=Kt(this.scanArgument(Re)));else if(typeof ie.applyStyle=="function"){const lt=Se(Se({},this.style),ie.applyStyle(a,Ve,this.context)),zt=this.parseMode;if(ie.applyMode&&(this.parseMode=ie.applyMode),Re){const wn=this.style;this.style=lt;const nr=this.scanArgument(Re);return this.style=wn,this.parseMode=zt,Kt(nr)}this.style=lt}else te=new za({type:"mord",command:(b=ie.command)!=null?b:a,style:Se({},this.style),value:a,mode:(E=ie.applyMode)!=null?E:this.parseMode})}if(!te)return null;if(te instanceof za&&te.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const De=Qi([a,So(this.tokens.slice(le,this.index))]);De&&(te.verbatimLatex=De)}if(te.verbatimLatex===null&&(te.verbatimLatex=void 0),te.isFunction&&this.smartFence){const De=this.scanSmartFence();if(De)return[te,De]}return[te]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(Lu(a)){const y=Xi.createAtom(this.parseMode,a,Se({},this.style));if(!y)return null;if(y.isFunction&&this.smartFence){const b=this.scanSmartFence();if(b)return[y,b]}return[y]}return a.startsWith("\\")?this.scanSymbolOrCommand(a):a==="<space>"?this.parseMode==="text"?[new nc(" "," ",this.style)]:null:(a==="<}>"?this.onError({latex:"",code:"unbalanced-braces"}):this.onError({latex:"",code:"unexpected-token",arg:a}),null)}scanMacro(a){var y;const b=this.context.getMacro(a);if(!b)return null;const E=this.index,te=b.args,ie={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let le=1;le<=te;le++){let De=this.scanLiteralGroup();if(!De){const Re=this.index;this.scanExpression(),De=So(this.tokens.slice(Re,this.index))}ie[le]=De}return new zd(a,{expand:b.expand,captureSelection:b.captureSelection,args:E===this.index?null:So(this.tokens.slice(E,this.index)),style:this.parsingContext.style,body:Wu(b.def,{context:this.context,parseMode:this.parseMode,args:le=>ie[le],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,E;let te=(E=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?E:this.scanLeftRight();if(te===null){if(this.parseSupSub()||this.parseLimits())return!0;te=this.scanSymbolCommandOrLiteral()}return te?(Array.isArray(te)?this.mathlist.push(...te):this.mathlist.push(te),!0):!1}};function Wu(a,y){var b,E,te,ie;const le=(b=y==null?void 0:y.args)!=null?b:void 0,De=new rd(Jo(a,le),y==null?void 0:y.context,{args:le,mathstyle:(E=y==null?void 0:y.mathstyle)!=null?E:"displaystyle",parseMode:(te=y==null?void 0:y.parseMode)!=null?te:"math",style:(ie=y==null?void 0:y.style)!=null?ie:{}}),Re=[];for(;!De.end();)Re.push(...De.scan(()=>!1));return Re}function i0(a,y){var b;const E=new rd(Jo(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!E.end();)E.scan();return E.errors}var o0=class Up extends za{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const E=vu.go(Ri.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=Wu(E),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new Up(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return me(Se({},super.toJson()),{arg:this.arg})}render(y){const b=za.createBox(y,this.body,{type:"inner"});return this.caret&&(b.caret=this.caret),this.bind(y,b)}_serialize(y){return console.assert(this.verbatimLatex!==void 0),this.verbatimLatex}};Kn(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new o0(a.command,(y=a.args[0])!=null?y:"")}});var Ri={go:function(a,y){if(!a)return[];y===void 0&&(y="ce");var b="0",E={};E.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var te,ie=10,le=[];;){te!==a?(ie=10,te=a):ie--;var De=Ri.stateMachines[y],Re=De.transitions[b]||De.transitions["*"];e:for(var Ve=0;Ve<Re.length;Ve++){var lt=Ri.patterns.match_(Re[Ve].pattern,a);if(lt){for(var zt=Re[Ve].task,wn=0;wn<zt.action_.length;wn++){var nr;if(De.actions[zt.action_[wn].type_])nr=De.actions[zt.action_[wn].type_](E,lt.match_,zt.action_[wn].option);else if(Ri.actions[zt.action_[wn].type_])nr=Ri.actions[zt.action_[wn].type_](E,lt.match_,zt.action_[wn].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+zt.action_[wn].type_+")"];Ri.concatArray(le,nr)}if(b=zt.nextState||b,a.length>0){if(zt.revisit||(a=lt.remainder),!zt.toContinue)break e}else return le}}if(ie<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(a,y){if(y)if(Object.prototype.toString.call(y)==="[object Array]")for(var b=0;b<y.length;b++)a.push(y[b]);else a.push(y)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:(?:([eE])|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"(-)(9)^(-9)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"state of aggregation $":function(a){var y=Ri.patterns.findObserveGroups(a,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(y&&y.remainder.match(/^($|[\s,;\)\]\}])/))return y;var b=a.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return b?{match_:b[0],remainder:a.substr(b[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return Ri.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return Ri.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return Ri.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return Ri.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return Ri.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return Ri.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return Ri.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return Ri.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return Ri.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return Ri.patterns.findObserveGroups(a,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return Ri.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return Ri.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return Ri.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return Ri.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return Ri.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return Ri.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return Ri.patterns.findObserveGroups(a,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(a){var y;if(y=a.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),y)return{match_:y[0],remainder:a.substr(y[0].length)};var b=Ri.patterns.findObserveGroups(a,"","$","$","");return b&&(y=b.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),y)?{match_:y[0],remainder:a.substr(y[0].length)}:null},amount2:function(a){return this.amount(a)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(a){if(a.match(/^\([a-z]+\)$/))return null;var y=a.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return y?{match_:y[0],remainder:a.substr(y[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(a,y,b,E,te,ie,le,De,Re,Ve){var lt=function(Ca,si){if(typeof si=="string")return Ca.indexOf(si)!==0?null:si;var eo=Ca.match(si);return eo?eo[0]:null},zt=function(Ca,si,eo){for(var xi=0;si<Ca.length;){var rl=Ca.charAt(si),Ll=lt(Ca.substr(si),eo);if(Ll!==null&&xi===0)return{endMatchBegin:si,endMatchEnd:si+Ll.length};if(rl==="{")xi++;else if(rl==="}"){if(xi===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];xi--}si++}return xi>0,null},wn=lt(a,y);if(wn===null||(a=a.substr(wn.length),wn=lt(a,b),wn===null))return null;var nr=zt(a,wn.length,E||te);if(nr===null)return null;var hr=a.substring(0,E?nr.endMatchEnd:nr.endMatchBegin);if(ie||le){var Ia=this.findObserveGroups(a.substr(nr.endMatchEnd),ie,le,De,Re);if(Ia===null)return null;var Yi=[hr,Ia.match_];return{match_:Ve?Yi.join(""):Yi,remainder:Ia.remainder}}else return{match_:hr,remainder:a.substr(nr.endMatchEnd)}},match_:function(a,y){var b=Ri.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return Ri.patterns.patterns[a](y);var E=y.match(b);if(E){var te;return E[2]?te=[E[1],E[2]]:E[1]?te=E[1]:te=E[0],{match_:te,remainder:y.substr(E[0].length)}}return null}},actions:{"a=":function(a,y){a.a=(a.a||"")+y},"b=":function(a,y){a.b=(a.b||"")+y},"p=":function(a,y){a.p=(a.p||"")+y},"o=":function(a,y){a.o=(a.o||"")+y},"q=":function(a,y){a.q=(a.q||"")+y},"d=":function(a,y){a.d=(a.d||"")+y},"rm=":function(a,y){a.rm=(a.rm||"")+y},"text=":function(a,y){a.text_=(a.text_||"")+y},insert:function(a,y,b){return{type_:b}},"insert+p1":function(a,y,b){return{type_:b,p1:y}},"insert+p1+p2":function(a,y,b){return{type_:b,p1:y[0],p2:y[1]}},copy:function(a,y){return y},rm:function(a,y){return{type_:"rm",p1:y||""}},text:function(a,y){return Ri.go(y,"text")},"{text}":function(a,y){var b=["{"];return Ri.concatArray(b,Ri.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return Ri.go(y,"tex-math")},"tex-math tight":function(a,y){return Ri.go(y,"tex-math tight")},bond:function(a,y,b){return{type_:"bond",kind_:b||y}},"color0-output":function(a,y){return{type_:"color0",color:y[0]}},ce:function(a,y){return Ri.go(y)},"1/2":function(a,y){var b=[];y.match(/^[+\-]/)&&(b.push(y.substr(0,1)),y=y.substr(1));var E=y.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return E[1]=E[1].replace(/\$/g,""),b.push({type_:"frac",p1:E[1],p2:E[2]}),E[3]&&(E[3]=E[3].replace(/\$/g,""),b.push({type_:"tex-math",p1:E[3]})),b},"9,9":function(a,y){return Ri.go(y,"9,9")}},createTransitions:function(a){var y,b,E,te,ie={};for(y in a)for(b in a[y])for(E=b.split("|"),a[y][b].stateArray=E,te=0;te<E.length;te++)ie[E[te]]=[];for(y in a)for(b in a[y])for(E=a[y][b].stateArray||[],te=0;te<E.length;te++){var le=a[y][b];if(le.action_){le.action_=[].concat(le.action_);for(var De=0;De<le.action_.length;De++)typeof le.action_[De]=="string"&&(le.action_[De]={type_:le.action_[De]})}else le.action_=[];for(var Re=y.split("|"),Ve=0;Ve<Re.length;Ve++)if(E[te]==="*")for(var lt in ie)ie[lt].push({pattern:Re[Ve],task:le});else ie[E[te]].push({pattern:Re[Ve],task:le})}return ie},stateMachines:{}};Ri.stateMachines={ce:{transitions:Ri.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(a,y){var b;if((a.d||"").match(/^[0-9]+$/)){var E=a.d;a.d=void 0,b=this.output(a),a.b=E}else b=this.output(a);return Ri.actions["o="](a,y),b},"d= kv":function(a,y){a.d=y,a.dType="kv"},"charge or bond":function(a,y){if(a.beginsWithBond){var b=[];return Ri.concatArray(b,this.output(a)),Ri.concatArray(b,Ri.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var E=Ri.patterns.match_("orbital",a.o||""),te=Ri.patterns.match_("one lowercase greek letter $",a.o||""),ie=Ri.patterns.match_("one lowercase latin letter $",a.o||""),le=Ri.patterns.match_("$one lowercase latin letter$ $",a.o||""),De=y==="-"&&(E&&E.remainder===""||te||ie||le);De&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!E&&ie&&(a.o="$"+a.o+"$");var Re=[];return De?(Ri.concatArray(Re,this.output(a)),Re.push({type_:"hyphen"})):(E=Ri.patterns.match_("digits",a.d||""),b&&E&&E.remainder===""?(Ri.concatArray(Re,Ri.actions["d="](a,y)),Ri.concatArray(Re,this.output(a))):(Ri.concatArray(Re,this.output(a)),Ri.concatArray(Re,Ri.actions.bond(a,y,"-")))),Re},"a to o":function(a){a.o=a.a,a.a=void 0},"sb=true":function(a){a.sb=!0},"sb=false":function(a){a.sb=!1},"beginsWithBond=true":function(a){a.beginsWithBond=!0},"beginsWithBond=false":function(a){a.beginsWithBond=!1},"parenthesisLevel++":function(a){a.parenthesisLevel++},"parenthesisLevel--":function(a){a.parenthesisLevel--},"state of aggregation":function(a,y){return{type_:"state of aggregation",p1:Ri.go(y,"o")}},comma:function(a,y){var b=y.replace(/\s*$/,""),E=b!==y;return E&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:b}:{type_:"comma enumeration M",p1:b}},output:function(a,y,b){var E;if(!a.r)E=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!b||(a.sb&&E.push({type_:"entitySkip"}),!a.o&&!a.q&&!a.d&&!a.b&&!a.p&&b!==2?(a.o=a.a,a.a=void 0):!a.o&&!a.q&&!a.d&&(a.b||a.p)?(a.o=a.a,a.d=a.b,a.q=a.p,a.a=a.b=a.p=void 0):a.o&&a.dType==="kv"&&Ri.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),E.push({type_:"chemfive",a:Ri.go(a.a,"a"),b:Ri.go(a.b,"bd"),p:Ri.go(a.p,"pq"),o:Ri.go(a.o,"o"),q:Ri.go(a.q,"pq"),d:Ri.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var te;a.rdt==="M"?te=Ri.go(a.rd,"tex-math"):a.rdt==="T"?te=[{type_:"text",p1:a.rd||""}]:te=Ri.go(a.rd);var ie;a.rqt==="M"?ie=Ri.go(a.rq,"tex-math"):a.rqt==="T"?ie=[{type_:"text",p1:a.rq||""}]:ie=Ri.go(a.rq),E={type_:"arrow",r:a.r,rd:te,rq:ie}}for(var le in a)le!=="parenthesisLevel"&&le!=="beginsWithBond"&&delete a[le];return E},"oxidation-output":function(a,y){var b=["{"];return Ri.concatArray(b,Ri.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:Ri.go(y[0]),p2:Ri.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:Ri.go(y[0]),p2:Ri.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:Ri.go(y[0]),p2:Ri.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:Ri.go(y[0]),p2:Ri.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Ri.go(y[1])}},"r=":function(a,y){a.r=y},"rdt=":function(a,y){a.rdt=y},"rd=":function(a,y){a.rd=y},"rqt=":function(a,y){a.rqt=y},"rq=":function(a,y){a.rq=y},operator:function(a,y,b){return{type_:"operator",kind_:b||y}}}},a:{transitions:Ri.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:Ri.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:Ri.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(a){if(a.text_){var y={type_:"text",p1:a.text_};for(var b in a)delete a[b];return y}}}},pq:{transitions:Ri.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(a,y){return{type_:"state of aggregation subscript",p1:Ri.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Ri.go(y[1],"pq")}}}},bd:{transitions:Ri.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Ri.go(y[1],"bd")}}}},oxidation:{transitions:Ri.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(a,y){return{type_:"roman numeral",p1:y||""}}}},"tex-math":{transitions:Ri.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"tex-math tight":{transitions:Ri.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(a,y){a.o=(a.o||"")+"{"+y+"}"},output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"9,9":{transitions:Ri.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:Ri.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),y[1]&&(Ri.concatArray(b,Ri.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?Ri.concatArray(b,Ri.go(y[2],"pu-9,9")):b.push(y[2])),(y[3]||y[4])&&(y[3]==="e"||y[4]==="*"?b.push({type_:"cdot"}):b.push({type_:"times"}))),y[5]&&b.push("10^{"+y[5]+"}"),b},"number^":function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),Ri.concatArray(b,Ri.go(y[1],"pu-9,9")),b.push("^{"+y[2]+"}"),b},operator:function(a,y,b){return{type_:"operator",kind_:b||y}},space:function(){return{type_:"pu-space-1"}},output:function(a){var y,b=Ri.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var E=Ri.patterns.match_("{(...)}",a.q||"");if(E&&E.remainder===""&&(a.q=E.match_),a.d&&(a.d=a.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.d=a.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),a.q){a.q=a.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.q=a.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var te={d:Ri.go(a.d,"pu"),q:Ri.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:te.d,p2:te.q}:(y=te.d,te.d.length>1||te.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),Ri.concatArray(y,te.q))}else y=Ri.go(a.d,"pu-2");for(var ie in a)delete a[ie];return y}}},"pu-2":{transitions:Ri.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(a,y){a.rm+="^{"+y+"}"},space:function(){return{type_:"pu-space-2"}},output:function(a){var y=[];if(a.rm){var b=Ri.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=Ri.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var E in a)delete a[E];return y}}},"pu-9,9":{transitions:Ri.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){var b=a.text_.length%3;b===0&&(b=3);for(var E=a.text_.length-3;E>0;E-=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(0,b)),y.reverse()}else y.push(a.text_);for(var te in a)delete a[te];return y},"output-o":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){for(var b=a.text_.length-3,E=0;E<b;E+=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(E))}else y.push(a.text_);for(var te in a)delete a[te];return y}}}};var vu={go:function(a,y){if(!a)return"";for(var b="",E=!1,te=0;te<a.length;te++){var ie=a[te];typeof ie=="string"?b+=ie:(b+=vu._go2(ie),ie.type_==="1st-level escape"&&(E=!0))}return!y&&!E&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&vu.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:vu._goInner(a.a),b:vu._goInner(a.b),p:vu._goInner(a.p),o:vu._goInner(a.o),q:vu._goInner(a.q),d:vu._goInner(a.d)};b.a&&(b.a.match(/^[+\-]/)&&(b.a="{"+b.a+"}"),y+=b.a+"\\,"),(b.b||b.p)&&(y+="{\\vphantom{X}}",y+="^{\\hphantom{"+(b.b||"")+"}}_{\\hphantom{"+(b.p||"")+"}}",y+="{\\vphantom{X}}",y+="^{\\smash[t]{\\vphantom{2}}\\llap{"+(b.b||"")+"}}",y+="_{\\vphantom{2}\\llap{\\smash[t]{"+(b.p||"")+"}}}"),b.o&&(b.o.match(/^[+\-]/)&&(b.o="{"+b.o+"}"),y+=b.o),a.dType==="kv"?((b.d||b.q)&&(y+="{\\vphantom{X}}"),b.d&&(y+="^{"+b.d+"}"),b.q&&(y+="_{\\smash[t]{"+b.q+"}}")):a.dType==="oxidation"?(b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"),b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}")):(b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}"),b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"));break;case"rm":y="\\mathrm{"+a.p1+"}";break;case"text":a.p1.match(/[\^_]/)?(a.p1=a.p1.replace(" ","~").replace("-","\\text{-}"),y="\\mathrm{"+a.p1+"}"):y="\\text{"+a.p1+"}";break;case"roman numeral":y="\\mathrm{"+a.p1+"}";break;case"state of aggregation":y="\\mskip2mu "+vu._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+vu._goInner(a.p1);break;case"bond":if(y=vu._getBond(a.kind_),!y)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var E="\\frac{"+a.p1+"}{"+a.p2+"}";y="\\mathchoice{\\textstyle"+E+"}{"+E+"}{"+E+"}{"+E+"}";break;case"pu-frac":var te="\\frac{"+vu._goInner(a.p1)+"}{"+vu._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+te+"}{"+te+"}{"+te+"}{"+te+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+vu._goInner(a.p1)+"}{"+vu._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+vu._goInner(a.p1)+"}{"+vu._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+vu._goInner(a.p1)+"}{"+vu._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+vu._goInner(a.p1)+"}_{"+vu._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+vu._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var ie={rd:vu._goInner(a.rd),rq:vu._goInner(a.rq)},le=vu._getArrow(a.r);ie.rd||ie.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(le="\\long"+le,ie.rd&&(le="\\overset{"+ie.rd+"}{"+le+"}"),ie.rq&&(a.r==="<-->"?le="\\underset{\\lower2mu{"+ie.rq+"}}{"+le+"}":le="\\underset{\\lower6mu{"+ie.rq+"}}{"+le+"}"),le=" {}\\mathrel{"+le+"}{} "):(ie.rq&&(le+="[{"+ie.rq+"}]"),le+="{"+ie.rd+"}",le=" {}\\mathrel{\\x"+le+"}{} "):le=" {}\\mathrel{\\long"+le+"}{} ",y=le;break;case"operator":y=vu._getOperator(a.kind_);break;case"1st-level escape":y=a.p1+" ";break;case"space":y=" ";break;case"entitySkip":y="~";break;case"pu-space-1":y="~";break;case"pu-space-2":y="\\mkern3mu ";break;case"1000 separator":y="\\mkern2mu ";break;case"commaDecimal":y="{,}";break;case"comma enumeration L":y="{"+a.p1+"}\\mkern6mu ";break;case"comma enumeration M":y="{"+a.p1+"}\\mkern3mu ";break;case"comma enumeration S":y="{"+a.p1+"}\\mkern1mu ";break;case"hyphen":y="\\text{-}";break;case"addition compound":y="\\,{\\cdot}\\,";break;case"electron dot":y="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":y="{\\times}";break;case"prime":y="\\prime ";break;case"cdot":y="\\cdot ";break;case"tight cdot":y="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":y="\\times ";break;case"circa":y="{\\sim}";break;case"^":y="uparrow";break;case"v":y="downarrow";break;case"ellipsis":y="\\ldots ";break;case"/":y="/";break;case" / ":y="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return y},_getArrow:function(a){switch(a){case"->":return"rightarrow";case"\u2192":return"rightarrow";case"\u27F6":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"leftrightarrows";case"<=>":return"rightleftharpoons";case"\u21CC":return"rightleftharpoons";case"<=>>":return"Rightleftharpoons";case"<<=>":return"Leftrightharpoons";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(a){switch(a){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\rlap{\\lower.1em{-}}\\raise.1em{\\tripledash}}";case"~=":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"~--":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"-~-":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{-}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(a){switch(a){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};function Ty(a){}function Ry(a){}var l0=class Gp extends za{constructor(y){super(me(Se({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new Gp(y)}toJson(){return me(Se({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new li(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=rn(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):Ni(this.command,this.value)}},s0=class Yp extends za{constructor(y){super(me(Se({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Yp(y)}toJson(){return me(Se({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=oa(this.value,this.size,y,{classes:{open:"mopen",close:"mclose"}[this.delimType],type:this.delimType,isSelected:this.isSelected});return b?(b=this.bind(y,b),this.caret&&(b.caret=this.caret),b):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=rn(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):Ni(this.command,this.value)}},of=class Qp extends za{constructor(y,b,E,te){var ie,le;super({type:"enclose",command:y,style:te.style}),this.body=b,this.backgroundcolor=te.backgroundcolor,E.updiagonalarrow&&(E.updiagonalstrike=!1),E.box&&(E.left=!1,E.right=!1,E.bottom=!1,E.top=!1),this.notation=E,this.shadow=(ie=te.shadow)!=null?ie:"none",this.strokeWidth=(le=te.strokeWidth)!=null?le:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=te.strokeStyle,this.svgStrokeStyle=te.svgStrokeStyle,this.strokeColor=te.strokeColor,this.borderStyle=te.borderStyle,this.padding=te.padding,this.captureSelection=!1}static fromJson(y){return new Qp(y.command,y.body,y.notation,y)}toJson(){return me(Se({},super.toJson()),{notation:this.notation,shadow:this.shadow,strokeWidth:this.strokeWidth,strokeStyle:this.strokeStyle,svgStrokeStyle:this.svgStrokeStyle,strokeColor:this.strokeColor,borderStyle:this.borderStyle,padding:this.padding})}_serialize(y){var b;if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=rn(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);let te=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){te+="{"+Object.keys(this.notation).join(" ")+"}";let ie="",le="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(ie+=le+'mathbackground="'+this.backgroundcolor+'"',le=","),this.shadow&&this.shadow!=="auto"&&(ie+=le+'shadow="'+this.shadow+'"',le=","),this.strokeWidth||this.strokeStyle!=="solid"?(ie+=le+this.borderStyle,le=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(ie+=le+'mathcolor="'+this.strokeColor+'"',le=","),ie&&(te+=`[${ie}]`)}return Ni(te,this.bodyToLatex(y))}render(y){const b=new dl({parent:y},this.style),E=za.createBox(b,this.body);if(!E)return null;const te=dm(this.borderStyle),ie=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});E.setStyle("position","relative"),E.setStyle("display","inline-block"),E.setStyle("top",ie,"em"),E.setStyle("height",E.height+E.depth,"em"),E.setStyle("width",E.width,"em");const le=new li(null,{classes:"ML__notation"});let De=E.height+E.depth+2*ie;const Re=E.width+2*ie;let Ve="";if(this.notation.horizontalstrike&&(Ve+=this.line(3,50,97,50)),this.notation.verticalstrike&&(Ve+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(Ve+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(Ve+=this.line(3,3,97,97)),this.notation.updiagonalarrow){Ve+=this.line(ie.toString(),(ie+E.depth+E.height).toString(),(ie+E.width).toString(),ie.toString());const hr=.03*Math.sqrt(Re*Re+De*De)*1,Ia=E.width*hr,Yi=(E.depth+E.height)*hr,Ca=ie+E.width;let si=ie;si+Yi-.4*Ia<0&&(si=.4*Ia-Yi),Ve+='<polygon points="',Ve+=`${Ca},${si} ${Ca-Ia-.4*Yi},${si+Yi-.4*Ia} `,Ve+=`${Ca-.7*Ia},${si+.7*Yi} ${Ca-Ia+.4*Yi},${si+Yi+.4*Ia} `,Ve+=`${Ca},${si}`,Ve+=`" stroke='none' fill="${this.strokeColor}"`,Ve+="/>"}let lt=0;if(this.notation.phasorangle){const wn=u0(b),nr=(E.height+E.depth+2*wn+ie).toString(),hr=(E.height+E.depth)/2;Ve+=this.line(ie.toString(),nr,(ie+hr+E.width).toString(),nr),Ve+=this.line(ie.toString(),nr,(ie+hr).toString(),(ie-wn).toString()),De+=wn,lt=hr,E.left+=De/2-ie}if(this.notation.longdiv){const wn=u0(b);De+=wn,Ve+=this.line(ie.toString(),ie.toString(),(ie+E.width).toString(),ie.toString());const nr=.3;lt=nr+wn,E.left+=nr+wn,E.setTop(ie+wn),Ve+='<path d="',Ve+=`M ${ie} ${ie} a${nr} ${(E.depth+E.height+2*wn)/2}, 0, 1, 1, 0 ${E.depth+E.height+2*wn} "`,Ve+=` stroke-width="${fm(b)}" stroke="${this.strokeColor}" fill="none"`,Ve+="/>"}if(le.width=E.width+2*ie+lt,le.height=E.height+ie,le.depth=E.depth+ie,le.setStyle("box-sizing","border-box"),le.setStyle("left",`calc(-${te} / 2 )`),le.setStyle("height",`${Math.floor(100*De)/100}em`),le.setStyle("top",`calc(${te} / 2 )`),this.backgroundcolor&&le.setStyle("background-color",this.backgroundcolor),this.notation.box&&le.setStyle("border","1px solid red"),this.notation.actuarial&&(le.setStyle("border-top",this.borderStyle),le.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(le.setStyle("border-bottom",this.borderStyle),le.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(le.setStyle("border-radius","8px"),le.setStyle("border",this.borderStyle)),this.notation.circle&&(le.setStyle("border-radius","50%"),le.setStyle("border",this.borderStyle)),this.notation.top&&le.setStyle("border-top",this.borderStyle),this.notation.left&&le.setStyle("border-left",this.borderStyle),this.notation.right&&le.setStyle("border-right",this.borderStyle),this.notation.bottom&&le.setStyle("border-bottom",this.borderStyle),Ve){let wn="";this.shadow==="auto"&&(wn+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(wn+=`filter: drop-shadow(${this.shadow})`),wn+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,wn+=' stroke-linecap="round"',this.svgStrokeStyle&&(wn+=` stroke-dasharray="${this.svgStrokeStyle}"`),le.svgStyle=wn,le.svgOverlay=Ve}const zt=new li([le,E]);return zt.setStyle("position","relative"),zt.setStyle("vertical-align",ie,"em"),zt.setStyle("height",`${Math.floor(100*(E.height+E.depth+2*ie))/100}em`),zt.setStyle("display","inline-block"),zt.height=le.height,zt.depth=le.depth,zt.width=le.width-2*ie,zt.left=ie,zt.right=ie,this.caret&&(zt.caret=this.caret),zt.wrap(b)}line(y,b,E,te){return`<line x1="${Bf(y)}" y1="${Bf(b)}" x2="${Bf(E)}" y2="${Bf(te)}" vector-effect="non-scaling-stroke"></line>`}};function Bf(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function dm(a){if(!a)return"1px";const y=a.match(/([0-9][a-zA-Z\%]+)/);return y===null?"1px":y[1]}function fm(a){return(Math.floor(100*a.metrics.sqrtRuleThickness/a.scalingFactor)/100/10).toString()+"em"}function u0(a){const y=a.isDisplayStyle?_i:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var Hd=class Xp extends za{constructor(y,b,E){var te,ie;super(me(Se({},E),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(te=E==null?void 0:E.hasBarLine)!=null?te:!0,this.continuousFraction=(ie=E==null?void 0:E.continuousFraction)!=null?ie:!1,this.numerPrefix=E==null?void 0:E.numerPrefix,this.denomPrefix=E==null?void 0:E.denomPrefix,this.mathstyleName=E==null?void 0:E.mathstyleName,this.leftDelim=E==null?void 0:E.leftDelim,this.rightDelim=E==null?void 0:E.rightDelim,this.fractionNavigationOrder=E==null?void 0:E.fractionNavigationOrder}static fromJson(y){return new Xp(y.above,y.below,y)}toJson(){const y={};return this.continuousFraction&&(y.continuousFraction=!0),this.numerPrefix&&(y.numerPrefix=this.numerPrefix),this.denomPrefix&&(y.denomPrefix=this.denomPrefix),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),this.hasBarLine||(y.hasBarLine=!1),this.mathstyleName&&(y.mathstyleName=this.mathstyleName),this.fractionNavigationOrder&&(y.fractionNavigationOrder=this.fractionNavigationOrder),Se(Se({},super.toJson()),y)}get children(){if(this._children)return this._children;const y=[];if(this.fractionNavigationOrder==="denominator-numerator"){for(const b of this.below)y.push(...b.children),y.push(b);for(const b of this.above)y.push(...b.children),y.push(b)}else{for(const b of this.above)y.push(...b.children),y.push(b);for(const b of this.below)y.push(...b.children),y.push(b)}return this._children=y,y}render(y){var b,E;const te=new dl({parent:y,mathstyle:this.mathstyleName},this.style),ie=te.metrics,le=new dl({parent:te,mathstyle:this.continuousFraction?"":"numerator"},this.style),De=this.numerPrefix?new li([new li(this.numerPrefix),za.createBox(le,this.above)],{isTight:le.isTight,type:"ignore"}):(b=za.createBox(le,this.above,{type:"ignore"}))!=null?b:new li(null,{type:"ignore"}),Re=new dl({parent:te,mathstyle:this.continuousFraction?"":"denominator"},this.style),Ve=this.denomPrefix?new li([new li(this.denomPrefix),za.createBox(Re,this.below,{type:"ignore"})]):(E=za.createBox(Re,this.below,{type:"ignore"}))!=null?E:new li(null,{type:"ignore"}),lt=this.hasBarLine?ie.defaultRuleThickness:0;let zt,wn=0,nr;te.isDisplayStyle?(zt=le.metrics.num1,wn=lt>0?3*lt:7*lt,nr=Re.metrics.denom1):(lt>0?(zt=le.metrics.num2,wn=lt):(zt=le.metrics.num3,wn=3*ie.defaultRuleThickness),nr=Re.metrics.denom2);const hr=[];this.isSelected&&hr.push("ML__selected");const Ia=De.depth,Yi=Ve.height;let Ca;if(lt<=0){const El=zt-Ia-(Yi-nr);El<wn&&(zt+=(wn-El)/2,nr+=(wn-El)/2),Ca=new as({individualShift:[{box:De,shift:-zt,classes:[...hr,"ML__center"]},{box:Ve,shift:nr,classes:[...hr,"ML__center"]}]}).wrap(te)}else{const El=new li(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});El.softWidth=Math.max(De.width,Ve.width),El.height=lt/2,El.depth=lt/2;const Ns=hi+lt/2;zt<wn+Ia+Ns&&(zt=wn+Ia+Ns);const Qs=hi-lt/2;nr<wn+Yi-Qs&&(nr=wn+Yi-Qs),Ca=new as({individualShift:[{box:Ve,shift:nr,classes:[...hr,"ML__center"]},{box:El,shift:-Qs,classes:hr},{box:De,shift:-zt,classes:[...hr,"ML__center"]}]}).wrap(te)}const si=te.isDisplayStyle?ie.delim1:ie.delim2,eo=this.leftDelim?this.bind(y,Xo("open",this.leftDelim,si,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):$o(te,"open");let xi=null;this.continuousFraction?xi=new li(null,{type:"close"}):this.rightDelim?xi=this.bind(y,Xo("close",this.rightDelim,si,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):xi=$o(te,"close");const rl=new li([eo,Ca,xi],{isTight:te.isTight,type:"inner",classes:"mfrac"}),Ll=this.bind(y,rl);return this.caret&&(Ll.caret=this.caret),this.attachSupsub(y,{base:Ll})}},Gu=class Jp extends za{constructor(y,b){var E;super({type:"latex",value:y,mode:"latex"}),this.isSuggestion=(E=b==null?void 0:b.isSuggestion)!=null?E:!1,this.isError=!1}static fromJson(y){const b=new Jp(y.value);return y.isSuggestion&&(b.isSuggestion=!0),y.isError&&(b.isError=!0),b}toJson(){const y={};return this.isSuggestion&&(y.isSuggestion=!0),this.isError&&(y.isError=!0),Se({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new li(this.value,{classes:this.isSuggestion?"ML__suggestion":this.isError?"ML__error":"",type:"latex",maxFontSize:1});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},lf=class qp extends za{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new Gu(b)),this.skipBoundary=!1}static fromJson(y){return new qp("")}toJson(){return super.toJson()}render(y){const b=za.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){var b,E;return(E=(b=this.body)==null?void 0:b.map(te=>te.value).join(""))!=null?E:""}},vh=class $p extends za{constructor(y,b){super(me(Se({},b),{type:"extensible-symbol",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new $p(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.value&&(y.symbol=this.value),y}render(y){var b;const E=y.isDisplayStyle&&this.value!=="\\smallint",te=new li(this.value,{fontFamily:E?"Size2-Regular":"Size1-Regular",classes:"op-symbol "+(E?"large-op":"small-op"),type:"op",maxFontSize:y.scalingFactor,isSelected:this.isSelected});if(!te)return null;te.right=te.italic;const ie=(te.height-te.depth)/2-hi*y.scalingFactor,le=te.italic;te.setTop(ie);let De=te;if(this.superscript||this.subscript){const Re=(b=this.subsupPlacement)!=null?b:"auto";De=Re==="over-under"||Re==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:te,baseShift:ie,slant:le}):this.attachSupsub(y,{base:te})}return new li(this.bind(y,De),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=rn(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[];return E.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),Qi(E)}},Cd=class em extends za{constructor(y){const b=y.body;super(me(Se({},y),{type:"overlap",body:typeof b=="string"?[new za({value:b})]:b,style:y==null?void 0:y.style})),this.skipBoundary=!0,this.align=y==null?void 0:y.align,this.boxType=y==null?void 0:y.boxType}static fromJson(y){return new em(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),Se(Se({},super.toJson()),y)}render(y){const b=za.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new li([b,new li(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},Cc=class tm extends za{constructor(y){var b,E,te,ie;super({type:"overunder",command:y.command,style:y.style,mode:y.mode,body:y.body,skipBoundary:(b=y.skipBoundary)!=null?b:!0}),this.subsupPlacement=y.supsubPlacement,this.svgAbove=y.svgAbove,this.svgBelow=y.svgBelow,this.svgBody=y.svgBody,this.above=y.above,this.below=y.below,this.boxType=(E=y.boxType)!=null?E:"ord",this.paddedBody=(te=y.paddedBody)!=null?te:!1,this.paddedLabels=(ie=y.paddedLabels)!=null?ie:!1}static fromJson(y){return new tm(y)}toJson(){const y=super.toJson();return this.skipBoundary||(y.skipBoundary=!1),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.svgAbove&&(y.svgAbove=this.svgAbove),this.svgBelow&&(y.svgBelow=this.svgBelow),this.svgBody&&(y.svgBody=this.svgBody),this.boxType!=="ord"&&(y.boxType=this.boxType),this.paddedBody&&(y.paddedBody=!0),this.paddedLabels&&(y.paddedLabels=!0),y}render(y){let b=this.svgBody?Nu(this.svgBody):za.createBox(y,this.body,{type:"ignore"});const E=new dl({parent:y,mathstyle:"scriptstyle"},this.style);let te=null;this.svgAbove?te=Nu(this.svgAbove):this.above&&(te=za.createBox(E,this.above,{type:"ignore"}));let ie=null;this.svgBelow?ie=Nu(this.svgBelow):this.below&&(ie=za.createBox(E,this.below,{type:"ignore"})),this.paddedBody&&(b=new li([$o(y,"open"),b,$o(y,"close")],{type:"ignore"}));let le=hm(y,{base:b,above:te,below:ie,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return le?(this.subsupPlacement==="over-under"?le=this.attachLimits(y,{base:le,type:le.type}):le=this.attachSupsub(y,{base:le}),this.caret&&(le.caret=this.caret),this.bind(y,le)):null}};function hm(a,y){if(!y.base)return null;if(!y.above&&!y.below){const De=new li(y.base,{type:y.type});return De.setStyle("position","relative"),De}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let E=null;const te=y.base,ie=0,le=["ML__center"];if(y.paddedAboveBelow&&le.push("ML__label_padding"),y.below&&y.above){const De=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+te.depth+ie;E=new as({bottom:De,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:le},{box:te,classes:["ML__center"]},b,{box:y.above,classes:le},a.metrics.bigOpSpacing5]})}else y.below?E=new as({top:te.height-ie,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:le},{box:te,classes:["ML__center"]}]}):y.above&&(E=new as({bottom:te.depth+ie,children:[{box:te,classes:["ML__center"]},b,{box:y.above,classes:le},a.metrics.bigOpSpacing5]}));return new li(E,{type:y.type})}var sf=class nm extends za{constructor(y){var b,E,te,ie;super(me(Se({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(E=y.smashDepth)!=null?E:!1,this.smashHeight=(te=y.smashHeight)!=null?te:!1,this.smashWidth=(ie=y.smashWidth)!=null?ie:!1}static fromJson(y){return new nm(y)}toJson(){const y={};return this.isInvisible&&(y.isInvisible=!0),this.smashDepth&&(y.smashDepth=!0),this.smashHeight&&(y.smashHeight=!0),this.smashWidth&&(y.smashWidth=!0),Se(Se({},super.toJson()),y)}render(y){const b=new dl({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),za.createBox(b,this.body,{classes:"inner"});const E=za.createBox(this.isInvisible?b:y,this.body);if(!E)return null;if(this.smashWidth){const te=new li(null,{classes:"fix"});return new li([E,te],{classes:"rlap"}).wrap(y)}if(!this.smashHeight&&!this.smashDepth)return E;if(this.smashHeight&&(E.height=0),this.smashDepth&&(E.depth=0),E.children)for(const te of E.children)this.smashHeight&&(te.height=0),this.smashDepth&&(te.depth=0);return new as({firstBaseline:[{box:E}]},{type:E.type}).wrap(y)}},uf=class rm extends za{constructor(y){var b;super(Se({type:"spacing"},y)),this.width=y==null?void 0:y.width,this._braced=(b=y==null?void 0:y.braced)!=null?b:!1}static fromJson(y){return new rm(y)}toJson(){const y=super.toJson();return this.width!==void 0&&(y.width=this.width),this._braced&&(y.braced=!0),y}render(y){var b;if(this.command==="space")return new li(this.mode==="math"?null:" ");let E;if(this.width!==void 0)E=new li(null,{classes:"mspace"}),E.left=y.toEm(this.width);else{const te=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";E=new li(null,{classes:te})}return E=this.bind(y,E),this.caret&&(E.caret=this.caret),E}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=rn(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);const te=(b=this.command)!=null?b:"";return this.width===void 0?te:this._braced&&!("register"in this.width)?`${te}{${Ts(this.width)}}`:`${te}${Ts(this.width)}`}},c0=class am extends za{constructor(y){var b;super(me(Se({},y),{type:"surd",mode:(b=y.mode)!=null?b:"math",style:y.style,displayContainsHighlight:!0,body:y.body})),this.above=y.index}static fromJson(y){return new am(me(Se({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=rn(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=this.command,te=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?Ni(`${E}[${this.aboveToLatex(y)}]`,te):/^[0-9]$/.test(te)?`${E}${te}`:Ni(E,te)}get children(){if(this._children)return this._children;const y=[];if(this.above)for(const b of this.above)y.push(...b.children),y.push(b);if(this.body)for(const b of this.body)y.push(...b.children),y.push(b);return this._children=y,y}render(y){var b;const E=new dl({parent:y,mathstyle:"cramp"},this.style),te=(b=za.createBox(E,this.body,{type:"inner"}))!=null?b:new li(null),ie=E.scalingFactor,le=E.metrics.defaultRuleThickness/ie,De=y.isDisplayStyle?_i:le,Re=new li(null,{classes:"ML__sqrt-line",style:this.style});Re.height=le,Re.softWidth=te.width;let Ve=ie*(le+De/4);const zt=Math.max(ie*2*De,te.height+te.depth)+Ve+le,wn=new dl({parent:y},this.style),nr=this.bind(wn,new li(Xo("inner","\\surd",zt,!1,wn,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!nr)return null;const hr=nr.height+nr.depth-le;hr>te.height+te.depth+Ve&&(Ve=(Ve+hr-(te.height+te.depth))/2),nr.setTop(nr.height-te.height-Ve);const Ia=this.bind(y,new as({firstBaseline:[{box:new li(te)},Ve-2*le,{box:Re},le]})),Yi=za.createBox(new dl({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!Yi){const eo=new li([nr,Ia],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return eo.setStyle("display","inline-block"),eo.setStyle("height",eo.height+eo.depth,"em"),this.caret&&(eo.caret=this.caret),this.bind(y,eo)}const Ca=new as({shift:-.6*(Math.max(nr.height,Ia.height)-Math.max(nr.depth,Ia.depth)),children:[{box:Yi}]}),si=new li([new li(Ca,{classes:"ML__sqrt-index",type:"ignore"}),nr,Ia],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return si.height=nr.height,si.depth=nr.depth,this.caret&&(si.caret=this.caret),this.bind(y,si)}},pm=class extends li{constructor(a){super(null,{type:"skip"}),this._width=a}toMarkup(){return`<span style="display:inline-block;width:${Math.ceil(this.width*100)/100}em"></span>`}};function Lf(a,y){if(!a.parent)return;const b=a.parent.children,E=b.indexOf(a);let te=E-1;for(;te>=0&&b[te].type==="ignore";)te-=1;if(te<0&&a.parent.parent&&a.parent.type==="lift"){Lf(a.parent,y);return}E>0&&b[E-1].type==="skip"?b[E-1].width+=y:b.splice(E,0,new pm(y))}var mm={ord:{op:3,bin:4,rel:5,inner:3},op:{ord:3,op:3,rel:5,inner:3},bin:{ord:4,op:4,open:4,inner:4},rel:{ord:5,op:5,open:5,inner:5},close:{op:3,bin:4,rel:5,inner:3},punct:{ord:3,op:3,rel:3,open:3,punct:3,inner:3},inner:{ord:3,op:3,bin:4,rel:5,open:3,punct:3,inner:3}},vm={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function gm(a){df(a,(y,b)=>{b.type==="bin"&&(!y||/^(middle|bin|op|rel|open|punct)$/.test(y.type))&&(b.type="ord"),(y==null?void 0:y.type)==="bin"&&/^(rel|close|punct)$/.test(b.type)&&(y.type="ord"),b.type!=="ignore"&&(y=b)})}function cf(a,y){if(!a.children)return a;const b=a.children;gm(b);const E=y.getRegisterAsEm("thinmuskip"),te=y.getRegisterAsEm("medmuskip"),ie=y.getRegisterAsEm("thickmuskip");return df(b,(le,De)=>{var Re,Ve,lt;if(!le)return;const zt=le.type,wn=De.isTight?(Re=vm[zt])!=null?Re:null:(Ve=mm[zt])!=null?Ve:null,nr=(lt=wn==null?void 0:wn[De.type])!=null?lt:null;nr===3&&Lf(De,E),nr===4&&Lf(De,te),nr===5&&Lf(De,ie)}),a}function df(a,y,b=void 0){if(!a)return b;a=[...a];for(const E of a)E.type==="lift"?b=df(E.children,y,b):E.type==="ignore"?df(E.children,y):(y(b,E),df(E.children,y),b=E);return b}var gh=class im extends za{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new za({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new im(me(Se({},y),{tooltip:pd(y.tooltip)}))}toJson(){var y;const b=(y=this.tooltip.body)==null?void 0:y.filter(E=>E.type!=="first").map(E=>E.toJson());return me(Se({},super.toJson()),{tooltip:b})}render(y){const b=za.createBox(new dl,this.body);if(!b)return null;const E=new dl({parent:y,mathstyle:"displaystyle"},{fontSize:Wa}),te=js(cf(new li(this.tooltip.render(E),{classes:"ML__tooltip-content"}),E)),ie=new li([te,b],{classes:"ML__tooltip-container"});return this.caret&&(ie.caret=this.caret),this.bind(y,ie)}},Ed=class om extends za{constructor(y,b){super(me(Se({},b),{type:"operator",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.variantStyle=b==null?void 0:b.variantStyle,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new om(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.variantStyle&&(y.variantStyle=this.variantStyle),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.value&&(y.symbol=this.value),y}render(y){var b;const E=new li(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let te=E;if(this.superscript||this.subscript){const ie=(b=this.subsupPlacement)!=null?b:"auto";te=ie==="over-under"||ie==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:E}):this.attachSupsub(y,{base:E})}return new li(this.bind(y,te),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=rn(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),Qi(E)}};function pd(a){if(fe(a))return a.map(E=>pd(E));if(typeof a=="string")return za.fromJson(a);a=Se({},a);for(const E of iu)a[E]&&(a[E]=pd(a[E]));a.args&&(a.args=ym(a.args)),a.array&&(a.array=pd(a.array));const y=a.type;let b;y==="accent"&&(b=z.fromJson(a)),y==="array"&&(b=fs.fromJson(a)),y==="box"&&(b=Mu.fromJson(a)),y==="chem"&&(b=o0.fromJson(a)),y==="composition"&&(b=nd.fromJson(a)),y==="delim"&&(b=l0.fromJson(a)),y==="enclose"&&(b=of.fromJson(a)),y==="error"&&(b=oc.fromJson(a)),y==="extensible-symbol"&&(b=vh.fromJson(a)),y==="genfrac"&&(b=Hd.fromJson(a)),y==="group"&&(b=Zu.fromJson(a)),y==="latex"&&(b=Gu.fromJson(a)),y==="latexgroup"&&(b=lf.fromJson(a)),y==="leftright"&&(b=Fs.fromJson(a)),y==="macro"&&(b=zd.fromJson(a)),y==="macro-argument"&&(b=Lc.fromJson(a)),y==="operator"&&(b=Ed.fromJson(a)),y==="overlap"&&(b=Cd.fromJson(a)),y==="overunder"&&(b=Cc.fromJson(a)),y==="placeholder"&&(b=Ol.fromJson(a)),y==="prompt"&&(b=zc.fromJson(a)),y==="phantom"&&(b=sf.fromJson(a)),y==="sizeddelim"&&(b=s0.fromJson(a)),y==="spacing"&&(b=uf.fromJson(a)),y==="subsup"&&(b=Sc.fromJson(a)),y==="surd"&&(b=c0.fromJson(a)),y==="text"&&(b=nc.fromJson(a)),y==="tooltip"&&(b=gh.fromJson(a)),b||(console.assert(!y||["first","mbin","mrel","mclose","minner","mop","mopen","mord","mpunct","root","space"].includes(y),`MathLive 0.98.5: an unexpected atom type "${y}" was encountered. Add new atom constructors to \`fromJson()\` in "atom.ts"`),b=za.fromJson(a));for(const E of iu)a[E]&&b.setChildren(a[E],E);return a.verbatimLatex!==void 0&&(b.verbatimLatex=a.verbatimLatex),a.subsupPlacement&&(b.subsupPlacement=a.subsupPlacement),a.explicitSubsupPlacement&&(b.explicitSubsupPlacement=!0),a.isFunction&&(b.isFunction=!0),a.isExtensibleSymbol&&(b.isExtensibleSymbol=!0),a.skipBoundary&&(b.skipBoundary=!0),a.captureSelection&&(b.captureSelection=!0),b}function ym(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>pd(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>pd(b)):y)}var d0={main:["Main-Regular","ML__cmr"],"main-italic":["Main-Italic","ML__cmr ML__it"],"main-bold":["Main-Bold","ML__cmr ML__bold"],"main-bolditalic":["Main-BoldItalic","ML__cmr ML__bold ML__it"],normal:["Main-Regular","ML__cmr"],"normal-bold":["Main-Bold","ML__mathbf"],"normal-italic":["Math-Italic","ML__mathit"],"normal-bolditalic":["Math-BoldItalic","ML__mathbfit"],ams:["AMS-Regular","ML__ams"],"ams-bold":["AMS-Regular","ML__ams"],"ams-italic":["AMS-Regular","ML__ams"],"ams-bolditalic":["AMS-Regular","ML__ams"],"sans-serif":["SansSerif-Regular","ML__sans"],"sans-serif-bold":["SansSerif-Regular","ML__sans ML__bold"],"sans-serif-italic":["SansSerif-Regular","ML__sans"],"sans-serif-bolditalic":["SansSerif-Regular","ML__sans"],calligraphic:["Caligraphic-Regular","ML__cal"],"calligraphic-bold":["Caligraphic-Regular","ML__cal ML__bold"],"calligraphic-italic":["Caligraphic-Regular","ML__cal ML__it"],"calligraphic-bolditalic":["Caligraphic-Regular","ML__cal ML__bold ML__it"],script:["Script-Regular","ML__script"],"script-bold":["Script-Regular","ML__script ML__bold"],"script-italic":["Script-Regular","ML__script ML__it"],"script-bolditalic":["Script-Regular","ML__script ML__bold ML__it"],fraktur:["Fraktur-Regular","ML__frak"],"fraktur-bold":["Fraktur-Regular","ML__frak"],"fraktur-italic":["Fraktur-Regular","ML__frak"],"fraktur-bolditalic":["Fraktur-Regular","ML__frak"],monospace:["Typewriter-Regular","ML__tt"],"monospace-bold":["Typewriter-Regular","ML__tt ML__bold"],"monospace-italic":["Typewriter-Regular","ML__tt ML__it"],"monospace-bolditalic":["Typewriter-Regular","ML__tt ML__bold ML__it"],"double-struck":["AMS-Regular","ML__bb"],"double-struck-bold":["AMS-Regular","ML__bb"],"double-struck-italic":["AMS-Regular","ML__bb"],"double-struck-bolditalic":["AMS-Regular","ML__bb"]},yh={"double-struck":/^[A-Z ]$/,script:/^[A-Z ]$/,calligraphic:/^[\dA-Z ]$/,fraktur:/^[\dA-Za-z ]$|^[!"#$%&'()*+,\-./:;=?[]^]$/,monospace:/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/,"sans-serif":/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/},f0=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,bm=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,xm=[/^[a-z]$/,/^[A-Z]$/,f0,bm],wm={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},Sm=class extends Xi{constructor(){super("math")}createAtom(a,y,b){var E,te,ie,le;if(y===null)return new za({type:"mord",mode:"math",command:a,value:a,style:b});const De=window.MathfieldElement.isFunction((E=y.command)!=null?E:a);if(y.definitionType==="symbol"){const Ve=new za({type:(te=y.type)!=null?te:"mord",mode:"math",command:(ie=y.command)!=null?ie:a,value:String.fromCodePoint(y.codepoint),style:b});return De&&(Ve.isFunction=!0),a.startsWith("\\")&&(Ve.verbatimLatex=a),Ve}const Re=new za({type:"mord",mode:"math",command:(le=y.command)!=null?le:a,value:a,style:b});return De&&(Re.isFunction=!0),a.startsWith("\\")&&(Re.verbatimLatex=a),Re}serialize(a,y){const b=Cm(a,me(Se({},y),{defaultMode:"math"}));return b.length===0||y.defaultMode!=="text"?b:["$ ",...b," $"]}getFont(a,y){console.assert(y.variant!==void 0);let{variant:b}=y,{variantStyle:E}=y;b==="normal"&&!E&&/[\u00A3\u0131\u0237]/.test(a.value)&&(b="main",E="italic"),b==="normal"&&!E&&a.value.length===1&&xm.forEach((De,Re)=>{var Ve;De.test(a.value)&&wm[(Ve=y.letterShapeStyle)!=null?Ve:"tex"][Re]==="it"&&(E="italic")}),E==="up"&&(E=void 0);const te=E?b+"-"+E:b;console.assert(d0[te]!==void 0);const[ie,le]=d0[te];return yh[b]&&!yh[b].test(a.value)?(a.value=vn(a.value,b,E),null):(f0.test(a.value)&&(a.classes+=" lcGreek"),le&&(a.classes+=" "+le),ie)}};function Cm(a,y){const{parent:b}=a[0],E=h0(b);return $i(a,"variant").map(te=>{const ie=h0(te[0]);let le="";ie&&ie!==E&&(le={calligraphic:"\\mathcal",fraktur:"\\mathfrak","double-struck":"\\mathbb",script:"\\mathscr",monospace:"\\mathtt","sans-serif":"\\mathsf",normal:"\\mathrm","normal-italic":"\\mathnormal","normal-bold":"\\mathbf","normal-bolditalic":"\\mathbfit",ams:"","ams-italic":"\\mathit","ams-bold":"\\mathbf","ams-bolditalic":"\\mathbfit",main:"","main-italic":"\\mathit","main-bold":"\\mathbf","main-bolditalic":"\\mathbfit"}[ie],console.assert(le!==void 0));const De=Qi(te.map(Re=>Re._serialize(y)));return le?Ni(le,De):De})}function h0(a){if(!a)return"";const{style:y}=a;if(y.variant===void 0)return"";let b=y.variant;return!["calligraphic","fraktur","double-struck","script","monospace","sans-serif"].includes(y.variant)&&y.variantStyle&&y.variantStyle!=="up"&&(b+="-"+y.variantStyle),b}new Sm;function Em(a,y){return a.map(b=>b._serialize(y))}function Am(a,y){return $i(a,"fontShape").map(b=>{const E=Em(b,y),{fontShape:te}=b[0].style;let ie="";return te==="it"&&(ie="\\textit"),te==="sl"&&(ie="\\textsl"),te==="sc"&&(ie="\\textsc"),te==="n"&&(ie="\\textup"),!ie&&te?`{${Ni("\\fontshape",te)}${Qi(E)}}`:ie?Ni(ie,Qi(E)):Qi(E)})}function Mm(a,y){return $i(a,"fontSeries").map(b=>{const E=Am(b,y),{fontSeries:te}=b[0].style;let ie="";return te==="b"&&(ie="\\textbf"),te==="l"&&(ie="\\textlf"),te==="m"&&(ie="\\textmd"),te&&!ie?`{${Ni("\\fontseries",te)}${Qi(E)}}`:ie?Ni(ie,Qi(E)):Qi(E)})}function Dm(a,y){return $i(a,"fontSize").map(b=>{var E,te;const ie=Mm(b,y),le=(te=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(E=b[0].style.fontSize)!=null?E:""])!=null?te:"";return le?`${le} ${Qi(ie)}`:Qi(ie)})}function km(a,y,b){return $i(a,"fontFamily").map(E=>{var te,ie;const le=Dm(E,y),De=(ie={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(te=E[0].style.fontFamily)!=null?te:""])!=null?ie:"";return De?`\\${De}{${Qi(le)}}`:E[0].style.fontFamily?`{\\fontfamily{${E[0].style.fontFamily}} ${Qi(le)}}`:b?`\\text{${Qi(le)}}`:Qi(le)})}var p0={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Nm=class extends Xi{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new nc(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return km(a,me(Se({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,E,te,ie,le;const{fontFamily:De}=y;if(p0[De]?a.classes+=" "+p0[De]:De&&a.setStyle("font-family",De),y.fontShape&&(a.classes+=" ",a.classes+=(b={it:"ML__it",sl:"ML__shape_sl",sc:"ML__shape_sc",ol:"ML__shape_ol"}[y.fontShape])!=null?b:""),y.fontSeries){const Re=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);Re&&(a.classes+=" ",a.classes+=(te={ul:"ML__series_ul",el:"ML__series_el",l:"ML__series_l",sl:"ML__series_sl",m:"",sb:"ML__series_sb",b:"ML__bold",eb:"ML__series_eb",ub:"ML__series_ub"}[(E=Re[1])!=null?E:""])!=null?te:"",a.classes+=" ",a.classes+=(le={uc:"ML__series_uc",ec:"ML__series_ec",c:"ML__series_c",sc:"ML__series_sc",n:"",sx:"ML__series_sx",x:"ML__series_x",ex:"ML__series_ex",ux:"ML__series_ux"}[(ie=Re[2])!=null?ie:""])!=null?le:"")}return"Main-Regular"}};new Nm;var Im=class extends Xi{constructor(){super("latex")}createAtom(a){return new Gu(a)}serialize(a,y){return a.filter(b=>b instanceof Gu&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Im;var Pm={id:"dvorak",locale:"en",displayName:"Dvorak",virtualLayout:"dvorak",platform:"",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["x","X","\u2248","\u02DB"],KeyC:["j","J","\u2206","\xD4"],KeyD:["e","E","\xB4","\xB4"],KeyE:[".",">","\u2265","\u02D8"],KeyF:["u","U","\xA8","\xA8"],KeyG:["i","I","\u02C6","\u02C6"],KeyH:["d","D","\u2202","\xCE"],KeyI:["c","C","\xE7","\xC7"],KeyJ:["h","H","\u02D9","\xD3"],KeyK:["t","T","\u2020","\u02C7"],KeyL:["n","N","\u02DC","\u02DC"],KeyM:["m","M","\xB5","\xC2"],KeyN:["b","B","\u222B","\u0131"],KeyO:["r","R","\xAE","\u2030"],KeyP:["l","L","\xAC","\xD2"],KeyQ:["'",'"',"\xE6","\xC6"],KeyR:["p","P","\u03C0","\u220F"],KeyS:["o","O","\xF8","\xD8"],KeyT:["y","Y","\xA5","\xC1"],KeyU:["g","G","\xA9","\u02DD"],KeyV:["k","K","\u02DA","\uF8FF"],KeyW:[",","<","\u2264","\xAF"],KeyX:["q","Q","\u0153","\u0152"],KeyY:["f","F","\u0192","\xCF"],KeyZ:[";",":","\u2026","\xDA"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["[","{","\u201C","\u201D"],Equal:["]","}","\u2018","\u2019"],BracketLeft:["/","?","\xF7","\xBF"],BracketRight:["=","+","\u2260","\xB1"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:["s","S","\xDF","\xCD"],Quote:["-","_","\u2013","\u2014"],Backquote:["`","~","`","`"],Comma:["w","W","\u2211","\u201E"],Period:["v","V","\u221A","\u25CA"],Slash:["z","Z","\u03A9","\xB8"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},bh={id:"apple.en-intl",displayName:"English (international)",virtualLayout:"qwerty",platform:"apple",locale:"en",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u0131"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\xCE"],KeyE:["e","E","\xB4","\xB4"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\u02DD"],KeyH:["h","H","\u02D9","\xD3"],KeyI:["i","I","\u02C6","\u02C6"],KeyJ:["j","J","\u2206","\xD4"],KeyK:["k","K","\u02DA","\uF8FF"],KeyL:["l","L","\xAC","\xD2"],KeyM:["m","M","\xB5","\xC2"],KeyN:["n","N","\u02DC","\u02DC"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE","\u2030"],KeyS:["s","S","\xDF","\xCD"],KeyT:["t","T","\u2020","\u02C7"],KeyU:["u","U","\xA8","\xA8"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\u02DB"],KeyY:["y","Y","\xA5","\xC1"],KeyZ:["z","Z","\u03A9","\xB8"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["-","_","\u2013","\u2014"],Equal:["=","+","\u2260","\xB1"],BracketLeft:["[","{","\u201C","\u201D"],BracketRight:["]","}","\u2018","\u2019"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:[";",":","\u2026","\xDA"],Quote:["'",'"',"\xE6","\xC6"],Backquote:["`","\u02DC","`","`"],Comma:[",","<","\u2264","\xAF"],Period:[".",">","\u2265","\u02D8"],Slash:["/","?","\xF7","\xBF"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},m0={id:"windows.en-intl",displayName:"English (international)",platform:"windows",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","\xE1","\xC1"],KeyB:["b","B","",""],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\xE9","\xC9"],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","\xED","\xCD"],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","\xF8","\xD8"],KeyM:["m","M","\xB5",""],KeyN:["n","N","\xF1","\xD1"],KeyO:["o","O","\xF3","\xD3"],KeyP:["p","P","\xF6","\xD6"],KeyQ:["q","Q","\xE4","\xC4"],KeyR:["r","R","\xAE",""],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\xFE","\xDE"],KeyU:["u","U","\xFA","\xDA"],KeyV:["v","V","",""],KeyW:["w","W","\xE5","\xC5"],KeyX:["x","X","",""],KeyY:["y","Y","\xFC","\xDC"],KeyZ:["z","Z","\xE6","\xC6"],Digit1:["1","!","\xA1","\xB9"],Digit2:["2","@","\xB2",""],Digit3:["3","#","\xB3",""],Digit4:["4","$","\xA4","\xA3"],Digit5:["5","%","\u20AC",""],Digit6:["6","^","\xBC",""],Digit7:["7","&","\xBD",""],Digit8:["8","*","\xBE",""],Digit9:["9","(","\u2018",""],Digit0:["0",")","\u2019",""],Space:[" "," ","",""],Minus:["-","_","\xA5",""],Equal:["=","+","\xD7","\xF7"],BracketLeft:["[","{","\xAB",""],BracketRight:["]","}","\xBB",""],Backslash:["\\","|","\xAC","\xA6"],Semicolon:[";",":","\xB6","\xB0"],Quote:["'",'"',"\xB4","\xA8"],Backquote:["`","~","",""],Comma:[",","<","\xE7","\xC7"],Period:[".",">","",""],Slash:["/","?","\xBF",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["\\","|","",""]}},v0={id:"linux.en",displayName:"English",platform:"linux",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","a","A"],KeyB:["b","B","b","B"],KeyC:["c","C","c","C"],KeyD:["d","D","d","D"],KeyE:["e","E","e","E"],KeyF:["f","F","f","F"],KeyG:["g","G","g","G"],KeyH:["h","H","h","H"],KeyI:["i","I","i","I"],KeyJ:["j","J","j","J"],KeyK:["k","K","k","K"],KeyL:["l","L","l","L"],KeyM:["m","M","m","M"],KeyN:["n","N","n","N"],KeyO:["o","O","o","O"],KeyP:["p","P","p","P"],KeyQ:["q","Q","q","Q"],KeyR:["r","R","r","R"],KeyS:["s","S","s","S"],KeyT:["t","T","t","T"],KeyU:["u","U","u","U"],KeyV:["v","V","v","V"],KeyW:["w","W","w","W"],KeyX:["x","X","x","X"],KeyY:["y","Y","y","Y"],KeyZ:["z","Z","z","Z"],Digit1:["1","!","1","!"],Digit2:["2","@","2","@"],Digit3:["3","#","3","#"],Digit4:["4","$","4","$"],Digit5:["5","%","5","%"],Digit6:["6","^","6","^"],Digit7:["7","&","7","&"],Digit8:["8","*","8","*"],Digit9:["9","(","9","("],Digit0:["0",")","0",")"],Space:[" "," "," "," "],Minus:["-","_","-","_"],Equal:["=","+","=","+"],BracketLeft:["[","{","[","{"],BracketRight:["]","}","]","}"],Backslash:["\\","|","\\","|"],Semicolon:[";",":",";",":"],Quote:["'",'"',"'",'"'],Backquote:["`","~","`","~"],Comma:[",","<",",","<"],Period:[".",">",".",">"],Slash:["/","?","/","?"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}},Bm={id:"apple.french",locale:"fr",displayName:"French",platform:"apple",virtualLayout:"azerty",score:0,mapping:{KeyA:["q","Q","\u2021","\u03A9"],KeyB:["b","B","\xDF","\u222B"],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\xEA","\xCA"],KeyF:["f","F","\u0192","\xB7"],KeyG:["g","G","\uFB01","\uFB02"],KeyH:["h","H","\xCC","\xCE"],KeyI:["i","I","\xEE","\xEF"],KeyJ:["j","J","\xCF","\xCD"],KeyK:["k","K","\xC8","\xCB"],KeyL:["l","L","\xAC","|"],KeyM:[",","?","\u221E","\xBF"],KeyN:["n","N","~","\u0131"],KeyO:["o","O","\u0153","\u0152"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xAE","\u201A"],KeyS:["s","S","\xD2","\u2211"],KeyT:["t","T","\u2020","\u2122"],KeyU:["u","U","\xBA","\xAA"],KeyV:["v","V","\u25CA","\u221A"],KeyW:["z","Z","\xC2","\xC5"],KeyX:["x","X","\u2248","\u2044"],KeyY:["y","Y","\xDA","\u0178"],KeyZ:["w","W","\u2039","\u203A"],Digit1:["&","1","\uF8FF","\xB4"],Digit2:["\xE9","2","\xEB","\u201E"],Digit3:['"',"3","\u201C","\u201D"],Digit4:["'","4","\u2018","\u2019"],Digit5:["(","5","{","["],Digit6:["\xA7","6","\xB6","\xE5"],Digit7:["\xE8","7","\xAB","\xBB"],Digit8:["!","8","\xA1","\xDB"],Digit9:["\xE7","9","\xC7","\xC1"],Digit0:["\xE0","0","\xF8","\xD8"],Space:[" "," "," "," "],Minus:[")","\xB0","}","]"],Equal:["-","_","\u2014","\u2013"],BracketLeft:["^","\xA8","\xF4","\xD4"],BracketRight:["$","*","\u20AC","\xA5"],Backslash:["`","\xA3","@","#"],Semicolon:["m","M","\xB5","\xD3"],Quote:["\xF9","%","\xD9","\u2030"],Backquote:["<",">","\u2264","\u2265"],Comma:[";",".","\u2026","\u2022"],Period:[":","/","\xF7","\\"],Slash:["=","+","\u2260","\xB1"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",".",",","."],IntlBackslash:["@","#","\u2022","\u0178"],NumpadEqual:["=","=","=","="]}},Lm={id:"windows.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"windows",score:0,mapping:{KeyA:["q","Q","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:[",","?","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["a","A","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["z","Z","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["w","W","",""],Digit1:["&","1","",""],Digit2:["\xE9","2","~",""],Digit3:['"',"3","#",""],Digit4:["'","4","{",""],Digit5:["(","5","[",""],Digit6:["-","6","|",""],Digit7:["\xE8","7","`",""],Digit8:["_","8","\\",""],Digit9:["\xE7","9","^",""],Digit0:["\xE0","0","@",""],Space:[" "," ","",""],Minus:[")","\xB0","]",""],Equal:["=","+","}",""],BracketLeft:["^","\xA8","",""],BracketRight:["$","\xA3","\xA4",""],Backslash:["*","\xB5","",""],Semicolon:["m","M","",""],Quote:["\xF9","%","",""],Backquote:["\xB2","","",""],Comma:[";",".","",""],Period:[":","/","",""],Slash:["!","\xA7","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},Om={id:"linux.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"linux",score:0,mapping:{KeyA:["q","Q","@","\u03A9"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:[",","?","\u0301","\u030B"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["z","Z","\xAB","<"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["w","W","\u0142","\u0141"],Digit1:["&","1","\xB9","\xA1"],Digit2:["\xE9","2","~","\u215B"],Digit3:['"',"3","#","\xA3"],Digit4:["'","4","{","$"],Digit5:["(","5","[","\u215C"],Digit6:["-","6","|","\u215D"],Digit7:["\xE8","7","`","\u215E"],Digit8:["_","8","\\","\u2122"],Digit9:["\xE7","9","^","\xB1"],Digit0:["\xE0","0","@","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:[")","\xB0","]","\xBF"],Equal:["=","+","}","\u0328"],BracketLeft:["\u0302","\u0308","\u0308","\u030A"],BracketRight:["$","\xA3","\xA4","\u0304"],Backslash:["*","\xB5","\u0300","\u0306"],Semicolon:["m","M","\xB5","\xBA"],Quote:["\xF9","%","\u0302","\u030C"],Backquote:["\xB2","~","\xAC","\xAC"],Comma:[";",".","\u2500","\xD7"],Period:[":","/","\xB7","\xF7"],Slash:["!","\xA7","\u0323","\u0307"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"]}},Tm={id:"apple.german",locale:"de",displayName:"German",virtualLayout:"qwertz",platform:"apple",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u2039"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\u2122"],KeyE:["e","E","\u20AC","\u2030"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\xCC"],KeyH:["h","H","\xAA","\xD3"],KeyI:["i","I","\u2044","\xDB"],KeyJ:["j","J","\xBA","\u0131"],KeyK:["k","K","\u2206","\u02C6"],KeyL:["l","L","@","\uFB02"],KeyM:["m","M","\xB5","\u02D8"],KeyN:["n","N","~","\u203A"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\xAB","\xBB"],KeyR:["r","R","\xAE","\xB8"],KeyS:["s","S","\u201A","\xCD"],KeyT:["t","T","\u2020","\u02DD"],KeyU:["u","U","\xA8","\xC1"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\xD9"],KeyY:["z","Z","\u03A9","\u02C7"],KeyZ:["y","Y","\xA5","\u2021"],Digit1:["1","!","\xA1","\xAC"],Digit2:["2",'"',"\u201C","\u201D"],Digit3:["3","\xA7","\xB6","#"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","[","\uFB01"],Digit6:["6","&","]","^"],Digit7:["7","/","|","\\"],Digit8:["8","(","{","\u02DC"],Digit9:["9",")","}","\xB7"],Digit0:["0","=","\u2260","\xAF"],Space:[" "," "," "," "],Minus:["\xDF","?","\xBF","\u02D9"],Equal:["\xB4","`","'","\u02DA"],BracketLeft:["\xFC","\xDC","\u2022","\xB0"],BracketRight:["+","*","\xB1","\uF8FF"],Backslash:["#","'","\u2018","\u2019"],Semicolon:["\xF6","\xD6","\u0153","\u0152"],Quote:["\xE4","\xC4","\xE6","\xC6"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u221E","\u02DB"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",",",".","."],IntlBackslash:["^","\xB0","\u201E","\u201C"],NumpadEqual:["=","=","=","="]}},Rm={id:"windows.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","\xB5",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","@",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["z","Z","",""],KeyZ:["y","Y","",""],Digit1:["1","!","",""],Digit2:["2",'"',"\xB2",""],Digit3:["3","\xA7","\xB3",""],Digit4:["4","$","",""],Digit5:["5","%","",""],Digit6:["6","&","",""],Digit7:["7","/","{",""],Digit8:["8","(","[",""],Digit9:["9",")","]",""],Digit0:["0","=","}",""],Space:[" "," ","",""],Minus:["\xDF","?","\\","\u1E9E"],Equal:["\xB4","`","",""],BracketLeft:["\xFC","\xDC","",""],BracketRight:["+","*","~",""],Backslash:["#","'","",""],Semicolon:["\xF6","\xD6","",""],Quote:["\xE4","\xC4","",""],Backquote:["^","\xB0","",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","|",""]}},Fm={id:"linux.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201C","\u2018"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0323","\u0307"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","\u201D","\u2019"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\u017F","\u1E9E"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201E","\u201A"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xAB","\u2039"],KeyY:["z","Z","\u2190","\xA5"],KeyZ:["y","Y","\xBB","\u203A"],Digit1:["1","!","\xB9","\xA1"],Digit2:["2",'"',"\xB2","\u215B"],Digit3:["3","\xA7","\xB3","\xA3"],Digit4:["4","$","\xBC","\xA4"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["\xDF","?","\\","\xBF"],Equal:["\u0301","\u0300","\u0327","\u0328"],BracketLeft:["\xFC","\xDC","\u0308","\u030A"],BracketRight:["+","*","~","\xAF"],Backslash:["#","'","\u2019","\u0306"],Semicolon:["\xF6","\xD6","\u030B","\u0323"],Quote:["\xE4","\xC4","\u0302","\u030C"],Backquote:["\u0302","\xB0","\u2032","\u2033"],Comma:[",",";","\xB7","\xD7"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],PrintScreen:["","","",""],PageUp:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",",","",","],IntlBackslash:["<",">","|","\u0331"],AltRight:["\r","\r","\r","\r"],MetaRight:[".",".",".","."]}},Km={id:"apple.spanish",locale:"es",displayName:"Spanish ISO",platform:"apple",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\xDF",""],KeyC:["c","C","\xA9"," "],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0192","\uFB01"],KeyG:["g","G","\uF8FF","\uFB02"],KeyH:["h","H","\u2122"," "],KeyI:["i","I"," "," "],KeyJ:["j","J","\xB6","\xAF"],KeyK:["k","K","\xA7","\u02C7"],KeyL:["l","L"," ","\u02D8"],KeyM:["m","M","\xB5","\u02DA"],KeyN:["n","N"," ","\u02D9"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE"," "],KeyS:["s","S","\u222B"," "],KeyT:["t","T","\u2020","\u2021"],KeyU:["u","U"," "," "],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\xE6","\xC6"],KeyX:["x","X","\u2211","\u203A"],KeyY:["y","Y","\xA5"," "],KeyZ:["z","Z","\u03A9","\u2039"],Digit1:["1","!","|","\u0131"],Digit2:["2",'"',"@","\u02DD"],Digit3:["3","\xB7","#","\u2022"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","\u221E","\u2030"],Digit6:["6","&","\xAC"," "],Digit7:["7","/","\xF7","\u2044"],Digit8:["8","(","\u201C","\u2018"],Digit9:["9",")","\u201D","\u2019"],Digit0:["0","=","\u2260","\u2248"],Space:[" "," "," "," "],Minus:["'","?","\xB4","\xB8"],Equal:["\xA1","\xBF","\u201A","\u02DB"],BracketLeft:["`","^","[","\u02C6"],BracketRight:["+","*","]","\xB1"],Backslash:["\xE7","\xC7","}","\xBB"],Semicolon:["\xF1","\xD1","~","\u02DC"],Quote:["\xB4","\xA8","{","\xAB"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u201E",""],Period:[".",":","\u2026","\u2026"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[",",",",",",","],IntlBackslash:["\xBA","\xAA","\\","\xB0"]}},zm={id:"windows.spanish",locale:"es",displayName:"Spanish",platform:"windows",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["z","Z","",""],Digit1:["1","!","|",""],Digit2:["2",'"',"@",""],Digit3:["3","\xB7","#",""],Digit4:["4","$","~",""],Digit5:["5","%","\u20AC",""],Digit6:["6","&","\xAC",""],Digit7:["7","/","",""],Digit8:["8","(","",""],Digit9:["9",")","",""],Digit0:["0","=","",""],Space:[" "," ","",""],Minus:["'","?","",""],Equal:["\xA1","\xBF","",""],BracketLeft:["`","^","[",""],BracketRight:["+","*","]",""],Backslash:["\xE7","\xC7","}",""],Semicolon:["\xF1","\xD1","",""],Quote:["\xB4","\xA8","{",""],Backquote:["\xBA","\xAA","\\",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},Hm={id:"linux.spanish",locale:"es",displayName:"Spanish",platform:"linux",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["z","Z","\xAB","<"],Digit1:["1","!","|","\xA1"],Digit2:["2",'"',"@","\u215B"],Digit3:["3","\xB7","#","\xA3"],Digit4:["4","$","~","$"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["'","?","\\","\xBF"],Equal:["\xA1","\xBF","\u0303","~"],BracketLeft:["\u0300","\u0302","[","\u030A"],BracketRight:["+","*","]","\u0304"],Backslash:["\xE7","\xC7","}","\u0306"],Semicolon:["\xF1","\xD1","~","\u030B"],Quote:["\u0301","\u0308","{","{"],Backquote:["\xBA","\xAA","\\","\\"],Comma:[",",";","\u2500","\xD7"],Period:[".",":","\xB7","\xF7"],Slash:["-","_","\u0323","\u0307"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadEnter:["\r","\r","\r","\r"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}};function g0(a){const y=a.split("+"),b={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:y.pop()};return y.includes("shift")&&(b.shift=!0),y.includes("alt")&&(b.alt=!0),y.includes("ctrl")&&(b.ctrl=!0),y.includes("cmd")&&(b.cmd=!0),y.includes("win")&&(b.win=!0),y.includes("meta")&&(b.meta=!0),b}function Zd(a){let y="";return a.shift&&(y+="shift+"),a.alt&&(y+="alt+"),a.ctrl&&(y+="ctrl+"),a.cmd&&(y+="cmd+"),a.win&&(y+="win+"),a.meta&&(y+="meta+"),y+a.key}var Zm={enter:"[Enter]",escape:"[Escape]",backspace:"[Backspace]",tab:"[Tab]",space:"[Space]",pausebreak:"[Pause]",insert:"[Insert]",home:"[Home]",pageup:"[PageUp]",delete:"[Delete]",end:"[End]",pagedown:"[PageDown]",right:"[ArrowRight]",left:"[ArrowLeft]",down:"[ArrowDown]",up:"[ArrowUp]",numpad0:"[Numpad0]",numpad1:"[Numpad1]",numpad2:"[Numpad2]",numpad3:"[Numpad3]",numpad4:"[Numpad4]",numpad5:"[Numpad5]",numpad6:"[Numpad6]",numpad7:"[Numpad7]",numpad8:"[Numpad8]",numpad9:"[Numpad9]",numpad_divide:"[NumpadDivide]",numpad_multiply:"[NumpadMultiply]",numpad_subtract:"[NumpadSubtract]",numpad_add:"[NumpadAdd]",numpad_decimal:"[NumpadDecimal]",numpad_separator:"[NumpadComma]",capslock:"[Capslock]",f1:"[F1]",f2:"[F2]",f3:"[F3]",f4:"[F4]",f5:"[F5]",f6:"[F6]",f7:"[F7]",f8:"[F8]",f9:"[F9]",f10:"[F10]",f11:"[F11]",f12:"[F12]",f13:"[F13]",f14:"[F14]",f15:"[F15]",f16:"[F16]",f17:"[F17]",f18:"[F18]",f19:"[F19]"},ff=[],hf;function xh(){switch(Ee()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function gc(a){(!a.platform||a.platform===xh())&&ff.push(a)}function Wm(a,y){var b;const E={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:""};if(!a)return E;for(const[te,ie]of Object.entries(y.mapping)){if(ie[0]===a)return E.key=`[${te}]`,E;if(ie[1]===a)return E.shift=!0,E.key=`[${te}]`,E;if(ie[2]===a)return E.alt=!0,E.key=`[${te}]`,E;if(ie[3]===a)return E.shift=!0,E.alt=!0,E.key=`[${te}]`,E}return E.key=(b=Zm[a])!=null?b:"",E}function _m(a){if(a.code)return a;const y=Object.entries(pf().mapping);let b=!1,E=!1,te="";for(let ie=0;ie<4;ie++){for(const[le,De]of y)if(De[ie]===a.key){te=le,ie===3?(b=!0,E=!0):ie===2?b=!0:ie===1&&(E=!0);break}if(te)break}return new KeyboardEvent(a.type,me(Se({},a),{altKey:b,shiftKey:E,code:te}))}function Vm(a){var y,b;if(!a||a.key==="Unidentified"||a.key==="Dead")return;const E=a.shiftKey&&a.altKey?3:a.altKey?2:a.shiftKey?1:0;for(const te of ff)((y=te.mapping[a.code])==null?void 0:y[E])===a.key?te.score+=1:(b=te.mapping[a.code])!=null&&b[E]&&(te.score=0);ff.sort((te,ie)=>ie.score-te.score)}function jm(a){hf=ff.find(y=>a.startsWith(y.locale))}function pf(){return hf!=null?hf:ff[0]}function Um(){switch(xh()){case"apple":return bh;case"windows":return m0;case"linux":return v0}return bh}switch(xh()){case"apple":gc(bh),gc(Bm),gc(Km),gc(Tm);break;case"windows":gc(m0),gc(Lm),gc(zm),gc(Rm);break;case"linux":gc(v0),gc(Om),gc(Hm),gc(Fm);break}gc(Pm);function wh(a){var y;const b=/macos|ios/.test(Ee()),E=a.split("+");let te="";for(const ie of E)te&&(te+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),ie.startsWith("[Key")?te+=ie.slice(4,5):ie.startsWith("Key")?te+=ie.slice(3,4):ie.startsWith("[Digit")?te+=ie.slice(6,7):ie.startsWith("Digit")?te+=ie.slice(5,6):te+=(y={cmd:"\u2318",meta:b?"\u2318":"Ctrl",shift:b?"\u21E7":"Shift",alt:b?"\u2325":"Alt",ctrl:b?"\u2303":"Ctrl","\n":b?"\u23CE":"Return","[return]":b?"\u23CE":"Return","[enter]":b?"\u2324":"Enter","[tab]":b?"\u21E5":"Tab","[escape]":"Esc","[backspace]":b?"\u232B":"Backspace","[delete]":b?"\u2326":"Del","[pageup]":b?"\u21DE":"Page Up","[pagedown]":b?"\u21DF":"Page Down","[home]":b?"\u2912":"Home","[end]":b?"\u2913":"End","[space]":"Space","[equal]":"=","[minus]":"-","[comma]":",","[slash]":"/","[backslash]":"\\","[bracketleft]":"[","[bracketright]":"]",semicolon:";",period:".",comma:",",minus:"-",equal:"=",quote:"'",backslash:"\\",intlbackslash:"\\",backquote:"`",slash:"/",numpadmultiply:"* &#128290;",numpaddivide:"/ &#128290;",numpadsubtract:"- &#128290;",numpadadd:"+ &#128290;",numpaddecimal:". &#128290;",numpadcomma:", &#128290;",help:"help",left:"\u21E0",up:"\u21E1",right:"\u21E2",down:"\u21E3","[arrowleft]":"\u21E0","[arrowup]":"\u21E1","[arrowright]":"\u21E2","[arrowdown]":"\u21E3"}[ie.toLowerCase()])!=null?y:ie.toUpperCase();return te}function Of(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((E,te)=>({x:E.x+te.clientX,y:E.y+te.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function Ad(a){const y={alt:!1,control:!1,shift:!1,meta:!1};return(a instanceof MouseEvent||a instanceof PointerEvent||a instanceof TouchEvent||a instanceof KeyboardEvent)&&(a.altKey&&(y.alt=!0),a.ctrlKey&&(y.control=!0),a.metaKey&&(y.meta=!0),a.shiftKey&&(y.shift=!0)),y}function Gm(a,y){return!a&&y||a&&!y?!1:!a||!y?!0:a.alt===y.alt&&a.control===y.control&&a.shift===y.shift&&a.meta===y.meta}var Ym=new Set(["Backquote","Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6","Digit7","Digit8","Digit9","Minus","Equal","IntlYen","KeyQ","KeyW","KeyE","KeyR","KeyT","KeyY","KeyU","KeyI","KeyO","KeyP","BracketLeft","BracketRight","Backslash","KeyA","KeyS","KeyD","KeyF","KeyG","KeyH","KeyJ","KeyK","KeyL","Semicolon","Quote","IntlBackslash","KeyZ","KeyX","KeyC","KeyV","KeyB","KeyN","KeyM","Comma","Period","Slash","IntlRo","Space","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9","NumpadAdd","NumpadComma","NumpadDecimal","NumpadDivide","NumpadEqual","NumpadHash","NumpadMultiply","NumpadParenLeft","NumpadParenRight","NumpadStar","NumpadSubstract"]);function Tf(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:Ym.has(a.code)}function Rf(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var Hc=class sd{static get scrim(){return sd._scrim||(sd._scrim=new sd),sd._scrim}static open(y){sd.scrim.open(y)}static close(){sd.scrim.close()}static get state(){return sd.scrim.state}static get element(){return sd.scrim.element}constructor(y){var b,E;this.lightDismiss=(b=y==null?void 0:y.lightDismiss)!=null?b:!0,this.translucent=(E=y==null?void 0:y.translucent)!=null?E:!1,this.state="closed"}get element(){if(this._element)return this._element;const y=document.createElement("div");return y.setAttribute("role","presentation"),y.style.position="fixed",y.style.contain="content",y.style.top="0",y.style.left="0",y.style.right="0",y.style.bottom="0",y.style.zIndex="var(--scrim-zindex, 10099)",y.style.outline="none",this.translucent?(y.style.background="rgba(255, 255, 255, .2)",y.style.backdropFilter="contrast(40%)"):y.style.background="transparent",this._element=y,y}open(y){var b;if(this.state!=="closed")return;this.state="opening",this.onDismiss=y==null?void 0:y.onDismiss,this.savedActiveElement=Rf();const{element:E}=this;((b=y==null?void 0:y.root)!=null?b:document.body).appendChild(E),E.addEventListener("click",this),document.addEventListener("touchmove",this,!1),document.addEventListener("scroll",this,!1);const te=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const ie=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${ie+te}px`,y!=null&&y.child&&E.append(y.child),this.state="open"}close(){var y,b,E,te;if(this.state!=="open"){console.assert(this.element.parentElement!==null);return}this.state="closing",typeof this.onDismiss=="function"&&this.onDismiss(),this.onDismiss=void 0;const{element:ie}=this;ie.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),ie.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Rf()!==this.savedActiveElement&&((te=(E=this.savedActiveElement)==null?void 0:E.focus)==null||te.call(E)),ie.innerHTML="",this.state="closed"}handleEvent(y){this.lightDismiss&&(y.target===this._element&&y.type==="click"?(this.close(),y.preventDefault(),y.stopPropagation()):y.target===document&&(y.type==="touchmove"||y.type==="scroll")&&(this.close(),y.preventDefault(),y.stopPropagation()))}};function Qm(a,y,b){let E=null,te=null,ie=!1,le=!1,De=!1;const Re=new AbortController,Ve=Re.signal;return a.addEventListener("keydown",lt=>{if(ie||lt.key==="Process"||lt.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(lt.code)){E=null;return}E=lt,te=null,b.onKeystroke(lt)?a.textContent="":E=null},{capture:!0,signal:Ve}),a.addEventListener("keypress",lt=>{ie||(E&&te&&b.onKeystroke(E),te=lt)},{capture:!0,signal:Ve}),a.addEventListener("compositionstart",lt=>{a.textContent="",ie=!0,b.onCompositionStart(lt.data)},{capture:!0,signal:Ve}),a.addEventListener("compositionupdate",lt=>{ie&&b.onCompositionUpdate(lt.data)},{capture:!0,signal:Ve}),a.addEventListener("compositionend",lt=>{a.textContent="",ie&&(ie=!1,b.onCompositionEnd(lt.data))},{capture:!0,signal:Ve}),a.addEventListener("beforeinput",lt=>lt.stopImmediatePropagation(),{signal:Ve}),a.addEventListener("input",lt=>{var zt;if(!ie&&(a.textContent="",lt.inputType!=="insertCompositionText")){if(lt.inputType==="insertFromPaste"){lt.preventDefault(),lt.stopPropagation();return}b.onInput((zt=lt.data)!=null?zt:""),lt.preventDefault(),lt.stopPropagation()}},{signal:Ve}),a.addEventListener("paste",lt=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(lt)||lt.preventDefault(),lt.stopImmediatePropagation()},{signal:Ve}),a.addEventListener("cut",lt=>b.onCut(lt),{capture:!0,signal:Ve}),a.addEventListener("copy",lt=>b.onCopy(lt),{capture:!0,signal:Ve}),a.addEventListener("blur",lt=>{var zt,wn;if(((wn=(zt=lt.relatedTarget)==null?void 0:zt._mathfield)==null?void 0:wn.element)===y){a.focus({preventScroll:!0}),lt.preventDefault(),lt.stopPropagation();return}const nr=Hc.state;if(nr==="open"||nr==="opening"){lt.preventDefault(),lt.stopPropagation();return}if(lt.relatedTarget===lt.target.getRootNode().host){lt.preventDefault(),lt.stopPropagation();return}De||le||(De=!0,E=null,te=null,b.onBlur(),De=!1)},{capture:!0,signal:Ve}),a.addEventListener("focus",lt=>{De||le||(le=!0,b.onFocus(),le=!1)},{capture:!0,signal:Ve}),{dispose:()=>Re.abort(),cancelComposition:()=>{ie&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!le&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Rf()===a,setAriaLabel:lt=>a.setAttribute("aria-label",lt),setValue:lt=>{var zt;a.textContent=lt,a.style.left="-1000px",(zt=window.getSelection())==null||zt.selectAllChildren(a)},moveTo:(lt,zt)=>{a.style.top=`${zt}px`,a.style.left=`${lt}px`}}}function Wd(a){var y;if(!a||!Tf(a))return"";let b;return a.key==="Unidentified"&&a.target&&(b=a.target.value),b=(y=b!=null?b:a.key)!=null?y:a.code,/^(Dead|Return|Enter|Tab|Escape|Delete|PageUp|PageDown|Home|End|Help|ArrowLeft|ArrowRight|ArrowUp|ArrowDown)$/.test(b)&&(b=""),b}function y0(a){a=_m(a);const y=[];return a.ctrlKey&&y.push("ctrl"),a.metaKey&&y.push("meta"),a.altKey&&y.push("alt"),a.shiftKey&&y.push("shift"),y.length===0?`[${a.code}]`:(y.push(`[${a.code}]`),y.join("+"))}function Xm(a){if(pt()){const y=Ee(),b=a.startsWith("!"),E=a.endsWith(y);if(b&&!E||!b&&E)return!0}return a==="!other"?!1:a==="other"}function Jm(a,y,b){if(a.length===0)return"";const E=Zd(g0(y0(b))),te=Zd({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(Ee()),cmd:!1,win:!1});for(let ie=a.length-1;ie>=0;ie--)if((a[ie].key===E||a[ie].key===te)&&(!a[ie].ifMode||a[ie].ifMode===y))return a[ie].command;return""}function b0(a){let y=a;return fe(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function qm(a,y){let b=[];if(typeof y=="string"){const ie=dd[y];fe(ie)?b=ie.slice():ie&&b.push(ie)}const E=b0(y),te=new RegExp("^"+E.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const ie of a)te.test(b0(ie.command))&&b.push(ie.key);return b.map(wh)}function $m(a,y){if(a.ifPlatform&&!/^!?(macos|windows|android|ios|chromeos|other)$/.test(a.ifPlatform))throw new Error(`Unexpected platform "${a.ifPlatform}" for keybinding ${a.key}`);if(a.ifLayout!==void 0&&(y.score===0||!a.ifLayout.includes(y.id)))return;const b=g0(a.key);let E=a.ifPlatform;if(b.cmd){if(E&&E!=="macos"&&E!=="ios")throw new Error('Unexpected "cmd" modifier with platform "'+E+`"
"cmd" modifier can only be used with macOS or iOS platform.`);E||(E=Ee()==="ios"?"ios":"macos"),b.win=!1,b.cmd=!1,b.meta=!0}if(b.win){if(E&&E!=="windows")throw new Error('Unexpected "win" modifier with platform "'+E+`"
"win" modifier can only be used with Windows platform.`);E="windows",b.win=!1,b.cmd=!1,b.meta=!0}if(E&&!Xm(E))return;if(/^\[.+\]$/.test(b.key))return me(Se({},a),{key:Zd(b)});const te=Wm(b.key,y);if(!te)return me(Se({},a),{key:Zd(b)});if(te.shift&&b.shift||te.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${Sh(a.command)}) is conflicting with the key combination ${Zd(te)} using the ${y.displayName} keyboard layout`);return te.shift=te.shift||b.shift,te.alt=te.alt||b.alt,te.meta=b.meta,te.ctrl=b.ctrl,me(Se({},a),{key:Zd(te)})}function Sh(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function ev(a,y){const b=[],E=[];for(const te of a)try{const ie=$m(te,y);if(!ie)continue;const le=E.find(De=>De.key===ie.key&&De.ifMode===ie.ifMode);if(le)throw new Error(`Ambiguous key binding ${te.key} (${Sh(te.command)}) matches ${le.key} (${Sh(le.command)}) with the ${y.displayName} keyboard layout`);E.push(ie)}catch(ie){ie instanceof Error&&b.push(ie.message)}return[E,b]}var tv=class extends is{constructor(){super("latex")}createAtom(a){return new Gu(a)}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("application/x-latex")||y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Eu(a)),a.startRecording(),!0):!1}insert(a,y,b){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b||(b={}),b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const te=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ou(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const ie=[];for(const Re of y)he.test(Re)&&ie.push(new Gu(Re));let le=a.at(a.position);if(le instanceof lf&&(le=le.lastChild),!(le.parent instanceof lf)){const Re=new lf("");le.parent.addChildAfter(Re,le),le=Re.firstChild}const De=le.parent.addChildrenAfter(ie,le);return a.silenceNotifications=te,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(De)):De&&(a.position=a.offsetOf(De))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function nv(a){return a.atoms.find(y=>y.type==="latexgroup")}function mf(a){var y,b;const E=a.atoms.find(te=>te.type==="latexgroup");return E?(b=(y=E.body)==null?void 0:y.filter(te=>te.type==="latex"))!=null?b:[]:[]}function x0(a,y){var b;let E=0,te=!1;const ie=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;E<=ie&&!te;){const Re=a.at(E);te=Re instanceof Gu&&Re.isSuggestion,te||E++}if(!te)return[void 0,void 0];let le=E,De=!1;for(;le<=ie&&!De;){const Re=a.at(le);De=!(Re instanceof Gu&&Re.isSuggestion),De||le++}return[E-1,le-1]}new tv;function Ff(a){const y=mf(a.model).filter(b=>b.isSuggestion);if(y.length!==0){a.model.position=a.model.offsetOf(y[0].leftSibling);for(const b of y)b.parent.removeChild(b)}}function vf(a,y){var b;const{model:E}=a;Ff(a);for(const lt of mf(E))lt.isError=!1;if(!E.selectionIsCollapsed||a.options.popoverPolicy==="off"){Vd(a);return}const te=[];let ie=E.at(E.position);for(;ie&&ie instanceof Gu&&/^[a-zA-Z\*]$/.test(ie.value);)ie=ie.leftSibling;if(ie&&ie instanceof Gu&&ie.value==="\\")for(te.push(ie),ie=ie.rightSibling;ie&&ie instanceof Gu&&/^[a-zA-Z\*]$/.test(ie.value);)te.push(ie),ie=ie.rightSibling;const le=te.map(lt=>lt.value).join(""),De=un(a,le);if(De.length===0){if(/^\\[a-zA-Z\*]+$/.test(le))for(const lt of te)lt.isError=!0;Vd(a);return}const Re=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=Re<0?De.length-1:Re%De.length;const Ve=De[a.suggestionIndex];if(Ve!==le){const lt=te[te.length-1];lt.parent.addChildrenAfter([...Ve.slice(le.length-Ve.length)].map(zt=>new Gu(zt,{isSuggestion:!0})),lt),Md(a,{interactive:!0})}av(a,De)}function w0(a){const[y,b]=x0(a,{before:a.position});if(y===void 0||b===void 0)return!1;let E=!1;return a.getAtoms([y,b]).forEach(te=>{te.isSuggestion&&(te.isSuggestion=!1,E=!0)}),E}function _d(a,y="accept",b){var E,te;Vd(a);const ie=nv(a.model);if(!ie)return!1;if(y==="accept-suggestion"||y==="accept-all"){const Ve=mf(a.model).filter(lt=>lt.isSuggestion);if(Ve.length!==0){for(const lt of Ve)lt.isSuggestion=!1;a.model.position=a.model.offsetOf(Ve[Ve.length-1])}if(y==="accept-suggestion")return Ve.length!==0}const De=mf(a.model).filter(Ve=>!Ve.isSuggestion).map(Ve=>Ve.value).join(""),Re=ie.leftSibling;return ie.parent.removeChild(ie),a.model.position=a.model.offsetOf(Re),a.switchMode((E=b==null?void 0:b.mode)!=null?E:"math"),y==="reject"||(is.insert(a.model,De,{selectionMode:(te=b==null?void 0:b.selectItem)!=null&&te?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function Kf(a){var y;let b=document.getElementById(a);return b?b.dataset.refcount=Number(Number.parseInt((y=b.dataset.refcount)!=null?y:"0")+1).toString():(b=document.createElement("div"),b.setAttribute("aria-hidden","true"),b.dataset.refcount="1",b.id=a,document.body.append(b)),b}function Ch(a){var y;const b=document.getElementById(a);if(!b)return;const E=Number.parseInt((y=b.getAttribute("data-refcount"))!=null?y:"0");E<=1?b.remove():b.dataset.refcount=Number(E-1).toString()}function rv(a,y){const b=new dl({from:a.context}),E=new za({mode:"math",type:"root",body:Wu(y,{context:b})}),te=js(cf(new li(E.render(b),{classes:"ML__base"}),b));return bu(te,{classes:"ML__latex"}).toMarkup()}function av(a,y){var b;if(y.length===0){Vd(a);return}let E="";for(const[ie,le]of y.entries()){const De=le,Re=rv(a,le),Ve=qm(a.keybindings,De).join("<br>");E+=`<li role="button" data-command="${De}" ${ie===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${De}</span><span class="ML__popover__command">${Re}</span>`,Ve&&(E+=`<span class="ML__popover__keybinding">${Ve}</span>`),E+="</li>"}const te=iv(a,`<ul>${E}</ul>`);Eh()&&((b=te.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var ie;te&&!Eh()&&(te.classList.add("is-visible"),zf(a),(ie=te.querySelector(".ML__popover__current"))==null||ie.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function Eh(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function zf(a,y){var b;if(!a.element||a.element.mathfield!==a||!Eh())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){Vd(a);return}if(y!=null&&y.deferred){setTimeout(()=>zf(a),32);return}const E=mc(a.field);if(!E)return;const te=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,ie=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,le=window.innerWidth-document.documentElement.clientWidth,De=window.innerHeight-document.documentElement.clientHeight,Re=window.mathVirtualKeyboard.boundingRect.height,Ve=document.getElementById("mathlive-suggestion-popover");E.x+Ve.offsetWidth/2>ie-le?Ve.style.left=`${ie-Ve.offsetWidth-le}px`:E.x-Ve.offsetWidth/2<0?Ve.style.left="0":Ve.style.left=`${E.x-Ve.offsetWidth/2}px`;const lt=E.y-E.height;te-De-Re-E.y<lt?(Ve.classList.add("ML__popover--reverse-direction"),Ve.classList.remove("top-tip"),Ve.classList.add("bottom-tip"),Ve.style.top=`${E.y-E.height-Ve.offsetHeight-15}px`):(Ve.classList.remove("ML__popover--reverse-direction"),Ve.classList.add("top-tip"),Ve.classList.remove("bottom-tip"),Ve.style.top=`${E.y+15}px`)}function Vd(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function iv(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=Kf("mathlive-suggestion-popover"),hc("suggestion-popover"),hc("core"),b.addEventListener("pointerdown",E=>E.preventDefault()),b.addEventListener("click",E=>{let te=E.target;for(;te&&!te.dataset.command;)te=te.parentElement;te&&(_d(a,"reject"),is.insert(a.model,te.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function ov(){document.getElementById("mathlive-suggestion-popover")&&(Ch("mathlive-suggestion-popover"),x("suggestion-popover"),x("core"))}function lv(){const a=String(new Error().stack).replace(/^Error.*\n/,"").split(`
`);if(a.length===0)return console.error(`Can't use relative paths to specify assets location because the sourcefile location could not be determined (unexpected stack trace format "${new Error().stack}").`),"";let y=a[1],b=y.match(/http.*\.ts[\?:]/);return b&&(y=a[2]),b=y.match(/(https?:.*):[0-9]+:[0-9]+/),b||(b=y.match(/at (.*(\.ts))[\?:]/),b||(b=y.match(/at (.*(\.mjs|\.js))[\?:]/))),b?b[1]:(console.error(a),console.error(`Can't use relative paths to specify assets location because the source file location could not be determined (unexpected location "${y}").`),"")}var Hf=null,S0,C0,Ah=((C0=(S0=globalThis==null?void 0:globalThis.document)==null?void 0:S0.currentScript)==null?void 0:C0.src)||lv();function E0(a){return od(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(Hf===null)try{const y=yield fetch(Ah,{method:"HEAD"});y.status===200&&(Hf=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${Ah}")`)}return new URL(a,Hf!=null?Hf:Ah).href})}function sv(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var yc="not-loaded";function uv(){return od(this,null,function*(){return yc="not-loaded",Zf()})}function Zf(){return od(this,null,function*(){var a;if(yc!=="not-loaded")return;if(yc="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){yc="ready";return}if(document.body.classList.remove("ML__fonts-did-not-load"),"fonts"in document){const b=["KaTeX_Main","KaTeX_Math","KaTeX_AMS","KaTeX_Caligraphic","KaTeX_Fraktur","KaTeX_SansSerif","KaTeX_Script","KaTeX_Typewriter","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4"],E=Array.from(document.fonts).map(le=>le.family);if(b.every(le=>E.includes(le))){yc="ready";return}if(!window.MathfieldElement.fontsDirectory){yc="not-loaded";return}const te=yield E0(window.MathfieldElement.fontsDirectory);if(!te){document.body.classList.add("ML__fonts-did-not-load"),yc="error";return}const ie=[["KaTeX_Main-Regular"],["KaTeX_Main-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_Main-Bold",{weight:"bold"}],["KaTeX_Main-Italic",{style:"italic"}],["KaTeX_Math-Italic",{style:"italic"}],["KaTeX_Math-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_AMS-Regular"],["KaTeX_Caligraphic-Regular"],["KaTeX_Caligraphic-Bold",{weight:"bold"}],["KaTeX_Fraktur-Regular"],["KaTeX_Fraktur-Bold",{weight:"bold"}],["KaTeX_SansSerif-Regular"],["KaTeX_SansSerif-Bold",{weight:"bold"}],["KaTeX_SansSerif-Italic",{style:"italic"}],["KaTeX_Script-Regular"],["KaTeX_Typewriter-Regular"],["KaTeX_Size1-Regular"],["KaTeX_Size2-Regular"],["KaTeX_Size3-Regular"],["KaTeX_Size4-Regular"]].map(le=>sv(le[0].replace(/-[a-zA-Z]+$/,""),`${te}/${le[0]}`,le[1]));try{(yield Promise.all(ie.map(De=>{try{return De.load()}catch(Re){}}))).forEach(De=>document.fonts.add(De)),yc="ready";return}catch(le){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${te}"`,{cause:le}),document.body.classList.add("ML__fonts-did-not-load")}yc="error"}})}function cv(a){let y=0;for(let b=0;b<a.length;b++)y=y*31+a.charCodeAt(b),y=y|0;return Math.abs(y)}function Eu(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{ic(a)&&a.dirty&&(a.atomBoundsCache=new Map,Md(a,y),a.atomBoundsCache=void 0)})))}function dv(a,y){var b;y=y!=null?y:{};const E=new dl({from:me(Se({},a.context),{atomIdsSettings:{seed:y.forHighlighting?cv(za.serialize([a.model.root],{expandMacro:!1,defaultMode:a.options.defaultMode})):"random",groupNumbers:(b=y.forHighlighting)!=null?b:!1},letterShapeStyle:a.options.letterShapeStyle}),mathstyle:a.options.defaultMode==="inline-math"?"textstyle":"displaystyle"}),te=a.model.root.render(E);return bu(cf(te,E),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function A0(a,y){const{model:b}=a;b.root.caret=void 0,b.root.isSelected=!1,b.root.containsCaret=!0;for(const te of b.atoms)te.caret=void 0,te.isSelected=!1,te.containsCaret=!1;if(b.selectionIsCollapsed){const te=b.at(b.position);te.caret=a.model.mode;let ie=te.parent;for(;ie;)ie.containsCaret=!0,ie=ie.parent}else{const te=b.getAtoms(b.selection,{includeChildren:!0});for(const ie of te)ie.isSelected=!0}return dv(a,y).toMarkup()}function Md(a,y){if(!ic(a))return;y!=null||(y={});const b=a.element.querySelector("[part=virtual-keyboard-toggle]");b&&(b.style.display=a.hasEditableContent?"":"none");const E=a.field;if(!E)return;const te=a.isSelectionEditable&&a.hasFocus(),ie=E.classList.contains("ML__focused");ie&&!te?E.classList.remove("ML__focused"):!ie&&te&&E.classList.add("ML__focused");let le=A0(a,y);const De=a.element.querySelector("[part=menu-toggle]");if(De&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?De.style.display="none":De.style.display=""),a.model.atoms.length<=1){const Re=a.options.contentPlaceholder;Re&&(le+=`<span part=placeholder class="ML__content-placeholder">${_u(Re)}</span>`)}E.innerHTML=window.MathfieldElement.createHTML(le),Wf(a,y.interactive),a.dirty=!1}function Wf(a,y){const b=a.field;if(!b)return;for(const De of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))De.remove();!(y!=null&&y)&&yc!=="error"&&yc!=="ready"&&setTimeout(()=>{yc==="ready"?Wf(a):setTimeout(()=>Wf(a),128)},32);const E=a.model,te=b.offsetWidth,ie=b.getBoundingClientRect().width;let le=Math.floor(ie)/te;if(le=isNaN(le)?1:le,E.selectionIsCollapsed){zf(a,{deferred:!0});let De=E.at(E.position);for(;De&&De.type!=="prompt"&&!(De.containsCaret&&De.displayContainsHighlight);)De=De.parent;if(De!=null&&De.containsCaret&&De.displayContainsHighlight){const Re=fd(a,Pc(a,De),le);if(Re){Re.left/=le,Re.right/=le,Re.top/=le,Re.bottom/=le;const Ve=document.createElement("div");Ve.classList.add("ML__contains-highlight"),Ve.style.position="absolute",Ve.style.left=`${Re.left+1}px`,Ve.style.top=`${Math.ceil(Re.top)}px`,Ve.style.width=`${Math.ceil(Re.right-Re.left)}px`,Ve.style.height=`${Math.ceil(Re.bottom-Re.top)}px`,b.insertBefore(Ve,b.childNodes[0])}}return}for(const De of fv(Ds(a,{excludeAtomsWithBackground:!0}))){De.left/=le,De.right/=le,De.top/=le,De.bottom/=le;const Re=document.createElement("div");Re.classList.add("ML__selection"),Re.style.position="absolute",Re.style.left=`${De.left}px`,Re.style.top=`${De.top}px`,Re.style.width=`${Math.ceil(De.right-De.left)}px`,Re.style.height=`${Math.ceil(De.bottom-De.top-1)}px`,b.insertBefore(Re,b.childNodes[0])}}function fv(a){let y=[];for(const b of a){let E=!1;for(const te of y)if(b.left===te.left&&b.right===te.right&&b.top===te.top&&b.bottom===te.bottom){E=!0;break}E||y.push(b)}a=y,y=[];for(const b of a){let E=0;for(const te of a)if(b.left>=te.left&&b.right<=te.right&&b.top>=te.top&&b.bottom<=te.bottom&&(E+=1,E>1))break;E===1&&y.push(b)}return y}var M0=3,Zc;function pc(a,y){y=Se({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),Zc||(Zc={});for(const b of Object.keys(a))console.assert(!Zc[b],"Selector already defined: ",b),Zc[b]=me(Se({},y),{fn:a[b]})}function Mh(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return Mh(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),Zc[y]}function jd(a){var y;return(y=Mh(a))==null?void 0:y.target}function hv(a,y){var b;if(!y)return!1;let E,te=[],ie=!1,le=!1;fe(y)?(E=y[0],te=y.slice(1)):E=y,E=E.replace(/-\w/g,Ve=>Ve[1].toUpperCase());const De=Zc[E],Re=De==null?void 0:De.target;if(Re==="model"){if(!a.isSelectionEditable&&(De!=null&&De.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(E)&&(E!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(E)),/^complete/.test(E)||Ff(a),Zc[E].fn(a.model,...te),vf(a),le=!0,ie=!0}else if(Re==="virtual-keyboard")le=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,ie=!0;else if(Zc[E]){if(!a.isSelectionEditable&&(De!=null&&De.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(E)&&a.flushInlineShortcutBuffer(),le=Zc[E].fn(a,...te),ie=!0}else throw new Error(`Unknown command "${E}"`);return Re!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||De!=null&&De.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),De!=null&&De.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),le&&Eu(a),ie}function pv(a,y){var b;if(!a)return!1;a.focus(),wp.keypressVibration&&vt()&&navigator.vibrate(M0);const E=Mh(y);window.MathfieldElement.playSound((b=E==null?void 0:E.audioFeedback)!=null?b:"keypress");const te=a.executeCommand(y);return a.scrollIntoView(),te}pc({performWithFeedback:(a,y)=>pv(a,y)});function mv(a){return vf(a,{atIndex:a.suggestionIndex+1}),!1}function vv(a){return vf(a,{atIndex:a.suggestionIndex-1}),!1}pc({complete:_d},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),pc({nextSuggestion:mv,previousSuggestion:vv},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var _f="mathlive#virtual-keyboard-message";function Dh(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===_f}var gv=class lm{constructor(){this.targetOrigin=window.origin,this.originValidator="none",this._boundingRect=new DOMRect(0,0,0,0),this._isShifted=!1,window.addEventListener("message",this),this.sendMessage("proxy-created"),this.listeners={}}static get singleton(){return this._singleton||(this._singleton=new lm),this._singleton}set alphabeticLayout(y){this.sendMessage("update-setting",{alphabeticLayout:y})}set layouts(y){this.sendMessage("update-setting",{layouts:y})}get normalizedLayouts(){return[]}set editToolbar(y){this.sendMessage("update-setting",{editToolbar:y})}set actionKeycap(y){this.sendMessage("update-setting",{actionKeycap:y})}set shiftKeycap(y){this.sendMessage("update-setting",{shiftKeycap:y})}set backspaceKeycap(y){this.sendMessage("update-setting",{backspaceKeycap:y})}set tabKeycap(y){this.sendMessage("update-setting",{tabKeycap:y})}set container(y){throw new Error("Container inside an iframe cannot be changed")}show(y){this.sendMessage("show",y)}hide(y){this.sendMessage("hide",y)}get isShifted(){return this._isShifted}get visible(){return this._boundingRect.height>0}set visible(y){y?this.show():this.hide()}get boundingRect(){return this._boundingRect}executeCommand(y){return this.sendMessage("execute-command",{command:y}),!0}updateToolbar(y){this.sendMessage("update-toolbar",y)}update(y){this.sendMessage("update-setting",y)}connect(){this.sendMessage("connect")}disconnect(){this.sendMessage("disconnect")}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}handleEvent(y){if(Dh(y)){if(!Zs(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");this.handleMessage(y.data)}}handleMessage(y){const{action:b}=y;if(b==="execute-command"){const{command:E}=y;jd(E)==="virtual-keyboard"&&this.executeCommand(E);return}if(b==="synchronize-proxy"){this._boundingRect=y.boundingRect,this._isShifted=y.isShifted;return}if(b==="geometry-changed"){this._boundingRect=y.boundingRect,this.dispatchEvent(new Event("geometrychange"));return}}sendMessage(y,b={}){if(!window.top)throw new DOMException("A frame does not have access to the top window and can\u2018t communicate with the keyboard. Review virtualKeyboardTargetOrigin and originValidator on mathfields embedded in an iframe","SecurityError");window.top.postMessage(Se({type:_f,action:y},b),this.targetOrigin)}},D0={numeric:{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",rows:[[{latex:"x",shift:"y",variants:["y","z","t","r","x^2","x^n","x^{#?}","x_n","x_i","x_{#?}",{latex:"f(#?)",class:"small"},{latex:"g(#?)",class:"small"}]},{latex:"n",shift:"a",variants:["i","j","p","k","a","u"]},"[separator-5]","[7]","[8]","[9]","[/]","[separator-5]",{latex:"\\exponentialE",shift:"\\ln",variants:["\\exp","\\times 10^{#?}","\\ln","\\log_{10}","\\log"]},{latex:"\\imaginaryI",variants:["\\Re","\\Im","\\imaginaryJ","\\Vert #0 \\Vert"]},{latex:"\\pi",shift:"\\sin",variants:["\\prod",{latex:"\\theta",aside:"theta"},{latex:"\\rho",aside:"rho"},{latex:"\\tau",aside:"tau"},"\\sin","\\cos","\\tan"]}],[{label:"<",latex:"<",class:"hide-shift",shift:{latex:"\\le",label:"\u2264"}},{label:">",latex:">",class:"hide-shift",shift:{latex:"\\ge",label:"\u2265"}},"[separator-5]","[4]","[5]","[6]","[*]","[separator-5]",{class:"hide-shift",latex:"#@^2}",shift:"#@^{\\prime}}"},{latex:"#@^{#0}}",class:"hide-shift",shift:"#@_{#?}"},{class:"hide-shift",latex:"\\sqrt{#0}",shift:{latex:"\\sqrt[#0]{#?}}"}}],["[(]","[)]","[separator-5]","[1]","[2]","[3]","[-]","[separator-5]",{latex:"\\int^{\\infty}_{0}\\!#?\\,\\mathrm{d}x",class:"small hide-shift",shift:"\\int",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{class:"hide-shift",latex:"\\forall",shift:"\\exists"},{label:"[backspace]",width:1}],[{label:"[shift]",width:2},"[separator-5]","[0]","[.]","[=]","[+]","[separator-5]","[left]","[right]",{label:"[action]",width:1}]]},greek:{label:"&alpha;&beta;&gamma;",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.greek",rows:[[{label:"<i>&#x03c6;</i>",class:"MLK__tex hide-shift",insert:"\\varphi",aside:"phi var.",shift:"\\Phi"},{label:"<i>&#x03c2;</i>",class:"MLK__tex hide-shift",insert:"\\varsigma",aside:"sigma var.",shift:"\\Sigma"},{label:"<i>&#x03f5;</i>",class:"MLK__tex hide-shift",insert:"\\epsilon",aside:"espilon",shift:'\\char"0190'},{label:"<i>&rho;</i>",class:"MLK__tex hide-shift",insert:"\\rho",aside:"rho",shift:'\\char"3A1'},{label:"<i>&tau;</i>",class:"MLK__tex hide-shift",insert:"\\tau",aside:"tau",shift:'\\char"3A4'},{label:"<i>&upsilon;</i>",class:"MLK__tex hide-shift",insert:"\\upsilon",aside:"upsilon",shift:"\\Upsilon"},{label:"<i>&theta;</i>",class:"MLK__tex hide-shift",insert:"\\theta",aside:"theta",shift:"\\Theta"},{label:"<i>&iota;</i>",class:"MLK__tex hide-shift",insert:"\\iota",aside:"iota",shift:'\\char"399'},{label:"<i>&omicron;</i>",class:"MLK__tex hide-shift",insert:"\\omicron",aside:"omicron",shift:'\\char"39F'},{label:"<i>&pi;</i>",class:"MLK__tex hide-shift",insert:"\\pi",aside:"pi",shift:"\\Pi"}],["[separator-5]",{label:"<i>&alpha;</i>",class:"MLK__tex hide-shift",insert:"\\alpha",aside:"alpha",shift:'\\char"391'},{label:"<i>&sigma;</i>",class:"MLK__tex hide-shift",insert:"\\sigma",aside:"sigma",shift:"\\Sigma"},{label:"<i>&delta;</i>",class:"MLK__tex hide-shift",insert:"\\delta",aside:"delta",shift:"\\Delta"},{latex:"\\phi",class:"MLK__tex hide-shift",insert:"\\phi",aside:"phi",shift:"\\Phi"},{label:"<i>&gamma;</i>",class:"MLK__tex hide-shift",insert:"\\gamma",aside:"gamma",shift:"\\Gamma"},{label:"<i>&eta;</i>",class:"MLK__tex hide-shift",insert:"\\eta",aside:"eta",shift:'\\char"397'},{label:"<i>&xi;</i>",class:"MLK__tex hide-shift",insert:"\\xi",aside:"xi",shift:"\\Xi"},{label:"<i>&kappa;</i>",class:"MLK__tex hide-shift",insert:"\\kappa",aside:"kappa",shift:"\\Kappa"},{label:"<i>&lambda;</i>",class:"MLK__tex hide-shift",insert:"\\lambda",aside:"lambda",shift:"\\Lambda"},"[separator-5]"],["[shift]",{label:"<i>&zeta;</i>",class:"MLK__tex hide-shift",insert:"\\zeta",aside:"zeta",shift:'\\char"396'},{label:"<i>&chi;</i>",class:"MLK__tex hide-shift",insert:"\\chi",aside:"chi",shift:'\\char"3A7'},{label:"<i>&psi;</i>",class:"MLK__tex hide-shift",insert:"\\psi",aside:"zeta",shift:"\\Psi"},{label:"<i>&omega;</i>",class:"MLK__tex hide-shift",insert:"\\omega",aside:"omega",shift:"\\Omega"},{label:"<i>&beta;</i>",class:"MLK__tex hide-shift",insert:"\\beta",aside:"beta",shift:'\\char"392'},{label:"<i>&nu;</i>",class:"MLK__tex hide-shift",insert:"\\nu",aside:"nu",shift:'\\char"39D'},{label:"<i>&mu;</i>",class:"MLK__tex hide-shift",insert:"\\mu",aside:"mu",shift:'\\char"39C'},"[backspace]"],["[separator]",{label:"<i>&#x03b5;</i>",class:"MLK__tex",insert:"\\varepsilon",aside:"espilon var."},{label:"<i>&#x03d1;</i>",class:"MLK__tex",insert:"\\vartheta",aside:"theta var."},{label:"<i>&#x3f0;</i>",class:"MLK__tex",insert:"\\varkappa",aside:"kappa var."},{label:"<i>&#x03d6;</i>",class:"MLK__tex",insert:"\\varpi",aside:"pi var."},{label:"<i>&#x03f1;</i>",class:"MLK__tex",insert:"\\varrho",aside:"rho var."},"[left]","[right]","[action]"]]},symbols:{label:"&infin;\u2260\u2208",labelClass:"MLK__tex",tooltip:"keyboard.tooltip.symbols",rows:[[{latex:"\\sin",shift:"\\sin^{-1}",variants:[{class:"small",latex:"\\sinh"},{class:"small",latex:"\\sin^{-1}"},{class:"small",latex:"\\arsinh"}]},"\\ln",{latex:"\\mathrm{abs}",insert:"\\mathrm{abs}\\left(#0\\right)"},{latex:"\\rarr",shift:"\\rArr",variants:[{latex:"\\implies",aside:"implies"},{latex:"\\to",aside:"to"},"\\dashv",{latex:"\\roundimplies",aside:"round implies"}]},{latex:"\\exists",variants:["\\nexists"],shift:"\\nexists"},{latex:"\\in",shift:"\\notin",variants:["\\notin","\\owns"]},"\\cup",{latex:"\\overrightarrow{#@}",shift:"\\overleftarrow{#@}",variants:["\\overleftarrow{#@}","\\bar{#@}","\\vec{#@}","\\hat{#@}","\\check{#@}","\\dot{#@}","\\ddot{#@}","\\mathring{#@}","\\breve{#@}","\\acute{#@}","\\tilde{#@}","\\grave{#@}"]},{class:"small",latex:"\\lim_{#?}",shift:"\\lim_{x\\to\\infty}",variants:[{class:"small",latex:"\\liminf_{#?}"},{class:"small",latex:"\\limsup_{#?}"}]},"\\exponentialE"],[{latex:"\\cos",shift:"\\cos^{-1}",variants:[{class:"small",latex:"\\cosh"},{class:"small",latex:"\\cos^{-1}"},{class:"small",latex:"\\arcosh"}]},{latex:"\\log",shift:"\\log_{10}",variants:["\\log_{#0}","\\log_{10}"]},"\\left\\vert#0\\right\\vert",{latex:"\\larr",shift:"\\lArr",variants:[{latex:"\\impliedby",aside:"implied by"},{latex:"\\gets",aside:"gets"},"\\lArr","\\vdash",{latex:"\\models",aside:"models"}]},{latex:"\\forall",shift:"\\lnot",variants:[{latex:"\\land",aside:"and"},{latex:"\\lor",aside:"or"},{latex:"\\oplus",aside:"xor"},{latex:"\\lnot",aside:"not"},{latex:"\\downarrow",aside:"nor"},{latex:"\\uparrow",aside:"nand"},{latex:"\\curlywedge",aside:"nor"},{latex:"\\bar\\curlywedge",aside:"nand"}]},{latex:"\\ni",shift:"\\not\\owns"},"\\cap",{latex:"\\overline{#@}",shift:"\\underline{#@}",variants:["\\overbrace{#@}","\\overlinesegment{#@}","\\overleftrightarrow{#@}","\\overrightarrow{#@}","\\overleftarrow{#@}","\\overgroup{#@}","\\underbrace{#@}","\\underlinesegment{#@}","\\underleftrightarrow{#@}","\\underrightarrow{#@}","\\underleftarrow{#@}","\\undergroup{#@}"]},{class:"hide-shift",latex:"\\int",shift:"\\iint",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\smallint",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\intop","\\iiint","\\oiint","\\oiiint","\\intclockwise","\\varointclockwise","\\ointctrclockwise","\\intctrclockwise"]},{latex:"\\pi",shift:"\\tau",variants:["\\tau"]}],[{latex:"\\tan",shift:"\\tan^{-1}",variants:[{class:"small",latex:"\\tanh"},{class:"small",latex:"\\tan^{-1}"},{class:"small",latex:"\\artanh"},{class:"small",latex:"\\arctan"},{class:"small",latex:"\\arctg"},{class:"small",latex:"\\tg"}]},{latex:"\\exp",insert:"\\exp\\left(#0\\right)",variants:["\\exponentialE^{#0}"]},"\\left\\Vert#0\\right\\Vert",{latex:"\\lrArr",shift:"\\leftrightarrow",variants:[{latex:"\\iff",aside:"if and only if"},"\\leftrightarrow","\\leftrightarrows","\\Leftrightarrow",{latex:"^\\biconditional",aside:"biconditional"}]},{latex:"\\vert",shift:"!"},{latex:"#@^{\\complement}",aside:"complement",variants:[{latex:"\\setminus",aside:"set minus"},{latex:"\\smallsetminus",aside:"small set minus"}]},{latex:"\\subset",shift:"\\subseteq",variants:["\\subset","\\subseteq","\\subsetneq","\\varsubsetneq","\\subsetneqq","\\nsubset","\\nsubseteq","\\supset","\\supseteq","\\supsetneq","\\supsetneqq","\\nsupset","\\nsupseteq"]},{latex:"#@^{\\prime}",shift:"#@^{\\doubleprime}",variants:["#@^{\\doubleprime}","#@\\degree"]},{latex:"\\mathrm{d}",shift:"\\partial",variants:["\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{latex:"\\infty",variants:["\\aleph_0","\\aleph_1","\\omega","\\mathfrak{m}"]}],[{label:"[shift]",width:2},{class:"box",latex:",",shift:";",variants:[";","?"]},{class:"box",latex:"\\colon",shift:"\\Colon",variants:[{latex:"\\Colon",aside:"such that",class:"box"},{latex:":",aside:"ratio",class:"box"},{latex:"\\vdots",aside:"",class:"box"},{latex:"\\ddots",aside:"",class:"box"},{latex:"\\ldotp",aside:"low dot",class:"box"},{latex:"\\cdotp",aside:"center dot",class:"box"},{latex:"\\ldots",aside:"low ellipsis",class:"box"},{latex:"\\cdots",aside:"center ellipsis",class:"box"},{latex:"\\therefore",aside:"therefore",class:"box"},{latex:"\\because",aside:"because",class:"box"}]},{class:"box",latex:"\\cdot",aside:"centered dot",shift:"\\ast",variants:["\\circ","\\bigcirc","\\bullet","\\odot","\\oslash","\\circledcirc","\\ast","\\star","\\times","\\doteq","\\doteqdot"]},"[separator]","[left]","[right]",{label:"[backspace]",width:1,class:"action hide-shift"},{label:"[action]",width:1}]]},compact:{label:"compact",rows:[["[+]","[-]","[*]","[/]","[=]","[.]","[(]","[)]","\\sqrt{#0}","#@^{#?}"],["[1]","[2]","[3]","[4]","[5]","[6]","[7]","[8]","[9]","[0]"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]},minimalist:{label:"minimalist",layers:[{style:`
.minimalist-backdrop {
display: flex;
justify-content: center;
}
.minimalist-container {
--keycap-height: 40px;
--keycap-max-width: 53px;
--keycap-small-font-size: 12px;
background: var(--keyboard-background);
padding: 20px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border: 1px solid var(--keyboard-border);
box-shadow: 0 0 32px rgb(0 0 0 / 30%);
}
`,backdrop:"minimalist-backdrop",container:"minimalist-container",rows:[["+","-","\\times",{latex:"\\frac{#@}{#0}",class:"small"},"=","[.]","(",")",{latex:"\\sqrt{#0}",class:"small"},{latex:"#@^{#?}",class:"small"}],["1","2","3","4","5","6","7","8","9","0"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]}]},"numeric-only":{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",id:"numeric-only",rows:[["7","8","9","[separator]",{label:"[backspace]",width:2}],["4","5","6","[separator]","[separator]","[separator]"],["1","2","3","[separator]","[separator]","[separator]"],["0",{label:"[.]",variants:[]},"-","[separator]","[left]","[right]"]]}},Vf={0:["\\varnothing","\\infty"],1:["\\frac{1}{#@}","#@^{-1}","\\times 10^{#?}","\\phi","\\imaginaryI"],2:["\\frac{1}{2}","#@^2","\\sqrt2","\\exponentialE"],3:["\\frac{1}{3}","#@^3","\\sqrt3","\\pi"],4:["\\frac{1}{4}","#@^4"],5:["\\frac{1}{5}","#@^5","\\sqrt5"],6:["\\frac{1}{6}","#@^6"],7:["\\frac{1}{7}","#@^7"],8:["\\frac{1}{8}","#@^8"],9:["\\frac{1}{9}","#@^9"],".":[".",",",";","\\colon"],",":["{,}",".",";","\\colon"],a:[{latex:"\\aleph",aside:"aleph"},{latex:"\\forall",aside:"for all"},"\xE0","\xE1","\xE2","\xE4","\xE6"],b:[{latex:"\\beth",aside:"beth"}],c:[{latex:"\\C",aside:"set of complex numbers"},"\xE7"],d:[{latex:"\\daleth",aside:"daleth"}],e:[{latex:"\\exponentialE",aside:"exponential e"},{latex:"\\exists",aside:"there is"},{latex:"\\nexists",aside:"there isn\u2019t"},"\xE8","\xE9","\xEA","\xEB"],g:[{latex:"\\gimel",aside:"gimel"}],h:[{latex:"\\hbar",aside:"h bar"},{latex:"\\hslash",aside:"h slash"}],i:[{latex:"\\imaginaryI",aside:"imaginary i"},"\xEC","\xED","\xEE","\xEF"],j:[{latex:"\\imaginaryJ",aside:"imaginary j"}],l:[{latex:"\\ell",aside:"ell"}],n:[{latex:"\\mathbb{N}",aside:"set of natural numbers"},"\xF1"],o:["\xF8","\u0153","\xF2","\xF3","\xF4","\xF6","\u0153"],p:[{latex:"\\mathbb{P}",aside:"set of primes"}],q:[{latex:"\\mathbb{Q}",aside:"set of rational numbers"}],r:[{latex:"\\mathbb{R}",aside:"set of real numbers"}],u:["\xF9","\xFA","\xFB","\xFC"],z:[{latex:"\\mathbb{Z}",aside:"set of integers"}],y:["\xFD","\xFF"],space:[{latex:'\\char"203A\\!\\char"2039',insert:"\\!",aside:"negative thin space<br>\u207B\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\,\\char"2039',insert:"\\,",aside:"thin space<br>\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\:\\char"2039',insert:"\\:",aside:"medium space<br>\u2074\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\;\\char"2039',insert:"\\;",aside:"thick space<br>\u2075\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\ \\char"2039',insert:"\\ ",aside:"\u2153 em"},{latex:'\\char"203A\\enspace\\char"2039',insert:"\\enspace",aside:"\xBD em"},{latex:'\\char"203A\\quad\\char"2039',insert:"\\quad",aside:"1 em"},{latex:'\\char"203A\\qquad\\char"2039',insert:"\\qquad",aside:"2 em"}]},gf;function k0(a,y){var b,E,te;const ie=md.singleton;if(!ie)return;const le=Ud(a),De=(E=(b=ie.getKeycap(le==null?void 0:le.id))==null?void 0:b.variants)!=null?E:"";if(typeof De=="string"&&!N0(De)||Array.isArray(De)&&De.length===0){y==null||y();return}const Re={};let Ve="";for(const Ia of bv(De)){const Yi=P0(Ia),Ca=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);Re[Ca]=Yi;const[si,eo]=jf(Yi);Ve+=`<div id=${Ca} class="item ${eo}">${si}</div>`}const lt=document.createElement("div");lt.setAttribute("aria-hidden","true"),lt.className="MLK__variant-panel",lt.style.height="auto";const zt=Object.keys(Re).length;let wn=5;zt===1?wn=1:zt===2||zt===4?wn=2:zt===3||zt===5||zt===6?wn=3:zt>=7&&zt<14&&(wn=4),lt.style.width=`calc(var(--variant-keycap-length) * ${wn} + 12px)`,lt.innerHTML=wp.createHTML(Ve),Hc.open({root:(te=ie==null?void 0:ie.container)==null?void 0:te.querySelector(".ML__keyboard"),child:lt}),gf=new AbortController;const{signal:nr}=gf,hr=a==null?void 0:a.getBoundingClientRect();if(hr){hr.top-lt.clientHeight<0&&(lt.style.width="auto",zt<=6?lt.style.height="56px":zt<=12?lt.style.height="108px":zt<=18?lt.style.height="205px":lt.classList.add("compact"));const Ia=Math.max(0,Math.min(window.innerWidth-lt.offsetWidth,(hr.left+hr.right-lt.offsetWidth)/2)),Yi=hr.top-lt.clientHeight+5;lt.style.transform=`translate(${Ia}px, ${Yi}px)`,lt.classList.add("is-visible"),requestAnimationFrame(()=>{lt.addEventListener("pointerup",Ca=>{const si=Ud(Ca.target);!(si!=null&&si.id)||!Re[si.id]||(kh(Re[si.id]),yf(),y==null||y(),Ca.preventDefault())},{capture:!0,passive:!1,signal:nr}),lt.addEventListener("pointerenter",Ca=>{const si=Ud(Ca.target);!(si!=null&&si.id)||!Re[si.id]||si.classList.add("is-active")},{capture:!0,signal:nr}),lt.addEventListener("pointerleave",Ca=>{const si=Ud(Ca.target);!(si!=null&&si.id)||!Re[si.id]||si.classList.remove("is-active")},{capture:!0,signal:nr}),window.addEventListener("pointercancel",()=>{yf(),y==null||y()},{signal:nr}),window.addEventListener("pointerup",()=>{yf(),y==null||y()},{signal:nr})})}}function yf(){gf==null||gf.abort(),gf=null,Hc.state==="open"&&Hc.close()}function yv(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(Je))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+Je[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys($e))y.push({class:"swatch-button",label:'<span style="background:'+$e[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function N0(a){return Vf[a]!==void 0}function bv(a){var y;return typeof a!="string"?a:(Vf[a]||(Vf[a]=(y=yv(a))!=null?y:[]),Vf[a])}function xv(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function wv(a){return Object.keys(a).map(y=>`${y} {${xv(a[y])}}`).join("")}function bf(a){if(!a)return"";const y=new dl,b=new za({mode:"math",type:"root",body:Wu(a,{context:y,args:te=>te==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),E=js(cf(new li(b.render(y),{classes:"ML__base"}),y));return bu(E,{classes:"ML__latex"}).toMarkup()}function xf(a){var y;if(Array.isArray(a))return a.map(E=>xf(E)).flat();const b=typeof a=="string"?{markup:a}:a;return"rows"in b&&Array.isArray(b.rows)&&(b.rows=b.rows.map(E=>E.map(te=>P0(te)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function Sv(){var a,y;let E=window.mathVirtualKeyboard.alphabeticLayout;if(E==="auto"){const De=pf();De&&(E=De.virtualLayout),(!E||E==="auto")&&(E=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[tt.locale.slice(0,2)])!=null?a:"qwerty")}const te={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},ie=(y=te[E])!=null?y:te.qwerty,le=E==="azerty"?[[{label:"1",variants:"1"},{label:"2",shift:{latex:"\xE9"},variants:"2"},{label:"3",shift:{latex:"\xF9"},variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{label:"(",latex:"("},variants:"5"},{label:"6",shift:{label:")",latex:")"},variants:"6"},{label:"7",shift:{latex:"\xE8"},variants:"7"},{label:"8",shift:{latex:"\xEA"},variants:"8"},{label:"9",shift:{latex:"\xE7"},variants:"9"},{label:"0",shift:{latex:"\xE0"},variants:"0"}]]:[[{label:"1",variants:"1"},{label:"2",variants:"2"},{label:"3",variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{latex:"\\frac{#@}{#?}"},variants:"5"},{label:"6",shift:{latex:"#@^#?"},variants:"6"},{label:"7",variants:"7"},{label:"8",shift:{latex:"\\times"},variants:"8"},{label:"9",shift:{label:"(",latex:"("},variants:"9"},{label:"0",shift:{label:")",latex:")"},variants:"0"}]];for(const De of ie){const Re=[];for(const Ve of De)/[a-z]/.test(Ve)?Re.push({label:Ve,class:"hide-shift",shift:{label:Ve.toUpperCase()},variants:N0(Ve)?Ve:void 0}):Ve==="~"?E!=="dvorak"?Re.push("[backspace]"):Re.push({label:"[backspace]",width:1}):Ve==="^"?Re.push("[shift]"):Ve===" "&&Re.push("[separator-5]");le.push(Re)}return le.push(["[-]","[+]","[=]",{label:" ",width:1.5},{label:",",shift:";",variants:".",class:"hide-shift"},"[.]","[left]","[right]",{label:"[action]",width:1.5}]),{label:"abc",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.alphabetic",layers:xf({rows:le})}}function I0(a){if(a==="alphabetic")return Sv();if(typeof a=="string")return console.assert(D0[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),I0(D0[a]);let y;if("rows"in a&&Array.isArray(a.rows)){console.assert(!("layers"in a||"markup"in a),'MathLive 0.98.5: when providing a "rows" property, "layers" and "markup" are ignored');const te=a,{rows:ie}=te,le=Xe(te,["rows"]);y=me(Se({},le),{layers:xf({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const te=a,{markup:ie}=te,le=Xe(te,["markup"]);y=me(Se({},le),{layers:xf(a.markup)})}else y=Se({},a),"layers"in a?y.layers=xf(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,E=!1;for(const te of y.layers)if(te.rows)for(const ie of te.rows.flat()){Gd(ie)&&(b=!0);const le=ie.command;typeof le=="string"&&["undo","redo","cut","copy","paste"].includes(le)&&(E=!0)}return(!("displayShiftedKeycaps"in a)||a.displayShiftedKeycaps===void 0)&&(y.displayShiftedKeycaps=b),(!("displayEditToolbar"in a)||a.displayEditToolbar===void 0)&&(y.displayEditToolbar=!E),y}function Cv(a,y){var b,E;let te='<div class="left">';if(a.normalizedLayouts.length>1)for(const[ie,le]of a.normalizedLayouts.entries()){const De=le,Re=[ie===y?"selected":"layer-switch"];De.tooltip&&Re.push("MLK__tooltip"),De.labelClass&&Re.push(...De.labelClass.split(" ")),te+=`<div class="${Re.join(" ")}"`,De.tooltip&&(te+=" data-tooltip='"+((b=st(De.tooltip))!=null?b:De.tooltip)+"' "),ie!==y&&(te+=`data-layer="${De.layers[0].id}"`),te+=`>${(E=De.label)!=null?E:"untitled"}</div>`}return te+="</div>",te}function Ev(a,y){let b="";if(a.editToolbar==="none")return"";const te=[];y.selectionIsCollapsed?te.push("undo","redo","pasteFromClipboard"):te.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const ie={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
data-command='"undo"'
data-tooltip='${st("tooltip.undo")}'>
<svg><use xlink:href='#svg-undo' /></svg>
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
data-command='"redo"'
data-tooltip='${st("tooltip.redo")}'>
<svg><use xlink:href='#svg-redo' /></svg>
</div>`,cutToClipboard:`
<div class='action'
data-command='"cutToClipboard"'
data-tooltip='${st("tooltip.cut to clipboard")}'>
<svg><use xlink:href='#svg-cut' /></svg>
</div>
`,copyToClipboard:`
<div class='action'
data-command='"copyToClipboard"'
data-tooltip='${st("tooltip.copy to clipboard")}'>
<svg><use xlink:href='#svg-copy' /></svg>
</div>
`,pasteFromClipboard:`
<div class='action'
data-command='"pasteFromClipboard"'
data-tooltip='${st("tooltip.paste from clipboard")}'>
<svg><use xlink:href='#svg-paste' /></svg>
</div>
`};return b+=te.map(le=>ie[le]).join(""),b}function Av(a){for(const y of a)Mv(y)}function Mv(a){const y=md.singleton;if(!y)return;const b={};if(!a.id){if(a.hasAttribute("data-label")&&(b.label=a.dataset.label),a.hasAttribute("data-latex")&&(b.latex=a.dataset.latex),a.hasAttribute("data-key")&&(b.key=a.dataset.key),a.hasAttribute("data-insert")&&(b.insert=a.dataset.insert),a.hasAttribute("data-variants")&&(b.variants=a.dataset.variants),a.hasAttribute("data-aside")&&(b.aside=a.dataset.aside),a.className&&(b.class=a.className),!b.label&&!b.latex&&!b.key&&!b.insert&&(b.latex=a.innerText,b.label=a.innerHTML),a.hasAttribute("data-command"))try{b.command=JSON.parse(a.dataset.command)}catch(E){}a.id=y.registerKeycap(b)}if(!a.innerHTML){const[E,te]=jf(b);a.innerHTML=window.MathfieldElement.createHTML(E)}}function Dv(){hc("virtual-keyboard"),hc("core"),Zf()}function kv(){x("core"),x("virtual-keyboard")}var Nv=`<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-delete-backward" viewBox="0 0 576 512">
<path d="M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z"/>
</symbol>
<symbol id="svg-shift" viewBox="0 0 384 512">
<path d="M2.438 252.3C7.391 264.2 19.06 272 32 272h80v160c0 26.51 21.49 48 48 48h64C250.5 480 272 458.5 272 432v-160H352c12.94 0 24.61-7.797 29.56-19.75c4.953-11.97 2.219-25.72-6.938-34.88l-160-176C208.4 35.13 200.2 32 192 32S175.6 35.13 169.4 41.38l-160 176C.2188 226.5-2.516 240.3 2.438 252.3zM192 86.63L313.4 224H224v208H160V224H70.63L192 86.63z"/>
</symbol>
<symbol id="svg-commit" viewBox="0 0 512 512">
<path d="M135 432.1l-128-128C2.344 300.3 0 294.2 0 288s2.344-12.28 7.031-16.97l128-128c9.375-9.375 24.56-9.375 33.94 0s9.375 24.56 0 33.94L81.94 264H464v-208C464 42.75 474.8 32 488 32S512 42.75 512 56V288c0 13.25-10.75 24-24 24H81.94l87.03 87.03c9.375 9.375 9.375 24.56 0 33.94S144.4 442.3 135 432.1z"/>
</symbol>
<symbol id="circle-plus" viewBox="0 0 512 512"><path d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24V280h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V168c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H168c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"/></symbol>
<symbol id="svg-command" viewBox="0 0 640 512">
<path d="M34.495 36.465l211.051 211.05c4.686 4.686 4.686 12.284 0 16.971L34.495 475.535c-4.686 4.686-12.284 4.686-16.97 0l-7.071-7.07c-4.686-4.686-4.686-12.284 0-16.971L205.947 256 10.454 60.506c-4.686-4.686-4.686-12.284 0-16.971l7.071-7.07c4.686-4.687 12.284-4.687 16.97 0zM640 468v-10c0-6.627-5.373-12-12-12H300c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h328c6.627 0 12-5.373 12-12z"/>
</symbol>
<symbol id="svg-undo" viewBox="0 0 512 512">
<path d="M20 8h10c6.627 0 12 5.373 12 12v110.625C85.196 57.047 165.239 7.715 256.793 8.001 393.18 8.428 504.213 120.009 504 256.396 503.786 393.181 392.834 504 256 504c-63.926 0-122.202-24.187-166.178-63.908-5.113-4.618-5.354-12.561-.482-17.433l7.069-7.069c4.503-4.503 11.749-4.714 16.482-.454C150.782 449.238 200.935 470 256 470c117.744 0 214-95.331 214-214 0-117.744-95.331-214-214-214-82.862 0-154.737 47.077-190.289 116H180c6.627 0 12 5.373 12 12v10c0 6.627-5.373 12-12 12H20c-6.627 0-12-5.373-12-12V20c0-6.627 5.373-12 12-12z"/>
</symbol>
<symbol id="svg-redo" viewBox="0 0 512 512">
<path d="M492 8h-10c-6.627 0-12 5.373-12 12v110.625C426.804 57.047 346.761 7.715 255.207 8.001 118.82 8.428 7.787 120.009 8 256.396 8.214 393.181 119.166 504 256 504c63.926 0 122.202-24.187 166.178-63.908 5.113-4.618 5.354-12.561.482-17.433l-7.069-7.069c-4.503-4.503-11.749-4.714-16.482-.454C361.218 449.238 311.065 470 256 470c-117.744 0-214-95.331-214-214 0-117.744 95.331-214 214-214 82.862 0 154.737 47.077 190.289 116H332c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h160c6.627 0 12-5.373 12-12V20c0-6.627-5.373-12-12-12z"/>
</symbol>
<symbol id="svg-arrow-left" viewBox="0 0 320 512">
<path d="M206.7 464.6l-183.1-191.1C18.22 267.1 16 261.1 16 256s2.219-11.97 6.688-16.59l183.1-191.1c9.152-9.594 24.34-9.906 33.9-.7187c9.625 9.125 9.938 24.37 .7187 33.91L73.24 256l168 175.4c9.219 9.5 8.906 24.78-.7187 33.91C231 474.5 215.8 474.2 206.7 464.6z"/>
</symbol>
<symbol id="svg-arrow-right" viewBox="0 0 320 512">
<path d="M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z"/>
</symbol>
<symbol id="svg-tab" viewBox="0 0 448 512">
<path d="M32 217.1c0-8.8 7.2-16 16-16h144v-93.9c0-7.1 8.6-10.7 13.6-5.7l143.5 143.1c6.3 6.3 6.3 16.4 0 22.7L205.6 410.4c-5 5-13.6 1.5-13.6-5.7v-93.9H48c-8.8 0-16-7.2-16-16v-77.7m-32 0v77.7c0 26.5 21.5 48 48 48h112v61.9c0 35.5 43 53.5 68.2 28.3l143.6-143c18.8-18.8 18.8-49.2 0-68L228.2 78.9c-25.1-25.1-68.2-7.3-68.2 28.3v61.9H48c-26.5 0-48 21.6-48 48zM436 64h-8c-6.6 0-12 5.4-12 12v360c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12z"/>
</symbol>
<symbol id="svg-paste" viewBox="0 0 512 512"><path d="M160 32c11.6 0 21.3 8.2 23.5 19.2C185 58.6 191.6 64 199.2 64H208c8.8 0 16 7.2 16 16V96H96V80c0-8.8 7.2-16 16-16h8.8c7.6 0 14.2-5.4 15.7-12.8C138.7 40.2 148.4 32 160 32zM64 64h2.7C65 69 64 74.4 64 80V96c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V80c0-5.6-1-11-2.7-16H256c17.7 0 32 14.3 32 32h32c0-35.3-28.7-64-64-64H210.6c-9-18.9-28.3-32-50.6-32s-41.6 13.1-50.6 32H64C28.7 32 0 60.7 0 96V384c0 35.3 28.7 64 64 64H192V416H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM288 480c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32h96v56c0 22.1 17.9 40 40 40h56V448c0 17.7-14.3 32-32 32H288zM416 165.3L474.7 224H424c-4.4 0-8-3.6-8-8V165.3zM448 512c35.3 0 64-28.7 64-64V235.9c0-12.7-5.1-24.9-14.1-33.9l-59.9-59.9c-9-9-21.2-14.1-33.9-14.1H288c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H448z"/></symbol>
<symbol id="svg-cut" viewBox="0 0 512 512"><path d="M485.6 444.2L333.6 314.9C326.9 309.2 326.1 299.1 331.8 292.4C337.5 285.6 347.6 284.8 354.4 290.5L506.4 419.8C513.1 425.5 513.9 435.6 508.2 442.4C502.5 449.1 492.4 449.9 485.6 444.2zM485.7 67.76C492.5 62.07 502.5 62.94 508.2 69.69C513.9 76.45 513.1 86.55 506.3 92.24L208.5 343.1C218.3 359.7 224 379.2 224 400C224 461.9 173.9 512 112 512C50.14 512 0 461.9 0 400C0 338.1 50.14 288 112 288C141.5 288 168.4 299.4 188.4 318.1L262.2 256L188.4 193.9C168.4 212.6 141.5 224 112 224C50.14 224 0 173.9 0 112C0 50.14 50.14 0 112 0C173.9 0 224 50.14 224 112C224 132.8 218.3 152.3 208.5 168.9L287 235.1L485.7 67.76zM32 112C32 156.2 67.82 192 112 192C156.2 192 192 156.2 192 112C192 67.82 156.2 32 112 32C67.82 32 32 67.82 32 112zM112 480C156.2 480 192 444.2 192 400C192 355.8 156.2 320 112 320C67.82 320 32 355.8 32 400C32 444.2 67.82 480 112 480z"/></symbol>
<symbol id="svg-copy" viewBox="0 0 512 512"><path d="M272 416C263.2 416 256 423.2 256 432V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V192c0-17.67 14.33-32 32-32h112C184.8 160 192 152.8 192 144C192 135.2 184.8 128 176 128H63.99c-35.35 0-64 28.65-64 64l.0098 256C0 483.3 28.65 512 64 512h160c35.35 0 64-28.65 64-64v-16C288 423.2 280.8 416 272 416zM502.6 86.63l-77.25-77.25C419.4 3.371 411.2 0 402.7 0H288C252.7 0 224 28.65 224 64v256c0 35.35 28.65 64 64 64h160c35.35 0 64-28.65 64-64V109.3C512 100.8 508.6 92.63 502.6 86.63zM416 45.25L466.7 96H416V45.25zM480 320c0 17.67-14.33 32-32 32h-160c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h96l.0026 64c0 17.67 14.33 32 32 32H480V320z"/>
</symbol>
<symbol id="svg-angle-double-right" viewBox="0 0 512 512"><path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"/>
</symbol>
<symbol id="svg-angle-double-left" viewBox="0 0 512 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"/>
</symbol>
<symbol id="svg-trash" viewBox="0 0 448 512">
<path d="M336 64l-33.6-44.8C293.3 7.1 279.1 0 264 0h-80c-15.1 0-29.3 7.1-38.4 19.2L112 64H24C10.7 64 0 74.7 0 88v2c0 3.3 2.7 6 6 6h26v368c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V96h26c3.3 0 6-2.7 6-6v-2c0-13.3-10.7-24-24-24h-88zM184 32h80c5 0 9.8 2.4 12.8 6.4L296 64H152l19.2-25.6c3-4 7.8-6.4 12.8-6.4zm200 432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V96h320v368zm-176-44V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm-80 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm160 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12z"/>
</symbol>
<symbol id="svg-keyboard-down" viewBox="0 0 576 512"><path d="M64 48c-8.8 0-16 7.2-16 16V240c0 8.8 7.2 16 16 16H512c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H64zM0 64C0 28.7 28.7 0 64 0H512c35.3 0 64 28.7 64 64V240c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM159 359c9.4-9.4 24.6-9.4 33.9 0l95 95 95-95c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L305 505c-4.5 4.5-10.6 7-17 7s-12.5-2.5-17-7L159 393c-9.4-9.4-9.4-24.6 0-33.9zm1-167c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V192zM120 88h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H200c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H280c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H360c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H440c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16z"/></symbol>
</svg>`;function Iv(a){a.resetKeycapRegistry(),Dv();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Nv+a.normalizedLayouts.map((le,De)=>Pv(a,le,De)).join(""));const E=document.createElement("div");E.className="MLK__backdrop",E.appendChild(b),y.appendChild(E),y.addEventListener("pointerdown",Lv,{passive:!1});const te=y.querySelectorAll(".ML__edit-toolbar");if(te)for(const le of te)le.addEventListener("click",De=>{var Re,Ve;let lt=De.target,zt="";for(;lt&&!zt;)zt=(Re=lt==null?void 0:lt.getAttribute("data-command"))!=null?Re:"",lt=(Ve=lt==null?void 0:lt.parentElement)!=null?Ve:null;zt&&a.executeCommand(JSON.parse(zt))});Av(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const ie=y.querySelectorAll(".MLK__layer");console.assert(ie.length>0,"No virtual keyboards available");for(const le of ie)le.addEventListener("pointerdown",De=>De.preventDefault());return a.currentLayer=a.latentLayer,y}function Pv(a,y,b){const E=[];if(!("layers"in y))return"";for(const te of y.layers)E.push(`<div tabindex="-1" class="MLK__layer" id="${te.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(E.push("<div class='MLK__toolbar' role='toolbar'>"),E.push(Cv(a,b)),y.displayEditToolbar&&E.push('<div class="ML__edit-toolbar right"></div>'),E.push("</div>")),E.push(Bv(a,te)),E.push("</div>");return E.join("")}function Bv(a,y){if(typeof y=="string")return y;let b="";if(typeof y.style=="string"?b+=`<style>${y.style}</style>`:typeof y.style=="object"&&(b+=`<style>${wv(y.style)}</style>`),y.backdrop&&(b+=`<div class='${y.backdrop}'>`),y.container&&(b+=`<div class='${y.container}'>`),y.rows){b+="<div class=MLK__rows>";for(const E of y.rows){b+="<div dir='ltr' class=MLK__row>";for(const te of E)if(te){const ie=a.registerKeycap(te),[le,De]=jf(te);/(^|\s)separator/.test(De)?b+=`<div class="${De}"`:b+=`<div tabindex="-1" id="${ie}" class="${De}"`,te.tooltip&&(b+=` data-tooltip="${te.tooltip}"`),b+=`>${le}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function jf(a,y={shifted:!1}){var b,E,te,ie,le,De,Re;let Ve="",lt=(b=a.class)!=null?b:"";if(y.shifted&&Gd(a)&&(lt+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?Ve=bf(a.shift):typeof a.shift=="object"&&(Ve=a.shift.label?a.shift.label:(E=bf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?E:""),typeof a.shift=="object"&&(lt=(ie=(te=a.shift.class)!=null?te:a.class)!=null?ie:"");else{if(Ve=a.label?a.label:(le=bf(a.latex||a.insert||"")||a.key)!=null?le:"",a.shift){let zt;typeof a.shift=="string"?zt=bf(a.shift):a.shift.label?zt=a.shift.label:zt=(De=bf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?De:"",Ve+=`<span class="MLK__shift">${zt}</span>`}a.aside&&(Ve+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(lt)&&(lt+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(lt)||(lt+=" MLK__keycap"),!/\bw[0-9]+\b/.test(lt)&&a.width&&(lt+=(Re={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?Re:""),[Ve,lt||"MLK__keycap"]}var Dd={"[left]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-left /></svg>",command:["performWithFeedback","moveToPreviousChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-left /></svg>",command:["performWithFeedback","extendSelectionBackward"]}},"[right]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-right /></svg>",command:["performWithFeedback","moveToNextChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-right /></svg>",command:["performWithFeedback","extendSelectionForward"]}},"[up]":{class:"action hide-shift",label:"\u2191",command:["performWithFeedback","moveUp"],shift:{label:"\u219F",command:["performWithFeedback","extendSelectionUpward"]}},"[down]":{class:"action hide-shift",label:"\u2193",command:["performWithFeedback","moveDown"],shift:{label:"\u21A1",command:["performWithFeedback","extendSelectionDownward"]}},"[return]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[action]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{label:"<svg class=svg-glyph><use xlink:href=#circle-plus /></svg>",command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[hr]":{class:"separator horizontal-rule"},"[hide-keyboard]":{class:"action",command:["hideVirtualKeyboard"],width:1.5,label:"<svg class=svg-glyph-lg><use xlink:href=#svg-keyboard-down /></svg>"},"[.]":{variants:".",command:["performWithFeedback","insertDecimalSeparator"],shift:",",class:"big-op hide-shift",label:"."},"[,]":{variants:",",command:["performWithFeedback","insertDecimalSeparator"],shift:".",class:"big-op hide-shift",label:","},"[+]":{variants:[{latex:"\\sum_{#0}^{#0}",class:"small"},"\\oplus"],latex:"+",label:"+",class:"big-op hide-shift",shift:{latex:"\\sum",insert:"\\sum",class:"small"}},"[-]":{variants:["\\pm","\\ominus"],latex:"-",label:"&#x2212;",shift:"\\pm",class:"big-op hide-shift"},"[/]":{class:"big-op hide-shift",shift:{class:"",latex:"\\frac{1}{#@}"},variants:["/","\\div","\\%","\\oslash"],latex:"\\frac{#@}{#?}",label:"&divide;"},"[*]":{variants:[{latex:"\\prod_{#0}^{#0}",class:"small"},"\\otimes","\\cdot"],latex:"\\cdot",label:"&times;",shift:{latex:"\\times"},class:"big-op hide-shift"},"[=]":{variants:["\\neq","\\equiv","\\varpropto","\\thickapprox","\\lt","\\gt","\\le","\\ge"],latex:"=",label:"=",shift:{label:"\u2260",latex:"\\ne"},class:"big-op hide-shift"},"[backspace]":{class:"action bottom right hide-shift",width:1.5,command:["performWithFeedback","deleteBackward"],label:"<svg class=svg-glyph><use xlink:href=#svg-delete-backward /></svg>",shift:{class:"action warning",label:"<svg class=svg-glyph><use xlink:href=#svg-trash /></svg>",command:"deleteAll"}},"[undo]":{class:"ghost if-can-undo",command:"undo",label:"<svg class=svg-glyph><use xlink:href=#svg-undo /></svg>",tooltip:"tooltip.undo"},"[redo]":{class:"ghost if-can-redo",command:"redo",label:"<svg class=svg-glyph><use xlink:href=#svg-redo /></svg>",tooltip:"tooltip.redo"},"[(]":{variants:[{latex:"\\lbrack",key:"["},"\\langle","\\lfloor","\\lceil",{latex:"\\lbrace",key:"{"}],key:"(",label:"(",shift:{label:"[",key:"["},class:"hide-shift"},"[)]":{variants:[{latex:"\\rbrack",key:"]"},"\\rangle","\\rfloor","\\rceil",{latex:"\\rbrace",key:"]"}],key:")",label:")",shift:{label:"]",latex:"\\rbrack"},class:"hide-shift"},"[0]":{variants:"0",latex:"0",label:"0",shift:"\\infty",class:"hide-shift"},"[1]":{variants:"1",latex:"1",label:"1",shift:"#@^{-1}",class:"hide-shift"},"[2]":{variants:"2",latex:"2",label:"2",shift:"#@^2",class:"hide-shift"},"[3]":{variants:"3",latex:"3",label:"3",shift:"#@^3",class:"hide-shift"},"[4]":{variants:"4",latex:"4",label:"4",shift:"#@^4",class:"hide-shift"},"[5]":{variants:"5",latex:"5",label:"5",shift:"#@^5",class:"hide-shift"},"[6]":{variants:"6",latex:"6",label:"6",shift:"#@^6",class:"hide-shift"},"[7]":{variants:"7",latex:"7",label:"7",shift:"#@^7",class:"hide-shift"},"[8]":{variants:"8",latex:"8",label:"8",shift:"#@^8",class:"hide-shift"},"[9]":{variants:"9",latex:"9",label:"9",shift:"#@^9",class:"hide-shift"},"[separator-5]":{class:"separator",width:.5},"[separator]":{class:"separator"},"[separator-10]":{class:"separator"},"[separator-15]":{class:"separator",width:1.5},"[separator-20]":{class:"separator",width:2},"[separator-50]":{class:"separator",width:5},"[shift]":{class:"shift bottom left",width:1.5,label:"<span class=caps-lock-indicator></span><svg class=svg-glyph><use xlink:href=#svg-shift /></svg>"},"[foreground-color]":{variants:"foreground-color",command:["applyStyle",{color:"red"}],label:"<span style='border-radius: 50%;width:22px;height:22px; border: 3px solid #cc2428; box-sizing: border-box'>"},"[background-color]":{variants:"background-color",command:["applyStyle",{backgroundColor:"yellow"}],label:"<span style='border-radius: 50%;width:22px;height:22px; background:#fff590; box-sizing: border-box'></span>"}};function P0(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!Dd[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&Dd[a.label]&&(b=me(Se(Se({},Dd[a.label]),a),{label:Dd[a.label].label})),"key"in a&&a.key&&Dd[a.key]&&(b=me(Se(Se({},Dd[a.key]),a),{key:Dd[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=Se(Se({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=Se(Se({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=Se(Se({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=Se(Se({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var wf;function Lv(a){var y;if(a.button!==0)return;const b=md.singleton;if(!b)return;let E=a.target;for(;E&&!E.getAttribute("data-layer");)E=E.parentElement;if(E){b.currentLayer=(y=E.getAttribute("data-layer"))!=null?y:"",a.preventDefault();return}const te=Ud(a.target);if(!(te!=null&&te.id))return;const ie=b.getKeycap(te.id);if(!ie)return;console.assert(a.type==="pointerdown");const le=new AbortController,De=le.signal;te.classList.add("is-pressed"),te.addEventListener("pointerenter",Uf(le),{capture:!0,signal:De}),te.addEventListener("pointerleave",Uf(le),{capture:!0,signal:De}),te.addEventListener("pointercancel",Uf(le),{signal:De}),te.addEventListener("pointerup",Uf(le),{signal:De}),Gd(ie)&&(te.classList.add("is-active"),b.shiftPressCount++),ie.variants&&(wf&&clearTimeout(wf),wf=setTimeout(()=>{te.classList.contains("is-pressed")&&(te.classList.remove("is-pressed"),te.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),k0(te,()=>{le.abort(),te==null||te.classList.remove("is-active")}))},300)),a.preventDefault()}function Uf(a){return y=>{const b=Ud(y.target);if(!(b!=null&&b.id))return;const E=md.singleton;if(!E)return;const te=E.getKeycap(b.id);if(te){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),Gd(te)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),Gd(te)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted));return}if(y.type==="pointerup"){wf&&clearTimeout(wf),Gd(te)?b.classList.toggle("is-active",E.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),E.isShifted&&te.shift?typeof te.shift=="string"?E.executeCommand(["insert",te.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):kh(te.shift):kh(te),E.shiftPressCount===1&&!y.shiftKey&&(E.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function kh(a){var y;let b=a.command;!b&&a.insert&&(b=["insert",a.insert,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),!b&&a.key&&(b=["typedText",a.key,{focus:!0,feedback:!0,simulateKeystroke:!0}]),!b&&a.latex&&(b=["insert",a.latex,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),b||(b=["typedText",a.label,{focus:!0,feedback:!0,simulateKeystroke:!0}]),(y=md.singleton)==null||y.executeCommand(b)}function Ov(a){if(a.nodeType!==1)return!1;const y=a.classList;return y.contains("MLK__keycap")||y.contains("shift")||y.contains("action")||y.contains("fnbutton")||y.contains("bigfnbutton")}function Ud(a){if(!a)return;let y=a;for(;y&&!Ov(y);)y=y.parentElement;return y!=null?y:void 0}function Gd(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var md=class sm{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,E;this.targetOrigin=window.origin,this.originValidator="none",this._alphabeticLayout="auto",this._layouts=Object.freeze(["default"]),this._editToolbar="default",this._container=(b=(y=window.document)==null?void 0:y.body)!=null?b:null,this._visible=!1,this._rebuilding=!1,this.observer=new ResizeObserver(te=>{this.adjustBoundingRect(),this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect})}),this.listeners={};try{(E=window.top)==null||E.addEventListener("message",this)}catch(te){window.addEventListener("message",this)}document.body.addEventListener("focusin",te=>{const ie=te.target;ie!=null&&ie.isConnected&&setTimeout(()=>{const le=B0();le&&!le.readOnly&&le.mathVirtualKeyboardPolicy==="auto"&&ot()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",te=>{te.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{B0()||this.hide()},300)})}get currentLayer(){var y,b,E;return(E=(b=(y=this._element)==null?void 0:y.querySelector(".MLK__layer.is-visible"))==null?void 0:b.id)!=null?E:""}set currentLayer(y){var b;if(!this._element){this.latentLayer=y;return}let E=y?this._element.querySelector(`#${y}.MLK__layer`):null;E||(E=this._element.querySelector(".MLK__layer")),E&&((b=this._element.querySelector(".MLK__layer.is-visible"))==null||b.classList.remove("is-visible"),E.classList.add("is-visible")),this.render()}get shiftPressCount(){return this._shiftPressCount}set shiftPressCount(y){var b;this._shiftPressCount=y>2||y<0?0:y,(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.render()}get isShifted(){return this._shiftPressCount>0}resetKeycapRegistry(){this.keycapRegistry={}}registerKeycap(y){const b="ML__k"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);return this.keycapRegistry[b]=y,b}getKeycap(y){return y?this.keycapRegistry[y]:void 0}getLayer(y){const b=this.normalizedLayouts;for(const E of b)for(const te of E.layers)if(te.id===y)return te}get alphabeticLayout(){return this._alphabeticLayout}set alphabeticLayout(y){this._alphabeticLayout=y,this.rebuild()}get actionKeycap(){return this._actionKeycap}set actionKeycap(y){this._actionKeycap=typeof y=="string"?{label:y}:y}get shiftKeycap(){return this._shiftKeycap}set shiftKeycap(y){this._shiftKeycap=typeof y=="string"?{label:y}:y}get backspaceKeycap(){return this._backspaceKeycap}set backspaceKeycap(y){this._backspaceKeycap=typeof y=="string"?{label:y}:y}get tabKeycap(){return this._tabKeycap}set tabKeycap(y){this._tabKeycap=typeof y=="string"?{label:y}:y}get layouts(){return this._layouts}set layouts(y){this.updateNormalizedLayouts(y),this.rebuild()}updateNormalizedLayouts(y){const b=Array.isArray(y)?[...y]:[y],E=b.findIndex(te=>te==="default");E>=0&&b.splice(E,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(te=>I0(te))}get normalizedLayouts(){return this._normalizedLayouts||this.updateNormalizedLayouts(this._layouts),this._normalizedLayouts}get editToolbar(){return this._editToolbar}set editToolbar(y){this._editToolbar=y,this.rebuild()}get container(){return this._container}set container(y){this._container=y,this.rebuild()}static get singleton(){if(this._singleton===void 0)try{this._singleton=new sm}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}get element(){return this._element}set element(y){var b;this._element!==y&&((b=this._element)==null||b.remove(),this._element=y)}get visible(){return this._visible}set visible(y){y?this.show():this.hide()}get boundingRect(){var y;if(!this._visible)return new DOMRect;const b=(y=this._element)==null?void 0:y.getElementsByClassName("MLK__plate")[0];return b?b.getBoundingClientRect():new DOMRect}adjustBoundingRect(){var y,b;const E=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${E}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const te=E-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${te}px)`:`${te}px`}else(b=this._element)==null||b.style.setProperty("--_keyboard-height",`${E}px`)}rebuild(){if(this._rebuilding||!this._element)return;this._rebuilding=!0;const y=this.currentLayer;requestAnimationFrame(()=>{this._rebuilding=!1,this._element&&(this._element.remove(),this._element=void 0),this.visible&&(this.buildAndAttachElement(),this.currentLayer=y,this.render(),this.adjustBoundingRect(),this._element.classList.add("is-visible"))})}render(){if(!this._element)return;const y=this.getLayer(this.currentLayer);this._element.classList.toggle("backdrop-is-transparent",!!(y&&(y.backdrop||y.container)));const b=this._element.querySelectorAll(".MLK__layer.is-visible .MLK__keycap, .MLK__layer.is-visible .action, .fnbutton, .MLK__layer.is-visible .bigfnbutton, .MLK__layer.is-visible .shift");if(b)for(const E of b){const te=this.getKeycap(E.id);if(te){const[ie,le]=jf(te,{shifted:this.isShifted});E.innerHTML=window.MathfieldElement.createHTML(ie),E.className=le}}}show(y){var b;if(this._visible)return;const E=this.container;if(E&&window.mathVirtualKeyboard&&this.stateWillChange(!0)){if(this._element||(this.buildAndAttachElement(),this.adjustBoundingRect()),!this._visible){const te=this._element.getElementsByClassName("MLK__plate")[0];if(te&&this.observer.observe(te),E===window.document.body){const ie=E.style.paddingBottom;this.originalContainerBottomPadding=ie;const le=te.offsetHeight-1;E.style.paddingBottom=ie?`calc(${ie} + ${le}px)`:`${le}px`}window.addEventListener("mouseup",this),window.addEventListener("blur",this),window.addEventListener("keydown",this,{capture:!0}),window.addEventListener("keyup",this,{capture:!0}),(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.currentLayer=this.latentLayer}this._visible=!0,y!=null&&y.animate?requestAnimationFrame(()=>{this._element&&(this._element.classList.add("animate"),this._element.addEventListener("transitionend",()=>{var te;return(te=this._element)==null?void 0:te.classList.remove("animate")},{once:!0}),this._element.classList.add("is-visible"),this.stateChanged())}):(this._element.classList.add("is-visible"),this.stateChanged())}}hide(y){var b;const E=this.container;if(E&&this._visible&&this.stateWillChange(!1)){if(this._visible=!1,this._element){this.latentLayer=this.currentLayer;const te=this._element.getElementsByClassName("MLK__plate")[0];te&&this.observer.unobserve(te),window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("keydown",this,{capture:!0}),window.removeEventListener("keyup",this,{capture:!0}),window.removeEventListener("contextmenu",this,{capture:!0}),yf(),kv(),(b=this._element)==null||b.remove(),this._element=void 0,this.originalContainerBottomPadding!==null&&(E.style.paddingBottom=this.originalContainerBottomPadding)}this.stateChanged()}}get height(){var y,b;return(b=(y=this.element)==null?void 0:y.offsetHeight)!=null?b:0}buildAndAttachElement(){var y;console.assert(!this.element),this.element=Iv(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&k0(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(Dh(y)){if(!Zs(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");y.data.action==="disconnect"?this.connectedMathfieldWindow=void 0:y.data.action!=="update-setting"&&y.data.action!=="proxy-created"&&y.data.action!=="execute-command"&&(console.assert(y.source!==void 0),this.connectedMathfieldWindow=y.source),this.handleMessage(y.data,y.source)}if(this._element)switch(y.type){case"mouseup":case"blur":document.body.style.userSelect="",this.shiftPressCount=0;break;case"contextmenu":y.button!==2&&y.preventDefault();break;case"keydown":{y.key==="Shift"&&!y.repeat&&(this.shiftPressCount=1);break}case"keyup":{(y.key==="Shift"||!y.getModifierState("Shift")&&this.shiftPressCount!==2)&&(this.shiftPressCount=0);break}}}handleMessage(y,b){const{action:E}=y;if(E==="execute-command"){const{command:te}=y,ie=jd(te);if(window.top!==void 0&&ie!=="virtual-keyboard")return;this.executeCommand(te);return}if((E==="connect"||E==="show")&&this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b),E!=="disconnect"&&window===window.top){if(E==="show"){typeof y.animate!="undefined"?this.show({animate:y.animate}):this.show();return}if(E==="hide"){typeof y.animate!="undefined"?this.hide({animate:y.animate}):this.hide();return}if(E==="update-setting"){y.alphabeticLayout&&(this.alphabeticLayout=y.alphabeticLayout),y.layouts&&(this.layouts=y.layouts),y.editToolbar&&(this.editToolbar=y.editToolbar);return}if(E==="proxy-created"){this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b);return}}}sendMessage(y,b,E){if(E||(E=this.connectedMathfieldWindow),this.targetOrigin===null||this.targetOrigin==="null"||E===window){window.dispatchEvent(new MessageEvent("message",{source:window,data:Se({type:_f,action:y},b)}));return}if(E)E.postMessage(Se({type:_f,action:y},b),{targetOrigin:this.targetOrigin});else if(b.command&&this.dispatchEvent(new CustomEvent("math-virtual-keyboard-command",{detail:b.command})),y==="execute-command"&&Array.isArray(b.command)&&b.command[0]==="insert"){const te=b.command[1].split("");for(const ie of te)this.dispatchEvent(new KeyboardEvent("keydown",{key:ie,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:ie,bubbles:!0}))}}stateWillChange(y){return this.dispatchEvent(new CustomEvent("before-virtual-keyboard-toggle",{detail:{visible:y},bubbles:!0,cancelable:!0,composed:!0}))}stateChanged(){this.dispatchEvent(new Event("virtual-keyboard-toggle")),this._visible||(this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect}))}focus(){this.sendMessage("focus",{})}blur(){this.sendMessage("blur",{})}updateToolbar(y){const b=this._element;if(!b)return;b.classList.toggle("is-math-mode",y.mode==="math"),b.classList.toggle("is-text-mode",y.mode==="text"),b.classList.toggle("can-undo",y.canUndo),b.classList.toggle("can-redo",y.canRedo),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-paste",!0);const E=b.querySelectorAll(".ML__edit-toolbar");if(E)for(const te of E)te.innerHTML=Ev(this,y)}update(y){this._style=y.style,this.updateToolbar(y)}connect(){this.connectedMathfieldWindow=window}disconnect(){this.connectedMathfieldWindow=void 0}executeCommand(y){let b,E=[],te=jd(y);return fe(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),te=jd(y)),E=y.slice(1)):b=y,b=b.replace(/-\w/g,ie=>ie[1].toUpperCase()),te==="virtual-keyboard"?Zc[b].fn(void 0,...E):(this.sendMessage("execute-command",{command:y}),!1)}dispose(){window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("message",this)}};function B0(){var a,y;let b=Rf(),E=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){E=b.host;break}b=b.parentNode}return E}if(pt()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=md.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>gv.singleton,configurable:!0});function Gf(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const E=a.scriptDepth;if(fe(E))y.scriptDepth=[E[0],E[1]];else if(typeof E=="number")y.scriptDepth=[E,E];else if(typeof E=="string"){const[ie,le]=E.split(",").map(De=>parseInt(De.trim()));y.scriptDepth=[ie,le]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let te=a.mathVirtualKeyboardPolicy.toLowerCase();if(te==="sandboxed"){if(window!==window.top){const ie=md.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>ie})}te="manual"}y.mathVirtualKeyboardPolicy=te;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?tt.locale.startsWith("fr")?y.letterShapeStyle="french":y.letterShapeStyle="tex":y.letterShapeStyle=a.letterShapeStyle;break;case"defaultMode":["text","math","inline-math"].includes(a.defaultMode)?y.defaultMode=a.defaultMode:(console.error('MathLive 0.98.5: valid values for defaultMode are "text", "math" or "inline-math"'),y.defaultMode="math");break;case"macros":y.macros=jt(a.macros);break;default:fe(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=Se({},a[b]):y[b]=a[b]}return y}function kd(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const E={};for(const te of b)a[te]===null?E[te]=null:fe(a[te])?E[te]=[...a[te]]:typeof a[te]=="object"&&!(a[te]instanceof Element)&&te!=="computeEngine"?E[te]=Se({},a[te]):E[te]=a[te];return typeof y=="string"?E[y]:E}function Yf(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:Fe,backgroundColorMap:Be,letterShapeStyle:tt.locale.startsWith("fr")?"french":"tex",minFontScale:0,smartMode:!1,smartFence:!0,smartSuperscript:!0,scriptDepth:[1/0,1/0],removeExtraneousParentheses:!0,isImplicitFunction:a=>["\\sin","\\cos","\\tan","\\arcsin","\\arccos","\\arctan","\\arcsec","\\arccsc","\\arsinh","\\arcosh","\\artanh","\\arcsech","\\arccsch","\\arg","\\ch","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\sec","\\sinh","\\sh","\\tanh","\\tg","\\th","\\lg","\\lb","\\log","\\ln"].includes(a),mathModeSpace:"",placeholderSymbol:"\u25A2",contentPlaceholder:"",popoverPolicy:"auto",environmentPopoverPolicy:"off",keybindings:Fd,inlineShortcuts:ys,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:bd,value:""}}function L0(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function vd(a,y){!a||!y||(fe(a)?a.forEach(b=>vd(b,y)):typeof a=="object"&&!a.style.color&&!a.style.backgroundColor&&!a.style.fontFamily&&!a.style.fontShape&&!a.style.fontSeries&&!a.style.fontSize&&!a.style.variant&&!a.style.variantStyle&&(a.applyStyle(y),vd(a.body,y),vd(a.above,y),vd(a.below,y),vd(a.subscript,y),vd(a.superscript,y)))}function Nh(a,y,b,E){function te(le,De){for(const Re of ie)if(Re.style[le]!==De)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const ie=a.getAtoms(y,{includeChildren:!0});E.operation==="toggle"&&(b.color&&te("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&te("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&te("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&te("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&te("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&te("fontSize",b.fontSize)&&(b.fontSize=Wa),b.variant&&te("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&te("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const le of ie)le.applyStyle(b);return!0}function Tv(a,y){const b=a.at(a.position);if(b.type==="composition")b.value=y;else{const{caret:E}=b;b.caret=void 0;const te=new nd(y,{mode:b.mode});te.caret=E,b.parent.addChildAfter(te,b),a.position+=1}}function Rv(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}Vt(["math","displaymath"],Ec),Vt("center",Ec),Kn("displaylines","",{parse:a=>{const y=[];let b=[];a.beginContext({tabular:!0});do{if(a.end()||a.match("<}>"))break;a.matchColumnSeparator()||a.matchRowSeparator()?(y.push([b]),b=[]):b.push(...a.scan(E=>["<}>","&","\\cr","\\\\","\\tabularnewline"].includes(E)))}while(!0);return a.endContext(),y.push([b]),y},createAtom:a=>new fs("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),yn("array","{columns:colspec}",(a,y,b,E)=>new fs(a,Ih(y),b,{columns:E[0],mathstyleName:"textstyle"})),yn(["equation","equation*","subequations"],"",(a,y,b)=>new fs(a,Ih(y),b,{columns:[{align:"c"}]})),yn(["multline","multline*"],"",Ec),yn(["align","align*","aligned","eqnarray"],"",Ec),yn("split","",Ec),yn(["gather","gathered"],"",Ec),yn(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",Ec),yn(["smallmatrix","smallmatrix*"],"[columns:colspec]",Ec),yn(["cases","dcases","rcases"],"",Ec);function Fv(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function Ih(a,y=1){return Fv(a)?Array(y).fill([[new za({type:"first"}),new Ol]]):a.map(b=>b.length===0?[[new za({type:"first"})]]:b.map(E=>E.length===0?[new za({type:"first"})]:(E[0].type!=="first"&&E.unshift(new za({type:"first"})),E)))}function Ec(a,y=[[[]]],b=[],E=[]){switch(y=Ih(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new fs(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new fs(a,y,b,{mathstyleName:"textstyle"});case"center":return new fs(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new fs(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new fs(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new fs(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:Nd(E[0])});case"bmatrix":case"bmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:Nd(E[0])});case"Bmatrix":case"Bmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:Nd(E[0])});case"vmatrix":case"vmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:Nd(E[0])});case"Vmatrix":case"Vmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:Nd(E[0])});case"matrix":case"matrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:Nd(E==null?void 0:E[0])});case"smallmatrix":case"smallmatrix*":return new fs(a,y,b,{mathstyleName:"scriptstyle",columns:Nd(E==null?void 0:E[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new fs(a,y,b,{mathstyleName:a==="dcases"?"displaystyle":"textstyle",arraystretch:1.2,leftDelim:"\\lbrace",rightDelim:".",columns:[{align:"l"},{gap:1},{align:"l"}]});case"rcases":return new fs(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new fs(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let te=0;for(const De of y)te=Math.max(te,De.length);const ie=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let le=2;for(;le<te;)ie.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),le+=2;return ie.push({gap:0}),new fs(a,y,b,{arraycolsep:0,columns:ie,minColumns:2})}}return new fs(a,y,b,{mathstyleName:"textstyle"})}function Nd(a){return a!=null?a:[{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"}]}function Kv(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof fs);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof fs)){const E=a.at(a.position);if(b=E,!b.parent.parent){let te=a.extractAtoms([a.position,a.lastOffset]),ie=a.extractAtoms([0,a.position]);ie.length===0&&(ie=Jf()),te.length===0&&(te=Jf());let le;return y.endsWith("column")?(le=Ec("split",[[ie,te]]),a.root=le,Id(le,0,0)?Pd(a,le,0,0):Id(le,0,1)?Pd(a,le,0,1):a.position=a.offsetOf(E)):(le=Ec("lines",[[ie],[te]]),a.root=le,Id(le,0,0)?Pd(a,le,0,0):Id(le,1,0)?Pd(a,le,1,0):a.position=a.offsetOf(E)),[void 0,[0,0]]}if(b.parent instanceof Fs){const te=b.parent;let ie=a.extractAtoms([a.position,a.offsetOf(te.lastChild)]),le=a.extractAtoms([a.offsetOf(te.firstChild),a.position]);le.length===0&&(le=Jf()),ie.length===0&&(ie=Jf());let De="pmatrix";const Re=te.leftDelim,Ve=te.rightDelim;Re==="("&&(Ve===")"||Ve==="?")?De="pmatrix":(Re==="["||Re==="\\lbrack")&&(Ve==="]"||Ve==="\\rbrack"||Ve==="?")?De="bmatrix":Re==="\\vert"&&Ve==="\\vert"?De="vmatrix":Re==="\\Vert"&&Ve==="\\Vert"?De="Vmatrix":(Re==="{"||Re==="\\lbrace")&&(Ve==="."||Ve==="?")&&(De="cases");const lt=Ec(De,y.endsWith("column")?[[le,ie]]:[[le],[ie]]);return te.parent.addChildBefore(lt,te),te.parent.removeChild(te),Id(lt,0,0)?Pd(a,lt,0,0):y.endsWith("column")?Id(lt,0,1)?Pd(a,lt,0,1):a.position=a.offsetOf(b):Id(lt,1,0)?Pd(a,lt,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof fs?[b.parent,b.parentBranch]:[void 0,[0,0]]}function Id(a,y,b){const E=a.getCell(y,b);return!E||E.length!==2?!1:E[1].type==="placeholder"}function zv(a,y,b,E){const te=y.getCell(b,E);return te?[a.offsetOf(te[0]),a.offsetOf(te[te.length-1])]:-1}function Pd(a,y,b,E){const te=zv(a,y,b,E);typeof te!="number"&&a.setSelection(te)}function Qf(a,y,b,E,te){const ie=y.getCell(b,E);ie&&a.setPositionHandlingPlaceholder(a.offsetOf(ie[te==="start"?0:ie.length-1]))}function Xf(a,y){const[b,[E,te]]=Kv(a,y);if(b)switch(y){case"after row":b.addRowAfter(E),Qf(a,b,E+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(te),Qf(a,b,E,te+1,"end");break;case"before row":b.addRowBefore(E),Qf(a,b,E,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(te),Qf(a,b,E,te,"start");break}}function O0(a){return a.contentWillChange({inputType:"insertText"})?(Xf(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Hv(a){return a.contentWillChange({inputType:"insertText"})?(Xf(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function T0(a){return a.contentWillChange({inputType:"insertText"})?(Xf(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Zv(a){return a.contentWillChange({inputType:"insertText"})?(Xf(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function R0(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",E=".";switch(y){case"pmatrix":case"pmatrix*":b="(",E=")";break;case"bmatrix":case"bmatrix*":b="[",E="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",E="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",E="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",E="\\Vert";break;case"matrix":case"matrix*":b=".",E=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":E="\\rbrace";break}const te=a.at(a.position),ie=te.type==="array"?te:a.parentEnvironment;return ie.environmentName=y,ie.leftDelim=b,ie.rightDelim=E,a.contentDidChange({}),!0}function F0(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof fs);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof fs){const E=b.parent,te=b.parentBranch;let ie;switch(y){case"row":if(E.rowCount>1){E.removeRow(te[0]);const le=E.getCell(Math.max(0,te[0]-1),te[1]);ie=a.offsetOf(le[le.length-1])}break;case"column":if(E.colCount>E.minColumns){E.removeColumn(te[1]);const le=E.getCell(te[0],Math.max(0,te[1]-1));ie=a.offsetOf(le[le.length-1])}break}ie&&a.setPositionHandlingPlaceholder(ie)}}function Wv(a){return a.contentWillChange({inputType:"deleteContent"})?(F0(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function _v(a){return a.contentWillChange({inputType:"deleteContent"})?(F0(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}pc({addRowAfter:O0,addColumnAfter:T0,addRowBefore:Hv,addColumnBefore:Zv,removeRow:Wv,removeColumn:_v,setEnvironment:R0},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Jf(){return[new Ol]}var K0=class um{constructor(y){this.recording=!1,this.model=y,this.reset()}reset(){this.stack=[],this.index=-1,this.lastOp=""}startRecording(){this.recording=!0}stopRecording(){this.recording=!1}canUndo(){return this.index-1>=0}canRedo(){return this.stack.length-1>this.index}stopCoalescing(y){y&&this.index>=0&&(this.stack[this.index].selection=y),this.lastOp=""}undo(){return this.canUndo()?(this.model.setState(this.stack[this.index-1],{silenceNotifications:!1,type:"undo"}),this.index-=1,this.lastOp="",!0):!1}redo(){return this.canRedo()?(this.index+=1,this.model.setState(this.stack[this.index],{silenceNotifications:!1,type:"redo"}),this.lastOp="",!0):!1}pop(){this.canUndo()&&(this.stack.splice(this.index,this.stack.length-this.index),this.index-=1)}snapshot(y){return this.recording?(y&&y===this.lastOp&&this.pop(),this.stack.splice(this.index+1,this.stack.length-this.index-1),this.stack.push(this.model.getState()),this.index+=1,this.stack.length>um.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};K0.maximumDepth=1e3;var Vv=K0;function Ph(a,y,b){if(a.at(y).mode!=="text")return y;const E=b==="backward"?-1:1;let te;if(ge.test(a.at(y).value)){let ie=y,le;do le=a.at(ie).mode==="text"&&ge.test(a.at(ie).value),ie+=E;while(a.at(ie)&&le);te=a.at(ie)?ie-2*E:ie-E}else if(/\s/.test(a.at(y).value)){let ie=y;for(;a.at(ie)&&a.at(ie).mode==="text"&&/\s/.test(a.at(ie).value);)ie+=E;if(!a.at(ie))te=ie-E;else{let le=!0;do le=a.at(ie).mode==="text"&&!/\s/.test(a.at(ie).value),ie+=E;while(a.at(ie)&&le);te=a.at(ie)?ie-2*E:ie-E}}else{let ie=y;for(;a.at(ie)&&a.at(ie).mode==="text"&&!/\s/.test(a.at(ie).value);)ie+=E;te=a.at(ie)?ie:ie-E;let le=!0;for(;a.at(ie)&&le;)le=a.at(ie).mode==="text"&&/\s/.test(a.at(ie).value),le&&(te=ie),ie+=E;te=a.at(ie)?ie-2*E:ie-E}return te-(E>0?0:1)}function Yd(a,y,b){var E,te,ie,le,De,Re,Ve;const lt=a.position;(E=b==null?void 0:b.extend)!=null&&E||a.collapseSelection(y);let zt=a.at(a.position);if(y==="forward"&&(zt.type==="subsup"?(zt=zt.rightSibling,zt||(zt=a.at(a.position+1))):zt=a.at(a.position+1)),!zt)return a.announce("plonk"),!1;let wn=a.offsetOf(zt);if(zt instanceof nc)wn=Ph(a,wn,y);else if(zt instanceof Gu)if(zt.isSuggestion)for(console.assert(y==="forward");zt&&zt instanceof Gu;)zt.isSuggestion=!1,wn=a.offsetOf(zt),zt=zt.rightSibling;else if(y==="forward"){if(zt=zt.rightSibling,!zt||!(zt instanceof Gu))return a.announce("plonk"),!1;for(;zt&&zt instanceof Gu&&/[a-zA-Z\*]/.test(zt.value);)wn=a.offsetOf(zt),zt=zt.rightSibling}else{if(zt=zt.leftSibling,!zt||!(zt instanceof Gu))return a.announce("plonk"),!1;for(;zt&&zt instanceof Gu&&/[a-zA-Z\*]/.test(zt.value);)wn=a.offsetOf(zt),zt=zt.leftSibling}else if(y==="forward"&&zt.type==="mopen"){let nr=0;do zt.type==="mopen"?nr+=1:zt.type==="mclose"&&(nr-=1),zt=zt.rightSibling;while(!zt.isLastSibling&&nr!==0);wn=a.offsetOf(zt.leftSibling)}else if(y==="backward"&&zt.type==="mclose"){let nr=0;do zt.type==="mopen"?nr+=1:zt.type==="mclose"&&(nr-=1),zt=zt.leftSibling;while(!zt.isFirstSibling&&nr!==0);wn=a.offsetOf(zt)}else if(y==="backward")if(zt.type==="first")for(;wn>0&&zt.type==="first";)wn-=1,zt=a.at(wn);else{const nr=zt.type;zt.type==="subsup"&&(wn=a.offsetOf(a.at(wn).leftSibling)),wn-=1;let hr=(te=a.at(wn))==null?void 0:te.type;for(;wn>=0&&hr===nr;)((ie=a.at(wn))==null?void 0:ie.type)==="subsup"?wn=a.offsetOf(a.at(wn).leftSibling):wn-=1,hr=a.at(wn).type}else{const{type:nr}=zt;let hr=(le=a.at(wn))==null?void 0:le.type;const{lastOffset:Ia}=a;for(;wn<=Ia&&(hr===nr||hr==="subsup");){for(;((De=a.at(wn).rightSibling)==null?void 0:De.type)==="subsup";)wn=a.offsetOf(a.at(wn).rightSibling);wn+=1,hr=(Re=a.at(wn))==null?void 0:Re.type}wn-=1}if((Ve=b==null?void 0:b.extend)!=null&&Ve){if(!a.setSelection(a.anchor,wn))return a.announce("plonk"),!1}else{if(wn===a.position)return a.announce("plonk"),!1;a.position=wn}return a.announce("move",lt),a.mathfield.stopCoalescingUndo(),!0}function Wc(a,y,b){var E,te;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[De,Re]=x0(a);De!==void 0&&Re!==void 0&&a.deleteAtoms([De,Re])}if(y==="upward")return Uv(a,b);if(y==="downward")return Gv(a,b);if(b.extend){let De=qf(a,a.position,y);De<0&&(De=0),De>a.lastOffset&&(De=a.lastOffset);const Re=a.setSelection(a.anchor,De);return a.mathfield.stopCoalescingUndo(),Re}if(a.selectionIsPlaceholder){a.collapseSelection(y);const De=Wc(a,y);return a.mathfield.stopCoalescingUndo(),De}let ie=a.position;const le=ie;if(a.collapseSelection(y)?(ie=a.position,z0(a,ie)||(ie=qf(a,ie,y))):ie=qf(a,ie,y),ie<0||ie>a.lastOffset){let De=!0;return a.silenceNotifications||(De=(te=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?te:!0),De&&a.announce("plonk"),De}return a.setPositionHandlingPlaceholder(ie),a.mathfield.stopCoalescingUndo(),a.announce("move",le),!0}function qf(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||z0(a,y)?y:qf(a,y,b)}function z0(a,y){var b;const E=a.at(y);let te=E.parent;for(;te&&!te.inCaptureSelection;)te=te.parent;return!(te!=null&&te.inCaptureSelection||(b=E.parent)!=null&&b.skipBoundary&&(!E.isFirstSibling&&E.isLastSibling||E.type==="first")||a.mathfield.hasEditablePrompts&&!E.parentPrompt)}function jv(a,y,b){let E=1/0,te=0;for(;te<y.length;te++){const ie=Uu(a.getHTMLElement(y[te])).right,le=Math.abs(b-ie);if(le<=E)E=le;else break}return y[te-1]}function $f(a,y,b,E,te){const ie=a.mathfield.hasEditablePrompts,le=ie?b.filter(Ve=>Ve.type==="prompt"&&!Ve.captureSelection):b,De=Uu(a.mathfield.getHTMLElement(y)).right,Re=a.offsetOf(jv(a.mathfield,le,De))-(ie?1:0);if(E){const[Ve,lt]=a.selection.ranges[0];let zt;Re<(te==="up"?Ve:lt)?zt={ranges:[[Re,lt]],direction:"backward"}:zt={ranges:[[Ve,Re]],direction:"forward"},a.setSelection(zt)}else a.setPositionHandlingPlaceholder(Re);a.announce(`move ${te}`)}function Uv(a,y){var b,E;const te=(b=y==null?void 0:y.extend)!=null?b:!1;te||a.collapseSelection("backward");const ie=()=>{var Re,Ve;let lt=!0;return a.silenceNotifications||(lt=(Ve=(Re=a.mathfield.host)==null?void 0:Re.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Ve:!0),a.announce(lt?"plonk":"line"),lt},le=a.at(a.position);let De=le;for(;De&&De.parentBranch!=="below"&&!(Array.isArray(De.parentBranch)&&De.parent instanceof fs);)De=De.parent;if(Array.isArray(De==null?void 0:De.parentBranch)&&De.parent instanceof fs){const Re=De.parent;if(De.parentBranch[0]<1)return ie();const Ve=De.parentBranch[0]-1,lt=Re.array[Ve][De.parentBranch[1]];if(!lt.some(wn=>wn.type==="prompt"&&!wn.captureSelection)&&a.mathfield.hasEditablePrompts)return ie();$f(a,le,lt,te,"up")}else if(De){const Re=(E=De.parent.branch("above"))!=null?E:De.parent.createBranch("above");if(!Re.some(lt=>lt.type==="prompt"&&lt.placeholderId)&&a.mathfield.hasEditablePrompts)return ie();$f(a,le,Re,te,"up")}else return ie();return a.mathfield.stopCoalescingUndo(),!0}function Gv(a,y){var b,E;const te=(b=y==null?void 0:y.extend)!=null?b:!1;te||a.collapseSelection("forward");const ie=()=>{var Re,Ve;let lt=!0;return a.silenceNotifications||(lt=(Ve=(Re=a.mathfield.host)==null?void 0:Re.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Ve:!0),a.announce(lt?"plonk":"line"),lt},le=a.at(a.position);let De=le;for(;De&&De.parentBranch!=="above"&&!(Array.isArray(De.parentBranch)&&De.parent instanceof fs);)De=De.parent;if(Array.isArray(De==null?void 0:De.parentBranch)&&De.parent instanceof fs){const Re=De.parent;if(De.parentBranch[0]+1>Re.array.length-1)return ie();const Ve=De.parentBranch[0]+1,lt=Re.array[Ve][De.parentBranch[1]];if(!lt.some(wn=>wn.type==="prompt"&&!wn.captureSelection)&&a.mathfield.hasEditablePrompts)return ie();$f(a,le,lt,te,"down")}else if(De){const Re=(E=De.parent.branch("below"))!=null?E:De.parent.createBranch("below");if(!Re.some(lt=>lt.type==="prompt")&&a.mathfield.hasEditablePrompts)return ie();$f(a,le,Re,te,"down")}else return ie();return!0}function H0(a){const y=a.position,b=a.at(y).parent;return b!=null&&b.parent?(a.position=a.offsetOf(b),a.mathfield.stopCoalescingUndo(),a.announce("move",y),!0):(a.announce("plonk"),!1)}function Yv(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!1):E=!0,b=b.parent;return E?y:0}function Qv(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!0):E=!1,b=b.parent;return E?y:0}function Z0(a){var y;if(a.collapseSelection(),Yv(a)>=a.mathfield.options.scriptDepth[1])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=b.rightSibling)==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new Sc({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function W0(a){var y;if(a.collapseSelection(),Qv(a)>=a.mathfield.options.scriptDepth[0])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=a.at(a.position+1))==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new Sc({style:a.at(a.position).computedStyle}),b),b=a.at(a.position+1)),b.createBranch("subscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.subscript[0]))),!0}function Xv(){function a(Re){const Ve=[],lt=[];return[...Re.querySelectorAll(`input, select, textarea, a[href], button,
[tabindex], audio[controls], video[controls],
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((wn,nr)=>{const hr=E(wn);hr===0?Ve.push(wn):lt.push({documentOrder:nr,tabIndex:hr,node:wn})}),lt.sort((wn,nr)=>wn.tabIndex===nr.tabIndex?wn.documentOrder-nr.documentOrder:wn.tabIndex-nr.tabIndex).map(wn=>wn.node).concat(Ve)}function y(Re){return!(!b(Re)||te(Re)||E(Re)<0)}function b(Re){return!(Re.disabled||Re.type==="hidden"&&Re.tagName.toUpperCase()==="INPUT"||De(Re))}function E(Re){var Ve;const lt=Number.parseInt((Ve=Re.getAttribute("tabindex"))!=null?Ve:"NaN",10);return Number.isNaN(lt)?Re.contentEditable==="true"||(Re.nodeName==="AUDIO"||Re.nodeName==="VIDEO")&&Re.getAttribute("tabindex")===null?0:Re.tabIndex:lt}function te(Re){return Re.tagName.toUpperCase()==="INPUT"&&Re.type==="radio"&&!le(Re)}function ie(Re,Ve){for(const lt of Re)if(lt.checked&&lt.form===Ve)return lt;return null}function le(Re){var Ve;if(!Re.name)return!0;const zt=((Ve=Re.form)!=null?Ve:Re.ownerDocument).querySelectorAll('input[type="radio"][name="'+Re.name+'"]'),wn=ie(zt,Re.form);return!wn||wn===Re}function De(Re){if(!pt()||Re===document.activeElement||Re.contains(document.activeElement))return!1;if(getComputedStyle(Re).visibility==="hidden")return!0;const Ve=Re.getBoundingClientRect();if(Ve.width===0||Ve.height===0)return!0;for(;Re;){if(getComputedStyle(Re).display==="none")return!0;Re=Re.parentElement}return!1}return pt()?a(document.body):[]}function lc(a,y,b="forward"){const E=a.position;if(Array.isArray(y)){const te=a.offsetOf(y[0]),ie=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(te,ie):a.setSelection(ie,te),a.announce("move",E),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?lc(a,[y.leftSibling,y]):lc(a,[y,y.leftSibling])}function Oc(a,y){const b=a.position;if(typeof y=="number"&&(y=a.at(y)),y.type==="prompt")a.setSelection(a.offsetOf(y.firstChild),a.offsetOf(y.lastChild));else{const E=a.offsetOf(y);y.type==="placeholder"?a.setSelection(E-1,E):a.position=E}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function eh(a,y,b=!0){var E,te;const ie=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Wc(a,y);let le;const De=a.at(a.anchor).parentPrompt;De?y==="forward"?le=a.offsetOf(De)+1:le=a.offsetOf(De.leftSibling):le=Math.max(a.position+ie,0);const Re=Bh(a,le,y);if(!Re||y==="forward"&&a.offsetOf(Re)<le||y==="backward"&&a.offsetOf(Re)>le){if(!b||!((te=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||te))return a.announce("plonk"),!1;const lt=Xv();if(!document.activeElement||lt.length<=1)return a.announce("plonk"),!1;let zt=lt.indexOf(document.activeElement)+ie;return zt<0&&(zt=lt.length-1),zt>=lt.length&&(zt=0),lt[zt].focus(),a.mathfield.stopCoalescingUndo(),!0}return Oc(a,Re),!0}function Bh(a,y=0,b="forward"){return a.findAtom(E=>E.type==="placeholder"||E.type==="prompt"||!a.mathfield.readOnly&&E.treeDepth>2&&E.isFirstSibling&&E.isLastSibling,y,b)}pc({moveToOpposite:a=>{const y={superscript:"subscript",subscript:"superscript",above:"below",below:"above"},b=a.at(a.position),{parent:E}=b;if(!E)return a.announce("plonk"),!1;const te=b.parentBranch;let ie;if(typeof te=="string"&&(ie=y[te]),!ie){const De=b.subsupPlacement?W0(a):Z0(a);return a.mathfield.stopCoalescingUndo(),De}E.branch(ie)||E.createBranch(ie);const le=a.setSelection(a.getBranchRange(a.offsetOf(E),ie));return a.mathfield.stopCoalescingUndo(),le},moveBeforeParent:a=>{const{parent:y}=a.at(a.position);return y?(a.position=a.offsetOf(y),a.mathfield.stopCoalescingUndo(),!0):(a.announce("plonk"),!1)},moveAfterParent:a=>H0(a),moveToNextChar:a=>Wc(a,"forward"),moveToPreviousChar:a=>Wc(a,"backward"),moveUp:a=>Wc(a,"upward"),moveDown:a=>Wc(a,"downward"),moveToNextWord:a=>Yd(a,"forward"),moveToPreviousWord:a=>Yd(a,"backward"),moveToGroupStart:a=>{const y=a.offsetOf(a.at(a.position).firstSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToGroupEnd:a=>{const y=a.offsetOf(a.at(a.position).lastSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToNextGroup:a=>{var y,b,E,te;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return eh(a,"forward");const ie=a.at(a.position);if(ie.mode==="text"){if(a.selectionIsCollapsed){let wn=ie;for(;wn&&wn.mode==="text";)wn=wn.leftSibling;let nr=ie;for(;((y=nr.rightSibling)==null?void 0:y.mode)==="text";)nr=nr.rightSibling;if(wn&&nr)return lc(a,[wn,nr])}if(ie.rightSibling.mode==="text"){let wn=ie;for(;wn&&wn.mode==="text";)wn=wn.rightSibling;return wn?(Oc(a,(b=wn.leftSibling)!=null?b:wn),a.mathfield.switchMode("math"),!0):Oc(a,a.lastOffset)}}const De=a.at(a.anchor).parentPrompt,Re=De?a.offsetOf(De)+1:Math.max(a.position+1,0),Ve=Bh(a,Re,"forward");if(Ve)return Oc(a,Ve);const lt=_0(a,ie,wn=>wn.type==="leftright"||wn.type==="text","forward");if(lt){if(lt.mode==="text"){let wn=lt;for(;wn&&wn.mode==="text";)wn=wn.rightSibling;return lc(a,[(E=lt.leftSibling)!=null?E:lt,(te=wn.leftSibling)!=null?te:wn])}return lc(a,lt)}const zt=ie.parent;if(zt){if(zt.type==="leftright"||zt.type==="surd")return lc(a,zt);if(ie.parentBranch==="superscript"&&zt.subscript)return lc(a,zt.subscript);if(ie.parentBranch==="above"&&zt.below)return lc(a,zt.below);if(ie.parentBranch==="superscript"||ie.parentBranch==="subscript")return Oc(a,zt);if(ie.parentBranch==="above"||ie.parentBranch==="below")return lc(a,zt)}return Oc(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return eh(a,"backward");let b=a.at(a.position);const E=b.mode;if(E==="text"){if(a.selectionIsCollapsed){let De=b;for(;De&&De.mode==="text";)De=De.leftSibling;let Re=b;for(;((y=Re.rightSibling)==null?void 0:y.mode)==="text";)Re=Re.rightSibling;if(De&&Re)return lc(a,[De,Re])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?Oc(a,b):Oc(a,0)}const te=a.at(a.anchor).parentPrompt,ie=te?a.offsetOf(te.leftSibling):Math.max(a.position-1,0),le=Bh(a,ie,"backward");if(le)return Oc(a,le);if(E==="math"){const De=_0(a,b,Ve=>Ve.type==="leftright"||Ve.type==="text","backward");if(De){if(De.mode==="text"){let Ve=De;for(;Ve&&Ve.mode==="text";)Ve=Ve.leftSibling;return lc(a,[De,Ve])}return lc(a,De)}const Re=b.parent;if(Re){if(Re.type==="leftright"||Re.type==="surd")return lc(a,Re);if(b.parentBranch==="subscript"&&Re.superscript)return lc(a,Re.superscript);if(b.parentBranch==="below"&&Re.above)return lc(a,Re.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return Oc(a,Re);if(b.parentBranch==="above"||b.parentBranch==="below")return lc(a,Re)}return Oc(a,0)}return!1},moveToMathfieldStart:a=>a.selectionIsCollapsed&&a.position===0?(a.announce("plonk"),!1):(a.position=0,a.mathfield.stopCoalescingUndo(),!0),moveToMathfieldEnd:a=>a.selectionIsCollapsed&&a.position===a.lastOffset?(a.announce("plonk"),!1):(a.position=a.lastOffset,a.mathfield.stopCoalescingUndo(),!0),moveToSuperscript:Z0,moveToSubscript:W0},{target:"model",changeSelection:!0}),pc({moveToNextPlaceholder:a=>eh(a,"forward"),moveToPreviousPlaceholder:a=>eh(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function _0(a,y,b,E){if(E==="forward"){let ie=y.rightSibling;for(;ie&&!b(ie);)ie=ie.rightSibling;return ie}let te=y.leftSibling;for(;te&&!b(te);)te=te.leftSibling;return te}function th(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,te=!1,ie="";for(;!te;){const le=a.at(E);te=y===0||le===void 0||le.type==="first"||le.mode!=="math"||!(le.type&&/mord|mpunct|operator/.test(le.type)||le.type==="mop"&&/[a-zA-Z ]+/.test(le.value))||!le.hasEmptyBranch("superscript")||!le.hasEmptyBranch("subscript")||typeof b=="function"&&!b(le),te||(le.mode="text",le.command=le.value,le.verbatimLatex=void 0,ie+=le.value),E-=1,y-=1}a.contentDidChange({data:ie,inputType:"insertText"})}function Bd(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,te=!1;const ie=[];for(;!te;){const le=a.at(E);te=y===0||!le||le.type==="first"||le.isFirstSibling||le.mode!=="text"||le.value===" "||typeof b=="function"&&!b(le),te||(ie.push(za.serialize([le],{defaultMode:"math"})),le.mode="math"),E-=1,y-=1}Lh(a),a.contentDidChange({data:Qi(ie),inputType:"insertText"})}function Lh(a){var y;let b=a.position-1;for(;b>=0&&((y=a.at(b))==null?void 0:y.mode)==="math";)b-=1;if(!(b<0)&&a.at(b).mode==="text"&&a.at(b).value===" "&&a.at(b-1).mode==="math"){a.at(b-1).parent.removeChild(a.at(b-1));const E=a.silenceNotifications;a.silenceNotifications=!0,a.position-=1,a.silenceNotifications=E,a.contentDidChange({inputType:"deleteContent"})}}function Jv(a){let y="",b=a.position,E=!1;for(;!E;){const te=a.at(b);E=!(te&&(te.mode==="text"||te.mode==="math"&&te.type&&/mord|mpunct/.test(te.type))),E||(y=te.value+y),b-=1}return y}function qv(a,y,b){const{model:E}=a;if(E.mode==="latex"||!E.at(E.position).isLastSibling||!b||!Tf(b))return!1;const te=Wd(b);if(!E.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(te));const ie=Jv(E)+te;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(te))return!0;if(/[\^_]/.test(te))return/(^|\s)[a-zA-Z][^_]$/.test(ie)&&Bd(E,1),!0;const le={")":"(","}":"{","]":"["}[te],{parent:De}=E.at(E.position);if(le&&De instanceof Fs&&De.leftDelim===le)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(ie))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(te))return!0;if(/(^|[^a-zA-Z'])[a-zA-Z] $/.test(ie))return Bd(E,1),!1;if(/\D\.[^\d\s]$/.test(ie)){Bd(E,1);const Re=E.at(E.position);return Re.value="\u22C5",Re.style.variant="normal",Re.command="\\cdot",Re.verbatimLatex=void 0,E.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(ie)||/\.\d$/.test(ie)||/\([\d+\-.]$/.test(ie))return Bd(E,1),!0;if(/\([a-z][,;]$/.test(ie))return Bd(E,2),!0;if(/[\d+\-=><*|]$/.test(te))return Lh(E),!0}else{if(y==="[Space]")return th(E,void 0,le=>/[a-z][:,;.]$/.test(le.value)),!0;if(/[a-zA-Z]{3,}$/.test(ie)&&!/(dxd|abc|xyz|uvw)$/.test(ie))return th(E,void 0,le=>/[a-zA-Z]/.test(le.value)),!0;if(/(^|\W)(if)$/i.test(ie))return th(E,1),!0;if(/(\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5){3,}$/u.test(ie)&&!/(αβγ)$/.test(ie))return th(E,void 0,le=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(le.value)),!0;if(te==="?"||te==="."&&!/[\d-+]\.$/.test(ie))return!0}return!1}function $v(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=V0(),E=a.element.getBoundingClientRect();b.style.left=`${E.left}px`,b.style.top=`${E.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(wh(y)||y)+"</span>"+b.innerHTML),b.style.visibility="visible",setTimeout(()=>{b.childNodes.length>0&&b.childNodes[b.childNodes.length-1].remove(),b.childNodes.length===0&&(b.style.visibility="hidden")},3e3)}function eg(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=V0();y.innerHTML=""}else{const y=Kf("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function V0(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(hc("keystroke-caption"),hc("core"),Kf("mathlive-keystroke-caption-panel"))}function tg(){document.getElementById("mathlive-keystroke-caption-panel")&&(Ch("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function j0(a,y){var b,E,te;const{model:ie}=a,le=y0(y);if(y.isTrusted){Vm(y);const nr=pf();a.keyboardLayout!==nr.id&&(a.keyboardLayout=nr.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,$v(a,le),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let De,Re="",Ve;const lt=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(ie.mode==="math")if(le==="[Backspace]")lt.pop();else if(!Tf(y))a.flushInlineShortcutBuffer();else{const nr=Wd(y),hr=[...(E=(b=lt[lt.length-1])==null?void 0:b.keystrokes)!=null?E:[],nr];lt.push({state:ie.getState(),keystrokes:hr,leftSiblings:ng(a)});let Ia=0,Yi="";for(;!De&&Ia<hr.length;)Ve=lt.length-(hr.length-Ia),Yi=hr.slice(Ia).join(""),De=Hl(lt[Ve].leftSiblings,Yi,a.options.inlineShortcuts),!De&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(Yi)&&(De=a.options.onInlineShortcut(a,Yi)),Ia+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(De?a.switchMode("math"):qv(a,le,y)&&(a.switchMode({math:"text",text:"math"}[ie.mode]),Re=""))}if(!De){if(Re||(Re=Jm(a.keybindings,ie.mode,y)),!Re&&(le==="[Enter]"||le==="[Return]")){let nr=!1;return ie.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(nr=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),nr||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),ie.contentDidChange({inputType:"insertLineBreak"})),nr}if((!Re||le==="[Space]")&&ie.mode==="math"){if(le==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return is.insert(ie,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),Re="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const nr=ie.at(ie.position+1),hr=ie.at(ie.position-1);if((nr==null?void 0:nr.mode)==="text"||(hr==null?void 0:hr.mode)==="text")return is.insert(ie," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(te=ie.at(ie.position))!=null&&te.isDigit()&&window.MathfieldElement.decimalSeparator===","&&Wd(y)===","&&(Re="insertDecimalSeparator")}}if(!De&&!Re){if(ie.mathfield.smartFence){if(Th(ie,Wd(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:nr}=ie.at(ie.position);if(nr instanceof Fs&&nr.rightDelim==="?"&&ie.at(ie.position).isLastSibling&&/^[)}\]|]$/.test(le))return a.snapshot(),nr.isDirty=!0,nr.rightDelim=le,ie.position+=1,ie.selectionDidChange(),ie.contentDidChange({data:Wd(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!ie.selectionIsCollapsed){const hr=Wd(y);if(hr==="("||hr==="{"||hr==="["){const Ia={"(":"(","{":"\\lbrace","[":"\\lbrack"}[hr],Yi={"(":")","{":"\\rbrace","[":"\\rbrack"}[hr],[Ca,si]=ou(ie.selection);return a.snapshot(),ie.position=si,is.insert(ie,Yi,{format:"latex"}),ie.position=Ca,is.insert(ie,Ia,{format:"latex"}),ie.setSelection(Ca+1,si+1),ie.contentDidChange({data:hr,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const zt=ie.at(Math.max(ie.position,ie.anchor)),{parent:wn}=zt;if(Re==="moveAfterParent"&&(wn==null?void 0:wn.type)==="leftright"&&zt.isLastSibling&&a.options.smartFence&&Th(ie,".",a.defaultStyle)&&(Re="",Eu(a)),a.keyboardDelegate.cancelComposition(),Re)a.executeCommand(Re);else if(De){const nr=a.effectiveStyle;ie.setState(lt[Ve].state);const hr=lt[lt.length-1].keystrokes;for(const Ia of hr)is.insert(ie,Ia,{silenceNotifications:!0,style:nr});a.snapshot("insert-shortcut"),ie.setState(lt[Ve].state),ie.deferNotifications({content:!0,selection:!0,data:De,type:"insertText"},()=>(is.insert(ie,De,{format:"latex",style:nr}),Lh(a.model),De.endsWith(" ")&&(a.switchMode("text"),is.insert(ie," ",{style:nr,mode:"text"})),a.snapshot(),ie.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,ie.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function Oh(a,y,b){const{model:E}=a;if(!a.isSelectionEditable){E.announce("plonk");return}b!=null||(b={}),b.focus&&a.focus(),b.feedback&&window.MathfieldElement.playSound("keypress"),typeof b.mode=="string"&&(a.switchMode(b.mode),a.snapshot());let te=_s(y);const ie=window.mathVirtualKeyboard;if(ie!=null&&ie.isShifted&&(te=typeof te=="string"?te.toUpperCase():te.map(Re=>Re.toUpperCase())),b.simulateKeystroke){let Re=!0;for(const Ve of te)j0(a,new KeyboardEvent("keypress",{key:Ve}))&&(Re=!1);if(Re)return}const le=E.at(E.position),De=Se(Se({},le.computedStyle),a.defaultStyle);if(E.selectionIsCollapsed||(E.deleteAtoms(ou(E.selection)),a.snapshot("delete")),E.mode==="latex")E.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Ff(a);for(const Re of te)is.insert(E,Re);a.snapshot("insert-latex"),vf(a)});else if(E.mode==="text"){for(const Re of te)is.insert(E,Re,{style:De});a.snapshot("insert-text")}else if(E.mode==="math")for(const Re of te)rg(a,Re,De,le);a.dirty=!0,a.scrollIntoView()}function ng(a){const y=a.model,b=[];let E=y.at(Math.min(y.position,y.anchor));for(;E.type!=="first";)b.push(E),E=E.leftSibling;return b}function rg(a,y,b,E){const te=a.model;let ie={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(ie=["insert",a.options.mathModeSpace]),ie){a.executeCommand(ie);return}if(/\d/.test(y)&&a.options.smartSuperscript&&E.parentBranch==="superscript"&&E.parent.type!=="mop"&&E.parent.type!=="operator"&&E.parent.type!=="extensible-symbol"&&E.hasNoSiblings){ag(te),is.insert(te,y,{style:b}),a.snapshot(),H0(te),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const le=a.adoptStyle==="left"?E:E.parent?E.rightSibling:null;(le==null?void 0:le.type)==="mord"&&/[a-zA-Z0-9]/.test(le.value)&&(b=Se({},b),le.style.variant&&(b.variant=le.style.variant),le.style.variantStyle&&(b.variantStyle=le.style.variantStyle))}is.insert(te,y,{style:b}),a.snapshot(`insert-${te.at(te.position).type}`)}function ag(a){a.selectionIsCollapsed||(a.deleteAtoms(ou(a.selection)),a.mathfield.snapshot("delete"))}function Th(a,y,b){if(!y||a.mode!=="math")return!1;const E=a.at(a.position),{parent:te}=E,ie={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!ie)return!1;const le=re[ie],De=ae[ie];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[Re,Ve]=ou(a.selection),lt=a.extractAtoms([Re,Ve]),zt=te.addChildrenAfter([new Fs("left...right",lt,{leftDelim:ie,rightDelim:De})],a.at(Re));return a.setSelection(a.offsetOf(zt.firstChild),a.offsetOf(zt.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ie,inputType:"insertText"}),!0}if(ie==="|"){const Re=te instanceof Fs?te.leftDelim+te.rightDelim:"";if(Re==="\\lbrace\\rbrace"||Re==="\\{\\}"||Re==="\\lbrace?")return a.mathfield.snapshot(),is.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ie,inputType:"insertText"}),!0}if(De){if(te instanceof Fs&&te.firstChild===E&&(te.leftDelim==="?"||te.leftDelim==="."))return te.leftDelim=ie,te.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(te instanceof Fs)){let zt=E;for(;zt&&!(zt.type==="mclose"&&zt.value===De);)zt=zt.rightSibling;if(zt){a.mathfield.snapshot();const wn=a.extractAtoms([a.offsetOf(E),a.offsetOf(zt)]);return wn.pop(),te.addChildrenAfter([new Fs("left...right",wn,{leftDelim:ie,rightDelim:De})],E),a.position=a.offsetOf(te.firstChild)+1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const Re=a.offsetOf(E.lastSibling);let Ve;for(Ve=a.position;Ve<=Re;Ve++){const zt=a.at(Ve);if(zt instanceof Fs&&(zt.leftDelim==="?"||zt.leftDelim===".")&&U0(ie,zt.rightDelim))break}const lt=a.at(Ve);if(Ve<=Re&&lt instanceof Fs){lt.leftDelim=ie,a.mathfield.snapshot();let zt=a.extractAtoms([a.position,Ve-1]);return zt=zt.filter(wn=>wn.type!=="first"),lt.addChildren(zt,lt.parentBranch),a.position+=1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(te instanceof Fs&&(te.leftDelim==="?"||te.leftDelim===".")&&U0(ie,te.rightDelim)){te.isDirty=!0,te.leftDelim=ie,a.mathfield.snapshot();const zt=a.extractAtoms([a.offsetOf(E.firstSibling),a.position]);for(const wn of zt)te.parent.addChildBefore(wn,te);return a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(te instanceof Fs&&te.leftDelim==="|")){if(a.mathfield.snapshot(),is.insert(a,`\\left${ie}\\right?`,{format:"latex",style:b}),E.lastSibling.type!=="first"){const zt=a.offsetOf(E.lastSibling),wn=a.extractAtoms([a.position,zt]);a.at(a.position).body=wn,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(le){let Re=E;for(;Re;){if(Re.type==="mopen"&&Re.value===le){a.mathfield.snapshot();const nr=Re.leftSibling,hr=a.extractAtoms([a.offsetOf(Re.leftSibling),a.offsetOf(E)]);hr.shift();const Ia=new Fs("left...right",hr,{leftDelim:le,rightDelim:ie});return te.addChildrenAfter([Ia],nr),a.position=a.offsetOf(Ia),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}Re=Re.leftSibling}if(te instanceof Fs&&E.isLastSibling&&Rh(te.leftDelim,ie))return a.mathfield.snapshot(),te.isDirty=!0,te.rightDelim=ie,a.position+=1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Ve=a.offsetOf(E.firstSibling);let lt;for(lt=a.position;lt>=Ve;lt--){const nr=a.at(lt);if(nr instanceof Fs&&(nr.rightDelim==="?"||nr.rightDelim===".")&&Rh(nr.leftDelim,ie))break}const zt=a.at(lt);if(lt>=Ve&&zt instanceof Fs)return a.mathfield.snapshot(),zt.rightDelim=ie,zt.addChildren(a.extractAtoms([lt,a.position]),zt.parentBranch),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(te instanceof Fs&&(te.rightDelim==="?"||te.rightDelim===".")&&Rh(te.leftDelim,ie))return a.mathfield.snapshot(),te.isDirty=!0,te.rightDelim=ie,te.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(E.lastSibling)]),te.parentBranch),a.position=a.offsetOf(te),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const wn=te.parent;return wn instanceof Fs&&(wn.rightDelim==="?"||wn.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(wn),Th(a,ie,b)):!1}return!1}function Rh(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):ae[a]===y:!0}function U0(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):re[y]===a:!0}pc({undo:a=>(a.undo(),!0),redo:a=>(a.redo(),!0),scrollIntoView:a=>(a.scrollIntoView(),!0),scrollToStart:a=>(a.field.scroll(0,0),!0),scrollToEnd:a=>{const y=a.field.getBoundingClientRect();return a.field.scroll(y.left-window.scrollX,0),!0},toggleKeystrokeCaption:eg,toggleContextMenu:a=>{const y=a.toggleContextMenu();return y||a.model.announce("plonk"),y},plonk:a=>(a.model.announce("plonk"),!0),switchMode:(a,y,b,E)=>(a.switchMode(y,b,E),!0),insert:(a,y,b)=>a.insert(y,b),typedText:(a,y,b)=>(Oh(a,y,b),!0),insertDecimalSeparator:a=>{const y=a.model;return y.mode==="math"&&window.MathfieldElement.decimalSeparator===","&&y.at(Math.max(y.position,y.anchor)).isDigit()?(a.insert("{,}",{format:"latex"}),a.snapshot("insert-mord"),!0):(a.insert("."),!0)},commit:a=>{var y;return a.model.contentWillChange({inputType:"insertLineBreak"})&&((y=a.host)==null||y.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),a.model.contentDidChange({inputType:"insertLineBreak"})),!0},insertPrompt:(a,y,b)=>{const E=a.getPrompts();let te="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ie=0;for(;E.includes(te)&&ie<100;){if(ie===99)return console.error("could not find a unique ID after 100 tries"),!1;te="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ie++}return a.insert(`\\placeholder[${y!=null?y:te}]{}`,b),!0}}),pc({copyToClipboard:a=>(a.focus(),a.model.selectionIsCollapsed&&a.select(),"queryCommandSupported"in document&&document.queryCommandSupported("copy")?document.execCommand("copy"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("copy",{bubbles:!0,composed:!0})),!1)},{target:"mathfield"}),pc({cutToClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("cut")?document.execCommand("cut"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("cut",{bubbles:!0,composed:!0})),!0),pasteFromClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("paste")?(document.execCommand("paste"),!0):(navigator.clipboard.readText().then(y=>{y&&a.model.contentWillChange({inputType:"insertFromPaste",data:y})?(a.stopCoalescingUndo(),a.stopRecording(),a.insert(y,{mode:a.model.mode})&&(vf(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Eu(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function ig(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Fh(a,y),{model:E}=a;return E.selectionIsCollapsed?(a.defaultStyle.fontSeries&&b.fontSeries===a.defaultStyle.fontSeries&&(b.fontSeries="auto"),b.fontShape&&b.fontShape===a.defaultStyle.fontShape&&(b.fontShape="auto"),b.color&&b.color===a.defaultStyle.color&&(b.color="none"),b.backgroundColor&&b.backgroundColor===a.defaultStyle.backgroundColor&&(b.backgroundColor="none"),b.fontSize&&b.fontSize===a.defaultStyle.fontSize&&(b.fontSize="auto"),a.defaultStyle=Se(Se({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{E.selection.ranges.forEach(te=>Nh(E,te,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}pc({applyStyle:ig},{target:"mathfield",canUndo:!0,changeContent:!0});function Fh(a,y){var b,E,te,ie,le,De,Re,Ve,lt,zt;const wn={};if(typeof y.color=="string"){const hr=(E=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?E:"none";hr!==y.color&&(wn.verbatimColor=(te=y.verbatimColor)!=null?te:y.color),wn.color=hr}if(typeof y.backgroundColor=="string"){const hr=(le=a.backgroundColorMap((ie=y.backgroundColor)!=null?ie:y.verbatimBackgroundColor))!=null?le:"none";hr!==y.backgroundColor&&(wn.verbatimBackgroundColor=(De=y.verbatimBackgroundColor)!=null?De:y.backgroundColor),wn.backgroundColor=hr}typeof y.fontFamily=="string"&&(wn.fontFamily=y.fontFamily),typeof y.series=="string"&&(wn.fontSeries=y.series),typeof y.fontSeries=="string"&&(wn.fontSeries=y.fontSeries.toLowerCase()),wn.fontSeries&&(wn.fontSeries=(Re={bold:"b",medium:"m",normal:"m"}[wn.fontSeries])!=null?Re:wn.fontSeries),typeof y.shape=="string"&&(wn.fontShape=y.shape),typeof y.fontShape=="string"&&(wn.fontShape=y.fontShape.toLowerCase()),wn.fontShape&&(wn.fontShape=(Ve={italic:"it",up:"n",upright:"n",normal:"n"}[wn.fontShape])!=null?Ve:wn.fontShape),y.variant&&(wn.variant=y.variant.toLowerCase()),y.variantStyle&&(wn.variantStyle=y.variantStyle.toLowerCase());const nr=(lt=y.size)!=null?lt:y.fontSize;return typeof nr=="number"?wn.fontSize=Math.max(1,Math.min(10,nr)):typeof nr=="string"&&(wn.fontSize=(zt={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[nr.toLowerCase()])!=null?zt:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[nr]),wn}function Kh(a){let[y,b]=ou(a.selection);if(y=G0(a,y,"backward"),b=G0(a,b,"forward"),y===b){const E=a.at(y);if(E.type==="leftright")return a.setSelection(a.offsetOf(E.firstChild)-1,b);if(E.type==="first"&&(E.parent.type==="leftright"||E.parent.type==="surd"))return a.setSelection(y-1,a.offsetOf(E.parent.lastChild)+1);a.setSelection(y-1,b)}else a.setSelection(y,b);return!0}function G0(a,y,b){var E,te,ie;let le=a.at(y);if(!le)return y;const De=b==="forward"?1:-1;if(le.mode==="text"){for(;le&&!(le.mode!=="text"||!ge.test(le.value));)y+=De,le=a.at(y);return b==="backward"?y-1:y}if(le.mode==="latex"){if(/[a-zA-Z\*]/.test(le.value))if(b==="backward")for(;le&&le.mode==="latex"&&le.value!=="\\"&&/[a-zA-Z]/.test(le.value);)y+=De,le=a.at(y);else for(;le&&le.mode==="latex"&&/[a-zA-Z\*]/.test(le.value);)y+=De,le=a.at(y);else if(le.value==="{"){if(b==="forward"){for(;le&&le.mode==="latex"&&le.value!=="}";)y+=De,le=a.at(y);return y}return y-1}else if(le.value==="}"){if(b==="backward"){for(;le&&le.mode==="latex"&&le.value!=="{";)y+=De,le=a.at(y);return y-1}return y}return y-1}if(le.mode==="math"){if(le.isDigit()){for(;(E=a.at(y+De))!=null&&E.isDigit();)y+=De;return b==="backward"?y-1:y}if(le.style.variant||le.style.variantStyle){let Re=(te=a.at(y))==null?void 0:te.style;for(;Re&&Re.variant===le.style.variant&&Re.variantStyle===le.style.variantStyle;)Re=(ie=a.at(y+De))==null?void 0:ie.style,y+=De;return b==="backward"?y-1:y}return y}return y}pc({selectGroup:a=>{const y=Kh(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Wc(a,"forward",{extend:!0}),extendSelectionBackward:a=>Wc(a,"backward",{extend:!0}),extendToNextWord:a=>Yd(a,"forward",{extend:!0}),extendToPreviousWord:a=>Yd(a,"backward",{extend:!0}),extendSelectionUpward:a=>Wc(a,"upward",{extend:!0}),extendSelectionDownward:a=>Wc(a,"downward",{extend:!0}),extendToNextBoundary:a=>Yd(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Yd(a,"backward",{extend:!0}),extendToGroupStart:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).firstSibling));return y||a.announce("plonk"),y},extendToGroupEnd:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).lastSibling));return y||a.announce("plonk"),y},extendToMathFieldStart:a=>{const y=a.setSelection(a.anchor,0);return y||a.announce("plonk"),y},extendToMathFieldEnd:a=>{const y=a.setSelection(a.anchor,a.lastOffset);return y||a.announce("plonk"),y}},{target:"model",changeSelection:!0});var Ld=null,Sf=0,nh=class Dc{static start(y,b,E,te){var ie;Dc.element=y,(ie=Dc.controller)==null||ie.abort(),Dc.controller=new AbortController;const le={signal:Dc.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",E,le),y.addEventListener("pointerup",te,le),y.addEventListener("pointercancel",te,le),zh(b)&&(Dc.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",E,le),window.addEventListener("blur",te,le),window.addEventListener("mouseup",te,le))}static stop(){var y;(y=Dc.controller)==null||y.abort(),Dc.controller=void 0,typeof Dc.pointerId=="number"&&(Dc.element.releasePointerCapture(Dc.pointerId),Dc.pointerId=void 0)}};function zh(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function Y0(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const E=a;let te,ie=!1,le=!1,De="none",Re=!1,Ve=!1;const lt=y.clientX,zt=y.clientY,wn=Date.now(),nr=E.field,hr=setInterval(()=>{Re?nr.scroll({top:0,left:nr.scrollLeft-16}):Ve&&nr.scroll({top:0,left:nr.scrollLeft+16})},32);function Ia(){nh.stop(),ie=!1,clearInterval(hr),a.element.classList.remove("tracking"),y&&y.preventDefault()}function Yi(si){if(!E.hasFocus()){Ia();return}const eo=si.clientX,xi=si.clientY,rl=zh(si)&&si.pointerType==="touch"?20:5;if(Date.now()<wn+500&&Math.abs(lt-eo)<rl&&Math.abs(zt-xi)<rl){si.preventDefault(),si.stopPropagation();return}const Ll=nr.getBoundingClientRect();Ve=eo>Ll.right,Re=eo<Ll.left;let El=te;zh(si)&&(si.isPrimary||(El=Cf(E,si.clientX,si.clientY,{bias:0})));const Ns=Cf(E,eo,xi,{bias:eo<=lt?eo===lt?0:-1:1});El>=0&&Ns>=0&&(E.model.extendSelectionTo(El,Ns),Eu(a)),le&&Kh(E.model)}Ld&&Math.abs(Ld.x-lt)<5&&Math.abs(Ld.y-zt)<5&&Date.now()<Ld.time+500?(Sf+=1,Ld.time=wn):(Ld={x:lt,y:zt,time:wn},Sf=1);const Ca=nr.getBoundingClientRect();if(lt>=Ca.left&&lt<=Ca.right&&zt>=Ca.top&&zt<=Ca.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",te=Cf(a,lt,zt,{bias:0}),te>=0){if(a.element.classList.add("tracking"),y.shiftKey){const si=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,te),w0(a.model)||si?De="all":De="selection"}else a.model.at(te).type==="placeholder"?(a.model.setSelection(te-1,te),De="selection"):((b=a.model.at(te).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(te,te+1),De="selection"):(a.model.position=te,w0(a.model)?De="all":De="selection");a.defaultStyle={},y.detail===3||Sf>2?(Ia(),(y.detail===3||Sf===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},De="all")):ie||(ie=!0,nh.start(nr,y,Yi,Ia),(y.detail===2||Sf===2)&&(le=!0,Kh(a.model),De="all"))}a.hasFocus()||(De="none",a.focus({preventScroll:!0}))}else Ld=null;a.stopCoalescingUndo(),De!=="none"&&(a.model.selectionIsCollapsed&&(De="all"),Eu(a)),y.preventDefault()}function og(a,y,b){if(a>=b.left&&a<=b.right&&y>=b.top&&y<=b.bottom)return 0;const E=a-(b.left+b.right)/2,te=y-(b.top+b.bottom)/2;return E*E+te*te}function Q0(a,y,b,E,te){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const ie=Pc(a,b);if(!ie)return[1/0,null];let le=[1/0,null];if(b.hasChildren&&!b.captureSelection&&E>=ie.left&&E<=ie.right)for(const De of b.children){const Re=Q0(a,y,De,E,te);Re[0]<=le[0]&&(le=Re)}return le[1]||(le=[og(E,te,ie),b]),y.set(b.id,le),le}function lg(a,y,b){const[,E]=Q0(a,new Map,a.model.root,y,b);return E}function Cf(a,y,b,E){var te;const ie=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!ie)return 0;if(y>ie.right||b>ie.bottom+8)return a.model.lastOffset;if(y<ie.left||b<ie.top-8)return 0;E=E!=null?E:{},E.bias=(te=E.bias)!=null?te:0;let le=lg(a,y,b);const De=[];let Re=le;for(;Re;)De.unshift(Re),Re=Re.parent;for(const lt of De)if(lt.captureSelection){le=lt;break}let Ve=a.model.offsetOf(le);if(Ve<0)return-1;if(le.leftSibling)if(E.bias===0&&le.type!=="placeholder"){const lt=Pc(a,le);lt&&y<(lt.left+lt.right)/2&&(Ve=a.model.offsetOf(le.leftSibling))}else E.bias<0&&(Ve=a.model.offsetOf(le.leftSibling));return Ve}var sg=class extends is{constructor(){super("math")}onPaste(a,y){if(!y||!a.model.contentWillChange({data:typeof y=="string"?y:null,dataTransfer:typeof y=="string"?null:y,inputType:"insertFromPaste"}))return!1;let b="",E="auto",te=typeof y!="string"?y.getData("application/json+mathlive"):"";if(te)try{const ie=JSON.parse(te);if(ie&&Array.isArray(ie)){a.snapshot();const le=pd(ie),{model:De}=a;De.selectionIsCollapsed||De.deleteAtoms(ou(De.selection));const Re=De.at(De.position);if(Re.parent instanceof fs){console.assert(Re.parentBranch!==void 0);const Ve=[];let lt=[];le[0].type==="first"&&le.shift(),le[le.length-1].type==="first"&&le.pop();for(const hr of le)hr.type==="first"&&lt.length>0?(Ve.push(lt),lt=[hr]):lt.push(hr);lt.length>0&&Ve.push(lt);let zt=Number(Re.parentBranch[0]),wn=Number(Re.parentBranch[1]);const nr=Re.parent.maxColumns;for(;Re.parent.colCount-wn<Ve.length&&Re.parent.colCount<nr;)Re.parent.addColumn();Re.parent.addChildrenAfter(Ve[0],Re);for(let hr=1;hr<Ve.length;hr++)wn++,wn>=nr&&(wn=0,Re.parent.addRowAfter(zt),zt++),Re.parent.setCell(zt,wn,Ve[hr])}else Re.parent.addChildrenAfter(le.filter(Ve=>Ve.type!=="first"),Re);return De.position=De.offsetOf(le[le.length-1]),De.contentDidChange({inputType:"insertFromPaste"}),Eu(a),!0}}catch(ie){}if(te=typeof y!="string"?y.getData("application/json"):"",te&&window.MathfieldElement.computeEngine)try{const ie=JSON.parse(te);if(typeof ie=="object"&&"latex"in ie&&ie.latex&&(b=ie.latex),!b){const le=window.MathfieldElement.computeEngine.box(ie);le&&!le.has("Error")&&(b=le.latex)}b||(E="latex")}catch(ie){}if(!b&&typeof y!="string"&&(b=y.getData("application/x-latex"),b&&(E="latex")),b||(b=typeof y=="string"?y:y.getData("text/plain")),b){let ie;return[ie,b]=Xu(b),E==="auto"&&ie&&(E="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:E})&&(a.startRecording(),a.snapshot("paste"),Eu(a)),a.startRecording(),!0}return!1}insert(a,y,b){var E,te;const ie=typeof y=="string"?y:(te=(E=window.MathfieldElement.computeEngine)==null?void 0:E.box(y).latex)!=null?te:"";if(!b.silenceNotifications&&!a.contentWillChange({data:ie,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:le}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const De=a.silenceNotifications;a.silenceNotifications=!0;const Re={"?":"\\placeholder{}","@":"\\placeholder{}"};Re[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ou(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward"),!a.at(a.position).isLastSibling&&a.at(a.position+1).type==="placeholder"?a.deleteAtoms([a.position,a.position+1]):a.at(a.position).type==="placeholder"&&a.deleteAtoms([a.position-1,a.position]);let Ve=-1;Re[0]?Re["@"]=Re[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(Ve=cg(a),Ve>=0&&(Re["@"]=a.getValue(Ve,a.position,"latex"))),Re[0]||(Re[0]=Re["?"]);let lt=!1;const zt=eo=>(lt=!0,Re[eo]);let[wn,nr]=X0(a,y,zt,b);if(!nr)return!1;const hr=nr.length===1&&nr[0].type==="genfrac";hr&&Ve>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(Re["@"]=Re["?"],lt=!1,[wn,nr]=X0(a,y,zt,b)):Ve>=0&&a.deleteAtoms([Ve,a.position]);const{parent:Ia}=a.at(a.position),Yi=Ia.hasEmptyBranch("body");if(hr&&wn!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Ia instanceof Fs&&Ia.leftDelim==="("&&Yi){const eo=Ia.parent,xi=Ia.parentBranch;eo.removeChild(Ia),eo.setChildren(nr,xi)}const Ca=a.at(a.position);Ca.parent.addChildrenAfter(nr,Ca),wn==="latex"&&typeof y=="string"&&(Ia==null?void 0:Ia.type)==="root"&&Yi&&!lt&&(Ia.verbatimLatex=y),a.silenceNotifications=De;const si=nr[nr.length-1];if(b.selectionMode==="placeholder"){const eo=nr.flatMap(xi=>[xi,...xi.children]).find(xi=>xi.type==="placeholder");if(eo){const xi=a.offsetOf(eo);a.setSelection(xi-1,xi),a.announce("move")}else si&&(a.position=a.offsetOf(si))}else b.selectionMode==="before"||(b.selectionMode==="after"?si&&(a.position=a.offsetOf(si)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(si)));return a.contentDidChange({data:ie,inputType:"insertText"}),a.silenceNotifications=le,!0}};function X0(a,y,b,E){var te;let ie,le=[];if(typeof y!="string"||E.format==="math-json"){const De=window.MathfieldElement.computeEngine;if(!De)return["math-json",[]];[ie,y]=["latex",De.box(y).latex],le=Wu(y,{context:a.mathfield.context})}else typeof y=="string"&&E.format==="ascii-math"?([ie,y]=Rs(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),le=Wu(y,{context:a.mathfield.context}),ie!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&rh(le)):(E.format==="auto"||(te=E.format)!=null&&te.startsWith("latex"))&&(E.format==="auto"&&([ie,y]=Rs(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),E.format==="latex"&&([,y]=Xu(y)),le=Wu(y,{context:a.mathfield.context,args:b}),E.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&rh(le));return vd(le,E.style),[ie!=null?ie:"latex",le]}function ug(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof Fs&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function rh(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof Fs&&b.leftDelim==="("){let E=0,te=0,ie=0;for(let le=0;b.body[le];le++)b.body[le].type==="genfrac"&&(E++,te=le),ie++;ie===0&&E===1&&(a[y]=b.body[te])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){rh(y.branch(b));const E=ug(y.branch(b));E&&y.setChildren(E,b)}if(y instanceof fs)for(const b of y.cells)rh(b)}}}function cg(a){let y=a.at(a.position);if(y.mode==="text"){for(;!y.isFirstSibling&&y.mode==="text";)y=y.leftSibling;return a.offsetOf(y)}const b=y;let E=!1;if(y.type==="mclose"){const te=re[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===te);)y=y.leftSibling;y.isFirstSibling||(y=y.leftSibling),E=!0}else y.type==="leftright"&&(y=y.leftSibling,E=!0);if(E)for(;!y.isFirstSibling&&(y.isFunction||J0(y));)y=y.leftSibling;else{const te=[];for(;!y.isFirstSibling&&(J0(y)||te.length>0);)y.type==="mclose"&&te.unshift(y.value),y.type==="mopen"&&te.length>0&&y.value===re[te[0]]&&te.shift(),y=y.leftSibling}return b===y?-1:a.offsetOf(y)}function J0(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new sg;var dg=class extends is{constructor(){super("text")}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.model.contentDidChange({inputType:"insertFromPaste"}),a.startRecording(),a.snapshot("paste"),Eu(a)),a.startRecording(),!0):!1}insert(a,y,b={}){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const te=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ou(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const ie=fg(y,a.mathfield.context);if(vd(ie,b.style),!ie)return!1;const le=a.at(a.position),De=le.parent.addChildrenAfter(ie,le);return a.silenceNotifications=te,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(De)):De&&(a.position=a.offsetOf(De))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function fg(a,y){return a=a.replace(/\\/g,"\\textbackslash "),a=a.replace(/#/g,"\\#"),a=a.replace(/\$/g,"\\$"),a=a.replace(/%/g,"\\%"),a=a.replace(/&/g,"\\&"),a=a.replace(/_/g,"\\_"),a=a.replace(/{/g,"\\textbraceleft "),a=a.replace(/}/g,"\\textbraceright "),a=a.replace(/lbrace/g,"\\textbraceleft "),a=a.replace(/rbrace/g,"\\textbraceright "),a=a.replace(/\^/g,"\\textasciicircum "),a=a.replace(/~/g,"\\textasciitilde "),a=a.replace(/£/g,"\\textsterling "),Wu(a,{context:y,parseMode:"text"})}new dg;function _c(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var lu=4,uc=20,Ru=2*(uc+lu),ah=(a,y)=>`
<line x1="${a+uc}" y1="${y+uc}"
x2="${a>y?a+uc:7*uc+10*lu}"
y2="${a<y?y+uc:7*uc+10*lu}"/>
<svg id="plus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<path class="font" d="m33.33,20c0,1.84-1.49,3.34-3.33,3.34h-6.67v6.66c0,1.84-1.49,3.34-3.33,3.34s-3.34-1.5-3.34-3.34v-6.66h-6.66c-1.84,0-3.34-1.5-3.34-3.34s1.5-3.33,3.34-3.33h6.66v-6.67c0-1.84,1.5-3.33,3.34-3.33s3.33,1.49,3.33,3.33v6.67h6.67c1.84,0,3.33,1.49,3.33,3.33Z"/>
</svg>`,q0=(a,y)=>`
<line x1="${a+uc}" y1="${y+uc}"
x2="${a>y?a+uc:7*uc+10*lu}"
y2="${a<y?y+uc:7*uc+10*lu}"/>
<svg id="minus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<path class="font" d="m33.33,20c0,1.84-1.49,3.33-3.33,3.33H10c-1.84,0-3.34-1.49-3.34-3.33s1.5-3.34,3.34-3.34h20c1.84,0,3.33,1.5,3.33,3.34Z"/>
</svg>`,ih=(a,y,b)=>`
<svg id="arrow" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<g transform="rotate(${b})" transform-origin="20 20">
<path class="font" d="m17.7,7.23h4.6c.52,0,.94.42.94.94v13.82c0,.52.42.94.94.94h3.39c.83,0,1.25,1.01.66,1.6l-7.56,7.56c-.37.37-.96.37-1.32,0l-7.56-7.56c-.59-.59-.17-1.6.66-1.6h3.39c.52,0,.94-.42.94-.94v-13.82c0-.52.42-.94.94-.94Z"/>
</g>
</svg>`,hg=`
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox=
"-2 -2 ${8*uc+10*lu+5} ${8*uc+10*lu+5}">
<rect
class="MLEP__array-insert-background rows"
x="0"
y="${Ru+lu}"
height="${3*Ru}"
width="${Ru}"
rx="${Ru/2}"/>
<rect
class="MLEP__array-insert-background columns"
x="${Ru+lu}"
y="0"
height="${Ru}"
width="${3*Ru}"
rx="${Ru/2}"/>
<g data-command='"moveDown"'>
${ih(2*(lu+Ru),2*lu+3*Ru,0)}
</g>
<g data-command='"moveUp"'>
${ih(2*(lu+Ru),2*lu+Ru,180)}
</g>
<g data-command='"moveToNextWord"'>
${ih(2*lu+3*Ru,2*(lu+Ru),-90)}
</g>
<g data-command='"moveToPreviousWord"'>
${ih(2*lu+Ru,2*(lu+Ru),90)}
</g>
<g>
<g data-command='"addColumnBefore"'>
${ah(2*lu+Ru,lu)}
</g>
<g data-command='"removeColumn"'>
${q0(2*lu+2*Ru,lu)}
</g>
<g data-command='"addColumnAfter"'>
${ah(2*lu+3*Ru,lu)}
</g>
<g data-command='"addRowBefore"'>
${ah(lu,2*lu+Ru)}
</g>
<g data-command='"removeRow"'>
${q0(lu,2*lu+2*Ru)}
</g>
<g data-command='"addRowAfter"'>
${ah(lu,2*lu+3*Ru)}
</g>
</svg>`,pg=a=>`
<svg id="matrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","matrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/></svg>`,mg=a=>`
<svg id="pmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","pmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4c-3.96,4.6-3.96,11.4,0,16"/>
<path class="cls-2" d="m22,4c3.96,4.6,3.96,11.4,0,16"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/></svg>`,$0=a=>`
<svg id="Bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","Bmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
<path class="cls-2" d="m22,4c1.1,0,2,.9,2,2v3c0,1.66.9,3,2,3-1.1,0-2,1.34-2,3v3c0,1.1-.9,2-2,2"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
</svg>`,vg=a=>`
<svg id="bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","bmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4h-3v16h3"/>
<path class="cls-2" d="m22,4h3v16h-3"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
</svg>`,gg=a=>`
<svg id="vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","vmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
<line class="cls-2" x1="4" y1="4" x2="4" y2="20"/>
<line class="cls-2" x1="24" y1="4" x2="24" y2="20"/>
</svg>`,yg=a=>`
<svg id="Vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="-3.5 -3 35 30"
data-command='["setEnvironment","Vmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
<line class="cls-2" x1="6" y1="4" x2="6" y2="20"/>
<line class="cls-2" x1="22" y1="4" x2="22" y2="20"/>
<line class="cls-2" x1="2" y1="4" x2="2" y2="20"/>
<line class="cls-2" x1="26" y1="4" x2="26" y2="20"/>
</svg>`,bg=a=>`
<svg id="cases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","cases"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m10,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
<circle cx="13" cy="8" r="1"/>
<circle cx="13" cy="16" r="1"/>
<circle cx="21" cy="8" r="1"/>
<circle cx="21" cy="16" r="1"/>
</svg>`,xg=a=>`
<svg id="rcases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","rcases"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m18,20c1.1,0,2-.9,2-2v-3c0-1.66.9-3,2-3-1.1,0-2-1.34-2-3v-3c0-1.1-.9-2-2-2"/>
<circle cx="15" cy="8" r="1"/>
<circle cx="15" cy="16" r="1"/>
<circle cx="7" cy="8" r="1"/>
<circle cx="7" cy="16" r="1"/>
</svg>`,Hh={matrix:pg,pmatrix:mg,bmatrix:vg,Bmatrix:$0,vmatrix:gg,Vmatrix:yg},Zh={cases:bg,rcases:xg,Bmatrix:$0};function wg(a){var y,b;const E=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!E)return;let te=0;E.forEach(hr=>{(!te||hr.length>te)&&(te=hr.length)});let ie=document.getElementById("mathlive-environment-popover");ie||(ie=Kf("mathlive-environment-popover"),hc("environment-popover"),hc("core"),ie.setAttribute("aria-hidden","true"));let le;const De=ie.querySelector(".MLEP__environment-controls");De?le=De:(le=document.createElement("div"),ie.innerHTML="",ie.appendChild(le)),le.className="MLEP__environment-controls",le.style.display="flex",le.style.width="100%",le.style.height="100%",le.style.boxSizing="border-box",le.innerHTML=hg;let Re=[],Ve="";const lt=a.model.parentEnvironment.environmentName;if(Ju(lt)){const hr=Cg(lt);Ve=Hh[hr]("active");const Ia=Hh,{[hr]:Yi}=Ia,Ca=Xe(Ia,[Pe(hr)]);Re=Object.values(Ca).map(si=>si("inactive"))}else if(qu(lt)){const hr=Eg(lt);Ve=Zh[hr]("active");const Ia=Zh,{[hr]:Yi}=Ia,Ca=Xe(Ia,[Pe(hr)]);Re=Object.values(Ca).map(si=>si("inactive"))}else Bu(lt)&&(Ve=Hh.matrix("active"),Re=Object.values(Zh).map(hr=>hr("inactive")));const zt=document.createElement("div");zt.className="MLEP__environment-delimiter-controls",zt.style.display="flex",zt.style.flexDirection="column",zt.innerHTML=`
<div class='MLEP__array-delimiter-options'>
${Ve}
${Re.join("")}
</div>`,Ve&&le.appendChild(zt),le.querySelectorAll("[data-command]").forEach(hr=>{const Ia=hr.dataset.command;let Yi=Ia;try{Yi=JSON.parse(Ia)}catch(Ca){}hr.addEventListener("mousedown",Ca=>Ca.preventDefault()),Yi&&hr.addEventListener("click",()=>a.executeCommand(Yi))});const nr=(b=a.field)==null?void 0:b.getBoundingClientRect();nr&&(ie.style.top=`${window.scrollY+(nr.top-ie.clientHeight-15)}px`,ie.style.left=`${nr.left+20}px`,ie.classList.add("is-visible"))}function Wh(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function Sg(){document.getElementById("mathlive-environment-popover")&&(Ch("mathlive-environment-popover"),x("environment-popover"),x("core"))}function oh(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&gu(b.environmentName)){const E=a.options.environmentPopoverPolicy;y=E==="auto"||E==="on"}}y?wg(a):Wh()}function Cg(a){return a.replace("*","")}function Eg(a){return a==="dcases"?"cases":a}function ep(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function tp(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function _h(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="rtl"||b==="end"&&E==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function Ag(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="ltr"||b==="end"&&E==="rtl"||b==="top"||b==="right"?a:a-y}function Mg(a,y){var b,E,te;const ie=(b=ep(a))!=null?b:"ltr";a.style.position="fixed",a.style.left="",a.style.top="",a.style.right="",a.style.bottom="",a.style.height="",a.style.width="";const le=a.getBoundingClientRect(),De=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let Re=Math.min(De,(E=y.height)!=null?E:le.height),Ve=_h(y.location.y,Re,y.verticalPos,ie);Ve+Re>window.innerHeight-8&&(y.alternateLocation?(Ve=_h(y.alternateLocation.y,Re,y.verticalPos,ie),Ve+Re>window.innerHeight-8&&(Ve=void 0)):Ve=void 0),Number.isFinite(Ve)||(Ve=Math.max(8,window.innerHeight-8-Re),8+Re>window.innerHeight-8&&(a.style.bottom="8px")),Re=Math.min(Ve+Re,window.innerHeight-8)-Ve;const lt=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let zt=Math.min(lt,(te=y.width)!=null?te:le.width),wn=_h(y.location.x,zt,y.horizontalPos,ie);wn+zt>window.innerWidth-8&&(y.alternateLocation?(wn=Ag(y.alternateLocation.x,zt,y.verticalPos,ie),wn+zt>window.innerWidth-8&&(wn=void 0)):wn=void 0),Number.isFinite(wn)||(wn=Math.max(8,window.innerWidth-8-zt),8+zt>window.innerWidth-8&&(a.style.right="8px")),zt=Math.min(wn+zt,window.innerWidth-8)-wn,ie==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-wn-zt).toString()}px`:a.style.left=`${Math.ceil(wn).toString()}px`,a.style.top=`${Math.ceil(Ve).toString()}px`,Re!==le.height&&(a.style.height=`${Math.ceil(Re).toString()}px`),zt!==le.width&&(a.style.width=`${Math.ceil(zt).toString()}px`)}function Dg(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function Qd(a){return"submenu"in a}function Vc(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function Vh(a){return"type"in a&&a.type==="divider"}function jh(a){return"type"in a&&a.type==="heading"}var np={};function Uh(a){let y=np[a];if(!y){let b;switch(a){case"checkmark":b=`<span aria-hidden="true" class="ui-checkmark"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg>
</span>`;break;case"trailing-chevron":b='<span aria-hidden="true" class="ui-trailing-chevron"><svg focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg></span>';break;case"mixedmark":b='<span aria-hidden="true" class="ui-mixedmark"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256c0-13.3 10.7-24 24-24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24z"/></svg></span>'}if(b){const E=document.createElement("template");E.innerHTML=b,np[a]=E,y=E}}if(y){if("content"in y)return y.content.cloneNode(!0);const b=document.createElement("svg");return b.innerHTML=y.innerHTML,b}}var rp=80,ap=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,Qd(a)?(this.type="submenu",this.submenu=new ip(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=Vc(a)&&a.checked!==void 0}get rootMenu(){return this.parentMenu.rootMenu}get abortController(){return this._abortController||(this._abortController=new AbortController),this._abortController}dispose(){var a,y;(a=this._abortController)==null||a.abort(),this._abortController=void 0,(y=this._element)==null||y.remove(),this._element=null,this.submenu&&this.submenu.dispose(),this.submenu=void 0}get menuItem(){return this._declaration}get label(){var a;return(a=this._label)!=null?a:""}set label(a){a===void 0&&(a=""),a!==this._label&&(this._label=a,this.dirty=!0)}get visible(){return this._visible}set visible(a){a!==this._visible&&(this._visible=a,this.dirty=!0)}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this.element&&(a?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")),this.dirty=!0}get checked(){return this._checked}set checked(a){this._checked=a,this.dirty=!0}get tooltip(){return this._tooltip}set tooltip(a){a!==this._tooltip&&(this._tooltip=a,this.dirty=!0)}get ariaLabel(){return this._ariaLabel}set ariaLabel(a){a!==this._ariaLabel&&(this._ariaLabel=a,this.dirty=!0)}get active(){var a,y;return(y=(a=this.element)==null?void 0:a.classList.contains("active"))!=null?y:!1}set active(a){this.element&&this.element.classList.toggle("active",a)}updateState(a){var y,b,E;const te=this._declaration;if(Vh(te)){this.enabled=!1,this.checked=!1;return}jh(te)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Vc(te)&&(this.checked=Vc(te)&&((y=Xd(te.checked,a))!=null?y:!1)),(Vc(te)||Qd(te))&&(this.enabled=(b=Xd(te.enabled,a))!=null?b:!0,this.visible=(E=Xd(te.visible,a))!=null?E:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Vc(te)||jh(te)||Qd(te))&&(this.label=Xd(te.label,a),this.tooltip=Xd(te.tooltip,a),this.ariaLabel=Xd(te.ariaLabel,a)),this._element&&this.updateElement()}set dirty(a){console.assert(a===!0),a&&this.parentMenu&&(this.parentMenu.dirty=!0)}updateElement(){if(!this.visible||!this.element)return;const a=this.element;a.textContent="",this.enabled?a.removeAttribute("aria-disabled"):a.setAttribute("aria-disabled","true"),this.checked===!0?(a.setAttribute("aria-checked","true"),a.append(Uh("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Uh("mixedmark"))):a.removeAttribute("aria-checked"),this.ariaLabel&&a.setAttribute("aria-label",this.ariaLabel);const y=document.createElement("span");if(y.className=this.parentMenu.hasCheck?"label indent":"label",this.type==="heading"&&y.classList.add("heading"),y.innerHTML=this.label,a.append(y),this._tooltip&&a.setAttribute("data-tooltip",this._tooltip),Vc(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=wh(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Uh("trailing-chevron"))}get element(){if(this._element)return this._element;if(Vh(this._declaration)){const b=document.createElement("li");return b.setAttribute("part","menu-divider"),b.setAttribute("role","divider"),this._element=b,b}const a=document.createElement("li");this._element=a,(Vc(this._declaration)||jh(this._declaration)||Qd(this._declaration))&&this._declaration.class&&(a.className=this._declaration.class),a.setAttribute("part","menu-item"),a.setAttribute("tabindex","-1"),this.hasCheck?a.setAttribute("role","menuitemcheckbox"):a.setAttribute("role","menuitem"),this.type==="submenu"&&(a.setAttribute("aria-haspopup","true"),a.setAttribute("aria-expanded","false"));const y=this.abortController.signal;return a.addEventListener("pointerenter",this,{signal:y}),a.addEventListener("pointerleave",this,{signal:y}),a.addEventListener("pointerup",this,{signal:y}),a.addEventListener("click",this,{signal:y}),this._element}dispatchSelect(){if(!Vc(this._declaration))return;const a=new CustomEvent("menu-select",{cancelable:!0,bubbles:!0,detail:{modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data}});this.parentMenu.dispatchEvent(a)&&typeof this._declaration.onMenuSelect=="function"&&this._declaration.onMenuSelect({modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data})}handleEvent(a){var y;if(!(!this.visible||!this.enabled)){if(a.type==="click"){this.rootMenu.state==="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}if(a.type==="pointerenter"){const b=a;this.rootMenu.cancelDelayedOperation(),this.parentMenu.isSubmenuOpen&&((y=this.parentMenu.activeMenuItem)!=null&&y.movingTowardSubmenu(b))?this.rootMenu.scheduleOperation(()=>{this.parentMenu.activeMenuItem=this,this.openSubmenu()}):(this.parentMenu.activeMenuItem=this,this.openSubmenu({withDelay:!0}));return}if(a.type==="pointerleave"){this.rootMenu.activeSubmenu===this.parentMenu&&(this.parentMenu.activeMenuItem=null);return}if(a.type==="pointerup"){this.rootMenu.state!=="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}}}select(){if(this.rootMenu.cancelDelayedOperation(),this.type==="submenu"){this.openSubmenu();return}this.active=!1,setTimeout(()=>{this.active=!0,setTimeout(()=>{this.rootMenu.hide(),this.dispatchSelect()},rp)},rp)}openSubmenu(a){var y;if(this.type!=="submenu"||!this.element)return;if((y=a==null?void 0:a.withDelay)!=null&&y){this.rootMenu.scheduleOperation(()=>this.openSubmenu());return}const b=this.element.getBoundingClientRect(),E=ep(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:tp(b,"trailing",E),y:b.top-4},alternateLocation:{x:tp(b,"leading",E),y:b.top-4}})}movingTowardSubmenu(a){if(!this.element||this.type!=="submenu")return!1;const y=this.rootMenu.lastMoveEvent;if(!y)return!1;const b=a.timeStamp-y.timeStamp;if(b>500)return!1;const E=a.clientX-y.clientX;if(kg(E,y.clientY-a.clientY,b)<=.2)return!1;let ie="right";if(this.submenu.element){const le=this.submenu.element.getBoundingClientRect(),De=this.element.getBoundingClientRect();le.left<De.left+De.width/2&&(ie="left")}return ie==="right"?E>0:E<0}};function kg(a,y,b){return Math.hypot(a,y)/b}function Xd(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var ip=class af{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var E,te;this.parentMenu=(E=b==null?void 0:b.parentMenu)!=null?E:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(te=b==null?void 0:b.columnCount)!=null?te:1,this.isSubmenuOpen=!1,this.menuItems=y}get children(){return this._menuItems}set menuItems(y){const b=this.parentMenu;this.dispose(),this.parentMenu=b,y=[...y],this._menuItems=y.map(E=>E.onCreate?E.onCreate(E,this):new ap(E,this)),this.hasCheck=void 0,this.dirty=!0}dispose(){var y;this.hide(),this._element&&this._element.remove(),this._abortController&&this._abortController.abort(),(y=this._menuItems)==null||y.forEach(b=>b.dispose()),this._menuItems=[],this._activeMenuItem=null,this.parentMenu=null}handleEvent(y){if(y.type==="wheel"&&this._element){const b=y;this._element.scrollBy(0,b.deltaY),y.stopPropagation()}}dispatchEvent(y){return this.rootMenu.dispatchEvent(y)}get rootMenu(){return this.parentMenu.rootMenu}updateState(y){var b,E,te;this._menuItems.forEach(Ve=>Ve.updateState(y));const ie=this.hasCheck;this.hasCheck=this._menuItems.some(Ve=>Ve.visible&&Ve.hasCheck),this.hasCheck!==ie&&this._menuItems.forEach(Ve=>Ve.updateState(y));let le,De=0;for(const Ve of this._menuItems)Ve.type==="heading"?(le&&De===0&&(le.visible=!1),le=Ve,De=0):Ve.type==="divider"&&le?(le.visible=De>0,le=void 0,De=0):le&&Ve.visible&&(De+=1);le&&(le.visible=De>0);let Re=!0;for(const Ve of this._menuItems)Ve.type==="divider"?(Ve.visible=!Re,Re=!0):Ve.visible&&(Re=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((E=this.activeMenuItem)!=null&&E.enabled)&&((te=this.activeMenuItem)==null?void 0:te.type)==="submenu"&&this._activeMenuItem.submenu.hide(),this._dirty=!1}get enabled(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible&&y.enabled)}get visible(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible)}set dirty(y){console.assert(y===!0),this._dirty!==y&&y&&this.parentMenu&&(this._dirty=!0,this.parentMenu.dirty=!0)}updateIfDirty(){this._dirty&&this.updateState(this.rootMenu.modifiers)}updateElement(){var y;if(this._element){this._element.textContent="";for(const{element:b,visible:E}of this._menuItems)b&&E&&this._element.append(b);(y=this._element.querySelector("li:first-of-type"))==null||y.setAttribute("tabindex","0")}}get element(){if(this._element)return this._element;const y=document.createElement("menu");y.setAttribute("role","menu"),y.setAttribute("tabindex","-1"),y.setAttribute("aria-orientation","vertical"),y.setAttribute("part","ui-menu-container"),this._submenuClass&&y.classList.add(this._submenuClass),y.classList.add("ui-menu-container"),this._abortController||(this._abortController=new AbortController);const b=this._abortController.signal;return y.addEventListener("focus",this,{signal:b}),y.addEventListener("wheel",this,{passive:!0,signal:b}),this._element=y,this.updateElement(),y}get activeMenuItem(){return this._activeMenuItem}set activeMenuItem(y){var b,E,te,ie;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const le=this.activeMenuItem;le.active=!1,(b=le.submenu)==null||b.hide()}if(!((E=y==null?void 0:y.visible)==null||E)){this._activeMenuItem=null;return}this._activeMenuItem=y,y&&(y.active=!0)}y?(te=y.element)==null||te.focus({preventScroll:!0}):(ie=this._element)==null||ie.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const E=this._menuItems;for(;!b&&y<=E.length-1;){const te=E[y];b=te.type!=="divider"&&te.visible&&te.enabled,y+=1}return b?E[y-1]:null}get lastMenuItem(){this.updateIfDirty();const y=this._menuItems;let b=y.length-1,E=!1;for(;!E&&b>=0;){const te=y[b];E=te.type!=="divider"&&te.visible&&te.enabled,b-=1}return E?y[b+1]:null}nextMenuItem(y){if(y===0)return this._activeMenuItem;if(!this._activeMenuItem)return y>0?this.firstMenuItem:this.lastMenuItem;if(!this.firstMenuItem||!this.lastMenuItem||!this._activeMenuItem)return null;this.updateIfDirty();const b=this._menuItems.indexOf(this.firstMenuItem),E=this._menuItems.indexOf(this.lastMenuItem);let te=this._menuItems.indexOf(this._activeMenuItem),ie=1;for(;te>=b&&te<=E;){te+=y>0?1:-1;const le=this._menuItems[te];if(!le)break;if(le.visible&&le.enabled){if(ie===Math.abs(y))return this._menuItems[te];ie+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const E=this._menuItems.filter(te=>te.visible&&te.enabled).indexOf(y);return E<0?-1:E%this.columnCount}static get collator(){return af._collator||(af._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),af._collator}findMenuItem(y){var b;this.updateIfDirty();const E=this._menuItems.filter(De=>De.type!=="divider"&&De.visible&&De.enabled);if(E.length===0)return null;const te=Math.max(...E.map(De=>De.label.length))-y.length;if(te<0)return null;let ie=null,le=0;for(;le<te&&!ie;)ie=(b=E.find(De=>af.collator.compare(y,De.label.substring(le,y.length))===0))!=null?b:null,le++;return ie}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),Rt()&&(this.element.popover="manual",this.element.showPopover()),y.location&&Mg(this.element,{location:y.location,alternateLocation:y.alternateLocation,verticalPos:"bottom",horizontalPos:"start"}),this.element.focus({preventScroll:!0}),this.parentMenu&&(this.parentMenu.openSubmenu=this),!0)}hide(){var y,b,E,te,ie;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),Rt()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(E=(b=this.parentMenu)==null?void 0:b.element)==null||E.focus(),(ie=(te=this._element)==null?void 0:te.parentNode)==null||ie.removeChild(this._element)}set openSubmenu(y){var b,E,te,ie;const le=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((E=this.activeMenuItem.element)==null||E.setAttribute("aria-expanded",le.toString())),(ie=(te=this.activeMenuItem)==null?void 0:te.element)==null||ie.classList.toggle("is-submenu-open",le),this.isSubmenuOpen=le}},op=class cm extends ip{constructor(y,b){var E;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(E=b==null?void 0:b.host)!=null?E:null,this.isDynamic=y.some(lp),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){Gm(this._modifiers,y)||(this._modifiers=y,this.dirty=!0)}get activeSubmenu(){let y=this;for(;y.isSubmenuOpen;)y=y.activeMenuItem.submenu;return y}set dirty(y){this._updating||(console.assert(y===!0),this._dirty!==y&&(this._dirty=!0,y&&setTimeout(()=>{this.updateState(this.modifiers),this.updateElement()})))}updateState(y){this._updating=!0,this.modifiers=y!=null?y:this.modifiers,super.updateState(this.modifiers),this._updating=!1}handleKeyupEvent(y){this.isDynamic&&(this.modifiers=Ad(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,E,te;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=Ad(y));let ie=!0;const le=this.activeSubmenu,De=le.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":De==null||De.select(Ad(y));break;case"ArrowRight":if((De==null?void 0:De.type)==="submenu")De.select(Ad(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!De)le.activeMenuItem=le.firstMenuItem;else{const Re=(b=le.getMenuItemColumn(De))!=null?b:-1;if(Re>=0&&Re<((E=le.columnCount)!=null?E:1)-1){const Ve=le.nextMenuItem(1);Ve&&(le.activeMenuItem=Ve)}}break;case"ArrowLeft":if(le===this.rootMenu)De||(le.activeMenuItem=le.firstMenuItem);else if((De&&(te=le.getMenuItemColumn(De))!=null?te:-1)<=0||!De){le.hide();const Ve=le.parentMenu.activeMenuItem;if(Ve){const{element:lt}=Ve;lt==null||lt.focus(),lt==null||lt.classList.remove("is-submenu-open")}}else{const Ve=le.nextMenuItem(-1);Ve&&(le.activeMenuItem=Ve)}break;case"ArrowDown":le.activeMenuItem=le.nextMenuItem(le.columnCount);break;case"ArrowUp":le.activeMenuItem=le.nextMenuItem(-le.columnCount);break;case"Home":case"PageUp":le.activeMenuItem=le.firstMenuItem;break;case"End":case"PageDown":le.activeMenuItem=le.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const Re=le.findMenuItem(this.typingBuffer);Re&&(le.activeMenuItem=Re),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(Tf(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const Re=le.findMenuItem(this.typingBuffer);Re&&(le.activeMenuItem=Re),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else ie=!1}ie&&(y.preventDefault(),y.stopPropagation())}handleEvent(y){if(y.type==="keydown")this.handleKeydownEvent(y);else if(y.type==="keyup")this.handleKeyupEvent(y);else if(y.type==="pointermove")this.lastMoveEvent=y;else if(y.type==="pointerup"&&y.target===this.scrim)Number.isFinite(this.rootMenu._openTimestamp)&&Date.now()-this.rootMenu._openTimestamp<120?this.state="modal":this.state==="modal"&&this.hide();else if(y.type==="contextmenu"){y.preventDefault(),y.stopPropagation();return}super.handleEvent(y)}dispatchEvent(y){return this._host?this._host.dispatchEvent(y):!0}get scrim(){return Hc.element}connectScrim(y){const b=this.scrim;b.addEventListener("pointerup",this),b.addEventListener("contextmenu",this),b.addEventListener("keydown",this),b.addEventListener("keyup",this),b.addEventListener("pointermove",this),Hc.open({root:y,onDismiss:()=>this.hide()})}disconnectScrim(){const y=this.scrim;y.removeEventListener("pointerup",this),y.removeEventListener("contextmenu",this),y.removeEventListener("keydown",this),y.removeEventListener("keyup",this),y.removeEventListener("pointermove",this),Hc.state==="open"&&Hc.scrim.close()}get rootMenu(){return this}show(y){return this._onDismiss=y==null?void 0:y.onDismiss,y!=null&&y.modifiers&&(this.modifiers=y.modifiers),this.updateState(),this.connectScrim(y==null?void 0:y.target),super.show(me(Se({},y),{container:this.scrim}))?(this._openTimestamp=Date.now(),this.state="open",!0):(this.disconnectScrim(),!1)}hide(){this.cancelDelayedOperation(),this.state!==void 0&&(this.state!=="closed"&&(this.activeMenuItem=null,Hc.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=cm.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};op.SUBMENU_DELAY=120;var Ng=op;function lp(a){return Vh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Vc(a)||Qd(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Vc(a)&&typeof a.checked=="function"?!0:Qd(a)?a.submenu.some(lp):!1}var lh=class{};lh.DELAY=300,lh.MAX_DISTANCE=10;function Ig(a){return new Promise((y,b)=>{const E=Of(a);E||y(!1);let te=E;const ie=setTimeout(()=>{le.abort(),y(Dg(te,E)<lh.MAX_DISTANCE)},lh.DELAY),le=new AbortController,De=le.signal;for(const Re of["pointermove","pointerup","pointercancel"])window.addEventListener(Re,Ve=>{if(Ve.type==="pointerup"||Ve.type==="pointercancel")clearTimeout(ie),le.abort(),y(!1);else if(Ve.type==="pointermove"){const lt=Of(Ve);lt&&(te=lt)}},{passive:!0,signal:De})})}function sp(a,y,b){return od(this,null,function*(){if(a.type==="contextmenu"){const E=a;if(b.show({target:y,location:Of(E),modifiers:Ad(E)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const E=a;if(E.code==="ContextMenu"||E.code==="F10"&&E.shiftKey){const te=y==null?void 0:y.getBoundingClientRect();if(te&&b.show({target:y,location:{x:Math.ceil(te.left+te.width/2),y:Math.ceil(te.top+te.height/2)},modifiers:Ad(E)}))return a.preventDefault(),a.stopPropagation(),!0}}if(a.type==="pointerdown"&&a.pointerType!=="mouse"&&a.button===0){let E=a.target;for(;E&&y!==E;)E=E.parentNode;if(!E||!b.visible)return!1;const te=Of(a);if(yield Ig(a))return b.state!=="closed"?!1:(b.show({target:y,location:te}),!0)}return!1})}var up={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};Kn(Object.keys(up),"{body:auto}",{createAtom:a=>new z(me(Se({},a),{body:Kt(a.args[0]),accentChar:up[a.command.slice(1)]}))}),Kn(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=_n(Kt(a.args[0]));return new z(me(Se({},a),{body:Kt(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),Kn(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new z(me(Se({},a),{body:Kt(a.args[0]),svgAccent:"overarc"}))}),Kn(["underarc","underparen"],"{body:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[0]),svgBelow:"underarc"}))}),Kn("utilde","{body:auto}",{createAtom:a=>{const y=Kt(a.args[0]),b=_n(y),E="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new Cc(me(Se({},a),{body:y,svgBelow:E,boxType:nu(y)}))}}),Kn("^","{:string}",{createAtom:a=>{var y;return new za(me(Se({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE2",e:"\xEA",i:"\xEE",o:"\xF4",u:"\xFB",A:"\xC2",E:"\xCA",I:"\xCE",O:"\xD4",U:"\xDB"}[a.args[0]])!=null?y:"^"}))}}),Kn("`","{:string}",{createAtom:a=>{var y;return new za(me(Se({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE0",e:"\xE8",i:"\xEC",o:"\xF2",u:"\xF9",A:"\xC0",E:"\xC8",I:"\xCC",O:"\xD2",U:"\xD9"}[a.args[0]])!=null?y:"`"}))}}),Kn("'","{:string}",{createAtom:a=>{var y;return new za(me(Se({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE1",e:"\xE9",i:"\xED",o:"\xF3",u:"\xFA",A:"\xC1",E:"\xC9",I:"\xCD",O:"\xD3",U:"\xDA"}[a.args[0]])!=null?y:"'"}))}}),Kn('"',"{:string}",{createAtom:a=>{var y,b;return new za(me(Se({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\xE4",e:"\xEB",i:"\xEF",o:"\xF6",u:"\xFC",A:"\xC4",E:"\xCB",I:"\xCB",O:"\xD6",U:"\xDC"}[a.args[0]])!=null?b:'"'+a.args[0]:'"'}))}}),Kn(".","{:string}",{createAtom:a=>{var y,b;return new za(me(Se({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0227",e:"\u0117",i:"\u0307i",o:"\u022F",u:"\u0307u",A:"\u0226",E:"\u0116",I:"\u0130",O:"\u022E",U:"\u0307U"}[a.args[0]])!=null?b:"."+a.args[0]:"."}))}}),Kn("=","{:string}",{createAtom:a=>{var y,b;return new za(me(Se({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0101",e:"\u0113",i:"\u012B",o:"\u014D",u:"\u016B",A:"\u0100",E:"\u0112",I:"\u012A",O:"\u014C",U:"\u016A"}[a.args[0]])!=null?b:"="+a.args[0]:"="}))}}),Kn("~","{:string}",{createAtom:a=>{var y;return new za(me(Se({type:"mord"},a),{isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={n:"\xF1",N:"\xD1",a:"\xE3",o:"\xF5",A:"\xC3",O:"\xD5"}[a.args[0]])!=null?y:"\xB4"}))}}),Kn("c","{:string}",{createAtom:a=>{var y;return new za(me(Se({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),Kn("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const E=a.args,te={strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",backgroundcolor:"transparent",padding:"auto",shadow:"none",svgStrokeStyle:void 0,borderStyle:void 0,style:(y=a.style)!=null?y:{}};if(E[1]){const le=E[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const De of le){const Re=De.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(Re)te.strokeWidth=Re[1],te.strokeStyle=Re[2],te.strokeColor=Re[3];else{const Ve=De.match(/\s*([a-z]*)\s*=\s*"(.*)"/);Ve&&(Ve[1]==="mathbackground"?te.backgroundcolor=Ve[2]:Ve[1]==="mathcolor"?te.strokeColor=Ve[2]:Ve[1]==="padding"?te.padding=Ve[2]:Ve[1]==="shadow"&&(te.shadow=Ve[2]))}}te.strokeStyle==="dashed"?te.svgStrokeStyle="5,5":te.strokeStyle==="dotted"&&(te.svgStrokeStyle="1,5")}te.borderStyle=`${te.strokeWidth} ${te.strokeStyle} ${te.strokeColor}`;const ie={};return((b=E[0])!=null?b:"").split(/[, ]/).filter(le=>le.length>0).forEach(le=>{ie[le.toLowerCase()]=!0}),new of(a.command,Kt(E[2]),ie,te)}}),Kn("cancel","{body:auto}",{createAtom:a=>{var y;return new of(a.command,Kt(a.args[0]),{updiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Kn("bcancel","{body:auto}",{createAtom:a=>{var y;return new of(a.command,Kt(a.args[0]),{downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Kn("xcancel","{body:auto}",{createAtom:a=>{var y;return new of(a.command,Kt(a.args[0]),{updiagonalstrike:!0,downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Kn(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new Cc(me(Se({},a),{body:Kt((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),Kn("overbrace","{:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),Kn(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),Kn(["underbrace"],"{:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),Kn(["xrightarrow","longrightarrow","xleftarrow","longleftarrow","xRightarrow","xLeftarrow","xleftharpoonup","xleftharpoondown","xrightharpoonup","xrightharpoondown","xlongequal","xtwoheadleftarrow","xtwoheadrightarrow","xleftrightarrow","longleftrightarrow","xLeftrightarrow","xrightleftharpoons","longrightleftharpoons","xleftrightharpoons","xhookleftarrow","xhookrightarrow","xmapsto","xtofrom","xleftrightarrows","longleftrightarrows","xRightleftharpoons","longRightleftharpoons","xLeftrightharpoons","longLeftrightharpoons"],"[:auto]{:auto}",{createAtom:a=>{var y,b,E,te,ie;return new Cc(me(Se({},a),{svgBody:a.command.slice(1),above:((b=Kt((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:Kt((E=a.args)==null?void 0:E[1]),below:(ie=Kt((te=a.args)==null?void 0:te[0]))!=null?ie:null,skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,paddedLabels:!0,boxType:"rel"}))},serialize:(a,y)=>a.command+(a.hasEmptyBranch("below")?"":`[${a.belowToLatex(y)}]`)+`{${a.aboveToLatex(y)}}${a.supsubToLatex(y)}`}),Kn(["arccos","arcsin","arctan","arctg","arcctg","arg","ch","cos","cosh","cot","cotg","coth","ctg","cth","csc","cosec","deg","dim","exp","gcd","hom","inf","ker","lb","lg","ln","log","Pr","sec","sh","sin","sinh","sup","tan","tanh","tg","th","arcsec","arccsc","arsinh","arcosh","artanh","arcsech","arccsch"],"",{isFunction:!0,ifMode:"math",createAtom:a=>new Ed(a.command.slice(1),me(Se({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),Kn(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new Ed({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],me(Se({},a),{limits:"over-under",variant:"main"}))}),Kn(["lim","mod"],"",{ifMode:"math",createAtom:a=>new Ed(a.command.slice(1),me(Se({},a),{limits:"over-under",variant:"main"}))}),Kn(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new Ed(a.command.slice(1),me(Se({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),Kn(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>`\\ang{${a.bodyToLatex(y)}}`,render:(a,y)=>{const b=a.createBox(y),E=b.caret;b.caret=void 0;const te=new li("\xB0",{style:me(Se({},a.style),{variant:"normal",variantStyle:"up"})});return new li([b,te],{type:"inner",isSelected:a.isSelected,caret:E})}}),Kn("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new c0(me(Se({},a),{body:Kt(a.args[1]),index:a.args[0]?Kt(a.args[0]):void 0}))}),Kn(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=Se({},a),b=a.command,E=a.args;switch(b){case"\\dfrac":case"\\frac":case"\\tfrac":y.hasBarLine=!0;break;case"\\atopfrac":y.hasBarLine=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":y.hasBarLine=!1,y.leftDelim="(",y.rightDelim=")";break;case"\\cfrac":y.hasBarLine=!0,y.continuousFraction=!0;break;default:}switch(b){case"\\dfrac":case"\\dbinom":y.mathstyleName="displaystyle";break;case"\\tfrac":case"\\tbinom":y.mathstyleName="textstyle";break;default:}return new Hd(E[0]?Kt(E[0]):[new Ol],E[1]?Kt(E[1]):[new Ol],y)},serialize:(a,y)=>{const b=a.aboveToLatex(y),E=a.belowToLatex(y);return/^[0-9]$/.test(b)&&/^[0-9]$/.test(E)?`${a.command}${b}${E}`:Ni(a.command,b,E)}}),Kn(["brace","brack"],"",{infix:!0,createAtom:a=>new Hd(Kt(a.args[0]),Kt(a.args[1]),me(Se({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>Qi([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Kn(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const E=a.args;return a.command==="\\choose"&&(y="(",b=")"),new Hd(Kt(E[0]),Kt(E[1]),me(Se({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>Qi([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Kn(["overwithdelims","atopwithdelims"],"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}",{infix:!0,createAtom:a=>{var y,b;const E=a.args;return new Hd(Kt(E[0]),Kt(E[1]),me(Se({},a),{leftDelim:(y=E[2])!=null?y:".",rightDelim:(b=E[3])!=null?b:".",hasBarLine:!1}))},serialize:(a,y)=>`${a.aboveToLatex(y)} ${a.command}${a.leftDelim}${a.rightDelim}${a.belowToLatex(y)}`}),Kn("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new Hd(Kt(a.args[0]),Kt(a.args[1]),me(Se({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),Kn(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new vh({coprod:"\u2210",bigvee:"\u22C1",bigwedge:"\u22C0",biguplus:"\u2A04",bigcap:"\u22C2",bigcup:"\u22C3",intop:"\u222B",prod:"\u220F",sum:"\u2211",bigotimes:"\u2A02",bigoplus:"\u2A01",bigodot:"\u2A00",bigsqcup:"\u2A06",smallint:"\u222B"}[a.command.slice(1)],me(Se({},a),{limits:"auto",variant:"main"}))}),Kn("smallint","",{ifMode:"math",createAtom:a=>new Ed("\u222B",me(Se({},a),{limits:"adjacent",variant:"main"}))});var cp={int:"\u222B",iint:"\u222C",iiint:"\u222D",oint:"\u222E",oiint:"\u222F",oiiint:"\u2230",intclockwise:"\u2231",varointclockwise:"\u2232",ointctrclockwise:"\u2233",intctrclockwise:"\u2A11",sqcup:"\u2294",sqcap:"\u2293",uplus:"\u228E",wr:"\u2240",amalg:"\u2A3F",Cap:"\u22D2",Cup:"\u22D3",doublecap:"\u22D2",doublecup:"\u22D3"};Kn(Object.keys(cp),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=cp[y.slice(1)];return new vh(b,me(Se({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),Kn(["Re","Im"],"",{ifMode:"math",createAtom:a=>new Ed({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],me(Se({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),Kn("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new l0(me(Se({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),Kn("the","{:value}",{createAtom:a=>new za(me(Se({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const E=new dl({parent:y},a.style);let te="";a.isSelected&&(te+=" ML__selected");const ie=E.evaluate(a.args[0]);return new li(((b=Ts(ie))!=null?b:"").split("").map(le=>new li(le,{type:"ord",classes:te,mode:a.mode,isSelected:a.isSelected,style:Se({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:te}).wrap(E)},serialize:a=>{var y;return`\\the${(y=Ts(a.args[0]))!=null?y:"\\relax"}`}}),Kn("mathtip","{:auto}{:math}",{createAtom:a=>new gh(me(Se({},a),{body:Kt(a.args[0]),tooltip:Kt(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${za.serialize([a.tooltip],me(Se({},y),{defaultMode:"math"}))}}`}),Kn("texttip","{:auto}{:text}",{createAtom:a=>new gh(me(Se({},a),{body:Kt(a.args[0]),tooltip:Kt(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${za.serialize([a.tooltip],me(Se({},y),{defaultMode:"text"}))}}`}),Kn("error","{:math}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),Kn("ensuremath","{:math}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(me(Se({},y),{defaultMode:"math"}))}}`}),Kn("color","{:value}",{applyStyle:(a,y,b)=>{var E,te;return{verbatimColor:(E=Ts(y[0]))!=null?E:void 0,color:b.toColor((te=y[0])!=null?te:{string:"red"})}}}),Kn("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var E,te;return{verbatimColor:(E=Ts(y[0]))!=null?E:void 0,color:b.toColor((te=y[0])!=null?te:{string:"red"})}}}),Kn("boxed","{content:math}",{createAtom:a=>new Mu(me(Se({},a),{body:Kt(a.args[0]),framecolor:{string:"black"}}))}),Kn("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var E,te;return{verbatimBackgroundColor:(E=Ts(y[0]))!=null?E:void 0,backgroundColor:b.toBackgroundColor((te=y[0])!=null?te:{string:"yellow"})}}}),Kn("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Mu(me(Se({},a),{body:Kt(a.args[2]),framecolor:(y=a.args[0])!=null?y:{string:"blue"},backgroundcolor:(b=a.args[1])!=null?b:{string:"yellow"}}))},serialize:(a,y)=>{var b,E;return y.skipStyles?a.bodyToLatex(me(Se({},y),{defaultMode:"text"})):Ni(a.command,(b=Ts(a.framecolor))!=null?b:"",(E=Ts(a.backgroundcolor))!=null?E:"",a.bodyToLatex(me(Se({},y),{defaultMode:"text"})))}}),Kn("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],E=Kt(a.args[1]);return b?new Mu(me(Se({},a),{body:E,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Mu(me(Se({},a),{body:E}))},serialize:(a,y)=>{var b,E;if(y.skipStyles)return a.bodyToLatex(y);let te=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const ie=[];a.padding&&ie.push((b=Ts(a.padding))!=null?b:""),a.border&&ie.push(`border: ${a.border}`),a.backgroundcolor&&ie.push((E=Ts(a.backgroundcolor))!=null?E:""),te+=`[${ie.join(",")}]`}return Ni(te,a.bodyToLatex(y))}}),Kn(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[0])})),render:(a,y)=>{const b=new dl({parent:y,mathstyle:a.command.slice(1)},a.style),E=za.createBox(b,a.body,{type:"lift"});return a.caret&&(E.caret=a.caret),a.bind(y,E)},serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{${Qi([a.command,a.bodyToLatex(y)])}}`}),Kn(["tiny","scriptsize","footnotesize","small","normalsize","large","Large","LARGE","huge","Huge"],"",{applyStyle:a=>({fontSize:{"\\tiny":1,"\\scriptsize":2,"\\footnotesize":3,"\\small":4,"\\normalsize":5,"\\large":6,"\\Large":7,"\\LARGE":8,"\\huge":9,"\\Huge":10}[a]})}),Kn("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),Kn("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),Kn("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),Kn("selectfont","",{ifMode:"text",applyStyle:()=>({})}),Kn("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),Kn(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),Kn("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),Kn("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Kn("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Kn("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Kn("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Kn("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Kn("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Kn("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Kn("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Kn("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),Kn("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Kn("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),Kn("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Kn("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),Kn("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),Kn("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),Kn("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),Kn("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),Kn("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),Kn("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),Kn("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),Kn("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),Kn("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),Kn("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),Kn("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),Kn("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),Kn("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),Kn(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),Kn(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),Kn("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),Kn("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),Kn("mbox","{:text}",{ifMode:"math",createAtom:a=>new za(me(Se({},a),{type:"mord",body:Kt(a.args[0]),mode:"math"})),serialize:(a,y)=>Ni("\\mbox",a.bodyToLatex(me(Se({},y),{defaultMode:"text"})))}),Kn("text","{:text}",{ifMode:"math",applyMode:"text"}),Kn(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[1])})),serialize:(a,y)=>!a.args[0]||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`,render:(a,y)=>{var b;return a.createBox(y,{classes:(b=a.args[0])!=null?b:""})}}),Kn(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.cssId=(b=a.args[0])!=null?b:"",E}}),Kn("htmlData","{data:string}{content:auto}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`\\htmlData{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlData=(b=a.args[0])!=null?b:"",E}}),Kn(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlStyle=(b=a.args[0])!=null?b:"",E}}),Kn("em","{:rest}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{\\em ${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})}),Kn("emph","{:auto}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[1])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\emph{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})});var dp={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}};Kn(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new s0(me(Se({},a),{delim:(y=a.args[0])!=null?y:".",size:dp[a.command].size,delimType:dp[a.command].mclass}))}}),Kn(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new uf(me(Se({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Kn(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new uf(me(Se({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Kn("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new za(a),render:(a,y)=>{let b=0;const E=y.mathstyle.id;(E===uu||E===cu)&&(b=1),(E===Iu||E===Us)&&(b=2),(E===Pu||E===Gs)&&(b=3);const te=Kt(a.args[b]);return za.createBox(y,te)},serialize:(a,y)=>`\\mathchoice{${za.serialize(a.args[0],y)}}{${za.serialize(a.args[1],y)}}{${za.serialize(a.args[2],y)}}{${za.serialize(a.args[3],y)}}`}),Kn("mathop","{:auto}",{createAtom:a=>new za(me(Se({},a),{type:"mop",body:Kt(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let E=za.createBox(y,a.body);if(a.superscript||a.subscript){const te=(b=a.subsupPlacement)!=null?b:"auto";E=te==="over-under"||te==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return new li(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[Ni(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),Qi(b)}}),Kn(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new za(me(Se({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:Kt(a.args[0])}))}),Kn(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=Kt(a.args[0]).map(b=>{var E;return b.type!=="first"&&(b.type="mord",b.value=(E={"\u2217":"*","\u2212":"-"}[b.value])!=null?E:b.value,b.isFunction=!1,!b.style.variant&&!b.style.variantStyle&&(b.style.variant="main",b.style.variantStyle="up")),b});return new za(me(Se({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let E=za.createBox(y,a.body);if(a.superscript||a.subscript){const te=(b=a.subsupPlacement)!=null?b:"auto";E=te==="over-under"||te==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return a.caret&&(E.caret=a.caret),new li(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[Ni(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),Qi(b)}}),Kn(["char","unicode"],"{charcode:value}",{createAtom:a=>new za(me(Se({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Ts((y=a.args[0])!=null?y:{number:10067,base:"hexadecimal"})}`},render:(a,y)=>{let b=y.evaluate(a.args[0]);return(!b||!("number"in b))&&(b={number:10067,base:"hexadecimal"}),a.value=String.fromCodePoint(b.number),a.createBox(y)}}),Kn("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new za(a),render:(a,y)=>{var b,E,te;const ie=new dl({parent:y,mathstyle:"textstyle"},a.style),le=ie.toEm((b=a.args[0])!=null?b:{dimension:0}),De=ie.toEm((E=a.args[1])!=null?E:{dimension:10}),Re=ie.toEm((te=a.args[2])!=null?te:{dimension:10}),Ve=new li(null,{classes:"rule",type:"ord"});return Ve.width=De,Ve.height=Re+le,Ve.depth=-le,Ve.setStyle("border-right-width",De,"em"),Ve.setStyle("border-top-width",Re,"em"),Ve.setStyle("border-color",a.style.color),Ve.setStyle("vertical-align",le,"em"),a.isSelected&&Ve.setStyle("opacity","50%"),a.bind(ie,Ve),a.caret&&(Ve.caret=a.caret),Ve.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Ts(a.args[0])}]`:""}{${Ts(a.args[1])}}{${Ts(a.args[2])}}`}),Kn(["overline","underline"],"{:auto}",{createAtom:a=>new za(me(Se({},a),{body:Kt(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),E=new dl({parent:y,mathstyle:"cramp"},a.style),te=za.createBox(E,a.body);if(!te)return null;const ie=E.metrics.defaultRuleThickness/E.scalingFactor,le=new li(null,{classes:b+"-line"});le.height=ie,le.maxFontSize=ie*1.125*E.scalingFactor;let De;return b==="overline"?De=new as({shift:0,children:[{box:te},3*ie,{box:le},ie]}):De=new as({top:te.height,children:[ie,{box:le},3*ie,{box:te}]}),a.caret&&(De.caret=a.caret),new li(De,{classes:b,type:"ignore"})}}),Kn("overset","{:auto}{base:auto}",{createAtom:a=>{const y=Kt(a.args[1]);return new Cc(me(Se({},a),{above:Kt(a.args[0]),body:y,skipBoundary:!1,boxType:nu(y)}))},serialize:(a,y)=>Ni(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Kn("underset","{:auto}{base:auto}",{createAtom:a=>{const y=Kt(a.args[1]);return new Cc(me(Se({},a),{below:Kt(a.args[0]),body:y,skipBoundary:!1,boxType:nu(y)}))},serialize:(a,y)=>Ni(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Kn("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=Kt(a.args[2]);return new Cc(me(Se({},a),{above:Kt(a.args[0]),below:Kt(a.args[1]),body:y,skipBoundary:!1,boxType:nu(y)}))},serialize:(a,y)=>Ni(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Kn(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[2]),above:Kt(a.args[1]),below:Kt(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>Ni(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Kn("smash","[:string]{:auto}",{createAtom:a=>{var y,b,E,te;return new sf(me(Se({},a),{body:Kt(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(te=(E=a.args[0])==null?void 0:E.includes("b"))!=null?te:!0}))}}),Kn(["vphantom"],"{:auto}",{createAtom:a=>new sf(me(Se({},a),{body:Kt(a.args[0]),isInvisible:!0,smashWidth:!0}))}),Kn(["hphantom"],"{:auto}",{createAtom:a=>new sf(me(Se({},a),{body:Kt(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),Kn(["phantom"],"{:auto}",{createAtom:a=>new sf(me(Se({},a),{body:Kt(a.args[0]),isInvisible:!0}))}),Kn("not","{:math}",{createAtom:a=>{const y=Kt(a.args[0]);return y.length===0?new za(me(Se({},a),{type:"mrel",value:"\uE020"})):new za(me(Se({},a),{body:[new Cd(me(Se({},a),{body:"\uE020",align:"right"})),...y],captureSelection:!0}))},serialize:(a,y)=>{const b=a.args[0],E=b&&typeof b=="object"&&"group"in b;return a.value!=="\uE020"?E?`\\not{${za.serialize(b.group,y)}}`:`\\not${za.serialize(b,y)}`:E?"\\not{}":"\\not"},render:(a,y)=>{if(a.value)return a.createBox(y);const E=a.args[0]&&typeof a.args[0]=="object"&&"group"in a.args[0]?"ord":nu(Kt(a.args[0])),te=za.createBox(y,a.body,{type:E});return a.caret&&(te.caret=a.caret),a.bind(y,te)}}),Kn(["ne","neq"],"",{createAtom:a=>new za(me(Se({},a),{type:"mrel",body:[new Cd(me(Se({},a),{body:"\uE020",align:"right",boxType:"rel"})),new za(me(Se({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),Kn("rlap","{:auto}",{createAtom:a=>new Cd(me(Se({},a),{body:Kt(a.args[0]),align:"right"}))}),Kn("llap","{:auto}",{createAtom:a=>new Cd(me(Se({},a),{body:Kt(a.args[0]),align:"left"}))}),Kn("mathrlap","{:math}",{createAtom:a=>new Cd(me(Se({},a),{body:Kt(a.args[0]),align:"left"}))}),Kn("mathllap","{:math}",{createAtom:a=>new Cd(me(Se({},a),{body:Kt(a.args[0]),align:"left"}))}),Kn("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Mu(me(Se({},a),{body:Kt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return Ni("\\raisebox",(b=Ts(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Kn("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Mu(me(Se({},a),{body:Kt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return Ni("\\raise",(b=Ts(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Kn("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Mu(me(Se({},a),{body:Kt(a.args[1]),padding:{dimension:0},offset:(y=xu(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,E;return Ni("\\lower",(E=Ts(xu((b=a.offset)!=null?b:{dimension:0},-1)))!=null?E:"0pt",a.bodyToLatex(y))}}),je("0123456789/@.?!"),xt(65,90),xt(97,122),je([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),je([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),je([["\\backslash",92],["\\nabla",8711],["\\partial",8706],["\\ell",8467],["\\hbar",8463],["\\Q",81,"mord","double-struck"],["\\C",67,"mord","double-struck"],["\\P",80,"mord","double-struck"],["\\pounds",163],["\\euro",8364]]),je([["\\rightarrow",8594],["\\to",8594],["\\leftarrow",8592],["\\gets",8592],["\\Rightarrow",8658],["\\Leftarrow",8656],["\\longrightarrow",10230],["\\longleftarrow",10229],["\\Longrightarrow",10233],["\\implies",10233],["\\Longleftarrow",10232],["\\impliedby",10232],["\\longleftrightarrow",10231],["\\biconditional",10231],["\\Longleftrightarrow",10234],["\\mapsto",8614],["\\longmapsto",10236],["\\uparrow",8593],["\\downarrow",8595],["\\Uparrow",8657],["\\Downarrow",8659],["\\updownarrow",8597],["\\Updownarrow",8661],["\\hookrightarrow",8618],["\\hookleftarrow",8617],["\\rightharpoonup",8640],["\\leftharpoonup",8636],["\\rightharpoondown",8641],["\\leftharpoondown",8637],["\\searrow",8600],["\\nearrow",8599],["\\swarrow",8601],["\\nwarrow",8598],["\\originalof",8886],["\\laplace",8886],["\\imageof",8887],["\\Laplace",8887]],"mrel"),je([["\\mapsfrom",8612,"mrel"],["\\Mapsfrom",10502,"mrel"],["\\MapsTo",10503,"mrel"],["\\Yup",8516,"mord"],["\\lightning",8623,"mrel"],["\\leftarrowtriangle",8701,"mrel"],["\\rightarrowtriangle",8702,"mrel"],["\\leftrightarrowtriangle",8703,"mrel"],["\\boxdot",8865,"mbin"],["\\bigtriangleup",9651,"mbin"],["\\bigtriangledown",9661,"mbin"],["\\boxbar",9707,"mbin"],["\\Lbag",10181,"mopen"],["\\Rbag",10182,"mclose"],["\\llbracket",10214,"mopen"],["\\rrbracket",10215,"mclose"],["\\longmapsfrom",10235,"mrel"],["\\Longmapsfrom",10237,"mrel"],["\\Longmapsto",10238,"mrel"],["\\boxslash",10692,"mbin"],["\\boxbslash",10693,"mbin"],["\\boxast",10694,"mbin"],["\\boxcircle",10695,"mbin"],["\\boxbox",10696,"mbin"],["\\fatsemi",10783,"mop"],["\\leftslice",10918,"mrel"],["\\rightslice",10919,"mrel"],["\\interleave",10996,"mbin"],["\\biginterleave",11004,"mop"],["\\sslash",11005,"mbin"],["\\talloblong",11006,"mbin"]]),je([["\\lbrace",123,"mopen"],["\\rbrace",125,"mclose"],["\\lparen",40,"mopen"],["\\rparen",41,"mclose"],["\\langle",10216,"mopen"],["\\rangle",10217,"mclose"],["\\lfloor",8970,"mopen"],["\\rfloor",8971,"mclose"],["\\lceil",8968,"mopen"],["\\rceil",8969,"mclose"],["\\vert",8739],["\\lvert",8739,"mopen"],["\\rvert",8739,"mclose"],["\\|",8741],["\\Vert",8741],["\\mVert",8741],["\\lVert",8741,"mopen"],["\\rVert",8741,"mclose"],["\\lbrack",91,"mopen"],["\\rbrack",93,"mclose"],["\\{",123,"mopen"],["\\}",125,"mclose"],["(",40,"mopen"],[")",41,"mclose"],["[",91,"mopen"],["]",93,"mclose"],["\\ulcorner",9484,"mopen","ams"],["\\urcorner",9488,"mclose","ams"],["\\llcorner",9492,"mopen","ams"],["\\lrcorner",9496,"mclose","ams"],["\\lgroup",10222,"mopen"],["\\rgroup",10223,"mclose"],["\\lmoustache",9136,"mopen"],["\\rmoustache",9137,"mclose"]]),je([["\\dashrightarrow",8674],["\\dashleftarrow",8672],["\\Rrightarrow",8667],["\\Lleftarrow",8666],["\\leftrightarrows",8646],["\\rightleftarrows",8644],["\\curvearrowright",8631],["\\curvearrowleft",8630],["\\rightrightarrows",8649],["\\leftleftarrows",8647],["\\upuparrows",8648],["\\downdownarrows",8650],["\\vartriangle",9651],["\\triangleq",8796],["\\vartriangleleft",8882],["\\trianglelefteq",8884],["\\ntriangleleft",8938],["\\ntrianglelefteq",8940],["\\vartriangleright",8883],["\\trianglerighteq",8885],["\\ntriangleright",8939],["\\ntrianglerighteq",8941],["\\blacktriangleleft",9664],["\\blacktriangleright",9654],["\\leftarrowtail",8610],["\\rightarrowtail",8611],["\\looparrowright",8620],["\\looparrowleft",8619],["\\twoheadleftarrow",8606],["\\twoheadrightarrow",8608],["\\twoheadrightarrowtail",10518],["\\rightleftharpoons",8652],["\\leftrightharpoons",8651],["\\Rsh",8625],["\\Lsh",8624],["\\circlearrowright",8635],["\\circlearrowleft",8634],["\\restriction",8638],["\\upharpoonright",8638],["\\upharpoonleft",8639],["\\downharpoonright",8642],["\\downharpoonleft",8643],["\\rightsquigarrow",8669],["\\leadsto",8669],["\\leftrightsquigarrow",8621],["\\multimap",8888],["\\nleftarrow",8602],["\\nrightarrow",8603],["\\nRightarrow",8655],["\\nLeftarrow",8653],["\\nleftrightarrow",8622],["\\nLeftrightarrow",8654],["\\nvrightarrow",8696],["\\nvtwoheadrightarrow",10496],["\\nvrightarrowtail",10516],["\\nvtwoheadrightarrowtail",10519],["\\shortparallel",8741],["\\nless",8814],["\\nleqslant",57360],["\\lneq",10887],["\\lneqq",8808],["\\nleqq",57361],["\\lvertneqq",57356],["\\lnsim",8934],["\\lnapprox",10889],["\\nprec",8832],["\\npreceq",8928],["\\precnsim",8936],["\\precnapprox",10937],["\\nsim",8769],["\\nshortmid",57350],["\\nmid",8740],["\\nvdash",8876],["\\nvDash",8877],["\\ngtr",8815],["\\ngeqslant",57359],["\\ngeqq",57358],["\\gneq",10888],["\\gneqq",8809],["\\gvertneqq",57357],["\\gnsim",8935],["\\gnapprox",10890],["\\nsucc",8833],["\\nsucceq",8929],["\\succnsim",8937],["\\succnapprox",10938],["\\ncong",8774],["\\nshortparallel",57351],["\\nparallel",8742],["\\nVDash",8879],["\\nsupseteqq",57368],["\\supsetneq",8843],["\\varsupsetneq",57371],["\\supsetneqq",10956],["\\varsupsetneqq",57369],["\\nVdash",8878],["\\precneqq",10933],["\\succneqq",10934],["\\nsubseteqq",57366],["\\leqslant",10877],["\\geqslant",10878],["\\gtrsim",8819],["\\approxeq",8778],["\\thickapprox",8776],["\\lessapprox",10885],["\\gtrapprox",10886],["\\precapprox",10935],["\\succapprox",10936],["\\thicksim",8764],["\\succsim",8831],["\\precsim",8830],["\\backsim",8765],["\\eqsim",8770],["\\backsimeq",8909],["\\lesssim",8818],["\\nleq",8816],["\\ngeq",8817],["\\smallsmile",8995],["\\smallfrown",8994],["\\leqq",8806],["\\eqslantless",10901],["\\lll",8920],["\\lessgtr",8822],["\\lesseqgtr",8922],["\\lesseqqgtr",10891],["\\risingdotseq",8787],["\\fallingdotseq",8786],["\\subseteqq",10949],["\\Subset",8912],["\\sqsubset",8847],["\\preccurlyeq",8828],["\\curlyeqprec",8926],["\\vDash",8872],["\\Vvdash",8874],["\\bumpeq",8783],["\\Bumpeq",8782],["\\geqq",8807],["\\eqslantgtr",10902],["\\ggg",8921],["\\gtrless",8823],["\\gtreqless",8923],["\\gtreqqless",10892],["\\supseteqq",10950],["\\Supset",8913],["\\sqsupset",8848],["\\succcurlyeq",8829],["\\curlyeqsucc",8927],["\\Vdash",8873],["\\shortmid",8739],["\\between",8812],["\\pitchfork",8916],["\\varpropto",8733],["\\backepsilon",8717],["\\llless",8920],["\\gggtr",8921],["\\doteqdot",8785],["\\Doteq",8785],["\\eqcirc",8790],["\\circeq",8791],["\\therefore",8756],["\\because",8757]],"mrel","ams"),je([["+",43],["-",8722],["\u2212",8722],["\\pm",177],["\\mp",8723],["*",8727],["\\times",215],["\\div",247],["\\divides",8739],["\\cdot",8901],["\\cap",8745],["\\cup",8746],["\\setminus",8726],["\\land",8743],["\\wedge",8743],["\\lor",8744],["\\vee",8744],["\\circ",8728],["\\bigcirc",9711],["\\bullet",8729],["\\oplus",8853],["\\ominus",8854],["\\otimes",8855],["\\odot",8857],["\\oslash",8856],["\\bigtriangleup",9651],["\\bigtriangledown",9661],["\\triangleleft",9667],["\\triangleright",9657],["\\And",38],["\\dagger",8224],["\\dag",8224],["\\ddag",8225],["\\ddagger",8225],["\\ast",8727],["\\star",8902],["\\bigstar",9733],["\\diamond",8900]],"mbin"),je([["\\lhd",8882],["\\rhd",8883],["\\lessdot",8918],["\\gtrdot",8919],["\\ltimes",8905],["\\rtimes",8906],["\\leftthreetimes",8907],["\\rightthreetimes",8908],["\\intercal",8890],["\\dotplus",8724],["\\doublebarwedge",10846],["\\divideontimes",8903],["\\centerdot",8901],["\\smallsetminus",8726],["\\barwedge",8892],["\\veebar",8891],["\\nor",8891],["\\curlywedge",8911],["\\curlyvee",8910],["\\boxminus",8863],["\\boxplus",8862],["\\boxtimes",8864],["\\boxdot",8865],["\\circleddash",8861],["\\circledast",8859],["\\circledcirc",8858],["\\unlhd",8884],["\\unrhd",8885]],"mbin","ams"),je([["\\surd",8730],["\\infty",8734],["\\prime",8242],["\\doubleprime",8243],["\\angle",8736],["`",8216],["\\$",36],["\\%",37],["\\_",95],["\\alpha",945],["\\beta",946],["\\gamma",947],["\\delta",948],["\\epsilon",1013],["\\varepsilon",949],["\\zeta",950],["\\eta",951],["\\theta",952],["\\vartheta",977],["\\iota",953],["\\kappa",954],["\\varkappa",1008,"mord","ams"],["\\lambda",955],["\\mu",956],["\\nu",957],["\\xi",958],["\\omicron",111],["\\pi",960],["\\varpi",982],["\\rho",961],["\\varrho",1009],["\\sigma",963],["\\varsigma",962],["\\tau",964],["\\phi",981],["\\varphi",966],["\\upsilon",965],["\\chi",967],["\\psi",968],["\\omega",969],["\\Gamma",915],["\\Delta",916],["\\Theta",920],["\\Lambda",923],["\\Xi",926],["\\Pi",928],["\\Sigma",931],["\\Upsilon",933],["\\Phi",934],["\\Psi",936],["\\Omega",937],["\\digamma",989,"mord","ams"],["\\emptyset",8709]]),je([["=",61],["<",60],["\\lt",60],[">",62],["\\gt",62],["\\le",8804],["\\leq",8804],["\\ge",8805],["\\geq",8805],["\\ll",8810],["\\gg",8811],["\\coloneq",8788],["\\coloneqq",8788],["\\colonequals",8788],["\\measeq",8797],["\\eqdef",8798],["\\questeq",8799],[":",58],["\\cong",8773],["\\equiv",8801],["\\prec",8826],["\\preceq",10927],["\\succ",8827],["\\succeq",10928],["\\perp",8869],["\\propto",8733],["\\Colon",8759],["\\smile",8995],["\\frown",8994],["\\sim",8764],["\\doteq",8784],["\\bowtie",8904],["\\Join",8904],["\\asymp",8781],["\\sqsubseteq",8849],["\\sqsupseteq",8850],["\\approx",8776],["\\~",126],["\\leftrightarrow",8596],["\\Leftrightarrow",8660],["\\models",8872],["\\vdash",8866],["\\dashv",8867],["\\roundimplies",10608],["\\in",8712],["\\notin",8713],["\\ni",8715],["\\owns",8715],["\\subset",8834],["\\supset",8835],["\\subseteq",8838],["\\supseteq",8839],["\\differencedelta",8710],["\\mvert",8739],["\\parallel",8741],["\\simeq",8771]],"mrel"),je([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),je([["\\wp",8472],["\\aleph",8501]]),je([["\\blacktriangle",9650],["\\hslash",8463],["\\Finv",8498],["\\Game",8513],["\\eth",240],["\\mho",8487],["\\Bbbk",107],["\\yen",165],["\\square",9633],["\\Box",9633],["\\blacksquare",9632],["\\circledS",9416],["\\circledR",174],["\\triangledown",9661],["\\blacktriangledown",9660],["\\checkmark",10003],["\\diagup",9585],["\\measuredangle",8737],["\\sphericalangle",8738],["\\backprime",8245],["\\backdoubleprime",8246],["\\Diamond",9674],["\\lozenge",9674],["\\blacklozenge",10731],["\\varnothing",8709],["\\complement",8705],["\\maltese",10016],["\\beth",8502],["\\daleth",8504],["\\gimel",8503]],"mord","ams"),je([["\\ ",160],["~",160]],"space"),Kn(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new uf(a)}),Kn("space","",{createAtom:a=>new uf(a)}),je([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),je([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),je([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var fp="<mo>&#x2061;</mo>",sh="<mo>&#8290;</mo>";function uh(a){return a.replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function $s(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Pg(a,y,b){var E,te,ie,le,De,Re,Ve,lt,zt,wn,nr;let hr=!1;y=y!=null?y:a.atoms.length;let Ia="",Yi="",Ca=a.atoms[a.index];const si=(te=(E=Ca.style)==null?void 0:E.variant)!=null?te:"",eo=(le=(ie=Ca.style)==null?void 0:ie.variantStyle)!=null?le:"";let xi="";if(si||eo){const Ll=vn(Ca.value,(De=Ca.style)==null?void 0:De.variant,(Re=Ca.style)==null?void 0:Re.variantStyle);if(Ll!==Ca.value)return a.index+=1,Ia=`<mi${$s(Ca.id,b)}>${Ll}</mi>`,ad(Ia,a,b)||(a.mathML+=Ia,a.lastType="mi"),!0;xi=(Ve={upnormal:"normal",boldnormal:"bold",italicmain:"italic",bolditalicmain:"bold-italic","updouble-struck":"double-struck","double-struck":"double-struck",boldfraktur:"bold-fraktur",calligraphic:"script",upcalligraphic:"script",script:"script",boldscript:"bold-script",boldcalligraphic:"bold-script",fraktur:"fraktur","upsans-serif":"sans-serif","boldsans-serif":"bold-sans-serif","italicsans-serif":"sans-serif-italic","bolditalicsans-serif":"sans-serif-bold-italic",monospace:"monospace"}[eo+si])!=null?Ve:"",xi=` mathvariant="${xi}"`}const rl={"\\exponentialE":"&#x02147;","\\imaginaryI":"&#x2148;","\\differentialD":"&#x2146;","\\capitalDifferentialD":"&#x2145;","\\alpha":"&#x03b1;","\\pi":"&#x03c0;","\\infty":"&#x221e;","\\forall":"&#x2200;","\\nexists":"&#x2204;","\\exists":"&#x2203;","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(Ca.command==="!")return a.index+=1,Ia="<mo>!</mo>",ad(Ia,a,b)||(a.mathML+=Ia,a.lastType="mo"),!0;if(rl[Ca.command]){a.index+=1;let Ll=`<mi${$s(Ca.id,b)}${xi}>${rl[Ca.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(Ll=sh+Ll),ad(Ll,a,b)||(a.mathML+=Ll,a.lastType="mi"),!0}if(Ca.command==="\\operatorname")Yi=Jd(Ca.body),a.index+=1;else if(si||eo)for(;a.index<y&&(Ca.type==="mord"||Ca.type==="macro")&&!Ca.isDigit()&&si===((zt=(lt=Ca.style)==null?void 0:lt.variant)!=null?zt:"")&&eo===((nr=(wn=Ca.style)==null?void 0:wn.variantStyle)!=null?nr:"");)Yi+=Jd([Ca]),a.index+=1,Ca=a.atoms[a.index];else(Ca.type==="mord"||Ca.type==="macro")&&!Ca.isDigit()&&(Yi+=Jd([Ca]),a.index+=1);if(Yi.length>0){hr=!0,Ia=`<mi${xi}>${Yi}</mi>`;const Ll=a.lastType;Ia.endsWith(">f</mi>")||Ia.endsWith(">g</mi>")?(Ia+=fp,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(Ia)?"mo":"mi",ad(Ia,a,b)||((Ll==="mi"||Ll==="mn"||Ll==="mtext"||Ll==="fence")&&(Ia=sh+Ia),a.mathML+=Ia)}return hr}function Bg(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function Lg(a){let y=-1,b=a.index,E=!1,te=!1;for(;b<a.atoms.length&&!E&&!te;){const ie=a.atoms[b];E=!ie.isDigit(),te=!E&&ie.superscript!==void 0,b++}return te&&(y=b-1),y}function ad(a,y,b){var E;let te=y.atoms[y.index-1];if(!te)return!1;if(!te.superscript&&!te.subscript)if(((E=y.atoms[y.index])==null?void 0:E.type)==="subsup")te=y.atoms[y.index],y.index+=1;else return!1;const ie=y.lastType;y.lastType="";const le=Ks(te.superscript,b);y.lastType="";const De=Ks(te.subscript,b);if(y.lastType=ie,!le&&!De)return!1;let Re="";return le&&De?Re=`<msubsup>${a}${De}${le}</msubsup>`:le?Re=`<msup>${a}${le}</msup>`:De&&(Re=`<msub>${a}${De}</msub>`),y.mathML+=Re,y.lastType="",!0}function Og(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let te="";for(;a.index<y&&a.atoms[a.index].mode==="text";)te+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return te.length>0?(a.mathML+=`<mtext ${$s(a.atoms[E].id,b)}>${te}</mtext>`,a.lastType="mtext",!0):!1}function Tg(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let te="",ie=Lg(a);for(ie>=0&&ie<y&&(y=ie);a.index<y&&a.atoms[a.index].isDigit();)te+=a.atoms[a.index].asDigit(),a.index+=1;return te.length<=0?!1:(te="<mn"+$s(a.atoms[E].id,b)+">"+te+"</mn>",ie<0&&Bg(a)&&(ie=a.index,a.index+=1),ad(te,a,b)||(a.mathML+=te,a.lastType="mn"),!0)}function Rg(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let te="",ie="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let le=!1,De=0;const Re=a.index;let Ve=-1,lt=Re+1;for(;lt<y&&!le;)a.atoms[lt].type==="mopen"?De+=1:a.atoms[lt].type==="mclose"&&(De-=1),De===-1&&(le=!0,Ve=lt),lt+=1;le&&(te="<mrow>",te+=Od(a.atoms[Re],b),te+=Ks(a.atoms,b,Re+1,Ve),te+=Od(a.atoms[Ve],b),te+="</mrow>",a.index=Ve+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=sh),ad(te,a,b)&&(E=!0,a.lastType="",te=""),ie="fence")}return te.length>0&&(E=!0,a.mathML+=te,a.lastType=ie),E}function Fg(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let te="",ie="";const le=a.atoms[a.index];if(!le)return!1;const De={"\\ne":"&ne;","\\neq":"&neq;","\\pm":"&#177;","\\times":"&#215;","\\colon":":","\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lbrack":"[","\\rbrack":"]","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"};if(De[le.command]){a.index+=1;const Re=`<mo${$s(le.id,b)}>${De[le.command]}</mo>`;return ad(Re,a,b)||(a.mathML+=Re,a.lastType="mo"),!0}if(a.index<y&&(le.type==="mbin"||le.type==="mrel"))te+=Gh(a.atoms[a.index],b),a.index+=1,ie="mo";else if(a.index<y&&(le.type==="mop"||le.type==="operator"||le.type==="extensible-symbol")){if(le.subsupPlacement==="over-under"&&(le.superscript||le.subscript)){const Re=Od(le,b);return le.superscript&&le.subscript?(te+="<munderover>"+Re,te+=Ks(le.subscript,b),te+=Ks(le.superscript,b),te+="</munderover>"):le.superscript?(te+="<mover>"+Re,te+=Ks(le.superscript,b),te+="</mover>"):le.subscript&&(te+="<munder>"+Re,te+=Ks(le.subscript,b),te+="</munder>"),a.mathML+=te,a.lastType="mo",a.index+=1,!0}{const Re=a.atoms[a.index],Ve=Re.value==="\\operatorname",lt=Ve?'<mi class="MathML-Unit"'+$s(Re.id,b)+">"+Jd(Re.value)+"</mi>":Od(Re,b);te+=lt,!Ve&&!/^<mo>(.*)<\/mo>$/.test(lt)?(te+=fp,ie="applyfunction"):ie=Ve?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(te)&&(te=sh+te),a.index+=1}return te.length>0&&(E=!0,ad(te,a,b)||(a.mathML+=te,a.lastType=ie)),E}function Ks(a,y,b,E){y!=null||(y={});const te={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")te.mathML=a.toString();else if(typeof a=="string")te.mathML=a;else if(a instanceof za)te.mathML=Gh(a,y);else if(Array.isArray(a)){te.atoms=a;let ie=0;for(E=E||(a?a.length:0);te.index<E;)if(Og(te,E,y)||Tg(te,E,y)||Pg(te,E,y)||Fg(te,E,y)||Rg(te,E,y))ie+=1;else if(te.index<E){let le=Gh(te.atoms[te.index],y);te.lastType==="mn"&&le.length>0&&te.atoms[te.index].type==="genfrac"&&(le="<mo>&#x2064;</mo>"+le),te.atoms[te.index].type==="genfrac"?te.lastType="mfrac":te.lastType="",te.index+=1,ad(le,te,y)?ie+=1:le.length>0&&(te.mathML+=le,ie+=1)}ie>1&&(te.mathML="<mrow>"+te.mathML+"</mrow>")}return te.mathML}function Od(a,y){let b="";const E=Jd(a.value);return E&&(b="<mo"+$s(a.id,y)+">"+E+"</mo>"),b}function Jd(a){if(!a)return"";if(typeof a=="string")return uh(a);if(!Array.isArray(a)&&typeof a.body=="string")return uh(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return uh(y)}function Gh(a,y){var b,E,te,ie,le,De,Re,Ve,lt,zt,wn,nr,hr,Ia,Yi,Ca,si,eo,xi,rl,Ll,El;if(a.mode==="text")return`<mi${$s(a.id,y)}>${a.value}</mi>`;const Ns={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",longleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",longrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",longrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xleftrightarrows:"\u21C4",xRightleftharpoons:"\u21CC",longRightleftharpoons:"\u21CC",xLeftrightharpoons:"\u21CB",longLeftrightharpoons:"\u21CB"},Qs={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let fo="",bc="",Uc,Ac,Vu,xc,cc,eu;const{command:ku}=a;if(a.command==="\\error")return`<merror${$s(a.id,y)}>${Ks(a.body,y)}</merror>`;const ju={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},Gc={"\\vec":"&#x20d7;","\\acute":"&#x00b4;","\\grave":"&#x0060;","\\dot":"&#x02d9;","\\ddot":"&#x00a8;","\\tilde":"&#x007e;","\\bar":"&#x00af;","\\breve":"&#x02d8;","\\check":"&#x02c7;","\\hat":"&#x005e;"};switch(a.type){case"first":break;case"group":case"root":fo=Ks(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(fo+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(fo+="<mo>"+(ju[a.leftDelim]||a.leftDelim)+"</mo>")),fo+="<mtable",a.colFormat){for(fo+=' columnalign="',Vu=0;Vu<a.colFormat.length;Vu++)a.colFormat[Vu].align&&(fo+={l:"left",c:"center",r:"right"}[a.colFormat[Vu].align]+" ");fo+='"'}for(fo+=">",Ac=0;Ac<a.array.length;Ac++){for(fo+="<mtr>",Uc=0;Uc<a.array[Ac].length;Uc++)fo+="<mtd>"+Ks(a.array[Ac][Uc],y)+"</mtd>";fo+="</mtr>"}fo+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(fo+="<mo>"+(ju[a.leftDelim]||a.rightDelim)+"</mo>"),fo+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(fo+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(fo+="<mo"+$s(a.id,y)+">"+(ju[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(fo+="<mfrac>",fo+=Ks(a.above,y)||"<mi>&nbsp;</mi>",fo+=Ks(a.below,y)||"<mi>&nbsp;</mi>",fo+="</mfrac>"):(fo+="<mtable"+$s(a.id,y)+">",fo+="<mtr>"+Ks(a.above,y)+"</mtr>",fo+="<mtr>"+Ks(a.below,y)+"</mtr>",fo+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(fo+="<mo"+$s(a.id,y)+">"+(ju[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(fo+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(fo+="<msqrt"+$s(a.id,y)+">",fo+=Ks(a.body,y),fo+="</msqrt>"):(fo+="<mroot"+$s(a.id,y)+">",fo+=Ks(a.body,y),fo+=Ks(a.above,y),fo+="</mroot>");break;case"leftright":const Yc=a,Qc=Yc.leftDelim;fo="<mrow>",Qc&&Qc!=="."&&(fo+=`<mo${$s(a.id,y)}>${(b=ju[Qc])!=null?b:Qc}</mo>`),a.body&&(fo+=Ks(a.body,y));const Xc=Yc.matchingRightDelim();Xc&&Xc!=="."&&(fo+=`<mo${$s(a.id,y)}>${(E=ju[Xc])!=null?E:Xc}</mo>`),fo+="</mrow>";break;case"sizeddelim":case"delim":fo+=`<mo${$s(a.id,y)}>${ju[a.value]||a.value}</mo>`;break;case"accent":fo+='<mover accent="true"'+$s(a.id,y)+">",fo+=Ks(a.body,y),fo+="<mo>"+(Gc[ku]||a.accent)+"</mo>",fo+="</mover>";break;case"line":case"overlap":break;case"overunder":cc=a.above,xc=a.below,(a.svgAbove||cc)&&(a.svgBelow||xc)?eu=a.body:cc&&cc.length>0?(eu=a.body,(ie=(te=a.body)==null?void 0:te[0])!=null&&ie.below?(xc=a.body[0].below,eu=a.body[0].body):((De=(le=a.body)==null?void 0:le[0])==null?void 0:De.type)==="first"&&((Ve=(Re=a.body)==null?void 0:Re[1])!=null&&Ve.below)&&(xc=a.body[1].below,eu=a.body[1].body)):xc&&xc.length>0&&(eu=a.body,(zt=(lt=a.body)==null?void 0:lt[0])!=null&&zt.above?(cc=a.body[0].above,eu=a.body[0].body):((nr=(wn=a.body)==null?void 0:wn[0])==null?void 0:nr.type)==="first"&&((Ia=(hr=a.body)==null?void 0:hr[1])!=null&&Ia.above)&&(cc=a.body[1].overscript,eu=a.body[1].body)),(a.svgAbove||cc)&&(a.svgBelow||xc)?(fo+=`<munderover ${$s(a.id,y)}>`,fo+=(Yi=Ns[a.svgBody])!=null?Yi:Ks(eu,y),fo+=(Ca=Ns[a.svgBelow])!=null?Ca:Ks(xc,y),fo+=(si=Ns[a.svgAbove])!=null?si:Ks(cc,y),fo+="</munderover>"):a.svgAbove||cc?(fo+=`<mover ${$s(a.id,y)}>`+((eo=Ns[a.svgBody])!=null?eo:Ks(eu,y)),fo+=(xi=Ns[a.svgAbove])!=null?xi:Ks(cc,y),fo+="</mover>"):(a.svgBelow||xc)&&(fo+=`<munder ${$s(a.id,y)}>`+((rl=Ns[a.svgBody])!=null?rl:Ks(eu,y)),fo+=(Ll=Ns[a.svgBelow])!=null?Ll:Ks(xc,y),fo+="</munder>");break;case"placeholder":fo+="?";break;case"mord":{fo=typeof a.value=="string"?a.value:ku,ku==="\\char"?fo="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":fo.length>0&&fo.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?fo="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?fo=a.value.charAt(0):(console.error("Did not expect this"),fo=""));const Tc=/\d/.test(fo)?"mn":"mi";fo=`<${Tc}${$s(a.id,y)}>${uh(fo)}</${Tc}>`;break}case"mbin":case"mrel":case"minner":fo=Od(a,y);break;case"mpunct":fo='<mo separator="true"'+$s(a.id,y)+">"+ku+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(fo="<mo"+$s(a.id,y)+">",fo+=ku==="\\operatorname"?a.body:ku||a.body,fo+="</mo>");break;case"box":fo='<menclose notation="box"',a.backgroundcolor&&(fo+=' mathbackground="'+a.backgroundcolor+'"'),fo+=$s(a.id,y)+">"+Ks(a.body,y)+"</menclose>";break;case"spacing":fo+='<mspace width="'+((El=Qs[ku])!=null?El:0)+'em"/>';break;case"enclose":fo='<menclose notation="';for(const Tc in a.notation)Object.prototype.hasOwnProperty.call(a.notation,Tc)&&a.notation[Tc]&&(fo+=bc+Tc,bc=" ");fo+=$s(a.id,y)+'">'+Ks(a.body,y)+"</menclose>";break;case"prompt":fo='<menclose notation="roundexbox""">'+Ks(a.body,y)+"</menclose>";break;case"space":fo+="&nbsp;";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":fo+=Od(a,y);break;case"mclose":fo+=Od(a,y);break;case"macro":{const Tc=a.command+Jd(a.macroArgs);Tc&&(fo+=`<mo ${$s(a.id,y)}>${Tc}</mo>`)}break;case"latexgroup":fo+=Ks(a.body,y);break;case"latex":fo+="<mtext"+$s(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":fo+=Ks(a.body,y);break;case"text":fo+=`<mtext ${$s(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${$s(a.id,y)} displaystyle="true">${Ks(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${$s(a.id,y)} displaystyle="false">${Ks(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return fo}var qd={"\\alpha":"alpha ","\\mu":"mew ","\\sigma":"sigma ","\\pi":"pie ","\\imaginaryI":"imaginary eye ","\\imaginaryJ":"imaginary jay ","\\sum":"Summation ","\\prod":"Product ","+":"plus ","-":"minus ",";":'<break time="150ms"/> semi-colon <break time="150ms"/>',",":'<break time="150ms"/> comma <break time="150ms"/>',"|":'<break time="150ms"/>Vertical bar<break time="150ms"/>',"(":'<break time="150ms"/>Open paren. <break time="150ms"/>',")":'<break time="150ms"/> Close paren. <break time="150ms"/>',"=":"equals ","<":"is less than ","\\lt":"is less than ","<=":"is less than or equal to ","\\le":"is less than or equal to ","\\gt":"is greater than ",">":"is greater than ","\\pm":"plus or minus","\\mp":"minus or plus","\\ge":"is greater than or equal to ","\\geq":"is greater than or equal to ","\\leq":"is less than or equal to ","\\ne":"is not equal to ","\\neq":"is not equal to ","!":"factorial ","\\sin":"sine ","\\cos":"cosine ","\u200B":"","\u2212":"minus ",":":'<break time="150ms"/> such that <break time="200ms"/> ',"\\colon":'<break time="150ms"/> such that <break time="200ms"/> ',"\\hbar":"etch bar ","\\iff":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\Longleftrightarrow":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\land":"and ","\\lor":"or ","\\neg":"not ","\\div":"divided by ","\\forall":"for all ","\\exists":"there exists ","\\nexists":"there does not exists ","\\in":"element of ","\\N":'the set <break time="150ms"/><say-as interpret-as="character">n</say-as>',"\\C":'the set <break time="150ms"/><say-as interpret-as="character">c</say-as>',"\\Z":'the set <break time="150ms"/><say-as interpret-as="character">z</say-as>',"\\Q":'the set <break time="150ms"/><say-as interpret-as="character">q</say-as>',"\\infty":"infinity ","\\nabla":"nabla ","\\partial":"partial derivative of ","\\cdot":"times ","\\cdots":"dot dot dot ","\\Rightarrow":"implies ","\\lparen":'<break time="150ms"/>open paren<break time="150ms"/>',"\\rparen":'<break time="150ms"/>close paren<break time="150ms"/>',"\\lbrace":'<break time="150ms"/>open brace<break time="150ms"/>',"\\{":'<break time="150ms"/>open brace<break time="150ms"/>',"\\rbrace":'<break time="150ms"/>close brace<break time="150ms"/>',"\\}":'<break time="150ms"/>close brace<break time="150ms"/>',"\\langle":'<break time="150ms"/>left angle bracket<break time="150ms"/>',"\\rangle":'<break time="150ms"/>right angle bracket<break time="150ms"/>',"\\lfloor":'<break time="150ms"/>open floor<break time="150ms"/>',"\\rfloor":'<break time="150ms"/>close floor<break time="150ms"/>',"\\lceil":'<break time="150ms"/>open ceiling<break time="150ms"/>',"\\rceil":'<break time="150ms"/>close ceiling<break time="150ms"/>',"\\vert":'<break time="150ms"/>vertical bar<break time="150ms"/>',"\\mvert":'<break time="150ms"/>divides<break time="150ms"/>',"\\lvert":'<break time="150ms"/>left vertical bar<break time="150ms"/>',"\\rvert":'<break time="150ms"/>right vertical bar<break time="150ms"/>',"\\lbrack":'<break time="150ms"/> open square bracket <break time="150ms"/>',"\\rbrack":'<break time="150ms"/> close square bracket <break time="150ms"/>',mm:"millimeters",cm:"centimeters",km:"kilometers",kg:"kilograms"},Yh={array:"array",matrix:"matrix",pmatrix:"parenthesis matrix",bmatrix:"square brackets matrix",Bmatrix:"braces matrix",vmatrix:"bars matrix",Vmatrix:"double bars matrix","matrix*":"matrix",smallmatrix:"small matrix"};function Kg(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function Ef(a){let y=0;if(fe(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function zg(a){if(fe(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function hp(a){let y="";if(fe(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Hg(a){return a?a.map(y=>y.value).join(""):""}function Es(a,y){var b,E,te,ie,le;function De(lt){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(lt)?` <say-as interpret-as="character">${lt}</say-as>`:/[A-Z]/.test(lt)?`capital <say-as interpret-as="character">${lt.toLowerCase()}</say-as>`:lt:/[a-z]/.test(lt)?" '"+lt.toUpperCase()+"'":/[A-Z]/.test(lt)?" 'capital "+lt.toUpperCase()+"'":lt}function Re(lt){return"<emphasis>"+lt+"</emphasis>"}if(!y)return"";let Ve="";if(fe(y)){let lt=!1,zt=!1;for(let wn=0;wn<y.length;wn++)y[wn].type!=="first"&&(y[wn].mode!=="text"&&(zt=!1),wn<y.length-2&&y[wn].type==="mopen"&&y[wn+2].type==="mclose"&&y[wn+1].type==="mord"?(Ve+=" of ",Ve+=Re(Es(a,y[wn+1])),wn+=2):y[wn].mode==="text"?zt?Ve+=(b=y[wn].value)!=null?b:" ":(zt=!0,Ve+=Es("text",y[wn])):y[wn].isDigit()?lt?Ve+=y[wn].asDigit():(lt=!0,Ve+=Es(a,y[wn])):(lt=!1,Ve+=Es(a,y[wn])))}else if(y.mode==="text")y.id&&a==="math"&&(Ve+='<mark name="'+y.id.toString()+'"/>'),Ve+=y.value;else{y.id&&a==="math"&&(Ve+='<mark name="'+y.id.toString()+'"/>');let lt="",zt="",wn="",nr=!1;const{command:hr}=y;switch(hr){case"\\vec":return"vector "+Es(a,y.body);case"\\acute":return Es(a,y.body)+" acute";case"\\grave":return Es(a,y.body)+" grave";case"\\dot":return"dot over"+Es(a,y.body);case"\\ddot":return"double dot over"+Es(a,y.body);case"\\mathring":return"ring over"+Es(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Es(a,y.body);case"\\bar":return Es(a,y.body)+" bar";case"\\breve":return Es(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Es(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Es(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Es(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Es(a,y.body)}switch(y.type){case"prompt":const Ia=y.body.length>1?'start input . <break time="500ms"/> '+Es(a,y.body)+'. <break time="500ms"/> end input':"blank";Ve+=' <break time="300ms"/> '+Ia+'. <break time="700ms"/>'+((E=y.correctness)!=null?E:"")+' . <break time="700ms"/> ';break;case"array":const Yi=y.array,Ca=y.environmentName;if(Object.keys(Yh).includes(Ca)){Ve+=` begin ${Yh[Ca]} `;for(let xi=0;xi<Yi.length;xi++){xi>0&&(Ve+=","),Ve+=` row ${xi+1} `;for(let rl=0;rl<Yi[xi].length;rl++)rl>0&&(Ve+=","),Ve+=` column ${rl+1}: `,Ve+=Es("math",Yi[xi][rl])}Ve+=` end ${Yh[Ca]} `}break;case"group":hr==="\\ne"?Ve+=" not equal ":(hr==="\\not"&&(Ve+=" not "),Ve+=Es("math",y.body));break;case"root":Ve+=Es("math",y.body);break;case"genfrac":if(lt=Es("math",y.above),zt=Es("math",y.below),Ef(y.above)&&Ef(y.below)){const rl={"1/2":" half ","1/3":" one third ","2/3":" two third","1/4":" one quarter ","3/4":" three quarter ","1/5":" one fifth ","2/5":" two fifths ","3/5":" three fifths ","4/5":" four fifths ","1/6":" one sixth ","5/6":" five sixths ","1/8":" one eight ","3/8":" three eights ","5/8":" five eights ","7/8":" seven eights ","1/9":" one ninth ","2/9":" two ninths ","4/9":" four ninths ","5/9":" five ninths ","7/9":" seven ninths ","8/9":" eight ninths "}[hp(y.above)+"/"+hp(y.below)];rl?Ve=rl:Ve+=lt+" over "+zt}else Ve+=' the fraction <break time="150ms"/>'+lt+' over <break time="150ms"/>'+zt+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(wn=Es("math",y.body),y.hasEmptyBranch("above"))Ve+=Ef(y.body)?" the square root of "+wn+" , ":' the square root of <break time="200ms"/>'+wn+'. <break time="200ms"/> End square root';else{let xi=Es("math",y.above);xi=xi.trim();const rl=xi.replace(/<mark([^/]*)\/>/g,"");rl==="3"?Ve+=' the cube root of <break time="200ms"/>'+wn+'. <break time="200ms"/> End cube root':rl==="n"?Ve+=' the nth root of <break time="200ms"/>'+wn+'. <break time="200ms"/> End root':Ve+=' the root with index: <break time="200ms"/>'+xi+', of <break time="200ms"/>'+wn+'. <break time="200ms"/> End root'}break;case"leftright":{const xi=y;Ve+=(te=xi.leftDelim?qd[xi.leftDelim]:void 0)!=null?te:xi.leftDelim,Ve+=Es("math",y.body),Ve+=(ie=xi.rightDelim?qd[xi.rightDelim]:void 0)!=null?ie:xi.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const si=hr.replace(/^\\/g,""),eo=Qt()[si];eo&&(eo!=null&&eo.expand?Ve+=Es("math",y.body):Ve+=`${si} `);break;case"placeholder":Ve+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(hr==="\\mathbin"||hr==="\\mathrel"||hr==="\\mathopen"||hr==="\\mathclose"||hr==="\\mathpunct"||hr==="\\mathord"||hr==="\\mathinner"){Ve=Es(a,y.body);break}let xi=y.isDigit()?y.asDigit():y.value,rl=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(rl=y.value,xi=rl),a==="text")Ve+=xi;else{if(y.type==="mbin"&&(Ve+='<break time="150ms"/>'),xi){const Ll=qd[xi]||(rl?qd[rl.trim()]:"");if(Ll)Ve+=" "+Ll;else{const El=rl?Kg(rl.trim()):"";Ve+=El||De(xi)}}else Ve+=Es("math",y.body);y.type==="mbin"&&(Ve+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const xi=y.command;if(xi==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let rl=Es("math",y.superscript);rl=rl.trim();let Ll=Es("math",y.subscript);Ll=Ll.trim(),Ve+=' the summation from <break time="200ms"/>'+Ll+'<break time="200ms"/> to <break time="200ms"/>'+rl+'<break time="200ms"/> of <break time="150ms"/>',nr=!0}else if(y.hasEmptyBranch("subscript"))Ve+=" the summation of";else{let rl=Es("math",y.subscript);rl=rl.trim(),Ve+=' the summation from <break time="200ms"/>'+rl+'<break time="200ms"/> of <break time="150ms"/>',nr=!0}else if(xi==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let rl=Es("math",y.superscript);rl=rl.trim();let Ll=Es("math",y.subscript);Ll=Ll.trim(),Ve+=' the product from <break time="200ms"/>'+Ll+'<break time="200ms"/> to <break time="200ms"/>'+rl+'<break time="200ms"/> of <break time="150ms"/>',nr=!0}else if(y.hasEmptyBranch("subscript"))Ve+=" the product of ";else{let rl=Es("math",y.subscript);rl=rl.trim(),Ve+=' the product from <break time="200ms"/>'+rl+'<break time="200ms"/> of <break time="150ms"/>',nr=!0}else if(xi==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let rl=Es("math",y.superscript);rl=rl.trim();let Ll=Es("math",y.subscript);Ll=Ll.trim(),Ve+=' the integral from <break time="200ms"/>'+Re(Ll)+'<break time="200ms"/> to <break time="200ms"/>'+Re(rl)+' <break time="200ms"/> of ',nr=!0}else Ve+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const rl=(le=qd[y.value])!=null?le:y.command?qd[y.command]:void 0;Ve+=rl||" "+y.value}else y.command&&(y.command==="\\mathop"?Ve+=Es("math",y.body):y.command==="\\operatorname"?Ve+=Hg(y.body):Ve+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":wn=Es("math",y.body),Ve+=" crossed out "+wn+". End crossed out.";break;case"space":case"spacing":break}if(!nr&&!y.hasEmptyBranch("superscript")){let Ia=Es(a,y.superscript);Ia=Ia.trim();const Yi=Ia.replace(/<[^>]*>/g,"");if(Ef(y.superscript)){if(a==="math"){const Ca=zg(y.superscript);Ca&&(Ve+='<mark name="'+Ca+'"/>')}Yi==="\u2032"?Ve+=" prime ":Yi==="2"?Ve+=" squared ":Yi==="3"?Ve+=" cubed ":Number.isNaN(Number.parseInt(Yi))?Ve+=" to the "+Ia+"; ":Ve+=' to the <say-as interpret-as="ordinal">'+Yi+"</say-as> power; "}else Number.isNaN(Number.parseInt(Yi))?Ve+=" raised to the "+Ia+"; ":Ve+=' raised to the <say-as interpret-as="ordinal">'+Yi+"</say-as> power; "}if(!nr&&!y.hasEmptyBranch("subscript")){let Ia=Es("math",y.subscript);Ia=Ia.trim(),Ve+=Ef(y.subscript)?" sub "+Ia:" subscript "+Ia+". End subscript. "}}return Ve}function $d(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const te=Ks(a);if(te){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=me(Se({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=me(Se({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=me(Se({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const ie=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&ie.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let le="";try{le=ie.toSpeech(te)}catch(De){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",De)}return le}return""}let E=Es("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let te="";window.MathfieldElement.speechEngineRate&&(te='<prosody rate="'+window.MathfieldElement.speechEngineRate+'">'),E='<?xml version="1.0"?><speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><amazon:auto-breaths>'+te+"<p><s>"+E+"</s></p>"+(te?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&Ee()==="macos"?E=E.replace(/<mark([^/]*)\/>/g,"").replace(/<emphasis>/g,"[[emph+]]").replace(/<\/emphasis>/g,"").replace(/<break time="(\d*)ms"\/>/g,"[[slc $1]]").replace(/<say-as[^>]*>/g,"").replace(/<\/say-as>/g,""):E=E.replace(/<[^>]*>/g,"").replace(/\s{2,}/g," ");return E}var Af={"\\ne":"\u2260","\\neq":"\u2260","\u2212":"-","-":"-","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\delta":"delta","\\epsilon":"epsilon","\\varepsilon":"varepsilon","\\zeta":"zeta","\\eta":"eta","\\theta":"theta","\\vartheta":"vartheta","\\iota":"iota","\\kappa":"kappa","\\lambda":"lambda","\\mu":"mu","\\nu":"nu","\\xi":"xi","\\pi":"pi","\\rho":"rho","\\sigma":"sigma","\\tau":"tau","\\upsilon":"upsilon","\\phi":"phi","\\varphi":"varphi","\\chi":"chi","\\psi":"psi","\\omega":"omega","\\Gamma":"Gamma","\\Delta":"Delta","\\Theta":"Theta","\\Lambda":"Lambda","\\Xi":"Xi","\\Pi":"Pi","\\Sigma":"Sigma","\\Phi":"Phi","\\Psi":"Psi","\\Omega":"Omega","\\exponentialE":"e","\\imaginaryI":"i","\\imaginaryJ":"j","\\!":" ","\\,":" ","\\:":" ","\\>":" ","\\;":" ","\\enskip":" ","\\enspace":" ","\\qquad":" ","\\quad":" ","\\infty":"oo"},Mf={"\\pm":"+-","\\colon":":","\\vert":"|","\\Vert":"||","\\mid":"|","\\lbrack":"[","\\rbrack":"]","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"(:","\\rangle":":)","\\sum":" sum ","\\prod":" prod ","\\bigcap":" nnn ","\\bigcup":" uuu ","\\int":" int ","\\oint":" oint ","\\ge":">=","\\le":"<=","\\ne":"!=","\\neq":"!=","\\lt":"<","\\gt":">","\\gets":"<-","\\to":"->","\\land":" and ","\\lor":" or ","\\lnot":" not ","\\forall":" AA ","\\exists":" EE ","\\in":" in ","\\notin":" !in ","\\mapsto":"|->","\\implies":"=>","\\iff":"<=>","\\cdot":"*","\\ast":"**","\\star":"***","\\times":"xx","\\div":"-:","\\ltimes":"|><","\\rtimes":"><|","\\bowtie":"|><|","\\circ":"@"};function Zg(a){let y="";for(const b of a){const E=y[y.length-1];E!==void 0&&/\d/.test(E)&&/^\d/.test(b)&&(y+=" "),y+=b}return y}function Du(a){var y,b,E,te,ie,le,De,Re,Ve,lt,zt,wn,nr;if(!a)return"";if(fe(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(Du).join("");if(a[0].mode==="text"){let eo=0,xi="";for(;((y=a[eo])==null?void 0:y.mode)==="text";)xi+=a[eo].body?Du(a[eo].body):a[eo].value,eo++;return`"${xi}" ${Du(a.slice(eo))}`}let Ca=0;const si=[];for(;a[Ca]&&a[Ca].mode==="math";){let eo="";for(;a[Ca]&&a[Ca].type==="mord"&&/\d/.test(a[Ca].value);)eo+=a[Ca++].value;eo?si.push(eo):si.push(Du(a[Ca++]))}return si.push(Du(a.slice(Ca))),Zg(si)}if(a.mode==="text")return`"${a.value}"`;let hr="";const{command:Ia}=a;let Yi;if(Ia==="\\placeholder")return`(${Du(a.body)})`;switch(a.type){case"accent":const Ca={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[Ia];hr=`${Ca!=null?Ca:""} ${Du(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(El=>El.value).join("");case"group":case"root":hr=(b=Af[Ia])!=null?b:Du(a.body);break;case"genfrac":{const El=a;(El.leftDelim||El.rightDelim)&&(hr=El.leftDelim==="."||!El.leftDelim?"{:":El.leftDelim),El.hasBarLine?(hr+="(",hr+=Du(El.above),hr+=")/(",hr+=Du(El.below),hr+=")"):(hr+="("+Du(El.above)+"),",hr+="("+Du(El.below)+")"),(El.leftDelim||El.rightDelim)&&(hr+=El.rightDelim==="."||!El.rightDelim?"{:":El.rightDelim)}break;case"surd":hr+=a.hasEmptyBranch("above")?"sqrt("+Du(a.body)+")":"root("+Du(a.above)+")("+Du(a.body)+")";break;case"latex":hr=a.value;break;case"leftright":{const El=a,Ns=El.leftDelim;hr+=Ns==="."||!Ns?"{:":Ns,hr+=Du(El.body);const Qs=El.matchingRightDelim();hr+=Qs==="."||!Qs?":}":Qs}break;case"sizeddelim":case"delim":hr=a.value;break;case"overlap":break;case"overunder":break;case"mord":hr=(te=(E=Af[Ia])!=null?E:Ia)!=null?te:typeof a.value=="string"?a.value:"",hr.startsWith("\\")&&(hr+=" "),Yi=Ia?Ia.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,Yi?hr=String.fromCodePoint(Number.parseInt("0x"+Yi[1])):hr.length>0&&hr.startsWith("\\")&&(hr=typeof a.value=="string"?a.value.charAt(0):a.command),hr=Wg(hr,a.style);break;case"mbin":case"mrel":case"minner":hr=(le=(ie=Af[Ia])!=null?ie:Mf[Ia])!=null?le:a.value;break;case"mopen":case"mclose":hr=a.value;break;case"mpunct":hr=(De=Mf[Ia])!=null?De:Ia;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(Mf[Ia]?hr=Mf[Ia]:hr=Ia==="\\operatorname"?Du(a.body):(Re=a.value)!=null?Re:Ia,hr+=" ");break;case"array":const si=a.array,eo=a.environmentName,xi=(Ve={bmatrix:["[","]"],"bmatrix*":["[","]"]}[eo])!=null?Ve:["(",")"],rl=[];for(const El of si){const Ns=[];for(const Qs of El)Ns.push(xi[0]+Du(Qs)+xi[1]);rl.push(Ns.join(","))}const Ll=(lt={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[eo])!=null?lt:["(",")"];hr=Ll[0]+rl.join(",")+Ll[1];break;case"box":break;case"spacing":hr=(zt=Af[Ia])!=null?zt:" ";break;case"enclose":hr="("+Du(a.body)+")";break;case"space":hr=" ";break;case"subsup":hr="";break;case"macro":hr=(nr=(wn=Af[Ia])!=null?wn:Mf[Ia])!=null?nr:Du(a.body);break}if(!a.hasEmptyBranch("subscript")){hr+="_";const Ca=Du(a.subscript);hr+=Ca.length!==1?`(${Ca})`:Ca}if(!a.hasEmptyBranch("superscript")){hr+="^";const Ca=Du(a.superscript);hr+=Ca.length!==1?`(${Ca})`:Ca}return hr}function Wg(a,y){if(!y)return a;let b=a;return y.variant==="double-struck"&&(b=`bbb "${b}"`),y.variant==="script"&&(b=`cc "${b}"`),y.variant==="fraktur"&&(b=`fr "${b}"`),y.variant==="sans-serif"&&(b=`sf "${b}"`),y.variant==="monospace"&&(b=`tt "${b}"`),y.variantStyle==="bold"&&(b=`bb "${b}"`),y.color?`color({${y.color}})(${b})`:b}function _u(a,y){var b,E;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const te=new dl({from:me(Se({},os()),{renderPlaceholder:()=>new li(160,{maxFontSize:1}),letterShapeStyle:(E=y==null?void 0:y.letterShapeStyle)!=null?E:"tex"}),mathstyle:y.mathstyle}),le=new za({mode:"math",type:"root",body:Wu(a,{context:te,parseMode:"math",mathstyle:y.mathstyle})}).render(te);return le?(js(cf(le,te)),bu(le,{classes:"ML__latex"}).toMarkup()):""}function Fy(a){return i0(a,{context:os()})}function _g(a,y={}){return Ks(Wu(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Vg(a){const y=Wu(a,{parseMode:"math",mathstyle:"displaystyle"});return $d(y)}var ch;function jg(a){var y,b;if(!ch){const E=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;E?ch=new E:console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}return(b=ch==null?void 0:ch.box(a).latex)!=null?b:""}function Ky(a,y="math"){return Du(new za({type:"root",body:Wu(a,{parseMode:y})}))}function zy(a){return Rs(a,{format:"ascii-math"})[1]}function Qh(a){if(typeof a=="string"){const y=Ug(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Yg(a):"a"in a?pp(a):a}function ef(a){return a<0?0:a>255?255:Math.round(a)}function Ug(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&typeof y.a=="undefined"&&(y.a=1),y}function Xh(a){const[y,b,E]=[a.L,a.C,a.H],te=E*Math.PI/180,ie={L:y,a:b*Math.cos(te),b:b*Math.sin(te)};return a.alpha!==void 0&&(ie.alpha=a.alpha),ie}function Gg(a){const[y,b,E]=[a.L,a.a,a.b],te=Math.sqrt(b*b+E*E),le=Math.atan2(E,b)*180/Math.PI,De={L:y,C:te,H:le};return a.alpha!==void 0&&(De.alpha=a.alpha),De}function Jh(a){const[y,b,E]=[a.L,a.a,a.b],te=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*E,3),ie=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*E,3),le=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*E,3),De=4.076741661347994*te-3.307711590408193*ie+.230969928729428*le,Re=-1.2684380040921763*te+2.6097574006633715*ie-.3413193963102197*le,Ve=-.004196086541837188*te-.7034186144594493*ie+1.7076147009309444*le,lt=zt=>{const wn=Math.abs(zt);return wn<=.0031308?zt*12.92:(Math.sign(zt)||1)*(1.055*Math.pow(wn,1/2.4)-.055)};return[lt(De),lt(Re),lt(Ve)]}function qh(a){const[y,b,E]=a;return y>=0&&y<=1&&b>=0&&b<=1&&E>=0&&E<=1}function $h(a,y){let[b,E,te]=a;return b=ef(b*255),E=ef(E*255),te=ef(te*255),y!==void 0?{r:b,g:E,b:te,alpha:y}:{r:b,g:E,b:te}}function pp(a){let[y,b,E]=Jh(a);if(qh([y,b,E]))return $h([y,b,E],a.alpha);const te=Gg(a);if(te.C=0,[y,b,E]=Jh(Xh(te)),!qh([y,b,E]))return $h([y,b,E],a.alpha);let ie=0,le=a.L,De=(ie+le)/2;te.C=De;const Re=.36/Math.pow(2,12);for(;le-ie>Re;)De=(ie+le)/2,te.C=De,[y,b,E]=Jh(Xh(te)),qh([y,b,E])?ie=De:le=De;return $h([y,b,E],a.alpha)}function Yg(a){return pp(Xh(a))}function mp(a,y){const b=Qh(a),E=Qh(y),te=.56,ie=.57,le=.62,De=.65,Re=.022,Ve=1.414,lt=.1,zt=5e-4,wn=1.14,nr=.027,hr=1.14,Ia=.027;function Yi(El){return El>=Re?El:El+Mc(Re-El,Ve)}function Ca(El){return(El<0?-1:1)*Math.pow(Math.abs(El),2.4)}const si=Yi(Ca(E.r/255)*.2126729+Ca(E.g/255)*.7151522+Ca(E.b/255)*.072175),eo=Yi(Ca(b.r/255)*.2126729+Ca(b.g/255)*.7151522+Ca(b.b/255)*.072175);let xi,rl,Ll;return Math.abs(eo-si)<zt?rl=0:eo>si?(xi=Mc(eo,te)-Mc(si,ie),rl=xi*wn):(xi=Mc(eo,De)-Mc(si,le),rl=xi*hr),Math.abs(rl)<lt?Ll=0:rl>0?Ll=rl-Ia:Ll=rl+nr,Ll*100}function vp(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const E=mp(a,b),te=mp(a,y);return Math.abs(E)>Math.abs(te)?b:y}function Qg(a){const y=Qh(a);let b=((1<<24)+(ef(y.r)<<16)+(ef(y.g)<<8)+ef(y.b)).toString(16).slice(1);return y.alpha!==void 0&&y.alpha<1&&(b+=("00"+Math.round(y.alpha*255).toString(16)).slice(-2)),b[0]===b[1]&&b[2]===b[3]&&b[4]===b[5]&&b[6]===b[7]&&(b=b[0]+b[2]+b[4]+(y.alpha!==void 0&&y.alpha<1?b[6]:"")),"#"+b}function mu(a){const y=gp(a);let b="";for(const E of y){if(typeof E.value!="string")return"";b+=E.value}return b}function gp(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function Xg(a,y){const b=gp(a);if(b.length!==1)return!1;const E=yh[y];return E?!!E.test(b[0].value):!1}function Jg(a,y){return mu(a).length>0}function qg(a){return[e0(a,"double-struck","mathbb","tooltip.blackboard"),e0(a,"fraktur","mathfrak","tooltip.fraktur"),e0(a,"calligraphic","mathcal","tooltip.caligraphic"),t0(a,"up","mathrm","tooltip.roman-upright"),t0(a,"bold","mathbf","tooltip.bold"),t0(a,"italic","mathit","tooltip.italic")]}function $g(a){return[{label:()=>_u(`\\vec{${mu(a)}}`),visible:()=>mu(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overrightarrow{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overleftarrow{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>_u(`\\dot{${mu(a)}}`),visible:()=>mu(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>_u(`\\ddot{${mu(a)}}`),visible:()=>mu(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>_u(`\\bar{${mu(a)}}`),visible:()=>mu(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overline{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overgroup{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overbrace{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>_u(`\\underline{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>_u(`\\undergroup{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>_u(`\\underbrace{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function ey(a){return[{label:()=>_u(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>_u(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>_u(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function ty(a){const y=[];for(const b of Object.keys($e))y.push({class:(Qg(vp($e[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${$e[b]} "></span>`,ariaLabel:()=>{var E;return(E=st(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({backgroundColor:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({backgroundColor:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}function ny(a){const y=[];for(const b of Object.keys(Je))y.push({class:(vp(Je[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Je[b]} "></span>`,ariaLabel:()=>{var E;return(E=st(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({color:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({color:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}var ry=class extends ap{constructor(a,y,b,E){super(a,y),this.row=b,this.col=E}set active(a){const y=this.parentMenu.children;if(a)for(const b of y)b.element.classList.toggle("active",b.row<=this.row&&b.col<=this.col);else for(const b of y)b.element.classList.remove("active")}};function ay(a){const y=[];for(let b=1;b<=5;b++)for(let E=1;E<=5;E++)y.push({onCreate:(te,ie)=>new ry(te,ie,b,E),label:"\u2610",tooltip:()=>st("tooltip.row-by-col",b,E),data:{row:b,col:E},onMenuSelect:()=>{a.insert(`\\begin{pmatrix}${Array(b).fill(Array(E).fill("#?").join(" & ")).join("\\\\")}\\end{pmatrix}`,{selectionMode:"item"})}});return y}function iy(a){return[{label:()=>st("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>Td(a)},{label:()=>st("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>Td(a)},{label:()=>st("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>Td(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,E]=ly(a);return b<y.maxColumns}},{label:()=>st("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>Td(a)},{type:"divider"},{label:()=>st("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>Td(a)},{label:()=>st("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>Td(a)},{type:"divider"},{label:()=>st("menu.borders"),visible:()=>(oy(a)||Td(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>Df(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>Df(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>Df(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>Df(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>Df(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>st("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:ay(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>st("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>st("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{_d(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>st("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{_d(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>st("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>st("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:qg(a),submenuClass:"variant-submenu"},{label:()=>st("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:ny(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>st("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:ty(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>st("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:$g(a),submenuClass:"variant-submenu"},{label:()=>st("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&mu(a).length>0,submenu:ey(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>st("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=sy(a);if(!y){a.model.announce("plonk");return}a.model.selectionIsCollapsed?(a.model.position=a.model.lastOffset,a.insert(`=${y}`,{insertionMode:"insertAfter",selectionMode:"item"})):a.insert(y,{insertionMode:"replaceSelection",selectionMode:"item"})}},{label:()=>st("menu.simplify"),id:"ce-simplify",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{var y,b;if(a.model.selectionIsCollapsed){const E=(y=a.expression)==null?void 0:y.simplify();if(a.model.position=a.model.lastOffset,!E){a.model.announce("plonk");return}a.insert(`=${E.latex}`,{insertionMode:"insertAfter",selectionMode:"item"})}else{const E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection)).simplify();if(!E){a.model.announce("plonk");return}a.insert(E.latex,{insertionMode:"replaceSelection",selectionMode:"item"})}}},{label:()=>{var y;if(window.MathfieldElement.computeEngine===null)return"";const b=(y=a.expression)==null?void 0:y.unknowns[0];return b?st("menu.solve-for",_u(b)):st("menu.solve")},id:"ce-solve",visible:()=>{var y;return a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null&&((y=a.expression)==null?void 0:y.unknowns.length)===1&&a.expression.unknowns[0]!=="Nothing"},onMenuSelect:()=>{var y;const b=a.expression,E=b==null?void 0:b.unknowns[0],te=(y=b.solve(E))==null?void 0:y.map(ie=>{var le;return(le=ie.simplify().latex)!=null?le:""});if(!te){a.model.announce("plonk");return}a.insert(`${E}=${te.length===1?te[0]:"\\left\\lbrace"+(te==null?void 0:te.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>st("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>st("menu.copy"),id:"copy",submenu:[{label:()=>st("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>is.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>st("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>is.copyToClipboard(a,"ascii-math")},{label:()=>st("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>is.copyToClipboard(a,"math-ml")}]},{label:()=>st("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>st("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function Td(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function oy(a){return a.model.at(a.model.position).type==="array"}function ly(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((E,te)=>Math.max(E,te.length),0)]:[0,0]}function Df(a,y){Ff(a),a.flushInlineShortcutBuffer(),R0(a.model,y),Eu(a)}function sy(a){var y,b;let E;if(a.model.selectionIsCollapsed?E=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!E)return"";let te=E.evaluate();return te.isSame(E)&&(te=E.N()),te.latex}function e0(a,y,b,E){return{label:()=>_u(`\\${b}{${mu(a)}}`),tooltip:()=>{var te;return(te=st(E))!=null?te:E},visible:()=>Xg(a,y),checked:()=>{var te;return{some:"mixed",all:!0}[(te=a.queryStyle({variant:y}))!=null?te:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function t0(a,y,b,E){return{label:()=>_u(`\\${b}{${mu(a)}}`),tooltip:()=>{var te;return(te=st(E))!=null?te:E},visible:()=>Jg(a,y),checked:()=>{var te;return{some:"mixed",all:!0}[(te=a.queryStyle({variantStyle:y}))!=null?te:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function tf(a,y){return a+$d(y)}pc({speak:(a,y,b)=>uy(a,y,b)},{target:"mathfield"});function uy(a,y,b){var E,te;b=b!=null?b:{withHighlighting:!1};const{model:ie}=a;function le(lt){let zt=null;switch(lt){case"all":zt=ie.root;break;case"selection":zt=ie.getAtoms(ie.selection);break;case"left":{zt=ie.getAtoms(ie.offsetOf(ie.at(ie.position).leftSibling),ie.position);break}case"right":{zt=ie.getAtoms(ie.position,ie.offsetOf(ie.at(ie.position).rightSibling));break}case"group":zt=ie.getAtoms(ie.getSiblingsRange(ie.position));break;case"parent":{const{parent:wn}=ie.at(ie.position);wn!=null&&wn.parent?zt=wn:zt=ie.root;break}default:zt=ie.root}return zt}function De(lt){let zt="";switch(lt){case"all":console.log("Internal failure: speak all failed");break;case"selection":zt="no selection";break;case"left":zt="at start";break;case"right":zt="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":zt="no parent";break;default:console.log('unknown speak_ param value: "'+lt+'"');break}return zt}const Re=le(y);if(Re===null)return(te=(E=window.MathfieldElement).speakHook)==null||te.call(E,De(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const Ve=$d(Re);return pt()&&b.withHighlighting?(yd().readAloudMathfield=a,Md(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,Ve)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(Ve),!1}function cy(a){var y,b;if(!pt()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const E=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(E)}else if(window.MathfieldElement.speechEngine==="amazon")if(!("AWS"in window))console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");else{const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),te={OutputFormat:"mp3",VoiceId:(y=window.MathfieldElement.speechEngineVoice)!=null?y:"Joanna",Engine:["Amy","Emma","Brian","Ivy","Joanna","Kendra","Kimberly","Salli","Joey","Justin","Matthew"].includes((b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna")?"neural":"standard",Text:a,TextType:"ssml"};E.synthesizeSpeech(te,(ie,le)=>{if(ie)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ie}`);else if(le!=null&&le.AudioStream){const De=new Uint8Array(le.AudioStream),Re=new Blob([De.buffer],{type:"audio/mpeg"}),Ve=URL.createObjectURL(Re);new Audio(Ve).play().catch(zt=>console.log(zt))}else console.log("polly.synthesizeSpeech():",le)})}else window.MathfieldElement.speechEngine==="google"&&console.error("MathLive 0.98.5: The Google speech engine is not supported yet. Please come again.")}function yp(a){var y;let b;if(a.parent.type==="prompt")a.parentBranch==="body"&&(b="prompt");else if(a.parentBranch==="body")b=a.type&&(y={enclose:"cross out",leftright:"delimiter",surd:"square root",root:"math field",mop:"operator",first:"first"}[a.type])!=null?y:"parent";else if(a.parent.type==="genfrac"){if(a.parentBranch==="above")return"numerator";if(a.parentBranch==="below")return"denominator"}else a.parent.type==="surd"?a.parentBranch==="above"&&(b="index"):a.parentBranch==="superscript"?b="superscript":a.parentBranch==="subscript"&&(b="subscript");return b||console.log("unknown relationship"),b!=null?b:"parent"}function dy(a,y,b,E){let te="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")te=tf("deleted: ",E);else if(y==="focus"||y.includes("move"))te=fy(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+hy(a.model);else if(y==="replacement")te=tf("",a.model.at(a.model.position));else if(y==="line"){const ie=tf("",a.model.root);a.keyboardDelegate.setAriaLabel(ie)}else te=E?tf(y+" ",E):y;if(te){const ie=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=te+ie}}function fy(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let E="",te=b.parent;const ie=a.at(a.position).parent;for(;te!==a.root&&te!==ie;)E+=`out of ${yp(te)};`,te=te.parent;return E}function hy(a){if(!a.selectionIsCollapsed)return tf("",a.getAtoms(a.selection));let y="";const b=a.at(a.position),E=yp(b);return b.isFirstSibling&&(y=(E?"start of "+E:"unknown")+": "),b.isLastSibling?b.isFirstSibling||(y+=E?"end of "+E:"unknown"):y+=tf("",b),y}var py=class{constructor(a,y,b){this.mathfield=a,this.mode=y,this.silenceNotifications=!1,this._selection={ranges:[[0,0]],direction:"none"},this._anchor=0,this._position=0,this.root=b}dispose(){this.mathfield=void 0}getState(){const a={ranges:[...this._selection.ranges]};return this.selection.direction&&this.selection.direction!=="none"&&(a.direction=this.selection.direction),{content:this.root.toJson(),selection:a,mode:this.mode}}setState(a,y){var b;const E=this.silenceNotifications;this.silenceNotifications=(b=y==null?void 0:y.silenceNotifications)!=null?b:!0;let te={};if((y==null?void 0:y.type)==="undo"&&(te={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(te={inputType:"historyRedo"}),this.contentWillChange(te)){const ie=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=pd(a.content),this.selection=a.selection,this.silenceNotifications=ie,this.contentDidChange(te)}this.silenceNotifications=E}get atoms(){return this.root.children}get selection(){return this._selection}set selection(a){this.setSelection(a)}setSelection(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{var b,E,te;const ie=this.normalizeSelection(a,y);if(ie===void 0)throw new TypeError("Invalid selection");if(ie.ranges.length===1&&ie.ranges[0][0]===ie.ranges[0][1]){const lt=ie.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(lt))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((E=this.at(lt-1))!=null&&E.parentPrompt){this._anchor=this.normalizeOffset(lt-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((te=this.at(lt+1))!=null&&te.parentPrompt){this._anchor=this.normalizeOffset(lt+1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}this._anchor=0,this._position=0,this._selection={ranges:[[0,0]]};return}this._anchor=lt,this._position=lt,this._selection=ie;return}const le=ou(ie);ie.direction==="backward"?[this._position,this._anchor]=le:[this._anchor,this._position]=le;const De=this.at(le[0]+1),Re=this.at(le[1]),Ve=za.commonAncestor(De,Re);(Ve==null?void 0:Ve.type)==="array"&&De.parent===Ve&&Re.parent===Ve?this._selection={ranges:[le],direction:ie.direction}:this._selection={ranges:[le],direction:ie.direction},console.assert(this._position>=0&&this._position<=this.lastOffset)})}setPositionHandlingPlaceholder(a){var y;const b=this.at(a);(b==null?void 0:b.type)==="placeholder"?this.setSelection(a-1,a):((y=b==null?void 0:b.rightSibling)==null?void 0:y.type)==="placeholder"?this.setSelection(a,a+1):this.position=a,b instanceof Gu&&b.isSuggestion&&(b.isSuggestion=!1),this.mathfield.stopCoalescingUndo()}get position(){return this._position}set position(a){this.setSelection(a,a)}get anchor(){return this._anchor}get selectionIsCollapsed(){return this._anchor===this._position}get selectionIsPlaceholder(){return Math.abs(this._anchor-this._position)===1?this.at(Math.max(this._anchor,this._position)).type==="placeholder":!1}collapseSelection(a="forward"){return this._anchor===this._position?!1:(a==="backward"?this.position=Math.min(this._anchor,this._position):this.position=Math.max(this._anchor,this._position),!0)}get lastOffset(){return this.atoms.length-1}at(a){return this.atoms[a]}offsetOf(a){return this.atoms.indexOf(a)}getSiblingsRange(a){const y=this.at(a),{parent:b}=y;if(!b)return[0,this.lastOffset];const E=y.parent.branch(y.parentBranch);return[this.offsetOf(E[0]),this.offsetOf(E[E.length-1])]}getBranchRange(a,y){const b=this.at(a).branch(y);return[this.offsetOf(b[0]),this.offsetOf(b[b.length-1])]}getAtoms(a,y,b){let E=b!=null?b:{};if(Fc(a)){if(E=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((Ve,lt)=>[...Ve,...this.getAtoms(lt,E)],[]);a=a.ranges[0]}let te,ie;if(Fu(a)){if(te=a,!Fu(y))return[];ie=y}else[te,ie]=a,E=y!=null?y:{};if(!Number.isFinite(te))return[];E.includeChildren===void 0&&(E.includeChildren=!1),te<0&&(te=this.lastOffset-te+1),ie<0&&(ie=this.lastOffset-ie+1);const le=Math.min(te,ie)+1,De=Math.max(te,ie);if(!E.includeChildren&&le===1&&De===this.lastOffset)return[this.root];let Re=[];for(let Ve=le;Ve<=De;Ve++){const lt=this.atoms[Ve];bp(this,lt,le,De)&&Re.push(lt)}return E.includeChildren||(Re=Re.filter(Ve=>{let lt=!1,{parent:zt}=Ve;for(;zt&&!lt;)lt=bp(this,zt,le,De),zt=zt.parent;return!lt})),Re}getAllAtoms(a=0){const y=[],b=this.lastOffset;for(let E=a;E<=b;E++)y.push(this.atoms[E]);for(let E=0;E<a;E++)y.push(this.atoms[E]);return y}findAtom(a,y=0,b="forward"){let E;const te=this.lastOffset;if(b==="forward"){for(let ie=y;ie<=te;ie++)if(E=this.atoms[ie],a(E))return E;for(let ie=0;ie<y;ie++)if(E=this.atoms[ie],a(E))return E;return}for(let ie=y;ie>=0;ie--)if(E=this.atoms[ie],a(E))return E;for(let ie=te;ie>y;ie--)if(E=this.atoms[ie],a(E))return E}extractAtoms(a){let y=this.getAtoms(a);if(y.length===1&&!y[0].parent)if(y[0].type==="root")y=[...y[0].body],y.shift();else return y=this.root.cells.flat(),this.root=new za({type:"root",body:[]}),y;for(const b of y)b.parent.removeChild(b);return y}deleteAtoms(a){this.extractAtoms(a),this.position=a[0]}atomToString(a,y){const b=y!=null?y:"latex";if(b.startsWith("latex"))return za.serialize([a],{expandMacro:b==="latex-expanded",skipStyles:b==="latex-unstyled",skipPlaceholders:b==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode});if(b==="math-ml")return Ks(a);if(b==="spoken")return $d(a);if(b==="spoken-text"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const te=$d(a);return window.MathfieldElement.textToSpeechMarkup=E,te}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const te=$d(a);return window.MathfieldElement.textToSpeechMarkup=E,te}return b==="ascii-math"?Du(a):(console.error(`MathLive 0.98.5: Unexpected format "${b}`),"")}getValue(a,y,b){if(a===void 0)return this.atomToString(this.root,"latex");if(typeof a=="string"&&a!=="math-json")return this.atomToString(this.root,a);let E,te;if(Fu(a)&&Fu(y)?(E=[this.normalizeRange([a,y])],te=b):Ic(a)?(E=[this.normalizeRange(a)],te=y):Fc(a)?(E=a.ranges,te=y):(E=[this.normalizeRange([0,-1])],te=a),te!=null||(te="latex"),te==="math-json"){if(!window.MathfieldElement.computeEngine)return window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`),'["Error", "compute-engine-not-available"]';const ie=this.getValue({ranges:E},"latex-unstyled");try{const le=window.MathfieldElement.computeEngine.parse(ie);return JSON.stringify(le.json)}catch(le){return JSON.stringify(["Error",`'${le.toString()}'`])}}if(te.startsWith("latex")){const ie={expandMacro:te==="latex-expanded",skipStyles:te==="latex-unstyled",skipPlaceholders:te==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return Qi(E.map(le=>za.serialize(this.getAtoms(le),ie)))}return E.map(ie=>this.getAtoms(ie).map(le=>this.atomToString(le,te)).join("")).join("")}extendSelectionTo(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{const b=this.normalizeRange([a,y]);let[E,te]=b,{parent:ie}=this.at(te);if(ie&&(ie.type==="genfrac"||ie.type==="subsup"))for(;ie!==this.root&&n0(this,ie,[E,te]);)te=this.offsetOf(ie),ie=ie.parent;for(ie=this.at(E).parent;ie!==this.root&&n0(this,ie,[E,te]);)E=this.offsetOf(ie.leftSibling),ie=ie.parent;if(ie=this.at(te).parent,(ie==null?void 0:ie.type)==="genfrac")for(;ie!==this.root&&n0(this,ie,[E,te]);)te=this.offsetOf(ie),console.assert(te>=0),ie=ie.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[E,te]],direction:"none"}})}announce(a,y,b=[]){var E,te;((te=(E=this.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("announce",{detail:{command:a,previousPosition:y,atoms:b},cancelable:!0,bubbles:!0,composed:!0})))!=null?te:!0)&&dy(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,E=this._anchor,te=this._position,ie=this.silenceNotifications;this.silenceNotifications=!0;const le=this.root.changeCounter;y();const De=this.root.changeCounter!==le,Re=E!==this._anchor||te!==this._position||Nc(this._selection,b)==="different";return this.silenceNotifications=ie,a.content&&De&&this.contentDidChange({inputType:a.type}),a.selection&&Re&&this.selectionDidChange(),De||Re}normalizeOffset(a){return a>0?a=Math.min(a,this.lastOffset):a<0&&(a=this.lastOffset+a+1),a}normalizeRange(a){let[y,b]=a;return y=this.normalizeOffset(y),b=this.normalizeOffset(b),y<b?[y,b]:[b,y]}normalizeSelection(a,y){var b;let E;if(Fu(a)){const te=this.normalizeOffset(a);if(Fu(y)){const ie=this.normalizeOffset(y);E=te<=ie?{ranges:[[te,ie]],direction:"none"}:{ranges:[[ie,te]],direction:"backward"}}else E={ranges:[[te,te]],direction:"none"}}else if(Ic(a)){const te=this.normalizeOffset(a[0]),ie=this.normalizeOffset(a[1]);E=te<=ie?{ranges:[[te,ie]],direction:"none"}:{ranges:[[ie,te]],direction:"backward"}}else Fc(a)&&(E={ranges:a.ranges.map(te=>this.normalizeRange(te)),direction:(b=a.direction)!=null?b:"none"});return console.assert(E!==void 0),E}get parentEnvironment(){let a=this.at(this.position).parent;if(a){for(;a.parent&&a.type!=="array";)a=a.parent;if(a.type==="array")return a}}get cell(){var a;let y=this.at(this.position);if(y){for(;y&&((a=y.parent)==null?void 0:a.type)!=="array";)y=y.parent;if(!(!(y!=null&&y.parent)||y.parent.type!=="array"))return y.parentBranch}}contentWillChange(a={}){if(this.silenceNotifications||!this.mathfield)return!0;const y=this.silenceNotifications;this.silenceNotifications=!0;const b=this.mathfield.onContentWillChange(a);return this.silenceNotifications=y,b}contentDidChange(a){var y;if(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",me(Se({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",bubbles:!0,composed:!0}))),this.silenceNotifications=b}selectionDidChange(){if(!this.mathfield||(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function bp(a,y,b,E){const te=a.offsetOf(y);if(te<b||te>E)return!1;if(!y.hasChildren)return!0;const ie=a.offsetOf(y.firstChild);if(ie>=b&&ie<=E){const le=a.offsetOf(y.lastChild);if(le>=b&&le<=E)return!0}return!1}function n0(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[E,te]=b,ie=a.offsetOf(y.firstChild),le=a.offsetOf(y.lastChild);return ie>=E&&ie<=te&&le>=ie&&le<=te}function kf(a,y,b,E){var te,ie,le,De,Re,Ve;const lt=b.parent;if(lt&&b instanceof Fs){const zt=!E&&y==="forward"||E==="body"&&y==="backward";let wn=zt?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return zt?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(lt.addChildrenAfter(b.removeBranch("body"),b),lt.removeChild(b),wn--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(lt.addChildrenAfter(b.removeBranch("body"),b),lt.removeChild(b),wn--),a.position=wn,!0}if(lt&&b.type==="surd"){if(y==="forward"&&!E||y==="backward"&&E==="body"){const zt=b.leftSibling;b.hasChildren&&lt.addChildrenAfter(b.removeBranch("body"),b),lt.removeChild(b),a.position=a.offsetOf(zt)}else y==="forward"&&E==="body"?a.position=a.offsetOf(b):!E&&y==="backward"?b.hasChildren?a.position=a.offsetOf(b.lastChild):(a.position=Math.max(0,a.offsetOf(b)-1),lt.removeChild(b)):E==="above"&&(b.hasEmptyBranch("above")&&b.removeBranch("above"),y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b.body[0]));return!0}if(lt&&(b.type==="box"||b.type==="enclose")){const zt=E&&y==="backward"||!E&&y==="forward"?b.leftSibling:b.lastChild;return lt.addChildrenAfter(b.removeBranch("body"),b),lt.removeChild(b),a.position=a.offsetOf(zt),!0}if(b.type==="genfrac"||b.type==="overunder"){if(!E)return b.type==="overunder"&&b.hasEmptyBranch("body")||b.type==="genfrac"&&b.hasEmptyBranch("below")&&b.hasEmptyBranch("above")?!1:(a.position=a.offsetOf(y==="forward"?b.firstChild:b.lastChild),!0);const zt=Nf.fractionNavigationOrder==="numerator-denominator"?"above":"below",wn=zt==="above"?"below":"above";if(lt&&(y==="forward"&&E===zt||y==="backward"&&E===wn)){const nr=b.removeBranch(zt),hr=b.removeBranch(wn);return lt.addChildrenAfter([...nr,...hr],b),lt.removeChild(b),a.position=a.offsetOf(nr.length>0?nr[nr.length-1]:hr[0]),!0}return y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b),!0}if(b.isExtensibleSymbol||b.type==="subsup"){if(!E&&y==="forward")return!1;if(!E){if(b.subscript||b.superscript){const zt=y==="forward"?(le=(te=b.superscript)==null?void 0:te[0])!=null?le:(ie=b.subscript)==null?void 0:ie[0]:(Ve=(De=b.subscript)==null?void 0:De[0].lastSibling)!=null?Ve:(Re=b.superscript)==null?void 0:Re[0].lastSibling;return zt&&(a.position=a.offsetOf(zt)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const zt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=zt,!0}if(E==="superscript")if(y==="backward"){const zt=a.offsetOf(b.firstChild)-1;console.assert(zt>=0),a.position=zt}else b.subscript?a.position=a.offsetOf(b.subscript[0]):a.position=a.offsetOf(b);else E==="subscript"&&(y==="backward"&&b.superscript?a.position=a.offsetOf(b.superscript[0].lastSibling):y==="backward"?a.position=a.offsetOf(b.firstChild)-1:a.position=a.offsetOf(b));if(E&&b.hasEmptyBranch(E)&&(b.removeBranch(E),b.type==="subsup"&&!b.subscript&&!b.superscript)){const zt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=zt}return!0}if((lt==null?void 0:lt.type)==="genfrac"&&!E&&b.type!=="first"){let zt=a.offsetOf(b.leftSibling);return lt.removeChild(b),lt.hasEmptyBranch("above")&&lt.hasEmptyBranch("below")?(zt=a.offsetOf(lt.leftSibling),lt.parent.removeChild(lt),a.announce("delete",void 0,[lt]),a.position=zt,!0):(a.announce("delete",void 0,[b]),a.position=zt,!0)}if(y==="backward"&&((lt==null?void 0:lt.command)==="\\ln"||(lt==null?void 0:lt.command)==="\\log")&&b.parentBranch!=="body"){const zt=a.offsetOf(lt.leftSibling);return lt.parent.removeChild(lt),a.announce("delete",void 0,[lt]),a.position=zt,!0}return!1}function my(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentBackward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentBackward"},()=>{let y=a.at(a.position);if(!(y&&kf(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(kf(a,"backward",y.parent,y.parentBranch))return;y=null}if(!y){a.announce("plonk");return}a.position=a.offsetOf(y.leftSibling),y.parent.removeChild(y),a.announce("delete",void 0,[y])}}):jc(a,ou(a.selection),"deleteContentBackward")}function vy(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentForward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentForward"},()=>{var y,b;let E=a.at(a.position).rightSibling;if(E&&kf(a,"forward",E))return;if(E){if(a.at(a.position).isLastSibling&&kf(a,"forward",E.parent,E.parentBranch))return}else{if(E=a.at(a.position),E.isLastSibling&&kf(a,"forward",E.parent,E.parentBranch))return;E=void 0}if(a.position===a.lastOffset||!E){a.announce("plonk");return}E.parent.removeChild(E);let te=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(te==null?void 0:te.type)==="subsup";)te.parent.removeChild(te),te=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[E])}):jc(a,ou(a.selection),"deleteContentForward")}function jc(a,y,b){const E=a.getAtoms(y);if(E.length>0&&E[0].parent){let te=E[0].parent.firstChild;te.type==="first"&&(te=te.rightSibling);const ie=E[E.length-1].parent.lastChild;let le=E[0];le.type==="first"&&(le=le.rightSibling);const De=E[E.length-1];if(le===te&&De===ie){const Re=E[0].parent;Re.parent&&Re.type!=="prompt"&&(y=[a.offsetOf(Re.leftSibling),a.offsetOf(Re)])}if(E.length===1&&E[0].type==="placeholder"&&E[0].parent.type==="genfrac"){const Re=E[0].parent,Ve=E[0].parentBranch==="below"?"above":"below",lt=a.offsetOf(Re.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var zt,wn;const nr=Re.removeBranch(Ve);if(nr.length===1&&nr[0].type==="placeholder")(wn=Re.parent)==null||wn.removeChild(Re),a.position=Math.max(0,lt);else{const hr=Re.parent.addChildrenAfter(nr,Re);(zt=Re.parent)==null||zt.removeChild(Re),a.position=a.offsetOf(hr)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}pc({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&jc(a,[0,-1],"deleteContent"),deleteForward:a=>vy(a),deleteBackward:a=>my(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&jc(a,[a.anchor,Ph(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&jc(a,[a.anchor,Ph(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&jc(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&jc(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&jc(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&jc(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var gy=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${st("tooltip.toggle virtual keyboard")}"><path d="M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm16 336c0 8.823-7.177 16-16 16H48c-8.823 0-16-7.177-16-16V112c0-8.823 7.177-16 16-16h480c8.823 0 16 7.177 16 16v288zM168 268v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-336 80v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm384 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zM120 188v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-96 152v-8c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v8c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z"/></svg>`,yy=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${st("tooltip.menu")}"><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>`,by=class{constructor(a,y){this.focusBlurInProgress=!1;var b,E,te;this.options=Se(me(Se({},Yf()),{macros:Qt(),registers:ec()}),Gf(y)),this.eventController=new AbortController;const ie=this.eventController.signal;y.eventSink&&(this.host=y.eventSink),this.element=a,a.mathfield=this,this.blurred=!0,this.keystrokeCaptionVisible=!1,this.suggestionIndex=0,this.inlineShortcutBuffer=[],this.inlineShortcutBufferFlushTimer=0,this.defaultStyle={},this.adoptStyle="left",this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline"),this.dirty=!1;let le=(E=(b=y.value)!=null?b:this.element.textContent)!=null?E:"";le=le.trim();const De=L0(this.options),Re=new za({type:"root",mode:De,body:Wu(le,{context:this.context})});this.model=new py(this,De,Re),this.undoManager=new Vv(this.model);const Ve=[];if(Ve.push("<span contenteditable=true aria-multiline=false part=keyboard-sink class=ML__keyboard-sink autocapitalize=off autocomplete=off autocorrect=off spellcheck=false inputmode=none tabindex=0></span>"),Ve.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),Ve.push("<span part=content class=ML__content>"),Ve.push(A0(this)),Ve.push("</span>"),window.mathVirtualKeyboard&&(Ve.push(`<div part=virtual-keyboard-toggle class=ML__virtual-keyboard-toggle role=button ${this.hasEditableContent?"":'style="display:none;"'} data-l10n-tooltip="tooltip.toggle virtual keyboard">`),Ve.push(gy),Ve.push("</div>")),Ve.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),Ve.push(yy),Ve.push("</div>"),Ve.push("</span>"),Ve.push("<span class=ML__sr-only>"),Ve.push("<span role=status aria-live=assertive aria-atomic=true></span>"),Ve.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(Ve.join("")),!this.element.children){console.error("%cMathLive 0.98.5: Something went wrong and the mathfield could not be created.%c\nIf you are using Vue, this may be because you are using the runtime-only build of Vue. Make sure to include `runtimeCompiler: true` in your Vue configuration. There may a warning from Vue in the log above.","color:red;font-family:system-ui;font-size:1.2rem;font-weight:bold","color:inherit;font-family:system-ui;font-size:inherit;font-weight:inherit");return}this._l10Subscription=tt.subscribe(()=>tt.update(this.element)),tt.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",zt=>zt.stopImmediatePropagation(),{capture:!1,signal:ie}),this.field.addEventListener("wheel",this,{passive:!1,signal:ie}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:ie}):this.field.addEventListener("mousedown",this,{signal:ie}),(te=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||te.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(_c(this)))},{signal:ie}),this._menu=new Ng(iy(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:ie});const lt=this.element.querySelector("[part=menu-toggle]");lt==null||lt.addEventListener("pointerdown",zt=>{if(zt.currentTarget!==lt||this._menu.state!=="closed")return;this.element.classList.add("tracking");const wn=lt.getBoundingClientRect();this._menu.modifiers=Ad(zt),this._menu.show({target:lt,location:{x:wn.left,y:wn.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),zt.preventDefault(),zt.stopPropagation()},{signal:ie}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(lt.style.display="none"),this.ariaLiveText=this.element.querySelector("[role=status]"),this.keyboardDelegate=Qm(this.element.querySelector(".ML__keyboard-sink"),this.element,this),window.addEventListener("resize",this,{signal:ie}),document.addEventListener("scroll",this,{signal:ie}),this.resizeObserver=new ResizeObserver(()=>Eu(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:ie}),hf&&!tt.locale.startsWith(hf.locale)&&jm(tt.locale),yc!=="ready"&&document.fonts.ready.then(()=>Wf(this)),a.querySelector("[part=container]").style.removeProperty("visibility"),this.undoManager.startRecording(),this.undoManager.snapshot("set-value")}get defaultStyle(){return this._defaultStyle}set defaultStyle(a){this._defaultStyle=a}get effectiveStyle(){if(this.adoptStyle==="none")return this.defaultStyle;const a=this.model.at(this.model.position),y=this.adoptStyle==="right"?a.rightSibling:a;if(!y)return this.defaultStyle;if(y.type==="group"){const b=y.branch("body");return!b||b.length<2?{}:this.adoptStyle==="right"?b[1].computedStyle:b[b.length-1].computedStyle}return y.computedStyle}connectToVirtualKeyboard(){this.connectedToVirtualKeyboard||(this.connectedToVirtualKeyboard=!0,window.addEventListener("message",this,{signal:this.eventController.signal}),window.mathVirtualKeyboard.connect(),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this)),oh(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,Wh())}showMenu(a){var y,b;const E=(b=(y=a==null?void 0:a.location)!=null?y:mc(this.field))!=null?b:void 0,te=a==null?void 0:a.modifiers,ie=this.element.querySelector("[part=container]");return this._menu.show({target:ie,location:E,modifiers:te})}get colorMap(){return a=>{var y,b,E;return(E=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?E:Fe(a)}}get backgroundColorMap(){return a=>{var y,b,E,te,ie,le;return(le=(ie=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?ie:(te=(E=this.options).colorMap)==null?void 0:te.call(E,a))!=null?le:Be(a)}}get smartFence(){var a;return(a=this.options.smartFence)!=null?a:!1}get readOnly(){var a;return(a=this.options.readOnly)!=null?a:!1}get disabled(){var a,y;return(y=(a=this.host)==null?void 0:a.disabled)!=null?y:!1}get contentEditable(){return this.host?this.host.getAttribute("contenteditable")!=="false":!1}get userSelect(){if(!this.host)return"";const a=getComputedStyle(this.host);return a.getPropertyValue("user-select")||a.getPropertyValue("-webkit-user-select")}get hasEditableContent(){return this.disabled||!this.contentEditable?!1:!this.readOnly||this.hasEditablePrompts}get hasEditablePrompts(){return this.readOnly&&!this.disabled&&this.contentEditable&&this.model.findAtom(a=>a.type==="prompt"&&!a.locked)!==void 0}get isSelectionEditable(){if(this.disabled||!this.contentEditable)return!1;if(!this.readOnly)return!0;const a=this.model.at(this.model.anchor),y=this.model.at(this.model.position),b=za.commonAncestor(a,y);return!!((b==null?void 0:b.type)==="prompt"||b!=null&&b.parentPrompt)}get letterShapeStyle(){var a;return(a=this.options.letterShapeStyle)!=null?a:"tex"}get minFontScale(){return this.options.minFontScale}get selectionStyle(){if(this.model.selectionIsCollapsed)return this.effectiveStyle;const a=this.model.getAtoms(this.model.selection);if(a.length===0)return{};const y=Se({},a[0].style);for(const b of a)for(const[E,te]of Object.entries(b.style))y[E]!==te&&delete y[E];return y}queryStyle(a){const y=Fh(this,a);"verbatimColor"in y&&delete y.verbatimColor,"verbatimBackgroundColor"in y&&delete y.verbatimBackgroundColor;const b=Object.keys(y).length;if(b===0)return"all";if(b>1){for(const Re of Object.keys(y)){const Ve=this.queryStyle({[Re]:y[Re]});if(Ve==="none")return"none";if(Ve==="some")return"some"}return"all"}const E=Object.keys(y)[0],te=y[E];if(this.model.selectionIsCollapsed)return this.effectiveStyle[E]===te?"all":"none";const ie=this.model.getAtoms(this.model.selection,{includeChildren:!0});let le=ie.length;if(le===0)return"none";let De=0;for(const Re of ie){if(Re.type==="first"){le-=1;continue}Re.style[E]===te&&(De+=1)}return De===0?"none":De===le?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,E]=ev(this.options.keybindings,(a=pf())!=null?a:Um());return((y=pf())==null?void 0:y.score)>0&&(this._keybindings=b,E.length>0&&console.error("MathLive 0.98.5: Invalid keybindings for current keyboard layout",E)),b}get menu(){return this._menu}setOptions(a){var y;this.options=Se(Se({},this.options),Gf(a)),this._keybindings=void 0,this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline");let b=this.options.defaultMode;b==="inline-math"&&(b="math"),((y=this.model.root.firstChild)==null?void 0:y.mode)!==b&&(this.model.root.firstChild.mode=b),this.options.readOnly&&this.hasFocus()&&window.mathVirtualKeyboard.visible&&this.executeCommand("hideVirtualKeyboard");const E=za.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==E)&&is.insert(this.model,E,{insertionMode:"replaceAll",selectionMode:"after",format:"latex",silenceNotifications:!0,mode:"math"}),("value"in a||"macros"in a||"registers"in a||"colorMap"in a||"backgroundColorMap"in a||"letterShapeStyle"in a||"minFontScale"in a||"readOnly"in a||"placeholderSymbol"in a)&&Eu(this)}getOptions(a){return kd(this.options,a)}getOption(a){return kd(this.options,a)}handleEvent(a){return od(this,null,function*(){var y;if(ic(this)){if(Dh(a)){if(!Zs(a.origin,(y=this.options.originValidator)!=null?y:"none"))throw new DOMException(`Message from unknown origin (${a.origin}) cannot be handled`,"SecurityError");const{action:b}=a.data;if(b==="execute-command"){const E=a.data.command;if(jd(E)==="virtual-keyboard")return;this.executeCommand(E)}else b==="update-state"||(b==="focus"?this.focus({preventScroll:!0}):b==="blur"&&this.blur());return}switch(a.type){case"focus":this.onFocus();break;case"blur":this.onBlur();break;case"mousedown":this.userSelect!=="none"&&Y0(this,a);break;case"pointerdown":this.userSelect!=="none"&&(Y0(this,a),a.shiftKey===!1&&(yield sp(a,this.element.querySelector("[part=container]"),this._menu))&&nh.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield sp(a,this.element.querySelector("[part=container]"),this._menu))&&nh.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&oh(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>ic(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>ic(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!ic(this))return;tt.unsubscribe(this._l10Subscription),this.keyboardDelegate.dispose(),this.keyboardDelegate=void 0,this.eventController.abort(),this.eventController=void 0,this.resizeObserver.disconnect(),window.mathVirtualKeyboard.removeEventListener("virtual-keyboard-toggle",this),this.disconnectFromVirtualKeyboard(),this.model.dispose();const a=this.element;delete a.mathfield,this.element=void 0,this.host=void 0,this.field=void 0,this.ariaLiveText=void 0,tg(),ov(),Sg()}flushInlineShortcutBuffer(a){if(a!=null||(a={defer:!1}),!a.defer){this.inlineShortcutBuffer=[],clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=0;return}this.options.inlineShortcutTimeout>0&&(clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=setTimeout(()=>this.flushInlineShortcutBuffer(),this.options.inlineShortcutTimeout))}executeCommand(a){return jd(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(_c(this))),!1):hv(this,a)}get errors(){return i0(this.model.getValue(),{context:this.context})}getValue(a,y,b){return this.model.getValue(a,y,b)}setValue(a,y){var b;y=y!=null?y:{mode:"math"},y.insertionMode===void 0&&(y.insertionMode="replaceAll"),(y.format===void 0||y.format==="auto")&&(y.format="latex"),(y.mode===void 0||y.mode==="auto")&&(y.mode=(b=Cs(this.model,this.model.position))!=null?b:"math");const E=this.undoManager.canUndo();is.insert(this.model,a,y)&&(Eu(this),E||this.undoManager.reset(),this.undoManager.snapshot("set-value"))}get expression(){const a=window.MathfieldElement.computeEngine;return a?a.box(a.parse(this.model.getValue("latex-unstyled"))):(console.error("MathLive 0.98.5: no compute engine available. Make sure the Compute Engine library is loaded."),null)}scrollIntoView(){var a;if(!this.element)return;if(this.host){if(this.options.onScrollIntoView)this.options.onScrollIntoView(this);else if(this.host.scrollIntoView({block:"nearest",inline:"nearest"}),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.container===window.document.body){const E=window.mathVirtualKeyboard.boundingRect,te=this.host.getBoundingClientRect();te.bottom>E.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,te.bottom-E.top+8))}}this.dirty&&Md(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=mc(this.field);else{const E=Ds(this);if(E.length>0){let te=-1/0,ie=-1/0;for(const le of E)le.right>te&&(te=le.right),le.top<ie&&(ie=le.top);b={x:te+y.left-this.field.scrollLeft,y:ie+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const E=this.host.getBoundingClientRect(),te=b.y;let ie=this.host.scrollTop;te<E.top?ie=te-E.top+this.host.scrollTop:te>E.bottom&&(ie=te-E.bottom+this.host.scrollTop+b.height),this.host.scroll({top:ie,left:0})}if(b){const E=b.x-window.scrollX;let te=this.field.scrollLeft;E<y.left?te=E-y.left+this.field.scrollLeft-20:E>y.right&&(te=E-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:te})}}insert(a,y){return typeof a!="string"||a.length===0&&((y==null?void 0:y.insertionMode)==="insertBefore"||(y==null?void 0:y.insertionMode)==="insertAfter")||a.length===0&&this.model.selectionIsCollapsed?!1:(this.flushInlineShortcutBuffer(),y=y!=null?y:{mode:"math"},y.focus&&this.focus(),y.feedback&&(window.MathfieldElement.keypressVibration&&vt()&&navigator.vibrate(M0),window.MathfieldElement.playSound("keypress")),a==="\\\\"?O0(this.model):a==="&"?T0(this.model):this.model.selectionIsCollapsed?is.insert(this.model,a,Se({style:this.model.at(this.model.position).computedStyle},y)):is.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),Eu(this),y.scrollIntoView&&this.scrollIntoView(),!0)}switchMode(a,y="",b=""){var E;if(this.model.mode===a||!this.hasEditableContent||!this.contentEditable||this.disabled)return;const te=this.model.mode;if(this.model.mode=a,!((E=this.host)!=null&&E.dispatchEvent(new Event("mode-change",{bubbles:!0,composed:!0,cancelable:!0})))){this.model.mode=te;return}const ie=this.model.mode,{model:le}=this;le.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let De=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const Re=Wu(y,{context:this.context,parseMode:a});le.collapseSelection("forward");const Ve=le.at(le.position);le.position=le.offsetOf(Ve.parent.addChildrenAfter(Re,Ve)),De=!0}if(this.model.mode=a,a==="latex"){let Re=le.selectionIsCollapsed;_d(this,"accept");let Ve,lt=le.at(le.position);if(Re)Ve="\\";else{const wn=ou(le.selection);Ve=this.model.getValue(wn,"latex");const nr=this.model.extractAtoms(wn);nr.length===1&&nr[0].type==="placeholder"&&(Ve=y,Re=!0),lt=le.at(wn[0])}const zt=new lf(Ve);lt.parent.addChildAfter(zt,lt),Re?le.position=le.offsetOf(zt.lastChild):le.setSelection(le.offsetOf(zt.firstChild),le.offsetOf(zt.lastChild))}else mf(le).forEach(Re=>{Re.isError=!1});if(b){const Re=Wu(b,{context:this.context,parseMode:ie});le.collapseSelection("forward");const Ve=le.at(le.position);le.position=le.offsetOf(Ve.parent.addChildrenAfter(Re,Ve)),De=!0}return Eu(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),De}),this.model.mode=a,window.mathVirtualKeyboard.update(_c(this))}hasFocus(){return!this.blurred}focus(a){var y;this.hasFocus()||(this.keyboardDelegate.focus(),this.connectToVirtualKeyboard(),this.onFocus(),this.model.announce("line")),(y=a==null?void 0:a.preventScroll)!=null&&y||this.scrollIntoView()}blur(){this.disconnectFromVirtualKeyboard(),this.hasFocus()&&this.keyboardDelegate.blur()}select(){this.model.selection={ranges:[[0,this.model.lastOffset]]},this.focus()}applyStyle(a,y={}){var b,E;const te={operation:"set",silenceNotifications:!1};Ic(y)?te.range=y:(y.operation==="toggle"&&(te.operation="toggle"),te.range=y.range,te.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const ie=Fh(this,a),le=(E=te.operation)!=null?E:"set";if(te.range===void 0&&this.model.selectionIsCollapsed){if(le==="set"){this.defaultStyle=Se(Se({},this.defaultStyle),ie);return}const De=Se({},this.defaultStyle);for(const Re of Object.keys(ie))De[Re]===ie[Re]?(Re==="color"&&delete De.verbatimColor,Re==="backgroundColor"&&delete De.verbatimBackgroundColor,delete De[Re]):De[Re]=ie[Re];this.defaultStyle=De;return}this.model.deferNotifications({content:!te.silenceNotifications,type:"insertText"},()=>{if(te.range===void 0)for(const De of this.model.selection.ranges)Nh(this.model,De,ie,{operation:le});else Nh(this.model,te.range,ie,{operation:le})}),Eu(this)}toggleContextMenu(){var a;return this._menu.visible?this._menu.state==="open"?(this._menu.hide(),!0):(this._menu.show({target:this.element.querySelector("[part=container]"),location:(a=this.getCaretPoint())!=null?a:void 0,onDismiss:()=>{var y;return(y=this.element)==null?void 0:y.focus()}}),!0):!1}getCaretPoint(){const a=mc(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=Cf(this,a,y,{bias:0});if(b<0)return!1;const E=this.model.position;return this.model.position=b,this.model.announce("move",E),Eu(this),!0}getPrompt(a){const y=this.model.findAtom(b=>b.type==="prompt"&&b.placeholderId===a);return console.assert(y!==void 0,"MathLive 0.98.5: no prompts with matching ID found"),y}getPromptValue(a,y){const b=this.getPrompt(a);if(!b)return"";const E=this.model.offsetOf(b.firstChild),te=this.model.offsetOf(b.lastChild);return this.model.getValue(E,te,y)}getPrompts(a){return this.model.getAllAtoms().filter(y=>y.type!=="prompt"?!1:a?!(a.id&&y.placeholderId!==a.id||a.locked&&y.locked!==a.locked||a.correctness==="undefined"&&y.correctness||a.correctness&&y.correctness!==a.correctness):!0).map(y=>y.placeholderId)}setPromptValue(a,y,b){if(y!==void 0){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}const te=this.model.getBranchRange(this.model.offsetOf(E),"body");this.model.setSelection(te),this.insert(y,me(Se({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),Eu(this)}setPromptState(a,y,b){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}y==="undefined"?E.correctness=void 0:typeof y=="string"&&(E.correctness=y),typeof b=="boolean"&&(E.locked=b,E.captureSelection=b),Eu(this)}getPromptState(a){const y=this.getPrompt(a);return y?[y.correctness,y.locked]:(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[void 0,!0])}getPromptRange(a){const y=this.getPrompt(a);return y?this.model.getBranchRange(this.model.offsetOf(y),"body"):(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[0,0])}canUndo(){return this.undoManager.canUndo()}canRedo(){return this.undoManager.canRedo()}popUndoStack(){this.undoManager.pop()}snapshot(a){var y;this.undoManager.snapshot(a)&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this)),(y=this.host)==null||y.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"snapshot"}})))}stopCoalescingUndo(){this.undoManager.stopCoalescing(this.model.selection)}stopRecording(){this.undoManager.stopRecording()}startRecording(){this.undoManager.startRecording()}undo(){var a;this.undoManager.undo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}redo(){var a;this.undoManager.redo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}resetUndo(){var a;(a=this.undoManager)==null||a.reset()}onSelectionDidChange(){var a,y;const b=this.model;this.keyboardDelegate.setValue(b.getValue(this.model.selection,"latex-expanded"));{const E=b.at(b.position),te=(a=E.mode)!=null?a:L0(this.options);this.model.mode!==te&&(this.model.mode==="latex"?(_d(this,"accept",{mode:te}),b.position=b.offsetOf(E)):this.switchMode(te))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this)),oh(this)}onContentWillChange(a){var y,b,E;return(E=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",me(Se({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",cancelable:!0,bubbles:!0,composed:!0}))))!=null?E:!0}onFocus(){this.focusBlurInProgress||!this.blurred||(this.focusBlurInProgress=!0,this.blurred=!1,this.keyboardDelegate.focus(),this.stopCoalescingUndo(),Md(this,{interactive:!0}),this.valueOnFocus=this.model.getValue(),this.hasEditablePrompts&&!this.model.at(this.model.anchor).parentPrompt&&this.executeCommand("moveToNextPlaceholder"),this.focusBlurInProgress=!1)}onBlur(){var a,y,b;if(this.focusBlurInProgress||this.blurred)return;this.focusBlurInProgress=!0,this.stopCoalescingUndo(),this.blurred=!0,this.ariaLiveText.textContent="",Vd(this),this.model.getValue()!==this.valueOnFocus&&((a=this.host)==null||a.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),this.disconnectFromVirtualKeyboard(),(y=this.host)==null||y.dispatchEvent(new Event("blur",{bubbles:!1,composed:!0})),(b=this.host)==null||b.dispatchEvent(new UIEvent("focusout",{bubbles:!0,composed:!0})),Eu(this),this.focusBlurInProgress=!1,Wh();const E=new AbortController,te=E.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{ic(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:te})},{once:!0,signal:te}),setTimeout(()=>E.abort(),100)}onInput(a){Oh(this,a)}onKeystroke(a){return j0(this,a)}onCompositionStart(a){this.model.deleteAtoms(ou(this.model.selection));const y=mc(this.field);y&&requestAnimationFrame(()=>{Md(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Tv(this.model,a),Eu(this)}onCompositionEnd(a){Rv(this.model),Oh(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),is.onCopy(this,a),jc(this.model,ou(this.model.selection),"deleteByCut"),this.snapshot("cut"),Eu(this))}onCopy(a){is.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=is.onPaste(this.model.at(this.model.position).mode,this,a.clipboardData)),y||this.model.announce("plonk"),a.preventDefault(),a.stopPropagation(),y}onGeometryChange(){this._menu.hide(),zf(this),oh(this)}onWheel(a){const y=5*a.deltaX;if(!Number.isFinite(y)||y===0)return;const b=this.field;y<0&&b.scrollLeft===0||y>0&&b.offsetWidth+b.scrollLeft>=b.scrollWidth||(b.scrollBy({top:0,left:y}),a.preventDefault(),a.stopPropagation())}getHTMLElement(a){let y=a;for(;!y.id&&y.hasChildren;)y=a.children[0];return this.field.querySelector(`[data-atom-id="${y.id}"]`)}get context(){var a,y;return{registers:(a=this.options.registers)!=null?a:{},smartFence:this.smartFence,letterShapeStyle:this.letterShapeStyle,minFontScale:this.minFontScale,placeholderSymbol:(y=this.options.placeholderSymbol)!=null?y:"\u25A2",colorMap:b=>this.colorMap(b),backgroundColorMap:b=>this.backgroundColorMap(b),getMacro:b=>Ir(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function xp(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)xp(y)}function r0(a,y){var b;a&&(!y||((b=a.dataset)==null?void 0:b.atomId)===y?(a.classList.add("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&r0(E)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&r0(E,y)})))}function xy(a,y){var b;if(!pt())return;if(window.MathfieldElement.speechEngine!=="amazon"){console.error("MathLive 0.98.5: Use Amazon TTS Engine for synchronized highlighting"),typeof window.MathfieldElement.speakHook=="function"&&window.MathfieldElement.speakHook(y);return}if(!window.AWS){console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");return}const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),te={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};yd().readAloudElement=a,E.synthesizeSpeech(te,(ie,le)=>{if(ie){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ie}`);return}if(!(le!=null&&le.AudioStream)){console.log("polly.synthesizeSpeech():",le);return}const De=new TextDecoder("utf-8").decode(new Uint8Array(le.AudioStream));yd().readAloudMarks=De.split(`
`).map(Re=>Re?JSON.parse(Re):{}),yd().readAloudTokens=[];for(const Re of yd().readAloudMarks)Re.value&&yd().readAloudTokens.push(Re.value);yd().readAloudCurrentMark="",te.OutputFormat="mp3",te.SpeechMarkTypes=[],E.synthesizeSpeech(te,(Re,Ve)=>{if(Re){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${Re}`);return}if(!(Ve!=null&&Ve.AudioStream))return;const lt=new Uint8Array(Ve.AudioStream),zt=new Blob([lt.buffer],{type:"audio/mpeg"}),wn=URL.createObjectURL(zt),nr=yd();nr.readAloudAudio?nr.readAloudAudio.pause():(nr.readAloudAudio=new Audio,nr.readAloudAudio.addEventListener("ended",()=>{const hr=nr.readAloudMathfield;nr.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),hr?(Md(hr),nr.readAloudElement=null,nr.readAloudMathfield=null,nr.readAloudTokens=[],nr.readAloudMarks=[],nr.readAloudCurrentMark=""):xp(nr.readAloudElement)}),nr.readAloudAudio.addEventListener("timeupdate",()=>{let hr="";const Ia=nr.readAloudAudio.currentTime*1e3+100;for(const Yi of nr.readAloudMarks)Yi.time<Ia&&(hr=Yi.value);nr.readAloudCurrentMark!==hr&&(nr.readAloudCurrentToken=hr,hr&&hr===nr.readAloudFinalToken?nr.readAloudAudio.pause():(nr.readAloudCurrentMark=hr,r0(nr.readAloudElement,nr.readAloudCurrentMark)))})),nr.readAloudAudio.src=wn,nr.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),nr.readAloudAudio.play()})})}pt()||console.error('MathLive 0.98.5: this version of the MathLive library is for use in the browser. A subset of the API is available on the server side in the "mathlive-ssr" library. If using server side rendering (with React for example) you may want to do a dynamic import of the MathLive library inside a `useEffect()` call.');var Os=new WeakMap,wy=.5,gd={letterShapeStyle:"mf.letterShapeStyle = ...",horizontalSpacingScale:'Removed. Use `"thinmuskip"`, `"medmuskip"`, and `"thickmuskip"` registers ',macros:"mf.macros = ...",registers:"mf.registers = ...",backgroundColorMap:"mf.backgroundColorMap = ...",colorMap:"mf.colorMap = ...",enablePopover:"mf.popoverPolicy = ...",mathModeSpace:"mf.mathModeSpace = ...",placeholderSymbol:"mf.placeholderSymbol = ...",readOnly:"mf.readOnly = ...",removeExtraneousParentheses:"mf.removeExtraneousParentheses = ...",scriptDepth:"mf.scriptDepth = ...",smartFence:"mf.smartFence = ...",smartMode:"mf.smartMode = ...",smartSuperscript:"mf.smartSuperscript = ...",inlineShortcutTimeout:"mf.inlineShortcutTimeout = ...",inlineShortcuts:"mf.inlineShortcuts = ...",keybindings:"mf.keybindings = ...",virtualKeyboardMode:"mf.mathVirtualKeyboardPolicy = ...",customVirtualKeyboardLayers:"mathVirtualKeyboard.layers = ...",customVirtualKeyboards:"mathVirtualKeyboard.layouts = ...",keypressSound:"mathVirtualKeyboard.keypressSound = ...",keypressVibration:"mathVirtualKeyboard.keypressVibration = ...",plonkSound:"mathVirtualKeyboard.plonkSound = ...",virtualKeyboardContainer:"mathVirtualKeyboard.container = ...",virtualKeyboardLayout:"mathVirtualKeyboard.alphabeticLayout = ...",virtualKeyboardTheme:"No longer supported",virtualKeyboardToggleGlyph:"No longer supported",virtualKeyboardToolbar:"mathVirtualKeyboard.editToolbar = ...",virtualKeyboards:"Use `mathVirtualKeyboard.layouts`",speechEngine:"`MathfieldElement.speechEngine`",speechEngineRate:"`MathfieldElement.speechEngineRate`",speechEngineVoice:"`MathfieldElement.speechEngineVoice`",textToSpeechMarkup:"`MathfieldElement.textToSpeechMarkup`",textToSpeechRules:"`MathfieldElement.textToSpeechRules`",textToSpeechRulesOptions:"`MathfieldElement.textToSpeechRulesOptions`",readAloudHook:"`MathfieldElement.readAloudHook`",speakHook:"`MathfieldElement.speakHook`",computeEngine:"`MathfieldElement.computeEngine`",fontsDirectory:"`MathfieldElement.fontsDirectory`",soundsDirectory:"`MathfieldElement.soundsDirectory`",createHTML:"`MathfieldElement.createHTML`",onExport:"`MathfieldElement.onExport`",onInlineShortcut:"`MathfieldElement.onInlineShortcut`",onScrollIntoView:"`MathfieldElement.onScrollIntoView`",locale:"MathfieldElement.locale = ...",strings:"MathfieldElement.strings = ...",decimalSeparator:"MathfieldElement.decimalSeparator = ...",fractionNavigationOrder:"MathfieldElement.fractionNavigationOrder = ..."},Yu=class Rd extends HTMLElement{static get formAssociated(){return nf()}static get optionsAttributes(){return{"default-mode":"string","letter-shape-style":"string","min-font-scale":"number","popover-policy":"string","math-mode-space":"string","read-only":"boolean","remove-extraneous-parentheses":"on/off","smart-fence":"on/off","smart-mode":"on/off","smart-superscript":"on/off","inline-shortcut-timeout":"string","script-depth":"string",placeholder:"string","virtual-keyboard-target-origin":"string","math-virtual-keyboard-policy":"string"}}static get observedAttributes(){return[...Object.keys(this.optionsAttributes),"contenteditable","disabled","readonly","read-only"]}static get fontsDirectory(){return this._fontsDirectory}static set fontsDirectory(y){y!==this._fontsDirectory&&(this._fontsDirectory=y,uv())}get fontsDirectory(){throw new Error("Use MathfieldElement.fontsDirectory instead")}set fontsDirectory(y){throw new Error("Use MathfieldElement.fontsDirectory instead")}static get soundsDirectory(){return this._soundsDirectory}static set soundsDirectory(y){this._soundsDirectory=y,this.audioBuffers={}}get soundsDirectory(){throw new Error("Use MathfieldElement.soundsDirectory instead")}set soundsDirectory(y){throw new Error("Use MathfieldElement.soundsDirectory instead")}static get keypressSound(){return this._keypressSound}static set keypressSound(y){var b,E,te;this.audioBuffers={},y===null?this._keypressSound={spacebar:null,return:null,delete:null,default:null}:typeof y=="string"?this._keypressSound={spacebar:y,return:y,delete:y,default:y}:typeof y=="object"&&"default"in y&&(this._keypressSound={spacebar:(b=y.spacebar)!=null?b:y.default,return:(E=y.return)!=null?E:y.default,delete:(te=y.delete)!=null?te:y.default,default:y.default})}static get plonkSound(){return this._plonkSound}static set plonkSound(y){this.audioBuffers={},this._plonkSound=y}static get audioContext(){return this._audioContext||(this._audioContext=new AudioContext),this._audioContext}static get speechEngine(){return this._speechEngine}static set speechEngine(y){this._speechEngine=y}static get speechEngineRate(){return this._speechEngineRate}static set speechEngineRate(y){this._speechEngineRate=y}static get speechEngineVoice(){return this._speechEngineVoice}static set speechEngineVoice(y){this._speechEngineVoice=y}static get textToSpeechMarkup(){return this._textToSpeechMarkup}static set textToSpeechMarkup(y){this._textToSpeechMarkup=y}static get textToSpeechRules(){return this._textToSpeechRules}static set textToSpeechRules(y){this._textToSpeechRules=y}static get textToSpeechRulesOptions(){return this._textToSpeechRulesOptions}static set textToSpeechRulesOptions(y){this._textToSpeechRulesOptions=y}static get locale(){return tt.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),tt.locale=y}get locale(){throw new Error("Use MathfieldElement.locale instead")}set locale(y){throw new Error("Use MathfieldElement.locale instead")}static get strings(){return tt.strings}static set strings(y){tt.merge(y)}get strings(){throw new Error("Use MathfieldElement.strings instead")}set strings(y){throw new Error("Use MathfieldElement.strings instead")}static get decimalSeparator(){return this._decimalSeparator}static set decimalSeparator(y){this._decimalSeparator=y,this._computeEngine&&(this._computeEngine.latexOptions.decimalMarker=this.decimalSeparator===","?"{,}":".")}get decimalSeparator(){throw new Error("Use MathfieldElement.decimalSeparator instead")}set decimalSeparator(y){throw new Error("Use MathfieldElement.decimalSeparator instead")}static get computeEngine(){var y,b;if(this._computeEngine===void 0){const E=(y=window[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;if(!E)return null;this._computeEngine=new E,this._computeEngine&&this.decimalSeparator===","&&(this._computeEngine.latexOptions.decimalMarker="{,}")}return(b=this._computeEngine)!=null?b:null}static set computeEngine(y){this._computeEngine=y}get computeEngine(){throw new Error("Use MathfieldElement.computeEngine instead")}set computeEngine(y){throw new Error("Use MathfieldElement.computeEngine instead")}static get isFunction(){return typeof this._isFunction!="function"?()=>!1:this._isFunction}static set isFunction(y){this._isFunction=y}static loadSound(y){return od(this,null,function*(){delete this.audioBuffers[y];let b="";switch(y){case"keypress":b=this._keypressSound.default;break;case"return":b=this._keypressSound.return;break;case"spacebar":b=this._keypressSound.spacebar;break;case"delete":b=this._keypressSound.delete;break;case"plonk":b=this.plonkSound;break}if(typeof b!="string")return;b=b.trim();const E=this.soundsDirectory;if(!(E==null||E==="null"||b==="none"||b==="null"))try{const ie=yield(yield fetch(yield E0(`${E}/${b}`))).arrayBuffer(),le=yield this.audioContext.decodeAudioData(ie);this.audioBuffers[y]=le}catch(te){}})}static playSound(y){return od(this,null,function*(){if((this.audioContext.state==="suspended"||this.audioContext.state==="interrupted")&&(yield this.audioContext.resume()),this.audioBuffers[y]||(yield this.loadSound(y)),!this.audioBuffers[y])return;const b=this.audioContext.createBufferSource();b.buffer=this.audioBuffers[y];const E=this.audioContext.createGain();E.gain.value=wy,b.connect(E).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const E of Object.keys(y))if(gd[E])if(gd[E].startsWith("mf."))if(gd[E].startsWith(`mf.${E}`))b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${gd[E]}`);else{const te=gd[E].match(/([a-zA-Z]+) =/);b.push(`Option \`${E}\` has been renamed \`${te[1]}\``)}else b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${gd[E]}`);if(b.length>0){console.group("%cMathLive 0.98.5: %cInvalid Options","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn("Some of the options passed to `new MathfieldElement(...)` are invalid. \n See https://cortexjs.io/mathlive/changelog/ for details.");for(const E of b)console.warn(E);console.groupEnd()}}if(nf()&&(this._internals=this.attachInternals(),this._internals.role="math",this._internals.ariaLabel="math input field",this._internals.ariaMultiLine="false"),this.attachShadow({mode:"open",delegatesFocus:!0}),this.shadowRoot&&"adoptedStyleSheets"in this.shadowRoot){this.shadowRoot.adoptedStyleSheets=[hd("core"),hd("mathfield"),hd("mathfield-element"),hd("ui"),hd("menu")],this.shadowRoot.appendChild(document.createElement("span"));const b=document.createElement("slot");b.style.display="none",this.shadowRoot.appendChild(b)}else this.shadowRoot.innerHTML="<style>"+td("core")+td("mathfield")+td("mathfield-element")+td("ui")+td("menu")+'</style><span></span><slot style="display:none"></slot>';y&&this._setOptions(y),this.shadowRoot.addEventListener("slotchange",()=>{var b;const E=this.shadowRoot.querySelector("slot:not([name])");this.value=(b=E==null?void 0:E.assignedNodes().map(te=>te.nodeType===3?te.textContent:"").join("").trim())!=null?b:""})}showMenu(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.showMenu(y))!=null?E:!1}get mathVirtualKeyboard(){throw new Error("The `mathVirtualKeyboard` property is not available on the MathfieldElement. Use `window.mathVirtualKeyboard` instead.")}onPointerDown(){window.addEventListener("pointerup",y=>{var b;y.target===this&&!((b=this._mathfield)!=null&&b.disabled)&&this.dispatchEvent(new MouseEvent("click",{altKey:y.altKey,button:y.button,buttons:y.buttons,clientX:y.clientX,clientY:y.clientY,ctrlKey:y.ctrlKey,metaKey:y.metaKey,movementX:y.movementX,movementY:y.movementY,relatedTarget:y.relatedTarget,screenX:y.screenX,screenY:y.screenY,shiftKey:y.shiftKey}))},{once:!0})}getPromptValue(y,b){var E,te;return(te=(E=this._mathfield)==null?void 0:E.getPromptValue(y,b))!=null?te:""}setPromptValue(y,b,E){var te;(te=this._mathfield)==null||te.setPromptValue(y,b,E)}getPromptRange(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptRange(y))!=null?E:null}getPrompts(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPrompts(y))!=null?E:[]}get form(){var y;return(y=this._internals)==null?void 0:y.form}get name(){var y;return(y=this.getAttribute("name"))!=null?y:""}get type(){return this.localName}get mode(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.mode)!=null?b:this.defaultMode==="text"?"text":"math"}set mode(y){var b;(b=this._mathfield)==null||b.switchMode(y)}get expression(){if(this._mathfield)return window[Symbol.for("io.cortexjs.compute-engine")]?this._mathfield.expression:(console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`),null)}set expression(y){var b,E;if(!this._mathfield)return;const te=(E=(b=Rd.computeEngine)==null?void 0:b.box(y).latex)!=null?E:null;te!==null&&this._mathfield.setValue(te),window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}get errors(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.errors)!=null?b:[]}_getOptions(y){return this._mathfield?kd(this._mathfield.options,y):Os.has(this)?Se({},kd(Se(Se({},Yf()),Gf(Os.get(this).options)),y)):null}getOptions(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOptions()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._mathfield?kd(this._mathfield.options,y):Os.has(this)?kd(Se(Se({},Yf()),Gf(Os.get(this).options)),y):null}reflectAttributes(){const y=Yf(),b=this._getOptions();Object.keys(Rd.optionsAttributes).forEach(E=>{const te=id(E);Rd.optionsAttributes[E]==="on/off"?y[te]!==b[te]?this.setAttribute(E,b[te]?"on":"off"):this.removeAttribute(E):y[te]!==b[te]&&(Rd.optionsAttributes[E]==="boolean"?b[te]?this.setAttribute(E,""):this.removeAttribute(E):(typeof b[te]=="string"||typeof b[te]=="number")&&this.setAttribute(E,b[te].toString()))})}getOption(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOption()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._getOptions([y])[y]}_getOption(y){return this._getOptions([y])[y]}_setOptions(y){if(this._mathfield)this._mathfield.setOptions(y);else if(Os.has(this)){const b=Se(Se({},Os.get(this).options),y);Os.set(this,me(Se({},Os.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else Os.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:y,menuItems:void 0});this.reflectAttributes()}setOptions(y){console.group("%cMathLive 0.98.5: %cDeprecated Usage","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn(" `mf.setOptions()` is deprecated. Set the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.");for(const b of Object.keys(y))gd[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${gd[b]}`);console.groupEnd(),this._setOptions(y)}executeCommand(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.executeCommand(y))!=null?E:!1}getValue(y,b,E){var te,ie;if(this._mathfield)return this._mathfield.model.getValue(y,b,E);if(Os.has(this)){let le,De,Re;if(Fc(y)?([le,De]=y.ranges[0],Re=b):Ic(y)?([le,De]=y,Re=b):Fu(y)&&Fu(b)?(le=y,De=b,Re=E):(le=0,De=-1,Re=y),(Re===void 0||Re==="latex")&&le===0&&De===-1)return(ie=(te=Os.get(this).value)!=null?te:this.textContent)!=null?ie:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(Os.has(this)){const te=Os.get(this).options;Os.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:te,menuItems:void 0});return}const E=If(this);Os.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:E,menuItems:void 0})}hasFocus(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.hasFocus())!=null?b:!1}focus(){var y;(y=this._mathfield)==null||y.focus()}blur(){var y;(y=this._mathfield)==null||y.blur()}select(){var y;(y=this._mathfield)==null||y.select()}insert(y,b){var E,te;return(te=(E=this._mathfield)==null?void 0:E.insert(y,b))!=null?te:!1}applyStyle(y,b){var E;return(E=this._mathfield)==null?void 0:E.applyStyle(y,b)}queryStyle(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.queryStyle(y))!=null?E:"none"}get caretPoint(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.getCaretPoint())!=null?b:null}set caretPoint(y){var b;y&&((b=this._mathfield)==null||b.setCaretPoint(y.x,y.y))}setCaretPoint(y,b){var E,te;return(te=(E=this._mathfield)==null?void 0:E.setCaretPoint(y,b))!=null?te:!1}offsetFromPoint(y,b,E){return this._mathfield?Cf(this._mathfield,y,b,E):-1}hitboxFromOffset(y){if(!this._mathfield)return null;const b=this._mathfield.model.at(y);if(!b)return null;const E=Pc(this._mathfield,b);return E?new DOMRect(E.left,E.top,E.right-E.left,E.bottom-E.top):null}resetUndo(){var y;(y=this._mathfield)==null||y.resetUndo()}canUndo(){return this._mathfield?this._mathfield.canUndo():!1}canRedo(){return this._mathfield?this._mathfield.canRedo():!1}handleEvent(y){var b,E,te,ie;Hc.state==="closed"&&((E=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:E.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((te=this._mathfield)==null||te.focus()),y.type==="blur"&&((ie=this._mathfield)==null||ie.blur()))}connectedCallback(){var y,b,E,te;const ie=window.getComputedStyle(this),le=this.shadowRoot,De=ie.userSelect!=="none";if(De)le.host.addEventListener("pointerdown",this,!0);else{const lt=le.querySelector("span");lt.style.pointerEvents="none"}le.host.addEventListener("focus",this,!0),le.host.addEventListener("blur",this,!0),nf()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),De&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const Re=le.querySelector("slot:not([name])");if(Re)try{this._style=Re.assignedElements().filter(lt=>lt.tagName.toLowerCase()==="style").map(lt=>lt.textContent).join("")}catch(lt){console.error(lt)}if(this._style){const lt=document.createElement("style");lt.textContent=this._style,le.appendChild(lt)}let Ve="";if(this.hasAttribute("value")?Ve=this.getAttribute("value"):Ve=(y=Re==null?void 0:Re.assignedNodes().map(lt=>lt.nodeType===3?lt.textContent:"").join("").trim())!=null?y:"",this._mathfield=new by(le.querySelector(":host > span"),me(Se({},(E=(b=Os.get(this))==null?void 0:b.options)!=null?E:If(this)),{eventSink:this,value:Ve})),!Os.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const lt of Object.keys(Rd.optionsAttributes))this.upgradeProperty(id(lt))}if(!((te=this._mathfield)!=null&&te.model)){this._mathfield=null;return}if(Os.has(this)){const lt=this._mathfield,zt=Os.get(this),wn=zt.menuItems;lt.model.deferNotifications({content:!1,selection:!1},()=>{const nr=zt.value;nr!==void 0&&lt.setValue(nr),lt.model.selection=zt.selection,Os.delete(this)}),wn&&(this.menuItems=wn)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),Zf()}disconnectedCallback(){var y,b;if(this.shadowRoot.host.removeEventListener("pointerdown",this,!0),!this._mathfield)return;window.queueMicrotask(()=>this.dispatchEvent(new Event("unmount",{cancelable:!1,bubbles:!0,composed:!0})));const E=kd(this._mathfield.options,Object.keys(Rd.optionsAttributes).map(te=>id(te)));Os.set(this,{value:this._mathfield.getValue(),selection:this._mathfield.model.selection,menuItems:(b=(y=this._mathfield.menu)==null?void 0:y.menuItems)!=null?b:void 0,options:E}),this._mathfield.dispose(),this._mathfield=null}upgradeProperty(y){if(this.hasOwnProperty(y)){const b=this[y];delete this[y],(y==="readonly"||y==="read-only")&&(y="readOnly"),this[y]=b}}attributeChangedCallback(y,b,E){if(b===E)return;const te=E!==null;switch(y){case"contenteditable":Eu(this._mathfield);break;case"disabled":this.disabled=te;break;case"read-only":case"readonly":this.readOnly=te;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),nf()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(nf()?this._internals.ariaReadOnly="false":this.removeAttribute("aria-readonly"),this.removeAttribute("readonly"),this.removeAttribute("read-only")),this._setOptions({readOnly:b})}get disabled(){return this.hasAttribute("disabled")}set disabled(y){var b;const E=!!y;E?this.setAttribute("disabled",""):this.removeAttribute("disabled"),nf()?this._internals.ariaDisabled=E?"true":"false":this.setAttribute("aria-disabled",E?"true":"false"),E&&((b=this._mathfield)!=null&&b.hasFocus)&&window.mathVirtualKeyboard.visible&&this._mathfield.executeCommand("hideVirtualKeyboard")}get value(){return this.getValue()}set value(y){this.setValue(y)}get defaultMode(){return this._getOption("defaultMode")}set defaultMode(y){this._setOptions({defaultMode:y})}get macros(){return this._getOption("macros")}set macros(y){this._setOptions({macros:y})}get registers(){const y=this;return new Proxy({},{get:(b,E)=>{if(typeof E=="string")return y._getOption("registers")[E]},set(b,E,te){return typeof E!="string"?!1:(y._setOptions({registers:me(Se({},y._getOption("registers")),{[E]:te})}),!0)}})}set registers(y){this._setOptions({registers:y})}get colorMap(){return this._getOption("colorMap")}set colorMap(y){this._setOptions({colorMap:y})}get backgroundColorMap(){return this._getOption("backgroundColorMap")}set backgroundColorMap(y){this._setOptions({backgroundColorMap:y})}get letterShapeStyle(){return this._getOption("letterShapeStyle")}set letterShapeStyle(y){this._setOptions({letterShapeStyle:y})}get minFontScale(){return this._getOption("minFontScale")}set minFontScale(y){this._setOptions({minFontScale:y})}get smartMode(){return this._getOption("smartMode")}set smartMode(y){this._setOptions({smartMode:y})}get smartFence(){return this._getOption("smartFence")}set smartFence(y){this._setOptions({smartFence:y})}get smartSuperscript(){return this._getOption("smartSuperscript")}set smartSuperscript(y){this._setOptions({smartSuperscript:y})}get scriptDepth(){return this._getOption("scriptDepth")}set scriptDepth(y){this._setOptions({scriptDepth:y})}get removeExtraneousParentheses(){return this._getOption("removeExtraneousParentheses")}set removeExtraneousParentheses(y){this._setOptions({removeExtraneousParentheses:y})}get mathModeSpace(){return this._getOption("mathModeSpace")}set mathModeSpace(y){this._setOptions({mathModeSpace:y})}get placeholderSymbol(){return this._getOption("placeholderSymbol")}set placeholderSymbol(y){this._setOptions({placeholderSymbol:y})}get popoverPolicy(){return this._getOption("popoverPolicy")}set popoverPolicy(y){this._setOptions({popoverPolicy:y})}get environmentPopoverPolicy(){return this._getOption("environmentPopoverPolicy")}set environmentPopoverPolicy(y){this._setOptions({environmentPopoverPolicy:y})}get menuItems(){var y,b,E;return this._mathfield?(y=this._mathfield.menu._menuItems.map(te=>te.menuItem))!=null?y:[]:(E=(b=Os.get(this))==null?void 0:b.menuItems)!=null?E:[]}set menuItems(y){var b;if(this._mathfield){const E=(b=this._mathfield.element)==null?void 0:b.querySelector("[part=menu-toggle]");E&&(E.style.display=y.length===0?"none":""),this._mathfield.menu.menuItems=y}Os.has(this)?Os.set(this,me(Se({},Os.get(this)),{menuItems:y})):Os.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:If(this),menuItems:y})}get mathVirtualKeyboardPolicy(){return this._getOption("mathVirtualKeyboardPolicy")}set mathVirtualKeyboardPolicy(y){this._setOptions({mathVirtualKeyboardPolicy:y})}get inlineShortcuts(){return this._getOption("inlineShortcuts")}set inlineShortcuts(y){this._setOptions({inlineShortcuts:y})}get inlineShortcutTimeout(){return this._getOption("inlineShortcutTimeout")}set inlineShortcutTimeout(y){this._setOptions({inlineShortcutTimeout:y})}get keybindings(){return this._getOption("keybindings")}set keybindings(y){this._setOptions({keybindings:y})}get onInlineShortcut(){return this._getOption("onInlineShortcut")}set onInlineShortcut(y){this._setOptions({onInlineShortcut:y})}get onScrollIntoView(){return this._getOption("onScrollIntoView")}set onScrollIntoView(y){this._setOptions({onScrollIntoView:y})}get onExport(){return this._getOption("onExport")}set onExport(y){this._setOptions({onExport:y})}get readOnly(){return this._getOption("readOnly")}set readOnly(y){this._setOptions({readOnly:y})}get isSelectionEditable(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.isSelectionEditable)!=null?b:!1}setPromptState(y,b,E){var te;(te=this._mathfield)==null||te.setPromptState(y,b,E)}getPromptState(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptState(y))!=null?E:[void 0,!0]}get virtualKeyboardTargetOrigin(){return this._getOption("virtualKeyboardTargetOrigin")}set virtualKeyboardTargetOrigin(y){this._setOptions({virtualKeyboardTargetOrigin:y})}get selection(){return this._mathfield?this._mathfield.model.selection:Os.has(this)?Os.get(this).selection:{ranges:[[0,0]],direction:"forward"}}set selection(y){if(typeof y=="number"&&(y={ranges:[[y,y]]}),this._mathfield){this._mathfield.model.selection=y,Eu(this._mathfield);return}if(Os.has(this)){Os.set(this,me(Se({},Os.get(this)),{selection:y}));return}Os.set(this,{value:void 0,selection:y,options:If(this),menuItems:void 0})}get selectionIsCollapsed(){const y=this.selection;return y.ranges.length===1&&y.ranges[0][0]===y.ranges[0][1]}get position(){return this._mathfield?this._mathfield.model.position:Os.has(this)?Os.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,Eu(this._mathfield)),Os.has(this)){Os.set(this,me(Se({},Os.get(this)),{selection:{ranges:[[y,y]]}}));return}Os.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:If(this),menuItems:void 0})}getOffsetDepth(y){var b,E;return this._mathfield?((E=(b=this._mathfield.model.at(y))==null?void 0:b.treeDepth)!=null?E:2)-2:0}get lastOffset(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.lastOffset)!=null?b:-1}};Yu.version="0.98.5",Yu._fontsDirectory="./fonts",Yu._soundsDirectory="./sounds",Yu.keypressVibration=!0,Yu._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},Yu._plonkSound="plonk.wav",Yu.audioBuffers={},Yu.createHTML=a=>a,Yu._speechEngineRate="100%",Yu._speechEngineVoice="Joanna",Yu._textToSpeechMarkup="",Yu._textToSpeechRules="mathlive",Yu._textToSpeechRulesOptions={},Yu.speakHook=cy,Yu.readAloudHook=xy,Yu._decimalSeparator=".",Yu.fractionNavigationOrder="numerator-denominator",Yu._isFunction=a=>{var y,b;const E=window.MathfieldElement.computeEngine;return(b=(y=E==null?void 0:E.parse(a).domain)==null?void 0:y.isFunction)!=null?b:!1};var Nf=Yu;function id(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function If(a){const y={readOnly:!1},b=Nf.optionsAttributes;return Object.keys(b).forEach(E=>{if(a.hasAttribute(E)){const te=a.getAttribute(E);E==="placeholder"?y.contentPlaceholder=te!=null?te:"":b[E]==="boolean"?y[id(E)]=!0:b[E]==="on/off"?te==="on"?y[id(E)]=!0:te==="off"?y[id(E)]=!1:y[id(E)]=void 0:b[E]==="number"?y[id(E)]=Number.parseFloat(te!=null?te:"0"):y[id(E)]=te}}),y}function nf(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var wp=Nf,Sp,Cp,Ep,Ap;if(pt()&&!((Sp=window.customElements)!=null&&Sp.get("math-field"))){(Ep=window[Cp=Symbol.for("io.cortexjs.mathlive")])!=null||(window[Cp]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=Nf,(Ap=window.customElements)==null||Ap.define("math-field",Nf)}function Sy(a,y,b){let E=b,te=0;const ie=a.length;for(;E<y.length;){const le=y[E];if(te<=0&&y.slice(E,E+ie)===a)return E;le==="\\"?E++:le==="{"?te++:le==="}"&&te--,E++}return-1}function dh(a,y,b,E,te="latex"){const ie=[];for(const le of a)if(le.type==="text"){const De=le.data;let Re=!0,Ve=0,lt;lt=De.indexOf(y),lt!==-1&&(Ve=lt,Ve>0&&ie.push({type:"text",data:De.slice(0,Ve)}),Re=!1);let zt=!1;for(;!zt;){if(Re){if(lt=De.indexOf(y,Ve),lt===-1){zt=!0;break}Ve!==lt&&ie.push({type:"text",data:De.slice(Ve,lt)}),Ve=lt}else{if(lt=Sy(b,De,Ve+y.length),lt===-1){zt=!0;break}let wn=De.slice(Ve+y.length,lt);te==="ascii-math"&&([,wn]=Rs(wn,{format:"ascii-math"})),ie.push({type:"math",data:wn,rawData:De.slice(Ve,lt+b.length),mathstyle:E}),Ve=lt+b.length}Re=!Re}Ve<De.length&&ie.push({type:"text",data:De.slice(Ve)})}else ie.push(le);return ie}function Mp(a,y,b){let E=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([te,ie])=>{E=dh(E,te,ie,"textstyle")}),y!=null&&y.display&&y.display.forEach(([te,ie])=>{E=dh(E,te,ie,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([te,ie])=>{E=dh(E,te,ie,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([te,ie])=>{E=dh(E,te,ie,"displaystyle","ascii-math")}),E}function Cy(a,y){const b=document.createElement("span");b.setAttribute("translate","no");try{const E="<math xmlns='http://www.w3.org/1998/Math/MathML'>"+y.renderToMathML(a)+"</math>";b.innerHTML=window.MathfieldElement.createHTML(E)}catch(E){console.error(`MathLive 0.98.5: Could not convert "${a}"' to MathML with ${E}`),b.textContent=a}return b.className="ML__sr-only",b}function Ey(a,y,b,E){try{const te=y.renderToMarkup(a,{mathstyle:b,format:"html"}),ie=document.createElement("span");return ie.dataset.latex=a,ie.style.display=b==="displaystyle"?"flex":"inline-flex",ie.setAttribute("aria-hidden","true"),ie.setAttribute("translate","no"),ie.innerHTML=window.MathfieldElement.createHTML(te),ie}catch(te){if(console.error("Could not parse'"+a+"' with ",te),E)return document.createTextNode(a)}return null}function rf(a,y,b,E){var te;const ie=Ey(a,b,y||"textstyle",E),le=(te=b.renderAccessibleContent)!=null?te:"";if(ie&&/\b(mathml|speakable-text)\b/i.test(le)){const De=document.createElement("span");if(/\bmathml\b/i.test(le)&&b.renderToMathML&&De.append(Cy(a,b)),/\bspeakable-text\b/i.test(le)&&b.renderToSpeakableText){const Re=document.createElement("span");Re.setAttribute("translate","no");const Ve=b.renderToSpeakableText(a);Re.innerHTML=window.MathfieldElement.createHTML(Ve),Re.className="ML__sr-only",De.append(Re)}return De.append(ie),De}return ie}function Ay(a,y){var b,E,te;let ie=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){ie=document.createDocumentFragment();const le=rf(a,"",y,!0);le&&ie.appendChild(le)}else{if(!a.trim())return null;const le=Mp(a,(E=y.TeX)==null?void 0:E.delimiters,(te=y.asciiMath)==null?void 0:te.delimiters);if(le.length===1&&le[0].type==="text")return null;ie=document.createDocumentFragment();for(const De of le)if(De.type==="text")ie.appendChild(document.createTextNode(De.data));else{const Re=rf(De.data,De.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);Re&&ie.appendChild(Re)}}return ie}function Dp(a,y){var b,E,te,ie,le,De,Re,Ve,lt,zt,wn,nr,hr,Ia,Yi,Ca;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const si=(b=a.childNodes[0].textContent)!=null?b:"";if((E=y.TeX)!=null&&E.processEnvironments&&/^\s*\\begin/.test(si)){a.textContent="";const xi=rf(si,"",y,!0);xi&&a.append(xi);return}const eo=Mp(si,(te=y.TeX)==null?void 0:te.delimiters,(ie=y.asciiMath)==null?void 0:ie.delimiters);if(eo.length===1&&eo[0].type==="math"){a.textContent="";const xi=rf(eo[0].data,eo[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);xi&&a.append(xi);return}if(eo.length===1&&eo[0].type==="text")return}for(let si=a.childNodes.length-1;si>=0;si--){const eo=a.childNodes[si];if(eo.nodeType===3){const xi=Ay((le=eo.textContent)!=null?le:"",y);xi&&(si+=xi.childNodes.length-1,eo.replaceWith(xi))}else if(eo.nodeType===1){const xi=eo,rl=eo.nodeName.toLowerCase();if(rl==="script"){const Ll=eo;let El;if((De=y.processScriptTypePattern)!=null&&De.test(Ll.type))El=(Re=Ll.textContent)!=null?Re:"";else if((Ve=y.processMathJSONScriptTypePattern)!=null&&Ve.test(Ll.type))try{El=(zt=y.serializeToLatex)==null?void 0:zt.call(y,JSON.parse((lt=Ll.textContent)!=null?lt:""))}catch(Ns){console.error(Ns)}if(El){let Ns="textstyle";for(const fo of Ll.type.split(";")){const[bc,Uc]=fo.toLowerCase().split("=");bc.trim()==="mode"&&(Ns=Uc.trim()==="display"?"displaystyle":"textstyle")}const Qs=rf(El,Ns,y,!0);Qs&&Ll.parentNode.replaceChild(Qs,Ll)}}else if(((nr=(wn=y.processClassPattern)==null?void 0:wn.test(xi.className))!=null?nr:!1)||!((Ia=(hr=y.skipTags)==null?void 0:hr.includes(rl))!=null&&Ia||(Ca=(Yi=y.ignoreClassPattern)==null?void 0:Yi.test(xi.className))!=null&&Ca))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const El=a.textContent;a.textContent="";const Ns=rf(El!=null?El:"","displaystyle",y,!0);Ns&&a.append(Ns)}else Dp(xi,y)}}}var My={skipTags:["math-field","noscript","style","textarea","pre","code","annotation","annotation-xml"],processScriptType:"math/tex",processMathJSONScriptType:"math/json",ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",renderAccessibleContent:"mathml",asciiMath:{delimiters:{inline:[["`","`"]]}},TeX:{processEnvironments:!0,delimiters:{inline:[["\\(","\\)"]],display:[["$$","$$"],["\\[","\\]"]]}}};function Dy(a,y){var b,E,te,ie;try{const le=Se(Se({},My),y);le.ignoreClassPattern=new RegExp((b=le.ignoreClass)!=null?b:""),le.processClassPattern=new RegExp((E=le.processClass)!=null?E:""),le.processScriptTypePattern=new RegExp((te=le.processScriptType)!=null?te:""),le.processMathJSONScriptTypePattern=new RegExp((ie=le.processMathJSONScriptType)!=null?ie:""),Zf(),hc("core"),Dp(a,le)}catch(le){le instanceof Error?console.error("renderMathInElement(): "+le.message):console.error("renderMathInElement(): Could not render math for element",a)}}function ky(a,y){const b=md.singleton;return b?(b.show(),yf(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function Ny(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}pc({switchKeyboardLayer:ky,toggleVirtualKeyboard:Ny,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function yd(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function Hy(){return console.warn("%cMathLive 0.98.5: %cmakeSharedVirtualKeyboard() is deprecated. \n Use `window.mathVirtualKeyboard` to access the virtual keyboard instance.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),window.mathVirtualKeyboard}function Zy(a){Py(document.body,a)}function Iy(a){if(typeof a=="string"){const y=document.getElementById(a);if(y===null)throw new Error(`The element with ID "${a}" could not be found.`);return y}return typeof a=="string"?null:a}function Py(a,y){var b,E,te,ie;const le=Iy(a);if(!le)return;const De=y!=null?y:{};(b=De.renderToMarkup)!=null||(De.renderToMarkup=_u),(E=De.renderToMathML)!=null||(De.renderToMathML=_g),(te=De.renderToSpeakableText)!=null||(De.renderToSpeakableText=Vg),(ie=De.serializeToLatex)!=null||(De.serializeToLatex=jg),Dy(le,De)}var Wy={mathlive:"0.98.5"}},17423:function(Hn,sn,ee){"use strict";ee.d(sn,{Z:function(){return Se}});const ne=me=>typeof me=="object"&&me!=null&&me.nodeType===1,de=(me,Pe)=>(!Pe||me!=="hidden")&&me!=="visible"&&me!=="clip",Me=(me,Pe)=>{if(me.clientHeight<me.scrollHeight||me.clientWidth<me.scrollWidth){const Xe=getComputedStyle(me,null);return de(Xe.overflowY,Pe)||de(Xe.overflowX,Pe)||(fe=>{const Ge=(pt=>{if(!pt.ownerDocument||!pt.ownerDocument.defaultView)return null;try{return pt.ownerDocument.defaultView.frameElement}catch(ot){return null}})(fe);return!!Ge&&(Ge.clientHeight<fe.scrollHeight||Ge.clientWidth<fe.scrollWidth)})(me)}return!1},et=(me,Pe,Xe,fe,Ge,pt,ot,vt)=>pt<me&&ot>Pe||pt>me&&ot<Pe?0:pt<=me&&vt<=Xe||ot>=Pe&&vt>=Xe?pt-me-fe:ot>Pe&&vt<Xe||pt<me&&vt>Xe?ot-Pe+Ge:0,we=me=>{const Pe=me.parentElement;return Pe==null?me.getRootNode().host||null:Pe},ke=(me,Pe)=>{var Xe,fe,Ge,pt;if(typeof document=="undefined")return[];const{scrollMode:ot,block:vt,inline:Ee,boundary:wt,skipOverflowHiddenElements:Rt}=Pe,tt=typeof wt=="function"?wt:qt=>qt!==wt;if(!ne(me))throw new TypeError("Invalid target");const st=document.scrollingElement||document.documentElement,ye=[];let ue=me;for(;ne(ue)&&tt(ue);){if(ue=we(ue),ue===st){ye.push(ue);break}ue!=null&&ue===document.body&&Me(ue)&&!Me(document.documentElement)||ue!=null&&Me(ue,Rt)&&ye.push(ue)}const $e=(fe=(Xe=window.visualViewport)==null?void 0:Xe.width)!=null?fe:innerWidth,Je=(pt=(Ge=window.visualViewport)==null?void 0:Ge.height)!=null?pt:innerHeight,{scrollX:ht,scrollY:yt}=window,{height:Fe,width:Be,top:mt,right:ze,bottom:ut,left:rt}=me.getBoundingClientRect(),{top:Tt,right:Bt,bottom:en,left:ct}=(qt=>{const Nt=window.getComputedStyle(qt);return{top:parseFloat(Nt.scrollMarginTop)||0,right:parseFloat(Nt.scrollMarginRight)||0,bottom:parseFloat(Nt.scrollMarginBottom)||0,left:parseFloat(Nt.scrollMarginLeft)||0}})(me);let Ie=vt==="start"||vt==="nearest"?mt-Tt:vt==="end"?ut+en:mt+Fe/2-Tt+en,Mt=Ee==="center"?rt+Be/2-ct+Bt:Ee==="end"?ze+Bt:rt-ct;const vn=[];for(let qt=0;qt<ye.length;qt++){const Nt=ye[qt],{height:Kt,width:nn,top:Cn,right:Sn,bottom:tn,left:In}=Nt.getBoundingClientRect();if(ot==="if-needed"&&mt>=0&&rt>=0&&ut<=Je&&ze<=$e&&mt>=Cn&&ut<=tn&&rt>=In&&ze<=Sn)return vn;const br=getComputedStyle(Nt),gn=parseInt(br.borderLeftWidth,10),Ye=parseInt(br.borderTopWidth,10),ve=parseInt(br.borderRightWidth,10),he=parseInt(br.borderBottomWidth,10);let be=0,ge=0;const se="offsetWidth"in Nt?Nt.offsetWidth-Nt.clientWidth-gn-ve:0,je="offsetHeight"in Nt?Nt.offsetHeight-Nt.clientHeight-Ye-he:0,xt="offsetWidth"in Nt?Nt.offsetWidth===0?0:nn/Nt.offsetWidth:0,En="offsetHeight"in Nt?Nt.offsetHeight===0?0:Kt/Nt.offsetHeight:0;if(st===Nt)be=vt==="start"?Ie:vt==="end"?Ie-Je:vt==="nearest"?et(yt,yt+Je,Je,Ye,he,yt+Ie,yt+Ie+Fe,Fe):Ie-Je/2,ge=Ee==="start"?Mt:Ee==="center"?Mt-$e/2:Ee==="end"?Mt-$e:et(ht,ht+$e,$e,gn,ve,ht+Mt,ht+Mt+Be,Be),be=Math.max(0,be+yt),ge=Math.max(0,ge+ht);else{be=vt==="start"?Ie-Cn-Ye:vt==="end"?Ie-tn+he+je:vt==="nearest"?et(Cn,tn,Kt,Ye,he+je,Ie,Ie+Fe,Fe):Ie-(Cn+Kt/2)+je/2,ge=Ee==="start"?Mt-In-gn:Ee==="center"?Mt-(In+nn/2)+se/2:Ee==="end"?Mt-Sn+ve+se:et(In,Sn,nn,gn,ve+se,Mt,Mt+Be,Be);const{scrollLeft:un,scrollTop:Pn}=Nt;be=En===0?0:Math.max(0,Math.min(Pn+be/En,Nt.scrollHeight-Kt/En+je)),ge=xt===0?0:Math.max(0,Math.min(un+ge/xt,Nt.scrollWidth-nn/xt+se)),Ie+=Pn-be,Mt+=un-ge}vn.push({el:Nt,top:be,left:ge})}return vn},ce=me=>me===!1?{block:"end",inline:"nearest"}:(Pe=>Pe===Object(Pe)&&Object.keys(Pe).length!==0)(me)?me:{block:"start",inline:"nearest"};function Se(me,Pe){if(!me.isConnected||!(Ge=>{let pt=Ge;for(;pt&&pt.parentNode;){if(pt.parentNode===document)return!0;pt=pt.parentNode instanceof ShadowRoot?pt.parentNode.host:pt.parentNode}return!1})(me))return;const Xe=(Ge=>{const pt=window.getComputedStyle(Ge);return{top:parseFloat(pt.scrollMarginTop)||0,right:parseFloat(pt.scrollMarginRight)||0,bottom:parseFloat(pt.scrollMarginBottom)||0,left:parseFloat(pt.scrollMarginLeft)||0}})(me);if((Ge=>typeof Ge=="object"&&typeof Ge.behavior=="function")(Pe))return Pe.behavior(ke(me,Pe));const fe=typeof Pe=="boolean"||Pe==null?void 0:Pe.behavior;for(const{el:Ge,top:pt,left:ot}of ke(me,ce(Pe))){const vt=pt-Xe.top+Xe.bottom,Ee=ot-Xe.left+Xe.right;Ge.scroll({top:vt,left:Ee,behavior:fe})}}}}]);
}());