|
|
!(function(){var L1=Object.defineProperty,F1=Object.defineProperties;var O1=Object.getOwnPropertyDescriptors;var uh=Object.getOwnPropertySymbols;var Bp=Object.prototype.hasOwnProperty,Pp=Object.prototype.propertyIsEnumerable;var nc=Math.pow,Dp=(Ln,pn,ie)=>pn in Ln?L1(Ln,pn,{enumerable:!0,configurable:!0,writable:!0,value:ie}):Ln[pn]=ie,to=(Ln,pn)=>{for(var ie in pn||(pn={}))Bp.call(pn,ie)&&Dp(Ln,ie,pn[ie]);if(uh)for(var ie of uh(pn))Pp.call(pn,ie)&&Dp(Ln,ie,pn[ie]);return Ln},Tl=(Ln,pn)=>F1(Ln,O1(pn));var ch=(Ln,pn)=>{var ie={};for(var ne in Ln)Bp.call(Ln,ne)&&pn.indexOf(ne)<0&&(ie[ne]=Ln[ne]);if(Ln!=null&&uh)for(var ne of uh(Ln))pn.indexOf(ne)<0&&Pp.call(Ln,ne)&&(ie[ne]=Ln[ne]);return ie};var jc=(Ln,pn,ie)=>new Promise((ne,be)=>{var Ce=Ae=>{try{Se(ie.next(Ae))}catch(pe){be(pe)}},yt=Ae=>{try{Se(ie.throw(Ae))}catch(pe){be(pe)}},Se=Ae=>Ae.done?ne(Ae.value):Promise.resolve(Ae.value).then(Ce,yt);Se((ie=ie.apply(Ln,pn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[4030],{89489:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},59477:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},40001:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},49198:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},84105:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},18785:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},87169:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},73331:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},15277:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},52671:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},8657:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},56082:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},33853:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},15075:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},62772:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},43531:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},61485:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},38819:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},47472:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},87395:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Re,ht){return be.createElement(Se.Z,(0,ne.Z)({},Re,{ref:ht,icon:yt}))},pe=be.forwardRef(Ae),ye=pe},87954:function(Ln,pn,ie){"use strict";ie.d(pn,{LB:function(){return ir},g4:function(){return cn},we:function(){return Gt},pE:function(){return ut},VK:function(){return Qe},Cj:function(){return mi},O1:function(){return si},Zj:function(){return Lr},VT:function(){return ct}});var ne=ie(59301),be=ie(4676),Ce=ie(35241);const yt={display:"none"};function Se(rt){let{id:gt,value:Yt}=rt;return ne.createElement("div",{id:gt,style:yt},Yt)}function Ae(rt){let{id:gt,announcement:Yt,ariaLiveType:gn="assertive"}=rt;const Yn={position:"fixed",top:0,left:0,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:gt,style:Yn,role:"status","aria-live":gn,"aria-atomic":!0},Yt)}function pe(){const[rt,gt]=(0,ne.useState)("");return{announce:(0,ne.useCallback)(gn=>{gn!=null&>(gn)},[]),announcement:rt}}const ye=(0,ne.createContext)(null);function Ee(rt){const gt=(0,ne.useContext)(ye);(0,ne.useEffect)(()=>{if(!gt)throw new Error("useDndMonitor must be used within a children of <DndContext>");return gt(rt)},[rt,gt])}function Re(){const[rt]=(0,ne.useState)(()=>new Set),gt=(0,ne.useCallback)(gn=>(rt.add(gn),()=>rt.delete(gn)),[rt]);return[(0,ne.useCallback)(gn=>{let{type:Yn,event:Pt}=gn;rt.forEach(fn=>{var Wn;return(Wn=fn[Yn])==null?void 0:Wn.call(fn,Pt)})},[rt]),gt]}const ht={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.
|
|
|
`},ke={onDragStart(rt){let{active:gt}=rt;return"Picked up draggable item "+gt.id+"."},onDragOver(rt){let{active:gt,over:Yt}=rt;return Yt?"Draggable item "+gt.id+" was moved over droppable area "+Yt.id+".":"Draggable item "+gt.id+" is no longer over a droppable area."},onDragEnd(rt){let{active:gt,over:Yt}=rt;return Yt?"Draggable item "+gt.id+" was dropped over droppable area "+Yt.id:"Draggable item "+gt.id+" was dropped."},onDragCancel(rt){let{active:gt}=rt;return"Dragging was cancelled. Draggable item "+gt.id+" was dropped."}};function Le(rt){let{announcements:gt=ke,container:Yt,hiddenTextDescribedById:gn,screenReaderInstructions:Yn=ht}=rt;const{announce:Pt,announcement:fn}=pe(),Wn=(0,Ce.Ld)("DndLiveRegion"),[Qn,Mr]=(0,ne.useState)(!1);if((0,ne.useEffect)(()=>{Mr(!0)},[]),Ee((0,ne.useMemo)(()=>({onDragStart(ri){let{active:ii}=ri;Pt(gt.onDragStart({active:ii}))},onDragMove(ri){let{active:ii,over:Ii}=ri;gt.onDragMove&&Pt(gt.onDragMove({active:ii,over:Ii}))},onDragOver(ri){let{active:ii,over:Ii}=ri;Pt(gt.onDragOver({active:ii,over:Ii}))},onDragEnd(ri){let{active:ii,over:Ii}=ri;Pt(gt.onDragEnd({active:ii,over:Ii}))},onDragCancel(ri){let{active:ii,over:Ii}=ri;Pt(gt.onDragCancel({active:ii,over:Ii}))}}),[Pt,gt])),!Qn)return null;const Ci=ne.createElement(ne.Fragment,null,ne.createElement(Se,{id:gn,value:Yn.draggable}),ne.createElement(Ae,{id:Wn,announcement:fn}));return Yt?(0,be.createPortal)(Ci,Yt):Ci}var Ge;(function(rt){rt.DragStart="dragStart",rt.DragMove="dragMove",rt.DragEnd="dragEnd",rt.DragCancel="dragCancel",rt.DragOver="dragOver",rt.RegisterDroppable="registerDroppable",rt.SetDroppableDisabled="setDroppableDisabled",rt.UnregisterDroppable="unregisterDroppable"})(Ge||(Ge={}));function nt(){}function ct(rt,gt){return(0,ne.useMemo)(()=>({sensor:rt,options:gt!=null?gt:{}}),[rt,gt])}function Et(){for(var rt=arguments.length,gt=new Array(rt),Yt=0;Yt<rt;Yt++)gt[Yt]=arguments[Yt];return useMemo(()=>[...gt].filter(gn=>gn!=null),[...gt])}const Ct=Object.freeze({x:0,y:0});function Wt(rt,gt){return Math.sqrt(Math.pow(rt.x-gt.x,2)+Math.pow(rt.y-gt.y,2))}function ft(rt,gt){const Yt=getEventCoordinates(rt);if(!Yt)return"0 0";const gn={x:(Yt.x-gt.left)/gt.width*100,y:(Yt.y-gt.top)/gt.height*100};return gn.x+"% "+gn.y+"%"}function pt(rt,gt){let{data:{value:Yt}}=rt,{data:{value:gn}}=gt;return Yt-gn}function ze(rt,gt){let{data:{value:Yt}}=rt,{data:{value:gn}}=gt;return gn-Yt}function he(rt){let{left:gt,top:Yt,height:gn,width:Yn}=rt;return[{x:gt,y:Yt},{x:gt+Yn,y:Yt},{x:gt,y:Yt+gn},{x:gt+Yn,y:Yt+gn}]}function it(rt,gt){if(!rt||rt.length===0)return null;const[Yt]=rt;return gt?Yt[gt]:Yt}function ot(rt,gt,Yt){return gt===void 0&&(gt=rt.left),Yt===void 0&&(Yt=rt.top),{x:gt+rt.width*.5,y:Yt+rt.height*.5}}const ut=rt=>{let{collisionRect:gt,droppableRects:Yt,droppableContainers:gn}=rt;const Yn=ot(gt,gt.left,gt.top),Pt=[];for(const fn of gn){const{id:Wn}=fn,Qn=Yt.get(Wn);if(Qn){const Mr=Wt(ot(Qn),Yn);Pt.push({id:Wn,data:{droppableContainer:fn,value:Mr}})}}return Pt.sort(pt)},Je=rt=>{let{collisionRect:gt,droppableRects:Yt,droppableContainers:gn}=rt;const Yn=he(gt),Pt=[];for(const fn of gn){const{id:Wn}=fn,Qn=Yt.get(Wn);if(Qn){const Mr=he(Qn),Ci=Yn.reduce((ii,Ii,da)=>ii+Wt(Mr[da],Ii),0),ri=Number((Ci/4).toFixed(4));Pt.push({id:Wn,data:{droppableContainer:fn,value:ri}})}}return Pt.sort(pt)};function mt(rt,gt){const Yt=Math.max(gt.top,rt.top),gn=Math.max(gt.left,rt.left),Yn=Math.min(gt.left+gt.width,rt.left+rt.width),Pt=Math.min(gt.top+gt.height,rt.top+rt.height),fn=Yn-gn,Wn=Pt-Yt;if(gn<Yn&&Yt<Pt){const Qn=gt.width*gt.height,Mr=rt.width*rt.height,Ci=fn*Wn,ri=Ci/(Qn+Mr-Ci);return Number(ri.toFixed(4))}return 0}const Te=rt=>{let{collisionRect:gt,droppableRects:Yt,droppableContainers:gn}=rt;const Yn=[];for(const Pt of gn){const{id:fn}=Pt,Wn=Yt.get(fn);if(Wn){const Qn=mt(Wn,gt);Qn>0&&Yn.push({id:fn,data:{droppableContainer:Pt,value:Qn}})}}return Yn.sort(ze)};function xt(rt,gt){const{top:Yt,left:gn,bottom:Yn,right:Pt}=gt;return Yt<=rt.y&&rt.y<=Yn&&gn<=rt.x&&rt.x<=Pt}const Ne=rt=>{let{droppableContainers:gt,droppableRects:Yt,pointerCoordinates:gn}=rt;if(!gn)return[];const Yn=[];for(const Pt of gt){const{id:fn}=Pt,Wn=Yt.get(fn);if(Wn&&xt(gn,Wn)){const Mr=he(Wn).reduce((ri,ii)=>ri+Wt(gn,ii),0),Ci=Number((Mr/4).toFixed(4));Yn.push({id:fn,data:{droppableContainer:Pt,value:Ci}})}}return Yn.sort(pt)};function Rt(rt,gt,Yt){return Tl(to({},rt),{scaleX:gt&&Yt?gt.width/Yt.width:1,scaleY:gt&&Yt?gt.height/Yt.height:1})}function Dt(rt,gt){return rt&>?{x:rt.left-gt.left,y:rt.top-gt.top}:Ct}function Nt(rt){return function(Yt){for(var gn=arguments.length,Yn=new Array(gn>1?gn-1:0),Pt=1;Pt<gn;Pt++)Yn[Pt-1]=arguments[Pt];return Yn.reduce((fn,Wn)=>Tl(to({},fn),{top:fn.top+rt*Wn.y,bottom:fn.bottom+rt*Wn.y,left:fn.left+rt*Wn.x,right:fn.right+rt*Wn.x}),to({},Yt))}}const wt=Nt(1);function It(rt){if(rt.startsWith("matrix3d(")){const gt=rt.slice(9,-1).split(/, /);return{x:+gt[12],y:+gt[13],scaleX:+gt[0],scaleY:+gt[5]}}else if(rt.startsWith("matrix(")){const gt=rt.slice(7,-1).split(/, /);return{x:+gt[4],y:+gt[5],scaleX:+gt[0],scaleY:+gt[3]}}return null}function We(rt,gt,Yt){const gn=It(gt);if(!gn)return rt;const{scaleX:Yn,scaleY:Pt,x:fn,y:Wn}=gn,Qn=rt.left-fn-(1-Yn)*parseFloat(Yt),Mr=rt.top-Wn-(1-Pt)*parseFloat(Yt.slice(Yt.indexOf(" ")+1)),Ci=Yn?rt.width/Yn:rt.width,ri=Pt?rt.height/Pt:rt.height;return{width:Ci,height:ri,top:Mr,right:Qn+Ci,bottom:Mr+ri,left:Qn}}const ve={ignoreTransform:!1};function Qe(rt,gt){gt===void 0&&(gt=ve);let Yt=rt.getBoundingClientRect();if(gt.ignoreTransform){const{transform:Mr,transformOrigin:Ci}=(0,Ce.Jj)(rt).getComputedStyle(rt);Mr&&(Yt=We(Yt,Mr,Ci))}const{top:gn,left:Yn,width:Pt,height:fn,bottom:Wn,right:Qn}=Yt;return{top:gn,left:Yn,width:Pt,height:fn,bottom:Wn,right:Qn}}function Vt(rt){return Qe(rt,{ignoreTransform:!0})}function Mt(rt){const gt=rt.innerWidth,Yt=rt.innerHeight;return{top:0,left:0,right:gt,bottom:Yt,width:gt,height:Yt}}function Ue(rt,gt){return gt===void 0&&(gt=(0,Ce.Jj)(rt).getComputedStyle(rt)),gt.position==="fixed"}function st(rt,gt){gt===void 0&&(gt=(0,Ce.Jj)(rt).getComputedStyle(rt));const Yt=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Yn=>{const Pt=gt[Yn];return typeof Pt=="string"?Yt.test(Pt):!1})}function Ht(rt,gt){const Yt=[];function gn(Yn){if(gt!=null&&Yt.length>=gt||!Yn)return Yt;if((0,Ce.qk)(Yn)&&Yn.scrollingElement!=null&&!Yt.includes(Yn.scrollingElement))return Yt.push(Yn.scrollingElement),Yt;if(!(0,Ce.Re)(Yn)||(0,Ce.vZ)(Yn)||Yt.includes(Yn))return Yt;const Pt=(0,Ce.Jj)(rt).getComputedStyle(Yn);return Yn!==rt&&st(Yn,Pt)&&Yt.push(Yn),Ue(Yn,Pt)?Yt:gn(Yn.parentNode)}return rt?gn(rt):Yt}function yn(rt){const[gt]=Ht(rt,1);return gt!=null?gt:null}function Ut(rt){return!Ce.Nq||!rt?null:(0,Ce.FJ)(rt)?rt:(0,Ce.UG)(rt)?(0,Ce.qk)(rt)||rt===(0,Ce.r3)(rt).scrollingElement?window:(0,Ce.Re)(rt)?rt:null:null}function Sn(rt){return(0,Ce.FJ)(rt)?rt.scrollX:rt.scrollLeft}function jt(rt){return(0,Ce.FJ)(rt)?rt.scrollY:rt.scrollTop}function Jt(rt){return{x:Sn(rt),y:jt(rt)}}var Ot;(function(rt){rt[rt.Forward=1]="Forward",rt[rt.Backward=-1]="Backward"})(Ot||(Ot={}));function xe(rt){return!Ce.Nq||!rt?!1:rt===document.scrollingElement}function ce(rt){const gt={x:0,y:0},Yt=xe(rt)?{height:window.innerHeight,width:window.innerWidth}:{height:rt.clientHeight,width:rt.clientWidth},gn={x:rt.scrollWidth-Yt.width,y:rt.scrollHeight-Yt.height},Yn=rt.scrollTop<=gt.y,Pt=rt.scrollLeft<=gt.x,fn=rt.scrollTop>=gn.y,Wn=rt.scrollLeft>=gn.x;return{isTop:Yn,isLeft:Pt,isBottom:fn,isRight:Wn,maxScroll:gn,minScroll:gt}}const ue={x:.2,y:.2};function de(rt,gt,Yt,gn,Yn){let{top:Pt,left:fn,right:Wn,bottom:Qn}=Yt;gn===void 0&&(gn=10),Yn===void 0&&(Yn=ue);const{isTop:Mr,isBottom:Ci,isLeft:ri,isRight:ii}=ce(rt),Ii={x:0,y:0},da={x:0,y:0},yr={height:gt.height*Yn.y,width:gt.width*Yn.x};return!Mr&&Pt<=gt.top+yr.height?(Ii.y=Ot.Backward,da.y=gn*Math.abs((gt.top+yr.height-Pt)/yr.height)):!Ci&&Qn>=gt.bottom-yr.height&&(Ii.y=Ot.Forward,da.y=gn*Math.abs((gt.bottom-yr.height-Qn)/yr.height)),!ii&&Wn>=gt.right-yr.width?(Ii.x=Ot.Forward,da.x=gn*Math.abs((gt.right-yr.width-Wn)/yr.width)):!ri&&fn<=gt.left+yr.width&&(Ii.x=Ot.Backward,da.x=gn*Math.abs((gt.left+yr.width-fn)/yr.width)),{direction:Ii,speed:da}}function fe(rt){if(rt===document.scrollingElement){const{innerWidth:Pt,innerHeight:fn}=window;return{top:0,left:0,right:Pt,bottom:fn,width:Pt,height:fn}}const{top:gt,left:Yt,right:gn,bottom:Yn}=rt.getBoundingClientRect();return{top:gt,left:Yt,right:gn,bottom:Yn,width:rt.clientWidth,height:rt.clientHeight}}function le(rt){return rt.reduce((gt,Yt)=>(0,Ce.IH)(gt,Jt(Yt)),Ct)}function Fe(rt){return rt.reduce((gt,Yt)=>gt+Sn(Yt),0)}function at(rt){return rt.reduce((gt,Yt)=>gt+jt(Yt),0)}function Ze(rt,gt){if(gt===void 0&&(gt=Qe),!rt)return;const{top:Yt,left:gn,bottom:Yn,right:Pt}=gt(rt);yn(rt)&&(Yn<=0||Pt<=0||Yt>=window.innerHeight||gn>=window.innerWidth)&&rt.scrollIntoView({block:"center",inline:"center"})}const Me=[["x",["left","right"],Fe],["y",["top","bottom"],at]];class Lt{constructor(gt,Yt){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 gn=Ht(Yt),Yn=le(gn);this.rect=to({},gt),this.width=gt.width,this.height=gt.height;for(const[Pt,fn,Wn]of Me)for(const Qn of fn)Object.defineProperty(this,Qn,{get:()=>{const Mr=Wn(gn),Ci=Yn[Pt]-Mr;return this.rect[Qn]+Ci},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class bt{constructor(gt){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Yt=>{var gn;return(gn=this.target)==null?void 0:gn.removeEventListener(...Yt)})},this.target=gt}add(gt,Yt,gn){var Yn;(Yn=this.target)==null||Yn.addEventListener(gt,Yt,gn),this.listeners.push([gt,Yt,gn])}}function et(rt){const{EventTarget:gt}=(0,Ce.Jj)(rt);return rt instanceof gt?rt:(0,Ce.r3)(rt)}function Zt(rt,gt){const Yt=Math.abs(rt.x),gn=Math.abs(rt.y);return typeof gt=="number"?Math.sqrt(nc(Yt,2)+nc(gn,2))>gt:"x"in gt&&"y"in gt?Yt>gt.x&&gn>gt.y:"x"in gt?Yt>gt.x:"y"in gt?gn>gt.y:!1}var Cn;(function(rt){rt.Click="click",rt.DragStart="dragstart",rt.Keydown="keydown",rt.ContextMenu="contextmenu",rt.Resize="resize",rt.SelectionChange="selectionchange",rt.VisibilityChange="visibilitychange"})(Cn||(Cn={}));function kt(rt){rt.preventDefault()}function Qt(rt){rt.stopPropagation()}var cn;(function(rt){rt.Space="Space",rt.Down="ArrowDown",rt.Right="ArrowRight",rt.Left="ArrowLeft",rt.Up="ArrowUp",rt.Esc="Escape",rt.Enter="Enter",rt.Tab="Tab"})(cn||(cn={}));const vt={start:[cn.Space,cn.Enter],cancel:[cn.Esc],end:[cn.Space,cn.Enter,cn.Tab]},Oe=(rt,gt)=>{let{currentCoordinates:Yt}=gt;switch(rt.code){case cn.Right:return Tl(to({},Yt),{x:Yt.x+25});case cn.Left:return Tl(to({},Yt),{x:Yt.x-25});case cn.Down:return Tl(to({},Yt),{y:Yt.y+25});case cn.Up:return Tl(to({},Yt),{y:Yt.y-25})}};class tt{constructor(gt){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=gt;const{event:{target:Yt}}=gt;this.props=gt,this.listeners=new bt((0,Ce.r3)(Yt)),this.windowListeners=new bt((0,Ce.Jj)(Yt)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Cn.Resize,this.handleCancel),this.windowListeners.add(Cn.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Cn.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:gt,onStart:Yt}=this.props,gn=gt.node.current;gn&&Ze(gn),Yt(Ct)}handleKeyDown(gt){if((0,Ce.vd)(gt)){const{active:Yt,context:gn,options:Yn}=this.props,{keyboardCodes:Pt=vt,coordinateGetter:fn=Oe,scrollBehavior:Wn="smooth"}=Yn,{code:Qn}=gt;if(Pt.end.includes(Qn)){this.handleEnd(gt);return}if(Pt.cancel.includes(Qn)){this.handleCancel(gt);return}const{collisionRect:Mr}=gn.current,Ci=Mr?{x:Mr.left,y:Mr.top}:Ct;this.referenceCoordinates||(this.referenceCoordinates=Ci);const ri=fn(gt,{active:Yt,context:gn.current,currentCoordinates:Ci});if(ri){const ii=(0,Ce.$X)(ri,Ci),Ii={x:0,y:0},{scrollableAncestors:da}=gn.current;for(const yr of da){const Kr=gt.code,{isTop:Tr,isRight:Zr,isLeft:wi,isBottom:ua,maxScroll:la,minScroll:va}=ce(yr),$i=fe(yr),ga={x:Math.min(Kr===cn.Right?$i.right-$i.width/2:$i.right,Math.max(Kr===cn.Right?$i.left:$i.left+$i.width/2,ri.x)),y:Math.min(Kr===cn.Down?$i.bottom-$i.height/2:$i.bottom,Math.max(Kr===cn.Down?$i.top:$i.top+$i.height/2,ri.y))},Wa=Kr===cn.Right&&!Zr||Kr===cn.Left&&!wi,Xa=Kr===cn.Down&&!ua||Kr===cn.Up&&!Tr;if(Wa&&ga.x!==ri.x){const oo=yr.scrollLeft+ii.x,yo=Kr===cn.Right&&oo<=la.x||Kr===cn.Left&&oo>=va.x;if(yo&&!ii.y){yr.scrollTo({left:oo,behavior:Wn});return}yo?Ii.x=yr.scrollLeft-oo:Ii.x=Kr===cn.Right?yr.scrollLeft-la.x:yr.scrollLeft-va.x,Ii.x&&yr.scrollBy({left:-Ii.x,behavior:Wn});break}else if(Xa&&ga.y!==ri.y){const oo=yr.scrollTop+ii.y,yo=Kr===cn.Down&&oo<=la.y||Kr===cn.Up&&oo>=va.y;if(yo&&!ii.x){yr.scrollTo({top:oo,behavior:Wn});return}yo?Ii.y=yr.scrollTop-oo:Ii.y=Kr===cn.Down?yr.scrollTop-la.y:yr.scrollTop-va.y,Ii.y&&yr.scrollBy({top:-Ii.y,behavior:Wn});break}}this.handleMove(gt,(0,Ce.IH)((0,Ce.$X)(ri,this.referenceCoordinates),Ii))}}}handleMove(gt,Yt){const{onMove:gn}=this.props;gt.preventDefault(),gn(Yt)}handleEnd(gt){const{onEnd:Yt}=this.props;gt.preventDefault(),this.detach(),Yt()}handleCancel(gt){const{onCancel:Yt}=this.props;gt.preventDefault(),this.detach(),Yt()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}tt.activators=[{eventName:"onKeyDown",handler:(rt,gt,Yt)=>{let{keyboardCodes:gn=vt,onActivation:Yn}=gt,{active:Pt}=Yt;const{code:fn}=rt.nativeEvent;if(gn.start.includes(fn)){const Wn=Pt.activatorNode.current;return Wn&&rt.target!==Wn?!1:(rt.preventDefault(),Yn==null||Yn({event:rt.nativeEvent}),!0)}return!1}}];function ln(rt){return!!(rt&&"distance"in rt)}function dn(rt){return!!(rt&&"delay"in rt)}class An{constructor(gt,Yt,gn){var Yn;gn===void 0&&(gn=et(gt.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=gt,this.events=Yt;const{event:Pt}=gt,{target:fn}=Pt;this.props=gt,this.events=Yt,this.document=(0,Ce.r3)(fn),this.documentListeners=new bt(this.document),this.listeners=new bt(gn),this.windowListeners=new bt((0,Ce.Jj)(fn)),this.initialCoordinates=(Yn=(0,Ce.DC)(Pt))!=null?Yn:Ct,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:gt,props:{options:{activationConstraint:Yt,bypassActivationConstraint:gn}}}=this;if(this.listeners.add(gt.move.name,this.handleMove,{passive:!1}),this.listeners.add(gt.end.name,this.handleEnd),gt.cancel&&this.listeners.add(gt.cancel.name,this.handleCancel),this.windowListeners.add(Cn.Resize,this.handleCancel),this.windowListeners.add(Cn.DragStart,kt),this.windowListeners.add(Cn.VisibilityChange,this.handleCancel),this.windowListeners.add(Cn.ContextMenu,kt),this.documentListeners.add(Cn.Keydown,this.handleKeydown),Yt){if(gn!=null&&gn({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(dn(Yt)){this.timeoutId=setTimeout(this.handleStart,Yt.delay),this.handlePending(Yt);return}if(ln(Yt)){this.handlePending(Yt);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(gt,Yt){const{active:gn,onPending:Yn}=this.props;Yn(gn,gt,this.initialCoordinates,Yt)}handleStart(){const{initialCoordinates:gt}=this,{onStart:Yt}=this.props;gt&&(this.activated=!0,this.documentListeners.add(Cn.Click,Qt,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Cn.SelectionChange,this.removeTextSelection),Yt(gt))}handleMove(gt){var Yt;const{activated:gn,initialCoordinates:Yn,props:Pt}=this,{onMove:fn,options:{activationConstraint:Wn}}=Pt;if(!Yn)return;const Qn=(Yt=(0,Ce.DC)(gt))!=null?Yt:Ct,Mr=(0,Ce.$X)(Yn,Qn);if(!gn&&Wn){if(ln(Wn)){if(Wn.tolerance!=null&&Zt(Mr,Wn.tolerance))return this.handleCancel();if(Zt(Mr,Wn.distance))return this.handleStart()}if(dn(Wn)&&Zt(Mr,Wn.tolerance))return this.handleCancel();this.handlePending(Wn,Mr);return}gt.cancelable&>.preventDefault(),fn(Qn)}handleEnd(){const{onAbort:gt,onEnd:Yt}=this.props;this.detach(),this.activated||gt(this.props.active),Yt()}handleCancel(){const{onAbort:gt,onCancel:Yt}=this.props;this.detach(),this.activated||gt(this.props.active),Yt()}handleKeydown(gt){gt.code===cn.Esc&&this.handleCancel()}removeTextSelection(){var gt;(gt=this.document.getSelection())==null||gt.removeAllRanges()}}const Xn={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Gt extends An{constructor(gt){const{event:Yt}=gt,gn=(0,Ce.r3)(Yt.target);super(gt,Xn,gn)}}Gt.activators=[{eventName:"onPointerDown",handler:(rt,gt)=>{let{nativeEvent:Yt}=rt,{onActivation:gn}=gt;return!Yt.isPrimary||Yt.button!==0?!1:(gn==null||gn({event:Yt}),!0)}}];const nr={move:{name:"mousemove"},end:{name:"mouseup"}};var wr;(function(rt){rt[rt.RightClick=2]="RightClick"})(wr||(wr={}));class kr extends An{constructor(gt){super(gt,nr,(0,Ce.r3)(gt.event.target))}}kr.activators=[{eventName:"onMouseDown",handler:(rt,gt)=>{let{nativeEvent:Yt}=rt,{onActivation:gn}=gt;return Yt.button===wr.RightClick?!1:(gn==null||gn({event:Yt}),!0)}}];const rr={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class Ar extends An{constructor(gt){super(gt,rr)}static setup(){return window.addEventListener(rr.move.name,gt,{capture:!1,passive:!1}),function(){window.removeEventListener(rr.move.name,gt)};function gt(){}}}Ar.activators=[{eventName:"onTouchStart",handler:(rt,gt)=>{let{nativeEvent:Yt}=rt,{onActivation:gn}=gt;const{touches:Yn}=Yt;return Yn.length>1?!1:(gn==null||gn({event:Yt}),!0)}}];var li;(function(rt){rt[rt.Pointer=0]="Pointer",rt[rt.DraggableRect=1]="DraggableRect"})(li||(li={}));var xr;(function(rt){rt[rt.TreeOrder=0]="TreeOrder",rt[rt.ReversedTreeOrder=1]="ReversedTreeOrder"})(xr||(xr={}));function Br(rt){let{acceleration:gt,activator:Yt=li.Pointer,canScroll:gn,draggingRect:Yn,enabled:Pt,interval:fn=5,order:Wn=xr.TreeOrder,pointerCoordinates:Qn,scrollableAncestors:Mr,scrollableAncestorRects:Ci,delta:ri,threshold:ii}=rt;const Ii=Rn({delta:ri,disabled:!Pt}),[da,yr]=(0,Ce.Yz)(),Kr=(0,ne.useRef)({x:0,y:0}),Tr=(0,ne.useRef)({x:0,y:0}),Zr=(0,ne.useMemo)(()=>{switch(Yt){case li.Pointer:return Qn?{top:Qn.y,bottom:Qn.y,left:Qn.x,right:Qn.x}:null;case li.DraggableRect:return Yn}},[Yt,Yn,Qn]),wi=(0,ne.useRef)(null),ua=(0,ne.useCallback)(()=>{const va=wi.current;if(!va)return;const $i=Kr.current.x*Tr.current.x,ga=Kr.current.y*Tr.current.y;va.scrollBy($i,ga)},[]),la=(0,ne.useMemo)(()=>Wn===xr.TreeOrder?[...Mr].reverse():Mr,[Wn,Mr]);(0,ne.useEffect)(()=>{if(!Pt||!Mr.length||!Zr){yr();return}for(const va of la){if((gn==null?void 0:gn(va))===!1)continue;const $i=Mr.indexOf(va),ga=Ci[$i];if(!ga)continue;const{direction:Wa,speed:Xa}=de(va,ga,Zr,gt,ii);for(const oo of["x","y"])Ii[oo][Wa[oo]]||(Xa[oo]=0,Wa[oo]=0);if(Xa.x>0||Xa.y>0){yr(),wi.current=va,da(ua,fn),Kr.current=Xa,Tr.current=Wa;return}}Kr.current={x:0,y:0},Tr.current={x:0,y:0},yr()},[gt,ua,gn,yr,Pt,fn,JSON.stringify(Zr),JSON.stringify(Ii),da,Mr,la,Ci,JSON.stringify(ii)])}const ti={x:{[Ot.Backward]:!1,[Ot.Forward]:!1},y:{[Ot.Backward]:!1,[Ot.Forward]:!1}};function Rn(rt){let{delta:gt,disabled:Yt}=rt;const gn=(0,Ce.D9)(gt);return(0,Ce.Gj)(Yn=>{if(Yt||!gn||!Yn)return ti;const Pt={x:Math.sign(gt.x-gn.x),y:Math.sign(gt.y-gn.y)};return{x:{[Ot.Backward]:Yn.x[Ot.Backward]||Pt.x===-1,[Ot.Forward]:Yn.x[Ot.Forward]||Pt.x===1},y:{[Ot.Backward]:Yn.y[Ot.Backward]||Pt.y===-1,[Ot.Forward]:Yn.y[Ot.Forward]||Pt.y===1}}},[Yt,gt,gn])}function tn(rt,gt){const Yt=gt!=null?rt.get(gt):void 0,gn=Yt?Yt.node.current:null;return(0,Ce.Gj)(Yn=>{var Pt;return gt==null?null:(Pt=gn!=null?gn:Yn)!=null?Pt:null},[gn,gt])}function zn(rt,gt){return(0,ne.useMemo)(()=>rt.reduce((Yt,gn)=>{const{sensor:Yn}=gn,Pt=Yn.activators.map(fn=>({eventName:fn.eventName,handler:gt(fn.handler,gn)}));return[...Yt,...Pt]},[]),[rt,gt])}var er;(function(rt){rt[rt.Always=0]="Always",rt[rt.BeforeDragging=1]="BeforeDragging",rt[rt.WhileDragging=2]="WhileDragging"})(er||(er={}));var zt;(function(rt){rt.Optimized="optimized"})(zt||(zt={}));const bn=new Map;function kn(rt,gt){let{dragging:Yt,dependencies:gn,config:Yn}=gt;const[Pt,fn]=(0,ne.useState)(null),{frequency:Wn,measure:Qn,strategy:Mr}=Yn,Ci=(0,ne.useRef)(rt),ri=Kr(),ii=(0,Ce.Ey)(ri),Ii=(0,ne.useCallback)(function(Tr){Tr===void 0&&(Tr=[]),!ii.current&&fn(Zr=>Zr===null?Tr:Zr.concat(Tr.filter(wi=>!Zr.includes(wi))))},[ii]),da=(0,ne.useRef)(null),yr=(0,Ce.Gj)(Tr=>{if(ri&&!Yt)return bn;if(!Tr||Tr===bn||Ci.current!==rt||Pt!=null){const Zr=new Map;for(let wi of rt){if(!wi)continue;if(Pt&&Pt.length>0&&!Pt.includes(wi.id)&&wi.rect.current){Zr.set(wi.id,wi.rect.current);continue}const ua=wi.node.current,la=ua?new Lt(Qn(ua),ua):null;wi.rect.current=la,la&&Zr.set(wi.id,la)}return Zr}return Tr},[rt,Pt,Yt,ri,Qn]);return(0,ne.useEffect)(()=>{Ci.current=rt},[rt]),(0,ne.useEffect)(()=>{ri||Ii()},[Yt,ri]),(0,ne.useEffect)(()=>{Pt&&Pt.length>0&&fn(null)},[JSON.stringify(Pt)]),(0,ne.useEffect)(()=>{ri||typeof Wn!="number"||da.current!==null||(da.current=setTimeout(()=>{Ii(),da.current=null},Wn))},[Wn,ri,Ii,...gn]),{droppableRects:yr,measureDroppableContainers:Ii,measuringScheduled:Pt!=null};function Kr(){switch(Mr){case er.Always:return!1;case er.BeforeDragging:return Yt;default:return!Yt}}}function Tt(rt,gt){return(0,Ce.Gj)(Yt=>rt?Yt||(typeof gt=="function"?gt(rt):rt):null,[gt,rt])}function an(rt,gt){return Tt(rt,gt)}function sn(rt){let{callback:gt,disabled:Yt}=rt;const gn=(0,Ce.zX)(gt),Yn=(0,ne.useMemo)(()=>{if(Yt||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Pt}=window;return new Pt(gn)},[gn,Yt]);return(0,ne.useEffect)(()=>()=>Yn==null?void 0:Yn.disconnect(),[Yn]),Yn}function rn(rt){let{callback:gt,disabled:Yt}=rt;const gn=(0,Ce.zX)(gt),Yn=(0,ne.useMemo)(()=>{if(Yt||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Pt}=window;return new Pt(gn)},[Yt]);return(0,ne.useEffect)(()=>()=>Yn==null?void 0:Yn.disconnect(),[Yn]),Yn}function $n(rt){return new Lt(Qe(rt),rt)}function Ft(rt,gt,Yt){gt===void 0&&(gt=$n);const[gn,Yn]=(0,ne.useState)(null);function Pt(){Yn(Qn=>{if(!rt)return null;if(rt.isConnected===!1){var Mr;return(Mr=Qn!=null?Qn:Yt)!=null?Mr:null}const Ci=gt(rt);return JSON.stringify(Qn)===JSON.stringify(Ci)?Qn:Ci})}const fn=sn({callback(Qn){if(rt)for(const Mr of Qn){const{type:Ci,target:ri}=Mr;if(Ci==="childList"&&ri instanceof HTMLElement&&ri.contains(rt)){Pt();break}}}}),Wn=rn({callback:Pt});return(0,Ce.LI)(()=>{Pt(),rt?(Wn==null||Wn.observe(rt),fn==null||fn.observe(document.body,{childList:!0,subtree:!0})):(Wn==null||Wn.disconnect(),fn==null||fn.disconnect())},[rt]),gn}function Ie(rt){const gt=Tt(rt);return Dt(rt,gt)}const Xe=[];function He(rt){const gt=(0,ne.useRef)(rt),Yt=(0,Ce.Gj)(gn=>rt?gn&&gn!==Xe&&rt&>.current&&rt.parentNode===gt.current.parentNode?gn:Ht(rt):Xe,[rt]);return(0,ne.useEffect)(()=>{gt.current=rt},[rt]),Yt}function Ke(rt){const[gt,Yt]=(0,ne.useState)(null),gn=(0,ne.useRef)(rt),Yn=(0,ne.useCallback)(Pt=>{const fn=Ut(Pt.target);fn&&Yt(Wn=>Wn?(Wn.set(fn,Jt(fn)),new Map(Wn)):null)},[]);return(0,ne.useEffect)(()=>{const Pt=gn.current;if(rt!==Pt){fn(Pt);const Wn=rt.map(Qn=>{const Mr=Ut(Qn);return Mr?(Mr.addEventListener("scroll",Yn,{passive:!0}),[Mr,Jt(Mr)]):null}).filter(Qn=>Qn!=null);Yt(Wn.length?new Map(Wn):null),gn.current=rt}return()=>{fn(rt),fn(Pt)};function fn(Wn){Wn.forEach(Qn=>{const Mr=Ut(Qn);Mr==null||Mr.removeEventListener("scroll",Yn)})}},[Yn,rt]),(0,ne.useMemo)(()=>rt.length?gt?Array.from(gt.values()).reduce((Pt,fn)=>(0,Ce.IH)(Pt,fn),Ct):le(rt):Ct,[rt,gt])}function Bt(rt,gt){gt===void 0&&(gt=[]);const Yt=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{Yt.current=null},gt),(0,ne.useEffect)(()=>{const gn=rt!==Ct;gn&&!Yt.current&&(Yt.current=rt),!gn&&Yt.current&&(Yt.current=null)},[rt]),Yt.current?(0,Ce.$X)(rt,Yt.current):Ct}function dt(rt){(0,ne.useEffect)(()=>{if(!Ce.Nq)return;const gt=rt.map(Yt=>{let{sensor:gn}=Yt;return gn.setup==null?void 0:gn.setup()});return()=>{for(const Yt of gt)Yt==null||Yt()}},rt.map(gt=>{let{sensor:Yt}=gt;return Yt}))}function on(rt,gt){return(0,ne.useMemo)(()=>rt.reduce((Yt,gn)=>{let{eventName:Yn,handler:Pt}=gn;return Yt[Yn]=fn=>{Pt(fn,gt)},Yt},{}),[rt,gt])}function nn(rt){return(0,ne.useMemo)(()=>rt?Mt(rt):null,[rt])}const hn=[];function Pn(rt,gt){gt===void 0&&(gt=Qe);const[Yt]=rt,gn=nn(Yt?(0,Ce.Jj)(Yt):null),[Yn,Pt]=(0,ne.useState)(hn);function fn(){Pt(()=>rt.length?rt.map(Qn=>xe(Qn)?gn:new Lt(gt(Qn),Qn)):hn)}const Wn=rn({callback:fn});return(0,Ce.LI)(()=>{Wn==null||Wn.disconnect(),fn(),rt.forEach(Qn=>Wn==null?void 0:Wn.observe(Qn))},[rt]),Yn}function Jn(rt){if(!rt)return null;if(rt.children.length>1)return rt;const gt=rt.children[0];return(0,Ce.Re)(gt)?gt:rt}function In(rt){let{measure:gt}=rt;const[Yt,gn]=(0,ne.useState)(null),Yn=(0,ne.useCallback)(Mr=>{for(const{target:Ci}of Mr)if((0,Ce.Re)(Ci)){gn(ri=>{const ii=gt(Ci);return ri?Tl(to({},ri),{width:ii.width,height:ii.height}):ii});break}},[gt]),Pt=rn({callback:Yn}),fn=(0,ne.useCallback)(Mr=>{const Ci=Jn(Mr);Pt==null||Pt.disconnect(),Ci&&(Pt==null||Pt.observe(Ci)),gn(Ci?gt(Ci):null)},[gt,Pt]),[Wn,Qn]=(0,Ce.wm)(fn);return(0,ne.useMemo)(()=>({nodeRef:Wn,rect:Yt,setRef:Qn}),[Yt,Wn,Qn])}const Xt=[{sensor:Gt,options:{}},{sensor:tt,options:{}}],wn={current:{}},pr={draggable:{measure:Vt},droppable:{measure:Vt,strategy:er.WhileDragging,frequency:zt.Optimized},dragOverlay:{measure:Qe}};class lr extends Map{get(gt){var Yt;return gt!=null&&(Yt=super.get(gt))!=null?Yt:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(gt=>{let{disabled:Yt}=gt;return!Yt})}getNodeFor(gt){var Yt,gn;return(Yt=(gn=this.get(gt))==null?void 0:gn.node.current)!=null?Yt:void 0}}const ar={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new lr,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:nt},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:pr,measureDroppableContainers:nt,windowRect:null,measuringScheduled:!1},dr={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:nt,draggableNodes:new Map,over:null,measureDroppableContainers:nt},Ir=(0,ne.createContext)(dr),tr=(0,ne.createContext)(ar);function Yr(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new lr}}}function _t(rt,gt){switch(gt.type){case Ge.DragStart:return Tl(to({},rt),{draggable:Tl(to({},rt.draggable),{initialCoordinates:gt.initialCoordinates,active:gt.active})});case Ge.DragMove:return rt.draggable.active==null?rt:Tl(to({},rt),{draggable:Tl(to({},rt.draggable),{translate:{x:gt.coordinates.x-rt.draggable.initialCoordinates.x,y:gt.coordinates.y-rt.draggable.initialCoordinates.y}})});case Ge.DragEnd:case Ge.DragCancel:return Tl(to({},rt),{draggable:Tl(to({},rt.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case Ge.RegisterDroppable:{const{element:Yt}=gt,{id:gn}=Yt,Yn=new lr(rt.droppable.containers);return Yn.set(gn,Yt),Tl(to({},rt),{droppable:Tl(to({},rt.droppable),{containers:Yn})})}case Ge.SetDroppableDisabled:{const{id:Yt,key:gn,disabled:Yn}=gt,Pt=rt.droppable.containers.get(Yt);if(!Pt||gn!==Pt.key)return rt;const fn=new lr(rt.droppable.containers);return fn.set(Yt,Tl(to({},Pt),{disabled:Yn})),Tl(to({},rt),{droppable:Tl(to({},rt.droppable),{containers:fn})})}case Ge.UnregisterDroppable:{const{id:Yt,key:gn}=gt,Yn=rt.droppable.containers.get(Yt);if(!Yn||gn!==Yn.key)return rt;const Pt=new lr(rt.droppable.containers);return Pt.delete(Yt),Tl(to({},rt),{droppable:Tl(to({},rt.droppable),{containers:Pt})})}default:return rt}}function xn(rt){let{disabled:gt}=rt;const{active:Yt,activatorEvent:gn,draggableNodes:Yn}=(0,ne.useContext)(Ir),Pt=(0,Ce.D9)(gn),fn=(0,Ce.D9)(Yt==null?void 0:Yt.id);return(0,ne.useEffect)(()=>{if(!gt&&!gn&&Pt&&fn!=null){if(!(0,Ce.vd)(Pt)||document.activeElement===Pt.target)return;const Wn=Yn.get(fn);if(!Wn)return;const{activatorNode:Qn,node:Mr}=Wn;if(!Qn.current&&!Mr.current)return;requestAnimationFrame(()=>{for(const Ci of[Qn.current,Mr.current]){if(!Ci)continue;const ri=(0,Ce.so)(Ci);if(ri){ri.focus();break}}})}},[gn,gt,Yn,fn,Pt]),null}function Dn(rt,gt){let Yn=gt,{transform:Yt}=Yn,gn=ch(Yn,["transform"]);return rt!=null&&rt.length?rt.reduce((Pt,fn)=>fn(to({transform:Pt},gn)),Yt):Yt}function Un(rt){return(0,ne.useMemo)(()=>({draggable:to(to({},pr.draggable),rt==null?void 0:rt.draggable),droppable:to(to({},pr.droppable),rt==null?void 0:rt.droppable),dragOverlay:to(to({},pr.dragOverlay),rt==null?void 0:rt.dragOverlay)}),[rt==null?void 0:rt.draggable,rt==null?void 0:rt.droppable,rt==null?void 0:rt.dragOverlay])}function Bn(rt){let{activeNode:gt,measure:Yt,initialRect:gn,config:Yn=!0}=rt;const Pt=(0,ne.useRef)(!1),{x:fn,y:Wn}=typeof Yn=="boolean"?{x:Yn,y:Yn}:Yn;(0,Ce.LI)(()=>{if(!fn&&!Wn||!gt){Pt.current=!1;return}if(Pt.current||!gn)return;const Mr=gt==null?void 0:gt.node.current;if(!Mr||Mr.isConnected===!1)return;const Ci=Yt(Mr),ri=Dt(Ci,gn);if(fn||(ri.x=0),Wn||(ri.y=0),Pt.current=!0,Math.abs(ri.x)>0||Math.abs(ri.y)>0){const ii=yn(Mr);ii&&ii.scrollBy({top:ri.y,left:ri.x})}},[gt,fn,Wn,gn,Yt])}const Vn=(0,ne.createContext)(Tl(to({},Ct),{scaleX:1,scaleY:1}));var Nn;(function(rt){rt[rt.Uninitialized=0]="Uninitialized",rt[rt.Initializing=1]="Initializing",rt[rt.Initialized=2]="Initialized"})(Nn||(Nn={}));const ir=(0,ne.memo)(function(gt){var Yt,gn,Yn,Pt;let Vl=gt,{id:fn,accessibility:Wn,autoScroll:Qn=!0,children:Mr,sensors:Ci=Xt,collisionDetection:ri=Te,measuring:ii,modifiers:Ii}=Vl,da=ch(Vl,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const yr=(0,ne.useReducer)(_t,void 0,Yr),[Kr,Tr]=yr,[Zr,wi]=Re(),[ua,la]=(0,ne.useState)(Nn.Uninitialized),va=ua===Nn.Initialized,{draggable:{active:$i,nodes:ga,translate:Wa},droppable:{containers:Xa}}=Kr,oo=$i!=null?ga.get($i):null,yo=(0,ne.useRef)({initial:null,translated:null}),so=(0,ne.useMemo)(()=>{var fl;return $i!=null?{id:$i,data:(fl=oo==null?void 0:oo.data)!=null?fl:wn,rect:yo}:null},[$i,oo]),sl=(0,ne.useRef)(null),[ja,Va]=(0,ne.useState)(null),[Gn,Hn]=(0,ne.useState)(null),Fn=(0,Ce.Ey)(da,Object.values(da)),gr=(0,Ce.Ld)("DndDescribedBy",fn),Rr=(0,ne.useMemo)(()=>Xa.getEnabled(),[Xa]),Or=Un(ii),{droppableRects:ur,measureDroppableContainers:ci,measuringScheduled:_i}=kn(Rr,{dragging:va,dependencies:[Wa.x,Wa.y],config:Or.droppable}),Ji=tn(ga,$i),Zi=(0,ne.useMemo)(()=>Gn?(0,Ce.DC)(Gn):null,[Gn]),di=ps(),Vi=an(Ji,Or.draggable.measure);Bn({activeNode:$i!=null?ga.get($i):null,config:di.layoutShiftCompensation,initialRect:Vi,measure:Or.draggable.measure});const Hi=Ft(Ji,Or.draggable.measure,Vi),La=Ft(Ji?Ji.parentElement:null),Yi=(0,ne.useRef)({activatorEvent:null,active:null,activeNode:Ji,collisionRect:null,collisions:null,droppableRects:ur,draggableNodes:ga,draggingNode:null,draggingNodeRect:null,droppableContainers:Xa,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ra=Xa.getNodeFor((Yt=Yi.current.over)==null?void 0:Yt.id),Ia=In({measure:Or.dragOverlay.measure}),io=(gn=Ia.nodeRef.current)!=null?gn:Ji,po=va?(Yn=Ia.rect)!=null?Yn:Hi:null,il=!!(Ia.nodeRef.current&&Ia.rect),wl=Ie(il?null:Hi),Bs=nn(io?(0,Ce.Jj)(io):null),ul=He(va?ra!=null?ra:Ji:null),cl=Pn(ul),Jo=Dn(Ii,{transform:{x:Wa.x-wl.x,y:Wa.y-wl.y,scaleX:1,scaleY:1},activatorEvent:Gn,active:so,activeNodeRect:Hi,containerNodeRect:La,draggingNodeRect:po,over:Yi.current.over,overlayNodeRect:Ia.rect,scrollableAncestors:ul,scrollableAncestorRects:cl,windowRect:Bs}),hs=Zi?(0,Ce.IH)(Zi,Wa):null,Bl=Ke(ul),ts=Bt(Bl),Rs=Bt(Bl,[Hi]),_l=(0,Ce.IH)(Jo,ts),_o=po?wt(po,Jo):null,Io=so&&_o?ri({active:so,collisionRect:_o,droppableRects:ur,droppableContainers:Rr,pointerCoordinates:hs}):null,bo=it(Io,"id"),[Rl,Us]=(0,ne.useState)(null),zl=il?Jo:(0,Ce.IH)(Jo,Rs),uo=Rt(zl,(Pt=Rl==null?void 0:Rl.rect)!=null?Pt:null,Hi),no=(0,ne.useRef)(null),jo=(0,ne.useCallback)((fl,ml)=>{let{sensor:$o,options:js}=ml;if(sl.current==null)return;const Pl=ga.get(sl.current);if(!Pl)return;const Hl=fl.nativeEvent,ns=new $o({active:sl.current,activeNode:Pl,event:Hl,options:js,context:Yi,onAbort(Sl){if(!ga.get(Sl))return;const{onDragAbort:rs}=Fn.current,Cs={id:Sl};rs==null||rs(Cs),Zr({type:"onDragAbort",event:Cs})},onPending(Sl,eu,rs,Cs){if(!ga.get(Sl))return;const{onDragPending:Hs}=Fn.current,mo={id:Sl,constraint:eu,initialCoordinates:rs,offset:Cs};Hs==null||Hs(mo),Zr({type:"onDragPending",event:mo})},onStart(Sl){const eu=sl.current;if(eu==null)return;const rs=ga.get(eu);if(!rs)return;const{onDragStart:Cs}=Fn.current,Ps={activatorEvent:Hl,active:{id:eu,data:rs.data,rect:yo}};(0,be.unstable_batchedUpdates)(()=>{Cs==null||Cs(Ps),la(Nn.Initializing),Tr({type:Ge.DragStart,initialCoordinates:Sl,active:eu}),Zr({type:"onDragStart",event:Ps}),Va(no.current),Hn(Hl)})},onMove(Sl){Tr({type:Ge.DragMove,coordinates:Sl})},onEnd:zs(Ge.DragEnd),onCancel:zs(Ge.DragCancel)});no.current=ns;function zs(Sl){return function(){return jc(this,null,function*(){const{active:rs,collisions:Cs,over:Ps,scrollAdjustedTranslate:Hs}=Yi.current;let mo=null;if(rs&&Hs){const{cancelDrop:Mo}=Fn.current;mo={activatorEvent:Hl,active:rs,collisions:Cs,delta:Hs,over:Ps},Sl===Ge.DragEnd&&typeof Mo=="function"&&(yield Promise.resolve(Mo(mo)))&&(Sl=Ge.DragCancel)}sl.current=null,(0,be.unstable_batchedUpdates)(()=>{Tr({type:Sl}),la(Nn.Uninitialized),Us(null),Va(null),Hn(null),no.current=null;const Mo=Sl===Ge.DragEnd?"onDragEnd":"onDragCancel";if(mo){const Vo=Fn.current[Mo];Vo==null||Vo(mo),Zr({type:Mo,event:mo})}})})}}},[ga]),dl=(0,ne.useCallback)((fl,ml)=>($o,js)=>{const Pl=$o.nativeEvent,Hl=ga.get(js);if(sl.current!==null||!Hl||Pl.dndKit||Pl.defaultPrevented)return;const ns={active:Hl};fl($o,ml.options,ns)===!0&&(Pl.dndKit={capturedBy:ml.sensor},sl.current=js,jo($o,ml))},[ga,jo]),qo=zn(Ci,dl);dt(Ci),(0,Ce.LI)(()=>{Hi&&ua===Nn.Initializing&&la(Nn.Initialized)},[Hi,ua]),(0,ne.useEffect)(()=>{const{onDragMove:fl}=Fn.current,{active:ml,activatorEvent:$o,collisions:js,over:Pl}=Yi.current;if(!ml||!$o)return;const Hl={active:ml,activatorEvent:$o,collisions:js,delta:{x:_l.x,y:_l.y},over:Pl};(0,be.unstable_batchedUpdates)(()=>{fl==null||fl(Hl),Zr({type:"onDragMove",event:Hl})})},[_l.x,_l.y]),(0,ne.useEffect)(()=>{const{active:fl,activatorEvent:ml,collisions:$o,droppableContainers:js,scrollAdjustedTranslate:Pl}=Yi.current;if(!fl||sl.current==null||!ml||!Pl)return;const{onDragOver:Hl}=Fn.current,ns=js.get(bo),zs=ns&&ns.rect.current?{id:ns.id,rect:ns.rect.current,data:ns.data,disabled:ns.disabled}:null,Sl={active:fl,activatorEvent:ml,collisions:$o,delta:{x:Pl.x,y:Pl.y},over:zs};(0,be.unstable_batchedUpdates)(()=>{Us(zs),Hl==null||Hl(Sl),Zr({type:"onDragOver",event:Sl})})},[bo]),(0,Ce.LI)(()=>{Yi.current={activatorEvent:Gn,active:so,activeNode:Ji,collisionRect:_o,collisions:Io,droppableRects:ur,draggableNodes:ga,draggingNode:io,draggingNodeRect:po,droppableContainers:Xa,over:Rl,scrollableAncestors:ul,scrollAdjustedTranslate:_l},yo.current={initial:po,translated:_o}},[so,Ji,Io,_o,ga,io,po,ur,Xa,Rl,ul,_l]),Br(Tl(to({},di),{delta:Wa,draggingRect:_o,pointerCoordinates:hs,scrollableAncestors:ul,scrollableAncestorRects:cl}));const jl=(0,ne.useMemo)(()=>({active:so,activeNode:Ji,activeNodeRect:Hi,activatorEvent:Gn,collisions:Io,containerNodeRect:La,dragOverlay:Ia,draggableNodes:ga,droppableContainers:Xa,droppableRects:ur,over:Rl,measureDroppableContainers:ci,scrollableAncestors:ul,scrollableAncestorRects:cl,measuringConfiguration:Or,measuringScheduled:_i,windowRect:Bs}),[so,Ji,Hi,Gn,Io,La,Ia,ga,Xa,ur,Rl,ci,ul,cl,Or,_i,Bs]),Jl=(0,ne.useMemo)(()=>({activatorEvent:Gn,activators:qo,active:so,activeNodeRect:Hi,ariaDescribedById:{draggable:gr},dispatch:Tr,draggableNodes:ga,over:Rl,measureDroppableContainers:ci}),[Gn,qo,so,Hi,Tr,gr,ga,Rl,ci]);return ne.createElement(ye.Provider,{value:wi},ne.createElement(Ir.Provider,{value:Jl},ne.createElement(tr.Provider,{value:jl},ne.createElement(Vn.Provider,{value:uo},Mr)),ne.createElement(xn,{disabled:(Wn==null?void 0:Wn.restoreFocus)===!1})),ne.createElement(Le,Tl(to({},Wn),{hiddenTextDescribedById:gr})));function ps(){const fl=(ja==null?void 0:ja.autoScrollEnabled)===!1,ml=typeof Qn=="object"?Qn.enabled===!1:Qn===!1,$o=va&&!fl&&!ml;return typeof Qn=="object"?Tl(to({},Qn),{enabled:$o}):{enabled:$o}}}),Cr=(0,ne.createContext)(null),Nr="button",ai="Draggable";function si(rt){let{id:gt,data:Yt,disabled:gn=!1,attributes:Yn}=rt;const Pt=(0,Ce.Ld)(ai),{activators:fn,activatorEvent:Wn,active:Qn,activeNodeRect:Mr,ariaDescribedById:Ci,draggableNodes:ri,over:ii}=(0,ne.useContext)(Ir),{role:Ii=Nr,roleDescription:da="draggable",tabIndex:yr=0}=Yn!=null?Yn:{},Kr=(Qn==null?void 0:Qn.id)===gt,Tr=(0,ne.useContext)(Kr?Vn:Cr),[Zr,wi]=(0,Ce.wm)(),[ua,la]=(0,Ce.wm)(),va=on(fn,gt),$i=(0,Ce.Ey)(Yt);(0,Ce.LI)(()=>(ri.set(gt,{id:gt,key:Pt,node:Zr,activatorNode:ua,data:$i}),()=>{const Wa=ri.get(gt);Wa&&Wa.key===Pt&&ri.delete(gt)}),[ri,gt]);const ga=(0,ne.useMemo)(()=>({role:Ii,tabIndex:yr,"aria-disabled":gn,"aria-pressed":Kr&&Ii===Nr?!0:void 0,"aria-roledescription":da,"aria-describedby":Ci.draggable}),[gn,Ii,yr,Kr,da,Ci.draggable]);return{active:Qn,activatorEvent:Wn,activeNodeRect:Mr,attributes:ga,isDragging:Kr,listeners:gn?void 0:va,node:Zr,over:ii,setNodeRef:wi,setActivatorNodeRef:la,transform:Tr}}function mi(){return(0,ne.useContext)(tr)}const br="Droppable",Hr={timeout:25};function Lr(rt){let{data:gt,disabled:Yt=!1,id:gn,resizeObserverConfig:Yn}=rt;const Pt=(0,Ce.Ld)(br),{active:fn,dispatch:Wn,over:Qn,measureDroppableContainers:Mr}=(0,ne.useContext)(Ir),Ci=(0,ne.useRef)({disabled:Yt}),ri=(0,ne.useRef)(!1),ii=(0,ne.useRef)(null),Ii=(0,ne.useRef)(null),{disabled:da,updateMeasurementsFor:yr,timeout:Kr}=to(to({},Hr),Yn),Tr=(0,Ce.Ey)(yr!=null?yr:gn),Zr=(0,ne.useCallback)(()=>{if(!ri.current){ri.current=!0;return}Ii.current!=null&&clearTimeout(Ii.current),Ii.current=setTimeout(()=>{Mr(Array.isArray(Tr.current)?Tr.current:[Tr.current]),Ii.current=null},Kr)},[Kr]),wi=rn({callback:Zr,disabled:da||!fn}),ua=(0,ne.useCallback)((ga,Wa)=>{wi&&(Wa&&(wi.unobserve(Wa),ri.current=!1),ga&&wi.observe(ga))},[wi]),[la,va]=(0,Ce.wm)(ua),$i=(0,Ce.Ey)(gt);return(0,ne.useEffect)(()=>{!wi||!la.current||(wi.disconnect(),ri.current=!1,wi.observe(la.current))},[la,wi]),(0,ne.useEffect)(()=>(Wn({type:Ge.RegisterDroppable,element:{id:gn,key:Pt,disabled:Yt,node:la,rect:ii,data:$i}}),()=>Wn({type:Ge.UnregisterDroppable,key:Pt,id:gn})),[gn]),(0,ne.useEffect)(()=>{Yt!==Ci.current.disabled&&(Wn({type:Ge.SetDroppableDisabled,id:gn,key:Pt,disabled:Yt}),Ci.current.disabled=Yt)},[gn,Pt,Yt,Wn]),{active:fn,rect:ii,isOver:(Qn==null?void 0:Qn.id)===gn,node:la,over:Qn,setNodeRef:va}}function ni(rt){let{animation:gt,children:Yt}=rt;const[gn,Yn]=useState(null),[Pt,fn]=useState(null),Wn=usePrevious(Yt);return!Yt&&!gn&&Wn&&Yn(Wn),useIsomorphicLayoutEffect(()=>{if(!Pt)return;const Qn=gn==null?void 0:gn.key,Mr=gn==null?void 0:gn.props.id;if(Qn==null||Mr==null){Yn(null);return}Promise.resolve(gt(Mr,Pt)).then(()=>{Yn(null)})},[gt,gn,Pt]),React.createElement(React.Fragment,null,Yt,gn?cloneElement(gn,{ref:fn}):null)}const $r={x:0,y:0,scaleX:1,scaleY:1};function Fr(rt){let{children:gt}=rt;return React.createElement(Ir.Provider,{value:dr},React.createElement(Vn.Provider,{value:$r},gt))}const Vr={position:"fixed",touchAction:"none"},ei=rt=>isKeyboardEvent(rt)?"transform 250ms ease":void 0,_r=null,hi={duration:250,easing:"ease",keyframes:rt=>{let{transform:{initial:gt,final:Yt}}=rt;return[{transform:Ce.ux.Transform.toString(gt)},{transform:Ce.ux.Transform.toString(Yt)}]},sideEffects:(rt=>gt=>{let{active:Yt,dragOverlay:gn}=gt;const Yn={},{styles:Pt,className:fn}=rt;if(Pt!=null&&Pt.active)for(const[Wn,Qn]of Object.entries(Pt.active))Qn!==void 0&&(Yn[Wn]=Yt.node.style.getPropertyValue(Wn),Yt.node.style.setProperty(Wn,Qn));if(Pt!=null&&Pt.dragOverlay)for(const[Wn,Qn]of Object.entries(Pt.dragOverlay))Qn!==void 0&&gn.node.style.setProperty(Wn,Qn);return fn!=null&&fn.active&&Yt.node.classList.add(fn.active),fn!=null&&fn.dragOverlay&&gn.node.classList.add(fn.dragOverlay),function(){for(const[Qn,Mr]of Object.entries(Yn))Yt.node.style.setProperty(Qn,Mr);fn!=null&&fn.active&&Yt.node.classList.remove(fn.active)}})({styles:{active:{opacity:"0"}}})};function Dr(rt){let{config:gt,draggableNodes:Yt,droppableContainers:gn,measuringConfiguration:Yn}=rt;return useEvent((Pt,fn)=>{if(gt===null)return;const Wn=Yt.get(Pt);if(!Wn)return;const Qn=Wn.node.current;if(!Qn)return;const Mr=Jn(fn);if(!Mr)return;const{transform:Ci}=getWindow(fn).getComputedStyle(fn),ri=It(Ci);if(!ri)return;const ii=typeof gt=="function"?gt:or(gt);return Ze(Qn,Yn.draggable.measure),ii({active:{id:Pt,data:Wn.data,node:Qn,rect:Yn.draggable.measure(Qn)},draggableNodes:Yt,dragOverlay:{node:fn,rect:Yn.dragOverlay.measure(Mr)},droppableContainers:gn,measuringConfiguration:Yn,transform:ri})})}function or(rt){const{duration:gt,easing:Yt,sideEffects:gn,keyframes:Yn}=to(to({},hi),rt);return Pt=>{let Zr=Pt,{active:fn,dragOverlay:Wn,transform:Qn}=Zr,Mr=ch(Zr,["active","dragOverlay","transform"]);if(!gt)return;const Ci={x:Wn.rect.left-fn.rect.left,y:Wn.rect.top-fn.rect.top},ri={scaleX:Qn.scaleX!==1?fn.rect.width*Qn.scaleX/Wn.rect.width:1,scaleY:Qn.scaleY!==1?fn.rect.height*Qn.scaleY/Wn.rect.height:1},ii=to({x:Qn.x-Ci.x,y:Qn.y-Ci.y},ri),Ii=Yn(Tl(to({},Mr),{active:fn,dragOverlay:Wn,transform:{initial:Qn,final:ii}})),[da]=Ii,yr=Ii[Ii.length-1];if(JSON.stringify(da)===JSON.stringify(yr))return;const Kr=gn==null?void 0:gn(to({active:fn,dragOverlay:Wn},Mr)),Tr=Wn.node.animate(Ii,{duration:gt,easing:Yt,fill:"forwards"});return new Promise(wi=>{Tr.onfinish=()=>{Kr==null||Kr(),wi()}})}}let ui=0;function gi(rt){return useMemo(()=>{if(rt!=null)return ui++,ui},[rt])}const Pi=null},18257:function(Ln,pn,ie){"use strict";ie.d(pn,{DL:function(){return pe}});var ne=ie(35241);function be(Re){return ht=>{let{transform:ke}=ht;return Tl(to({},ke),{x:Math.ceil(ke.x/Re)*Re,y:Math.ceil(ke.y/Re)*Re})}}const Ce=Re=>{let{transform:ht}=Re;return Tl(to({},ht),{y:0})};function yt(Re,ht,ke){const Le=to({},Re);return ht.top+Re.y<=ke.top?Le.y=ke.top-ht.top:ht.bottom+Re.y>=ke.top+ke.height&&(Le.y=ke.top+ke.height-ht.bottom),ht.left+Re.x<=ke.left?Le.x=ke.left-ht.left:ht.right+Re.x>=ke.left+ke.width&&(Le.x=ke.left+ke.width-ht.right),Le}const Se=Re=>{let{containerNodeRect:ht,draggingNodeRect:ke,transform:Le}=Re;return!ke||!ht?Le:yt(Le,ke,ht)},Ae=Re=>{let{draggingNodeRect:ht,transform:ke,scrollableAncestorRects:Le}=Re;const Ge=Le[0];return!ht||!Ge?ke:yt(ke,ht,Ge)},pe=Re=>{let{transform:ht}=Re;return Tl(to({},ht),{x:0})},ye=Re=>{let{transform:ht,draggingNodeRect:ke,windowRect:Le}=Re;return!ke||!Le?ht:yt(ht,ke,Le)},Ee=Re=>{let{activatorEvent:ht,draggingNodeRect:ke,transform:Le}=Re;if(ke&&ht){const Ge=getEventCoordinates(ht);if(!Ge)return Le;const nt=Ge.x-ke.left,ct=Ge.y-ke.top;return Tl(to({},Le),{x:Le.x+nt-ke.width/2,y:Le.y+ct-ke.height/2})}return Le}},19719:function(Ln,pn,ie){"use strict";ie.d(pn,{Fo:function(){return ft},PG:function(){return ht},Rp:function(){return yt},nB:function(){return mt},qw:function(){return ct}});var ne=ie(59301),be=ie(87954),Ce=ie(35241);function yt(wt,It,We){const ve=wt.slice();return ve.splice(We<0?ve.length+We:We,0,ve.splice(It,1)[0]),ve}function Se(wt,It,We){const ve=wt.slice();return ve[It]=wt[We],ve[We]=wt[It],ve}function Ae(wt,It){return wt.reduce((We,ve,Qe)=>{const Vt=It.get(ve);return Vt&&(We[Qe]=Vt),We},Array(wt.length))}function pe(wt){return wt!==null&&wt>=0}function ye(wt,It){if(wt===It)return!0;if(wt.length!==It.length)return!1;for(let We=0;We<wt.length;We++)if(wt[We]!==It[We])return!1;return!0}function Ee(wt){return typeof wt=="boolean"?{draggable:wt,droppable:wt}:wt}const Re={scaleX:1,scaleY:1},ht=wt=>{var It;let{rects:We,activeNodeRect:ve,activeIndex:Qe,overIndex:Vt,index:Mt}=wt;const Ue=(It=We[Qe])!=null?It:ve;if(!Ue)return null;const st=ke(We,Mt,Qe);if(Mt===Qe){const Ht=We[Vt];return Ht?to({x:Qe<Vt?Ht.left+Ht.width-(Ue.left+Ue.width):Ht.left-Ue.left,y:0},Re):null}return Mt>Qe&&Mt<=Vt?to({x:-Ue.width-st,y:0},Re):Mt<Qe&&Mt>=Vt?to({x:Ue.width+st,y:0},Re):to({x:0,y:0},Re)};function ke(wt,It,We){const ve=wt[It],Qe=wt[It-1],Vt=wt[It+1];return!ve||!Qe&&!Vt?0:We<It?Qe?ve.left-(Qe.left+Qe.width):Vt.left-(ve.left+ve.width):Vt?Vt.left-(ve.left+ve.width):ve.left-(Qe.left+Qe.width)}const Le=wt=>{let{rects:It,activeIndex:We,overIndex:ve,index:Qe}=wt;const Vt=yt(It,ve,We),Mt=It[Qe],Ue=Vt[Qe];return!Ue||!Mt?null:{x:Ue.left-Mt.left,y:Ue.top-Mt.top,scaleX:Ue.width/Mt.width,scaleY:Ue.height/Mt.height}},Ge=wt=>{let{activeIndex:It,index:We,rects:ve,overIndex:Qe}=wt,Vt,Mt;return We===It&&(Vt=ve[We],Mt=ve[Qe]),We===Qe&&(Vt=ve[We],Mt=ve[It]),!Mt||!Vt?null:{x:Mt.left-Vt.left,y:Mt.top-Vt.top,scaleX:Mt.width/Vt.width,scaleY:Mt.height/Vt.height}},nt={scaleX:1,scaleY:1},ct=wt=>{var It;let{activeIndex:We,activeNodeRect:ve,index:Qe,rects:Vt,overIndex:Mt}=wt;const Ue=(It=Vt[We])!=null?It:ve;if(!Ue)return null;if(Qe===We){const Ht=Vt[Mt];return Ht?to({x:0,y:We<Mt?Ht.top+Ht.height-(Ue.top+Ue.height):Ht.top-Ue.top},nt):null}const st=Et(Vt,Qe,We);return Qe>We&&Qe<=Mt?to({x:0,y:-Ue.height-st},nt):Qe<We&&Qe>=Mt?to({x:0,y:Ue.height+st},nt):to({x:0,y:0},nt)};function Et(wt,It,We){const ve=wt[It],Qe=wt[It-1],Vt=wt[It+1];return ve?We<It?Qe?ve.top-(Qe.top+Qe.height):Vt?Vt.top-(ve.top+ve.height):0:Vt?Vt.top-(ve.top+ve.height):Qe?ve.top-(Qe.top+Qe.height):0:0}const Ct="Sortable",Wt=ne.createContext({activeIndex:-1,containerId:Ct,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Le,disabled:{draggable:!1,droppable:!1}});function ft(wt){let{children:It,id:We,items:ve,strategy:Qe=Le,disabled:Vt=!1}=wt;const{active:Mt,dragOverlay:Ue,droppableRects:st,over:Ht,measureDroppableContainers:yn}=(0,be.Cj)(),Ut=(0,Ce.Ld)(Ct,We),Sn=Ue.rect!==null,jt=(0,ne.useMemo)(()=>ve.map(Fe=>typeof Fe=="object"&&"id"in Fe?Fe.id:Fe),[ve]),Jt=Mt!=null,Ot=Mt?jt.indexOf(Mt.id):-1,xe=Ht?jt.indexOf(Ht.id):-1,ce=(0,ne.useRef)(jt),ue=!ye(jt,ce.current),de=xe!==-1&&Ot===-1||ue,fe=Ee(Vt);(0,Ce.LI)(()=>{ue&&Jt&&yn(jt)},[ue,jt,Jt,yn]),(0,ne.useEffect)(()=>{ce.current=jt},[jt]);const le=(0,ne.useMemo)(()=>({activeIndex:Ot,containerId:Ut,disabled:fe,disableTransforms:de,items:jt,overIndex:xe,useDragOverlay:Sn,sortedRects:Ae(jt,st),strategy:Qe}),[Ot,Ut,fe.draggable,fe.droppable,de,jt,xe,st,Sn,Qe]);return ne.createElement(Wt.Provider,{value:le},It)}const pt=wt=>{let{id:It,items:We,activeIndex:ve,overIndex:Qe}=wt;return yt(We,ve,Qe).indexOf(It)},ze=wt=>{let{containerId:It,isSorting:We,wasDragging:ve,index:Qe,items:Vt,newIndex:Mt,previousItems:Ue,previousContainerId:st,transition:Ht}=wt;return!Ht||!ve||Ue!==Vt&&Qe===Mt?!1:We?!0:Mt!==Qe&&It===st},he={duration:200,easing:"ease"},it="transform",ot=Ce.ux.Transition.toString({property:it,duration:0,easing:"linear"}),ut={roleDescription:"sortable"};function Je(wt){let{disabled:It,index:We,node:ve,rect:Qe}=wt;const[Vt,Mt]=(0,ne.useState)(null),Ue=(0,ne.useRef)(We);return(0,Ce.LI)(()=>{if(!It&&We!==Ue.current&&ve.current){const st=Qe.current;if(st){const Ht=(0,be.VK)(ve.current,{ignoreTransform:!0}),yn={x:st.left-Ht.left,y:st.top-Ht.top,scaleX:st.width/Ht.width,scaleY:st.height/Ht.height};(yn.x||yn.y)&&Mt(yn)}}We!==Ue.current&&(Ue.current=We)},[It,We,ve,Qe]),(0,ne.useEffect)(()=>{Vt&&Mt(null)},[Vt]),Vt}function mt(wt){let{animateLayoutChanges:It=ze,attributes:We,disabled:ve,data:Qe,getNewIndex:Vt=pt,id:Mt,strategy:Ue,resizeObserverConfig:st,transition:Ht=he}=wt;const{items:yn,containerId:Ut,activeIndex:Sn,disabled:jt,disableTransforms:Jt,sortedRects:Ot,overIndex:xe,useDragOverlay:ce,strategy:ue}=(0,ne.useContext)(Wt),de=Te(ve,jt),fe=yn.indexOf(Mt),le=(0,ne.useMemo)(()=>to({sortable:{containerId:Ut,index:fe,items:yn}},Qe),[Ut,Qe,fe,yn]),Fe=(0,ne.useMemo)(()=>yn.slice(yn.indexOf(Mt)),[yn,Mt]),{rect:at,node:Ze,isOver:Me,setNodeRef:Lt}=(0,be.Zj)({id:Mt,data:le,disabled:de.droppable,resizeObserverConfig:to({updateMeasurementsFor:Fe},st)}),{active:bt,activatorEvent:et,activeNodeRect:Zt,attributes:Cn,setNodeRef:kt,listeners:Qt,isDragging:cn,over:vt,setActivatorNodeRef:Oe,transform:tt}=(0,be.O1)({id:Mt,data:le,attributes:to(to({},ut),We),disabled:de.draggable}),ln=(0,Ce.HB)(Lt,kt),dn=!!bt,An=dn&&!Jt&&pe(Sn)&&pe(xe),Xn=!ce&&cn,Gt=Xn&&An?tt:null,nr=Ue!=null?Ue:ue,wr=An?Gt!=null?Gt:nr({rects:Ot,activeNodeRect:Zt,activeIndex:Sn,overIndex:xe,index:fe}):null,kr=pe(Sn)&&pe(xe)?Vt({id:Mt,items:yn,activeIndex:Sn,overIndex:xe}):fe,rr=bt==null?void 0:bt.id,Ar=(0,ne.useRef)({activeId:rr,items:yn,newIndex:kr,containerId:Ut}),li=yn!==Ar.current.items,xr=It({active:bt,containerId:Ut,isDragging:cn,isSorting:dn,id:Mt,index:fe,items:yn,newIndex:Ar.current.newIndex,previousItems:Ar.current.items,previousContainerId:Ar.current.containerId,transition:Ht,wasDragging:Ar.current.activeId!=null}),Br=Je({disabled:!xr,index:fe,node:Ze,rect:at});return(0,ne.useEffect)(()=>{dn&&Ar.current.newIndex!==kr&&(Ar.current.newIndex=kr),Ut!==Ar.current.containerId&&(Ar.current.containerId=Ut),yn!==Ar.current.items&&(Ar.current.items=yn)},[dn,kr,Ut,yn]),(0,ne.useEffect)(()=>{if(rr===Ar.current.activeId)return;if(rr&&!Ar.current.activeId){Ar.current.activeId=rr;return}const Rn=setTimeout(()=>{Ar.current.activeId=rr},50);return()=>clearTimeout(Rn)},[rr]),{active:bt,activeIndex:Sn,attributes:Cn,data:le,rect:at,index:fe,newIndex:kr,items:yn,isOver:Me,isSorting:dn,isDragging:cn,listeners:Qt,node:Ze,overIndex:xe,over:vt,setNodeRef:ln,setActivatorNodeRef:Oe,setDroppableNodeRef:Lt,setDraggableNodeRef:kt,transform:Br!=null?Br:wr,transition:ti()};function ti(){if(Br||li&&Ar.current.newIndex===fe)return ot;if(!(Xn&&!(0,Ce.vd)(et)||!Ht)&&(dn||xr))return Ce.ux.Transition.toString(Tl(to({},Ht),{property:it}))}}function Te(wt,It){var We,ve;return typeof wt=="boolean"?{draggable:wt,droppable:!1}:{draggable:(We=wt==null?void 0:wt.draggable)!=null?We:It.draggable,droppable:(ve=wt==null?void 0:wt.droppable)!=null?ve:It.droppable}}function xt(wt){if(!wt)return!1;const It=wt.data.current;return!!(It&&"sortable"in It&&typeof It.sortable=="object"&&"containerId"in It.sortable&&"items"in It.sortable&&"index"in It.sortable)}const Ne=[be.g4.Down,be.g4.Right,be.g4.Up,be.g4.Left],Rt=(wt,It)=>{let{context:{active:We,collisionRect:ve,droppableRects:Qe,droppableContainers:Vt,over:Mt,scrollableAncestors:Ue}}=It;if(Ne.includes(wt.code)){if(wt.preventDefault(),!We||!ve)return;const st=[];Vt.getEnabled().forEach(Ut=>{if(!Ut||Ut!=null&&Ut.disabled)return;const Sn=Qe.get(Ut.id);if(Sn)switch(wt.code){case KeyboardCode.Down:ve.top<Sn.top&&st.push(Ut);break;case KeyboardCode.Up:ve.top>Sn.top&&st.push(Ut);break;case KeyboardCode.Left:ve.left>Sn.left&&st.push(Ut);break;case KeyboardCode.Right:ve.left<Sn.left&&st.push(Ut);break}});const Ht=closestCorners({active:We,collisionRect:ve,droppableRects:Qe,droppableContainers:st,pointerCoordinates:null});let yn=getFirstCollision(Ht,"id");if(yn===(Mt==null?void 0:Mt.id)&&Ht.length>1&&(yn=Ht[1].id),yn!=null){const Ut=Vt.get(We.id),Sn=Vt.get(yn),jt=Sn?Qe.get(Sn.id):null,Jt=Sn==null?void 0:Sn.node.current;if(Jt&&jt&&Ut&&Sn){const xe=getScrollableAncestors(Jt).some((Fe,at)=>Ue[at]!==Fe),ce=Dt(Ut,Sn),ue=Nt(Ut,Sn),de=xe||!ce?{x:0,y:0}:{x:ue?ve.width-jt.width:0,y:ue?ve.height-jt.height:0},fe={x:jt.left,y:jt.top};return de.x&&de.y?fe:subtract(fe,de)}}}};function Dt(wt,It){return!xt(wt)||!xt(It)?!1:wt.data.current.sortable.containerId===It.data.current.sortable.containerId}function Nt(wt,It){return!xt(wt)||!xt(It)||!Dt(wt,It)?!1:wt.data.current.sortable.index<It.data.current.sortable.index}},35241:function(Ln,pn,ie){"use strict";ie.d(pn,{$X:function(){return ze},D9:function(){return Et},DC:function(){return ut},Ey:function(){return Ge},FJ:function(){return yt},Gj:function(){return nt},HB:function(){return be},IH:function(){return pt},Jj:function(){return Ae},LI:function(){return ht},Ld:function(){return Wt},Nq:function(){return Ce},Re:function(){return ye},UG:function(){return Se},Yz:function(){return Le},qk:function(){return pe},r3:function(){return Re},so:function(){return Te},ux:function(){return Je},vZ:function(){return Ee},vd:function(){return it},wm:function(){return ct},zX:function(){return ke}});var ne=ie(59301);function be(){for(var xt=arguments.length,Ne=new Array(xt),Rt=0;Rt<xt;Rt++)Ne[Rt]=arguments[Rt];return(0,ne.useMemo)(()=>Dt=>{Ne.forEach(Nt=>Nt(Dt))},Ne)}const Ce=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function yt(xt){const Ne=Object.prototype.toString.call(xt);return Ne==="[object Window]"||Ne==="[object global]"}function Se(xt){return"nodeType"in xt}function Ae(xt){var Ne,Rt;return xt?yt(xt)?xt:Se(xt)&&(Ne=(Rt=xt.ownerDocument)==null?void 0:Rt.defaultView)!=null?Ne:window:window}function pe(xt){const{Document:Ne}=Ae(xt);return xt instanceof Ne}function ye(xt){return yt(xt)?!1:xt instanceof Ae(xt).HTMLElement}function Ee(xt){return xt instanceof Ae(xt).SVGElement}function Re(xt){return xt?yt(xt)?xt.document:Se(xt)?pe(xt)?xt:ye(xt)||Ee(xt)?xt.ownerDocument:document:document:document}const ht=Ce?ne.useLayoutEffect:ne.useEffect;function ke(xt){const Ne=(0,ne.useRef)(xt);return ht(()=>{Ne.current=xt}),(0,ne.useCallback)(function(){for(var Rt=arguments.length,Dt=new Array(Rt),Nt=0;Nt<Rt;Nt++)Dt[Nt]=arguments[Nt];return Ne.current==null?void 0:Ne.current(...Dt)},[])}function Le(){const xt=(0,ne.useRef)(null),Ne=(0,ne.useCallback)((Dt,Nt)=>{xt.current=setInterval(Dt,Nt)},[]),Rt=(0,ne.useCallback)(()=>{xt.current!==null&&(clearInterval(xt.current),xt.current=null)},[]);return[Ne,Rt]}function Ge(xt,Ne){Ne===void 0&&(Ne=[xt]);const Rt=(0,ne.useRef)(xt);return ht(()=>{Rt.current!==xt&&(Rt.current=xt)},Ne),Rt}function nt(xt,Ne){const Rt=(0,ne.useRef)();return(0,ne.useMemo)(()=>{const Dt=xt(Rt.current);return Rt.current=Dt,Dt},[...Ne])}function ct(xt){const Ne=ke(xt),Rt=(0,ne.useRef)(null),Dt=(0,ne.useCallback)(Nt=>{Nt!==Rt.current&&(Ne==null||Ne(Nt,Rt.current)),Rt.current=Nt},[]);return[Rt,Dt]}function Et(xt){const Ne=(0,ne.useRef)();return(0,ne.useEffect)(()=>{Ne.current=xt},[xt]),Ne.current}let Ct={};function Wt(xt,Ne){return(0,ne.useMemo)(()=>{if(Ne)return Ne;const Rt=Ct[xt]==null?0:Ct[xt]+1;return Ct[xt]=Rt,xt+"-"+Rt},[xt,Ne])}function ft(xt){return function(Ne){for(var Rt=arguments.length,Dt=new Array(Rt>1?Rt-1:0),Nt=1;Nt<Rt;Nt++)Dt[Nt-1]=arguments[Nt];return Dt.reduce((wt,It)=>{const We=Object.entries(It);for(const[ve,Qe]of We){const Vt=wt[ve];Vt!=null&&(wt[ve]=Vt+xt*Qe)}return wt},to({},Ne))}}const pt=ft(1),ze=ft(-1);function he(xt){return"clientX"in xt&&"clientY"in xt}function it(xt){if(!xt)return!1;const{KeyboardEvent:Ne}=Ae(xt.target);return Ne&&xt instanceof Ne}function ot(xt){if(!xt)return!1;const{TouchEvent:Ne}=Ae(xt.target);return Ne&&xt instanceof Ne}function ut(xt){if(ot(xt)){if(xt.touches&&xt.touches.length){const{clientX:Ne,clientY:Rt}=xt.touches[0];return{x:Ne,y:Rt}}else if(xt.changedTouches&&xt.changedTouches.length){const{clientX:Ne,clientY:Rt}=xt.changedTouches[0];return{x:Ne,y:Rt}}}return he(xt)?{x:xt.clientX,y:xt.clientY}:null}const Je=Object.freeze({Translate:{toString(xt){if(!xt)return;const{x:Ne,y:Rt}=xt;return"translate3d("+(Ne?Math.round(Ne):0)+"px, "+(Rt?Math.round(Rt):0)+"px, 0)"}},Scale:{toString(xt){if(!xt)return;const{scaleX:Ne,scaleY:Rt}=xt;return"scaleX("+Ne+") scaleY("+Rt+")"}},Transform:{toString(xt){if(xt)return[Je.Translate.toString(xt),Je.Scale.toString(xt)].join(" ")}},Transition:{toString(xt){let{property:Ne,duration:Rt,easing:Dt}=xt;return Ne+" "+Rt+"ms "+Dt}}}),mt="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Te(xt){return xt.matches(mt)?xt:xt.querySelector(mt)}},76809:function(){"use strict"},17022:function(){"use strict"},89722:function(Ln,pn){"use strict";pn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},1051:function(Ln,pn){"use strict";pn.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"}},58082:function(Ln,pn,ie){"use strict";var ne=ie(59301),be=Object.defineProperty,Ce=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Ae=(Ee,Re,ht)=>Re in Ee?be(Ee,Re,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ee[Re]=ht,pe=(Ee,Re)=>{for(var ht in Re||(Re={}))yt.call(Re,ht)&&Ae(Ee,ht,Re[ht]);if(Ce)for(var ht of Ce(Re))Se.call(Re,ht)&&Ae(Ee,ht,Re[ht]);return Ee};const ye=Ee=>React.createElement("svg",pe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ee),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"}));pn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},39469:function(Ln,pn,ie){"use strict";var ne=ie(59301),be=Object.defineProperty,Ce=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Ae=(Ee,Re,ht)=>Re in Ee?be(Ee,Re,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ee[Re]=ht,pe=(Ee,Re)=>{for(var ht in Re||(Re={}))yt.call(Re,ht)&&Ae(Ee,ht,Re[ht]);if(Ce)for(var ht of Ce(Re))Se.call(Re,ht)&&Ae(Ee,ht,Re[ht]);return Ee};const ye=Ee=>React.createElement("svg",pe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ee),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"}));pn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},20063: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 Ln={},pn="5.0",ie={},ne=null,be=!1,Ce=!1,yt=null,Se=!1,Ae=null,pe=null,ye=0;ye<arguments.length;ye++){var Ee=arguments[ye];if(Ee!==null)switch(typeof Ee){case"number":pn=Ee.toFixed(1);break;case"string":Ee.match(new RegExp("^[0-9]\\.[0-9]+$"))?pn=Ee:yt=Ee;break;case"object":typeof Ee.is3D!="undefined"?ne=Ee:ie=Ee;break;case"boolean":be=Ee,Ce=!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},ie.material_id!==void 0&&!Ce&&(be=!0)),yt!==null&&ie.id===void 0&&(ie.id=yt);var Re="",ht="",ke=!1,Le=null,Ge=null,nt=null,ct=!1,Et=null,Ct=null,Wt=null,ft=null,pt=null;ie.height!==void 0&&(ie.height=Math.round(ie.height)),ie.width!==void 0&&(ie.width=Math.round(ie.width));var ze=function(Ue){return parseFloat(Ue)>4?parseFloat(Ue):5};Ln.setHTML5Codebase=function(Ue,st){pe=Ue,Qe(Ue,st)},Ln.setJavaCodebase=Ln.setJavaCodebaseVersion=Ln.isCompiledInstalled=Ln.setPreCompiledScriptPath=Ln.setPreCompiledResourcePath=function(){},Ln.setHTML5CodebaseVersion=function(Ue,st){var Ht=parseFloat(Ue);if(Ht!==NaN&&Ht<5){console.log("The GeoGebra HTML5 codebase version "+Ht+" is deprecated. Using version latest instead.");return}Ae=Ue,ve(Ue,st)},Ln.getHTML5CodebaseVersion=function(){return Ge},Ln.getParameters=function(){return ie},Ln.setFontsCSSURL=function(Ue){ft=Ue},Ln.setGiacJSURL=function(Ue){},Ln.setJNLPFile=function(Ue){Re=Ue},Ln.setJNLPBaseDir=function(Ue){},Ln.inject=function(){function Ue(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var st="auto",Ht=ie.id,yn,Ut=!1,Sn=0;Sn<arguments.length;Sn++){var jt=arguments[Sn];typeof jt=="string"?(jt=jt.toLowerCase(),jt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?st=jt:Ht=arguments[Sn]):typeof jt=="boolean"?Ut=jt:jt instanceof HTMLElement&&(yn=jt)}Jt();function Jt(){if(!Se){setTimeout(Jt,200);return}st=It(st);var Ot=yn||document.getElementById(Ht);if(!Ot){console.log("possibly bug on ajax loading? ");return}if(Ln.removeExistingApplet(Ot,!1),ie.width===void 0&&Ot.clientWidth&&(ie.width=Ot.clientWidth),ie.height===void 0&&Ot.clientHeight&&(ie.height=Ot.clientHeight),!(ie.width&&ie.height)&&st==="html5"&&(delete ie.width,delete ie.height),Le=st,st==="screenshot")Ne(Ot,ie);else{var xe=!1;ie.hasOwnProperty("playButton")&&ie.playButton||ie.hasOwnProperty("clickToLoad")&&ie.clickToLoad?xe=!0:ie.hasOwnProperty("playButtonAutoDecide")&&ie.playButtonAutoDecide&&(xe=(!he()||Ue())&&it()),xe?(Le="screenshot",Dt(Ot,ie,Ut,st)):xt(Ot,ie,Ut)}}};function he(){try{return window.self!==window.top}catch(Ue){return!0}}function it(){return ie.hasOwnProperty("screenshotGenerator")&&ie.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ln.getViews=function(){return ne},Ln.isJavaInstalled=function(){return!1};var ot=function(Ue){var st=function(Sn){var jt=JSON.parse(Sn),Jt=function(ce){return ce.type=="G"||ce.type=="E"},Ot=jt.elements?jt.elements.filter(Jt)[0]:jt;if(!Ot||!Ot.url){Ht();return}ie.fileName=Ot.url,ut(Ot.settings||{}),ne.is3D=!0;var xe="https://www.geogebra.org/images/";Ln.setPreviewImage(Et||Ot.previewUrl,xe+"GeoGebra_loading.png",xe+"applet_play.png"),Ue()},Ht=function(){ie.onError&&ie.onError(),Vt("Error: Fetching material (id "+ie.material_id+") failed.",ie)},yn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ut="/materials/"+ie.material_id+"?scope=basic";Je("https://"+yn+"/api/proxy.php?path="+encodeURIComponent(Ut),st,Ht)};function ut(Ue){var st=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ht){Ue[Ht]=!!Ue[Ht]}),st.forEach(function(Ht){ie[Ht]===void 0&&Ue[Ht]!==void 0&&(ie[Ht]=Ue[Ht])}),ie.showToolBarHelp===void 0&&(ie.showToolBarHelp=ie.showToolBar)}function Je(Ue,st,Ht){var yn=new XMLHttpRequest;yn.open("GET",Ue),yn.onload=function(){st(yn.responseText)},yn.onerror=Ht,yn.send()}Ln.isHTML5Installed=function(){return!0},Ln.getLoadedAppletType=function(){return Le},Ln.setPreviewImage=function(Ue,st,Ht){Et=Ue,Ct=st,Wt=Ht},Ln.removeExistingApplet=function(Ue,st){var Ht;typeof Ue=="string"&&(Ue=document.getElementById(Ue)),Le=null;var yn=null;for(Ht=0;Ht<Ue.childNodes.length;Ht++){var Ut=Ue.childNodes[Ht],Sn=Ut.className;Sn==="applet_screenshot"?st?(Ut.style.display="block",Le="screenshot"):Ut.style.display="none":Sn!=="applet_scaler prerender"&&(Ue.removeChild(Ut),yn=Sn&&Sn.indexOf("appletParameters")!=-1?Ut.id:null,Ht--)}var jt=ie.id!==void 0?ie.id:yn,Jt=window[jt];Jt&&typeof Jt.getBase64=="function"&&(Jt.remove(),window[jt]=null)},Ln.refreshHitPoints=function(){if(ze(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ue=Ln.getAppletObject();return Ue&&typeof Ue.recalculateEnvironments=="function"?(Ue.recalculateEnvironments(),!0):!1},Ln.startAnimation=function(){var Ue=Ln.getAppletObject();return Ue&&typeof Ue.startAnimation=="function"?(Ue.startAnimation(),!0):!1},Ln.stopAnimation=function(){var Ue=Ln.getAppletObject();return Ue&&typeof Ue.stopAnimation=="function"?(Ue.stopAnimation(),!0):!1},Ln.getAppletObject=function(){var Ue=ie.id!==void 0?ie.id:"ggbApplet";return window[Ue]},Ln.resize=function(){};var mt=function(Ue,st,Ht){var yn=document.createElement("param");yn.setAttribute("name",st),yn.setAttribute("value",Ht),Ue.appendChild(yn)},Te=function(Ue){return Ue&&Ue!=="false"},xt=function(Ue,st,Ht){ze(Ge)<=4.2&&(Ht=!0);var yn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ge||ggbHTML5LoadedCodebaseIsWebSimple&&!ct)&&(yn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ut=document.createElement("div");Ut.classList.add("appletParameters","notranslate");var Sn=st.width,jt=st.height;if(st.disableAutoScale=st.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():st.disableAutoScale,st.width!==void 0)if(ze(Ge)<=4.4)Te(st.showToolBar)&&(st.height-=7),Te(st.showAlgebraInput)&&(st.height-=37),st.width<605&&Te(st.showToolBar)&&(st.width=605,Sn=605);else{var Jt=100;(Te(st.showToolBar)||Te(st.showMenuBar))&&(st.hasOwnProperty("customToolBar")&&(st.customToolbar=st.customToolBar),Jt=Te(st.showMenuBar)?245:155),Sn<Jt&&(st.width=Jt,Sn=Jt)}Ut.style.border="none",Ut.style.display="inline-block";for(var Ot in st)st.hasOwnProperty(Ot)&&Ot!=="appletOnLoad"&&Ut.setAttribute("data-param-"+Ot,st[Ot]);ft&&Ut.setAttribute("data-param-fontscssurl",ft),Ln.resize=function(){GGBAppletUtils.responsiveResize(Ue,st)},window.addEventListener("resize",function(et){Ln.resize()});var xe=typeof st.appletOnLoad=="function"?st.appletOnLoad:function(){};if(!Ht&&st.width!==void 0){st.hasOwnProperty("showSplash")||Ut.setAttribute("data-param-showSplash","false");var ce=Ue.querySelector(".applet_scaler.prerender"),ue=ce!==null;if(ue)var de=ce.querySelector(".ggb_preview");else{var de=wt(Sn,jt,st.borderColor,!1);ce=document.createElement("div"),ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.style.width=Sn+"px",ce.style.height=jt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ce,"66%"),ze(Ge)>=5?(st.appletOnLoad=function(et){var Zt=Ue.querySelector(".ggb_preview");Zt&&Zt.parentNode.removeChild(Zt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ce),window.GGBT_wsf_view&&$(window).trigger("resize"),xe(et)},ue||ce.appendChild(de)):Ut.appendChild(de),ce.appendChild(Ut),ue||Ue.appendChild(ce),setTimeout(function(){Ln.resize()},1)}else{var fe=document.createElement("div");fe.className="applet_scaler",fe.style.position="relative",fe.style.display="block",fe.appendChild(Ut),Ue.appendChild(fe),st.appletOnLoad=function(et){Ln.resize(),xe(et)}}function le(et,Zt){Zt&&typeof Zt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(et,Zt.appletOnLoad):renderGGBElement(et),Vt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Zt)}function Fe(et,Zt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:et,params:Zt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Cn){le(Cn.article,Cn.params)}),html5AppletsToProcess=null)},ze(Ge)<5&&(et.className+=" geogebraweb")):le(et,Zt)}if(yn){scriptLoadStarted=!0;for(var at=0;at<Ut.childNodes.length;at++){var Ze=Ut.childNodes[at].tagName;Ze==="TABLE"&&(Ut.removeChild(Ut.childNodes[at]),at--)}if(ggbHTML5LoadedScript!==null){var Me=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Me!=null&&Me.parentNode.removeChild(Me)}var Lt=document.createElement("script"),bt=function(){Fe(Ut,st)};Lt.src=ht+nt,ggbHTML5LoadedCodebaseIsWebSimple=ct,ggbHTML5LoadedCodebaseVersion=Ge,ggbHTML5LoadedScript=Lt.src,Vt("GeoGebra HTML5 codebase loaded: '"+ht+"'.",st),!pe&&(!Ae||Ae=="5.0")?(ct?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),bt()):ht.requirejs?__webpack_require__.e(5795).then(function(){var et=[__webpack_require__(95795)];bt.apply(null,et)}.bind(this)).catch(__webpack_require__.oe):(Lt.onload=bt,Ue.appendChild(Lt))}else Fe(Ut,st);st.height=jt,st.width=Sn},Ne=function(Ue,st,Ht){var yn=wt(st.width,st.height,st.borderColor,Ht),Ut=document.createElement("div");Ut.style.position="relative",Ut.style.display="block",Ut.style.width=st.width+"px",Ut.style.height=st.height+"px",Ut.className="applet_screenshot applet_scaler"+(Ht?" applet_screenshot_play":""),Ut.appendChild(yn);var Sn=GGBAppletUtils.getScale(st,Ue,Ht);Ht?(Ue.appendChild(Nt()),window.GGBT_wsf_view||(Ue.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ut,"66%"),Ue.appendChild(Ut),Sn!==1&&!isNaN(Sn)&&(GGBAppletUtils.scaleElement(Ut,Sn),Ut.style.width=st.width+"px",Ut.style.height=st.height+"px",Ut.parentNode.style.width=st.width*Sn+"px",Ut.parentNode.style.height=st.height*Sn+"px"),Ln.resize=function(){Rt(Ue,yn,Ut,Ht)},window.addEventListener("resize",function(jt){Ln.resize()}),Ln.resize()};function Rt(Ue,st,Ht,yn){if(Ue.contains(st)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ue.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ue)}var Ut=GGBAppletUtils.getScale(ie,Ue,yn);Ht.parentNode!==null&&(!isNaN(Ut)&&Ut!==1?(GGBAppletUtils.scaleElement(Ht,Ut),Ht.parentNode.style.width=ie.width*Ut+"px",Ht.parentNode.style.height=ie.height*Ut+"px"):(GGBAppletUtils.scaleElement(Ht,1),Ht.parentNode.style.width=ie.width+"px",Ht.parentNode.style.height=ie.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ue),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ln.onExitFullscreen=function(Ue,st){st.appendChild(Ue)};var Dt=function(Ue,st,Ht,yn){Ne(Ue,st,!0);for(var Ut=function(){var Jt=[];for(jt=0;jt<Ue.childNodes.length;jt++)Jt.push(Ue.childNodes[jt]);if(window.GGBT_wsf_view){var Ot=window.GGBT_wsf_view.renderFullScreen(Ue,st.id),xe=document.getElementById("fullscreencontainer"),ce=jQuery(Ue).find(".fullscreencontent");ce.length>0?(Ot.remove(),ce.attr("id","fullscreencontent").show(),jQuery(xe).append(ce),window.dispatchEvent(new Event("resize"))):xt(Ot,st,!1),window.GGBT_wsf_view.launchFullScreen(xe)}else Le=yn,xt(Ue,st,!1);if(!window.GGBT_wsf_view)for(jt=0;jt<Jt.length;jt++)Ue.removeChild(Jt[jt])},Sn=Ue.getElementsByClassName("ggb_preview_play"),jt=0;jt<Sn.length;jt++)Sn[jt].addEventListener("click",Ut,!1),Sn[jt].addEventListener("ontouchstart",Ut,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ue),it()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Nt=function(){var Ue=document.createElement("div");if(Ue.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var st='.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");}',Ht=document.createElement("style");Ht.styleSheet?Ht.styleSheet.cssText=st:Ht.appendChild(document.createTextNode(st)),document.getElementsByTagName("head")[0].appendChild(Ht)}return Ue},wt=function(Ue,st,Ht,yn){var Ut=document.createElement("div");Ut.className="ggb_preview",Ut.style.position="absolute",Ut.style.zIndex="90",Ut.style.width=Ue-2+"px",Ut.style.height=st-2+"px",Ut.style.top="0px",Ut.style.left="0px",Ut.style.overflow="hidden",Ut.style.backgroundColor="white";var Sn="lightgrey";Ht!==void 0&&(Ht==="none"?Sn="transparent":Sn=Ht),Ut.style.border="1px solid "+Sn;var jt=document.createElement("img");if(jt.style.position="relative",jt.style.zIndex="1000",jt.style.top="-1px",jt.style.left="-1px",Et!==null&&jt.setAttribute("src",Et),jt.style.opacity=.7,Ct!==null){var Jt,Ot,xe;if(!yn){Jt=document.createElement("img"),Jt.style.position="absolute",Jt.style.zIndex="1001",Jt.style.opacity=1,jt.style.opacity=.3,Ot=360,Ot>Ue/4*3&&(Ot=Ue/4*3),xe=Ot/5.8,Jt.setAttribute("src",Ct),Jt.setAttribute("width",Ot),Jt.setAttribute("height",xe);var ce=(Ue-Ot)/2,ue=(st-xe)/2;Jt.style.left=ce+"px",Jt.style.top=ue+"px",Ut.appendChild(Jt)}}return Ut.appendChild(jt),Ut},It=function(Ue){return Ue=Ue.toLowerCase(),Ue==="html5"||Ue==="screenshot"?Ue:"html5"},We=["web","webSimple","web3d","tablet","tablet3d","phone"],ve=function(Ue,st){if(Ge=Ue,st){Qe(Ge,!0);return}var Ht=!be;if(Ht){var yn=ze(Ge);!isNaN(yn)&&yn<4.4&&(Ht=!1)}var Ut,Sn;window.location.protocol.substr(0,4)==="http"?Ut=window.location.protocol:Ut="http:";var jt=Ge.indexOf("//");jt>0?Sn=Ge:jt===0?Sn=Ut+Ge:Sn="https://www.geogebra.org/apps/5.2.814.0/";for(var Jt in We)if(Ge.slice(We[Jt].length*-1)===We[Jt]||Ge.slice((We[Jt].length+1)*-1)===We[Jt]+"/"){Qe(Sn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ht&&!ne.is3D&&!ne.AV&&!ne.SV&&!ne.CV&&!ne.EV2&&!ne.CP&&!ne.PC&&!ne.DA&&!ne.FI&&!ne.PV&&!Te(ie.showToolBar)&&!Te(ie.showMenuBar)&&!Te(ie.showAlgebraInput)&&!Te(ie.enableRightClick)&&(!ie.appName||ie.appName=="classic")?Sn+="webSimple/":Sn+="web3d/",Qe(Sn,!1)},Qe=function(Ue,st){if(Ue.requirejs){ht=Ue;return}Ue.slice(-1)!=="/"&&(Ue+="/"),ht=Ue,st===null&&(st=Ue.indexOf("http")===-1),ke=st,nt="web.nocache.js",ct=!1;var Ht=ht.split("/");Ht.length>1&&(!st&&Ht[Ht.length-2]==="webSimple"?(nt="webSimple.nocache.js",ct=!0):We.indexOf(Ht[Ht.length-2])>=0&&(nt=Ht[Ht.length-2]+".nocache.js")),Ht=Ue.split("/"),Ge=Ht[Ht.length-3],Ge.substr(0,4)==="test"?Ge=Ge.substr(4,1)+"."+Ge.substr(5,1):(Ge.substr(0,3)==="war"||Ge.substr(0,4)==="beta")&&(Ge="5.0");var yn=parseFloat(Ge);yn!==NaN&&yn<5&&Ue.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+yn+" is deprecated. Using version latest instead."),ve("5.0",st))},Vt=function(Ue,st){window.console&&window.console.log&&(!st||typeof st.showLogging=="undefined"||st.showLogging&&st.showLogging!=="false")&&console.log(Ue)};ie.material_id!==void 0?ot(Mt):Mt();function Mt(){var Ue=pn;Ae!==null?Ue=Ae:parseFloat(Ue)<5&&(Ue="5.0"),ve(Ue,!1),pe!==null&&Qe(pe,ke),Se=!0}return Ln},GGBAppletUtils=function(){"use strict";function Ln(){return window.GGBT_wsf_edit!==void 0}function pn(Se,Ae){Ae!=1?(Se.style.transformOrigin="0% 0% 0px",Se.style.webkitTransformOrigin="0% 0% 0px",Se.style.transform="scale("+Ae+","+Ae+")",Se.style.webkitTransform="scale("+Ae+","+Ae+")",Se.style.maxWidth="initial",Se.querySelector(".ggb_preview")!==null&&(Se.querySelector(".ggb_preview").style.maxWidth="initial"),Se.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Se.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Se.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Se.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Se.style.transform="none",Se.style.webkitTransform="none")}function ie(Se,Ae,pe,ye,Ee,Re){var ht=null;if(Re!=null&&Re!="")for(var ke=Se.parentNode;ke!=null;)if((" "+ke.className+" ").indexOf(" "+Re+" ")>-1){ht=ke;break}else ke=ke.parentNode;var Le=0,Ge=0,nt=0,ct=0,Et=0,Ct=0,Wt=0;if(ht)Le=ht.offsetWidth,Ge=Math.max(ye?ht.offsetWidth:0,ht.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Le=Math.min(window.innerWidth,document.documentElement.clientWidth),Ge=Math.min(window.innerHeight,document.documentElement.clientHeight),nt=Le):(Le=window.innerWidth,Ge=window.innerHeight,nt=window.innerWidth),Se){var ft=Se.getBoundingClientRect();ft.left>0&&ft.left<=Le&&(Ee===void 0||!Ee)&&(document.dir==="rtl"?(Et=Le-ft.width-ft.left,Ct=nt<=480?10:30):(Ct=ft.left,Et=nt<=480?10:30),ct=Ct+Et)}if(Se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var pt=Se.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ct=40,Wt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ct=0,Wt=40)}}return Se&&((pe===void 0||!pe)&&Ae>0&&Ae+ct<Le?Le=Ae:Le-=ct,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(pe===void 0||!pe)&&(Ge-=Wt)),{width:Le,height:Ge}}function ne(Se,Ae,pe,ye,Ee){if(Se.isScreenshoGenerator)return 1;var Re=ye!==void 0&&ye,ht=Se.noScaleMargin!=null&&Se.noScaleMargin,ke=function(pt){return pt&&pt!=="false"},Le=ke(Se.autoHeight),Ge=ie(Ae,Se.width,pe,Le,Re&&window.GGBT_wsf_view||ht,Ee),nt=parseInt(Ge.width),ct=Se.width,Et=Se.height;if(ct===void 0){var Ct=Ae.querySelector(".appletParameters");Ct&&(ct=Ct.offsetWidth,Et=Ct.offsetHeight)}var Wt=nt/ct,ft=Re?1:Ge.height/Et;return pe!==void 0&&!pe&&(Wt=Math.min(1,Wt),ft=Math.min(1,ft)),Math.min(Wt,ft)}function be(Se,Ae,pe){var ye=1,Ee,Re=!1;if(Se.hasOwnProperty("allowUpscale")&&(Re=Se.allowUpscale),Se.hasOwnProperty("scale")&&(ye=parseFloat(Se.scale),(isNaN(ye)||ye===null||ye===0)&&(ye=1),ye>1&&(Re=!0)),Ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Re=!0),!(Se.hasOwnProperty("disableAutoScale")&&Se.disableAutoScale))Ee=ne(Se,Ae,Re,pe,Se.scaleContainerClass);else return ye;return Re&&(!Se.hasOwnProperty("scale")||ye===1)?Ee:Math.min(ye,Ee)}function Ce(Se){var Ae=Math.min(window.innerWidth,document.documentElement.clientWidth),pe=Math.min(window.innerHeight,document.documentElement.clientHeight),ye=Se.getBoundingClientRect(),Ee=(Ae-ye.width)/2,Re=(pe-ye.height)/2;Re<0&&(Re=0),Se.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ee<40?Se.style.left="40px":Se.style.left=Ee+"px",Se.style.top=Re+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Re<40?Se.style.top="40px":Se.style.top=Re+"px",Se.style.left=Ee+"px")}function yt(Se,Ae){var pe=Se.querySelector(".appletParameters");if(pe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ae.id!==pe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Se)}if(pe.parentElement&&/fullscreen/.test(pe.parentElement.className))return;var ye=be(Ae,Se);Ln()&&pe.setAttribute("data-param-scale",ye);for(var Ee=null,Re=0;Re<Se.childNodes.length;Re++)if(Se.childNodes[Re].className!==void 0&&Se.childNodes[Re].className.match(/^applet_scaler/)){Ee=Se.childNodes[Re];break}if(Ee!==null&&Ee.querySelector(".noscale")!==null)return;var ht=Ae.id!==void 0?Ae.id:"ggbApplet",ke=window[ht];(ke==null||!ke.recalculateEnvironments)&&Ee!==null&&!Ee.className.match(/fullscreen/)&&(Ee.parentNode.style.transform="",!isNaN(ye)&&ye!==1?(Ee.parentNode.style.width=Ae.width*ye+"px",Ee.parentNode.style.height=Ae.height*ye+"px",pn(Ee,ye)):(pn(Ee,1),Ee.parentNode.style.width=Ae.width+"px",Ee.parentNode.style.height=Ae.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ce(Se),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(pe).parents(".content-added-content"))}}return{responsiveResize:yt,isFlexibleWorksheetEditor:Ln,positionCenter:Ce,getScale:be,scaleElement:pn}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Ln=n.location.search;return Ln.indexOf(J)!=-1||Ln.indexOf(K)!=-1}function q(Ln,pn){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Ln){var pn=s[L].bindings;s[L].bindings=function(){for(var ie=pn?pn():{},ne=Ln[webModule.__softPermutationId],be=O;be<ne.length;be++){var Ce=ne[be];ie[Ce[O]]=Ce[P]}return ie}};var t;function u(){return v(),t}function v(){if(!t){var Ln=o.createElement(Q);if(Ln.id=L,Ln.style.cssText=R+S,Ln.tabIndex=-1,o.body.appendChild(Ln),t=Ln.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var pn=document.compatMode==U?V:W;t.write(pn+X),t.close()}}}function w(Ln){function pn(ne){function be(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ce=be();if(Ce){ne();return}function yt(){if(!Ce){if(!be())return;Ce=!0,ne(),o.removeEventListener&&o.removeEventListener(Z,yt,!1),Se&&clearInterval(Se)}}o.addEventListener&&o.addEventListener(Z,yt,!1);var Se=setInterval(function(){yt()},$)}function ie(ne){var be=u(),Ce=be.body,yt=be.createElement(_);yt.language=ab,yt.crossOrigin=W,yt.src=ne,webModule.__errFn&&(yt.onerror=function(){webModule.__errFn(L,new Error(bb+ne))}),Ce.appendChild(yt)}pn(function(){ie(Ln)})}webModule.__startLoadingFragment=function(Ln){return C(Ln)},webModule.__installRunAsyncCode=function(Ln){var pn=u(),ie=pn.body,ne=pn.createElement(_);ne.language=ab,ne.text=Ln,ie.appendChild(ne),ie.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(Ln){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ln){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ln){var pn=c[Ln];return pn==null?null:pn},r=d,webModule.__errFn=e}function B(){function Ln(Se){var Ae=Se.lastIndexOf(rb);Ae==-1&&(Ae=Se.length);var pe=Se.indexOf(sb);pe==-1&&(pe=Se.length);var ye=Se.lastIndexOf(tb,Math.min(pe,Ae));return ye>=O?Se.substring(O,ye+P):W}function pn(Se){if(!Se.match(/^\w+:\/\//)){var Ae=o.createElement(ub);Ae.src=Se+vb,Se=Ln(Ae.src)}return Se}function ie(){var Se=__gwt_getMetaProperty(wb);return Se!=null?Se:W}function ne(){for(var Se=o.getElementsByTagName(_),Ae=O;Ae<Se.length;++Ae)if(Se[Ae].src.indexOf(xb)!=-1)return Ln(Se[Ae].src);return W}function be(){var Se=o.getElementsByTagName(yb);return Se.length>O?Se[Se.length-P].href:W}function Ce(){var Se=o.location;return Se.href==Se.protocol+zb+Se.host+Se.pathname+Se.search+Se.hash}var yt=ie();return yt==W&&(yt=ne()),yt==W&&(yt=be()),yt==W&&Ce()&&(yt=Ln(o.location.href)),yt=pn(yt),yt}function C(Ln){return Ln.match(/^\//)||Ln.match(/^[a-zA-Z]+:\/\//)?Ln:webModule.__moduleBase+Ln}function D(){var Ln=[],pn=O,ie=[],ne=[];function be(Se){var Ae=ne[Se](),pe=ie[Se];if(Ae in pe)return Ae;var ye=[];for(var Ee in pe)ye[pe[Ee]]=Ee;throw r&&r(Se,ye,Ae),null}if(__gwt_isKnownPropertyValue=function(Se,Ae){return Ae in ie[Se]},webModule.__getPropMap=function(){var Se={};for(var Ae in ie)ie.hasOwnProperty(Ae)&&(Se[Ae]=be(Ae));return Se},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ce;try{Ce=Cb;var yt=Ce.indexOf(Db);yt!=-1&&(pn=parseInt(Ce.substring(yt+P),$),Ce=Ce.substring(O,yt))}catch(Se){}return webModule.__softPermutationId=pn,C(Ce+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})()},25676:function(Ln,pn,ie){"use strict";ie.d(pn,{Ax:function(){return yt},Ds:function(){return Se},KI:function(){return pe},SI:function(){return Ce},f1:function(){return be}});var ne=ie(11662);function be(ye){let Ee=!0;if(ye.length>0){for(let Re=0;Re<ye.length;Re++)if(ye[Re].compile_success==0||!ye[Re].compile_success){Ee=!1;break}}else Ee=!1;return Ee}function Ce(ye,Ee=""){let Re=[];for(let ht=0;ht<ye.length;ht++){let ke=ye[ht],Le=Ee?`${Ee}/${ke.name}`:`${ke.name}`;Re.push({title:ke.name,type:ke.type,isLeaf:ke.type!=="tree",key:Le})}return Re}function yt(ye,Ee,Re){for(let ht=0;ht<ye.length;ht++){let ke=ye[ht];if(ke.key===Ee){ke.children=Re;break}ke.children&&yt(ke.children,Ee,Re)}return ye}function Se(ye,Ee,Re){let ht;return function(){let ke=this,Le=arguments,Ge=function(){ht=null,Re||ye.apply(ke,Le)},nt=Re&&!ht;clearTimeout(ht),ht=setTimeout(Ge,Ee),nt&&ye.apply(ke,Le)}}const Ae=!0,pe=ne.Z.API_SERVER},2781:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ht}});var ne=ie(59301),be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ce=ie(92310),yt=ie.n(Ce),Se=ie(71418),Ae=ie(2859),pe=ie(64866),ye=ie(22566),Ee=(ke,Le,Ge)=>new Promise((nt,ct)=>{var Et=ft=>{try{Wt(Ge.next(ft))}catch(pt){ct(pt)}},Ct=ft=>{try{Wt(Ge.throw(ft))}catch(pt){ct(pt)}},Wt=ft=>ft.done?nt(ft.value):Promise.resolve(ft.value).then(Et,Ct);Wt((Ge=Ge.apply(ke,Le)).next())}),ht=({data:ke,className:Le,fullWidth:Ge,style:nt={},onClose:ct,onOk:Et,showFullTools:Ct,noAssociationId:Wt})=>{const ft=(0,ne.useRef)(null),pt=(0,ne.useRef)(null),ze=(0,ne.useRef)(null),he=(0,ne.useRef)(null),[it,ot]=(0,ne.useState)(!1),[ut,Je]=(0,ne.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ne.useEffect)(()=>{ze.current||(ze.current=document.createElement("style"),document.head.appendChild(ze.current)),ke!=null&&ke.visible?(document.body.setAttribute("data-custom","y-hidden"),ze.current.innerHTML=" html { overflow-y: hidden; }",ke!=null&&ke.src&&mt()):(document.body.removeAttribute("data-custom"),ze.current&&(document.head.removeChild(ze.current),ze.current=null))},[ke==null?void 0:ke.visible]);const mt=()=>Ee(void 0,null,function*(){ot(!0),Je("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Dt=yield(0,ye.ZJ)(ke==null?void 0:ke.src);ft.current.src="",ft.current.src=Dt,ft.current.onload=function(){Rt()},ot(!1),Je("")}),Te=()=>{document.body.removeAttribute("data-custom"),ze.current.innerHTML=" ",ct()},xt=Dt=>Ee(void 0,null,function*(){ot(!0),Je("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Nt=yield(0,pe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ke.title,file:Dt.dataUrl}});Nt!=null&&Nt.id&&!Wt?(yield(0,pe.ZP)(`/api/attachments/${ke.id}/add_subitem.json`,{method:"post",body:{subitem_id:Nt==null?void 0:Nt.id,settings:JSON.stringify(Dt.state)}})).status===0&&Et():Nt!=null&&Nt.id&&Et(Nt),document.body.removeAttribute("data-custom"),ze.current.innerHTML=" ",ot(!1),Je("")}),Ne=()=>{const Dt=document.querySelector('a[href="https://markerjs.com/"]');Dt&&Dt.parentNode&&(Dt.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(wt=>{const It=document.querySelector(wt.name);It&&It.setAttribute("title",wt.title)})},Rt=()=>{pt.current=new Ae.hP(ft.current),pt.current.targetRoot=he.current,pt.current.addEventListener("render",xt),pt.current.addEventListener("beforeclose",Te),Ct&&(pt.current.availableMarkerTypes=pt.current.ALL_MARKER_TYPES,pt.current.uiStyleSettings.redoButtonVisible=!0,pt.current.uiStyleSettings.notesButtonVisible=!0,pt.current.uiStyleSettings.zoomButtonVisible=!0,pt.current.uiStyleSettings.zoomOutButtonVisible=!0,pt.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=pt.current.uiStyleSettings,pt.current.show(),ke!=null&&ke.snapshotData&&pt.current.restoreState(ke.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ne()},300)};return ne.createElement(ne.Fragment,null,(ke==null?void 0:ke.visible)&&ne.createElement(Se.Z,{spinning:it,tip:ut,style:{position:"absolute"}},ne.createElement("div",{ref:he,className:yt()(be.imageDimensions,Le,Ge?be.fullWidth:""),style:nt},ne.createElement("img",{className:be.img,ref:ft}))))}},50892:function(Ln,pn,ie){"use strict";var ne=ie(59301),be=ie(95237),Ce=ie(43604),yt=ie(99313),Se=ie(3113),Ae=ie(9200),pe=ie(89722),ye=ie(48136),Ee=ie(59301);const Re=(0,ne.forwardRef)(({callback:ht,showSaveButton:ke,value:Le=""},Ge)=>{const nt=(0,ne.useRef)(),ct=[{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 "}]}]}],Et=[{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}`}]}]}],Ct=pt=>{nt.current.setValue(nt.current.getValue()+" "+pt.value+" ")},Wt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ee.createElement(be.Z,{className:pe.Z.lists,gutter:[10,10]},ct.map((pt,ze)=>Ee.createElement(Ce.Z,{flex:"110px",className:pe.Z.item},Ee.createElement("div",null,Ee.createElement(Ae.Z,{value:`$$${pt.value}$$`}),pt.name),Ee.createElement("div",{className:pe.Z.children},pt.children.map((he,it)=>Ee.createElement("div",{key:it},Ee.createElement("h1",null,he.name),Ee.createElement(be.Z,{gutter:[10,10]},he.data.map((ot,ut)=>Ee.createElement(Ce.Z,{key:ut,onClick:()=>Ct(ot),className:pe.Z.diamond},Ee.createElement(Ae.Z,{value:"`$$"+ot.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ee.createElement(be.Z,{className:pe.Z.lists,gutter:[10,10]},Et.map((pt,ze)=>Ee.createElement(Ce.Z,{flex:"110px",className:pe.Z.item},Ee.createElement("div",null,Ee.createElement(Ae.Z,{value:"`$$"+pt.value+"$$`"}),pt.name),Ee.createElement("div",{className:pe.Z.children},pt.children.map((he,it)=>Ee.createElement("div",{key:it},he.name&&Ee.createElement("h1",null,he.name),Ee.createElement(be.Z,{gutter:[10,10]},he.data.map((ot,ut)=>Ee.createElement(Ce.Z,{key:ut,onClick:()=>Ct(ot),className:pe.Z.diamond},Ee.createElement(Ae.Z,{value:"`$$"+ot.value+"$$`"}))))))))))}],ft=()=>{var pt=document.createElement("div");pt.innerHTML=nt.current.getValue();var ze=pt.innerText;return ht&&ht(ze),ze};return(0,ne.useImperativeHandle)(Ge,()=>({getData:ft})),Ee.createElement("div",{className:pe.Z.mathWrap},Ee.createElement(yt.default,{defaultActiveKey:"1",items:Wt}),Ee.createElement("math-field",{locale:"zh_cn",className:pe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:nt,style:{width:800,marginTop:30,fontSize:18}},Le||""),ke&&Ee.createElement("div",{className:pe.Z.button},Ee.createElement(Se.ZP,{size:"large",onClick:ft,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});pn.Z=Re},21837:function(Ln,pn,ie){"use strict";ie.d(pn,{Q:function(){return Ae}});var ne=ie(59301),be=ie(57809),Ce=ie(5112),yt=ie(5871),Se=ie(59301),Ae=(ye=>(ye[ye.Number=1]="Number",ye[ye.Percent=2]="Percent",ye))(Ae||{});const pe=({value:ye,onChange:Ee,disabled:Re,hidePercentOption:ht=!1,percentType:ke="select"})=>{const Le=(0,ne.useMemo)(()=>ht?1:2,[ht]),[Ge,nt]=(0,ne.useState)(Le);console.log(Ge);const ct=Ct=>ye.type===1?`${Ct}\u5206`:`${Ct}%`,Et=(0,ne.useCallback)(Ct=>{if(Ge===1){const Wt=Ct.replace("\u5206","");return isNaN(parseInt(Wt,10))?0:Wt}else return Ct.replace("%","")},[Ge]);return(0,ne.useEffect)(()=>{nt(ye.type)},[ye]),Se.createElement("div",{style:{display:"flex",alignItems:"center"}},ke=="select"&&Se.createElement(be.default,{size:"large",onChange:Ct=>{nt(Ct),Ee({type:Ct,inputValue:Ct===1?5:20})},value:Ge||Le,style:{width:100},options:ht?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Re}),ke=="radio"&&Se.createElement(Ce.ZP.Group,{size:"large",onChange:Ct=>{const Wt=Ct.target.value;nt(Wt),Ee({type:Wt,inputValue:Wt===1?5:20})},value:Ge||Le,disabled:Re},!ht&&Se.createElement(Ce.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Se.createElement(Ce.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),ke=="radio"&&Se.createElement("div",{style:{marginRight:"10px",color:"#000000"}},ye.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Se.createElement(yt.Z,{size:"large",disabled:Re,value:ye.inputValue,style:{width:"120px"},parser:Et,addonAfter:ye.type===1?"\u5206":"%",max:Ge===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:Ct=>{Ee({type:Ge,inputValue:Ct})}}),ke=="radio"&&ye.type==2&&Se.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};pn.Z=pe},27350:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(59301),be={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"},Ce=ie(43418),yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ae=(Ee,Re,ht)=>new Promise((ke,Le)=>{var Ge=Et=>{try{ct(ht.next(Et))}catch(Ct){Le(Ct)}},nt=Et=>{try{ct(ht.throw(Et))}catch(Ct){Le(Ct)}},ct=Et=>Et.done?ke(Et.value):Promise.resolve(Et.value).then(Ge,nt);ct((ht=ht.apply(Ee,Re)).next())}),ye=({type:Ee,resdata:Re,onok:ht,oktext:ke,okloading:Le})=>{const[Ge,nt]=(0,ne.useState)(!1),{can_copy_list:ct,can_copy_num:Et,challenge_type:Ct,course_data_list:Wt,no_copy_list:ft,no_copy_num:pt,no_use_list:ze,no_use_num:he,repeat_shixun_num:it,student_count:ot,total_num:ut,use_num:Je}=Re;let mt=Et>0||Ee==="exercise";(0,ne.useEffect)(()=>{(Re==null?void 0:Re.student_count)>0&&nt(!0)},[Re]),console.log("---11",Le),(0,ne.useEffect)(()=>{Le||nt(!1)},[Le]);const Te=()=>{if(Ee==="exercise"&&Ct===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:be.orangeColor},ot),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:be.orangeColor},Je),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:be.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(Ee==="exercise"&&Ct===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:be.orangeColor},ot),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:be.orangeColor},Je),"\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:be.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixun"&&Ct===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:be.orangeColor},ot),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:be.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixun"&&Ct===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:be.orangeColor},ot),"\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:be.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="subject"&&Ct===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:be.orangeColor},ot),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:be.orangeColor},Je),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:be.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="subject"&&Ct===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ne.createElement("span",{className:be.orangeColor},ot)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ne.createElement("span",{className:be.orangeColor},Je)," \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:be.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="exercisepush")return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:be.orangeColor},ot),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ne.createElement("span",{className:be.orangeColor},Je),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ne.createElement("span",{className:be.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(Ee==="shixunpush"&&Ct===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:be.orangeColor},ot),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:be.orangeColor},Je),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:be.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixunpush"&&Ct===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:be.orangeColor},ot),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ne.createElement("span",{className:be.orangeColor},Je),"\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:be.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},xt=()=>{if(Ee==="exercise"||Ee==="subject"||Ee==="exercisepush"||Ee==="shixunpush")return ne.createElement("div",{style:{marginTop:20}},pt>0&&ne.createElement("div",null,ne.createElement("span",{className:be.flex},ne.createElement("img",{src:Se,style:{width:14}}),ne.createElement("span",{className:be.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ne.createElement("div",{className:be.statusbody},Ee==="exercise"&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:be.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"),(Ee==="subject"||Ee==="exercisepush")&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",mt&&ne.createElement("span",{className:be.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"),Ee==="shixunpush"&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",mt&&ne.createElement("span",{className:be.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,ft==null?void 0:ft.map((Ne,Rt)=>ne.createElement("a",{href:`/shixuns/${Ne.identifier}/challenges`,target:"_blank"},"\u300A",Ne==null?void 0:Ne.name,"\u300B",Rt+1!==pt&&"\u3001"))))),Et>0&&ne.createElement("div",{style:{marginTop:20}},ne.createElement("span",{className:be.flex},ne.createElement("img",{src:yt,style:{width:14}}),ne.createElement("span",{className:be.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ne.createElement("div",{className:be.statusbody},Ee==="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"),(Ee==="subject"||Ee==="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"),Ee==="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,ct==null?void 0:ct.map((Ne,Rt)=>ne.createElement("a",{href:`/shixuns/${Ne.identifier}/challenges`,target:"_blank"},"\u300A",Ne==null?void 0:Ne.name,"\u300B",Rt+1!==Et&&"\u3001"))))));if(Ee==="shixun")return ne.createElement("div",{style:{marginTop:20}},Et>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(Ce.default,{open:Ge,onCancel:()=>{nt(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!mt&&"none"}},zIndex:1003,confirmLoading:Le,okText:mt?ke:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ae(void 0,null,function*(){mt?yield ht([...ct,...ze]):nt(!1)})},ne.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Te(),xt()))}},62319:function(Ln,pn,ie){"use strict";ie.d(pn,{h:function(){return pt}});var ne=ie(59301),be=ie(57809),Ce=ie(78241),yt=ie(3113),Se=ie(89780),Ae=ie.n(Se),pe=ie(76809),ye=ie(17022),Ee=Object.defineProperty,Re=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,nt=(ze,he,it)=>he in ze?Ee(ze,he,{enumerable:!0,configurable:!0,writable:!0,value:it}):ze[he]=it,ct=(ze,he)=>{for(var it in he||(he={}))Le.call(he,it)&&nt(ze,it,he[it]);if(ke)for(var it of ke(he))Ge.call(he,it)&&nt(ze,it,he[it]);return ze},Et=(ze,he)=>Re(ze,ht(he));const Ct=be.default.Option,Wt={labelCol:{span:4},wrapperCol:{span:20}},ft={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};pn.Z=({callback:ze,onCancel:he})=>{const[it,ot]=(0,ne.useState)("python");function ut(mt){ot(ft[mt][1])}function Je(mt){ze(mt)}return ne.createElement(Ce.default,Et(ct({},Wt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Je,style:{width:500}}),ne.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ne.createElement(be.default,{getPopupContainer:mt=>mt.parentNode,onChange:ut},Object.keys(ft).map(mt=>ne.createElement(Ct,{key:mt,value:mt},ft[mt][0])))),ne.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ne.createElement(pt,{mode:it})),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(yt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(yt.ZP,{type:"ghost",onClick:he},"\u53D6\u6D88")))};function pt({value:ze,onChange:he,mode:it,options:ot={}}){const ut=(0,ne.useRef)(),[Je,mt]=(0,ne.useState)();return(0,ne.useEffect)(()=>{if(Je){let Te=function(xt){const Ne=xt.getValue();he&&he(Ne)};return Je.on("change",Te),()=>{Je.off("change",Te)}}},[Je,he]),(0,ne.useEffect)(()=>{Je&&Je.setOption("mode",it)},[Je,it]),(0,ne.useEffect)(()=>{Je&&(ze!==Je.getValue()||ze==="")&&setTimeout(()=>{Je.setValue(ze||"")},300)},[Je,ze]),(0,ne.useEffect)(()=>{if(ut.current&&!Je){const Te=Ae().fromTextArea(ut.current,ct({mode:it,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ot));mt(Te)}},[ut.current,Je]),ne.createElement("div",{className:"my-codemirror-container"},ne.createElement("textarea",{ref:ut}))}},98263:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return kn}});var ne=ie(59301),be=ie(89780),Ce=ie.n(be),yt=ie(76374),Se=ie(76809),Ae=ie(6313),pe=ie(25717),ye=ie(99498),Ee=ie(25419),Re=ie(67549),ht=ie(9200),ke=({value:Tt="",className:an,showTextOnly:sn,showLines:rn,style:$n={}})=>{const Ft=(0,ne.useMemo)(()=>"",[Tt]);return ne.createElement(ne.Fragment,null,ne.createElement("div",{dangerouslySetInnerHTML:{__html:Ft}}))},Le=ie(59301),Ge=Object.defineProperty,nt=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,ft=(Tt,an,sn)=>an in Tt?Ge(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Tt[an]=sn,pt=(Tt,an)=>{for(var sn in an||(an={}))Ct.call(an,sn)&&ft(Tt,sn,an[sn]);if(Et)for(var sn of Et(an))Wt.call(an,sn)&&ft(Tt,sn,an[sn]);return Tt},ze=(Tt,an)=>nt(Tt,ct(an));let he=[{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 it({onActionCallback:Tt,title:an,icon:sn,actionName:rn,className:$n="",children:Ft}){function Ie(){Tt(rn)}return Le.createElement("a",{title:an,className:$n,onClick:Ie},Le.createElement("i",{className:`${sn}`}),Ft)}var ot=({watch:Tt,showNullButton:an,showNullProgramButton:sn,onActionCallback:rn,fullScreen:$n,insertTemp:Ft,hidetoolBar:Ie,extraUse:Xe})=>{const He=[...he,{title:`${Tt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Tt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Le.createElement("ul",{className:"markdown-toolbar-container"},!Ie&&He.map((Ke,Bt)=>Le.createElement("li",{key:Bt},Ke.actionName?Le.createElement(it,ze(pt({},Ke),{onActionCallback:rn})):Le.createElement("span",{className:"v-line"}))),an?Le.createElement("li",null,Le.createElement(it,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:rn},Le.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,sn?Le.createElement(Le.Fragment,null,Le.createElement("li",null,Le.createElement(it,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:rn},Le.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Le.createElement("li",null,Le.createElement(it,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:rn},Le.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ft&&Le.createElement("li",null,Le.createElement(it,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ft}`,onActionCallback:rn},Le.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Xe&&Le.createElement("li",null,Xe),Le.createElement("li",{className:"btn-full-screen"},Le.createElement(it,{icon:`${$n?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:$n?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:rn})))},ut=ie(61569),Je=ie(78241),mt=ie(92832),Te=ie(3113),xt=Object.defineProperty,Ne=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,It=(Tt,an,sn)=>an in Tt?xt(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Tt[an]=sn,We=(Tt,an)=>{for(var sn in an||(an={}))Nt.call(an,sn)&&It(Tt,sn,an[sn]);if(Dt)for(var sn of Dt(an))wt.call(an,sn)&&It(Tt,sn,an[sn]);return Tt},ve=(Tt,an)=>Ne(Tt,Rt(an));const Qe={labelCol:{span:4},wrapperCol:{span:20}};var Vt=({callback:Tt,onCancel:an})=>{function sn(rn){Tt(rn)}return ne.createElement(Je.default,ve(We({},Qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:sn,style:{width:500}}),ne.createElement(Je.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ne.createElement(mt.default,null)),ne.createElement(Je.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ne.createElement(mt.default,null)),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Te.ZP,{type:"ghost",onClick:an},"\u53D6\u6D88")))},Mt=ie(62319),Ue=ie(52999),st=ie(43418),Ht=ie(95237),yn=ie(2781),Ut=ie(59301),Sn=({callback:Tt,onCancel:an})=>{const sn=document.createElement("canvas"),rn=sn.getContext("2d");sn.width=1e3,sn.height=800,rn.fillStyle="#ffffff",rn.fillRect(0,0,sn.width,sn.height);const $n=sn.toDataURL("image/png");return Ut.createElement(st.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ut.createElement(Ht.Z,{style:{height:"100vh"}},Ut.createElement(yn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:$n,visible:!0,title:String(Date.now())},onOk:Ft=>{Tt({src:Ft.url})},onClose:an})))},jt=ie(43428),Jt=ie(43604),Ot=ie(8591),xe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=ie(59301),de=(0,ne.forwardRef)(({onCancel:Tt,editImgId:an,callback:sn},rn)=>{let $n=(0,ne.useRef)(),Ft=(0,ne.useRef)(),Ie=(0,ne.useRef)(),Xe=(0,ne.useRef)(!1);const He=(0,ne.useRef)(!1);console.log("ref:",rn);const[Ke,Bt]=(0,ne.useState)(0),[dt,on]=(0,ne.useState)("100vh");return(0,ne.useEffect)(()=>{Bt(1);try{indexedDB.databases().then(nn=>{nn.forEach(hn=>indexedDB.deleteDatabase(hn.name))})}catch(nn){}},[]),(0,ne.useImperativeHandle)(rn,()=>({setHeight:on})),ce.createElement("div",{ref:He,className:"body-overflow-initial"},ce.createElement(jt.Z,{width:"100vw",height:dt,footer:null,closable:!0,placement:"bottom",open:!!Ke,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${xe.drawerWrap}`,onClose:()=>{window.saveDrawData(nn=>{sn({src:`/api/attachments/${nn}`,id:nn})})},title:ce.createElement(Ht.Z,{align:"middle"},ce.createElement(Jt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(Jt.Z,{onClick:()=>{on(dt==="60px"?"100vh":"60px")}},ce.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ce.createElement(Jt.Z,{onClick:()=>{window.saveDrawData(nn=>{if(nn===null){Ot.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Ot.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),sn({src:`/api/attachments/${nn}`,id:nn,disabledClose:!0})})}},ce.createElement(Te.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ce.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${an||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Ft})))}),fe=ie(11662),le=ie(5112),Fe=ie(5871);const at=le.ZP.Group,Ze={margin:"0 8px"};var Me=({callback:Tt,onCancel:an})=>{function sn(rn){Tt(rn)}return ne.createElement(Je.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:sn},ne.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ne.createElement("span",{style:Ze},"\u5355\u5143\u683C\u6570\uFF1A"),ne.createElement("span",{style:Ze},"\u884C\u6570"),ne.createElement(Je.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ne.createElement(Fe.Z,null)),ne.createElement("span",{style:Ze},"\u5217\u6570"),ne.createElement(Je.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ne.createElement(Fe.Z,null))),ne.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ne.createElement("span",{style:Ze},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ne.createElement(Je.default.Item,{name:"align"},ne.createElement(at,null,ne.createElement(le.ZP,{value:"default"},ne.createElement("i",{className:"fa fa-align-justify"})),ne.createElement(le.ZP,{value:"left"},ne.createElement("i",{className:"fa fa-align-left"})),ne.createElement(le.ZP,{value:"center"},ne.createElement("i",{className:"fa fa-align-center"})),ne.createElement(le.ZP,{value:"right"},ne.createElement("i",{className:"fa fa-align-right"}))))),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Te.ZP,{type:"ghost",onClick:an},"\u53D6\u6D88")))},Lt=ie(78673),bt=ie(20063),et=ie.n(bt),Cn=(0,ne.forwardRef)(({use3d:Tt,width:an,height:sn,callback:rn,showSaveButton:$n},Ft)=>{const Ie=(0,ne.useRef)(),Xe=(0,ne.useRef)(),[He,Ke]=(0,ne.useState)(!1),Bt=(0,ne.useRef)({id:Ie,appName:"graphing",width:an||1e3,height:sn||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)(()=>{Xe.current=new(et())(Bt.current,!0),window.onload=function(){Xe.current.inject("applet_container")}},[]);const dt=()=>{var on=window.ggbApplet.getPNGBase64(1,!0,72);return rn&&rn(on),on};return(0,ne.useEffect)(()=>{Bt.current.appName=He?"3D":"graphing",Xe.current.inject("applet_container")},[He]),(0,ne.useEffect)(()=>{Ke(Tt)},[Tt]),(0,ne.useImperativeHandle)(Ft,()=>({getImgData:dt})),ne.createElement(ne.Fragment,null,ne.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ie}),ne.createElement(Ht.Z,{align:"middle"},ne.createElement(Jt.Z,{flex:1},ne.createElement(Lt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:He,onChange:on=>Ke(on)})),ne.createElement(Jt.Z,null,ne.createElement(Te.ZP,{size:"large",onClick:dt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),kt=ie(50892),Qt=ie(1012);const cn="link",vt="upload-image",Oe="add-flowchart",tt="draw-image",ln="add-flowchart",dn="code-block",An="add-table",Xn="------------",Gt={default:Xn,left:`:${Xn}`,center:`:${Xn}:`,right:`${Xn}:`};var nr=ie(29152),wr=(Tt,an,sn)=>new Promise((rn,$n)=>{var Ft=He=>{try{Xe(sn.next(He))}catch(Ke){$n(Ke)}},Ie=He=>{try{Xe(sn.throw(He))}catch(Ke){$n(Ke)}},Xe=He=>He.done?rn(He.value):Promise.resolve(He.value).then(Ft,Ie);Xe((sn=sn.apply(Tt,an)).next())});function kr(){}let rr=0;const Ar=1e4,li="\u2581",xr="@\u2581\u2581@",Br="@\u2581@",ti=`
|
|
|
**\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`,Rn=["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 tn(Tt){return/^\d+$/.test(Tt)?`${Tt}px`:Tt}const er=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",zt={[er+"-B"]:"bold",[er+"-I"]:"italic"},bn={[cn]:"\u6DFB\u52A0\u94FE\u63A5",[dn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[vt]:"\u6DFB\u52A0\u56FE\u7247",[tt]:"\u6DFB\u52A0\u753B\u56FE",[Oe]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[An]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var kn=({defaultValue:Tt="",onChange:an,width:sn="100%",height:rn=400,miniToolbar:$n=!1,isFocus:Ft=!1,watch:Ie,insertTemp:Xe,mode:He="markdown",id:Ke="markdown-editor-id",showResizeBar:Bt=!1,noStorage:dt=!1,showNullButton:on=!1,showNullProgramButton:nn=!1,hidetoolBar:hn=!1,fullScreen:Pn=!1,onBlur:Jn,onCMBeforeChange:In,onFullScreen:Xt,className:wn="",disablePaste:pr=!1,disabled:lr=!1,disabledFill:ar=!1,placeholder:dr="",values:Ir="",extraUse:tr,onAddBlank:Yr})=>{const[_t,xn]=(0,ne.useState)(null),[Dn,Un]=(0,ne.useState)(Tt),[Bn,Vn]=(0,ne.useState)(Ie),[Nn,ir]=(0,ne.useState)(Pn),[Cr,Nr]=(0,ne.useState)(""),[ai,si]=(0,ne.useState)(0),[mi,br]=(0,ne.useState)(rn),[Hr,Lr]=(0,ne.useState)(!1),ni=(0,ne.useRef)((0,Qt.Z)()),$r=(0,ne.useRef)(!1),Fr=(0,ne.useRef)(),[Vr,ei]=(0,ne.useState)(0),[_r,ki]=(0,ne.useState)(0),Ki=(0,ne.useRef)(),hi=(0,ne.useRef)(),Dr=(0,ne.useRef)(),or=(0,ne.useRef)(),ui=(0,ne.useRef)(),gi=(0,ne.useRef)(),Pi=()=>wr(void 0,null,function*(){var yr;const Kr=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ni.current}});(yr=Kr==null?void 0:Kr.attachments)!=null&&yr.length&&(console.log("cm:",_t,Ki),Kr.attachments.map(Tr=>{Tr.content_type.indexOf("image")>-1?_t.replaceSelection(``):Tr.content_type.indexOf("video")>-1?_t.replaceSelection(`<video width="100%" controls src="${fe.Z.API_SERVER}/api/attachments/${data.id}"></video>`):Tr.content_type.indexOf("pdf")>-1?_t.replaceSelection(`<a href="${fe.Z.API_SERVER}/api/attachments/${Tr.id}?type=${Tr.content_type}&disposition=inline" target="_blank">${Tr.name}</a>`):_t.replaceSelection(`[${Tr.name}](${fe.Z.API_SERVER}/api/attachments/${Tr.id}?type=${Tr.content_type})`)}))});(0,ne.useEffect)(()=>{const yr=window.scrollY||window.pageYOffset;Un(Ir),_t==null||_t.setValue(Ir),window.scrollTo(0,yr)},[Ir]),(0,ne.useEffect)(()=>{Xt==null||Xt(Nn)},[Nn]),(0,ne.useEffect)(()=>{if(Ki.current){let yr=function(Tr,Zr){var wi;if(pr){Zr.preventDefault();return}const ua=Zr.clipboardData;if(ua){const la=ua.types.toString(),va=ua.items;if(la==="Files"||ua.types.indexOf("Files")>-1){if(Zr.preventDefault(),He=="stex")return;try{let $i=va[1];((wi=va[0])==null?void 0:wi.kind)==="file"&&($i=va[0]);const ga=$i.getAsFile(),Wa=ga.name.split(".").pop();(0,Ue.I)(ga,Xa=>{var oo,yo,so;Xa.id?((oo=ga==null?void 0:ga.type)==null?void 0:oo.indexOf("image"))>-1?Kr.replaceSelection(`<img width="100%" src="/api/attachments/${Xa.id}?type=${Xa.content_type})" alt="" />`):((yo=ga==null?void 0:ga.type)==null?void 0:yo.indexOf("video"))>-1?Kr.replaceSelection(`<video width="100%" controls src="/api/attachments/${Xa.id}"></video>`):((so=ga==null?void 0:ga.type)==null?void 0:so.indexOf("pdf"))>-1?Kr.replaceSelection(`<a href="/api/attachments/${Xa.id}?type=${ga.type}&disposition=inline" target="_blank">${ga.name}</a>`):Rn.includes(Wa)?Kr.replaceSelection(`<a href="/api/attachments/${Xa.id}?type=office&disposition=inline" target="_blank">${ga.name}</a>`):Kr.replaceSelection(`[${ga.name}](/api/attachments/${Xa.id}?type=${Xa.content_type})`):(Xa==null?void 0:Xa.status)===401&&(Ot.ZP.warning((Xa==null?void 0:Xa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch($i){Ot.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Kr=Ce().fromTextArea(Ki.current,{mode:He,lineNumbers:!$n,lineWrapping:!0,value:Tt,autoCloseTags:!nn,autoCloseBrackets:!0});return Kr.on("keyup",function(Tr,Zr){Zr.keyCode===8&&(Tr.getValue()==""?Kr.setOption("placeholder",dr):Kr.setOption("placeholder",null))}),Kr.on("keydown",function(Tr,Zr){if(Zr.keyCode===8){var wi=gt(Tr);wi&&Zr.preventDefault()}}),Ft&&Kr.focus(),Kr.on("paste",yr),Kr.on("dragleave",function(Tr,Zr){hi.current.classList.remove("mouse-hover-md")}),lr&&Kr.on("beforeChange",function(Tr,Zr){(Zr.origin==="paste"||Zr.origin==="+input")&&Zr.cancel()}),xn(Kr),()=>{Kr.off("paste",yr)}}},[]);const rt=(0,ne.useCallback)(()=>{if(hi.current)try{}catch(yr){console.log(yr,"---- to set md editor body height")}},[mi,hi,Nn]);(0,ne.useEffect)(()=>{function yr(){let Kr=new yt.Z(Tr=>{for(let Zr of Tr)(Zr.target.offsetHeight>0||Zr.target.offsetWidth>0)&&(rt(),_t.setSize("100%","100%"),_t.refresh())});return Kr.observe(Ki.current.parentElement),Kr}if(_t){const Kr=yr();return()=>{var Tr,Zr;(Tr=Ki.current)!=null&&Tr.parentElement&&Kr.unobserve((Zr=Ki.current)==null?void 0:Zr.parentElement)}}},[_t,rt]),(0,ne.useEffect)(()=>{if(_t){let yr=[];for(const[Kr,Tr]of Object.entries(zt)){let Zr={[Kr]:()=>{Yt(Tr)}};yr.push(Zr),_t.addKeyMap(Zr)}return Fr.current=setInterval(()=>{$r.current&&Pi()},4e3),()=>{clearInterval(Fr.current);for(let Kr of yr)_t.removeKeyMap(Kr)}}},[_t]),(0,ne.useEffect)(()=>{Pn!==Nn&&ir(Pn)},[Pn]),(0,nr.Z)(()=>{if(!dt&&ai>0){let yr=new Date().getTime(),Kr=window.sessionStorage.getItem(Ke);yr>=ai+Ar&&(!Kr||Kr!==Dn)&&(window.sessionStorage.setItem(Ke,Dn),Lr(!0))}},Ar),(0,ne.useEffect)(()=>{Vn(Ie)},[_t,Ie]),(0,ne.useEffect)(()=>{_t&&Ft&&_t.focus()},[_t,Ft]),(0,ne.useEffect)(()=>{if(Bn&&_t){let yr=function(Tr){let Zr=Tr.target;if(or.current){let wi=Zr.scrollTop/Zr.scrollHeight;or.current.scrollTop=or.current.scrollHeight*wi}};const Kr=_t.getScrollerElement();return Kr.addEventListener("scroll",yr),()=>{Kr.removeEventListener("scroll",yr)}}},[_t,Bn]),(0,ne.useEffect)(()=>{if(_t&&In){let yr=function(Kr,Tr){In(Kr,Tr)};return _t.on("beforeChange",yr),()=>{_t.off("beforeChange",yr)}}},[_t,In]),(0,ne.useEffect)(()=>{if(_t&&Jn){let yr=function(){Jn(_t.getValue())};return _t.on("blur",yr),()=>{_t.off("blur",yr)}}},[_t,Jn]);function gt(yr,Kr){var Tr=yr.getDoc(),Zr=Tr.getCursor(),wi=Tr.getLine(Zr.line),ua=wi.charAt(Zr.ch-1),la=wi.lastIndexOf("@\u2581@",Zr.ch),va=wi.lastIndexOf("@\u2581\u2581@",Zr.ch),$i=la>va?la:va,ga=la>va?3:4;if(xr.indexOf(ua)===-1)return null;if(console.log("change1:",Kr,yr,wi,Zr,$i,la,va,ua),$i>=0&&Zr.ch-$i<5){var Wa=$i+ga;return Tr.replaceRange("",{line:Zr.line,ch:$i},{line:Zr.line,ch:Wa}),{line:Zr.line,ch:Wa}}return null}(0,ne.useEffect)(()=>{if(_t){let yr=function(Kr,Tr){const Zr=Kr.getValue();Un(Zr),si(new Date().getTime()),Kr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),an&&(nn?an(Zr,Ci(Zr)):an(Zr))};return _t.on("change",yr),()=>{_t.off("change",yr)}}},[_t,an]),(0,ne.useEffect)(()=>{if(_t)if(Tt==null)_t.setValue(""),Un("");else{const yr=window.scrollY||window.pageYOffset;Tt!==_t.getValue()&&(_t.setValue(Tt),Un(Tt),_t.setCursor(lr?1:_t.lineCount(),0),window.scrollTo(0,yr))}},[_t,Tt]);const Yt=(0,ne.useCallback)(yr=>{const Kr=_t.getCursor(),Tr=_t.getSelection();let Zr=Tr.split(`
|
|
|
`);switch(yr){case"bold":return _t.replaceSelection("**"+Tr+"**"),Tr===""&&_t.setCursor(Kr.line,Kr.ch+2),_t.focus();case"italic":return _t.replaceSelection("*"+Tr+"*"),Tr===""&&_t.setCursor(Kr.line,Kr.ch+1),_t.focus();case"code":return _t.replaceSelection("`"+Tr+"`"),Tr===""&&_t.setCursor(Kr.line,Kr.ch+1),_t.focus();case"inline-latex":return Nr("inline-latex"),_t.focus();case"latex":return _t.replaceSelection("```latex\n"+Tr+"\n```"),_t.setCursor(Kr.line+1,Tr.length+1),_t.focus();case"line-break":return _t.replaceSelection(`<br/>
|
|
|
`),_t.focus();case"list-ul":return Tr===""?_t.replaceSelection("- "+Tr):_t.replaceSelection(Zr.map(wi=>wi===""?"":`- ${wi}`).join(`
|
|
|
`)),_t.focus();case"list-ol":return Tr===""?_t.replaceSelection("1. "+Tr):_t.replaceSelection(Zr.map((wi,ua)=>wi===""?"":`${ua+1}. ${wi}`).join(`
|
|
|
`)),_t.focus();case"add-null-ch":Yr==null||Yr();return;case"add-signal":return Tr===""&&_t.setCursor(Kr.line,Kr.ch),_t.replaceSelection(Br),_t.focus();case"add-multiple":return Tr===""&&_t.setCursor(Kr.line,Kr.ch),_t.replaceSelection(xr),_t.focus();case"inster-template-1":return Tr===""&&_t.setCursor(Kr.line,Kr.ch),_t.replaceSelection(ti),_t.focus();case"eraser":return _t.setValue(""),_t.focus();case"trigger-watch":return Vn(!Bn),_t.focus();case"trigger-full-screen":return ir(!Nn),_t.focus();case cn:Nr(cn);return;case dn:Nr(dn);return;case vt:Nr(vt);return;case tt:Nr(tt);return;case"maths-latex":Nr("maths-latex");return;case Oe:ui.current="",sessionStorage.removeItem("file_id"),Nr(Oe);return;case An:Nr(An);return;default:throw new Error}},[_t,Bn,Nn]),gn=(0,ne.useCallback)((yr,Kr)=>{var Tr,Zr,wi,ua,la,va;Nr("");const{src:$i,alt:ga,id:Wa}=yr||{};switch(Cr){case cn:const{title:sl,link:ja}=yr;return _t.replaceSelection(`[${sl}](${ja})`),_t.focus();case dn:const{language:Va,content:Gn}=yr;return _t.replaceSelection(["```"+Va,Gn,"```"].join(`
|
|
|
`)),_t.focus();case"maths-latex":for(var Xa=atob(yr),oo=new Uint8Array(Xa.length),yo=0;yo<Xa.length;yo++)oo[yo]=Xa.charCodeAt(yo);var so=new Blob([oo],{type:"image/png"});(0,Ue.I)(so,ci=>{ci.id?_t.replaceSelection(``):(ci==null?void 0:ci.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":_t.replaceSelection("`$$"+yr+"$$`");break;case ln:if(!Wa)return;_t.focus(),_t.getValue().indexOf($i)===-1?_t.replaceSelection(`<center><img id="${Wa}" width="80%" src="${$i}" class="draw-flowchart" alt="${ga||""}" /></center>`):document.getElementById(Wa).src=fe.Z.API_SERVER+$i+"?t="+Date.now();try{setTimeout(()=>{Jn(_t.getValue())},100)}catch(ci){}break;case vt:case tt:const Hn=Kr,Fn=(wi=(Zr=(Tr=Hn==null?void 0:Hn.name)==null?void 0:Tr.split("."))==null?void 0:Zr.pop)==null?void 0:wi.call(Zr);return((ua=Hn==null?void 0:Hn.type)==null?void 0:ua.indexOf("image"))>-1||!(Hn!=null&&Hn.type)?Hn!=null&&Hn.align||Hn!=null&&Hn.width?_t.replaceSelection(`<p style="text-align:${Hn.align||"initial"}"><img width="${Hn.width?Hn.width+"%":"initial"}" src="${$i}" alt="${ga||""}" /></p>`):_t.replaceSelection(`<img width="100%" src="${$i}" alt="${ga||""}" />`):((la=Hn==null?void 0:Hn.type)==null?void 0:la.indexOf("video"))>-1?_t.replaceSelection(`<video width="100%" controls src="${$i}"></video>`):((va=Hn==null?void 0:Hn.type)==null?void 0:va.indexOf("pdf"))>-1?_t.replaceSelection(`<a href="${$i}?type=${Hn.type}&disposition=inline" target="_blank">${Hn.name}</a>`):Rn.includes(Fn)?_t.replaceSelection(`<a href="${$i}?type=office&disposition=inline" target="_blank">${Hn.name}</a>`):_t.replaceSelection(`[${Hn.name}](${$i})`),_t.focus();case An:const{row:gr,col:Rr,align:Or}=yr;let ur=`
|
|
|
`;for(let ci=0;ci<gr;ci++){let _i=[],Ji=[];for(let Zi=0;Zi<Rr;Zi++)ci===1&&Ji.push(Gt[Or]),_i.push(" ");ci===1&&(ur+=`| ${Ji.join(" | ")} |
|
|
|
`),ur+=`| ${_i.join(Rr===1?"":" | ")} |
|
|
|
`}return _t.replaceSelection(ur+`
|
|
|
`),_t.focus();default:throw new Error}},[_t,Cr]),Yn=(0,ne.useMemo)(()=>{switch(Cr){case cn:return ne.createElement(Vt,{callback:gn,onCancel:Pt});case dn:return ne.createElement(Mt.Z,{callback:gn,onCancel:Pt});case vt:return ne.createElement(Ue.Z,{callback:gn,onCancel:Pt});case Oe:return ne.createElement(de,{editImgId:ui.current,callback:gn,onCancel:Pt});case An:return ne.createElement(Me,{callback:gn,onCancel:Pt});case"maths-latex":return ne.createElement(Cn,{showSaveButton:!0,callback:gn});case"inline-latex":return ne.createElement(kt.Z,{showSaveButton:!0,callback:gn});default:return null}},[Cr]);function Pt(){Nr("")}(0,ne.useEffect)(()=>{if(Dr.current){let yr=function(la){wi=!0,ua=la.pageY},Kr=function(){wi=!1},Tr=function(la){if(wi){let va=la.pageY-ua;va<0&&(va=0),va>300&&(va=300);let $i=rn+va+"px";br($i)}},Zr=Dr.current,wi=!1,ua=0;return Zr.addEventListener("mousedown",yr),document.addEventListener("mousemove",Tr),document.addEventListener("mouseup",Kr),()=>{Zr.removeEventListener("mousedown",yr),document.removeEventListener("mousemove",Tr),document.removeEventListener("mouseup",Kr)}}},[_t,Dr]),(0,ne.useEffect)(()=>{br(rn)},[rn]);const fn=tn(sn),Wn=tn(mi),Qn={width:fn,height:Wn},Mr=(0,ne.useMemo)(()=>{if(ai){let yr=new Date(ai),Kr=yr.getHours(),Tr=yr.getMinutes(),Zr=yr.getSeconds();return Kr=Kr<10?"0"+Kr:Kr,Tr=Tr<10?"0"+Tr:Tr,Zr=Zr<10?"0"+Zr:Zr,`${Kr}:${Tr}:${Zr}`}return 0},[ai]),Ci=yr=>{const Kr=[];if(nn){let Tr=-1;yr=yr.replace(/(@▁▁@|@▁@)/g,function(Zr,wi,ua){Kr.push({multiLine:Zr!==Br})})}return Kr};function ri(){window.sessionStorage.removeItem(Ke),Lr(!1),si(0)}function ii(){Lr(!1),si(0),_t.setValue(window.sessionStorage.getItem(Ke))}(0,ne.useEffect)(()=>{bn[Cr]&&Cr!==tt&&Cr!==Oe&&setTimeout(()=>{const yr=document.getElementsByClassName("markdown-popup-form")[0],Kr=window.innerWidth/2-yr.offsetWidth/2,Tr=window.innerHeight/2-yr.offsetHeight/2;ei(Kr),ki(Tr)},0)},[Cr]);const Ii=yr=>{yr.preventDefault();const Kr=yr.clientX-Vr,Tr=yr.clientY-_r;document.body.onmousemove=Zr=>{let wi=Zr.clientX-Kr,ua=Zr.clientY-Tr;const la=document.getElementsByClassName("markdown-popup-form")[0],va=window.innerWidth-la.offsetWidth,$i=window.innerHeight-la.offsetHeight;wi=Math.max(0,Math.min(wi,va)),ua=Math.max(0,Math.min(ua,$i)),da(Zr.clientX,Zr.clientY,Kr,Tr)&&(ei(wi),ki(ua))},document.body.onmouseup=function(){document.body.onmousemove=null}},da=(yr,Kr,Tr,Zr)=>{const wi=document.body.clientHeight,ua=document.body.clientWidth;return yr<20&&Tr>yr||yr>ua-20&&Tr<yr||Kr<20&&Zr>Kr||Kr>wi-20&&Zr<Kr?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"markdown-editor-wrapper",ref:hi},ne.createElement("div",{className:`markdown-editor-container ${wn} ${Bn?"on-preview":""} ${$n?"mini":""} ${Nn?"full-screen":""}`,style:Qn},ne.createElement(ot,{insertTemp:Xe,watch:Bn,fullScreen:Nn,showNullButton:on,showNullProgramButton:nn,onActionCallback:Yt,hidetoolBar:hn,extraUse:tr}),ne.createElement("div",{className:"markdown-editor-body"},ne.createElement("div",{className:"codemirror-container"},ne.createElement("textarea",{ref:Ki,placeholder:dr})),Bn?ne.createElement("div",{ref:or,className:"preview-container"},He==="stex"&&ne.createElement(ke,{value:Dn}),He!=="stex"&&ne.createElement(ht.Z,{edit:!0,disabledFill:ar,showProgramFill:nn,value:Dn,openEditor:yr=>{var Kr;ui.current=yr,(Kr=gi.current)==null||Kr.setHeight("100vh"),setTimeout(()=>{Nr("add-flowchart")},150)}})):null))),Bt?ne.createElement("a",{ref:Dr,className:"editor-resize"}):null,Cr===tt&&ne.createElement(Sn,{callback:gn,onCancel:Pt}),Cr===Oe&&ne.createElement(de,{ref:gi,editImgId:ui.current,callback:gn,onCancel:Pt}),ne.createElement(ut.Z,null,bn[Cr]&&Cr!==tt&&Cr!==Oe?ne.createElement(st.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Vr,top:_r},title:ne.createElement("div",{style:{cursor:"move"},onMouseDown:Ii},bn[Cr]),open:!0,onCancel:Pt,footer:null,destroyOnClose:!0,width:Cr===Oe?"1200px":null,height:Cr===Oe?"80vh":null,className:"markdown-popup-form"},Yn):null))}},52999:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return it},I:function(){return ut}});var ne=ie(78241),be=ie(8591),Ce=ie(92832),yt=ie(81327),Se=ie(5871),Ae=ie(5112),pe=ie(3113),ye=ie(25676),Ee=ie(59301),Re=ie(16624),ht=ie(59301),ke=Object.defineProperty,Le=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Ct=(Je,mt,Te)=>mt in Je?ke(Je,mt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Je[mt]=Te,Wt=(Je,mt)=>{for(var Te in mt||(mt={}))ct.call(mt,Te)&&Ct(Je,Te,mt[Te]);if(nt)for(var Te of nt(mt))Et.call(mt,Te)&&Ct(Je,Te,mt[Te]);return Je},ft=(Je,mt)=>Le(Je,Ge(mt));const{useForm:pt}=ne.default,ze={width:280,marginRight:10},he={labelCol:{span:5},wrapperCol:{span:19}};var it=({callback:Je,onCancel:mt})=>{const[Te]=pt();let xt=(0,Ee.useRef)();function Ne(Nt){xt.current.width=Te.getFieldValue("width"),xt.current.align=Te.getFieldValue("align"),Je(Nt,xt.current)}function Rt(Nt,wt){if(Nt.status===-1){be.ZP.error(Nt.message);return}Te.setFieldsValue({src:`/api/attachments/${Nt.id}`,type:wt.type})}function Dt(Nt){let wt=Nt.target.files[0];xt.current=wt,ut(wt,Rt)}return ht.createElement(ne.default,ft(Wt({form:Te},he),{className:"upload-image-panel",onFinish:Ne,style:{width:470,overflow:"hidden"}}),ht.createElement(ne.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ht.createElement("div",{className:"flex-container"},ht.createElement(ne.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ht.createElement(Ce.default,{style:ze})),ht.createElement(ot,{onFileChange:Dt}))),ht.createElement(ne.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ht.createElement(Ce.default,{style:{width:264}})),ht.createElement(ne.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ht.createElement(yt.Z,null,ht.createElement(ne.default.Item,{name:"width",style:{margin:0}},ht.createElement(Se.Z,{style:{width:264}})),ht.createElement("span",{className:"ml8"},"%"))),ht.createElement(ne.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ht.createElement(Ae.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"}]})),ht.createElement("aside",null,ht.createElement(ne.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ht.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ht.createElement(pe.ZP,{type:"default",onClick:mt},"\u53D6\u6D88"))))};function ot({onFileChange:Je}){return ht.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ht.createElement("input",{type:"file",onChange:Je}))}function ut(Je,mt){if(!Je)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Re.bg)())throw be.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Te=new FormData;Te.append("editormd-image-file",Je),Te.append("file_param_name","editormd-image-file"),Te.append("byxhr","true");var xt=new window.XMLHttpRequest;xt.withCredentials=!0,xt.addEventListener("load",function(Ne){mt(JSON.parse(Ne.target.responseText),Je)},!1),xt.addEventListener("error",function(Ne){console.error(Ne)},!1),xt.open("POST",`${ye.KI}/api/attachments.json`),xt.send(Te)}},61569:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return Ce}});var ne=ie(59301),be=ie(4676);class Ce extends ne.Component{constructor(Se){super(Se);const Ae=window.document;this.node=Ae.createElement("div"),Ae.body.appendChild(this.node)}render(){const{children:Se}=this.props;return(0,be.createPortal)(Se,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23734:function(Ln,pn,ie){"use strict";ie.d(pn,{i:function(){return he},Z:function(){return ot}});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"},be=ie(71418),Ce=ie(6848),yt=ie(93948),Se=ie(92310),Ae=ie.n(Se),pe=ie(22566),ye=ie(21692),Ee=ie(16624),Re=ie(79005),ht=ie(20345),ke=ie(77882),Le=ie(31081),Ge=ie(75309),nt=ie(71979),ct=ie(47558),Et=ie(42922),Ct=ie(66832),Wt=ie(96593),ft=ie(19664),pt=ie(91833),ze=ie(59301);const he=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Re,swimg:ht},{name:"101\u8BA1\u5212",ptimg:ke,swimg:Le},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ge,swimg:nt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ct,swimg:Et},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ct,swimg:Wt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ft,swimg:pt}];var ot=({className:ut,dataSource:Je=[],col:mt=4,right:Te,bottom:xt=23,precision:Ne=0,wrapWidth:Rt=1200,trackEventItems:Dt,loading:Nt,onRemove:wt=()=>{},isCurrent:It=!0,showAlias:We=!1,showProgress:ve=!1})=>{const Qe=Math.floor((Rt-(mt-1)*Te)/mt),Vt=[{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(Mt=>(window.ENV==="build"&&(Mt.ptimg=`/react/build${Mt.ptimg}`,Mt.swimg=`/react/build${Mt.swimg}`),Mt));return ze.createElement(be.Z,{spinning:Nt},ze.createElement("div",{className:Ae()(ne.list,ut)},!!(Je!=null&&Je.length)&&(Je==null?void 0:Je.map((Mt,Ue)=>{var st,Ht,yn,Ut,Sn,jt;const{name:Jt,id:Ot,identifier:xe,featured:ce,school_name:ue,image_url:de,excellent:fe,is_plan:le}=Mt;return ze.createElement("div",{key:Ot,className:It&&ve?ne.wrapisCurrent:ne.wrap,style:{width:Qe,marginRight:(1+Ue)%mt===0?0:Te+Ne,marginBottom:xt}},ze.createElement("a",{className:ne.li,onClick:Fe=>{Fe.preventDefault(),Fe.stopPropagation(),Dt&&(0,pe.L9)([Dt]),(0,pe.xg)(`/paths/${xe}`)}},ze.createElement("div",{className:ne.img},ze.createElement("img",{className:ne.cover,src:`${de}`}),It&&(0,Ee.bg)()&&(Mt==null?void 0:Mt.studying)&&ze.createElement("div",{className:`${ne.movebq} user-path-items`,onClick:Fe=>{Fe.stopPropagation(),wt(Mt)}},ze.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ze.createElement("span",{className:"c-red"},"\u79FB\u9664")),(st=Mt==null?void 0:Mt.subject_tags)==null?void 0:st.map((Fe,at)=>{var Ze,Me;if(at===0){const bt=(Ze=Vt.find(et=>et.name==Fe))==null?void 0:Ze.swimg;return ze.createElement("img",{className:ne.sign,src:bt,style:{left:"-4px"}})}const Lt=(Me=Vt.find(bt=>bt.name==Fe))==null?void 0:Me.ptimg;return ze.createElement("img",{className:ne.sign,src:Lt,style:{left:`${48+52*(at-1)+2*at}px`}})}),ze.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Mt==null?void 0:Mt.excellent)&&ze.createElement("div",{className:ne.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ze.createElement("div",{className:ne.name},ze.createElement(Ce.Z,{title:We&&(Mt!=null&&Mt.excellent_alias_name)?ze.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Jt}`,ze.createElement("br",null),ze.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Mt==null?void 0:Mt.excellent_alias_name}`)):Jt},ze.createElement("span",{className:ne.e},We&&(Mt==null?void 0:Mt.excellent_alias_name)||Jt))),It&&ve&&((Ht=Mt==null?void 0:Mt.progress)==null?void 0:Ht.all_score)!=0&&ze.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ze.createElement(yt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((yn=Mt==null?void 0:Mt.progress)==null?void 0:yn.my_score)/((Ut=Mt==null?void 0:Mt.progress)==null?void 0:Ut.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Sn=Mt==null?void 0:Mt.progress)==null?void 0:Sn.my_score,"/",(jt=Mt==null?void 0:Mt.progress)==null?void 0:jt.all_score),(!It||!ve)&&ze.createElement("div",{className:ne.tags},ze.createElement("div",null,ze.createElement(Ce.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ze.createElement("span",null,ze.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ze.createElement("span",null,Mt.stages_count))),ze.createElement(Ce.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ze.createElement("span",null,ze.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ze.createElement("span",null,Mt.members_count)))))))})),!Je.length&&ze.createElement(ye.Z,null)))}},14433:function(Ln,pn,ie){"use strict";ie.d(pn,{jL:function(){return Se},w9:function(){return bn},vv:function(){return Ie},dN:function(){return sn},QD:function(){return ei},cQ:function(){return at.Z},vg:function(){return Rn},Oz:function(){return rr},op:function(){return Hr},O5:function(){return Ci},_b:function(){return or},t7:function(){return xt},tT:function(){return Dt},Gi:function(){return Xt},YG:function(){return Bt},Ed:function(){return Jn},kT:function(){return nn},qp:function(){return Et},Um:function(){return he},K3:function(){return ft},vr:function(){return Ki},qE:function(){return $r},Je:function(){return It},wb:function(){return jt},rC:function(){return Fe},lB:function(){return xe},cq:function(){return Ir},kO:function(){return xn},tp:function(){return ut},Si:function(){return Ii},k8:function(){return Va},Du:function(){return la}});var ne=ie(59301),be={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"},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv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weu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Se=({dataSource:Gn=[],img:Hn,imgWidth:Fn=346,title:gr,sunTitle:Rr,bannerExtraContent:Or})=>ne.createElement("div",{className:be.banner},ne.createElement("div",{className:be.content},ne.createElement("aside",null,ne.createElement("p",null,ne.createElement("b",null,gr),ne.createElement("span",null,Rr)),Gn.length>0&&ne.createElement("div",{className:be.btns},Gn.map((ur,ci)=>ne.createElement("div",{key:ci,onClick:ur.click},ur.name,ur.sign?ne.createElement("img",{src:Ce,width:39}):null))),Or),Hn&&ne.createElement("img",{style:{marginTop:33,marginRight:38},src:Hn,width:Fn}))),Ae={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"},pe=ie(92310),ye=ie.n(pe),Ee=ie(89392),Re=Object.defineProperty,ht=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Ge=(Gn,Hn,Fn)=>Hn in Gn?Re(Gn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Gn[Hn]=Fn,nt=(Gn,Hn)=>{for(var Fn in Hn||(Hn={}))ke.call(Hn,Fn)&&Ge(Gn,Fn,Hn[Fn]);if(ht)for(var Fn of ht(Hn))Le.call(Hn,Fn)&&Ge(Gn,Fn,Hn[Fn]);return Gn},Et=({dataSource:Gn=[],value:Hn,onChange:Fn,onTitleChange:gr,className:Rr,title:Or,titleWidth:ur=41,style:ci={},fontColor:_i="#6A7283",showCount:Ji,classNameActive:Zi,styleItem:di={}})=>{const[Vi,Hi]=(0,ne.useState)(0),[La,Yi]=(0,ne.useState)(!1),ra=(0,ne.useRef)(null),Ia=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{var io;Gn.length!==0&&(((io=ra==null?void 0:ra.current)==null?void 0:io.clientHeight)>97?Hi(1):Hi(0)),Gn.length===0&&Hi(0),Yi(!1)},[Gn]),ne.createElement("div",{className:ye()(Ae.row,Rr),style:ci},ne.createElement("div",{onClick:(0,Ee.throttle)(()=>gr==null?void 0:gr(),2e3),style:{width:ur,marginTop:La?12:4},className:`${Ae.title} ${gr?"current":""}`},Or),ne.createElement("div",{className:La?`${Ae.tagsWrap} ${Ae.tagsBorderWrap}`:Ae.tagsWrap},ne.createElement("div",{className:Ae.bar,ref:Ia,style:Vi>0?{height:Vi===1?97:"auto",overflow:Vi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ne.createElement("div",{className:Ae.tag,ref:ra},Gn==null?void 0:Gn.map(io=>ne.createElement("span",{onClick:()=>Fn(io.id),key:io.id,style:nt(nt({color:_i},di),(io==null?void 0:io.style)||{}),className:Hn===io.id?ye()(Zi||Ae.active,io.classNameActive):""},ne.createElement("span",{title:io.name,className:Ae.name},io.name),!!Ji&&ne.createElement("span",{className:Ae.num},io.count))))),!!Vi&&ne.createElement(ne.Fragment,null,Vi===1?ne.createElement("div",{onClick:()=>{var io;Hi(2),((io=ra==null?void 0:ra.current)==null?void 0:io.clientHeight)>245?Yi(!0):Yi(!1)},className:Ae.action},"\u5C55\u5F00",ne.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ne.createElement("div",{onClick:()=>{Ia.current.scrollTop=0,Hi(1),Yi(!1)},className:Ae.action},"\u6536\u8D77",ne.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ct={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"},ft=({dataSource:Gn=[],value:Hn,onChange:Fn,onTitleChange:gr,className:Rr,title:Or,titleWidth:ur=41,style:ci={},fontColor:_i="#6A7283",showCount:Ji,expand:Zi=!0})=>{const[di,Vi]=(0,ne.useState)(0),[Hi,La]=(0,ne.useState)(!1),Yi=(0,ne.useRef)(null),ra=(0,ne.useRef)(null),[Ia,io]=(0,ne.useState)(Zi);return ne.createElement("div",{className:ye()(Ct.row,Rr),style:ci},ne.createElement("div",{className:"flex item-center justify-between"},ne.createElement("div",{onClick:(0,Ee.throttle)(()=>gr==null?void 0:gr(),2e3),style:{width:ur,marginTop:Hi?12:4},className:`${Ct.title} ${gr?"current":""}`},Or),ne.createElement("i",{className:`iconfont ${Ia?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Ia?8:10},onClick:()=>io(!Ia)})),Ia&&ne.createElement("div",{className:Hi?`${Ct.tagsWrap} ${Ct.tagsBorderWrap}`:Ct.tagsWrap},ne.createElement("div",{className:Ct.fenge}),ne.createElement("div",{className:Ct.bar,ref:ra},ne.createElement("div",{className:Ct.tag,ref:Yi},Gn==null?void 0:Gn.map(po=>ne.createElement("span",{onClick:()=>Fn(po.id),key:po.id,style:{color:_i},className:Hn===po.id?Ct.active:""},ne.createElement("span",{title:po.name,className:Ct.name},po.name),!!Ji&&ne.createElement("span",{className:Ct.num},po.count)))))))},pt={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"},he=({dataSource:Gn=[],value:Hn,onChange:Fn,onTitleChange:gr,className:Rr,title:Or,titleWidth:ur=41,style:ci={},fontColor:_i="#fff",showCount:Ji,expand:Zi=!0})=>{const[di,Vi]=(0,ne.useState)(0),[Hi,La]=(0,ne.useState)(!1),Yi=(0,ne.useRef)(null),ra=(0,ne.useRef)(null),[Ia,io]=(0,ne.useState)(Zi);return ne.createElement("div",{className:ye()(pt.row,Rr),style:ci},ne.createElement("div",{className:"flex item-center justify-between"},ne.createElement("div",{onClick:(0,Ee.throttle)(()=>gr==null?void 0:gr(),2e3),style:{width:ur},className:`${pt.title} ${gr?"current":""}`},Or),ne.createElement("i",{className:`iconfont ${Ia?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Ia?"#00DDC7":"#037F74",fontSize:Ia?10:12},onClick:()=>io(!Ia)})),Ia&&ne.createElement("div",{className:Hi?`${pt.tagsWrap} ${pt.tagsBorderWrap}`:pt.tagsWrap},ne.createElement("div",{className:pt.bar,ref:ra},ne.createElement("div",{className:pt.tag,ref:Yi},Gn==null?void 0:Gn.map(po=>ne.createElement("span",{onClick:()=>Fn(po.id),key:po.id,style:{color:_i},className:Hn===po.id?pt.active:""},ne.createElement("span",{title:po.name,className:pt.name},po.name),!!Ji&&ne.createElement("span",{className:pt.num},po.count)))))))},it={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"},ut=({dataSource:Gn=[],value:Hn,onChange:Fn,className:gr,style:Rr={}})=>ne.createElement("div",{style:Rr,className:ye()(it.tabs,gr)},Gn.map(Or=>ne.createElement("span",{onClick:()=>Fn(Or.id),className:Hn===Or.id?it.active:"",key:Or.id},Or.name))),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"},mt=ie(92832),xt=({dataSource:Gn=[],value:Hn="",onChange:Fn,onInputChange:gr=()=>{},className:Rr,style:Or={},placeholder:ur,allowClear:ci=!1})=>{var _i;const[Ji,Zi]=(0,ne.useState)(""),[di,Vi]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var Yi;let ra=Hn;(Yi=JSON.stringify(Hn))!=null&&Yi.includes("{")&&(Zi(Hn.id),ra=Hn.value||"");try{Vi(decodeURIComponent(ra||""))}catch(Ia){Vi(decodeURIComponent(ra||""))}},[Hn]);const Hi=()=>{Fn(encodeURIComponent(di),Ji||null)},La=Yi=>{Yi!==Ji&&(Zi(Yi),Fn(encodeURIComponent(di),Yi))};return ne.createElement("div",{className:ye()(Je.input,Rr),style:Or},!!Gn.length&&ne.createElement("div",{className:Je.dropdown},ne.createElement("div",{className:Je.text},(_i=Gn.find(Yi=>Yi.id===Ji))==null?void 0:_i.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},Gn.map((Yi,ra)=>ne.createElement("div",{key:ra,onClick:()=>La(Yi.id)},Yi.name)))),ne.createElement(mt.default,{onPressEnter:Hi,value:di,onChange:Yi=>{Vi(Yi.target.value),gr(encodeURIComponent(Yi.target.value),Ji||null)},bordered:!1,placeholder:ur}),ne.createElement("i",{onClick:Hi,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Ne={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"},Dt=({dataSource:Gn=[],value:Hn="",onChange:Fn,onInputChange:gr=()=>{},className:Rr,style:Or={},placeholder:ur,allowClear:ci=!1})=>{var _i;const[Ji,Zi]=(0,ne.useState)(""),[di,Vi]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var Yi;let ra=Hn;(Yi=JSON.stringify(Hn))!=null&&Yi.includes("{")&&(Zi(Hn.id),ra=Hn.value||"");try{Vi(decodeURIComponent(ra||""))}catch(Ia){Vi(decodeURIComponent(ra||""))}},[Hn]);const Hi=()=>{Fn(encodeURIComponent(di),Ji||null)},La=Yi=>{Yi!==Ji&&(Zi(Yi),Fn(encodeURIComponent(di),Yi))};return ne.createElement("div",{className:ye()(Ne.input,Rr),style:Or},!!Gn.length&&ne.createElement("div",{className:Ne.dropdown},ne.createElement("div",{className:Ne.text},(_i=Gn.find(Yi=>Yi.id===Ji))==null?void 0:_i.name,ne.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ne.createElement("div",{className:Ne.menu},Gn.map((Yi,ra)=>ne.createElement("div",{key:ra,onClick:()=>La(Yi.id)},Yi.name)))),ne.createElement(mt.default,{onPressEnter:Hi,value:di,onChange:Yi=>{Vi(Yi.target.value),gr(encodeURIComponent(Yi.target.value),Ji||null)},bordered:!1,placeholder:ur}),ne.createElement("i",{onClick:Hi,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Nt={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"},It=({value:Gn,onChange:Hn,className:Fn,total:gr,pageSize:Rr,style:Or={}})=>{const ur=Gn<2,ci=Gn>=Math.ceil(gr/Rr);return gr<=Rr?ne.createElement(ne.Fragment,null):ne.createElement("div",{className:ye()(Nt.quickPager,Fn),style:Or},ne.createElement("div",{onClick:()=>{ur||Hn(Gn-1,"prev")},className:ur?Nt.disabled:""},"\u4E0A\u4E00\u9875"),ne.createElement("div",{onClick:()=>{ci||Hn(Gn+1,"next")},className:ci?Nt.disabled:""},"\u4E0B\u4E00\u9875"))},We={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"},ve=ie(71418),Qe=ie(6848),Vt=ie(13570),Mt=ie(11662),Ue=ie(22566),st=ie(96908),Ht=ie(57177),yn=ie(81378),Ut=ie(21692),jt=({className:Gn,dataSource:Hn=[],col:Fn=4,right:gr,bottom:Rr=23,precision:Or=0,wrapWidth:ur=1200,trackEventItems:ci,loading:_i})=>{const Ji=Math.floor((ur-(Fn-1)*gr)/Fn);return ne.createElement(ve.Z,{spinning:_i},ne.createElement("div",{className:ye()(We.list,Gn)},!!Hn.length&&Hn.map((Zi,di)=>{const{name:Vi,id:Hi,identifier:La,power:Yi,cover_image_id:ra,pic:Ia}=Zi;return ne.createElement("div",{className:We.wrap,key:Hi,style:{width:Ji,marginRight:(1+di)%Fn===0?0:gr+Or,marginBottom:Rr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${La}/challenges`,className:We.li,onClick:io=>{io.preventDefault(),ci&&(0,Ue.L9)([ci]),Yi&&(0,Ue.xg)(`/shixuns/${La}/challenges`)}},ne.createElement("div",{className:We.img},ne.createElement("img",{className:We.cover,src:`${Ia}`}),Zi.is_jupyter&&ne.createElement("img",{className:We.sign,src:st}),Zi.is_jupyter_lab&&ne.createElement("img",{className:We.sign,src:Ht}),Zi.is_unity_3d&&ne.createElement("img",{className:We.sign,src:yn})),ne.createElement("div",{className:We.name},ne.createElement(Qe.Z,{title:Vi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:We.e},Vi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:We.tags},ne.createElement(Qe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,Zi.challenges_count))),!!Zi.myshixuns_count&&ne.createElement(Qe.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,Zi.myshixuns_count))),ne.createElement(Qe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,Zi.level))),ne.createElement("div",{className:We.rate},ne.createElement(Vt.Z,{allowHalf:!0,disabled:!0,defaultValue:Zi.score_info}),ne.createElement("span",null,"\xA0",Zi.score_info?`${Zi.score_info}\u5206`:"5\u5206")))),!Yi&&ne.createElement("div",{className:We.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")))}),!Hn.length&&ne.createElement(Ut.Z,null)))},Jt={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"},xe=({className:Gn,dataSource:Hn=[],col:Fn=4,right:gr,bottom:Rr=23,precision:Or=0,wrapWidth:ur=1200,wrapClassName:ci,trackEventItems:_i,loading:Ji})=>{const Zi=Math.floor((ur-(Fn-1)*gr)/Fn);return ne.createElement(ve.Z,{spinning:Ji},ne.createElement("div",{className:ye()(Jt.list,Gn)},!!Hn.length&&Hn.map((di,Vi)=>{const{name:Hi,id:La,identifier:Yi,power:ra,cover_image_id:Ia,pic:io}=di;return ne.createElement("div",{className:ye()(Jt.wrap,ci),key:La,style:{width:Zi,marginRight:(1+Vi)%Fn===0?0:gr+Or,marginBottom:Rr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${Yi}/challenges`,className:Jt.li,onClick:po=>{po.preventDefault(),_i&&(0,Ue.L9)([_i]),ra&&(0,Ue.xg)(`/shixuns/${Yi}/challenges`)}},ne.createElement("img",{src:ie(47621),className:Jt.titleBg}),ne.createElement("div",{className:Jt.name},ne.createElement(Qe.Z,{title:Hi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:Jt.e},Hi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{style:{padding:"14px",paddingBottom:0}},ne.createElement("div",{className:Jt.img},ne.createElement("img",{className:Jt.cover,src:Ia?`${Mt.Z.API_SERVER}/api/attachments/${Ia}`:`${Mt.Z.IMG_SERVER+io}`}),di.is_jupyter&&ne.createElement("div",{className:Jt.bq},"Jupyter"),di.is_jupyter_lab&&ne.createElement("div",{className:Jt.bq},"JupyterLab"),di.is_unity_3d&&ne.createElement("div",{className:Jt.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:Jt.text},"\u5B66\u4E60\u4EBA\u6570"),ne.createElement("span",{className:Jt.value},di.myshixuns_count)),ne.createElement("div",null,ne.createElement("span",{className:Jt.text},"\u56F0\u96BE\u7B49\u7EA7"),ne.createElement("span",{className:Jt.value},di.level))),ne.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ne.createElement("div",null,ne.createElement("span",{className:Jt.text},"\u5173\u5361\u6570"),ne.createElement("span",{className:Jt.value},di.challenges_count)),ne.createElement("div",{className:Jt.rate},ne.createElement(Vt.Z,{allowHalf:!0,disabled:!0,defaultValue:di.score_info}),ne.createElement("span",{className:Jt.value,style:{color:"#FF9C00"}},"\xA0",di.score_info?`${di.score_info}\u5206`:"5\u5206"))))),!ra&&ne.createElement("div",{className:Jt.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")))}),!Hn.length&&ne.createElement(Ut.Z,null)))},ce={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"},ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmsw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NtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Fe=({className:Gn,dataSource:Hn=[],col:Fn=4,right:gr,bottom:Rr=23,precision:Or=0,wrapWidth:ur=1200,trackEventItems:ci,loading:_i,wrapClassName:Ji,imgClassName:Zi})=>{const di=Math.floor((ur-(Fn-1)*gr)/Fn);return ne.createElement(ve.Z,{spinning:_i},ne.createElement("div",{className:ye()(ce.list,Gn)},!!Hn.length&&Hn.map((Vi,Hi)=>{const{name:La,id:Yi,identifier:ra,power:Ia,cover_image_id:io,pic:po}=Vi;return ne.createElement("div",{className:ye()(ce.wrap,Ji),key:Yi,style:{width:di,marginRight:(1+Hi)%Fn===0?0:gr+Or,marginBottom:Rr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${ra}/challenges`,className:ce.li,onClick:il=>{il.preventDefault(),ci&&(0,Ue.L9)([ci]),Ia&&(0,Ue.xg)(`/shixuns/${ra}/challenges`)}},ne.createElement("div",{className:ye()(ce.img,Zi)},ne.createElement("img",{className:ce.cover,src:io?`${Mt.Z.API_SERVER}/api/attachments/${io}`:`${Mt.Z.IMG_SERVER+po}`}),Vi.is_jupyter&&ne.createElement("img",{className:ce.sign,src:ue}),Vi.is_jupyter_lab&&ne.createElement("img",{className:ce.sign,src:de}),Vi.is_unity_3d&&ne.createElement("img",{className:ce.sign,src:fe})),ne.createElement("div",{className:ce.name},ne.createElement(Qe.Z,{title:La||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:ce.e},La||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:ce.tags},ne.createElement(Qe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,Vi.challenges_count))),!!Vi.myshixuns_count&&ne.createElement(Qe.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,Vi.myshixuns_count))),ne.createElement(Qe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,Vi.level))),ne.createElement("div",{className:ce.rate},ne.createElement(Vt.Z,{allowHalf:!0,disabled:!0,defaultValue:Vi.score_info}),ne.createElement("span",null,"\xA0",Vi.score_info?`${Vi.score_info}\u5206`:"5\u5206")))),!Ia&&ne.createElement("div",{className:ce.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")))}),!Hn.length&&ne.createElement(Ut.Z,null)))},at=ie(23734),Ze={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"},Me=ie(79005),Lt=ie(20345),bt=ie(77882),et=ie(31081),Zt=ie(75309),Cn=ie(71979),kt=ie(47558),Qt=ie(42922),cn=ie(66832),vt=ie(96593),Oe=ie(19664),tt=ie(91833),ln=Object.defineProperty,dn=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Gt=(Gn,Hn,Fn)=>Hn in Gn?ln(Gn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Gn[Hn]=Fn,nr=(Gn,Hn)=>{for(var Fn in Hn||(Hn={}))An.call(Hn,Fn)&&Gt(Gn,Fn,Hn[Fn]);if(dn)for(var Fn of dn(Hn))Xn.call(Hn,Fn)&&Gt(Gn,Fn,Hn[Fn]);return Gn};const wr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Me,swimg:Lt},{name:"101\u8BA1\u5212",ptimg:bt,swimg:et},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Zt,swimg:Cn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:kt,swimg:Qt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:cn,swimg:vt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Oe,swimg:tt}];var rr=({className:Gn,dataSource:Hn=[],col:Fn=4,right:gr,bottom:Rr=23,precision:Or=0,wrapWidth:ur=1200,trackEventItems:ci,loading:_i,wrapClassName:Ji,imgClassName:Zi,isArrow:di=!1,imgStyle:Vi={}})=>{const Hi=Math.floor((ur-(Fn-1)*gr)/Fn),[La,Yi]=(0,ne.useState)(),[ra,Ia]=(0,ne.useState)(),io=il=>Yi(il),po=()=>Yi(-1);return ne.createElement(ve.Z,{spinning:_i},ne.createElement("div",{className:ye()(Ze.list,Gn)},!!(Hn!=null&&Hn.length)&&(Hn==null?void 0:Hn.map((il,wl)=>{var Bs;const{name:ul,id:cl,identifier:Jo,featured:hs,school_name:Bl,image_url:ts,excellent:Rs,is_plan:_l}=il;return ne.createElement("div",{key:cl,className:ye()(Ze.wrap,Ji),style:{width:Hi,marginRight:(1+wl)%Fn===0?0:gr+Or,marginBottom:Rr}},ne.createElement("a",{target:"_blank",href:`/paths/${Jo}`,className:Ze.li,onClick:_o=>{_o.preventDefault(),ci&&(0,Ue.L9)([ci]),(0,Ue.xg)(`/paths/${Jo}`)}},ne.createElement("img",{src:ie(39057),className:Ze.titleBg}),ne.createElement("div",{className:Ze.name},ne.createElement(Qe.Z,{title:ul},ne.createElement("span",{className:Ze.e,style:{color:di&&La===wl?"#145DFF":"#000000"},onMouseEnter:()=>{io(wl)},onMouseLeave:po},ul))),ne.createElement("div",{style:{padding:"14px",paddingBottom:0}},ne.createElement("div",{className:ye()(Ze.img,Zi)},ne.createElement("img",{className:Ze.cover,style:nr({},Vi),src:`${Mt.Z.IMG_SERVER+ts}`}),(Bs=il==null?void 0:il.subject_tags)==null?void 0:Bs.map((_o,Io)=>{var bo,Rl;if(Io===0){const zl=(bo=wr.find(uo=>uo.name==_o))==null?void 0:bo.swimg;return ne.createElement("img",{className:Ze.sign,src:zl,style:{left:"-4px"}})}const Us=(Rl=wr.find(zl=>zl.name==_o))==null?void 0:Rl.ptimg;return ne.createElement("img",{className:Ze.sign,src:Us,style:{left:`${48+52*(Io-1)+2*Io}px`}})}),ne.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(il==null?void 0:il.excellent)&&ne.createElement("div",{className:Ze.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ne.createElement("div",null,ne.createElement("span",{className:Ze.text},"\u7AE0\u8282\u6570"),ne.createElement("span",{className:Ze.value},il.stages_count)),ne.createElement("div",null,ne.createElement("span",{className:Ze.text},"\u5B66\u4E60\u4EBA\u6570"),ne.createElement("span",{className:Ze.value},il.members_count))))))})),!Hn.length&&ne.createElement(Ut.Z,null)))},Ar={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"},li=ie(16624),xr=ie(59301);const Br=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Me,swimg:Lt},{name:"101\u8BA1\u5212",ptimg:bt,swimg:et},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Zt,swimg:Cn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:kt,swimg:Qt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:cn,swimg:vt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Oe,swimg:tt}];var Rn=({className:Gn,dataSource:Hn=[],col:Fn=4,right:gr,bottom:Rr=23,precision:Or=0,wrapWidth:ur=1200,trackEventItems:ci,loading:_i,onRemove:Ji=()=>{},isCurrent:Zi=!0,showAlias:di=!1,wrapClassName:Vi,imgClassName:Hi})=>{const La=Math.floor((ur-(Fn-1)*gr)/Fn),Yi=[{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(ra=>(window.ENV==="build"&&(ra.ptimg=`/react/build${ra.ptimg}`,ra.swimg=`/react/build${ra.swimg}`),ra));return xr.createElement(ve.Z,{spinning:_i},xr.createElement("div",{className:ye()(Ar.list,Gn)},!!(Hn!=null&&Hn.length)&&(Hn==null?void 0:Hn.map((ra,Ia)=>{var io;const{name:po,id:il,identifier:wl,featured:Bs,school_name:ul,image_url:cl,excellent:Jo,is_plan:hs}=ra;return xr.createElement("div",{key:il,className:ye()(Ar.wrap,Vi),style:{width:La,marginRight:(1+Ia)%Fn===0?0:gr+Or,marginBottom:Rr}},xr.createElement("a",{className:Ar.li,onClick:Bl=>{Bl.preventDefault(),Bl.stopPropagation(),ci&&(0,Ue.L9)([ci]),(0,Ue.xg)(`/paths/${wl}`)}},xr.createElement("div",{className:ye()(Ar.img,Hi)},xr.createElement("img",{className:Ar.cover,src:`${Mt.Z.IMG_SERVER+cl}`}),Zi&&(0,li.bg)()&&(ra==null?void 0:ra.studying)&&xr.createElement("div",{className:`${Ar.movebq} user-path-items`,onClick:Bl=>{Bl.stopPropagation(),Ji(ra)}},xr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),xr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(io=ra==null?void 0:ra.subject_tags)==null?void 0:io.map((Bl,ts)=>{var Rs,_l;if(ts===0){const Io=(Rs=Yi.find(bo=>bo.name==Bl))==null?void 0:Rs.swimg;return xr.createElement("img",{className:Ar.sign,src:Io,style:{left:"-4px"}})}const _o=(_l=Yi.find(Io=>Io.name==Bl))==null?void 0:_l.ptimg;return xr.createElement("img",{className:Ar.sign,src:_o,style:{left:`${48+52*(ts-1)+2*ts}px`}})}),xr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(ra==null?void 0:ra.excellent)&&xr.createElement("div",{className:Ar.bq},"\u5F00\u653E\u8BFE\u7A0B"))),xr.createElement("div",{className:Ar.name},xr.createElement(Qe.Z,{title:di&&(ra!=null&&ra.excellent_alias_name)?xr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${po}`,xr.createElement("br",null),xr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ra==null?void 0:ra.excellent_alias_name}`)):po},xr.createElement("span",{className:Ar.e},di&&(ra==null?void 0:ra.excellent_alias_name)||po))),xr.createElement("div",{className:Ar.tags},xr.createElement("div",null,xr.createElement(Qe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},xr.createElement("span",null,xr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),xr.createElement("span",null,ra.stages_count))),xr.createElement(Qe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},xr.createElement("span",null,xr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),xr.createElement("span",null,ra.members_count)))))))})),!Hn.length&&xr.createElement(Ut.Z,null)))},tn={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"},zn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAY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xlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",er=ie(59301),bn=({className:Gn,dataSource:Hn=[],col:Fn=4,right:gr,bottom:Rr=23,precision:Or=0,wrapWidth:ur=1200,trackEventItems:ci,loading:_i})=>{const Ji=Math.floor((ur-(Fn-1)*gr)/Fn);return er.createElement(ve.Z,{spinning:_i},er.createElement("div",{className:ye()(tn.list,Gn)},!!Hn.length&&Hn.map((Zi,di)=>{const{subject_identifier:Vi,id:Hi,identifier:La,power:Yi}=Zi,ra=Zi.is_public!=0&&Zi.is_public;return er.createElement("div",{className:tn.wrap,key:Hi,style:{width:Ji,marginRight:(1+di)%Fn===0?0:gr+Or,marginBottom:Rr}},er.createElement("a",{className:tn.li,onClick:Ia=>{Ia.preventDefault(),ci&&(0,Ue.L9)([ci]),(0,Ue.xg)(Zi.first_category_url)}},er.createElement("div",{className:tn.top},er.createElement(Qe.Z,{title:Zi.name},er.createElement("div",{className:tn.name},Zi.name)),er.createElement("img",{className:tn.img,src:Mt.Z.IMG_SERVER+"/images/"+Zi.avatar_url}),er.createElement("div",{className:tn.text,title:Zi.creator},Zi.creator),Vi&&er.createElement("div",{className:tn.btns},er.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),er.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ra&&er.createElement("div",{className:tn.sign},"\u516C\u5F00")),er.createElement("div",{className:tn.bottom},Zi.visits>0&&er.createElement(Qe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},er.createElement("span",null,er.createElement("i",{className:"iconfont icon-liulanyan"}),er.createElement("span",null,Zi.visits))),Zi.course_members_count>0&&er.createElement(Qe.Z,{title:"\u6210\u5458",placement:"bottom"},er.createElement("span",null,er.createElement("i",{className:"iconfont icon-chengyuan"}),Zi.course_members_count)),Zi.tasks_count>0&&er.createElement(Qe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},er.createElement("span",null,er.createElement("i",{className:"iconfont icon-zuoye"}),Zi.tasks_count)),Zi.is_end?er.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):er.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Zi.is_accessible&&er.createElement("div",{className:tn.lockWrap},er.createElement("img",{src:`${Mt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),er.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Hn.length&&er.createElement(Ut.Z,null)))},kn={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"},Tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyU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23,precision:Or=0,wrapWidth:ur=1200,wrapClassName:ci,trackEventItems:_i,loading:Ji})=>{const Zi=Math.floor((ur-(Fn-1)*gr)/Fn);return ne.createElement(ve.Z,{spinning:Ji},ne.createElement("div",{className:ye()(kn.list,Gn)},!!Hn.length&&Hn.map((di,Vi)=>{const{subject_identifier:Hi,id:La,identifier:Yi,power:ra}=di,Ia=di.is_public!=0&&di.is_public;return ne.createElement("div",{className:ye()(`${kn.wrap} ${di.is_accessible?"":kn.warpStyle}`,ci),key:La,style:{width:Zi,marginRight:(1+Vi)%Fn===0?0:gr+Or,marginBottom:Rr}},ne.createElement("a",{className:kn.li,onClick:io=>{io.preventDefault(),_i&&(0,Ue.L9)([_i]),(0,Ue.xg)(di.first_category_url)}},ne.createElement("div",{className:kn.creator},ne.createElement("img",{className:kn.img,src:Mt.Z.IMG_SERVER+"/images/"+di.avatar_url}),ne.createElement("div",{className:kn.text,title:di.creator},di.creator)),ne.createElement("div",{className:kn.top},ne.createElement(Qe.Z,{title:di.name},ne.createElement("div",{className:kn.name},di.name)),Ia&&ne.createElement("div",{className:kn.sign},"\u516C\u5F00")),ne.createElement("div",{className:kn.middle},ne.createElement("div",{className:kn.row,style:{marginBottom:6}},ne.createElement("div",null,ne.createElement("span",{className:kn.text},"\u8BBF\u95EE\u91CF"),ne.createElement("span",{className:kn.value},(di==null?void 0:di.visits)||0)),ne.createElement("div",null,ne.createElement("span",{className:kn.text},"\u6210\u5458"),ne.createElement("span",{className:kn.value},(di==null?void 0:di.course_members_count)||0))),ne.createElement("div",{className:kn.row},ne.createElement("div",null,ne.createElement("span",{className:kn.text,style:{width:42}},"\u4F5C",ne.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ne.createElement("span",{className:kn.value},(di==null?void 0:di.tasks_count)||0)),ne.createElement("div",null,ne.createElement("span",{className:kn.text},"\u72B6\u6001"),di.is_end?ne.createElement("span",{className:kn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ne.createElement("span",{className:kn.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Hi&&ne.createElement("div",{className:kn.btns},ne.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ne.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!di.is_accessible&&ne.createElement("div",{className:kn.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")))}),!Hn.length&&ne.createElement(Ut.Z,null)))},rn={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"},$n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3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wOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ie=({className:Gn,dataSource:Hn=[],col:Fn=4,right:gr,bottom:Rr=23,precision:Or=0,wrapWidth:ur=1200,wrapClassName:ci,trackEventItems:_i,loading:Ji})=>{const Zi=Math.floor((ur-(Fn-1)*gr)/Fn);return ne.createElement(ve.Z,{spinning:Ji},ne.createElement("div",{className:ye()(rn.list,Gn)},!!Hn.length&&Hn.map((di,Vi)=>{const{subject_identifier:Hi,id:La,identifier:Yi,power:ra}=di,Ia=di.is_public!=0&&di.is_public;return ne.createElement("div",{className:ye()(`${rn.wrap} ${di.is_accessible?"":rn.warpStyle}`,ci),key:La,style:{width:Zi,marginRight:(1+Vi)%Fn===0?0:gr+Or,marginBottom:Rr}},ne.createElement("a",{className:rn.li,onClick:io=>{io.preventDefault(),_i&&(0,Ue.L9)([_i]),(0,Ue.xg)(di.first_category_url)}},ne.createElement("div",{className:rn.creator},ne.createElement("img",{className:rn.img,src:Mt.Z.IMG_SERVER+"/images/"+di.avatar_url}),ne.createElement("div",{className:rn.text,title:di.creator},di.creator)),ne.createElement("div",{className:rn.top},ne.createElement(Qe.Z,{title:di.name},ne.createElement("div",{className:rn.name},di.name)),Ia&&ne.createElement("div",{className:rn.sign})),ne.createElement("div",{className:rn.middle},ne.createElement("div",{className:rn.row,style:{marginBottom:6}},ne.createElement("div",null,ne.createElement("span",{className:rn.text},"\u8BBF\u95EE\u91CF"),ne.createElement("span",{className:rn.value},(di==null?void 0:di.visits)||0)),ne.createElement("div",null,ne.createElement("span",{className:rn.text},"\u6210\u5458"),ne.createElement("span",{className:rn.value},(di==null?void 0:di.course_members_count)||0))),ne.createElement("div",{className:rn.row},ne.createElement("div",null,ne.createElement("span",{className:rn.text,style:{width:42}},"\u4F5C",ne.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ne.createElement("span",{className:rn.value},(di==null?void 0:di.tasks_count)||0)),ne.createElement("div",null,ne.createElement("span",{className:rn.text},"\u72B6\u6001"),di.is_end?ne.createElement("span",{className:rn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ne.createElement("span",{className:rn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Hi&&ne.createElement("div",{className:rn.btns},ne.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ne.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!di.is_accessible&&ne.createElement("div",{className:rn.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")))}),!Hn.length&&ne.createElement(Ut.Z,null)))},Xe={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"},He=ie(90115),Bt=({dataSource:Gn=[],value:Hn,onChange:Fn,className:gr,style:Rr={},tabBarExtraContent:Or})=>ne.createElement("div",{className:ye()(Xe.tabs,gr),style:Rr},ne.createElement("div",{className:Xe.tabsWrap},Gn.map((ur,ci)=>ne.createElement("aside",{className:Xe.tab,onClick:()=>{Fn(ur.id),ur.link&&He.history.push(ur.link)},key:ci},ne.createElement("div",{className:Hn===ur.id?Xe.active:""},ur.name),(ur==null?void 0:ur.resetCount)==null&&(ur==null?void 0:ur.total)!==void 0&&ne.createElement("span",null,"\uFF08",ur==null?void 0:ur.total,"\uFF09"),(ur==null?void 0:ur.resetCount)!==void 0&&(ur==null?void 0:ur.total)!==void 0&&ne.createElement(Qe.Z,{title:(ur==null?void 0:ur.tip)!=null?ur==null?void 0:ur.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},ur==null?void 0:ur.resetCount),"/",ne.createElement("span",null,ur==null?void 0:ur.total),"\uFF09"))))),ne.createElement("div",{className:Xe.tabBar},Or)),dt={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"},nn=({dataSource:Gn=[],value:Hn,onChange:Fn,className:gr,style:Rr={},tabBarExtraContent:Or})=>ne.createElement("div",{className:ye()(dt.tabs,gr),style:Rr},ne.createElement("div",{className:dt.tabsWrap},Gn.map((ur,ci)=>ne.createElement("aside",{className:dt.tab,onClick:()=>{Fn(ur.id),ur.link&&He.history.push(ur.link)},key:ci},ne.createElement("div",{className:Hn===ur.id?dt.active:""},ur.name),(ur==null?void 0:ur.resetCount)==null&&(ur==null?void 0:ur.total)!==void 0&&ne.createElement("span",null,"\uFF08",ur==null?void 0:ur.total,"\uFF09"),(ur==null?void 0:ur.resetCount)!==void 0&&(ur==null?void 0:ur.total)!==void 0&&ne.createElement(Qe.Z,{title:(ur==null?void 0:ur.tip)!=null?ur==null?void 0:ur.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},ur==null?void 0:ur.resetCount),"/",ne.createElement("span",null,ur==null?void 0:ur.total),"\uFF09"))))),ne.createElement("div",{className:dt.tabBar},Or)),hn={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"},Jn=({dataSource:Gn=[],value:Hn,onChange:Fn,className:gr,style:Rr={},tabBarExtraContent:Or})=>ne.createElement("div",{className:ye()(hn.tabs,gr),style:Rr},ne.createElement("div",{className:hn.tabsWrap},Gn.map((ur,ci)=>ne.createElement("aside",{className:`${hn.tab} ${Hn===ur.id?hn.active:""}`,onClick:()=>{Fn(ur.id),ur.link&&He.history.push(ur.link)},key:ci},ne.createElement("div",null,ur.name),(ur==null?void 0:ur.resetCount)==null&&(ur==null?void 0:ur.total)!==void 0&&ne.createElement("span",null,"\uFF08",ur==null?void 0:ur.total,"\uFF09"),(ur==null?void 0:ur.resetCount)!==void 0&&(ur==null?void 0:ur.total)!==void 0&&ne.createElement(Qe.Z,{title:(ur==null?void 0:ur.tip)!=null?ur==null?void 0:ur.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},ur==null?void 0:ur.resetCount),"/",ne.createElement("span",null,ur==null?void 0:ur.total),"\uFF09"))))),ne.createElement("div",{className:hn.tabBar},Or)),Xt=({className:Gn,style:Hn={},children:Fn})=>ne.createElement("div",{className:ye()(Gn),style:Hn},Fn),wn={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"},pr=ie(38854),lr=ie(20834);const ar=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ir=({sortValue:Gn,dropValue:Hn,className:Fn,onSort:gr,onDrop:Rr,dataSource:Or=ar})=>{var ur;return ne.createElement("div",{className:ye()(wn.orderWrap,Fn)},ne.createElement(pr.Z,{dropdownRender:()=>ne.createElement(lr.default,null,Or.map((ci,_i)=>ne.createElement(lr.default.Item,{key:_i,onClick:()=>Rr(ci.id)},ci.name)))},ne.createElement("span",{className:wn.orderTextWrap},(ur=Or.find(ci=>Hn===ci.id))==null?void 0:ur.name)),ne.createElement("span",{className:wn.orderIconWrap},ne.createElement("span",{className:wn.orderAsc},ne.createElement("i",{className:Gn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${wn.cursorPointer} ${wn.active}`:`iconfont icon-sanjiaoxing-up font12 ${wn.cursorPointer}`,onClick:()=>gr(Gn==="asc"?"desc":"asc")})),ne.createElement("span",{className:wn.orderDesc},ne.createElement("i",{className:Gn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${wn.cursorPointer} ${wn.active}`:`iconfont icon-sanjiaoxing-down font12 ${wn.cursorPointer}`,onClick:()=>gr(Gn==="asc"?"desc":"asc")}))))},tr={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 Yr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var xn=({sortValue:Gn,dropValue:Hn,className:Fn,onSort:gr,onDrop:Rr,dataSource:Or=Yr})=>{var ur;return ne.createElement("div",{className:ye()(tr.orderWrap,Fn)},ne.createElement(pr.Z,{dropdownRender:()=>ne.createElement(lr.default,null,Or.map((ci,_i)=>ne.createElement(lr.default.Item,{key:_i,onClick:()=>Rr(ci.id)},ci.name)))},ne.createElement("span",{className:tr.orderTextWrap},(ur=Or.find(ci=>Hn===ci.id))==null?void 0:ur.name)),ne.createElement("span",{className:tr.orderIconWrap},ne.createElement("span",{className:tr.orderAsc},ne.createElement("i",{className:Gn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${tr.cursorPointer} ${tr.active}`:`iconfont icon-sanjiaoxing-up font12 ${tr.cursorPointer}`,onClick:()=>gr(Gn==="asc"?"desc":"asc")})),ne.createElement("span",{className:tr.orderDesc},ne.createElement("i",{className:Gn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${tr.cursorPointer} ${tr.active}`:`iconfont icon-sanjiaoxing-down font12 ${tr.cursorPointer}`,onClick:()=>gr(Gn==="asc"?"desc":"asc")}))))},Dn={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"},Un=ie(3113),Bn=ie(39587),Vn=Object.defineProperty,Nn=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,Nr=(Gn,Hn,Fn)=>Hn in Gn?Vn(Gn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Gn[Hn]=Fn,ai=(Gn,Hn)=>{for(var Fn in Hn||(Hn={}))ir.call(Hn,Fn)&&Nr(Gn,Fn,Hn[Fn]);if(Nn)for(var Fn of Nn(Hn))Cr.call(Hn,Fn)&&Nr(Gn,Fn,Hn[Fn]);return Gn},si=(Gn,Hn)=>{var Fn={};for(var gr in Gn)ir.call(Gn,gr)&&Hn.indexOf(gr)<0&&(Fn[gr]=Gn[gr]);if(Gn!=null&&Nn)for(var gr of Nn(Gn))Hn.indexOf(gr)<0&&Cr.call(Gn,gr)&&(Fn[gr]=Gn[gr]);return Fn},mi=(Gn,Hn,Fn)=>new Promise((gr,Rr)=>{var Or=_i=>{try{ci(Fn.next(_i))}catch(Ji){Rr(Ji)}},ur=_i=>{try{ci(Fn.throw(_i))}catch(Ji){Rr(Ji)}},ci=_i=>_i.done?gr(_i.value):Promise.resolve(_i.value).then(Or,ur);ci((Fn=Fn.apply(Gn,Hn)).next())}),Hr=Gn=>{var Hn=Gn,{className:Fn,style:gr,children:Rr,loading:Or=!1,openLoading:ur,onClick:ci=()=>{},size:_i="middle",shape:Ji="round",theme:Zi}=Hn,di=si(Hn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Vi,Hi]=(0,ne.useState)(!1),La=(0,ne.useMemo)(()=>{switch(Zi){case Bn.Fy.THEMEONE:return Dn.ThemeOne;case Bn.Fy.DEFAULT:default:return Dn.btn}},[Zi]);return ne.createElement(Un.ZP,ai({onClick:(0,Ee.throttle)(Yi=>mi(void 0,null,function*(){ur&&Hi(!0);try{yield ci(Yi)}catch(ra){console.log("error",ra)}ur&&Hi(!1)}),2e3,{leading:!0,trailing:!1}),className:ye()(La,Dn[`${_i}-${Ji}`],Fn),style:gr,size:_i,shape:Ji,loading:Vi||Or},di),Rr)},Lr={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"},$r=({className:Gn,style:Hn,children:Fn=null,onClick:gr,title:Rr})=>ne.createElement("div",{className:ye()(Lr.head,Gn),style:Hn},ne.createElement("span",{className:"primary-hover",onClick:gr},ne.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ne.createElement("b",{title:Rr},Rr),ne.createElement("div",{className:Lr.node},Fn)),Fr={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"},ei=({confirmShow:Gn=!0,confirmTitle:Hn,confirmClick:Fn,cancelShow:gr=!0,cancelTitle:Rr,cancelClick:Or,className:ur,style:ci,confirmLoading:_i=!1})=>ne.createElement("div",{className:ye()(Fr.btns,ur),style:ci},Gn&&ne.createElement(Un.ZP,{loading:_i,onClick:Fn,type:"primary",className:Fr.confirm},Hn),gr&&ne.createElement(Un.ZP,{onClick:Or,className:Fr.cancel},Rr)),_r={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"},Ki=({className:Gn,style:Hn={},LeftContent:Fn,children:gr,RightContent:Rr})=>ne.createElement("div",{className:ye()(_r.fixedBottom,Gn),style:Hn},ne.createElement("div",{className:_r.wrap},ne.createElement("div",{className:_r.left},Fn),ne.createElement("div",{className:_r.center},gr),ne.createElement("div",{className:_r.right},Rr))),hi={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"},or=({className:Gn,style:Hn={},dataSource:Fn=[]})=>ne.createElement("div",{className:ye()(hi.crumbs,Gn),style:Hn},Fn.map((gr,Rr)=>Rr<Fn.length-1?ne.createElement(ne.Fragment,{key:Rr},gr.path||gr.onClick?ne.createElement("span",{className:hi.hover,onClick:gr!=null&&gr.onClick?gr.onClick:()=>He.history.push(gr.path)},gr.name):ne.createElement("span",null,gr.name),ne.createElement("span",null,"\xA0",">","\xA0")):ne.createElement("span",{key:Rr,style:{color:"#5F6368"}},gr.name))),ui=ie(31797),gi=Object.defineProperty,Pi=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Yn=(Gn,Hn,Fn)=>Hn in Gn?gi(Gn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Gn[Hn]=Fn,Pt=(Gn,Hn)=>{for(var Fn in Hn||(Hn={}))Yt.call(Hn,Fn)&&Yn(Gn,Fn,Hn[Fn]);if(gt)for(var Fn of gt(Hn))gn.call(Hn,Fn)&&Yn(Gn,Fn,Hn[Fn]);return Gn},fn=(Gn,Hn)=>Pi(Gn,rt(Hn)),Wn=(Gn,Hn)=>{var Fn={};for(var gr in Gn)Yt.call(Gn,gr)&&Hn.indexOf(gr)<0&&(Fn[gr]=Gn[gr]);if(Gn!=null&>)for(var gr of gt(Gn))Hn.indexOf(gr)<0&&gn.call(Gn,gr)&&(Fn[gr]=Gn[gr]);return Fn};const{Countdown:Qn}=ui.default;var Ci=Gn=>{var Hn=Gn,{onChange:Fn}=Hn,gr=Wn(Hn,["onChange"]);const[Rr,Or]=(0,ne.useState)(null);(0,ne.useEffect)(()=>{typeof Rr=="number"&&Rr>=0&&Fn(Rr)},[Rr]);const ur=ci=>{const _i=Math.floor(ci/1e3);Or(_i)};return ne.createElement(Qn,fn(Pt({},gr),{onChange:ur}))},ri={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Ii=({DataProps:Gn,className:Hn,style:Fn={}})=>{var gr;return ne.createElement("div",{className:ye()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",ri.ClassRoomItem,Hn),style:Fn,onClick:()=>{(0,Ue.xg)(Gn==null?void 0:Gn.first_category_url)}},ne.createElement("div",{className:"flex flex-col item-center"},ne.createElement("img",{src:`${(gr=Mt.Z)==null?void 0:gr.IMG_SERVER}/images/${Gn==null?void 0:Gn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Gn==null?void 0:Gn.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}},!!(Gn!=null&&Gn.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:ye()("text-16px font-medium",ri.TitleDom)},Gn==null?void 0:Gn.name)),ne.createElement("div",{className:"c-grey-333 font-medium"},Gn==null?void 0:Gn.creator),ne.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Gn==null?void 0:Gn.course_members_count),ne.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ne.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Gn==null?void 0:Gn.tasks_count),Gn!=null&&Gn.is_end?ne.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ne.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},da=Object.defineProperty,yr=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable,Zr=(Gn,Hn,Fn)=>Hn in Gn?da(Gn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Gn[Hn]=Fn,wi=(Gn,Hn)=>{for(var Fn in Hn||(Hn={}))Kr.call(Hn,Fn)&&Zr(Gn,Fn,Hn[Fn]);if(yr)for(var Fn of yr(Hn))Tr.call(Hn,Fn)&&Zr(Gn,Fn,Hn[Fn]);return Gn},la=({DataProps:Gn=[],selectValue:Hn,onChange:Fn,className:gr,style:Rr={},extra:Or,classNameItem:ur,styleItem:ci={},barHidden:_i})=>{const[Ji,Zi]=(0,ne.useState)();return(0,ne.useEffect)(()=>{Zi(Array.isArray(Hn)?Hn:[Hn])},[Hn]),ne.createElement("div",{className:ye()("flex px-20px py-10px gap-40px",gr),style:wi({borderBottom:"1px solid #D3F0FF"},Rr)},Gn==null?void 0:Gn.map(di=>ne.createElement("div",{key:di==null?void 0:di.id,className:ye()("flex item-center justify-center current c-grey-333 text-16 relative",ur,di==null?void 0:di.className),style:wi(wi({color:Ji!=null&&Ji.includes(di==null?void 0:di.id)?"#1890FF":"",minWidth:88},ci),(di==null?void 0:di.style)||{}),onClick:Vi=>{Fn==null||Fn({domEvent:Vi,item:di}),di!=null&&di.link&&He.history.push(di==null?void 0:di.link)}},di==null?void 0:di.name,!_i&&(Ji==null?void 0:Ji.includes(di==null?void 0:di.id))&&ne.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ne.createElement("div",{className:"ml-auto"},Or))},va=Object.defineProperty,$i=Object.defineProperties,ga=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,Xa=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,yo=(Gn,Hn,Fn)=>Hn in Gn?va(Gn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Gn[Hn]=Fn,so=(Gn,Hn)=>{for(var Fn in Hn||(Hn={}))Xa.call(Hn,Fn)&&yo(Gn,Fn,Hn[Fn]);if(Wa)for(var Fn of Wa(Hn))oo.call(Hn,Fn)&&yo(Gn,Fn,Hn[Fn]);return Gn},sl=(Gn,Hn)=>$i(Gn,ga(Hn)),Va=({value:Gn,onChange:Hn,onInputChange:Fn,className:gr,style:Rr={},InputProps:Or})=>{const[ur,ci]=(0,ne.useState)(Gn);return ne.createElement("div",{className:ye()("flex item-center rounded-full px-10px py-2px",gr),style:so({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Rr)},ne.createElement(mt.default,sl(so({bordered:!1},Or),{onChange:_i=>{ci(_i.target.value),Fn==null||Fn(encodeURIComponent(_i.target.value))},onPressEnter:_i=>{Hn==null||Hn({domEvent:_i,item:{value:ur}})}})),ne.createElement("img",{className:"h-22px current",src:ie(25365),height:22,onClick:_i=>{Hn==null||Hn({domEvent:_i,item:{value:ur}})}}))}},29152:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return be}});var ne=ie(59301);function be(Ce,yt){const Se=(0,ne.useRef)();(0,ne.useEffect)(()=>{Se.current=Ce}),(0,ne.useEffect)(()=>{function Ae(){Se.current()}if(yt!==null){let pe=setInterval(Ae,yt);return()=>clearInterval(pe)}},[yt])}},3235:function(Ln,pn,ie){"use strict";ie.r(pn),ie.d(pn,{default:function(){return kn}});var ne=ie(59301),be={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"},Ce=ie(92310),yt=ie.n(Ce),Se=ie(14433),Ae=ie(98263),pe=ie(95237),ye=ie(3113),Ee=ie(43418),Re=ie(92832),ht=ie(1710),ke=ie(78241),Le=ie(6848),Ge=ie(5871),nt=ie(8591),ct=ie(71418),Et=ie(24905),Ct=ie(5112),Wt=ie(5083),ft=ie(22566),pt=ie(90115),ze=ie(56082),he=ie(87954),it=ie(18257),ot=ie(19719),ut=ie(35241),Je=ie(21692),mt=Object.defineProperty,Te=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Nt=(Tt,an,sn)=>an in Tt?mt(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Tt[an]=sn,wt=(Tt,an)=>{for(var sn in an||(an={}))Rt.call(an,sn)&&Nt(Tt,sn,an[sn]);if(Ne)for(var sn of Ne(an))Dt.call(an,sn)&&Nt(Tt,sn,an[sn]);return Tt},It=(Tt,an)=>Te(Tt,xt(an));const We=ne.createContext({}),ve=()=>{const{setActivatorNodeRef:Tt,listeners:an}=(0,ne.useContext)(We);return ne.createElement(ye.ZP,wt({type:"text",size:"small",icon:ne.createElement(Le.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(ze.Z,null)),style:{cursor:"move"},ref:Tt},an))},Qe=Tt=>{const{attributes:an,listeners:sn,setNodeRef:rn,setActivatorNodeRef:$n,transform:Ft,transition:Ie,isDragging:Xe}=(0,ot.nB)({id:Tt["data-row-key"]}),He=wt(It(wt({},Tt.style),{transform:ut.ux.Translate.toString(Ft),transition:Ie}),Xe?{position:"relative",zIndex:99}:{}),Ke=(0,ne.useMemo)(()=>({setActivatorNodeRef:$n,listeners:sn}),[$n,sn]);return ne.createElement(We.Provider,{value:Ke},ne.createElement("tr",wt(It(wt({},Tt),{ref:rn,style:He}),an)))};var Mt=({columns:Tt,dataSource:an,setDataSource:sn,loading:rn})=>{const $n=({active:Ft,over:Ie})=>{Ft.id!==(Ie==null?void 0:Ie.id)&&sn(Xe=>{const He=Xe.findIndex(Bt=>Bt.id===(Ft==null?void 0:Ft.id)),Ke=Xe.findIndex(Bt=>Bt.id===(Ie==null?void 0:Ie.id));return(0,ot.Rp)(Xe,He,Ke)})};return ne.createElement(he.LB,{modifiers:[it.DL],onDragEnd:$n},ne.createElement(ot.Fo,{items:an.map(Ft=>Ft.id),strategy:ot.qw},ne.createElement(ht.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:rn,locale:{emptyText:ne.createElement(Je.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:an,components:{body:{row:Qe}},columns:[{key:"sort",align:"center",width:80,render:()=>ne.createElement(ve,null)},...Tt],size:"middle"})))},Ue=ie(99313),st=ie(19842),Ht=ie(57809),yn=ie(98228),Ut=ie(58421),Sn=ie(64866),jt={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"},Jt=ie(70646),Ot={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"},xe=ie(9200),ce=ie(24334);const ue=["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 fe=({qitem:Tt})=>{var an,sn,rn,$n,Ft,Ie,Xe,He,Ke,Bt;return ne.createElement("div",{className:Ot.warp},ne.createElement("div",{className:Ot.mainPart},ne.createElement("div",{className:Ot.qcount},(Tt==null?void 0:Tt.question_type)===8&&ne.createElement(xe.Z,{className:Ot.content,showProgramFill:!0,value:(an=Tt==null?void 0:Tt.program_attr)==null?void 0:an.description}),(Tt==null?void 0:Tt.question_type)!=8&&ne.createElement(xe.Z,{className:Ot.qtitle,value:(Tt==null?void 0:Tt.name)||(Tt==null?void 0:Tt.title)})),((Tt==null?void 0:Tt.question_type)===0||(Tt==null?void 0:Tt.question_type)===2)&&ne.createElement("div",null,(sn=Tt==null?void 0:Tt.choices)==null?void 0:sn.map((dt,on)=>ne.createElement("div",{className:Ot.redio},!(dt!=null&&dt.is_answer)&&ne.createElement("span",{className:Ot.redioitem}),(dt==null?void 0:dt.is_answer)&&ne.createElement("i",{className:`${Ot.redioitemyes} icon-duigou1`}),ne.createElement(xe.Z,{className:dt!=null&&dt.is_answer?Ot.titleyes:Ot.title,value:ue[on]+(dt==null?void 0:dt.choice_text)}),(dt==null?void 0:dt.is_answer)&&ne.createElement("div",{className:Ot.yestag},"\u6B63\u786E\u7B54\u6848")))),(Tt==null?void 0:Tt.question_type)===1&&ne.createElement("div",null,(rn=Tt==null?void 0:Tt.choices)==null?void 0:rn.map((dt,on)=>ne.createElement("div",{className:Ot.checkbox},!(dt!=null&&dt.is_answer)&&ne.createElement("span",{className:Ot.checkboxitem}),(dt==null?void 0:dt.is_answer)&&ne.createElement("i",{className:`${Ot.checkboxitemyes} icon-duigou1`}),ne.createElement(xe.Z,{className:dt!=null&&dt.is_answer?Ot.titleyes:Ot.title,value:ue[on]+(dt==null?void 0:dt.choice_text)}),(dt==null?void 0:dt.is_answer)&&ne.createElement("div",{className:Ot.yestag},"\u6B63\u786E\u7B54\u6848")))),(Tt==null?void 0:Tt.question_type)===3&&ne.createElement("div",{className:Ot.completion},($n=Tt==null?void 0:Tt.standard_answer)==null?void 0:$n.map((dt,on)=>{var nn;return ne.createElement("div",{style:{display:"flex"}},ne.createElement("span",{className:Ot.title},"\u586B\u7A7A\u9879",on+1),ne.createElement("div",{className:Ot.content},(nn=dt==null?void 0:dt.answer_text)==null?void 0:nn.map((hn,Pn)=>ne.createElement("div",{className:Ot.items},hn))))})),(Tt==null?void 0:Tt.question_type)===4&&ne.createElement("div",{className:Ot.simple},ne.createElement("div",{className:Ot.title},"\u53C2\u8003\u7B54\u6848"),ne.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Ft=Tt==null?void 0:Tt.answer_texts)!=null&&Ft[0]?ne.createElement(xe.Z,{className:Ot.content,value:(Ie=Tt==null?void 0:Tt.answer_texts)==null?void 0:Ie[0]}):ne.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(Tt==null?void 0:Tt.question_type)===5&&((Xe=Tt==null?void 0:Tt.challenge_names)==null?void 0:Xe.map((dt,on)=>ne.createElement("div",{className:Ot.shixun},ne.createElement("span",{className:Ot.qtitle},ne.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,ft.EM)(on+1),"\u9898"),dt)))),(Tt==null?void 0:Tt.question_type)===6&&ne.createElement("div",{className:Ot.program},ne.createElement(xe.Z,{className:Ot.content,value:((He=Tt==null?void 0:Tt.program_attr)==null?void 0:He.description)||"- -"})),(Tt==null?void 0:Tt.question_type)===7&&((Ke=Tt==null?void 0:Tt.sub_item_banks)==null?void 0:Ke.map((dt,on)=>{var nn,hn,Pn,Jn,In;return ne.createElement("div",null,ne.createElement("div",{className:Ot.combination},ne.createElement("span",{className:Ot.qtitle},dt==null?void 0:dt.name)),ne.createElement("div",{className:Ot.warp,style:{padding:"0px",paddingTop:20}},ne.createElement("div",null,((dt==null?void 0:dt.item_type)=="SINGLE"||(dt==null?void 0:dt.item_type)=="JUDGMENT")&&((nn=dt==null?void 0:dt.choices)==null?void 0:nn.map((Xt,wn)=>ne.createElement("div",{className:Ot.redio},!(Xt!=null&&Xt.is_answer)&&ne.createElement("span",{className:Ot.redioitem}),(Xt==null?void 0:Xt.is_answer)&&ne.createElement("i",{className:`${Ot.redioitemyes} icon-duigou1`}),ne.createElement(xe.Z,{className:Xt!=null&&Xt.is_answer?Ot.titleyes:Ot.title,value:ue[wn]+(Xt==null?void 0:Xt.choice_text)}),(Xt==null?void 0:Xt.is_answer)&&ne.createElement("div",{className:Ot.yestag},"\u6B63\u786E\u7B54\u6848")))),(dt==null?void 0:dt.item_type)=="MULTIPLE"&&((hn=dt==null?void 0:dt.choices)==null?void 0:hn.map((Xt,wn)=>ne.createElement("div",{className:Ot.checkbox},!(Xt!=null&&Xt.is_answer)&&ne.createElement("span",{className:Ot.checkboxitem}),(Xt==null?void 0:Xt.is_answer)&&ne.createElement("i",{className:`${Ot.checkboxitemyes} icon-duigou1`}),ne.createElement(xe.Z,{className:Xt!=null&&Xt.is_answer?Ot.titleyes:Ot.title,value:ue[wn]+(Xt==null?void 0:Xt.choice_text)}),(Xt==null?void 0:Xt.is_answer)&&ne.createElement("div",{className:Ot.yestag},"\u6B63\u786E\u7B54\u6848")))),(dt==null?void 0:dt.item_type)=="COMPLETION"&&ne.createElement("div",{className:Ot.completion},(Pn=dt==null?void 0:dt.standard_answer)==null?void 0:Pn.map((Xt,wn)=>{var pr;return ne.createElement("div",{style:{display:"flex"}},ne.createElement("span",{className:Ot.title},"\u586B\u7A7A\u9879",wn+1),ne.createElement("div",{className:Ot.content},(pr=Xt==null?void 0:Xt.answer_text)==null?void 0:pr.map((lr,ar)=>ne.createElement("div",{className:Ot.items},lr))))})),(dt==null?void 0:dt.item_type)=="SUBJECTIVE"&&ne.createElement("div",{className:Ot.simple},ne.createElement("div",{className:Ot.title},"\u53C2\u8003\u7B54\u6848"),ne.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Jn=dt==null?void 0:dt.answer_texts)!=null&&Jn[0]?ne.createElement(xe.Z,{className:Ot.content,value:(In=dt==null?void 0:dt.answer_texts)==null?void 0:In[0]}):ne.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(Tt==null?void 0:Tt.question_type)===8&&ne.createElement("div",null,ne.createElement(xe.Z,{disabledFill:!0,className:Ot.content,showProgramFill:!0,value:ce.Base64.decode(((Bt=Tt==null?void 0:Tt.program_attr)==null?void 0:Bt.code)||"")})),(Tt==null?void 0:Tt.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"}},(Tt==null?void 0:Tt.author_name)||"- -")),ne.createElement("div",{style:{marginRight:30}},ne.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),ne.createElement("span",{style:{color:"#000000"}},(Tt==null?void 0:Tt.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"}},(Tt==null?void 0:Tt.study_count)||"0"))),ne.createElement("a",{className:Ot.shixunbutton,href:`/shixuns/${Tt==null?void 0:Tt.identifier}/challenges?exercise=true`,target:"_blank"},ne.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((Tt==null?void 0:Tt.question_type)<=4||[6,8].includes(Tt==null?void 0:Tt.question_type))&&ne.createElement("div",{className:Ot.bottom},ne.createElement("div",{className:Ot.bottomitem},ne.createElement("span",{className:Ot.left},"\u89E3\u6790"),ne.createElement("span",{className:Ot.right},Tt!=null&&Tt.analysis?ne.createElement(xe.Z,{value:Tt==null?void 0:Tt.analysis}):ne.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ne.createElement("div",{className:Ot.bottomitem},ne.createElement("span",{className:Ot.left},"\u96BE\u5EA6"),ne.createElement("span",{className:Ot.right},(Tt==null?void 0:Tt.difficulty)===1?"\u7B80\u5355":(Tt==null?void 0:Tt.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ne.createElement("div",{className:Ot.bottomitem},ne.createElement("span",{className:Ot.left},"\u77E5\u8BC6\u70B9"),ne.createElement("span",{className:Ot.right},Tt!=null&&Tt.tag_discipline?Tt==null?void 0:Tt.tag_discipline:ne.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},le=ie(39469),Fe=ie(58082),at=ie(40427),Ze=ie(61485),Me=ie(59301),Lt=Object.defineProperty,bt=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Qt=(Tt,an,sn)=>an in Tt?Lt(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Tt[an]=sn,cn=(Tt,an)=>{for(var sn in an||(an={}))Cn.call(an,sn)&&Qt(Tt,sn,an[sn]);if(Zt)for(var sn of Zt(an))kt.call(an,sn)&&Qt(Tt,sn,an[sn]);return Tt},vt=(Tt,an)=>bt(Tt,et(an)),Oe=(Tt,an,sn)=>new Promise((rn,$n)=>{var Ft=He=>{try{Xe(sn.next(He))}catch(Ke){$n(Ke)}},Ie=He=>{try{Xe(sn.throw(He))}catch(Ke){$n(Ke)}},Xe=He=>He.done?rn(He.value):Promise.resolve(He.value).then(Ft,Ie);Xe((sn=sn.apply(Tt,an)).next())});const tt=({setScoreShow:Tt,ScoreShow:an,onOk:sn,isshixuns:rn,isloadings:$n,dispatch:Ft,selectedIds:Ie,user:Xe,virtualId:He,shixunsDetail:Ke})=>{var Bt;let[dt,on]=(0,ne.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[nn,hn]=(0,ne.useState)([]),[Pn,Jn]=(0,ne.useState)([]),[In,Xt]=(0,ne.useState)([]),[wn,pr]=(0,ne.useState)([]);const[lr,ar]=(0,ne.useState)(!1),[dr]=ke.default.useForm(),[Ir,tr]=(0,ne.useState)(),[Yr,_t]=(0,ne.useState)(!1);let[xn,Dn]=(0,ne.useState)(rn);const[Un,Bn]=(0,ne.useState)([]),[Vn,Nn]=(0,ne.useState)(0),[ir,Cr]=(0,ne.useState)(!0),[Nr,ai]=(0,ne.useState)([]),[si,mi]=(0,ne.useState)([]),br=[{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}],[Hr,Lr]=(0,ne.useState)([]),ni=(0,ne.useRef)(new Set),$r=(0,ne.useRef)(new Set),Fr=(0,ne.useRef)(1),Vr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],ei=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],_r=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[ki,Ki]=(0,ne.useState)(!1),hi=()=>{dr.resetFields(),xn=!1,Dn(!1),Ki(!1),dr.submit()};(0,ne.useEffect)(()=>{an&&(dr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),ir&&xn&&(dr.setFieldsValue({item_type:"SHIXUN"}),dt.item_type="SHIXUN",on(cn({},dt)),Cr(!1)),dt.type="0",Jn(Ie),Xt(Ie),$r.current=new Set(Ie),Dr(dt),or(),ui({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),gi())},[an]),console.log(Pn,In,"listitems"),(0,ne.useEffect)(()=>{Vn>0&&setTimeout(()=>{Nn(0)},2e3)},[Vn]);function Dr(Pt){return Oe(this,null,function*(){var fn,Wn,Qn;if(ar(!0),on(cn({},Pt)),(In==null?void 0:In.length)<=0&&Pt.type==="5"){pr([]),ar(!1);return}let Mr=Pt.type==="5"?In==null?void 0:In.filter(Ii=>!Un.includes(Ii)):null,Ci=Pt.type==="5"?In==null?void 0:In.filter(Ii=>Un.includes(Ii)):null;Fr.current=Fr.current+1;const ri=Fr.current;Pt.group_id=((fn=Pt.group_id)==null?void 0:fn.map(Ii=>Ii==null?void 0:Ii.value))||null;let ii=yield(0,Sn.ZP)("/api/item_banks.json",{method:"get",params:vt(cn({},Pt),{discipline_id:((Wn=Pt==null?void 0:Pt.courseid)==null?void 0:Wn[0])||null,sub_discipline_id:((Qn=Pt==null?void 0:Pt.courseid)==null?void 0:Qn[1])||null,ids:Mr,shixun_ids:Ci,include_shixuns:!0,keyword:Pt.keyword?encodeURIComponent(Pt.keyword):Pt.keyword,type:Pt.type==="5"?null:Pt.type,clazz:Pt.type==="3"?"ItemBanksGroup":null})});Fr.current===ri&&(pr(ii),ar(!1))})}function or(){return Oe(this,null,function*(){let Pt=yield(0,Sn.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:dt.type==="5"?null:dt.type,clazz:"ItemBanksGroup"}});hn((0,Jt.L)(Pt==null?void 0:Pt.disciplines))})}function ui(Pt){return Oe(this,null,function*(){var fn;let Wn=yield(0,Sn.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Pt}),Qn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(fn=Wn==null?void 0:Wn.data)==null?void 0:fn.map(Mr=>({title:Mr.name,id:Mr.id,pid:Mr.id,value:Mr.id,key:Mr.id,isLeaf:!Mr.have_child}))}];ai(Qn)})}function gi(){return Oe(this,null,function*(){let Pt=yield(0,at.Dm)({});(Pt==null?void 0:Pt.status)===0&&mi(Pt==null?void 0:Pt.groups)})}function Pi(Pt){return Oe(this,null,function*(){var fn,Wn,Qn,Mr;ar(!0);let Ci=(fn=Pt.list)==null?void 0:fn.filter(Ii=>!Un.includes(Ii)),ri=(Wn=Pt.list)==null?void 0:Wn.filter(Ii=>Un.includes(Ii));if(Ci.length===0&&ri.length===0){ar(!1),pr([]);return}let ii=yield(0,Sn.ZP)("/api/item_banks.json",{method:"get",params:vt(cn({},Pt),{discipline_id:((Qn=Pt==null?void 0:Pt.courseid)==null?void 0:Qn[0])||null,sub_discipline_id:((Mr=Pt==null?void 0:Pt.courseid)==null?void 0:Mr[1])||null,ids:Ci,shixun_ids:ri,type:Pt.type==="5"?null:Pt.type,clazz:Pt.type==="3"?"ItemBanksGroup":null})});ar(!1),pr(ii)})}const rt=Pt=>Oe(void 0,null,function*(){const fn=yield Ft({type:"shixunsDetail/release",payload:{id:Pt}});let Wn=fn==null?void 0:fn.tag_position,Qn=(fn==null?void 0:fn.evaluation_set_position)||[],Mr=fn.status;return Mr===0?(nt.ZP.success("\u53D1\u5E03\u6210\u529F"),Dr(dt),!0):(Mr===2?nt.ZP.error(`\u7B2C${Qn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Mr===3?nt.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Wn.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):nt.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),gt=Pt=>(Pt==null?void 0:Pt.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Yt=()=>lr?"\u6682\u65E0\u6570\u636E":dt.type==="3"&&!(si!=null&&si.length)?Me.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",Me.createElement("span",{onClick:()=>{var Pt;return(0,ft.xg)(`/users/${(Pt=Xe==null?void 0:Xe.userInfo)==null?void 0:Pt.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):dt.type==="0"&&(wn==null?void 0:wn.items_count)===0&&!(dt!=null&&dt.tag_discipline_id)&&!(dt!=null&&dt.difficulty)&&!(dt!=null&&dt.keyword)&&!(dt!=null&&dt.group_id)&&!(dt!=null&&dt.difficulty)?Me.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",Me.createElement("span",{onClick:()=>{(0,ft.xg)(`/problems/newcreate?&pageId=${He}`),Tt(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",gn=(Pt,fn,Wn)=>Pt.map(Qn=>Qn.key===fn?cn(cn({},Qn),Wn):Qn.children?vt(cn({},Qn),{children:gn(Qn.children,fn,Wn)}):Qn),Yn=Pt=>Oe(void 0,null,function*(){const{key:fn}=Pt;let Wn=dt.type;const Qn=yield(0,at.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(fn),type:Wn}),{data:Mr,total_count:Ci}=Qn||{};Ci>0&&ai(ri=>gn(ri,fn,{children:Mr.map(ii=>({title:ii.name,id:ii.id,pid:ii.id,value:ii.id,key:ii.id,isLeaf:!ii.have_child}))}))});return Me.createElement("div",null,Me.createElement(Ee.default,{title:!1,footer:!1,open:an,width:1200,centered:!0,className:jt.scoremodal,onCancel:()=>{Tt(!1)}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},Me.createElement("div",{className:jt.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),Me.createElement(Ue.default,{className:jt.tabWrap,activeKey:dt.type,onChange:Pt=>{Pt==="3"?(dt.show_all_share=!0,ui({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):dt.show_all_share=null,Pt==="0"&&ui({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),dt.type=Pt,dt.page=1,dt.updated_at="",dt.quotes="",dt.courseid="",dt.tag_discipline_id=null,dt.difficulty=null,dt.keyword=null,dt.group_id=null,dt.teach_group_id=null,dr.setFieldsValue({courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(dt==null?void 0:dt.item_type)==="SHIXUN"&&dt.type!=="5"&&(xn=!0,Dn(!0)),Ki(!1),dt.type==="5"&&(xn=!1,Dn(!1)),on(cn({},dt)),Dr(cn({},dt)),or()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:Me.createElement("div",null,"\u5DF2\u9009",In.length>0&&Me.createElement("span",{className:jt.titlecount},In.length),Vn>0&&Me.createElement("span",{className:jt.add},"+",Vn)),key:"5"}]}),Me.createElement(ke.default,{layout:"inline",form:dr,onValuesChange:(Pt,fn)=>{const Wn=Object.values(fn).some(Mr=>Mr!==null&&Mr!==""&&Mr!==void 0),Qn=fn.keyword==="";if(Ki(Wn||!Qn),dt.page=1,(fn==null?void 0:fn.item_type)==="SHIXUN"){if(dt.type==="5"?Dn(!1):Dn(!0),Pt.keyword||Pt.keyword==="")return;dr.submit()}else{if(Pt!=null&&Pt.courseid&&dr.setFieldsValue({tag_discipline_id:""}),Dn(!1),Pt.keyword||Pt.keyword==="")return;dr.submit()}},onFinish:Pt=>{var fn;dt.type==="3"&&(!Pt.group_id||((fn=Pt==null?void 0:Pt.group_id)==null?void 0:fn.length)===0)?dt.show_all_share=!0:dt.show_all_share=null,on(cn(cn({},dt),Pt)),Dr(cn(cn({},dt),Pt))}},Me.createElement(ke.default.Item,{name:"courseid"},Me.createElement(st.Z,{className:jt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:nn})),!xn&&Me.createElement(ke.default.Item,{name:"tag_discipline_id"},Me.createElement(Ht.default,{className:jt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Bt=wn==null?void 0:wn.tag_disciplines)==null?void 0:Bt.map(Pt=>Me.createElement(Ht.default.Option,{key:Pt.id},Pt.name)))),Me.createElement(ke.default.Item,{name:xn?"diff":"difficulty"},Me.createElement(Ht.default,{className:jt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!xn&&Vr.map(Pt=>Me.createElement(Ht.default.Option,{key:Pt.value},Pt.name)),xn&&ei.map(Pt=>Me.createElement(Ht.default.Option,{key:Pt.value},Pt.name)))),xn&&Me.createElement(ke.default.Item,{name:"shixun_publish_status"},Me.createElement(Ht.default,{className:jt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},_r.map(Pt=>Me.createElement(Ht.default.Option,{key:Pt.value},Pt.name)))),dt.type==="3"&&!xn&&Me.createElement(ke.default.Item,{name:"teach_group_id"},Me.createElement(Ht.default,{className:jt.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(Pt,fn)=>(console.log("---",Pt,fn),fn.children.toUpperCase().indexOf(Pt.toUpperCase())!==-1)},si==null?void 0:si.map(Pt=>Me.createElement(Ht.default.Option,{key:Pt.group_id},Pt.name)))),(dt.type==="3"||dt.type==="0")&&!xn&&Me.createElement(ke.default.Item,{name:"group_id"},Me.createElement(yn.default,{treeDataSimpleMode:!0,style:{width:118},className:jt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(Pt,fn)=>fn.title.toUpperCase().indexOf(Pt.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Yn,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:Nr})),ki&&Me.createElement("span",{className:jt.allqingchu,onClick:hi},Me.createElement("i",{className:"iconfont icon-guanbi4"}),Me.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Me.createElement(ke.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Me.createElement(Re.default.Search,{className:jt.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Me.createElement("i",{className:`iconfont icon-sousuo9 font14 ${jt.searchIcon}`,onClick:()=>dr.submit()}),onSearch:Pt=>{dr.submit()}}))),Me.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Me.createElement("div",{onClick:()=>{dt.updated_at==="asc"?dt.updated_at="desc":dt.updated_at="asc",on(vt(cn({},dt),{page:1})),Dr(vt(cn({},dt),{page:1}))}}," ",dt.updated_at?Me.createElement("img",{src:dt.updated_at==="asc"?le.Z:Fe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Me.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Me.createElement("div",{onClick:()=>{dt.quotes==="asc"?dt.quotes="desc":dt.quotes="asc",on(vt(cn({},dt),{page:1})),Dr(vt(cn({},dt),{page:1}))},style:{marginLeft:20}}," ",dt.quotes?Me.createElement("img",{src:dt.quotes==="asc"?le.Z:Fe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Me.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Me.createElement(ht.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(wn==null?void 0:wn.items)||(wn==null?void 0:wn.shixun_list),pagination:!1,locale:{emptyText:Me.createElement(Je.Z,{styles:{margin:"18px auto"},customText:Yt()})},loading:lr,rowKey:Pt=>Pt.id,rowSelection:{type:"checkbox",selectedRowKeys:Pn,getCheckboxProps:Pt=>({disabled:Pt.shixun_tag_num===1}),onSelect(Pt,fn,Wn){if(fn)(xn||Pt!=null&&Pt.challenge_names)&&Bn([...Un,Pt.id]),Jn([...Pn,Pt.id]),Lr([...Hr,Pt]),Pt.identifier?ni.current.add(Pt.id):$r.current.add(Pt.id),Nn(1),Xt([...In,Pt.id]);else{const Qn=Hr.filter(ri=>ri.id!==Pt.id);Lr(Qn);const Mr=Qn.map(ri=>ri.id);Jn([...Mr]),Pt.identifier?ni.current.delete(Pt.id):$r.current.delete(Pt.id);let Ci=In.filter(ri=>ri!==Pt.id);if(Xt(Ci),xn||Pt!=null&&Pt.challenge_names){let ri=Un.filter(ii=>ii!==Pt.id);Bn([...ri])}if(dt.type==="5"){Pi(vt(cn({},dt),{list:[...Ci]}));return}}},onSelectAll(Pt,fn,Wn){var Qn,Mr;if(Pt){const Ci=Wn.map(ii=>ii.id),ri=(Mr=Wn==null?void 0:Wn.filter(ii=>ii==null?void 0:ii.challenge_names))==null?void 0:Mr.map(ii=>ii.id);Bn([...Un,...ri]),Lr([...Hr,...Wn]),Jn([...Pn,...Ci]),Xt([...In,...Ci]);for(const ii of Wn)ii.identifier?ni.current.add(ii.id):$r.current.add(ii.id)}else{const Ci=Wn.map(yr=>yr.id),ri=Pn.filter(yr=>!Ci.some(Kr=>Kr===yr)),ii=Hr.filter(yr=>!Ci.some(Kr=>Kr===yr.id)),Ii=(Qn=Wn==null?void 0:Wn.filter(yr=>yr==null?void 0:yr.challenge_names))==null?void 0:Qn.map(yr=>yr.id);Lr(ii),Jn([...ri]),Xt([...ri]);let da=Un.filter(yr=>!Ii.some(Kr=>Kr===yr.id));Bn([...da]),dt.type==="5"&&Pi(vt(cn({},dt),{list:[...ri]}));for(const yr of Ci)yr.identifier?ni.current.delete(yr):$r.current.delete(yr)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(Pt,fn,Wn)=>{const Qn=`No.${Pt}`;return Me.createElement(Le.Z,{title:Qn},Me.createElement("span",null,Qn))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:xn?"30%":"60%",key:"name",render:(Pt,fn,Wn)=>{var Qn;return Me.createElement(Le.Z,{title:gt(fn)},Me.createElement("span",null,Me.createElement(xe.Z,{key:1,showLines:1,showTextOnly:!0,value:xn||fn!=null&&fn.challenge_names?fn!=null&&fn.title||Pt===null?"--":Pt:(fn==null?void 0:fn.item_type)=="BPROGRAM"?(Qn=fn==null?void 0:fn.program_attr)==null?void 0:Qn.description:Pt})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(Pt,fn,Wn)=>Me.createElement(Le.Z,{title:Pt},Me.createElement("span",null,Pt||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!xn,render:(Pt,fn,Wn)=>{var Qn;return Me.createElement(Le.Z,{title:gt(fn)},Me.createElement("span",null,Pt?(Qn=Pt==null?void 0:Pt.split("\u3001"))==null?void 0:Qn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!xn,render:(Pt,fn,Wn)=>Me.createElement(Le.Z,{title:gt(fn)},Me.createElement("span",null,Pt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(Pt,fn,Wn)=>{var Qn,Mr,Ci,ri;return Me.createElement(Le.Z,{title:gt(fn)},Me.createElement("div",null,xn||fn!=null&&fn.challenge_names?(fn==null?void 0:fn.level)||((Mr=(Qn=Vr==null?void 0:Vr.filter(ii=>ii.value===Pt))==null?void 0:Qn[0])==null?void 0:Mr.name):(ri=(Ci=Vr==null?void 0:Vr.filter(ii=>ii.value===Pt))==null?void 0:Ci[0])==null?void 0:ri.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!xn,render:(Pt,fn,Wn)=>Me.createElement(Le.Z,{title:gt(fn)},Me.createElement("div",null,Pt||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(Pt,fn,Wn)=>Me.createElement(Le.Z,{title:gt(fn)},Me.createElement("div",null,xn||fn!=null&&fn.challenge_names?(fn==null?void 0:fn.study_count)||(fn==null?void 0:fn.stu_num):Pt))},{title:Me.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Me.createElement(Le.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Me.createElement(Ze.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!xn,render:(Pt,fn,Wn)=>Me.createElement(Le.Z,{title:gt(fn)},Me.createElement("div",null,Pt||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(Pt,fn,Wn)=>Me.createElement(Le.Z,{title:gt(fn)},Me.createElement("div",{style:{flex:1,textAlign:"start"}},Me.createElement("a",{onClick:()=>{var Qn,Mr;tr(vt(cn({},fn),{question_type:xn||fn!=null&&fn.challenge_names?5:(Mr=(Qn=br==null?void 0:br.filter(Ci=>Ci.value===(fn==null?void 0:fn.item_type)))==null?void 0:Qn[0])==null?void 0:Mr.question_type})),_t(!0)}},"\u67E5\u770B"),(fn==null?void 0:fn.shixun_tag_num)===1&&Me.createElement("a",{style:{marginLeft:10},onClick:()=>{Ee.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Me.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Me.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${fn==null?void 0:fn.identifier}/challenges`)}},(fn==null?void 0:fn.shixun_name)||"--"),"\uFF1F"),onOk:()=>Oe(void 0,null,function*(){if(!rt(fn==null?void 0:fn.identifier))return new Promise((Qn,Mr)=>{Mr()})})})}},"\u53D1\u5E03")))}].filter(Pt=>!Pt.hidden)}),Me.createElement(Ut.Z,{current:dt.page,total:(wn==null?void 0:wn.items_count)||(wn==null?void 0:wn.shixuns_count),style:{marginBottom:20},defaultPageSize:dt.per_page,hideOnSinglePage:!(wn!=null&&wn.items_count),showTotal:Pt=>Me.createElement("span",null,"\u5171\xA0",Me.createElement("span",{style:{color:"#165DFF"}},Pt),"\xA0\u6761\u6570\u636E"),pageSize:dt.per_page,onChange:(Pt,fn)=>{dt.page=Pt,dt.per_page=fn,on(cn({},dt)),Dr(cn({},dt))}}),Me.createElement("div",{className:jt.bottom},Me.createElement(ye.ZP,{className:jt.no,onClick:()=>{Tt(!1)}},"\u53D6\u6D88"),Me.createElement(ye.ZP,{loading:$n,style:{width:$n&&75},className:jt.yes,onClick:()=>Oe(void 0,null,function*(){if((In==null?void 0:In.length)<=0){nt.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}sn([...$r.current],[...ni.current],!0,In==null?void 0:In.length)})},"\u786E\u8BA4"))),Me.createElement(Ee.default,{open:Yr,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:jt.previewModal,width:1e3,centered:!0,onCancel:()=>{_t(!1)},onOk:()=>{_t(!1)}},Me.createElement(fe,{qitem:Ir})))};var ln=(0,pt.connect)(({shixunsDetail:Tt,user:an})=>({shixunsDetail:Tt,user:an}))(tt),dn=ie(61584),An=ie(66649),Xn=ie.n(An),Gt=ie(59301),nr=Object.defineProperty,wr=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable,xr=(Tt,an,sn)=>an in Tt?nr(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:sn}):Tt[an]=sn,Br=(Tt,an)=>{for(var sn in an||(an={}))Ar.call(an,sn)&&xr(Tt,sn,an[sn]);if(rr)for(var sn of rr(an))li.call(an,sn)&&xr(Tt,sn,an[sn]);return Tt},ti=(Tt,an)=>wr(Tt,kr(an)),Rn=(Tt,an)=>{var sn={};for(var rn in Tt)Ar.call(Tt,rn)&&an.indexOf(rn)<0&&(sn[rn]=Tt[rn]);if(Tt!=null&&rr)for(var rn of rr(Tt))an.indexOf(rn)<0&&li.call(Tt,rn)&&(sn[rn]=Tt[rn]);return sn},tn=(Tt,an,sn)=>new Promise((rn,$n)=>{var Ft=He=>{try{Xe(sn.next(He))}catch(Ke){$n(Ke)}},Ie=He=>{try{Xe(sn.throw(He))}catch(Ke){$n(Ke)}},Xe=He=>He.done?rn(He.value):Promise.resolve(He.value).then(Ft,Ie);Xe((sn=sn.apply(Tt,an)).next())});const zn=({title:Tt,icon:an,className:sn,style:rn,children:$n})=>Gt.createElement("div",{className:yt()(be.card,sn),style:rn},Gt.createElement("div",{className:be.head},Gt.createElement("i",{className:an}),Gt.createElement("b",null,Tt)),Gt.createElement("div",{className:be.element},$n)),er=Tt=>{var an=Tt,{value:sn,onChange:rn}=an,$n=Rn(an,["value","onChange"]);return Gt.createElement(Ae.Z,ti(Br({},$n),{defaultValue:sn,onChange:rn}))},zt=({value:Tt=[],onChange:an,params:sn,className:rn})=>{const[$n,Ft]=(0,ne.useState)(!1),[Ie,Xe]=(0,ne.useState)([]),[He,Ke]=(0,ne.useState)(""),[Bt,dt]=(0,ne.useState)([]),[on,nn]=(0,ne.useState)("");(0,ne.useEffect)(()=>{hn()},[]);function hn(){return tn(this,null,function*(){let Pn=yield(0,Sn.ZP)(`/api/courses/${sn==null?void 0:sn.coursesId}/teachers`,{method:"get",params:{homework_id:sn.categoryId,limit:1e3}});dt((Pn==null?void 0:Pn.teacher_list)||[])})}return Gt.createElement(ne.Fragment,null,Gt.createElement("div",{className:yt()(be.collaborator,rn)},Tt==null?void 0:Tt.map(Pn=>Gt.createElement(pe.Z,{align:"middle",className:`${be.btn} ${on==(Pn==null?void 0:Pn.user_id)?be.delBorder:""}`,key:Pn.user_id},Gt.createElement("span",{className:"c-grey-333"},Pn==null?void 0:Pn.name),Gt.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${be.delSty}`,onMouseEnter:()=>{nn(Pn==null?void 0:Pn.user_id)},onMouseLeave:()=>{nn("")},onClick:()=>{const Jn=Tt.filter(In=>In.user_id!==Pn.user_id);Xe(Jn.map(In=>In.user_id)),an(Jn)}}))),Gt.createElement(ye.ZP,{className:be.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>Ft(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Gt.createElement(Ee.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:$n,onCancel:()=>Ft(!1),onOk:()=>{const Pn=Bt.filter(Jn=>Ie.includes(Jn.user_id));an(Pn),Ft(!1)},afterClose:()=>{Ke("")}},Gt.createElement(pe.Z,{align:"middle"},Gt.createElement("label",null,"\u59D3\u540D\uFF1A"),Gt.createElement(Re.default.Search,{value:He,size:"middle",style:{flex:1},onChange:Pn=>Ke(Pn.target.value)})),Gt.createElement(ht.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:Pn=>{Xe(Pn)},selectedRowKeys:Ie,getCheckboxProps:Pn=>({disabled:Pn.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:Bt.filter(Pn=>Pn.name.includes(He)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var kn=()=>{var Tt;const an=(0,pt.useParams)(),sn=(0,pt.useDispatch)(),[rn]=ke.default.useForm(),$n=ke.default.useWatch("hack_score_settings",rn),Ft=ke.default.useWatch("open_code",rn),Ie=ke.default.useWatch("rank_forbidden",rn),Xe=ke.default.useWatch("hack_analysis",rn),He=ke.default.useWatch("hack_answer",rn),[Ke,Bt]=(0,ne.useState)([]),[dt,on]=(0,ne.useState)({}),[nn,hn]=(0,ne.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[Pn,Jn]=(0,ne.useState)(!0),[In,Xt]=(0,ne.useState)(!1),[wn,pr]=(0,ne.useState)(!1),[lr,ar]=(0,ne.useState)({}),[dr,Ir]=(0,ne.useState)(!1),[tr,Yr]=(0,ne.useState)(!1),_t=(0,ne.useRef)(!1),xn=(0,ne.useRef)(String(Math.random()).slice(-6)),Dn=(Tt=window.location.pathname)==null?void 0:Tt.includes("add");(0,ne.useEffect)(()=>(window.addEventListener("visibilitychange",Un),()=>{window.removeEventListener("visibilitychange",Un)}),[Ke,lr]),(0,ne.useEffect)(()=>(sn({type:"globalSetting/footerToggle",payload:!1}),()=>{sn({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ne.useEffect)(()=>{Ke.length&&$n!==void 0&&Nr()},[$n,JSON.stringify(Ke==null?void 0:Ke.map(br=>br.id+br.hack_score))]),(0,ne.useEffect)(()=>{Bn(),Dn?Jn(!1):Vn()},[]);const Un=()=>tn(void 0,null,function*(){var br;if(document.visibilityState==="visible"){Yr(!0);let Hr=Ke.map($r=>$r.id),Lr=localStorage.getItem(xn.current);Lr&&(Lr=JSON.parse(Lr),Lr=Array.isArray(Lr)?Lr:[],Hr=[...Hr,...Lr],localStorage.removeItem(xn.current));const ni=yield(0,Sn.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:Hr.length?Hr:-1,homework_common_id:Dn?null:lr==null?void 0:lr.homework_id}});if(ni!=null&&ni.items){const $r=(br=ni==null?void 0:ni.items)==null?void 0:br.map(Fr=>{const Vr=Ke.find(ei=>ei.id===Fr.id);return Vr?ti(Br({},Fr),{hack_score:Vr.hack_score}):Fr});Bt($r)}Yr(!1)}}),Bn=()=>tn(void 0,null,function*(){const br=yield(0,Sn.ZP)(`/api/courses/${an.coursesId}/homework_commons/new.json`,{method:"get",params:{category:an==null?void 0:an.categoryId,type:5}});br!=null&&br.course_name&&on(br)}),Vn=()=>tn(void 0,null,function*(){var br,Hr;const Lr=yield(0,Sn.ZP)(`/api/homework_commons/${an==null?void 0:an.categoryId}/edit_hack.json`,{method:"get"});if((Lr==null?void 0:Lr.status)===0){const ni=(br=Lr==null?void 0:Lr.collaborators_data)==null?void 0:br.map(Fr=>({user_id:Fr.id,name:Fr.real_name}));rn.setFieldsValue(ti(Br({},Lr),{user_ids:ni,rank_forbidden_start:Lr!=null&&Lr.rank_forbidden_start?Xn()(Lr==null?void 0:Lr.rank_forbidden_start):"",rank_forbidden_end:Lr!=null&&Lr.rank_forbidden_end?Xn()(Lr==null?void 0:Lr.rank_forbidden_end):""}));const $r=(Hr=Lr==null?void 0:Lr.items)==null?void 0:Hr.map((Fr,Vr)=>{var ei,_r;return ti(Br({},Fr),{hack_score:(_r=(ei=Lr==null?void 0:Lr.hack_settings)==null?void 0:ei[Vr])==null?void 0:_r.hack_score})});Bt($r||[]),ar(Br({},Lr))}Jn(!1)}),Nn=()=>{let br=`/classrooms/${an==null?void 0:an.coursesId}/program_homework`;return Dn||(br=`/classrooms/${an==null?void 0:an.coursesId}/program_homework/${an==null?void 0:an.categoryId}/detail`),br},ir=[{name:(dt==null?void 0:dt.course_name)||"",path:`/classrooms/${dt==null?void 0:dt.course_id}/program_homework`},{name:Dn?"\u7F16\u7A0B\u4F5C\u4E1A":lr==null?void 0:lr.name,path:Nn()},{name:(Dn?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],Cr=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(br,Hr,Lr)=>Lr+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:br=>Gt.createElement(Le.Z,{placement:"topLeft",title:br},Gt.createElement("span",null,br||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(br,Hr,Lr)=>Gt.createElement(Ge.Z,{disabled:$n!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:br,onChange:ni=>{Ke[Lr].hack_score=ni;const $r=Ke.reduce((Fr,Vr)=>Fr+Number(Vr.hack_score||0),0);rn.setFieldsValue({total_score:$r.toFixed(2)}),Bt([...Ke])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:br=>Gt.createElement("span",null,br===1?"\u7B80\u5355":br===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:br=>Gt.createElement(Le.Z,{placement:"topLeft",title:br},Gt.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},br||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(br,Hr)=>Gt.createElement("span",null,Gt.createElement("span",{onClick:()=>tn(void 0,null,function*(){var Lr;sn({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let ni=yield(0,Sn.ZP)(`/api/problems/${(Lr=Hr==null?void 0:Hr.program_attr)==null?void 0:Lr.identifier}/start.json`,{method:"get"});(ni==null?void 0:ni.status)===0&&(0,ft.xg)(`/myproblems/${ni==null?void 0:ni.identifier}?type=1&pageId=edit&backUrl=${Nn()}`),sn({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),Gt.createElement("span",{onClick:()=>{var Lr;return(0,ft.xg)(`/problems/newedit/${(Lr=Hr==null?void 0:Hr.program_attr)==null?void 0:Lr.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),Gt.createElement("span",{onClick:()=>{const Lr=Ke.filter(ni=>ni.id!==Hr.id);Bt(Lr),nt.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],Nr=()=>{const br=[...Ke],Hr=rn.getFieldValue("total_score"),Lr=br==null?void 0:br.length;let ni=0,$r;switch($n){case 0:const Fr=(Hr/Lr).toFixed(2);br.map((or,ui)=>{ni=ui,or.hack_score=Fr>0?Fr:0}),$r=(Hr-Fr*(Lr-1)).toFixed(2),br[ni].hack_score=$r>0?$r:0;break;case 1:const Vr=[0,1,3,6];let ei=0;const _r=br.filter(or=>or.difficulty===1).length*Vr[1],ki=br.filter(or=>or.difficulty===2).length*Vr[2],Ki=br.filter(or=>or.difficulty===3).length*Vr[3],hi=Hr/(_r+ki+Ki);br.map((or,ui)=>{ni=ui,or.hack_score=(Vr[or.difficulty]*hi).toFixed(2),ei=ei+Number(or.hack_score)});let Dr=br[ni].hack_score;$r=(Hr-ei+Number(Dr)).toFixed(2),br[ni].hack_score=$r>0?$r:0;break}Bt(br)},ai=br=>{_t.current=br,rn.submit()},si=br=>tn(void 0,null,function*(){var Hr;if(!Ke.length){nt.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),rn.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}Ir(!0);const Lr=[],ni=Ke.map(Vr=>(Lr.push(Vr.hack_id),{hack_id:Vr.hack_id,hack_name:Vr.name,hack_score:Vr.hack_score,difficult:Vr.difficulty})),$r=(Hr=br==null?void 0:br.user_ids)==null?void 0:Hr.map(Vr=>Vr.user_id),Fr=yield(0,Sn.ZP)(`/api/courses/${an.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:ti(Br({},br),{category:Dn?Number(an==null?void 0:an.categoryId):null,homework_id:Dn?null:lr==null?void 0:lr.homework_id,hack_settings:ni,user_ids:$r,hack_ids:Lr})});if((Fr==null?void 0:Fr.status)===0)if(nt.ZP.success("\u4FDD\u5B58\u6210\u529F"),_t.current){const Vr=Br({},Fr);hn(Vr),sn({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Fr==null?void 0:Fr.id],selectArrsAll:[Vr],params:an,detail:!0,type:2,manage_all_group:Vr==null?void 0:Vr.manage_all_group}})}else pt.history.push(`/classrooms/${an.coursesId}/program_homework/${Fr==null?void 0:Fr.id}/detail`);Ir(!1)}),mi=br=>tn(void 0,null,function*(){if(!br.length){nt.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(br.length>200){nt.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const Hr=[],Lr=Ke.map(Fr=>{var Vr;return(Vr=Fr.program_attr)==null?void 0:Vr.origin_item_bank_id}),ni=[];br.forEach(Fr=>{if(Lr.includes(Fr)){const Vr=Ke.find(ei=>{var _r;return((_r=ei.program_attr)==null?void 0:_r.origin_item_bank_id)===Fr});ni.push(Vr)}else Hr.push(Fr)}),pr(!0);const $r=yield(0,Sn.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:Hr}});if($r!=null&&$r.items){const Fr=[...ni,...$r==null?void 0:$r.items];if($n===2){const Vr=Fr.reduce((ei,_r)=>ei+Number(_r.hack_score||0),0);rn.setFieldsValue({total_score:Vr.toFixed(2)})}Bt(Fr),Xt(!1)}pr(!1)});return Gt.createElement("div",{className:be.wrap},Gt.createElement(ct.Z,{spinning:Pn},Gt.createElement("div",{className:be.center},Gt.createElement(Se._b,{dataSource:ir,className:"mb20"}),Gt.createElement(ke.default,{form:rn,preserve:!1,onValuesChange:br=>{"total_score"in br&&Nr()},onFinishFailed:br=>tn(void 0,null,function*(){var Hr,Lr;nt.ZP.error(br.errorFields[0].errors[0]),rn.scrollToField((Lr=(Hr=br==null?void 0:br.errorFields)==null?void 0:Hr[0])==null?void 0:Lr.name,{behavior:"smooth",block:"center"})}),onFinish:si,colon:!1,size:"large"},Gt.createElement(zn,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},Gt.createElement(ke.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"}]},Gt.createElement(Re.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),Gt.createElement(ke.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"}]},Gt.createElement(er,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),Gt.createElement(zn,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},Gt.createElement(ke.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},Gt.createElement(Et.default.Group,null,Gt.createElement(Et.default,{value:"c"},"C\u8BED\u8A00"),Gt.createElement(Et.default,{value:"c++"},"C++\u8BED\u8A00"),Gt.createElement(Et.default,{value:"java"},"Java\u8BED\u8A00"),Gt.createElement(Et.default,{value:"python"},"Python\u8BED\u8A00"))),Gt.createElement(pe.Z,{align:"middle"},Gt.createElement(ke.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},Gt.createElement(Ge.Z,{precision:1,disabled:$n===2,min:0,style:{width:223},addonAfter:"\u5206"})),Gt.createElement(ke.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},Gt.createElement(Ge.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),Gt.createElement(ke.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},Gt.createElement(Ct.ZP.Group,null,Gt.createElement(Ct.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),Gt.createElement(Ct.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),Gt.createElement(Ct.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),Gt.createElement(pe.Z,{align:"middle"},Gt.createElement("span",null,"\u9898\u76EE\u5217\u8868"),Gt.createElement(ye.ZP,{onClick:()=>Xt(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),Gt.createElement(ye.ZP,{onClick:()=>(0,ft.xg)(`/problems/newcreate?pageId=${xn.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),Gt.createElement("div",{className:be.tip},Gt.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"),Gt.createElement(ke.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},Gt.createElement(Mt,{dataSource:Ke,setDataSource:Bt,columns:Cr,loading:tr}))),Gt.createElement(zn,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},Gt.createElement("div",{className:be.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),Gt.createElement("div",{className:`${be.content} mb30`},Gt.createElement(ke.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},Gt.createElement(Ct.ZP.Group,null,Gt.createElement(Ct.ZP,{value:0},Gt.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),Gt.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),Gt.createElement(Ct.ZP,{style:{marginLeft:40},value:1},Gt.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),Gt.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),Gt.createElement("div",{className:`${be.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),Gt.createElement("div",{className:be.content},Gt.createElement(ke.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},Gt.createElement(Et.default,null,Gt.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),Gt.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")))),Gt.createElement("div",{className:`${be.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),Gt.createElement("div",{className:be.content},Gt.createElement(ke.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},Gt.createElement(Et.default,null,Gt.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),Gt.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"))),Gt.createElement(ke.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},Gt.createElement(Et.default,null,Gt.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),Gt.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"))),!!Ft&&Gt.createElement(ke.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},Gt.createElement(Ct.ZP.Group,null,Gt.createElement(Ct.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Gt.createElement(Ct.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),Gt.createElement(ke.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},Gt.createElement(Et.default,null,Gt.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),Gt.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"))),!!Ie&&Gt.createElement(pe.Z,{align:"middle",className:"ml25"},Gt.createElement(ke.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"},Gt.createElement(Wt.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:ft.Q8,disabledTime:ft.d0})),Gt.createElement(ke.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"},Gt.createElement(Wt.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:ft.Q8,disabledTime:ft.d0}))),Gt.createElement(ke.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},Gt.createElement(Et.default,null,Gt.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),Gt.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!Xe&&Gt.createElement(ke.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},Gt.createElement(Ct.ZP.Group,null,Gt.createElement(Ct.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Gt.createElement(Ct.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),Gt.createElement(Ct.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),Gt.createElement(ke.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},Gt.createElement(Et.default,null,Gt.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),Gt.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!He&&Gt.createElement(ke.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},Gt.createElement(Ct.ZP.Group,null,Gt.createElement(Ct.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Gt.createElement(Ct.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),Gt.createElement("div",{className:`${be.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),Gt.createElement(ke.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},Gt.createElement(zt,{params:an}))))),Gt.createElement("div",{className:be.fixedBtns},Gt.createElement(pe.Z,{align:"middle",className:be.center},Gt.createElement(ye.ZP,{onClick:()=>pt.history.push(Nn()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),Gt.createElement(ye.ZP,{loading:dr&&!_t.current,disabled:dr&&_t.current,onClick:()=>ai(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),Gt.createElement(ye.ZP,{loading:dr&&_t.current,disabled:dr&&!_t.current,onClick:()=>ai(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),Gt.createElement(ln,{setScoreShow:Xt,isshixuns:!1,ScoreShow:In,virtualId:xn.current,isloadings:wn,onOk:mi,selectedIds:Ke.map(br=>{var Hr;return(Hr=br.program_attr)==null?void 0:Hr.origin_item_bank_id})||[]}),Gt.createElement(dn.Z,{courseEndTime:nn==null?void 0:nn.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${an==null?void 0:an.coursesId}/program_homework/${nn==null?void 0:nn.id}/detail`}}))}},61584:function(Ln,pn,ie){"use strict";var ne=ie(59301),be=ie(78241),Ce=ie(8591),yt=ie(43418),Se=ie(95237),Ae=ie(5112),pe=ie(5871),ye=ie(43604),Ee=ie(5083),Re=ie(24905),ht=ie(66649),ke=ie.n(ht),Le=ie(64866),Ge=ie(16624),nt=ie(22566),ct=ie(90115),Et=ie(83636),Ct=ie(22392),Wt=ie(1536),ft=ie(59301),pt=Object.defineProperty,ze=Object.defineProperties,he=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Je=(Dt,Nt,wt)=>Nt in Dt?pt(Dt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):Dt[Nt]=wt,mt=(Dt,Nt)=>{for(var wt in Nt||(Nt={}))ot.call(Nt,wt)&&Je(Dt,wt,Nt[wt]);if(it)for(var wt of it(Nt))ut.call(Nt,wt)&&Je(Dt,wt,Nt[wt]);return Dt},Te=(Dt,Nt)=>ze(Dt,he(Nt)),xt=(Dt,Nt)=>{var wt={};for(var It in Dt)ot.call(Dt,It)&&Nt.indexOf(It)<0&&(wt[It]=Dt[It]);if(Dt!=null&&it)for(var It of it(Dt))Nt.indexOf(It)<0&&ut.call(Dt,It)&&(wt[It]=Dt[It]);return wt},Ne=(Dt,Nt,wt)=>new Promise((It,We)=>{var ve=Mt=>{try{Vt(wt.next(Mt))}catch(Ue){We(Ue)}},Qe=Mt=>{try{Vt(wt.throw(Mt))}catch(Ue){We(Ue)}},Vt=Mt=>Mt.done?It(Mt.value):Promise.resolve(Mt.value).then(ve,Qe);Vt((wt=wt.apply(Dt,Nt)).next())});const Rt=Dt=>{var Nt=Dt,{classroomList:wt,dispatch:It,courseEndTime:We,onWindowBack:ve}=Nt,Qe=xt(Nt,["classroomList","dispatch","courseEndTime","onWindowBack"]),Vt,Mt,Ue,st,Ht,yn,Ut,Sn,jt,Jt,Ot,xe,ce,ue,de,fe,le,Fe,at,Ze,Me,Lt,bt,et,Zt,Cn,kt,Qt,cn,vt,Oe,tt,ln,dn,An,Xn,Gt,nr,wr;const kr=(0,ct.useParams)(),[rr]=be.default.useForm(),[Ar,li]=(0,ne.useState)(1),[xr,Br]=(0,ne.useState)([]),[ti,Rn]=(0,ne.useState)(0),[tn,zn]=(0,ne.useState)(2e3),[er,zt]=(0,ne.useState)(!0),[bn,kn]=(0,ne.useState)(!1),[Tt,an]=(0,ne.useState)(!1),[sn,rn]=(0,ne.useState)([]),[$n,Ft]=(0,ne.useState)(!0),[Ie,Xe]=(0,ne.useState)(!((Ue=(Mt=(Vt=wt.actionTabs)==null?void 0:Vt.selectArrsAll)==null?void 0:Mt[0])!=null&&Ue.send_type));let[He,Ke]=(0,ne.useState)([0,0,0]);(0,ne.useEffect)(()=>{var In,Xt,wn,pr,lr,ar,dr,Ir,tr,Yr,_t,xn,Dn;if(wt.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(nn(),(wn=(Xt=(In=wt.actionTabs)==null?void 0:In.selectArrsAll)==null?void 0:Xt[0])!=null&&wn.can_publish?Ke([...(tr=(Ir=(dr=wt.actionTabs)==null?void 0:dr.selectArrsAll)==null?void 0:Ir[0])==null?void 0:tr.difficult_count]):Ke([...(ar=(lr=(pr=wt.actionTabs)==null?void 0:pr.selectArrsAll)==null?void 0:lr[0])==null?void 0:ar.difficult_settings]),Xe(!((xn=(_t=(Yr=wt.actionTabs)==null?void 0:Yr.selectArrsAll)==null?void 0:_t[0])!=null&&xn.send_type)),Bt(),wt.actionTabs.type===2){const Un=(Dn=wt.actionTabs.selectArrsAll)==null?void 0:Dn[0];Ft(Un.unified_setting)}else Ft(!1)},[wt.actionTabs]),(0,ne.useEffect)(()=>{if(bn){if(Tt)return;It({type:"classroomList/setActionTabs",payload:{}}),(0,Ge.GJ)()?(It({type:"classroomList/getClassroomTeacherCommonList",payload:Te(mt({},wt.actionTabs.params),{type:1})}),It({type:"shixunHomeworks/getWorkList",payload:mt({},kr)})):It({type:"classroomList/getClassroomCommonList",payload:mt({},wt.actionTabs.params)})}},[bn]);const Bt=In=>Ne(void 0,null,function*(){zt(!0);const Xt=yield(0,Ct.c_)(Te(mt({},kr),{page:In||Ar,limit:2e4,homework_id:wt.actionTabs.type===1?"":wt.actionTabs.selectArrs[0]}));Xt==null||Xt.course_groups.map((wn,pr)=>{wn.key=wn.id,wn.title=wn.name,wn.disabled=wn.is_published}),Xt&&(Br([...Xt==null?void 0:Xt.course_groups]),Rn(Xt==null?void 0:Xt.course_groups_count),zt(!1),In||rr.setFieldsValue({publish_time:ke()(ke()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:ke()(ke()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),dt=()=>{(0,Ge.GJ)()?wt.actionTabs.detail?(It({type:"shixunHomeworks/setActionTabs",payload:{}}),It({type:"shixunHomeworks/getWorkList",payload:mt({},kr)}),It({type:"shixunHomeworks/getWorkSetting",payload:mt({},kr)})):It({type:"classroomList/getClassroomTeacherCommonList",payload:Te(mt({},wt.actionTabs.params),{type:5,category:wt.actionTabs.params.categoryId})}):It({type:"classroomList/getClassroomCommonList",payload:mt({},wt.actionTabs.params)})},on=()=>Ne(void 0,null,function*(){var In,Xt;if((0,Ge.Rm)()&&!((In=wt.AssistantObject.hack)!=null&&In.can_publish)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),Jn(!1);return}const wn=mt({},rr.getFieldsValue());if(wn.end_time<=wn.publish_time){Ce.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Jn(!1);return}if((sn==null?void 0:sn.length)<=0&&!$n&&xr.length>0){Ce.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Jn(!1);return}if(He.reduce((ar,dr)=>ar+dr)===0&&!Ie){Ce.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Jn(!1);return}let pr={homework_ids:[...wt.actionTabs.selectArrs],group_ids:sn.length>0?sn.map(ar=>ar.id):(Xt=wt.detailCommonHomeworksList)==null?void 0:Xt.course_groups,end_time:ke()(wn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:ke()(wn.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:He==null?void 0:He.map(ar=>ar),send_type:Ie?"0":"1",unified_setting:!sn.length};if(Jn(!0),(yield(0,Le.ZP)(`/api/courses/${kr.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:mt({},pr)})).status===0){if(Jn(!1),(0,nt.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),Ce.ZP.success("\u53D1\u5E03\u6210\u529F"),It({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),ve){ve();return}Qe.onCallback&&Qe.onCallback(),dt(),localStorage.getItem("Noviceguide")==="0"||It({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:ft.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 Jn(!1)}),nn=()=>{li(1),Br([]),rn([])},hn=ti>Ar*tn,[Pn,Jn]=(0,ne.useState)(!1);return ft.createElement(yt.default,{width:600,confirmLoading:Pn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:wt.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:on,onCancel:()=>{if(nn(),It({type:"classroomList/setActionTabs",payload:{}}),ve){ve();return}dt()}},ft.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",ft.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),xr&&ft.createElement(be.default,{form:rr},ft.createElement("div",{style:{paddingLeft:0}},wt.actionTabs.type===2&&ft.createElement(Se.Z,{style:{marginBottom:"10px"}},ft.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ft.createElement(Ae.ZP.Group,{value:Ie,disabled:!((yn=(Ht=(st=wt.actionTabs)==null?void 0:st.selectArrsAll)==null?void 0:Ht[0])!=null&&yn.can_publish),onChange:In=>{Xe(In.target.value)}},ft.createElement(Ae.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ft.createElement(Ae.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Ie&&ft.createElement(Se.Z,{style:{marginBottom:"10px"}},ft.createElement("span",{style:{marginRight:65}}),ft.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",ft.createElement(pe.Z,{value:He[0],onChange:In=>{He[0]=In,Ke([...He])},min:0,disabled:!((jt=(Sn=(Ut=wt.actionTabs)==null?void 0:Ut.selectArrsAll)==null?void 0:Sn[0])!=null&&jt.can_publish),placeholder:`\u6700\u5927${(ce=(xe=(Ot=(Jt=wt.actionTabs)==null?void 0:Jt.selectArrsAll)==null?void 0:Ot[0])==null?void 0:xe.difficult_count)==null?void 0:ce[0]}`,max:(le=(fe=(de=(ue=wt.actionTabs)==null?void 0:ue.selectArrsAll)==null?void 0:de[0])==null?void 0:fe.difficult_count)==null?void 0:le[0],style:{width:60}})),ft.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ft.createElement(pe.Z,{value:He[1],onChange:In=>{He[1]=In,Ke([...He])},min:0,disabled:!((Ze=(at=(Fe=wt.actionTabs)==null?void 0:Fe.selectArrsAll)==null?void 0:at[0])!=null&&Ze.can_publish),max:(et=(bt=(Lt=(Me=wt.actionTabs)==null?void 0:Me.selectArrsAll)==null?void 0:Lt[0])==null?void 0:bt.difficult_count)==null?void 0:et[1],placeholder:`\u6700\u5927${(Qt=(kt=(Cn=(Zt=wt.actionTabs)==null?void 0:Zt.selectArrsAll)==null?void 0:Cn[0])==null?void 0:kt.difficult_count)==null?void 0:Qt[1]}`,style:{width:60}})),ft.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ft.createElement(pe.Z,{value:He[2],onChange:In=>{He[2]=In,Ke([...He])},min:0,disabled:!((Oe=(vt=(cn=wt.actionTabs)==null?void 0:cn.selectArrsAll)==null?void 0:vt[0])!=null&&Oe.can_publish),placeholder:`\u6700\u5927${(An=(dn=(ln=(tt=wt.actionTabs)==null?void 0:tt.selectArrsAll)==null?void 0:ln[0])==null?void 0:dn.difficult_count)==null?void 0:An[2]}`,max:(wr=(nr=(Gt=(Xn=wt.actionTabs)==null?void 0:Xn.selectArrsAll)==null?void 0:Gt[0])==null?void 0:nr.difficult_count)==null?void 0:wr[2],style:{width:60}}))),ft.createElement(Se.Z,{className:"mt30",align:"middle"},ft.createElement(ye.Z,null,ft.createElement(be.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ft.createElement(Ee.default,{style:{width:170,marginRight:"25px"},disabledDate:In=>(0,Wt.Q8)(In,We),disabledTime:In=>(0,Wt.d0)(In),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ke()((0,nt.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),ft.createElement(ye.Z,{className:"ml20"},ft.createElement(be.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ft.createElement(Ee.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ke()((0,nt.U6)(),"HH:mm")},disabledDate:In=>(0,Wt.Q8)(In,We,rr.getFieldValue("publish_time")),disabledTime:In=>(0,Wt.d0)(In,rr.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),wt.actionTabs.type===2&&ft.createElement(Se.Z,{style:{marginBottom:"10px"}},ft.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ft.createElement(Ae.ZP.Group,{value:$n,onChange:In=>{Ft(In.target.value),rn([])}},ft.createElement(Ae.ZP,{value:!0,disabled:!wt.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ft.createElement(Ae.ZP,{className:"ml20",disabled:xr.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),xr.length<=0&&wt.actionTabs.type===2&&ft.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"')),(wt.actionTabs.type===1||!$n)&&xr.length>0&&ft.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ft.createElement("span",{style:{flex:1}},ft.createElement(Re.default,{checked:sn.length===xr.length,onChange:In=>{sn.length===xr.length?rn([]):rn(xr.filter(Xt=>!Xt.is_published))}},"\u5168\u9009")," "),ft.createElement("span",{style:{width:16}}),ft.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",sn.length||0,"\u4E2A\u5206\u73ED")),(wt.actionTabs.type===1||!$n)&&xr.length>0&&ft.createElement(Et.Z,{data:xr,selectedRowKeys:sn,setSelectedRowKeys:rn})))};pn.Z=(0,ct.connect)(({classroomList:Dt})=>({classroomList:Dt}))(Rt)},1536:function(Ln,pn,ie){"use strict";ie.d(pn,{Q8:function(){return ve},d0:function(){return Qe},w6:function(){return We}});var ne=ie(59301),be=ie(5083),Ce=ie(57809),yt=ie(8591),Se=ie(43418),Ae=ie(5112),pe=ie(95237),ye=ie(43604),Ee=ie(6848),Re=ie(24905),ht=ie(3113),ke=ie(66649),Le=ie.n(ke),Ge=ie(16624),nt=ie(64866),ct=ie(89392),Et=ie.n(ct),Ct=ie(22566),Wt=ie(1051),ft=ie(90115),pt=ie(21837),ze=ie(91723),he=ie(25920),it=ie(27350),ot=ie(55159),ut=ie(59301),Je=Object.defineProperty,mt=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Dt=(st,Ht,yn)=>Ht in st?Je(st,Ht,{enumerable:!0,configurable:!0,writable:!0,value:yn}):st[Ht]=yn,Nt=(st,Ht)=>{for(var yn in Ht||(Ht={}))Ne.call(Ht,yn)&&Dt(st,yn,Ht[yn]);if(xt)for(var yn of xt(Ht))Rt.call(Ht,yn)&&Dt(st,yn,Ht[yn]);return st},wt=(st,Ht)=>mt(st,Te(Ht)),It=(st,Ht,yn)=>new Promise((Ut,Sn)=>{var jt=xe=>{try{Ot(yn.next(xe))}catch(ce){Sn(ce)}},Jt=xe=>{try{Ot(yn.throw(xe))}catch(ce){Sn(ce)}},Ot=xe=>xe.done?Ut(xe.value):Promise.resolve(xe.value).then(jt,Jt);Ot((yn=yn.apply(st,Ht)).next())});function We(st,Ht){const yn=[];for(let Ut=st;Ut<Ht;Ut++)yn.push(Ut);return yn}const ve=(st,Ht,yn)=>{const Ut=st<Le()().startOf("day"),Sn=st>Le()(Ht).endOf("day"),jt=st<Le()(yn).startOf("day");return Ht?yn?Le()()<=Le()(yn)?jt||Sn:Ut||Sn:st&&Ut||Sn:yn&&Le()()<=Le()(yn)?jt:Ut},Qe=(st,Ht)=>{const yn=parseInt(Le()(st).format("HH")),Ut=parseInt(Le()().format("HH")),Sn=parseInt(Le()().format("mm"));if(!st)return{disabledHours:()=>We(0,Ut),disabledMinutes:()=>We(0,Sn)};if(Ht){const jt=parseInt(Le()(Ht).format("HH")),Jt=parseInt(Le()(Ht).format("mm"));return Le()(st).isSame(Le()(Ht),"day")?{disabledHours:()=>We(0,jt),disabledMinutes:()=>yn<=jt?We(0,Jt):[]}:void 0}if(Le()(st).isSame(Le()(),"day"))return{disabledHours:()=>We(0,Ut),disabledMinutes:()=>Le()(st).isSame(Le()(),"hour")&&yn<=Ut?We(0,Sn):[]}},{RangePicker:Vt}=be.default,{Option:Mt}=Ce.default,Ue=({shixunHomeworks:st,loading:Ht,dispatch:yn,classroomList:Ut,user:Sn})=>{var jt,Jt,Ot,xe,ce,ue,de,fe,le;const Fe=(0,ft.useParams)(),{workSetting:at,workList:Ze,shixunWorkList:Me,headerInfo:Lt,changeData:bt}=st,[et,Zt]=(0,ne.useState)(!1),[Cn,kt]=(0,ne.useState)(!1);let[Qt,cn]=(0,ne.useState)([]),[vt,Oe]=(0,ne.useState)([]),[tt,ln]=(0,ne.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:pt.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[dn,An]=(0,ne.useState)({}),[Xn,Gt]=(0,ne.useState)({});(0,ne.useEffect)(()=>()=>{cn([])},[]),(0,ne.useEffect)(()=>{Zt(!(0,Ge.GJ)())},[(0,Ge.GJ)()]);const nr=()=>{yn({type:"shixunHomeworks/getWorkSetting",payload:Nt({},Fe)})};(0,ne.useEffect)(()=>{if(!(at!=null&&at.course_id))return;Object.keys(tt).map(function(zn){tt[zn]=at[zn]}),(!tt.allow_late||!tt.unified_late)&&(tt.late_penalty=20,tt.penalty_type=pt.Q.Percent),tt.unified_setting||(tt.unified_late=!1,tt.unified_anonymous_comment=!1,tt.unified_anonymous_appeal=!1),Qt=JSON.parse(JSON.stringify(at.group_settings.map(zn=>wt(Nt({},zn),{group_name:[zn.group_name]})).filter(zn=>zn.publish_time!==null))),vt=JSON.parse(JSON.stringify(at.allow_late_settings.map(zn=>wt(Nt({},zn),{group_name:[zn.group_name]})).filter(zn=>zn.late_time!==null))),ln(Nt({},tt));const tn=(0,Ct.QE)((Qt==null?void 0:Qt.length)>0?Qt:[]);cn([...tn]),(vt==null?void 0:vt.length)<=0?Oe([{penalty_type:pt.Q.Percent,late_penalty:20}]):Oe([...vt])},[at]);const wr=()=>It(void 0,null,function*(){var tn,zn;if(((tn=Sn==null?void 0:Sn.userInfo)==null?void 0:tn.user_status)===2){(0,ze.Rd)();return}const er=JSON.parse(JSON.stringify(tt));if(er.challenge_settings.filter(bn=>!bn.hide),er.categoryId=Fe.categoryId,(zn=er.challenge_settings)!=null&&zn.every(bn=>!bn.checked)){yt.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Qt),!tt.unified_setting)Qt=Qt==null?void 0:Qt.map(bn=>{var kn;if(!bn.publish_time||!bn.end_time)throw yt.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(!bn.group_name)throw yt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return bn.group_name=typeof(bn==null?void 0:bn.group_name)=="string"?[bn==null?void 0:bn.group_name]:bn==null?void 0:bn.group_name,bn.group_id=(kn=at.group_settings)==null?void 0:kn.filter(Tt=>{var an;return(an=bn==null?void 0:bn.group_name)==null?void 0:an.includes(Tt.group_name)}).map(Tt=>Tt.group_id||Tt.id).toString().split(","),bn});else if(!tt.publish_time||!tt.end_time)throw yt.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(er.group_settings=Qt,tt.allow_late)if(tt.unified_late){if(tt.late_penalty===null||tt.late_penalty===void 0||tt.late_penalty<0||tt.late_penalty>100)throw yt.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(!tt.late_time)throw yt.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 vt=vt==null?void 0:vt.map(bn=>{var kn,Tt;if(bn.late_penalty===null||bn.late_penalty===void 0||bn.late_penalty<0||bn.late_penalty>100)throw yt.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(!bn.late_time)throw yt.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(!bn.group_name)throw yt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return bn.group_name=typeof(bn==null?void 0:bn.group_name)=="string"?[bn==null?void 0:bn.group_name]:bn==null?void 0:bn.group_name,bn.group_id=(Tt=(kn=bn==null?void 0:bn.group_name)==null?void 0:kn.map(an=>{var sn,rn;let $n=(rn=(sn=at.group_settings)==null?void 0:sn.filter(Ft=>(Ft==null?void 0:Ft.group_name)===an))==null?void 0:rn[0];return $n==null?void 0:$n.group_id}))==null?void 0:Tt.toString().split(","),bn}),er.allow_late_settings=vt;let zt=yield(0,ot.Tr)({homework_common_ids:[parseInt(Fe.categoryId)],course_id:Fe.coursesId,type:"homework_common"});(zt==null?void 0:zt.student_count)===0?kr(er):(Gt(er),An(zt))}),kr=tn=>{var zn;if(tn.total_score===null){yt.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(tn!=null&&tn.work_efficiency&&tn.eff_score===null){yt.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const er=tn.challenge_settings.reduce((kn,Tt)=>kn+Number(Tt.challenge_score),0);if((er==null?void 0:er.toFixed(10))!==((zn=tn.total_score-tn.eff_score)==null?void 0:zn.toFixed(10))){yt.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${tn.total_score}\u5206`);return}const zt={shixun_evaluation:tn.shixun_evaluation,challenge_settings:tn.challenge_settings};let bn=()=>{var kn;const Tt=()=>It(void 0,null,function*(){kt(!0),(yield(0,nt.ZP)(`/api/homework_commons/${Fe.categoryId}/publish_setting.json`,{method:"post",body:Nt({},tn)})).status===0&&(yt.ZP.success("\u66F4\u65B0\u6210\u529F"),nr(),yn({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Nt({},Fe)})),kt(!1)});!(0,ct.isEqual)(bt,zt)&&!((kn=Lt==null?void 0:Lt.homework_status)!=null&&kn.includes("\u672A\u53D1\u5E03"))?Se.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:Tt}):Tt()};at!=null&&at.high_resources_consume&&!(at!=null&&at.high_resources_consume_permission)?yn({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Fe.coursesId,type:"shixun",type_id:Fe.categoryId,name:at.homework_name,fn:()=>{bn()}}}):bn()},rr=(tn,zn,er="group_id")=>{var zt;return zn?zn.find(bn=>bn[er]===tn):(zt=at==null?void 0:at.group_settings)==null?void 0:zt.find(bn=>bn.group_id[0]===tn)},Ar=(at==null?void 0:at.allow_late)||(at==null?void 0:at.anonymous_comment),li=tn=>{var zn,er;const zt=rr(tn,at==null?void 0:at.allow_late_settings,"id"),bn=rr(tn,at==null?void 0:at.anonymous_comment_settings),kn=rr(tn);return(at==null?void 0:at.allow_late)&&zt&&Le()(zt==null?void 0:zt.late_time)<=Le()()||(at==null?void 0:at.anonymous_comment)&&bn&&(bn==null?void 0:bn.evaluation_start)!==null||((er=(Le()(kn==null?void 0:kn.end_time)<=Le()()&&((zn=at==null?void 0:at.allow_late_settings)==null?void 0:zn.filter(Tt=>Tt.group_id.includes(tn))))[0])==null?void 0:er.late_time)!=null},xr=(0,ne.useMemo)(()=>(at==null?void 0:at.allow_late)||(at==null?void 0:at.all_group_late),[at,Lt]),Br=at==null?void 0:at.anonymous_comment,ti=tn=>{if(!tn)return!1;const zn=rr(tn,at==null?void 0:at.anonymous_comment_settings);return(at==null?void 0:at.anonymous_comment)&&zn&&(zn==null?void 0:zn.evaluation_start)!==null},Rn=(tn,zn)=>{var er,zt,bn;yn({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:tn,index:zn,rangePickerDisabled:et||(Le()()<=Le()((zt=rr((er=tn==null?void 0:tn.group_id)==null?void 0:er[0]))==null?void 0:zt.publish_time)?!1:[!0,li((bn=tn==null?void 0:tn.group_id)==null?void 0:bn[0])]),disabledDate:at==null?void 0:at.course_end_date}})};return ut.createElement("section",{className:Wt.Z.form},ut.createElement("div",{className:Wt.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ut.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")),ut.createElement("div",null,ut.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ut.createElement(Ae.ZP.Group,{disabled:et||!((jt=Lt==null?void 0:Lt.homework_status)!=null&&jt.includes("\u672A\u53D1\u5E03"))||(0,Ge.Rm)()&&!((Jt=Ut.AssistantObject.practice)!=null&&Jt.can_publish),value:tt.unified_setting,onChange:tn=>{var zn;if(!((zn=Lt==null?void 0:Lt.homework_status)!=null&&zn.includes("\u672A\u53D1\u5E03"))){yt.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(tt.unified_setting=!tt.unified_setting,tt.unified_setting||(tt.unified_late=!1,Oe([{late_penalty:5}])),ln(Object.assign({},tt)),tt.unified_setting===!1&&Qt==""){cn(Qt.concat({}));return}tt.unified_setting&&(cn([]),Oe([{late_penalty:5}]))}},ut.createElement(Ae.ZP,{value:!0,disabled:et||!(at!=null&&at.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ut.createElement(Ae.ZP,{disabled:et||!((Ot=at==null?void 0:at.group_settings)!=null&&Ot.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((xe=at==null?void 0:at.group_settings)==null?void 0:xe.length)===0&&ut.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")),tt.unified_setting&&ut.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ut.createElement(pe.Z,{align:"middle"},ut.createElement(ye.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ut.createElement(ye.Z,{className:"ml10"},ut.createElement(be.default,{size:"large",disabled:et||!((ce=Lt==null?void 0:Lt.homework_status)!=null&&ce.includes("\u672A\u53D1\u5E03")||(ue=Lt==null?void 0:Lt.homework_status)!=null&&ue.includes("\u672A\u5F00\u59CB"))||(0,Ge.Rm)()&&!((de=Ut.AssistantObject.practice)!=null&&de.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:tn=>ve(tn,at==null?void 0:at.course_end_date),disabledTime:tn=>Qe(tn),value:tt.publish_time?Le()(tt.publish_time):"",onChange:(tn,zn)=>{tt.publish_time=zn,(tt.end_time==""||!tt.end_time)&&tt.unified_setting&&(tt.end_time=Le()(tn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),ln(Object.assign({},tt))}}))),ut.createElement(pe.Z,{align:"middle",className:"pl30"},ut.createElement(ye.Z,null,"\u622A\u6B62\u65F6\u95F4"),ut.createElement(ye.Z,{className:"ml10"},ut.createElement(be.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Le()((0,Ct.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(at==null?void 0:at.allow_late)&&(at==null?void 0:at.homework_status.includes("\u5DF2\u622A\u6B62"))||et||(at==null?void 0:at.allow_late)&&Le()()>=Le()(at==null?void 0:at.end_time)||(0,Ge.Rm)()&&!((fe=Ut.AssistantObject.practice)!=null&&fe.can_publish),disabledDate:tn=>ve(tn,at==null?void 0:at.course_end_date,tt.publish_time),disabledTime:tn=>Qe(tn,tt.publish_time),value:tt.end_time?Le()(tt.end_time):"",onChange:(tn,zn)=>{tt.end_time=zn,ln(Object.assign({},tt))}})))),!tt.unified_setting&&(Qt==null?void 0:Qt.length)>0&&ut.createElement(pe.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Qt&&Qt.map(function(tn,zn){var er,zt,bn,kn,Tt,an,sn;return ut.createElement(ye.Z,{span:24,key:zn},ut.createElement(pe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:zn==(Qt==null?void 0:Qt.length)-1?"0px":"10px"}},ut.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",zn+1),ut.createElement(Ce.default,{disabled:et||((er=Lt==null?void 0:Lt.homework_status)!=null&&er.includes("\u672A\u53D1\u5E03")&&tn.id||Le()()<Le()(tn==null?void 0:tn.publish_time)?!1:!!(tn!=null&&tn.publish_time))||(0,Ge.Rm)()&&!((zt=Ut.AssistantObject.practice)!=null&&zt.can_publish),mode:"multiple",className:Wt.Z.multiple_select,style:{width:"250px"},value:tn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:rn=>{var $n;if((0,Ge.Rm)()&&!(($n=Ut.AssistantObject.practice)!=null&&$n.can_publish)){yt.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[zn].group_name=rn,Qt[zn].group_id=tn.group_id;const Ft=(0,ct.flattenDeep)(Qt.map(Xe=>Xe.group_name)),Ie=vt.map(Xe=>{let He=(Xe==null?void 0:Xe.group_name)||[];return wt(Nt({},Xe),{group_name:(0,ct.remove)(He,Ke=>Ft.includes(Ke))})});Oe(Ie),cn(Qt.slice())},maxTagCount:4,maxTagPlaceholder:rn=>ut.createElement("div",{style:{cursor:"pointer"},onClick:()=>Rn(tn,zn)},"+",rn==null?void 0:rn.length)},at.group_settings&&at.group_settings.map(function(rn){if(!Qt.map(Ft=>Ft.group_name).flat().includes(rn.group_name))return ut.createElement(Mt,{value:rn.group_name,key:rn.id},rn.group_name)})),ut.createElement("div",{className:"ml20"},ut.createElement(Vt,{size:"large",ranges:{\u6B64\u523B:[tn.publish_time?Le()(tn.publish_time):Le()(),Le()()]},allowClear:!1,disabled:et||(Le()()<=Le()((kn=rr((bn=tn==null?void 0:tn.group_id)==null?void 0:bn[0]))==null?void 0:kn.publish_time)?!1:[!0,li((Tt=tn==null?void 0:tn.group_id)==null?void 0:Tt[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:rn=>ve(rn,at==null?void 0:at.course_end_date),disabledTime:rn=>Qe(rn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Le()((0,Ct.U6)(),"HH:mm"),Le()((0,Ct.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:tn.publish_time&&[Le()(tn.publish_time),tn.end_time?Le()(tn.end_time):void 0],onChange:(rn,$n)=>{var Ft;if((0,Ge.Rm)()&&!((Ft=Ut.AssistantObject.practice)!=null&&Ft.can_publish)){yt.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[zn].publish_time=$n[0],!tn.end_time&&$n[0]?Qt[zn].end_time=Le()($n[0]).add(7,"days"):Qt[zn].end_time=$n[1],cn([...Qt])},onCalendarChange:(rn,$n,Ft)=>{if($n!=null&&$n[0]&&!$n[1]){const Ie=Le()($n[0]).add(7,"days");Qt[zn].publish_time=$n[0],Qt[zn].end_time=Ie,cn([...Qt])}}})),!et&&ut.createElement("div",{style:{display:"flex",width:"50px"}},((an=tn==null?void 0:tn.group_id)==null?void 0:an.length)>1&&ut.createElement(Ee.Z,{title:"\u89C4\u5219\u62C6\u5206"},ut.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Rn(tn,zn)})),Qt.length<((sn=at==null?void 0:at.group_settings)==null?void 0:sn.length)&&ut.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var rn;if((0,Ge.Rm)()&&!((rn=Ut.AssistantObject.practice)!=null&&rn.can_publish)){yt.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}cn(Qt.concat({}))}}),((tn==null?void 0:tn.publish_time)&&Le()()<Le()(tn==null?void 0:tn.publish_time)||!(tn!=null&&tn.publish_time))&&zn!=0&&ut.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const rn=(0,ct.cloneDeep)(vt);rn.forEach(($n,Ft)=>{$n.group_name&&($n.group_name=$n.group_name.filter(Ie=>{var Xe;return!((Xe=Qt[zn].group_name)!=null&&Xe.includes(Ie))}))}),Qt=Qt.filter(($n,Ft)=>zn!==Ft),Oe(rn),cn(Qt.slice()),setTimeout(()=>cn(Qt.slice()),10)}}))))}))),ut.createElement(pe.Z,null,ut.createElement(ye.Z,null,ut.createElement("div",{className:Wt.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ut.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"))),ut.createElement(ye.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ut.createElement(Re.default,{checked:tt.allow_late,disabled:et||xr,onChange:tn=>{var zn;if((0,Ge.Rm)()&&!((zn=Ut.AssistantObject.practice)!=null&&zn.can_late)){yt.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}tn.target.checked&&Se.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ut.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ut.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"),ut.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ut.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"))}),tt.allow_late=!tt.allow_late,vt==""&&Oe([{late_penalty:5}]),ln(Object.assign({},tt))}},ut.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(tt==null?void 0:tt.allow_late)&&ut.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ut.createElement("div",{style:{display:"flex"}},ut.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ut.createElement(Ae.ZP.Group,{style:{marginLeft:"20px"},disabled:et||(at==null?void 0:at.anonymous_comment)||(at==null?void 0:at.allow_late),value:tt.unified_late,onChange:tn=>{var zn;if((0,Ge.Rm)()&&!((zn=Ut.AssistantObject.practice)!=null&&zn.can_late)){yt.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}tt.unified_late=tn.target.value,vt==""&&!tn.target.value&&Oe([{penalty_type:pt.Q.Percent,late_penalty:20}]),ln(Nt({},tt))}},(tt==null?void 0:tt.unified_setting)&&ut.createElement(Ae.ZP,{value:!0,disabled:!(at!=null&&at.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((le=at==null?void 0:at.group_settings)==null?void 0:le.length)>0&&ut.createElement(Ae.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),tt!=null&&tt.unified_late?ut.createElement(ut.Fragment,null,ut.createElement(pe.Z,{align:"middle",style:{marginTop:"10px"}},ut.createElement(ye.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ut.createElement(ye.Z,{className:"ml20"},ut.createElement(pt.Z,{disabled:et||Br,value:{type:tt.penalty_type,inputValue:tt.late_penalty},onChange:tn=>{var zn;if((0,Ge.Rm)()&&!((zn=Ut.AssistantObject.practice)!=null&&zn.can_late)){yt.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}ln(wt(Nt({},tt),{late_penalty:tn.inputValue,penalty_type:tn.type}))}})),ut.createElement(ye.Z,{flex:"1",className:"ml5"},ut.createElement("span",{className:"c-grey-c ml10"},tt.penalty_type===pt.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)"))),ut.createElement(pe.Z,{align:"middle",style:{marginTop:"15px"}},ut.createElement(ye.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ut.createElement(ye.Z,{className:"ml20"},ut.createElement(be.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Le()((0,Ct.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:et||Br,value:tt.late_time?Le()(tt.late_time):"",disabledDate:tn=>ve(tn,at==null?void 0:at.course_end_date),onChange:(tn,zn)=>{var er;if((0,Ge.Rm)()&&!((er=Ut.AssistantObject.practice)!=null&&er.can_late)){yt.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}tt.late_time=zn,ln(Object.assign({},tt))}})))):vt.map(function(tn,zn){var er;return ut.createElement(ye.Z,{span:24,key:zn},ut.createElement(pe.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ut.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",zn+1),ut.createElement(Ce.default,{disabled:et||!((er=Lt==null?void 0:Lt.homework_status)!=null&&er.includes("\u672A\u53D1\u5E03"))&&tn.id||(at==null?void 0:at.anonymous_comment),mode:"multiple",className:Wt.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof tn.group_name=="string"?[tn.group_name]:tn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:zt=>{var bn;if((0,Ge.Rm)()&&!((bn=Ut.AssistantObject.practice)!=null&&bn.can_late)){yt.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}vt[zn].group_name=zt,vt[zn].group_id=tn.group_id,Oe(vt.slice())}},at.group_settings&&at.group_settings.map(function(zt){const bn=vt.map(Tt=>Tt.group_name).flat(),kn=Qt.map(Tt=>Tt.group_name).flat();if(tt!=null&&tt.unified_setting){if(!bn.includes(zt.group_name))return ut.createElement(Mt,{value:zt.group_name,key:zt.id},zt.group_name)}else if(kn.includes(zt.group_name)&&!bn.includes(zt.group_name))return ut.createElement(Mt,{value:zt.group_name,key:zt.id},zt.group_name)})),ut.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ut.createElement(pt.Z,{disabled:et||ti(tn.id),value:{type:tn.penalty_type,inputValue:tn.late_penalty},onChange:zt=>{var bn;if((0,Ge.Rm)()&&!((bn=Ut.AssistantObject.practice)!=null&&bn.can_late)){yt.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}vt[zn].late_penalty=zt.inputValue,vt[zn].penalty_type=zt.type,Oe([...vt])}}),ut.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ut.createElement(be.default,{size:"large",disabled:et||ti(tn.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Le()((0,Ct.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:zt=>ve(zt,at==null?void 0:at.course_end_date),format:"YYYY-MM-DD HH:mm",value:tn!=null&&tn.late_time?Le()(tn.late_time):void 0,onChange:(zt,bn)=>{var kn;if((0,Ge.Rm)()&&!((kn=Ut.AssistantObject.practice)!=null&&kn.can_late)){yt.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}vt[zn].late_time=bn,Oe([...vt])}}),!et&&ut.createElement("div",{style:{display:"flex",width:"50px"}},ut.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var zt;if((0,Ge.Rm)()&&!((zt=Ut.AssistantObject.practice)!=null&&zt.can_late)){yt.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}Oe(vt.concat({penalty_type:pt.Q.Percent,late_penalty:20}))}}),zn>0&&!tn.id&&ut.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var zt;if((0,Ge.Rm)()&&!((zt=Ut.AssistantObject.practice)!=null&&zt.can_late)){yt.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}vt=vt.filter((bn,kn)=>zn!==kn),Oe(vt.slice()),setTimeout(()=>Oe(vt.slice()),10)}}))))})),!et&&ut.createElement(ut.Fragment,null,ut.createElement(ht.ZP,{type:"primary",size:"large",loading:Cn,style:{width:"138px",marginTop:"30px"},onClick:()=>wr()},"\u4FDD\u5B58")),ut.createElement(he.Z,{onConfirm:(tn,zn)=>{Qt.splice(tn,0,...zn),Qt.splice(tn+zn.length,1);const er=(0,Ct.QE)([...Qt]);cn([...er])}}),ut.createElement(it.Z,{resdata:dn,type:"shixun",okloading:Cn,oktext:(dn==null?void 0:dn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:tn=>It(void 0,null,function*(){kt(!0);let zn=yield(0,nt.ZP)(`/api/courses/${Fe.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Fe.categoryId)]}});kt(!1),(zn==null?void 0:zn.status)===0&&kr(Xn)})}))};pn.ZP=(0,ft.connect)(({shixunHomeworks:st,classroomList:Ht,loading:yn,user:Ut})=>({shixunHomeworks:st,classroomList:Ht,loading:yn.effects,user:Ut}))(Ue)},83636:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return Re}});var ne=ie(59301),be=ie(92832),Ce=ie(24905),yt=ie(95237),Se={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",pe=ie(21692),ye=(ht,ke,Le)=>new Promise((Ge,nt)=>{var ct=Wt=>{try{Ct(Le.next(Wt))}catch(ft){nt(ft)}},Et=Wt=>{try{Ct(Le.throw(Wt))}catch(ft){nt(ft)}},Ct=Wt=>Wt.done?Ge(Wt.value):Promise.resolve(Wt.value).then(ct,Et);Ct((Le=Le.apply(ht,ke)).next())}),Re=({data:ht,value:ke=[],handleChangePage:Le,setSelectedRowKeys:Ge,selectedRowKeys:nt,onChange:ct=()=>{}})=>{const[Et,Ct]=(0,ne.useState)([]),[Wt,ft]=(0,ne.useState)([]),[pt,ze]=(0,ne.useState)([]);let[he,it]=(0,ne.useState)(1),[ot,ut]=(0,ne.useState)();return(0,ne.useEffect)(()=>{Ct(ht),ft([]),ze([])},[ht]),(0,ne.useEffect)(()=>{Ge&&(ft(nt),ze(nt))},[nt]),ne.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},ne.createElement("div",{className:Se.leftdiv},ne.createElement(be.default.Search,{size:"middle",onChange:Je=>ye(void 0,null,function*(){Ct(ht.filter(mt=>{var Te;return(Te=mt==null?void 0:mt.name)==null?void 0:Te.includes(Je.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Et.length===0&&ne.createElement(pe.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),ne.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},ne.createElement(Ce.default.Group,{value:Wt.map(Je=>`${Je.id}`),onChange:Je=>{Ge(Et.filter(mt=>Je.includes(`${mt.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},Et.map((Je,mt)=>ne.createElement(yt.Z,{key:Je.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},ne.createElement(Ce.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:Je.is_published,value:`${Je.id}`},ne.createElement("div",{className:Se.listClass},ne.createElement("span",{className:Se.spantitle,style:{width:Je.is_published?"108px":"170px"}},Je.name),Je.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:Se.rightdiv},ne.createElement(be.default.Search,{onChange:Je=>{ze(Wt.filter(mt=>mt.name.includes(Je.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),pt.length===0&&ne.createElement(pe.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),pt.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}},pt.map((Je,mt)=>ne.createElement(yt.Z,{justify:"space-between",style:{marginTop:"10px"},key:Je.id},ne.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},Je.name),ne.createElement("img",{src:Ae,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{Ge(Wt.filter(Te=>`${Te.id}`!=`${Je.id}`))}})))))))}},25920:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ct}});var ne=ie(59301),be=ie(90115),Ce=ie(5083),yt=ie(43418),Se=ie(92832),Ae=ie(95237),pe=ie(43604),ye={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},Ee=ie(66649),Re=ie.n(Ee),ht=ie(22566),ke=ie(21692),Le=ie(59301);const{RangePicker:Ge}=Ce.default,nt=({dispatch:Et,classroomList:Ct,onConfirm:Wt})=>{const[ft,pt]=(0,ne.useState)([]),[ze,he]=(0,ne.useState)([]),[it,ot]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var mt;if(Ct.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Te=Ct.actionTabs.data;console.log("data",Te);let xt=(mt=Te==null?void 0:Te.group_name)==null?void 0:mt.map((Ne,Rt)=>{var Dt;return{group_id:Te==null?void 0:Te.group_id[Rt],group_name:Te==null?void 0:Te.group_name[Rt],is_admin:Te==null?void 0:Te.is_admin,end_time:Te==null?void 0:Te.end_time,publish_time:Array.isArray(Te==null?void 0:Te.publish_time)?(Dt=Te==null?void 0:Te.publish_time)==null?void 0:Dt[0]:Te==null?void 0:Te.publish_time}});xt&&(pt([...xt]),he([...xt]))}},[Ct.actionTabs]);const ut=()=>{Et({type:"classroomList/setActionTabs",payload:{}}),ot("")},Je=mt=>{if(mt){const Te=ze==null?void 0:ze.filter(xt=>{var Ne,Rt;return(Rt=(Ne=xt==null?void 0:xt.group_name)==null?void 0:Ne.toLowerCase())==null?void 0:Rt.includes(mt==null?void 0:mt.toLowerCase())});pt(Te)}else pt(ze)};return Le.createElement(yt.default,{width:980,title:Le.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Le.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Le.createElement("span",{className:ye.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")),Le.createElement(Se.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:it,onChange:mt=>{ot(mt.target.value.trim()),Je(mt.target.value.trim())}})),centered:!0,maskClosable:!1,open:Ct.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>ut(),onOk:()=>{var mt;Wt((mt=Ct.actionTabs)==null?void 0:mt.index,ze),ut()}},Le.createElement("div",{className:ye.modal_con},Le.createElement(Ae.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ft==null?void 0:ft.length)>0?ft.map(function(mt,Te){var xt,Ne;return Le.createElement(pe.Z,{span:24,key:Te},Le.createElement(Ae.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Te==(ft==null?void 0:ft.length)-1?"0px":"10px"}},Le.createElement("div",{className:ye.multiple_select,title:mt.group_name},mt.group_name),Le.createElement("div",{className:"ml20"},Le.createElement(Ge,{size:"large",ranges:{\u6B64\u523B:[mt.publish_time?Re()(mt.publish_time):Re()(),Re()()]},allowClear:!1,disabled:(xt=Ct.actionTabs)==null?void 0:xt.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:Rt=>{var Dt;return(0,ht.Q8)(Rt,(Dt=Ct.actionTabs)==null?void 0:Dt.disabledDate)},disabledTime:Rt=>(0,ht.d0)(Rt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Re()((0,ht.U6)(),"HH:mm"),Re()((0,ht.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:mt.publish_time&&[Re()(mt.publish_time),mt.end_time?Re()(mt.end_time):void 0],onChange:(Rt,Dt)=>{ft[Te].publish_time=Dt[0],ft[Te].end_time=Dt[1],pt([...ft]),ze.forEach(Nt=>{Nt.group_id===mt.group_id&&(Nt.publish_time=Dt[0],Nt.end_time=Dt[1])}),he([...ze])}})),(Ne=Ct.actionTabs)!=null&&Ne.rangePickerDisabled?Le.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Le.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ft.splice(Te,1),pt([...ft]),ze.forEach((Rt,Dt)=>{Rt.group_id===mt.group_id&&ze.splice(Dt,1)}),he([...ze])}})))}):Le.createElement(ke.Z,null))))};var ct=(0,be.connect)(({classroomList:Et})=>({classroomList:Et}))(nt)},91723:function(Ln,pn,ie){"use strict";ie.d(pn,{rX:function(){return pt},pW:function(){return ze},gy:function(){return he},xY:function(){return ft},O5:function(){return Wt},tJ:function(){return Ge},o1:function(){return nt},Rd:function(){return Ct}});var ne=ie(90115),be=ie(43418),Ce=ie(28103),yt=ie(8591),Se=ie(16624),Ae=ie(22566),pe=ie(87169),ye=ie(25510),Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmNMBEIr9TxVCOO+Bt34JGIsSMfWlDgFH8hJeKH8UuKVCe8Naqn+Vq9MzMc/OcPHmn9yhjFoeeLwoEvmYb+yOnUPtdpfXertd1qbnXSTL2JoIziopUhPFlQdnJhWsgAKZGVR6EKQSwSZzgCptspoBEUP+Z5laMx5AYAgqBDgZ7AXYULIY8/cNmglucXZkeD7b/xYDoU6Kt4+woHfMkE+uNPnmuk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9/euOESzP+L+UwKfR5H3/jr2yvv7myu3z3eeoo7/54gu1wqy1uBhdHyeOBqPyJhhao059VywoKJZTN/RcYGxBTPNTUCW0Vyf0rGjR1g8WNa/ow/a7IkZbh02shKusyCzmKUdMTr0hN3srzVRWlpS7PS11HT8EVJdVe06nd5b2Jq4CSgddRwbCd5GUt3YIzukjEqYazBu7NvmdiTIbdbLBzSIezzHnFva310//r4zv1XfmF+8I+vP3/ey4FOAlfrvHKFvlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Re=ie.p+"static/newqrcode.a8740efb.png",ht=ie(32637),ke=ie(59301),Le=(it,ot,ut)=>new Promise((Je,mt)=>{var Te=Rt=>{try{Ne(ut.next(Rt))}catch(Dt){mt(Dt)}},xt=Rt=>{try{Ne(ut.throw(Rt))}catch(Dt){mt(Dt)}},Ne=Rt=>Rt.done?Je(Rt.value):Promise.resolve(Rt.value).then(Te,xt);Ne((ut=ut.apply(it,ot)).next())});const Ge=(it,ot=!1)=>!!(nt(it)&&ct(ot)),nt=it=>(0,Se.bg)()?!0:(it({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ct=(it=!1)=>{var ot;const{user:ut}=(0,ne.getDvaApp)()._store.getState();return(ot=ut.userInfo)!=null&&ot.profile_completed?!0:(be.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,Ae.xg)("/account/profile/edit"),Et()}}),!1)},Et=()=>{be.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()}})},Ct=()=>{be.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ke.createElement("div",{style:{textAlign:"center"}},ke.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"),ke.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ht}),ke.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 it;const{user:ot}=(0,ne.getDvaApp)()._store.getState();return(it=ot.userInfo)!=null&&it.professional_certification?!0:(be.default.confirm({title:"\u63D0\u793A",centered:!0,content:ke.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,Ae.xg)("/account/certification")}}),!1)},ft=()=>(0,Se.V9)()?!0:(be.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ke.createElement("div",{className:"tc",style:{marginLeft:-38}},ke.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ke.createElement("img",{src:Re,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),pt=(it,ot)=>it?!0:(be.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ke.createElement("div",null,ke.createElement("p",null,ot||"\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"),ke.createElement("div",{style:{marginLeft:"110px"}},ke.createElement("img",{src:Ee,width:200}),ke.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ae.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ze=it=>{be.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ke.createElement("div",null,ke.createElement("div",null,ke.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"),ke.createElement(Ce.Z,null),ke.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ke.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 ",ke.createElement("a",null,it),"\u5929\u3002"),ke.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ke.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")),ke.createElement("div",{style:{textAlign:"center",marginTop:30}},ke.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ye,alt:"\u4E8C\u7EF4\u7801",width:160})))})},he=(it,ot="")=>{const{shixunsDetail:{detail:ut}}=(0,ne.getDvaApp)()._store.getState();if((ut==null?void 0:ut.public)===2||(ut==null?void 0:ut.public)===1||(ut==null?void 0:ut.shixun_status)===3){let Je="";return(ut==null?void 0:ut.public)===2&&(Je="\u5DF2\u516C\u5F00"),(ut==null?void 0:ut.public)===1&&(Je="\u5F85\u5BA1\u6838"),(ut==null?void 0:ut.shixun_status)===3&&(Je="\u5DF2\u5173\u95ED"),be.default.info({centered:!0,icon:ke.createElement(pe.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ke.createElement("div",{className:"tc",style:{marginLeft:-38}},ke.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ke.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Je,"\uFF0C",ot,"\u3002"),ke.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ke.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ye,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(ut==null?void 0:ut.shixun_status)===2?(be.default.confirm({centered:!0,icon:ke.createElement(pe.Z,null),title:"\u63D0\u793A",content:ke.createElement("div",null,ke.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ot,"\u3002"),ke.createElement("br",null),ke.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:()=>{be.default.confirm({width:440,centered:!0,icon:ke.createElement(pe.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:()=>Le(void 0,null,function*(){(yield it({type:"shixunsDetail/cancelRelease",payload:{id:ut==null?void 0:ut.identifier}})).status!==401&&(yt.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),it({type:"shixunsDetail/getShixunsDetail",payload:{id:ut==null?void 0:ut.identifier}}),it({type:"practiceSetting/getCommonData",payload:{id:ut==null?void 0:ut.identifier}}))})})}}),!0):!1}},50371:function(Ln,pn){"use strict";function ie(){const ne=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let be=1;be<arguments.length;be++){const Ce=be<0||arguments.length<=be?void 0:arguments[be];Ce&&Object.keys(Ce).forEach(yt=>{const Se=Ce[yt];Se!==void 0&&(ne[yt]=Se)})}return ne}pn.Z=ie},13845:function(Ln,pn,ie){"use strict";ie.d(pn,{F:function(){return ne},Z:function(){return be}});function ne(Ce){return Ce!=null&&Ce===Ce.window}function be(Ce,yt){var Se,Ae;if(typeof window=="undefined")return 0;const pe=yt?"scrollTop":"scrollLeft";let ye=0;return ne(Ce)?ye=Ce[yt?"pageYOffset":"pageXOffset"]:Ce instanceof Document?ye=Ce.documentElement[pe]:(Ce instanceof HTMLElement||Ce)&&(ye=Ce[pe]),Ce&&!ne(Ce)&&typeof ye!="number"&&(ye=(Ae=((Se=Ce.ownerDocument)!==null&&Se!==void 0?Se:Ce).documentElement)===null||Ae===void 0?void 0:Ae[pe]),ye}},56762:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return be}});var ne=ie(59301);function be(){const[,Ce]=ne.useReducer(yt=>yt+1,0);return Ce}},68031:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return yt}});var ne=ie(16089);function be(Se,Ae,pe,ye){const Ee=pe-Ae;return Se/=ye/2,Se<1?Ee/2*Se*Se*Se+Ae:Ee/2*((Se-=2)*Se*Se+2)+Ae}var Ce=ie(13845);function yt(Se){let Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:pe=()=>window,callback:ye,duration:Ee=450}=Ae,Re=pe(),ht=(0,Ce.Z)(Re,!0),ke=Date.now(),Le=()=>{const nt=Date.now()-ke,ct=be(nt>Ee?Ee:nt,ht,Se,Ee);(0,Ce.F)(Re)?Re.scrollTo(window.pageXOffset,ct):Re instanceof Document||Re.constructor.name==="HTMLDocument"?Re.documentElement.scrollTop=ct:Re.scrollTop=ct,nt<Ee?(0,ne.Z)(Le):typeof ye=="function"&&ye()};(0,ne.Z)(Le)}},19080:function(Ln,pn,ie){"use strict";ie.d(pn,{F:function(){return Se},Z:function(){return yt}});var ne=ie(92310),be=ie.n(ne);const Ce=null;function yt(Ae,pe,ye){return be()({[`${Ae}-status-success`]:pe==="success",[`${Ae}-status-warning`]:pe==="warning",[`${Ae}-status-error`]:pe==="error",[`${Ae}-status-validating`]:pe==="validating",[`${Ae}-has-feedback`]:ye})}const Se=(Ae,pe)=>pe||Ae},19842:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return er}});var ne=ie(94480),be=ie(59301),Ce=ie(33853),yt=ie(58617),Se=ie(38819),Ae=ie(92310),pe=ie.n(Ae),ye=ie(54476),Ee=ie(42978),Re=ie(75931),ht=ie(77861),ke=ie(17115),Le=ie(90782),Ge=ie(6089),nt=ie(18929),ct=be.createContext(null),Et=ct,Ct=ie(76190),Wt=ie(20068),ft=ie(33885),pt="__rc_cascader_search_mark__",ze=function(bn,kn,Tt){var an=Tt.label;return kn.some(function(sn){return String(sn[an]).toLowerCase().includes(bn.toLowerCase())})},he=function(bn,kn,Tt,an){return kn.map(function(sn){return sn[an.label]}).join(" / ")},it=function(zt,bn,kn,Tt,an,sn){var rn=an.filter,$n=rn===void 0?ze:rn,Ft=an.render,Ie=Ft===void 0?he:Ft,Xe=an.limit,He=Xe===void 0?50:Xe,Ke=an.sort;return be.useMemo(function(){var Bt=[];if(!zt)return[];function dt(on,nn){var hn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;on.forEach(function(Pn){if(!(!Ke&&He!==!1&&He>0&&Bt.length>=He)){var Jn=[].concat((0,ne.Z)(nn),[Pn]),In=Pn[kn.children],Xt=hn||Pn.disabled;if((!In||In.length===0||sn)&&$n(zt,Jn,{label:kn.label})){var wn;Bt.push((0,ft.Z)((0,ft.Z)({},Pn),{},(wn={disabled:Xt},(0,Wt.Z)(wn,kn.label,Ie(zt,Jn,Tt,kn)),(0,Wt.Z)(wn,pt,Jn),(0,Wt.Z)(wn,kn.children,void 0),wn)))}In&&dt(Pn[kn.children],Jn,Xt)}})}return dt(bn,[]),Ke&&Bt.sort(function(on,nn){return Ke(on[pt],nn[pt],zt,kn)}),He!==!1&&He>0?Bt.slice(0,He):Bt},[zt,bn,kn,Tt,Ie,sn,$n,Ke,He])},ot="__RC_CASCADER_SPLIT__",ut="SHOW_PARENT",Je="SHOW_CHILD";function mt(zt){return zt.join(ot)}function Te(zt){return zt.map(mt)}function xt(zt){return zt.split(ot)}function Ne(zt){var bn=zt||{},kn=bn.label,Tt=bn.value,an=bn.children,sn=Tt||"value";return{label:kn||"label",value:sn,key:sn,children:an||"children"}}function Rt(zt,bn){var kn,Tt;return(kn=zt.isLeaf)!==null&&kn!==void 0?kn:!((Tt=zt[bn.children])!==null&&Tt!==void 0&&Tt.length)}function Dt(zt){var bn=zt.parentElement;if(bn){var kn=zt.offsetTop-bn.offsetTop;kn-bn.scrollTop<0?bn.scrollTo({top:kn}):kn+zt.offsetHeight-bn.scrollTop>bn.offsetHeight&&bn.scrollTo({top:kn+zt.offsetHeight-bn.offsetHeight})}}function Nt(zt,bn){return zt.map(function(kn){var Tt;return(Tt=kn[pt])===null||Tt===void 0?void 0:Tt.map(function(an){return an[bn.value]})})}function wt(zt,bn,kn){var Tt=new Set(zt),an=bn();return zt.filter(function(sn){var rn=an[sn],$n=rn?rn.parent:null,Ft=rn?rn.children:null;return rn&&rn.node.disabled?!0:kn===Je?!(Ft&&Ft.some(function(Ie){return Ie.key&&Tt.has(Ie.key)})):!($n&&!$n.node.disabled&&Tt.has($n.key))})}function It(zt,bn,kn){for(var Tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,an=bn,sn=[],rn=function(){var Ie,Xe,He,Ke=zt[$n],Bt=(Ie=an)===null||Ie===void 0?void 0:Ie.findIndex(function(on){var nn=on[kn.value];return Tt?String(nn)===String(Ke):nn===Ke}),dt=Bt!==-1?(Xe=an)===null||Xe===void 0?void 0:Xe[Bt]:null;sn.push({value:(He=dt==null?void 0:dt[kn.value])!==null&&He!==void 0?He:Ke,index:Bt,option:dt}),an=dt==null?void 0:dt[kn.children]},$n=0;$n<zt.length;$n+=1)rn();return sn}var We=function(zt,bn,kn,Tt,an){return be.useMemo(function(){var sn=an||function(rn){var $n=Tt?rn.slice(-1):rn,Ft=" / ";return $n.every(function(Ie){return["string","number"].includes((0,Ct.Z)(Ie))})?$n.join(Ft):$n.reduce(function(Ie,Xe,He){var Ke=be.isValidElement(Xe)?be.cloneElement(Xe,{key:He}):Xe;return He===0?[Ke]:[].concat((0,ne.Z)(Ie),[Ft,Ke])},[])};return zt.map(function(rn){var $n,Ft,Ie=It(rn,bn,kn),Xe=sn(Ie.map(function(Ke){var Bt,dt=Ke.option,on=Ke.value;return(Bt=dt==null?void 0:dt[kn.label])!==null&&Bt!==void 0?Bt:on}),Ie.map(function(Ke){var Bt=Ke.option;return Bt})),He=mt(rn);return{label:Xe,value:He,key:He,valueCells:rn,disabled:($n=Ie[Ie.length-1])===null||$n===void 0||(Ft=$n.option)===null||Ft===void 0?void 0:Ft.disabled}})},[zt,bn,kn,an,Tt])},ve=ie(71430),Qe=function(zt,bn){var kn=be.useRef({options:null,info:null}),Tt=be.useCallback(function(){return kn.current.options!==zt&&(kn.current.options=zt,kn.current.info=(0,ve.I8)(zt,{fieldNames:bn,initWrapper:function(sn){return(0,ft.Z)((0,ft.Z)({},sn),{},{pathKeyEntities:{}})},processEntity:function(sn,rn){var $n=sn.nodes.map(function(Ft){return Ft[bn.value]}).join(ot);rn.pathKeyEntities[$n]=sn,sn.key=$n}})),kn.current.info.pathKeyEntities},[bn,zt]);return Tt},Vt=function(zt,bn){return be.useCallback(function(kn){var Tt=[],an=[];return kn.forEach(function(sn){var rn=It(sn,zt,bn);rn.every(function($n){return $n.option})?an.push(sn):Tt.push(sn)}),[an,Tt]},[zt,bn])},Mt=ie(48736);function Ue(zt){return be.useMemo(function(){if(!zt)return[!1,{}];var bn={matchInputWidth:!0,limit:50};return zt&&(0,Ct.Z)(zt)==="object"&&(bn=(0,ft.Z)((0,ft.Z)({},bn),zt)),bn.limit<=0&&delete bn.limit,[!0,bn]},[zt])}var st=be.memo(function(zt){var bn=zt.children;return bn},function(zt,bn){return!bn.open}),Ht=st;function yn(zt){var bn,kn=zt.prefixCls,Tt=zt.checked,an=zt.halfChecked,sn=zt.disabled,rn=zt.onClick,$n=zt.disableCheckbox,Ft=be.useContext(Et),Ie=Ft.checkable,Xe=typeof Ie!="boolean"?Ie:null;return be.createElement("span",{className:pe()("".concat(kn),(bn={},(0,Wt.Z)(bn,"".concat(kn,"-checked"),Tt),(0,Wt.Z)(bn,"".concat(kn,"-indeterminate"),!Tt&&an),(0,Wt.Z)(bn,"".concat(kn,"-disabled"),sn||$n),bn)),onClick:rn},Xe)}var Ut="__cascader_fix_label__";function Sn(zt){var bn=zt.prefixCls,kn=zt.multiple,Tt=zt.options,an=zt.activeValue,sn=zt.prevValuePath,rn=zt.onToggleOpen,$n=zt.onSelect,Ft=zt.onActive,Ie=zt.checkedSet,Xe=zt.halfCheckedSet,He=zt.loadingKeys,Ke=zt.isSelectable,Bt=zt.searchValue,dt="".concat(bn,"-menu"),on="".concat(bn,"-menu-item"),nn=be.useContext(Et),hn=nn.fieldNames,Pn=nn.changeOnSelect,Jn=nn.expandTrigger,In=nn.expandIcon,Xt=nn.loadingIcon,wn=nn.dropdownMenuColumnStyle,pr=Jn==="hover",lr=be.useMemo(function(){return Tt.map(function(ar){var dr,Ir=ar.disabled,tr=ar.disableCheckbox,Yr=ar[pt],_t=(dr=ar[Ut])!==null&&dr!==void 0?dr:ar[hn.label],xn=ar[hn.value],Dn=Rt(ar,hn),Un=Yr?Yr.map(function(Cr){return Cr[hn.value]}):[].concat((0,ne.Z)(sn),[xn]),Bn=mt(Un),Vn=He.includes(Bn),Nn=Ie.has(Bn),ir=Xe.has(Bn);return{disabled:Ir,label:_t,value:xn,isLeaf:Dn,isLoading:Vn,checked:Nn,halfChecked:ir,option:ar,disableCheckbox:tr,fullPath:Un,fullPathKey:Bn}})},[Tt,Ie,hn,Xe,He,sn]);return be.createElement("ul",{className:dt,role:"menu"},lr.map(function(ar){var dr,Ir=ar.disabled,tr=ar.label,Yr=ar.value,_t=ar.isLeaf,xn=ar.isLoading,Dn=ar.checked,Un=ar.halfChecked,Bn=ar.option,Vn=ar.fullPath,Nn=ar.fullPathKey,ir=ar.disableCheckbox,Cr=function(){if(!(Ir||Bt)){var mi=(0,ne.Z)(Vn);pr&&_t&&mi.pop(),Ft(mi)}},Nr=function(){Ke(Bn)&&$n(Vn,_t)},ai;return typeof Bn.title=="string"?ai=Bn.title:typeof tr=="string"&&(ai=tr),be.createElement("li",{key:Nn,className:pe()(on,(dr={},(0,Wt.Z)(dr,"".concat(on,"-expand"),!_t),(0,Wt.Z)(dr,"".concat(on,"-active"),an===Yr||an===Nn),(0,Wt.Z)(dr,"".concat(on,"-disabled"),Ir),(0,Wt.Z)(dr,"".concat(on,"-loading"),xn),dr)),style:wn,role:"menuitemcheckbox",title:ai,"aria-checked":Dn,"data-path-key":Nn,onClick:function(){Cr(),!ir&&(!kn||_t)&&Nr()},onDoubleClick:function(){Pn&&rn(!1)},onMouseEnter:function(){pr&&Cr()},onMouseDown:function(mi){mi.preventDefault()}},kn&&be.createElement(yn,{prefixCls:"".concat(bn,"-checkbox"),checked:Dn,halfChecked:Un,disabled:Ir||ir,disableCheckbox:ir,onClick:function(mi){ir||(mi.stopPropagation(),Nr())}}),be.createElement("div",{className:"".concat(on,"-content")},tr),!xn&&In&&!_t&&be.createElement("div",{className:"".concat(on,"-expand-icon")},In),xn&&Xt&&be.createElement("div",{className:"".concat(on,"-loading-icon")},Xt))}))}var jt=function(){var zt=(0,ht.lk)(),bn=zt.multiple,kn=zt.open,Tt=be.useContext(Et),an=Tt.values,sn=be.useState([]),rn=(0,Ee.Z)(sn,2),$n=rn[0],Ft=rn[1];return be.useEffect(function(){if(kn&&!bn){var Ie=an[0];Ft(Ie||[])}},[kn]),[$n,Ft]},Jt=ie(10228),Ot=function(zt,bn,kn,Tt,an,sn){var rn=(0,ht.lk)(),$n=rn.direction,Ft=rn.searchValue,Ie=rn.toggleOpen,Xe=rn.open,He=$n==="rtl",Ke=be.useMemo(function(){for(var wn=-1,pr=bn,lr=[],ar=[],dr=Tt.length,Ir=Nt(bn,kn),tr=function(Bn){var Vn=pr.findIndex(function(Nn,ir){return(Ir[ir]?mt(Ir[ir]):Nn[kn.value])===Tt[Bn]});if(Vn===-1)return"break";wn=Vn,lr.push(wn),ar.push(Tt[Bn]),pr=pr[wn][kn.children]},Yr=0;Yr<dr&≺Yr+=1){var _t=tr(Yr);if(_t==="break")break}for(var xn=bn,Dn=0;Dn<lr.length-1;Dn+=1)xn=xn[lr[Dn]][kn.children];return[ar,wn,xn,Ir]},[Tt,kn,bn]),Bt=(0,Ee.Z)(Ke,4),dt=Bt[0],on=Bt[1],nn=Bt[2],hn=Bt[3],Pn=function(pr){an(pr)},Jn=function(pr){var lr=nn.length,ar=on;ar===-1&&pr<0&&(ar=lr);for(var dr=0;dr<lr;dr+=1){ar=(ar+pr+lr)%lr;var Ir=nn[ar];if(Ir&&!Ir.disabled){var tr=dt.slice(0,-1).concat(hn[ar]?mt(hn[ar]):Ir[kn.value]);Pn(tr);return}}},In=function(){if(dt.length>1){var pr=dt.slice(0,-1);Pn(pr)}else Ie(!1)},Xt=function(){var pr,lr=((pr=nn[on])===null||pr===void 0?void 0:pr[kn.children])||[],ar=lr.find(function(Ir){return!Ir.disabled});if(ar){var dr=[].concat((0,ne.Z)(dt),[ar[kn.value]]);Pn(dr)}};be.useImperativeHandle(zt,function(){return{onKeyDown:function(pr){var lr=pr.which;switch(lr){case Jt.Z.UP:case Jt.Z.DOWN:{var ar=0;lr===Jt.Z.UP?ar=-1:lr===Jt.Z.DOWN&&(ar=1),ar!==0&&Jn(ar);break}case Jt.Z.LEFT:{if(Ft)break;He?Xt():In();break}case Jt.Z.RIGHT:{if(Ft)break;He?In():Xt();break}case Jt.Z.BACKSPACE:{Ft||In();break}case Jt.Z.ENTER:{if(dt.length){var dr=nn[on],Ir=(dr==null?void 0:dr[pt])||[];Ir.length?sn(Ir.map(function(tr){return tr[kn.value]}),Ir[Ir.length-1]):sn(dt,nn[on])}break}case Jt.Z.ESC:Ie(!1),Xe&&pr.stopPropagation()}},onKeyUp:function(){}}})},xe=be.forwardRef(function(zt,bn){var kn,Tt,an,sn,rn=(0,ht.lk)(),$n=rn.prefixCls,Ft=rn.multiple,Ie=rn.searchValue,Xe=rn.toggleOpen,He=rn.notFoundContent,Ke=rn.direction,Bt=rn.open,dt=be.useRef(),on=Ke==="rtl",nn=be.useContext(Et),hn=nn.options,Pn=nn.values,Jn=nn.halfValues,In=nn.fieldNames,Xt=nn.changeOnSelect,wn=nn.onSelect,pr=nn.searchOptions,lr=nn.dropdownPrefixCls,ar=nn.loadData,dr=nn.expandTrigger,Ir=lr||$n,tr=be.useState([]),Yr=(0,Ee.Z)(tr,2),_t=Yr[0],xn=Yr[1],Dn=function(_r){if(!(!ar||Ie)){var ki=It(_r,hn,In),Ki=ki.map(function(or){var ui=or.option;return ui}),hi=Ki[Ki.length-1];if(hi&&!Rt(hi,In)){var Dr=mt(_r);xn(function(or){return[].concat((0,ne.Z)(or),[Dr])}),ar(Ki)}}};be.useEffect(function(){_t.length&&_t.forEach(function(ei){var _r=xt(ei),ki=It(_r,hn,In,!0).map(function(hi){var Dr=hi.option;return Dr}),Ki=ki[ki.length-1];(!Ki||Ki[In.children]||Rt(Ki,In))&&xn(function(hi){return hi.filter(function(Dr){return Dr!==ei})})})},[hn,_t,In]);var Un=be.useMemo(function(){return new Set(Te(Pn))},[Pn]),Bn=be.useMemo(function(){return new Set(Te(Jn))},[Jn]),Vn=jt(),Nn=(0,Ee.Z)(Vn,2),ir=Nn[0],Cr=Nn[1],Nr=function(_r){Cr(_r),Dn(_r)},ai=function(_r){var ki=_r.disabled,Ki=Rt(_r,In);return!ki&&(Ki||Xt||Ft)},si=function(_r,ki){var Ki=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;wn(_r),!Ft&&(ki||Xt&&(dr==="hover"||Ki))&&Xe(!1)},mi=be.useMemo(function(){return Ie?pr:hn},[Ie,pr,hn]),br=be.useMemo(function(){for(var ei=[{options:mi}],_r=mi,ki=Nt(_r,In),Ki=function(){var ui=ir[hi],gi=_r.find(function(rt,gt){return(ki[gt]?mt(ki[gt]):rt[In.value])===ui}),Pi=gi==null?void 0:gi[In.children];if(!(Pi!=null&&Pi.length))return"break";_r=Pi,ei.push({options:Pi})},hi=0;hi<ir.length;hi+=1){var Dr=Ki();if(Dr==="break")break}return ei},[mi,ir,In]),Hr=function(_r,ki){ai(ki)&&si(_r,Rt(ki,In),!0)};Ot(bn,mi,In,ir,Nr,Hr),be.useEffect(function(){for(var ei=0;ei<ir.length;ei+=1){var _r,ki=ir.slice(0,ei+1),Ki=mt(ki),hi=(_r=dt.current)===null||_r===void 0?void 0:_r.querySelector('li[data-path-key="'.concat(Ki.replace(/\\{0,2}"/g,'\\"'),'"]'));hi&&Dt(hi)}},[ir]);var Lr=!((kn=br[0])!==null&&kn!==void 0&&(Tt=kn.options)!==null&&Tt!==void 0&&Tt.length),ni=[(an={},(0,Wt.Z)(an,In.value,"__EMPTY__"),(0,Wt.Z)(an,Ut,He),(0,Wt.Z)(an,"disabled",!0),an)],$r=(0,ft.Z)((0,ft.Z)({},zt),{},{multiple:!Lr&&Ft,onSelect:si,onActive:Nr,onToggleOpen:Xe,checkedSet:Un,halfCheckedSet:Bn,loadingKeys:_t,isSelectable:ai}),Fr=Lr?[{options:ni}]:br,Vr=Fr.map(function(ei,_r){var ki=ir.slice(0,_r),Ki=ir[_r];return be.createElement(Sn,(0,ye.Z)({key:_r},$r,{searchValue:Ie,prefixCls:Ir,options:ei.options,prevValuePath:ki,activeValue:Ki}))});return be.createElement(Ht,{open:Bt},be.createElement("div",{className:pe()("".concat(Ir,"-menus"),(sn={},(0,Wt.Z)(sn,"".concat(Ir,"-menu-empty"),Lr),(0,Wt.Z)(sn,"".concat(Ir,"-rtl"),on),sn)),ref:dt},Vr))}),ce=xe;function ue(zt){var bn=zt.onPopupVisibleChange,kn=zt.popupVisible,Tt=zt.popupClassName,an=zt.popupPlacement;warning(!bn,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(kn===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Tt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(an===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function de(zt,bn){if(zt){var kn=function Tt(an){for(var sn=0;sn<an.length;sn++){var rn=an[sn];if(rn[bn==null?void 0:bn.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(rn[bn==null?void 0:bn.children])&&Tt(rn[bn==null?void 0:bn.children]))return!0}};kn(zt)}}var fe=null,le=["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 Fe(zt){return Array.isArray(zt)&&Array.isArray(zt[0])}function at(zt){return zt?Fe(zt)?zt:(zt.length===0?[]:[zt]).map(function(bn){return Array.isArray(bn)?bn:[bn]}):[]}var Ze=be.forwardRef(function(zt,bn){var kn=zt.id,Tt=zt.prefixCls,an=Tt===void 0?"rc-cascader":Tt,sn=zt.fieldNames,rn=zt.defaultValue,$n=zt.value,Ft=zt.changeOnSelect,Ie=zt.onChange,Xe=zt.displayRender,He=zt.checkable,Ke=zt.autoClearSearchValue,Bt=Ke===void 0?!0:Ke,dt=zt.searchValue,on=zt.onSearch,nn=zt.showSearch,hn=zt.expandTrigger,Pn=zt.options,Jn=zt.dropdownPrefixCls,In=zt.loadData,Xt=zt.popupVisible,wn=zt.open,pr=zt.popupClassName,lr=zt.dropdownClassName,ar=zt.dropdownMenuColumnStyle,dr=zt.popupPlacement,Ir=zt.placement,tr=zt.onDropdownVisibleChange,Yr=zt.onPopupVisibleChange,_t=zt.expandIcon,xn=_t===void 0?">":_t,Dn=zt.loadingIcon,Un=zt.children,Bn=zt.dropdownMatchSelectWidth,Vn=Bn===void 0?!1:Bn,Nn=zt.showCheckedStrategy,ir=Nn===void 0?ut:Nn,Cr=(0,Re.Z)(zt,le),Nr=(0,ke.ZP)(kn),ai=!!He,si=(0,nt.Z)(rn,{value:$n,postState:at}),mi=(0,Ee.Z)(si,2),br=mi[0],Hr=mi[1],Lr=be.useMemo(function(){return Ne(sn)},[JSON.stringify(sn)]),ni=be.useMemo(function(){return Pn||[]},[Pn]),$r=Qe(ni,Lr),Fr=be.useCallback(function(Tr){var Zr=$r();return Tr.map(function(wi){var ua=Zr[wi].nodes;return ua.map(function(la){return la[Lr.value]})})},[$r,Lr]),Vr=(0,nt.Z)("",{value:dt,postState:function(Zr){return Zr||""}}),ei=(0,Ee.Z)(Vr,2),_r=ei[0],ki=ei[1],Ki=function(Zr,wi){ki(Zr),wi.source!=="blur"&&on&&on(Zr)},hi=Ue(nn),Dr=(0,Ee.Z)(hi,2),or=Dr[0],ui=Dr[1],gi=it(_r,ni,Lr,Jn||an,ui,Ft),Pi=Vt(ni,Lr),rt=be.useMemo(function(){var Tr=Pi(br),Zr=(0,Ee.Z)(Tr,2),wi=Zr[0],ua=Zr[1];if(!ai||!br.length)return[wi,[],ua];var la=Te(wi),va=$r(),$i=(0,Le.S)(la,!0,va),ga=$i.checkedKeys,Wa=$i.halfCheckedKeys;return[Fr(ga),Fr(Wa),ua]},[ai,br,$r,Fr,Pi]),gt=(0,Ee.Z)(rt,3),Yt=gt[0],gn=gt[1],Yn=gt[2],Pt=be.useMemo(function(){var Tr=Te(Yt),Zr=wt(Tr,$r,ir);return[].concat((0,ne.Z)(Yn),(0,ne.Z)(Fr(Zr)))},[Yt,$r,Fr,Yn,ir]),fn=We(Pt,ni,Lr,ai,Xe),Wn=(0,Ge.Z)(function(Tr){if(Hr(Tr),Ie){var Zr=at(Tr),wi=Zr.map(function(va){return It(va,ni,Lr).map(function($i){return $i.option})}),ua=ai?Zr:Zr[0],la=ai?wi:wi[0];Ie(ua,la)}}),Qn=(0,Ge.Z)(function(Tr){if((!ai||Bt)&&ki(""),!ai)Wn(Tr);else{var Zr=mt(Tr),wi=Te(Yt),ua=Te(gn),la=wi.includes(Zr),va=Yn.some(function(ja){return mt(ja)===Zr}),$i=Yt,ga=Yn;if(va&&!la)ga=Yn.filter(function(ja){return mt(ja)!==Zr});else{var Wa=la?wi.filter(function(ja){return ja!==Zr}):[].concat((0,ne.Z)(wi),[Zr]),Xa=$r(),oo;if(la){var yo=(0,Le.S)(Wa,{checked:!1,halfCheckedKeys:ua},Xa);oo=yo.checkedKeys}else{var so=(0,Le.S)(Wa,!0,Xa);oo=so.checkedKeys}var sl=wt(oo,$r,ir);$i=Fr(sl)}Wn([].concat((0,ne.Z)(ga),(0,ne.Z)($i)))}}),Mr=function(Zr,wi){if(wi.type==="clear"){Wn([]);return}var ua=wi.values[0],la=ua.valueCells;Qn(la)},Ci=wn!==void 0?wn:Xt,ri=lr||pr,ii=Ir||dr,Ii=function(Zr){tr==null||tr(Zr),Yr==null||Yr(Zr)},da=be.useMemo(function(){return{options:ni,fieldNames:Lr,values:Yt,halfValues:gn,changeOnSelect:Ft,onSelect:Qn,checkable:He,searchOptions:gi,dropdownPrefixCls:Jn,loadData:In,expandTrigger:hn,expandIcon:xn,loadingIcon:Dn,dropdownMenuColumnStyle:ar}},[ni,Lr,Yt,gn,Ft,Qn,He,gi,Jn,In,hn,xn,Dn,ar]),yr=!(_r?gi:ni).length,Kr=_r&&ui.matchInputWidth||yr?{}:{minWidth:"auto"};return be.createElement(Et.Provider,{value:da},be.createElement(ht.Ac,(0,ye.Z)({},Cr,{ref:bn,id:Nr,prefixCls:an,autoClearSearchValue:Bt,dropdownMatchSelectWidth:Vn,dropdownStyle:Kr,displayValues:fn,onDisplayValuesChange:Mr,mode:ai?"multiple":void 0,searchValue:_r,onSearch:Ki,showSearch:or,OptionList:ce,emptyOptions:yr,open:Ci,dropdownClassName:ri,placement:ii,onDropdownVisibleChange:Ii,getRawInputElement:function(){return Un}})))});Ze.SHOW_PARENT=ut,Ze.SHOW_CHILD=Je;var Me=Ze,Lt=Me,bt=ie(2738),et=ie(62892),Zt=ie(53487),Cn=ie(19080),kt=ie(36355),Qt=ie(93891),cn=ie(1684),vt=ie(19716),Oe=ie(32441),tt=ie(14154),ln=ie(58582),dn=ie(84443),An=ie(66339),Xn=ie(33234),Gt=ie(98447),nr=ie(17313),wr=ie(74207),kr=ie(83116);const rr=zt=>{const{prefixCls:bn,componentCls:kn,antCls:Tt}=zt,an=`${kn}-menu-item`,sn=`
|
|
|
&${an}-expand ${an}-expand-icon,
|
|
|
${an}-loading-icon
|
|
|
`;return[{[kn]:{width:zt.controlWidth}},{[`${kn}-dropdown`]:[(0,Gt.C2)(`${bn}-checkbox`,zt),{[`&${Tt}-select-dropdown`]:{padding:0}},{[kn]:{"&-checkbox":{top:0,marginInlineEnd:zt.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${kn}-menu-empty`]:{[`${kn}-menu`]:{width:"100%",height:"auto",[an]:{color:zt.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:zt.controlItemWidth,height:zt.dropdownHeight,margin:0,padding:zt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${zt.lineWidth}px ${zt.lineType} ${zt.colorSplit}`},"&-item":Object.assign(Object.assign({},nr.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:zt.optionPadding,lineHeight:zt.lineHeight,cursor:"pointer",transition:`all ${zt.motionDurationMid}`,borderRadius:zt.borderRadiusSM,"&:hover":{background:zt.controlItemBgHover},"&-disabled":{color:zt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[sn]:{color:zt.colorTextDisabled}},[`&-active:not(${an}-disabled)`]:{"&, &:hover":{fontWeight:zt.optionSelectedFontWeight,backgroundColor:zt.optionSelectedBg}},"&-content":{flex:"auto"},[sn]:{marginInlineStart:zt.paddingXXS,color:zt.colorTextDescription,fontSize:zt.fontSizeIcon},"&-keyword":{color:zt.colorHighlight}})}}}]},{[`${kn}-dropdown-rtl`]:{direction:"rtl"}},(0,wr.c)(zt)]};var Ar=(0,kr.Z)("Cascader",zt=>[rr(zt)],zt=>{const bn=Math.round((zt.controlHeight-zt.fontSize*zt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:zt.controlItemBgActive,optionSelectedFontWeight:zt.fontWeightStrong,optionPadding:`${bn}px ${zt.paddingSM}px`,menuPadding:zt.paddingXXS}}),li=function(zt,bn){var kn={};for(var Tt in zt)Object.prototype.hasOwnProperty.call(zt,Tt)&&bn.indexOf(Tt)<0&&(kn[Tt]=zt[Tt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var an=0,Tt=Object.getOwnPropertySymbols(zt);an<Tt.length;an++)bn.indexOf(Tt[an])<0&&Object.prototype.propertyIsEnumerable.call(zt,Tt[an])&&(kn[Tt[an]]=zt[Tt[an]]);return kn};const{SHOW_CHILD:xr,SHOW_PARENT:Br}=Lt;function ti(zt,bn,kn){const Tt=zt.toLowerCase().split(bn).reduce((rn,$n,Ft)=>Ft===0?[$n]:[].concat((0,ne.Z)(rn),[bn,$n]),[]),an=[];let sn=0;return Tt.forEach((rn,$n)=>{const Ft=sn+rn.length;let Ie=zt.slice(sn,Ft);sn=Ft,$n%2===1&&(Ie=be.createElement("span",{className:`${kn}-menu-item-keyword`,key:`separator-${$n}`},Ie)),an.push(Ie)}),an}const Rn=(zt,bn,kn,Tt)=>{const an=[],sn=zt.toLowerCase();return bn.forEach((rn,$n)=>{$n!==0&&an.push(" / ");let Ft=rn[Tt.label];const Ie=typeof Ft;(Ie==="string"||Ie==="number")&&(Ft=ti(String(Ft),sn,kn)),an.push(Ft)}),an},tn=be.forwardRef((zt,bn)=>{const{prefixCls:kn,size:Tt,disabled:an,className:sn,rootClassName:rn,multiple:$n,bordered:Ft=!0,transitionName:Ie,choiceTransitionName:Xe="",popupClassName:He,dropdownClassName:Ke,expandIcon:Bt,placement:dt,showSearch:on,allowClear:nn=!0,notFoundContent:hn,direction:Pn,getPopupContainer:Jn,status:In,showArrow:Xt,builtinPlacements:wn,style:pr}=zt,lr=li(zt,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),ar=(0,bt.Z)(lr,["suffixIcon"]),{getPopupContainer:dr,getPrefixCls:Ir,renderEmpty:tr,direction:Yr,popupOverflow:_t,cascader:xn}=be.useContext(kt.E_),Dn=Pn||Yr,Un=Dn==="rtl",{status:Bn,hasFeedback:Vn,isFormItemInput:Nn,feedbackIcon:ir}=be.useContext(Oe.aM),Cr=(0,Cn.F)(Bn,In),Nr=hn||(tr==null?void 0:tr("Cascader"))||be.createElement(Qt.Z,{componentName:"Cascader"}),ai=Ir(),si=Ir("select",kn),mi=Ir("cascader",kn),[br,Hr]=(0,tt.Z)(si),[Lr]=Ar(mi),{compactSize:ni,compactItemClassnames:$r}=(0,Xn.ri)(si,Pn),Fr=pe()(He||Ke,`${mi}-dropdown`,{[`${mi}-dropdown-rtl`]:Dn==="rtl"},rn,Hr),Vr=be.useMemo(()=>{if(!on)return on;let Yn={render:Rn};return typeof on=="object"&&(Yn=Object.assign(Object.assign({},Yn),on)),Yn},[on]),ei=(0,vt.Z)(Yn=>{var Pt;return(Pt=Tt!=null?Tt:ni)!==null&&Pt!==void 0?Pt:Yn}),_r=be.useContext(cn.Z),ki=an!=null?an:_r;let Ki=Bt;Bt||(Ki=Un?be.createElement(Ce.Z,null):be.createElement(Se.Z,null));const hi=be.createElement("span",{className:`${si}-menu-item-loading-icon`},be.createElement(yt.Z,{spin:!0})),Dr=be.useMemo(()=>$n?be.createElement("span",{className:`${mi}-checkbox-inner`}):!1,[$n]),or=(0,dn.Z)(zt.suffixIcon,Xt),{suffixIcon:ui,removeIcon:gi,clearIcon:Pi}=(0,An.Z)(Object.assign(Object.assign({},zt),{hasFeedback:Vn,feedbackIcon:ir,showSuffixIcon:or,multiple:$n,prefixCls:si,componentName:"Cascader"})),rt=be.useMemo(()=>dt!==void 0?dt:Un?"bottomRight":"bottomLeft",[dt,Un]),gt=(0,ln.Z)(wn,_t),Yt=nn===!0?{clearIcon:Pi}:nn,gn=be.createElement(Lt,Object.assign({prefixCls:si,className:pe()(!kn&&mi,{[`${si}-lg`]:ei==="large",[`${si}-sm`]:ei==="small",[`${si}-rtl`]:Un,[`${si}-borderless`]:!Ft,[`${si}-in-form-item`]:Nn},(0,Cn.Z)(si,Cr,Vn),$r,xn==null?void 0:xn.className,sn,rn,Hr),disabled:ki,style:Object.assign(Object.assign({},xn==null?void 0:xn.style),pr)},ar,{builtinPlacements:gt,direction:Dn,placement:rt,notFoundContent:Nr,allowClear:Yt,showSearch:Vr,expandIcon:Ki,suffixIcon:ui,removeIcon:gi,loadingIcon:hi,checkable:Dr,dropdownClassName:Fr,dropdownPrefixCls:kn||mi,choiceTransitionName:(0,et.m)(ai,"",Xe),transitionName:(0,et.m)(ai,"slide-up",Ie),getPopupContainer:Jn||dr,ref:bn}));return Lr(br(gn))}),zn=(0,Zt.Z)(tn);tn.SHOW_PARENT=Br,tn.SHOW_CHILD=xr,tn._InternalPanelDoNotUseOrYouWillBeFired=zn;var er=tn},24905:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return it}});var ne=ie(92310),be=ie.n(ne),Ce=ie(5630),yt=ie(59301),Se=ie(36355),Ae=ie(1684),pe=ie(32441),Ee=yt.createContext(null),Re=ie(98447),ht=ie(14088),ke=ie(4572),Le=function(ot,ut){var Je={};for(var mt in ot)Object.prototype.hasOwnProperty.call(ot,mt)&&ut.indexOf(mt)<0&&(Je[mt]=ot[mt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,mt=Object.getOwnPropertySymbols(ot);Te<mt.length;Te++)ut.indexOf(mt[Te])<0&&Object.prototype.propertyIsEnumerable.call(ot,mt[Te])&&(Je[mt[Te]]=ot[mt[Te]]);return Je};const Ge=(ot,ut)=>{var Je;const{prefixCls:mt,className:Te,rootClassName:xt,children:Ne,indeterminate:Rt=!1,style:Dt,onMouseEnter:Nt,onMouseLeave:wt,skipGroup:It=!1,disabled:We}=ot,ve=Le(ot,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Qe,direction:Vt,checkbox:Mt}=yt.useContext(Se.E_),Ue=yt.useContext(Ee),{isFormItemInput:st}=yt.useContext(pe.aM),Ht=yt.useContext(Ae.Z),yn=(Je=(Ue==null?void 0:Ue.disabled)||We)!==null&&Je!==void 0?Je:Ht,Ut=yt.useRef(ve.value);yt.useEffect(()=>{Ue==null||Ue.registerValue(ve.value)},[]),yt.useEffect(()=>{if(!It)return ve.value!==Ut.current&&(Ue==null||Ue.cancelValue(Ut.current),Ue==null||Ue.registerValue(ve.value),Ut.current=ve.value),()=>Ue==null?void 0:Ue.cancelValue(ve.value)},[ve.value]);const Sn=Qe("checkbox",mt),[jt,Jt]=(0,Re.ZP)(Sn),Ot=Object.assign({},ve);Ue&&!It&&(Ot.onChange=function(){ve.onChange&&ve.onChange.apply(ve,arguments),Ue.toggleOption&&Ue.toggleOption({label:Ne,value:ve.value})},Ot.name=Ue.name,Ot.checked=Ue.value.includes(ve.value));const xe=be()(`${Sn}-wrapper`,{[`${Sn}-rtl`]:Vt==="rtl",[`${Sn}-wrapper-checked`]:Ot.checked,[`${Sn}-wrapper-disabled`]:yn,[`${Sn}-wrapper-in-form-item`]:st},Mt==null?void 0:Mt.className,Te,xt,Jt),ce=be()({[`${Sn}-indeterminate`]:Rt},ke.A,Jt),ue=Rt?"mixed":void 0;return jt(yt.createElement(ht.Z,{component:"Checkbox",disabled:yn},yt.createElement("label",{className:xe,style:Object.assign(Object.assign({},Mt==null?void 0:Mt.style),Dt),onMouseEnter:Nt,onMouseLeave:wt},yt.createElement(Ce.Z,Object.assign({"aria-checked":ue},Ot,{prefixCls:Sn,className:ce,disabled:yn,ref:ut})),Ne!==void 0&&yt.createElement("span",null,Ne))))};var ct=yt.forwardRef(Ge),Et=ie(94480),Ct=ie(2738),Wt=function(ot,ut){var Je={};for(var mt in ot)Object.prototype.hasOwnProperty.call(ot,mt)&&ut.indexOf(mt)<0&&(Je[mt]=ot[mt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,mt=Object.getOwnPropertySymbols(ot);Te<mt.length;Te++)ut.indexOf(mt[Te])<0&&Object.prototype.propertyIsEnumerable.call(ot,mt[Te])&&(Je[mt[Te]]=ot[mt[Te]]);return Je};const ft=(ot,ut)=>{const{defaultValue:Je,children:mt,options:Te=[],prefixCls:xt,className:Ne,rootClassName:Rt,style:Dt,onChange:Nt}=ot,wt=Wt(ot,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:It,direction:We}=yt.useContext(Se.E_),[ve,Qe]=yt.useState(wt.value||Je||[]),[Vt,Mt]=yt.useState([]);yt.useEffect(()=>{"value"in wt&&Qe(wt.value||[])},[wt.value]);const Ue=yt.useMemo(()=>Te.map(de=>typeof de=="string"||typeof de=="number"?{label:de,value:de}:de),[Te]),st=de=>{Mt(fe=>fe.filter(le=>le!==de))},Ht=de=>{Mt(fe=>[].concat((0,Et.Z)(fe),[de]))},yn=de=>{const fe=ve.indexOf(de.value),le=(0,Et.Z)(ve);fe===-1?le.push(de.value):le.splice(fe,1),"value"in wt||Qe(le),Nt==null||Nt(le.filter(Fe=>Vt.includes(Fe)).sort((Fe,at)=>{const Ze=Ue.findIndex(Lt=>Lt.value===Fe),Me=Ue.findIndex(Lt=>Lt.value===at);return Ze-Me}))},Ut=It("checkbox",xt),Sn=`${Ut}-group`,[jt,Jt]=(0,Re.ZP)(Ut),Ot=(0,Ct.Z)(wt,["value","disabled"]),xe=Te.length?Ue.map(de=>yt.createElement(ct,{prefixCls:Ut,key:de.value.toString(),disabled:"disabled"in de?de.disabled:wt.disabled,value:de.value,checked:ve.includes(de.value),onChange:de.onChange,className:`${Sn}-item`,style:de.style,title:de.title},de.label)):mt,ce={toggleOption:yn,value:ve,disabled:wt.disabled,name:wt.name,registerValue:Ht,cancelValue:st},ue=be()(Sn,{[`${Sn}-rtl`]:We==="rtl"},Ne,Rt,Jt);return jt(yt.createElement("div",Object.assign({className:ue,style:Dt},Ot,{ref:ut}),yt.createElement(Ee.Provider,{value:ce},xe)))},pt=yt.forwardRef(ft);var ze=yt.memo(pt);const he=ct;he.Group=ze,he.__ANT_CHECKBOX=!0;var it=he},98447:function(Ln,pn,ie){"use strict";ie.d(pn,{C2:function(){return Se}});var ne=ie(17313),be=ie(37613),Ce=ie(83116);const yt=Ae=>{const{checkboxCls:pe}=Ae,ye=`${pe}-wrapper`;return[{[`${pe}-group`]:Object.assign(Object.assign({},(0,ne.Wf)(Ae)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ae.marginXS,[`> ${Ae.antCls}-row`]:{flex:1}}),[ye]:Object.assign(Object.assign({},(0,ne.Wf)(Ae)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ye}`]:{marginInlineStart:0},[`&${ye}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[pe]:Object.assign(Object.assign({},(0,ne.Wf)(Ae)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ae.borderRadiusSM,alignSelf:"center",[`${pe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${pe}-inner`]:Object.assign({},(0,ne.oN)(Ae))},[`${pe}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ae.checkboxSize,height:Ae.checkboxSize,direction:"ltr",backgroundColor:Ae.colorBgContainer,border:`${Ae.lineWidth}px ${Ae.lineType} ${Ae.colorBorder}`,borderRadius:Ae.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ae.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ae.checkboxSize/14*5,height:Ae.checkboxSize/14*8,border:`${Ae.lineWidthBold}px solid ${Ae.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ae.motionDurationFast} ${Ae.motionEaseInBack}, opacity ${Ae.motionDurationFast}`}},"& + span":{paddingInlineStart:Ae.paddingXS,paddingInlineEnd:Ae.paddingXS}})},{[`
|
|
|
${ye}:not(${ye}-disabled),
|
|
|
${pe}:not(${pe}-disabled)
|
|
|
`]:{[`&:hover ${pe}-inner`]:{borderColor:Ae.colorPrimary}},[`${ye}:not(${ye}-disabled)`]:{[`&:hover ${pe}-checked:not(${pe}-disabled) ${pe}-inner`]:{backgroundColor:Ae.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${pe}-checked:not(${pe}-disabled):after`]:{borderColor:Ae.colorPrimaryHover}}},{[`${pe}-checked`]:{[`${pe}-inner`]:{backgroundColor:Ae.colorPrimary,borderColor:Ae.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ae.motionDurationMid} ${Ae.motionEaseOutBack} ${Ae.motionDurationFast}`}}},[`
|
|
|
${ye}-checked:not(${ye}-disabled),
|
|
|
${pe}-checked:not(${pe}-disabled)
|
|
|
`]:{[`&:hover ${pe}-inner`]:{backgroundColor:Ae.colorPrimaryHover,borderColor:"transparent"}}},{[pe]:{"&-indeterminate":{[`${pe}-inner`]:{backgroundColor:Ae.colorBgContainer,borderColor:Ae.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ae.fontSizeLG/2,height:Ae.fontSizeLG/2,backgroundColor:Ae.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ye}-disabled`]:{cursor:"not-allowed"},[`${pe}-disabled`]:{[`&, ${pe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${pe}-inner`]:{background:Ae.colorBgContainerDisabled,borderColor:Ae.colorBorder,"&:after":{borderColor:Ae.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ae.colorTextDisabled},[`&${pe}-indeterminate ${pe}-inner::after`]:{background:Ae.colorTextDisabled}}}]};function Se(Ae,pe){const ye=(0,be.TS)(pe,{checkboxCls:`.${Ae}`,checkboxSize:pe.controlInteractiveSize});return[yt(ye)]}pn.ZP=(0,Ce.Z)("Checkbox",(Ae,pe)=>{let{prefixCls:ye}=pe;return[Se(ye,Ae)]})},93891:function(Ln,pn,ie){"use strict";var ne=ie(59301),be=ie(36355),Ce=ie(64165);const yt=Se=>{const{componentName:Ae}=Se,{getPrefixCls:pe}=(0,ne.useContext)(be.E_),ye=pe("empty");switch(Ae){case"Table":case"List":return ne.createElement(Ce.Z,{image:Ce.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ne.createElement(Ce.Z,{image:Ce.Z.PRESENTED_IMAGE_SIMPLE,className:`${ye}-small`});default:return ne.createElement(Ce.Z,null)}};pn.Z=yt},5083:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return iu}});var ne=ie(66649),be=ie.n(ne),Ce=ie(48736),yt=ie(9007),Se=ie.n(yt),Ae=ie(50991),pe=ie.n(Ae),ye=ie(9084),Ee=ie.n(ye),Re=ie(58626),ht=ie.n(Re),ke=ie(13477),Le=ie.n(ke),Ge=ie(64796),nt=ie.n(Ge);be().extend(nt()),be().extend(Le()),be().extend(Se()),be().extend(pe()),be().extend(Ee()),be().extend(ht()),be().extend(function(De,_e){var qe=_e.prototype,$t=qe.format;qe.format=function(qn){var jn=(qn||"").replace("Wo","wo");return $t.bind(this)(jn)}});var ct={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"},Et=function(_e){var qe=ct[_e];return qe||_e.split("_")[0]},Ct=function(){(0,Ce.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Wt={getNow:function(){return be()()},getFixedDate:function(_e){return be()(_e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(_e){return _e.endOf("month")},getWeekDay:function(_e){var qe=_e.locale("en");return qe.weekday()+qe.localeData().firstDayOfWeek()},getYear:function(_e){return _e.year()},getMonth:function(_e){return _e.month()},getDate:function(_e){return _e.date()},getHour:function(_e){return _e.hour()},getMinute:function(_e){return _e.minute()},getSecond:function(_e){return _e.second()},addYear:function(_e,qe){return _e.add(qe,"year")},addMonth:function(_e,qe){return _e.add(qe,"month")},addDate:function(_e,qe){return _e.add(qe,"day")},setYear:function(_e,qe){return _e.year(qe)},setMonth:function(_e,qe){return _e.month(qe)},setDate:function(_e,qe){return _e.date(qe)},setHour:function(_e,qe){return _e.hour(qe)},setMinute:function(_e,qe){return _e.minute(qe)},setSecond:function(_e,qe){return _e.second(qe)},isAfter:function(_e,qe){return _e.isAfter(qe)},isValidate:function(_e){return _e.isValid()},locale:{getWeekFirstDay:function(_e){return be()().locale(Et(_e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(_e,qe){return qe.locale(Et(_e)).weekday(0)},getWeek:function(_e,qe){return qe.locale(Et(_e)).week()},getShortWeekDays:function(_e){return be()().locale(Et(_e)).localeData().weekdaysMin()},getShortMonths:function(_e){return be()().locale(Et(_e)).localeData().monthsShort()},format:function(_e,qe,$t){return qe.locale(Et(_e)).format($t)},parse:function(_e,qe,$t){for(var un=Et(_e),qn=0;qn<$t.length;qn+=1){var jn=$t[qn],Er=qe;if(jn.includes("wo")||jn.includes("Wo")){for(var Sr=Er.split("-")[0],Wr=Er.split("-")[1],Fi=be()(Sr,"YYYY").startOf("year").locale(un),Xr=0;Xr<=52;Xr+=1){var Qr=Fi.add(Xr,"week");if(Qr.format("Wo")===Wr)return Qr}return Ct(),null}var vi=be()(Er,jn,!0).locale(un);if(vi.isValid())return vi}return qe&&Ct(),null}}},ft=Wt,pt=ie(53487),ze=ie(54476),he=ie(59301),it={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"},ot=it,ut=ie(7657),Je=function(_e,qe){return he.createElement(ut.Z,(0,ze.Z)({},_e,{ref:qe,icon:ot}))},mt=he.forwardRef(Je),Te=mt,xt={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"},Ne=xt,Rt=function(_e,qe){return he.createElement(ut.Z,(0,ze.Z)({},_e,{ref:qe,icon:Ne}))},Dt=he.forwardRef(Rt),Nt=Dt,wt=ie(19248),It={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"},We=It,ve=function(_e,qe){return he.createElement(ut.Z,(0,ze.Z)({},_e,{ref:qe,icon:We}))},Qe=he.forwardRef(ve),Vt=Qe,Mt=ie(92310),Ue=ie.n(Mt),st=ie(67732),Ht=ie(83652),yn=ie(31226),Ut=ie(42403),Sn=ie(158),jt=ie(20068),Jt=ie(33885),Ot=ie(42978),xe=ie(18929),ce=ie(26112),ue=ie(80547),de=ie(13697),fe=10,le=fe*10,Fe=7;function at(De,_e){if(!De&&!_e)return!0;if(!De||!_e)return!1}function Ze(De,_e,qe){var $t=at(_e,qe);if(typeof $t=="boolean")return $t;var un=Math.floor(De.getYear(_e)/10),qn=Math.floor(De.getYear(qe)/10);return un===qn}function Me(De,_e,qe){var $t=at(_e,qe);return typeof $t=="boolean"?$t:De.getYear(_e)===De.getYear(qe)}function Lt(De,_e){var qe=Math.floor(De.getMonth(_e)/3);return qe+1}function bt(De,_e,qe){var $t=at(_e,qe);return typeof $t=="boolean"?$t:Me(De,_e,qe)&&Lt(De,_e)===Lt(De,qe)}function et(De,_e,qe){var $t=at(_e,qe);return typeof $t=="boolean"?$t:Me(De,_e,qe)&&De.getMonth(_e)===De.getMonth(qe)}function Zt(De,_e,qe){var $t=at(_e,qe);return typeof $t=="boolean"?$t:De.getYear(_e)===De.getYear(qe)&&De.getMonth(_e)===De.getMonth(qe)&&De.getDate(_e)===De.getDate(qe)}function Cn(De,_e,qe){var $t=at(_e,qe);return typeof $t=="boolean"?$t:De.getHour(_e)===De.getHour(qe)&&De.getMinute(_e)===De.getMinute(qe)&&De.getSecond(_e)===De.getSecond(qe)}function kt(De,_e,qe,$t){var un=at(qe,$t);return typeof un=="boolean"?un:Me(De,qe,$t)&&De.locale.getWeek(_e,qe)===De.locale.getWeek(_e,$t)}function Qt(De,_e,qe){return Zt(De,_e,qe)&&Cn(De,_e,qe)}function cn(De,_e,qe,$t){return!_e||!qe||!$t?!1:!Zt(De,_e,$t)&&!Zt(De,qe,$t)&&De.isAfter($t,_e)&&De.isAfter(qe,$t)}function vt(De,_e,qe){var $t=_e.locale.getWeekFirstDay(De),un=_e.setDate(qe,1),qn=_e.getWeekDay(un),jn=_e.addDate(un,$t-qn);return _e.getMonth(jn)===_e.getMonth(qe)&&_e.getDate(jn)>1&&(jn=_e.addDate(jn,-7)),jn}function Oe(De,_e,qe){var $t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(_e){case"year":return qe.addYear(De,$t*10);case"quarter":case"month":return qe.addYear(De,$t);default:return qe.addMonth(De,$t)}}function tt(De,_e){var qe=_e.generateConfig,$t=_e.locale,un=_e.format;return typeof un=="function"?un(De):qe.locale.format($t.locale,De,un)}function ln(De,_e){var qe=_e.generateConfig,$t=_e.locale,un=_e.formatList;return!De||typeof un[0]=="function"?null:qe.locale.parse($t.locale,De,un)}function dn(De){var _e=De.cellDate,qe=De.mode,$t=De.disabledDate,un=De.generateConfig;if(!$t)return!1;var qn=function(Si,mr,jr){for(var bi=mr;bi<=jr;){var ca=void 0;switch(Si){case"date":{if(ca=un.setDate(_e,bi),!$t(ca))return!1;break}case"month":{if(ca=un.setMonth(_e,bi),!dn({cellDate:ca,mode:"month",generateConfig:un,disabledDate:$t}))return!1;break}case"year":{if(ca=un.setYear(_e,bi),!dn({cellDate:ca,mode:"year",generateConfig:un,disabledDate:$t}))return!1;break}}bi+=1}return!0};switch(qe){case"date":case"week":return $t(_e);case"month":{var jn=1,Er=un.getDate(un.getEndDate(_e));return qn("date",jn,Er)}case"quarter":{var Sr=Math.floor(un.getMonth(_e)/3)*3,Wr=Sr+2;return qn("month",Sr,Wr)}case"year":return qn("month",0,11);case"decade":{var Fi=un.getYear(_e),Xr=Math.floor(Fi/fe)*fe,Qr=Xr+fe-1;return qn("year",Xr,Qr)}}}function An(De,_e){var qe=_e.formatList,$t=_e.generateConfig,un=_e.locale;return(0,ue.Z)(function(){if(!De)return[[""],""];for(var qn="",jn=[],Er=0;Er<qe.length;Er+=1){var Sr=qe[Er],Wr=tt(De,{generateConfig:$t,locale:un,format:Sr});jn.push(Wr),Er===0&&(qn=Wr)}return[jn,qn]},[De,qe,un],function(qn,jn){return!Qt($t,qn[0],jn[0])||!(0,de.Z)(qn[1],jn[1],!0)||!(0,de.Z)(qn[2],jn[2],!0)})}function Xn(De,_e){var qe=_e.formatList,$t=_e.generateConfig,un=_e.locale,qn=(0,he.useState)(null),jn=(0,Ot.Z)(qn,2),Er=jn[0],Sr=jn[1],Wr=(0,he.useRef)(null);function Fi(jr){var bi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Wr.current),bi){Sr(jr);return}Wr.current=requestAnimationFrame(function(){Sr(jr)})}var Xr=An(Er,{formatList:qe,generateConfig:$t,locale:un}),Qr=(0,Ot.Z)(Xr,2),vi=Qr[1];function Si(jr){Fi(jr)}function mr(){var jr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Fi(null,jr)}return(0,he.useEffect)(function(){mr(!0)},[De]),(0,he.useEffect)(function(){return function(){return cancelAnimationFrame(Wr.current)}},[]),[vi,Si,mr]}var Gt=ie(10228),nr=ie(16089),wr=ie(94480),kr=ie(29194),rr=new Map;function Ar(De,_e){var qe;function $t(){(0,kr.Z)(De)?_e():qe=(0,nr.Z)(function(){$t()})}return $t(),function(){nr.Z.cancel(qe)}}function li(De,_e,qe){if(rr.get(De)&&cancelAnimationFrame(rr.get(De)),qe<=0){rr.set(De,requestAnimationFrame(function(){De.scrollTop=_e}));return}var $t=_e-De.scrollTop,un=$t/qe*10;rr.set(De,requestAnimationFrame(function(){De.scrollTop+=un,De.scrollTop!==_e&&li(De,_e,qe-10)}))}function xr(De,_e){var qe=_e.onLeftRight,$t=_e.onCtrlLeftRight,un=_e.onUpDown,qn=_e.onPageUpDown,jn=_e.onEnter,Er=De.which,Sr=De.ctrlKey,Wr=De.metaKey;switch(Er){case Gt.Z.LEFT:if(Sr||Wr){if($t)return $t(-1),!0}else if(qe)return qe(-1),!0;break;case Gt.Z.RIGHT:if(Sr||Wr){if($t)return $t(1),!0}else if(qe)return qe(1),!0;break;case Gt.Z.UP:if(un)return un(-1),!0;break;case Gt.Z.DOWN:if(un)return un(1),!0;break;case Gt.Z.PAGE_UP:if(qn)return qn(-1),!0;break;case Gt.Z.PAGE_DOWN:if(qn)return qn(1),!0;break;case Gt.Z.ENTER:if(jn)return jn(),!0;break}return!1}function Br(De,_e,qe,$t){var un=De;if(!un)switch(_e){case"time":un=$t?"hh:mm:ss a":"HH:mm:ss";break;case"week":un="gggg-wo";break;case"month":un="YYYY-MM";break;case"quarter":un="YYYY-[Q]Q";break;case"year":un="YYYY";break;default:un=qe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return un}function ti(De,_e,qe){var $t=De==="time"?8:10,un=typeof _e=="function"?_e(qe.getNow()).length:_e.length;return Math.max($t,un)+2}var Rn=null,tn=new Set;function zn(De){return!Rn&&typeof window!="undefined"&&window.addEventListener&&(Rn=function(qe){(0,wr.Z)(tn).forEach(function($t){$t(qe)})},window.addEventListener("mousedown",Rn)),tn.add(De),function(){tn.delete(De),tn.size===0&&(window.removeEventListener("mousedown",Rn),Rn=null)}}function er(De){var _e=De.target;if(De.composed&&_e.shadowRoot){var qe;return((qe=De.composedPath)===null||qe===void 0?void 0:qe.call(De)[0])||_e}return _e}var zt=function(_e){return _e==="month"||_e==="date"?"year":_e},bn=function(_e){return _e==="date"?"month":_e},kn=function(_e){return _e==="month"||_e==="date"?"quarter":_e},Tt=function(_e){return _e==="date"?"week":_e},an={year:zt,month:bn,quarter:kn,week:Tt,time:null,date:null};function sn(De,_e){return De.some(function(qe){return qe&&qe.contains(_e)})}function rn(De){var _e=De.open,qe=De.value,$t=De.isClickOutside,un=De.triggerOpen,qn=De.forwardKeyDown,jn=De.onKeyDown,Er=De.blurToCancel,Sr=De.onSubmit,Wr=De.onCancel,Fi=De.onFocus,Xr=De.onBlur,Qr=De.changeOnBlur,vi=(0,he.useState)(!1),Si=(0,Ot.Z)(vi,2),mr=Si[0],jr=Si[1],bi=(0,he.useState)(!1),ca=(0,Ot.Z)(bi,2),qi=ca[0],sa=ca[1],fa=(0,he.useRef)(!1),ia=(0,he.useRef)(!1),ea=(0,he.useRef)(!1),lo={onMouseDown:function(){jr(!0),un(!0)},onKeyDown:function(ao){var ko=function(){ea.current=!0};if(jn(ao,ko),!ea.current){switch(ao.which){case Gt.Z.ENTER:{_e?Sr()!==!1&&jr(!0):un(!0),ao.preventDefault();return}case Gt.Z.TAB:{mr&&_e&&!ao.shiftKey?(jr(!1),ao.preventDefault()):!mr&&_e&&!qn(ao)&&ao.shiftKey&&(jr(!0),ao.preventDefault());return}case Gt.Z.ESC:{jr(!0),Wr();return}}!_e&&![Gt.Z.SHIFT].includes(ao.which)?un(!0):mr||qn(ao)}},onFocus:function(ao){jr(!0),sa(!0),Fi&&Fi(ao)},onBlur:function(ao){if(fa.current||!$t(document.activeElement)){fa.current=!1;return}Er?setTimeout(function(){for(var ko=document,Do=ko.activeElement;Do&&Do.shadowRoot;)Do=Do.shadowRoot.activeElement;$t(Do)&&Wr()},0):_e&&(un(!1),ia.current&&Sr()),sa(!1),Xr==null||Xr(ao)}};return(0,he.useEffect)(function(){ia.current=!1},[_e]),(0,he.useEffect)(function(){ia.current=!0},[qe]),(0,he.useEffect)(function(){return zn(function(Ya){var ao=er(Ya),ko=$t(ao);_e&&(ko?!Qr&&(!qi||ko)&&un(!1):(fa.current=!0,(0,nr.Z)(function(){fa.current=!1})))})}),[lo,{focused:qi,typing:mr}]}function $n(De,_e){return he.useMemo(function(){return De||(_e?((0,Ce.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(_e).map(function(qe){var $t=(0,Ot.Z)(qe,2),un=$t[0],qn=$t[1];return{label:un,value:qn}})):[])},[De,_e])}var Ft=ie(34280);function Ie(De){var _e=De.valueTexts,qe=De.onTextChange,$t=he.useState(""),un=(0,Ot.Z)($t,2),qn=un[0],jn=un[1],Er=he.useRef([]);Er.current=_e;function Sr(Fi){jn(Fi),qe(Fi)}function Wr(){jn(Er.current[0])}return(0,Ft.Z)(function(){_e.every(function(Fi){return Fi!==qn})&&Wr()},[_e.join("||")]),[qn,Sr,Wr]}var Xe=he.createContext({}),He=Xe,Ke=ie(76190);function Bt(De){var _e=De.cellRender,qe=De.monthCellRender,$t=De.dateRender,un=he.useMemo(function(){if(_e)return _e;if(!(!qe&&!$t))return function(qn,jn){var Er=qn;return $t&&jn.type==="date"?$t(Er,jn.today):qe&&jn.type==="month"?qe(Er,jn.locale):jn.originNode}},[_e,qe,$t]);return un}function dt(De,_e){for(var qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",$t=String(De);$t.length<_e;)$t="".concat(qe).concat(De);return $t}var on=function(){for(var _e=arguments.length,qe=new Array(_e),$t=0;$t<_e;$t++)qe[$t]=arguments[$t];return qe};function nn(De){return De==null?[]:Array.isArray(De)?De:[De]}function hn(De,_e){return De?De[_e]:null}function Pn(De,_e,qe){var $t=[hn(De,0),hn(De,1)];return $t[qe]=typeof _e=="function"?_e($t[qe]):_e,!$t[0]&&!$t[1]?null:$t}function Jn(De){return typeof De=="function"?De():De}function In(De){var _e=De.cellPrefixCls,qe=De.generateConfig,$t=De.rangedValue,un=De.hoverRangedValue,qn=De.isInView,jn=De.isSameCell,Er=De.offsetCell,Sr=De.today,Wr=De.value;function Fi(Xr){var Qr,vi=Er(Xr,-1),Si=Er(Xr,1),mr=hn($t,0),jr=hn($t,1),bi=hn(un,0),ca=hn(un,1),qi=cn(qe,bi,ca,Xr);function sa(ao){return jn(mr,ao)}function fa(ao){return jn(jr,ao)}var ia=jn(bi,Xr),ea=jn(ca,Xr),lo=(qi||ea)&&(!qn(vi)||fa(vi)),Ya=(qi||ia)&&(!qn(Si)||sa(Si));return Qr={},(0,jt.Z)(Qr,"".concat(_e,"-in-view"),qn(Xr)),(0,jt.Z)(Qr,"".concat(_e,"-in-range"),cn(qe,mr,jr,Xr)),(0,jt.Z)(Qr,"".concat(_e,"-range-start"),sa(Xr)),(0,jt.Z)(Qr,"".concat(_e,"-range-end"),fa(Xr)),(0,jt.Z)(Qr,"".concat(_e,"-range-start-single"),sa(Xr)&&!jr),(0,jt.Z)(Qr,"".concat(_e,"-range-end-single"),fa(Xr)&&!mr),(0,jt.Z)(Qr,"".concat(_e,"-range-start-near-hover"),sa(Xr)&&(jn(vi,bi)||cn(qe,bi,ca,vi))),(0,jt.Z)(Qr,"".concat(_e,"-range-end-near-hover"),fa(Xr)&&(jn(Si,ca)||cn(qe,bi,ca,Si))),(0,jt.Z)(Qr,"".concat(_e,"-range-hover"),qi),(0,jt.Z)(Qr,"".concat(_e,"-range-hover-start"),ia),(0,jt.Z)(Qr,"".concat(_e,"-range-hover-end"),ea),(0,jt.Z)(Qr,"".concat(_e,"-range-hover-edge-start"),lo),(0,jt.Z)(Qr,"".concat(_e,"-range-hover-edge-end"),Ya),(0,jt.Z)(Qr,"".concat(_e,"-range-hover-edge-start-near-range"),lo&&jn(vi,jr)),(0,jt.Z)(Qr,"".concat(_e,"-range-hover-edge-end-near-range"),Ya&&jn(Si,mr)),(0,jt.Z)(Qr,"".concat(_e,"-today"),jn(Sr,Xr)),(0,jt.Z)(Qr,"".concat(_e,"-selected"),jn(Wr,Xr)),Qr}return Fi}var Xt=he.createContext({}),wn=Xt;function pr(De,_e,qe,$t,un){var qn=De.setHour(_e,qe);return qn=De.setMinute(qn,$t),qn=De.setSecond(qn,un),qn}function lr(De,_e,qe){if(!qe)return _e;var $t=_e;return $t=De.setHour($t,De.getHour(qe)),$t=De.setMinute($t,De.getMinute(qe)),$t=De.setSecond($t,De.getSecond(qe)),$t}function ar(De,_e,qe,$t,un,qn){var jn=Math.floor(De/$t)*$t;if(jn<De)return[jn,60-un,60-qn];var Er=Math.floor(_e/un)*un;if(Er<_e)return[jn,Er,60-qn];var Sr=Math.floor(qe/qn)*qn;return[jn,Er,Sr]}function dr(De,_e){var qe=De.getYear(_e),$t=De.getMonth(_e)+1,un=De.getEndDate(De.getFixedDate("".concat(qe,"-").concat($t,"-01"))),qn=De.getDate(un),jn=$t<10?"0".concat($t):"".concat($t);return"".concat(qe,"-").concat(jn,"-").concat(qn)}function Ir(De){for(var _e=De.prefixCls,qe=De.disabledDate,$t=De.onSelect,un=De.picker,qn=De.rowNum,jn=De.colNum,Er=De.prefixColumn,Sr=De.rowClassName,Wr=De.baseDate,Fi=De.getCellClassName,Xr=De.getCellText,Qr=De.getCellNode,vi=De.getCellDate,Si=De.generateConfig,mr=De.titleCell,jr=De.headerCells,bi=he.useContext(He),ca=bi.onDateMouseEnter,qi=bi.onDateMouseLeave,sa=bi.mode,fa="".concat(_e,"-cell"),ia=[],ea=0;ea<qn;ea+=1){for(var lo=[],Ya=void 0,ao=function(){var zo,el=ea*jn+ko,co=vi(Wr,el),fo=dn({cellDate:co,mode:sa,disabledDate:qe,generateConfig:Si});ko===0&&(Ya=co,Er&&lo.push(Er(Ya)));var xo=mr&&mr(co),Go=he.createElement("div",{className:"".concat(fa,"-inner")},Xr(co));lo.push(he.createElement("td",{key:ko,title:xo,className:Ue()(fa,(0,Jt.Z)((zo={},(0,jt.Z)(zo,"".concat(fa,"-disabled"),fo),(0,jt.Z)(zo,"".concat(fa,"-start"),Xr(co)===1||un==="year"&&Number(xo)%10===0),(0,jt.Z)(zo,"".concat(fa,"-end"),xo===dr(Si,co)||un==="year"&&Number(xo)%10===9),zo),Fi(co))),onClick:function(){fo||$t(co)},onMouseEnter:function(){!fo&&ca&&ca(co)},onMouseLeave:function(){!fo&&qi&&qi(co)}},Qr?Qr(co,Go):Go))},ko=0;ko<jn;ko+=1)ao();ia.push(he.createElement("tr",{key:ea,className:Sr&&Sr(Ya)},lo))}return he.createElement("div",{className:"".concat(_e,"-body")},he.createElement("table",{className:"".concat(_e,"-content")},jr&&he.createElement("thead",null,he.createElement("tr",null,jr)),he.createElement("tbody",null,ia)))}function tr(De){var _e=De.prefixCls,qe=De.generateConfig,$t=De.prefixColumn,un=De.locale,qn=De.rowCount,jn=De.viewDate,Er=De.value,Sr=De.cellRender,Wr=De.isSameCell,Fi=he.useContext(wn),Xr=Fi.rangedValue,Qr=Fi.hoverRangedValue,vi=vt(un.locale,qe,jn),Si="".concat(_e,"-cell"),mr=qe.locale.getWeekFirstDay(un.locale),jr=qe.getNow(),bi=[],ca=un.shortWeekDays||(qe.locale.getShortWeekDays?qe.locale.getShortWeekDays(un.locale):[]);$t&&bi.push(he.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var qi=0;qi<Fe;qi+=1)bi.push(he.createElement("th",{key:qi},ca[(qi+mr)%Fe]));var sa=In({cellPrefixCls:Si,today:jr,value:Er,generateConfig:qe,rangedValue:$t?null:Xr,hoverRangedValue:$t?null:Qr,isSameCell:Wr||function(ia,ea){return Zt(qe,ia,ea)},isInView:function(ea){return et(qe,ea,jn)},offsetCell:function(ea,lo){return qe.addDate(ea,lo)}}),fa=Sr?function(ia,ea){return Sr(ia,{originNode:ea,today:jr,type:"date",locale:un})}:void 0;return he.createElement(Ir,(0,ze.Z)({},De,{rowNum:qn,colNum:Fe,baseDate:vi,getCellNode:fa,getCellText:qe.getDate,getCellClassName:sa,getCellDate:qe.addDate,titleCell:function(ea){return tt(ea,{locale:un,format:"YYYY-MM-DD",generateConfig:qe})},headerCells:bi}))}var Yr=tr,_t={visibility:"hidden"};function xn(De){var _e=De.prefixCls,qe=De.prevIcon,$t=qe===void 0?"\u2039":qe,un=De.nextIcon,qn=un===void 0?"\u203A":un,jn=De.superPrevIcon,Er=jn===void 0?"\xAB":jn,Sr=De.superNextIcon,Wr=Sr===void 0?"\xBB":Sr,Fi=De.onSuperPrev,Xr=De.onSuperNext,Qr=De.onPrev,vi=De.onNext,Si=De.children,mr=he.useContext(He),jr=mr.hideNextBtn,bi=mr.hidePrevBtn;return he.createElement("div",{className:_e},Fi&&he.createElement("button",{type:"button",onClick:Fi,tabIndex:-1,className:"".concat(_e,"-super-prev-btn"),style:bi?_t:{}},Er),Qr&&he.createElement("button",{type:"button",onClick:Qr,tabIndex:-1,className:"".concat(_e,"-prev-btn"),style:bi?_t:{}},$t),he.createElement("div",{className:"".concat(_e,"-view")},Si),vi&&he.createElement("button",{type:"button",onClick:vi,tabIndex:-1,className:"".concat(_e,"-next-btn"),style:jr?_t:{}},qn),Xr&&he.createElement("button",{type:"button",onClick:Xr,tabIndex:-1,className:"".concat(_e,"-super-next-btn"),style:jr?_t:{}},Wr))}var Dn=xn;function Un(De){var _e=De.prefixCls,qe=De.generateConfig,$t=De.locale,un=De.viewDate,qn=De.onNextMonth,jn=De.onPrevMonth,Er=De.onNextYear,Sr=De.onPrevYear,Wr=De.onYearClick,Fi=De.onMonthClick,Xr=he.useContext(He),Qr=Xr.hideHeader;if(Qr)return null;var vi="".concat(_e,"-header"),Si=$t.shortMonths||(qe.locale.getShortMonths?qe.locale.getShortMonths($t.locale):[]),mr=qe.getMonth(un),jr=he.createElement("button",{type:"button",key:"year",onClick:Wr,tabIndex:-1,className:"".concat(_e,"-year-btn")},tt(un,{locale:$t,format:$t.yearFormat,generateConfig:qe})),bi=he.createElement("button",{type:"button",key:"month",onClick:Fi,tabIndex:-1,className:"".concat(_e,"-month-btn")},$t.monthFormat?tt(un,{locale:$t,format:$t.monthFormat,generateConfig:qe}):Si[mr]),ca=$t.monthBeforeYear?[bi,jr]:[jr,bi];return he.createElement(Dn,(0,ze.Z)({},De,{prefixCls:vi,onSuperPrev:Sr,onPrev:jn,onNext:qn,onSuperNext:Er}),ca)}var Bn=Un,Vn=6;function Nn(De){var _e=De.prefixCls,qe=De.panelName,$t=qe===void 0?"date":qe,un=De.keyboardConfig,qn=De.active,jn=De.operationRef,Er=De.generateConfig,Sr=De.value,Wr=De.viewDate,Fi=De.onViewDateChange,Xr=De.onPanelChange,Qr=De.onSelect,vi="".concat(_e,"-").concat($t,"-panel");jn.current={onKeyDown:function(bi){return xr(bi,(0,Jt.Z)({onLeftRight:function(qi){Qr(Er.addDate(Sr||Wr,qi),"key")},onCtrlLeftRight:function(qi){Qr(Er.addYear(Sr||Wr,qi),"key")},onUpDown:function(qi){Qr(Er.addDate(Sr||Wr,qi*Fe),"key")},onPageUpDown:function(qi){Qr(Er.addMonth(Sr||Wr,qi),"key")}},un))}};var Si=function(bi){var ca=Er.addYear(Wr,bi);Fi(ca),Xr(null,ca)},mr=function(bi){var ca=Er.addMonth(Wr,bi);Fi(ca),Xr(null,ca)};return he.createElement("div",{className:Ue()(vi,(0,jt.Z)({},"".concat(vi,"-active"),qn))},he.createElement(Bn,(0,ze.Z)({},De,{prefixCls:_e,value:Sr,viewDate:Wr,onPrevYear:function(){Si(-1)},onNextYear:function(){Si(1)},onPrevMonth:function(){mr(-1)},onNextMonth:function(){mr(1)},onMonthClick:function(){Xr("month",Wr)},onYearClick:function(){Xr("year",Wr)}})),he.createElement(Yr,(0,ze.Z)({},De,{onSelect:function(bi){return Qr(bi,"mouse")},prefixCls:_e,value:Sr,viewDate:Wr,rowCount:Vn})))}var ir=Nn;function Cr(De){var _e=he.useContext(He),qe=_e.hideHeader;if(qe)return null;var $t=De.prefixCls,un=De.generateConfig,qn=De.locale,jn=De.value,Er=De.format,Sr="".concat($t,"-header");return he.createElement(Dn,{prefixCls:Sr},jn?tt(jn,{locale:qn,format:Er,generateConfig:un}):"\xA0")}var Nr=Cr;function ai(De){var _e=De.value,qe=De.generateConfig,$t=De.disabledMinutes,un=De.disabledSeconds,qn=De.minutes,jn=De.seconds,Er=De.use12Hours,Sr=function(Fi,Xr,Qr,vi){var Si=qe.getNow(),mr=_e||Si,jr=Xr<0?qe.getHour(Si):Xr,bi=Qr<0?qe.getMinute(Si):Qr,ca=vi<0?qe.getSecond(Si):vi,qi=$t&&$t(jr);if(qi!=null&&qi.includes(bi)){var sa=qn.find(function(ea){return!qi.includes(ea.value)});if(sa)bi=sa.value;else return null}var fa=un&&un(jr,bi);if(fa!=null&&fa.includes(ca)){var ia=jn.find(function(ea){return!fa.includes(ea.value)});if(ia)ca=ia.value;else return null}return mr=pr(qe,mr,!Er||!Fi?jr:jr+12,bi,ca),mr};return Sr}function si(De){var _e=De.prefixCls,qe=De.units,$t=De.onSelect,un=De.value,qn=De.active,jn=De.hideDisabledOptions,Er=De.info,Sr=De.type,Wr="".concat(_e,"-cell"),Fi=he.useContext(He),Xr=Fi.open,Qr=(0,he.useRef)(null),vi=(0,he.useRef)(new Map),Si=(0,he.useRef)();return(0,he.useLayoutEffect)(function(){var mr=vi.current.get(un);mr&&Xr!==!1&&li(Qr.current,mr.offsetTop,120)},[un]),(0,he.useLayoutEffect)(function(){if(Xr){var mr=vi.current.get(un);mr&&(Si.current=Ar(mr,function(){li(Qr.current,mr.offsetTop,0)}))}return function(){var jr;(jr=Si.current)===null||jr===void 0||jr.call(Si)}},[Xr]),he.createElement("ul",{className:Ue()("".concat(_e,"-column"),(0,jt.Z)({},"".concat(_e,"-column-active"),qn)),ref:Qr,style:{position:"relative"}},qe.map(function(mr){var jr;return jn&&mr.disabled?null:he.createElement("li",{key:mr.value,ref:function(ca){vi.current.set(mr.value,ca)},className:Ue()(Wr,(jr={},(0,jt.Z)(jr,"".concat(Wr,"-disabled"),mr.disabled),(0,jt.Z)(jr,"".concat(Wr,"-selected"),un===mr.value),jr)),onClick:function(){mr.disabled||$t(mr.value)}},Er.cellRender?Er.cellRender(mr.value,{today:Er.today,locale:Er.locale,originNode:he.createElement("div",{className:"".concat(Wr,"-inner")},mr.label),type:"time",subType:Sr}):he.createElement("div",{className:"".concat(Wr,"-inner")},mr.label))}))}var mi=si;function br(De,_e){if(De.length!==_e.length)return!0;for(var qe=0;qe<De.length;qe+=1)if(De[qe].disabled!==_e[qe].disabled)return!0;return!1}function Hr(De,_e,qe,$t){for(var un=[],qn=qe>=1?qe|0:1,jn=De;jn<=_e;jn+=qn)un.push({label:dt(jn,2),value:jn,disabled:($t||[]).includes(jn)});return un}function Lr(De){var _e=De.generateConfig,qe=De.prefixCls,$t=De.operationRef,un=De.activeColumnIndex,qn=De.value,jn=De.showHour,Er=De.showMinute,Sr=De.showSecond,Wr=De.use12Hours,Fi=De.hourStep,Xr=Fi===void 0?1:Fi,Qr=De.minuteStep,vi=Qr===void 0?1:Qr,Si=De.secondStep,mr=Si===void 0?1:Si,jr=De.disabledHours,bi=De.disabledMinutes,ca=De.disabledSeconds,qi=De.disabledTime,sa=De.hideDisabledOptions,fa=De.onSelect,ia=De.cellRender,ea=De.locale,lo=[],Ya="".concat(qe,"-content"),ao="".concat(qe,"-time-panel"),ko,Do=qn?_e.getHour(qn):-1,zo=Do,el=qn?_e.getMinute(qn):-1,co=qn?_e.getSecond(qn):-1,fo=_e.getNow(),xo=he.useMemo(function(){if(qi){var sr=qi(fo);return[sr.disabledHours,sr.disabledMinutes,sr.disabledSeconds]}return[jr,bi,ca]},[jr,bi,ca,qi,fo]),Go=(0,Ot.Z)(xo,3),rl=Go[0],Oo=Go[1],Co=Go[2],bl=Hr(0,23,Xr,rl&&rl()),Kl=(0,ue.Z)(function(){return bl},bl,br);Wr&&(ko=zo>=12,zo%=12);var Ve=he.useMemo(function(){if(!Wr)return[!1,!1];var sr=[!0,!0];return Kl.forEach(function(cr){var Gr=cr.disabled,Ur=cr.value;Gr||(Ur>=12?sr[1]=!1:sr[0]=!1)}),sr},[Wr,Kl]),$e=(0,Ot.Z)(Ve,2),Kt=$e[0],qt=$e[1],vn=he.useMemo(function(){return Wr?Kl.filter(ko?function(sr){return sr.value>=12}:function(sr){return sr.value<12}).map(function(sr){var cr=sr.value%12,Gr=cr===0?"12":dt(cr,2);return(0,Jt.Z)((0,Jt.Z)({},sr),{},{label:Gr,value:cr})}):Kl},[Wr,ko,Kl]),mn=Hr(0,59,vi,Oo&&Oo(Do)),_n=Hr(0,59,mr,Co&&Co(Do,el)),Kn=ai({value:qn,generateConfig:_e,disabledMinutes:Oo,disabledSeconds:Co,minutes:mn,seconds:_n,use12Hours:Wr});$t.current={onUpDown:function(cr){var Gr=lo[un];if(Gr)for(var Ur=Gr.units.findIndex(function(Oi){return Oi.value===Gr.value}),Jr=Gr.units.length,xi=1;xi<Jr;xi+=1){var pi=Gr.units[(Ur+cr*xi+Jr)%Jr];if(pi.disabled!==!0){Gr.onSelect(pi.value);break}}}};function Zn(sr,cr,Gr,Ur,Jr){sr!==!1&&lo.push({node:he.cloneElement(cr,{prefixCls:ao,value:Gr,active:un===lo.length,onSelect:Jr,units:Ur,hideDisabledOptions:sa}),onSelect:Jr,value:Gr,units:Ur})}Zn(jn,he.createElement(mi,{key:"hour",type:"hour",info:{today:fo,locale:ea,cellRender:ia}}),zo,vn,function(sr){fa(Kn(ko,sr,el,co),"mouse")}),Zn(Er,he.createElement(mi,{key:"minute",type:"minute",info:{today:fo,locale:ea,cellRender:ia}}),el,mn,function(sr){fa(Kn(ko,zo,sr,co),"mouse")}),Zn(Sr,he.createElement(mi,{key:"second",type:"second",info:{today:fo,locale:ea,cellRender:ia}}),co,_n,function(sr){fa(Kn(ko,zo,el,sr),"mouse")});var fr=-1;return typeof ko=="boolean"&&(fr=ko?1:0),Zn(Wr===!0,he.createElement(mi,{key:"meridiem",type:"meridiem",info:{today:fo,locale:ea,cellRender:ia}}),fr,[{label:"AM",value:0,disabled:Kt},{label:"PM",value:1,disabled:qt}],function(sr){fa(Kn(!!sr,zo,el,co),"mouse")}),he.createElement("div",{className:Ya},lo.map(function(sr){var cr=sr.node;return cr}))}var ni=Lr,$r=function(_e){return _e.filter(function(qe){return qe!==!1}).length};function Fr(De){var _e=De.generateConfig,qe=De.format,$t=qe===void 0?"HH:mm:ss":qe,un=De.prefixCls,qn=De.active,jn=De.operationRef,Er=De.showHour,Sr=De.showMinute,Wr=De.showSecond,Fi=De.use12Hours,Xr=Fi===void 0?!1:Fi,Qr=De.onSelect,vi=De.value,Si="".concat(un,"-time-panel"),mr=he.useRef(),jr=he.useState(-1),bi=(0,Ot.Z)(jr,2),ca=bi[0],qi=bi[1],sa=$r([Er,Sr,Wr,Xr]);return jn.current={onKeyDown:function(ia){return xr(ia,{onLeftRight:function(lo){qi((ca+lo+sa)%sa)},onUpDown:function(lo){ca===-1?qi(0):mr.current&&mr.current.onUpDown(lo)},onEnter:function(){Qr(vi||_e.getNow(),"key"),qi(-1)}})},onBlur:function(){qi(-1)}},he.createElement("div",{className:Ue()(Si,(0,jt.Z)({},"".concat(Si,"-active"),qn))},he.createElement(Nr,(0,ze.Z)({},De,{format:$t,prefixCls:un})),he.createElement(ni,(0,ze.Z)({},De,{prefixCls:un,activeColumnIndex:ca,operationRef:mr})))}var Vr=Fr,ei=on("date","time");function _r(De){var _e=De.prefixCls,qe=De.operationRef,$t=De.generateConfig,un=De.value,qn=De.defaultValue,jn=De.disabledTime,Er=De.showTime,Sr=De.onSelect,Wr=De.cellRender,Fi="".concat(_e,"-datetime-panel"),Xr=he.useState(null),Qr=(0,Ot.Z)(Xr,2),vi=Qr[0],Si=Qr[1],mr=he.useRef({}),jr=he.useRef({}),bi=(0,Ke.Z)(Er)==="object"?(0,Jt.Z)({},Er):{};function ca(ia){var ea=ei.indexOf(vi)+ia,lo=ei[ea]||null;return lo}var qi=function(ea){jr.current.onBlur&&jr.current.onBlur(ea),Si(null)};qe.current={onKeyDown:function(ea){if(ea.which===Gt.Z.TAB){var lo=ca(ea.shiftKey?-1:1);return Si(lo),lo&&ea.preventDefault(),!0}if(vi){var Ya=vi==="date"?mr:jr;return Ya.current&&Ya.current.onKeyDown&&Ya.current.onKeyDown(ea),!0}return[Gt.Z.LEFT,Gt.Z.RIGHT,Gt.Z.UP,Gt.Z.DOWN].includes(ea.which)?(Si("date"),!0):!1},onBlur:qi,onClose:qi};var sa=function(ea,lo){var Ya=ea;lo==="date"&&!un&&bi.defaultValue?(Ya=$t.setHour(Ya,$t.getHour(bi.defaultValue)),Ya=$t.setMinute(Ya,$t.getMinute(bi.defaultValue)),Ya=$t.setSecond(Ya,$t.getSecond(bi.defaultValue))):lo==="time"&&!un&&qn&&(Ya=$t.setYear(Ya,$t.getYear(qn)),Ya=$t.setMonth(Ya,$t.getMonth(qn)),Ya=$t.setDate(Ya,$t.getDate(qn))),Sr&&Sr(Ya,"mouse")},fa=jn?jn(un||null):{};return he.createElement("div",{className:Ue()(Fi,(0,jt.Z)({},"".concat(Fi,"-active"),vi))},he.createElement(ir,(0,ze.Z)({},De,{cellRender:Wr,operationRef:mr,active:vi==="date",onSelect:function(ea){sa(lr($t,ea,!un&&(0,Ke.Z)(Er)==="object"?Er.defaultValue:null),"date")}})),he.createElement(Vr,(0,ze.Z)({},De,{cellRender:Wr?function(ia,ea){return Wr(ia,(0,Jt.Z)((0,Jt.Z)({},ea),{},{type:"time"}))}:void 0,format:void 0},bi,fa,{disabledTime:null,defaultValue:void 0,operationRef:jr,active:vi==="time",onSelect:function(ea){sa(ea,"time")}})))}var ki=_r;function Ki(De){var _e=De.prefixCls,qe=De.generateConfig,$t=De.viewDate,un=De.onPrevDecades,qn=De.onNextDecades,jn=he.useContext(He),Er=jn.hideHeader;if(Er)return null;var Sr="".concat(_e,"-header"),Wr=qe.getYear($t),Fi=Math.floor(Wr/le)*le,Xr=Fi+le-1;return he.createElement(Dn,(0,ze.Z)({},De,{prefixCls:Sr,onSuperPrev:un,onSuperNext:qn}),Fi,"-",Xr)}var hi=Ki,Dr=3,or=4;function ui(De){var _e=fe-1,qe=De.prefixCls,$t=De.viewDate,un=De.generateConfig,qn=De.cellRender,jn=De.locale,Er="".concat(qe,"-cell"),Sr=un.getYear($t),Wr=Math.floor(Sr/fe)*fe,Fi=Math.floor(Sr/le)*le,Xr=Fi+le-1,Qr=un.setYear($t,Fi-Math.ceil((Dr*or*fe-le)/2)),vi=function(jr){var bi,ca=un.getYear(jr),qi=ca+_e;return bi={},(0,jt.Z)(bi,"".concat(Er,"-in-view"),Fi<=ca&&qi<=Xr),(0,jt.Z)(bi,"".concat(Er,"-selected"),ca===Wr),bi},Si=qn?function(mr,jr){return qn(mr,{originNode:jr,today:un.getNow(),type:"decade",locale:jn})}:void 0;return he.createElement(Ir,(0,ze.Z)({},De,{rowNum:or,colNum:Dr,baseDate:Qr,getCellNode:Si,getCellText:function(jr){var bi=un.getYear(jr);return"".concat(bi,"-").concat(bi+_e)},getCellClassName:vi,getCellDate:function(jr,bi){return un.addYear(jr,bi*fe)}}))}var gi=ui;function Pi(De){var _e=De.prefixCls,qe=De.onViewDateChange,$t=De.generateConfig,un=De.viewDate,qn=De.operationRef,jn=De.onSelect,Er=De.onPanelChange,Sr="".concat(_e,"-decade-panel");qn.current={onKeyDown:function(Qr){return xr(Qr,{onLeftRight:function(Si){jn($t.addYear(un,Si*fe),"key")},onCtrlLeftRight:function(Si){jn($t.addYear(un,Si*le),"key")},onUpDown:function(Si){jn($t.addYear(un,Si*fe*Dr),"key")},onEnter:function(){Er("year",un)}})}};var Wr=function(Qr){var vi=$t.addYear(un,Qr*le);qe(vi),Er(null,vi)},Fi=function(Qr){jn(Qr,"mouse"),Er("year",Qr)};return he.createElement("div",{className:Sr},he.createElement(hi,(0,ze.Z)({},De,{prefixCls:_e,onPrevDecades:function(){Wr(-1)},onNextDecades:function(){Wr(1)}})),he.createElement(gi,(0,ze.Z)({},De,{prefixCls:_e,onSelect:Fi})))}var rt=Pi;function gt(De){var _e=De.prefixCls,qe=De.generateConfig,$t=De.locale,un=De.viewDate,qn=De.onNextYear,jn=De.onPrevYear,Er=De.onYearClick,Sr=he.useContext(He),Wr=Sr.hideHeader;if(Wr)return null;var Fi="".concat(_e,"-header");return he.createElement(Dn,(0,ze.Z)({},De,{prefixCls:Fi,onSuperPrev:jn,onSuperNext:qn}),he.createElement("button",{type:"button",onClick:Er,className:"".concat(_e,"-year-btn")},tt(un,{locale:$t,format:$t.yearFormat,generateConfig:qe})))}var Yt=gt,gn=3,Yn=4;function Pt(De){var _e=De.prefixCls,qe=De.locale,$t=De.value,un=De.viewDate,qn=De.generateConfig,jn=De.cellRender,Er=he.useContext(wn),Sr=Er.rangedValue,Wr=Er.hoverRangedValue,Fi="".concat(_e,"-cell"),Xr=In({cellPrefixCls:Fi,value:$t,generateConfig:qn,rangedValue:Sr,hoverRangedValue:Wr,isSameCell:function(jr,bi){return et(qn,jr,bi)},isInView:function(){return!0},offsetCell:function(jr,bi){return qn.addMonth(jr,bi)}}),Qr=qe.shortMonths||(qn.locale.getShortMonths?qn.locale.getShortMonths(qe.locale):[]),vi=qn.setMonth(un,0),Si=jn?function(mr,jr){return jn(mr,{originNode:jr,locale:qe,today:qn.getNow(),type:"month"})}:void 0;return he.createElement(Ir,(0,ze.Z)({},De,{rowNum:Yn,colNum:gn,baseDate:vi,getCellNode:Si,getCellText:function(jr){return qe.monthFormat?tt(jr,{locale:qe,format:qe.monthFormat,generateConfig:qn}):Qr[qn.getMonth(jr)]},getCellClassName:Xr,getCellDate:qn.addMonth,titleCell:function(jr){return tt(jr,{locale:qe,format:"YYYY-MM",generateConfig:qn})}}))}var fn=Pt;function Wn(De){var _e=De.prefixCls,qe=De.operationRef,$t=De.onViewDateChange,un=De.generateConfig,qn=De.value,jn=De.viewDate,Er=De.onPanelChange,Sr=De.onSelect,Wr="".concat(_e,"-month-panel");qe.current={onKeyDown:function(Qr){return xr(Qr,{onLeftRight:function(Si){Sr(un.addMonth(qn||jn,Si),"key")},onCtrlLeftRight:function(Si){Sr(un.addYear(qn||jn,Si),"key")},onUpDown:function(Si){Sr(un.addMonth(qn||jn,Si*gn),"key")},onEnter:function(){Er("date",qn||jn)}})}};var Fi=function(Qr){var vi=un.addYear(jn,Qr);$t(vi),Er(null,vi)};return he.createElement("div",{className:Wr},he.createElement(Yt,(0,ze.Z)({},De,{prefixCls:_e,onPrevYear:function(){Fi(-1)},onNextYear:function(){Fi(1)},onYearClick:function(){Er("year",jn)}})),he.createElement(fn,(0,ze.Z)({},De,{prefixCls:_e,onSelect:function(Qr){Sr(Qr,"mouse"),Er("date",Qr)}})))}var Qn=Wn;function Mr(De){var _e=De.prefixCls,qe=De.generateConfig,$t=De.locale,un=De.viewDate,qn=De.onNextYear,jn=De.onPrevYear,Er=De.onYearClick,Sr=he.useContext(He),Wr=Sr.hideHeader;if(Wr)return null;var Fi="".concat(_e,"-header");return he.createElement(Dn,(0,ze.Z)({},De,{prefixCls:Fi,onSuperPrev:jn,onSuperNext:qn}),he.createElement("button",{type:"button",onClick:Er,className:"".concat(_e,"-year-btn")},tt(un,{locale:$t,format:$t.yearFormat,generateConfig:qe})))}var Ci=Mr,ri=4,ii=1;function Ii(De){var _e=De.prefixCls,qe=De.locale,$t=De.value,un=De.viewDate,qn=De.generateConfig,jn=De.cellRender,Er=he.useContext(wn),Sr=Er.rangedValue,Wr=Er.hoverRangedValue,Fi="".concat(_e,"-cell"),Xr=In({cellPrefixCls:Fi,value:$t,generateConfig:qn,rangedValue:Sr,hoverRangedValue:Wr,isSameCell:function(mr,jr){return bt(qn,mr,jr)},isInView:function(){return!0},offsetCell:function(mr,jr){return qn.addMonth(mr,jr*3)}}),Qr=qn.setDate(qn.setMonth(un,0),1),vi=jn?function(Si,mr){return jn(Si,{originNode:mr,locale:qe,today:qn.getNow(),type:"quarter"})}:void 0;return he.createElement(Ir,(0,ze.Z)({},De,{rowNum:ii,colNum:ri,baseDate:Qr,getCellNode:vi,getCellText:function(mr){return tt(mr,{locale:qe,format:qe.quarterFormat||"[Q]Q",generateConfig:qn})},getCellClassName:Xr,getCellDate:function(mr,jr){return qn.addMonth(mr,jr*3)},titleCell:function(mr){return tt(mr,{locale:qe,format:"YYYY-[Q]Q",generateConfig:qn})}}))}var da=Ii;function yr(De){var _e=De.prefixCls,qe=De.operationRef,$t=De.onViewDateChange,un=De.generateConfig,qn=De.value,jn=De.viewDate,Er=De.onPanelChange,Sr=De.onSelect,Wr="".concat(_e,"-quarter-panel");qe.current={onKeyDown:function(Qr){return xr(Qr,{onLeftRight:function(Si){Sr(un.addMonth(qn||jn,Si*3),"key")},onCtrlLeftRight:function(Si){Sr(un.addYear(qn||jn,Si),"key")},onUpDown:function(Si){Sr(un.addYear(qn||jn,Si),"key")}})}};var Fi=function(Qr){var vi=un.addYear(jn,Qr);$t(vi),Er(null,vi)};return he.createElement("div",{className:Wr},he.createElement(Ci,(0,ze.Z)({},De,{prefixCls:_e,onPrevYear:function(){Fi(-1)},onNextYear:function(){Fi(1)},onYearClick:function(){Er("year",jn)}})),he.createElement(da,(0,ze.Z)({},De,{prefixCls:_e,onSelect:function(Qr){Sr(Qr,"mouse")}})))}var Kr=yr;function Tr(De){var _e=De.prefixCls,qe=De.generateConfig,$t=De.locale,un=De.value,qn=De.disabledDate,jn=De.onSelect,Er=he.useContext(wn),Sr=Er.rangedValue,Wr=Er.hoverRangedValue,Fi=he.useContext(He),Xr=Fi.onDateMouseEnter,Qr=Fi.onDateMouseLeave,vi=(Wr==null?void 0:Wr[0])||(Sr==null?void 0:Sr[0]),Si=(Wr==null?void 0:Wr[1])||(Sr==null?void 0:Sr[1]),mr="".concat(_e,"-cell"),jr=function(sa){var fa=dn({cellDate:sa,mode:"week",disabledDate:qn,generateConfig:qe});return he.createElement("td",{key:"week",className:Ue()(mr,"".concat(mr,"-week")),onClick:function(){fa||jn(sa,"mouse")},onMouseEnter:function(){!fa&&Xr&&Xr(sa)},onMouseLeave:function(){!fa&&Qr&&Qr(sa)}},he.createElement("div",{className:"".concat(mr,"-inner")},qe.locale.getWeek($t.locale,sa)))},bi="".concat(_e,"-week-panel-row"),ca=function(sa){var fa,ia=kt(qe,$t.locale,vi,sa),ea=kt(qe,$t.locale,Si,sa);return Ue()(bi,(fa={},(0,jt.Z)(fa,"".concat(bi,"-selected"),!Sr&&kt(qe,$t.locale,un,sa)),(0,jt.Z)(fa,"".concat(bi,"-range-start"),ia),(0,jt.Z)(fa,"".concat(bi,"-range-end"),ea),(0,jt.Z)(fa,"".concat(bi,"-range-hover"),!ia&&!ea&&cn(qe,vi,Si,sa)),fa))};return he.createElement(ir,(0,ze.Z)({},De,{panelName:"week",prefixColumn:jr,rowClassName:ca,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Zr=Tr,wi=10;function ua(De){var _e=De.prefixCls,qe=De.generateConfig,$t=De.viewDate,un=De.onPrevDecade,qn=De.onNextDecade,jn=De.onDecadeClick,Er=he.useContext(He),Sr=Er.hideHeader;if(Sr)return null;var Wr="".concat(_e,"-header"),Fi=qe.getYear($t),Xr=Math.floor(Fi/wi)*wi,Qr=Xr+wi-1;return he.createElement(Dn,(0,ze.Z)({},De,{prefixCls:Wr,onSuperPrev:un,onSuperNext:qn}),he.createElement("button",{type:"button",onClick:jn,className:"".concat(_e,"-decade-btn")},Xr,"-",Qr))}var la=ua,va=3,$i=4;function ga(De){var _e=De.prefixCls,qe=De.value,$t=De.viewDate,un=De.locale,qn=De.generateConfig,jn=De.cellRender,Er=he.useContext(wn),Sr=Er.rangedValue,Wr=Er.hoverRangedValue,Fi="".concat(_e,"-cell"),Xr=qn.getYear($t),Qr=Math.floor(Xr/wi)*wi,vi=Qr+wi-1,Si=qn.setYear($t,Qr-Math.ceil((va*$i-wi)/2)),mr=qn.getNow(),jr=function(sa){var fa=qn.getYear(sa);return Qr<=fa&&fa<=vi},bi=In({cellPrefixCls:Fi,value:qe,generateConfig:qn,rangedValue:Sr,hoverRangedValue:Wr,isSameCell:function(sa,fa){return Me(qn,sa,fa)},isInView:jr,offsetCell:function(sa,fa){return qn.addYear(sa,fa)}}),ca=jn?function(qi,sa){return jn(qi,{originNode:sa,today:mr,type:"year",locale:un})}:void 0;return he.createElement(Ir,(0,ze.Z)({},De,{rowNum:$i,colNum:va,baseDate:Si,getCellNode:ca,getCellText:qn.getYear,getCellClassName:bi,getCellDate:qn.addYear,titleCell:function(sa){return tt(sa,{locale:un,format:"YYYY",generateConfig:qn})}}))}var Wa=ga;function Xa(De){var _e=De.prefixCls,qe=De.operationRef,$t=De.onViewDateChange,un=De.generateConfig,qn=De.value,jn=De.viewDate,Er=De.sourceMode,Sr=De.onSelect,Wr=De.onPanelChange,Fi="".concat(_e,"-year-panel");qe.current={onKeyDown:function(vi){return xr(vi,{onLeftRight:function(mr){Sr(un.addYear(qn||jn,mr),"key")},onCtrlLeftRight:function(mr){Sr(un.addYear(qn||jn,mr*wi),"key")},onUpDown:function(mr){Sr(un.addYear(qn||jn,mr*va),"key")},onEnter:function(){Wr(Er==="date"?"date":"month",qn||jn)}})}};var Xr=function(vi){var Si=un.addYear(jn,vi*10);$t(Si),Wr(null,Si)};return he.createElement("div",{className:Fi},he.createElement(la,(0,ze.Z)({},De,{prefixCls:_e,onPrevDecade:function(){Xr(-1)},onNextDecade:function(){Xr(1)},onDecadeClick:function(){Wr("decade",jn)}})),he.createElement(Wa,(0,ze.Z)({},De,{prefixCls:_e,onSelect:function(vi){Wr(Er==="date"?"date":"month",vi),Sr(vi,"mouse")}})))}var oo=Xa;function yo(De,_e,qe){return qe?he.createElement("div",{className:"".concat(De,"-footer-extra")},qe(_e)):null}function so(De){var _e=De.prefixCls,qe=De.components,$t=qe===void 0?{}:qe,un=De.needConfirmButton,qn=De.onNow,jn=De.onOk,Er=De.okDisabled,Sr=De.showNow,Wr=De.locale,Fi,Xr;if(un){var Qr=$t.button||"button";qn&&Sr!==!1&&(Fi=he.createElement("li",{className:"".concat(_e,"-now")},he.createElement("a",{className:"".concat(_e,"-now-btn"),onClick:qn},Wr.now))),Xr=un&&he.createElement("li",{className:"".concat(_e,"-ok")},he.createElement(Qr,{disabled:Er,onClick:jn},Wr.ok))}return!Fi&&!Xr?null:he.createElement("ul",{className:"".concat(_e,"-ranges")},Fi,Xr)}var sl=["date","month"];function ja(De){var _e,qe=De,$t=qe.prefixCls,un=$t===void 0?"rc-picker":$t,qn=qe.className,jn=qe.style,Er=qe.locale,Sr=qe.generateConfig,Wr=qe.value,Fi=qe.defaultValue,Xr=qe.pickerValue,Qr=qe.defaultPickerValue,vi=qe.disabledDate,Si=qe.mode,mr=qe.picker,jr=mr===void 0?"date":mr,bi=qe.tabIndex,ca=bi===void 0?0:bi,qi=qe.showNow,sa=qe.showTime,fa=qe.showToday,ia=qe.renderExtraFooter,ea=qe.hideHeader,lo=qe.onSelect,Ya=qe.onChange,ao=qe.onPanelChange,ko=qe.onMouseDown,Do=qe.onPickerValueChange,zo=qe.onOk,el=qe.components,co=qe.direction,fo=qe.hourStep,xo=fo===void 0?1:fo,Go=qe.minuteStep,rl=Go===void 0?1:Go,Oo=qe.secondStep,Co=Oo===void 0?1:Oo,bl=qe.dateRender,Kl=qe.monthCellRender,Ve=qe.cellRender,$e=jr==="date"&&!!sa||jr==="time",Kt=24%xo===0,qt=60%rl===0,vn=60%Co===0,mn=he.useContext(He),_n=mn.operationRef,Kn=mn.onSelect,Zn=mn.hideRanges,fr=mn.defaultOpenValue,sr=he.useContext(wn),cr=sr.inRange,Gr=sr.panelPosition,Ur=sr.rangedValue,Jr=sr.hoverRangedValue,xi=he.useRef({}),pi=he.useRef(!0),Oi=(0,xe.Z)(null,{value:Wr,defaultValue:Fi,postState:function(qr){return!qr&&fr&&jr==="time"?fr:qr}}),Ai=(0,Ot.Z)(Oi,2),Ri=Ai[0],ya=Ai[1],Ea=(0,xe.Z)(null,{value:Xr,defaultValue:Qr||Ri,postState:function(qr){var Gi=Sr.getNow();if(!qr)return Gi;if(!Ri&&sa){var za=(0,Ke.Z)(sa)==="object"?sa.defaultValue:Fi;return lr(Sr,Array.isArray(qr)?qr[0]:qr,za||Gi)}return Array.isArray(qr)?qr[0]:qr}}),aa=(0,Ot.Z)(Ea,2),ba=aa[0],Ka=aa[1],ji=function(qr){Ka(qr),Do&&Do(qr)},ha=function(qr){var Gi=an[jr];return Gi?Gi(qr):qr},Qi=(0,xe.Z)(function(){return jr==="time"?"time":ha("date")},{value:Si}),Ei=(0,Ot.Z)(Qi,2),Ni=Ei[0],xa=Ei[1];he.useEffect(function(){xa(jr)},[jr]);var Ja=he.useState(function(){return Ni}),wa=(0,Ot.Z)(Ja,2),Li=wa[0],Fa=wa[1],Za=function(qr,Gi){var za=ha(qr||Ni);Fa(Ni),xa(za),ao&&(Ni!==za||Qt(Sr,ba,ba))&&ao(Gi,za)},Ua=function(qr,Gi){var za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ni===jr||za)&&(ya(qr),lo&&lo(qr),Kn&&Kn(qr,Gi),Ya&&!Qt(Sr,qr,Ri)&&!(vi!=null&&vi(qr))&&Ya(qr))},$a=function(qr){if(sl.includes(Ni)){var Gi,za,eo=Ni==="date";switch(qr===Gt.Z.PAGE_UP||qr===Gt.Z.PAGE_DOWN?za=eo?Sr.addMonth:Sr.addYear:za=eo?Sr.addDate:Sr.addMonth,qr){case Gt.Z.LEFT:case Gt.Z.PAGE_UP:Gi=za(ba,-1);break;case Gt.Z.RIGHT:case Gt.Z.PAGE_DOWN:Gi=za(ba,1);break;case Gt.Z.UP:case Gt.Z.DOWN:Gi=za(ba,Number("".concat(qr===Gt.Z.UP?"-":"").concat(eo?Fe:gn)));break}if(Gi)return!(vi!=null&&vi(Gi))}return!0},Ho=function(qr){if(xi.current&&xi.current.onKeyDown){var Gi=!0,za=qr.which;if([Gt.Z.LEFT,Gt.Z.RIGHT,Gt.Z.UP,Gt.Z.DOWN,Gt.Z.PAGE_UP,Gt.Z.PAGE_DOWN,Gt.Z.ENTER].includes(za)&&(qr.preventDefault(),za!==Gt.Z.ENTER&&ca===0&&(Gi=$a(za))),Gi)return xi.current.onKeyDown(qr)}return(0,Ce.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},ro=function(qr){xi.current&&xi.current.onBlur&&xi.current.onBlur(qr)};_n&&Gr!=="right"&&(_n.current={onKeyDown:Ho,onClose:function(){xi.current&&xi.current.onClose&&xi.current.onClose()}}),he.useEffect(function(){Wr&&!pi.current&&Ka(Wr)},[Wr]),he.useEffect(function(){pi.current=!1},[]);var Oa,Uo=Bt({cellRender:Ve,monthCellRender:Kl,dateRender:bl}),Aa=(0,Jt.Z)((0,Jt.Z)({},De),{},{cellRender:Uo,operationRef:xi,prefixCls:un,viewDate:ba,value:Ri,onViewDateChange:ji,sourceMode:Li,onPanelChange:Za,disabledDate:vi});switch(delete Aa.onChange,delete Aa.onSelect,Ni){case"decade":Oa=he.createElement(rt,(0,ze.Z)({},Aa,{onSelect:function(qr,Gi){ji(qr),Ua(qr,Gi)}}));break;case"year":Oa=he.createElement(oo,(0,ze.Z)({},Aa,{onSelect:function(qr,Gi){ji(qr),Ua(qr,Gi)}}));break;case"month":Oa=he.createElement(Qn,(0,ze.Z)({},Aa,{onSelect:function(qr,Gi){ji(qr),Ua(qr,Gi)}}));break;case"quarter":Oa=he.createElement(Kr,(0,ze.Z)({},Aa,{onSelect:function(qr,Gi){ji(qr),Ua(qr,Gi)}}));break;case"week":Oa=he.createElement(Zr,(0,ze.Z)({},Aa,{onSelect:function(qr,Gi){ji(qr),Ua(qr,Gi)}}));break;case"time":delete Aa.showTime,Oa=he.createElement(Vr,(0,ze.Z)({},Aa,(0,Ke.Z)(sa)==="object"?sa:null,{onSelect:function(qr,Gi){ji(qr),Ua(qr,Gi)}}));break;default:sa?Oa=he.createElement(ki,(0,ze.Z)({},Aa,{onSelect:function(qr,Gi){ji(qr),Ua(qr,Gi)}})):Oa=he.createElement(ir,(0,ze.Z)({},Aa,{onSelect:function(qr,Gi){ji(qr),Ua(qr,Gi)}}))}var Lo,wo,tl=function(){var qr=Sr.getNow(),Gi=ar(Sr.getHour(qr),Sr.getMinute(qr),Sr.getSecond(qr),Kt?xo:1,qt?rl:1,vn?Co:1),za=pr(Sr,qr,Gi[0],Gi[1],Gi[2]);Ua(za,"submit")};Zn||(Lo=yo(un,Ni,ia),sa&&Ni!=="date"?wo=null:wo=so({prefixCls:un,components:el,needConfirmButton:$e,okDisabled:!Ri||vi&&vi(Ri),locale:Er,showNow:qi,onNow:$e&&tl,onOk:function(){Ri&&(Ua(Ri,"submit",!0),zo&&zo(Ri))}}));var Da;if(fa&&Ni==="date"&&jr==="date"&&!sa){var Ca=Sr.getNow(),Ma="".concat(un,"-today-btn"),ma=vi&&vi(Ca);Da=he.createElement("a",{className:Ue()(Ma,ma&&"".concat(Ma,"-disabled")),"aria-disabled":ma,onClick:function(){ma||Ua(Ca,"mouse",!0)}},Er.today)}return he.createElement(He.Provider,{value:(0,Jt.Z)((0,Jt.Z)({},mn),{},{mode:Ni,hideHeader:"hideHeader"in De?ea:mn.hideHeader,hidePrevBtn:cr&&Gr==="right",hideNextBtn:cr&&Gr==="left"})},he.createElement("div",{tabIndex:ca,className:Ue()("".concat(un,"-panel"),qn,(_e={},(0,jt.Z)(_e,"".concat(un,"-panel-has-range"),Ur&&Ur[0]&&Ur[1]),(0,jt.Z)(_e,"".concat(un,"-panel-has-range-hover"),Jr&&Jr[0]&&Jr[1]),(0,jt.Z)(_e,"".concat(un,"-panel-rtl"),co==="rtl"),_e)),style:jn,onKeyDown:Ho,onBlur:ro,onMouseDown:ko},Oa,Lo||wo||Da?he.createElement("div",{className:"".concat(un,"-footer")},Lo,wo,Da):null))}var Va=ja,Gn=ie(35593),Hn={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 Fn(De){var _e,qe=De.prefixCls,$t=De.popupElement,un=De.popupStyle,qn=De.visible,jn=De.dropdownClassName,Er=De.dropdownAlign,Sr=De.transitionName,Wr=De.getPopupContainer,Fi=De.children,Xr=De.range,Qr=De.popupPlacement,vi=De.direction,Si="".concat(qe,"-dropdown"),mr=function(){return Qr!==void 0?Qr:vi==="rtl"?"bottomRight":"bottomLeft"};return he.createElement(Gn.Z,{showAction:[],hideAction:[],popupPlacement:mr(),builtinPlacements:Hn,prefixCls:Si,popupTransitionName:Sr,popup:$t,popupAlign:Er,popupVisible:qn,popupClassName:Ue()(jn,(_e={},(0,jt.Z)(_e,"".concat(Si,"-range"),Xr),(0,jt.Z)(_e,"".concat(Si,"-rtl"),vi==="rtl"),_e)),popupStyle:un,getPopupContainer:Wr},Fi)}var gr=Fn;function Rr(De){var _e=De.prefixCls,qe=De.presets,$t=De.onClick,un=De.onHover;return qe.length?he.createElement("div",{className:"".concat(_e,"-presets")},he.createElement("ul",null,qe.map(function(qn,jn){var Er=qn.label,Sr=qn.value;return he.createElement("li",{key:jn,onClick:function(){return $t==null?void 0:$t(Jn(Sr))},onMouseEnter:function(){return un==null?void 0:un(Jn(Sr))},onMouseLeave:function(){return un==null?void 0:un(null)}},Er)}))):null}function Or(De){var _e=De.picker,qe=De.disabledHours,$t=De.disabledMinutes,un=De.disabledSeconds;_e==="time"&&(qe||$t||un)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ur(De,_e,qe){var $t=(0,Ke.Z)(_e)==="object"?_e.clearIcon:qe;return $t||he.createElement("span",{className:"".concat(De,"-clear-btn")})}function ci(De){var _e,qe=De,$t=qe.prefixCls,un=$t===void 0?"rc-picker":$t,qn=qe.id,jn=qe.name,Er=qe.tabIndex,Sr=qe.style,Wr=qe.className,Fi=qe.dropdownClassName,Xr=qe.dropdownAlign,Qr=qe.popupStyle,vi=qe.transitionName,Si=qe.generateConfig,mr=qe.locale,jr=qe.inputReadOnly,bi=qe.allowClear,ca=qe.autoFocus,qi=qe.showTime,sa=qe.picker,fa=sa===void 0?"date":sa,ia=qe.format,ea=qe.use12Hours,lo=qe.value,Ya=qe.defaultValue,ao=qe.presets,ko=qe.open,Do=qe.defaultOpen,zo=qe.defaultOpenValue,el=qe.suffixIcon,co=qe.clearIcon,fo=qe.disabled,xo=qe.disabledDate,Go=qe.placeholder,rl=qe.getPopupContainer,Oo=qe.pickerRef,Co=qe.panelRender,bl=qe.onChange,Kl=qe.onOpenChange,Ve=qe.onFocus,$e=qe.onBlur,Kt=qe.onMouseDown,qt=qe.onMouseUp,vn=qe.onMouseEnter,mn=qe.onMouseLeave,_n=qe.onContextMenu,Kn=qe.onClick,Zn=qe.onKeyDown,fr=qe.onSelect,sr=qe.direction,cr=qe.autoComplete,Gr=cr===void 0?"off":cr,Ur=qe.inputRender,Jr=qe.changeOnBlur,xi=he.useRef(null),pi=fa==="date"&&!!qi||fa==="time",Oi=$n(ao),Ai=nn(Br(ia,fa,qi,ea)),Ri=he.useRef(null),ya=he.useRef(null),Ea=he.useRef(null),aa=(0,xe.Z)(null,{value:lo,defaultValue:Ya}),ba=(0,Ot.Z)(aa,2),Ka=ba[0],ji=ba[1],ha=he.useState(Ka),Qi=(0,Ot.Z)(ha,2),Ei=Qi[0],Ni=Qi[1],xa=he.useRef(null),Ja=(0,xe.Z)(!1,{value:ko,defaultValue:Do,postState:function(Ta){return fo?!1:Ta},onChange:function(Ta){Kl&&Kl(Ta),!Ta&&xa.current&&xa.current.onClose&&xa.current.onClose()}}),wa=(0,Ot.Z)(Ja,2),Li=wa[0],Fa=wa[1],Za=An(Ei,{formatList:Ai,generateConfig:Si,locale:mr}),Ua=(0,Ot.Z)(Za,2),$a=Ua[0],Ho=Ua[1],ro=Ie({valueTexts:$a,onTextChange:function(Ta){var al=ln(Ta,{locale:mr,formatList:Ai,generateConfig:Si});al&&(!xo||!xo(al))&&Ni(al)}}),Oa=(0,Ot.Z)(ro,3),Uo=Oa[0],Aa=Oa[1],Lo=Oa[2],wo=function(Ta){Ni(Ta),ji(Ta),bl&&!Qt(Si,Ka,Ta)&&bl(Ta,Ta?tt(Ta,{generateConfig:Si,locale:mr,format:Ai[0]}):"")},tl=function(Ta){fo&&Ta||Fa(Ta)},Da=function(Ta){return Li&&xa.current&&xa.current.onKeyDown?xa.current.onKeyDown(Ta):((0,Ce.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ca=function(){for(var Ta=arguments.length,al=new Array(Ta),nl=0;nl<Ta;nl++)al[nl]=arguments[nl];Kn==null||Kn.apply(void 0,al),xi.current&&(xi.current.focus(),tl(!0))},Ma=function(Ta){Jr&&wo(Ei),$e==null||$e(Ta)},ma=rn({blurToCancel:pi,open:Li,value:Uo,triggerOpen:tl,forwardKeyDown:Da,isClickOutside:function(Ta){return!sn([Ri.current,ya.current,Ea.current],Ta)},onSubmit:function(){return!Ei||xo&&xo(Ei)?!1:(wo(Ei),tl(!1),Lo(),!0)},onCancel:function(){tl(!1),Ni(Ka),Lo()},onKeyDown:function(Ta,al){Zn==null||Zn(Ta,al)},onFocus:Ve,onBlur:Ma,changeOnBlur:Jr}),na=(0,Ot.Z)(ma,2),qr=na[0],Gi=na[1],za=Gi.focused,eo=Gi.typing;he.useEffect(function(){Li||(Ni(Ka),!$a.length||$a[0]===""?Aa(""):Ho!==Uo&&Lo())},[Li,$a]),he.useEffect(function(){Li||Lo()},[fa]),he.useEffect(function(){Ni(Ka)},[Ka]),Oo&&(Oo.current={focus:function(){var Ta;(Ta=xi.current)===null||Ta===void 0||Ta.focus()},blur:function(){var Ta;(Ta=xi.current)===null||Ta===void 0||Ta.blur()}});var Gl=Xn(Uo,{formatList:Ai,generateConfig:Si,locale:mr}),El=(0,Ot.Z)(Gl,3),Ls=El[0],hl=El[1],pl=El[2],Ba=(0,Jt.Z)((0,Jt.Z)({},De),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Il=he.createElement("div",{className:"".concat(un,"-panel-layout")},he.createElement(Rr,{prefixCls:un,presets:Oi,onClick:function(Ta){wo(Ta),tl(!1)}}),he.createElement(Va,(0,ze.Z)({},Ba,{generateConfig:Si,className:Ue()((0,jt.Z)({},"".concat(un,"-panel-focused"),!eo)),value:Ei,locale:mr,tabIndex:-1,onSelect:function(Ta){fr==null||fr(Ta),Ni(Ta)},direction:sr,onPanelChange:function(Ta,al){var nl=De.onPanelChange;pl(!0),nl==null||nl(Ta,al)}})));Co&&(Il=Co(Il));var os=he.createElement("div",{className:"".concat(un,"-panel-container"),ref:Ri,onMouseDown:function(Ta){Ta.preventDefault()}},Il),vo;el&&(vo=he.createElement("span",{className:"".concat(un,"-suffix"),onMouseDown:function(Ta){Ta.preventDefault()}},el));var Di=ur(un,bi,co),Bo=he.createElement("span",{onMouseDown:function(Ta){Ta.preventDefault(),Ta.stopPropagation()},onMouseUp:function(Ta){Ta.preventDefault(),Ta.stopPropagation(),wo(null),tl(!1)},className:"".concat(un,"-clear"),role:"button"},Di),Al=!!bi&&Ka&&!fo,Ml=(0,Jt.Z)((0,Jt.Z)((0,Jt.Z)({id:qn,tabIndex:Er,disabled:fo,readOnly:jr||typeof Ai[0]=="function"||!eo,value:Ls||Uo,onChange:function(Ta){Aa(Ta.target.value)},autoFocus:ca,placeholder:Go,ref:xi,title:Uo},qr),{},{size:ti(fa,Ai[0],Si),name:jn},(0,ce.Z)(De,{aria:!0,data:!0})),{},{autoComplete:Gr}),_a=Ur?Ur(Ml):he.createElement("input",Ml),No=function(Ta,al){(al==="submit"||al!=="key"&&!pi)&&(wo(Ta),tl(!1))},Zl=sr==="rtl"?"bottomRight":"bottomLeft";return he.createElement(He.Provider,{value:{operationRef:xa,hideHeader:fa==="time",onSelect:No,open:Li,defaultOpenValue:zo,onDateMouseEnter:hl,onDateMouseLeave:pl}},he.createElement(gr,{visible:Li,popupElement:os,popupStyle:Qr,prefixCls:un,dropdownClassName:Fi,dropdownAlign:Xr,getPopupContainer:rl,transitionName:vi,popupPlacement:Zl,direction:sr},he.createElement("div",{ref:Ea,className:Ue()(un,Wr,(_e={},(0,jt.Z)(_e,"".concat(un,"-disabled"),fo),(0,jt.Z)(_e,"".concat(un,"-focused"),za),(0,jt.Z)(_e,"".concat(un,"-rtl"),sr==="rtl"),_e)),style:Sr,onMouseDown:Kt,onMouseUp:qt,onMouseEnter:vn,onMouseLeave:mn,onContextMenu:_n,onClick:Ca},he.createElement("div",{className:Ue()("".concat(un,"-input"),(0,jt.Z)({},"".concat(un,"-input-placeholder"),!!Ls)),ref:ya},_a,vo,Al&&Bo))))}var _i=function(De){(0,Ut.Z)(qe,De);var _e=(0,Sn.Z)(qe);function qe(){var $t;(0,st.Z)(this,qe);for(var un=arguments.length,qn=new Array(un),jn=0;jn<un;jn++)qn[jn]=arguments[jn];return $t=_e.call.apply(_e,[this].concat(qn)),(0,jt.Z)((0,yn.Z)($t),"pickerRef",he.createRef()),(0,jt.Z)((0,yn.Z)($t),"focus",function(){$t.pickerRef.current&&$t.pickerRef.current.focus()}),(0,jt.Z)((0,yn.Z)($t),"blur",function(){$t.pickerRef.current&&$t.pickerRef.current.blur()}),$t}return(0,Ht.Z)(qe,[{key:"render",value:function(){return he.createElement(ci,(0,ze.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),qe}(he.Component),Ji=_i;function Zi(De,_e){var qe=De.picker,$t=De.locale,un=De.selectedValue,qn=De.disabledDate,jn=De.disabled,Er=De.generateConfig,Sr=hn(un,0),Wr=hn(un,1);function Fi(mr){return Er.locale.getWeekFirstDate($t.locale,mr)}function Xr(mr){var jr=Er.getYear(mr),bi=Er.getMonth(mr);return jr*100+bi}function Qr(mr){var jr=Er.getYear(mr),bi=Lt(Er,mr);return jr*10+bi}var vi=he.useCallback(function(mr){if(jn[0]||qn&&qn(mr))return!0;if(jn[1]&&Wr)return!Zt(Er,mr,Wr)&&Er.isAfter(mr,Wr);if(!_e&&Wr)switch(qe){case"quarter":return Qr(mr)>Qr(Wr);case"month":return Xr(mr)>Xr(Wr);case"week":return Fi(mr)>Fi(Wr);default:return!Zt(Er,mr,Wr)&&Er.isAfter(mr,Wr)}return!1},[qn,jn[1],Wr,_e]),Si=he.useCallback(function(mr){if(jn[1]||qn&&qn(mr))return!0;if(jn[0]&&Sr)return!Zt(Er,mr,Wr)&&Er.isAfter(Sr,mr);if(!_e&&Sr)switch(qe){case"quarter":return Qr(mr)<Qr(Sr);case"month":return Xr(mr)<Xr(Sr);case"week":return Fi(mr)<Fi(Sr);default:return!Zt(Er,mr,Sr)&&Er.isAfter(Sr,mr)}return!1},[qn,jn[0],Sr,_e]);return[vi,Si]}var di=ie(70425),Vi=ie(6089);function Hi(De,_e,qe,$t,un,qn,jn,Er,Sr,Wr){var Fi=he.useState(!1),Xr=(0,Ot.Z)(Fi,2),Qr=Xr[0],vi=Xr[1],Si=(0,di.useMergedState)(De||!1,{value:_e}),mr=(0,Ot.Z)(Si,2),jr=mr[0],bi=mr[1],ca=(0,di.useMergedState)(De||!1,{value:_e,onChange:function(xo){Wr==null||Wr(xo)}}),qi=(0,Ot.Z)(ca,2),sa=qi[0],fa=qi[1],ia=(0,di.useMergedState)(0,{value:qe}),ea=(0,Ot.Z)(ia,2),lo=ea[0],Ya=ea[1],ao=he.useState(null),ko=(0,Ot.Z)(ao,2),Do=ko[0],zo=ko[1];he.useEffect(function(){sa&&vi(!0)},[sa]);var el=function(xo){return xo===0?1:0},co=(0,Vi.Z)(function(fo,xo,Go){if(xo===!1)fa(fo);else if(fo){Ya(xo),fa(fo);var rl=el(xo);!sa||![jn,Er][rl]?zo(rl):(vi(!1),Do!==null&&zo(null))}else if(Go==="confirm"||Go==="blur"&&$t){var Oo=jr?el(xo):Do;Oo!==null&&(vi(!1),Ya(Oo)),zo(null),Oo!==null&&!Sr[Oo]?(0,nr.Z)(function(){var Co,bl=[un,qn][Oo];(Co=bl.current)===null||Co===void 0||Co.focus()}):fa(!1)}else fa(!1),bi(!1)});return[sa,lo,Qr,co]}function La(De,_e,qe,$t){var un=Oe(De,qe,$t,1);function qn(jn){return jn(De,_e)?"same":jn(un,_e)?"closing":"far"}switch(qe){case"year":return qn(function(jn,Er){return Ze($t,jn,Er)});case"quarter":case"month":return qn(function(jn,Er){return Me($t,jn,Er)});default:return qn(function(jn,Er){return et($t,jn,Er)})}}function Yi(De,_e,qe,$t){var un=hn(De,0),qn=hn(De,1);if(_e===0)return un;if(un&&qn){var jn=La(un,qn,qe,$t);switch(jn){case"same":return un;case"closing":return un;default:return Oe(qn,qe,$t,-1)}}return un}function ra(De){var _e=De.values,qe=De.picker,$t=De.defaultDates,un=De.generateConfig,qn=he.useState(function(){return[hn($t,0),hn($t,1)]}),jn=(0,Ot.Z)(qn,2),Er=jn[0],Sr=jn[1],Wr=he.useState(null),Fi=(0,Ot.Z)(Wr,2),Xr=Fi[0],Qr=Fi[1],vi=hn(_e,0),Si=hn(_e,1);function mr(bi){return Er[bi]?Er[bi]:hn(Xr,bi)||Yi(_e,bi,qe,un)||vi||Si||un.getNow()}function jr(bi,ca){if(bi){var qi=Pn(Xr,bi,ca);Sr(Pn(Er,null,ca)||[null,null]);var sa=(ca+1)%2;hn(_e,sa)||(qi=Pn(qi,bi,sa)),Qr(qi)}else(vi||Si)&&Qr(null)}return[mr,jr]}function Ia(De,_e){return De&&De[0]&&De[1]&&_e.isAfter(De[0],De[1])?[De[1],De[0]]:De}function io(De,_e,qe,$t){return!!(De||$t&&$t[_e]||qe[(_e+1)%2])}function po(De){var _e,qe,$t,un=De,qn=un.prefixCls,jn=qn===void 0?"rc-picker":qn,Er=un.id,Sr=un.style,Wr=un.className,Fi=un.popupStyle,Xr=un.dropdownClassName,Qr=un.transitionName,vi=un.dropdownAlign,Si=un.getPopupContainer,mr=un.generateConfig,jr=un.locale,bi=un.placeholder,ca=un.autoFocus,qi=un.disabled,sa=un.format,fa=un.picker,ia=fa===void 0?"date":fa,ea=un.showTime,lo=un.use12Hours,Ya=un.separator,ao=Ya===void 0?"~":Ya,ko=un.value,Do=un.defaultValue,zo=un.defaultPickerValue,el=un.open,co=un.defaultOpen,fo=un.disabledDate,xo=un.disabledTime,Go=un.dateRender,rl=un.monthCellRender,Oo=un.cellRender,Co=un.panelRender,bl=un.presets,Kl=un.ranges,Ve=un.allowEmpty,$e=un.allowClear,Kt=un.suffixIcon,qt=un.clearIcon,vn=un.pickerRef,mn=un.inputReadOnly,_n=un.mode,Kn=un.renderExtraFooter,Zn=un.onChange,fr=un.onOpenChange,sr=un.onPanelChange,cr=un.onCalendarChange,Gr=un.onFocus,Ur=un.onBlur,Jr=un.onMouseDown,xi=un.onMouseUp,pi=un.onMouseEnter,Oi=un.onMouseLeave,Ai=un.onClick,Ri=un.onOk,ya=un.onKeyDown,Ea=un.components,aa=un.order,ba=un.direction,Ka=un.activePickerIndex,ji=un.autoComplete,ha=ji===void 0?"off":ji,Qi=un.changeOnBlur,Ei=ia==="date"&&!!ea||ia==="time",Ni=(0,he.useRef)(null),xa=(0,he.useRef)(null),Ja=(0,he.useRef)(null),wa=(0,he.useRef)(null),Li=(0,he.useRef)(null),Fa=(0,he.useRef)(null),Za=(0,he.useRef)(null),Ua=(0,he.useRef)(null),$a=nn(Br(sa,ia,ea,lo)),Ho=(0,he.useRef)(null),ro=he.useMemo(function(){return Array.isArray(qi)?qi:[qi||!1,qi||!1]},[qi]),Oa=(0,xe.Z)(null,{value:ko,defaultValue:Do,postState:function(Na){return ia==="time"&&!aa?Na:Ia(Na,mr)}}),Uo=(0,Ot.Z)(Oa,2),Aa=Uo[0],Lo=Uo[1],wo=ra({values:Aa,picker:ia,defaultDates:zo,generateConfig:mr}),tl=(0,Ot.Z)(wo,2),Da=tl[0],Ca=tl[1],Ma=(0,xe.Z)(Aa,{postState:function(Na){var Ra=Na;if(ro[0]&&ro[1])return Ra;for(var Po=0;Po<2;Po+=1)ro[Po]&&!Ra&&!hn(Ra,Po)&&!hn(Ve,Po)&&(Ra=Pn(Ra,mr.getNow(),Po));return Ra}}),ma=(0,Ot.Z)(Ma,2),na=ma[0],qr=ma[1],Gi=(0,xe.Z)([ia,ia],{value:_n}),za=(0,Ot.Z)(Gi,2),eo=za[0],Gl=za[1];(0,he.useEffect)(function(){Gl([ia,ia])},[ia]);var El=function(Na,Ra){Gl(Na),sr&&sr(Ra,Na)},Ls=Hi(co,el,Ka,Qi,Fa,Za,hn(na,0),hn(na,1),ro,fr),hl=(0,Ot.Z)(Ls,4),pl=hl[0],Ba=hl[1],Il=hl[2],os=hl[3],vo=pl&&Ba===0,Di=pl&&Ba===1,Bo=Zi({picker:ia,selectedValue:na,locale:jr,disabled:ro,disabledDate:fo,generateConfig:mr},!pl||Il),Al=(0,Ot.Z)(Bo,2),Ml=Al[0],_a=Al[1],No=(0,he.useState)(0),Zl=(0,Ot.Z)(No,2),To=Zl[0],Ta=Zl[1];(0,he.useEffect)(function(){!pl&&Ni.current&&Ta(Ni.current.offsetWidth)},[pl]);function al(Qo){os(!0,Qo,"open"),(0,nr.Z)(function(){var Na,Ra=[Fa,Za][Qo];(Na=Ra.current)===null||Na===void 0||Na.focus()},0)}function nl(Qo,Na){var Ra=Qo,Po=hn(Ra,0),Wl=hn(Ra,1);Po&&Wl&&mr.isAfter(Po,Wl)&&(ia==="week"&&!kt(mr,jr.locale,Po,Wl)||ia==="quarter"&&!bt(mr,Po,Wl)||ia!=="week"&&ia!=="quarter"&&ia!=="time"&&!Zt(mr,Po,Wl)?Na===0?(Ra=[Po,null],Wl=null):(Po=null,Ra=[null,Wl]):(ia!=="time"||aa!==!1)&&(Ra=Ia(Ra,mr))),qr(Ra);var Ju=Ra&&Ra[0]?tt(Ra[0],{generateConfig:mr,locale:jr,format:$a[0]}):"",Zs=Ra&&Ra[1]?tt(Ra[1],{generateConfig:mr,locale:jr,format:$a[0]}):"";if(cr){var Hu={range:Na===0?"start":"end"};cr(Ra,[Ju,Zs],Hu)}var Du=io(Po,0,ro,Ve),zc=io(Wl,1,ro,Ve),lc=Ra===null||Du&&zc;lc&&(Lo(Ra),Zn&&(!Qt(mr,hn(Aa,0),Po)||!Qt(mr,hn(Aa,1),Wl))&&Zn(Ra,[Ju,Zs]))}var au=function(Na){return pl&&Ho.current&&Ho.current.onKeyDown?Ho.current.onKeyDown(Na):((0,Ce.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ls={formatList:$a,generateConfig:mr,locale:jr},Fs=An(hn(na,0),ls),us=(0,Ot.Z)(Fs,2),ol=us[0],xl=us[1],Ss=An(hn(na,1),ls),su=(0,Ot.Z)(Ss,2),Os=su[0],uu=su[1],bu=function(Na,Ra){var Po=ln(Na,{locale:jr,formatList:$a,generateConfig:mr}),Wl=Ra===0?Ml:_a;Po&&!Wl(Po)&&(qr(Pn(na,Po,Ra)),Ca(Po,Ra))},fc=Ie({valueTexts:ol,onTextChange:function(Na){return bu(Na,0)}}),So=(0,Ot.Z)(fc,3),Ko=So[0],Ul=So[1],Yo=So[2],ql=Ie({valueTexts:Os,onTextChange:function(Na){return bu(Na,1)}}),$l=(0,Ot.Z)(ql,3),gs=$l[0],cu=$l[1],hc=$l[2],Iu=(0,he.useState)(null),du=(0,Ot.Z)(Iu,2),Eo=du[0],Cl=du[1],fu=(0,he.useState)(null),Lu=(0,Ot.Z)(fu,2),vs=Lu[0],Lc=Lu[1],Yl=Xn(Ko,{formatList:$a,generateConfig:mr,locale:jr}),ic=(0,Ot.Z)(Yl,3),Fc=ic[0],pc=ic[1],Gu=ic[2],Uu=Xn(gs,{formatList:$a,generateConfig:mr,locale:jr}),Mu=(0,Ot.Z)(Uu,3),zi=Mu[0],Oc=Mu[1],Yu=Mu[2],mc=function(Na){Lc(Pn(na,Na,Ba)),Ba===0?pc(Na):Oc(Na)},ou=function(){Lc(Pn(na,null,Ba)),Ba===0?Gu():Yu()},Fu=he.useState(pl),Tu=(0,Ot.Z)(Fu,2),Ru=Tu[0],gl=Tu[1];he.useEffect(function(){gl(pl)},[pl]);var Uc=function(Na){if(Qi&&Ru){var Ra=hn(na,Ba);Ra&&nl(na,Ba)}return Ur==null?void 0:Ur(Na)},ac=function(Na,Ra){return{blurToCancel:!Qi&&Ei,forwardKeyDown:au,onBlur:Uc,isClickOutside:function(Wl){return!sn([xa.current,Ja.current,wa.current,Ni.current],Wl)},onFocus:function(Wl){Gr&&Gr(Wl)},triggerOpen:function(Wl){Wl?os(Wl,Na,"open"):os(Wl,hn(na,Na)?Na:!1,"blur")},onSubmit:function(){if(!na||fo&&fo(na[Na]))return!1;nl(na,Na),Ra(),os(!1,Ba,"confirm")},onCancel:function(){os(!1,Na,"cancel"),qr(Aa),Ra()}}},hu={onKeyDown:function(Na,Ra){ya==null||ya(Na,Ra)},changeOnBlur:Qi},oc=rn((0,Jt.Z)((0,Jt.Z)({},ac(0,Yo)),{},{open:vo,value:Ko},hu)),xu=(0,Ot.Z)(oc,2),ku=xu[0],Es=xu[1],Vs=Es.focused,cs=Es.typing,Cu=rn((0,Jt.Z)((0,Jt.Z)({},ac(1,hc)),{},{open:Di,value:gs},hu)),Ao=(0,Ot.Z)(Cu,2),Zo=Ao[0],As=Ao[1],pu=As.focused,mu=As.typing,Nc=function(Na){Ai&&Ai(Na),!pl&&!Fa.current.contains(Na.target)&&!Za.current.contains(Na.target)&&(ro[0]?ro[1]||al(1):al(0))},Ql=function(Na){Jr&&Jr(Na),pl&&(Vs||pu)&&!Fa.current.contains(Na.target)&&!Za.current.contains(Na.target)&&Na.preventDefault()},lu=Aa&&Aa[0]?tt(Aa[0],{locale:jr,format:"YYYYMMDDHHmmss",generateConfig:mr}):"",Tc=Aa&&Aa[1]?tt(Aa[1],{locale:jr,format:"YYYYMMDDHHmmss",generateConfig:mr}):"";(0,he.useEffect)(function(){pl||(qr(Aa),!ol.length||ol[0]===""?Ul(""):xl!==Ko&&Yo(),!Os.length||Os[0]===""?cu(""):uu!==gs&&hc())},[pl,ol,Os]),(0,he.useEffect)(function(){qr(Aa)},[lu,Tc]);var wu=Bt({cellRender:Oo,monthCellRender:rl,dateRender:Go}),Yc=he.useMemo(function(){if(wu)return function(Qo,Na){return wu(Qo,(0,Jt.Z)((0,Jt.Z)({},Na),{},{range:Ba?"end":"start"}))}},[Ba,wu]);vn&&(vn.current={focus:function(){Fa.current&&Fa.current.focus()},blur:function(){Fa.current&&Fa.current.blur(),Za.current&&Za.current.blur()}});var Ro=$n(bl,Kl);function Qu(){var Qo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Na=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ra=null;pl&&vs&&vs[0]&&vs[1]&&mr.isAfter(vs[1],vs[0])&&(Ra=vs);var Po=ea;if(ea&&(0,Ke.Z)(ea)==="object"&&ea.defaultValue){var Wl=ea.defaultValue;Po=(0,Jt.Z)((0,Jt.Z)({},ea),{},{defaultValue:hn(Wl,Ba)||void 0})}return he.createElement(wn.Provider,{value:{inRange:!0,panelPosition:Qo,rangedValue:Eo||na,hoverRangedValue:Ra}},he.createElement(Va,(0,ze.Z)({},De,Na,{cellRender:Yc,showTime:Po,mode:eo[Ba],generateConfig:mr,style:void 0,direction:ba,disabledDate:Ba===0?Ml:_a,disabledTime:function(Zs){return xo?xo(Zs,Ba===0?"start":"end"):!1},className:Ue()((0,jt.Z)({},"".concat(jn,"-panel-focused"),Ba===0?!cs:!mu)),value:hn(na,Ba),locale:jr,tabIndex:-1,onPanelChange:function(Zs,Hu){Ba===0&&Gu(!0),Ba===1&&Yu(!0),El(Pn(eo,Hu,Ba),Pn(na,Zs,Ba));var Du=Zs;Qo==="right"&&eo[Ba]===Hu&&(Du=Oe(Du,Hu,mr,-1)),Ca(Du,Ba)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ba===0?hn(na,1):hn(na,0)})))}var Ys=0,gc=0;if(Ba&&Ja.current&&Li.current&&xa.current&&Ua.current){Ys=Ja.current.offsetWidth+Li.current.offsetWidth;var oi=Ua.current.offsetLeft>Ys?Ua.current.offsetLeft-Ys:Ua.current.offsetLeft,rd=xa.current.offsetWidth,id=Ua.current.offsetWidth;rd&&id&&Ys>rd-id-(ba==="rtl"?0:oi)&&(gc=Ys)}var ad=ba==="rtl"?{right:Ys}:{left:Ys};function od(){var Qo,Na=yo(jn,eo[Ba],Kn),Ra=so({prefixCls:jn,components:Ea,needConfirmButton:Ei,okDisabled:!hn(na,Ba)||fo&&fo(na[Ba]),locale:jr,onOk:function(){var Su=hn(na,Ba);Su&&(nl(na,Ba),Ri==null||Ri(na),os(!1,Ba,"confirm"))}});if(ia!=="time"&&!ea){var Po=Da(Ba),Wl=Oe(Po,ia,mr),Ju=eo[Ba],Zs=Ju===ia,Hu=Qu(Zs?"left":!1,{pickerValue:Po,onPickerValueChange:function(Su){Ca(Su,Ba)}}),Du=Qu("right",{pickerValue:Wl,onPickerValueChange:function(Su){Ca(Oe(Su,ia,mr,-1),Ba)}});ba==="rtl"?Qo=he.createElement(he.Fragment,null,Du,Zs&&Hu):Qo=he.createElement(he.Fragment,null,Hu,Zs&&Du)}else Qo=Qu();var zc=he.createElement("div",{className:"".concat(jn,"-panel-layout")},he.createElement(Rr,{prefixCls:jn,presets:Ro,onClick:function(Su){nl(Su,null),os(!1,Ba,"preset")},onHover:function(Su){Cl(Su)}}),he.createElement("div",null,he.createElement("div",{className:"".concat(jn,"-panels")},Qo),(Na||Ra)&&he.createElement("div",{className:"".concat(jn,"-footer")},Na,Ra)));return Co&&(zc=Co(zc)),he.createElement("div",{className:"".concat(jn,"-panel-container"),style:{marginLeft:gc},ref:xa,onMouseDown:function(Su){Su.preventDefault()}},zc)}var zu=he.createElement("div",{className:Ue()("".concat(jn,"-range-wrapper"),"".concat(jn,"-").concat(ia,"-range-wrapper")),style:{minWidth:To}},he.createElement("div",{ref:Ua,className:"".concat(jn,"-range-arrow"),style:ad}),od()),vc;Kt&&(vc=he.createElement("span",{className:"".concat(jn,"-suffix"),onMouseDown:function(Na){Na.preventDefault()}},Kt));var Gd=ur(jn,$e,qt),Ks=he.createElement("span",{onMouseDown:function(Na){Na.preventDefault(),Na.stopPropagation()},onMouseUp:function(Na){Na.preventDefault(),Na.stopPropagation();var Ra=Aa;ro[0]||(Ra=Pn(Ra,null,0)),ro[1]||(Ra=Pn(Ra,null,1)),nl(Ra,null),os(!1,Ba,"clear")},className:"".concat(jn,"-clear"),role:"button"},Gd),Xu=$e&&(hn(Aa,0)&&!ro[0]||hn(Aa,1)&&!ro[1]),Rc={size:ti(ia,$a[0],mr)},yc=0,ld=0;Ja.current&&wa.current&&Li.current&&(Ba===0?ld=Ja.current.offsetWidth:(yc=Ys,ld=wa.current.offsetWidth));var Sd=ba==="rtl"?{right:yc}:{left:yc},sd=function(Na,Ra){var Po=Pn(na,Na,Ba);if(Ra==="submit"||Ra!=="key"&&!Ei){nl(Po,Ba),Ba===0?Gu():Yu();var Wl=Ba===0?1:0;ro[Wl]?os(!1,!1,"confirm"):os(!1,Ba,"confirm")}else qr(Po)};return he.createElement(He.Provider,{value:{operationRef:Ho,hideHeader:ia==="time",onDateMouseEnter:mc,onDateMouseLeave:ou,hideRanges:!0,onSelect:sd,open:pl}},he.createElement(gr,{visible:pl,popupElement:zu,popupStyle:Fi,prefixCls:jn,dropdownClassName:Xr,dropdownAlign:vi,getPopupContainer:Si,transitionName:Qr,range:!0,direction:ba},he.createElement("div",(0,ze.Z)({ref:Ni,className:Ue()(jn,"".concat(jn,"-range"),Wr,(_e={},(0,jt.Z)(_e,"".concat(jn,"-disabled"),ro[0]&&ro[1]),(0,jt.Z)(_e,"".concat(jn,"-focused"),Ba===0?Vs:pu),(0,jt.Z)(_e,"".concat(jn,"-rtl"),ba==="rtl"),_e)),style:Sr,onClick:Nc,onMouseEnter:pi,onMouseLeave:Oi,onMouseDown:Ql,onMouseUp:xi},(0,ce.Z)(De,{aria:!0,data:!0})),he.createElement("div",{className:Ue()("".concat(jn,"-input"),(qe={},(0,jt.Z)(qe,"".concat(jn,"-input-active"),Ba===0),(0,jt.Z)(qe,"".concat(jn,"-input-placeholder"),!!Fc),qe)),ref:Ja},he.createElement("input",(0,ze.Z)({id:Er,disabled:ro[0],readOnly:mn||typeof $a[0]=="function"||!cs,value:Fc||Ko,onChange:function(Na){Ul(Na.target.value)},autoFocus:ca,placeholder:hn(bi,0)||"",ref:Fa},ku,Rc,{autoComplete:ha}))),he.createElement("div",{className:"".concat(jn,"-range-separator"),ref:Li},ao),he.createElement("div",{className:Ue()("".concat(jn,"-input"),($t={},(0,jt.Z)($t,"".concat(jn,"-input-active"),Ba===1),(0,jt.Z)($t,"".concat(jn,"-input-placeholder"),!!zi),$t)),ref:wa},he.createElement("input",(0,ze.Z)({disabled:ro[1],readOnly:mn||typeof $a[0]=="function"||!mu,value:zi||gs,onChange:function(Na){cu(Na.target.value)},placeholder:hn(bi,1)||"",ref:Za},Zo,Rc,{autoComplete:ha}))),he.createElement("div",{className:"".concat(jn,"-active-bar"),style:(0,Jt.Z)((0,Jt.Z)({},Sd),{},{width:ld,position:"absolute"})}),vc,Xu&&Ks)))}var il=function(De){(0,Ut.Z)(qe,De);var _e=(0,Sn.Z)(qe);function qe(){var $t;(0,st.Z)(this,qe);for(var un=arguments.length,qn=new Array(un),jn=0;jn<un;jn++)qn[jn]=arguments[jn];return $t=_e.call.apply(_e,[this].concat(qn)),(0,jt.Z)((0,yn.Z)($t),"pickerRef",he.createRef()),(0,jt.Z)((0,yn.Z)($t),"focus",function(){$t.pickerRef.current&&$t.pickerRef.current.focus()}),(0,jt.Z)((0,yn.Z)($t),"blur",function(){$t.pickerRef.current&&$t.pickerRef.current.blur()}),$t}return(0,Ht.Z)(qe,[{key:"render",value:function(){return he.createElement(po,(0,ze.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),qe}(he.Component),wl=il,Bs=Ji,ul=ie(19080),cl=ie(36355),Jo=ie(1684),hs=ie(19716),Bl=ie(32441),ts=ie(9763),Rs=ie(33234),_l=ie(48183),_o=ie(64993),Io=ie(9937),bo=ie(17313),Rl=ie(47585),Us=ie(74207),zl=ie(13826),uo=ie(92899),no=ie(37613),jo=ie(83116);const dl=(De,_e,qe,$t)=>{const{lineHeight:un}=De,qn=Math.floor(qe*un)+2,jn=Math.max((_e-qn)/2,0),Er=Math.max(_e-qn-jn,0);return{padding:`${jn}px ${$t}px ${Er}px`}},qo=De=>{const{componentCls:_e,pickerCellCls:qe,pickerCellInnerCls:$t,cellHeight:un,motionDurationSlow:qn,borderRadiusSM:jn,motionDurationMid:Er,cellHoverBg:Sr,lineWidth:Wr,lineType:Fi,colorPrimary:Xr,cellActiveWithRangeBg:Qr,colorTextLightSolid:vi,controlHeightSM:Si,cellRangeBorderColor:mr,pickerCellBorderGap:jr,cellHoverWithRangeBg:bi,cellWidth:ca,colorTextDisabled:qi,cellBgDisabled:sa}=De;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:un,transform:"translateY(-50%)",transition:`all ${qn}`,content:'""'},[$t]:{position:"relative",zIndex:2,display:"inline-block",minWidth:un,height:un,lineHeight:`${un}px`,borderRadius:jn,transition:`background ${Er}, border ${Er}`},"&-range-hover-start, &-range-hover-end":{[$t]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${qe}-in-view),
|
|
|
&:hover:not(${qe}-selected):not(${qe}-range-start):not(${qe}-range-end):not(${qe}-range-hover-start):not(${qe}-range-hover-end)`]:{[$t]:{background:Sr}},[`&-in-view${qe}-today ${$t}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Wr}px ${Fi} ${Xr}`,borderRadius:jn,content:'""'}},[`&-in-view${qe}-in-range`]:{position:"relative","&::before":{background:Qr}},[`&-in-view${qe}-selected ${$t},
|
|
|
&-in-view${qe}-range-start ${$t},
|
|
|
&-in-view${qe}-range-end ${$t}`]:{color:vi,background:Xr},[`&-in-view${qe}-range-start:not(${qe}-range-start-single),
|
|
|
&-in-view${qe}-range-end:not(${qe}-range-end-single)`]:{"&::before":{background:Qr}},[`&-in-view${qe}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${qe}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${qe}-range-hover-start:not(${qe}-in-range):not(${qe}-range-start):not(${qe}-range-end),
|
|
|
&-in-view${qe}-range-hover-end:not(${qe}-in-range):not(${qe}-range-start):not(${qe}-range-end),
|
|
|
&-in-view${qe}-range-hover-start${qe}-range-start-single,
|
|
|
&-in-view${qe}-range-hover-start${qe}-range-start${qe}-range-end${qe}-range-end-near-hover,
|
|
|
&-in-view${qe}-range-hover-end${qe}-range-start${qe}-range-end${qe}-range-start-near-hover,
|
|
|
&-in-view${qe}-range-hover-end${qe}-range-end-single,
|
|
|
&-in-view${qe}-range-hover:not(${qe}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Si,borderTop:`${Wr}px dashed ${mr}`,borderBottom:`${Wr}px dashed ${mr}`,transform:"translateY(-50%)",transition:`all ${qn}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:jr},[`&-in-view${qe}-in-range${qe}-range-hover::before,
|
|
|
&-in-view${qe}-in-range${qe}-range-hover-start::before,
|
|
|
&-in-view${qe}-in-range${qe}-range-hover-end::before,
|
|
|
&-in-view${qe}-range-start${qe}-range-hover::before,
|
|
|
&-in-view${qe}-range-end${qe}-range-hover::before,
|
|
|
&-in-view${qe}-range-start:not(${qe}-range-start-single)${qe}-range-hover-start::before,
|
|
|
&-in-view${qe}-range-end:not(${qe}-range-end-single)${qe}-range-hover-end::before,
|
|
|
${_e}-panel
|
|
|
> :not(${_e}-date-panel)
|
|
|
&-in-view${qe}-in-range${qe}-range-hover-start::before,
|
|
|
${_e}-panel
|
|
|
> :not(${_e}-date-panel)
|
|
|
&-in-view${qe}-in-range${qe}-range-hover-end::before`]:{background:bi},[`&-in-view${qe}-range-start:not(${qe}-range-start-single):not(${qe}-range-end) ${$t}`]:{borderStartStartRadius:jn,borderEndStartRadius:jn,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${qe}-range-end:not(${qe}-range-end-single):not(${qe}-range-start) ${$t}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:jn,borderEndEndRadius:jn},[`&-range-hover${qe}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${qe}-range-hover:first-child::after,
|
|
|
tr > &-in-view${qe}-range-hover-end:first-child::after,
|
|
|
&-in-view${qe}-start${qe}-range-hover-edge-start${qe}-range-hover-edge-start-near-range::after,
|
|
|
&-in-view${qe}-range-hover-edge-start:not(${qe}-range-hover-edge-start-near-range)::after,
|
|
|
&-in-view${qe}-range-hover-start::after`]:{insetInlineStart:(ca-un)/2,borderInlineStart:`${Wr}px dashed ${mr}`,borderStartStartRadius:jn,borderEndStartRadius:jn},[`tr > &-in-view${qe}-range-hover:last-child::after,
|
|
|
tr > &-in-view${qe}-range-hover-start:last-child::after,
|
|
|
&-in-view${qe}-end${qe}-range-hover-edge-end${qe}-range-hover-edge-end-near-range::after,
|
|
|
&-in-view${qe}-range-hover-edge-end:not(${qe}-range-hover-edge-end-near-range)::after,
|
|
|
&-in-view${qe}-range-hover-end::after`]:{insetInlineEnd:(ca-un)/2,borderInlineEnd:`${Wr}px dashed ${mr}`,borderStartEndRadius:jn,borderEndEndRadius:jn},"&-disabled":{color:qi,pointerEvents:"none",[$t]:{background:"transparent"},"&::before":{background:sa}},[`&-disabled${qe}-today ${$t}::before`]:{borderColor:qi}}},jl=De=>{const{componentCls:_e,pickerCellCls:qe,pickerCellInnerCls:$t,pickerYearMonthCellWidth:un,pickerControlIconSize:qn,cellWidth:jn,paddingSM:Er,paddingXS:Sr,paddingXXS:Wr,colorBgContainer:Fi,lineWidth:Xr,lineType:Qr,borderRadiusLG:vi,colorPrimary:Si,colorTextHeading:mr,colorSplit:jr,pickerControlIconBorderWidth:bi,colorIcon:ca,textHeight:qi,motionDurationMid:sa,colorIconHover:fa,fontWeightStrong:ia,cellHeight:ea,pickerCellPaddingVertical:lo,colorTextDisabled:Ya,colorText:ao,fontSize:ko,cellHoverWithRangeBg:Do,motionDurationSlow:zo,withoutTimeCellHeight:el,pickerQuarterPanelContentHeight:co,colorLink:fo,colorLinkActive:xo,colorLinkHover:Go,cellRangeBorderColor:rl,borderRadiusSM:Oo,colorTextLightSolid:Co,cellHoverBg:bl,timeColumnHeight:Kl,timeColumnWidth:Ve,timeCellHeight:$e,controlItemBgActive:Kt,marginXXS:qt,pickerDatePanelPaddingHorizontal:vn}=De,mn=jn*7+vn*2,_n=(mn-Sr*2)/3-un-Er,Kn=(mn-Sr*2)/4-un;return{[_e]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Fi,border:`${Xr}px ${Qr} ${jr}`,borderRadius:vi,outline:"none","&-focused":{borderColor:Si},"&-rtl":{direction:"rtl",[`${_e}-prev-icon,
|
|
|
${_e}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${_e}-next-icon,
|
|
|
${_e}-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:mn},"&-header":{display:"flex",padding:`0 ${Sr}px`,color:mr,borderBottom:`${Xr}px ${Qr} ${jr}`,"> *":{flex:"none"},button:{padding:0,color:ca,lineHeight:`${qi}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${sa}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:ko,"&:hover":{color:fa}},"&-view":{flex:"auto",fontWeight:ia,lineHeight:`${qi}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Sr},"&:hover":{color:Si}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:qn,height:qn,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:qn,height:qn,border:"0 solid currentcolor",borderBlockStartWidth:bi,borderBlockEndWidth:0,borderInlineStartWidth:bi,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(qn/2),insetInlineStart:Math.ceil(qn/2),display:"inline-block",width:qn,height:qn,border:"0 solid currentcolor",borderBlockStartWidth:bi,borderBlockEndWidth:0,borderInlineStartWidth:bi,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:ea,fontWeight:"normal"},th:{height:ea+lo*2,color:ao,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${lo}px 0`,color:Ya,cursor:"pointer","&-in-view":{color:ao}},qo(De)),[`&-date-panel ${_e}-cell-in-view${_e}-cell-in-range${_e}-cell-range-hover-start ${$t},
|
|
|
&-date-panel ${_e}-cell-in-view${_e}-cell-in-range${_e}-cell-range-hover-end ${$t}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Do,transition:`all ${zo}`,content:'""'}},[`&-date-panel
|
|
|
${_e}-cell-in-view${_e}-cell-in-range${_e}-cell-range-hover-start
|
|
|
${$t}::after`]:{insetInlineEnd:-(jn-ea)/2,insetInlineStart:0},[`&-date-panel ${_e}-cell-in-view${_e}-cell-in-range${_e}-cell-range-hover-end ${$t}::after`]:{insetInlineEnd:0,insetInlineStart:-(jn-ea)/2},[`&-range-hover${_e}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${_e}-content`]:{height:el*4},[$t]:{padding:`0 ${Sr}px`}},"&-quarter-panel":{[`${_e}-content`]:{height:co},[`${_e}-cell-range-hover-start::after`]:{insetInlineStart:Kn,borderInlineStart:`${Xr}px dashed ${rl}`,[`${_e}-panel-rtl &`]:{insetInlineEnd:Kn,borderInlineEnd:`${Xr}px dashed ${rl}`}},[`${_e}-cell-range-hover-end::after`]:{insetInlineEnd:Kn,borderInlineEnd:`${Xr}px dashed ${rl}`,[`${_e}-panel-rtl &`]:{insetInlineStart:Kn,borderInlineStart:`${Xr}px dashed ${rl}`}}},[`&-panel ${_e}-footer`]:{borderTop:`${Xr}px ${Qr} ${jr}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${qi-2*Xr}px`,textAlign:"center","&-extra":{padding:`0 ${Er}px`,lineHeight:`${qi-2*Xr}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Xr}px ${Qr} ${jr}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:fo,"&:hover":{color:Go},"&:active":{color:xo},[`&${_e}-today-btn-disabled`]:{color:Ya,cursor:"not-allowed"}},"&-decade-panel":{[$t]:{padding:`0 ${Sr/2}px`},[`${_e}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${_e}-body`]:{padding:`0 ${Sr}px`},[$t]:{width:un},[`${_e}-cell-range-hover-start::after`]:{borderStartStartRadius:Oo,borderEndStartRadius:Oo,borderStartEndRadius:0,borderEndEndRadius:0,[`${_e}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Oo,borderEndEndRadius:Oo}},[`${_e}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Oo,borderEndEndRadius:Oo,[`${_e}-panel-rtl &`]:{borderStartStartRadius:Oo,borderEndStartRadius:Oo,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${_e}-cell-range-hover-start::after`]:{insetInlineStart:_n,borderInlineStart:`${Xr}px dashed ${rl}`,[`${_e}-panel-rtl &`]:{insetInlineEnd:_n,borderInlineEnd:`${Xr}px dashed ${rl}`}},[`${_e}-cell-range-hover-end::after`]:{insetInlineEnd:_n,borderInlineEnd:`${Xr}px dashed ${rl}`,[`${_e}-panel-rtl &`]:{insetInlineStart:_n,borderInlineStart:`${Xr}px dashed ${rl}`}}},"&-week-panel":{[`${_e}-body`]:{padding:`${Sr}px ${Er}px`},[`${_e}-cell`]:{[`&:hover ${$t},
|
|
|
&-selected ${$t},
|
|
|
${$t}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${sa}`},"&:first-child:before":{borderStartStartRadius:Oo,borderEndStartRadius:Oo},"&:last-child:before":{borderStartEndRadius:Oo,borderEndEndRadius:Oo}},"&:hover td":{"&:before":{background:bl}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${qe}`]:{"&:before":{background:Si},[`&${_e}-cell-week`]:{color:new _o.C(Co).setAlpha(.5).toHexString()},[$t]:{color:Co}}},"&-range-hover td:before":{background:Kt}}},"&-date-panel":{[`${_e}-body`]:{padding:`${Sr}px ${vn}px`},[`${_e}-content`]:{width:jn*7,th:{width:jn,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${_e}-time-panel`]:{borderInlineStart:`${Xr}px ${Qr} ${jr}`},[`${_e}-date-panel,
|
|
|
${_e}-time-panel`]:{transition:`opacity ${zo}`},"&-active":{[`${_e}-date-panel,
|
|
|
${_e}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${_e}-content`]:{display:"flex",flex:"auto",height:Kl},"&-column":{flex:"1 0 auto",width:Ve,margin:`${Wr}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${sa}`,overflowX:"hidden","&::after":{display:"block",height:Kl-$e,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Xr}px ${Qr} ${jr}`},"&-active":{background:new _o.C(Kt).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${_e}-time-panel-cell`]:{marginInline:qt,[`${_e}-time-panel-cell-inner`]:{display:"block",width:Ve-2*qt,height:$e,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ve-$e)/2,color:ao,lineHeight:`${$e}px`,borderRadius:Oo,cursor:"pointer",transition:`background ${sa}`,"&:hover":{background:bl}},"&-selected":{[`${_e}-time-panel-cell-inner`]:{background:Kt}},"&-disabled":{[`${_e}-time-panel-cell-inner`]:{color:Ya,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${_e}-time-panel-column:after`]:{height:Kl-$e+Wr*2}}}},Jl=De=>{const{componentCls:_e,colorBgContainer:qe,colorError:$t,errorActiveShadow:un,colorWarning:qn,warningActiveShadow:jn}=De;return{[`${_e}:not(${_e}-disabled)`]:{[`&${_e}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:qe,borderColor:$t},[`&${_e}-focused, &:focus`]:Object.assign({},(0,Io.M1)((0,no.TS)(De,{activeBorderColor:$t,activeShadow:un}))),[`${_e}-active-bar`]:{background:$t}},[`&${_e}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:qe,borderColor:qn},[`&${_e}-focused, &:focus`]:Object.assign({},(0,Io.M1)((0,no.TS)(De,{activeBorderColor:qn,activeShadow:jn}))),[`${_e}-active-bar`]:{background:qn}}}}},ps=De=>{const{componentCls:_e,antCls:qe,controlHeight:$t,fontSize:un,paddingInline:qn,colorBgContainer:jn,lineWidth:Er,lineType:Sr,colorBorder:Wr,borderRadius:Fi,motionDurationMid:Xr,colorBgContainerDisabled:Qr,colorTextDisabled:vi,colorTextPlaceholder:Si,controlHeightLG:mr,fontSizeLG:jr,controlHeightSM:bi,paddingInlineSM:ca,paddingXS:qi,marginXS:sa,colorTextDescription:fa,lineWidthBold:ia,lineHeight:ea,colorPrimary:lo,motionDurationSlow:Ya,zIndexPopup:ao,paddingXXS:ko,paddingSM:Do,textHeight:zo,cellActiveWithRangeBg:el,colorPrimaryBorder:co,sizePopupArrow:fo,borderRadiusXS:xo,borderRadiusOuter:Go,colorBgElevated:rl,borderRadiusLG:Oo,boxShadowSecondary:Co,borderRadiusSM:bl,colorSplit:Kl,cellHoverBg:Ve,presetsWidth:$e,presetsMaxWidth:Kt,boxShadowPopoverArrow:qt,colorTextQuaternary:vn}=De;return[{[_e]:Object.assign(Object.assign(Object.assign({},(0,bo.Wf)(De)),dl(De,$t,un,qn)),{position:"relative",display:"inline-flex",alignItems:"center",background:jn,lineHeight:1,border:`${Er}px ${Sr} ${Wr}`,borderRadius:Fi,transition:`border ${Xr}, box-shadow ${Xr}`,"&:hover, &-focused":Object.assign({},(0,Io.pU)(De)),"&-focused":Object.assign({},(0,Io.M1)(De)),[`&${_e}-disabled`]:{background:Qr,borderColor:Wr,cursor:"not-allowed",[`${_e}-suffix`]:{color:vn}},[`&${_e}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${_e}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Io.ik)(De)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${_e}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Si}}},"&-large":Object.assign(Object.assign({},dl(De,mr,jr,qn)),{[`${_e}-input > input`]:{fontSize:jr}}),"&-small":Object.assign({},dl(De,bi,un,ca)),[`${_e}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:qi/2,color:vi,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:sa}}},[`${_e}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:vi,lineHeight:1,background:jn,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Xr}, color ${Xr}`,"> *":{verticalAlign:"top"},"&:hover":{color:fa}},[`${_e}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:jr,color:vi,fontSize:jr,verticalAlign:"top",cursor:"default",[`${_e}-focused &`]:{color:fa},[`${_e}-range-separator &`]:{[`${_e}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${_e}-clear`]:{insetInlineEnd:qn},"&:hover":{[`${_e}-clear`]:{opacity:1}},[`${_e}-active-bar`]:{bottom:-Er,height:ia,marginInlineStart:qn,background:lo,opacity:0,transition:`all ${Ya} ease-out`,pointerEvents:"none"},[`&${_e}-focused`]:{[`${_e}-active-bar`]:{opacity:1}},[`${_e}-range-separator`]:{alignItems:"center",padding:`0 ${qi}px`,lineHeight:1},[`&${_e}-small`]:{[`${_e}-clear`]:{insetInlineEnd:ca},[`${_e}-active-bar`]:{marginInlineStart:ca}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,bo.Wf)(De)),jl(De)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ao,[`&${_e}-dropdown-hidden`]:{display:"none"},[`&${_e}-dropdown-placement-bottomLeft`]:{[`${_e}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${_e}-dropdown-placement-topLeft`]:{[`${_e}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${qe}-slide-up-enter${qe}-slide-up-enter-active${_e}-dropdown-placement-topLeft,
|
|
|
&${qe}-slide-up-enter${qe}-slide-up-enter-active${_e}-dropdown-placement-topRight,
|
|
|
&${qe}-slide-up-appear${qe}-slide-up-appear-active${_e}-dropdown-placement-topLeft,
|
|
|
&${qe}-slide-up-appear${qe}-slide-up-appear-active${_e}-dropdown-placement-topRight`]:{animationName:zl.Qt},[`&${qe}-slide-up-enter${qe}-slide-up-enter-active${_e}-dropdown-placement-bottomLeft,
|
|
|
&${qe}-slide-up-enter${qe}-slide-up-enter-active${_e}-dropdown-placement-bottomRight,
|
|
|
&${qe}-slide-up-appear${qe}-slide-up-appear-active${_e}-dropdown-placement-bottomLeft,
|
|
|
&${qe}-slide-up-appear${qe}-slide-up-appear-active${_e}-dropdown-placement-bottomRight`]:{animationName:zl.fJ},[`&${qe}-slide-up-leave${qe}-slide-up-leave-active${_e}-dropdown-placement-topLeft,
|
|
|
&${qe}-slide-up-leave${qe}-slide-up-leave-active${_e}-dropdown-placement-topRight`]:{animationName:zl.ly},[`&${qe}-slide-up-leave${qe}-slide-up-leave-active${_e}-dropdown-placement-bottomLeft,
|
|
|
&${qe}-slide-up-leave${qe}-slide-up-leave-active${_e}-dropdown-placement-bottomRight`]:{animationName:zl.Uw},[`${_e}-panel > ${_e}-time-panel`]:{paddingTop:ko},[`${_e}-ranges`]:{marginBottom:0,padding:`${ko}px ${Do}px`,overflow:"hidden",lineHeight:`${zo-2*Er-qi/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${_e}-preset > ${qe}-tag-blue`]:{color:lo,background:el,borderColor:co,cursor:"pointer"},[`${_e}-ok`]:{marginInlineStart:"auto"}},[`${_e}-range-wrapper`]:{display:"flex",position:"relative"},[`${_e}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:qn*1.5,transition:`left ${Ya} ease-out`},(0,Rl.r)(fo,xo,Go,rl,qt)),[`${_e}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:rl,borderRadius:Oo,boxShadow:Co,transition:`margin ${Ya}`,[`${_e}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${_e}-presets`]:{display:"flex",flexDirection:"column",minWidth:$e,maxWidth:Kt,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:qi,borderInlineEnd:`${Er}px ${Sr} ${Kl}`,li:Object.assign(Object.assign({},bo.vS),{borderRadius:bl,paddingInline:qi,paddingBlock:(bi-Math.round(un*ea))/2,cursor:"pointer",transition:`all ${Ya}`,"+ li":{marginTop:sa},"&:hover":{background:Ve}})}},[`${_e}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${_e}-panel`]:{borderWidth:`0 0 ${Er}px`},"&:last-child":{[`${_e}-panel`]:{borderWidth:0}}},[`${_e}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${_e}-content,
|
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:Wr}}}}),"&-dropdown-range":{padding:`${fo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${_e}-separator`]:{transform:"rotate(180deg)"},[`${_e}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,zl.oN)(De,"slide-up"),(0,zl.oN)(De,"slide-down"),(0,uo.Fm)(De,"move-up"),(0,uo.Fm)(De,"move-down")]},Vl=De=>{const{componentCls:_e,controlHeightLG:qe,paddingXXS:$t,padding:un}=De;return{pickerCellCls:`${_e}-cell`,pickerCellInnerCls:`${_e}-cell-inner`,pickerYearMonthCellWidth:qe*1.5,pickerQuarterPanelContentHeight:qe*1.4,pickerCellPaddingVertical:$t+$t/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:un+$t/2}},fl=De=>({cellHoverBg:De.controlItemBgHover,cellActiveWithRangeBg:De.controlItemBgActive,cellHoverWithRangeBg:new _o.C(De.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new _o.C(De.colorPrimary).lighten(20).toHexString(),cellBgDisabled:De.colorBgContainerDisabled,timeColumnWidth:De.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:De.controlHeightSM*1.5,cellHeight:De.controlHeightSM,textHeight:De.controlHeightLG,withoutTimeCellHeight:De.controlHeightLG*1.65});var ml=(0,jo.Z)("DatePicker",De=>{const _e=(0,no.TS)((0,Io.e5)(De),Vl(De));return[ps(_e),Jl(_e),(0,Us.c)(De,{focusElCls:`${De.componentCls}-focused`})]},De=>Object.assign(Object.assign(Object.assign({},(0,Io.TM)(De)),fl(De)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:De.zIndexPopupBase+50}));function $o(De,_e,qe){return qe!==void 0?qe:_e==="year"&&De.lang.yearPlaceholder?De.lang.yearPlaceholder:_e==="quarter"&&De.lang.quarterPlaceholder?De.lang.quarterPlaceholder:_e==="month"&&De.lang.monthPlaceholder?De.lang.monthPlaceholder:_e==="week"&&De.lang.weekPlaceholder?De.lang.weekPlaceholder:_e==="time"&&De.timePickerLocale.placeholder?De.timePickerLocale.placeholder:De.lang.placeholder}function js(De,_e,qe){return qe!==void 0?qe:_e==="year"&&De.lang.yearPlaceholder?De.lang.rangeYearPlaceholder:_e==="quarter"&&De.lang.quarterPlaceholder?De.lang.rangeQuarterPlaceholder:_e==="month"&&De.lang.monthPlaceholder?De.lang.rangeMonthPlaceholder:_e==="week"&&De.lang.weekPlaceholder?De.lang.rangeWeekPlaceholder:_e==="time"&&De.timePickerLocale.placeholder?De.timePickerLocale.rangePlaceholder:De.lang.rangePlaceholder}function Pl(De,_e){const qe={adjustX:1,adjustY:1};switch(_e){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:qe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:qe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:qe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:qe};default:return{points:De==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:qe}}}function Hl(De){return De?Array.isArray(De)?De:[De]:[]}function ns(De){const{format:_e,picker:qe,showHour:$t,showMinute:un,showSecond:qn,use12Hours:jn}=De,Er=Hl(_e)[0],Sr=Object.assign({},De);return _e&&Array.isArray(_e)&&(Sr.format=Er),Er&&typeof Er=="string"&&(!Er.includes("s")&&qn===void 0&&(Sr.showSecond=!1),!Er.includes("m")&&un===void 0&&(Sr.showMinute=!1),!Er.includes("H")&&!Er.includes("h")&&!Er.includes("K")&&!Er.includes("k")&&$t===void 0&&(Sr.showHour=!1),(Er.includes("a")||Er.includes("A"))&&jn===void 0&&(Sr.use12Hours=!0)),qe==="time"?Sr:(typeof Er=="function"&&delete Sr.format,{showTime:Sr})}function zs(De,_e,qe){if(De===!1)return!1;const $t={clearIcon:_e!=null?_e:qe};return typeof De=="object"?Object.assign(Object.assign({},$t),De):$t}var Sl=ie(3113);function eu(De){return he.createElement(Sl.ZP,Object.assign({size:"small",type:"primary"},De))}var Cs={button:eu},Ps=function(De,_e){var qe={};for(var $t in De)Object.prototype.hasOwnProperty.call(De,$t)&&_e.indexOf($t)<0&&(qe[$t]=De[$t]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,$t=Object.getOwnPropertySymbols(De);un<$t.length;un++)_e.indexOf($t[un])<0&&Object.prototype.propertyIsEnumerable.call(De,$t[un])&&(qe[$t[un]]=De[$t[un]]);return qe};function Hs(De){return(0,he.forwardRef)((qe,$t)=>{const{prefixCls:un,getPopupContainer:qn,className:jn,placement:Er,size:Sr,disabled:Wr,bordered:Fi=!0,placeholder:Xr,popupClassName:Qr,dropdownClassName:vi,status:Si,clearIcon:mr,allowClear:jr,rootClassName:bi}=qe,ca=Ps(qe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),qi=he.useRef(null),{getPrefixCls:sa,direction:fa,getPopupContainer:ia}=(0,he.useContext)(cl.E_),ea=sa("picker",un),{compactSize:lo,compactItemClassnames:Ya}=(0,Rs.ri)(ea,fa),{format:ao,showTime:ko,picker:Do}=qe,zo=sa(),[el,co]=ml(ea),fo=Object.assign(Object.assign({},ko?ns(Object.assign({format:ao,picker:Do},ko)):{}),Do==="time"?ns(Object.assign(Object.assign({format:ao},qe),{picker:Do})):{}),xo=(0,hs.Z)(qt=>{var vn;return(vn=Sr!=null?Sr:lo)!==null&&vn!==void 0?vn:qt}),Go=he.useContext(Jo.Z),rl=Wr!=null?Wr:Go,Oo=(0,he.useContext)(Bl.aM),{hasFeedback:Co,status:bl,feedbackIcon:Kl}=Oo,Ve=he.createElement(he.Fragment,null,Do==="time"?he.createElement(Nt,null):he.createElement(Te,null),Co&&Kl);(0,he.useImperativeHandle)($t,()=>({focus:()=>{var qt;return(qt=qi.current)===null||qt===void 0?void 0:qt.focus()},blur:()=>{var qt;return(qt=qi.current)===null||qt===void 0?void 0:qt.blur()}}));const[$e]=(0,ts.Z)("Calendar",_l.Z),Kt=Object.assign(Object.assign({},$e),qe.locale);return el(he.createElement(wl,Object.assign({separator:he.createElement("span",{"aria-label":"to",className:`${ea}-separator`},he.createElement(Vt,null)),disabled:rl,ref:qi,dropdownAlign:Pl(fa,Er),placeholder:js(Kt,Do,Xr),suffixIcon:Ve,prevIcon:he.createElement("span",{className:`${ea}-prev-icon`}),nextIcon:he.createElement("span",{className:`${ea}-next-icon`}),superPrevIcon:he.createElement("span",{className:`${ea}-super-prev-icon`}),superNextIcon:he.createElement("span",{className:`${ea}-super-next-icon`}),transitionName:`${zo}-slide-up`},ca,fo,{className:Ue()({[`${ea}-${xo}`]:xo,[`${ea}-borderless`]:!Fi},(0,ul.Z)(ea,(0,ul.F)(bl,Si),Co),co,Ya,jn,bi),locale:Kt.lang,prefixCls:ea,getPopupContainer:qn||ia,generateConfig:De,components:Cs,direction:fa,dropdownClassName:Ue()(co,Qr||vi,bi),allowClear:zs(jr,mr,he.createElement(wt.Z,null))})))})}var mo=function(De,_e){var qe={};for(var $t in De)Object.prototype.hasOwnProperty.call(De,$t)&&_e.indexOf($t)<0&&(qe[$t]=De[$t]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,$t=Object.getOwnPropertySymbols(De);un<$t.length;un++)_e.indexOf($t[un])<0&&Object.prototype.propertyIsEnumerable.call(De,$t[un])&&(qe[$t[un]]=De[$t[un]]);return qe};function Mo(De){function _e(Sr,Wr){const Fi=Wr==="TimePicker"?"timePicker":"datePicker",Xr=(0,he.forwardRef)((Qr,vi)=>{const{prefixCls:Si,getPopupContainer:mr,style:jr,className:bi,rootClassName:ca,size:qi,bordered:sa=!0,placement:fa,placeholder:ia,popupClassName:ea,dropdownClassName:lo,disabled:Ya,status:ao,clearIcon:ko,allowClear:Do}=Qr,zo=mo(Qr,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:el,direction:co,getPopupContainer:fo,[Fi]:xo}=(0,he.useContext)(cl.E_),Go=el("picker",Si),{compactSize:rl,compactItemClassnames:Oo}=(0,Rs.ri)(Go,co),Co=he.useRef(null),{format:bl,showTime:Kl}=Qr,[Ve,$e]=ml(Go);(0,he.useImperativeHandle)(vi,()=>({focus:()=>{var pi;return(pi=Co.current)===null||pi===void 0?void 0:pi.focus()},blur:()=>{var pi;return(pi=Co.current)===null||pi===void 0?void 0:pi.blur()}}));const Kt={showToday:!0};let qt={};Sr&&(qt.picker=Sr);const vn=Sr||Qr.picker;qt=Object.assign(Object.assign(Object.assign({},qt),Kl?ns(Object.assign({format:bl,picker:vn},Kl)):{}),vn==="time"?ns(Object.assign(Object.assign({format:bl},Qr),{picker:vn})):{});const mn=el(),_n=(0,hs.Z)(pi=>{var Oi;return(Oi=qi!=null?qi:rl)!==null&&Oi!==void 0?Oi:pi}),Kn=he.useContext(Jo.Z),Zn=Ya!=null?Ya:Kn,fr=(0,he.useContext)(Bl.aM),{hasFeedback:sr,status:cr,feedbackIcon:Gr}=fr,Ur=he.createElement(he.Fragment,null,vn==="time"?he.createElement(Nt,null):he.createElement(Te,null),sr&&Gr),[Jr]=(0,ts.Z)("DatePicker",_l.Z),xi=Object.assign(Object.assign({},Jr),Qr.locale);return Ve(he.createElement(Bs,Object.assign({ref:Co,placeholder:$o(xi,vn,ia),suffixIcon:Ur,dropdownAlign:Pl(co,fa),prevIcon:he.createElement("span",{className:`${Go}-prev-icon`}),nextIcon:he.createElement("span",{className:`${Go}-next-icon`}),superPrevIcon:he.createElement("span",{className:`${Go}-super-prev-icon`}),superNextIcon:he.createElement("span",{className:`${Go}-super-next-icon`}),transitionName:`${mn}-slide-up`},Kt,zo,qt,{locale:xi.lang,className:Ue()({[`${Go}-${_n}`]:_n,[`${Go}-borderless`]:!sa},(0,ul.Z)(Go,(0,ul.F)(cr,ao),sr),$e,Oo,xo==null?void 0:xo.className,bi,ca),style:Object.assign(Object.assign({},xo==null?void 0:xo.style),jr),prefixCls:Go,getPopupContainer:mr||fo,generateConfig:De,components:Cs,direction:co,disabled:Zn,dropdownClassName:Ue()($e,ca,ea||lo),allowClear:zs(Do,ko,he.createElement(wt.Z,null))})))});return Wr&&(Xr.displayName=Wr),Xr}const qe=_e(),$t=_e("week","WeekPicker"),un=_e("month","MonthPicker"),qn=_e("year","YearPicker"),jn=_e("time","TimePicker"),Er=_e("quarter","QuarterPicker");return{DatePicker:qe,WeekPicker:$t,MonthPicker:un,YearPicker:qn,TimePicker:jn,QuarterPicker:Er}}const Vo=null;function Is(De){const{DatePicker:_e,WeekPicker:qe,MonthPicker:$t,YearPicker:un,TimePicker:qn,QuarterPicker:jn}=Mo(De),Er=Hs(De),Sr=_e;return Sr.WeekPicker=qe,Sr.MonthPicker=$t,Sr.YearPicker=un,Sr.RangePicker=Er,Sr.TimePicker=qn,Sr.QuarterPicker=jn,Sr}var is=Is;const ws=is(ft);function ms(De){const _e=Pl(De.direction,De.placement);return _e.overflow.adjustY=!1,_e.overflow.adjustX=!1,Object.assign(Object.assign({},De),{dropdownAlign:_e})}const as=(0,pt.Z)(ws,"picker",null,ms);ws._InternalPanelDoNotUseOrYouWillBeFired=as;const ru=(0,pt.Z)(ws.RangePicker,"picker",null,ms);ws._InternalRangePanelDoNotUseOrYouWillBeFired=ru,ws.generatePicker=is;var iu=ws},28103:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ke}});var ne=ie(92310),be=ie.n(ne),Ce=ie(59301),yt=ie(36355),Se=ie(17313),Ae=ie(83116),pe=ie(37613);const ye=Le=>{const{componentCls:Ge,sizePaddingEdgeHorizontal:nt,colorSplit:ct,lineWidth:Et,textPaddingInline:Ct,orientationMargin:Wt,verticalMarginInline:ft}=Le;return{[Ge]:Object.assign(Object.assign({},(0,Se.Wf)(Le)),{borderBlockStart:`${Et}px solid ${ct}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ft,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Et}px solid ${ct}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Le.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Ge}-with-text`]:{display:"flex",alignItems:"center",margin:`${Le.dividerHorizontalWithTextGutterMargin}px 0`,color:Le.colorTextHeading,fontWeight:500,fontSize:Le.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ct}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Et}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Ge}-with-text-left`]:{"&::before":{width:`${Wt*100}%`},"&::after":{width:`${100-Wt*100}%`}},[`&-horizontal${Ge}-with-text-right`]:{"&::before":{width:`${100-Wt*100}%`},"&::after":{width:`${Wt*100}%`}},[`${Ge}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Ct},"&-dashed":{background:"none",borderColor:ct,borderStyle:"dashed",borderWidth:`${Et}px 0 0`},[`&-horizontal${Ge}-with-text${Ge}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Ge}-dashed`]:{borderInlineStartWidth:Et,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Ge}-with-text`]:{color:Le.colorText,fontWeight:"normal",fontSize:Le.fontSize},[`&-horizontal${Ge}-with-text-left${Ge}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Ge}-inner-text`]:{paddingInlineStart:nt}},[`&-horizontal${Ge}-with-text-right${Ge}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Ge}-inner-text`]:{paddingInlineEnd:nt}}})}};var Ee=(0,Ae.Z)("Divider",Le=>{const Ge=(0,pe.TS)(Le,{dividerHorizontalWithTextGutterMargin:Le.margin,dividerHorizontalGutterMargin:Le.marginLG,sizePaddingEdgeHorizontal:0});return[ye(Ge)]},Le=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Le.marginXS})),Re=function(Le,Ge){var nt={};for(var ct in Le)Object.prototype.hasOwnProperty.call(Le,ct)&&Ge.indexOf(ct)<0&&(nt[ct]=Le[ct]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,ct=Object.getOwnPropertySymbols(Le);Et<ct.length;Et++)Ge.indexOf(ct[Et])<0&&Object.prototype.propertyIsEnumerable.call(Le,ct[Et])&&(nt[ct[Et]]=Le[ct[Et]]);return nt},ke=Le=>{const{getPrefixCls:Ge,direction:nt,divider:ct}=Ce.useContext(yt.E_),{prefixCls:Et,type:Ct="horizontal",orientation:Wt="center",orientationMargin:ft,className:pt,rootClassName:ze,children:he,dashed:it,plain:ot,style:ut}=Le,Je=Re(Le,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),mt=Ge("divider",Et),[Te,xt]=Ee(mt),Ne=Wt.length>0?`-${Wt}`:Wt,Rt=!!he,Dt=Wt==="left"&&ft!=null,Nt=Wt==="right"&&ft!=null,wt=be()(mt,ct==null?void 0:ct.className,xt,`${mt}-${Ct}`,{[`${mt}-with-text`]:Rt,[`${mt}-with-text${Ne}`]:Rt,[`${mt}-dashed`]:!!it,[`${mt}-plain`]:!!ot,[`${mt}-rtl`]:nt==="rtl",[`${mt}-no-default-orientation-margin-left`]:Dt,[`${mt}-no-default-orientation-margin-right`]:Nt},pt,ze),It=Ce.useMemo(()=>typeof ft=="number"?ft:/^\d+$/.test(ft)?Number(ft):ft,[ft]),We=Object.assign(Object.assign({},Dt&&{marginLeft:It}),Nt&&{marginRight:It});return Te(Ce.createElement("div",Object.assign({className:wt,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),ut)},Je,{role:"separator"}),he&&Ct!=="vertical"&&Ce.createElement("span",{className:`${mt}-inner-text`,style:We},he)))}},43428:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return jt}});var ne=ie(92310),be=ie.n(ne),Ce=ie(33885),yt=ie(42978),Se=ie(43403),Ae=ie(34280),pe=ie(59301),ye=pe.createContext(null),Ee=pe.createContext({}),Re=ye,ht=ie(20068),ke=ie(54476),Le=ie(77900),Ge=ie(10228),nt=ie(26112),ct=ie(70425),Et=function(Ot){var xe=Ot.prefixCls,ce=Ot.className,ue=Ot.style,de=Ot.children,fe=Ot.containerRef,le=Ot.id,Fe=Ot.onMouseEnter,at=Ot.onMouseOver,Ze=Ot.onMouseLeave,Me=Ot.onClick,Lt=Ot.onKeyDown,bt=Ot.onKeyUp,et={onMouseEnter:Fe,onMouseOver:at,onMouseLeave:Ze,onClick:Me,onKeyDown:Lt,onKeyUp:bt},Zt=pe.useContext(Ee),Cn=Zt.panel,kt=(0,ct.useComposeRef)(Cn,fe);return pe.createElement(pe.Fragment,null,pe.createElement("div",(0,ke.Z)({id:le,className:be()("".concat(xe,"-content"),ce),style:(0,Ce.Z)({},ue),"aria-modal":"true",role:"dialog",ref:kt},et),de))},Ct=Et,Wt=ie(48736);function ft(Jt){return typeof Jt=="string"&&String(Number(Jt))===Jt?((0,Wt.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Jt)):Jt}function pt(Jt){warning(!("wrapperClassName"in Jt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Jt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ze={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function he(Jt,Ot){var xe,ce,ue,de,fe=Jt.prefixCls,le=Jt.open,Fe=Jt.placement,at=Jt.inline,Ze=Jt.push,Me=Jt.forceRender,Lt=Jt.autoFocus,bt=Jt.keyboard,et=Jt.rootClassName,Zt=Jt.rootStyle,Cn=Jt.zIndex,kt=Jt.className,Qt=Jt.id,cn=Jt.style,vt=Jt.motion,Oe=Jt.width,tt=Jt.height,ln=Jt.children,dn=Jt.contentWrapperStyle,An=Jt.mask,Xn=Jt.maskClosable,Gt=Jt.maskMotion,nr=Jt.maskClassName,wr=Jt.maskStyle,kr=Jt.afterOpenChange,rr=Jt.onClose,Ar=Jt.onMouseEnter,li=Jt.onMouseOver,xr=Jt.onMouseLeave,Br=Jt.onClick,ti=Jt.onKeyDown,Rn=Jt.onKeyUp,tn=pe.useRef(),zn=pe.useRef(),er=pe.useRef();pe.useImperativeHandle(Ot,function(){return tn.current});var zt=function(nn){var hn=nn.keyCode,Pn=nn.shiftKey;switch(hn){case Ge.Z.TAB:{if(hn===Ge.Z.TAB){if(!Pn&&document.activeElement===er.current){var Jn;(Jn=zn.current)===null||Jn===void 0||Jn.focus({preventScroll:!0})}else if(Pn&&document.activeElement===zn.current){var In;(In=er.current)===null||In===void 0||In.focus({preventScroll:!0})}}break}case Ge.Z.ESC:{rr&&bt&&(nn.stopPropagation(),rr(nn));break}}};pe.useEffect(function(){if(le&&Lt){var on;(on=tn.current)===null||on===void 0||on.focus({preventScroll:!0})}},[le]);var bn=pe.useState(!1),kn=(0,yt.Z)(bn,2),Tt=kn[0],an=kn[1],sn=pe.useContext(Re),rn;Ze===!1?rn={distance:0}:Ze===!0?rn={}:rn=Ze||{};var $n=(xe=(ce=(ue=rn)===null||ue===void 0?void 0:ue.distance)!==null&&ce!==void 0?ce:sn==null?void 0:sn.pushDistance)!==null&&xe!==void 0?xe:180,Ft=pe.useMemo(function(){return{pushDistance:$n,push:function(){an(!0)},pull:function(){an(!1)}}},[$n]);pe.useEffect(function(){if(le){var on;sn==null||(on=sn.push)===null||on===void 0||on.call(sn)}else{var nn;sn==null||(nn=sn.pull)===null||nn===void 0||nn.call(sn)}},[le]),pe.useEffect(function(){return function(){var on;sn==null||(on=sn.pull)===null||on===void 0||on.call(sn)}},[]);var Ie=An&&pe.createElement(Le.default,(0,ke.Z)({key:"mask"},Gt,{visible:le}),function(on,nn){var hn=on.className,Pn=on.style;return pe.createElement("div",{className:be()("".concat(fe,"-mask"),hn,nr),style:(0,Ce.Z)((0,Ce.Z)({},Pn),wr),onClick:Xn&&le?rr:void 0,ref:nn})}),Xe=typeof vt=="function"?vt(Fe):vt,He={};if(Tt&&$n)switch(Fe){case"top":He.transform="translateY(".concat($n,"px)");break;case"bottom":He.transform="translateY(".concat(-$n,"px)");break;case"left":He.transform="translateX(".concat($n,"px)");break;default:He.transform="translateX(".concat(-$n,"px)");break}Fe==="left"||Fe==="right"?He.width=ft(Oe):He.height=ft(tt);var Ke={onMouseEnter:Ar,onMouseOver:li,onMouseLeave:xr,onClick:Br,onKeyDown:ti,onKeyUp:Rn},Bt=pe.createElement(Le.default,(0,ke.Z)({key:"panel"},Xe,{visible:le,forceRender:Me,onVisibleChanged:function(nn){kr==null||kr(nn)},removeOnLeave:!1,leavedClassName:"".concat(fe,"-content-wrapper-hidden")}),function(on,nn){var hn=on.className,Pn=on.style;return pe.createElement("div",(0,ke.Z)({className:be()("".concat(fe,"-content-wrapper"),hn),style:(0,Ce.Z)((0,Ce.Z)((0,Ce.Z)({},He),Pn),dn)},(0,nt.Z)(Jt,{data:!0})),pe.createElement(Ct,(0,ke.Z)({id:Qt,containerRef:nn,prefixCls:fe,className:kt,style:cn},Ke),ln))}),dt=(0,Ce.Z)({},Zt);return Cn&&(dt.zIndex=Cn),pe.createElement(Re.Provider,{value:Ft},pe.createElement("div",{className:be()(fe,"".concat(fe,"-").concat(Fe),et,(de={},(0,ht.Z)(de,"".concat(fe,"-open"),le),(0,ht.Z)(de,"".concat(fe,"-inline"),at),de)),style:dt,tabIndex:-1,ref:tn,onKeyDown:zt},Ie,pe.createElement("div",{tabIndex:0,ref:zn,style:ze,"aria-hidden":"true","data-sentinel":"start"}),Bt,pe.createElement("div",{tabIndex:0,ref:er,style:ze,"aria-hidden":"true","data-sentinel":"end"})))}var it=pe.forwardRef(he),ot=it,ut=function(Ot){var xe=Ot.open,ce=xe===void 0?!1:xe,ue=Ot.prefixCls,de=ue===void 0?"rc-drawer":ue,fe=Ot.placement,le=fe===void 0?"right":fe,Fe=Ot.autoFocus,at=Fe===void 0?!0:Fe,Ze=Ot.keyboard,Me=Ze===void 0?!0:Ze,Lt=Ot.width,bt=Lt===void 0?378:Lt,et=Ot.mask,Zt=et===void 0?!0:et,Cn=Ot.maskClosable,kt=Cn===void 0?!0:Cn,Qt=Ot.getContainer,cn=Ot.forceRender,vt=Ot.afterOpenChange,Oe=Ot.destroyOnClose,tt=Ot.onMouseEnter,ln=Ot.onMouseOver,dn=Ot.onMouseLeave,An=Ot.onClick,Xn=Ot.onKeyDown,Gt=Ot.onKeyUp,nr=Ot.panelRef,wr=pe.useState(!1),kr=(0,yt.Z)(wr,2),rr=kr[0],Ar=kr[1],li=pe.useState(!1),xr=(0,yt.Z)(li,2),Br=xr[0],ti=xr[1];(0,Ae.Z)(function(){ti(!0)},[]);var Rn=Br?ce:!1,tn=pe.useRef(),zn=pe.useRef();(0,Ae.Z)(function(){Rn&&(zn.current=document.activeElement)},[Rn]);var er=function(an){var sn;if(Ar(an),vt==null||vt(an),!an&&zn.current&&!((sn=tn.current)!==null&&sn!==void 0&&sn.contains(zn.current))){var rn;(rn=zn.current)===null||rn===void 0||rn.focus({preventScroll:!0})}},zt=pe.useMemo(function(){return{panel:nr}},[nr]);if(!cn&&!rr&&!Rn&&Oe)return null;var bn={onMouseEnter:tt,onMouseOver:ln,onMouseLeave:dn,onClick:An,onKeyDown:Xn,onKeyUp:Gt},kn=(0,Ce.Z)((0,Ce.Z)({},Ot),{},{open:Rn,prefixCls:de,placement:le,autoFocus:at,keyboard:Me,width:bt,mask:Zt,maskClosable:kt,inline:Qt===!1,afterOpenChange:er,ref:tn},bn);return pe.createElement(Ee.Provider,{value:zt},pe.createElement(Se.Z,{open:Rn||cn||rr,autoDestroy:!1,getContainer:Qt,autoLock:Zt&&(Rn||rr)},pe.createElement(ot,kn)))},Je=ut,mt=Je,Te=ie(62892),xt=ie(36355),Ne=ie(32441),Rt=ie(47729),Nt=Jt=>{const{prefixCls:Ot,title:xe,footer:ce,extra:ue,closeIcon:de,closable:fe,onClose:le,headerStyle:Fe,drawerStyle:at,bodyStyle:Ze,footerStyle:Me,children:Lt}=Jt,bt=pe.useCallback(Qt=>pe.createElement("button",{type:"button",onClick:le,"aria-label":"Close",className:`${Ot}-close`},Qt),[le]),[et,Zt]=(0,Rt.Z)(fe,de,bt,void 0,!0),Cn=pe.useMemo(()=>!xe&&!et?null:pe.createElement("div",{style:Fe,className:be()(`${Ot}-header`,{[`${Ot}-header-close-only`]:et&&!xe&&!ue})},pe.createElement("div",{className:`${Ot}-header-title`},Zt,xe&&pe.createElement("div",{className:`${Ot}-title`},xe)),ue&&pe.createElement("div",{className:`${Ot}-extra`},ue)),[et,Zt,ue,Fe,Ot,xe]),kt=pe.useMemo(()=>{if(!ce)return null;const Qt=`${Ot}-footer`;return pe.createElement("div",{className:Qt,style:Me},ce)},[ce,Me,Ot]);return pe.createElement("div",{className:`${Ot}-wrapper-body`,style:at},Cn,pe.createElement("div",{className:`${Ot}-body`,style:Ze},Lt),kt)},wt=ie(33234),It=ie(83116),We=ie(37613),Qe=Jt=>{const{componentCls:Ot,motionDurationSlow:xe}=Jt,ce={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${xe}`}}};return{[Ot]:{[`${Ot}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${xe}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Ot}-panel-motion`]:{"&-left":[ce,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[ce,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[ce,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[ce,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Vt=Jt=>{const{componentCls:Ot,zIndexPopup:xe,colorBgMask:ce,colorBgElevated:ue,motionDurationSlow:de,motionDurationMid:fe,padding:le,paddingLG:Fe,fontSizeLG:at,lineHeightLG:Ze,lineWidth:Me,lineType:Lt,colorSplit:bt,marginSM:et,colorIcon:Zt,colorIconHover:Cn,colorText:kt,fontWeightStrong:Qt,footerPaddingBlock:cn,footerPaddingInline:vt}=Jt,Oe=`${Ot}-content-wrapper`;return{[Ot]:{position:"fixed",inset:0,zIndex:xe,pointerEvents:"none","&-pure":{position:"relative",background:ue,[`&${Ot}-left`]:{boxShadow:Jt.boxShadowDrawerLeft},[`&${Ot}-right`]:{boxShadow:Jt.boxShadowDrawerRight},[`&${Ot}-top`]:{boxShadow:Jt.boxShadowDrawerUp},[`&${Ot}-bottom`]:{boxShadow:Jt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Ot}-mask`]:{position:"absolute",inset:0,zIndex:xe,background:ce,pointerEvents:"auto"},[Oe]:{position:"absolute",zIndex:xe,maxWidth:"100vw",transition:`all ${de}`,"&-hidden":{display:"none"}},[`&-left > ${Oe}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Jt.boxShadowDrawerLeft},[`&-right > ${Oe}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Jt.boxShadowDrawerRight},[`&-top > ${Oe}`]:{top:0,insetInline:0,boxShadow:Jt.boxShadowDrawerUp},[`&-bottom > ${Oe}`]:{bottom:0,insetInline:0,boxShadow:Jt.boxShadowDrawerDown},[`${Ot}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ue,pointerEvents:"auto"},[`${Ot}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Ot}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${le}px ${Fe}px`,fontSize:at,lineHeight:Ze,borderBottom:`${Me}px ${Lt} ${bt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Ot}-extra`]:{flex:"none"},[`${Ot}-close`]:{display:"inline-block",marginInlineEnd:et,color:Zt,fontWeight:Qt,fontSize:at,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${fe}`,textRendering:"auto","&:focus, &:hover":{color:Cn,textDecoration:"none"}},[`${Ot}-title`]:{flex:1,margin:0,color:kt,fontWeight:Jt.fontWeightStrong,fontSize:at,lineHeight:Ze},[`${Ot}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Fe,overflow:"auto"},[`${Ot}-footer`]:{flexShrink:0,padding:`${cn}px ${vt}px`,borderTop:`${Me}px ${Lt} ${bt}`},"&-rtl":{direction:"rtl"}}}};var Mt=(0,It.Z)("Drawer",Jt=>{const Ot=(0,We.TS)(Jt,{});return[Vt(Ot),Qe(Ot)]},Jt=>({zIndexPopup:Jt.zIndexPopupBase,footerPaddingBlock:Jt.paddingXS,footerPaddingInline:Jt.padding})),Ue=ie(11575),st=function(Jt,Ot){var xe={};for(var ce in Jt)Object.prototype.hasOwnProperty.call(Jt,ce)&&Ot.indexOf(ce)<0&&(xe[ce]=Jt[ce]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ce=Object.getOwnPropertySymbols(Jt);ue<ce.length;ue++)Ot.indexOf(ce[ue])<0&&Object.prototype.propertyIsEnumerable.call(Jt,ce[ue])&&(xe[ce[ue]]=Jt[ce[ue]]);return xe};const Ht=null,yn={distance:180},Ut=Jt=>{var Ot;const{rootClassName:xe,width:ce,height:ue,size:de="default",mask:fe=!0,push:le=yn,open:Fe,afterOpenChange:at,onClose:Ze,prefixCls:Me,getContainer:Lt,style:bt,className:et,visible:Zt,afterVisibleChange:Cn}=Jt,kt=st(Jt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Qt,getPrefixCls:cn,direction:vt,drawer:Oe}=pe.useContext(xt.E_),tt=cn("drawer",Me),[ln,dn]=Mt(tt),An=Lt===void 0&&Qt?()=>Qt(document.body):Lt,Xn=be()({"no-mask":!fe,[`${tt}-rtl`]:vt==="rtl"},xe,dn),Gt=pe.useMemo(()=>ce!=null?ce:de==="large"?736:378,[ce,de]),nr=pe.useMemo(()=>ue!=null?ue:de==="large"?736:378,[ue,de]),wr={motionName:(0,Te.m)(tt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},kr=Ar=>({motionName:(0,Te.m)(tt,`panel-motion-${Ar}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),rr=(0,Ue.H)();return ln(pe.createElement(wt.BR,null,pe.createElement(Ne.Ux,{status:!0,override:!0},pe.createElement(mt,Object.assign({prefixCls:tt,onClose:Ze,maskMotion:wr,motion:kr},kt,{open:Fe!=null?Fe:Zt,mask:fe,push:le,width:Gt,height:nr,style:Object.assign(Object.assign({},Oe==null?void 0:Oe.style),bt),className:be()(Oe==null?void 0:Oe.className,et),rootClassName:Xn,getContainer:An,afterOpenChange:at!=null?at:Cn,panelRef:rr}),pe.createElement(Nt,Object.assign({prefixCls:tt},kt,{onClose:Ze}))))))},Sn=Jt=>{const{prefixCls:Ot,style:xe,className:ce,placement:ue="right"}=Jt,de=st(Jt,["prefixCls","style","className","placement"]),{getPrefixCls:fe}=pe.useContext(xt.E_),le=fe("drawer",Ot),[Fe,at]=Mt(le),Ze=be()(le,`${le}-pure`,`${le}-${ue}`,at,ce);return Fe(pe.createElement("div",{className:Ze,style:xe},pe.createElement(Nt,Object.assign({prefixCls:le},de))))};Ut._InternalPanelDoNotUseOrYouWillBeFired=Sn;var jt=Ut},91857:function(Ln,pn,ie){"use strict";var ne=ie(59301),be=ie(38819),Ce=ie(92310),yt=ie.n(Ce),Se=ie(31561),Ae=ie(70425),pe=ie(18929),ye=ie(2738),Ee=ie(79676),Re=ie(53487),ht=ie(92343),ke=ie(36355),Le=ie(20834),Ge=ie(40875),nt=ie(88088),ct=ie(47211);const Et=null,Ct=ze=>{const{menu:he,arrow:it,prefixCls:ot,children:ut,trigger:Je,disabled:mt,dropdownRender:Te,getPopupContainer:xt,overlayClassName:Ne,rootClassName:Rt,open:Dt,onOpenChange:Nt,visible:wt,onVisibleChange:It,mouseEnterDelay:We=.15,mouseLeaveDelay:ve=.1,autoAdjustOverflow:Qe=!0,placement:Vt="",overlay:Mt,transitionName:Ue}=ze,{getPopupContainer:st,getPrefixCls:Ht,direction:yn}=ne.useContext(ke.E_),Ut=ne.useMemo(()=>{const et=Ht();return Ue!==void 0?Ue:Vt.includes("top")?`${et}-slide-down`:`${et}-slide-up`},[Ht,Vt,Ue]),Sn=ne.useMemo(()=>Vt?Vt.includes("Center")?Vt.slice(0,Vt.indexOf("Center")):Vt:yn==="rtl"?"bottomRight":"bottomLeft",[Vt,yn]),jt=Ht("dropdown",ot),[Jt,Ot]=(0,ct.Z)(jt),[,xe]=(0,nt.Z)(),ce=ne.Children.only(ut),ue=(0,ht.Tm)(ce,{className:yt()(`${jt}-trigger`,{[`${jt}-rtl`]:yn==="rtl"},ce.props.className),disabled:mt}),de=mt?[]:Je;let fe;de&&de.includes("contextMenu")&&(fe=!0);const[le,Fe]=(0,pe.Z)(!1,{value:Dt!=null?Dt:wt}),at=(0,Ae.useEvent)(et=>{Nt==null||Nt(et),It==null||It(et),Fe(et)}),Ze=yt()(Ne,Rt,Ot,{[`${jt}-rtl`]:yn==="rtl"}),Me=(0,Ee.Z)({arrowPointAtCenter:typeof it=="object"&&it.pointAtCenter,autoAdjustOverflow:Qe,offset:xe.marginXXS,arrowWidth:it?xe.sizePopupArrow:0,borderRadius:xe.borderRadius}),Lt=ne.useCallback(()=>{Fe(!1)},[]),bt=()=>{let et;return he!=null&&he.items?et=ne.createElement(Le.default,Object.assign({},he)):typeof Mt=="function"?et=Mt():et=Mt,Te&&(et=Te(et)),et=ne.Children.only(typeof et=="string"?ne.createElement("span",null,et):et),ne.createElement(Ge.J,{prefixCls:`${jt}-menu`,expandIcon:ne.createElement("span",{className:`${jt}-menu-submenu-arrow`},ne.createElement(be.Z,{className:`${jt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Lt,validator:Zt=>{let{mode:Cn}=Zt}},et)};return Jt(ne.createElement(Se.Z,Object.assign({alignPoint:fe},(0,ye.Z)(ze,["rootClassName"]),{mouseEnterDelay:We,mouseLeaveDelay:ve,visible:le,builtinPlacements:Me,arrow:!!it,overlayClassName:Ze,prefixCls:jt,getPopupContainer:xt||st,transitionName:Ut,trigger:de,overlay:bt,placement:Sn,onVisibleChange:at}),ue))};function Wt(ze){return Object.assign(Object.assign({},ze),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ft=(0,Re.Z)(Ct,"dropdown",ze=>ze,Wt),pt=ze=>ne.createElement(ft,Object.assign({},ze),ne.createElement("span",null));Ct._InternalPanelDoNotUseOrYouWillBeFired=pt,pn.Z=Ct},38854:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return nt}});var ne=ie(91857),be=ie(92310),Ce=ie.n(be),yt=ie(59301),Se=ie(18785),Ae=ie(3113),pe=ie(36355),ye=ie(81327),Ee=ie(33234),Re=ie(47211),ht=function(ct,Et){var Ct={};for(var Wt in ct)Object.prototype.hasOwnProperty.call(ct,Wt)&&Et.indexOf(Wt)<0&&(Ct[Wt]=ct[Wt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Wt=Object.getOwnPropertySymbols(ct);ft<Wt.length;ft++)Et.indexOf(Wt[ft])<0&&Object.prototype.propertyIsEnumerable.call(ct,Wt[ft])&&(Ct[Wt[ft]]=ct[Wt[ft]]);return Ct};const ke=ct=>{const{getPopupContainer:Et,getPrefixCls:Ct,direction:Wt}=yt.useContext(pe.E_),{prefixCls:ft,type:pt="default",danger:ze,disabled:he,loading:it,onClick:ot,htmlType:ut,children:Je,className:mt,menu:Te,arrow:xt,autoFocus:Ne,overlay:Rt,trigger:Dt,align:Nt,open:wt,onOpenChange:It,placement:We,getPopupContainer:ve,href:Qe,icon:Vt=yt.createElement(Se.Z,null),title:Mt,buttonsRender:Ue=bt=>bt,mouseEnterDelay:st,mouseLeaveDelay:Ht,overlayClassName:yn,overlayStyle:Ut,destroyPopupOnHide:Sn,dropdownRender:jt}=ct,Jt=ht(ct,["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"]),Ot=Ct("dropdown",ft),xe=`${Ot}-button`,[ce,ue]=(0,Re.Z)(Ot),de={menu:Te,arrow:xt,autoFocus:Ne,align:Nt,disabled:he,trigger:he?[]:Dt,onOpenChange:It,getPopupContainer:ve||Et,mouseEnterDelay:st,mouseLeaveDelay:Ht,overlayClassName:yn,overlayStyle:Ut,destroyPopupOnHide:Sn,dropdownRender:jt},{compactSize:fe,compactItemClassnames:le}=(0,Ee.ri)(Ot,Wt),Fe=Ce()(xe,le,mt,ue);"overlay"in ct&&(de.overlay=Rt),"open"in ct&&(de.open=wt),"placement"in ct?de.placement=We:de.placement=Wt==="rtl"?"bottomLeft":"bottomRight";const at=yt.createElement(Ae.ZP,{type:pt,danger:ze,disabled:he,loading:it,onClick:ot,htmlType:ut,href:Qe,title:Mt},Je),Ze=yt.createElement(Ae.ZP,{type:pt,danger:ze,icon:Vt}),[Me,Lt]=Ue([at,Ze]);return ce(yt.createElement(ye.Z.Compact,Object.assign({className:Fe,size:fe,block:!0},Jt),Me,yt.createElement(ne.Z,Object.assign({},de),Lt)))};ke.__ANT_BUTTON=!0;var Le=ke;const Ge=ne.Z;Ge.Button=Le;var nt=Ge},47211:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ht}});var ne=ie(17313),be=ie(13826),Ce=ie(92899),yt=ie(29878),Se=ie(19447),Ae=ie(83116),pe=ie(37613),Ee=ke=>{const{componentCls:Le,menuCls:Ge,colorError:nt,colorTextLightSolid:ct}=ke,Et=`${Ge}-item`;return{[`${Le}, ${Le}-menu-submenu`]:{[`${Ge} ${Et}`]:{[`&${Et}-danger:not(${Et}-disabled)`]:{color:nt,"&:hover":{color:ct,backgroundColor:nt}}}}}};const Re=ke=>{const{componentCls:Le,menuCls:Ge,zIndexPopup:nt,dropdownArrowDistance:ct,sizePopupArrow:Et,antCls:Ct,iconCls:Wt,motionDurationMid:ft,dropdownPaddingVertical:pt,fontSize:ze,dropdownEdgeChildPadding:he,colorTextDisabled:it,fontSizeIcon:ot,controlPaddingHorizontal:ut,colorBgElevated:Je}=ke;return[{[Le]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:nt,display:"block","&::before":{position:"absolute",insetBlock:-ct+Et/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Ct}-btn`]:{[`& > ${Wt}-down, & > ${Ct}-btn-icon > ${Wt}-down`]:{fontSize:ot}},[`${Le}-wrap`]:{position:"relative",[`${Ct}-btn > ${Wt}-down`]:{fontSize:ot},[`${Wt}-down::before`]:{transition:`transform ${ft}`}},[`${Le}-wrap-open`]:{[`${Wt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Le}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Le}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Le}-placement-bottom,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Le}-placement-bottom,
|
|
|
&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Le}-placement-bottomRight,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Le}-placement-bottomRight`]:{animationName:be.fJ},[`&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Le}-placement-topLeft,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Le}-placement-topLeft,
|
|
|
&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Le}-placement-top,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Le}-placement-top,
|
|
|
&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Le}-placement-topRight,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Le}-placement-topRight`]:{animationName:be.Qt},[`&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Le}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Le}-placement-bottom,
|
|
|
&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Le}-placement-bottomRight`]:{animationName:be.Uw},[`&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Le}-placement-topLeft,
|
|
|
&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Le}-placement-top,
|
|
|
&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Le}-placement-topRight`]:{animationName:be.ly}})},(0,Se.ZP)(ke,{colorBg:Je,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Le} ${Ge}`]:{position:"relative",margin:0},[`${Ge}-submenu-popup`]:{position:"absolute",zIndex:nt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Le}, ${Le}-menu-submenu`]:{[Ge]:Object.assign(Object.assign({padding:he,listStyleType:"none",backgroundColor:Je,backgroundClip:"padding-box",borderRadius:ke.borderRadiusLG,outline:"none",boxShadow:ke.boxShadowSecondary},(0,ne.Qy)(ke)),{[`${Ge}-item-group-title`]:{padding:`${pt}px ${ut}px`,color:ke.colorTextDescription,transition:`all ${ft}`},[`${Ge}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Ge}-item-icon`]:{minWidth:ze,marginInlineEnd:ke.marginXS,fontSize:ke.fontSizeSM},[`${Ge}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ft}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Ge}-item, ${Ge}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${pt}px ${ut}px`,color:ke.colorText,fontWeight:"normal",fontSize:ze,lineHeight:ke.lineHeight,cursor:"pointer",transition:`all ${ft}`,borderRadius:ke.borderRadiusSM,"&:hover, &-active":{backgroundColor:ke.controlItemBgHover}},(0,ne.Qy)(ke)),{"&-selected":{color:ke.colorPrimary,backgroundColor:ke.controlItemBgActive,"&:hover, &-active":{backgroundColor:ke.controlItemBgActiveHover}},"&-disabled":{color:it,cursor:"not-allowed","&:hover":{color:it,backgroundColor:Je,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ke.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ke.colorSplit},[`${Le}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ke.paddingXS,[`${Le}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ke.colorTextDescription,fontSize:ot,fontStyle:"normal"}}}),[`${Ge}-item-group-list`]:{margin:`0 ${ke.marginXS}px`,padding:0,listStyle:"none"},[`${Ge}-submenu-title`]:{paddingInlineEnd:ut+ke.fontSizeSM},[`${Ge}-submenu-vertical`]:{position:"relative"},[`${Ge}-submenu${Ge}-submenu-disabled ${Le}-menu-submenu-title`]:{[`&, ${Le}-menu-submenu-arrow-icon`]:{color:it,backgroundColor:Je,cursor:"not-allowed"}},[`${Ge}-submenu-selected ${Le}-menu-submenu-title`]:{color:ke.colorPrimary}})}},[(0,be.oN)(ke,"slide-up"),(0,be.oN)(ke,"slide-down"),(0,Ce.Fm)(ke,"move-up"),(0,Ce.Fm)(ke,"move-down"),(0,yt._y)(ke,"zoom-big")]]};var ht=(0,Ae.Z)("Dropdown",(ke,Le)=>{let{rootPrefixCls:Ge}=Le;const{marginXXS:nt,sizePopupArrow:ct,controlHeight:Et,fontSize:Ct,lineHeight:Wt,paddingXXS:ft,componentCls:pt,borderRadiusLG:ze}=ke,he=(Et-Ct*Wt)/2,{dropdownArrowOffset:it}=(0,Se.fS)({contentRadius:ze}),ot=(0,pe.TS)(ke,{menuCls:`${pt}-menu`,rootPrefixCls:Ge,dropdownArrowDistance:ct/2+nt,dropdownArrowOffset:it,dropdownPaddingVertical:he,dropdownEdgeChildPadding:ft});return[Re(ot),Ee(ot)]},ke=>({zIndexPopup:ke.zIndexPopupBase+50}))},64165:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ft}});var ne=ie(92310),be=ie.n(ne),Ce=ie(59301),yt=ie(36355),Se=ie(9763),Ae=ie(64993),pe=ie(88088),Ee=()=>{const[,pt]=(0,pe.Z)(),he=new Ae.C(pt.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return Ce.createElement("svg",{style:he,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},Ce.createElement("g",{fill:"none",fillRule:"evenodd"},Ce.createElement("g",{transform:"translate(24 31.67)"},Ce.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),Ce.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"}),Ce.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)"}),Ce.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"}),Ce.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"})),Ce.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"}),Ce.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},Ce.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),Ce.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},ht=()=>{const[,pt]=(0,pe.Z)(),{colorFill:ze,colorFillTertiary:he,colorFillQuaternary:it,colorBgContainer:ot}=pt,{borderColor:ut,shadowColor:Je,contentColor:mt}=(0,Ce.useMemo)(()=>({borderColor:new Ae.C(ze).onBackground(ot).toHexShortString(),shadowColor:new Ae.C(he).onBackground(ot).toHexShortString(),contentColor:new Ae.C(it).onBackground(ot).toHexShortString()}),[ze,he,it,ot]);return Ce.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},Ce.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},Ce.createElement("ellipse",{fill:Je,cx:"32",cy:"33",rx:"32",ry:"7"}),Ce.createElement("g",{fillRule:"nonzero",stroke:ut},Ce.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"}),Ce.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:mt}))))},ke=ie(83116),Le=ie(37613);const Ge=pt=>{const{componentCls:ze,margin:he,marginXS:it,marginXL:ot,fontSize:ut,lineHeight:Je}=pt;return{[ze]:{marginInline:it,fontSize:ut,lineHeight:Je,textAlign:"center",[`${ze}-image`]:{height:pt.emptyImgHeight,marginBottom:it,opacity:pt.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ze}-description`]:{color:pt.colorText},[`${ze}-footer`]:{marginTop:he},"&-normal":{marginBlock:ot,color:pt.colorTextDisabled,[`${ze}-description`]:{color:pt.colorTextDisabled},[`${ze}-image`]:{height:pt.emptyImgHeightMD}},"&-small":{marginBlock:it,color:pt.colorTextDisabled,[`${ze}-image`]:{height:pt.emptyImgHeightSM}}}}};var nt=(0,ke.Z)("Empty",pt=>{const{componentCls:ze,controlHeightLG:he}=pt,it=(0,Le.TS)(pt,{emptyImgCls:`${ze}-img`,emptyImgHeight:he*2.5,emptyImgHeightMD:he,emptyImgHeightSM:he*.875});return[Ge(it)]}),ct=function(pt,ze){var he={};for(var it in pt)Object.prototype.hasOwnProperty.call(pt,it)&&ze.indexOf(it)<0&&(he[it]=pt[it]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,it=Object.getOwnPropertySymbols(pt);ot<it.length;ot++)ze.indexOf(it[ot])<0&&Object.prototype.propertyIsEnumerable.call(pt,it[ot])&&(he[it[ot]]=pt[it[ot]]);return he};const Et=Ce.createElement(Ee,null),Ct=Ce.createElement(ht,null),Wt=pt=>{var{className:ze,rootClassName:he,prefixCls:it,image:ot=Et,description:ut,children:Je,imageStyle:mt,style:Te}=pt,xt=ct(pt,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Ne,direction:Rt,empty:Dt}=Ce.useContext(yt.E_),Nt=Ne("empty",it),[wt,It]=nt(Nt),[We]=(0,Se.Z)("Empty"),ve=typeof ut!="undefined"?ut:We==null?void 0:We.description,Qe=typeof ve=="string"?ve:"empty";let Vt=null;return typeof ot=="string"?Vt=Ce.createElement("img",{alt:Qe,src:ot}):Vt=ot,wt(Ce.createElement("div",Object.assign({className:be()(It,Nt,Dt==null?void 0:Dt.className,{[`${Nt}-normal`]:ot===Ct,[`${Nt}-rtl`]:Rt==="rtl"},ze,he),style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),Te)},xt),Ce.createElement("div",{className:`${Nt}-image`,style:mt},Vt),ve&&Ce.createElement("div",{className:`${Nt}-description`},ve),Je&&Ce.createElement("div",{className:`${Nt}-footer`},Je)))};Wt.PRESENTED_IMAGE_DEFAULT=Et,Wt.PRESENTED_IMAGE_SIMPLE=Ct;var ft=Wt},78241:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return $n}});var ne=ie(94480),be=ie(92310),Ce=ie.n(be),yt=ie(77900),Se=ie(59301),Ae=ie(62892),pe=ie(32441);function ye(Ft){const[Ie,Xe]=Se.useState(Ft);return Se.useEffect(()=>{const He=setTimeout(()=>{Xe(Ft)},Ft.length?0:10);return()=>{clearTimeout(He)}},[Ft]),Ie}var Ee=ie(17313),Re=ie(29878),ht=ie(8378),ke=ie(37613),Le=ie(83116),nt=Ft=>{const{componentCls:Ie}=Ft,Xe=`${Ie}-show-help`,He=`${Ie}-show-help-item`;return{[Xe]:{transition:`opacity ${Ft.motionDurationSlow} ${Ft.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[He]:{overflow:"hidden",transition:`height ${Ft.motionDurationSlow} ${Ft.motionEaseInOut},
|
|
|
opacity ${Ft.motionDurationSlow} ${Ft.motionEaseInOut},
|
|
|
transform ${Ft.motionDurationSlow} ${Ft.motionEaseInOut} !important`,[`&${He}-appear, &${He}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${He}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ct=Ft=>({legend:{display:"block",width:"100%",marginBottom:Ft.marginLG,padding:0,color:Ft.colorTextDescription,fontSize:Ft.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Ft.lineWidth}px ${Ft.lineType} ${Ft.colorBorder}`},label:{fontSize:Ft.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 ${Ft.controlOutlineWidth}px ${Ft.controlOutline}`},output:{display:"block",paddingTop:15,color:Ft.colorText,fontSize:Ft.fontSize,lineHeight:Ft.lineHeight}}),Et=(Ft,Ie)=>{const{formItemCls:Xe}=Ft;return{[Xe]:{[`${Xe}-label > label`]:{height:Ie},[`${Xe}-control-input`]:{minHeight:Ie}}}},Ct=Ft=>{const{componentCls:Ie}=Ft;return{[Ft.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(Ft)),ct(Ft)),{[`${Ie}-text`]:{display:"inline-block",paddingInlineEnd:Ft.paddingSM},"&-small":Object.assign({},Et(Ft,Ft.controlHeightSM)),"&-large":Object.assign({},Et(Ft,Ft.controlHeightLG))})}},Wt=Ft=>{const{formItemCls:Ie,iconCls:Xe,componentCls:He,rootPrefixCls:Ke,labelRequiredMarkColor:Bt,labelColor:dt,labelFontSize:on,labelHeight:nn,labelColonMarginInlineStart:hn,labelColonMarginInlineEnd:Pn,itemMarginBottom:Jn}=Ft;return{[Ie]:Object.assign(Object.assign({},(0,Ee.Wf)(Ft)),{marginBottom:Jn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden.${Ke}-row`]:{display:"none"},"&-has-warning":{[`${Ie}-split`]:{color:Ft.colorError}},"&-has-error":{[`${Ie}-split`]:{color:Ft.colorWarning}},[`${Ie}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Ft.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nn,color:dt,fontSize:on,[`> ${Xe}`]:{fontSize:Ft.fontSize,verticalAlign:"top"},[`&${Ie}-required:not(${Ie}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Ft.marginXXS,color:Bt,fontSize:Ft.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${He}-hide-required-mark &`]:{display:"none"}},[`${Ie}-optional`]:{display:"inline-block",marginInlineStart:Ft.marginXXS,color:Ft.colorTextDescription,[`${He}-hide-required-mark &`]:{display:"none"}},[`${Ie}-tooltip`]:{color:Ft.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ft.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:hn,marginInlineEnd:Pn},[`&${Ie}-no-colon::after`]:{content:'"\\a0"'}}},[`${Ie}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ke}-col-'"]):not([class*="' ${Ke}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ft.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Ie]:{"&-explain, &-extra":{clear:"both",color:Ft.colorTextDescription,fontSize:Ft.fontSize,lineHeight:Ft.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ft.controlHeightSM,transition:`color ${Ft.motionDurationMid} ${Ft.motionEaseOut}`},"&-explain":{"&-error":{color:Ft.colorError},"&-warning":{color:Ft.colorWarning}}},[`&-with-help ${Ie}-explain`]:{height:"auto",opacity:1},[`${Ie}-feedback-icon`]:{fontSize:Ft.fontSize,textAlign:"center",visibility:"visible",animationName:Re.kr,animationDuration:Ft.motionDurationMid,animationTimingFunction:Ft.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ft.colorSuccess},"&-error":{color:Ft.colorError},"&-warning":{color:Ft.colorWarning},"&-validating":{color:Ft.colorPrimary}}})}},ft=Ft=>{const{componentCls:Ie,formItemCls:Xe}=Ft;return{[`${Ie}-horizontal`]:{[`${Xe}-label`]:{flexGrow:0},[`${Xe}-control`]:{flex:"1 1 0",minWidth:0},[`${Xe}-label[class$='-24'], ${Xe}-label[class*='-24 ']`]:{[`& + ${Xe}-control`]:{minWidth:"unset"}}}}},pt=Ft=>{const{componentCls:Ie,formItemCls:Xe}=Ft;return{[`${Ie}-inline`]:{display:"flex",flexWrap:"wrap",[Xe]:{flex:"none",marginInlineEnd:Ft.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Xe}-label,
|
|
|
> ${Xe}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Xe}-label`]:{flex:"none"},[`${Ie}-text`]:{display:"inline-block"},[`${Xe}-has-feedback`]:{display:"inline-block"}}}}},ze=Ft=>({padding:Ft.verticalLabelPadding,margin:Ft.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),he=Ft=>{const{componentCls:Ie,formItemCls:Xe,rootPrefixCls:He}=Ft;return{[`${Xe} ${Xe}-label`]:ze(Ft),[Ie]:{[Xe]:{flexWrap:"wrap",[`${Xe}-label, ${Xe}-control`]:{[`&:not([class*=" ${He}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},it=Ft=>{const{componentCls:Ie,formItemCls:Xe,rootPrefixCls:He}=Ft;return{[`${Ie}-vertical`]:{[Xe]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Ie}-item-control`]:{width:"100%"}}},[`${Ie}-vertical ${Xe}-label,
|
|
|
.${He}-col-24${Xe}-label,
|
|
|
.${He}-col-xl-24${Xe}-label`]:ze(Ft),[`@media (max-width: ${Ft.screenXSMax}px)`]:[he(Ft),{[Ie]:{[`.${He}-col-xs-24${Xe}-label`]:ze(Ft)}}],[`@media (max-width: ${Ft.screenSMMax}px)`]:{[Ie]:{[`.${He}-col-sm-24${Xe}-label`]:ze(Ft)}},[`@media (max-width: ${Ft.screenMDMax}px)`]:{[Ie]:{[`.${He}-col-md-24${Xe}-label`]:ze(Ft)}},[`@media (max-width: ${Ft.screenLGMax}px)`]:{[Ie]:{[`.${He}-col-lg-24${Xe}-label`]:ze(Ft)}}}},ot=(Ft,Ie)=>(0,ke.TS)(Ft,{formItemCls:`${Ft.componentCls}-item`,rootPrefixCls:Ie});var ut=(0,Le.Z)("Form",(Ft,Ie)=>{let{rootPrefixCls:Xe}=Ie;const He=ot(Ft,Xe);return[Ct(He),Wt(He),nt(He),ft(He),pt(He),it(He),(0,ht.Z)(He),Re.kr]},Ft=>({labelRequiredMarkColor:Ft.colorError,labelColor:Ft.colorTextHeading,labelFontSize:Ft.fontSize,labelHeight:Ft.controlHeight,labelColonMarginInlineStart:Ft.marginXXS/2,labelColonMarginInlineEnd:Ft.marginXS,itemMarginBottom:Ft.marginLG,verticalLabelPadding:`0 0 ${Ft.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Je=[];function mt(Ft,Ie,Xe){let He=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ft=="string"?Ft:`${Ie}-${He}`,error:Ft,errorStatus:Xe}}var xt=Ft=>{let{help:Ie,helpStatus:Xe,errors:He=Je,warnings:Ke=Je,className:Bt,fieldId:dt,onVisibleChanged:on}=Ft;const{prefixCls:nn}=Se.useContext(pe.Rk),hn=`${nn}-item-explain`,[,Pn]=ut(nn),Jn=(0,Se.useMemo)(()=>(0,Ae.Z)(nn),[nn]),In=ye(He),Xt=ye(Ke),wn=Se.useMemo(()=>Ie!=null?[mt(Ie,"help",Xe)]:[].concat((0,ne.Z)(In.map((lr,ar)=>mt(lr,"error","error",ar))),(0,ne.Z)(Xt.map((lr,ar)=>mt(lr,"warning","warning",ar)))),[Ie,Xe,In,Xt]),pr={};return dt&&(pr.id=`${dt}_help`),Se.createElement(yt.default,{motionDeadline:Jn.motionDeadline,motionName:`${nn}-show-help`,visible:!!wn.length,onVisibleChanged:on},lr=>{const{className:ar,style:dr}=lr;return Se.createElement("div",Object.assign({},pr,{className:Ce()(hn,ar,Bt,Pn),style:dr,role:"alert"}),Se.createElement(yt.CSSMotionList,Object.assign({keys:wn},(0,Ae.Z)(nn),{motionName:`${nn}-show-help-item`,component:!1}),Ir=>{const{key:tr,error:Yr,errorStatus:_t,className:xn,style:Dn}=Ir;return Se.createElement("div",{key:tr,className:Ce()(xn,{[`${hn}-${_t}`]:_t}),style:Dn},Yr)}))})},Ne=ie(95013),Rt=ie(36355),Dt=ie(1684),Nt=ie(52946),wt=ie(19716),It=ie(16722);const We=["parentNode"],ve="form_item";function Qe(Ft){return Ft===void 0||Ft===!1?[]:Array.isArray(Ft)?Ft:[Ft]}function Vt(Ft,Ie){if(!Ft.length)return;const Xe=Ft.join("_");return Ie?`${Ie}_${Xe}`:We.includes(Xe)?`${ve}_${Xe}`:Xe}function Mt(Ft,Ie,Xe,He,Ke,Bt){let dt=He;return Bt!==void 0?dt=Bt:Xe.validating?dt="validating":Ft.length?dt="error":Ie.length?dt="warning":(Xe.touched||Ke&&Xe.validated)&&(dt="success"),dt}function Ue(Ft){return Qe(Ft).join("_")}function st(Ft){const[Ie]=(0,Ne.useForm)(),Xe=Se.useRef({}),He=Se.useMemo(()=>Ft!=null?Ft:Object.assign(Object.assign({},Ie),{__INTERNAL__:{itemRef:Ke=>Bt=>{const dt=Ue(Ke);Bt?Xe.current[dt]=Bt:delete Xe.current[dt]}},scrollToField:function(Ke){let Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const dt=Qe(Ke),on=Vt(dt,He.__INTERNAL__.name),nn=on?document.getElementById(on):null;nn&&(0,It.Z)(nn,Object.assign({scrollMode:"if-needed",block:"nearest"},Bt))},getFieldInstance:Ke=>{const Bt=Ue(Ke);return Xe.current[Bt]}}),[Ft,Ie]);return[He]}var Ht=ie(28726),yn=function(Ft,Ie){var Xe={};for(var He in Ft)Object.prototype.hasOwnProperty.call(Ft,He)&&Ie.indexOf(He)<0&&(Xe[He]=Ft[He]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,He=Object.getOwnPropertySymbols(Ft);Ke<He.length;Ke++)Ie.indexOf(He[Ke])<0&&Object.prototype.propertyIsEnumerable.call(Ft,He[Ke])&&(Xe[He[Ke]]=Ft[He[Ke]]);return Xe};const Ut=(Ft,Ie)=>{const Xe=Se.useContext(Dt.Z),{getPrefixCls:He,direction:Ke,form:Bt}=Se.useContext(Rt.E_),{prefixCls:dt,className:on,rootClassName:nn,size:hn,disabled:Pn=Xe,form:Jn,colon:In,labelAlign:Xt,labelWrap:wn,labelCol:pr,wrapperCol:lr,hideRequiredMark:ar,layout:dr="horizontal",scrollToFirstError:Ir,requiredMark:tr,onFinishFailed:Yr,name:_t,style:xn,feedbackIcons:Dn}=Ft,Un=yn(Ft,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Bn=(0,wt.Z)(hn),Vn=Se.useContext(Ht.Z),Nn=(0,Se.useMemo)(()=>tr!==void 0?tr:Bt&&Bt.requiredMark!==void 0?Bt.requiredMark:!ar,[ar,tr,Bt]),ir=In!=null?In:Bt==null?void 0:Bt.colon,Cr=He("form",dt),[Nr,ai]=ut(Cr),si=Ce()(Cr,`${Cr}-${dr}`,{[`${Cr}-hide-required-mark`]:Nn===!1,[`${Cr}-rtl`]:Ke==="rtl",[`${Cr}-${Bn}`]:Bn},ai,Bt==null?void 0:Bt.className,on,nn),[mi]=st(Jn),{__INTERNAL__:br}=mi;br.name=_t;const Hr=(0,Se.useMemo)(()=>({name:_t,labelAlign:Xt,labelCol:pr,labelWrap:wn,wrapperCol:lr,vertical:dr==="vertical",colon:ir,requiredMark:Nn,itemRef:br.itemRef,form:mi,feedbackIcons:Dn}),[_t,Xt,pr,lr,dr,ir,Nn,mi,Dn]);Se.useImperativeHandle(Ie,()=>mi);const Lr=($r,Fr)=>{if($r){let Vr={block:"nearest"};typeof $r=="object"&&(Vr=$r),mi.scrollToField(Fr,Vr)}},ni=$r=>{if(Yr==null||Yr($r),$r.errorFields.length){const Fr=$r.errorFields[0].name;if(Ir!==void 0){Lr(Ir,Fr);return}Bt&&Bt.scrollToFirstError!==void 0&&Lr(Bt.scrollToFirstError,Fr)}};return Nr(Se.createElement(Dt.n,{disabled:Pn},Se.createElement(Nt.q,{size:Bn},Se.createElement(pe.RV,Object.assign({},{validateMessages:Vn}),Se.createElement(pe.q3.Provider,{value:Hr},Se.createElement(Ne.default,Object.assign({id:_t},Un,{name:_t,onFinishFailed:ni,form:mi,style:Object.assign(Object.assign({},Bt==null?void 0:Bt.style),xn),className:si})))))))};var jt=Se.forwardRef(Ut),Jt=ie(41799),Ot=ie(8654),xe=ie(92343),ce=ie(11592);function ue(Ft){if(typeof Ft=="function")return Ft;const Ie=(0,ce.Z)(Ft);return Ie.length<=1?Ie[0]:Ie}const de=()=>{const{status:Ft,errors:Ie=[],warnings:Xe=[]}=(0,Se.useContext)(pe.aM);return{status:Ft,errors:Ie,warnings:Xe}};de.Context=pe.aM;var fe=de,le=ie(16089);function Fe(Ft){const[Ie,Xe]=Se.useState(Ft),He=(0,Se.useRef)(null),Ke=(0,Se.useRef)([]),Bt=(0,Se.useRef)(!1);Se.useEffect(()=>(Bt.current=!1,()=>{Bt.current=!0,le.Z.cancel(He.current),He.current=null}),[]);function dt(on){Bt.current||(He.current===null&&(Ke.current=[],He.current=(0,le.Z)(()=>{He.current=null,Xe(nn=>{let hn=nn;return Ke.current.forEach(Pn=>{hn=Pn(hn)}),hn})})),Ke.current.push(on))}return[Ie,dt]}function at(){const{itemRef:Ft}=Se.useContext(pe.q3),Ie=Se.useRef({});function Xe(He,Ke){const Bt=Ke&&typeof Ke=="object"&&Ke.ref,dt=He.join("_");return(Ie.current.name!==dt||Ie.current.originRef!==Bt)&&(Ie.current.name=dt,Ie.current.originRef=Bt,Ie.current.ref=(0,Ot.sQ)(Ft(He),Bt)),Ie.current.ref}return Xe}var Ze=ie(29194),Me=ie(34280),Lt=ie(2738),bt=ie(27382),et=ie(37028);const Zt=Ft=>{const{formItemCls:Ie}=Ft;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Ie}-control`]:{display:"flex"}}}};var Cn=(0,Le.b)(["Form","item-item"],(Ft,Ie)=>{let{rootPrefixCls:Xe}=Ie;const He=ot(Ft,Xe);return[Zt(He)]}),Qt=Ft=>{const{prefixCls:Ie,status:Xe,wrapperCol:He,children:Ke,errors:Bt,warnings:dt,_internalItemRender:on,extra:nn,help:hn,fieldId:Pn,marginBottom:Jn,onErrorVisibleChanged:In}=Ft,Xt=`${Ie}-item`,wn=Se.useContext(pe.q3),pr=He||wn.wrapperCol||{},lr=Ce()(`${Xt}-control`,pr.className),ar=Se.useMemo(()=>Object.assign({},wn),[wn]);delete ar.labelCol,delete ar.wrapperCol;const dr=Se.createElement("div",{className:`${Xt}-control-input`},Se.createElement("div",{className:`${Xt}-control-input-content`},Ke)),Ir=Se.useMemo(()=>({prefixCls:Ie,status:Xe}),[Ie,Xe]),tr=Jn!==null||Bt.length||dt.length?Se.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},Se.createElement(pe.Rk.Provider,{value:Ir},Se.createElement(xt,{fieldId:Pn,errors:Bt,warnings:dt,help:hn,helpStatus:Xe,className:`${Xt}-explain-connected`,onVisibleChanged:In})),!!Jn&&Se.createElement("div",{style:{width:0,height:Jn}})):null,Yr={};Pn&&(Yr.id=`${Pn}_extra`);const _t=nn?Se.createElement("div",Object.assign({},Yr,{className:`${Xt}-extra`}),nn):null,xn=on&&on.mark==="pro_table_render"&&on.render?on.render(Ft,{input:dr,errorList:tr,extra:_t}):Se.createElement(Se.Fragment,null,dr,tr,_t);return Se.createElement(pe.q3.Provider,{value:ar},Se.createElement(et.Z,Object.assign({},pr,{className:lr}),xn),Se.createElement(Cn,{prefixCls:Ie}))},cn=ie(61485),vt=ie(31724),Oe=ie(9763),tt=ie(6848),ln=function(Ft,Ie){var Xe={};for(var He in Ft)Object.prototype.hasOwnProperty.call(Ft,He)&&Ie.indexOf(He)<0&&(Xe[He]=Ft[He]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,He=Object.getOwnPropertySymbols(Ft);Ke<He.length;Ke++)Ie.indexOf(He[Ke])<0&&Object.prototype.propertyIsEnumerable.call(Ft,He[Ke])&&(Xe[He[Ke]]=Ft[He[Ke]]);return Xe};function dn(Ft){return Ft?typeof Ft=="object"&&!Se.isValidElement(Ft)?Ft:{title:Ft}:null}var Xn=Ft=>{let{prefixCls:Ie,label:Xe,htmlFor:He,labelCol:Ke,labelAlign:Bt,colon:dt,required:on,requiredMark:nn,tooltip:hn}=Ft;var Pn;const[Jn]=(0,Oe.Z)("Form"),{vertical:In,labelAlign:Xt,labelCol:wn,labelWrap:pr,colon:lr}=Se.useContext(pe.q3);if(!Xe)return null;const ar=Ke||wn||{},dr=Bt||Xt,Ir=`${Ie}-item-label`,tr=Ce()(Ir,dr==="left"&&`${Ir}-left`,ar.className,{[`${Ir}-wrap`]:!!pr});let Yr=Xe;const _t=dt===!0||lr!==!1&&dt!==!1;_t&&!In&&typeof Xe=="string"&&Xe.trim()!==""&&(Yr=Xe.replace(/[:|:]\s*$/,""));const Dn=dn(hn);if(Dn){const{icon:Nn=Se.createElement(cn.Z,null)}=Dn,ir=ln(Dn,["icon"]),Cr=Se.createElement(tt.Z,Object.assign({},ir),Se.cloneElement(Nn,{className:`${Ie}-item-tooltip`,title:""}));Yr=Se.createElement(Se.Fragment,null,Yr,Cr)}const Un=nn==="optional",Bn=typeof nn=="function";Bn?Yr=nn(Yr,{required:!!on}):Un&&!on&&(Yr=Se.createElement(Se.Fragment,null,Yr,Se.createElement("span",{className:`${Ie}-item-optional`,title:""},(Jn==null?void 0:Jn.optional)||((Pn=vt.Z.Form)===null||Pn===void 0?void 0:Pn.optional))));const Vn=Ce()({[`${Ie}-item-required`]:on,[`${Ie}-item-required-mark-optional`]:Un||Bn,[`${Ie}-item-no-colon`]:!_t});return Se.createElement(et.Z,Object.assign({},ar,{className:tr}),Se.createElement("label",{htmlFor:He,className:Vn,title:typeof Xe=="string"?Xe:""},Yr))},Gt=ie(29679),nr=ie(19248),wr=ie(96512),kr=ie(58617);const rr={success:Gt.Z,warning:wr.Z,error:nr.Z,validating:kr.Z};function Ar(Ft){let{children:Ie,errors:Xe,warnings:He,hasFeedback:Ke,validateStatus:Bt,prefixCls:dt,meta:on,noStyle:nn}=Ft;const hn=`${dt}-item`,{feedbackIcons:Pn}=Se.useContext(pe.q3),Jn=Mt(Xe,He,on,null,!!Ke,Bt),{isFormItemInput:In,status:Xt}=Se.useContext(pe.aM),wn=Se.useMemo(()=>{var pr;let lr;if(Ke){const Ir=Ke!==!0&&Ke.icons||Pn,tr=Jn&&((pr=Ir==null?void 0:Ir({status:Jn,errors:Xe,warnings:He}))===null||pr===void 0?void 0:pr[Jn]),Yr=Jn&&rr[Jn];lr=tr!==!1&&Yr?Se.createElement("span",{className:Ce()(`${hn}-feedback-icon`,`${hn}-feedback-icon-${Jn}`)},tr||Se.createElement(Yr,null)):null}let ar=!0,dr=Jn||"";return nn&&(ar=In,dr=(Jn!=null?Jn:Xt)||""),{status:dr,errors:Xe,warnings:He,hasFeedback:!!Ke,feedbackIcon:lr,isFormItemInput:ar}},[Jn,Ke,nn,In,Xt]);return Se.createElement(pe.aM.Provider,{value:wn},Ie)}var li=function(Ft,Ie){var Xe={};for(var He in Ft)Object.prototype.hasOwnProperty.call(Ft,He)&&Ie.indexOf(He)<0&&(Xe[He]=Ft[He]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,He=Object.getOwnPropertySymbols(Ft);Ke<He.length;Ke++)Ie.indexOf(He[Ke])<0&&Object.prototype.propertyIsEnumerable.call(Ft,He[Ke])&&(Xe[He[Ke]]=Ft[He[Ke]]);return Xe};function xr(Ft){const{prefixCls:Ie,className:Xe,rootClassName:He,style:Ke,help:Bt,errors:dt,warnings:on,validateStatus:nn,meta:hn,hasFeedback:Pn,hidden:Jn,children:In,fieldId:Xt,required:wn,isRequired:pr,onSubItemMetaChange:lr}=Ft,ar=li(Ft,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),dr=`${Ie}-item`,{requiredMark:Ir}=Se.useContext(pe.q3),tr=Se.useRef(null),Yr=ye(dt),_t=ye(on),xn=Bt!=null,Dn=!!(xn||dt.length||on.length),Un=!!tr.current&&(0,Ze.Z)(tr.current),[Bn,Vn]=Se.useState(null);(0,Me.Z)(()=>{if(Dn&&tr.current){const ai=getComputedStyle(tr.current);Vn(parseInt(ai.marginBottom,10))}},[Dn,Un]);const Nn=ai=>{ai||Vn(null)},Cr=function(){let ai=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const si=ai?Yr:hn.errors,mi=ai?_t:hn.warnings;return Mt(si,mi,hn,"",!!Pn,nn)}(),Nr=Ce()(dr,Xe,He,{[`${dr}-with-help`]:xn||Yr.length||_t.length,[`${dr}-has-feedback`]:Cr&&Pn,[`${dr}-has-success`]:Cr==="success",[`${dr}-has-warning`]:Cr==="warning",[`${dr}-has-error`]:Cr==="error",[`${dr}-is-validating`]:Cr==="validating",[`${dr}-hidden`]:Jn});return Se.createElement("div",{className:Nr,style:Ke,ref:tr},Se.createElement(bt.Z,Object.assign({className:`${dr}-row`},(0,Lt.Z)(ar,["_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"])),Se.createElement(Xn,Object.assign({htmlFor:Xt},Ft,{requiredMark:Ir,required:wn!=null?wn:pr,prefixCls:Ie})),Se.createElement(Qt,Object.assign({},Ft,hn,{errors:Yr,warnings:_t,prefixCls:Ie,status:Cr,help:Bt,marginBottom:Bn,onErrorVisibleChanged:Nn}),Se.createElement(pe.qI.Provider,{value:lr},Se.createElement(Ar,{prefixCls:Ie,meta:hn,errors:hn.errors,warnings:hn.warnings,hasFeedback:Pn,validateStatus:Cr},In)))),!!Bn&&Se.createElement("div",{className:`${dr}-margin-offset`,style:{marginBottom:-Bn}}))}const Br="__SPLIT__",ti=null,Rn=Se.memo(Ft=>{let{children:Ie}=Ft;return Ie},(Ft,Ie)=>Ft.value===Ie.value&&Ft.update===Ie.update&&Ft.childProps.length===Ie.childProps.length&&Ft.childProps.every((Xe,He)=>Xe===Ie.childProps[He]));function tn(Ft){return Ft!=null}function zn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function er(Ft){const{name:Ie,noStyle:Xe,className:He,dependencies:Ke,prefixCls:Bt,shouldUpdate:dt,rules:on,children:nn,required:hn,label:Pn,messageVariables:Jn,trigger:In="onChange",validateTrigger:Xt,hidden:wn,help:pr}=Ft,{getPrefixCls:lr}=Se.useContext(Rt.E_),{name:ar}=Se.useContext(pe.q3),dr=ue(nn),Ir=typeof dr=="function",tr=Se.useContext(pe.qI),{validateTrigger:Yr}=Se.useContext(Ne.FieldContext),_t=Xt!==void 0?Xt:Yr,xn=tn(Ie),Dn=lr("form",Bt),[Un,Bn]=ut(Dn),Vn=Se.useContext(Ne.ListContext),Nn=Se.useRef(),[ir,Cr]=Fe({}),[Nr,ai]=(0,Jt.Z)(()=>zn()),si=Fr=>{const Vr=Vn==null?void 0:Vn.getKey(Fr.name);if(ai(Fr.destroy?zn():Fr,!0),Xe&&pr!==!1&&tr){let ei=Fr.name;if(Fr.destroy)ei=Nn.current||ei;else if(Vr!==void 0){const[_r,ki]=Vr;ei=[_r].concat((0,ne.Z)(ki)),Nn.current=ei}tr(Fr,ei)}},mi=(Fr,Vr)=>{Cr(ei=>{const _r=Object.assign({},ei),Ki=[].concat((0,ne.Z)(Fr.name.slice(0,-1)),(0,ne.Z)(Vr)).join(Br);return Fr.destroy?delete _r[Ki]:_r[Ki]=Fr,_r})},[br,Hr]=Se.useMemo(()=>{const Fr=(0,ne.Z)(Nr.errors),Vr=(0,ne.Z)(Nr.warnings);return Object.values(ir).forEach(ei=>{Fr.push.apply(Fr,(0,ne.Z)(ei.errors||[])),Vr.push.apply(Vr,(0,ne.Z)(ei.warnings||[]))}),[Fr,Vr]},[ir,Nr.errors,Nr.warnings]),Lr=at();function ni(Fr,Vr,ei){return Xe&&!wn?Se.createElement(Ar,{prefixCls:Dn,hasFeedback:Ft.hasFeedback,validateStatus:Ft.validateStatus,meta:Nr,errors:br,warnings:Hr,noStyle:!0},Fr):Se.createElement(xr,Object.assign({key:"row"},Ft,{className:Ce()(He,Bn),prefixCls:Dn,fieldId:Vr,isRequired:ei,errors:br,warnings:Hr,meta:Nr,onSubItemMetaChange:mi}),Fr)}if(!xn&&!Ir&&!Ke)return Un(ni(dr));let $r={};return typeof Pn=="string"?$r.label=Pn:Ie&&($r.label=String(Ie)),Jn&&($r=Object.assign(Object.assign({},$r),Jn)),Un(Se.createElement(Ne.Field,Object.assign({},Ft,{messageVariables:$r,trigger:In,validateTrigger:_t,onMetaChange:si}),(Fr,Vr,ei)=>{const _r=Qe(Ie).length&&Vr?Vr.name:[],ki=Vt(_r,ar),Ki=hn!==void 0?hn:!!(on&&on.some(or=>{if(or&&typeof or=="object"&&or.required&&!or.warningOnly)return!0;if(typeof or=="function"){const ui=or(ei);return ui&&ui.required&&!ui.warningOnly}return!1})),hi=Object.assign({},Fr);let Dr=null;if(Array.isArray(dr)&&xn)Dr=dr;else if(!(Ir&&(!(dt||Ke)||xn))){if(!(Ke&&!Ir&&!xn))if((0,xe.l$)(dr)){const or=Object.assign(Object.assign({},dr.props),hi);if(or.id||(or.id=ki),pr||br.length>0||Hr.length>0||Ft.extra){const Pi=[];(pr||br.length>0)&&Pi.push(`${ki}_help`),Ft.extra&&Pi.push(`${ki}_extra`),or["aria-describedby"]=Pi.join(" ")}br.length>0&&(or["aria-invalid"]="true"),Ki&&(or["aria-required"]="true"),(0,Ot.Yr)(dr)&&(or.ref=Lr(_r,dr)),new Set([].concat((0,ne.Z)(Qe(In)),(0,ne.Z)(Qe(_t)))).forEach(Pi=>{or[Pi]=function(){for(var rt,gt,Yt,gn,Yn,Pt=arguments.length,fn=new Array(Pt),Wn=0;Wn<Pt;Wn++)fn[Wn]=arguments[Wn];(Yt=hi[Pi])===null||Yt===void 0||(rt=Yt).call.apply(rt,[hi].concat(fn)),(Yn=(gn=dr.props)[Pi])===null||Yn===void 0||(gt=Yn).call.apply(gt,[gn].concat(fn))}});const gi=[or["aria-required"],or["aria-invalid"],or["aria-describedby"]];Dr=Se.createElement(Rn,{value:hi[Ft.valuePropName||"value"],update:dr,childProps:gi},(0,xe.Tm)(dr,or))}else Ir&&(dt||Ke)&&!xn?Dr=dr(ei):Dr=dr}return ni(Dr,ki,Ki)}))}const zt=er;zt.useStatus=fe;var bn=zt,kn=function(Ft,Ie){var Xe={};for(var He in Ft)Object.prototype.hasOwnProperty.call(Ft,He)&&Ie.indexOf(He)<0&&(Xe[He]=Ft[He]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,He=Object.getOwnPropertySymbols(Ft);Ke<He.length;Ke++)Ie.indexOf(He[Ke])<0&&Object.prototype.propertyIsEnumerable.call(Ft,He[Ke])&&(Xe[He[Ke]]=Ft[He[Ke]]);return Xe},an=Ft=>{var{prefixCls:Ie,children:Xe}=Ft,He=kn(Ft,["prefixCls","children"]);const{getPrefixCls:Ke}=Se.useContext(Rt.E_),Bt=Ke("form",Ie),dt=Se.useMemo(()=>({prefixCls:Bt,status:"error"}),[Bt]);return Se.createElement(Ne.List,Object.assign({},He),(on,nn,hn)=>Se.createElement(pe.Rk.Provider,{value:dt},Xe(on.map(Pn=>Object.assign(Object.assign({},Pn),{fieldKey:Pn.key})),nn,{errors:hn.errors,warnings:hn.warnings})))};function sn(){const{form:Ft}=(0,Se.useContext)(pe.q3);return Ft}const rn=jt;rn.Item=bn,rn.List=an,rn.ErrorList=xt,rn.useForm=st,rn.useFormInstance=sn,rn.useWatch=Ne.useWatch,rn.Provider=pe.RV,rn.create=()=>{};var $n=rn},8628:function(Ln,pn,ie){"use strict";var ne=ie(59301),be=ie(34280),Ce=ie(56762),yt=ie(69507);function Se(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const pe=(0,ne.useRef)({}),ye=(0,Ce.Z)(),Ee=(0,yt.ZP)();return(0,be.Z)(()=>{const Re=Ee.subscribe(ht=>{pe.current=ht,Ae&&ye()});return()=>Ee.unsubscribe(Re)},[]),pe.current}pn.Z=Se},5871:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return cn}});var ne=ie(84105),be=ie(87395),Ce=ie(92310),yt=ie.n(Ce),Se=ie(54476),Ae=ie(20068),pe=ie(76190),ye=ie(42978),Ee=ie(75931),Re=ie(67732),ht=ie(83652);function ke(){return typeof BigInt=="function"}function Le(vt){return!vt&&vt!==0&&!Number.isNaN(vt)||!String(vt).trim()}function Ge(vt){var Oe=vt.trim(),tt=Oe.startsWith("-");tt&&(Oe=Oe.slice(1)),Oe=Oe.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Oe.startsWith(".")&&(Oe="0".concat(Oe));var ln=Oe||"0",dn=ln.split("."),An=dn[0]||"0",Xn=dn[1]||"0";An==="0"&&Xn==="0"&&(tt=!1);var Gt=tt?"-":"";return{negative:tt,negativeStr:Gt,trimStr:ln,integerStr:An,decimalStr:Xn,fullStr:"".concat(Gt).concat(ln)}}function nt(vt){var Oe=String(vt);return!Number.isNaN(Number(Oe))&&Oe.includes("e")}function ct(vt){var Oe=String(vt);if(nt(vt)){var tt=Number(Oe.slice(Oe.indexOf("e-")+2)),ln=Oe.match(/\.(\d+)/);return ln!=null&&ln[1]&&(tt+=ln[1].length),tt}return Oe.includes(".")&&Ct(Oe)?Oe.length-Oe.indexOf(".")-1:0}function Et(vt){var Oe=String(vt);if(nt(vt)){if(vt>Number.MAX_SAFE_INTEGER)return String(ke()?BigInt(vt).toString():Number.MAX_SAFE_INTEGER);if(vt<Number.MIN_SAFE_INTEGER)return String(ke()?BigInt(vt).toString():Number.MIN_SAFE_INTEGER);Oe=vt.toFixed(ct(Oe))}return Ge(Oe).fullStr}function Ct(vt){return typeof vt=="number"?!Number.isNaN(vt):vt?/^\s*-?\d+(\.\d+)?\s*$/.test(vt)||/^\s*-?\d+\.\s*$/.test(vt)||/^\s*-?\.\d+\s*$/.test(vt):!1}var Wt=function(){function vt(Oe){if((0,Re.Z)(this,vt),(0,Ae.Z)(this,"origin",""),(0,Ae.Z)(this,"negative",void 0),(0,Ae.Z)(this,"integer",void 0),(0,Ae.Z)(this,"decimal",void 0),(0,Ae.Z)(this,"decimalLen",void 0),(0,Ae.Z)(this,"empty",void 0),(0,Ae.Z)(this,"nan",void 0),Le(Oe)){this.empty=!0;return}if(this.origin=String(Oe),Oe==="-"||Number.isNaN(Oe)){this.nan=!0;return}var tt=Oe;if(nt(tt)&&(tt=Number(tt)),tt=typeof tt=="string"?tt:Et(tt),Ct(tt)){var ln=Ge(tt);this.negative=ln.negative;var dn=ln.trimStr.split(".");this.integer=BigInt(dn[0]);var An=dn[1]||"0";this.decimal=BigInt(An),this.decimalLen=An.length}else this.nan=!0}return(0,ht.Z)(vt,[{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(tt){var ln="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(tt,"0"));return BigInt(ln)}},{key:"negate",value:function(){var tt=new vt(this.toString());return tt.negative=!tt.negative,tt}},{key:"cal",value:function(tt,ln,dn){var An=Math.max(this.getDecimalStr().length,tt.getDecimalStr().length),Xn=this.alignDecimal(An),Gt=tt.alignDecimal(An),nr=ln(Xn,Gt).toString(),wr=dn(An),kr=Ge(nr),rr=kr.negativeStr,Ar=kr.trimStr,li="".concat(rr).concat(Ar.padStart(wr+1,"0"));return new vt("".concat(li.slice(0,-wr),".").concat(li.slice(-wr)))}},{key:"add",value:function(tt){if(this.isInvalidate())return new vt(tt);var ln=new vt(tt);return ln.isInvalidate()?this:this.cal(ln,function(dn,An){return dn+An},function(dn){return dn})}},{key:"multi",value:function(tt){var ln=new vt(tt);return this.isInvalidate()||ln.isInvalidate()?new vt(NaN):this.cal(ln,function(dn,An){return dn*An},function(dn){return dn*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(tt){return this.toString()===(tt==null?void 0:tt.toString())}},{key:"lessEquals",value:function(tt){return this.add(tt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return tt?this.isInvalidate()?"":Ge("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),vt}(),ft=function(){function vt(Oe){if((0,Re.Z)(this,vt),(0,Ae.Z)(this,"origin",""),(0,Ae.Z)(this,"number",void 0),(0,Ae.Z)(this,"empty",void 0),Le(Oe)){this.empty=!0;return}this.origin=String(Oe),this.number=Number(Oe)}return(0,ht.Z)(vt,[{key:"negate",value:function(){return new vt(-this.toNumber())}},{key:"add",value:function(tt){if(this.isInvalidate())return new vt(tt);var ln=Number(tt);if(Number.isNaN(ln))return this;var dn=this.number+ln;if(dn>Number.MAX_SAFE_INTEGER)return new vt(Number.MAX_SAFE_INTEGER);if(dn<Number.MIN_SAFE_INTEGER)return new vt(Number.MIN_SAFE_INTEGER);var An=Math.max(ct(this.number),ct(ln));return new vt(dn.toFixed(An))}},{key:"multi",value:function(tt){var ln=Number(tt);if(this.isInvalidate()||Number.isNaN(ln))return new vt(NaN);var dn=this.number*ln;if(dn>Number.MAX_SAFE_INTEGER)return new vt(Number.MAX_SAFE_INTEGER);if(dn<Number.MIN_SAFE_INTEGER)return new vt(Number.MIN_SAFE_INTEGER);var An=Math.max(ct(this.number),ct(ln));return new vt(dn.toFixed(An))}},{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(tt){return this.toNumber()===(tt==null?void 0:tt.toNumber())}},{key:"lessEquals",value:function(tt){return this.add(tt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return tt?this.isInvalidate()?"":Et(this.number):this.origin}}]),vt}();function pt(vt){return ke()?new Wt(vt):new ft(vt)}function ze(vt,Oe,tt){var ln=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(vt==="")return"";var dn=Ge(vt),An=dn.negativeStr,Xn=dn.integerStr,Gt=dn.decimalStr,nr="".concat(Oe).concat(Gt),wr="".concat(An).concat(Xn);if(tt>=0){var kr=Number(Gt[tt]);if(kr>=5&&!ln){var rr=pt(vt).add("".concat(An,"0.").concat("0".repeat(tt)).concat(10-kr));return ze(rr.toString(),Oe,tt,ln)}return tt===0?wr:"".concat(wr).concat(Oe).concat(Gt.padEnd(tt,"0").slice(0,tt))}return nr===".0"?wr:"".concat(wr).concat(nr)}var he=pt,it=ie(93681),ot=ie(34280),ut=ie(8654),Je=ie(59301),mt=ie(48736);function Te(vt,Oe){var tt=(0,Je.useRef)(null);function ln(){try{var An=vt.selectionStart,Xn=vt.selectionEnd,Gt=vt.value,nr=Gt.substring(0,An),wr=Gt.substring(Xn);tt.current={start:An,end:Xn,value:Gt,beforeTxt:nr,afterTxt:wr}}catch(kr){}}function dn(){if(vt&&tt.current&&Oe)try{var An=vt.value,Xn=tt.current,Gt=Xn.beforeTxt,nr=Xn.afterTxt,wr=Xn.start,kr=An.length;if(An.endsWith(nr))kr=An.length-tt.current.afterTxt.length;else if(An.startsWith(Gt))kr=Gt.length;else{var rr=Gt[wr-1],Ar=An.indexOf(rr,wr-1);Ar!==-1&&(kr=Ar+1)}vt.setSelectionRange(kr,kr)}catch(li){(0,mt.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(li.message))}}return[ln,dn]}var xt=ie(49658),Ne=function(){var Oe=(0,Je.useState)(!1),tt=(0,ye.Z)(Oe,2),ln=tt[0],dn=tt[1];return(0,ot.Z)(function(){dn((0,xt.Z)())},[]),ln},Rt=Ne,Dt=ie(16089),Nt=200,wt=600;function It(vt){var Oe=vt.prefixCls,tt=vt.upNode,ln=vt.downNode,dn=vt.upDisabled,An=vt.downDisabled,Xn=vt.onStep,Gt=Je.useRef(),nr=Je.useRef([]),wr=Je.useRef();wr.current=Xn;var kr=function(){clearTimeout(Gt.current)},rr=function(zn,er){zn.preventDefault(),kr(),wr.current(er);function zt(){wr.current(er),Gt.current=setTimeout(zt,Nt)}Gt.current=setTimeout(zt,wt)};Je.useEffect(function(){return function(){kr(),nr.current.forEach(function(tn){return Dt.Z.cancel(tn)})}},[]);var Ar=Rt();if(Ar)return null;var li="".concat(Oe,"-handler"),xr=yt()(li,"".concat(li,"-up"),(0,Ae.Z)({},"".concat(li,"-up-disabled"),dn)),Br=yt()(li,"".concat(li,"-down"),(0,Ae.Z)({},"".concat(li,"-down-disabled"),An)),ti=function(){return nr.current.push((0,Dt.Z)(kr))},Rn={unselectable:"on",role:"button",onMouseUp:ti,onMouseLeave:ti};return Je.createElement("div",{className:"".concat(li,"-wrap")},Je.createElement("span",(0,Se.Z)({},Rn,{onMouseDown:function(zn){rr(zn,!0)},"aria-label":"Increase Value","aria-disabled":dn,className:xr}),tt||Je.createElement("span",{unselectable:"on",className:"".concat(Oe,"-handler-up-inner")})),Je.createElement("span",(0,Se.Z)({},Rn,{onMouseDown:function(zn){rr(zn,!1)},"aria-label":"Decrease Value","aria-disabled":An,className:Br}),ln||Je.createElement("span",{unselectable:"on",className:"".concat(Oe,"-handler-down-inner")})))}function We(vt){var Oe=typeof vt=="number"?Et(vt):Ge(vt).fullStr,tt=Oe.includes(".");return tt?Ge(Oe.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:vt+"0"}var ve=ie(5643),Qe=function(){var vt=(0,Je.useRef)(0),Oe=function(){Dt.Z.cancel(vt.current)};return(0,Je.useEffect)(function(){return Oe},[]),function(tt){Oe(),vt.current=(0,Dt.Z)(function(){tt()})}},Vt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Mt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Ue=function(Oe,tt){return Oe||tt.isEmpty()?tt.toString():tt.toNumber()},st=function(Oe){var tt=he(Oe);return tt.isInvalidate()?null:tt},Ht=Je.forwardRef(function(vt,Oe){var tt,ln=vt.prefixCls,dn=ln===void 0?"rc-input-number":ln,An=vt.className,Xn=vt.style,Gt=vt.min,nr=vt.max,wr=vt.step,kr=wr===void 0?1:wr,rr=vt.defaultValue,Ar=vt.value,li=vt.disabled,xr=vt.readOnly,Br=vt.upHandler,ti=vt.downHandler,Rn=vt.keyboard,tn=vt.controls,zn=tn===void 0?!0:tn,er=vt.classNames,zt=vt.stringMode,bn=vt.parser,kn=vt.formatter,Tt=vt.precision,an=vt.decimalSeparator,sn=vt.onChange,rn=vt.onInput,$n=vt.onPressEnter,Ft=vt.onStep,Ie=(0,Ee.Z)(vt,Vt),Xe="".concat(dn,"-input"),He=Je.useRef(null),Ke=Je.useState(!1),Bt=(0,ye.Z)(Ke,2),dt=Bt[0],on=Bt[1],nn=Je.useRef(!1),hn=Je.useRef(!1),Pn=Je.useRef(!1),Jn=Je.useState(function(){return he(Ar!=null?Ar:rr)}),In=(0,ye.Z)(Jn,2),Xt=In[0],wn=In[1];function pr(Dr){Ar===void 0&&wn(Dr)}var lr=Je.useCallback(function(Dr,or){if(!or)return Tt>=0?Tt:Math.max(ct(Dr),ct(kr))},[Tt,kr]),ar=Je.useCallback(function(Dr){var or=String(Dr);if(bn)return bn(or);var ui=or;return an&&(ui=ui.replace(an,".")),ui.replace(/[^\w.-]+/g,"")},[bn,an]),dr=Je.useRef(""),Ir=Je.useCallback(function(Dr,or){if(kn)return kn(Dr,{userTyping:or,input:String(dr.current)});var ui=typeof Dr=="number"?Et(Dr):Dr;if(!or){var gi=lr(ui,or);if(Ct(ui)&&(an||gi>=0)){var Pi=an||".";ui=ze(ui,Pi,gi)}}return ui},[kn,lr,an]),tr=Je.useState(function(){var Dr=rr!=null?rr:Ar;return Xt.isInvalidate()&&["string","number"].includes((0,pe.Z)(Dr))?Number.isNaN(Dr)?"":Dr:Ir(Xt.toString(),!1)}),Yr=(0,ye.Z)(tr,2),_t=Yr[0],xn=Yr[1];dr.current=_t;function Dn(Dr,or){xn(Ir(Dr.isInvalidate()?Dr.toString(!1):Dr.toString(!or),or))}var Un=Je.useMemo(function(){return st(nr)},[nr,Tt]),Bn=Je.useMemo(function(){return st(Gt)},[Gt,Tt]),Vn=Je.useMemo(function(){return!Un||!Xt||Xt.isInvalidate()?!1:Un.lessEquals(Xt)},[Un,Xt]),Nn=Je.useMemo(function(){return!Bn||!Xt||Xt.isInvalidate()?!1:Xt.lessEquals(Bn)},[Bn,Xt]),ir=Te(He.current,dt),Cr=(0,ye.Z)(ir,2),Nr=Cr[0],ai=Cr[1],si=function(or){return Un&&!or.lessEquals(Un)?Un:Bn&&!Bn.lessEquals(or)?Bn:null},mi=function(or){return!si(or)},br=function(or,ui){var gi=or,Pi=mi(gi)||gi.isEmpty();if(!gi.isEmpty()&&!ui&&(gi=si(gi)||gi,Pi=!0),!xr&&!li&&Pi){var rt=gi.toString(),gt=lr(rt,ui);return gt>=0&&(gi=he(ze(rt,".",gt)),mi(gi)||(gi=he(ze(rt,".",gt,!0)))),gi.equals(Xt)||(pr(gi),sn==null||sn(gi.isEmpty()?null:Ue(zt,gi)),Ar===void 0&&Dn(gi,ui)),gi}return Xt},Hr=Qe(),Lr=function Dr(or){if(Nr(),dr.current=or,xn(or),!hn.current){var ui=ar(or),gi=he(ui);gi.isNaN()||br(gi,!0)}rn==null||rn(or),Hr(function(){var Pi=or;bn||(Pi=or.replace(/。/g,".")),Pi!==or&&Dr(Pi)})},ni=function(){hn.current=!0},$r=function(){hn.current=!1,Lr(He.current.value)},Fr=function(or){Lr(or.target.value)},Vr=function(or){var ui;if(!(or&&Vn||!or&&Nn)){nn.current=!1;var gi=he(Pn.current?We(kr):kr);or||(gi=gi.negate());var Pi=(Xt||he(0)).add(gi.toString()),rt=br(Pi,!1);Ft==null||Ft(Ue(zt,rt),{offset:Pn.current?We(kr):kr,type:or?"up":"down"}),(ui=He.current)===null||ui===void 0||ui.focus()}},ei=function(or){var ui=he(ar(_t)),gi=ui;ui.isNaN()?gi=br(Xt,or):gi=br(ui,or),Ar!==void 0?Dn(Xt,!1):gi.isNaN()||Dn(gi,!1)},_r=function(){nn.current=!0},ki=function(or){var ui=or.key,gi=or.shiftKey;nn.current=!0,Pn.current=gi,ui==="Enter"&&(hn.current||(nn.current=!1),ei(!1),$n==null||$n(or)),Rn!==!1&&!hn.current&&["Up","ArrowUp","Down","ArrowDown"].includes(ui)&&(Vr(ui==="Up"||ui==="ArrowUp"),or.preventDefault())},Ki=function(){nn.current=!1,Pn.current=!1},hi=function(){ei(!1),on(!1),nn.current=!1};return(0,ot.o)(function(){Xt.isInvalidate()||Dn(Xt,!1)},[Tt]),(0,ot.o)(function(){var Dr=he(Ar);wn(Dr);var or=he(ar(_t));(!Dr.equals(or)||!nn.current||kn)&&Dn(Dr,nn.current)},[Ar]),(0,ot.o)(function(){kn&&ai()},[_t]),Je.createElement("div",{className:yt()(dn,er==null?void 0:er.input,An,(tt={},(0,Ae.Z)(tt,"".concat(dn,"-focused"),dt),(0,Ae.Z)(tt,"".concat(dn,"-disabled"),li),(0,Ae.Z)(tt,"".concat(dn,"-readonly"),xr),(0,Ae.Z)(tt,"".concat(dn,"-not-a-number"),Xt.isNaN()),(0,Ae.Z)(tt,"".concat(dn,"-out-of-range"),!Xt.isInvalidate()&&!mi(Xt)),tt)),style:Xn,onFocus:function(){on(!0)},onBlur:hi,onKeyDown:ki,onKeyUp:Ki,onCompositionStart:ni,onCompositionEnd:$r,onBeforeInput:_r},zn&&Je.createElement(It,{prefixCls:dn,upNode:Br,downNode:ti,upDisabled:Vn,downDisabled:Nn,onStep:Vr}),Je.createElement("div",{className:"".concat(Xe,"-wrap")},Je.createElement("input",(0,Se.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Gt,"aria-valuemax":nr,"aria-valuenow":Xt.isInvalidate()?null:Xt.toString(),step:kr},Ie,{ref:(0,ut.sQ)(He,Oe),className:Xe,value:_t,onChange:Fr,disabled:li,readOnly:xr}))))}),yn=Je.forwardRef(function(vt,Oe){var tt=vt.disabled,ln=vt.style,dn=vt.prefixCls,An=vt.value,Xn=vt.prefix,Gt=vt.suffix,nr=vt.addonBefore,wr=vt.addonAfter,kr=vt.classes,rr=vt.className,Ar=vt.classNames,li=(0,Ee.Z)(vt,Mt),xr=Je.useRef(null),Br=function(Rn){xr.current&&(0,ve.nH)(xr.current,Rn)};return Je.createElement(it.BaseInput,{inputElement:Je.createElement(Ht,(0,Se.Z)({prefixCls:dn,disabled:tt,classNames:Ar,ref:(0,ut.sQ)(xr,Oe)},li)),className:rr,triggerFocus:Br,prefixCls:dn,value:An,disabled:tt,style:ln,prefix:Xn,suffix:Gt,addonAfter:wr,addonBefore:nr,classes:kr,classNames:Ar,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});yn.displayName="InputNumber";var Ut=yn,Sn=Ut,jt=ie(19080),Jt=ie(36355),Ot=ie(92736),xe=ie(1684),ce=ie(19716),ue=ie(32441),de=ie(33234),fe=ie(9937),le=ie(17313),Fe=ie(74207),at=ie(83116),Ze=ie(37613);const Me=(vt,Oe)=>{let{componentCls:tt,borderRadiusSM:ln,borderRadiusLG:dn}=vt;const An=Oe==="lg"?dn:ln;return{[`&-${Oe}`]:{[`${tt}-handler-wrap`]:{borderStartEndRadius:An,borderEndEndRadius:An},[`${tt}-handler-up`]:{borderStartEndRadius:An},[`${tt}-handler-down`]:{borderEndEndRadius:An}}}},Lt=vt=>{const{componentCls:Oe,lineWidth:tt,lineType:ln,colorBorder:dn,borderRadius:An,fontSizeLG:Xn,controlHeightLG:Gt,controlHeightSM:nr,colorError:wr,paddingInlineSM:kr,colorTextDescription:rr,motionDurationMid:Ar,handleHoverColor:li,paddingInline:xr,paddingBlock:Br,handleBg:ti,handleActiveBg:Rn,colorTextDisabled:tn,borderRadiusSM:zn,borderRadiusLG:er,controlWidth:zt,handleVisible:bn,handleBorderColor:kn}=vt;return[{[Oe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,le.Wf)(vt)),(0,fe.ik)(vt)),(0,fe.bi)(vt,Oe)),{display:"inline-block",width:zt,margin:0,padding:0,border:`${tt}px ${ln} ${dn}`,borderRadius:An,"&-rtl":{direction:"rtl",[`${Oe}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Xn,borderRadius:er,[`input${Oe}-input`]:{height:Gt-2*tt}},"&-sm":{padding:0,borderRadius:zn,[`input${Oe}-input`]:{height:nr-2*tt,padding:`0 ${kr}px`}},"&:hover":Object.assign({},(0,fe.pU)(vt)),"&-focused":Object.assign({},(0,fe.M1)(vt)),"&-out-of-range":{[`${Oe}-input-wrap`]:{input:{color:wr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,le.Wf)(vt)),(0,fe.s7)(vt)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Oe}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Oe}-group-addon`]:{borderRadius:er,fontSize:vt.fontSizeLG}},"&-sm":{[`${Oe}-group-addon`]:{borderRadius:zn}},[`${Oe}-wrapper-disabled > ${Oe}-group-addon`]:Object.assign({},(0,fe.Xy)(vt))}}),[`&-disabled ${Oe}-input`]:{cursor:"not-allowed"},[Oe]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,le.Wf)(vt)),{width:"100%",padding:`${Br}px ${xr}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:An,outline:0,transition:`all ${Ar} linear`,appearance:"textfield",fontSize:"inherit"}),(0,fe.nz)(vt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[Oe]:Object.assign(Object.assign(Object.assign({[`&:hover ${Oe}-handler-wrap, &-focused ${Oe}-handler-wrap`]:{opacity:1},[`${Oe}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:vt.handleWidth,height:"100%",background:ti,borderStartStartRadius:0,borderStartEndRadius:An,borderEndEndRadius:An,borderEndStartRadius:0,opacity:bn===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Ar} linear ${Ar}`,[`${Oe}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${Oe}-handler-up-inner,
|
|
|
${Oe}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:vt.handleFontSize}}},[`${Oe}-handler`]:{height:"50%",overflow:"hidden",color:rr,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${tt}px ${ln} ${kn}`,transition:`all ${Ar} linear`,"&:active":{background:Rn},"&:hover":{height:"60%",[`
|
|
|
${Oe}-handler-up-inner,
|
|
|
${Oe}-handler-down-inner
|
|
|
`]:{color:li}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,le.Ro)()),{color:rr,transition:`all ${Ar} linear`,userSelect:"none"})},[`${Oe}-handler-up`]:{borderStartEndRadius:An},[`${Oe}-handler-down`]:{borderBlockStart:`${tt}px ${ln} ${kn}`,borderEndEndRadius:An}},Me(vt,"lg")),Me(vt,"sm")),{"&-disabled, &-readonly":{[`${Oe}-handler-wrap`]:{display:"none"},[`${Oe}-input`]:{color:"inherit"}},[`
|
|
|
${Oe}-handler-up-disabled,
|
|
|
${Oe}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${Oe}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${Oe}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:tn}})},{[`${Oe}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${Oe}-handler-down`]:{borderBlockStartWidth:0}}}]},bt=vt=>{const{componentCls:Oe,paddingBlock:tt,paddingInline:ln,inputAffixPadding:dn,controlWidth:An,borderRadiusLG:Xn,borderRadiusSM:Gt}=vt;return{[`${Oe}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,fe.ik)(vt)),(0,fe.bi)(vt,`${Oe}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:An,padding:0,paddingInlineStart:ln,"&-lg":{borderRadius:Xn},"&-sm":{borderRadius:Gt},[`&:not(${Oe}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,fe.pU)(vt)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Oe}-disabled`]:{background:"transparent"},[`> div${Oe}`]:{width:"100%",border:"none",outline:"none",[`&${Oe}-focused`]:{boxShadow:"none !important"}},[`input${Oe}-input`]:{padding:`${tt}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Oe}-handler-wrap`]:{zIndex:2},[Oe]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:dn},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:ln,marginInlineStart:dn}}})}};var et=(0,at.Z)("InputNumber",vt=>{const Oe=(0,Ze.TS)(vt,(0,fe.e5)(vt));return[Lt(Oe),bt(Oe),(0,Fe.c)(Oe)]},vt=>Object.assign(Object.assign({},(0,fe.TM)(vt)),{controlWidth:90,handleWidth:vt.controlHeightSM-vt.lineWidth*2,handleFontSize:vt.fontSize/2,handleVisible:"auto",handleActiveBg:vt.colorFillAlter,handleBg:vt.colorBgContainer,handleHoverColor:vt.colorPrimary,handleBorderColor:vt.colorBorder})),Zt=function(vt,Oe){var tt={};for(var ln in vt)Object.prototype.hasOwnProperty.call(vt,ln)&&Oe.indexOf(ln)<0&&(tt[ln]=vt[ln]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,ln=Object.getOwnPropertySymbols(vt);dn<ln.length;dn++)Oe.indexOf(ln[dn])<0&&Object.prototype.propertyIsEnumerable.call(vt,ln[dn])&&(tt[ln[dn]]=vt[ln[dn]]);return tt};const Cn=Je.forwardRef((vt,Oe)=>{const{getPrefixCls:tt,direction:ln}=Je.useContext(Jt.E_),dn=Je.useRef(null);Je.useImperativeHandle(Oe,()=>dn.current);const{className:An,rootClassName:Xn,size:Gt,disabled:nr,prefixCls:wr,addonBefore:kr,addonAfter:rr,prefix:Ar,bordered:li=!0,readOnly:xr,status:Br,controls:ti}=vt,Rn=Zt(vt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),tn=tt("input-number",wr),[zn,er]=et(tn),{compactSize:zt,compactItemClassnames:bn}=(0,de.ri)(tn,ln);let kn=Je.createElement(be.Z,{className:`${tn}-handler-up-inner`}),Tt=Je.createElement(ne.Z,{className:`${tn}-handler-down-inner`});const an=typeof ti=="boolean"?ti:void 0;typeof ti=="object"&&(kn=typeof ti.upIcon=="undefined"?kn:Je.createElement("span",{className:`${tn}-handler-up-inner`},ti.upIcon),Tt=typeof ti.downIcon=="undefined"?Tt:Je.createElement("span",{className:`${tn}-handler-down-inner`},ti.downIcon));const{hasFeedback:sn,status:rn,isFormItemInput:$n,feedbackIcon:Ft}=Je.useContext(ue.aM),Ie=(0,jt.F)(rn,Br),Xe=(0,ce.Z)(nn=>{var hn;return(hn=Gt!=null?Gt:zt)!==null&&hn!==void 0?hn:nn}),He=Je.useContext(xe.Z),Ke=nr!=null?nr:He,Bt=yt()({[`${tn}-lg`]:Xe==="large",[`${tn}-sm`]:Xe==="small",[`${tn}-rtl`]:ln==="rtl",[`${tn}-borderless`]:!li,[`${tn}-in-form-item`]:$n},(0,jt.Z)(tn,Ie),bn,er),dt=`${tn}-group`,on=Je.createElement(Sn,Object.assign({ref:dn,disabled:Ke,className:yt()(An,Xn),upHandler:kn,downHandler:Tt,prefixCls:tn,readOnly:xr,controls:an,prefix:Ar,suffix:sn&&Ft,addonAfter:rr&&Je.createElement(de.BR,null,Je.createElement(ue.Ux,{override:!0,status:!0},rr)),addonBefore:kr&&Je.createElement(de.BR,null,Je.createElement(ue.Ux,{override:!0,status:!0},kr)),classNames:{input:Bt},classes:{affixWrapper:yt()((0,jt.Z)(`${tn}-affix-wrapper`,Ie,sn),{[`${tn}-affix-wrapper-sm`]:Xe==="small",[`${tn}-affix-wrapper-lg`]:Xe==="large",[`${tn}-affix-wrapper-rtl`]:ln==="rtl",[`${tn}-affix-wrapper-borderless`]:!li},er),wrapper:yt()({[`${dt}-rtl`]:ln==="rtl",[`${tn}-wrapper-disabled`]:Ke},er),group:yt()({[`${tn}-group-wrapper-sm`]:Xe==="small",[`${tn}-group-wrapper-lg`]:Xe==="large",[`${tn}-group-wrapper-rtl`]:ln==="rtl"},(0,jt.Z)(`${tn}-group-wrapper`,Ie,sn),er)}},Rn));return zn(on)}),kt=Cn,Qt=vt=>Je.createElement(Ot.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},Je.createElement(Cn,Object.assign({},vt)));kt._InternalPanelDoNotUseOrYouWillBeFired=Qt;var cn=kt},9432:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return Wt},n:function(){return Et}});var ne=ie(19248),be=ie(92310),Ce=ie.n(be),yt=ie(93681),Se=ie(8654),Ae=ie(59301),pe=ie(19080),ye=ie(36355),Ee=ie(1684),Re=ie(19716),ht=ie(32441),ke=ie(33234),Le=ie(59412),Ge=ie(9937);function nt(ft){return!!(ft.prefix||ft.suffix||ft.allowClear)}var ct=function(ft,pt){var ze={};for(var he in ft)Object.prototype.hasOwnProperty.call(ft,he)&&pt.indexOf(he)<0&&(ze[he]=ft[he]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,he=Object.getOwnPropertySymbols(ft);it<he.length;it++)pt.indexOf(he[it])<0&&Object.prototype.propertyIsEnumerable.call(ft,he[it])&&(ze[he[it]]=ft[he[it]]);return ze};function Et(ft,pt){if(!ft)return;ft.focus(pt);const{cursor:ze}=pt||{};if(ze){const he=ft.value.length;switch(ze){case"start":ft.setSelectionRange(0,0);break;case"end":ft.setSelectionRange(he,he);break;default:ft.setSelectionRange(0,he);break}}}var Wt=(0,Ae.forwardRef)((ft,pt)=>{var ze;const{prefixCls:he,bordered:it=!0,status:ot,size:ut,disabled:Je,onBlur:mt,onFocus:Te,suffix:xt,allowClear:Ne,addonAfter:Rt,addonBefore:Dt,className:Nt,style:wt,styles:It,rootClassName:We,onChange:ve,classNames:Qe}=ft,Vt=ct(ft,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Mt,direction:Ue,input:st}=Ae.useContext(ye.E_),Ht=Mt("input",he),yn=(0,Ae.useRef)(null),[Ut,Sn]=(0,Ge.ZP)(Ht),{compactSize:jt,compactItemClassnames:Jt}=(0,ke.ri)(Ht,Ue),Ot=(0,Re.Z)(Cn=>{var kt;return(kt=ut!=null?ut:jt)!==null&&kt!==void 0?kt:Cn}),xe=Ae.useContext(Ee.Z),ce=Je!=null?Je:xe,{status:ue,hasFeedback:de,feedbackIcon:fe}=(0,Ae.useContext)(ht.aM),le=(0,pe.F)(ue,ot),Fe=nt(ft)||!!de,at=(0,Ae.useRef)(Fe);(0,Ae.useEffect)(()=>{var Cn;Fe&&at.current,at.current=Fe},[Fe]);const Ze=(0,Le.Z)(yn,!0),Me=Cn=>{Ze(),mt==null||mt(Cn)},Lt=Cn=>{Ze(),Te==null||Te(Cn)},bt=Cn=>{Ze(),ve==null||ve(Cn)},et=(de||xt)&&Ae.createElement(Ae.Fragment,null,xt,de&&fe);let Zt;return typeof Ne=="object"&&(Ne!=null&&Ne.clearIcon)?Zt=Ne:Ne&&(Zt={clearIcon:Ae.createElement(ne.Z,null)}),Ut(Ae.createElement(yt.default,Object.assign({ref:(0,Se.sQ)(pt,yn),prefixCls:Ht,autoComplete:st==null?void 0:st.autoComplete},Vt,{disabled:ce,onBlur:Me,onFocus:Lt,style:Object.assign(Object.assign({},st==null?void 0:st.style),wt),styles:Object.assign(Object.assign({},st==null?void 0:st.styles),It),suffix:et,allowClear:Zt,className:Ce()(Nt,We,Jt,st==null?void 0:st.className),onChange:bt,addonAfter:Rt&&Ae.createElement(ke.BR,null,Ae.createElement(ht.Ux,{override:!0,status:!0},Rt)),addonBefore:Dt&&Ae.createElement(ke.BR,null,Ae.createElement(ht.Ux,{override:!0,status:!0},Dt)),classNames:Object.assign(Object.assign(Object.assign({},Qe),st==null?void 0:st.classNames),{input:Ce()({[`${Ht}-sm`]:Ot==="small",[`${Ht}-lg`]:Ot==="large",[`${Ht}-rtl`]:Ue==="rtl",[`${Ht}-borderless`]:!it},!Fe&&(0,pe.Z)(Ht,le),Qe==null?void 0:Qe.input,(ze=st==null?void 0:st.classNames)===null||ze===void 0?void 0:ze.input,Sn)}),classes:{affixWrapper:Ce()({[`${Ht}-affix-wrapper-sm`]:Ot==="small",[`${Ht}-affix-wrapper-lg`]:Ot==="large",[`${Ht}-affix-wrapper-rtl`]:Ue==="rtl",[`${Ht}-affix-wrapper-borderless`]:!it},(0,pe.Z)(`${Ht}-affix-wrapper`,le,de),Sn),wrapper:Ce()({[`${Ht}-group-rtl`]:Ue==="rtl"},Sn),group:Ce()({[`${Ht}-group-wrapper-sm`]:Ot==="small",[`${Ht}-group-wrapper-lg`]:Ot==="large",[`${Ht}-group-wrapper-rtl`]:Ue==="rtl",[`${Ht}-group-wrapper-disabled`]:ce},(0,pe.Z)(`${Ht}-group-wrapper`,le,de),Sn)}})))})},1643:function(Ln,pn,ie){"use strict";var ne=ie(19248),be=ie(92310),Ce=ie.n(be),yt=ie(9296),Se=ie(59301),Ae=ie(19080),pe=ie(36355),ye=ie(1684),Ee=ie(19716),Re=ie(32441),ht=ie(9432),ke=ie(9937),Le=function(nt,ct){var Et={};for(var Ct in nt)Object.prototype.hasOwnProperty.call(nt,Ct)&&ct.indexOf(Ct)<0&&(Et[Ct]=nt[Ct]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Ct=Object.getOwnPropertySymbols(nt);Wt<Ct.length;Wt++)ct.indexOf(Ct[Wt])<0&&Object.prototype.propertyIsEnumerable.call(nt,Ct[Wt])&&(Et[Ct[Wt]]=nt[Ct[Wt]]);return Et};const Ge=(0,Se.forwardRef)((nt,ct)=>{const{prefixCls:Et,bordered:Ct=!0,size:Wt,disabled:ft,status:pt,allowClear:ze,showCount:he,classNames:it,rootClassName:ot,className:ut}=nt,Je=Le(nt,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:mt,direction:Te}=Se.useContext(pe.E_),xt=(0,Ee.Z)(Wt),Ne=Se.useContext(ye.Z),Rt=ft!=null?ft:Ne,{status:Dt,hasFeedback:Nt,feedbackIcon:wt}=Se.useContext(Re.aM),It=(0,Ae.F)(Dt,pt),We=Se.useRef(null);Se.useImperativeHandle(ct,()=>{var Ue;return{resizableTextArea:(Ue=We.current)===null||Ue===void 0?void 0:Ue.resizableTextArea,focus:st=>{var Ht,yn;(0,ht.n)((yn=(Ht=We.current)===null||Ht===void 0?void 0:Ht.resizableTextArea)===null||yn===void 0?void 0:yn.textArea,st)},blur:()=>{var st;return(st=We.current)===null||st===void 0?void 0:st.blur()}}});const ve=mt("input",Et);let Qe;typeof ze=="object"&&(ze!=null&&ze.clearIcon)?Qe=ze:ze&&(Qe={clearIcon:Se.createElement(ne.Z,null)});const[Vt,Mt]=(0,ke.ZP)(ve);return Vt(Se.createElement(yt.default,Object.assign({},Je,{disabled:Rt,allowClear:Qe,className:Ce()(ut,ot),classes:{affixWrapper:Ce()(`${ve}-textarea-affix-wrapper`,{[`${ve}-affix-wrapper-rtl`]:Te==="rtl",[`${ve}-affix-wrapper-borderless`]:!Ct,[`${ve}-affix-wrapper-sm`]:xt==="small",[`${ve}-affix-wrapper-lg`]:xt==="large",[`${ve}-textarea-show-count`]:he},(0,Ae.Z)(`${ve}-affix-wrapper`,It),Mt)},classNames:Object.assign(Object.assign({},it),{textarea:Ce()({[`${ve}-borderless`]:!Ct,[`${ve}-sm`]:xt==="small",[`${ve}-lg`]:xt==="large"},(0,Ae.Z)(ve,It),Mt,it==null?void 0:it.textarea)}),prefixCls:ve,suffix:Nt&&Se.createElement("span",{className:`${ve}-textarea-suffix`},wt),showCount:he,ref:We})))});pn.Z=Ge},59412:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return be}});var ne=ie(59301);function be(Ce,yt){const Se=(0,ne.useRef)([]),Ae=()=>{Se.current.push(setTimeout(()=>{var pe,ye,Ee,Re;!((pe=Ce.current)===null||pe===void 0)&&pe.input&&((ye=Ce.current)===null||ye===void 0?void 0:ye.input.getAttribute("type"))==="password"&&(!((Ee=Ce.current)===null||Ee===void 0)&&Ee.input.hasAttribute("value"))&&((Re=Ce.current)===null||Re===void 0||Re.input.removeAttribute("value"))}))};return(0,ne.useEffect)(()=>(yt&&Ae(),()=>Se.current.forEach(pe=>{pe&&clearTimeout(pe)})),[]),Ae}},92832:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return xt}});var ne=ie(92310),be=ie.n(ne),Ce=ie(59301),yt=ie(36355),Se=ie(32441),Ae=ie(9937),ye=Ne=>{const{getPrefixCls:Rt,direction:Dt}=(0,Ce.useContext)(yt.E_),{prefixCls:Nt,className:wt}=Ne,It=Rt("input-group",Nt),We=Rt("input"),[ve,Qe]=(0,Ae.ZP)(We),Vt=be()(It,{[`${It}-lg`]:Ne.size==="large",[`${It}-sm`]:Ne.size==="small",[`${It}-compact`]:Ne.compact,[`${It}-rtl`]:Dt==="rtl"},Qe,wt),Mt=(0,Ce.useContext)(Se.aM),Ue=(0,Ce.useMemo)(()=>Object.assign(Object.assign({},Mt),{isFormItemInput:!1}),[Mt]);return ve(Ce.createElement("span",{className:Vt,style:Ne.style,onMouseEnter:Ne.onMouseEnter,onMouseLeave:Ne.onMouseLeave,onFocus:Ne.onFocus,onBlur:Ne.onBlur},Ce.createElement(Se.aM.Provider,{value:Ue},Ne.children)))},Ee=ie(9432),Re=ie(73331),ht=ie(15277),ke=ie(2738),Le=ie(8654),Ge=ie(59412),nt=function(Ne,Rt){var Dt={};for(var Nt in Ne)Object.prototype.hasOwnProperty.call(Ne,Nt)&&Rt.indexOf(Nt)<0&&(Dt[Nt]=Ne[Nt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,Nt=Object.getOwnPropertySymbols(Ne);wt<Nt.length;wt++)Rt.indexOf(Nt[wt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Nt[wt])&&(Dt[Nt[wt]]=Ne[Nt[wt]]);return Dt};const ct=Ne=>Ne?Ce.createElement(ht.Z,null):Ce.createElement(Re.Z,null),Et={click:"onClick",hover:"onMouseOver"};var Wt=Ce.forwardRef((Ne,Rt)=>{const{visibilityToggle:Dt=!0}=Ne,Nt=typeof Dt=="object"&&Dt.visible!==void 0,[wt,It]=(0,Ce.useState)(()=>Nt?Dt.visible:!1),We=(0,Ce.useRef)(null);Ce.useEffect(()=>{Nt&&It(Dt.visible)},[Nt,Dt]);const ve=(0,Ge.Z)(We),Qe=()=>{const{disabled:ce}=Ne;ce||(wt&&ve(),It(ue=>{var de;const fe=!ue;return typeof Dt=="object"&&((de=Dt.onVisibleChange)===null||de===void 0||de.call(Dt,fe)),fe}))},Vt=ce=>{const{action:ue="click",iconRender:de=ct}=Ne,fe=Et[ue]||"",le=de(wt),Fe={[fe]:Qe,className:`${ce}-icon`,key:"passwordIcon",onMouseDown:at=>{at.preventDefault()},onMouseUp:at=>{at.preventDefault()}};return Ce.cloneElement(Ce.isValidElement(le)?le:Ce.createElement("span",null,le),Fe)},{className:Mt,prefixCls:Ue,inputPrefixCls:st,size:Ht}=Ne,yn=nt(Ne,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Ut}=Ce.useContext(yt.E_),Sn=Ut("input",st),jt=Ut("input-password",Ue),Jt=Dt&&Vt(jt),Ot=be()(jt,Mt,{[`${jt}-${Ht}`]:!!Ht}),xe=Object.assign(Object.assign({},(0,ke.Z)(yn,["suffix","iconRender","visibilityToggle"])),{type:wt?"text":"password",className:Ot,prefixCls:Sn,suffix:Jt});return Ht&&(xe.size=Ht),Ce.createElement(Ee.Z,Object.assign({ref:(0,Le.sQ)(Rt,We)},xe))}),ft=ie(47472),pt=ie(92343),ze=ie(3113),he=ie(19716),it=ie(33234),ot=function(Ne,Rt){var Dt={};for(var Nt in Ne)Object.prototype.hasOwnProperty.call(Ne,Nt)&&Rt.indexOf(Nt)<0&&(Dt[Nt]=Ne[Nt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,Nt=Object.getOwnPropertySymbols(Ne);wt<Nt.length;wt++)Rt.indexOf(Nt[wt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Nt[wt])&&(Dt[Nt[wt]]=Ne[Nt[wt]]);return Dt},Je=Ce.forwardRef((Ne,Rt)=>{const{prefixCls:Dt,inputPrefixCls:Nt,className:wt,size:It,suffix:We,enterButton:ve=!1,addonAfter:Qe,loading:Vt,disabled:Mt,onSearch:Ue,onChange:st,onCompositionStart:Ht,onCompositionEnd:yn}=Ne,Ut=ot(Ne,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Sn,direction:jt}=Ce.useContext(yt.E_),Jt=Ce.useRef(!1),Ot=Sn("input-search",Dt),xe=Sn("input",Nt),{compactSize:ce}=(0,it.ri)(Ot,jt),ue=(0,he.Z)(Qt=>{var cn;return(cn=It!=null?It:ce)!==null&&cn!==void 0?cn:Qt}),de=Ce.useRef(null),fe=Qt=>{Qt&&Qt.target&&Qt.type==="click"&&Ue&&Ue(Qt.target.value,Qt,{source:"clear"}),st&&st(Qt)},le=Qt=>{var cn;document.activeElement===((cn=de.current)===null||cn===void 0?void 0:cn.input)&&Qt.preventDefault()},Fe=Qt=>{var cn,vt;Ue&&Ue((vt=(cn=de.current)===null||cn===void 0?void 0:cn.input)===null||vt===void 0?void 0:vt.value,Qt,{source:"input"})},at=Qt=>{Jt.current||Vt||Fe(Qt)},Ze=typeof ve=="boolean"?Ce.createElement(ft.Z,null):null,Me=`${Ot}-button`;let Lt;const bt=ve||{},et=bt.type&&bt.type.__ANT_BUTTON===!0;et||bt.type==="button"?Lt=(0,pt.Tm)(bt,Object.assign({onMouseDown:le,onClick:Qt=>{var cn,vt;(vt=(cn=bt==null?void 0:bt.props)===null||cn===void 0?void 0:cn.onClick)===null||vt===void 0||vt.call(cn,Qt),Fe(Qt)},key:"enterButton"},et?{className:Me,size:ue}:{})):Lt=Ce.createElement(ze.ZP,{className:Me,type:ve?"primary":void 0,size:ue,disabled:Mt,key:"enterButton",onMouseDown:le,onClick:Fe,loading:Vt,icon:Ze},ve),Qe&&(Lt=[Lt,(0,pt.Tm)(Qe,{key:"addonAfter"})]);const Zt=be()(Ot,{[`${Ot}-rtl`]:jt==="rtl",[`${Ot}-${ue}`]:!!ue,[`${Ot}-with-button`]:!!ve},wt),Cn=Qt=>{Jt.current=!0,Ht==null||Ht(Qt)},kt=Qt=>{Jt.current=!1,yn==null||yn(Qt)};return Ce.createElement(Ee.Z,Object.assign({ref:(0,Le.sQ)(de,Rt),onPressEnter:at},Ut,{size:ue,onCompositionStart:Cn,onCompositionEnd:kt,prefixCls:xe,addonAfter:Lt,suffix:We,onChange:fe,className:Zt,disabled:Mt}))}),mt=ie(1643);const Te=Ee.Z;Te.Group=ye,Te.Search=Je,Te.TextArea=mt.Z,Te.Password=Wt;var xt=Te},9937:function(Ln,pn,ie){"use strict";ie.d(pn,{M1:function(){return pe},TM:function(){return pt},Xy:function(){return ye},bi:function(){return ht},e5:function(){return ft},ik:function(){return ke},nz:function(){return Se},pU:function(){return Ae},s7:function(){return Le},x0:function(){return Re}});var ne=ie(17313),be=ie(74207),Ce=ie(37613),yt=ie(83116);const Se=ze=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:ze,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Ae=ze=>({borderColor:ze.hoverBorderColor}),pe=ze=>({borderColor:ze.activeBorderColor,boxShadow:ze.activeShadow,outline:0}),ye=ze=>({color:ze.colorTextDisabled,backgroundColor:ze.colorBgContainerDisabled,borderColor:ze.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Ae((0,Ce.TS)(ze,{hoverBorderColor:ze.colorBorder})))}),Ee=ze=>{const{paddingBlockLG:he,fontSizeLG:it,lineHeightLG:ot,borderRadiusLG:ut,paddingInlineLG:Je}=ze;return{padding:`${he}px ${Je}px`,fontSize:it,lineHeight:ot,borderRadius:ut}},Re=ze=>({padding:`${ze.paddingBlockSM}px ${ze.paddingInlineSM}px`,borderRadius:ze.borderRadiusSM}),ht=(ze,he)=>{const{componentCls:it,colorError:ot,colorWarning:ut,errorActiveShadow:Je,warningActiveShadow:mt,colorErrorBorderHover:Te,colorWarningBorderHover:xt}=ze;return{[`&-status-error:not(${he}-disabled):not(${he}-borderless)${he}`]:{borderColor:ot,"&:hover":{borderColor:Te},"&:focus, &-focused":Object.assign({},pe((0,Ce.TS)(ze,{activeBorderColor:ot,activeShadow:Je}))),[`${it}-prefix, ${it}-suffix`]:{color:ot}},[`&-status-warning:not(${he}-disabled):not(${he}-borderless)${he}`]:{borderColor:ut,"&:hover":{borderColor:xt},"&:focus, &-focused":Object.assign({},pe((0,Ce.TS)(ze,{activeBorderColor:ut,activeShadow:mt}))),[`${it}-prefix, ${it}-suffix`]:{color:ut}}}},ke=ze=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${ze.paddingBlock}px ${ze.paddingInline}px`,color:ze.colorText,fontSize:ze.fontSize,lineHeight:ze.lineHeight,backgroundColor:ze.colorBgContainer,backgroundImage:"none",borderWidth:ze.lineWidth,borderStyle:ze.lineType,borderColor:ze.colorBorder,borderRadius:ze.borderRadius,transition:`all ${ze.motionDurationMid}`},Se(ze.colorTextPlaceholder)),{"&:hover":Object.assign({},Ae(ze)),"&:focus, &-focused":Object.assign({},pe(ze)),"&-disabled, &[disabled]":Object.assign({},ye(ze)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:ze.controlHeight,lineHeight:ze.lineHeight,verticalAlign:"bottom",transition:`all ${ze.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Ee(ze)),"&-sm":Object.assign({},Re(ze)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Le=ze=>{const{componentCls:he,antCls:it}=ze;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:ze.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${he}, &-lg > ${he}-group-addon`]:Object.assign({},Ee(ze)),[`&-sm ${he}, &-sm > ${he}-group-addon`]:Object.assign({},Re(ze)),[`&-lg ${it}-select-single ${it}-select-selector`]:{height:ze.controlHeightLG},[`&-sm ${it}-select-single ${it}-select-selector`]:{height:ze.controlHeightSM},[`> ${he}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${he}-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 ${ze.paddingInline}px`,color:ze.colorText,fontWeight:"normal",fontSize:ze.fontSize,textAlign:"center",backgroundColor:ze.colorFillAlter,border:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`,borderRadius:ze.borderRadius,transition:`all ${ze.motionDurationSlow}`,lineHeight:1,[`${it}-select`]:{margin:`-${ze.paddingBlock+1}px -${ze.paddingInline}px`,[`&${it}-select-single:not(${it}-select-customize-input)`]:{[`${it}-select-selector`]:{backgroundColor:"inherit",border:`${ze.lineWidth}px ${ze.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${it}-select-selector`]:{color:ze.colorPrimary}}},[`${it}-cascader-picker`]:{margin:`-9px -${ze.paddingInline}px`,backgroundColor:"transparent",[`${it}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${he}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${he}-search-with-button &`]:{zIndex:0}}},[`> ${he}:first-child, ${he}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${it}-select ${it}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${he}-affix-wrapper`]:{[`&:not(:first-child) ${he}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${he}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${he}:last-child, ${he}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${it}-select ${it}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${he}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${he}-search &`]:{borderStartStartRadius:ze.borderRadius,borderEndStartRadius:ze.borderRadius}},[`&:not(:first-child), ${he}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${he}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ne.dF)()),{[`${he}-group-addon, ${he}-group-wrap, > ${he}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:ze.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${he}-affix-wrapper,
|
|
|
& > ${he}-number-affix-wrapper,
|
|
|
& > ${it}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-ze.lineWidth,borderInlineEndWidth:ze.lineWidth},[`${he}`]:{float:"none"},[`& > ${it}-select > ${it}-select-selector,
|
|
|
& > ${it}-select-auto-complete ${he},
|
|
|
& > ${it}-cascader-picker ${he},
|
|
|
& > ${he}-group-wrapper ${he}`]:{borderInlineEndWidth:ze.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${it}-select-focused`]:{zIndex:1},[`& > ${it}-select > ${it}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${it}-select:first-child > ${it}-select-selector,
|
|
|
& > ${it}-select-auto-complete:first-child ${he},
|
|
|
& > ${it}-cascader-picker:first-child ${he}`]:{borderStartStartRadius:ze.borderRadius,borderEndStartRadius:ze.borderRadius},[`& > *:last-child,
|
|
|
& > ${it}-select:last-child > ${it}-select-selector,
|
|
|
& > ${it}-cascader-picker:last-child ${he},
|
|
|
& > ${it}-cascader-picker-focused:last-child ${he}`]:{borderInlineEndWidth:ze.lineWidth,borderStartEndRadius:ze.borderRadius,borderEndEndRadius:ze.borderRadius},[`& > ${it}-select-auto-complete ${he}`]:{verticalAlign:"top"},[`${he}-group-wrapper + ${he}-group-wrapper`]:{marginInlineStart:-ze.lineWidth,[`${he}-affix-wrapper`]:{borderRadius:0}},[`${he}-group-wrapper:not(:last-child)`]:{[`&${he}-search > ${he}-group`]:{[`& > ${he}-group-addon > ${he}-search-button`]:{borderRadius:0},[`& > ${he}`]:{borderStartStartRadius:ze.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ze.borderRadius}}}})}},Ge=ze=>{const{componentCls:he,controlHeightSM:it,lineWidth:ot}=ze,Je=(it-ot*2-16)/2;return{[he]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(ze)),ke(ze)),ht(ze,he)),{'&[type="color"]':{height:ze.controlHeight,[`&${he}-lg`]:{height:ze.controlHeightLG},[`&${he}-sm`]:{height:it,paddingTop:Je,paddingBottom:Je}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},nt=ze=>{const{componentCls:he}=ze;return{[`${he}-clear-icon`]:{margin:0,color:ze.colorTextQuaternary,fontSize:ze.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${ze.motionDurationSlow}`,"&:hover":{color:ze.colorTextTertiary},"&:active":{color:ze.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${ze.inputAffixPadding}px`}}}},ct=ze=>{const{componentCls:he,inputAffixPadding:it,colorTextDescription:ot,motionDurationSlow:ut,colorIcon:Je,colorIconHover:mt,iconCls:Te}=ze;return{[`${he}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ke(ze)),{display:"inline-flex",[`&:not(${he}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},Ae(ze)),{zIndex:1,[`${he}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${he}[disabled]`]:{background:"transparent"}},[`> input${he}`]:{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"'},[`${he}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:ze.paddingXS}},"&-show-count-suffix":{color:ot},"&-show-count-has-suffix":{marginInlineEnd:ze.paddingXXS},"&-prefix":{marginInlineEnd:it},"&-suffix":{marginInlineStart:it}}}),nt(ze)),{[`${Te}${he}-password-icon`]:{color:Je,cursor:"pointer",transition:`all ${ut}`,"&:hover":{color:mt}}}),ht(ze,`${he}-affix-wrapper`))}},Et=ze=>{const{componentCls:he,colorError:it,colorWarning:ot,borderRadiusLG:ut,borderRadiusSM:Je}=ze;return{[`${he}-group`]:Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(ze)),Le(ze)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${he}-group-addon`]:{borderRadius:ut,fontSize:ze.fontSizeLG}},"&-sm":{[`${he}-group-addon`]:{borderRadius:Je}},"&-status-error":{[`${he}-group-addon`]:{color:it,borderColor:it}},"&-status-warning":{[`${he}-group-addon`]:{color:ot,borderColor:ot}},"&-disabled":{[`${he}-group-addon`]:Object.assign({},ye(ze))},[`&:not(${he}-compact-first-item):not(${he}-compact-last-item)${he}-compact-item`]:{[`${he}, ${he}-group-addon`]:{borderRadius:0}},[`&:not(${he}-compact-last-item)${he}-compact-first-item`]:{[`${he}, ${he}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${he}-compact-first-item)${he}-compact-last-item`]:{[`${he}, ${he}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Ct=ze=>{const{componentCls:he,antCls:it}=ze,ot=`${he}-search`;return{[ot]:{[`${he}`]:{"&:hover, &:focus":{borderColor:ze.colorPrimaryHover,[`+ ${he}-group-addon ${ot}-button:not(${it}-btn-primary)`]:{borderInlineStartColor:ze.colorPrimaryHover}}},[`${he}-affix-wrapper`]:{borderRadius:0},[`${he}-lg`]:{lineHeight:ze.lineHeightLG-2e-4},[`> ${he}-group`]:{[`> ${he}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${ot}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:ze.borderRadius,borderEndEndRadius:ze.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${ot}-button:not(${it}-btn-primary)`]:{color:ze.colorTextDescription,"&:hover":{color:ze.colorPrimaryHover},"&:active":{color:ze.colorPrimaryActive},[`&${it}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${ot}-button`]:{height:ze.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${ot}-button`]:{height:ze.controlHeightLG},[`&-small ${ot}-button`]:{height:ze.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${he}-compact-item`]:{[`&:not(${he}-compact-last-item)`]:{[`${he}-group-addon`]:{[`${he}-search-button`]:{marginInlineEnd:-ze.lineWidth,borderRadius:0}}},[`&:not(${he}-compact-first-item)`]:{[`${he},${he}-affix-wrapper`]:{borderRadius:0}},[`> ${he}-group-addon ${he}-search-button,
|
|
|
> ${he},
|
|
|
${he}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${he}-affix-wrapper-focused`]:{zIndex:2}}}}},Wt=ze=>{const{componentCls:he,paddingLG:it}=ze,ot=`${he}-textarea`;return{[ot]:{position:"relative","&-show-count":{[`> ${he}`]:{height:"100%"},[`${he}-data-count`]:{position:"absolute",bottom:-ze.fontSize*ze.lineHeight,insetInlineEnd:0,color:ze.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${he}`]:{paddingInlineEnd:it}},[`&-affix-wrapper${ot}-has-feedback`]:{[`${he}`]:{paddingInlineEnd:it}},[`&-affix-wrapper${he}-affix-wrapper`]:{padding:0,[`> textarea${he}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${he}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${he}-clear-icon`]:{position:"absolute",insetInlineEnd:ze.paddingXS,insetBlockStart:ze.paddingXS},[`${ot}-suffix`]:{position:"absolute",top:0,insetInlineEnd:ze.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ft(ze){return(0,Ce.TS)(ze,{inputAffixPadding:ze.paddingXXS})}const pt=ze=>{const{controlHeight:he,fontSize:it,lineHeight:ot,lineWidth:ut,controlHeightSM:Je,controlHeightLG:mt,fontSizeLG:Te,lineHeightLG:xt,paddingSM:Ne,controlPaddingHorizontalSM:Rt,controlPaddingHorizontal:Dt,colorFillAlter:Nt,colorPrimaryHover:wt,controlOutlineWidth:It,controlOutline:We,colorErrorOutline:ve,colorWarningOutline:Qe}=ze;return{paddingBlock:Math.max(Math.round((he-it*ot)/2*10)/10-ut,3),paddingBlockSM:Math.max(Math.round((Je-it*ot)/2*10)/10-ut,0),paddingBlockLG:Math.ceil((mt-Te*xt)/2*10)/10-ut,paddingInline:Ne-ut,paddingInlineSM:Rt-ut,paddingInlineLG:Dt-ut,addonBg:Nt,activeBorderColor:wt,hoverBorderColor:wt,activeShadow:`0 0 0 ${It}px ${We}`,errorActiveShadow:`0 0 0 ${It}px ${ve}`,warningActiveShadow:`0 0 0 ${It}px ${Qe}`}};pn.ZP=(0,yt.Z)("Input",ze=>{const he=(0,Ce.TS)(ze,ft(ze));return[Ge(he),Wt(he),ct(he),Et(he),Ct(he),(0,be.c)(he)]},pt)},45818:function(Ln,pn,ie){"use strict";ie.d(pn,{D:function(){return ft},Z:function(){return he}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(ot,ut){return be.createElement(Se.Z,(0,ne.Z)({},ot,{ref:ut,icon:yt}))},pe=be.forwardRef(Ae),ye=pe,Ee=ie(33853),Re=ie(38819),ht=ie(92310),ke=ie.n(ht),Le=ie(2738),nt=it=>!isNaN(parseFloat(it))&&isFinite(it),ct=ie(36355),Et=ie(84966),Ct=function(it,ot){var ut={};for(var Je in it)Object.prototype.hasOwnProperty.call(it,Je)&&ot.indexOf(Je)<0&&(ut[Je]=it[Je]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,Je=Object.getOwnPropertySymbols(it);mt<Je.length;mt++)ot.indexOf(Je[mt])<0&&Object.prototype.propertyIsEnumerable.call(it,Je[mt])&&(ut[Je[mt]]=it[Je[mt]]);return ut};const Wt={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ft=be.createContext({}),pt=(()=>{let it=0;return function(){let ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return it+=1,`${ot}${it}`}})();var he=be.forwardRef((it,ot)=>{const{prefixCls:ut,className:Je,trigger:mt,children:Te,defaultCollapsed:xt=!1,theme:Ne="dark",style:Rt={},collapsible:Dt=!1,reverseArrow:Nt=!1,width:wt=200,collapsedWidth:It=80,zeroWidthTriggerStyle:We,breakpoint:ve,onCollapse:Qe,onBreakpoint:Vt}=it,Mt=Ct(it,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ue}=(0,be.useContext)(Et.Gs),[st,Ht]=(0,be.useState)("collapsed"in it?it.collapsed:xt),[yn,Ut]=(0,be.useState)(!1);(0,be.useEffect)(()=>{"collapsed"in it&&Ht(it.collapsed)},[it.collapsed]);const Sn=(ue,de)=>{"collapsed"in it||Ht(ue),Qe==null||Qe(ue,de)},jt=(0,be.useRef)();jt.current=ue=>{Ut(ue.matches),Vt==null||Vt(ue.matches),st!==ue.matches&&Sn(ue.matches,"responsive")},(0,be.useEffect)(()=>{function ue(fe){return jt.current(fe)}let de;if(typeof window!="undefined"){const{matchMedia:fe}=window;if(fe&&ve&&ve in Wt){de=fe(`(max-width: ${Wt[ve]})`);try{de.addEventListener("change",ue)}catch(le){de.addListener(ue)}ue(de)}}return()=>{try{de==null||de.removeEventListener("change",ue)}catch(fe){de==null||de.removeListener(ue)}}},[ve]),(0,be.useEffect)(()=>{const ue=pt("ant-sider-");return Ue.addSider(ue),()=>Ue.removeSider(ue)},[]);const Jt=()=>{Sn(!st,"clickTrigger")},{getPrefixCls:Ot}=(0,be.useContext)(ct.E_),xe=()=>{const ue=Ot("layout-sider",ut),de=(0,Le.Z)(Mt,["collapsed"]),fe=st?It:wt,le=nt(fe)?`${fe}px`:String(fe),Fe=parseFloat(String(It||0))===0?be.createElement("span",{onClick:Jt,className:ke()(`${ue}-zero-width-trigger`,`${ue}-zero-width-trigger-${Nt?"right":"left"}`),style:We},mt||be.createElement(ye,null)):null,Me={expanded:Nt?be.createElement(Re.Z,null):be.createElement(Ee.Z,null),collapsed:Nt?be.createElement(Ee.Z,null):be.createElement(Re.Z,null)}[st?"collapsed":"expanded"],Lt=mt!==null?Fe||be.createElement("div",{className:`${ue}-trigger`,onClick:Jt,style:{width:le}},mt||Me):null,bt=Object.assign(Object.assign({},Rt),{flex:`0 0 ${le}`,maxWidth:le,minWidth:le,width:le}),et=ke()(ue,`${ue}-${Ne}`,{[`${ue}-collapsed`]:!!st,[`${ue}-has-trigger`]:Dt&&mt!==null&&!Fe,[`${ue}-below`]:!!yn,[`${ue}-zero-width`]:parseFloat(le)===0},Je);return be.createElement("aside",Object.assign({className:et},de,{style:bt,ref:ot}),be.createElement("div",{className:`${ue}-children`},Te),Dt||yn&&Fe?Lt:null)},ce=be.useMemo(()=>({siderCollapsed:st}),[st]);return be.createElement(ft.Provider,{value:ce},xe())})},84966:function(Ln,pn,ie){"use strict";ie.d(pn,{VY:function(){return ft},$_:function(){return Wt},h4:function(){return Ct},Gs:function(){return Le},ZP:function(){return pt}});var ne=ie(94480),be=ie(92310),Ce=ie.n(be),yt=ie(2738),Se=ie(59301),Ae=ie(36355),pe=ie(83116),Ee=ze=>{const{componentCls:he,bodyBg:it,lightSiderBg:ot,lightTriggerBg:ut,lightTriggerColor:Je}=ze;return{[`${he}-sider-light`]:{background:ot,[`${he}-sider-trigger`]:{color:Je,background:ut},[`${he}-sider-zero-width-trigger`]:{color:Je,background:ut,border:`1px solid ${it}`,borderInlineStart:0}}}};const Re=ze=>{const{antCls:he,componentCls:it,colorText:ot,triggerColor:ut,footerBg:Je,triggerBg:mt,headerHeight:Te,headerPadding:xt,headerColor:Ne,footerPadding:Rt,triggerHeight:Dt,zeroTriggerHeight:Nt,zeroTriggerWidth:wt,motionDurationMid:It,motionDurationSlow:We,fontSize:ve,borderRadius:Qe,bodyBg:Vt,headerBg:Mt,siderBg:Ue}=ze;return{[it]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Vt,"&, *":{boxSizing:"border-box"},[`&${it}-has-sider`]:{flexDirection:"row",[`> ${it}, > ${it}-content`]:{width:0}},[`${it}-header, &${it}-footer`]:{flex:"0 0 auto"},[`${it}-sider`]:{position:"relative",minWidth:0,background:Ue,transition:`all ${It}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${he}-menu${he}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Dt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Dt,color:ut,lineHeight:`${Dt}px`,textAlign:"center",background:mt,cursor:"pointer",transition:`all ${It}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Te,insetInlineEnd:-wt,zIndex:1,width:wt,height:Nt,color:ut,fontSize:ze.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ue,borderStartStartRadius:0,borderStartEndRadius:Qe,borderEndEndRadius:Qe,borderEndStartRadius:0,cursor:"pointer",transition:`background ${We} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${We}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-wt,borderStartStartRadius:Qe,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Qe}}}}},Ee(ze)),{"&-rtl":{direction:"rtl"}}),[`${it}-header`]:{height:Te,padding:xt,color:Ne,lineHeight:`${Te}px`,background:Mt,[`${he}-menu`]:{lineHeight:"inherit"}},[`${it}-footer`]:{padding:Rt,color:ot,fontSize:ve,background:Je},[`${it}-content`]:{flex:"auto",minHeight:0}}};var ht=(0,pe.Z)("Layout",ze=>[Re(ze)],ze=>{const{colorBgLayout:he,controlHeight:it,controlHeightLG:ot,colorText:ut,controlHeightSM:Je,marginXXS:mt,colorTextLightSolid:Te,colorBgContainer:xt}=ze,Ne=ot*1.25;return{colorBgHeader:"#001529",colorBgBody:he,colorBgTrigger:"#002140",bodyBg:he,headerBg:"#001529",headerHeight:it*2,headerPadding:`0 ${Ne}px`,headerColor:ut,footerPadding:`${Je}px ${Ne}px`,footerBg:he,siderBg:"#001529",triggerHeight:ot+mt*2,triggerBg:"#002140",triggerColor:Te,zeroTriggerWidth:ot,zeroTriggerHeight:ot,lightSiderBg:xt,lightTriggerBg:xt,lightTriggerColor:ut}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ke=function(ze,he){var it={};for(var ot in ze)Object.prototype.hasOwnProperty.call(ze,ot)&&he.indexOf(ot)<0&&(it[ot]=ze[ot]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,ot=Object.getOwnPropertySymbols(ze);ut<ot.length;ut++)he.indexOf(ot[ut])<0&&Object.prototype.propertyIsEnumerable.call(ze,ot[ut])&&(it[ot[ut]]=ze[ot[ut]]);return it};const Le=Se.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function Ge(ze){let{suffixCls:he,tagName:it,displayName:ot}=ze;return ut=>Se.forwardRef((mt,Te)=>Se.createElement(ut,Object.assign({ref:Te,suffixCls:he,tagName:it},mt)))}const nt=Se.forwardRef((ze,he)=>{const{prefixCls:it,suffixCls:ot,className:ut,tagName:Je}=ze,mt=ke(ze,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Te}=Se.useContext(Ae.E_),xt=Te("layout",it),[Ne,Rt]=ht(xt),Dt=ot?`${xt}-${ot}`:xt;return Ne(Se.createElement(Je,Object.assign({className:Ce()(it||Dt,ut,Rt),ref:he},mt)))}),ct=Se.forwardRef((ze,he)=>{const{direction:it}=Se.useContext(Ae.E_),[ot,ut]=Se.useState([]),{prefixCls:Je,className:mt,rootClassName:Te,children:xt,hasSider:Ne,tagName:Rt,style:Dt}=ze,Nt=ke(ze,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),wt=(0,yt.Z)(Nt,["suffixCls"]),{getPrefixCls:It,layout:We}=Se.useContext(Ae.E_),ve=It("layout",Je),[Qe,Vt]=ht(ve),Mt=Ce()(ve,{[`${ve}-has-sider`]:typeof Ne=="boolean"?Ne:ot.length>0,[`${ve}-rtl`]:it==="rtl"},We==null?void 0:We.className,mt,Te,Vt),Ue=Se.useMemo(()=>({siderHook:{addSider:st=>{ut(Ht=>[].concat((0,ne.Z)(Ht),[st]))},removeSider:st=>{ut(Ht=>Ht.filter(yn=>yn!==st))}}}),[]);return Qe(Se.createElement(Le.Provider,{value:Ue},Se.createElement(Rt,Object.assign({ref:he,className:Mt,style:Object.assign(Object.assign({},We==null?void 0:We.style),Dt)},wt),xt)))}),Et=Ge({tagName:"div",displayName:"Layout"})(ct),Ct=Ge({suffixCls:"header",tagName:"header",displayName:"Header"})(nt),Wt=Ge({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(nt),ft=Ge({suffixCls:"content",tagName:"main",displayName:"Content"})(nt);var pt=Et},40875:function(Ln,pn,ie){"use strict";ie.d(pn,{J:function(){return Ae}});var ne=ie(59301),be=ie(33234),Ce=ie(70425),yt=function(pe,ye){var Ee={};for(var Re in pe)Object.prototype.hasOwnProperty.call(pe,Re)&&ye.indexOf(Re)<0&&(Ee[Re]=pe[Re]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Re=Object.getOwnPropertySymbols(pe);ht<Re.length;ht++)ye.indexOf(Re[ht])<0&&Object.prototype.propertyIsEnumerable.call(pe,Re[ht])&&(Ee[Re[ht]]=pe[Re[ht]]);return Ee};const Se=ne.createContext(null),Ae=ne.forwardRef((pe,ye)=>{const{children:Ee}=pe,Re=yt(pe,["children"]),ht=ne.useContext(Se),ke=ne.useMemo(()=>Object.assign(Object.assign({},ht),Re),[ht,Re.prefixCls,Re.mode,Re.selectable]);return ne.createElement(Se.Provider,{value:ke},ne.createElement(be.BR,null,(0,Ce.supportNodeRef)(Ee)?ne.cloneElement(Ee,{ref:ye}):Ee))});pn.Z=Se},20834:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return ce}});var ne=ie(15285),be=ie(59301),Ce=ie(45818),yt=ie(92310),Se=ie.n(yt),Ae=ie(36355),pe=function(ue,de){var fe={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&de.indexOf(le)<0&&(fe[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,le=Object.getOwnPropertySymbols(ue);Fe<le.length;Fe++)de.indexOf(le[Fe])<0&&Object.prototype.propertyIsEnumerable.call(ue,le[Fe])&&(fe[le[Fe]]=ue[le[Fe]]);return fe},Ee=ue=>{const{prefixCls:de,className:fe,dashed:le}=ue,Fe=pe(ue,["prefixCls","className","dashed"]),{getPrefixCls:at}=be.useContext(Ae.E_),Ze=at("menu",de),Me=Se()({[`${Ze}-item-divider-dashed`]:!!le},fe);return be.createElement(ne.iz,Object.assign({className:Me},Fe))},Re=ie(11592),ht=ie(2738),ke=ie(6848),Le=ie(92343),nt=(0,be.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Et=ue=>{var de;const{className:fe,children:le,icon:Fe,title:at,danger:Ze}=ue,{prefixCls:Me,firstLevel:Lt,direction:bt,disableMenuItemTitleTooltip:et,inlineCollapsed:Zt}=be.useContext(nt),Cn=tt=>{const ln=be.createElement("span",{className:`${Me}-title-content`},le);return(!Fe||(0,Le.l$)(le)&&le.type==="span")&&le&&tt&&Lt&&typeof le=="string"?be.createElement("div",{className:`${Me}-inline-collapsed-noicon`},le.charAt(0)):ln},{siderCollapsed:kt}=be.useContext(Ce.D);let Qt=at;typeof at=="undefined"?Qt=Lt?le:"":at===!1&&(Qt="");const cn={title:Qt};!kt&&!Zt&&(cn.title=null,cn.open=!1);const vt=(0,Re.Z)(le).length;let Oe=be.createElement(ne.ck,Object.assign({},(0,ht.Z)(ue,["title","icon","danger"]),{className:Se()({[`${Me}-item-danger`]:Ze,[`${Me}-item-only-child`]:(Fe?vt+1:vt)===1},fe),title:typeof at=="string"?at:void 0}),(0,Le.Tm)(Fe,{className:Se()((0,Le.l$)(Fe)?(de=Fe.props)===null||de===void 0?void 0:de.className:"",`${Me}-item-icon`)}),Cn(Zt));return et||(Oe=be.createElement(ke.Z,Object.assign({},cn,{placement:bt==="rtl"?"left":"right",overlayClassName:`${Me}-inline-collapsed-tooltip`}),Oe)),Oe},Wt=ue=>{var de;const{popupClassName:fe,icon:le,title:Fe,theme:at}=ue,Ze=be.useContext(nt),{prefixCls:Me,inlineCollapsed:Lt,theme:bt}=Ze,et=(0,ne.Xl)();let Zt;if(!le)Zt=Lt&&!et.length&&Fe&&typeof Fe=="string"?be.createElement("div",{className:`${Me}-inline-collapsed-noicon`},Fe.charAt(0)):be.createElement("span",{className:`${Me}-title-content`},Fe);else{const kt=(0,Le.l$)(Fe)&&Fe.type==="span";Zt=be.createElement(be.Fragment,null,(0,Le.Tm)(le,{className:Se()((0,Le.l$)(le)?(de=le.props)===null||de===void 0?void 0:de.className:"",`${Me}-item-icon`)}),kt?Fe:be.createElement("span",{className:`${Me}-title-content`},Fe))}const Cn=be.useMemo(()=>Object.assign(Object.assign({},Ze),{firstLevel:!1}),[Ze]);return be.createElement(nt.Provider,{value:Cn},be.createElement(ne.Wd,Object.assign({},(0,ht.Z)(ue,["icon"]),{title:Zt,popupClassName:Se()(Me,fe,`${Me}-${at||bt}`)})))},ft=ie(18785),pt=ie(70425),ze=ie(62892),he=ie(40875),it=function(ue,de){var fe={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&de.indexOf(le)<0&&(fe[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,le=Object.getOwnPropertySymbols(ue);Fe<le.length;Fe++)de.indexOf(le[Fe])<0&&Object.prototype.propertyIsEnumerable.call(ue,le[Fe])&&(fe[le[Fe]]=ue[le[Fe]]);return fe};function ot(ue){return(ue||[]).map((de,fe)=>{if(de&&typeof de=="object"){const le=de,{label:Fe,children:at,key:Ze,type:Me}=le,Lt=it(le,["label","children","key","type"]),bt=Ze!=null?Ze:`tmp-${fe}`;return at||Me==="group"?Me==="group"?be.createElement(ne.BW,Object.assign({key:bt},Lt,{title:Fe}),ot(at)):be.createElement(Wt,Object.assign({key:bt},Lt,{title:Fe}),ot(at)):Me==="divider"?be.createElement(Ee,Object.assign({key:bt},Lt)):be.createElement(Et,Object.assign({key:bt},Lt),Fe)}return null}).filter(de=>de)}function ut(ue){return be.useMemo(()=>ue&&ot(ue),[ue])}var Je=ie(64993),mt=ie(17313),Te=ie(8378),xt=ie(13826),Ne=ie(29878),Rt=ie(83116),Dt=ie(37613),wt=ue=>{const{componentCls:de,motionDurationSlow:fe,horizontalLineHeight:le,colorSplit:Fe,lineWidth:at,lineType:Ze,itemPaddingInline:Me}=ue;return{[`${de}-horizontal`]:{lineHeight:le,border:0,borderBottom:`${at}px ${Ze} ${Fe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${de}-item, ${de}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Me},[`> ${de}-item:hover,
|
|
|
> ${de}-item-active,
|
|
|
> ${de}-submenu ${de}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${de}-item, ${de}-submenu-title`]:{transition:[`border-color ${fe}`,`background ${fe}`].join(",")},[`${de}-submenu-arrow`]:{display:"none"}}}},We=ue=>{let{componentCls:de,menuArrowOffset:fe}=ue;return{[`${de}-rtl`]:{direction:"rtl"},[`${de}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${de}-rtl${de}-vertical,
|
|
|
${de}-submenu-rtl ${de}-vertical`]:{[`${de}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${fe})`},"&::after":{transform:`rotate(45deg) translateY(${fe})`}}}}};const ve=ue=>Object.assign({},(0,mt.oN)(ue));var Vt=(ue,de)=>{const{componentCls:fe,itemColor:le,itemSelectedColor:Fe,groupTitleColor:at,itemBg:Ze,subMenuItemBg:Me,itemSelectedBg:Lt,activeBarHeight:bt,activeBarWidth:et,activeBarBorderWidth:Zt,motionDurationSlow:Cn,motionEaseInOut:kt,motionEaseOut:Qt,itemPaddingInline:cn,motionDurationMid:vt,itemHoverColor:Oe,lineType:tt,colorSplit:ln,itemDisabledColor:dn,dangerItemColor:An,dangerItemHoverColor:Xn,dangerItemSelectedColor:Gt,dangerItemActiveBg:nr,dangerItemSelectedBg:wr,itemHoverBg:kr,itemActiveBg:rr,menuSubMenuBg:Ar,horizontalItemSelectedColor:li,horizontalItemSelectedBg:xr,horizontalItemBorderRadius:Br,horizontalItemHoverBg:ti,popupBg:Rn}=ue;return{[`${fe}-${de}, ${fe}-${de} > ${fe}`]:{color:le,background:Ze,[`&${fe}-root:focus-visible`]:Object.assign({},ve(ue)),[`${fe}-item-group-title`]:{color:at},[`${fe}-submenu-selected`]:{[`> ${fe}-submenu-title`]:{color:Fe}},[`${fe}-item-disabled, ${fe}-submenu-disabled`]:{color:`${dn} !important`},[`${fe}-item:not(${fe}-item-selected):not(${fe}-submenu-selected)`]:{[`&:hover, > ${fe}-submenu-title:hover`]:{color:Oe}},[`&:not(${fe}-horizontal)`]:{[`${fe}-item:not(${fe}-item-selected)`]:{"&:hover":{backgroundColor:kr},"&:active":{backgroundColor:rr}},[`${fe}-submenu-title`]:{"&:hover":{backgroundColor:kr},"&:active":{backgroundColor:rr}}},[`${fe}-item-danger`]:{color:An,[`&${fe}-item:hover`]:{[`&:not(${fe}-item-selected):not(${fe}-submenu-selected)`]:{color:Xn}},[`&${fe}-item:active`]:{background:nr}},[`${fe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${fe}-item-selected`]:{color:Fe,[`&${fe}-item-danger`]:{color:Gt},"a, a:hover":{color:"inherit"}},[`& ${fe}-item-selected`]:{backgroundColor:Lt,[`&${fe}-item-danger`]:{backgroundColor:wr}},[`${fe}-item, ${fe}-submenu-title`]:{[`&:not(${fe}-item-disabled):focus-visible`]:Object.assign({},ve(ue))},[`&${fe}-submenu > ${fe}`]:{backgroundColor:Ar},[`&${fe}-popup > ${fe}`]:{backgroundColor:Rn},[`&${fe}-horizontal`]:Object.assign(Object.assign({},de==="dark"?{borderBottom:0}:{}),{[`> ${fe}-item, > ${fe}-submenu`]:{top:Zt,marginTop:-Zt,marginBottom:0,borderRadius:Br,"&::after":{position:"absolute",insetInline:cn,bottom:0,borderBottom:`${bt}px solid transparent`,transition:`border-color ${Cn} ${kt}`,content:'""'},"&:hover, &-active, &-open":{background:ti,"&::after":{borderBottomWidth:bt,borderBottomColor:li}},"&-selected":{color:li,backgroundColor:xr,"&:hover":{backgroundColor:xr},"&::after":{borderBottomWidth:bt,borderBottomColor:li}}}}),[`&${fe}-root`]:{[`&${fe}-inline, &${fe}-vertical`]:{borderInlineEnd:`${Zt}px ${tt} ${ln}`}},[`&${fe}-inline`]:{[`${fe}-sub${fe}-inline`]:{background:Me},[`${fe}-item, ${fe}-submenu-title`]:Zt&&et?{width:`calc(100% + ${Zt}px)`}:{},[`${fe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${et}px solid ${Fe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${vt} ${Qt}`,`opacity ${vt} ${Qt}`].join(","),content:'""'},[`&${fe}-item-danger`]:{"&::after":{borderInlineEndColor:Gt}}},[`${fe}-selected, ${fe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${vt} ${kt}`,`opacity ${vt} ${kt}`].join(",")}}}}}};const Mt=ue=>{const{componentCls:de,itemHeight:fe,itemMarginInline:le,padding:Fe,menuArrowSize:at,marginXS:Ze,itemMarginBlock:Me}=ue,Lt=Fe+at+Ze;return{[`${de}-item`]:{position:"relative",overflow:"hidden"},[`${de}-item, ${de}-submenu-title`]:{height:fe,lineHeight:`${fe}px`,paddingInline:Fe,overflow:"hidden",textOverflow:"ellipsis",marginInline:le,marginBlock:Me,width:`calc(100% - ${le*2}px)`},[`> ${de}-item,
|
|
|
> ${de}-submenu > ${de}-submenu-title`]:{height:fe,lineHeight:`${fe}px`},[`${de}-item-group-list ${de}-submenu-title,
|
|
|
${de}-submenu-title`]:{paddingInlineEnd:Lt}}};var st=ue=>{const{componentCls:de,iconCls:fe,itemHeight:le,colorTextLightSolid:Fe,dropdownWidth:at,controlHeightLG:Ze,motionDurationMid:Me,motionEaseOut:Lt,paddingXL:bt,itemMarginInline:et,fontSizeLG:Zt,motionDurationSlow:Cn,paddingXS:kt,boxShadowSecondary:Qt,collapsedWidth:cn,collapsedIconSize:vt}=ue,Oe={height:le,lineHeight:`${le}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[de]:{"&-inline, &-vertical":Object.assign({[`&${de}-root`]:{boxShadow:"none"}},Mt(ue))},[`${de}-submenu-popup`]:{[`${de}-vertical`]:Object.assign(Object.assign({},Mt(ue)),{boxShadow:Qt})}},{[`${de}-submenu-popup ${de}-vertical${de}-sub`]:{minWidth:at,maxHeight:`calc(100vh - ${Ze*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${de}-inline`]:{width:"100%",[`&${de}-root`]:{[`${de}-item, ${de}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Cn}`,`background ${Cn}`,`padding ${Me} ${Lt}`].join(","),[`> ${de}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${de}-sub${de}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${de}-submenu > ${de}-submenu-title`]:Oe,[`& ${de}-item-group-title`]:{paddingInlineStart:bt}},[`${de}-item`]:Oe}},{[`${de}-inline-collapsed`]:{width:cn,[`&${de}-root`]:{[`${de}-item, ${de}-submenu ${de}-submenu-title`]:{[`> ${de}-inline-collapsed-noicon`]:{fontSize:Zt,textAlign:"center"}}},[`> ${de}-item,
|
|
|
> ${de}-item-group > ${de}-item-group-list > ${de}-item,
|
|
|
> ${de}-item-group > ${de}-item-group-list > ${de}-submenu > ${de}-submenu-title,
|
|
|
> ${de}-submenu > ${de}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Zt/2}px - ${et}px)`,textOverflow:"clip",[`
|
|
|
${de}-submenu-arrow,
|
|
|
${de}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${de}-item-icon, ${fe}`]:{margin:0,fontSize:vt,lineHeight:`${le}px`,"+ span":{display:"inline-block",opacity:0}}},[`${de}-item-icon, ${fe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${de}-item-icon, ${fe}`]:{display:"none"},"a, a:hover":{color:Fe}},[`${de}-item-group-title`]:Object.assign(Object.assign({},mt.vS),{paddingInline:kt})}}]};const Ht=ue=>{const{componentCls:de,motionDurationSlow:fe,motionDurationMid:le,motionEaseInOut:Fe,motionEaseOut:at,iconCls:Ze,iconSize:Me,iconMarginInlineEnd:Lt}=ue;return{[`${de}-item, ${de}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${fe}`,`background ${fe}`,`padding ${fe} ${Fe}`].join(","),[`${de}-item-icon, ${Ze}`]:{minWidth:Me,fontSize:Me,transition:[`font-size ${le} ${at}`,`margin ${fe} ${Fe}`,`color ${fe}`].join(","),"+ span":{marginInlineStart:Lt,opacity:1,transition:[`opacity ${fe} ${Fe}`,`margin ${fe}`,`color ${fe}`].join(",")}},[`${de}-item-icon`]:Object.assign({},(0,mt.Ro)()),[`&${de}-item-only-child`]:{[`> ${Ze}, > ${de}-item-icon`]:{marginInlineEnd:0}}},[`${de}-item-disabled, ${de}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${de}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},yn=ue=>{const{componentCls:de,motionDurationSlow:fe,motionEaseInOut:le,borderRadius:Fe,menuArrowSize:at,menuArrowOffset:Ze}=ue;return{[`${de}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ue.margin,width:at,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${fe} ${le}, opacity ${fe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:at*.6,height:at*.15,backgroundColor:"currentcolor",borderRadius:Fe,transition:[`background ${fe} ${le}`,`transform ${fe} ${le}`,`top ${fe} ${le}`,`color ${fe} ${le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ze})`},"&::after":{transform:`rotate(-45deg) translateY(${Ze})`}}}}},Ut=ue=>{const{antCls:de,componentCls:fe,fontSize:le,motionDurationSlow:Fe,motionDurationMid:at,motionEaseInOut:Ze,paddingXS:Me,padding:Lt,colorSplit:bt,lineWidth:et,zIndexPopup:Zt,borderRadiusLG:Cn,subMenuItemBorderRadius:kt,menuArrowSize:Qt,menuArrowOffset:cn,lineType:vt,menuPanelMaskInset:Oe,groupTitleLineHeight:tt,groupTitleFontSize:ln}=ue;return[{"":{[`${fe}`]:Object.assign(Object.assign({},(0,mt.dF)()),{"&-hidden":{display:"none"}})},[`${fe}-submenu-hidden`]:{display:"none"}},{[fe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,mt.Wf)(ue)),(0,mt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Fe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${fe}-item`]:{flex:"none"}},[`${fe}-item, ${fe}-submenu, ${fe}-submenu-title`]:{borderRadius:ue.itemBorderRadius},[`${fe}-item-group-title`]:{padding:`${Me}px ${Lt}px`,fontSize:ln,lineHeight:tt,transition:`all ${Fe}`},[`&-horizontal ${fe}-submenu`]:{transition:[`border-color ${Fe} ${Ze}`,`background ${Fe} ${Ze}`].join(",")},[`${fe}-submenu, ${fe}-submenu-inline`]:{transition:[`border-color ${Fe} ${Ze}`,`background ${Fe} ${Ze}`,`padding ${at} ${Ze}`].join(",")},[`${fe}-submenu ${fe}-sub`]:{cursor:"initial",transition:[`background ${Fe} ${Ze}`,`padding ${Fe} ${Ze}`].join(",")},[`${fe}-title-content`]:{transition:`color ${Fe}`},[`${fe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${fe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:bt,borderStyle:vt,borderWidth:0,borderTopWidth:et,marginBlock:et,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ht(ue)),{[`${fe}-item-group`]:{[`${fe}-item-group-list`]:{margin:0,padding:0,[`${fe}-item, ${fe}-submenu-title`]:{paddingInline:`${le*2}px ${Lt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Zt,borderRadius:Cn,boxShadow:"none",transformOrigin:"0 0",[`&${fe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Oe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Oe},"\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:ue.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ue.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ue.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ue.paddingXS},[`> ${fe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Cn},Ht(ue)),yn(ue)),{[`${fe}-item, ${fe}-submenu > ${fe}-submenu-title`]:{borderRadius:kt},[`${fe}-submenu-title::after`]:{transition:`transform ${Fe} ${Ze}`}})}}),yn(ue)),{[`&-inline-collapsed ${fe}-submenu-arrow,
|
|
|
&-inline ${fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${cn})`},"&::after":{transform:`rotate(45deg) translateX(-${cn})`}},[`${fe}-submenu-open${fe}-submenu-inline > ${fe}-submenu-title > ${fe}-submenu-arrow`]:{transform:`translateY(-${Qt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${cn})`},"&::before":{transform:`rotate(45deg) translateX(${cn})`}}})},{[`${de}-layout-header`]:{[fe]:{lineHeight:"inherit"}}}]};var Sn=(ue,de)=>(0,Rt.Z)("Menu",le=>{if(de===!1)return[];const{colorBgElevated:Fe,colorPrimary:at,colorTextLightSolid:Ze,controlHeightLG:Me,fontSize:Lt,darkItemColor:bt,darkDangerItemColor:et,darkItemBg:Zt,darkSubMenuItemBg:Cn,darkItemSelectedColor:kt,darkItemSelectedBg:Qt,darkDangerItemSelectedBg:cn,darkItemHoverBg:vt,darkGroupTitleColor:Oe,darkItemHoverColor:tt,darkItemDisabledColor:ln,darkDangerItemHoverColor:dn,darkDangerItemSelectedColor:An,darkDangerItemActiveBg:Xn}=le,Gt=Lt/7*5,nr=(0,Dt.TS)(le,{menuArrowSize:Gt,menuHorizontalHeight:Me*1.15,menuArrowOffset:`${Gt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Fe}),wr=(0,Dt.TS)(nr,{itemColor:bt,itemHoverColor:tt,groupTitleColor:Oe,itemSelectedColor:kt,itemBg:Zt,popupBg:Zt,subMenuItemBg:Cn,itemActiveBg:"transparent",itemSelectedBg:Qt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:vt,itemDisabledColor:ln,dangerItemColor:et,dangerItemHoverColor:dn,dangerItemSelectedColor:An,dangerItemActiveBg:Xn,dangerItemSelectedBg:cn,menuSubMenuBg:Cn,horizontalItemSelectedColor:Ze,horizontalItemSelectedBg:at});return[Ut(nr),wt(nr),st(nr),Vt(nr,"light"),Vt(wr,"dark"),We(nr),(0,Te.Z)(nr),(0,xt.oN)(nr,"slide-up"),(0,xt.oN)(nr,"slide-down"),(0,Ne._y)(nr,"zoom-big")]},le=>{const{colorPrimary:Fe,colorError:at,colorTextDisabled:Ze,colorErrorBg:Me,colorText:Lt,colorTextDescription:bt,colorBgContainer:et,colorFillAlter:Zt,colorFillContent:Cn,lineWidth:kt,lineWidthBold:Qt,controlItemBgActive:cn,colorBgTextHover:vt,controlHeightLG:Oe,lineHeight:tt,colorBgElevated:ln,marginXXS:dn,padding:An,fontSize:Xn,controlHeightSM:Gt,fontSizeLG:nr,colorTextLightSolid:wr,colorErrorHover:kr}=le,rr=new Je.C(wr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:le.zIndexPopupBase+50,radiusItem:le.borderRadiusLG,itemBorderRadius:le.borderRadiusLG,radiusSubMenuItem:le.borderRadiusSM,subMenuItemBorderRadius:le.borderRadiusSM,colorItemText:Lt,itemColor:Lt,colorItemTextHover:Lt,itemHoverColor:Lt,colorItemTextHoverHorizontal:Fe,horizontalItemHoverColor:Fe,colorGroupTitle:bt,groupTitleColor:bt,colorItemTextSelected:Fe,itemSelectedColor:Fe,colorItemTextSelectedHorizontal:Fe,horizontalItemSelectedColor:Fe,colorItemBg:et,itemBg:et,colorItemBgHover:vt,itemHoverBg:vt,colorItemBgActive:Cn,itemActiveBg:cn,colorSubItemBg:Zt,subMenuItemBg:Zt,colorItemBgSelected:cn,itemSelectedBg:cn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Qt,activeBarHeight:Qt,colorActiveBarBorderSize:kt,activeBarBorderWidth:kt,colorItemTextDisabled:Ze,itemDisabledColor:Ze,colorDangerItemText:at,dangerItemColor:at,colorDangerItemTextHover:at,dangerItemHoverColor:at,colorDangerItemTextSelected:at,dangerItemSelectedColor:at,colorDangerItemBgActive:Me,dangerItemActiveBg:Me,colorDangerItemBgSelected:Me,dangerItemSelectedBg:Me,itemMarginInline:le.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Oe,groupTitleLineHeight:tt,collapsedWidth:Oe*2,popupBg:ln,itemMarginBlock:dn,itemPaddingInline:An,horizontalLineHeight:`${Oe*1.15}px`,iconSize:Xn,iconMarginInlineEnd:Gt-Xn,collapsedIconSize:nr,groupTitleFontSize:Xn,darkItemDisabledColor:new Je.C(wr).setAlpha(.25).toRgbString(),darkItemColor:rr,darkDangerItemColor:at,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:wr,darkItemSelectedBg:Fe,darkDangerItemSelectedBg:at,darkItemHoverBg:"transparent",darkGroupTitleColor:rr,darkItemHoverColor:wr,darkDangerItemHoverColor:kr,darkDangerItemSelectedColor:wr,darkDangerItemActiveBg:at}},{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"]]})(ue),jt=function(ue,de){var fe={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&de.indexOf(le)<0&&(fe[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,le=Object.getOwnPropertySymbols(ue);Fe<le.length;Fe++)de.indexOf(le[Fe])<0&&Object.prototype.propertyIsEnumerable.call(ue,le[Fe])&&(fe[le[Fe]]=ue[le[Fe]]);return fe},Ot=(0,be.forwardRef)((ue,de)=>{var fe,le;const Fe=be.useContext(he.Z),at=Fe||{},{getPrefixCls:Ze,getPopupContainer:Me,direction:Lt,menu:bt}=be.useContext(Ae.E_),et=Ze(),{prefixCls:Zt,className:Cn,style:kt,theme:Qt="light",expandIcon:cn,_internalDisableMenuItemTitleTooltip:vt,inlineCollapsed:Oe,siderCollapsed:tt,items:ln,children:dn,rootClassName:An,mode:Xn,selectable:Gt,onClick:nr,overflowedIndicatorPopupClassName:wr}=ue,kr=jt(ue,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),rr=(0,ht.Z)(kr,["collapsedWidth"]),Ar=ut(ln)||dn;(fe=at.validator)===null||fe===void 0||fe.call(at,{mode:Xn});const li=(0,pt.useEvent)(function(){var Tt;nr==null||nr.apply(void 0,arguments),(Tt=at.onClick)===null||Tt===void 0||Tt.call(at)}),xr=at.mode||Xn,Br=Gt!=null?Gt:at.selectable,ti=be.useMemo(()=>tt!==void 0?tt:Oe,[Oe,tt]),Rn={horizontal:{motionName:`${et}-slide-up`},inline:(0,ze.Z)(et),other:{motionName:`${et}-zoom-big`}},tn=Ze("menu",Zt||at.prefixCls),[zn,er]=Sn(tn,!Fe),zt=Se()(`${tn}-${Qt}`,bt==null?void 0:bt.className,Cn);let bn;if(typeof cn=="function")bn=cn;else if(cn===null||cn===!1)bn=null;else if(at.expandIcon===null||at.expandIcon===!1)bn=null;else{const Tt=cn!=null?cn:at.expandIcon;bn=(0,Le.Tm)(Tt,{className:Se()(`${tn}-submenu-expand-icon`,(0,Le.l$)(Tt)?(le=Tt.props)===null||le===void 0?void 0:le.className:"")})}const kn=be.useMemo(()=>({prefixCls:tn,inlineCollapsed:ti||!1,direction:Lt,firstLevel:!0,theme:Qt,mode:xr,disableMenuItemTitleTooltip:vt}),[tn,ti,Lt,vt,Qt]);return zn(be.createElement(he.Z.Provider,{value:null},be.createElement(nt.Provider,{value:kn},be.createElement(ne.ZP,Object.assign({getPopupContainer:Me,overflowedIndicator:be.createElement(ft.Z,null),overflowedIndicatorPopupClassName:Se()(tn,`${tn}-${Qt}`,wr),mode:xr,selectable:Br,onClick:li},rr,{inlineCollapsed:ti,style:Object.assign(Object.assign({},bt==null?void 0:bt.style),kt),className:zt,prefixCls:tn,direction:Lt,defaultMotions:Rn,expandIcon:bn,ref:de,rootClassName:Se()(An,er)}),Ar))))});const xe=(0,be.forwardRef)((ue,de)=>{const fe=(0,be.useRef)(null),le=be.useContext(Ce.D);return(0,be.useImperativeHandle)(de,()=>({menu:fe.current,focus:Fe=>{var at;(at=fe.current)===null||at===void 0||at.focus(Fe)}})),be.createElement(Ot,Object.assign({ref:fe},ue,le))});xe.Item=Et,xe.SubMenu=Wt,xe.Divider=Ee,xe.ItemGroup=ne.BW;var ce=xe},58421:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return at}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Me,Lt){return be.createElement(Se.Z,(0,ne.Z)({},Me,{ref:Lt,icon:yt}))},pe=be.forwardRef(Ae),ye=pe,Ee=ie(49198),Re=ie(33853),ht=ie(38819),ke=ie(92310),Le=ie.n(ke),Ge=ie(20068),nt=ie(33885),ct=ie(67732),Et=ie(83652),Ct=ie(42403),Wt=ie(158),ft=ie(26112),pt={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ze=pt,he=ie(91735),it=function(Ze){(0,Ct.Z)(Lt,Ze);var Me=(0,Wt.Z)(Lt);function Lt(){var bt;(0,ct.Z)(this,Lt);for(var et=arguments.length,Zt=new Array(et),Cn=0;Cn<et;Cn++)Zt[Cn]=arguments[Cn];return bt=Me.call.apply(Me,[this].concat(Zt)),bt.state={goInputText:""},bt.getValidValue=function(){var kt=bt.state.goInputText;return!kt||Number.isNaN(kt)?void 0:Number(kt)},bt.buildOptionText=function(kt){return"".concat(kt," ").concat(bt.props.locale.items_per_page)},bt.changeSize=function(kt){bt.props.changeSize(Number(kt))},bt.handleChange=function(kt){bt.setState({goInputText:kt.target.value})},bt.handleBlur=function(kt){var Qt=bt.props,cn=Qt.goButton,vt=Qt.quickGo,Oe=Qt.rootPrefixCls,tt=bt.state.goInputText;cn||tt===""||(bt.setState({goInputText:""}),!(kt.relatedTarget&&(kt.relatedTarget.className.indexOf("".concat(Oe,"-item-link"))>=0||kt.relatedTarget.className.indexOf("".concat(Oe,"-item"))>=0))&&vt(bt.getValidValue()))},bt.go=function(kt){var Qt=bt.state.goInputText;Qt!==""&&(kt.keyCode===ze.ENTER||kt.type==="click")&&(bt.setState({goInputText:""}),bt.props.quickGo(bt.getValidValue()))},bt}return(0,Et.Z)(Lt,[{key:"getPageSizeOptions",value:function(){var et=this.props,Zt=et.pageSize,Cn=et.pageSizeOptions;return Cn.some(function(kt){return kt.toString()===Zt.toString()})?Cn:Cn.concat([Zt.toString()]).sort(function(kt,Qt){var cn=Number.isNaN(Number(kt))?0:Number(kt),vt=Number.isNaN(Number(Qt))?0:Number(Qt);return cn-vt})}},{key:"render",value:function(){var et=this,Zt=this.props,Cn=Zt.pageSize,kt=Zt.locale,Qt=Zt.rootPrefixCls,cn=Zt.changeSize,vt=Zt.quickGo,Oe=Zt.goButton,tt=Zt.selectComponentClass,ln=Zt.buildOptionText,dn=Zt.selectPrefixCls,An=Zt.disabled,Xn=this.state.goInputText,Gt="".concat(Qt,"-options"),nr=tt,wr=null,kr=null,rr=null;if(!cn&&!vt)return null;var Ar=this.getPageSizeOptions();if(cn&&nr){var li=Ar.map(function(xr,Br){return be.createElement(nr.Option,{key:Br,value:xr.toString()},(ln||et.buildOptionText)(xr))});wr=be.createElement(nr,{disabled:An,prefixCls:dn,showSearch:!1,className:"".concat(Gt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Cn||Ar[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Br){return Br.parentNode},"aria-label":kt.page_size,defaultOpen:!1},li)}return vt&&(Oe&&(rr=typeof Oe=="boolean"?be.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:An,className:"".concat(Gt,"-quick-jumper-button")},kt.jump_to_confirm):be.createElement("span",{onClick:this.go,onKeyUp:this.go},Oe)),kr=be.createElement("div",{className:"".concat(Gt,"-quick-jumper")},kt.jump_to,be.createElement("input",{disabled:An,type:"text",value:Xn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":kt.page}),kt.page,rr)),be.createElement("li",{className:"".concat(Gt)},wr,kr)}}]),Lt}(be.Component);it.defaultProps={pageSizeOptions:["10","20","50","100"]};var ot=it,ut=function(Me){var Lt,bt=Me.rootPrefixCls,et=Me.page,Zt=Me.active,Cn=Me.className,kt=Me.showTitle,Qt=Me.onClick,cn=Me.onKeyPress,vt=Me.itemRender,Oe="".concat(bt,"-item"),tt=Le()(Oe,"".concat(Oe,"-").concat(et),(Lt={},(0,Ge.Z)(Lt,"".concat(Oe,"-active"),Zt),(0,Ge.Z)(Lt,"".concat(Oe,"-disabled"),!et),(0,Ge.Z)(Lt,Me.className,Cn),Lt)),ln=function(){Qt(et)},dn=function(Gt){cn(Gt,Qt,et)},An=vt(et,"page",be.createElement("a",{rel:"nofollow"},et));return An?be.createElement("li",{title:kt?et.toString():null,className:tt,onClick:ln,onKeyPress:dn,tabIndex:0},An):null},Je=ut;function mt(){}function Te(Ze){var Me=Number(Ze);return typeof Me=="number"&&!Number.isNaN(Me)&&isFinite(Me)&&Math.floor(Me)===Me}var xt=function(Me,Lt,bt){return bt};function Ne(Ze,Me,Lt){var bt=typeof Ze=="undefined"?Me.pageSize:Ze;return Math.floor((Lt.total-1)/bt)+1}var Rt=function(Ze){(0,Ct.Z)(Lt,Ze);var Me=(0,Wt.Z)(Lt);function Lt(bt){var et;(0,ct.Z)(this,Lt),et=Me.call(this,bt),et.paginationNode=be.createRef(),et.getJumpPrevPage=function(){return Math.max(1,et.state.current-(et.props.showLessItems?3:5))},et.getJumpNextPage=function(){return Math.min(Ne(void 0,et.state,et.props),et.state.current+(et.props.showLessItems?3:5))},et.getItemIcon=function(cn,vt){var Oe=et.props.prefixCls,tt=cn||be.createElement("button",{type:"button","aria-label":vt,className:"".concat(Oe,"-item-link")});return typeof cn=="function"&&(tt=be.createElement(cn,(0,nt.Z)({},et.props))),tt},et.isValid=function(cn){var vt=et.props.total;return Te(cn)&&cn!==et.state.current&&Te(vt)&&vt>0},et.shouldDisplayQuickJumper=function(){var cn=et.props,vt=cn.showQuickJumper,Oe=cn.total,tt=et.state.pageSize;return Oe<=tt?!1:vt},et.handleKeyDown=function(cn){(cn.keyCode===ze.ARROW_UP||cn.keyCode===ze.ARROW_DOWN)&&cn.preventDefault()},et.handleKeyUp=function(cn){var vt=et.getValidValue(cn),Oe=et.state.currentInputValue;vt!==Oe&&et.setState({currentInputValue:vt}),cn.keyCode===ze.ENTER?et.handleChange(vt):cn.keyCode===ze.ARROW_UP?et.handleChange(vt-1):cn.keyCode===ze.ARROW_DOWN&&et.handleChange(vt+1)},et.handleBlur=function(cn){var vt=et.getValidValue(cn);et.handleChange(vt)},et.changePageSize=function(cn){var vt=et.state.current,Oe=Ne(cn,et.state,et.props);vt=vt>Oe?Oe:vt,Oe===0&&(vt=et.state.current),typeof cn=="number"&&("pageSize"in et.props||et.setState({pageSize:cn}),"current"in et.props||et.setState({current:vt,currentInputValue:vt})),et.props.onShowSizeChange(vt,cn),"onChange"in et.props&&et.props.onChange&&et.props.onChange(vt,cn)},et.handleChange=function(cn){var vt=et.props,Oe=vt.disabled,tt=vt.onChange,ln=et.state,dn=ln.pageSize,An=ln.current,Xn=ln.currentInputValue;if(et.isValid(cn)&&!Oe){var Gt=Ne(void 0,et.state,et.props),nr=cn;return cn>Gt?nr=Gt:cn<1&&(nr=1),"current"in et.props||et.setState({current:nr}),nr!==Xn&&et.setState({currentInputValue:nr}),tt(nr,dn),nr}return An},et.prev=function(){et.hasPrev()&&et.handleChange(et.state.current-1)},et.next=function(){et.hasNext()&&et.handleChange(et.state.current+1)},et.jumpPrev=function(){et.handleChange(et.getJumpPrevPage())},et.jumpNext=function(){et.handleChange(et.getJumpNextPage())},et.hasPrev=function(){return et.state.current>1},et.hasNext=function(){return et.state.current<Ne(void 0,et.state,et.props)},et.runIfEnter=function(cn,vt){if(cn.key==="Enter"||cn.charCode===13){for(var Oe=arguments.length,tt=new Array(Oe>2?Oe-2:0),ln=2;ln<Oe;ln++)tt[ln-2]=arguments[ln];vt.apply(void 0,tt)}},et.runIfEnterPrev=function(cn){et.runIfEnter(cn,et.prev)},et.runIfEnterNext=function(cn){et.runIfEnter(cn,et.next)},et.runIfEnterJumpPrev=function(cn){et.runIfEnter(cn,et.jumpPrev)},et.runIfEnterJumpNext=function(cn){et.runIfEnter(cn,et.jumpNext)},et.handleGoTO=function(cn){(cn.keyCode===ze.ENTER||cn.type==="click")&&et.handleChange(et.state.currentInputValue)},et.renderPrev=function(cn){var vt=et.props,Oe=vt.prevIcon,tt=vt.itemRender,ln=tt(cn,"prev",et.getItemIcon(Oe,"prev page")),dn=!et.hasPrev();return(0,be.isValidElement)(ln)?(0,be.cloneElement)(ln,{disabled:dn}):ln},et.renderNext=function(cn){var vt=et.props,Oe=vt.nextIcon,tt=vt.itemRender,ln=tt(cn,"next",et.getItemIcon(Oe,"next page")),dn=!et.hasNext();return(0,be.isValidElement)(ln)?(0,be.cloneElement)(ln,{disabled:dn}):ln};var Zt=bt.onChange!==mt,Cn="current"in bt;Cn&&!Zt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var kt=bt.defaultCurrent;"current"in bt&&(kt=bt.current);var Qt=bt.defaultPageSize;return"pageSize"in bt&&(Qt=bt.pageSize),kt=Math.min(kt,Ne(Qt,void 0,bt)),et.state={current:kt,currentInputValue:kt,pageSize:Qt},et}return(0,Et.Z)(Lt,[{key:"componentDidUpdate",value:function(et,Zt){var Cn=this.props.prefixCls;if(Zt.current!==this.state.current&&this.paginationNode.current){var kt=this.paginationNode.current.querySelector(".".concat(Cn,"-item-").concat(Zt.current));if(kt&&document.activeElement===kt){var Qt;kt==null||(Qt=kt.blur)===null||Qt===void 0||Qt.call(kt)}}}},{key:"getValidValue",value:function(et){var Zt=et.target.value,Cn=Ne(void 0,this.state,this.props),kt=this.state.currentInputValue,Qt;return Zt===""?Qt=Zt:Number.isNaN(Number(Zt))?Qt=kt:Zt>=Cn?Qt=Cn:Qt=Number(Zt),Qt}},{key:"getShowSizeChanger",value:function(){var et=this.props,Zt=et.showSizeChanger,Cn=et.total,kt=et.totalBoundaryShowSizeChanger;return typeof Zt!="undefined"?Zt:Cn>kt}},{key:"render",value:function(){var et=this.props,Zt=et.prefixCls,Cn=et.className,kt=et.style,Qt=et.disabled,cn=et.hideOnSinglePage,vt=et.total,Oe=et.locale,tt=et.showQuickJumper,ln=et.showLessItems,dn=et.showTitle,An=et.showTotal,Xn=et.simple,Gt=et.itemRender,nr=et.showPrevNextJumpers,wr=et.jumpPrevIcon,kr=et.jumpNextIcon,rr=et.selectComponentClass,Ar=et.selectPrefixCls,li=et.pageSizeOptions,xr=this.state,Br=xr.current,ti=xr.pageSize,Rn=xr.currentInputValue;if(cn===!0&&vt<=ti)return null;var tn=Ne(void 0,this.state,this.props),zn=[],er=null,zt=null,bn=null,kn=null,Tt=null,an=tt&&tt.goButton,sn=ln?1:2,rn=Br-1>0?Br-1:0,$n=Br+1<tn?Br+1:tn,Ft=(0,ft.Z)(this.props,{aria:!0,data:!0}),Ie=An&&be.createElement("li",{className:"".concat(Zt,"-total-text")},An(vt,[vt===0?0:(Br-1)*ti+1,Br*ti>vt?vt:Br*ti]));if(Xn){an&&(typeof an=="boolean"?Tt=be.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Oe.jump_to_confirm):Tt=be.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},an),Tt=be.createElement("li",{title:dn?"".concat(Oe.jump_to).concat(Br,"/").concat(tn):null,className:"".concat(Zt,"-simple-pager")},Tt));var Xe=this.renderPrev(rn);return be.createElement("ul",(0,ne.Z)({className:Le()(Zt,"".concat(Zt,"-simple"),(0,Ge.Z)({},"".concat(Zt,"-disabled"),Qt),Cn),style:kt,ref:this.paginationNode},Ft),Ie,Xe?be.createElement("li",{title:dn?Oe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Le()("".concat(Zt,"-prev"),(0,Ge.Z)({},"".concat(Zt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Xe):null,be.createElement("li",{title:dn?"".concat(Br,"/").concat(tn):null,className:"".concat(Zt,"-simple-pager")},be.createElement("input",{type:"text",value:Rn,disabled:Qt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),be.createElement("span",{className:"".concat(Zt,"-slash")},"/"),tn),be.createElement("li",{title:dn?Oe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Le()("".concat(Zt,"-next"),(0,Ge.Z)({},"".concat(Zt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext($n)),Tt)}if(tn<=3+sn*2){var He={locale:Oe,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:dn,itemRender:Gt};tn||zn.push(be.createElement(Je,(0,ne.Z)({},He,{key:"noPager",page:1,className:"".concat(Zt,"-item-disabled")})));for(var Ke=1;Ke<=tn;Ke+=1){var Bt=Br===Ke;zn.push(be.createElement(Je,(0,ne.Z)({},He,{key:Ke,page:Ke,active:Bt})))}}else{var dt=ln?Oe.prev_3:Oe.prev_5,on=ln?Oe.next_3:Oe.next_5,nn=Gt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(wr,"prev page")),hn=Gt(this.getJumpNextPage(),"jump-next",this.getItemIcon(kr,"next page"));nr&&(er=nn?be.createElement("li",{title:dn?dt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Le()("".concat(Zt,"-jump-prev"),(0,Ge.Z)({},"".concat(Zt,"-jump-prev-custom-icon"),!!wr))},nn):null,zt=hn?be.createElement("li",{title:dn?on:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Le()("".concat(Zt,"-jump-next"),(0,Ge.Z)({},"".concat(Zt,"-jump-next-custom-icon"),!!kr))},hn):null),kn=be.createElement(Je,{locale:Oe,last:!0,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:tn,page:tn,active:!1,showTitle:dn,itemRender:Gt}),bn=be.createElement(Je,{locale:Oe,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:dn,itemRender:Gt});var Pn=Math.max(1,Br-sn),Jn=Math.min(Br+sn,tn);Br-1<=sn&&(Jn=1+sn*2),tn-Br<=sn&&(Pn=tn-sn*2);for(var In=Pn;In<=Jn;In+=1){var Xt=Br===In;zn.push(be.createElement(Je,{locale:Oe,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:In,page:In,active:Xt,showTitle:dn,itemRender:Gt}))}Br-1>=sn*2&&Br!==3&&(zn[0]=(0,be.cloneElement)(zn[0],{className:"".concat(Zt,"-item-after-jump-prev")}),zn.unshift(er)),tn-Br>=sn*2&&Br!==tn-2&&(zn[zn.length-1]=(0,be.cloneElement)(zn[zn.length-1],{className:"".concat(Zt,"-item-before-jump-next")}),zn.push(zt)),Pn!==1&&zn.unshift(bn),Jn!==tn&&zn.push(kn)}var wn=!this.hasPrev()||!tn,pr=!this.hasNext()||!tn,lr=this.renderPrev(rn),ar=this.renderNext($n);return be.createElement("ul",(0,ne.Z)({className:Le()(Zt,Cn,(0,Ge.Z)({},"".concat(Zt,"-disabled"),Qt)),style:kt,ref:this.paginationNode},Ft),Ie,lr?be.createElement("li",{title:dn?Oe.prev_page:null,onClick:this.prev,tabIndex:wn?null:0,onKeyPress:this.runIfEnterPrev,className:Le()("".concat(Zt,"-prev"),(0,Ge.Z)({},"".concat(Zt,"-disabled"),wn)),"aria-disabled":wn},lr):null,zn,ar?be.createElement("li",{title:dn?Oe.next_page:null,onClick:this.next,tabIndex:pr?null:0,onKeyPress:this.runIfEnterNext,className:Le()("".concat(Zt,"-next"),(0,Ge.Z)({},"".concat(Zt,"-disabled"),pr)),"aria-disabled":pr},ar):null,be.createElement(ot,{disabled:Qt,locale:Oe,rootPrefixCls:Zt,selectComponentClass:rr,selectPrefixCls:Ar,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Br,pageSize:ti,pageSizeOptions:li,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:an}))}}],[{key:"getDerivedStateFromProps",value:function(et,Zt){var Cn={};if("current"in et&&(Cn.current=et.current,et.current!==Zt.current&&(Cn.currentInputValue=Cn.current)),"pageSize"in et&&et.pageSize!==Zt.pageSize){var kt=Zt.current,Qt=Ne(et.pageSize,Zt,et);kt=kt>Qt?Qt:kt,"current"in et||(Cn.current=kt,Cn.currentInputValue=kt),Cn.pageSize=et.pageSize}return Cn}}]),Lt}(be.Component);Rt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:mt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:mt,locale:he.Z,style:{},itemRender:xt,totalBoundaryShowSizeChanger:50};var Dt=Rt,Nt=ie(22075),wt=ie(36355),It=ie(19716),We=ie(8628),ve=ie(9763),Qe=ie(57809);const Vt=Ze=>be.createElement(Qe.default,Object.assign({},Ze,{showSearch:!0,size:"small"})),Mt=Ze=>be.createElement(Qe.default,Object.assign({},Ze,{showSearch:!0,size:"middle"}));Vt.Option=Qe.default.Option,Mt.Option=Qe.default.Option;var Ue=ie(9937),st=ie(17313),Ht=ie(83116),yn=ie(37613);const Ut=Ze=>{const{componentCls:Me}=Ze;return{[`${Me}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Me}-item-link`]:{color:Ze.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Me}-item-link`]:{color:Ze.colorTextDisabled,cursor:"not-allowed"}}},[`&${Me}-disabled`]:{cursor:"not-allowed",[`${Me}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ze.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ze.colorBorder,backgroundColor:Ze.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ze.itemActiveBgDisabled},a:{color:Ze.itemActiveColorDisabled}}},[`${Me}-item-link`]:{color:Ze.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Me}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Me}-simple-pager`]:{color:Ze.colorTextDisabled},[`${Me}-jump-prev, ${Me}-jump-next`]:{[`${Me}-item-link-icon`]:{opacity:0},[`${Me}-item-ellipsis`]:{opacity:1}}},[`&${Me}-simple`]:{[`${Me}-prev, ${Me}-next`]:{[`&${Me}-disabled ${Me}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Sn=Ze=>{const{componentCls:Me}=Ze;return{[`&${Me}-mini ${Me}-total-text, &${Me}-mini ${Me}-simple-pager`]:{height:Ze.itemSizeSM,lineHeight:`${Ze.itemSizeSM}px`},[`&${Me}-mini ${Me}-item`]:{minWidth:Ze.itemSizeSM,height:Ze.itemSizeSM,margin:0,lineHeight:`${Ze.itemSizeSM-2}px`},[`&${Me}-mini:not(${Me}-disabled) ${Me}-item:not(${Me}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ze.colorBgTextHover},"&:active":{backgroundColor:Ze.colorBgTextActive}},[`&${Me}-mini ${Me}-prev, &${Me}-mini ${Me}-next`]:{minWidth:Ze.itemSizeSM,height:Ze.itemSizeSM,margin:0,lineHeight:`${Ze.itemSizeSM}px`},[`&${Me}-mini:not(${Me}-disabled)`]:{[`${Me}-prev, ${Me}-next`]:{[`&:hover ${Me}-item-link`]:{backgroundColor:Ze.colorBgTextHover},[`&:active ${Me}-item-link`]:{backgroundColor:Ze.colorBgTextActive},[`&${Me}-disabled:hover ${Me}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${Me}-mini ${Me}-prev ${Me}-item-link,
|
|
|
&${Me}-mini ${Me}-next ${Me}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ze.itemSizeSM,lineHeight:`${Ze.itemSizeSM}px`}},[`&${Me}-mini ${Me}-jump-prev, &${Me}-mini ${Me}-jump-next`]:{height:Ze.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ze.itemSizeSM}px`},[`&${Me}-mini ${Me}-options`]:{marginInlineStart:Ze.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ze.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ze.itemSizeSM,lineHeight:`${Ze.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ue.x0)(Ze)),{width:Ze.paginationMiniQuickJumperInputWidth,height:Ze.controlHeightSM})}}}},jt=Ze=>{const{componentCls:Me}=Ze;return{[`
|
|
|
&${Me}-simple ${Me}-prev,
|
|
|
&${Me}-simple ${Me}-next
|
|
|
`]:{height:Ze.itemSizeSM,lineHeight:`${Ze.itemSizeSM}px`,verticalAlign:"top",[`${Me}-item-link`]:{height:Ze.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ze.colorBgTextHover},"&:active":{backgroundColor:Ze.colorBgTextActive},"&::after":{height:Ze.itemSizeSM,lineHeight:`${Ze.itemSizeSM}px`}}},[`&${Me}-simple ${Me}-simple-pager`]:{display:"inline-block",height:Ze.itemSizeSM,marginInlineEnd:Ze.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ze.marginXS,padding:`0 ${Ze.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ze.itemInputBg,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorBorder}`,borderRadius:Ze.borderRadius,outline:"none",transition:`border-color ${Ze.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ze.colorPrimary},"&:focus":{borderColor:Ze.colorPrimaryHover,boxShadow:`${Ze.inputOutlineOffset}px 0 ${Ze.controlOutlineWidth}px ${Ze.controlOutline}`},"&[disabled]":{color:Ze.colorTextDisabled,backgroundColor:Ze.colorBgContainerDisabled,borderColor:Ze.colorBorder,cursor:"not-allowed"}}}}},Jt=Ze=>{const{componentCls:Me}=Ze;return{[`${Me}-jump-prev, ${Me}-jump-next`]:{outline:0,[`${Me}-item-container`]:{position:"relative",[`${Me}-item-link-icon`]:{color:Ze.colorPrimary,fontSize:Ze.fontSizeSM,opacity:0,transition:`all ${Ze.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Me}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ze.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ze.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ze.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ze.motionDurationMid}`}},"&:hover":{[`${Me}-item-link-icon`]:{opacity:1},[`${Me}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${Me}-prev,
|
|
|
${Me}-jump-prev,
|
|
|
${Me}-jump-next
|
|
|
`]:{marginInlineEnd:Ze.marginXS},[`
|
|
|
${Me}-prev,
|
|
|
${Me}-next,
|
|
|
${Me}-jump-prev,
|
|
|
${Me}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:Ze.itemSize,height:Ze.itemSize,color:Ze.colorText,fontFamily:Ze.fontFamily,lineHeight:`${Ze.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ze.borderRadius,cursor:"pointer",transition:`all ${Ze.motionDurationMid}`},[`${Me}-prev, ${Me}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ze.colorText,cursor:"pointer",userSelect:"none"},[`${Me}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ze.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ze.lineWidth}px ${Ze.lineType} transparent`,borderRadius:Ze.borderRadius,outline:"none",transition:`all ${Ze.motionDurationMid}`},[`&:hover ${Me}-item-link`]:{backgroundColor:Ze.colorBgTextHover},[`&:active ${Me}-item-link`]:{backgroundColor:Ze.colorBgTextActive},[`&${Me}-disabled:hover`]:{[`${Me}-item-link`]:{backgroundColor:"transparent"}}},[`${Me}-slash`]:{marginInlineEnd:Ze.paginationSlashMarginInlineEnd,marginInlineStart:Ze.paginationSlashMarginInlineStart},[`${Me}-options`]:{display:"inline-block",marginInlineStart:Ze.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ze.controlHeight,marginInlineStart:Ze.marginXS,lineHeight:`${Ze.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ue.ik)(Ze)),{width:Ze.controlHeightLG*1.25,height:Ze.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ze.marginXS,marginInlineEnd:Ze.marginXS})}}}},Ot=Ze=>{const{componentCls:Me}=Ze;return{[`${Me}-item`]:{display:"inline-block",minWidth:Ze.itemSize,height:Ze.itemSize,marginInlineEnd:Ze.marginXS,fontFamily:Ze.fontFamily,lineHeight:`${Ze.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ze.lineWidth}px ${Ze.lineType} transparent`,borderRadius:Ze.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ze.paginationItemPaddingInline}px`,color:Ze.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Me}-item-active)`]:{"&:hover":{transition:`all ${Ze.motionDurationMid}`,backgroundColor:Ze.colorBgTextHover},"&:active":{backgroundColor:Ze.colorBgTextActive}},"&-active":{fontWeight:Ze.fontWeightStrong,backgroundColor:Ze.itemActiveBg,borderColor:Ze.colorPrimary,a:{color:Ze.colorPrimary},"&:hover":{borderColor:Ze.colorPrimaryHover},"&:hover a":{color:Ze.colorPrimaryHover}}}}},xe=Ze=>{const{componentCls:Me}=Ze;return{[Me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,st.Wf)(Ze)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Me}-total-text`]:{display:"inline-block",height:Ze.itemSize,marginInlineEnd:Ze.marginXS,lineHeight:`${Ze.itemSize-2}px`,verticalAlign:"middle"}}),Ot(Ze)),Jt(Ze)),jt(Ze)),Sn(Ze)),Ut(Ze)),{[`@media only screen and (max-width: ${Ze.screenLG}px)`]:{[`${Me}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ze.screenSM}px)`]:{[`${Me}-options`]:{display:"none"}}}),[`&${Ze.componentCls}-rtl`]:{direction:"rtl"}}},ce=Ze=>{const{componentCls:Me}=Ze;return{[`${Me}${Me}-disabled:not(${Me}-mini)`]:{"&, &:hover":{[`${Me}-item-link`]:{borderColor:Ze.colorBorder}},"&:focus-visible":{[`${Me}-item-link`]:{borderColor:Ze.colorBorder}},[`${Me}-item, ${Me}-item-link`]:{backgroundColor:Ze.colorBgContainerDisabled,borderColor:Ze.colorBorder,[`&:hover:not(${Me}-item-active)`]:{backgroundColor:Ze.colorBgContainerDisabled,borderColor:Ze.colorBorder,a:{color:Ze.colorTextDisabled}},[`&${Me}-item-active`]:{backgroundColor:Ze.itemActiveBgDisabled}},[`${Me}-prev, ${Me}-next`]:{"&:hover button":{backgroundColor:Ze.colorBgContainerDisabled,borderColor:Ze.colorBorder,color:Ze.colorTextDisabled},[`${Me}-item-link`]:{backgroundColor:Ze.colorBgContainerDisabled,borderColor:Ze.colorBorder}}},[`${Me}:not(${Me}-mini)`]:{[`${Me}-prev, ${Me}-next`]:{"&:hover button":{borderColor:Ze.colorPrimaryHover,backgroundColor:Ze.itemBg},[`${Me}-item-link`]:{backgroundColor:Ze.itemLinkBg,borderColor:Ze.colorBorder},[`&:hover ${Me}-item-link`]:{borderColor:Ze.colorPrimary,backgroundColor:Ze.itemBg,color:Ze.colorPrimary},[`&${Me}-disabled`]:{[`${Me}-item-link`]:{borderColor:Ze.colorBorder,color:Ze.colorTextDisabled}}},[`${Me}-item`]:{backgroundColor:Ze.itemBg,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorBorder}`,[`&:hover:not(${Me}-item-active)`]:{borderColor:Ze.colorPrimary,backgroundColor:Ze.itemBg,a:{color:Ze.colorPrimary}},"&-active":{borderColor:Ze.colorPrimary}}}}},ue=Ze=>{const{componentCls:Me}=Ze;return{[`${Me}:not(${Me}-disabled)`]:{[`${Me}-item`]:Object.assign({},(0,st.Qy)(Ze)),[`${Me}-jump-prev, ${Me}-jump-next`]:{"&:focus-visible":Object.assign({[`${Me}-item-link-icon`]:{opacity:1},[`${Me}-item-ellipsis`]:{opacity:0}},(0,st.oN)(Ze))},[`${Me}-prev, ${Me}-next`]:{[`&:focus-visible ${Me}-item-link`]:Object.assign({},(0,st.oN)(Ze))}}}};var de=(0,Ht.Z)("Pagination",Ze=>{const Me=(0,yn.TS)(Ze,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ze.marginXXS/2,paginationMiniQuickJumperInputWidth:Ze.controlHeightLG*1.1,paginationItemPaddingInline:Ze.marginXXS*1.5,paginationEllipsisLetterSpacing:Ze.marginXXS/2,paginationSlashMarginInlineStart:Ze.marginXXS,paginationSlashMarginInlineEnd:Ze.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ue.e5)(Ze),(0,Ue.TM)(Ze));return[xe(Me),ue(Me),Ze.wireframe&&ce(Me)]},Ze=>({itemBg:Ze.colorBgContainer,itemSize:Ze.controlHeight,itemSizeSM:Ze.controlHeightSM,itemActiveBg:Ze.colorBgContainer,itemLinkBg:Ze.colorBgContainer,itemActiveColorDisabled:Ze.colorTextDisabled,itemActiveBgDisabled:Ze.controlItemBgActiveDisabled,itemInputBg:Ze.colorBgContainer,miniOptionsSizeChangerTop:0})),fe=function(Ze,Me){var Lt={};for(var bt in Ze)Object.prototype.hasOwnProperty.call(Ze,bt)&&Me.indexOf(bt)<0&&(Lt[bt]=Ze[bt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,bt=Object.getOwnPropertySymbols(Ze);et<bt.length;et++)Me.indexOf(bt[et])<0&&Object.prototype.propertyIsEnumerable.call(Ze,bt[et])&&(Lt[bt[et]]=Ze[bt[et]]);return Lt},Fe=Ze=>{const{prefixCls:Me,selectPrefixCls:Lt,className:bt,rootClassName:et,style:Zt,size:Cn,locale:kt,selectComponentClass:Qt,responsive:cn,showSizeChanger:vt}=Ze,Oe=fe(Ze,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:tt}=(0,We.Z)(cn),{getPrefixCls:ln,direction:dn,pagination:An={}}=be.useContext(wt.E_),Xn=ln("pagination",Me),[Gt,nr]=de(Xn),wr=vt!=null?vt:An.showSizeChanger,kr=be.useMemo(()=>{const tn=be.createElement("span",{className:`${Xn}-item-ellipsis`},"\u2022\u2022\u2022"),zn=be.createElement("button",{className:`${Xn}-item-link`,type:"button",tabIndex:-1},dn==="rtl"?be.createElement(ht.Z,null):be.createElement(Re.Z,null)),er=be.createElement("button",{className:`${Xn}-item-link`,type:"button",tabIndex:-1},dn==="rtl"?be.createElement(Re.Z,null):be.createElement(ht.Z,null)),zt=be.createElement("a",{className:`${Xn}-item-link`},be.createElement("div",{className:`${Xn}-item-container`},dn==="rtl"?be.createElement(Ee.Z,{className:`${Xn}-item-link-icon`}):be.createElement(ye,{className:`${Xn}-item-link-icon`}),tn)),bn=be.createElement("a",{className:`${Xn}-item-link`},be.createElement("div",{className:`${Xn}-item-container`},dn==="rtl"?be.createElement(ye,{className:`${Xn}-item-link-icon`}):be.createElement(Ee.Z,{className:`${Xn}-item-link-icon`}),tn));return{prevIcon:zn,nextIcon:er,jumpPrevIcon:zt,jumpNextIcon:bn}},[dn,Xn]),[rr]=(0,ve.Z)("Pagination",Nt.Z),Ar=Object.assign(Object.assign({},rr),kt),li=(0,It.Z)(Cn),xr=li==="small"||!!(tt&&!li&&cn),Br=ln("select",Lt),ti=Le()({[`${Xn}-mini`]:xr,[`${Xn}-rtl`]:dn==="rtl"},An==null?void 0:An.className,bt,et,nr),Rn=Object.assign(Object.assign({},An==null?void 0:An.style),Zt);return Gt(be.createElement(Dt,Object.assign({},kr,Oe,{style:Rn,prefixCls:Xn,selectPrefixCls:Br,className:ti,selectComponentClass:Qt||(xr?Vt:Mt),locale:Ar,showSizeChanger:wr})))},at=Fe},93948:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return vt}});var ne=ie(59301),be=ie(29679),Ce=ie(40001),yt=ie(19248),Se=ie(99267),Ae=ie(92310),pe=ie.n(Ae),ye=ie(2738),Ee=ie(36355),Re=ie(54476),ht=ie(33885),ke=ie(75931),Le={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ge=function(){var tt=(0,ne.useRef)([]),ln=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var dn=Date.now(),An=!1;tt.current.forEach(function(Xn){if(Xn){An=!0;var Gt=Xn.style;Gt.transitionDuration=".3s, .3s, .3s, .06s",ln.current&&dn-ln.current<100&&(Gt.transitionDuration="0s, 0s")}}),An&&(ln.current=Date.now())}),tt.current},nt=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ct=function(tt){var ln=(0,ht.Z)((0,ht.Z)({},Le),tt),dn=ln.className,An=ln.percent,Xn=ln.prefixCls,Gt=ln.strokeColor,nr=ln.strokeLinecap,wr=ln.strokeWidth,kr=ln.style,rr=ln.trailColor,Ar=ln.trailWidth,li=ln.transition,xr=(0,ke.Z)(ln,nt);delete xr.gapPosition;var Br=Array.isArray(An)?An:[An],ti=Array.isArray(Gt)?Gt:[Gt],Rn=Ge(),tn=wr/2,zn=100-wr/2,er="M ".concat(nr==="round"?tn:0,",").concat(tn,`
|
|
|
L `).concat(nr==="round"?zn:100,",").concat(tn),zt="0 0 100 ".concat(wr),bn=0;return ne.createElement("svg",(0,Re.Z)({className:pe()("".concat(Xn,"-line"),dn),viewBox:zt,preserveAspectRatio:"none",style:kr},xr),ne.createElement("path",{className:"".concat(Xn,"-line-trail"),d:er,strokeLinecap:nr,stroke:rr,strokeWidth:Ar||wr,fillOpacity:"0"}),Br.map(function(kn,Tt){var an=1;switch(nr){case"round":an=1-wr/100;break;case"square":an=1-wr/2/100;break;default:an=1;break}var sn={strokeDasharray:"".concat(kn*an,"px, 100px"),strokeDashoffset:"-".concat(bn,"px"),transition:li||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},rn=ti[Tt]||ti[ti.length-1];return bn+=kn,ne.createElement("path",{key:Tt,className:"".concat(Xn,"-line-path"),d:er,strokeLinecap:nr,stroke:rn,strokeWidth:wr,fillOpacity:"0",ref:function(Ft){Rn[Tt]=Ft},style:sn})}))},Et=ct,Ct=ie(76190),Wt=ie(42978),ft=ie(47273),pt=0,ze=(0,ft.Z)();function he(){var Oe;return ze?(Oe=pt,pt+=1):Oe="TEST_OR_SSR",Oe}var it=function(Oe){var tt=ne.useState(),ln=(0,Wt.Z)(tt,2),dn=ln[0],An=ln[1];return ne.useEffect(function(){An("rc_progress_".concat(he()))},[]),Oe||dn},ot=function(tt){var ln=tt.bg,dn=tt.children;return ne.createElement("div",{style:{width:"100%",height:"100%",background:ln}},dn)};function ut(Oe,tt){return Object.keys(Oe).map(function(ln){var dn=parseFloat(ln),An="".concat(Math.floor(dn*tt),"%");return"".concat(Oe[ln]," ").concat(An)})}var Je=ne.forwardRef(function(Oe,tt){var ln=Oe.prefixCls,dn=Oe.color,An=Oe.gradientId,Xn=Oe.radius,Gt=Oe.style,nr=Oe.ptg,wr=Oe.strokeLinecap,kr=Oe.strokeWidth,rr=Oe.size,Ar=Oe.gapDegree,li=dn&&(0,Ct.Z)(dn)==="object",xr=li?"#FFF":void 0,Br=rr/2,ti=ne.createElement("circle",{className:"".concat(ln,"-circle-path"),r:Xn,cx:Br,cy:Br,stroke:xr,strokeLinecap:wr,strokeWidth:kr,opacity:nr===0?0:1,style:Gt,ref:tt});if(!li)return ti;var Rn="".concat(An,"-conic"),tn=Ar?"".concat(180+Ar/2,"deg"):"0deg",zn=ut(dn,(360-Ar)/360),er=ut(dn,1),zt="conic-gradient(from ".concat(tn,", ").concat(zn.join(", "),")"),bn="linear-gradient(to ".concat(Ar?"bottom":"top",", ").concat(er.join(", "),")");return ne.createElement(ne.Fragment,null,ne.createElement("mask",{id:Rn},ti),ne.createElement("foreignObject",{x:0,y:0,width:rr,height:rr,mask:"url(#".concat(Rn,")")},ne.createElement(ot,{bg:bn},ne.createElement(ot,{bg:zt}))))}),mt=Je,Te=100,xt=function(tt,ln,dn,An,Xn,Gt,nr,wr,kr,rr){var Ar=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,li=dn/100*360*((360-Gt)/360),xr=Gt===0?0:{bottom:0,top:180,left:90,right:-90}[nr],Br=(100-An)/100*ln;kr==="round"&&An!==100&&(Br+=rr/2,Br>=ln&&(Br=ln-.01));var ti=Te/2;return{stroke:typeof wr=="string"?wr:void 0,strokeDasharray:"".concat(ln,"px ").concat(tt),strokeDashoffset:Br+Ar,transform:"rotate(".concat(Xn+li+xr,"deg)"),transformOrigin:"".concat(ti,"px ").concat(ti,"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}},Ne=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Rt(Oe){var tt=Oe!=null?Oe:[];return Array.isArray(tt)?tt:[tt]}var Dt=function(tt){var ln=(0,ht.Z)((0,ht.Z)({},Le),tt),dn=ln.id,An=ln.prefixCls,Xn=ln.steps,Gt=ln.strokeWidth,nr=ln.trailWidth,wr=ln.gapDegree,kr=wr===void 0?0:wr,rr=ln.gapPosition,Ar=ln.trailColor,li=ln.strokeLinecap,xr=ln.style,Br=ln.className,ti=ln.strokeColor,Rn=ln.percent,tn=(0,ke.Z)(ln,Ne),zn=Te/2,er=it(dn),zt="".concat(er,"-gradient"),bn=zn-Gt/2,kn=Math.PI*2*bn,Tt=kr>0?90+kr/2:-90,an=kn*((360-kr)/360),sn=(0,Ct.Z)(Xn)==="object"?Xn:{count:Xn,space:2},rn=sn.count,$n=sn.space,Ft=Rt(Rn),Ie=Rt(ti),Xe=Ie.find(function(hn){return hn&&(0,Ct.Z)(hn)==="object"}),He=Xe&&(0,Ct.Z)(Xe)==="object",Ke=He?"butt":li,Bt=xt(kn,an,0,100,Tt,kr,rr,Ar,Ke,Gt),dt=Ge(),on=function(){var Pn=0;return Ft.map(function(Jn,In){var Xt=Ie[In]||Ie[Ie.length-1],wn=xt(kn,an,Pn,Jn,Tt,kr,rr,Xt,Ke,Gt);return Pn+=Jn,ne.createElement(mt,{key:In,color:Xt,ptg:Jn,radius:bn,prefixCls:An,gradientId:zt,style:wn,strokeLinecap:Ke,strokeWidth:Gt,gapDegree:kr,ref:function(lr){dt[In]=lr},size:Te})}).reverse()},nn=function(){var Pn=Math.round(rn*(Ft[0]/100)),Jn=100/rn,In=0;return new Array(rn).fill(null).map(function(Xt,wn){var pr=wn<=Pn-1?Ie[0]:Ar,lr=pr&&(0,Ct.Z)(pr)==="object"?"url(#".concat(zt,")"):void 0,ar=xt(kn,an,In,Jn,Tt,kr,rr,pr,"butt",Gt,$n);return In+=(an-ar.strokeDashoffset+$n)*100/an,ne.createElement("circle",{key:wn,className:"".concat(An,"-circle-path"),r:bn,cx:zn,cy:zn,stroke:lr,strokeWidth:Gt,opacity:1,style:ar,ref:function(Ir){dt[wn]=Ir}})})};return ne.createElement("svg",(0,Re.Z)({className:pe()("".concat(An,"-circle"),Br),viewBox:"0 0 ".concat(Te," ").concat(Te),style:xr,id:dn,role:"presentation"},tn),!rn&&ne.createElement("circle",{className:"".concat(An,"-circle-trail"),r:bn,cx:zn,cy:zn,stroke:Ar,strokeLinecap:Ke,strokeWidth:nr||Gt,style:Bt}),rn?nn():on())},Nt=Dt,wt={Line:Et,Circle:Nt},It=ie(6848),We=ie(30071);function ve(Oe){return!Oe||Oe<0?0:Oe>100?100:Oe}function Qe(Oe){let{success:tt,successPercent:ln}=Oe,dn=ln;return tt&&"progress"in tt&&(dn=tt.progress),tt&&"percent"in tt&&(dn=tt.percent),dn}const Vt=Oe=>{let{percent:tt,success:ln,successPercent:dn}=Oe;const An=ve(Qe({success:ln,successPercent:dn}));return[An,ve(ve(tt)-An)]},Mt=Oe=>{let{success:tt={},strokeColor:ln}=Oe;const{strokeColor:dn}=tt;return[dn||We.presetPrimaryColors.green,ln||null]},Ue=(Oe,tt,ln)=>{var dn,An,Xn,Gt;let nr=-1,wr=-1;if(tt==="step"){const kr=ln.steps,rr=ln.strokeWidth;typeof Oe=="string"||typeof Oe=="undefined"?(nr=Oe==="small"?2:14,wr=rr!=null?rr:8):typeof Oe=="number"?[nr,wr]=[Oe,Oe]:[nr=14,wr=8]=Oe,nr*=kr}else if(tt==="line"){const kr=ln==null?void 0:ln.strokeWidth;typeof Oe=="string"||typeof Oe=="undefined"?wr=kr||(Oe==="small"?6:8):typeof Oe=="number"?[nr,wr]=[Oe,Oe]:[nr=-1,wr=8]=Oe}else(tt==="circle"||tt==="dashboard")&&(typeof Oe=="string"||typeof Oe=="undefined"?[nr,wr]=Oe==="small"?[60,60]:[120,120]:typeof Oe=="number"?[nr,wr]=[Oe,Oe]:(nr=(An=(dn=Oe[0])!==null&&dn!==void 0?dn:Oe[1])!==null&&An!==void 0?An:120,wr=(Gt=(Xn=Oe[0])!==null&&Xn!==void 0?Xn:Oe[1])!==null&&Gt!==void 0?Gt:120));return[nr,wr]},st=3,Ht=Oe=>st/Oe*100;var Ut=Oe=>{const{prefixCls:tt,trailColor:ln=null,strokeLinecap:dn="round",gapPosition:An,gapDegree:Xn,width:Gt=120,type:nr,children:wr,success:kr,size:rr=Gt}=Oe,[Ar,li]=Ue(rr,"circle");let{strokeWidth:xr}=Oe;xr===void 0&&(xr=Math.max(Ht(Ar),6));const Br={width:Ar,height:li,fontSize:Ar*.15+6},ti=ne.useMemo(()=>{if(Xn||Xn===0)return Xn;if(nr==="dashboard")return 75},[Xn,nr]),Rn=An||nr==="dashboard"&&"bottom"||void 0,tn=Object.prototype.toString.call(Oe.strokeColor)==="[object Object]",zn=Mt({success:kr,strokeColor:Oe.strokeColor}),er=pe()(`${tt}-inner`,{[`${tt}-circle-gradient`]:tn}),zt=ne.createElement(Nt,{percent:Vt(Oe),strokeWidth:xr,trailWidth:xr,strokeColor:zn,strokeLinecap:dn,trailColor:ln,prefixCls:tt,gapDegree:ti,gapPosition:Rn});return ne.createElement("div",{className:er,style:Br},Ar<=20?ne.createElement(It.Z,{title:wr},ne.createElement("span",null,zt)):ne.createElement(ne.Fragment,null,zt,wr))},Sn=function(Oe,tt){var ln={};for(var dn in Oe)Object.prototype.hasOwnProperty.call(Oe,dn)&&tt.indexOf(dn)<0&&(ln[dn]=Oe[dn]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,dn=Object.getOwnPropertySymbols(Oe);An<dn.length;An++)tt.indexOf(dn[An])<0&&Object.prototype.propertyIsEnumerable.call(Oe,dn[An])&&(ln[dn[An]]=Oe[dn[An]]);return ln};const jt=Oe=>{let tt=[];return Object.keys(Oe).forEach(ln=>{const dn=parseFloat(ln.replace(/%/g,""));isNaN(dn)||tt.push({key:dn,value:Oe[ln]})}),tt=tt.sort((ln,dn)=>ln.key-dn.key),tt.map(ln=>{let{key:dn,value:An}=ln;return`${An} ${dn}%`}).join(", ")},Jt=(Oe,tt)=>{const{from:ln=We.presetPrimaryColors.blue,to:dn=We.presetPrimaryColors.blue,direction:An=tt==="rtl"?"to left":"to right"}=Oe,Xn=Sn(Oe,["from","to","direction"]);if(Object.keys(Xn).length!==0){const Gt=jt(Xn);return{backgroundImage:`linear-gradient(${An}, ${Gt})`}}return{backgroundImage:`linear-gradient(${An}, ${ln}, ${dn})`}};var xe=Oe=>{const{prefixCls:tt,direction:ln,percent:dn,size:An,strokeWidth:Xn,strokeColor:Gt,strokeLinecap:nr="round",children:wr,trailColor:kr=null,success:rr}=Oe,Ar=Gt&&typeof Gt!="string"?Jt(Gt,ln):{backgroundColor:Gt},li=nr==="square"||nr==="butt"?0:void 0,xr={backgroundColor:kr||void 0,borderRadius:li},Br=An!=null?An:[-1,Xn||(An==="small"?6:8)],[ti,Rn]=Ue(Br,"line",{strokeWidth:Xn}),tn=Object.assign({width:`${ve(dn)}%`,height:Rn,borderRadius:li},Ar),zn=Qe(Oe),er={width:`${ve(zn)}%`,height:Rn,borderRadius:li,backgroundColor:rr==null?void 0:rr.strokeColor},zt={width:ti<0?"100%":ti,height:Rn};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:`${tt}-outer`,style:zt},ne.createElement("div",{className:`${tt}-inner`,style:xr},ne.createElement("div",{className:`${tt}-bg`,style:tn}),zn!==void 0?ne.createElement("div",{className:`${tt}-success-bg`,style:er}):null)),wr)},ue=Oe=>{const{size:tt,steps:ln,percent:dn=0,strokeWidth:An=8,strokeColor:Xn,trailColor:Gt=null,prefixCls:nr,children:wr}=Oe,kr=Math.round(ln*(dn/100)),rr=tt==="small"?2:14,Ar=tt!=null?tt:[rr,An],[li,xr]=Ue(Ar,"step",{steps:ln,strokeWidth:An}),Br=li/ln,ti=new Array(ln);for(let Rn=0;Rn<ln;Rn++){const tn=Array.isArray(Xn)?Xn[Rn]:Xn;ti[Rn]=ne.createElement("div",{key:Rn,className:pe()(`${nr}-steps-item`,{[`${nr}-steps-item-active`]:Rn<=kr-1}),style:{backgroundColor:Rn<=kr-1?tn:Gt,width:Br,height:xr}})}return ne.createElement("div",{className:`${nr}-steps-outer`},ti,wr)},de=ie(36237),fe=ie(17313),le=ie(83116),Fe=ie(37613);const at=Oe=>{const tt=Oe?"100%":"-100%";return new de.Keyframes(`antProgress${Oe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${tt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${tt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ze=Oe=>{const{componentCls:tt,iconCls:ln}=Oe;return{[tt]:Object.assign(Object.assign({},(0,fe.Wf)(Oe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Oe.fontSize,marginInlineEnd:Oe.marginXS,marginBottom:Oe.marginXS},[`${tt}-outer`]:{display:"inline-block",width:"100%"},[`&${tt}-show-info`]:{[`${tt}-outer`]:{marginInlineEnd:`calc(-2em - ${Oe.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Oe.paddingXS}px)`}},[`${tt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Oe.remainingColor,borderRadius:Oe.lineBorderRadius},[`${tt}-inner:not(${tt}-circle-gradient)`]:{[`${tt}-circle-path`]:{stroke:Oe.defaultColor}},[`${tt}-success-bg, ${tt}-bg`]:{position:"relative",backgroundColor:Oe.defaultColor,borderRadius:Oe.lineBorderRadius,transition:`all ${Oe.motionDurationSlow} ${Oe.motionEaseInOutCirc}`},[`${tt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Oe.colorSuccess},[`${tt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Oe.marginXS,color:Oe.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ln]:{fontSize:Oe.fontSize}},[`&${tt}-status-active`]:{[`${tt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Oe.colorBgContainer,borderRadius:Oe.lineBorderRadius,opacity:0,animationName:at(),animationDuration:Oe.progressActiveMotionDuration,animationTimingFunction:Oe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${tt}-rtl${tt}-status-active`]:{[`${tt}-bg::before`]:{animationName:at(!0)}},[`&${tt}-status-exception`]:{[`${tt}-bg`]:{backgroundColor:Oe.colorError},[`${tt}-text`]:{color:Oe.colorError}},[`&${tt}-status-exception ${tt}-inner:not(${tt}-circle-gradient)`]:{[`${tt}-circle-path`]:{stroke:Oe.colorError}},[`&${tt}-status-success`]:{[`${tt}-bg`]:{backgroundColor:Oe.colorSuccess},[`${tt}-text`]:{color:Oe.colorSuccess}},[`&${tt}-status-success ${tt}-inner:not(${tt}-circle-gradient)`]:{[`${tt}-circle-path`]:{stroke:Oe.colorSuccess}}})}},Me=Oe=>{const{componentCls:tt,iconCls:ln}=Oe;return{[tt]:{[`${tt}-circle-trail`]:{stroke:Oe.remainingColor},[`&${tt}-circle ${tt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${tt}-circle ${tt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Oe.circleTextColor,fontSize:Oe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ln]:{fontSize:`${Oe.fontSize/Oe.fontSizeSM}em`}},[`${tt}-circle&-status-exception`]:{[`${tt}-text`]:{color:Oe.colorError}},[`${tt}-circle&-status-success`]:{[`${tt}-text`]:{color:Oe.colorSuccess}}},[`${tt}-inline-circle`]:{lineHeight:1,[`${tt}-inner`]:{verticalAlign:"bottom"}}}},Lt=Oe=>{const{componentCls:tt}=Oe;return{[tt]:{[`${tt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Oe.progressStepMinWidth,marginInlineEnd:Oe.progressStepMarginInlineEnd,backgroundColor:Oe.remainingColor,transition:`all ${Oe.motionDurationSlow}`,"&-active":{backgroundColor:Oe.defaultColor}}}}}},bt=Oe=>{const{componentCls:tt,iconCls:ln}=Oe;return{[tt]:{[`${tt}-small&-line, ${tt}-small&-line ${tt}-text ${ln}`]:{fontSize:Oe.fontSizeSM}}}};var et=(0,le.Z)("Progress",Oe=>{const tt=Oe.marginXXS/2,ln=(0,Fe.TS)(Oe,{progressStepMarginInlineEnd:tt,progressStepMinWidth:tt,progressActiveMotionDuration:"2.4s"});return[Ze(ln),Me(ln),Lt(ln),bt(ln)]},Oe=>({circleTextColor:Oe.colorText,defaultColor:Oe.colorInfo,remainingColor:Oe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Zt=function(Oe,tt){var ln={};for(var dn in Oe)Object.prototype.hasOwnProperty.call(Oe,dn)&&tt.indexOf(dn)<0&&(ln[dn]=Oe[dn]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,dn=Object.getOwnPropertySymbols(Oe);An<dn.length;An++)tt.indexOf(dn[An])<0&&Object.prototype.propertyIsEnumerable.call(Oe,dn[An])&&(ln[dn[An]]=Oe[dn[An]]);return ln};const Cn=null,kt=["normal","exception","active","success"];var cn=ne.forwardRef((Oe,tt)=>{const{prefixCls:ln,className:dn,rootClassName:An,steps:Xn,strokeColor:Gt,percent:nr=0,size:wr="default",showInfo:kr=!0,type:rr="line",status:Ar,format:li,style:xr}=Oe,Br=Zt(Oe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ti=ne.useMemo(()=>{var Ft,Ie;const Xe=Qe(Oe);return parseInt(Xe!==void 0?(Ft=Xe!=null?Xe:0)===null||Ft===void 0?void 0:Ft.toString():(Ie=nr!=null?nr:0)===null||Ie===void 0?void 0:Ie.toString(),10)},[nr,Oe.success,Oe.successPercent]),Rn=ne.useMemo(()=>!kt.includes(Ar)&&ti>=100?"success":Ar||"normal",[Ar,ti]),{getPrefixCls:tn,direction:zn,progress:er}=ne.useContext(Ee.E_),zt=tn("progress",ln),[bn,kn]=et(zt),Tt=ne.useMemo(()=>{if(!kr)return null;const Ft=Qe(Oe);let Ie;const Xe=li||(Ke=>`${Ke}%`),He=rr==="line";return li||Rn!=="exception"&&Rn!=="success"?Ie=Xe(ve(nr),ve(Ft)):Rn==="exception"?Ie=He?ne.createElement(yt.Z,null):ne.createElement(Se.Z,null):Rn==="success"&&(Ie=He?ne.createElement(be.Z,null):ne.createElement(Ce.Z,null)),ne.createElement("span",{className:`${zt}-text`,title:typeof Ie=="string"?Ie:void 0},Ie)},[kr,nr,ti,Rn,rr,zt,li]),an=Array.isArray(Gt)?Gt[0]:Gt,sn=typeof Gt=="string"||Array.isArray(Gt)?Gt:void 0;let rn;rr==="line"?rn=Xn?ne.createElement(ue,Object.assign({},Oe,{strokeColor:sn,prefixCls:zt,steps:Xn}),Tt):ne.createElement(xe,Object.assign({},Oe,{strokeColor:an,prefixCls:zt,direction:zn}),Tt):(rr==="circle"||rr==="dashboard")&&(rn=ne.createElement(Ut,Object.assign({},Oe,{strokeColor:an,prefixCls:zt,progressStatus:Rn}),Tt));const $n=pe()(zt,`${zt}-status-${Rn}`,`${zt}-${rr==="dashboard"&&"circle"||Xn&&"steps"||rr}`,{[`${zt}-inline-circle`]:rr==="circle"&&Ue(wr,"circle")[0]<=20,[`${zt}-show-info`]:kr,[`${zt}-${wr}`]:typeof wr=="string",[`${zt}-rtl`]:zn==="rtl"},er==null?void 0:er.className,dn,An,kn);return bn(ne.createElement("div",Object.assign({ref:tt,style:Object.assign(Object.assign({},er==null?void 0:er.style),xr),className:$n,role:"progressbar","aria-valuenow":ti},(0,ye.Z)(Br,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),rn))}),vt=cn},5112:function(Ln,pn,ie){"use strict";ie.d(pn,{ZP:function(){return We}});var ne=ie(92310),be=ie.n(ne),Ce=ie(18929),yt=ie(26112),Se=ie(59301),Ae=ie(36355),pe=ie(19716);const ye=Se.createContext(null),Ee=ye.Provider;var Re=ye;const ht=Se.createContext(null),ke=ht.Provider;var Le=ie(5630),Ge=ie(8654),nt=ie(1684),ct=ie(32441),Et=ie(17313),Ct=ie(83116),Wt=ie(37613);const ft=ve=>{const{componentCls:Qe,antCls:Vt}=ve,Mt=`${Qe}-group`;return{[Mt]:Object.assign(Object.assign({},(0,Et.Wf)(ve)),{display:"inline-block",fontSize:0,[`&${Mt}-rtl`]:{direction:"rtl"},[`${Vt}-badge ${Vt}-badge-count`]:{zIndex:1},[`> ${Vt}-badge:not(:first-child) > ${Vt}-button-wrapper`]:{borderInlineStart:"none"}})}},pt=ve=>{const{componentCls:Qe,wrapperMarginInlineEnd:Vt,colorPrimary:Mt,radioSize:Ue,motionDurationSlow:st,motionDurationMid:Ht,motionEaseInOutCirc:yn,colorBgContainer:Ut,colorBorder:Sn,lineWidth:jt,dotSize:Jt,colorBgContainerDisabled:Ot,colorTextDisabled:xe,paddingXS:ce,dotColorDisabled:ue,lineType:de,radioDotDisabledSize:fe,wireframe:le,colorWhite:Fe}=ve,at=`${Qe}-inner`;return{[`${Qe}-wrapper`]:Object.assign(Object.assign({},(0,Et.Wf)(ve)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Vt,cursor:"pointer",[`&${Qe}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:ve.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${Qe}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${jt}px ${de} ${Mt}`,borderRadius:"50%",visibility:"hidden",content:'""'},[Qe]:Object.assign(Object.assign({},(0,Et.Wf)(ve)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Qe}-wrapper:hover &,
|
|
|
&:hover ${at}`]:{borderColor:Mt},[`${Qe}-input:focus-visible + ${at}`]:Object.assign({},(0,Et.oN)(ve)),[`${Qe}:hover::after, ${Qe}-wrapper:hover &::after`]:{visibility:"visible"},[`${Qe}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Ue,height:Ue,marginBlockStart:Ue/-2,marginInlineStart:Ue/-2,backgroundColor:le?Mt:Fe,borderBlockStart:0,borderInlineStart:0,borderRadius:Ue,transform:"scale(0)",opacity:0,transition:`all ${st} ${yn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Ue,height:Ue,backgroundColor:Ut,borderColor:Sn,borderStyle:"solid",borderWidth:jt,borderRadius:"50%",transition:`all ${Ht}`},[`${Qe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Qe}-checked`]:{[at]:{borderColor:Mt,backgroundColor:le?Ut:Mt,"&::after":{transform:`scale(${Jt/Ue})`,opacity:1,transition:`all ${st} ${yn}`}}},[`${Qe}-disabled`]:{cursor:"not-allowed",[at]:{backgroundColor:Ot,borderColor:Sn,cursor:"not-allowed","&::after":{backgroundColor:ue}},[`${Qe}-input`]:{cursor:"not-allowed"},[`${Qe}-disabled + span`]:{color:xe,cursor:"not-allowed"},[`&${Qe}-checked`]:{[at]:{"&::after":{transform:`scale(${fe/Ue})`}}}},[`span${Qe} + *`]:{paddingInlineStart:ce,paddingInlineEnd:ce}})}},ze=ve=>{const{buttonColor:Qe,controlHeight:Vt,componentCls:Mt,lineWidth:Ue,lineType:st,colorBorder:Ht,motionDurationSlow:yn,motionDurationMid:Ut,buttonPaddingInline:Sn,fontSize:jt,buttonBg:Jt,fontSizeLG:Ot,controlHeightLG:xe,controlHeightSM:ce,paddingXS:ue,borderRadius:de,borderRadiusSM:fe,borderRadiusLG:le,buttonCheckedBg:Fe,buttonSolidCheckedColor:at,colorTextDisabled:Ze,colorBgContainerDisabled:Me,buttonCheckedBgDisabled:Lt,buttonCheckedColorDisabled:bt,colorPrimary:et,colorPrimaryHover:Zt,colorPrimaryActive:Cn,buttonSolidCheckedBg:kt,buttonSolidCheckedHoverBg:Qt,buttonSolidCheckedActiveBg:cn}=ve;return{[`${Mt}-button-wrapper`]:{position:"relative",display:"inline-block",height:Vt,margin:0,paddingInline:Sn,paddingBlock:0,color:Qe,fontSize:jt,lineHeight:`${Vt-Ue*2}px`,background:Jt,border:`${Ue}px ${st} ${Ht}`,borderBlockStartWidth:Ue+.02,borderInlineStartWidth:0,borderInlineEndWidth:Ue,cursor:"pointer",transition:[`color ${Ut}`,`background ${Ut}`,`box-shadow ${Ut}`].join(","),a:{color:Qe},[`> ${Mt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Ue,insetInlineStart:-Ue,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Ue,paddingInline:0,backgroundColor:Ht,transition:`background-color ${yn}`,content:'""'}},"&:first-child":{borderInlineStart:`${Ue}px ${st} ${Ht}`,borderStartStartRadius:de,borderEndStartRadius:de},"&:last-child":{borderStartEndRadius:de,borderEndEndRadius:de},"&:first-child:last-child":{borderRadius:de},[`${Mt}-group-large &`]:{height:xe,fontSize:Ot,lineHeight:`${xe-Ue*2}px`,"&:first-child":{borderStartStartRadius:le,borderEndStartRadius:le},"&:last-child":{borderStartEndRadius:le,borderEndEndRadius:le}},[`${Mt}-group-small &`]:{height:ce,paddingInline:ue-Ue,paddingBlock:0,lineHeight:`${ce-Ue*2}px`,"&:first-child":{borderStartStartRadius:fe,borderEndStartRadius:fe},"&:last-child":{borderStartEndRadius:fe,borderEndEndRadius:fe}},"&:hover":{position:"relative",color:et},"&:has(:focus-visible)":Object.assign({},(0,Et.oN)(ve)),[`${Mt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Mt}-button-wrapper-disabled)`]:{zIndex:1,color:et,background:Fe,borderColor:et,"&::before":{backgroundColor:et},"&:first-child":{borderColor:et},"&:hover":{color:Zt,borderColor:Zt,"&::before":{backgroundColor:Zt}},"&:active":{color:Cn,borderColor:Cn,"&::before":{backgroundColor:Cn}}},[`${Mt}-group-solid &-checked:not(${Mt}-button-wrapper-disabled)`]:{color:at,background:kt,borderColor:kt,"&:hover":{color:at,background:Qt,borderColor:Qt},"&:active":{color:at,background:cn,borderColor:cn}},"&-disabled":{color:Ze,backgroundColor:Me,borderColor:Ht,cursor:"not-allowed","&:first-child, &:hover":{color:Ze,backgroundColor:Me,borderColor:Ht}},[`&-disabled${Mt}-button-wrapper-checked`]:{color:bt,backgroundColor:Lt,borderColor:Ht,boxShadow:"none"}}}},he=ve=>ve-4*2;var it=(0,Ct.Z)("Radio",ve=>{const{controlOutline:Qe,controlOutlineWidth:Vt,radioSize:Mt}=ve,Ue=`0 0 0 ${Vt}px ${Qe}`,st=Ue,Ht=he(Mt),yn=(0,Wt.TS)(ve,{radioDotDisabledSize:Ht,radioFocusShadow:Ue,radioButtonFocusShadow:st});return[ft(yn),pt(yn),ze(yn)]},ve=>{const{wireframe:Qe,padding:Vt,marginXS:Mt,lineWidth:Ue,fontSizeLG:st,colorText:Ht,colorBgContainer:yn,colorTextDisabled:Ut,controlItemBgActiveDisabled:Sn,colorTextLightSolid:jt,colorPrimary:Jt,colorPrimaryHover:Ot,colorPrimaryActive:xe}=ve,ce=4,ue=st,de=Qe?he(ue):ue-(ce+Ue)*2;return{radioSize:ue,dotSize:de,dotColorDisabled:Ut,buttonSolidCheckedColor:jt,buttonSolidCheckedBg:Jt,buttonSolidCheckedHoverBg:Ot,buttonSolidCheckedActiveBg:xe,buttonBg:yn,buttonCheckedBg:yn,buttonColor:Ht,buttonCheckedBgDisabled:Sn,buttonCheckedColorDisabled:Ut,buttonPaddingInline:Vt-Ue,wrapperMarginInlineEnd:Mt}}),ot=ie(14088),ut=ie(4572),Je=function(ve,Qe){var Vt={};for(var Mt in ve)Object.prototype.hasOwnProperty.call(ve,Mt)&&Qe.indexOf(Mt)<0&&(Vt[Mt]=ve[Mt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Mt=Object.getOwnPropertySymbols(ve);Ue<Mt.length;Ue++)Qe.indexOf(Mt[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ve,Mt[Ue])&&(Vt[Mt[Ue]]=ve[Mt[Ue]]);return Vt};const mt=(ve,Qe)=>{var Vt,Mt;const Ue=Se.useContext(Re),st=Se.useContext(ht),{getPrefixCls:Ht,direction:yn,radio:Ut}=Se.useContext(Ae.E_),Sn=Se.useRef(null),jt=(0,Ge.sQ)(Qe,Sn),{isFormItemInput:Jt}=Se.useContext(ct.aM),Ot=Cn=>{var kt,Qt;(kt=ve.onChange)===null||kt===void 0||kt.call(ve,Cn),(Qt=Ue==null?void 0:Ue.onChange)===null||Qt===void 0||Qt.call(Ue,Cn)},{prefixCls:xe,className:ce,rootClassName:ue,children:de,style:fe}=ve,le=Je(ve,["prefixCls","className","rootClassName","children","style"]),Fe=Ht("radio",xe),at=((Ue==null?void 0:Ue.optionType)||st)==="button",Ze=at?`${Fe}-button`:Fe,[Me,Lt]=it(Fe),bt=Object.assign({},le),et=Se.useContext(nt.Z);Ue&&(bt.name=Ue.name,bt.onChange=Ot,bt.checked=ve.value===Ue.value,bt.disabled=(Vt=bt.disabled)!==null&&Vt!==void 0?Vt:Ue.disabled),bt.disabled=(Mt=bt.disabled)!==null&&Mt!==void 0?Mt:et;const Zt=be()(`${Ze}-wrapper`,{[`${Ze}-wrapper-checked`]:bt.checked,[`${Ze}-wrapper-disabled`]:bt.disabled,[`${Ze}-wrapper-rtl`]:yn==="rtl",[`${Ze}-wrapper-in-form-item`]:Jt},Ut==null?void 0:Ut.className,ce,ue,Lt);return Me(Se.createElement(ot.Z,{component:"Radio",disabled:bt.disabled},Se.createElement("label",{className:Zt,style:Object.assign(Object.assign({},Ut==null?void 0:Ut.style),fe),onMouseEnter:ve.onMouseEnter,onMouseLeave:ve.onMouseLeave},Se.createElement(Le.Z,Object.assign({},bt,{className:be()(bt.className,!at&&ut.A),type:"radio",prefixCls:Ze,ref:jt})),de!==void 0?Se.createElement("span",null,de):null)))};var xt=Se.forwardRef(mt);const Ne=Se.forwardRef((ve,Qe)=>{const{getPrefixCls:Vt,direction:Mt}=Se.useContext(Ae.E_),[Ue,st]=(0,Ce.Z)(ve.defaultValue,{value:ve.value}),Ht=kt=>{const Qt=Ue,cn=kt.target.value;"value"in ve||st(cn);const{onChange:vt}=ve;vt&&cn!==Qt&&vt(kt)},{prefixCls:yn,className:Ut,rootClassName:Sn,options:jt,buttonStyle:Jt="outline",disabled:Ot,children:xe,size:ce,style:ue,id:de,onMouseEnter:fe,onMouseLeave:le,onFocus:Fe,onBlur:at}=ve,Ze=Vt("radio",yn),Me=`${Ze}-group`,[Lt,bt]=it(Ze);let et=xe;jt&&jt.length>0&&(et=jt.map(kt=>typeof kt=="string"||typeof kt=="number"?Se.createElement(xt,{key:kt.toString(),prefixCls:Ze,disabled:Ot,value:kt,checked:Ue===kt},kt):Se.createElement(xt,{key:`radio-group-value-options-${kt.value}`,prefixCls:Ze,disabled:kt.disabled||Ot,value:kt.value,checked:Ue===kt.value,title:kt.title,style:kt.style},kt.label)));const Zt=(0,pe.Z)(ce),Cn=be()(Me,`${Me}-${Jt}`,{[`${Me}-${Zt}`]:Zt,[`${Me}-rtl`]:Mt==="rtl"},Ut,Sn,bt);return Lt(Se.createElement("div",Object.assign({},(0,yt.Z)(ve,{aria:!0,data:!0}),{className:Cn,style:ue,onMouseEnter:fe,onMouseLeave:le,onFocus:Fe,onBlur:at,id:de,ref:Qe}),Se.createElement(Ee,{value:{onChange:Ht,value:Ue,disabled:ve.disabled,name:ve.name,optionType:ve.optionType}},et)))});var Rt=Se.memo(Ne),Dt=function(ve,Qe){var Vt={};for(var Mt in ve)Object.prototype.hasOwnProperty.call(ve,Mt)&&Qe.indexOf(Mt)<0&&(Vt[Mt]=ve[Mt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Mt=Object.getOwnPropertySymbols(ve);Ue<Mt.length;Ue++)Qe.indexOf(Mt[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ve,Mt[Ue])&&(Vt[Mt[Ue]]=ve[Mt[Ue]]);return Vt};const Nt=(ve,Qe)=>{const{getPrefixCls:Vt}=Se.useContext(Ae.E_),{prefixCls:Mt}=ve,Ue=Dt(ve,["prefixCls"]),st=Vt("radio",Mt);return Se.createElement(ke,{value:"button"},Se.createElement(xt,Object.assign({prefixCls:st},Ue,{type:"radio",ref:Qe})))};var wt=Se.forwardRef(Nt);const It=xt;It.Button=wt,It.Group=Rt,It.__ANT_RADIO=!0;var We=It},13570:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ve}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Vt,Mt){return be.createElement(Se.Z,(0,ne.Z)({},Vt,{ref:Mt,icon:yt}))},pe=be.forwardRef(Ae),ye=pe,Ee=ie(92310),Re=ie.n(Ee),ht=ie(20068),ke=ie(42978),Le=ie(75931),Ge=ie(18929),nt=ie(10228),ct=ie(26112);function Et(Qe,Vt){var Mt=Qe.disabled,Ue=Qe.prefixCls,st=Qe.character,Ht=Qe.characterRender,yn=Qe.index,Ut=Qe.count,Sn=Qe.value,jt=Qe.allowHalf,Jt=Qe.focused,Ot=Qe.onHover,xe=Qe.onClick,ce=function(Me){Ot(Me,yn)},ue=function(Me){xe(Me,yn)},de=function(Me){Me.keyCode===nt.Z.ENTER&&xe(Me,yn)},fe=yn+1,le=new Set([Ue]);Sn===0&&yn===0&&Jt?le.add("".concat(Ue,"-focused")):jt&&Sn+.5>=fe&&Sn<fe?(le.add("".concat(Ue,"-half")),le.add("".concat(Ue,"-active")),Jt&&le.add("".concat(Ue,"-focused"))):(fe<=Sn?le.add("".concat(Ue,"-full")):le.add("".concat(Ue,"-zero")),fe===Sn&&Jt&&le.add("".concat(Ue,"-focused")));var Fe=typeof st=="function"?st(Qe):st,at=be.createElement("li",{className:Re()(Array.from(le)),ref:Vt},be.createElement("div",{onClick:Mt?null:ue,onKeyDown:Mt?null:de,onMouseMove:Mt?null:ce,role:"radio","aria-checked":Sn>yn?"true":"false","aria-posinset":yn+1,"aria-setsize":Ut,tabIndex:Mt?-1:0},be.createElement("div",{className:"".concat(Ue,"-first")},Fe),be.createElement("div",{className:"".concat(Ue,"-second")},Fe)));return Ht&&(at=Ht(at,Qe)),at}var Ct=be.forwardRef(Et);function Wt(){var Qe=be.useRef({});function Vt(Ue){return Qe.current[Ue]}function Mt(Ue){return function(st){Qe.current[Ue]=st}}return[Vt,Mt]}function ft(Qe){var Vt=Qe.pageXOffset,Mt="scrollLeft";if(typeof Vt!="number"){var Ue=Qe.document;Vt=Ue.documentElement[Mt],typeof Vt!="number"&&(Vt=Ue.body[Mt])}return Vt}function pt(Qe){var Vt,Mt,Ue=Qe.ownerDocument,st=Ue.body,Ht=Ue&&Ue.documentElement,yn=Qe.getBoundingClientRect();return Vt=yn.left,Mt=yn.top,Vt-=Ht.clientLeft||st.clientLeft||0,Mt-=Ht.clientTop||st.clientTop||0,{left:Vt,top:Mt}}function ze(Qe){var Vt=pt(Qe),Mt=Qe.ownerDocument,Ue=Mt.defaultView||Mt.parentWindow;return Vt.left+=ft(Ue),Vt.left}var he=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function it(Qe,Vt){var Mt,Ue=Qe.prefixCls,st=Ue===void 0?"rc-rate":Ue,Ht=Qe.className,yn=Qe.defaultValue,Ut=Qe.value,Sn=Qe.count,jt=Sn===void 0?5:Sn,Jt=Qe.allowHalf,Ot=Jt===void 0?!1:Jt,xe=Qe.allowClear,ce=xe===void 0?!0:xe,ue=Qe.character,de=ue===void 0?"\u2605":ue,fe=Qe.characterRender,le=Qe.disabled,Fe=Qe.direction,at=Fe===void 0?"ltr":Fe,Ze=Qe.tabIndex,Me=Ze===void 0?0:Ze,Lt=Qe.autoFocus,bt=Qe.onHoverChange,et=Qe.onChange,Zt=Qe.onFocus,Cn=Qe.onBlur,kt=Qe.onKeyDown,Qt=Qe.onMouseLeave,cn=(0,Le.Z)(Qe,he),vt=Wt(),Oe=(0,ke.Z)(vt,2),tt=Oe[0],ln=Oe[1],dn=be.useRef(null),An=function(){if(!le){var Ke;(Ke=dn.current)===null||Ke===void 0||Ke.focus()}};be.useImperativeHandle(Vt,function(){return{focus:An,blur:function(){if(!le){var Ke;(Ke=dn.current)===null||Ke===void 0||Ke.blur()}}}});var Xn=(0,Ge.Z)(yn||0,{value:Ut}),Gt=(0,ke.Z)(Xn,2),nr=Gt[0],wr=Gt[1],kr=(0,Ge.Z)(null),rr=(0,ke.Z)(kr,2),Ar=rr[0],li=rr[1],xr=function(Ke,Bt){var dt=at==="rtl",on=Ke+1;if(Ot){var nn=tt(Ke),hn=ze(nn),Pn=nn.clientWidth;(dt&&Bt-hn>Pn/2||!dt&&Bt-hn<Pn/2)&&(on-=.5)}return on},Br=function(Ke){wr(Ke),et==null||et(Ke)},ti=be.useState(!1),Rn=(0,ke.Z)(ti,2),tn=Rn[0],zn=Rn[1],er=function(){zn(!0),Zt==null||Zt()},zt=function(){zn(!1),Cn==null||Cn()},bn=be.useState(null),kn=(0,ke.Z)(bn,2),Tt=kn[0],an=kn[1],sn=function(Ke,Bt){var dt=xr(Bt,Ke.pageX);dt!==Ar&&(an(dt),li(null)),bt==null||bt(dt)},rn=function(Ke){le||(an(null),li(null),bt==null||bt(void 0)),Ke&&(Qt==null||Qt(Ke))},$n=function(Ke,Bt){var dt=xr(Bt,Ke.pageX),on=!1;ce&&(on=dt===nr),rn(),Br(on?0:dt),li(on?dt:null)},Ft=function(Ke){var Bt=Ke.keyCode,dt=at==="rtl",on=nr;Bt===nt.Z.RIGHT&&on<jt&&!dt?(Ot?on+=.5:on+=1,Br(on),Ke.preventDefault()):Bt===nt.Z.LEFT&&on>0&&!dt||Bt===nt.Z.RIGHT&&on>0&&dt?(Ot?on-=.5:on-=1,Br(on),Ke.preventDefault()):Bt===nt.Z.LEFT&&on<jt&&dt&&(Ot?on+=.5:on+=1,Br(on),Ke.preventDefault()),kt==null||kt(Ke)};be.useEffect(function(){Lt&&!le&&An()},[]);var Ie=new Array(jt).fill(0).map(function(He,Ke){return be.createElement(Ct,{ref:ln(Ke),index:Ke,count:jt,disabled:le,prefixCls:"".concat(st,"-star"),allowHalf:Ot,value:Tt===null?nr:Tt,onClick:$n,onHover:sn,key:He||Ke,character:de,characterRender:fe,focused:tn})}),Xe=Re()(st,Ht,(Mt={},(0,ht.Z)(Mt,"".concat(st,"-disabled"),le),(0,ht.Z)(Mt,"".concat(st,"-rtl"),at==="rtl"),Mt));return be.createElement("ul",(0,ne.Z)({className:Xe,onMouseLeave:rn,tabIndex:le?-1:Me,onFocus:le?null:er,onBlur:le?null:zt,onKeyDown:le?null:Ft,ref:dn,role:"radiogroup"},(0,ct.Z)(cn,{aria:!0,data:!0,attr:!0})),Ie)}var ot=be.forwardRef(it),ut=ot,Je=ie(36355),mt=ie(6848),Te=ie(17313),xt=ie(83116),Ne=ie(37613);const Rt=Qe=>{const{componentCls:Vt}=Qe;return{[`${Vt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Qe.marginXS},"> div":{transition:`all ${Qe.motionDurationMid}, outline 0s`,"&:hover":{transform:Qe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Qe.lineWidth}px dashed ${Qe.starColor}`,transform:Qe.starHoverScale}},"&-first, &-second":{color:Qe.starBg,transition:`all ${Qe.motionDurationMid}`,userSelect:"none",[Qe.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Vt}-star-first, &-half ${Vt}-star-second`]:{opacity:1},[`&-half ${Vt}-star-first, &-full ${Vt}-star-second`]:{color:"inherit"}}}},Dt=Qe=>({[`&-rtl${Qe.componentCls}`]:{direction:"rtl"}}),Nt=Qe=>{const{componentCls:Vt}=Qe;return{[Vt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Te.Wf)(Qe)),{display:"inline-block",margin:0,padding:0,color:Qe.starColor,fontSize:Qe.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Vt} ${Vt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Rt(Qe)),{[`+ ${Vt}-text`]:{display:"inline-block",marginInlineStart:Qe.marginXS,fontSize:Qe.fontSize}}),Dt(Qe))}};var wt=(0,xt.Z)("Rate",Qe=>{const Vt=(0,Ne.TS)(Qe,{});return[Nt(Vt)]},Qe=>({starColor:Qe.yellow6,starSize:Qe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Qe.colorFillContent})),It=function(Qe,Vt){var Mt={};for(var Ue in Qe)Object.prototype.hasOwnProperty.call(Qe,Ue)&&Vt.indexOf(Ue)<0&&(Mt[Ue]=Qe[Ue]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Ue=Object.getOwnPropertySymbols(Qe);st<Ue.length;st++)Vt.indexOf(Ue[st])<0&&Object.prototype.propertyIsEnumerable.call(Qe,Ue[st])&&(Mt[Ue[st]]=Qe[Ue[st]]);return Mt},ve=be.forwardRef((Qe,Vt)=>{const{prefixCls:Mt,className:Ue,rootClassName:st,style:Ht,tooltips:yn,character:Ut=be.createElement(ye,null)}=Qe,Sn=It(Qe,["prefixCls","className","rootClassName","style","tooltips","character"]),jt=(le,Fe)=>{let{index:at}=Fe;return yn?be.createElement(mt.Z,{title:yn[at]},le):le},{getPrefixCls:Jt,direction:Ot,rate:xe}=be.useContext(Je.E_),ce=Jt("rate",Mt),[ue,de]=wt(ce),fe=Object.assign(Object.assign({},xe==null?void 0:xe.style),Ht);return ue(be.createElement(ut,Object.assign({ref:Vt,character:Ut,characterRender:jt},Sn,{className:Re()(Ue,st,de,xe==null?void 0:xe.className),style:fe,prefixCls:ce,direction:Ot})))})},57809:function(Ln,pn,ie){"use strict";var ne=ie(92310),be=ie.n(ne),Ce=ie(77861),yt=ie(2738),Se=ie(59301),Ae=ie(53487),pe=ie(62892),ye=ie(19080),Ee=ie(36355),Re=ie(1684),ht=ie(93891),ke=ie(19716),Le=ie(32441),Ge=ie(33234),nt=ie(14154),ct=ie(58582),Et=ie(84443),Ct=ie(66339),Wt=function(it,ot){var ut={};for(var Je in it)Object.prototype.hasOwnProperty.call(it,Je)&&ot.indexOf(Je)<0&&(ut[Je]=it[Je]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,Je=Object.getOwnPropertySymbols(it);mt<Je.length;mt++)ot.indexOf(Je[mt])<0&&Object.prototype.propertyIsEnumerable.call(it,Je[mt])&&(ut[Je[mt]]=it[Je[mt]]);return ut};const ft="SECRET_COMBOBOX_MODE_DO_NOT_USE",pt=(it,ot)=>{var ut,{prefixCls:Je,bordered:mt=!0,className:Te,rootClassName:xt,getPopupContainer:Ne,popupClassName:Rt,dropdownClassName:Dt,listHeight:Nt=256,placement:wt,listItemHeight:It=24,size:We,disabled:ve,notFoundContent:Qe,status:Vt,builtinPlacements:Mt,dropdownMatchSelectWidth:Ue,popupMatchSelectWidth:st,direction:Ht,style:yn,allowClear:Ut}=it,Sn=Wt(it,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:jt,getPrefixCls:Jt,renderEmpty:Ot,direction:xe,virtual:ce,popupMatchSelectWidth:ue,popupOverflow:de,select:fe}=Se.useContext(Ee.E_),le=Jt("select",Je),Fe=Jt(),at=Ht!=null?Ht:xe,{compactSize:Ze,compactItemClassnames:Me}=(0,Ge.ri)(le,at),[Lt,bt]=(0,nt.Z)(le),et=Se.useMemo(()=>{const{mode:Rn}=Sn;if(Rn!=="combobox")return Rn===ft?"combobox":Rn},[Sn.mode]),Zt=et==="multiple"||et==="tags",Cn=(0,Et.Z)(Sn.suffixIcon,Sn.showArrow),kt=(ut=st!=null?st:Ue)!==null&&ut!==void 0?ut:ue,{status:Qt,hasFeedback:cn,isFormItemInput:vt,feedbackIcon:Oe}=Se.useContext(Le.aM),tt=(0,ye.F)(Qt,Vt);let ln;Qe!==void 0?ln=Qe:et==="combobox"?ln=null:ln=(Ot==null?void 0:Ot("Select"))||Se.createElement(ht.Z,{componentName:"Select"});const{suffixIcon:dn,itemIcon:An,removeIcon:Xn,clearIcon:Gt}=(0,Ct.Z)(Object.assign(Object.assign({},Sn),{multiple:Zt,hasFeedback:cn,feedbackIcon:Oe,showSuffixIcon:Cn,prefixCls:le,showArrow:Sn.showArrow,componentName:"Select"})),nr=Ut===!0?{clearIcon:Gt}:Ut,wr=(0,yt.Z)(Sn,["suffixIcon","itemIcon"]),kr=be()(Rt||Dt,{[`${le}-dropdown-${at}`]:at==="rtl"},xt,bt),rr=(0,ke.Z)(Rn=>{var tn;return(tn=We!=null?We:Ze)!==null&&tn!==void 0?tn:Rn}),Ar=Se.useContext(Re.Z),li=ve!=null?ve:Ar,xr=be()({[`${le}-lg`]:rr==="large",[`${le}-sm`]:rr==="small",[`${le}-rtl`]:at==="rtl",[`${le}-borderless`]:!mt,[`${le}-in-form-item`]:vt},(0,ye.Z)(le,tt,cn),Me,fe==null?void 0:fe.className,Te,xt,bt),Br=Se.useMemo(()=>wt!==void 0?wt:at==="rtl"?"bottomRight":"bottomLeft",[wt,at]),ti=(0,ct.Z)(Mt,de);return Lt(Se.createElement(Ce.ZP,Object.assign({ref:ot,virtual:ce,showSearch:fe==null?void 0:fe.showSearch},wr,{style:Object.assign(Object.assign({},fe==null?void 0:fe.style),yn),dropdownMatchSelectWidth:kt,builtinPlacements:ti,transitionName:(0,pe.m)(Fe,"slide-up",Sn.transitionName),listHeight:Nt,listItemHeight:It,mode:et,prefixCls:le,placement:Br,direction:at,suffixIcon:dn,menuItemSelectedIcon:An,removeIcon:Xn,allowClear:nr,notFoundContent:ln,className:xr,getPopupContainer:Ne||jt,dropdownClassName:kr,disabled:li})))},ze=Se.forwardRef(pt),he=(0,Ae.Z)(ze);ze.SECRET_COMBOBOX_MODE_DO_NOT_USE=ft,ze.Option=Ce.Wx,ze.OptGroup=Ce.Xo,ze._InternalPanelDoNotUseOrYouWillBeFired=he,pn.default=ze},14154:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ze}});var ne=ie(17313),be=ie(74207),Ce=ie(37613),yt=ie(83116),Se=ie(13826),Ae=ie(92899);const pe=he=>{const{optionHeight:it,optionFontSize:ot,optionLineHeight:ut,optionPadding:Je}=he;return{position:"relative",display:"block",minHeight:it,padding:Je,color:he.colorText,fontWeight:"normal",fontSize:ot,lineHeight:ut,boxSizing:"border-box"}};var Ee=he=>{const{antCls:it,componentCls:ot}=he,ut=`${ot}-item`,Je=`&${it}-slide-up-enter${it}-slide-up-enter-active`,mt=`&${it}-slide-up-appear${it}-slide-up-appear-active`,Te=`&${it}-slide-up-leave${it}-slide-up-leave-active`,xt=`${ot}-dropdown-placement-`;return[{[`${ot}-dropdown`]:Object.assign(Object.assign({},(0,ne.Wf)(he)),{position:"absolute",top:-9999,zIndex:he.zIndexPopup,boxSizing:"border-box",padding:he.paddingXXS,overflow:"hidden",fontSize:he.fontSize,fontVariant:"initial",backgroundColor:he.colorBgElevated,borderRadius:he.borderRadiusLG,outline:"none",boxShadow:he.boxShadowSecondary,[`
|
|
|
${Je}${xt}bottomLeft,
|
|
|
${mt}${xt}bottomLeft
|
|
|
`]:{animationName:Se.fJ},[`
|
|
|
${Je}${xt}topLeft,
|
|
|
${mt}${xt}topLeft,
|
|
|
${Je}${xt}topRight,
|
|
|
${mt}${xt}topRight
|
|
|
`]:{animationName:Se.Qt},[`${Te}${xt}bottomLeft`]:{animationName:Se.Uw},[`
|
|
|
${Te}${xt}topLeft,
|
|
|
${Te}${xt}topRight
|
|
|
`]:{animationName:Se.ly},"&-hidden":{display:"none"},[`${ut}`]:Object.assign(Object.assign({},pe(he)),{cursor:"pointer",transition:`background ${he.motionDurationSlow} ease`,borderRadius:he.borderRadiusSM,"&-group":{color:he.colorTextDescription,fontSize:he.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ne.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ut}-option-disabled)`]:{backgroundColor:he.optionActiveBg},[`&-selected:not(${ut}-option-disabled)`]:{color:he.optionSelectedColor,fontWeight:he.optionSelectedFontWeight,backgroundColor:he.optionSelectedBg,[`${ut}-option-state`]:{color:he.colorPrimary}},"&-disabled":{[`&${ut}-option-selected`]:{backgroundColor:he.colorBgContainerDisabled},color:he.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:he.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,Se.oN)(he,"slide-up"),(0,Se.oN)(he,"slide-down"),(0,Ae.Fm)(he,"move-up"),(0,Ae.Fm)(he,"move-down")]};const Re=2,ht=he=>{let{controlHeightSM:it,controlHeight:ot,lineWidth:ut}=he;const Je=(ot-it)/2-ut,mt=Math.ceil(Je/2);return[Je,mt]};function ke(he,it){const{componentCls:ot,iconCls:ut}=he,Je=`${ot}-selection-overflow`,mt=he.multipleSelectItemHeight,[Te]=ht(he),xt=it?`${ot}-${it}`:"";return{[`${ot}-multiple${xt}`]:{fontSize:he.fontSize,[Je]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${ot}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Te-Re}px ${Re*2}px`,borderRadius:he.borderRadius,[`${ot}-show-search&`]:{cursor:"text"},[`${ot}-disabled&`]:{background:he.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Re}px 0`,lineHeight:`${mt}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
|
&${ot}-show-arrow ${ot}-selector,
|
|
|
&${ot}-allow-clear ${ot}-selector
|
|
|
`]:{paddingInlineEnd:he.fontSizeIcon+he.controlPaddingHorizontal},[`${ot}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:mt,marginTop:Re,marginBottom:Re,lineHeight:`${mt-he.lineWidth*2}px`,background:he.multipleItemBg,border:`${he.lineWidth}px ${he.lineType} ${he.multipleItemBorderColor}`,borderRadius:he.borderRadiusSM,cursor:"default",transition:`font-size ${he.motionDurationSlow}, line-height ${he.motionDurationSlow}, height ${he.motionDurationSlow}`,userSelect:"none",marginInlineEnd:Re*2,paddingInlineStart:he.paddingXS,paddingInlineEnd:he.paddingXS/2,[`${ot}-disabled&`]:{color:he.multipleItemColorDisabled,borderColor:he.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:he.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ne.Ro)()),{display:"inline-flex",alignItems:"center",color:he.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ut}`]:{verticalAlign:"-0.2em"},"&:hover":{color:he.colorIconHover}})},[`${Je}-item + ${Je}-item`]:{[`${ot}-selection-search`]:{marginInlineStart:0}},[`${ot}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:he.inputPaddingHorizontalBase-Te,"\n &-input,\n &-mirror\n ":{height:mt,fontFamily:he.fontFamily,lineHeight:`${mt}px`,transition:`all ${he.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ot}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:he.inputPaddingHorizontalBase,insetInlineEnd:he.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${he.motionDurationSlow}`}}}}var Ge=he=>{const{componentCls:it}=he,ot=(0,Ce.TS)(he,{controlHeight:he.controlHeightSM,multipleSelectItemHeight:he.controlHeightXS,borderRadius:he.borderRadiusSM,borderRadiusSM:he.borderRadiusXS}),ut=(0,Ce.TS)(he,{fontSize:he.fontSizeLG,controlHeight:he.controlHeightLG,multipleSelectItemHeight:he.multipleItemHeightLG,borderRadius:he.borderRadiusLG,borderRadiusSM:he.borderRadius}),[,Je]=ht(he);return[ke(he),ke(ot,"sm"),{[`${it}-multiple${it}-sm`]:{[`${it}-selection-placeholder`]:{insetInline:he.controlPaddingHorizontalSM-he.lineWidth},[`${it}-selection-search`]:{marginInlineStart:Je}}},ke(ut,"lg")]};function nt(he,it){const{componentCls:ot,inputPaddingHorizontalBase:ut,borderRadius:Je}=he,mt=he.controlHeight-he.lineWidth*2,Te=Math.ceil(he.fontSize*1.25),xt=it?`${ot}-${it}`:"";return{[`${ot}-single${xt}`]:{fontSize:he.fontSize,[`${ot}-selector`]:Object.assign(Object.assign({},(0,ne.Wf)(he)),{display:"flex",borderRadius:Je,[`${ot}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ut,insetInlineEnd:ut,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
${ot}-selection-item,
|
|
|
${ot}-selection-placeholder
|
|
|
`]:{padding:0,lineHeight:`${mt}px`,transition:`all ${he.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${mt}px`}},[`${ot}-selection-item`]:{position:"relative",userSelect:"none"},[`${ot}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ot}-selection-item:after`,`${ot}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${ot}-show-arrow ${ot}-selection-item,
|
|
|
&${ot}-show-arrow ${ot}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:Te},[`&${ot}-open ${ot}-selection-item`]:{color:he.colorTextPlaceholder},[`&:not(${ot}-customize-input)`]:{[`${ot}-selector`]:{width:"100%",height:he.controlHeight,padding:`0 ${ut}px`,[`${ot}-selection-search-input`]:{height:mt},"&:after":{lineHeight:`${mt}px`}}},[`&${ot}-customize-input`]:{[`${ot}-selector`]:{"&:after":{display:"none"},[`${ot}-selection-search`]:{position:"static",width:"100%"},[`${ot}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ut}px`,"&:after":{display:"none"}}}}}}}function ct(he){const{componentCls:it}=he,ot=he.controlPaddingHorizontalSM-he.lineWidth;return[nt(he),nt((0,Ce.TS)(he,{controlHeight:he.controlHeightSM,borderRadius:he.borderRadiusSM}),"sm"),{[`${it}-single${it}-sm`]:{[`&:not(${it}-customize-input)`]:{[`${it}-selection-search`]:{insetInlineStart:ot,insetInlineEnd:ot},[`${it}-selector`]:{padding:`0 ${ot}px`},[`&${it}-show-arrow ${it}-selection-search`]:{insetInlineEnd:ot+he.fontSize*1.5},[`
|
|
|
&${it}-show-arrow ${it}-selection-item,
|
|
|
&${it}-show-arrow ${it}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:he.fontSize*1.5}}}},nt((0,Ce.TS)(he,{controlHeight:he.singleItemHeightLG,fontSize:he.fontSizeLG,borderRadius:he.borderRadiusLG}),"lg")]}const Et=he=>{const{componentCls:it,selectorBg:ot}=he;return{position:"relative",backgroundColor:ot,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,transition:`all ${he.motionDurationMid} ${he.motionEaseInOut}`,input:{cursor:"pointer"},[`${it}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${it}-disabled&`]:{color:he.colorTextDisabled,background:he.colorBgContainerDisabled,cursor:"not-allowed",[`${it}-multiple&`]:{background:he.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Ct=function(he,it){let ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ut,borderHoverColor:Je,outlineColor:mt,antCls:Te}=it,xt=ot?{[`${ut}-selector`]:{borderColor:Je}}:{};return{[he]:{[`&:not(${ut}-disabled):not(${ut}-customize-input):not(${Te}-pagination-size-changer)`]:Object.assign(Object.assign({},xt),{[`${ut}-focused& ${ut}-selector`]:{borderColor:Je,boxShadow:`0 0 0 ${it.controlOutlineWidth}px ${mt}`,outline:0},[`&:hover ${ut}-selector`]:{borderColor:Je}})}}},Wt=he=>{const{componentCls:it}=he;return{[`${it}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ft=he=>{const{componentCls:it,inputPaddingHorizontalBase:ot,iconCls:ut}=he;return{[it]:Object.assign(Object.assign({},(0,ne.Wf)(he)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${it}-customize-input) ${it}-selector`]:Object.assign(Object.assign({},Et(he)),Wt(he)),[`${it}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ne.vS),[`${it}-selection-placeholder`]:Object.assign(Object.assign({},ne.vS),{flex:1,color:he.colorTextPlaceholder,pointerEvents:"none"}),[`${it}-arrow`]:Object.assign(Object.assign({},(0,ne.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ot,height:he.fontSizeIcon,marginTop:-he.fontSizeIcon/2,color:he.colorTextQuaternary,fontSize:he.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ut]:{verticalAlign:"top",transition:`transform ${he.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${it}-suffix)`]:{pointerEvents:"auto"}},[`${it}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${it}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ot,zIndex:1,display:"inline-block",width:he.fontSizeIcon,height:he.fontSizeIcon,marginTop:-he.fontSizeIcon/2,color:he.colorTextQuaternary,fontSize:he.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:he.clearBg,cursor:"pointer",opacity:0,transition:`color ${he.motionDurationMid} ease, opacity ${he.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:he.colorTextTertiary}},"&:hover":{[`${it}-clear`]:{opacity:1}}}),[`${it}-has-feedback`]:{[`${it}-clear`]:{insetInlineEnd:ot+he.fontSize+he.paddingXS}}}},pt=he=>{const{componentCls:it}=he;return[{[it]:{[`&-borderless ${it}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${it}-in-form-item`]:{width:"100%"}}},ft(he),ct(he),Ge(he),Ee(he),{[`${it}-rtl`]:{direction:"rtl"}},Ct(it,(0,Ce.TS)(he,{borderHoverColor:he.colorPrimaryHover,outlineColor:he.controlOutline})),Ct(`${it}-status-error`,(0,Ce.TS)(he,{borderHoverColor:he.colorErrorHover,outlineColor:he.colorErrorOutline}),!0),Ct(`${it}-status-warning`,(0,Ce.TS)(he,{borderHoverColor:he.colorWarningHover,outlineColor:he.colorWarningOutline}),!0),(0,be.c)(he,{borderElCls:`${it}-selector`,focusElCls:`${it}-focused`})]};var ze=(0,yt.Z)("Select",(he,it)=>{let{rootPrefixCls:ot}=it;const ut=(0,Ce.TS)(he,{rootPrefixCls:ot,inputPaddingHorizontalBase:he.paddingSM-1,multipleSelectItemHeight:he.multipleItemHeight});return[pt(ut)]},he=>{const{fontSize:it,lineHeight:ot,controlHeight:ut,controlPaddingHorizontal:Je,zIndexPopupBase:mt,colorText:Te,fontWeightStrong:xt,controlItemBgActive:Ne,controlItemBgHover:Rt,colorBgContainer:Dt,colorFillSecondary:Nt,controlHeightLG:wt,controlHeightSM:It,colorBgContainerDisabled:We,colorTextDisabled:ve}=he;return{zIndexPopup:mt+50,optionSelectedColor:Te,optionSelectedFontWeight:xt,optionSelectedBg:Ne,optionActiveBg:Rt,optionPadding:`${(ut-it*ot)/2}px ${Je}px`,optionFontSize:it,optionLineHeight:ot,optionHeight:ut,selectorBg:Dt,clearBg:Dt,singleItemHeightLG:wt,multipleItemBg:Nt,multipleItemBorderColor:"transparent",multipleItemHeight:It,multipleItemHeightLG:ut,multipleSelectorBgDisabled:We,multipleItemColorDisabled:ve,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return be}});const ne=Ce=>{const Se={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Ce==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},Se),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Se),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Se),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Se),{points:["br","tr"],offset:[0,-4]})}};function be(Ce,yt){return Ce||ne(yt)}},84443:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ne}});function ne(be,Ce){return Ce!==void 0?Ce:be!==null}},66339:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});var ne=ie(40001),be=ie(19248),Ce=ie(99267),yt=ie(84105),Se=ie(58617),Ae=ie(47472),pe=ie(59301);function ye(Ee){let{suffixIcon:Re,clearIcon:ht,menuItemSelectedIcon:ke,removeIcon:Le,loading:Ge,multiple:nt,hasFeedback:ct,prefixCls:Et,showSuffixIcon:Ct,feedbackIcon:Wt,showArrow:ft,componentName:pt}=Ee;const ze=ht!=null?ht:pe.createElement(be.Z,null),he=Je=>Re===null&&!ct&&!ft?null:pe.createElement(pe.Fragment,null,Ct!==!1&&Je,ct&&Wt);let it=null;if(Re!==void 0)it=he(Re);else if(Ge)it=he(pe.createElement(Se.Z,{spin:!0}));else{const Je=`${Et}-suffix`;it=mt=>{let{open:Te,showSearch:xt}=mt;return he(Te&&xt?pe.createElement(Ae.Z,{className:Je}):pe.createElement(yt.Z,{className:Je}))}}let ot=null;ke!==void 0?ot=ke:nt?ot=pe.createElement(ne.Z,null):ot=null;let ut=null;return Le!==void 0?ut=Le:ut=pe.createElement(Ce.Z,null),{clearIcon:ze,suffixIcon:it,itemIcon:ot,removeIcon:ut}}},61621:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return de}});var ne=ie(92310),be=ie.n(ne),Ce=ie(59301),yt=ie(36355),Se=ie(2738),pe=fe=>{const{prefixCls:le,className:Fe,style:at,size:Ze,shape:Me}=fe,Lt=be()({[`${le}-lg`]:Ze==="large",[`${le}-sm`]:Ze==="small"}),bt=be()({[`${le}-circle`]:Me==="circle",[`${le}-square`]:Me==="square",[`${le}-round`]:Me==="round"}),et=Ce.useMemo(()=>typeof Ze=="number"?{width:Ze,height:Ze,lineHeight:`${Ze}px`}:{},[Ze]);return Ce.createElement("span",{className:be()(le,Lt,bt,Fe),style:Object.assign(Object.assign({},et),at)})},ye=ie(36237),Ee=ie(83116),Re=ie(37613);const ht=new ye.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ke=fe=>({height:fe,lineHeight:`${fe}px`}),Le=fe=>Object.assign({width:fe},ke(fe)),Ge=fe=>({background:fe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ht,animationDuration:fe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),nt=fe=>Object.assign({width:fe*5,minWidth:fe*5},ke(fe)),ct=fe=>{const{skeletonAvatarCls:le,gradientFromColor:Fe,controlHeight:at,controlHeightLG:Ze,controlHeightSM:Me}=fe;return{[`${le}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Fe},Le(at)),[`${le}${le}-circle`]:{borderRadius:"50%"},[`${le}${le}-lg`]:Object.assign({},Le(Ze)),[`${le}${le}-sm`]:Object.assign({},Le(Me))}},Et=fe=>{const{controlHeight:le,borderRadiusSM:Fe,skeletonInputCls:at,controlHeightLG:Ze,controlHeightSM:Me,gradientFromColor:Lt}=fe;return{[`${at}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Lt,borderRadius:Fe},nt(le)),[`${at}-lg`]:Object.assign({},nt(Ze)),[`${at}-sm`]:Object.assign({},nt(Me))}},Ct=fe=>Object.assign({width:fe},ke(fe)),Wt=fe=>{const{skeletonImageCls:le,imageSizeBase:Fe,gradientFromColor:at,borderRadiusSM:Ze}=fe;return{[`${le}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:at,borderRadius:Ze},Ct(Fe*2)),{[`${le}-path`]:{fill:"#bfbfbf"},[`${le}-svg`]:Object.assign(Object.assign({},Ct(Fe)),{maxWidth:Fe*4,maxHeight:Fe*4}),[`${le}-svg${le}-svg-circle`]:{borderRadius:"50%"}}),[`${le}${le}-circle`]:{borderRadius:"50%"}}},ft=(fe,le,Fe)=>{const{skeletonButtonCls:at}=fe;return{[`${Fe}${at}-circle`]:{width:le,minWidth:le,borderRadius:"50%"},[`${Fe}${at}-round`]:{borderRadius:le}}},pt=fe=>Object.assign({width:fe*2,minWidth:fe*2},ke(fe)),ze=fe=>{const{borderRadiusSM:le,skeletonButtonCls:Fe,controlHeight:at,controlHeightLG:Ze,controlHeightSM:Me,gradientFromColor:Lt}=fe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Lt,borderRadius:le,width:at*2,minWidth:at*2},pt(at))},ft(fe,at,Fe)),{[`${Fe}-lg`]:Object.assign({},pt(Ze))}),ft(fe,Ze,`${Fe}-lg`)),{[`${Fe}-sm`]:Object.assign({},pt(Me))}),ft(fe,Me,`${Fe}-sm`))},he=fe=>{const{componentCls:le,skeletonAvatarCls:Fe,skeletonTitleCls:at,skeletonParagraphCls:Ze,skeletonButtonCls:Me,skeletonInputCls:Lt,skeletonImageCls:bt,controlHeight:et,controlHeightLG:Zt,controlHeightSM:Cn,gradientFromColor:kt,padding:Qt,marginSM:cn,borderRadius:vt,titleHeight:Oe,blockRadius:tt,paragraphLiHeight:ln,controlHeightXS:dn,paragraphMarginTop:An}=fe;return{[`${le}`]:{display:"table",width:"100%",[`${le}-header`]:{display:"table-cell",paddingInlineEnd:Qt,verticalAlign:"top",[`${Fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:kt},Le(et)),[`${Fe}-circle`]:{borderRadius:"50%"},[`${Fe}-lg`]:Object.assign({},Le(Zt)),[`${Fe}-sm`]:Object.assign({},Le(Cn))},[`${le}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${at}`]:{width:"100%",height:Oe,background:kt,borderRadius:tt,[`+ ${Ze}`]:{marginBlockStart:Cn}},[`${Ze}`]:{padding:0,"> li":{width:"100%",height:ln,listStyle:"none",background:kt,borderRadius:tt,"+ li":{marginBlockStart:dn}}},[`${Ze}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${le}-content`]:{[`${at}, ${Ze} > li`]:{borderRadius:vt}}},[`${le}-with-avatar ${le}-content`]:{[`${at}`]:{marginBlockStart:cn,[`+ ${Ze}`]:{marginBlockStart:An}}},[`${le}${le}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ze(fe)),ct(fe)),Et(fe)),Wt(fe)),[`${le}${le}-block`]:{width:"100%",[`${Me}`]:{width:"100%"},[`${Lt}`]:{width:"100%"}},[`${le}${le}-active`]:{[`
|
|
|
${at},
|
|
|
${Ze} > li,
|
|
|
${Fe},
|
|
|
${Me},
|
|
|
${Lt},
|
|
|
${bt}
|
|
|
`]:Object.assign({},Ge(fe))}}};var it=(0,Ee.Z)("Skeleton",fe=>{const{componentCls:le}=fe,Fe=(0,Re.TS)(fe,{skeletonAvatarCls:`${le}-avatar`,skeletonTitleCls:`${le}-title`,skeletonParagraphCls:`${le}-paragraph`,skeletonButtonCls:`${le}-button`,skeletonInputCls:`${le}-input`,skeletonImageCls:`${le}-image`,imageSizeBase:fe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${fe.gradientFromColor} 25%, ${fe.gradientToColor} 37%, ${fe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[he(Fe)]},fe=>{const{colorFillContent:le,colorFill:Fe}=fe,at=le,Ze=Fe;return{color:at,colorGradientEnd:Ze,gradientFromColor:at,gradientToColor:Ze,titleHeight:fe.controlHeight/2,blockRadius:fe.borderRadiusSM,paragraphMarginTop:fe.marginLG+fe.marginXXS,paragraphLiHeight:fe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ut=fe=>{const{prefixCls:le,className:Fe,rootClassName:at,active:Ze,shape:Me="circle",size:Lt="default"}=fe,{getPrefixCls:bt}=Ce.useContext(yt.E_),et=bt("skeleton",le),[Zt,Cn]=it(et),kt=(0,Se.Z)(fe,["prefixCls","className"]),Qt=be()(et,`${et}-element`,{[`${et}-active`]:Ze},Fe,at,Cn);return Zt(Ce.createElement("div",{className:Qt},Ce.createElement(pe,Object.assign({prefixCls:`${et}-avatar`,shape:Me,size:Lt},kt))))},mt=fe=>{const{prefixCls:le,className:Fe,rootClassName:at,active:Ze,block:Me=!1,size:Lt="default"}=fe,{getPrefixCls:bt}=Ce.useContext(yt.E_),et=bt("skeleton",le),[Zt,Cn]=it(et),kt=(0,Se.Z)(fe,["prefixCls"]),Qt=be()(et,`${et}-element`,{[`${et}-active`]:Ze,[`${et}-block`]:Me},Fe,at,Cn);return Zt(Ce.createElement("div",{className:Qt},Ce.createElement(pe,Object.assign({prefixCls:`${et}-button`,size:Lt},kt))))};const Te="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ne=fe=>{const{prefixCls:le,className:Fe,rootClassName:at,style:Ze,active:Me}=fe,{getPrefixCls:Lt}=Ce.useContext(yt.E_),bt=Lt("skeleton",le),[et,Zt]=it(bt),Cn=be()(bt,`${bt}-element`,{[`${bt}-active`]:Me},Fe,at,Zt);return et(Ce.createElement("div",{className:Cn},Ce.createElement("div",{className:be()(`${bt}-image`,Fe),style:Ze},Ce.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${bt}-image-svg`},Ce.createElement("path",{d:Te,className:`${bt}-image-path`})))))},Dt=fe=>{const{prefixCls:le,className:Fe,rootClassName:at,active:Ze,block:Me,size:Lt="default"}=fe,{getPrefixCls:bt}=Ce.useContext(yt.E_),et=bt("skeleton",le),[Zt,Cn]=it(et),kt=(0,Se.Z)(fe,["prefixCls"]),Qt=be()(et,`${et}-element`,{[`${et}-active`]:Ze,[`${et}-block`]:Me},Fe,at,Cn);return Zt(Ce.createElement("div",{className:Qt},Ce.createElement(pe,Object.assign({prefixCls:`${et}-input`,size:Lt},kt))))},Nt=ie(54476),wt={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"},It=wt,We=ie(7657),ve=function(le,Fe){return Ce.createElement(We.Z,(0,Nt.Z)({},le,{ref:Fe,icon:It}))},Qe=Ce.forwardRef(ve),Vt=Qe,Ue=fe=>{const{prefixCls:le,className:Fe,rootClassName:at,style:Ze,active:Me,children:Lt}=fe,{getPrefixCls:bt}=Ce.useContext(yt.E_),et=bt("skeleton",le),[Zt,Cn]=it(et),kt=be()(et,`${et}-element`,{[`${et}-active`]:Me},Cn,Fe,at),Qt=Lt!=null?Lt:Ce.createElement(Vt,null);return Zt(Ce.createElement("div",{className:kt},Ce.createElement("div",{className:be()(`${et}-image`,Fe),style:Ze},Qt)))},st=ie(94480),yn=fe=>{const le=bt=>{const{width:et,rows:Zt=2}=fe;if(Array.isArray(et))return et[bt];if(Zt-1===bt)return et},{prefixCls:Fe,className:at,style:Ze,rows:Me}=fe,Lt=(0,st.Z)(Array(Me)).map((bt,et)=>Ce.createElement("li",{key:et,style:{width:le(et)}}));return Ce.createElement("ul",{className:be()(Fe,at),style:Ze},Lt)},Sn=fe=>{let{prefixCls:le,className:Fe,width:at,style:Ze}=fe;return Ce.createElement("h3",{className:be()(le,Fe),style:Object.assign({width:at},Ze)})};function jt(fe){return fe&&typeof fe=="object"?fe:{}}function Jt(fe,le){return fe&&!le?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ot(fe,le){return!fe&&le?{width:"38%"}:fe&&le?{width:"50%"}:{}}function xe(fe,le){const Fe={};return(!fe||!le)&&(Fe.width="61%"),!fe&&le?Fe.rows=3:Fe.rows=2,Fe}const ce=fe=>{const{prefixCls:le,loading:Fe,className:at,rootClassName:Ze,style:Me,children:Lt,avatar:bt=!1,title:et=!0,paragraph:Zt=!0,active:Cn,round:kt}=fe,{getPrefixCls:Qt,direction:cn,skeleton:vt}=Ce.useContext(yt.E_),Oe=Qt("skeleton",le),[tt,ln]=it(Oe);if(Fe||!("loading"in fe)){const dn=!!bt,An=!!et,Xn=!!Zt;let Gt;if(dn){const kr=Object.assign(Object.assign({prefixCls:`${Oe}-avatar`},Jt(An,Xn)),jt(bt));Gt=Ce.createElement("div",{className:`${Oe}-header`},Ce.createElement(pe,Object.assign({},kr)))}let nr;if(An||Xn){let kr;if(An){const Ar=Object.assign(Object.assign({prefixCls:`${Oe}-title`},Ot(dn,Xn)),jt(et));kr=Ce.createElement(Sn,Object.assign({},Ar))}let rr;if(Xn){const Ar=Object.assign(Object.assign({prefixCls:`${Oe}-paragraph`},xe(dn,An)),jt(Zt));rr=Ce.createElement(yn,Object.assign({},Ar))}nr=Ce.createElement("div",{className:`${Oe}-content`},kr,rr)}const wr=be()(Oe,{[`${Oe}-with-avatar`]:dn,[`${Oe}-active`]:Cn,[`${Oe}-rtl`]:cn==="rtl",[`${Oe}-round`]:kt},vt==null?void 0:vt.className,at,Ze,ln);return tt(Ce.createElement("div",{className:wr,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),Me)},Gt,nr))}return typeof Lt!="undefined"?Lt:null};ce.Button=mt,ce.Avatar=ut,ce.Input=Dt,ce.Image=Ne,ce.Node=Ue;var ue=ce,de=ue},31797:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return it}});var ne=ie(59301),be=ie(56762),Ce=ie(92343),yt=ie(92310),Se=ie.n(yt),Ae=ie(36355),pe=ie(61621),Ee=ot=>{const{value:ut,formatter:Je,precision:mt,decimalSeparator:Te,groupSeparator:xt="",prefixCls:Ne}=ot;let Rt;if(typeof Je=="function")Rt=Je(ut);else{const Dt=String(ut),Nt=Dt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Nt||Dt==="-")Rt=Dt;else{const wt=Nt[1];let It=Nt[2]||"0",We=Nt[4]||"";It=It.replace(/\B(?=(\d{3})+(?!\d))/g,xt),typeof mt=="number"&&(We=We.padEnd(mt,"0").slice(0,mt>0?mt:0)),We&&(We=`${Te}${We}`),Rt=[ne.createElement("span",{key:"int",className:`${Ne}-content-value-int`},wt,It),We&&ne.createElement("span",{key:"decimal",className:`${Ne}-content-value-decimal`},We)]}}return ne.createElement("span",{className:`${Ne}-content-value`},Rt)},Re=ie(17313),ht=ie(83116),ke=ie(37613);const Le=ot=>{const{componentCls:ut,marginXXS:Je,padding:mt,colorTextDescription:Te,titleFontSize:xt,colorTextHeading:Ne,contentFontSize:Rt,fontFamily:Dt}=ot;return{[`${ut}`]:Object.assign(Object.assign({},(0,Re.Wf)(ot)),{[`${ut}-title`]:{marginBottom:Je,color:Te,fontSize:xt},[`${ut}-skeleton`]:{paddingTop:mt},[`${ut}-content`]:{color:Ne,fontSize:Rt,fontFamily:Dt,[`${ut}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ut}-content-prefix, ${ut}-content-suffix`]:{display:"inline-block"},[`${ut}-content-prefix`]:{marginInlineEnd:Je},[`${ut}-content-suffix`]:{marginInlineStart:Je}}})}};var Ge=(0,ht.Z)("Statistic",ot=>{const ut=(0,ke.TS)(ot,{});return[Le(ut)]},ot=>{const{fontSizeHeading3:ut,fontSize:Je}=ot;return{titleFontSize:Je,contentFontSize:ut}}),ct=ot=>{const{prefixCls:ut,className:Je,rootClassName:mt,style:Te,valueStyle:xt,value:Ne=0,title:Rt,valueRender:Dt,prefix:Nt,suffix:wt,loading:It=!1,onMouseEnter:We,onMouseLeave:ve,decimalSeparator:Qe=".",groupSeparator:Vt=","}=ot,{getPrefixCls:Mt,direction:Ue,statistic:st}=ne.useContext(Ae.E_),Ht=Mt("statistic",ut),[yn,Ut]=Ge(Ht),Sn=ne.createElement(Ee,Object.assign({decimalSeparator:Qe,groupSeparator:Vt,prefixCls:Ht},ot,{value:Ne})),jt=Se()(Ht,{[`${Ht}-rtl`]:Ue==="rtl"},st==null?void 0:st.className,Je,mt,Ut);return yn(ne.createElement("div",{className:jt,style:Object.assign(Object.assign({},st==null?void 0:st.style),Te),onMouseEnter:We,onMouseLeave:ve},Rt&&ne.createElement("div",{className:`${Ht}-title`},Rt),ne.createElement(pe.Z,{paragraph:!1,loading:It,className:`${Ht}-skeleton`},ne.createElement("div",{style:xt,className:`${Ht}-content`},Nt&&ne.createElement("span",{className:`${Ht}-content-prefix`},Nt),Dt?Dt(Sn):Sn,wt&&ne.createElement("span",{className:`${Ht}-content-suffix`},wt)))))};const Et=[["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 Ct(ot,ut){let Je=ot;const mt=/\[[^\]]*]/g,Te=(ut.match(mt)||[]).map(Dt=>Dt.slice(1,-1)),xt=ut.replace(mt,"[]"),Ne=Et.reduce((Dt,Nt)=>{let[wt,It]=Nt;if(Dt.includes(wt)){const We=Math.floor(Je/It);return Je-=We*It,Dt.replace(new RegExp(`${wt}+`,"g"),ve=>{const Qe=ve.length;return We.toString().padStart(Qe,"0")})}return Dt},xt);let Rt=0;return Ne.replace(mt,()=>{const Dt=Te[Rt];return Rt+=1,Dt})}function Wt(ot,ut){const{format:Je=""}=ut,mt=new Date(ot).getTime(),Te=Date.now(),xt=Math.max(mt-Te,0);return Ct(xt,Je)}const ft=1e3/30;function pt(ot){return new Date(ot).getTime()}const ze=ot=>{const{value:ut,format:Je="HH:mm:ss",onChange:mt,onFinish:Te}=ot,xt=(0,be.Z)(),Ne=ne.useRef(null),Rt=()=>{Te==null||Te(),Ne.current&&(clearInterval(Ne.current),Ne.current=null)},Dt=()=>{const It=pt(ut);It>=Date.now()&&(Ne.current=setInterval(()=>{xt(),mt==null||mt(It-Date.now()),It<Date.now()&&Rt()},ft))};ne.useEffect(()=>(Dt(),()=>{Ne.current&&(clearInterval(Ne.current),Ne.current=null)}),[ut]);const Nt=(It,We)=>Wt(It,Object.assign(Object.assign({},We),{format:Je})),wt=It=>(0,Ce.Tm)(It,{title:void 0});return ne.createElement(ct,Object.assign({},ot,{valueRender:wt,formatter:Nt}))};var he=ne.memo(ze);ct.Countdown=he;var it=ct},8378:function(Ln,pn){"use strict";const ie=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`}}});pn.Z=ie},92899:function(Ln,pn,ie){"use strict";ie.d(pn,{Fm:function(){return ke}});var ne=ie(36237),be=ie(95406);const Ce=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}}),yt=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}}),Se=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}}),Ae=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}}),pe=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}}),ye=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}}),Ee=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}}),Re=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}}),ht={"move-up":{inKeyframes:Ee,outKeyframes:Re},"move-down":{inKeyframes:Ce,outKeyframes:yt},"move-left":{inKeyframes:Se,outKeyframes:Ae},"move-right":{inKeyframes:pe,outKeyframes:ye}},ke=(Le,Ge)=>{const{antCls:nt}=Le,ct=`${nt}-${Ge}`,{inKeyframes:Et,outKeyframes:Ct}=ht[Ge];return[(0,be.R)(ct,Et,Ct,Le.motionDurationMid),{[`
|
|
|
${ct}-enter,
|
|
|
${ct}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:Le.motionEaseOutCirc},[`${ct}-leave`]:{animationTimingFunction:Le.motionEaseInOutCirc}}]}},13826:function(Ln,pn,ie){"use strict";ie.d(pn,{Qt:function(){return Se},Uw:function(){return yt},fJ:function(){return Ce},ly:function(){return Ae},oN:function(){return ke}});var ne=ie(36237),be=ie(95406);const Ce=new ne.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),yt=new ne.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Se=new ne.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ae=new ne.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),pe=new ne.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ye=new ne.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ee=new ne.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Re=new ne.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),ht={"slide-up":{inKeyframes:Ce,outKeyframes:yt},"slide-down":{inKeyframes:Se,outKeyframes:Ae},"slide-left":{inKeyframes:pe,outKeyframes:ye},"slide-right":{inKeyframes:Ee,outKeyframes:Re}},ke=(Le,Ge)=>{const{antCls:nt}=Le,ct=`${nt}-${Ge}`,{inKeyframes:Et,outKeyframes:Ct}=ht[Ge];return[(0,be.R)(ct,Et,Ct,Le.motionDurationMid),{[`
|
|
|
${ct}-enter,
|
|
|
${ct}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:Le.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${ct}-leave`]:{animationTimingFunction:Le.motionEaseInQuint}}]}},15969:function(Ln,pn,ie){"use strict";ie.d(pn,{N:function(){return ne}});const ne=be=>({color:be.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${be.motionDurationSlow}`,"&:focus, &:hover":{color:be.colorLinkHover},"&:active":{color:be.colorLinkActive}})},78673:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return xt}});var ne=ie(58617),be=ie(92310),Ce=ie.n(be),yt=ie(54476),Se=ie(20068),Ae=ie(42978),pe=ie(75931),ye=ie(59301),Ee=ie(18929),Re=ie(10228),ht=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ke=ye.forwardRef(function(Ne,Rt){var Dt,Nt=Ne.prefixCls,wt=Nt===void 0?"rc-switch":Nt,It=Ne.className,We=Ne.checked,ve=Ne.defaultChecked,Qe=Ne.disabled,Vt=Ne.loadingIcon,Mt=Ne.checkedChildren,Ue=Ne.unCheckedChildren,st=Ne.onClick,Ht=Ne.onChange,yn=Ne.onKeyDown,Ut=(0,pe.Z)(Ne,ht),Sn=(0,Ee.Z)(!1,{value:We,defaultValue:ve}),jt=(0,Ae.Z)(Sn,2),Jt=jt[0],Ot=jt[1];function xe(fe,le){var Fe=Jt;return Qe||(Fe=fe,Ot(Fe),Ht==null||Ht(Fe,le)),Fe}function ce(fe){fe.which===Re.Z.LEFT?xe(!1,fe):fe.which===Re.Z.RIGHT&&xe(!0,fe),yn==null||yn(fe)}function ue(fe){var le=xe(!Jt,fe);st==null||st(le,fe)}var de=Ce()(wt,It,(Dt={},(0,Se.Z)(Dt,"".concat(wt,"-checked"),Jt),(0,Se.Z)(Dt,"".concat(wt,"-disabled"),Qe),Dt));return ye.createElement("button",(0,yt.Z)({},Ut,{type:"button",role:"switch","aria-checked":Jt,disabled:Qe,className:de,ref:Rt,onKeyDown:ce,onClick:ue}),Vt,ye.createElement("span",{className:"".concat(wt,"-inner")},ye.createElement("span",{className:"".concat(wt,"-inner-checked")},Mt),ye.createElement("span",{className:"".concat(wt,"-inner-unchecked")},Ue)))});ke.displayName="Switch";var Le=ke,Ge=ie(14088),nt=ie(36355),ct=ie(1684),Et=ie(19716),Ct=ie(64993),Wt=ie(17313),ft=ie(83116),pt=ie(37613);const ze=Ne=>{const{componentCls:Rt,trackHeightSM:Dt,trackPadding:Nt,trackMinWidthSM:wt,innerMinMarginSM:It,innerMaxMarginSM:We,handleSizeSM:ve}=Ne,Qe=`${Rt}-inner`;return{[Rt]:{[`&${Rt}-small`]:{minWidth:wt,height:Dt,lineHeight:`${Dt}px`,[`${Rt}-inner`]:{paddingInlineStart:We,paddingInlineEnd:It,[`${Qe}-checked`]:{marginInlineStart:`calc(-100% + ${ve+Nt*2}px - ${We*2}px)`,marginInlineEnd:`calc(100% - ${ve+Nt*2}px + ${We*2}px)`},[`${Qe}-unchecked`]:{marginTop:-Dt,marginInlineStart:0,marginInlineEnd:0}},[`${Rt}-handle`]:{width:ve,height:ve},[`${Rt}-loading-icon`]:{top:(ve-Ne.switchLoadingIconSize)/2,fontSize:Ne.switchLoadingIconSize},[`&${Rt}-checked`]:{[`${Rt}-inner`]:{paddingInlineStart:It,paddingInlineEnd:We,[`${Qe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Qe}-unchecked`]:{marginInlineStart:`calc(100% - ${ve+Nt*2}px + ${We*2}px)`,marginInlineEnd:`calc(-100% + ${ve+Nt*2}px - ${We*2}px)`}},[`${Rt}-handle`]:{insetInlineStart:`calc(100% - ${ve+Nt}px)`}},[`&:not(${Rt}-disabled):active`]:{[`&:not(${Rt}-checked) ${Qe}`]:{[`${Qe}-unchecked`]:{marginInlineStart:Ne.marginXXS/2,marginInlineEnd:-Ne.marginXXS/2}},[`&${Rt}-checked ${Qe}`]:{[`${Qe}-checked`]:{marginInlineStart:-Ne.marginXXS/2,marginInlineEnd:Ne.marginXXS/2}}}}}}},he=Ne=>{const{componentCls:Rt,handleSize:Dt}=Ne;return{[Rt]:{[`${Rt}-loading-icon${Ne.iconCls}`]:{position:"relative",top:(Dt-Ne.fontSize)/2,color:Ne.switchLoadingIconColor,verticalAlign:"top"},[`&${Rt}-checked ${Rt}-loading-icon`]:{color:Ne.switchColor}}}},it=Ne=>{const{componentCls:Rt,motion:Dt,trackPadding:Nt,handleBg:wt,handleShadow:It,handleSize:We}=Ne,ve=`${Rt}-handle`;return{[Rt]:{[ve]:{position:"absolute",top:Nt,insetInlineStart:Nt,width:We,height:We,transition:`all ${Ne.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:wt,borderRadius:We/2,boxShadow:It,transition:`all ${Ne.switchDuration} ease-in-out`,content:'""'}},[`&${Rt}-checked ${ve}`]:{insetInlineStart:`calc(100% - ${We+Nt}px)`},[`&:not(${Rt}-disabled):active`]:Dt?{[`${ve}::before`]:{insetInlineEnd:Ne.switchHandleActiveInset,insetInlineStart:0},[`&${Rt}-checked ${ve}::before`]:{insetInlineEnd:0,insetInlineStart:Ne.switchHandleActiveInset}}:{}}}},ot=Ne=>{const{componentCls:Rt,trackHeight:Dt,trackPadding:Nt,innerMinMargin:wt,innerMaxMargin:It,handleSize:We}=Ne,ve=`${Rt}-inner`;return{[Rt]:{[ve]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:It,paddingInlineEnd:wt,transition:`padding-inline-start ${Ne.switchDuration} ease-in-out, padding-inline-end ${Ne.switchDuration} ease-in-out`,[`${ve}-checked, ${ve}-unchecked`]:{display:"block",color:Ne.colorTextLightSolid,fontSize:Ne.fontSizeSM,transition:`margin-inline-start ${Ne.switchDuration} ease-in-out, margin-inline-end ${Ne.switchDuration} ease-in-out`,pointerEvents:"none"},[`${ve}-checked`]:{marginInlineStart:`calc(-100% + ${We+Nt*2}px - ${It*2}px)`,marginInlineEnd:`calc(100% - ${We+Nt*2}px + ${It*2}px)`},[`${ve}-unchecked`]:{marginTop:-Dt,marginInlineStart:0,marginInlineEnd:0}},[`&${Rt}-checked ${ve}`]:{paddingInlineStart:wt,paddingInlineEnd:It,[`${ve}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ve}-unchecked`]:{marginInlineStart:`calc(100% - ${We+Nt*2}px + ${It*2}px)`,marginInlineEnd:`calc(-100% + ${We+Nt*2}px - ${It*2}px)`}},[`&:not(${Rt}-disabled):active`]:{[`&:not(${Rt}-checked) ${ve}`]:{[`${ve}-unchecked`]:{marginInlineStart:Nt*2,marginInlineEnd:-Nt*2}},[`&${Rt}-checked ${ve}`]:{[`${ve}-checked`]:{marginInlineStart:-Nt*2,marginInlineEnd:Nt*2}}}}}},ut=Ne=>{const{componentCls:Rt,trackHeight:Dt,trackMinWidth:Nt}=Ne;return{[Rt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Wt.Wf)(Ne)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Nt,height:Dt,lineHeight:`${Dt}px`,verticalAlign:"middle",background:Ne.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ne.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Rt}-disabled)`]:{background:Ne.colorTextTertiary}}),(0,Wt.Qy)(Ne)),{[`&${Rt}-checked`]:{background:Ne.switchColor,[`&:hover:not(${Rt}-disabled)`]:{background:Ne.colorPrimaryHover}},[`&${Rt}-loading, &${Rt}-disabled`]:{cursor:"not-allowed",opacity:Ne.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Rt}-rtl`]:{direction:"rtl"}})}};var Je=(0,ft.Z)("Switch",Ne=>{const Rt=(0,pt.TS)(Ne,{switchDuration:Ne.motionDurationMid,switchColor:Ne.colorPrimary,switchDisabledOpacity:Ne.opacityLoading,switchLoadingIconSize:Ne.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Ne.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ut(Rt),ot(Rt),it(Rt),he(Rt),ze(Rt)]},Ne=>{const{fontSize:Rt,lineHeight:Dt,controlHeight:Nt,colorWhite:wt}=Ne,It=Rt*Dt,We=Nt/2,ve=2,Qe=It-ve*2,Vt=We-ve*2;return{trackHeight:It,trackHeightSM:We,trackMinWidth:Qe*2+ve*4,trackMinWidthSM:Vt*2+ve*2,trackPadding:ve,handleBg:wt,handleSize:Qe,handleSizeSM:Vt,handleShadow:`0 2px 4px 0 ${new Ct.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:Qe/2,innerMaxMargin:Qe+ve+ve*2,innerMinMarginSM:Vt/2,innerMaxMarginSM:Vt+ve+ve*2}}),mt=function(Ne,Rt){var Dt={};for(var Nt in Ne)Object.prototype.hasOwnProperty.call(Ne,Nt)&&Rt.indexOf(Nt)<0&&(Dt[Nt]=Ne[Nt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wt=0,Nt=Object.getOwnPropertySymbols(Ne);wt<Nt.length;wt++)Rt.indexOf(Nt[wt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Nt[wt])&&(Dt[Nt[wt]]=Ne[Nt[wt]]);return Dt};const Te=ye.forwardRef((Ne,Rt)=>{const{prefixCls:Dt,size:Nt,disabled:wt,loading:It,className:We,rootClassName:ve,style:Qe}=Ne,Vt=mt(Ne,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Mt,direction:Ue,switch:st}=ye.useContext(nt.E_),Ht=ye.useContext(ct.Z),yn=(wt!=null?wt:Ht)||It,Ut=Mt("switch",Dt),Sn=ye.createElement("div",{className:`${Ut}-handle`},It&&ye.createElement(ne.Z,{className:`${Ut}-loading-icon`})),[jt,Jt]=Je(Ut),Ot=(0,Et.Z)(Nt),xe=Ce()(st==null?void 0:st.className,{[`${Ut}-small`]:Ot==="small",[`${Ut}-loading`]:It,[`${Ut}-rtl`]:Ue==="rtl"},We,ve,Jt),ce=Object.assign(Object.assign({},st==null?void 0:st.style),Qe);return jt(ye.createElement(Ge.Z,{component:"Switch"},ye.createElement(Le,Object.assign({},Vt,{prefixCls:Ut,className:xe,style:ce,disabled:yn,ref:Rt,loadingIcon:Sn}))))});Te.__ANT_SWITCH=!0;var xt=Te},1710:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return Kl}});var ne={},be="rc-table-internal-hook",Ce=ie(42978),yt=ie(6089),Se=ie(34280),Ae=ie(13697),pe=ie(59301),ye=ie(4676);function Ee(Ve){var $e=pe.createContext(void 0),Kt=function(vn){var mn=vn.value,_n=vn.children,Kn=pe.useRef(mn);Kn.current=mn;var Zn=pe.useState(function(){return{getValue:function(){return Kn.current},listeners:new Set}}),fr=(0,Ce.Z)(Zn,1),sr=fr[0];return(0,Se.Z)(function(){(0,ye.unstable_batchedUpdates)(function(){sr.listeners.forEach(function(cr){cr(mn)})})},[mn]),pe.createElement($e.Provider,{value:sr},_n)};return{Context:$e,Provider:Kt,defaultValue:Ve}}function Re(Ve,$e){var Kt=(0,yt.Z)(typeof $e=="function"?$e:function(cr){if($e===void 0)return cr;if(!Array.isArray($e))return cr[$e];var Gr={};return $e.forEach(function(Ur){Gr[Ur]=cr[Ur]}),Gr}),qt=pe.useContext(Ve==null?void 0:Ve.Context),vn=qt||{},mn=vn.listeners,_n=vn.getValue,Kn=pe.useRef();Kn.current=Kt(qt?_n():Ve==null?void 0:Ve.defaultValue);var Zn=pe.useState({}),fr=(0,Ce.Z)(Zn,2),sr=fr[1];return(0,Se.Z)(function(){if(!qt)return;function cr(Gr){var Ur=Kt(Gr);(0,Ae.Z)(Kn.current,Ur,!0)||sr({})}return mn.add(cr),function(){mn.delete(cr)}},[qt]),Kn.current}var ht=ie(54476),ke=ie(8654);function Le(){var Ve=pe.createContext(null);function $e(){return pe.useContext(Ve)}function Kt(vn,mn){var _n=(0,ke.Yr)(vn),Kn=function(fr,sr){var cr=_n?{ref:sr}:{},Gr=pe.useRef(0),Ur=pe.useRef(fr),Jr=$e();return Jr!==null?pe.createElement(vn,(0,ht.Z)({},fr,cr)):((!mn||mn(Ur.current,fr))&&(Gr.current+=1),Ur.current=fr,pe.createElement(Ve.Provider,{value:Gr.current},pe.createElement(vn,(0,ht.Z)({},fr,cr))))};return _n?pe.forwardRef(Kn):Kn}function qt(vn,mn){var _n=(0,ke.Yr)(vn),Kn=function(fr,sr){var cr=_n?{ref:sr}:{};return $e(),pe.createElement(vn,(0,ht.Z)({},fr,cr))};return _n?pe.memo(pe.forwardRef(Kn),mn):pe.memo(Kn,mn)}return{makeImmutable:Kt,responseImmutable:qt,useImmutableMark:$e}}var Ge=Le(),nt=Ge.makeImmutable,ct=Ge.responseImmutable,Et=Ge.useImmutableMark,Ct=Le(),Wt=Ct.makeImmutable,ft=Ct.responseImmutable,pt=Ct.useImmutableMark,ze=Ee(),he=ze;function it(Ve,$e){var Kt=pe.useRef(0);Kt.current+=1;var qt=pe.useRef(Ve),vn=[];Object.keys(Ve||{}).map(function(_n){var Kn;(Ve==null?void 0:Ve[_n])!==((Kn=qt.current)===null||Kn===void 0?void 0:Kn[_n])&&vn.push(_n)}),qt.current=Ve;var mn=pe.useRef([]);return vn.length&&(mn.current=vn),pe.useDebugValue(Kt.current),pe.useDebugValue(mn.current.join(", ")),$e&&console.log("".concat($e,":"),Kt.current,mn.current),Kt.current}var ot=null,ut=pe.memo(function(){var Ve=it();return pe.createElement("h1",null,"Render Times: ",Ve)});ut.displayName="RenderBlock";var Je=ie(76190),mt=ie(33885),Te=ie(20068),xt=ie(92310),Ne=ie.n(xt),Rt=ie(80547),Dt=ie(97938),Nt=ie(48736),wt=pe.createContext({renderWithProps:!1}),It=wt,We="RC_TABLE_KEY";function ve(Ve){return Ve==null?[]:Array.isArray(Ve)?Ve:[Ve]}function Qe(Ve){var $e=[],Kt={};return Ve.forEach(function(qt){for(var vn=qt||{},mn=vn.key,_n=vn.dataIndex,Kn=mn||ve(_n).join("-")||We;Kt[Kn];)Kn="".concat(Kn,"_next");Kt[Kn]=!0,$e.push(Kn)}),$e}function Vt(Ve){return Ve!=null}function Mt(Ve){return Ve&&(0,Je.Z)(Ve)==="object"&&!Array.isArray(Ve)&&!pe.isValidElement(Ve)}function Ue(Ve,$e,Kt,qt,vn,mn){var _n=pe.useContext(It),Kn=pt(),Zn=(0,Rt.Z)(function(){if(Vt(qt))return[qt];var fr=$e==null||$e===""?[]:Array.isArray($e)?$e:[$e],sr=(0,Dt.Z)(Ve,fr),cr=sr,Gr=void 0;if(vn){var Ur=vn(sr,Ve,Kt);Mt(Ur)?(cr=Ur.children,Gr=Ur.props,_n.renderWithProps=!0):cr=Ur}return[cr,Gr]},[Kn,Ve,qt,$e,vn,Kt],function(fr,sr){if(mn){var cr=(0,Ce.Z)(fr,2),Gr=cr[1],Ur=(0,Ce.Z)(sr,2),Jr=Ur[1];return mn(Jr,Gr)}return _n.renderWithProps?!0:!(0,Ae.Z)(fr,sr,!0)});return Zn}function st(Ve,$e,Kt,qt){var vn=Ve+$e-1;return Ve<=qt&&vn>=Kt}function Ht(Ve,$e){return Re(he,function(Kt){var qt=st(Ve,$e||1,Kt.hoverStartRow,Kt.hoverEndRow);return[qt,Kt.onHover]})}var yn=function($e){var Kt=$e.ellipsis,qt=$e.rowType,vn=$e.children,mn,_n=Kt===!0?{showTitle:!0}:Kt;return _n&&(_n.showTitle||qt==="header")&&(typeof vn=="string"||typeof vn=="number"?mn=vn.toString():pe.isValidElement(vn)&&typeof vn.props.children=="string"&&(mn=vn.props.children)),mn};function Ut(Ve){var $e,Kt,qt,vn,mn,_n,Kn,Zn,fr=Ve.component,sr=Ve.children,cr=Ve.ellipsis,Gr=Ve.scope,Ur=Ve.prefixCls,Jr=Ve.className,xi=Ve.align,pi=Ve.record,Oi=Ve.render,Ai=Ve.dataIndex,Ri=Ve.renderIndex,ya=Ve.shouldCellUpdate,Ea=Ve.index,aa=Ve.rowType,ba=Ve.colSpan,Ka=Ve.rowSpan,ji=Ve.fixLeft,ha=Ve.fixRight,Qi=Ve.firstFixLeft,Ei=Ve.lastFixLeft,Ni=Ve.firstFixRight,xa=Ve.lastFixRight,Ja=Ve.appendNode,wa=Ve.additionalProps,Li=wa===void 0?{}:wa,Fa=Ve.isSticky,Za="".concat(Ur,"-cell"),Ua=Re(he,["supportSticky","allColumnsFixedLeft"]),$a=Ua.supportSticky,Ho=Ua.allColumnsFixedLeft,ro=Ue(pi,Ai,Ri,sr,Oi,ya),Oa=(0,Ce.Z)(ro,2),Uo=Oa[0],Aa=Oa[1],Lo={},wo=typeof ji=="number"&&$a,tl=typeof ha=="number"&&$a;wo&&(Lo.position="sticky",Lo.left=ji),tl&&(Lo.position="sticky",Lo.right=ha);var Da=($e=(Kt=(qt=Aa==null?void 0:Aa.colSpan)!==null&&qt!==void 0?qt:Li.colSpan)!==null&&Kt!==void 0?Kt:ba)!==null&&$e!==void 0?$e:1,Ca=(vn=(mn=(_n=Aa==null?void 0:Aa.rowSpan)!==null&&_n!==void 0?_n:Li.rowSpan)!==null&&mn!==void 0?mn:Ka)!==null&&vn!==void 0?vn:1,Ma=Ht(Ea,Ca),ma=(0,Ce.Z)(Ma,2),na=ma[0],qr=ma[1],Gi=function(Ba){var Il;pi&&qr(Ea,Ea+Ca-1),Li==null||(Il=Li.onMouseEnter)===null||Il===void 0||Il.call(Li,Ba)},za=function(Ba){var Il;pi&&qr(-1,-1),Li==null||(Il=Li.onMouseLeave)===null||Il===void 0||Il.call(Li,Ba)};if(Da===0||Ca===0)return null;var eo=(Kn=Li.title)!==null&&Kn!==void 0?Kn:yn({rowType:aa,ellipsis:cr,children:Uo}),Gl=Ne()(Za,Jr,(Zn={},(0,Te.Z)(Zn,"".concat(Za,"-fix-left"),wo&&$a),(0,Te.Z)(Zn,"".concat(Za,"-fix-left-first"),Qi&&$a),(0,Te.Z)(Zn,"".concat(Za,"-fix-left-last"),Ei&&$a),(0,Te.Z)(Zn,"".concat(Za,"-fix-left-all"),Ei&&Ho&&$a),(0,Te.Z)(Zn,"".concat(Za,"-fix-right"),tl&&$a),(0,Te.Z)(Zn,"".concat(Za,"-fix-right-first"),Ni&&$a),(0,Te.Z)(Zn,"".concat(Za,"-fix-right-last"),xa&&$a),(0,Te.Z)(Zn,"".concat(Za,"-ellipsis"),cr),(0,Te.Z)(Zn,"".concat(Za,"-with-append"),Ja),(0,Te.Z)(Zn,"".concat(Za,"-fix-sticky"),(wo||tl)&&Fa&&$a),(0,Te.Z)(Zn,"".concat(Za,"-row-hover"),!Aa&&na),Zn),Li.className,Aa==null?void 0:Aa.className),El={};xi&&(El.textAlign=xi);var Ls=(0,mt.Z)((0,mt.Z)((0,mt.Z)((0,mt.Z)({},Lo),Li.style),El),Aa==null?void 0:Aa.style),hl=Uo;return(0,Je.Z)(hl)==="object"&&!Array.isArray(hl)&&!pe.isValidElement(hl)&&(hl=null),cr&&(Ei||Ni)&&(hl=pe.createElement("span",{className:"".concat(Za,"-content")},hl)),pe.createElement(fr,(0,ht.Z)({},Aa,Li,{className:Gl,style:Ls,title:eo,scope:Gr,onMouseEnter:Gi,onMouseLeave:za,colSpan:Da!==1?Da:null,rowSpan:Ca!==1?Ca:null}),Ja,hl)}var Sn=pe.memo(Ut);function jt(Ve,$e,Kt,qt,vn,mn){var _n=Kt[Ve]||{},Kn=Kt[$e]||{},Zn,fr;_n.fixed==="left"?Zn=qt.left[vn==="rtl"?$e:Ve]:Kn.fixed==="right"&&(fr=qt.right[vn==="rtl"?Ve:$e]);var sr=!1,cr=!1,Gr=!1,Ur=!1,Jr=Kt[$e+1],xi=Kt[Ve-1],pi=!(mn!=null&&mn.children);if(vn==="rtl"){if(Zn!==void 0){var Oi=xi&&xi.fixed==="left";Ur=!Oi&&pi}else if(fr!==void 0){var Ai=Jr&&Jr.fixed==="right";Gr=!Ai&&pi}}else if(Zn!==void 0){var Ri=Jr&&Jr.fixed==="left";sr=!Ri&&pi}else if(fr!==void 0){var ya=xi&&xi.fixed==="right";cr=!ya&&pi}return{fixLeft:Zn,fixRight:fr,lastFixLeft:sr,firstFixRight:cr,lastFixRight:Gr,firstFixLeft:Ur,isSticky:qt.isSticky}}var Jt=pe.createContext({}),Ot=Jt;function xe(Ve){var $e=Ve.className,Kt=Ve.index,qt=Ve.children,vn=Ve.colSpan,mn=vn===void 0?1:vn,_n=Ve.rowSpan,Kn=Ve.align,Zn=Re(he,["prefixCls","direction"]),fr=Zn.prefixCls,sr=Zn.direction,cr=pe.useContext(Ot),Gr=cr.scrollColumnIndex,Ur=cr.stickyOffsets,Jr=cr.flattenColumns,xi=cr.columns,pi=Kt+mn-1,Oi=pi+1===Gr?mn+1:mn,Ai=jt(Kt,Kt+Oi-1,Jr,Ur,sr,xi==null?void 0:xi[Kt]);return pe.createElement(Sn,(0,ht.Z)({className:$e,index:Kt,component:"td",prefixCls:fr,record:null,dataIndex:null,align:Kn,colSpan:Oi,rowSpan:_n,render:function(){return qt}},Ai))}var ce=ie(75931),ue=["children"];function de(Ve){var $e=Ve.children,Kt=(0,ce.Z)(Ve,ue);return pe.createElement("tr",Kt,$e)}function fe(Ve){var $e=Ve.children;return $e}fe.Row=de,fe.Cell=xe;var le=fe;function Fe(Ve){var $e=Ve.children,Kt=Ve.stickyOffsets,qt=Ve.flattenColumns,vn=Ve.columns,mn=Re(he,"prefixCls"),_n=qt.length-1,Kn=qt[_n],Zn=pe.useMemo(function(){return{stickyOffsets:Kt,flattenColumns:qt,scrollColumnIndex:Kn!=null&&Kn.scrollbar?_n:null,columns:vn}},[Kn,qt,_n,Kt,vn]);return pe.createElement(Ot.Provider,{value:Zn},pe.createElement("tfoot",{className:"".concat(mn,"-summary")},$e))}var at=ft(Fe),Ze=le,Me=ie(70425),Lt=ie(29301),bt=ie(29194),et=ie(24514),Zt=ie(75152),Cn=ie(26112);function kt(Ve,$e,Kt,qt,vn,mn,_n){Ve.push({record:$e,indent:Kt,index:_n});var Kn=mn($e),Zn=vn==null?void 0:vn.has(Kn);if($e&&Array.isArray($e[qt])&&Zn)for(var fr=0;fr<$e[qt].length;fr+=1)kt(Ve,$e[qt][fr],Kt+1,qt,vn,mn,fr)}function Qt(Ve,$e,Kt,qt){var vn=pe.useMemo(function(){if(Kt!=null&&Kt.size){for(var mn=[],_n=0;_n<(Ve==null?void 0:Ve.length);_n+=1){var Kn=Ve[_n];kt(mn,Kn,0,$e,Kt,qt,_n)}return mn}return Ve==null?void 0:Ve.map(function(Zn,fr){return{record:Zn,indent:0,index:fr}})},[Ve,$e,Kt,qt]);return vn}function cn(Ve){var $e=Ve.prefixCls,Kt=Ve.children,qt=Ve.component,vn=Ve.cellComponent,mn=Ve.className,_n=Ve.expanded,Kn=Ve.colSpan,Zn=Ve.isEmpty,fr=Re(he,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),sr=fr.scrollbarSize,cr=fr.fixHeader,Gr=fr.fixColumn,Ur=fr.componentWidth,Jr=fr.horizonScroll,xi=Kt;return(Zn?Jr&&Ur:Gr)&&(xi=pe.createElement("div",{style:{width:Ur-(cr?sr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat($e,"-expanded-row-fixed")},xi)),pe.createElement(qt,{className:mn,style:{display:_n?null:"none"}},pe.createElement(Sn,{component:vn,prefixCls:$e,colSpan:Kn},xi))}var vt=cn;function Oe(Ve,$e,Kt,qt){var vn=Re(he,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),mn=vn.flattenColumns,_n=vn.expandableType,Kn=vn.expandedKeys,Zn=vn.childrenColumnName,fr=vn.onTriggerExpand,sr=vn.rowExpandable,cr=vn.onRow,Gr=vn.expandRowByClick,Ur=vn.rowClassName,Jr=_n==="nest",xi=_n==="row"&&(!sr||sr(Ve)),pi=xi||Jr,Oi=Kn&&Kn.has($e),Ai=Zn&&Ve&&Ve[Zn],Ri=(0,Me.useEvent)(fr),ya=cr==null?void 0:cr(Ve,Kt),Ea=ya==null?void 0:ya.onClick,aa=function(ha){Gr&&pi&&fr(Ve,ha);for(var Qi=arguments.length,Ei=new Array(Qi>1?Qi-1:0),Ni=1;Ni<Qi;Ni++)Ei[Ni-1]=arguments[Ni];Ea==null||Ea.apply(void 0,[ha].concat(Ei))},ba;typeof Ur=="string"?ba=Ur:typeof Ur=="function"&&(ba=Ur(Ve,Kt,qt));var Ka=Qe(mn);return(0,mt.Z)((0,mt.Z)({},vn),{},{columnsKey:Ka,nestExpandable:Jr,expanded:Oi,hasNestChildren:Ai,record:Ve,onTriggerExpand:Ri,rowSupportExpand:xi,expandable:pi,rowProps:(0,mt.Z)((0,mt.Z)({},ya),{},{className:Ne()(ba,ya==null?void 0:ya.className),onClick:aa})})}function tt(Ve,$e,Kt,qt,vn){var mn=Ve.record,_n=Ve.prefixCls,Kn=Ve.columnsKey,Zn=Ve.fixedInfoList,fr=Ve.expandIconColumnIndex,sr=Ve.nestExpandable,cr=Ve.indentSize,Gr=Ve.expandIcon,Ur=Ve.expanded,Jr=Ve.hasNestChildren,xi=Ve.onTriggerExpand,pi=Kn[Kt],Oi=Zn[Kt],Ai;Kt===(fr||0)&&sr&&(Ai=pe.createElement(pe.Fragment,null,pe.createElement("span",{style:{paddingLeft:"".concat(cr*qt,"px")},className:"".concat(_n,"-row-indent indent-level-").concat(qt)}),Gr({prefixCls:_n,expanded:Ur,expandable:Jr,record:mn,onExpand:xi})));var Ri;return $e.onCell&&(Ri=$e.onCell(mn,vn)),{key:pi,fixedInfo:Oi,appendCellNode:Ai,additionalCellProps:Ri||{}}}function ln(Ve){var $e=Ve.className,Kt=Ve.style,qt=Ve.record,vn=Ve.index,mn=Ve.renderIndex,_n=Ve.rowKey,Kn=Ve.indent,Zn=Kn===void 0?0:Kn,fr=Ve.rowComponent,sr=Ve.cellComponent,cr=Ve.scopeCellComponent,Gr=Oe(qt,_n,vn,Zn),Ur=Gr.prefixCls,Jr=Gr.flattenColumns,xi=Gr.expandedRowClassName,pi=Gr.expandedRowRender,Oi=Gr.rowProps,Ai=Gr.expanded,Ri=Gr.rowSupportExpand,ya=pe.useState(!1),Ea=(0,Ce.Z)(ya,2),aa=Ea[0],ba=Ea[1];pe.useEffect(function(){Ai&&ba(!0)},[Ai]);var Ka=pe.createElement(fr,(0,ht.Z)({},Oi,{"data-row-key":_n,className:Ne()($e,"".concat(Ur,"-row"),"".concat(Ur,"-row-level-").concat(Zn),Oi==null?void 0:Oi.className),style:(0,mt.Z)((0,mt.Z)({},Kt),Oi==null?void 0:Oi.style)}),Jr.map(function(Ei,Ni){var xa=Ei.render,Ja=Ei.dataIndex,wa=Ei.className,Li=tt(Gr,Ei,Ni,Zn,vn),Fa=Li.key,Za=Li.fixedInfo,Ua=Li.appendCellNode,$a=Li.additionalCellProps;return pe.createElement(Sn,(0,ht.Z)({className:wa,ellipsis:Ei.ellipsis,align:Ei.align,scope:Ei.rowScope,component:Ei.rowScope?cr:sr,prefixCls:Ur,key:Fa,record:qt,index:vn,renderIndex:mn,dataIndex:Ja,render:xa,shouldCellUpdate:Ei.shouldCellUpdate},Za,{appendNode:Ua,additionalProps:$a}))})),ji;if(Ri&&(aa||Ai)){var ha=pi(qt,vn,Zn+1,Ai),Qi=xi&&xi(qt,vn,Zn);ji=pe.createElement(vt,{expanded:Ai,className:Ne()("".concat(Ur,"-expanded-row"),"".concat(Ur,"-expanded-row-level-").concat(Zn+1),Qi),prefixCls:Ur,component:fr,cellComponent:sr,colSpan:Jr.length,isEmpty:!1},ha)}return pe.createElement(pe.Fragment,null,Ka,ji)}ln.displayName="BodyRow";var dn=ft(ln);function An(Ve){var $e=Ve.columnKey,Kt=Ve.onColumnResize,qt=pe.useRef();return pe.useEffect(function(){qt.current&&Kt($e,qt.current.offsetWidth)},[]),pe.createElement(Lt.Z,{data:$e},pe.createElement("td",{ref:qt,style:{padding:0,border:0,height:0}},pe.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Xn(Ve){var $e=Ve.prefixCls,Kt=Ve.columnsKey,qt=Ve.onColumnResize;return pe.createElement("tr",{"aria-hidden":"true",className:"".concat($e,"-measure-row"),style:{height:0,fontSize:0}},pe.createElement(Lt.Z.Collection,{onBatchResize:function(mn){mn.forEach(function(_n){var Kn=_n.data,Zn=_n.size;qt(Kn,Zn.offsetWidth)})}},Kt.map(function(vn){return pe.createElement(An,{key:vn,columnKey:vn,onColumnResize:qt})})))}function Gt(Ve){var $e=Ve.data,Kt=Ve.measureColumnWidth,qt=Re(he,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),vn=qt.prefixCls,mn=qt.getComponent,_n=qt.onColumnResize,Kn=qt.flattenColumns,Zn=qt.getRowKey,fr=qt.expandedKeys,sr=qt.childrenColumnName,cr=qt.emptyNode,Gr=Qt($e,sr,fr,Zn),Ur=pe.useRef({renderWithProps:!1}),Jr=mn(["body","wrapper"],"tbody"),xi=mn(["body","row"],"tr"),pi=mn(["body","cell"],"td"),Oi=mn(["body","cell"],"th"),Ai;$e.length?Ai=Gr.map(function(ya,Ea){var aa=ya.record,ba=ya.indent,Ka=ya.index,ji=Zn(aa,Ea);return pe.createElement(dn,{key:ji,rowKey:ji,record:aa,index:Ea,renderIndex:Ka,rowComponent:xi,cellComponent:pi,scopeCellComponent:Oi,getRowKey:Zn,indent:ba})}):Ai=pe.createElement(vt,{expanded:!0,className:"".concat(vn,"-placeholder"),prefixCls:vn,component:xi,cellComponent:pi,colSpan:Kn.length,isEmpty:!0},cr);var Ri=Qe(Kn);return pe.createElement(It.Provider,{value:Ur.current},pe.createElement(Jr,{className:"".concat(vn,"-tbody")},Kt&&pe.createElement(Xn,{prefixCls:vn,columnsKey:Ri,onColumnResize:_n}),Ai))}Gt.displayName="Body";var nr=ft(Gt),wr=["expandable"],kr="RC_TABLE_INTERNAL_COL_DEFINE";function rr(Ve){var $e=Ve.expandable,Kt=(0,ce.Z)(Ve,wr),qt;return"expandable"in Ve?qt=(0,mt.Z)((0,mt.Z)({},Kt),$e):qt=Kt,qt.showExpandColumn===!1&&(qt.expandIconColumnIndex=-1),qt}var Ar=["columnType"];function li(Ve){for(var $e=Ve.colWidths,Kt=Ve.columns,qt=Ve.columCount,vn=[],mn=qt||Kt.length,_n=!1,Kn=mn-1;Kn>=0;Kn-=1){var Zn=$e[Kn],fr=Kt&&Kt[Kn],sr=fr&&fr[kr];if(Zn||sr||_n){var cr=sr||{},Gr=cr.columnType,Ur=(0,ce.Z)(cr,Ar);vn.unshift(pe.createElement("col",(0,ht.Z)({key:Kn,style:{width:Zn}},Ur))),_n=!0}}return pe.createElement("colgroup",null,vn)}var xr=li,Br=ie(94480),ti=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Rn(Ve,$e){return(0,pe.useMemo)(function(){for(var Kt=[],qt=0;qt<$e;qt+=1){var vn=Ve[qt];if(vn!==void 0)Kt[qt]=vn;else return null}return Kt},[Ve.join("_"),$e])}var tn=pe.forwardRef(function(Ve,$e){var Kt=Ve.className,qt=Ve.noData,vn=Ve.columns,mn=Ve.flattenColumns,_n=Ve.colWidths,Kn=Ve.columCount,Zn=Ve.stickyOffsets,fr=Ve.direction,sr=Ve.fixHeader,cr=Ve.stickyTopOffset,Gr=Ve.stickyBottomOffset,Ur=Ve.stickyClassName,Jr=Ve.onScroll,xi=Ve.maxContentScroll,pi=Ve.children,Oi=(0,ce.Z)(Ve,ti),Ai=Re(he,["prefixCls","scrollbarSize","isSticky"]),Ri=Ai.prefixCls,ya=Ai.scrollbarSize,Ea=Ai.isSticky,aa=Ea&&!sr?0:ya,ba=pe.useRef(null),Ka=pe.useCallback(function(wa){(0,ke.mH)($e,wa),(0,ke.mH)(ba,wa)},[]);pe.useEffect(function(){var wa;function Li(Fa){var Za=Fa,Ua=Za.currentTarget,$a=Za.deltaX;$a&&(Jr({currentTarget:Ua,scrollLeft:Ua.scrollLeft+$a}),Fa.preventDefault())}return(wa=ba.current)===null||wa===void 0||wa.addEventListener("wheel",Li),function(){var Fa;(Fa=ba.current)===null||Fa===void 0||Fa.removeEventListener("wheel",Li)}},[]);var ji=pe.useMemo(function(){return mn.every(function(wa){return wa.width})},[mn]),ha=mn[mn.length-1],Qi={fixed:ha?ha.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ri,"-cell-scrollbar")}}},Ei=(0,pe.useMemo)(function(){return aa?[].concat((0,Br.Z)(vn),[Qi]):vn},[aa,vn]),Ni=(0,pe.useMemo)(function(){return aa?[].concat((0,Br.Z)(mn),[Qi]):mn},[aa,mn]),xa=(0,pe.useMemo)(function(){var wa=Zn.right,Li=Zn.left;return(0,mt.Z)((0,mt.Z)({},Zn),{},{left:fr==="rtl"?[].concat((0,Br.Z)(Li.map(function(Fa){return Fa+aa})),[0]):Li,right:fr==="rtl"?wa:[].concat((0,Br.Z)(wa.map(function(Fa){return Fa+aa})),[0]),isSticky:Ea})},[aa,Zn,Ea]),Ja=Rn(_n,Kn);return pe.createElement("div",{style:(0,mt.Z)({overflow:"hidden"},Ea?{top:cr,bottom:Gr}:{}),ref:Ka,className:Ne()(Kt,(0,Te.Z)({},Ur,!!Ur))},pe.createElement("table",{style:{tableLayout:"fixed",visibility:qt||Ja?null:"hidden"}},(!qt||!xi||ji)&&pe.createElement(xr,{colWidths:Ja?[].concat((0,Br.Z)(Ja),[aa]):[],columCount:Kn+1,columns:Ni}),pi((0,mt.Z)((0,mt.Z)({},Oi),{},{stickyOffsets:xa,columns:Ei,flattenColumns:Ni}))))});tn.displayName="FixedHolder";var zn=pe.memo(tn);function er(Ve){var $e=Ve.cells,Kt=Ve.stickyOffsets,qt=Ve.flattenColumns,vn=Ve.rowComponent,mn=Ve.cellComponent,_n=Ve.tdCellComponent,Kn=Ve.onHeaderRow,Zn=Ve.index,fr=Re(he,["prefixCls","direction"]),sr=fr.prefixCls,cr=fr.direction,Gr;Kn&&(Gr=Kn($e.map(function(Jr){return Jr.column}),Zn));var Ur=Qe($e.map(function(Jr){return Jr.column}));return pe.createElement(vn,Gr,$e.map(function(Jr,xi){var pi=Jr.column,Oi=jt(Jr.colStart,Jr.colEnd,qt,Kt,cr,pi),Ai;return pi&&pi.onHeaderCell&&(Ai=Jr.column.onHeaderCell(pi)),pe.createElement(Sn,(0,ht.Z)({},Jr,{scope:pi.title?Jr.colSpan>1?"colgroup":"col":null,ellipsis:pi.ellipsis,align:pi.align,component:pi.title?mn:_n,prefixCls:sr,key:Ur[xi]},Oi,{additionalProps:Ai,rowType:"header"}))}))}er.displayName="HeaderRow";var zt=er;function bn(Ve){var $e=[];function Kt(_n,Kn){var Zn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;$e[Zn]=$e[Zn]||[];var fr=Kn,sr=_n.filter(Boolean).map(function(cr){var Gr={key:cr.key,className:cr.className||"",children:cr.title,column:cr,colStart:fr},Ur=1,Jr=cr.children;return Jr&&Jr.length>0&&(Ur=Kt(Jr,fr,Zn+1).reduce(function(xi,pi){return xi+pi},0),Gr.hasSubColumns=!0),"colSpan"in cr&&(Ur=cr.colSpan),"rowSpan"in cr&&(Gr.rowSpan=cr.rowSpan),Gr.colSpan=Ur,Gr.colEnd=Gr.colStart+Ur-1,$e[Zn].push(Gr),fr+=Ur,Ur});return sr}Kt(Ve,0);for(var qt=$e.length,vn=function(Kn){$e[Kn].forEach(function(Zn){!("rowSpan"in Zn)&&!Zn.hasSubColumns&&(Zn.rowSpan=qt-Kn)})},mn=0;mn<qt;mn+=1)vn(mn);return $e}function kn(Ve){var $e=Ve.stickyOffsets,Kt=Ve.columns,qt=Ve.flattenColumns,vn=Ve.onHeaderRow,mn=Re(he,["prefixCls","getComponent"]),_n=mn.prefixCls,Kn=mn.getComponent,Zn=pe.useMemo(function(){return bn(Kt)},[Kt]),fr=Kn(["header","wrapper"],"thead"),sr=Kn(["header","row"],"tr"),cr=Kn(["header","cell"],"th"),Gr=Kn(["header","cell"],"td");return pe.createElement(fr,{className:"".concat(_n,"-thead")},Zn.map(function(Ur,Jr){var xi=pe.createElement(zt,{key:Jr,flattenColumns:qt,cells:Ur,stickyOffsets:$e,rowComponent:sr,cellComponent:cr,tdCellComponent:Gr,onHeaderRow:vn,index:Jr});return xi}))}var Tt=ft(kn),an=ie(11592);function sn(Ve){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof $e=="number"?$e:$e.endsWith("%")?Ve*parseFloat($e)/100:null}function rn(Ve,$e){return pe.useMemo(function(){if($e&&$e>0){var Kt=0,qt=0;Ve.forEach(function(fr){var sr=sn($e,fr.width);sr?Kt+=sr:qt+=1});var vn=$e-Kt,mn=qt,_n=vn/qt,Kn=0,Zn=Ve.map(function(fr){var sr=(0,mt.Z)({},fr),cr=sn($e,sr.width);if(cr)sr.width=cr;else{var Gr=Math.floor(_n);sr.width=mn===1?vn:Gr,vn-=Gr,mn-=1}return Kn+=sr.width,sr});return[Zn,Kn]}return[Ve,$e]},[Ve,$e])}var $n=["children"],Ft=["fixed"];function Ie(Ve){return(0,an.Z)(Ve).filter(function($e){return pe.isValidElement($e)}).map(function($e){var Kt=$e.key,qt=$e.props,vn=qt.children,mn=(0,ce.Z)(qt,$n),_n=(0,mt.Z)({key:Kt},mn);return vn&&(_n.children=Ie(vn)),_n})}function Xe(Ve){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ve.filter(function(Kt){return Kt&&(0,Je.Z)(Kt)==="object"}).reduce(function(Kt,qt,vn){var mn=qt.fixed,_n=mn===!0?"left":mn,Kn="".concat($e,"-").concat(vn),Zn=qt.children;return Zn&&Zn.length>0?[].concat((0,Br.Z)(Kt),(0,Br.Z)(Xe(Zn,Kn).map(function(fr){return(0,mt.Z)({fixed:_n},fr)}))):[].concat((0,Br.Z)(Kt),[(0,mt.Z)((0,mt.Z)({key:Kn},qt),{},{fixed:_n})])},[])}function He(Ve){for(var $e=!0,Kt=0;Kt<Ve.length;Kt+=1){var qt=Ve[Kt];if($e&&qt.fixed!=="left")$e=!1;else if(!$e&&qt.fixed==="left"){warning(!1,"Index ".concat(Kt-1," of `columns` missing `fixed='left'` prop."));break}}for(var vn=!0,mn=Ve.length-1;mn>=0;mn-=1){var _n=Ve[mn];if(vn&&_n.fixed!=="right")vn=!1;else if(!vn&&_n.fixed==="right"){warning(!1,"Index ".concat(mn+1," of `columns` missing `fixed='right'` prop."));break}}}function Ke(Ve){return Ve.map(function($e){var Kt=$e.fixed,qt=(0,ce.Z)($e,Ft),vn=Kt;return Kt==="left"?vn="right":Kt==="right"&&(vn="left"),(0,mt.Z)({fixed:vn},qt)})}function Bt(Ve,$e){var Kt=Ve.prefixCls,qt=Ve.columns,vn=Ve.children,mn=Ve.expandable,_n=Ve.expandedKeys,Kn=Ve.columnTitle,Zn=Ve.getRowKey,fr=Ve.onTriggerExpand,sr=Ve.expandIcon,cr=Ve.rowExpandable,Gr=Ve.expandIconColumnIndex,Ur=Ve.direction,Jr=Ve.expandRowByClick,xi=Ve.columnWidth,pi=Ve.fixed,Oi=Ve.scrollWidth,Ai=pe.useMemo(function(){return qt||Ie(vn)},[qt,vn]),Ri=pe.useMemo(function(){if(mn){var ha,Qi=Ai.slice();if(!Qi.includes(ne)){var Ei=Gr||0;Ei>=0&&Qi.splice(Ei,0,ne)}var Ni=Qi.indexOf(ne);Qi=Qi.filter(function(Li,Fa){return Li!==ne||Fa===Ni});var xa=Ai[Ni],Ja;(pi==="left"||pi)&&!Gr?Ja="left":(pi==="right"||pi)&&Gr===Ai.length?Ja="right":Ja=xa?xa.fixed:null;var wa=(ha={},(0,Te.Z)(ha,kr,{className:"".concat(Kt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Te.Z)(ha,"title",Kn),(0,Te.Z)(ha,"fixed",Ja),(0,Te.Z)(ha,"className","".concat(Kt,"-row-expand-icon-cell")),(0,Te.Z)(ha,"width",xi),(0,Te.Z)(ha,"render",function(Fa,Za,Ua){var $a=Zn(Za,Ua),Ho=_n.has($a),ro=cr?cr(Za):!0,Oa=sr({prefixCls:Kt,expanded:Ho,expandable:ro,record:Za,onExpand:fr});return Jr?pe.createElement("span",{onClick:function(Aa){return Aa.stopPropagation()}},Oa):Oa}),ha);return Qi.map(function(Li){return Li===ne?wa:Li})}return Ai.filter(function(Li){return Li!==ne})},[mn,Ai,Zn,_n,sr,Ur]),ya=pe.useMemo(function(){var ha=Ri;return $e&&(ha=$e(ha)),ha.length||(ha=[{render:function(){return null}}]),ha},[$e,Ri,Ur]),Ea=pe.useMemo(function(){return Ur==="rtl"?Ke(Xe(ya)):Xe(ya)},[ya,Ur,Oi]),aa=rn(Ea,Oi),ba=(0,Ce.Z)(aa,2),Ka=ba[0],ji=ba[1];return[ya,Ka,ji]}var dt=Bt;function on(Ve){var $e,Kt=Ve.prefixCls,qt=Ve.record,vn=Ve.onExpand,mn=Ve.expanded,_n=Ve.expandable,Kn="".concat(Kt,"-row-expand-icon");if(!_n)return pe.createElement("span",{className:Ne()(Kn,"".concat(Kt,"-row-spaced"))});var Zn=function(sr){vn(qt,sr),sr.stopPropagation()};return pe.createElement("span",{className:Ne()(Kn,($e={},(0,Te.Z)($e,"".concat(Kt,"-row-expanded"),mn),(0,Te.Z)($e,"".concat(Kt,"-row-collapsed"),!mn),$e)),onClick:Zn})}function nn(Ve,$e,Kt){var qt=[];function vn(mn){(mn||[]).forEach(function(_n,Kn){qt.push($e(_n,Kn)),vn(_n[Kt])})}return vn(Ve),qt}function hn(Ve,$e,Kt){var qt=rr(Ve),vn=qt.expandIcon,mn=qt.expandedRowKeys,_n=qt.defaultExpandedRowKeys,Kn=qt.defaultExpandAllRows,Zn=qt.expandedRowRender,fr=qt.onExpand,sr=qt.onExpandedRowsChange,cr=qt.childrenColumnName,Gr=vn||on,Ur=cr||"children",Jr=pe.useMemo(function(){return Zn?"row":Ve.expandable&&Ve.internalHooks===be&&Ve.expandable.__PARENT_RENDER_ICON__||$e.some(function(Ea){return Ea&&(0,Je.Z)(Ea)==="object"&&Ea[Ur]})?"nest":!1},[!!Zn,$e]),xi=pe.useState(function(){return _n||(Kn?nn($e,Kt,Ur):[])}),pi=(0,Ce.Z)(xi,2),Oi=pi[0],Ai=pi[1],Ri=pe.useMemo(function(){return new Set(mn||Oi||[])},[mn,Oi]),ya=pe.useCallback(function(Ea){var aa=Kt(Ea,$e.indexOf(Ea)),ba,Ka=Ri.has(aa);Ka?(Ri.delete(aa),ba=(0,Br.Z)(Ri)):ba=[].concat((0,Br.Z)(Ri),[aa]),Ai(ba),fr&&fr(!Ka,Ea),sr&&sr(ba)},[Kt,Ri,$e,fr,sr]);return[qt,Jr,Ri,Gr,Ur,ya]}function Pn(Ve,$e,Kt,qt){var vn=Ve.map(function(mn,_n){return jt(_n,_n,Ve,$e,Kt,qt==null?void 0:qt[_n])});return(0,Rt.Z)(function(){return vn},[vn],function(mn,_n){return!(0,Ae.Z)(mn,_n)})}function Jn(Ve){var $e=(0,pe.useRef)(Ve),Kt=(0,pe.useState)({}),qt=(0,Ce.Z)(Kt,2),vn=qt[1],mn=(0,pe.useRef)(null),_n=(0,pe.useRef)([]);function Kn(Zn){_n.current.push(Zn);var fr=Promise.resolve();mn.current=fr,fr.then(function(){if(mn.current===fr){var sr=_n.current,cr=$e.current;_n.current=[],sr.forEach(function(Gr){$e.current=Gr($e.current)}),mn.current=null,cr!==$e.current&&vn({})}})}return(0,pe.useEffect)(function(){return function(){mn.current=null}},[]),[$e.current,Kn]}function In(Ve){var $e=(0,pe.useRef)(Ve||null),Kt=(0,pe.useRef)();function qt(){window.clearTimeout(Kt.current)}function vn(_n){$e.current=_n,qt(),Kt.current=window.setTimeout(function(){$e.current=null,Kt.current=void 0},100)}function mn(){return $e.current}return(0,pe.useEffect)(function(){return qt},[]),[vn,mn]}function Xt(){var Ve=pe.useState(-1),$e=(0,Ce.Z)(Ve,2),Kt=$e[0],qt=$e[1],vn=pe.useState(-1),mn=(0,Ce.Z)(vn,2),_n=mn[0],Kn=mn[1],Zn=pe.useCallback(function(fr,sr){qt(fr),Kn(sr)},[]);return[Kt,_n,Zn]}var wn=ie(47273),pr=(0,wn.Z)()?window:null;function lr(Ve,$e){var Kt=(0,Je.Z)(Ve)==="object"?Ve:{},qt=Kt.offsetHeader,vn=qt===void 0?0:qt,mn=Kt.offsetSummary,_n=mn===void 0?0:mn,Kn=Kt.offsetScroll,Zn=Kn===void 0?0:Kn,fr=Kt.getContainer,sr=fr===void 0?function(){return pr}:fr,cr=sr()||pr;return pe.useMemo(function(){var Gr=!!Ve;return{isSticky:Gr,stickyClassName:Gr?"".concat($e,"-sticky-holder"):"",offsetHeader:vn,offsetSummary:_n,offsetScroll:Zn,container:cr}},[Zn,vn,_n,$e,cr])}function ar(Ve,$e,Kt){var qt=(0,pe.useMemo)(function(){for(var vn=[],mn=[],_n=0,Kn=0,Zn=0;Zn<$e;Zn+=1)if(Kt==="rtl"){mn[Zn]=Kn,Kn+=Ve[Zn]||0;var fr=$e-Zn-1;vn[fr]=_n,_n+=Ve[fr]||0}else{vn[Zn]=_n,_n+=Ve[Zn]||0;var sr=$e-Zn-1;mn[sr]=Kn,Kn+=Ve[sr]||0}return{left:vn,right:mn}},[Ve,$e,Kt]);return qt}var dr=ar;function Ir(Ve){var $e=Ve.className,Kt=Ve.children;return pe.createElement("div",{className:$e},Kt)}var tr=Ir,Yr=ie(8224),_t=ie(55468),xn=function($e,Kt){var qt,vn,mn=$e.scrollBodyRef,_n=$e.onScroll,Kn=$e.offsetScroll,Zn=$e.container,fr=Re(he,"prefixCls"),sr=((qt=mn.current)===null||qt===void 0?void 0:qt.scrollWidth)||0,cr=((vn=mn.current)===null||vn===void 0?void 0:vn.clientWidth)||0,Gr=sr&&cr*(cr/sr),Ur=pe.useRef(),Jr=Jn({scrollLeft:0,isHiddenScrollBar:!1}),xi=(0,Ce.Z)(Jr,2),pi=xi[0],Oi=xi[1],Ai=pe.useRef({delta:0,x:0}),Ri=pe.useState(!1),ya=(0,Ce.Z)(Ri,2),Ea=ya[0],aa=ya[1],ba=function(){aa(!1)},Ka=function(Ni){Ni.persist(),Ai.current.delta=Ni.pageX-pi.scrollLeft,Ai.current.x=0,aa(!0),Ni.preventDefault()},ji=function(Ni){var xa,Ja=Ni||((xa=window)===null||xa===void 0?void 0:xa.event),wa=Ja.buttons;if(!Ea||wa===0){Ea&&aa(!1);return}var Li=Ai.current.x+Ni.pageX-Ai.current.x-Ai.current.delta;Li<=0&&(Li=0),Li+Gr>=cr&&(Li=cr-Gr),_n({scrollLeft:Li/cr*(sr+2)}),Ai.current.x=Ni.pageX},ha=function(){if(mn.current){var Ni=(0,_t.os)(mn.current).top,xa=Ni+mn.current.offsetHeight,Ja=Zn===window?document.documentElement.scrollTop+window.innerHeight:(0,_t.os)(Zn).top+Zn.clientHeight;xa-(0,Zt.Z)()<=Ja||Ni>=Ja-Kn?Oi(function(wa){return(0,mt.Z)((0,mt.Z)({},wa),{},{isHiddenScrollBar:!0})}):Oi(function(wa){return(0,mt.Z)((0,mt.Z)({},wa),{},{isHiddenScrollBar:!1})})}},Qi=function(Ni){Oi(function(xa){return(0,mt.Z)((0,mt.Z)({},xa),{},{scrollLeft:Ni/sr*cr||0})})};return pe.useImperativeHandle(Kt,function(){return{setScrollLeft:Qi}}),pe.useEffect(function(){var Ei=(0,Yr.Z)(document.body,"mouseup",ba,!1),Ni=(0,Yr.Z)(document.body,"mousemove",ji,!1);return ha(),function(){Ei.remove(),Ni.remove()}},[Gr,Ea]),pe.useEffect(function(){var Ei=(0,Yr.Z)(Zn,"scroll",ha,!1),Ni=(0,Yr.Z)(window,"resize",ha,!1);return function(){Ei.remove(),Ni.remove()}},[Zn]),pe.useEffect(function(){pi.isHiddenScrollBar||Oi(function(Ei){var Ni=mn.current;return Ni?(0,mt.Z)((0,mt.Z)({},Ei),{},{scrollLeft:Ni.scrollLeft/Ni.scrollWidth*Ni.clientWidth}):Ei})},[pi.isHiddenScrollBar]),sr<=cr||!Gr||pi.isHiddenScrollBar?null:pe.createElement("div",{style:{height:(0,Zt.Z)(),width:cr,bottom:Kn},className:"".concat(fr,"-sticky-scroll")},pe.createElement("div",{onMouseDown:Ka,ref:Ur,className:Ne()("".concat(fr,"-sticky-scroll-bar"),(0,Te.Z)({},"".concat(fr,"-sticky-scroll-bar-active"),Ea)),style:{width:"".concat(Gr,"px"),transform:"translate3d(".concat(pi.scrollLeft,"px, 0, 0)")}}))},Dn=pe.forwardRef(xn);function Un(Ve){return null}var Bn=Un;function Vn(Ve){return null}var Nn=Vn,ir="rc-table",Cr=[],Nr={};function ai(){return"No Data"}function si(Ve){var $e,Kt=(0,mt.Z)({rowKey:"key",prefixCls:ir,emptyText:ai},Ve),qt=Kt.prefixCls,vn=Kt.className,mn=Kt.rowClassName,_n=Kt.style,Kn=Kt.data,Zn=Kt.rowKey,fr=Kt.scroll,sr=Kt.tableLayout,cr=Kt.direction,Gr=Kt.title,Ur=Kt.footer,Jr=Kt.summary,xi=Kt.caption,pi=Kt.id,Oi=Kt.showHeader,Ai=Kt.components,Ri=Kt.emptyText,ya=Kt.onRow,Ea=Kt.onHeaderRow,aa=Kt.internalHooks,ba=Kt.transformColumns,Ka=Kt.internalRefs,ji=Kt.tailor,ha=Kt.sticky,Qi=Kn||Cr,Ei=!!Qi.length,Ni=aa===be,xa=pe.useCallback(function(Ao,Zo){return(0,Dt.Z)(Ai,Ao)||Zo},[Ai]),Ja=pe.useMemo(function(){return typeof Zn=="function"?Zn:function(Ao){var Zo=Ao&&Ao[Zn];return Zo}},[Zn]),wa=xa(["body"]),Li=Xt(),Fa=(0,Ce.Z)(Li,3),Za=Fa[0],Ua=Fa[1],$a=Fa[2],Ho=hn(Kt,Qi,Ja),ro=(0,Ce.Z)(Ho,6),Oa=ro[0],Uo=ro[1],Aa=ro[2],Lo=ro[3],wo=ro[4],tl=ro[5],Da=fr==null?void 0:fr.x,Ca=pe.useState(0),Ma=(0,Ce.Z)(Ca,2),ma=Ma[0],na=Ma[1],qr=dt((0,mt.Z)((0,mt.Z)((0,mt.Z)({},Kt),Oa),{},{expandable:!!Oa.expandedRowRender,columnTitle:Oa.columnTitle,expandedKeys:Aa,getRowKey:Ja,onTriggerExpand:tl,expandIcon:Lo,expandIconColumnIndex:Oa.expandIconColumnIndex,direction:cr,scrollWidth:Ni&&ji&&typeof Da=="number"?Da:null}),Ni?ba:null),Gi=(0,Ce.Z)(qr,3),za=Gi[0],eo=Gi[1],Gl=Gi[2],El=Gl!=null?Gl:Da,Ls=pe.useMemo(function(){return{columns:za,flattenColumns:eo}},[za,eo]),hl=pe.useRef(),pl=pe.useRef(),Ba=pe.useRef(),Il=pe.useRef(),os=pe.useRef(),vo=pe.useState(!1),Di=(0,Ce.Z)(vo,2),Bo=Di[0],Al=Di[1],Ml=pe.useState(!1),_a=(0,Ce.Z)(Ml,2),No=_a[0],Zl=_a[1],To=Jn(new Map),Ta=(0,Ce.Z)(To,2),al=Ta[0],nl=Ta[1],au=Qe(eo),ls=au.map(function(Ao){return al.get(Ao)}),Fs=pe.useMemo(function(){return ls},[ls.join("_")]),us=dr(Fs,eo.length,cr),ol=fr&&Vt(fr.y),xl=fr&&Vt(El)||!!Oa.fixed,Ss=xl&&eo.some(function(Ao){var Zo=Ao.fixed;return Zo}),su=pe.useRef(),Os=lr(ha,qt),uu=Os.isSticky,bu=Os.offsetHeader,fc=Os.offsetSummary,So=Os.offsetScroll,Ko=Os.stickyClassName,Ul=Os.container,Yo=pe.useMemo(function(){return Jr==null?void 0:Jr(Qi)},[Jr,Qi]),ql=(ol||uu)&&pe.isValidElement(Yo)&&Yo.type===le&&Yo.props.fixed,$l,gs,cu;ol&&(gs={overflowY:"scroll",maxHeight:fr.y}),xl&&($l={overflowX:"auto"},ol||(gs={overflowY:"hidden"}),cu={width:El===!0?"auto":El,minWidth:"100%"});var hc=pe.useCallback(function(Ao,Zo){(0,bt.Z)(hl.current)&&nl(function(As){if(As.get(Ao)!==Zo){var pu=new Map(As);return pu.set(Ao,Zo),pu}return As})},[]),Iu=In(null),du=(0,Ce.Z)(Iu,2),Eo=du[0],Cl=du[1];function fu(Ao,Zo){Zo&&(typeof Zo=="function"?Zo(Ao):Zo.scrollLeft!==Ao&&(Zo.scrollLeft=Ao,Zo.scrollLeft!==Ao&&setTimeout(function(){Zo.scrollLeft=Ao},0)))}var Lu=(0,yt.Z)(function(Ao){var Zo=Ao.currentTarget,As=Ao.scrollLeft,pu=cr==="rtl",mu=typeof As=="number"?As:Zo.scrollLeft,Nc=Zo||Nr;if(!Cl()||Cl()===Nc){var Ql;Eo(Nc),fu(mu,pl.current),fu(mu,Ba.current),fu(mu,os.current),fu(mu,(Ql=su.current)===null||Ql===void 0?void 0:Ql.setScrollLeft)}var lu=Zo||pl.current;if(lu){var Tc=lu.scrollWidth,wu=lu.clientWidth;if(Tc===wu){Al(!1),Zl(!1);return}pu?(Al(-mu<Tc-wu),Zl(-mu>0)):(Al(mu>0),Zl(mu<Tc-wu))}}),vs=function(){xl&&Ba.current?Lu({currentTarget:Ba.current}):(Al(!1),Zl(!1))},Lc=function(Zo){var As=Zo.width;As!==ma&&(vs(),na(hl.current?hl.current.offsetWidth:As))},Yl=pe.useRef(!1);pe.useEffect(function(){Yl.current&&vs()},[xl,Kn,za.length]),pe.useEffect(function(){Yl.current=!0},[]);var ic=pe.useState(0),Fc=(0,Ce.Z)(ic,2),pc=Fc[0],Gu=Fc[1],Uu=pe.useState(!0),Mu=(0,Ce.Z)(Uu,2),zi=Mu[0],Oc=Mu[1];pe.useEffect(function(){(!ji||!Ni)&&(Ba.current instanceof Element?Gu((0,Zt.o)(Ba.current).width):Gu((0,Zt.o)(Il.current).width)),Oc((0,et.G)("position","sticky"))},[]),pe.useEffect(function(){Ni&&Ka&&(Ka.body.current=Ba.current)});var Yu=pe.useCallback(function(Ao){return pe.createElement(pe.Fragment,null,pe.createElement(Tt,Ao),ql==="top"&&pe.createElement(at,Ao,Yo))},[ql,Yo]),mc=pe.useCallback(function(Ao){return pe.createElement(at,Ao,Yo)},[Yo]),ou=xa(["table"],"table"),Fu=pe.useMemo(function(){return sr||(Ss?El==="max-content"?"auto":"fixed":ol||uu||eo.some(function(Ao){var Zo=Ao.ellipsis;return Zo})?"fixed":"auto")},[ol,Ss,eo,sr,uu]),Tu,Ru={colWidths:Fs,columCount:eo.length,stickyOffsets:us,onHeaderRow:Ea,fixHeader:ol,scroll:fr},gl=pe.useMemo(function(){return Ei?null:typeof Ri=="function"?Ri():Ri},[Ei,Ri]),Uc=pe.createElement(nr,{data:Qi,measureColumnWidth:ol||xl||uu}),ac=pe.createElement(xr,{colWidths:eo.map(function(Ao){var Zo=Ao.width;return Zo}),columns:eo}),hu=xi!=null?pe.createElement("caption",{className:"".concat(qt,"-caption")},xi):void 0,oc=(0,Cn.Z)(Kt,{data:!0}),xu=(0,Cn.Z)(Kt,{aria:!0});if(ol||uu){var ku;typeof wa=="function"?(ku=wa(Qi,{scrollbarSize:pc,ref:Ba,onScroll:Lu}),Ru.colWidths=eo.map(function(Ao,Zo){var As=Ao.width,pu=Zo===eo.length-1?As-pc:As;return typeof pu=="number"&&!Number.isNaN(pu)?pu:0})):ku=pe.createElement("div",{style:(0,mt.Z)((0,mt.Z)({},$l),gs),onScroll:Lu,ref:Ba,className:Ne()("".concat(qt,"-body"))},pe.createElement(ou,(0,ht.Z)({style:(0,mt.Z)((0,mt.Z)({},cu),{},{tableLayout:Fu})},xu),hu,ac,Uc,!ql&&Yo&&pe.createElement(at,{stickyOffsets:us,flattenColumns:eo,columns:za},Yo)));var Es=(0,mt.Z)((0,mt.Z)((0,mt.Z)({noData:!Qi.length,maxContentScroll:xl&&El==="max-content"},Ru),Ls),{},{direction:cr,stickyClassName:Ko,onScroll:Lu});Tu=pe.createElement(pe.Fragment,null,Oi!==!1&&pe.createElement(zn,(0,ht.Z)({},Es,{stickyTopOffset:bu,className:"".concat(qt,"-header"),ref:pl}),Yu),ku,ql&&ql!=="top"&&pe.createElement(zn,(0,ht.Z)({},Es,{stickyBottomOffset:fc,className:"".concat(qt,"-summary"),ref:os}),mc),uu&&pe.createElement(Dn,{ref:su,offsetScroll:So,scrollBodyRef:Ba,onScroll:Lu,container:Ul}))}else Tu=pe.createElement("div",{style:(0,mt.Z)((0,mt.Z)({},$l),gs),className:Ne()("".concat(qt,"-content")),onScroll:Lu,ref:Ba},pe.createElement(ou,(0,ht.Z)({style:(0,mt.Z)((0,mt.Z)({},cu),{},{tableLayout:Fu})},xu),hu,ac,Oi!==!1&&pe.createElement(Tt,(0,ht.Z)({},Ru,Ls)),Uc,Yo&&pe.createElement(at,{stickyOffsets:us,flattenColumns:eo,columns:za},Yo)));var Vs=pe.createElement("div",(0,ht.Z)({className:Ne()(qt,vn,($e={},(0,Te.Z)($e,"".concat(qt,"-rtl"),cr==="rtl"),(0,Te.Z)($e,"".concat(qt,"-ping-left"),Bo),(0,Te.Z)($e,"".concat(qt,"-ping-right"),No),(0,Te.Z)($e,"".concat(qt,"-layout-fixed"),sr==="fixed"),(0,Te.Z)($e,"".concat(qt,"-fixed-header"),ol),(0,Te.Z)($e,"".concat(qt,"-fixed-column"),Ss),(0,Te.Z)($e,"".concat(qt,"-scroll-horizontal"),xl),(0,Te.Z)($e,"".concat(qt,"-has-fix-left"),eo[0]&&eo[0].fixed),(0,Te.Z)($e,"".concat(qt,"-has-fix-right"),eo[eo.length-1]&&eo[eo.length-1].fixed==="right"),$e)),style:_n,id:pi,ref:hl},oc),Gr&&pe.createElement(tr,{className:"".concat(qt,"-title")},Gr(Qi)),pe.createElement("div",{ref:Il,className:"".concat(qt,"-container")},Tu),Ur&&pe.createElement(tr,{className:"".concat(qt,"-footer")},Ur(Qi)));xl&&(Vs=pe.createElement(Lt.Z,{onResize:Lc},Vs));var cs=Pn(eo,us,cr,za),Cu=pe.useMemo(function(){return{scrollX:El,prefixCls:qt,getComponent:xa,scrollbarSize:pc,direction:cr,fixedInfoList:cs,isSticky:uu,supportSticky:zi,componentWidth:ma,fixHeader:ol,fixColumn:Ss,horizonScroll:xl,tableLayout:Fu,rowClassName:mn,expandedRowClassName:Oa.expandedRowClassName,expandIcon:Lo,expandableType:Uo,expandRowByClick:Oa.expandRowByClick,expandedRowRender:Oa.expandedRowRender,onTriggerExpand:tl,expandIconColumnIndex:Oa.expandIconColumnIndex,indentSize:Oa.indentSize,allColumnsFixedLeft:eo.every(function(Ao){return Ao.fixed==="left"}),emptyNode:gl,columns:za,flattenColumns:eo,onColumnResize:hc,hoverStartRow:Za,hoverEndRow:Ua,onHover:$a,rowExpandable:Oa.rowExpandable,onRow:ya,getRowKey:Ja,expandedKeys:Aa,childrenColumnName:wo}},[El,qt,xa,pc,cr,cs,uu,zi,ma,ol,Ss,xl,Fu,mn,Oa.expandedRowClassName,Lo,Uo,Oa.expandRowByClick,Oa.expandedRowRender,tl,Oa.expandIconColumnIndex,Oa.indentSize,gl,za,eo,hc,Za,Ua,$a,Oa.rowExpandable,ya,Ja,Aa,wo]);return pe.createElement(he.Provider,{value:Cu},Vs)}function mi(Ve){return Wt(si,Ve)}var br=mi();br.EXPAND_COLUMN=ne,br.INTERNAL_HOOKS=be,br.Column=Bn,br.ColumnGroup=Nn,br.Summary=Ze;var Hr=br,Lr=ie(48911),ni=Ee(null),$r=Ee(null);function Fr(Ve,$e,Kt){var qt=$e||1;return Kt[Ve+qt]-(Kt[Ve]||0)}function Vr(Ve){var $e=Ve.rowInfo,Kt=Ve.column,qt=Ve.colIndex,vn=Ve.indent,mn=Ve.index,_n=Ve.renderIndex,Kn=Ve.record,Zn=Ve.style,fr=Ve.className,sr=Ve.inverse,cr=Ve.getHeight,Gr=Kt.render,Ur=Kt.dataIndex,Jr=Kt.className,xi=Kt.width,pi=Re($r,["columnsOffset"]),Oi=pi.columnsOffset,Ai=tt($e,Kt,qt,vn,mn),Ri=Ai.key,ya=Ai.fixedInfo,Ea=Ai.appendCellNode,aa=Ai.additionalCellProps,ba=aa.style,Ka=aa.colSpan,ji=Ka===void 0?1:Ka,ha=aa.rowSpan,Qi=ha===void 0?1:ha,Ei=qt-1,Ni=Fr(Ei,ji,Oi),xa=ji>1?xi-Ni:0,Ja=(0,mt.Z)((0,mt.Z)((0,mt.Z)({},ba),Zn),{},{flex:"0 0 ".concat(Ni,"px"),width:"".concat(Ni,"px"),marginRight:xa,pointerEvents:"auto"}),wa=pe.useMemo(function(){return sr?Qi<=1:ji===0||Qi===0||Qi>1},[Qi,ji,sr]);wa?Ja.visibility="hidden":sr&&(Ja.height=cr==null?void 0:cr(Qi));var Li=wa?function(){return null}:Gr,Fa={};return(Qi===0||ji===0)&&(Fa.rowSpan=1,Fa.colSpan=1),pe.createElement(Sn,(0,ht.Z)({className:Ne()(Jr,fr),ellipsis:Kt.ellipsis,align:Kt.align,scope:Kt.rowScope,component:"div",prefixCls:$e.prefixCls,key:Ri,record:Kn,index:mn,renderIndex:_n,dataIndex:Ur,render:Li,shouldCellUpdate:Kt.shouldCellUpdate},ya,{appendNode:Ea,additionalProps:(0,mt.Z)((0,mt.Z)({},aa),{},{style:Ja},Fa)}))}var ei=Vr,_r=["data","index","className","rowKey","style","extra","getHeight"],ki=pe.forwardRef(function(Ve,$e){var Kt=Ve.data,qt=Ve.index,vn=Ve.className,mn=Ve.rowKey,_n=Ve.style,Kn=Ve.extra,Zn=Ve.getHeight,fr=(0,ce.Z)(Ve,_r),sr=Kt.record,cr=Kt.indent,Gr=Kt.index,Ur=Re(he,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Jr=Ur.scrollX,xi=Ur.flattenColumns,pi=Ur.prefixCls,Oi=Ur.fixColumn,Ai=Ur.componentWidth,Ri=Oe(sr,mn,qt,cr),ya=Ri.rowSupportExpand,Ea=Ri.expanded,aa=Ri.rowProps,ba=Ri.expandedRowRender,Ka=Ri.expandedRowClassName,ji;if(ya&&Ea){var ha=ba(sr,qt,cr+1,Ea),Qi=Ka==null?void 0:Ka(sr,qt,cr),Ei={};Oi&&(Ei={style:(0,Te.Z)({},"--virtual-width","".concat(Ai,"px"))});var Ni="".concat(pi,"-expanded-row-cell");ji=pe.createElement("div",{className:Ne()("".concat(pi,"-expanded-row"),"".concat(pi,"-expanded-row-level-").concat(cr+1),Qi)},pe.createElement(Sn,{component:"div",prefixCls:pi,className:Ne()(Ni,(0,Te.Z)({},"".concat(Ni,"-fixed"),Oi)),additionalProps:Ei},ha))}var xa=(0,mt.Z)((0,mt.Z)({},_n),{},{width:Jr});Kn&&(xa.position="absolute",xa.pointerEvents="none");var Ja=pe.createElement("div",(0,ht.Z)({},aa,fr,{ref:ya?null:$e,className:Ne()(vn,"".concat(pi,"-row"),aa==null?void 0:aa.className,(0,Te.Z)({},"".concat(pi,"-row-extra"),Kn)),style:(0,mt.Z)((0,mt.Z)({},xa),aa==null?void 0:aa.style)}),xi.map(function(wa,Li){return pe.createElement(ei,{key:Li,rowInfo:Ri,column:wa,colIndex:Li,indent:cr,index:qt,renderIndex:Gr,record:sr,inverse:Kn,getHeight:Zn})}));return ya?pe.createElement("div",{ref:$e},Ja,ji):Ja}),Ki=ft(ki),hi=Ki,Dr=pe.forwardRef(function(Ve,$e){var Kt=Ve.data,qt=Ve.onScroll,vn=Re(he,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),mn=vn.flattenColumns,_n=vn.onColumnResize,Kn=vn.getRowKey,Zn=vn.expandedKeys,fr=vn.prefixCls,sr=vn.childrenColumnName,cr=vn.emptyNode,Gr=vn.scrollX,Ur=Re(ni),Jr=Ur.scrollY,xi=Ur.listItemHeight,pi=pe.useRef(),Oi=Qt(Kt,sr,Zn,Kn),Ai=pe.useMemo(function(){var ji=0;return mn.map(function(ha){var Qi=ha.width,Ei=ha.key;return ji+=Qi,[Ei,Qi,ji]})},[mn]),Ri=pe.useMemo(function(){return Ai.map(function(ji){return ji[2]})},[Ai]);pe.useEffect(function(){Ai.forEach(function(ji){var ha=(0,Ce.Z)(ji,2),Qi=ha[0],Ei=ha[1];_n(Qi,Ei)})},[Ai]),pe.useImperativeHandle($e,function(){var ji={};return Object.defineProperty(ji,"scrollLeft",{get:function(){var Qi;return((Qi=pi.current)===null||Qi===void 0?void 0:Qi.getScrollInfo().x)||0},set:function(Qi){var Ei;(Ei=pi.current)===null||Ei===void 0||Ei.scrollTo({left:Qi})}}),ji});var ya=function(ha,Qi){var Ei,Ni=(Ei=Oi[Qi])===null||Ei===void 0?void 0:Ei.record,xa=ha.onCell;if(xa){var Ja,wa=xa(Ni,Qi);return(Ja=wa==null?void 0:wa.rowSpan)!==null&&Ja!==void 0?Ja:1}return 1},Ea=function(ha){var Qi=ha.start,Ei=ha.end,Ni=ha.getSize,xa=ha.offsetY;if(Ei<0)return null;for(var Ja=mn.filter(function(Da){return ya(Da,Qi)===0}),wa=Qi,Li=function(Ca){if(Ja=Ja.filter(function(Ma){return ya(Ma,Ca)===0}),!Ja.length)return wa=Ca,"break"},Fa=Qi;Fa>=0;Fa-=1){var Za=Li(Fa);if(Za==="break")break}for(var Ua=mn.filter(function(Da){return ya(Da,Ei)!==1}),$a=Ei,Ho=function(Ca){if(Ua=Ua.filter(function(Ma){return ya(Ma,Ca)!==1}),!Ua.length)return $a=Math.max(Ca-1,Ei),"break"},ro=Ei;ro<Oi.length;ro+=1){var Oa=Ho(ro);if(Oa==="break")break}for(var Uo=[],Aa=function(Ca){var Ma=Oi[Ca];if(!Ma)return"continue";mn.some(function(ma){return ya(ma,Ca)>1})&&Uo.push(Ca)},Lo=wa;Lo<=$a;Lo+=1)var wo=Aa(Lo);var tl=Uo.map(function(Da){var Ca=Oi[Da],Ma=Kn(Ca.record,Da),ma=function(Gi){var za=Da+Gi-1,eo=Kn(Oi[za].record,za),Gl=Ni(Ma,eo);return Gl.bottom-Gl.top},na=Ni(Ma);return pe.createElement(hi,{key:Da,data:Ca,rowKey:Ma,index:Da,style:{top:-xa+na.top},extra:!0,getHeight:ma})});return tl},aa=pe.useMemo(function(){return{columnsOffset:Ri}},[Ri]),ba="".concat(fr,"-tbody"),Ka;return Oi.length?Ka=pe.createElement(Lr.Z,{fullHeight:!1,ref:pi,className:Ne()(ba,"".concat(ba,"-virtual")),height:Jr,itemHeight:xi||24,data:Oi,itemKey:function(ha){return Kn(ha.record)},scrollWidth:Gr,onVirtualScroll:function(ha){var Qi=ha.x;qt({scrollLeft:Qi})},extraRender:Ea},function(ji,ha,Qi){var Ei=Kn(ji.record,ha);return pe.createElement(hi,(0,ht.Z)({data:ji,rowKey:Ei,index:ha},Qi))}):Ka=pe.createElement("div",{className:Ne()("".concat(fr,"-placeholder"))},pe.createElement(Sn,{component:"div",prefixCls:fr},cr)),pe.createElement($r.Provider,{value:aa},Ka)}),or=ft(Dr),ui=or,gi=function($e,Kt){var qt=Kt.ref,vn=Kt.onScroll;return pe.createElement(ui,{ref:qt,data:$e,onScroll:vn})},Pi=100;function rt(Ve){var $e=Ve.columns,Kt=Ve.scroll,qt=Ve.prefixCls,vn=qt===void 0?ir:qt,mn=Ve.className,_n=Ve.listItemHeight,Kn=Kt||{},Zn=Kn.x,fr=Kn.y;typeof Zn!="number"&&(Zn=(($e||[]).length+1)*Pi),typeof fr!="number"&&(fr=500);var sr=pe.useMemo(function(){return{scrollY:fr,listItemHeight:_n}},[fr,_n]);return pe.createElement(ni.Provider,{value:sr},pe.createElement(Hr,(0,ht.Z)({},Ve,{className:Ne()(mn,"".concat(vn,"-virtual")),scroll:(0,mt.Z)((0,mt.Z)({},Kt),{},{x:Zn}),components:{body:gi},columns:$e,internalHooks:be,tailor:!0})))}function gt(Ve){return Wt(rt,Ve)}var Yt=gt(),gn=null;function Yn(Ve){return null}var Pt=Yn;function fn(Ve){return null}var Wn=fn,Qn=ie(2738),Mr=ie(68031),Ci=ie(36355),ri=ie(93891),ii=ie(19716),Ii=ie(8628),da=ie(31724),yr=ie(58421),Kr=ie(71418),Tr=ie(88088);function Zr(Ve){return function(Kt){let{prefixCls:qt,onExpand:vn,record:mn,expanded:_n,expandable:Kn}=Kt;const Zn=`${qt}-row-expand-icon`;return pe.createElement("button",{type:"button",onClick:fr=>{vn(mn,fr),fr.stopPropagation()},className:Ne()(Zn,{[`${Zn}-spaced`]:!Kn,[`${Zn}-expanded`]:Kn&&_n,[`${Zn}-collapsed`]:Kn&&!_n}),"aria-label":_n?Ve.collapse:Ve.expand,"aria-expanded":_n})}}var wi=Zr;function ua(Ve,$e){return"key"in Ve&&Ve.key!==void 0&&Ve.key!==null?Ve.key:Ve.dataIndex?Array.isArray(Ve.dataIndex)?Ve.dataIndex.join("."):Ve.dataIndex:$e}function la(Ve,$e){return $e?`${$e}-${Ve}`:`${Ve}`}function va(Ve,$e){return typeof Ve=="function"?Ve($e):Ve}function $i(Ve,$e){const Kt=va(Ve,$e);return Object.prototype.toString.call(Kt)==="[object Object]"?"":Kt}var ga={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"},Wa=ga,Xa=ie(7657),oo=function($e,Kt){return pe.createElement(Xa.Z,(0,ht.Z)({},$e,{ref:Kt,icon:Wa}))},yo=pe.forwardRef(oo),so=yo,sl=ie(56762);function ja(Ve){const $e=pe.useRef(Ve),Kt=(0,sl.Z)();return[()=>$e.current,qt=>{$e.current=qt,Kt()}]}var Va=ie(3113),Gn=ie(24905),Hn=ie(38854),Fn=ie(64165),gr=ie(20834),Rr=ie(40875),Or=ie(5112),ur=ie(17574),ci=ie(47472),_i=ie(92832);function Ji(Ve){let{value:$e,onChange:Kt,filterSearch:qt,tablePrefixCls:vn,locale:mn}=Ve;return qt?pe.createElement("div",{className:`${vn}-filter-dropdown-search`},pe.createElement(_i.default,{prefix:pe.createElement(ci.Z,null),placeholder:mn.filterSearchPlaceholder,onChange:Kt,value:$e,htmlSize:1,className:`${vn}-filter-dropdown-search-input`})):null}var Zi=Ji,di=ie(10228);const Vi=Ve=>{const{keyCode:$e}=Ve;$e===di.Z.ENTER&&Ve.stopPropagation()};var La=pe.forwardRef((Ve,$e)=>pe.createElement("div",{className:Ve.className,onClick:Kt=>Kt.stopPropagation(),onKeyDown:Vi,ref:$e},Ve.children));function Yi(Ve){let $e=[];return(Ve||[]).forEach(Kt=>{let{value:qt,children:vn}=Kt;$e.push(qt),vn&&($e=[].concat((0,Br.Z)($e),(0,Br.Z)(Yi(vn))))}),$e}function ra(Ve){return Ve.some($e=>{let{children:Kt}=$e;return Kt})}function Ia(Ve,$e){return typeof $e=="string"||typeof $e=="number"?$e==null?void 0:$e.toString().toLowerCase().includes(Ve.trim().toLowerCase()):!1}function io(Ve){let{filters:$e,prefixCls:Kt,filteredKeys:qt,filterMultiple:vn,searchValue:mn,filterSearch:_n}=Ve;return $e.map((Kn,Zn)=>{const fr=String(Kn.value);if(Kn.children)return{key:fr||Zn,label:Kn.text,popupClassName:`${Kt}-dropdown-submenu`,children:io({filters:Kn.children,prefixCls:Kt,filteredKeys:qt,filterMultiple:vn,searchValue:mn,filterSearch:_n})};const sr=vn?Gn.default:Or.ZP,cr={key:Kn.value!==void 0?fr:Zn,label:pe.createElement(pe.Fragment,null,pe.createElement(sr,{checked:qt.includes(fr)}),pe.createElement("span",null,Kn.text))};return mn.trim()?typeof _n=="function"?_n(mn,Kn)?cr:null:Ia(mn,Kn.text)?cr:null:cr})}function po(Ve){var $e,Kt;const{tablePrefixCls:qt,prefixCls:vn,column:mn,dropdownPrefixCls:_n,columnKey:Kn,filterMultiple:Zn,filterMode:fr="menu",filterSearch:sr=!1,filterState:cr,triggerFilter:Gr,locale:Ur,children:Jr,getPopupContainer:xi}=Ve,{filterDropdownOpen:pi,onFilterDropdownOpenChange:Oi,filterResetToDefaultFilteredValue:Ai,defaultFilteredValue:Ri,filterDropdownVisible:ya,onFilterDropdownVisibleChange:Ea}=mn,[aa,ba]=pe.useState(!1),Ka=!!(cr&&(!(($e=cr.filteredKeys)===null||$e===void 0)&&$e.length||cr.forceFiltered)),ji=qr=>{ba(qr),Oi==null||Oi(qr),Ea==null||Ea(qr)},ha=(Kt=pi!=null?pi:ya)!==null&&Kt!==void 0?Kt:aa,Qi=cr==null?void 0:cr.filteredKeys,[Ei,Ni]=ja(Qi||[]),xa=qr=>{let{selectedKeys:Gi}=qr;Ni(Gi)},Ja=(qr,Gi)=>{let{node:za,checked:eo}=Gi;xa(Zn?{selectedKeys:qr}:{selectedKeys:eo&&za.key?[za.key]:[]})};pe.useEffect(()=>{aa&&xa({selectedKeys:Qi||[]})},[Qi]);const[wa,Li]=pe.useState([]),Fa=qr=>{Li(qr)},[Za,Ua]=pe.useState(""),$a=qr=>{const{value:Gi}=qr.target;Ua(Gi)};pe.useEffect(()=>{aa||Ua("")},[aa]);const Ho=qr=>{const Gi=qr&&qr.length?qr:null;if(Gi===null&&(!cr||!cr.filteredKeys)||(0,Ae.Z)(Gi,cr==null?void 0:cr.filteredKeys,!0))return null;Gr({column:mn,key:Kn,filteredKeys:Gi})},ro=()=>{ji(!1),Ho(Ei())},Oa=function(){let{confirm:qr,closeDropdown:Gi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};qr&&Ho([]),Gi&&ji(!1),Ua(""),Ni(Ai?(Ri||[]).map(za=>String(za)):[])},Uo=function(){let{closeDropdown:qr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};qr&&ji(!1),Ho(Ei())},Aa=qr=>{qr&&Qi!==void 0&&Ni(Qi||[]),ji(qr),!qr&&!mn.filterDropdown&&ro()},Lo=Ne()({[`${_n}-menu-without-submenu`]:!ra(mn.filters||[])}),wo=qr=>{if(qr.target.checked){const Gi=Yi(mn==null?void 0:mn.filters).map(za=>String(za));Ni(Gi)}else Ni([])},tl=qr=>{let{filters:Gi}=qr;return(Gi||[]).map((za,eo)=>{const Gl=String(za.value),El={title:za.text,key:za.value!==void 0?Gl:eo};return za.children&&(El.children=tl({filters:za.children})),El})},Da=qr=>{var Gi;return Object.assign(Object.assign({},qr),{text:qr.title,value:qr.key,children:((Gi=qr.children)===null||Gi===void 0?void 0:Gi.map(za=>Da(za)))||[]})};let Ca;if(typeof mn.filterDropdown=="function")Ca=mn.filterDropdown({prefixCls:`${_n}-custom`,setSelectedKeys:qr=>xa({selectedKeys:qr}),selectedKeys:Ei(),confirm:Uo,clearFilters:Oa,filters:mn.filters,visible:ha,close:()=>{ji(!1)}});else if(mn.filterDropdown)Ca=mn.filterDropdown;else{const qr=Ei()||[],Gi=()=>(mn.filters||[]).length===0?pe.createElement(Fn.Z,{image:Fn.Z.PRESENTED_IMAGE_SIMPLE,description:Ur.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):fr==="tree"?pe.createElement(pe.Fragment,null,pe.createElement(Zi,{filterSearch:sr,value:Za,onChange:$a,tablePrefixCls:qt,locale:Ur}),pe.createElement("div",{className:`${qt}-filter-dropdown-tree`},Zn?pe.createElement(Gn.default,{checked:qr.length===Yi(mn.filters).length,indeterminate:qr.length>0&&qr.length<Yi(mn.filters).length,className:`${qt}-filter-dropdown-checkall`,onChange:wo},Ur.filterCheckall):null,pe.createElement(ur.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Zn,checkStrictly:!Zn,className:`${_n}-menu`,onCheck:Ja,checkedKeys:qr,selectedKeys:qr,showIcon:!1,treeData:tl({filters:mn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Za.trim()?eo=>typeof sr=="function"?sr(Za,Da(eo)):Ia(Za,eo.title):void 0}))):pe.createElement(pe.Fragment,null,pe.createElement(Zi,{filterSearch:sr,value:Za,onChange:$a,tablePrefixCls:qt,locale:Ur}),pe.createElement(gr.default,{selectable:!0,multiple:Zn,prefixCls:`${_n}-menu`,className:Lo,onSelect:xa,onDeselect:xa,selectedKeys:qr,getPopupContainer:xi,openKeys:wa,onOpenChange:Fa,items:io({filters:mn.filters||[],filterSearch:sr,prefixCls:vn,filteredKeys:Ei(),filterMultiple:Zn,searchValue:Za})})),za=()=>Ai?(0,Ae.Z)((Ri||[]).map(eo=>String(eo)),qr,!0):qr.length===0;Ca=pe.createElement(pe.Fragment,null,Gi(),pe.createElement("div",{className:`${vn}-dropdown-btns`},pe.createElement(Va.ZP,{type:"link",size:"small",disabled:za(),onClick:()=>Oa()},Ur.filterReset),pe.createElement(Va.ZP,{type:"primary",size:"small",onClick:ro},Ur.filterConfirm)))}mn.filterDropdown&&(Ca=pe.createElement(Rr.J,{selectable:void 0},Ca));const Ma=()=>pe.createElement(La,{className:`${vn}-dropdown`},Ca);let ma;typeof mn.filterIcon=="function"?ma=mn.filterIcon(Ka):mn.filterIcon?ma=mn.filterIcon:ma=pe.createElement(so,null);const{direction:na}=pe.useContext(Ci.E_);return pe.createElement("div",{className:`${vn}-column`},pe.createElement("span",{className:`${qt}-column-title`},Jr),pe.createElement(Hn.Z,{dropdownRender:Ma,trigger:["click"],open:ha,onOpenChange:Aa,getPopupContainer:xi,placement:na==="rtl"?"bottomLeft":"bottomRight"},pe.createElement("span",{role:"button",tabIndex:-1,className:Ne()(`${vn}-trigger`,{active:Ka}),onClick:qr=>{qr.stopPropagation()}},ma)))}var il=po;function wl(Ve,$e,Kt){let qt=[];return(Ve||[]).forEach((vn,mn)=>{var _n;const Kn=la(mn,Kt);if(vn.filters||"filterDropdown"in vn||"onFilter"in vn)if("filteredValue"in vn){let Zn=vn.filteredValue;"filterDropdown"in vn||(Zn=(_n=Zn==null?void 0:Zn.map(String))!==null&&_n!==void 0?_n:Zn),qt.push({column:vn,key:ua(vn,Kn),filteredKeys:Zn,forceFiltered:vn.filtered})}else qt.push({column:vn,key:ua(vn,Kn),filteredKeys:$e&&vn.defaultFilteredValue?vn.defaultFilteredValue:void 0,forceFiltered:vn.filtered});"children"in vn&&(qt=[].concat((0,Br.Z)(qt),(0,Br.Z)(wl(vn.children,$e,Kn))))}),qt}function Bs(Ve,$e,Kt,qt,vn,mn,_n,Kn){return Kt.map((Zn,fr)=>{const sr=la(fr,Kn),{filterMultiple:cr=!0,filterMode:Gr,filterSearch:Ur}=Zn;let Jr=Zn;if(Jr.filters||Jr.filterDropdown){const xi=ua(Jr,sr),pi=qt.find(Oi=>{let{key:Ai}=Oi;return xi===Ai});Jr=Object.assign(Object.assign({},Jr),{title:Oi=>pe.createElement(il,{tablePrefixCls:Ve,prefixCls:`${Ve}-filter`,dropdownPrefixCls:$e,column:Jr,columnKey:xi,filterState:pi,filterMultiple:cr,filterMode:Gr,filterSearch:Ur,triggerFilter:mn,locale:vn,getPopupContainer:_n},va(Zn.title,Oi))})}return"children"in Jr&&(Jr=Object.assign(Object.assign({},Jr),{children:Bs(Ve,$e,Jr.children,qt,vn,mn,_n,sr)})),Jr})}function ul(Ve){const $e={};return Ve.forEach(Kt=>{let{key:qt,filteredKeys:vn,column:mn}=Kt;const{filters:_n,filterDropdown:Kn}=mn;if(Kn)$e[qt]=vn||null;else if(Array.isArray(vn)){const Zn=Yi(_n);$e[qt]=Zn.filter(fr=>vn.includes(String(fr)))}else $e[qt]=null}),$e}function cl(Ve,$e){return $e.reduce((Kt,qt)=>{const{column:{onFilter:vn,filters:mn},filteredKeys:_n}=qt;return vn&&_n&&_n.length?Kt.filter(Kn=>_n.some(Zn=>{const fr=Yi(mn),sr=fr.findIndex(Gr=>String(Gr)===String(Zn)),cr=sr!==-1?fr[sr]:Zn;return vn(cr,Kn)})):Kt},Ve)}const Jo=Ve=>Ve.flatMap($e=>"children"in $e?[$e].concat((0,Br.Z)(Jo($e.children||[]))):[$e]);function hs(Ve){let{prefixCls:$e,dropdownPrefixCls:Kt,mergedColumns:qt,onFilterChange:vn,getPopupContainer:mn,locale:_n}=Ve;const Kn=pe.useMemo(()=>Jo(qt||[]),[qt]),[Zn,fr]=pe.useState(()=>wl(Kn,!0)),sr=pe.useMemo(()=>{const Jr=wl(Kn,!1);if(Jr.length===0)return Jr;let xi=!0,pi=!0;if(Jr.forEach(Oi=>{let{filteredKeys:Ai}=Oi;Ai!==void 0?xi=!1:pi=!1}),xi){const Oi=(Kn||[]).map((Ai,Ri)=>ua(Ai,la(Ri)));return Zn.filter(Ai=>{let{key:Ri}=Ai;return Oi.includes(Ri)}).map(Ai=>{const Ri=Kn[Oi.findIndex(ya=>ya===Ai.key)];return Object.assign(Object.assign({},Ai),{column:Object.assign(Object.assign({},Ai.column),Ri),forceFiltered:Ri.filtered})})}return Jr},[Kn,Zn]),cr=pe.useMemo(()=>ul(sr),[sr]),Gr=Jr=>{const xi=sr.filter(pi=>{let{key:Oi}=pi;return Oi!==Jr.key});xi.push(Jr),fr(xi),vn(ul(xi),xi)};return[Jr=>Bs($e,Kt,Jr,sr,_n,Gr,mn),sr,cr]}var Bl=hs;function ts(Ve,$e,Kt){const qt=pe.useRef({});function vn(mn){if(!qt.current||qt.current.data!==Ve||qt.current.childrenColumnName!==$e||qt.current.getRowKey!==Kt){let Kn=function(Zn){Zn.forEach((fr,sr)=>{const cr=Kt(fr,sr);_n.set(cr,fr),fr&&typeof fr=="object"&&$e in fr&&Kn(fr[$e]||[])})};const _n=new Map;Kn(Ve),qt.current={data:Ve,childrenColumnName:$e,kvMap:_n,getRowKey:Kt}}return qt.current.kvMap.get(mn)}return[vn]}var Rs=ie(50371),_l=function(Ve,$e){var Kt={};for(var qt in Ve)Object.prototype.hasOwnProperty.call(Ve,qt)&&$e.indexOf(qt)<0&&(Kt[qt]=Ve[qt]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,qt=Object.getOwnPropertySymbols(Ve);vn<qt.length;vn++)$e.indexOf(qt[vn])<0&&Object.prototype.propertyIsEnumerable.call(Ve,qt[vn])&&(Kt[qt[vn]]=Ve[qt[vn]]);return Kt};const _o=10;function Io(Ve,$e){const Kt={current:Ve.current,pageSize:Ve.pageSize};return Object.keys($e&&typeof $e=="object"?$e:{}).forEach(vn=>{const mn=Ve[vn];typeof mn!="function"&&(Kt[vn]=mn)}),Kt}function bo(Ve,$e,Kt){const qt=Kt&&typeof Kt=="object"?Kt:{},{total:vn=0}=qt,mn=_l(qt,["total"]),[_n,Kn]=(0,pe.useState)(()=>({current:"defaultCurrent"in mn?mn.defaultCurrent:1,pageSize:"defaultPageSize"in mn?mn.defaultPageSize:_o})),Zn=(0,Rs.Z)(_n,mn,{total:vn>0?vn:Ve}),fr=Math.ceil((vn||Ve)/Zn.pageSize);Zn.current>fr&&(Zn.current=fr||1);const sr=(Gr,Ur)=>{Kn({current:Gr!=null?Gr:1,pageSize:Ur||Zn.pageSize})},cr=(Gr,Ur)=>{var Jr;Kt&&((Jr=Kt.onChange)===null||Jr===void 0||Jr.call(Kt,Gr,Ur)),sr(Gr,Ur),$e(Gr,Ur||(Zn==null?void 0:Zn.pageSize))};return Kt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Zn),{onChange:cr}),sr]}var Rl=bo,Us=ie(84105),zl=ie(35654),uo=ie(90782),no=ie(71430),jo=ie(18929);const dl={},qo="SELECT_ALL",jl="SELECT_INVERT",Jl="SELECT_NONE",ps=[],Vl=(Ve,$e)=>{let Kt=[];return($e||[]).forEach(qt=>{Kt.push(qt),qt&&typeof qt=="object"&&Ve in qt&&(Kt=[].concat((0,Br.Z)(Kt),(0,Br.Z)(Vl(Ve,qt[Ve]))))}),Kt};var ml=(Ve,$e)=>{const{preserveSelectedRowKeys:Kt,selectedRowKeys:qt,defaultSelectedRowKeys:vn,getCheckboxProps:mn,onChange:_n,onSelect:Kn,onSelectAll:Zn,onSelectInvert:fr,onSelectNone:sr,onSelectMultiple:cr,columnWidth:Gr,type:Ur,selections:Jr,fixed:xi,renderCell:pi,hideSelectAll:Oi,checkStrictly:Ai=!0}=$e||{},{prefixCls:Ri,data:ya,pageData:Ea,getRecordByKey:aa,getRowKey:ba,expandType:Ka,childrenColumnName:ji,locale:ha,getPopupContainer:Qi}=Ve,[Ei,Ni]=(0,jo.Z)(qt||vn||ps,{value:qt}),xa=pe.useRef(new Map),Ja=(0,pe.useCallback)(Da=>{if(Kt){const Ca=new Map;Da.forEach(Ma=>{let ma=aa(Ma);!ma&&xa.current.has(Ma)&&(ma=xa.current.get(Ma)),Ca.set(Ma,ma)}),xa.current=Ca}},[aa,Kt]);pe.useEffect(()=>{Ja(Ei)},[Ei]);const{keyEntities:wa}=(0,pe.useMemo)(()=>{if(Ai)return{keyEntities:null};let Da=ya;if(Kt){const Ca=new Set(ya.map((ma,na)=>ba(ma,na))),Ma=Array.from(xa.current).reduce((ma,na)=>{let[qr,Gi]=na;return Ca.has(qr)?ma:ma.concat(Gi)},[]);Da=[].concat((0,Br.Z)(Da),(0,Br.Z)(Ma))}return(0,no.I8)(Da,{externalGetKey:ba,childrenPropName:ji})},[ya,ba,Ai,ji,Kt]),Li=(0,pe.useMemo)(()=>Vl(ji,Ea),[ji,Ea]),Fa=(0,pe.useMemo)(()=>{const Da=new Map;return Li.forEach((Ca,Ma)=>{const ma=ba(Ca,Ma),na=(mn?mn(Ca):null)||{};Da.set(ma,na)}),Da},[Li,ba,mn]),Za=(0,pe.useCallback)(Da=>{var Ca;return!!(!((Ca=Fa.get(ba(Da)))===null||Ca===void 0)&&Ca.disabled)},[Fa,ba]),[Ua,$a]=(0,pe.useMemo)(()=>{if(Ai)return[Ei||[],[]];const{checkedKeys:Da,halfCheckedKeys:Ca}=(0,uo.S)(Ei,!0,wa,Za);return[Da||[],Ca]},[Ei,Ai,wa,Za]),Ho=(0,pe.useMemo)(()=>{const Da=Ur==="radio"?Ua.slice(0,1):Ua;return new Set(Da)},[Ua,Ur]),ro=(0,pe.useMemo)(()=>Ur==="radio"?new Set:new Set($a),[$a,Ur]),[Oa,Uo]=(0,pe.useState)(null);pe.useEffect(()=>{$e||Ni(ps)},[!!$e]);const Aa=(0,pe.useCallback)((Da,Ca)=>{let Ma,ma;Ja(Da),Kt?(Ma=Da,ma=Da.map(na=>xa.current.get(na))):(Ma=[],ma=[],Da.forEach(na=>{const qr=aa(na);qr!==void 0&&(Ma.push(na),ma.push(qr))})),Ni(Ma),_n==null||_n(Ma,ma,{type:Ca})},[Ni,aa,_n,Kt]),Lo=(0,pe.useCallback)((Da,Ca,Ma,ma)=>{if(Kn){const na=Ma.map(qr=>aa(qr));Kn(aa(Da),Ca,na,ma)}Aa(Ma,"single")},[Kn,aa,Aa]),wo=(0,pe.useMemo)(()=>!Jr||Oi?null:(Jr===!0?[qo,jl,Jl]:Jr).map(Ca=>Ca===qo?{key:"all",text:ha.selectionAll,onSelect(){Aa(ya.map((Ma,ma)=>ba(Ma,ma)).filter(Ma=>{const ma=Fa.get(Ma);return!(ma!=null&&ma.disabled)||Ho.has(Ma)}),"all")}}:Ca===jl?{key:"invert",text:ha.selectInvert,onSelect(){const Ma=new Set(Ho);Ea.forEach((na,qr)=>{const Gi=ba(na,qr),za=Fa.get(Gi);za!=null&&za.disabled||(Ma.has(Gi)?Ma.delete(Gi):Ma.add(Gi))});const ma=Array.from(Ma);fr&&fr(ma),Aa(ma,"invert")}}:Ca===Jl?{key:"none",text:ha.selectNone,onSelect(){sr==null||sr(),Aa(Array.from(Ho).filter(Ma=>{const ma=Fa.get(Ma);return ma==null?void 0:ma.disabled}),"none")}}:Ca).map(Ca=>Object.assign(Object.assign({},Ca),{onSelect:function(){for(var Ma,ma,na=arguments.length,qr=new Array(na),Gi=0;Gi<na;Gi++)qr[Gi]=arguments[Gi];(ma=Ca.onSelect)===null||ma===void 0||(Ma=ma).call.apply(Ma,[Ca].concat(qr)),Uo(null)}})),[Jr,Ho,Ea,ba,fr,Aa]);return[(0,pe.useCallback)(Da=>{var Ca;if(!$e)return Da.filter(vo=>vo!==dl);let Ma=(0,Br.Z)(Da);const ma=new Set(Ho),na=Li.map(ba).filter(vo=>!Fa.get(vo).disabled),qr=na.every(vo=>ma.has(vo)),Gi=na.some(vo=>ma.has(vo)),za=()=>{const vo=[];qr?na.forEach(Bo=>{ma.delete(Bo),vo.push(Bo)}):na.forEach(Bo=>{ma.has(Bo)||(ma.add(Bo),vo.push(Bo))});const Di=Array.from(ma);Zn==null||Zn(!qr,Di.map(Bo=>aa(Bo)),vo.map(Bo=>aa(Bo))),Aa(Di,"all"),Uo(null)};let eo;if(Ur!=="radio"){let vo;if(wo){const _a={getPopupContainer:Qi,items:wo.map((No,Zl)=>{const{key:To,text:Ta,onSelect:al}=No;return{key:To!=null?To:Zl,onClick:()=>{al==null||al(na)},label:Ta}})};vo=pe.createElement("div",{className:`${Ri}-selection-extra`},pe.createElement(Hn.Z,{menu:_a,getPopupContainer:Qi},pe.createElement("span",null,pe.createElement(Us.Z,null))))}const Di=Li.map((_a,No)=>{const Zl=ba(_a,No),To=Fa.get(Zl)||{};return Object.assign({checked:ma.has(Zl)},To)}).filter(_a=>{let{disabled:No}=_a;return No}),Bo=!!Di.length&&Di.length===Li.length,Al=Bo&&Di.every(_a=>{let{checked:No}=_a;return No}),Ml=Bo&&Di.some(_a=>{let{checked:No}=_a;return No});eo=!Oi&&pe.createElement("div",{className:`${Ri}-selection`},pe.createElement(Gn.default,{checked:Bo?Al:!!Li.length&&qr,indeterminate:Bo?!Al&&Ml:!qr&&Gi,onChange:za,disabled:Li.length===0||Bo,"aria-label":vo?"Custom selection":"Select all",skipGroup:!0}),vo)}let Gl;Ur==="radio"?Gl=(vo,Di,Bo)=>{const Al=ba(Di,Bo),Ml=ma.has(Al);return{node:pe.createElement(Or.ZP,Object.assign({},Fa.get(Al),{checked:Ml,onClick:_a=>_a.stopPropagation(),onChange:_a=>{ma.has(Al)||Lo(Al,!0,[Al],_a.nativeEvent)}})),checked:Ml}}:Gl=(vo,Di,Bo)=>{var Al;const Ml=ba(Di,Bo),_a=ma.has(Ml),No=ro.has(Ml),Zl=Fa.get(Ml);let To;return Ka==="nest"?To=No:To=(Al=Zl==null?void 0:Zl.indeterminate)!==null&&Al!==void 0?Al:No,{node:pe.createElement(Gn.default,Object.assign({},Zl,{indeterminate:To,checked:_a,skipGroup:!0,onClick:Ta=>Ta.stopPropagation(),onChange:Ta=>{let{nativeEvent:al}=Ta;const{shiftKey:nl}=al;let au=-1,ls=-1;if(nl&&Ai){const Fs=new Set([Oa,Ml]);na.some((us,ol)=>{if(Fs.has(us))if(au===-1)au=ol;else return ls=ol,!0;return!1})}if(ls!==-1&&au!==ls&&Ai){const Fs=na.slice(au,ls+1),us=[];_a?Fs.forEach(xl=>{ma.has(xl)&&(us.push(xl),ma.delete(xl))}):Fs.forEach(xl=>{ma.has(xl)||(us.push(xl),ma.add(xl))});const ol=Array.from(ma);cr==null||cr(!_a,ol.map(xl=>aa(xl)),us.map(xl=>aa(xl))),Aa(ol,"multiple")}else{const Fs=Ua;if(Ai){const us=_a?(0,zl._5)(Fs,Ml):(0,zl.L0)(Fs,Ml);Lo(Ml,!_a,us,al)}else{const us=(0,uo.S)([].concat((0,Br.Z)(Fs),[Ml]),!0,wa,Za),{checkedKeys:ol,halfCheckedKeys:xl}=us;let Ss=ol;if(_a){const su=new Set(ol);su.delete(Ml),Ss=(0,uo.S)(Array.from(su),{checked:!1,halfCheckedKeys:xl},wa,Za).checkedKeys}Lo(Ml,!_a,Ss,al)}}Uo(_a?null:Ml)}})),checked:_a}};const El=(vo,Di,Bo)=>{const{node:Al,checked:Ml}=Gl(vo,Di,Bo);return pi?pi(Ml,Di,Bo,Al):Al};if(!Ma.includes(dl))if(Ma.findIndex(vo=>{var Di;return((Di=vo[kr])===null||Di===void 0?void 0:Di.columnType)==="EXPAND_COLUMN"})===0){const[vo,...Di]=Ma;Ma=[vo,dl].concat((0,Br.Z)(Di))}else Ma=[dl].concat((0,Br.Z)(Ma));const Ls=Ma.indexOf(dl);Ma=Ma.filter((vo,Di)=>vo!==dl||Di===Ls);const hl=Ma[Ls-1],pl=Ma[Ls+1];let Ba=xi;Ba===void 0&&((pl==null?void 0:pl.fixed)!==void 0?Ba=pl.fixed:(hl==null?void 0:hl.fixed)!==void 0&&(Ba=hl.fixed)),Ba&&hl&&((Ca=hl[kr])===null||Ca===void 0?void 0:Ca.columnType)==="EXPAND_COLUMN"&&hl.fixed===void 0&&(hl.fixed=Ba);const Il=Ne()(`${Ri}-selection-col`,{[`${Ri}-selection-col-with-dropdown`]:Jr&&Ur==="checkbox"}),os={fixed:Ba,width:Gr,className:`${Ri}-selection-column`,title:$e.columnTitle||eo,render:El,onCell:$e.onCell,[kr]:{className:Il}};return Ma.map(vo=>vo===dl?os:vo)},[ba,Li,$e,Ua,Ho,ro,Gr,wo,Ka,Oa,Fa,cr,Lo,Za]),Ho]},$o=ie(89489),js=ie(59477),Pl=ie(6848);const Hl="ascend",ns="descend";function zs(Ve){return typeof Ve.sorter=="object"&&typeof Ve.sorter.multiple=="number"?Ve.sorter.multiple:!1}function Sl(Ve){return typeof Ve=="function"?Ve:Ve&&typeof Ve=="object"&&Ve.compare?Ve.compare:!1}function eu(Ve,$e){return $e?Ve[Ve.indexOf($e)+1]:Ve[0]}function rs(Ve,$e,Kt){let qt=[];function vn(mn,_n){qt.push({column:mn,key:ua(mn,_n),multiplePriority:zs(mn),sortOrder:mn.sortOrder})}return(Ve||[]).forEach((mn,_n)=>{const Kn=la(_n,Kt);mn.children?("sortOrder"in mn&&vn(mn,Kn),qt=[].concat((0,Br.Z)(qt),(0,Br.Z)(rs(mn.children,$e,Kn)))):mn.sorter&&("sortOrder"in mn?vn(mn,Kn):$e&&mn.defaultSortOrder&&qt.push({column:mn,key:ua(mn,Kn),multiplePriority:zs(mn),sortOrder:mn.defaultSortOrder}))}),qt}function Cs(Ve,$e,Kt,qt,vn,mn,_n,Kn){return($e||[]).map((Zn,fr)=>{const sr=la(fr,Kn);let cr=Zn;if(cr.sorter){const Gr=cr.sortDirections||vn,Ur=cr.showSorterTooltip===void 0?_n:cr.showSorterTooltip,Jr=ua(cr,sr),xi=Kt.find(Ka=>{let{key:ji}=Ka;return ji===Jr}),pi=xi?xi.sortOrder:null,Oi=eu(Gr,pi);let Ai;if(Zn.sortIcon)Ai=Zn.sortIcon({sortOrder:pi});else{const Ka=Gr.includes(Hl)&&pe.createElement(js.Z,{className:Ne()(`${Ve}-column-sorter-up`,{active:pi===Hl})}),ji=Gr.includes(ns)&&pe.createElement($o.Z,{className:Ne()(`${Ve}-column-sorter-down`,{active:pi===ns})});Ai=pe.createElement("span",{className:Ne()(`${Ve}-column-sorter`,{[`${Ve}-column-sorter-full`]:!!(Ka&&ji)})},pe.createElement("span",{className:`${Ve}-column-sorter-inner`,"aria-hidden":"true"},Ka,ji))}const{cancelSort:Ri,triggerAsc:ya,triggerDesc:Ea}=mn||{};let aa=Ri;Oi===ns?aa=Ea:Oi===Hl&&(aa=ya);const ba=typeof Ur=="object"?Ur:{title:aa};cr=Object.assign(Object.assign({},cr),{className:Ne()(cr.className,{[`${Ve}-column-sort`]:pi}),title:Ka=>{const ji=pe.createElement("div",{className:`${Ve}-column-sorters`},pe.createElement("span",{className:`${Ve}-column-title`},va(Zn.title,Ka)),Ai);return Ur?pe.createElement(Pl.Z,Object.assign({},ba),ji):ji},onHeaderCell:Ka=>{const ji=Zn.onHeaderCell&&Zn.onHeaderCell(Ka)||{},ha=ji.onClick,Qi=ji.onKeyDown;ji.onClick=xa=>{qt({column:Zn,key:Jr,sortOrder:Oi,multiplePriority:zs(Zn)}),ha==null||ha(xa)},ji.onKeyDown=xa=>{xa.keyCode===di.Z.ENTER&&(qt({column:Zn,key:Jr,sortOrder:Oi,multiplePriority:zs(Zn)}),Qi==null||Qi(xa))};const Ei=$i(Zn.title,{}),Ni=Ei==null?void 0:Ei.toString();return pi?ji["aria-sort"]=pi==="ascend"?"ascending":"descending":ji["aria-label"]=Ni||"",ji.className=Ne()(ji.className,`${Ve}-column-has-sorters`),ji.tabIndex=0,Zn.ellipsis&&(ji.title=(Ei!=null?Ei:"").toString()),ji}})}return"children"in cr&&(cr=Object.assign(Object.assign({},cr),{children:Cs(Ve,cr.children,Kt,qt,vn,mn,_n,sr)})),cr})}function Ps(Ve){const{column:$e,sortOrder:Kt}=Ve;return{column:$e,order:Kt,field:$e.dataIndex,columnKey:$e.key}}function Hs(Ve){const $e=Ve.filter(Kt=>{let{sortOrder:qt}=Kt;return qt}).map(Ps);return $e.length===0&&Ve.length?Object.assign(Object.assign({},Ps(Ve[Ve.length-1])),{column:void 0}):$e.length<=1?$e[0]||{}:$e}function mo(Ve,$e,Kt){const qt=$e.slice().sort((_n,Kn)=>Kn.multiplePriority-_n.multiplePriority),vn=Ve.slice(),mn=qt.filter(_n=>{let{column:{sorter:Kn},sortOrder:Zn}=_n;return Sl(Kn)&&Zn});return mn.length?vn.sort((_n,Kn)=>{for(let Zn=0;Zn<mn.length;Zn+=1){const fr=mn[Zn],{column:{sorter:sr},sortOrder:cr}=fr,Gr=Sl(sr);if(Gr&&cr){const Ur=Gr(_n,Kn,cr);if(Ur!==0)return cr===Hl?Ur:-Ur}}return 0}).map(_n=>{const Kn=_n[Kt];return Kn?Object.assign(Object.assign({},_n),{[Kt]:mo(Kn,$e,Kt)}):_n}):vn}function Mo(Ve){let{prefixCls:$e,mergedColumns:Kt,onSorterChange:qt,sortDirections:vn,tableLocale:mn,showSorterTooltip:_n}=Ve;const[Kn,Zn]=pe.useState(rs(Kt,!0)),fr=pe.useMemo(()=>{let Jr=!0;const xi=rs(Kt,!1);if(!xi.length)return Kn;const pi=[];function Oi(Ri){Jr?pi.push(Ri):pi.push(Object.assign(Object.assign({},Ri),{sortOrder:null}))}let Ai=null;return xi.forEach(Ri=>{Ai===null?(Oi(Ri),Ri.sortOrder&&(Ri.multiplePriority===!1?Jr=!1:Ai=!0)):(Ai&&Ri.multiplePriority!==!1||(Jr=!1),Oi(Ri))}),pi},[Kt,Kn]),sr=pe.useMemo(()=>{const Jr=fr.map(xi=>{let{column:pi,sortOrder:Oi}=xi;return{column:pi,order:Oi}});return{sortColumns:Jr,sortColumn:Jr[0]&&Jr[0].column,sortOrder:Jr[0]&&Jr[0].order}},[fr]);function cr(Jr){let xi;Jr.multiplePriority===!1||!fr.length||fr[0].multiplePriority===!1?xi=[Jr]:xi=[].concat((0,Br.Z)(fr.filter(pi=>{let{key:Oi}=pi;return Oi!==Jr.key})),[Jr]),Zn(xi),qt(Hs(xi),xi)}return[Jr=>Cs($e,Jr,fr,cr,vn,mn,_n),fr,sr,()=>Hs(fr)]}function Vo(Ve,$e){return Ve.map(Kt=>{const qt=Object.assign({},Kt);return qt.title=va(Kt.title,$e),"children"in qt&&(qt.children=Vo(qt.children,$e)),qt})}function Is(Ve){return[pe.useCallback(Kt=>Vo(Kt,Ve),[Ve])]}var is=mi((Ve,$e)=>{const{_renderTimes:Kt}=Ve,{_renderTimes:qt}=$e;return Kt!==qt}),ws=gt((Ve,$e)=>{const{_renderTimes:Kt}=Ve,{_renderTimes:qt}=$e;return Kt!==qt}),ms=ie(64993),as=ie(17313),ru=ie(83116),iu=ie(37613),_e=Ve=>{const{componentCls:$e}=Ve,Kt=`${Ve.lineWidth}px ${Ve.lineType} ${Ve.tableBorderColor}`,qt=(vn,mn,_n)=>({[`&${$e}-${vn}`]:{[`> ${$e}-container`]:{[`> ${$e}-content, > ${$e}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${$e}-expanded-row-fixed`]:{margin:`-${mn}px -${_n+Ve.lineWidth}px`}}}}}});return{[`${$e}-wrapper`]:{[`${$e}${$e}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${$e}-title`]:{border:Kt,borderBottom:0},[`> ${$e}-container`]:{borderInlineStart:Kt,borderTop:Kt,[`
|
|
|
> ${$e}-content,
|
|
|
> ${$e}-header,
|
|
|
> ${$e}-body,
|
|
|
> ${$e}-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:Kt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Kt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${$e}-cell-fix-right-first::after`]:{borderInlineEnd:Kt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${$e}-expanded-row-fixed`]:{margin:`-${Ve.tablePaddingVertical}px -${Ve.tablePaddingHorizontal+Ve.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ve.lineWidth,bottom:0,borderInlineEnd:Kt,content:'""'}}}}}},[`&${$e}-scroll-horizontal`]:{[`> ${$e}-container > ${$e}-body`]:{"> table > tbody":{[`
|
|
|
> tr${$e}-expanded-row,
|
|
|
> tr${$e}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},qt("middle",Ve.tablePaddingVerticalMiddle,Ve.tablePaddingHorizontalMiddle)),qt("small",Ve.tablePaddingVerticalSmall,Ve.tablePaddingHorizontalSmall)),{[`> ${$e}-footer`]:{border:Kt,borderTop:0}}),[`${$e}-cell`]:{[`${$e}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ve.lineWidth}px 0 ${Ve.lineWidth}px ${Ve.tableHeaderBg}`}},[`${$e}-bordered ${$e}-cell-scrollbar`]:{borderInlineEnd:Kt}}}},$t=Ve=>{const{componentCls:$e}=Ve;return{[`${$e}-wrapper`]:{[`${$e}-cell-ellipsis`]:Object.assign(Object.assign({},as.vS),{wordBreak:"keep-all",[`
|
|
|
&${$e}-cell-fix-left-last,
|
|
|
&${$e}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${$e}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${$e}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},qn=Ve=>{const{componentCls:$e}=Ve;return{[`${$e}-wrapper`]:{[`${$e}-tbody > tr${$e}-placeholder`]:{textAlign:"center",color:Ve.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ve.colorBgContainer}}}}},jn=ie(15969),Sr=Ve=>{const{componentCls:$e,antCls:Kt,controlInteractiveSize:qt,motionDurationSlow:vn,lineWidth:mn,paddingXS:_n,lineType:Kn,tableBorderColor:Zn,tableExpandIconBg:fr,tableExpandColumnWidth:sr,borderRadius:cr,fontSize:Gr,fontSizeSM:Ur,lineHeight:Jr,tablePaddingVertical:xi,tablePaddingHorizontal:pi,tableExpandedRowBg:Oi,paddingXXS:Ai}=Ve,Ri=qt/2-mn,ya=Ri*2+mn*3,Ea=`${mn}px ${Kn} ${Zn}`,aa=Ai-mn;return{[`${$e}-wrapper`]:{[`${$e}-expand-icon-col`]:{width:sr},[`${$e}-row-expand-icon-cell`]:{textAlign:"center",[`${$e}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${$e}-row-indent`]:{height:1,float:"left"},[`${$e}-row-expand-icon`]:Object.assign(Object.assign({},(0,jn.N)(Ve)),{position:"relative",float:"left",boxSizing:"border-box",width:ya,height:ya,padding:0,color:"inherit",lineHeight:`${ya}px`,background:fr,border:Ea,borderRadius:cr,transform:`scale(${qt/ya})`,transition:`all ${vn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${vn} ease-out`,content:'""'},"&::before":{top:Ri,insetInlineEnd:aa,insetInlineStart:aa,height:mn},"&::after":{top:aa,bottom:aa,insetInlineStart:Ri,width:mn,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"}}),[`${$e}-row-indent + ${$e}-row-expand-icon`]:{marginTop:(Gr*Jr-mn*3)/2-Math.ceil((Ur*1.4-mn*3)/2),marginInlineEnd:_n},[`tr${$e}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Oi}},[`${Kt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${$e}-expanded-row-fixed`]:{position:"relative",margin:`-${xi}px -${pi}px`,padding:`${xi}px ${pi}px`}}}},Fi=Ve=>{const{componentCls:$e,antCls:Kt,iconCls:qt,tableFilterDropdownWidth:vn,tableFilterDropdownSearchWidth:mn,paddingXXS:_n,paddingXS:Kn,colorText:Zn,lineWidth:fr,lineType:sr,tableBorderColor:cr,tableHeaderIconColor:Gr,fontSizeSM:Ur,tablePaddingHorizontal:Jr,borderRadius:xi,motionDurationSlow:pi,colorTextDescription:Oi,colorPrimary:Ai,tableHeaderFilterActiveBg:Ri,colorTextDisabled:ya,tableFilterDropdownBg:Ea,tableFilterDropdownHeight:aa,controlItemBgHover:ba,controlItemBgActive:Ka,boxShadowSecondary:ji,filterDropdownMenuBg:ha}=Ve,Qi=`${Kt}-dropdown`,Ei=`${$e}-filter-dropdown`,Ni=`${Kt}-tree`,xa=`${fr}px ${sr} ${cr}`;return[{[`${$e}-wrapper`]:{[`${$e}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${$e}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-_n,marginInline:`${_n}px ${-Jr/2}px`,padding:`0 ${_n}px`,color:Gr,fontSize:Ur,borderRadius:xi,cursor:"pointer",transition:`all ${pi}`,"&:hover":{color:Oi,background:Ri},"&.active":{color:Ai}}}},{[`${Kt}-dropdown`]:{[Ei]:Object.assign(Object.assign({},(0,as.Wf)(Ve)),{minWidth:vn,backgroundColor:Ea,borderRadius:xi,boxShadow:ji,overflow:"hidden",[`${Qi}-menu`]:{maxHeight:aa,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ha,"&:empty::after":{display:"block",padding:`${Kn}px 0`,color:ya,fontSize:Ur,textAlign:"center",content:'"Not Found"'}},[`${Ei}-tree`]:{paddingBlock:`${Kn}px 0`,paddingInline:Kn,[Ni]:{padding:0},[`${Ni}-treenode ${Ni}-node-content-wrapper:hover`]:{backgroundColor:ba},[`${Ni}-treenode-checkbox-checked ${Ni}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ka}}},[`${Ei}-search`]:{padding:Kn,borderBottom:xa,"&-input":{input:{minWidth:mn},[qt]:{color:ya}}},[`${Ei}-checkall`]:{width:"100%",marginBottom:_n,marginInlineStart:_n},[`${Ei}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Kn-fr}px ${Kn}px`,overflow:"hidden",borderTop:xa}})}},{[`${Kt}-dropdown ${Ei}, ${Ei}-submenu`]:{[`${Kt}-checkbox-wrapper + span`]:{paddingInlineStart:Kn,color:Zn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Qr=Ve=>{const{componentCls:$e,lineWidth:Kt,colorSplit:qt,motionDurationSlow:vn,zIndexTableFixed:mn,tableBg:_n,zIndexTableSticky:Kn}=Ve,Zn=qt;return{[`${$e}-wrapper`]:{[`
|
|
|
${$e}-cell-fix-left,
|
|
|
${$e}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:mn,background:_n},[`
|
|
|
${$e}-cell-fix-left-first::after,
|
|
|
${$e}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Kt,width:30,transform:"translateX(100%)",transition:`box-shadow ${vn}`,content:'""',pointerEvents:"none"},[`${$e}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${$e}-cell-fix-right-first::after,
|
|
|
${$e}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:-Kt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${vn}`,content:'""',pointerEvents:"none"},[`${$e}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Kn+1,width:30,transition:`box-shadow ${vn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${$e}-ping-left`]:{[`&:not(${$e}-has-fix-left) ${$e}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Zn}`}},[`
|
|
|
${$e}-cell-fix-left-first::after,
|
|
|
${$e}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Zn}`},[`${$e}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${$e}-ping-right`]:{[`&:not(${$e}-has-fix-right) ${$e}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Zn}`}},[`
|
|
|
${$e}-cell-fix-right-first::after,
|
|
|
${$e}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Zn}`}}}}},Si=Ve=>{const{componentCls:$e,antCls:Kt}=Ve;return{[`${$e}-wrapper`]:{[`${$e}-pagination${Kt}-pagination`]:{margin:`${Ve.margin}px 0`},[`${$e}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ve.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},jr=Ve=>{const{componentCls:$e,tableRadius:Kt}=Ve;return{[`${$e}-wrapper`]:{[$e]:{[`${$e}-title, ${$e}-header`]:{borderRadius:`${Kt}px ${Kt}px 0 0`},[`${$e}-title + ${$e}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${$e}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Kt,borderStartEndRadius:Kt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Kt},"> *:last-child":{borderStartEndRadius:Kt}}},"&-footer":{borderRadius:`0 0 ${Kt}px ${Kt}px`}}}}},ca=Ve=>{const{componentCls:$e}=Ve;return{[`${$e}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${$e}-pagination-left`]:{justifyContent:"flex-end"},[`${$e}-pagination-right`]:{justifyContent:"flex-start"},[`${$e}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${$e}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${$e}-row-indent`]:{float:"right"}}}}},sa=Ve=>{const{componentCls:$e,antCls:Kt,iconCls:qt,fontSizeIcon:vn,padding:mn,paddingXS:_n,tableHeaderIconColor:Kn,tableHeaderIconColorHover:Zn,tableSelectionColumnWidth:fr}=Ve;return{[`${$e}-wrapper`]:{[`${$e}-selection-col`]:{width:fr,[`&${$e}-selection-col-with-dropdown`]:{width:fr+vn+mn/4}},[`${$e}-bordered ${$e}-selection-col`]:{width:fr+_n*2,[`&${$e}-selection-col-with-dropdown`]:{width:fr+vn+mn/4+_n*2}},[`
|
|
|
table tr th${$e}-selection-column,
|
|
|
table tr td${$e}-selection-column
|
|
|
`]:{paddingInlineEnd:Ve.paddingXS,paddingInlineStart:Ve.paddingXS,textAlign:"center",[`${Kt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${$e}-selection-column${$e}-cell-fix-left`]:{zIndex:Ve.zIndexTableFixed+1},[`table tr th${$e}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${$e}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${$e}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ve.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ve.tablePaddingHorizontal/4}px`,[qt]:{color:Kn,fontSize:vn,verticalAlign:"baseline","&:hover":{color:Zn}}}}}},ia=Ve=>{const{componentCls:$e}=Ve,Kt=(qt,vn,mn,_n)=>({[`${$e}${$e}-${qt}`]:{fontSize:_n,[`
|
|
|
${$e}-title,
|
|
|
${$e}-footer,
|
|
|
${$e}-cell,
|
|
|
${$e}-thead > tr > th,
|
|
|
${$e}-tbody > tr > th,
|
|
|
${$e}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${vn}px ${mn}px`},[`${$e}-filter-trigger`]:{marginInlineEnd:`-${mn/2}px`},[`${$e}-expanded-row-fixed`]:{margin:`-${vn}px -${mn}px`},[`${$e}-tbody`]:{[`${$e}-wrapper:only-child ${$e}`]:{marginBlock:`-${vn}px`,marginInline:`${Ve.tableExpandColumnWidth-mn}px -${mn}px`}},[`${$e}-selection-column`]:{paddingInlineStart:`${mn/4}px`}}});return{[`${$e}-wrapper`]:Object.assign(Object.assign({},Kt("middle",Ve.tablePaddingVerticalMiddle,Ve.tablePaddingHorizontalMiddle,Ve.tableFontSizeMiddle)),Kt("small",Ve.tablePaddingVerticalSmall,Ve.tablePaddingHorizontalSmall,Ve.tableFontSizeSmall))}},lo=Ve=>{const{componentCls:$e,marginXXS:Kt,fontSizeIcon:qt,tableHeaderIconColor:vn,tableHeaderIconColorHover:mn}=Ve;return{[`${$e}-wrapper`]:{[`${$e}-thead th${$e}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ve.motionDurationSlow}`,"&:hover":{background:Ve.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ve.colorPrimary},[`
|
|
|
&${$e}-cell-fix-left:hover,
|
|
|
&${$e}-cell-fix-right:hover
|
|
|
`]:{background:Ve.tableFixedHeaderSortActiveBg}},[`${$e}-thead th${$e}-column-sort`]:{background:Ve.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${$e}-column-sort`]:{background:Ve.tableBodySortBg},[`${$e}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${$e}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${$e}-column-sorter`]:{marginInlineStart:Kt,color:vn,fontSize:0,transition:`color ${Ve.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:qt,"&.active":{color:Ve.colorPrimary}},[`${$e}-column-sorter-up + ${$e}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${$e}-column-sorters:hover ${$e}-column-sorter`]:{color:mn}}}},ao=Ve=>{const{componentCls:$e,opacityLoading:Kt,tableScrollThumbBg:qt,tableScrollThumbBgHover:vn,tableScrollThumbSize:mn,tableScrollBg:_n,zIndexTableSticky:Kn,stickyScrollBarBorderRadius:Zn}=Ve,fr=`${Ve.lineWidth}px ${Ve.lineType} ${Ve.tableBorderColor}`;return{[`${$e}-wrapper`]:{[`${$e}-sticky`]:{"&-holder":{position:"sticky",zIndex:Kn,background:Ve.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${mn}px !important`,zIndex:Kn,display:"flex",alignItems:"center",background:_n,borderTop:fr,opacity:Kt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:mn,backgroundColor:qt,borderRadius:Zn,transition:`all ${Ve.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:vn}}}}}}},Do=Ve=>{const{componentCls:$e,lineWidth:Kt,tableBorderColor:qt}=Ve,vn=`${Kt}px ${Ve.lineType} ${qt}`;return{[`${$e}-wrapper`]:{[`${$e}-summary`]:{position:"relative",zIndex:Ve.zIndexTableFixed,background:Ve.tableBg,"> tr":{"> th, > td":{borderBottom:vn}}},[`div${$e}-summary`]:{boxShadow:`0 -${Kt}px 0 ${qt}`}}}},el=Ve=>{const{componentCls:$e}=Ve,Kt=`${Ve.lineWidth}px ${Ve.lineType} ${Ve.tableBorderColor}`,qt=`${$e}-expanded-row-cell`;return{[`${$e}-wrapper`]:{[`${$e}-tbody-virtual`]:{[`${$e}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${$e}-cell`]:{borderBottom:Kt},[`${$e}-expanded-row`]:{[`${qt}${qt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ve.lineWidth}px)`,borderInlineEnd:"none"}}},[`${$e}-bordered`]:{[`${$e}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Kt,position:"absolute"},[`${$e}-cell`]:{borderInlineEnd:Kt,[`&${$e}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ve.lineWidth,borderInlineStart:Kt}}}}}}};const co=Ve=>{const{componentCls:$e,fontWeightStrong:Kt,tablePaddingVertical:qt,tablePaddingHorizontal:vn,lineWidth:mn,lineType:_n,tableBorderColor:Kn,tableFontSize:Zn,tableBg:fr,tableRadius:sr,tableHeaderTextColor:cr,motionDurationMid:Gr,tableHeaderBg:Ur,tableHeaderCellSplitColor:Jr,tableRowHoverBg:xi,tableSelectedRowBg:pi,tableSelectedRowHoverBg:Oi,tableFooterTextColor:Ai,tableFooterBg:Ri,paddingContentVerticalLG:ya}=Ve,Ea=`${mn}px ${_n} ${Kn}`;return{[`${$e}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,as.dF)()),{[$e]:Object.assign(Object.assign({},(0,as.Wf)(Ve)),{fontSize:Zn,background:fr,borderRadius:`${sr}px ${sr}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${sr}px ${sr}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${$e}-cell,
|
|
|
${$e}-thead > tr > th,
|
|
|
${$e}-tbody > tr > th,
|
|
|
${$e}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${ya}px ${vn}px`,overflowWrap:"break-word"},[`${$e}-title`]:{padding:`${qt}px ${vn}px`},[`${$e}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:cr,fontWeight:Kt,textAlign:"start",background:Ur,borderBottom:Ea,transition:`background ${Gr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${$e}-selection-column):not(${$e}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Jr,transform:"translateY(-50%)",transition:`background-color ${Gr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${$e}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Gr}, border-color ${Gr}`,borderBottom:Ea,[`
|
|
|
> ${$e}-wrapper:only-child,
|
|
|
> ${$e}-expanded-row-fixed > ${$e}-wrapper:only-child
|
|
|
`]:{[$e]:{marginBlock:`-${qt}px`,marginInline:`${Ve.tableExpandColumnWidth-vn}px -${vn}px`,[`${$e}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:cr,fontWeight:Kt,textAlign:"start",background:Ur,borderBottom:Ea,transition:`background ${Gr} ease`},[`
|
|
|
&${$e}-row:hover > th,
|
|
|
&${$e}-row:hover > td,
|
|
|
> th${$e}-cell-row-hover,
|
|
|
> td${$e}-cell-row-hover
|
|
|
`]:{background:xi},[`&${$e}-row-selected`]:{"> th, > td":{background:pi},"&:hover > th, &:hover > td":{background:Oi}}}},[`${$e}-footer`]:{padding:`${qt}px ${vn}px`,color:Ai,background:Ri}})}};var fo=(0,ru.Z)("Table",Ve=>{const{colorTextHeading:$e,colorSplit:Kt,colorIcon:qt,colorIconHover:vn,opacityLoading:mn,colorBgContainer:_n,controlInteractiveSize:Kn,headerBg:Zn,headerColor:fr,headerSortActiveBg:sr,headerSortHoverBg:cr,bodySortBg:Gr,rowHoverBg:Ur,rowSelectedBg:Jr,rowSelectedHoverBg:xi,rowExpandedBg:pi,cellPaddingBlock:Oi,cellPaddingInline:Ai,cellPaddingBlockMD:Ri,cellPaddingInlineMD:ya,cellPaddingBlockSM:Ea,cellPaddingInlineSM:aa,borderColor:ba,footerBg:Ka,footerColor:ji,headerBorderRadius:ha,cellFontSize:Qi,cellFontSizeMD:Ei,cellFontSizeSM:Ni,headerSplitColor:xa,fixedHeaderSortActiveBg:Ja,headerFilterHoverBg:wa,filterDropdownBg:Li,expandIconBg:Fa,selectionColumnWidth:Za,stickyScrollBarBg:Ua}=Ve,$a=new ms.C(qt),Ho=new ms.C(vn),ro=2,Oa=(0,iu.TS)(Ve,{tableFontSize:Qi,tableBg:_n,tableRadius:ha,tablePaddingVertical:Oi,tablePaddingHorizontal:Ai,tablePaddingVerticalMiddle:Ri,tablePaddingHorizontalMiddle:ya,tablePaddingVerticalSmall:Ea,tablePaddingHorizontalSmall:aa,tableBorderColor:ba,tableHeaderTextColor:fr,tableHeaderBg:Zn,tableFooterTextColor:ji,tableFooterBg:Ka,tableHeaderCellSplitColor:xa,tableHeaderSortBg:sr,tableHeaderSortHoverBg:cr,tableHeaderIconColor:$a.clone().setAlpha($a.getAlpha()*mn).toRgbString(),tableHeaderIconColorHover:Ho.clone().setAlpha(Ho.getAlpha()*mn).toRgbString(),tableBodySortBg:Gr,tableFixedHeaderSortActiveBg:Ja,tableHeaderFilterActiveBg:wa,tableFilterDropdownBg:Li,tableRowHoverBg:Ur,tableSelectedRowBg:Jr,tableSelectedRowHoverBg:xi,zIndexTableFixed:ro,zIndexTableSticky:ro+1,tableFontSizeMiddle:Ei,tableFontSizeSmall:Ni,tableSelectionColumnWidth:Za,tableExpandIconBg:Fa,tableExpandColumnWidth:Kn+2*Ve.padding,tableExpandedRowBg:pi,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ua,tableScrollThumbBgHover:$e,tableScrollBg:Kt});return[co(Oa),Si(Oa),Do(Oa),lo(Oa),Fi(Oa),_e(Oa),jr(Oa),Sr(Oa),Do(Oa),qn(Oa),sa(Oa),Qr(Oa),ao(Oa),$t(Oa),ia(Oa),ca(Oa),el(Oa)]},Ve=>{const{colorFillAlter:$e,colorBgContainer:Kt,colorTextHeading:qt,colorFillSecondary:vn,colorFillContent:mn,controlItemBgActive:_n,controlItemBgActiveHover:Kn,padding:Zn,paddingSM:fr,paddingXS:sr,colorBorderSecondary:cr,borderRadiusLG:Gr,fontSize:Ur,controlHeight:Jr,colorTextPlaceholder:xi}=Ve,pi=new ms.C(vn).onBackground(Kt).toHexShortString(),Oi=new ms.C(mn).onBackground(Kt).toHexShortString(),Ai=new ms.C($e).onBackground(Kt).toHexShortString();return{headerBg:Ai,headerColor:qt,headerSortActiveBg:pi,headerSortHoverBg:Oi,bodySortBg:Ai,rowHoverBg:Ai,rowSelectedBg:_n,rowSelectedHoverBg:Kn,rowExpandedBg:$e,cellPaddingBlock:Zn,cellPaddingInline:Zn,cellPaddingBlockMD:fr,cellPaddingInlineMD:sr,cellPaddingBlockSM:sr,cellPaddingInlineSM:sr,borderColor:cr,headerBorderRadius:Gr,footerBg:Ai,footerColor:qt,cellFontSize:Ur,cellFontSizeMD:Ur,cellFontSizeSM:Ur,headerSplitColor:cr,fixedHeaderSortActiveBg:pi,headerFilterHoverBg:mn,filterDropdownMenuBg:Kt,filterDropdownBg:Kt,expandIconBg:Kt,selectionColumnWidth:Jr,stickyScrollBarBg:xi,stickyScrollBarBorderRadius:100}});const xo=[],Go=(Ve,$e)=>{const{prefixCls:Kt,className:qt,rootClassName:vn,style:mn,size:_n,bordered:Kn,dropdownPrefixCls:Zn,dataSource:fr,pagination:sr,rowSelection:cr,rowKey:Gr="key",rowClassName:Ur,columns:Jr,children:xi,childrenColumnName:pi,onChange:Oi,getPopupContainer:Ai,loading:Ri,expandIcon:ya,expandable:Ea,expandedRowRender:aa,expandIconColumnIndex:ba,indentSize:Ka,scroll:ji,sortDirections:ha,locale:Qi,showSorterTooltip:Ei=!0,virtual:Ni}=Ve,xa=pe.useMemo(()=>Jr||Ie(xi),[Jr,xi]),Ja=pe.useMemo(()=>xa.some(So=>So.responsive),[xa]),wa=(0,Ii.Z)(Ja),Li=pe.useMemo(()=>{const So=new Set(Object.keys(wa).filter(Ko=>wa[Ko]));return xa.filter(Ko=>!Ko.responsive||Ko.responsive.some(Ul=>So.has(Ul)))},[xa,wa]),Fa=(0,Qn.Z)(Ve,["className","style","columns"]),{locale:Za=da.Z,direction:Ua,table:$a,renderEmpty:Ho,getPrefixCls:ro,getPopupContainer:Oa}=pe.useContext(Ci.E_),Uo=(0,ii.Z)(_n),Aa=Object.assign(Object.assign({},Za.Table),Qi),Lo=fr||xo,wo=ro("table",Kt),tl=ro("dropdown",Zn),Da=Object.assign({childrenColumnName:pi,expandIconColumnIndex:ba},Ea),{childrenColumnName:Ca="children"}=Da,Ma=pe.useMemo(()=>Lo.some(So=>So==null?void 0:So[Ca])?"nest":aa||Ea&&Ea.expandedRowRender?"row":null,[Lo]),ma={body:pe.useRef()},na=pe.useMemo(()=>typeof Gr=="function"?Gr:So=>So==null?void 0:So[Gr],[Gr]),[qr]=ts(Lo,Ca,na),Gi={},za=function(So,Ko){let Ul=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Yo,ql,$l;const gs=Object.assign(Object.assign({},Gi),So);Ul&&((Yo=Gi.resetPagination)===null||Yo===void 0||Yo.call(Gi),!((ql=gs.pagination)===null||ql===void 0)&&ql.current&&(gs.pagination.current=1),sr&&sr.onChange&&sr.onChange(1,($l=gs.pagination)===null||$l===void 0?void 0:$l.pageSize)),ji&&ji.scrollToFirstRowOnChange!==!1&&ma.body.current&&(0,Mr.Z)(0,{getContainer:()=>ma.body.current}),Oi==null||Oi(gs.pagination,gs.filters,gs.sorter,{currentDataSource:cl(mo(Lo,gs.sorterStates,Ca),gs.filterStates),action:Ko})},eo=(So,Ko)=>{za({sorter:So,sorterStates:Ko},"sort",!1)},[Gl,El,Ls,hl]=Mo({prefixCls:wo,mergedColumns:Li,onSorterChange:eo,sortDirections:ha||["ascend","descend"],tableLocale:Aa,showSorterTooltip:Ei}),pl=pe.useMemo(()=>mo(Lo,El,Ca),[Lo,El]);Gi.sorter=hl(),Gi.sorterStates=El;const Ba=(So,Ko)=>{za({filters:So,filterStates:Ko},"filter",!0)},[Il,os,vo]=Bl({prefixCls:wo,locale:Aa,dropdownPrefixCls:tl,mergedColumns:Li,onFilterChange:Ba,getPopupContainer:Ai||Oa}),Di=cl(pl,os);Gi.filters=vo,Gi.filterStates=os;const Bo=pe.useMemo(()=>{const So={};return Object.keys(vo).forEach(Ko=>{vo[Ko]!==null&&(So[Ko]=vo[Ko])}),Object.assign(Object.assign({},Ls),{filters:So})},[Ls,vo]),[Al]=Is(Bo),Ml=(So,Ko)=>{za({pagination:Object.assign(Object.assign({},Gi.pagination),{current:So,pageSize:Ko})},"paginate")},[_a,No]=Rl(Di.length,Ml,sr);Gi.pagination=sr===!1?{}:Io(_a,sr),Gi.resetPagination=No;const Zl=pe.useMemo(()=>{if(sr===!1||!_a.pageSize)return Di;const{current:So=1,total:Ko,pageSize:Ul=_o}=_a;return Di.length<Ko?Di.length>Ul?Di.slice((So-1)*Ul,So*Ul):Di:Di.slice((So-1)*Ul,So*Ul)},[!!sr,Di,_a&&_a.current,_a&&_a.pageSize,_a&&_a.total]),[To,Ta]=ml({prefixCls:wo,data:Di,pageData:Zl,getRowKey:na,getRecordByKey:qr,expandType:Ma,childrenColumnName:Ca,locale:Aa,getPopupContainer:Ai||Oa},cr),al=(So,Ko,Ul)=>{let Yo;return typeof Ur=="function"?Yo=Ne()(Ur(So,Ko,Ul)):Yo=Ne()(Ur),Ne()({[`${wo}-row-selected`]:Ta.has(na(So,Ko))},Yo)};Da.__PARENT_RENDER_ICON__=Da.expandIcon,Da.expandIcon=Da.expandIcon||ya||wi(Aa),Ma==="nest"&&Da.expandIconColumnIndex===void 0?Da.expandIconColumnIndex=cr?1:0:Da.expandIconColumnIndex>0&&cr&&(Da.expandIconColumnIndex-=1),typeof Da.indentSize!="number"&&(Da.indentSize=typeof Ka=="number"?Ka:15);const nl=pe.useCallback(So=>Al(To(Il(Gl(So)))),[Gl,Il,To]);let au,ls;if(sr!==!1&&(_a!=null&&_a.total)){let So;_a.size?So=_a.size:So=Uo==="small"||Uo==="middle"?"small":void 0;const Ko=ql=>pe.createElement(yr.Z,Object.assign({},_a,{className:Ne()(`${wo}-pagination ${wo}-pagination-${ql}`,_a.className),size:So})),Ul=Ua==="rtl"?"left":"right",{position:Yo}=_a;if(Yo!==null&&Array.isArray(Yo)){const ql=Yo.find(cu=>cu.includes("top")),$l=Yo.find(cu=>cu.includes("bottom")),gs=Yo.every(cu=>`${cu}`=="none");!ql&&!$l&&!gs&&(ls=Ko(Ul)),ql&&(au=Ko(ql.toLowerCase().replace("top",""))),$l&&(ls=Ko($l.toLowerCase().replace("bottom","")))}else ls=Ko(Ul)}let Fs;typeof Ri=="boolean"?Fs={spinning:Ri}:typeof Ri=="object"&&(Fs=Object.assign({spinning:!0},Ri));const[us,ol]=fo(wo),[,xl]=(0,Tr.Z)(),Ss=Ne()(`${wo}-wrapper`,$a==null?void 0:$a.className,{[`${wo}-wrapper-rtl`]:Ua==="rtl"},qt,vn,ol),su=Object.assign(Object.assign({},$a==null?void 0:$a.style),mn),Os=Qi&&Qi.emptyText||(Ho==null?void 0:Ho("Table"))||pe.createElement(ri.Z,{componentName:"Table"}),uu=Ni?ws:is,bu={},fc=pe.useMemo(()=>{const{fontSize:So,lineHeight:Ko,padding:Ul,paddingXS:Yo,paddingSM:ql}=xl,$l=Math.floor(So*Ko);switch(Uo){case"large":return Ul*2+$l;case"small":return Yo*2+$l;default:return ql*2+$l}},[xl,Uo]);return Ni&&(bu.listItemHeight=fc),us(pe.createElement("div",{ref:$e,className:Ss,style:su},pe.createElement(Kr.Z,Object.assign({spinning:!1},Fs),au,pe.createElement(uu,Object.assign({},bu,Fa,{columns:Li,direction:Ua,expandable:Da,prefixCls:wo,className:Ne()({[`${wo}-middle`]:Uo==="middle",[`${wo}-small`]:Uo==="small",[`${wo}-bordered`]:Kn,[`${wo}-empty`]:Lo.length===0}),data:Zl,rowKey:na,rowClassName:al,emptyText:Os,internalHooks:be,internalRefs:ma,transformColumns:nl})),ls)))};var rl=pe.forwardRef(Go);const Oo=(Ve,$e)=>{const Kt=pe.useRef(0);return Kt.current+=1,pe.createElement(rl,Object.assign({},Ve,{ref:$e,_renderTimes:Kt.current}))},Co=pe.forwardRef(Oo);Co.SELECTION_COLUMN=dl,Co.EXPAND_COLUMN=ne,Co.SELECTION_ALL=qo,Co.SELECTION_INVERT=jl,Co.SELECTION_NONE=Jl,Co.Column=Pt,Co.ColumnGroup=Wn,Co.Summary=Ze;var bl=Co,Kl=bl},99313:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return Ft}});var ne=ie(99267),be=ie(18785),Ce=ie(62772),yt=ie(92310),Se=ie.n(yt),Ae=ie(54476),pe=ie(20068),ye=ie(33885),Ee=ie(42978),Re=ie(76190),ht=ie(75931),ke=ie(59301),Le=ie(49658),Ge=ie(18929),nt=ie(77900),ct=(0,ke.createContext)(null),Et=ke.forwardRef(function(Ie,Xe){var He=Ie.prefixCls,Ke=Ie.className,Bt=Ie.style,dt=Ie.id,on=Ie.active,nn=Ie.tabKey,hn=Ie.children;return ke.createElement("div",{id:dt&&"".concat(dt,"-panel-").concat(nn),role:"tabpanel",tabIndex:on?0:-1,"aria-labelledby":dt&&"".concat(dt,"-tab-").concat(nn),"aria-hidden":!on,style:Bt,className:Se()(He,on&&"".concat(He,"-active"),Ke),ref:Xe},hn)}),Ct=Et,Wt=["key","forceRender","style","className"];function ft(Ie){var Xe=Ie.id,He=Ie.activeKey,Ke=Ie.animated,Bt=Ie.tabPosition,dt=Ie.destroyInactiveTabPane,on=ke.useContext(ct),nn=on.prefixCls,hn=on.tabs,Pn=Ke.tabPane,Jn="".concat(nn,"-tabpane");return ke.createElement("div",{className:Se()("".concat(nn,"-content-holder"))},ke.createElement("div",{className:Se()("".concat(nn,"-content"),"".concat(nn,"-content-").concat(Bt),(0,pe.Z)({},"".concat(nn,"-content-animated"),Pn))},hn.map(function(In){var Xt=In.key,wn=In.forceRender,pr=In.style,lr=In.className,ar=(0,ht.Z)(In,Wt),dr=Xt===He;return ke.createElement(nt.default,(0,Ae.Z)({key:Xt,visible:dr,forceRender:wn,removeOnLeave:!!dt,leavedClassName:"".concat(Jn,"-hidden")},Ke.tabPaneMotion),function(Ir,tr){var Yr=Ir.style,_t=Ir.className;return ke.createElement(Ct,(0,Ae.Z)({},ar,{prefixCls:Jn,id:Xe,tabKey:Xt,animated:Pn,active:dr,style:(0,ye.Z)((0,ye.Z)({},pr),Yr),className:Se()(lr,_t),ref:tr}))})})))}var pt=ie(94480),ze=ie(29301),he=ie(6089),it=ie(8654),ot={width:0,height:0,left:0,top:0};function ut(Ie,Xe,He){return(0,ke.useMemo)(function(){for(var Ke,Bt=new Map,dt=Xe.get((Ke=Ie[0])===null||Ke===void 0?void 0:Ke.key)||ot,on=dt.left+dt.width,nn=0;nn<Ie.length;nn+=1){var hn=Ie[nn].key,Pn=Xe.get(hn);if(!Pn){var Jn;Pn=Xe.get((Jn=Ie[nn-1])===null||Jn===void 0?void 0:Jn.key)||ot}var In=Bt.get(hn)||(0,ye.Z)({},Pn);In.right=on-In.left-In.width,Bt.set(hn,In)}return Bt},[Ie.map(function(Ke){return Ke.key}).join("_"),Xe,He])}function Je(Ie,Xe){var He=ke.useRef(Ie),Ke=ke.useState({}),Bt=(0,Ee.Z)(Ke,2),dt=Bt[1];function on(nn){var hn=typeof nn=="function"?nn(He.current):nn;hn!==He.current&&Xe(hn,He.current),He.current=hn,dt({})}return[He.current,on]}var mt=.1,Te=.01,xt=20,Ne=Math.pow(.995,xt);function Rt(Ie,Xe){var He=(0,ke.useState)(),Ke=(0,Ee.Z)(He,2),Bt=Ke[0],dt=Ke[1],on=(0,ke.useState)(0),nn=(0,Ee.Z)(on,2),hn=nn[0],Pn=nn[1],Jn=(0,ke.useState)(0),In=(0,Ee.Z)(Jn,2),Xt=In[0],wn=In[1],pr=(0,ke.useState)(),lr=(0,Ee.Z)(pr,2),ar=lr[0],dr=lr[1],Ir=(0,ke.useRef)();function tr(Bn){var Vn=Bn.touches[0],Nn=Vn.screenX,ir=Vn.screenY;dt({x:Nn,y:ir}),window.clearInterval(Ir.current)}function Yr(Bn){if(Bt){Bn.preventDefault();var Vn=Bn.touches[0],Nn=Vn.screenX,ir=Vn.screenY;dt({x:Nn,y:ir});var Cr=Nn-Bt.x,Nr=ir-Bt.y;Xe(Cr,Nr);var ai=Date.now();Pn(ai),wn(ai-hn),dr({x:Cr,y:Nr})}}function _t(){if(Bt&&(dt(null),dr(null),ar)){var Bn=ar.x/Xt,Vn=ar.y/Xt,Nn=Math.abs(Bn),ir=Math.abs(Vn);if(Math.max(Nn,ir)<mt)return;var Cr=Bn,Nr=Vn;Ir.current=window.setInterval(function(){if(Math.abs(Cr)<Te&&Math.abs(Nr)<Te){window.clearInterval(Ir.current);return}Cr*=Ne,Nr*=Ne,Xe(Cr*xt,Nr*xt)},xt)}}var xn=(0,ke.useRef)();function Dn(Bn){var Vn=Bn.deltaX,Nn=Bn.deltaY,ir=0,Cr=Math.abs(Vn),Nr=Math.abs(Nn);Cr===Nr?ir=xn.current==="x"?Vn:Nn:Cr>Nr?(ir=Vn,xn.current="x"):(ir=Nn,xn.current="y"),Xe(-ir,-ir)&&Bn.preventDefault()}var Un=(0,ke.useRef)(null);Un.current={onTouchStart:tr,onTouchMove:Yr,onTouchEnd:_t,onWheel:Dn},ke.useEffect(function(){function Bn(Cr){Un.current.onTouchStart(Cr)}function Vn(Cr){Un.current.onTouchMove(Cr)}function Nn(Cr){Un.current.onTouchEnd(Cr)}function ir(Cr){Un.current.onWheel(Cr)}return document.addEventListener("touchmove",Vn,{passive:!1}),document.addEventListener("touchend",Nn,{passive:!1}),Ie.current.addEventListener("touchstart",Bn,{passive:!1}),Ie.current.addEventListener("wheel",ir),function(){document.removeEventListener("touchmove",Vn),document.removeEventListener("touchend",Nn)}},[])}var Dt=ie(34280);function Nt(Ie){var Xe=(0,ke.useState)(0),He=(0,Ee.Z)(Xe,2),Ke=He[0],Bt=He[1],dt=(0,ke.useRef)(0),on=(0,ke.useRef)();return on.current=Ie,(0,Dt.o)(function(){var nn;(nn=on.current)===null||nn===void 0||nn.call(on)},[Ke]),function(){dt.current===Ke&&(dt.current+=1,Bt(dt.current))}}function wt(Ie){var Xe=(0,ke.useRef)([]),He=(0,ke.useState)({}),Ke=(0,Ee.Z)(He,2),Bt=Ke[1],dt=(0,ke.useRef)(typeof Ie=="function"?Ie():Ie),on=Nt(function(){var hn=dt.current;Xe.current.forEach(function(Pn){hn=Pn(hn)}),Xe.current=[],dt.current=hn,Bt({})});function nn(hn){Xe.current.push(hn),on()}return[dt.current,nn]}var It={width:0,height:0,left:0,top:0,right:0};function We(Ie,Xe,He,Ke,Bt,dt,on){var nn=on.tabs,hn=on.tabPosition,Pn=on.rtl,Jn,In,Xt;return["top","bottom"].includes(hn)?(Jn="width",In=Pn?"right":"left",Xt=Math.abs(He)):(Jn="height",In="top",Xt=-He),(0,ke.useMemo)(function(){if(!nn.length)return[0,0];for(var wn=nn.length,pr=wn,lr=0;lr<wn;lr+=1){var ar=Ie.get(nn[lr].key)||It;if(ar[In]+ar[Jn]>Xt+Xe){pr=lr-1;break}}for(var dr=0,Ir=wn-1;Ir>=0;Ir-=1){var tr=Ie.get(nn[Ir].key)||It;if(tr[In]<Xt){dr=Ir+1;break}}return dr>=pr?[0,0]:[dr,pr]},[Ie,Xe,Ke,Bt,dt,Xt,hn,nn.map(function(wn){return wn.key}).join("_"),Pn])}function ve(Ie){var Xe;return Ie instanceof Map?(Xe={},Ie.forEach(function(He,Ke){Xe[Ke]=He})):Xe=Ie,JSON.stringify(Xe)}var Qe="TABS_DQ";function Vt(Ie){return String(Ie).replace(/"/g,Qe)}function Mt(Ie,Xe,He,Ke){return!(!He||Ke||Ie===!1||Ie===void 0&&(Xe===!1||Xe===null))}function Ue(Ie,Xe){var He=Ie.prefixCls,Ke=Ie.editable,Bt=Ie.locale,dt=Ie.style;return!Ke||Ke.showAdd===!1?null:ke.createElement("button",{ref:Xe,type:"button",className:"".concat(He,"-nav-add"),style:dt,"aria-label":(Bt==null?void 0:Bt.addAriaLabel)||"Add tab",onClick:function(nn){Ke.onEdit("add",{event:nn})}},Ke.addIcon||"+")}var st=ke.forwardRef(Ue),Ht=ke.forwardRef(function(Ie,Xe){var He=Ie.position,Ke=Ie.prefixCls,Bt=Ie.extra;if(!Bt)return null;var dt,on={};return(0,Re.Z)(Bt)==="object"&&!ke.isValidElement(Bt)?on=Bt:on.right=Bt,He==="right"&&(dt=on.right),He==="left"&&(dt=on.left),dt?ke.createElement("div",{className:"".concat(Ke,"-extra-content"),ref:Xe},dt):null}),yn=Ht,Ut=ie(31561),Sn=ie(15285),jt=ie(10228);function Jt(Ie,Xe){var He=Ie.prefixCls,Ke=Ie.id,Bt=Ie.tabs,dt=Ie.locale,on=Ie.mobile,nn=Ie.moreIcon,hn=nn===void 0?"More":nn,Pn=Ie.moreTransitionName,Jn=Ie.style,In=Ie.className,Xt=Ie.editable,wn=Ie.tabBarGutter,pr=Ie.rtl,lr=Ie.removeAriaLabel,ar=Ie.onTabClick,dr=Ie.getPopupContainer,Ir=Ie.popupClassName,tr=(0,ke.useState)(!1),Yr=(0,Ee.Z)(tr,2),_t=Yr[0],xn=Yr[1],Dn=(0,ke.useState)(null),Un=(0,Ee.Z)(Dn,2),Bn=Un[0],Vn=Un[1],Nn="".concat(Ke,"-more-popup"),ir="".concat(He,"-dropdown"),Cr=Bn!==null?"".concat(Nn,"-").concat(Bn):null,Nr=dt==null?void 0:dt.dropdownAriaLabel;function ai($r,Fr){$r.preventDefault(),$r.stopPropagation(),Xt.onEdit("remove",{key:Fr,event:$r})}var si=ke.createElement(Sn.ZP,{onClick:function(Fr){var Vr=Fr.key,ei=Fr.domEvent;ar(Vr,ei),xn(!1)},prefixCls:"".concat(ir,"-menu"),id:Nn,tabIndex:-1,role:"listbox","aria-activedescendant":Cr,selectedKeys:[Bn],"aria-label":Nr!==void 0?Nr:"expanded dropdown"},Bt.map(function($r){var Fr=$r.closable,Vr=$r.disabled,ei=$r.closeIcon,_r=$r.key,ki=$r.label,Ki=Mt(Fr,ei,Xt,Vr);return ke.createElement(Sn.sN,{key:_r,id:"".concat(Nn,"-").concat(_r),role:"option","aria-controls":Ke&&"".concat(Ke,"-panel-").concat(_r),disabled:Vr},ke.createElement("span",null,ki),Ki&&ke.createElement("button",{type:"button","aria-label":lr||"remove",tabIndex:0,className:"".concat(ir,"-menu-item-remove"),onClick:function(Dr){Dr.stopPropagation(),ai(Dr,_r)}},ei||Xt.removeIcon||"\xD7"))}));function mi($r){for(var Fr=Bt.filter(function(Ki){return!Ki.disabled}),Vr=Fr.findIndex(function(Ki){return Ki.key===Bn})||0,ei=Fr.length,_r=0;_r<ei;_r+=1){Vr=(Vr+$r+ei)%ei;var ki=Fr[Vr];if(!ki.disabled){Vn(ki.key);return}}}function br($r){var Fr=$r.which;if(!_t){[jt.Z.DOWN,jt.Z.SPACE,jt.Z.ENTER].includes(Fr)&&(xn(!0),$r.preventDefault());return}switch(Fr){case jt.Z.UP:mi(-1),$r.preventDefault();break;case jt.Z.DOWN:mi(1),$r.preventDefault();break;case jt.Z.ESC:xn(!1);break;case jt.Z.SPACE:case jt.Z.ENTER:Bn!==null&&ar(Bn,$r);break}}(0,ke.useEffect)(function(){var $r=document.getElementById(Cr);$r&&$r.scrollIntoView&&$r.scrollIntoView(!1)},[Bn]),(0,ke.useEffect)(function(){_t||Vn(null)},[_t]);var Hr=(0,pe.Z)({},pr?"marginRight":"marginLeft",wn);Bt.length||(Hr.visibility="hidden",Hr.order=1);var Lr=Se()((0,pe.Z)({},"".concat(ir,"-rtl"),pr)),ni=on?null:ke.createElement(Ut.Z,{prefixCls:ir,overlay:si,trigger:["hover"],visible:Bt.length?_t:!1,transitionName:Pn,onVisibleChange:xn,overlayClassName:Se()(Lr,Ir),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:dr},ke.createElement("button",{type:"button",className:"".concat(He,"-nav-more"),style:Hr,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Nn,id:"".concat(Ke,"-more"),"aria-expanded":_t,onKeyDown:br},hn));return ke.createElement("div",{className:Se()("".concat(He,"-nav-operations"),In),style:Jn,ref:Xe},ni,ke.createElement(st,{prefixCls:He,locale:dt,editable:Xt}))}var Ot=ke.memo(ke.forwardRef(Jt),function(Ie,Xe){return Xe.tabMoving});function xe(Ie){var Xe,He=Ie.prefixCls,Ke=Ie.id,Bt=Ie.active,dt=Ie.tab,on=dt.key,nn=dt.label,hn=dt.disabled,Pn=dt.closeIcon,Jn=Ie.closable,In=Ie.renderWrapper,Xt=Ie.removeAriaLabel,wn=Ie.editable,pr=Ie.onClick,lr=Ie.onFocus,ar=Ie.style,dr="".concat(He,"-tab"),Ir=Mt(Jn,Pn,wn,hn);function tr(xn){hn||pr(xn)}function Yr(xn){xn.preventDefault(),xn.stopPropagation(),wn.onEdit("remove",{key:on,event:xn})}var _t=ke.createElement("div",{key:on,"data-node-key":Vt(on),className:Se()(dr,(Xe={},(0,pe.Z)(Xe,"".concat(dr,"-with-remove"),Ir),(0,pe.Z)(Xe,"".concat(dr,"-active"),Bt),(0,pe.Z)(Xe,"".concat(dr,"-disabled"),hn),Xe)),style:ar,onClick:tr},ke.createElement("div",{role:"tab","aria-selected":Bt,id:Ke&&"".concat(Ke,"-tab-").concat(on),className:"".concat(dr,"-btn"),"aria-controls":Ke&&"".concat(Ke,"-panel-").concat(on),"aria-disabled":hn,tabIndex:hn?null:0,onClick:function(Dn){Dn.stopPropagation(),tr(Dn)},onKeyDown:function(Dn){[jt.Z.SPACE,jt.Z.ENTER].includes(Dn.which)&&(Dn.preventDefault(),tr(Dn))},onFocus:lr},nn),Ir&&ke.createElement("button",{type:"button","aria-label":Xt||"remove",tabIndex:0,className:"".concat(dr,"-remove"),onClick:function(Dn){Dn.stopPropagation(),Yr(Dn)}},Pn||wn.removeIcon||"\xD7"));return In?In(_t):_t}var ce=xe,ue=ie(16089),de=function(Xe){var He=Xe.activeTabOffset,Ke=Xe.horizontal,Bt=Xe.rtl,dt=Xe.indicatorSize,on=(0,ke.useState)(),nn=(0,Ee.Z)(on,2),hn=nn[0],Pn=nn[1],Jn=(0,ke.useRef)(),In=function(pr){return typeof dt=="function"?dt(pr):typeof dt=="number"?dt:pr};function Xt(){ue.Z.cancel(Jn.current)}return(0,ke.useEffect)(function(){var wn={};return He&&(Ke?(Bt?(wn.right=He.right+He.width/2,wn.transform="translateX(50%)"):(wn.left=He.left+He.width/2,wn.transform="translateX(-50%)"),wn.width=In(He.width)):(wn.top=He.top+He.height/2,wn.transform="translateY(-50%)",wn.height=In(He.height))),Xt(),Jn.current=(0,ue.Z)(function(){Pn(wn)}),Xt},[He,Ke,Bt,dt]),{style:hn}},fe=de,le=function(Xe){var He=Xe.current||{},Ke=He.offsetWidth,Bt=Ke===void 0?0:Ke,dt=He.offsetHeight,on=dt===void 0?0:dt;return[Bt,on]},Fe=function(Xe,He){return Xe[He?0:1]};function at(Ie,Xe){var He,Ke=ke.useContext(ct),Bt=Ke.prefixCls,dt=Ke.tabs,on=Ie.className,nn=Ie.style,hn=Ie.id,Pn=Ie.animated,Jn=Ie.activeKey,In=Ie.rtl,Xt=Ie.extra,wn=Ie.editable,pr=Ie.locale,lr=Ie.tabPosition,ar=Ie.tabBarGutter,dr=Ie.children,Ir=Ie.onTabClick,tr=Ie.onTabScroll,Yr=Ie.indicatorSize,_t=(0,ke.useRef)(),xn=(0,ke.useRef)(),Dn=(0,ke.useRef)(),Un=(0,ke.useRef)(),Bn=(0,ke.useRef)(),Vn=(0,ke.useRef)(),Nn=(0,ke.useRef)(),ir=lr==="top"||lr==="bottom",Cr=Je(0,function(Vi,Hi){ir&&tr&&tr({direction:Vi>Hi?"left":"right"})}),Nr=(0,Ee.Z)(Cr,2),ai=Nr[0],si=Nr[1],mi=Je(0,function(Vi,Hi){!ir&&tr&&tr({direction:Vi>Hi?"top":"bottom"})}),br=(0,Ee.Z)(mi,2),Hr=br[0],Lr=br[1],ni=(0,ke.useState)([0,0]),$r=(0,Ee.Z)(ni,2),Fr=$r[0],Vr=$r[1],ei=(0,ke.useState)([0,0]),_r=(0,Ee.Z)(ei,2),ki=_r[0],Ki=_r[1],hi=(0,ke.useState)([0,0]),Dr=(0,Ee.Z)(hi,2),or=Dr[0],ui=Dr[1],gi=(0,ke.useState)([0,0]),Pi=(0,Ee.Z)(gi,2),rt=Pi[0],gt=Pi[1],Yt=wt(new Map),gn=(0,Ee.Z)(Yt,2),Yn=gn[0],Pt=gn[1],fn=ut(dt,Yn,ki[0]),Wn=Fe(Fr,ir),Qn=Fe(ki,ir),Mr=Fe(or,ir),Ci=Fe(rt,ir),ri=Wn<Qn+Mr,ii=ri?Wn-Ci:Wn-Mr,Ii="".concat(Bt,"-nav-operations-hidden"),da=0,yr=0;ir&&In?(da=0,yr=Math.max(0,Qn-ii)):(da=Math.min(0,ii-Qn),yr=0);function Kr(Vi){return Vi<da?da:Vi>yr?yr:Vi}var Tr=(0,ke.useRef)(),Zr=(0,ke.useState)(),wi=(0,Ee.Z)(Zr,2),ua=wi[0],la=wi[1];function va(){la(Date.now())}function $i(){window.clearTimeout(Tr.current)}Rt(Un,function(Vi,Hi){function La(Yi,ra){Yi(function(Ia){var io=Kr(Ia+ra);return io})}return ri?(ir?La(si,Vi):La(Lr,Hi),$i(),va(),!0):!1}),(0,ke.useEffect)(function(){return $i(),ua&&(Tr.current=window.setTimeout(function(){la(0)},100)),$i},[ua]);var ga=We(fn,ii,ir?ai:Hr,Qn,Mr,Ci,(0,ye.Z)((0,ye.Z)({},Ie),{},{tabs:dt})),Wa=(0,Ee.Z)(ga,2),Xa=Wa[0],oo=Wa[1],yo=(0,he.Z)(function(){var Vi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jn,Hi=fn.get(Vi)||{width:0,height:0,left:0,right:0,top:0};if(ir){var La=ai;In?Hi.right<ai?La=Hi.right:Hi.right+Hi.width>ai+ii&&(La=Hi.right+Hi.width-ii):Hi.left<-ai?La=-Hi.left:Hi.left+Hi.width>-ai+ii&&(La=-(Hi.left+Hi.width-ii)),Lr(0),si(Kr(La))}else{var Yi=Hr;Hi.top<-Hr?Yi=-Hi.top:Hi.top+Hi.height>-Hr+ii&&(Yi=-(Hi.top+Hi.height-ii)),si(0),Lr(Kr(Yi))}}),so={};lr==="top"||lr==="bottom"?so[In?"marginRight":"marginLeft"]=ar:so.marginTop=ar;var sl=dt.map(function(Vi,Hi){var La=Vi.key;return ke.createElement(ce,{id:hn,prefixCls:Bt,key:La,tab:Vi,style:Hi===0?void 0:so,closable:Vi.closable,editable:wn,active:La===Jn,renderWrapper:dr,removeAriaLabel:pr==null?void 0:pr.removeAriaLabel,onClick:function(ra){Ir(La,ra)},onFocus:function(){yo(La),va(),Un.current&&(In||(Un.current.scrollLeft=0),Un.current.scrollTop=0)}})}),ja=function(){return Pt(function(){var Hi=new Map;return dt.forEach(function(La){var Yi,ra=La.key,Ia=(Yi=Bn.current)===null||Yi===void 0?void 0:Yi.querySelector('[data-node-key="'.concat(Vt(ra),'"]'));Ia&&Hi.set(ra,{width:Ia.offsetWidth,height:Ia.offsetHeight,left:Ia.offsetLeft,top:Ia.offsetTop})}),Hi})};(0,ke.useEffect)(function(){ja()},[dt.map(function(Vi){return Vi.key}).join("_")]);var Va=Nt(function(){var Vi=le(_t),Hi=le(xn),La=le(Dn);Vr([Vi[0]-Hi[0]-La[0],Vi[1]-Hi[1]-La[1]]);var Yi=le(Nn);ui(Yi);var ra=le(Vn);gt(ra);var Ia=le(Bn);Ki([Ia[0]-Yi[0],Ia[1]-Yi[1]]),ja()}),Gn=dt.slice(0,Xa),Hn=dt.slice(oo+1),Fn=[].concat((0,pt.Z)(Gn),(0,pt.Z)(Hn)),gr=fn.get(Jn),Rr=fe({activeTabOffset:gr,horizontal:ir,rtl:In,indicatorSize:Yr}),Or=Rr.style;(0,ke.useEffect)(function(){yo()},[Jn,da,yr,ve(gr),ve(fn),ir]),(0,ke.useEffect)(function(){Va()},[In]);var ur=!!Fn.length,ci="".concat(Bt,"-nav-wrap"),_i,Ji,Zi,di;return ir?In?(Ji=ai>0,_i=ai!==yr):(_i=ai<0,Ji=ai!==da):(Zi=Hr<0,di=Hr!==da),ke.createElement(ze.Z,{onResize:Va},ke.createElement("div",{ref:(0,it.x1)(Xe,_t),role:"tablist",className:Se()("".concat(Bt,"-nav"),on),style:nn,onKeyDown:function(){va()}},ke.createElement(yn,{ref:xn,position:"left",extra:Xt,prefixCls:Bt}),ke.createElement(ze.Z,{onResize:Va},ke.createElement("div",{className:Se()(ci,(He={},(0,pe.Z)(He,"".concat(ci,"-ping-left"),_i),(0,pe.Z)(He,"".concat(ci,"-ping-right"),Ji),(0,pe.Z)(He,"".concat(ci,"-ping-top"),Zi),(0,pe.Z)(He,"".concat(ci,"-ping-bottom"),di),He)),ref:Un},ke.createElement(ze.Z,{onResize:Va},ke.createElement("div",{ref:Bn,className:"".concat(Bt,"-nav-list"),style:{transform:"translate(".concat(ai,"px, ").concat(Hr,"px)"),transition:ua?"none":void 0}},sl,ke.createElement(st,{ref:Nn,prefixCls:Bt,locale:pr,editable:wn,style:(0,ye.Z)((0,ye.Z)({},sl.length===0?void 0:so),{},{visibility:ur?"hidden":null})}),ke.createElement("div",{className:Se()("".concat(Bt,"-ink-bar"),(0,pe.Z)({},"".concat(Bt,"-ink-bar-animated"),Pn.inkBar)),style:Or}))))),ke.createElement(Ot,(0,Ae.Z)({},Ie,{removeAriaLabel:pr==null?void 0:pr.removeAriaLabel,ref:Vn,prefixCls:Bt,tabs:Fn,className:!ur&&Ii,tabMoving:!!ua})),ke.createElement(yn,{ref:Dn,position:"right",extra:Xt,prefixCls:Bt})))}var Ze=ke.forwardRef(at),Me=["renderTabBar"],Lt=["label","key"];function bt(Ie){var Xe=Ie.renderTabBar,He=(0,ht.Z)(Ie,Me),Ke=ke.useContext(ct),Bt=Ke.tabs;if(Xe){var dt=(0,ye.Z)((0,ye.Z)({},He),{},{panes:Bt.map(function(on){var nn=on.label,hn=on.key,Pn=(0,ht.Z)(on,Lt);return ke.createElement(Ct,(0,Ae.Z)({tab:nn,key:hn,tabKey:hn},Pn))})});return Xe(dt,Ze)}return ke.createElement(Ze,He)}var et=ie(48736);function Zt(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Xe;return Ie===!1?Xe={inkBar:!1,tabPane:!1}:Ie===!0?Xe={inkBar:!0,tabPane:!1}:Xe=(0,ye.Z)({inkBar:!0},(0,Re.Z)(Ie)==="object"?Ie:{}),Xe.tabPaneMotion&&Xe.tabPane===void 0&&(Xe.tabPane=!0),!Xe.tabPaneMotion&&Xe.tabPane&&(Xe.tabPane=!1),Xe}var Cn=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],kt=0;function Qt(Ie,Xe){var He,Ke=Ie.id,Bt=Ie.prefixCls,dt=Bt===void 0?"rc-tabs":Bt,on=Ie.className,nn=Ie.items,hn=Ie.direction,Pn=Ie.activeKey,Jn=Ie.defaultActiveKey,In=Ie.editable,Xt=Ie.animated,wn=Ie.tabPosition,pr=wn===void 0?"top":wn,lr=Ie.tabBarGutter,ar=Ie.tabBarStyle,dr=Ie.tabBarExtraContent,Ir=Ie.locale,tr=Ie.moreIcon,Yr=Ie.moreTransitionName,_t=Ie.destroyInactiveTabPane,xn=Ie.renderTabBar,Dn=Ie.onChange,Un=Ie.onTabClick,Bn=Ie.onTabScroll,Vn=Ie.getPopupContainer,Nn=Ie.popupClassName,ir=Ie.indicatorSize,Cr=(0,ht.Z)(Ie,Cn),Nr=ke.useMemo(function(){return(nn||[]).filter(function(gt){return gt&&(0,Re.Z)(gt)==="object"&&"key"in gt})},[nn]),ai=hn==="rtl",si=Zt(Xt),mi=(0,ke.useState)(!1),br=(0,Ee.Z)(mi,2),Hr=br[0],Lr=br[1];(0,ke.useEffect)(function(){Lr((0,Le.Z)())},[]);var ni=(0,Ge.Z)(function(){var gt;return(gt=Nr[0])===null||gt===void 0?void 0:gt.key},{value:Pn,defaultValue:Jn}),$r=(0,Ee.Z)(ni,2),Fr=$r[0],Vr=$r[1],ei=(0,ke.useState)(function(){return Nr.findIndex(function(gt){return gt.key===Fr})}),_r=(0,Ee.Z)(ei,2),ki=_r[0],Ki=_r[1];(0,ke.useEffect)(function(){var gt=Nr.findIndex(function(gn){return gn.key===Fr});if(gt===-1){var Yt;gt=Math.max(0,Math.min(ki,Nr.length-1)),Vr((Yt=Nr[gt])===null||Yt===void 0?void 0:Yt.key)}Ki(gt)},[Nr.map(function(gt){return gt.key}).join("_"),Fr,ki]);var hi=(0,Ge.Z)(null,{value:Ke}),Dr=(0,Ee.Z)(hi,2),or=Dr[0],ui=Dr[1];(0,ke.useEffect)(function(){Ke||(ui("rc-tabs-".concat(kt)),kt+=1)},[]);function gi(gt,Yt){Un==null||Un(gt,Yt);var gn=gt!==Fr;Vr(gt),gn&&(Dn==null||Dn(gt))}var Pi={id:or,activeKey:Fr,animated:si,tabPosition:pr,rtl:ai,mobile:Hr},rt=(0,ye.Z)((0,ye.Z)({},Pi),{},{editable:In,locale:Ir,moreIcon:tr,moreTransitionName:Yr,tabBarGutter:lr,onTabClick:gi,onTabScroll:Bn,extra:dr,style:ar,panes:null,getPopupContainer:Vn,popupClassName:Nn,indicatorSize:ir});return ke.createElement(ct.Provider,{value:{tabs:Nr,prefixCls:dt}},ke.createElement("div",(0,Ae.Z)({ref:Xe,id:Ke,className:Se()(dt,"".concat(dt,"-").concat(pr),(He={},(0,pe.Z)(He,"".concat(dt,"-mobile"),Hr),(0,pe.Z)(He,"".concat(dt,"-editable"),In),(0,pe.Z)(He,"".concat(dt,"-rtl"),ai),He),on)},Cr),ke.createElement(bt,(0,Ae.Z)({},rt,{renderTabBar:xn})),ke.createElement(ft,(0,Ae.Z)({destroyInactiveTabPane:_t},Pi,{animated:si}))))}var cn=ke.forwardRef(Qt),vt=cn,Oe=vt,tt=ie(36355),ln=ie(19716),An=()=>null,Xn=ie(62892);const Gt={motionAppear:!1,motionEnter:!0,motionLeave:!0};function nr(Ie){let Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},He;return Xe===!1?He={inkBar:!1,tabPane:!1}:Xe===!0?He={inkBar:!0,tabPane:!0}:He=Object.assign({inkBar:!0},typeof Xe=="object"?Xe:{}),He.tabPane&&(He.tabPaneMotion=Object.assign(Object.assign({},Gt),{motionName:(0,Xn.m)(Ie,"switch")})),He}var wr=ie(11592),kr=function(Ie,Xe){var He={};for(var Ke in Ie)Object.prototype.hasOwnProperty.call(Ie,Ke)&&Xe.indexOf(Ke)<0&&(He[Ke]=Ie[Ke]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Ke=Object.getOwnPropertySymbols(Ie);Bt<Ke.length;Bt++)Xe.indexOf(Ke[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ke[Bt])&&(He[Ke[Bt]]=Ie[Ke[Bt]]);return He};function rr(Ie){return Ie.filter(Xe=>Xe)}function Ar(Ie,Xe){if(Ie)return Ie;const He=(0,wr.Z)(Xe).map(Ke=>{if(ke.isValidElement(Ke)){const{key:Bt,props:dt}=Ke,on=dt||{},{tab:nn}=on,hn=kr(on,["tab"]);return Object.assign(Object.assign({key:String(Bt)},hn),{label:nn})}return null});return rr(He)}var li=ie(17313),xr=ie(83116),Br=ie(37613),ti=ie(13826),tn=Ie=>{const{componentCls:Xe,motionDurationSlow:He}=Ie;return[{[Xe]:{[`${Xe}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${He}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${He}`}}}}},[(0,ti.oN)(Ie,"slide-up"),(0,ti.oN)(Ie,"slide-down")]]};const zn=Ie=>{const{componentCls:Xe,tabsCardPadding:He,cardBg:Ke,cardGutter:Bt,colorBorderSecondary:dt,itemSelectedColor:on}=Ie;return{[`${Xe}-card`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-tab`]:{margin:0,padding:He,background:Ke,border:`${Ie.lineWidth}px ${Ie.lineType} ${dt}`,transition:`all ${Ie.motionDurationSlow} ${Ie.motionEaseInOut}`},[`${Xe}-tab-active`]:{color:on,background:Ie.colorBgContainer},[`${Xe}-ink-bar`]:{visibility:"hidden"}},[`&${Xe}-top, &${Xe}-bottom`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-tab + ${Xe}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Bt}px`}}}},[`&${Xe}-top`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-tab`]:{borderRadius:`${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0 0`},[`${Xe}-tab-active`]:{borderBottomColor:Ie.colorBgContainer}}},[`&${Xe}-bottom`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-tab`]:{borderRadius:`0 0 ${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px`},[`${Xe}-tab-active`]:{borderTopColor:Ie.colorBgContainer}}},[`&${Xe}-left, &${Xe}-right`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-tab + ${Xe}-tab`]:{marginTop:`${Bt}px`}}},[`&${Xe}-left`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ie.borderRadiusLG}px 0 0 ${Ie.borderRadiusLG}px`}},[`${Xe}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Ie.colorBgContainer}}}},[`&${Xe}-right`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0`}},[`${Xe}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Ie.colorBgContainer}}}}}}},er=Ie=>{const{componentCls:Xe,itemHoverColor:He,dropdownEdgeChildVerticalPadding:Ke}=Ie;return{[`${Xe}-dropdown`]:Object.assign(Object.assign({},(0,li.Wf)(Ie)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Ie.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Xe}-dropdown-menu`]:{maxHeight:Ie.tabsDropdownHeight,margin:0,padding:`${Ke}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Ie.colorBgContainer,backgroundClip:"padding-box",borderRadius:Ie.borderRadiusLG,outline:"none",boxShadow:Ie.boxShadowSecondary,"&-item":Object.assign(Object.assign({},li.vS),{display:"flex",alignItems:"center",minWidth:Ie.tabsDropdownWidth,margin:0,padding:`${Ie.paddingXXS}px ${Ie.paddingSM}px`,color:Ie.colorText,fontWeight:"normal",fontSize:Ie.fontSize,lineHeight:Ie.lineHeight,cursor:"pointer",transition:`all ${Ie.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Ie.marginSM},color:Ie.colorTextDescription,fontSize:Ie.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:He}},"&:hover":{background:Ie.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Ie.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},zt=Ie=>{const{componentCls:Xe,margin:He,colorBorderSecondary:Ke,horizontalMargin:Bt,verticalItemPadding:dt,verticalItemMargin:on}=Ie;return{[`${Xe}-top, ${Xe}-bottom`]:{flexDirection:"column",[`> ${Xe}-nav, > div > ${Xe}-nav`]:{margin:Bt,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Ie.lineWidth}px ${Ie.lineType} ${Ke}`,content:"''"},[`${Xe}-ink-bar`]:{height:Ie.lineWidthBold,"&-animated":{transition:`width ${Ie.motionDurationSlow}, left ${Ie.motionDurationSlow},
|
|
|
right ${Ie.motionDurationSlow}`}},[`${Xe}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Ie.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Ie.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Ie.boxShadowTabsOverflowRight},[`&${Xe}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Xe}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Xe}-top`]:{[`> ${Xe}-nav,
|
|
|
> div > ${Xe}-nav`]:{"&::before":{bottom:0},[`${Xe}-ink-bar`]:{bottom:0}}},[`${Xe}-bottom`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{order:1,marginTop:`${He}px`,marginBottom:0,"&::before":{top:0},[`${Xe}-ink-bar`]:{top:0}},[`> ${Xe}-content-holder, > div > ${Xe}-content-holder`]:{order:0}},[`${Xe}-left, ${Xe}-right`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{flexDirection:"column",minWidth:Ie.controlHeight*1.25,[`${Xe}-tab`]:{padding:dt,textAlign:"center"},[`${Xe}-tab + ${Xe}-tab`]:{margin:on},[`${Xe}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Ie.controlHeight},"&::before":{top:0,boxShadow:Ie.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Ie.boxShadowTabsOverflowBottom},[`&${Xe}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Xe}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Xe}-ink-bar`]:{width:Ie.lineWidthBold,"&-animated":{transition:`height ${Ie.motionDurationSlow}, top ${Ie.motionDurationSlow}`}},[`${Xe}-nav-list, ${Xe}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Xe}-left`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Xe}-content-holder, > div > ${Xe}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Ie.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`},[`> ${Xe}-content > ${Xe}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Ie.paddingLG}}}},[`${Xe}-right`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{order:1,[`${Xe}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Xe}-content-holder, > div > ${Xe}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Ie.lineWidth},borderRight:{_skip_check_:!0,value:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`},[`> ${Xe}-content > ${Xe}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Ie.paddingLG}}}}}},bn=Ie=>{const{componentCls:Xe,cardPaddingSM:He,cardPaddingLG:Ke,horizontalItemPaddingSM:Bt,horizontalItemPaddingLG:dt}=Ie;return{[Xe]:{"&-small":{[`> ${Xe}-nav`]:{[`${Xe}-tab`]:{padding:Bt,fontSize:Ie.titleFontSizeSM}}},"&-large":{[`> ${Xe}-nav`]:{[`${Xe}-tab`]:{padding:dt,fontSize:Ie.titleFontSizeLG}}}},[`${Xe}-card`]:{[`&${Xe}-small`]:{[`> ${Xe}-nav`]:{[`${Xe}-tab`]:{padding:He}},[`&${Xe}-bottom`]:{[`> ${Xe}-nav ${Xe}-tab`]:{borderRadius:`0 0 ${Ie.borderRadius}px ${Ie.borderRadius}px`}},[`&${Xe}-top`]:{[`> ${Xe}-nav ${Xe}-tab`]:{borderRadius:`${Ie.borderRadius}px ${Ie.borderRadius}px 0 0`}},[`&${Xe}-right`]:{[`> ${Xe}-nav ${Xe}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ie.borderRadius}px ${Ie.borderRadius}px 0`}}},[`&${Xe}-left`]:{[`> ${Xe}-nav ${Xe}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ie.borderRadius}px 0 0 ${Ie.borderRadius}px`}}}},[`&${Xe}-large`]:{[`> ${Xe}-nav`]:{[`${Xe}-tab`]:{padding:Ke}}}}}},kn=Ie=>{const{componentCls:Xe,itemActiveColor:He,itemHoverColor:Ke,iconCls:Bt,tabsHorizontalItemMargin:dt,horizontalItemPadding:on,itemSelectedColor:nn,itemColor:hn}=Ie,Pn=`${Xe}-tab`;return{[Pn]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:on,fontSize:Ie.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:hn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:He}},(0,li.Qy)(Ie)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Ie.marginXXS},marginLeft:{_skip_check_:!0,value:Ie.marginXS},color:Ie.colorTextDescription,fontSize:Ie.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Ie.motionDurationSlow}`,"&:hover":{color:Ie.colorTextHeading}},"&:hover":{color:Ke},[`&${Pn}-active ${Pn}-btn`]:{color:nn,textShadow:Ie.tabsActiveTextShadow},[`&${Pn}-disabled`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"},[`&${Pn}-disabled ${Pn}-btn, &${Pn}-disabled ${Xe}-remove`]:{"&:focus, &:active":{color:Ie.colorTextDisabled}},[`& ${Pn}-remove ${Bt}`]:{margin:0},[Bt]:{marginRight:{_skip_check_:!0,value:Ie.marginSM}}},[`${Pn} + ${Pn}`]:{margin:{_skip_check_:!0,value:dt}}}},Tt=Ie=>{const{componentCls:Xe,tabsHorizontalItemMarginRTL:He,iconCls:Ke,cardGutter:Bt}=Ie;return{[`${Xe}-rtl`]:{direction:"rtl",[`${Xe}-nav`]:{[`${Xe}-tab`]:{margin:{_skip_check_:!0,value:He},[`${Xe}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Ke]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Ie.marginSM}px`}},[`${Xe}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Ie.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Ie.marginXXS}px`},[Ke]:{margin:0}}}},[`&${Xe}-left`]:{[`> ${Xe}-nav`]:{order:1},[`> ${Xe}-content-holder`]:{order:0}},[`&${Xe}-right`]:{[`> ${Xe}-nav`]:{order:0},[`> ${Xe}-content-holder`]:{order:1}},[`&${Xe}-card${Xe}-top, &${Xe}-card${Xe}-bottom`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-tab + ${Xe}-tab`]:{marginRight:{_skip_check_:!0,value:Bt},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Xe}-dropdown-rtl`]:{direction:"rtl"},[`${Xe}-menu-item`]:{[`${Xe}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},an=Ie=>{const{componentCls:Xe,tabsCardPadding:He,cardHeight:Ke,cardGutter:Bt,itemHoverColor:dt,itemActiveColor:on,colorBorderSecondary:nn}=Ie;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,li.Wf)(Ie)),{display:"flex",[`> ${Xe}-nav, > div > ${Xe}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Xe}-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 ${Ie.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Xe}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Ie.motionDurationSlow}`},[`${Xe}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Xe}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Xe}-nav-more`]:{position:"relative",padding:He,background:"transparent",border:0,color:Ie.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Ie.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Xe}-nav-add`]:Object.assign({minWidth:Ke,marginLeft:{_skip_check_:!0,value:Bt},padding:`0 ${Ie.paddingXS}px`,background:"transparent",border:`${Ie.lineWidth}px ${Ie.lineType} ${nn}`,borderRadius:`${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Ie.colorText,transition:`all ${Ie.motionDurationSlow} ${Ie.motionEaseInOut}`,"&:hover":{color:dt},"&:active, &:focus:not(:focus-visible)":{color:on}},(0,li.Qy)(Ie))},[`${Xe}-extra-content`]:{flex:"none"},[`${Xe}-ink-bar`]:{position:"absolute",background:Ie.inkBarColor,pointerEvents:"none"}}),kn(Ie)),{[`${Xe}-content`]:{position:"relative",width:"100%"},[`${Xe}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Xe}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Xe}-centered`]:{[`> ${Xe}-nav, > div > ${Xe}-nav`]:{[`${Xe}-nav-wrap`]:{[`&:not([class*='${Xe}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var sn=(0,xr.Z)("Tabs",Ie=>{const Xe=(0,Br.TS)(Ie,{tabsCardPadding:Ie.cardPadding||`${(Ie.cardHeight-Math.round(Ie.fontSize*Ie.lineHeight))/2-Ie.lineWidth}px ${Ie.padding}px`,dropdownEdgeChildVerticalPadding:Ie.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Ie.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Ie.horizontalItemGutter}px`});return[bn(Xe),Tt(Xe),zt(Xe),er(Xe),zn(Xe),an(Xe),tn(Xe)]},Ie=>{const Xe=Ie.controlHeightLG;return{zIndexPopup:Ie.zIndexPopupBase+50,cardBg:Ie.colorFillAlter,cardHeight:Xe,cardPadding:"",cardPaddingSM:`${Ie.paddingXXS*1.5}px ${Ie.padding}px`,cardPaddingLG:`${Ie.paddingXS}px ${Ie.padding}px ${Ie.paddingXXS*1.5}px`,titleFontSize:Ie.fontSize,titleFontSizeLG:Ie.fontSizeLG,titleFontSizeSM:Ie.fontSize,inkBarColor:Ie.colorPrimary,horizontalMargin:`0 0 ${Ie.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Ie.paddingSM}px 0`,horizontalItemPaddingSM:`${Ie.paddingXS}px 0`,horizontalItemPaddingLG:`${Ie.padding}px 0`,verticalItemPadding:`${Ie.paddingXS}px ${Ie.paddingLG}px`,verticalItemMargin:`${Ie.margin}px 0 0 0`,itemColor:Ie.colorText,itemSelectedColor:Ie.colorPrimary,itemHoverColor:Ie.colorPrimaryHover,itemActiveColor:Ie.colorPrimaryActive,cardGutter:Ie.marginXXS/2}}),rn=function(Ie,Xe){var He={};for(var Ke in Ie)Object.prototype.hasOwnProperty.call(Ie,Ke)&&Xe.indexOf(Ke)<0&&(He[Ke]=Ie[Ke]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Ke=Object.getOwnPropertySymbols(Ie);Bt<Ke.length;Bt++)Xe.indexOf(Ke[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ke[Bt])&&(He[Ke[Bt]]=Ie[Ke[Bt]]);return He};const $n=Ie=>{const{type:Xe,className:He,rootClassName:Ke,size:Bt,onEdit:dt,hideAdd:on,centered:nn,addIcon:hn,popupClassName:Pn,children:Jn,items:In,animated:Xt,style:wn,indicatorSize:pr}=Ie,lr=rn(Ie,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:ar,moreIcon:dr=ke.createElement(be.Z,null)}=lr,{direction:Ir,tabs:tr,getPrefixCls:Yr,getPopupContainer:_t}=ke.useContext(tt.E_),xn=Yr("tabs",ar),[Dn,Un]=sn(xn);let Bn;Xe==="editable-card"&&(Bn={onEdit:(ai,si)=>{let{key:mi,event:br}=si;dt==null||dt(ai==="add"?br:mi,ai)},removeIcon:ke.createElement(ne.Z,null),addIcon:hn||ke.createElement(Ce.Z,null),showAdd:on!==!0});const Vn=Yr(),Nn=Ar(In,Jn),ir=nr(xn,Xt),Cr=(0,ln.Z)(Bt),Nr=Object.assign(Object.assign({},tr==null?void 0:tr.style),wn);return Dn(ke.createElement(Oe,Object.assign({direction:Ir,getPopupContainer:_t,moreTransitionName:`${Vn}-slide-up`},lr,{items:Nn,className:Se()({[`${xn}-${Cr}`]:Cr,[`${xn}-card`]:["card","editable-card"].includes(Xe),[`${xn}-editable-card`]:Xe==="editable-card",[`${xn}-centered`]:nn},tr==null?void 0:tr.className,He,Ke,Un),popupClassName:Se()(Pn,Un),style:Nr,editable:Bn,moreIcon:dr,prefixCls:xn,animated:ir,indicatorSize:pr!=null?pr:tr==null?void 0:tr.indicatorSize})))};$n.TabPane=An;var Ft=$n},98228:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return ti}});var ne=ie(92310),be=ie.n(ne),Ce=ie(54476),yt=ie(94480),Se=ie(33885),Ae=ie(42978),pe=ie(75931),ye=ie(76190),Ee=ie(77861),Re=ie(17115),ht=ie(90782),ke=ie(18929),Le=ie(48736),Ge=ie(59301),nt=function(Rn){var tn=Ge.useRef({valueLabels:new Map});return Ge.useMemo(function(){var zn=tn.current.valueLabels,er=new Map,zt=Rn.map(function(bn){var kn,Tt=bn.value,an=(kn=bn.label)!==null&&kn!==void 0?kn:zn.get(Tt);return er.set(Tt,an),(0,Se.Z)((0,Se.Z)({},bn),{},{label:an})});return tn.current.valueLabels=er,[zt]},[Rn])},ct=function(Rn,tn,zn,er){return Ge.useMemo(function(){var zt=Rn.map(function(an){var sn=an.value;return sn}),bn=tn.map(function(an){var sn=an.value;return sn}),kn=zt.filter(function(an){return!er[an]});if(zn){var Tt=(0,ht.S)(zt,!0,er);zt=Tt.checkedKeys,bn=Tt.halfCheckedKeys}return[Array.from(new Set([].concat((0,yt.Z)(kn),(0,yt.Z)(zt)))),bn]},[Rn,tn,zn,er])},Et=ie(71430),Ct=function(Rn,tn){return Ge.useMemo(function(){var zn=(0,Et.I8)(Rn,{fieldNames:tn,initWrapper:function(zt){return(0,Se.Z)((0,Se.Z)({},zt),{},{valueEntities:new Map})},processEntity:function(zt,bn){var kn=zt.node[tn.value];if(0)var Tt;bn.valueEntities.set(kn,zt)}});return zn},[Rn,tn])},Wt=ie(20068),ft=ie(11592),pt=function(){return null},ze=pt,he=["children","value"];function it(Rn){return(0,ft.Z)(Rn).map(function(tn){if(!Ge.isValidElement(tn)||!tn.type)return null;var zn=tn,er=zn.key,zt=zn.props,bn=zt.children,kn=zt.value,Tt=(0,pe.Z)(zt,he),an=(0,Se.Z)({key:er,value:kn},Tt),sn=it(bn);return sn.length&&(an.children=sn),an}).filter(function(tn){return tn})}function ot(Rn){if(!Rn)return Rn;var tn=(0,Se.Z)({},Rn);return"props"in tn||Object.defineProperty(tn,"props",{get:function(){return(0,Le.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),tn}}),tn}function ut(Rn,tn,zn,er,zt,bn){var kn=null,Tt=null;function an(){function sn(rn){var $n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return rn.map(function(Ie,Xe){var He="".concat($n,"-").concat(Xe),Ke=Ie[bn.value],Bt=zn.includes(Ke),dt=sn(Ie[bn.children]||[],He,Bt),on=Ge.createElement(ze,Ie,dt.map(function(hn){return hn.node}));if(tn===Ke&&(kn=on),Bt){var nn={pos:He,node:on,children:dt};return Ft||Tt.push(nn),nn}return null}).filter(function(Ie){return Ie})}Tt||(Tt=[],sn(er),Tt.sort(function(rn,$n){var Ft=rn.node.props.value,Ie=$n.node.props.value,Xe=zn.indexOf(Ft),He=zn.indexOf(Ie);return Xe-He}))}Object.defineProperty(Rn,"triggerNode",{get:function(){return(0,Le.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),an(),kn}}),Object.defineProperty(Rn,"allCheckedNodes",{get:function(){return(0,Le.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),an(),zt?Tt:Tt.map(function(rn){var $n=rn.node;return $n})}})}var Je=function(Rn,tn,zn){var er=zn.treeNodeFilterProp,zt=zn.filterTreeNode,bn=zn.fieldNames,kn=bn.children;return Ge.useMemo(function(){if(!tn||zt===!1)return Rn;var Tt;if(typeof zt=="function")Tt=zt;else{var an=tn.toUpperCase();Tt=function($n,Ft){var Ie=Ft[er];return String(Ie).toUpperCase().includes(an)}}function sn(rn){var $n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return rn.reduce(function(Ft,Ie){var Xe=Ie[kn],He=$n||Tt(tn,ot(Ie)),Ke=sn(Xe||[],He);return(He||Ke.length)&&Ft.push((0,Se.Z)((0,Se.Z)({},Ie),{},(0,Wt.Z)({isLeaf:void 0},kn,Ke))),Ft},[])}return sn(Rn)},[Rn,tn,kn,er,zt])};function mt(Rn){var tn=Ge.useRef();tn.current=Rn;var zn=Ge.useCallback(function(){return tn.current.apply(tn,arguments)},[]);return zn}function Te(Rn,tn){var zn=tn.id,er=tn.pId,zt=tn.rootPId,bn={},kn=[],Tt=Rn.map(function(an){var sn=(0,Se.Z)({},an),rn=sn[zn];return bn[rn]=sn,sn.key=sn.key||rn,sn});return Tt.forEach(function(an){var sn=an[er],rn=bn[sn];rn&&(rn.children=rn.children||[],rn.children.push(an)),(sn===zt||!rn&&zt===null)&&kn.push(an)}),kn}function xt(Rn,tn,zn){return Ge.useMemo(function(){return Rn?zn?Te(Rn,(0,Se.Z)({id:"id",pId:"pId",rootPId:null},zn!==!0?zn:{})):Rn:it(tn)},[tn,zn,Rn])}var Ne=Ge.createContext(null),Rt=Ne,Dt=ie(10228),Nt=ie(80547),wt=ie(60091),It=Ge.createContext(null),We=It;function ve(Rn){return Array.isArray(Rn)?Rn:Rn!==void 0?[Rn]:[]}function Qe(Rn){var tn=Rn||{},zn=tn.label,er=tn.value,zt=tn.children,bn=er||"value";return{_title:zn?[zn]:["title","label"],value:bn,key:bn,children:zt||"children"}}function Vt(Rn){return!Rn||Rn.disabled||Rn.disableCheckbox||Rn.checkable===!1}function Mt(Rn,tn){var zn=[];function er(zt){zt.forEach(function(bn){var kn=bn[tn.children];kn&&(zn.push(bn[tn.value]),er(kn))})}return er(Rn),zn}function Ue(Rn){return Rn==null}var st={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ht=function(tn,zn){var er=(0,Ee.lk)(),zt=er.prefixCls,bn=er.multiple,kn=er.searchValue,Tt=er.toggleOpen,an=er.open,sn=er.notFoundContent,rn=Ge.useContext(We),$n=rn.virtual,Ft=rn.listHeight,Ie=rn.listItemHeight,Xe=rn.treeData,He=rn.fieldNames,Ke=rn.onSelect,Bt=rn.dropdownMatchSelectWidth,dt=rn.treeExpandAction,on=Ge.useContext(Rt),nn=on.checkable,hn=on.checkedKeys,Pn=on.halfCheckedKeys,Jn=on.treeExpandedKeys,In=on.treeDefaultExpandAll,Xt=on.treeDefaultExpandedKeys,wn=on.onTreeExpand,pr=on.treeIcon,lr=on.showTreeIcon,ar=on.switcherIcon,dr=on.treeLine,Ir=on.treeNodeFilterProp,tr=on.loadData,Yr=on.treeLoadedKeys,_t=on.treeMotion,xn=on.onTreeLoad,Dn=on.keyEntities,Un=Ge.useRef(),Bn=(0,Nt.Z)(function(){return Xe},[an,Xe],function(or,ui){return ui[0]&&or[1]!==ui[1]}),Vn=Ge.useState(null),Nn=(0,Ae.Z)(Vn,2),ir=Nn[0],Cr=Nn[1],Nr=Dn[ir],ai=Ge.useMemo(function(){return nn?{checked:hn,halfChecked:Pn}:null},[nn,hn,Pn]);Ge.useEffect(function(){if(an&&!bn&&hn.length){var or;(or=Un.current)===null||or===void 0||or.scrollTo({key:hn[0]}),Cr(hn[0])}},[an]);var si=String(kn).toLowerCase(),mi=function(ui){return si?String(ui[Ir]).toLowerCase().includes(si):!1},br=Ge.useState(Xt),Hr=(0,Ae.Z)(br,2),Lr=Hr[0],ni=Hr[1],$r=Ge.useState(null),Fr=(0,Ae.Z)($r,2),Vr=Fr[0],ei=Fr[1],_r=Ge.useMemo(function(){return Jn?(0,yt.Z)(Jn):kn?Vr:Lr},[Lr,Vr,Jn,kn]);Ge.useEffect(function(){kn&&ei(Mt(Xe,He))},[kn]);var ki=function(ui){ni(ui),ei(ui),wn&&wn(ui)},Ki=function(ui){ui.preventDefault()},hi=function(ui,gi){var Pi=gi.node;nn&&Vt(Pi)||(Ke(Pi.key,{selected:!hn.includes(Pi.key)}),bn||Tt(!1))};if(Ge.useImperativeHandle(zn,function(){var or;return{scrollTo:(or=Un.current)===null||or===void 0?void 0:or.scrollTo,onKeyDown:function(gi){var Pi,rt=gi.which;switch(rt){case Dt.Z.UP:case Dt.Z.DOWN:case Dt.Z.LEFT:case Dt.Z.RIGHT:(Pi=Un.current)===null||Pi===void 0||Pi.onKeyDown(gi);break;case Dt.Z.ENTER:{if(Nr){var gt=(Nr==null?void 0:Nr.node)||{},Yt=gt.selectable,gn=gt.value;Yt!==!1&&hi(null,{node:{key:ir},selected:!hn.includes(gn)})}break}case Dt.Z.ESC:Tt(!1)}},onKeyUp:function(){}}}),Bn.length===0)return Ge.createElement("div",{role:"listbox",className:"".concat(zt,"-empty"),onMouseDown:Ki},sn);var Dr={fieldNames:He};return Yr&&(Dr.loadedKeys=Yr),_r&&(Dr.expandedKeys=_r),Ge.createElement("div",{onMouseDown:Ki},Nr&&an&&Ge.createElement("span",{style:st,"aria-live":"assertive"},Nr.node.value),Ge.createElement(wt.Z,(0,Ce.Z)({ref:Un,focusable:!1,prefixCls:"".concat(zt,"-tree"),treeData:Bn,height:Ft,itemHeight:Ie,virtual:$n!==!1&&Bt!==!1,multiple:bn,icon:pr,showIcon:lr,switcherIcon:ar,showLine:dr,loadData:kn?null:tr,motion:_t,activeKey:ir,checkable:nn,checkStrictly:!0,checkedKeys:ai,selectedKeys:nn?[]:hn,defaultExpandAll:In},Dr,{onActiveChange:Cr,onSelect:hi,onCheck:hi,onExpand:ki,onLoad:xn,filterTreeNode:mi,expandAction:dt})))},yn=Ge.forwardRef(Ht);yn.displayName="OptionList";var Ut=yn,Sn="SHOW_ALL",jt="SHOW_PARENT",Jt="SHOW_CHILD";function Ot(Rn,tn,zn,er){var zt=new Set(Rn);return tn===Jt?Rn.filter(function(bn){var kn=zn[bn];return!(kn&&kn.children&&kn.children.some(function(Tt){var an=Tt.node;return zt.has(an[er.value])})&&kn.children.every(function(Tt){var an=Tt.node;return Vt(an)||zt.has(an[er.value])}))}):tn===jt?Rn.filter(function(bn){var kn=zn[bn],Tt=kn?kn.parent:null;return!(Tt&&!Vt(Tt.node)&&zt.has(Tt.key))}):Rn}function xe(Rn){var tn=Rn.searchPlaceholder,zn=Rn.treeCheckStrictly,er=Rn.treeCheckable,zt=Rn.labelInValue,bn=Rn.value,kn=Rn.multiple;warning(!tn,"`searchPlaceholder` has been removed."),zn&&zt===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(zt||zn)&&warning(toArray(bn).every(function(Tt){return Tt&&_typeof(Tt)==="object"&&"value"in Tt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),zn||kn||er?warning(!bn||Array.isArray(bn),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(bn),"`value` should not be array when `TreeSelect` is single mode.")}var ce=null,ue=["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 de(Rn){return!Rn||(0,ye.Z)(Rn)!=="object"}var fe=Ge.forwardRef(function(Rn,tn){var zn=Rn.id,er=Rn.prefixCls,zt=er===void 0?"rc-tree-select":er,bn=Rn.value,kn=Rn.defaultValue,Tt=Rn.onChange,an=Rn.onSelect,sn=Rn.onDeselect,rn=Rn.searchValue,$n=Rn.inputValue,Ft=Rn.onSearch,Ie=Rn.autoClearSearchValue,Xe=Ie===void 0?!0:Ie,He=Rn.filterTreeNode,Ke=Rn.treeNodeFilterProp,Bt=Ke===void 0?"value":Ke,dt=Rn.showCheckedStrategy,on=Rn.treeNodeLabelProp,nn=Rn.multiple,hn=Rn.treeCheckable,Pn=Rn.treeCheckStrictly,Jn=Rn.labelInValue,In=Rn.fieldNames,Xt=Rn.treeDataSimpleMode,wn=Rn.treeData,pr=Rn.children,lr=Rn.loadData,ar=Rn.treeLoadedKeys,dr=Rn.onTreeLoad,Ir=Rn.treeDefaultExpandAll,tr=Rn.treeExpandedKeys,Yr=Rn.treeDefaultExpandedKeys,_t=Rn.onTreeExpand,xn=Rn.treeExpandAction,Dn=Rn.virtual,Un=Rn.listHeight,Bn=Un===void 0?200:Un,Vn=Rn.listItemHeight,Nn=Vn===void 0?20:Vn,ir=Rn.onDropdownVisibleChange,Cr=Rn.dropdownMatchSelectWidth,Nr=Cr===void 0?!0:Cr,ai=Rn.treeLine,si=Rn.treeIcon,mi=Rn.showTreeIcon,br=Rn.switcherIcon,Hr=Rn.treeMotion,Lr=(0,pe.Z)(Rn,ue),ni=(0,Re.ZP)(zn),$r=hn&&!Pn,Fr=hn||Pn,Vr=Pn||Jn,ei=Fr||nn,_r=(0,ke.Z)(kn,{value:bn}),ki=(0,Ae.Z)(_r,2),Ki=ki[0],hi=ki[1],Dr=Ge.useMemo(function(){return hn?dt||Jt:Sn},[dt,hn]),or=Ge.useMemo(function(){return Qe(In)},[JSON.stringify(In)]),ui=(0,ke.Z)("",{value:rn!==void 0?rn:$n,postState:function(Va){return Va||""}}),gi=(0,Ae.Z)(ui,2),Pi=gi[0],rt=gi[1],gt=function(Va){rt(Va),Ft==null||Ft(Va)},Yt=xt(wn,pr,Xt),gn=Ct(Yt,or),Yn=gn.keyEntities,Pt=gn.valueEntities,fn=Ge.useCallback(function(ja){var Va=[],Gn=[];return ja.forEach(function(Hn){Pt.has(Hn)?Gn.push(Hn):Va.push(Hn)}),{missingRawValues:Va,existRawValues:Gn}},[Pt]),Wn=Je(Yt,Pi,{fieldNames:or,treeNodeFilterProp:Bt,filterTreeNode:He}),Qn=Ge.useCallback(function(ja){if(ja){if(on)return ja[on];for(var Va=or._title,Gn=0;Gn<Va.length;Gn+=1){var Hn=ja[Va[Gn]];if(Hn!==void 0)return Hn}}},[or,on]),Mr=Ge.useCallback(function(ja){var Va=ve(ja);return Va.map(function(Gn){return de(Gn)?{value:Gn}:Gn})},[]),Ci=Ge.useCallback(function(ja){var Va=Mr(ja);return Va.map(function(Gn){var Hn=Gn.label,Fn=Gn.value,gr=Gn.halfChecked,Rr,Or=Pt.get(Fn);if(Or){var ur;Hn=(ur=Hn)!==null&&ur!==void 0?ur:Qn(Or.node),Rr=Or.node.disabled}else if(Hn===void 0){var ci=Mr(Ki).find(function(_i){return _i.value===Fn});Hn=ci.label}return{label:Hn,value:Fn,halfChecked:gr,disabled:Rr}})},[Pt,Qn,Mr,Ki]),ri=Ge.useMemo(function(){return Mr(Ki)},[Mr,Ki]),ii=Ge.useMemo(function(){var ja=[],Va=[];return ri.forEach(function(Gn){Gn.halfChecked?Va.push(Gn):ja.push(Gn)}),[ja,Va]},[ri]),Ii=(0,Ae.Z)(ii,2),da=Ii[0],yr=Ii[1],Kr=Ge.useMemo(function(){return da.map(function(ja){return ja.value})},[da]),Tr=ct(da,yr,$r,Yn),Zr=(0,Ae.Z)(Tr,2),wi=Zr[0],ua=Zr[1],la=Ge.useMemo(function(){var ja=Ot(wi,Dr,Yn,or),Va=ja.map(function(gr){var Rr,Or,ur;return(Rr=(Or=Yn[gr])===null||Or===void 0||(ur=Or.node)===null||ur===void 0?void 0:ur[or.value])!==null&&Rr!==void 0?Rr:gr}),Gn=Va.map(function(gr){var Rr=da.find(function(Or){return Or.value===gr});return{value:gr,label:Rr==null?void 0:Rr.label}}),Hn=Ci(Gn),Fn=Hn[0];return!ei&&Fn&&Ue(Fn.value)&&Ue(Fn.label)?[]:Hn.map(function(gr){var Rr;return(0,Se.Z)((0,Se.Z)({},gr),{},{label:(Rr=gr.label)!==null&&Rr!==void 0?Rr:gr.value})})},[or,ei,wi,da,Ci,Dr,Yn]),va=nt(la),$i=(0,Ae.Z)(va,1),ga=$i[0],Wa=mt(function(ja,Va,Gn){var Hn=Ci(ja);if(hi(Hn),Xe&&rt(""),Tt){var Fn=ja;if($r){var gr=Ot(ja,Dr,Yn,or);Fn=gr.map(function(Hi){var La=Pt.get(Hi);return La?La.node[or.value]:Hi})}var Rr=Va||{triggerValue:void 0,selected:void 0},Or=Rr.triggerValue,ur=Rr.selected,ci=Fn;if(Pn){var _i=yr.filter(function(Hi){return!Fn.includes(Hi.value)});ci=[].concat((0,yt.Z)(ci),(0,yt.Z)(_i))}var Ji=Ci(ci),Zi={preValue:da,triggerValue:Or},di=!0;(Pn||Gn==="selection"&&!ur)&&(di=!1),ut(Zi,Or,ja,Yt,di,or),Fr?Zi.checked=ur:Zi.selected=ur;var Vi=Vr?Ji:Ji.map(function(Hi){return Hi.value});Tt(ei?Vi:Vi[0],Vr?null:Ji.map(function(Hi){return Hi.label}),Zi)}}),Xa=Ge.useCallback(function(ja,Va){var Gn,Hn=Va.selected,Fn=Va.source,gr=Yn[ja],Rr=gr==null?void 0:gr.node,Or=(Gn=Rr==null?void 0:Rr[or.value])!==null&&Gn!==void 0?Gn:ja;if(!ei)Wa([Or],{selected:!0,triggerValue:Or},"option");else{var ur=Hn?[].concat((0,yt.Z)(Kr),[Or]):wi.filter(function(La){return La!==Or});if($r){var ci=fn(ur),_i=ci.missingRawValues,Ji=ci.existRawValues,Zi=Ji.map(function(La){return Pt.get(La).key}),di;if(Hn){var Vi=(0,ht.S)(Zi,!0,Yn);di=Vi.checkedKeys}else{var Hi=(0,ht.S)(Zi,{checked:!1,halfCheckedKeys:ua},Yn);di=Hi.checkedKeys}ur=[].concat((0,yt.Z)(_i),(0,yt.Z)(di.map(function(La){return Yn[La].node[or.value]})))}Wa(ur,{selected:Hn,triggerValue:Or},Fn||"option")}Hn||!ei?an==null||an(Or,ot(Rr)):sn==null||sn(Or,ot(Rr))},[fn,Pt,Yn,or,ei,Kr,Wa,$r,an,sn,wi,ua]),oo=Ge.useCallback(function(ja){if(ir){var Va={};Object.defineProperty(Va,"documentClickClose",{get:function(){return(0,Le.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),ir(ja,Va)}},[ir]),yo=mt(function(ja,Va){var Gn=ja.map(function(Hn){return Hn.value});if(Va.type==="clear"){Wa(Gn,{},"selection");return}Va.values.length&&Xa(Va.values[0].value,{selected:!1,source:"selection"})}),so=Ge.useMemo(function(){return{virtual:Dn,dropdownMatchSelectWidth:Nr,listHeight:Bn,listItemHeight:Nn,treeData:Wn,fieldNames:or,onSelect:Xa,treeExpandAction:xn}},[Dn,Nr,Bn,Nn,Wn,or,Xa,xn]),sl=Ge.useMemo(function(){return{checkable:Fr,loadData:lr,treeLoadedKeys:ar,onTreeLoad:dr,checkedKeys:wi,halfCheckedKeys:ua,treeDefaultExpandAll:Ir,treeExpandedKeys:tr,treeDefaultExpandedKeys:Yr,onTreeExpand:_t,treeIcon:si,treeMotion:Hr,showTreeIcon:mi,switcherIcon:br,treeLine:ai,treeNodeFilterProp:Bt,keyEntities:Yn}},[Fr,lr,ar,dr,wi,ua,Ir,tr,Yr,_t,si,Hr,mi,br,ai,Bt,Yn]);return Ge.createElement(We.Provider,{value:so},Ge.createElement(Rt.Provider,{value:sl},Ge.createElement(Ee.Ac,(0,Ce.Z)({ref:tn},Lr,{id:ni,prefixCls:zt,mode:ei?"multiple":void 0,displayValues:ga,onDisplayValuesChange:yo,searchValue:Pi,onSearch:gt,OptionList:Ut,emptyOptions:!Yt.length,onDropdownVisibleChange:oo,dropdownMatchSelectWidth:Nr}))))}),le=fe;le.TreeNode=ze,le.SHOW_ALL=Sn,le.SHOW_PARENT=jt,le.SHOW_CHILD=Jt;var Fe=le,at=Fe,Ze=ie(2738),Me=ie(53487),Lt=ie(62892),bt=ie(19080),et=ie(36355),Zt=ie(1684),Cn=ie(93891),kt=ie(19716),Qt=ie(32441),cn=ie(14154),vt=ie(58582),Oe=ie(84443),tt=ie(66339),ln=ie(33234),dn=ie(71997),An=ie(98447),Xn=ie(37613),Gt=ie(83116),nr=ie(20648);const wr=Rn=>{const{componentCls:tn,treePrefixCls:zn,colorBgElevated:er}=Rn,zt=`.${zn}`;return[{[`${tn}-dropdown`]:[{padding:`${Rn.paddingXS}px ${Rn.paddingXS/2}px`},(0,nr.Yk)(zn,(0,Xn.TS)(Rn,{colorBgContainer:er})),{[zt]:{borderRadius:0,[`${zt}-list-holder-inner`]:{alignItems:"stretch",[`${zt}-treenode`]:{[`${zt}-node-content-wrapper`]:{flex:"auto"}}}}},(0,An.C2)(`${zn}-checkbox`,Rn),{"&-rtl":{direction:"rtl",[`${zt}-switcher${zt}-switcher_close`]:{[`${zt}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function kr(Rn,tn){return(0,Gt.Z)("TreeSelect",zn=>{const er=(0,Xn.TS)(zn,{treePrefixCls:tn});return[wr(er)]},nr.TM)(Rn)}var rr=function(Rn,tn){var zn={};for(var er in Rn)Object.prototype.hasOwnProperty.call(Rn,er)&&tn.indexOf(er)<0&&(zn[er]=Rn[er]);if(Rn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,er=Object.getOwnPropertySymbols(Rn);zt<er.length;zt++)tn.indexOf(er[zt])<0&&Object.prototype.propertyIsEnumerable.call(Rn,er[zt])&&(zn[er[zt]]=Rn[er[zt]]);return zn};const Ar=(Rn,tn)=>{var zn,{prefixCls:er,size:zt,disabled:bn,bordered:kn=!0,className:Tt,rootClassName:an,treeCheckable:sn,multiple:rn,listHeight:$n=256,listItemHeight:Ft=26,placement:Ie,notFoundContent:Xe,switcherIcon:He,treeLine:Ke,getPopupContainer:Bt,popupClassName:dt,dropdownClassName:on,treeIcon:nn=!1,transitionName:hn,choiceTransitionName:Pn="",status:Jn,treeExpandAction:In,builtinPlacements:Xt,dropdownMatchSelectWidth:wn,popupMatchSelectWidth:pr,allowClear:lr}=Rn,ar=rr(Rn,["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:dr,getPrefixCls:Ir,renderEmpty:tr,direction:Yr,virtual:_t,popupMatchSelectWidth:xn,popupOverflow:Dn}=Ge.useContext(et.E_),Un=Ir(),Bn=Ir("select",er),Vn=Ir("select-tree",er),Nn=Ir("tree-select",er),{compactSize:ir,compactItemClassnames:Cr}=(0,ln.ri)(Bn,Yr),[Nr,ai]=(0,cn.Z)(Bn),[si]=kr(Nn,Vn),mi=be()(dt||on,`${Nn}-dropdown`,{[`${Nn}-dropdown-rtl`]:Yr==="rtl"},an,ai),br=!!(sn||rn),Hr=(0,Oe.Z)(ar.suffixIcon,ar.showArrow),Lr=(zn=pr!=null?pr:wn)!==null&&zn!==void 0?zn:xn,{status:ni,hasFeedback:$r,isFormItemInput:Fr,feedbackIcon:Vr}=Ge.useContext(Qt.aM),ei=(0,bt.F)(ni,Jn),{suffixIcon:_r,removeIcon:ki,clearIcon:Ki}=(0,tt.Z)(Object.assign(Object.assign({},ar),{multiple:br,showSuffixIcon:Hr,hasFeedback:$r,feedbackIcon:Vr,prefixCls:Bn,componentName:"TreeSelect"})),hi=lr===!0?{clearIcon:Ki}:lr;let Dr;Xe!==void 0?Dr=Xe:Dr=(tr==null?void 0:tr("Select"))||Ge.createElement(Cn.Z,{componentName:"Select"});const or=(0,Ze.Z)(ar,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),ui=Ge.useMemo(()=>Ie!==void 0?Ie:Yr==="rtl"?"bottomRight":"bottomLeft",[Ie,Yr]),gi=(0,vt.Z)(Xt,Dn),Pi=(0,kt.Z)(Pt=>{var fn;return(fn=zt!=null?zt:ir)!==null&&fn!==void 0?fn:Pt}),rt=Ge.useContext(Zt.Z),gt=bn!=null?bn:rt,Yt=be()(!er&&Nn,{[`${Bn}-lg`]:Pi==="large",[`${Bn}-sm`]:Pi==="small",[`${Bn}-rtl`]:Yr==="rtl",[`${Bn}-borderless`]:!kn,[`${Bn}-in-form-item`]:Fr},(0,bt.Z)(Bn,ei,$r),Cr,Tt,an,ai),gn=Pt=>Ge.createElement(dn.Z,{prefixCls:Vn,switcherIcon:He,treeNodeProps:Pt,showLine:Ke}),Yn=Ge.createElement(at,Object.assign({virtual:_t,disabled:gt},or,{dropdownMatchSelectWidth:Lr,builtinPlacements:gi,ref:tn,prefixCls:Bn,className:Yt,listHeight:$n,listItemHeight:Ft,treeCheckable:sn&&Ge.createElement("span",{className:`${Bn}-tree-checkbox-inner`}),treeLine:!!Ke,suffixIcon:_r,multiple:br,placement:ui,removeIcon:ki,allowClear:hi,switcherIcon:gn,showTreeIcon:nn,notFoundContent:Dr,getPopupContainer:Bt||dr,treeMotion:null,dropdownClassName:mi,choiceTransitionName:(0,Lt.m)(Un,"",Pn),transitionName:(0,Lt.m)(Un,"slide-up",hn),treeExpandAction:In}));return Nr(si(Yn))},xr=Ge.forwardRef(Ar),Br=(0,Me.Z)(xr);xr.TreeNode=ze,xr.SHOW_ALL=Sn,xr.SHOW_PARENT=jt,xr.SHOW_CHILD=Jt,xr._InternalPanelDoNotUseOrYouWillBeFired=Br;var ti=xr},17574:function(Ln,pn,ie){"use strict";ie.d(pn,{default:function(){return We}});var ne=ie(60091),be=ie(94480),Ce=ie(52671),yt=ie(8657),Se=ie(54476),Ae=ie(59301),pe={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"},ye=pe,Ee=ie(7657),Re=function(Qe,Vt){return Ae.createElement(Ee.Z,(0,Se.Z)({},Qe,{ref:Vt,icon:ye}))},ht=Ae.forwardRef(Re),ke=ht,Le=ie(92310),Ge=ie.n(Le),nt=ie(35654),ct=ie(71430),Et=ie(36355),Ct=ie(56082),Wt=ie(62892),ft=ie(20648);const pt=4;function ze(ve){const{dropPosition:Qe,dropLevelOffset:Vt,prefixCls:Mt,indent:Ue,direction:st="ltr"}=ve,Ht=st==="ltr"?"left":"right",yn=st==="ltr"?"right":"left",Ut={[Ht]:-Vt*Ue+pt,[yn]:0};switch(Qe){case-1:Ut.top=-3;break;case 1:Ut.bottom=-3;break;default:Ut.bottom=-3,Ut[Ht]=Ue+pt;break}return Ae.createElement("div",{style:Ut,className:`${Mt}-drop-indicator`})}var he=ie(71997),ot=Ae.forwardRef((ve,Qe)=>{const{getPrefixCls:Vt,direction:Mt,virtual:Ue,tree:st}=Ae.useContext(Et.E_),{prefixCls:Ht,className:yn,showIcon:Ut=!1,showLine:Sn,switcherIcon:jt,blockNode:Jt=!1,children:Ot,checkable:xe=!1,selectable:ce=!0,draggable:ue,motion:de,style:fe}=ve,le=Vt("tree",Ht),Fe=Vt(),at=de!=null?de:Object.assign(Object.assign({},(0,Wt.Z)(Fe)),{motionAppear:!1}),Ze=Object.assign(Object.assign({},ve),{checkable:xe,selectable:ce,showIcon:Ut,motion:at,blockNode:Jt,showLine:!!Sn,dropIndicatorRender:ze}),[Me,Lt]=(0,ft.ZP)(le),bt=Ae.useMemo(()=>{if(!ue)return!1;let Zt={};switch(typeof ue){case"function":Zt.nodeDraggable=ue;break;case"object":Zt=Object.assign({},ue);break;default:break}return Zt.icon!==!1&&(Zt.icon=Zt.icon||Ae.createElement(Ct.Z,null)),Zt},[ue]),et=Zt=>Ae.createElement(he.Z,{prefixCls:le,switcherIcon:jt,treeNodeProps:Zt,showLine:Sn});return Me(Ae.createElement(ne.Z,Object.assign({itemHeight:20,ref:Qe,virtual:Ue},Ze,{style:Object.assign(Object.assign({},st==null?void 0:st.style),fe),prefixCls:le,className:Ge()({[`${le}-icon-hide`]:!Ut,[`${le}-block-node`]:Jt,[`${le}-unselectable`]:!ce,[`${le}-rtl`]:Mt==="rtl"},st==null?void 0:st.className,yn,Lt),direction:Mt,checkable:xe&&Ae.createElement("span",{className:`${le}-checkbox-inner`}),selectable:ce,switcherIcon:et,draggable:bt}),Ot))}),ut;(function(ve){ve[ve.None=0]="None",ve[ve.Start=1]="Start",ve[ve.End=2]="End"})(ut||(ut={}));function Je(ve,Qe){function Vt(Mt){const{key:Ue,children:st}=Mt;Qe(Ue,Mt)!==!1&&Je(st||[],Qe)}ve.forEach(Vt)}function mt(ve){let{treeData:Qe,expandedKeys:Vt,startKey:Mt,endKey:Ue}=ve;const st=[];let Ht=ut.None;if(Mt&&Mt===Ue)return[Mt];if(!Mt||!Ue)return[];function yn(Ut){return Ut===Mt||Ut===Ue}return Je(Qe,Ut=>{if(Ht===ut.End)return!1;if(yn(Ut)){if(st.push(Ut),Ht===ut.None)Ht=ut.Start;else if(Ht===ut.Start)return Ht=ut.End,!1}else Ht===ut.Start&&st.push(Ut);return Vt.includes(Ut)}),st}function Te(ve,Qe){const Vt=(0,be.Z)(Qe),Mt=[];return Je(ve,(Ue,st)=>{const Ht=Vt.indexOf(Ue);return Ht!==-1&&(Mt.push(st),Vt.splice(Ht,1)),!!Vt.length}),Mt}var xt=function(ve,Qe){var Vt={};for(var Mt in ve)Object.prototype.hasOwnProperty.call(ve,Mt)&&Qe.indexOf(Mt)<0&&(Vt[Mt]=ve[Mt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Mt=Object.getOwnPropertySymbols(ve);Ue<Mt.length;Ue++)Qe.indexOf(Mt[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ve,Mt[Ue])&&(Vt[Mt[Ue]]=ve[Mt[Ue]]);return Vt};function Ne(ve){const{isLeaf:Qe,expanded:Vt}=ve;return Qe?Ae.createElement(Ce.Z,null):Vt?Ae.createElement(yt.Z,null):Ae.createElement(ke,null)}function Rt(ve){let{treeData:Qe,children:Vt}=ve;return Qe||(0,ct.zn)(Vt)}const Dt=(ve,Qe)=>{var{defaultExpandAll:Vt,defaultExpandParent:Mt,defaultExpandedKeys:Ue}=ve,st=xt(ve,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ht=Ae.useRef(),yn=Ae.useRef(),Ut=()=>{const{keyEntities:bt}=(0,ct.I8)(Rt(st));let et;return Vt?et=Object.keys(bt):Mt?et=(0,nt.r7)(st.expandedKeys||Ue||[],bt):et=st.expandedKeys||Ue,et},[Sn,jt]=Ae.useState(st.selectedKeys||st.defaultSelectedKeys||[]),[Jt,Ot]=Ae.useState(()=>Ut());Ae.useEffect(()=>{"selectedKeys"in st&&jt(st.selectedKeys)},[st.selectedKeys]),Ae.useEffect(()=>{"expandedKeys"in st&&Ot(st.expandedKeys)},[st.expandedKeys]);const xe=(bt,et)=>{var Zt;return"expandedKeys"in st||Ot(bt),(Zt=st.onExpand)===null||Zt===void 0?void 0:Zt.call(st,bt,et)},ce=(bt,et)=>{var Zt;const{multiple:Cn}=st,{node:kt,nativeEvent:Qt}=et,{key:cn=""}=kt,vt=Rt(st),Oe=Object.assign(Object.assign({},et),{selected:!0}),tt=(Qt==null?void 0:Qt.ctrlKey)||(Qt==null?void 0:Qt.metaKey),ln=Qt==null?void 0:Qt.shiftKey;let dn;Cn&&tt?(dn=bt,Ht.current=cn,yn.current=dn,Oe.selectedNodes=Te(vt,dn)):Cn&&ln?(dn=Array.from(new Set([].concat((0,be.Z)(yn.current||[]),(0,be.Z)(mt({treeData:vt,expandedKeys:Jt,startKey:cn,endKey:Ht.current}))))),Oe.selectedNodes=Te(vt,dn)):(dn=[cn],Ht.current=cn,yn.current=dn,Oe.selectedNodes=Te(vt,dn)),(Zt=st.onSelect)===null||Zt===void 0||Zt.call(st,dn,Oe),"selectedKeys"in st||jt(dn)},{getPrefixCls:ue,direction:de}=Ae.useContext(Et.E_),{prefixCls:fe,className:le,showIcon:Fe=!0,expandAction:at="click"}=st,Ze=xt(st,["prefixCls","className","showIcon","expandAction"]),Me=ue("tree",fe),Lt=Ge()(`${Me}-directory`,{[`${Me}-directory-rtl`]:de==="rtl"},le);return Ae.createElement(ot,Object.assign({icon:Ne,ref:Qe,blockNode:!0},Ze,{showIcon:Fe,expandAction:at,prefixCls:Me,className:Lt,expandedKeys:Jt,selectedKeys:Sn,onSelect:ce,onExpand:xe}))};var wt=Ae.forwardRef(Dt);const It=ot;It.DirectoryTree=wt,It.TreeNode=ne.O;var We=It},20648:function(Ln,pn,ie){"use strict";ie.d(pn,{TM:function(){return Le},Yk:function(){return ke}});var ne=ie(36237),be=ie(98447),Ce=ie(17313),yt=ie(8378),Se=ie(37613),Ae=ie(83116);const pe=new ne.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ye=(Ge,nt)=>({[`.${Ge}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${nt.motionDurationSlow}`}}}),Ee=(Ge,nt)=>({[`.${Ge}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:nt.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${nt.lineWidthBold}px solid ${nt.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Re=(Ge,nt)=>{const{treeCls:ct,treeNodeCls:Et,treeNodePadding:Ct,titleHeight:Wt,nodeSelectedBg:ft,nodeHoverBg:pt}=nt,ze=nt.paddingXS;return{[ct]:Object.assign(Object.assign({},(0,Ce.Wf)(nt)),{background:nt.colorBgContainer,borderRadius:nt.borderRadius,transition:`background-color ${nt.motionDurationSlow}`,[`&${ct}-rtl`]:{[`${ct}-switcher`]:{"&_close":{[`${ct}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ct}-active-focused)`]:Object.assign({},(0,Ce.oN)(nt)),[`${ct}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ct}-block-node`]:{[`${ct}-list-holder-inner`]:{alignItems:"stretch",[`${ct}-node-content-wrapper`]:{flex:"auto"},[`${Et}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Ct,insetInlineStart:0,border:`1px solid ${nt.colorPrimary}`,opacity:0,animationName:pe,animationDuration:nt.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Et}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Ct}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ct}-node-content-wrapper`]:{color:nt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ct}-node-content-wrapper`]:Object.assign({},(0,Ce.oN)(nt)),[`&:not(${Et}-disabled).filter-node ${ct}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ct}-draggable-icon`]:{flexShrink:0,width:Wt,lineHeight:`${Wt}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${nt.motionDurationSlow}`,[`${Et}:hover &`]:{opacity:.45}},[`&${Et}-disabled`]:{[`${ct}-draggable-icon`]:{visibility:"hidden"}}}},[`${ct}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Wt}},[`${ct}-draggable-icon`]:{visibility:"hidden"},[`${ct}-switcher`]:Object.assign(Object.assign({},ye(Ge,nt)),{position:"relative",flex:"none",alignSelf:"stretch",width:Wt,margin:0,lineHeight:`${Wt}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ct}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:nt.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Wt/2,bottom:-Ct,marginInlineStart:-1,borderInlineEnd:`1px solid ${nt.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Wt/2*.8,height:Wt/2,borderBottom:`1px solid ${nt.colorBorder}`,content:'""'}}}),[`${ct}-checkbox`]:{top:"initial",marginInlineEnd:ze},[`${ct}-node-content-wrapper, ${ct}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Wt,margin:0,padding:`0 ${nt.paddingXS/2}px`,color:"inherit",lineHeight:`${Wt}px`,background:"transparent",borderRadius:nt.borderRadius,cursor:"pointer",transition:`all ${nt.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:pt},[`&${ct}-node-selected`]:{backgroundColor:ft},[`${ct}-iconEle`]:{display:"inline-block",width:Wt,height:Wt,lineHeight:`${Wt}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ct}-unselectable ${ct}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ct}-node-content-wrapper`]:Object.assign({lineHeight:`${Wt}px`,userSelect:"none"},Ee(Ge,nt)),[`${Et}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${nt.colorPrimary}`}},"&-show-line":{[`${ct}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Wt/2,bottom:-Ct,borderInlineEnd:`1px solid ${nt.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ct}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Et}-leaf-last`]:{[`${ct}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Wt/2}px !important`}}}}})}},ht=Ge=>{const{treeCls:nt,treeNodeCls:ct,treeNodePadding:Et,directoryNodeSelectedBg:Ct,directoryNodeSelectedColor:Wt}=Ge;return{[`${nt}${nt}-directory`]:{[ct]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Et,insetInlineStart:0,transition:`background-color ${Ge.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Ge.controlItemBgHover}},"> *":{zIndex:1},[`${nt}-switcher`]:{transition:`color ${Ge.motionDurationMid}`},[`${nt}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${nt}-node-selected`]:{color:Wt,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Ct},[`${nt}-switcher`]:{color:Wt},[`${nt}-node-content-wrapper`]:{color:Wt,background:"transparent"}}}}}},ke=(Ge,nt)=>{const ct=`.${Ge}`,Et=`${ct}-treenode`,Ct=nt.paddingXS/2,Wt=(0,Se.TS)(nt,{treeCls:ct,treeNodeCls:Et,treeNodePadding:Ct});return[Re(Ge,Wt),ht(Wt)]},Le=Ge=>{const{controlHeightSM:nt}=Ge;return{titleHeight:nt,nodeHoverBg:Ge.controlItemBgHover,nodeSelectedBg:Ge.controlItemBgActive}};pn.ZP=(0,Ae.Z)("Tree",(Ge,nt)=>{let{prefixCls:ct}=nt;return[{[Ge.componentCls]:(0,be.C2)(`${ct}-checkbox`,Ge)},ke(ct,Ge),(0,yt.Z)(Ge)]},Ge=>{const{colorTextLightSolid:nt,colorPrimary:ct}=Ge;return Object.assign(Object.assign({},Le(Ge)),{directoryNodeSelectedColor:nt,directoryNodeSelectedBg:ct})})},71997:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return Et}});var ne=ie(54476),be=ie(59301),Ce={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"},yt=Ce,Se=ie(7657),Ae=function(Wt,ft){return be.createElement(Se.Z,(0,ne.Z)({},Wt,{ref:ft,icon:yt}))},pe=be.forwardRef(Ae),ye=pe,Ee=ie(52671),Re=ie(58617),ht=ie(15075),ke=ie(43531),Le=ie(92310),Ge=ie.n(Le),nt=ie(92343),Et=Ct=>{const{prefixCls:Wt,switcherIcon:ft,treeNodeProps:pt,showLine:ze}=Ct,{isLeaf:he,expanded:it,loading:ot}=pt;if(ot)return be.createElement(Re.Z,{className:`${Wt}-switcher-loading-icon`});let ut;if(ze&&typeof ze=="object"&&(ut=ze.showLeafIcon),he){if(!ze)return null;if(typeof ut!="boolean"&&ut){const Te=typeof ut=="function"?ut(pt):ut,xt=`${Wt}-switcher-line-custom-icon`;return(0,nt.l$)(Te)?(0,nt.Tm)(Te,{className:Ge()(Te.props.className||"",xt)}):Te}return ut?be.createElement(Ee.Z,{className:`${Wt}-switcher-line-icon`}):be.createElement("span",{className:`${Wt}-switcher-leaf-line`})}const Je=`${Wt}-switcher-icon`,mt=typeof ft=="function"?ft(pt):ft;return(0,nt.l$)(mt)?(0,nt.Tm)(mt,{className:Ge()(mt.props.className||"",Je)}):mt!==void 0?mt:ze?it?be.createElement(ht.Z,{className:`${Wt}-switcher-line-icon`}):be.createElement(ke.Z,{className:`${Wt}-switcher-line-icon`}):be.createElement(ye,{className:Je})}},99498:function(Ln,pn,ie){(function(ne){ne(ie(89780))})(function(ne){ne.defineOption("placeholder","",function(ye,Ee,Re){var ht=Re&&Re!=ne.Init;if(Ee&&!ht)ye.on("blur",Se),ye.on("change",Ae),ye.on("swapDoc",Ae),ne.on(ye.getInputField(),"compositionupdate",ye.state.placeholderCompose=function(){yt(ye)}),Ae(ye);else if(!Ee&&ht){ye.off("blur",Se),ye.off("change",Ae),ye.off("swapDoc",Ae),ne.off(ye.getInputField(),"compositionupdate",ye.state.placeholderCompose),be(ye);var ke=ye.getWrapperElement();ke.className=ke.className.replace(" CodeMirror-empty","")}Ee&&!ye.hasFocus()&&Se(ye)});function be(ye){ye.state.placeholder&&(ye.state.placeholder.parentNode.removeChild(ye.state.placeholder),ye.state.placeholder=null)}function Ce(ye){be(ye);var Ee=ye.state.placeholder=document.createElement("pre");Ee.style.cssText="height: 0; overflow: visible",Ee.style.direction=ye.getOption("direction"),Ee.className="CodeMirror-placeholder CodeMirror-line-like";var Re=ye.getOption("placeholder");typeof Re=="string"&&(Re=document.createTextNode(Re)),Ee.appendChild(Re),ye.display.lineSpace.insertBefore(Ee,ye.display.lineSpace.firstChild)}function yt(ye){setTimeout(function(){var Ee=!1,Re=ye.getInputField();Re.nodeName=="TEXTAREA"?Ee=!Re.value:ye.lineCount()==1&&(Ee=!/[^\u200b]/.test(Re.querySelector(".CodeMirror-line").textContent)),Ee?Ce(ye):be(ye)},20)}function Se(ye){pe(ye)&&Ce(ye)}function Ae(ye){var Ee=ye.getWrapperElement(),Re=pe(ye);Ee.className=Ee.className.replace(" CodeMirror-empty","")+(Re?" CodeMirror-empty":""),Re?Ce(ye):be(ye)}function pe(ye){return ye.lineCount()===1&&ye.getLine(0)===""}})},25717:function(Ln,pn,ie){(function(ne){ne(ie(89780))})(function(ne){var be={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Ce=ne.Pos;ne.defineOption("autoCloseBrackets",!1,function(nt,ct,Et){Et&&Et!=ne.Init&&(nt.removeKeyMap(Se),nt.state.closeBrackets=null),ct&&(Ae(yt(ct,"pairs")),nt.state.closeBrackets=ct,nt.addKeyMap(Se))});function yt(nt,ct){return ct=="pairs"&&typeof nt=="string"?nt:typeof nt=="object"&&nt[ct]!=null?nt[ct]:be[ct]}var Se={Backspace:Ee,Enter:Re};function Ae(nt){for(var ct=0;ct<nt.length;ct++){var Et=nt.charAt(ct),Ct="'"+Et+"'";Se[Ct]||(Se[Ct]=pe(Et))}}Ae(be.pairs+"`");function pe(nt){return function(ct){return ke(ct,nt)}}function ye(nt){var ct=nt.state.closeBrackets;if(!ct||ct.override)return ct;var Et=nt.getModeAt(nt.getCursor());return Et.closeBrackets||ct}function Ee(nt){var ct=ye(nt);if(!ct||nt.getOption("disableInput"))return ne.Pass;for(var Et=yt(ct,"pairs"),Ct=nt.listSelections(),Wt=0;Wt<Ct.length;Wt++){if(!Ct[Wt].empty())return ne.Pass;var ft=Le(nt,Ct[Wt].head);if(!ft||Et.indexOf(ft)%2!=0)return ne.Pass}for(var Wt=Ct.length-1;Wt>=0;Wt--){var pt=Ct[Wt].head;nt.replaceRange("",Ce(pt.line,pt.ch-1),Ce(pt.line,pt.ch+1),"+delete")}}function Re(nt){var ct=ye(nt),Et=ct&&yt(ct,"explode");if(!Et||nt.getOption("disableInput"))return ne.Pass;for(var Ct=nt.listSelections(),Wt=0;Wt<Ct.length;Wt++){if(!Ct[Wt].empty())return ne.Pass;var ft=Le(nt,Ct[Wt].head);if(!ft||Et.indexOf(ft)%2!=0)return ne.Pass}nt.operation(function(){var pt=nt.lineSeparator()||`
|
|
|
`;nt.replaceSelection(pt+pt,null),nt.execCommand("goCharLeft"),Ct=nt.listSelections();for(var ze=0;ze<Ct.length;ze++){var he=Ct[ze].head.line;nt.indentLine(he,null,!0),nt.indentLine(he+1,null,!0)}})}function ht(nt){var ct=ne.cmpPos(nt.anchor,nt.head)>0;return{anchor:new Ce(nt.anchor.line,nt.anchor.ch+(ct?-1:1)),head:new Ce(nt.head.line,nt.head.ch+(ct?1:-1))}}function ke(nt,ct){var Et=ye(nt);if(!Et||nt.getOption("disableInput"))return ne.Pass;var Ct=yt(Et,"pairs"),Wt=Ct.indexOf(ct);if(Wt==-1)return ne.Pass;for(var ft=yt(Et,"closeBefore"),pt=yt(Et,"triples"),ze=Ct.charAt(Wt+1)==ct,he=nt.listSelections(),it=Wt%2==0,ot,ut=0;ut<he.length;ut++){var Je=he[ut],mt=Je.head,Te,xt=nt.getRange(mt,Ce(mt.line,mt.ch+1));if(it&&!Je.empty())Te="surround";else if((ze||!it)&&xt==ct)ze&&Ge(nt,mt)?Te="both":pt.indexOf(ct)>=0&&nt.getRange(mt,Ce(mt.line,mt.ch+3))==ct+ct+ct?Te="skipThree":Te="skip";else if(ze&&mt.ch>1&&pt.indexOf(ct)>=0&&nt.getRange(Ce(mt.line,mt.ch-2),mt)==ct+ct){if(mt.ch>2&&/\bstring/.test(nt.getTokenTypeAt(Ce(mt.line,mt.ch-2))))return ne.Pass;Te="addFour"}else if(ze){var Ne=mt.ch==0?" ":nt.getRange(Ce(mt.line,mt.ch-1),mt);if(!ne.isWordChar(xt)&&Ne!=ct&&!ne.isWordChar(Ne))Te="both";else return ne.Pass}else if(it&&(xt.length===0||/\s/.test(xt)||ft.indexOf(xt)>-1))Te="both";else return ne.Pass;if(!ot)ot=Te;else if(ot!=Te)return ne.Pass}var Rt=Wt%2?Ct.charAt(Wt-1):ct,Dt=Wt%2?ct:Ct.charAt(Wt+1);nt.operation(function(){if(ot=="skip")nt.execCommand("goCharRight");else if(ot=="skipThree")for(var Nt=0;Nt<3;Nt++)nt.execCommand("goCharRight");else if(ot=="surround"){for(var wt=nt.getSelections(),Nt=0;Nt<wt.length;Nt++)wt[Nt]=Rt+wt[Nt]+Dt;nt.replaceSelections(wt,"around"),wt=nt.listSelections().slice();for(var Nt=0;Nt<wt.length;Nt++)wt[Nt]=ht(wt[Nt]);nt.setSelections(wt)}else ot=="both"?(nt.replaceSelection(Rt+Dt,null),nt.triggerElectric(Rt+Dt),nt.execCommand("goCharLeft")):ot=="addFour"&&(nt.replaceSelection(Rt+Rt+Rt+Rt,"before"),nt.execCommand("goCharRight"))})}function Le(nt,ct){var Et=nt.getRange(Ce(ct.line,ct.ch-1),Ce(ct.line,ct.ch+1));return Et.length==2?Et:null}function Ge(nt,ct){var Et=nt.getTokenAt(Ce(ct.line,ct.ch+1));return/\bstring/.test(Et.type)&&Et.start==ct.ch&&(ct.ch==0||!/\bstring/.test(nt.getTokenTypeAt(ct)))}})},6313:function(Ln,pn,ie){(function(ne){ne(ie(89780),ie(32855))})(function(ne){ne.defineOption("autoCloseTags",!1,function(Ee,Re,ht){if(ht!=ne.Init&&ht&&Ee.removeKeyMap("autoCloseTags"),!!Re){var ke={name:"autoCloseTags"};(typeof Re!="object"||Re.whenClosing!==!1)&&(ke["'/'"]=function(Le){return Ae(Le)}),(typeof Re!="object"||Re.whenOpening!==!1)&&(ke["'>'"]=function(Le){return yt(Le)}),Ee.addKeyMap(ke)}});var be=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Ce=["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 yt(Ee){if(Ee.getOption("disableInput"))return ne.Pass;for(var Re=Ee.listSelections(),ht=[],ke=Ee.getOption("autoCloseTags"),Le=0;Le<Re.length;Le++){if(!Re[Le].empty())return ne.Pass;var Ge=Re[Le].head,nt=Ee.getTokenAt(Ge),ct=ne.innerMode(Ee.getMode(),nt.state),Et=ct.state,Ct=ct.mode.xmlCurrentTag&&ct.mode.xmlCurrentTag(Et),Wt=Ct&&Ct.name;if(!Wt)return ne.Pass;var ft=ct.mode.configuration=="html",pt=typeof ke=="object"&&ke.dontCloseTags||ft&&be,ze=typeof ke=="object"&&ke.indentTags||ft&&Ce;nt.end>Ge.ch&&(Wt=Wt.slice(0,Wt.length-nt.end+Ge.ch));var he=Wt.toLowerCase();if(!Wt||nt.type=="string"&&(nt.end!=Ge.ch||!/[\"\']/.test(nt.string.charAt(nt.string.length-1))||nt.string.length==1)||nt.type=="tag"&&Ct.close||nt.string.indexOf("/")==Ge.ch-nt.start-1||pt&&pe(pt,he)>-1||ye(Ee,ct.mode.xmlCurrentContext&&ct.mode.xmlCurrentContext(Et)||[],Wt,Ge,!0))return ne.Pass;var it=typeof ke=="object"&&ke.emptyTags;if(it&&pe(it,Wt)>-1){ht[Le]={text:"/>",newPos:ne.Pos(Ge.line,Ge.ch+2)};continue}var ot=ze&&pe(ze,he)>-1;ht[Le]={indent:ot,text:">"+(ot?`
|
|
|
|
|
|
`:"")+"</"+Wt+">",newPos:ot?ne.Pos(Ge.line+1,0):ne.Pos(Ge.line,Ge.ch+1)}}for(var ut=typeof ke=="object"&&ke.dontIndentOnAutoClose,Le=Re.length-1;Le>=0;Le--){var Je=ht[Le];Ee.replaceRange(Je.text,Re[Le].head,Re[Le].anchor,"+insert");var mt=Ee.listSelections().slice(0);mt[Le]={head:Je.newPos,anchor:Je.newPos},Ee.setSelections(mt),!ut&&Je.indent&&(Ee.indentLine(Je.newPos.line,null,!0),Ee.indentLine(Je.newPos.line+1,null,!0))}}function Se(Ee,Re){for(var ht=Ee.listSelections(),ke=[],Le=Re?"/":"</",Ge=Ee.getOption("autoCloseTags"),nt=typeof Ge=="object"&&Ge.dontIndentOnSlash,ct=0;ct<ht.length;ct++){if(!ht[ct].empty())return ne.Pass;var Et=ht[ct].head,Ct=Ee.getTokenAt(Et),Wt=ne.innerMode(Ee.getMode(),Ct.state),ft=Wt.state;if(Re&&(Ct.type=="string"||Ct.string.charAt(0)!="<"||Ct.start!=Et.ch-1))return ne.Pass;var pt,ze=Wt.mode.name!="xml"&&Ee.getMode().name=="htmlmixed";if(ze&&Wt.mode.name=="javascript")pt=Le+"script";else if(ze&&Wt.mode.name=="css")pt=Le+"style";else{var he=Wt.mode.xmlCurrentContext&&Wt.mode.xmlCurrentContext(ft);if(!he||he.length&&ye(Ee,he,he[he.length-1],Et))return ne.Pass;pt=Le+he[he.length-1]}Ee.getLine(Et.line).charAt(Ct.end)!=">"&&(pt+=">"),ke[ct]=pt}if(Ee.replaceSelections(ke),ht=Ee.listSelections(),!nt)for(var ct=0;ct<ht.length;ct++)(ct==ht.length-1||ht[ct].head.line<ht[ct+1].head.line)&&Ee.indentLine(ht[ct].head.line)}function Ae(Ee){return Ee.getOption("disableInput")?ne.Pass:Se(Ee,!0)}ne.commands.closeTag=function(Ee){return Se(Ee)};function pe(Ee,Re){if(Ee.indexOf)return Ee.indexOf(Re);for(var ht=0,ke=Ee.length;ht<ke;++ht)if(Ee[ht]==Re)return ht;return-1}function ye(Ee,Re,ht,ke,Le){if(!ne.scanForClosingTag)return!1;var Ge=Math.min(Ee.lastLine()+1,ke.line+500),nt=ne.scanForClosingTag(Ee,ke,null,Ge);if(!nt||nt.tag!=ht)return!1;for(var ct=Le?1:0,Et=Re.length-1;Et>=0&&Re[Et]==ht;Et--)++ct;ke=nt.to;for(var Et=1;Et<ct;Et++){var Ct=ne.scanForClosingTag(Ee,ke,null,Ge);if(!Ct||Ct.tag!=ht)return!1;ke=Ct.to}return!0}})},32855:function(Ln,pn,ie){(function(ne){ne(ie(89780))})(function(ne){"use strict";var be=ne.Pos;function Ce(Et,Ct){return Et.line-Ct.line||Et.ch-Ct.ch}var yt="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",Se=yt+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ae=new RegExp("<(/?)(["+yt+"]["+Se+"]*)","g");function pe(Et,Ct,Wt,ft){this.line=Ct,this.ch=Wt,this.cm=Et,this.text=Et.getLine(Ct),this.min=ft?Math.max(ft.from,Et.firstLine()):Et.firstLine(),this.max=ft?Math.min(ft.to-1,Et.lastLine()):Et.lastLine()}function ye(Et,Ct){var Wt=Et.cm.getTokenTypeAt(be(Et.line,Ct));return Wt&&/\btag\b/.test(Wt)}function Ee(Et){if(!(Et.line>=Et.max))return Et.ch=0,Et.text=Et.cm.getLine(++Et.line),!0}function Re(Et){if(!(Et.line<=Et.min))return Et.text=Et.cm.getLine(--Et.line),Et.ch=Et.text.length,!0}function ht(Et){for(;;){var Ct=Et.text.indexOf(">",Et.ch);if(Ct==-1){if(Ee(Et))continue;return}if(!ye(Et,Ct+1)){Et.ch=Ct+1;continue}var Wt=Et.text.lastIndexOf("/",Ct),ft=Wt>-1&&!/\S/.test(Et.text.slice(Wt+1,Ct));return Et.ch=Ct+1,ft?"selfClose":"regular"}}function ke(Et){for(;;){var Ct=Et.ch?Et.text.lastIndexOf("<",Et.ch-1):-1;if(Ct==-1){if(Re(Et))continue;return}if(!ye(Et,Ct+1)){Et.ch=Ct;continue}Ae.lastIndex=Ct,Et.ch=Ct;var Wt=Ae.exec(Et.text);if(Wt&&Wt.index==Ct)return Wt}}function Le(Et){for(;;){Ae.lastIndex=Et.ch;var Ct=Ae.exec(Et.text);if(!Ct){if(Ee(Et))continue;return}if(!ye(Et,Ct.index+1)){Et.ch=Ct.index+1;continue}return Et.ch=Ct.index+Ct[0].length,Ct}}function Ge(Et){for(;;){var Ct=Et.ch?Et.text.lastIndexOf(">",Et.ch-1):-1;if(Ct==-1){if(Re(Et))continue;return}if(!ye(Et,Ct+1)){Et.ch=Ct;continue}var Wt=Et.text.lastIndexOf("/",Ct),ft=Wt>-1&&!/\S/.test(Et.text.slice(Wt+1,Ct));return Et.ch=Ct+1,ft?"selfClose":"regular"}}function nt(Et,Ct){for(var Wt=[];;){var ft=Le(Et),pt,ze=Et.line,he=Et.ch-(ft?ft[0].length:0);if(!ft||!(pt=ht(Et)))return;if(pt!="selfClose")if(ft[1]){for(var it=Wt.length-1;it>=0;--it)if(Wt[it]==ft[2]){Wt.length=it;break}if(it<0&&(!Ct||Ct==ft[2]))return{tag:ft[2],from:be(ze,he),to:be(Et.line,Et.ch)}}else Wt.push(ft[2])}}function ct(Et,Ct){for(var Wt=[];;){var ft=Ge(Et);if(!ft)return;if(ft=="selfClose"){ke(Et);continue}var pt=Et.line,ze=Et.ch,he=ke(Et);if(!he)return;if(he[1])Wt.push(he[2]);else{for(var it=Wt.length-1;it>=0;--it)if(Wt[it]==he[2]){Wt.length=it;break}if(it<0&&(!Ct||Ct==he[2]))return{tag:he[2],from:be(Et.line,Et.ch),to:be(pt,ze)}}}}ne.registerHelper("fold","xml",function(Et,Ct){for(var Wt=new pe(Et,Ct.line,0);;){var ft=Le(Wt);if(!ft||Wt.line!=Ct.line)return;var pt=ht(Wt);if(!pt)return;if(!ft[1]&&pt!="selfClose"){var ze=be(Wt.line,Wt.ch),he=nt(Wt,ft[2]);return he&&Ce(he.from,ze)>0?{from:ze,to:he.from}:null}}}),ne.findMatchingTag=function(Et,Ct,Wt){var ft=new pe(Et,Ct.line,Ct.ch,Wt);if(!(ft.text.indexOf(">")==-1&&ft.text.indexOf("<")==-1)){var pt=ht(ft),ze=pt&&be(ft.line,ft.ch),he=pt&&ke(ft);if(!(!pt||!he||Ce(ft,Ct)>0)){var it={from:be(ft.line,ft.ch),to:ze,tag:he[2]};return pt=="selfClose"?{open:it,close:null,at:"open"}:he[1]?{open:ct(ft,he[2]),close:it,at:"close"}:(ft=new pe(Et,ze.line,ze.ch,Wt),{open:it,close:nt(ft,he[2]),at:"open"})}}},ne.findEnclosingTag=function(Et,Ct,Wt,ft){for(var pt=new pe(Et,Ct.line,Ct.ch,Wt);;){var ze=ct(pt,ft);if(!ze)break;var he=new pe(Et,Ct.line,Ct.ch,Wt),it=nt(he,ze.tag);if(it)return{open:ze,close:it}}},ne.scanForClosingTag=function(Et,Ct,Wt,ft){var pt=new pe(Et,Ct.line,Ct.ch,ft?{from:0,to:ft}:null);return nt(pt,Wt)}})},89780:function(Ln){(function(pn,ie){Ln.exports=ie()})(this,function(){"use strict";var pn=navigator.userAgent,ie=navigator.platform,ne=/gecko\/\d/i.test(pn),be=/MSIE \d/.test(pn),Ce=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(pn),yt=/Edge\/(\d+)/.exec(pn),Se=be||Ce||yt,Ae=Se&&(be?document.documentMode||6:+(yt||Ce)[1]),pe=!yt&&/WebKit\//.test(pn),ye=pe&&/Qt\/\d+\.\d+/.test(pn),Ee=!yt&&/Chrome\//.test(pn),Re=/Opera\//.test(pn),ht=/Apple Computer/.test(navigator.vendor),ke=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(pn),Le=/PhantomJS/.test(pn),Ge=!yt&&/AppleWebKit/.test(pn)&&/Mobile\/\w+/.test(pn),nt=/Android/.test(pn),ct=Ge||nt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(pn),Et=Ge||/Mac/.test(ie),Ct=/\bCrOS\b/.test(pn),Wt=/win/i.test(ie),ft=Re&&pn.match(/Version\/(\d*\.\d*)/);ft&&(ft=Number(ft[1])),ft&&ft>=15&&(Re=!1,pe=!0);var pt=Et&&(ye||Re&&(ft==null||ft<12.11)),ze=ne||Se&&Ae>=9;function he(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var it=function(x,z){var re=x.className,te=he(z).exec(re);if(te){var oe=re.slice(te.index+te[0].length);x.className=re.slice(0,te.index)+(oe?te[1]+oe:"")}};function ot(x){for(var z=x.childNodes.length;z>0;--z)x.removeChild(x.firstChild);return x}function ut(x,z){return ot(x).appendChild(z)}function Je(x,z,re,te){var oe=document.createElement(x);if(re&&(oe.className=re),te&&(oe.style.cssText=te),typeof z=="string")oe.appendChild(document.createTextNode(z));else if(z)for(var me=0;me<z.length;++me)oe.appendChild(z[me]);return oe}function mt(x,z,re,te){var oe=Je(x,z,re,te);return oe.setAttribute("role","presentation"),oe}var Te;document.createRange?Te=function(x,z,re,te){var oe=document.createRange();return oe.setEnd(te||x,re),oe.setStart(x,z),oe}:Te=function(x,z,re){var te=document.body.createTextRange();try{te.moveToElementText(x.parentNode)}catch(oe){return te}return te.collapse(!0),te.moveEnd("character",re),te.moveStart("character",z),te};function xt(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 Ne(){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 Rt(x,z){var re=x.className;he(z).test(re)||(x.className+=(re?" ":"")+z)}function Dt(x,z){for(var re=x.split(" "),te=0;te<re.length;te++)re[te]&&!he(re[te]).test(z)&&(z+=" "+re[te]);return z}var Nt=function(x){x.select()};Ge?Nt=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:Se&&(Nt=function(x){try{x.select()}catch(z){}});function wt(x){var z=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,z)}}function It(x,z,re){z||(z={});for(var te in x)x.hasOwnProperty(te)&&(re!==!1||!z.hasOwnProperty(te))&&(z[te]=x[te]);return z}function We(x,z,re,te,oe){z==null&&(z=x.search(/[^\s\u00a0]/),z==-1&&(z=x.length));for(var me=te||0,Be=oe||0;;){var Ye=x.indexOf(" ",me);if(Ye<0||Ye>=z)return Be+(z-me);Be+=Ye-me,Be+=re-Be%re,me=Ye+1}}var ve=function(){this.id=null,this.f=null,this.time=0,this.handler=wt(this.onTimeout,this)};ve.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},ve.prototype.set=function(x,z){this.f=z;var re=+new Date+x;(!this.id||re<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=re)};function Qe(x,z){for(var re=0;re<x.length;++re)if(x[re]==z)return re;return-1}var Vt=50,Mt={toString:function(){return"CodeMirror.Pass"}},Ue={scroll:!1},st={origin:"*mouse"},Ht={origin:"+move"};function yn(x,z,re){for(var te=0,oe=0;;){var me=x.indexOf(" ",te);me==-1&&(me=x.length);var Be=me-te;if(me==x.length||oe+Be>=z)return te+Math.min(Be,z-oe);if(oe+=me-te,oe+=re-oe%re,te=me+1,oe>=z)return te}}var Ut=[""];function Sn(x){for(;Ut.length<=x;)Ut.push(jt(Ut)+" ");return Ut[x]}function jt(x){return x[x.length-1]}function Jt(x,z){for(var re=[],te=0;te<x.length;te++)re[te]=z(x[te],te);return re}function Ot(x,z,re){for(var te=0,oe=re(z);te<x.length&&re(x[te])<=oe;)te++;x.splice(te,0,z)}function xe(){}function ce(x,z){var re;return Object.create?re=Object.create(x):(xe.prototype=x,re=new xe),z&&It(z,re),re}var ue=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function de(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||ue.test(x))}function fe(x,z){return z?z.source.indexOf("\\w")>-1&&de(x)?!0:z.test(x):de(x)}function le(x){for(var z in x)if(x.hasOwnProperty(z)&&x[z])return!1;return!0}var Fe=/[\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 at(x){return x.charCodeAt(0)>=768&&Fe.test(x)}function Ze(x,z,re){for(;(re<0?z>0:z<x.length)&&at(x.charAt(z));)z+=re;return z}function Me(x,z,re){for(var te=z>re?-1:1;;){if(z==re)return z;var oe=(z+re)/2,me=te<0?Math.ceil(oe):Math.floor(oe);if(me==z)return x(me)?z:re;x(me)?re=me:z=me+te}}function Lt(x,z,re,te){if(!x)return te(z,re,"ltr",0);for(var oe=!1,me=0;me<x.length;++me){var Be=x[me];(Be.from<re&&Be.to>z||z==re&&Be.to==z)&&(te(Math.max(Be.from,z),Math.min(Be.to,re),Be.level==1?"rtl":"ltr",me),oe=!0)}oe||te(z,re,"ltr")}var bt=null;function et(x,z,re){var te;bt=null;for(var oe=0;oe<x.length;++oe){var me=x[oe];if(me.from<z&&me.to>z)return oe;me.to==z&&(me.from!=me.to&&re=="before"?te=oe:bt=oe),me.from==z&&(me.from!=me.to&&re!="before"?te=oe:bt=oe)}return te!=null?te:bt}var Zt=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",z="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function re(St){return St<=247?x.charAt(St):1424<=St&&St<=1524?"R":1536<=St&&St<=1785?z.charAt(St-1536):1774<=St&&St<=2220?"r":8192<=St&&St<=8203?"w":St==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,oe=/[stwN]/,me=/[LRr]/,Be=/[Lb1n]/,Ye=/[1n]/;function lt(St,En,Tn){this.level=St,this.from=En,this.to=Tn}return function(St,En){var Tn=En=="ltr"?"L":"R";if(St.length==0||En=="ltr"&&!te.test(St))return!1;for(var vr=St.length,hr=[],fi=0;fi<vr;++fi)hr.push(re(St.charCodeAt(fi)));for(var Bi=0,Xi=Tn;Bi<vr;++Bi){var pa=hr[Bi];pa=="m"?hr[Bi]=Xi:Xi=pa}for(var Sa=0,oa=Tn;Sa<vr;++Sa){var ka=hr[Sa];ka=="1"&&oa=="r"?hr[Sa]="n":me.test(ka)&&(oa=ka,ka=="r"&&(hr[Sa]="R"))}for(var Qa=1,qa=hr[0];Qa<vr-1;++Qa){var Fo=hr[Qa];Fo=="+"&&qa=="1"&&hr[Qa+1]=="1"?hr[Qa]="1":Fo==","&&qa==hr[Qa+1]&&(qa=="1"||qa=="n")&&(hr[Qa]=qa),qa=Fo}for(var Fl=0;Fl<vr;++Fl){var Gs=hr[Fl];if(Gs==",")hr[Fl]="N";else if(Gs=="%"){var ds=void 0;for(ds=Fl+1;ds<vr&&hr[ds]=="%";++ds);for(var gu=Fl&&hr[Fl-1]=="!"||ds<vr&&hr[ds]=="1"?"1":"N",vu=Fl;vu<ds;++vu)hr[vu]=gu;Fl=ds-1}}for(var Ns=0,yu=Tn;Ns<vr;++Ns){var go=hr[Ns];yu=="L"&&go=="1"?hr[Ns]="L":me.test(go)&&(yu=go)}for(var ys=0;ys<vr;++ys)if(oe.test(hr[ys])){var fs=void 0;for(fs=ys+1;fs<vr&&oe.test(hr[fs]);++fs);for(var bs=(ys?hr[ys-1]:Tn)=="L",Ms=(fs<vr?hr[fs]:Tn)=="L",Kc=bs==Ms?bs?"L":"R":Tn,Eu=ys;Eu<fs;++Eu)hr[Eu]=Kc;ys=fs-1}for(var Qs=[],vl,Ws=0;Ws<vr;)if(Be.test(hr[Ws])){var Md=Ws;for(++Ws;Ws<vr&&Be.test(hr[Ws]);++Ws);Qs.push(new lt(0,Md,Ws))}else{var uc=Ws,xc=Qs.length,qu=En=="rtl"?1:0;for(++Ws;Ws<vr&&hr[Ws]!="L";++Ws);for(var Ts=uc;Ts<Ws;)if(Ye.test(hr[Ts])){uc<Ts&&(Qs.splice(xc,0,new lt(1,uc,Ts)),xc+=qu);var Zc=Ts;for(++Ts;Ts<Ws&&Ye.test(hr[Ts]);++Ts);Qs.splice(xc,0,new lt(2,Zc,Ts)),xc+=qu,uc=Ts}else++Ts;uc<Ws&&Qs.splice(xc,0,new lt(1,uc,Ws))}return En=="ltr"&&(Qs[0].level==1&&(vl=St.match(/^\s+/))&&(Qs[0].from=vl[0].length,Qs.unshift(new lt(0,0,vl[0].length))),jt(Qs).level==1&&(vl=St.match(/\s+$/))&&(jt(Qs).to-=vl[0].length,Qs.push(new lt(0,vr-vl[0].length,vr)))),En=="rtl"?Qs.reverse():Qs}}();function Cn(x,z){var re=x.order;return re==null&&(re=x.order=Zt(x.text,z)),re}var kt=[],Qt=function(x,z,re){if(x.addEventListener)x.addEventListener(z,re,!1);else if(x.attachEvent)x.attachEvent("on"+z,re);else{var te=x._handlers||(x._handlers={});te[z]=(te[z]||kt).concat(re)}};function cn(x,z){return x._handlers&&x._handlers[z]||kt}function vt(x,z,re){if(x.removeEventListener)x.removeEventListener(z,re,!1);else if(x.detachEvent)x.detachEvent("on"+z,re);else{var te=x._handlers,oe=te&&te[z];if(oe){var me=Qe(oe,re);me>-1&&(te[z]=oe.slice(0,me).concat(oe.slice(me+1)))}}}function Oe(x,z){var re=cn(x,z);if(re.length)for(var te=Array.prototype.slice.call(arguments,2),oe=0;oe<re.length;++oe)re[oe].apply(null,te)}function tt(x,z,re){return typeof z=="string"&&(z={type:z,preventDefault:function(){this.defaultPrevented=!0}}),Oe(x,re||z.type,x,z),nr(z)||z.codemirrorIgnore}function ln(x){var z=x._handlers&&x._handlers.cursorActivity;if(z)for(var re=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),te=0;te<z.length;++te)Qe(re,z[te])==-1&&re.push(z[te])}function dn(x,z){return cn(x,z).length>0}function An(x){x.prototype.on=function(z,re){Qt(this,z,re)},x.prototype.off=function(z,re){vt(this,z,re)}}function Xn(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Gt(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function nr(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function wr(x){Xn(x),Gt(x)}function kr(x){return x.target||x.srcElement}function rr(x){var z=x.which;return z==null&&(x.button&1?z=1:x.button&2?z=3:x.button&4&&(z=2)),Et&&x.ctrlKey&&z==1&&(z=3),z}var Ar=function(){if(Se&&Ae<9)return!1;var x=Je("div");return"draggable"in x||"dragDrop"in x}(),li;function xr(x){if(li==null){var z=Je("span","\u200B");ut(x,Je("span",[z,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(li=z.offsetWidth<=1&&z.offsetHeight>2&&!(Se&&Ae<8))}var re=li?Je("span","\u200B"):Je("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return re.setAttribute("cm-text",""),re}var Br;function ti(x){if(Br!=null)return Br;var z=ut(x,document.createTextNode("A\u062EA")),re=Te(z,0,1).getBoundingClientRect(),te=Te(z,1,2).getBoundingClientRect();return ot(x),!re||re.left==re.right?!1:Br=te.right-re.right<3}var Rn=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(x){for(var z=0,re=[],te=x.length;z<=te;){var oe=x.indexOf(`
|
|
|
`,z);oe==-1&&(oe=x.length);var me=x.slice(z,x.charAt(oe-1)=="\r"?oe-1:oe),Be=me.indexOf("\r");Be!=-1?(re.push(me.slice(0,Be)),z+=Be+1):(re.push(me),z=oe+1)}return re}:function(x){return x.split(/\r\n?|\n/)},tn=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(re){}return!z||z.parentElement()!=x?!1:z.compareEndPoints("StartToEnd",z)!=0},zn=function(){var x=Je("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),er=null;function zt(x){if(er!=null)return er;var z=ut(x,Je("span","x")),re=z.getBoundingClientRect(),te=Te(z,0,1).getBoundingClientRect();return er=Math.abs(re.left-te.left)>1}var bn={},kn={};function Tt(x,z){arguments.length>2&&(z.dependencies=Array.prototype.slice.call(arguments,2)),bn[x]=z}function an(x,z){kn[x]=z}function sn(x){if(typeof x=="string"&&kn.hasOwnProperty(x))x=kn[x];else if(x&&typeof x.name=="string"&&kn.hasOwnProperty(x.name)){var z=kn[x.name];typeof z=="string"&&(z={name:z}),x=ce(z,x),x.name=z.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return sn("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return sn("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function rn(x,z){z=sn(z);var re=bn[z.name];if(!re)return rn(x,"text/plain");var te=re(x,z);if($n.hasOwnProperty(z.name)){var oe=$n[z.name];for(var me in oe)oe.hasOwnProperty(me)&&(te.hasOwnProperty(me)&&(te["_"+me]=te[me]),te[me]=oe[me])}if(te.name=z.name,z.helperType&&(te.helperType=z.helperType),z.modeProps)for(var Be in z.modeProps)te[Be]=z.modeProps[Be];return te}var $n={};function Ft(x,z){var re=$n.hasOwnProperty(x)?$n[x]:$n[x]={};It(z,re)}function Ie(x,z){if(z===!0)return z;if(x.copyState)return x.copyState(z);var re={};for(var te in z){var oe=z[te];oe instanceof Array&&(oe=oe.concat([])),re[te]=oe}return re}function Xe(x,z){for(var re;x.innerMode&&(re=x.innerMode(z),!(!re||re.mode==x));)z=re.state,x=re.mode;return re||{mode:x,state:z}}function He(x,z,re){return x.startState?x.startState(z,re):!0}var Ke=function(x,z,re){this.pos=this.start=0,this.string=x,this.tabSize=z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};Ke.prototype.eol=function(){return this.pos>=this.string.length},Ke.prototype.sol=function(){return this.pos==this.lineStart},Ke.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ke.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ke.prototype.eat=function(x){var z=this.string.charAt(this.pos),re;if(typeof x=="string"?re=z==x:re=z&&(x.test?x.test(z):x(z)),re)return++this.pos,z},Ke.prototype.eatWhile=function(x){for(var z=this.pos;this.eat(x););return this.pos>z},Ke.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},Ke.prototype.skipToEnd=function(){this.pos=this.string.length},Ke.prototype.skipTo=function(x){var z=this.string.indexOf(x,this.pos);if(z>-1)return this.pos=z,!0},Ke.prototype.backUp=function(x){this.pos-=x},Ke.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=We(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?We(this.string,this.lineStart,this.tabSize):0)},Ke.prototype.indentation=function(){return We(this.string,null,this.tabSize)-(this.lineStart?We(this.string,this.lineStart,this.tabSize):0)},Ke.prototype.match=function(x,z,re){if(typeof x=="string"){var te=function(Be){return re?Be.toLowerCase():Be},oe=this.string.substr(this.pos,x.length);if(te(oe)==te(x))return z!==!1&&(this.pos+=x.length),!0}else{var me=this.string.slice(this.pos).match(x);return me&&me.index>0?null:(me&&z!==!1&&(this.pos+=me[0].length),me)}},Ke.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ke.prototype.hideFirstChars=function(x,z){this.lineStart+=x;try{return z()}finally{this.lineStart-=x}},Ke.prototype.lookAhead=function(x){var z=this.lineOracle;return z&&z.lookAhead(x)},Ke.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function Bt(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 re=x;!re.lines;)for(var te=0;;++te){var oe=re.children[te],me=oe.chunkSize();if(z<me){re=oe;break}z-=me}return re.lines[z]}function dt(x,z,re){var te=[],oe=z.line;return x.iter(z.line,re.line+1,function(me){var Be=me.text;oe==re.line&&(Be=Be.slice(0,re.ch)),oe==z.line&&(Be=Be.slice(z.ch)),te.push(Be),++oe}),te}function on(x,z,re){var te=[];return x.iter(z,re,function(oe){te.push(oe.text)}),te}function nn(x,z){var re=z-x.height;if(re)for(var te=x;te;te=te.parent)te.height+=re}function hn(x){if(x.parent==null)return null;for(var z=x.parent,re=Qe(z.lines,x),te=z.parent;te;z=te,te=te.parent)for(var oe=0;te.children[oe]!=z;++oe)re+=te.children[oe].chunkSize();return re+z.first}function Pn(x,z){var re=x.first;e:do{for(var te=0;te<x.children.length;++te){var oe=x.children[te],me=oe.height;if(z<me){x=oe;continue e}z-=me,re+=oe.chunkSize()}return re}while(!x.lines);for(var Be=0;Be<x.lines.length;++Be){var Ye=x.lines[Be],lt=Ye.height;if(z<lt)break;z-=lt}return re+Be}function Jn(x,z){return z>=x.first&&z<x.first+x.size}function In(x,z){return String(x.lineNumberFormatter(z+x.firstLineNumber))}function Xt(x,z,re){if(re===void 0&&(re=null),!(this instanceof Xt))return new Xt(x,z,re);this.line=x,this.ch=z,this.sticky=re}function wn(x,z){return x.line-z.line||x.ch-z.ch}function pr(x,z){return x.sticky==z.sticky&&wn(x,z)==0}function lr(x){return Xt(x.line,x.ch)}function ar(x,z){return wn(x,z)<0?z:x}function dr(x,z){return wn(x,z)<0?x:z}function Ir(x,z){return Math.max(x.first,Math.min(z,x.first+x.size-1))}function tr(x,z){if(z.line<x.first)return Xt(x.first,0);var re=x.first+x.size-1;return z.line>re?Xt(re,Bt(x,re).text.length):Yr(z,Bt(x,z.line).text.length)}function Yr(x,z){var re=x.ch;return re==null||re>z?Xt(x.line,z):re<0?Xt(x.line,0):x}function _t(x,z){for(var re=[],te=0;te<z.length;te++)re[te]=tr(x,z[te]);return re}var xn=function(x,z){this.state=x,this.lookAhead=z},Dn=function(x,z,re,te){this.state=z,this.doc=x,this.line=re,this.maxLookAhead=te||0,this.baseTokens=null,this.baseTokenPos=1};Dn.prototype.lookAhead=function(x){var z=this.doc.getLine(this.line+x);return z!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),z},Dn.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}},Dn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Dn.fromSaved=function(x,z,re){return z instanceof xn?new Dn(x,Ie(x.mode,z.state),re,z.lookAhead):new Dn(x,Ie(x.mode,z),re)},Dn.prototype.save=function(x){var z=x!==!1?Ie(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new xn(z,this.maxLookAhead):z};function Un(x,z,re,te){var oe=[x.state.modeGen],me={};mi(x,z.text,x.doc.mode,re,function(St,En){return oe.push(St,En)},me,te);for(var Be=re.state,Ye=function(St){re.baseTokens=oe;var En=x.state.overlays[St],Tn=1,vr=0;re.state=!0,mi(x,z.text,En.mode,re,function(hr,fi){for(var Bi=Tn;vr<hr;){var Xi=oe[Tn];Xi>hr&&oe.splice(Tn,1,hr,oe[Tn+1],Xi),Tn+=2,vr=Math.min(hr,Xi)}if(fi)if(En.opaque)oe.splice(Bi,Tn-Bi,hr,"overlay "+fi),Tn=Bi+2;else for(;Bi<Tn;Bi+=2){var pa=oe[Bi+1];oe[Bi+1]=(pa?pa+" ":"")+"overlay "+fi}},me),re.state=Be,re.baseTokens=null,re.baseTokenPos=1},lt=0;lt<x.state.overlays.length;++lt)Ye(lt);return{styles:oe,classes:me.bgClass||me.textClass?me:null}}function Bn(x,z,re){if(!z.styles||z.styles[0]!=x.state.modeGen){var te=Vn(x,hn(z)),oe=z.text.length>x.options.maxHighlightLength&&Ie(x.doc.mode,te.state),me=Un(x,z,te);oe&&(te.state=oe),z.stateAfter=te.save(!oe),z.styles=me.styles,me.classes?z.styleClasses=me.classes:z.styleClasses&&(z.styleClasses=null),re===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return z.styles}function Vn(x,z,re){var te=x.doc,oe=x.display;if(!te.mode.startState)return new Dn(te,!0,z);var me=br(x,z,re),Be=me>te.first&&Bt(te,me-1).stateAfter,Ye=Be?Dn.fromSaved(te,Be,me):new Dn(te,He(te.mode),me);return te.iter(me,z,function(lt){Nn(x,lt.text,Ye);var St=Ye.line;lt.stateAfter=St==z-1||St%5==0||St>=oe.viewFrom&&St<oe.viewTo?Ye.save():null,Ye.nextLine()}),re&&(te.modeFrontier=Ye.line),Ye}function Nn(x,z,re,te){var oe=x.doc.mode,me=new Ke(z,x.options.tabSize,re);for(me.start=me.pos=te||0,z==""&&ir(oe,re.state);!me.eol();)Cr(oe,me,re.state),me.start=me.pos}function ir(x,z){if(x.blankLine)return x.blankLine(z);if(x.innerMode){var re=Xe(x,z);if(re.mode.blankLine)return re.mode.blankLine(re.state)}}function Cr(x,z,re,te){for(var oe=0;oe<10;oe++){te&&(te[0]=Xe(x,re).mode);var me=x.token(z,re);if(z.pos>z.start)return me}throw new Error("Mode "+x.name+" failed to advance stream.")}var Nr=function(x,z,re){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=z||null,this.state=re};function ai(x,z,re,te){var oe=x.doc,me=oe.mode,Be;z=tr(oe,z);var Ye=Bt(oe,z.line),lt=Vn(x,z.line,re),St=new Ke(Ye.text,x.options.tabSize,lt),En;for(te&&(En=[]);(te||St.pos<z.ch)&&!St.eol();)St.start=St.pos,Be=Cr(me,St,lt.state),te&&En.push(new Nr(St,Be,Ie(oe.mode,lt.state)));return te?En:new Nr(St,Be,lt.state)}function si(x,z){if(x)for(;;){var re=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!re)break;x=x.slice(0,re.index)+x.slice(re.index+re[0].length);var te=re[1]?"bgClass":"textClass";z[te]==null?z[te]=re[2]:new RegExp("(?:^|\\s)"+re[2]+"(?:$|\\s)").test(z[te])||(z[te]+=" "+re[2])}return x}function mi(x,z,re,te,oe,me,Be){var Ye=re.flattenSpans;Ye==null&&(Ye=x.options.flattenSpans);var lt=0,St=null,En=new Ke(z,x.options.tabSize,te),Tn,vr=x.options.addModeClass&&[null];for(z==""&&si(ir(re,te.state),me);!En.eol();){if(En.pos>x.options.maxHighlightLength?(Ye=!1,Be&&Nn(x,z,te,En.pos),En.pos=z.length,Tn=null):Tn=si(Cr(re,En,te.state,vr),me),vr){var hr=vr[0].name;hr&&(Tn="m-"+(Tn?hr+" "+Tn:hr))}if(!Ye||St!=Tn){for(;lt<En.start;)lt=Math.min(En.start,lt+5e3),oe(lt,St);St=Tn}En.start=En.pos}for(;lt<En.pos;){var fi=Math.min(En.pos,lt+5e3);oe(fi,St),lt=fi}}function br(x,z,re){for(var te,oe,me=x.doc,Be=re?-1:z-(x.doc.mode.innerMode?1e3:100),Ye=z;Ye>Be;--Ye){if(Ye<=me.first)return me.first;var lt=Bt(me,Ye-1),St=lt.stateAfter;if(St&&(!re||Ye+(St instanceof xn?St.lookAhead:0)<=me.modeFrontier))return Ye;var En=We(lt.text,null,x.options.tabSize);(oe==null||te>En)&&(oe=Ye-1,te=En)}return oe}function Hr(x,z){if(x.modeFrontier=Math.min(x.modeFrontier,z),!(x.highlightFrontier<z-10)){for(var re=x.first,te=z-1;te>re;te--){var oe=Bt(x,te).stateAfter;if(oe&&(!(oe instanceof xn)||te+oe.lookAhead<z)){re=te+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,re)}}var Lr=!1,ni=!1;function $r(){Lr=!0}function Fr(){ni=!0}function Vr(x,z,re){this.marker=x,this.from=z,this.to=re}function ei(x,z){if(x)for(var re=0;re<x.length;++re){var te=x[re];if(te.marker==z)return te}}function _r(x,z){for(var re,te=0;te<x.length;++te)x[te]!=z&&(re||(re=[])).push(x[te]);return re}function ki(x,z){x.markedSpans=x.markedSpans?x.markedSpans.concat([z]):[z],z.marker.attachLine(x)}function Ki(x,z,re){var te;if(x)for(var oe=0;oe<x.length;++oe){var me=x[oe],Be=me.marker,Ye=me.from==null||(Be.inclusiveLeft?me.from<=z:me.from<z);if(Ye||me.from==z&&Be.type=="bookmark"&&(!re||!me.marker.insertLeft)){var lt=me.to==null||(Be.inclusiveRight?me.to>=z:me.to>z);(te||(te=[])).push(new Vr(Be,me.from,lt?null:me.to))}}return te}function hi(x,z,re){var te;if(x)for(var oe=0;oe<x.length;++oe){var me=x[oe],Be=me.marker,Ye=me.to==null||(Be.inclusiveRight?me.to>=z:me.to>z);if(Ye||me.from==z&&Be.type=="bookmark"&&(!re||me.marker.insertLeft)){var lt=me.from==null||(Be.inclusiveLeft?me.from<=z:me.from<z);(te||(te=[])).push(new Vr(Be,lt?null:me.from-z,me.to==null?null:me.to-z))}}return te}function Dr(x,z){if(z.full)return null;var re=Jn(x,z.from.line)&&Bt(x,z.from.line).markedSpans,te=Jn(x,z.to.line)&&Bt(x,z.to.line).markedSpans;if(!re&&!te)return null;var oe=z.from.ch,me=z.to.ch,Be=wn(z.from,z.to)==0,Ye=Ki(re,oe,Be),lt=hi(te,me,Be),St=z.text.length==1,En=jt(z.text).length+(St?oe:0);if(Ye)for(var Tn=0;Tn<Ye.length;++Tn){var vr=Ye[Tn];if(vr.to==null){var hr=ei(lt,vr.marker);hr?St&&(vr.to=hr.to==null?null:hr.to+En):vr.to=oe}}if(lt)for(var fi=0;fi<lt.length;++fi){var Bi=lt[fi];if(Bi.to!=null&&(Bi.to+=En),Bi.from==null){var Xi=ei(Ye,Bi.marker);Xi||(Bi.from=En,St&&(Ye||(Ye=[])).push(Bi))}else Bi.from+=En,St&&(Ye||(Ye=[])).push(Bi)}Ye&&(Ye=or(Ye)),lt&<!=Ye&&(lt=or(lt));var pa=[Ye];if(!St){var Sa=z.text.length-2,oa;if(Sa>0&&Ye)for(var ka=0;ka<Ye.length;++ka)Ye[ka].to==null&&(oa||(oa=[])).push(new Vr(Ye[ka].marker,null,null));for(var Qa=0;Qa<Sa;++Qa)pa.push(oa);pa.push(lt)}return pa}function or(x){for(var z=0;z<x.length;++z){var re=x[z];re.from!=null&&re.from==re.to&&re.marker.clearWhenEmpty!==!1&&x.splice(z--,1)}return x.length?x:null}function ui(x,z,re){var te=null;if(x.iter(z.line,re.line+1,function(hr){if(hr.markedSpans)for(var fi=0;fi<hr.markedSpans.length;++fi){var Bi=hr.markedSpans[fi].marker;Bi.readOnly&&(!te||Qe(te,Bi)==-1)&&(te||(te=[])).push(Bi)}}),!te)return null;for(var oe=[{from:z,to:re}],me=0;me<te.length;++me)for(var Be=te[me],Ye=Be.find(0),lt=0;lt<oe.length;++lt){var St=oe[lt];if(!(wn(St.to,Ye.from)<0||wn(St.from,Ye.to)>0)){var En=[lt,1],Tn=wn(St.from,Ye.from),vr=wn(St.to,Ye.to);(Tn<0||!Be.inclusiveLeft&&!Tn)&&En.push({from:St.from,to:Ye.from}),(vr>0||!Be.inclusiveRight&&!vr)&&En.push({from:Ye.to,to:St.to}),oe.splice.apply(oe,En),lt+=En.length-3}}return oe}function gi(x){var z=x.markedSpans;if(z){for(var re=0;re<z.length;++re)z[re].marker.detachLine(x);x.markedSpans=null}}function Pi(x,z){if(z){for(var re=0;re<z.length;++re)z[re].marker.attachLine(x);x.markedSpans=z}}function rt(x){return x.inclusiveLeft?-1:0}function gt(x){return x.inclusiveRight?1:0}function Yt(x,z){var re=x.lines.length-z.lines.length;if(re!=0)return re;var te=x.find(),oe=z.find(),me=wn(te.from,oe.from)||rt(x)-rt(z);if(me)return-me;var Be=wn(te.to,oe.to)||gt(x)-gt(z);return Be||z.id-x.id}function gn(x,z){var re=ni&&x.markedSpans,te;if(re)for(var oe=void 0,me=0;me<re.length;++me)oe=re[me],oe.marker.collapsed&&(z?oe.from:oe.to)==null&&(!te||Yt(te,oe.marker)<0)&&(te=oe.marker);return te}function Yn(x){return gn(x,!0)}function Pt(x){return gn(x,!1)}function fn(x,z){var re=ni&&x.markedSpans,te;if(re)for(var oe=0;oe<re.length;++oe){var me=re[oe];me.marker.collapsed&&(me.from==null||me.from<z)&&(me.to==null||me.to>z)&&(!te||Yt(te,me.marker)<0)&&(te=me.marker)}return te}function Wn(x,z,re,te,oe){var me=Bt(x,z),Be=ni&&me.markedSpans;if(Be)for(var Ye=0;Ye<Be.length;++Ye){var lt=Be[Ye];if(lt.marker.collapsed){var St=lt.marker.find(0),En=wn(St.from,re)||rt(lt.marker)-rt(oe),Tn=wn(St.to,te)||gt(lt.marker)-gt(oe);if(!(En>=0&&Tn<=0||En<=0&&Tn>=0)&&(En<=0&&(lt.marker.inclusiveRight&&oe.inclusiveLeft?wn(St.to,re)>=0:wn(St.to,re)>0)||En>=0&&(lt.marker.inclusiveRight&&oe.inclusiveLeft?wn(St.from,te)<=0:wn(St.from,te)<0)))return!0}}}function Qn(x){for(var z;z=Yn(x);)x=z.find(-1,!0).line;return x}function Mr(x){for(var z;z=Pt(x);)x=z.find(1,!0).line;return x}function Ci(x){for(var z,re;z=Pt(x);)x=z.find(1,!0).line,(re||(re=[])).push(x);return re}function ri(x,z){var re=Bt(x,z),te=Qn(re);return re==te?z:hn(te)}function ii(x,z){if(z>x.lastLine())return z;var re=Bt(x,z),te;if(!Ii(x,re))return z;for(;te=Pt(re);)re=te.find(1,!0).line;return hn(re)+1}function Ii(x,z){var re=ni&&z.markedSpans;if(re){for(var te=void 0,oe=0;oe<re.length;++oe)if(te=re[oe],!!te.marker.collapsed){if(te.from==null)return!0;if(!te.marker.widgetNode&&te.from==0&&te.marker.inclusiveLeft&&da(x,z,te))return!0}}}function da(x,z,re){if(re.to==null){var te=re.marker.find(1,!0);return da(x,te.line,ei(te.line.markedSpans,re.marker))}if(re.marker.inclusiveRight&&re.to==z.text.length)return!0;for(var oe=void 0,me=0;me<z.markedSpans.length;++me)if(oe=z.markedSpans[me],oe.marker.collapsed&&!oe.marker.widgetNode&&oe.from==re.to&&(oe.to==null||oe.to!=re.from)&&(oe.marker.inclusiveLeft||re.marker.inclusiveRight)&&da(x,z,oe))return!0}function yr(x){x=Qn(x);for(var z=0,re=x.parent,te=0;te<re.lines.length;++te){var oe=re.lines[te];if(oe==x)break;z+=oe.height}for(var me=re.parent;me;re=me,me=re.parent)for(var Be=0;Be<me.children.length;++Be){var Ye=me.children[Be];if(Ye==re)break;z+=Ye.height}return z}function Kr(x){if(x.height==0)return 0;for(var z=x.text.length,re,te=x;re=Yn(te);){var oe=re.find(0,!0);te=oe.from.line,z+=oe.from.ch-oe.to.ch}for(te=x;re=Pt(te);){var me=re.find(0,!0);z-=te.text.length-me.from.ch,te=me.to.line,z+=te.text.length-me.to.ch}return z}function Tr(x){var z=x.display,re=x.doc;z.maxLine=Bt(re,re.first),z.maxLineLength=Kr(z.maxLine),z.maxLineChanged=!0,re.iter(function(te){var oe=Kr(te);oe>z.maxLineLength&&(z.maxLineLength=oe,z.maxLine=te)})}var Zr=function(x,z,re){this.text=x,Pi(this,z),this.height=re?re(this):1};Zr.prototype.lineNo=function(){return hn(this)},An(Zr);function wi(x,z,re,te){x.text=z,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),gi(x),Pi(x,re);var oe=te?te(x):1;oe!=x.height&&nn(x,oe)}function ua(x){x.parent=null,gi(x)}var la={},va={};function $i(x,z){if(!x||/^\s*$/.test(x))return null;var re=z.addModeClass?va:la;return re[x]||(re[x]=x.replace(/\S+/g,"cm-$&"))}function ga(x,z){var re=mt("span",null,null,pe?"padding-right: .1px":null),te={pre:mt("pre",[re],"CodeMirror-line"),content:re,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 me=oe?z.rest[oe-1]:z.line,Be=void 0;te.pos=0,te.addToken=Xa,ti(x.display.measure)&&(Be=Cn(me,x.doc.direction))&&(te.addToken=yo(te.addToken,Be)),te.map=[];var Ye=z!=x.display.externalMeasured&&hn(me);sl(me,te,Bn(x,me,Ye)),me.styleClasses&&(me.styleClasses.bgClass&&(te.bgClass=Dt(me.styleClasses.bgClass,te.bgClass||"")),me.styleClasses.textClass&&(te.textClass=Dt(me.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(xr(x.display.measure))),oe==0?(z.measure.map=te.map,z.measure.cache={}):((z.measure.maps||(z.measure.maps=[])).push(te.map),(z.measure.caches||(z.measure.caches=[])).push({}))}if(pe){var lt=te.content.lastChild;(/\bcm-tab\b/.test(lt.className)||lt.querySelector&<.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return Oe(x,"renderLine",x,z.line,te.pre),te.pre.className&&(te.textClass=Dt(te.pre.className,te.textClass||"")),te}function Wa(x){var z=Je("span","\u2022","cm-invalidchar");return z.title="\\u"+x.charCodeAt(0).toString(16),z.setAttribute("aria-label",z.title),z}function Xa(x,z,re,te,oe,me,Be){if(z){var Ye=x.splitSpaces?oo(z,x.trailingSpace):z,lt=x.cm.state.specialChars,St=!1,En;if(!lt.test(z))x.col+=z.length,En=document.createTextNode(Ye),x.map.push(x.pos,x.pos+z.length,En),Se&&Ae<9&&(St=!0),x.pos+=z.length;else{En=document.createDocumentFragment();for(var Tn=0;;){lt.lastIndex=Tn;var vr=lt.exec(z),hr=vr?vr.index-Tn:z.length-Tn;if(hr){var fi=document.createTextNode(Ye.slice(Tn,Tn+hr));Se&&Ae<9?En.appendChild(Je("span",[fi])):En.appendChild(fi),x.map.push(x.pos,x.pos+hr,fi),x.col+=hr,x.pos+=hr}if(!vr)break;Tn+=hr+1;var Bi=void 0;if(vr[0]==" "){var Xi=x.cm.options.tabSize,pa=Xi-x.col%Xi;Bi=En.appendChild(Je("span",Sn(pa),"cm-tab")),Bi.setAttribute("role","presentation"),Bi.setAttribute("cm-text"," "),x.col+=pa}else vr[0]=="\r"||vr[0]==`
|
|
|
`?(Bi=En.appendChild(Je("span",vr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Bi.setAttribute("cm-text",vr[0]),x.col+=1):(Bi=x.cm.options.specialCharPlaceholder(vr[0]),Bi.setAttribute("cm-text",vr[0]),Se&&Ae<9?En.appendChild(Je("span",[Bi])):En.appendChild(Bi),x.col+=1);x.map.push(x.pos,x.pos+1,Bi),x.pos++}}if(x.trailingSpace=Ye.charCodeAt(z.length-1)==32,re||te||oe||St||me||Be){var Sa=re||"";te&&(Sa+=te),oe&&(Sa+=oe);var oa=Je("span",[En],Sa,me);if(Be)for(var ka in Be)Be.hasOwnProperty(ka)&&ka!="style"&&ka!="class"&&oa.setAttribute(ka,Be[ka]);return x.content.appendChild(oa)}x.content.appendChild(En)}}function oo(x,z){if(x.length>1&&!/ /.test(x))return x;for(var re=z,te="",oe=0;oe<x.length;oe++){var me=x.charAt(oe);me==" "&&re&&(oe==x.length-1||x.charCodeAt(oe+1)==32)&&(me="\xA0"),te+=me,re=me==" "}return te}function yo(x,z){return function(re,te,oe,me,Be,Ye,lt){oe=oe?oe+" cm-force-border":"cm-force-border";for(var St=re.pos,En=St+te.length;;){for(var Tn=void 0,vr=0;vr<z.length&&(Tn=z[vr],!(Tn.to>St&&Tn.from<=St));vr++);if(Tn.to>=En)return x(re,te,oe,me,Be,Ye,lt);x(re,te.slice(0,Tn.to-St),oe,me,null,Ye,lt),me=null,te=te.slice(Tn.to-St),St=Tn.to}}}function so(x,z,re,te){var oe=!te&&re.widgetNode;oe&&x.map.push(x.pos,x.pos+z,oe),!te&&x.cm.display.input.needsContentAttribute&&(oe||(oe=x.content.appendChild(document.createElement("span"))),oe.setAttribute("cm-marker",re.id)),oe&&(x.cm.display.input.setUneditable(oe),x.content.appendChild(oe)),x.pos+=z,x.trailingSpace=!1}function sl(x,z,re){var te=x.markedSpans,oe=x.text,me=0;if(!te){for(var Be=1;Be<re.length;Be+=2)z.addToken(z,oe.slice(me,me=re[Be]),$i(re[Be+1],z.cm.options));return}for(var Ye=oe.length,lt=0,St=1,En="",Tn,vr,hr=0,fi,Bi,Xi,pa,Sa;;){if(hr==lt){fi=Bi=Xi=vr="",Sa=null,pa=null,hr=1/0;for(var oa=[],ka=void 0,Qa=0;Qa<te.length;++Qa){var qa=te[Qa],Fo=qa.marker;if(Fo.type=="bookmark"&&qa.from==lt&&Fo.widgetNode)oa.push(Fo);else if(qa.from<=lt&&(qa.to==null||qa.to>lt||Fo.collapsed&&qa.to==lt&&qa.from==lt)){if(qa.to!=null&&qa.to!=lt&&hr>qa.to&&(hr=qa.to,Bi=""),Fo.className&&(fi+=" "+Fo.className),Fo.css&&(vr=(vr?vr+";":"")+Fo.css),Fo.startStyle&&qa.from==lt&&(Xi+=" "+Fo.startStyle),Fo.endStyle&&qa.to==hr&&(ka||(ka=[])).push(Fo.endStyle,qa.to),Fo.title&&((Sa||(Sa={})).title=Fo.title),Fo.attributes)for(var Fl in Fo.attributes)(Sa||(Sa={}))[Fl]=Fo.attributes[Fl];Fo.collapsed&&(!pa||Yt(pa.marker,Fo)<0)&&(pa=qa)}else qa.from>lt&&hr>qa.from&&(hr=qa.from)}if(ka)for(var Gs=0;Gs<ka.length;Gs+=2)ka[Gs+1]==hr&&(Bi+=" "+ka[Gs]);if(!pa||pa.from==lt)for(var ds=0;ds<oa.length;++ds)so(z,0,oa[ds]);if(pa&&(pa.from||0)==lt){if(so(z,(pa.to==null?Ye+1:pa.to)-lt,pa.marker,pa.from==null),pa.to==null)return;pa.to==lt&&(pa=!1)}}if(lt>=Ye)break;for(var gu=Math.min(Ye,hr);;){if(En){var vu=lt+En.length;if(!pa){var Ns=vu>gu?En.slice(0,gu-lt):En;z.addToken(z,Ns,Tn?Tn+fi:fi,Xi,lt+Ns.length==hr?Bi:"",vr,Sa)}if(vu>=gu){En=En.slice(gu-lt),lt=gu;break}lt=vu,Xi=""}En=oe.slice(me,me=re[St++]),Tn=$i(re[St++],z.cm.options)}}}function ja(x,z,re){this.line=z,this.rest=Ci(z),this.size=this.rest?hn(jt(this.rest))-re+1:1,this.node=this.text=null,this.hidden=Ii(x,z)}function Va(x,z,re){for(var te=[],oe,me=z;me<re;me=oe){var Be=new ja(x.doc,Bt(x.doc,me),me);oe=me+Be.size,te.push(Be)}return te}var Gn=null;function Hn(x){Gn?Gn.ops.push(x):x.ownsGroup=Gn={ops:[x],delayedCallbacks:[]}}function Fn(x){var z=x.delayedCallbacks,re=0;do{for(;re<z.length;re++)z[re].call(null);for(var te=0;te<x.ops.length;te++){var oe=x.ops[te];if(oe.cursorActivityHandlers)for(;oe.cursorActivityCalled<oe.cursorActivityHandlers.length;)oe.cursorActivityHandlers[oe.cursorActivityCalled++].call(null,oe.cm)}}while(re<z.length)}function gr(x,z){var re=x.ownsGroup;if(re)try{Fn(re)}finally{Gn=null,z(re)}}var Rr=null;function Or(x,z){var re=cn(x,z);if(re.length){var te=Array.prototype.slice.call(arguments,2),oe;Gn?oe=Gn.delayedCallbacks:Rr?oe=Rr:(oe=Rr=[],setTimeout(ur,0));for(var me=function(Ye){oe.push(function(){return re[Ye].apply(null,te)})},Be=0;Be<re.length;++Be)me(Be)}}function ur(){var x=Rr;Rr=null;for(var z=0;z<x.length;++z)x[z]()}function ci(x,z,re,te){for(var oe=0;oe<z.changes.length;oe++){var me=z.changes[oe];me=="text"?di(x,z):me=="gutter"?Hi(x,z,re,te):me=="class"?Vi(x,z):me=="widget"&&La(x,z,te)}z.changes=null}function _i(x){return x.node==x.text&&(x.node=Je("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),Se&&Ae<8&&(x.node.style.zIndex=2)),x.node}function Ji(x,z){var re=z.bgClass?z.bgClass+" "+(z.line.bgClass||""):z.line.bgClass;if(re&&(re+=" CodeMirror-linebackground"),z.background)re?z.background.className=re:(z.background.parentNode.removeChild(z.background),z.background=null);else if(re){var te=_i(z);z.background=te.insertBefore(Je("div",null,re),te.firstChild),x.display.input.setUneditable(z.background)}}function Zi(x,z){var re=x.display.externalMeasured;return re&&re.line==z.line?(x.display.externalMeasured=null,z.measure=re.measure,re.built):ga(x,z)}function di(x,z){var re=z.text.className,te=Zi(x,z);z.text==z.node&&(z.node=te.pre),z.text.parentNode.replaceChild(te.pre,z.text),z.text=te.pre,te.bgClass!=z.bgClass||te.textClass!=z.textClass?(z.bgClass=te.bgClass,z.textClass=te.textClass,Vi(x,z)):re&&(z.text.className=re)}function Vi(x,z){Ji(x,z),z.line.wrapClass?_i(z).className=z.line.wrapClass:z.node!=z.text&&(z.node.className="");var re=z.textClass?z.textClass+" "+(z.line.textClass||""):z.line.textClass;z.text.className=re||""}function Hi(x,z,re,te){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=_i(z);z.gutterBackground=Je("div",null,"CodeMirror-gutter-background "+z.line.gutterClass,"left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px; width: "+te.gutterTotalWidth+"px"),x.display.input.setUneditable(z.gutterBackground),oe.insertBefore(z.gutterBackground,z.text)}var me=z.line.gutterMarkers;if(x.options.lineNumbers||me){var Be=_i(z),Ye=z.gutter=Je("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(x.display.input.setUneditable(Ye),Be.insertBefore(Ye,z.text),z.line.gutterClass&&(Ye.className+=" "+z.line.gutterClass),x.options.lineNumbers&&(!me||!me["CodeMirror-linenumbers"])&&(z.lineNumber=Ye.appendChild(Je("div",In(x.options,re),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+te.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),me)for(var lt=0;lt<x.display.gutterSpecs.length;++lt){var St=x.display.gutterSpecs[lt].className,En=me.hasOwnProperty(St)&&me[St];En&&Ye.appendChild(Je("div",[En],"CodeMirror-gutter-elt","left: "+te.gutterLeft[St]+"px; width: "+te.gutterWidth[St]+"px"))}}}function La(x,z,re){z.alignable&&(z.alignable=null);for(var te=he("CodeMirror-linewidget"),oe=z.node.firstChild,me=void 0;oe;oe=me)me=oe.nextSibling,te.test(oe.className)&&z.node.removeChild(oe);ra(x,z,re)}function Yi(x,z,re,te){var oe=Zi(x,z);return z.text=z.node=oe.pre,oe.bgClass&&(z.bgClass=oe.bgClass),oe.textClass&&(z.textClass=oe.textClass),Vi(x,z),Hi(x,z,re,te),ra(x,z,te),z.node}function ra(x,z,re){if(Ia(x,z.line,z,re,!0),z.rest)for(var te=0;te<z.rest.length;te++)Ia(x,z.rest[te],z,re,!1)}function Ia(x,z,re,te,oe){if(z.widgets)for(var me=_i(re),Be=0,Ye=z.widgets;Be<Ye.length;++Be){var lt=Ye[Be],St=Je("div",[lt.node],"CodeMirror-linewidget"+(lt.className?" "+lt.className:""));lt.handleMouseEvents||St.setAttribute("cm-ignore-events","true"),io(lt,St,re,te),x.display.input.setUneditable(St),oe&<.above?me.insertBefore(St,re.gutter||re.text):me.appendChild(St),Or(lt,"redraw")}}function io(x,z,re,te){if(x.noHScroll){(re.alignable||(re.alignable=[])).push(z);var oe=te.wrapperWidth;z.style.left=te.fixedPos+"px",x.coverGutter||(oe-=te.gutterTotalWidth,z.style.paddingLeft=te.gutterTotalWidth+"px"),z.style.width=oe+"px"}x.coverGutter&&(z.style.zIndex=5,z.style.position="relative",x.noHScroll||(z.style.marginLeft=-te.gutterTotalWidth+"px"))}function po(x){if(x.height!=null)return x.height;var z=x.doc.cm;if(!z)return 0;if(!xt(document.body,x.node)){var re="position: relative;";x.coverGutter&&(re+="margin-left: -"+z.display.gutters.offsetWidth+"px;"),x.noHScroll&&(re+="width: "+z.display.wrapper.clientWidth+"px;"),ut(z.display.measure,Je("div",[x.node],null,re))}return x.height=x.node.parentNode.offsetHeight}function il(x,z){for(var re=kr(z);re!=x.wrapper;re=re.parentNode)if(!re||re.nodeType==1&&re.getAttribute("cm-ignore-events")=="true"||re.parentNode==x.sizer&&re!=x.mover)return!0}function wl(x){return x.lineSpace.offsetTop}function Bs(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function ul(x){if(x.cachedPaddingH)return x.cachedPaddingH;var z=ut(x.measure,Je("pre","x","CodeMirror-line-like")),re=window.getComputedStyle?window.getComputedStyle(z):z.currentStyle,te={left:parseInt(re.paddingLeft),right:parseInt(re.paddingRight)};return!isNaN(te.left)&&!isNaN(te.right)&&(x.cachedPaddingH=te),te}function cl(x){return Vt-x.display.nativeBarWidth}function Jo(x){return x.display.scroller.clientWidth-cl(x)-x.display.barWidth}function hs(x){return x.display.scroller.clientHeight-cl(x)-x.display.barHeight}function Bl(x,z,re){var te=x.options.lineWrapping,oe=te&&Jo(x);if(!z.measure.heights||te&&z.measure.width!=oe){var me=z.measure.heights=[];if(te){z.measure.width=oe;for(var Be=z.text.firstChild.getClientRects(),Ye=0;Ye<Be.length-1;Ye++){var lt=Be[Ye],St=Be[Ye+1];Math.abs(lt.bottom-St.bottom)>2&&me.push((lt.bottom+St.top)/2-re.top)}}me.push(re.bottom-re.top)}}function ts(x,z,re){if(x.line==z)return{map:x.measure.map,cache:x.measure.cache};for(var te=0;te<x.rest.length;te++)if(x.rest[te]==z)return{map:x.measure.maps[te],cache:x.measure.caches[te]};for(var oe=0;oe<x.rest.length;oe++)if(hn(x.rest[oe])>re)return{map:x.measure.maps[oe],cache:x.measure.caches[oe],before:!0}}function Rs(x,z){z=Qn(z);var re=hn(z),te=x.display.externalMeasured=new ja(x.doc,z,re);te.lineN=re;var oe=te.built=ga(x,te);return te.text=oe.pre,ut(x.display.lineMeasure,oe.pre),te}function _l(x,z,re,te){return bo(x,Io(x,z),re,te)}function _o(x,z){if(z>=x.display.viewFrom&&z<x.display.viewTo)return x.display.view[ms(x,z)];var re=x.display.externalMeasured;if(re&&z>=re.lineN&&z<re.lineN+re.size)return re}function Io(x,z){var re=hn(z),te=_o(x,re);te&&!te.text?te=null:te&&te.changes&&(ci(x,te,re,Mo(x)),x.curOp.forceUpdate=!0),te||(te=Rs(x,z));var oe=ts(te,z,re);return{line:z,view:te,rect:null,map:oe.map,cache:oe.cache,before:oe.before,hasHeights:!1}}function bo(x,z,re,te,oe){z.before&&(re=-1);var me=re+(te||""),Be;return z.cache.hasOwnProperty(me)?Be=z.cache[me]:(z.rect||(z.rect=z.view.text.getBoundingClientRect()),z.hasHeights||(Bl(x,z.view,z.rect),z.hasHeights=!0),Be=uo(x,z,re,te),Be.bogus||(z.cache[me]=Be)),{left:Be.left,right:Be.right,top:oe?Be.rtop:Be.top,bottom:oe?Be.rbottom:Be.bottom}}var Rl={left:0,right:0,top:0,bottom:0};function Us(x,z,re){for(var te,oe,me,Be,Ye,lt,St=0;St<x.length;St+=3)if(Ye=x[St],lt=x[St+1],z<Ye?(oe=0,me=1,Be="left"):z<lt?(oe=z-Ye,me=oe+1):(St==x.length-3||z==lt&&x[St+3]>z)&&(me=lt-Ye,oe=me-1,z>=lt&&(Be="right")),oe!=null){if(te=x[St+2],Ye==lt&&re==(te.insertLeft?"left":"right")&&(Be=re),re=="left"&&oe==0)for(;St&&x[St-2]==x[St-3]&&x[St-1].insertLeft;)te=x[(St-=3)+2],Be="left";if(re=="right"&&oe==lt-Ye)for(;St<x.length-3&&x[St+3]==x[St+4]&&!x[St+5].insertLeft;)te=x[(St+=3)+2],Be="right";break}return{node:te,start:oe,end:me,collapse:Be,coverStart:Ye,coverEnd:lt}}function zl(x,z){var re=Rl;if(z=="left")for(var te=0;te<x.length&&(re=x[te]).left==re.right;te++);else for(var oe=x.length-1;oe>=0&&(re=x[oe]).left==re.right;oe--);return re}function uo(x,z,re,te){var oe=Us(z.map,re,te),me=oe.node,Be=oe.start,Ye=oe.end,lt=oe.collapse,St;if(me.nodeType==3){for(var En=0;En<4;En++){for(;Be&&at(z.line.text.charAt(oe.coverStart+Be));)--Be;for(;oe.coverStart+Ye<oe.coverEnd&&at(z.line.text.charAt(oe.coverStart+Ye));)++Ye;if(Se&&Ae<9&&Be==0&&Ye==oe.coverEnd-oe.coverStart?St=me.parentNode.getBoundingClientRect():St=zl(Te(me,Be,Ye).getClientRects(),te),St.left||St.right||Be==0)break;Ye=Be,Be=Be-1,lt="right"}Se&&Ae<11&&(St=no(x.display.measure,St))}else{Be>0&&(lt=te="right");var Tn;x.options.lineWrapping&&(Tn=me.getClientRects()).length>1?St=Tn[te=="right"?Tn.length-1:0]:St=me.getBoundingClientRect()}if(Se&&Ae<9&&!Be&&(!St||!St.left&&!St.right)){var vr=me.parentNode.getClientRects()[0];vr?St={left:vr.left,right:vr.left+mo(x.display),top:vr.top,bottom:vr.bottom}:St=Rl}for(var hr=St.top-z.rect.top,fi=St.bottom-z.rect.top,Bi=(hr+fi)/2,Xi=z.view.measure.heights,pa=0;pa<Xi.length-1&&!(Bi<Xi[pa]);pa++);var Sa=pa?Xi[pa-1]:0,oa=Xi[pa],ka={left:(lt=="right"?St.right:St.left)-z.rect.left,right:(lt=="left"?St.left:St.right)-z.rect.left,top:Sa,bottom:oa};return!St.left&&!St.right&&(ka.bogus=!0),x.options.singleCursorHeightPerLine||(ka.rtop=hr,ka.rbottom=fi),ka}function no(x,z){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!zt(x))return z;var re=screen.logicalXDPI/screen.deviceXDPI,te=screen.logicalYDPI/screen.deviceYDPI;return{left:z.left*re,right:z.right*re,top:z.top*te,bottom:z.bottom*te}}function jo(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,ot(x.display.lineMeasure);for(var z=0;z<x.display.view.length;z++)jo(x.display.view[z])}function qo(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 Ee&&nt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Jl(){return Ee&&nt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function ps(x){var z=0;if(x.widgets)for(var re=0;re<x.widgets.length;++re)x.widgets[re].above&&(z+=po(x.widgets[re]));return z}function Vl(x,z,re,te,oe){if(!oe){var me=ps(z);re.top+=me,re.bottom+=me}if(te=="line")return re;te||(te="local");var Be=yr(z);if(te=="local"?Be+=wl(x.display):Be-=x.display.viewOffset,te=="page"||te=="window"){var Ye=x.display.lineSpace.getBoundingClientRect();Be+=Ye.top+(te=="window"?0:Jl());var lt=Ye.left+(te=="window"?0:jl());re.left+=lt,re.right+=lt}return re.top+=Be,re.bottom+=Be,re}function fl(x,z,re){if(re=="div")return z;var te=z.left,oe=z.top;if(re=="page")te-=jl(),oe-=Jl();else if(re=="local"||!re){var me=x.display.sizer.getBoundingClientRect();te+=me.left,oe+=me.top}var Be=x.display.lineSpace.getBoundingClientRect();return{left:te-Be.left,top:oe-Be.top}}function ml(x,z,re,te,oe){return te||(te=Bt(x.doc,z.line)),Vl(x,te,_l(x,te,z.ch,oe),re)}function $o(x,z,re,te,oe,me){te=te||Bt(x.doc,z.line),oe||(oe=Io(x,te));function Be(fi,Bi){var Xi=bo(x,oe,fi,Bi?"right":"left",me);return Bi?Xi.left=Xi.right:Xi.right=Xi.left,Vl(x,te,Xi,re)}var Ye=Cn(te,x.doc.direction),lt=z.ch,St=z.sticky;if(lt>=te.text.length?(lt=te.text.length,St="before"):lt<=0&&(lt=0,St="after"),!Ye)return Be(St=="before"?lt-1:lt,St=="before");function En(fi,Bi,Xi){var pa=Ye[Bi],Sa=pa.level==1;return Be(Xi?fi-1:fi,Sa!=Xi)}var Tn=et(Ye,lt,St),vr=bt,hr=En(lt,Tn,St=="before");return vr!=null&&(hr.other=En(lt,vr,St!="before")),hr}function js(x,z){var re=0;z=tr(x.doc,z),x.options.lineWrapping||(re=mo(x.display)*z.ch);var te=Bt(x.doc,z.line),oe=yr(te)+wl(x.display);return{left:re,right:re,top:oe,bottom:oe+te.height}}function Pl(x,z,re,te,oe){var me=Xt(x,z,re);return me.xRel=oe,te&&(me.outside=te),me}function Hl(x,z,re){var te=x.doc;if(re+=x.display.viewOffset,re<0)return Pl(te.first,0,null,-1,-1);var oe=Pn(te,re),me=te.first+te.size-1;if(oe>me)return Pl(te.first+te.size-1,Bt(te,me).text.length,null,1,1);z<0&&(z=0);for(var Be=Bt(te,oe);;){var Ye=eu(x,Be,oe,z,re),lt=fn(Be,Ye.ch+(Ye.xRel>0||Ye.outside>0?1:0));if(!lt)return Ye;var St=lt.find(1);if(St.line==oe)return St;Be=Bt(te,oe=St.line)}}function ns(x,z,re,te){te-=ps(z);var oe=z.text.length,me=Me(function(Be){return bo(x,re,Be-1).bottom<=te},oe,0);return oe=Me(function(Be){return bo(x,re,Be).top>te},me,oe),{begin:me,end:oe}}function zs(x,z,re,te){re||(re=Io(x,z));var oe=Vl(x,z,bo(x,re,te),"line").top;return ns(x,z,re,oe)}function Sl(x,z,re,te){return x.bottom<=re?!1:x.top>re?!0:(te?x.left:x.right)>z}function eu(x,z,re,te,oe){oe-=yr(z);var me=Io(x,z),Be=ps(z),Ye=0,lt=z.text.length,St=!0,En=Cn(z,x.doc.direction);if(En){var Tn=(x.options.lineWrapping?Cs:rs)(x,z,re,me,En,te,oe);St=Tn.level!=1,Ye=St?Tn.from:Tn.to-1,lt=St?Tn.to:Tn.from-1}var vr=null,hr=null,fi=Me(function(Qa){var qa=bo(x,me,Qa);return qa.top+=Be,qa.bottom+=Be,Sl(qa,te,oe,!1)?(qa.top<=oe&&qa.left<=te&&(vr=Qa,hr=qa),!0):!1},Ye,lt),Bi,Xi,pa=!1;if(hr){var Sa=te-hr.left<hr.right-te,oa=Sa==St;fi=vr+(oa?0:1),Xi=oa?"after":"before",Bi=Sa?hr.left:hr.right}else{!St&&(fi==lt||fi==Ye)&&fi++,Xi=fi==0?"after":fi==z.text.length?"before":bo(x,me,fi-(St?1:0)).bottom+Be<=oe==St?"after":"before";var ka=$o(x,Xt(re,fi,Xi),"line",z,me);Bi=ka.left,pa=oe<ka.top?-1:oe>=ka.bottom?1:0}return fi=Ze(z.text,fi,1),Pl(re,fi,Xi,pa,te-Bi)}function rs(x,z,re,te,oe,me,Be){var Ye=Me(function(Tn){var vr=oe[Tn],hr=vr.level!=1;return Sl($o(x,Xt(re,hr?vr.to:vr.from,hr?"before":"after"),"line",z,te),me,Be,!0)},0,oe.length-1),lt=oe[Ye];if(Ye>0){var St=lt.level!=1,En=$o(x,Xt(re,St?lt.from:lt.to,St?"after":"before"),"line",z,te);Sl(En,me,Be,!0)&&En.top>Be&&(lt=oe[Ye-1])}return lt}function Cs(x,z,re,te,oe,me,Be){var Ye=ns(x,z,te,Be),lt=Ye.begin,St=Ye.end;/\s/.test(z.text.charAt(St-1))&&St--;for(var En=null,Tn=null,vr=0;vr<oe.length;vr++){var hr=oe[vr];if(!(hr.from>=St||hr.to<=lt)){var fi=hr.level!=1,Bi=bo(x,te,fi?Math.min(St,hr.to)-1:Math.max(lt,hr.from)).right,Xi=Bi<me?me-Bi+1e9:Bi-me;(!En||Tn>Xi)&&(En=hr,Tn=Xi)}}return En||(En=oe[oe.length-1]),En.from<lt&&(En={from:lt,to:En.to,level:En.level}),En.to>St&&(En={from:En.from,to:St,level:En.level}),En}var Ps;function Hs(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(Ps==null){Ps=Je("pre",null,"CodeMirror-line-like");for(var z=0;z<49;++z)Ps.appendChild(document.createTextNode("x")),Ps.appendChild(Je("br"));Ps.appendChild(document.createTextNode("x"))}ut(x.measure,Ps);var re=Ps.offsetHeight/50;return re>3&&(x.cachedTextHeight=re),ot(x.measure),re||1}function mo(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var z=Je("span","xxxxxxxxxx"),re=Je("pre",[z],"CodeMirror-line-like");ut(x.measure,re);var te=z.getBoundingClientRect(),oe=(te.right-te.left)/10;return oe>2&&(x.cachedCharWidth=oe),oe||10}function Mo(x){for(var z=x.display,re={},te={},oe=z.gutters.clientLeft,me=z.gutters.firstChild,Be=0;me;me=me.nextSibling,++Be){var Ye=x.display.gutterSpecs[Be].className;re[Ye]=me.offsetLeft+me.clientLeft+oe,te[Ye]=me.clientWidth}return{fixedPos:Vo(z),gutterTotalWidth:z.gutters.offsetWidth,gutterLeft:re,gutterWidth:te,wrapperWidth:z.wrapper.clientWidth}}function Vo(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Is(x){var z=Hs(x.display),re=x.options.lineWrapping,te=re&&Math.max(5,x.display.scroller.clientWidth/mo(x.display)-3);return function(oe){if(Ii(x.doc,oe))return 0;var me=0;if(oe.widgets)for(var Be=0;Be<oe.widgets.length;Be++)oe.widgets[Be].height&&(me+=oe.widgets[Be].height);return re?me+(Math.ceil(oe.text.length/te)||1)*z:me+z}}function is(x){var z=x.doc,re=Is(x);z.iter(function(te){var oe=re(te);oe!=te.height&&nn(te,oe)})}function ws(x,z,re,te){var oe=x.display;if(!re&&kr(z).getAttribute("cm-not-content")=="true")return null;var me,Be,Ye=oe.lineSpace.getBoundingClientRect();try{me=z.clientX-Ye.left,Be=z.clientY-Ye.top}catch(Tn){return null}var lt=Hl(x,me,Be),St;if(te&<.xRel>0&&(St=Bt(x.doc,lt.line).text).length==lt.ch){var En=We(St,St.length,x.options.tabSize)-St.length;lt=Xt(lt.line,Math.max(0,Math.round((me-ul(x.display).left)/mo(x.display))-En))}return lt}function ms(x,z){if(z>=x.display.viewTo||(z-=x.display.viewFrom,z<0))return null;for(var re=x.display.view,te=0;te<re.length;te++)if(z-=re[te].size,z<0)return te}function as(x,z,re,te){z==null&&(z=x.doc.first),re==null&&(re=x.doc.first+x.doc.size),te||(te=0);var oe=x.display;if(te&&re<oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>z)&&(oe.updateLineNumbers=z),x.curOp.viewChanged=!0,z>=oe.viewTo)ni&&ri(x.doc,z)<oe.viewTo&&iu(x);else if(re<=oe.viewFrom)ni&&ii(x.doc,re+te)>oe.viewFrom?iu(x):(oe.viewFrom+=te,oe.viewTo+=te);else if(z<=oe.viewFrom&&re>=oe.viewTo)iu(x);else if(z<=oe.viewFrom){var me=De(x,re,re+te,1);me?(oe.view=oe.view.slice(me.index),oe.viewFrom=me.lineN,oe.viewTo+=te):iu(x)}else if(re>=oe.viewTo){var Be=De(x,z,z,-1);Be?(oe.view=oe.view.slice(0,Be.index),oe.viewTo=Be.lineN):iu(x)}else{var Ye=De(x,z,z,-1),lt=De(x,re,re+te,1);Ye&<?(oe.view=oe.view.slice(0,Ye.index).concat(Va(x,Ye.lineN,lt.lineN)).concat(oe.view.slice(lt.index)),oe.viewTo+=te):iu(x)}var St=oe.externalMeasured;St&&(re<St.lineN?St.lineN+=te:z<St.lineN+St.size&&(oe.externalMeasured=null))}function ru(x,z,re){x.curOp.viewChanged=!0;var te=x.display,oe=x.display.externalMeasured;if(oe&&z>=oe.lineN&&z<oe.lineN+oe.size&&(te.externalMeasured=null),!(z<te.viewFrom||z>=te.viewTo)){var me=te.view[ms(x,z)];if(me.node!=null){var Be=me.changes||(me.changes=[]);Qe(Be,re)==-1&&Be.push(re)}}}function iu(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function De(x,z,re,te){var oe=ms(x,z),me,Be=x.display.view;if(!ni||re==x.doc.first+x.doc.size)return{index:oe,lineN:re};for(var Ye=x.display.viewFrom,lt=0;lt<oe;lt++)Ye+=Be[lt].size;if(Ye!=z){if(te>0){if(oe==Be.length-1)return null;me=Ye+Be[oe].size-z,oe++}else me=Ye-z;z+=me,re+=me}for(;ri(x.doc,re)!=re;){if(oe==(te<0?0:Be.length-1))return null;re+=te*Be[oe-(te<0?1:0)].size,oe+=te}return{index:oe,lineN:re}}function _e(x,z,re){var te=x.display,oe=te.view;oe.length==0||z>=te.viewTo||re<=te.viewFrom?(te.view=Va(x,z,re),te.viewFrom=z):(te.viewFrom>z?te.view=Va(x,z,te.viewFrom).concat(te.view):te.viewFrom<z&&(te.view=te.view.slice(ms(x,z))),te.viewFrom=z,te.viewTo<re?te.view=te.view.concat(Va(x,te.viewTo,re)):te.viewTo>re&&(te.view=te.view.slice(0,ms(x,re)))),te.viewTo=re}function qe(x){for(var z=x.display.view,re=0,te=0;te<z.length;te++){var oe=z[te];!oe.hidden&&(!oe.node||oe.changes)&&++re}return re}function $t(x){x.display.input.showSelection(x.display.input.prepareSelection())}function un(x,z){z===void 0&&(z=!0);for(var re=x.doc,te={},oe=te.cursors=document.createDocumentFragment(),me=te.selection=document.createDocumentFragment(),Be=0;Be<re.sel.ranges.length;Be++)if(!(!z&&Be==re.sel.primIndex)){var Ye=re.sel.ranges[Be];if(!(Ye.from().line>=x.display.viewTo||Ye.to().line<x.display.viewFrom)){var lt=Ye.empty();(lt||x.options.showCursorWhenSelecting)&&qn(x,Ye.head,oe),lt||Er(x,Ye,me)}}return te}function qn(x,z,re){var te=$o(x,z,"div",null,null,!x.options.singleCursorHeightPerLine),oe=re.appendChild(Je("div","\xA0","CodeMirror-cursor"));if(oe.style.left=te.left+"px",oe.style.top=te.top+"px",oe.style.height=Math.max(0,te.bottom-te.top)*x.options.cursorHeight+"px",te.other){var me=re.appendChild(Je("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));me.style.display="",me.style.left=te.other.left+"px",me.style.top=te.other.top+"px",me.style.height=(te.other.bottom-te.other.top)*.85+"px"}}function jn(x,z){return x.top-z.top||x.left-z.left}function Er(x,z,re){var te=x.display,oe=x.doc,me=document.createDocumentFragment(),Be=ul(x.display),Ye=Be.left,lt=Math.max(te.sizerWidth,Jo(x)-te.sizer.offsetLeft)-Be.right,St=oe.direction=="ltr";function En(oa,ka,Qa,qa){ka<0&&(ka=0),ka=Math.round(ka),qa=Math.round(qa),me.appendChild(Je("div",null,"CodeMirror-selected","position: absolute; left: "+oa+`px;
|
|
|
top: `+ka+"px; width: "+(Qa==null?lt-oa:Qa)+`px;
|
|
|
height: `+(qa-ka)+"px"))}function Tn(oa,ka,Qa){var qa=Bt(oe,oa),Fo=qa.text.length,Fl,Gs;function ds(Ns,yu){return ml(x,Xt(oa,Ns),"div",qa,yu)}function gu(Ns,yu,go){var ys=zs(x,qa,null,Ns),fs=yu=="ltr"==(go=="after")?"left":"right",bs=go=="after"?ys.begin:ys.end-(/\s/.test(qa.text.charAt(ys.end-1))?2:1);return ds(bs,fs)[fs]}var vu=Cn(qa,oe.direction);return Lt(vu,ka||0,Qa==null?Fo:Qa,function(Ns,yu,go,ys){var fs=go=="ltr",bs=ds(Ns,fs?"left":"right"),Ms=ds(yu-1,fs?"right":"left"),Kc=ka==null&&Ns==0,Eu=Qa==null&&yu==Fo,Qs=ys==0,vl=!vu||ys==vu.length-1;if(Ms.top-bs.top<=3){var Ws=(St?Kc:Eu)&&Qs,Md=(St?Eu:Kc)&&vl,uc=Ws?Ye:(fs?bs:Ms).left,xc=Md?lt:(fs?Ms:bs).right;En(uc,bs.top,xc-uc,bs.bottom)}else{var qu,Ts,Zc,Xs;fs?(qu=St&&Kc&&Qs?Ye:bs.left,Ts=St?lt:gu(Ns,go,"before"),Zc=St?Ye:gu(yu,go,"after"),Xs=St&&Eu&&vl?lt:Ms.right):(qu=St?gu(Ns,go,"before"):Ye,Ts=!St&&Kc&&Qs?lt:bs.right,Zc=!St&&Eu&&vl?Ye:Ms.left,Xs=St?gu(yu,go,"after"):lt),En(qu,bs.top,Ts-qu,bs.bottom),bs.bottom<Ms.top&&En(Ye,bs.bottom,null,Ms.top),En(Zc,Ms.top,Xs-Zc,Ms.bottom)}(!Fl||jn(bs,Fl)<0)&&(Fl=bs),jn(Ms,Fl)<0&&(Fl=Ms),(!Gs||jn(bs,Gs)<0)&&(Gs=bs),jn(Ms,Gs)<0&&(Gs=Ms)}),{start:Fl,end:Gs}}var vr=z.from(),hr=z.to();if(vr.line==hr.line)Tn(vr.line,vr.ch,hr.ch);else{var fi=Bt(oe,vr.line),Bi=Bt(oe,hr.line),Xi=Qn(fi)==Qn(Bi),pa=Tn(vr.line,vr.ch,Xi?fi.text.length+1:null).end,Sa=Tn(hr.line,Xi?0:null,hr.ch).start;Xi&&(pa.top<Sa.top-2?(En(pa.right,pa.top,null,pa.bottom),En(Ye,Sa.top,Sa.left,Sa.bottom)):En(pa.right,pa.top,Sa.left-pa.right,pa.bottom)),pa.bottom<Sa.top&&En(Ye,pa.bottom,null,Sa.top)}re.appendChild(me)}function Sr(x){if(x.state.focused){var z=x.display;clearInterval(z.blinker);var re=!0;z.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?z.blinker=setInterval(function(){x.hasFocus()||Qr(x),z.cursorDiv.style.visibility=(re=!re)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(z.cursorDiv.style.visibility="hidden")}}function Wr(x){x.state.focused||(x.display.input.focus(),Xr(x))}function Fi(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Qr(x))},100)}function Xr(x,z){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(Oe(x,"focus",x,z),x.state.focused=!0,Rt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),pe&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),Sr(x))}function Qr(x,z){x.state.delayingBlurEvent||(x.state.focused&&(Oe(x,"blur",x,z),x.state.focused=!1,it(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function vi(x){for(var z=x.display,re=z.lineDiv.offsetTop,te=0;te<z.view.length;te++){var oe=z.view[te],me=x.options.lineWrapping,Be=void 0,Ye=0;if(!oe.hidden){if(Se&&Ae<8){var lt=oe.node.offsetTop+oe.node.offsetHeight;Be=lt-re,re=lt}else{var St=oe.node.getBoundingClientRect();Be=St.bottom-St.top,!me&&oe.text.firstChild&&(Ye=oe.text.firstChild.getBoundingClientRect().right-St.left-1)}var En=oe.line.height-Be;if((En>.005||En<-.005)&&(nn(oe.line,Be),Si(oe.line),oe.rest))for(var Tn=0;Tn<oe.rest.length;Tn++)Si(oe.rest[Tn]);if(Ye>x.display.sizerWidth){var vr=Math.ceil(Ye/mo(x.display));vr>x.display.maxLineLength&&(x.display.maxLineLength=vr,x.display.maxLine=oe.line,x.display.maxLineChanged=!0)}}}}function Si(x){if(x.widgets)for(var z=0;z<x.widgets.length;++z){var re=x.widgets[z],te=re.node.parentNode;te&&(re.height=te.offsetHeight)}}function mr(x,z,re){var te=re&&re.top!=null?Math.max(0,re.top):x.scroller.scrollTop;te=Math.floor(te-wl(x));var oe=re&&re.bottom!=null?re.bottom:te+x.wrapper.clientHeight,me=Pn(z,te),Be=Pn(z,oe);if(re&&re.ensure){var Ye=re.ensure.from.line,lt=re.ensure.to.line;Ye<me?(me=Ye,Be=Pn(z,yr(Bt(z,Ye))+x.wrapper.clientHeight)):Math.min(lt,z.lastLine())>=Be&&(me=Pn(z,yr(Bt(z,lt))-x.wrapper.clientHeight),Be=lt)}return{from:me,to:Math.max(Be,me+1)}}function jr(x,z){if(!tt(x,"scrollCursorIntoView")){var re=x.display,te=re.sizer.getBoundingClientRect(),oe=null;if(z.top+te.top<0?oe=!0:z.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(oe=!1),oe!=null&&!Le){var me=Je("div","\u200B",null,`position: absolute;
|
|
|
top: `+(z.top-re.viewOffset-wl(x.display))+`px;
|
|
|
height: `+(z.bottom-z.top+cl(x)+re.barHeight)+`px;
|
|
|
left: `+z.left+"px; width: "+Math.max(2,z.right-z.left)+"px;");x.display.lineSpace.appendChild(me),me.scrollIntoView(oe),x.display.lineSpace.removeChild(me)}}}function bi(x,z,re,te){te==null&&(te=0);var oe;!x.options.lineWrapping&&z==re&&(z=z.ch?Xt(z.line,z.sticky=="before"?z.ch-1:z.ch,"after"):z,re=z.sticky=="before"?Xt(z.line,z.ch+1,"before"):z);for(var me=0;me<5;me++){var Be=!1,Ye=$o(x,z),lt=!re||re==z?Ye:$o(x,re);oe={left:Math.min(Ye.left,lt.left),top:Math.min(Ye.top,lt.top)-te,right:Math.max(Ye.left,lt.left),bottom:Math.max(Ye.bottom,lt.bottom)+te};var St=qi(x,oe),En=x.doc.scrollTop,Tn=x.doc.scrollLeft;if(St.scrollTop!=null&&(ao(x,St.scrollTop),Math.abs(x.doc.scrollTop-En)>1&&(Be=!0)),St.scrollLeft!=null&&(Do(x,St.scrollLeft),Math.abs(x.doc.scrollLeft-Tn)>1&&(Be=!0)),!Be)break}return oe}function ca(x,z){var re=qi(x,z);re.scrollTop!=null&&ao(x,re.scrollTop),re.scrollLeft!=null&&Do(x,re.scrollLeft)}function qi(x,z){var re=x.display,te=Hs(x.display);z.top<0&&(z.top=0);var oe=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:re.scroller.scrollTop,me=hs(x),Be={};z.bottom-z.top>me&&(z.bottom=z.top+me);var Ye=x.doc.height+Bs(re),lt=z.top<te,St=z.bottom>Ye-te;if(z.top<oe)Be.scrollTop=lt?0:z.top;else if(z.bottom>oe+me){var En=Math.min(z.top,(St?Ye:z.bottom)-me);En!=oe&&(Be.scrollTop=En)}var Tn=x.options.fixedGutter?0:re.gutters.offsetWidth,vr=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:re.scroller.scrollLeft-Tn,hr=Jo(x)-re.gutters.offsetWidth,fi=z.right-z.left>hr;return fi&&(z.right=z.left+hr),z.left<10?Be.scrollLeft=0:z.left<vr?Be.scrollLeft=Math.max(0,z.left+Tn-(fi?0:10)):z.right>hr+vr-3&&(Be.scrollLeft=z.right+(fi?0:10)-hr),Be}function sa(x,z){z!=null&&(lo(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+z)}function fa(x){lo(x);var z=x.getCursor();x.curOp.scrollToPos={from:z,to:z,margin:x.options.cursorScrollMargin}}function ia(x,z,re){(z!=null||re!=null)&&lo(x),z!=null&&(x.curOp.scrollLeft=z),re!=null&&(x.curOp.scrollTop=re)}function ea(x,z){lo(x),x.curOp.scrollToPos=z}function lo(x){var z=x.curOp.scrollToPos;if(z){x.curOp.scrollToPos=null;var re=js(x,z.from),te=js(x,z.to);Ya(x,re,te,z.margin)}}function Ya(x,z,re,te){var oe=qi(x,{left:Math.min(z.left,re.left),top:Math.min(z.top,re.top)-te,right:Math.max(z.right,re.right),bottom:Math.max(z.bottom,re.bottom)+te});ia(x,oe.scrollLeft,oe.scrollTop)}function ao(x,z){Math.abs(x.doc.scrollTop-z)<2||(ne||Oi(x,{top:z}),ko(x,z,!0),ne&&Oi(x),fr(x,100))}function ko(x,z,re){z=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,z)),!(x.display.scroller.scrollTop==z&&!re)&&(x.doc.scrollTop=z,x.display.scrollbars.setScrollTop(z),x.display.scroller.scrollTop!=z&&(x.display.scroller.scrollTop=z))}function Do(x,z,re,te){z=Math.max(0,Math.min(z,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((re?z==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-z)<2)&&!te)&&(x.doc.scrollLeft=z,Ea(x),x.display.scroller.scrollLeft!=z&&(x.display.scroller.scrollLeft=z),x.display.scrollbars.setScrollLeft(z))}function zo(x){var z=x.display,re=z.gutters.offsetWidth,te=Math.round(x.doc.height+Bs(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?re:0,docHeight:te,scrollHeight:te+cl(x)+z.barHeight,nativeBarWidth:z.nativeBarWidth,gutterWidth:re}}var el=function(x,z,re){this.cm=re;var te=this.vert=Je("div",[Je("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),oe=this.horiz=Je("div",[Je("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=oe.tabIndex=-1,x(te),x(oe),Qt(te,"scroll",function(){te.clientHeight&&z(te.scrollTop,"vertical")}),Qt(oe,"scroll",function(){oe.clientWidth&&z(oe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Se&&Ae<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};el.prototype.update=function(x){var z=x.scrollWidth>x.clientWidth+1,re=x.scrollHeight>x.clientHeight+1,te=x.nativeBarWidth;if(re){this.vert.style.display="block",this.vert.style.bottom=z?te+"px":"0";var oe=x.viewHeight-(z?te: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=re?te+"px":"0",this.horiz.style.left=x.barLeft+"px";var me=x.viewWidth-x.barLeft-(re?te:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+me)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:re?te:0,bottom:z?te:0}},el.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},el.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},el.prototype.zeroWidthHack=function(){var x=Et&&!ke?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ve,this.disableVert=new ve},el.prototype.enableZeroWidthBar=function(x,z,re){x.style.pointerEvents="auto";function te(){var oe=x.getBoundingClientRect(),me=re=="vert"?document.elementFromPoint(oe.right-1,(oe.top+oe.bottom)/2):document.elementFromPoint((oe.right+oe.left)/2,oe.bottom-1);me!=x?x.style.pointerEvents="none":z.set(1e3,te)}z.set(1e3,te)},el.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var co=function(){};co.prototype.update=function(){return{bottom:0,right:0}},co.prototype.setScrollLeft=function(){},co.prototype.setScrollTop=function(){},co.prototype.clear=function(){};function fo(x,z){z||(z=zo(x));var re=x.display.barWidth,te=x.display.barHeight;xo(x,z);for(var oe=0;oe<4&&re!=x.display.barWidth||te!=x.display.barHeight;oe++)re!=x.display.barWidth&&x.options.lineWrapping&&vi(x),xo(x,zo(x)),re=x.display.barWidth,te=x.display.barHeight}function xo(x,z){var re=x.display,te=re.scrollbars.update(z);re.sizer.style.paddingRight=(re.barWidth=te.right)+"px",re.sizer.style.paddingBottom=(re.barHeight=te.bottom)+"px",re.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(re.scrollbarFiller.style.display="block",re.scrollbarFiller.style.height=te.bottom+"px",re.scrollbarFiller.style.width=te.right+"px"):re.scrollbarFiller.style.display="",te.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(re.gutterFiller.style.display="block",re.gutterFiller.style.height=te.bottom+"px",re.gutterFiller.style.width=z.gutterWidth+"px"):re.gutterFiller.style.display=""}var Go={native:el,null:co};function rl(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&it(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new Go[x.options.scrollbarStyle](function(z){x.display.wrapper.insertBefore(z,x.display.scrollbarFiller),Qt(z,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),z.setAttribute("cm-not-content","true")},function(z,re){re=="horizontal"?Do(x,z):ao(x,z)},x),x.display.scrollbars.addClass&&Rt(x.display.wrapper,x.display.scrollbars.addClass)}var Oo=0;function Co(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:++Oo},Hn(x.curOp)}function bl(x){var z=x.curOp;z&&gr(z,function(re){for(var te=0;te<re.ops.length;te++)re.ops[te].cm.curOp=null;Kl(re)})}function Kl(x){for(var z=x.ops,re=0;re<z.length;re++)Ve(z[re]);for(var te=0;te<z.length;te++)$e(z[te]);for(var oe=0;oe<z.length;oe++)Kt(z[oe]);for(var me=0;me<z.length;me++)qt(z[me]);for(var Be=0;Be<z.length;Be++)vn(z[Be])}function Ve(x){var z=x.cm,re=z.display;Gr(z),x.updateMaxLine&&Tr(z),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<re.viewFrom||x.scrollToPos.to.line>=re.viewTo)||re.maxLineChanged&&z.options.lineWrapping,x.update=x.mustUpdate&&new cr(z,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function $e(x){x.updatedDisplay=x.mustUpdate&&xi(x.cm,x.update)}function Kt(x){var z=x.cm,re=z.display;x.updatedDisplay&&vi(z),x.barMeasure=zo(z),re.maxLineChanged&&!z.options.lineWrapping&&(x.adjustWidthTo=_l(z,re.maxLine,re.maxLine.text.length).left+3,z.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(re.scroller.clientWidth,re.sizer.offsetLeft+x.adjustWidthTo+cl(z)+z.display.barWidth),x.maxScrollLeft=Math.max(0,re.sizer.offsetLeft+x.adjustWidthTo-Jo(z))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=re.input.prepareSelection())}function qt(x){var z=x.cm;x.adjustWidthTo!=null&&(z.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<z.doc.scrollLeft&&Do(z,Math.min(z.display.scroller.scrollLeft,x.maxScrollLeft),!0),z.display.maxLineChanged=!1);var re=x.focus&&x.focus==Ne();x.preparedSelection&&z.display.input.showSelection(x.preparedSelection,re),(x.updatedDisplay||x.startHeight!=z.doc.height)&&fo(z,x.barMeasure),x.updatedDisplay&&ya(z,x.barMeasure),x.selectionChanged&&Sr(z),z.state.focused&&x.updateInput&&z.display.input.reset(x.typing),re&&Wr(x.cm)}function vn(x){var z=x.cm,re=z.display,te=z.doc;if(x.updatedDisplay&&pi(z,x.update),re.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(re.wheelStartX=re.wheelStartY=null),x.scrollTop!=null&&ko(z,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&Do(z,x.scrollLeft,!0,!0),x.scrollToPos){var oe=bi(z,tr(te,x.scrollToPos.from),tr(te,x.scrollToPos.to),x.scrollToPos.margin);jr(z,oe)}var me=x.maybeHiddenMarkers,Be=x.maybeUnhiddenMarkers;if(me)for(var Ye=0;Ye<me.length;++Ye)me[Ye].lines.length||Oe(me[Ye],"hide");if(Be)for(var lt=0;lt<Be.length;++lt)Be[lt].lines.length&&Oe(Be[lt],"unhide");re.wrapper.offsetHeight&&(te.scrollTop=z.display.scroller.scrollTop),x.changeObjs&&Oe(z,"changes",z,x.changeObjs),x.update&&x.update.finish()}function mn(x,z){if(x.curOp)return z();Co(x);try{return z()}finally{bl(x)}}function _n(x,z){return function(){if(x.curOp)return z.apply(x,arguments);Co(x);try{return z.apply(x,arguments)}finally{bl(x)}}}function Kn(x){return function(){if(this.curOp)return x.apply(this,arguments);Co(this);try{return x.apply(this,arguments)}finally{bl(this)}}}function Zn(x){return function(){var z=this.cm;if(!z||z.curOp)return x.apply(this,arguments);Co(z);try{return x.apply(this,arguments)}finally{bl(z)}}}function fr(x,z){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(z,wt(sr,x))}function sr(x){var z=x.doc;if(!(z.highlightFrontier>=x.display.viewTo)){var re=+new Date+x.options.workTime,te=Vn(x,z.highlightFrontier),oe=[];z.iter(te.line,Math.min(z.first+z.size,x.display.viewTo+500),function(me){if(te.line>=x.display.viewFrom){var Be=me.styles,Ye=me.text.length>x.options.maxHighlightLength?Ie(z.mode,te.state):null,lt=Un(x,me,te,!0);Ye&&(te.state=Ye),me.styles=lt.styles;var St=me.styleClasses,En=lt.classes;En?me.styleClasses=En:St&&(me.styleClasses=null);for(var Tn=!Be||Be.length!=me.styles.length||St!=En&&(!St||!En||St.bgClass!=En.bgClass||St.textClass!=En.textClass),vr=0;!Tn&&vr<Be.length;++vr)Tn=Be[vr]!=me.styles[vr];Tn&&oe.push(te.line),me.stateAfter=te.save(),te.nextLine()}else me.text.length<=x.options.maxHighlightLength&&Nn(x,me.text,te),me.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>re)return fr(x,x.options.workDelay),!0}),z.highlightFrontier=te.line,z.modeFrontier=Math.max(z.modeFrontier,te.line),oe.length&&mn(x,function(){for(var me=0;me<oe.length;me++)ru(x,oe[me],"text")})}}var cr=function(x,z,re){var te=x.display;this.viewport=z,this.visible=mr(te,x.doc,z),this.editorIsHidden=!te.wrapper.offsetWidth,this.wrapperHeight=te.wrapper.clientHeight,this.wrapperWidth=te.wrapper.clientWidth,this.oldDisplayWidth=Jo(x),this.force=re,this.dims=Mo(x),this.events=[]};cr.prototype.signal=function(x,z){dn(x,z)&&this.events.push(arguments)},cr.prototype.finish=function(){for(var x=0;x<this.events.length;x++)Oe.apply(null,this.events[x])};function Gr(x){var z=x.display;!z.scrollbarsClipped&&z.scroller.offsetWidth&&(z.nativeBarWidth=z.scroller.offsetWidth-z.scroller.clientWidth,z.heightForcer.style.height=cl(x)+"px",z.sizer.style.marginBottom=-z.nativeBarWidth+"px",z.sizer.style.borderRightWidth=cl(x)+"px",z.scrollbarsClipped=!0)}function Ur(x){if(x.hasFocus())return null;var z=Ne();if(!z||!xt(x.display.lineDiv,z))return null;var re={activeElt:z};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&xt(x.display.lineDiv,te.anchorNode)&&(re.anchorNode=te.anchorNode,re.anchorOffset=te.anchorOffset,re.focusNode=te.focusNode,re.focusOffset=te.focusOffset)}return re}function Jr(x){if(!(!x||!x.activeElt||x.activeElt==Ne())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&xt(document.body,x.anchorNode)&&xt(document.body,x.focusNode))){var z=window.getSelection(),re=document.createRange();re.setEnd(x.anchorNode,x.anchorOffset),re.collapse(!1),z.removeAllRanges(),z.addRange(re),z.extend(x.focusNode,x.focusOffset)}}function xi(x,z){var re=x.display,te=x.doc;if(z.editorIsHidden)return iu(x),!1;if(!z.force&&z.visible.from>=re.viewFrom&&z.visible.to<=re.viewTo&&(re.updateLineNumbers==null||re.updateLineNumbers>=re.viewTo)&&re.renderedView==re.view&&qe(x)==0)return!1;aa(x)&&(iu(x),z.dims=Mo(x));var oe=te.first+te.size,me=Math.max(z.visible.from-x.options.viewportMargin,te.first),Be=Math.min(oe,z.visible.to+x.options.viewportMargin);re.viewFrom<me&&me-re.viewFrom<20&&(me=Math.max(te.first,re.viewFrom)),re.viewTo>Be&&re.viewTo-Be<20&&(Be=Math.min(oe,re.viewTo)),ni&&(me=ri(x.doc,me),Be=ii(x.doc,Be));var Ye=me!=re.viewFrom||Be!=re.viewTo||re.lastWrapHeight!=z.wrapperHeight||re.lastWrapWidth!=z.wrapperWidth;_e(x,me,Be),re.viewOffset=yr(Bt(x.doc,re.viewFrom)),x.display.mover.style.top=re.viewOffset+"px";var lt=qe(x);if(!Ye&<==0&&!z.force&&re.renderedView==re.view&&(re.updateLineNumbers==null||re.updateLineNumbers>=re.viewTo))return!1;var St=Ur(x);return lt>4&&(re.lineDiv.style.display="none"),Ai(x,re.updateLineNumbers,z.dims),lt>4&&(re.lineDiv.style.display=""),re.renderedView=re.view,Jr(St),ot(re.cursorDiv),ot(re.selectionDiv),re.gutters.style.height=re.sizer.style.minHeight=0,Ye&&(re.lastWrapHeight=z.wrapperHeight,re.lastWrapWidth=z.wrapperWidth,fr(x,400)),re.updateLineNumbers=null,!0}function pi(x,z){for(var re=z.viewport,te=!0;;te=!1){if(!te||!x.options.lineWrapping||z.oldDisplayWidth==Jo(x)){if(re&&re.top!=null&&(re={top:Math.min(x.doc.height+Bs(x.display)-hs(x),re.top)}),z.visible=mr(x.display,x.doc,re),z.visible.from>=x.display.viewFrom&&z.visible.to<=x.display.viewTo)break}else te&&(z.visible=mr(x.display,x.doc,re));if(!xi(x,z))break;vi(x);var oe=zo(x);$t(x),fo(x,oe),ya(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 Oi(x,z){var re=new cr(x,z);if(xi(x,re)){vi(x),pi(x,re);var te=zo(x);$t(x),fo(x,te),ya(x,te),re.finish()}}function Ai(x,z,re){var te=x.display,oe=x.options.lineNumbers,me=te.lineDiv,Be=me.firstChild;function Ye(fi){var Bi=fi.nextSibling;return pe&&Et&&x.display.currentWheelTarget==fi?fi.style.display="none":fi.parentNode.removeChild(fi),Bi}for(var lt=te.view,St=te.viewFrom,En=0;En<lt.length;En++){var Tn=lt[En];if(!Tn.hidden)if(!Tn.node||Tn.node.parentNode!=me){var vr=Yi(x,Tn,St,re);me.insertBefore(vr,Be)}else{for(;Be!=Tn.node;)Be=Ye(Be);var hr=oe&&z!=null&&z<=St&&Tn.lineNumber;Tn.changes&&(Qe(Tn.changes,"gutter")>-1&&(hr=!1),ci(x,Tn,St,re)),hr&&(ot(Tn.lineNumber),Tn.lineNumber.appendChild(document.createTextNode(In(x.options,St)))),Be=Tn.node.nextSibling}St+=Tn.size}for(;Be;)Be=Ye(Be)}function Ri(x){var z=x.gutters.offsetWidth;x.sizer.style.marginLeft=z+"px"}function ya(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+cl(x)+"px"}function Ea(x){var z=x.display,re=z.view;if(!(!z.alignWidgets&&(!z.gutters.firstChild||!x.options.fixedGutter))){for(var te=Vo(z)-z.scroller.scrollLeft+x.doc.scrollLeft,oe=z.gutters.offsetWidth,me=te+"px",Be=0;Be<re.length;Be++)if(!re[Be].hidden){x.options.fixedGutter&&(re[Be].gutter&&(re[Be].gutter.style.left=me),re[Be].gutterBackground&&(re[Be].gutterBackground.style.left=me));var Ye=re[Be].alignable;if(Ye)for(var lt=0;lt<Ye.length;lt++)Ye[lt].style.left=me}x.options.fixedGutter&&(z.gutters.style.left=te+oe+"px")}}function aa(x){if(!x.options.lineNumbers)return!1;var z=x.doc,re=In(x.options,z.first+z.size-1),te=x.display;if(re.length!=te.lineNumChars){var oe=te.measure.appendChild(Je("div",[Je("div",re)],"CodeMirror-linenumber CodeMirror-gutter-elt")),me=oe.firstChild.offsetWidth,Be=oe.offsetWidth-me;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(me,te.lineGutter.offsetWidth-Be)+1,te.lineNumWidth=te.lineNumInnerWidth+Be,te.lineNumChars=te.lineNumInnerWidth?re.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",Ri(x.display),!0}return!1}function ba(x,z){for(var re=[],te=!1,oe=0;oe<x.length;oe++){var me=x[oe],Be=null;if(typeof me!="string"&&(Be=me.style,me=me.className),me=="CodeMirror-linenumbers")if(z)te=!0;else continue;re.push({className:me,style:Be})}return z&&!te&&re.push({className:"CodeMirror-linenumbers",style:null}),re}function Ka(x){var z=x.gutters,re=x.gutterSpecs;ot(z),x.lineGutter=null;for(var te=0;te<re.length;++te){var oe=re[te],me=oe.className,Be=oe.style,Ye=z.appendChild(Je("div",null,"CodeMirror-gutter "+me));Be&&(Ye.style.cssText=Be),me=="CodeMirror-linenumbers"&&(x.lineGutter=Ye,Ye.style.width=(x.lineNumWidth||1)+"px")}z.style.display=re.length?"":"none",Ri(x)}function ji(x){Ka(x.display),as(x),Ea(x)}function ha(x,z,re,te){var oe=this;this.input=re,oe.scrollbarFiller=Je("div",null,"CodeMirror-scrollbar-filler"),oe.scrollbarFiller.setAttribute("cm-not-content","true"),oe.gutterFiller=Je("div",null,"CodeMirror-gutter-filler"),oe.gutterFiller.setAttribute("cm-not-content","true"),oe.lineDiv=mt("div",null,"CodeMirror-code"),oe.selectionDiv=Je("div",null,null,"position: relative; z-index: 1"),oe.cursorDiv=Je("div",null,"CodeMirror-cursors"),oe.measure=Je("div",null,"CodeMirror-measure"),oe.lineMeasure=Je("div",null,"CodeMirror-measure"),oe.lineSpace=mt("div",[oe.measure,oe.lineMeasure,oe.selectionDiv,oe.cursorDiv,oe.lineDiv],null,"position: relative; outline: none");var me=mt("div",[oe.lineSpace],"CodeMirror-lines");oe.mover=Je("div",[me],null,"position: relative"),oe.sizer=Je("div",[oe.mover],"CodeMirror-sizer"),oe.sizerWidth=null,oe.heightForcer=Je("div",null,null,"position: absolute; height: "+Vt+"px; width: 1px;"),oe.gutters=Je("div",null,"CodeMirror-gutters"),oe.lineGutter=null,oe.scroller=Je("div",[oe.sizer,oe.heightForcer,oe.gutters],"CodeMirror-scroll"),oe.scroller.setAttribute("tabIndex","-1"),oe.wrapper=Je("div",[oe.scrollbarFiller,oe.gutterFiller,oe.scroller],"CodeMirror"),Se&&Ae<8&&(oe.gutters.style.zIndex=-1,oe.scroller.style.paddingRight=0),!pe&&!(ne&&ct)&&(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=ba(te.gutters,te.lineNumbers),Ka(oe),re.init(oe)}var Qi=0,Ei=null;Se?Ei=-.53:ne?Ei=15:Ee?Ei=-.7:ht&&(Ei=-1/3);function Ni(x){var z=x.wheelDeltaX,re=x.wheelDeltaY;return z==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(z=x.detail),re==null&&x.detail&&x.axis==x.VERTICAL_AXIS?re=x.detail:re==null&&(re=x.wheelDelta),{x:z,y:re}}function xa(x){var z=Ni(x);return z.x*=Ei,z.y*=Ei,z}function Ja(x,z){var re=Ni(z),te=re.x,oe=re.y,me=x.display,Be=me.scroller,Ye=Be.scrollWidth>Be.clientWidth,lt=Be.scrollHeight>Be.clientHeight;if(te&&Ye||oe&<){if(oe&&Et&&pe){e:for(var St=z.target,En=me.view;St!=Be;St=St.parentNode)for(var Tn=0;Tn<En.length;Tn++)if(En[Tn].node==St){x.display.currentWheelTarget=St;break e}}if(te&&!ne&&!Re&&Ei!=null){oe&<&&ao(x,Math.max(0,Be.scrollTop+oe*Ei)),Do(x,Math.max(0,Be.scrollLeft+te*Ei)),(!oe||oe&<)&&Xn(z),me.wheelStartX=null;return}if(oe&&Ei!=null){var vr=oe*Ei,hr=x.doc.scrollTop,fi=hr+me.wrapper.clientHeight;vr<0?hr=Math.max(0,hr+vr-50):fi=Math.min(x.doc.height,fi+vr+50),Oi(x,{top:hr,bottom:fi})}Qi<20&&(me.wheelStartX==null?(me.wheelStartX=Be.scrollLeft,me.wheelStartY=Be.scrollTop,me.wheelDX=te,me.wheelDY=oe,setTimeout(function(){if(me.wheelStartX!=null){var Bi=Be.scrollLeft-me.wheelStartX,Xi=Be.scrollTop-me.wheelStartY,pa=Xi&&me.wheelDY&&Xi/me.wheelDY||Bi&&me.wheelDX&&Bi/me.wheelDX;me.wheelStartX=me.wheelStartY=null,pa&&(Ei=(Ei*Qi+pa)/(Qi+1),++Qi)}},200)):(me.wheelDX+=te,me.wheelDY+=oe))}}var wa=function(x,z){this.ranges=x,this.primIndex=z};wa.prototype.primary=function(){return this.ranges[this.primIndex]},wa.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 re=this.ranges[z],te=x.ranges[z];if(!pr(re.anchor,te.anchor)||!pr(re.head,te.head))return!1}return!0},wa.prototype.deepCopy=function(){for(var x=[],z=0;z<this.ranges.length;z++)x[z]=new Li(lr(this.ranges[z].anchor),lr(this.ranges[z].head));return new wa(x,this.primIndex)},wa.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},wa.prototype.contains=function(x,z){z||(z=x);for(var re=0;re<this.ranges.length;re++){var te=this.ranges[re];if(wn(z,te.from())>=0&&wn(x,te.to())<=0)return re}return-1};var Li=function(x,z){this.anchor=x,this.head=z};Li.prototype.from=function(){return dr(this.anchor,this.head)},Li.prototype.to=function(){return ar(this.anchor,this.head)},Li.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Fa(x,z,re){var te=x&&x.options.selectionsMayTouch,oe=z[re];z.sort(function(vr,hr){return wn(vr.from(),hr.from())}),re=Qe(z,oe);for(var me=1;me<z.length;me++){var Be=z[me],Ye=z[me-1],lt=wn(Ye.to(),Be.from());if(te&&!Be.empty()?lt>0:lt>=0){var St=dr(Ye.from(),Be.from()),En=ar(Ye.to(),Be.to()),Tn=Ye.empty()?Be.from()==Be.head:Ye.from()==Ye.head;me<=re&&--re,z.splice(--me,2,new Li(Tn?En:St,Tn?St:En))}}return new wa(z,re)}function Za(x,z){return new wa([new Li(x,z||x)],0)}function Ua(x){return x.text?Xt(x.from.line+x.text.length-1,jt(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function $a(x,z){if(wn(x,z.from)<0)return x;if(wn(x,z.to)<=0)return Ua(z);var re=x.line+z.text.length-(z.to.line-z.from.line)-1,te=x.ch;return x.line==z.to.line&&(te+=Ua(z).ch-z.to.ch),Xt(re,te)}function Ho(x,z){for(var re=[],te=0;te<x.sel.ranges.length;te++){var oe=x.sel.ranges[te];re.push(new Li($a(oe.anchor,z),$a(oe.head,z)))}return Fa(x.cm,re,x.sel.primIndex)}function ro(x,z,re){return x.line==z.line?Xt(re.line,x.ch-z.ch+re.ch):Xt(re.line+(x.line-z.line),x.ch)}function Oa(x,z,re){for(var te=[],oe=Xt(x.first,0),me=oe,Be=0;Be<z.length;Be++){var Ye=z[Be],lt=ro(Ye.from,oe,me),St=ro(Ua(Ye),oe,me);if(oe=Ye.to,me=St,re=="around"){var En=x.sel.ranges[Be],Tn=wn(En.head,En.anchor)<0;te[Be]=new Li(Tn?St:lt,Tn?lt:St)}else te[Be]=new Li(lt,lt)}return new wa(te,x.sel.primIndex)}function Uo(x){x.doc.mode=rn(x.options,x.doc.modeOption),Aa(x)}function Aa(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,fr(x,100),x.state.modeGen++,x.curOp&&as(x)}function Lo(x,z){return z.from.ch==0&&z.to.ch==0&&jt(z.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function wo(x,z,re,te){function oe(Sa){return re?re[Sa]:null}function me(Sa,oa,ka){wi(Sa,oa,ka,te),Or(Sa,"change",Sa,z)}function Be(Sa,oa){for(var ka=[],Qa=Sa;Qa<oa;++Qa)ka.push(new Zr(St[Qa],oe(Qa),te));return ka}var Ye=z.from,lt=z.to,St=z.text,En=Bt(x,Ye.line),Tn=Bt(x,lt.line),vr=jt(St),hr=oe(St.length-1),fi=lt.line-Ye.line;if(z.full)x.insert(0,Be(0,St.length)),x.remove(St.length,x.size-St.length);else if(Lo(x,z)){var Bi=Be(0,St.length-1);me(Tn,Tn.text,hr),fi&&x.remove(Ye.line,fi),Bi.length&&x.insert(Ye.line,Bi)}else if(En==Tn)if(St.length==1)me(En,En.text.slice(0,Ye.ch)+vr+En.text.slice(lt.ch),hr);else{var Xi=Be(1,St.length-1);Xi.push(new Zr(vr+En.text.slice(lt.ch),hr,te)),me(En,En.text.slice(0,Ye.ch)+St[0],oe(0)),x.insert(Ye.line+1,Xi)}else if(St.length==1)me(En,En.text.slice(0,Ye.ch)+St[0]+Tn.text.slice(lt.ch),oe(0)),x.remove(Ye.line+1,fi);else{me(En,En.text.slice(0,Ye.ch)+St[0],oe(0)),me(Tn,vr+Tn.text.slice(lt.ch),hr);var pa=Be(1,St.length-1);fi>1&&x.remove(Ye.line+1,fi-1),x.insert(Ye.line+1,pa)}Or(x,"change",x,z)}function tl(x,z,re){function te(oe,me,Be){if(oe.linked)for(var Ye=0;Ye<oe.linked.length;++Ye){var lt=oe.linked[Ye];if(lt.doc!=me){var St=Be&<.sharedHist;re&&!St||(z(lt.doc,St),te(lt.doc,oe,St))}}}te(x,null,!0)}function Da(x,z){if(z.cm)throw new Error("This document is already in use.");x.doc=z,z.cm=x,is(x),Uo(x),Ca(x),x.options.lineWrapping||Tr(x),x.options.mode=z.modeOption,as(x)}function Ca(x){(x.doc.direction=="rtl"?Rt:it)(x.display.lineDiv,"CodeMirror-rtl")}function Ma(x){mn(x,function(){Ca(x),as(x)})}function ma(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 na(x,z){var re={from:lr(z.from),to:Ua(z),text:dt(x,z.from,z.to)};return Ls(x,re,z.from.line,z.to.line+1),tl(x,function(te){return Ls(te,re,z.from.line,z.to.line+1)},!0),re}function qr(x){for(;x.length;){var z=jt(x);if(z.ranges)x.pop();else break}}function Gi(x,z){if(z)return qr(x.done),jt(x.done);if(x.done.length&&!jt(x.done).ranges)return jt(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),jt(x.done)}function za(x,z,re,te){var oe=x.history;oe.undone.length=0;var me=+new Date,Be,Ye;if((oe.lastOp==te||oe.lastOrigin==z.origin&&z.origin&&(z.origin.charAt(0)=="+"&&oe.lastModTime>me-(x.cm?x.cm.options.historyEventDelay:500)||z.origin.charAt(0)=="*"))&&(Be=Gi(oe,oe.lastOp==te)))Ye=jt(Be.changes),wn(z.from,z.to)==0&&wn(z.from,Ye.to)==0?Ye.to=Ua(z):Be.changes.push(na(x,z));else{var lt=jt(oe.done);for((!lt||!lt.ranges)&&El(x.sel,oe.done),Be={changes:[na(x,z)],generation:oe.generation},oe.done.push(Be);oe.done.length>oe.undoDepth;)oe.done.shift(),oe.done[0].ranges||oe.done.shift()}oe.done.push(re),oe.generation=++oe.maxGeneration,oe.lastModTime=oe.lastSelTime=me,oe.lastOp=oe.lastSelOp=te,oe.lastOrigin=oe.lastSelOrigin=z.origin,Ye||Oe(x,"historyAdded")}function eo(x,z,re,te){var oe=z.charAt(0);return oe=="*"||oe=="+"&&re.ranges.length==te.ranges.length&&re.somethingSelected()==te.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function Gl(x,z,re,te){var oe=x.history,me=te&&te.origin;re==oe.lastSelOp||me&&oe.lastSelOrigin==me&&(oe.lastModTime==oe.lastSelTime&&oe.lastOrigin==me||eo(x,me,jt(oe.done),z))?oe.done[oe.done.length-1]=z:El(z,oe.done),oe.lastSelTime=+new Date,oe.lastSelOrigin=me,oe.lastSelOp=re,te&&te.clearRedo!==!1&&qr(oe.undone)}function El(x,z){var re=jt(z);re&&re.ranges&&re.equals(x)||z.push(x)}function Ls(x,z,re,te){var oe=z["spans_"+x.id],me=0;x.iter(Math.max(x.first,re),Math.min(x.first+x.size,te),function(Be){Be.markedSpans&&((oe||(oe=z["spans_"+x.id]={}))[me]=Be.markedSpans),++me})}function hl(x){if(!x)return null;for(var z,re=0;re<x.length;++re)x[re].marker.explicitlyCleared?z||(z=x.slice(0,re)):z&&z.push(x[re]);return z?z.length?z:null:x}function pl(x,z){var re=z["spans_"+x.id];if(!re)return null;for(var te=[],oe=0;oe<z.text.length;++oe)te.push(hl(re[oe]));return te}function Ba(x,z){var re=pl(x,z),te=Dr(x,z);if(!re)return te;if(!te)return re;for(var oe=0;oe<re.length;++oe){var me=re[oe],Be=te[oe];if(me&&Be)e:for(var Ye=0;Ye<Be.length;++Ye){for(var lt=Be[Ye],St=0;St<me.length;++St)if(me[St].marker==lt.marker)continue e;me.push(lt)}else Be&&(re[oe]=Be)}return re}function Il(x,z,re){for(var te=[],oe=0;oe<x.length;++oe){var me=x[oe];if(me.ranges){te.push(re?wa.prototype.deepCopy.call(me):me);continue}var Be=me.changes,Ye=[];te.push({changes:Ye});for(var lt=0;lt<Be.length;++lt){var St=Be[lt],En=void 0;if(Ye.push({from:St.from,to:St.to,text:St.text}),z)for(var Tn in St)(En=Tn.match(/^spans_(\d+)$/))&&Qe(z,Number(En[1]))>-1&&(jt(Ye)[Tn]=St[Tn],delete St[Tn])}}return te}function os(x,z,re,te){if(te){var oe=x.anchor;if(re){var me=wn(z,oe)<0;me!=wn(re,oe)<0?(oe=z,z=re):me!=wn(z,re)<0&&(z=re)}return new Li(oe,z)}else return new Li(re||z,z)}function vo(x,z,re,te,oe){oe==null&&(oe=x.cm&&(x.cm.display.shift||x.extend)),No(x,new wa([os(x.sel.primary(),z,re,oe)],0),te)}function Di(x,z,re){for(var te=[],oe=x.cm&&(x.cm.display.shift||x.extend),me=0;me<x.sel.ranges.length;me++)te[me]=os(x.sel.ranges[me],z[me],null,oe);var Be=Fa(x.cm,te,x.sel.primIndex);No(x,Be,re)}function Bo(x,z,re,te){var oe=x.sel.ranges.slice(0);oe[z]=re,No(x,Fa(x.cm,oe,x.sel.primIndex),te)}function Al(x,z,re,te){No(x,Za(z,re),te)}function Ml(x,z,re){var te={ranges:z.ranges,update:function(oe){this.ranges=[];for(var me=0;me<oe.length;me++)this.ranges[me]=new Li(tr(x,oe[me].anchor),tr(x,oe[me].head))},origin:re&&re.origin};return Oe(x,"beforeSelectionChange",x,te),x.cm&&Oe(x.cm,"beforeSelectionChange",x.cm,te),te.ranges!=z.ranges?Fa(x.cm,te.ranges,te.ranges.length-1):z}function _a(x,z,re){var te=x.history.done,oe=jt(te);oe&&oe.ranges?(te[te.length-1]=z,Zl(x,z,re)):No(x,z,re)}function No(x,z,re){Zl(x,z,re),Gl(x,x.sel,x.cm?x.cm.curOp.id:NaN,re)}function Zl(x,z,re){(dn(x,"beforeSelectionChange")||x.cm&&dn(x.cm,"beforeSelectionChange"))&&(z=Ml(x,z,re));var te=re&&re.bias||(wn(z.primary().head,x.sel.primary().head)<0?-1:1);To(x,al(x,z,te,!0)),!(re&&re.scroll===!1)&&x.cm&&fa(x.cm)}function To(x,z){z.equals(x.sel)||(x.sel=z,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,ln(x.cm)),Or(x,"cursorActivity",x))}function Ta(x){To(x,al(x,x.sel,null,!1))}function al(x,z,re,te){for(var oe,me=0;me<z.ranges.length;me++){var Be=z.ranges[me],Ye=z.ranges.length==x.sel.ranges.length&&x.sel.ranges[me],lt=au(x,Be.anchor,Ye&&Ye.anchor,re,te),St=au(x,Be.head,Ye&&Ye.head,re,te);(oe||lt!=Be.anchor||St!=Be.head)&&(oe||(oe=z.ranges.slice(0,me)),oe[me]=new Li(lt,St))}return oe?Fa(x.cm,oe,z.primIndex):z}function nl(x,z,re,te,oe){var me=Bt(x,z.line);if(me.markedSpans)for(var Be=0;Be<me.markedSpans.length;++Be){var Ye=me.markedSpans[Be],lt=Ye.marker,St="selectLeft"in lt?!lt.selectLeft:lt.inclusiveLeft,En="selectRight"in lt?!lt.selectRight:lt.inclusiveRight;if((Ye.from==null||(St?Ye.from<=z.ch:Ye.from<z.ch))&&(Ye.to==null||(En?Ye.to>=z.ch:Ye.to>z.ch))){if(oe&&(Oe(lt,"beforeCursorEnter"),lt.explicitlyCleared))if(me.markedSpans){--Be;continue}else break;if(!lt.atomic)continue;if(re){var Tn=lt.find(te<0?1:-1),vr=void 0;if((te<0?En:St)&&(Tn=ls(x,Tn,-te,Tn&&Tn.line==z.line?me:null)),Tn&&Tn.line==z.line&&(vr=wn(Tn,re))&&(te<0?vr<0:vr>0))return nl(x,Tn,z,te,oe)}var hr=lt.find(te<0?-1:1);return(te<0?St:En)&&(hr=ls(x,hr,te,hr.line==z.line?me:null)),hr?nl(x,hr,z,te,oe):null}}return z}function au(x,z,re,te,oe){var me=te||1,Be=nl(x,z,re,me,oe)||!oe&&nl(x,z,re,me,!0)||nl(x,z,re,-me,oe)||!oe&&nl(x,z,re,-me,!0);return Be||(x.cantEdit=!0,Xt(x.first,0))}function ls(x,z,re,te){return re<0&&z.ch==0?z.line>x.first?tr(x,Xt(z.line-1)):null:re>0&&z.ch==(te||Bt(x,z.line)).text.length?z.line<x.first+x.size-1?Xt(z.line+1,0):null:new Xt(z.line,z.ch+re)}function Fs(x){x.setSelection(Xt(x.firstLine(),0),Xt(x.lastLine()),Ue)}function us(x,z,re){var te={canceled:!1,from:z.from,to:z.to,text:z.text,origin:z.origin,cancel:function(){return te.canceled=!0}};return re&&(te.update=function(oe,me,Be,Ye){oe&&(te.from=tr(x,oe)),me&&(te.to=tr(x,me)),Be&&(te.text=Be),Ye!==void 0&&(te.origin=Ye)}),Oe(x,"beforeChange",x,te),x.cm&&Oe(x.cm,"beforeChange",x.cm,te),te.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:te.from,to:te.to,text:te.text,origin:te.origin}}function ol(x,z,re){if(x.cm){if(!x.cm.curOp)return _n(x.cm,ol)(x,z,re);if(x.cm.state.suppressEdits)return}if(!((dn(x,"beforeChange")||x.cm&&dn(x.cm,"beforeChange"))&&(z=us(x,z,!0),!z))){var te=Lr&&!re&&ui(x,z.from,z.to);if(te)for(var oe=te.length-1;oe>=0;--oe)xl(x,{from:te[oe].from,to:te[oe].to,text:oe?[""]:z.text,origin:z.origin});else xl(x,z)}}function xl(x,z){if(!(z.text.length==1&&z.text[0]==""&&wn(z.from,z.to)==0)){var re=Ho(x,z);za(x,z,re,x.cm?x.cm.curOp.id:NaN),Os(x,z,re,Dr(x,z));var te=[];tl(x,function(oe,me){!me&&Qe(te,oe.history)==-1&&(Ko(oe.history,z),te.push(oe.history)),Os(oe,z,null,Dr(oe,z))})}}function Ss(x,z,re){var te=x.cm&&x.cm.state.suppressEdits;if(!(te&&!re)){for(var oe=x.history,me,Be=x.sel,Ye=z=="undo"?oe.done:oe.undone,lt=z=="undo"?oe.undone:oe.done,St=0;St<Ye.length&&(me=Ye[St],!(re?me.ranges&&!me.equals(x.sel):!me.ranges));St++);if(St!=Ye.length){for(oe.lastOrigin=oe.lastSelOrigin=null;;)if(me=Ye.pop(),me.ranges){if(El(me,lt),re&&!me.equals(x.sel)){No(x,me,{clearRedo:!1});return}Be=me}else if(te){Ye.push(me);return}else break;var En=[];El(Be,lt),lt.push({changes:En,generation:oe.generation}),oe.generation=me.generation||++oe.maxGeneration;for(var Tn=dn(x,"beforeChange")||x.cm&&dn(x.cm,"beforeChange"),vr=function(Bi){var Xi=me.changes[Bi];if(Xi.origin=z,Tn&&!us(x,Xi,!1))return Ye.length=0,{};En.push(na(x,Xi));var pa=Bi?Ho(x,Xi):jt(Ye);Os(x,Xi,pa,Ba(x,Xi)),!Bi&&x.cm&&x.cm.scrollIntoView({from:Xi.from,to:Ua(Xi)});var Sa=[];tl(x,function(oa,ka){!ka&&Qe(Sa,oa.history)==-1&&(Ko(oa.history,Xi),Sa.push(oa.history)),Os(oa,Xi,null,Ba(oa,Xi))})},hr=me.changes.length-1;hr>=0;--hr){var fi=vr(hr);if(fi)return fi.v}}}}function su(x,z){if(z!=0&&(x.first+=z,x.sel=new wa(Jt(x.sel.ranges,function(oe){return new Li(Xt(oe.anchor.line+z,oe.anchor.ch),Xt(oe.head.line+z,oe.head.ch))}),x.sel.primIndex),x.cm)){as(x.cm,x.first,x.first-z,z);for(var re=x.cm.display,te=re.viewFrom;te<re.viewTo;te++)ru(x.cm,te,"gutter")}}function Os(x,z,re,te){if(x.cm&&!x.cm.curOp)return _n(x.cm,Os)(x,z,re,te);if(z.to.line<x.first){su(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);su(x,oe),z={from:Xt(x.first,0),to:Xt(z.to.line+oe,z.to.ch),text:[jt(z.text)],origin:z.origin}}var me=x.lastLine();z.to.line>me&&(z={from:z.from,to:Xt(me,Bt(x,me).text.length),text:[z.text[0]],origin:z.origin}),z.removed=dt(x,z.from,z.to),re||(re=Ho(x,z)),x.cm?uu(x.cm,z,te):wo(x,z,te),Zl(x,re,Ue),x.cantEdit&&au(x,Xt(x.firstLine(),0))&&(x.cantEdit=!1)}}function uu(x,z,re){var te=x.doc,oe=x.display,me=z.from,Be=z.to,Ye=!1,lt=me.line;x.options.lineWrapping||(lt=hn(Qn(Bt(te,me.line))),te.iter(lt,Be.line+1,function(hr){if(hr==oe.maxLine)return Ye=!0,!0})),te.sel.contains(z.from,z.to)>-1&&ln(x),wo(te,z,re,Is(x)),x.options.lineWrapping||(te.iter(lt,me.line+z.text.length,function(hr){var fi=Kr(hr);fi>oe.maxLineLength&&(oe.maxLine=hr,oe.maxLineLength=fi,oe.maxLineChanged=!0,Ye=!1)}),Ye&&(x.curOp.updateMaxLine=!0)),Hr(te,me.line),fr(x,400);var St=z.text.length-(Be.line-me.line)-1;z.full?as(x):me.line==Be.line&&z.text.length==1&&!Lo(x.doc,z)?ru(x,me.line,"text"):as(x,me.line,Be.line+1,St);var En=dn(x,"changes"),Tn=dn(x,"change");if(Tn||En){var vr={from:me,to:Be,text:z.text,removed:z.removed,origin:z.origin};Tn&&Or(x,"change",x,vr),En&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(vr)}x.display.selForContextMenu=null}function bu(x,z,re,te,oe){var me;te||(te=re),wn(te,re)<0&&(me=[te,re],re=me[0],te=me[1]),typeof z=="string"&&(z=x.splitLines(z)),ol(x,{from:re,to:te,text:z,origin:oe})}function fc(x,z,re,te){re<x.line?x.line+=te:z<x.line&&(x.line=z,x.ch=0)}function So(x,z,re,te){for(var oe=0;oe<x.length;++oe){var me=x[oe],Be=!0;if(me.ranges){me.copied||(me=x[oe]=me.deepCopy(),me.copied=!0);for(var Ye=0;Ye<me.ranges.length;Ye++)fc(me.ranges[Ye].anchor,z,re,te),fc(me.ranges[Ye].head,z,re,te);continue}for(var lt=0;lt<me.changes.length;++lt){var St=me.changes[lt];if(re<St.from.line)St.from=Xt(St.from.line+te,St.from.ch),St.to=Xt(St.to.line+te,St.to.ch);else if(z<=St.to.line){Be=!1;break}}Be||(x.splice(0,oe+1),oe=0)}}function Ko(x,z){var re=z.from.line,te=z.to.line,oe=z.text.length-(te-re)-1;So(x.done,re,te,oe),So(x.undone,re,te,oe)}function Ul(x,z,re,te){var oe=z,me=z;return typeof z=="number"?me=Bt(x,Ir(x,z)):oe=hn(z),oe==null?null:(te(me,oe)&&x.cm&&ru(x.cm,oe,re),me)}function Yo(x){this.lines=x,this.parent=null;for(var z=0,re=0;re<x.length;++re)x[re].parent=this,z+=x[re].height;this.height=z}Yo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,z){for(var re=x,te=x+z;re<te;++re){var oe=this.lines[re];this.height-=oe.height,ua(oe),Or(oe,"delete")}this.lines.splice(x,z)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,z,re){this.height+=re,this.lines=this.lines.slice(0,x).concat(z).concat(this.lines.slice(x));for(var te=0;te<z.length;++te)z[te].parent=this},iterN:function(x,z,re){for(var te=x+z;x<te;++x)if(re(this.lines[x]))return!0}};function ql(x){this.children=x;for(var z=0,re=0,te=0;te<x.length;++te){var oe=x[te];z+=oe.chunkSize(),re+=oe.height,oe.parent=this}this.size=z,this.height=re,this.parent=null}ql.prototype={chunkSize:function(){return this.size},removeInner:function(x,z){this.size-=z;for(var re=0;re<this.children.length;++re){var te=this.children[re],oe=te.chunkSize();if(x<oe){var me=Math.min(z,oe-x),Be=te.height;if(te.removeInner(x,me),this.height-=Be-te.height,oe==me&&(this.children.splice(re--,1),te.parent=null),(z-=me)==0)break;x=0}else x-=oe}if(this.size-z<25&&(this.children.length>1||!(this.children[0]instanceof Yo))){var Ye=[];this.collapse(Ye),this.children=[new Yo(Ye)],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,re){this.size+=z.length,this.height+=re;for(var te=0;te<this.children.length;++te){var oe=this.children[te],me=oe.chunkSize();if(x<=me){if(oe.insertInner(x,z,re),oe.lines&&oe.lines.length>50){for(var Be=oe.lines.length%25+25,Ye=Be;Ye<oe.lines.length;){var lt=new Yo(oe.lines.slice(Ye,Ye+=25));oe.height-=lt.height,this.children.splice(++te,0,lt),lt.parent=this}oe.lines=oe.lines.slice(0,Be),this.maybeSpill()}break}x-=me}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var z=x.children.splice(x.children.length-5,5),re=new ql(z);if(x.parent){x.size-=re.size,x.height-=re.height;var oe=Qe(x.parent.children,x);x.parent.children.splice(oe+1,0,re)}else{var te=new ql(x.children);te.parent=x,x.children=[te,re],x=te}re.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,z,re){for(var te=0;te<this.children.length;++te){var oe=this.children[te],me=oe.chunkSize();if(x<me){var Be=Math.min(z,me-x);if(oe.iterN(x,Be,re))return!0;if((z-=Be)==0)break;x=0}else x-=me}}};var $l=function(x,z,re){if(re)for(var te in re)re.hasOwnProperty(te)&&(this[te]=re[te]);this.doc=x,this.node=z};$l.prototype.clear=function(){var x=this.doc.cm,z=this.line.widgets,re=this.line,te=hn(re);if(!(te==null||!z)){for(var oe=0;oe<z.length;++oe)z[oe]==this&&z.splice(oe--,1);z.length||(re.widgets=null);var me=po(this);nn(re,Math.max(0,re.height-me)),x&&(mn(x,function(){gs(x,re,-me),ru(x,te,"widget")}),Or(x,"lineWidgetCleared",x,this,te))}},$l.prototype.changed=function(){var x=this,z=this.height,re=this.doc.cm,te=this.line;this.height=null;var oe=po(this)-z;oe&&(Ii(this.doc,te)||nn(te,te.height+oe),re&&mn(re,function(){re.curOp.forceUpdate=!0,gs(re,te,oe),Or(re,"lineWidgetChanged",re,x,hn(te))}))},An($l);function gs(x,z,re){yr(z)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&sa(x,re)}function cu(x,z,re,te){var oe=new $l(x,re,te),me=x.cm;return me&&oe.noHScroll&&(me.display.alignWidgets=!0),Ul(x,z,"widget",function(Be){var Ye=Be.widgets||(Be.widgets=[]);if(oe.insertAt==null?Ye.push(oe):Ye.splice(Math.min(Ye.length-1,Math.max(0,oe.insertAt)),0,oe),oe.line=Be,me&&!Ii(x,Be)){var lt=yr(Be)<x.scrollTop;nn(Be,Be.height+po(oe)),lt&&sa(me,oe.height),me.curOp.forceUpdate=!0}return!0}),me&&Or(me,"lineWidgetAdded",me,oe,typeof z=="number"?z:hn(z)),oe}var hc=0,Iu=function(x,z){this.lines=[],this.type=z,this.doc=x,this.id=++hc};Iu.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,z=x&&!x.curOp;if(z&&Co(x),dn(this,"clear")){var re=this.find();re&&Or(this,"clear",re.from,re.to)}for(var te=null,oe=null,me=0;me<this.lines.length;++me){var Be=this.lines[me],Ye=ei(Be.markedSpans,this);x&&!this.collapsed?ru(x,hn(Be),"text"):x&&(Ye.to!=null&&(oe=hn(Be)),Ye.from!=null&&(te=hn(Be))),Be.markedSpans=_r(Be.markedSpans,Ye),Ye.from==null&&this.collapsed&&!Ii(this.doc,Be)&&x&&nn(Be,Hs(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var lt=0;lt<this.lines.length;++lt){var St=Qn(this.lines[lt]),En=Kr(St);En>x.display.maxLineLength&&(x.display.maxLine=St,x.display.maxLineLength=En,x.display.maxLineChanged=!0)}te!=null&&x&&this.collapsed&&as(x,te,oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Ta(x.doc)),x&&Or(x,"markerCleared",x,this,te,oe),z&&bl(x),this.parent&&this.parent.clear()}},Iu.prototype.find=function(x,z){x==null&&this.type=="bookmark"&&(x=1);for(var re,te,oe=0;oe<this.lines.length;++oe){var me=this.lines[oe],Be=ei(me.markedSpans,this);if(Be.from!=null&&(re=Xt(z?me:hn(me),Be.from),x==-1))return re;if(Be.to!=null&&(te=Xt(z?me:hn(me),Be.to),x==1))return te}return re&&{from:re,to:te}},Iu.prototype.changed=function(){var x=this,z=this.find(-1,!0),re=this,te=this.doc.cm;!z||!te||mn(te,function(){var oe=z.line,me=hn(z.line),Be=_o(te,me);if(Be&&(jo(Be),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!Ii(re.doc,oe)&&re.height!=null){var Ye=re.height;re.height=null;var lt=po(re)-Ye;lt&&nn(oe,oe.height+lt)}Or(te,"markerChanged",te,x)})},Iu.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(!z.maybeHiddenMarkers||Qe(z.maybeHiddenMarkers,this)==-1)&&(z.maybeUnhiddenMarkers||(z.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},Iu.prototype.detachLine=function(x){if(this.lines.splice(Qe(this.lines,x),1),!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(z.maybeHiddenMarkers||(z.maybeHiddenMarkers=[])).push(this)}},An(Iu);function du(x,z,re,te,oe){if(te&&te.shared)return Cl(x,z,re,te,oe);if(x.cm&&!x.cm.curOp)return _n(x.cm,du)(x,z,re,te,oe);var me=new Iu(x,oe),Be=wn(z,re);if(te&&It(te,me,!1),Be>0||Be==0&&me.clearWhenEmpty!==!1)return me;if(me.replacedWith&&(me.collapsed=!0,me.widgetNode=mt("span",[me.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||me.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(me.widgetNode.insertLeft=!0)),me.collapsed){if(Wn(x,z.line,z,re,me)||z.line!=re.line&&Wn(x,re.line,z,re,me))throw new Error("Inserting collapsed marker partially overlapping an existing one");Fr()}me.addToHistory&&za(x,{from:z,to:re,origin:"markText"},x.sel,NaN);var Ye=z.line,lt=x.cm,St;if(x.iter(Ye,re.line+1,function(Tn){lt&&me.collapsed&&!lt.options.lineWrapping&&Qn(Tn)==lt.display.maxLine&&(St=!0),me.collapsed&&Ye!=z.line&&nn(Tn,0),ki(Tn,new Vr(me,Ye==z.line?z.ch:null,Ye==re.line?re.ch:null)),++Ye}),me.collapsed&&x.iter(z.line,re.line+1,function(Tn){Ii(x,Tn)&&nn(Tn,0)}),me.clearOnEnter&&Qt(me,"beforeCursorEnter",function(){return me.clear()}),me.readOnly&&($r(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),me.collapsed&&(me.id=++hc,me.atomic=!0),lt){if(St&&(lt.curOp.updateMaxLine=!0),me.collapsed)as(lt,z.line,re.line+1);else if(me.className||me.startStyle||me.endStyle||me.css||me.attributes||me.title)for(var En=z.line;En<=re.line;En++)ru(lt,En,"text");me.atomic&&Ta(lt.doc),Or(lt,"markerAdded",lt,me)}return me}var Eo=function(x,z){this.markers=x,this.primary=z;for(var re=0;re<x.length;++re)x[re].parent=this};Eo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();Or(this,"clear")}},Eo.prototype.find=function(x,z){return this.primary.find(x,z)},An(Eo);function Cl(x,z,re,te,oe){te=It(te),te.shared=!1;var me=[du(x,z,re,te,oe)],Be=me[0],Ye=te.widgetNode;return tl(x,function(lt){Ye&&(te.widgetNode=Ye.cloneNode(!0)),me.push(du(lt,tr(lt,z),tr(lt,re),te,oe));for(var St=0;St<lt.linked.length;++St)if(lt.linked[St].isParent)return;Be=jt(me)}),new Eo(me,Be)}function fu(x){return x.findMarks(Xt(x.first,0),x.clipPos(Xt(x.lastLine())),function(z){return z.parent})}function Lu(x,z){for(var re=0;re<z.length;re++){var te=z[re],oe=te.find(),me=x.clipPos(oe.from),Be=x.clipPos(oe.to);if(wn(me,Be)){var Ye=du(x,me,Be,te.primary,te.primary.type);te.markers.push(Ye),Ye.parent=te}}}function vs(x){for(var z=function(te){var oe=x[te],me=[oe.primary.doc];tl(oe.primary.doc,function(lt){return me.push(lt)});for(var Be=0;Be<oe.markers.length;Be++){var Ye=oe.markers[Be];Qe(me,Ye.doc)==-1&&(Ye.parent=null,oe.markers.splice(Be--,1))}},re=0;re<x.length;re++)z(re)}var Lc=0,Yl=function(x,z,re,te,oe){if(!(this instanceof Yl))return new Yl(x,z,re,te,oe);re==null&&(re=0),ql.call(this,[new Yo([new Zr("",null)])]),this.first=re,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=re;var me=Xt(re,0);this.sel=Za(me),this.history=new ma(null),this.id=++Lc,this.modeOption=z,this.lineSep=te,this.direction=oe=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),wo(this,{from:me,to:me,text:x}),No(this,Za(me),Ue)};Yl.prototype=ce(ql.prototype,{constructor:Yl,iter:function(x,z,re){re?this.iterN(x-this.first,z-x,re):this.iterN(this.first,this.first+this.size,x)},insert:function(x,z){for(var re=0,te=0;te<z.length;++te)re+=z[te].height;this.insertInner(x-this.first,z,re)},remove:function(x,z){this.removeInner(x-this.first,z)},getValue:function(x){var z=on(this,this.first,this.first+this.size);return x===!1?z:z.join(x||this.lineSeparator())},setValue:Zn(function(x){var z=Xt(this.first,0),re=this.first+this.size-1;ol(this,{from:z,to:Xt(re,Bt(this,re).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&ia(this.cm,0,0),No(this,Za(z),Ue)}),replaceRange:function(x,z,re,te){z=tr(this,z),re=re?tr(this,re):z,bu(this,x,z,re,te)},getRange:function(x,z,re){var te=dt(this,tr(this,x),tr(this,z));return re===!1?te:te.join(re||this.lineSeparator())},getLine:function(x){var z=this.getLineHandle(x);return z&&z.text},getLineHandle:function(x){if(Jn(this,x))return Bt(this,x)},getLineNumber:function(x){return hn(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=Bt(this,x)),Qn(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return tr(this,x)},getCursor:function(x){var z=this.sel.primary(),re;return x==null||x=="head"?re=z.head:x=="anchor"?re=z.anchor:x=="end"||x=="to"||x===!1?re=z.to():re=z.from(),re},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Zn(function(x,z,re){Al(this,tr(this,typeof x=="number"?Xt(x,z||0):x),null,re)}),setSelection:Zn(function(x,z,re){Al(this,tr(this,x),tr(this,z||x),re)}),extendSelection:Zn(function(x,z,re){vo(this,tr(this,x),z&&tr(this,z),re)}),extendSelections:Zn(function(x,z){Di(this,_t(this,x),z)}),extendSelectionsBy:Zn(function(x,z){var re=Jt(this.sel.ranges,x);Di(this,_t(this,re),z)}),setSelections:Zn(function(x,z,re){if(x.length){for(var te=[],oe=0;oe<x.length;oe++)te[oe]=new Li(tr(this,x[oe].anchor),tr(this,x[oe].head));z==null&&(z=Math.min(x.length-1,this.sel.primIndex)),No(this,Fa(this.cm,te,z),re)}}),addSelection:Zn(function(x,z,re){var te=this.sel.ranges.slice(0);te.push(new Li(tr(this,x),tr(this,z||x))),No(this,Fa(this.cm,te,te.length-1),re)}),getSelection:function(x){for(var z=this.sel.ranges,re,te=0;te<z.length;te++){var oe=dt(this,z[te].from(),z[te].to());re=re?re.concat(oe):oe}return x===!1?re:re.join(x||this.lineSeparator())},getSelections:function(x){for(var z=[],re=this.sel.ranges,te=0;te<re.length;te++){var oe=dt(this,re[te].from(),re[te].to());x!==!1&&(oe=oe.join(x||this.lineSeparator())),z[te]=oe}return z},replaceSelection:function(x,z,re){for(var te=[],oe=0;oe<this.sel.ranges.length;oe++)te[oe]=x;this.replaceSelections(te,z,re||"+input")},replaceSelections:Zn(function(x,z,re){for(var te=[],oe=this.sel,me=0;me<oe.ranges.length;me++){var Be=oe.ranges[me];te[me]={from:Be.from(),to:Be.to(),text:this.splitLines(x[me]),origin:re}}for(var Ye=z&&z!="end"&&Oa(this,te,z),lt=te.length-1;lt>=0;lt--)ol(this,te[lt]);Ye?_a(this,Ye):this.cm&&fa(this.cm)}),undo:Zn(function(){Ss(this,"undo")}),redo:Zn(function(){Ss(this,"redo")}),undoSelection:Zn(function(){Ss(this,"undo",!0)}),redoSelection:Zn(function(){Ss(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,z=0,re=0,te=0;te<x.done.length;te++)x.done[te].ranges||++z;for(var oe=0;oe<x.undone.length;oe++)x.undone[oe].ranges||++re;return{undo:z,redo:re}},clearHistory:function(){var x=this;this.history=new ma(this.history.maxGeneration),tl(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:Il(this.history.done),undone:Il(this.history.undone)}},setHistory:function(x){var z=this.history=new ma(this.history.maxGeneration);z.done=Il(x.done.slice(0),null,!0),z.undone=Il(x.undone.slice(0),null,!0)},setGutterMarker:Zn(function(x,z,re){return Ul(this,x,"gutter",function(te){var oe=te.gutterMarkers||(te.gutterMarkers={});return oe[z]=re,!re&&le(oe)&&(te.gutterMarkers=null),!0})}),clearGutter:Zn(function(x){var z=this;this.iter(function(re){re.gutterMarkers&&re.gutterMarkers[x]&&Ul(z,re,"gutter",function(){return re.gutterMarkers[x]=null,le(re.gutterMarkers)&&(re.gutterMarkers=null),!0})})}),lineInfo:function(x){var z;if(typeof x=="number"){if(!Jn(this,x)||(z=x,x=Bt(this,x),!x))return null}else if(z=hn(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:Zn(function(x,z,re){return Ul(this,x,z=="gutter"?"gutter":"class",function(te){var oe=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass";if(!te[oe])te[oe]=re;else{if(he(re).test(te[oe]))return!1;te[oe]+=" "+re}return!0})}),removeLineClass:Zn(function(x,z,re){return Ul(this,x,z=="gutter"?"gutter":"class",function(te){var oe=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass",me=te[oe];if(me)if(re==null)te[oe]=null;else{var Be=me.match(he(re));if(!Be)return!1;var Ye=Be.index+Be[0].length;te[oe]=me.slice(0,Be.index)+(!Be.index||Ye==me.length?"":" ")+me.slice(Ye)||null}else return!1;return!0})}),addLineWidget:Zn(function(x,z,re){return cu(this,x,z,re)}),removeLineWidget:function(x){x.clear()},markText:function(x,z,re){return du(this,tr(this,x),tr(this,z),re,re&&re.type||"range")},setBookmark:function(x,z){var re={replacedWith:z&&(z.nodeType==null?z.widget:z),insertLeft:z&&z.insertLeft,clearWhenEmpty:!1,shared:z&&z.shared,handleMouseEvents:z&&z.handleMouseEvents};return x=tr(this,x),du(this,x,x,re,"bookmark")},findMarksAt:function(x){x=tr(this,x);var z=[],re=Bt(this,x.line).markedSpans;if(re)for(var te=0;te<re.length;++te){var oe=re[te];(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,re){x=tr(this,x),z=tr(this,z);var te=[],oe=x.line;return this.iter(x.line,z.line+1,function(me){var Be=me.markedSpans;if(Be)for(var Ye=0;Ye<Be.length;Ye++){var lt=Be[Ye];!(lt.to!=null&&oe==x.line&&x.ch>=lt.to||lt.from==null&&oe!=x.line||lt.from!=null&&oe==z.line&<.from>=z.ch)&&(!re||re(lt.marker))&&te.push(lt.marker.parent||lt.marker)}++oe}),te},getAllMarks:function(){var x=[];return this.iter(function(z){var re=z.markedSpans;if(re)for(var te=0;te<re.length;++te)re[te].from!=null&&x.push(re[te].marker)}),x},posFromIndex:function(x){var z,re=this.first,te=this.lineSeparator().length;return this.iter(function(oe){var me=oe.text.length+te;if(me>x)return z=x,!0;x-=me,++re}),tr(this,Xt(re,z))},indexFromPos:function(x){x=tr(this,x);var z=x.ch;if(x.line<this.first||x.ch<0)return 0;var re=this.lineSeparator().length;return this.iter(this.first,x.line,function(te){z+=te.text.length+re}),z},copy:function(x){var z=new Yl(on(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,re=this.first+this.size;x.from!=null&&x.from>z&&(z=x.from),x.to!=null&&x.to<re&&(re=x.to);var te=new Yl(on(this,z,re),x.mode||this.modeOption,z,this.lineSep,this.direction);return x.sharedHist&&(te.history=this.history),(this.linked||(this.linked=[])).push({doc:te,sharedHist:x.sharedHist}),te.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}],Lu(te,fu(this)),te},unlinkDoc:function(x){if(x instanceof ho&&(x=x.doc),this.linked)for(var z=0;z<this.linked.length;++z){var re=this.linked[z];if(re.doc==x){this.linked.splice(z,1),x.unlinkDoc(this),vs(fu(this));break}}if(x.history==this.history){var te=[x.id];tl(x,function(oe){return te.push(oe.id)},!0),x.history=new ma(null),x.history.done=Il(this.history.done,te),x.history.undone=Il(this.history.undone,te)}},iterLinkedDocs:function(x){tl(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):Rn(x)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Zn(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(z){return z.order=null}),this.cm&&Ma(this.cm))})}),Yl.prototype.eachLine=Yl.prototype.iter;var ic=0;function Fc(x){var z=this;if(Uu(z),!(tt(z,x)||il(z.display,x))){Xn(x),Se&&(ic=+new Date);var re=ws(z,x,!0),te=x.dataTransfer.files;if(!(!re||z.isReadOnly()))if(te&&te.length&&window.FileReader&&window.File)for(var oe=te.length,me=Array(oe),Be=0,Ye=function(){++Be==oe&&_n(z,function(){re=tr(z.doc,re);var hr={from:re,to:re,text:z.doc.splitLines(me.filter(function(fi){return fi!=null}).join(z.doc.lineSeparator())),origin:"paste"};ol(z.doc,hr),_a(z.doc,Za(tr(z.doc,re),tr(z.doc,Ua(hr))))})()},lt=function(hr,fi){if(z.options.allowDropFileTypes&&Qe(z.options.allowDropFileTypes,hr.type)==-1){Ye();return}var Bi=new FileReader;Bi.onerror=function(){return Ye()},Bi.onload=function(){var Xi=Bi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Xi)){Ye();return}me[fi]=Xi,Ye()},Bi.readAsText(hr)},St=0;St<te.length;St++)lt(te[St],St);else{if(z.state.draggingText&&z.doc.sel.contains(re)>-1){z.state.draggingText(x),setTimeout(function(){return z.display.input.focus()},20);return}try{var En=x.dataTransfer.getData("Text");if(En){var Tn;if(z.state.draggingText&&!z.state.draggingText.copy&&(Tn=z.listSelections()),Zl(z.doc,Za(re,re)),Tn)for(var vr=0;vr<Tn.length;++vr)bu(z.doc,"",Tn[vr].anchor,Tn[vr].head,"drag");z.replaceSelection(En,"around","paste"),z.display.input.focus()}}catch(hr){}}}}function pc(x,z){if(Se&&(!x.state.draggingText||+new Date-ic<100)){wr(z);return}if(!(tt(x,z)||il(x.display,z))&&(z.dataTransfer.setData("Text",x.getSelection()),z.dataTransfer.effectAllowed="copyMove",z.dataTransfer.setDragImage&&!ht)){var re=Je("img",null,null,"position: fixed; left: 0; top: 0;");re.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Re&&(re.width=re.height=1,x.display.wrapper.appendChild(re),re._top=re.offsetTop),z.dataTransfer.setDragImage(re,0,0),Re&&re.parentNode.removeChild(re)}}function Gu(x,z){var re=ws(x,z);if(re){var te=document.createDocumentFragment();qn(x,re,te),x.display.dragCursor||(x.display.dragCursor=Je("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),ut(x.display.dragCursor,te)}}function Uu(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function Mu(x){if(document.getElementsByClassName){for(var z=document.getElementsByClassName("CodeMirror"),re=[],te=0;te<z.length;te++){var oe=z[te].CodeMirror;oe&&re.push(oe)}re.length&&re[0].operation(function(){for(var me=0;me<re.length;me++)x(re[me])})}}var zi=!1;function Oc(){zi||(Yu(),zi=!0)}function Yu(){var x;Qt(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,Mu(mc)},100))}),Qt(window,"blur",function(){return Mu(Qr)})}function mc(x){var z=x.display;z.cachedCharWidth=z.cachedTextHeight=z.cachedPaddingH=null,z.scrollbarsClipped=!1,x.setSize()}for(var ou={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"},Fu=0;Fu<10;Fu++)ou[Fu+48]=ou[Fu+96]=String(Fu);for(var Tu=65;Tu<=90;Tu++)ou[Tu]=String.fromCharCode(Tu);for(var Ru=1;Ru<=12;Ru++)ou[Ru+111]=ou[Ru+63235]="F"+Ru;var gl={};gl.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"},gl.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"},gl.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"},gl.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"]},gl.default=Et?gl.macDefault:gl.pcDefault;function Uc(x){var z=x.split(/-(?!$)/);x=z[z.length-1];for(var re,te,oe,me,Be=0;Be<z.length-1;Be++){var Ye=z[Be];if(/^(cmd|meta|m)$/i.test(Ye))me=!0;else if(/^a(lt)?$/i.test(Ye))re=!0;else if(/^(c|ctrl|control)$/i.test(Ye))te=!0;else if(/^s(hift)?$/i.test(Ye))oe=!0;else throw new Error("Unrecognized modifier name: "+Ye)}return re&&(x="Alt-"+x),te&&(x="Ctrl-"+x),me&&(x="Cmd-"+x),oe&&(x="Shift-"+x),x}function ac(x){var z={};for(var re in x)if(x.hasOwnProperty(re)){var te=x[re];if(/^(name|fallthrough|(de|at)tach)$/.test(re))continue;if(te=="..."){delete x[re];continue}for(var oe=Jt(re.split(" "),Uc),me=0;me<oe.length;me++){var Be=void 0,Ye=void 0;me==oe.length-1?(Ye=oe.join(" "),Be=te):(Ye=oe.slice(0,me+1).join(" "),Be="...");var lt=z[Ye];if(!lt)z[Ye]=Be;else if(lt!=Be)throw new Error("Inconsistent bindings for "+Ye)}delete x[re]}for(var St in z)x[St]=z[St];return x}function hu(x,z,re,te){z=Es(z);var oe=z.call?z.call(x,te):z[x];if(oe===!1)return"nothing";if(oe==="...")return"multi";if(oe!=null&&re(oe))return"handled";if(z.fallthrough){if(Object.prototype.toString.call(z.fallthrough)!="[object Array]")return hu(x,z.fallthrough,re,te);for(var me=0;me<z.fallthrough.length;me++){var Be=hu(x,z.fallthrough[me],re,te);if(Be)return Be}}}function oc(x){var z=typeof x=="string"?x:ou[x.keyCode];return z=="Ctrl"||z=="Alt"||z=="Shift"||z=="Mod"}function xu(x,z,re){var te=x;return z.altKey&&te!="Alt"&&(x="Alt-"+x),(pt?z.metaKey:z.ctrlKey)&&te!="Ctrl"&&(x="Ctrl-"+x),(pt?z.ctrlKey:z.metaKey)&&te!="Mod"&&(x="Cmd-"+x),!re&&z.shiftKey&&te!="Shift"&&(x="Shift-"+x),x}function ku(x,z){if(Re&&x.keyCode==34&&x.char)return!1;var re=ou[x.keyCode];return re==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(re=x.code),xu(re,x,z))}function Es(x){return typeof x=="string"?gl[x]:x}function Vs(x,z){for(var re=x.doc.sel.ranges,te=[],oe=0;oe<re.length;oe++){for(var me=z(re[oe]);te.length&&wn(me.from,jt(te).to)<=0;){var Be=te.pop();if(wn(Be.from,me.from)<0){me.from=Be.from;break}}te.push(me)}mn(x,function(){for(var Ye=te.length-1;Ye>=0;Ye--)bu(x.doc,"",te[Ye].from,te[Ye].to,"+delete");fa(x)})}function cs(x,z,re){var te=Ze(x.text,z+re,re);return te<0||te>x.text.length?null:te}function Cu(x,z,re){var te=cs(x,z.ch,re);return te==null?null:new Xt(z.line,te,re<0?"after":"before")}function Ao(x,z,re,te,oe){if(x){z.doc.direction=="rtl"&&(oe=-oe);var me=Cn(re,z.doc.direction);if(me){var Be=oe<0?jt(me):me[0],Ye=oe<0==(Be.level==1),lt=Ye?"after":"before",St;if(Be.level>0||z.doc.direction=="rtl"){var En=Io(z,re);St=oe<0?re.text.length-1:0;var Tn=bo(z,En,St).top;St=Me(function(vr){return bo(z,En,vr).top==Tn},oe<0==(Be.level==1)?Be.from:Be.to-1,St),lt=="before"&&(St=cs(re,St,1))}else St=oe<0?Be.to:Be.from;return new Xt(te,St,lt)}}return new Xt(te,oe<0?re.text.length:0,oe<0?"before":"after")}function Zo(x,z,re,te){var oe=Cn(z,x.doc.direction);if(!oe)return Cu(z,re,te);re.ch>=z.text.length?(re.ch=z.text.length,re.sticky="before"):re.ch<=0&&(re.ch=0,re.sticky="after");var me=et(oe,re.ch,re.sticky),Be=oe[me];if(x.doc.direction=="ltr"&&Be.level%2==0&&(te>0?Be.to>re.ch:Be.from<re.ch))return Cu(z,re,te);var Ye=function(pa,Sa){return cs(z,pa instanceof Xt?pa.ch:pa,Sa)},lt,St=function(pa){return x.options.lineWrapping?(lt=lt||Io(x,z),zs(x,z,lt,pa)):{begin:0,end:z.text.length}},En=St(re.sticky=="before"?Ye(re,-1):re.ch);if(x.doc.direction=="rtl"||Be.level==1){var Tn=Be.level==1==te<0,vr=Ye(re,Tn?1:-1);if(vr!=null&&(Tn?vr<=Be.to&&vr<=En.end:vr>=Be.from&&vr>=En.begin)){var hr=Tn?"before":"after";return new Xt(re.line,vr,hr)}}var fi=function(pa,Sa,oa){for(var ka=function(Fl,Gs){return Gs?new Xt(re.line,Ye(Fl,1),"before"):new Xt(re.line,Fl,"after")};pa>=0&&pa<oe.length;pa+=Sa){var Qa=oe[pa],qa=Sa>0==(Qa.level!=1),Fo=qa?oa.begin:Ye(oa.end,-1);if(Qa.from<=Fo&&Fo<Qa.to||(Fo=qa?Qa.from:Ye(Qa.to,-1),oa.begin<=Fo&&Fo<oa.end))return ka(Fo,qa)}},Bi=fi(me+te,te,En);if(Bi)return Bi;var Xi=te>0?En.end:Ye(En.begin,-1);return Xi!=null&&!(te>0&&Xi==z.text.length)&&(Bi=fi(te>0?0:oe.length-1,te,St(Xi)),Bi)?Bi:null}var As={selectAll:Fs,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),Ue)},killLine:function(x){return Vs(x,function(z){if(z.empty()){var re=Bt(x.doc,z.head.line).text.length;return z.head.ch==re&&z.head.line<x.lastLine()?{from:z.head,to:Xt(z.head.line+1,0)}:{from:z.head,to:Xt(z.head.line,re)}}else return{from:z.from(),to:z.to()}})},deleteLine:function(x){return Vs(x,function(z){return{from:Xt(z.from().line,0),to:tr(x.doc,Xt(z.to().line+1,0))}})},delLineLeft:function(x){return Vs(x,function(z){return{from:Xt(z.from().line,0),to:z.from()}})},delWrappedLineLeft:function(x){return Vs(x,function(z){var re=x.charCoords(z.head,"div").top+5,te=x.coordsChar({left:0,top:re},"div");return{from:te,to:z.from()}})},delWrappedLineRight:function(x){return Vs(x,function(z){var re=x.charCoords(z.head,"div").top+5,te=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:re},"div");return{from:z.from(),to:te}})},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(Xt(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(Xt(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(z){return pu(x,z.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(z){return Nc(x,z.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(z){return mu(x,z.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(z){var re=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:re},"div")},Ht)},goLineLeft:function(x){return x.extendSelectionsBy(function(z){var re=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:0,top:re},"div")},Ht)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(z){var re=x.cursorCoords(z.head,"div").top+5,te=x.coordsChar({left:0,top:re},"div");return te.ch<x.getLine(te.line).search(/\S/)?Nc(x,z.head):te},Ht)},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=[],re=x.listSelections(),te=x.options.tabSize,oe=0;oe<re.length;oe++){var me=re[oe].from(),Be=We(x.getLine(me.line),me.ch,te);z.push(Sn(te-Be%te))}x.replaceSelections(z)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return mn(x,function(){for(var z=x.listSelections(),re=[],te=0;te<z.length;te++)if(z[te].empty()){var oe=z[te].head,me=Bt(x.doc,oe.line).text;if(me){if(oe.ch==me.length&&(oe=new Xt(oe.line,oe.ch-1)),oe.ch>0)oe=new Xt(oe.line,oe.ch+1),x.replaceRange(me.charAt(oe.ch-1)+me.charAt(oe.ch-2),Xt(oe.line,oe.ch-2),oe,"+transpose");else if(oe.line>x.doc.first){var Be=Bt(x.doc,oe.line-1).text;Be&&(oe=new Xt(oe.line,1),x.replaceRange(me.charAt(0)+x.doc.lineSeparator()+Be.charAt(Be.length-1),Xt(oe.line-1,Be.length-1),oe,"+transpose"))}}re.push(new Li(oe,oe))}x.setSelections(re)})},newlineAndIndent:function(x){return mn(x,function(){for(var z=x.listSelections(),re=z.length-1;re>=0;re--)x.replaceRange(x.doc.lineSeparator(),z[re].anchor,z[re].head,"+input");z=x.listSelections();for(var te=0;te<z.length;te++)x.indentLine(z[te].from().line,null,!0);fa(x)})},openLine:function(x){return x.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function pu(x,z){var re=Bt(x.doc,z),te=Qn(re);return te!=re&&(z=hn(te)),Ao(!0,x,te,z,1)}function mu(x,z){var re=Bt(x.doc,z),te=Mr(re);return te!=re&&(z=hn(te)),Ao(!0,x,re,z,-1)}function Nc(x,z){var re=pu(x,z.line),te=Bt(x.doc,re.line),oe=Cn(te,x.doc.direction);if(!oe||oe[0].level==0){var me=Math.max(re.ch,te.text.search(/\S/)),Be=z.line==re.line&&z.ch<=me&&z.ch;return Xt(re.line,Be?0:me,re.sticky)}return re}function Ql(x,z,re){if(typeof z=="string"&&(z=As[z],!z))return!1;x.display.input.ensurePolled();var te=x.display.shift,oe=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),re&&(x.display.shift=!1),oe=z(x)!=Mt}finally{x.display.shift=te,x.state.suppressEdits=!1}return oe}function lu(x,z,re){for(var te=0;te<x.state.keyMaps.length;te++){var oe=hu(z,x.state.keyMaps[te],re,x);if(oe)return oe}return x.options.extraKeys&&hu(z,x.options.extraKeys,re,x)||hu(z,x.options.keyMap,re,x)}var Tc=new ve;function wu(x,z,re,te){var oe=x.state.keySeq;if(oe){if(oc(z))return"handled";if(/\'$/.test(z)?x.state.keySeq=null:Tc.set(50,function(){x.state.keySeq==oe&&(x.state.keySeq=null,x.display.input.reset())}),Yc(x,oe+" "+z,re,te))return!0}return Yc(x,z,re,te)}function Yc(x,z,re,te){var oe=lu(x,z,te);return oe=="multi"&&(x.state.keySeq=z),oe=="handled"&&Or(x,"keyHandled",x,z,re),(oe=="handled"||oe=="multi")&&(Xn(re),Sr(x)),!!oe}function Ro(x,z){var re=ku(z,!0);return re?z.shiftKey&&!x.state.keySeq?wu(x,"Shift-"+re,z,function(te){return Ql(x,te,!0)})||wu(x,re,z,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return Ql(x,te)}):wu(x,re,z,function(te){return Ql(x,te)}):!1}function Qu(x,z,re){return wu(x,"'"+re+"'",z,function(te){return Ql(x,te,!0)})}var Ys=null;function gc(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&(z.curOp.focus=Ne(),!tt(z,x))){Se&&Ae<11&&x.keyCode==27&&(x.returnValue=!1);var re=x.keyCode;z.display.shift=re==16||x.shiftKey;var te=Ro(z,x);Re&&(Ys=te?re:null,!te&&re==88&&!zn&&(Et?x.metaKey:x.ctrlKey)&&z.replaceSelection("",null,"cut")),ne&&!Et&&!te&&re==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),re==18&&!/\bCodeMirror-crosshair\b/.test(z.display.lineDiv.className)&&oi(z)}}function oi(x){var z=x.display.lineDiv;Rt(z,"CodeMirror-crosshair");function re(te){(te.keyCode==18||!te.altKey)&&(it(z,"CodeMirror-crosshair"),vt(document,"keyup",re),vt(document,"mouseover",re))}Qt(document,"keyup",re),Qt(document,"mouseover",re)}function rd(x){x.keyCode==16&&(this.doc.sel.shift=!1),tt(this,x)}function id(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&!(il(z.display,x)||tt(z,x)||x.ctrlKey&&!x.altKey||Et&&x.metaKey)){var re=x.keyCode,te=x.charCode;if(Re&&re==Ys){Ys=null,Xn(x);return}if(!(Re&&(!x.which||x.which<10)&&Ro(z,x))){var oe=String.fromCharCode(te==null?re:te);oe!="\b"&&(Qu(z,x,oe)||z.display.input.onKeyPress(x))}}}var ad=400,od=function(x,z,re){this.time=x,this.pos=z,this.button=re};od.prototype.compare=function(x,z,re){return this.time+ad>x&&wn(z,this.pos)==0&&re==this.button};var zu,vc;function Gd(x,z){var re=+new Date;return vc&&vc.compare(re,x,z)?(zu=vc=null,"triple"):zu&&zu.compare(re,x,z)?(vc=new od(re,x,z),zu=null,"double"):(zu=new od(re,x,z),vc=null,"single")}function Ks(x){var z=this,re=z.display;if(!(tt(z,x)||re.activeTouch&&re.input.supportsTouch())){if(re.input.ensurePolled(),re.shift=x.shiftKey,il(re,x)){pe||(re.scroller.draggable=!1,setTimeout(function(){return re.scroller.draggable=!0},100));return}if(!Ra(z,x)){var te=ws(z,x),oe=rr(x),me=te?Gd(te,oe):"single";window.focus(),oe==1&&z.state.selectingText&&z.state.selectingText(x),!(te&&Xu(z,oe,te,me,x))&&(oe==1?te?yc(z,te,me,x):kr(x)==re.scroller&&Xn(x):oe==2?(te&&vo(z.doc,te),setTimeout(function(){return re.input.focus()},20)):oe==3&&(ze?z.display.input.onContextMenu(x):Fi(z)))}}}function Xu(x,z,re,te,oe){var me="Click";return te=="double"?me="Double"+me:te=="triple"&&(me="Triple"+me),me=(z==1?"Left":z==2?"Middle":"Right")+me,wu(x,xu(me,oe),oe,function(Be){if(typeof Be=="string"&&(Be=As[Be]),!Be)return!1;var Ye=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),Ye=Be(x,re)!=Mt}finally{x.state.suppressEdits=!1}return Ye})}function Rc(x,z,re){var te=x.getOption("configureMouse"),oe=te?te(x,z,re):{};if(oe.unit==null){var me=Ct?re.shiftKey&&re.metaKey:re.altKey;oe.unit=me?"rectangle":z=="single"?"char":z=="double"?"word":"line"}return(oe.extend==null||x.doc.extend)&&(oe.extend=x.doc.extend||re.shiftKey),oe.addNew==null&&(oe.addNew=Et?re.metaKey:re.ctrlKey),oe.moveOnDrag==null&&(oe.moveOnDrag=!(Et?re.altKey:re.ctrlKey)),oe}function yc(x,z,re,te){Se?setTimeout(wt(Wr,x),0):x.curOp.focus=Ne();var oe=Rc(x,re,te),me=x.doc.sel,Be;x.options.dragDrop&&Ar&&!x.isReadOnly()&&re=="single"&&(Be=me.contains(z))>-1&&(wn((Be=me.ranges[Be]).from(),z)<0||z.xRel>0)&&(wn(Be.to(),z)>0||z.xRel<0)?ld(x,te,z,oe):sd(x,te,z,oe)}function ld(x,z,re,te){var oe=x.display,me=!1,Be=_n(x,function(St){pe&&(oe.scroller.draggable=!1),x.state.draggingText=!1,vt(oe.wrapper.ownerDocument,"mouseup",Be),vt(oe.wrapper.ownerDocument,"mousemove",Ye),vt(oe.scroller,"dragstart",lt),vt(oe.scroller,"drop",Be),me||(Xn(St),te.addNew||vo(x.doc,re,null,null,te.extend),pe&&!ht||Se&&Ae==9?setTimeout(function(){oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),oe.input.focus()},20):oe.input.focus())}),Ye=function(St){me=me||Math.abs(z.clientX-St.clientX)+Math.abs(z.clientY-St.clientY)>=10},lt=function(){return me=!0};pe&&(oe.scroller.draggable=!0),x.state.draggingText=Be,Be.copy=!te.moveOnDrag,oe.scroller.dragDrop&&oe.scroller.dragDrop(),Qt(oe.wrapper.ownerDocument,"mouseup",Be),Qt(oe.wrapper.ownerDocument,"mousemove",Ye),Qt(oe.scroller,"dragstart",lt),Qt(oe.scroller,"drop",Be),Fi(x),setTimeout(function(){return oe.input.focus()},20)}function Sd(x,z,re){if(re=="char")return new Li(z,z);if(re=="word")return x.findWordAt(z);if(re=="line")return new Li(Xt(z.line,0),tr(x.doc,Xt(z.line+1,0)));var te=re(x,z);return new Li(te.from,te.to)}function sd(x,z,re,te){var oe=x.display,me=x.doc;Xn(z);var Be,Ye,lt=me.sel,St=lt.ranges;if(te.addNew&&!te.extend?(Ye=me.sel.contains(re),Ye>-1?Be=St[Ye]:Be=new Li(re,re)):(Be=me.sel.primary(),Ye=me.sel.primIndex),te.unit=="rectangle")te.addNew||(Be=new Li(re,re)),re=ws(x,z,!0,!0),Ye=-1;else{var En=Sd(x,re,te.unit);te.extend?Be=os(Be,En.anchor,En.head,te.extend):Be=En}te.addNew?Ye==-1?(Ye=St.length,No(me,Fa(x,St.concat([Be]),Ye),{scroll:!1,origin:"*mouse"})):St.length>1&&St[Ye].empty()&&te.unit=="char"&&!te.extend?(No(me,Fa(x,St.slice(0,Ye).concat(St.slice(Ye+1)),0),{scroll:!1,origin:"*mouse"}),lt=me.sel):Bo(me,Ye,Be,st):(Ye=0,No(me,new wa([Be],0),st),lt=me.sel);var Tn=re;function vr(oa){if(wn(Tn,oa)!=0)if(Tn=oa,te.unit=="rectangle"){for(var ka=[],Qa=x.options.tabSize,qa=We(Bt(me,re.line).text,re.ch,Qa),Fo=We(Bt(me,oa.line).text,oa.ch,Qa),Fl=Math.min(qa,Fo),Gs=Math.max(qa,Fo),ds=Math.min(re.line,oa.line),gu=Math.min(x.lastLine(),Math.max(re.line,oa.line));ds<=gu;ds++){var vu=Bt(me,ds).text,Ns=yn(vu,Fl,Qa);Fl==Gs?ka.push(new Li(Xt(ds,Ns),Xt(ds,Ns))):vu.length>Ns&&ka.push(new Li(Xt(ds,Ns),Xt(ds,yn(vu,Gs,Qa))))}ka.length||ka.push(new Li(re,re)),No(me,Fa(x,lt.ranges.slice(0,Ye).concat(ka),Ye),{origin:"*mouse",scroll:!1}),x.scrollIntoView(oa)}else{var yu=Be,go=Sd(x,oa,te.unit),ys=yu.anchor,fs;wn(go.anchor,ys)>0?(fs=go.head,ys=dr(yu.from(),go.anchor)):(fs=go.anchor,ys=ar(yu.to(),go.head));var bs=lt.ranges.slice(0);bs[Ye]=Qo(x,new Li(tr(me,ys),fs)),No(me,Fa(x,bs,Ye),st)}}var hr=oe.wrapper.getBoundingClientRect(),fi=0;function Bi(oa){var ka=++fi,Qa=ws(x,oa,!0,te.unit=="rectangle");if(Qa)if(wn(Qa,Tn)!=0){x.curOp.focus=Ne(),vr(Qa);var qa=mr(oe,me);(Qa.line>=qa.to||Qa.line<qa.from)&&setTimeout(_n(x,function(){fi==ka&&Bi(oa)}),150)}else{var Fo=oa.clientY<hr.top?-20:oa.clientY>hr.bottom?20:0;Fo&&setTimeout(_n(x,function(){fi==ka&&(oe.scroller.scrollTop+=Fo,Bi(oa))}),50)}}function Xi(oa){x.state.selectingText=!1,fi=1/0,oa&&(Xn(oa),oe.input.focus()),vt(oe.wrapper.ownerDocument,"mousemove",pa),vt(oe.wrapper.ownerDocument,"mouseup",Sa),me.history.lastSelOrigin=null}var pa=_n(x,function(oa){oa.buttons===0||!rr(oa)?Xi(oa):Bi(oa)}),Sa=_n(x,Xi);x.state.selectingText=Sa,Qt(oe.wrapper.ownerDocument,"mousemove",pa),Qt(oe.wrapper.ownerDocument,"mouseup",Sa)}function Qo(x,z){var re=z.anchor,te=z.head,oe=Bt(x.doc,re.line);if(wn(re,te)==0&&re.sticky==te.sticky)return z;var me=Cn(oe);if(!me)return z;var Be=et(me,re.ch,re.sticky),Ye=me[Be];if(Ye.from!=re.ch&&Ye.to!=re.ch)return z;var lt=Be+(Ye.from==re.ch==(Ye.level!=1)?0:1);if(lt==0||lt==me.length)return z;var St;if(te.line!=re.line)St=(te.line-re.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var En=et(me,te.ch,te.sticky),Tn=En-Be||(te.ch-re.ch)*(Ye.level==1?-1:1);En==lt-1||En==lt?St=Tn<0:St=Tn>0}var vr=me[lt+(St?-1:0)],hr=St==(vr.level==1),fi=hr?vr.from:vr.to,Bi=hr?"after":"before";return re.ch==fi&&re.sticky==Bi?z:new Li(new Xt(re.line,fi,Bi),te)}function Na(x,z,re,te){var oe,me;if(z.touches)oe=z.touches[0].clientX,me=z.touches[0].clientY;else try{oe=z.clientX,me=z.clientY}catch(vr){return!1}if(oe>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;te&&Xn(z);var Be=x.display,Ye=Be.lineDiv.getBoundingClientRect();if(me>Ye.bottom||!dn(x,re))return nr(z);me-=Ye.top-Be.viewOffset;for(var lt=0;lt<x.display.gutterSpecs.length;++lt){var St=Be.gutters.childNodes[lt];if(St&&St.getBoundingClientRect().right>=oe){var En=Pn(x.doc,me),Tn=x.display.gutterSpecs[lt];return Oe(x,re,x,En,Tn.className,z),nr(z)}}}function Ra(x,z){return Na(x,z,"gutterClick",!0)}function Po(x,z){il(x.display,z)||Wl(x,z)||tt(x,z,"contextmenu")||ze||x.display.input.onContextMenu(z)}function Wl(x,z){return dn(x,"gutterContextMenu")?Na(x,z,"gutterContextMenu",!1):!1}function Ju(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),qo(x)}var Zs={toString:function(){return"CodeMirror.Init"}},Hu={},Du={};function zc(x){var z=x.optionHandlers;function re(te,oe,me,Be){x.defaults[te]=oe,me&&(z[te]=Be?function(Ye,lt,St){St!=Zs&&me(Ye,lt,St)}:me)}x.defineOption=re,x.Init=Zs,re("value","",function(te,oe){return te.setValue(oe)},!0),re("mode",null,function(te,oe){te.doc.modeOption=oe,Uo(te)},!0),re("indentUnit",2,Uo,!0),re("indentWithTabs",!1),re("smartIndent",!0),re("tabSize",4,function(te){Aa(te),qo(te),as(te)},!0),re("lineSeparator",null,function(te,oe){if(te.doc.lineSep=oe,!!oe){var me=[],Be=te.doc.first;te.doc.iter(function(lt){for(var St=0;;){var En=lt.text.indexOf(oe,St);if(En==-1)break;St=En+oe.length,me.push(Xt(Be,En))}Be++});for(var Ye=me.length-1;Ye>=0;Ye--)bu(te.doc,oe,me[Ye],Xt(me[Ye].line,me[Ye].ch+oe.length))}}),re("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,oe,me){te.state.specialChars=new RegExp(oe.source+(oe.test(" ")?"":"| "),"g"),me!=Zs&&te.refresh()}),re("specialCharPlaceholder",Wa,function(te){return te.refresh()},!0),re("electricChars",!0),re("inputStyle",ct?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),re("spellcheck",!1,function(te,oe){return te.getInputField().spellcheck=oe},!0),re("autocorrect",!1,function(te,oe){return te.getInputField().autocorrect=oe},!0),re("autocapitalize",!1,function(te,oe){return te.getInputField().autocapitalize=oe},!0),re("rtlMoveVisually",!Wt),re("wholeLineUpdateBefore",!0),re("theme","default",function(te){Ju(te),ji(te)},!0),re("keyMap","default",function(te,oe,me){var Be=Es(oe),Ye=me!=Zs&&Es(me);Ye&&Ye.detach&&Ye.detach(te,Be),Be.attach&&Be.attach(te,Ye||null)}),re("extraKeys",null),re("configureMouse",null),re("lineWrapping",!1,Su,!0),re("gutters",[],function(te,oe){te.display.gutterSpecs=ba(oe,te.options.lineNumbers),ji(te)},!0),re("fixedGutter",!0,function(te,oe){te.display.gutters.style.left=oe?Vo(te.display)+"px":"0",te.refresh()},!0),re("coverGutterNextToScrollbar",!1,function(te){return fo(te)},!0),re("scrollbarStyle","native",function(te){rl(te),fo(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),re("lineNumbers",!1,function(te,oe){te.display.gutterSpecs=ba(te.options.gutters,oe),ji(te)},!0),re("firstLineNumber",1,ji,!0),re("lineNumberFormatter",function(te){return te},ji,!0),re("showCursorWhenSelecting",!1,$t,!0),re("resetSelectionOnContextMenu",!0),re("lineWiseCopyCut",!0),re("pasteLinesPerSelection",!0),re("selectionsMayTouch",!1),re("readOnly",!1,function(te,oe){oe=="nocursor"&&(Qr(te),te.display.input.blur()),te.display.input.readOnlyChanged(oe)}),re("screenReaderLabel",null,function(te,oe){oe=oe===""?null:oe,te.display.input.screenReaderLabelChanged(oe)}),re("disableInput",!1,function(te,oe){oe||te.display.input.reset()},!0),re("dragDrop",!0,lc),re("allowDropFileTypes",null),re("cursorBlinkRate",530),re("cursorScrollMargin",0),re("cursorHeight",1,$t,!0),re("singleCursorHeightPerLine",!0,$t,!0),re("workTime",100),re("workDelay",100),re("flattenSpans",!0,Aa,!0),re("addModeClass",!1,Aa,!0),re("pollInterval",100),re("undoDepth",200,function(te,oe){return te.doc.history.undoDepth=oe}),re("historyEventDelay",1250),re("viewportMargin",10,function(te){return te.refresh()},!0),re("maxHighlightLength",1e4,Aa,!0),re("moveInputWithCursor",!0,function(te,oe){oe||te.display.input.resetPosition()}),re("tabindex",null,function(te,oe){return te.display.input.getField().tabIndex=oe||""}),re("autofocus",null),re("direction","ltr",function(te,oe){return te.doc.setDirection(oe)},!0),re("phrases",null)}function lc(x,z,re){var te=re&&re!=Zs;if(!z!=!te){var oe=x.display.dragFunctions,me=z?Qt:vt;me(x.display.scroller,"dragstart",oe.start),me(x.display.scroller,"dragenter",oe.enter),me(x.display.scroller,"dragover",oe.over),me(x.display.scroller,"dragleave",oe.leave),me(x.display.scroller,"drop",oe.drop)}}function Su(x){x.options.lineWrapping?(Rt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(it(x.display.wrapper,"CodeMirror-wrap"),Tr(x)),is(x),as(x),qo(x),setTimeout(function(){return fo(x)},100)}function ho(x,z){var re=this;if(!(this instanceof ho))return new ho(x,z);this.options=z=z?It(z):{},It(Hu,z,!1);var te=z.value;typeof te=="string"?te=new Yl(te,z.mode,null,z.lineSeparator,z.direction):z.mode&&(te.modeOption=z.mode),this.doc=te;var oe=new ho.inputStyles[z.inputStyle](this),me=this.display=new ha(x,te,oe,z);me.wrapper.CodeMirror=this,Ju(this),z.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),rl(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 ve,keySeq:null,specialChars:null},z.autofocus&&!ct&&me.input.focus(),Se&&Ae<11&&setTimeout(function(){return re.display.input.reset(!0)},20),fh(this),Oc(),Co(this),this.curOp.forceUpdate=!0,Da(this,te),z.autofocus&&!ct||this.hasFocus()?setTimeout(function(){re.hasFocus()&&!re.state.focused&&Xr(re)},20):Qr(this);for(var Be in Du)Du.hasOwnProperty(Be)&&Du[Be](this,z[Be],Zs);aa(this),z.finishInit&&z.finishInit(this);for(var Ye=0;Ye<Ud.length;++Ye)Ud[Ye](this);bl(this),pe&&z.lineWrapping&&getComputedStyle(me.lineDiv).textRendering=="optimizelegibility"&&(me.lineDiv.style.textRendering="auto")}ho.defaults=Hu,ho.optionHandlers=Du;function fh(x){var z=x.display;Qt(z.scroller,"mousedown",_n(x,Ks)),Se&&Ae<11?Qt(z.scroller,"dblclick",_n(x,function(lt){if(!tt(x,lt)){var St=ws(x,lt);if(!(!St||Ra(x,lt)||il(x.display,lt))){Xn(lt);var En=x.findWordAt(St);vo(x.doc,En.anchor,En.head)}}})):Qt(z.scroller,"dblclick",function(lt){return tt(x,lt)||Xn(lt)}),Qt(z.scroller,"contextmenu",function(lt){return Po(x,lt)}),Qt(z.input.getField(),"contextmenu",function(lt){z.scroller.contains(lt.target)||Po(x,lt)});var re,te={end:0};function oe(){z.activeTouch&&(re=setTimeout(function(){return z.activeTouch=null},1e3),te=z.activeTouch,te.end=+new Date)}function me(lt){if(lt.touches.length!=1)return!1;var St=lt.touches[0];return St.radiusX<=1&&St.radiusY<=1}function Be(lt,St){if(St.left==null)return!0;var En=St.left-lt.left,Tn=St.top-lt.top;return En*En+Tn*Tn>20*20}Qt(z.scroller,"touchstart",function(lt){if(!tt(x,lt)&&!me(lt)&&!Ra(x,lt)){z.input.ensurePolled(),clearTimeout(re);var St=+new Date;z.activeTouch={start:St,moved:!1,prev:St-te.end<=300?te:null},lt.touches.length==1&&(z.activeTouch.left=lt.touches[0].pageX,z.activeTouch.top=lt.touches[0].pageY)}}),Qt(z.scroller,"touchmove",function(){z.activeTouch&&(z.activeTouch.moved=!0)}),Qt(z.scroller,"touchend",function(lt){var St=z.activeTouch;if(St&&!il(z,lt)&&St.left!=null&&!St.moved&&new Date-St.start<300){var En=x.coordsChar(z.activeTouch,"page"),Tn;!St.prev||Be(St,St.prev)?Tn=new Li(En,En):!St.prev.prev||Be(St,St.prev.prev)?Tn=x.findWordAt(En):Tn=new Li(Xt(En.line,0),tr(x.doc,Xt(En.line+1,0))),x.setSelection(Tn.anchor,Tn.head),x.focus(),Xn(lt)}oe()}),Qt(z.scroller,"touchcancel",oe),Qt(z.scroller,"scroll",function(){z.scroller.clientHeight&&(ao(x,z.scroller.scrollTop),Do(x,z.scroller.scrollLeft,!0),Oe(x,"scroll",x))}),Qt(z.scroller,"mousewheel",function(lt){return Ja(x,lt)}),Qt(z.scroller,"DOMMouseScroll",function(lt){return Ja(x,lt)}),Qt(z.wrapper,"scroll",function(){return z.wrapper.scrollTop=z.wrapper.scrollLeft=0}),z.dragFunctions={enter:function(lt){tt(x,lt)||wr(lt)},over:function(lt){tt(x,lt)||(Gu(x,lt),wr(lt))},start:function(lt){return pc(x,lt)},drop:_n(x,Fc),leave:function(lt){tt(x,lt)||Uu(x)}};var Ye=z.input.getField();Qt(Ye,"keyup",function(lt){return rd.call(x,lt)}),Qt(Ye,"keydown",_n(x,gc)),Qt(Ye,"keypress",_n(x,id)),Qt(Ye,"focus",function(lt){return Xr(x,lt)}),Qt(Ye,"blur",function(lt){return Qr(x,lt)})}var Ud=[];ho.defineInitHook=function(x){return Ud.push(x)};function Ku(x,z,re,te){var oe=x.doc,me;re==null&&(re="add"),re=="smart"&&(oe.mode.indent?me=Vn(x,z).state:re="prev");var Be=x.options.tabSize,Ye=Bt(oe,z),lt=We(Ye.text,null,Be);Ye.stateAfter&&(Ye.stateAfter=null);var St=Ye.text.match(/^\s*/)[0],En;if(!te&&!/\S/.test(Ye.text))En=0,re="not";else if(re=="smart"&&(En=oe.mode.indent(me,Ye.text.slice(St.length),Ye.text),En==Mt||En>150)){if(!te)return;re="prev"}re=="prev"?z>oe.first?En=We(Bt(oe,z-1).text,null,Be):En=0:re=="add"?En=lt+x.options.indentUnit:re=="subtract"?En=lt-x.options.indentUnit:typeof re=="number"&&(En=lt+re),En=Math.max(0,En);var Tn="",vr=0;if(x.options.indentWithTabs)for(var hr=Math.floor(En/Be);hr;--hr)vr+=Be,Tn+=" ";if(vr<En&&(Tn+=Sn(En-vr)),Tn!=St)return bu(oe,Tn,Xt(z,0),Xt(z,St.length),"+input"),Ye.stateAfter=null,!0;for(var fi=0;fi<oe.sel.ranges.length;fi++){var Bi=oe.sel.ranges[fi];if(Bi.head.line==z&&Bi.head.ch<St.length){var Xi=Xt(z,St.length);Bo(oe,fi,new Li(Xi,Xi));break}}}var Zu=null;function bc(x){Zu=x}function Yd(x,z,re,te,oe){var me=x.doc;x.display.shift=!1,te||(te=me.sel);var Be=+new Date-200,Ye=oe=="paste"||x.state.pasteIncoming>Be,lt=Rn(z),St=null;if(Ye&&te.ranges.length>1)if(Zu&&Zu.text.join(`
|
|
|
`)==z){if(te.ranges.length%Zu.text.length==0){St=[];for(var En=0;En<Zu.text.length;En++)St.push(me.splitLines(Zu.text[En]))}}else lt.length==te.ranges.length&&x.options.pasteLinesPerSelection&&(St=Jt(lt,function(pa){return[pa]}));for(var Tn=x.curOp.updateInput,vr=te.ranges.length-1;vr>=0;vr--){var hr=te.ranges[vr],fi=hr.from(),Bi=hr.to();hr.empty()&&(re&&re>0?fi=Xt(fi.line,fi.ch-re):x.state.overwrite&&!Ye?Bi=Xt(Bi.line,Math.min(Bt(me,Bi.line).text.length,Bi.ch+jt(lt).length)):Ye&&Zu&&Zu.lineWise&&Zu.text.join(`
|
|
|
`)==lt.join(`
|
|
|
`)&&(fi=Bi=Xt(fi.line,0)));var Xi={from:fi,to:Bi,text:St?St[vr%St.length]:lt,origin:oe||(Ye?"paste":x.state.cutIncoming>Be?"cut":"+input")};ol(x.doc,Xi),Or(x,"inputRead",x,Xi)}z&&!Ye&&Xd(x,z),fa(x),x.curOp.updateInput<2&&(x.curOp.updateInput=Tn),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Qd(x,z){var re=x.clipboardData&&x.clipboardData.getData("Text");if(re)return x.preventDefault(),!z.isReadOnly()&&!z.options.disableInput&&mn(z,function(){return Yd(z,re,0,null,"paste")}),!0}function Xd(x,z){if(!(!x.options.electricChars||!x.options.smartIndent))for(var re=x.doc.sel,te=re.ranges.length-1;te>=0;te--){var oe=re.ranges[te];if(!(oe.head.ch>100||te&&re.ranges[te-1].head.line==oe.head.line)){var me=x.getModeAt(oe.head),Be=!1;if(me.electricChars){for(var Ye=0;Ye<me.electricChars.length;Ye++)if(z.indexOf(me.electricChars.charAt(Ye))>-1){Be=Ku(x,oe.head.line,"smart");break}}else me.electricInput&&me.electricInput.test(Bt(x.doc,oe.head.line).text.slice(0,oe.head.ch))&&(Be=Ku(x,oe.head.line,"smart"));Be&&Or(x,"electricInput",x,oe.head.line)}}}function Qc(x){for(var z=[],re=[],te=0;te<x.doc.sel.ranges.length;te++){var oe=x.doc.sel.ranges[te].head.line,me={anchor:Xt(oe,0),head:Xt(oe+1,0)};re.push(me),z.push(x.getRange(me.anchor,me.head))}return{text:z,ranges:re}}function Mf(x,z,re,te){x.setAttribute("autocorrect",re?"":"off"),x.setAttribute("autocapitalize",te?"":"off"),x.setAttribute("spellcheck",!!z)}function Jd(){var x=Je("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),z=Je("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return pe?x.style.width="1000px":x.setAttribute("wrap","off"),Ge&&(x.style.border="1px solid black"),Mf(x),z}function qd(x){var z=x.optionHandlers,re=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(te,oe){var me=this.options,Be=me[te];me[te]==oe&&te!="mode"||(me[te]=oe,z.hasOwnProperty(te)&&_n(this,z[te])(this,oe,Be),Oe(this,"optionChange",this,te))},getOption:function(te){return this.options[te]},getDoc:function(){return this.doc},addKeyMap:function(te,oe){this.state.keyMaps[oe?"push":"unshift"](Es(te))},removeKeyMap:function(te){for(var oe=this.state.keyMaps,me=0;me<oe.length;++me)if(oe[me]==te||oe[me].name==te)return oe.splice(me,1),!0},addOverlay:Kn(function(te,oe){var me=te.token?te:x.getMode(this.options,te);if(me.startState)throw new Error("Overlays may not be stateful.");Ot(this.state.overlays,{mode:me,modeSpec:te,opaque:oe&&oe.opaque,priority:oe&&oe.priority||0},function(Be){return Be.priority}),this.state.modeGen++,as(this)}),removeOverlay:Kn(function(te){for(var oe=this.state.overlays,me=0;me<oe.length;++me){var Be=oe[me].modeSpec;if(Be==te||typeof te=="string"&&Be.name==te){oe.splice(me,1),this.state.modeGen++,as(this);return}}}),indentLine:Kn(function(te,oe,me){typeof oe!="string"&&typeof oe!="number"&&(oe==null?oe=this.options.smartIndent?"smart":"prev":oe=oe?"add":"subtract"),Jn(this.doc,te)&&Ku(this,te,oe,me)}),indentSelection:Kn(function(te){for(var oe=this.doc.sel.ranges,me=-1,Be=0;Be<oe.length;Be++){var Ye=oe[Be];if(Ye.empty())Ye.head.line>me&&(Ku(this,Ye.head.line,te,!0),me=Ye.head.line,Be==this.doc.sel.primIndex&&fa(this));else{var lt=Ye.from(),St=Ye.to(),En=Math.max(me,lt.line);me=Math.min(this.lastLine(),St.line-(St.ch?0:1))+1;for(var Tn=En;Tn<me;++Tn)Ku(this,Tn,te);var vr=this.doc.sel.ranges;lt.ch==0&&oe.length==vr.length&&vr[Be].from().ch>0&&Bo(this.doc,Be,new Li(lt,vr[Be].to()),Ue)}}}),getTokenAt:function(te,oe){return ai(this,te,oe)},getLineTokens:function(te,oe){return ai(this,Xt(te),oe,!0)},getTokenTypeAt:function(te){te=tr(this.doc,te);var oe=Bn(this,Bt(this.doc,te.line)),me=0,Be=(oe.length-1)/2,Ye=te.ch,lt;if(Ye==0)lt=oe[2];else for(;;){var St=me+Be>>1;if((St?oe[St*2-1]:0)>=Ye)Be=St;else if(oe[St*2+1]<Ye)me=St+1;else{lt=oe[St*2+2];break}}var En=lt?lt.indexOf("overlay "):-1;return En<0?lt:En==0?null:lt.slice(0,En-1)},getModeAt:function(te){var oe=this.doc.mode;return oe.innerMode?x.innerMode(oe,this.getTokenAt(te).state).mode:oe},getHelper:function(te,oe){return this.getHelpers(te,oe)[0]},getHelpers:function(te,oe){var me=[];if(!re.hasOwnProperty(oe))return me;var Be=re[oe],Ye=this.getModeAt(te);if(typeof Ye[oe]=="string")Be[Ye[oe]]&&me.push(Be[Ye[oe]]);else if(Ye[oe])for(var lt=0;lt<Ye[oe].length;lt++){var St=Be[Ye[oe][lt]];St&&me.push(St)}else Ye.helperType&&Be[Ye.helperType]?me.push(Be[Ye.helperType]):Be[Ye.name]&&me.push(Be[Ye.name]);for(var En=0;En<Be._global.length;En++){var Tn=Be._global[En];Tn.pred(Ye,this)&&Qe(me,Tn.val)==-1&&me.push(Tn.val)}return me},getStateAfter:function(te,oe){var me=this.doc;return te=Ir(me,te==null?me.first+me.size-1:te),Vn(this,te+1,oe).state},cursorCoords:function(te,oe){var me,Be=this.doc.sel.primary();return te==null?me=Be.head:typeof te=="object"?me=tr(this.doc,te):me=te?Be.from():Be.to(),$o(this,me,oe||"page")},charCoords:function(te,oe){return ml(this,tr(this.doc,te),oe||"page")},coordsChar:function(te,oe){return te=fl(this,te,oe||"page"),Hl(this,te.left,te.top)},lineAtHeight:function(te,oe){return te=fl(this,{top:te,left:0},oe||"page").top,Pn(this.doc,te+this.display.viewOffset)},heightAtLine:function(te,oe,me){var Be=!1,Ye;if(typeof te=="number"){var lt=this.doc.first+this.doc.size-1;te<this.doc.first?te=this.doc.first:te>lt&&(te=lt,Be=!0),Ye=Bt(this.doc,te)}else Ye=te;return Vl(this,Ye,{top:0,left:0},oe||"page",me||Be).top+(Be?this.doc.height-yr(Ye):0)},defaultTextHeight:function(){return Hs(this.display)},defaultCharWidth:function(){return mo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,oe,me,Be,Ye){var lt=this.display;te=$o(this,tr(this.doc,te));var St=te.bottom,En=te.left;if(oe.style.position="absolute",oe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(oe),lt.sizer.appendChild(oe),Be=="over")St=te.top;else if(Be=="above"||Be=="near"){var Tn=Math.max(lt.wrapper.clientHeight,this.doc.height),vr=Math.max(lt.sizer.clientWidth,lt.lineSpace.clientWidth);(Be=="above"||te.bottom+oe.offsetHeight>Tn)&&te.top>oe.offsetHeight?St=te.top-oe.offsetHeight:te.bottom+oe.offsetHeight<=Tn&&(St=te.bottom),En+oe.offsetWidth>vr&&(En=vr-oe.offsetWidth)}oe.style.top=St+"px",oe.style.left=oe.style.right="",Ye=="right"?(En=lt.sizer.clientWidth-oe.offsetWidth,oe.style.right="0px"):(Ye=="left"?En=0:Ye=="middle"&&(En=(lt.sizer.clientWidth-oe.offsetWidth)/2),oe.style.left=En+"px"),me&&ca(this,{left:En,top:St,right:En+oe.offsetWidth,bottom:St+oe.offsetHeight})},triggerOnKeyDown:Kn(gc),triggerOnKeyPress:Kn(id),triggerOnKeyUp:rd,triggerOnMouseDown:Kn(Ks),execCommand:function(te){if(As.hasOwnProperty(te))return As[te].call(null,this)},triggerElectric:Kn(function(te){Xd(this,te)}),findPosH:function(te,oe,me,Be){var Ye=1;oe<0&&(Ye=-1,oe=-oe);for(var lt=tr(this.doc,te),St=0;St<oe&&(lt=Ed(this.doc,lt,Ye,me,Be),!lt.hitSide);++St);return lt},moveH:Kn(function(te,oe){var me=this;this.extendSelectionsBy(function(Be){return me.display.shift||me.doc.extend||Be.empty()?Ed(me.doc,Be.head,te,oe,me.options.rtlMoveVisually):te<0?Be.from():Be.to()},Ht)}),deleteH:Kn(function(te,oe){var me=this.doc.sel,Be=this.doc;me.somethingSelected()?Be.replaceSelection("",null,"+delete"):Vs(this,function(Ye){var lt=Ed(Be,Ye.head,te,oe,!1);return te<0?{from:lt,to:Ye.head}:{from:Ye.head,to:lt}})}),findPosV:function(te,oe,me,Be){var Ye=1,lt=Be;oe<0&&(Ye=-1,oe=-oe);for(var St=tr(this.doc,te),En=0;En<oe;++En){var Tn=$o(this,St,"div");if(lt==null?lt=Tn.left:Tn.left=lt,St=kf(this,Tn,Ye,me),St.hitSide)break}return St},moveV:Kn(function(te,oe){var me=this,Be=this.doc,Ye=[],lt=!this.display.shift&&!Be.extend&&Be.sel.somethingSelected();if(Be.extendSelectionsBy(function(En){if(lt)return te<0?En.from():En.to();var Tn=$o(me,En.head,"div");En.goalColumn!=null&&(Tn.left=En.goalColumn),Ye.push(Tn.left);var vr=kf(me,Tn,te,oe);return oe=="page"&&En==Be.sel.primary()&&sa(me,ml(me,vr,"div").top-Tn.top),vr},Ht),Ye.length)for(var St=0;St<Be.sel.ranges.length;St++)Be.sel.ranges[St].goalColumn=Ye[St]}),findWordAt:function(te){var oe=this.doc,me=Bt(oe,te.line).text,Be=te.ch,Ye=te.ch;if(me){var lt=this.getHelper(te,"wordChars");(te.sticky=="before"||Ye==me.length)&&Be?--Be:++Ye;for(var St=me.charAt(Be),En=fe(St,lt)?function(Tn){return fe(Tn,lt)}:/\s/.test(St)?function(Tn){return/\s/.test(Tn)}:function(Tn){return!/\s/.test(Tn)&&!fe(Tn)};Be>0&&En(me.charAt(Be-1));)--Be;for(;Ye<me.length&&En(me.charAt(Ye));)++Ye}return new Li(Xt(te.line,Be),Xt(te.line,Ye))},toggleOverwrite:function(te){te!=null&&te==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Rt(this.display.cursorDiv,"CodeMirror-overwrite"):it(this.display.cursorDiv,"CodeMirror-overwrite"),Oe(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Ne()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Kn(function(te,oe){ia(this,te,oe)}),getScrollInfo:function(){var te=this.display.scroller;return{left:te.scrollLeft,top:te.scrollTop,height:te.scrollHeight-cl(this)-this.display.barHeight,width:te.scrollWidth-cl(this)-this.display.barWidth,clientHeight:hs(this),clientWidth:Jo(this)}},scrollIntoView:Kn(function(te,oe){te==null?(te={from:this.doc.sel.primary().head,to:null},oe==null&&(oe=this.options.cursorScrollMargin)):typeof te=="number"?te={from:Xt(te,0),to:null}:te.from==null&&(te={from:te,to:null}),te.to||(te.to=te.from),te.margin=oe||0,te.from.line!=null?ea(this,te):Ya(this,te.from,te.to,te.margin)}),setSize:Kn(function(te,oe){var me=this,Be=function(lt){return typeof lt=="number"||/^\d+$/.test(String(lt))?lt+"px":lt};te!=null&&(this.display.wrapper.style.width=Be(te)),oe!=null&&(this.display.wrapper.style.height=Be(oe)),this.options.lineWrapping&&dl(this);var Ye=this.display.viewFrom;this.doc.iter(Ye,this.display.viewTo,function(lt){if(lt.widgets){for(var St=0;St<lt.widgets.length;St++)if(lt.widgets[St].noHScroll){ru(me,Ye,"widget");break}}++Ye}),this.curOp.forceUpdate=!0,Oe(this,"refresh",this)}),operation:function(te){return mn(this,te)},startOperation:function(){return Co(this)},endOperation:function(){return bl(this)},refresh:Kn(function(){var te=this.display.cachedTextHeight;as(this),this.curOp.forceUpdate=!0,qo(this),ia(this,this.doc.scrollLeft,this.doc.scrollTop),Ri(this.display),(te==null||Math.abs(te-Hs(this.display))>.5||this.options.lineWrapping)&&is(this),Oe(this,"refresh",this)}),swapDoc:Kn(function(te){var oe=this.doc;return oe.cm=null,this.state.selectingText&&this.state.selectingText(),Da(this,te),qo(this),this.display.input.reset(),ia(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,Or(this,"swapDoc",this,oe),oe}),phrase:function(te){var oe=this.options.phrases;return oe&&Object.prototype.hasOwnProperty.call(oe,te)?oe[te]:te},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}},An(x),x.registerHelper=function(te,oe,me){re.hasOwnProperty(te)||(re[te]=x[te]={_global:[]}),re[te][oe]=me},x.registerGlobalHelper=function(te,oe,me,Be){x.registerHelper(te,oe,Be),re[te]._global.push({pred:me,val:Be})}}function Ed(x,z,re,te,oe){var me=z,Be=re,Ye=Bt(x,z.line),lt=oe&&x.direction=="rtl"?-re:re;function St(){var Sa=z.line+lt;return Sa<x.first||Sa>=x.first+x.size?!1:(z=new Xt(Sa,z.ch,z.sticky),Ye=Bt(x,Sa))}function En(Sa){var oa;if(te=="codepoint"){var ka=Ye.text.charCodeAt(z.ch+(te>0?0:-1));isNaN(ka)?oa=null:oa=new Xt(z.line,Math.max(0,Math.min(Ye.text.length,z.ch+re*(ka>=55296&&ka<56320?2:1))),-re)}else oe?oa=Zo(x.cm,Ye,z,re):oa=Cu(Ye,z,re);if(oa==null)if(!Sa&&St())z=Ao(oe,x.cm,Ye,z.line,lt);else return!1;else z=oa;return!0}if(te=="char"||te=="codepoint")En();else if(te=="column")En(!0);else if(te=="word"||te=="group")for(var Tn=null,vr=te=="group",hr=x.cm&&x.cm.getHelper(z,"wordChars"),fi=!0;!(re<0&&!En(!fi));fi=!1){var Bi=Ye.text.charAt(z.ch)||`
|
|
|
`,Xi=fe(Bi,hr)?"w":vr&&Bi==`
|
|
|
`?"n":!vr||/\s/.test(Bi)?null:"p";if(vr&&!fi&&!Xi&&(Xi="s"),Tn&&Tn!=Xi){re<0&&(re=1,En(),z.sticky="after");break}if(Xi&&(Tn=Xi),re>0&&!En(!fi))break}var pa=au(x,z,me,Be,!0);return pr(me,pa)&&(pa.hitSide=!0),pa}function kf(x,z,re,te){var oe=x.doc,me=z.left,Be;if(te=="page"){var Ye=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),lt=Math.max(Ye-.5*Hs(x.display),3);Be=(re>0?z.bottom:z.top)+re*lt}else te=="line"&&(Be=re>0?z.bottom+3:z.top-3);for(var St;St=Hl(x,me,Be),!!St.outside;){if(re<0?Be<=0:Be>=oe.height){St.hitSide=!0;break}Be+=re*5}return St}var kl=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ve,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};kl.prototype.init=function(x){var z=this,re=this,te=re.cm,oe=re.div=x.lineDiv;Mf(oe,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function me(Ye){for(var lt=Ye.target;lt;lt=lt.parentNode){if(lt==oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(lt.className))break}return!1}Qt(oe,"paste",function(Ye){!me(Ye)||tt(te,Ye)||Qd(Ye,te)||Ae<=11&&setTimeout(_n(te,function(){return z.updateFromDOM()}),20)}),Qt(oe,"compositionstart",function(Ye){z.composing={data:Ye.data,done:!1}}),Qt(oe,"compositionupdate",function(Ye){z.composing||(z.composing={data:Ye.data,done:!1})}),Qt(oe,"compositionend",function(Ye){z.composing&&(Ye.data!=z.composing.data&&z.readFromDOMSoon(),z.composing.done=!0)}),Qt(oe,"touchstart",function(){return re.forceCompositionEnd()}),Qt(oe,"input",function(){z.composing||z.readFromDOMSoon()});function Be(Ye){if(!(!me(Ye)||tt(te,Ye))){if(te.somethingSelected())bc({lineWise:!1,text:te.getSelections()}),Ye.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var lt=Qc(te);bc({lineWise:!0,text:lt.text}),Ye.type=="cut"&&te.operation(function(){te.setSelections(lt.ranges,0,Ue),te.replaceSelection("",null,"cut")})}else return;if(Ye.clipboardData){Ye.clipboardData.clearData();var St=Zu.text.join(`
|
|
|
`);if(Ye.clipboardData.setData("Text",St),Ye.clipboardData.getData("Text")==St){Ye.preventDefault();return}}var En=Jd(),Tn=En.firstChild;te.display.lineSpace.insertBefore(En,te.display.lineSpace.firstChild),Tn.value=Zu.text.join(`
|
|
|
`);var vr=document.activeElement;Nt(Tn),setTimeout(function(){te.display.lineSpace.removeChild(En),vr.focus(),vr==oe&&re.showPrimarySelection()},50)}}Qt(oe,"copy",Be),Qt(oe,"cut",Be)},kl.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},kl.prototype.prepareSelection=function(){var x=un(this.cm,!1);return x.focus=document.activeElement==this.div,x},kl.prototype.showSelection=function(x,z){!x||!this.cm.display.view.length||((x.focus||z)&&this.showPrimarySelection(),this.showMultipleSelections(x))},kl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},kl.prototype.showPrimarySelection=function(){var x=this.getSelection(),z=this.cm,re=z.doc.sel.primary(),te=re.from(),oe=re.to();if(z.display.viewTo==z.display.viewFrom||te.line>=z.display.viewTo||oe.line<z.display.viewFrom){x.removeAllRanges();return}var me=Ad(z,x.anchorNode,x.anchorOffset),Be=Ad(z,x.focusNode,x.focusOffset);if(!(me&&!me.bad&&Be&&!Be.bad&&wn(dr(me,Be),te)==0&&wn(ar(me,Be),oe)==0)){var Ye=z.display.view,lt=te.line>=z.display.viewFrom&&Df(z,te)||{node:Ye[0].measure.map[2],offset:0},St=oe.line<z.display.viewTo&&Df(z,oe);if(!St){var En=Ye[Ye.length-1].measure,Tn=En.maps?En.maps[En.maps.length-1]:En.map;St={node:Tn[Tn.length-1],offset:Tn[Tn.length-2]-Tn[Tn.length-3]}}if(!lt||!St){x.removeAllRanges();return}var vr=x.rangeCount&&x.getRangeAt(0),hr;try{hr=Te(lt.node,lt.offset,St.offset,St.node)}catch(fi){}hr&&(!ne&&z.state.focused?(x.collapse(lt.node,lt.offset),hr.collapsed||(x.removeAllRanges(),x.addRange(hr))):(x.removeAllRanges(),x.addRange(hr)),vr&&x.anchorNode==null?x.addRange(vr):ne&&this.startGracePeriod()),this.rememberSelection()}},kl.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)},kl.prototype.showMultipleSelections=function(x){ut(this.cm.display.cursorDiv,x.cursors),ut(this.cm.display.selectionDiv,x.selection)},kl.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},kl.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var z=x.getRangeAt(0).commonAncestorContainer;return xt(this.div,z)},kl.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},kl.prototype.blur=function(){this.div.blur()},kl.prototype.getField=function(){return this.div},kl.prototype.supportsTouch=function(){return!0},kl.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():mn(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)},kl.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},kl.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),z=this.cm;if(nt&&Ee&&this.cm.display.gutterSpecs.length&&hh(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var re=Ad(z,x.anchorNode,x.anchorOffset),te=Ad(z,x.focusNode,x.focusOffset);re&&te&&mn(z,function(){No(z.doc,Za(re,te),Ue),(re.bad||te.bad)&&(z.curOp.selectionChanged=!0)})}}},kl.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,z=x.display,re=x.doc.sel.primary(),te=re.from(),oe=re.to();if(te.ch==0&&te.line>x.firstLine()&&(te=Xt(te.line-1,Bt(x.doc,te.line-1).length)),oe.ch==Bt(x.doc,oe.line).text.length&&oe.line<x.lastLine()&&(oe=Xt(oe.line+1,0)),te.line<z.viewFrom||oe.line>z.viewTo-1)return!1;var me,Be,Ye;te.line==z.viewFrom||(me=ms(x,te.line))==0?(Be=hn(z.view[0].line),Ye=z.view[0].node):(Be=hn(z.view[me].line),Ye=z.view[me-1].node.nextSibling);var lt=ms(x,oe.line),St,En;if(lt==z.view.length-1?(St=z.viewTo-1,En=z.lineDiv.lastChild):(St=hn(z.view[lt+1].line)-1,En=z.view[lt+1].node.previousSibling),!Ye)return!1;for(var Tn=x.doc.splitLines(ph(x,Ye,En,Be,St)),vr=dt(x.doc,Xt(Be,0),Xt(St,Bt(x.doc,St).text.length));Tn.length>1&&vr.length>1;)if(jt(Tn)==jt(vr))Tn.pop(),vr.pop(),St--;else if(Tn[0]==vr[0])Tn.shift(),vr.shift(),Be++;else break;for(var hr=0,fi=0,Bi=Tn[0],Xi=vr[0],pa=Math.min(Bi.length,Xi.length);hr<pa&&Bi.charCodeAt(hr)==Xi.charCodeAt(hr);)++hr;for(var Sa=jt(Tn),oa=jt(vr),ka=Math.min(Sa.length-(Tn.length==1?hr:0),oa.length-(vr.length==1?hr:0));fi<ka&&Sa.charCodeAt(Sa.length-fi-1)==oa.charCodeAt(oa.length-fi-1);)++fi;if(Tn.length==1&&vr.length==1&&Be==te.line)for(;hr&&hr>te.ch&&Sa.charCodeAt(Sa.length-fi-1)==oa.charCodeAt(oa.length-fi-1);)hr--,fi++;Tn[Tn.length-1]=Sa.slice(0,Sa.length-fi).replace(/^\u200b+/,""),Tn[0]=Tn[0].slice(hr).replace(/\u200b+$/,"");var Qa=Xt(Be,hr),qa=Xt(St,vr.length?jt(vr).length-fi:0);if(Tn.length>1||Tn[0]||wn(Qa,qa))return bu(x.doc,Tn,Qa,qa,"+input"),!0},kl.prototype.ensurePolled=function(){this.forceCompositionEnd()},kl.prototype.reset=function(){this.forceCompositionEnd()},kl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},kl.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))},kl.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&mn(this.cm,function(){return as(x.cm)})},kl.prototype.setUneditable=function(x){x.contentEditable="false"},kl.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||_n(this.cm,Yd)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},kl.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},kl.prototype.onContextMenu=function(){},kl.prototype.resetPosition=function(){},kl.prototype.needsContentAttribute=!0;function Df(x,z){var re=_o(x,z.line);if(!re||re.hidden)return null;var te=Bt(x.doc,z.line),oe=ts(re,te,z.line),me=Cn(te,x.doc.direction),Be="left";if(me){var Ye=et(me,z.ch);Be=Ye%2?"right":"left"}var lt=Us(oe.map,z.ch,Be);return lt.offset=lt.collapse=="right"?lt.end:lt.start,lt}function hh(x){for(var z=x;z;z=z.parentNode)if(/CodeMirror-gutter-wrapper/.test(z.className))return!0;return!1}function Xc(x,z){return z&&(x.bad=!0),x}function ph(x,z,re,te,oe){var me="",Be=!1,Ye=x.doc.lineSeparator(),lt=!1;function St(hr){return function(fi){return fi.id==hr}}function En(){Be&&(me+=Ye,lt&&(me+=Ye),Be=lt=!1)}function Tn(hr){hr&&(En(),me+=hr)}function vr(hr){if(hr.nodeType==1){var fi=hr.getAttribute("cm-text");if(fi){Tn(fi);return}var Bi=hr.getAttribute("cm-marker"),Xi;if(Bi){var pa=x.findMarks(Xt(te,0),Xt(oe+1,0),St(+Bi));pa.length&&(Xi=pa[0].find(0))&&Tn(dt(x.doc,Xi.from,Xi.to).join(Ye));return}if(hr.getAttribute("contenteditable")=="false")return;var Sa=/^(pre|div|p|li|table|br)$/i.test(hr.nodeName);if(!/^br$/i.test(hr.nodeName)&&hr.textContent.length==0)return;Sa&&En();for(var oa=0;oa<hr.childNodes.length;oa++)vr(hr.childNodes[oa]);/^(pre|p)$/i.test(hr.nodeName)&&(lt=!0),Sa&&(Be=!0)}else hr.nodeType==3&&Tn(hr.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;vr(z),z!=re;)z=z.nextSibling,lt=!1;return me}function Ad(x,z,re){var te;if(z==x.display.lineDiv){if(te=x.display.lineDiv.childNodes[re],!te)return Xc(x.clipPos(Xt(x.display.viewTo-1)),!0);z=null,re=0}else for(te=z;;te=te.parentNode){if(!te||te==x.display.lineDiv)return null;if(te.parentNode&&te.parentNode==x.display.lineDiv)break}for(var oe=0;oe<x.display.view.length;oe++){var me=x.display.view[oe];if(me.node==te)return mh(me,z,re)}}function mh(x,z,re){var te=x.text.firstChild,oe=!1;if(!z||!xt(te,z))return Xc(Xt(hn(x.line),0),!0);if(z==te&&(oe=!0,z=te.childNodes[re],re=0,!z)){var me=x.rest?jt(x.rest):x.line;return Xc(Xt(hn(me),me.text.length),oe)}var Be=z.nodeType==3?z:null,Ye=z;for(!Be&&z.childNodes.length==1&&z.firstChild.nodeType==3&&(Be=z.firstChild,re&&(re=Be.nodeValue.length));Ye.parentNode!=te;)Ye=Ye.parentNode;var lt=x.measure,St=lt.maps;function En(Xi,pa,Sa){for(var oa=-1;oa<(St?St.length:0);oa++)for(var ka=oa<0?lt.map:St[oa],Qa=0;Qa<ka.length;Qa+=3){var qa=ka[Qa+2];if(qa==Xi||qa==pa){var Fo=hn(oa<0?x.line:x.rest[oa]),Fl=ka[Qa]+Sa;return(Sa<0||qa!=Xi)&&(Fl=ka[Qa+(Sa?1:0)]),Xt(Fo,Fl)}}}var Tn=En(Be,Ye,re);if(Tn)return Xc(Tn,oe);for(var vr=Ye.nextSibling,hr=Be?Be.nodeValue.length-re:0;vr;vr=vr.nextSibling){if(Tn=En(vr,vr.firstChild,0),Tn)return Xc(Xt(Tn.line,Tn.ch-hr),oe);hr+=vr.textContent.length}for(var fi=Ye.previousSibling,Bi=re;fi;fi=fi.previousSibling){if(Tn=En(fi,fi.firstChild,-1),Tn)return Xc(Xt(Tn.line,Tn.ch+Bi),oe);Bi+=fi.textContent.length}}var Ll=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new ve,this.hasSelection=!1,this.composing=null};Ll.prototype.init=function(x){var z=this,re=this,te=this.cm;this.createField(x);var oe=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),Ge&&(oe.style.width="0px"),Qt(oe,"input",function(){Se&&Ae>=9&&z.hasSelection&&(z.hasSelection=null),re.poll()}),Qt(oe,"paste",function(Be){tt(te,Be)||Qd(Be,te)||(te.state.pasteIncoming=+new Date,re.fastPoll())});function me(Be){if(!tt(te,Be)){if(te.somethingSelected())bc({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var Ye=Qc(te);bc({lineWise:!0,text:Ye.text}),Be.type=="cut"?te.setSelections(Ye.ranges,null,Ue):(re.prevInput="",oe.value=Ye.text.join(`
|
|
|
`),Nt(oe))}else return;Be.type=="cut"&&(te.state.cutIncoming=+new Date)}}Qt(oe,"cut",me),Qt(oe,"copy",me),Qt(x.scroller,"paste",function(Be){if(!(il(x,Be)||tt(te,Be))){if(!oe.dispatchEvent){te.state.pasteIncoming=+new Date,re.focus();return}var Ye=new Event("paste");Ye.clipboardData=Be.clipboardData,oe.dispatchEvent(Ye)}}),Qt(x.lineSpace,"selectstart",function(Be){il(x,Be)||Xn(Be)}),Qt(oe,"compositionstart",function(){var Be=te.getCursor("from");re.composing&&re.composing.range.clear(),re.composing={start:Be,range:te.markText(Be,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Qt(oe,"compositionend",function(){re.composing&&(re.poll(),re.composing.range.clear(),re.composing=null)})},Ll.prototype.createField=function(x){this.wrapper=Jd(),this.textarea=this.wrapper.firstChild},Ll.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},Ll.prototype.prepareSelection=function(){var x=this.cm,z=x.display,re=x.doc,te=un(x);if(x.options.moveInputWithCursor){var oe=$o(x,re.sel.primary().head,"div"),me=z.wrapper.getBoundingClientRect(),Be=z.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(z.wrapper.clientHeight-10,oe.top+Be.top-me.top)),te.teLeft=Math.max(0,Math.min(z.wrapper.clientWidth-10,oe.left+Be.left-me.left))}return te},Ll.prototype.showSelection=function(x){var z=this.cm,re=z.display;ut(re.cursorDiv,x.cursors),ut(re.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},Ll.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var z=this.cm;if(z.somethingSelected()){this.prevInput="";var re=z.getSelection();this.textarea.value=re,z.state.focused&&Nt(this.textarea),Se&&Ae>=9&&(this.hasSelection=re)}else x||(this.prevInput=this.textarea.value="",Se&&Ae>=9&&(this.hasSelection=null))}},Ll.prototype.getField=function(){return this.textarea},Ll.prototype.supportsTouch=function(){return!1},Ll.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ct||Ne()!=this.textarea))try{this.textarea.focus()}catch(x){}},Ll.prototype.blur=function(){this.textarea.blur()},Ll.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ll.prototype.receivedFocus=function(){this.slowPoll()},Ll.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},Ll.prototype.fastPoll=function(){var x=!1,z=this;z.pollingFast=!0;function re(){var te=z.poll();!te&&!x?(x=!0,z.polling.set(60,re)):(z.pollingFast=!1,z.slowPoll())}z.polling.set(20,re)},Ll.prototype.poll=function(){var x=this,z=this.cm,re=this.textarea,te=this.prevInput;if(this.contextMenuPending||!z.state.focused||tn(re)&&!te&&!this.composing||z.isReadOnly()||z.options.disableInput||z.state.keySeq)return!1;var oe=re.value;if(oe==te&&!z.somethingSelected())return!1;if(Se&&Ae>=9&&this.hasSelection===oe||Et&&/[\uf700-\uf7ff]/.test(oe))return z.display.input.reset(),!1;if(z.doc.sel==z.display.selForContextMenu){var me=oe.charCodeAt(0);if(me==8203&&!te&&(te="\u200B"),me==8666)return this.reset(),this.cm.execCommand("undo")}for(var Be=0,Ye=Math.min(te.length,oe.length);Be<Ye&&te.charCodeAt(Be)==oe.charCodeAt(Be);)++Be;return mn(z,function(){Yd(z,oe.slice(Be),te.length-Be,null,x.composing?"*compose":null),oe.length>1e3||oe.indexOf(`
|
|
|
`)>-1?re.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},Ll.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ll.prototype.onKeyPress=function(){Se&&Ae>=9&&(this.hasSelection=null),this.fastPoll()},Ll.prototype.onContextMenu=function(x){var z=this,re=z.cm,te=re.display,oe=z.textarea;z.contextMenuPending&&z.contextMenuPending();var me=ws(re,x),Be=te.scroller.scrollTop;if(!me||Re)return;var Ye=re.options.resetSelectionOnContextMenu;Ye&&re.doc.sel.contains(me)==-1&&_n(re,No)(re.doc,Za(me),Ue);var lt=oe.style.cssText,St=z.wrapper.style.cssText,En=z.wrapper.offsetParent.getBoundingClientRect();z.wrapper.style.cssText="position: static",oe.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(x.clientY-En.top-5)+"px; left: "+(x.clientX-En.left-5)+`px;
|
|
|
z-index: 1000; background: `+(Se?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Tn;pe&&(Tn=window.scrollY),te.input.focus(),pe&&window.scrollTo(null,Tn),te.input.reset(),re.somethingSelected()||(oe.value=z.prevInput=" "),z.contextMenuPending=hr,te.selForContextMenu=re.doc.sel,clearTimeout(te.detectingSelectAll);function vr(){if(oe.selectionStart!=null){var Bi=re.somethingSelected(),Xi="\u200B"+(Bi?oe.value:"");oe.value="\u21DA",oe.value=Xi,z.prevInput=Bi?"":"\u200B",oe.selectionStart=1,oe.selectionEnd=Xi.length,te.selForContextMenu=re.doc.sel}}function hr(){if(z.contextMenuPending==hr&&(z.contextMenuPending=!1,z.wrapper.style.cssText=St,oe.style.cssText=lt,Se&&Ae<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=Be),oe.selectionStart!=null)){(!Se||Se&&Ae<9)&&vr();var Bi=0,Xi=function(){te.selForContextMenu==re.doc.sel&&oe.selectionStart==0&&oe.selectionEnd>0&&z.prevInput=="\u200B"?_n(re,Fs)(re):Bi++<10?te.detectingSelectAll=setTimeout(Xi,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(Xi,200)}}if(Se&&Ae>=9&&vr(),ze){wr(x);var fi=function(){vt(window,"mouseup",fi),setTimeout(hr,20)};Qt(window,"mouseup",fi)}else setTimeout(hr,50)},Ll.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},Ll.prototype.setUneditable=function(){},Ll.prototype.needsContentAttribute=!1;function Hc(x,z){if(z=z?It(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 re=Ne();z.autofocus=re==x||x.getAttribute("autofocus")!=null&&re==document.body}function te(){x.value=Ye.getValue()}var oe;if(x.form&&(Qt(x.form,"submit",te),!z.leaveSubmitMethodAlone)){var me=x.form;oe=me.submit;try{var Be=me.submit=function(){te(),me.submit=oe,me.submit(),me.submit=Be}}catch(lt){}}z.finishInit=function(lt){lt.save=te,lt.getTextArea=function(){return x},lt.toTextArea=function(){lt.toTextArea=isNaN,te(),x.parentNode.removeChild(lt.getWrapperElement()),x.style.display="",x.form&&(vt(x.form,"submit",te),!z.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=oe))}},x.style.display="none";var Ye=ho(function(lt){return x.parentNode.insertBefore(lt,x.nextSibling)},z);return Ye}function Jc(x){x.off=vt,x.on=Qt,x.wheelEventPixels=xa,x.Doc=Yl,x.splitLines=Rn,x.countColumn=We,x.findColumn=yn,x.isWordChar=de,x.Pass=Mt,x.signal=Oe,x.Line=Zr,x.changeEnd=Ua,x.scrollbarModel=Go,x.Pos=Xt,x.cmpPos=wn,x.modes=bn,x.mimeModes=kn,x.resolveMode=sn,x.getMode=rn,x.modeExtensions=$n,x.extendMode=Ft,x.copyState=Ie,x.startState=He,x.innerMode=Xe,x.commands=As,x.keyMap=gl,x.keyName=ku,x.isModifierKey=oc,x.lookupKey=hu,x.normalizeKeyMap=ac,x.StringStream=Ke,x.SharedTextMarker=Eo,x.TextMarker=Iu,x.LineWidget=$l,x.e_preventDefault=Xn,x.e_stopPropagation=Gt,x.e_stop=wr,x.addClass=Rt,x.contains=xt,x.rmClass=it,x.keyNames=ou}zc(ho),qd(ho);var sc="iter insert remove copy getEditor constructor".split(" ");for(var Ou in Yl.prototype)Yl.prototype.hasOwnProperty(Ou)&&Qe(sc,Ou)<0&&(ho.prototype[Ou]=function(x){return function(){return x.apply(this.doc,arguments)}}(Yl.prototype[Ou]));return An(Yl),ho.inputStyles={textarea:Ll,contenteditable:kl},ho.defineMode=function(x){!ho.defaults.mode&&x!="null"&&(ho.defaults.mode=x),Tt.apply(this,arguments)},ho.defineMIME=an,ho.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),ho.defineMIME("text/plain","null"),ho.defineExtension=function(x,z){ho.prototype[x]=z},ho.defineDocExtension=function(x,z){Yl.prototype[x]=z},ho.fromTextArea=Hc,Jc(ho),ho.version="5.58.2",ho})},25419:function(Ln,pn,ie){(function(ne){ne(ie(89780),ie(15525),ie(98101))})(function(ne){"use strict";ne.defineMode("markdown",function(be,Ce){var yt=ne.getMode(be,"text/html"),Se=yt.name=="null";function Ae(We){if(ne.findModeByName){var ve=ne.findModeByName(We);ve&&(We=ve.mime||ve.mimes[0])}var Qe=ne.getMode(be,We);return Qe.name=="null"?null:Qe}Ce.highlightFormatting===void 0&&(Ce.highlightFormatting=!1),Ce.maxBlockquoteDepth===void 0&&(Ce.maxBlockquoteDepth=0),Ce.taskLists===void 0&&(Ce.taskLists=!1),Ce.strikethrough===void 0&&(Ce.strikethrough=!1),Ce.emoji===void 0&&(Ce.emoji=!1),Ce.fencedCodeBlockHighlighting===void 0&&(Ce.fencedCodeBlockHighlighting=!0),Ce.fencedCodeBlockDefaultMode===void 0&&(Ce.fencedCodeBlockDefaultMode="text/plain"),Ce.xml===void 0&&(Ce.xml=!0),Ce.tokenTypeOverrides===void 0&&(Ce.tokenTypeOverrides={});var pe={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 ye in pe)pe.hasOwnProperty(ye)&&Ce.tokenTypeOverrides[ye]&&(pe[ye]=Ce.tokenTypeOverrides[ye]);var Ee=/^([*\-_])(?:\s*\1){2,}\s*$/,Re=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,ht=/^\[(x| )\](?=\s)/i,ke=Ce.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Le=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ge=/^[^#!\[\]*_\\<>` "'(~:]+/,nt=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ct=/^\s*\[[^\]]+?\]:.*$/,Et=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ct=" ";function Wt(We,ve,Qe){return ve.f=ve.inline=Qe,Qe(We,ve)}function ft(We,ve,Qe){return ve.f=ve.block=Qe,Qe(We,ve)}function pt(We){return!We||!/\S/.test(We.string)}function ze(We){if(We.linkTitle=!1,We.linkHref=!1,We.linkText=!1,We.em=!1,We.strong=!1,We.strikethrough=!1,We.quote=0,We.indentedCode=!1,We.f==it){var ve=Se;if(!ve){var Qe=ne.innerMode(yt,We.htmlState);ve=Qe.mode.name=="xml"&&Qe.state.tagStart===null&&!Qe.state.context&&Qe.state.tokenize.isInText}ve&&(We.f=mt,We.block=he,We.htmlState=null)}return We.trailingSpace=0,We.trailingSpaceNewLine=!1,We.prevLine=We.thisLine,We.thisLine={stream:null},null}function he(We,ve){var Qe=We.column()===ve.indentation,Vt=pt(ve.prevLine.stream),Mt=ve.indentedCode,Ue=ve.prevLine.hr,st=ve.list!==!1,Ht=(ve.listStack[ve.listStack.length-1]||0)+3;ve.indentedCode=!1;var yn=ve.indentation;if(ve.indentationDiff===null&&(ve.indentationDiff=ve.indentation,st)){for(ve.list=null;yn<ve.listStack[ve.listStack.length-1];)ve.listStack.pop(),ve.listStack.length?ve.indentation=ve.listStack[ve.listStack.length-1]:ve.list=!1;ve.list!==!1&&(ve.indentationDiff=yn-ve.listStack[ve.listStack.length-1])}var Ut=!Vt&&!Ue&&!ve.prevLine.header&&(!st||!Mt)&&!ve.prevLine.fencedCodeEnd,Sn=(ve.list===!1||Ue||Vt)&&ve.indentation<=Ht&&We.match(Ee),jt=null;if(ve.indentationDiff>=4&&(Mt||ve.prevLine.fencedCodeEnd||ve.prevLine.header||Vt))return We.skipToEnd(),ve.indentedCode=!0,pe.code;if(We.eatSpace())return null;if(Qe&&ve.indentation<=Ht&&(jt=We.match(ke))&&jt[1].length<=6)return ve.quote=0,ve.header=jt[1].length,ve.thisLine.header=!0,Ce.highlightFormatting&&(ve.formatting="header"),ve.f=ve.inline,ut(ve);if(ve.indentation<=Ht&&We.eat(">"))return ve.quote=Qe?1:ve.quote+1,Ce.highlightFormatting&&(ve.formatting="quote"),We.eatSpace(),ut(ve);if(!Sn&&!ve.setext&&Qe&&ve.indentation<=Ht&&(jt=We.match(Re))){var Jt=jt[1]?"ol":"ul";return ve.indentation=yn+We.current().length,ve.list=!0,ve.quote=0,ve.listStack.push(ve.indentation),ve.em=!1,ve.strong=!1,ve.code=!1,ve.strikethrough=!1,Ce.taskLists&&We.match(ht,!1)&&(ve.taskList=!0),ve.f=ve.inline,Ce.highlightFormatting&&(ve.formatting=["list","list-"+Jt]),ut(ve)}else{if(Qe&&ve.indentation<=Ht&&(jt=We.match(nt,!0)))return ve.quote=0,ve.fencedEndRE=new RegExp(jt[1]+"+ *$"),ve.localMode=Ce.fencedCodeBlockHighlighting&&Ae(jt[2]||Ce.fencedCodeBlockDefaultMode),ve.localMode&&(ve.localState=ne.startState(ve.localMode)),ve.f=ve.block=ot,Ce.highlightFormatting&&(ve.formatting="code-block"),ve.code=-1,ut(ve);if(ve.setext||(!Ut||!st)&&!ve.quote&&ve.list===!1&&!ve.code&&!Sn&&!ct.test(We.string)&&(jt=We.lookAhead(1))&&(jt=jt.match(Le)))return ve.setext?(ve.header=ve.setext,ve.setext=0,We.skipToEnd(),Ce.highlightFormatting&&(ve.formatting="header")):(ve.header=jt[0].charAt(0)=="="?1:2,ve.setext=ve.header),ve.thisLine.header=!0,ve.f=ve.inline,ut(ve);if(Sn)return We.skipToEnd(),ve.hr=!0,ve.thisLine.hr=!0,pe.hr;if(We.peek()==="[")return Wt(We,ve,Dt)}return Wt(We,ve,ve.inline)}function it(We,ve){var Qe=yt.token(We,ve.htmlState);if(!Se){var Vt=ne.innerMode(yt,ve.htmlState);(Vt.mode.name=="xml"&&Vt.state.tagStart===null&&!Vt.state.context&&Vt.state.tokenize.isInText||ve.md_inside&&We.current().indexOf(">")>-1)&&(ve.f=mt,ve.block=he,ve.htmlState=null)}return Qe}function ot(We,ve){var Qe=ve.listStack[ve.listStack.length-1]||0,Vt=ve.indentation<Qe,Mt=Qe+3;if(ve.fencedEndRE&&ve.indentation<=Mt&&(Vt||We.match(ve.fencedEndRE))){Ce.highlightFormatting&&(ve.formatting="code-block");var Ue;return Vt||(Ue=ut(ve)),ve.localMode=ve.localState=null,ve.block=he,ve.f=mt,ve.fencedEndRE=null,ve.code=0,ve.thisLine.fencedCodeEnd=!0,Vt?ft(We,ve,ve.block):Ue}else return ve.localMode?ve.localMode.token(We,ve.localState):(We.skipToEnd(),pe.code)}function ut(We){var ve=[];if(We.formatting){ve.push(pe.formatting),typeof We.formatting=="string"&&(We.formatting=[We.formatting]);for(var Qe=0;Qe<We.formatting.length;Qe++)ve.push(pe.formatting+"-"+We.formatting[Qe]),We.formatting[Qe]==="header"&&ve.push(pe.formatting+"-"+We.formatting[Qe]+"-"+We.header),We.formatting[Qe]==="quote"&&(!Ce.maxBlockquoteDepth||Ce.maxBlockquoteDepth>=We.quote?ve.push(pe.formatting+"-"+We.formatting[Qe]+"-"+We.quote):ve.push("error"))}if(We.taskOpen)return ve.push("meta"),ve.length?ve.join(" "):null;if(We.taskClosed)return ve.push("property"),ve.length?ve.join(" "):null;if(We.linkHref?ve.push(pe.linkHref,"url"):(We.strong&&ve.push(pe.strong),We.em&&ve.push(pe.em),We.strikethrough&&ve.push(pe.strikethrough),We.emoji&&ve.push(pe.emoji),We.linkText&&ve.push(pe.linkText),We.code&&ve.push(pe.code),We.image&&ve.push(pe.image),We.imageAltText&&ve.push(pe.imageAltText,"link"),We.imageMarker&&ve.push(pe.imageMarker)),We.header&&ve.push(pe.header,pe.header+"-"+We.header),We.quote&&(ve.push(pe.quote),!Ce.maxBlockquoteDepth||Ce.maxBlockquoteDepth>=We.quote?ve.push(pe.quote+"-"+We.quote):ve.push(pe.quote+"-"+Ce.maxBlockquoteDepth)),We.list!==!1){var Vt=(We.listStack.length-1)%3;Vt?Vt===1?ve.push(pe.list2):ve.push(pe.list3):ve.push(pe.list1)}return We.trailingSpaceNewLine?ve.push("trailing-space-new-line"):We.trailingSpace&&ve.push("trailing-space-"+(We.trailingSpace%2?"a":"b")),ve.length?ve.join(" "):null}function Je(We,ve){if(We.match(Ge,!0))return ut(ve)}function mt(We,ve){var Qe=ve.text(We,ve);if(typeof Qe!="undefined")return Qe;if(ve.list)return ve.list=null,ut(ve);if(ve.taskList){var Vt=We.match(ht,!0)[1]===" ";return Vt?ve.taskOpen=!0:ve.taskClosed=!0,Ce.highlightFormatting&&(ve.formatting="task"),ve.taskList=!1,ut(ve)}if(ve.taskOpen=!1,ve.taskClosed=!1,ve.header&&We.match(/^#+$/,!0))return Ce.highlightFormatting&&(ve.formatting="header"),ut(ve);var Mt=We.next();if(ve.linkTitle){ve.linkTitle=!1;var Ue=Mt;Mt==="("&&(Ue=")"),Ue=(Ue+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var st="^\\s*(?:[^"+Ue+"\\\\]+|\\\\\\\\|\\\\.)"+Ue;if(We.match(new RegExp(st),!0))return pe.linkHref}if(Mt==="`"){var Ht=ve.formatting;Ce.highlightFormatting&&(ve.formatting="code"),We.eatWhile("`");var yn=We.current().length;if(ve.code==0&&(!ve.quote||yn==1))return ve.code=yn,ut(ve);if(yn==ve.code){var Ut=ut(ve);return ve.code=0,Ut}else return ve.formatting=Ht,ut(ve)}else if(ve.code)return ut(ve);if(Mt==="\\"&&(We.next(),Ce.highlightFormatting)){var Sn=ut(ve),jt=pe.formatting+"-escape";return Sn?Sn+" "+jt:jt}if(Mt==="!"&&We.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ve.imageMarker=!0,ve.image=!0,Ce.highlightFormatting&&(ve.formatting="image"),ut(ve);if(Mt==="["&&ve.imageMarker&&We.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ve.imageMarker=!1,ve.imageAltText=!0,Ce.highlightFormatting&&(ve.formatting="image"),ut(ve);if(Mt==="]"&&ve.imageAltText){Ce.highlightFormatting&&(ve.formatting="image");var Sn=ut(ve);return ve.imageAltText=!1,ve.image=!1,ve.inline=ve.f=xt,Sn}if(Mt==="["&&!ve.image)return ve.linkText&&We.match(/^.*?\]/)||(ve.linkText=!0,Ce.highlightFormatting&&(ve.formatting="link")),ut(ve);if(Mt==="]"&&ve.linkText){Ce.highlightFormatting&&(ve.formatting="link");var Sn=ut(ve);return ve.linkText=!1,ve.inline=ve.f=We.match(/\(.*?\)| ?\[.*?\]/,!1)?xt:mt,Sn}if(Mt==="<"&&We.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ve.f=ve.inline=Te,Ce.highlightFormatting&&(ve.formatting="link");var Sn=ut(ve);return Sn?Sn+=" ":Sn="",Sn+pe.linkInline}if(Mt==="<"&&We.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ve.f=ve.inline=Te,Ce.highlightFormatting&&(ve.formatting="link");var Sn=ut(ve);return Sn?Sn+=" ":Sn="",Sn+pe.linkEmail}if(Ce.xml&&Mt==="<"&&We.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Jt=We.string.indexOf(">",We.pos);if(Jt!=-1){var Ot=We.string.substring(We.start,Jt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ot)&&(ve.md_inside=!0)}return We.backUp(1),ve.htmlState=ne.startState(yt),ft(We,ve,it)}if(Ce.xml&&Mt==="<"&&We.match(/^\/\w*?>/))return ve.md_inside=!1,"tag";if(Mt==="*"||Mt==="_"){for(var xe=1,ce=We.pos==1?" ":We.string.charAt(We.pos-2);xe<3&&We.eat(Mt);)xe++;var ue=We.peek()||" ",de=!/\s/.test(ue)&&(!Et.test(ue)||/\s/.test(ce)||Et.test(ce)),fe=!/\s/.test(ce)&&(!Et.test(ce)||/\s/.test(ue)||Et.test(ue)),le=null,Fe=null;if(xe%2&&(!ve.em&&de&&(Mt==="*"||!fe||Et.test(ce))?le=!0:ve.em==Mt&&fe&&(Mt==="*"||!de||Et.test(ue))&&(le=!1)),xe>1&&(!ve.strong&&de&&(Mt==="*"||!fe||Et.test(ce))?Fe=!0:ve.strong==Mt&&fe&&(Mt==="*"||!de||Et.test(ue))&&(Fe=!1)),Fe!=null||le!=null){Ce.highlightFormatting&&(ve.formatting=le==null?"strong":Fe==null?"em":"strong em"),le===!0&&(ve.em=Mt),Fe===!0&&(ve.strong=Mt);var Ut=ut(ve);return le===!1&&(ve.em=!1),Fe===!1&&(ve.strong=!1),Ut}}else if(Mt===" "&&(We.eat("*")||We.eat("_"))){if(We.peek()===" ")return ut(ve);We.backUp(1)}if(Ce.strikethrough){if(Mt==="~"&&We.eatWhile(Mt)){if(ve.strikethrough){Ce.highlightFormatting&&(ve.formatting="strikethrough");var Ut=ut(ve);return ve.strikethrough=!1,Ut}else if(We.match(/^[^\s]/,!1))return ve.strikethrough=!0,Ce.highlightFormatting&&(ve.formatting="strikethrough"),ut(ve)}else if(Mt===" "&&We.match(/^~~/,!0)){if(We.peek()===" ")return ut(ve);We.backUp(2)}}if(Ce.emoji&&Mt===":"&&We.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ve.emoji=!0,Ce.highlightFormatting&&(ve.formatting="emoji");var at=ut(ve);return ve.emoji=!1,at}return Mt===" "&&(We.match(/^ +$/,!1)?ve.trailingSpace++:ve.trailingSpace&&(ve.trailingSpaceNewLine=!0)),ut(ve)}function Te(We,ve){var Qe=We.next();if(Qe===">"){ve.f=ve.inline=mt,Ce.highlightFormatting&&(ve.formatting="link");var Vt=ut(ve);return Vt?Vt+=" ":Vt="",Vt+pe.linkInline}return We.match(/^[^>]+/,!0),pe.linkInline}function xt(We,ve){if(We.eatSpace())return null;var Qe=We.next();return Qe==="("||Qe==="["?(ve.f=ve.inline=Rt(Qe==="("?")":"]"),Ce.highlightFormatting&&(ve.formatting="link-string"),ve.linkHref=!0,ut(ve)):"error"}var Ne={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Rt(We){return function(ve,Qe){var Vt=ve.next();if(Vt===We){Qe.f=Qe.inline=mt,Ce.highlightFormatting&&(Qe.formatting="link-string");var Mt=ut(Qe);return Qe.linkHref=!1,Mt}return ve.match(Ne[We]),Qe.linkHref=!0,ut(Qe)}}function Dt(We,ve){return We.match(/^([^\]\\]|\\.)*\]:/,!1)?(ve.f=Nt,We.next(),Ce.highlightFormatting&&(ve.formatting="link"),ve.linkText=!0,ut(ve)):Wt(We,ve,mt)}function Nt(We,ve){if(We.match(/^\]:/,!0)){ve.f=ve.inline=wt,Ce.highlightFormatting&&(ve.formatting="link");var Qe=ut(ve);return ve.linkText=!1,Qe}return We.match(/^([^\]\\]|\\.)+/,!0),pe.linkText}function wt(We,ve){return We.eatSpace()?null:(We.match(/^[^\s]+/,!0),We.peek()===void 0?ve.linkTitle=!0:We.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ve.f=ve.inline=mt,pe.linkHref+" url")}var It={startState:function(){return{f:he,prevLine:{stream:null},thisLine:{stream:null},block:he,htmlState:null,indentation:0,inline:mt,text:Je,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(We){return{f:We.f,prevLine:We.prevLine,thisLine:We.thisLine,block:We.block,htmlState:We.htmlState&&ne.copyState(yt,We.htmlState),indentation:We.indentation,localMode:We.localMode,localState:We.localMode?ne.copyState(We.localMode,We.localState):null,inline:We.inline,text:We.text,formatting:!1,linkText:We.linkText,linkTitle:We.linkTitle,linkHref:We.linkHref,code:We.code,em:We.em,strong:We.strong,strikethrough:We.strikethrough,emoji:We.emoji,header:We.header,setext:We.setext,hr:We.hr,taskList:We.taskList,list:We.list,listStack:We.listStack.slice(0),quote:We.quote,indentedCode:We.indentedCode,trailingSpace:We.trailingSpace,trailingSpaceNewLine:We.trailingSpaceNewLine,md_inside:We.md_inside,fencedEndRE:We.fencedEndRE}},token:function(We,ve){if(ve.formatting=!1,We!=ve.thisLine.stream){if(ve.header=0,ve.hr=!1,We.match(/^\s*$/,!0))return ze(ve),null;if(ve.prevLine=ve.thisLine,ve.thisLine={stream:We},ve.taskList=!1,ve.trailingSpace=0,ve.trailingSpaceNewLine=!1,!ve.localState&&(ve.f=ve.block,ve.f!=it)){var Qe=We.match(/^\s*/,!0)[0].replace(/\t/g,Ct).length;if(ve.indentation=Qe,ve.indentationDiff=null,Qe>0)return null}}return ve.f(We,ve)},innerMode:function(We){return We.block==it?{state:We.htmlState,mode:yt}:We.localState?{state:We.localState,mode:We.localMode}:{state:We,mode:It}},indent:function(We,ve,Qe){return We.block==it&&yt.indent?yt.indent(We.htmlState,ve,Qe):We.localState&&We.localMode.indent?We.localMode.indent(We.localState,ve,Qe):ne.Pass},blankLine:ze,getType:ut,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return It},"xml"),ne.defineMIME("text/markdown","markdown"),ne.defineMIME("text/x-markdown","markdown")})},98101:function(Ln,pn,ie){(function(ne){ne(ie(89780))})(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 be=0;be<ne.modeInfo.length;be++){var Ce=ne.modeInfo[be];Ce.mimes&&(Ce.mime=Ce.mimes[0])}ne.findModeByMIME=function(yt){yt=yt.toLowerCase();for(var Se=0;Se<ne.modeInfo.length;Se++){var Ae=ne.modeInfo[Se];if(Ae.mime==yt)return Ae;if(Ae.mimes){for(var pe=0;pe<Ae.mimes.length;pe++)if(Ae.mimes[pe]==yt)return Ae}}if(/\+xml$/.test(yt))return ne.findModeByMIME("application/xml");if(/\+json$/.test(yt))return ne.findModeByMIME("application/json")},ne.findModeByExtension=function(yt){yt=yt.toLowerCase();for(var Se=0;Se<ne.modeInfo.length;Se++){var Ae=ne.modeInfo[Se];if(Ae.ext){for(var pe=0;pe<Ae.ext.length;pe++)if(Ae.ext[pe]==yt)return Ae}}},ne.findModeByFileName=function(yt){for(var Se=0;Se<ne.modeInfo.length;Se++){var Ae=ne.modeInfo[Se];if(Ae.file&&Ae.file.test(yt))return Ae}var pe=yt.lastIndexOf("."),ye=pe>-1&&yt.substring(pe+1,yt.length);if(ye)return ne.findModeByExtension(ye)},ne.findModeByName=function(yt){yt=yt.toLowerCase();for(var Se=0;Se<ne.modeInfo.length;Se++){var Ae=ne.modeInfo[Se];if(Ae.name.toLowerCase()==yt)return Ae;if(Ae.alias){for(var pe=0;pe<Ae.alias.length;pe++)if(Ae.alias[pe].toLowerCase()==yt)return Ae}}}})},67549:function(Ln,pn,ie){(function(ne){ne(ie(89780))})(function(ne){"use strict";ne.defineMode("stex",function(be,Ce){"use strict";function yt(Ge,nt){Ge.cmdState.push(nt)}function Se(Ge){return Ge.cmdState.length>0?Ge.cmdState[Ge.cmdState.length-1]:null}function Ae(Ge){var nt=Ge.cmdState.pop();nt&&nt.closeBracket()}function pe(Ge){for(var nt=Ge.cmdState,ct=nt.length-1;ct>=0;ct--){var Et=nt[ct];if(Et.name!="DEFAULT")return Et}return{styleIdentifier:function(){return null}}}function ye(Ge,nt,ct){return function(){this.name=Ge,this.bracketNo=0,this.style=nt,this.styles=ct,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ee={};Ee.importmodule=ye("importmodule","tag",["string","builtin"]),Ee.documentclass=ye("documentclass","tag",["","atom"]),Ee.usepackage=ye("usepackage","tag",["atom"]),Ee.begin=ye("begin","tag",["atom"]),Ee.end=ye("end","tag",["atom"]),Ee.label=ye("label","tag",["atom"]),Ee.ref=ye("ref","tag",["atom"]),Ee.eqref=ye("eqref","tag",["atom"]),Ee.cite=ye("cite","tag",["atom"]),Ee.bibitem=ye("bibitem","tag",["atom"]),Ee.Bibitem=ye("Bibitem","tag",["atom"]),Ee.RBibitem=ye("RBibitem","tag",["atom"]),Ee.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Re(Ge,nt){Ge.f=nt}function ht(Ge,nt){var ct;if(Ge.match(/^\\[a-zA-Z@]+/)){var Et=Ge.current().slice(1);return ct=Ee.hasOwnProperty(Et)?Ee[Et]:Ee.DEFAULT,ct=new ct,yt(nt,ct),Re(nt,Le),ct.style}if(Ge.match(/^\\[$&%#{}_]/)||Ge.match(/^\\[,;!\/\\]/))return"tag";if(Ge.match("\\["))return Re(nt,function(Wt,ft){return ke(Wt,ft,"\\]")}),"keyword";if(Ge.match("\\("))return Re(nt,function(Wt,ft){return ke(Wt,ft,"\\)")}),"keyword";if(Ge.match("$$"))return Re(nt,function(Wt,ft){return ke(Wt,ft,"$$")}),"keyword";if(Ge.match("$"))return Re(nt,function(Wt,ft){return ke(Wt,ft,"$")}),"keyword";var Ct=Ge.next();if(Ct=="%")return Ge.skipToEnd(),"comment";if(Ct=="}"||Ct=="]"){if(ct=Se(nt),ct)ct.closeBracket(Ct),Re(nt,Le);else return"error";return"bracket"}else return Ct=="{"||Ct=="["?(ct=Ee.DEFAULT,ct=new ct,yt(nt,ct),"bracket"):/\d/.test(Ct)?(Ge.eatWhile(/[\w.%]/),"atom"):(Ge.eatWhile(/[\w\-_]/),ct=pe(nt),ct.name=="begin"&&(ct.argument=Ge.current()),ct.styleIdentifier())}function ke(Ge,nt,ct){if(Ge.eatSpace())return null;if(ct&&Ge.match(ct))return Re(nt,ht),"keyword";if(Ge.match(/^\\[a-zA-Z@]+/))return"tag";if(Ge.match(/^[a-zA-Z]+/))return"variable-2";if(Ge.match(/^\\[$&%#{}_]/)||Ge.match(/^\\[,;!\/]/)||Ge.match(/^[\^_&]/))return"tag";if(Ge.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ge.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Et=Ge.next();return Et=="{"||Et=="}"||Et=="["||Et=="]"||Et=="("||Et==")"?"bracket":Et=="%"?(Ge.skipToEnd(),"comment"):"error"}function Le(Ge,nt){var ct=Ge.peek(),Et;return ct=="{"||ct=="["?(Et=Se(nt),Et.openBracket(ct),Ge.eat(ct),Re(nt,ht),"bracket"):/[ \t\r]/.test(ct)?(Ge.eat(ct),null):(Re(nt,ht),Ae(nt),ht(Ge,nt))}return{startState:function(){var Ge=Ce.inMathMode?function(nt,ct){return ke(nt,ct)}:ht;return{cmdState:[],f:Ge}},copyState:function(Ge){return{cmdState:Ge.cmdState.slice(),f:Ge.f}},token:function(Ge,nt){return nt.f(Ge,nt)},blankLine:function(Ge){Ge.f=ht,Ge.cmdState.length=0},lineComment:"%"}}),ne.defineMIME("text/x-stex","stex"),ne.defineMIME("text/x-latex","stex")})},15525:function(Ln,pn,ie){(function(ne){ne(ie(89780))})(function(ne){"use strict";var be={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},Ce={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ne.defineMode("xml",function(yt,Se){var Ae=yt.indentUnit,pe={},ye=Se.htmlMode?be:Ce;for(var Ee in ye)pe[Ee]=ye[Ee];for(var Ee in Se)pe[Ee]=Se[Ee];var Re,ht;function ke(Te,xt){function Ne(Nt){return xt.tokenize=Nt,Nt(Te,xt)}var Rt=Te.next();if(Rt=="<")return Te.eat("!")?Te.eat("[")?Te.match("CDATA[")?Ne(nt("atom","]]>")):null:Te.match("--")?Ne(nt("comment","-->")):Te.match("DOCTYPE",!0,!0)?(Te.eatWhile(/[\w\._\-]/),Ne(ct(1))):null:Te.eat("?")?(Te.eatWhile(/[\w\._\-]/),xt.tokenize=nt("meta","?>"),"meta"):(Re=Te.eat("/")?"closeTag":"openTag",xt.tokenize=Le,"tag bracket");if(Rt=="&"){var Dt;return Te.eat("#")?Te.eat("x")?Dt=Te.eatWhile(/[a-fA-F\d]/)&&Te.eat(";"):Dt=Te.eatWhile(/[\d]/)&&Te.eat(";"):Dt=Te.eatWhile(/[\w\.\-:]/)&&Te.eat(";"),Dt?"atom":"error"}else return Te.eatWhile(/[^&<]/),null}ke.isInText=!0;function Le(Te,xt){var Ne=Te.next();if(Ne==">"||Ne=="/"&&Te.eat(">"))return xt.tokenize=ke,Re=Ne==">"?"endTag":"selfcloseTag","tag bracket";if(Ne=="=")return Re="equals",null;if(Ne=="<"){xt.tokenize=ke,xt.state=ft,xt.tagName=xt.tagStart=null;var Rt=xt.tokenize(Te,xt);return Rt?Rt+" tag error":"tag error"}else return/[\'\"]/.test(Ne)?(xt.tokenize=Ge(Ne),xt.stringStartCol=Te.column(),xt.tokenize(Te,xt)):(Te.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ge(Te){var xt=function(Ne,Rt){for(;!Ne.eol();)if(Ne.next()==Te){Rt.tokenize=Le;break}return"string"};return xt.isInAttribute=!0,xt}function nt(Te,xt){return function(Ne,Rt){for(;!Ne.eol();){if(Ne.match(xt)){Rt.tokenize=ke;break}Ne.next()}return Te}}function ct(Te){return function(xt,Ne){for(var Rt;(Rt=xt.next())!=null;){if(Rt=="<")return Ne.tokenize=ct(Te+1),Ne.tokenize(xt,Ne);if(Rt==">")if(Te==1){Ne.tokenize=ke;break}else return Ne.tokenize=ct(Te-1),Ne.tokenize(xt,Ne)}return"meta"}}function Et(Te,xt,Ne){this.prev=Te.context,this.tagName=xt,this.indent=Te.indented,this.startOfLine=Ne,(pe.doNotIndent.hasOwnProperty(xt)||Te.context&&Te.context.noIndent)&&(this.noIndent=!0)}function Ct(Te){Te.context&&(Te.context=Te.context.prev)}function Wt(Te,xt){for(var Ne;;){if(!Te.context||(Ne=Te.context.tagName,!pe.contextGrabbers.hasOwnProperty(Ne)||!pe.contextGrabbers[Ne].hasOwnProperty(xt)))return;Ct(Te)}}function ft(Te,xt,Ne){return Te=="openTag"?(Ne.tagStart=xt.column(),pt):Te=="closeTag"?ze:ft}function pt(Te,xt,Ne){return Te=="word"?(Ne.tagName=xt.current(),ht="tag",ot):pe.allowMissingTagName&&Te=="endTag"?(ht="tag bracket",ot(Te,xt,Ne)):(ht="error",pt)}function ze(Te,xt,Ne){if(Te=="word"){var Rt=xt.current();return Ne.context&&Ne.context.tagName!=Rt&&pe.implicitlyClosed.hasOwnProperty(Ne.context.tagName)&&Ct(Ne),Ne.context&&Ne.context.tagName==Rt||pe.matchClosing===!1?(ht="tag",he):(ht="tag error",it)}else return pe.allowMissingTagName&&Te=="endTag"?(ht="tag bracket",he(Te,xt,Ne)):(ht="error",it)}function he(Te,xt,Ne){return Te!="endTag"?(ht="error",he):(Ct(Ne),ft)}function it(Te,xt,Ne){return ht="error",he(Te,xt,Ne)}function ot(Te,xt,Ne){if(Te=="word")return ht="attribute",ut;if(Te=="endTag"||Te=="selfcloseTag"){var Rt=Ne.tagName,Dt=Ne.tagStart;return Ne.tagName=Ne.tagStart=null,Te=="selfcloseTag"||pe.autoSelfClosers.hasOwnProperty(Rt)?Wt(Ne,Rt):(Wt(Ne,Rt),Ne.context=new Et(Ne,Rt,Dt==Ne.indented)),ft}return ht="error",ot}function ut(Te,xt,Ne){return Te=="equals"?Je:(pe.allowMissing||(ht="error"),ot(Te,xt,Ne))}function Je(Te,xt,Ne){return Te=="string"?mt:Te=="word"&&pe.allowUnquoted?(ht="string",ot):(ht="error",ot(Te,xt,Ne))}function mt(Te,xt,Ne){return Te=="string"?mt:ot(Te,xt,Ne)}return{startState:function(Te){var xt={tokenize:ke,state:ft,indented:Te||0,tagName:null,tagStart:null,context:null};return Te!=null&&(xt.baseIndent=Te),xt},token:function(Te,xt){if(!xt.tagName&&Te.sol()&&(xt.indented=Te.indentation()),Te.eatSpace())return null;Re=null;var Ne=xt.tokenize(Te,xt);return(Ne||Re)&&Ne!="comment"&&(ht=null,xt.state=xt.state(Re||Ne,Te,xt),ht&&(Ne=ht=="error"?Ne+" error":ht)),Ne},indent:function(Te,xt,Ne){var Rt=Te.context;if(Te.tokenize.isInAttribute)return Te.tagStart==Te.indented?Te.stringStartCol+1:Te.indented+Ae;if(Rt&&Rt.noIndent)return ne.Pass;if(Te.tokenize!=Le&&Te.tokenize!=ke)return Ne?Ne.match(/^(\s*)/)[0].length:0;if(Te.tagName)return pe.multilineTagIndentPastTag!==!1?Te.tagStart+Te.tagName.length+2:Te.tagStart+Ae*(pe.multilineTagIndentFactor||1);if(pe.alignCDATA&&/<!\[CDATA\[/.test(xt))return 0;var Dt=xt&&/^<(\/)?([\w_:\.-]*)/.exec(xt);if(Dt&&Dt[1])for(;Rt;)if(Rt.tagName==Dt[2]){Rt=Rt.prev;break}else if(pe.implicitlyClosed.hasOwnProperty(Rt.tagName))Rt=Rt.prev;else break;else if(Dt)for(;Rt;){var Nt=pe.contextGrabbers[Rt.tagName];if(Nt&&Nt.hasOwnProperty(Dt[2]))Rt=Rt.prev;else break}for(;Rt&&Rt.prev&&!Rt.startOfLine;)Rt=Rt.prev;return Rt?Rt.indent+Ae:Te.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:pe.htmlMode?"html":"xml",helperType:pe.htmlMode?"html":"xml",skipAttribute:function(Te){Te.state==Je&&(Te.state=ot)},xmlCurrentTag:function(Te){return Te.tagName?{name:Te.tagName,close:Te.type=="closeTag"}:null},xmlCurrentContext:function(Te){for(var xt=[],Ne=Te.context;Ne;Ne=Ne.prev)Ne.tagName&&xt.push(Ne.tagName);return xt.reverse()}}}),ne.defineMIME("text/xml","xml"),ne.defineMIME("application/xml","xml"),ne.mimeModes.hasOwnProperty("text/html")||ne.defineMIME("text/html",{name:"xml",htmlMode:!0})})},24334:function(Ln,pn,ie){var ne,be;(function(Ce,yt){Ln.exports=yt(Ce)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ie.g!="undefined"?ie.g:this,function(Ce){"use strict";Ce=Ce||{};var yt=Ce.Base64,Se="2.6.4",Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pe=function(Ne){for(var Rt={},Dt=0,Nt=Ne.length;Dt<Nt;Dt++)Rt[Ne.charAt(Dt)]=Dt;return Rt}(Ae),ye=String.fromCharCode,Ee=function(Ne){if(Ne.length<2){var Rt=Ne.charCodeAt(0);return Rt<128?Ne:Rt<2048?ye(192|Rt>>>6)+ye(128|Rt&63):ye(224|Rt>>>12&15)+ye(128|Rt>>>6&63)+ye(128|Rt&63)}else{var Rt=65536+(Ne.charCodeAt(0)-55296)*1024+(Ne.charCodeAt(1)-56320);return ye(240|Rt>>>18&7)+ye(128|Rt>>>12&63)+ye(128|Rt>>>6&63)+ye(128|Rt&63)}},Re=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ht=function(Ne){return Ne.replace(Re,Ee)},ke=function(Ne){var Rt=[0,2,1][Ne.length%3],Dt=Ne.charCodeAt(0)<<16|(Ne.length>1?Ne.charCodeAt(1):0)<<8|(Ne.length>2?Ne.charCodeAt(2):0),Nt=[Ae.charAt(Dt>>>18),Ae.charAt(Dt>>>12&63),Rt>=2?"=":Ae.charAt(Dt>>>6&63),Rt>=1?"=":Ae.charAt(Dt&63)];return Nt.join("")},Le=Ce.btoa&&typeof Ce.btoa=="function"?function(Ne){return Ce.btoa(Ne)}:function(Ne){if(Ne.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ne.replace(/[\s\S]{1,3}/g,ke)},Ge=function(Ne){return Le(ht(String(Ne)))},nt=function(Ne){return Ne.replace(/[+\/]/g,function(Rt){return Rt=="+"?"-":"_"}).replace(/=/g,"")},ct=function(Ne,Rt){return Rt?nt(Ge(Ne)):Ge(Ne)},Et=function(Ne){return ct(Ne,!0)},Ct;Ce.Uint8Array&&(Ct=function(Ne,Rt){for(var Dt="",Nt=0,wt=Ne.length;Nt<wt;Nt+=3){var It=Ne[Nt],We=Ne[Nt+1],ve=Ne[Nt+2],Qe=It<<16|We<<8|ve;Dt+=Ae.charAt(Qe>>>18)+Ae.charAt(Qe>>>12&63)+(typeof We!="undefined"?Ae.charAt(Qe>>>6&63):"=")+(typeof ve!="undefined"?Ae.charAt(Qe&63):"=")}return Rt?nt(Dt):Dt});var Wt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ft=function(Ne){switch(Ne.length){case 4:var Rt=(7&Ne.charCodeAt(0))<<18|(63&Ne.charCodeAt(1))<<12|(63&Ne.charCodeAt(2))<<6|63&Ne.charCodeAt(3),Dt=Rt-65536;return ye((Dt>>>10)+55296)+ye((Dt&1023)+56320);case 3:return ye((15&Ne.charCodeAt(0))<<12|(63&Ne.charCodeAt(1))<<6|63&Ne.charCodeAt(2));default:return ye((31&Ne.charCodeAt(0))<<6|63&Ne.charCodeAt(1))}},pt=function(Ne){return Ne.replace(Wt,ft)},ze=function(Ne){var Rt=Ne.length,Dt=Rt%4,Nt=(Rt>0?pe[Ne.charAt(0)]<<18:0)|(Rt>1?pe[Ne.charAt(1)]<<12:0)|(Rt>2?pe[Ne.charAt(2)]<<6:0)|(Rt>3?pe[Ne.charAt(3)]:0),wt=[ye(Nt>>>16),ye(Nt>>>8&255),ye(Nt&255)];return wt.length-=[0,0,2,1][Dt],wt.join("")},he=Ce.atob&&typeof Ce.atob=="function"?function(Ne){return Ce.atob(Ne)}:function(Ne){return Ne.replace(/\S{1,4}/g,ze)},it=function(Ne){return he(String(Ne).replace(/[^A-Za-z0-9\+\/]/g,""))},ot=function(Ne){return pt(he(Ne))},ut=function(Ne){return String(Ne).replace(/[-_]/g,function(Rt){return Rt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Je=function(Ne){return ot(ut(Ne))},mt;Ce.Uint8Array&&(mt=function(Ne){return Uint8Array.from(it(ut(Ne)),function(Rt){return Rt.charCodeAt(0)})});var Te=function(){var Ne=Ce.Base64;return Ce.Base64=yt,Ne};if(Ce.Base64={VERSION:Se,atob:it,btoa:Le,fromBase64:Je,toBase64:ct,utob:ht,encode:ct,encodeURI:Et,btou:pt,decode:Je,noConflict:Te,fromUint8Array:Ct,toUint8Array:mt},typeof Object.defineProperty=="function"){var xt=function(Ne){return{value:Ne,enumerable:!1,writable:!0,configurable:!0}};Ce.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",xt(function(){return Je(this)})),Object.defineProperty(String.prototype,"toBase64",xt(function(Ne){return ct(this,Ne)})),Object.defineProperty(String.prototype,"toBase64URI",xt(function(){return ct(this,!0)}))}}return Ce.Meteor&&(Base64=Ce.Base64),Ln.exports?Ln.exports.Base64=Ce.Base64:(ne=[],be=function(){return Ce.Base64}.apply(pn,ne),be!==void 0&&(Ln.exports=be)),{Base64:Ce.Base64}})},2859:function(Ln,pn,ie){"use strict";ie.d(pn,{hP:function(){return Ot}});var ne=function(xe,ce){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,de){ue.__proto__=de}||function(ue,de){for(var fe in de)Object.prototype.hasOwnProperty.call(de,fe)&&(ue[fe]=de[fe])})(xe,ce)};function be(xe,ce){function ue(){this.constructor=xe}ne(xe,ce),xe.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)}function Ce(xe,ce,ue,de){return new(ue||(ue=Promise))(function(fe,le){function Fe(Me){try{Ze(de.next(Me))}catch(Lt){le(Lt)}}function at(Me){try{Ze(de.throw(Me))}catch(Lt){le(Lt)}}function Ze(Me){var Lt;Me.done?fe(Me.value):(Lt=Me.value,Lt instanceof ue?Lt:new ue(function(bt){bt(Lt)})).then(Fe,at)}Ze((de=de.apply(xe,ce||[])).next())})}function yt(xe,ce){var ue,de,fe,le,Fe={label:0,sent:function(){if(1&fe[0])throw fe[1];return fe[1]},trys:[],ops:[]};return le={next:at(0),throw:at(1),return:at(2)},typeof Symbol=="function"&&(le[Symbol.iterator]=function(){return this}),le;function at(Ze){return function(Me){return function(Lt){if(ue)throw new TypeError("Generator is already executing.");for(;Fe;)try{if(ue=1,de&&(fe=2&Lt[0]?de.return:Lt[0]?de.throw||((fe=de.return)&&fe.call(de),0):de.next)&&!(fe=fe.call(de,Lt[1])).done)return fe;switch(de=0,fe&&(Lt=[2&Lt[0],fe.value]),Lt[0]){case 0:case 1:fe=Lt;break;case 4:return Fe.label++,{value:Lt[1],done:!1};case 5:Fe.label++,de=Lt[1],Lt=[0];continue;case 7:Lt=Fe.ops.pop(),Fe.trys.pop();continue;default:if(fe=Fe.trys,!((fe=fe.length>0&&fe[fe.length-1])||Lt[0]!==6&&Lt[0]!==2)){Fe=0;continue}if(Lt[0]===3&&(!fe||Lt[1]>fe[0]&&Lt[1]<fe[3])){Fe.label=Lt[1];break}if(Lt[0]===6&&Fe.label<fe[1]){Fe.label=fe[1],fe=Lt;break}if(fe&&Fe.label<fe[2]){Fe.label=fe[2],Fe.ops.push(Lt);break}fe[2]&&Fe.ops.pop(),Fe.trys.pop();continue}Lt=ce.call(xe,Fe)}catch(bt){Lt=[6,bt],de=0}finally{ue=fe=0}if(5&Lt[0])throw Lt[1];return{value:Lt[0]?Lt[1]:void 0,done:!0}}([Ze,Me])}}}function Se(){for(var xe=0,ce=0,ue=arguments.length;ce<ue;ce++)xe+=arguments[ce].length;var de=Array(xe),fe=0;for(ce=0;ce<ue;ce++)for(var le=arguments[ce],Fe=0,at=le.length;Fe<at;Fe++,fe++)de[fe]=le[Fe];return de}var Ae=function(){function xe(){}return xe.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},xe.setAttributes=function(ce,ue){for(var de=0,fe=ue;de<fe.length;de++){var le=fe[de],Fe=le[0],at=le[1];ce.setAttribute(Fe,at)}},xe.createRect=function(ce,ue,de){var fe=document.createElementNS("http://www.w3.org/2000/svg","rect");return fe.setAttribute("width",ce.toString()),fe.setAttribute("height",ue.toString()),de&&xe.setAttributes(fe,de),fe},xe.createLine=function(ce,ue,de,fe,le){var Fe=document.createElementNS("http://www.w3.org/2000/svg","line");return Fe.setAttribute("x1",ce.toString()),Fe.setAttribute("y1",ue.toString()),Fe.setAttribute("x2",de.toString()),Fe.setAttribute("y2",fe.toString()),le&&xe.setAttributes(Fe,le),Fe},xe.createPolygon=function(ce,ue){var de=document.createElementNS("http://www.w3.org/2000/svg","polygon");return de.setAttribute("points",ce),ue&&xe.setAttributes(de,ue),de},xe.createCircle=function(ce,ue){var de=document.createElementNS("http://www.w3.org/2000/svg","circle");return de.setAttribute("cx",(ce/2).toString()),de.setAttribute("cy",(ce/2).toString()),de.setAttribute("r",ce.toString()),ue&&xe.setAttributes(de,ue),de},xe.createEllipse=function(ce,ue,de){var fe=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return fe.setAttribute("cx",(ce/2).toString()),fe.setAttribute("cy",(ue/2).toString()),fe.setAttribute("rx",(ce/2).toString()),fe.setAttribute("ry",(ue/2).toString()),de&&xe.setAttributes(fe,de),fe},xe.createGroup=function(ce){var ue=document.createElementNS("http://www.w3.org/2000/svg","g");return ce&&xe.setAttributes(ue,ce),ue},xe.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},xe.createMarker=function(ce,ue,de,fe,le,Fe,at){var Ze=document.createElementNS("http://www.w3.org/2000/svg","marker");return xe.setAttributes(Ze,[["id",ce],["orient",ue],["markerWidth",de.toString()],["markerHeight",fe.toString()],["refX",le.toString()],["refY",Fe.toString()]]),Ze.appendChild(at),Ze},xe.createText=function(ce){var ue=document.createElementNS("http://www.w3.org/2000/svg","text");return ue.setAttribute("x","0"),ue.setAttribute("y","0"),ce&&xe.setAttributes(ue,ce),ue},xe.createTSpan=function(ce,ue){var de=document.createElementNS("http://www.w3.org/2000/svg","tspan");return de.textContent=ce,ue&&xe.setAttributes(de,ue),de},xe.createImage=function(ce){var ue=document.createElementNS("http://www.w3.org/2000/svg","image");return ce&&xe.setAttributes(ue,ce),ue},xe.createPoint=function(ce,ue){var de=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return de.x=ce,de.y=ue,de},xe.createPath=function(ce,ue){var de=document.createElementNS("http://www.w3.org/2000/svg","path");return de.setAttribute("d",ce),ue&&xe.setAttributes(de,ue),de},xe}(),pe=function(){function xe(){}return xe.addKey=function(ce){xe.key=ce},Object.defineProperty(xe,"isLicensed",{get:function(){return!!xe.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(xe.key)},enumerable:!1,configurable:!0}),xe}(),ye=function(){function xe(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return xe.prototype.rasterize=function(ce,ue,de){var fe=this;return new Promise(function(le){var Fe=de!==void 0?de:document.createElement("canvas");ce===null&&(fe.markersOnly=!0,fe.naturalSize=!1);var at=document.createElementNS("http://www.w3.org/2000/svg","svg");at.setAttribute("xmlns","http://www.w3.org/2000/svg"),at.setAttribute("width",ue.width.baseVal.valueAsString),at.setAttribute("height",ue.height.baseVal.valueAsString),at.setAttribute("viewBox","0 0 "+ue.viewBox.baseVal.width.toString()+" "+ue.viewBox.baseVal.height.toString()),at.innerHTML=ue.innerHTML,fe.naturalSize===!0?(at.width.baseVal.value=ce.naturalWidth,at.height.baseVal.value=ce.naturalHeight):fe.width!==void 0&&fe.height!==void 0&&(at.width.baseVal.value=fe.width,at.height.baseVal.value=fe.height),Fe.width=at.width.baseVal.value,Fe.height=at.height.baseVal.value;var Ze=at.outerHTML,Me=Fe.getContext("2d");fe.markersOnly!==!0&&Me.drawImage(ce,0,0,Fe.width,Fe.height);var Lt=window.URL,bt=new Image(Fe.width,Fe.height);bt.setAttribute("crossOrigin","anonymous");var et=new Blob([Ze],{type:"image/svg+xml"}),Zt=Lt.createObjectURL(et);bt.onload=function(){Me.drawImage(bt,0,0),Lt.revokeObjectURL(Zt);var Cn=Fe.toDataURL(fe.imageType,fe.imageQuality);le(Cn)},bt.src=Zt})},xe}(),Ee=function(){},Re=function(){function xe(ce){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ce+"_"}return Object.defineProperty(xe.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(xe.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(xe.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),xe.prototype.addClass=function(ce){return this.styleSheet===void 0&&this.addStyleSheet(),ce.name=""+this.classNamePrefix+ce.localName,this.classes.push(ce),this.styleSheet.sheet.insertRule("."+ce.name+" {"+ce.style+"}",this.styleSheet.sheet.cssRules.length),ce},xe.prototype.addRule=function(ce){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ce),this.styleSheet.sheet.insertRule(ce.selector+" {"+ce.style+"}",this.styleSheet.sheet.cssRules.length)},xe.prototype.addStyleSheet=function(){var ce;this.styleSheet=document.createElement("style"),((ce=this.styleSheetRoot)!==null&&ce!==void 0?ce:document.head).appendChild(this.styleSheet),this.addRule(new ht("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new ht("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new ht("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new ke("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new ke("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},xe.prototype.removeStyleSheet=function(){var ce;this.styleSheet&&(((ce=this.styleSheetRoot)!==null&&ce!==void 0?ce:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},xe}(),ht=function(xe,ce){this.selector=xe,this.style=ce},ke=function(xe,ce){this.localName=xe,this.style=ce},Le=function(){function xe(ce,ue,de,fe,le){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ce,this.displayMode=ue,this.markerItems=de,this.uiStyleSettings=fe,this.styles=le,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return xe.prototype.show=function(ce){var ue=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var de=document.createElement("div");de.className=this.toolbarBlockStyleClass.name,de.style.whiteSpace="nowrap",this.uiContainer.appendChild(de),this.addActionButton(de,'<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(de,'<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(de,'<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(de,'<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(de,'<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(de,'<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(de,'<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(de,'<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(le){var Fe=document.createElement("div");Fe.className=""+ue.toolbarButtonStyleClass.name,Fe.setAttribute("data-type-name",le.typeName),Fe.innerHTML=le.icon,Fe.addEventListener("click",function(){ue.markerToolbarButtonClicked(Fe,le)}),ue.buttons.push(Fe),ue.markerButtons.push(Fe)}),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 fe=document.createElement("div");fe.className=this.toolbarBlockStyleClass.name,fe.style.whiteSpace="nowrap",fe.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(fe),this.addActionButton(fe,'<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(fe,'<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()},xe.prototype.addButtonClickListener=function(ce){this.buttonClickListeners.push(ce)},xe.prototype.removeButtonClickListener=function(ce){this.buttonClickListeners.indexOf(ce)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ce),1)},xe.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},xe.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ce=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ue=0;ue<this.markerButtons.length;ue++)ue<ce||ue===ce&&this.markerButtons.length-1===ce?this.markerButtonBlock.appendChild(this.markerButtons[ue]):(ue===ce&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ue]))}},xe.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")},xe.prototype.resetButtonStyles=function(){var ce=this;this.buttons.forEach(function(ue){ue.className=ue.className.replace(ce.uiStyleSettings.toolbarButtonStyleColorsClassName?ce.uiStyleSettings.toolbarButtonStyleColorsClassName:ce.toolbarButtonStyleColorsClass.name,"").trim(),ue.className=ue.className.replace(ce.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ce.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ce.toolbarActiveButtonStyleColorsClass.name,"").trim(),ue.className+=" "+(ce.uiStyleSettings.toolbarButtonStyleColorsClassName?ce.uiStyleSettings.toolbarButtonStyleColorsClassName:ce.toolbarButtonStyleColorsClass.name)})},xe.prototype.addActionButton=function(ce,ue,de){var fe=this,le=document.createElement("div");switch(le.className=""+this.toolbarButtonStyleClass.name,le.innerHTML=ue,le.setAttribute("data-action",de),le.addEventListener("click",function(){fe.actionToolbarButtonClicked(le,de)}),de){case"select":le.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":le.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":le.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":le.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":le.style.fill=this.uiStyleSettings.closeButtonColor}ce.appendChild(le),this.buttons.push(le)},xe.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ke("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 ke("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ke("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ke("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 ke("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ce=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ke("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
padding: `+ce+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new ke("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ke("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new ht("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new ht("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},xe.prototype.markerToolbarButtonClicked=function(ce,ue){this.setActiveButton(ce),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(de){return de("marker",ue)}),this.markerButtonOverflowBlock.style.display="none"},xe.prototype.actionToolbarButtonClicked=function(ce,ue){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(de){return de("action",ue)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},xe.prototype.setActiveButton=function(ce){this.resetButtonStyles(),ce.className=ce.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ce.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},xe.prototype.setActiveMarkerButton=function(ce){var ue=this.markerButtons.find(function(de){return de.getAttribute("data-type-name")===ce});ue&&this.setActiveButton(ue)},xe.prototype.setCurrentMarker=function(ce){var ue=this;this.currentMarker=ce,this.buttons.filter(function(de){return/delete|notes/.test(de.getAttribute("data-action"))}).forEach(function(de){ue.currentMarker===void 0?(de.style.fillOpacity="0.4",de.style.pointerEvents="none"):(de.style.fillOpacity="1",de.style.pointerEvents="all")})},xe}(),Ge=function(){function xe(ce,ue,de,fe){this.panels=[],this.panelButtons=[],this.markerjsContainer=ce,this.displayMode=ue,this.uiStyleSettings=de,this.styles=fe,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return xe.prototype.addStyles=function(){var ce;this.toolboxStyleClass=this.styles.addClass(new ke("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 ke("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var ue=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ke("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ke("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ke("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 ke("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ce=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ce!==void 0?ce:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ke("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px;
|
|
|
padding: `+ue+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ke("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ke("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new ht("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new ht("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},xe.prototype.show=function(ce){var ue;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ue=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ue!==void 0?ue:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},xe.prototype.setPanelButtons=function(ce){var ue,de,fe=this;this.panels=ce,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ue=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ue!==void 0?ue:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((de=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&de!==void 0?de:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(le){var Fe;le.uiStyleSettings=fe.uiStyleSettings;var at=document.createElement("div");at.className=fe.toolboxButtonStyleClass.name+" "+((Fe=fe.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Fe!==void 0?Fe:fe.toolboxButtonStyleColorsClass.name),at.innerHTML=le.icon,at.title=le.title,at.addEventListener("click",function(){fe.panelButtonClick(le)}),fe.panelButtons.push(at),fe.buttonRow.appendChild(at)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},xe.prototype.panelButtonClick=function(ce){var ue=this,de=-1;if(ce!==this.activePanel){de=this.panels.indexOf(ce),this.panelRow.innerHTML="";var fe=ce.getUi();fe.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(fe),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=ce}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ue.displayMode==="inline"?ue.panelRow.style.display="none":ue.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(le,Fe){var at,Ze;le.className=ue.toolboxButtonStyleClass.name+" "+(Fe===de?""+((at=ue.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&at!==void 0?at:ue.toolboxActiveButtonStyleColorsClass.name):""+((Ze=ue.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ze!==void 0?Ze:ue.toolboxButtonStyleColorsClass.name))})},xe}(),nt=function(xe,ce){this.title=xe,this.icon=ce},ct=function(xe){function ce(ue,de,fe,le){var Fe=xe.call(this,ue,le||'<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 Fe.colors=[],Fe.addTransparent=!1,Fe.colorBoxes=[],Fe.colors=de,Fe.currentColor=fe,Fe.setCurrentColor=Fe.setCurrentColor.bind(Fe),Fe.getColorBox=Fe.getColorBox.bind(Fe),Fe}return be(ce,xe),ce.prototype.getUi=function(){var ue=this,de=document.createElement("div");return de.style.overflow="hidden",de.style.whiteSpace="nowrap",this.colors.forEach(function(fe){var le=ue.getColorBox(fe);de.appendChild(le),ue.colorBoxes.push(le)}),de},ce.prototype.getColorBox=function(ue){var de=this,fe=this.uiStyleSettings.toolbarHeight/4,le=this.uiStyleSettings.toolbarHeight-fe,Fe=document.createElement("div");Fe.style.display="inline-block",Fe.style.boxSizing="content-box",Fe.style.width=le-2+"px",Fe.style.height=le-2+"px",Fe.style.padding="1px",Fe.style.marginRight="2px",Fe.style.marginBottom="2px",Fe.style.borderWidth="2px",Fe.style.borderStyle="solid",Fe.style.borderRadius=(le+2)/2+"px",Fe.style.borderColor=ue===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Fe.addEventListener("click",function(){de.setCurrentColor(ue,Fe)});var at=document.createElement("div");return at.style.display="inline-block",at.style.width=le-2+"px",at.style.height=le-2+"px",at.style.backgroundColor=ue,at.style.borderRadius=le/2+"px",ue==="transparent"&&(at.style.fill=this.uiStyleSettings.toolboxAccentColor,at.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>`),Fe.appendChild(at),Fe},ce.prototype.setCurrentColor=function(ue,de){var fe=this;this.currentColor=ue,this.colorBoxes.forEach(function(le){le.style.borderColor=le===de?fe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ue)},ce}(nt),Et=function(){function xe(ce,ue,de){this._state="new",this._isSelected=!1,this._container=ce,this._overlayContainer=ue,this.globalSettings=de,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(xe.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),xe.prototype.ownsTarget=function(ce){return!1},Object.defineProperty(xe.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),xe.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},xe.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},xe.prototype.pointerDown=function(ce,ue){},xe.prototype.dblClick=function(ce,ue){},xe.prototype.manipulate=function(ce){},xe.prototype.pointerUp=function(ce){this.stateChanged()},xe.prototype.dispose=function(){},xe.prototype.addMarkerVisualToContainer=function(ce){this.container.childNodes.length>0?this.container.insertBefore(ce,this.container.childNodes[0]):this.container.appendChild(ce)},xe.prototype.getState=function(){return{typeName:xe.typeName,state:this.state,notes:this.notes}},xe.prototype.restoreState=function(ce){this._state=ce.state,this.notes=ce.notes},xe.prototype.scale=function(ce,ue){},xe.prototype.colorChanged=function(ce){this.onColorChanged&&this.onColorChanged(ce),this.stateChanged()},xe.prototype.fillColorChanged=function(ce){this.onFillColorChanged&&this.onFillColorChanged(ce),this.stateChanged()},xe.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ce=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ce.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ce)&&this.onStateChanged(this)}},xe.typeName="MarkerBase",xe}(),Ct=function(){function xe(){this.findGripByVisual=this.findGripByVisual.bind(this)}return xe.prototype.findGripByVisual=function(ce){return this.topLeft.ownsTarget(ce)?this.topLeft:this.topCenter.ownsTarget(ce)?this.topCenter:this.topRight.ownsTarget(ce)?this.topRight:this.centerLeft.ownsTarget(ce)?this.centerLeft:this.centerRight.ownsTarget(ce)?this.centerRight:this.bottomLeft.ownsTarget(ce)?this.bottomLeft:this.bottomCenter.ownsTarget(ce)?this.bottomCenter:this.bottomRight.ownsTarget(ce)?this.bottomRight:void 0},xe}(),Wt=function(){function xe(){this.GRIP_SIZE=10,this.visual=Ae.createGroup(),this.visual.appendChild(Ae.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Ae.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return xe.prototype.ownsTarget=function(ce){return ce===this.visual||ce===this.visual.childNodes[0]||ce===this.visual.childNodes[1]},xe}(),ft=function(){function xe(){}return xe.toITransformMatrix=function(ce){return{a:ce.a,b:ce.b,c:ce.c,d:ce.d,e:ce.e,f:ce.f}},xe.toSVGMatrix=function(ce,ue){return ce.a=ue.a,ce.b=ue.b,ce.c=ue.c,ce.d=ue.d,ce.e=ue.e,ce.f=ue.f,ce},xe}(),pt=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.left=0,le.top=0,le.width=0,le.height=0,le.defaultSize={x:50,y:20},le.offsetX=0,le.offsetY=0,le.rotationAngle=0,le.CB_DISTANCE=10,le._suppressMarkerCreateEvent=!1,le.container.transform.baseVal.appendItem(Ae.createTransform()),le.setupControlBox(),le}return be(ce,xe),Object.defineProperty(ce.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"visual",{get:function(){return this._visual},set:function(ue){this._visual=ue;var de=Ae.createTransform();this._visual.transform.baseVal.appendItem(de)},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(ue){return!!xe.prototype.ownsTarget.call(this,ue)||!!(this.controlGrips.findGripByVisual(ue)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ue))},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.state==="new"&&(this.left=ue.x,this.top=ue.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var fe=this.unrotatePoint(ue);if(this.manipulationStartX=fe.x,this.manipulationStartY=fe.y,this.offsetX=fe.x-this.left,this.offsetY=fe.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(de),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(de)){this.activeGrip=this.rotatorGrip;var le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=le.x-this.width/2,this.top=le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Fe=this.container.transform.baseVal.getItem(0);Fe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Fe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ce.prototype.pointerUp=function(ue){var de=this.state;xe.prototype.pointerUp.call(this,ue),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ue),this._state="select",de==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ce.prototype.moveVisual=function(ue){this.visual.style.transform="translate("+ue.x+"px, "+ue.y+"px)"},ce.prototype.manipulate=function(ue){var de=this.unrotatePoint(ue);this.state==="creating"?this.resize(ue):this.state==="move"?(this.left=this.manipulationStartLeft+(de.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(de.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(de):this.state==="rotate"&&this.rotate(ue)},ce.prototype.resize=function(ue){var de=this.manipulationStartLeft,fe=this.manipulationStartWidth,le=this.manipulationStartTop,Fe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:de=this.manipulationStartLeft+ue.x-this.manipulationStartX,fe=this.manipulationStartWidth+this.manipulationStartLeft-de;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:fe=this.manipulationStartWidth+ue.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:le=this.manipulationStartTop+ue.y-this.manipulationStartY,Fe=this.manipulationStartHeight+this.manipulationStartTop-le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Fe=this.manipulationStartHeight+ue.y-this.manipulationStartY}fe>=0?(this.left=de,this.width=fe):(this.left=de+fe,this.width=-fe),Fe>=0?(this.top=le,this.height=Fe):(this.top=le+Fe,this.height=-Fe),this.setSize()},ce.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ce.prototype.rotate=function(ue){if(Math.abs(ue.x-this.centerX)>.1){var de=Math.sign(ue.x-this.centerX);this.rotationAngle=180*Math.atan((ue.y-this.centerY)/(ue.x-this.centerX))/Math.PI+90*de,this.applyRotation()}},ce.prototype.applyRotation=function(){var ue=this.container.transform.baseVal.getItem(0);ue.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ue,0)},ce.prototype.rotatePoint=function(ue){if(this.rotationAngle===0)return ue;var de=this.container.getCTM(),fe=Ae.createPoint(ue.x,ue.y);return{x:(fe=fe.matrixTransform(de)).x,y:fe.y}},ce.prototype.unrotatePoint=function(ue){if(this.rotationAngle===0)return ue;var de=this.container.getCTM();de=de.inverse();var fe=Ae.createPoint(ue.x,ue.y);return{x:(fe=fe.matrixTransform(de)).x,y:fe.y}},ce.prototype.select=function(){xe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){xe.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=Ae.createGroup();var ue=Ae.createTransform();ue.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ue),this.container.appendChild(this.controlBox),this.controlRect=Ae.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=Ae.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 Ct,this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){var ue=this.controlBox.transform.baseVal.getItem(0);ue.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ue,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()},ce.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()},ce.prototype.createGrip=function(){var ue=new Wt;return ue.visual.transform.baseVal.appendItem(Ae.createTransform()),this.controlBox.appendChild(ue.visual),ue},ce.prototype.positionGrips=function(){var ue=this.controlGrips.topLeft.GRIP_SIZE,de=-ue/2,fe=de,le=(this.width+this.CB_DISTANCE)/2-ue/2,Fe=(this.height+this.CB_DISTANCE)/2-ue/2,at=this.height+this.CB_DISTANCE-ue/2,Ze=this.width+this.CB_DISTANCE-ue/2;this.positionGrip(this.controlGrips.topLeft.visual,de,fe),this.positionGrip(this.controlGrips.topCenter.visual,le,fe),this.positionGrip(this.controlGrips.topRight.visual,Ze,fe),this.positionGrip(this.controlGrips.centerLeft.visual,de,Fe),this.positionGrip(this.controlGrips.centerRight.visual,Ze,Fe),this.positionGrip(this.controlGrips.bottomLeft.visual,de,at),this.positionGrip(this.controlGrips.bottomCenter.visual,le,at),this.positionGrip(this.controlGrips.bottomRight.visual,Ze,at),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,le,fe-3*this.CB_DISTANCE)},ce.prototype.positionGrip=function(ue,de,fe){var le=ue.transform.baseVal.getItem(0);le.setTranslate(de,fe),ue.transform.baseVal.replaceItem(le,0)},ce.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ce.prototype.showControlBox=function(){this.controlBox.style.display=""},ce.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:ft.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:ft.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},xe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){xe.prototype.restoreState.call(this,ue);var de=ue;this.left=de.left,this.top=de.top,this.width=de.width,this.height=de.height,this.rotationAngle=de.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(ft.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,de.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ft.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,de.containerTransformMatrix))},ce.prototype.scale=function(ue,de){xe.prototype.scale.call(this,ue,de);var fe=this.rotatePoint({x:this.left,y:this.top}),le=this.unrotatePoint({x:fe.x*ue,y:fe.y*de});this.left=le.x,this.top=le.y,this.width=this.width*ue,this.height=this.height*de,this.adjustControlBox()},ce}(Et),ze=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.opacity=1,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.createVisual=le.createVisual.bind(le),le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return!(!xe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual)},ce.prototype.createVisual=function(){this.visual=Ae.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)},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.manipulate=function(ue){xe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){xe.prototype.resize.call(this,ue),this.setSize()},ce.prototype.setSize=function(){xe.prototype.setSize.call(this),Ae.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(ue){xe.prototype.pointerUp.call(this,ue),this.setSize()},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.visual&&Ae.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},ce.prototype.setFillColor=function(ue){this.fillColor=ue,this.visual&&Ae.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.visual&&Ae.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.visual&&Ae.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},xe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){var de=ue;this.fillColor=de.fillColor,this.strokeColor=de.strokeColor,this.strokeWidth=de.strokeWidth,this.strokeDasharray=de.strokeDasharray,this.opacity=de.opacity,this.createVisual(),xe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,de){xe.prototype.scale.call(this,ue,de),this.setSize()},ce.title="Rectangle marker",ce}(pt),he=function(xe){function ce(ue,de,fe,le){var Fe=xe.call(this,ue,le||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Fe.widths=[],Fe.widthBoxes=[],Fe.widths=de,Fe.currentWidth=fe,Fe.setCurrentWidth=Fe.setCurrentWidth.bind(Fe),Fe}return be(ce,xe),ce.prototype.getUi=function(){var ue=this,de=document.createElement("div");return de.style.display="flex",de.style.overflow="hidden",de.style.flexGrow="2",this.widths.forEach(function(fe){var le=document.createElement("div");le.style.display="flex",le.style.flexGrow="2",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderColor=fe===ue.currentWidth?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentWidth(fe,le)}),de.appendChild(le);var Fe=document.createElement("div");Fe.innerText=fe.toString(),Fe.style.marginRight="5px",le.appendChild(Fe);var at=document.createElement("div");at.style.minHeight="20px",at.style.flexGrow="2",at.style.display="flex",at.style.alignItems="center";var Ze=document.createElement("hr");Ze.style.minWidth="20px",Ze.style.border="0px",Ze.style.borderTop=fe+"px solid "+ue.uiStyleSettings.toolboxColor,Ze.style.flexGrow="2",at.appendChild(Ze),le.appendChild(at),ue.widthBoxes.push(le)}),de},ce.prototype.setCurrentWidth=function(ue,de){var fe=this;this.currentWidth=ue,this.widthBoxes.forEach(function(le){le.style.borderColor=le===de?fe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ce}(nt),it=function(xe){function ce(ue,de,fe,le){var Fe=xe.call(this,ue,le||'<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 Fe.styles=[],Fe.styleBoxes=[],Fe.styles=de,Fe.currentStyle=fe,Fe.setCurrentStyle=Fe.setCurrentStyle.bind(Fe),Fe}return be(ce,xe),ce.prototype.getUi=function(){var ue=this,de=document.createElement("div");return de.style.display="flex",de.style.overflow="hidden",de.style.flexGrow="2",this.styles.forEach(function(fe){var le=document.createElement("div");le.style.display="flex",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.overflow="hidden",le.style.maxWidth=100/ue.styles.length-5+"%",le.style.borderColor=fe===ue.currentStyle?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentStyle(fe,le)}),de.appendChild(le);var Fe=document.createElement("div");Fe.style.minHeight="20px",Fe.style.flexGrow="2",Fe.style.overflow="hidden";var at=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ue.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(fe!==""?'stroke-dasharray="'+fe+'"':"")+` />
|
|
|
</svg>`;Fe.innerHTML=at,le.appendChild(Fe),ue.styleBoxes.push(le)}),de},ce.prototype.setCurrentStyle=function(ue,de){var fe=this;this.currentStyle=ue,this.styleBoxes.forEach(function(le){le.style.borderColor=le===de?fe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ce}(nt),ot=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.strokeColor=fe.defaultColor,le.strokeWidth=fe.defaultStrokeWidth,le.strokeDasharray=fe.defaultStrokeDasharray,le.strokePanel=new ct("Line color",fe.defaultColorSet,fe.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",fe.defaultStrokeWidths,fe.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new it("Line style",fe.defaultStrokeDasharrays,fe.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return be(ce,xe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=xe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="FrameMarker",ce.title="Frame marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ce}(ze),ut=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"},Je=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.x1=0,le.y1=0,le.x2=0,le.y2=0,le.defaultLength=50,le.manipulationStartX=0,le.manipulationStartY=0,le.manipulationStartX1=0,le.manipulationStartY1=0,le.manipulationStartX2=0,le.manipulationStartY2=0,le.setupControlBox(),le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return!!xe.prototype.ownsTarget.call(this,ue)||!(!this.grip1.ownsTarget(ue)&&!this.grip2.ownsTarget(ue))},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.manipulationStartX=ue.x,this.manipulationStartY=ue.y,this.state==="new"&&(this.x1=ue.x,this.y1=ue.y,this.x2=ue.x,this.y2=ue.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(de)?this.activeGrip=this.grip1:this.grip2.ownsTarget(de)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ce.prototype.pointerUp=function(ue){var de=this.state;xe.prototype.pointerUp.call(this,ue),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(ue),this._state="select",de==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ce.prototype.adjustVisual=function(){},ce.prototype.manipulate=function(ue){this.state==="creating"?this.resize(ue):this.state==="move"?(this.x1=this.manipulationStartX1+ue.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ue.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ue.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ue.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ue)},ce.prototype.resize=function(ue){switch(this.activeGrip){case this.grip1:this.x1=ue.x,this.y1=ue.y;break;case this.grip2:case void 0:this.x2=ue.x,this.y2=ue.y}this.adjustVisual(),this.adjustControlBox()},ce.prototype.select=function(){xe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){xe.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=Ae.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){this.positionGrips()},ce.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ce.prototype.createGrip=function(){var ue=new Wt;return ue.visual.transform.baseVal.appendItem(Ae.createTransform()),this.controlBox.appendChild(ue.visual),ue},ce.prototype.positionGrips=function(){var ue=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ue/2,this.y1-ue/2),this.positionGrip(this.grip2.visual,this.x2-ue/2,this.y2-ue/2)},ce.prototype.positionGrip=function(ue,de,fe){var le=ue.transform.baseVal.getItem(0);le.setTranslate(de,fe),ue.transform.baseVal.replaceItem(le,0)},ce.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},xe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){xe.prototype.restoreState.call(this,ue);var de=ue;this.x1=de.x1,this.y1=de.y1,this.x2=de.x2,this.y2=de.y2},ce.prototype.scale=function(ue,de){xe.prototype.scale.call(this,ue,de),this.x1=this.x1*ue,this.y1=this.y1*de,this.x2=this.x2*ue,this.y2=this.y2*de,this.adjustVisual(),this.adjustControlBox()},ce}(Et),mt=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.setStrokeColor=le.setStrokeColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.strokeColor=fe.defaultColor,le.strokeWidth=fe.defaultStrokeWidth,le.strokeDasharray=fe.defaultStrokeDasharray,le.strokePanel=new ct("Line color",fe.defaultColorSet,fe.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",fe.defaultStrokeWidths,fe.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new it("Line style",fe.defaultStrokeDasharrays,fe.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return!(!xe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.selectorLine&&ue!==this.visibleLine)},ce.prototype.createVisual=function(){this.visual=Ae.createGroup(),this.selectorLine=Ae.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Ae.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)},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ce.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()),Ae.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Ae.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Ae.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.adjustVisual(),this.colorChanged(ue)},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},xe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){xe.prototype.restoreState.call(this,ue);var de=ue;this.strokeColor=de.strokeColor,this.strokeWidth=de.strokeWidth,this.strokeDasharray=de.strokeDasharray,this.createVisual(),this.adjustVisual()},ce.typeName="LineMarker",ce.title="Line marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ce}(Je),Te=function(xe){function ce(ue,de,fe,le){var Fe=xe.call(this,ue,le||'<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 Fe.fonts=[],Fe.fontBoxes=[],Fe.fonts=de,Fe.currentFont=fe,Fe.setCurrentFont=Fe.setCurrentFont.bind(Fe),Fe}return be(ce,xe),ce.prototype.getUi=function(){var ue=this,de=document.createElement("div");return de.style.overflow="hidden",de.style.flexGrow="2",this.fonts.forEach(function(fe){var le=document.createElement("div");le.style.display="inline-block",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.overflow="hidden",le.style.maxWidth=100/ue.fonts.length-5+"%",le.style.borderColor=fe===ue.currentFont?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentFont(fe,le)}),de.appendChild(le);var Fe=document.createElement("div");Fe.style.display="flex",Fe.style.minHeight="20px",Fe.style.flexGrow="2",Fe.style.fontFamily=fe,Fe.style.overflow="hidden";var at=document.createElement("div");at.style.whiteSpace="nowrap",at.style.overflow="hidden",at.style.textOverflow="ellipsis",at.innerHTML="The quick brown fox jumps over the lazy dog",Fe.appendChild(at),le.appendChild(Fe),ue.fontBoxes.push(le)}),de},ce.prototype.setCurrentFont=function(ue,de){var fe=this;this.currentFont=ue,this.fontBoxes.forEach(function(le){le.style.borderColor=le===de?fe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ce}(nt),xt=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.color="transparent",le.padding=5,le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",le.text=le.DEFAULT_TEXT,le.isMoved=!1,le.color=fe.defaultColor,le.fontFamily=fe.defaultFontFamily,le.defaultSize={x:100,y:30},le.setColor=le.setColor.bind(le),le.setFont=le.setFont.bind(le),le.renderText=le.renderText.bind(le),le.sizeText=le.sizeText.bind(le),le.textEditDivClicked=le.textEditDivClicked.bind(le),le.showTextEditor=le.showTextEditor.bind(le),le.setSize=le.setSize.bind(le),le.positionTextEditor=le.positionTextEditor.bind(le),le.colorPanel=new ct("Color",fe.defaultColorSet,fe.defaultColor),le.colorPanel.onColorChanged=le.setColor,le.fontFamilyPanel=new Te("Font",fe.defaultFontFamilies,fe.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){if(xe.prototype.ownsTarget.call(this,ue)||ue===this.visual||ue===this.textElement||ue===this.bgRectangle)return!0;var de=!1;return this.textElement.childNodes.forEach(function(fe){fe===ue&&(de=!0)}),de},ce.prototype.createVisual=function(){this.visual=Ae.createGroup(),this.bgRectangle=Ae.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Ae.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Ae.createTransform()),this.textElement.transform.baseVal.appendItem(Ae.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.isMoved=!1,this.pointerDownPoint=ue,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.renderText=function(){var ue=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(de){ue.textElement.appendChild(Ae.createTSpan(de.trim()===""?" ":de.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ce.prototype.getTextScale=function(){var ue=this.textElement.getBBox(),de=1;if(ue.width>0&&ue.height>0){var fe=(1*this.width-this.width*this.padding*2/100)/ue.width,le=(1*this.height-this.height*this.padding*2/100)/ue.height;de=Math.min(fe,le)}return de},ce.prototype.getTextPosition=function(ue){var de=this.textElement.getBBox(),fe=0,le=0;return de.width>0&&de.height>0&&(fe=(this.width-de.width*ue)/2,le=this.height/2-de.height*ue/2),{x:fe,y:le}},ce.prototype.sizeText=function(){var ue=this.textElement.getBBox(),de=this.getTextScale(),fe=this.getTextPosition(de);fe.y-=ue.y*de,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+fe.x+"px, "+fe.y+"px) scale("+de+", "+de+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(fe.x,fe.y),this.textElement.transform.baseVal.getItem(1).setScale(de,de))},ce.prototype.manipulate=function(ue){xe.prototype.manipulate.call(this,ue),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ue.x-this.pointerDownPoint.x)>5||Math.abs(ue.y-this.pointerDownPoint.y)>5)},ce.prototype.resize=function(ue){xe.prototype.resize.call(this,ue),this.isMoved=!0,this.setSize(),this.sizeText()},ce.prototype.setSize=function(){xe.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Ae.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ae.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ce.prototype.pointerUp=function(ue){var de=this.state;de==="creating"&&(this._suppressMarkerCreateEvent=!0),xe.prototype.pointerUp.call(this,ue),this.setSize(),(de==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.showTextEditor=function(){var ue=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(de){de.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var de=Number.parseFloat(ue.textEditor.style.fontSize);ue.textEditor.clientWidth>=Number.parseInt(ue.textEditor.style.maxWidth)&&de>.9;)de-=.1,ue.textEditor.style.fontSize=Math.max(de,.9)+"em"}),this.textEditor.addEventListener("keyup",function(de){de.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(de){if(de.clipboardData){var fe=de.clipboardData.getData("text"),le=window.getSelection();if(!le.rangeCount)return!1;le.deleteFromDocument(),le.getRangeAt(0).insertNode(document.createTextNode(fe)),de.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ue.textEditDivClicked(ue.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ce.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ue=this.getTextScale(),de=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),fe=this.textElement.getBBox(),le={x:fe.width*ue,y:fe.height*ue};de.x-=le.x/2,de.y-=le.y/2,this.textEditor.style.top=de.y+"px",this.textEditor.style.left=de.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-de.x+"px",this.textEditor.style.fontSize=Math.max(16*ue,12)+"px",this.textElement.style.display="none"}},ce.prototype.textEditDivClicked=function(ue){this.text=ue.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ce.prototype.select=function(){xe.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ce.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),xe.prototype.deselect.call(this)},ce.prototype.dblClick=function(ue,de){xe.prototype.dblClick.call(this,ue,de),this.showTextEditor()},ce.prototype.setColor=function(ue){this.textElement&&Ae.setAttributes(this.textElement,[["fill",ue]]),this.color=ue,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ue)},ce.prototype.setFont=function(ue){this.textElement&&Ae.setAttributes(this.textElement,[["font-family",ue]]),this.fontFamily=ue,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ce.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ce.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},xe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){var de=ue;this.color=de.color,this.fontFamily=de.fontFamily,this.padding=de.padding,this.text=de.text,this.createVisual(),xe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,de){xe.prototype.scale.call(this,ue,de),this.setSize(),this.sizeText(),this.positionTextEditor()},ce.typeName="TextMarker",ce.title="Text marker",ce.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>',ce}(pt),Ne=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.color="transparent",le.lineWidth=3,le.drawing=!1,le.pixelRatio=1,le.color=fe.defaultColor,le.lineWidth=fe.defaultStrokeWidth,le.pixelRatio=fe.freehandPixelRatio,le.setColor=le.setColor.bind(le),le.addCanvas=le.addCanvas.bind(le),le.finishCreation=le.finishCreation.bind(le),le.setLineWidth=le.setLineWidth.bind(le),le.colorPanel=new ct("Color",fe.defaultColorSet,fe.defaultColor),le.colorPanel.onColorChanged=le.setColor,le.lineWidthPanel=new he("Line width",fe.defaultStrokeWidths,fe.defaultStrokeWidth),le.lineWidthPanel.onWidthChanged=le.setLineWidth,le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return!(!xe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.drawingImage)},ce.prototype.createVisual=function(){this.visual=Ae.createGroup(),this.drawingImage=Ae.createImage(),this.visual.appendChild(this.drawingImage);var ue=Ae.createTransform();this.visual.transform.baseVal.appendItem(ue),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(ue,de){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(ue.x,ue.y),this.drawing=!0):xe.prototype.pointerDown.call(this,ue,de)},ce.prototype.manipulate=function(ue){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ue.x,ue.y),this.canvasContext.stroke()):xe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){xe.prototype.resize.call(this,ue),Ae.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ae.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(ue){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):xe.prototype.pointerUp.call(this,ue)},ce.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)},ce.prototype.select=function(){this.state==="creating"&&this.finishCreation(),xe.prototype.select.call(this)},ce.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),xe.prototype.deselect.call(this)},ce.prototype.finishCreation=function(){for(var ue=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),de=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],fe=de[0],le=de[1],Fe=de[2],at=de[3],Ze=!1,Me=0;Me<this.canvasElement.height;Me++)for(var Lt=0;Lt<this.canvasElement.width;Lt++)ue.data[Me*this.canvasElement.width*4+4*Lt+3]>0&&(Ze=!0,Me<le&&(le=Me),Lt<fe&&(fe=Lt),Me>at&&(at=Me),Lt>Fe&&(Fe=Lt));if(Ze){this.left=fe/this.pixelRatio,this.top=le/this.pixelRatio,this.width=(Fe-fe)/this.pixelRatio,this.height=(at-le)/this.pixelRatio;var bt=document.createElement("canvas");bt.width=Fe-fe,bt.height=at-le,bt.getContext("2d").putImageData(this.canvasContext.getImageData(fe,le,Fe-fe,at-le),0,0),this.drawingImgUrl=bt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ce.prototype.setDrawingImage=function(){Ae.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Ae.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ce.prototype.setColor=function(ue){this.color=ue,this.colorChanged(ue)},ce.prototype.setLineWidth=function(ue){this.lineWidth=ue},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({drawingImgUrl:this.drawingImgUrl},xe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){this.createVisual(),xe.prototype.restoreState.call(this,ue),this.drawingImgUrl=ue.drawingImgUrl,this.setDrawingImage()},ce.prototype.scale=function(ue,de){xe.prototype.scale.call(this,ue,de),this.setDrawingImage()},ce.typeName="FreehandMarker",ce.title="Freehand marker",ce.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>',ce}(pt),Rt=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,fe||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return le.typeBoxes=[],le.currentType=de,le.setCurrentType=le.setCurrentType.bind(le),le}return be(ce,xe),ce.prototype.getUi=function(){var ue=this,de=document.createElement("div");de.style.display="flex",de.style.overflow="hidden",de.style.flexGrow="2";for(var fe=function(at){var Ze="both";switch(at){case 0:Ze="both";break;case 1:Ze="start";break;case 2:Ze="end";break;case 3:Ze="none"}var Me=document.createElement("div");if(Me.style.display="flex",Me.style.flexGrow="2",Me.style.alignItems="center",Me.style.justifyContent="space-between",Me.style.padding="5px",Me.style.borderWidth="2px",Me.style.borderStyle="solid",Me.style.borderColor=Ze===le.currentType?le.uiStyleSettings.toolboxAccentColor:"transparent",Me.addEventListener("click",function(){ue.setCurrentType(Ze,Me)}),de.appendChild(Me),Ze==="both"||Ze==="start"){var Lt=document.createElement("div");Lt.style.display="flex",Lt.style.alignItems="center",Lt.style.minHeight="20px",Lt.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="`+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Lt.style.marginLeft="5px",Me.appendChild(Lt)}var bt=document.createElement("div");bt.style.display="flex",bt.style.alignItems="center",bt.style.minHeight="20px",bt.style.flexGrow="2";var et=document.createElement("hr");if(et.style.minWidth="20px",et.style.border="0px",et.style.borderTop="3px solid "+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee"),et.style.flexGrow="2",bt.appendChild(et),Me.appendChild(bt),Ze==="both"||Ze==="end"){var Zt=document.createElement("div");Zt.style.display="flex",Zt.style.alignItems="center",Zt.style.minHeight="20px",Zt.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="`+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Zt.style.marginRight="5px",Me.appendChild(Zt)}le.typeBoxes.push(Me)},le=this,Fe=0;Fe<4;Fe++)fe(Fe);return de},ce.prototype.setCurrentType=function(ue,de){var fe=this;this.currentType=ue,this.typeBoxes.forEach(function(le){le.style.borderColor=le===de?fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ce}(nt),Dt=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.arrowType="end",le.arrowBaseHeight=10,le.arrowBaseWidth=10,le.getArrowPoints=le.getArrowPoints.bind(le),le.setArrowType=le.setArrowType.bind(le),le.arrowTypePanel=new Rt("Arrow type","end"),le.arrowTypePanel.onArrowTypeChanged=le.setArrowType,le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return!(!xe.prototype.ownsTarget.call(this,ue)&&ue!==this.arrow1&&ue!==this.arrow2)},ce.prototype.getArrowPoints=function(ue,de){var fe=this.arrowBaseWidth+2*this.strokeWidth,le=this.arrowBaseHeight+2*this.strokeWidth;return ue-fe/2+","+(de+le/2)+" "+ue+","+(de-le/2)+" "+(ue+fe/2)+","+(de+le/2)},ce.prototype.createTips=function(){this.arrow1=Ae.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Ae.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Ae.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Ae.createTransform()),this.visual.appendChild(this.arrow2)},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(xe.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",Ae.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Ae.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ue=0;Math.abs(this.x1-this.x2)>.1&&(ue=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var de=this.arrow1.transform.baseVal.getItem(0);de.setRotate(ue,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(de,0);var fe=this.arrow2.transform.baseVal.getItem(0);fe.setRotate(ue+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(fe,0)}},ce.prototype.setArrowType=function(ue){this.arrowType=ue,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({arrowType:this.arrowType},xe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){xe.prototype.restoreState.call(this,ue);var de=ue;this.arrowType=de.arrowType,this.createTips(),this.adjustVisual()},ce.typeName="ArrowMarker",ce.title="Arrow marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ce}(mt),Nt=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.fillColor=fe.defaultFillColor,le.strokeWidth=0,le.fillPanel=new ct("Color",fe.defaultColorSet,fe.defaultFillColor),le.fillPanel.onColorChanged=le.setFillColor,le}return be(ce,xe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=xe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="CoverMarker",ce.title="Cover marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ce}(ze),wt=function(xe){function ce(ue,de,fe,le){var Fe=xe.call(this,ue,le||'<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 Fe.opacities=[],Fe.opacityBoxes=[],Fe.opacities=de,Fe.currentOpacity=fe,Fe.setCurrentOpacity=Fe.setCurrentOpacity.bind(Fe),Fe}return be(ce,xe),ce.prototype.getUi=function(){var ue=this,de=document.createElement("div");return de.style.display="flex",de.style.overflow="hidden",de.style.flexGrow="2",de.style.justifyContent="space-between",this.opacities.forEach(function(fe){var le=document.createElement("div");le.style.display="flex",le.style.alignItems="center",le.style.justifyContent="center",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderColor=fe===ue.currentOpacity?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentOpacity(fe,le)}),de.appendChild(le);var Fe=document.createElement("div");Fe.innerText=100*fe+"%",le.appendChild(Fe),ue.opacityBoxes.push(le)}),de},ce.prototype.setCurrentOpacity=function(ue,de){var fe=this;this.currentOpacity=ue,this.opacityBoxes.forEach(function(le){le.style.borderColor=le===de?fe.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ce}(nt),It=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.setOpacity=le.setOpacity.bind(le),le.fillColor=fe.defaultHighlightColor,le.strokeWidth=0,le.opacity=fe.defaultHighlightOpacity,le.fillPanel=new ct("Color",fe.defaultColorSet,le.fillColor),le.fillPanel.onColorChanged=le.setFillColor,le.opacityPanel=new wt("Opacity",fe.defaultOpacitySteps,le.opacity),le.opacityPanel.onOpacityChanged=le.setOpacity,le}return be(ce,xe),ce.prototype.setOpacity=function(ue){this.opacity=ue,this.visual&&Ae.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=xe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="HighlightMarker",ce.title="Highlight marker",ce.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>',ce}(Nt),We='<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>',ve='<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>',Qe=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.bgColor="transparent",le.tipPosition={x:0,y:0},le.tipBase1Position={x:0,y:0},le.tipBase2Position={x:0,y:0},le.tipMoving=!1,le.color=fe.defaultStrokeColor,le.bgColor=fe.defaultFillColor,le.fontFamily=fe.defaultFontFamily,le.defaultSize={x:100,y:30},le.setBgColor=le.setBgColor.bind(le),le.getTipPoints=le.getTipPoints.bind(le),le.positionTip=le.positionTip.bind(le),le.setTipPoints=le.setTipPoints.bind(le),le.colorPanel=new ct("Text color",fe.defaultColorSet,le.color,We),le.colorPanel.onColorChanged=le.setColor,le.bgColorPanel=new ct("Fill color",fe.defaultColorSet,le.bgColor,ve),le.bgColorPanel.onColorChanged=le.setBgColor,le.fontFamilyPanel=new Te("Font",fe.defaultFontFamilies,fe.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le.tipGrip=new Wt,le.tipGrip.visual.transform.baseVal.appendItem(Ae.createTransform()),le.controlBox.appendChild(le.tipGrip.visual),le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return xe.prototype.ownsTarget.call(this,ue)||this.tipGrip.ownsTarget(ue)||this.tip===ue},ce.prototype.createTip=function(){Ae.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Ae.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ce.prototype.pointerDown=function(ue,de){this.state==="new"&&xe.prototype.pointerDown.call(this,ue,de),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(de)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):xe.prototype.pointerDown.call(this,ue,de)},ce.prototype.pointerUp=function(ue){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,xe.prototype.pointerUp.call(this,ue);else{var de=this.state==="creating";xe.prototype.pointerUp.call(this,ue),this.setTipPoints(de),this.positionTip()}},ce.prototype.manipulate=function(ue){if(this.tipMoving){var de=this.unrotatePoint(ue);this.tipPosition={x:de.x-this.manipulationStartLeft,y:de.y-this.manipulationStartTop},this.positionTip()}else xe.prototype.manipulate.call(this,ue)},ce.prototype.setBgColor=function(ue){this.bgRectangle&&this.tip&&(Ae.setAttributes(this.bgRectangle,[["fill",ue]]),Ae.setAttributes(this.tip,[["fill",ue]])),this.bgColor=ue,this.fillColorChanged(ue)},ce.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},ce.prototype.setTipPoints=function(ue){ue===void 0&&(ue=!1);var de=Math.min(this.height/2,15),fe=this.height/5;ue&&(this.tipPosition={x:de+fe/2,y:this.height+20});var le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?le<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(fe=this.width/5,de=Math.min(this.width/2,15),this.tipBase1Position={x:de,y:0},this.tipBase2Position={x:de+fe,y:0}):(this.tipBase1Position={x:0,y:de},this.tipBase2Position={x:0,y:de+fe}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?le<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(fe=this.width/5,de=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-de-fe,y:0},this.tipBase2Position={x:this.width-de,y:0}):(this.tipBase1Position={x:this.width,y:de},this.tipBase2Position={x:this.width,y:de+fe}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?le<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(fe=this.width/5,de=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-de-fe,y:this.height},this.tipBase2Position={x:this.width-de,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-de-fe},this.tipBase2Position={x:this.width,y:this.height-de}):le<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(fe=this.width/5,de=Math.min(this.width/2,15),this.tipBase1Position={x:de,y:this.height},this.tipBase2Position={x:de+fe,y:this.height}):(this.tipBase1Position={x:0,y:this.height-de},this.tipBase2Position={x:0,y:this.height-de-fe})},ce.prototype.resize=function(ue){xe.prototype.resize.call(this,ue),this.positionTip()},ce.prototype.positionTip=function(){Ae.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ue=this.tipGrip.visual.transform.baseVal.getItem(0);ue.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ue,0)},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.select=function(){this.positionTip(),xe.prototype.select.call(this)},ce.prototype.getState=function(){var ue=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},xe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){var de=ue;this.bgColor=de.bgColor,this.tipPosition=de.tipPosition,xe.prototype.restoreState.call(this,ue),this.createTip(),this.setTipPoints()},ce.prototype.scale=function(ue,de){xe.prototype.scale.call(this,ue,de),this.tipPosition={x:this.tipPosition.x*ue,y:this.tipPosition.y*de},this.positionTip()},ce.typeName="CalloutMarker",ce.title="Callout marker",ce.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>',ce}(xt),Vt=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.opacity=1,le.strokeColor=fe.defaultColor,le.strokeWidth=fe.defaultStrokeWidth,le.strokeDasharray=fe.defaultStrokeDasharray,le.fillColor=fe.defaultFillColor,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.setOpacity=le.setOpacity.bind(le),le.createVisual=le.createVisual.bind(le),le.strokePanel=new ct("Line color",Se(fe.defaultColorSet,["transparent"]),fe.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.fillPanel=new ct("Fill color",Se(fe.defaultColorSet,["transparent"]),le.fillColor,ve),le.fillPanel.onColorChanged=le.setFillColor,le.strokeWidthPanel=new he("Line width",fe.defaultStrokeWidths,fe.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new it("Line style",fe.defaultStrokeDasharrays,fe.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le.opacityPanel=new wt("Opacity",fe.defaultOpacitySteps,le.opacity),le.opacityPanel.onOpacityChanged=le.setOpacity,le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return!(!xe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual)},ce.prototype.createVisual=function(){this.visual=Ae.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)},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.manipulate=function(ue){xe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){xe.prototype.resize.call(this,ue),this.setSize()},ce.prototype.setSize=function(){xe.prototype.setSize.call(this),Ae.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ce.prototype.pointerUp=function(ue){xe.prototype.pointerUp.call(this,ue),this.setSize()},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.visual&&Ae.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},ce.prototype.setFillColor=function(ue){this.fillColor=ue,this.visual&&Ae.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ue),this.stateChanged()},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.visual&&Ae.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.visual&&Ae.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.setOpacity=function(ue){this.opacity=ue,this.visual&&Ae.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},xe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){var de=ue;this.fillColor=de.fillColor,this.strokeColor=de.strokeColor,this.strokeWidth=de.strokeWidth,this.strokeDasharray=de.strokeDasharray,this.opacity=de.opacity,this.createVisual(),xe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,de){xe.prototype.scale.call(this,ue,de),this.setSize()},ce.typeName="EllipseMarker",ce.title="Ellipse marker",ce.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>',ce}(pt),Mt=function(xe){function ce(ue,de,fe){return xe.call(this,ue,de,fe)||this}return be(ce,xe),Object.defineProperty(ce.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(ue){return!(!xe.prototype.ownsTarget.call(this,ue)&&ue!==this.tip1&&ue!==this.tip2)},ce.prototype.createTips=function(){this.tip1=Ae.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(Ae.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Ae.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(Ae.createTransform()),this.visual.appendChild(this.tip2)},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(xe.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Ae.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()]]),Ae.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 ue=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),de=this.tip1.transform.baseVal.getItem(0);de.setRotate(ue,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(de,0);var fe=this.tip2.transform.baseVal.getItem(0);fe.setRotate(ue+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(fe,0)}},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=xe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){xe.prototype.restoreState.call(this,ue),this.createTips(),this.adjustVisual()},ce.typeName="MeasurementMarker",ce.title="Measurement marker",ce.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>',ce}(mt),Ue=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.strokePanel.colors=fe.defaultColorSet,le.fillColor="transparent",le}return be(ce,xe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=xe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="EllipseFrameMarker",ce.title="Ellipse frame marker",ce.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>',ce}(Vt),st=function(){function xe(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(xe.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),xe.prototype.addUndoStep=function(ce){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ce)||(this.undoStack.push(ce),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ce)&&this.redoStack.splice(0,this.redoStack.length))},xe.prototype.replaceLastUndoStep=function(ce){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ce)},xe.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},xe.prototype.undo=function(){if(this.undoStack.length>1){var ce=this.undoStack.pop();return ce!==void 0&&this.redoStack.push(ce),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},xe.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},xe}(),Ht=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.curveX=0,le.curveY=0,le.manipulationStartCurveX=0,le.manipulationStartCurveY=0,le.setStrokeColor=le.setStrokeColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.positionGrips=le.positionGrips.bind(le),le.addControlGrips=le.addControlGrips.bind(le),le.adjustVisual=le.adjustVisual.bind(le),le.setupControlBox=le.setupControlBox.bind(le),le.resize=le.resize.bind(le),le.strokeColor=fe.defaultColor,le.strokeWidth=fe.defaultStrokeWidth,le.strokeDasharray=fe.defaultStrokeDasharray,le.strokePanel=new ct("Line color",fe.defaultColorSet,fe.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",fe.defaultStrokeWidths,fe.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new it("Line style",fe.defaultStrokeDasharrays,fe.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return!(!xe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.selectorCurve&&ue!==this.visibleCurve&&!this.curveGrip.ownsTarget(ue))},ce.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ce.prototype.createVisual=function(){this.visual=Ae.createGroup(),this.selectorCurve=Ae.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Ae.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)},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ue.x,this.curveY=ue.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(de)&&(this.activeGrip=this.curveGrip,this._state="resize")},ce.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Ae.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Ae.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Ae.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setupControlBox=function(){xe.prototype.setupControlBox.call(this),this.curveControlLine1=Ae.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Ae.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)},ce.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,xe.prototype.addControlGrips.call(this)},ce.prototype.positionGrips=function(){xe.prototype.positionGrips.call(this);var ue=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ue/2,this.curveY-ue/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()))},ce.prototype.manipulate=function(ue){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ue.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ue.y-this.manipulationStartY),xe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){this.activeGrip===this.curveGrip&&(this.curveX=ue.x,this.curveY=ue.y),xe.prototype.resize.call(this,ue),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.adjustVisual(),this.colorChanged(ue)},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.adjustVisual()},ce.prototype.scale=function(ue,de){this.curveX=this.curveX*ue,this.curveY=this.curveY*de,xe.prototype.scale.call(this,ue,de)},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},xe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){xe.prototype.restoreState.call(this,ue);var de=ue;this.strokeColor=de.strokeColor,this.strokeWidth=de.strokeWidth,this.strokeDasharray=de.strokeDasharray,this.curveX=de.curveX,this.curveY=de.curveY,this.createVisual(),this.adjustVisual()},ce.typeName="CurveMarker",ce.title="Curve marker",ce.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>',ce}(Je),yn=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,de,fe)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.textColor="transparent",le.fontSize="1rem",le.isMoved=!1,le.captionText="Caption",le.PADDING=5,le.captionBoxWidth=0,le.captionBoxHeight=0,le.strokeColor=fe.defaultColor,le.strokeWidth=fe.defaultStrokeWidth,le.strokeDasharray=fe.defaultStrokeDasharray,le.fillColor=fe.defaultFillColor,le.textColor=fe.defaultStrokeColor,le.fontFamily=fe.defaultFontFamily,le.fontSize=fe.defaultCaptionFontSize,le.captionText=fe.defaultCaptionText,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.createVisual=le.createVisual.bind(le),le.sizeCaption=le.sizeCaption.bind(le),le.setCaptionText=le.setCaptionText.bind(le),le.showTextEditor=le.showTextEditor.bind(le),le.positionTextEditor=le.positionTextEditor.bind(le),le.finishTextEditing=le.finishTextEditing.bind(le),le.setFont=le.setFont.bind(le),le.setTextColor=le.setTextColor.bind(le),le.strokePanel=new ct("Line color",Se(fe.defaultColorSet,["transparent"]),le.strokeColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.fillPanel=new ct("Fill color",Se(fe.defaultColorSet,["transparent"]),le.fillColor,ve),le.fillPanel.onColorChanged=le.setFillColor,le.strokeWidthPanel=new he("Line width",fe.defaultStrokeWidths,fe.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new it("Line style",fe.defaultStrokeDasharrays,fe.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le.fontFamilyPanel=new Te("Font",fe.defaultFontFamilies,fe.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le.textColorPanel=new ct("Text color",fe.defaultColorSet,le.textColor,We),le.textColorPanel.onColorChanged=le.setTextColor,le}return be(ce,xe),ce.prototype.ownsTarget=function(ue){return!(!xe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.frame&&ue!==this.captionBg&&ue!==this.captionElement)},ce.prototype.createVisual=function(){this.visual=Ae.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Ae.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Ae.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=Ae.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()},ce.prototype.setCaptionText=function(ue){this.captionText=ue,this.captionElement.textContent=this.captionText,this.sizeCaption()},ce.prototype.pointerDown=function(ue,de){xe.prototype.pointerDown.call(this,ue,de),this.isMoved=!1,this.pointerDownPoint=ue,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.manipulate=function(ue){xe.prototype.manipulate.call(this,ue),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ue.x-this.pointerDownPoint.x)>5||Math.abs(ue.y-this.pointerDownPoint.y)>5)},ce.prototype.resize=function(ue){xe.prototype.resize.call(this,ue),this.setSize()},ce.prototype.sizeCaption=function(){var ue=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ue.width+2*this.PADDING,this.captionBoxHeight=ue.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Ae.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')"]]),Ae.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')"]])},ce.prototype.showTextEditor=function(){var ue=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(de){de.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(de){de.key==="Enter"&&ue.finishTextEditing(ue.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(de){de.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ue.finishTextEditing(ue.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ue.finishTextEditing(ue.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ce.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"))},ce.prototype.finishTextEditing=function(ue){this.setCaptionText(ue.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ce.prototype.setFont=function(ue){this.captionElement&&Ae.setAttributes(this.captionElement,[["font-family",ue]]),this.fontFamily=ue,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ce.prototype.setTextColor=function(ue){this.captionElement&&Ae.setAttributes(this.captionElement,[["fill",ue]]),this.textColor=ue,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ce.prototype.setSize=function(){xe.prototype.setSize.call(this),Ae.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ce.prototype.pointerUp=function(ue){xe.prototype.pointerUp.call(this,ue),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.dblClick=function(ue,de){xe.prototype.dblClick.call(this,ue,de),this.showTextEditor()},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.frame&&Ae.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},ce.prototype.setFillColor=function(ue){this.fillColor=ue,this.captionBg&&Ae.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ue),this.stateChanged()},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.frame&&Ae.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.frame&&Ae.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=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},xe.prototype.getState.call(this));return ue.typeName=this.typeName,ue},ce.prototype.restoreState=function(ue){var de=ue;this.fillColor=de.fillColor,this.strokeColor=de.strokeColor,this.strokeWidth=de.strokeWidth,this.strokeDasharray=de.strokeDasharray,this.textColor=de.textColor,this.fontFamily=de.fontFamily,this.captionText=de.captionText,this.fontSize=de.fontSize,this.createVisual(),xe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,de){xe.prototype.scale.call(this,ue,de),this.setSize()},ce.typeName="CaptionFrameMarker",ce.title="Caption frame marker",ce.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>',ce}(pt),Ut=function(){function xe(ce,ue){ue===void 0&&(ue=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ce,this.cancelable=ue}return Object.defineProperty(xe.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),xe.prototype.preventDefault=function(){this._defaultPrevented=!0},xe}(),Sn=function(xe){function ce(ue,de,fe){var le=xe.call(this,ue,!1)||this;return le.dataUrl=de,le.state=fe,le}return be(ce,xe),ce}(Ut),jt=function(xe){function ce(ue,de,fe){fe===void 0&&(fe=!1);var le=xe.call(this,ue,fe)||this;return le.marker=de,le}return be(ce,xe),ce}(Ut),Jt=function(){function xe(){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 xe.prototype.addEventListener=function(ce,ue){this[ce].push(ue)},xe.prototype.removeEventListener=function(ce,ue){var de=this[ce].indexOf(ue);de>-1&&this[ce].splice(de,1)},xe}(),Ot=function(){function xe(ce){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new ut,this._isOpen=!1,this.undoRedoManager=new st,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 Jt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=xe.instanceCounter++,this.styles=new Re(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ce,this.targetRoot=document.body,this.width=ce.clientWidth,this.height=ce.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(xe.prototype,"ALL_MARKER_TYPES",{get:function(){return[ot,Ne,Dt,xt,Ue,Vt,It,Qe,Mt,Nt,mt,Ht,yn]},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[ot,Ne,Dt,xt,Vt,It,Qe]},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"BASIC_MARKER_TYPES",{get:function(){return[ot,Ne,Dt,xt,It]},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ce){var ue=this;this._availableMarkerTypes.splice(0),ce.forEach(function(de){if(typeof de=="string"){var fe=ue.ALL_MARKER_TYPES.find(function(le){return le.typeName===de});fe!==void 0&&ue._availableMarkerTypes.push(fe)}else ue._availableMarkerTypes.push(de)})},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ce){this._zoomLevel=ce,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(xe.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),xe.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),pe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},xe.prototype.show=function(){var ce=this;this.styles.styleSheetRoot===void 0&&Ee.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ee.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ue){return ue(new Ut(ce))})},xe.prototype.render=function(){return Ce(this,void 0,void 0,function(){var ce;return yt(this,function(ue){switch(ue.label){case 0:return this.setCurrentMarker(),(ce=new ye).naturalSize=this.renderAtNaturalSize,ce.imageType=this.renderImageType,ce.imageQuality=this.renderImageQuality,ce.markersOnly=this.renderMarkersOnly,ce.width=this.renderWidth,ce.height=this.renderHeight,[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ue.sent(),[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ue.sent()]}})})},xe.prototype.close=function(ce){var ue=this;if(ce===void 0&&(ce=!1),this.isOpen){var de=!1;ce||this.eventListeners.beforeclose.forEach(function(fe){var le=new Ut(ue,!0);fe(le),le.defaultPrevented&&(de=!0)}),de||(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(fe){return fe(new Ut(ue))}),this.detachEvents(),this._isOpen=!1)}},xe.prototype.addMarkersToToolbar=function(){for(var ce,ue=[],de=0;de<arguments.length;de++)ue[de]=arguments[de];(ce=this._availableMarkerTypes).push.apply(ce,ue)},xe.prototype.addRenderEventListener=function(ce){this.addEventListener("render",function(ue){ce(ue.dataUrl,ue.state)})},xe.prototype.removeRenderEventListener=function(ce){},xe.prototype.addCloseEventListener=function(ce){this.addEventListener("close",function(){ce()})},xe.prototype.removeCloseEventListener=function(ce){},xe.prototype.setupResizeObserver=function(){var ce=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ce.resize(ce.target.clientWidth,ce.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ce.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},xe.prototype.onPopupTargetResize=function(){var ce=1*this.target.clientWidth/this.target.clientHeight,ue=this.editorCanvas.clientWidth/ce>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ce:this.editorCanvas.clientWidth,de=ue<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ce;this.resize(ue,de)},xe.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},xe.prototype.resize=function(ce,ue){this._isResizing=!0;var de=ce/this.imageWidth,fe=ue/this.imageHeight;this.imageWidth=Math.round(ce),this.imageHeight=Math.round(ue),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(de,fe),this._isResizing=!1},xe.prototype.scaleMarkers=function(ce,ue){var de,fe=this;this._currentMarker&&this._currentMarker instanceof xt?this._currentMarker.scale(ce,ue):(de=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(le){le!==fe._currentMarker&&le.scale(ce,ue)}),de!==void 0&&this.setCurrentMarker(de)},xe.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"},xe.prototype.setTopLeft=function(){var ce=this.editingTarget.getBoundingClientRect(),ue=this.editorCanvas.getBoundingClientRect();this.left=ce.left-ue.left,this.top=ce.top-ue.top},xe.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)},xe.prototype.addDefs=function(){for(var ce,ue=[],de=0;de<arguments.length;de++)ue[de]=arguments[de];this.defs=Ae.createDefs(),this.addDefsToImage(),(ce=this.defs).append.apply(ce,ue)},xe.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},xe.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)},xe.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},xe.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},xe.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)},xe.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},xe.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)},xe.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 ce=document.createElement("a");ce.href="https://markerjs.com/",ce.target="_blank",ce.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>',ce.title="Powered by marker.js",ce.style.display="grid",ce.style.alignItems="center",ce.style.justifyItems="center",ce.style.padding="3px",ce.style.width="20px",ce.style.height="20px",this.logoUI.appendChild(ce),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},xe.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")},xe.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"},xe.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},xe.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 ce=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=ce+"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 Le(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 Ge(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},xe.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},xe.prototype.removeMarker=function(ce){this.markerImage.removeChild(ce.container),this.markers.indexOf(ce)>-1&&this.markers.splice(this.markers.indexOf(ce),1),ce.dispose()},xe.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())},xe.prototype.toolbarButtonClicked=function(ce,ue){if(ce==="marker"&&ue!==void 0)this.createNewMarker(ue);else if(ce==="action")switch(ue){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()}},xe.prototype.deleteSelectedMarker=function(){var ce=this;if(this._currentMarker!==void 0){var ue=!1;if(this.eventListeners.markerbeforedelete.forEach(function(fe){var le=new jt(ce,ce._currentMarker,!0);fe(le),le.defaultPrevented&&(ue=!0)}),!ue){var de=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(fe){return fe(new jt(ce,de))})}}},xe.prototype.clear=function(){var ce=this,ue=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Fe){var at=new jt(ce,void 0,!0);Fe(at),at.defaultPrevented&&(ue=!0)}),!ue)){this.setCurrentMarker();for(var de=function(Fe){var at=fe.markers[Fe];fe.setCurrentMarker(fe.markers[Fe]),fe._currentMarker.dispose(),fe.markerImage.removeChild(fe._currentMarker.container),fe.markers.splice(fe.markers.indexOf(fe._currentMarker),1),fe.eventListeners.markerdelete.forEach(function(Ze){return Ze(new jt(ce,at))})},fe=this,le=this.markers.length-1;le>=0;le--)de(le);this.addUndoStep()}},Object.defineProperty(xe.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),xe.prototype.showNotesEditor=function(){var ce;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=(ce=this._currentMarker.notes)!==null&&ce!==void 0?ce:"",this.overlayContainer.appendChild(this.notesArea))},xe.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)},xe.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},xe.prototype.addUndoStep=function(){var ce=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ue=this.getState(),de=this.undoRedoManager.getLastUndoStep();if(!de||de.width===ue.width&&de.height===ue.height){var fe=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ue),fe<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(le){return le(new Ut(ce))})}else this.undoRedoManager.replaceLastUndoStep(ue),this.eventListeners.statechange.forEach(function(le){return le(new Ut(ce))})}},xe.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},xe.prototype.undoStep=function(){var ce=this,ue=this.undoRedoManager.undo();ue!==void 0&&(this.restoreState(ue),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(de){return de(new Ut(ce))}))},xe.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},xe.prototype.redoStep=function(){var ce=this,ue=this.undoRedoManager.redo();ue!==void 0&&(this.restoreState(ue),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(de){return de(new Ut(ce))}))},xe.prototype.stepZoom=function(){var ce=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ce<this.zoomSteps.length-1?this.zoomSteps[ce+1]:this.zoomSteps[0]},xe.prototype.panTo=function(ce){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ce.x,top:this.prevPanPoint.y-ce.y}),this.prevPanPoint=ce},xe.prototype.startRenderAndClose=function(){return Ce(this,void 0,void 0,function(){var ce,ue,de=this;return yt(this,function(fe){switch(fe.label){case 0:return[4,this.render()];case 1:return ce=fe.sent(),ue=this.getState(),this.eventListeners.render.forEach(function(le){return le(new Sn(de,ce,ue))}),this.close(!0),[2]}})})},xe.prototype.getState=function(ce){ce===!0&&this.setCurrentMarker();var ue={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(de){return ue.markers.push(de.getState())}),ue},xe.prototype.restoreState=function(ce){var ue=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ce.markers.forEach(function(de){var fe=ue._availableMarkerTypes.find(function(Fe){return Fe.typeName===de.typeName});if(fe!==void 0){var le=ue.addNewMarker(fe);le.restoreState(de),ue.markers.push(le)}}),ce.width&&ce.height&&(ce.width!==this.imageWidth||ce.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ce.width,this.imageHeight/ce.height),this.eventListeners.restorestate.forEach(function(de){return de(new Ut(ue))})},xe.prototype.addNewMarker=function(ce){var ue=Ae.createGroup();return this.markerImage.appendChild(ue),new ce(ue,this.overlayContainer,this.settings)},xe.prototype.createNewMarker=function(ce){var ue,de=this;(ue=typeof ce=="string"?this._availableMarkerTypes.find(function(fe){return fe.typeName===ce}):ce)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ue),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(ue.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(fe){return fe(new jt(de,de._currentMarker))}))},xe.prototype.markerCreated=function(ce){var ue=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ce),this.setCurrentMarker(ce),ce instanceof Ne&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Ne):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(de){return de(new jt(ue,ue._currentMarker))})},xe.prototype.colorChanged=function(ce){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ce,this.settings.defaultStrokeColor=ce)},xe.prototype.fillColorChanged=function(ce){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ce)},xe.prototype.markerStateChanged=function(ce){var ue=this;this.eventListeners.markerchange.forEach(function(de){return de(new jt(ue,ce))})},xe.prototype.setCurrentMarker=function(ce){var ue=this;this._currentMarker!==ce&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(de){return de(new jt(ue,ue._currentMarker))})),this._currentMarker=ce,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(de){return de(new jt(ue,ue._currentMarker))}))},xe.prototype.onPointerDown=function(ce){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ce.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ue=this.markers.find(function(de){return de.ownsTarget(ce.target)});ue!==void 0?(this.setCurrentMarker(ue),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ce.clientX,ce.clientY),ce.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ce.clientX,y:ce.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ce.clientX,ce.clientY))},xe.prototype.onDblClick=function(ce){if(this._isFocused||this.focus(),this.mode==="select"){var ue=this.markers.find(function(de){return de.ownsTarget(ce.target)});ue!==void 0&&ue!==this._currentMarker&&this.setCurrentMarker(ue),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ce.clientX,ce.clientY),ce.target):this.setCurrentMarker()}},xe.prototype.onPointerMove=function(ce){this.touchPoints!==1&&ce.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ce.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ce.clientX,ce.clientY)):this.zoomLevel>1&&this.panTo({x:ce.clientX,y:ce.clientY}))},xe.prototype.onPointerUp=function(ce){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ce.clientX,ce.clientY)),this.isDragging=!1,this.addUndoStep()},xe.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},xe.prototype.onKeyUp=function(ce){this._currentMarker===void 0||this.notesArea!==void 0||ce.key!=="Delete"&&ce.key!=="Backspace"||this.deleteSelectedMarker()},xe.prototype.clientToLocalCoordinates=function(ce,ue){var de=this.markerImage.getBoundingClientRect();return{x:(ce-de.left)/this.zoomLevel,y:(ue-de.top)/this.zoomLevel}},xe.prototype.onWindowResize=function(){this.positionUI()},xe.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ce=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ce+"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()},xe.prototype.addLicenseKey=function(ce){pe.addKey(ce)},xe.prototype.addEventListener=function(ce,ue){this.eventListeners.addEventListener(ce,ue)},xe.prototype.removeEventListener=function(ce,ue){this.eventListeners.removeEventListener(ce,ue)},xe.prototype.renderState=function(ce){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ce),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(xe.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),xe.prototype.focus=function(){var ce=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ue){return ue(new Ut(ce))}))},xe.prototype.blur=function(){var ce=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ue){return ue(new Ut(ce))}))},xe.instanceCounter=0,xe}()},5630:function(Ln,pn,ie){"use strict";var ne=ie(54476),be=ie(33885),Ce=ie(20068),yt=ie(42978),Se=ie(75931),Ae=ie(92310),pe=ie.n(Ae),ye=ie(18929),Ee=ie(59301),Re=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],ht=(0,Ee.forwardRef)(function(ke,Le){var Ge,nt=ke.prefixCls,ct=nt===void 0?"rc-checkbox":nt,Et=ke.className,Ct=ke.style,Wt=ke.checked,ft=ke.disabled,pt=ke.defaultChecked,ze=pt===void 0?!1:pt,he=ke.type,it=he===void 0?"checkbox":he,ot=ke.title,ut=ke.onChange,Je=(0,Se.Z)(ke,Re),mt=(0,Ee.useRef)(null),Te=(0,ye.Z)(ze,{value:Wt}),xt=(0,yt.Z)(Te,2),Ne=xt[0],Rt=xt[1];(0,Ee.useImperativeHandle)(Le,function(){return{focus:function(){var It;(It=mt.current)===null||It===void 0||It.focus()},blur:function(){var It;(It=mt.current)===null||It===void 0||It.blur()},input:mt.current}});var Dt=pe()(ct,Et,(Ge={},(0,Ce.Z)(Ge,"".concat(ct,"-checked"),Ne),(0,Ce.Z)(Ge,"".concat(ct,"-disabled"),ft),Ge)),Nt=function(It){ft||("checked"in ke||Rt(It.target.checked),ut==null||ut({target:(0,be.Z)((0,be.Z)({},ke),{},{type:it,checked:It.target.checked}),stopPropagation:function(){It.stopPropagation()},preventDefault:function(){It.preventDefault()},nativeEvent:It.nativeEvent}))};return Ee.createElement("span",{className:Dt,title:ot,style:Ct},Ee.createElement("input",(0,ne.Z)({},Je,{className:"".concat(ct,"-input"),ref:mt,onChange:Nt,disabled:ft,checked:!!Ne,type:it})),Ee.createElement("span",{className:"".concat(ct,"-inner")}))});pn.Z=ht},31561:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return it}});var ne=ie(54476),be=ie(20068),Ce=ie(42978),yt=ie(75931),Se=ie(35593),Ae=ie(92310),pe=ie.n(Ae),ye=ie(8654),Ee=ie(59301),Re=ie(10228),ht=ie(16089),ke=Re.Z.ESC,Le=Re.Z.TAB;function Ge(ot){var ut=ot.visible,Je=ot.triggerRef,mt=ot.onVisibleChange,Te=ot.autoFocus,xt=ot.overlayRef,Ne=Ee.useRef(!1),Rt=function(){if(ut){var It,We;(It=Je.current)===null||It===void 0||(We=It.focus)===null||We===void 0||We.call(It),mt==null||mt(!1)}},Dt=function(){var It;return(It=xt.current)!==null&&It!==void 0&&It.focus?(xt.current.focus(),Ne.current=!0,!0):!1},Nt=function(It){switch(It.keyCode){case ke:Rt();break;case Le:{var We=!1;Ne.current||(We=Dt()),We?It.preventDefault():Rt();break}}};Ee.useEffect(function(){return ut?(window.addEventListener("keydown",Nt),Te&&(0,ht.Z)(Dt,3),function(){window.removeEventListener("keydown",Nt),Ne.current=!1}):function(){Ne.current=!1}},[ut])}var nt=(0,Ee.forwardRef)(function(ot,ut){var Je=ot.overlay,mt=ot.arrow,Te=ot.prefixCls,xt=(0,Ee.useMemo)(function(){var Rt;return typeof Je=="function"?Rt=Je():Rt=Je,Rt},[Je]),Ne=(0,ye.sQ)(ut,xt==null?void 0:xt.ref);return Ee.createElement(Ee.Fragment,null,mt&&Ee.createElement("div",{className:"".concat(Te,"-arrow")}),Ee.cloneElement(xt,{ref:(0,ye.Yr)(xt)?Ne:void 0}))}),ct=nt,Et={adjustX:1,adjustY:1},Ct=[0,0],Wt={topLeft:{points:["bl","tl"],overflow:Et,offset:[0,-4],targetOffset:Ct},top:{points:["bc","tc"],overflow:Et,offset:[0,-4],targetOffset:Ct},topRight:{points:["br","tr"],overflow:Et,offset:[0,-4],targetOffset:Ct},bottomLeft:{points:["tl","bl"],overflow:Et,offset:[0,4],targetOffset:Ct},bottom:{points:["tc","bc"],overflow:Et,offset:[0,4],targetOffset:Ct},bottomRight:{points:["tr","br"],overflow:Et,offset:[0,4],targetOffset:Ct}},ft=Wt,pt=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function ze(ot,ut){var Je,mt=ot.arrow,Te=mt===void 0?!1:mt,xt=ot.prefixCls,Ne=xt===void 0?"rc-dropdown":xt,Rt=ot.transitionName,Dt=ot.animation,Nt=ot.align,wt=ot.placement,It=wt===void 0?"bottomLeft":wt,We=ot.placements,ve=We===void 0?ft:We,Qe=ot.getPopupContainer,Vt=ot.showAction,Mt=ot.hideAction,Ue=ot.overlayClassName,st=ot.overlayStyle,Ht=ot.visible,yn=ot.trigger,Ut=yn===void 0?["hover"]:yn,Sn=ot.autoFocus,jt=ot.overlay,Jt=ot.children,Ot=ot.onVisibleChange,xe=(0,yt.Z)(ot,pt),ce=Ee.useState(),ue=(0,Ce.Z)(ce,2),de=ue[0],fe=ue[1],le="visible"in ot?Ht:de,Fe=Ee.useRef(null),at=Ee.useRef(null),Ze=Ee.useRef(null);Ee.useImperativeHandle(ut,function(){return Fe.current});var Me=function(vt){fe(vt),Ot==null||Ot(vt)};Ge({visible:le,triggerRef:Ze,onVisibleChange:Me,autoFocus:Sn,overlayRef:at});var Lt=function(vt){var Oe=ot.onOverlayClick;fe(!1),Oe&&Oe(vt)},bt=function(){return Ee.createElement(ct,{ref:at,overlay:jt,prefixCls:Ne,arrow:Te})},et=function(){return typeof jt=="function"?bt:bt()},Zt=function(){var vt=ot.minOverlayWidthMatchTrigger,Oe=ot.alignPoint;return"minOverlayWidthMatchTrigger"in ot?vt:!Oe},Cn=function(){var vt=ot.openClassName;return vt!==void 0?vt:"".concat(Ne,"-open")},kt=Ee.cloneElement(Jt,{className:pe()((Je=Jt.props)===null||Je===void 0?void 0:Je.className,le&&Cn()),ref:(0,ye.Yr)(Jt)?(0,ye.sQ)(Ze,Jt.ref):void 0}),Qt=Mt;return!Qt&&Ut.indexOf("contextMenu")!==-1&&(Qt=["click"]),Ee.createElement(Se.Z,(0,ne.Z)({builtinPlacements:ve},xe,{prefixCls:Ne,ref:Fe,popupClassName:pe()(Ue,(0,be.Z)({},"".concat(Ne,"-show-arrow"),Te)),popupStyle:st,action:Ut,showAction:Vt,hideAction:Qt,popupPlacement:It,popupAlign:Nt,popupTransitionName:Rt,popupAnimation:Dt,popupVisible:le,stretch:Zt()?"minWidth":"",popup:et(),onPopupVisibleChange:Me,onPopupClick:Lt,getPopupContainer:Qe}),kt)}var he=Ee.forwardRef(ze),it=he},93681:function(Ln,pn,ie){"use strict";ie.r(pn),ie.d(pn,{BaseInput:function(){return Re},default:function(){return Wt}});var ne=ie(54476),be=ie(33885),Ce=ie(20068),yt=ie(76190),Se=ie(92310),Ae=ie.n(Se),pe=ie(59301),ye=ie(5643),Ee=function(pt){var ze,he,it=pt.inputElement,ot=pt.prefixCls,ut=pt.prefix,Je=pt.suffix,mt=pt.addonBefore,Te=pt.addonAfter,xt=pt.className,Ne=pt.style,Rt=pt.disabled,Dt=pt.readOnly,Nt=pt.focused,wt=pt.triggerFocus,It=pt.allowClear,We=pt.value,ve=pt.handleReset,Qe=pt.hidden,Vt=pt.classes,Mt=pt.classNames,Ue=pt.dataAttrs,st=pt.styles,Ht=pt.components,yn=(Ht==null?void 0:Ht.affixWrapper)||"span",Ut=(Ht==null?void 0:Ht.groupWrapper)||"span",Sn=(Ht==null?void 0:Ht.wrapper)||"span",jt=(Ht==null?void 0:Ht.groupAddon)||"span",Jt=(0,pe.useRef)(null),Ot=function(bt){var et;(et=Jt.current)!==null&&et!==void 0&&et.contains(bt.target)&&(wt==null||wt())},xe=function(){var bt;if(!It)return null;var et=!Rt&&!Dt&&We,Zt="".concat(ot,"-clear-icon"),Cn=(0,yt.Z)(It)==="object"&&It!==null&&It!==void 0&&It.clearIcon?It.clearIcon:"\u2716";return pe.createElement("span",{onClick:ve,onMouseDown:function(Qt){return Qt.preventDefault()},className:Ae()(Zt,(bt={},(0,Ce.Z)(bt,"".concat(Zt,"-hidden"),!et),(0,Ce.Z)(bt,"".concat(Zt,"-has-suffix"),!!Je),bt)),role:"button",tabIndex:-1},Cn)},ce=(0,pe.cloneElement)(it,{value:We,hidden:Qe,className:Ae()((ze=it.props)===null||ze===void 0?void 0:ze.className,!(0,ye.X3)(pt)&&!(0,ye.He)(pt)&&xt)||null,style:(0,be.Z)((0,be.Z)({},(he=it.props)===null||he===void 0?void 0:he.style),!(0,ye.X3)(pt)&&!(0,ye.He)(pt)?Ne:{})});if((0,ye.X3)(pt)){var ue,de="".concat(ot,"-affix-wrapper"),fe=Ae()(de,(ue={},(0,Ce.Z)(ue,"".concat(de,"-disabled"),Rt),(0,Ce.Z)(ue,"".concat(de,"-focused"),Nt),(0,Ce.Z)(ue,"".concat(de,"-readonly"),Dt),(0,Ce.Z)(ue,"".concat(de,"-input-with-clear-btn"),Je&&It&&We),ue),!(0,ye.He)(pt)&&xt,Vt==null?void 0:Vt.affixWrapper,Mt==null?void 0:Mt.affixWrapper),le=(Je||It)&&pe.createElement("span",{className:Ae()("".concat(ot,"-suffix"),Mt==null?void 0:Mt.suffix),style:st==null?void 0:st.suffix},xe(),Je);ce=pe.createElement(yn,(0,ne.Z)({className:fe,style:(0,be.Z)((0,be.Z)({},(0,ye.He)(pt)?void 0:Ne),st==null?void 0:st.affixWrapper),hidden:!(0,ye.He)(pt)&&Qe,onClick:Ot},Ue==null?void 0:Ue.affixWrapper,{ref:Jt}),ut&&pe.createElement("span",{className:Ae()("".concat(ot,"-prefix"),Mt==null?void 0:Mt.prefix),style:st==null?void 0:st.prefix},ut),(0,pe.cloneElement)(it,{value:We,hidden:null}),le)}if((0,ye.He)(pt)){var Fe="".concat(ot,"-group"),at="".concat(Fe,"-addon"),Ze=Ae()("".concat(ot,"-wrapper"),Fe,Vt==null?void 0:Vt.wrapper),Me=Ae()("".concat(ot,"-group-wrapper"),xt,Vt==null?void 0:Vt.group);return pe.createElement(Ut,{className:Me,style:Ne,hidden:Qe},pe.createElement(Sn,{className:Ze},mt&&pe.createElement(jt,{className:at},mt),(0,pe.cloneElement)(ce,{hidden:null}),Te&&pe.createElement(jt,{className:at},Te)))}return ce},Re=Ee,ht=ie(94480),ke=ie(42978),Le=ie(75931),Ge=ie(18929),nt=ie(2738),ct=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Et=(0,pe.forwardRef)(function(ft,pt){var ze=ft.autoComplete,he=ft.onChange,it=ft.onFocus,ot=ft.onBlur,ut=ft.onPressEnter,Je=ft.onKeyDown,mt=ft.prefixCls,Te=mt===void 0?"rc-input":mt,xt=ft.disabled,Ne=ft.htmlSize,Rt=ft.className,Dt=ft.maxLength,Nt=ft.suffix,wt=ft.showCount,It=ft.type,We=It===void 0?"text":It,ve=ft.classes,Qe=ft.classNames,Vt=ft.styles,Mt=(0,Le.Z)(ft,ct),Ue=(0,Ge.Z)(ft.defaultValue,{value:ft.value}),st=(0,ke.Z)(Ue,2),Ht=st[0],yn=st[1],Ut=(0,pe.useState)(!1),Sn=(0,ke.Z)(Ut,2),jt=Sn[0],Jt=Sn[1],Ot=(0,pe.useRef)(null),xe=function(Me){Ot.current&&(0,ye.nH)(Ot.current,Me)};(0,pe.useImperativeHandle)(pt,function(){return{focus:xe,blur:function(){var Me;(Me=Ot.current)===null||Me===void 0||Me.blur()},setSelectionRange:function(Me,Lt,bt){var et;(et=Ot.current)===null||et===void 0||et.setSelectionRange(Me,Lt,bt)},select:function(){var Me;(Me=Ot.current)===null||Me===void 0||Me.select()},input:Ot.current}}),(0,pe.useEffect)(function(){Jt(function(Ze){return Ze&&xt?!1:Ze})},[xt]);var ce=function(Me){ft.value===void 0&&yn(Me.target.value),Ot.current&&(0,ye.rJ)(Ot.current,Me,he)},ue=function(Me){ut&&Me.key==="Enter"&&ut(Me),Je==null||Je(Me)},de=function(Me){Jt(!0),it==null||it(Me)},fe=function(Me){Jt(!1),ot==null||ot(Me)},le=function(Me){yn(""),xe(),Ot.current&&(0,ye.rJ)(Ot.current,Me,he)},Fe=function(){var Me=(0,nt.Z)(ft,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return pe.createElement("input",(0,ne.Z)({autoComplete:ze},Me,{onChange:ce,onFocus:de,onBlur:fe,onKeyDown:ue,className:Ae()(Te,(0,Ce.Z)({},"".concat(Te,"-disabled"),xt),Qe==null?void 0:Qe.input),style:Vt==null?void 0:Vt.input,ref:Ot,size:Ne,type:We}))},at=function(){var Me=Number(Dt)>0;if(Nt||wt){var Lt=(0,ye.D7)(Ht),bt=(0,ht.Z)(Lt).length,et=(0,yt.Z)(wt)==="object"?wt.formatter({value:Lt,count:bt,maxLength:Dt}):"".concat(bt).concat(Me?" / ".concat(Dt):"");return pe.createElement(pe.Fragment,null,!!wt&&pe.createElement("span",{className:Ae()("".concat(Te,"-show-count-suffix"),(0,Ce.Z)({},"".concat(Te,"-show-count-has-suffix"),!!Nt),Qe==null?void 0:Qe.count),style:(0,be.Z)({},Vt==null?void 0:Vt.count)},et),Nt)}return null};return pe.createElement(Re,(0,ne.Z)({},Mt,{prefixCls:Te,className:Rt,inputElement:Fe(),handleReset:le,value:(0,ye.D7)(Ht),focused:jt,triggerFocus:xe,suffix:at(),disabled:xt,classes:ve,classNames:Qe,styles:Vt}))}),Ct=Et,Wt=Ct},5643:function(Ln,pn,ie){"use strict";ie.d(pn,{D7:function(){return Se},He:function(){return ne},X3:function(){return be},nH:function(){return yt},rJ:function(){return Ce}});function ne(Ae){return!!(Ae.addonBefore||Ae.addonAfter)}function be(Ae){return!!(Ae.prefix||Ae.suffix||Ae.allowClear)}function Ce(Ae,pe,ye,Ee){if(ye){var Re=pe;if(pe.type==="click"){var ht=Ae.cloneNode(!0);Re=Object.create(pe,{target:{value:ht},currentTarget:{value:ht}}),ht.value="",ye(Re);return}if(Ee!==void 0){Re=Object.create(pe,{target:{value:Ae},currentTarget:{value:Ae}}),Ae.value=Ee,ye(Re);return}ye(Re)}}function yt(Ae,pe){if(Ae){Ae.focus(pe);var ye=pe||{},Ee=ye.cursor;if(Ee){var Re=Ae.value.length;switch(Ee){case"start":Ae.setSelectionRange(0,0);break;case"end":Ae.setSelectionRange(Re,Re);break;default:Ae.setSelectionRange(0,Re)}}}}function Se(Ae){return typeof Ae=="undefined"||Ae===null?"":String(Ae)}},15285:function(Ln,pn,ie){"use strict";ie.d(pn,{iz:function(){return In},ck:function(){return Br},BW:function(){return Jn},sN:function(){return Br},Wd:function(){return dt},ZP:function(){return Yr},Xl:function(){return Je}});var ne=ie(54476),be=ie(20068),Ce=ie(33885),yt=ie(94480),Se=ie(42978),Ae=ie(75931),pe=ie(92310),ye=ie.n(pe),Ee=ie(83836),Re=ie(18929),ht=ie(13697),ke=ie(48736),Le=ie(59301),Ge=ie(4676),nt=Le.createContext(null);function ct(_t,xn){return _t===void 0?null:"".concat(_t,"-").concat(xn)}function Et(_t){var xn=Le.useContext(nt);return ct(xn,_t)}var Ct=ie(80547),Wt=["children","locked"],ft=Le.createContext(null);function pt(_t,xn){var Dn=(0,Ce.Z)({},_t);return Object.keys(xn).forEach(function(Un){var Bn=xn[Un];Bn!==void 0&&(Dn[Un]=Bn)}),Dn}function ze(_t){var xn=_t.children,Dn=_t.locked,Un=(0,Ae.Z)(_t,Wt),Bn=Le.useContext(ft),Vn=(0,Ct.Z)(function(){return pt(Bn,Un)},[Bn,Un],function(Nn,ir){return!Dn&&(Nn[0]!==ir[0]||!(0,ht.Z)(Nn[1],ir[1],!0))});return Le.createElement(ft.Provider,{value:Vn},xn)}var he=[],it=Le.createContext(null);function ot(){return Le.useContext(it)}var ut=Le.createContext(he);function Je(_t){var xn=Le.useContext(ut);return Le.useMemo(function(){return _t!==void 0?[].concat((0,yt.Z)(xn),[_t]):xn},[xn,_t])}var mt=Le.createContext(null),Te=Le.createContext({}),xt=Te,Ne=ie(29194);function Rt(_t){var xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Ne.Z)(_t)){var Dn=_t.nodeName.toLowerCase(),Un=["input","select","textarea","button"].includes(Dn)||_t.isContentEditable||Dn==="a"&&!!_t.getAttribute("href"),Bn=_t.getAttribute("tabindex"),Vn=Number(Bn),Nn=null;return Bn&&!Number.isNaN(Vn)?Nn=Vn:Un&&Nn===null&&(Nn=0),Un&&_t.disabled&&(Nn=null),Nn!==null&&(Nn>=0||xn&&Nn<0)}return!1}function Dt(_t){var xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dn=(0,yt.Z)(_t.querySelectorAll("*")).filter(function(Un){return Rt(Un,xn)});return Rt(_t,xn)&&Dn.unshift(_t),Dn}var Nt=null;function wt(){Nt=document.activeElement}function It(){Nt=null}function We(){if(Nt)try{Nt.focus()}catch(_t){}}function ve(_t,xn){if(xn.keyCode===9){var Dn=Dt(_t),Un=Dn[xn.shiftKey?0:Dn.length-1],Bn=Un===document.activeElement||_t===document.activeElement;if(Bn){var Vn=Dn[xn.shiftKey?Dn.length-1:0];Vn.focus(),xn.preventDefault()}}}var Qe=ie(10228),Vt=ie(16089),Mt=Qe.Z.LEFT,Ue=Qe.Z.RIGHT,st=Qe.Z.UP,Ht=Qe.Z.DOWN,yn=Qe.Z.ENTER,Ut=Qe.Z.ESC,Sn=Qe.Z.HOME,jt=Qe.Z.END,Jt=[st,Ht,Mt,Ue];function Ot(_t,xn,Dn,Un){var Bn,Vn,Nn,ir,Cr="prev",Nr="next",ai="children",si="parent";if(_t==="inline"&&Un===yn)return{inlineTrigger:!0};var mi=(Bn={},(0,be.Z)(Bn,st,Cr),(0,be.Z)(Bn,Ht,Nr),Bn),br=(Vn={},(0,be.Z)(Vn,Mt,Dn?Nr:Cr),(0,be.Z)(Vn,Ue,Dn?Cr:Nr),(0,be.Z)(Vn,Ht,ai),(0,be.Z)(Vn,yn,ai),Vn),Hr=(Nn={},(0,be.Z)(Nn,st,Cr),(0,be.Z)(Nn,Ht,Nr),(0,be.Z)(Nn,yn,ai),(0,be.Z)(Nn,Ut,si),(0,be.Z)(Nn,Mt,Dn?ai:si),(0,be.Z)(Nn,Ue,Dn?si:ai),Nn),Lr={inline:mi,horizontal:br,vertical:Hr,inlineSub:mi,horizontalSub:Hr,verticalSub:Hr},ni=(ir=Lr["".concat(_t).concat(xn?"":"Sub")])===null||ir===void 0?void 0:ir[Un];switch(ni){case Cr:return{offset:-1,sibling:!0};case Nr:return{offset:1,sibling:!0};case si:return{offset:-1,sibling:!1};case ai:return{offset:1,sibling:!1};default:return null}}function xe(_t){for(var xn=_t;xn;){if(xn.getAttribute("data-menu-list"))return xn;xn=xn.parentElement}return null}function ce(_t,xn){for(var Dn=_t||document.activeElement;Dn;){if(xn.has(Dn))return Dn;Dn=Dn.parentElement}return null}function ue(_t,xn){var Dn=Dt(_t,!0);return Dn.filter(function(Un){return xn.has(Un)})}function de(_t,xn,Dn){var Un=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!_t)return null;var Bn=ue(_t,xn),Vn=Bn.length,Nn=Bn.findIndex(function(ir){return Dn===ir});return Un<0?Nn===-1?Nn=Vn-1:Nn-=1:Un>0&&(Nn+=1),Nn=(Nn+Vn)%Vn,Bn[Nn]}var fe=function(xn,Dn){var Un=new Set,Bn=new Map,Vn=new Map;return xn.forEach(function(Nn){var ir=document.querySelector("[data-menu-id='".concat(ct(Dn,Nn),"']"));ir&&(Un.add(ir),Vn.set(ir,Nn),Bn.set(Nn,ir))}),{elements:Un,key2element:Bn,element2key:Vn}};function le(_t,xn,Dn,Un,Bn,Vn,Nn,ir,Cr,Nr){var ai=Le.useRef(),si=Le.useRef();si.current=xn;var mi=function(){Vt.Z.cancel(ai.current)};return Le.useEffect(function(){return function(){mi()}},[]),function(br){var Hr=br.which;if([].concat(Jt,[yn,Ut,Sn,jt]).includes(Hr)){var Lr=Vn(),ni=fe(Lr,Un),$r=ni,Fr=$r.elements,Vr=$r.key2element,ei=$r.element2key,_r=Vr.get(xn),ki=ce(_r,Fr),Ki=ei.get(ki),hi=Ot(_t,Nn(Ki,!0).length===1,Dn,Hr);if(!hi&&Hr!==Sn&&Hr!==jt)return;(Jt.includes(Hr)||[Sn,jt].includes(Hr))&&br.preventDefault();var Dr=function(gn){if(gn){var Yn=gn,Pt=gn.querySelector("a");Pt!=null&&Pt.getAttribute("href")&&(Yn=Pt);var fn=ei.get(gn);ir(fn),mi(),ai.current=(0,Vt.Z)(function(){si.current===fn&&Yn.focus()})}};if([Sn,jt].includes(Hr)||hi.sibling||!ki){var or;!ki||_t==="inline"?or=Bn.current:or=xe(ki);var ui,gi=ue(or,Fr);Hr===Sn?ui=gi[0]:Hr===jt?ui=gi[gi.length-1]:ui=de(or,Fr,ki,hi.offset),Dr(ui)}else if(hi.inlineTrigger)Cr(Ki);else if(hi.offset>0)Cr(Ki,!0),mi(),ai.current=(0,Vt.Z)(function(){ni=fe(Lr,Un);var Yt=ki.getAttribute("aria-controls"),gn=document.getElementById(Yt),Yn=de(gn,ni.elements);Dr(Yn)},5);else if(hi.offset<0){var Pi=Nn(Ki,!0),rt=Pi[Pi.length-2],gt=Vr.get(rt);Cr(rt,!1),Dr(gt)}}Nr==null||Nr(br)}}function Fe(_t){Promise.resolve().then(_t)}var at="__RC_UTIL_PATH_SPLIT__",Ze=function(xn){return xn.join(at)},Me=function(xn){return xn.split(at)},Lt="rc-menu-more";function bt(){var _t=Le.useState({}),xn=(0,Se.Z)(_t,2),Dn=xn[1],Un=(0,Le.useRef)(new Map),Bn=(0,Le.useRef)(new Map),Vn=Le.useState([]),Nn=(0,Se.Z)(Vn,2),ir=Nn[0],Cr=Nn[1],Nr=(0,Le.useRef)(0),ai=(0,Le.useRef)(!1),si=function(){ai.current||Dn({})},mi=(0,Le.useCallback)(function(Vr,ei){var _r=Ze(ei);Bn.current.set(_r,Vr),Un.current.set(Vr,_r),Nr.current+=1;var ki=Nr.current;Fe(function(){ki===Nr.current&&si()})},[]),br=(0,Le.useCallback)(function(Vr,ei){var _r=Ze(ei);Bn.current.delete(_r),Un.current.delete(Vr)},[]),Hr=(0,Le.useCallback)(function(Vr){Cr(Vr)},[]),Lr=(0,Le.useCallback)(function(Vr,ei){var _r=Un.current.get(Vr)||"",ki=Me(_r);return ei&&ir.includes(ki[0])&&ki.unshift(Lt),ki},[ir]),ni=(0,Le.useCallback)(function(Vr,ei){return Vr.some(function(_r){var ki=Lr(_r,!0);return ki.includes(ei)})},[Lr]),$r=function(){var ei=(0,yt.Z)(Un.current.keys());return ir.length&&ei.push(Lt),ei},Fr=(0,Le.useCallback)(function(Vr){var ei="".concat(Un.current.get(Vr)).concat(at),_r=new Set;return(0,yt.Z)(Bn.current.keys()).forEach(function(ki){ki.startsWith(ei)&&_r.add(Bn.current.get(ki))}),_r},[]);return Le.useEffect(function(){return function(){ai.current=!0}},[]),{registerPath:mi,unregisterPath:br,refreshOverflowKeys:Hr,isSubPathKey:ni,getKeyPath:Lr,getKeys:$r,getSubPathKeys:Fr}}function et(_t){var xn=Le.useRef(_t);xn.current=_t;var Dn=Le.useCallback(function(){for(var Un,Bn=arguments.length,Vn=new Array(Bn),Nn=0;Nn<Bn;Nn++)Vn[Nn]=arguments[Nn];return(Un=xn.current)===null||Un===void 0?void 0:Un.call.apply(Un,[xn].concat(Vn))},[]);return _t?Dn:void 0}var Zt=Math.random().toFixed(5).toString().slice(2),Cn=0;function kt(_t){var xn=(0,Re.Z)(_t,{value:_t}),Dn=(0,Se.Z)(xn,2),Un=Dn[0],Bn=Dn[1];return Le.useEffect(function(){Cn+=1;var Vn="".concat(Zt,"-").concat(Cn);Bn("rc-menu-uuid-".concat(Vn))},[]),Un}var Qt=ie(67732),cn=ie(83652),vt=ie(42403),Oe=ie(158),tt=ie(2738),ln=ie(8654);function dn(_t,xn,Dn,Un){var Bn=Le.useContext(ft),Vn=Bn.activeKey,Nn=Bn.onActive,ir=Bn.onInactive,Cr={active:Vn===_t};return xn||(Cr.onMouseEnter=function(Nr){Dn==null||Dn({key:_t,domEvent:Nr}),Nn(_t)},Cr.onMouseLeave=function(Nr){Un==null||Un({key:_t,domEvent:Nr}),ir(_t)}),Cr}function An(_t){var xn=Le.useContext(ft),Dn=xn.mode,Un=xn.rtl,Bn=xn.inlineIndent;if(Dn!=="inline")return null;var Vn=_t;return Un?{paddingRight:Vn*Bn}:{paddingLeft:Vn*Bn}}function Xn(_t){var xn=_t.icon,Dn=_t.props,Un=_t.children,Bn;return xn===null||xn===!1?null:(typeof xn=="function"?Bn=Le.createElement(xn,(0,Ce.Z)({},Dn)):typeof xn!="boolean"&&(Bn=xn),Bn||Un||null)}var Gt=["item"];function nr(_t){var xn=_t.item,Dn=(0,Ae.Z)(_t,Gt);return Object.defineProperty(Dn,"item",{get:function(){return(0,ke.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),xn}}),Dn}var wr=["title","attribute","elementRef"],kr=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],rr=["active"],Ar=function(_t){(0,vt.Z)(Dn,_t);var xn=(0,Oe.Z)(Dn);function Dn(){return(0,Qt.Z)(this,Dn),xn.apply(this,arguments)}return(0,cn.Z)(Dn,[{key:"render",value:function(){var Bn=this.props,Vn=Bn.title,Nn=Bn.attribute,ir=Bn.elementRef,Cr=(0,Ae.Z)(Bn,wr),Nr=(0,tt.Z)(Cr,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,ke.ZP)(!Nn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),Le.createElement(Ee.Z.Item,(0,ne.Z)({},Nn,{title:typeof Vn=="string"?Vn:void 0},Nr,{ref:ir}))}}]),Dn}(Le.Component),li=Le.forwardRef(function(_t,xn){var Dn,Un=_t.style,Bn=_t.className,Vn=_t.eventKey,Nn=_t.warnKey,ir=_t.disabled,Cr=_t.itemIcon,Nr=_t.children,ai=_t.role,si=_t.onMouseEnter,mi=_t.onMouseLeave,br=_t.onClick,Hr=_t.onKeyDown,Lr=_t.onFocus,ni=(0,Ae.Z)(_t,kr),$r=Et(Vn),Fr=Le.useContext(ft),Vr=Fr.prefixCls,ei=Fr.onItemClick,_r=Fr.disabled,ki=Fr.overflowDisabled,Ki=Fr.itemIcon,hi=Fr.selectedKeys,Dr=Fr.onActive,or=Le.useContext(xt),ui=or._internalRenderMenuItem,gi="".concat(Vr,"-item"),Pi=Le.useRef(),rt=Le.useRef(),gt=_r||ir,Yt=(0,ln.x1)(xn,rt),gn=Je(Vn),Yn=function(Tr){return{key:Vn,keyPath:(0,yt.Z)(gn).reverse(),item:Pi.current,domEvent:Tr}},Pt=Cr||Ki,fn=dn(Vn,gt,si,mi),Wn=fn.active,Qn=(0,Ae.Z)(fn,rr),Mr=hi.includes(Vn),Ci=An(gn.length),ri=function(Tr){if(!gt){var Zr=Yn(Tr);br==null||br(nr(Zr)),ei(Zr)}},ii=function(Tr){if(Hr==null||Hr(Tr),Tr.which===Qe.Z.ENTER){var Zr=Yn(Tr);br==null||br(nr(Zr)),ei(Zr)}},Ii=function(Tr){Dr(Vn),Lr==null||Lr(Tr)},da={};_t.role==="option"&&(da["aria-selected"]=Mr);var yr=Le.createElement(Ar,(0,ne.Z)({ref:Pi,elementRef:Yt,role:ai===null?"none":ai||"menuitem",tabIndex:ir?null:-1,"data-menu-id":ki&&$r?null:$r},ni,Qn,da,{component:"li","aria-disabled":ir,style:(0,Ce.Z)((0,Ce.Z)({},Ci),Un),className:ye()(gi,(Dn={},(0,be.Z)(Dn,"".concat(gi,"-active"),Wn),(0,be.Z)(Dn,"".concat(gi,"-selected"),Mr),(0,be.Z)(Dn,"".concat(gi,"-disabled"),gt),Dn),Bn),onClick:ri,onKeyDown:ii,onFocus:Ii}),Nr,Le.createElement(Xn,{props:(0,Ce.Z)((0,Ce.Z)({},_t),{},{isSelected:Mr}),icon:Pt}));return ui&&(yr=ui(yr,_t,{selected:Mr})),yr});function xr(_t,xn){var Dn=_t.eventKey,Un=ot(),Bn=Je(Dn);return Le.useEffect(function(){if(Un)return Un.registerPath(Dn,Bn),function(){Un.unregisterPath(Dn,Bn)}},[Bn]),Un?null:Le.createElement(li,(0,ne.Z)({},_t,{ref:xn}))}var Br=Le.forwardRef(xr),ti=["className","children"],Rn=function(xn,Dn){var Un=xn.className,Bn=xn.children,Vn=(0,Ae.Z)(xn,ti),Nn=Le.useContext(ft),ir=Nn.prefixCls,Cr=Nn.mode,Nr=Nn.rtl;return Le.createElement("ul",(0,ne.Z)({className:ye()(ir,Nr&&"".concat(ir,"-rtl"),"".concat(ir,"-sub"),"".concat(ir,"-").concat(Cr==="inline"?"inline":"vertical"),Un),role:"menu"},Vn,{"data-menu-list":!0,ref:Dn}),Bn)},tn=Le.forwardRef(Rn);tn.displayName="SubMenuList";var zn=tn,er=ie(11592);function zt(_t,xn){return(0,er.Z)(_t).map(function(Dn,Un){if(Le.isValidElement(Dn)){var Bn,Vn,Nn=Dn.key,ir=(Bn=(Vn=Dn.props)===null||Vn===void 0?void 0:Vn.eventKey)!==null&&Bn!==void 0?Bn:Nn,Cr=ir==null;Cr&&(ir="tmp_key-".concat([].concat((0,yt.Z)(xn),[Un]).join("-")));var Nr={key:ir,eventKey:ir};return Le.cloneElement(Dn,Nr)}return Dn})}var bn=ie(35593),kn={adjustX:1,adjustY:1},Tt={topLeft:{points:["bl","tl"],overflow:kn},topRight:{points:["br","tr"],overflow:kn},bottomLeft:{points:["tl","bl"],overflow:kn},bottomRight:{points:["tr","br"],overflow:kn},leftTop:{points:["tr","tl"],overflow:kn},leftBottom:{points:["br","bl"],overflow:kn},rightTop:{points:["tl","tr"],overflow:kn},rightBottom:{points:["bl","br"],overflow:kn}},an={topLeft:{points:["bl","tl"],overflow:kn},topRight:{points:["br","tr"],overflow:kn},bottomLeft:{points:["tl","bl"],overflow:kn},bottomRight:{points:["tr","br"],overflow:kn},rightTop:{points:["tr","tl"],overflow:kn},rightBottom:{points:["br","bl"],overflow:kn},leftTop:{points:["tl","tr"],overflow:kn},leftBottom:{points:["bl","br"],overflow:kn}},sn=null;function rn(_t,xn,Dn){if(xn)return xn;if(Dn)return Dn[_t]||Dn.other}var $n={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ft(_t){var xn=_t.prefixCls,Dn=_t.visible,Un=_t.children,Bn=_t.popup,Vn=_t.popupStyle,Nn=_t.popupClassName,ir=_t.popupOffset,Cr=_t.disabled,Nr=_t.mode,ai=_t.onVisibleChange,si=Le.useContext(ft),mi=si.getPopupContainer,br=si.rtl,Hr=si.subMenuOpenDelay,Lr=si.subMenuCloseDelay,ni=si.builtinPlacements,$r=si.triggerSubMenuAction,Fr=si.forceSubMenuRender,Vr=si.rootClassName,ei=si.motion,_r=si.defaultMotions,ki=Le.useState(!1),Ki=(0,Se.Z)(ki,2),hi=Ki[0],Dr=Ki[1],or=br?(0,Ce.Z)((0,Ce.Z)({},an),ni):(0,Ce.Z)((0,Ce.Z)({},Tt),ni),ui=$n[Nr],gi=rn(Nr,ei,_r),Pi=Le.useRef(gi);Nr!=="inline"&&(Pi.current=gi);var rt=(0,Ce.Z)((0,Ce.Z)({},Pi.current),{},{leavedClassName:"".concat(xn,"-hidden"),removeOnLeave:!1,motionAppear:!0}),gt=Le.useRef();return Le.useEffect(function(){return gt.current=(0,Vt.Z)(function(){Dr(Dn)}),function(){Vt.Z.cancel(gt.current)}},[Dn]),Le.createElement(bn.Z,{prefixCls:xn,popupClassName:ye()("".concat(xn,"-popup"),(0,be.Z)({},"".concat(xn,"-rtl"),br),Nn,Vr),stretch:Nr==="horizontal"?"minWidth":null,getPopupContainer:mi,builtinPlacements:or,popupPlacement:ui,popupVisible:hi,popup:Bn,popupStyle:Vn,popupAlign:ir&&{offset:ir},action:Cr?[]:[$r],mouseEnterDelay:Hr,mouseLeaveDelay:Lr,onPopupVisibleChange:ai,forceRender:Fr,popupMotion:rt,fresh:!0},Un)}var Ie=ie(77900);function Xe(_t){var xn=_t.id,Dn=_t.open,Un=_t.keyPath,Bn=_t.children,Vn="inline",Nn=Le.useContext(ft),ir=Nn.prefixCls,Cr=Nn.forceSubMenuRender,Nr=Nn.motion,ai=Nn.defaultMotions,si=Nn.mode,mi=Le.useRef(!1);mi.current=si===Vn;var br=Le.useState(!mi.current),Hr=(0,Se.Z)(br,2),Lr=Hr[0],ni=Hr[1],$r=mi.current?Dn:!1;Le.useEffect(function(){mi.current&&ni(!1)},[si]);var Fr=(0,Ce.Z)({},rn(Vn,Nr,ai));Un.length>1&&(Fr.motionAppear=!1);var Vr=Fr.onVisibleChanged;return Fr.onVisibleChanged=function(ei){return!mi.current&&!ei&&ni(!0),Vr==null?void 0:Vr(ei)},Lr?null:Le.createElement(ze,{mode:Vn,locked:!mi.current},Le.createElement(Ie.default,(0,ne.Z)({visible:$r},Fr,{forceRender:Cr,removeOnLeave:!1,leavedClassName:"".concat(ir,"-hidden")}),function(ei){var _r=ei.className,ki=ei.style;return Le.createElement(zn,{id:xn,className:_r,style:ki},Bn)}))}var He=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ke=["active"],Bt=function(xn){var Dn,Un=xn.style,Bn=xn.className,Vn=xn.title,Nn=xn.eventKey,ir=xn.warnKey,Cr=xn.disabled,Nr=xn.internalPopupClose,ai=xn.children,si=xn.itemIcon,mi=xn.expandIcon,br=xn.popupClassName,Hr=xn.popupOffset,Lr=xn.popupStyle,ni=xn.onClick,$r=xn.onMouseEnter,Fr=xn.onMouseLeave,Vr=xn.onTitleClick,ei=xn.onTitleMouseEnter,_r=xn.onTitleMouseLeave,ki=(0,Ae.Z)(xn,He),Ki=Et(Nn),hi=Le.useContext(ft),Dr=hi.prefixCls,or=hi.mode,ui=hi.openKeys,gi=hi.disabled,Pi=hi.overflowDisabled,rt=hi.activeKey,gt=hi.selectedKeys,Yt=hi.itemIcon,gn=hi.expandIcon,Yn=hi.onItemClick,Pt=hi.onOpenChange,fn=hi.onActive,Wn=Le.useContext(xt),Qn=Wn._internalRenderSubMenuItem,Mr=Le.useContext(mt),Ci=Mr.isSubPathKey,ri=Je(),ii="".concat(Dr,"-submenu"),Ii=gi||Cr,da=Le.useRef(),yr=Le.useRef(),Kr=si!=null?si:Yt,Tr=mi!=null?mi:gn,Zr=ui.includes(Nn),wi=!Pi&&Zr,ua=Ci(gt,Nn),la=dn(Nn,Ii,ei,_r),va=la.active,$i=(0,Ae.Z)(la,Ke),ga=Le.useState(!1),Wa=(0,Se.Z)(ga,2),Xa=Wa[0],oo=Wa[1],yo=function(Zi){Ii||oo(Zi)},so=function(Zi){yo(!0),$r==null||$r({key:Nn,domEvent:Zi})},sl=function(Zi){yo(!1),Fr==null||Fr({key:Nn,domEvent:Zi})},ja=Le.useMemo(function(){return va||(or!=="inline"?Xa||Ci([rt],Nn):!1)},[or,va,rt,Xa,Nn,Ci]),Va=An(ri.length),Gn=function(Zi){Ii||(Vr==null||Vr({key:Nn,domEvent:Zi}),or==="inline"&&Pt(Nn,!Zr))},Hn=et(function(Ji){ni==null||ni(nr(Ji)),Yn(Ji)}),Fn=function(Zi){or!=="inline"&&Pt(Nn,Zi)},gr=function(){fn(Nn)},Rr=Ki&&"".concat(Ki,"-popup"),Or=Le.createElement("div",(0,ne.Z)({role:"menuitem",style:Va,className:"".concat(ii,"-title"),tabIndex:Ii?null:-1,ref:da,title:typeof Vn=="string"?Vn:null,"data-menu-id":Pi&&Ki?null:Ki,"aria-expanded":wi,"aria-haspopup":!0,"aria-controls":Rr,"aria-disabled":Ii,onClick:Gn,onFocus:gr},$i),Vn,Le.createElement(Xn,{icon:or!=="horizontal"?Tr:void 0,props:(0,Ce.Z)((0,Ce.Z)({},xn),{},{isOpen:wi,isSubMenu:!0})},Le.createElement("i",{className:"".concat(ii,"-arrow")}))),ur=Le.useRef(or);if(or!=="inline"&&ri.length>1?ur.current="vertical":ur.current=or,!Pi){var ci=ur.current;Or=Le.createElement(Ft,{mode:ci,prefixCls:ii,visible:!Nr&&wi&&or!=="inline",popupClassName:br,popupOffset:Hr,popupStyle:Lr,popup:Le.createElement(ze,{mode:ci==="horizontal"?"vertical":ci},Le.createElement(zn,{id:Rr,ref:yr},ai)),disabled:Ii,onVisibleChange:Fn},Or)}var _i=Le.createElement(Ee.Z.Item,(0,ne.Z)({role:"none"},ki,{component:"li",style:Un,className:ye()(ii,"".concat(ii,"-").concat(or),Bn,(Dn={},(0,be.Z)(Dn,"".concat(ii,"-open"),wi),(0,be.Z)(Dn,"".concat(ii,"-active"),ja),(0,be.Z)(Dn,"".concat(ii,"-selected"),ua),(0,be.Z)(Dn,"".concat(ii,"-disabled"),Ii),Dn)),onMouseEnter:so,onMouseLeave:sl}),Or,!Pi&&Le.createElement(Xe,{id:Rr,open:wi,keyPath:ri},ai));return Qn&&(_i=Qn(_i,xn,{selected:ua,active:ja,open:wi,disabled:Ii})),Le.createElement(ze,{onItemClick:Hn,mode:or==="horizontal"?"vertical":or,itemIcon:Kr,expandIcon:Tr},_i)};function dt(_t){var xn=_t.eventKey,Dn=_t.children,Un=Je(xn),Bn=zt(Dn,Un),Vn=ot();Le.useEffect(function(){if(Vn)return Vn.registerPath(xn,Un),function(){Vn.unregisterPath(xn,Un)}},[Un]);var Nn;return Vn?Nn=Bn:Nn=Le.createElement(Bt,_t,Bn),Le.createElement(ut.Provider,{value:Un},Nn)}var on=ie(76190),nn=["className","title","eventKey","children"],hn=["children"],Pn=function(xn){var Dn=xn.className,Un=xn.title,Bn=xn.eventKey,Vn=xn.children,Nn=(0,Ae.Z)(xn,nn),ir=Le.useContext(ft),Cr=ir.prefixCls,Nr="".concat(Cr,"-item-group");return Le.createElement("li",(0,ne.Z)({role:"presentation"},Nn,{onClick:function(si){return si.stopPropagation()},className:ye()(Nr,Dn)}),Le.createElement("div",{role:"presentation",className:"".concat(Nr,"-title"),title:typeof Un=="string"?Un:void 0},Un),Le.createElement("ul",{role:"group",className:"".concat(Nr,"-list")},Vn))};function Jn(_t){var xn=_t.children,Dn=(0,Ae.Z)(_t,hn),Un=Je(Dn.eventKey),Bn=zt(xn,Un),Vn=ot();return Vn?Bn:Le.createElement(Pn,(0,tt.Z)(Dn,["warnKey"]),Bn)}function In(_t){var xn=_t.className,Dn=_t.style,Un=Le.useContext(ft),Bn=Un.prefixCls,Vn=ot();return Vn?null:Le.createElement("li",{role:"separator",className:ye()("".concat(Bn,"-item-divider"),xn),style:Dn})}var Xt=["label","children","key","type"];function wn(_t){return(_t||[]).map(function(xn,Dn){if(xn&&(0,on.Z)(xn)==="object"){var Un=xn,Bn=Un.label,Vn=Un.children,Nn=Un.key,ir=Un.type,Cr=(0,Ae.Z)(Un,Xt),Nr=Nn!=null?Nn:"tmp-".concat(Dn);return Vn||ir==="group"?ir==="group"?Le.createElement(Jn,(0,ne.Z)({key:Nr},Cr,{title:Bn}),wn(Vn)):Le.createElement(dt,(0,ne.Z)({key:Nr},Cr,{title:Bn}),wn(Vn)):ir==="divider"?Le.createElement(In,(0,ne.Z)({key:Nr},Cr)):Le.createElement(Br,(0,ne.Z)({key:Nr},Cr),Bn)}return null}).filter(function(xn){return xn})}function pr(_t,xn,Dn){var Un=_t;return xn&&(Un=wn(xn)),zt(Un,Dn)}var lr=["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"],ar=[],dr=Le.forwardRef(function(_t,xn){var Dn,Un,Bn=_t,Vn=Bn.prefixCls,Nn=Vn===void 0?"rc-menu":Vn,ir=Bn.rootClassName,Cr=Bn.style,Nr=Bn.className,ai=Bn.tabIndex,si=ai===void 0?0:ai,mi=Bn.items,br=Bn.children,Hr=Bn.direction,Lr=Bn.id,ni=Bn.mode,$r=ni===void 0?"vertical":ni,Fr=Bn.inlineCollapsed,Vr=Bn.disabled,ei=Bn.disabledOverflow,_r=Bn.subMenuOpenDelay,ki=_r===void 0?.1:_r,Ki=Bn.subMenuCloseDelay,hi=Ki===void 0?.1:Ki,Dr=Bn.forceSubMenuRender,or=Bn.defaultOpenKeys,ui=Bn.openKeys,gi=Bn.activeKey,Pi=Bn.defaultActiveFirst,rt=Bn.selectable,gt=rt===void 0?!0:rt,Yt=Bn.multiple,gn=Yt===void 0?!1:Yt,Yn=Bn.defaultSelectedKeys,Pt=Bn.selectedKeys,fn=Bn.onSelect,Wn=Bn.onDeselect,Qn=Bn.inlineIndent,Mr=Qn===void 0?24:Qn,Ci=Bn.motion,ri=Bn.defaultMotions,ii=Bn.triggerSubMenuAction,Ii=ii===void 0?"hover":ii,da=Bn.builtinPlacements,yr=Bn.itemIcon,Kr=Bn.expandIcon,Tr=Bn.overflowedIndicator,Zr=Tr===void 0?"...":Tr,wi=Bn.overflowedIndicatorPopupClassName,ua=Bn.getPopupContainer,la=Bn.onClick,va=Bn.onOpenChange,$i=Bn.onKeyDown,ga=Bn.openAnimation,Wa=Bn.openTransitionName,Xa=Bn._internalRenderMenuItem,oo=Bn._internalRenderSubMenuItem,yo=(0,Ae.Z)(Bn,lr),so=Le.useMemo(function(){return pr(br,mi,ar)},[br,mi]),sl=Le.useState(!1),ja=(0,Se.Z)(sl,2),Va=ja[0],Gn=ja[1],Hn=Le.useRef(),Fn=kt(Lr),gr=Hr==="rtl",Rr=(0,Re.Z)(or,{value:ui,postState:function(Mo){return Mo||ar}}),Or=(0,Se.Z)(Rr,2),ur=Or[0],ci=Or[1],_i=function(Mo){var Vo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Is(){ci(Mo),va==null||va(Mo)}Vo?(0,Ge.flushSync)(Is):Is()},Ji=Le.useState(ur),Zi=(0,Se.Z)(Ji,2),di=Zi[0],Vi=Zi[1],Hi=Le.useRef(!1),La=Le.useMemo(function(){return($r==="inline"||$r==="vertical")&&Fr?["vertical",Fr]:[$r,!1]},[$r,Fr]),Yi=(0,Se.Z)(La,2),ra=Yi[0],Ia=Yi[1],io=ra==="inline",po=Le.useState(ra),il=(0,Se.Z)(po,2),wl=il[0],Bs=il[1],ul=Le.useState(Ia),cl=(0,Se.Z)(ul,2),Jo=cl[0],hs=cl[1];Le.useEffect(function(){Bs(ra),hs(Ia),Hi.current&&(io?ci(di):_i(ar))},[ra,Ia]);var Bl=Le.useState(0),ts=(0,Se.Z)(Bl,2),Rs=ts[0],_l=ts[1],_o=Rs>=so.length-1||wl!=="horizontal"||ei;Le.useEffect(function(){io&&Vi(ur)},[ur]),Le.useEffect(function(){return Hi.current=!0,function(){Hi.current=!1}},[]);var Io=bt(),bo=Io.registerPath,Rl=Io.unregisterPath,Us=Io.refreshOverflowKeys,zl=Io.isSubPathKey,uo=Io.getKeyPath,no=Io.getKeys,jo=Io.getSubPathKeys,dl=Le.useMemo(function(){return{registerPath:bo,unregisterPath:Rl}},[bo,Rl]),qo=Le.useMemo(function(){return{isSubPathKey:zl}},[zl]);Le.useEffect(function(){Us(_o?ar:so.slice(Rs+1).map(function(mo){return mo.key}))},[Rs,_o]);var jl=(0,Re.Z)(gi||Pi&&((Dn=so[0])===null||Dn===void 0?void 0:Dn.key),{value:gi}),Jl=(0,Se.Z)(jl,2),ps=Jl[0],Vl=Jl[1],fl=et(function(mo){Vl(mo)}),ml=et(function(){Vl(void 0)});(0,Le.useImperativeHandle)(xn,function(){return{list:Hn.current,focus:function(Mo){var Vo,Is=no(),is=fe(Is,Fn),ws=is.elements,ms=is.key2element,as=is.element2key,ru=ue(Hn.current,ws),iu=ps!=null?ps:ru[0]?as.get(ru[0]):(Vo=so.find(function(qe){return!qe.props.disabled}))===null||Vo===void 0?void 0:Vo.key,De=ms.get(iu);if(iu&&De){var _e;De==null||(_e=De.focus)===null||_e===void 0||_e.call(De,Mo)}}}});var $o=(0,Re.Z)(Yn||[],{value:Pt,postState:function(Mo){return Array.isArray(Mo)?Mo:Mo==null?ar:[Mo]}}),js=(0,Se.Z)($o,2),Pl=js[0],Hl=js[1],ns=function(Mo){if(gt){var Vo=Mo.key,Is=Pl.includes(Vo),is;gn?Is?is=Pl.filter(function(ms){return ms!==Vo}):is=[].concat((0,yt.Z)(Pl),[Vo]):is=[Vo],Hl(is);var ws=(0,Ce.Z)((0,Ce.Z)({},Mo),{},{selectedKeys:is});Is?Wn==null||Wn(ws):fn==null||fn(ws)}!gn&&ur.length&&wl!=="inline"&&_i(ar)},zs=et(function(mo){la==null||la(nr(mo)),ns(mo)}),Sl=et(function(mo,Mo){var Vo=ur.filter(function(is){return is!==mo});if(Mo)Vo.push(mo);else if(wl!=="inline"){var Is=jo(mo);Vo=Vo.filter(function(is){return!Is.has(is)})}(0,ht.Z)(ur,Vo,!0)||_i(Vo,!0)}),eu=function(Mo,Vo){var Is=Vo!=null?Vo:!ur.includes(Mo);Sl(Mo,Is)},rs=le(wl,ps,gr,Fn,Hn,no,uo,Vl,eu,$i);Le.useEffect(function(){Gn(!0)},[]);var Cs=Le.useMemo(function(){return{_internalRenderMenuItem:Xa,_internalRenderSubMenuItem:oo}},[Xa,oo]),Ps=wl!=="horizontal"||ei?so:so.map(function(mo,Mo){return Le.createElement(ze,{key:mo.key,overflowDisabled:Mo>Rs},mo)}),Hs=Le.createElement(Ee.Z,(0,ne.Z)({id:Lr,ref:Hn,prefixCls:"".concat(Nn,"-overflow"),component:"ul",itemComponent:Br,className:ye()(Nn,"".concat(Nn,"-root"),"".concat(Nn,"-").concat(wl),Nr,(Un={},(0,be.Z)(Un,"".concat(Nn,"-inline-collapsed"),Jo),(0,be.Z)(Un,"".concat(Nn,"-rtl"),gr),Un),ir),dir:Hr,style:Cr,role:"menu",tabIndex:si,data:Ps,renderRawItem:function(Mo){return Mo},renderRawRest:function(Mo){var Vo=Mo.length,Is=Vo?so.slice(-Vo):null;return Le.createElement(dt,{eventKey:Lt,title:Zr,disabled:_o,internalPopupClose:Vo===0,popupClassName:wi},Is)},maxCount:wl!=="horizontal"||ei?Ee.Z.INVALIDATE:Ee.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Mo){_l(Mo)},onKeyDown:rs},yo));return Le.createElement(xt.Provider,{value:Cs},Le.createElement(nt.Provider,{value:Fn},Le.createElement(ze,{prefixCls:Nn,rootClassName:ir,mode:wl,openKeys:ur,rtl:gr,disabled:Vr,motion:Va?Ci:null,defaultMotions:Va?ri:null,activeKey:ps,onActive:fl,onInactive:ml,selectedKeys:Pl,inlineIndent:Mr,subMenuOpenDelay:ki,subMenuCloseDelay:hi,forceSubMenuRender:Dr,builtinPlacements:da,triggerSubMenuAction:Ii,getPopupContainer:ua,itemIcon:yr,expandIcon:Kr,onItemClick:zs,onOpenChange:Sl},Le.createElement(mt.Provider,{value:qo},Hs),Le.createElement("div",{style:{display:"none"},"aria-hidden":!0},Le.createElement(it.Provider,{value:dl},so)))))}),Ir=dr,tr=Ir;tr.Item=Br,tr.SubMenu=dt,tr.ItemGroup=Jn,tr.Divider=In;var Yr=tr},83836:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return wt}});var ne=ie(54476),be=ie(33885),Ce=ie(42978),yt=ie(75931),Se=ie(59301),Ae=ie(92310),pe=ie.n(Ae),ye=ie(29301),Ee=ie(34280),Re=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ht=void 0;function ke(It,We){var ve=It.prefixCls,Qe=It.invalidate,Vt=It.item,Mt=It.renderItem,Ue=It.responsive,st=It.responsiveDisabled,Ht=It.registerSize,yn=It.itemKey,Ut=It.className,Sn=It.style,jt=It.children,Jt=It.display,Ot=It.order,xe=It.component,ce=xe===void 0?"div":xe,ue=(0,yt.Z)(It,Re),de=Ue&&!Jt;function fe(Me){Ht(yn,Me)}Se.useEffect(function(){return function(){fe(null)}},[]);var le=Mt&&Vt!==ht?Mt(Vt,{index:Ot}):jt,Fe;Qe||(Fe={opacity:de?0:1,height:de?0:ht,overflowY:de?"hidden":ht,order:Ue?Ot:ht,pointerEvents:de?"none":ht,position:de?"absolute":ht});var at={};de&&(at["aria-hidden"]=!0);var Ze=Se.createElement(ce,(0,ne.Z)({className:pe()(!Qe&&ve,Ut),style:(0,be.Z)((0,be.Z)({},Fe),Sn)},at,ue,{ref:We}),le);return Ue&&(Ze=Se.createElement(ye.Z,{onResize:function(Lt){var bt=Lt.offsetWidth;fe(bt)},disabled:st},Ze)),Ze}var Le=Se.forwardRef(ke);Le.displayName="Item";var Ge=Le,nt=ie(6089),ct=ie(4676),Et=ie(16089);function Ct(It){if(typeof MessageChannel=="undefined")(0,Et.Z)(It);else{var We=new MessageChannel;We.port1.onmessage=function(){return It()},We.port2.postMessage(void 0)}}function Wt(){var It=Se.useRef(null),We=function(Qe){It.current||(It.current=[],Ct(function(){(0,ct.unstable_batchedUpdates)(function(){It.current.forEach(function(Vt){Vt()}),It.current=null})})),It.current.push(Qe)};return We}function ft(It,We){var ve=Se.useState(We),Qe=(0,Ce.Z)(ve,2),Vt=Qe[0],Mt=Qe[1],Ue=(0,nt.Z)(function(st){It(function(){Mt(st)})});return[Vt,Ue]}var pt=Se.createContext(null),ze=["component"],he=["className"],it=["className"],ot=function(We,ve){var Qe=Se.useContext(pt);if(!Qe){var Vt=We.component,Mt=Vt===void 0?"div":Vt,Ue=(0,yt.Z)(We,ze);return Se.createElement(Mt,(0,ne.Z)({},Ue,{ref:ve}))}var st=Qe.className,Ht=(0,yt.Z)(Qe,he),yn=We.className,Ut=(0,yt.Z)(We,it);return Se.createElement(pt.Provider,{value:null},Se.createElement(Ge,(0,ne.Z)({ref:ve,className:pe()(st,yn)},Ht,Ut)))},ut=Se.forwardRef(ot);ut.displayName="RawItem";var Je=ut,mt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Te="responsive",xt="invalidate";function Ne(It){return"+ ".concat(It.length," ...")}function Rt(It,We){var ve=It.prefixCls,Qe=ve===void 0?"rc-overflow":ve,Vt=It.data,Mt=Vt===void 0?[]:Vt,Ue=It.renderItem,st=It.renderRawItem,Ht=It.itemKey,yn=It.itemWidth,Ut=yn===void 0?10:yn,Sn=It.ssr,jt=It.style,Jt=It.className,Ot=It.maxCount,xe=It.renderRest,ce=It.renderRawRest,ue=It.prefix,de=It.suffix,fe=It.component,le=fe===void 0?"div":fe,Fe=It.itemComponent,at=It.onVisibleChange,Ze=(0,yt.Z)(It,mt),Me=Sn==="full",Lt=Wt(),bt=ft(Lt,null),et=(0,Ce.Z)(bt,2),Zt=et[0],Cn=et[1],kt=Zt||0,Qt=ft(Lt,new Map),cn=(0,Ce.Z)(Qt,2),vt=cn[0],Oe=cn[1],tt=ft(Lt,0),ln=(0,Ce.Z)(tt,2),dn=ln[0],An=ln[1],Xn=ft(Lt,0),Gt=(0,Ce.Z)(Xn,2),nr=Gt[0],wr=Gt[1],kr=ft(Lt,0),rr=(0,Ce.Z)(kr,2),Ar=rr[0],li=rr[1],xr=ft(Lt,0),Br=(0,Ce.Z)(xr,2),ti=Br[0],Rn=Br[1],tn=(0,Se.useState)(null),zn=(0,Ce.Z)(tn,2),er=zn[0],zt=zn[1],bn=(0,Se.useState)(null),kn=(0,Ce.Z)(bn,2),Tt=kn[0],an=kn[1],sn=Se.useMemo(function(){return Tt===null&&Me?Number.MAX_SAFE_INTEGER:Tt||0},[Tt,Zt]),rn=(0,Se.useState)(!1),$n=(0,Ce.Z)(rn,2),Ft=$n[0],Ie=$n[1],Xe="".concat(Qe,"-item"),He=Math.max(dn,nr),Ke=Ot===Te,Bt=Mt.length&&Ke,dt=Ot===xt,on=Bt||typeof Ot=="number"&&Mt.length>Ot,nn=(0,Se.useMemo)(function(){var Vn=Mt;return Bt?Zt===null&&Me?Vn=Mt:Vn=Mt.slice(0,Math.min(Mt.length,kt/Ut)):typeof Ot=="number"&&(Vn=Mt.slice(0,Ot)),Vn},[Mt,Ut,Zt,Ot,Bt]),hn=(0,Se.useMemo)(function(){return Bt?Mt.slice(sn+1):Mt.slice(nn.length)},[Mt,nn,Bt,sn]),Pn=(0,Se.useCallback)(function(Vn,Nn){var ir;return typeof Ht=="function"?Ht(Vn):(ir=Ht&&(Vn==null?void 0:Vn[Ht]))!==null&&ir!==void 0?ir:Nn},[Ht]),Jn=(0,Se.useCallback)(Ue||function(Vn){return Vn},[Ue]);function In(Vn,Nn,ir){Tt===Vn&&(Nn===void 0||Nn===er)||(an(Vn),ir||(Ie(Vn<Mt.length-1),at==null||at(Vn)),Nn!==void 0&&zt(Nn))}function Xt(Vn,Nn){Cn(Nn.clientWidth)}function wn(Vn,Nn){Oe(function(ir){var Cr=new Map(ir);return Nn===null?Cr.delete(Vn):Cr.set(Vn,Nn),Cr})}function pr(Vn,Nn){wr(Nn),An(nr)}function lr(Vn,Nn){li(Nn)}function ar(Vn,Nn){Rn(Nn)}function dr(Vn){return vt.get(Pn(nn[Vn],Vn))}(0,Ee.Z)(function(){if(kt&&typeof He=="number"&&nn){var Vn=Ar+ti,Nn=nn.length,ir=Nn-1;if(!Nn){In(0,null);return}for(var Cr=0;Cr<Nn;Cr+=1){var Nr=dr(Cr);if(Me&&(Nr=Nr||0),Nr===void 0){In(Cr-1,void 0,!0);break}if(Vn+=Nr,ir===0&&Vn<=kt||Cr===ir-1&&Vn+dr(ir)<=kt){In(ir,null);break}else if(Vn+He>kt){In(Cr-1,Vn-Nr-ti+nr);break}}de&&dr(0)+ti>kt&&zt(null)}},[kt,vt,nr,Ar,ti,Pn,nn]);var Ir=Ft&&!!hn.length,tr={};er!==null&&Bt&&(tr={position:"absolute",left:er,top:0});var Yr={prefixCls:Xe,responsive:Bt,component:Fe,invalidate:dt},_t=st?function(Vn,Nn){var ir=Pn(Vn,Nn);return Se.createElement(pt.Provider,{key:ir,value:(0,be.Z)((0,be.Z)({},Yr),{},{order:Nn,item:Vn,itemKey:ir,registerSize:wn,display:Nn<=sn})},st(Vn,Nn))}:function(Vn,Nn){var ir=Pn(Vn,Nn);return Se.createElement(Ge,(0,ne.Z)({},Yr,{order:Nn,key:ir,item:Vn,renderItem:Jn,itemKey:ir,registerSize:wn,display:Nn<=sn}))},xn={order:Ir?sn:Number.MAX_SAFE_INTEGER,className:"".concat(Xe,"-rest"),registerSize:pr,display:Ir},Dn=xe||Ne,Un=ce?Se.createElement(pt.Provider,{value:(0,be.Z)((0,be.Z)({},Yr),xn)},ce(hn)):Se.createElement(Ge,(0,ne.Z)({},Yr,xn),typeof Dn=="function"?Dn(hn):Dn),Bn=Se.createElement(le,(0,ne.Z)({className:pe()(!dt&&Qe,Jt),style:jt,ref:We},Ze),ue&&Se.createElement(Ge,(0,ne.Z)({},Yr,{responsive:Ke,responsiveDisabled:!Bt,order:-1,className:"".concat(Xe,"-prefix"),registerSize:lr,display:!0}),ue),nn.map(_t),on?Un:null,de&&Se.createElement(Ge,(0,ne.Z)({},Yr,{responsive:Ke,responsiveDisabled:!Bt,order:sn,className:"".concat(Xe,"-suffix"),registerSize:ar,display:!0,style:tr}),de));return Ke?Se.createElement(ye.Z,{onResize:Xt,disabled:!Bt},Bn):Bn}var Dt=Se.forwardRef(Rt);Dt.displayName="Overflow",Dt.Item=Je,Dt.RESPONSIVE=Te,Dt.INVALIDATE=xt;var Nt=Dt,wt=Nt},91735:function(Ln,pn){"use strict";pn.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"}},17115:function(Ln,pn,ie){"use strict";ie.d(pn,{ZP:function(){return pe}});var ne=ie(42978),be=ie(59301),Ce=ie(47273),yt=0,Se=(0,Ce.Z)();function Ae(){var ye;return Se?(ye=yt,yt+=1):ye="TEST_OR_SSR",ye}function pe(ye){var Ee=be.useState(),Re=(0,ne.Z)(Ee,2),ht=Re[0],ke=Re[1];return be.useEffect(function(){ke("rc_select_".concat(Ae()))},[]),ye||ht}},77861:function(Ln,pn,ie){"use strict";ie.d(pn,{Ac:function(){return Zt},Xo:function(){return nr},Wx:function(){return kr},ZP:function(){return Xe},lk:function(){return pt}});var ne=ie(54476),be=ie(94480),Ce=ie(20068),yt=ie(33885),Se=ie(42978),Ae=ie(75931),pe=ie(76190),ye=ie(18929),Ee=ie(48736),Re=ie(59301),ht=ie(92310),ke=ie.n(ht),Le=ie(34280),Ge=ie(49658),nt=ie(10228),ct=ie(8654),Et=function(Ke){var Bt=Ke.className,dt=Ke.customizeIcon,on=Ke.customizeIconProps,nn=Ke.onMouseDown,hn=Ke.onClick,Pn=Ke.children,Jn;return typeof dt=="function"?Jn=dt(on):Jn=dt,Re.createElement("span",{className:Bt,onMouseDown:function(Xt){Xt.preventDefault(),nn&&nn(Xt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:hn,"aria-hidden":!0},Jn!==void 0?Jn:Re.createElement("span",{className:ke()(Bt.split(/\s+/).map(function(In){return"".concat(In,"-icon")}))},Pn))},Ct=Et;function Wt(He,Ke,Bt,dt,on){var nn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,hn=arguments.length>6?arguments[6]:void 0,Pn=arguments.length>7?arguments[7]:void 0,Jn=Re.useMemo(function(){if((0,pe.Z)(dt)==="object")return dt.clearIcon;if(on)return on},[dt,on]),In=Re.useMemo(function(){return!!(!nn&&dt&&(Bt.length||hn)&&!(Pn==="combobox"&&hn===""))},[dt,nn,Bt.length,hn,Pn]);return{allowClear:In,clearIcon:Re.createElement(Ct,{className:"".concat(He,"-clear"),onMouseDown:Ke,customizeIcon:Jn},"\xD7")}}var ft=Re.createContext(null);function pt(){return Re.useContext(ft)}function ze(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ke=Re.useState(!1),Bt=(0,Se.Z)(Ke,2),dt=Bt[0],on=Bt[1],nn=Re.useRef(null),hn=function(){window.clearTimeout(nn.current)};Re.useEffect(function(){return hn},[]);var Pn=function(In,Xt){hn(),nn.current=window.setTimeout(function(){on(In),Xt&&Xt()},He)};return[dt,Pn,hn]}function he(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ke=Re.useRef(null),Bt=Re.useRef(null);Re.useEffect(function(){return function(){window.clearTimeout(Bt.current)}},[]);function dt(on){(on||Ke.current===null)&&(Ke.current=on),window.clearTimeout(Bt.current),Bt.current=window.setTimeout(function(){Ke.current=null},He)}return[function(){return Ke.current},dt]}function it(He,Ke,Bt,dt){var on=Re.useRef(null);on.current={open:Ke,triggerOpen:Bt,customizedTrigger:dt},Re.useEffect(function(){function nn(hn){var Pn;if(!((Pn=on.current)!==null&&Pn!==void 0&&Pn.customizedTrigger)){var Jn=hn.target;Jn.shadowRoot&&hn.composed&&(Jn=hn.composedPath()[0]||Jn),on.current.open&&He().filter(function(In){return In}).every(function(In){return!In.contains(Jn)&&In!==Jn})&&on.current.triggerOpen(!1)}}return window.addEventListener("mousedown",nn),function(){return window.removeEventListener("mousedown",nn)}},[])}var ot=ie(26112),ut=ie(83836),Je=function(Ke,Bt){var dt,on,nn=Ke.prefixCls,hn=Ke.id,Pn=Ke.inputElement,Jn=Ke.disabled,In=Ke.tabIndex,Xt=Ke.autoFocus,wn=Ke.autoComplete,pr=Ke.editable,lr=Ke.activeDescendantId,ar=Ke.value,dr=Ke.maxLength,Ir=Ke.onKeyDown,tr=Ke.onMouseDown,Yr=Ke.onChange,_t=Ke.onPaste,xn=Ke.onCompositionStart,Dn=Ke.onCompositionEnd,Un=Ke.open,Bn=Ke.attrs,Vn=Pn||Re.createElement("input",null),Nn=Vn,ir=Nn.ref,Cr=Nn.props,Nr=Cr.onKeyDown,ai=Cr.onChange,si=Cr.onMouseDown,mi=Cr.onCompositionStart,br=Cr.onCompositionEnd,Hr=Cr.style;return(0,Ee.Kp)(!("maxLength"in Vn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Vn=Re.cloneElement(Vn,(0,yt.Z)((0,yt.Z)((0,yt.Z)({type:"search"},Cr),{},{id:hn,ref:(0,ct.sQ)(Bt,ir),disabled:Jn,tabIndex:In,autoComplete:wn||"off",autoFocus:Xt,className:ke()("".concat(nn,"-selection-search-input"),(dt=Vn)===null||dt===void 0||(on=dt.props)===null||on===void 0?void 0:on.className),role:"combobox","aria-label":"Search","aria-expanded":Un||!1,"aria-haspopup":"listbox","aria-owns":"".concat(hn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(hn,"_list"),"aria-activedescendant":Un?lr:void 0},Bn),{},{value:pr?ar:"",maxLength:dr,readOnly:!pr,unselectable:pr?null:"on",style:(0,yt.Z)((0,yt.Z)({},Hr),{},{opacity:pr?null:0}),onKeyDown:function(ni){Ir(ni),Nr&&Nr(ni)},onMouseDown:function(ni){tr(ni),si&&si(ni)},onChange:function(ni){Yr(ni),ai&&ai(ni)},onCompositionStart:function(ni){xn(ni),mi&&mi(ni)},onCompositionEnd:function(ni){Dn(ni),br&&br(ni)},onPaste:_t})),Vn},mt=Re.forwardRef(Je);mt.displayName="Input";var Te=mt;function xt(He){return Array.isArray(He)?He:He!==void 0?[He]:[]}var Ne=typeof window!="undefined"&&window.document&&window.document.documentElement,Rt=Ne;function Dt(He){return He!=null}function Nt(He){return!He&&He!==0}function wt(He){return["string","number"].includes((0,pe.Z)(He))}function It(He){var Ke=void 0;return He&&(wt(He.title)?Ke=He.title.toString():wt(He.label)&&(Ke=He.label.toString())),Ke}function We(He,Ke){Rt?Re.useLayoutEffect(He,Ke):Re.useEffect(He,Ke)}function ve(He){var Ke;return(Ke=He.key)!==null&&Ke!==void 0?Ke:He.value}var Qe=function(Ke){Ke.preventDefault(),Ke.stopPropagation()},Vt=function(Ke){var Bt=Ke.id,dt=Ke.prefixCls,on=Ke.values,nn=Ke.open,hn=Ke.searchValue,Pn=Ke.autoClearSearchValue,Jn=Ke.inputRef,In=Ke.placeholder,Xt=Ke.disabled,wn=Ke.mode,pr=Ke.showSearch,lr=Ke.autoFocus,ar=Ke.autoComplete,dr=Ke.activeDescendantId,Ir=Ke.tabIndex,tr=Ke.removeIcon,Yr=Ke.maxTagCount,_t=Ke.maxTagTextLength,xn=Ke.maxTagPlaceholder,Dn=xn===void 0?function(rt){return"+ ".concat(rt.length," ...")}:xn,Un=Ke.tagRender,Bn=Ke.onToggleOpen,Vn=Ke.onRemove,Nn=Ke.onInputChange,ir=Ke.onInputPaste,Cr=Ke.onInputKeyDown,Nr=Ke.onInputMouseDown,ai=Ke.onInputCompositionStart,si=Ke.onInputCompositionEnd,mi=Re.useRef(null),br=(0,Re.useState)(0),Hr=(0,Se.Z)(br,2),Lr=Hr[0],ni=Hr[1],$r=(0,Re.useState)(!1),Fr=(0,Se.Z)($r,2),Vr=Fr[0],ei=Fr[1],_r="".concat(dt,"-selection"),ki=nn||wn==="multiple"&&Pn===!1||wn==="tags"?hn:"",Ki=wn==="tags"||wn==="multiple"&&Pn===!1||pr&&(nn||Vr);We(function(){ni(mi.current.scrollWidth)},[ki]);function hi(rt,gt,Yt,gn,Yn){return Re.createElement("span",{className:ke()("".concat(_r,"-item"),(0,Ce.Z)({},"".concat(_r,"-item-disabled"),Yt)),title:It(rt)},Re.createElement("span",{className:"".concat(_r,"-item-content")},gt),gn&&Re.createElement(Ct,{className:"".concat(_r,"-item-remove"),onMouseDown:Qe,onClick:Yn,customizeIcon:tr},"\xD7"))}function Dr(rt,gt,Yt,gn,Yn){var Pt=function(Wn){Qe(Wn),Bn(!nn)};return Re.createElement("span",{onMouseDown:Pt},Un({label:gt,value:rt,disabled:Yt,closable:gn,onClose:Yn}))}function or(rt){var gt=rt.disabled,Yt=rt.label,gn=rt.value,Yn=!Xt&&!gt,Pt=Yt;if(typeof _t=="number"&&(typeof Yt=="string"||typeof Yt=="number")){var fn=String(Pt);fn.length>_t&&(Pt="".concat(fn.slice(0,_t),"..."))}var Wn=function(Mr){Mr&&Mr.stopPropagation(),Vn(rt)};return typeof Un=="function"?Dr(gn,Pt,gt,Yn,Wn):hi(rt,Pt,gt,Yn,Wn)}function ui(rt){var gt=typeof Dn=="function"?Dn(rt):Dn;return hi({title:gt},gt,!1)}var gi=Re.createElement("div",{className:"".concat(_r,"-search"),style:{width:Lr},onFocus:function(){ei(!0)},onBlur:function(){ei(!1)}},Re.createElement(Te,{ref:Jn,open:nn,prefixCls:dt,id:Bt,inputElement:null,disabled:Xt,autoFocus:lr,autoComplete:ar,editable:Ki,activeDescendantId:dr,value:ki,onKeyDown:Cr,onMouseDown:Nr,onChange:Nn,onPaste:ir,onCompositionStart:ai,onCompositionEnd:si,tabIndex:Ir,attrs:(0,ot.Z)(Ke,!0)}),Re.createElement("span",{ref:mi,className:"".concat(_r,"-search-mirror"),"aria-hidden":!0},ki,"\xA0")),Pi=Re.createElement(ut.Z,{prefixCls:"".concat(_r,"-overflow"),data:on,renderItem:or,renderRest:ui,suffix:gi,itemKey:ve,maxCount:Yr});return Re.createElement(Re.Fragment,null,Pi,!on.length&&!ki&&Re.createElement("span",{className:"".concat(_r,"-placeholder")},In))},Mt=Vt,Ue=function(Ke){var Bt=Ke.inputElement,dt=Ke.prefixCls,on=Ke.id,nn=Ke.inputRef,hn=Ke.disabled,Pn=Ke.autoFocus,Jn=Ke.autoComplete,In=Ke.activeDescendantId,Xt=Ke.mode,wn=Ke.open,pr=Ke.values,lr=Ke.placeholder,ar=Ke.tabIndex,dr=Ke.showSearch,Ir=Ke.searchValue,tr=Ke.activeValue,Yr=Ke.maxLength,_t=Ke.onInputKeyDown,xn=Ke.onInputMouseDown,Dn=Ke.onInputChange,Un=Ke.onInputPaste,Bn=Ke.onInputCompositionStart,Vn=Ke.onInputCompositionEnd,Nn=Ke.title,ir=Re.useState(!1),Cr=(0,Se.Z)(ir,2),Nr=Cr[0],ai=Cr[1],si=Xt==="combobox",mi=si||dr,br=pr[0],Hr=Ir||"";si&&tr&&!Nr&&(Hr=tr),Re.useEffect(function(){si&&ai(!1)},[si,tr]);var Lr=Xt!=="combobox"&&!wn&&!dr?!1:!!Hr,ni=Nn===void 0?It(br):Nn,$r=function(){if(br)return null;var Vr=Lr?{visibility:"hidden"}:void 0;return Re.createElement("span",{className:"".concat(dt,"-selection-placeholder"),style:Vr},lr)};return Re.createElement(Re.Fragment,null,Re.createElement("span",{className:"".concat(dt,"-selection-search")},Re.createElement(Te,{ref:nn,prefixCls:dt,id:on,open:wn,inputElement:Bt,disabled:hn,autoFocus:Pn,autoComplete:Jn,editable:mi,activeDescendantId:In,value:Hr,onKeyDown:_t,onMouseDown:xn,onChange:function(Vr){ai(!0),Dn(Vr)},onPaste:Un,onCompositionStart:Bn,onCompositionEnd:Vn,tabIndex:ar,attrs:(0,ot.Z)(Ke,!0),maxLength:si?Yr:void 0})),!si&&br?Re.createElement("span",{className:"".concat(dt,"-selection-item"),title:ni,style:Lr?{visibility:"hidden"}:void 0},br.label):null,$r())},st=Ue;function Ht(He){return![nt.Z.ESC,nt.Z.SHIFT,nt.Z.BACKSPACE,nt.Z.TAB,nt.Z.WIN_KEY,nt.Z.ALT,nt.Z.META,nt.Z.WIN_KEY_RIGHT,nt.Z.CTRL,nt.Z.SEMICOLON,nt.Z.EQUALS,nt.Z.CAPS_LOCK,nt.Z.CONTEXT_MENU,nt.Z.F1,nt.Z.F2,nt.Z.F3,nt.Z.F4,nt.Z.F5,nt.Z.F6,nt.Z.F7,nt.Z.F8,nt.Z.F9,nt.Z.F10,nt.Z.F11,nt.Z.F12].includes(He)}var yn=function(Ke,Bt){var dt=(0,Re.useRef)(null),on=(0,Re.useRef)(!1),nn=Ke.prefixCls,hn=Ke.open,Pn=Ke.mode,Jn=Ke.showSearch,In=Ke.tokenWithEnter,Xt=Ke.autoClearSearchValue,wn=Ke.onSearch,pr=Ke.onSearchSubmit,lr=Ke.onToggleOpen,ar=Ke.onInputKeyDown,dr=Ke.domRef;Re.useImperativeHandle(Bt,function(){return{focus:function(){dt.current.focus()},blur:function(){dt.current.blur()}}});var Ir=he(0),tr=(0,Se.Z)(Ir,2),Yr=tr[0],_t=tr[1],xn=function(Hr){var Lr=Hr.which;(Lr===nt.Z.UP||Lr===nt.Z.DOWN)&&Hr.preventDefault(),ar&&ar(Hr),Lr===nt.Z.ENTER&&Pn==="tags"&&!on.current&&!hn&&(pr==null||pr(Hr.target.value)),Ht(Lr)&&lr(!0)},Dn=function(){_t(!0)},Un=(0,Re.useRef)(null),Bn=function(Hr){wn(Hr,!0,on.current)!==!1&&lr(!0)},Vn=function(){on.current=!0},Nn=function(Hr){on.current=!1,Pn!=="combobox"&&Bn(Hr.target.value)},ir=function(Hr){var Lr=Hr.target.value;if(In&&Un.current&&/[\r\n]/.test(Un.current)){var ni=Un.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Lr=Lr.replace(ni,Un.current)}Un.current=null,Bn(Lr)},Cr=function(Hr){var Lr=Hr.clipboardData,ni=Lr.getData("text");Un.current=ni},Nr=function(Hr){var Lr=Hr.target;if(Lr!==dt.current){var ni=document.body.style.msTouchAction!==void 0;ni?setTimeout(function(){dt.current.focus()}):dt.current.focus()}},ai=function(Hr){var Lr=Yr();Hr.target!==dt.current&&!Lr&&Pn!=="combobox"&&Hr.preventDefault(),(Pn!=="combobox"&&(!Jn||!Lr)||!hn)&&(hn&&Xt!==!1&&wn("",!0,!1),lr())},si={inputRef:dt,onInputKeyDown:xn,onInputMouseDown:Dn,onInputChange:ir,onInputPaste:Cr,onInputCompositionStart:Vn,onInputCompositionEnd:Nn},mi=Pn==="multiple"||Pn==="tags"?Re.createElement(Mt,(0,ne.Z)({},Ke,si)):Re.createElement(st,(0,ne.Z)({},Ke,si));return Re.createElement("div",{ref:dr,className:"".concat(nn,"-selector"),onClick:Nr,onMouseDown:ai},mi)},Ut=Re.forwardRef(yn);Ut.displayName="Selector";var Sn=Ut,jt=ie(35593),Jt=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Ot=function(Ke){var Bt=Ke===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Bt,adjustY:1},htmlRegion:"scroll"}}},xe=function(Ke,Bt){var dt=Ke.prefixCls,on=Ke.disabled,nn=Ke.visible,hn=Ke.children,Pn=Ke.popupElement,Jn=Ke.animation,In=Ke.transitionName,Xt=Ke.dropdownStyle,wn=Ke.dropdownClassName,pr=Ke.direction,lr=pr===void 0?"ltr":pr,ar=Ke.placement,dr=Ke.builtinPlacements,Ir=Ke.dropdownMatchSelectWidth,tr=Ke.dropdownRender,Yr=Ke.dropdownAlign,_t=Ke.getPopupContainer,xn=Ke.empty,Dn=Ke.getTriggerDOMNode,Un=Ke.onPopupVisibleChange,Bn=Ke.onPopupMouseEnter,Vn=(0,Ae.Z)(Ke,Jt),Nn="".concat(dt,"-dropdown"),ir=Pn;tr&&(ir=tr(Pn));var Cr=Re.useMemo(function(){return dr||Ot(Ir)},[dr,Ir]),Nr=Jn?"".concat(Nn,"-").concat(Jn):In,ai=typeof Ir=="number",si=Re.useMemo(function(){return ai?null:Ir===!1?"minWidth":"width"},[Ir,ai]),mi=Xt;ai&&(mi=(0,yt.Z)((0,yt.Z)({},mi),{},{width:Ir}));var br=Re.useRef(null);return Re.useImperativeHandle(Bt,function(){return{getPopupElement:function(){return br.current}}}),Re.createElement(jt.Z,(0,ne.Z)({},Vn,{showAction:Un?["click"]:[],hideAction:Un?["click"]:[],popupPlacement:ar||(lr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Cr,prefixCls:Nn,popupTransitionName:Nr,popup:Re.createElement("div",{ref:br,onMouseEnter:Bn},ir),stretch:si,popupAlign:Yr,popupVisible:nn,getPopupContainer:_t,popupClassName:ke()(wn,(0,Ce.Z)({},"".concat(Nn,"-empty"),xn)),popupStyle:mi,getTriggerDOMNode:Dn,onPopupVisibleChange:Un}),hn)},ce=Re.forwardRef(xe);ce.displayName="SelectTrigger";var ue=ce,de=ie(66712);function fe(He,Ke){var Bt=He.key,dt;return"value"in He&&(dt=He.value),Bt!=null?Bt:dt!==void 0?dt:"rc-index-key-".concat(Ke)}function le(He,Ke){var Bt=He||{},dt=Bt.label,on=Bt.value,nn=Bt.options,hn=Bt.groupLabel,Pn=dt||(Ke?"children":"label");return{label:Pn,value:on||"value",options:nn||"options",groupLabel:hn||Pn}}function Fe(He){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bt=Ke.fieldNames,dt=Ke.childrenAsData,on=[],nn=le(Bt,!1),hn=nn.label,Pn=nn.value,Jn=nn.options,In=nn.groupLabel;function Xt(wn,pr){wn.forEach(function(lr){if(pr||!(Jn in lr)){var ar=lr[Pn];on.push({key:fe(lr,on.length),groupOption:pr,data:lr,label:lr[hn],value:ar})}else{var dr=lr[In];dr===void 0&&dt&&(dr=lr.label),on.push({key:fe(lr,on.length),group:!0,data:lr,label:dr}),Xt(lr[Jn],!0)}})}return Xt(He,!1),on}function at(He){var Ke=(0,yt.Z)({},He);return"props"in Ke||Object.defineProperty(Ke,"props",{get:function(){return(0,Ee.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ke}}),Ke}function Ze(He,Ke){if(!Ke||!Ke.length)return null;var Bt=!1;function dt(nn,hn){var Pn=(0,de.Z)(hn),Jn=Pn[0],In=Pn.slice(1);if(!Jn)return[nn];var Xt=nn.split(Jn);return Bt=Bt||Xt.length>1,Xt.reduce(function(wn,pr){return[].concat((0,be.Z)(wn),(0,be.Z)(dt(pr,In)))},[]).filter(function(wn){return wn})}var on=dt(He,Ke);return Bt?on:null}var Me=["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"],Lt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function bt(He){return He==="tags"||He==="multiple"}var et=Re.forwardRef(function(He,Ke){var Bt,dt,on=He.id,nn=He.prefixCls,hn=He.className,Pn=He.showSearch,Jn=He.tagRender,In=He.direction,Xt=He.omitDomProps,wn=He.displayValues,pr=He.onDisplayValuesChange,lr=He.emptyOptions,ar=He.notFoundContent,dr=ar===void 0?"Not Found":ar,Ir=He.onClear,tr=He.mode,Yr=He.disabled,_t=He.loading,xn=He.getInputElement,Dn=He.getRawInputElement,Un=He.open,Bn=He.defaultOpen,Vn=He.onDropdownVisibleChange,Nn=He.activeValue,ir=He.onActiveValueChange,Cr=He.activeDescendantId,Nr=He.searchValue,ai=He.autoClearSearchValue,si=He.onSearch,mi=He.onSearchSplit,br=He.tokenSeparators,Hr=He.allowClear,Lr=He.suffixIcon,ni=He.clearIcon,$r=He.OptionList,Fr=He.animation,Vr=He.transitionName,ei=He.dropdownStyle,_r=He.dropdownClassName,ki=He.dropdownMatchSelectWidth,Ki=He.dropdownRender,hi=He.dropdownAlign,Dr=He.placement,or=He.builtinPlacements,ui=He.getPopupContainer,gi=He.showAction,Pi=gi===void 0?[]:gi,rt=He.onFocus,gt=He.onBlur,Yt=He.onKeyUp,gn=He.onKeyDown,Yn=He.onMouseDown,Pt=(0,Ae.Z)(He,Me),fn=bt(tr),Wn=(Pn!==void 0?Pn:fn)||tr==="combobox",Qn=(0,yt.Z)({},Pt);Lt.forEach(function(uo){delete Qn[uo]}),Xt==null||Xt.forEach(function(uo){delete Qn[uo]});var Mr=Re.useState(!1),Ci=(0,Se.Z)(Mr,2),ri=Ci[0],ii=Ci[1];Re.useEffect(function(){ii((0,Ge.Z)())},[]);var Ii=Re.useRef(null),da=Re.useRef(null),yr=Re.useRef(null),Kr=Re.useRef(null),Tr=Re.useRef(null),Zr=ze(),wi=(0,Se.Z)(Zr,3),ua=wi[0],la=wi[1],va=wi[2];Re.useImperativeHandle(Ke,function(){var uo,no;return{focus:(uo=Kr.current)===null||uo===void 0?void 0:uo.focus,blur:(no=Kr.current)===null||no===void 0?void 0:no.blur,scrollTo:function(dl){var qo;return(qo=Tr.current)===null||qo===void 0?void 0:qo.scrollTo(dl)}}});var $i=Re.useMemo(function(){var uo;if(tr!=="combobox")return Nr;var no=(uo=wn[0])===null||uo===void 0?void 0:uo.value;return typeof no=="string"||typeof no=="number"?String(no):""},[Nr,tr,wn]),ga=tr==="combobox"&&typeof xn=="function"&&xn()||null,Wa=typeof Dn=="function"&&Dn(),Xa=(0,ct.x1)(da,Wa==null||(Bt=Wa.props)===null||Bt===void 0?void 0:Bt.ref),oo=Re.useState(!1),yo=(0,Se.Z)(oo,2),so=yo[0],sl=yo[1];(0,Le.Z)(function(){sl(!0)},[]);var ja=(0,ye.Z)(!1,{defaultValue:Bn,value:Un}),Va=(0,Se.Z)(ja,2),Gn=Va[0],Hn=Va[1],Fn=so?Gn:!1,gr=!dr&&lr;(Yr||gr&&Fn&&tr==="combobox")&&(Fn=!1);var Rr=gr?!1:Fn,Or=Re.useCallback(function(uo){var no=uo!==void 0?uo:!Fn;Yr||(Hn(no),Fn!==no&&(Vn==null||Vn(no)))},[Yr,Fn,Hn,Vn]),ur=Re.useMemo(function(){return(br||[]).some(function(uo){return[`
|
|
|
`,`\r
|
|
|
`].includes(uo)})},[br]),ci=function(no,jo,dl){var qo=!0,jl=no;ir==null||ir(null);var Jl=dl?null:Ze(no,br);return tr!=="combobox"&&Jl&&(jl="",mi==null||mi(Jl),Or(!1),qo=!1),si&&$i!==jl&&si(jl,{source:jo?"typing":"effect"}),qo},_i=function(no){!no||!no.trim()||si(no,{source:"submit"})};Re.useEffect(function(){!Fn&&!fn&&tr!=="combobox"&&ci("",!1,!1)},[Fn]),Re.useEffect(function(){Gn&&Yr&&Hn(!1),Yr&&la(!1)},[Yr]);var Ji=he(),Zi=(0,Se.Z)(Ji,2),di=Zi[0],Vi=Zi[1],Hi=function(no){var jo=di(),dl=no.which;if(dl===nt.Z.ENTER&&(tr!=="combobox"&&no.preventDefault(),Fn||Or(!0)),Vi(!!$i),dl===nt.Z.BACKSPACE&&!jo&&fn&&!$i&&wn.length){for(var qo=(0,be.Z)(wn),jl=null,Jl=qo.length-1;Jl>=0;Jl-=1){var ps=qo[Jl];if(!ps.disabled){qo.splice(Jl,1),jl=ps;break}}jl&&pr(qo,{type:"remove",values:[jl]})}for(var Vl=arguments.length,fl=new Array(Vl>1?Vl-1:0),ml=1;ml<Vl;ml++)fl[ml-1]=arguments[ml];if(Fn&&Tr.current){var $o;($o=Tr.current).onKeyDown.apply($o,[no].concat(fl))}gn==null||gn.apply(void 0,[no].concat(fl))},La=function(no){for(var jo=arguments.length,dl=new Array(jo>1?jo-1:0),qo=1;qo<jo;qo++)dl[qo-1]=arguments[qo];if(Fn&&Tr.current){var jl;(jl=Tr.current).onKeyUp.apply(jl,[no].concat(dl))}Yt==null||Yt.apply(void 0,[no].concat(dl))},Yi=function(no){var jo=wn.filter(function(dl){return dl!==no});pr(jo,{type:"remove",values:[no]})},ra=Re.useRef(!1),Ia=function(){la(!0),Yr||(rt&&!ra.current&&rt.apply(void 0,arguments),Pi.includes("focus")&&Or(!0)),ra.current=!0},io=function(){la(!1,function(){ra.current=!1,Or(!1)}),!Yr&&($i&&(tr==="tags"?si($i,{source:"submit"}):tr==="multiple"&&si("",{source:"blur"})),gt&>.apply(void 0,arguments))},po=[];Re.useEffect(function(){return function(){po.forEach(function(uo){return clearTimeout(uo)}),po.splice(0,po.length)}},[]);var il=function(no){var jo,dl=no.target,qo=(jo=yr.current)===null||jo===void 0?void 0:jo.getPopupElement();if(qo&&qo.contains(dl)){var jl=setTimeout(function(){var fl=po.indexOf(jl);if(fl!==-1&&po.splice(fl,1),va(),!ri&&!qo.contains(document.activeElement)){var ml;(ml=Kr.current)===null||ml===void 0||ml.focus()}});po.push(jl)}for(var Jl=arguments.length,ps=new Array(Jl>1?Jl-1:0),Vl=1;Vl<Jl;Vl++)ps[Vl-1]=arguments[Vl];Yn==null||Yn.apply(void 0,[no].concat(ps))},wl=Re.useState({}),Bs=(0,Se.Z)(wl,2),ul=Bs[1];function cl(){ul({})}var Jo;Wa&&(Jo=function(no){Or(no)}),it(function(){var uo;return[Ii.current,(uo=yr.current)===null||uo===void 0?void 0:uo.getPopupElement()]},Rr,Or,!!Wa);var hs=Re.useMemo(function(){return(0,yt.Z)((0,yt.Z)({},He),{},{notFoundContent:dr,open:Fn,triggerOpen:Rr,id:on,showSearch:Wn,multiple:fn,toggleOpen:Or})},[He,dr,Rr,Fn,on,Wn,fn,Or]),Bl=!!Lr||_t,ts;Bl&&(ts=Re.createElement(Ct,{className:ke()("".concat(nn,"-arrow"),(0,Ce.Z)({},"".concat(nn,"-arrow-loading"),_t)),customizeIcon:Lr,customizeIconProps:{loading:_t,searchValue:$i,open:Fn,focused:ua,showSearch:Wn}}));var Rs=function(){var no;Ir==null||Ir(),(no=Kr.current)===null||no===void 0||no.focus(),pr([],{type:"clear",values:wn}),ci("",!1,!1)},_l=Wt(nn,Rs,wn,Hr,ni,Yr,$i,tr),_o=_l.allowClear,Io=_l.clearIcon,bo=Re.createElement($r,{ref:Tr}),Rl=ke()(nn,hn,(dt={},(0,Ce.Z)(dt,"".concat(nn,"-focused"),ua),(0,Ce.Z)(dt,"".concat(nn,"-multiple"),fn),(0,Ce.Z)(dt,"".concat(nn,"-single"),!fn),(0,Ce.Z)(dt,"".concat(nn,"-allow-clear"),Hr),(0,Ce.Z)(dt,"".concat(nn,"-show-arrow"),Bl),(0,Ce.Z)(dt,"".concat(nn,"-disabled"),Yr),(0,Ce.Z)(dt,"".concat(nn,"-loading"),_t),(0,Ce.Z)(dt,"".concat(nn,"-open"),Fn),(0,Ce.Z)(dt,"".concat(nn,"-customize-input"),ga),(0,Ce.Z)(dt,"".concat(nn,"-show-search"),Wn),dt)),Us=Re.createElement(ue,{ref:yr,disabled:Yr,prefixCls:nn,visible:Rr,popupElement:bo,animation:Fr,transitionName:Vr,dropdownStyle:ei,dropdownClassName:_r,direction:In,dropdownMatchSelectWidth:ki,dropdownRender:Ki,dropdownAlign:hi,placement:Dr,builtinPlacements:or,getPopupContainer:ui,empty:lr,getTriggerDOMNode:function(){return da.current},onPopupVisibleChange:Jo,onPopupMouseEnter:cl},Wa?Re.cloneElement(Wa,{ref:Xa}):Re.createElement(Sn,(0,ne.Z)({},He,{domRef:da,prefixCls:nn,inputElement:ga,ref:Kr,id:on,showSearch:Wn,autoClearSearchValue:ai,mode:tr,activeDescendantId:Cr,tagRender:Jn,values:wn,open:Fn,onToggleOpen:Or,activeValue:Nn,searchValue:$i,onSearch:ci,onSearchSubmit:_i,onRemove:Yi,tokenWithEnter:ur}))),zl;return Wa?zl=Us:zl=Re.createElement("div",(0,ne.Z)({className:Rl},Qn,{ref:Ii,onMouseDown:il,onKeyDown:Hi,onKeyUp:La,onFocus:Ia,onBlur:io}),ua&&!Fn&&Re.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(wn.map(function(uo){var no=uo.label,jo=uo.value;return["number","string"].includes((0,pe.Z)(no))?no:jo}).join(", "))),Us,ts,_o&&Io),Re.createElement(ft.Provider,{value:hs},zl)}),Zt=et,Cn=function(He,Ke){var Bt=Re.useRef({values:new Map,options:new Map}),dt=Re.useMemo(function(){var nn=Bt.current,hn=nn.values,Pn=nn.options,Jn=He.map(function(wn){if(wn.label===void 0){var pr;return(0,yt.Z)((0,yt.Z)({},wn),{},{label:(pr=hn.get(wn.value))===null||pr===void 0?void 0:pr.label})}return wn}),In=new Map,Xt=new Map;return Jn.forEach(function(wn){In.set(wn.value,wn),Xt.set(wn.value,Ke.get(wn.value)||Pn.get(wn.value))}),Bt.current.values=In,Bt.current.options=Xt,Jn},[He,Ke]),on=Re.useCallback(function(nn){return Ke.get(nn)||Bt.current.options.get(nn)},[Ke]);return[dt,on]};function kt(He,Ke){return xt(He).join("").toUpperCase().includes(Ke)}var Qt=function(He,Ke,Bt,dt,on){return Re.useMemo(function(){if(!Bt||dt===!1)return He;var nn=Ke.options,hn=Ke.label,Pn=Ke.value,Jn=[],In=typeof dt=="function",Xt=Bt.toUpperCase(),wn=In?dt:function(lr,ar){return on?kt(ar[on],Xt):ar[nn]?kt(ar[hn!=="children"?hn:"label"],Xt):kt(ar[Pn],Xt)},pr=In?function(lr){return at(lr)}:function(lr){return lr};return He.forEach(function(lr){if(lr[nn]){var ar=wn(Bt,pr(lr));if(ar)Jn.push(lr);else{var dr=lr[nn].filter(function(Ir){return wn(Bt,pr(Ir))});dr.length&&Jn.push((0,yt.Z)((0,yt.Z)({},lr),{},(0,Ce.Z)({},nn,dr)))}return}wn(Bt,pr(lr))&&Jn.push(lr)}),Jn},[He,dt,on,Bt,Ke])},cn=ie(17115),vt=ie(11592),Oe=["children","value"],tt=["children"];function ln(He){var Ke=He,Bt=Ke.key,dt=Ke.props,on=dt.children,nn=dt.value,hn=(0,Ae.Z)(dt,Oe);return(0,yt.Z)({key:Bt,value:nn!==void 0?nn:Bt,children:on},hn)}function dn(He){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,vt.Z)(He).map(function(Bt,dt){if(!Re.isValidElement(Bt)||!Bt.type)return null;var on=Bt,nn=on.type.isSelectOptGroup,hn=on.key,Pn=on.props,Jn=Pn.children,In=(0,Ae.Z)(Pn,tt);return Ke||!nn?ln(Bt):(0,yt.Z)((0,yt.Z)({key:"__RC_SELECT_GRP__".concat(hn===null?dt:hn,"__"),label:hn},In),{},{options:dn(Jn)})}).filter(function(Bt){return Bt})}function An(He,Ke,Bt,dt,on){return Re.useMemo(function(){var nn=He,hn=!He;hn&&(nn=dn(Ke));var Pn=new Map,Jn=new Map,In=function(pr,lr,ar){ar&&typeof ar=="string"&&pr.set(lr[ar],lr)};function Xt(wn){for(var pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,lr=0;lr<wn.length;lr+=1){var ar=wn[lr];!ar[Bt.options]||pr?(Pn.set(ar[Bt.value],ar),In(Jn,ar,Bt.label),In(Jn,ar,dt),In(Jn,ar,on)):Xt(ar[Bt.options],!0)}}return Xt(nn),{options:nn,valueOptions:Pn,labelOptions:Jn}},[He,Ke,Bt,dt,on])}function Xn(He){var Ke=Re.useRef();Ke.current=He;var Bt=Re.useCallback(function(){return Ke.current.apply(Ke,arguments)},[]);return Bt}var Gt=function(){return null};Gt.isSelectOptGroup=!0;var nr=Gt,wr=function(){return null};wr.isSelectOption=!0;var kr=wr,rr=ie(80547),Ar=ie(2738),li=ie(48911),xr=Re.createContext(null),Br=xr;function ti(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Rn=["disabled","title","children","style","className"];function tn(He){return typeof He=="string"||typeof He=="number"}var zn=function(Ke,Bt){var dt=pt(),on=dt.prefixCls,nn=dt.id,hn=dt.open,Pn=dt.multiple,Jn=dt.mode,In=dt.searchValue,Xt=dt.toggleOpen,wn=dt.notFoundContent,pr=dt.onPopupScroll,lr=Re.useContext(Br),ar=lr.flattenOptions,dr=lr.onActiveValue,Ir=lr.defaultActiveFirstOption,tr=lr.onSelect,Yr=lr.menuItemSelectedIcon,_t=lr.rawValues,xn=lr.fieldNames,Dn=lr.virtual,Un=lr.direction,Bn=lr.listHeight,Vn=lr.listItemHeight,Nn="".concat(on,"-item"),ir=(0,rr.Z)(function(){return ar},[hn,ar],function(hi,Dr){return Dr[0]&&hi[1]!==Dr[1]}),Cr=Re.useRef(null),Nr=function(Dr){Dr.preventDefault()},ai=function(Dr){Cr.current&&Cr.current.scrollTo(typeof Dr=="number"?{index:Dr}:Dr)},si=function(Dr){for(var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ui=ir.length,gi=0;gi<ui;gi+=1){var Pi=(Dr+gi*or+ui)%ui,rt=ir[Pi],gt=rt.group,Yt=rt.data;if(!gt&&!Yt.disabled)return Pi}return-1},mi=Re.useState(function(){return si(0)}),br=(0,Se.Z)(mi,2),Hr=br[0],Lr=br[1],ni=function(Dr){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Lr(Dr);var ui={source:or?"keyboard":"mouse"},gi=ir[Dr];if(!gi){dr(null,-1,ui);return}dr(gi.value,Dr,ui)};(0,Re.useEffect)(function(){ni(Ir!==!1?si(0):-1)},[ir.length,In]);var $r=Re.useCallback(function(hi){return _t.has(hi)&&Jn!=="combobox"},[Jn,(0,be.Z)(_t).toString(),_t.size]);(0,Re.useEffect)(function(){var hi=setTimeout(function(){if(!Pn&&hn&&_t.size===1){var or=Array.from(_t)[0],ui=ir.findIndex(function(gi){var Pi=gi.data;return Pi.value===or});ui!==-1&&(ni(ui),ai(ui))}});if(hn){var Dr;(Dr=Cr.current)===null||Dr===void 0||Dr.scrollTo(void 0)}return function(){return clearTimeout(hi)}},[hn,In,ar.length]);var Fr=function(Dr){Dr!==void 0&&tr(Dr,{selected:!_t.has(Dr)}),Pn||Xt(!1)};if(Re.useImperativeHandle(Bt,function(){return{onKeyDown:function(Dr){var or=Dr.which,ui=Dr.ctrlKey;switch(or){case nt.Z.N:case nt.Z.P:case nt.Z.UP:case nt.Z.DOWN:{var gi=0;if(or===nt.Z.UP?gi=-1:or===nt.Z.DOWN?gi=1:ti()&&ui&&(or===nt.Z.N?gi=1:or===nt.Z.P&&(gi=-1)),gi!==0){var Pi=si(Hr+gi,gi);ai(Pi),ni(Pi,!0)}break}case nt.Z.ENTER:{var rt=ir[Hr];rt&&!rt.data.disabled?Fr(rt.value):Fr(void 0),hn&&Dr.preventDefault();break}case nt.Z.ESC:Xt(!1),hn&&Dr.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Dr){ai(Dr)}}}),ir.length===0)return Re.createElement("div",{role:"listbox",id:"".concat(nn,"_list"),className:"".concat(Nn,"-empty"),onMouseDown:Nr},wn);var Vr=Object.keys(xn).map(function(hi){return xn[hi]}),ei=function(Dr){return Dr.label};function _r(hi,Dr){var or=hi.group;return{role:or?"presentation":"option",id:"".concat(nn,"_list_").concat(Dr)}}var ki=function(Dr){var or=ir[Dr];if(!or)return null;var ui=or.data||{},gi=ui.value,Pi=or.group,rt=(0,ot.Z)(ui,!0),gt=ei(or);return or?Re.createElement("div",(0,ne.Z)({"aria-label":typeof gt=="string"&&!Pi?gt:null},rt,{key:Dr},_r(or,Dr),{"aria-selected":$r(gi)}),gi):null},Ki={role:"listbox",id:"".concat(nn,"_list")};return Re.createElement(Re.Fragment,null,Dn&&Re.createElement("div",(0,ne.Z)({},Ki,{style:{height:0,width:0,overflow:"hidden"}}),ki(Hr-1),ki(Hr),ki(Hr+1)),Re.createElement(li.Z,{itemKey:"key",ref:Cr,data:ir,height:Bn,itemHeight:Vn,fullHeight:!1,onMouseDown:Nr,onScroll:pr,virtual:Dn,direction:Un,innerProps:Dn?null:Ki},function(hi,Dr){var or,ui=hi.group,gi=hi.groupOption,Pi=hi.data,rt=hi.label,gt=hi.value,Yt=Pi.key;if(ui){var gn,Yn=(gn=Pi.title)!==null&&gn!==void 0?gn:tn(rt)?rt.toString():void 0;return Re.createElement("div",{className:ke()(Nn,"".concat(Nn,"-group")),title:Yn},rt!==void 0?rt:Yt)}var Pt=Pi.disabled,fn=Pi.title,Wn=Pi.children,Qn=Pi.style,Mr=Pi.className,Ci=(0,Ae.Z)(Pi,Rn),ri=(0,Ar.Z)(Ci,Vr),ii=$r(gt),Ii="".concat(Nn,"-option"),da=ke()(Nn,Ii,Mr,(or={},(0,Ce.Z)(or,"".concat(Ii,"-grouped"),gi),(0,Ce.Z)(or,"".concat(Ii,"-active"),Hr===Dr&&!Pt),(0,Ce.Z)(or,"".concat(Ii,"-disabled"),Pt),(0,Ce.Z)(or,"".concat(Ii,"-selected"),ii),or)),yr=ei(hi),Kr=!Yr||typeof Yr=="function"||ii,Tr=typeof yr=="number"?yr:yr||gt,Zr=tn(Tr)?Tr.toString():void 0;return fn!==void 0&&(Zr=fn),Re.createElement("div",(0,ne.Z)({},(0,ot.Z)(ri),Dn?{}:_r(hi,Dr),{"aria-selected":ii,className:da,title:Zr,onMouseMove:function(){Hr===Dr||Pt||ni(Dr)},onClick:function(){Pt||Fr(gt)},style:Qn}),Re.createElement("div",{className:"".concat(Ii,"-content")},Tr),Re.isValidElement(Yr)||ii,Kr&&Re.createElement(Ct,{className:"".concat(Nn,"-option-state"),customizeIcon:Yr,customizeIconProps:{isSelected:ii}},ii?"\u2713":null))}))},er=Re.forwardRef(zn);er.displayName="OptionList";var zt=er;function bn(He){var Ke=He.mode,Bt=He.options,dt=He.children,on=He.backfill,nn=He.allowClear,hn=He.placeholder,Pn=He.getInputElement,Jn=He.showSearch,In=He.onSearch,Xt=He.defaultOpen,wn=He.autoFocus,pr=He.labelInValue,lr=He.value,ar=He.inputValue,dr=He.optionLabelProp,Ir=isMultiple(Ke),tr=Jn!==void 0?Jn:Ir||Ke==="combobox",Yr=Bt||convertChildrenToData(dt);if(warning(Ke!=="tags"||Yr.every(function(Un){return!Un.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ke==="tags"||Ke==="combobox"){var _t=Yr.some(function(Un){return Un.options?Un.options.some(function(Bn){return typeof("value"in Bn?Bn.value:Bn.key)=="number"}):typeof("value"in Un?Un.value:Un.key)=="number"});warning(!_t,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ke!=="combobox"||!dr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ke==="combobox"||!on,"`backfill` only works with `combobox` mode."),warning(Ke==="combobox"||!Pn,"`getInputElement` only work with `combobox` mode."),noteOnce(Ke!=="combobox"||!Pn||!nn||!hn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),In&&!tr&&Ke!=="combobox"&&Ke!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Xt||wn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),lr!=null){var xn=toArray(lr);warning(!pr||xn.every(function(Un){return _typeof(Un)==="object"&&("key"in Un||"value"in Un)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Ir||Array.isArray(lr),"`value` should be array when `mode` is `multiple` or `tags`")}if(dt){var Dn=null;toNodeArray(dt).some(function(Un){if(!React.isValidElement(Un)||!Un.type)return!1;var Bn=Un,Vn=Bn.type;if(Vn.isSelectOption)return!1;if(Vn.isSelectOptGroup){var Nn=toNodeArray(Un.props.children).every(function(ir){return!React.isValidElement(ir)||!Un.type||ir.type.isSelectOption?!0:(Dn=ir.type,!1)});return!Nn}return Dn=Vn,!0}),Dn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Dn.displayName||Dn.name||Dn,"`.")),warning(ar===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function kn(He,Ke){if(He){var Bt=function dt(on){for(var nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,hn=0;hn<on.length;hn++){var Pn=on[hn];if(Pn[Ke==null?void 0:Ke.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!nn&&Array.isArray(Pn[Ke==null?void 0:Ke.options])&&dt(Pn[Ke==null?void 0:Ke.options],!0))break}};Bt(He)}}var Tt=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"],sn=["inputValue"];function rn(He){return!He||(0,pe.Z)(He)!=="object"}var $n=Re.forwardRef(function(He,Ke){var Bt=He.id,dt=He.mode,on=He.prefixCls,nn=on===void 0?"rc-select":on,hn=He.backfill,Pn=He.fieldNames,Jn=He.inputValue,In=He.searchValue,Xt=He.onSearch,wn=He.autoClearSearchValue,pr=wn===void 0?!0:wn,lr=He.onSelect,ar=He.onDeselect,dr=He.dropdownMatchSelectWidth,Ir=dr===void 0?!0:dr,tr=He.filterOption,Yr=He.filterSort,_t=He.optionFilterProp,xn=He.optionLabelProp,Dn=He.options,Un=He.children,Bn=He.defaultActiveFirstOption,Vn=He.menuItemSelectedIcon,Nn=He.virtual,ir=He.direction,Cr=He.listHeight,Nr=Cr===void 0?200:Cr,ai=He.listItemHeight,si=ai===void 0?20:ai,mi=He.value,br=He.defaultValue,Hr=He.labelInValue,Lr=He.onChange,ni=(0,Ae.Z)(He,an),$r=(0,cn.ZP)(Bt),Fr=bt(dt),Vr=!!(!Dn&&Un),ei=Re.useMemo(function(){return tr===void 0&&dt==="combobox"?!1:tr},[tr,dt]),_r=Re.useMemo(function(){return le(Pn,Vr)},[JSON.stringify(Pn),Vr]),ki=(0,ye.Z)("",{value:In!==void 0?In:Jn,postState:function(gr){return gr||""}}),Ki=(0,Se.Z)(ki,2),hi=Ki[0],Dr=Ki[1],or=An(Dn,Un,_r,_t,xn),ui=or.valueOptions,gi=or.labelOptions,Pi=or.options,rt=Re.useCallback(function(Fn){var gr=xt(Fn);return gr.map(function(Rr){var Or,ur,ci,_i,Ji;if(rn(Rr))Or=Rr;else{var Zi;ci=Rr.key,ur=Rr.label,Or=(Zi=Rr.value)!==null&&Zi!==void 0?Zi:ci}var di=ui.get(Or);if(di){var Vi;if(ur===void 0&&(ur=di==null?void 0:di[xn||_r.label]),ci===void 0&&(ci=(Vi=di==null?void 0:di.key)!==null&&Vi!==void 0?Vi:Or),_i=di==null?void 0:di.disabled,Ji=di==null?void 0:di.title,0)var Hi}return{label:ur,value:Or,key:ci,disabled:_i,title:Ji}})},[_r,xn,ui]),gt=(0,ye.Z)(br,{value:mi}),Yt=(0,Se.Z)(gt,2),gn=Yt[0],Yn=Yt[1],Pt=Re.useMemo(function(){var Fn,gr=rt(gn);return dt==="combobox"&&Nt((Fn=gr[0])===null||Fn===void 0?void 0:Fn.value)?[]:gr},[gn,rt,dt]),fn=Cn(Pt,ui),Wn=(0,Se.Z)(fn,2),Qn=Wn[0],Mr=Wn[1],Ci=Re.useMemo(function(){if(!dt&&Qn.length===1){var Fn=Qn[0];if(Fn.value===null&&(Fn.label===null||Fn.label===void 0))return[]}return Qn.map(function(gr){var Rr;return(0,yt.Z)((0,yt.Z)({},gr),{},{label:(Rr=gr.label)!==null&&Rr!==void 0?Rr:gr.value})})},[dt,Qn]),ri=Re.useMemo(function(){return new Set(Qn.map(function(Fn){return Fn.value}))},[Qn]);Re.useEffect(function(){if(dt==="combobox"){var Fn,gr=(Fn=Qn[0])===null||Fn===void 0?void 0:Fn.value;Dr(Dt(gr)?String(gr):"")}},[Qn]);var ii=Xn(function(Fn,gr){var Rr,Or=gr!=null?gr:Fn;return Rr={},(0,Ce.Z)(Rr,_r.value,Fn),(0,Ce.Z)(Rr,_r.label,Or),Rr}),Ii=Re.useMemo(function(){if(dt!=="tags")return Pi;var Fn=(0,be.Z)(Pi),gr=function(Or){return ui.has(Or)};return(0,be.Z)(Qn).sort(function(Rr,Or){return Rr.value<Or.value?-1:1}).forEach(function(Rr){var Or=Rr.value;gr(Or)||Fn.push(ii(Or,Rr.label))}),Fn},[ii,Pi,ui,Qn,dt]),da=Qt(Ii,_r,hi,ei,_t),yr=Re.useMemo(function(){return dt!=="tags"||!hi||da.some(function(Fn){return Fn[_t||"value"]===hi})||da.some(function(Fn){return Fn[_r.value]===hi})?da:[ii(hi)].concat((0,be.Z)(da))},[ii,_t,dt,da,hi,_r]),Kr=Re.useMemo(function(){return Yr?(0,be.Z)(yr).sort(function(Fn,gr){return Yr(Fn,gr)}):yr},[yr,Yr]),Tr=Re.useMemo(function(){return Fe(Kr,{fieldNames:_r,childrenAsData:Vr})},[Kr,_r,Vr]),Zr=function(gr){var Rr=rt(gr);if(Yn(Rr),Lr&&(Rr.length!==Qn.length||Rr.some(function(ci,_i){var Ji;return((Ji=Qn[_i])===null||Ji===void 0?void 0:Ji.value)!==(ci==null?void 0:ci.value)}))){var Or=Hr?Rr:Rr.map(function(ci){return ci.value}),ur=Rr.map(function(ci){return at(Mr(ci.value))});Lr(Fr?Or:Or[0],Fr?ur:ur[0])}},wi=Re.useState(null),ua=(0,Se.Z)(wi,2),la=ua[0],va=ua[1],$i=Re.useState(0),ga=(0,Se.Z)($i,2),Wa=ga[0],Xa=ga[1],oo=Bn!==void 0?Bn:dt!=="combobox",yo=Re.useCallback(function(Fn,gr){var Rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Or=Rr.source,ur=Or===void 0?"keyboard":Or;Xa(gr),hn&&dt==="combobox"&&Fn!==null&&ur==="keyboard"&&va(String(Fn))},[hn,dt]),so=function(gr,Rr,Or){var ur=function(){var ra,Ia=Mr(gr);return[Hr?{label:Ia==null?void 0:Ia[_r.label],value:gr,key:(ra=Ia==null?void 0:Ia.key)!==null&&ra!==void 0?ra:gr}:gr,at(Ia)]};if(Rr&&lr){var ci=ur(),_i=(0,Se.Z)(ci,2),Ji=_i[0],Zi=_i[1];lr(Ji,Zi)}else if(!Rr&&ar&&Or!=="clear"){var di=ur(),Vi=(0,Se.Z)(di,2),Hi=Vi[0],La=Vi[1];ar(Hi,La)}},sl=Xn(function(Fn,gr){var Rr,Or=Fr?gr.selected:!0;Or?Rr=Fr?[].concat((0,be.Z)(Qn),[Fn]):[Fn]:Rr=Qn.filter(function(ur){return ur.value!==Fn}),Zr(Rr),so(Fn,Or),dt==="combobox"?va(""):(!bt||pr)&&(Dr(""),va(""))}),ja=function(gr,Rr){Zr(gr);var Or=Rr.type,ur=Rr.values;(Or==="remove"||Or==="clear")&&ur.forEach(function(ci){so(ci.value,!1,Or)})},Va=function(gr,Rr){if(Dr(gr),va(null),Rr.source==="submit"){var Or=(gr||"").trim();if(Or){var ur=Array.from(new Set([].concat((0,be.Z)(ri),[Or])));Zr(ur),so(Or,!0),Dr("")}return}Rr.source!=="blur"&&(dt==="combobox"&&Zr(gr),Xt==null||Xt(gr))},Gn=function(gr){var Rr=gr;dt!=="tags"&&(Rr=gr.map(function(ur){var ci=gi.get(ur);return ci==null?void 0:ci.value}).filter(function(ur){return ur!==void 0}));var Or=Array.from(new Set([].concat((0,be.Z)(ri),(0,be.Z)(Rr))));Zr(Or),Or.forEach(function(ur){so(ur,!0)})},Hn=Re.useMemo(function(){var Fn=Nn!==!1&&Ir!==!1;return(0,yt.Z)((0,yt.Z)({},or),{},{flattenOptions:Tr,onActiveValue:yo,defaultActiveFirstOption:oo,onSelect:sl,menuItemSelectedIcon:Vn,rawValues:ri,fieldNames:_r,virtual:Fn,direction:ir,listHeight:Nr,listItemHeight:si,childrenAsData:Vr})},[or,Tr,yo,oo,sl,Vn,ri,_r,Nn,Ir,Nr,si,Vr]);return Re.createElement(Br.Provider,{value:Hn},Re.createElement(Zt,(0,ne.Z)({},ni,{id:$r,prefixCls:nn,ref:Ke,omitDomProps:sn,mode:dt,displayValues:Ci,onDisplayValuesChange:ja,direction:ir,searchValue:hi,onSearch:Va,autoClearSearchValue:pr,onSearchSplit:Gn,dropdownMatchSelectWidth:Ir,OptionList:zt,emptyOptions:!Tr.length,activeValue:la,activeDescendantId:"".concat($r,"_list_").concat(Wa)})))}),Ft=$n;Ft.Option=kr,Ft.OptGroup=nr;var Ie=Ft,Xe=Ie},9296:function(Ln,pn,ie){"use strict";ie.r(pn),ie.d(pn,{ResizableTextArea:function(){return mt},default:function(){return Nt}});var ne=ie(54476),be=ie(33885),Ce=ie(20068),yt=ie(76190),Se=ie(42978),Ae=ie(75931),pe=ie(94480),ye=ie(92310),Ee=ie.n(ye),Re=ie(93681),ht=ie(5643),ke=ie(18929),Le=ie(59301),Ge=ie(29301),nt=ie(34280),ct=ie(16089),Et=`
|
|
|
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;
|
|
|
`,Ct=["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"],Wt={},ft;function pt(wt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,We=wt.getAttribute("id")||wt.getAttribute("data-reactid")||wt.getAttribute("name");if(It&&Wt[We])return Wt[We];var ve=window.getComputedStyle(wt),Qe=ve.getPropertyValue("box-sizing")||ve.getPropertyValue("-moz-box-sizing")||ve.getPropertyValue("-webkit-box-sizing"),Vt=parseFloat(ve.getPropertyValue("padding-bottom"))+parseFloat(ve.getPropertyValue("padding-top")),Mt=parseFloat(ve.getPropertyValue("border-bottom-width"))+parseFloat(ve.getPropertyValue("border-top-width")),Ue=Ct.map(function(Ht){return"".concat(Ht,":").concat(ve.getPropertyValue(Ht))}).join(";"),st={sizingStyle:Ue,paddingSize:Vt,borderSize:Mt,boxSizing:Qe};return It&&We&&(Wt[We]=st),st}function ze(wt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ft||(ft=document.createElement("textarea"),ft.setAttribute("tab-index","-1"),ft.setAttribute("aria-hidden","true"),document.body.appendChild(ft)),wt.getAttribute("wrap")?ft.setAttribute("wrap",wt.getAttribute("wrap")):ft.removeAttribute("wrap");var Qe=pt(wt,It),Vt=Qe.paddingSize,Mt=Qe.borderSize,Ue=Qe.boxSizing,st=Qe.sizingStyle;ft.setAttribute("style","".concat(st,";").concat(Et)),ft.value=wt.value||wt.placeholder||"";var Ht=void 0,yn=void 0,Ut,Sn=ft.scrollHeight;if(Ue==="border-box"?Sn+=Mt:Ue==="content-box"&&(Sn-=Vt),We!==null||ve!==null){ft.value=" ";var jt=ft.scrollHeight-Vt;We!==null&&(Ht=jt*We,Ue==="border-box"&&(Ht=Ht+Vt+Mt),Sn=Math.max(Ht,Sn)),ve!==null&&(yn=jt*ve,Ue==="border-box"&&(yn=yn+Vt+Mt),Ut=Sn>yn?"":"hidden",Sn=Math.min(yn,Sn))}var Jt={height:Sn,overflowY:Ut,resize:"none"};return Ht&&(Jt.minHeight=Ht),yn&&(Jt.maxHeight=yn),Jt}var he=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],it=0,ot=1,ut=2,Je=Le.forwardRef(function(wt,It){var We=wt,ve=We.prefixCls,Qe=We.onPressEnter,Vt=We.defaultValue,Mt=We.value,Ue=We.autoSize,st=We.onResize,Ht=We.className,yn=We.style,Ut=We.disabled,Sn=We.onChange,jt=We.onInternalAutoSize,Jt=(0,Ae.Z)(We,he),Ot=(0,ke.Z)(Vt,{value:Mt,postState:function(nr){return nr!=null?nr:""}}),xe=(0,Se.Z)(Ot,2),ce=xe[0],ue=xe[1],de=function(nr){ue(nr.target.value),Sn==null||Sn(nr)},fe=Le.useRef();Le.useImperativeHandle(It,function(){return{textArea:fe.current}});var le=Le.useMemo(function(){return Ue&&(0,yt.Z)(Ue)==="object"?[Ue.minRows,Ue.maxRows]:[]},[Ue]),Fe=(0,Se.Z)(le,2),at=Fe[0],Ze=Fe[1],Me=!!Ue,Lt=function(){try{if(document.activeElement===fe.current){var nr=fe.current,wr=nr.selectionStart,kr=nr.selectionEnd,rr=nr.scrollTop;fe.current.setSelectionRange(wr,kr),fe.current.scrollTop=rr}}catch(Ar){}},bt=Le.useState(ut),et=(0,Se.Z)(bt,2),Zt=et[0],Cn=et[1],kt=Le.useState(),Qt=(0,Se.Z)(kt,2),cn=Qt[0],vt=Qt[1],Oe=function(){Cn(it)};(0,nt.Z)(function(){Me&&Oe()},[Mt,at,Ze,Me]),(0,nt.Z)(function(){if(Zt===it)Cn(ot);else if(Zt===ot){var Gt=ze(fe.current,!1,at,Ze);Cn(ut),vt(Gt)}else Lt()},[Zt]);var tt=Le.useRef(),ln=function(){ct.Z.cancel(tt.current)},dn=function(nr){Zt===ut&&(st==null||st(nr),Ue&&(ln(),tt.current=(0,ct.Z)(function(){Oe()})))};Le.useEffect(function(){return ln},[]);var An=Me?cn:null,Xn=(0,be.Z)((0,be.Z)({},yn),An);return(Zt===it||Zt===ot)&&(Xn.overflowY="hidden",Xn.overflowX="hidden"),Le.createElement(Ge.Z,{onResize:dn,disabled:!(Ue||st)},Le.createElement("textarea",(0,ne.Z)({},Jt,{ref:fe,style:Xn,className:Ee()(ve,Ht,(0,Ce.Z)({},"".concat(ve,"-disabled"),Ut)),disabled:Ut,value:ce,onChange:de})))}),mt=Je,Te=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function xt(wt,It){return(0,pe.Z)(wt||"").slice(0,It).join("")}function Ne(wt,It,We,ve){var Qe=We;return wt?Qe=xt(We,ve):(0,pe.Z)(It||"").length<We.length&&(0,pe.Z)(We||"").length>ve&&(Qe=It),Qe}var Rt=Le.forwardRef(function(wt,It){var We,ve=wt.defaultValue,Qe=wt.value,Vt=wt.onFocus,Mt=wt.onBlur,Ue=wt.onChange,st=wt.allowClear,Ht=wt.maxLength,yn=wt.onCompositionStart,Ut=wt.onCompositionEnd,Sn=wt.suffix,jt=wt.prefixCls,Jt=jt===void 0?"rc-textarea":jt,Ot=wt.classes,xe=wt.showCount,ce=wt.className,ue=wt.style,de=wt.disabled,fe=wt.hidden,le=wt.classNames,Fe=wt.styles,at=wt.onResize,Ze=(0,Ae.Z)(wt,Te),Me=(0,ke.Z)(ve,{value:Qe,defaultValue:ve}),Lt=(0,Se.Z)(Me,2),bt=Lt[0],et=Lt[1],Zt=(0,Le.useRef)(null),Cn=Le.useState(!1),kt=(0,Se.Z)(Cn,2),Qt=kt[0],cn=kt[1],vt=Le.useState(!1),Oe=(0,Se.Z)(vt,2),tt=Oe[0],ln=Oe[1],dn=Le.useRef(),An=Le.useRef(0),Xn=Le.useState(null),Gt=(0,Se.Z)(Xn,2),nr=Gt[0],wr=Gt[1],kr=function(){var rn;(rn=Zt.current)===null||rn===void 0||rn.textArea.focus()};(0,Le.useImperativeHandle)(It,function(){return{resizableTextArea:Zt.current,focus:kr,blur:function(){var rn;(rn=Zt.current)===null||rn===void 0||rn.textArea.blur()}}}),(0,Le.useEffect)(function(){cn(function(sn){return!de&&sn})},[de]);var rr=Number(Ht)>0,Ar=function(rn){ln(!0),dn.current=bt,An.current=rn.currentTarget.selectionStart,yn==null||yn(rn)},li=function(rn){ln(!1);var $n=rn.currentTarget.value;if(rr){var Ft,Ie=An.current>=Ht+1||An.current===((Ft=dn.current)===null||Ft===void 0?void 0:Ft.length);$n=Ne(Ie,dn.current,$n,Ht)}$n!==bt&&(et($n),(0,ht.rJ)(rn.currentTarget,rn,Ue,$n)),Ut==null||Ut(rn)},xr=function(rn){var $n=rn.target.value;if(!tt&&rr){var Ft=rn.target.selectionStart>=Ht+1||rn.target.selectionStart===$n.length||!rn.target.selectionStart;$n=Ne(Ft,bt,$n,Ht)}et($n),(0,ht.rJ)(rn.currentTarget,rn,Ue,$n)},Br=function(rn){var $n=Ze.onPressEnter,Ft=Ze.onKeyDown;rn.key==="Enter"&&$n&&$n(rn),Ft==null||Ft(rn)},ti=function(rn){cn(!0),Vt==null||Vt(rn)},Rn=function(rn){cn(!1),Mt==null||Mt(rn)},tn=function(rn){var $n;et(""),kr(),(0,ht.rJ)(($n=Zt.current)===null||$n===void 0?void 0:$n.textArea,rn,Ue)},zn=(0,ht.D7)(bt);!tt&&rr&&Qe==null&&(zn=xt(zn,Ht));var er=Sn,zt;if(xe){var bn=(0,pe.Z)(zn).length;(0,yt.Z)(xe)==="object"?zt=xe.formatter({value:zn,count:bn,maxLength:Ht}):zt="".concat(bn).concat(rr?" / ".concat(Ht):""),er=Le.createElement(Le.Fragment,null,er,Le.createElement("span",{className:Ee()("".concat(Jt,"-data-count"),le==null?void 0:le.count),style:Fe==null?void 0:Fe.count},zt))}var kn=function(rn){var $n;at==null||at(rn),($n=Zt.current)!==null&&$n!==void 0&&$n.textArea.style.height&&wr(!0)},Tt=!Ze.autoSize&&!xe&&!st,an=Le.createElement(Re.BaseInput,{value:zn,allowClear:st,handleReset:tn,suffix:er,prefixCls:Jt,classes:{affixWrapper:Ee()(Ot==null?void 0:Ot.affixWrapper,(We={},(0,Ce.Z)(We,"".concat(Jt,"-show-count"),xe),(0,Ce.Z)(We,"".concat(Jt,"-textarea-allow-clear"),st),We))},disabled:de,focused:Qt,className:ce,style:(0,be.Z)((0,be.Z)({},ue),nr&&!Tt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof zt=="string"?zt:void 0}},hidden:fe,inputElement:Le.createElement(mt,(0,ne.Z)({},Ze,{onKeyDown:Br,onChange:xr,onFocus:ti,onBlur:Rn,onCompositionStart:Ar,onCompositionEnd:li,className:le==null?void 0:le.textarea,style:(0,be.Z)((0,be.Z)({},Fe==null?void 0:Fe.textarea),{},{resize:ue==null?void 0:ue.resize}),disabled:de,prefixCls:Jt,onResize:kn,ref:Zt}))});return an}),Dt=Rt,Nt=Dt},39417:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ot}});var ne=ie(54476),be=ie(20068),Ce=ie(75931),yt=ie(33885),Se=ie(67732),Ae=ie(83652),pe=ie(31226),ye=ie(42403),Ee=ie(158),Re=ie(92310),ht=ie.n(Re),ke=ie(26112),Le=ie(59301),Ge=ie(39378),nt=function(Je){for(var mt=Je.prefixCls,Te=Je.level,xt=Je.isStart,Ne=Je.isEnd,Rt="".concat(mt,"-indent-unit"),Dt=[],Nt=0;Nt<Te;Nt+=1){var wt;Dt.push(Le.createElement("span",{key:Nt,className:ht()(Rt,(wt={},(0,be.Z)(wt,"".concat(Rt,"-start"),xt[Nt]),(0,be.Z)(wt,"".concat(Rt,"-end"),Ne[Nt]),wt))}))}return Le.createElement("span",{"aria-hidden":"true",className:"".concat(mt,"-indent")},Dt)},ct=Le.memo(nt),Et=ie(67841),Ct=ie(71430),Wt=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ft="open",pt="close",ze="---",he=function(ut){(0,ye.Z)(mt,ut);var Je=(0,Ee.Z)(mt);function mt(){var Te;(0,Se.Z)(this,mt);for(var xt=arguments.length,Ne=new Array(xt),Rt=0;Rt<xt;Rt++)Ne[Rt]=arguments[Rt];return Te=Je.call.apply(Je,[this].concat(Ne)),Te.state={dragNodeHighlight:!1},Te.selectHandle=void 0,Te.cacheIndent=void 0,Te.onSelectorClick=function(Dt){var Nt=Te.props.context.onNodeClick;Nt(Dt,(0,Ct.F)(Te.props)),Te.isSelectable()?Te.onSelect(Dt):Te.onCheck(Dt)},Te.onSelectorDoubleClick=function(Dt){var Nt=Te.props.context.onNodeDoubleClick;Nt(Dt,(0,Ct.F)(Te.props))},Te.onSelect=function(Dt){if(!Te.isDisabled()){var Nt=Te.props.context.onNodeSelect;Nt(Dt,(0,Ct.F)(Te.props))}},Te.onCheck=function(Dt){if(!Te.isDisabled()){var Nt=Te.props,wt=Nt.disableCheckbox,It=Nt.checked,We=Te.props.context.onNodeCheck;if(!(!Te.isCheckable()||wt)){var ve=!It;We(Dt,(0,Ct.F)(Te.props),ve)}}},Te.onMouseEnter=function(Dt){var Nt=Te.props.context.onNodeMouseEnter;Nt(Dt,(0,Ct.F)(Te.props))},Te.onMouseLeave=function(Dt){var Nt=Te.props.context.onNodeMouseLeave;Nt(Dt,(0,Ct.F)(Te.props))},Te.onContextMenu=function(Dt){var Nt=Te.props.context.onNodeContextMenu;Nt(Dt,(0,Ct.F)(Te.props))},Te.onDragStart=function(Dt){var Nt=Te.props.context.onNodeDragStart;Dt.stopPropagation(),Te.setState({dragNodeHighlight:!0}),Nt(Dt,(0,pe.Z)(Te));try{Dt.dataTransfer.setData("text/plain","")}catch(wt){}},Te.onDragEnter=function(Dt){var Nt=Te.props.context.onNodeDragEnter;Dt.preventDefault(),Dt.stopPropagation(),Nt(Dt,(0,pe.Z)(Te))},Te.onDragOver=function(Dt){var Nt=Te.props.context.onNodeDragOver;Dt.preventDefault(),Dt.stopPropagation(),Nt(Dt,(0,pe.Z)(Te))},Te.onDragLeave=function(Dt){var Nt=Te.props.context.onNodeDragLeave;Dt.stopPropagation(),Nt(Dt,(0,pe.Z)(Te))},Te.onDragEnd=function(Dt){var Nt=Te.props.context.onNodeDragEnd;Dt.stopPropagation(),Te.setState({dragNodeHighlight:!1}),Nt(Dt,(0,pe.Z)(Te))},Te.onDrop=function(Dt){var Nt=Te.props.context.onNodeDrop;Dt.preventDefault(),Dt.stopPropagation(),Te.setState({dragNodeHighlight:!1}),Nt(Dt,(0,pe.Z)(Te))},Te.onExpand=function(Dt){var Nt=Te.props,wt=Nt.loading,It=Nt.context.onNodeExpand;wt||It(Dt,(0,Ct.F)(Te.props))},Te.setSelectHandle=function(Dt){Te.selectHandle=Dt},Te.getNodeState=function(){var Dt=Te.props.expanded;return Te.isLeaf()?null:Dt?ft:pt},Te.hasChildren=function(){var Dt=Te.props.eventKey,Nt=Te.props.context.keyEntities,wt=(0,Et.Z)(Nt,Dt)||{},It=wt.children;return!!(It||[]).length},Te.isLeaf=function(){var Dt=Te.props,Nt=Dt.isLeaf,wt=Dt.loaded,It=Te.props.context.loadData,We=Te.hasChildren();return Nt===!1?!1:Nt||!It&&!We||It&&wt&&!We},Te.isDisabled=function(){var Dt=Te.props.disabled,Nt=Te.props.context.disabled;return!!(Nt||Dt)},Te.isCheckable=function(){var Dt=Te.props.checkable,Nt=Te.props.context.checkable;return!Nt||Dt===!1?!1:Nt},Te.syncLoadData=function(Dt){var Nt=Dt.expanded,wt=Dt.loading,It=Dt.loaded,We=Te.props.context,ve=We.loadData,Qe=We.onNodeLoad;wt||ve&&Nt&&!Te.isLeaf()&&!Te.hasChildren()&&!It&&Qe((0,Ct.F)(Te.props))},Te.isDraggable=function(){var Dt=Te.props,Nt=Dt.data,wt=Dt.context.draggable;return!!(wt&&(!wt.nodeDraggable||wt.nodeDraggable(Nt)))},Te.renderDragHandler=function(){var Dt=Te.props.context,Nt=Dt.draggable,wt=Dt.prefixCls;return Nt!=null&&Nt.icon?Le.createElement("span",{className:"".concat(wt,"-draggable-icon")},Nt.icon):null},Te.renderSwitcherIconDom=function(Dt){var Nt=Te.props.switcherIcon,wt=Te.props.context.switcherIcon,It=Nt||wt;return typeof It=="function"?It((0,yt.Z)((0,yt.Z)({},Te.props),{},{isLeaf:Dt})):It},Te.renderSwitcher=function(){var Dt=Te.props.expanded,Nt=Te.props.context.prefixCls;if(Te.isLeaf()){var wt=Te.renderSwitcherIconDom(!0);return wt!==!1?Le.createElement("span",{className:ht()("".concat(Nt,"-switcher"),"".concat(Nt,"-switcher-noop"))},wt):null}var It=ht()("".concat(Nt,"-switcher"),"".concat(Nt,"-switcher_").concat(Dt?ft:pt)),We=Te.renderSwitcherIconDom(!1);return We!==!1?Le.createElement("span",{onClick:Te.onExpand,className:It},We):null},Te.renderCheckbox=function(){var Dt=Te.props,Nt=Dt.checked,wt=Dt.halfChecked,It=Dt.disableCheckbox,We=Te.props.context.prefixCls,ve=Te.isDisabled(),Qe=Te.isCheckable();if(!Qe)return null;var Vt=typeof Qe!="boolean"?Qe:null;return Le.createElement("span",{className:ht()("".concat(We,"-checkbox"),Nt&&"".concat(We,"-checkbox-checked"),!Nt&&wt&&"".concat(We,"-checkbox-indeterminate"),(ve||It)&&"".concat(We,"-checkbox-disabled")),onClick:Te.onCheck},Vt)},Te.renderIcon=function(){var Dt=Te.props.loading,Nt=Te.props.context.prefixCls;return Le.createElement("span",{className:ht()("".concat(Nt,"-iconEle"),"".concat(Nt,"-icon__").concat(Te.getNodeState()||"docu"),Dt&&"".concat(Nt,"-icon_loading"))})},Te.renderSelector=function(){var Dt=Te.state.dragNodeHighlight,Nt=Te.props,wt=Nt.title,It=wt===void 0?ze:wt,We=Nt.selected,ve=Nt.icon,Qe=Nt.loading,Vt=Nt.data,Mt=Te.props.context,Ue=Mt.prefixCls,st=Mt.showIcon,Ht=Mt.icon,yn=Mt.loadData,Ut=Mt.titleRender,Sn=Te.isDisabled(),jt="".concat(Ue,"-node-content-wrapper"),Jt;if(st){var Ot=ve||Ht;Jt=Ot?Le.createElement("span",{className:ht()("".concat(Ue,"-iconEle"),"".concat(Ue,"-icon__customize"))},typeof Ot=="function"?Ot(Te.props):Ot):Te.renderIcon()}else yn&&Qe&&(Jt=Te.renderIcon());var xe;typeof It=="function"?xe=It(Vt):Ut?xe=Ut(Vt):xe=It;var ce=Le.createElement("span",{className:"".concat(Ue,"-title")},xe);return Le.createElement("span",{ref:Te.setSelectHandle,title:typeof It=="string"?It:"",className:ht()("".concat(jt),"".concat(jt,"-").concat(Te.getNodeState()||"normal"),!Sn&&(We||Dt)&&"".concat(Ue,"-node-selected")),onMouseEnter:Te.onMouseEnter,onMouseLeave:Te.onMouseLeave,onContextMenu:Te.onContextMenu,onClick:Te.onSelectorClick,onDoubleClick:Te.onSelectorDoubleClick},Jt,ce,Te.renderDropIndicator())},Te.renderDropIndicator=function(){var Dt=Te.props,Nt=Dt.disabled,wt=Dt.eventKey,It=Te.props.context,We=It.draggable,ve=It.dropLevelOffset,Qe=It.dropPosition,Vt=It.prefixCls,Mt=It.indent,Ue=It.dropIndicatorRender,st=It.dragOverNodeKey,Ht=It.direction,yn=!!We,Ut=!Nt&&yn&&st===wt,Sn=Mt!=null?Mt:Te.cacheIndent;return Te.cacheIndent=Mt,Ut?Ue({dropPosition:Qe,dropLevelOffset:ve,indent:Sn,prefixCls:Vt,direction:Ht}):null},Te}return(0,Ae.Z)(mt,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var xt=this.props.selectable,Ne=this.props.context.selectable;return typeof xt=="boolean"?xt:Ne}},{key:"render",value:function(){var xt,Ne=this.props,Rt=Ne.eventKey,Dt=Ne.className,Nt=Ne.style,wt=Ne.dragOver,It=Ne.dragOverGapTop,We=Ne.dragOverGapBottom,ve=Ne.isLeaf,Qe=Ne.isStart,Vt=Ne.isEnd,Mt=Ne.expanded,Ue=Ne.selected,st=Ne.checked,Ht=Ne.halfChecked,yn=Ne.loading,Ut=Ne.domRef,Sn=Ne.active,jt=Ne.data,Jt=Ne.onMouseMove,Ot=Ne.selectable,xe=(0,Ce.Z)(Ne,Wt),ce=this.props.context,ue=ce.prefixCls,de=ce.filterTreeNode,fe=ce.keyEntities,le=ce.dropContainerKey,Fe=ce.dropTargetKey,at=ce.draggingNodeKey,Ze=this.isDisabled(),Me=(0,ke.Z)(xe,{aria:!0,data:!0}),Lt=(0,Et.Z)(fe,Rt)||{},bt=Lt.level,et=Vt[Vt.length-1],Zt=this.isDraggable(),Cn=!Ze&&Zt,kt=at===Rt,Qt=Ot!==void 0?{"aria-selected":!!Ot}:void 0;return Le.createElement("div",(0,ne.Z)({ref:Ut,className:ht()(Dt,"".concat(ue,"-treenode"),(xt={},(0,be.Z)(xt,"".concat(ue,"-treenode-disabled"),Ze),(0,be.Z)(xt,"".concat(ue,"-treenode-switcher-").concat(Mt?"open":"close"),!ve),(0,be.Z)(xt,"".concat(ue,"-treenode-checkbox-checked"),st),(0,be.Z)(xt,"".concat(ue,"-treenode-checkbox-indeterminate"),Ht),(0,be.Z)(xt,"".concat(ue,"-treenode-selected"),Ue),(0,be.Z)(xt,"".concat(ue,"-treenode-loading"),yn),(0,be.Z)(xt,"".concat(ue,"-treenode-active"),Sn),(0,be.Z)(xt,"".concat(ue,"-treenode-leaf-last"),et),(0,be.Z)(xt,"".concat(ue,"-treenode-draggable"),Zt),(0,be.Z)(xt,"dragging",kt),(0,be.Z)(xt,"drop-target",Fe===Rt),(0,be.Z)(xt,"drop-container",le===Rt),(0,be.Z)(xt,"drag-over",!Ze&&wt),(0,be.Z)(xt,"drag-over-gap-top",!Ze&&It),(0,be.Z)(xt,"drag-over-gap-bottom",!Ze&&We),(0,be.Z)(xt,"filter-node",de&&de((0,Ct.F)(this.props))),xt)),style:Nt,draggable:Cn,"aria-grabbed":kt,onDragStart:Cn?this.onDragStart:void 0,onDragEnter:Zt?this.onDragEnter:void 0,onDragOver:Zt?this.onDragOver:void 0,onDragLeave:Zt?this.onDragLeave:void 0,onDrop:Zt?this.onDrop:void 0,onDragEnd:Zt?this.onDragEnd:void 0,onMouseMove:Jt},Qt,Me),Le.createElement(ct,{prefixCls:ue,level:bt,isStart:Qe,isEnd:Vt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),mt}(Le.Component),it=function(Je){return Le.createElement(Ge.k.Consumer,null,function(mt){return Le.createElement(he,(0,ne.Z)({},Je,{context:mt}))})};it.displayName="TreeNode",it.isTreeNode=1;var ot=it},39378:function(Ln,pn,ie){"use strict";ie.d(pn,{k:function(){return be}});var ne=ie(59301),be=ne.createContext(null)},60091:function(Ln,pn,ie){"use strict";ie.d(pn,{O:function(){return ot.Z},Z:function(){return ce}});var ne=ie(54476),be=ie(20068),Ce=ie(76190),yt=ie(33885),Se=ie(94480),Ae=ie(67732),pe=ie(83652),ye=ie(31226),Ee=ie(42403),Re=ie(158),ht=ie(92310),ke=ie.n(ht),Le=ie(10228),Ge=ie(26112),nt=ie(48736),ct=ie(59301),Et=ie(39378);function Ct(ue){var de=ue.dropPosition,fe=ue.dropLevelOffset,le=ue.indent,Fe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(de){case-1:Fe.top=0,Fe.left=-fe*le;break;case 1:Fe.bottom=0,Fe.left=-fe*le;break;case 0:Fe.bottom=0,Fe.left=le;break}return ct.createElement("div",{style:Fe})}function Wt(ue){if(ue==null)throw new TypeError("Cannot destructure "+ue)}var ft=ie(42978),pt=ie(75931),ze=ie(34280),he=ie(48911),it=ie(77900),ot=ie(39417);function ut(ue,de){var fe=ct.useState(!1),le=(0,ft.Z)(fe,2),Fe=le[0],at=le[1];ct.useLayoutEffect(function(){if(Fe)return ue(),function(){de()}},[Fe]),ct.useLayoutEffect(function(){return at(!0),function(){at(!1)}},[])}var Je=ie(71430),mt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Te=function(de,fe){var le=de.className,Fe=de.style,at=de.motion,Ze=de.motionNodes,Me=de.motionType,Lt=de.onMotionStart,bt=de.onMotionEnd,et=de.active,Zt=de.treeNodeRequiredProps,Cn=(0,pt.Z)(de,mt),kt=ct.useState(!0),Qt=(0,ft.Z)(kt,2),cn=Qt[0],vt=Qt[1],Oe=ct.useContext(Et.k),tt=Oe.prefixCls,ln=Ze&&Me!=="hide";(0,ze.Z)(function(){Ze&&ln!==cn&&vt(ln)},[Ze]);var dn=function(){Ze&&Lt()},An=ct.useRef(!1),Xn=function(){Ze&&!An.current&&(An.current=!0,bt())};ut(dn,Xn);var Gt=function(wr){ln===wr&&Xn()};return Ze?ct.createElement(it.default,(0,ne.Z)({ref:fe,visible:cn},at,{motionAppear:Me==="show",onVisibleChanged:Gt}),function(nr,wr){var kr=nr.className,rr=nr.style;return ct.createElement("div",{ref:wr,className:ke()("".concat(tt,"-treenode-motion"),kr),style:rr},Ze.map(function(Ar){var li=(0,ne.Z)({},(Wt(Ar.data),Ar.data)),xr=Ar.title,Br=Ar.key,ti=Ar.isStart,Rn=Ar.isEnd;delete li.children;var tn=(0,Je.H8)(Br,Zt);return ct.createElement(ot.Z,(0,ne.Z)({},li,tn,{title:xr,active:et,data:Ar.data,key:Br,isStart:ti,isEnd:Rn}))}))}):ct.createElement(ot.Z,(0,ne.Z)({domRef:fe,className:le,style:Fe},Cn,{active:et}))};Te.displayName="MotionTreeNode";var xt=ct.forwardRef(Te),Ne=xt;function Rt(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fe=ue.length,le=de.length;if(Math.abs(fe-le)!==1)return{add:!1,key:null};function Fe(at,Ze){var Me=new Map;at.forEach(function(bt){Me.set(bt,!0)});var Lt=Ze.filter(function(bt){return!Me.has(bt)});return Lt.length===1?Lt[0]:null}return fe<le?{add:!0,key:Fe(ue,de)}:{add:!1,key:Fe(de,ue)}}function Dt(ue,de,fe){var le=ue.findIndex(function(Me){return Me.key===fe}),Fe=ue[le+1],at=de.findIndex(function(Me){return Me.key===fe});if(Fe){var Ze=de.findIndex(function(Me){return Me.key===Fe.key});return de.slice(at+1,Ze)}return de.slice(at+1)}var Nt=["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"],wt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},It=function(){},We="RC_TREE_MOTION_".concat(Math.random()),ve={key:We},Qe={key:We,level:0,index:0,pos:"0",node:ve,nodes:[ve]},Vt={parent:null,children:[],pos:Qe.pos,data:ve,title:null,key:We,isStart:[],isEnd:[]};function Mt(ue,de,fe,le){return de===!1||!fe?ue:ue.slice(0,Math.ceil(fe/le)+1)}function Ue(ue){var de=ue.key,fe=ue.pos;return(0,Je.km)(de,fe)}function st(ue){for(var de=String(ue.data.key),fe=ue;fe.parent;)fe=fe.parent,de="".concat(fe.data.key," > ").concat(de);return de}var Ht=ct.forwardRef(function(ue,de){var fe=ue.prefixCls,le=ue.data,Fe=ue.selectable,at=ue.checkable,Ze=ue.expandedKeys,Me=ue.selectedKeys,Lt=ue.checkedKeys,bt=ue.loadedKeys,et=ue.loadingKeys,Zt=ue.halfCheckedKeys,Cn=ue.keyEntities,kt=ue.disabled,Qt=ue.dragging,cn=ue.dragOverNodeKey,vt=ue.dropPosition,Oe=ue.motion,tt=ue.height,ln=ue.itemHeight,dn=ue.virtual,An=ue.focusable,Xn=ue.activeItem,Gt=ue.focused,nr=ue.tabIndex,wr=ue.onKeyDown,kr=ue.onFocus,rr=ue.onBlur,Ar=ue.onActiveChange,li=ue.onListChangeStart,xr=ue.onListChangeEnd,Br=(0,pt.Z)(ue,Nt),ti=ct.useRef(null),Rn=ct.useRef(null);ct.useImperativeHandle(de,function(){return{scrollTo:function(wn){ti.current.scrollTo(wn)},getIndentWidth:function(){return Rn.current.offsetWidth}}});var tn=ct.useState(Ze),zn=(0,ft.Z)(tn,2),er=zn[0],zt=zn[1],bn=ct.useState(le),kn=(0,ft.Z)(bn,2),Tt=kn[0],an=kn[1],sn=ct.useState(le),rn=(0,ft.Z)(sn,2),$n=rn[0],Ft=rn[1],Ie=ct.useState([]),Xe=(0,ft.Z)(Ie,2),He=Xe[0],Ke=Xe[1],Bt=ct.useState(null),dt=(0,ft.Z)(Bt,2),on=dt[0],nn=dt[1],hn=ct.useRef(le);hn.current=le;function Pn(){var Xt=hn.current;an(Xt),Ft(Xt),Ke([]),nn(null),xr()}(0,ze.Z)(function(){zt(Ze);var Xt=Rt(er,Ze);if(Xt.key!==null)if(Xt.add){var wn=Tt.findIndex(function(tr){var Yr=tr.key;return Yr===Xt.key}),pr=Mt(Dt(Tt,le,Xt.key),dn,tt,ln),lr=Tt.slice();lr.splice(wn+1,0,Vt),Ft(lr),Ke(pr),nn("show")}else{var ar=le.findIndex(function(tr){var Yr=tr.key;return Yr===Xt.key}),dr=Mt(Dt(le,Tt,Xt.key),dn,tt,ln),Ir=le.slice();Ir.splice(ar+1,0,Vt),Ft(Ir),Ke(dr),nn("hide")}else Tt!==le&&(an(le),Ft(le))},[Ze,le]),ct.useEffect(function(){Qt||Pn()},[Qt]);var Jn=Oe?$n:le,In={expandedKeys:Ze,selectedKeys:Me,loadedKeys:bt,loadingKeys:et,checkedKeys:Lt,halfCheckedKeys:Zt,dragOverNodeKey:cn,dropPosition:vt,keyEntities:Cn};return ct.createElement(ct.Fragment,null,Gt&&Xn&&ct.createElement("span",{style:wt,"aria-live":"assertive"},st(Xn)),ct.createElement("div",null,ct.createElement("input",{style:wt,disabled:An===!1||kt,tabIndex:An!==!1?nr:null,onKeyDown:wr,onFocus:kr,onBlur:rr,value:"",onChange:It,"aria-label":"for screen reader"})),ct.createElement("div",{className:"".concat(fe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ct.createElement("div",{className:"".concat(fe,"-indent")},ct.createElement("div",{ref:Rn,className:"".concat(fe,"-indent-unit")}))),ct.createElement(he.Z,(0,ne.Z)({},Br,{data:Jn,itemKey:Ue,height:tt,fullHeight:!1,virtual:dn,itemHeight:ln,prefixCls:"".concat(fe,"-list"),ref:ti,onVisibleChange:function(wn,pr){var lr=new Set(wn),ar=pr.filter(function(dr){return!lr.has(dr)});ar.some(function(dr){return Ue(dr)===We})&&Pn()}}),function(Xt){var wn=Xt.pos,pr=(0,ne.Z)({},(Wt(Xt.data),Xt.data)),lr=Xt.title,ar=Xt.key,dr=Xt.isStart,Ir=Xt.isEnd,tr=(0,Je.km)(ar,wn);delete pr.key,delete pr.children;var Yr=(0,Je.H8)(tr,In);return ct.createElement(Ne,(0,ne.Z)({},pr,Yr,{title:lr,active:!!Xn&&ar===Xn.key,pos:wn,data:Xt.data,isStart:dr,isEnd:Ir,motion:Oe,motionNodes:ar===We?He:null,motionType:on,onMotionStart:li,onMotionEnd:Pn,treeNodeRequiredProps:In,onMouseMove:function(){Ar(null)}}))}))});Ht.displayName="NodeList";var yn=Ht,Ut=ie(35654),Sn=ie(90782),jt=ie(67841),Jt=10,Ot=function(ue){(0,Ee.Z)(fe,ue);var de=(0,Re.Z)(fe);function fe(){var le;(0,Ae.Z)(this,fe);for(var Fe=arguments.length,at=new Array(Fe),Ze=0;Ze<Fe;Ze++)at[Ze]=arguments[Ze];return le=de.call.apply(de,[this].concat(at)),le.destroyed=!1,le.delayedDragEnterLogic=void 0,le.loadingRetryTimes={},le.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,Je.w$)()},le.dragStartMousePosition=null,le.dragNode=void 0,le.currentMouseOverDroppableNodeKey=null,le.listRef=ct.createRef(),le.onNodeDragStart=function(Me,Lt){var bt=le.state,et=bt.expandedKeys,Zt=bt.keyEntities,Cn=le.props.onDragStart,kt=Lt.props.eventKey;le.dragNode=Lt,le.dragStartMousePosition={x:Me.clientX,y:Me.clientY};var Qt=(0,Ut._5)(et,kt);le.setState({draggingNodeKey:kt,dragChildrenKeys:(0,Ut.wA)(kt,Zt),indent:le.listRef.current.getIndentWidth()}),le.setExpandedKeys(Qt),window.addEventListener("dragend",le.onWindowDragEnd),Cn==null||Cn({event:Me,node:(0,Je.F)(Lt.props)})},le.onNodeDragEnter=function(Me,Lt){var bt=le.state,et=bt.expandedKeys,Zt=bt.keyEntities,Cn=bt.dragChildrenKeys,kt=bt.flattenNodes,Qt=bt.indent,cn=le.props,vt=cn.onDragEnter,Oe=cn.onExpand,tt=cn.allowDrop,ln=cn.direction,dn=Lt.props,An=dn.pos,Xn=dn.eventKey,Gt=(0,ye.Z)(le),nr=Gt.dragNode;if(le.currentMouseOverDroppableNodeKey!==Xn&&(le.currentMouseOverDroppableNodeKey=Xn),!nr){le.resetDragState();return}var wr=(0,Ut.OM)(Me,nr,Lt,Qt,le.dragStartMousePosition,tt,kt,Zt,et,ln),kr=wr.dropPosition,rr=wr.dropLevelOffset,Ar=wr.dropTargetKey,li=wr.dropContainerKey,xr=wr.dropTargetPos,Br=wr.dropAllowed,ti=wr.dragOverNodeKey;if(Cn.indexOf(Ar)!==-1||!Br){le.resetDragState();return}if(le.delayedDragEnterLogic||(le.delayedDragEnterLogic={}),Object.keys(le.delayedDragEnterLogic).forEach(function(Rn){clearTimeout(le.delayedDragEnterLogic[Rn])}),nr.props.eventKey!==Lt.props.eventKey&&(Me.persist(),le.delayedDragEnterLogic[An]=window.setTimeout(function(){if(le.state.draggingNodeKey!==null){var Rn=(0,Se.Z)(et),tn=(0,jt.Z)(Zt,Lt.props.eventKey);tn&&(tn.children||[]).length&&(Rn=(0,Ut.L0)(et,Lt.props.eventKey)),"expandedKeys"in le.props||le.setExpandedKeys(Rn),Oe==null||Oe(Rn,{node:(0,Je.F)(Lt.props),expanded:!0,nativeEvent:Me.nativeEvent})}},800)),nr.props.eventKey===Ar&&rr===0){le.resetDragState();return}le.setState({dragOverNodeKey:ti,dropPosition:kr,dropLevelOffset:rr,dropTargetKey:Ar,dropContainerKey:li,dropTargetPos:xr,dropAllowed:Br}),vt==null||vt({event:Me,node:(0,Je.F)(Lt.props),expandedKeys:et})},le.onNodeDragOver=function(Me,Lt){var bt=le.state,et=bt.dragChildrenKeys,Zt=bt.flattenNodes,Cn=bt.keyEntities,kt=bt.expandedKeys,Qt=bt.indent,cn=le.props,vt=cn.onDragOver,Oe=cn.allowDrop,tt=cn.direction,ln=(0,ye.Z)(le),dn=ln.dragNode;if(dn){var An=(0,Ut.OM)(Me,dn,Lt,Qt,le.dragStartMousePosition,Oe,Zt,Cn,kt,tt),Xn=An.dropPosition,Gt=An.dropLevelOffset,nr=An.dropTargetKey,wr=An.dropContainerKey,kr=An.dropAllowed,rr=An.dropTargetPos,Ar=An.dragOverNodeKey;et.indexOf(nr)!==-1||!kr||(dn.props.eventKey===nr&&Gt===0?le.state.dropPosition===null&&le.state.dropLevelOffset===null&&le.state.dropTargetKey===null&&le.state.dropContainerKey===null&&le.state.dropTargetPos===null&&le.state.dropAllowed===!1&&le.state.dragOverNodeKey===null||le.resetDragState():Xn===le.state.dropPosition&&Gt===le.state.dropLevelOffset&&nr===le.state.dropTargetKey&&wr===le.state.dropContainerKey&&rr===le.state.dropTargetPos&&kr===le.state.dropAllowed&&Ar===le.state.dragOverNodeKey||le.setState({dropPosition:Xn,dropLevelOffset:Gt,dropTargetKey:nr,dropContainerKey:wr,dropTargetPos:rr,dropAllowed:kr,dragOverNodeKey:Ar}),vt==null||vt({event:Me,node:(0,Je.F)(Lt.props)}))}},le.onNodeDragLeave=function(Me,Lt){le.currentMouseOverDroppableNodeKey===Lt.props.eventKey&&!Me.currentTarget.contains(Me.relatedTarget)&&(le.resetDragState(),le.currentMouseOverDroppableNodeKey=null);var bt=le.props.onDragLeave;bt==null||bt({event:Me,node:(0,Je.F)(Lt.props)})},le.onWindowDragEnd=function(Me){le.onNodeDragEnd(Me,null,!0),window.removeEventListener("dragend",le.onWindowDragEnd)},le.onNodeDragEnd=function(Me,Lt){var bt=le.props.onDragEnd;le.setState({dragOverNodeKey:null}),le.cleanDragState(),bt==null||bt({event:Me,node:(0,Je.F)(Lt.props)}),le.dragNode=null,window.removeEventListener("dragend",le.onWindowDragEnd)},le.onNodeDrop=function(Me,Lt){var bt,et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Zt=le.state,Cn=Zt.dragChildrenKeys,kt=Zt.dropPosition,Qt=Zt.dropTargetKey,cn=Zt.dropTargetPos,vt=Zt.dropAllowed;if(vt){var Oe=le.props.onDrop;if(le.setState({dragOverNodeKey:null}),le.cleanDragState(),Qt!==null){var tt=(0,yt.Z)((0,yt.Z)({},(0,Je.H8)(Qt,le.getTreeNodeRequiredProps())),{},{active:((bt=le.getActiveItem())===null||bt===void 0?void 0:bt.key)===Qt,data:(0,jt.Z)(le.state.keyEntities,Qt).node}),ln=Cn.indexOf(Qt)!==-1;(0,nt.ZP)(!ln,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var dn=(0,Ut.yx)(cn),An={event:Me,node:(0,Je.F)(tt),dragNode:le.dragNode?(0,Je.F)(le.dragNode.props):null,dragNodesKeys:[le.dragNode.props.eventKey].concat(Cn),dropToGap:kt!==0,dropPosition:kt+Number(dn[dn.length-1])};et||Oe==null||Oe(An),le.dragNode=null}}},le.cleanDragState=function(){var Me=le.state.draggingNodeKey;Me!==null&&le.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),le.dragStartMousePosition=null,le.currentMouseOverDroppableNodeKey=null},le.triggerExpandActionExpand=function(Me,Lt){var bt=le.state,et=bt.expandedKeys,Zt=bt.flattenNodes,Cn=Lt.expanded,kt=Lt.key,Qt=Lt.isLeaf;if(!(Qt||Me.shiftKey||Me.metaKey||Me.ctrlKey)){var cn=Zt.filter(function(Oe){return Oe.key===kt})[0],vt=(0,Je.F)((0,yt.Z)((0,yt.Z)({},(0,Je.H8)(kt,le.getTreeNodeRequiredProps())),{},{data:cn.data}));le.setExpandedKeys(Cn?(0,Ut._5)(et,kt):(0,Ut.L0)(et,kt)),le.onNodeExpand(Me,vt)}},le.onNodeClick=function(Me,Lt){var bt=le.props,et=bt.onClick,Zt=bt.expandAction;Zt==="click"&&le.triggerExpandActionExpand(Me,Lt),et==null||et(Me,Lt)},le.onNodeDoubleClick=function(Me,Lt){var bt=le.props,et=bt.onDoubleClick,Zt=bt.expandAction;Zt==="doubleClick"&&le.triggerExpandActionExpand(Me,Lt),et==null||et(Me,Lt)},le.onNodeSelect=function(Me,Lt){var bt=le.state.selectedKeys,et=le.state,Zt=et.keyEntities,Cn=et.fieldNames,kt=le.props,Qt=kt.onSelect,cn=kt.multiple,vt=Lt.selected,Oe=Lt[Cn.key],tt=!vt;tt?cn?bt=(0,Ut.L0)(bt,Oe):bt=[Oe]:bt=(0,Ut._5)(bt,Oe);var ln=bt.map(function(dn){var An=(0,jt.Z)(Zt,dn);return An?An.node:null}).filter(function(dn){return dn});le.setUncontrolledState({selectedKeys:bt}),Qt==null||Qt(bt,{event:"select",selected:tt,node:Lt,selectedNodes:ln,nativeEvent:Me.nativeEvent})},le.onNodeCheck=function(Me,Lt,bt){var et=le.state,Zt=et.keyEntities,Cn=et.checkedKeys,kt=et.halfCheckedKeys,Qt=le.props,cn=Qt.checkStrictly,vt=Qt.onCheck,Oe=Lt.key,tt,ln={event:"check",node:Lt,checked:bt,nativeEvent:Me.nativeEvent};if(cn){var dn=bt?(0,Ut.L0)(Cn,Oe):(0,Ut._5)(Cn,Oe),An=(0,Ut._5)(kt,Oe);tt={checked:dn,halfChecked:An},ln.checkedNodes=dn.map(function(rr){return(0,jt.Z)(Zt,rr)}).filter(function(rr){return rr}).map(function(rr){return rr.node}),le.setUncontrolledState({checkedKeys:dn})}else{var Xn=(0,Sn.S)([].concat((0,Se.Z)(Cn),[Oe]),!0,Zt),Gt=Xn.checkedKeys,nr=Xn.halfCheckedKeys;if(!bt){var wr=new Set(Gt);wr.delete(Oe);var kr=(0,Sn.S)(Array.from(wr),{checked:!1,halfCheckedKeys:nr},Zt);Gt=kr.checkedKeys,nr=kr.halfCheckedKeys}tt=Gt,ln.checkedNodes=[],ln.checkedNodesPositions=[],ln.halfCheckedKeys=nr,Gt.forEach(function(rr){var Ar=(0,jt.Z)(Zt,rr);if(Ar){var li=Ar.node,xr=Ar.pos;ln.checkedNodes.push(li),ln.checkedNodesPositions.push({node:li,pos:xr})}}),le.setUncontrolledState({checkedKeys:Gt},!1,{halfCheckedKeys:nr})}vt==null||vt(tt,ln)},le.onNodeLoad=function(Me){var Lt=Me.key,bt=new Promise(function(et,Zt){le.setState(function(Cn){var kt=Cn.loadedKeys,Qt=kt===void 0?[]:kt,cn=Cn.loadingKeys,vt=cn===void 0?[]:cn,Oe=le.props,tt=Oe.loadData,ln=Oe.onLoad;if(!tt||Qt.indexOf(Lt)!==-1||vt.indexOf(Lt)!==-1)return null;var dn=tt(Me);return dn.then(function(){var An=le.state.loadedKeys,Xn=(0,Ut.L0)(An,Lt);ln==null||ln(Xn,{event:"load",node:Me}),le.setUncontrolledState({loadedKeys:Xn}),le.setState(function(Gt){return{loadingKeys:(0,Ut._5)(Gt.loadingKeys,Lt)}}),et()}).catch(function(An){if(le.setState(function(Gt){return{loadingKeys:(0,Ut._5)(Gt.loadingKeys,Lt)}}),le.loadingRetryTimes[Lt]=(le.loadingRetryTimes[Lt]||0)+1,le.loadingRetryTimes[Lt]>=Jt){var Xn=le.state.loadedKeys;(0,nt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),le.setUncontrolledState({loadedKeys:(0,Ut.L0)(Xn,Lt)}),et()}Zt(An)}),{loadingKeys:(0,Ut.L0)(vt,Lt)}})});return bt.catch(function(){}),bt},le.onNodeMouseEnter=function(Me,Lt){var bt=le.props.onMouseEnter;bt==null||bt({event:Me,node:Lt})},le.onNodeMouseLeave=function(Me,Lt){var bt=le.props.onMouseLeave;bt==null||bt({event:Me,node:Lt})},le.onNodeContextMenu=function(Me,Lt){var bt=le.props.onRightClick;bt&&(Me.preventDefault(),bt({event:Me,node:Lt}))},le.onFocus=function(){var Me=le.props.onFocus;le.setState({focused:!0});for(var Lt=arguments.length,bt=new Array(Lt),et=0;et<Lt;et++)bt[et]=arguments[et];Me==null||Me.apply(void 0,bt)},le.onBlur=function(){var Me=le.props.onBlur;le.setState({focused:!1}),le.onActiveChange(null);for(var Lt=arguments.length,bt=new Array(Lt),et=0;et<Lt;et++)bt[et]=arguments[et];Me==null||Me.apply(void 0,bt)},le.getTreeNodeRequiredProps=function(){var Me=le.state,Lt=Me.expandedKeys,bt=Me.selectedKeys,et=Me.loadedKeys,Zt=Me.loadingKeys,Cn=Me.checkedKeys,kt=Me.halfCheckedKeys,Qt=Me.dragOverNodeKey,cn=Me.dropPosition,vt=Me.keyEntities;return{expandedKeys:Lt||[],selectedKeys:bt||[],loadedKeys:et||[],loadingKeys:Zt||[],checkedKeys:Cn||[],halfCheckedKeys:kt||[],dragOverNodeKey:Qt,dropPosition:cn,keyEntities:vt}},le.setExpandedKeys=function(Me){var Lt=le.state,bt=Lt.treeData,et=Lt.fieldNames,Zt=(0,Je.oH)(bt,Me,et);le.setUncontrolledState({expandedKeys:Me,flattenNodes:Zt},!0)},le.onNodeExpand=function(Me,Lt){var bt=le.state.expandedKeys,et=le.state,Zt=et.listChanging,Cn=et.fieldNames,kt=le.props,Qt=kt.onExpand,cn=kt.loadData,vt=Lt.expanded,Oe=Lt[Cn.key];if(!Zt){var tt=bt.indexOf(Oe),ln=!vt;if((0,nt.ZP)(vt&&tt!==-1||!vt&&tt===-1,"Expand state not sync with index check"),ln?bt=(0,Ut.L0)(bt,Oe):bt=(0,Ut._5)(bt,Oe),le.setExpandedKeys(bt),Qt==null||Qt(bt,{node:Lt,expanded:ln,nativeEvent:Me.nativeEvent}),ln&&cn){var dn=le.onNodeLoad(Lt);dn&&dn.then(function(){var An=(0,Je.oH)(le.state.treeData,bt,Cn);le.setUncontrolledState({flattenNodes:An})}).catch(function(){var An=le.state.expandedKeys,Xn=(0,Ut._5)(An,Oe);le.setExpandedKeys(Xn)})}}},le.onListChangeStart=function(){le.setUncontrolledState({listChanging:!0})},le.onListChangeEnd=function(){setTimeout(function(){le.setUncontrolledState({listChanging:!1})})},le.onActiveChange=function(Me){var Lt=le.state.activeKey,bt=le.props.onActiveChange;Lt!==Me&&(le.setState({activeKey:Me}),Me!==null&&le.scrollTo({key:Me}),bt==null||bt(Me))},le.getActiveItem=function(){var Me=le.state,Lt=Me.activeKey,bt=Me.flattenNodes;return Lt===null?null:bt.find(function(et){var Zt=et.key;return Zt===Lt})||null},le.offsetActiveKey=function(Me){var Lt=le.state,bt=Lt.flattenNodes,et=Lt.activeKey,Zt=bt.findIndex(function(Qt){var cn=Qt.key;return cn===et});Zt===-1&&Me<0&&(Zt=bt.length),Zt=(Zt+Me+bt.length)%bt.length;var Cn=bt[Zt];if(Cn){var kt=Cn.key;le.onActiveChange(kt)}else le.onActiveChange(null)},le.onKeyDown=function(Me){var Lt=le.state,bt=Lt.activeKey,et=Lt.expandedKeys,Zt=Lt.checkedKeys,Cn=Lt.fieldNames,kt=le.props,Qt=kt.onKeyDown,cn=kt.checkable,vt=kt.selectable;switch(Me.which){case Le.Z.UP:{le.offsetActiveKey(-1),Me.preventDefault();break}case Le.Z.DOWN:{le.offsetActiveKey(1),Me.preventDefault();break}}var Oe=le.getActiveItem();if(Oe&&Oe.data){var tt=le.getTreeNodeRequiredProps(),ln=Oe.data.isLeaf===!1||!!(Oe.data[Cn.children]||[]).length,dn=(0,Je.F)((0,yt.Z)((0,yt.Z)({},(0,Je.H8)(bt,tt)),{},{data:Oe.data,active:!0}));switch(Me.which){case Le.Z.LEFT:{ln&&et.includes(bt)?le.onNodeExpand({},dn):Oe.parent&&le.onActiveChange(Oe.parent.key),Me.preventDefault();break}case Le.Z.RIGHT:{ln&&!et.includes(bt)?le.onNodeExpand({},dn):Oe.children&&Oe.children.length&&le.onActiveChange(Oe.children[0].key),Me.preventDefault();break}case Le.Z.ENTER:case Le.Z.SPACE:{cn&&!dn.disabled&&dn.checkable!==!1&&!dn.disableCheckbox?le.onNodeCheck({},dn,!Zt.includes(bt)):!cn&&vt&&!dn.disabled&&dn.selectable!==!1&&le.onNodeSelect({},dn);break}}}Qt==null||Qt(Me)},le.setUncontrolledState=function(Me){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!le.destroyed){var et=!1,Zt=!0,Cn={};Object.keys(Me).forEach(function(kt){if(kt in le.props){Zt=!1;return}et=!0,Cn[kt]=Me[kt]}),et&&(!Lt||Zt)&&le.setState((0,yt.Z)((0,yt.Z)({},Cn),bt))}},le.scrollTo=function(Me){le.listRef.current.scrollTo(Me)},le}return(0,pe.Z)(fe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Fe=this.props.activeKey;Fe!==void 0&&Fe!==this.state.activeKey&&(this.setState({activeKey:Fe}),Fe!==null&&this.scrollTo({key:Fe}))}},{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 Fe,at=this.state,Ze=at.focused,Me=at.flattenNodes,Lt=at.keyEntities,bt=at.draggingNodeKey,et=at.activeKey,Zt=at.dropLevelOffset,Cn=at.dropContainerKey,kt=at.dropTargetKey,Qt=at.dropPosition,cn=at.dragOverNodeKey,vt=at.indent,Oe=this.props,tt=Oe.prefixCls,ln=Oe.className,dn=Oe.style,An=Oe.showLine,Xn=Oe.focusable,Gt=Oe.tabIndex,nr=Gt===void 0?0:Gt,wr=Oe.selectable,kr=Oe.showIcon,rr=Oe.icon,Ar=Oe.switcherIcon,li=Oe.draggable,xr=Oe.checkable,Br=Oe.checkStrictly,ti=Oe.disabled,Rn=Oe.motion,tn=Oe.loadData,zn=Oe.filterTreeNode,er=Oe.height,zt=Oe.itemHeight,bn=Oe.virtual,kn=Oe.titleRender,Tt=Oe.dropIndicatorRender,an=Oe.onContextMenu,sn=Oe.onScroll,rn=Oe.direction,$n=Oe.rootClassName,Ft=Oe.rootStyle,Ie=(0,Ge.Z)(this.props,{aria:!0,data:!0}),Xe;return li&&((0,Ce.Z)(li)==="object"?Xe=li:typeof li=="function"?Xe={nodeDraggable:li}:Xe={}),ct.createElement(Et.k.Provider,{value:{prefixCls:tt,selectable:wr,showIcon:kr,icon:rr,switcherIcon:Ar,draggable:Xe,draggingNodeKey:bt,checkable:xr,checkStrictly:Br,disabled:ti,keyEntities:Lt,dropLevelOffset:Zt,dropContainerKey:Cn,dropTargetKey:kt,dropPosition:Qt,dragOverNodeKey:cn,indent:vt,direction:rn,dropIndicatorRender:Tt,loadData:tn,filterTreeNode:zn,titleRender:kn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},ct.createElement("div",{role:"tree",className:ke()(tt,ln,$n,(Fe={},(0,be.Z)(Fe,"".concat(tt,"-show-line"),An),(0,be.Z)(Fe,"".concat(tt,"-focused"),Ze),(0,be.Z)(Fe,"".concat(tt,"-active-focused"),et!==null),Fe)),style:Ft},ct.createElement(yn,(0,ne.Z)({ref:this.listRef,prefixCls:tt,style:dn,data:Me,disabled:ti,selectable:wr,checkable:!!xr,motion:Rn,dragging:bt!==null,height:er,itemHeight:zt,virtual:bn,focusable:Xn,focused:Ze,tabIndex:nr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:an,onScroll:sn},this.getTreeNodeRequiredProps(),Ie))))}}],[{key:"getDerivedStateFromProps",value:function(Fe,at){var Ze=at.prevProps,Me={prevProps:Fe};function Lt(Xn){return!Ze&&Xn in Fe||Ze&&Ze[Xn]!==Fe[Xn]}var bt,et=at.fieldNames;if(Lt("fieldNames")&&(et=(0,Je.w$)(Fe.fieldNames),Me.fieldNames=et),Lt("treeData")?bt=Fe.treeData:Lt("children")&&((0,nt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),bt=(0,Je.zn)(Fe.children)),bt){Me.treeData=bt;var Zt=(0,Je.I8)(bt,{fieldNames:et});Me.keyEntities=(0,yt.Z)((0,be.Z)({},We,Qe),Zt.keyEntities)}var Cn=Me.keyEntities||at.keyEntities;if(Lt("expandedKeys")||Ze&&Lt("autoExpandParent"))Me.expandedKeys=Fe.autoExpandParent||!Ze&&Fe.defaultExpandParent?(0,Ut.r7)(Fe.expandedKeys,Cn):Fe.expandedKeys;else if(!Ze&&Fe.defaultExpandAll){var kt=(0,yt.Z)({},Cn);delete kt[We],Me.expandedKeys=Object.keys(kt).map(function(Xn){return kt[Xn].key})}else!Ze&&Fe.defaultExpandedKeys&&(Me.expandedKeys=Fe.autoExpandParent||Fe.defaultExpandParent?(0,Ut.r7)(Fe.defaultExpandedKeys,Cn):Fe.defaultExpandedKeys);if(Me.expandedKeys||delete Me.expandedKeys,bt||Me.expandedKeys){var Qt=(0,Je.oH)(bt||at.treeData,Me.expandedKeys||at.expandedKeys,et);Me.flattenNodes=Qt}if(Fe.selectable&&(Lt("selectedKeys")?Me.selectedKeys=(0,Ut.BT)(Fe.selectedKeys,Fe):!Ze&&Fe.defaultSelectedKeys&&(Me.selectedKeys=(0,Ut.BT)(Fe.defaultSelectedKeys,Fe))),Fe.checkable){var cn;if(Lt("checkedKeys")?cn=(0,Ut.E6)(Fe.checkedKeys)||{}:!Ze&&Fe.defaultCheckedKeys?cn=(0,Ut.E6)(Fe.defaultCheckedKeys)||{}:bt&&(cn=(0,Ut.E6)(Fe.checkedKeys)||{checkedKeys:at.checkedKeys,halfCheckedKeys:at.halfCheckedKeys}),cn){var vt=cn,Oe=vt.checkedKeys,tt=Oe===void 0?[]:Oe,ln=vt.halfCheckedKeys,dn=ln===void 0?[]:ln;if(!Fe.checkStrictly){var An=(0,Sn.S)(tt,!0,Cn);tt=An.checkedKeys,dn=An.halfCheckedKeys}Me.checkedKeys=tt,Me.halfCheckedKeys=dn}}return Lt("loadedKeys")&&(Me.loadedKeys=Fe.loadedKeys),Me}}]),fe}(ct.Component);Ot.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:Ct,allowDrop:function(){return!0},expandAction:!1},Ot.TreeNode=ot.Z;var xe=Ot,ce=xe},35654:function(Ln,pn,ie){"use strict";ie.d(pn,{BT:function(){return ct},E6:function(){return Wt},L0:function(){return Re},OM:function(){return nt},_5:function(){return Ee},r7:function(){return ft},wA:function(){return ke},yx:function(){return ht}});var ne=ie(94480),be=ie(76190),Ce=ie(48736),yt=ie(59301),Se=ie(39417),Ae=ie(67841),pe=ie(71430),ye=null;function Ee(pt,ze){if(!pt)return[];var he=pt.slice(),it=he.indexOf(ze);return it>=0&&he.splice(it,1),he}function Re(pt,ze){var he=(pt||[]).slice();return he.indexOf(ze)===-1&&he.push(ze),he}function ht(pt){return pt.split("-")}function ke(pt,ze){var he=[],it=(0,Ae.Z)(ze,pt);function ot(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ut.forEach(function(Je){var mt=Je.key,Te=Je.children;he.push(mt),ot(Te)})}return ot(it.children),he}function Le(pt){if(pt.parent){var ze=ht(pt.pos);return Number(ze[ze.length-1])===pt.parent.children.length-1}return!1}function Ge(pt){var ze=ht(pt.pos);return Number(ze[ze.length-1])===0}function nt(pt,ze,he,it,ot,ut,Je,mt,Te,xt){var Ne,Rt=pt.clientX,Dt=pt.clientY,Nt=pt.target.getBoundingClientRect(),wt=Nt.top,It=Nt.height,We=(xt==="rtl"?-1:1)*(((ot==null?void 0:ot.x)||0)-Rt),ve=(We-12)/it,Qe=(0,Ae.Z)(mt,he.props.eventKey);if(Dt<wt+It/2){var Vt=Je.findIndex(function(ce){return ce.key===Qe.key}),Mt=Vt<=0?0:Vt-1,Ue=Je[Mt].key;Qe=(0,Ae.Z)(mt,Ue)}var st=Qe.key,Ht=Qe,yn=Qe.key,Ut=0,Sn=0;if(!Te.includes(st))for(var jt=0;jt<ve&&Le(Qe);jt+=1)Qe=Qe.parent,Sn+=1;var Jt=ze.props.data,Ot=Qe.node,xe=!0;return Ge(Qe)&&Qe.level===0&&Dt<wt+It/2&&ut({dragNode:Jt,dropNode:Ot,dropPosition:-1})&&Qe.key===he.props.eventKey?Ut=-1:(Ht.children||[]).length&&Te.includes(yn)?ut({dragNode:Jt,dropNode:Ot,dropPosition:0})?Ut=0:xe=!1:Sn===0?ve>-1.5?ut({dragNode:Jt,dropNode:Ot,dropPosition:1})?Ut=1:xe=!1:ut({dragNode:Jt,dropNode:Ot,dropPosition:0})?Ut=0:ut({dragNode:Jt,dropNode:Ot,dropPosition:1})?Ut=1:xe=!1:ut({dragNode:Jt,dropNode:Ot,dropPosition:1})?Ut=1:xe=!1,{dropPosition:Ut,dropLevelOffset:Sn,dropTargetKey:Qe.key,dropTargetPos:Qe.pos,dragOverNodeKey:yn,dropContainerKey:Ut===0?null:((Ne=Qe.parent)===null||Ne===void 0?void 0:Ne.key)||null,dropAllowed:xe}}function ct(pt,ze){if(pt){var he=ze.multiple;return he?pt.slice():pt.length?[pt[0]]:pt}}var Et=function(ze){return ze};function Ct(pt,ze){if(!pt)return[];var he=ze||{},it=he.processProps,ot=it===void 0?Et:it,ut=Array.isArray(pt)?pt:[pt];return ut.map(function(Je){var mt=Je.children,Te=_objectWithoutProperties(Je,ye),xt=Ct(mt,ze);return React.createElement(TreeNode,_extends({key:Te.key},ot(Te)),xt)})}function Wt(pt){if(!pt)return null;var ze;if(Array.isArray(pt))ze={checkedKeys:pt,halfCheckedKeys:void 0};else if((0,be.Z)(pt)==="object")ze={checkedKeys:pt.checked||void 0,halfCheckedKeys:pt.halfChecked||void 0};else return(0,Ce.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ze}function ft(pt,ze){var he=new Set;function it(ot){if(!he.has(ot)){var ut=(0,Ae.Z)(ze,ot);if(ut){he.add(ot);var Je=ut.parent,mt=ut.node;mt.disabled||Je&&it(Je.key)}}}return(pt||[]).forEach(function(ot){it(ot)}),(0,ne.Z)(he)}},90782:function(Ln,pn,ie){"use strict";ie.d(pn,{S:function(){return pe}});var ne=ie(48736),be=ie(67841);function Ce(ye,Ee){var Re=new Set;return ye.forEach(function(ht){Ee.has(ht)||Re.add(ht)}),Re}function yt(ye){var Ee=ye||{},Re=Ee.disabled,ht=Ee.disableCheckbox,ke=Ee.checkable;return!!(Re||ht)||ke===!1}function Se(ye,Ee,Re,ht){for(var ke=new Set(ye),Le=new Set,Ge=0;Ge<=Re;Ge+=1){var nt=Ee.get(Ge)||new Set;nt.forEach(function(Wt){var ft=Wt.key,pt=Wt.node,ze=Wt.children,he=ze===void 0?[]:ze;ke.has(ft)&&!ht(pt)&&he.filter(function(it){return!ht(it.node)}).forEach(function(it){ke.add(it.key)})})}for(var ct=new Set,Et=Re;Et>=0;Et-=1){var Ct=Ee.get(Et)||new Set;Ct.forEach(function(Wt){var ft=Wt.parent,pt=Wt.node;if(!(ht(pt)||!Wt.parent||ct.has(Wt.parent.key))){if(ht(Wt.parent.node)){ct.add(ft.key);return}var ze=!0,he=!1;(ft.children||[]).filter(function(it){return!ht(it.node)}).forEach(function(it){var ot=it.key,ut=ke.has(ot);ze&&!ut&&(ze=!1),!he&&(ut||Le.has(ot))&&(he=!0)}),ze&&ke.add(ft.key),he&&Le.add(ft.key),ct.add(ft.key)}})}return{checkedKeys:Array.from(ke),halfCheckedKeys:Array.from(Ce(Le,ke))}}function Ae(ye,Ee,Re,ht,ke){for(var Le=new Set(ye),Ge=new Set(Ee),nt=0;nt<=ht;nt+=1){var ct=Re.get(nt)||new Set;ct.forEach(function(ft){var pt=ft.key,ze=ft.node,he=ft.children,it=he===void 0?[]:he;!Le.has(pt)&&!Ge.has(pt)&&!ke(ze)&&it.filter(function(ot){return!ke(ot.node)}).forEach(function(ot){Le.delete(ot.key)})})}Ge=new Set;for(var Et=new Set,Ct=ht;Ct>=0;Ct-=1){var Wt=Re.get(Ct)||new Set;Wt.forEach(function(ft){var pt=ft.parent,ze=ft.node;if(!(ke(ze)||!ft.parent||Et.has(ft.parent.key))){if(ke(ft.parent.node)){Et.add(pt.key);return}var he=!0,it=!1;(pt.children||[]).filter(function(ot){return!ke(ot.node)}).forEach(function(ot){var ut=ot.key,Je=Le.has(ut);he&&!Je&&(he=!1),!it&&(Je||Ge.has(ut))&&(it=!0)}),he||Le.delete(pt.key),it&&Ge.add(pt.key),Et.add(pt.key)}})}return{checkedKeys:Array.from(Le),halfCheckedKeys:Array.from(Ce(Ge,Le))}}function pe(ye,Ee,Re,ht){var ke=[],Le;ht?Le=ht:Le=yt;var Ge=new Set(ye.filter(function(Ct){var Wt=!!(0,be.Z)(Re,Ct);return Wt||ke.push(Ct),Wt})),nt=new Map,ct=0;Object.keys(Re).forEach(function(Ct){var Wt=Re[Ct],ft=Wt.level,pt=nt.get(ft);pt||(pt=new Set,nt.set(ft,pt)),pt.add(Wt),ct=Math.max(ct,ft)}),(0,ne.ZP)(!ke.length,"Tree missing follow keys: ".concat(ke.slice(0,100).map(function(Ct){return"'".concat(Ct,"'")}).join(", ")));var Et;return Ee===!0?Et=Se(Ge,nt,ct,Le):Et=Ae(Ge,Ee.halfCheckedKeys,nt,ct,Le),Et}},67841:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ne}});function ne(be,Ce){return be[Ce]}},71430:function(Ln,pn,ie){"use strict";ie.d(pn,{F:function(){return ft},H8:function(){return Wt},I8:function(){return Ct},km:function(){return ke},oH:function(){return ct},w$:function(){return Le},zn:function(){return nt}});var ne=ie(76190),be=ie(94480),Ce=ie(33885),yt=ie(75931),Se=ie(11592),Ae=ie(2738),pe=ie(48736),ye=ie(67841),Ee=["children"];function Re(pt,ze){return"".concat(pt,"-").concat(ze)}function ht(pt){return pt&&pt.type&&pt.type.isTreeNode}function ke(pt,ze){return pt!=null?pt:ze}function Le(pt){var ze=pt||{},he=ze.title,it=ze._title,ot=ze.key,ut=ze.children,Je=he||"title";return{title:Je,_title:it||[Je],key:ot||"key",children:ut||"children"}}function Ge(pt,ze){var he=new Map;function it(ot){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ot||[]).forEach(function(Je){var mt=Je[ze.key],Te=Je[ze.children];warning(mt!=null,"Tree node must have a certain key: [".concat(ut).concat(mt,"]"));var xt=String(mt);warning(!he.has(xt)||mt===null||mt===void 0,"Same 'key' exist in the Tree: ".concat(xt)),he.set(xt,!0),it(Te,"".concat(ut).concat(xt," > "))})}it(pt)}function nt(pt){function ze(he){var it=(0,Se.Z)(he);return it.map(function(ot){if(!ht(ot))return(0,pe.ZP)(!ot,"Tree/TreeNode can only accept TreeNode as children."),null;var ut=ot.key,Je=ot.props,mt=Je.children,Te=(0,yt.Z)(Je,Ee),xt=(0,Ce.Z)({key:ut},Te),Ne=ze(mt);return Ne.length&&(xt.children=Ne),xt}).filter(function(ot){return ot})}return ze(pt)}function ct(pt,ze,he){var it=Le(he),ot=it._title,ut=it.key,Je=it.children,mt=new Set(ze===!0?[]:ze),Te=[];function xt(Ne){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ne.map(function(Dt,Nt){for(var wt=Re(Rt?Rt.pos:"0",Nt),It=ke(Dt[ut],wt),We,ve=0;ve<ot.length;ve+=1){var Qe=ot[ve];if(Dt[Qe]!==void 0){We=Dt[Qe];break}}var Vt=(0,Ce.Z)((0,Ce.Z)({},(0,Ae.Z)(Dt,[].concat((0,be.Z)(ot),[ut,Je]))),{},{title:We,key:It,parent:Rt,pos:wt,children:null,data:Dt,isStart:[].concat((0,be.Z)(Rt?Rt.isStart:[]),[Nt===0]),isEnd:[].concat((0,be.Z)(Rt?Rt.isEnd:[]),[Nt===Ne.length-1])});return Te.push(Vt),ze===!0||mt.has(It)?Vt.children=xt(Dt[Je]||[],Vt):Vt.children=[],Vt})}return xt(pt),Te}function Et(pt,ze,he){var it={};(0,ne.Z)(he)==="object"?it=he:it={externalGetKey:he},it=it||{};var ot=it,ut=ot.childrenPropName,Je=ot.externalGetKey,mt=ot.fieldNames,Te=Le(mt),xt=Te.key,Ne=Te.children,Rt=ut||Ne,Dt;Je?typeof Je=="string"?Dt=function(It){return It[Je]}:typeof Je=="function"&&(Dt=function(It){return Je(It)}):Dt=function(It,We){return ke(It[xt],We)};function Nt(wt,It,We,ve){var Qe=wt?wt[Rt]:pt,Vt=wt?Re(We.pos,It):"0",Mt=wt?[].concat((0,be.Z)(ve),[wt]):[];if(wt){var Ue=Dt(wt,Vt),st={node:wt,index:It,pos:Vt,key:Ue,parentPos:We.node?We.pos:null,level:We.level+1,nodes:Mt};ze(st)}Qe&&Qe.forEach(function(Ht,yn){Nt(Ht,yn,{node:wt,pos:Vt,level:We?We.level+1:-1},Mt)})}Nt(null)}function Ct(pt){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=ze.initWrapper,it=ze.processEntity,ot=ze.onProcessFinished,ut=ze.externalGetKey,Je=ze.childrenPropName,mt=ze.fieldNames,Te=arguments.length>2?arguments[2]:void 0,xt=ut||Te,Ne={},Rt={},Dt={posEntities:Ne,keyEntities:Rt};return he&&(Dt=he(Dt)||Dt),Et(pt,function(Nt){var wt=Nt.node,It=Nt.index,We=Nt.pos,ve=Nt.key,Qe=Nt.parentPos,Vt=Nt.level,Mt=Nt.nodes,Ue={node:wt,nodes:Mt,index:It,key:ve,pos:We,level:Vt},st=ke(ve,We);Ne[We]=Ue,Rt[st]=Ue,Ue.parent=Ne[Qe],Ue.parent&&(Ue.parent.children=Ue.parent.children||[],Ue.parent.children.push(Ue)),it&&it(Ue,Dt)},{externalGetKey:xt,childrenPropName:Je,fieldNames:mt}),ot&&ot(Dt),Dt}function Wt(pt,ze){var he=ze.expandedKeys,it=ze.selectedKeys,ot=ze.loadedKeys,ut=ze.loadingKeys,Je=ze.checkedKeys,mt=ze.halfCheckedKeys,Te=ze.dragOverNodeKey,xt=ze.dropPosition,Ne=ze.keyEntities,Rt=(0,ye.Z)(Ne,pt),Dt={eventKey:pt,expanded:he.indexOf(pt)!==-1,selected:it.indexOf(pt)!==-1,loaded:ot.indexOf(pt)!==-1,loading:ut.indexOf(pt)!==-1,checked:Je.indexOf(pt)!==-1,halfChecked:mt.indexOf(pt)!==-1,pos:String(Rt?Rt.pos:""),dragOver:Te===pt&&xt===0,dragOverGapTop:Te===pt&&xt===-1,dragOverGapBottom:Te===pt&&xt===1};return Dt}function ft(pt){var ze=pt.data,he=pt.expanded,it=pt.selected,ot=pt.checked,ut=pt.loaded,Je=pt.loading,mt=pt.halfChecked,Te=pt.dragOver,xt=pt.dragOverGapTop,Ne=pt.dragOverGapBottom,Rt=pt.pos,Dt=pt.active,Nt=pt.eventKey,wt=(0,Ce.Z)((0,Ce.Z)({},ze),{},{expanded:he,selected:it,checked:ot,loaded:ut,loading:Je,halfChecked:mt,dragOver:Te,dragOverGapTop:xt,dragOverGapBottom:Ne,pos:Rt,active:Dt,key:Nt});return"props"in wt||Object.defineProperty(wt,"props",{get:function(){return(0,pe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),pt}}),wt}},8224:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return be}});var ne=ie(4676);function be(Ce,yt,Se,Ae){var pe=ne.unstable_batchedUpdates?function(Ee){ne.unstable_batchedUpdates(Se,Ee)}:Se;return Ce!=null&&Ce.addEventListener&&Ce.addEventListener(yt,pe,Ae),{remove:function(){Ce!=null&&Ce.removeEventListener&&Ce.removeEventListener(yt,pe,Ae)}}}},55468:function(Ln,pn,ie){"use strict";ie.d(pn,{g1:function(){return ht},os:function(){return Le}});var ne=/margin|padding|width|height|max|min|offset/,be={left:!0,top:!0},Ce={cssFloat:1,styleFloat:1,float:1};function yt(Ge){return Ge.nodeType===1?Ge.ownerDocument.defaultView.getComputedStyle(Ge,null):{}}function Se(Ge,nt,ct){if(nt=nt.toLowerCase(),ct==="auto"){if(nt==="height")return Ge.offsetHeight;if(nt==="width")return Ge.offsetWidth}return nt in be||(be[nt]=ne.test(nt)),be[nt]?parseFloat(ct)||0:ct}function Ae(Ge,nt){var ct=arguments.length,Et=yt(Ge);return nt=Ce[nt]?"cssFloat"in Ge.style?"cssFloat":"styleFloat":nt,ct===1?Et:Se(Ge,nt,Et[nt]||Ge.style[nt])}function pe(Ge,nt,ct){var Et=arguments.length;if(nt=Ce[nt]?"cssFloat"in Ge.style?"cssFloat":"styleFloat":nt,Et===3)return typeof ct=="number"&&ne.test(nt)&&(ct="".concat(ct,"px")),Ge.style[nt]=ct,ct;for(var Ct in nt)nt.hasOwnProperty(Ct)&&pe(Ge,Ct,nt[Ct]);return yt(Ge)}function ye(Ge){return Ge===document.body?document.documentElement.clientWidth:Ge.offsetWidth}function Ee(Ge){return Ge===document.body?window.innerHeight||document.documentElement.clientHeight:Ge.offsetHeight}function Re(){var Ge=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),nt=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ge,height:nt}}function ht(){var Ge=document.documentElement.clientWidth,nt=window.innerHeight||document.documentElement.clientHeight;return{width:Ge,height:nt}}function ke(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Le(Ge){var nt=Ge.getBoundingClientRect(),ct=document.documentElement;return{left:nt.left+(window.pageXOffset||ct.scrollLeft)-(ct.clientLeft||document.body.clientLeft||0),top:nt.top+(window.pageYOffset||ct.scrollTop)-(ct.clientTop||document.body.clientTop||0)}}},24514:function(Ln,pn,ie){"use strict";ie.d(pn,{G:function(){return yt}});var ne=ie(47273),be=function(Ae){if((0,ne.Z)()&&window.document.documentElement){var pe=Array.isArray(Ae)?Ae:[Ae],ye=window.document.documentElement;return pe.some(function(Ee){return Ee in ye.style})}return!1},Ce=function(Ae,pe){if(!be(Ae))return!1;var ye=document.createElement("div"),Ee=ye.style[Ae];return ye.style[Ae]=pe,ye.style[Ae]!==Ee};function yt(Se,Ae){return!Array.isArray(Se)&&Ae!==void 0?Ce(Se,Ae):be(Se)}},48911:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return Ot}});var ne=ie(54476),be=ie(76190),Ce=ie(33885),yt=ie(20068),Se=ie(42978),Ae=ie(75931),pe=ie(92310),ye=ie.n(pe),Ee=ie(29301),Re=ie(70425),ht=ie(34280),ke=ie(59301),Le=ie(4676),Ge=ke.forwardRef(function(xe,ce){var ue=xe.height,de=xe.offsetY,fe=xe.offsetX,le=xe.children,Fe=xe.prefixCls,at=xe.onInnerResize,Ze=xe.innerProps,Me=xe.rtl,Lt=xe.extra,bt={},et={display:"flex",flexDirection:"column"};return de!==void 0&&(bt={height:ue,position:"relative",overflow:"hidden"},et=(0,Ce.Z)((0,Ce.Z)({},et),{},(0,yt.Z)((0,yt.Z)((0,yt.Z)((0,yt.Z)((0,yt.Z)({transform:"translateY(".concat(de,"px)")},Me?"marginRight":"marginLeft",-fe),"position","absolute"),"left",0),"right",0),"top",0))),ke.createElement("div",{style:bt},ke.createElement(Ee.Z,{onResize:function(Cn){var kt=Cn.offsetHeight;kt&&at&&at()}},ke.createElement("div",(0,ne.Z)({style:et,className:ye()((0,yt.Z)({},"".concat(Fe,"-holder-inner"),Fe)),ref:ce},Ze),le,Lt)))});Ge.displayName="Filler";var nt=Ge;function ct(xe){var ce=xe.children,ue=xe.setRef,de=ke.useCallback(function(fe){ue(fe)},[]);return ke.cloneElement(ce,{ref:de})}function Et(xe,ce,ue,de,fe,le,Fe,at){var Ze=at.getKey;return xe.slice(ce,ue+1).map(function(Me,Lt){var bt=ce+Lt,et=Fe(Me,bt,{style:{width:de},offsetX:fe}),Zt=Ze(Me);return ke.createElement(ct,{key:Zt,setRef:function(kt){return le(Me,kt)}},et)})}function Ct(xe,ce,ue,de){var fe=ue-xe,le=ce-ue,Fe=Math.min(fe,le)*2;if(de<=Fe){var at=Math.floor(de/2);return de%2?ue+at+1:ue-at}return fe>le?ue-(de-le):ue+(de-fe)}function Wt(xe,ce,ue){var de=xe.length,fe=ce.length,le,Fe;if(de===0&&fe===0)return null;de<fe?(le=xe,Fe=ce):(le=ce,Fe=xe);var at={__EMPTY_ITEM__:!0};function Ze(Cn){return Cn!==void 0?ue(Cn):at}for(var Me=null,Lt=Math.abs(de-fe)!==1,bt=0;bt<Fe.length;bt+=1){var et=Ze(le[bt]),Zt=Ze(Fe[bt]);if(et!==Zt){Me=bt,Lt=Lt||et!==Ze(Fe[bt+1]);break}}return Me===null?null:{index:Me,multiple:Lt}}function ft(xe,ce,ue){var de=ke.useState(xe),fe=(0,Se.Z)(de,2),le=fe[0],Fe=fe[1],at=ke.useState(null),Ze=(0,Se.Z)(at,2),Me=Ze[0],Lt=Ze[1];return ke.useEffect(function(){var bt=Wt(le||[],xe||[],ce);(bt==null?void 0:bt.index)!==void 0&&(ue==null||ue(bt.index),Lt(xe[bt.index])),Fe(xe)},[xe]),[Me]}var pt=ie(16089),ze=(typeof navigator=="undefined"?"undefined":(0,be.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),he=ze,it=function(xe,ce,ue,de){var fe=(0,ke.useRef)(!1),le=(0,ke.useRef)(null);function Fe(){clearTimeout(le.current),fe.current=!0,le.current=setTimeout(function(){fe.current=!1},50)}var at=(0,ke.useRef)({top:xe,bottom:ce,left:ue,right:de});return at.current.top=xe,at.current.bottom=ce,at.current.left=ue,at.current.right=de,function(Ze,Me){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,bt=Ze?Me<0&&at.current.left||Me>0&&at.current.right:Me<0&&at.current.top||Me>0&&at.current.bottom;return Lt&&bt?(clearTimeout(le.current),fe.current=!1):(!bt||fe.current)&&Fe(),!fe.current&&bt}};function ot(xe,ce,ue,de,fe,le,Fe){var at=(0,ke.useRef)(0),Ze=(0,ke.useRef)(null),Me=(0,ke.useRef)(null),Lt=(0,ke.useRef)(!1),bt=it(ce,ue,de,fe);function et(vt,Oe){if(pt.Z.cancel(Ze.current),!bt(!1,Oe)){var tt=vt;if(!tt._virtualHandled)tt._virtualHandled=!0;else return;at.current+=Oe,Me.current=Oe,he||tt.preventDefault(),Ze.current=(0,pt.Z)(function(){var ln=Lt.current?10:1;Fe(at.current*ln,!1),at.current=0})}}function Zt(vt,Oe){Fe(Oe,!0),he||vt.preventDefault()}var Cn=(0,ke.useRef)(null),kt=(0,ke.useRef)(null);function Qt(vt){if(xe){pt.Z.cancel(kt.current),kt.current=(0,pt.Z)(function(){Cn.current=null},2);var Oe=vt.deltaX,tt=vt.deltaY,ln=vt.shiftKey,dn=Oe,An=tt;(Cn.current==="sx"||!Cn.current&&ln&&tt&&!Oe)&&(dn=tt,An=0,Cn.current="sx");var Xn=Math.abs(dn),Gt=Math.abs(An);Cn.current===null&&(Cn.current=le&&Xn>Gt?"x":"y"),Cn.current==="y"?et(vt,An):Zt(vt,dn)}}function cn(vt){xe&&(Lt.current=vt.detail===Me.current)}return[Qt,cn]}function ut(xe,ce,ue,de){var fe=ke.useMemo(function(){return[new Map,[]]},[xe,ue.id,de]),le=(0,Se.Z)(fe,2),Fe=le[0],at=le[1],Ze=function(Lt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Lt,et=Fe.get(Lt),Zt=Fe.get(bt);if(et===void 0||Zt===void 0)for(var Cn=xe.length,kt=at.length;kt<Cn;kt+=1){var Qt,cn=xe[kt],vt=ce(cn);Fe.set(vt,kt);var Oe=(Qt=ue.get(vt))!==null&&Qt!==void 0?Qt:de;if(at[kt]=(at[kt-1]||0)+Oe,vt===Lt&&(et=kt),vt===bt&&(Zt=kt),et!==void 0&&Zt!==void 0)break}return{top:at[et-1]||0,bottom:at[Zt]}};return Ze}var Je=ie(67732),mt=ie(83652),Te=function(){function xe(){(0,Je.Z)(this,xe),(0,yt.Z)(this,"maps",void 0),(0,yt.Z)(this,"id",0),(0,yt.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,mt.Z)(xe,[{key:"set",value:function(ue,de){this.diffRecords.set(ue,this.maps[ue]),this.maps[ue]=de,this.id+=1}},{key:"get",value:function(ue){return this.maps[ue]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),xe}(),xt=Te;function Ne(xe){var ce=parseFloat(xe);return isNaN(ce)?0:ce}function Rt(xe,ce,ue){var de=ke.useState(0),fe=(0,Se.Z)(de,2),le=fe[0],Fe=fe[1],at=(0,ke.useRef)(new Map),Ze=(0,ke.useRef)(new xt),Me=(0,ke.useRef)(0);function Lt(){Me.current+=1}function bt(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Lt();var Cn=function(){var cn=!1;at.current.forEach(function(vt,Oe){if(vt&&vt.offsetParent){var tt=vt.offsetHeight,ln=getComputedStyle(vt),dn=ln.marginTop,An=ln.marginBottom,Xn=Ne(dn),Gt=Ne(An),nr=tt+Xn+Gt;Ze.current.get(Oe)!==nr&&(Ze.current.set(Oe,nr),cn=!0)}}),cn&&Fe(function(vt){return vt+1})};if(Zt)Cn();else{Me.current+=1;var kt=Me.current;Promise.resolve().then(function(){kt===Me.current&&Cn()})}}function et(Zt,Cn){var kt=xe(Zt),Qt=at.current.get(kt);Cn?(at.current.set(kt,Cn),bt()):at.current.delete(kt),!Qt!=!Cn&&(Cn?ce==null||ce(Zt):ue==null||ue(Zt))}return(0,ke.useEffect)(function(){return Lt},[]),[et,bt,Ze.current,le]}var Dt=14/15;function Nt(xe,ce,ue){var de=(0,ke.useRef)(!1),fe=(0,ke.useRef)(0),le=(0,ke.useRef)(0),Fe=(0,ke.useRef)(null),at=(0,ke.useRef)(null),Ze,Me=function(Zt){if(de.current){var Cn=Math.ceil(Zt.touches[0].pageX),kt=Math.ceil(Zt.touches[0].pageY),Qt=fe.current-Cn,cn=le.current-kt,vt=Math.abs(Qt)>Math.abs(cn);vt?fe.current=Cn:le.current=kt;var Oe=ue(vt,vt?Qt:cn,!1,Zt);Oe&&Zt.preventDefault(),clearInterval(at.current),Oe&&(at.current=setInterval(function(){vt?Qt*=Dt:cn*=Dt;var tt=Math.floor(vt?Qt:cn);(!ue(vt,tt,!0)||Math.abs(tt)<=.1)&&clearInterval(at.current)},16))}},Lt=function(){de.current=!1,Ze()},bt=function(Zt){Ze(),Zt.touches.length===1&&!de.current&&(de.current=!0,fe.current=Math.ceil(Zt.touches[0].pageX),le.current=Math.ceil(Zt.touches[0].pageY),Fe.current=Zt.target,Fe.current.addEventListener("touchmove",Me,{passive:!1}),Fe.current.addEventListener("touchend",Lt,{passive:!0}))};Ze=function(){Fe.current&&(Fe.current.removeEventListener("touchmove",Me),Fe.current.removeEventListener("touchend",Lt))},(0,ht.Z)(function(){return xe&&ce.current.addEventListener("touchstart",bt,{passive:!0}),function(){var et;(et=ce.current)===null||et===void 0||et.removeEventListener("touchstart",bt),Ze(),clearInterval(at.current)}},[xe])}function wt(xe){return Math.floor(Math.pow(xe,.5))}function It(xe,ce){var ue="touches"in xe?xe.touches[0]:xe;return ue[ce?"pageX":"pageY"]-window[ce?"scrollX":"scrollY"]}function We(xe,ce,ue){ke.useEffect(function(){var de=ce.current;if(xe&&de){var fe=!1,le,Fe,at=function(){pt.Z.cancel(le)},Ze=function et(){at(),le=(0,pt.Z)(function(){ue(Fe),et()})},Me=function(){fe=!1,at()},Lt=function(Zt){if(!(Zt.target.draggable||Zt.button!==0)){var Cn=Zt;Cn._virtualHandled||(Cn._virtualHandled=!0,fe=!0)}},bt=function(Zt){if(fe){var Cn=It(Zt,!1),kt=de.getBoundingClientRect(),Qt=kt.top,cn=kt.bottom;if(Cn<=Qt){var vt=Qt-Cn;Fe=-wt(vt),Ze()}else if(Cn>=cn){var Oe=Cn-cn;Fe=wt(Oe),Ze()}else at()}};return de.addEventListener("mousedown",Lt),de.ownerDocument.addEventListener("mouseup",Me),de.ownerDocument.addEventListener("mousemove",bt),de.ownerDocument.addEventListener("dragend",Me),function(){de.removeEventListener("mousedown",Lt),de.ownerDocument.removeEventListener("mouseup",Me),de.ownerDocument.removeEventListener("mousemove",bt),de.ownerDocument.removeEventListener("dragend",Me),at()}}},[xe])}var ve=10;function Qe(xe,ce,ue,de,fe,le,Fe,at){var Ze=ke.useRef(),Me=ke.useState(null),Lt=(0,Se.Z)(Me,2),bt=Lt[0],et=Lt[1];return(0,ht.Z)(function(){if(bt&&bt.times<ve){if(!xe.current){et(function(Rn){return(0,Ce.Z)({},Rn)});return}le();var Zt=bt.targetAlign,Cn=bt.originAlign,kt=bt.index,Qt=bt.offset,cn=xe.current.clientHeight,vt=!1,Oe=Zt,tt=null;if(cn){for(var ln=Zt||Cn,dn=0,An=0,Xn=0,Gt=Math.min(ce.length-1,kt),nr=0;nr<=Gt;nr+=1){var wr=fe(ce[nr]);An=dn;var kr=ue.get(wr);Xn=An+(kr===void 0?de:kr),dn=Xn}for(var rr=ln==="top"?Qt:cn-Qt,Ar=Gt;Ar>=0;Ar-=1){var li=fe(ce[Ar]),xr=ue.get(li);if(xr===void 0){vt=!0;break}if(rr-=xr,rr<=0)break}switch(ln){case"top":tt=An-Qt;break;case"bottom":tt=Xn-cn+Qt;break;default:{var Br=xe.current.scrollTop,ti=Br+cn;An<Br?Oe="top":Xn>ti&&(Oe="bottom")}}tt!==null&&Fe(tt),tt!==bt.lastTop&&(vt=!0)}vt&&et((0,Ce.Z)((0,Ce.Z)({},bt),{},{times:bt.times+1,targetAlign:Oe,lastTop:tt}))}},[bt,xe.current]),function(Zt){if(Zt==null){at();return}if(pt.Z.cancel(Ze.current),typeof Zt=="number")Fe(Zt);else if(Zt&&(0,be.Z)(Zt)==="object"){var Cn,kt=Zt.align;"index"in Zt?Cn=Zt.index:Cn=ce.findIndex(function(vt){return fe(vt)===Zt.key});var Qt=Zt.offset,cn=Qt===void 0?0:Qt;et({times:0,index:Cn,offset:cn,originAlign:kt})}}}var Vt=ke.forwardRef(function(xe,ce){var ue=xe.prefixCls,de=xe.rtl,fe=xe.scrollOffset,le=xe.scrollRange,Fe=xe.onStartMove,at=xe.onStopMove,Ze=xe.onScroll,Me=xe.horizontal,Lt=xe.spinSize,bt=xe.containerSize,et=xe.style,Zt=xe.thumbStyle,Cn=xe.showScrollBar,kt=ke.useState(!1),Qt=(0,Se.Z)(kt,2),cn=Qt[0],vt=Qt[1],Oe=ke.useState(null),tt=(0,Se.Z)(Oe,2),ln=tt[0],dn=tt[1],An=ke.useState(null),Xn=(0,Se.Z)(An,2),Gt=Xn[0],nr=Xn[1],wr=!de,kr=ke.useRef(),rr=ke.useRef(),Ar=ke.useState(Cn),li=(0,Se.Z)(Ar,2),xr=li[0],Br=li[1],ti=ke.useRef(),Rn=function(){Cn===!0||Cn===!1||(clearTimeout(ti.current),Br(!0),ti.current=setTimeout(function(){Br(!1)},3e3))},tn=le-bt||0,zn=bt-Lt||0,er=ke.useMemo(function(){if(fe===0||tn===0)return 0;var Ft=fe/tn;return Ft*zn},[fe,tn,zn]),zt=function(Ie){Ie.stopPropagation(),Ie.preventDefault()},bn=ke.useRef({top:er,dragging:cn,pageY:ln,startTop:Gt});bn.current={top:er,dragging:cn,pageY:ln,startTop:Gt};var kn=function(Ie){vt(!0),dn(It(Ie,Me)),nr(bn.current.top),Fe(),Ie.stopPropagation(),Ie.preventDefault()};ke.useEffect(function(){var Ft=function(Ke){Ke.preventDefault()},Ie=kr.current,Xe=rr.current;return Ie.addEventListener("touchstart",Ft,{passive:!1}),Xe.addEventListener("touchstart",kn,{passive:!1}),function(){Ie.removeEventListener("touchstart",Ft),Xe.removeEventListener("touchstart",kn)}},[]);var Tt=ke.useRef();Tt.current=tn;var an=ke.useRef();an.current=zn,ke.useEffect(function(){if(cn){var Ft,Ie=function(Ke){var Bt=bn.current,dt=Bt.dragging,on=Bt.pageY,nn=Bt.startTop;pt.Z.cancel(Ft);var hn=kr.current.getBoundingClientRect(),Pn=bt/(Me?hn.width:hn.height);if(dt){var Jn=(It(Ke,Me)-on)*Pn,In=nn;!wr&&Me?In-=Jn:In+=Jn;var Xt=Tt.current,wn=an.current,pr=wn?In/wn:0,lr=Math.ceil(pr*Xt);lr=Math.max(lr,0),lr=Math.min(lr,Xt),Ft=(0,pt.Z)(function(){Ze(lr,Me)})}},Xe=function(){vt(!1),at()};return window.addEventListener("mousemove",Ie,{passive:!0}),window.addEventListener("touchmove",Ie,{passive:!0}),window.addEventListener("mouseup",Xe,{passive:!0}),window.addEventListener("touchend",Xe,{passive:!0}),function(){window.removeEventListener("mousemove",Ie),window.removeEventListener("touchmove",Ie),window.removeEventListener("mouseup",Xe),window.removeEventListener("touchend",Xe),pt.Z.cancel(Ft)}}},[cn]),ke.useEffect(function(){return Rn(),function(){clearTimeout(ti.current)}},[fe]),ke.useImperativeHandle(ce,function(){return{delayHidden:Rn}});var sn="".concat(ue,"-scrollbar"),rn={position:"absolute",visibility:xr?null:"hidden"},$n={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Me?(Object.assign(rn,{height:8,left:0,right:0,bottom:0}),Object.assign($n,(0,yt.Z)({height:"100%",width:Lt},wr?"left":"right",er))):(Object.assign(rn,(0,yt.Z)({width:8,top:0,bottom:0},wr?"right":"left",0)),Object.assign($n,{width:"100%",height:Lt,top:er})),ke.createElement("div",{ref:kr,className:ye()(sn,(0,yt.Z)((0,yt.Z)((0,yt.Z)({},"".concat(sn,"-horizontal"),Me),"".concat(sn,"-vertical"),!Me),"".concat(sn,"-visible"),xr)),style:(0,Ce.Z)((0,Ce.Z)({},rn),et),onMouseDown:zt,onMouseMove:Rn},ke.createElement("div",{ref:rr,className:ye()("".concat(sn,"-thumb"),(0,yt.Z)({},"".concat(sn,"-thumb-moving"),cn)),style:(0,Ce.Z)((0,Ce.Z)({},$n),Zt),onMouseDown:kn}))}),Mt=Vt,Ue=20;function st(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ue=xe/ce*xe;return isNaN(ue)&&(ue=0),ue=Math.max(ue,Ue),Math.floor(ue)}var Ht=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],yn=[],Ut={overflowY:"auto",overflowAnchor:"none"};function Sn(xe,ce){var ue=xe.prefixCls,de=ue===void 0?"rc-virtual-list":ue,fe=xe.className,le=xe.height,Fe=xe.itemHeight,at=xe.fullHeight,Ze=at===void 0?!0:at,Me=xe.style,Lt=xe.data,bt=xe.children,et=xe.itemKey,Zt=xe.virtual,Cn=xe.direction,kt=xe.scrollWidth,Qt=xe.component,cn=Qt===void 0?"div":Qt,vt=xe.onScroll,Oe=xe.onVirtualScroll,tt=xe.onVisibleChange,ln=xe.innerProps,dn=xe.extraRender,An=xe.styles,Xn=xe.showScrollBar,Gt=Xn===void 0?"optional":Xn,nr=(0,Ae.Z)(xe,Ht),wr=ke.useCallback(function(Pt){return typeof et=="function"?et(Pt):Pt==null?void 0:Pt[et]},[et]),kr=Rt(wr,null,null),rr=(0,Se.Z)(kr,4),Ar=rr[0],li=rr[1],xr=rr[2],Br=rr[3],ti=!!(Zt!==!1&&le&&Fe),Rn=ke.useMemo(function(){return Object.values(xr.maps).reduce(function(Pt,fn){return Pt+fn},0)},[xr.id,xr.maps]),tn=ti&&Lt&&(Math.max(Fe*Lt.length,Rn)>le||!!kt),zn=Cn==="rtl",er=ye()(de,(0,yt.Z)({},"".concat(de,"-rtl"),zn),fe),zt=Lt||yn,bn=(0,ke.useRef)(),kn=(0,ke.useRef)(),Tt=(0,ke.useRef)(),an=(0,ke.useState)(0),sn=(0,Se.Z)(an,2),rn=sn[0],$n=sn[1],Ft=(0,ke.useState)(0),Ie=(0,Se.Z)(Ft,2),Xe=Ie[0],He=Ie[1],Ke=(0,ke.useState)(!1),Bt=(0,Se.Z)(Ke,2),dt=Bt[0],on=Bt[1],nn=function(){on(!0)},hn=function(){on(!1)},Pn={getKey:wr};function Jn(Pt){$n(function(fn){var Wn;typeof Pt=="function"?Wn=Pt(fn):Wn=Pt;var Qn=si(Wn);return bn.current.scrollTop=Qn,Qn})}var In=(0,ke.useRef)({start:0,end:zt.length}),Xt=(0,ke.useRef)(),wn=ft(zt,wr),pr=(0,Se.Z)(wn,1),lr=pr[0];Xt.current=lr;var ar=ke.useMemo(function(){if(!ti)return{scrollHeight:void 0,start:0,end:zt.length-1,offset:void 0};if(!tn){var Pt;return{scrollHeight:((Pt=kn.current)===null||Pt===void 0?void 0:Pt.offsetHeight)||0,start:0,end:zt.length-1,offset:void 0}}for(var fn=0,Wn,Qn,Mr,Ci=zt.length,ri=0;ri<Ci;ri+=1){var ii=zt[ri],Ii=wr(ii),da=xr.get(Ii),yr=fn+(da===void 0?Fe:da);yr>=rn&&Wn===void 0&&(Wn=ri,Qn=fn),yr>rn+le&&Mr===void 0&&(Mr=ri),fn=yr}return Wn===void 0&&(Wn=0,Qn=0,Mr=Math.ceil(le/Fe)),Mr===void 0&&(Mr=zt.length-1),Mr=Math.min(Mr+1,zt.length-1),{scrollHeight:fn,start:Wn,end:Mr,offset:Qn}},[tn,ti,rn,zt,Br,le]),dr=ar.scrollHeight,Ir=ar.start,tr=ar.end,Yr=ar.offset;In.current.start=Ir,In.current.end=tr,ke.useLayoutEffect(function(){var Pt=xr.getRecord();if(Pt.size===1){var fn=Array.from(Pt.keys())[0],Wn=Pt.get(fn),Qn=zt[Ir];if(Qn&&Wn===void 0){var Mr=wr(Qn);if(Mr===fn){var Ci=xr.get(fn),ri=Ci-Fe;Jn(function(ii){return ii+ri})}}}xr.resetRecord()},[dr]);var _t=ke.useState({width:0,height:le}),xn=(0,Se.Z)(_t,2),Dn=xn[0],Un=xn[1],Bn=function(fn){Un({width:fn.offsetWidth,height:fn.offsetHeight})},Vn=(0,ke.useRef)(),Nn=(0,ke.useRef)(),ir=ke.useMemo(function(){return st(Dn.width,kt)},[Dn.width,kt]),Cr=ke.useMemo(function(){return st(Dn.height,dr)},[Dn.height,dr]),Nr=dr-le,ai=(0,ke.useRef)(Nr);ai.current=Nr;function si(Pt){var fn=Pt;return Number.isNaN(ai.current)||(fn=Math.min(fn,ai.current)),fn=Math.max(fn,0),fn}var mi=rn<=0,br=rn>=Nr,Hr=Xe<=0,Lr=Xe>=kt,ni=it(mi,br,Hr,Lr),$r=function(){return{x:zn?-Xe:Xe,y:rn}},Fr=(0,ke.useRef)($r()),Vr=(0,Re.useEvent)(function(Pt){if(Oe){var fn=(0,Ce.Z)((0,Ce.Z)({},$r()),Pt);(Fr.current.x!==fn.x||Fr.current.y!==fn.y)&&(Oe(fn),Fr.current=fn)}});function ei(Pt,fn){var Wn=Pt;fn?((0,Le.flushSync)(function(){He(Wn)}),Vr()):Jn(Wn)}function _r(Pt){var fn=Pt.currentTarget.scrollTop;fn!==rn&&Jn(fn),vt==null||vt(Pt),Vr()}var ki=function(fn){var Wn=fn,Qn=kt?kt-Dn.width:0;return Wn=Math.max(Wn,0),Wn=Math.min(Wn,Qn),Wn},Ki=(0,Re.useEvent)(function(Pt,fn){fn?((0,Le.flushSync)(function(){He(function(Wn){var Qn=Wn+(zn?-Pt:Pt);return ki(Qn)})}),Vr()):Jn(function(Wn){var Qn=Wn+Pt;return Qn})}),hi=ot(ti,mi,br,Hr,Lr,!!kt,Ki),Dr=(0,Se.Z)(hi,2),or=Dr[0],ui=Dr[1];Nt(ti,bn,function(Pt,fn,Wn,Qn){var Mr=Qn;return ni(Pt,fn,Wn)?!1:!Mr||!Mr._virtualHandled?(Mr&&(Mr._virtualHandled=!0),or({preventDefault:function(){},deltaX:Pt?fn:0,deltaY:Pt?0:fn}),!0):!1}),We(tn,bn,function(Pt){Jn(function(fn){return fn+Pt})}),(0,ht.Z)(function(){function Pt(Wn){var Qn=mi&&Wn.detail<0,Mr=br&&Wn.detail>0;ti&&!Qn&&!Mr&&Wn.preventDefault()}var fn=bn.current;return fn.addEventListener("wheel",or,{passive:!1}),fn.addEventListener("DOMMouseScroll",ui,{passive:!0}),fn.addEventListener("MozMousePixelScroll",Pt,{passive:!1}),function(){fn.removeEventListener("wheel",or),fn.removeEventListener("DOMMouseScroll",ui),fn.removeEventListener("MozMousePixelScroll",Pt)}},[ti,mi,br]),(0,ht.Z)(function(){if(kt){var Pt=ki(Xe);He(Pt),Vr({x:Pt})}},[Dn.width,kt]);var gi=function(){var fn,Wn;(fn=Vn.current)===null||fn===void 0||fn.delayHidden(),(Wn=Nn.current)===null||Wn===void 0||Wn.delayHidden()},Pi=Qe(bn,zt,xr,Fe,wr,function(){return li(!0)},Jn,gi);ke.useImperativeHandle(ce,function(){return{nativeElement:Tt.current,getScrollInfo:$r,scrollTo:function(fn){function Wn(Qn){return Qn&&(0,be.Z)(Qn)==="object"&&("left"in Qn||"top"in Qn)}Wn(fn)?(fn.left!==void 0&&He(ki(fn.left)),Pi(fn.top)):Pi(fn)}}}),(0,ht.Z)(function(){if(tt){var Pt=zt.slice(Ir,tr+1);tt(Pt,zt)}},[Ir,tr,zt]);var rt=ut(zt,wr,xr,Fe),gt=dn==null?void 0:dn({start:Ir,end:tr,virtual:tn,offsetX:Xe,offsetY:Yr,rtl:zn,getSize:rt}),Yt=Et(zt,Ir,tr,kt,Xe,Ar,bt,Pn),gn=null;le&&(gn=(0,Ce.Z)((0,yt.Z)({},Ze?"height":"maxHeight",le),Ut),ti&&(gn.overflowY="hidden",kt&&(gn.overflowX="hidden"),dt&&(gn.pointerEvents="none")));var Yn={};return zn&&(Yn.dir="rtl"),ke.createElement("div",(0,ne.Z)({ref:Tt,style:(0,Ce.Z)((0,Ce.Z)({},Me),{},{position:"relative"}),className:er},Yn,nr),ke.createElement(Ee.Z,{onResize:Bn},ke.createElement(cn,{className:"".concat(de,"-holder"),style:gn,ref:bn,onScroll:_r,onMouseEnter:gi},ke.createElement(nt,{prefixCls:de,height:dr,offsetX:Xe,offsetY:Yr,scrollWidth:kt,onInnerResize:li,ref:kn,innerProps:ln,rtl:zn,extra:gt},Yt))),tn&&dr>le&&ke.createElement(Mt,{ref:Vn,prefixCls:de,scrollOffset:rn,scrollRange:dr,rtl:zn,onScroll:ei,onStartMove:nn,onStopMove:hn,spinSize:Cr,containerSize:Dn.height,style:An==null?void 0:An.verticalScrollBar,thumbStyle:An==null?void 0:An.verticalScrollBarThumb,showScrollBar:Gt}),tn&&kt>Dn.width&&ke.createElement(Mt,{ref:Nn,prefixCls:de,scrollOffset:Xe,scrollRange:kt,rtl:zn,onScroll:ei,onStartMove:nn,onStopMove:hn,spinSize:ir,containerSize:Dn.width,horizontal:!0,style:An==null?void 0:An.horizontalScrollBar,thumbStyle:An==null?void 0:An.horizontalScrollBarThumb,showScrollBar:Gt}))}var jt=ke.forwardRef(Sn);jt.displayName="List";var Jt=jt,Ot=Jt},25510:function(Ln){"use strict";Ln.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmNMBEIr9TxVCOO+Bt34JGIsSMfWlDgFH8hJeKH8UuKVCe8Naqn+Vq9MzMc/OcPHmn9yhjFoeeLwoEvmYb+yOnUPtdpfXertd1qbnXSTL2JoIziopUhPFlQdnJhWsgAKZGVR6EKQSwSZzgCptspoBEUP+Z5laMx5AYAgqBDgZ7AXYULIY8/cNmglucXZ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nC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(Ln){"use strict";Ln.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LScG/9qv+FtxDc6GcdRm++ks7bGutH1pbt2amst21AxNv15Rj959hXFjFjPaNpmUbYwppVJozcK87l5npxf75JcsYdnEqca0ZSvnk+dtaV++e+dwktjzzQsFqTjmum3oRm2ZOtZbSc8hue5j/ie/x3n1nXeSv50ygv8RJ9MY7Hn08O+1+t9nfnNG8EW5xJHZs98NmCsEANdJ/tulLP2PEiP/442nw5z6/XzYTTq6HcmObSBXkSfm/uxtrTdtLk50/A3WgSZtHX812iA3imrbDq2kZxfoWVOo8hxGPXf0yDygP+eR8F3vtqdjrGTHsNN/0Pbo4z2Xadi0fcqZaSOeBTpMX/9KvDPZHnCu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s40gKDRJ6PWhVbAfnokh/+f17oKelHNP2kwROsZoa+DDnL4JaDI+U/UejzbXSaxR/K5ygXVan6UasJJiI6AV8jKgQWdQh+P8NewCBXTkFh5dNNOoB4NwLLtSc05opxCA5sQ2qkzqjlkPGndvq4I2alefyPfrwQWLWvK26J+U4VPtymGNvr6jJCkpX+Gv4bASrciDcnqMQ62IDT82UnbIvbP3v2aDjMISHRqDvhU/jScZAIuZpF7urMIRHhxMtxaDVxkP5s6/PTemjld9JmqnoUAXdp76ZqangOGXnmbuSSwINlw66vnonq757l0gHwoTNt7cz8nd3Yz4f/0XK6vduVqt42shwKRVC5U58oEJnXL9FPjpcPhFGHaBhdxW4sOsYHZjZGul8dDeXg4eBKtw86VGhGVwicBOpT6OxwMMV/3EQg6AWKIUvH5RNolA29CDT3wmNspggFJXkNUkl1IuQKnQixEgIwkJ5MjBYF/fTCG7E6XWDeW06oJpdinfW8BEx7JYaHE0aM0JdIN1IOF8WgwFO5YnABqrkUiiFDCsnyPqU9PKWXmCwc5De9OC0XNdja1QysjHUcte17BFMJCEZ5K6RCDwN/tGnKlws/cKIg8Kj4vMASYVKjdqXExZzAh8op+/5zRwrdHv1HgGwW+UeAbBb5R4BsFvlGgpcA3YPFtR3yjwDcKfKPANwp8o8A3ClyMAv8DD8nJIGmcntAAAAAASUVORK5CYII="},96908:function(Ln){"use strict";Ln.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e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ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},48136:function(Ln,pn,ie){"use strict";var ne=Object.defineProperty,be=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,pe=(a,y,b)=>y in a?ne(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ye=(a,y)=>{for(var b in y||(y={}))Se.call(y,b)&&pe(a,b,y[b]);if(yt)for(var b of yt(y))Ae.call(y,b)&&pe(a,b,y[b]);return a},Ee=(a,y)=>be(a,Ce(y)),Re=a=>typeof a=="symbol"?a:a+"",ht=(a,y)=>{var b={};for(var E in a)Se.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&yt)for(var E of yt(a))y.indexOf(E)<0&&Ae.call(a,E)&&(b[E]=a[E]);return b};function ke(a){return Array.isArray(a)}var Le={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 Ge(){return"window"in globalThis&&"document"in globalThis}function nt(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function ct(){return typeof navigator.vibrate=="function"}function Et(){var a,y;if(!Ge())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 Ct(){if(!Ge())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 Wt(){return HTMLElement.prototype.hasOwnProperty("popover")}var ft={strings:Le,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return ft._locale||(ft._locale=Ge()?navigator.language.slice(0,5):"en-US"),ft._locale},set locale(a){ft._locale=a,ft._numberFormatter=void 0,ft.dirty=!0},get numberFormatter(){return ft._numberFormatter||(ft._numberFormatter=new Intl.NumberFormat(ft.locale)),ft._numberFormatter},merge(a,y){if(typeof a=="string"&&y)ft.strings[a]=ye(ye({},ft.strings[a]),y),ft.dirty=!0;else for(const b of Object.keys(a))ft.merge(b,a[b])},get dirty(){return ft._dirty},set dirty(a){ft._dirty||ft._dirty===a||(ft._dirty=!0,setTimeout(()=>{ft._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return ft._subscribers.push(a),ft._subscribers.length-1},unsubscribe(a){a<0||a>=ft._subscribers.length||(ft._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 ee=pt(E);ee&&b.setAttribute("data-tooltip",ee)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const E=b.getAttribute("data-l10n-arial-label");if(E){const ee=pt(E);ee&&b.setAttribute("aria-label",ee)}}}};function pt(a,...y){if(a===void 0)return;let b="";const E=ft.locale;ft.strings[E]&&(b=ft.strings[E][a]);const ee=E.slice(0,2);if(!b&&ft.strings[ee]&&(b=ft.strings[ee][a]),b||(b=ft.strings.en[a]),!b)return;const ae=/(%@|%([0-9]+)\$@)/g;let se=ae.exec(b),ge=0;for(;se;){if(y[ge++]){const Pe=se[2]?parseInt(se[2],10)-1:ge-1;let je=y[Pe];typeof je=="number"&&(je=ft.numberFormatter.format(je)),b=b.replace(se[1],je)}se=ae.exec(b)}return b=b.replace(/%%/g,"%"),b}var ze={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},he={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},it={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"},ot={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"},ut={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"},Je={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 mt(a){var y,b,E,ee,ae,se;const ge=a.split("!");let we,Pe,je,At=255,en=255,Mn=255,On=-1;const zr=ge.length>0&&ge[0].startsWith("-");zr&&(ge[0]=ge[0].slice(1));for(let Wi=0;Wi<ge.length;Wi++){we=At,Pe=en,je=Mn;const Pr=(y=ge[Wi].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],yi=Pr==null?void 0:Pr.toLowerCase(),Ui=Pr&&(se=(ae=(ee=(E=(b=ot[yi])!=null?b:ot[ut[Pr]])!=null?E:he[Pr])!=null?ee:Je[Pr])!=null?ae:ze[Pr])!=null?se:ge[Wi].trim();let Mi=Ui.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(Mi!=null&&Mi[1]&&Mi[2]&&Mi[3])At=Math.max(0,Math.min(255,Number.parseInt(Mi[1],16))),en=Math.max(0,Math.min(255,Number.parseInt(Mi[2],16))),Mn=Math.max(0,Math.min(255,Number.parseInt(Mi[3],16)));else if(Mi=Ui.match(/^#([\da-f]{3})$/i),Mi!=null&&Mi[1]){const Pa=Number.parseInt(Mi[1][0],16),Ga=Number.parseInt(Mi[1][1],16),Ha=Number.parseInt(Mi[1][2],16);At=Math.max(0,Math.min(255,Pa*16+Pa)),en=Math.max(0,Math.min(255,Ga*16+Ga)),Mn=Math.max(0,Math.min(255,Ha*16+Ha))}else if(Mi=Ui.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),Mi!=null&&Mi[1]&&Mi[2]&&Mi[3])At=Math.max(0,Math.min(255,Number.parseInt(Mi[1]))),en=Math.max(0,Math.min(255,Number.parseInt(Mi[2]))),Mn=Math.max(0,Math.min(255,Number.parseInt(Mi[3])));else return;On>=0&&(At=(1-On)*At+On*we,en=(1-On)*en+On*Pe,Mn=(1-On)*Mn+On*je,On=-1),Wi+1<ge.length&&(On=Math.max(0,Math.min(100,Number.parseInt(ge[++Wi])))/100)}return On>=0&&(At=On*At+(1-On)*we,en=On*en+(1-On)*Pe,Mn=On*Mn+(1-On)*je),zr&&(At=255-At,en=255-en,Mn=255-Mn),"#"+("00"+Math.round(At).toString(16)).slice(-2)+("00"+Math.round(en).toString(16)).slice(-2)+("00"+Math.round(Mn).toString(16)).slice(-2)}function Te(a){var y,b;return a=a.trim(),(b=(y=it[a.toLowerCase()])!=null?y:it[ut[a]])!=null?b:mt(a)}function xt(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 Ne(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 Rt(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 ee=E<=.5?E*(b+1):E+b-E*b,ae=E*2-ee;return{r:Math.round(255*Ne(ae,ee,y+2)),g:Math.round(255*Ne(ae,ee,y)),b:Math.round(255*Ne(ae,ee,y-2))}}function Dt(a){return a<0?0:a>255?255:Math.round(a)}function Nt(a){const{r:y,g:b,b:E}=a;let ee=((1<<24)+(Dt(y)<<16)+(Dt(b)<<8)+Dt(E)).toString(16).slice(1);return ee[0]===ee[1]&&ee[2]===ee[3]&&ee[4]===ee[5]&&ee[6]===ee[7]&&(ee=ee[0]+ee[2]+ee[4]),"#"+ee}function wt(a){let{r:y,g:b,b:E}=a;y=y/255,b=b/255,E=E/255;const ee=Math.min(y,b,E),ae=Math.max(y,b,E),se=ae-ee;let ge,we;ae===ee?ge=0:y===ae?ge=(b-E)/se:b===ae?ge=2+(E-y)/se:E===ae&&(ge=4+(y-b)/se),ge=Math.min(ge*60,360),ge<0&&(ge+=360);const Pe=(ee+ae)/2;return ae===ee?we=0:Pe<=.5?we=se/(ae+ee):we=se/(2-ae-ee),{h:ge,s:we,l:Pe}}function It(a){let y=xt(a);if(!y)return a;let{h:b,s:E,l:ee}=wt(y);return E+=.1,ee-=.1,Nt(Rt({h:b,s:E,l:ee}))}var We={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"},ve={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},Qe=[{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 Vt(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 ee of Qe)if((!y||ee.variant===y)&&(!b||ee.style===b)&&E>=ee.offset&&E<ee.offset+ee.len){const ae=ee.start+E-ee.offset;return String.fromCodePoint(ve[ae]||ae)}return a}function Mt(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in ve)if(ve[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of Qe)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 Ue(a){var y;let b="";for(const E of a){if("{}<>[]$&#^_%:'\u02DC".includes(E)){b+=E;continue}const ee=(y=E.codePointAt(0))!=null?y:0;let ae=We[ee];if(ae)ae.startsWith("\\")?b+=ae+" ":b+=ae;else{const{char:se,variant:ge,style:we}=Mt(ee);switch(ae=se,ge){case"double-struck":ae=`\\mathbb{${ae}}`;break;case"fraktur":ae=`\\mathfrak{${ae}}`;break;case"script":ae=`\\mathscr{${ae}}`;break;case"sans-serif":ae=`\\mathsf{${ae}}`;break;case"monospace":ae=`\\mathtt{${ae}}`;break;case"calligraphic":ae=`\\mathcal{${ae}}`;break}switch(we){case"bold":ae=`\\mathbf{${ae}}`;break;case"italic":ae=`\\mathit{${ae}}`;break;case"bolditalic":ae=`\\mathbfit{${ae}}`;break}b+=ae}}return b}function st(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var Ht={},yn=ye({},We),Ut={},Sn={},jt={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}"},Jt={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}},Ot={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}},xe={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:Ot},"amsmath.sty":{package:Jt,primitive:!0},"texvc.sty":{package:jt,primitive:!1}},ce={" ":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},ue=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,de,fe;Ct()?(de=new RegExp("\\p{Letter}","u"),fe=new RegExp("[0-9\\p{Letter}]","u")):(de=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,fe=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function le(a,y,b="mord",E){y!==void 0&&(Ht[a]={definitionType:"symbol",type:b,variant:E,codepoint:y},yn[y]||(yn[y]=a))}function Fe(a,y,b){if(typeof a=="string"){for(let E=0;E<a.length;E++){const ee=a.charAt(E);le(ee,ee.codePointAt(0))}return}for(const[E,ee,ae,se]of a)le(E,ee,ae!=null?ae:y,se!=null?se:b)}function at(a,y){for(let b=a;b<=y;b++)le(String.fromCodePoint(b),b)}function Ze(a){var y;return(y=Sn[a])!=null?y:null}function Me(a,y){var b,E;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const ee=[];for(const se in Ut)se.startsWith(y)&&!Ut[se].infix&&ee.push({match:se,frequency:(b=Ut[se].frequency)!=null?b:0});for(const se in Ht)se.startsWith(y)&&ee.push({match:se,frequency:(E=Ht[se].frequency)!=null?E:0});const ae=y.substring(1);for(const se of Object.keys(a.options.macros))se.startsWith(ae)&&ee.push({match:"\\"+se,frequency:0});return ee.sort((se,ge)=>{var we,Pe;return se.frequency===ge.frequency?se.match.length===ge.match.length?se.match<ge.match?-1:1:se.match.length-ge.match.length:((we=ge.frequency)!=null?we:0)-((Pe=se.frequency)!=null?Pe:0)}),ee.map(se=>se.match)}function Lt(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function bt(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:Lt(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...bt(b[E]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:Lt(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...bt(b[E]))}return y}function et(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 Zt(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const E of a)Sn[E]=b}function Cn(a,y,b){typeof a=="string"&&(a=[a]);const ee={tabular:!0,params:bt(y),createAtom:b};for(const ae of a)Sn[ae]=ee}function kt(a,y,b){var E,ee;b||(b={});const ae={definitionType:"function",params:bt(y),ifMode:b.ifMode,isFunction:(E=b.isFunction)!=null?E:!1,applyMode:b.applyMode,infix:(ee=b.infix)!=null?ee:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")Ut["\\"+a]=ae;else for(const se of a)Ut["\\"+se]=ae}var Qt;function cn(a){return Qt||(Qt=Oe(xe)),a?Oe(ye(ye({},Qt),a)):Qt}function vt(a,y){var b,E,ee,ae;if(typeof a=="string"){let se=0;const ge=a;return/(^|[^\\])#1/.test(ge)&&(se=1),/(^|[^\\])#2/.test(ge)&&(se=2),/(^|[^\\])#3/.test(ge)&&(se=3),/(^|[^\\])#4/.test(ge)&&(se=4),/(^|[^\\])#5/.test(ge)&&(se=5),/(^|[^\\])#6/.test(ge)&&(se=6),/(^|[^\\])#7/.test(ge)&&(se=7),/(^|[^\\])#8/.test(ge)&&(se=8),/(^|[^\\])#9/.test(ge)&&(se=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(E=y==null?void 0:y.captureSelection)!=null?E:!0,args:se,def:ge}}return ye({expand:(ee=y==null?void 0:y.expand)!=null?ee:!0,captureSelection:(ae=y==null?void 0:y.captureSelection)!=null?ae:!0,args:0},a)}function Oe(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 ee of Object.keys(E.package))y[ee]=vt(E.package[ee],{expand:!E.primitive,captureSelection:E.captureSelection});else y[b]=vt(E)}return y}function tt(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=Ut[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=Ht[a]:ce[a]&&(b={definitionType:"symbol",type:"mord",codepoint:ce[a]})}else if(y==="math"){if(b=Ht[a],!b&&a.length===1){const E=dn("math",a.codePointAt(0));return E.startsWith("\\")?Ee(ye({},tt(E,"math")),{command:E}):null}}else ce[a]?b={definitionType:"symbol",type:"mord",codepoint:ce[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function ln(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function dn(a,y){if(y===void 0)return"";if(a==="math"&&yn[y])return yn[y];if(a==="text"){const b=Object.keys(ce).find(E=>ce[E]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var An=[0,.68889,0,0,.72222],Xn=[0,.68889,0,0,.66667],Gt=[0,.68889,0,0,.77778],nr=[0,.68889,0,0,.61111],wr=[.16667,.68889,0,0,.77778],kr=[0,.68889,0,0,.55556],rr=[0,0,0,0,.25],Ar=[0,.825,0,0,2.33334],li=[0,.9,0,0,2.33334],xr=[0,.68889,0,0,.54028],Br=[-.03598,.46402,0,0,.5],ti=[-.13313,.36687,0,0,1],Rn=[.01354,.52239,0,0,1],tn=[.01354,.52239,0,0,1.11111],zn=[0,.54986,0,0,1],er=[0,.69224,0,0,.5],zt=[0,.43056,0,0,1],bn=[.08198,.58198,0,0,.77778],kn=[.19444,.69224,0,0,.41667],Tt=[.1808,.675,0,0,1],an=[.19444,.69224,0,0,.83334],sn=[.13667,.63667,0,0,1],rn=[-.064,.437,0,0,1.334],$n=[.08167,.58167,0,0,.77778],Ft=[0,.69224,0,0,.72222],Ie=[0,.69224,0,0,.66667],Xe=[-.13313,.36687,0,0,.77778],He=[.06062,.54986,0,0,.77778],Ke=[0,.69224,0,0,.77778],Bt=[.25583,.75583,0,0,.77778],dt=[.25142,.75726,0,0,.77778],on=[.20576,.70576,0,0,.77778],nn=[.30274,.79383,0,0,.77778],hn=[.22958,.72958,0,0,.77778],Pn=[.1808,.675,0,0,.77778],Jn=[.13667,.63667,0,0,.77778],In=[.13597,.63597,0,0,.77778],Xt=[.03517,.54986,0,0,.77778],wn=[0,.675,0,0,.77778],pr=[.19444,.69224,0,0,.61111],lr=[0,.54986,0,0,.76042],ar=[0,.54986,0,0,.66667],dr=[.0391,.5391,0,0,.77778],Ir=[.03517,.54986,0,0,1.33334],tr=[.38569,.88569,0,0,.77778],Yr=[.23222,.74111,0,0,.77778],_t=[.19444,.69224,0,0,.77778],xn=[0,.37788,0,0,.5],Dn=[0,.54986,0,0,.72222],Un=[0,.69224,0,0,.83334],Bn=[.11111,.69224,0,0,.66667],Vn=[.26167,.75726,0,0,.77778],Nn=[.48256,.98256,0,0,.77778],ir=[.28481,.79383,0,0,.77778],Cr=[.08167,.58167,0,0,.22222],Nr=[.08167,.58167,0,0,.38889],ai=[0,.43056,.04028,0,.66667],si=[.41951,.91951,0,0,.77778],mi=[.24982,.74947,0,0,.38865],br=[.08319,.58283,0,0,.75623],Hr=[0,.10803,0,0,.27764],Lr=[0,.47534,0,0,.50181],ni=[.18906,.47534,0,0,.50181],$r=[0,.69141,0,0,.50181],Fr=[.24982,.74947,0,0,.27764],Vr=[0,.69141,0,0,.21471],ei=[.25,.75,0,0,.44722],_r=[0,.64444,0,0,.575],ki=[.08556,.58556,0,0,.89444],Ki=[0,.69444,0,0,.89444],hi=[0,.68611,0,0,.9],Dr=[0,.68611,0,0,.86944],or=[.25,.75,0,0,.575],ui=[.25,.75,0,0,.31944],gi=[0,.69444,0,0,.63889],Pi=[0,.69444,0,0,.31944],rt=[0,.44444,0,0,.63889],gt=[0,.44444,0,0,.51111],Yt=[0,.69444,0,0,.575],gn=[.13333,.63333,0,0,.89444],Yn=[0,.44444,0,0,.31944],Pt=[0,.69444,0,0,.86944],fn=[0,.68611,0,0,.69166],Wn=[0,.68611,0,0,.83055],Qn=[0,.68611,0,0,.89444],Mr=[0,.69444,0,0,.60278],Ci=[.19444,.69444,0,0,.51111],ri=[0,.69444,0,0,.83055],ii=[-.10889,.39111,0,0,1.14999],Ii=[.19444,.69444,0,0,.575],da=[.19444,.69444,0,0,1.14999],yr=[.19444,.69444,0,0,.70277],Kr=[.05556,.75,0,0,.575],Tr=[0,.68611,0,0,.95833],Zr=[.08556,.58556,0,0,.76666],wi=[-.02639,.47361,0,0,.575],ua=[0,.44444,0,0,.89444],la=[0,.55556,0,0,.76666],va=[-.10889,.39111,0,0,.89444],$i=[.00222,.50222,0,0,.89444],ga=[.19667,.69667,0,0,.89444],Wa=[.08556,.58556,0,0,1.14999],Xa=[0,.69444,0,0,.70277],oo=[-.02778,.47222,0,0,.575],yo=[.25,.75,0,0,.51111],so=[-.13889,.36111,0,0,1.14999],sl=[.19444,.69444,0,0,1.02222],ja=[.12963,.69444,0,0,.89444],Va=[.19444,.69444,0,0,.44722],Gn=[0,.64444,.13167,0,.59111],Hn=[.19444,.64444,.13167,0,.59111],Fn=[0,.68611,.17208,0,.8961],gr=[.19444,.44444,.105,0,.53222],Rr=[0,.44444,.085,0,.82666],Or=[0,.69444,.06709,0,.59111],ur=[0,.69444,.12945,0,.35555],ci=[0,.69444,0,0,.94888],_i=[0,.69444,.11472,0,.59111],Ji=[0,.68611,.10778,0,.88555],Zi=[0,.69444,.07939,0,.62055],di=[0,.69444,.12417,0,.30667],Vi=[0,.64444,.13556,0,.51111],Hi=[.19444,.64444,.13556,0,.51111],La=[0,.68333,.16389,0,.74333],Yi=[.19444,.43056,.08847,0,.46],ra=[0,.43056,.07514,0,.71555],Ia=[0,.69444,.06646,0,.51111],io=[0,.69444,0,0,.83129],po=[0,.69444,.1225,0,.51111],il=[0,.68333,.09403,0,.76666],wl=[0,.68333,.11111,0,.76666],Bs=[0,.69444,.06961,0,.51444],ul=[0,.69444,0,0,.27778],cl=[.25,.75,0,0,.38889],Jo=[0,.64444,0,0,.5],hs=[0,.69444,0,0,.77778],Bl=[0,.68333,0,0,.75],ts=[0,.68333,0,0,.77778],Rs=[0,.68333,0,0,.68056],_l=[0,.68333,0,0,.72222],_o=[.25,.75,0,0,.5],Io=[.25,.75,0,0,.27778],bo=[0,.69444,0,0,.5],Rl=[0,.69444,0,0,.55556],Us=[0,.43056,0,0,.44445],zl=[0,.43056,0,0,.5],uo=[.19444,.43056,0,0,.55556],no=[0,.43056,0,0,.55556],jo=[.08333,.58333,0,0,.77778],dl=[0,.43056,0,0,.27778],qo=[0,.66786,0,0,.27778],jl=[0,.69444,0,0,.75],Jl=[0,.66786,0,0,.5],ps=[0,.68333,0,0,.625],Vl=[.19444,.69444,0,0,.44445],fl=[0,.69444,0,0,.72222],ml=[.19444,.69444,0,0,.5],$o=[.19444,.69444,0,0,1],js=[.011,.511,0,0,1.126],Pl=[.19444,.69444,0,0,.61111],Hl=[.05556,.75,0,0,.5],ns=[0,.68333,0,0,.83334],zs=[.0391,.5391,0,0,.66667],Sl=[-.05555,.44445,0,0,.5],eu=[0,.43056,0,0,.77778],rs=[0,.55556,0,0,.66667],Cs=[-.03625,.46375,0,0,.77778],Ps=[-.01688,.48312,0,0,.77778],Hs=[.0391,.5391,0,0,1],mo=[0,.69444,0,0,.61111],Mo=[-.03472,.46528,0,0,.5],Vo=[.25,.75,0,0,.44445],Is=[-.14236,.35764,0,0,1],is=[.244,.744,0,0,.412],ws=[.19444,.69444,0,0,.88889],ms=[.12963,.69444,0,0,.77778],as=[.19444,.69444,0,0,.38889],ru=[.011,.511,0,0,1.638],iu=[.19444,.69444,0,0,0],De=[0,.44444,0,0,.575],_e=[.19444,.44444,0,0,.575],qe=[0,.68611,0,0,.75555],$t=[0,.69444,0,0,.66759],un=[0,.68611,0,0,.80555],qn=[0,.68611,.08229,0,.98229],jn=[0,.68611,0,0,.76666],Er=[0,.44444,0,0,.58472],Sr=[.19444,.44444,0,0,.6118],Wr=[.19444,.43056,0,0,.5],Fi=[0,.68333,.02778,.08334,.76278],Xr=[0,.68333,.08125,.05556,.83125],Qr=[0,.43056,0,.05556,.48472],vi=[.19444,.43056,0,.08334,.51702],Si=[.25,.75,0,0,.42778],mr=[0,.69444,0,0,.55],jr=[0,.69444,0,0,.73334],bi=[0,.69444,0,0,.79445],ca=[0,.69444,0,0,.51945],qi=[0,.69444,0,0,.70278],sa=[0,.69444,0,0,.76389],fa=[.25,.75,0,0,.34306],ia=[0,.69444,0,0,.56111],ea=[0,.69444,0,0,.25556],lo=[.19444,.45833,0,0,.56111],Ya=[0,.45833,0,0,.56111],ao=[0,.69444,0,0,.30556],ko=[0,.69444,0,0,.58056],Do=[0,.69444,0,0,.67223],zo=[0,.69444,0,0,.85556],el=[0,.69444,0,0,.55834],co=[0,.65556,.11156,0,.5],fo=[0,.69444,.08094,0,.70834],xo=[.17014,0,0,0,.44445],Go=[0,.69444,.0799,0,.5],rl=[0,.69444,0,0,.73752],Oo=[0,.69444,.09205,0,.5],Co=[0,.69444,.09031,0,.77778],bl=[0,.69444,.07816,0,.27778],Kl=[0,.69444,.00316,0,.5],Ve=[.19444,.69444,0,0,.83334],$e=[.05556,.75,0,0,.83334],Kt=[0,.75,0,0,.5],qt=[.125,.08333,0,0,.27778],vn=[0,.08333,0,0,.27778],mn=[0,.65556,0,0,.5],_n=[0,.69444,0,0,.47222],Kn=[0,.69444,0,0,.66667],Zn=[0,.69444,0,0,.59722],fr=[0,.69444,0,0,.54167],sr=[0,.69444,0,0,.70834],cr=[.25,.75,0,0,.28889],Gr=[0,.69444,0,0,.51667],Ur=[0,.44444,0,0,.44445],Jr=[.19444,.44444,0,0,.51667],xi=[0,.44444,0,0,.38333],pi=[0,.44444,0,0,.51667],Oi=[0,.69444,0,0,.83334],Ai=[.35001,.85,0,0,.45834],Ri=[.35001,.85,0,0,.57778],ya=[.35001,.85,0,0,.41667],Ea=[.35001,.85,0,0,.58334],aa=[0,.72222,0,0,.55556],ba=[1e-5,.6,0,0,.66667],Ka=[1e-5,.6,0,0,.77778],ji=[.25001,.75,0,0,.94445],ha=[.306,.805,.19445,0,.47222],Qi=[.30612,.805,.19445,0,.47222],Ei=[.25001,.75,0,0,.83334],Ni=[.35001,.85,0,0,.47222],xa=[.25001,.75,0,0,1.11111],Ja=[.65002,1.15,0,0,.59722],wa=[.65002,1.15,0,0,.81111],Li=[.65002,1.15,0,0,.47222],Fa=[.65002,1.15,0,0,.66667],Za=[0,.75,0,0,1],Ua=[.55001,1.05,0,0,1.27778],$a=[.862,1.36,.44445,0,.55556],Ho=[.86225,1.36,.44445,0,.55556],ro=[.55001,1.05,0,0,1.11111],Oa=[.65002,1.15,0,0,.52778],Uo=[.65002,1.15,0,0,.61111],Aa=[.55001,1.05,0,0,1.51112],Lo=[.95003,1.45,0,0,.73611],wo=[.95003,1.45,0,0,1.04445],tl=[.95003,1.45,0,0,.52778],Da=[.95003,1.45,0,0,.75],Ca=[0,.75,0,0,1.44445],Ma=[.95003,1.45,0,0,.58334],ma=[1.25003,1.75,0,0,.79167],na=[1.25003,1.75,0,0,1.27778],qr=[1.25003,1.75,0,0,.58334],Gi=[1.25003,1.75,0,0,.80556],za=[0,.825,0,0,1.8889],eo=[1.25003,1.75,0,0,.63889],Gl=[.64502,1.155,0,0,.875],El=[1e-5,.6,0,0,.875],Ls=[-99e-5,.601,0,0,.66667],hl=[.64502,1.155,0,0,.66667],pl=[1e-5,.9,0,0,.88889],Ba=[.65002,1.15,0,0,.88889],Il=[.90001,0,0,0,.88889],os=[-.00499,.605,0,0,1.05556],vo=[0,.12,0,0,.45],Di=[0,.61111,0,0,.525],Bo=[.08333,.69444,0,0,.525],Al=[-.08056,.53055,0,0,.525],Ml=[-.05556,.55556,0,0,.525],_a=[0,.43056,0,0,.525],No=[.22222,.43056,0,0,.525],Zl=[0,0,0,0,.525],To={"AMS-Regular":{32:rr,65:An,66:Xn,67:An,68:An,69:Xn,70:nr,71:Gt,72:Gt,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:Gt,76:Xn,77:[0,.68889,0,0,.94445],78:An,79:wr,80:nr,81:wr,82:An,83:kr,84:Xn,85:An,86:An,87:[0,.68889,0,0,1],88:An,89:An,90:Xn,107:kr,160:rr,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:kr,295:xr,710:Ar,732:li,770:Ar,771:li,989:$n,1008:ai,8245:[0,.54986,0,0,.275],8463:xr,8487:An,8498:kr,8502:Xn,8503:[0,.68889,0,0,.44445],8504:Xn,8513:[0,.68889,0,0,.63889],8592:Br,8594:Br,8602:ti,8603:ti,8606:Rn,8608:Rn,8610:tn,8611:tn,8619:zn,8620:zn,8621:[-.13313,.37788,0,0,1.38889],8622:ti,8624:er,8625:er,8630:zt,8631:zt,8634:bn,8635:bn,8638:kn,8639:kn,8642:kn,8643:kn,8644:Tt,8646:Tt,8647:Tt,8648:an,8649:Tt,8650:an,8651:Rn,8652:Rn,8653:ti,8654:ti,8655:ti,8666:sn,8667:sn,8669:[-.13313,.37788,0,0,1],8672:rn,8674:rn,8705:[0,.825,0,0,.5],8708:kr,8709:$n,8717:[0,.43056,0,0,.42917],8722:Br,8724:[.08198,.69224,0,0,.77778],8726:$n,8733:Ke,8736:Ft,8737:Ft,8738:[.03517,.52239,0,0,.72222],8739:Cr,8740:[.25142,.74111,0,0,.27778],8741:Nr,8742:[.25142,.74111,0,0,.5],8756:Ie,8757:Ie,8764:Xe,8765:[-.13313,.37788,0,0,.77778],8769:Xe,8770:Cs,8774:nn,8776:Ps,8778:$n,8782:He,8783:He,8785:bn,8786:bn,8787:bn,8790:Ke,8791:hn,8796:[.08198,.91667,0,0,.77778],8806:Bt,8807:Bt,8808:dt,8809:dt,8812:[.25583,.75583,0,0,.5],8814:on,8815:on,8816:nn,8817:nn,8818:hn,8819:hn,8822:Pn,8823:Pn,8828:Jn,8829:Jn,8830:hn,8831:hn,8832:on,8833:on,8840:nn,8841:nn,8842:In,8843:In,8847:Xt,8848:Xt,8858:bn,8859:bn,8861:bn,8862:wn,8863:wn,8864:wn,8865:wn,8872:[0,.69224,0,0,.61111],8873:Ft,8874:[0,.69224,0,0,.88889],8876:nr,8877:nr,8878:An,8879:An,8882:Xt,8883:Xt,8884:Jn,8885:Jn,8888:[0,.54986,0,0,1.11111],8890:uo,8891:pr,8892:pr,8901:[0,.54986,0,0,.27778],8903:$n,8905:$n,8906:$n,8907:Ke,8908:Ke,8909:[-.03598,.46402,0,0,.77778],8910:lr,8911:lr,8912:Xt,8913:Xt,8914:ar,8915:ar,8916:Ie,8918:dr,8919:dr,8920:Ir,8921:Ir,8922:tr,8923:tr,8926:Jn,8927:Jn,8928:nn,8929:nn,8934:Yr,8935:Yr,8936:Yr,8937:Yr,8938:on,8939:on,8940:nn,8941:nn,8994:_t,8995:_t,9416:[.15559,.69224,0,0,.90222],9484:er,9488:er,9492:xn,9496:xn,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:wn,9633:wn,9650:Dn,9651:Dn,9654:Xt,9660:Dn,9661:Dn,9664:Xt,9674:Bn,9733:[.19444,.69224,0,0,.94445],10003:Un,10016:Un,10731:Bn,10846:[.19444,.75583,0,0,.61111],10877:Jn,10878:Jn,10885:Bt,10886:Bt,10887:In,10888:In,10889:Vn,10890:Vn,10891:Nn,10892:Nn,10901:Jn,10902:Jn,10933:dt,10934:dt,10935:Vn,10936:Vn,10937:Vn,10938:Vn,10949:Bt,10950:Bt,10955:ir,10956:ir,57350:Cr,57351:Nr,57352:$n,57353:ai,57356:dt,57357:dt,57358:si,57359:nn,57360:nn,57361:si,57366:dt,57367:dt,57368:dt,57369:dt,57370:In,57371:In},"Caligraphic-Regular":{32:rr,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:rr},"Fraktur-Regular":{32:rr,33:[0,.69141,0,0,.29574],34:Vr,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:mi,41:mi,42:[0,.62119,0,0,.27764],43:br,44:Hr,45:br,46:Hr,47:[.24982,.74947,0,0,.50181],48:Lr,49:Lr,50:Lr,51:ni,52:ni,53:ni,54:$r,55:ni,56:$r,57:ni,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:Fr,93:Fr,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:rr,8216:Vr,8217:Vr,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:rr,33:[0,.69444,0,0,.35],34:Mr,35:[.19444,.69444,0,0,.95833],36:Kr,37:[.05556,.75,0,0,.95833],38:Ki,39:Pi,40:ei,41:ei,42:[0,.75,0,0,.575],43:gn,44:[.19444,.15556,0,0,.31944],45:xi,46:[0,.15556,0,0,.31944],47:or,48:_r,49:_r,50:_r,51:_r,52:_r,53:_r,54:_r,55:_r,56:_r,57:_r,58:Yn,59:[.19444,.44444,0,0,.31944],60:ki,61:va,62:ki,63:[0,.69444,0,0,.54305],64:Ki,65:Dr,66:[0,.68611,0,0,.81805],67:Wn,68:[0,.68611,0,0,.88194],69:qe,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:hi,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:fn,77:[0,.68611,0,0,1.09166],78:hi,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:Dr,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:ui,92:or,93:ui,94:Yt,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:gi,99:gt,100:gi,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:gi,105:Pi,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:Pi,109:[0,.44444,0,0,.95833],110:rt,111:De,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:rt,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:gt,123:or,124:ui,125:or,126:[.35,.34444,0,0,.575],160:rr,163:[0,.69444,0,0,.86853],168:Yt,172:[0,.44444,0,0,.76666],176:Pt,177:gn,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:gn,216:[.04861,.73472,0,0,.89444],223:Zn,230:[0,.44444,0,0,.83055],247:gn,248:[.09722,.54167,0,0,.575],305:Yn,338:[0,.68611,0,0,1.16944],339:ua,567:[.19444,.44444,0,0,.35139],710:Yt,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:Yt,715:Yt,728:Yt,729:Pi,730:Pt,732:Yt,733:Yt,915:fn,916:Tr,920:Qn,923:un,926:jn,928:hi,931:Wn,933:Qn,934:Wn,936:Qn,937:Wn,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:Pi,8217:Pi,8220:Mr,8221:Mr,8224:Ci,8225:Ci,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:$t,8465:ri,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:ri,8501:Xa,8592:ii,8593:Ii,8594:ii,8595:Ii,8596:ii,8597:or,8598:da,8599:da,8600:da,8601:da,8636:ii,8637:ii,8640:ii,8641:ii,8656:ii,8657:yr,8658:ii,8659:yr,8660:ii,8661:[.25,.75,0,0,.70277],8704:gi,8706:[0,.69444,.06389,0,.62847],8707:gi,8709:Kr,8711:Tr,8712:Zr,8715:Zr,8722:gn,8723:gn,8725:or,8726:or,8727:oo,8728:wi,8729:wi,8730:[.18,.82,0,0,.95833],8733:ua,8734:[0,.44444,0,0,1.14999],8736:Ft,8739:ui,8741:or,8743:la,8744:la,8745:la,8746:la,8747:[.19444,.69444,.12778,0,.56875],8764:va,8768:[.19444,.69444,0,0,.31944],8771:$i,8776:[.02444,.52444,0,0,.89444],8781:$i,8801:$i,8804:ga,8805:ga,8810:Wa,8811:Wa,8826:ki,8827:ki,8834:ki,8835:ki,8838:ga,8839:ga,8846:la,8849:ga,8850:ga,8851:la,8852:la,8853:gn,8854:gn,8855:gn,8856:gn,8857:gn,8866:Xa,8867:Xa,8868:Ki,8869:Ki,8900:wi,8901:[-.02639,.47361,0,0,.31944],8902:oo,8968:yo,8969:yo,8970:yo,8971:yo,8994:so,8995:so,9651:sl,9657:oo,9661:sl,9667:oo,9711:da,9824:ja,9825:ja,9826:ja,9827:ja,9837:[0,.75,0,0,.44722],9838:Va,9839:Va,10216:ei,10217:ei,10815:hi,10927:ga,10928:ga,57376:iu},"Main-BoldItalic":{32:rr,33:[0,.69444,.11417,0,.38611],34:Zi,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:ur,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:Gn,49:Gn,50:Gn,51:Gn,52:Hn,53:Gn,54:Gn,55:Hn,56:Gn,57:Gn,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:_i,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:Fn,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:Fn,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:Or,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:gr,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:gr,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:rr,168:[0,.69444,.11473,0,.59111],176:ci,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:Rr,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:Rr,567:[.19444,.44444,.04611,0,.385],710:Or,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:ur,730:ci,732:_i,733:_i,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:Fn,931:[0,.68611,.11431,0,.82666],933:Ji,934:[0,.68611,.05632,0,.82666],936:Ji,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:ur,8217:ur,8220:[0,.69444,.16772,0,.62055],8221:Zi},"Main-Italic":{32:rr,33:di,34:Bs,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:di,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:Vi,49:Vi,50:Vi,51:Vi,52:Hi,53:Vi,54:Vi,55:Hi,56:Vi,57:Vi,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:po,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:La,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:La,79:il,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:La,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:Ia,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:Yi,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:Yi,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:rr,168:[0,.66786,.10474,0,.51111],176:io,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:ra,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:ra,710:Ia,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:io,732:[0,.66786,.11585,0,.51111],733:po,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:il,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:La,931:[0,.68333,.12028,0,.71555],933:wl,934:[0,.68333,.05986,0,.71555],936:wl,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:di,8217:di,8220:[0,.69444,.1685,0,.51444],8221:Bs,8463:xr},"Main-Regular":{32:rr,33:ul,34:bo,35:Ve,36:Hl,37:$e,38:hs,39:ul,40:cl,41:cl,42:Kt,43:jo,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:_o,48:Jo,49:Jo,50:Jo,51:Jo,52:Jo,53:Jo,54:Jo,55:Jo,56:Jo,57:Jo,58:dl,59:[.19444,.43056,0,0,.27778],60:dr,61:Xe,62:dr,63:_n,64:hs,65:Bl,66:[0,.68333,0,0,.70834],67:_l,68:[0,.68333,0,0,.76389],69:Rs,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:Bl,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:ts,76:ps,77:[0,.68333,0,0,.91667],78:Bl,79:ts,80:Rs,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:_l,85:Bl,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:Bl,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:Io,92:_o,93:Io,94:bo,95:[.31,.12056,.02778,0,.5],97:zl,98:Rl,99:Us,100:Rl,101:Us,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:Rl,105:qo,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:ul,109:[0,.43056,0,0,.83334],110:no,111:zl,112:uo,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:no,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:Us,123:_o,124:Io,125:_o,126:[.35,.31786,0,0,.5],160:rr,163:[0,.69444,0,0,.76909],167:Vl,168:Jl,172:[0,.43056,0,0,.66667],176:jl,177:jo,182:Pl,184:xo,198:[0,.68333,0,0,.90278],215:jo,216:[.04861,.73194,0,0,.77778],223:bo,230:[0,.43056,0,0,.72222],247:jo,248:[.09722,.52778,0,0,.5],305:dl,338:[0,.68333,0,0,1.01389],339:eu,567:[.19444,.43056,0,0,.30556],710:bo,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:bo,715:bo,728:bo,729:qo,730:jl,732:Jl,733:bo,915:ps,916:ns,920:ts,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:Bl,931:_l,933:ts,934:_l,936:ts,937:_l,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:ul,8217:ul,8220:bo,8221:bo,8224:Vl,8225:Vl,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:xr,8465:fl,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:fl,8501:mo,8592:ti,8593:ml,8594:ti,8595:ml,8596:ti,8597:_o,8598:$o,8599:$o,8600:$o,8601:$o,8614:[.011,.511,0,0,1],8617:js,8618:js,8636:ti,8637:ti,8640:ti,8641:ti,8652:[.011,.671,0,0,1],8656:ti,8657:Pl,8658:ti,8659:Pl,8660:ti,8661:[.25,.75,0,0,.61111],8704:Rl,8706:[0,.69444,.05556,.08334,.5309],8707:Rl,8709:Hl,8711:ns,8712:zs,8715:zs,8722:jo,8723:jo,8725:_o,8726:_o,8727:Mo,8728:Sl,8729:Sl,8730:[.2,.8,0,0,.83334],8733:eu,8734:zt,8736:Ft,8739:Io,8741:_o,8743:rs,8744:rs,8745:rs,8746:rs,8747:[.19444,.69444,.11111,0,.41667],8764:Xe,8768:[.19444,.69444,0,0,.27778],8771:Cs,8773:[-.022,.589,0,0,1],8776:Ps,8781:Cs,8784:[-.133,.67,0,0,.778],8801:Cs,8804:In,8805:In,8810:Hs,8811:Hs,8826:dr,8827:dr,8834:dr,8835:dr,8838:In,8839:In,8846:rs,8849:In,8850:In,8851:rs,8852:rs,8853:jo,8854:jo,8855:jo,8856:jo,8857:jo,8866:mo,8867:mo,8868:hs,8869:hs,8872:[.249,.75,0,0,.867],8900:Sl,8901:[-.05555,.44445,0,0,.27778],8902:Mo,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:Vo,8969:Vo,8970:Vo,8971:Vo,8994:Is,8995:Is,9136:is,9137:is,9651:ws,9657:Mo,9661:ws,9667:Mo,9711:$o,9824:ms,9825:ms,9826:ms,9827:ms,9837:[0,.75,0,0,.38889],9838:as,9839:as,10216:cl,10217:cl,10222:is,10223:is,10229:[.011,.511,0,0,1.609],10230:ru,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:ru,10815:Bl,10927:In,10928:In,57376:iu},"Math-BoldItalic":{32:rr,48:De,49:De,50:De,51:_e,52:_e,53:_e,54:_r,55:_e,56:_r,57:_e,65:Dr,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:qn,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:qe,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:$t,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:Er,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:rr,915:[0,.68611,.15972,0,.65694],916:Tr,920:[0,.68611,.03194,0,.86722],923:un,926:[0,.68611,.07458,0,.84125],928:qn,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:jn,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:Er,960:[0,.44444,.03704,0,.68241],961:Sr,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:Sr,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:rr,48:zl,49:zl,50:zl,51:Wr,52:Wr,53:Wr,54:Jo,55:Wr,56:Jo,57:Wr,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:Xr,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:Fi,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:Qr,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:rr,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:Fi,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:Xr,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:Qr,960:[0,.43056,.03588,0,.57003],961:vi,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:vi,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:rr,33:[0,.69444,0,0,.36667],34:el,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:ao,40:Si,41:Si,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:mr,49:mr,50:mr,51:mr,52:mr,53:mr,54:mr,55:mr,56:mr,57:mr,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:ca,64:jr,65:jr,66:jr,67:qi,68:bi,69:[0,.69444,0,0,.64167],70:mo,71:jr,72:bi,73:[0,.69444,0,0,.33056],74:ca,75:sa,76:ko,77:[0,.69444,0,0,.97778],78:bi,79:bi,80:qi,81:[.10556,.69444,0,0,.79445],82:qi,83:mo,84:jr,85:sa,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:jr,89:[0,.69444,.0275,0,.73334],90:Do,91:fa,93:fa,94:mr,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:ia,99:[0,.45833,0,0,.48889],100:ia,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:ia,105:ea,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:ea,109:[0,.45833,0,0,.86667],110:Ya,111:[0,.45833,0,0,.55],112:lo,113:lo,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Ya,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:rr,168:mr,176:jr,180:mr,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:mr,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:mr,729:ao,730:jr,732:mr,733:mr,915:ko,916:[0,.69444,0,0,.91667],920:zo,923:Do,926:jr,928:bi,931:bi,933:zo,934:bi,936:zo,937:bi,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:ao,8217:ao,8220:el,8221:el},"SansSerif-Italic":{32:rr,33:[0,.69444,.05733,0,.31945],34:Kl,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:bl,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:qt,45:[0,.44444,.01946,0,.33333],46:vn,47:[.25,.75,.13164,0,.5],48:co,49:co,50:co,51:co,52:co,53:co,54:co,55:co,56:co,57:co,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:Kn,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:fo,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:fr,77:[0,.69444,.08094,0,.875],78:fo,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:Go,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:rr,168:[0,.67937,.06385,0,.5],176:rl,184:xo,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:Go,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:Oo,715:bo,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:rl,732:[0,.67659,.08826,0,.5],733:Oo,915:[0,.69444,.13372,0,.54167],916:Oi,920:[0,.69444,.07555,0,.77778],923:mo,926:[0,.69444,.12816,0,.66667],928:fo,931:[0,.69444,.11983,0,.72222],933:Co,934:[0,.69444,.04603,0,.72222],936:Co,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:bl,8217:bl,8220:[0,.69444,.14205,0,.5],8221:Kl},"SansSerif-Regular":{32:rr,33:[0,.69444,0,0,.31945],34:bo,35:Ve,36:Hl,37:$e,38:[0,.69444,0,0,.75834],39:ul,40:cl,41:cl,42:Kt,43:jo,44:qt,45:[0,.44444,0,0,.33333],46:vn,47:_o,48:mn,49:mn,50:mn,51:mn,52:mn,53:mn,54:mn,55:mn,56:mn,57:mn,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:_n,64:Kn,65:Kn,66:Kn,67:gi,68:[0,.69444,0,0,.72223],69:Zn,70:[0,.69444,0,0,.56945],71:Kn,72:sr,73:ul,74:_n,75:[0,.69444,0,0,.69445],76:fr,77:[0,.69444,0,0,.875],78:sr,79:[0,.69444,0,0,.73611],80:gi,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:Rl,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:Kn,89:[0,.69444,.025,0,.66667],90:mo,91:cr,93:cr,94:bo,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:Gr,99:Ur,100:Gr,101:Ur,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:Gr,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:pi,111:[0,.44444,0,0,.5],112:Jr,113:Jr,114:[0,.44444,.01389,0,.34167],115:xi,116:[0,.57143,0,0,.36111],117:pi,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:rr,168:[0,.67937,0,0,.5],176:Kn,184:xo,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:bo,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:bo,715:bo,728:bo,729:[0,.67937,0,0,.27778],730:Kn,732:[0,.67659,0,0,.5],733:bo,915:fr,916:Oi,920:hs,923:mo,926:Kn,928:sr,931:fl,933:hs,934:fl,936:hs,937:fl,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:ul,8217:ul,8220:bo,8221:bo},"Script-Regular":{32:rr,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:rr},"Size1-Regular":{32:rr,40:Ai,41:Ai,47:Ri,91:ya,92:Ri,93:ya,123:Ea,125:Ea,160:rr,710:aa,732:aa,770:aa,771:aa,8214:[-99e-5,.601,0,0,.77778],8593:ba,8595:ba,8657:Ka,8659:Ka,8719:ji,8720:ji,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:Qi,8748:ha,8749:ha,8750:Qi,8896:Ei,8897:Ei,8898:Ei,8899:Ei,8968:Ni,8969:Ni,8970:Ni,8971:Ni,9168:Ls,10216:Ni,10217:Ni,10752:xa,10753:xa,10754:xa,10756:Ei,10758:Ei},"Size2-Regular":{32:rr,40:Ja,41:Ja,47:wa,91:Li,92:wa,93:Li,123:Fa,125:Fa,160:rr,710:Za,732:Za,770:Za,771:Za,8719:Ua,8720:Ua,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:Ho,8748:$a,8749:$a,8750:Ho,8896:ro,8897:ro,8898:ro,8899:ro,8968:Oa,8969:Oa,8970:Oa,8971:Oa,10216:Uo,10217:Uo,10752:Aa,10753:Aa,10754:Aa,10756:ro,10758:ro},"Size3-Regular":{32:rr,40:Lo,41:Lo,47:wo,91:tl,92:wo,93:tl,123:Da,125:Da,160:rr,710:Ca,732:Ca,770:Ca,771:Ca,8730:[.95003,1.45,0,0,1],8968:Ma,8969:Ma,8970:Ma,8971:Ma,10216:Da,10217:Da},"Size4-Regular":{32:rr,40:ma,41:ma,47:na,91:qr,92:na,93:qr,123:Gi,125:Gi,160:rr,710:za,732:za,770:za,771:za,8730:[1.25003,1.75,0,0,1],8968:eo,8969:eo,8970:eo,8971:eo,9115:Gl,9116:El,9117:Gl,9118:Gl,9119:El,9120:Gl,9121:hl,9122:Ls,9123:hl,9124:hl,9125:Ls,9126:hl,9127:pl,9128:Ba,9129:Il,9130:[0,.3,0,0,.88889],9131:pl,9132:Ba,9133:Il,9143:[.88502,.915,0,0,1.05556],10216:Gi,10217:Gi,57344:os,57345:os,57680:vo,57681:vo,57682:vo,57683:vo},"Typewriter-Regular":{32:Zl,33:Di,34:Di,35:Di,36:Bo,37:Bo,38:Di,39:Di,40:Bo,41:Bo,42:[0,.52083,0,0,.525],43:Al,44:[.13889,.125,0,0,.525],45:Al,46:[0,.125,0,0,.525],47:Bo,48:Di,49:Di,50:Di,51:Di,52:Di,53:Di,54:Di,55:Di,56:Di,57:Di,58:_a,59:[.13889,.43056,0,0,.525],60:Ml,61:[-.19549,.41562,0,0,.525],62:Ml,63:Di,64:Di,65:Di,66:Di,67:Di,68:Di,69:Di,70:Di,71:Di,72:Di,73:Di,74:Di,75:Di,76:Di,77:Di,78:Di,79:Di,80:Di,81:[.13889,.61111,0,0,.525],82:Di,83:Di,84:Di,85:Di,86:Di,87:Di,88:Di,89:Di,90:Di,91:Bo,92:Bo,93:Bo,94:Di,95:[.09514,0,0,0,.525],96:Di,97:_a,98:Di,99:_a,100:Di,101:_a,102:Di,103:No,104:Di,105:Di,106:[.22222,.61111,0,0,.525],107:Di,108:Di,109:_a,110:_a,111:_a,112:No,113:No,114:_a,115:_a,116:[0,.55358,0,0,.525],117:_a,118:_a,119:_a,120:_a,121:No,122:_a,123:Bo,124:Bo,125:Bo,126:Di,127:Di,160:Zl,176:Di,184:[.19445,0,0,0,.525],305:_a,567:No,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:Di,715:Di,728:Di,730:Di,770:Di,771:Di,776:Di,915:Di,916:Di,920:Di,923:Di,926:Di,928:Di,931:Di,933:Di,934:Di,936:Di,937:Di,8216:Di,8217:Di,8242:Di,9251:[.11111,.21944,0,0,.525]}},Ta=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,al=10,nl=.25,au=1.2,ls=.431,Fs={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[ls,ls,ls],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:[nl,nl,nl],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]},us=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ol=5,xl={"\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 Ss(a,y){a===void 0&&(a=77);const b=To[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 xl)a=xl[E].codePointAt(0);else if(Ta.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 su={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]},Os={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]},uu={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 bu(a){if(Os[a]){const[Pe,je,At]=Os[a],en=`<span class="stretchy" style="height:${At}em"><svg width="100%" height="${At}em" viewBox="0 0 ${Pe} ${je}" preserveAspectRatio="none" ><path fill="currentcolor" d="${uu[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*At/2)/100}em;min-width:0">${en}</span>`}const[y,b,E,ee]=su[a];let ae,se;const ge=E/1e3;y.length===3?(ae=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],se=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(ae=["slice-1-of-2","slice-2-of-2"],se=["xMinYMin","xMaxYMin"]):(ae=["slice-1-of-1"],se=[ee]);const we=y.map((Pe,je)=>`<span class="${ae[je]}" style=height:${ge}em><svg width=400em height=${ge}em viewBox="0 0 400000 ${E}" preserveAspectRatio="${se[je]} slice"><path fill="currentcolor" d="${uu[Pe]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${ge}em;min-width:${b}em;">${we}</span>`}function fc(a){return su[a]?su[a][2]/1e3:Os[a][2]}function So(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 ee=a.charCodeAt(b+1);if(ee>=56320&&ee<=57343){const ae=E-55296,se=ee-56320;E=nc(2,16)+ae*nc(2,10)+se,b++}}y.push(E)}return y}var Ko=8205,Ul=[[Ko,1],[65038,2],[127995,5],[129456,4],[917536,96]],Yo,ql=[127462,127487];function $l(a){var y;if(Yo===void 0){Yo={};for(const b of Ul)for(let E=b[0];E<=b[0]+b[1]-1;E++)Yo[E]=!0}return(y=Yo[a])!=null?y:!1}function gs(a){return a>=ql[0]&&a<=ql[1]}function cu(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=So(a);let E=0;for(;E<b.length;){const ee=b[E++],ae=b[E];if(ae===Ko){const se=E-1;for(E+=2;b[E]===Ko;)E+=2;y.push(String.fromCodePoint(...b.slice(se,E-se+1)))}else if($l(ae)){const se=E-1;for(;$l(b[E]);)E+=b[E]===Ko?2:1;y.push(String.fromCodePoint(...b.slice(se,2*E-se-1)))}else gs(ee)?(E+=1,y.push(String.fromCodePoint(...b.slice(E-2,2)))):y.push(String.fromCodePoint(ee))}return y}var hc=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=cu(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 Iu(a,y){var b,E,ee,ae;const se=[];let ge=a.next();if(ge&&ge!=="\\relax"){if(ge==="\\noexpand")ge=a.next(),ge&&se.push(ge);else if(ge==="\\obeyspaces")a.obeyspaces=!0;else if(ge==="\\bgroup")se.push("<{>");else if(ge==="\\egroup")se.push("<}>");else if(ge==="\\string"){if(ge=a.next(),ge)if(ge.startsWith("\\"))for(const we of ge)se.push(we==="\\"?"\\backslash":we);else ge==="<{>"?se.push("\\{"):ge==="<space>"?se.push("~"):ge==="<}>"&&se.push("\\}")}else if(ge==="\\csname"){for(;a.peek()==="<space>";)a.next();let we="",Pe=!1,je=[];do{if(je.length===0)if(/^#[\d?@]$/.test(a.peek())){const At=a.get().slice(1);je=du((E=(b=y==null?void 0:y(At))!=null?b:y==null?void 0:y("?"))!=null?E:"\\placeholder{}",y),ge=je[0]}else ge=a.next(),je=ge?[ge]:[];Pe=je.length===0,!Pe&&ge==="\\endcsname"&&(Pe=!0,je.shift()),Pe||(Pe=ge==="<$>"||ge==="<$$>"||ge==="<{>"||ge==="<}>"||typeof ge=="string"&&ge.length>1&&ge.startsWith("\\")),Pe||(we+=je.shift())}while(!Pe);we&&se.push("\\"+we),se.push(...je)}else if(ge!=="\\endcsname")if(ge.length>1&&ge.startsWith("#")){const we=ge.slice(1);se.push(...du((ae=(ee=y==null?void 0:y(we))!=null?ee:y==null?void 0:y("?"))!=null?ae:"\\placeholder{}",y))}else se.push(ge)}return se}function du(a,y=null){const b=[];let E="";for(const se of a.toString().split(/\r?\n/)){E&&b.push(E),E=" ";const ge=se.match(/((?:\\%)|[^%])*/);ge!==null&&b.push(ge[0])}const ee=new hc(Ue(b.join(""))),ae=[];do ae.push(...Iu(ee,y));while(!ee.end());return ae}function Eo(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 Cl(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:Eo([a,...y.map(b=>`{${b}}`)])}function fu(a){return Eo(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var Lu=class Af{constructor(y){Af._registry[y]=this}static createAtom(y,b,E){return Af._registry[y].createAtom(b,tt(b,y),E)}static serialize(y,b){var E;if(!y||y.length===0)return"";if((E=b.skipStyles)!=null&&E){const ee=[];for(const ae of Lc(y)){const se=Af._registry[ae[0].mode];ee.push(...se.serialize(ae,b))}return Eo(ee)}return Eo(pc(y,b))}static getFont(y,b,E){return Af._registry[y].getFont(b,E)}};Lu._registry={};var vs=Lu;function Lc(a){const y=[];let b=[],E="NONE";for(const ee of a)ee.type!=="first"&&(ee.mode!==E?(b.length>0&&y.push(b),b=[ee],E=ee.mode):b.push(ee));return b.length>0&&y.push(b),y}function Yl(a,y){const b=[];let E=[],ee;for(const ae of a)if(ae.type!=="first"&&ae.style){let se;y==="variant"?(se=ae.style.variant,ae.style.variantStyle&&ae.style.variantStyle!=="up"&&(se+="-"+ae.style.variantStyle)):se=ae.style[y],se===ee?E.push(ae):(E.length>0&&b.push(E),E=[ae],ee=se)}return E.length>0&&b.push(E),b}function ic(a,y){var b;const{parent:E}=a[0],ee=E==null?void 0:E.computedStyle.color,ae=[];for(const se of Lc(a)){const ge=y.defaultMode;for(const we of Yl(se,"color")){const Pe=we[0].computedStyle,je=vs._registry[we[0].mode].serialize(we,Ee(ye({},y),{defaultMode:ge==="text"?"text":"math"}));!y.skipStyles&&Pe.color&&Pe.color!=="none"&&(!E||ee!==Pe.color)?ae.push(Cl("\\textcolor",(b=Pe.verbatimColor)!=null?b:Pe.color,Eo(je))):ae.push(Eo(je))}}return ae}function Fc(a,y){const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.backgroundColor;return Yl(a,"backgroundColor").map(ee=>{var ae;if(ee.length>0||ee[0].type!=="box"){const se=ee[0].computedStyle;if(se.backgroundColor&&se.backgroundColor!=="none"&&(!b||E!==se.backgroundColor))return Cl("\\colorbox",(ae=se.verbatimBackgroundColor)!=null?ae:se.backgroundColor,Eo(ic(ee,Ee(ye({},y),{defaultMode:"text"}))))}return Eo(ic(ee,y))})}function pc(a,y){if(a.length===0)return[];const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.fontSize,ee=[];for(const ae of Yl(a,"fontSize")){const se=ae[0].computedStyle.fontSize,ge=Fc(ae,y);ge&&(se&&se!=="auto"&&(!b||E!==se)?ee.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][se],...ge):ee.push(...ge))}return ee}function Gu(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 Uu(a){if(a.length===0)return"ord";const y=Gu(a[0].type),b=Gu(a[a.length-1].type);return y&&y===b?y:"ord"}function Mu(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 zi=class Ip{constructor(y,b){var E,ee,ae,se,ge;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:ke(y)?this.children=y.filter(Pe=>Pe!==null):y&&y instanceof Ip&&(this.children=[y]),this.children)for(const Pe of this.children)Pe.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=(ee=b==null?void 0:b.classes)!=null?ee:"",this.isTight=(ae=b==null?void 0:b.isTight)!=null?ae:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let we=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(we=(ge=vs.getFont((se=b.mode)!=null?se:"math",this,Ee(ye({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?ge:void 0),we||(we="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),Fu(this,we)}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 ee=Mu(b,E);ee.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=ee)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=Mu(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"]=Mu(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"]=Mu(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"]=Mu(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 ee=y.backgroundColor;this.isSelected&&(ee=It(ee)),ee&&ee!==b.backgroundColor&&(this.setStyle("background-color",ee),this.setStyle("display","inline-block"));const ae=y.scalingFactor;return this.scale=ae,this.skew*=ae,this.italic*=ae,this}toMarkup(){var y,b,E,ee;let ae=(y=this.value)!=null?y:"";if(this.children)for(const Mn of this.children)ae+=Mn.toMarkup();let se="";if(this.svgBody)se=bu(this.svgBody);else if(this.svgOverlay){se='<span style="',se+="display: inline-block;",se+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,se+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,se+='">',se+=ae,se+="</span>",se+='<svg style="position:absolute;overflow:visible;',se+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const Mn=(b=this.cssProperties)==null?void 0:b.padding;Mn?(se+=`top:${Mn};`,se+=`left:${Mn};`,se+=`width:calc(100% - 2 * ${Mn} );`):se+="top:0;left:0;width:100%;",se+="z-index:2;",se+='"',this.svgStyle&&(se+=this.svgStyle),se+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,se+=`>${this.svgOverlay}</svg>`}let ge="";const we=this.classes.split(" ");we.push((E={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?E:""),this.caret==="latex"&&we.push("ML__latex-caret"),this.isSelected&&we.push("ML__selected");const Pe=we.length===1?we[0]:we.filter((Mn,On,zr)=>Mn.length>0&&zr.indexOf(Mn)===On).join(" ");if(Pe.length>0&&(ge+=` class="${Pe}"`),this.id&&(ge+=` data-atom-id=${this.id}`),this.cssId&&(ge+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(ge+=" "+Object.keys(this.attributes).map(Mn=>`${Mn}="${this.attributes[Mn]}"`).join(" ")),this.htmlData){const Mn=this.htmlData.split(",");for(const On of Mn){const zr=On.match(/([^=]+)=(.+$)/);if(zr){const Wi=zr[1].trim().replace(/ /g,"-");Wi&&(ge+=` data-${Wi}="${zr[2]}" `)}else{const Wi=On.trim().replace(/ /g,"-");Wi&&(ge+=` data-${Wi} `)}}}const je=(ee=this.cssProperties)!=null?ee:{};this.hasExplicitWidth&&je.width===void 0&&(je.width=`${Math.ceil(this._width*100)/100}em`);const At=Object.keys(je).map(Mn=>`${Mn}:${je[Mn]}`);if(this.scale!==void 0&&this.scale!==1&&(ae.length>0||se.length>0)&&At.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const Mn=this.htmlStyle.split(";");let On="";for(const zr of Mn){const Wi=zr.match(/([^=]+):(.+$)/);if(Wi){const Pr=Wi[1].trim().replace(/ /g,"-");Pr&&(On+=`${Pr}:${Wi[2]};`)}}On&&(ge+=` style="${On}"`)}At.length>0&&(ge+=` style="${At.join(";")}"`);let en="";return ge.length>0||se.length>0?en=`<span${ge}>${ae}${se}</span>`:en=ae,this.caret==="text"?en+='<span class="ML__text-caret"></span>':this.caret==="math"&&(en+='<span class="ML__caret"></span>'),en}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 we of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&we in y.cssProperties||this.cssProperties&&we in this.cssProperties)return!1}const ee=this.cssProperties?Object.keys(this.cssProperties).length:0,ae=y.cssProperties?Object.keys(y.cssProperties).length:0;if(ee!==ae)return!1;if(ee>0){for(const we of Object.keys(this.cssProperties))if(this.cssProperties[we]!==y.cssProperties[we])return!1}const se=this.classes.trim().replace(/\s+/g," ").split(" "),ge=y.classes.trim().replace(/\s+/g," ").split(" ");if(se.length!==ge.length)return!1;se.sort(),ge.sort();for(const[we,Pe]of se.entries())if(Pe==="vertical-separator"||Pe!==ge[we])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 Oc(a){if(!a||a.length===0)return[];a[0].children=Oc(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=Oc(a[b].children),y.push(a[b]));return y}function Yu(a){return a.children&&(a.children=Oc(a.children)),a}function mc(a,y){if(!a)return new zi(null,y);const b=new zi(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const E=[b];if(a.depth!==0){const ee=new zi(null,{classes:"ML__strut--bottom",type:"ignore"});ee.setStyle("height",a.height+a.depth,"em"),ee.setStyle("vertical-align",-a.depth,"em"),E.push(ee)}return E.push(a),new zi(E,Ee(ye({},y),{type:"lift"}))}function ou(a){const y=fc(a)/2,b=new zi(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function Fu(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 ee=Ss(a.value.codePointAt(E),y);a.height=Math.max(a.height,ee.height),a.depth=Math.max(a.depth,ee.depth),a._width+=ee.width,a.skew=ee.skew,a.italic=ee.italic}return}if(a.children&&a.children.length>0){let E=-1/0,ee=-1/0,ae=0;for(const se of a.children)se.height>E&&(E=se.height),se.depth>ee&&(ee=se.depth),ae=Math.max(ae,(b=se.maxFontSize)!=null?b:0);a.height=E,a.depth=ee,a._width=a.children.reduce((se,ge)=>se+ge.width,0),a.maxFontSize=ae}}function Tu(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const E=[b],ee=-b.shift-b.box.depth;let ae=ee;for(let se=1;se<y.length;se++){const ge=y[se],we=-ge.shift-ae-ge.box.depth,Pe=we-(b.box.height+b.box.depth);ae=ae+we,E.push(Pe),E.push(ge),b=ge}return[E,ee]}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 Ru(a){var y;const[b,E]=Tu(a);if(!b)return[[],0,0];const ee=new zi(null,{classes:"pstrut"});let ae=0;for(const On of b)if(typeof On!="number"){const zr=On.box;ae=Math.max(ae,zr.maxFontSize,zr.height)}ae+=2,ee.height=ae,ee.setStyle("height",ae,"em");const se=[];let ge=E,we=E,Pe=E,je=0;for(const On of b){if(typeof On=="number")Pe+=On;else{const zr=On.box,Wi=(y=On.classes)!=null?y:[],Pr=new zi([ee,zr],{classes:Wi.join(" "),style:On.style});zr.setStyle("height",zr.height+zr.depth,"em"),zr.setStyle("display","inline-block"),Pr.setStyle("top",-ae-Pe-zr.depth,"em"),On.marginLeft&&Pr.setStyle("margin-left",On.marginLeft,"em"),On.marginRight&&Pr.setStyle("margin-right",On.marginRight,"em"),se.push(Pr),Pe+=zr.height+zr.depth,je=Math.max(je,Pr.width)}ge=Math.min(ge,Pe),we=Math.max(we,Pe)}se.forEach(On=>{On.softWidth=je});const At=new zi(se,{classes:"vlist"});if(At.softWidth=je,At.height=we,At.setStyle("height",we,"em"),ge>=0)return[[new zi(At,{classes:"vlist-r"})],we,-ge];const en=new zi(new zi(null),{classes:"vlist"});en.height=-ge,en.setStyle("height",-ge,"em");const Mn=new zi(8203,{classes:"vlist-s",maxFontSize:0});return Mn.softWidth=0,Mn.height=0,Mn.depth=0,[[new zi([At,Mn],{classes:"vlist-r"}),new zi(en,{classes:"vlist-r"})],we,-ge]}var gl=class extends zi{constructor(a,y){var b;const[E,ee,ae]=Ru(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=ee,this.depth=ae,this.softWidth=E.reduce((se,ge)=>Math.max(se,ge.width),0)}};function Uc(a,y){var b,E,ee,ae,se;const ge=a.metrics,we=new zi(y.base),Pe=(b=y.baseShift)!=null?b:0,je=(E=y.slant)!=null?E:0;let At=0,en=0;y.above&&(At=(ee=y.aboveShift)!=null?ee:Math.max(ge.bigOpSpacing1,ge.bigOpSpacing3-y.above.depth)),y.below&&(en=(ae=y.belowShift)!=null?ae:Math.max(ge.bigOpSpacing2,ge.bigOpSpacing4-y.below.height));let Mn=null;if(y.below&&y.above){const On=ge.bigOpSpacing5+y.below.height+y.below.depth+en+we.depth+Pe;Mn=new gl({bottom:On,children:[ge.bigOpSpacing5,{box:y.below,marginLeft:-je,classes:["ML__center"]},en,{box:we,classes:["ML__center"]},At,{box:y.above,marginLeft:je,classes:["ML__center"]},ge.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)Mn=new gl({top:we.height-Pe,children:[ge.bigOpSpacing5,{box:y.below,marginLeft:-je,classes:["ML__center"]},en,{box:we,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const On=we.depth+Pe;Mn=new gl({bottom:On,children:[{box:we,classes:["ML__center"]},At,{box:y.above,marginLeft:je,classes:["ML__center"]},ge.bigOpSpacing5]}).wrap(a)}else{const On=we.depth+Pe;Mn=new gl({bottom:On,children:[{box:we},ge.bigOpSpacing5]}).wrap(a)}return new zi(Mn,{type:(se=y.type)!=null?se:"op"})}var ac=7,hu=6,oc=5,xu=4,ku=3,Es=2,Vs=1,cs=0,Cu=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(Fs).reduce((ee,ae)=>Ee(ye({},ee),{[ae]:Fs[ae][E]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Zo[[cs,Vs,cs,Vs,Es,ku,Es,ku][this.id]]}get sub(){return Zo[[cs,cs,cs,cs,Es,Es,Es,Es][this.id]]}get fracNum(){return Zo[[cs,Vs,cs,Vs,Es,ku,xu,oc][this.id]]}get fracDen(){return Zo[[cs,cs,cs,cs,Es,Es,xu,xu][this.id]]}get cramp(){return Zo[[cs,cs,Es,Es,xu,xu,hu,hu][this.id]]}get isTight(){return this.sizeDelta<0}},Ao={7:new Cu(ac,0,!1),6:new Cu(hu,0,!0),5:new Cu(oc,0,!1),4:new Cu(xu,0,!0),3:new Cu(ku,-3,!1),2:new Cu(Es,-3,!0),1:new Cu(Vs,-4,!1),0:new Cu(cs,-4,!0)},Zo=Ee(ye({},Ao),{displaystyle:Ao[ac],textstyle:Ao[oc],scriptstyle:Ao[ku],scriptscriptstyle:Ao[Vs]});function As(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:al,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 ee=nc(10,y);return Math.round(a.dimension/al*E*ee)/ee}return a.dimension*E}function pu(a,y){if(a===null)return 0;const b=As(a)/al;if(Number.isFinite(y)){const E=nc(10,y);return Math.round(b*E)/E}return b}function mu(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function Nc(a){let y=mu(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${mu(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${mu(a.shrink)}`),y}function Ql(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=Nc(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 ee=Math.round(a.number)>>>0;a.base==="hexadecimal"?(E=Number(ee).toString(16).toUpperCase(),ee<=255?E=E.padStart(2,"0"):ee<=65535?E=E.padStart(4,"0"):ee<=16777215?E=E.padStart(6,"0"):E=E.padStart(8,"0"),E=`"${E}`):a.base==="octal"&&(E=Number(ee).toString(8),ee<=63?E=E.padStart(2,"0"):ee<=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 lu(a,y){return a==null?null:"number"in a?Ee(ye({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?Ee(ye({},a),{factor:a.factor*y}):Ee(ye({},a),{factor:y}):"dimension"in a?Ee(ye({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:lu(a.glue,y),shrink:lu(a.shrink,y),grow:lu(a.grow,y)}:a.shrink?{glue:lu(a.glue,y),shrink:lu(a.shrink,y)}:a.grow?{glue:lu(a.glue,y),grow:lu(a.grow,y)}:{glue:lu(a.glue,y)}:null}var Tc={"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 wu(){return ye({},Tc)}function Yc(){return{registers:wu(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:ft.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:mt,backgroundColorMap:Te,getMacro:a=>ln(a,cn())}}var Ro=class Lp{constructor(y,b){var E,ee,ae,se,ge,we,Pe,je,At,en,Mn,On,zr,Wi,Pr;let yi;y!=null&&y.parent?(this.parent=y.parent,yi=y.parent,this.registers={}):(yi=ye(ye({},Yc()),(E=y==null?void 0:y.from)!=null?E:{}),this.registers=yi.registers),yi.atomIdsSettings&&(this.atomIdsSettings=ye({},yi.atomIdsSettings)),this.renderPlaceholder=yi.renderPlaceholder,this.isPhantom=(se=(ae=y==null?void 0:y.isPhantom)!=null?ae:(ee=this.parent)==null?void 0:ee.isPhantom)!=null?se:!1,this.letterShapeStyle=yi.letterShapeStyle,this.minFontScale=yi.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(we=(ge=this.parent)==null?void 0:ge.color)!=null?we:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(je=(Pe=this.parent)==null?void 0:Pe.backgroundColor)!=null?je:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((At=this.parent)==null?void 0:At.size)?this.size=b.fontSize:this.size=(Mn=(en=this.parent)==null?void 0:en.size)!=null?Mn:ol;let Ui=(zr=(On=this.parent)==null?void 0:On.mathstyle)!=null?zr:Zo.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(yi instanceof Lp)switch(y.mathstyle){case"cramp":Ui=Ui.cramp;break;case"superscript":Ui=Ui.sup;break;case"subscript":Ui=Ui.sub;break;case"numerator":Ui=Ui.fracNum;break;case"denominator":Ui=Ui.fracDen;break}switch(y.mathstyle){case"textstyle":Ui=Zo.textstyle;break;case"displaystyle":Ui=Zo.displaystyle;break;case"scriptstyle":Ui=Zo.scriptstyle;break;case"scriptscriptstyle":Ui=Zo.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=Ui,this.smartFence=yi.smartFence,this.placeholderSymbol=yi.placeholderSymbol,this.colorMap=(Wi=yi.colorMap)!=null?Wi:Mi=>Mi,this.backgroundColorMap=(Pr=yi.backgroundColorMap)!=null?Pr:Mi=>Mi,this.getMacro=yi.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===ac||this.mathstyle.id===hu}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(us[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 pu(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 ee=b.getRegister(y.register);if(ee===void 0)return;if(typeof ee=="string")return{string:Number(ee).toString()+ee};if(typeof ee=="number")return{number:E*ee};const ae=b.evaluate(ee);if(ae!==void 0)return"string"in ae?{string:Number(ee).toString()+ae.string}:"number"in ae?{number:E*ae.number}:"dimension"in ae?Ee(ye({},ae),{dimension:E*ae.dimension}):"glue"in ae?Ee(ye({},ae),{glue:Ee(ye({},ae.glue),{dimension:E*ae.glue.dimension}),shrink:ae.shrink?Ee(ye({},ae.shrink),{dimension:E*ae.shrink.dimension}):void 0,grow:ae.grow?Ee(ye({},ae.grow),{dimension:E*ae.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:As(E,b)/al}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 ee=this.evaluate(y);return ee===void 0?null:"string"in ee?(E=(b=this.colorMap)==null?void 0:b.call(this,ee.string))!=null?E:ee.string:null}toBackgroundColor(y){var b,E;if(y===null)return null;const ee=this.evaluate(y);return ee===void 0?null:"string"in ee?(E=(b=this.backgroundColorMap)==null?void 0:b.call(this,ee.string))!=null?E:ee.string:null}},Qu=["body","above","below","superscript","subscript"];function Ys(a){return typeof a=="string"&&Qu.includes(a)}function gc(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var oi=class Vc{constructor(y){var b,E,ee,ae,se,ge;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=(ee=y.mode)!=null?ee:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=ye({},y.style),this.displayContainsHighlight=(ae=y.displayContainsHighlight)!=null?ae:!1,this.captureSelection=(se=y.captureSelection)!=null?se:!1,this.skipBoundary=(ge=y.skipBoundary)!=null?ge:!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 ee;if(!b)return null;const ae=rd(b),se=[];for(const we of ae){const Pe=we[0].style,je=id(y,we,{style:{color:Pe.color,backgroundColor:Pe.backgroundColor,fontSize:Pe.fontSize}});je&&se.push(je)}if(se.length===0)return null;const ge=((ee=E==null?void 0:E.classes)!=null?ee:"").trim();return se.length===1&&!ge&&!(E!=null&&E.type)?se[0].wrap(y):new zi(se,{classes:ge,type:E==null?void 0:E.type}).wrap(y)}static serialize(y,b){return vs.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const E=new WeakSet;let{parent:ee}=y;for(;ee;)E.add(ee),ee=ee.parent;for(ee=b.parent;ee;){if(E.has(ee))return ee;ee=ee.parent}console.assert(!!ee)}static fromJson(y){return typeof y=="string"?new Vc({type:"mord",value:y,mode:"math"}):new Vc(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=ye({},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=od(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=tt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?Eo([Cl(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?Eo([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return vs.serialize(this.body,Ee(ye({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return vs.serialize(this.above,y)}belowToLatex(y){return vs.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=Ee(ye({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const E=vs.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=vs.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(Ys(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of Qu)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(Ys(y)),Ys(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 gc(this.parentBranch)?this.parentBranch[0]:-1}get col(){return gc(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",ee=typeof this.style.verbatimBackgroundColor=="string",ae=ye(ye({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete ae.variant,delete ae.variantStyle,ee||delete ae.verbatimBackgroundColor,E||delete ae.verbatimColor,ae}applyStyle(y){this.isDirty=!0,this.style=ye(ye({},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(Ys(b)),!Ys(b)))return;console.assert(((E=y[0])==null?void 0:E.type)!=="first");const ee=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=ee:this._branches={[b]:ee};for(const ae of y)ae.parent=this,ae.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new Vc({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 ee of y)ee.parent=this,ee.parentBranch=b,E.push(ee);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 ee of y)ee.parent=this,ee.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(Ys(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 Qu)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=tt(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const E=new Ro({parent:y},this.style);let ee=this.createBox(E,{classes:this.parent?"":"ML__base"});return ee?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(ee=this.attachSupsub(E,{base:ee})),ee.wrap(E)):null}attachSupsub(y,b){var E;const ee=b.base,ae=this.superscript,se=this.subscript;if(!ae&&!se)return ee;let ge=null,we=null;const Pe=(E=b.isCharacterBox)!=null?E:this.isCharacterBox();let je=0;if(ae){const zr=new Ro({parent:y,mathstyle:"superscript"});ge=Vc.createBox(zr,ae),Pe||(je=ee.height-y.metrics.supDrop*zr.scalingFactor)}let At=0;if(se){const zr=new Ro({parent:y,mathstyle:"subscript"});we=Vc.createBox(zr,se),Pe||(At=ee.depth+y.metrics.subDrop*zr.scalingFactor)}let en;y.isDisplayStyle?en=y.metrics.sup1:y.isCramped?en=y.metrics.sup3:en=y.metrics.sup2;const Mn=.5/al/y.scalingFactor;let On=null;if(we&&ge){je=Math.max(je,en,ge.depth+.25*y.metrics.xHeight),At=Math.max(At,y.metrics.sub2);const zr=y.metrics.defaultRuleThickness;if(je-ge.depth-(we.height-At)<4*zr){At=4*zr-(je-ge.depth)+we.height;const Pr=.8*y.metrics.xHeight-(je-ge.depth);Pr>0&&(je+=Pr,At-=Pr)}const Wi=this.isExtensibleSymbol&&ee.italic?-ee.italic:0;On=new gl({individualShift:[{box:we,shift:At,marginLeft:Wi},{box:ge,shift:-je}]}).wrap(y)}else we&&!ge?(At=Math.max(At,y.metrics.sub1,we.height-.8*ls),On=new gl({shift:At,children:[{box:we,marginRight:Mn,marginLeft:this.isCharacterBox()?-ee.italic:0}]})):!we&&ge&&(je=Math.max(je,en,ge.depth+.25*ls),On=new gl({shift:-je,children:[{box:ge,marginRight:Mn}]}));return new zi([ee,new zi(On,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const E=this.superscript?Vc.createBox(new Ro({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,ee=this.subscript?Vc.createBox(new Ro({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!E&&!ee?b.base.wrap(y):Uc(y,Ee(ye({},b),{above:E,below:ee}))}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,ee,ae,se;const ge=(E=this.value)!=null?E:this.body,we=(ee=b==null?void 0:b.boxType)!=null?ee:Gu(this.type);let Pe=(ae=b==null?void 0:b.classes)!=null?ae:"";this.mode==="text"&&(Pe+=" ML__text");const je=typeof ge=="string"||ge===void 0?new zi(ge!=null?ge:null,{type:we,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:Ee(ye({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:Pe}):(se=Vc.createBox(y,ge,{type:we,classes:Pe}))!=null?se:new zi(null);return y.isTight&&(je.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(je.italic=0),je.right=je.italic,this.bind(y,je),this.caret&&!this.superscript&&!this.subscript&&(je.caret=this.caret),je}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 rd(a){let y;const b=[];let E=[];for(const ee of a)if(!y&&!ee.style)E.push(ee);else{const ae=ee.computedStyle;y&&ae.color===y.color&&ae.backgroundColor===y.backgroundColor&&ae.fontSize===y.fontSize?E.push(ee):(E.length>0&&b.push(E),E=[ee],y=ae)}return E.length>0&&b.push(E),b}function id(a,y,b){var E,ee,ae,se,ge;if(!y||y.length===0)return null;const we=new Ro({parent:a},b.style),Pe=!((E=we.atomIdsSettings)!=null&&E.groupNumbers);let je=[];if(y.length===1){const en=y[0],Mn=en.render(we);Mn&&(Pe&&en.isSelected&&Mn.selected(!0),je=[Mn])}else{let en="",Mn=!0;for(const On of y){(ee=we.atomIdsSettings)!=null&&ee.groupNumbers&&en&&(Mn&&On.isDigit()||!Mn&&ad(On))&&(we.atomIdsSettings.overrideID=en);const zr=On.render(we);we.atomIdsSettings&&(we.atomIdsSettings.overrideID=void 0),zr&&((ae=we.atomIdsSettings)!=null&&ae.groupNumbers&&((On.isDigit()||ad(On))&&(!en||Mn!==On.isDigit())&&(Mn=On.isDigit(),en=(se=On.id)!=null?se:""),en&&(!(On.isDigit()||ad(On))||!On.hasEmptyBranch("superscript")||!On.hasEmptyBranch("subscript"))&&(en="")),Pe&&On.isSelected&&zr.selected(!0),je.push(zr))}}if(je.length===0)return null;const At=new zi(je,Ee(ye({isTight:we.isTight},b),{type:(ge=b.type)!=null?ge:"lift"}));return At.isSelected=je.every(en=>en.isSelected),At.wrap(we)}function ad(a){return a.mode==="text"}function od(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof oi?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var zu=class Fp extends oi{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 Fp(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:dn("text",this.value.codePointAt(0))}};function vc(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let E=0;for(;E<b&&Gd(a.ranges[E],y.ranges[E])==="equal";)E++;return E===b?"equal":"different"}}return"different"}function Gd(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function Ks(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 Xu(a){return typeof a=="number"&&!Number.isNaN(a)}function Rc(a){return Array.isArray(a)&&a.length===2}function yc(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function ld(a,y){const b=a.at(y);let E;if(b){E=b.mode;let ee=b.parent;for(;!E&ⅇ)ee&&(E=ee.mode),ee=ee.parent}return E}function Sd(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,ee=!1,ae=!1,se=!1,ge=!1,we=!1,Pe=!1,je=!1,At=!1,en=!1,Mn=!1,On=!1,zr=!1,Wi=!1,Pr=a[0],yi=0;for(;Pr!=null&&Pr.type&&/^(subsup|placeholder)$/.test(Pr.type);)yi+=1,Pr=a[yi];return b=!Pr||Pr.type==="first",Pr&&(zr=Pr.mode==="text",E=!zr&&Pr.type==="mord"&&de.test(Pr.value),ee=!zr&&Pr.type==="mord"&&/\d+$/.test(Pr.value),ae=!zr&&Pr.isFunction,se=Pr.type==="genfrac",ge=Pr.type==="surd",we=Pr.type==="mbin",Pe=Pr.type==="mrel",je=Pr.type==="mop"||Pr.type==="operator"||Pr.type==="extensible-symbol",At=Pr.type==="mpunct"||Pr.type==="minner",en=Pr.type==="array",Mn=Pr.type==="mopen",On=Pr.type==="mclose"||Pr.type==="leftright",Wi=Pr.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&E||y.after.includes("digit")&&ee||y.after.includes("function")&&ae||y.after.includes("frac")&&se||y.after.includes("surd")&&ge||y.after.includes("binop")&&we||y.after.includes("relop")&&Pe||y.after.includes("operator")&&je||y.after.includes("punct")&&At||y.after.includes("array")&&en||y.after.includes("openfence")&&Mn||y.after.includes("closefence")&&On||y.after.includes("text")&&zr||y.after.includes("space")&&Wi?y.value:""}function sd(a,y,b){return b?Sd(a,b[y]):""}var Qo={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\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 Na(a,y){var b;let E=(b=y==null?void 0:y.format)!=null?b:"auto";return E==="auto"&&([E,a]=Hu(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",Ra(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function Ra(a,y){var b,E,ee;if(!a)return"";let ae=!1,se;const ge=(b=y.inlineShortcuts)!=null?b:Qo;if(!ae&&(a.startsWith("^")||a.startsWith("_"))&&(se=Po(a.slice(1),{inlineShortcuts:ge,noWrap:!0}),a=a[0]+"{"+se.match+"}",a+=Ra(se.rest,y),ae=!0),ae||(se=a.match(/^(sqrt|\u221A)(.*)/),se&&(se=Po(se[2],{inlineShortcuts:ge,noWrap:!0}),a="\\sqrt{"+((E=se.match)!=null?E:"\\placeholder{}")+"}",a+=Ra(se.rest,y),ae=!0)),ae||(se=a.match(/^(\\cbrt|\u221B)(.*)/),se&&(se=Po(se[2],{inlineShortcuts:ge,noWrap:!0}),a="\\sqrt[3]{"+((ee=se.match)!=null?ee:"\\placeholder{}")+"}",a+=Ra(se.rest,y),ae=!0)),ae||(se=a.match(/^abs(.*)/),se&&(se=Po(se[1],{inlineShortcuts:ge,noWrap:!0}),a="\\left|"+se.match+"\\right|",a+=Ra(se.rest,y),ae=!0)),ae||(se=a.match(/^["”“](.*?)["”“](.*)/),se&&(a="\\text{"+se[1]+"}",a+=Ra(se[2],y),ae=!0)),ae||(se=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),se&&(a=Wl(se[1],ge),a+=Ra(se[2],y),ae=!0)),!ae&&/^([fgh])[^a-zA-Z]/.test(a)&&(se=Po(a.slice(1),{inlineShortcuts:ge,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+se.match+"\\right)":a[0]+se.match,a+=Ra(se.rest,y),ae=!0),ae||(se=a.match(/^([a-zA-Z]+)(.*)/),se&&(a=Wl(se[1],ge),a+=Ra(se[2],y),ae=!0)),!ae)if(se=Po(a,{inlineShortcuts:ge,noWrap:!0}),se.match&&se.rest[0]==="/"){const we=Po(se.rest.slice(1),{inlineShortcuts:ge,noWrap:!0});we.match&&(a="\\frac{"+se.match+"}{"+we.match+"}"+Ra(we.rest,y)),ae=!0}else se.match&&(a=a.startsWith("(")?"\\left("+se.match+"\\right)"+Ra(se.rest,y):se.match+Ra(se.rest,y),ae=!0);return ae||(se=a.match(/^(\s+)(.*)$/),se&&(a=" "+Ra(se[2],y),ae=!0)),a}function Po(a,y){let b="";a=a.trim();let E=a,ee=a.charAt(0),ae={"(":")","{":"}","[":"]"}[ee];if(ae){let se=1,ge=1;for(;ge<a.length&&se>0;)a[ge]===ee&&se++,a[ge]===ae&&se--,ge++;se===0?(y.noWrap&&ee==="("?b=Ra(a.substring(1,ge-1),y):(ee==="{"&&ae==="}"&&(ee="\\{",ae="\\}"),b="\\left"+ee+Ra(a.substring(1,ge-1),y)+"\\right"+ae),E=a.slice(Math.max(0,ge))):(b=a.substring(1,ge),E="")}else{let se=a.match(/^([a-zA-Z]+)/);if(se){let ge=sd(null,a,y.inlineShortcuts);if(ge)return ge=ge.replace("_{#?}",""),ge=ge.replace("^{#?}",""),{match:ge,rest:a.slice(ge.length)}}if(se=a.match(/^([a-zA-Z])/),se)return{match:se[1],rest:a.slice(1)};if(se=a.match(/^(-)?\d+(\.\d*)?/),se)return{match:se[0],rest:a.slice(se[0].length)};/^\\(left|right)/.test(a)||(se=a.match(/^(\\[a-zA-Z]+)/),se&&(E=a.slice(se[1].length),b=se[1]))}return{match:b,rest:E}}function Wl(a,y){let b=sd(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var Ju=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Zs(a){const y=a.trim();for(const b of Ju)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 Hu(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Zs(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 Du="$$",zc="$$",lc=(a,y,b)=>(Ju.some(E=>y.startsWith(E[0])&&y.endsWith(E[1]))||(y=`${Du} ${y} ${zc}`),y),Su=class dh{constructor(y){dh._modes[y]=this}static onPaste(y,b,E){var ee;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof E=="string"){const se=new DataTransfer;se.setData("text/plain",E),E=se}const ae=new ClipboardEvent("paste",{clipboardData:E,cancelable:!0});return(ee=b.host)!=null&&ee.dispatchEvent(ae)?dh._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,ee=E.selectionIsCollapsed?[0,E.lastOffset]:Ks(E.selection),ae=E.getValue(ee,b);navigator.clipboard.writeText(ae).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 ee=y.model,ae=ee.selectionIsCollapsed?[0,ee.lastOffset]:Ks(ee.selection);let se=ee.getAtoms(ae);if(se.every(ge=>ge.mode==="text"||!ge.mode))b.clipboardData.setData("text/plain",se.filter(ge=>ge instanceof zu).map(ge=>ge.value).join(""));else if(se.every(ge=>ge.mode==="latex"))b.clipboardData.setData("text/plain",ee.getAtoms(ae,{includeChildren:!0}).map(ge=>{var we;return(we=ge.value)!=null?we:""}).join(""));else{let ge;se.length===1&&se[0].verbatimLatex!==void 0?ge=se[0].verbatimLatex:ge=ee.getValue(ae,"latex-expanded"),b.clipboardData.setData("application/x-latex",ge);try{b.clipboardData.setData("text/plain",y.options.onExport(y,ge,ae))}catch(we){}if(se.length===1){const we=se[0];(we.type==="root"||we.type==="group")&&(se=we.body.filter(Pe=>Pe.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(se.map(we=>we.toJson())))}catch(we){}if((E=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&E.ComputeEngine){const we=window.MathfieldElement.computeEngine;if(we)try{const Pe=we.jsonSerializationOptions;we.jsonSerializationOptions={metadata:["latex"]};const je=we.parse(ee.getValue(ae,"latex-unstyled"));we.jsonSerializationOptions=Pe;const At=JSON.stringify(je.json);At&&b.clipboardData.setData("application/json",At)}catch(Pe){}}}b.preventDefault()}static insert(y,b,E={}){var ee;const ae=E.mode==="auto"?y.mode:(ee=E.mode)!=null?ee:y.mode;return dh._modes[ae].insert(y,b,E)}onPaste(y,b){return!1}insert(y,b,E){return!1}};Su._modes={};var ho=Su,fh=[{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","^"]}],Ud={"\\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 Ku(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function Zu(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 bc(a){const y=Zu(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function Yd(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 Qd(a,y,b){if(!y)return null;const E=a.field.getBoundingClientRect(),ee=y.right-y.left,ae=y.bottom-y.top,se=Math.ceil(y.left-E.left+a.field.scrollLeft*b),ge=Math.ceil(y.top-E.top);return{left:se,right:se+ee,top:ge,bottom:ge+ae}}function Xd(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 ee of a.children)if(ee.nodeType===1&&"atomId"in ee.dataset&&!ee.classList.contains("pstrut")){const ae=Xd(ee);E.left=Math.min(E.left,ae.left),E.right=Math.max(E.right,ae.right),E.top=Math.min(E.top,ae.top),E.bottom=Math.max(E.bottom,ae.bottom)}return E}function Qc(a,y){var b,E;if(!y.id)return null;let ee=(E=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?E:null;if(ee!==null)return ee;const ae=a.field.querySelector(`[data-atom-id="${y.id}"]`);return ee=ae?Xd(ae):null,a.atomBoundsCache&&(ee?a.atomBoundsCache.set(y.id,ee):a.atomBoundsCache.delete(y.id)),ee!=null?ee:null}function Mf(a,y,b){const E=new Map;for(const ee of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&ee.style.backgroundColor)continue;const ae=a.field,se=ae.offsetWidth;let we=Math.floor(ae.getBoundingClientRect().width)/se;we=isNaN(we)?1:we;const Pe=Qd(a,Qc(a,ee),we);if(Pe){const je=Yd(ee);if(E.has(je)){const At=E.get(je);E.set(je,{left:Math.min(At.left,Pe.left),right:Math.max(At.right,Pe.right),top:Math.min(At.top,Pe.top),bottom:Math.max(At.bottom,Pe.bottom)})}else E.set(je,Pe)}}return[...E.values()]}function Jd(a,y){return a.model.selection.ranges.reduce((b,E)=>b.concat(...Mf(a,E,y)),[])}function qd(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function Ed(a){let y=0,b=0;const E=a.offsetWidth,ee=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,E,ee)}var kf=`@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;
|
|
|
}
|
|
|
`,kl=`.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);
|
|
|
}
|
|
|
`,Df=`#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);
|
|
|
}
|
|
|
`,hh=`/* 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;
|
|
|
}
|
|
|
`,Xc=`/* 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);*/
|
|
|
}
|
|
|
`,ph=`.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));
|
|
|
}
|
|
|
`,Ad=`: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;
|
|
|
}
|
|
|
`,Ll;function Hc(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=kl;break;case"mathfield":y=kf;break;case"environment-popover":y=Df;break;case"suggestion-popover":y=hh;break;case"keystroke-caption":y=Xc;break;case"virtual-keyboard":y=ph;break;case"ui":y=Ad;break;case"menu":y=mh;break;default:debugger}return y}function Jc(a){return Ll||(Ll={}),Ll[a]||(Ll[a]=new CSSStyleSheet,Ll[a].replaceSync(Hc(a))),Ll[a]}var sc;function Ou(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(Hc(a))),window.document.head.appendChild(b);return}if(sc||(sc={}),((y=sc[a])!=null?y:0)!==0)sc[a]+=1;else{const b=Jc(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],sc[a]=1}}function x(a){if("adoptedStyleSheets"in document&&sc!=null&&sc[a]&&(sc[a]-=1,sc[a]<=0)){const y=Ll[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var z=class Op extends oi{constructor(y){var b;super(Ee(ye({},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 Ee(ye({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const E=new Ro({parent:y,mathstyle:"cramp"},this.style),ee=(b=oi.createBox(E,this.body))!=null?b:new zi("\u25A2",{style:this.style});let ae=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(ae=ee.skew);let se=Math.min(ee.height,ls),ge;if(this.svgAccent)ge=ou(this.svgAccent),se=E.metrics.bigOpSpacing1-se;else if(this.accent){const Pe=new zi(this.accent,{fontFamily:"Main-Regular"});Pe.italic=0;const je=this.accent===8407?" ML__accent-vec":"";ge=new zi(new zi(Pe),{classes:"ML__accent-body"+je})}ge=new gl({shift:0,children:[{box:new zi(ee)},-se,{box:ge,marginLeft:ee.left+2*ae,classes:["ML__center"]}]});const we=new zi(ge,{type:"lift"});return this.caret&&(we.caret=this.caret),this.bind(E,we.wrap(E)),this.attachSupsub(E,{base:we})}},re={"(":")","{":"}","[":"]","|":"|","\\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"},te=Object.fromEntries(Object.entries(re).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 me(a,y,b,E){var ee;const se=new zi(oe(a),{fontFamily:"Main-Regular",isSelected:E.isSelected,classes:"ML__small-delim "+((ee=E.classes)!=null?ee:"")}).wrap(y);return b&&se.setTop((1-y.scalingFactor)*nl),se}function Be(a,y,b,E,ee){var ae,se;const ge=new Ro({parent:E,mathstyle:"textstyle"},ee==null?void 0:ee.style),we=new zi(oe(a),{fontFamily:`Size${y}-Regular`,isSelected:ee.isSelected,classes:((ae=ee.classes)!=null?ae:"")+` ML__delim-size${y}`,type:(se=ee.type)!=null?se:"ignore"}).wrap(ge);return b&&we.setTop((1-ge.scalingFactor)*nl),we}function Ye(a,y,b,E,ee){var ae;let se,ge,we,Pe;se=we=Pe=oe(a),ge=null;let je="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?we=se=Pe=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?we=se=Pe=8741:a==="\\uparrow"?we=Pe=9168:a==="\\Uparrow"?we=Pe=8214:a==="\\downarrow"?se=we=9168:a==="\\Downarrow"?se=we=8214:a==="\\updownarrow"?(se=8593,we=9168,Pe=8595):a==="\\Updownarrow"?(se=8657,we=8214,Pe=8659):a==="["||a==="\\lbrack"?(se=9121,we=9122,Pe=9123,je="Size4-Regular"):a==="]"||a==="\\rbrack"?(se=9124,we=9125,Pe=9126,je="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(we=se=9122,Pe=9123,je="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(se=9121,we=Pe=9122,je="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(we=se=9125,Pe=9126,je="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(se=9124,we=Pe=9125,je="Size4-Regular"):a==="("||a==="\\lparen"?(se=9115,we=9116,Pe=9117,je="Size4-Regular"):a===")"||a==="\\rparen"?(se=9118,we=9119,Pe=9120,je="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(se=9127,ge=9128,Pe=9129,we=9130,je="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(se=9131,ge=9132,Pe=9133,we=9130,je="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(se=9127,Pe=9129,we=9130,je="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(se=9131,Pe=9133,we=9130,je="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(se=9127,Pe=9133,we=9130,je="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(se=9131,Pe=9129,we=9130,je="Size4-Regular"):a==="\\surd"?(se=57345,Pe=9143,we=57344,je="Size4-Regular"):a==="\\ulcorner"?(se=9484,we=Pe=32):a==="\\urcorner"?(se=9488,we=Pe=32):a==="\\llcorner"?(Pe=9492,we=se=32):a==="\\lrcorner"&&(se=9496,we=se=32);const At=Ss(se,je),en=At.height+At.depth,Mn=Ss(we,je),On=Mn.height+Mn.depth,zr=Ss(Pe,je),Wi=zr.height+zr.depth;let Pr=0,yi=1;if(ge!==null){const qs=Ss(ge,je);Pr=qs.height+qs.depth,yi=2}const Ui=en+Wi+Pr,Mi=Math.max(0,Math.ceil((y-Ui)/(yi*On))),Pa=Ui+Mi*yi*On;let Ga=nl;b&&(Ga=Ga*E.scalingFactor);const Ha=Pa/2-Ga,Xo=.008,Dl=[];Dl.push({box:new zi(Pe,{fontFamily:je})}),Dl.push(-Xo);const ta=new zi(we,{fontFamily:je});if(ge===null)for(let qs=0;qs<Mi;qs++)Dl.push({box:ta});else{for(let qs=0;qs<Mi;qs++)Dl.push({box:ta});Dl.push(-Xo),Dl.push({box:new zi(ge,{fontFamily:je})}),Dl.push(-Xo);for(let qs=0;qs<Mi;qs++)Dl.push({box:ta})}Dl.push(-Xo),Dl.push({box:new zi(se,{fontFamily:je})});let ju="";je==="Size1-Regular"?ju=" delim-size1":je==="Size4-Regular"&&(ju=" delim-size4");const kc=new gl({bottom:Ha,children:Dl},{classes:ju});return new zi(kc,Ee(ye({},ee!=null?ee:{}),{classes:((ae=ee==null?void 0:ee.classes)!=null?ae:"")+" ML__delim-mult"}))}var lt=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),St=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),En=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Tn=[0,1.2,1.8,2.4,3];function vr(a,y,b,E){return a===void 0||a==="."?ka(b,E.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),lt.has(a)||En.has(a)?Be(a,y,!1,b,E):St.has(a)?Ye(a,Tn[y],!1,b,E):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var hr=[{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}],fi=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],Bi=[{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 Xi(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function pa(a,y,b,E){const ee={"-4":0,"-3":1,0:2}[E.mathstyle.sizeDelta];for(let ae=ee;ae<b.length&&b[ae].type!=="stack";ae++){const se=Ss(a,Xi(b[ae]));if(se.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let ge=se.height+se.depth;if(b[ae].type==="small"&&(b[ae].mathstyle==="scriptscriptstyle"?ge*=Math.max(us[Math.max(1,E.size-2)],E.minFontScale):b[ae].mathstyle==="scriptstyle"&&(ge*=Math.max(us[Math.max(1,E.size-1)],E.minFontScale))),ge>y)return b[ae]}return b[b.length-1]}function Sa(a,y,b,E,ee,ae){if(!y||y.length===0||y===".")return ka(ee);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let se;En.has(y)?se=hr:lt.has(y)?se=Bi:se=fi;const ge=pa(oe(y),b,se,ee),we=new Ro({parent:ee,mathstyle:ge.mathstyle},ae==null?void 0:ae.style);return ge.type==="small"?me(y,we,E,Ee(ye({},ae),{type:a})):ge.type==="large"?Be(y,ge.size,E,we,Ee(ye({},ae),{type:a})):(console.assert(ge.type==="stack"),Ye(y,b,E,we,Ee(ye({},ae),{type:a})))}function oa(a,y,b,E,ee,ae){if(y===".")return ka(ee,ae==null?void 0:ae.classes);const se=nl*ee.scalingFactor,ge=901,we=5/al,Pe=Math.max(b-se,E+se),je=Math.max(Pe/500*ge,2*Pe-we);return Sa(a,y,je,!0,ee,ae)}function ka(a,y){const b=new zi(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new Ro({parent:a,mathstyle:"textstyle"}))}var Qa=class Np extends oi{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 Np(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{}"}},qa=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],Fo=["cases","dcases","rcases"],Fl=["align","align*","aligned","gather","gathered","split"],Gs=["array","subequations","eqnarray"];function ds(a){return Gs.concat(Fl).concat(Fo).concat(qa).includes(a)}function gu(a){return qa.includes(a)}function vu(a){return Fo.includes(a)}function Ns(a){return Fl.includes(a)}function yu(a,y,b){let E=0;for(const Pe of b)"align"in Pe&&(E+=1);let ee=0;const ae=[];for(const Pe of y){let je=0;for(ee=Math.max(ee,Math.min(Pe.length,E));je<Pe.length;){const At=[],en=Math.min(Pe.length,je+E);for(;je<en;){const Mn=Pe[je];Mn.length===0?At.push([new oi({type:"first",mode:a.mode})]):Mn[0].type!=="first"?At.push([new oi({type:"first",mode:a.mode}),...Mn]):(console.assert(!Mn.slice(1).some(On=>On.type==="first")),At.push(Mn)),je+=1}ae.push(At)}}ae.length>0&&ae[ae.length-1].length===1&&ae[ae.length-1][0].length===1&&ae[ae.length-1][0][0].type==="first"&&ae.pop();const se=[];for(const Pe of ae){if(Pe.length!==ee)for(let je=Pe.length;je<ee;je++)Pe.push([new oi({type:"first",mode:a.mode}),new Qa]);se.push(Pe)}let ge=0,we=0;for(const Pe of se){we=0;for(const je of Pe){for(const At of je)At.parent=a,At.parentBranch=[ge,we];we+=1}ge+=1}return a.isDirty=!0,se}var go=class Tp extends oi{constructor(y,b,E,ee={}){var ae;super({type:"array"}),this.environmentName=y,this.rowGaps=E,ee.mathstyleName&&(this.mathstyleName=ee.mathstyleName),ee.columns&&(ee.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=ee.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=yu(this,b,this.colFormat),ee.leftDelim&&(this.leftDelim=ee.leftDelim),ee.rightDelim&&(this.rightDelim=ee.rightDelim),ee.arraycolsep!==void 0&&(this.arraycolsep=ee.arraycolsep),this.colSeparationType=ee.colSeparationType,ee.arraystretch!==void 0&&(this.arraystretch=ee.arraystretch),this.minColumns=(ae=ee.minColumns)!=null?ae:1}static fromJson(y){return new Tp(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=Ee(ye({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(E=>E.map(ee=>ee.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(gc(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return gc(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(Ys(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 ee of E)y.push(...ee.children),y.push(ee);return[...y,...super.children]}render(y){var b,E,ee,ae,se,ge;const we=new Ro({parent:y,mathstyle:this.mathstyleName},this.style),Pe=we.getRegisterAsEm("arrayrulewidth"),je=we.getRegisterAsEm("arraycolsep"),At=we.getRegisterAsEm("doublerulesep"),en=(E=(b=this.arraystretch)!=null?b:we.getRegisterAsNumber("arraystretch"))!=null?E:1;let Mn=typeof this.arraycolsep=="number"?this.arraycolsep:je;this.colSeparationType==="small"&&(Mn=.2778*(new Ro({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const On=en*au,zr=.7*On,Wi=.3*On;let Pr=0;const yi=[];let Ui=0;const Mi=this.array.length;for(let Nl=0;Nl<Mi;++Nl){const Ds=this.array[Nl];Ui=Math.max(Ui,Ds.length);const $s=new Ro({parent:we,mathstyle:this.mathstyleName},this.style);let Dc=zr/$s.scalingFactor,Bc=Wi/$s.scalingFactor;const Pc={cells:[],height:0,depth:0,pos:0};for(const dc of Ds){const i0=(ee=oi.createBox($s,dc,{type:"ignore"}))!=null?ee:new zi(null,{type:"ignore"});Bc=Math.max(Bc,i0.depth),Dc=Math.max(Dc,i0.height),Pc.cells.push(i0)}let Ic=(ae=pu(this.rowGaps[Nl]))!=null?ae:0;Ic>0&&(Ic+=Wi,Bc=Math.max(Bc,Ic),Ic=0),Nl<Mi-1&&!gu(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(Bc+=we.getRegisterAsEm("jot")),Pc.height=Dc,Pc.depth=Bc,Pr+=Dc,Pc.pos=Pr,Pr+=Bc+Ic,yi.push(Pc)}const Pa=Pr/2+nl,Ga=[];for(let Nl=0;Nl<Ui;Nl++){const Ds=[];for(const $s of yi){const Dc=$s.cells[Nl];Dc.depth=$s.depth,Dc.height=$s.height,Ds.push({box:Dc,shift:$s.pos-Pa})}Ds.length>0&&Ga.push(new gl({individualShift:Ds}))}const Ha=[];let Xo=!1,Dl=!1,ta=0,ju=!this.leftDelim;const{colFormat:kc}=this;for(const Nl of kc){if("align"in Nl&&ta>=Ga.length)break;if("align"in Nl)Xo?Ha.push(fs(2*Mn)):(Dl||ju)&&Ha.push(fs(Mn)),Ha.push(new zi(Ga[ta],{classes:"col-align-"+Nl.align})),ta++,Xo=!0,Dl=!1,ju=!1;else if("gap"in Nl){if(typeof Nl.gap=="number")Ha.push(fs(Nl.gap));else{const Ds=bs(y,yi,Pa,Nl.gap);Ds&&Ha.push(Ds)}Xo=!1,Dl=!1,ju=!1}else if("separator"in Nl){const Ds=new zi(null,{classes:"vertical-separator"});Ds.height=Pr,Ds.setStyle("height",Pr,"em"),Ds.setStyle("border-right",`${Pe}em ${Nl.separator} currentColor`),Ds.setStyle("vertical-align",-(Pr-Pa),"em");let $s=0;Dl?$s=At-Pe:Xo&&($s=Mn-Pe),Ds.left=$s,Ha.push(Ds),Xo=!1,Dl=!0,ju=!1}}Xo&&!this.rightDelim&&Ha.push(fs(Mn));const tc=new zi(Ha,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(tc.caret=this.caret),this.bind(y,tc);const qs=tc.height,Vu=tc.depth,Pu=this.bind(y,new zi([this.bind(y,oa("open",(se=this.leftDelim)!=null?se:".",qs,Vu,we,{isSelected:this.isSelected})),tc,this.bind(y,oa("close",(ge=this.rightDelim)!=null?ge:".",qs,Vu,we,{isSelected:this.isSelected}))],{type:"ord"}));return Pu?(Pu.setStyle("display","inline-block"),this.caret&&(Pu.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:Pu}))):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 ee of this.colFormat)"align"in ee&&typeof ee.align=="string"?E.push(ee.align):"separator"in ee&&ee.separator==="solid"?E.push("|"):"separator"in ee&&ee.separator==="dashed"&&E.push(":");E.push("}")}for(let ee=0;ee<this.array.length;ee++){for(let ae=0;ae<this.array[ee].length;ae++)ae>0&&E.push(" & "),E.push(oi.serialize(this.array[ee][ae],y));if(ee<this.array.length-1){const ae=this.rowGaps[ee];ae!=null&&ae.dimension?E.push(`\\\\[${ae.dimension} ${(b=ae.unit)!=null?b:"pt"}] `):E.push("\\\\ ")}}return this.environmentName==="lines"?E.push("}"):E.push(`\\end{${this.environmentName}}`),Eo(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 ae of this.array[y][b])ae.parent=void 0,ae.parentBranch=void 0;let ee=E;(E.length===0||E[0].type!=="first")&&(ee=[new oi({type:"first",mode:this.mode}),...E]),this.array[y][b]=ee;for(const ae of ee)ae.parent=this,ae.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(ys(this));this.array.splice(y,0,b);for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const ae=this.array[E][ee];if(ae)for(const se of ae)se.parentBranch=[E,ee]}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(ys(this));this.array.splice(y+1,0,b);for(let E=y+1;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const ae=this.array[E][ee];if(ae)for(const se of ae)se.parentBranch=[E,ee]}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 ee of E)if(ee)for(const ae of ee)ae.parent=void 0,ae.parentBranch=void 0;for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const ae=this.array[E][ee];if(ae)for(const se of ae)se.parentBranch=[E,ee]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,ys(this));for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const ae of ee)ae.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,ys(this));for(let b=0;b<this.rowCount;b++)for(let E=y+1;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const ae of ee)ae.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 ee of E)if(ee)for(const ae of ee)ae.parent=void 0,ae.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const ae of ee)ae.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(ee=>ee.type!=="first"));return y}};function ys(a){const y=new oi({type:"first",mode:a.mode});y.parent=a;const b=new Qa;return b.parent=a,[y,b]}function fs(a){const y=new zi(null,{classes:"arraycolsep"});return y.width=a,y}function bs(a,y,b,E){if(!E)return null;const ee=[];for(const ae of y){const se=oi.createBox(a,E,{type:"ignore"});se&&(se.depth=ae.depth,se.height=ae.height,ee.push({box:se,shift:ae.pos-b}))}return new gl({individualShift:ee}).wrap(a)}var Ms=class Rp extends oi{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 Rp(y)}toJson(){return Ee(ye({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,E,ee,ae;const se=oi.createBox(y,this.body,{type:"lift"});if(!se)return null;const ge=y.toEm((b=this.offset)!=null?b:{dimension:0});se.depth+=ge,se.setStyle("display","inline-block"),se.setStyle("position","relative"),se.setStyle("height",Math.floor(100*se.height+se.depth)/100,"em"),se.setStyle("vertical-align",-Math.floor(100*se.height)/100,"em");const we=new Ro({parent:y},this.style),Pe=we.toEm((E=this.padding)!=null?E:{register:"fboxsep"}),je=new zi(null,{classes:"ML__box"});je.height=se.height+Pe,je.depth=se.depth+Pe,je.setStyle("box-sizing","border-box"),je.setStyle("position","absolute"),je.setStyle("top",-Pe+.3,"em"),je.setStyle("left",0),je.setStyle("height",je.height+je.depth,"em"),je.setStyle("width","100%"),this.backgroundcolor&&je.setStyle("background-color",(ee=we.toColor(this.backgroundcolor))!=null?ee:"transparent"),this.framecolor&&je.setStyle("border",`${we.getRegisterAsEm("fboxrule",2)}em solid ${(ae=we.toColor(this.framecolor))!=null?ae:"black"}`),this.border&&je.setStyle("border",this.border);const At=new zi([je,se],{type:"lift"});return At.setStyle("display","inline-block"),At.setStyle("position","relative"),At.setStyle("line-height",0),At.height=se.height+Pe+(ge>0?ge:0),At.depth=se.depth+Pe+(ge<0?-ge:0),At.setStyle("padding-left",Pe,"em"),At.setStyle("padding-right",Pe,"em"),At.setStyle("height",Math.floor(100*(se.height+se.depth+2*Pe+Math.abs(ge)))/100,"em"),At.setStyle("margin-top",-Pe,"em"),At.setStyle("top",Math.floor(100*(se.depth-se.height+2*Pe-ge))/100,"em"),At.setStyle("vertical-align",Math.floor(100*(se.depth+2*Pe))/100,"em"),this.caret&&(At.caret=this.caret),this.attachSupsub(y,{base:At})}_serialize(y){return y.skipStyles?Eo([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},Kc=class zp extends oi{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 zp(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new zi(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},Eu=class Hp extends oi{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Hp(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},Qs=class Kp extends oi{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 Kp(y.body,y.mode,y.style)}render(y){const b=oi.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=tt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},vl=class Zp extends oi{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 ee=this.matchingRightDelim();return this.variant==="left...right"?Eo(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",ee]):this.variant==="mleft...mright"?Eo(["\\mleft",(E=this.leftDelim)!=null?E:".",this.bodyToLatex(y),"\\mright",ee]):Eo([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),ee])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const E=(y=this.leftDelim)!=null?y:".";return(b=re[E])!=null?b:E}render(y){var b,E;const ee=new Ro({parent:y},this.style);console.assert(this.body!==void 0);const ae=new Ro({parent:y,mathstyle:"textstyle"},this.style),se=(b=oi.createBox(ee,this.body,{type:"inner"}))!=null?b:new zi(null,{type:"inner"}),ge=se.height/ae.scalingFactor,we=se.depth/ae.scalingFactor,Pe=[];if(this.leftDelim&&Pe.push(this.bind(ae,oa("open",this.leftDelim,ge,we,ae,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),se&&(Ws(se.children,this,ee,ge,we),Pe.push(se)),this.rightDelim){let Mn=this.containsCaret?" ML__contains-caret":"",On=this.rightDelim;On==="?"&&(ee.smartFence?(On=this.matchingRightDelim(),Mn+=" ML__smart-fence__close"):On="."),Pe.push(this.bind(ae,oa("close",On,ge,we,ae,{isSelected:this.isSelected,classes:Mn+" ML__close",mode:this.mode,style:this.style})))}let je=this.variant==="mleft...mright";const At=this.leftSibling;At&&(!je&&At.isFunction&&(je=!0),!je&&At.type==="subsup"&&((E=At.leftSibling)!=null&&E.isFunction)&&(je=!0));const en=new zi(Pe,{type:je?"close":"inner",classes:"left-right"});return en.setStyle("margin-top",`${-se.depth}em`),en.setStyle("height",`${se.height+se.depth}em`),this.caret&&(en.caret=this.caret),this.bind(ee,en.wrap(ee))}};function Ws(a,y,b,E,ee){if(a)for(let ae=0;ae<a.length;ae++){const se=a[ae];se.type==="middle"?(a[ae]=y.bind(b,oa("inner",se.value,E,ee,b,{isSelected:y.isSelected})),a[ae].caret=se.caret,a[ae].isSelected=se.isSelected,a[ae].cssId=se.cssId,a[ae].htmlData=se.htmlData,a[ae].htmlStyle=se.htmlStyle,a[ae].attributes=se.attributes,a[ae].cssProperties=se.cssProperties):se.children&&Ws(se.children,y,b,E,ee)}}var Md=class Wp extends oi{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=oi.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},uc=class _p extends oi{constructor(){super({type:"macro-argument"})}static fromJson(y){return new _p}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},xc=class jp extends oi{constructor(y,b,E=!1,ee,ae){var se;super({type:"prompt",mode:(se=ae==null?void 0:ae.mode)!=null?se:"math",style:ae==null?void 0:ae.style,command:"\\placeholder"}),this.body=ee,this.correctness=b,this.placeholderId=y,this.locked=E,this.captureSelection=this.locked}static fromJson(y){return new jp(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 Ro({parent:y}),E=b.getRegisterAsEm("fboxsep"),ee=E,ae=E,se=oi.createBox(y,this.body);if(!se)return null;se.height||(se.height=b.metrics.xHeight),se.setStyle("vertical-align",-se.height,"em"),this.correctness==="correct"?se.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&se.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const ge=new zi(se,{type:"ord"});ge.setStyle("display","inline-block"),ge.setStyle("height",se.height+se.depth,"em"),ge.setStyle("vertical-align",-ae,"em");let we="ML__prompt ";this.locked?we+=" ML__lockedPromptBox ":we+=" ML__editablePromptBox ",this.correctness==="correct"?we+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(we+=" ML__incorrectPromptBox "),this.containsCaret&&(we+=" ML__focusedPromptBox ");const Pe=new zi(null,{classes:we,attributes:{part:"prompt"}});Pe.height=ge.height+ae,Pe.depth=ge.depth+ae,Pe.width=ge.width+2*ee,Pe.setStyle("box-sizing","border-box"),Pe.setStyle("position","absolute"),Pe.setStyle("height",ge.height+ge.depth+2*ae,"em"),ee===0&&Pe.setStyle("width","100%"),ee!==0&&(Pe.setStyle("width",`calc(100% + ${2*ee}em)`),Pe.setStyle("top",E,"em"),Pe.setStyle("left",-ee,"em")),(!this.body||this.body.length===1)&&(Pe.width=3*ee,Pe.setStyle("width",`calc(100% + ${3*ee}em)`),Pe.setStyle("left",-1.5*ee,"em"));let je="";this.correctness==="incorrect"&&(je+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),je&&(Pe.svgOverlay=je);const At=new zi([Pe,ge],{classes:"ML__prompt-atom"});return At.setStyle("position","relative"),At.setStyle("display","inline-block"),At.setStyle("line-height",0),At.height=ge.height+ae+.2,At.depth=ge.depth+ae,At.left=ee,At.right=ee,At.setStyle("height",ge.height+ae,"em"),At.setStyle("top",ge.depth-ge.height,"em"),At.setStyle("vertical-align",ge.depth+ae,"em"),At.setStyle("margin-left",.5,"em"),At.setStyle("margin-right",.5,"em"),this.caret&&(At.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:At}))}_serialize(y){var b;const E=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return E;let ee="\\placeholder";return this.placeholderId&&(ee+=`[${this.placeholderId}]`),this.correctness==="correct"?ee+="[correct]":this.correctness==="incorrect"&&(ee+="[incorrect]"),this.locked&&(ee+="[locked]"),Cl(ee,E)}},qu=class Vp extends oi{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new Vp(y);for(const E of Qu)y[E]&&b.setChildren(y[E],E);return b}render(y){var b;const E=new Ro({parent:y,isPhantom:!0}),ee=this.leftSibling,ae=(b=ee.render(E))!=null?b:new zi(null),se=new zi(null);return se.height=ae.height,se.depth=ae.depth,this.attachSupsub(y,{base:se,isCharacterBox:ee.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function Ts(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var Zc=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var E,ee,ae,se;b!=null||(b={}),this.tokens=a,this.context=y instanceof Ro&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new Ro({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:(ee=b.style)!=null?ee:{},parseMode:(ae=b.parseMode)!=null?ae:"math",mathstyle:(se=b.mathstyle)!=null?se:"displaystyle",tabular:!1}}beginContext(a){var y,b,E;const ee=this.parsingContext,ae={parent:ee,mathlist:[],style:ye({},ee.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:ee.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:ee.mathstyle,tabular:(E=a==null?void 0:a.tabular)!=null?E:!1};this.parsingContext=ae}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(ye({before:fu(this.tokens.slice(this.index,this.index+10)),after:fu(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 ye({},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 qu({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=tt(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?Xs(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new Qa({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 ae=this.get();Ts(ae)?(E+=ae,b=this.end()||E.length>=a.length):b=!0}const ee=a.toUpperCase()===E.toUpperCase();return ee||(this.index=y),ee}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(Ts(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,ee=this.peek();for(;ee==="<space>"||ee==="+"||ee==="-";)this.get(),ee==="-"&&(E=!E),ee=this.peek();a=!!a;let ae=10,se=/\d/;if(this.match("'"))ae=8,se=/[0-7]/,a=!0;else if(this.match('"'))ae=16,se=/[\dA-F]/,a=!0;else if(this.match("x"))ae=16,se=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return ee=this.get(),ee?ee.length===2&&ee.startsWith("\\")?{number:(E?-1:1)*((y=ee.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(E?-1:1)*((b=ee.codePointAt(0))!=null?b:0),base:"alpha"}:null;let ge="";for(;this.hasPattern(se);)ge+=this.get();if(!a&&(this.match(".")||this.match(",")))for(ge+=".";this.hasPattern(se);)ge+=this.get();const we=a?Number.parseInt(ge,ae):Number.parseFloat(ge);return Number.isNaN(we)?null:{number:E?-we:we,base:ae===16?"hexadecimal":ae===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 ae=this.peek();if(ae==="-")E=!E;else if(ae!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const ae=this.get();return ae.startsWith("\\")?b?{register:ae,global:!0,factor:(E?-1:1)*b.number}:E?{register:ae,global:!0,factor:-1}:{register:ae,global:!0}:(this.index=y,null)}let ee=this.get();return ee!=null&&ee.startsWith("\\")?(ee=ee.substring(1),this.context.registers[ee]?!E||b!==null?{register:ee,factor:(E?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:ee}:(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()||!Ts(this.peek()))return null;const ee=this.scanString();return ee.length>0?{string:ee}: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=Ze(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const ge of y.params)if(ge.isOptional)b.push(this.scanOptionalArgument(ge.type));else{const we=this.scanArgument(ge.type);we||this.onError({code:"missing-argument",arg:a}),b.push(we)}this.beginContext({tabular:y.tabular});const E=[],ee=[];let ae=[],se=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),se=!0),!se&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),se=!0),!se)if(this.matchColumnSeparator())ae.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){ae.push(this.mathlist),this.mathlist=[];let ge=null;this.skipWhitespace(),this.match("[")&&(ge=this.scanDimen(),this.skipWhitespace(),this.match("]")),ee.push(ge!=null?ge:{dimension:0}),E.push(ae),ae=[]}else this.mathlist.push(...this.scan(ge=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(ge)));while(!se);return ae.push(this.mathlist),ae.length>0&&E.push(ae),this.endContext(),y.createAtom(a,E,ee,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=se=>se==="<}>");let y="",b=null,E=[],ee=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=tt(y,"math"),b&&(E=this.scanArguments(b)[1]),ee=this.mathlist,this.mathlist=[]):this.parseExpression();let ae;return y?(console.assert(!!b),E.unshift(this.mathlist),ee&&E.unshift(ee),ae=[b.createAtom({command:y,args:E,style:this.style,mode:this.parseMode})]):ae=this.mathlist,this.endContext(),ae}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 Qs(y,this.parseMode,this.style);return b.verbatimLatex=fu(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 vl("",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(!Ts(a)&&!a.startsWith("\\"))return null;this.next();const y=tt(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 Eu("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new Eu("\\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 Eu(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const E=this.mathlist;this.endContext();const ee=(a=this.scanDelim())!=null?a:".";return new vl(y==="\\right"?"left...right":"mleft...mright",E,{leftDelim:b,rightDelim:ee,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 oi({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new oi({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(st(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 ee=a.params[E];ee.type==="rest"?b.push(this.scan(ae=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(ae))):ee.isOptional?b.push(this.scanOptionalArgument(ee.type)):ee.type.endsWith("*")?y=ee.type.slice(0,-1):b.push(this.scanArgument(ee.type)),E+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(Ts(a)){const b=vs.createAtom(this.parseMode,a,ye({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=tt(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new Eu(a)];if(b.definitionType==="symbol"){const E=ye({},this.style);b.variant&&(E.variant=b.variant),y=new oi({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 Eu(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 ee=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ee}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const ee=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ee}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 ee=this.mathlist;return this.endContext(),{group:ee}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}let E=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}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 ee of E){const ae=ee.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(ae)b.padding={dimension:parseInt(ae[1]),unit:ae[2]};else{const se=ee.match(/^\s*border\s*:\s*(.*)/);se?b.border=se[1]:b.backgroundcolor={string:ee}}}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 ge=this.scanOptionalArgument("string"),we=this.scanOptionalArgument("math"),Pe=oi.serialize(we,{defaultMode:"math"});let je=[],At;!At&&Pe==="correct"?At="correct":!At&&Pe==="incorrect"?At="incorrect":Pe!==""&&(je=we);const en=this.scanOptionalArgument("string")==="locked",Mn=this.scanArgument("auto");let On;return Mn&&Array.isArray(Mn)&&Mn.length>0?On=Mn:Mn&&typeof Mn=="object"&&"group"in Mn?On=Mn.group:On=je,ge?[new xc(ge,At,en,On!=null?On:je,{mode:this.parseMode,style:this.style})]:[new Qa({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const ge=this.index,we=this.scanLiteralGroup()||this.next();if(!we)return null;if(this.context.registers[we.substring(1)]){const Pe=this.scanArgument("string");Pe!==null&&(this.context.registers[we.substring(1)]=Pe);const je=Eo([a,fu(this.tokens.slice(ge,this.index))]);return[new oi({type:"text",value:"",verbatimLatex:je})]}}let ee=this.scanMacro(a);if(ee)return[ee];const ae=tt(a,this.parseMode);if(!ae)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(ge=>new oi({type:"text",value:ge,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new Eu(a)]);const se=this.index;if(ae.definitionType==="symbol"){const ge=ye({},this.style);ae.variant&&(ge.variant=ae.variant),ee=new oi({type:ae.type,command:a,style:ge,value:String.fromCodePoint(ae.codepoint),mode:this.parseMode})}else{if(ae.ifMode&&!ae.ifMode.includes(this.parseMode))return[];const ge=this.parseMode;ae.applyMode&&(this.parseMode=ae.applyMode);let we,Pe=[];if(ae.parse?Pe=ae.parse(this):[we,Pe]=this.scanArguments(ae),this.parseMode=ge,ae.applyMode&&!ae.applyStyle&&!ae.createAtom)return st(Pe[0]);if(ae.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof ae.createAtom=="function")ee=ae.createAtom({command:a,args:Pe,style:this.style,mode:this.parseMode}),we&&(ee.body=st(this.scanArgument(we)));else if(typeof ae.applyStyle=="function"){const je=ye(ye({},this.style),ae.applyStyle(a,Pe,this.context)),At=this.parseMode;if(ae.applyMode&&(this.parseMode=ae.applyMode),we){const en=this.style;this.style=je;const Mn=this.scanArgument(we);return this.style=en,this.parseMode=At,st(Mn)}this.style=je}else ee=new oi({type:"mord",command:(b=ae.command)!=null?b:a,style:ye({},this.style),value:a,mode:(E=ae.applyMode)!=null?E:this.parseMode})}if(!ee)return null;if(ee instanceof oi&&ee.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const ge=Eo([a,fu(this.tokens.slice(se,this.index))]);ge&&(ee.verbatimLatex=ge)}if(ee.verbatimLatex===null&&(ee.verbatimLatex=void 0),ee.isFunction&&this.smartFence){const ge=this.scanSmartFence();if(ge)return[ee,ge]}return[ee]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(Ts(a)){const y=vs.createAtom(this.parseMode,a,ye({},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 zu(" "," ",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,ee=b.args,ae={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let se=1;se<=ee;se++){let ge=this.scanLiteralGroup();if(!ge){const we=this.index;this.scanExpression(),ge=fu(this.tokens.slice(we,this.index))}ae[se]=ge}return new Md(a,{expand:b.expand,captureSelection:b.captureSelection,args:E===this.index?null:fu(this.tokens.slice(E,this.index)),style:this.parsingContext.style,body:Xs(b.def,{context:this.context,parseMode:this.parseMode,args:se=>ae[se],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,E;let ee=(E=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?E:this.scanLeftRight();if(ee===null){if(this.parseSupSub()||this.parseLimits())return!0;ee=this.scanSymbolCommandOrLiteral()}return ee?(Array.isArray(ee)?this.mathlist.push(...ee):this.mathlist.push(ee),!0):!1}};function Xs(a,y){var b,E,ee,ae;const se=(b=y==null?void 0:y.args)!=null?b:void 0,ge=new Zc(du(a,se),y==null?void 0:y.context,{args:se,mathstyle:(E=y==null?void 0:y.mathstyle)!=null?E:"displaystyle",parseMode:(ee=y==null?void 0:y.parseMode)!=null?ee:"math",style:(ae=y==null?void 0:y.style)!=null?ae:{}}),we=[];for(;!ge.end();)we.push(...ge.scan(()=>!1));return we}function a0(a,y){var b;const E=new Zc(du(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 Gp extends oi{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const E=ss.go(Ti.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=Xs(E),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new Gp(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return Ee(ye({},super.toJson()),{arg:this.arg})}render(y){const b=oi.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}};kt(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new o0(a.command,(y=a.args[0])!=null?y:"")}});var Ti={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 ee,ae=10,se=[];;){ee!==a?(ae=10,ee=a):ae--;var ge=Ti.stateMachines[y],we=ge.transitions[b]||ge.transitions["*"];e:for(var Pe=0;Pe<we.length;Pe++){var je=Ti.patterns.match_(we[Pe].pattern,a);if(je){for(var At=we[Pe].task,en=0;en<At.action_.length;en++){var Mn;if(ge.actions[At.action_[en].type_])Mn=ge.actions[At.action_[en].type_](E,je.match_,At.action_[en].option);else if(Ti.actions[At.action_[en].type_])Mn=Ti.actions[At.action_[en].type_](E,je.match_,At.action_[en].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+At.action_[en].type_+")"];Ti.concatArray(se,Mn)}if(b=At.nextState||b,a.length>0){if(At.revisit||(a=je.remainder),!At.toContinue)break e}else return se}}if(ae<=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=Ti.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 Ti.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return Ti.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return Ti.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return Ti.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return Ti.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return Ti.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return Ti.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return Ti.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return Ti.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return Ti.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return Ti.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return Ti.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return Ti.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 Ti.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return Ti.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return Ti.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return Ti.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 Ti.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return Ti.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return Ti.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return Ti.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return Ti.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return Ti.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return Ti.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return Ti.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=Ti.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,ee,ae,se,ge,we,Pe){var je=function(Pr,yi){if(typeof yi=="string")return Pr.indexOf(yi)!==0?null:yi;var Ui=Pr.match(yi);return Ui?Ui[0]:null},At=function(Pr,yi,Ui){for(var Mi=0;yi<Pr.length;){var Pa=Pr.charAt(yi),Ga=je(Pr.substr(yi),Ui);if(Ga!==null&&Mi===0)return{endMatchBegin:yi,endMatchEnd:yi+Ga.length};if(Pa==="{")Mi++;else if(Pa==="}"){if(Mi===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];Mi--}yi++}return Mi>0,null},en=je(a,y);if(en===null||(a=a.substr(en.length),en=je(a,b),en===null))return null;var Mn=At(a,en.length,E||ee);if(Mn===null)return null;var On=a.substring(0,E?Mn.endMatchEnd:Mn.endMatchBegin);if(ae||se){var zr=this.findObserveGroups(a.substr(Mn.endMatchEnd),ae,se,ge,we);if(zr===null)return null;var Wi=[On,zr.match_];return{match_:Pe?Wi.join(""):Wi,remainder:zr.remainder}}else return{match_:On,remainder:a.substr(Mn.endMatchEnd)}},match_:function(a,y){var b=Ti.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return Ti.patterns.patterns[a](y);var E=y.match(b);if(E){var ee;return E[2]?ee=[E[1],E[2]]:E[1]?ee=E[1]:ee=E[0],{match_:ee,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 Ti.go(y,"text")},"{text}":function(a,y){var b=["{"];return Ti.concatArray(b,Ti.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return Ti.go(y,"tex-math")},"tex-math tight":function(a,y){return Ti.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 Ti.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 Ti.go(y,"9,9")}},createTransitions:function(a){var y,b,E,ee,ae={};for(y in a)for(b in a[y])for(E=b.split("|"),a[y][b].stateArray=E,ee=0;ee<E.length;ee++)ae[E[ee]]=[];for(y in a)for(b in a[y])for(E=a[y][b].stateArray||[],ee=0;ee<E.length;ee++){var se=a[y][b];if(se.action_){se.action_=[].concat(se.action_);for(var ge=0;ge<se.action_.length;ge++)typeof se.action_[ge]=="string"&&(se.action_[ge]={type_:se.action_[ge]})}else se.action_=[];for(var we=y.split("|"),Pe=0;Pe<we.length;Pe++)if(E[ee]==="*")for(var je in ae)ae[je].push({pattern:we[Pe],task:se});else ae[E[ee]].push({pattern:we[Pe],task:se})}return ae},stateMachines:{}};Ti.stateMachines={ce:{transitions:Ti.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 Ti.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 Ti.concatArray(b,this.output(a)),Ti.concatArray(b,Ti.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var E=Ti.patterns.match_("orbital",a.o||""),ee=Ti.patterns.match_("one lowercase greek letter $",a.o||""),ae=Ti.patterns.match_("one lowercase latin letter $",a.o||""),se=Ti.patterns.match_("$one lowercase latin letter$ $",a.o||""),ge=y==="-"&&(E&&E.remainder===""||ee||ae||se);ge&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!E&&ae&&(a.o="$"+a.o+"$");var we=[];return ge?(Ti.concatArray(we,this.output(a)),we.push({type_:"hyphen"})):(E=Ti.patterns.match_("digits",a.d||""),b&&E&&E.remainder===""?(Ti.concatArray(we,Ti.actions["d="](a,y)),Ti.concatArray(we,this.output(a))):(Ti.concatArray(we,this.output(a)),Ti.concatArray(we,Ti.actions.bond(a,y,"-")))),we},"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:Ti.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"&&Ti.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:Ti.go(a.a,"a"),b:Ti.go(a.b,"bd"),p:Ti.go(a.p,"pq"),o:Ti.go(a.o,"o"),q:Ti.go(a.q,"pq"),d:Ti.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var ee;a.rdt==="M"?ee=Ti.go(a.rd,"tex-math"):a.rdt==="T"?ee=[{type_:"text",p1:a.rd||""}]:ee=Ti.go(a.rd);var ae;a.rqt==="M"?ae=Ti.go(a.rq,"tex-math"):a.rqt==="T"?ae=[{type_:"text",p1:a.rq||""}]:ae=Ti.go(a.rq),E={type_:"arrow",r:a.r,rd:ee,rq:ae}}for(var se in a)se!=="parenthesisLevel"&&se!=="beginsWithBond"&&delete a[se];return E},"oxidation-output":function(a,y){var b=["{"];return Ti.concatArray(b,Ti.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:Ti.go(y[0]),p2:Ti.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:Ti.go(y[0]),p2:Ti.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:Ti.go(y[0]),p2:Ti.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:Ti.go(y[0]),p2:Ti.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Ti.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:Ti.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:Ti.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:Ti.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:Ti.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:Ti.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Ti.go(y[1],"pq")}}}},bd:{transitions:Ti.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:Ti.go(y[1],"bd")}}}},oxidation:{transitions:Ti.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:Ti.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:Ti.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:Ti.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:Ti.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]&&(Ti.concatArray(b,Ti.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?Ti.concatArray(b,Ti.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]),Ti.concatArray(b,Ti.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=Ti.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var E=Ti.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 ee={d:Ti.go(a.d,"pu"),q:Ti.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:ee.d,p2:ee.q}:(y=ee.d,ee.d.length>1||ee.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),Ti.concatArray(y,ee.q))}else y=Ti.go(a.d,"pu-2");for(var ae in a)delete a[ae];return y}}},"pu-2":{transitions:Ti.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=Ti.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=Ti.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var E in a)delete a[E];return y}}},"pu-9,9":{transitions:Ti.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 ee in a)delete a[ee];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 ee in a)delete a[ee];return y}}}};var ss={go:function(a,y){if(!a)return"";for(var b="",E=!1,ee=0;ee<a.length;ee++){var ae=a[ee];typeof ae=="string"?b+=ae:(b+=ss._go2(ae),ae.type_==="1st-level escape"&&(E=!0))}return!y&&!E&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&ss.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:ss._goInner(a.a),b:ss._goInner(a.b),p:ss._goInner(a.p),o:ss._goInner(a.o),q:ss._goInner(a.q),d:ss._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 "+ss._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+ss._goInner(a.p1);break;case"bond":if(y=ss._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 ee="\\frac{"+ss._goInner(a.p1)+"}{"+ss._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+ee+"}{"+ee+"}{"+ee+"}{"+ee+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+ss._goInner(a.p1)+"}{"+ss._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+ss._goInner(a.p1)+"}{"+ss._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+ss._goInner(a.p1)+"}{"+ss._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+ss._goInner(a.p1)+"}_{"+ss._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+ss._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var ae={rd:ss._goInner(a.rd),rq:ss._goInner(a.rq)},se=ss._getArrow(a.r);ae.rd||ae.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(se="\\long"+se,ae.rd&&(se="\\overset{"+ae.rd+"}{"+se+"}"),ae.rq&&(a.r==="<-->"?se="\\underset{\\lower2mu{"+ae.rq+"}}{"+se+"}":se="\\underset{\\lower6mu{"+ae.rq+"}}{"+se+"}"),se=" {}\\mathrel{"+se+"}{} "):(ae.rq&&(se+="[{"+ae.rq+"}]"),se+="{"+ae.rd+"}",se=" {}\\mathrel{\\x"+se+"}{} "):se=" {}\\mathrel{\\long"+se+"}{} ",y=se;break;case"operator":y=ss._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 N1(a){}function T1(a){}var l0=class Up extends oi{constructor(y){super(Ee(ye({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new Up(y)}toJson(){return Ee(ye({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new zi(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=tt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):Cl(this.command,this.value)}},s0=class Yp extends oi{constructor(y){super(Ee(ye({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Yp(y)}toJson(){return Ee(ye({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=vr(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=tt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):Cl(this.command,this.value)}},$d=class Qp extends oi{constructor(y,b,E,ee){var ae,se;super({type:"enclose",command:y,style:ee.style}),this.body=b,this.backgroundcolor=ee.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=(ae=ee.shadow)!=null?ae:"none",this.strokeWidth=(se=ee.strokeWidth)!=null?se:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=ee.strokeStyle,this.svgStrokeStyle=ee.svgStrokeStyle,this.strokeColor=ee.strokeColor,this.borderStyle=ee.borderStyle,this.padding=ee.padding,this.captureSelection=!1}static fromJson(y){return new Qp(y.command,y.body,y.notation,y)}toJson(){return Ee(ye({},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=tt(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);let ee=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){ee+="{"+Object.keys(this.notation).join(" ")+"}";let ae="",se="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(ae+=se+'mathbackground="'+this.backgroundcolor+'"',se=","),this.shadow&&this.shadow!=="auto"&&(ae+=se+'shadow="'+this.shadow+'"',se=","),this.strokeWidth||this.strokeStyle!=="solid"?(ae+=se+this.borderStyle,se=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(ae+=se+'mathcolor="'+this.strokeColor+'"',se=","),ae&&(ee+=`[${ae}]`)}return Cl(ee,this.bodyToLatex(y))}render(y){const b=new Ro({parent:y},this.style),E=oi.createBox(b,this.body);if(!E)return null;const ee=dm(this.borderStyle),ae=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});E.setStyle("position","relative"),E.setStyle("display","inline-block"),E.setStyle("top",ae,"em"),E.setStyle("height",E.height+E.depth,"em"),E.setStyle("width",E.width,"em");const se=new zi(null,{classes:"ML__notation"});let ge=E.height+E.depth+2*ae;const we=E.width+2*ae;let Pe="";if(this.notation.horizontalstrike&&(Pe+=this.line(3,50,97,50)),this.notation.verticalstrike&&(Pe+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(Pe+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(Pe+=this.line(3,3,97,97)),this.notation.updiagonalarrow){Pe+=this.line(ae.toString(),(ae+E.depth+E.height).toString(),(ae+E.width).toString(),ae.toString());const On=.03*Math.sqrt(we*we+ge*ge)*1,zr=E.width*On,Wi=(E.depth+E.height)*On,Pr=ae+E.width;let yi=ae;yi+Wi-.4*zr<0&&(yi=.4*zr-Wi),Pe+='<polygon points="',Pe+=`${Pr},${yi} ${Pr-zr-.4*Wi},${yi+Wi-.4*zr} `,Pe+=`${Pr-.7*zr},${yi+.7*Wi} ${Pr-zr+.4*Wi},${yi+Wi+.4*zr} `,Pe+=`${Pr},${yi}`,Pe+=`" stroke='none' fill="${this.strokeColor}"`,Pe+="/>"}let je=0;if(this.notation.phasorangle){const en=u0(b),Mn=(E.height+E.depth+2*en+ae).toString(),On=(E.height+E.depth)/2;Pe+=this.line(ae.toString(),Mn,(ae+On+E.width).toString(),Mn),Pe+=this.line(ae.toString(),Mn,(ae+On).toString(),(ae-en).toString()),ge+=en,je=On,E.left+=ge/2-ae}if(this.notation.longdiv){const en=u0(b);ge+=en,Pe+=this.line(ae.toString(),ae.toString(),(ae+E.width).toString(),ae.toString());const Mn=.3;je=Mn+en,E.left+=Mn+en,E.setTop(ae+en),Pe+='<path d="',Pe+=`M ${ae} ${ae} a${Mn} ${(E.depth+E.height+2*en)/2}, 0, 1, 1, 0 ${E.depth+E.height+2*en} "`,Pe+=` stroke-width="${fm(b)}" stroke="${this.strokeColor}" fill="none"`,Pe+="/>"}if(se.width=E.width+2*ae+je,se.height=E.height+ae,se.depth=E.depth+ae,se.setStyle("box-sizing","border-box"),se.setStyle("left",`calc(-${ee} / 2 )`),se.setStyle("height",`${Math.floor(100*ge)/100}em`),se.setStyle("top",`calc(${ee} / 2 )`),this.backgroundcolor&&se.setStyle("background-color",this.backgroundcolor),this.notation.box&&se.setStyle("border","1px solid red"),this.notation.actuarial&&(se.setStyle("border-top",this.borderStyle),se.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(se.setStyle("border-bottom",this.borderStyle),se.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(se.setStyle("border-radius","8px"),se.setStyle("border",this.borderStyle)),this.notation.circle&&(se.setStyle("border-radius","50%"),se.setStyle("border",this.borderStyle)),this.notation.top&&se.setStyle("border-top",this.borderStyle),this.notation.left&&se.setStyle("border-left",this.borderStyle),this.notation.right&&se.setStyle("border-right",this.borderStyle),this.notation.bottom&&se.setStyle("border-bottom",this.borderStyle),Pe){let en="";this.shadow==="auto"&&(en+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(en+=`filter: drop-shadow(${this.shadow})`),en+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,en+=' stroke-linecap="round"',this.svgStrokeStyle&&(en+=` stroke-dasharray="${this.svgStrokeStyle}"`),se.svgStyle=en,se.svgOverlay=Pe}const At=new zi([se,E]);return At.setStyle("position","relative"),At.setStyle("vertical-align",ae,"em"),At.setStyle("height",`${Math.floor(100*(E.height+E.depth+2*ae))/100}em`),At.setStyle("display","inline-block"),At.height=se.height,At.depth=se.depth,At.width=se.width-2*ae,At.left=ae,At.right=ae,this.caret&&(At.caret=this.caret),At.wrap(b)}line(y,b,E,ee){return`<line x1="${Bf(y)}" y1="${Bf(b)}" x2="${Bf(E)}" y2="${Bf(ee)}" 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?ls:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var kd=class Xp extends oi{constructor(y,b,E){var ee,ae;super(Ee(ye({},E),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(ee=E==null?void 0:E.hasBarLine)!=null?ee:!0,this.continuousFraction=(ae=E==null?void 0:E.continuousFraction)!=null?ae:!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),ye(ye({},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 ee=new Ro({parent:y,mathstyle:this.mathstyleName},this.style),ae=ee.metrics,se=new Ro({parent:ee,mathstyle:this.continuousFraction?"":"numerator"},this.style),ge=this.numerPrefix?new zi([new zi(this.numerPrefix),oi.createBox(se,this.above)],{isTight:se.isTight,type:"ignore"}):(b=oi.createBox(se,this.above,{type:"ignore"}))!=null?b:new zi(null,{type:"ignore"}),we=new Ro({parent:ee,mathstyle:this.continuousFraction?"":"denominator"},this.style),Pe=this.denomPrefix?new zi([new zi(this.denomPrefix),oi.createBox(we,this.below,{type:"ignore"})]):(E=oi.createBox(we,this.below,{type:"ignore"}))!=null?E:new zi(null,{type:"ignore"}),je=this.hasBarLine?ae.defaultRuleThickness:0;let At,en=0,Mn;ee.isDisplayStyle?(At=se.metrics.num1,en=je>0?3*je:7*je,Mn=we.metrics.denom1):(je>0?(At=se.metrics.num2,en=je):(At=se.metrics.num3,en=3*ae.defaultRuleThickness),Mn=we.metrics.denom2);const On=[];this.isSelected&&On.push("ML__selected");const zr=ge.depth,Wi=Pe.height;let Pr;if(je<=0){const Ha=At-zr-(Wi-Mn);Ha<en&&(At+=(en-Ha)/2,Mn+=(en-Ha)/2),Pr=new gl({individualShift:[{box:ge,shift:-At,classes:[...On,"ML__center"]},{box:Pe,shift:Mn,classes:[...On,"ML__center"]}]}).wrap(ee)}else{const Ha=new zi(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});Ha.softWidth=Math.max(ge.width,Pe.width),Ha.height=je/2,Ha.depth=je/2;const Xo=nl+je/2;At<en+zr+Xo&&(At=en+zr+Xo);const Dl=nl-je/2;Mn<en+Wi-Dl&&(Mn=en+Wi-Dl),Pr=new gl({individualShift:[{box:Pe,shift:Mn,classes:[...On,"ML__center"]},{box:Ha,shift:-Dl,classes:On},{box:ge,shift:-At,classes:[...On,"ML__center"]}]}).wrap(ee)}const yi=ee.isDisplayStyle?ae.delim1:ae.delim2,Ui=this.leftDelim?this.bind(y,Sa("open",this.leftDelim,yi,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):ka(ee,"open");let Mi=null;this.continuousFraction?Mi=new zi(null,{type:"close"}):this.rightDelim?Mi=this.bind(y,Sa("close",this.rightDelim,yi,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Mi=ka(ee,"close");const Pa=new zi([Ui,Pr,Mi],{isTight:ee.isTight,type:"inner",classes:"mfrac"}),Ga=this.bind(y,Pa);return this.caret&&(Ga.caret=this.caret),this.attachSupsub(y,{base:Ga})}},tu=class Jp extends oi{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),ye({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new zi(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}},ef=class qp extends oi{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new tu(b)),this.skipBoundary=!1}static fromJson(y){return new qp("")}toJson(){return super.toJson()}render(y){const b=oi.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(ee=>ee.value).join(""))!=null?E:""}},gh=class $p extends oi{constructor(y,b){super(Ee(ye({},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",ee=new zi(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(!ee)return null;ee.right=ee.italic;const ae=(ee.height-ee.depth)/2-nl*y.scalingFactor,se=ee.italic;ee.setTop(ae);let ge=ee;if(this.superscript||this.subscript){const we=(b=this.subsupPlacement)!=null?b:"auto";ge=we==="over-under"||we==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:ee,baseShift:ae,slant:se}):this.attachSupsub(y,{base:ee})}return new zi(this.bind(y,ge),{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=tt(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)),Eo(E)}},ud=class em extends oi{constructor(y){const b=y.body;super(Ee(ye({},y),{type:"overlap",body:typeof b=="string"?[new oi({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),ye(ye({},super.toJson()),y)}render(y){const b=oi.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new zi([b,new zi(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},$u=class tm extends oi{constructor(y){var b,E,ee,ae;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=(ee=y.paddedBody)!=null?ee:!1,this.paddedLabels=(ae=y.paddedLabels)!=null?ae:!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?ou(this.svgBody):oi.createBox(y,this.body,{type:"ignore"});const E=new Ro({parent:y,mathstyle:"scriptstyle"},this.style);let ee=null;this.svgAbove?ee=ou(this.svgAbove):this.above&&(ee=oi.createBox(E,this.above,{type:"ignore"}));let ae=null;this.svgBelow?ae=ou(this.svgBelow):this.below&&(ae=oi.createBox(E,this.below,{type:"ignore"})),this.paddedBody&&(b=new zi([ka(y,"open"),b,ka(y,"close")],{type:"ignore"}));let se=hm(y,{base:b,above:ee,below:ae,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return se?(this.subsupPlacement==="over-under"?se=this.attachLimits(y,{base:se,type:se.type}):se=this.attachSupsub(y,{base:se}),this.caret&&(se.caret=this.caret),this.bind(y,se)):null}};function hm(a,y){if(!y.base)return null;if(!y.above&&!y.below){const ge=new zi(y.base,{type:y.type});return ge.setStyle("position","relative"),ge}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let E=null;const ee=y.base,ae=0,se=["ML__center"];if(y.paddedAboveBelow&&se.push("ML__label_padding"),y.below&&y.above){const ge=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+ee.depth+ae;E=new gl({bottom:ge,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:se},{box:ee,classes:["ML__center"]},b,{box:y.above,classes:se},a.metrics.bigOpSpacing5]})}else y.below?E=new gl({top:ee.height-ae,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:se},{box:ee,classes:["ML__center"]}]}):y.above&&(E=new gl({bottom:ee.depth+ae,children:[{box:ee,classes:["ML__center"]},b,{box:y.above,classes:se},a.metrics.bigOpSpacing5]}));return new zi(E,{type:y.type})}var tf=class nm extends oi{constructor(y){var b,E,ee,ae;super(Ee(ye({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(E=y.smashDepth)!=null?E:!1,this.smashHeight=(ee=y.smashHeight)!=null?ee:!1,this.smashWidth=(ae=y.smashWidth)!=null?ae:!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),ye(ye({},super.toJson()),y)}render(y){const b=new Ro({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),oi.createBox(b,this.body,{classes:"inner"});const E=oi.createBox(this.isInvisible?b:y,this.body);if(!E)return null;if(this.smashWidth){const ee=new zi(null,{classes:"fix"});return new zi([E,ee],{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 ee of E.children)this.smashHeight&&(ee.height=0),this.smashDepth&&(ee.depth=0);return new gl({firstBaseline:[{box:E}]},{type:E.type}).wrap(y)}},nf=class rm extends oi{constructor(y){var b;super(ye({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 zi(this.mode==="math"?null:" ");let E;if(this.width!==void 0)E=new zi(null,{classes:"mspace"}),E.left=y.toEm(this.width);else{const ee=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";E=new zi(null,{classes:ee})}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=tt(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);const ee=(b=this.command)!=null?b:"";return this.width===void 0?ee:this._braced&&!("register"in this.width)?`${ee}{${Ql(this.width)}}`:`${ee}${Ql(this.width)}`}},c0=class im extends oi{constructor(y){var b;super(Ee(ye({},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 im(Ee(ye({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=tt(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=this.command,ee=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?Cl(`${E}[${this.aboveToLatex(y)}]`,ee):/^[0-9]$/.test(ee)?`${E}${ee}`:Cl(E,ee)}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 Ro({parent:y,mathstyle:"cramp"},this.style),ee=(b=oi.createBox(E,this.body,{type:"inner"}))!=null?b:new zi(null),ae=E.scalingFactor,se=E.metrics.defaultRuleThickness/ae,ge=y.isDisplayStyle?ls:se,we=new zi(null,{classes:"ML__sqrt-line",style:this.style});we.height=se,we.softWidth=ee.width;let Pe=ae*(se+ge/4);const At=Math.max(ae*2*ge,ee.height+ee.depth)+Pe+se,en=new Ro({parent:y},this.style),Mn=this.bind(en,new zi(Sa("inner","\\surd",At,!1,en,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!Mn)return null;const On=Mn.height+Mn.depth-se;On>ee.height+ee.depth+Pe&&(Pe=(Pe+On-(ee.height+ee.depth))/2),Mn.setTop(Mn.height-ee.height-Pe);const zr=this.bind(y,new gl({firstBaseline:[{box:new zi(ee)},Pe-2*se,{box:we},se]})),Wi=oi.createBox(new Ro({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!Wi){const Ui=new zi([Mn,zr],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return Ui.setStyle("display","inline-block"),Ui.setStyle("height",Ui.height+Ui.depth,"em"),this.caret&&(Ui.caret=this.caret),this.bind(y,Ui)}const Pr=new gl({shift:-.6*(Math.max(Mn.height,zr.height)-Math.max(Mn.depth,zr.depth)),children:[{box:Wi}]}),yi=new zi([new zi(Pr,{classes:"ML__sqrt-index",type:"ignore"}),Mn,zr],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return yi.height=Mn.height,yi.depth=Mn.depth,this.caret&&(yi.caret=this.caret),this.bind(y,yi)}},pm=class extends zi{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 Pf(a,y){if(!a.parent)return;const b=a.parent.children,E=b.indexOf(a);let ee=E-1;for(;ee>=0&&b[ee].type==="ignore";)ee-=1;if(ee<0&&a.parent.parent&&a.parent.type==="lift"){Pf(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}},gm={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function vm(a){af(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 rf(a,y){if(!a.children)return a;const b=a.children;vm(b);const E=y.getRegisterAsEm("thinmuskip"),ee=y.getRegisterAsEm("medmuskip"),ae=y.getRegisterAsEm("thickmuskip");return af(b,(se,ge)=>{var we,Pe,je;if(!se)return;const At=se.type,en=ge.isTight?(we=gm[At])!=null?we:null:(Pe=mm[At])!=null?Pe:null,Mn=(je=en==null?void 0:en[ge.type])!=null?je:null;Mn===3&&Pf(ge,E),Mn===4&&Pf(ge,ee),Mn===5&&Pf(ge,ae)}),a}function af(a,y,b=void 0){if(!a)return b;a=[...a];for(const E of a)E.type==="lift"?b=af(E.children,y,b):E.type==="ignore"?af(E.children,y):(y(b,E),af(E.children,y),b=E);return b}var vh=class am extends oi{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new oi({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new am(Ee(ye({},y),{tooltip:qc(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 Ee(ye({},super.toJson()),{tooltip:b})}render(y){const b=oi.createBox(new Ro,this.body);if(!b)return null;const E=new Ro({parent:y,mathstyle:"displaystyle"},{fontSize:ol}),ee=Yu(rf(new zi(this.tooltip.render(E),{classes:"ML__tooltip-content"}),E)),ae=new zi([ee,b],{classes:"ML__tooltip-container"});return this.caret&&(ae.caret=this.caret),this.bind(y,ae)}},cd=class om extends oi{constructor(y,b){super(Ee(ye({},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 zi(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let ee=E;if(this.superscript||this.subscript){const ae=(b=this.subsupPlacement)!=null?b:"auto";ee=ae==="over-under"||ae==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:E}):this.attachSupsub(y,{base:E})}return new zi(this.bind(y,ee),{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=tt(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)),Eo(E)}};function qc(a){if(ke(a))return a.map(E=>qc(E));if(typeof a=="string")return oi.fromJson(a);a=ye({},a);for(const E of Qu)a[E]&&(a[E]=qc(a[E]));a.args&&(a.args=ym(a.args)),a.array&&(a.array=qc(a.array));const y=a.type;let b;y==="accent"&&(b=z.fromJson(a)),y==="array"&&(b=go.fromJson(a)),y==="box"&&(b=Ms.fromJson(a)),y==="chem"&&(b=o0.fromJson(a)),y==="composition"&&(b=Kc.fromJson(a)),y==="delim"&&(b=l0.fromJson(a)),y==="enclose"&&(b=$d.fromJson(a)),y==="error"&&(b=Eu.fromJson(a)),y==="extensible-symbol"&&(b=gh.fromJson(a)),y==="genfrac"&&(b=kd.fromJson(a)),y==="group"&&(b=Qs.fromJson(a)),y==="latex"&&(b=tu.fromJson(a)),y==="latexgroup"&&(b=ef.fromJson(a)),y==="leftright"&&(b=vl.fromJson(a)),y==="macro"&&(b=Md.fromJson(a)),y==="macro-argument"&&(b=uc.fromJson(a)),y==="operator"&&(b=cd.fromJson(a)),y==="overlap"&&(b=ud.fromJson(a)),y==="overunder"&&(b=$u.fromJson(a)),y==="placeholder"&&(b=Qa.fromJson(a)),y==="prompt"&&(b=xc.fromJson(a)),y==="phantom"&&(b=tf.fromJson(a)),y==="sizeddelim"&&(b=s0.fromJson(a)),y==="spacing"&&(b=nf.fromJson(a)),y==="subsup"&&(b=qu.fromJson(a)),y==="surd"&&(b=c0.fromJson(a)),y==="text"&&(b=zu.fromJson(a)),y==="tooltip"&&(b=vh.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=oi.fromJson(a));for(const E of Qu)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=>qc(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>qc(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],Cm={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},wm=class extends vs{constructor(){super("math")}createAtom(a,y,b){var E,ee,ae,se;if(y===null)return new oi({type:"mord",mode:"math",command:a,value:a,style:b});const ge=window.MathfieldElement.isFunction((E=y.command)!=null?E:a);if(y.definitionType==="symbol"){const Pe=new oi({type:(ee=y.type)!=null?ee:"mord",mode:"math",command:(ae=y.command)!=null?ae:a,value:String.fromCodePoint(y.codepoint),style:b});return ge&&(Pe.isFunction=!0),a.startsWith("\\")&&(Pe.verbatimLatex=a),Pe}const we=new oi({type:"mord",mode:"math",command:(se=y.command)!=null?se:a,value:a,style:b});return ge&&(we.isFunction=!0),a.startsWith("\\")&&(we.verbatimLatex=a),we}serialize(a,y){const b=Sm(a,Ee(ye({},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((ge,we)=>{var Pe;ge.test(a.value)&&Cm[(Pe=y.letterShapeStyle)!=null?Pe:"tex"][we]==="it"&&(E="italic")}),E==="up"&&(E=void 0);const ee=E?b+"-"+E:b;console.assert(d0[ee]!==void 0);const[ae,se]=d0[ee];return yh[b]&&!yh[b].test(a.value)?(a.value=Vt(a.value,b,E),null):(f0.test(a.value)&&(a.classes+=" lcGreek"),se&&(a.classes+=" "+se),ae)}};function Sm(a,y){const{parent:b}=a[0],E=h0(b);return Yl(a,"variant").map(ee=>{const ae=h0(ee[0]);let se="";ae&&ae!==E&&(se={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"}[ae],console.assert(se!==void 0));const ge=Eo(ee.map(we=>we._serialize(y)));return se?Cl(se,ge):ge})}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 wm;function Em(a,y){return a.map(b=>b._serialize(y))}function Am(a,y){return Yl(a,"fontShape").map(b=>{const E=Em(b,y),{fontShape:ee}=b[0].style;let ae="";return ee==="it"&&(ae="\\textit"),ee==="sl"&&(ae="\\textsl"),ee==="sc"&&(ae="\\textsc"),ee==="n"&&(ae="\\textup"),!ae&&ee?`{${Cl("\\fontshape",ee)}${Eo(E)}}`:ae?Cl(ae,Eo(E)):Eo(E)})}function Mm(a,y){return Yl(a,"fontSeries").map(b=>{const E=Am(b,y),{fontSeries:ee}=b[0].style;let ae="";return ee==="b"&&(ae="\\textbf"),ee==="l"&&(ae="\\textlf"),ee==="m"&&(ae="\\textmd"),ee&&!ae?`{${Cl("\\fontseries",ee)}${Eo(E)}}`:ae?Cl(ae,Eo(E)):Eo(E)})}function km(a,y){return Yl(a,"fontSize").map(b=>{var E,ee;const ae=Mm(b,y),se=(ee=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(E=b[0].style.fontSize)!=null?E:""])!=null?ee:"";return se?`${se} ${Eo(ae)}`:Eo(ae)})}function Dm(a,y,b){return Yl(a,"fontFamily").map(E=>{var ee,ae;const se=km(E,y),ge=(ae={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(ee=E[0].style.fontFamily)!=null?ee:""])!=null?ae:"";return ge?`\\${ge}{${Eo(se)}}`:E[0].style.fontFamily?`{\\fontfamily{${E[0].style.fontFamily}} ${Eo(se)}}`:b?`\\text{${Eo(se)}}`:Eo(se)})}var p0={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Bm=class extends vs{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new zu(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return Dm(a,Ee(ye({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,E,ee,ae,se;const{fontFamily:ge}=y;if(p0[ge]?a.classes+=" "+p0[ge]:ge&&a.setStyle("font-family",ge),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 we=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);we&&(a.classes+=" ",a.classes+=(ee={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=we[1])!=null?E:""])!=null?ee:"",a.classes+=" ",a.classes+=(se={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"}[(ae=we[2])!=null?ae:""])!=null?se:"")}return"Main-Regular"}};new Bm;var Pm=class extends vs{constructor(){super("latex")}createAtom(a){return new tu(a)}serialize(a,y){return a.filter(b=>b instanceof tu&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Pm;var Im={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:["\\","|","",""]}},g0={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:[")",")",")",")"]}},Lm={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:["=","=","=","="]}},Fm={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"]}},Nm={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:["=","=","=","="]}},Tm={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:["<",">","|",""]}},Rm={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:[".",".",".","."]}},zm={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"]}},Hm={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:["<",">","",""]}},Km={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 v0(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 Dd(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]"},of=[],lf;function xh(){switch(Et()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function Wu(a){(!a.platform||a.platform===xh())&&of.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[ee,ae]of Object.entries(y.mapping)){if(ae[0]===a)return E.key=`[${ee}]`,E;if(ae[1]===a)return E.shift=!0,E.key=`[${ee}]`,E;if(ae[2]===a)return E.alt=!0,E.key=`[${ee}]`,E;if(ae[3]===a)return E.shift=!0,E.alt=!0,E.key=`[${ee}]`,E}return E.key=(b=Zm[a])!=null?b:"",E}function _m(a){if(a.code)return a;const y=Object.entries(sf().mapping);let b=!1,E=!1,ee="";for(let ae=0;ae<4;ae++){for(const[se,ge]of y)if(ge[ae]===a.key){ee=se,ae===3?(b=!0,E=!0):ae===2?b=!0:ae===1&&(E=!0);break}if(ee)break}return new KeyboardEvent(a.type,Ee(ye({},a),{altKey:b,shiftKey:E,code:ee}))}function jm(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 ee of of)((y=ee.mapping[a.code])==null?void 0:y[E])===a.key?ee.score+=1:(b=ee.mapping[a.code])!=null&&b[E]&&(ee.score=0);of.sort((ee,ae)=>ae.score-ee.score)}function Vm(a){lf=of.find(y=>a.startsWith(y.locale))}function sf(){return lf!=null?lf:of[0]}function Gm(){switch(xh()){case"apple":return bh;case"windows":return m0;case"linux":return g0}return bh}switch(xh()){case"apple":Wu(bh),Wu(Lm),Wu(zm),Wu(Nm);break;case"windows":Wu(m0),Wu(Fm),Wu(Hm),Wu(Tm);break;case"linux":Wu(g0),Wu(Om),Wu(Km),Wu(Rm);break}Wu(Im);function Ch(a){var y;const b=/macos|ios/.test(Et()),E=a.split("+");let ee="";for(const ae of E)ee&&(ee+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),ae.startsWith("[Key")?ee+=ae.slice(4,5):ae.startsWith("Key")?ee+=ae.slice(3,4):ae.startsWith("[Digit")?ee+=ae.slice(6,7):ae.startsWith("Digit")?ee+=ae.slice(5,6):ee+=(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:"* 🔢",numpaddivide:"/ 🔢",numpadsubtract:"- 🔢",numpadadd:"+ 🔢",numpaddecimal:". 🔢",numpadcomma:", 🔢",help:"help",left:"\u21E0",up:"\u21E1",right:"\u21E2",down:"\u21E3","[arrowleft]":"\u21E0","[arrowup]":"\u21E1","[arrowright]":"\u21E2","[arrowdown]":"\u21E3"}[ae.toLowerCase()])!=null?y:ae.toUpperCase();return ee}function If(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,ee)=>({x:E.x+ee.clientX,y:E.y+ee.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function dd(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 Um(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 Lf(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:Ym.has(a.code)}function Ff(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var Cc=class Gc{static get scrim(){return Gc._scrim||(Gc._scrim=new Gc),Gc._scrim}static open(y){Gc.scrim.open(y)}static close(){Gc.scrim.close()}static get state(){return Gc.scrim.state}static get element(){return Gc.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=Ff();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 ee=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const ae=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${ae+ee}px`,y!=null&&y.child&&E.append(y.child),this.state="open"}close(){var y,b,E,ee;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:ae}=this;ae.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),ae.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Ff()!==this.savedActiveElement&&((ee=(E=this.savedActiveElement)==null?void 0:E.focus)==null||ee.call(E)),ae.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,ee=null,ae=!1,se=!1,ge=!1;const we=new AbortController,Pe=we.signal;return a.addEventListener("keydown",je=>{if(ae||je.key==="Process"||je.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(je.code)){E=null;return}E=je,ee=null,b.onKeystroke(je)?a.textContent="":E=null},{capture:!0,signal:Pe}),a.addEventListener("keypress",je=>{ae||(E&&ee&&b.onKeystroke(E),ee=je)},{capture:!0,signal:Pe}),a.addEventListener("compositionstart",je=>{a.textContent="",ae=!0,b.onCompositionStart(je.data)},{capture:!0,signal:Pe}),a.addEventListener("compositionupdate",je=>{ae&&b.onCompositionUpdate(je.data)},{capture:!0,signal:Pe}),a.addEventListener("compositionend",je=>{a.textContent="",ae&&(ae=!1,b.onCompositionEnd(je.data))},{capture:!0,signal:Pe}),a.addEventListener("beforeinput",je=>je.stopImmediatePropagation(),{signal:Pe}),a.addEventListener("input",je=>{var At;if(!ae&&(a.textContent="",je.inputType!=="insertCompositionText")){if(je.inputType==="insertFromPaste"){je.preventDefault(),je.stopPropagation();return}b.onInput((At=je.data)!=null?At:""),je.preventDefault(),je.stopPropagation()}},{signal:Pe}),a.addEventListener("paste",je=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(je)||je.preventDefault(),je.stopImmediatePropagation()},{signal:Pe}),a.addEventListener("cut",je=>b.onCut(je),{capture:!0,signal:Pe}),a.addEventListener("copy",je=>b.onCopy(je),{capture:!0,signal:Pe}),a.addEventListener("blur",je=>{var At,en;if(((en=(At=je.relatedTarget)==null?void 0:At._mathfield)==null?void 0:en.element)===y){a.focus({preventScroll:!0}),je.preventDefault(),je.stopPropagation();return}const Mn=Cc.state;if(Mn==="open"||Mn==="opening"){je.preventDefault(),je.stopPropagation();return}if(je.relatedTarget===je.target.getRootNode().host){je.preventDefault(),je.stopPropagation();return}ge||se||(ge=!0,E=null,ee=null,b.onBlur(),ge=!1)},{capture:!0,signal:Pe}),a.addEventListener("focus",je=>{ge||se||(se=!0,b.onFocus(),se=!1)},{capture:!0,signal:Pe}),{dispose:()=>we.abort(),cancelComposition:()=>{ae&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!se&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Ff()===a,setAriaLabel:je=>a.setAttribute("aria-label",je),setValue:je=>{var At;a.textContent=je,a.style.left="-1000px",(At=window.getSelection())==null||At.selectAllChildren(a)},moveTo:(je,At)=>{a.style.top=`${At}px`,a.style.left=`${je}px`}}}function Bd(a){var y;if(!a||!Lf(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(Ge()){const y=Et(),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=Dd(v0(y0(b))),ee=Dd({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(Et()),cmd:!1,win:!1});for(let ae=a.length-1;ae>=0;ae--)if((a[ae].key===E||a[ae].key===ee)&&(!a[ae].ifMode||a[ae].ifMode===y))return a[ae].command;return""}function b0(a){let y=a;return ke(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function qm(a,y){let b=[];if(typeof y=="string"){const ae=Ud[y];ke(ae)?b=ae.slice():ae&&b.push(ae)}const E=b0(y),ee=new RegExp("^"+E.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const ae of a)ee.test(b0(ae.command))&&b.push(ae.key);return b.map(Ch)}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=v0(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=Et()==="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 Ee(ye({},a),{key:Dd(b)});const ee=Wm(b.key,y);if(!ee)return Ee(ye({},a),{key:Dd(b)});if(ee.shift&&b.shift||ee.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${wh(a.command)}) is conflicting with the key combination ${Dd(ee)} using the ${y.displayName} keyboard layout`);return ee.shift=ee.shift||b.shift,ee.alt=ee.alt||b.alt,ee.meta=b.meta,ee.ctrl=b.ctrl,Ee(ye({},a),{key:Dd(ee)})}function wh(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function eg(a,y){const b=[],E=[];for(const ee of a)try{const ae=$m(ee,y);if(!ae)continue;const se=E.find(ge=>ge.key===ae.key&&ge.ifMode===ae.ifMode);if(se)throw new Error(`Ambiguous key binding ${ee.key} (${wh(ee.command)}) matches ${se.key} (${wh(se.command)}) with the ${y.displayName} keyboard layout`);E.push(ae)}catch(ae){ae instanceof Error&&b.push(ae.message)}return[E,b]}var tg=class extends ho{constructor(){super("latex")}createAtom(a){return new tu(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"}),xs(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 ee=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ks(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 ae=[];for(const we of y)ue.test(we)&&ae.push(new tu(we));let se=a.at(a.position);if(se instanceof ef&&(se=se.lastChild),!(se.parent instanceof ef)){const we=new ef("");se.parent.addChildAfter(we,se),se=we.firstChild}const ge=se.parent.addChildrenAfter(ae,se);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(ge)):ge&&(a.position=a.offsetOf(ge))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function ng(a){return a.atoms.find(y=>y.type==="latexgroup")}function uf(a){var y,b;const E=a.atoms.find(ee=>ee.type==="latexgroup");return E?(b=(y=E.body)==null?void 0:y.filter(ee=>ee.type==="latex"))!=null?b:[]:[]}function x0(a,y){var b;let E=0,ee=!1;const ae=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;E<=ae&&!ee;){const we=a.at(E);ee=we instanceof tu&&we.isSuggestion,ee||E++}if(!ee)return[void 0,void 0];let se=E,ge=!1;for(;se<=ae&&!ge;){const we=a.at(se);ge=!(we instanceof tu&&we.isSuggestion),ge||se++}return[E-1,se-1]}new tg;function Of(a){const y=uf(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 cf(a,y){var b;const{model:E}=a;Of(a);for(const je of uf(E))je.isError=!1;if(!E.selectionIsCollapsed||a.options.popoverPolicy==="off"){Id(a);return}const ee=[];let ae=E.at(E.position);for(;ae&&ae instanceof tu&&/^[a-zA-Z\*]$/.test(ae.value);)ae=ae.leftSibling;if(ae&&ae instanceof tu&&ae.value==="\\")for(ee.push(ae),ae=ae.rightSibling;ae&&ae instanceof tu&&/^[a-zA-Z\*]$/.test(ae.value);)ee.push(ae),ae=ae.rightSibling;const se=ee.map(je=>je.value).join(""),ge=Me(a,se);if(ge.length===0){if(/^\\[a-zA-Z\*]+$/.test(se))for(const je of ee)je.isError=!0;Id(a);return}const we=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=we<0?ge.length-1:we%ge.length;const Pe=ge[a.suggestionIndex];if(Pe!==se){const je=ee[ee.length-1];je.parent.addChildrenAfter([...Pe.slice(se.length-Pe.length)].map(At=>new tu(At,{isSuggestion:!0})),je),fd(a,{interactive:!0})}ig(a,ge)}function C0(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(ee=>{ee.isSuggestion&&(ee.isSuggestion=!1,E=!0)}),E}function Pd(a,y="accept",b){var E,ee;Id(a);const ae=ng(a.model);if(!ae)return!1;if(y==="accept-suggestion"||y==="accept-all"){const Pe=uf(a.model).filter(je=>je.isSuggestion);if(Pe.length!==0){for(const je of Pe)je.isSuggestion=!1;a.model.position=a.model.offsetOf(Pe[Pe.length-1])}if(y==="accept-suggestion")return Pe.length!==0}const ge=uf(a.model).filter(Pe=>!Pe.isSuggestion).map(Pe=>Pe.value).join(""),we=ae.leftSibling;return ae.parent.removeChild(ae),a.model.position=a.model.offsetOf(we),a.switchMode((E=b==null?void 0:b.mode)!=null?E:"math"),y==="reject"||(ho.insert(a.model,ge,{selectionMode:(ee=b==null?void 0:b.selectItem)!=null&&ee?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function Nf(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 Sh(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 rg(a,y){const b=new Ro({from:a.context}),E=new oi({mode:"math",type:"root",body:Xs(y,{context:b})}),ee=Yu(rf(new zi(E.render(b),{classes:"ML__base"}),b));return mc(ee,{classes:"ML__latex"}).toMarkup()}function ig(a,y){var b;if(y.length===0){Id(a);return}let E="";for(const[ae,se]of y.entries()){const ge=se,we=rg(a,se),Pe=qm(a.keybindings,ge).join("<br>");E+=`<li role="button" data-command="${ge}" ${ae===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${ge}</span><span class="ML__popover__command">${we}</span>`,Pe&&(E+=`<span class="ML__popover__keybinding">${Pe}</span>`),E+="</li>"}const ee=ag(a,`<ul>${E}</ul>`);Eh()&&((b=ee.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var ae;ee&&!Eh()&&(ee.classList.add("is-visible"),Tf(a),(ae=ee.querySelector(".ML__popover__current"))==null||ae.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function Eh(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function Tf(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"){Id(a);return}if(y!=null&&y.deferred){setTimeout(()=>Tf(a),32);return}const E=bc(a.field);if(!E)return;const ee=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,ae=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,se=window.innerWidth-document.documentElement.clientWidth,ge=window.innerHeight-document.documentElement.clientHeight,we=window.mathVirtualKeyboard.boundingRect.height,Pe=document.getElementById("mathlive-suggestion-popover");E.x+Pe.offsetWidth/2>ae-se?Pe.style.left=`${ae-Pe.offsetWidth-se}px`:E.x-Pe.offsetWidth/2<0?Pe.style.left="0":Pe.style.left=`${E.x-Pe.offsetWidth/2}px`;const je=E.y-E.height;ee-ge-we-E.y<je?(Pe.classList.add("ML__popover--reverse-direction"),Pe.classList.remove("top-tip"),Pe.classList.add("bottom-tip"),Pe.style.top=`${E.y-E.height-Pe.offsetHeight-15}px`):(Pe.classList.remove("ML__popover--reverse-direction"),Pe.classList.add("top-tip"),Pe.classList.remove("bottom-tip"),Pe.style.top=`${E.y+15}px`)}function Id(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function ag(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=Nf("mathlive-suggestion-popover"),Ou("suggestion-popover"),Ou("core"),b.addEventListener("pointerdown",E=>E.preventDefault()),b.addEventListener("click",E=>{let ee=E.target;for(;ee&&!ee.dataset.command;)ee=ee.parentElement;ee&&(Pd(a,"reject"),ho.insert(a.model,ee.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function og(){document.getElementById("mathlive-suggestion-popover")&&(Sh("mathlive-suggestion-popover"),x("suggestion-popover"),x("core"))}function lg(){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 Rf=null,w0,S0,Ah=((S0=(w0=globalThis==null?void 0:globalThis.document)==null?void 0:w0.currentScript)==null?void 0:S0.src)||lg();function E0(a){return jc(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(Rf===null)try{const y=yield fetch(Ah,{method:"HEAD"});y.status===200&&(Rf=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${Ah}")`)}return new URL(a,Rf!=null?Rf:Ah).href})}function sg(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var _u="not-loaded";function ug(){return jc(this,null,function*(){return _u="not-loaded",zf()})}function zf(){return jc(this,null,function*(){var a;if(_u!=="not-loaded")return;if(_u="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){_u="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(se=>se.family);if(b.every(se=>E.includes(se))){_u="ready";return}if(!window.MathfieldElement.fontsDirectory){_u="not-loaded";return}const ee=yield E0(window.MathfieldElement.fontsDirectory);if(!ee){document.body.classList.add("ML__fonts-did-not-load"),_u="error";return}const ae=[["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(se=>sg(se[0].replace(/-[a-zA-Z]+$/,""),`${ee}/${se[0]}`,se[1]));try{(yield Promise.all(ae.map(ge=>{try{return ge.load()}catch(we){}}))).forEach(ge=>document.fonts.add(ge)),_u="ready";return}catch(se){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${ee}"`,{cause:se}),document.body.classList.add("ML__fonts-did-not-load")}_u="error"}})}function cg(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 xs(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{Ku(a)&&a.dirty&&(a.atomBoundsCache=new Map,fd(a,y),a.atomBoundsCache=void 0)})))}function dg(a,y){var b;y=y!=null?y:{};const E=new Ro({from:Ee(ye({},a.context),{atomIdsSettings:{seed:y.forHighlighting?cg(oi.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"}),ee=a.model.root.render(E);return mc(rf(ee,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 ee of b.atoms)ee.caret=void 0,ee.isSelected=!1,ee.containsCaret=!1;if(b.selectionIsCollapsed){const ee=b.at(b.position);ee.caret=a.model.mode;let ae=ee.parent;for(;ae;)ae.containsCaret=!0,ae=ae.parent}else{const ee=b.getAtoms(b.selection,{includeChildren:!0});for(const ae of ee)ae.isSelected=!0}return dg(a,y).toMarkup()}function fd(a,y){if(!Ku(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 ee=a.isSelectionEditable&&a.hasFocus(),ae=E.classList.contains("ML__focused");ae&&!ee?E.classList.remove("ML__focused"):!ae&&ee&&E.classList.add("ML__focused");let se=A0(a,y);const ge=a.element.querySelector("[part=menu-toggle]");if(ge&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?ge.style.display="none":ge.style.display=""),a.model.atoms.length<=1){const we=a.options.contentPlaceholder;we&&(se+=`<span part=placeholder class="ML__content-placeholder">${Js(we)}</span>`)}E.innerHTML=window.MathfieldElement.createHTML(se),Hf(a,y.interactive),a.dirty=!1}function Hf(a,y){const b=a.field;if(!b)return;for(const ge of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))ge.remove();!(y!=null&&y)&&_u!=="error"&&_u!=="ready"&&setTimeout(()=>{_u==="ready"?Hf(a):setTimeout(()=>Hf(a),128)},32);const E=a.model,ee=b.offsetWidth,ae=b.getBoundingClientRect().width;let se=Math.floor(ae)/ee;if(se=isNaN(se)?1:se,E.selectionIsCollapsed){Tf(a,{deferred:!0});let ge=E.at(E.position);for(;ge&&ge.type!=="prompt"&&!(ge.containsCaret&&ge.displayContainsHighlight);)ge=ge.parent;if(ge!=null&&ge.containsCaret&&ge.displayContainsHighlight){const we=Qd(a,Qc(a,ge),se);if(we){we.left/=se,we.right/=se,we.top/=se,we.bottom/=se;const Pe=document.createElement("div");Pe.classList.add("ML__contains-highlight"),Pe.style.position="absolute",Pe.style.left=`${we.left+1}px`,Pe.style.top=`${Math.ceil(we.top)}px`,Pe.style.width=`${Math.ceil(we.right-we.left)}px`,Pe.style.height=`${Math.ceil(we.bottom-we.top)}px`,b.insertBefore(Pe,b.childNodes[0])}}return}for(const ge of fg(Jd(a,{excludeAtomsWithBackground:!0}))){ge.left/=se,ge.right/=se,ge.top/=se,ge.bottom/=se;const we=document.createElement("div");we.classList.add("ML__selection"),we.style.position="absolute",we.style.left=`${ge.left}px`,we.style.top=`${ge.top}px`,we.style.width=`${Math.ceil(ge.right-ge.left)}px`,we.style.height=`${Math.ceil(ge.bottom-ge.top-1)}px`,b.insertBefore(we,b.childNodes[0])}}function fg(a){let y=[];for(const b of a){let E=!1;for(const ee of y)if(b.left===ee.left&&b.right===ee.right&&b.top===ee.top&&b.bottom===ee.bottom){E=!0;break}E||y.push(b)}a=y,y=[];for(const b of a){let E=0;for(const ee of a)if(b.left>=ee.left&&b.right<=ee.right&&b.top>=ee.top&&b.bottom<=ee.bottom&&(E+=1,E>1))break;E===1&&y.push(b)}return y}var M0=3,wc;function Nu(a,y){y=ye({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),wc||(wc={});for(const b of Object.keys(a))console.assert(!wc[b],"Selector already defined: ",b),wc[b]=Ee(ye({},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()),wc[y]}function Ld(a){var y;return(y=Mh(a))==null?void 0:y.target}function hg(a,y){var b;if(!y)return!1;let E,ee=[],ae=!1,se=!1;ke(y)?(E=y[0],ee=y.slice(1)):E=y,E=E.replace(/-\w/g,Pe=>Pe[1].toUpperCase());const ge=wc[E],we=ge==null?void 0:ge.target;if(we==="model"){if(!a.isSelectionEditable&&(ge!=null&&ge.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(E)&&(E!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(E)),/^complete/.test(E)||Of(a),wc[E].fn(a.model,...ee),cf(a),se=!0,ae=!0}else if(we==="virtual-keyboard")se=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,ae=!0;else if(wc[E]){if(!a.isSelectionEditable&&(ge!=null&&ge.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(E)&&a.flushInlineShortcutBuffer(),se=wc[E].fn(a,...ee),ae=!0}else throw new Error(`Unknown command "${E}"`);return we!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||ge!=null&&ge.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),ge!=null&&ge.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),se&&xs(a),ae}function pg(a,y){var b;if(!a)return!1;a.focus(),Cp.keypressVibration&&ct()&&navigator.vibrate(M0);const E=Mh(y);window.MathfieldElement.playSound((b=E==null?void 0:E.audioFeedback)!=null?b:"keypress");const ee=a.executeCommand(y);return a.scrollIntoView(),ee}Nu({performWithFeedback:(a,y)=>pg(a,y)});function mg(a){return cf(a,{atIndex:a.suggestionIndex+1}),!1}function gg(a){return cf(a,{atIndex:a.suggestionIndex-1}),!1}Nu({complete:Pd},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Nu({nextSuggestion:mg,previousSuggestion:gg},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var Kf="mathlive#virtual-keyboard-message";function kh(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===Kf}var vg=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(kh(y)){if(!qd(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;Ld(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(ye({type:Kf,action:y},b),this.targetOrigin)}},k0={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:"αβγ",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.greek",rows:[[{label:"<i>φ</i>",class:"MLK__tex hide-shift",insert:"\\varphi",aside:"phi var.",shift:"\\Phi"},{label:"<i>ς</i>",class:"MLK__tex hide-shift",insert:"\\varsigma",aside:"sigma var.",shift:"\\Sigma"},{label:"<i>ϵ</i>",class:"MLK__tex hide-shift",insert:"\\epsilon",aside:"espilon",shift:'\\char"0190'},{label:"<i>ρ</i>",class:"MLK__tex hide-shift",insert:"\\rho",aside:"rho",shift:'\\char"3A1'},{label:"<i>τ</i>",class:"MLK__tex hide-shift",insert:"\\tau",aside:"tau",shift:'\\char"3A4'},{label:"<i>υ</i>",class:"MLK__tex hide-shift",insert:"\\upsilon",aside:"upsilon",shift:"\\Upsilon"},{label:"<i>θ</i>",class:"MLK__tex hide-shift",insert:"\\theta",aside:"theta",shift:"\\Theta"},{label:"<i>ι</i>",class:"MLK__tex hide-shift",insert:"\\iota",aside:"iota",shift:'\\char"399'},{label:"<i>ο</i>",class:"MLK__tex hide-shift",insert:"\\omicron",aside:"omicron",shift:'\\char"39F'},{label:"<i>π</i>",class:"MLK__tex hide-shift",insert:"\\pi",aside:"pi",shift:"\\Pi"}],["[separator-5]",{label:"<i>α</i>",class:"MLK__tex hide-shift",insert:"\\alpha",aside:"alpha",shift:'\\char"391'},{label:"<i>σ</i>",class:"MLK__tex hide-shift",insert:"\\sigma",aside:"sigma",shift:"\\Sigma"},{label:"<i>δ</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>γ</i>",class:"MLK__tex hide-shift",insert:"\\gamma",aside:"gamma",shift:"\\Gamma"},{label:"<i>η</i>",class:"MLK__tex hide-shift",insert:"\\eta",aside:"eta",shift:'\\char"397'},{label:"<i>ξ</i>",class:"MLK__tex hide-shift",insert:"\\xi",aside:"xi",shift:"\\Xi"},{label:"<i>κ</i>",class:"MLK__tex hide-shift",insert:"\\kappa",aside:"kappa",shift:"\\Kappa"},{label:"<i>λ</i>",class:"MLK__tex hide-shift",insert:"\\lambda",aside:"lambda",shift:"\\Lambda"},"[separator-5]"],["[shift]",{label:"<i>ζ</i>",class:"MLK__tex hide-shift",insert:"\\zeta",aside:"zeta",shift:'\\char"396'},{label:"<i>χ</i>",class:"MLK__tex hide-shift",insert:"\\chi",aside:"chi",shift:'\\char"3A7'},{label:"<i>ψ</i>",class:"MLK__tex hide-shift",insert:"\\psi",aside:"zeta",shift:"\\Psi"},{label:"<i>ω</i>",class:"MLK__tex hide-shift",insert:"\\omega",aside:"omega",shift:"\\Omega"},{label:"<i>β</i>",class:"MLK__tex hide-shift",insert:"\\beta",aside:"beta",shift:'\\char"392'},{label:"<i>ν</i>",class:"MLK__tex hide-shift",insert:"\\nu",aside:"nu",shift:'\\char"39D'},{label:"<i>μ</i>",class:"MLK__tex hide-shift",insert:"\\mu",aside:"mu",shift:'\\char"39C'},"[backspace]"],["[separator]",{label:"<i>ε</i>",class:"MLK__tex",insert:"\\varepsilon",aside:"espilon var."},{label:"<i>ϑ</i>",class:"MLK__tex",insert:"\\vartheta",aside:"theta var."},{label:"<i>ϰ</i>",class:"MLK__tex",insert:"\\varkappa",aside:"kappa var."},{label:"<i>ϖ</i>",class:"MLK__tex",insert:"\\varpi",aside:"pi var."},{label:"<i>ϱ</i>",class:"MLK__tex",insert:"\\varrho",aside:"rho var."},"[left]","[right]","[action]"]]},symbols:{label:"∞\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]"]]}},Zf={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"}]},df;function D0(a,y){var b,E,ee;const ae=$c.singleton;if(!ae)return;const se=Fd(a),ge=(E=(b=ae.getKeycap(se==null?void 0:se.id))==null?void 0:b.variants)!=null?E:"";if(typeof ge=="string"&&!B0(ge)||Array.isArray(ge)&&ge.length===0){y==null||y();return}const we={};let Pe="";for(const zr of bg(ge)){const Wi=I0(zr),Pr=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);we[Pr]=Wi;const[yi,Ui]=Wf(Wi);Pe+=`<div id=${Pr} class="item ${Ui}">${yi}</div>`}const je=document.createElement("div");je.setAttribute("aria-hidden","true"),je.className="MLK__variant-panel",je.style.height="auto";const At=Object.keys(we).length;let en=5;At===1?en=1:At===2||At===4?en=2:At===3||At===5||At===6?en=3:At>=7&&At<14&&(en=4),je.style.width=`calc(var(--variant-keycap-length) * ${en} + 12px)`,je.innerHTML=Cp.createHTML(Pe),Cc.open({root:(ee=ae==null?void 0:ae.container)==null?void 0:ee.querySelector(".ML__keyboard"),child:je}),df=new AbortController;const{signal:Mn}=df,On=a==null?void 0:a.getBoundingClientRect();if(On){On.top-je.clientHeight<0&&(je.style.width="auto",At<=6?je.style.height="56px":At<=12?je.style.height="108px":At<=18?je.style.height="205px":je.classList.add("compact"));const zr=Math.max(0,Math.min(window.innerWidth-je.offsetWidth,(On.left+On.right-je.offsetWidth)/2)),Wi=On.top-je.clientHeight+5;je.style.transform=`translate(${zr}px, ${Wi}px)`,je.classList.add("is-visible"),requestAnimationFrame(()=>{je.addEventListener("pointerup",Pr=>{const yi=Fd(Pr.target);!(yi!=null&&yi.id)||!we[yi.id]||(Dh(we[yi.id]),ff(),y==null||y(),Pr.preventDefault())},{capture:!0,passive:!1,signal:Mn}),je.addEventListener("pointerenter",Pr=>{const yi=Fd(Pr.target);!(yi!=null&&yi.id)||!we[yi.id]||yi.classList.add("is-active")},{capture:!0,signal:Mn}),je.addEventListener("pointerleave",Pr=>{const yi=Fd(Pr.target);!(yi!=null&&yi.id)||!we[yi.id]||yi.classList.remove("is-active")},{capture:!0,signal:Mn}),window.addEventListener("pointercancel",()=>{ff(),y==null||y()},{signal:Mn}),window.addEventListener("pointerup",()=>{ff(),y==null||y()},{signal:Mn})})}}function ff(){df==null||df.abort(),df=null,Cc.state==="open"&&Cc.close()}function yg(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(ot))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+ot[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys(it))y.push({class:"swatch-button",label:'<span style="background:'+it[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function B0(a){return Zf[a]!==void 0}function bg(a){var y;return typeof a!="string"?a:(Zf[a]||(Zf[a]=(y=yg(a))!=null?y:[]),Zf[a])}function xg(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function Cg(a){return Object.keys(a).map(y=>`${y} {${xg(a[y])}}`).join("")}function hf(a){if(!a)return"";const y=new Ro,b=new oi({mode:"math",type:"root",body:Xs(a,{context:y,args:ee=>ee==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),E=Yu(rf(new zi(b.render(y),{classes:"ML__base"}),y));return mc(E,{classes:"ML__latex"}).toMarkup()}function pf(a){var y;if(Array.isArray(a))return a.map(E=>pf(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(ee=>I0(ee)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function wg(){var a,y;let E=window.mathVirtualKeyboard.alphabeticLayout;if(E==="auto"){const ge=sf();ge&&(E=ge.virtualLayout),(!E||E==="auto")&&(E=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[ft.locale.slice(0,2)])!=null?a:"qwerty")}const ee={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},ae=(y=ee[E])!=null?y:ee.qwerty,se=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 ge of ae){const we=[];for(const Pe of ge)/[a-z]/.test(Pe)?we.push({label:Pe,class:"hide-shift",shift:{label:Pe.toUpperCase()},variants:B0(Pe)?Pe:void 0}):Pe==="~"?E!=="dvorak"?we.push("[backspace]"):we.push({label:"[backspace]",width:1}):Pe==="^"?we.push("[shift]"):Pe===" "&&we.push("[separator-5]");se.push(we)}return se.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:pf({rows:se})}}function P0(a){if(a==="alphabetic")return wg();if(typeof a=="string")return console.assert(k0[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),P0(k0[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 ee=a,{rows:ae}=ee,se=ht(ee,["rows"]);y=Ee(ye({},se),{layers:pf({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const ee=a,{markup:ae}=ee,se=ht(ee,["markup"]);y=Ee(ye({},se),{layers:pf(a.markup)})}else y=ye({},a),"layers"in a?y.layers=pf(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,E=!1;for(const ee of y.layers)if(ee.rows)for(const ae of ee.rows.flat()){Od(ae)&&(b=!0);const se=ae.command;typeof se=="string"&&["undo","redo","cut","copy","paste"].includes(se)&&(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 Sg(a,y){var b,E;let ee='<div class="left">';if(a.normalizedLayouts.length>1)for(const[ae,se]of a.normalizedLayouts.entries()){const ge=se,we=[ae===y?"selected":"layer-switch"];ge.tooltip&&we.push("MLK__tooltip"),ge.labelClass&&we.push(...ge.labelClass.split(" ")),ee+=`<div class="${we.join(" ")}"`,ge.tooltip&&(ee+=" data-tooltip='"+((b=pt(ge.tooltip))!=null?b:ge.tooltip)+"' "),ae!==y&&(ee+=`data-layer="${ge.layers[0].id}"`),ee+=`>${(E=ge.label)!=null?E:"untitled"}</div>`}return ee+="</div>",ee}function Eg(a,y){let b="";if(a.editToolbar==="none")return"";const ee=[];y.selectionIsCollapsed?ee.push("undo","redo","pasteFromClipboard"):ee.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const ae={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
|
|
|
data-command='"undo"'
|
|
|
data-tooltip='${pt("tooltip.undo")}'>
|
|
|
<svg><use xlink:href='#svg-undo' /></svg>
|
|
|
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
|
|
|
data-command='"redo"'
|
|
|
data-tooltip='${pt("tooltip.redo")}'>
|
|
|
<svg><use xlink:href='#svg-redo' /></svg>
|
|
|
</div>`,cutToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"cutToClipboard"'
|
|
|
data-tooltip='${pt("tooltip.cut to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-cut' /></svg>
|
|
|
</div>
|
|
|
`,copyToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"copyToClipboard"'
|
|
|
data-tooltip='${pt("tooltip.copy to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-copy' /></svg>
|
|
|
</div>
|
|
|
`,pasteFromClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"pasteFromClipboard"'
|
|
|
data-tooltip='${pt("tooltip.paste from clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-paste' /></svg>
|
|
|
</div>
|
|
|
`};return b+=ee.map(se=>ae[se]).join(""),b}function Ag(a){for(const y of a)Mg(y)}function Mg(a){const y=$c.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,ee]=Wf(b);a.innerHTML=window.MathfieldElement.createHTML(E)}}function kg(){Ou("virtual-keyboard"),Ou("core"),zf()}function Dg(){x("core"),x("virtual-keyboard")}var Bg=`<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 Pg(a){a.resetKeycapRegistry(),kg();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Bg+a.normalizedLayouts.map((se,ge)=>Ig(a,se,ge)).join(""));const E=document.createElement("div");E.className="MLK__backdrop",E.appendChild(b),y.appendChild(E),y.addEventListener("pointerdown",Fg,{passive:!1});const ee=y.querySelectorAll(".ML__edit-toolbar");if(ee)for(const se of ee)se.addEventListener("click",ge=>{var we,Pe;let je=ge.target,At="";for(;je&&!At;)At=(we=je==null?void 0:je.getAttribute("data-command"))!=null?we:"",je=(Pe=je==null?void 0:je.parentElement)!=null?Pe:null;At&&a.executeCommand(JSON.parse(At))});Ag(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const ae=y.querySelectorAll(".MLK__layer");console.assert(ae.length>0,"No virtual keyboards available");for(const se of ae)se.addEventListener("pointerdown",ge=>ge.preventDefault());return a.currentLayer=a.latentLayer,y}function Ig(a,y,b){const E=[];if(!("layers"in y))return"";for(const ee of y.layers)E.push(`<div tabindex="-1" class="MLK__layer" id="${ee.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(E.push("<div class='MLK__toolbar' role='toolbar'>"),E.push(Sg(a,b)),y.displayEditToolbar&&E.push('<div class="ML__edit-toolbar right"></div>'),E.push("</div>")),E.push(Lg(a,ee)),E.push("</div>");return E.join("")}function Lg(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>${Cg(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 ee of E)if(ee){const ae=a.registerKeycap(ee),[se,ge]=Wf(ee);/(^|\s)separator/.test(ge)?b+=`<div class="${ge}"`:b+=`<div tabindex="-1" id="${ae}" class="${ge}"`,ee.tooltip&&(b+=` data-tooltip="${ee.tooltip}"`),b+=`>${se}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function Wf(a,y={shifted:!1}){var b,E,ee,ae,se,ge,we;let Pe="",je=(b=a.class)!=null?b:"";if(y.shifted&&Od(a)&&(je+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?Pe=hf(a.shift):typeof a.shift=="object"&&(Pe=a.shift.label?a.shift.label:(E=hf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?E:""),typeof a.shift=="object"&&(je=(ae=(ee=a.shift.class)!=null?ee:a.class)!=null?ae:"");else{if(Pe=a.label?a.label:(se=hf(a.latex||a.insert||"")||a.key)!=null?se:"",a.shift){let At;typeof a.shift=="string"?At=hf(a.shift):a.shift.label?At=a.shift.label:At=(ge=hf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?ge:"",Pe+=`<span class="MLK__shift">${At}</span>`}a.aside&&(Pe+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(je)&&(je+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(je)||(je+=" MLK__keycap"),!/\bw[0-9]+\b/.test(je)&&a.width&&(je+=(we={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?we:""),[Pe,je||"MLK__keycap"]}var hd={"[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:"−",shift:"\\pm",class:"big-op hide-shift"},"[/]":{class:"big-op hide-shift",shift:{class:"",latex:"\\frac{1}{#@}"},variants:["/","\\div","\\%","\\oslash"],latex:"\\frac{#@}{#?}",label:"÷"},"[*]":{variants:[{latex:"\\prod_{#0}^{#0}",class:"small"},"\\otimes","\\cdot"],latex:"\\cdot",label:"×",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 I0(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!hd[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&hd[a.label]&&(b=Ee(ye(ye({},hd[a.label]),a),{label:hd[a.label].label})),"key"in a&&a.key&&hd[a.key]&&(b=Ee(ye(ye({},hd[a.key]),a),{key:hd[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=ye(ye({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=ye(ye({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=ye(ye({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=ye(ye({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var mf;function Fg(a){var y;if(a.button!==0)return;const b=$c.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 ee=Fd(a.target);if(!(ee!=null&&ee.id))return;const ae=b.getKeycap(ee.id);if(!ae)return;console.assert(a.type==="pointerdown");const se=new AbortController,ge=se.signal;ee.classList.add("is-pressed"),ee.addEventListener("pointerenter",_f(se),{capture:!0,signal:ge}),ee.addEventListener("pointerleave",_f(se),{capture:!0,signal:ge}),ee.addEventListener("pointercancel",_f(se),{signal:ge}),ee.addEventListener("pointerup",_f(se),{signal:ge}),Od(ae)&&(ee.classList.add("is-active"),b.shiftPressCount++),ae.variants&&(mf&&clearTimeout(mf),mf=setTimeout(()=>{ee.classList.contains("is-pressed")&&(ee.classList.remove("is-pressed"),ee.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),D0(ee,()=>{se.abort(),ee==null||ee.classList.remove("is-active")}))},300)),a.preventDefault()}function _f(a){return y=>{const b=Fd(y.target);if(!(b!=null&&b.id))return;const E=$c.singleton;if(!E)return;const ee=E.getKeycap(b.id);if(ee){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),Od(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),Od(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted));return}if(y.type==="pointerup"){mf&&clearTimeout(mf),Od(ee)?b.classList.toggle("is-active",E.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),E.isShifted&&ee.shift?typeof ee.shift=="string"?E.executeCommand(["insert",ee.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):Dh(ee.shift):Dh(ee),E.shiftPressCount===1&&!y.shiftKey&&(E.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function Dh(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=$c.singleton)==null||y.executeCommand(b)}function Og(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 Fd(a){if(!a)return;let y=a;for(;y&&!Og(y);)y=y.parentElement;return y!=null?y:void 0}function Od(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var $c=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(ee=>{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(ee){window.addEventListener("message",this)}document.body.addEventListener("focusin",ee=>{const ae=ee.target;ae!=null&&ae.isConnected&&setTimeout(()=>{const se=L0();se&&!se.readOnly&&se.mathVirtualKeyboardPolicy==="auto"&&nt()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",ee=>{ee.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{L0()||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 ee of E.layers)if(ee.id===y)return ee}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(ee=>ee==="default");E>=0&&b.splice(E,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(ee=>P0(ee))}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 ee=E-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${ee}px)`:`${ee}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 ee=this.getKeycap(E.id);if(ee){const[ae,se]=Wf(ee,{shifted:this.isShifted});E.innerHTML=window.MathfieldElement.createHTML(ae),E.className=se}}}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 ee=this._element.getElementsByClassName("MLK__plate")[0];if(ee&&this.observer.observe(ee),E===window.document.body){const ae=E.style.paddingBottom;this.originalContainerBottomPadding=ae;const se=ee.offsetHeight-1;E.style.paddingBottom=ae?`calc(${ae} + ${se}px)`:`${se}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 ee;return(ee=this._element)==null?void 0:ee.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 ee=this._element.getElementsByClassName("MLK__plate")[0];ee&&this.observer.unobserve(ee),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}),ff(),Dg(),(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=Pg(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&D0(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(kh(y)){if(!qd(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:ee}=y,ae=Ld(ee);if(window.top!==void 0&&ae!=="virtual-keyboard")return;this.executeCommand(ee);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:ye({type:Kf,action:y},b)}));return}if(E)E.postMessage(ye({type:Kf,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 ee=b.command[1].split("");for(const ae of ee)this.dispatchEvent(new KeyboardEvent("keydown",{key:ae,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:ae,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 ee of E)ee.innerHTML=Eg(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=[],ee=Ld(y);return ke(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),ee=Ld(y)),E=y.slice(1)):b=y,b=b.replace(/-\w/g,ae=>ae[1].toUpperCase()),ee==="virtual-keyboard"?wc[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 L0(){var a,y;let b=Ff(),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(Ge()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=$c.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>vg.singleton,configurable:!0});function jf(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const E=a.scriptDepth;if(ke(E))y.scriptDepth=[E[0],E[1]];else if(typeof E=="number")y.scriptDepth=[E,E];else if(typeof E=="string"){const[ae,se]=E.split(",").map(ge=>parseInt(ge.trim()));y.scriptDepth=[ae,se]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let ee=a.mathVirtualKeyboardPolicy.toLowerCase();if(ee==="sandboxed"){if(window!==window.top){const ae=$c.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>ae})}ee="manual"}y.mathVirtualKeyboardPolicy=ee;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?ft.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=Oe(a.macros);break;default:ke(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=ye({},a[b]):y[b]=a[b]}return y}function pd(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const E={};for(const ee of b)a[ee]===null?E[ee]=null:ke(a[ee])?E[ee]=[...a[ee]]:typeof a[ee]=="object"&&!(a[ee]instanceof Element)&&ee!=="computeEngine"?E[ee]=ye({},a[ee]):E[ee]=a[ee];return typeof y=="string"?E[y]:E}function Vf(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:mt,backgroundColorMap:Te,letterShapeStyle:ft.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:fh,inlineShortcuts:Qo,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:lc,value:""}}function F0(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function ed(a,y){!a||!y||(ke(a)?a.forEach(b=>ed(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),ed(a.body,y),ed(a.above,y),ed(a.below,y),ed(a.subscript,y),ed(a.superscript,y)))}function Bh(a,y,b,E){function ee(se,ge){for(const we of ae)if(we.style[se]!==ge)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const ae=a.getAtoms(y,{includeChildren:!0});E.operation==="toggle"&&(b.color&&ee("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&ee("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&ee("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&ee("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&ee("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&ee("fontSize",b.fontSize)&&(b.fontSize=ol),b.variant&&ee("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&ee("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const se of ae)se.applyStyle(b);return!0}function Ng(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 ee=new Kc(y,{mode:b.mode});ee.caret=E,b.parent.addChildAfter(ee,b),a.position+=1}}function Tg(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}Zt(["math","displaymath"],ec),Zt("center",ec),kt("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 go("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),Cn("array","{columns:colspec}",(a,y,b,E)=>new go(a,Ph(y),b,{columns:E[0],mathstyleName:"textstyle"})),Cn(["equation","equation*","subequations"],"",(a,y,b)=>new go(a,Ph(y),b,{columns:[{align:"c"}]})),Cn(["multline","multline*"],"",ec),Cn(["align","align*","aligned","eqnarray"],"",ec),Cn("split","",ec),Cn(["gather","gathered"],"",ec),Cn(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",ec),Cn(["smallmatrix","smallmatrix*"],"[columns:colspec]",ec),Cn(["cases","dcases","rcases"],"",ec);function Rg(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function Ph(a,y=1){return Rg(a)?Array(y).fill([[new oi({type:"first"}),new Qa]]):a.map(b=>b.length===0?[[new oi({type:"first"})]]:b.map(E=>E.length===0?[new oi({type:"first"})]:(E[0].type!=="first"&&E.unshift(new oi({type:"first"})),E)))}function ec(a,y=[[[]]],b=[],E=[]){switch(y=Ph(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new go(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new go(a,y,b,{mathstyleName:"textstyle"});case"center":return new go(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new go(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new go(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new go(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new go(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:md(E[0])});case"bmatrix":case"bmatrix*":return new go(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:md(E[0])});case"Bmatrix":case"Bmatrix*":return new go(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:md(E[0])});case"vmatrix":case"vmatrix*":return new go(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:md(E[0])});case"Vmatrix":case"Vmatrix*":return new go(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:md(E[0])});case"matrix":case"matrix*":return new go(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:md(E==null?void 0:E[0])});case"smallmatrix":case"smallmatrix*":return new go(a,y,b,{mathstyleName:"scriptstyle",columns:md(E==null?void 0:E[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new go(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 go(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new go(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let ee=0;for(const ge of y)ee=Math.max(ee,ge.length);const ae=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let se=2;for(;se<ee;)ae.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),se+=2;return ae.push({gap:0}),new go(a,y,b,{arraycolsep:0,columns:ae,minColumns:2})}}return new go(a,y,b,{mathstyleName:"textstyle"})}function md(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 zg(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof go);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof go)){const E=a.at(a.position);if(b=E,!b.parent.parent){let ee=a.extractAtoms([a.position,a.lastOffset]),ae=a.extractAtoms([0,a.position]);ae.length===0&&(ae=Yf()),ee.length===0&&(ee=Yf());let se;return y.endsWith("column")?(se=ec("split",[[ae,ee]]),a.root=se,gd(se,0,0)?vd(a,se,0,0):gd(se,0,1)?vd(a,se,0,1):a.position=a.offsetOf(E)):(se=ec("lines",[[ae],[ee]]),a.root=se,gd(se,0,0)?vd(a,se,0,0):gd(se,1,0)?vd(a,se,1,0):a.position=a.offsetOf(E)),[void 0,[0,0]]}if(b.parent instanceof vl){const ee=b.parent;let ae=a.extractAtoms([a.position,a.offsetOf(ee.lastChild)]),se=a.extractAtoms([a.offsetOf(ee.firstChild),a.position]);se.length===0&&(se=Yf()),ae.length===0&&(ae=Yf());let ge="pmatrix";const we=ee.leftDelim,Pe=ee.rightDelim;we==="("&&(Pe===")"||Pe==="?")?ge="pmatrix":(we==="["||we==="\\lbrack")&&(Pe==="]"||Pe==="\\rbrack"||Pe==="?")?ge="bmatrix":we==="\\vert"&&Pe==="\\vert"?ge="vmatrix":we==="\\Vert"&&Pe==="\\Vert"?ge="Vmatrix":(we==="{"||we==="\\lbrace")&&(Pe==="."||Pe==="?")&&(ge="cases");const je=ec(ge,y.endsWith("column")?[[se,ae]]:[[se],[ae]]);return ee.parent.addChildBefore(je,ee),ee.parent.removeChild(ee),gd(je,0,0)?vd(a,je,0,0):y.endsWith("column")?gd(je,0,1)?vd(a,je,0,1):a.position=a.offsetOf(b):gd(je,1,0)?vd(a,je,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof go?[b.parent,b.parentBranch]:[void 0,[0,0]]}function gd(a,y,b){const E=a.getCell(y,b);return!E||E.length!==2?!1:E[1].type==="placeholder"}function Hg(a,y,b,E){const ee=y.getCell(b,E);return ee?[a.offsetOf(ee[0]),a.offsetOf(ee[ee.length-1])]:-1}function vd(a,y,b,E){const ee=Hg(a,y,b,E);typeof ee!="number"&&a.setSelection(ee)}function Gf(a,y,b,E,ee){const ae=y.getCell(b,E);ae&&a.setPositionHandlingPlaceholder(a.offsetOf(ae[ee==="start"?0:ae.length-1]))}function Uf(a,y){const[b,[E,ee]]=zg(a,y);if(b)switch(y){case"after row":b.addRowAfter(E),Gf(a,b,E+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(ee),Gf(a,b,E,ee+1,"end");break;case"before row":b.addRowBefore(E),Gf(a,b,E,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(ee),Gf(a,b,E,ee,"start");break}}function O0(a){return a.contentWillChange({inputType:"insertText"})?(Uf(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Kg(a){return a.contentWillChange({inputType:"insertText"})?(Uf(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function N0(a){return a.contentWillChange({inputType:"insertText"})?(Uf(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Zg(a){return a.contentWillChange({inputType:"insertText"})?(Uf(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function T0(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 ee=a.at(a.position),ae=ee.type==="array"?ee:a.parentEnvironment;return ae.environmentName=y,ae.leftDelim=b,ae.rightDelim=E,a.contentDidChange({}),!0}function R0(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof go);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof go){const E=b.parent,ee=b.parentBranch;let ae;switch(y){case"row":if(E.rowCount>1){E.removeRow(ee[0]);const se=E.getCell(Math.max(0,ee[0]-1),ee[1]);ae=a.offsetOf(se[se.length-1])}break;case"column":if(E.colCount>E.minColumns){E.removeColumn(ee[1]);const se=E.getCell(ee[0],Math.max(0,ee[1]-1));ae=a.offsetOf(se[se.length-1])}break}ae&&a.setPositionHandlingPlaceholder(ae)}}function Wg(a){return a.contentWillChange({inputType:"deleteContent"})?(R0(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function _g(a){return a.contentWillChange({inputType:"deleteContent"})?(R0(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Nu({addRowAfter:O0,addColumnAfter:N0,addRowBefore:Kg,addColumnBefore:Zg,removeRow:Wg,removeColumn:_g,setEnvironment:T0},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Yf(){return[new Qa]}var z0=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}};z0.maximumDepth=1e3;var jg=z0;function Ih(a,y,b){if(a.at(y).mode!=="text")return y;const E=b==="backward"?-1:1;let ee;if(fe.test(a.at(y).value)){let ae=y,se;do se=a.at(ae).mode==="text"&&fe.test(a.at(ae).value),ae+=E;while(a.at(ae)&&se);ee=a.at(ae)?ae-2*E:ae-E}else if(/\s/.test(a.at(y).value)){let ae=y;for(;a.at(ae)&&a.at(ae).mode==="text"&&/\s/.test(a.at(ae).value);)ae+=E;if(!a.at(ae))ee=ae-E;else{let se=!0;do se=a.at(ae).mode==="text"&&!/\s/.test(a.at(ae).value),ae+=E;while(a.at(ae)&&se);ee=a.at(ae)?ae-2*E:ae-E}}else{let ae=y;for(;a.at(ae)&&a.at(ae).mode==="text"&&!/\s/.test(a.at(ae).value);)ae+=E;ee=a.at(ae)?ae:ae-E;let se=!0;for(;a.at(ae)&&se;)se=a.at(ae).mode==="text"&&/\s/.test(a.at(ae).value),se&&(ee=ae),ae+=E;ee=a.at(ae)?ae-2*E:ae-E}return ee-(E>0?0:1)}function Nd(a,y,b){var E,ee,ae,se,ge,we,Pe;const je=a.position;(E=b==null?void 0:b.extend)!=null&&E||a.collapseSelection(y);let At=a.at(a.position);if(y==="forward"&&(At.type==="subsup"?(At=At.rightSibling,At||(At=a.at(a.position+1))):At=a.at(a.position+1)),!At)return a.announce("plonk"),!1;let en=a.offsetOf(At);if(At instanceof zu)en=Ih(a,en,y);else if(At instanceof tu)if(At.isSuggestion)for(console.assert(y==="forward");At&&At instanceof tu;)At.isSuggestion=!1,en=a.offsetOf(At),At=At.rightSibling;else if(y==="forward"){if(At=At.rightSibling,!At||!(At instanceof tu))return a.announce("plonk"),!1;for(;At&&At instanceof tu&&/[a-zA-Z\*]/.test(At.value);)en=a.offsetOf(At),At=At.rightSibling}else{if(At=At.leftSibling,!At||!(At instanceof tu))return a.announce("plonk"),!1;for(;At&&At instanceof tu&&/[a-zA-Z\*]/.test(At.value);)en=a.offsetOf(At),At=At.leftSibling}else if(y==="forward"&&At.type==="mopen"){let Mn=0;do At.type==="mopen"?Mn+=1:At.type==="mclose"&&(Mn-=1),At=At.rightSibling;while(!At.isLastSibling&&Mn!==0);en=a.offsetOf(At.leftSibling)}else if(y==="backward"&&At.type==="mclose"){let Mn=0;do At.type==="mopen"?Mn+=1:At.type==="mclose"&&(Mn-=1),At=At.leftSibling;while(!At.isFirstSibling&&Mn!==0);en=a.offsetOf(At)}else if(y==="backward")if(At.type==="first")for(;en>0&&At.type==="first";)en-=1,At=a.at(en);else{const Mn=At.type;At.type==="subsup"&&(en=a.offsetOf(a.at(en).leftSibling)),en-=1;let On=(ee=a.at(en))==null?void 0:ee.type;for(;en>=0&&On===Mn;)((ae=a.at(en))==null?void 0:ae.type)==="subsup"?en=a.offsetOf(a.at(en).leftSibling):en-=1,On=a.at(en).type}else{const{type:Mn}=At;let On=(se=a.at(en))==null?void 0:se.type;const{lastOffset:zr}=a;for(;en<=zr&&(On===Mn||On==="subsup");){for(;((ge=a.at(en).rightSibling)==null?void 0:ge.type)==="subsup";)en=a.offsetOf(a.at(en).rightSibling);en+=1,On=(we=a.at(en))==null?void 0:we.type}en-=1}if((Pe=b==null?void 0:b.extend)!=null&&Pe){if(!a.setSelection(a.anchor,en))return a.announce("plonk"),!1}else{if(en===a.position)return a.announce("plonk"),!1;a.position=en}return a.announce("move",je),a.mathfield.stopCoalescingUndo(),!0}function Sc(a,y,b){var E,ee;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[ge,we]=x0(a);ge!==void 0&&we!==void 0&&a.deleteAtoms([ge,we])}if(y==="upward")return Gg(a,b);if(y==="downward")return Ug(a,b);if(b.extend){let ge=Qf(a,a.position,y);ge<0&&(ge=0),ge>a.lastOffset&&(ge=a.lastOffset);const we=a.setSelection(a.anchor,ge);return a.mathfield.stopCoalescingUndo(),we}if(a.selectionIsPlaceholder){a.collapseSelection(y);const ge=Sc(a,y);return a.mathfield.stopCoalescingUndo(),ge}let ae=a.position;const se=ae;if(a.collapseSelection(y)?(ae=a.position,H0(a,ae)||(ae=Qf(a,ae,y))):ae=Qf(a,ae,y),ae<0||ae>a.lastOffset){let ge=!0;return a.silenceNotifications||(ge=(ee=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?ee:!0),ge&&a.announce("plonk"),ge}return a.setPositionHandlingPlaceholder(ae),a.mathfield.stopCoalescingUndo(),a.announce("move",se),!0}function Qf(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||H0(a,y)?y:Qf(a,y,b)}function H0(a,y){var b;const E=a.at(y);let ee=E.parent;for(;ee&&!ee.inCaptureSelection;)ee=ee.parent;return!(ee!=null&&ee.inCaptureSelection||(b=E.parent)!=null&&b.skipBoundary&&(!E.isFirstSibling&&E.isLastSibling||E.type==="first")||a.mathfield.hasEditablePrompts&&!E.parentPrompt)}function Vg(a,y,b){let E=1/0,ee=0;for(;ee<y.length;ee++){const ae=Ed(a.getHTMLElement(y[ee])).right,se=Math.abs(b-ae);if(se<=E)E=se;else break}return y[ee-1]}function Xf(a,y,b,E,ee){const ae=a.mathfield.hasEditablePrompts,se=ae?b.filter(Pe=>Pe.type==="prompt"&&!Pe.captureSelection):b,ge=Ed(a.mathfield.getHTMLElement(y)).right,we=a.offsetOf(Vg(a.mathfield,se,ge))-(ae?1:0);if(E){const[Pe,je]=a.selection.ranges[0];let At;we<(ee==="up"?Pe:je)?At={ranges:[[we,je]],direction:"backward"}:At={ranges:[[Pe,we]],direction:"forward"},a.setSelection(At)}else a.setPositionHandlingPlaceholder(we);a.announce(`move ${ee}`)}function Gg(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("backward");const ae=()=>{var we,Pe;let je=!0;return a.silenceNotifications||(je=(Pe=(we=a.mathfield.host)==null?void 0:we.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Pe:!0),a.announce(je?"plonk":"line"),je},se=a.at(a.position);let ge=se;for(;ge&&ge.parentBranch!=="below"&&!(Array.isArray(ge.parentBranch)&&ge.parent instanceof go);)ge=ge.parent;if(Array.isArray(ge==null?void 0:ge.parentBranch)&&ge.parent instanceof go){const we=ge.parent;if(ge.parentBranch[0]<1)return ae();const Pe=ge.parentBranch[0]-1,je=we.array[Pe][ge.parentBranch[1]];if(!je.some(en=>en.type==="prompt"&&!en.captureSelection)&&a.mathfield.hasEditablePrompts)return ae();Xf(a,se,je,ee,"up")}else if(ge){const we=(E=ge.parent.branch("above"))!=null?E:ge.parent.createBranch("above");if(!we.some(je=>je.type==="prompt"&&je.placeholderId)&&a.mathfield.hasEditablePrompts)return ae();Xf(a,se,we,ee,"up")}else return ae();return a.mathfield.stopCoalescingUndo(),!0}function Ug(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("forward");const ae=()=>{var we,Pe;let je=!0;return a.silenceNotifications||(je=(Pe=(we=a.mathfield.host)==null?void 0:we.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Pe:!0),a.announce(je?"plonk":"line"),je},se=a.at(a.position);let ge=se;for(;ge&&ge.parentBranch!=="above"&&!(Array.isArray(ge.parentBranch)&&ge.parent instanceof go);)ge=ge.parent;if(Array.isArray(ge==null?void 0:ge.parentBranch)&&ge.parent instanceof go){const we=ge.parent;if(ge.parentBranch[0]+1>we.array.length-1)return ae();const Pe=ge.parentBranch[0]+1,je=we.array[Pe][ge.parentBranch[1]];if(!je.some(en=>en.type==="prompt"&&!en.captureSelection)&&a.mathfield.hasEditablePrompts)return ae();Xf(a,se,je,ee,"down")}else if(ge){const we=(E=ge.parent.branch("below"))!=null?E:ge.parent.createBranch("below");if(!we.some(je=>je.type==="prompt")&&a.mathfield.hasEditablePrompts)return ae();Xf(a,se,we,ee,"down")}else return ae();return!0}function K0(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 Yg(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 Qg(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(),Yg(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 qu({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(),Qg(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 qu({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 Xg(){function a(we){const Pe=[],je=[];return[...we.querySelectorAll(`input, select, textarea, a[href], button,
|
|
|
[tabindex], audio[controls], video[controls],
|
|
|
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((en,Mn)=>{const On=E(en);On===0?Pe.push(en):je.push({documentOrder:Mn,tabIndex:On,node:en})}),je.sort((en,Mn)=>en.tabIndex===Mn.tabIndex?en.documentOrder-Mn.documentOrder:en.tabIndex-Mn.tabIndex).map(en=>en.node).concat(Pe)}function y(we){return!(!b(we)||ee(we)||E(we)<0)}function b(we){return!(we.disabled||we.type==="hidden"&&we.tagName.toUpperCase()==="INPUT"||ge(we))}function E(we){var Pe;const je=Number.parseInt((Pe=we.getAttribute("tabindex"))!=null?Pe:"NaN",10);return Number.isNaN(je)?we.contentEditable==="true"||(we.nodeName==="AUDIO"||we.nodeName==="VIDEO")&&we.getAttribute("tabindex")===null?0:we.tabIndex:je}function ee(we){return we.tagName.toUpperCase()==="INPUT"&&we.type==="radio"&&!se(we)}function ae(we,Pe){for(const je of we)if(je.checked&&je.form===Pe)return je;return null}function se(we){var Pe;if(!we.name)return!0;const At=((Pe=we.form)!=null?Pe:we.ownerDocument).querySelectorAll('input[type="radio"][name="'+we.name+'"]'),en=ae(At,we.form);return!en||en===we}function ge(we){if(!Ge()||we===document.activeElement||we.contains(document.activeElement))return!1;if(getComputedStyle(we).visibility==="hidden")return!0;const Pe=we.getBoundingClientRect();if(Pe.width===0||Pe.height===0)return!0;for(;we;){if(getComputedStyle(we).display==="none")return!0;we=we.parentElement}return!1}return Ge()?a(document.body):[]}function Au(a,y,b="forward"){const E=a.position;if(Array.isArray(y)){const ee=a.offsetOf(y[0]),ae=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(ee,ae):a.setSelection(ae,ee),a.announce("move",E),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?Au(a,[y.leftSibling,y]):Au(a,[y,y.leftSibling])}function cc(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 Jf(a,y,b=!0){var E,ee;const ae=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Sc(a,y);let se;const ge=a.at(a.anchor).parentPrompt;ge?y==="forward"?se=a.offsetOf(ge)+1:se=a.offsetOf(ge.leftSibling):se=Math.max(a.position+ae,0);const we=Lh(a,se,y);if(!we||y==="forward"&&a.offsetOf(we)<se||y==="backward"&&a.offsetOf(we)>se){if(!b||!((ee=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||ee))return a.announce("plonk"),!1;const je=Xg();if(!document.activeElement||je.length<=1)return a.announce("plonk"),!1;let At=je.indexOf(document.activeElement)+ae;return At<0&&(At=je.length-1),At>=je.length&&(At=0),je[At].focus(),a.mathfield.stopCoalescingUndo(),!0}return cc(a,we),!0}function Lh(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)}Nu({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 ee=b.parentBranch;let ae;if(typeof ee=="string"&&(ae=y[ee]),!ae){const ge=b.subsupPlacement?W0(a):Z0(a);return a.mathfield.stopCoalescingUndo(),ge}E.branch(ae)||E.createBranch(ae);const se=a.setSelection(a.getBranchRange(a.offsetOf(E),ae));return a.mathfield.stopCoalescingUndo(),se},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=>K0(a),moveToNextChar:a=>Sc(a,"forward"),moveToPreviousChar:a=>Sc(a,"backward"),moveUp:a=>Sc(a,"upward"),moveDown:a=>Sc(a,"downward"),moveToNextWord:a=>Nd(a,"forward"),moveToPreviousWord:a=>Nd(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,ee;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return Jf(a,"forward");const ae=a.at(a.position);if(ae.mode==="text"){if(a.selectionIsCollapsed){let en=ae;for(;en&&en.mode==="text";)en=en.leftSibling;let Mn=ae;for(;((y=Mn.rightSibling)==null?void 0:y.mode)==="text";)Mn=Mn.rightSibling;if(en&&Mn)return Au(a,[en,Mn])}if(ae.rightSibling.mode==="text"){let en=ae;for(;en&&en.mode==="text";)en=en.rightSibling;return en?(cc(a,(b=en.leftSibling)!=null?b:en),a.mathfield.switchMode("math"),!0):cc(a,a.lastOffset)}}const ge=a.at(a.anchor).parentPrompt,we=ge?a.offsetOf(ge)+1:Math.max(a.position+1,0),Pe=Lh(a,we,"forward");if(Pe)return cc(a,Pe);const je=_0(a,ae,en=>en.type==="leftright"||en.type==="text","forward");if(je){if(je.mode==="text"){let en=je;for(;en&&en.mode==="text";)en=en.rightSibling;return Au(a,[(E=je.leftSibling)!=null?E:je,(ee=en.leftSibling)!=null?ee:en])}return Au(a,je)}const At=ae.parent;if(At){if(At.type==="leftright"||At.type==="surd")return Au(a,At);if(ae.parentBranch==="superscript"&&At.subscript)return Au(a,At.subscript);if(ae.parentBranch==="above"&&At.below)return Au(a,At.below);if(ae.parentBranch==="superscript"||ae.parentBranch==="subscript")return cc(a,At);if(ae.parentBranch==="above"||ae.parentBranch==="below")return Au(a,At)}return cc(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return Jf(a,"backward");let b=a.at(a.position);const E=b.mode;if(E==="text"){if(a.selectionIsCollapsed){let ge=b;for(;ge&&ge.mode==="text";)ge=ge.leftSibling;let we=b;for(;((y=we.rightSibling)==null?void 0:y.mode)==="text";)we=we.rightSibling;if(ge&&we)return Au(a,[ge,we])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?cc(a,b):cc(a,0)}const ee=a.at(a.anchor).parentPrompt,ae=ee?a.offsetOf(ee.leftSibling):Math.max(a.position-1,0),se=Lh(a,ae,"backward");if(se)return cc(a,se);if(E==="math"){const ge=_0(a,b,Pe=>Pe.type==="leftright"||Pe.type==="text","backward");if(ge){if(ge.mode==="text"){let Pe=ge;for(;Pe&&Pe.mode==="text";)Pe=Pe.leftSibling;return Au(a,[ge,Pe])}return Au(a,ge)}const we=b.parent;if(we){if(we.type==="leftright"||we.type==="surd")return Au(a,we);if(b.parentBranch==="subscript"&&we.superscript)return Au(a,we.superscript);if(b.parentBranch==="below"&&we.above)return Au(a,we.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return cc(a,we);if(b.parentBranch==="above"||b.parentBranch==="below")return Au(a,we)}return cc(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}),Nu({moveToNextPlaceholder:a=>Jf(a,"forward"),moveToPreviousPlaceholder:a=>Jf(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function _0(a,y,b,E){if(E==="forward"){let ae=y.rightSibling;for(;ae&&!b(ae);)ae=ae.rightSibling;return ae}let ee=y.leftSibling;for(;ee&&!b(ee);)ee=ee.leftSibling;return ee}function qf(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1,ae="";for(;!ee;){const se=a.at(E);ee=y===0||se===void 0||se.type==="first"||se.mode!=="math"||!(se.type&&/mord|mpunct|operator/.test(se.type)||se.type==="mop"&&/[a-zA-Z ]+/.test(se.value))||!se.hasEmptyBranch("superscript")||!se.hasEmptyBranch("subscript")||typeof b=="function"&&!b(se),ee||(se.mode="text",se.command=se.value,se.verbatimLatex=void 0,ae+=se.value),E-=1,y-=1}a.contentDidChange({data:ae,inputType:"insertText"})}function yd(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1;const ae=[];for(;!ee;){const se=a.at(E);ee=y===0||!se||se.type==="first"||se.isFirstSibling||se.mode!=="text"||se.value===" "||typeof b=="function"&&!b(se),ee||(ae.push(oi.serialize([se],{defaultMode:"math"})),se.mode="math"),E-=1,y-=1}Fh(a),a.contentDidChange({data:Eo(ae),inputType:"insertText"})}function Fh(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 Jg(a){let y="",b=a.position,E=!1;for(;!E;){const ee=a.at(b);E=!(ee&&(ee.mode==="text"||ee.mode==="math"&&ee.type&&/mord|mpunct/.test(ee.type))),E||(y=ee.value+y),b-=1}return y}function qg(a,y,b){const{model:E}=a;if(E.mode==="latex"||!E.at(E.position).isLastSibling||!b||!Lf(b))return!1;const ee=Bd(b);if(!E.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(ee));const ae=Jg(E)+ee;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(ee))return!0;if(/[\^_]/.test(ee))return/(^|\s)[a-zA-Z][^_]$/.test(ae)&&yd(E,1),!0;const se={")":"(","}":"{","]":"["}[ee],{parent:ge}=E.at(E.position);if(se&&ge instanceof vl&&ge.leftDelim===se)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(ae))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(ee))return!0;if(/(^|[^a-zA-Z'’])[a-zA-Z] $/.test(ae))return yd(E,1),!1;if(/\D\.[^\d\s]$/.test(ae)){yd(E,1);const we=E.at(E.position);return we.value="\u22C5",we.style.variant="normal",we.command="\\cdot",we.verbatimLatex=void 0,E.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(ae)||/\.\d$/.test(ae)||/\([\d+\-.]$/.test(ae))return yd(E,1),!0;if(/\([a-z][,;]$/.test(ae))return yd(E,2),!0;if(/[\d+\-=><*|]$/.test(ee))return Fh(E),!0}else{if(y==="[Space]")return qf(E,void 0,se=>/[a-z][:,;.]$/.test(se.value)),!0;if(/[a-zA-Z]{3,}$/.test(ae)&&!/(dxd|abc|xyz|uvw)$/.test(ae))return qf(E,void 0,se=>/[a-zA-Z]/.test(se.value)),!0;if(/(^|\W)(if)$/i.test(ae))return qf(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(ae)&&!/(αβγ)$/.test(ae))return qf(E,void 0,se=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(se.value)),!0;if(ee==="?"||ee==="."&&!/[\d-+]\.$/.test(ae))return!0}return!1}function $g(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=j0(),E=a.element.getBoundingClientRect();b.style.left=`${E.left}px`,b.style.top=`${E.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(Ch(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 ev(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=j0();y.innerHTML=""}else{const y=Nf("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function j0(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(Ou("keystroke-caption"),Ou("core"),Nf("mathlive-keystroke-caption-panel"))}function tv(){document.getElementById("mathlive-keystroke-caption-panel")&&(Sh("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function V0(a,y){var b,E,ee;const{model:ae}=a,se=y0(y);if(y.isTrusted){jm(y);const Mn=sf();a.keyboardLayout!==Mn.id&&(a.keyboardLayout=Mn.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,$g(a,se),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let ge,we="",Pe;const je=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(ae.mode==="math")if(se==="[Backspace]")je.pop();else if(!Lf(y))a.flushInlineShortcutBuffer();else{const Mn=Bd(y),On=[...(E=(b=je[je.length-1])==null?void 0:b.keystrokes)!=null?E:[],Mn];je.push({state:ae.getState(),keystrokes:On,leftSiblings:nv(a)});let zr=0,Wi="";for(;!ge&&zr<On.length;)Pe=je.length-(On.length-zr),Wi=On.slice(zr).join(""),ge=sd(je[Pe].leftSiblings,Wi,a.options.inlineShortcuts),!ge&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(Wi)&&(ge=a.options.onInlineShortcut(a,Wi)),zr+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(ge?a.switchMode("math"):qg(a,se,y)&&(a.switchMode({math:"text",text:"math"}[ae.mode]),we=""))}if(!ge){if(we||(we=Jm(a.keybindings,ae.mode,y)),!we&&(se==="[Enter]"||se==="[Return]")){let Mn=!1;return ae.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(Mn=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),Mn||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),ae.contentDidChange({inputType:"insertLineBreak"})),Mn}if((!we||se==="[Space]")&&ae.mode==="math"){if(se==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return ho.insert(ae,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),we="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const Mn=ae.at(ae.position+1),On=ae.at(ae.position-1);if((Mn==null?void 0:Mn.mode)==="text"||(On==null?void 0:On.mode)==="text")return ho.insert(ae," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(ee=ae.at(ae.position))!=null&&ee.isDigit()&&window.MathfieldElement.decimalSeparator===","&&Bd(y)===","&&(we="insertDecimalSeparator")}}if(!ge&&!we){if(ae.mathfield.smartFence){if(Nh(ae,Bd(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:Mn}=ae.at(ae.position);if(Mn instanceof vl&&Mn.rightDelim==="?"&&ae.at(ae.position).isLastSibling&&/^[)}\]|]$/.test(se))return a.snapshot(),Mn.isDirty=!0,Mn.rightDelim=se,ae.position+=1,ae.selectionDidChange(),ae.contentDidChange({data:Bd(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!ae.selectionIsCollapsed){const On=Bd(y);if(On==="("||On==="{"||On==="["){const zr={"(":"(","{":"\\lbrace","[":"\\lbrack"}[On],Wi={"(":")","{":"\\rbrace","[":"\\rbrack"}[On],[Pr,yi]=Ks(ae.selection);return a.snapshot(),ae.position=yi,ho.insert(ae,Wi,{format:"latex"}),ae.position=Pr,ho.insert(ae,zr,{format:"latex"}),ae.setSelection(Pr+1,yi+1),ae.contentDidChange({data:On,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const At=ae.at(Math.max(ae.position,ae.anchor)),{parent:en}=At;if(we==="moveAfterParent"&&(en==null?void 0:en.type)==="leftright"&&At.isLastSibling&&a.options.smartFence&&Nh(ae,".",a.defaultStyle)&&(we="",xs(a)),a.keyboardDelegate.cancelComposition(),we)a.executeCommand(we);else if(ge){const Mn=a.effectiveStyle;ae.setState(je[Pe].state);const On=je[je.length-1].keystrokes;for(const zr of On)ho.insert(ae,zr,{silenceNotifications:!0,style:Mn});a.snapshot("insert-shortcut"),ae.setState(je[Pe].state),ae.deferNotifications({content:!0,selection:!0,data:ge,type:"insertText"},()=>(ho.insert(ae,ge,{format:"latex",style:Mn}),Fh(a.model),ge.endsWith(" ")&&(a.switchMode("text"),ho.insert(ae," ",{style:Mn,mode:"text"})),a.snapshot(),ae.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,ae.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 ee=cu(y);const ae=window.mathVirtualKeyboard;if(ae!=null&&ae.isShifted&&(ee=typeof ee=="string"?ee.toUpperCase():ee.map(we=>we.toUpperCase())),b.simulateKeystroke){let we=!0;for(const Pe of ee)V0(a,new KeyboardEvent("keypress",{key:Pe}))&&(we=!1);if(we)return}const se=E.at(E.position),ge=ye(ye({},se.computedStyle),a.defaultStyle);if(E.selectionIsCollapsed||(E.deleteAtoms(Ks(E.selection)),a.snapshot("delete")),E.mode==="latex")E.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Of(a);for(const we of ee)ho.insert(E,we);a.snapshot("insert-latex"),cf(a)});else if(E.mode==="text"){for(const we of ee)ho.insert(E,we,{style:ge});a.snapshot("insert-text")}else if(E.mode==="math")for(const we of ee)rv(a,we,ge,se);a.dirty=!0,a.scrollIntoView()}function nv(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 rv(a,y,b,E){const ee=a.model;let ae={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(ae=["insert",a.options.mathModeSpace]),ae){a.executeCommand(ae);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){iv(ee),ho.insert(ee,y,{style:b}),a.snapshot(),K0(ee),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const se=a.adoptStyle==="left"?E:E.parent?E.rightSibling:null;(se==null?void 0:se.type)==="mord"&&/[a-zA-Z0-9]/.test(se.value)&&(b=ye({},b),se.style.variant&&(b.variant=se.style.variant),se.style.variantStyle&&(b.variantStyle=se.style.variantStyle))}ho.insert(ee,y,{style:b}),a.snapshot(`insert-${ee.at(ee.position).type}`)}function iv(a){a.selectionIsCollapsed||(a.deleteAtoms(Ks(a.selection)),a.mathfield.snapshot("delete"))}function Nh(a,y,b){if(!y||a.mode!=="math")return!1;const E=a.at(a.position),{parent:ee}=E,ae={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!ae)return!1;const se=te[ae],ge=re[ae];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[we,Pe]=Ks(a.selection),je=a.extractAtoms([we,Pe]),At=ee.addChildrenAfter([new vl("left...right",je,{leftDelim:ae,rightDelim:ge})],a.at(we));return a.setSelection(a.offsetOf(At.firstChild),a.offsetOf(At.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ae,inputType:"insertText"}),!0}if(ae==="|"){const we=ee instanceof vl?ee.leftDelim+ee.rightDelim:"";if(we==="\\lbrace\\rbrace"||we==="\\{\\}"||we==="\\lbrace?")return a.mathfield.snapshot(),ho.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ae,inputType:"insertText"}),!0}if(ge){if(ee instanceof vl&&ee.firstChild===E&&(ee.leftDelim==="?"||ee.leftDelim==="."))return ee.leftDelim=ae,ee.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:ae,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(ee instanceof vl)){let At=E;for(;At&&!(At.type==="mclose"&&At.value===ge);)At=At.rightSibling;if(At){a.mathfield.snapshot();const en=a.extractAtoms([a.offsetOf(E),a.offsetOf(At)]);return en.pop(),ee.addChildrenAfter([new vl("left...right",en,{leftDelim:ae,rightDelim:ge})],E),a.position=a.offsetOf(ee.firstChild)+1,a.contentDidChange({data:ae,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const we=a.offsetOf(E.lastSibling);let Pe;for(Pe=a.position;Pe<=we;Pe++){const At=a.at(Pe);if(At instanceof vl&&(At.leftDelim==="?"||At.leftDelim===".")&&G0(ae,At.rightDelim))break}const je=a.at(Pe);if(Pe<=we&&je instanceof vl){je.leftDelim=ae,a.mathfield.snapshot();let At=a.extractAtoms([a.position,Pe-1]);return At=At.filter(en=>en.type!=="first"),je.addChildren(At,je.parentBranch),a.position+=1,a.contentDidChange({data:ae,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(ee instanceof vl&&(ee.leftDelim==="?"||ee.leftDelim===".")&&G0(ae,ee.rightDelim)){ee.isDirty=!0,ee.leftDelim=ae,a.mathfield.snapshot();const At=a.extractAtoms([a.offsetOf(E.firstSibling),a.position]);for(const en of At)ee.parent.addChildBefore(en,ee);return a.contentDidChange({data:ae,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(ee instanceof vl&&ee.leftDelim==="|")){if(a.mathfield.snapshot(),ho.insert(a,`\\left${ae}\\right?`,{format:"latex",style:b}),E.lastSibling.type!=="first"){const At=a.offsetOf(E.lastSibling),en=a.extractAtoms([a.position,At]);a.at(a.position).body=en,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(se){let we=E;for(;we;){if(we.type==="mopen"&&we.value===se){a.mathfield.snapshot();const Mn=we.leftSibling,On=a.extractAtoms([a.offsetOf(we.leftSibling),a.offsetOf(E)]);On.shift();const zr=new vl("left...right",On,{leftDelim:se,rightDelim:ae});return ee.addChildrenAfter([zr],Mn),a.position=a.offsetOf(zr),a.contentDidChange({data:ae,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}we=we.leftSibling}if(ee instanceof vl&&E.isLastSibling&&Th(ee.leftDelim,ae))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=ae,a.position+=1,a.contentDidChange({data:ae,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Pe=a.offsetOf(E.firstSibling);let je;for(je=a.position;je>=Pe;je--){const Mn=a.at(je);if(Mn instanceof vl&&(Mn.rightDelim==="?"||Mn.rightDelim===".")&&Th(Mn.leftDelim,ae))break}const At=a.at(je);if(je>=Pe&&At instanceof vl)return a.mathfield.snapshot(),At.rightDelim=ae,At.addChildren(a.extractAtoms([je,a.position]),At.parentBranch),a.contentDidChange({data:ae,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(ee instanceof vl&&(ee.rightDelim==="?"||ee.rightDelim===".")&&Th(ee.leftDelim,ae))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=ae,ee.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(E.lastSibling)]),ee.parentBranch),a.position=a.offsetOf(ee),a.contentDidChange({data:ae,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const en=ee.parent;return en instanceof vl&&(en.rightDelim==="?"||en.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(en),Nh(a,ae,b)):!1}return!1}function Th(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):re[a]===y:!0}function G0(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):te[y]===a:!0}Nu({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:ev,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 ee="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ae=0;for(;E.includes(ee)&&ae<100;){if(ae===99)return console.error("could not find a unique ID after 100 tries"),!1;ee="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ae++}return a.insert(`\\placeholder[${y!=null?y:ee}]{}`,b),!0}}),Nu({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"}),Nu({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})&&(cf(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),xs(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function av(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Rh(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=ye(ye({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{E.selection.ranges.forEach(ee=>Bh(E,ee,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Nu({applyStyle:av},{target:"mathfield",canUndo:!0,changeContent:!0});function Rh(a,y){var b,E,ee,ae,se,ge,we,Pe,je,At;const en={};if(typeof y.color=="string"){const On=(E=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?E:"none";On!==y.color&&(en.verbatimColor=(ee=y.verbatimColor)!=null?ee:y.color),en.color=On}if(typeof y.backgroundColor=="string"){const On=(se=a.backgroundColorMap((ae=y.backgroundColor)!=null?ae:y.verbatimBackgroundColor))!=null?se:"none";On!==y.backgroundColor&&(en.verbatimBackgroundColor=(ge=y.verbatimBackgroundColor)!=null?ge:y.backgroundColor),en.backgroundColor=On}typeof y.fontFamily=="string"&&(en.fontFamily=y.fontFamily),typeof y.series=="string"&&(en.fontSeries=y.series),typeof y.fontSeries=="string"&&(en.fontSeries=y.fontSeries.toLowerCase()),en.fontSeries&&(en.fontSeries=(we={bold:"b",medium:"m",normal:"m"}[en.fontSeries])!=null?we:en.fontSeries),typeof y.shape=="string"&&(en.fontShape=y.shape),typeof y.fontShape=="string"&&(en.fontShape=y.fontShape.toLowerCase()),en.fontShape&&(en.fontShape=(Pe={italic:"it",up:"n",upright:"n",normal:"n"}[en.fontShape])!=null?Pe:en.fontShape),y.variant&&(en.variant=y.variant.toLowerCase()),y.variantStyle&&(en.variantStyle=y.variantStyle.toLowerCase());const Mn=(je=y.size)!=null?je:y.fontSize;return typeof Mn=="number"?en.fontSize=Math.max(1,Math.min(10,Mn)):typeof Mn=="string"&&(en.fontSize=(At={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[Mn.toLowerCase()])!=null?At:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[Mn]),en}function zh(a){let[y,b]=Ks(a.selection);if(y=U0(a,y,"backward"),b=U0(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 U0(a,y,b){var E,ee,ae;let se=a.at(y);if(!se)return y;const ge=b==="forward"?1:-1;if(se.mode==="text"){for(;se&&!(se.mode!=="text"||!fe.test(se.value));)y+=ge,se=a.at(y);return b==="backward"?y-1:y}if(se.mode==="latex"){if(/[a-zA-Z\*]/.test(se.value))if(b==="backward")for(;se&&se.mode==="latex"&&se.value!=="\\"&&/[a-zA-Z]/.test(se.value);)y+=ge,se=a.at(y);else for(;se&&se.mode==="latex"&&/[a-zA-Z\*]/.test(se.value);)y+=ge,se=a.at(y);else if(se.value==="{"){if(b==="forward"){for(;se&&se.mode==="latex"&&se.value!=="}";)y+=ge,se=a.at(y);return y}return y-1}else if(se.value==="}"){if(b==="backward"){for(;se&&se.mode==="latex"&&se.value!=="{";)y+=ge,se=a.at(y);return y-1}return y}return y-1}if(se.mode==="math"){if(se.isDigit()){for(;(E=a.at(y+ge))!=null&&E.isDigit();)y+=ge;return b==="backward"?y-1:y}if(se.style.variant||se.style.variantStyle){let we=(ee=a.at(y))==null?void 0:ee.style;for(;we&&we.variant===se.style.variant&&we.variantStyle===se.style.variantStyle;)we=(ae=a.at(y+ge))==null?void 0:ae.style,y+=ge;return b==="backward"?y-1:y}return y}return y}Nu({selectGroup:a=>{const y=zh(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Sc(a,"forward",{extend:!0}),extendSelectionBackward:a=>Sc(a,"backward",{extend:!0}),extendToNextWord:a=>Nd(a,"forward",{extend:!0}),extendToPreviousWord:a=>Nd(a,"backward",{extend:!0}),extendSelectionUpward:a=>Sc(a,"upward",{extend:!0}),extendSelectionDownward:a=>Sc(a,"downward",{extend:!0}),extendToNextBoundary:a=>Nd(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Nd(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 bd=null,gf=0,$f=class rc{static start(y,b,E,ee){var ae;rc.element=y,(ae=rc.controller)==null||ae.abort(),rc.controller=new AbortController;const se={signal:rc.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",E,se),y.addEventListener("pointerup",ee,se),y.addEventListener("pointercancel",ee,se),Hh(b)&&(rc.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",E,se),window.addEventListener("blur",ee,se),window.addEventListener("mouseup",ee,se))}static stop(){var y;(y=rc.controller)==null||y.abort(),rc.controller=void 0,typeof rc.pointerId=="number"&&(rc.element.releasePointerCapture(rc.pointerId),rc.pointerId=void 0)}};function Hh(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 ee,ae=!1,se=!1,ge="none",we=!1,Pe=!1;const je=y.clientX,At=y.clientY,en=Date.now(),Mn=E.field,On=setInterval(()=>{we?Mn.scroll({top:0,left:Mn.scrollLeft-16}):Pe&&Mn.scroll({top:0,left:Mn.scrollLeft+16})},32);function zr(){$f.stop(),ae=!1,clearInterval(On),a.element.classList.remove("tracking"),y&&y.preventDefault()}function Wi(yi){if(!E.hasFocus()){zr();return}const Ui=yi.clientX,Mi=yi.clientY,Pa=Hh(yi)&&yi.pointerType==="touch"?20:5;if(Date.now()<en+500&&Math.abs(je-Ui)<Pa&&Math.abs(At-Mi)<Pa){yi.preventDefault(),yi.stopPropagation();return}const Ga=Mn.getBoundingClientRect();Pe=Ui>Ga.right,we=Ui<Ga.left;let Ha=ee;Hh(yi)&&(yi.isPrimary||(Ha=vf(E,yi.clientX,yi.clientY,{bias:0})));const Xo=vf(E,Ui,Mi,{bias:Ui<=je?Ui===je?0:-1:1});Ha>=0&&Xo>=0&&(E.model.extendSelectionTo(Ha,Xo),xs(a)),se&&zh(E.model)}bd&&Math.abs(bd.x-je)<5&&Math.abs(bd.y-At)<5&&Date.now()<bd.time+500?(gf+=1,bd.time=en):(bd={x:je,y:At,time:en},gf=1);const Pr=Mn.getBoundingClientRect();if(je>=Pr.left&&je<=Pr.right&&At>=Pr.top&&At<=Pr.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",ee=vf(a,je,At,{bias:0}),ee>=0){if(a.element.classList.add("tracking"),y.shiftKey){const yi=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,ee),C0(a.model)||yi?ge="all":ge="selection"}else a.model.at(ee).type==="placeholder"?(a.model.setSelection(ee-1,ee),ge="selection"):((b=a.model.at(ee).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(ee,ee+1),ge="selection"):(a.model.position=ee,C0(a.model)?ge="all":ge="selection");a.defaultStyle={},y.detail===3||gf>2?(zr(),(y.detail===3||gf===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},ge="all")):ae||(ae=!0,$f.start(Mn,y,Wi,zr),(y.detail===2||gf===2)&&(se=!0,zh(a.model),ge="all"))}a.hasFocus()||(ge="none",a.focus({preventScroll:!0}))}else bd=null;a.stopCoalescingUndo(),ge!=="none"&&(a.model.selectionIsCollapsed&&(ge="all"),xs(a)),y.preventDefault()}function ov(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,ee=y-(b.top+b.bottom)/2;return E*E+ee*ee}function Q0(a,y,b,E,ee){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const ae=Qc(a,b);if(!ae)return[1/0,null];let se=[1/0,null];if(b.hasChildren&&!b.captureSelection&&E>=ae.left&&E<=ae.right)for(const ge of b.children){const we=Q0(a,y,ge,E,ee);we[0]<=se[0]&&(se=we)}return se[1]||(se=[ov(E,ee,ae),b]),y.set(b.id,se),se}function lv(a,y,b){const[,E]=Q0(a,new Map,a.model.root,y,b);return E}function vf(a,y,b,E){var ee;const ae=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!ae)return 0;if(y>ae.right||b>ae.bottom+8)return a.model.lastOffset;if(y<ae.left||b<ae.top-8)return 0;E=E!=null?E:{},E.bias=(ee=E.bias)!=null?ee:0;let se=lv(a,y,b);const ge=[];let we=se;for(;we;)ge.unshift(we),we=we.parent;for(const je of ge)if(je.captureSelection){se=je;break}let Pe=a.model.offsetOf(se);if(Pe<0)return-1;if(se.leftSibling)if(E.bias===0&&se.type!=="placeholder"){const je=Qc(a,se);je&&y<(je.left+je.right)/2&&(Pe=a.model.offsetOf(se.leftSibling))}else E.bias<0&&(Pe=a.model.offsetOf(se.leftSibling));return Pe}var sv=class extends ho{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",ee=typeof y!="string"?y.getData("application/json+mathlive"):"";if(ee)try{const ae=JSON.parse(ee);if(ae&&Array.isArray(ae)){a.snapshot();const se=qc(ae),{model:ge}=a;ge.selectionIsCollapsed||ge.deleteAtoms(Ks(ge.selection));const we=ge.at(ge.position);if(we.parent instanceof go){console.assert(we.parentBranch!==void 0);const Pe=[];let je=[];se[0].type==="first"&&se.shift(),se[se.length-1].type==="first"&&se.pop();for(const On of se)On.type==="first"&&je.length>0?(Pe.push(je),je=[On]):je.push(On);je.length>0&&Pe.push(je);let At=Number(we.parentBranch[0]),en=Number(we.parentBranch[1]);const Mn=we.parent.maxColumns;for(;we.parent.colCount-en<Pe.length&&we.parent.colCount<Mn;)we.parent.addColumn();we.parent.addChildrenAfter(Pe[0],we);for(let On=1;On<Pe.length;On++)en++,en>=Mn&&(en=0,we.parent.addRowAfter(At),At++),we.parent.setCell(At,en,Pe[On])}else we.parent.addChildrenAfter(se.filter(Pe=>Pe.type!=="first"),we);return ge.position=ge.offsetOf(se[se.length-1]),ge.contentDidChange({inputType:"insertFromPaste"}),xs(a),!0}}catch(ae){}if(ee=typeof y!="string"?y.getData("application/json"):"",ee&&window.MathfieldElement.computeEngine)try{const ae=JSON.parse(ee);if(typeof ae=="object"&&"latex"in ae&&ae.latex&&(b=ae.latex),!b){const se=window.MathfieldElement.computeEngine.box(ae);se&&!se.has("Error")&&(b=se.latex)}b||(E="latex")}catch(ae){}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 ae;return[ae,b]=Zs(b),E==="auto"&&ae&&(E="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:E})&&(a.startRecording(),a.snapshot("paste"),xs(a)),a.startRecording(),!0}return!1}insert(a,y,b){var E,ee;const ae=typeof y=="string"?y:(ee=(E=window.MathfieldElement.computeEngine)==null?void 0:E.box(y).latex)!=null?ee:"";if(!b.silenceNotifications&&!a.contentWillChange({data:ae,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:se}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ge=a.silenceNotifications;a.silenceNotifications=!0;const we={"?":"\\placeholder{}","@":"\\placeholder{}"};we[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ks(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 Pe=-1;we[0]?we["@"]=we[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(Pe=cv(a),Pe>=0&&(we["@"]=a.getValue(Pe,a.position,"latex"))),we[0]||(we[0]=we["?"]);let je=!1;const At=Ui=>(je=!0,we[Ui]);let[en,Mn]=X0(a,y,At,b);if(!Mn)return!1;const On=Mn.length===1&&Mn[0].type==="genfrac";On&&Pe>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(we["@"]=we["?"],je=!1,[en,Mn]=X0(a,y,At,b)):Pe>=0&&a.deleteAtoms([Pe,a.position]);const{parent:zr}=a.at(a.position),Wi=zr.hasEmptyBranch("body");if(On&&en!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&zr instanceof vl&&zr.leftDelim==="("&&Wi){const Ui=zr.parent,Mi=zr.parentBranch;Ui.removeChild(zr),Ui.setChildren(Mn,Mi)}const Pr=a.at(a.position);Pr.parent.addChildrenAfter(Mn,Pr),en==="latex"&&typeof y=="string"&&(zr==null?void 0:zr.type)==="root"&&Wi&&!je&&(zr.verbatimLatex=y),a.silenceNotifications=ge;const yi=Mn[Mn.length-1];if(b.selectionMode==="placeholder"){const Ui=Mn.flatMap(Mi=>[Mi,...Mi.children]).find(Mi=>Mi.type==="placeholder");if(Ui){const Mi=a.offsetOf(Ui);a.setSelection(Mi-1,Mi),a.announce("move")}else yi&&(a.position=a.offsetOf(yi))}else b.selectionMode==="before"||(b.selectionMode==="after"?yi&&(a.position=a.offsetOf(yi)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(yi)));return a.contentDidChange({data:ae,inputType:"insertText"}),a.silenceNotifications=se,!0}};function X0(a,y,b,E){var ee;let ae,se=[];if(typeof y!="string"||E.format==="math-json"){const ge=window.MathfieldElement.computeEngine;if(!ge)return["math-json",[]];[ae,y]=["latex",ge.box(y).latex],se=Xs(y,{context:a.mathfield.context})}else typeof y=="string"&&E.format==="ascii-math"?([ae,y]=Na(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),se=Xs(y,{context:a.mathfield.context}),ae!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&eh(se)):(E.format==="auto"||(ee=E.format)!=null&&ee.startsWith("latex"))&&(E.format==="auto"&&([ae,y]=Na(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),E.format==="latex"&&([,y]=Zs(y)),se=Xs(y,{context:a.mathfield.context,args:b}),E.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&eh(se));return ed(se,E.style),[ae!=null?ae:"latex",se]}function uv(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof vl&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function eh(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof vl&&b.leftDelim==="("){let E=0,ee=0,ae=0;for(let se=0;b.body[se];se++)b.body[se].type==="genfrac"&&(E++,ee=se),ae++;ae===0&&E===1&&(a[y]=b.body[ee])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){eh(y.branch(b));const E=uv(y.branch(b));E&&y.setChildren(E,b)}if(y instanceof go)for(const b of y.cells)eh(b)}}}function cv(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 ee=te[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===ee);)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 ee=[];for(;!y.isFirstSibling&&(J0(y)||ee.length>0);)y.type==="mclose"&&ee.unshift(y.value),y.type==="mopen"&&ee.length>0&&y.value===te[ee[0]]&&ee.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 sv;var dv=class extends ho{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"),xs(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 ee=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ks(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 ae=fv(y,a.mathfield.context);if(ed(ae,b.style),!ae)return!1;const se=a.at(a.position),ge=se.parent.addChildrenAfter(ae,se);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(ge)):ge&&(a.position=a.offsetOf(ge))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function fv(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 "),Xs(a,{context:y,parseMode:"text"})}new dv;function Ec(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var Xl=4,Bu=20,_s=2*(Bu+Xl),th=(a,y)=>`
|
|
|
<line x1="${a+Bu}" y1="${y+Bu}"
|
|
|
x2="${a>y?a+Bu:7*Bu+10*Xl}"
|
|
|
y2="${a<y?y+Bu:7*Bu+10*Xl}"/>
|
|
|
<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+Bu}" y1="${y+Bu}"
|
|
|
x2="${a>y?a+Bu:7*Bu+10*Xl}"
|
|
|
y2="${a<y?y+Bu:7*Bu+10*Xl}"/>
|
|
|
<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>`,nh=(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>`,hv=`
|
|
|
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
viewBox=
|
|
|
"-2 -2 ${8*Bu+10*Xl+5} ${8*Bu+10*Xl+5}">
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background rows"
|
|
|
x="0"
|
|
|
y="${_s+Xl}"
|
|
|
height="${3*_s}"
|
|
|
width="${_s}"
|
|
|
rx="${_s/2}"/>
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background columns"
|
|
|
x="${_s+Xl}"
|
|
|
y="0"
|
|
|
height="${_s}"
|
|
|
width="${3*_s}"
|
|
|
rx="${_s/2}"/>
|
|
|
<g data-command='"moveDown"'>
|
|
|
${nh(2*(Xl+_s),2*Xl+3*_s,0)}
|
|
|
</g>
|
|
|
<g data-command='"moveUp"'>
|
|
|
${nh(2*(Xl+_s),2*Xl+_s,180)}
|
|
|
</g>
|
|
|
<g data-command='"moveToNextWord"'>
|
|
|
${nh(2*Xl+3*_s,2*(Xl+_s),-90)}
|
|
|
</g>
|
|
|
<g data-command='"moveToPreviousWord"'>
|
|
|
${nh(2*Xl+_s,2*(Xl+_s),90)}
|
|
|
</g>
|
|
|
<g>
|
|
|
|
|
|
<g data-command='"addColumnBefore"'>
|
|
|
${th(2*Xl+_s,Xl)}
|
|
|
</g>
|
|
|
<g data-command='"removeColumn"'>
|
|
|
${q0(2*Xl+2*_s,Xl)}
|
|
|
</g>
|
|
|
<g data-command='"addColumnAfter"'>
|
|
|
${th(2*Xl+3*_s,Xl)}
|
|
|
</g>
|
|
|
<g data-command='"addRowBefore"'>
|
|
|
${th(Xl,2*Xl+_s)}
|
|
|
</g>
|
|
|
<g data-command='"removeRow"'>
|
|
|
${q0(Xl,2*Xl+2*_s)}
|
|
|
</g>
|
|
|
<g data-command='"addRowAfter"'>
|
|
|
${th(Xl,2*Xl+3*_s)}
|
|
|
</g>
|
|
|
</svg>`,pv=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>`,mv=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>`,gv=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>`,vv=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>`,yv=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>`,bv=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>`,xv=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>`,Kh={matrix:pv,pmatrix:mv,bmatrix:gv,Bmatrix:$0,vmatrix:vv,Vmatrix:yv},Zh={cases:bv,rcases:xv,Bmatrix:$0};function Cv(a){var y,b;const E=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!E)return;let ee=0;E.forEach(On=>{(!ee||On.length>ee)&&(ee=On.length)});let ae=document.getElementById("mathlive-environment-popover");ae||(ae=Nf("mathlive-environment-popover"),Ou("environment-popover"),Ou("core"),ae.setAttribute("aria-hidden","true"));let se;const ge=ae.querySelector(".MLEP__environment-controls");ge?se=ge:(se=document.createElement("div"),ae.innerHTML="",ae.appendChild(se)),se.className="MLEP__environment-controls",se.style.display="flex",se.style.width="100%",se.style.height="100%",se.style.boxSizing="border-box",se.innerHTML=hv;let we=[],Pe="";const je=a.model.parentEnvironment.environmentName;if(gu(je)){const On=Sv(je);Pe=Kh[On]("active");const zr=Kh,{[On]:Wi}=zr,Pr=ht(zr,[Re(On)]);we=Object.values(Pr).map(yi=>yi("inactive"))}else if(vu(je)){const On=Ev(je);Pe=Zh[On]("active");const zr=Zh,{[On]:Wi}=zr,Pr=ht(zr,[Re(On)]);we=Object.values(Pr).map(yi=>yi("inactive"))}else Ns(je)&&(Pe=Kh.matrix("active"),we=Object.values(Zh).map(On=>On("inactive")));const At=document.createElement("div");At.className="MLEP__environment-delimiter-controls",At.style.display="flex",At.style.flexDirection="column",At.innerHTML=`
|
|
|
<div class='MLEP__array-delimiter-options'>
|
|
|
${Pe}
|
|
|
${we.join("")}
|
|
|
</div>`,Pe&&se.appendChild(At),se.querySelectorAll("[data-command]").forEach(On=>{const zr=On.dataset.command;let Wi=zr;try{Wi=JSON.parse(zr)}catch(Pr){}On.addEventListener("mousedown",Pr=>Pr.preventDefault()),Wi&&On.addEventListener("click",()=>a.executeCommand(Wi))});const Mn=(b=a.field)==null?void 0:b.getBoundingClientRect();Mn&&(ae.style.top=`${window.scrollY+(Mn.top-ae.clientHeight-15)}px`,ae.style.left=`${Mn.left+20}px`,ae.classList.add("is-visible"))}function Wh(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function wv(){document.getElementById("mathlive-environment-popover")&&(Sh("mathlive-environment-popover"),x("environment-popover"),x("core"))}function rh(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&ds(b.environmentName)){const E=a.options.environmentPopoverPolicy;y=E==="auto"||E==="on"}}y?Cv(a):Wh()}function Sv(a){return a.replace("*","")}function Ev(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 Av(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 Mv(a,y){var b,E,ee;const ae=(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 se=a.getBoundingClientRect(),ge=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let we=Math.min(ge,(E=y.height)!=null?E:se.height),Pe=_h(y.location.y,we,y.verticalPos,ae);Pe+we>window.innerHeight-8&&(y.alternateLocation?(Pe=_h(y.alternateLocation.y,we,y.verticalPos,ae),Pe+we>window.innerHeight-8&&(Pe=void 0)):Pe=void 0),Number.isFinite(Pe)||(Pe=Math.max(8,window.innerHeight-8-we),8+we>window.innerHeight-8&&(a.style.bottom="8px")),we=Math.min(Pe+we,window.innerHeight-8)-Pe;const je=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let At=Math.min(je,(ee=y.width)!=null?ee:se.width),en=_h(y.location.x,At,y.horizontalPos,ae);en+At>window.innerWidth-8&&(y.alternateLocation?(en=Av(y.alternateLocation.x,At,y.verticalPos,ae),en+At>window.innerWidth-8&&(en=void 0)):en=void 0),Number.isFinite(en)||(en=Math.max(8,window.innerWidth-8-At),8+At>window.innerWidth-8&&(a.style.right="8px")),At=Math.min(en+At,window.innerWidth-8)-en,ae==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-en-At).toString()}px`:a.style.left=`${Math.ceil(en).toString()}px`,a.style.top=`${Math.ceil(Pe).toString()}px`,we!==se.height&&(a.style.height=`${Math.ceil(we).toString()}px`),At!==se.width&&(a.style.width=`${Math.ceil(At).toString()}px`)}function kv(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function Td(a){return"submenu"in a}function Ac(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function jh(a){return"type"in a&&a.type==="divider"}function Vh(a){return"type"in a&&a.type==="heading"}var np={};function Gh(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,ip=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,Td(a)?(this.type="submenu",this.submenu=new ap(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=Ac(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 ee=this._declaration;if(jh(ee)){this.enabled=!1,this.checked=!1;return}Vh(ee)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Ac(ee)&&(this.checked=Ac(ee)&&((y=Rd(ee.checked,a))!=null?y:!1)),(Ac(ee)||Td(ee))&&(this.enabled=(b=Rd(ee.enabled,a))!=null?b:!0,this.visible=(E=Rd(ee.visible,a))!=null?E:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Ac(ee)||Vh(ee)||Td(ee))&&(this.label=Rd(ee.label,a),this.tooltip=Rd(ee.tooltip,a),this.ariaLabel=Rd(ee.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(Gh("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Gh("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),Ac(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=Ch(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Gh("trailing-chevron"))}get element(){if(this._element)return this._element;if(jh(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,(Ac(this._declaration)||Vh(this._declaration)||Td(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(!Ac(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(Dv(E,y.clientY-a.clientY,b)<=.2)return!1;let ae="right";if(this.submenu.element){const se=this.submenu.element.getBoundingClientRect(),ge=this.element.getBoundingClientRect();se.left<ge.left+ge.width/2&&(ae="left")}return ae==="right"?E>0:E<0}};function Dv(a,y,b){return Math.hypot(a,y)/b}function Rd(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var ap=class Vd{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var E,ee;this.parentMenu=(E=b==null?void 0:b.parentMenu)!=null?E:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(ee=b==null?void 0:b.columnCount)!=null?ee: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 ip(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,ee;this._menuItems.forEach(Pe=>Pe.updateState(y));const ae=this.hasCheck;this.hasCheck=this._menuItems.some(Pe=>Pe.visible&&Pe.hasCheck),this.hasCheck!==ae&&this._menuItems.forEach(Pe=>Pe.updateState(y));let se,ge=0;for(const Pe of this._menuItems)Pe.type==="heading"?(se&&ge===0&&(se.visible=!1),se=Pe,ge=0):Pe.type==="divider"&&se?(se.visible=ge>0,se=void 0,ge=0):se&&Pe.visible&&(ge+=1);se&&(se.visible=ge>0);let we=!0;for(const Pe of this._menuItems)Pe.type==="divider"?(Pe.visible=!we,we=!0):Pe.visible&&(we=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((E=this.activeMenuItem)!=null&&E.enabled)&&((ee=this.activeMenuItem)==null?void 0:ee.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,ee,ae;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const se=this.activeMenuItem;se.active=!1,(b=se.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?(ee=y.element)==null||ee.focus({preventScroll:!0}):(ae=this._element)==null||ae.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const E=this._menuItems;for(;!b&&y<=E.length-1;){const ee=E[y];b=ee.type!=="divider"&&ee.visible&&ee.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 ee=y[b];E=ee.type!=="divider"&&ee.visible&&ee.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 ee=this._menuItems.indexOf(this._activeMenuItem),ae=1;for(;ee>=b&&ee<=E;){ee+=y>0?1:-1;const se=this._menuItems[ee];if(!se)break;if(se.visible&&se.enabled){if(ae===Math.abs(y))return this._menuItems[ee];ae+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const E=this._menuItems.filter(ee=>ee.visible&&ee.enabled).indexOf(y);return E<0?-1:E%this.columnCount}static get collator(){return Vd._collator||(Vd._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),Vd._collator}findMenuItem(y){var b;this.updateIfDirty();const E=this._menuItems.filter(ge=>ge.type!=="divider"&&ge.visible&&ge.enabled);if(E.length===0)return null;const ee=Math.max(...E.map(ge=>ge.label.length))-y.length;if(ee<0)return null;let ae=null,se=0;for(;se<ee&&!ae;)ae=(b=E.find(ge=>Vd.collator.compare(y,ge.label.substring(se,y.length))===0))!=null?b:null,se++;return ae}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),Wt()&&(this.element.popover="manual",this.element.showPopover()),y.location&&Mv(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,ee,ae;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),Wt()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(E=(b=this.parentMenu)==null?void 0:b.element)==null||E.focus(),(ae=(ee=this._element)==null?void 0:ee.parentNode)==null||ae.removeChild(this._element)}set openSubmenu(y){var b,E,ee,ae;const se=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((E=this.activeMenuItem.element)==null||E.setAttribute("aria-expanded",se.toString())),(ae=(ee=this.activeMenuItem)==null?void 0:ee.element)==null||ae.classList.toggle("is-submenu-open",se),this.isSubmenuOpen=se}},op=class cm extends ap{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){Um(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=dd(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,E,ee;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=dd(y));let ae=!0;const se=this.activeSubmenu,ge=se.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":ge==null||ge.select(dd(y));break;case"ArrowRight":if((ge==null?void 0:ge.type)==="submenu")ge.select(dd(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!ge)se.activeMenuItem=se.firstMenuItem;else{const we=(b=se.getMenuItemColumn(ge))!=null?b:-1;if(we>=0&&we<((E=se.columnCount)!=null?E:1)-1){const Pe=se.nextMenuItem(1);Pe&&(se.activeMenuItem=Pe)}}break;case"ArrowLeft":if(se===this.rootMenu)ge||(se.activeMenuItem=se.firstMenuItem);else if((ge&&(ee=se.getMenuItemColumn(ge))!=null?ee:-1)<=0||!ge){se.hide();const Pe=se.parentMenu.activeMenuItem;if(Pe){const{element:je}=Pe;je==null||je.focus(),je==null||je.classList.remove("is-submenu-open")}}else{const Pe=se.nextMenuItem(-1);Pe&&(se.activeMenuItem=Pe)}break;case"ArrowDown":se.activeMenuItem=se.nextMenuItem(se.columnCount);break;case"ArrowUp":se.activeMenuItem=se.nextMenuItem(-se.columnCount);break;case"Home":case"PageUp":se.activeMenuItem=se.firstMenuItem;break;case"End":case"PageDown":se.activeMenuItem=se.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const we=se.findMenuItem(this.typingBuffer);we&&(se.activeMenuItem=we),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(Lf(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const we=se.findMenuItem(this.typingBuffer);we&&(se.activeMenuItem=we),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else ae=!1}ae&&(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 Cc.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),Cc.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),Cc.state==="open"&&Cc.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(Ee(ye({},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,Cc.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 Bv=op;function lp(a){return jh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Ac(a)||Td(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Ac(a)&&typeof a.checked=="function"?!0:Td(a)?a.submenu.some(lp):!1}var ih=class{};ih.DELAY=300,ih.MAX_DISTANCE=10;function Pv(a){return new Promise((y,b)=>{const E=If(a);E||y(!1);let ee=E;const ae=setTimeout(()=>{se.abort(),y(kv(ee,E)<ih.MAX_DISTANCE)},ih.DELAY),se=new AbortController,ge=se.signal;for(const we of["pointermove","pointerup","pointercancel"])window.addEventListener(we,Pe=>{if(Pe.type==="pointerup"||Pe.type==="pointercancel")clearTimeout(ae),se.abort(),y(!1);else if(Pe.type==="pointermove"){const je=If(Pe);je&&(ee=je)}},{passive:!0,signal:ge})})}function sp(a,y,b){return jc(this,null,function*(){if(a.type==="contextmenu"){const E=a;if(b.show({target:y,location:If(E),modifiers:dd(E)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const E=a;if(E.code==="ContextMenu"||E.code==="F10"&&E.shiftKey){const ee=y==null?void 0:y.getBoundingClientRect();if(ee&&b.show({target:y,location:{x:Math.ceil(ee.left+ee.width/2),y:Math.ceil(ee.top+ee.height/2)},modifiers:dd(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 ee=If(a);if(yield Pv(a))return b.state!=="closed"?!1:(b.show({target:y,location:ee}),!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};kt(Object.keys(up),"{body:auto}",{createAtom:a=>new z(Ee(ye({},a),{body:st(a.args[0]),accentChar:up[a.command.slice(1)]}))}),kt(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=et(st(a.args[0]));return new z(Ee(ye({},a),{body:st(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),kt(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new z(Ee(ye({},a),{body:st(a.args[0]),svgAccent:"overarc"}))}),kt(["underarc","underparen"],"{body:auto}",{createAtom:a=>new $u(Ee(ye({},a),{body:st(a.args[0]),svgBelow:"underarc"}))}),kt("utilde","{body:auto}",{createAtom:a=>{const y=st(a.args[0]),b=et(y),E="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new $u(Ee(ye({},a),{body:y,svgBelow:E,boxType:Uu(y)}))}}),kt("^","{:string}",{createAtom:a=>{var y;return new oi(Ee(ye({},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:"^"}))}}),kt("`","{:string}",{createAtom:a=>{var y;return new oi(Ee(ye({},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:"`"}))}}),kt("'","{:string}",{createAtom:a=>{var y;return new oi(Ee(ye({},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:"'"}))}}),kt('"',"{:string}",{createAtom:a=>{var y,b;return new oi(Ee(ye({},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]:'"'}))}}),kt(".","{:string}",{createAtom:a=>{var y,b;return new oi(Ee(ye({},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]:"."}))}}),kt("=","{:string}",{createAtom:a=>{var y,b;return new oi(Ee(ye({},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]:"="}))}}),kt("~","{:string}",{createAtom:a=>{var y;return new oi(Ee(ye({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"}))}}),kt("c","{:string}",{createAtom:a=>{var y;return new oi(Ee(ye({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),kt("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const E=a.args,ee={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 se=E[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const ge of se){const we=ge.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(we)ee.strokeWidth=we[1],ee.strokeStyle=we[2],ee.strokeColor=we[3];else{const Pe=ge.match(/\s*([a-z]*)\s*=\s*"(.*)"/);Pe&&(Pe[1]==="mathbackground"?ee.backgroundcolor=Pe[2]:Pe[1]==="mathcolor"?ee.strokeColor=Pe[2]:Pe[1]==="padding"?ee.padding=Pe[2]:Pe[1]==="shadow"&&(ee.shadow=Pe[2]))}}ee.strokeStyle==="dashed"?ee.svgStrokeStyle="5,5":ee.strokeStyle==="dotted"&&(ee.svgStrokeStyle="1,5")}ee.borderStyle=`${ee.strokeWidth} ${ee.strokeStyle} ${ee.strokeColor}`;const ae={};return((b=E[0])!=null?b:"").split(/[, ]/).filter(se=>se.length>0).forEach(se=>{ae[se.toLowerCase()]=!0}),new $d(a.command,st(E[2]),ae,ee)}}),kt("cancel","{body:auto}",{createAtom:a=>{var y;return new $d(a.command,st(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:{}})}}),kt("bcancel","{body:auto}",{createAtom:a=>{var y;return new $d(a.command,st(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:{}})}}),kt("xcancel","{body:auto}",{createAtom:a=>{var y;return new $d(a.command,st(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:{}})}}),kt(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new $u(Ee(ye({},a),{body:st((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),kt("overbrace","{:auto}",{createAtom:a=>new $u(Ee(ye({},a),{body:st(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),kt(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new $u(Ee(ye({},a),{body:st(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),kt(["underbrace"],"{:auto}",{createAtom:a=>new $u(Ee(ye({},a),{body:st(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),kt(["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,ee,ae;return new $u(Ee(ye({},a),{svgBody:a.command.slice(1),above:((b=st((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:st((E=a.args)==null?void 0:E[1]),below:(ae=st((ee=a.args)==null?void 0:ee[0]))!=null?ae: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)}`}),kt(["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 cd(a.command.slice(1),Ee(ye({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),kt(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new cd({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],Ee(ye({},a),{limits:"over-under",variant:"main"}))}),kt(["lim","mod"],"",{ifMode:"math",createAtom:a=>new cd(a.command.slice(1),Ee(ye({},a),{limits:"over-under",variant:"main"}))}),kt(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new cd(a.command.slice(1),Ee(ye({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),kt(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new oi(Ee(ye({},a),{body:st(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 ee=new zi("\xB0",{style:Ee(ye({},a.style),{variant:"normal",variantStyle:"up"})});return new zi([b,ee],{type:"inner",isSelected:a.isSelected,caret:E})}}),kt("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new c0(Ee(ye({},a),{body:st(a.args[1]),index:a.args[0]?st(a.args[0]):void 0}))}),kt(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=ye({},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 kd(E[0]?st(E[0]):[new Qa],E[1]?st(E[1]):[new Qa],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}`:Cl(a.command,b,E)}}),kt(["brace","brack"],"",{infix:!0,createAtom:a=>new kd(st(a.args[0]),st(a.args[1]),Ee(ye({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>Eo([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),kt(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const E=a.args;return a.command==="\\choose"&&(y="(",b=")"),new kd(st(E[0]),st(E[1]),Ee(ye({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>Eo([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),kt(["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 kd(st(E[0]),st(E[1]),Ee(ye({},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)}`}),kt("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new kd(st(a.args[0]),st(a.args[1]),Ee(ye({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),kt(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new gh({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)],Ee(ye({},a),{limits:"auto",variant:"main"}))}),kt("smallint","",{ifMode:"math",createAtom:a=>new cd("\u222B",Ee(ye({},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"};kt(Object.keys(cp),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=cp[y.slice(1)];return new gh(b,Ee(ye({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),kt(["Re","Im"],"",{ifMode:"math",createAtom:a=>new cd({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],Ee(ye({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),kt("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new l0(Ee(ye({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),kt("the","{:value}",{createAtom:a=>new oi(Ee(ye({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const E=new Ro({parent:y},a.style);let ee="";a.isSelected&&(ee+=" ML__selected");const ae=E.evaluate(a.args[0]);return new zi(((b=Ql(ae))!=null?b:"").split("").map(se=>new zi(se,{type:"ord",classes:ee,mode:a.mode,isSelected:a.isSelected,style:ye({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:ee}).wrap(E)},serialize:a=>{var y;return`\\the${(y=Ql(a.args[0]))!=null?y:"\\relax"}`}}),kt("mathtip","{:auto}{:math}",{createAtom:a=>new vh(Ee(ye({},a),{body:st(a.args[0]),tooltip:st(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${oi.serialize([a.tooltip],Ee(ye({},y),{defaultMode:"math"}))}}`}),kt("texttip","{:auto}{:text}",{createAtom:a=>new vh(Ee(ye({},a),{body:st(a.args[0]),tooltip:st(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${oi.serialize([a.tooltip],Ee(ye({},y),{defaultMode:"text"}))}}`}),kt("error","{:math}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),kt("ensuremath","{:math}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(Ee(ye({},y),{defaultMode:"math"}))}}`}),kt("color","{:value}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=Ql(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),kt("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=Ql(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),kt("boxed","{content:math}",{createAtom:a=>new Ms(Ee(ye({},a),{body:st(a.args[0]),framecolor:{string:"black"}}))}),kt("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimBackgroundColor:(E=Ql(y[0]))!=null?E:void 0,backgroundColor:b.toBackgroundColor((ee=y[0])!=null?ee:{string:"yellow"})}}}),kt("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Ms(Ee(ye({},a),{body:st(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(Ee(ye({},y),{defaultMode:"text"})):Cl(a.command,(b=Ql(a.framecolor))!=null?b:"",(E=Ql(a.backgroundcolor))!=null?E:"",a.bodyToLatex(Ee(ye({},y),{defaultMode:"text"})))}}),kt("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],E=st(a.args[1]);return b?new Ms(Ee(ye({},a),{body:E,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Ms(Ee(ye({},a),{body:E}))},serialize:(a,y)=>{var b,E;if(y.skipStyles)return a.bodyToLatex(y);let ee=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const ae=[];a.padding&&ae.push((b=Ql(a.padding))!=null?b:""),a.border&&ae.push(`border: ${a.border}`),a.backgroundcolor&&ae.push((E=Ql(a.backgroundcolor))!=null?E:""),ee+=`[${ae.join(",")}]`}return Cl(ee,a.bodyToLatex(y))}}),kt(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(a.args[0])})),render:(a,y)=>{const b=new Ro({parent:y,mathstyle:a.command.slice(1)},a.style),E=oi.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):`{${Eo([a.command,a.bodyToLatex(y)])}}`}),kt(["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]})}),kt("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),kt("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),kt("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),kt("selectfont","",{ifMode:"text",applyStyle:()=>({})}),kt("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),kt(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new oi(Ee(ye({},a),{body:st(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),kt("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),kt("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),kt("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),kt("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),kt("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),kt("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),kt("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),kt("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),kt("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),kt("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),kt("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),kt("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),kt("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),kt("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),kt("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),kt("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),kt("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),kt("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),kt("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),kt("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),kt("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),kt("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),kt("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),kt("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),kt("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),kt("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),kt("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),kt(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),kt(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),kt("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),kt("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),kt("mbox","{:text}",{ifMode:"math",createAtom:a=>new oi(Ee(ye({},a),{type:"mord",body:st(a.args[0]),mode:"math"})),serialize:(a,y)=>Cl("\\mbox",a.bodyToLatex(Ee(ye({},y),{defaultMode:"text"})))}),kt("text","{:text}",{ifMode:"math",applyMode:"text"}),kt(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(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:""})}}),kt(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(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}}),kt("htmlData","{data:string}{content:auto}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(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}}),kt(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(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}}),kt("em","{:rest}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(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"})}),kt("emph","{:auto}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(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}};kt(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new s0(Ee(ye({},a),{delim:(y=a.args[0])!=null?y:".",size:dp[a.command].size,delimType:dp[a.command].mclass}))}}),kt(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new nf(Ee(ye({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),kt(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new nf(Ee(ye({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),kt("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new oi(a),render:(a,y)=>{let b=0;const E=y.mathstyle.id;(E===oc||E===xu)&&(b=1),(E===ku||E===Es)&&(b=2),(E===Vs||E===cs)&&(b=3);const ee=st(a.args[b]);return oi.createBox(y,ee)},serialize:(a,y)=>`\\mathchoice{${oi.serialize(a.args[0],y)}}{${oi.serialize(a.args[1],y)}}{${oi.serialize(a.args[2],y)}}{${oi.serialize(a.args[3],y)}}`}),kt("mathop","{:auto}",{createAtom:a=>new oi(Ee(ye({},a),{type:"mop",body:st(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let E=oi.createBox(y,a.body);if(a.superscript||a.subscript){const ee=(b=a.subsupPlacement)!=null?b:"auto";E=ee==="over-under"||ee==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return new zi(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[Cl(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)),Eo(b)}}),kt(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new oi(Ee(ye({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:st(a.args[0])}))}),kt(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=st(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 oi(Ee(ye({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let E=oi.createBox(y,a.body);if(a.superscript||a.subscript){const ee=(b=a.subsupPlacement)!=null?b:"auto";E=ee==="over-under"||ee==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return a.caret&&(E.caret=a.caret),new zi(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[Cl(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)),Eo(b)}}),kt(["char","unicode"],"{charcode:value}",{createAtom:a=>new oi(Ee(ye({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Ql((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)}}),kt("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new oi(a),render:(a,y)=>{var b,E,ee;const ae=new Ro({parent:y,mathstyle:"textstyle"},a.style),se=ae.toEm((b=a.args[0])!=null?b:{dimension:0}),ge=ae.toEm((E=a.args[1])!=null?E:{dimension:10}),we=ae.toEm((ee=a.args[2])!=null?ee:{dimension:10}),Pe=new zi(null,{classes:"rule",type:"ord"});return Pe.width=ge,Pe.height=we+se,Pe.depth=-se,Pe.setStyle("border-right-width",ge,"em"),Pe.setStyle("border-top-width",we,"em"),Pe.setStyle("border-color",a.style.color),Pe.setStyle("vertical-align",se,"em"),a.isSelected&&Pe.setStyle("opacity","50%"),a.bind(ae,Pe),a.caret&&(Pe.caret=a.caret),Pe.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Ql(a.args[0])}]`:""}{${Ql(a.args[1])}}{${Ql(a.args[2])}}`}),kt(["overline","underline"],"{:auto}",{createAtom:a=>new oi(Ee(ye({},a),{body:st(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),E=new Ro({parent:y,mathstyle:"cramp"},a.style),ee=oi.createBox(E,a.body);if(!ee)return null;const ae=E.metrics.defaultRuleThickness/E.scalingFactor,se=new zi(null,{classes:b+"-line"});se.height=ae,se.maxFontSize=ae*1.125*E.scalingFactor;let ge;return b==="overline"?ge=new gl({shift:0,children:[{box:ee},3*ae,{box:se},ae]}):ge=new gl({top:ee.height,children:[ae,{box:se},3*ae,{box:ee}]}),a.caret&&(ge.caret=a.caret),new zi(ge,{classes:b,type:"ignore"})}}),kt("overset","{:auto}{base:auto}",{createAtom:a=>{const y=st(a.args[1]);return new $u(Ee(ye({},a),{above:st(a.args[0]),body:y,skipBoundary:!1,boxType:Uu(y)}))},serialize:(a,y)=>Cl(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),kt("underset","{:auto}{base:auto}",{createAtom:a=>{const y=st(a.args[1]);return new $u(Ee(ye({},a),{below:st(a.args[0]),body:y,skipBoundary:!1,boxType:Uu(y)}))},serialize:(a,y)=>Cl(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),kt("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=st(a.args[2]);return new $u(Ee(ye({},a),{above:st(a.args[0]),below:st(a.args[1]),body:y,skipBoundary:!1,boxType:Uu(y)}))},serialize:(a,y)=>Cl(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),kt(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new $u(Ee(ye({},a),{body:st(a.args[2]),above:st(a.args[1]),below:st(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>Cl(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),kt("smash","[:string]{:auto}",{createAtom:a=>{var y,b,E,ee;return new tf(Ee(ye({},a),{body:st(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(ee=(E=a.args[0])==null?void 0:E.includes("b"))!=null?ee:!0}))}}),kt(["vphantom"],"{:auto}",{createAtom:a=>new tf(Ee(ye({},a),{body:st(a.args[0]),isInvisible:!0,smashWidth:!0}))}),kt(["hphantom"],"{:auto}",{createAtom:a=>new tf(Ee(ye({},a),{body:st(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),kt(["phantom"],"{:auto}",{createAtom:a=>new tf(Ee(ye({},a),{body:st(a.args[0]),isInvisible:!0}))}),kt("not","{:math}",{createAtom:a=>{const y=st(a.args[0]);return y.length===0?new oi(Ee(ye({},a),{type:"mrel",value:"\uE020"})):new oi(Ee(ye({},a),{body:[new ud(Ee(ye({},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{${oi.serialize(b.group,y)}}`:`\\not${oi.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":Uu(st(a.args[0])),ee=oi.createBox(y,a.body,{type:E});return a.caret&&(ee.caret=a.caret),a.bind(y,ee)}}),kt(["ne","neq"],"",{createAtom:a=>new oi(Ee(ye({},a),{type:"mrel",body:[new ud(Ee(ye({},a),{body:"\uE020",align:"right",boxType:"rel"})),new oi(Ee(ye({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),kt("rlap","{:auto}",{createAtom:a=>new ud(Ee(ye({},a),{body:st(a.args[0]),align:"right"}))}),kt("llap","{:auto}",{createAtom:a=>new ud(Ee(ye({},a),{body:st(a.args[0]),align:"left"}))}),kt("mathrlap","{:math}",{createAtom:a=>new ud(Ee(ye({},a),{body:st(a.args[0]),align:"left"}))}),kt("mathllap","{:math}",{createAtom:a=>new ud(Ee(ye({},a),{body:st(a.args[0]),align:"left"}))}),kt("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Ms(Ee(ye({},a),{body:st(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return Cl("\\raisebox",(b=Ql(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),kt("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Ms(Ee(ye({},a),{body:st(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return Cl("\\raise",(b=Ql(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),kt("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Ms(Ee(ye({},a),{body:st(a.args[1]),padding:{dimension:0},offset:(y=lu(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,E;return Cl("\\lower",(E=Ql(lu((b=a.offset)!=null?b:{dimension:0},-1)))!=null?E:"0pt",a.bodyToLatex(y))}}),Fe("0123456789/@.?!"),at(65,90),at(97,122),Fe([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Fe([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Fe([["\\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]]),Fe([["\\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"),Fe([["\\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"]]),Fe([["\\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"]]),Fe([["\\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"),Fe([["+",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"),Fe([["\\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"),Fe([["\\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]]),Fe([["=",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"),Fe([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Fe([["\\wp",8472],["\\aleph",8501]]),Fe([["\\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"),Fe([["\\ ",160],["~",160]],"space"),kt(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new nf(a)}),kt("space","",{createAtom:a=>new nf(a)}),Fe([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Fe([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Fe([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var fp="<mo>⁡</mo>",ah="<mo>⁢</mo>";function oh(a){return a.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Ol(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Iv(a,y,b){var E,ee,ae,se,ge,we,Pe,je,At,en,Mn;let On=!1;y=y!=null?y:a.atoms.length;let zr="",Wi="",Pr=a.atoms[a.index];const yi=(ee=(E=Pr.style)==null?void 0:E.variant)!=null?ee:"",Ui=(se=(ae=Pr.style)==null?void 0:ae.variantStyle)!=null?se:"";let Mi="";if(yi||Ui){const Ga=Vt(Pr.value,(ge=Pr.style)==null?void 0:ge.variant,(we=Pr.style)==null?void 0:we.variantStyle);if(Ga!==Pr.value)return a.index+=1,zr=`<mi${Ol(Pr.id,b)}>${Ga}</mi>`,Wc(zr,a,b)||(a.mathML+=zr,a.lastType="mi"),!0;Mi=(Pe={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"}[Ui+yi])!=null?Pe:"",Mi=` mathvariant="${Mi}"`}const Pa={"\\exponentialE":"ⅇ","\\imaginaryI":"ⅈ","\\differentialD":"ⅆ","\\capitalDifferentialD":"ⅅ","\\alpha":"α","\\pi":"π","\\infty":"∞","\\forall":"∀","\\nexists":"∄","\\exists":"∃","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(Pr.command==="!")return a.index+=1,zr="<mo>!</mo>",Wc(zr,a,b)||(a.mathML+=zr,a.lastType="mo"),!0;if(Pa[Pr.command]){a.index+=1;let Ga=`<mi${Ol(Pr.id,b)}${Mi}>${Pa[Pr.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(Ga=ah+Ga),Wc(Ga,a,b)||(a.mathML+=Ga,a.lastType="mi"),!0}if(Pr.command==="\\operatorname")Wi=zd(Pr.body),a.index+=1;else if(yi||Ui)for(;a.index<y&&(Pr.type==="mord"||Pr.type==="macro")&&!Pr.isDigit()&&yi===((At=(je=Pr.style)==null?void 0:je.variant)!=null?At:"")&&Ui===((Mn=(en=Pr.style)==null?void 0:en.variantStyle)!=null?Mn:"");)Wi+=zd([Pr]),a.index+=1,Pr=a.atoms[a.index];else(Pr.type==="mord"||Pr.type==="macro")&&!Pr.isDigit()&&(Wi+=zd([Pr]),a.index+=1);if(Wi.length>0){On=!0,zr=`<mi${Mi}>${Wi}</mi>`;const Ga=a.lastType;zr.endsWith(">f</mi>")||zr.endsWith(">g</mi>")?(zr+=fp,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(zr)?"mo":"mi",Wc(zr,a,b)||((Ga==="mi"||Ga==="mn"||Ga==="mtext"||Ga==="fence")&&(zr=ah+zr),a.mathML+=zr)}return On}function Lv(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function Fv(a){let y=-1,b=a.index,E=!1,ee=!1;for(;b<a.atoms.length&&!E&&!ee;){const ae=a.atoms[b];E=!ae.isDigit(),ee=!E&&ae.superscript!==void 0,b++}return ee&&(y=b-1),y}function Wc(a,y,b){var E;let ee=y.atoms[y.index-1];if(!ee)return!1;if(!ee.superscript&&!ee.subscript)if(((E=y.atoms[y.index])==null?void 0:E.type)==="subsup")ee=y.atoms[y.index],y.index+=1;else return!1;const ae=y.lastType;y.lastType="";const se=yl(ee.superscript,b);y.lastType="";const ge=yl(ee.subscript,b);if(y.lastType=ae,!se&&!ge)return!1;let we="";return se&&ge?we=`<msubsup>${a}${ge}${se}</msubsup>`:se?we=`<msup>${a}${se}</msup>`:ge&&(we=`<msub>${a}${ge}</msub>`),y.mathML+=we,y.lastType="",!0}function Ov(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="";for(;a.index<y&&a.atoms[a.index].mode==="text";)ee+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return ee.length>0?(a.mathML+=`<mtext ${Ol(a.atoms[E].id,b)}>${ee}</mtext>`,a.lastType="mtext",!0):!1}function Nv(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="",ae=Fv(a);for(ae>=0&&ae<y&&(y=ae);a.index<y&&a.atoms[a.index].isDigit();)ee+=a.atoms[a.index].asDigit(),a.index+=1;return ee.length<=0?!1:(ee="<mn"+Ol(a.atoms[E].id,b)+">"+ee+"</mn>",ae<0&&Lv(a)&&(ae=a.index,a.index+=1),Wc(ee,a,b)||(a.mathML+=ee,a.lastType="mn"),!0)}function Tv(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",ae="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let se=!1,ge=0;const we=a.index;let Pe=-1,je=we+1;for(;je<y&&!se;)a.atoms[je].type==="mopen"?ge+=1:a.atoms[je].type==="mclose"&&(ge-=1),ge===-1&&(se=!0,Pe=je),je+=1;se&&(ee="<mrow>",ee+=xd(a.atoms[we],b),ee+=yl(a.atoms,b,we+1,Pe),ee+=xd(a.atoms[Pe],b),ee+="</mrow>",a.index=Pe+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=ah),Wc(ee,a,b)&&(E=!0,a.lastType="",ee=""),ae="fence")}return ee.length>0&&(E=!0,a.mathML+=ee,a.lastType=ae),E}function Rv(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",ae="";const se=a.atoms[a.index];if(!se)return!1;const ge={"\\ne":"≠","\\neq":"&neq;","\\pm":"±","\\times":"×","\\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(ge[se.command]){a.index+=1;const we=`<mo${Ol(se.id,b)}>${ge[se.command]}</mo>`;return Wc(we,a,b)||(a.mathML+=we,a.lastType="mo"),!0}if(a.index<y&&(se.type==="mbin"||se.type==="mrel"))ee+=Uh(a.atoms[a.index],b),a.index+=1,ae="mo";else if(a.index<y&&(se.type==="mop"||se.type==="operator"||se.type==="extensible-symbol")){if(se.subsupPlacement==="over-under"&&(se.superscript||se.subscript)){const we=xd(se,b);return se.superscript&&se.subscript?(ee+="<munderover>"+we,ee+=yl(se.subscript,b),ee+=yl(se.superscript,b),ee+="</munderover>"):se.superscript?(ee+="<mover>"+we,ee+=yl(se.superscript,b),ee+="</mover>"):se.subscript&&(ee+="<munder>"+we,ee+=yl(se.subscript,b),ee+="</munder>"),a.mathML+=ee,a.lastType="mo",a.index+=1,!0}{const we=a.atoms[a.index],Pe=we.value==="\\operatorname",je=Pe?'<mi class="MathML-Unit"'+Ol(we.id,b)+">"+zd(we.value)+"</mi>":xd(we,b);ee+=je,!Pe&&!/^<mo>(.*)<\/mo>$/.test(je)?(ee+=fp,ae="applyfunction"):ae=Pe?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(ee)&&(ee=ah+ee),a.index+=1}return ee.length>0&&(E=!0,Wc(ee,a,b)||(a.mathML+=ee,a.lastType=ae)),E}function yl(a,y,b,E){y!=null||(y={});const ee={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")ee.mathML=a.toString();else if(typeof a=="string")ee.mathML=a;else if(a instanceof oi)ee.mathML=Uh(a,y);else if(Array.isArray(a)){ee.atoms=a;let ae=0;for(E=E||(a?a.length:0);ee.index<E;)if(Ov(ee,E,y)||Nv(ee,E,y)||Iv(ee,E,y)||Rv(ee,E,y)||Tv(ee,E,y))ae+=1;else if(ee.index<E){let se=Uh(ee.atoms[ee.index],y);ee.lastType==="mn"&&se.length>0&&ee.atoms[ee.index].type==="genfrac"&&(se="<mo>⁤</mo>"+se),ee.atoms[ee.index].type==="genfrac"?ee.lastType="mfrac":ee.lastType="",ee.index+=1,Wc(se,ee,y)?ae+=1:se.length>0&&(ee.mathML+=se,ae+=1)}ae>1&&(ee.mathML="<mrow>"+ee.mathML+"</mrow>")}return ee.mathML}function xd(a,y){let b="";const E=zd(a.value);return E&&(b="<mo"+Ol(a.id,y)+">"+E+"</mo>"),b}function zd(a){if(!a)return"";if(typeof a=="string")return oh(a);if(!Array.isArray(a)&&typeof a.body=="string")return oh(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return oh(y)}function Uh(a,y){var b,E,ee,ae,se,ge,we,Pe,je,At,en,Mn,On,zr,Wi,Pr,yi,Ui,Mi,Pa,Ga,Ha;if(a.mode==="text")return`<mi${Ol(a.id,y)}>${a.value}</mi>`;const Xo={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"},Dl={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let ta="",ju="",kc,tc,qs,Vu,Pu,Nl;const{command:Ds}=a;if(a.command==="\\error")return`<merror${Ol(a.id,y)}>${yl(a.body,y)}</merror>`;const $s={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},Dc={"\\vec":"⃗","\\acute":"´","\\grave":"`","\\dot":"˙","\\ddot":"¨","\\tilde":"~","\\bar":"¯","\\breve":"˘","\\check":"ˇ","\\hat":"^"};switch(a.type){case"first":break;case"group":case"root":ta=yl(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(ta+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(ta+="<mo>"+($s[a.leftDelim]||a.leftDelim)+"</mo>")),ta+="<mtable",a.colFormat){for(ta+=' columnalign="',qs=0;qs<a.colFormat.length;qs++)a.colFormat[qs].align&&(ta+={l:"left",c:"center",r:"right"}[a.colFormat[qs].align]+" ");ta+='"'}for(ta+=">",tc=0;tc<a.array.length;tc++){for(ta+="<mtr>",kc=0;kc<a.array[tc].length;kc++)ta+="<mtd>"+yl(a.array[tc][kc],y)+"</mtd>";ta+="</mtr>"}ta+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(ta+="<mo>"+($s[a.leftDelim]||a.rightDelim)+"</mo>"),ta+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(ta+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(ta+="<mo"+Ol(a.id,y)+">"+($s[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(ta+="<mfrac>",ta+=yl(a.above,y)||"<mi> </mi>",ta+=yl(a.below,y)||"<mi> </mi>",ta+="</mfrac>"):(ta+="<mtable"+Ol(a.id,y)+">",ta+="<mtr>"+yl(a.above,y)+"</mtr>",ta+="<mtr>"+yl(a.below,y)+"</mtr>",ta+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(ta+="<mo"+Ol(a.id,y)+">"+($s[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(ta+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(ta+="<msqrt"+Ol(a.id,y)+">",ta+=yl(a.body,y),ta+="</msqrt>"):(ta+="<mroot"+Ol(a.id,y)+">",ta+=yl(a.body,y),ta+=yl(a.above,y),ta+="</mroot>");break;case"leftright":const Bc=a,Pc=Bc.leftDelim;ta="<mrow>",Pc&&Pc!=="."&&(ta+=`<mo${Ol(a.id,y)}>${(b=$s[Pc])!=null?b:Pc}</mo>`),a.body&&(ta+=yl(a.body,y));const Ic=Bc.matchingRightDelim();Ic&&Ic!=="."&&(ta+=`<mo${Ol(a.id,y)}>${(E=$s[Ic])!=null?E:Ic}</mo>`),ta+="</mrow>";break;case"sizeddelim":case"delim":ta+=`<mo${Ol(a.id,y)}>${$s[a.value]||a.value}</mo>`;break;case"accent":ta+='<mover accent="true"'+Ol(a.id,y)+">",ta+=yl(a.body,y),ta+="<mo>"+(Dc[Ds]||a.accent)+"</mo>",ta+="</mover>";break;case"line":case"overlap":break;case"overunder":Pu=a.above,Vu=a.below,(a.svgAbove||Pu)&&(a.svgBelow||Vu)?Nl=a.body:Pu&&Pu.length>0?(Nl=a.body,(ae=(ee=a.body)==null?void 0:ee[0])!=null&&ae.below?(Vu=a.body[0].below,Nl=a.body[0].body):((ge=(se=a.body)==null?void 0:se[0])==null?void 0:ge.type)==="first"&&((Pe=(we=a.body)==null?void 0:we[1])!=null&&Pe.below)&&(Vu=a.body[1].below,Nl=a.body[1].body)):Vu&&Vu.length>0&&(Nl=a.body,(At=(je=a.body)==null?void 0:je[0])!=null&&At.above?(Pu=a.body[0].above,Nl=a.body[0].body):((Mn=(en=a.body)==null?void 0:en[0])==null?void 0:Mn.type)==="first"&&((zr=(On=a.body)==null?void 0:On[1])!=null&&zr.above)&&(Pu=a.body[1].overscript,Nl=a.body[1].body)),(a.svgAbove||Pu)&&(a.svgBelow||Vu)?(ta+=`<munderover ${Ol(a.id,y)}>`,ta+=(Wi=Xo[a.svgBody])!=null?Wi:yl(Nl,y),ta+=(Pr=Xo[a.svgBelow])!=null?Pr:yl(Vu,y),ta+=(yi=Xo[a.svgAbove])!=null?yi:yl(Pu,y),ta+="</munderover>"):a.svgAbove||Pu?(ta+=`<mover ${Ol(a.id,y)}>`+((Ui=Xo[a.svgBody])!=null?Ui:yl(Nl,y)),ta+=(Mi=Xo[a.svgAbove])!=null?Mi:yl(Pu,y),ta+="</mover>"):(a.svgBelow||Vu)&&(ta+=`<munder ${Ol(a.id,y)}>`+((Pa=Xo[a.svgBody])!=null?Pa:yl(Nl,y)),ta+=(Ga=Xo[a.svgBelow])!=null?Ga:yl(Vu,y),ta+="</munder>");break;case"placeholder":ta+="?";break;case"mord":{ta=typeof a.value=="string"?a.value:Ds,Ds==="\\char"?ta="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":ta.length>0&&ta.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?ta="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?ta=a.value.charAt(0):(console.error("Did not expect this"),ta=""));const dc=/\d/.test(ta)?"mn":"mi";ta=`<${dc}${Ol(a.id,y)}>${oh(ta)}</${dc}>`;break}case"mbin":case"mrel":case"minner":ta=xd(a,y);break;case"mpunct":ta='<mo separator="true"'+Ol(a.id,y)+">"+Ds+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(ta="<mo"+Ol(a.id,y)+">",ta+=Ds==="\\operatorname"?a.body:Ds||a.body,ta+="</mo>");break;case"box":ta='<menclose notation="box"',a.backgroundcolor&&(ta+=' mathbackground="'+a.backgroundcolor+'"'),ta+=Ol(a.id,y)+">"+yl(a.body,y)+"</menclose>";break;case"spacing":ta+='<mspace width="'+((Ha=Dl[Ds])!=null?Ha:0)+'em"/>';break;case"enclose":ta='<menclose notation="';for(const dc in a.notation)Object.prototype.hasOwnProperty.call(a.notation,dc)&&a.notation[dc]&&(ta+=ju+dc,ju=" ");ta+=Ol(a.id,y)+'">'+yl(a.body,y)+"</menclose>";break;case"prompt":ta='<menclose notation="roundexbox""">'+yl(a.body,y)+"</menclose>";break;case"space":ta+=" ";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":ta+=xd(a,y);break;case"mclose":ta+=xd(a,y);break;case"macro":{const dc=a.command+zd(a.macroArgs);dc&&(ta+=`<mo ${Ol(a.id,y)}>${dc}</mo>`)}break;case"latexgroup":ta+=yl(a.body,y);break;case"latex":ta+="<mtext"+Ol(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":ta+=yl(a.body,y);break;case"text":ta+=`<mtext ${Ol(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${Ol(a.id,y)} displaystyle="true">${yl(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${Ol(a.id,y)} displaystyle="false">${yl(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return ta}var Hd={"\\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 zv(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function yf(a){let y=0;if(ke(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function Hv(a){if(ke(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function hp(a){let y="";if(ke(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Kv(a){return a?a.map(y=>y.value).join(""):""}function Wo(a,y){var b,E,ee,ae,se;function ge(je){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(je)?` <say-as interpret-as="character">${je}</say-as>`:/[A-Z]/.test(je)?`capital <say-as interpret-as="character">${je.toLowerCase()}</say-as>`:je:/[a-z]/.test(je)?" '"+je.toUpperCase()+"'":/[A-Z]/.test(je)?" 'capital "+je.toUpperCase()+"'":je}function we(je){return"<emphasis>"+je+"</emphasis>"}if(!y)return"";let Pe="";if(ke(y)){let je=!1,At=!1;for(let en=0;en<y.length;en++)y[en].type!=="first"&&(y[en].mode!=="text"&&(At=!1),en<y.length-2&&y[en].type==="mopen"&&y[en+2].type==="mclose"&&y[en+1].type==="mord"?(Pe+=" of ",Pe+=we(Wo(a,y[en+1])),en+=2):y[en].mode==="text"?At?Pe+=(b=y[en].value)!=null?b:" ":(At=!0,Pe+=Wo("text",y[en])):y[en].isDigit()?je?Pe+=y[en].asDigit():(je=!0,Pe+=Wo(a,y[en])):(je=!1,Pe+=Wo(a,y[en])))}else if(y.mode==="text")y.id&&a==="math"&&(Pe+='<mark name="'+y.id.toString()+'"/>'),Pe+=y.value;else{y.id&&a==="math"&&(Pe+='<mark name="'+y.id.toString()+'"/>');let je="",At="",en="",Mn=!1;const{command:On}=y;switch(On){case"\\vec":return"vector "+Wo(a,y.body);case"\\acute":return Wo(a,y.body)+" acute";case"\\grave":return Wo(a,y.body)+" grave";case"\\dot":return"dot over"+Wo(a,y.body);case"\\ddot":return"double dot over"+Wo(a,y.body);case"\\mathring":return"ring over"+Wo(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Wo(a,y.body);case"\\bar":return Wo(a,y.body)+" bar";case"\\breve":return Wo(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Wo(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Wo(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Wo(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Wo(a,y.body)}switch(y.type){case"prompt":const zr=y.body.length>1?'start input . <break time="500ms"/> '+Wo(a,y.body)+'. <break time="500ms"/> end input':"blank";Pe+=' <break time="300ms"/> '+zr+'. <break time="700ms"/>'+((E=y.correctness)!=null?E:"")+' . <break time="700ms"/> ';break;case"array":const Wi=y.array,Pr=y.environmentName;if(Object.keys(Yh).includes(Pr)){Pe+=` begin ${Yh[Pr]} `;for(let Mi=0;Mi<Wi.length;Mi++){Mi>0&&(Pe+=","),Pe+=` row ${Mi+1} `;for(let Pa=0;Pa<Wi[Mi].length;Pa++)Pa>0&&(Pe+=","),Pe+=` column ${Pa+1}: `,Pe+=Wo("math",Wi[Mi][Pa])}Pe+=` end ${Yh[Pr]} `}break;case"group":On==="\\ne"?Pe+=" not equal ":(On==="\\not"&&(Pe+=" not "),Pe+=Wo("math",y.body));break;case"root":Pe+=Wo("math",y.body);break;case"genfrac":if(je=Wo("math",y.above),At=Wo("math",y.below),yf(y.above)&&yf(y.below)){const Pa={"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)];Pa?Pe=Pa:Pe+=je+" over "+At}else Pe+=' the fraction <break time="150ms"/>'+je+' over <break time="150ms"/>'+At+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(en=Wo("math",y.body),y.hasEmptyBranch("above"))Pe+=yf(y.body)?" the square root of "+en+" , ":' the square root of <break time="200ms"/>'+en+'. <break time="200ms"/> End square root';else{let Mi=Wo("math",y.above);Mi=Mi.trim();const Pa=Mi.replace(/<mark([^/]*)\/>/g,"");Pa==="3"?Pe+=' the cube root of <break time="200ms"/>'+en+'. <break time="200ms"/> End cube root':Pa==="n"?Pe+=' the nth root of <break time="200ms"/>'+en+'. <break time="200ms"/> End root':Pe+=' the root with index: <break time="200ms"/>'+Mi+', of <break time="200ms"/>'+en+'. <break time="200ms"/> End root'}break;case"leftright":{const Mi=y;Pe+=(ee=Mi.leftDelim?Hd[Mi.leftDelim]:void 0)!=null?ee:Mi.leftDelim,Pe+=Wo("math",y.body),Pe+=(ae=Mi.rightDelim?Hd[Mi.rightDelim]:void 0)!=null?ae:Mi.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const yi=On.replace(/^\\/g,""),Ui=cn()[yi];Ui&&(Ui!=null&&Ui.expand?Pe+=Wo("math",y.body):Pe+=`${yi} `);break;case"placeholder":Pe+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(On==="\\mathbin"||On==="\\mathrel"||On==="\\mathopen"||On==="\\mathclose"||On==="\\mathpunct"||On==="\\mathord"||On==="\\mathinner"){Pe=Wo(a,y.body);break}let Mi=y.isDigit()?y.asDigit():y.value,Pa=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(Pa=y.value,Mi=Pa),a==="text")Pe+=Mi;else{if(y.type==="mbin"&&(Pe+='<break time="150ms"/>'),Mi){const Ga=Hd[Mi]||(Pa?Hd[Pa.trim()]:"");if(Ga)Pe+=" "+Ga;else{const Ha=Pa?zv(Pa.trim()):"";Pe+=Ha||ge(Mi)}}else Pe+=Wo("math",y.body);y.type==="mbin"&&(Pe+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const Mi=y.command;if(Mi==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Pa=Wo("math",y.superscript);Pa=Pa.trim();let Ga=Wo("math",y.subscript);Ga=Ga.trim(),Pe+=' the summation from <break time="200ms"/>'+Ga+'<break time="200ms"/> to <break time="200ms"/>'+Pa+'<break time="200ms"/> of <break time="150ms"/>',Mn=!0}else if(y.hasEmptyBranch("subscript"))Pe+=" the summation of";else{let Pa=Wo("math",y.subscript);Pa=Pa.trim(),Pe+=' the summation from <break time="200ms"/>'+Pa+'<break time="200ms"/> of <break time="150ms"/>',Mn=!0}else if(Mi==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Pa=Wo("math",y.superscript);Pa=Pa.trim();let Ga=Wo("math",y.subscript);Ga=Ga.trim(),Pe+=' the product from <break time="200ms"/>'+Ga+'<break time="200ms"/> to <break time="200ms"/>'+Pa+'<break time="200ms"/> of <break time="150ms"/>',Mn=!0}else if(y.hasEmptyBranch("subscript"))Pe+=" the product of ";else{let Pa=Wo("math",y.subscript);Pa=Pa.trim(),Pe+=' the product from <break time="200ms"/>'+Pa+'<break time="200ms"/> of <break time="150ms"/>',Mn=!0}else if(Mi==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Pa=Wo("math",y.superscript);Pa=Pa.trim();let Ga=Wo("math",y.subscript);Ga=Ga.trim(),Pe+=' the integral from <break time="200ms"/>'+we(Ga)+'<break time="200ms"/> to <break time="200ms"/>'+we(Pa)+' <break time="200ms"/> of ',Mn=!0}else Pe+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const Pa=(se=Hd[y.value])!=null?se:y.command?Hd[y.command]:void 0;Pe+=Pa||" "+y.value}else y.command&&(y.command==="\\mathop"?Pe+=Wo("math",y.body):y.command==="\\operatorname"?Pe+=Kv(y.body):Pe+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":en=Wo("math",y.body),Pe+=" crossed out "+en+". End crossed out.";break;case"space":case"spacing":break}if(!Mn&&!y.hasEmptyBranch("superscript")){let zr=Wo(a,y.superscript);zr=zr.trim();const Wi=zr.replace(/<[^>]*>/g,"");if(yf(y.superscript)){if(a==="math"){const Pr=Hv(y.superscript);Pr&&(Pe+='<mark name="'+Pr+'"/>')}Wi==="\u2032"?Pe+=" prime ":Wi==="2"?Pe+=" squared ":Wi==="3"?Pe+=" cubed ":Number.isNaN(Number.parseInt(Wi))?Pe+=" to the "+zr+"; ":Pe+=' to the <say-as interpret-as="ordinal">'+Wi+"</say-as> power; "}else Number.isNaN(Number.parseInt(Wi))?Pe+=" raised to the "+zr+"; ":Pe+=' raised to the <say-as interpret-as="ordinal">'+Wi+"</say-as> power; "}if(!Mn&&!y.hasEmptyBranch("subscript")){let zr=Wo("math",y.subscript);zr=zr.trim(),Pe+=yf(y.subscript)?" sub "+zr:" subscript "+zr+". End subscript. "}}return Pe}function Kd(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const ee=yl(a);if(ee){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=Ee(ye({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=Ee(ye({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=Ee(ye({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const ae=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&ae.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let se="";try{se=ae.toSpeech(ee)}catch(ge){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",ge)}return se}return""}let E=Wo("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let ee="";window.MathfieldElement.speechEngineRate&&(ee='<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>'+ee+"<p><s>"+E+"</s></p>"+(ee?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&Et()==="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 bf={"\\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"},xf={"\\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 Zv(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 ks(a){var y,b,E,ee,ae,se,ge,we,Pe,je,At,en,Mn;if(!a)return"";if(ke(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(ks).join("");if(a[0].mode==="text"){let Ui=0,Mi="";for(;((y=a[Ui])==null?void 0:y.mode)==="text";)Mi+=a[Ui].body?ks(a[Ui].body):a[Ui].value,Ui++;return`"${Mi}" ${ks(a.slice(Ui))}`}let Pr=0;const yi=[];for(;a[Pr]&&a[Pr].mode==="math";){let Ui="";for(;a[Pr]&&a[Pr].type==="mord"&&/\d/.test(a[Pr].value);)Ui+=a[Pr++].value;Ui?yi.push(Ui):yi.push(ks(a[Pr++]))}return yi.push(ks(a.slice(Pr))),Zv(yi)}if(a.mode==="text")return`"${a.value}"`;let On="";const{command:zr}=a;let Wi;if(zr==="\\placeholder")return`(${ks(a.body)})`;switch(a.type){case"accent":const Pr={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[zr];On=`${Pr!=null?Pr:""} ${ks(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(Ha=>Ha.value).join("");case"group":case"root":On=(b=bf[zr])!=null?b:ks(a.body);break;case"genfrac":{const Ha=a;(Ha.leftDelim||Ha.rightDelim)&&(On=Ha.leftDelim==="."||!Ha.leftDelim?"{:":Ha.leftDelim),Ha.hasBarLine?(On+="(",On+=ks(Ha.above),On+=")/(",On+=ks(Ha.below),On+=")"):(On+="("+ks(Ha.above)+"),",On+="("+ks(Ha.below)+")"),(Ha.leftDelim||Ha.rightDelim)&&(On+=Ha.rightDelim==="."||!Ha.rightDelim?"{:":Ha.rightDelim)}break;case"surd":On+=a.hasEmptyBranch("above")?"sqrt("+ks(a.body)+")":"root("+ks(a.above)+")("+ks(a.body)+")";break;case"latex":On=a.value;break;case"leftright":{const Ha=a,Xo=Ha.leftDelim;On+=Xo==="."||!Xo?"{:":Xo,On+=ks(Ha.body);const Dl=Ha.matchingRightDelim();On+=Dl==="."||!Dl?":}":Dl}break;case"sizeddelim":case"delim":On=a.value;break;case"overlap":break;case"overunder":break;case"mord":On=(ee=(E=bf[zr])!=null?E:zr)!=null?ee:typeof a.value=="string"?a.value:"",On.startsWith("\\")&&(On+=" "),Wi=zr?zr.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,Wi?On=String.fromCodePoint(Number.parseInt("0x"+Wi[1])):On.length>0&&On.startsWith("\\")&&(On=typeof a.value=="string"?a.value.charAt(0):a.command),On=Wv(On,a.style);break;case"mbin":case"mrel":case"minner":On=(se=(ae=bf[zr])!=null?ae:xf[zr])!=null?se:a.value;break;case"mopen":case"mclose":On=a.value;break;case"mpunct":On=(ge=xf[zr])!=null?ge:zr;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(xf[zr]?On=xf[zr]:On=zr==="\\operatorname"?ks(a.body):(we=a.value)!=null?we:zr,On+=" ");break;case"array":const yi=a.array,Ui=a.environmentName,Mi=(Pe={bmatrix:["[","]"],"bmatrix*":["[","]"]}[Ui])!=null?Pe:["(",")"],Pa=[];for(const Ha of yi){const Xo=[];for(const Dl of Ha)Xo.push(Mi[0]+ks(Dl)+Mi[1]);Pa.push(Xo.join(","))}const Ga=(je={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[Ui])!=null?je:["(",")"];On=Ga[0]+Pa.join(",")+Ga[1];break;case"box":break;case"spacing":On=(At=bf[zr])!=null?At:" ";break;case"enclose":On="("+ks(a.body)+")";break;case"space":On=" ";break;case"subsup":On="";break;case"macro":On=(Mn=(en=bf[zr])!=null?en:xf[zr])!=null?Mn:ks(a.body);break}if(!a.hasEmptyBranch("subscript")){On+="_";const Pr=ks(a.subscript);On+=Pr.length!==1?`(${Pr})`:Pr}if(!a.hasEmptyBranch("superscript")){On+="^";const Pr=ks(a.superscript);On+=Pr.length!==1?`(${Pr})`:Pr}return On}function Wv(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 Js(a,y){var b,E;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const ee=new Ro({from:Ee(ye({},Yc()),{renderPlaceholder:()=>new zi(160,{maxFontSize:1}),letterShapeStyle:(E=y==null?void 0:y.letterShapeStyle)!=null?E:"tex"}),mathstyle:y.mathstyle}),se=new oi({mode:"math",type:"root",body:Xs(a,{context:ee,parseMode:"math",mathstyle:y.mathstyle})}).render(ee);return se?(Yu(rf(se,ee)),mc(se,{classes:"ML__latex"}).toMarkup()):""}function R1(a){return a0(a,{context:Yc()})}function _v(a,y={}){return yl(Xs(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function jv(a){const y=Xs(a,{parseMode:"math",mathstyle:"displaystyle"});return Kd(y)}var lh;function Vv(a){var y,b;if(!lh){const E=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;E?lh=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=lh==null?void 0:lh.box(a).latex)!=null?b:""}function z1(a,y="math"){return ks(new oi({type:"root",body:Xs(a,{parseMode:y})}))}function H1(a){return Na(a,{format:"ascii-math"})[1]}function Qh(a){if(typeof a=="string"){const y=Gv(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Yv(a):"a"in a?pp(a):a}function Zd(a){return a<0?0:a>255?255:Math.round(a)}function Gv(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],ee=E*Math.PI/180,ae={L:y,a:b*Math.cos(ee),b:b*Math.sin(ee)};return a.alpha!==void 0&&(ae.alpha=a.alpha),ae}function Uv(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.sqrt(b*b+E*E),se=Math.atan2(E,b)*180/Math.PI,ge={L:y,C:ee,H:se};return a.alpha!==void 0&&(ge.alpha=a.alpha),ge}function Jh(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*E,3),ae=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*E,3),se=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*E,3),ge=4.076741661347994*ee-3.307711590408193*ae+.230969928729428*se,we=-1.2684380040921763*ee+2.6097574006633715*ae-.3413193963102197*se,Pe=-.004196086541837188*ee-.7034186144594493*ae+1.7076147009309444*se,je=At=>{const en=Math.abs(At);return en<=.0031308?At*12.92:(Math.sign(At)||1)*(1.055*Math.pow(en,1/2.4)-.055)};return[je(ge),je(we),je(Pe)]}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,ee]=a;return b=Zd(b*255),E=Zd(E*255),ee=Zd(ee*255),y!==void 0?{r:b,g:E,b:ee,alpha:y}:{r:b,g:E,b:ee}}function pp(a){let[y,b,E]=Jh(a);if(qh([y,b,E]))return $h([y,b,E],a.alpha);const ee=Uv(a);if(ee.C=0,[y,b,E]=Jh(Xh(ee)),!qh([y,b,E]))return $h([y,b,E],a.alpha);let ae=0,se=a.L,ge=(ae+se)/2;ee.C=ge;const we=.36/Math.pow(2,12);for(;se-ae>we;)ge=(ae+se)/2,ee.C=ge,[y,b,E]=Jh(Xh(ee)),qh([y,b,E])?ae=ge:se=ge;return $h([y,b,E],a.alpha)}function Yv(a){return pp(Xh(a))}function mp(a,y){const b=Qh(a),E=Qh(y),ee=.56,ae=.57,se=.62,ge=.65,we=.022,Pe=1.414,je=.1,At=5e-4,en=1.14,Mn=.027,On=1.14,zr=.027;function Wi(Ha){return Ha>=we?Ha:Ha+nc(we-Ha,Pe)}function Pr(Ha){return(Ha<0?-1:1)*Math.pow(Math.abs(Ha),2.4)}const yi=Wi(Pr(E.r/255)*.2126729+Pr(E.g/255)*.7151522+Pr(E.b/255)*.072175),Ui=Wi(Pr(b.r/255)*.2126729+Pr(b.g/255)*.7151522+Pr(b.b/255)*.072175);let Mi,Pa,Ga;return Math.abs(Ui-yi)<At?Pa=0:Ui>yi?(Mi=nc(Ui,ee)-nc(yi,ae),Pa=Mi*en):(Mi=nc(Ui,ge)-nc(yi,se),Pa=Mi*On),Math.abs(Pa)<je?Ga=0:Pa>0?Ga=Pa-zr:Ga=Pa+Mn,Ga*100}function gp(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const E=mp(a,b),ee=mp(a,y);return Math.abs(E)>Math.abs(ee)?b:y}function Qv(a){const y=Qh(a);let b=((1<<24)+(Zd(y.r)<<16)+(Zd(y.g)<<8)+Zd(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 es(a){const y=vp(a);let b="";for(const E of y){if(typeof E.value!="string")return"";b+=E.value}return b}function vp(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function Xv(a,y){const b=vp(a);if(b.length!==1)return!1;const E=yh[y];return E?!!E.test(b[0].value):!1}function Jv(a,y){return es(a).length>0}function qv(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 $v(a){return[{label:()=>Js(`\\vec{${es(a)}}`),visible:()=>es(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>Js(`\\overrightarrow{${es(a)}}`),visible:()=>es(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>Js(`\\overleftarrow{${es(a)}}`),visible:()=>es(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>Js(`\\dot{${es(a)}}`),visible:()=>es(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>Js(`\\ddot{${es(a)}}`),visible:()=>es(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>Js(`\\bar{${es(a)}}`),visible:()=>es(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>Js(`\\overline{${es(a)}}`),visible:()=>es(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>Js(`\\overgroup{${es(a)}}`),visible:()=>es(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>Js(`\\overbrace{${es(a)}}`),visible:()=>es(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>Js(`\\underline{${es(a)}}`),visible:()=>es(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>Js(`\\undergroup{${es(a)}}`),visible:()=>es(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>Js(`\\underbrace{${es(a)}}`),visible:()=>es(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function e1(a){return[{label:()=>Js(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>Js(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>Js(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function t1(a){const y=[];for(const b of Object.keys(it))y.push({class:(Qv(gp(it[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${it[b]} "></span>`,ariaLabel:()=>{var E;return(E=pt(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 n1(a){const y=[];for(const b of Object.keys(ot))y.push({class:(gp(ot[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${ot[b]} "></span>`,ariaLabel:()=>{var E;return(E=pt(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 r1=class extends ip{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 i1(a){const y=[];for(let b=1;b<=5;b++)for(let E=1;E<=5;E++)y.push({onCreate:(ee,ae)=>new r1(ee,ae,b,E),label:"\u2610",tooltip:()=>pt("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 a1(a){return[{label:()=>pt("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>Cd(a)},{label:()=>pt("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>Cd(a)},{label:()=>pt("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>Cd(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,E]=l1(a);return b<y.maxColumns}},{label:()=>pt("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>Cd(a)},{type:"divider"},{label:()=>pt("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>Cd(a)},{label:()=>pt("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>Cd(a)},{type:"divider"},{label:()=>pt("menu.borders"),visible:()=>(o1(a)||Cd(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>Cf(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>Cf(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>Cf(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>Cf(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>Cf(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>pt("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:i1(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>pt("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>pt("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{Pd(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>pt("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{Pd(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>pt("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>pt("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:qv(a),submenuClass:"variant-submenu"},{label:()=>pt("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:n1(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>pt("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:t1(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>pt("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:$v(a),submenuClass:"variant-submenu"},{label:()=>pt("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&es(a).length>0,submenu:e1(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>pt("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=s1(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:()=>pt("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?pt("menu.solve-for",Js(b)):pt("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],ee=(y=b.solve(E))==null?void 0:y.map(ae=>{var se;return(se=ae.simplify().latex)!=null?se:""});if(!ee){a.model.announce("plonk");return}a.insert(`${E}=${ee.length===1?ee[0]:"\\left\\lbrace"+(ee==null?void 0:ee.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>pt("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>pt("menu.copy"),id:"copy",submenu:[{label:()=>pt("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>ho.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>pt("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>ho.copyToClipboard(a,"ascii-math")},{label:()=>pt("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>ho.copyToClipboard(a,"math-ml")}]},{label:()=>pt("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>pt("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function Cd(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function o1(a){return a.model.at(a.model.position).type==="array"}function l1(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((E,ee)=>Math.max(E,ee.length),0)]:[0,0]}function Cf(a,y){Of(a),a.flushInlineShortcutBuffer(),T0(a.model,y),xs(a)}function s1(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 ee=E.evaluate();return ee.isSame(E)&&(ee=E.N()),ee.latex}function e0(a,y,b,E){return{label:()=>Js(`\\${b}{${es(a)}}`),tooltip:()=>{var ee;return(ee=pt(E))!=null?ee:E},visible:()=>Xv(a,y),checked:()=>{var ee;return{some:"mixed",all:!0}[(ee=a.queryStyle({variant:y}))!=null?ee:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function t0(a,y,b,E){return{label:()=>Js(`\\${b}{${es(a)}}`),tooltip:()=>{var ee;return(ee=pt(E))!=null?ee:E},visible:()=>Jv(a,y),checked:()=>{var ee;return{some:"mixed",all:!0}[(ee=a.queryStyle({variantStyle:y}))!=null?ee:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Wd(a,y){return a+Kd(y)}Nu({speak:(a,y,b)=>u1(a,y,b)},{target:"mathfield"});function u1(a,y,b){var E,ee;b=b!=null?b:{withHighlighting:!1};const{model:ae}=a;function se(je){let At=null;switch(je){case"all":At=ae.root;break;case"selection":At=ae.getAtoms(ae.selection);break;case"left":{At=ae.getAtoms(ae.offsetOf(ae.at(ae.position).leftSibling),ae.position);break}case"right":{At=ae.getAtoms(ae.position,ae.offsetOf(ae.at(ae.position).rightSibling));break}case"group":At=ae.getAtoms(ae.getSiblingsRange(ae.position));break;case"parent":{const{parent:en}=ae.at(ae.position);en!=null&&en.parent?At=en:At=ae.root;break}default:At=ae.root}return At}function ge(je){let At="";switch(je){case"all":console.log("Internal failure: speak all failed");break;case"selection":At="no selection";break;case"left":At="at start";break;case"right":At="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":At="no parent";break;default:console.log('unknown speak_ param value: "'+je+'"');break}return At}const we=se(y);if(we===null)return(ee=(E=window.MathfieldElement).speakHook)==null||ee.call(E,ge(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const Pe=Kd(we);return Ge()&&b.withHighlighting?(nd().readAloudMathfield=a,fd(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,Pe)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(Pe),!1}function c1(a){var y,b;if(!Ge()){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"}),ee={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(ee,(ae,se)=>{if(ae)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ae}`);else if(se!=null&&se.AudioStream){const ge=new Uint8Array(se.AudioStream),we=new Blob([ge.buffer],{type:"audio/mpeg"}),Pe=URL.createObjectURL(we);new Audio(Pe).play().catch(At=>console.log(At))}else console.log("polly.synthesizeSpeech():",se)})}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 d1(a,y,b,E){let ee="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")ee=Wd("deleted: ",E);else if(y==="focus"||y.includes("move"))ee=f1(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+h1(a.model);else if(y==="replacement")ee=Wd("",a.model.at(a.model.position));else if(y==="line"){const ae=Wd("",a.model.root);a.keyboardDelegate.setAriaLabel(ae)}else ee=E?Wd(y+" ",E):y;if(ee){const ae=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=ee+ae}}function f1(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let E="",ee=b.parent;const ae=a.at(a.position).parent;for(;ee!==a.root&&ee!==ae;)E+=`out of ${yp(ee)};`,ee=ee.parent;return E}function h1(a){if(!a.selectionIsCollapsed)return Wd("",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+=Wd("",b),y}var p1=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 ee={};if((y==null?void 0:y.type)==="undo"&&(ee={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(ee={inputType:"historyRedo"}),this.contentWillChange(ee)){const ae=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=qc(a.content),this.selection=a.selection,this.silenceNotifications=ae,this.contentDidChange(ee)}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,ee;const ae=this.normalizeSelection(a,y);if(ae===void 0)throw new TypeError("Invalid selection");if(ae.ranges.length===1&&ae.ranges[0][0]===ae.ranges[0][1]){const je=ae.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(je))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((E=this.at(je-1))!=null&&E.parentPrompt){this._anchor=this.normalizeOffset(je-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((ee=this.at(je+1))!=null&&ee.parentPrompt){this._anchor=this.normalizeOffset(je+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=je,this._position=je,this._selection=ae;return}const se=Ks(ae);ae.direction==="backward"?[this._position,this._anchor]=se:[this._anchor,this._position]=se;const ge=this.at(se[0]+1),we=this.at(se[1]),Pe=oi.commonAncestor(ge,we);(Pe==null?void 0:Pe.type)==="array"&&ge.parent===Pe&&we.parent===Pe?this._selection={ranges:[se],direction:ae.direction}:this._selection={ranges:[se],direction:ae.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 tu&&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(yc(a)){if(E=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((Pe,je)=>[...Pe,...this.getAtoms(je,E)],[]);a=a.ranges[0]}let ee,ae;if(Xu(a)){if(ee=a,!Xu(y))return[];ae=y}else[ee,ae]=a,E=y!=null?y:{};if(!Number.isFinite(ee))return[];E.includeChildren===void 0&&(E.includeChildren=!1),ee<0&&(ee=this.lastOffset-ee+1),ae<0&&(ae=this.lastOffset-ae+1);const se=Math.min(ee,ae)+1,ge=Math.max(ee,ae);if(!E.includeChildren&&se===1&&ge===this.lastOffset)return[this.root];let we=[];for(let Pe=se;Pe<=ge;Pe++){const je=this.atoms[Pe];bp(this,je,se,ge)&&we.push(je)}return E.includeChildren||(we=we.filter(Pe=>{let je=!1,{parent:At}=Pe;for(;At&&!je;)je=bp(this,At,se,ge),At=At.parent;return!je})),we}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 ee=this.lastOffset;if(b==="forward"){for(let ae=y;ae<=ee;ae++)if(E=this.atoms[ae],a(E))return E;for(let ae=0;ae<y;ae++)if(E=this.atoms[ae],a(E))return E;return}for(let ae=y;ae>=0;ae--)if(E=this.atoms[ae],a(E))return E;for(let ae=ee;ae>y;ae--)if(E=this.atoms[ae],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 oi({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 oi.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 yl(a);if(b==="spoken")return Kd(a);if(b==="spoken-text"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const ee=Kd(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const ee=Kd(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}return b==="ascii-math"?ks(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,ee;if(Xu(a)&&Xu(y)?(E=[this.normalizeRange([a,y])],ee=b):Rc(a)?(E=[this.normalizeRange(a)],ee=y):yc(a)?(E=a.ranges,ee=y):(E=[this.normalizeRange([0,-1])],ee=a),ee!=null||(ee="latex"),ee==="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 ae=this.getValue({ranges:E},"latex-unstyled");try{const se=window.MathfieldElement.computeEngine.parse(ae);return JSON.stringify(se.json)}catch(se){return JSON.stringify(["Error",`'${se.toString()}'`])}}if(ee.startsWith("latex")){const ae={expandMacro:ee==="latex-expanded",skipStyles:ee==="latex-unstyled",skipPlaceholders:ee==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return Eo(E.map(se=>oi.serialize(this.getAtoms(se),ae)))}return E.map(ae=>this.getAtoms(ae).map(se=>this.atomToString(se,ee)).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,ee]=b,{parent:ae}=this.at(ee);if(ae&&(ae.type==="genfrac"||ae.type==="subsup"))for(;ae!==this.root&&n0(this,ae,[E,ee]);)ee=this.offsetOf(ae),ae=ae.parent;for(ae=this.at(E).parent;ae!==this.root&&n0(this,ae,[E,ee]);)E=this.offsetOf(ae.leftSibling),ae=ae.parent;if(ae=this.at(ee).parent,(ae==null?void 0:ae.type)==="genfrac")for(;ae!==this.root&&n0(this,ae,[E,ee]);)ee=this.offsetOf(ae),console.assert(ee>=0),ae=ae.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[E,ee]],direction:"none"}})}announce(a,y,b=[]){var E,ee;((ee=(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?ee:!0)&&d1(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,E=this._anchor,ee=this._position,ae=this.silenceNotifications;this.silenceNotifications=!0;const se=this.root.changeCounter;y();const ge=this.root.changeCounter!==se,we=E!==this._anchor||ee!==this._position||vc(this._selection,b)==="different";return this.silenceNotifications=ae,a.content&&ge&&this.contentDidChange({inputType:a.type}),a.selection&&we&&this.selectionDidChange(),ge||we}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(Xu(a)){const ee=this.normalizeOffset(a);if(Xu(y)){const ae=this.normalizeOffset(y);E=ee<=ae?{ranges:[[ee,ae]],direction:"none"}:{ranges:[[ae,ee]],direction:"backward"}}else E={ranges:[[ee,ee]],direction:"none"}}else if(Rc(a)){const ee=this.normalizeOffset(a[0]),ae=this.normalizeOffset(a[1]);E=ee<=ae?{ranges:[[ee,ae]],direction:"none"}:{ranges:[[ae,ee]],direction:"backward"}}else yc(a)&&(E={ranges:a.ranges.map(ee=>this.normalizeRange(ee)),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(Ec(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",Ee(ye({},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(Ec(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 ee=a.offsetOf(y);if(ee<b||ee>E)return!1;if(!y.hasChildren)return!0;const ae=a.offsetOf(y.firstChild);if(ae>=b&&ae<=E){const se=a.offsetOf(y.lastChild);if(se>=b&&se<=E)return!0}return!1}function n0(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[E,ee]=b,ae=a.offsetOf(y.firstChild),se=a.offsetOf(y.lastChild);return ae>=E&&ae<=ee&&se>=ae&&se<=ee}function wf(a,y,b,E){var ee,ae,se,ge,we,Pe;const je=b.parent;if(je&&b instanceof vl){const At=!E&&y==="forward"||E==="body"&&y==="backward";let en=At?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return At?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(je.addChildrenAfter(b.removeBranch("body"),b),je.removeChild(b),en--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(je.addChildrenAfter(b.removeBranch("body"),b),je.removeChild(b),en--),a.position=en,!0}if(je&&b.type==="surd"){if(y==="forward"&&!E||y==="backward"&&E==="body"){const At=b.leftSibling;b.hasChildren&&je.addChildrenAfter(b.removeBranch("body"),b),je.removeChild(b),a.position=a.offsetOf(At)}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),je.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(je&&(b.type==="box"||b.type==="enclose")){const At=E&&y==="backward"||!E&&y==="forward"?b.leftSibling:b.lastChild;return je.addChildrenAfter(b.removeBranch("body"),b),je.removeChild(b),a.position=a.offsetOf(At),!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 At=Sf.fractionNavigationOrder==="numerator-denominator"?"above":"below",en=At==="above"?"below":"above";if(je&&(y==="forward"&&E===At||y==="backward"&&E===en)){const Mn=b.removeBranch(At),On=b.removeBranch(en);return je.addChildrenAfter([...Mn,...On],b),je.removeChild(b),a.position=a.offsetOf(Mn.length>0?Mn[Mn.length-1]:On[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 At=y==="forward"?(se=(ee=b.superscript)==null?void 0:ee[0])!=null?se:(ae=b.subscript)==null?void 0:ae[0]:(Pe=(ge=b.subscript)==null?void 0:ge[0].lastSibling)!=null?Pe:(we=b.superscript)==null?void 0:we[0].lastSibling;return At&&(a.position=a.offsetOf(At)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const At=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=At,!0}if(E==="superscript")if(y==="backward"){const At=a.offsetOf(b.firstChild)-1;console.assert(At>=0),a.position=At}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 At=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=At}return!0}if((je==null?void 0:je.type)==="genfrac"&&!E&&b.type!=="first"){let At=a.offsetOf(b.leftSibling);return je.removeChild(b),je.hasEmptyBranch("above")&&je.hasEmptyBranch("below")?(At=a.offsetOf(je.leftSibling),je.parent.removeChild(je),a.announce("delete",void 0,[je]),a.position=At,!0):(a.announce("delete",void 0,[b]),a.position=At,!0)}if(y==="backward"&&((je==null?void 0:je.command)==="\\ln"||(je==null?void 0:je.command)==="\\log")&&b.parentBranch!=="body"){const At=a.offsetOf(je.leftSibling);return je.parent.removeChild(je),a.announce("delete",void 0,[je]),a.position=At,!0}return!1}function m1(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&&wf(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(wf(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])}}):Mc(a,Ks(a.selection),"deleteContentBackward")}function g1(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&&wf(a,"forward",E))return;if(E){if(a.at(a.position).isLastSibling&&wf(a,"forward",E.parent,E.parentBranch))return}else{if(E=a.at(a.position),E.isLastSibling&&wf(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 ee=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(ee==null?void 0:ee.type)==="subsup";)ee.parent.removeChild(ee),ee=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[E])}):Mc(a,Ks(a.selection),"deleteContentForward")}function Mc(a,y,b){const E=a.getAtoms(y);if(E.length>0&&E[0].parent){let ee=E[0].parent.firstChild;ee.type==="first"&&(ee=ee.rightSibling);const ae=E[E.length-1].parent.lastChild;let se=E[0];se.type==="first"&&(se=se.rightSibling);const ge=E[E.length-1];if(se===ee&&ge===ae){const we=E[0].parent;we.parent&&we.type!=="prompt"&&(y=[a.offsetOf(we.leftSibling),a.offsetOf(we)])}if(E.length===1&&E[0].type==="placeholder"&&E[0].parent.type==="genfrac"){const we=E[0].parent,Pe=E[0].parentBranch==="below"?"above":"below",je=a.offsetOf(we.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var At,en;const Mn=we.removeBranch(Pe);if(Mn.length===1&&Mn[0].type==="placeholder")(en=we.parent)==null||en.removeChild(we),a.position=Math.max(0,je);else{const On=we.parent.addChildrenAfter(Mn,we);(At=we.parent)==null||At.removeChild(we),a.position=a.offsetOf(On)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Nu({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&Mc(a,[0,-1],"deleteContent"),deleteForward:a=>g1(a),deleteBackward:a=>m1(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&Mc(a,[a.anchor,Ih(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&Mc(a,[a.anchor,Ih(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&Mc(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&Mc(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&Mc(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&Mc(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var v1=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${pt("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>`,y1=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${pt("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>`,b1=class{constructor(a,y){this.focusBlurInProgress=!1;var b,E,ee;this.options=ye(Ee(ye({},Vf()),{macros:cn(),registers:wu()}),jf(y)),this.eventController=new AbortController;const ae=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 se=(E=(b=y.value)!=null?b:this.element.textContent)!=null?E:"";se=se.trim();const ge=F0(this.options),we=new oi({type:"root",mode:ge,body:Xs(se,{context:this.context})});this.model=new p1(this,ge,we),this.undoManager=new jg(this.model);const Pe=[];if(Pe.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>"),Pe.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),Pe.push("<span part=content class=ML__content>"),Pe.push(A0(this)),Pe.push("</span>"),window.mathVirtualKeyboard&&(Pe.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">`),Pe.push(v1),Pe.push("</div>")),Pe.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),Pe.push(y1),Pe.push("</div>"),Pe.push("</span>"),Pe.push("<span class=ML__sr-only>"),Pe.push("<span role=status aria-live=assertive aria-atomic=true></span>"),Pe.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(Pe.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=ft.subscribe(()=>ft.update(this.element)),ft.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",At=>At.stopImmediatePropagation(),{capture:!1,signal:ae}),this.field.addEventListener("wheel",this,{passive:!1,signal:ae}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:ae}):this.field.addEventListener("mousedown",this,{signal:ae}),(ee=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||ee.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(Ec(this)))},{signal:ae}),this._menu=new Bv(a1(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:ae});const je=this.element.querySelector("[part=menu-toggle]");je==null||je.addEventListener("pointerdown",At=>{if(At.currentTarget!==je||this._menu.state!=="closed")return;this.element.classList.add("tracking");const en=je.getBoundingClientRect();this._menu.modifiers=dd(At),this._menu.show({target:je,location:{x:en.left,y:en.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),At.preventDefault(),At.stopPropagation()},{signal:ae}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(je.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:ae}),document.addEventListener("scroll",this,{signal:ae}),this.resizeObserver=new ResizeObserver(()=>xs(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:ae}),lf&&!ft.locale.startsWith(lf.locale)&&Vm(ft.locale),_u!=="ready"&&document.fonts.ready.then(()=>Hf(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(Ec(this)),rh(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:bc(this.field))!=null?b:void 0,ee=a==null?void 0:a.modifiers,ae=this.element.querySelector("[part=container]");return this._menu.show({target:ae,location:E,modifiers:ee})}get colorMap(){return a=>{var y,b,E;return(E=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?E:mt(a)}}get backgroundColorMap(){return a=>{var y,b,E,ee,ae,se;return(se=(ae=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?ae:(ee=(E=this.options).colorMap)==null?void 0:ee.call(E,a))!=null?se:Te(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=oi.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=ye({},a[0].style);for(const b of a)for(const[E,ee]of Object.entries(b.style))y[E]!==ee&&delete y[E];return y}queryStyle(a){const y=Rh(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 we of Object.keys(y)){const Pe=this.queryStyle({[we]:y[we]});if(Pe==="none")return"none";if(Pe==="some")return"some"}return"all"}const E=Object.keys(y)[0],ee=y[E];if(this.model.selectionIsCollapsed)return this.effectiveStyle[E]===ee?"all":"none";const ae=this.model.getAtoms(this.model.selection,{includeChildren:!0});let se=ae.length;if(se===0)return"none";let ge=0;for(const we of ae){if(we.type==="first"){se-=1;continue}we.style[E]===ee&&(ge+=1)}return ge===0?"none":ge===se?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,E]=eg(this.options.keybindings,(a=sf())!=null?a:Gm());return((y=sf())==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=ye(ye({},this.options),jf(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=oi.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==E)&&ho.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)&&xs(this)}getOptions(a){return pd(this.options,a)}getOption(a){return pd(this.options,a)}handleEvent(a){return jc(this,null,function*(){var y;if(Ku(this)){if(kh(a)){if(!qd(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(Ld(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))&&$f.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield sp(a,this.element.querySelector("[part=container]"),this._menu))&&$f.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&rh(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Ku(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Ku(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!Ku(this))return;ft.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,tv(),og(),wv()}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 Ld(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Ec(this))),!1):hg(this,a)}get errors(){return a0(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=ld(this.model,this.model.position))!=null?b:"math");const E=this.undoManager.canUndo();ho.insert(this.model,a,y)&&(xs(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,ee=this.host.getBoundingClientRect();ee.bottom>E.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,ee.bottom-E.top+8))}}this.dirty&&fd(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=bc(this.field);else{const E=Jd(this);if(E.length>0){let ee=-1/0,ae=-1/0;for(const se of E)se.right>ee&&(ee=se.right),se.top<ae&&(ae=se.top);b={x:ee+y.left-this.field.scrollLeft,y:ae+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const E=this.host.getBoundingClientRect(),ee=b.y;let ae=this.host.scrollTop;ee<E.top?ae=ee-E.top+this.host.scrollTop:ee>E.bottom&&(ae=ee-E.bottom+this.host.scrollTop+b.height),this.host.scroll({top:ae,left:0})}if(b){const E=b.x-window.scrollX;let ee=this.field.scrollLeft;E<y.left?ee=E-y.left+this.field.scrollLeft-20:E>y.right&&(ee=E-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:ee})}}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&&ct()&&navigator.vibrate(M0),window.MathfieldElement.playSound("keypress")),a==="\\\\"?O0(this.model):a==="&"?N0(this.model):this.model.selectionIsCollapsed?ho.insert(this.model,a,ye({style:this.model.at(this.model.position).computedStyle},y)):ho.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),xs(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 ee=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=ee;return}const ae=this.model.mode,{model:se}=this;se.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let ge=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const we=Xs(y,{context:this.context,parseMode:a});se.collapseSelection("forward");const Pe=se.at(se.position);se.position=se.offsetOf(Pe.parent.addChildrenAfter(we,Pe)),ge=!0}if(this.model.mode=a,a==="latex"){let we=se.selectionIsCollapsed;Pd(this,"accept");let Pe,je=se.at(se.position);if(we)Pe="\\";else{const en=Ks(se.selection);Pe=this.model.getValue(en,"latex");const Mn=this.model.extractAtoms(en);Mn.length===1&&Mn[0].type==="placeholder"&&(Pe=y,we=!0),je=se.at(en[0])}const At=new ef(Pe);je.parent.addChildAfter(At,je),we?se.position=se.offsetOf(At.lastChild):se.setSelection(se.offsetOf(At.firstChild),se.offsetOf(At.lastChild))}else uf(se).forEach(we=>{we.isError=!1});if(b){const we=Xs(b,{context:this.context,parseMode:ae});se.collapseSelection("forward");const Pe=se.at(se.position);se.position=se.offsetOf(Pe.parent.addChildrenAfter(we,Pe)),ge=!0}return xs(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),ge}),this.model.mode=a,window.mathVirtualKeyboard.update(Ec(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 ee={operation:"set",silenceNotifications:!1};Rc(y)?ee.range=y:(y.operation==="toggle"&&(ee.operation="toggle"),ee.range=y.range,ee.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const ae=Rh(this,a),se=(E=ee.operation)!=null?E:"set";if(ee.range===void 0&&this.model.selectionIsCollapsed){if(se==="set"){this.defaultStyle=ye(ye({},this.defaultStyle),ae);return}const ge=ye({},this.defaultStyle);for(const we of Object.keys(ae))ge[we]===ae[we]?(we==="color"&&delete ge.verbatimColor,we==="backgroundColor"&&delete ge.verbatimBackgroundColor,delete ge[we]):ge[we]=ae[we];this.defaultStyle=ge;return}this.model.deferNotifications({content:!ee.silenceNotifications,type:"insertText"},()=>{if(ee.range===void 0)for(const ge of this.model.selection.ranges)Bh(this.model,ge,ae,{operation:se});else Bh(this.model,ee.range,ae,{operation:se})}),xs(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=bc(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=vf(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),xs(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),ee=this.model.offsetOf(b.lastChild);return this.model.getValue(E,ee,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 ee=this.model.getBranchRange(this.model.offsetOf(E),"body");this.model.setSelection(ee),this.insert(y,Ee(ye({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),xs(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),xs(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(Ec(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(Ec(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(Ec(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),ee=(a=E.mode)!=null?a:F0(this.options);this.model.mode!==ee&&(this.model.mode==="latex"?(Pd(this,"accept",{mode:ee}),b.position=b.offsetOf(E)):this.switchMode(ee))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ec(this)),rh(this)}onContentWillChange(a){var y,b,E;return(E=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",Ee(ye({},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(),fd(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="",Id(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})),xs(this),this.focusBlurInProgress=!1,Wh();const E=new AbortController,ee=E.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{Ku(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:ee})},{once:!0,signal:ee}),setTimeout(()=>E.abort(),100)}onInput(a){Oh(this,a)}onKeystroke(a){return V0(this,a)}onCompositionStart(a){this.model.deleteAtoms(Ks(this.model.selection));const y=bc(this.field);y&&requestAnimationFrame(()=>{fd(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Ng(this.model,a),xs(this)}onCompositionEnd(a){Tg(this.model),Oh(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),ho.onCopy(this,a),Mc(this.model,Ks(this.model.selection),"deleteByCut"),this.snapshot("cut"),xs(this))}onCopy(a){ho.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=ho.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(),Tf(this),rh(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=>ln(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 x1(a,y){var b;if(!Ge())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"}),ee={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};nd().readAloudElement=a,E.synthesizeSpeech(ee,(ae,se)=>{if(ae){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ae}`);return}if(!(se!=null&&se.AudioStream)){console.log("polly.synthesizeSpeech():",se);return}const ge=new TextDecoder("utf-8").decode(new Uint8Array(se.AudioStream));nd().readAloudMarks=ge.split(`
|
|
|
`).map(we=>we?JSON.parse(we):{}),nd().readAloudTokens=[];for(const we of nd().readAloudMarks)we.value&&nd().readAloudTokens.push(we.value);nd().readAloudCurrentMark="",ee.OutputFormat="mp3",ee.SpeechMarkTypes=[],E.synthesizeSpeech(ee,(we,Pe)=>{if(we){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${we}`);return}if(!(Pe!=null&&Pe.AudioStream))return;const je=new Uint8Array(Pe.AudioStream),At=new Blob([je.buffer],{type:"audio/mpeg"}),en=URL.createObjectURL(At),Mn=nd();Mn.readAloudAudio?Mn.readAloudAudio.pause():(Mn.readAloudAudio=new Audio,Mn.readAloudAudio.addEventListener("ended",()=>{const On=Mn.readAloudMathfield;Mn.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),On?(fd(On),Mn.readAloudElement=null,Mn.readAloudMathfield=null,Mn.readAloudTokens=[],Mn.readAloudMarks=[],Mn.readAloudCurrentMark=""):xp(Mn.readAloudElement)}),Mn.readAloudAudio.addEventListener("timeupdate",()=>{let On="";const zr=Mn.readAloudAudio.currentTime*1e3+100;for(const Wi of Mn.readAloudMarks)Wi.time<zr&&(On=Wi.value);Mn.readAloudCurrentMark!==On&&(Mn.readAloudCurrentToken=On,On&&On===Mn.readAloudFinalToken?Mn.readAloudAudio.pause():(Mn.readAloudCurrentMark=On,r0(Mn.readAloudElement,Mn.readAloudCurrentMark)))})),Mn.readAloudAudio.src=en,Mn.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),Mn.readAloudAudio.play()})})}Ge()||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 ll=new WeakMap,C1=.5,td={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 = ..."},nu=class wd extends HTMLElement{static get formAssociated(){return _d()}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,ug())}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,ee;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:(ee=y.delete)!=null?ee: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 ft.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),ft.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 ft.strings}static set strings(y){ft.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 jc(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 ae=yield(yield fetch(yield E0(`${E}/${b}`))).arrayBuffer(),se=yield this.audioContext.decodeAudioData(ae);this.audioBuffers[y]=se}catch(ee){}})}static playSound(y){return jc(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=C1,b.connect(E).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const E of Object.keys(y))if(td[E])if(td[E].startsWith("mf."))if(td[E].startsWith(`mf.${E}`))b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${td[E]}`);else{const ee=td[E].match(/([a-zA-Z]+) =/);b.push(`Option \`${E}\` has been renamed \`${ee[1]}\``)}else b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${td[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(_d()&&(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=[Jc("core"),Jc("mathfield"),Jc("mathfield-element"),Jc("ui"),Jc("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>"+Hc("core")+Hc("mathfield")+Hc("mathfield-element")+Hc("ui")+Hc("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(ee=>ee.nodeType===3?ee.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,ee;return(ee=(E=this._mathfield)==null?void 0:E.getPromptValue(y,b))!=null?ee:""}setPromptValue(y,b,E){var ee;(ee=this._mathfield)==null||ee.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 ee=(E=(b=wd.computeEngine)==null?void 0:b.box(y).latex)!=null?E:null;ee!==null&&this._mathfield.setValue(ee),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?pd(this._mathfield.options,y):ll.has(this)?ye({},pd(ye(ye({},Vf()),jf(ll.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?pd(this._mathfield.options,y):ll.has(this)?pd(ye(ye({},Vf()),jf(ll.get(this).options)),y):null}reflectAttributes(){const y=Vf(),b=this._getOptions();Object.keys(wd.optionsAttributes).forEach(E=>{const ee=_c(E);wd.optionsAttributes[E]==="on/off"?y[ee]!==b[ee]?this.setAttribute(E,b[ee]?"on":"off"):this.removeAttribute(E):y[ee]!==b[ee]&&(wd.optionsAttributes[E]==="boolean"?b[ee]?this.setAttribute(E,""):this.removeAttribute(E):(typeof b[ee]=="string"||typeof b[ee]=="number")&&this.setAttribute(E,b[ee].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(ll.has(this)){const b=ye(ye({},ll.get(this).options),y);ll.set(this,Ee(ye({},ll.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else ll.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))td[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${td[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 ee,ae;if(this._mathfield)return this._mathfield.model.getValue(y,b,E);if(ll.has(this)){let se,ge,we;if(yc(y)?([se,ge]=y.ranges[0],we=b):Rc(y)?([se,ge]=y,we=b):Xu(y)&&Xu(b)?(se=y,ge=b,we=E):(se=0,ge=-1,we=y),(we===void 0||we==="latex")&&se===0&&ge===-1)return(ae=(ee=ll.get(this).value)!=null?ee:this.textContent)!=null?ae:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(ll.has(this)){const ee=ll.get(this).options;ll.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:ee,menuItems:void 0});return}const E=Ef(this);ll.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,ee;return(ee=(E=this._mathfield)==null?void 0:E.insert(y,b))!=null?ee:!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,ee;return(ee=(E=this._mathfield)==null?void 0:E.setCaretPoint(y,b))!=null?ee:!1}offsetFromPoint(y,b,E){return this._mathfield?vf(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=Qc(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,ee,ae;Cc.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"&&((ee=this._mathfield)==null||ee.focus()),y.type==="blur"&&((ae=this._mathfield)==null||ae.blur()))}connectedCallback(){var y,b,E,ee;const ae=window.getComputedStyle(this),se=this.shadowRoot,ge=ae.userSelect!=="none";if(ge)se.host.addEventListener("pointerdown",this,!0);else{const je=se.querySelector("span");je.style.pointerEvents="none"}se.host.addEventListener("focus",this,!0),se.host.addEventListener("blur",this,!0),_d()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),ge&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const we=se.querySelector("slot:not([name])");if(we)try{this._style=we.assignedElements().filter(je=>je.tagName.toLowerCase()==="style").map(je=>je.textContent).join("")}catch(je){console.error(je)}if(this._style){const je=document.createElement("style");je.textContent=this._style,se.appendChild(je)}let Pe="";if(this.hasAttribute("value")?Pe=this.getAttribute("value"):Pe=(y=we==null?void 0:we.assignedNodes().map(je=>je.nodeType===3?je.textContent:"").join("").trim())!=null?y:"",this._mathfield=new b1(se.querySelector(":host > span"),Ee(ye({},(E=(b=ll.get(this))==null?void 0:b.options)!=null?E:Ef(this)),{eventSink:this,value:Pe})),!ll.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const je of Object.keys(wd.optionsAttributes))this.upgradeProperty(_c(je))}if(!((ee=this._mathfield)!=null&&ee.model)){this._mathfield=null;return}if(ll.has(this)){const je=this._mathfield,At=ll.get(this),en=At.menuItems;je.model.deferNotifications({content:!1,selection:!1},()=>{const Mn=At.value;Mn!==void 0&&je.setValue(Mn),je.model.selection=At.selection,ll.delete(this)}),en&&(this.menuItems=en)}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=pd(this._mathfield.options,Object.keys(wd.optionsAttributes).map(ee=>_c(ee)));ll.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 ee=E!==null;switch(y){case"contenteditable":xs(this._mathfield);break;case"disabled":this.disabled=ee;break;case"read-only":case"readonly":this.readOnly=ee;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),_d()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(_d()?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"),_d()?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,ee){return typeof E!="string"?!1:(y._setOptions({registers:Ee(ye({},y._getOption("registers")),{[E]:ee})}),!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(ee=>ee.menuItem))!=null?y:[]:(E=(b=ll.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}ll.has(this)?ll.set(this,Ee(ye({},ll.get(this)),{menuItems:y})):ll.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:Ef(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 ee;(ee=this._mathfield)==null||ee.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:ll.has(this)?ll.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,xs(this._mathfield);return}if(ll.has(this)){ll.set(this,Ee(ye({},ll.get(this)),{selection:y}));return}ll.set(this,{value:void 0,selection:y,options:Ef(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:ll.has(this)?ll.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,xs(this._mathfield)),ll.has(this)){ll.set(this,Ee(ye({},ll.get(this)),{selection:{ranges:[[y,y]]}}));return}ll.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:Ef(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}};nu.version="0.98.5",nu._fontsDirectory="./fonts",nu._soundsDirectory="./sounds",nu.keypressVibration=!0,nu._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},nu._plonkSound="plonk.wav",nu.audioBuffers={},nu.createHTML=a=>a,nu._speechEngineRate="100%",nu._speechEngineVoice="Joanna",nu._textToSpeechMarkup="",nu._textToSpeechRules="mathlive",nu._textToSpeechRulesOptions={},nu.speakHook=c1,nu.readAloudHook=x1,nu._decimalSeparator=".",nu.fractionNavigationOrder="numerator-denominator",nu._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 Sf=nu;function _c(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function Ef(a){const y={readOnly:!1},b=Sf.optionsAttributes;return Object.keys(b).forEach(E=>{if(a.hasAttribute(E)){const ee=a.getAttribute(E);E==="placeholder"?y.contentPlaceholder=ee!=null?ee:"":b[E]==="boolean"?y[_c(E)]=!0:b[E]==="on/off"?ee==="on"?y[_c(E)]=!0:ee==="off"?y[_c(E)]=!1:y[_c(E)]=void 0:b[E]==="number"?y[_c(E)]=Number.parseFloat(ee!=null?ee:"0"):y[_c(E)]=ee}}),y}function _d(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var Cp=Sf,wp,Sp,Ep,Ap;if(Ge()&&!((wp=window.customElements)!=null&&wp.get("math-field"))){(Ep=window[Sp=Symbol.for("io.cortexjs.mathlive")])!=null||(window[Sp]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=Sf,(Ap=window.customElements)==null||Ap.define("math-field",Sf)}function w1(a,y,b){let E=b,ee=0;const ae=a.length;for(;E<y.length;){const se=y[E];if(ee<=0&&y.slice(E,E+ae)===a)return E;se==="\\"?E++:se==="{"?ee++:se==="}"&&ee--,E++}return-1}function sh(a,y,b,E,ee="latex"){const ae=[];for(const se of a)if(se.type==="text"){const ge=se.data;let we=!0,Pe=0,je;je=ge.indexOf(y),je!==-1&&(Pe=je,Pe>0&&ae.push({type:"text",data:ge.slice(0,Pe)}),we=!1);let At=!1;for(;!At;){if(we){if(je=ge.indexOf(y,Pe),je===-1){At=!0;break}Pe!==je&&ae.push({type:"text",data:ge.slice(Pe,je)}),Pe=je}else{if(je=w1(b,ge,Pe+y.length),je===-1){At=!0;break}let en=ge.slice(Pe+y.length,je);ee==="ascii-math"&&([,en]=Na(en,{format:"ascii-math"})),ae.push({type:"math",data:en,rawData:ge.slice(Pe,je+b.length),mathstyle:E}),Pe=je+b.length}we=!we}Pe<ge.length&&ae.push({type:"text",data:ge.slice(Pe)})}else ae.push(se);return ae}function Mp(a,y,b){let E=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([ee,ae])=>{E=sh(E,ee,ae,"textstyle")}),y!=null&&y.display&&y.display.forEach(([ee,ae])=>{E=sh(E,ee,ae,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([ee,ae])=>{E=sh(E,ee,ae,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([ee,ae])=>{E=sh(E,ee,ae,"displaystyle","ascii-math")}),E}function S1(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 E1(a,y,b,E){try{const ee=y.renderToMarkup(a,{mathstyle:b,format:"html"}),ae=document.createElement("span");return ae.dataset.latex=a,ae.style.display=b==="displaystyle"?"flex":"inline-flex",ae.setAttribute("aria-hidden","true"),ae.setAttribute("translate","no"),ae.innerHTML=window.MathfieldElement.createHTML(ee),ae}catch(ee){if(console.error("Could not parse'"+a+"' with ",ee),E)return document.createTextNode(a)}return null}function jd(a,y,b,E){var ee;const ae=E1(a,b,y||"textstyle",E),se=(ee=b.renderAccessibleContent)!=null?ee:"";if(ae&&/\b(mathml|speakable-text)\b/i.test(se)){const ge=document.createElement("span");if(/\bmathml\b/i.test(se)&&b.renderToMathML&&ge.append(S1(a,b)),/\bspeakable-text\b/i.test(se)&&b.renderToSpeakableText){const we=document.createElement("span");we.setAttribute("translate","no");const Pe=b.renderToSpeakableText(a);we.innerHTML=window.MathfieldElement.createHTML(Pe),we.className="ML__sr-only",ge.append(we)}return ge.append(ae),ge}return ae}function A1(a,y){var b,E,ee;let ae=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){ae=document.createDocumentFragment();const se=jd(a,"",y,!0);se&&ae.appendChild(se)}else{if(!a.trim())return null;const se=Mp(a,(E=y.TeX)==null?void 0:E.delimiters,(ee=y.asciiMath)==null?void 0:ee.delimiters);if(se.length===1&&se[0].type==="text")return null;ae=document.createDocumentFragment();for(const ge of se)if(ge.type==="text")ae.appendChild(document.createTextNode(ge.data));else{const we=jd(ge.data,ge.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);we&&ae.appendChild(we)}}return ae}function kp(a,y){var b,E,ee,ae,se,ge,we,Pe,je,At,en,Mn,On,zr,Wi,Pr;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const yi=(b=a.childNodes[0].textContent)!=null?b:"";if((E=y.TeX)!=null&&E.processEnvironments&&/^\s*\\begin/.test(yi)){a.textContent="";const Mi=jd(yi,"",y,!0);Mi&&a.append(Mi);return}const Ui=Mp(yi,(ee=y.TeX)==null?void 0:ee.delimiters,(ae=y.asciiMath)==null?void 0:ae.delimiters);if(Ui.length===1&&Ui[0].type==="math"){a.textContent="";const Mi=jd(Ui[0].data,Ui[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);Mi&&a.append(Mi);return}if(Ui.length===1&&Ui[0].type==="text")return}for(let yi=a.childNodes.length-1;yi>=0;yi--){const Ui=a.childNodes[yi];if(Ui.nodeType===3){const Mi=A1((se=Ui.textContent)!=null?se:"",y);Mi&&(yi+=Mi.childNodes.length-1,Ui.replaceWith(Mi))}else if(Ui.nodeType===1){const Mi=Ui,Pa=Ui.nodeName.toLowerCase();if(Pa==="script"){const Ga=Ui;let Ha;if((ge=y.processScriptTypePattern)!=null&&ge.test(Ga.type))Ha=(we=Ga.textContent)!=null?we:"";else if((Pe=y.processMathJSONScriptTypePattern)!=null&&Pe.test(Ga.type))try{Ha=(At=y.serializeToLatex)==null?void 0:At.call(y,JSON.parse((je=Ga.textContent)!=null?je:""))}catch(Xo){console.error(Xo)}if(Ha){let Xo="textstyle";for(const ta of Ga.type.split(";")){const[ju,kc]=ta.toLowerCase().split("=");ju.trim()==="mode"&&(Xo=kc.trim()==="display"?"displaystyle":"textstyle")}const Dl=jd(Ha,Xo,y,!0);Dl&&Ga.parentNode.replaceChild(Dl,Ga)}}else if(((Mn=(en=y.processClassPattern)==null?void 0:en.test(Mi.className))!=null?Mn:!1)||!((zr=(On=y.skipTags)==null?void 0:On.includes(Pa))!=null&&zr||(Pr=(Wi=y.ignoreClassPattern)==null?void 0:Wi.test(Mi.className))!=null&&Pr))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Ha=a.textContent;a.textContent="";const Xo=jd(Ha!=null?Ha:"","displaystyle",y,!0);Xo&&a.append(Xo)}else kp(Mi,y)}}}var M1={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 k1(a,y){var b,E,ee,ae;try{const se=ye(ye({},M1),y);se.ignoreClassPattern=new RegExp((b=se.ignoreClass)!=null?b:""),se.processClassPattern=new RegExp((E=se.processClass)!=null?E:""),se.processScriptTypePattern=new RegExp((ee=se.processScriptType)!=null?ee:""),se.processMathJSONScriptTypePattern=new RegExp((ae=se.processMathJSONScriptType)!=null?ae:""),zf(),Ou("core"),kp(a,se)}catch(se){se instanceof Error?console.error("renderMathInElement(): "+se.message):console.error("renderMathInElement(): Could not render math for element",a)}}function D1(a,y){const b=$c.singleton;return b?(b.show(),ff(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function B1(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}Nu({switchKeyboardLayer:D1,toggleVirtualKeyboard:B1,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function nd(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function K1(){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 Z1(a){I1(document.body,a)}function P1(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 I1(a,y){var b,E,ee,ae;const se=P1(a);if(!se)return;const ge=y!=null?y:{};(b=ge.renderToMarkup)!=null||(ge.renderToMarkup=Js),(E=ge.renderToMathML)!=null||(ge.renderToMathML=_v),(ee=ge.renderToSpeakableText)!=null||(ge.renderToSpeakableText=jv),(ae=ge.serializeToLatex)!=null||(ge.serializeToLatex=Vv),k1(se,ge)}var W1={mathlive:"0.98.5"}},16722:function(Ln,pn,ie){"use strict";ie.d(pn,{Z:function(){return ye}});const ne=Ee=>typeof Ee=="object"&&Ee!=null&&Ee.nodeType===1,be=(Ee,Re)=>(!Re||Ee!=="hidden")&&Ee!=="visible"&&Ee!=="clip",Ce=(Ee,Re)=>{if(Ee.clientHeight<Ee.scrollHeight||Ee.clientWidth<Ee.scrollWidth){const ht=getComputedStyle(Ee,null);return be(ht.overflowY,Re)||be(ht.overflowX,Re)||(ke=>{const Le=(Ge=>{if(!Ge.ownerDocument||!Ge.ownerDocument.defaultView)return null;try{return Ge.ownerDocument.defaultView.frameElement}catch(nt){return null}})(ke);return!!Le&&(Le.clientHeight<ke.scrollHeight||Le.clientWidth<ke.scrollWidth)})(Ee)}return!1},yt=(Ee,Re,ht,ke,Le,Ge,nt,ct)=>Ge<Ee&&nt>Re||Ge>Ee&&nt<Re?0:Ge<=Ee&&ct<=ht||nt>=Re&&ct>=ht?Ge-Ee-ke:nt>Re&&ct<ht||Ge<Ee&&ct>ht?nt-Re+Le:0,Se=Ee=>{const Re=Ee.parentElement;return Re==null?Ee.getRootNode().host||null:Re},Ae=(Ee,Re)=>{var ht,ke,Le,Ge;if(typeof document=="undefined")return[];const{scrollMode:nt,block:ct,inline:Et,boundary:Ct,skipOverflowHiddenElements:Wt}=Re,ft=typeof Ct=="function"?Ct:Mt=>Mt!==Ct;if(!ne(Ee))throw new TypeError("Invalid target");const pt=document.scrollingElement||document.documentElement,ze=[];let he=Ee;for(;ne(he)&&ft(he);){if(he=Se(he),he===pt){ze.push(he);break}he!=null&&he===document.body&&Ce(he)&&!Ce(document.documentElement)||he!=null&&Ce(he,Wt)&&ze.push(he)}const it=(ke=(ht=window.visualViewport)==null?void 0:ht.width)!=null?ke:innerWidth,ot=(Ge=(Le=window.visualViewport)==null?void 0:Le.height)!=null?Ge:innerHeight,{scrollX:ut,scrollY:Je}=window,{height:mt,width:Te,top:xt,right:Ne,bottom:Rt,left:Dt}=Ee.getBoundingClientRect(),{top:Nt,right:wt,bottom:It,left:We}=(Mt=>{const Ue=window.getComputedStyle(Mt);return{top:parseFloat(Ue.scrollMarginTop)||0,right:parseFloat(Ue.scrollMarginRight)||0,bottom:parseFloat(Ue.scrollMarginBottom)||0,left:parseFloat(Ue.scrollMarginLeft)||0}})(Ee);let ve=ct==="start"||ct==="nearest"?xt-Nt:ct==="end"?Rt+It:xt+mt/2-Nt+It,Qe=Et==="center"?Dt+Te/2-We+wt:Et==="end"?Ne+wt:Dt-We;const Vt=[];for(let Mt=0;Mt<ze.length;Mt++){const Ue=ze[Mt],{height:st,width:Ht,top:yn,right:Ut,bottom:Sn,left:jt}=Ue.getBoundingClientRect();if(nt==="if-needed"&&xt>=0&&Dt>=0&&Rt<=ot&&Ne<=it&&(Ue===pt&&!Ce(Ue)||xt>=yn&&Rt<=Sn&&Dt>=jt&&Ne<=Ut))return Vt;const Jt=getComputedStyle(Ue),Ot=parseInt(Jt.borderLeftWidth,10),xe=parseInt(Jt.borderTopWidth,10),ce=parseInt(Jt.borderRightWidth,10),ue=parseInt(Jt.borderBottomWidth,10);let de=0,fe=0;const le="offsetWidth"in Ue?Ue.offsetWidth-Ue.clientWidth-Ot-ce:0,Fe="offsetHeight"in Ue?Ue.offsetHeight-Ue.clientHeight-xe-ue:0,at="offsetWidth"in Ue?Ue.offsetWidth===0?0:Ht/Ue.offsetWidth:0,Ze="offsetHeight"in Ue?Ue.offsetHeight===0?0:st/Ue.offsetHeight:0;if(pt===Ue)de=ct==="start"?ve:ct==="end"?ve-ot:ct==="nearest"?yt(Je,Je+ot,ot,xe,ue,Je+ve,Je+ve+mt,mt):ve-ot/2,fe=Et==="start"?Qe:Et==="center"?Qe-it/2:Et==="end"?Qe-it:yt(ut,ut+it,it,Ot,ce,ut+Qe,ut+Qe+Te,Te),de=Math.max(0,de+Je),fe=Math.max(0,fe+ut);else{de=ct==="start"?ve-yn-xe:ct==="end"?ve-Sn+ue+Fe:ct==="nearest"?yt(yn,Sn,st,xe,ue+Fe,ve,ve+mt,mt):ve-(yn+st/2)+Fe/2,fe=Et==="start"?Qe-jt-Ot:Et==="center"?Qe-(jt+Ht/2)+le/2:Et==="end"?Qe-Ut+ce+le:yt(jt,Ut,Ht,Ot,ce+le,Qe,Qe+Te,Te);const{scrollLeft:Me,scrollTop:Lt}=Ue;de=Ze===0?0:Math.max(0,Math.min(Lt+de/Ze,Ue.scrollHeight-st/Ze+Fe)),fe=at===0?0:Math.max(0,Math.min(Me+fe/at,Ue.scrollWidth-Ht/at+le)),ve+=Lt-de,Qe+=Me-fe}Vt.push({el:Ue,top:de,left:fe})}return Vt},pe=Ee=>Ee===!1?{block:"end",inline:"nearest"}:(Re=>Re===Object(Re)&&Object.keys(Re).length!==0)(Ee)?Ee:{block:"start",inline:"nearest"};function ye(Ee,Re){if(!Ee.isConnected||!(Le=>{let Ge=Le;for(;Ge&&Ge.parentNode;){if(Ge.parentNode===document)return!0;Ge=Ge.parentNode instanceof ShadowRoot?Ge.parentNode.host:Ge.parentNode}return!1})(Ee))return;const ht=(Le=>{const Ge=window.getComputedStyle(Le);return{top:parseFloat(Ge.scrollMarginTop)||0,right:parseFloat(Ge.scrollMarginRight)||0,bottom:parseFloat(Ge.scrollMarginBottom)||0,left:parseFloat(Ge.scrollMarginLeft)||0}})(Ee);if((Le=>typeof Le=="object"&&typeof Le.behavior=="function")(Re))return Re.behavior(Ae(Ee,Re));const ke=typeof Re=="boolean"||Re==null?void 0:Re.behavior;for(const{el:Le,top:Ge,left:nt}of Ae(Ee,pe(Re))){const ct=Ge-ht.top+ht.bottom,Et=nt-ht.left+ht.right;Le.scroll({top:ct,left:Et,behavior:ke})}}}}]);
|
|
|
}()); |