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

1293 lines
1.5 MiB

This file contains ambiguous Unicode characters!

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

!(function(){var sc=Object.defineProperty,uc=Object.defineProperties;var cc=Object.getOwnPropertyDescriptors;var Eu=Object.getOwnPropertySymbols;var Gu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable;var Tu=Math.pow,Yu=(Yn,dn,z)=>dn in Yn?sc(Yn,dn,{enumerable:!0,configurable:!0,writable:!0,value:z}):Yn[dn]=z,xo=(Yn,dn)=>{for(var z in dn||(dn={}))Gu.call(dn,z)&&Yu(Yn,z,dn[z]);if(Eu)for(var z of Eu(dn))Xu.call(dn,z)&&Yu(Yn,z,dn[z]);return Yn},Da=(Yn,dn)=>uc(Yn,cc(dn));var wu=(Yn,dn)=>{var z={};for(var b in Yn)Gu.call(Yn,b)&&dn.indexOf(b)<0&&(z[b]=Yn[b]);if(Yn!=null&&Eu)for(var b of Eu(Yn))dn.indexOf(b)<0&&Xu.call(Yn,b)&&(z[b]=Yn[b]);return z};var Qu=(Yn,dn,z)=>new Promise((b,xe)=>{var ce=Ce=>{try{Me(z.next(Ce))}catch(Be){xe(Be)}},nt=Ce=>{try{Me(z.throw(Ce))}catch(Be){xe(Be)}},Me=Ce=>Ce.done?b(Ce.value):Promise.resolve(Ce.value).then(ce,nt);Me((z=z.apply(Yn,dn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[4030],{89489:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},59477:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},40001:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},49198:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},87169:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},73331:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},15277:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},52671:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},8657:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},56082:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},33853:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},15075:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},43531:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},61485:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},47472:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},87395:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(54476),xe=z(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"},nt=ce,Me=z(7657),Ce=function(de,Ke){return xe.createElement(Me.Z,(0,b.Z)({},de,{ref:Ke,icon:nt}))},Be=xe.forwardRef(Ce),He=Be},87954:function(Yn,dn,z){"use strict";z.d(dn,{LB:function(){return Br},y9:function(){return io},g4:function(){return Ht},we:function(){return yn},pE:function(){return _e},VK:function(){return Mt},Cj:function(){return Xr},O1:function(){return $r},Zj:function(){return ur},VT:function(){return ze},Dy:function(){return je}});var b=z(59301),xe=z(4676),ce=z(35241);const nt={display:"none"};function Me(ke){let{id:tt,value:Ft}=ke;return b.createElement("div",{id:tt,style:nt},Ft)}function Ce(ke){let{id:tt,announcement:Ft,ariaLiveType:an="assertive"}=ke;const cn={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 b.createElement("div",{id:tt,style:cn,role:"status","aria-live":an,"aria-atomic":!0},Ft)}function Be(){const[ke,tt]=(0,b.useState)("");return{announce:(0,b.useCallback)(an=>{an!=null&&tt(an)},[]),announcement:ke}}const He=(0,b.createContext)(null);function Fe(ke){const tt=(0,b.useContext)(He);(0,b.useEffect)(()=>{if(!tt)throw new Error("useDndMonitor must be used within a children of <DndContext>");return tt(ke)},[ke,tt])}function de(){const[ke]=(0,b.useState)(()=>new Set),tt=(0,b.useCallback)(an=>(ke.add(an),()=>ke.delete(an)),[ke]);return[(0,b.useCallback)(an=>{let{type:cn,event:Lt}=an;ke.forEach(it=>{var It;return(It=it[cn])==null?void 0:It.call(it,Lt)})},[ke]),tt]}const Ke={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.
`},be={onDragStart(ke){let{active:tt}=ke;return"Picked up draggable item "+tt.id+"."},onDragOver(ke){let{active:tt,over:Ft}=ke;return Ft?"Draggable item "+tt.id+" was moved over droppable area "+Ft.id+".":"Draggable item "+tt.id+" is no longer over a droppable area."},onDragEnd(ke){let{active:tt,over:Ft}=ke;return Ft?"Draggable item "+tt.id+" was dropped over droppable area "+Ft.id:"Draggable item "+tt.id+" was dropped."},onDragCancel(ke){let{active:tt}=ke;return"Dragging was cancelled. Draggable item "+tt.id+" was dropped."}};function vt(ke){let{announcements:tt=be,container:Ft,hiddenTextDescribedById:an,screenReaderInstructions:cn=Ke}=ke;const{announce:Lt,announcement:it}=Be(),It=(0,ce.Ld)("DndLiveRegion"),[$t,Nn]=(0,b.useState)(!1);if((0,b.useEffect)(()=>{Nn(!0)},[]),Fe((0,b.useMemo)(()=>({onDragStart(Dn){let{active:jn}=Dn;Lt(tt.onDragStart({active:jn}))},onDragMove(Dn){let{active:jn,over:Jn}=Dn;tt.onDragMove&&Lt(tt.onDragMove({active:jn,over:Jn}))},onDragOver(Dn){let{active:jn,over:Jn}=Dn;Lt(tt.onDragOver({active:jn,over:Jn}))},onDragEnd(Dn){let{active:jn,over:Jn}=Dn;Lt(tt.onDragEnd({active:jn,over:Jn}))},onDragCancel(Dn){let{active:jn,over:Jn}=Dn;Lt(tt.onDragCancel({active:jn,over:Jn}))}}),[Lt,tt])),!$t)return null;const zn=b.createElement(b.Fragment,null,b.createElement(Me,{id:an,value:cn.draggable}),b.createElement(Ce,{id:It,announcement:it}));return Ft?(0,xe.createPortal)(zn,Ft):zn}var et;(function(ke){ke.DragStart="dragStart",ke.DragMove="dragMove",ke.DragEnd="dragEnd",ke.DragCancel="dragCancel",ke.DragOver="dragOver",ke.RegisterDroppable="registerDroppable",ke.SetDroppableDisabled="setDroppableDisabled",ke.UnregisterDroppable="unregisterDroppable"})(et||(et={}));function $e(){}function ze(ke,tt){return(0,b.useMemo)(()=>({sensor:ke,options:tt!=null?tt:{}}),[ke,tt])}function je(){for(var ke=arguments.length,tt=new Array(ke),Ft=0;Ft<ke;Ft++)tt[Ft]=arguments[Ft];return(0,b.useMemo)(()=>[...tt].filter(an=>an!=null),[...tt])}const at=Object.freeze({x:0,y:0});function Nt(ke,tt){return Math.sqrt(Math.pow(ke.x-tt.x,2)+Math.pow(ke.y-tt.y,2))}function jt(ke,tt){const Ft=(0,ce.DC)(ke);if(!Ft)return"0 0";const an={x:(Ft.x-tt.left)/tt.width*100,y:(Ft.y-tt.top)/tt.height*100};return an.x+"% "+an.y+"%"}function se(ke,tt){let{data:{value:Ft}}=ke,{data:{value:an}}=tt;return Ft-an}function Oe(ke,tt){let{data:{value:Ft}}=ke,{data:{value:an}}=tt;return an-Ft}function dt(ke){let{left:tt,top:Ft,height:an,width:cn}=ke;return[{x:tt,y:Ft},{x:tt+cn,y:Ft},{x:tt,y:Ft+an},{x:tt+cn,y:Ft+an}]}function ht(ke,tt){if(!ke||ke.length===0)return null;const[Ft]=ke;return tt?Ft[tt]:Ft}function Rt(ke,tt,Ft){return tt===void 0&&(tt=ke.left),Ft===void 0&&(Ft=ke.top),{x:tt+ke.width*.5,y:Ft+ke.height*.5}}const _e=ke=>{let{collisionRect:tt,droppableRects:Ft,droppableContainers:an}=ke;const cn=Rt(tt,tt.left,tt.top),Lt=[];for(const it of an){const{id:It}=it,$t=Ft.get(It);if($t){const Nn=Nt(Rt($t),cn);Lt.push({id:It,data:{droppableContainer:it,value:Nn}})}}return Lt.sort(se)},lt=ke=>{let{collisionRect:tt,droppableRects:Ft,droppableContainers:an}=ke;const cn=dt(tt),Lt=[];for(const it of an){const{id:It}=it,$t=Ft.get(It);if($t){const Nn=dt($t),zn=cn.reduce((jn,Jn,Cr)=>jn+Nt(Nn[Cr],Jn),0),Dn=Number((zn/4).toFixed(4));Lt.push({id:It,data:{droppableContainer:it,value:Dn}})}}return Lt.sort(se)};function ut(ke,tt){const Ft=Math.max(tt.top,ke.top),an=Math.max(tt.left,ke.left),cn=Math.min(tt.left+tt.width,ke.left+ke.width),Lt=Math.min(tt.top+tt.height,ke.top+ke.height),it=cn-an,It=Lt-Ft;if(an<cn&&Ft<Lt){const $t=tt.width*tt.height,Nn=ke.width*ke.height,zn=it*It,Dn=zn/($t+Nn-zn);return Number(Dn.toFixed(4))}return 0}const Pe=ke=>{let{collisionRect:tt,droppableRects:Ft,droppableContainers:an}=ke;const cn=[];for(const Lt of an){const{id:it}=Lt,It=Ft.get(it);if(It){const $t=ut(It,tt);$t>0&&cn.push({id:it,data:{droppableContainer:Lt,value:$t}})}}return cn.sort(Oe)};function Te(ke,tt){const{top:Ft,left:an,bottom:cn,right:Lt}=tt;return Ft<=ke.y&&ke.y<=cn&&an<=ke.x&&ke.x<=Lt}const we=ke=>{let{droppableContainers:tt,droppableRects:Ft,pointerCoordinates:an}=ke;if(!an)return[];const cn=[];for(const Lt of tt){const{id:it}=Lt,It=Ft.get(it);if(It&&Te(an,It)){const Nn=dt(It).reduce((Dn,jn)=>Dn+Nt(an,jn),0),zn=Number((Nn/4).toFixed(4));cn.push({id:it,data:{droppableContainer:Lt,value:zn}})}}return cn.sort(se)};function me(ke,tt,Ft){return Da(xo({},ke),{scaleX:tt&&Ft?tt.width/Ft.width:1,scaleY:tt&&Ft?tt.height/Ft.height:1})}function Ot(ke,tt){return ke&&tt?{x:ke.left-tt.left,y:ke.top-tt.top}:at}function We(ke){return function(Ft){for(var an=arguments.length,cn=new Array(an>1?an-1:0),Lt=1;Lt<an;Lt++)cn[Lt-1]=arguments[Lt];return cn.reduce((it,It)=>Da(xo({},it),{top:it.top+ke*It.y,bottom:it.bottom+ke*It.y,left:it.left+ke*It.x,right:it.right+ke*It.x}),xo({},Ft))}}const Xe=We(1);function Xt(ke){if(ke.startsWith("matrix3d(")){const tt=ke.slice(9,-1).split(/, /);return{x:+tt[12],y:+tt[13],scaleX:+tt[0],scaleY:+tt[5]}}else if(ke.startsWith("matrix(")){const tt=ke.slice(7,-1).split(/, /);return{x:+tt[4],y:+tt[5],scaleX:+tt[0],scaleY:+tt[3]}}return null}function Se(ke,tt,Ft){const an=Xt(tt);if(!an)return ke;const{scaleX:cn,scaleY:Lt,x:it,y:It}=an,$t=ke.left-it-(1-cn)*parseFloat(Ft),Nn=ke.top-It-(1-Lt)*parseFloat(Ft.slice(Ft.indexOf(" ")+1)),zn=cn?ke.width/cn:ke.width,Dn=Lt?ke.height/Lt:ke.height;return{width:zn,height:Dn,top:Nn,right:$t+zn,bottom:Nn+Dn,left:$t}}const ve={ignoreTransform:!1};function Mt(ke,tt){tt===void 0&&(tt=ve);let Ft=ke.getBoundingClientRect();if(tt.ignoreTransform){const{transform:Nn,transformOrigin:zn}=(0,ce.Jj)(ke).getComputedStyle(ke);Nn&&(Ft=Se(Ft,Nn,zn))}const{top:an,left:cn,width:Lt,height:it,bottom:It,right:$t}=Ft;return{top:an,left:cn,width:Lt,height:it,bottom:It,right:$t}}function Jt(ke){return Mt(ke,{ignoreTransform:!0})}function Zt(ke){const tt=ke.innerWidth,Ft=ke.innerHeight;return{top:0,left:0,right:tt,bottom:Ft,width:tt,height:Ft}}function pe(ke,tt){return tt===void 0&&(tt=(0,ce.Jj)(ke).getComputedStyle(ke)),tt.position==="fixed"}function Re(ke,tt){tt===void 0&&(tt=(0,ce.Jj)(ke).getComputedStyle(ke));const Ft=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(cn=>{const Lt=tt[cn];return typeof Lt=="string"?Ft.test(Lt):!1})}function Ue(ke,tt){const Ft=[];function an(cn){if(tt!=null&&Ft.length>=tt||!cn)return Ft;if((0,ce.qk)(cn)&&cn.scrollingElement!=null&&!Ft.includes(cn.scrollingElement))return Ft.push(cn.scrollingElement),Ft;if(!(0,ce.Re)(cn)||(0,ce.vZ)(cn)||Ft.includes(cn))return Ft;const Lt=(0,ce.Jj)(ke).getComputedStyle(cn);return cn!==ke&&Re(cn,Lt)&&Ft.push(cn),pe(cn,Lt)?Ft:an(cn.parentNode)}return ke?an(ke):Ft}function tn(ke){const[tt]=Ue(ke,1);return tt!=null?tt:null}function rt(ke){return!ce.Nq||!ke?null:(0,ce.FJ)(ke)?ke:(0,ce.UG)(ke)?(0,ce.qk)(ke)||ke===(0,ce.r3)(ke).scrollingElement?window:(0,ce.Re)(ke)?ke:null:null}function Kt(ke){return(0,ce.FJ)(ke)?ke.scrollX:ke.scrollLeft}function ct(ke){return(0,ce.FJ)(ke)?ke.scrollY:ke.scrollTop}function fn(ke){return{x:Kt(ke),y:ct(ke)}}var xt;(function(ke){ke[ke.Forward=1]="Forward",ke[ke.Backward=-1]="Backward"})(xt||(xt={}));function le(ke){return!ce.Nq||!ke?!1:ke===document.scrollingElement}function ne(ke){const tt={x:0,y:0},Ft=le(ke)?{height:window.innerHeight,width:window.innerWidth}:{height:ke.clientHeight,width:ke.clientWidth},an={x:ke.scrollWidth-Ft.width,y:ke.scrollHeight-Ft.height},cn=ke.scrollTop<=tt.y,Lt=ke.scrollLeft<=tt.x,it=ke.scrollTop>=an.y,It=ke.scrollLeft>=an.x;return{isTop:cn,isLeft:Lt,isBottom:it,isRight:It,maxScroll:an,minScroll:tt}}const te={x:.2,y:.2};function ae(ke,tt,Ft,an,cn){let{top:Lt,left:it,right:It,bottom:$t}=Ft;an===void 0&&(an=10),cn===void 0&&(cn=te);const{isTop:Nn,isBottom:zn,isLeft:Dn,isRight:jn}=ne(ke),Jn={x:0,y:0},Cr={x:0,y:0},br={height:tt.height*cn.y,width:tt.width*cn.x};return!Nn&&Lt<=tt.top+br.height?(Jn.y=xt.Backward,Cr.y=an*Math.abs((tt.top+br.height-Lt)/br.height)):!zn&&$t>=tt.bottom-br.height&&(Jn.y=xt.Forward,Cr.y=an*Math.abs((tt.bottom-br.height-$t)/br.height)),!jn&&It>=tt.right-br.width?(Jn.x=xt.Forward,Cr.x=an*Math.abs((tt.right-br.width-It)/br.width)):!Dn&&it<=tt.left+br.width&&(Jn.x=xt.Backward,Cr.x=an*Math.abs((tt.left+br.width-it)/br.width)),{direction:Jn,speed:Cr}}function he(ke){if(ke===document.scrollingElement){const{innerWidth:Lt,innerHeight:it}=window;return{top:0,left:0,right:Lt,bottom:it,width:Lt,height:it}}const{top:tt,left:Ft,right:an,bottom:cn}=ke.getBoundingClientRect();return{top:tt,left:Ft,right:an,bottom:cn,width:ke.clientWidth,height:ke.clientHeight}}function re(ke){return ke.reduce((tt,Ft)=>(0,ce.IH)(tt,fn(Ft)),at)}function ue(ke){return ke.reduce((tt,Ft)=>tt+Kt(Ft),0)}function De(ke){return ke.reduce((tt,Ft)=>tt+ct(Ft),0)}function st(ke,tt){if(tt===void 0&&(tt=Mt),!ke)return;const{top:Ft,left:an,bottom:cn,right:Lt}=tt(ke);tn(ke)&&(cn<=0||Lt<=0||Ft>=window.innerHeight||an>=window.innerWidth)&&ke.scrollIntoView({block:"center",inline:"center"})}const Qe=[["x",["left","right"],ue],["y",["top","bottom"],De]];class Ie{constructor(tt,Ft){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 an=Ue(Ft),cn=re(an);this.rect=xo({},tt),this.width=tt.width,this.height=tt.height;for(const[Lt,it,It]of Qe)for(const $t of it)Object.defineProperty(this,$t,{get:()=>{const Nn=It(an),zn=cn[Lt]-Nn;return this.rect[$t]+zn},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class mt{constructor(tt){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Ft=>{var an;return(an=this.target)==null?void 0:an.removeEventListener(...Ft)})},this.target=tt}add(tt,Ft,an){var cn;(cn=this.target)==null||cn.addEventListener(tt,Ft,an),this.listeners.push([tt,Ft,an])}}function Et(ke){const{EventTarget:tt}=(0,ce.Jj)(ke);return ke instanceof tt?ke:(0,ce.r3)(ke)}function Tt(ke,tt){const Ft=Math.abs(ke.x),an=Math.abs(ke.y);return typeof tt=="number"?Math.sqrt(Tu(Ft,2)+Tu(an,2))>tt:"x"in tt&&"y"in tt?Ft>tt.x&&an>tt.y:"x"in tt?Ft>tt.x:"y"in tt?an>tt.y:!1}var Le;(function(ke){ke.Click="click",ke.DragStart="dragstart",ke.Keydown="keydown",ke.ContextMenu="contextmenu",ke.Resize="resize",ke.SelectionChange="selectionchange",ke.VisibilityChange="visibilitychange"})(Le||(Le={}));function Ye(ke){ke.preventDefault()}function vn(ke){ke.stopPropagation()}var Ht;(function(ke){ke.Space="Space",ke.Down="ArrowDown",ke.Right="ArrowRight",ke.Left="ArrowLeft",ke.Up="ArrowUp",ke.Esc="Escape",ke.Enter="Enter",ke.Tab="Tab"})(Ht||(Ht={}));const Cn={start:[Ht.Space,Ht.Enter],cancel:[Ht.Esc],end:[Ht.Space,Ht.Enter,Ht.Tab]},un=(ke,tt)=>{let{currentCoordinates:Ft}=tt;switch(ke.code){case Ht.Right:return Da(xo({},Ft),{x:Ft.x+25});case Ht.Left:return Da(xo({},Ft),{x:Ft.x-25});case Ht.Down:return Da(xo({},Ft),{y:Ft.y+25});case Ht.Up:return Da(xo({},Ft),{y:Ft.y-25})}};class Ut{constructor(tt){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=tt;const{event:{target:Ft}}=tt;this.props=tt,this.listeners=new mt((0,ce.r3)(Ft)),this.windowListeners=new mt((0,ce.Jj)(Ft)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Le.Resize,this.handleCancel),this.windowListeners.add(Le.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Le.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:tt,onStart:Ft}=this.props,an=tt.node.current;an&&st(an),Ft(at)}handleKeyDown(tt){if((0,ce.vd)(tt)){const{active:Ft,context:an,options:cn}=this.props,{keyboardCodes:Lt=Cn,coordinateGetter:it=un,scrollBehavior:It="smooth"}=cn,{code:$t}=tt;if(Lt.end.includes($t)){this.handleEnd(tt);return}if(Lt.cancel.includes($t)){this.handleCancel(tt);return}const{collisionRect:Nn}=an.current,zn=Nn?{x:Nn.left,y:Nn.top}:at;this.referenceCoordinates||(this.referenceCoordinates=zn);const Dn=it(tt,{active:Ft,context:an.current,currentCoordinates:zn});if(Dn){const jn=(0,ce.$X)(Dn,zn),Jn={x:0,y:0},{scrollableAncestors:Cr}=an.current;for(const br of Cr){const Wr=tt.code,{isTop:Jr,isRight:gi,isLeft:oi,isBottom:Pi,maxScroll:ci,minScroll:di}=ne(br),yi=he(br),Ii={x:Math.min(Wr===Ht.Right?yi.right-yi.width/2:yi.right,Math.max(Wr===Ht.Right?yi.left:yi.left+yi.width/2,Dn.x)),y:Math.min(Wr===Ht.Down?yi.bottom-yi.height/2:yi.bottom,Math.max(Wr===Ht.Down?yi.top:yi.top+yi.height/2,Dn.y))},no=Wr===Ht.Right&&!gi||Wr===Ht.Left&&!oi,So=Wr===Ht.Down&&!Pi||Wr===Ht.Up&&!Jr;if(no&&Ii.x!==Dn.x){const bo=br.scrollLeft+jn.x,Ko=Wr===Ht.Right&&bo<=ci.x||Wr===Ht.Left&&bo>=di.x;if(Ko&&!jn.y){br.scrollTo({left:bo,behavior:It});return}Ko?Jn.x=br.scrollLeft-bo:Jn.x=Wr===Ht.Right?br.scrollLeft-ci.x:br.scrollLeft-di.x,Jn.x&&br.scrollBy({left:-Jn.x,behavior:It});break}else if(So&&Ii.y!==Dn.y){const bo=br.scrollTop+jn.y,Ko=Wr===Ht.Down&&bo<=ci.y||Wr===Ht.Up&&bo>=di.y;if(Ko&&!jn.x){br.scrollTo({top:bo,behavior:It});return}Ko?Jn.y=br.scrollTop-bo:Jn.y=Wr===Ht.Down?br.scrollTop-ci.y:br.scrollTop-di.y,Jn.y&&br.scrollBy({top:-Jn.y,behavior:It});break}}this.handleMove(tt,(0,ce.IH)((0,ce.$X)(Dn,this.referenceCoordinates),Jn))}}}handleMove(tt,Ft){const{onMove:an}=this.props;tt.preventDefault(),an(Ft)}handleEnd(tt){const{onEnd:Ft}=this.props;tt.preventDefault(),this.detach(),Ft()}handleCancel(tt){const{onCancel:Ft}=this.props;tt.preventDefault(),this.detach(),Ft()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Ut.activators=[{eventName:"onKeyDown",handler:(ke,tt,Ft)=>{let{keyboardCodes:an=Cn,onActivation:cn}=tt,{active:Lt}=Ft;const{code:it}=ke.nativeEvent;if(an.start.includes(it)){const It=Lt.activatorNode.current;return It&&ke.target!==It?!1:(ke.preventDefault(),cn==null||cn({event:ke.nativeEvent}),!0)}return!1}}];function on(ke){return!!(ke&&"distance"in ke)}function mn(ke){return!!(ke&&"delay"in ke)}class ft{constructor(tt,Ft,an){var cn;an===void 0&&(an=Et(tt.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=tt,this.events=Ft;const{event:Lt}=tt,{target:it}=Lt;this.props=tt,this.events=Ft,this.document=(0,ce.r3)(it),this.documentListeners=new mt(this.document),this.listeners=new mt(an),this.windowListeners=new mt((0,ce.Jj)(it)),this.initialCoordinates=(cn=(0,ce.DC)(Lt))!=null?cn:at,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:tt,props:{options:{activationConstraint:Ft,bypassActivationConstraint:an}}}=this;if(this.listeners.add(tt.move.name,this.handleMove,{passive:!1}),this.listeners.add(tt.end.name,this.handleEnd),tt.cancel&&this.listeners.add(tt.cancel.name,this.handleCancel),this.windowListeners.add(Le.Resize,this.handleCancel),this.windowListeners.add(Le.DragStart,Ye),this.windowListeners.add(Le.VisibilityChange,this.handleCancel),this.windowListeners.add(Le.ContextMenu,Ye),this.documentListeners.add(Le.Keydown,this.handleKeydown),Ft){if(an!=null&&an({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(mn(Ft)){this.timeoutId=setTimeout(this.handleStart,Ft.delay),this.handlePending(Ft);return}if(on(Ft)){this.handlePending(Ft);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(tt,Ft){const{active:an,onPending:cn}=this.props;cn(an,tt,this.initialCoordinates,Ft)}handleStart(){const{initialCoordinates:tt}=this,{onStart:Ft}=this.props;tt&&(this.activated=!0,this.documentListeners.add(Le.Click,vn,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Le.SelectionChange,this.removeTextSelection),Ft(tt))}handleMove(tt){var Ft;const{activated:an,initialCoordinates:cn,props:Lt}=this,{onMove:it,options:{activationConstraint:It}}=Lt;if(!cn)return;const $t=(Ft=(0,ce.DC)(tt))!=null?Ft:at,Nn=(0,ce.$X)(cn,$t);if(!an&&It){if(on(It)){if(It.tolerance!=null&&Tt(Nn,It.tolerance))return this.handleCancel();if(Tt(Nn,It.distance))return this.handleStart()}if(mn(It)&&Tt(Nn,It.tolerance))return this.handleCancel();this.handlePending(It,Nn);return}tt.cancelable&&tt.preventDefault(),it($t)}handleEnd(){const{onAbort:tt,onEnd:Ft}=this.props;this.detach(),this.activated||tt(this.props.active),Ft()}handleCancel(){const{onAbort:tt,onCancel:Ft}=this.props;this.detach(),this.activated||tt(this.props.active),Ft()}handleKeydown(tt){tt.code===Ht.Esc&&this.handleCancel()}removeTextSelection(){var tt;(tt=this.document.getSelection())==null||tt.removeAllRanges()}}const Vt={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class yn extends ft{constructor(tt){const{event:Ft}=tt,an=(0,ce.r3)(Ft.target);super(tt,Vt,an)}}yn.activators=[{eventName:"onPointerDown",handler:(ke,tt)=>{let{nativeEvent:Ft}=ke,{onActivation:an}=tt;return!Ft.isPrimary||Ft.button!==0?!1:(an==null||an({event:Ft}),!0)}}];const Ct={move:{name:"mousemove"},end:{name:"mouseup"}};var Je;(function(ke){ke[ke.RightClick=2]="RightClick"})(Je||(Je={}));class Wt extends ft{constructor(tt){super(tt,Ct,(0,ce.r3)(tt.event.target))}}Wt.activators=[{eventName:"onMouseDown",handler:(ke,tt)=>{let{nativeEvent:Ft}=ke,{onActivation:an}=tt;return Ft.button===Je.RightClick?!1:(an==null||an({event:Ft}),!0)}}];const qt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class ln extends ft{constructor(tt){super(tt,qt)}static setup(){return window.addEventListener(qt.move.name,tt,{capture:!1,passive:!1}),function(){window.removeEventListener(qt.move.name,tt)};function tt(){}}}ln.activators=[{eventName:"onTouchStart",handler:(ke,tt)=>{let{nativeEvent:Ft}=ke,{onActivation:an}=tt;const{touches:cn}=Ft;return cn.length>1?!1:(an==null||an({event:Ft}),!0)}}];var Zn;(function(ke){ke[ke.Pointer=0]="Pointer",ke[ke.DraggableRect=1]="DraggableRect"})(Zn||(Zn={}));var qn;(function(ke){ke[ke.TreeOrder=0]="TreeOrder",ke[ke.ReversedTreeOrder=1]="ReversedTreeOrder"})(qn||(qn={}));function mr(ke){let{acceleration:tt,activator:Ft=Zn.Pointer,canScroll:an,draggingRect:cn,enabled:Lt,interval:it=5,order:It=qn.TreeOrder,pointerCoordinates:$t,scrollableAncestors:Nn,scrollableAncestorRects:zn,delta:Dn,threshold:jn}=ke;const Jn=_n({delta:Dn,disabled:!Lt}),[Cr,br]=(0,ce.Yz)(),Wr=(0,b.useRef)({x:0,y:0}),Jr=(0,b.useRef)({x:0,y:0}),gi=(0,b.useMemo)(()=>{switch(Ft){case Zn.Pointer:return $t?{top:$t.y,bottom:$t.y,left:$t.x,right:$t.x}:null;case Zn.DraggableRect:return cn}},[Ft,cn,$t]),oi=(0,b.useRef)(null),Pi=(0,b.useCallback)(()=>{const di=oi.current;if(!di)return;const yi=Wr.current.x*Jr.current.x,Ii=Wr.current.y*Jr.current.y;di.scrollBy(yi,Ii)},[]),ci=(0,b.useMemo)(()=>It===qn.TreeOrder?[...Nn].reverse():Nn,[It,Nn]);(0,b.useEffect)(()=>{if(!Lt||!Nn.length||!gi){br();return}for(const di of ci){if((an==null?void 0:an(di))===!1)continue;const yi=Nn.indexOf(di),Ii=zn[yi];if(!Ii)continue;const{direction:no,speed:So}=ae(di,Ii,gi,tt,jn);for(const bo of["x","y"])Jn[bo][no[bo]]||(So[bo]=0,no[bo]=0);if(So.x>0||So.y>0){br(),oi.current=di,Cr(Pi,it),Wr.current=So,Jr.current=no;return}}Wr.current={x:0,y:0},Jr.current={x:0,y:0},br()},[tt,Pi,an,br,Lt,it,JSON.stringify(gi),JSON.stringify(Jn),Cr,Nn,ci,zn,JSON.stringify(jn)])}const vr={x:{[xt.Backward]:!1,[xt.Forward]:!1},y:{[xt.Backward]:!1,[xt.Forward]:!1}};function _n(ke){let{delta:tt,disabled:Ft}=ke;const an=(0,ce.D9)(tt);return(0,ce.Gj)(cn=>{if(Ft||!an||!cn)return vr;const Lt={x:Math.sign(tt.x-an.x),y:Math.sign(tt.y-an.y)};return{x:{[xt.Backward]:cn.x[xt.Backward]||Lt.x===-1,[xt.Forward]:cn.x[xt.Forward]||Lt.x===1},y:{[xt.Backward]:cn.y[xt.Backward]||Lt.y===-1,[xt.Forward]:cn.y[xt.Forward]||Lt.y===1}}},[Ft,tt,an])}function dr(ke,tt){const Ft=tt!=null?ke.get(tt):void 0,an=Ft?Ft.node.current:null;return(0,ce.Gj)(cn=>{var Lt;return tt==null?null:(Lt=an!=null?an:cn)!=null?Lt:null},[an,tt])}function Qt(ke,tt){return(0,b.useMemo)(()=>ke.reduce((Ft,an)=>{const{sensor:cn}=an,Lt=cn.activators.map(it=>({eventName:it.eventName,handler:tt(it.handler,an)}));return[...Ft,...Lt]},[]),[ke,tt])}var En;(function(ke){ke[ke.Always=0]="Always",ke[ke.BeforeDragging=1]="BeforeDragging",ke[ke.WhileDragging=2]="WhileDragging"})(En||(En={}));var pn;(function(ke){ke.Optimized="optimized"})(pn||(pn={}));const xn=new Map;function sn(ke,tt){let{dragging:Ft,dependencies:an,config:cn}=tt;const[Lt,it]=(0,b.useState)(null),{frequency:It,measure:$t,strategy:Nn}=cn,zn=(0,b.useRef)(ke),Dn=Wr(),jn=(0,ce.Ey)(Dn),Jn=(0,b.useCallback)(function(Jr){Jr===void 0&&(Jr=[]),!jn.current&&it(gi=>gi===null?Jr:gi.concat(Jr.filter(oi=>!gi.includes(oi))))},[jn]),Cr=(0,b.useRef)(null),br=(0,ce.Gj)(Jr=>{if(Dn&&!Ft)return xn;if(!Jr||Jr===xn||zn.current!==ke||Lt!=null){const gi=new Map;for(let oi of ke){if(!oi)continue;if(Lt&&Lt.length>0&&!Lt.includes(oi.id)&&oi.rect.current){gi.set(oi.id,oi.rect.current);continue}const Pi=oi.node.current,ci=Pi?new Ie($t(Pi),Pi):null;oi.rect.current=ci,ci&&gi.set(oi.id,ci)}return gi}return Jr},[ke,Lt,Ft,Dn,$t]);return(0,b.useEffect)(()=>{zn.current=ke},[ke]),(0,b.useEffect)(()=>{Dn||Jn()},[Ft,Dn]),(0,b.useEffect)(()=>{Lt&&Lt.length>0&&it(null)},[JSON.stringify(Lt)]),(0,b.useEffect)(()=>{Dn||typeof It!="number"||Cr.current!==null||(Cr.current=setTimeout(()=>{Jn(),Cr.current=null},It))},[It,Dn,Jn,...an]),{droppableRects:br,measureDroppableContainers:Jn,measuringScheduled:Lt!=null};function Wr(){switch(Nn){case En.Always:return!1;case En.BeforeDragging:return Ft;default:return!Ft}}}function Fn(ke,tt){return(0,ce.Gj)(Ft=>ke?Ft||(typeof tt=="function"?tt(ke):ke):null,[tt,ke])}function St(ke,tt){return Fn(ke,tt)}function Sn(ke){let{callback:tt,disabled:Ft}=ke;const an=(0,ce.zX)(tt),cn=(0,b.useMemo)(()=>{if(Ft||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Lt}=window;return new Lt(an)},[an,Ft]);return(0,b.useEffect)(()=>()=>cn==null?void 0:cn.disconnect(),[cn]),cn}function Bt(ke){let{callback:tt,disabled:Ft}=ke;const an=(0,ce.zX)(tt),cn=(0,b.useMemo)(()=>{if(Ft||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Lt}=window;return new Lt(an)},[Ft]);return(0,b.useEffect)(()=>()=>cn==null?void 0:cn.disconnect(),[cn]),cn}function hn(ke){return new Ie(Mt(ke),ke)}function An(ke,tt,Ft){tt===void 0&&(tt=hn);const[an,cn]=(0,b.useState)(null);function Lt(){cn($t=>{if(!ke)return null;if(ke.isConnected===!1){var Nn;return(Nn=$t!=null?$t:Ft)!=null?Nn:null}const zn=tt(ke);return JSON.stringify($t)===JSON.stringify(zn)?$t:zn})}const it=Sn({callback($t){if(ke)for(const Nn of $t){const{type:zn,target:Dn}=Nn;if(zn==="childList"&&Dn instanceof HTMLElement&&Dn.contains(ke)){Lt();break}}}}),It=Bt({callback:Lt});return(0,ce.LI)(()=>{Lt(),ke?(It==null||It.observe(ke),it==null||it.observe(document.body,{childList:!0,subtree:!0})):(It==null||It.disconnect(),it==null||it.disconnect())},[ke]),an}function On(ke){const tt=Fn(ke);return Ot(ke,tt)}const Ln=[];function nr(ke){const tt=(0,b.useRef)(ke),Ft=(0,ce.Gj)(an=>ke?an&&an!==Ln&&ke&&tt.current&&ke.parentNode===tt.current.parentNode?an:Ue(ke):Ln,[ke]);return(0,b.useEffect)(()=>{tt.current=ke},[ke]),Ft}function Xn(ke){const[tt,Ft]=(0,b.useState)(null),an=(0,b.useRef)(ke),cn=(0,b.useCallback)(Lt=>{const it=rt(Lt.target);it&&Ft(It=>It?(It.set(it,fn(it)),new Map(It)):null)},[]);return(0,b.useEffect)(()=>{const Lt=an.current;if(ke!==Lt){it(Lt);const It=ke.map($t=>{const Nn=rt($t);return Nn?(Nn.addEventListener("scroll",cn,{passive:!0}),[Nn,fn(Nn)]):null}).filter($t=>$t!=null);Ft(It.length?new Map(It):null),an.current=ke}return()=>{it(ke),it(Lt)};function it(It){It.forEach($t=>{const Nn=rt($t);Nn==null||Nn.removeEventListener("scroll",cn)})}},[cn,ke]),(0,b.useMemo)(()=>ke.length?tt?Array.from(tt.values()).reduce((Lt,it)=>(0,ce.IH)(Lt,it),at):re(ke):at,[ke,tt])}function nn(ke,tt){tt===void 0&&(tt=[]);const Ft=(0,b.useRef)(null);return(0,b.useEffect)(()=>{Ft.current=null},tt),(0,b.useEffect)(()=>{const an=ke!==at;an&&!Ft.current&&(Ft.current=ke),!an&&Ft.current&&(Ft.current=null)},[ke]),Ft.current?(0,ce.$X)(ke,Ft.current):at}function Pn(ke){(0,b.useEffect)(()=>{if(!ce.Nq)return;const tt=ke.map(Ft=>{let{sensor:an}=Ft;return an.setup==null?void 0:an.setup()});return()=>{for(const Ft of tt)Ft==null||Ft()}},ke.map(tt=>{let{sensor:Ft}=tt;return Ft}))}function en(ke,tt){return(0,b.useMemo)(()=>ke.reduce((Ft,an)=>{let{eventName:cn,handler:Lt}=an;return Ft[cn]=it=>{Lt(it,tt)},Ft},{}),[ke,tt])}function er(ke){return(0,b.useMemo)(()=>ke?Zt(ke):null,[ke])}const Dt=[];function Gt(ke,tt){tt===void 0&&(tt=Mt);const[Ft]=ke,an=er(Ft?(0,ce.Jj)(Ft):null),[cn,Lt]=(0,b.useState)(Dt);function it(){Lt(()=>ke.length?ke.map($t=>le($t)?an:new Ie(tt($t),$t)):Dt)}const It=Bt({callback:it});return(0,ce.LI)(()=>{It==null||It.disconnect(),it(),ke.forEach($t=>It==null?void 0:It.observe($t))},[ke]),cn}function Ze(ke){if(!ke)return null;if(ke.children.length>1)return ke;const tt=ke.children[0];return(0,ce.Re)(tt)?tt:ke}function gt(ke){let{measure:tt}=ke;const[Ft,an]=(0,b.useState)(null),cn=(0,b.useCallback)(Nn=>{for(const{target:zn}of Nn)if((0,ce.Re)(zn)){an(Dn=>{const jn=tt(zn);return Dn?Da(xo({},Dn),{width:jn.width,height:jn.height}):jn});break}},[tt]),Lt=Bt({callback:cn}),it=(0,b.useCallback)(Nn=>{const zn=Ze(Nn);Lt==null||Lt.disconnect(),zn&&(Lt==null||Lt.observe(zn)),an(zn?tt(zn):null)},[tt,Lt]),[It,$t]=(0,ce.wm)(it);return(0,b.useMemo)(()=>({nodeRef:It,rect:Ft,setRef:$t}),[Ft,It,$t])}const Ve=[{sensor:yn,options:{}},{sensor:Ut,options:{}}],yt={current:{}},_t={draggable:{measure:Jt},droppable:{measure:Jt,strategy:En.WhileDragging,frequency:pn.Optimized},dragOverlay:{measure:Mt}};class rr extends Map{get(tt){var Ft;return tt!=null&&(Ft=super.get(tt))!=null?Ft:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(tt=>{let{disabled:Ft}=tt;return!Ft})}getNodeFor(tt){var Ft,an;return(Ft=(an=this.get(tt))==null?void 0:an.node.current)!=null?Ft:void 0}}const ar={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new rr,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:$e},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:_t,measureDroppableContainers:$e,windowRect:null,measuringScheduled:!1},pt={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:$e,draggableNodes:new Map,over:null,measureDroppableContainers:$e},bt=(0,b.createContext)(pt),Pt=(0,b.createContext)(ar);function zt(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new rr}}}function Bn(ke,tt){switch(tt.type){case et.DragStart:return Da(xo({},ke),{draggable:Da(xo({},ke.draggable),{initialCoordinates:tt.initialCoordinates,active:tt.active})});case et.DragMove:return ke.draggable.active==null?ke:Da(xo({},ke),{draggable:Da(xo({},ke.draggable),{translate:{x:tt.coordinates.x-ke.draggable.initialCoordinates.x,y:tt.coordinates.y-ke.draggable.initialCoordinates.y}})});case et.DragEnd:case et.DragCancel:return Da(xo({},ke),{draggable:Da(xo({},ke.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case et.RegisterDroppable:{const{element:Ft}=tt,{id:an}=Ft,cn=new rr(ke.droppable.containers);return cn.set(an,Ft),Da(xo({},ke),{droppable:Da(xo({},ke.droppable),{containers:cn})})}case et.SetDroppableDisabled:{const{id:Ft,key:an,disabled:cn}=tt,Lt=ke.droppable.containers.get(Ft);if(!Lt||an!==Lt.key)return ke;const it=new rr(ke.droppable.containers);return it.set(Ft,Da(xo({},Lt),{disabled:cn})),Da(xo({},ke),{droppable:Da(xo({},ke.droppable),{containers:it})})}case et.UnregisterDroppable:{const{id:Ft,key:an}=tt,cn=ke.droppable.containers.get(Ft);if(!cn||an!==cn.key)return ke;const Lt=new rr(ke.droppable.containers);return Lt.delete(Ft),Da(xo({},ke),{droppable:Da(xo({},ke.droppable),{containers:Lt})})}default:return ke}}function Hn(ke){let{disabled:tt}=ke;const{active:Ft,activatorEvent:an,draggableNodes:cn}=(0,b.useContext)(bt),Lt=(0,ce.D9)(an),it=(0,ce.D9)(Ft==null?void 0:Ft.id);return(0,b.useEffect)(()=>{if(!tt&&!an&&Lt&&it!=null){if(!(0,ce.vd)(Lt)||document.activeElement===Lt.target)return;const It=cn.get(it);if(!It)return;const{activatorNode:$t,node:Nn}=It;if(!$t.current&&!Nn.current)return;requestAnimationFrame(()=>{for(const zn of[$t.current,Nn.current]){if(!zn)continue;const Dn=(0,ce.so)(zn);if(Dn){Dn.focus();break}}})}},[an,tt,cn,it,Lt]),null}function Rn(ke,tt){let cn=tt,{transform:Ft}=cn,an=wu(cn,["transform"]);return ke!=null&&ke.length?ke.reduce((Lt,it)=>it(xo({transform:Lt},an)),Ft):Ft}function Un(ke){return(0,b.useMemo)(()=>({draggable:xo(xo({},_t.draggable),ke==null?void 0:ke.draggable),droppable:xo(xo({},_t.droppable),ke==null?void 0:ke.droppable),dragOverlay:xo(xo({},_t.dragOverlay),ke==null?void 0:ke.dragOverlay)}),[ke==null?void 0:ke.draggable,ke==null?void 0:ke.droppable,ke==null?void 0:ke.dragOverlay])}function pr(ke){let{activeNode:tt,measure:Ft,initialRect:an,config:cn=!0}=ke;const Lt=(0,b.useRef)(!1),{x:it,y:It}=typeof cn=="boolean"?{x:cn,y:cn}:cn;(0,ce.LI)(()=>{if(!it&&!It||!tt){Lt.current=!1;return}if(Lt.current||!an)return;const Nn=tt==null?void 0:tt.node.current;if(!Nn||Nn.isConnected===!1)return;const zn=Ft(Nn),Dn=Ot(zn,an);if(it||(Dn.x=0),It||(Dn.y=0),Lt.current=!0,Math.abs(Dn.x)>0||Math.abs(Dn.y)>0){const jn=tn(Nn);jn&&jn.scrollBy({top:Dn.y,left:Dn.x})}},[tt,it,It,an,Ft])}const Ar=(0,b.createContext)(Da(xo({},at),{scaleX:1,scaleY:1}));var Vr;(function(ke){ke[ke.Uninitialized=0]="Uninitialized",ke[ke.Initializing=1]="Initializing",ke[ke.Initialized=2]="Initialized"})(Vr||(Vr={}));const Br=(0,b.memo)(function(tt){var Ft,an,cn,Lt;let os=tt,{id:it,accessibility:It,autoScroll:$t=!0,children:Nn,sensors:zn=Ve,collisionDetection:Dn=Pe,measuring:jn,modifiers:Jn}=os,Cr=wu(os,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const br=(0,b.useReducer)(Bn,void 0,zt),[Wr,Jr]=br,[gi,oi]=de(),[Pi,ci]=(0,b.useState)(Vr.Uninitialized),di=Pi===Vr.Initialized,{draggable:{active:yi,nodes:Ii,translate:no},droppable:{containers:So}}=Wr,bo=yi!=null?Ii.get(yi):null,Ko=(0,b.useRef)({initial:null,translated:null}),Hi=(0,b.useMemo)(()=>{var $a;return yi!=null?{id:yi,data:($a=bo==null?void 0:bo.data)!=null?$a:yt,rect:Ko}:null},[yi,bo]),Oi=(0,b.useRef)(null),[Wo,zo]=(0,b.useState)(null),[Xo,Wa]=(0,b.useState)(null),Pa=(0,ce.Ey)(Cr,Object.values(Cr)),Ta=(0,ce.Ld)("DndDescribedBy",it),Ba=(0,b.useMemo)(()=>So.getEnabled(),[So]),Uo=Un(jn),{droppableRects:Fa,measureDroppableContainers:ul,measuringScheduled:Ja}=sn(Ba,{dragging:di,dependencies:[no.x,no.y],config:Uo.droppable}),Jo=dr(Ii,yi),Nl=(0,b.useMemo)(()=>Xo?(0,ce.DC)(Xo):null,[Xo]),El=_l(),ho=St(Jo,Uo.draggable.measure);pr({activeNode:yi!=null?Ii.get(yi):null,config:El.layoutShiftCompensation,initialRect:ho,measure:Uo.draggable.measure});const mo=An(Jo,Uo.draggable.measure,ho),Ei=An(Jo?Jo.parentElement:null),fi=(0,b.useRef)({activatorEvent:null,active:null,activeNode:Jo,collisionRect:null,collisions:null,droppableRects:Fa,draggableNodes:Ii,draggingNode:null,draggingNodeRect:null,droppableContainers:So,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Li=So.getNodeFor((Ft=fi.current.over)==null?void 0:Ft.id),lo=gt({measure:Uo.dragOverlay.measure}),da=(an=lo.nodeRef.current)!=null?an:Jo,Ro=di?(cn=lo.rect)!=null?cn:mo:null,Lo=!!(lo.nodeRef.current&&lo.rect),Oo=On(Lo?null:mo),pa=er(da?(0,ce.Jj)(da):null),Ea=nr(di?Li!=null?Li:Jo:null),Oa=Gt(Ea),Ya=Rn(Jn,{transform:{x:no.x-Oo.x,y:no.y-Oo.y,scaleX:1,scaleY:1},activatorEvent:Xo,active:Hi,activeNodeRect:mo,containerNodeRect:Ei,draggingNodeRect:Ro,over:fi.current.over,overlayNodeRect:lo.rect,scrollableAncestors:Ea,scrollableAncestorRects:Oa,windowRect:pa}),Io=Nl?(0,ce.IH)(Nl,no):null,Ga=Xn(Ea),wl=nn(Ga),cl=nn(Ga,[mo]),el=(0,ce.IH)(Ya,wl),Xa=Ro?Xe(Ro,Ya):null,Al=Hi&&Xa?Dn({active:Hi,collisionRect:Xa,droppableRects:Fa,droppableContainers:Ba,pointerCoordinates:Io}):null,xl=ht(Al,"id"),[Hl,Yl]=(0,b.useState)(null),as=Lo?Ya:(0,ce.IH)(Ya,cl),ns=me(as,(Lt=Hl==null?void 0:Hl.rect)!=null?Lt:null,mo),Cs=(0,b.useRef)(null),rs=(0,b.useCallback)(($a,Qa)=>{let{sensor:fa,options:Ho}=Qa;if(Oi.current==null)return;const Co=Ii.get(Oi.current);if(!Co)return;const sa=$a.nativeEvent,Ma=new fa({active:Oi.current,activeNode:Co,event:sa,options:Ho,context:fi,onAbort(_o){if(!Ii.get(_o))return;const{onDragAbort:Ka}=Pa.current,nl={id:_o};Ka==null||Ka(nl),gi({type:"onDragAbort",event:nl})},onPending(_o,tl,Ka,nl){if(!Ii.get(_o))return;const{onDragPending:rl}=Pa.current,il={id:_o,constraint:tl,initialCoordinates:Ka,offset:nl};rl==null||rl(il),gi({type:"onDragPending",event:il})},onStart(_o){const tl=Oi.current;if(tl==null)return;const Ka=Ii.get(tl);if(!Ka)return;const{onDragStart:nl}=Pa.current,_a={activatorEvent:sa,active:{id:tl,data:Ka.data,rect:Ko}};(0,xe.unstable_batchedUpdates)(()=>{nl==null||nl(_a),ci(Vr.Initializing),Jr({type:et.DragStart,initialCoordinates:_o,active:tl}),gi({type:"onDragStart",event:_a}),zo(Cs.current),Wa(sa)})},onMove(_o){Jr({type:et.DragMove,coordinates:_o})},onEnd:wa(et.DragEnd),onCancel:wa(et.DragCancel)});Cs.current=Ma;function wa(_o){return function(){return Qu(this,null,function*(){const{active:Ka,collisions:nl,over:_a,scrollAdjustedTranslate:rl}=fi.current;let il=null;if(Ka&&rl){const{cancelDrop:kl}=Pa.current;il={activatorEvent:sa,active:Ka,collisions:nl,delta:rl,over:_a},_o===et.DragEnd&&typeof kl=="function"&&(yield Promise.resolve(kl(il)))&&(_o=et.DragCancel)}Oi.current=null,(0,xe.unstable_batchedUpdates)(()=>{Jr({type:_o}),ci(Vr.Uninitialized),Yl(null),zo(null),Wa(null),Cs.current=null;const kl=_o===et.DragEnd?"onDragEnd":"onDragCancel";if(il){const ls=Pa.current[kl];ls==null||ls(il),gi({type:kl,event:il})}})})}}},[Ii]),Dl=(0,b.useCallback)(($a,Qa)=>(fa,Ho)=>{const Co=fa.nativeEvent,sa=Ii.get(Ho);if(Oi.current!==null||!sa||Co.dndKit||Co.defaultPrevented)return;const Ma={active:sa};$a(fa,Qa.options,Ma)===!0&&(Co.dndKit={capturedBy:Qa.sensor},Oi.current=Ho,rs(fa,Qa))},[Ii,rs]),Gl=Qt(zn,Dl);Pn(zn),(0,ce.LI)(()=>{mo&&Pi===Vr.Initializing&&ci(Vr.Initialized)},[mo,Pi]),(0,b.useEffect)(()=>{const{onDragMove:$a}=Pa.current,{active:Qa,activatorEvent:fa,collisions:Ho,over:Co}=fi.current;if(!Qa||!fa)return;const sa={active:Qa,activatorEvent:fa,collisions:Ho,delta:{x:el.x,y:el.y},over:Co};(0,xe.unstable_batchedUpdates)(()=>{$a==null||$a(sa),gi({type:"onDragMove",event:sa})})},[el.x,el.y]),(0,b.useEffect)(()=>{const{active:$a,activatorEvent:Qa,collisions:fa,droppableContainers:Ho,scrollAdjustedTranslate:Co}=fi.current;if(!$a||Oi.current==null||!Qa||!Co)return;const{onDragOver:sa}=Pa.current,Ma=Ho.get(xl),wa=Ma&&Ma.rect.current?{id:Ma.id,rect:Ma.rect.current,data:Ma.data,disabled:Ma.disabled}:null,_o={active:$a,activatorEvent:Qa,collisions:fa,delta:{x:Co.x,y:Co.y},over:wa};(0,xe.unstable_batchedUpdates)(()=>{Yl(wa),sa==null||sa(_o),gi({type:"onDragOver",event:_o})})},[xl]),(0,ce.LI)(()=>{fi.current={activatorEvent:Xo,active:Hi,activeNode:Jo,collisionRect:Xa,collisions:Al,droppableRects:Fa,draggableNodes:Ii,draggingNode:da,draggingNodeRect:Ro,droppableContainers:So,over:Hl,scrollableAncestors:Ea,scrollAdjustedTranslate:el},Ko.current={initial:Ro,translated:Xa}},[Hi,Jo,Al,Xa,Ii,da,Ro,Fa,So,Hl,Ea,el]),mr(Da(xo({},El),{delta:no,draggingRect:Xa,pointerCoordinates:Io,scrollableAncestors:Ea,scrollableAncestorRects:Oa}));const is=(0,b.useMemo)(()=>({active:Hi,activeNode:Jo,activeNodeRect:mo,activatorEvent:Xo,collisions:Al,containerNodeRect:Ei,dragOverlay:lo,draggableNodes:Ii,droppableContainers:So,droppableRects:Fa,over:Hl,measureDroppableContainers:ul,scrollableAncestors:Ea,scrollableAncestorRects:Oa,measuringConfiguration:Uo,measuringScheduled:Ja,windowRect:pa}),[Hi,Jo,mo,Xo,Al,Ei,lo,Ii,So,Fa,Hl,ul,Ea,Oa,Uo,Ja,pa]),hs=(0,b.useMemo)(()=>({activatorEvent:Xo,activators:Gl,active:Hi,activeNodeRect:mo,ariaDescribedById:{draggable:Ta},dispatch:Jr,draggableNodes:Ii,over:Hl,measureDroppableContainers:ul}),[Xo,Gl,Hi,mo,Jr,Ta,Ii,Hl,ul]);return b.createElement(He.Provider,{value:oi},b.createElement(bt.Provider,{value:hs},b.createElement(Pt.Provider,{value:is},b.createElement(Ar.Provider,{value:ns},Nn)),b.createElement(Hn,{disabled:(It==null?void 0:It.restoreFocus)===!1})),b.createElement(vt,Da(xo({},It),{hiddenTextDescribedById:Ta})));function _l(){const $a=(Wo==null?void 0:Wo.autoScrollEnabled)===!1,Qa=typeof $t=="object"?$t.enabled===!1:$t===!1,fa=di&&!$a&&!Qa;return typeof $t=="object"?Da(xo({},$t),{enabled:fa}):{enabled:fa}}}),fr=(0,b.createContext)(null),Pr="button",kr="Draggable";function $r(ke){let{id:tt,data:Ft,disabled:an=!1,attributes:cn}=ke;const Lt=(0,ce.Ld)(kr),{activators:it,activatorEvent:It,active:$t,activeNodeRect:Nn,ariaDescribedById:zn,draggableNodes:Dn,over:jn}=(0,b.useContext)(bt),{role:Jn=Pr,roleDescription:Cr="draggable",tabIndex:br=0}=cn!=null?cn:{},Wr=($t==null?void 0:$t.id)===tt,Jr=(0,b.useContext)(Wr?Ar:fr),[gi,oi]=(0,ce.wm)(),[Pi,ci]=(0,ce.wm)(),di=en(it,tt),yi=(0,ce.Ey)(Ft);(0,ce.LI)(()=>(Dn.set(tt,{id:tt,key:Lt,node:gi,activatorNode:Pi,data:yi}),()=>{const no=Dn.get(tt);no&&no.key===Lt&&Dn.delete(tt)}),[Dn,tt]);const Ii=(0,b.useMemo)(()=>({role:Jn,tabIndex:br,"aria-disabled":an,"aria-pressed":Wr&&Jn===Pr?!0:void 0,"aria-roledescription":Cr,"aria-describedby":zn.draggable}),[an,Jn,br,Wr,Cr,zn.draggable]);return{active:$t,activatorEvent:It,activeNodeRect:Nn,attributes:Ii,isDragging:Wr,listeners:an?void 0:di,node:gi,over:jn,setNodeRef:oi,setActivatorNodeRef:ci,transform:Jr}}function Xr(){return(0,b.useContext)(Pt)}const mi="Droppable",yr={timeout:25};function ur(ke){let{data:tt,disabled:Ft=!1,id:an,resizeObserverConfig:cn}=ke;const Lt=(0,ce.Ld)(mi),{active:it,dispatch:It,over:$t,measureDroppableContainers:Nn}=(0,b.useContext)(bt),zn=(0,b.useRef)({disabled:Ft}),Dn=(0,b.useRef)(!1),jn=(0,b.useRef)(null),Jn=(0,b.useRef)(null),{disabled:Cr,updateMeasurementsFor:br,timeout:Wr}=xo(xo({},yr),cn),Jr=(0,ce.Ey)(br!=null?br:an),gi=(0,b.useCallback)(()=>{if(!Dn.current){Dn.current=!0;return}Jn.current!=null&&clearTimeout(Jn.current),Jn.current=setTimeout(()=>{Nn(Array.isArray(Jr.current)?Jr.current:[Jr.current]),Jn.current=null},Wr)},[Wr]),oi=Bt({callback:gi,disabled:Cr||!it}),Pi=(0,b.useCallback)((Ii,no)=>{oi&&(no&&(oi.unobserve(no),Dn.current=!1),Ii&&oi.observe(Ii))},[oi]),[ci,di]=(0,ce.wm)(Pi),yi=(0,ce.Ey)(tt);return(0,b.useEffect)(()=>{!oi||!ci.current||(oi.disconnect(),Dn.current=!1,oi.observe(ci.current))},[ci,oi]),(0,b.useEffect)(()=>(It({type:et.RegisterDroppable,element:{id:an,key:Lt,disabled:Ft,node:ci,rect:jn,data:yi}}),()=>It({type:et.UnregisterDroppable,key:Lt,id:an})),[an]),(0,b.useEffect)(()=>{Ft!==zn.current.disabled&&(It({type:et.SetDroppableDisabled,id:an,key:Lt,disabled:Ft}),zn.current.disabled=Ft)},[an,Lt,Ft,It]),{active:it,rect:jn,isOver:($t==null?void 0:$t.id)===an,node:ci,over:$t,setNodeRef:di}}function gr(ke){let{animation:tt,children:Ft}=ke;const[an,cn]=(0,b.useState)(null),[Lt,it]=(0,b.useState)(null),It=(0,ce.D9)(Ft);return!Ft&&!an&&It&&cn(It),(0,ce.LI)(()=>{if(!Lt)return;const $t=an==null?void 0:an.key,Nn=an==null?void 0:an.props.id;if($t==null||Nn==null){cn(null);return}Promise.resolve(tt(Nn,Lt)).then(()=>{cn(null)})},[tt,an,Lt]),b.createElement(b.Fragment,null,Ft,an?(0,b.cloneElement)(an,{ref:it}):null)}const ni={x:0,y:0,scaleX:1,scaleY:1};function Kr(ke){let{children:tt}=ke;return b.createElement(bt.Provider,{value:pt},b.createElement(Ar.Provider,{value:ni},tt))}const wr={position:"fixed",touchAction:"none"},Rr=ke=>(0,ce.vd)(ke)?"transform 250ms ease":void 0,hi=(0,b.forwardRef)((ke,tt)=>{let{as:Ft,activatorEvent:an,adjustScale:cn,children:Lt,className:it,rect:It,style:$t,transform:Nn,transition:zn=Rr}=ke;if(!It)return null;const Dn=cn?Nn:Da(xo({},Nn),{scaleX:1,scaleY:1}),jn=xo(Da(xo({},wr),{width:It.width,height:It.height,top:It.top,left:It.left,transform:ce.ux.Transform.toString(Dn),transformOrigin:cn&&an?jt(an,It):void 0,transition:typeof zn=="function"?zn(an):zn}),$t);return b.createElement(Ft,{className:it,style:jn,ref:tt},Lt)}),ei={duration:250,easing:"ease",keyframes:ke=>{let{transform:{initial:tt,final:Ft}}=ke;return[{transform:ce.ux.Transform.toString(tt)},{transform:ce.ux.Transform.toString(Ft)}]},sideEffects:(ke=>tt=>{let{active:Ft,dragOverlay:an}=tt;const cn={},{styles:Lt,className:it}=ke;if(Lt!=null&&Lt.active)for(const[It,$t]of Object.entries(Lt.active))$t!==void 0&&(cn[It]=Ft.node.style.getPropertyValue(It),Ft.node.style.setProperty(It,$t));if(Lt!=null&&Lt.dragOverlay)for(const[It,$t]of Object.entries(Lt.dragOverlay))$t!==void 0&&an.node.style.setProperty(It,$t);return it!=null&&it.active&&Ft.node.classList.add(it.active),it!=null&&it.dragOverlay&&an.node.classList.add(it.dragOverlay),function(){for(const[$t,Nn]of Object.entries(cn))Ft.node.style.setProperty($t,Nn);it!=null&&it.active&&Ft.node.classList.remove(it.active)}})({styles:{active:{opacity:"0"}}})};function Ni(ke){let{config:tt,draggableNodes:Ft,droppableContainers:an,measuringConfiguration:cn}=ke;return(0,ce.zX)((Lt,it)=>{if(tt===null)return;const It=Ft.get(Lt);if(!It)return;const $t=It.node.current;if(!$t)return;const Nn=Ze(it);if(!Nn)return;const{transform:zn}=(0,ce.Jj)(it).getComputedStyle(it),Dn=Xt(zn);if(!Dn)return;const jn=typeof tt=="function"?tt:$i(tt);return st($t,cn.draggable.measure),jn({active:{id:Lt,data:It.data,node:$t,rect:cn.draggable.measure($t)},draggableNodes:Ft,dragOverlay:{node:it,rect:cn.dragOverlay.measure(Nn)},droppableContainers:an,measuringConfiguration:cn,transform:Dn})})}function $i(ke){const{duration:tt,easing:Ft,sideEffects:an,keyframes:cn}=xo(xo({},ei),ke);return Lt=>{let gi=Lt,{active:it,dragOverlay:It,transform:$t}=gi,Nn=wu(gi,["active","dragOverlay","transform"]);if(!tt)return;const zn={x:It.rect.left-it.rect.left,y:It.rect.top-it.rect.top},Dn={scaleX:$t.scaleX!==1?it.rect.width*$t.scaleX/It.rect.width:1,scaleY:$t.scaleY!==1?it.rect.height*$t.scaleY/It.rect.height:1},jn=xo({x:$t.x-zn.x,y:$t.y-zn.y},Dn),Jn=cn(Da(xo({},Nn),{active:it,dragOverlay:It,transform:{initial:$t,final:jn}})),[Cr]=Jn,br=Jn[Jn.length-1];if(JSON.stringify(Cr)===JSON.stringify(br))return;const Wr=an==null?void 0:an(xo({active:it,dragOverlay:It},Nn)),Jr=It.node.animate(Jn,{duration:tt,easing:Ft,fill:"forwards"});return new Promise(oi=>{Jr.onfinish=()=>{Wr==null||Wr(),oi()}})}}let _i=0;function ki(ke){return(0,b.useMemo)(()=>{if(ke!=null)return _i++,_i},[ke])}const io=b.memo(ke=>{let{adjustScale:tt=!1,children:Ft,dropAnimation:an,style:cn,transition:Lt,modifiers:it,wrapperElement:It="div",className:$t,zIndex:Nn=999}=ke;const{activatorEvent:zn,active:Dn,activeNodeRect:jn,containerNodeRect:Jn,draggableNodes:Cr,droppableContainers:br,dragOverlay:Wr,over:Jr,measuringConfiguration:gi,scrollableAncestors:oi,scrollableAncestorRects:Pi,windowRect:ci}=Xr(),di=(0,b.useContext)(Ar),yi=ki(Dn==null?void 0:Dn.id),Ii=Rn(it,{activatorEvent:zn,active:Dn,activeNodeRect:jn,containerNodeRect:Jn,draggingNodeRect:Wr.rect,over:Jr,overlayNodeRect:Wr.rect,scrollableAncestors:oi,scrollableAncestorRects:Pi,transform:di,windowRect:ci}),no=Fn(jn),So=Ni({config:an,draggableNodes:Cr,droppableContainers:br,measuringConfiguration:gi}),bo=no?Wr.setRef:void 0;return b.createElement(Kr,null,b.createElement(gr,{animation:So},Dn&&yi?b.createElement(hi,{key:yi,id:Dn.id,ref:bo,as:It,activatorEvent:zn,adjustScale:tt,className:$t,transition:Lt,rect:no,style:xo({zIndex:Nn},cn),transform:Ii},Ft):null))})},18257:function(Yn,dn,z){"use strict";z.d(dn,{DL:function(){return Be}});var b=z(35241);function xe(de){return Ke=>{let{transform:be}=Ke;return Da(xo({},be),{x:Math.ceil(be.x/de)*de,y:Math.ceil(be.y/de)*de})}}const ce=de=>{let{transform:Ke}=de;return Da(xo({},Ke),{y:0})};function nt(de,Ke,be){const vt=xo({},de);return Ke.top+de.y<=be.top?vt.y=be.top-Ke.top:Ke.bottom+de.y>=be.top+be.height&&(vt.y=be.top+be.height-Ke.bottom),Ke.left+de.x<=be.left?vt.x=be.left-Ke.left:Ke.right+de.x>=be.left+be.width&&(vt.x=be.left+be.width-Ke.right),vt}const Me=de=>{let{containerNodeRect:Ke,draggingNodeRect:be,transform:vt}=de;return!be||!Ke?vt:nt(vt,be,Ke)},Ce=de=>{let{draggingNodeRect:Ke,transform:be,scrollableAncestorRects:vt}=de;const et=vt[0];return!Ke||!et?be:nt(be,Ke,et)},Be=de=>{let{transform:Ke}=de;return Da(xo({},Ke),{x:0})},He=de=>{let{transform:Ke,draggingNodeRect:be,windowRect:vt}=de;return!be||!vt?Ke:nt(Ke,be,vt)},Fe=de=>{let{activatorEvent:Ke,draggingNodeRect:be,transform:vt}=de;if(be&&Ke){const et=getEventCoordinates(Ke);if(!et)return vt;const $e=et.x-be.left,ze=et.y-be.top;return Da(xo({},vt),{x:vt.x+$e-be.width/2,y:vt.y+ze-be.height/2})}return vt}},19719:function(Yn,dn,z){"use strict";z.d(dn,{Fo:function(){return jt},Rp:function(){return nt},U2:function(){return vt},nB:function(){return ut},qw:function(){return ze}});var b=z(59301),xe=z(87954),ce=z(35241);function nt(Xe,Xt,Se){const ve=Xe.slice();return ve.splice(Se<0?ve.length+Se:Se,0,ve.splice(Xt,1)[0]),ve}function Me(Xe,Xt,Se){const ve=Xe.slice();return ve[Xt]=Xe[Se],ve[Se]=Xe[Xt],ve}function Ce(Xe,Xt){return Xe.reduce((Se,ve,Mt)=>{const Jt=Xt.get(ve);return Jt&&(Se[Mt]=Jt),Se},Array(Xe.length))}function Be(Xe){return Xe!==null&&Xe>=0}function He(Xe,Xt){if(Xe===Xt)return!0;if(Xe.length!==Xt.length)return!1;for(let Se=0;Se<Xe.length;Se++)if(Xe[Se]!==Xt[Se])return!1;return!0}function Fe(Xe){return typeof Xe=="boolean"?{draggable:Xe,droppable:Xe}:Xe}const de={scaleX:1,scaleY:1},Ke=Xe=>{var Xt;let{rects:Se,activeNodeRect:ve,activeIndex:Mt,overIndex:Jt,index:Zt}=Xe;const pe=(Xt=Se[Mt])!=null?Xt:ve;if(!pe)return null;const Re=be(Se,Zt,Mt);if(Zt===Mt){const Ue=Se[Jt];return Ue?xo({x:Mt<Jt?Ue.left+Ue.width-(pe.left+pe.width):Ue.left-pe.left,y:0},de):null}return Zt>Mt&&Zt<=Jt?xo({x:-pe.width-Re,y:0},de):Zt<Mt&&Zt>=Jt?xo({x:pe.width+Re,y:0},de):xo({x:0,y:0},de)};function be(Xe,Xt,Se){const ve=Xe[Xt],Mt=Xe[Xt-1],Jt=Xe[Xt+1];return!ve||!Mt&&!Jt?0:Se<Xt?Mt?ve.left-(Mt.left+Mt.width):Jt.left-(ve.left+ve.width):Jt?Jt.left-(ve.left+ve.width):ve.left-(Mt.left+Mt.width)}const vt=Xe=>{let{rects:Xt,activeIndex:Se,overIndex:ve,index:Mt}=Xe;const Jt=nt(Xt,ve,Se),Zt=Xt[Mt],pe=Jt[Mt];return!pe||!Zt?null:{x:pe.left-Zt.left,y:pe.top-Zt.top,scaleX:pe.width/Zt.width,scaleY:pe.height/Zt.height}},et=Xe=>{let{activeIndex:Xt,index:Se,rects:ve,overIndex:Mt}=Xe,Jt,Zt;return Se===Xt&&(Jt=ve[Se],Zt=ve[Mt]),Se===Mt&&(Jt=ve[Se],Zt=ve[Xt]),!Zt||!Jt?null:{x:Zt.left-Jt.left,y:Zt.top-Jt.top,scaleX:Zt.width/Jt.width,scaleY:Zt.height/Jt.height}},$e={scaleX:1,scaleY:1},ze=Xe=>{var Xt;let{activeIndex:Se,activeNodeRect:ve,index:Mt,rects:Jt,overIndex:Zt}=Xe;const pe=(Xt=Jt[Se])!=null?Xt:ve;if(!pe)return null;if(Mt===Se){const Ue=Jt[Zt];return Ue?xo({x:0,y:Se<Zt?Ue.top+Ue.height-(pe.top+pe.height):Ue.top-pe.top},$e):null}const Re=je(Jt,Mt,Se);return Mt>Se&&Mt<=Zt?xo({x:0,y:-pe.height-Re},$e):Mt<Se&&Mt>=Zt?xo({x:0,y:pe.height+Re},$e):xo({x:0,y:0},$e)};function je(Xe,Xt,Se){const ve=Xe[Xt],Mt=Xe[Xt-1],Jt=Xe[Xt+1];return ve?Se<Xt?Mt?ve.top-(Mt.top+Mt.height):Jt?Jt.top-(ve.top+ve.height):0:Jt?Jt.top-(ve.top+ve.height):Mt?ve.top-(Mt.top+Mt.height):0:0}const at="Sortable",Nt=b.createContext({activeIndex:-1,containerId:at,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:vt,disabled:{draggable:!1,droppable:!1}});function jt(Xe){let{children:Xt,id:Se,items:ve,strategy:Mt=vt,disabled:Jt=!1}=Xe;const{active:Zt,dragOverlay:pe,droppableRects:Re,over:Ue,measureDroppableContainers:tn}=(0,xe.Cj)(),rt=(0,ce.Ld)(at,Se),Kt=pe.rect!==null,ct=(0,b.useMemo)(()=>ve.map(ue=>typeof ue=="object"&&"id"in ue?ue.id:ue),[ve]),fn=Zt!=null,xt=Zt?ct.indexOf(Zt.id):-1,le=Ue?ct.indexOf(Ue.id):-1,ne=(0,b.useRef)(ct),te=!He(ct,ne.current),ae=le!==-1&&xt===-1||te,he=Fe(Jt);(0,ce.LI)(()=>{te&&fn&&tn(ct)},[te,ct,fn,tn]),(0,b.useEffect)(()=>{ne.current=ct},[ct]);const re=(0,b.useMemo)(()=>({activeIndex:xt,containerId:rt,disabled:he,disableTransforms:ae,items:ct,overIndex:le,useDragOverlay:Kt,sortedRects:Ce(ct,Re),strategy:Mt}),[xt,rt,he.draggable,he.droppable,ae,ct,le,Re,Kt,Mt]);return b.createElement(Nt.Provider,{value:re},Xt)}const se=Xe=>{let{id:Xt,items:Se,activeIndex:ve,overIndex:Mt}=Xe;return nt(Se,ve,Mt).indexOf(Xt)},Oe=Xe=>{let{containerId:Xt,isSorting:Se,wasDragging:ve,index:Mt,items:Jt,newIndex:Zt,previousItems:pe,previousContainerId:Re,transition:Ue}=Xe;return!Ue||!ve||pe!==Jt&&Mt===Zt?!1:Se?!0:Zt!==Mt&&Xt===Re},dt={duration:200,easing:"ease"},ht="transform",Rt=ce.ux.Transition.toString({property:ht,duration:0,easing:"linear"}),_e={roleDescription:"sortable"};function lt(Xe){let{disabled:Xt,index:Se,node:ve,rect:Mt}=Xe;const[Jt,Zt]=(0,b.useState)(null),pe=(0,b.useRef)(Se);return(0,ce.LI)(()=>{if(!Xt&&Se!==pe.current&&ve.current){const Re=Mt.current;if(Re){const Ue=(0,xe.VK)(ve.current,{ignoreTransform:!0}),tn={x:Re.left-Ue.left,y:Re.top-Ue.top,scaleX:Re.width/Ue.width,scaleY:Re.height/Ue.height};(tn.x||tn.y)&&Zt(tn)}}Se!==pe.current&&(pe.current=Se)},[Xt,Se,ve,Mt]),(0,b.useEffect)(()=>{Jt&&Zt(null)},[Jt]),Jt}function ut(Xe){let{animateLayoutChanges:Xt=Oe,attributes:Se,disabled:ve,data:Mt,getNewIndex:Jt=se,id:Zt,strategy:pe,resizeObserverConfig:Re,transition:Ue=dt}=Xe;const{items:tn,containerId:rt,activeIndex:Kt,disabled:ct,disableTransforms:fn,sortedRects:xt,overIndex:le,useDragOverlay:ne,strategy:te}=(0,b.useContext)(Nt),ae=Pe(ve,ct),he=tn.indexOf(Zt),re=(0,b.useMemo)(()=>xo({sortable:{containerId:rt,index:he,items:tn}},Mt),[rt,Mt,he,tn]),ue=(0,b.useMemo)(()=>tn.slice(tn.indexOf(Zt)),[tn,Zt]),{rect:De,node:st,isOver:Qe,setNodeRef:Ie}=(0,xe.Zj)({id:Zt,data:re,disabled:ae.droppable,resizeObserverConfig:xo({updateMeasurementsFor:ue},Re)}),{active:mt,activatorEvent:Et,activeNodeRect:Tt,attributes:Le,setNodeRef:Ye,listeners:vn,isDragging:Ht,over:Cn,setActivatorNodeRef:un,transform:Ut}=(0,xe.O1)({id:Zt,data:re,attributes:xo(xo({},_e),Se),disabled:ae.draggable}),on=(0,ce.HB)(Ie,Ye),mn=!!mt,ft=mn&&!fn&&Be(Kt)&&Be(le),Vt=!ne&&Ht,yn=Vt&&ft?Ut:null,Ct=pe!=null?pe:te,Je=ft?yn!=null?yn:Ct({rects:xt,activeNodeRect:Tt,activeIndex:Kt,overIndex:le,index:he}):null,Wt=Be(Kt)&&Be(le)?Jt({id:Zt,items:tn,activeIndex:Kt,overIndex:le}):he,qt=mt==null?void 0:mt.id,ln=(0,b.useRef)({activeId:qt,items:tn,newIndex:Wt,containerId:rt}),Zn=tn!==ln.current.items,qn=Xt({active:mt,containerId:rt,isDragging:Ht,isSorting:mn,id:Zt,index:he,items:tn,newIndex:ln.current.newIndex,previousItems:ln.current.items,previousContainerId:ln.current.containerId,transition:Ue,wasDragging:ln.current.activeId!=null}),mr=lt({disabled:!qn,index:he,node:st,rect:De});return(0,b.useEffect)(()=>{mn&&ln.current.newIndex!==Wt&&(ln.current.newIndex=Wt),rt!==ln.current.containerId&&(ln.current.containerId=rt),tn!==ln.current.items&&(ln.current.items=tn)},[mn,Wt,rt,tn]),(0,b.useEffect)(()=>{if(qt===ln.current.activeId)return;if(qt&&!ln.current.activeId){ln.current.activeId=qt;return}const _n=setTimeout(()=>{ln.current.activeId=qt},50);return()=>clearTimeout(_n)},[qt]),{active:mt,activeIndex:Kt,attributes:Le,data:re,rect:De,index:he,newIndex:Wt,items:tn,isOver:Qe,isSorting:mn,isDragging:Ht,listeners:vn,node:st,overIndex:le,over:Cn,setNodeRef:on,setActivatorNodeRef:un,setDroppableNodeRef:Ie,setDraggableNodeRef:Ye,transform:mr!=null?mr:Je,transition:vr()};function vr(){if(mr||Zn&&ln.current.newIndex===he)return Rt;if(!(Vt&&!(0,ce.vd)(Et)||!Ue)&&(mn||qn))return ce.ux.Transition.toString(Da(xo({},Ue),{property:ht}))}}function Pe(Xe,Xt){var Se,ve;return typeof Xe=="boolean"?{draggable:Xe,droppable:!1}:{draggable:(Se=Xe==null?void 0:Xe.draggable)!=null?Se:Xt.draggable,droppable:(ve=Xe==null?void 0:Xe.droppable)!=null?ve:Xt.droppable}}function Te(Xe){if(!Xe)return!1;const Xt=Xe.data.current;return!!(Xt&&"sortable"in Xt&&typeof Xt.sortable=="object"&&"containerId"in Xt.sortable&&"items"in Xt.sortable&&"index"in Xt.sortable)}const we=[xe.g4.Down,xe.g4.Right,xe.g4.Up,xe.g4.Left],me=(Xe,Xt)=>{let{context:{active:Se,collisionRect:ve,droppableRects:Mt,droppableContainers:Jt,over:Zt,scrollableAncestors:pe}}=Xt;if(we.includes(Xe.code)){if(Xe.preventDefault(),!Se||!ve)return;const Re=[];Jt.getEnabled().forEach(rt=>{if(!rt||rt!=null&&rt.disabled)return;const Kt=Mt.get(rt.id);if(Kt)switch(Xe.code){case KeyboardCode.Down:ve.top<Kt.top&&Re.push(rt);break;case KeyboardCode.Up:ve.top>Kt.top&&Re.push(rt);break;case KeyboardCode.Left:ve.left>Kt.left&&Re.push(rt);break;case KeyboardCode.Right:ve.left<Kt.left&&Re.push(rt);break}});const Ue=closestCorners({active:Se,collisionRect:ve,droppableRects:Mt,droppableContainers:Re,pointerCoordinates:null});let tn=getFirstCollision(Ue,"id");if(tn===(Zt==null?void 0:Zt.id)&&Ue.length>1&&(tn=Ue[1].id),tn!=null){const rt=Jt.get(Se.id),Kt=Jt.get(tn),ct=Kt?Mt.get(Kt.id):null,fn=Kt==null?void 0:Kt.node.current;if(fn&&ct&&rt&&Kt){const le=getScrollableAncestors(fn).some((ue,De)=>pe[De]!==ue),ne=Ot(rt,Kt),te=We(rt,Kt),ae=le||!ne?{x:0,y:0}:{x:te?ve.width-ct.width:0,y:te?ve.height-ct.height:0},he={x:ct.left,y:ct.top};return ae.x&&ae.y?he:subtract(he,ae)}}}};function Ot(Xe,Xt){return!Te(Xe)||!Te(Xt)?!1:Xe.data.current.sortable.containerId===Xt.data.current.sortable.containerId}function We(Xe,Xt){return!Te(Xe)||!Te(Xt)||!Ot(Xe,Xt)?!1:Xe.data.current.sortable.index<Xt.data.current.sortable.index}},35241:function(Yn,dn,z){"use strict";z.d(dn,{$X:function(){return Oe},D9:function(){return je},DC:function(){return _e},Ey:function(){return et},FJ:function(){return nt},Gj:function(){return $e},HB:function(){return xe},IH:function(){return se},Jj:function(){return Ce},LI:function(){return Ke},Ld:function(){return Nt},Nq:function(){return ce},Re:function(){return He},UG:function(){return Me},Yz:function(){return vt},qk:function(){return Be},r3:function(){return de},so:function(){return Pe},ux:function(){return lt},vZ:function(){return Fe},vd:function(){return ht},wm:function(){return ze},zX:function(){return be}});var b=z(59301);function xe(){for(var Te=arguments.length,we=new Array(Te),me=0;me<Te;me++)we[me]=arguments[me];return(0,b.useMemo)(()=>Ot=>{we.forEach(We=>We(Ot))},we)}const ce=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function nt(Te){const we=Object.prototype.toString.call(Te);return we==="[object Window]"||we==="[object global]"}function Me(Te){return"nodeType"in Te}function Ce(Te){var we,me;return Te?nt(Te)?Te:Me(Te)&&(we=(me=Te.ownerDocument)==null?void 0:me.defaultView)!=null?we:window:window}function Be(Te){const{Document:we}=Ce(Te);return Te instanceof we}function He(Te){return nt(Te)?!1:Te instanceof Ce(Te).HTMLElement}function Fe(Te){return Te instanceof Ce(Te).SVGElement}function de(Te){return Te?nt(Te)?Te.document:Me(Te)?Be(Te)?Te:He(Te)||Fe(Te)?Te.ownerDocument:document:document:document}const Ke=ce?b.useLayoutEffect:b.useEffect;function be(Te){const we=(0,b.useRef)(Te);return Ke(()=>{we.current=Te}),(0,b.useCallback)(function(){for(var me=arguments.length,Ot=new Array(me),We=0;We<me;We++)Ot[We]=arguments[We];return we.current==null?void 0:we.current(...Ot)},[])}function vt(){const Te=(0,b.useRef)(null),we=(0,b.useCallback)((Ot,We)=>{Te.current=setInterval(Ot,We)},[]),me=(0,b.useCallback)(()=>{Te.current!==null&&(clearInterval(Te.current),Te.current=null)},[]);return[we,me]}function et(Te,we){we===void 0&&(we=[Te]);const me=(0,b.useRef)(Te);return Ke(()=>{me.current!==Te&&(me.current=Te)},we),me}function $e(Te,we){const me=(0,b.useRef)();return(0,b.useMemo)(()=>{const Ot=Te(me.current);return me.current=Ot,Ot},[...we])}function ze(Te){const we=be(Te),me=(0,b.useRef)(null),Ot=(0,b.useCallback)(We=>{We!==me.current&&(we==null||we(We,me.current)),me.current=We},[]);return[me,Ot]}function je(Te){const we=(0,b.useRef)();return(0,b.useEffect)(()=>{we.current=Te},[Te]),we.current}let at={};function Nt(Te,we){return(0,b.useMemo)(()=>{if(we)return we;const me=at[Te]==null?0:at[Te]+1;return at[Te]=me,Te+"-"+me},[Te,we])}function jt(Te){return function(we){for(var me=arguments.length,Ot=new Array(me>1?me-1:0),We=1;We<me;We++)Ot[We-1]=arguments[We];return Ot.reduce((Xe,Xt)=>{const Se=Object.entries(Xt);for(const[ve,Mt]of Se){const Jt=Xe[ve];Jt!=null&&(Xe[ve]=Jt+Te*Mt)}return Xe},xo({},we))}}const se=jt(1),Oe=jt(-1);function dt(Te){return"clientX"in Te&&"clientY"in Te}function ht(Te){if(!Te)return!1;const{KeyboardEvent:we}=Ce(Te.target);return we&&Te instanceof we}function Rt(Te){if(!Te)return!1;const{TouchEvent:we}=Ce(Te.target);return we&&Te instanceof we}function _e(Te){if(Rt(Te)){if(Te.touches&&Te.touches.length){const{clientX:we,clientY:me}=Te.touches[0];return{x:we,y:me}}else if(Te.changedTouches&&Te.changedTouches.length){const{clientX:we,clientY:me}=Te.changedTouches[0];return{x:we,y:me}}}return dt(Te)?{x:Te.clientX,y:Te.clientY}:null}const lt=Object.freeze({Translate:{toString(Te){if(!Te)return;const{x:we,y:me}=Te;return"translate3d("+(we?Math.round(we):0)+"px, "+(me?Math.round(me):0)+"px, 0)"}},Scale:{toString(Te){if(!Te)return;const{scaleX:we,scaleY:me}=Te;return"scaleX("+we+") scaleY("+me+")"}},Transform:{toString(Te){if(Te)return[lt.Translate.toString(Te),lt.Scale.toString(Te)].join(" ")}},Transition:{toString(Te){let{property:we,duration:me,easing:Ot}=Te;return we+" "+me+"ms "+Ot}}}),ut="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Pe(Te){return Te.matches(ut)?Te:Te.querySelector(ut)}},45559:function(){"use strict"},42313:function(){"use strict"},96408:function(Yn,dn){"use strict";dn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},61191:function(Yn,dn){"use strict";dn.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",disabled_link:"disabled_link___usmze"}},96435:function(Yn,dn,z){"use strict";var b=z(59301),xe=Object.defineProperty,ce=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ce=(Fe,de,Ke)=>de in Fe?xe(Fe,de,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Fe[de]=Ke,Be=(Fe,de)=>{for(var Ke in de||(de={}))nt.call(de,Ke)&&Ce(Fe,Ke,de[Ke]);if(ce)for(var Ke of ce(de))Me.call(de,Ke)&&Ce(Fe,Ke,de[Ke]);return Fe};const He=Fe=>React.createElement("svg",Be({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Fe),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"}));dn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},64303:function(Yn,dn,z){"use strict";var b=z(59301),xe=Object.defineProperty,ce=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ce=(Fe,de,Ke)=>de in Fe?xe(Fe,de,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Fe[de]=Ke,Be=(Fe,de)=>{for(var Ke in de||(de={}))nt.call(de,Ke)&&Ce(Fe,Ke,de[Ke]);if(ce)for(var Ke of ce(de))Me.call(de,Ke)&&Ce(Fe,Ke,de[Ke]);return Fe};const He=Fe=>React.createElement("svg",Be({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Fe),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"}));dn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},93510: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 Yn={},dn="5.0",z={},b=null,xe=!1,ce=!1,nt=null,Me=!1,Ce=null,Be=null,He=0;He<arguments.length;He++){var Fe=arguments[He];if(Fe!==null)switch(typeof Fe){case"number":dn=Fe.toFixed(1);break;case"string":Fe.match(new RegExp("^[0-9]\\.[0-9]+$"))?dn=Fe:nt=Fe;break;case"object":typeof Fe.is3D!="undefined"?b=Fe:z=Fe;break;case"boolean":xe=Fe,ce=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},z.material_id!==void 0&&!ce&&(xe=!0)),nt!==null&&z.id===void 0&&(z.id=nt);var de="",Ke="",be=!1,vt=null,et=null,$e=null,ze=!1,je=null,at=null,Nt=null,jt=null,se=null;z.height!==void 0&&(z.height=Math.round(z.height)),z.width!==void 0&&(z.width=Math.round(z.width));var Oe=function(pe){return parseFloat(pe)>4?parseFloat(pe):5};Yn.setHTML5Codebase=function(pe,Re){Be=pe,Mt(pe,Re)},Yn.setJavaCodebase=Yn.setJavaCodebaseVersion=Yn.isCompiledInstalled=Yn.setPreCompiledScriptPath=Yn.setPreCompiledResourcePath=function(){},Yn.setHTML5CodebaseVersion=function(pe,Re){var Ue=parseFloat(pe);if(Ue!==NaN&&Ue<5){console.log("The GeoGebra HTML5 codebase version "+Ue+" is deprecated. Using version latest instead.");return}Ce=pe,ve(pe,Re)},Yn.getHTML5CodebaseVersion=function(){return et},Yn.getParameters=function(){return z},Yn.setFontsCSSURL=function(pe){jt=pe},Yn.setGiacJSURL=function(pe){},Yn.setJNLPFile=function(pe){de=pe},Yn.setJNLPBaseDir=function(pe){},Yn.inject=function(){function pe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Re="auto",Ue=z.id,tn,rt=!1,Kt=0;Kt<arguments.length;Kt++){var ct=arguments[Kt];typeof ct=="string"?(ct=ct.toLowerCase(),ct.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Re=ct:Ue=arguments[Kt]):typeof ct=="boolean"?rt=ct:ct instanceof HTMLElement&&(tn=ct)}fn();function fn(){if(!Me){setTimeout(fn,200);return}Re=Xt(Re);var xt=tn||document.getElementById(Ue);if(!xt){console.log("possibly bug on ajax loading? ");return}if(Yn.removeExistingApplet(xt,!1),z.width===void 0&&xt.clientWidth&&(z.width=xt.clientWidth),z.height===void 0&&xt.clientHeight&&(z.height=xt.clientHeight),!(z.width&&z.height)&&Re==="html5"&&(delete z.width,delete z.height),vt=Re,Re==="screenshot")we(xt,z);else{var le=!1;z.hasOwnProperty("playButton")&&z.playButton||z.hasOwnProperty("clickToLoad")&&z.clickToLoad?le=!0:z.hasOwnProperty("playButtonAutoDecide")&&z.playButtonAutoDecide&&(le=(!dt()||pe())&&ht()),le?(vt="screenshot",Ot(xt,z,rt,Re)):Te(xt,z,rt)}}};function dt(){try{return window.self!==window.top}catch(pe){return!0}}function ht(){return z.hasOwnProperty("screenshotGenerator")&&z.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Yn.getViews=function(){return b},Yn.isJavaInstalled=function(){return!1};var Rt=function(pe){var Re=function(Kt){var ct=JSON.parse(Kt),fn=function(ne){return ne.type=="G"||ne.type=="E"},xt=ct.elements?ct.elements.filter(fn)[0]:ct;if(!xt||!xt.url){Ue();return}z.fileName=xt.url,_e(xt.settings||{}),b.is3D=!0;var le="https://www.geogebra.org/images/";Yn.setPreviewImage(je||xt.previewUrl,le+"GeoGebra_loading.png",le+"applet_play.png"),pe()},Ue=function(){z.onError&&z.onError(),Jt("Error: Fetching material (id "+z.material_id+") failed.",z)},tn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",rt="/materials/"+z.material_id+"?scope=basic";lt("https://"+tn+"/api/proxy.php?path="+encodeURIComponent(rt),Re,Ue)};function _e(pe){var Re=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ue){pe[Ue]=!!pe[Ue]}),Re.forEach(function(Ue){z[Ue]===void 0&&pe[Ue]!==void 0&&(z[Ue]=pe[Ue])}),z.showToolBarHelp===void 0&&(z.showToolBarHelp=z.showToolBar)}function lt(pe,Re,Ue){var tn=new XMLHttpRequest;tn.open("GET",pe),tn.onload=function(){Re(tn.responseText)},tn.onerror=Ue,tn.send()}Yn.isHTML5Installed=function(){return!0},Yn.getLoadedAppletType=function(){return vt},Yn.setPreviewImage=function(pe,Re,Ue){je=pe,at=Re,Nt=Ue},Yn.removeExistingApplet=function(pe,Re){var Ue;typeof pe=="string"&&(pe=document.getElementById(pe)),vt=null;var tn=null;for(Ue=0;Ue<pe.childNodes.length;Ue++){var rt=pe.childNodes[Ue],Kt=rt.className;Kt==="applet_screenshot"?Re?(rt.style.display="block",vt="screenshot"):rt.style.display="none":Kt!=="applet_scaler prerender"&&(pe.removeChild(rt),tn=Kt&&Kt.indexOf("appletParameters")!=-1?rt.id:null,Ue--)}var ct=z.id!==void 0?z.id:tn,fn=window[ct];fn&&typeof fn.getBase64=="function"&&(fn.remove(),window[ct]=null)},Yn.refreshHitPoints=function(){if(Oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var pe=Yn.getAppletObject();return pe&&typeof pe.recalculateEnvironments=="function"?(pe.recalculateEnvironments(),!0):!1},Yn.startAnimation=function(){var pe=Yn.getAppletObject();return pe&&typeof pe.startAnimation=="function"?(pe.startAnimation(),!0):!1},Yn.stopAnimation=function(){var pe=Yn.getAppletObject();return pe&&typeof pe.stopAnimation=="function"?(pe.stopAnimation(),!0):!1},Yn.getAppletObject=function(){var pe=z.id!==void 0?z.id:"ggbApplet";return window[pe]},Yn.resize=function(){};var ut=function(pe,Re,Ue){var tn=document.createElement("param");tn.setAttribute("name",Re),tn.setAttribute("value",Ue),pe.appendChild(tn)},Pe=function(pe){return pe&&pe!=="false"},Te=function(pe,Re,Ue){Oe(et)<=4.2&&(Ue=!0);var tn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==et||ggbHTML5LoadedCodebaseIsWebSimple&&!ze)&&(tn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var rt=document.createElement("div");rt.classList.add("appletParameters","notranslate");var Kt=Re.width,ct=Re.height;if(Re.disableAutoScale=Re.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Re.disableAutoScale,Re.width!==void 0)if(Oe(et)<=4.4)Pe(Re.showToolBar)&&(Re.height-=7),Pe(Re.showAlgebraInput)&&(Re.height-=37),Re.width<605&&Pe(Re.showToolBar)&&(Re.width=605,Kt=605);else{var fn=100;(Pe(Re.showToolBar)||Pe(Re.showMenuBar))&&(Re.hasOwnProperty("customToolBar")&&(Re.customToolbar=Re.customToolBar),fn=Pe(Re.showMenuBar)?245:155),Kt<fn&&(Re.width=fn,Kt=fn)}rt.style.border="none",rt.style.display="inline-block";for(var xt in Re)Re.hasOwnProperty(xt)&&xt!=="appletOnLoad"&&rt.setAttribute("data-param-"+xt,Re[xt]);jt&&rt.setAttribute("data-param-fontscssurl",jt),Yn.resize=function(){GGBAppletUtils.responsiveResize(pe,Re)},window.addEventListener("resize",function(Et){Yn.resize()});var le=typeof Re.appletOnLoad=="function"?Re.appletOnLoad:function(){};if(!Ue&&Re.width!==void 0){Re.hasOwnProperty("showSplash")||rt.setAttribute("data-param-showSplash","false");var ne=pe.querySelector(".applet_scaler.prerender"),te=ne!==null;if(te)var ae=ne.querySelector(".ggb_preview");else{var ae=Xe(Kt,ct,Re.borderColor,!1);ne=document.createElement("div"),ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.style.width=Kt+"px",ne.style.height=ct+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ne,"66%"),Oe(et)>=5?(Re.appletOnLoad=function(Et){var Tt=pe.querySelector(".ggb_preview");Tt&&Tt.parentNode.removeChild(Tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ne),window.GGBT_wsf_view&&$(window).trigger("resize"),le(Et)},te||ne.appendChild(ae)):rt.appendChild(ae),ne.appendChild(rt),te||pe.appendChild(ne),setTimeout(function(){Yn.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(rt),pe.appendChild(he),Re.appletOnLoad=function(Et){Yn.resize(),le(Et)}}function re(Et,Tt){Tt&&typeof Tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Et,Tt.appletOnLoad):renderGGBElement(Et),Jt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Tt)}function ue(Et,Tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Et,params:Tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Le){re(Le.article,Le.params)}),html5AppletsToProcess=null)},Oe(et)<5&&(Et.className+=" geogebraweb")):re(Et,Tt)}if(tn){scriptLoadStarted=!0;for(var De=0;De<rt.childNodes.length;De++){var st=rt.childNodes[De].tagName;st==="TABLE"&&(rt.removeChild(rt.childNodes[De]),De--)}if(ggbHTML5LoadedScript!==null){var Qe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Qe!=null&&Qe.parentNode.removeChild(Qe)}var Ie=document.createElement("script"),mt=function(){ue(rt,Re)};Ie.src=Ke+$e,ggbHTML5LoadedCodebaseIsWebSimple=ze,ggbHTML5LoadedCodebaseVersion=et,ggbHTML5LoadedScript=Ie.src,Jt("GeoGebra HTML5 codebase loaded: '"+Ke+"'.",Re),!Be&&(!Ce||Ce=="5.0")?(ze?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),mt()):Ke.requirejs?__webpack_require__.e(3861).then(function(){var Et=[__webpack_require__(40341)];mt.apply(null,Et)}.bind(this)).catch(__webpack_require__.oe):(Ie.onload=mt,pe.appendChild(Ie))}else ue(rt,Re);Re.height=ct,Re.width=Kt},we=function(pe,Re,Ue){var tn=Xe(Re.width,Re.height,Re.borderColor,Ue),rt=document.createElement("div");rt.style.position="relative",rt.style.display="block",rt.style.width=Re.width+"px",rt.style.height=Re.height+"px",rt.className="applet_screenshot applet_scaler"+(Ue?" applet_screenshot_play":""),rt.appendChild(tn);var Kt=GGBAppletUtils.getScale(Re,pe,Ue);Ue?(pe.appendChild(We()),window.GGBT_wsf_view||(pe.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(rt,"66%"),pe.appendChild(rt),Kt!==1&&!isNaN(Kt)&&(GGBAppletUtils.scaleElement(rt,Kt),rt.style.width=Re.width+"px",rt.style.height=Re.height+"px",rt.parentNode.style.width=Re.width*Kt+"px",rt.parentNode.style.height=Re.height*Kt+"px"),Yn.resize=function(){me(pe,tn,rt,Ue)},window.addEventListener("resize",function(ct){Yn.resize()}),Yn.resize()};function me(pe,Re,Ue,tn){if(pe.contains(Re)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(pe.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(pe)}var rt=GGBAppletUtils.getScale(z,pe,tn);Ue.parentNode!==null&&(!isNaN(rt)&&rt!==1?(GGBAppletUtils.scaleElement(Ue,rt),Ue.parentNode.style.width=z.width*rt+"px",Ue.parentNode.style.height=z.height*rt+"px"):(GGBAppletUtils.scaleElement(Ue,1),Ue.parentNode.style.width=z.width+"px",Ue.parentNode.style.height=z.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(pe),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Yn.onExitFullscreen=function(pe,Re){Re.appendChild(pe)};var Ot=function(pe,Re,Ue,tn){we(pe,Re,!0);for(var rt=function(){var fn=[];for(ct=0;ct<pe.childNodes.length;ct++)fn.push(pe.childNodes[ct]);if(window.GGBT_wsf_view){var xt=window.GGBT_wsf_view.renderFullScreen(pe,Re.id),le=document.getElementById("fullscreencontainer"),ne=jQuery(pe).find(".fullscreencontent");ne.length>0?(xt.remove(),ne.attr("id","fullscreencontent").show(),jQuery(le).append(ne),window.dispatchEvent(new Event("resize"))):Te(xt,Re,!1),window.GGBT_wsf_view.launchFullScreen(le)}else vt=tn,Te(pe,Re,!1);if(!window.GGBT_wsf_view)for(ct=0;ct<fn.length;ct++)pe.removeChild(fn[ct])},Kt=pe.getElementsByClassName("ggb_preview_play"),ct=0;ct<Kt.length;ct++)Kt[ct].addEventListener("click",rt,!1),Kt[ct].addEventListener("ontouchstart",rt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(pe),ht()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},We=function(){var pe=document.createElement("div");if(pe.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Re='.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");}',Ue=document.createElement("style");Ue.styleSheet?Ue.styleSheet.cssText=Re:Ue.appendChild(document.createTextNode(Re)),document.getElementsByTagName("head")[0].appendChild(Ue)}return pe},Xe=function(pe,Re,Ue,tn){var rt=document.createElement("div");rt.className="ggb_preview",rt.style.position="absolute",rt.style.zIndex="90",rt.style.width=pe-2+"px",rt.style.height=Re-2+"px",rt.style.top="0px",rt.style.left="0px",rt.style.overflow="hidden",rt.style.backgroundColor="white";var Kt="lightgrey";Ue!==void 0&&(Ue==="none"?Kt="transparent":Kt=Ue),rt.style.border="1px solid "+Kt;var ct=document.createElement("img");if(ct.style.position="relative",ct.style.zIndex="1000",ct.style.top="-1px",ct.style.left="-1px",je!==null&&ct.setAttribute("src",je),ct.style.opacity=.7,at!==null){var fn,xt,le;if(!tn){fn=document.createElement("img"),fn.style.position="absolute",fn.style.zIndex="1001",fn.style.opacity=1,ct.style.opacity=.3,xt=360,xt>pe/4*3&&(xt=pe/4*3),le=xt/5.8,fn.setAttribute("src",at),fn.setAttribute("width",xt),fn.setAttribute("height",le);var ne=(pe-xt)/2,te=(Re-le)/2;fn.style.left=ne+"px",fn.style.top=te+"px",rt.appendChild(fn)}}return rt.appendChild(ct),rt},Xt=function(pe){return pe=pe.toLowerCase(),pe==="html5"||pe==="screenshot"?pe:"html5"},Se=["web","webSimple","web3d","tablet","tablet3d","phone"],ve=function(pe,Re){if(et=pe,Re){Mt(et,!0);return}var Ue=!xe;if(Ue){var tn=Oe(et);!isNaN(tn)&&tn<4.4&&(Ue=!1)}var rt,Kt;window.location.protocol.substr(0,4)==="http"?rt=window.location.protocol:rt="http:";var ct=et.indexOf("//");ct>0?Kt=et:ct===0?Kt=rt+et:Kt="https://www.geogebra.org/apps/5.2.814.0/";for(var fn in Se)if(et.slice(Se[fn].length*-1)===Se[fn]||et.slice((Se[fn].length+1)*-1)===Se[fn]+"/"){Mt(Kt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ue&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Pe(z.showToolBar)&&!Pe(z.showMenuBar)&&!Pe(z.showAlgebraInput)&&!Pe(z.enableRightClick)&&(!z.appName||z.appName=="classic")?Kt+="webSimple/":Kt+="web3d/",Mt(Kt,!1)},Mt=function(pe,Re){if(pe.requirejs){Ke=pe;return}pe.slice(-1)!=="/"&&(pe+="/"),Ke=pe,Re===null&&(Re=pe.indexOf("http")===-1),be=Re,$e="web.nocache.js",ze=!1;var Ue=Ke.split("/");Ue.length>1&&(!Re&&Ue[Ue.length-2]==="webSimple"?($e="webSimple.nocache.js",ze=!0):Se.indexOf(Ue[Ue.length-2])>=0&&($e=Ue[Ue.length-2]+".nocache.js")),Ue=pe.split("/"),et=Ue[Ue.length-3],et.substr(0,4)==="test"?et=et.substr(4,1)+"."+et.substr(5,1):(et.substr(0,3)==="war"||et.substr(0,4)==="beta")&&(et="5.0");var tn=parseFloat(et);tn!==NaN&&tn<5&&pe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+tn+" is deprecated. Using version latest instead."),ve("5.0",Re))},Jt=function(pe,Re){window.console&&window.console.log&&(!Re||typeof Re.showLogging=="undefined"||Re.showLogging&&Re.showLogging!=="false")&&console.log(pe)};z.material_id!==void 0?Rt(Zt):Zt();function Zt(){var pe=dn;Ce!==null?pe=Ce:parseFloat(pe)<5&&(pe="5.0"),ve(pe,!1),Be!==null&&Mt(Be,be),Me=!0}return Yn},GGBAppletUtils=function(){"use strict";function Yn(){return window.GGBT_wsf_edit!==void 0}function dn(Me,Ce){Ce!=1?(Me.style.transformOrigin="0% 0% 0px",Me.style.webkitTransformOrigin="0% 0% 0px",Me.style.transform="scale("+Ce+","+Ce+")",Me.style.webkitTransform="scale("+Ce+","+Ce+")",Me.style.maxWidth="initial",Me.querySelector(".ggb_preview")!==null&&(Me.querySelector(".ggb_preview").style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Me.style.transform="none",Me.style.webkitTransform="none")}function z(Me,Ce,Be,He,Fe,de){var Ke=null;if(de!=null&&de!="")for(var be=Me.parentNode;be!=null;)if((" "+be.className+" ").indexOf(" "+de+" ")>-1){Ke=be;break}else be=be.parentNode;var vt=0,et=0,$e=0,ze=0,je=0,at=0,Nt=0;if(Ke)vt=Ke.offsetWidth,et=Math.max(He?Ke.offsetWidth:0,Ke.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(vt=Math.min(window.innerWidth,document.documentElement.clientWidth),et=Math.min(window.innerHeight,document.documentElement.clientHeight),$e=vt):(vt=window.innerWidth,et=window.innerHeight,$e=window.innerWidth),Me){var jt=Me.getBoundingClientRect();jt.left>0&&jt.left<=vt&&(Fe===void 0||!Fe)&&(document.dir==="rtl"?(je=vt-jt.width-jt.left,at=$e<=480?10:30):(at=jt.left,je=$e<=480?10:30),ze=at+je)}if(Me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var se=Me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ze=40,Nt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ze=0,Nt=40)}}return Me&&((Be===void 0||!Be)&&Ce>0&&Ce+ze<vt?vt=Ce:vt-=ze,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Be===void 0||!Be)&&(et-=Nt)),{width:vt,height:et}}function b(Me,Ce,Be,He,Fe){if(Me.isScreenshoGenerator)return 1;var de=He!==void 0&&He,Ke=Me.noScaleMargin!=null&&Me.noScaleMargin,be=function(se){return se&&se!=="false"},vt=be(Me.autoHeight),et=z(Ce,Me.width,Be,vt,de&&window.GGBT_wsf_view||Ke,Fe),$e=parseInt(et.width),ze=Me.width,je=Me.height;if(ze===void 0){var at=Ce.querySelector(".appletParameters");at&&(ze=at.offsetWidth,je=at.offsetHeight)}var Nt=$e/ze,jt=de?1:et.height/je;return Be!==void 0&&!Be&&(Nt=Math.min(1,Nt),jt=Math.min(1,jt)),Math.min(Nt,jt)}function xe(Me,Ce,Be){var He=1,Fe,de=!1;if(Me.hasOwnProperty("allowUpscale")&&(de=Me.allowUpscale),Me.hasOwnProperty("scale")&&(He=parseFloat(Me.scale),(isNaN(He)||He===null||He===0)&&(He=1),He>1&&(de=!0)),Ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de=!0),!(Me.hasOwnProperty("disableAutoScale")&&Me.disableAutoScale))Fe=b(Me,Ce,de,Be,Me.scaleContainerClass);else return He;return de&&(!Me.hasOwnProperty("scale")||He===1)?Fe:Math.min(He,Fe)}function ce(Me){var Ce=Math.min(window.innerWidth,document.documentElement.clientWidth),Be=Math.min(window.innerHeight,document.documentElement.clientHeight),He=Me.getBoundingClientRect(),Fe=(Ce-He.width)/2,de=(Be-He.height)/2;de<0&&(de=0),Me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Fe<40?Me.style.left="40px":Me.style.left=Fe+"px",Me.style.top=de+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(de<40?Me.style.top="40px":Me.style.top=de+"px",Me.style.left=Fe+"px")}function nt(Me,Ce){var Be=Me.querySelector(".appletParameters");if(Be){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ce.id!==Be.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}if(Be.parentElement&&/fullscreen/.test(Be.parentElement.className))return;var He=xe(Ce,Me);Yn()&&Be.setAttribute("data-param-scale",He);for(var Fe=null,de=0;de<Me.childNodes.length;de++)if(Me.childNodes[de].className!==void 0&&Me.childNodes[de].className.match(/^applet_scaler/)){Fe=Me.childNodes[de];break}if(Fe!==null&&Fe.querySelector(".noscale")!==null)return;var Ke=Ce.id!==void 0?Ce.id:"ggbApplet",be=window[Ke];(be==null||!be.recalculateEnvironments)&&Fe!==null&&!Fe.className.match(/fullscreen/)&&(Fe.parentNode.style.transform="",!isNaN(He)&&He!==1?(Fe.parentNode.style.width=Ce.width*He+"px",Fe.parentNode.style.height=Ce.height*He+"px",dn(Fe,He)):(dn(Fe,1),Fe.parentNode.style.width=Ce.width+"px",Fe.parentNode.style.height=Ce.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&ce(Me),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Be).parents(".content-added-content"))}}return{responsiveResize:nt,isFlexibleWorksheetEditor:Yn,positionCenter:ce,getScale:xe,scaleElement:dn}}();__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 Yn=n.location.search;return Yn.indexOf(J)!=-1||Yn.indexOf(K)!=-1}function q(Yn,dn){}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(Yn){var dn=s[L].bindings;s[L].bindings=function(){for(var z=dn?dn():{},b=Yn[webModule.__softPermutationId],xe=O;xe<b.length;xe++){var ce=b[xe];z[ce[O]]=ce[P]}return z}};var t;function u(){return v(),t}function v(){if(!t){var Yn=o.createElement(Q);if(Yn.id=L,Yn.style.cssText=R+S,Yn.tabIndex=-1,o.body.appendChild(Yn),t=Yn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var dn=document.compatMode==U?V:W;t.write(dn+X),t.close()}}}function w(Yn){function dn(b){function xe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var ce=xe();if(ce){b();return}function nt(){if(!ce){if(!xe())return;ce=!0,b(),o.removeEventListener&&o.removeEventListener(Z,nt,!1),Me&&clearInterval(Me)}}o.addEventListener&&o.addEventListener(Z,nt,!1);var Me=setInterval(function(){nt()},$)}function z(b){var xe=u(),ce=xe.body,nt=xe.createElement(_);nt.language=ab,nt.crossOrigin=W,nt.src=b,webModule.__errFn&&(nt.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),ce.appendChild(nt)}dn(function(){z(Yn)})}webModule.__startLoadingFragment=function(Yn){return C(Yn)},webModule.__installRunAsyncCode=function(Yn){var dn=u(),z=dn.body,b=dn.createElement(_);b.language=ab,b.text=Yn,z.appendChild(b),z.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Yn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Yn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Yn){var dn=c[Yn];return dn==null?null:dn},r=d,webModule.__errFn=e}function B(){function Yn(Me){var Ce=Me.lastIndexOf(rb);Ce==-1&&(Ce=Me.length);var Be=Me.indexOf(sb);Be==-1&&(Be=Me.length);var He=Me.lastIndexOf(tb,Math.min(Be,Ce));return He>=O?Me.substring(O,He+P):W}function dn(Me){if(!Me.match(/^\w+:\/\//)){var Ce=o.createElement(ub);Ce.src=Me+vb,Me=Yn(Ce.src)}return Me}function z(){var Me=__gwt_getMetaProperty(wb);return Me!=null?Me:W}function b(){for(var Me=o.getElementsByTagName(_),Ce=O;Ce<Me.length;++Ce)if(Me[Ce].src.indexOf(xb)!=-1)return Yn(Me[Ce].src);return W}function xe(){var Me=o.getElementsByTagName(yb);return Me.length>O?Me[Me.length-P].href:W}function ce(){var Me=o.location;return Me.href==Me.protocol+zb+Me.host+Me.pathname+Me.search+Me.hash}var nt=z();return nt==W&&(nt=b()),nt==W&&(nt=xe()),nt==W&&ce()&&(nt=Yn(o.location.href)),nt=dn(nt),nt}function C(Yn){return Yn.match(/^\//)||Yn.match(/^[a-zA-Z]+:\/\//)?Yn:webModule.__moduleBase+Yn}function D(){var Yn=[],dn=O,z=[],b=[];function xe(Me){var Ce=b[Me](),Be=z[Me];if(Ce in Be)return Ce;var He=[];for(var Fe in Be)He[Be[Fe]]=Fe;throw r&&r(Me,He,Ce),null}if(__gwt_isKnownPropertyValue=function(Me,Ce){return Ce in z[Me]},webModule.__getPropMap=function(){var Me={};for(var Ce in z)z.hasOwnProperty(Ce)&&(Me[Ce]=xe(Ce));return Me},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ce;try{ce=Cb;var nt=ce.indexOf(Db);nt!=-1&&(dn=parseInt(ce.substring(nt+P),$),ce=ce.substring(O,nt))}catch(Me){}return webModule.__softPermutationId=dn,C(ce+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(Yn,dn,z){"use strict";z.d(dn,{Ax:function(){return nt},Ds:function(){return Me},KI:function(){return Be},SI:function(){return ce},f1:function(){return xe}});var b=z(74128);function xe(He){let Fe=!0;if(He.length>0){for(let de=0;de<He.length;de++)if(He[de].compile_success==0||!He[de].compile_success){Fe=!1;break}}else Fe=!1;return Fe}function ce(He,Fe=""){let de=[];for(let Ke=0;Ke<He.length;Ke++){let be=He[Ke],vt=Fe?`${Fe}/${be.name}`:`${be.name}`;de.push({title:be.name,type:be.type,isLeaf:be.type!=="tree",key:vt})}return de}function nt(He,Fe,de){for(let Ke=0;Ke<He.length;Ke++){let be=He[Ke];if(be.key===Fe){be.children=de;break}be.children&&nt(be.children,Fe,de)}return He}function Me(He,Fe,de){let Ke;return function(){let be=this,vt=arguments,et=function(){Ke=null,de||He.apply(be,vt)},$e=de&&!Ke;clearTimeout(Ke),Ke=setTimeout(et,Fe),$e&&He.apply(be,vt)}}const Ce=!0,Be=b.Z.API_SERVER},16750:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return Ke}});var b=z(59301),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ce=z(92310),nt=z.n(ce),Me=z(29787),Ce=z(2859),Be=z(38147),He=z(65862),Fe=(be,vt,et)=>new Promise(($e,ze)=>{var je=jt=>{try{Nt(et.next(jt))}catch(se){ze(se)}},at=jt=>{try{Nt(et.throw(jt))}catch(se){ze(se)}},Nt=jt=>jt.done?$e(jt.value):Promise.resolve(jt.value).then(je,at);Nt((et=et.apply(be,vt)).next())}),Ke=({data:be,className:vt,fullWidth:et,style:$e={},onClose:ze,onOk:je,showFullTools:at,noAssociationId:Nt})=>{const jt=(0,b.useRef)(null),se=(0,b.useRef)(null),Oe=(0,b.useRef)(null),dt=(0,b.useRef)(null),[ht,Rt]=(0,b.useState)(!1),[_e,lt]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(Oe.current||(Oe.current=document.createElement("style"),document.head.appendChild(Oe.current)),be!=null&&be.visible?(document.body.setAttribute("data-custom","y-hidden"),Oe.current.innerHTML=" html { overflow-y: hidden; }",be!=null&&be.src&&ut()):(document.body.removeAttribute("data-custom"),Oe.current&&(document.head.removeChild(Oe.current),Oe.current=null)),()=>{document.body.removeAttribute("data-custom"),Oe.current&&(document.head.removeChild(Oe.current),Oe.current=null)}),[be==null?void 0:be.visible]);const ut=()=>Fe(void 0,null,function*(){Rt(!0),lt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const me=yield(0,He.ZJ)(be==null?void 0:be.src);jt.current.src="",jt.current.src=me,jt.current.onload=function(){we()},Rt(!1),lt("")}),Pe=me=>Fe(void 0,null,function*(){Rt(!0),lt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ot=yield(0,Be.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:be.title,file:me.dataUrl}});Ot!=null&&Ot.id&&!Nt?(yield(0,Be.ZP)(`/api/attachments/${be.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ot==null?void 0:Ot.id,settings:JSON.stringify(me.state)}})).status===0&&je():Ot!=null&&Ot.id&&je(Ot),Rt(!1),lt("")}),Te=()=>{const me=document.querySelector('a[href="https://markerjs.com/"]');me&&me.parentNode&&(me.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(We=>{const Xe=document.querySelector(We.name);Xe&&Xe.setAttribute("title",We.title)})},we=()=>{se.current=new Ce.hP(jt.current),se.current.targetRoot=dt.current,se.current.addEventListener("render",Pe),se.current.addEventListener("beforeclose",ze),at&&(se.current.availableMarkerTypes=se.current.ALL_MARKER_TYPES,se.current.uiStyleSettings.redoButtonVisible=!0,se.current.uiStyleSettings.notesButtonVisible=!0,se.current.uiStyleSettings.zoomButtonVisible=!0,se.current.uiStyleSettings.zoomOutButtonVisible=!0,se.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=se.current.uiStyleSettings,se.current.show(),be!=null&&be.snapshotData&&se.current.restoreState(be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Te()},300)};return b.createElement(b.Fragment,null,(be==null?void 0:be.visible)&&b.createElement(Me.Z,{spinning:ht,tip:_e,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:dt,className:nt()(xe.imageDimensions,vt,et?xe.fullWidth:""),style:$e},b.createElement("img",{className:xe.img,ref:jt}))))}},99298:function(Yn,dn,z){"use strict";var b=z(59301),xe=z(77019),ce=z(5269),nt=z(31691),Me=z(7939),Ce=z(95097),Be=z(96408),He=z(48136),Fe=z(59301);const de=(0,b.forwardRef)(({callback:Ke,showSaveButton:be,value:vt=""},et)=>{const $e=(0,b.useRef)(),ze=[{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 "}]}]}],je=[{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}`}]}]}],at=se=>{$e.current.setValue($e.current.getValue()+" "+se.value+" ")},Nt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Fe.createElement(xe.Z,{className:Be.Z.lists,gutter:[10,10]},ze.map((se,Oe)=>Fe.createElement(ce.Z,{flex:"110px",className:Be.Z.item},Fe.createElement("div",null,Fe.createElement(Ce.Z,{value:`$$${se.value}$$`}),se.name),Fe.createElement("div",{className:Be.Z.children},se.children.map((dt,ht)=>Fe.createElement("div",{key:ht},Fe.createElement("h1",null,dt.name),Fe.createElement(xe.Z,{gutter:[10,10]},dt.data.map((Rt,_e)=>Fe.createElement(ce.Z,{key:_e,onClick:()=>at(Rt),className:Be.Z.diamond},Fe.createElement(Ce.Z,{value:"`$$"+Rt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Fe.createElement(xe.Z,{className:Be.Z.lists,gutter:[10,10]},je.map((se,Oe)=>Fe.createElement(ce.Z,{flex:"110px",className:Be.Z.item},Fe.createElement("div",null,Fe.createElement(Ce.Z,{value:"`$$"+se.value+"$$`"}),se.name),Fe.createElement("div",{className:Be.Z.children},se.children.map((dt,ht)=>Fe.createElement("div",{key:ht},dt.name&&Fe.createElement("h1",null,dt.name),Fe.createElement(xe.Z,{gutter:[10,10]},dt.data.map((Rt,_e)=>Fe.createElement(ce.Z,{key:_e,onClick:()=>at(Rt),className:Be.Z.diamond},Fe.createElement(Ce.Z,{value:"`$$"+Rt.value+"$$`"}))))))))))}],jt=()=>{var se=document.createElement("div");se.innerHTML=$e.current.getValue();var Oe=se.innerText;return Ke&&Ke(Oe),Oe};return(0,b.useImperativeHandle)(et,()=>({getData:jt})),Fe.createElement("div",{className:Be.Z.mathWrap},Fe.createElement(nt.default,{defaultActiveKey:"1",items:Nt}),Fe.createElement("math-field",{locale:"zh_cn",className:Be.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:$e,style:{width:800,marginTop:30,fontSize:18}},vt||""),be&&Fe.createElement("div",{className:Be.Z.button},Fe.createElement(Me.ZP,{size:"large",onClick:jt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});dn.Z=de},2524:function(Yn,dn,z){"use strict";var b=z(59301),xe=z(93314),ce=z(7939),nt=Object.defineProperty,Me=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,de=(et,$e,ze)=>$e in et?nt(et,$e,{enumerable:!0,configurable:!0,writable:!0,value:ze}):et[$e]=ze,Ke=(et,$e)=>{for(var ze in $e||($e={}))He.call($e,ze)&&de(et,ze,$e[ze]);if(Be)for(var ze of Be($e))Fe.call($e,ze)&&de(et,ze,$e[ze]);return et},be=(et,$e)=>Me(et,Ce($e));const vt=({img:et,buttonProps:$e={},styles:ze={},customText:je,ButtonText:at,ButtonClick:Nt,Buttonclass:jt,ButtonTwo:se,imgStyles:Oe,loading:dt=!1,className:ht=""})=>b.createElement("section",{className:`tc animated fadeIn ${ht}`,style:Ke({color:"#999",margin:"100px auto",visibility:dt?"hidden":"visible"},ze)},b.createElement("img",{src:et||xe,style:be(Ke({},Oe),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},je||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),at&&b.createElement(ce.ZP,Ke({className:jt,onClick:Nt},$e),at),se&&se);dn.Z=vt},4324:function(Yn,dn,z){"use strict";z.d(dn,{Q:function(){return Ce}});var b=z(59301),xe=z(82326),ce=z(47889),nt=z(4875),Me=z(59301),Ce=(He=>(He[He.Number=1]="Number",He[He.Percent=2]="Percent",He))(Ce||{});const Be=({value:He,onChange:Fe,disabled:de,hidePercentOption:Ke=!1,percentType:be="select"})=>{const vt=(0,b.useMemo)(()=>Ke?1:2,[Ke]),[et,$e]=(0,b.useState)(vt);console.log(et);const ze=at=>He.type===1?`${at}\u5206`:`${at}%`,je=(0,b.useCallback)(at=>{if(et===1){const Nt=at.replace("\u5206","");return isNaN(parseInt(Nt,10))?0:Nt}else return at.replace("%","")},[et]);return(0,b.useEffect)(()=>{$e(He.type)},[He]),Me.createElement("div",{style:{display:"flex",alignItems:"center"}},be=="select"&&Me.createElement(xe.default,{size:"large",onChange:at=>{$e(at),Fe({type:at,inputValue:at===1?5:20})},value:et||vt,style:{width:100},options:Ke?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:de}),be=="radio"&&Me.createElement(ce.ZP.Group,{size:"large",onChange:at=>{const Nt=at.target.value;$e(Nt),Fe({type:Nt,inputValue:Nt===1?5:20})},value:et||vt,disabled:de},!Ke&&Me.createElement(ce.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Me.createElement(ce.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),be=="radio"&&Me.createElement("div",{style:{marginRight:"10px",color:"#000000"}},He.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Me.createElement(nt.Z,{size:"large",disabled:de,value:He.inputValue,style:{width:"120px"},parser:je,addonAfter:He.type===1?"\u5206":"%",max:et===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:at=>{Fe({type:et,inputValue:at})}}),be=="radio"&&He.type==2&&Me.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};dn.Z=Be},52918:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return jt}});var b=z(59301),xe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},ce=z(7939),nt=z(70557),Me=z(50258),Ce=z(25399),Be=z(65862),He=z(87513),Fe=z(2524),de=z(74128),Ke=z(7310),be=z(59301),vt=Object.defineProperty,et=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,je=(se,Oe,dt)=>Oe in se?vt(se,Oe,{enumerable:!0,configurable:!0,writable:!0,value:dt}):se[Oe]=dt,at=(se,Oe)=>{for(var dt in Oe||(Oe={}))$e.call(Oe,dt)&&je(se,dt,Oe[dt]);if(et)for(var dt of et(Oe))ze.call(Oe,dt)&&je(se,dt,Oe[dt]);return se},Nt=(se,Oe,dt)=>new Promise((ht,Rt)=>{var _e=Pe=>{try{ut(dt.next(Pe))}catch(Te){Rt(Te)}},lt=Pe=>{try{ut(dt.throw(Pe))}catch(Te){Rt(Te)}},ut=Pe=>Pe.done?ht(Pe.value):Promise.resolve(Pe.value).then(_e,lt);ut((dt=dt.apply(se,Oe)).next())}),jt=({editOffice:se="view",data:Oe,issaver:dt,onSaver:ht,theme:Rt,type:_e,filename:lt,monacoEditor:ut,className:Pe,style:Te,close:we,onClose:me,hasMask:Ot,disabledDownload:We,onImgDimensions:Xe,showNodata:Xt,recordInfo:Se})=>{const[ve,Mt]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Jt,Zt]=(0,b.useState)(""),[pe,Re]=(0,b.useState)(),Ue=window.ENV==="build"?"/react/build":"",tn=location.host.startsWith("localhost")?de.Z.PROXY_SERVER:de.Z.API_SERVER,Kt=10*(1024*1024),ct=(0,b.useRef)();Oe!=null&&Oe.startsWith("/api")&&_e!=="txt"&&(Oe=de.Z.API_SERVER+Oe);const fn=ae=>ae.substring(ae.lastIndexOf("/")+1).split(".").pop();lt&&ut&&(ut.filename=lt),(0,b.useEffect)(()=>{var ae,he;const re=(he=(ae=document.cookie)==null?void 0:ae.replace(/\s/g,""))==null?void 0:he.split(";");re==null||re.map(ue=>{let De=ue.split("=");De[0]==="_educoder_session"&&Zt(De[1])})},[]),(0,b.useEffect)(()=>{_e==="office"&&(Oe.indexOf("bigfilescdn.")>-1||Oe.indexOf("bigfiles1")>-1?Re({url:Oe,fileType:fn(Oe),model:Oe.indexOf("model=edit")?"edit":"view"}):le())},[_e,Oe]);function xt(ae){return Nt(this,null,function*(){ae.data.type==="pdfdata"&&(ht(ae.data.data),window.removeEventListener("message",xt,!1)),console.log("mess---:",ae.data)})}const le=()=>Nt(void 0,null,function*(){console.log("data:",Oe);let ae=Oe;Oe.startsWith("http")||(ae=location.origin+ae);let he=new URL(ae).pathname.split("/").pop();const re=yield(0,He.gJ)({attachment_id:he});re.url=tn+re.url,Re(re)}),ne=()=>{if(Oe.startsWith("http")||Oe.startsWith("blob:")){te();return}(0,Be.Sv)(lt||"educoder",Oe,lt)},te=()=>{Se&&(0,Ke.fc)({id:Se==null?void 0:Se.id,watch_type:1,course_id:Se==null?void 0:Se.course_id}),(0,Be.Nd)(lt||"educoder",decodeURIComponent(Oe))};return be.createElement("div",{style:at({},Te||{}),className:`${Ot&&xe.bgBlack} ${_e?xe.wrp:"hide"}`},we&&be.createElement("div",{className:xe.close,ref:ct},!!Xe&&be.createElement(Ce.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ct.current},be.createElement("span",{onClick:()=>{me(),Xe()}},be.createElement("i",{className:"icon-yulanpizhu"}))),!We&&be.createElement(Ce.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ct.current},be.createElement("span",{onClick:te},be.createElement("i",{className:"icon-quxiaozhiding"}))),dt&&be.createElement(Ce.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ct.current},be.createElement("span",{className:"",onClick:()=>{const ae=document.getElementById("pdfiframe");window.addEventListener("message",xt,!1),setTimeout(()=>{ae.contentWindow.postMessage("getData","*")},300)}},be.createElement("i",{className:"icon-baocun"}))),be.createElement(Ce.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ct.current},be.createElement("span",{className:"",onClick:()=>{me()}},be.createElement("i",{className:"icon-guanbi1"})))),be.createElement("div",{className:`${xe[Pe]} ${Pe} ${xe.monaco} ${_e==="txt"?"show":"hide"}`},_e==="txt"&&be.createElement(be.Fragment,null,be.createElement(Me.ZP,at({},ut)))),_e==="audio"&&be.createElement("audio",{src:`${(Oe==null?void 0:Oe.indexOf("http://"))>-1||(Oe==null?void 0:Oe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Oe}`,autoPlay:!0}),_e==="video"&&be.createElement(be.Fragment,null,(Oe==null?void 0:Oe.indexOf("http"))>-1?be.createElement("video",{controls:!0,src:`${Oe}`,autoPlay:!0}):be.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Oe}`,autoPlay:!0})),_e==="office"&&pe&&be.createElement("iframe",{src:`${Ue}/office.html?key=${pe.key}&url=${btoa(pe.url)}&callbackUrl=${tn+(pe.callbackUrl||"")}&fileType=${pe.fileType}&title=${pe.title||""}&model=${se}&officeServer=${de.Z.ONLYOFFICE}&disabledDownload=${!!We}`}),_e==="html"&&be.createElement("iframe",{src:Oe+"&disposition=inline"}),_e==="pdf"&&be.createElement("iframe",{id:"pdfiframe",src:`${Ue}/js/pdf/index.html?filename=${lt||"educoder.pdf"}&url=${encodeURIComponent(Oe)}&disabledDownload=${!!We}&model=${se}`}),_e==="image"&&be.createElement("img",{src:`${(Oe==null?void 0:Oe.indexOf("http://"))>-1||(Oe==null?void 0:Oe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Oe}`}),(_e==="other"||_e==="download")&&be.createElement(be.Fragment,null,Xt?be.createElement(Fe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:be.createElement(ce.ZP,{icon:be.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:We},"\u4E0B\u8F7D")}):be.createElement(ce.ZP,{type:"primary",size:"middle",onClick:ne,disabled:We},be.createElement(nt.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),_e==="flowChart"&&be.createElement("div",{className:"embed"},be.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Oe||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},95097:function(Yn,dn,z){"use strict";z.d(dn,{z:function(){return ut},Z:function(){return Pe}});var b=z(59301),xe=z(48850),ce=z(49142),nt=z(64018),Me=z(17030),Ce=z(74128),Be=z(65862),He=z(15342),Fe=z(44104),de=z(7939),Ke=z(1012),be=z(52918),vt=z(59301),$e=({html:Te})=>{const we=(0,b.useRef)(null),me=(0,b.useRef)(null),Ot=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 56px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,b.useEffect)(()=>{const We=we.current.attachShadow({mode:"open"});me.current=document.createElement("div"),me.current.className="markdown-body",me.current.innerHTML=Te,We.appendChild(me.current);const Xe=document.createElement("style");return Xe.textContent=Ot,We.appendChild(Xe),()=>{We.innerHTML=""}},[]),(0,b.useEffect)(()=>{me.current&&(me.current.innerHTML=Te)},[Te]),vt.createElement("div",{ref:we})};function ze(Te){const we=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],me=new RegExp(`\\b(${we.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return Te.replace(me,"").trim()}var je={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},at=Object.defineProperty,Nt=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,Oe=(Te,we,me)=>we in Te?at(Te,we,{enumerable:!0,configurable:!0,writable:!0,value:me}):Te[we]=me,dt=(Te,we)=>{for(var me in we||(we={}))jt.call(we,me)&&Oe(Te,me,we[me]);if(Nt)for(var me of Nt(we))se.call(we,me)&&Oe(Te,me,we[me]);return Te};const ht="@\u2581\u2581@",Rt="@\u2581@",_e=/<pre[^>]*>/g;function lt(Te){let we=document.createElement("div");return we.innerHTML=Te,we.childNodes.length===0?"":we.childNodes[0].nodeValue}const ut=(Te,we)=>{Te=Te||"";const me=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ot=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,We=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Xe=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return we?Te.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(me,(Xt,Se,ve,Mt,Jt,Zt,pe)=>{const Re=Se||Mt||Zt,Ue=ve||Jt||pe||"?";return Ce.Z.API_SERVER+"/api/attachments/"+Re+Ue+"&t="+(0,Be.Jn)(Re,Date.now())+(Xt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Te=Te.replace(Xe,(Xt,Se,ve,Mt,Jt,Zt,pe)=>{const Re=Se||Mt||Zt,Ue=ve||Jt||pe||"?";return Ce.Z.API_SERVER+"/attachments/download/"+Re+Ue+"&t="+(0,Be.Jn)(Re,Date.now())+(Xt.indexOf(")")>-1?")":"&")}).replace(me,(Xt,Se,ve,Mt,Jt,Zt,pe)=>{const Re=Se||Mt||Zt,Ue=ve||Jt||pe||"?";return Ce.Z.API_SERVER+"/api/attachments/"+Re+Ue+"&t="+(0,Be.Jn)(Re,Date.now())+(Xt.indexOf(")")>-1?")":"&")}).replace(Ot,(Xt,Se,ve,Mt,Jt)=>{const Zt=Se||Mt,pe=ve||Jt||"";return'"'+Ce.Z.API_SERVER+"/api/attachments/"+Zt+pe+Zt+pe+"&t="+(0,Be.Jn)(Zt,Date.now())}).replace(We,(Xt,Se,ve,Mt,Jt)=>{const Zt=Se||Mt,pe=ve||Jt||"";return"("+Ce.Z.API_SERVER+"/files/uploads/"+Zt+pe+Zt+pe+"&t="+(0,Be.Jn)(Zt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),Te)};var Pe=({value:Te="",edit:we=!1,className:me,showTextOnly:Ot,showLines:We,style:Xe={},stylesPrev:Xt={},highlightKeywords:Se,showProgramFill:ve,isProgramFill:Mt,disabledFill:Jt=!1,programFillValue:Zt,openEditor:pe=()=>{},onFillChange:Re=rt=>{},onFillBlur:Ue=()=>{},onFillFocus:tn=()=>{}})=>{let rt=ze(String(Te||""));const Kt=(0,b.useRef)(),ct=(0,b.useRef)(),[fn,xt]=(0,b.useState)(""),[le,ne]=(0,b.useState)("office"),[te,ae]=(0,b.useState)([]),he=(0,b.useRef)("a"+(0,Ke.Z)()),re={},ue=Ut=>/<style[\s\S]*?>/i.test(Ut||""),De=(Ut,on,mn)=>{const ft=document.createElement(Ut===Rt?"input":"textarea");ft.style.width="100%",ft.style.height=Ut===Rt?"40px":"151px",ft.rows=5,ft.spellcheck=!1,ft.name="edu-program-fill",ft.placeholder="\u8BF7\u8F93\u5165",ft.dataset.id=on;const Vt=Object.keys(re).length;return re[Vt]=ft,`<span class="edu-program-fill-wrap ${Ut===Rt?"":"show"}" style="width:${Ut===Rt?"600px":"100%"}" title=${mn||""}><span>${ft.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function st(Ut){return Ut=Ut.replace(/!\[.*?\]\(.*?\)/g,""),Ut=Ut.replace(/\[.*?\]\(.*?\)/g,""),Ut=Ut.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Ut=Ut.replace(/<embed.*?>/g,""),Ut=Ut.replace(/<img.*?>/g,""),Ut=Ut.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Ut=Ut.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Ut=Ut.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Ut=Ut.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Ut}const Qe=Ut=>!Ot&&ue(rt)?Ut:Ut.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(on,mn){let ft=mn.replace(/(\n|\r)/g,"").split("}"),Vt=[];return ft.map(yn=>{yn!=""&&Vt.push(`.${he.current} ${yn}`)}),`<style>${Vt.join("}")}</style>`}),Ie=(0,b.useMemo)(()=>{try{const ft=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Vt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,yn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Ct=/\(\/attachments\/download\//g;rt=rt.replace(Ct,"("+Ce.Z.API_SERVER+"/attachments/download/").replace(ft,"("+Ce.Z.API_SERVER+"/api/attachments/").replace(Vt,'"'+Ce.Z.API_SERVER+"/api/attachments/").replace(yn,'"'+Ce.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),Kt.current.style.display="none"}catch(ft){}if(ve){let ft=-1;return rt=rt.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Vt,yn,Ct){var Je;return++ft,De(Vt,ft,(Je=Zt==null?void 0:Zt[ft])==null?void 0:Je.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${Qe(rt||"")}</pre>`}let Ut=Qe(rt);Ut=(0,ce.ZP)(Ut);const on=(0,ce.ez)();rt.match(/\[TOC\]/)&&(Ut=Ut.replace("<p>[TOC]</p>",(0,ce.Qv)()),(0,ce.Iy)()),Ut=Ut.replace(/(__special_katext_id_\d+__)/g,(ft,Vt)=>{const{type:yn,expression:Ct}=on[Vt];return(0,He.renderToString)(lt(Ct)||"",{displayMode:yn==="block",throwOnError:!1,output:"html"})}),Ut=Ut.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,ce.AL)();const mn=document.createElement("div");if(mn.innerHTML=Ut,Ot)return mn.innerText;if(Se){const ft=Se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Le(mn,ft),mn.innerHTML}return setTimeout(()=>Ht(),500),mn.innerHTML},[rt,Se]);(0,b.useEffect)(()=>{Ye.current&&Ye.current.querySelectorAll(["input","textarea"]).forEach(on=>{on.oninput=mt,on.onblur=Et,on.onfocus=Tt})},[te]),(0,b.useEffect)(()=>{var Ut,on,mn,ft,Vt;if(Zt!=null&&Zt.length)try{const yn=Ye.current.querySelectorAll(".edu-program-fill-score"),Ct=Ye.current.querySelectorAll('[name="edu-program-fill"]');for(const[Je,Wt]of Ct.entries())Wt.value=((Ut=Zt==null?void 0:Zt[Je])==null?void 0:Ut.value)||"",((on=Zt==null?void 0:Zt[Je])==null?void 0:on.type)==="warning"?Wt.className="program-fill-warning":((mn=Zt==null?void 0:Zt[Je])==null?void 0:mn.type)==="success"?Wt.className="program-fill-success":Wt.className="";for(const[Je,Wt]of yn.entries())Wt.innerHTML=(ft=Zt==null?void 0:Zt[Je])!=null&&ft.score?`${(Vt=Zt==null?void 0:Zt[Je])==null?void 0:Vt.score}\u5206`:"";ae(Zt)}catch(yn){console.log(yn,"error")}},[Zt]);const mt=Ut=>{te[Ut.target.dataset.id]=te[Ut.target.dataset.id]||{},te[Ut.target.dataset.id].value=Ut.target.value,ae([...te]),Re(te,Ut.target.dataset.id)},Et=Ut=>{te[Ut.target.dataset.id]=te[Ut.target.dataset.id]||{},te[Ut.target.dataset.id].value=Ut.target.value,ae([...te]),Ue(te,Ut.target.dataset.id)},Tt=Ut=>{te[Ut.target.dataset.id]=te[Ut.target.dataset.id]||{},te[Ut.target.dataset.id].value=Ut.target.value,ae([...te]),tn(te,Ut.target.dataset.id)};function Le(Ut,on){return Ut.childNodes.forEach(mn=>{var ft;if(mn.childNodes.length>0)Le(mn,on);else if(mn.nodeName!=="IMG")if(mn.innerHTML)mn.innerHTML=(ft=mn.innerHTML)==null?void 0:ft.replace(new RegExp(on,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Vt=document.createElement("span");Vt.innerHTML=mn.textContent.replace(new RegExp(on,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),mn.replaceWith(Vt)}})}const Ye=(0,b.useRef)();ce.jb.WebkitLineClamp=We,We&&(Xe=dt(dt({},Xe),ce.jb));function vn(Ut){let on=Ut.target;if(on.tagName.toUpperCase()==="A"){let mn=on.getAttribute("href");if(mn.indexOf("office")>-1)Ut.preventDefault(),xt(mn),ne("office");else if(mn.indexOf("application/pdf")>-1)Ut.preventDefault(),xt(mn),ne("pdf");else if(mn.indexOf("text/html")>-1)Ut.preventDefault(),xt(mn),ne("html");else if(mn.startsWith("#")){Ut.preventDefault();let ft=document.getElementById(mn.replace("#",""));ft&&ft.scrollIntoView(!0)}}}const Ht=()=>{var Ut;const on=(Ut=Ye.current)==null?void 0:Ut.querySelectorAll("video");on==null||on.forEach(mn=>{if(mn.oncontextmenu=()=>!1,mn.src.indexOf(".m3u8")>-1&&!mn.canPlayType("application/vnd.apple.mpegurl")){if(Me.ZP.isSupported()){var ft=new Me.ZP;ft.loadSource(mn.src),ft.attachMedia(mn)}}})};(0,b.useEffect)(()=>{if(Ye.current&&Ie&&Ie.match(_e)&&window.PR.prettyPrint(),Ye.current)return Ye.current.addEventListener("click",vn),()=>{var Ut;(Ut=Ye.current)==null||Ut.removeEventListener("click",vn),(0,ce.AL)(),(0,ce.Iy)()}},[Ie,Ye.current,vn]);const Cn=Ut=>{Ut.target.nodeName==="IMG"&&Ut.target.className.indexOf("draw-flowchart")>-1?(Kt.current.style.zIndex=1,Kt.current.style.display="flex",Kt.current.style.width=Ut.target.clientWidth+"px",Kt.current.style.height=Ut.target.clientHeight+"px",Kt.current.style.top=Ut.target.offsetTop+"px",Kt.current.style.left=Ut.target.offsetLeft+"px",Ut.target.id&&(ct.current=Ut.target.id)):Kt.current.style.display="none"},un=()=>{Kt.current.style.display="none"};return(0,b.useEffect)(()=>{var Ut;const on=mn=>{mn.preventDefault(),mn.clipboardData.setData("text",window.getSelection().toString())};return(Ut=Ye.current)==null||Ut.addEventListener("copy",on),()=>{var mn;(mn=Ye.current)==null||mn.removeEventListener("copy",on)}},[Ye.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:un},Ot&&b.createElement("div",{ref:Ye,className:`${je.mdBody} `},Ie),!Ot&&!ue(Ie)&&b.createElement("div",{ref:Ye,style:dt({},Xe),onMouseOver:Cn,className:`${me||""} ${Jt?"disabled-fill":""} markdown-body ${je.mdBody} ${he.current}`,dangerouslySetInnerHTML:{__html:Ie}}),!Ot&&ue(Ie)&&b.createElement($e,{html:Ie}),b.createElement("div",{ref:Kt,className:`${je.button} ${we?"":je.previewFlowChart}`},b.createElement(Fe.Z,null,b.createElement(de.ZP,{onClick:()=>{we?pe(ct.current):(xt(ct.current),ne("flowChart"))}},we?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(be.Z,{close:!0,data:fn,type:fn!=null&&fn.length?le:"",style:dt({},Xt),onClose:()=>xt("")}))}},83028:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(59301),xe={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=z(62957),nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ce=(Fe,de,Ke)=>new Promise((be,vt)=>{var et=je=>{try{ze(Ke.next(je))}catch(at){vt(at)}},$e=je=>{try{ze(Ke.throw(je))}catch(at){vt(at)}},ze=je=>je.done?be(je.value):Promise.resolve(je.value).then(et,$e);ze((Ke=Ke.apply(Fe,de)).next())}),He=({type:Fe,resdata:de,onok:Ke,oktext:be,okloading:vt})=>{const[et,$e]=(0,b.useState)(!1),{can_copy_list:ze,can_copy_num:je,challenge_type:at,course_data_list:Nt,no_copy_list:jt,no_copy_num:se,no_use_list:Oe,no_use_num:dt,repeat_shixun_num:ht,student_count:Rt,total_num:_e,use_num:lt}=de;let ut=je>0||Fe==="exercise";(0,b.useEffect)(()=>{(de==null?void 0:de.student_count)>0&&$e(!0)},[de]),console.log("---11",vt),(0,b.useEffect)(()=>{vt||$e(!1)},[vt]);const Pe=()=>{if(Fe==="exercise"&&at===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Rt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},lt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:xe.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(Fe==="exercise"&&at===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Rt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},lt),"\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",b.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="shixun"&&at===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Rt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="shixun"&&at===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Rt),"\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",b.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="subject"&&at===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Rt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},lt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="subject"&&at===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:xe.orangeColor},Rt)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:xe.orangeColor},lt)," \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",b.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Rt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},lt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:xe.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(Fe==="shixunpush"&&at===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Rt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},lt),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="shixunpush"&&at===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Rt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:xe.orangeColor},lt),"\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",b.createElement("span",{className:xe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Te=()=>{if(Fe==="exercise"||Fe==="subject"||Fe==="exercisepush"||Fe==="shixunpush")return b.createElement("div",{style:{marginTop:20}},se>0&&b.createElement("div",null,b.createElement("span",{className:xe.flex},b.createElement("img",{src:Me,style:{width:14}}),b.createElement("span",{className:xe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:xe.statusbody},Fe==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:xe.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"),(Fe==="subject"||Fe==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ut&&b.createElement("span",{className:xe.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"),Fe==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ut&&b.createElement("span",{className:xe.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"),b.createElement("div",null,jt==null?void 0:jt.map((we,me)=>b.createElement("a",{href:`/shixuns/${we.identifier}/challenges`,target:"_blank"},"\u300A",we==null?void 0:we.name,"\u300B",me+1!==se&&"\u3001"))))),je>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:xe.flex},b.createElement("img",{src:nt,style:{width:14}}),b.createElement("span",{className:xe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:xe.statusbody},Fe==="exercise"&&b.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"),(Fe==="subject"||Fe==="exercisepush")&&b.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"),Fe==="shixunpush"&&b.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"),b.createElement("div",null,ze==null?void 0:ze.map((we,me)=>b.createElement("a",{href:`/shixuns/${we.identifier}/challenges`,target:"_blank"},"\u300A",we==null?void 0:we.name,"\u300B",me+1!==je&&"\u3001"))))));if(Fe==="shixun")return b.createElement("div",{style:{marginTop:20}},je>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 b.createElement(ce.default,{open:et,onCancel:()=>{$e(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ut&&"none"}},zIndex:1003,confirmLoading:vt,okText:ut?be:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ce(void 0,null,function*(){ut?yield Ke([...ze,...Oe]):$e(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Pe(),Te()))}},85533:function(Yn,dn,z){"use strict";z.d(dn,{h:function(){return se}});var b=z(59301),xe=z(82326),ce=z(28284),nt=z(7939),Me=z(89780),Ce=z.n(Me),Be=z(45559),He=z(42313),Fe=Object.defineProperty,de=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,$e=(Oe,dt,ht)=>dt in Oe?Fe(Oe,dt,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Oe[dt]=ht,ze=(Oe,dt)=>{for(var ht in dt||(dt={}))vt.call(dt,ht)&&$e(Oe,ht,dt[ht]);if(be)for(var ht of be(dt))et.call(dt,ht)&&$e(Oe,ht,dt[ht]);return Oe},je=(Oe,dt)=>de(Oe,Ke(dt));const at=xe.default.Option,Nt={labelCol:{span:4},wrapperCol:{span:20}},jt={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"]};dn.Z=({callback:Oe,onCancel:dt})=>{const[ht,Rt]=(0,b.useState)("python");function _e(ut){Rt(jt[ut][1])}function lt(ut){Oe(ut)}return b.createElement(ce.default,je(ze({},Nt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:lt,style:{width:500}}),b.createElement(ce.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(xe.default,{getPopupContainer:ut=>ut.parentNode,onChange:_e},Object.keys(jt).map(ut=>b.createElement(at,{key:ut,value:ut},jt[ut][0])))),b.createElement(ce.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(se,{mode:ht})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(nt.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))};function se({value:Oe,onChange:dt,mode:ht,options:Rt={}}){const _e=(0,b.useRef)(),[lt,ut]=(0,b.useState)();return(0,b.useEffect)(()=>{if(lt){let Pe=function(Te){const we=Te.getValue();dt&&dt(we)};return lt.on("change",Pe),()=>{lt.off("change",Pe)}}},[lt,dt]),(0,b.useEffect)(()=>{lt&&lt.setOption("mode",ht)},[lt,ht]),(0,b.useEffect)(()=>{lt&&(Oe!==lt.getValue()||Oe==="")&&setTimeout(()=>{lt.setValue(Oe||"")},300)},[lt,Oe]),(0,b.useEffect)(()=>{if(_e.current&&!lt){const Pe=Ce().fromTextArea(_e.current,ze({mode:ht,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Rt));ut(Pe)}},[_e.current,lt]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:_e}))}},25374:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return xn}});var b=z(59301),xe=z(65582),ce=z(89780),nt=z.n(ce),Me=z(76374),Ce=z(45559),Be=z(6313),He=z(25717),Fe=z(99498),de=z(25419),Ke=z(67549),be=z(95097),vt=({value:sn="",className:Fn,showTextOnly:St,showLines:Sn,style:Bt={}})=>{const hn=(0,b.useMemo)(()=>"",[sn]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:hn}}))},et=Object.defineProperty,$e=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,jt=(sn,Fn,St)=>Fn in sn?et(sn,Fn,{enumerable:!0,configurable:!0,writable:!0,value:St}):sn[Fn]=St,se=(sn,Fn)=>{for(var St in Fn||(Fn={}))at.call(Fn,St)&&jt(sn,St,Fn[St]);if(je)for(var St of je(Fn))Nt.call(Fn,St)&&jt(sn,St,Fn[St]);return sn},Oe=(sn,Fn)=>$e(sn,ze(Fn));let dt=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ht({onActionCallback:sn,title:Fn,icon:St,actionName:Sn,className:Bt="",children:hn}){function An(){sn(Sn)}return b.createElement("a",{title:Fn,className:Bt,onClick:An},b.createElement("i",{className:`${St}`}),hn)}var Rt=({watch:sn,showNullButton:Fn,showNullProgramButton:St,onActionCallback:Sn,fullScreen:Bt,insertTemp:hn,hidetoolBar:An,extraUse:On})=>{const Ln=[...dt,{title:`${sn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${sn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!An&&Ln.map((nr,Xn)=>b.createElement("li",{key:Xn},nr.actionName?b.createElement(ht,Oe(se({},nr),{onActionCallback:Sn})):b.createElement("span",{className:"v-line"}))),Fn?b.createElement("li",null,b.createElement(ht,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Sn},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,St?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(ht,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Sn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(ht,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Sn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,hn&&b.createElement("li",null,b.createElement(ht,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${hn}`,onActionCallback:Sn},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),On&&b.createElement("li",null,On),b.createElement("li",{className:"btn-full-screen"},b.createElement(ht,{icon:`${Bt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Bt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Sn})))},_e=z(57261),lt=z(28284),ut=z(37568),Pe=z(7939),Te=Object.defineProperty,we=Object.defineProperties,me=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Xt=(sn,Fn,St)=>Fn in sn?Te(sn,Fn,{enumerable:!0,configurable:!0,writable:!0,value:St}):sn[Fn]=St,Se=(sn,Fn)=>{for(var St in Fn||(Fn={}))We.call(Fn,St)&&Xt(sn,St,Fn[St]);if(Ot)for(var St of Ot(Fn))Xe.call(Fn,St)&&Xt(sn,St,Fn[St]);return sn},ve=(sn,Fn)=>we(sn,me(Fn));const Mt={labelCol:{span:4},wrapperCol:{span:20}};var Jt=({callback:sn,onCancel:Fn})=>{function St(Sn){sn(Sn)}return b.createElement(lt.default,ve(Se({},Mt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:St,style:{width:500}}),b.createElement(lt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(ut.default,null)),b.createElement(lt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(ut.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Pe.ZP,{type:"ghost",onClick:Fn},"\u53D6\u6D88")))},Zt=z(85533),pe=z(45053),Re=z(62957),Ue=z(77019),tn=z(16750),rt=z(59301),Kt=({callback:sn,onCancel:Fn})=>{const St=document.createElement("canvas"),Sn=St.getContext("2d");St.width=1e3,St.height=800,Sn.fillStyle="#ffffff",Sn.fillRect(0,0,St.width,St.height);const Bt=St.toDataURL("image/png");return rt.createElement(Re.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},rt.createElement(Ue.Z,{style:{height:"100vh"}},rt.createElement(tn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Bt,visible:!0,title:String(Date.now())},onOk:hn=>{sn({src:hn.url})},onClose:Fn})))},ct=z(36207),fn=z(5269),xt=z(6767),le={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ne=z(59301),ae=(0,b.forwardRef)(({onCancel:sn,editImgId:Fn,callback:St},Sn)=>{let Bt=(0,b.useRef)(),hn=(0,b.useRef)(),An=(0,b.useRef)(),On=(0,b.useRef)(!1);const Ln=(0,b.useRef)(!1);console.log("ref:",Sn);const[nr,Xn]=(0,b.useState)(0),[nn,Pn]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Xn(1)},[]),(0,b.useImperativeHandle)(Sn,()=>({setHeight:Pn})),ne.createElement("div",{ref:Ln,className:"body-overflow-initial"},ne.createElement(ct.Z,{width:"100vw",height:nn,footer:null,closable:!0,placement:"bottom",open:!!nr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${le.drawerWrap}`,onClose:()=>{window.saveDrawData(en=>{St({src:`/api/attachments/${en}`,id:en})})},title:ne.createElement(Ue.Z,{align:"middle"},ne.createElement(fn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ne.createElement(fn.Z,{onClick:()=>{Pn(nn==="60px"?"100vh":"60px")}},ne.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ne.createElement(fn.Z,{onClick:()=>{window.saveDrawData(en=>{if(en===null){xt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}xt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),St({src:`/api/attachments/${en}`,id:en,disabledClose:!0})})}},ne.createElement(Pe.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ne.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Fn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:hn})))}),he=z(74128),re=z(47889),ue=z(4875);const De=re.ZP.Group,st={margin:"0 8px"};var Qe=({callback:sn,onCancel:Fn})=>{function St(Sn){sn(Sn)}return b.createElement(lt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:St},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:st},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:st},"\u884C\u6570"),b.createElement(lt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(ue.Z,null)),b.createElement("span",{style:st},"\u5217\u6570"),b.createElement(lt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(ue.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:st},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(lt.default.Item,{name:"align"},b.createElement(De,null,b.createElement(re.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(re.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(re.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(re.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Pe.ZP,{type:"ghost",onClick:Fn},"\u53D6\u6D88")))},Ie=z(58755),mt=z(93510),Et=z.n(mt),Le=(0,b.forwardRef)(({use3d:sn,width:Fn,height:St,callback:Sn,showSaveButton:Bt},hn)=>{const An=(0,b.useRef)(),On=(0,b.useRef)(),[Ln,nr]=(0,b.useState)(!1),Xn=(0,b.useRef)({id:An,appName:"graphing",width:Fn||1e3,height:St||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{On.current=new(Et())(Xn.current,!0),window.onload=function(){On.current.inject("applet_container")}},[]);const nn=()=>{var Pn=window.ggbApplet.getPNGBase64(1,!0,72);return Sn&&Sn(Pn),Pn};return(0,b.useEffect)(()=>{Xn.current.appName=Ln?"3D":"graphing",On.current.inject("applet_container")},[Ln]),(0,b.useEffect)(()=>{nr(sn)},[sn]),(0,b.useImperativeHandle)(hn,()=>({getImgData:nn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:An}),b.createElement(Ue.Z,{align:"middle"},b.createElement(fn.Z,{flex:1},b.createElement(Ie.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ln,onChange:Pn=>nr(Pn)})),b.createElement(fn.Z,null,b.createElement(Pe.ZP,{size:"large",onClick:nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ye=z(99298);const vn="link",Ht="upload-image",Cn="add-flowchart",un="draw-image",Ut="add-flowchart",on="code-block",mn="add-table",ft="------------",Vt={default:ft,left:`:${ft}`,center:`:${ft}:`,right:`${ft}:`};var yn=z(31103),Ct=z(65862);function Je(){}let Wt=0;const qt=1e4,ln="\u2581",Zn="@\u2581\u2581@",qn="@\u2581@",mr=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,vr=["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 _n(sn){return/^\d+$/.test(sn)?`${sn}px`:sn}const Qt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",En={[Qt+"-B"]:"bold",[Qt+"-I"]:"italic"},pn={[vn]:"\u6DFB\u52A0\u94FE\u63A5",[on]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ht]:"\u6DFB\u52A0\u56FE\u7247",[un]:"\u6DFB\u52A0\u753B\u56FE",[Cn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[mn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var xn=({defaultValue:sn="",onChange:Fn,width:St="100%",height:Sn=400,miniToolbar:Bt=!1,isFocus:hn=!1,watch:An,insertTemp:On,mode:Ln="markdown",id:nr="markdown-editor-id",showResizeBar:Xn=!1,noStorage:nn=!1,showNullButton:Pn=!1,showNullProgramButton:en=!1,hidetoolBar:er=!1,fullScreen:Dt=!1,onBlur:Gt,onCMBeforeChange:Ze,onFullScreen:gt,className:Ve="",disablePaste:yt=!1,disabled:_t=!1,disabledFill:rr=!1,placeholder:ar="",values:pt="",extraUse:bt,onAddBlank:Pt})=>{const[zt,Bn]=(0,b.useState)(null),[Hn,Rn]=(0,b.useState)(sn),[Un,pr]=(0,b.useState)(An),[Ar,Vr]=(0,b.useState)(Dt),[Br,fr]=(0,b.useState)(""),[Pr,kr]=(0,b.useState)(0),[$r,Xr]=(0,b.useState)(Sn),[mi,yr]=(0,b.useState)(!1),[ur,gr]=(0,b.useState)(0),[ni,Kr]=(0,b.useState)(0),wr=(0,b.useRef)(),Rr=(0,b.useRef)(),hi=(0,b.useRef)(),Qr=(0,b.useRef)(),qr=(0,b.useRef)(),ei=(0,b.useRef)(),Ni=(0,xe.useDispatch)();(0,b.useEffect)(()=>{const Dn=window.scrollY||window.pageYOffset;Rn(pt),zt==null||zt.setValue(pt),window.scrollTo(0,Dn)},[pt]),(0,b.useEffect)(()=>{gt==null||gt(Ar)},[Ar]),(0,b.useEffect)(()=>{if(wr.current){let Dn=function(Jn,Cr){var br;if(yt){Cr.preventDefault();return}const Wr=Cr.clipboardData;if(Wr){const Jr=Wr.types.toString(),gi=Wr.items;if(Jr==="Files"||Wr.types.indexOf("Files")>-1){if(Cr.preventDefault(),Ln=="stex")return;try{let oi=gi[1];((br=gi[0])==null?void 0:br.kind)==="file"&&(oi=gi[0]);const Pi=oi.getAsFile(),ci=Pi.name.split(".").pop();(0,pe.I)(Pi,di=>{var yi,Ii,no;di.id?((yi=Pi==null?void 0:Pi.type)==null?void 0:yi.indexOf("image"))>-1?jn.replaceSelection(`<img width="100%" src="/api/attachments/${di.id}?type=${di.content_type})" alt="" />`):((Ii=Pi==null?void 0:Pi.type)==null?void 0:Ii.indexOf("video"))>-1?jn.replaceSelection(`<video width="100%" controls src="/api/attachments/${di.id}"></video>`):((no=Pi==null?void 0:Pi.type)==null?void 0:no.indexOf("pdf"))>-1?jn.replaceSelection(`<a href="/api/attachments/${di.id}?type=${Pi.type}&disposition=inline" target="_blank">${Pi.name}</a>`):vr.includes(ci)?jn.replaceSelection(`<a href="/api/attachments/${di.id}?type=office&disposition=inline" target="_blank">${Pi.name}</a>`):jn.replaceSelection(`[${Pi.name}](/api/attachments/${di.id}?type=${di.content_type})`):(di==null?void 0:di.status)===401&&(document.location.href="/user/login")})}catch(oi){xt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jn=nt().fromTextArea(wr.current,{mode:Ln,lineNumbers:!Bt,lineWrapping:!0,value:sn,autoCloseTags:!0,autoCloseBrackets:!0});return jn.on("keyup",function(Jn,Cr){Cr.keyCode===8&&(Jn.getValue()==""?jn.setOption("placeholder",ar):jn.setOption("placeholder",null))}),jn.on("keydown",function(Jn,Cr){if(Cr.keyCode===8){var br=_i(Jn);br&&Cr.preventDefault()}}),hn&&jn.focus(),jn.on("paste",Dn),_t&&jn.on("beforeChange",function(Jn,Cr){(Cr.origin==="paste"||Cr.origin==="+input")&&Cr.cancel()}),Bn(jn),()=>{jn.off("paste",Dn)}}},[]);const $i=(0,b.useCallback)(()=>{if(Rr.current)try{}catch(Dn){console.log(Dn,"---- to set md editor body height")}},[$r,Rr,Ar]);(0,b.useEffect)(()=>{function Dn(){let jn=new Me.Z(Jn=>{for(let Cr of Jn)(Cr.target.offsetHeight>0||Cr.target.offsetWidth>0)&&($i(),zt.setSize("100%","100%"),zt.refresh())});return jn.observe(wr.current.parentElement),jn}if(zt){const jn=Dn();return()=>{var Jn,Cr;(Jn=wr.current)!=null&&Jn.parentElement&&jn.unobserve((Cr=wr.current)==null?void 0:Cr.parentElement)}}},[zt,$i]),(0,b.useEffect)(()=>{if(zt){let Dn=[];for(const[jn,Jn]of Object.entries(En)){let Cr={[jn]:()=>{ki(Jn)}};Dn.push(Cr),zt.addKeyMap(Cr)}return()=>{for(let jn of Dn)zt.removeKeyMap(jn)}}},[zt]),(0,b.useEffect)(()=>{Dt!==Ar&&Vr(Dt)},[Dt]),(0,yn.Z)(()=>{if(!nn&&Pr>0){let Dn=new Date().getTime(),jn=window.sessionStorage.getItem(nr);Dn>=Pr+qt&&(!jn||jn!==Hn)&&(window.sessionStorage.setItem(nr,Hn),yr(!0))}},qt),(0,b.useEffect)(()=>{pr(An)},[zt,An]),(0,b.useEffect)(()=>{zt&&hn&&zt.focus()},[zt,hn]),(0,b.useEffect)(()=>{if(Un&&zt){let Dn=function(Jn){let Cr=Jn.target;if(Qr.current){let br=Cr.scrollTop/Cr.scrollHeight;Qr.current.scrollTop=Qr.current.scrollHeight*br}};const jn=zt.getScrollerElement();return jn.addEventListener("scroll",Dn),()=>{jn.removeEventListener("scroll",Dn)}}},[zt,Un]),(0,b.useEffect)(()=>{if(zt&&Ze){let Dn=function(jn,Jn){Ze(jn,Jn)};return zt.on("beforeChange",Dn),()=>{zt.off("beforeChange",Dn)}}},[zt,Ze]),(0,b.useEffect)(()=>{if(zt&&Gt){let Dn=function(){Gt(zt.getValue())};return zt.on("blur",Dn),()=>{zt.off("blur",Dn)}}},[zt,Gt]);function _i(Dn,jn){var Jn=Dn.getDoc(),Cr=Jn.getCursor(),br=Jn.getLine(Cr.line),Wr=br.charAt(Cr.ch-1),Jr=br.lastIndexOf("@\u2581@",Cr.ch),gi=br.lastIndexOf("@\u2581\u2581@",Cr.ch),oi=Jr>gi?Jr:gi,Pi=Jr>gi?3:4;if(Zn.indexOf(Wr)===-1)return null;if(console.log("change1:",jn,Dn,br,Cr,oi,Jr,gi,Wr),oi>=0&&Cr.ch-oi<5){var ci=oi+Pi;return Jn.replaceRange("",{line:Cr.line,ch:oi},{line:Cr.line,ch:ci}),{line:Cr.line,ch:ci}}return null}(0,b.useEffect)(()=>{if(zt){let Dn=function(jn,Jn){const Cr=jn.getValue();Rn(Cr),kr(new Date().getTime()),jn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Fn&&(en?Fn(Cr,it(Cr)):Fn(Cr))};return zt.on("change",Dn),()=>{zt.off("change",Dn)}}},[zt,Fn]),(0,b.useEffect)(()=>{if(zt)if(sn==null)zt.setValue(""),Rn("");else{const Dn=window.scrollY||window.pageYOffset;sn!==zt.getValue()&&(zt.setValue(sn),Rn(sn),zt.setCursor(_t?1:zt.lineCount(),0),window.scrollTo(0,Dn))}},[zt,sn]);const ki=(0,b.useCallback)(Dn=>{const jn=zt.getCursor(),Jn=zt.getSelection();let Cr=Jn.split(`
`);switch(Dn){case"bold":return zt.replaceSelection("**"+Jn+"**"),Jn===""&&zt.setCursor(jn.line,jn.ch+2),zt.focus();case"italic":return zt.replaceSelection("*"+Jn+"*"),Jn===""&&zt.setCursor(jn.line,jn.ch+1),zt.focus();case"code":return zt.replaceSelection("`"+Jn+"`"),Jn===""&&zt.setCursor(jn.line,jn.ch+1),zt.focus();case"inline-latex":return(0,Ct.Ye)(Ni)?void 0:(fr("inline-latex"),zt.focus());case"latex":return zt.replaceSelection("```latex\n"+Jn+"\n```"),zt.setCursor(jn.line+1,Jn.length+1),zt.focus();case"line-break":return zt.replaceSelection(`<br/>
`),zt.focus();case"list-ul":return Jn===""?zt.replaceSelection("- "+Jn):zt.replaceSelection(Cr.map(br=>br===""?"":`- ${br}`).join(`
`)),zt.focus();case"list-ol":return Jn===""?zt.replaceSelection("1. "+Jn):zt.replaceSelection(Cr.map((br,Wr)=>br===""?"":`${Wr+1}. ${br}`).join(`
`)),zt.focus();case"add-null-ch":Pt==null||Pt();return;case"add-signal":return Jn===""&&zt.setCursor(jn.line,jn.ch),zt.replaceSelection(qn),zt.focus();case"add-multiple":return Jn===""&&zt.setCursor(jn.line,jn.ch),zt.replaceSelection(Zn),zt.focus();case"inster-template-1":return Jn===""&&zt.setCursor(jn.line,jn.ch),zt.replaceSelection(mr),zt.focus();case"eraser":return zt.setValue(""),zt.focus();case"trigger-watch":return pr(!Un),zt.focus();case"trigger-full-screen":return Vr(!Ar),zt.focus();case vn:fr(vn);return;case on:fr(on);return;case Ht:fr(Ht);return;case un:fr(un);return;case"maths-latex":if((0,Ct.Ye)(Ni))return;fr("maths-latex");return;case Cn:qr.current="",sessionStorage.removeItem("file_id"),fr(Cn);return;case mn:fr(mn);return;default:throw new Error}},[zt,Un,Ar]),io=(0,b.useCallback)((Dn,jn)=>{var Jn,Cr,br,Wr,Jr,gi;Dn!=null&&Dn.disabledClose||fr("");const{src:oi,alt:Pi,id:ci}=Dn||{};switch(Br){case vn:const{title:So,link:bo}=Dn;return zt.replaceSelection(`[${So}](${bo})`),zt.focus();case on:const{language:Ko,content:Hi}=Dn;return zt.replaceSelection(["```"+Ko,Hi,"```"].join(`
`)),zt.focus();case"maths-latex":for(var di=atob(Dn),yi=new Uint8Array(di.length),Ii=0;Ii<di.length;Ii++)yi[Ii]=di.charCodeAt(Ii);var no=new Blob([yi],{type:"image/png"});(0,pe.I)(no,Ta=>{Ta.id?zt.replaceSelection(`![,](/api/attachments/${Ta.id}?type=${Ta.content_type})`):(Ta==null?void 0:Ta.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,Ct.Ye)(Ni))return;zt.replaceSelection("`$$"+Dn+"$$`");break;case Ut:if(!ci)return;zt.getValue().indexOf(oi)===-1?zt.replaceSelection(`<center><img id="${ci}" width="80%" src="${oi}" class="draw-flowchart" alt="${Pi||""}" /></center>`):document.getElementById(ci).src=he.Z.API_SERVER+oi+"?t="+Date.now();break;case Ht:case un:const Oi=jn,Wo=(br=(Cr=(Jn=Oi==null?void 0:Oi.name)==null?void 0:Jn.split("."))==null?void 0:Cr.pop)==null?void 0:br.call(Cr);return((Wr=Oi==null?void 0:Oi.type)==null?void 0:Wr.indexOf("image"))>-1||!(Oi!=null&&Oi.type)?Oi!=null&&Oi.align||Oi!=null&&Oi.width?zt.replaceSelection(`<p style="text-align:${Oi.align||"initial"}"><img width="${Oi.width?Oi.width+"%":"initial"}" src="${oi}" alt="${Pi||""}" /></p>`):zt.replaceSelection(`<img width="100%" src="${oi}" alt="${Pi||""}" />`):((Jr=Oi==null?void 0:Oi.type)==null?void 0:Jr.indexOf("video"))>-1?zt.replaceSelection(`<video width="100%" controls src="${oi}"></video>`):((gi=Oi==null?void 0:Oi.type)==null?void 0:gi.indexOf("pdf"))>-1?zt.replaceSelection(`<a href="${oi}?type=${Oi.type}&disposition=inline" target="_blank">${Oi.name}</a>`):vr.includes(Wo)?zt.replaceSelection(`<a href="${oi}?type=office&disposition=inline" target="_blank">${Oi.name}</a>`):zt.replaceSelection(`[${Oi.name}](${oi})`),zt.focus();case mn:const{row:zo,col:Xo,align:Wa}=Dn;let Pa=`
`;for(let Ta=0;Ta<zo;Ta++){let Ba=[],Uo=[];for(let Fa=0;Fa<Xo;Fa++)Ta===1&&Uo.push(Vt[Wa]),Ba.push(" ");Ta===1&&(Pa+=`| ${Uo.join(" | ")} |
`),Pa+=`| ${Ba.join(Xo===1?"":" | ")} |
`}return zt.replaceSelection(Pa+`
`),zt.focus();default:throw new Error}},[zt,Br]),ke=(0,b.useMemo)(()=>{switch(Br){case vn:return b.createElement(Jt,{callback:io,onCancel:tt});case on:return b.createElement(Zt.Z,{callback:io,onCancel:tt});case Ht:return b.createElement(pe.Z,{callback:io,onCancel:tt});case Cn:return b.createElement(ae,{editImgId:qr.current,callback:io,onCancel:tt});case mn:return b.createElement(Qe,{callback:io,onCancel:tt});case"maths-latex":return b.createElement(Le,{showSaveButton:!0,callback:io});case"inline-latex":return b.createElement(Ye.Z,{showSaveButton:!0,callback:io});default:return null}},[Br]);function tt(){fr("")}(0,b.useEffect)(()=>{if(hi.current){let Dn=function(Jr){br=!0,Wr=Jr.pageY},jn=function(){br=!1},Jn=function(Jr){if(br){let gi=Jr.pageY-Wr;gi<0&&(gi=0),gi>300&&(gi=300);let oi=Sn+gi+"px";Xr(oi)}},Cr=hi.current,br=!1,Wr=0;return Cr.addEventListener("mousedown",Dn),document.addEventListener("mousemove",Jn),document.addEventListener("mouseup",jn),()=>{Cr.removeEventListener("mousedown",Dn),document.removeEventListener("mousemove",Jn),document.removeEventListener("mouseup",jn)}}},[zt,hi]),(0,b.useEffect)(()=>{Xr(Sn)},[Sn]);const Ft=_n(St),an=_n($r),cn={width:Ft,height:an},Lt=(0,b.useMemo)(()=>{if(Pr){let Dn=new Date(Pr),jn=Dn.getHours(),Jn=Dn.getMinutes(),Cr=Dn.getSeconds();return jn=jn<10?"0"+jn:jn,Jn=Jn<10?"0"+Jn:Jn,Cr=Cr<10?"0"+Cr:Cr,`${jn}:${Jn}:${Cr}`}return 0},[Pr]),it=Dn=>{const jn=[];if(en){let Jn=-1;Dn=Dn.replace(/(@▁▁@|@▁@)/g,function(Cr,br,Wr){jn.push({multiLine:Cr!==qn})})}return jn};function It(){window.sessionStorage.removeItem(nr),yr(!1),kr(0)}function $t(){yr(!1),kr(0),zt.setValue(window.sessionStorage.getItem(nr))}(0,b.useEffect)(()=>{pn[Br]&&Br!==un&&Br!==Cn&&setTimeout(()=>{const Dn=document.getElementsByClassName("markdown-popup-form")[0],jn=window.innerWidth/2-Dn.offsetWidth/2,Jn=window.innerHeight/2-Dn.offsetHeight/2;gr(jn),Kr(Jn)},0)},[Br]);const Nn=Dn=>{Dn.preventDefault();const jn=Dn.clientX-ur,Jn=Dn.clientY-ni;document.body.onmousemove=Cr=>{let br=Cr.clientX-jn,Wr=Cr.clientY-Jn;const Jr=document.getElementsByClassName("markdown-popup-form")[0],gi=window.innerWidth-Jr.offsetWidth,oi=window.innerHeight-Jr.offsetHeight;br=Math.max(0,Math.min(br,gi)),Wr=Math.max(0,Math.min(Wr,oi)),zn(Cr.clientX,Cr.clientY,jn,Jn)&&(gr(br),Kr(Wr))},document.body.onmouseup=function(){document.body.onmousemove=null}},zn=(Dn,jn,Jn,Cr)=>{const br=document.body.clientHeight,Wr=document.body.clientWidth;return Dn<20&&Jn>Dn||Dn>Wr-20&&Jn<Dn||jn<20&&Cr>jn||jn>br-20&&Cr<jn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:Rr},b.createElement("div",{className:`markdown-editor-container ${Ve} ${Un?"on-preview":""} ${Bt?"mini":""} ${Ar?"full-screen":""}`,style:cn},b.createElement(Rt,{insertTemp:On,watch:Un,fullScreen:Ar,showNullButton:Pn,showNullProgramButton:en,onActionCallback:ki,hidetoolBar:er,extraUse:bt}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:wr,placeholder:ar})),Un?b.createElement("div",{ref:Qr,className:"preview-container"},Ln==="stex"&&b.createElement(vt,{value:Hn}),Ln!=="stex"&&b.createElement(be.Z,{edit:!0,disabledFill:rr,showProgramFill:en,value:Hn,openEditor:Dn=>{var jn;qr.current=Dn,(jn=ei.current)==null||jn.setHeight("100vh"),setTimeout(()=>{fr("add-flowchart")},150)}})):null))),Xn?b.createElement("a",{ref:hi,className:"editor-resize"}):null,Br===un&&b.createElement(Kt,{callback:io,onCancel:tt}),Br===Cn&&b.createElement(ae,{ref:ei,editImgId:qr.current,callback:io,onCancel:tt}),b.createElement(_e.Z,null,pn[Br]&&Br!==un&&Br!==Cn?b.createElement(Re.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ur,top:ni},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Nn},pn[Br]),open:!0,onCancel:tt,footer:null,destroyOnClose:!0,width:Br===Cn?"1200px":null,height:Br===Cn?"80vh":null,className:"markdown-popup-form"},ke):null))}},45053:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return dt},I:function(){return Rt}});var b=z(28284),xe=z(6767),ce=z(37568),nt=z(44104),Me=z(4875),Ce=z(47889),Be=z(7939),He=z(28735),Fe=z(59301),de=z(59301),Ke=Object.defineProperty,be=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,je=(_e,lt,ut)=>lt in _e?Ke(_e,lt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):_e[lt]=ut,at=(_e,lt)=>{for(var ut in lt||(lt={}))$e.call(lt,ut)&&je(_e,ut,lt[ut]);if(et)for(var ut of et(lt))ze.call(lt,ut)&&je(_e,ut,lt[ut]);return _e},Nt=(_e,lt)=>be(_e,vt(lt));const{useForm:jt}=b.default,se={width:280,marginRight:10},Oe={labelCol:{span:5},wrapperCol:{span:19}};var dt=({callback:_e,onCancel:lt})=>{const[ut]=jt();let Pe=(0,Fe.useRef)();function Te(Ot){Pe.current.width=ut.getFieldValue("width"),Pe.current.align=ut.getFieldValue("align"),_e(Ot,Pe.current)}function we(Ot,We){if(Ot.status===-1){xe.ZP.error(Ot.message);return}ut.setFieldsValue({src:`/api/attachments/${Ot.id}`,type:We.type})}function me(Ot){let We=Ot.target.files[0];Pe.current=We,Rt(We,we)}return de.createElement(b.default,Nt(at({form:ut},Oe),{className:"upload-image-panel",onFinish:Te,style:{width:470,overflow:"hidden"}}),de.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},de.createElement("div",{className:"flex-container"},de.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},de.createElement(ce.default,{style:se})),de.createElement(ht,{onFileChange:me}))),de.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},de.createElement(ce.default,{style:{width:264}})),de.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},de.createElement(nt.Z,null,de.createElement(b.default.Item,{name:"width",style:{margin:0}},de.createElement(Me.Z,{style:{width:264}})),de.createElement("span",{className:"ml8"},"%"))),de.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},de.createElement(Ce.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"}]})),de.createElement("aside",null,de.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},de.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),de.createElement(Be.ZP,{type:"default",onClick:lt},"\u53D6\u6D88"))))};function ht({onFileChange:_e}){return de.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",de.createElement("input",{type:"file",onChange:_e}))}function Rt(_e,lt){if(!_e)throw new String("\u6CA1\u6709\u6587\u4EF6");let ut=new FormData;ut.append("editormd-image-file",_e),ut.append("file_param_name","editormd-image-file"),ut.append("byxhr","true");var Pe=new window.XMLHttpRequest;Pe.withCredentials=!0,Pe.addEventListener("load",function(Te){lt(JSON.parse(Te.target.responseText),_e)},!1),Pe.addEventListener("error",function(Te){console.error(Te)},!1),Pe.open("POST",`${He.KI}/api/attachments.json`),Pe.send(ut)}},57261:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return ce}});var b=z(59301),xe=z(4676);class ce extends b.Component{constructor(Me){super(Me);const Ce=window.document;this.node=Ce.createElement("div"),Ce.body.appendChild(this.node)}render(){const{children:Me}=this.props;return(0,xe.createPortal)(Me,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},50258:function(Yn,dn,z){"use strict";z.d(dn,{SV:function(){return Kt},ZP:function(){return rt}});var b=z(59301),xe=z(76374);const ce={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},nt={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},Me={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std",content:["using namespace std"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},Ce={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},Be={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var He=z(53184),Fe=z.n(He),de=(ct,fn,xt)=>new Promise((le,ne)=>{var te=re=>{try{he(xt.next(re))}catch(ue){ne(ue)}},ae=re=>{try{he(xt.throw(re))}catch(ue){ne(ue)}},he=re=>re.done?le(re.value):Promise.resolve(re.value).then(te,ae);he((xt=xt.apply(ct,fn)).next())});const Ke={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},be=(ct,fn,xt,le)=>{const ne=fn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:xt.lineNumber,endColumn:xt.column});return Array.from(new Set(ne.match(/\b\w{2,}\b/g)||[])).map(ae=>({label:ae,kind:ct.languages.CompletionItemKind.Text,insertText:ae,range:le}))},vt=(ct,fn,xt,le)=>{ct.languages.registerCompletionItemProvider(fn,{provideCompletionItems(ne,te){const ae=ne.getWordUntilPosition(te),he={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:ae.startColumn,endColumn:ae.endColumn},re=ne.getLineContent(te.lineNumber).substring(ae.startColumn-2,ae.endColumn);return{suggestions:[...be(ct,ne,te,he),...xt.map(De=>({label:De,kind:ct.languages.CompletionItemKind.Keyword,documentation:De,insertText:De,insertTextRules:ct.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he})),...le.map(De=>({label:De.label,kind:ct.languages.CompletionItemKind.Snippet,documentation:De.content,insertText:re.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ct.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he}))]}}})};var et=ct=>{Ke.languages.forEach(fn=>{ct.languages.registerDocumentFormattingEditProvider(fn,{provideDocumentFormattingEdits(xt){return de(this,null,function*(){const le=Fe()(xt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:xt.getFullModelRange(),text:le}]})}})}),vt(ct,"java",nt.keywords,nt.quickKey),vt(ct,"cpp",Me.keywords,Me.quickKey),vt(ct,"c",ce.keywords,[]),vt(ct,"python",Ce.keywords,Ce.quickKey),vt(ct,"scala",Be.keywords,Be.quickKey)};const $e="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ze=Object.defineProperty,je=(ct,fn,xt)=>fn in ct?ze(ct,fn,{enumerable:!0,configurable:!0,writable:!0,value:xt}):ct[fn]=xt,at=(ct,fn,xt)=>je(ct,typeof fn!="symbol"?fn+"":fn,xt);const Nt=class Ju{constructor(fn,xt,le){this.placeholder=fn,this.editor=xt,this.monaco=le,xt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Ju.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};at(Nt,"ID","editor.widget.placeholderHint");var se=Nt,Oe=z(96236),dt=z(6767),ht=z(25399),Rt=z(89392),_e=z(77254),lt=z(56102),ut=Object.defineProperty,Pe=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,We=(ct,fn,xt)=>fn in ct?ut(ct,fn,{enumerable:!0,configurable:!0,writable:!0,value:xt}):ct[fn]=xt,Xe=(ct,fn)=>{for(var xt in fn||(fn={}))me.call(fn,xt)&&We(ct,xt,fn[xt]);if(we)for(var xt of we(fn))Ot.call(fn,xt)&&We(ct,xt,fn[xt]);return ct},Xt=(ct,fn)=>Pe(ct,Te(fn)),Se=(ct,fn)=>{var xt={};for(var le in ct)me.call(ct,le)&&fn.indexOf(le)<0&&(xt[le]=ct[le]);if(ct!=null&&we)for(var le of we(ct))fn.indexOf(le)<0&&Ot.call(ct,le)&&(xt[le]=ct[le]);return xt},ve=(ct,fn,xt)=>new Promise((le,ne)=>{var te=re=>{try{he(xt.next(re))}catch(ue){ne(ue)}},ae=re=>{try{he(xt.throw(re))}catch(ue){ne(ue)}},he=re=>re.done?le(re.value):Promise.resolve(re.value).then(te,ae);he((xt=xt.apply(ct,fn)).next())});function Mt(ct){return/^\d+$/.test(ct)?`${ct}px`:ct}function Jt(){}let Zt=!1;const pe={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Re(ct=[]){let fn=ct;if(Array.isArray(ct)){for(let xt=0;xt<ct.length;xt++){let le=pe[ct[xt]];if(le)return le}return fn[0]}return pe[fn]||fn}let Ue=null;const tn=()=>ve(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ct){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ct)}});var rt=ct=>{var fn=ct,{width:xt="100%",height:le="100%",value:ne,language:te="javascript",style:ae={},options:he={},overrideServices:re={},theme:ue="vs-dark",onEditBlur:De,isCopy:st=!1,onSave:Qe,autoHeight:Ie=!1,forbidCopy:mt=!1,forbidCopyTips:Et,onChange:Tt=Jt,editorDidMount:Le=Jt,onFocus:Ye=Jt,onBreakPoint:vn=Jt,breakPointValue:Ht=[],filename:Cn="educoder.txt",errorLine:un,errorContent:Ut="",highlightLine:on,openBreakPoint:mn=!1,placeholder:ft="",showMiniMap:Vt=!0}=fn,yn=Se(fn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Ct=(0,b.useRef)(),Je=(0,b.useRef)({}),Wt=(0,b.useRef)(),qt=(0,b.useRef)(),ln=(0,b.useRef)([]),Zn=(0,b.useRef)(!1),qn=(0,b.useRef)(),mr=(0,b.useRef)(),vr=(0,b.useRef)(!1),[_n,dr]=(0,b.useState)(!1);function Qt(){let nn;return Ct.current&&(nn=new xe.Z(Pn=>{for(let en of Pn)(en.target.offsetHeight>0||en.target.offsetWidth>0)&&Je.current.instance.layout()}),nn.observe(Ct.current)),nn}function En(){dt.ZP.warning({content:decodeURIComponent(Et||$e),key:"monaco-editor-tip"})}const pn=()=>{let nn=Je.current.instance;if(ne!=null&&nn&&_n){const Pn=nn.getModel();Pn&&ne!==Pn.getValue()&&(Zt=!0,Pn.setValue(ne),nn.layout(),Zt=!1)}};(0,b.useEffect)(()=>{const nn=_e.Z.subscribe("formatDocument",Pn=>{var en;let er=Je.current.instance;(en=er==null?void 0:er.getAction)==null||en.call(er,"editor.action.formatDocument").run()});return window.updateMonacoValue=Pn=>{Tt(Pn)},nn},[]),(0,b.useEffect)(()=>{var nn;let Pn=Je.current.instance;qt.current&&clearTimeout(qt.current),qt.current=setTimeout(()=>{pn()},500),ne&&(ne!=null&&ne.length)&&((nn=Pn==null?void 0:Pn.updateOptions)==null||nn.call(Pn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,_n,Je.current]),(0,b.useEffect)(()=>{if(un&&Je.current&&Je.current.instance){let Pn=Je.current.instance;Pn.changeViewZones(function(en){var er=document.createElement("div");er.style.padding="10px 20px",er.style.width="calc(100% - 20px)",er.className="my-error-line-wrp",er.innerHTML=Ut,en.addZone({afterLineNumber:un||11,heightInLines:3,domNode:er})});var nn={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Pn.addOverlayWidget(nn),Pn.revealPositionInCenter({lineNumber:20,column:1})}},[un,Je.current,_n]);const xn=(nn="",Pn)=>{if(!nn||nn.trim()==="")return!0;const er=Je.current.instance.getModel().getLineTokens(Pn);let Dt=!1;for(let Gt=0;Gt<2;Gt++)er.getStandardTokenType(Gt)===1&&(Dt=!0);return Dt};(0,b.useEffect)(()=>{var nn;const Pn=(nn=Je.current)==null?void 0:nn.instance;if(Pn&&_n&&mt){const en=Pn.onDidBlurEditorWidget(()=>{vr.current=!1}),er=Pn.onDidFocusEditorText(()=>{vr.current=!0});return()=>{en.dispose(),er.dispose()}}},[Je.current,_n,mt]),(0,b.useEffect)(()=>{var nn;if((nn=Je.current)!=null&&nn.instance&&_n&&mn){let Pn=Je.current.instance,en=Pn.getModel();if(!en)return;(()=>{var bt;let Pt=[],zt=[];const Bn=en.getAllDecorations();for(let Rn of Bn)Rn.options.className==="highlighted-line"&&(Pt.push((bt=Rn==null?void 0:Rn.range)==null?void 0:bt.startLineNumber),zt.push(Rn==null?void 0:Rn.id));if(on===Pt[0])return;en.deltaDecorations(zt,[]);const Hn=en.getLineCount();on&&on<=Hn&&(Pn.deltaDecorations([],[{range:new Ue.Range(on,1,on,en.getLineMaxColumn(on)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Pn.revealLineInCenter(on))})();const Dt=(bt=!1)=>{var Pt;let zt=[],Bn=[];const Hn=en.getAllDecorations();for(let Rn of Hn)Rn.options.linesDecorationsClassName==="breakpoints-select"&&(zt.push((Pt=Rn==null?void 0:Rn.range)==null?void 0:Pt.startLineNumber),Bn.push(Rn==null?void 0:Rn.id));if(bt)return{lines:zt,ids:Bn};vn(zt)},Gt=bt=>ve(void 0,null,function*(){let Pt={range:new Ue.Range(bt,1,bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield en.deltaDecorations([],[Pt]),Dt()}),Ze=bt=>ve(void 0,null,function*(){let Pt=[];const zt=Pn.getLineDecorations(bt);for(let Bn of zt)Bn.options.linesDecorationsClassName==="breakpoints-select"&&Pt.push(Bn.id);yield en.deltaDecorations(Pt,[]),Dt()}),gt=bt=>{let Pt=Pn.getLineDecorations(bt);for(let zt of Pt)if(zt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Rt.isEqual)(Ht,Dt(!0).lines)){en.deltaDecorations(Dt(!0).ids,[]);const bt=Ht.map(Pt=>({range:new Ue.Range(Pt,1,Pt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));en.deltaDecorations([],bt)}const Ve=Pn.onDidChangeModelContent(bt=>{let Pt=Pn.getPosition();if(Pt){let zt=Pt.lineNumber;clearTimeout(mr.current),mr.current=setTimeout(()=>{xn(en.getLineContent(zt),zt)?Ze(zt):gt(zt)?(Ze(zt),Gt(zt)):Dt()},100)}}),yt=Pn.onMouseDown(bt=>{var Pt,zt,Bn;if(bt.target.detail&&((Bn=(zt=(Pt=bt.target)==null?void 0:Pt.element)==null?void 0:zt.className)!=null&&Bn.includes("line-numbers"))){let Hn=bt.target.position.lineNumber;if(xn(en.getLineContent(Hn),Hn))return;gt(Hn)?Ze(Hn):Gt(Hn)}}),_t=bt=>{let Pt={range:new Ue.Range(bt,1,bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};ln.current=Pn.deltaDecorations(ln.current,[Pt])},rr=()=>{ln.current=Pn.deltaDecorations(ln.current,[])},ar=Pn.onMouseMove(bt=>{var Pt,zt,Bn;if(rr(),bt.target.detail&&((Bn=(zt=(Pt=bt.target)==null?void 0:Pt.element)==null?void 0:zt.className)!=null&&Bn.includes("line-numbers"))){let Hn=bt.target.position.lineNumber;if(xn(en.getLineContent(Hn),Hn))return;_t(Hn)}}),pt=Pn.onMouseLeave(()=>{rr()});return()=>{Ve.dispose(),yt.dispose(),ar.dispose(),pt.dispose()}}},[Je.current,_n,Ht,on,mn,te]),(0,b.useEffect)(()=>{var nn;(nn=Je.current)!=null&&nn.instance&&mn&&Je.current.instance.setPosition({lineNumber:0,column:0})},[on]);function sn(){let nn=Je.current.instance;if(nn){const Pn=nn.getSelection(),en=Je.current.pastePos||{},er=new Ue.Range(en.startLineNumber||Pn.endLineNumber,en.startColumn||Pn.endColumn,en.endLineNumber||Pn.endLineNumber,en.endColumn||Pn.endColumn);setTimeout(()=>{nn.executeEdits("",[{range:er,text:""}])},300)}}function Fn(nn){(window.navigator.platform.match("Mac")?nn.metaKey:nn.ctrlKey)&&nn.keyCode==83&&(nn.preventDefault(),Qe())}const St=()=>{if(Ie&&Je.current.instance){const nn=Je.current.instance.getContentHeight();nr(nn<le?le:nn)}else nr(le)};function Sn(nn){var Pn=document.createEvent("MouseEvents");Pn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),nn.dispatchEvent(Pn)}const Bt=nn=>{if(!vr.current)return;const{keyCode:Pn,ctrlKey:en,metaKey:er,target:Dt,type:Gt}=nn;return(Gt==="paste"||(Pn===67||Pn===86)&&(er||en))&&Dt.nodeName==="TEXTAREA"&&(En(),nn.preventDefault()),!1};function hn(nn,Pn){var en=window.URL||window.webkitURL||window,er=new Blob([Pn]),Dt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Dt.href=en.createObjectURL(er),Dt.download=nn,Sn(Dt)}(0,b.useEffect)(()=>{St()},[St]),(0,b.useEffect)(()=>{Ct.current&&!_n&&Promise.all([z.e(8909),z.e(2460)]).then(z.bind(z,71448)).then(nn=>{try{Ue=nn,Je.current.instance=Ue.editor.create(Ct.current,{value:ne,language:Re(te),theme:ue,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Vt||!1}},re);const Pn=Je.current.instance;let Dt=[...Oe.BH._menuItems].find(Ve=>Ve[0]._debugName=="EditorContext")[1],Gt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ze=(Ve,yt)=>{var _t,rr;let ar=Ve._first;do yt.includes((rr=(_t=ar.element)==null?void 0:_t.command)==null?void 0:rr.id)&&Ve._remove(ar);while(ar=ar.next)};if(Le(Pn,Ue),setTimeout(()=>{St(),Je.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{hn(Cn||"educoder.txt",Pn.getValue())}})},500),Je.current.subscription=Pn.onDidChangeModelContent(Ve=>{Zn.current?clearTimeout(qn.current):(St(),Tt(Pn.getValue(),Ve)),qn.current=setTimeout(()=>{Zn.current=!1},500)}),window.Monaco||et(Ue,Re(te)),mt&&(Ze(Dt,Gt),Ct.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Bt),window.removeEventListener("paste",Bt),window.addEventListener("keydown",Bt),window.addEventListener("paste",Bt)),window.Monaco=Ue,De&&Pn.onDidBlurEditorWidget(()=>{De(Pn.getValue())}),Ye&&Pn.onDidFocusEditorText(()=>{mt&&tn(),Ye(Pn.getValue())}),mt){tn();try{Pn.onDidPaste(Ve=>{const yt=Pn.getSelection(),_t=Je.current.pastePos||{},rr=new Ue.Range(_t.startLineNumber||yt.endLineNumber,_t.startColumn||yt.endColumn,_t.endLineNumber||yt.endLineNumber,_t.endColumn||yt.endColumn);Pn.executeEdits("",[{range:Ve.range,text:""}])})}catch(Ve){}}let gt=Qt();return ft&&typeof ft=="string"&&new se(ft,Pn,Ue),dr(!0),()=>{const Ve=Je.current.instance;Ve.dispose();const yt=Ve.getModel();yt&&yt.dispose(),Je.current.subscription&&Je.current.subscription.dispose(),gt.unobserve(Ct.current)}}catch(Pn){}})},[]),(0,b.useEffect)(()=>{if(Je.current.instance&&_n)return document.addEventListener("keydown",Fn,!1),()=>{document.removeEventListener("keydown",Fn)}},[Qe,_n]),(0,b.useEffect)(()=>{let nn=Je.current.instance;if(nn&&_n){let Pn=Re(te);Ue.editor.setModelLanguage(nn.getModel(),Pn)}},[te,_n]),(0,b.useEffect)(()=>{Je.current.instance&&_n&&Ue.editor.setTheme(ue)},[ue,_n]),(0,b.useEffect)(()=>{let nn=Je.current.instance;Wt.current=he,nn&&_n&&(nn.updateOptions(Xe({},he)),setTimeout(()=>{nn.getModel().updateOptions(Xe({},he))},200))},[JSON.stringify(he),_n]),(0,b.useEffect)(()=>{let nn=Je.current.instance;nn&&_n&&nn.layout()},[xt,le,_n]);const[An,On]=(0,b.useState)(Mt(xt)),[Ln,nr]=(0,b.useState)(Mt(le)),Xn=Xt(Xe({},ae),{width:An,height:Ln,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:Ct,style:Xn,onFocus:()=>{mt&&tn()}},st&&b.createElement(lt.CopyToClipboard,{text:ne,onCopy:()=>dt.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(ht.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Kt({width:ct="100%",height:fn="100%",original:xt,modified:le,language:ne,options:te={}}){const ae=(0,b.useRef)(),[he,re]=(0,b.useState)(null);function ue(Ie){let mt;return ae.current&&(mt=new xe.Z(Et=>{for(let Tt of Et)(Tt.target.offsetHeight>0||Tt.target.offsetWidth>0)&&Ie.layout()}),mt.observe(ae.current)),mt}(0,b.useEffect)(()=>(ae.current&&Promise.all([z.e(8909),z.e(9404)]).then(z.bind(z,2550)).then(Ie=>{Ue=Ie;const mt=Ue.editor.createDiffEditor(ae.current,Xt(Xe({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},te),{wordWrap:!0}));re(mt);let Et=ue(mt);return()=>{mt.dispose();const Tt=mt.getModel();Tt&&Tt.dispose(),Et.unobserve(ae.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{he&&he.setModel({original:Ue.editor.createModel(xt,ne),modified:Ue.editor.createModel(le,ne)})},[xt,le,ne,he]);const De=Mt(ct),st=Mt(fn),Qe={width:De,height:st};return b.createElement("div",{className:"my-diff-editor",ref:ae,style:Qe})}},61584:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return Ke}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},xe=z(29787),ce=z(25399),nt=z(89787),Me=z(92310),Ce=z.n(Me),Be=z(65862),He=z(2524),Fe=z(59301),Ke=({className:be,dataSource:vt=[],col:et=4,right:$e,bottom:ze=23,precision:je=0,wrapWidth:at=1200,trackEventItems:Nt,loading:jt,onRemove:se=()=>{},isCurrent:Oe=!0,showProgress:dt=!1,showAlias:ht=!1,category:Rt,hiddenClick:_e})=>{const lt=Math.floor((at-(et-1)*$e)/et),ut=[{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"}];return Fe.createElement(xe.Z,{spinning:jt},Fe.createElement("div",{className:Ce()(b.list,be)},!!(vt!=null&&vt.length)&&(vt==null?void 0:vt.map((Pe,Te)=>{var we,me,Ot,We,Xe,Xt,Se,ve,Mt,Jt,Zt,pe,Re;const{name:Ue,id:tn,identifier:rt,featured:Kt,school_name:ct,image_url:fn,excellent:xt,is_plan:le}=Pe;return Fe.createElement("div",{key:tn,className:Oe&&dt?b.wrapisCurrent:b.wrap,style:{width:lt,marginRight:(1+Te)%et===0?0:$e+je,marginBottom:ze}},Fe.createElement("a",{className:b.li,onClick:ne=>{ne.preventDefault(),ne.stopPropagation(),Nt&&(0,Be.L9)([Nt]),(0,Be.xg)(`/paths/${rt}`)}},Fe.createElement("div",{className:b.img},Fe.createElement("img",{className:b.cover,src:`${fn}`}),(we=Pe==null?void 0:Pe.subject_tags)==null?void 0:we.map((ne,te)=>{var ae,he;if(te===0){const ue=(ae=ut.find(De=>De.name==ne))==null?void 0:ae.swimg;return Fe.createElement("img",{className:b.sign,src:ue,style:{left:"-4px"}})}const re=(he=ut.find(ue=>ue.name==ne))==null?void 0:he.ptimg;return Fe.createElement("img",{className:b.sign,src:re,style:{left:`${48+52*(te-1)+2*te}px`}})}),Fe.createElement("div",{className:b.tagsDom},Fe.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(Pe==null?void 0:Pe.excellent)&&Fe.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((me=Pe==null?void 0:Pe.custom_tags)==null?void 0:me.length)>0&&Fe.createElement(ce.Z,{title:(Xe=(We=Pe==null?void 0:Pe.custom_tags)==null?void 0:We[((Ot=Pe==null?void 0:Pe.custom_tags)==null?void 0:Ot.length)-1])==null?void 0:Xe.tag_name},Fe.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},Fe.createElement("span",{className:"multi-llipsis1e text-10px"},(ve=(Se=Pe==null?void 0:Pe.custom_tags)==null?void 0:Se[((Xt=Pe==null?void 0:Pe.custom_tags)==null?void 0:Xt.length)-1])==null?void 0:ve.tag_name))))),Rt=="hide"&&(Pe==null?void 0:Pe.studying)&&Oe&&Fe.createElement("div",{className:`${b.movebq} user-path-items`,onClick:ne=>{ne.stopPropagation(),se(Pe)}},Fe.createElement("i",{className:"iconfont icon-yichu1 font12"}),Fe.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(Rt)&&Oe&&Fe.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:ne=>{ne.stopPropagation(),_e(Pe)}},Fe.createElement("i",{className:`iconfont ${Rt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Fe.createElement("span",null,Rt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Fe.createElement("div",{className:b.name},Fe.createElement(ce.Z,{title:ht&&(Pe!=null&&Pe.excellent_alias_name)?Fe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ue}`,Fe.createElement("br",null),Fe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Pe==null?void 0:Pe.excellent_alias_name}`)):Ue},Fe.createElement("span",{className:b.e},ht&&(Pe==null?void 0:Pe.excellent_alias_name)||Ue))),Oe&&dt&&((Mt=Pe==null?void 0:Pe.progress)==null?void 0:Mt.all_score)!=0&&Fe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Fe.createElement(nt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Jt=Pe==null?void 0:Pe.progress)==null?void 0:Jt.my_score)/((Zt=Pe==null?void 0:Pe.progress)==null?void 0:Zt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(pe=Pe==null?void 0:Pe.progress)==null?void 0:pe.my_score,"/",(Re=Pe==null?void 0:Pe.progress)==null?void 0:Re.all_score),(!Oe||!dt)&&Fe.createElement(ce.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${ct}`},Fe.createElement("div",{className:b.unit},Fe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),ct)),(!Oe||!dt)&&Fe.createElement("div",{className:b.tags},Fe.createElement("div",null,Fe.createElement(ce.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Fe.createElement("span",null,Fe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Fe.createElement("span",null,Pe.stages_count))),Fe.createElement(ce.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Fe.createElement("span",null,Fe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Fe.createElement("span",null,Pe.members_count)))))))})),!vt.length&&Fe.createElement(He.Z,null)))}},82636:function(Yn,dn,z){"use strict";z.d(dn,{jL:function(){return Me},w9:function(){return Mt},QD:function(){return Cn},cQ:function(){return We.Z},op:function(){return Et},O5:function(){return En},_b:function(){return Vt},t7:function(){return at},Gi:function(){return tn},YG:function(){return Re},qp:function(){return Ke},vr:function(){return on},qE:function(){return Ye},Je:function(){return se},wb:function(){return Ot},cq:function(){return le},tp:function(){return et}});var b=z(59301),xe={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/41aL3moHTWotn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CvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Me=({dataSource:pn=[],img:xn,imgWidth:sn=346,title:Fn,sunTitle:St,bannerExtraContent:Sn})=>b.createElement("div",{className:xe.banner},b.createElement("div",{className:xe.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Fn),b.createElement("span",null,St)),pn.length>0&&b.createElement("div",{className:xe.btns},pn.map((Bt,hn)=>b.createElement("div",{key:hn,onClick:Bt.click},Bt.name,Bt.sign?b.createElement("img",{src:ce,width:39}):null))),Sn),xn&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:xn,width:sn}))),Ce={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"},Be=z(92310),He=z.n(Be),Fe=z(89392),Ke=({dataSource:pn=[],value:xn,onChange:sn,onTitleChange:Fn,className:St,title:Sn,titleWidth:Bt=41,style:hn={},fontColor:An="#6A7283",showCount:On})=>{const[Ln,nr]=(0,b.useState)(1),[Xn,nn]=(0,b.useState)(!1),Pn=(0,b.useRef)(null),en=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var er;pn.length!==0&&(((er=Pn==null?void 0:Pn.current)==null?void 0:er.clientHeight)>97?nr(1):nr(0)),pn.length===0&&nr(0),nn(!1)},[pn]),b.createElement("div",{className:He()(Ce.row,St,"fadeIn","animated"),style:hn},b.createElement("div",{onClick:(0,Fe.throttle)(()=>Fn==null?void 0:Fn(),2e3),style:{width:Bt,marginTop:Xn?12:4},className:`${Ce.title} ${Fn?"current":""}`},Sn),b.createElement("div",{className:Xn?`${Ce.tagsWrap} ${Ce.tagsBorderWrap}`:Ce.tagsWrap},b.createElement("div",{className:Ce.bar,ref:en,style:Ln>0?{height:Ln===1?97:"auto",overflow:Ln===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Ce.tag,ref:Pn},pn==null?void 0:pn.map(er=>b.createElement("span",{onClick:()=>sn(er.id),key:er.id,style:{color:An},className:xn===er.id?Ce.active:""},b.createElement("span",{title:er.name,className:Ce.name},er.name),!!On&&b.createElement("span",{className:Ce.num},er.count))))),!!Ln&&b.createElement(b.Fragment,null,Ln===1?b.createElement("div",{onClick:()=>{var er;nr(2),((er=Pn==null?void 0:Pn.current)==null?void 0:er.clientHeight)>245?nn(!0):nn(!1)},className:Ce.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{en.current.scrollTop=0,nr(1),nn(!1)},className:Ce.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},be={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},et=({dataSource:pn=[],value:xn,onChange:sn,className:Fn,style:St={}})=>b.createElement("div",{style:St,className:He()(be.tabs,Fn)},pn.map(Sn=>b.createElement("span",{onClick:()=>sn(Sn.id),className:xn===Sn.id?be.active:"",key:Sn.id},Sn.name))),$e={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"},ze=z(37568),at=({dataSource:pn=[],value:xn="",onChange:sn,onInputChange:Fn=()=>{},className:St,style:Sn={},placeholder:Bt,allowClear:hn=!1})=>{var An;const[On,Ln]=(0,b.useState)(""),[nr,Xn]=(0,b.useState)("");(0,b.useEffect)(()=>{var en;let er=xn;(en=JSON.stringify(xn))!=null&&en.includes("{")&&(Ln(xn.id),er=xn.value||"");try{Xn(decodeURIComponent(er||""))}catch(Dt){Xn(decodeURIComponent(er||""))}},[xn]);const nn=()=>{sn(encodeURIComponent(nr),On||null)},Pn=en=>{en!==On&&(Ln(en),sn(encodeURIComponent(nr),en))};return b.createElement("div",{className:He()($e.input,St),style:Sn},!!pn.length&&b.createElement("div",{className:$e.dropdown},b.createElement("div",{className:$e.text},(An=pn.find(en=>en.id===On))==null?void 0:An.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:$e.b1}),b.createElement("b",{className:$e.b2})),b.createElement("div",{className:$e.menu},pn.map((en,er)=>b.createElement("div",{key:er,onClick:()=>Pn(en.id)},en.name)))),b.createElement(ze.default,{onPressEnter:nn,value:nr,onChange:en=>{Xn(en.target.value),Fn(encodeURIComponent(en.target.value),On||null)},placeholder:Bt,variant:"borderless",allowClear:hn,onClear:()=>sn("",On||null)}),b.createElement("i",{onClick:nn,className:"iconfont icon-sousuo9 font14 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"},se=({value:pn,onChange:xn,className:sn,total:Fn,pageSize:St,style:Sn={}})=>{const Bt=pn<2,hn=pn>=Math.ceil(Fn/St);return Fn<=St?b.createElement(b.Fragment,null):b.createElement("div",{className:He()(Nt.quickPager,sn),style:Sn},b.createElement("div",{onClick:()=>{Bt||xn(pn-1,"prev")},className:Bt?Nt.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{hn||xn(pn+1,"next")},className:hn?Nt.disabled:""},"\u4E0B\u4E00\u9875"))},Oe={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"},dt=z(29787),ht=z(25399),Rt=z(63139),_e=z(74128),lt=z(65862),ut=z(96908),Pe=z(57177),Te=z(81378),we=z(2524),Ot=({className:pn,dataSource:xn=[],col:sn=4,right:Fn,bottom:St=23,precision:Sn=0,wrapWidth:Bt=1200,trackEventItems:hn,loading:An})=>{const On=Math.floor((Bt-(sn-1)*Fn)/sn);return b.createElement(dt.Z,{spinning:An},b.createElement("div",{className:He()(Oe.list,pn)},!!xn.length&&xn.map((Ln,nr)=>{const{name:Xn,id:nn,identifier:Pn,power:en,cover_image_id:er,pic:Dt}=Ln;return b.createElement("div",{className:Oe.wrap,key:nn,style:{width:On,marginRight:(1+nr)%sn===0?0:Fn+Sn,marginBottom:St}},b.createElement("a",{target:"_blank",href:`/shixuns/${Pn}/challenges`,className:Oe.li,onClick:Gt=>{Gt.preventDefault(),hn&&(0,lt.L9)([hn]),en&&(0,lt.xg)(`/shixuns/${Pn}/challenges`)}},b.createElement("div",{className:Oe.img},b.createElement("img",{className:Oe.cover,src:`${Dt}`}),Ln.is_jupyter&&b.createElement("img",{className:Oe.sign,src:ut}),Ln.is_jupyter_lab&&b.createElement("img",{className:Oe.sign,src:Pe}),Ln.is_unity_3d&&b.createElement("img",{className:Oe.sign,src:Te})),b.createElement("div",{className:Oe.name},b.createElement(ht.Z,{title:Xn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:Oe.e},Xn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:Oe.tags},b.createElement(ht.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Ln.challenges_count))),!!Ln.myshixuns_count&&b.createElement(ht.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Ln.myshixuns_count))),b.createElement(ht.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Ln.level))),b.createElement("div",{className:Oe.rate},b.createElement(Rt.Z,{allowHalf:!0,disabled:!0,defaultValue:Ln.score_info}),b.createElement("span",null,"\xA0",Ln.score_info?`${Ln.score_info}\u5206`:"5\u5206")))),!en&&b.createElement("div",{className:Oe.lockWrap},b.createElement("img",{src:`${_e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!xn.length&&b.createElement(we.Z,null)))},We=z(61584),Xe={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgAr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4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Se=z(59301),Mt=({className:pn,dataSource:xn=[],col:sn=4,right:Fn,bottom:St=23,precision:Sn=0,wrapWidth:Bt=1200,trackEventItems:hn,loading:An,category:On,hiddenClick:Ln,handleVery:nr=()=>!0,isCurrent:Xn})=>{const nn=Math.floor((Bt-(sn-1)*Fn)/sn);return Se.createElement(dt.Z,{spinning:An},Se.createElement("div",{className:He()(Xe.list,pn)},!!xn.length&&xn.map((Pn,en)=>{const{subject_identifier:er,id:Dt,identifier:Gt,power:Ze}=Pn,gt=Pn.is_public!=0&&Pn.is_public;return Se.createElement("div",{className:Xe.wrap,key:Dt,style:{width:nn,marginRight:(1+en)%sn===0?0:Fn+Sn,marginBottom:St}},Se.createElement("a",{className:Xe.li,onClick:Ve=>{Ve.preventDefault(),nr(Pn==null?void 0:Pn.first_category_url)&&(hn&&(0,lt.L9)([hn]),(0,lt.xg)(Pn.first_category_url))}},Se.createElement("div",{className:Xe.top},Se.createElement(ht.Z,{title:Pn.name},Se.createElement("div",{className:Xe.name},Pn.name)),Se.createElement("img",{className:Xe.img,src:_e.Z.IMG_SERVER+"/images/"+Pn.avatar_url}),Se.createElement("div",{className:Xe.text,title:Pn.creator},Pn.creator),er&&Se.createElement("div",{className:Xe.btns},Se.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Se.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),gt&&Se.createElement("div",{className:Xe.sign},"\u516C\u5F00"),Xn&&Se.createElement("div",{className:Xe.hidden,onClick:Ve=>{Ve.stopPropagation(),Ln(Pn)}},Se.createElement("i",{className:`iconfont ${On=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),On=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),Se.createElement("div",{className:Xe.bottom},Pn.visits>0&&Se.createElement(ht.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-liulanyan"}),Se.createElement("span",null,Pn.visits))),Pn.course_members_count>0&&Se.createElement(ht.Z,{title:"\u6210\u5458",placement:"bottom"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-chengyuan"}),Pn.course_members_count)),Pn.tasks_count>0&&Se.createElement(ht.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-zuoye"}),Pn.tasks_count)),Pn.is_end?Se.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Se.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Pn.is_accessible&&Se.createElement("div",{className:Xe.lockWrap},Se.createElement("img",{src:`${_e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Se.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!xn.length&&Se.createElement(we.Z,null)))},Jt={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"},Zt=z(65582),Re=({dataSource:pn=[],value:xn,onChange:sn,className:Fn,style:St={},tabBarExtraContent:Sn})=>b.createElement("div",{className:He()(Jt.tabs,Fn),style:St},b.createElement("div",{className:Jt.tabsWrap},pn.map((Bt,hn)=>!(Bt!=null&&Bt.hide)&&b.createElement("aside",{className:Jt.tab,onClick:()=>{sn(Bt.id),Bt.link&&Zt.history.push(Bt.link)},key:hn},b.createElement("div",{className:xn===Bt.id?Jt.active:""},Bt.name),(Bt==null?void 0:Bt.resetCount)==null&&(Bt==null?void 0:Bt.total)!==void 0&&b.createElement("span",null,"\uFF08",Bt==null?void 0:Bt.total,"\uFF09"),(Bt==null?void 0:Bt.resetCount)!==void 0&&(Bt==null?void 0:Bt.total)!==void 0&&b.createElement(ht.Z,{title:(Bt==null?void 0:Bt.tip)!=null?Bt==null?void 0:Bt.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Bt==null?void 0:Bt.resetCount),"/",b.createElement("span",null,Bt==null?void 0:Bt.total),"\uFF09"))))),b.createElement("div",{className:Jt.tabBar},Sn)),tn=({className:pn,style:xn={},children:sn})=>b.createElement("div",{className:He()(pn),style:xn},sn),rt={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"},Kt=z(75727),ct=z(93041);const fn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var le=({sortValue:pn,dropValue:xn,className:sn,onSort:Fn,onDrop:St,dataSource:Sn=fn})=>{var Bt;return b.createElement("div",{className:He()(rt.orderWrap,sn)},b.createElement(Kt.Z,{dropdownRender:()=>b.createElement(ct.default,null,Sn.map((hn,An)=>b.createElement(ct.default.Item,{key:An,onClick:()=>St(hn.id)},hn.name)))},b.createElement("span",{className:rt.orderTextWrap},(Bt=Sn.find(hn=>xn===hn.id))==null?void 0:Bt.name)),b.createElement("span",{className:rt.orderIconWrap},b.createElement("span",{className:rt.orderAsc},b.createElement("i",{className:pn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${rt.cursorPointer} ${rt.active}`:`iconfont icon-sanjiaoxing-up font12 ${rt.cursorPointer}`,onClick:()=>Fn(pn==="asc"?"desc":"asc")})),b.createElement("span",{className:rt.orderDesc},b.createElement("i",{className:pn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${rt.cursorPointer} ${rt.active}`:`iconfont icon-sanjiaoxing-down font12 ${rt.cursorPointer}`,onClick:()=>Fn(pn==="asc"?"desc":"asc")}))))},ne={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"},te=z(7939),ae=Object.defineProperty,he=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,De=(pn,xn,sn)=>xn in pn?ae(pn,xn,{enumerable:!0,configurable:!0,writable:!0,value:sn}):pn[xn]=sn,st=(pn,xn)=>{for(var sn in xn||(xn={}))re.call(xn,sn)&&De(pn,sn,xn[sn]);if(he)for(var sn of he(xn))ue.call(xn,sn)&&De(pn,sn,xn[sn]);return pn},Qe=(pn,xn)=>{var sn={};for(var Fn in pn)re.call(pn,Fn)&&xn.indexOf(Fn)<0&&(sn[Fn]=pn[Fn]);if(pn!=null&&he)for(var Fn of he(pn))xn.indexOf(Fn)<0&&ue.call(pn,Fn)&&(sn[Fn]=pn[Fn]);return sn},Ie=(pn,xn,sn)=>new Promise((Fn,St)=>{var Sn=An=>{try{hn(sn.next(An))}catch(On){St(On)}},Bt=An=>{try{hn(sn.throw(An))}catch(On){St(On)}},hn=An=>An.done?Fn(An.value):Promise.resolve(An.value).then(Sn,Bt);hn((sn=sn.apply(pn,xn)).next())}),Et=pn=>{var xn=pn,{className:sn,style:Fn,children:St,loading:Sn=!1,openLoading:Bt,onClick:hn=()=>{},size:An="middle",shape:On="round"}=xn,Ln=Qe(xn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[nr,Xn]=(0,b.useState)(!1);return b.createElement(te.ZP,st({onClick:(0,Fe.throttle)(nn=>Ie(void 0,null,function*(){Bt&&Xn(!0);try{yield hn(nn)}catch(Pn){console.log("error",Pn)}Bt&&Xn(!1)}),2e3,{leading:!0,trailing:!1}),className:He()(ne.btn,ne[`${An}-${On}`],sn),style:Fn,size:An,shape:On,loading:nr||Sn},Ln),St)},Tt={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"},Ye=({className:pn,style:xn,children:sn=null,onClick:Fn,title:St})=>b.createElement("div",{className:He()(Tt.head,pn),style:xn},b.createElement("span",{className:"primary-hover",onClick:Fn},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:St},St),b.createElement("div",{className:Tt.node},sn)),vn={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"},Cn=({confirmShow:pn=!0,confirmTitle:xn,confirmClick:sn,cancelShow:Fn=!0,cancelTitle:St,cancelClick:Sn,className:Bt,style:hn,confirmLoading:An=!1})=>b.createElement("div",{className:He()(vn.btns,Bt),style:hn},pn&&b.createElement(te.ZP,{loading:An,onClick:sn,type:"primary",className:vn.confirm},xn),Fn&&b.createElement(te.ZP,{onClick:Sn,className:vn.cancel},St)),un={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"},on=({className:pn,style:xn={},LeftContent:sn,children:Fn,RightContent:St})=>b.createElement("div",{className:He()(un.fixedBottom,pn),style:xn},b.createElement("div",{className:un.wrap},b.createElement("div",{className:un.left},sn),b.createElement("div",{className:un.center},Fn),b.createElement("div",{className:un.right},St))),mn={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"},Vt=({className:pn,style:xn={},dataSource:sn=[]})=>b.createElement("div",{className:He()(mn.crumbs,pn),style:xn},sn.map((Fn,St)=>St<sn.length-1?b.createElement(b.Fragment,{key:St},Fn.path||Fn.onClick?b.createElement("span",{className:mn.hover,onClick:Fn!=null&&Fn.onClick?Fn.onClick:()=>Zt.history.push(Fn.path)},Fn.name):b.createElement("span",null,Fn.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:St,style:{color:"#5F6368"}},Fn.name))),yn=z(11938),Ct=Object.defineProperty,Je=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,qt=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,Zn=Object.prototype.propertyIsEnumerable,qn=(pn,xn,sn)=>xn in pn?Ct(pn,xn,{enumerable:!0,configurable:!0,writable:!0,value:sn}):pn[xn]=sn,mr=(pn,xn)=>{for(var sn in xn||(xn={}))ln.call(xn,sn)&&qn(pn,sn,xn[sn]);if(qt)for(var sn of qt(xn))Zn.call(xn,sn)&&qn(pn,sn,xn[sn]);return pn},vr=(pn,xn)=>Je(pn,Wt(xn)),_n=(pn,xn)=>{var sn={};for(var Fn in pn)ln.call(pn,Fn)&&xn.indexOf(Fn)<0&&(sn[Fn]=pn[Fn]);if(pn!=null&&qt)for(var Fn of qt(pn))xn.indexOf(Fn)<0&&Zn.call(pn,Fn)&&(sn[Fn]=pn[Fn]);return sn};const{Countdown:dr}=yn.default;var En=pn=>{var xn=pn,{onChange:sn}=xn,Fn=_n(xn,["onChange"]);const[St,Sn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof St=="number"&&St>=0&&sn(St)},[St]);const Bt=hn=>{const An=Math.floor(hn/1e3);Sn(An)};return b.createElement(dr,vr(mr({},Fn),{onChange:Bt}))}},31103:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return xe}});var b=z(59301);function xe(ce,nt){const Me=(0,b.useRef)();(0,b.useEffect)(()=>{Me.current=ce}),(0,b.useEffect)(()=>{function Ce(){Me.current()}if(nt!==null){let Be=setInterval(Ce,nt);return()=>clearInterval(Be)}},[nt])}},64023:function(Yn,dn,z){"use strict";z.r(dn),z.d(dn,{default:function(){return Fn}});var b=z(59301),xe={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=z(92310),nt=z.n(ce),Me=z(82636),Ce=z(25374),Be=z(77019),He=z(7939),Fe=z(62957),de=z(37568),Ke=z(70858),be=z(28284),vt=z(25399),et=z(4875),$e=z(6767),ze=z(29787),je=z(62673),at=z(47889),Nt=z(24017),jt=z(65862),se=z(65582),Oe=z(56082),dt=z(87954),ht=z(18257),Rt=z(19719),_e=z(35241),lt=z(2524),ut=Object.defineProperty,Pe=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,We=(St,Sn,Bt)=>Sn in St?ut(St,Sn,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):St[Sn]=Bt,Xe=(St,Sn)=>{for(var Bt in Sn||(Sn={}))me.call(Sn,Bt)&&We(St,Bt,Sn[Bt]);if(we)for(var Bt of we(Sn))Ot.call(Sn,Bt)&&We(St,Bt,Sn[Bt]);return St},Xt=(St,Sn)=>Pe(St,Te(Sn));const Se=b.createContext({}),ve=()=>{const{setActivatorNodeRef:St,listeners:Sn}=(0,b.useContext)(Se);return b.createElement(He.ZP,Xe({type:"text",size:"small",icon:b.createElement(vt.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"},b.createElement(Oe.Z,null)),style:{cursor:"move"},ref:St},Sn))},Mt=St=>{const{attributes:Sn,listeners:Bt,setNodeRef:hn,setActivatorNodeRef:An,transform:On,transition:Ln,isDragging:nr}=(0,Rt.nB)({id:St["data-row-key"]}),Xn=Xe(Xt(Xe({},St.style),{transform:_e.ux.Translate.toString(On),transition:Ln}),nr?{position:"relative",zIndex:99}:{}),nn=(0,b.useMemo)(()=>({setActivatorNodeRef:An,listeners:Bt}),[An,Bt]);return b.createElement(Se.Provider,{value:nn},b.createElement("tr",Xe(Xt(Xe({},St),{ref:hn,style:Xn}),Sn)))};var Zt=({columns:St,dataSource:Sn,setDataSource:Bt,loading:hn})=>{const An=({active:On,over:Ln})=>{On.id!==(Ln==null?void 0:Ln.id)&&Bt(nr=>{const Xn=nr.findIndex(Pn=>Pn.id===(On==null?void 0:On.id)),nn=nr.findIndex(Pn=>Pn.id===(Ln==null?void 0:Ln.id));return(0,Rt.Rp)(nr,Xn,nn)})};return b.createElement(dt.LB,{modifiers:[ht.DL],onDragEnd:An},b.createElement(Rt.Fo,{items:Sn.map(On=>On.id),strategy:Rt.qw},b.createElement(Ke.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:hn,locale:{emptyText:b.createElement(lt.Z,{styles:{margin:"80px auto"},customText:b.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",b.createElement("span",{style:{color:"#CA7720"}},"\u53F3\u4E0A\u89D2\u64CD\u4F5C\u6309\u94AE"),"\u8FDB\u884C\u6DFB\u52A0\uFF5E")})},dataSource:Sn,components:{body:{row:Mt}},columns:[{key:"sort",align:"center",width:80,render:()=>b.createElement(ve,null)},...St],size:"middle"})))},pe=z(31691),Re=z(79939),Ue=z(82326),tn=z(53420),rt=z(31709),Kt=z(38147),ct={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"},fn=z(3033),xt={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"},le=z(95097),ne=z(24334);const te=["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 he=({qitem:St})=>{var Sn,Bt,hn,An,On,Ln,nr,Xn,nn,Pn;return b.createElement("div",{className:xt.warp},b.createElement("div",{className:xt.mainPart},b.createElement("div",{className:xt.qcount},(St==null?void 0:St.question_type)===8&&b.createElement(le.Z,{className:xt.content,showProgramFill:!0,value:(Sn=St==null?void 0:St.program_attr)==null?void 0:Sn.description}),(St==null?void 0:St.question_type)!=8&&b.createElement(le.Z,{className:xt.qtitle,value:(St==null?void 0:St.name)||(St==null?void 0:St.title)})),((St==null?void 0:St.question_type)===0||(St==null?void 0:St.question_type)===2)&&b.createElement("div",null,(Bt=St==null?void 0:St.choices)==null?void 0:Bt.map((en,er)=>b.createElement("div",{className:xt.redio},!(en!=null&&en.is_answer)&&b.createElement("span",{className:xt.redioitem}),(en==null?void 0:en.is_answer)&&b.createElement("i",{className:`${xt.redioitemyes} icon-duigou1`}),b.createElement(le.Z,{className:en!=null&&en.is_answer?xt.titleyes:xt.title,value:te[er]+(en==null?void 0:en.choice_text)}),(en==null?void 0:en.is_answer)&&b.createElement("div",{className:xt.yestag},"\u6B63\u786E\u7B54\u6848")))),(St==null?void 0:St.question_type)===1&&b.createElement("div",null,(hn=St==null?void 0:St.choices)==null?void 0:hn.map((en,er)=>b.createElement("div",{className:xt.checkbox},!(en!=null&&en.is_answer)&&b.createElement("span",{className:xt.checkboxitem}),(en==null?void 0:en.is_answer)&&b.createElement("i",{className:`${xt.checkboxitemyes} icon-duigou1`}),b.createElement(le.Z,{className:en!=null&&en.is_answer?xt.titleyes:xt.title,value:te[er]+(en==null?void 0:en.choice_text)}),(en==null?void 0:en.is_answer)&&b.createElement("div",{className:xt.yestag},"\u6B63\u786E\u7B54\u6848")))),(St==null?void 0:St.question_type)===3&&b.createElement("div",{className:xt.completion},(An=St==null?void 0:St.standard_answer)==null?void 0:An.map((en,er)=>{var Dt;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:xt.title},"\u586B\u7A7A\u9879",er+1),b.createElement("div",{className:xt.content},(Dt=en==null?void 0:en.answer_text)==null?void 0:Dt.map((Gt,Ze)=>b.createElement("div",{className:xt.items},Gt))))})),(St==null?void 0:St.question_type)===4&&b.createElement("div",{className:xt.simple},b.createElement("div",{className:xt.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(On=St==null?void 0:St.answer_texts)!=null&&On[0]?b.createElement(le.Z,{className:xt.content,value:(Ln=St==null?void 0:St.answer_texts)==null?void 0:Ln[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(St==null?void 0:St.question_type)===5&&((nr=St==null?void 0:St.challenge_names)==null?void 0:nr.map((en,er)=>b.createElement("div",{className:xt.shixun},b.createElement("span",{className:xt.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,jt.EM)(er+1),"\u9898"),en)))),(St==null?void 0:St.question_type)===6&&b.createElement("div",{className:xt.program},b.createElement(le.Z,{className:xt.content,value:((Xn=St==null?void 0:St.program_attr)==null?void 0:Xn.description)||"- -"})),(St==null?void 0:St.question_type)===7&&((nn=St==null?void 0:St.sub_item_banks)==null?void 0:nn.map((en,er)=>{var Dt,Gt,Ze,gt,Ve;return b.createElement("div",null,b.createElement("div",{className:xt.combination},b.createElement("span",{className:xt.qtitle},en==null?void 0:en.name)),b.createElement("div",{className:xt.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((en==null?void 0:en.item_type)=="SINGLE"||(en==null?void 0:en.item_type)=="JUDGMENT")&&((Dt=en==null?void 0:en.choices)==null?void 0:Dt.map((yt,_t)=>b.createElement("div",{className:xt.redio},!(yt!=null&&yt.is_answer)&&b.createElement("span",{className:xt.redioitem}),(yt==null?void 0:yt.is_answer)&&b.createElement("i",{className:`${xt.redioitemyes} icon-duigou1`}),b.createElement(le.Z,{className:yt!=null&&yt.is_answer?xt.titleyes:xt.title,value:te[_t]+(yt==null?void 0:yt.choice_text)}),(yt==null?void 0:yt.is_answer)&&b.createElement("div",{className:xt.yestag},"\u6B63\u786E\u7B54\u6848")))),(en==null?void 0:en.item_type)=="MULTIPLE"&&((Gt=en==null?void 0:en.choices)==null?void 0:Gt.map((yt,_t)=>b.createElement("div",{className:xt.checkbox},!(yt!=null&&yt.is_answer)&&b.createElement("span",{className:xt.checkboxitem}),(yt==null?void 0:yt.is_answer)&&b.createElement("i",{className:`${xt.checkboxitemyes} icon-duigou1`}),b.createElement(le.Z,{className:yt!=null&&yt.is_answer?xt.titleyes:xt.title,value:te[_t]+(yt==null?void 0:yt.choice_text)}),(yt==null?void 0:yt.is_answer)&&b.createElement("div",{className:xt.yestag},"\u6B63\u786E\u7B54\u6848")))),(en==null?void 0:en.item_type)=="COMPLETION"&&b.createElement("div",{className:xt.completion},(Ze=en==null?void 0:en.standard_answer)==null?void 0:Ze.map((yt,_t)=>{var rr;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:xt.title},"\u586B\u7A7A\u9879",_t+1),b.createElement("div",{className:xt.content},(rr=yt==null?void 0:yt.answer_text)==null?void 0:rr.map((ar,pt)=>b.createElement("div",{className:xt.items},ar))))})),(en==null?void 0:en.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:xt.simple},b.createElement("div",{className:xt.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(gt=en==null?void 0:en.answer_texts)!=null&&gt[0]?b.createElement(le.Z,{className:xt.content,value:(Ve=en==null?void 0:en.answer_texts)==null?void 0:Ve[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(St==null?void 0:St.question_type)===8&&b.createElement("div",null,b.createElement(le.Z,{disabledFill:!0,className:xt.content,showProgramFill:!0,value:ne.Base64.decode(((Pn=St==null?void 0:St.program_attr)==null?void 0:Pn.code)||"")})),(St==null?void 0:St.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(St==null?void 0:St.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(St==null?void 0:St.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(St==null?void 0:St.study_count)||"0"))),b.createElement("a",{className:xt.shixunbutton,href:`/shixuns/${St==null?void 0:St.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((St==null?void 0:St.question_type)<=4||[6,8].includes(St==null?void 0:St.question_type))&&b.createElement("div",{className:xt.bottom},b.createElement("div",{className:xt.bottomitem},b.createElement("span",{className:xt.left},"\u89E3\u6790"),b.createElement("span",{className:xt.right},St!=null&&St.analysis?b.createElement(le.Z,{value:St==null?void 0:St.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:xt.bottomitem},b.createElement("span",{className:xt.left},"\u96BE\u5EA6"),b.createElement("span",{className:xt.right},(St==null?void 0:St.difficulty)===1?"\u7B80\u5355":(St==null?void 0:St.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:xt.bottomitem},b.createElement("span",{className:xt.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:xt.right},St!=null&&St.tag_discipline?St==null?void 0:St.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},re=z(64303),ue=z(96435),De=z(11517),st=z(61485),Qe=z(44589),Ie=z(59301),mt=Object.defineProperty,Et=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,Ht=(St,Sn,Bt)=>Sn in St?mt(St,Sn,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):St[Sn]=Bt,Cn=(St,Sn)=>{for(var Bt in Sn||(Sn={}))Ye.call(Sn,Bt)&&Ht(St,Bt,Sn[Bt]);if(Le)for(var Bt of Le(Sn))vn.call(Sn,Bt)&&Ht(St,Bt,Sn[Bt]);return St},un=(St,Sn)=>Et(St,Tt(Sn)),Ut=(St,Sn,Bt)=>new Promise((hn,An)=>{var On=Xn=>{try{nr(Bt.next(Xn))}catch(nn){An(nn)}},Ln=Xn=>{try{nr(Bt.throw(Xn))}catch(nn){An(nn)}},nr=Xn=>Xn.done?hn(Xn.value):Promise.resolve(Xn.value).then(On,Ln);nr((Bt=Bt.apply(St,Sn)).next())});const on=({setScoreShow:St,ScoreShow:Sn,onOk:Bt,isshixuns:hn,isloadings:An,dispatch:On,selectedIds:Ln,user:nr,virtualId:Xn,shixunsDetail:nn})=>{var Pn;let[en,er]=(0,b.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[Dt,Gt]=(0,b.useState)([]),[Ze,gt]=(0,b.useState)([]),[Ve,yt]=(0,b.useState)([]),[_t,rr]=(0,b.useState)([]);const[ar,pt]=(0,b.useState)(!1),[bt]=be.default.useForm(),[Pt,zt]=(0,b.useState)(),[Bn,Hn]=(0,b.useState)(!1);let[Rn,Un]=(0,b.useState)(hn);const[pr,Ar]=(0,b.useState)([]),[Vr,Br]=(0,b.useState)(0),[fr,Pr]=(0,b.useState)(!0),[kr,$r]=(0,b.useState)([]),[Xr,mi]=(0,b.useState)([]),yr=[{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}],[ur,gr]=(0,b.useState)([]),ni=(0,b.useRef)(new Set),Kr=(0,b.useRef)(new Set),wr=(0,b.useRef)(1),Rr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],hi=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Qr=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[qr,ei]=(0,b.useState)(!1),Ni=()=>{bt.resetFields(),Rn=!1,Un(!1),ei(!1),bt.submit()};(0,b.useEffect)(()=>{Sn&&(bt.setFieldsValue({item_type:"",courseid:null,tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),fr&&Rn&&(bt.setFieldsValue({item_type:"SHIXUN"}),en.item_type="SHIXUN",er(Cn({},en)),Pr(!1)),en.type="0",gt(Ln),yt(Ln),Kr.current=new Set(Ln),$i(en),_i(),ki({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),io())},[Sn]),console.log(Ze,Ve,"listitems"),(0,b.useEffect)(()=>{Vr>0&&setTimeout(()=>{Br(0)},2e3)},[Vr]);function $i(it){return Ut(this,null,function*(){var It,$t,Nn;if(pt(!0),er(Cn({},it)),(Ve==null?void 0:Ve.length)<=0&&it.type==="5"){rr([]),pt(!1);return}let zn=it.type==="5"?Ve==null?void 0:Ve.filter(br=>!pr.includes(br)):null,Dn=it.type==="5"?Ve==null?void 0:Ve.filter(br=>pr.includes(br)):null;wr.current=wr.current+1;const jn=wr.current;let Jn={course_discipline_id:it==null?void 0:it.courseid};(it==null?void 0:it.type)==="1"&&(Jn={discipline_id:((It=it==null?void 0:it.courseid)==null?void 0:It[0])||null,sub_discipline_id:(($t=it==null?void 0:it.courseid)==null?void 0:$t[1])||null});let Cr=yield(0,Kt.ZP)("/api/item_banks.json",{method:"get",params:un(Cn(Cn({},it),Jn),{ids:zn,shixun_ids:Dn,include_shixuns:!0,group_id:((Nn=it.group_id)==null?void 0:Nn.map(br=>br==null?void 0:br.value))||null,keyword:it.keyword?encodeURIComponent(it.keyword):it.keyword,type:it.type==="5"?null:it.type,clazz:it.type==="3"?"ItemBanksGroup":null})});wr.current===jn&&(rr(Cr),pt(!1))})}function _i(){return Ut(this,null,function*(){let it=yield(0,Kt.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:en.type==="5"?null:en.type,clazz:"ItemBanksGroup"}});Gt((0,fn.L)(it==null?void 0:it.disciplines))})}function ki(it){return Ut(this,null,function*(){var It;let $t=yield(0,Kt.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:it}),Nn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(It=$t==null?void 0:$t.data)==null?void 0:It.map(zn=>({title:zn.name,id:zn.id,pid:zn.id,value:zn.id,key:zn.id,isLeaf:!zn.have_child}))}];$r(Nn)})}function io(){return Ut(this,null,function*(){let it=yield(0,De.Dm)({});(it==null?void 0:it.status)===0&&mi(it==null?void 0:it.groups)})}function ke(it){return Ut(this,null,function*(){var It,$t,Nn,zn;pt(!0);let Dn=(It=it.list)==null?void 0:It.filter(br=>!pr.includes(br)),jn=($t=it.list)==null?void 0:$t.filter(br=>pr.includes(br));if(Dn.length===0&&jn.length===0){pt(!1),rr([]);return}let Jn={course_discipline_id:it==null?void 0:it.courseid};(it==null?void 0:it.type)==="1"&&(Jn={discipline_id:((Nn=it==null?void 0:it.courseid)==null?void 0:Nn[0])||null,sub_discipline_id:((zn=it==null?void 0:it.courseid)==null?void 0:zn[1])||null});let Cr=yield(0,Kt.ZP)("/api/item_banks.json",{method:"get",params:un(Cn(Cn({},it),Jn),{ids:Dn,shixun_ids:jn,type:it.type==="5"?null:it.type,clazz:it.type==="3"?"ItemBanksGroup":null})});pt(!1),rr(Cr)})}const tt=it=>Ut(void 0,null,function*(){const It=yield On({type:"shixunsDetail/release",payload:{id:it}});let $t=It==null?void 0:It.tag_position,Nn=(It==null?void 0:It.evaluation_set_position)||[],zn=It.status;return zn===0?($e.ZP.success("\u53D1\u5E03\u6210\u529F"),$i(en),!0):(zn===2?$e.ZP.error(`\u7B2C${Nn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):zn===3?$e.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${$t.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):$e.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Ft=it=>(it==null?void 0:it.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",an=()=>ar?"\u6682\u65E0\u6570\u636E":en.type==="3"&&!(Xr!=null&&Xr.length)?Ie.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",Ie.createElement("span",{onClick:()=>{var it;return(0,jt.xg)(`/users/${(it=nr==null?void 0:nr.userInfo)==null?void 0:it.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):en.type==="0"&&(_t==null?void 0:_t.items_count)===0&&!(en!=null&&en.tag_discipline_id)&&!(en!=null&&en.difficulty)&&!(en!=null&&en.keyword)&&!(en!=null&&en.group_id)&&!(en!=null&&en.difficulty)?Ie.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",Ie.createElement("span",{onClick:()=>{(0,jt.xg)(`/problems/newcreate?&pageId=${Xn}`),St(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",cn=(it,It,$t)=>it.map(Nn=>Nn.key===It?Cn(Cn({},Nn),$t):Nn.children?un(Cn({},Nn),{children:cn(Nn.children,It,$t)}):Nn),Lt=it=>Ut(void 0,null,function*(){const{key:It}=it;let $t=en.type;const Nn=yield(0,De.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(It),type:$t}),{data:zn,total_count:Dn}=Nn||{};Dn>0&&$r(jn=>cn(jn,It,{children:zn.map(Jn=>({title:Jn.name,id:Jn.id,pid:Jn.id,value:Jn.id,key:Jn.id,isLeaf:!Jn.have_child}))}))});return Ie.createElement("div",null,Ie.createElement(Fe.default,{title:!1,footer:!1,open:Sn,width:1200,centered:!0,className:ct.scoremodal,onCancel:()=>{St(!1)}},Ie.createElement("div",{style:{display:"flex",alignItems:"center"}},Ie.createElement("div",{className:ct.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),Ie.createElement(pe.default,{className:ct.tabWrap,activeKey:en.type,onChange:it=>{it==="3"?(en.show_all_share=!0,ki({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):en.show_all_share=null,it==="0"&&ki({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),en.type=it,en.page=1,en.updated_at="",en.quotes="",en.courseid=null,en.tag_discipline_id=null,en.difficulty=null,en.keyword=null,en.group_id=null,en.teach_group_id=null,bt.setFieldsValue({courseid:null,tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(en==null?void 0:en.item_type)==="SHIXUN"&&en.type!=="5"&&(Rn=!0,Un(!0)),ei(!1),en.type==="5"&&(Rn=!1,Un(!1)),er(Cn({},en)),$i(Cn({},en)),_i()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:Ie.createElement("div",null,"\u5DF2\u9009",Ve.length>0&&Ie.createElement("span",{className:ct.titlecount},Ve.length),Vr>0&&Ie.createElement("span",{className:ct.add},"+",Vr)),key:"5"}]}),Ie.createElement(be.default,{layout:"inline",form:bt,onValuesChange:(it,It)=>{const $t=Object.values(It).some(zn=>zn!==null&&zn!==""&&zn!==void 0),Nn=It.keyword==="";if(ei($t||!Nn),en.page=1,(It==null?void 0:It.item_type)==="SHIXUN"){if(en.type==="5"?Un(!1):Un(!0),it.keyword||it.keyword==="")return;bt.submit()}else{if(it!=null&&it.courseid&&bt.setFieldsValue({tag_discipline_id:null}),Un(!1),it.keyword||it.keyword==="")return;bt.submit()}},onFinish:it=>{var It;en.type==="3"&&(!it.group_id||((It=it==null?void 0:it.group_id)==null?void 0:It.length)===0)?en.show_all_share=!0:en.show_all_share=null,er(Cn(Cn({},en),it)),$i(Cn(Cn({},en),it))}},en.type=="1"?Ie.createElement(be.default.Item,{name:"courseid"},Ie.createElement(Re.Z,{className:ct.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:Dt})):Ie.createElement(be.default.Item,{name:"courseid"},Ie.createElement(Qe.q,{style:{width:160,height:38},size:"middle",showLinkButton:!1,data:{container_type:"ItemBank",type:en==null?void 0:en.type}})),!Rn&&Ie.createElement(be.default.Item,{name:"tag_discipline_id"},Ie.createElement(Ue.default,{className:ct.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Pn=_t==null?void 0:_t.tag_disciplines)==null?void 0:Pn.map(it=>Ie.createElement(Ue.default.Option,{key:it.id},it.name)))),Ie.createElement(be.default.Item,{name:Rn?"diff":"difficulty"},Ie.createElement(Ue.default,{className:ct.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Rn&&Rr.map(it=>Ie.createElement(Ue.default.Option,{key:it.value},it.name)),Rn&&hi.map(it=>Ie.createElement(Ue.default.Option,{key:it.value},it.name)))),Rn&&Ie.createElement(be.default.Item,{name:"shixun_publish_status"},Ie.createElement(Ue.default,{className:ct.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Qr.map(it=>Ie.createElement(Ue.default.Option,{key:it.value},it.name)))),en.type==="3"&&!Rn&&Ie.createElement(be.default.Item,{name:"teach_group_id"},Ie.createElement(Ue.default,{className:ct.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(it,It)=>(console.log("---",it,It),It.children.toUpperCase().indexOf(it.toUpperCase())!==-1)},Xr==null?void 0:Xr.map(it=>Ie.createElement(Ue.default.Option,{key:it.group_id},it.name)))),(en.type==="3"||en.type==="0")&&!Rn&&Ie.createElement(be.default.Item,{name:"group_id"},Ie.createElement(tn.default,{treeDataSimpleMode:!0,style:{width:134},className:ct.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(it,It)=>It.title.toUpperCase().indexOf(it.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Lt,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:kr})),qr&&Ie.createElement("span",{className:ct.allqingchu,onClick:Ni},Ie.createElement("i",{className:"iconfont icon-guanbi4"}),Ie.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ie.createElement(be.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ie.createElement(de.default.Search,{className:ct.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Ie.createElement("i",{className:`iconfont icon-sousuo9 font14 ${ct.searchIcon}`,onClick:()=>bt.submit()}),onSearch:it=>{bt.submit()}}))),Ie.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ie.createElement("div",{onClick:()=>{en.updated_at==="asc"?en.updated_at="desc":en.updated_at="asc",er(un(Cn({},en),{page:1})),$i(un(Cn({},en),{page:1}))}}," ",en.updated_at?Ie.createElement("img",{src:en.updated_at==="asc"?re.Z:ue.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ie.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Ie.createElement("div",{onClick:()=>{en.quotes==="asc"?en.quotes="desc":en.quotes="asc",er(un(Cn({},en),{page:1})),$i(un(Cn({},en),{page:1}))},style:{marginLeft:20}}," ",en.quotes?Ie.createElement("img",{src:en.quotes==="asc"?re.Z:ue.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ie.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Ie.createElement(Ke.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(_t==null?void 0:_t.items)||(_t==null?void 0:_t.shixun_list),pagination:!1,locale:{emptyText:Ie.createElement(lt.Z,{styles:{margin:"18px auto"},customText:an()})},loading:ar,rowKey:it=>it.id,rowSelection:{type:"checkbox",selectedRowKeys:Ze,getCheckboxProps:it=>({disabled:it.shixun_tag_num===1}),onSelect(it,It,$t){if(It)Rn&&Ar([...pr,it.id]),gt([...Ze,it.id]),gr([...ur,it]),it.identifier?ni.current.add(it.id):Kr.current.add(it.id),Br(1),yt([...Ve,it.id]);else{const Nn=ur.filter(jn=>jn.id!==it.id);gr(Nn);const zn=Nn.map(jn=>jn.id);gt([...zn]),it.identifier?ni.current.delete(it.id):Kr.current.delete(it.id);let Dn=Ve.filter(jn=>jn!==it.id);if(yt(Dn),Rn){let jn=pr.filter(Jn=>Jn!==it.id);Ar([...jn])}if(en.type==="5"){ke(un(Cn({},en),{list:[...Dn]}));return}}},onSelectAll(it,It,$t){if(it){const Nn=$t.map(zn=>zn.id);Rn&&Ar([...pr,...Nn]),gr([...ur,...$t]),gt([...Ze,...Nn]),yt([...Ve,...Nn]);for(const zn of $t)zn.identifier?ni.current.add(zn.id):Kr.current.add(zn.id)}else{const Nn=$t.map(jn=>jn.id),zn=Ze.filter(jn=>!Nn.some(Jn=>Jn===jn)),Dn=ur.filter(jn=>!Nn.some(Jn=>Jn===jn.id));if(gr(Dn),gt([...zn]),yt([...zn]),Rn){let jn=pr.filter(Jn=>!Nn.some(Cr=>Cr===Jn.id));Ar([...jn])}en.type==="5"&&ke(un(Cn({},en),{list:[...zn]}));for(const jn of Nn)jn.identifier?ni.current.delete(jn):Kr.current.delete(jn)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(it,It,$t)=>{const Nn=`No.${it}`;return Ie.createElement(vt.Z,{title:Nn},Ie.createElement("span",null,Nn))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Rn?"30%":"60%",key:"name",render:(it,It,$t)=>{var Nn;return Ie.createElement(vt.Z,{title:Ft(It)},Ie.createElement("span",null,Ie.createElement(le.Z,{key:1,showLines:1,showTextOnly:!0,value:Rn||It!=null&&It.challenge_names?It!=null&&It.title||it===null?"--":it:(It==null?void 0:It.item_type)=="BPROGRAM"?(Nn=It==null?void 0:It.program_attr)==null?void 0:Nn.description:it})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(it,It,$t)=>Ie.createElement(vt.Z,{title:it},Ie.createElement("span",null,it||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Rn,render:(it,It,$t)=>{var Nn;return Ie.createElement(vt.Z,{title:Ft(It)},Ie.createElement("span",null,it?(Nn=it==null?void 0:it.split("\u3001"))==null?void 0:Nn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Rn,render:(it,It,$t)=>Ie.createElement(vt.Z,{title:Ft(It)},Ie.createElement("span",null,it||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(it,It,$t)=>{var Nn,zn,Dn,jn;return Ie.createElement(vt.Z,{title:Ft(It)},Ie.createElement("div",null,Rn||It!=null&&It.challenge_names?(It==null?void 0:It.level)||((zn=(Nn=Rr==null?void 0:Rr.filter(Jn=>Jn.value===it))==null?void 0:Nn[0])==null?void 0:zn.name):(jn=(Dn=Rr==null?void 0:Rr.filter(Jn=>Jn.value===it))==null?void 0:Dn[0])==null?void 0:jn.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Rn,render:(it,It,$t)=>Ie.createElement(vt.Z,{title:Ft(It)},Ie.createElement("div",null,it||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(it,It,$t)=>Ie.createElement(vt.Z,{title:Ft(It)},Ie.createElement("div",null,Rn||It!=null&&It.challenge_names?(It==null?void 0:It.study_count)||(It==null?void 0:It.stu_num):it))},{title:Ie.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ie.createElement(vt.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ie.createElement(st.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Rn,render:(it,It,$t)=>Ie.createElement(vt.Z,{title:Ft(It)},Ie.createElement("div",null,it||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(it,It,$t)=>Ie.createElement(vt.Z,{title:Ft(It)},Ie.createElement("div",{style:{flex:1,textAlign:"start"}},Ie.createElement("a",{onClick:()=>{var Nn,zn;zt(un(Cn({},It),{question_type:Rn||It!=null&&It.challenge_names?5:(zn=(Nn=yr==null?void 0:yr.filter(Dn=>Dn.value===(It==null?void 0:It.item_type)))==null?void 0:Nn[0])==null?void 0:zn.question_type})),Hn(!0)}},"\u67E5\u770B"),(It==null?void 0:It.shixun_tag_num)===1&&Ie.createElement("a",{style:{marginLeft:10},onClick:()=>{Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Ie.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Ie.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${It==null?void 0:It.identifier}/challenges`)}},(It==null?void 0:It.shixun_name)||"--"),"\uFF1F"),onOk:()=>Ut(void 0,null,function*(){if(!tt(It==null?void 0:It.identifier))return new Promise((Nn,zn)=>{zn()})})})}},"\u53D1\u5E03")))}].filter(it=>!it.hidden)}),Ie.createElement(rt.Z,{current:en.page,total:(_t==null?void 0:_t.items_count)||(_t==null?void 0:_t.shixuns_count),style:{marginBottom:20},defaultPageSize:en.per_page,hideOnSinglePage:!(_t!=null&&_t.items_count),showTotal:it=>Ie.createElement("span",null,"\u5171\xA0",Ie.createElement("span",{style:{color:"#165DFF"}},it),"\xA0\u6761\u6570\u636E"),pageSize:en.per_page,onChange:(it,It)=>{en.page=it,en.per_page=It,er(Cn({},en)),$i(Cn({},en))}}),Ie.createElement("div",{className:ct.bottom},Ie.createElement(He.ZP,{className:ct.no,onClick:()=>{St(!1)}},"\u53D6\u6D88"),Ie.createElement(He.ZP,{loading:An,style:{width:An&&75},className:ct.yes,onClick:()=>Ut(void 0,null,function*(){if((Ve==null?void 0:Ve.length)<=0){$e.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}Bt([...Kr.current],[...ni.current],!0,Ve==null?void 0:Ve.length)})},"\u786E\u8BA4"))),Ie.createElement(Fe.default,{open:Bn,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:ct.previewModal,width:1e3,centered:!0,onCancel:()=>{Hn(!1)},onOk:()=>{Hn(!1)}},Ie.createElement(he,{qitem:Pt})))};var mn=(0,se.connect)(({shixunsDetail:St,user:Sn})=>({shixunsDetail:St,user:Sn}))(on),ft=z(48070),Vt=z(66649),yn=z.n(Vt),Ct=z(59301),Je=Object.defineProperty,Wt=Object.defineProperties,qt=Object.getOwnPropertyDescriptors,ln=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,mr=(St,Sn,Bt)=>Sn in St?Je(St,Sn,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):St[Sn]=Bt,vr=(St,Sn)=>{for(var Bt in Sn||(Sn={}))Zn.call(Sn,Bt)&&mr(St,Bt,Sn[Bt]);if(ln)for(var Bt of ln(Sn))qn.call(Sn,Bt)&&mr(St,Bt,Sn[Bt]);return St},_n=(St,Sn)=>Wt(St,qt(Sn)),dr=(St,Sn)=>{var Bt={};for(var hn in St)Zn.call(St,hn)&&Sn.indexOf(hn)<0&&(Bt[hn]=St[hn]);if(St!=null&&ln)for(var hn of ln(St))Sn.indexOf(hn)<0&&qn.call(St,hn)&&(Bt[hn]=St[hn]);return Bt},Qt=(St,Sn,Bt)=>new Promise((hn,An)=>{var On=Xn=>{try{nr(Bt.next(Xn))}catch(nn){An(nn)}},Ln=Xn=>{try{nr(Bt.throw(Xn))}catch(nn){An(nn)}},nr=Xn=>Xn.done?hn(Xn.value):Promise.resolve(Xn.value).then(On,Ln);nr((Bt=Bt.apply(St,Sn)).next())});const En=({title:St,icon:Sn,className:Bt,style:hn,children:An})=>Ct.createElement("div",{className:nt()(xe.card,Bt),style:hn},Ct.createElement("div",{className:xe.head},Ct.createElement("i",{className:Sn}),Ct.createElement("b",null,St)),Ct.createElement("div",{className:xe.element},An)),pn=St=>{var Sn=St,{value:Bt,onChange:hn}=Sn,An=dr(Sn,["value","onChange"]);return Ct.createElement(Ce.Z,_n(vr({},An),{defaultValue:Bt,onChange:hn}))},xn=({value:St=[],onChange:Sn,params:Bt,className:hn})=>{const[An,On]=(0,b.useState)(!1),[Ln,nr]=(0,b.useState)([]),[Xn,nn]=(0,b.useState)(""),[Pn,en]=(0,b.useState)([]),[er,Dt]=(0,b.useState)("");(0,b.useEffect)(()=>{Gt()},[]);function Gt(){return Qt(this,null,function*(){let Ze=yield(0,Kt.ZP)(`/api/courses/${Bt==null?void 0:Bt.coursesId}/teachers`,{method:"get",params:{homework_id:Bt.categoryId,limit:1e3}});en((Ze==null?void 0:Ze.teacher_list)||[])})}return Ct.createElement(b.Fragment,null,Ct.createElement("div",{className:nt()(xe.collaborator,hn)},St==null?void 0:St.map(Ze=>Ct.createElement(Be.Z,{align:"middle",className:`${xe.btn} ${er==(Ze==null?void 0:Ze.user_id)?xe.delBorder:""}`,key:Ze.user_id},Ct.createElement("span",{className:"c-grey-333"},Ze==null?void 0:Ze.name),Ct.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${xe.delSty}`,onMouseEnter:()=>{Dt(Ze==null?void 0:Ze.user_id)},onMouseLeave:()=>{Dt("")},onClick:()=>{const gt=St.filter(Ve=>Ve.user_id!==Ze.user_id);nr(gt.map(Ve=>Ve.user_id)),Sn(gt)}}))),Ct.createElement(He.ZP,{className:xe.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>On(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Ct.createElement(Fe.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:An,onCancel:()=>On(!1),onOk:()=>{const Ze=Pn.filter(gt=>Ln.includes(gt.user_id));Sn(Ze),On(!1)},afterClose:()=>{nn("")}},Ct.createElement(Be.Z,{align:"middle"},Ct.createElement("label",null,"\u59D3\u540D\uFF1A"),Ct.createElement(de.default.Search,{value:Xn,size:"middle",style:{flex:1},onChange:Ze=>nn(Ze.target.value)})),Ct.createElement(Ke.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:Ze=>{nr(Ze)},selectedRowKeys:Ln,getCheckboxProps:Ze=>({disabled:Ze.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:Pn.filter(Ze=>Ze.name.includes(Xn)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var Fn=()=>{var St;const Sn=(0,se.useParams)(),Bt=(0,se.useDispatch)(),[hn]=be.default.useForm(),An=be.default.useWatch("hack_score_settings",hn),On=be.default.useWatch("open_code",hn),Ln=be.default.useWatch("rank_forbidden",hn),nr=be.default.useWatch("hack_analysis",hn),Xn=be.default.useWatch("hack_answer",hn),[nn,Pn]=(0,b.useState)([]),[en,er]=(0,b.useState)({}),[Dt,Gt]=(0,b.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[Ze,gt]=(0,b.useState)(!0),[Ve,yt]=(0,b.useState)(!1),[_t,rr]=(0,b.useState)(!1),[ar,pt]=(0,b.useState)({}),[bt,Pt]=(0,b.useState)(!1),[zt,Bn]=(0,b.useState)(!1),Hn=(0,b.useRef)(!1),Rn=(0,b.useRef)(String(Math.random()).slice(-6)),Un=(St=window.location.pathname)==null?void 0:St.includes("add");(0,b.useEffect)(()=>(window.addEventListener("visibilitychange",pr),()=>{window.removeEventListener("visibilitychange",pr)}),[nn,ar]),(0,b.useEffect)(()=>(Bt({type:"globalSetting/footerToggle",payload:!1}),()=>{Bt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,b.useEffect)(()=>{nn.length&&An!==void 0&&kr()},[An,JSON.stringify(nn==null?void 0:nn.map(yr=>yr.id+yr.hack_score))]),(0,b.useEffect)(()=>{Ar(),Un?gt(!1):Vr()},[]);const pr=()=>Qt(void 0,null,function*(){var yr;if(document.visibilityState==="visible"){Bn(!0);let ur=nn.map(Kr=>Kr.id),gr=localStorage.getItem(Rn.current);gr&&(gr=JSON.parse(gr),gr=Array.isArray(gr)?gr:[],ur=[...ur,...gr],localStorage.removeItem(Rn.current));const ni=yield(0,Kt.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:ur.length?ur:-1,homework_common_id:Un?null:ar==null?void 0:ar.homework_id}});if(ni!=null&&ni.items){const Kr=(yr=ni==null?void 0:ni.items)==null?void 0:yr.map(wr=>{const Rr=nn.find(hi=>hi.id===wr.id);return Rr?_n(vr({},wr),{hack_score:Rr.hack_score}):wr});Pn(Kr)}Bn(!1)}}),Ar=()=>Qt(void 0,null,function*(){const yr=yield(0,Kt.ZP)(`/api/courses/${Sn.coursesId}/homework_commons/new.json`,{method:"get",params:{category:Sn==null?void 0:Sn.categoryId,type:5}});yr!=null&&yr.course_name&&er(yr)}),Vr=()=>Qt(void 0,null,function*(){var yr,ur;const gr=yield(0,Kt.ZP)(`/api/homework_commons/${Sn==null?void 0:Sn.categoryId}/edit_hack.json`,{method:"get"});if((gr==null?void 0:gr.status)===0){const ni=(yr=gr==null?void 0:gr.collaborators_data)==null?void 0:yr.map(wr=>({user_id:wr.id,name:wr.real_name}));hn.setFieldsValue(_n(vr({},gr),{user_ids:ni,rank_forbidden_start:gr!=null&&gr.rank_forbidden_start?yn()(gr==null?void 0:gr.rank_forbidden_start):"",rank_forbidden_end:gr!=null&&gr.rank_forbidden_end?yn()(gr==null?void 0:gr.rank_forbidden_end):""}));const Kr=(ur=gr==null?void 0:gr.items)==null?void 0:ur.map((wr,Rr)=>{var hi,Qr;return _n(vr({},wr),{hack_score:(Qr=(hi=gr==null?void 0:gr.hack_settings)==null?void 0:hi[Rr])==null?void 0:Qr.hack_score})});Pn(Kr||[]),pt(vr({},gr))}gt(!1)}),Br=()=>{let yr=`/classrooms/${Sn==null?void 0:Sn.coursesId}/program_homework`;return Un||(yr=`/classrooms/${Sn==null?void 0:Sn.coursesId}/program_homework/${Sn==null?void 0:Sn.categoryId}/detail`),yr},fr=[{name:(en==null?void 0:en.course_name)||"",path:`/classrooms/${en==null?void 0:en.course_id}/program_homework`},{name:Un?"\u7F16\u7A0B\u4F5C\u4E1A":ar==null?void 0:ar.name,path:Br()},{name:(Un?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],Pr=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(yr,ur,gr)=>gr+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:yr=>Ct.createElement(vt.Z,{placement:"topLeft",title:yr},Ct.createElement("span",null,yr||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(yr,ur,gr)=>Ct.createElement(et.Z,{disabled:An!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:yr,onChange:ni=>{nn[gr].hack_score=ni;const Kr=nn.reduce((wr,Rr)=>wr+Number(Rr.hack_score||0),0);hn.setFieldsValue({total_score:Kr.toFixed(2)}),Pn([...nn])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:yr=>Ct.createElement("span",null,yr===1?"\u7B80\u5355":yr===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:yr=>Ct.createElement(vt.Z,{placement:"topLeft",title:yr},Ct.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},yr||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(yr,ur)=>Ct.createElement("span",null,Ct.createElement("span",{onClick:()=>Qt(void 0,null,function*(){var gr;Bt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let ni=yield(0,Kt.ZP)(`/api/problems/${(gr=ur==null?void 0:ur.program_attr)==null?void 0:gr.identifier}/start.json`,{method:"get"});(ni==null?void 0:ni.status)===0&&(0,jt.xg)(`/myproblems/${ni==null?void 0:ni.identifier}?type=1&pageId=edit&backUrl=${Br()}`),Bt({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),Ct.createElement("span",{onClick:()=>{var gr;return(0,jt.xg)(`/problems/newedit/${(gr=ur==null?void 0:ur.program_attr)==null?void 0:gr.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),Ct.createElement("span",{onClick:()=>{const gr=nn.filter(ni=>ni.id!==ur.id);Pn(gr),$e.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],kr=()=>{const yr=[...nn],ur=hn.getFieldValue("total_score"),gr=yr==null?void 0:yr.length;let ni=0,Kr;switch(An){case 0:const wr=(ur/gr).toFixed(2);yr.map((_i,ki)=>{ni=ki,_i.hack_score=wr>0?wr:0}),Kr=(ur-wr*(gr-1)).toFixed(2),yr[ni].hack_score=Kr>0?Kr:0;break;case 1:const Rr=[0,1,3,6];let hi=0;const Qr=yr.filter(_i=>_i.difficulty===1).length*Rr[1],qr=yr.filter(_i=>_i.difficulty===2).length*Rr[2],ei=yr.filter(_i=>_i.difficulty===3).length*Rr[3],Ni=ur/(Qr+qr+ei);yr.map((_i,ki)=>{ni=ki,_i.hack_score=(Rr[_i.difficulty]*Ni).toFixed(2),hi=hi+Number(_i.hack_score)});let $i=yr[ni].hack_score;Kr=(ur-hi+Number($i)).toFixed(2),yr[ni].hack_score=Kr>0?Kr:0;break}Pn(yr)},$r=yr=>{Hn.current=yr,hn.submit()},Xr=yr=>Qt(void 0,null,function*(){var ur;if(!nn.length){$e.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),hn.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}Pt(!0);const gr=[],ni=nn.map(Rr=>(gr.push(Rr.hack_id),{hack_id:Rr.hack_id,hack_name:Rr.name,hack_score:Rr.hack_score,difficult:Rr.difficulty})),Kr=(ur=yr==null?void 0:yr.user_ids)==null?void 0:ur.map(Rr=>Rr.user_id),wr=yield(0,Kt.ZP)(`/api/courses/${Sn.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:_n(vr({},yr),{category:Un?Number(Sn==null?void 0:Sn.categoryId):null,homework_id:Un?null:ar==null?void 0:ar.homework_id,hack_settings:ni,user_ids:Kr,hack_ids:gr})});if((wr==null?void 0:wr.status)===0)if($e.ZP.success("\u4FDD\u5B58\u6210\u529F"),Hn.current){const Rr=vr({},wr);Gt(Rr),Bt({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[wr==null?void 0:wr.id],selectArrsAll:[Rr],params:Sn,detail:!0,type:2,manage_all_group:Rr==null?void 0:Rr.manage_all_group}})}else se.history.push(`/classrooms/${Sn.coursesId}/program_homework/${wr==null?void 0:wr.id}/detail`);Pt(!1)}),mi=yr=>Qt(void 0,null,function*(){if(!yr.length){$e.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(yr.length>200){$e.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const ur=[],gr=nn.map(wr=>{var Rr;return(Rr=wr.program_attr)==null?void 0:Rr.origin_item_bank_id}),ni=[];yr.forEach(wr=>{if(gr.includes(wr)){const Rr=nn.find(hi=>{var Qr;return((Qr=hi.program_attr)==null?void 0:Qr.origin_item_bank_id)===wr});ni.push(Rr)}else ur.push(wr)}),rr(!0);const Kr=yield(0,Kt.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:ur}});if(Kr!=null&&Kr.items){const wr=[...ni,...Kr==null?void 0:Kr.items];if(An===2){const Rr=wr.reduce((hi,Qr)=>hi+Number(Qr.hack_score||0),0);hn.setFieldsValue({total_score:Rr.toFixed(2)})}Pn(wr),yt(!1)}rr(!1)});return Ct.createElement("div",{className:xe.wrap},Ct.createElement(ze.Z,{spinning:Ze},Ct.createElement("div",{className:xe.center},Ct.createElement(Me._b,{dataSource:fr,className:"mb20"}),Ct.createElement(be.default,{form:hn,preserve:!1,onValuesChange:yr=>{"total_score"in yr&&kr()},onFinishFailed:yr=>Qt(void 0,null,function*(){var ur,gr;$e.ZP.error(yr.errorFields[0].errors[0]),hn.scrollToField((gr=(ur=yr==null?void 0:yr.errorFields)==null?void 0:ur[0])==null?void 0:gr.name,{behavior:"smooth",block:"center"})}),onFinish:Xr,colon:!1,size:"large"},Ct.createElement(En,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},Ct.createElement(be.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"}]},Ct.createElement(de.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),Ct.createElement(be.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"}]},Ct.createElement(pn,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),Ct.createElement(En,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},Ct.createElement(be.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},Ct.createElement(je.default.Group,null,Ct.createElement(je.default,{value:"c"},"C\u8BED\u8A00"),Ct.createElement(je.default,{value:"c++"},"C++\u8BED\u8A00"),Ct.createElement(je.default,{value:"java"},"Java\u8BED\u8A00"),Ct.createElement(je.default,{value:"python"},"Python\u8BED\u8A00"))),Ct.createElement(Be.Z,{align:"middle"},Ct.createElement(be.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},Ct.createElement(et.Z,{precision:1,disabled:An===2,min:0,style:{width:223},addonAfter:"\u5206"})),Ct.createElement(be.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},Ct.createElement(et.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),Ct.createElement(be.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},Ct.createElement(at.ZP.Group,null,Ct.createElement(at.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),Ct.createElement(at.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),Ct.createElement(at.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),Ct.createElement(Be.Z,{align:"middle"},Ct.createElement("span",null,"\u9898\u76EE\u5217\u8868"),Ct.createElement(He.ZP,{onClick:()=>yt(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),Ct.createElement(He.ZP,{onClick:()=>(0,jt.xg)(`/problems/newcreate?pageId=${Rn.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),Ct.createElement("div",{className:xe.tip},Ct.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"),Ct.createElement(be.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},Ct.createElement(Zt,{dataSource:nn,setDataSource:Pn,columns:Pr,loading:zt}))),Ct.createElement(En,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},Ct.createElement("div",{className:xe.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),Ct.createElement("div",{className:`${xe.content} mb30`},Ct.createElement(be.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},Ct.createElement(at.ZP.Group,null,Ct.createElement(at.ZP,{value:0},Ct.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),Ct.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),Ct.createElement(at.ZP,{style:{marginLeft:40},value:1},Ct.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),Ct.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),Ct.createElement("div",{className:`${xe.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),Ct.createElement("div",{className:xe.content},Ct.createElement(be.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},Ct.createElement(je.default,null,Ct.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),Ct.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")))),Ct.createElement("div",{className:`${xe.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),Ct.createElement("div",{className:xe.content},Ct.createElement(be.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},Ct.createElement(je.default,null,Ct.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),Ct.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"))),Ct.createElement(be.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},Ct.createElement(je.default,null,Ct.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),Ct.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"))),!!On&&Ct.createElement(be.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},Ct.createElement(at.ZP.Group,null,Ct.createElement(at.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Ct.createElement(at.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),Ct.createElement(be.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},Ct.createElement(je.default,null,Ct.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),Ct.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"))),!!Ln&&Ct.createElement(Be.Z,{align:"middle",className:"ml25"},Ct.createElement(be.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"},Ct.createElement(Nt.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:jt.Q8,disabledTime:jt.d0})),Ct.createElement(be.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"},Ct.createElement(Nt.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:jt.Q8,disabledTime:jt.d0}))),Ct.createElement(be.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},Ct.createElement(je.default,null,Ct.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),Ct.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!nr&&Ct.createElement(be.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},Ct.createElement(at.ZP.Group,null,Ct.createElement(at.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Ct.createElement(at.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),Ct.createElement(at.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),Ct.createElement(be.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},Ct.createElement(je.default,null,Ct.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),Ct.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!Xn&&Ct.createElement(be.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},Ct.createElement(at.ZP.Group,null,Ct.createElement(at.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Ct.createElement(at.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),Ct.createElement("div",{className:`${xe.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),Ct.createElement(be.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},Ct.createElement(xn,{params:Sn}))))),Ct.createElement("div",{className:xe.fixedBtns},Ct.createElement(Be.Z,{align:"middle",className:xe.center},Ct.createElement(He.ZP,{onClick:()=>se.history.push(Br()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),Ct.createElement(He.ZP,{loading:bt&&!Hn.current,disabled:bt&&Hn.current,onClick:()=>$r(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),Ct.createElement(He.ZP,{loading:bt&&Hn.current,disabled:bt&&!Hn.current,onClick:()=>$r(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),Ct.createElement(mn,{setScoreShow:yt,isshixuns:!1,ScoreShow:Ve,virtualId:Rn.current,isloadings:_t,onOk:mi,selectedIds:nn.map(yr=>{var ur;return(ur=yr.program_attr)==null?void 0:ur.origin_item_bank_id})||[]}),Ct.createElement(ft.Z,{courseEndTime:Dt==null?void 0:Dt.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${Sn==null?void 0:Sn.coursesId}/program_homework/${Dt==null?void 0:Dt.id}/detail`}}))}},48070:function(Yn,dn,z){"use strict";var b=z(59301),xe=z(28284),ce=z(6767),nt=z(62957),Me=z(77019),Ce=z(47889),Be=z(4875),He=z(5269),Fe=z(24017),de=z(62673),Ke=z(66649),be=z.n(Ke),vt=z(38147),et=z(41867),$e=z(65862),ze=z(65582),je=z(91704),at=z(33270),Nt=z(99981),jt=z(59301),se=Object.defineProperty,Oe=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,ht=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,lt=(Ot,We,Xe)=>We in Ot?se(Ot,We,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Ot[We]=Xe,ut=(Ot,We)=>{for(var Xe in We||(We={}))Rt.call(We,Xe)&&lt(Ot,Xe,We[Xe]);if(ht)for(var Xe of ht(We))_e.call(We,Xe)&&lt(Ot,Xe,We[Xe]);return Ot},Pe=(Ot,We)=>Oe(Ot,dt(We)),Te=(Ot,We)=>{var Xe={};for(var Xt in Ot)Rt.call(Ot,Xt)&&We.indexOf(Xt)<0&&(Xe[Xt]=Ot[Xt]);if(Ot!=null&&ht)for(var Xt of ht(Ot))We.indexOf(Xt)<0&&_e.call(Ot,Xt)&&(Xe[Xt]=Ot[Xt]);return Xe},we=(Ot,We,Xe)=>new Promise((Xt,Se)=>{var ve=Zt=>{try{Jt(Xe.next(Zt))}catch(pe){Se(pe)}},Mt=Zt=>{try{Jt(Xe.throw(Zt))}catch(pe){Se(pe)}},Jt=Zt=>Zt.done?Xt(Zt.value):Promise.resolve(Zt.value).then(ve,Mt);Jt((Xe=Xe.apply(Ot,We)).next())});const me=Ot=>{var We=Ot,{classroomList:Xe,dispatch:Xt,courseEndTime:Se,onWindowBack:ve}=We,Mt=Te(We,["classroomList","dispatch","courseEndTime","onWindowBack"]),Jt,Zt,pe,Re,Ue,tn,rt,Kt,ct,fn,xt,le,ne,te,ae,he,re,ue,De,st,Qe,Ie,mt,Et,Tt,Le,Ye,vn,Ht,Cn,un,Ut,on,mn,ft,Vt,yn,Ct,Je;const Wt=(0,ze.useParams)(),[qt]=xe.default.useForm(),[ln,Zn]=(0,b.useState)(1),[qn,mr]=(0,b.useState)([]),[vr,_n]=(0,b.useState)(0),[dr,Qt]=(0,b.useState)(2e3),[En,pn]=(0,b.useState)(!0),[xn,sn]=(0,b.useState)(!1),[Fn,St]=(0,b.useState)(!1),[Sn,Bt]=(0,b.useState)([]),[hn,An]=(0,b.useState)(!0),[On,Ln]=(0,b.useState)(!((pe=(Zt=(Jt=Xe.actionTabs)==null?void 0:Jt.selectArrsAll)==null?void 0:Zt[0])!=null&&pe.send_type));let[nr,Xn]=(0,b.useState)([0,0,0]);(0,b.useEffect)(()=>{var gt,Ve,yt,_t,rr,ar,pt,bt,Pt,zt,Bn,Hn,Rn;if(Xe.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(er(),(yt=(Ve=(gt=Xe.actionTabs)==null?void 0:gt.selectArrsAll)==null?void 0:Ve[0])!=null&&yt.can_publish?Xn([...(Pt=(bt=(pt=Xe.actionTabs)==null?void 0:pt.selectArrsAll)==null?void 0:bt[0])==null?void 0:Pt.difficult_count]):Xn([...(ar=(rr=(_t=Xe.actionTabs)==null?void 0:_t.selectArrsAll)==null?void 0:rr[0])==null?void 0:ar.difficult_settings]),Ln(!((Hn=(Bn=(zt=Xe.actionTabs)==null?void 0:zt.selectArrsAll)==null?void 0:Bn[0])!=null&&Hn.send_type)),nn(),Xe.actionTabs.type===2){const Un=(Rn=Xe.actionTabs.selectArrsAll)==null?void 0:Rn[0];An(Un.unified_setting)}else An(!1)},[Xe.actionTabs]),console.log("----",Xe.actionTabs),(0,b.useEffect)(()=>{if(xn){if(Fn)return;Xt({type:"classroomList/setActionTabs",payload:{}}),(0,et.GJ)()?(Xt({type:"classroomList/getClassroomTeacherCommonList",payload:Pe(ut({},Xe.actionTabs.params),{type:1})}),Xt({type:"shixunHomeworks/getWorkList",payload:ut({},Wt)})):Xt({type:"classroomList/getClassroomCommonList",payload:ut({},Xe.actionTabs.params)})}},[xn]);const nn=gt=>we(void 0,null,function*(){pn(!0);const Ve=yield(0,at.c_)(Pe(ut({},Wt),{page:gt||ln,limit:2e4,homework_id:Xe.actionTabs.type===1?"":Xe.actionTabs.selectArrs[0]}));Ve==null||Ve.course_groups.map((yt,_t)=>{yt.key=yt.id,yt.title=yt.name,yt.disabled=yt.is_published}),Ve&&(mr([...Ve==null?void 0:Ve.course_groups]),_n(Ve==null?void 0:Ve.course_groups_count),pn(!1),gt||qt.setFieldsValue({publish_time:be()(be()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:be()(be()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Pn=()=>{(0,et.GJ)()?Xe.actionTabs.detail?(Xt({type:"shixunHomeworks/setActionTabs",payload:{}}),Xt({type:"shixunHomeworks/getWorkList",payload:ut({},Wt)}),Xt({type:"shixunHomeworks/getWorkSetting",payload:ut({},Wt)})):Xt({type:"classroomList/getClassroomTeacherCommonList",payload:Pe(ut({},Xe.actionTabs.params),{type:5,category:Xe.actionTabs.params.categoryId})}):Xt({type:"classroomList/getClassroomCommonList",payload:ut({},Xe.actionTabs.params)})},en=()=>we(void 0,null,function*(){var gt,Ve,yt,_t,rr,ar,pt,bt,Pt;if(((yt=(Ve=(gt=(0,et.eY)())==null?void 0:gt.course)==null?void 0:Ve.hack_homework_info)==null?void 0:yt.hack_homework_remaining_count)===0&&((rr=(_t=Xe.actionTabs.selectArrsAll)==null?void 0:_t.filter(Rn=>{var Un;return(Un=(Rn==null?void 0:Rn.status)||(Rn==null?void 0:Rn.homework_status))==null?void 0:Un.includes("\u672A\u53D1\u5E03")}))==null?void 0:rr.length)>0){(0,$e.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(pt=(ar=(0,et.eY)())==null?void 0:ar.course)==null?void 0:pt.course_name}\u3011\u7684\u8BFE\u5802\u7F16\u7A0B\u4F5C\u4E1A\u53D1\u5E03\u989D\u5EA6\u5DF2\u7528\u5B8C\u3002\u989D\u5EA6\u5C06\u4E8E\u6BCF\u65E524\u70B9\u91CD\u7F6E\uFF0C\u5C4A\u65F6\u5373\u53EF\u7EE7\u7EED\u53D1\u5E03\u3002\u5982\u9700\u7ACB\u5373\u53D1\u5E03\u66F4\u591A\u4F5C\u4E1A\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u6269\u5BB9\u3002`);return}if((0,et.Rm)()&&!((bt=Xe.AssistantObject.hack)!=null&&bt.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"),Ze(!1);return}const zt=ut({},qt.getFieldsValue());if(zt.end_time<=zt.publish_time){ce.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Ze(!1);return}if((Sn==null?void 0:Sn.length)<=0&&!hn&&qn.length>0){ce.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Ze(!1);return}if(nr.reduce((Rn,Un)=>Rn+Un,0)===0&&!On){ce.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Ze(!1);return}let Bn={homework_ids:[...Xe.actionTabs.selectArrs],group_ids:Sn.length>0?Sn.map(Rn=>Rn.id):(Pt=Xe.detailCommonHomeworksList)==null?void 0:Pt.course_groups,end_time:be()(zt.end_time).format("YYYY-MM-DD HH:mm"),publish_time:be()(zt.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:nr==null?void 0:nr.map(Rn=>Rn),send_type:On?"0":"1",unified_setting:!Sn.length};if(Ze(!0),(yield(0,vt.ZP)(`/api/courses/${Wt.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:ut({},Bn)})).status===0){if(Ze(!1),(0,$e.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),ce.ZP.success("\u53D1\u5E03\u6210\u529F"),Xt({type:"user/getUserInfo",payload:{course_id:Wt.coursesId}}),Xt({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),ve){ve();return}Mt.onCallback&&Mt.onCallback(),Pn(),localStorage.getItem("Noviceguide")==="0"||Xt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:jt.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 Ze(!1)}),er=()=>{Zn(1),mr([]),Bt([])},Dt=vr>ln*dr,[Gt,Ze]=(0,b.useState)(!1);return jt.createElement(nt.default,{width:600,confirmLoading:Gt,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Xe.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:en,onCancel:()=>{if(er(),Xt({type:"classroomList/setActionTabs",payload:{}}),ve){ve();return}Pn()}},jt.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",jt.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),qn&&jt.createElement(xe.default,{form:qt},jt.createElement("div",{style:{paddingLeft:0}},Xe.actionTabs.type===2&&jt.createElement(Me.Z,{style:{marginBottom:"10px"}},jt.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),jt.createElement(Ce.ZP.Group,{value:On,disabled:!((tn=(Ue=(Re=Xe.actionTabs)==null?void 0:Re.selectArrsAll)==null?void 0:Ue[0])!=null&&tn.can_publish),onChange:gt=>{Ln(gt.target.value)}},jt.createElement(Ce.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),jt.createElement(Ce.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!On&&jt.createElement(Me.Z,{style:{marginBottom:"10px"}},jt.createElement("span",{style:{marginRight:65}}),jt.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",jt.createElement(Be.Z,{value:nr[0],onChange:gt=>{nr[0]=gt,Xn([...nr])},min:0,disabled:!((ct=(Kt=(rt=Xe.actionTabs)==null?void 0:rt.selectArrsAll)==null?void 0:Kt[0])!=null&&ct.can_publish),placeholder:`\u6700\u5927${(ne=(le=(xt=(fn=Xe.actionTabs)==null?void 0:fn.selectArrsAll)==null?void 0:xt[0])==null?void 0:le.difficult_count)==null?void 0:ne[0]}`,max:(re=(he=(ae=(te=Xe.actionTabs)==null?void 0:te.selectArrsAll)==null?void 0:ae[0])==null?void 0:he.difficult_count)==null?void 0:re[0],style:{width:60}})),jt.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",jt.createElement(Be.Z,{value:nr[1],onChange:gt=>{nr[1]=gt,Xn([...nr])},min:0,disabled:!((st=(De=(ue=Xe.actionTabs)==null?void 0:ue.selectArrsAll)==null?void 0:De[0])!=null&&st.can_publish),max:(Et=(mt=(Ie=(Qe=Xe.actionTabs)==null?void 0:Qe.selectArrsAll)==null?void 0:Ie[0])==null?void 0:mt.difficult_count)==null?void 0:Et[1],placeholder:`\u6700\u5927${(vn=(Ye=(Le=(Tt=Xe.actionTabs)==null?void 0:Tt.selectArrsAll)==null?void 0:Le[0])==null?void 0:Ye.difficult_count)==null?void 0:vn[1]}`,style:{width:60}})),jt.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",jt.createElement(Be.Z,{value:nr[2],onChange:gt=>{nr[2]=gt,Xn([...nr])},min:0,disabled:!((un=(Cn=(Ht=Xe.actionTabs)==null?void 0:Ht.selectArrsAll)==null?void 0:Cn[0])!=null&&un.can_publish),placeholder:`\u6700\u5927${(ft=(mn=(on=(Ut=Xe.actionTabs)==null?void 0:Ut.selectArrsAll)==null?void 0:on[0])==null?void 0:mn.difficult_count)==null?void 0:ft[2]}`,max:(Je=(Ct=(yn=(Vt=Xe.actionTabs)==null?void 0:Vt.selectArrsAll)==null?void 0:yn[0])==null?void 0:Ct.difficult_count)==null?void 0:Je[2],style:{width:60}}))),jt.createElement(Me.Z,{className:"mt30",align:"middle"},jt.createElement(He.Z,null,jt.createElement(xe.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},jt.createElement(Fe.default,{style:{width:170,marginRight:"25px"},disabledDate:gt=>(0,Nt.Q8)(gt,Se),disabledTime:gt=>(0,Nt.d0)(gt),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:be()((0,$e.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),jt.createElement(He.Z,{className:"ml20"},jt.createElement(xe.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},jt.createElement(Fe.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:be()((0,$e.U6)(),"HH:mm")},disabledDate:gt=>(0,Nt.Q8)(gt,Se,qt.getFieldValue("publish_time")),disabledTime:gt=>(0,Nt.d0)(gt,qt.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Xe.actionTabs.type===2&&jt.createElement(Me.Z,{style:{marginBottom:"10px"}},jt.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),jt.createElement(Ce.ZP.Group,{value:hn,onChange:gt=>{An(gt.target.value),Bt([])}},jt.createElement(Ce.ZP,{value:!0,disabled:!Xe.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),jt.createElement(Ce.ZP,{className:"ml20",disabled:qn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),qn.length<=0&&Xe.actionTabs.type===2&&jt.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"')),(Xe.actionTabs.type===1||!hn)&&qn.length>0&&jt.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},jt.createElement("span",{style:{flex:1}},jt.createElement(de.default,{checked:Sn.length===qn.length,onChange:gt=>{Sn.length===qn.length?Bt([]):Bt(qn.filter(Ve=>!Ve.is_published))}},"\u5168\u9009")," "),jt.createElement("span",{style:{width:16}}),jt.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Sn.length||0,"\u4E2A\u5206\u73ED")),(Xe.actionTabs.type===1||!hn)&&qn.length>0&&jt.createElement(je.Z,{data:qn,selectedRowKeys:Sn,setSelectedRowKeys:Bt})))};dn.Z=(0,ze.connect)(({classroomList:Ot})=>({classroomList:Ot}))(me)},99981:function(Yn,dn,z){"use strict";z.d(dn,{Q8:function(){return ve},d0:function(){return Mt},w6:function(){return Se}});var b=z(59301),xe=z(24017),ce=z(82326),nt=z(6767),Me=z(62957),Ce=z(47889),Be=z(77019),He=z(5269),Fe=z(25399),de=z(62673),Ke=z(7939),be=z(66649),vt=z.n(be),et=z(41867),$e=z(38147),ze=z(89392),je=z.n(ze),at=z(65862),Nt=z(61191),jt=z(65582),se=z(4324),Oe=z(66457),dt=z(42656),ht=z(83028),Rt=z(60979),_e=z(59301),lt=Object.defineProperty,ut=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Ot=(Ue,tn,rt)=>tn in Ue?lt(Ue,tn,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ue[tn]=rt,We=(Ue,tn)=>{for(var rt in tn||(tn={}))we.call(tn,rt)&&Ot(Ue,rt,tn[rt]);if(Te)for(var rt of Te(tn))me.call(tn,rt)&&Ot(Ue,rt,tn[rt]);return Ue},Xe=(Ue,tn)=>ut(Ue,Pe(tn)),Xt=(Ue,tn,rt)=>new Promise((Kt,ct)=>{var fn=ne=>{try{le(rt.next(ne))}catch(te){ct(te)}},xt=ne=>{try{le(rt.throw(ne))}catch(te){ct(te)}},le=ne=>ne.done?Kt(ne.value):Promise.resolve(ne.value).then(fn,xt);le((rt=rt.apply(Ue,tn)).next())});function Se(Ue,tn){const rt=[];for(let Kt=Ue;Kt<tn;Kt++)rt.push(Kt);return rt}const ve=(Ue,tn,rt)=>{const Kt=Ue<vt()().startOf("day"),ct=Ue>vt()(tn).endOf("day"),fn=Ue<vt()(rt).startOf("day");return tn?rt?vt()()<=vt()(rt)?fn||ct:Kt||ct:Ue&&Kt||ct:rt&&vt()()<=vt()(rt)?fn:Kt},Mt=(Ue,tn)=>{const rt=parseInt(vt()(Ue).format("HH")),Kt=parseInt(vt()().format("HH")),ct=parseInt(vt()().format("mm"));if(!Ue)return{disabledHours:()=>Se(0,Kt),disabledMinutes:()=>Se(0,ct)};if(tn){const fn=parseInt(vt()(tn).format("HH")),xt=parseInt(vt()(tn).format("mm"));return vt()(Ue).isSame(vt()(tn),"day")?{disabledHours:()=>Se(0,fn),disabledMinutes:()=>rt<=fn?Se(0,xt):[]}:void 0}if(vt()(Ue).isSame(vt()(),"day"))return{disabledHours:()=>Se(0,Kt),disabledMinutes:()=>vt()(Ue).isSame(vt()(),"hour")&&rt<=Kt?Se(0,ct):[]}},Jt=(Ue,tn)=>Ue==null?void 0:Ue.map(rt=>{var Kt;return(Kt=tn==null?void 0:tn.find(ct=>ct.value===rt))==null?void 0:Kt.id}),{RangePicker:Zt}=xe.default,{Option:pe}=ce.default,Re=({shixunHomeworks:Ue,loading:tn,dispatch:rt,classroomList:Kt,user:ct})=>{var fn,xt,le,ne,te,ae,he,re,ue;const De=(0,jt.useParams)(),{workSetting:st,workList:Qe,shixunWorkList:Ie,headerInfo:mt,changeData:Et}=Ue,[Tt,Le]=(0,b.useState)(!1),[Ye,vn]=(0,b.useState)(!1);let[Ht,Cn]=(0,b.useState)([]),[un,Ut]=(0,b.useState)([]),[on,mn]=(0,b.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:se.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[ft,Vt]=(0,b.useState)({}),[yn,Ct]=(0,b.useState)({});(0,b.useEffect)(()=>()=>{Cn([])},[]),(0,b.useEffect)(()=>{Le(!(0,et.GJ)())},[(0,et.GJ)()]);const Je=()=>{rt({type:"shixunHomeworks/getWorkSetting",payload:We({},De)})};(0,b.useEffect)(()=>{if(!(st!=null&&st.course_id))return;Object.keys(on).map(function(En){on[En]=st[En]}),(!on.allow_late||!on.unified_late)&&(on.late_penalty=20,on.penalty_type=se.Q.Percent),on.unified_setting||(on.unified_late=!1,on.unified_anonymous_comment=!1,on.unified_anonymous_appeal=!1),Ht=JSON.parse(JSON.stringify(st.group_settings.map(En=>Xe(We({},En),{group_name:[En.group_name]})).filter(En=>En.publish_time!==null))),un=JSON.parse(JSON.stringify(st.allow_late_settings.map(En=>Xe(We({},En),{group_name:[En.group_name]})).filter(En=>En.late_time!==null))),mn(We({},on));const Qt=(0,at.QE)((Ht==null?void 0:Ht.length)>0?Ht:[]);Cn([...Qt]),(un==null?void 0:un.length)<=0?Ut([{penalty_type:se.Q.Percent,late_penalty:20}]):Ut([...un])},[st]);const Wt=()=>Xt(void 0,null,function*(){var Qt,En,pn,xn,sn,Fn,St,Sn,Bt;if(((pn=(En=(Qt=ct==null?void 0:ct.userInfo)==null?void 0:Qt.course)==null?void 0:En.shixun_homework_info)==null?void 0:pn.shixun_homework_remaining_count)===0&&((sn=(xn=Ue==null?void 0:Ue.headerInfo)==null?void 0:xn.homework_status)!=null&&sn.includes("\u672A\u53D1\u5E03"))){(0,at.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(St=(Fn=(0,et.eY)())==null?void 0:Fn.course)==null?void 0:St.course_name}\u3011\u7684\u8BFE\u5802\u5B9E\u9A8C\u4F5C\u4E1A\u53D1\u5E03\u989D\u5EA6\u5DF2\u7528\u5B8C\u3002\u989D\u5EA6\u5C06\u4E8E\u6BCF\u65E524\u70B9\u91CD\u7F6E\uFF0C\u5C4A\u65F6\u5373\u53EF\u7EE7\u7EED\u53D1\u5E03\u3002\u5982\u9700\u7ACB\u5373\u53D1\u5E03\u66F4\u591A\u4F5C\u4E1A\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u6269\u5BB9\u3002`);return}if(((Sn=ct==null?void 0:ct.userInfo)==null?void 0:Sn.user_status)===2){(0,Oe.Rd)();return}const hn=JSON.parse(JSON.stringify(on));if(hn.challenge_settings.filter(On=>!On.hide),hn.categoryId=De.categoryId,(Bt=hn.challenge_settings)!=null&&Bt.every(On=>!On.checked)){nt.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Ht),!on.unified_setting)Ht=Ht==null?void 0:Ht.map(On=>{var Ln;if(!On.publish_time||!On.end_time)throw nt.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(!On.group_name)throw nt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return On.group_name=typeof(On==null?void 0:On.group_name)=="string"?[On==null?void 0:On.group_name]:On==null?void 0:On.group_name,On.group_id=(Ln=st.group_settings)==null?void 0:Ln.filter(nr=>{var Xn;return(Xn=On==null?void 0:On.group_name)==null?void 0:Xn.includes(nr.group_name)}).map(nr=>nr.group_id||nr.id).toString().split(","),On});else if(!on.publish_time||!on.end_time)throw nt.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(hn.group_settings=Ht,on.allow_late)if(on.unified_late){if(on.late_penalty===null||on.late_penalty===void 0||on.late_penalty<0||on.late_penalty>100)throw nt.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(!on.late_time)throw nt.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 un=un==null?void 0:un.map(On=>{var Ln,nr;if(On.late_penalty===null||On.late_penalty===void 0||On.late_penalty<0||On.late_penalty>100)throw nt.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(!On.late_time)throw nt.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(!On.group_name)throw nt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return On.group_name=typeof(On==null?void 0:On.group_name)=="string"?[On==null?void 0:On.group_name]:On==null?void 0:On.group_name,On.group_id=(nr=(Ln=On==null?void 0:On.group_name)==null?void 0:Ln.map(Xn=>{var nn,Pn;let en=(Pn=(nn=st.group_settings)==null?void 0:nn.filter(er=>(er==null?void 0:er.group_name)===Xn))==null?void 0:Pn[0];return en==null?void 0:en.group_id}))==null?void 0:nr.toString().split(","),On}),hn.allow_late_settings=un;let An=yield(0,Rt.Tr)({homework_common_ids:[parseInt(De.categoryId)],course_id:De.coursesId,type:"homework_common"});(An==null?void 0:An.student_count)===0?qt(hn):(Ct(hn),Vt(An))}),qt=Qt=>{var En;if(Qt.total_score===null){nt.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Qt!=null&&Qt.work_efficiency&&Qt.eff_score===null){nt.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const pn=Qt.challenge_settings.reduce((Fn,St)=>Fn+Number(St.challenge_score),0);if((pn==null?void 0:pn.toFixed(10))!==((En=Qt.total_score-Qt.eff_score)==null?void 0:En.toFixed(10))){nt.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Qt.total_score}\u5206`);return}const xn={shixun_evaluation:Qt.shixun_evaluation,challenge_settings:Qt.challenge_settings};let sn=()=>{var Fn;const St=()=>Xt(void 0,null,function*(){vn(!0),(yield(0,$e.ZP)(`/api/homework_commons/${De.categoryId}/publish_setting.json`,{method:"post",body:We({},Qt)})).status===0&&(nt.ZP.success("\u66F4\u65B0\u6210\u529F"),Je(),rt({type:"user/getUserInfo",payload:{course_id:De.coursesId}}),rt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:We({},De)})),vn(!1)});!(0,ze.isEqual)(Et,xn)&&!((Fn=mt==null?void 0:mt.homework_status)!=null&&Fn.includes("\u672A\u53D1\u5E03"))?Me.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:St}):St()};st!=null&&st.high_resources_consume&&!(st!=null&&st.high_resources_consume_permission)?rt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:De.coursesId,type:"shixun",type_id:De.categoryId,name:st.homework_name,fn:()=>{sn()}}}):sn()},ln=(Qt,En,pn="group_id")=>{var xn;return En?En.find(sn=>sn[pn]===Qt):(xn=st==null?void 0:st.group_settings)==null?void 0:xn.find(sn=>sn.group_id[0]===Qt)},Zn=(st==null?void 0:st.allow_late)||(st==null?void 0:st.anonymous_comment),qn=Qt=>{var En,pn;const xn=ln(Qt,st==null?void 0:st.allow_late_settings,"id"),sn=ln(Qt,st==null?void 0:st.anonymous_comment_settings),Fn=ln(Qt);return(st==null?void 0:st.allow_late)&&xn&&vt()(xn==null?void 0:xn.late_time)<=vt()()||(st==null?void 0:st.anonymous_comment)&&sn&&(sn==null?void 0:sn.evaluation_start)!==null||((pn=(vt()(Fn==null?void 0:Fn.end_time)<=vt()()&&((En=st==null?void 0:st.allow_late_settings)==null?void 0:En.filter(St=>St.group_id.includes(Qt))))[0])==null?void 0:pn.late_time)!=null},mr=(0,b.useMemo)(()=>(st==null?void 0:st.allow_late)||(st==null?void 0:st.all_group_late),[st,mt]),vr=st==null?void 0:st.anonymous_comment,_n=Qt=>{if(!Qt)return!1;const En=ln(Qt,st==null?void 0:st.anonymous_comment_settings);return(st==null?void 0:st.anonymous_comment)&&En&&(En==null?void 0:En.evaluation_start)!==null},dr=(Qt,En)=>{var pn,xn,sn,Fn,St;Qt!=null&&Qt.group_id||(Qt.group_id=Jt(Qt==null?void 0:Qt.group_name,st==null?void 0:st.group_settings)),rt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Qt,index:En,rangePickerDisabled:(xn=(pn=Qt==null?void 0:Qt.group_id)==null?void 0:pn[0])!=null&&xn.publish_time?Tt||(vt()()<=vt()((Fn=ln((sn=Qt==null?void 0:Qt.group_id)==null?void 0:sn[0]))==null?void 0:Fn.publish_time)?!1:[!0,qn((St=Qt==null?void 0:Qt.group_id)==null?void 0:St[0])]):!1,disabledDate:st==null?void 0:st.course_end_date}})};return _e.createElement("section",{className:Nt.Z.form},_e.createElement("div",{className:Nt.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",_e.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")),_e.createElement("div",null,_e.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},_e.createElement(Ce.ZP.Group,{disabled:Tt||!((fn=mt==null?void 0:mt.homework_status)!=null&&fn.includes("\u672A\u53D1\u5E03"))||(0,et.Rm)()&&!((xt=Kt.AssistantObject.practice)!=null&&xt.can_publish),value:on.unified_setting,onChange:Qt=>{var En;if(!((En=mt==null?void 0:mt.homework_status)!=null&&En.includes("\u672A\u53D1\u5E03"))){nt.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(on.unified_setting=!on.unified_setting,on.unified_setting||(on.unified_late=!1,Ut([{late_penalty:5}])),mn(Object.assign({},on)),on.unified_setting===!1&&Ht==""){Cn(Ht.concat({}));return}on.unified_setting&&(Cn([]),Ut([{late_penalty:5}]))}},_e.createElement(Ce.ZP,{value:!0,disabled:Tt||!(st!=null&&st.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),_e.createElement(Ce.ZP,{disabled:Tt||!((le=st==null?void 0:st.group_settings)!=null&&le.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ne=st==null?void 0:st.group_settings)==null?void 0:ne.length)===0&&_e.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")),on.unified_setting&&_e.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},_e.createElement(Be.Z,{align:"middle"},_e.createElement(He.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),_e.createElement(He.Z,{className:"ml10"},_e.createElement(xe.default,{size:"large",disabled:Tt||!((te=mt==null?void 0:mt.homework_status)!=null&&te.includes("\u672A\u53D1\u5E03")||(ae=mt==null?void 0:mt.homework_status)!=null&&ae.includes("\u672A\u5F00\u59CB"))||(0,et.Rm)()&&!((he=Kt.AssistantObject.practice)!=null&&he.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:Qt=>ve(Qt,st==null?void 0:st.course_end_date),disabledTime:Qt=>Mt(Qt),value:on.publish_time?vt()(on.publish_time):"",onChange:(Qt,En)=>{on.publish_time=En,(on.end_time==""||!on.end_time)&&on.unified_setting&&(on.end_time=vt()(Qt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),mn(Object.assign({},on))}}))),_e.createElement(Be.Z,{align:"middle",className:"pl30"},_e.createElement(He.Z,null,"\u622A\u6B62\u65F6\u95F4"),_e.createElement(He.Z,{className:"ml10"},_e.createElement(xe.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:vt()((0,at.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(st==null?void 0:st.allow_late)&&(st==null?void 0:st.homework_status.includes("\u5DF2\u622A\u6B62"))||Tt||(st==null?void 0:st.allow_late)&&vt()()>=vt()(st==null?void 0:st.end_time)||(0,et.Rm)()&&!((re=Kt.AssistantObject.practice)!=null&&re.can_publish),disabledDate:Qt=>ve(Qt,st==null?void 0:st.course_end_date,on.publish_time),disabledTime:Qt=>Mt(Qt,on.publish_time),value:on.end_time?vt()(on.end_time):"",onChange:(Qt,En)=>{on.end_time=En,mn(Object.assign({},on))}})))),!on.unified_setting&&(Ht==null?void 0:Ht.length)>0&&_e.createElement(Be.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Ht&&Ht.map(function(Qt,En){var pn,xn,sn,Fn,St,Sn,Bt;return _e.createElement(He.Z,{span:24,key:En},_e.createElement(Be.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:En==(Ht==null?void 0:Ht.length)-1?"0px":"10px"}},_e.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",En+1),_e.createElement(ce.default,{disabled:Tt||((pn=mt==null?void 0:mt.homework_status)!=null&&pn.includes("\u672A\u53D1\u5E03")&&Qt.id||vt()()<vt()(Qt==null?void 0:Qt.publish_time)?!1:!!(Qt!=null&&Qt.publish_time))||(0,et.Rm)()&&!((xn=Kt.AssistantObject.practice)!=null&&xn.can_publish),mode:"multiple",className:Nt.Z.multiple_select,style:{width:"250px"},value:Qt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:hn=>{var An;if((0,et.Rm)()&&!((An=Kt.AssistantObject.practice)!=null&&An.can_publish)){nt.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}Ht[En].group_name=hn,Ht[En].group_id=Qt.group_id;const On=(0,ze.flattenDeep)(Ht.map(nr=>nr.group_name)),Ln=un.map(nr=>{let Xn=(nr==null?void 0:nr.group_name)||[];return Xe(We({},nr),{group_name:(0,ze.remove)(Xn,nn=>On.includes(nn))})});Ut(Ln),Cn(Ht.slice())},maxTagCount:4,maxTagPlaceholder:hn=>_e.createElement("div",{style:{cursor:"pointer"},onClick:()=>dr(Qt,En)},"+",hn==null?void 0:hn.length)},st.group_settings&&st.group_settings.map(function(hn){if(!Ht.map(On=>On.group_name).flat().includes(hn.group_name))return _e.createElement(pe,{value:hn.group_name,key:hn.id},hn.group_name)})),_e.createElement("div",{className:"ml20"},_e.createElement(Zt,{size:"large",ranges:{\u6B64\u523B:[Qt.publish_time?vt()(Qt.publish_time):vt()(),vt()()]},allowClear:!1,disabled:Tt||(vt()()<=vt()((Fn=ln((sn=Qt==null?void 0:Qt.group_id)==null?void 0:sn[0]))==null?void 0:Fn.publish_time)?!1:[!0,qn((St=Qt==null?void 0:Qt.group_id)==null?void 0:St[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:hn=>ve(hn,st==null?void 0:st.course_end_date),disabledTime:hn=>Mt(hn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[vt()((0,at.U6)(),"HH:mm"),vt()((0,at.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[Qt.publish_time?vt()(Qt.publish_time):void 0,Qt.end_time?vt()(Qt.end_time):void 0],onChange:(hn,An)=>{var On;if((0,et.Rm)()&&!((On=Kt.AssistantObject.practice)!=null&&On.can_publish)){nt.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}Ht[En].publish_time=An[0],!Qt.end_time&&An[0]?Ht[En].end_time=vt()(An[0]).add(7,"days"):Ht[En].end_time=An[1],Cn([...Ht])},onCalendarChange:(hn,An,On)=>{if(An!=null&&An[0]&&!An[1]){const Ln=vt()(An[0]).add(7,"days");Ht[En].publish_time=An[0],Ht[En].end_time=Ln,Cn([...Ht])}}})),!Tt&&_e.createElement("div",{style:{display:"flex",width:"50px"}},((Sn=Qt==null?void 0:Qt.group_id)==null?void 0:Sn.length)>1&&_e.createElement(Fe.Z,{title:"\u89C4\u5219\u62C6\u5206"},_e.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>dr(Qt,En)})),Ht.length<((Bt=st==null?void 0:st.group_settings)==null?void 0:Bt.length)&&_e.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var hn;if((0,et.Rm)()&&!((hn=Kt.AssistantObject.practice)!=null&&hn.can_publish)){nt.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(Ht.concat({}))}}),((Qt==null?void 0:Qt.publish_time)&&vt()()<vt()(Qt==null?void 0:Qt.publish_time)||!(Qt!=null&&Qt.publish_time))&&En!=0&&_e.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const hn=(0,ze.cloneDeep)(un);hn.forEach((An,On)=>{An.group_name&&(An.group_name=An.group_name.filter(Ln=>{var nr;return!((nr=Ht[En].group_name)!=null&&nr.includes(Ln))}))}),Ht=Ht.filter((An,On)=>En!==On),Ut(hn),Cn(Ht.slice()),setTimeout(()=>Cn(Ht.slice()),10)}}))))}))),_e.createElement(Be.Z,null,_e.createElement(He.Z,null,_e.createElement("div",{className:Nt.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",_e.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"))),_e.createElement(He.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},_e.createElement(de.default,{checked:on.allow_late,disabled:Tt||mr,onChange:Qt=>{var En;if((0,et.Rm)()&&!((En=Kt.AssistantObject.practice)!=null&&En.can_late)){nt.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.target.checked&&Me.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:_e.createElement("div",{style:{padding:10,background:"#f5f6f9"}},_e.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"),_e.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),_e.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"))}),on.allow_late=!on.allow_late,un==""&&Ut([{late_penalty:5}]),mn(Object.assign({},on))}},_e.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(on==null?void 0:on.allow_late)&&_e.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},_e.createElement("div",{style:{display:"flex"}},_e.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),_e.createElement(Ce.ZP.Group,{style:{marginLeft:"20px"},disabled:Tt||(st==null?void 0:st.anonymous_comment)||(st==null?void 0:st.allow_late),value:on.unified_late,onChange:Qt=>{var En;if((0,et.Rm)()&&!((En=Kt.AssistantObject.practice)!=null&&En.can_late)){nt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}on.unified_late=Qt.target.value,un==""&&!Qt.target.value&&Ut([{penalty_type:se.Q.Percent,late_penalty:20}]),mn(We({},on))}},(on==null?void 0:on.unified_setting)&&_e.createElement(Ce.ZP,{value:!0,disabled:!(st!=null&&st.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((ue=st==null?void 0:st.group_settings)==null?void 0:ue.length)>0&&_e.createElement(Ce.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),on!=null&&on.unified_late?_e.createElement(_e.Fragment,null,_e.createElement(Be.Z,{align:"middle",style:{marginTop:"10px"}},_e.createElement(He.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),_e.createElement(He.Z,{className:"ml20"},_e.createElement(se.Z,{disabled:Tt||vr,value:{type:on.penalty_type,inputValue:on.late_penalty},onChange:Qt=>{var En;if((0,et.Rm)()&&!((En=Kt.AssistantObject.practice)!=null&&En.can_late)){nt.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}mn(Xe(We({},on),{late_penalty:Qt.inputValue,penalty_type:Qt.type}))}})),_e.createElement(He.Z,{flex:"1",className:"ml5"},_e.createElement("span",{className:"c-grey-c ml10"},on.penalty_type===se.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)"))),_e.createElement(Be.Z,{align:"middle",style:{marginTop:"15px"}},_e.createElement(He.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),_e.createElement(He.Z,{className:"ml20"},_e.createElement(xe.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:vt()((0,at.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Tt||vr,value:on.late_time?vt()(on.late_time):"",disabledDate:Qt=>ve(Qt,st==null?void 0:st.course_end_date),onChange:(Qt,En)=>{var pn;if((0,et.Rm)()&&!((pn=Kt.AssistantObject.practice)!=null&&pn.can_late)){nt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}on.late_time=En,mn(Object.assign({},on))}})))):un.map(function(Qt,En){var pn;return _e.createElement(He.Z,{span:24,key:En},_e.createElement(Be.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},_e.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",En+1),_e.createElement(ce.default,{disabled:Tt||!((pn=mt==null?void 0:mt.homework_status)!=null&&pn.includes("\u672A\u53D1\u5E03"))&&Qt.id||(st==null?void 0:st.anonymous_comment),mode:"multiple",className:Nt.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Qt.group_name=="string"?[Qt.group_name]:Qt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:xn=>{var sn;if((0,et.Rm)()&&!((sn=Kt.AssistantObject.practice)!=null&&sn.can_late)){nt.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}un[En].group_name=xn,un[En].group_id=Qt.group_id,Ut(un.slice())}},st.group_settings&&st.group_settings.map(function(xn){const sn=un.map(St=>St.group_name).flat(),Fn=Ht.map(St=>St.group_name).flat();if(on!=null&&on.unified_setting){if(!sn.includes(xn.group_name))return _e.createElement(pe,{value:xn.group_name,key:xn.id},xn.group_name)}else if(Fn.includes(xn.group_name)&&!sn.includes(xn.group_name))return _e.createElement(pe,{value:xn.group_name,key:xn.id},xn.group_name)})),_e.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),_e.createElement(se.Z,{disabled:Tt||_n(Qt.id),value:{type:Qt.penalty_type,inputValue:Qt.late_penalty},onChange:xn=>{var sn;if((0,et.Rm)()&&!((sn=Kt.AssistantObject.practice)!=null&&sn.can_late)){nt.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}un[En].late_penalty=xn.inputValue,un[En].penalty_type=xn.type,Ut([...un])}}),_e.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),_e.createElement(xe.default,{size:"large",disabled:Tt||_n(Qt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:vt()((0,at.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:xn=>ve(xn,st==null?void 0:st.course_end_date),format:"YYYY-MM-DD HH:mm",value:Qt!=null&&Qt.late_time?vt()(Qt.late_time):void 0,onChange:(xn,sn)=>{var Fn;if((0,et.Rm)()&&!((Fn=Kt.AssistantObject.practice)!=null&&Fn.can_late)){nt.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}un[En].late_time=sn,Ut([...un])}}),!Tt&&_e.createElement("div",{style:{display:"flex",width:"50px"}},_e.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var xn;if((0,et.Rm)()&&!((xn=Kt.AssistantObject.practice)!=null&&xn.can_late)){nt.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}Ut(un.concat({penalty_type:se.Q.Percent,late_penalty:20}))}}),En>0&&!Qt.id&&_e.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var xn;if((0,et.Rm)()&&!((xn=Kt.AssistantObject.practice)!=null&&xn.can_late)){nt.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}un=un.filter((sn,Fn)=>En!==Fn),Ut(un.slice()),setTimeout(()=>Ut(un.slice()),10)}}))))})),!Tt&&_e.createElement(_e.Fragment,null,_e.createElement(Ke.ZP,{type:"primary",size:"large",loading:Ye,style:{width:"138px",marginTop:"30px"},onClick:()=>Wt()},"\u4FDD\u5B58")),_e.createElement(dt.Z,{onConfirm:(Qt,En)=>{Ht.splice(Qt,0,...En),Ht.splice(Qt+En.length,1);const pn=(0,at.QE)([...Ht]);Cn([...pn])}}),_e.createElement(ht.Z,{resdata:ft,type:"shixun",okloading:Ye,oktext:(ft==null?void 0:ft.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Qt=>Xt(void 0,null,function*(){vn(!0);let En=yield(0,$e.ZP)(`/api/courses/${De.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(De.categoryId)]}});vn(!1),(En==null?void 0:En.status)===0&&qt(yn)})}))};dn.ZP=(0,jt.connect)(({shixunHomeworks:Ue,classroomList:tn,loading:rt,user:Kt})=>({shixunHomeworks:Ue,classroomList:tn,loading:rt.effects,user:Kt}))(Re)},91704:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return de}});var b=z(59301),xe=z(37568),ce=z(62673),nt=z(77019),Me={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",Be=z(2524),He=(Ke,be,vt)=>new Promise((et,$e)=>{var ze=Nt=>{try{at(vt.next(Nt))}catch(jt){$e(jt)}},je=Nt=>{try{at(vt.throw(Nt))}catch(jt){$e(jt)}},at=Nt=>Nt.done?et(Nt.value):Promise.resolve(Nt.value).then(ze,je);at((vt=vt.apply(Ke,be)).next())}),de=({data:Ke,value:be=[],handleChangePage:vt,className:et="",setSelectedRowKeys:$e,selectedRowKeys:ze,onChange:je=()=>{}})=>{const[at,Nt]=(0,b.useState)([]),[jt,se]=(0,b.useState)([]),[Oe,dt]=(0,b.useState)([]);let[ht,Rt]=(0,b.useState)(1),[_e,lt]=(0,b.useState)();return(0,b.useEffect)(()=>{Nt(Ke),se([]),dt([])},[Ke]),(0,b.useEffect)(()=>{$e&&(se(ze),dt(ze))},[ze]),b.createElement("div",{className:`flex justify-between w-full ${et}`},b.createElement("div",{className:Me.leftdiv},b.createElement(xe.default.Search,{size:"middle",style:{marginBottom:"10rem"},onChange:ut=>He(void 0,null,function*(){Nt(Ke.filter(Pe=>{var Te;return(Te=Pe==null?void 0:Pe.name)==null?void 0:Te.includes(ut.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),at.length===0&&b.createElement(Be.Z,{styles:{margin:"70rem auto"},customText:"\u6682\u65E0\u5206\u73ED"}),b.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},b.createElement(ce.default.Group,{value:jt.map(ut=>`${ut.id}`),onChange:ut=>{$e(at.filter(Pe=>ut.includes(`${Pe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},at.map((ut,Pe)=>b.createElement(nt.Z,{key:ut.id,style:{marginTop:"10rem",lineHeight:"24rem",display:"flex",width:"200rem"}},b.createElement(ce.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:ut.is_published,value:`${ut.id}`},b.createElement("div",{className:Me.listClass},b.createElement("span",{className:Me.spantitle,style:{width:ut.is_published?"108px":"170px"}},ut.name),ut.is_published&&b.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),b.createElement("div",{className:Me.rightdiv},b.createElement(xe.default.Search,{onChange:ut=>{dt(jt.filter(Pe=>Pe.name.includes(ut.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Oe.length===0&&b.createElement(Be.Z,{imgStyles:{width:"200rem"},styles:{margin:"70rem auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Oe.length>0&&b.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},b.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Oe.map((ut,Pe)=>b.createElement("div",{className:"flex justify-between item-center",style:{marginTop:"10rem"},key:ut.id},b.createElement("div",{className:"multi_ellipsis1 flex-1 minW-0",style:{margin:"0 5rem"}},ut.name),b.createElement("img",{src:Ce,className:"current",style:{height:"16rem",marginRight:"17rem"},onClick:()=>{$e(jt.filter(Te=>`${Te.id}`!=`${ut.id}`))}})))))))}},42656:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return je}});var b=z(59301),xe=z(65582),ce=z(24017),nt=z(62957),Me=z(37568),Ce=z(6767),Be=z(77019),He=z(5269),Fe={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},de=z(66649),Ke=z.n(de),be=z(65862),vt=z(2524),et=z(59301);const{RangePicker:$e}=ce.default,ze=({dispatch:at,classroomList:Nt,onConfirm:jt})=>{const[se,Oe]=(0,b.useState)([]),[dt,ht]=(0,b.useState)([]),[Rt,_e]=(0,b.useState)(""),[lt,ut]=(0,b.useState)([!1,!1]);(0,b.useEffect)(()=>{var we,me,Ot,We;if(Nt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((we=Nt.actionTabs)==null?void 0:we.rangePickerDisabled),(me=Nt.actionTabs)!=null&&me.rangePickerDisabled?ut((Ot=Nt.actionTabs)==null?void 0:Ot.rangePickerDisabled):ut([!1,!1]);let Xe=Nt.actionTabs.data,Xt=(We=Xe==null?void 0:Xe.group_name)==null?void 0:We.map((Se,ve)=>{var Mt;return{group_id:Xe==null?void 0:Xe.group_id[ve],group_name:Xe==null?void 0:Xe.group_name[ve],is_admin:Xe==null?void 0:Xe.is_admin,end_time:Xe==null?void 0:Xe.end_time,publish_time:Array.isArray(Xe==null?void 0:Xe.publish_time)?(Mt=Xe==null?void 0:Xe.publish_time)==null?void 0:Mt[0]:Xe==null?void 0:Xe.publish_time}});Xt&&(Oe([...Xt]),ht([...Xt]))}},[Nt.actionTabs]);const Pe=()=>{at({type:"classroomList/setActionTabs",payload:{}}),_e("")},Te=we=>{if(we){const me=dt==null?void 0:dt.filter(Ot=>{var We,Xe;return(Xe=(We=Ot==null?void 0:Ot.group_name)==null?void 0:We.toLowerCase())==null?void 0:Xe.includes(we==null?void 0:we.toLowerCase())});Oe(me)}else Oe(dt)};return et.createElement(nt.default,{width:980,title:et.createElement("div",{style:{fontWeight:"bold",display:"flex"}},et.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",et.createElement("span",{className:Fe.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")),et.createElement(Me.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:Rt,onChange:we=>{_e(we.target.value.trim()),Te(we.target.value.trim())}})),centered:!0,maskClosable:!1,open:Nt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Pe(),onOk:()=>{var we;if(dt.some(Ot=>!Ot.end_time||!Ot.publish_time)){Ce.ZP.warning("\u8BF7\u5C06\u5217\u8868\u6570\u636E\u4E2D\u7684\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u8865\u5145\u5B8C\u6574\uFF01");return}jt((we=Nt.actionTabs)==null?void 0:we.index,dt),Pe()}},et.createElement("div",{className:Fe.modal_con},et.createElement(Be.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(se==null?void 0:se.length)>0?se.map(function(we,me){return et.createElement(He.Z,{span:24,key:me},et.createElement(Be.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:me==(se==null?void 0:se.length)-1?"0px":"10px"}},et.createElement("div",{className:Fe.multiple_select,title:we==null?void 0:we.group_name},we==null?void 0:we.group_name),et.createElement("div",{className:"ml20"},et.createElement($e,{size:"large",allowClear:!1,disabled:lt,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:Ot=>{var We;return(0,be.Q8)(Ot,(We=Nt.actionTabs)==null?void 0:We.disabledDate)},disabledTime:Ot=>(0,be.d0)(Ot),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ke()((0,be.U6)(),"HH:mm"),Ke()((0,be.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(we==null?void 0:we.publish_time)&&[Ke()(we==null?void 0:we.publish_time),we!=null&&we.end_time?Ke()(we==null?void 0:we.end_time):void 0],onChange:(Ot,We)=>{se[me].publish_time=We[0],se[me].end_time=We[1],Oe([...se]),dt.forEach(Xe=>{Xe.group_id===(we==null?void 0:we.group_id)&&(Xe.publish_time=We[0],Xe.end_time=We[1])}),ht([...dt])},onCalendarChange:(Ot,We,Xe)=>{if(We!=null&&We[0]&&!We[1]){const Xt=Ke()(We[0]).add(7,"days");se[me].publish_time=We[0],se[me].end_time=Xt,Oe([...se]),dt.forEach(Se=>{Se.group_id===(we==null?void 0:we.group_id)&&(Se.publish_time=We[0],Se.end_time=Xt)}),ht([...dt])}}})),lt[0]?et.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):et.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{se.splice(me,1),Oe([...se]),dt.forEach((Ot,We)=>{Ot.group_id===(we==null?void 0:we.group_id)&&dt.splice(We,1)}),ht([...dt])}})))}):et.createElement(vt.Z,null))))};var je=(0,xe.connect)(({classroomList:at})=>({classroomList:at}))(ze)},44589:function(Yn,dn,z){"use strict";z.d(dn,{i:function(){return se},q:function(){return jt}});var b=z(59301),xe={flex_box_center:"flex_box_center___yMUhy",flex_space_between:"flex_space_between___KNvG9",flex_box_vertical_center:"flex_box_vertical_center___yqWY9",flex_box_center_end:"flex_box_center_end___DJKuV",flex_box_column:"flex_box_column___NTtN1",singleSelect:"singleSelect___fU3O9",multipleSelect:"multipleSelect___LFXCB",plus:"plus___gdDhG"},ce=z(92310),nt=z.n(ce),Me=z(25399),Ce=z(82326),Be=z(7939),He=z(38147),Fe=Object.defineProperty,de=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,$e=(Oe,dt,ht)=>dt in Oe?Fe(Oe,dt,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Oe[dt]=ht,ze=(Oe,dt)=>{for(var ht in dt||(dt={}))vt.call(dt,ht)&&$e(Oe,ht,dt[ht]);if(be)for(var ht of be(dt))et.call(dt,ht)&&$e(Oe,ht,dt[ht]);return Oe},je=(Oe,dt)=>de(Oe,Ke(dt)),at=(Oe,dt)=>{var ht={};for(var Rt in Oe)vt.call(Oe,Rt)&&dt.indexOf(Rt)<0&&(ht[Rt]=Oe[Rt]);if(Oe!=null&&be)for(var Rt of be(Oe))dt.indexOf(Rt)<0&&et.call(Oe,Rt)&&(ht[Rt]=Oe[Rt]);return ht},Nt=(Oe,dt,ht)=>new Promise((Rt,_e)=>{var lt=Te=>{try{Pe(ht.next(Te))}catch(we){_e(we)}},ut=Te=>{try{Pe(ht.throw(Te))}catch(we){_e(we)}},Pe=Te=>Te.done?Rt(Te.value):Promise.resolve(Te.value).then(lt,ut);Pe((ht=ht.apply(Oe,dt)).next())});const jt=Oe=>{var dt=Oe,{wrapClassName:ht,wrapStyle:Rt={},showLinkButton:_e=!0,tooltipTitle:lt="",loadGeneral:ut=!1,data:Pe={}}=dt,Te=at(dt,["wrapClassName","wrapStyle","showLinkButton","tooltipTitle","loadGeneral","data"]);const we="course_disciplines_list",[me,Ot]=(0,b.useState)(()=>{const Mt=sessionStorage.getItem(we);return Mt?JSON.parse(Mt):[]}),[We,Xe]=(0,b.useState)(!1),[Xt,Se]=(0,b.useState)(!0);(0,b.useEffect)(()=>{ve()},[]);const ve=()=>Nt(void 0,null,function*(){var Mt,Jt,Zt,pe;Xe(!0);const Re=yield(0,He.U2)("v2/course_disciplines.json",Pe);if(Re.status===0){const Ue=((Jt=(Mt=Re==null?void 0:Re.data)==null?void 0:Mt.list)==null?void 0:Jt.map(tn=>({value:tn.id,label:tn.name})))||[];if(Ot(Ue),Se(!1),sessionStorage.setItem(we,JSON.stringify(Ue)),Xt){const tn=(pe=(Zt=Re==null?void 0:Re.data)==null?void 0:Zt.list)==null?void 0:pe.find(rt=>rt.is_default);ut&&tn&&Te.onChange(tn==null?void 0:tn.id)}}Xe(!1)});return b.createElement("div",{className:nt()(xe.singleSelect,ht),style:Rt},b.createElement(Me.Z,{title:lt},b.createElement(Ce.default,ze({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B",loading:We,options:me,onDropdownVisibleChange:Mt=>{Mt&&ve()}},Te))),_e&&b.createElement(Be.ZP,{type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u8BFE\u7A0B"))},se=Oe=>{var dt=Oe,{wrapClassName:ht,wrapStyle:Rt={},showLinkButton:_e=!0,courseDisciplineId:lt="",isPlusHeight:ut=!1,tooltipTitle:Pe,allowAcceptEmpty:Te=!1,data:we={}}=dt,me=at(dt,["wrapClassName","wrapStyle","showLinkButton","courseDisciplineId","isPlusHeight","tooltipTitle","allowAcceptEmpty","data"]);const[Ot,We]=(0,b.useState)([]),[Xe,Xt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Se()},[lt]);const Se=()=>Nt(void 0,null,function*(){var ve,Mt;if(!Te&&!lt){We([]);return}Xt(!0);const Jt=yield(0,He.U2)(`v2/course_disciplines/${lt||"all"}.json`,we);if(Jt.status===0){const Zt=((Mt=(ve=Jt==null?void 0:Jt.data)==null?void 0:ve.tag_disciplines)==null?void 0:Mt.map(pe=>({value:pe.id,label:pe.name})))||[];Zt.length&&We(Zt)}Xt(!1)});return b.createElement("div",{className:nt()(xe.multipleSelect,ht),style:Rt},b.createElement(Me.Z,{title:Pe},b.createElement(Ce.default,je(ze({allowClear:!0,mode:"multiple",optionFilterProp:"label",placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9",loading:Xe,options:Ot,maxTagCount:"responsive",onDropdownVisibleChange:ve=>{ve&&Se()}},me),{className:nt()(me.className,ut&&xe.plus)}))),_e&&b.createElement(Be.ZP,{className:xe.btn,type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u77E5\u8BC6\u70B9"))}},49142:function(Yn,dn,z){"use strict";z.d(dn,{AL:function(){return se},Iy:function(){return Ke},Qv:function(){return et},ez:function(){return jt},jb:function(){return be}});var b=z(32834),xe=z.n(b),ce=z(11690),nt=z.n(ce);let Me=1;function Ce(_e,lt){const ut=_e.match(/^(\s+)(?:```)/);if(ut===null)return lt;const Pe=ut[1];return lt.split(`
`).map(Te=>{const we=Te.match(/^\s+/);if(we===null)return Te;const[me]=we;return me.length>=Pe.length?Te.slice(Pe.length):Te}).join(`
`)}let Be=[],He=["<ul>"];const Fe=new(xe()).Renderer,de=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ke(){Be.length=0,He=["<ul>"]}const be={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function vt(_e,lt,ut,Pe){if(lt>=_e.length||_e[lt].level<=ut)return lt;var Te=_e[lt];Pe.push("<li><a href='#"+Me+Te.anchor+"'>"+Te.text+"</a>"),lt++;var we=[];return lt=vt(_e,lt,Te.level,we),we.length>0&&(Pe.push("<ul>"),we.forEach(function(me){Pe.push(me)}),Pe.push("</ul>")),Pe.push("</li>"),lt=vt(_e,lt,ut,Pe),lt}function et(){return vt(Be,0,0,He),He.push("</ul>"),He.join("")}const $e={heading(_e){const lt=de.exec(_e);if(Me+=1,lt)return{type:"heading",raw:lt[0],depth:lt[1].length,text:lt[2]}},fences(_e){const lt=this.rules.block.fences.exec(_e);if(lt){const ut=lt[0];let Pe=Ce(ut,lt[3]||"");const Te=lt[2]?lt[2].trim():lt[2];if(["latex","katex","math"].indexOf(Te)>=0){const we=at(),me=Pe;Pe=we,Nt[we]={type:"block",expression:me}}return{type:"code",raw:ut,lang:Te,text:Pe}}}},ze=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let je=0;const at=()=>`__special_katext_id_${je++}__`;let Nt={};function jt(){return Nt}function se(){je=0,Nt={}}function Oe(_e){return _e=_e.replace(ze,(lt,ut)=>{const Pe=at();return Nt[Pe]={type:"inline",expression:ut},Pe}),_e}const dt=Fe.listitem;Fe.listitem=function(_e){return dt(Oe(_e))};const ht=Fe.paragraph;Fe.paragraph=function(_e){return ht(Oe(_e))};const Rt=Fe.tablecell;Fe.tablecell=function(_e,lt){return Rt(Oe(_e),lt)},Fe.code=function(_e,lt,ut){const Pe=(lt||"").match(/\S*/)[0];return Pe?["latex","katex","math"].indexOf(Pe)>=0?`<p class='editormd-tex'>${_e}</p>`:`<pre class="prettyprint linenums"><code class="language-${lt}">${ut?_e:(0,ce.escape)(_e,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(ut?_e:(0,ce.escape)(_e,!0))+"</code></pre>"},Fe.heading=function(_e,lt,ut){let Pe=this.options.headerPrefix+ut.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Be.push({anchor:Pe,level:lt,text:_e}),"<h"+lt+' id="'+Me+Pe+'">'+_e+"</h"+lt+">"},xe().setOptions({silent:!0,gfm:!0,pedantic:!1}),xe().use({tokenizer:$e,renderer:Fe}),dn.ZP=xe()},66457:function(Yn,dn,z){"use strict";z.d(dn,{rX:function(){return Oe},pW:function(){return dt},gy:function(){return ht},xY:function(){return se},O5:function(){return jt},hs:function(){return ze},tJ:function(){return et},o1:function(){return $e},Rd:function(){return Nt}});var b=z(65582),xe=z(62957),ce=z(37285),nt=z(6767),Me=z(41867),Ce=z(65862),Be=z(87169),He=z(25510),Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzu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Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",de=z.p+"static/newqrcode.a8740efb.png",Ke=z(32637),be=z(59301),vt=(Rt,_e,lt)=>new Promise((ut,Pe)=>{var Te=Ot=>{try{me(lt.next(Ot))}catch(We){Pe(We)}},we=Ot=>{try{me(lt.throw(Ot))}catch(We){Pe(We)}},me=Ot=>Ot.done?ut(Ot.value):Promise.resolve(Ot.value).then(Te,we);me((lt=lt.apply(Rt,_e)).next())});const et=(Rt,_e=!1,lt=!1,ut="",Pe=!1)=>!!($e(Rt)&&je(Rt,_e,lt,ut,Pe)),$e=Rt=>(0,Me.bg)()?!0:(Rt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ze=Rt=>{var _e,lt,ut;const{user:Pe}=(0,b.getDvaApp)()._store.getState();(0,Me.bg)()&&!((lt=(_e=Pe==null?void 0:Pe.userInfo)==null?void 0:_e.course)!=null&&lt.course_public)&&!((ut=Pe==null?void 0:Pe.userInfo)!=null&&ut.profile_completed)&&Rt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},je=(Rt,_e=!1,lt=!0,ut="",Pe=!1)=>{var Te;const{user:we}=(0,b.getDvaApp)()._store.getState();return(Te=we.userInfo)!=null&&Te.profile_completed?!0:(lt?Rt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:ut,isCurrentPage:Pe}}):xe.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,Ce.xg)("/account/profile/edit"),at()}}),!1)},at=()=>{xe.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()}})},Nt=()=>{xe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:be.createElement("div",{style:{textAlign:"center"}},be.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"),be.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ke}),be.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},jt=()=>{var Rt;const{user:_e}=(0,b.getDvaApp)()._store.getState();return(Rt=_e.userInfo)!=null&&Rt.professional_certification?!0:(xe.default.confirm({title:"\u63D0\u793A",centered:!0,content:be.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,Ce.xg)("/account/certification")}}),!1)},se=()=>(0,Me.V9)()?!0:(xe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:be.createElement("div",{className:"tc",style:{marginLeft:-38}},be.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),be.createElement("img",{src:de,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Oe=(Rt,_e)=>Rt?!0:(xe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:be.createElement("div",null,be.createElement("p",null,_e||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),be.createElement("div",{style:{marginLeft:"110px"}},be.createElement("img",{src:Fe,width:200}),be.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ce.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),dt=Rt=>{xe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:be.createElement("div",null,be.createElement("div",null,be.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"),be.createElement(ce.Z,null),be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",be.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 ",be.createElement("a",null,Rt),"\u5929\u3002"),be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",be.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")),be.createElement("div",{style:{textAlign:"center",marginTop:30}},be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:He,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ht=(Rt,_e="")=>{const{shixunsDetail:{detail:lt}}=(0,b.getDvaApp)()._store.getState();if((lt==null?void 0:lt.public)===2||(lt==null?void 0:lt.public)===1||(lt==null?void 0:lt.shixun_status)===3){let ut="";return(lt==null?void 0:lt.public)===2&&(ut="\u5DF2\u516C\u5F00"),(lt==null?void 0:lt.public)===1&&(ut="\u5F85\u5BA1\u6838"),(lt==null?void 0:lt.shixun_status)===3&&(ut="\u5DF2\u5173\u95ED"),xe.default.info({centered:!0,icon:be.createElement(Be.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:be.createElement("div",{className:"tc",style:{marginLeft:-38}},be.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ut,"\uFF0C",_e,"\u3002"),be.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:He,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(lt==null?void 0:lt.shixun_status)===2?(xe.default.confirm({centered:!0,icon:be.createElement(Be.Z,null),title:"\u63D0\u793A",content:be.createElement("div",null,be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",_e,"\u3002"),be.createElement("br",null),be.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:()=>{xe.default.confirm({width:440,centered:!0,icon:be.createElement(Be.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:()=>vt(void 0,null,function*(){(yield Rt({type:"shixunsDetail/cancelRelease",payload:{id:lt==null?void 0:lt.identifier}})).status!==401&&(nt.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Rt({type:"shixunsDetail/getShixunsDetail",payload:{id:lt==null?void 0:lt.identifier}}),Rt({type:"practiceSetting/getCommonData",payload:{id:lt==null?void 0:lt.identifier}}))})})}}),!0):!1}},9981:function(Yn,dn){"use strict";const z=function(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let xe=1;xe<arguments.length;xe++){const ce=xe<0||arguments.length<=xe?void 0:arguments[xe];ce&&Object.keys(ce).forEach(nt=>{const Me=ce[nt];Me!==void 0&&(b[nt]=Me)})}return b};dn.Z=z},86013:function(Yn,dn,z){"use strict";var b=z(59301),xe=z(19248);const ce=nt=>{let Me;return typeof nt=="object"&&(nt!=null&&nt.clearIcon)?Me=nt:nt&&(Me={clearIcon:b.createElement(xe.Z,null)}),Me};dn.Z=ce},97224:function(Yn,dn,z){"use strict";z.d(dn,{F:function(){return b}});function b(ce){return ce!=null&&ce===ce.window}const xe=ce=>{var nt,Me;if(typeof window=="undefined")return 0;let Ce=0;return b(ce)?Ce=ce.pageYOffset:ce instanceof Document?Ce=ce.documentElement.scrollTop:(ce instanceof HTMLElement||ce)&&(Ce=ce.scrollTop),ce&&!b(ce)&&typeof Ce!="number"&&(Ce=(Me=((nt=ce.ownerDocument)!==null&&nt!==void 0?nt:ce).documentElement)===null||Me===void 0?void 0:Me.scrollTop),Ce};dn.Z=xe},83010:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return nt}});var b=z(16089);function xe(Me,Ce,Be,He){const Fe=Be-Ce;return Me/=He/2,Me<1?Fe/2*Me*Me*Me+Ce:Fe/2*((Me-=2)*Me*Me+2)+Ce}var ce=z(97224);function nt(Me){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Be=()=>window,callback:He,duration:Fe=450}=Ce,de=Be(),Ke=(0,ce.Z)(de),be=Date.now(),vt=()=>{const $e=Date.now()-be,ze=xe($e>Fe?Fe:$e,Ke,Me,Fe);(0,ce.F)(de)?de.scrollTo(window.pageXOffset,ze):de instanceof Document||de.constructor.name==="HTMLDocument"?de.documentElement.scrollTop=ze:de.scrollTop=ze,$e<Fe?(0,b.Z)(vt):typeof He=="function"&&He()};(0,b.Z)(vt)}},79939:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return ar}});var b=z(94480),xe=z(59301),ce=z(92310),nt=z.n(ce),Me=z(54476),Ce=z(33885),Be=z(42978),He=z(75931),Fe=z(37463),de=z(6551),Ke=z(6089),be=z(18929),vt=xe.createContext({}),et=vt,$e=z(76190),ze=z(20068),je="__rc_cascader_search_mark__",at=function(bt,Pt,zt){var Bn=zt.label,Hn=Bn===void 0?"":Bn;return Pt.some(function(Rn){return String(Rn[Hn]).toLowerCase().includes(bt.toLowerCase())})},Nt=function(bt,Pt,zt,Bn){return Pt.map(function(Hn){return Hn[Bn.label]}).join(" / ")},jt=function(bt,Pt,zt,Bn,Hn,Rn){var Un=Hn.filter,pr=Un===void 0?at:Un,Ar=Hn.render,Vr=Ar===void 0?Nt:Ar,Br=Hn.limit,fr=Br===void 0?50:Br,Pr=Hn.sort;return xe.useMemo(function(){var kr=[];if(!bt)return[];function $r(Xr,mi){var yr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Xr.forEach(function(ur){if(!(!Pr&&fr!==!1&&fr>0&&kr.length>=fr)){var gr=[].concat((0,b.Z)(mi),[ur]),ni=ur[zt.children],Kr=yr||ur.disabled;if((!ni||ni.length===0||Rn)&&pr(bt,gr,{label:zt.label})){var wr;kr.push((0,Ce.Z)((0,Ce.Z)({},ur),{},(wr={disabled:Kr},(0,ze.Z)(wr,zt.label,Vr(bt,gr,Bn,zt)),(0,ze.Z)(wr,je,gr),(0,ze.Z)(wr,zt.children,void 0),wr)))}ni&&$r(ur[zt.children],gr,Kr)}})}return $r(Pt,[]),Pr&&kr.sort(function(Xr,mi){return Pr(Xr[je],mi[je],bt,zt)}),fr!==!1&&fr>0?kr.slice(0,fr):kr},[bt,Pt,zt,Bn,Vr,Rn,pr,Pr,fr])},se=jt,Oe="__RC_CASCADER_SPLIT__",dt="SHOW_PARENT",ht="SHOW_CHILD";function Rt(pt){return pt.join(Oe)}function _e(pt){return pt.map(Rt)}function lt(pt){return pt.split(Oe)}function ut(pt){var bt=pt||{},Pt=bt.label,zt=bt.value,Bn=bt.children,Hn=zt||"value";return{label:Pt||"label",value:Hn,key:Hn,children:Bn||"children"}}function Pe(pt,bt){var Pt,zt;return(Pt=pt.isLeaf)!==null&&Pt!==void 0?Pt:!((zt=pt[bt.children])!==null&&zt!==void 0&&zt.length)}function Te(pt){var bt=pt.parentElement;if(bt){var Pt=pt.offsetTop-bt.offsetTop;Pt-bt.scrollTop<0?bt.scrollTo({top:Pt}):Pt+pt.offsetHeight-bt.scrollTop>bt.offsetHeight&&bt.scrollTo({top:Pt+pt.offsetHeight-bt.offsetHeight})}}function we(pt,bt){return pt.map(function(Pt){var zt;return(zt=Pt[je])===null||zt===void 0?void 0:zt.map(function(Bn){return Bn[bt.value]})})}function me(pt){return Array.isArray(pt)&&Array.isArray(pt[0])}function Ot(pt){return pt?me(pt)?pt:(pt.length===0?[]:[pt]).map(function(bt){return Array.isArray(bt)?bt:[bt]}):[]}function We(pt,bt,Pt){var zt=new Set(pt),Bn=bt();return pt.filter(function(Hn){var Rn=Bn[Hn],Un=Rn?Rn.parent:null,pr=Rn?Rn.children:null;return Rn&&Rn.node.disabled?!0:Pt===ht?!(pr&&pr.some(function(Ar){return Ar.key&&zt.has(Ar.key)})):!(Un&&!Un.node.disabled&&zt.has(Un.key))})}function Xe(pt,bt,Pt){for(var zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Bn=bt,Hn=[],Rn=function(){var Ar,Vr,Br,fr=pt[Un],Pr=(Ar=Bn)===null||Ar===void 0?void 0:Ar.findIndex(function($r){var Xr=$r[Pt.value];return zt?String(Xr)===String(fr):Xr===fr}),kr=Pr!==-1?(Vr=Bn)===null||Vr===void 0?void 0:Vr[Pr]:null;Hn.push({value:(Br=kr==null?void 0:kr[Pt.value])!==null&&Br!==void 0?Br:fr,index:Pr,option:kr}),Bn=kr==null?void 0:kr[Pt.children]},Un=0;Un<pt.length;Un+=1)Rn();return Hn}var Xt=function(pt,bt,Pt,zt,Bn){return xe.useMemo(function(){var Hn=Bn||function(Rn){var Un=zt?Rn.slice(-1):Rn,pr=" / ";return Un.every(function(Ar){return["string","number"].includes((0,$e.Z)(Ar))})?Un.join(pr):Un.reduce(function(Ar,Vr,Br){var fr=xe.isValidElement(Vr)?xe.cloneElement(Vr,{key:Br}):Vr;return Br===0?[fr]:[].concat((0,b.Z)(Ar),[pr,fr])},[])};return pt.map(function(Rn){var Un,pr=Xe(Rn,bt,Pt),Ar=Hn(pr.map(function(Br){var fr,Pr=Br.option,kr=Br.value;return(fr=Pr==null?void 0:Pr[Pt.label])!==null&&fr!==void 0?fr:kr}),pr.map(function(Br){var fr=Br.option;return fr})),Vr=Rt(Rn);return{label:Ar,value:Vr,key:Vr,valueCells:Rn,disabled:(Un=pr[pr.length-1])===null||Un===void 0||(Un=Un.option)===null||Un===void 0?void 0:Un.disabled}})},[pt,bt,Pt,Bn,zt])};function Se(pt,bt){return xe.useCallback(function(Pt){var zt=[],Bn=[];return Pt.forEach(function(Hn){var Rn=Xe(Hn,pt,bt);Rn.every(function(Un){return Un.option})?Bn.push(Hn):zt.push(Hn)}),[Bn,zt]},[pt,bt])}var ve=z(34061),Mt=function(pt,bt){var Pt=xe.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}}),zt=xe.useCallback(function(){return Pt.current.options!==pt&&(Pt.current.options=pt,Pt.current.info=(0,ve.I8)(pt,{fieldNames:bt,initWrapper:function(Hn){return(0,Ce.Z)((0,Ce.Z)({},Hn),{},{pathKeyEntities:{}})},processEntity:function(Hn,Rn){var Un=Hn.nodes.map(function(pr){return pr[bt.value]}).join(Oe);Rn.pathKeyEntities[Un]=Hn,Hn.key=Un}})),Pt.current.info.pathKeyEntities},[bt,pt]);return zt};function Jt(pt,bt){var Pt=xe.useMemo(function(){return bt||[]},[bt]),zt=Mt(Pt,pt),Bn=xe.useCallback(function(Hn){var Rn=zt();return Hn.map(function(Un){var pr=Rn[Un].nodes;return pr.map(function(Ar){return Ar[pt.value]})})},[zt,pt]);return[Pt,zt,Bn]}var Zt=z(48736);function pe(pt){return xe.useMemo(function(){if(!pt)return[!1,{}];var bt={matchInputWidth:!0,limit:50};return pt&&(0,$e.Z)(pt)==="object"&&(bt=(0,Ce.Z)((0,Ce.Z)({},bt),pt)),bt.limit<=0&&(bt.limit=!1),[!0,bt]},[pt])}var Re=z(34643);function Ue(pt,bt,Pt,zt,Bn,Hn,Rn,Un){return function(pr){if(!pt)bt(pr);else{var Ar=Rt(pr),Vr=_e(Pt),Br=_e(zt),fr=Vr.includes(Ar),Pr=Bn.some(function(Kr){return Rt(Kr)===Ar}),kr=Pt,$r=Bn;if(Pr&&!fr)$r=Bn.filter(function(Kr){return Rt(Kr)!==Ar});else{var Xr=fr?Vr.filter(function(Kr){return Kr!==Ar}):[].concat((0,b.Z)(Vr),[Ar]),mi=Hn(),yr;if(fr){var ur=(0,Re.S)(Xr,{checked:!1,halfCheckedKeys:Br},mi);yr=ur.checkedKeys}else{var gr=(0,Re.S)(Xr,!0,mi);yr=gr.checkedKeys}var ni=We(yr,Hn,Un);kr=Rn(ni)}bt([].concat((0,b.Z)($r),(0,b.Z)(kr)))}}}function tn(pt,bt,Pt,zt,Bn){return xe.useMemo(function(){var Hn=Bn(bt),Rn=(0,Be.Z)(Hn,2),Un=Rn[0],pr=Rn[1];if(!pt||!bt.length)return[Un,[],pr];var Ar=_e(Un),Vr=Pt(),Br=(0,Re.S)(Ar,!0,Vr),fr=Br.checkedKeys,Pr=Br.halfCheckedKeys;return[zt(fr),zt(Pr),pr]},[pt,bt,Pt,zt,Bn])}var rt=xe.memo(function(pt){var bt=pt.children;return bt},function(pt,bt){return!bt.open}),Kt=rt;function ct(pt){var bt,Pt=pt.prefixCls,zt=pt.checked,Bn=pt.halfChecked,Hn=pt.disabled,Rn=pt.onClick,Un=pt.disableCheckbox,pr=xe.useContext(et),Ar=pr.checkable,Vr=typeof Ar!="boolean"?Ar:null;return xe.createElement("span",{className:nt()("".concat(Pt),(bt={},(0,ze.Z)(bt,"".concat(Pt,"-checked"),zt),(0,ze.Z)(bt,"".concat(Pt,"-indeterminate"),!zt&&Bn),(0,ze.Z)(bt,"".concat(Pt,"-disabled"),Hn||Un),bt)),onClick:Rn},Vr)}var fn="__cascader_fix_label__";function xt(pt){var bt=pt.prefixCls,Pt=pt.multiple,zt=pt.options,Bn=pt.activeValue,Hn=pt.prevValuePath,Rn=pt.onToggleOpen,Un=pt.onSelect,pr=pt.onActive,Ar=pt.checkedSet,Vr=pt.halfCheckedSet,Br=pt.loadingKeys,fr=pt.isSelectable,Pr=pt.disabled,kr="".concat(bt,"-menu"),$r="".concat(bt,"-menu-item"),Xr=xe.useContext(et),mi=Xr.fieldNames,yr=Xr.changeOnSelect,ur=Xr.expandTrigger,gr=Xr.expandIcon,ni=Xr.loadingIcon,Kr=Xr.dropdownMenuColumnStyle,wr=Xr.optionRender,Rr=ur==="hover",hi=function(ei){return Pr||ei},Qr=xe.useMemo(function(){return zt.map(function(qr){var ei,Ni=qr.disabled,$i=qr.disableCheckbox,_i=qr[je],ki=(ei=qr[fn])!==null&&ei!==void 0?ei:qr[mi.label],io=qr[mi.value],ke=Pe(qr,mi),tt=_i?_i.map(function(it){return it[mi.value]}):[].concat((0,b.Z)(Hn),[io]),Ft=Rt(tt),an=Br.includes(Ft),cn=Ar.has(Ft),Lt=Vr.has(Ft);return{disabled:Ni,label:ki,value:io,isLeaf:ke,isLoading:an,checked:cn,halfChecked:Lt,option:qr,disableCheckbox:$i,fullPath:tt,fullPathKey:Ft}})},[zt,Ar,mi,Vr,Br,Hn]);return xe.createElement("ul",{className:kr,role:"menu"},Qr.map(function(qr){var ei,Ni=qr.disabled,$i=qr.label,_i=qr.value,ki=qr.isLeaf,io=qr.isLoading,ke=qr.checked,tt=qr.halfChecked,Ft=qr.option,an=qr.fullPath,cn=qr.fullPathKey,Lt=qr.disableCheckbox,it=function(){if(!hi(Ni)){var zn=(0,b.Z)(an);Rr&&ki&&zn.pop(),pr(zn)}},It=function(){fr(Ft)&&!hi(Ni)&&Un(an,ki)},$t;return typeof Ft.title=="string"?$t=Ft.title:typeof $i=="string"&&($t=$i),xe.createElement("li",{key:cn,className:nt()($r,(ei={},(0,ze.Z)(ei,"".concat($r,"-expand"),!ki),(0,ze.Z)(ei,"".concat($r,"-active"),Bn===_i||Bn===cn),(0,ze.Z)(ei,"".concat($r,"-disabled"),hi(Ni)),(0,ze.Z)(ei,"".concat($r,"-loading"),io),ei)),style:Kr,role:"menuitemcheckbox",title:$t,"aria-checked":ke,"data-path-key":cn,onClick:function(){it(),!Lt&&(!Pt||ki)&&It()},onDoubleClick:function(){yr&&Rn(!1)},onMouseEnter:function(){Rr&&it()},onMouseDown:function(zn){zn.preventDefault()}},Pt&&xe.createElement(ct,{prefixCls:"".concat(bt,"-checkbox"),checked:ke,halfChecked:tt,disabled:hi(Ni)||Lt,disableCheckbox:Lt,onClick:function(zn){Lt||(zn.stopPropagation(),It())}}),xe.createElement("div",{className:"".concat($r,"-content")},wr?wr(Ft):$i),!io&&gr&&!ki&&xe.createElement("div",{className:"".concat($r,"-expand-icon")},gr),io&&ni&&xe.createElement("div",{className:"".concat($r,"-loading-icon")},ni))}))}var le=function(bt,Pt){var zt=xe.useContext(et),Bn=zt.values,Hn=Bn[0],Rn=xe.useState([]),Un=(0,Be.Z)(Rn,2),pr=Un[0],Ar=Un[1];return xe.useEffect(function(){bt||Ar(Hn||[])},[Pt,Hn]),[pr,Ar]},ne=le,te=z(10228),ae=function(pt,bt,Pt,zt,Bn,Hn,Rn){var Un=Rn.direction,pr=Rn.searchValue,Ar=Rn.toggleOpen,Vr=Rn.open,Br=Un==="rtl",fr=xe.useMemo(function(){for(var Kr=-1,wr=bt,Rr=[],hi=[],Qr=zt.length,qr=we(bt,Pt),ei=function(io){var ke=wr.findIndex(function(tt,Ft){return(qr[Ft]?Rt(qr[Ft]):tt[Pt.value])===zt[io]});if(ke===-1)return 1;Kr=ke,Rr.push(Kr),hi.push(zt[io]),wr=wr[Kr][Pt.children]},Ni=0;Ni<Qr&&wr&&!ei(Ni);Ni+=1);for(var $i=bt,_i=0;_i<Rr.length-1;_i+=1)$i=$i[Rr[_i]][Pt.children];return[hi,Kr,$i,qr]},[zt,Pt,bt]),Pr=(0,Be.Z)(fr,4),kr=Pr[0],$r=Pr[1],Xr=Pr[2],mi=Pr[3],yr=function(wr){Bn(wr)},ur=function(wr){var Rr=Xr.length,hi=$r;hi===-1&&wr<0&&(hi=Rr);for(var Qr=0;Qr<Rr;Qr+=1){hi=(hi+wr+Rr)%Rr;var qr=Xr[hi];if(qr&&!qr.disabled){var ei=kr.slice(0,-1).concat(mi[hi]?Rt(mi[hi]):qr[Pt.value]);yr(ei);return}}},gr=function(){if(kr.length>1){var wr=kr.slice(0,-1);yr(wr)}else Ar(!1)},ni=function(){var wr,Rr=((wr=Xr[$r])===null||wr===void 0?void 0:wr[Pt.children])||[],hi=Rr.find(function(qr){return!qr.disabled});if(hi){var Qr=[].concat((0,b.Z)(kr),[hi[Pt.value]]);yr(Qr)}};xe.useImperativeHandle(pt,function(){return{onKeyDown:function(wr){var Rr=wr.which;switch(Rr){case te.Z.UP:case te.Z.DOWN:{var hi=0;Rr===te.Z.UP?hi=-1:Rr===te.Z.DOWN&&(hi=1),hi!==0&&ur(hi);break}case te.Z.LEFT:{if(pr)break;Br?ni():gr();break}case te.Z.RIGHT:{if(pr)break;Br?gr():ni();break}case te.Z.BACKSPACE:{pr||gr();break}case te.Z.ENTER:{if(kr.length){var Qr=Xr[$r],qr=(Qr==null?void 0:Qr[je])||[];qr.length?Hn(qr.map(function(ei){return ei[Pt.value]}),qr[qr.length-1]):Hn(kr,Xr[$r])}break}case te.Z.ESC:Ar(!1),Vr&&wr.stopPropagation()}},onKeyUp:function(){}}})},he=xe.forwardRef(function(pt,bt){var Pt,zt,Bn,Hn=pt.prefixCls,Rn=pt.multiple,Un=pt.searchValue,pr=pt.toggleOpen,Ar=pt.notFoundContent,Vr=pt.direction,Br=pt.open,fr=pt.disabled,Pr=xe.useRef(null),kr=Vr==="rtl",$r=xe.useContext(et),Xr=$r.options,mi=$r.values,yr=$r.halfValues,ur=$r.fieldNames,gr=$r.changeOnSelect,ni=$r.onSelect,Kr=$r.searchOptions,wr=$r.dropdownPrefixCls,Rr=$r.loadData,hi=$r.expandTrigger,Qr=wr||Hn,qr=xe.useState([]),ei=(0,Be.Z)(qr,2),Ni=ei[0],$i=ei[1],_i=function(Wr){if(!(!Rr||Un)){var Jr=Xe(Wr,Xr,ur),gi=Jr.map(function(ci){var di=ci.option;return di}),oi=gi[gi.length-1];if(oi&&!Pe(oi,ur)){var Pi=Rt(Wr);$i(function(ci){return[].concat((0,b.Z)(ci),[Pi])}),Rr(gi)}}};xe.useEffect(function(){Ni.length&&Ni.forEach(function(br){var Wr=lt(br),Jr=Xe(Wr,Xr,ur,!0).map(function(oi){var Pi=oi.option;return Pi}),gi=Jr[Jr.length-1];(!gi||gi[ur.children]||Pe(gi,ur))&&$i(function(oi){return oi.filter(function(Pi){return Pi!==br})})})},[Xr,Ni,ur]);var ki=xe.useMemo(function(){return new Set(_e(mi))},[mi]),io=xe.useMemo(function(){return new Set(_e(yr))},[yr]),ke=ne(Rn,Br),tt=(0,Be.Z)(ke,2),Ft=tt[0],an=tt[1],cn=function(Wr){an(Wr),_i(Wr)},Lt=function(Wr){if(fr)return!1;var Jr=Wr.disabled,gi=Pe(Wr,ur);return!Jr&&(gi||gr||Rn)},it=function(Wr,Jr){var gi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ni(Wr),!Rn&&(Jr||gr&&(hi==="hover"||gi))&&pr(!1)},It=xe.useMemo(function(){return Un?Kr:Xr},[Un,Kr,Xr]),$t=xe.useMemo(function(){for(var br=[{options:It}],Wr=It,Jr=we(Wr,ur),gi=function(){var ci=Ft[oi],di=Wr.find(function(Ii,no){return(Jr[no]?Rt(Jr[no]):Ii[ur.value])===ci}),yi=di==null?void 0:di[ur.children];if(!(yi!=null&&yi.length))return 1;Wr=yi,br.push({options:yi})},oi=0;oi<Ft.length&&!gi();oi+=1);return br},[It,Ft,ur]),Nn=function(Wr,Jr){Lt(Jr)&&it(Wr,Pe(Jr,ur),!0)};ae(bt,It,ur,Ft,cn,Nn,{direction:Vr,searchValue:Un,toggleOpen:pr,open:Br}),xe.useEffect(function(){if(!Un)for(var br=0;br<Ft.length;br+=1){var Wr,Jr=Ft.slice(0,br+1),gi=Rt(Jr),oi=(Wr=Pr.current)===null||Wr===void 0?void 0:Wr.querySelector('li[data-path-key="'.concat(gi.replace(/\\{0,2}"/g,'\\"'),'"]'));oi&&Te(oi)}},[Ft,Un]);var zn=!((Pt=$t[0])!==null&&Pt!==void 0&&(Pt=Pt.options)!==null&&Pt!==void 0&&Pt.length),Dn=[(zt={},(0,ze.Z)(zt,ur.value,"__EMPTY__"),(0,ze.Z)(zt,fn,Ar),(0,ze.Z)(zt,"disabled",!0),zt)],jn=(0,Ce.Z)((0,Ce.Z)({},pt),{},{multiple:!zn&&Rn,onSelect:it,onActive:cn,onToggleOpen:pr,checkedSet:ki,halfCheckedSet:io,loadingKeys:Ni,isSelectable:Lt}),Jn=zn?[{options:Dn}]:$t,Cr=Jn.map(function(br,Wr){var Jr=Ft.slice(0,Wr),gi=Ft[Wr];return xe.createElement(xt,(0,Me.Z)({key:Wr},jn,{prefixCls:Qr,options:br.options,prevValuePath:Jr,activeValue:gi}))});return xe.createElement(Kt,{open:Br},xe.createElement("div",{className:nt()("".concat(Qr,"-menus"),(Bn={},(0,ze.Z)(Bn,"".concat(Qr,"-menu-empty"),zn),(0,ze.Z)(Bn,"".concat(Qr,"-rtl"),kr),Bn)),ref:Pr},Cr))}),re=he,ue=xe.forwardRef(function(pt,bt){var Pt=(0,Fe.lk)();return xe.createElement(re,(0,Me.Z)({},pt,Pt,{ref:bt}))}),De=ue,st=z(70425);function Qe(){}function Ie(pt){var bt,Pt=pt,zt=Pt.prefixCls,Bn=zt===void 0?"rc-cascader":zt,Hn=Pt.style,Rn=Pt.className,Un=Pt.options,pr=Pt.checkable,Ar=Pt.defaultValue,Vr=Pt.value,Br=Pt.fieldNames,fr=Pt.changeOnSelect,Pr=Pt.onChange,kr=Pt.showCheckedStrategy,$r=Pt.loadData,Xr=Pt.expandTrigger,mi=Pt.expandIcon,yr=mi===void 0?">":mi,ur=Pt.loadingIcon,gr=Pt.direction,ni=Pt.notFoundContent,Kr=ni===void 0?"Not Found":ni,wr=Pt.disabled,Rr=!!pr,hi=(0,st.C8)(Ar,{value:Vr,postState:Ot}),Qr=(0,Be.Z)(hi,2),qr=Qr[0],ei=Qr[1],Ni=xe.useMemo(function(){return ut(Br)},[JSON.stringify(Br)]),$i=Jt(Ni,Un),_i=(0,Be.Z)($i,3),ki=_i[0],io=_i[1],ke=_i[2],tt=Se(ki,Ni),Ft=tn(Rr,qr,io,ke,tt),an=(0,Be.Z)(Ft,3),cn=an[0],Lt=an[1],it=an[2],It=(0,st.zX)(function(Jn){if(ei(Jn),Pr){var Cr=Ot(Jn),br=Cr.map(function(gi){return Xe(gi,ki,Ni).map(function(oi){return oi.option})}),Wr=Rr?Cr:Cr[0],Jr=Rr?br:br[0];Pr(Wr,Jr)}}),$t=Ue(Rr,It,cn,Lt,it,io,ke,kr),Nn=(0,st.zX)(function(Jn){$t(Jn)}),zn=xe.useMemo(function(){return{options:ki,fieldNames:Ni,values:cn,halfValues:Lt,changeOnSelect:fr,onSelect:Nn,checkable:pr,searchOptions:[],dropdownPrefixCls:void 0,loadData:$r,expandTrigger:Xr,expandIcon:yr,loadingIcon:ur,dropdownMenuColumnStyle:void 0}},[ki,Ni,cn,Lt,fr,Nn,pr,$r,Xr,yr,ur]),Dn="".concat(Bn,"-panel"),jn=!ki.length;return xe.createElement(et.Provider,{value:zn},xe.createElement("div",{className:nt()(Dn,(bt={},(0,ze.Z)(bt,"".concat(Dn,"-rtl"),gr==="rtl"),(0,ze.Z)(bt,"".concat(Dn,"-empty"),jn),bt),Rn),style:Hn},jn?Kr:xe.createElement(re,{prefixCls:Bn,searchValue:"",multiple:Rr,toggleOpen:Qe,open:!0,direction:gr,disabled:wr})))}function mt(pt){var bt=pt.onPopupVisibleChange,Pt=pt.popupVisible,zt=pt.popupClassName,Bn=pt.popupPlacement;warning(!bt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Pt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(zt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Bn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Et(pt,bt){if(pt){var Pt=function zt(Bn){for(var Hn=0;Hn<Bn.length;Hn++){var Rn=Bn[Hn];if(Rn[bt==null?void 0:bt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Rn[bt==null?void 0:bt.children])&&zt(Rn[bt==null?void 0:bt.children]))return!0}};Pt(pt)}}var Tt=null,Le=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],Ye=xe.forwardRef(function(pt,bt){var Pt=pt.id,zt=pt.prefixCls,Bn=zt===void 0?"rc-cascader":zt,Hn=pt.fieldNames,Rn=pt.defaultValue,Un=pt.value,pr=pt.changeOnSelect,Ar=pt.onChange,Vr=pt.displayRender,Br=pt.checkable,fr=pt.autoClearSearchValue,Pr=fr===void 0?!0:fr,kr=pt.searchValue,$r=pt.onSearch,Xr=pt.showSearch,mi=pt.expandTrigger,yr=pt.options,ur=pt.dropdownPrefixCls,gr=pt.loadData,ni=pt.popupVisible,Kr=pt.open,wr=pt.popupClassName,Rr=pt.dropdownClassName,hi=pt.dropdownMenuColumnStyle,Qr=pt.dropdownStyle,qr=pt.popupPlacement,ei=pt.placement,Ni=pt.onDropdownVisibleChange,$i=pt.onPopupVisibleChange,_i=pt.expandIcon,ki=_i===void 0?">":_i,io=pt.loadingIcon,ke=pt.children,tt=pt.dropdownMatchSelectWidth,Ft=tt===void 0?!1:tt,an=pt.showCheckedStrategy,cn=an===void 0?dt:an,Lt=pt.optionRender,it=(0,He.Z)(pt,Le),It=(0,de.ZP)(Pt),$t=!!Br,Nn=(0,be.Z)(Rn,{value:Un,postState:Ot}),zn=(0,Be.Z)(Nn,2),Dn=zn[0],jn=zn[1],Jn=xe.useMemo(function(){return ut(Hn)},[JSON.stringify(Hn)]),Cr=Jt(Jn,yr),br=(0,Be.Z)(Cr,3),Wr=br[0],Jr=br[1],gi=br[2],oi=(0,be.Z)("",{value:kr,postState:function(Li){return Li||""}}),Pi=(0,Be.Z)(oi,2),ci=Pi[0],di=Pi[1],yi=function(Li,lo){di(Li),lo.source!=="blur"&&$r&&$r(Li)},Ii=pe(Xr),no=(0,Be.Z)(Ii,2),So=no[0],bo=no[1],Ko=se(ci,Wr,Jn,ur||Bn,bo,pr||$t),Hi=Se(Wr,Jn),Oi=tn($t,Dn,Jr,gi,Hi),Wo=(0,Be.Z)(Oi,3),zo=Wo[0],Xo=Wo[1],Wa=Wo[2],Pa=xe.useMemo(function(){var fi=_e(zo),Li=We(fi,Jr,cn);return[].concat((0,b.Z)(Wa),(0,b.Z)(gi(Li)))},[zo,Jr,gi,Wa,cn]),Ta=Xt(Pa,Wr,Jn,$t,Vr),Ba=(0,Ke.Z)(function(fi){if(jn(fi),Ar){var Li=Ot(fi),lo=Li.map(function(Lo){return Xe(Lo,Wr,Jn).map(function(Oo){return Oo.option})}),da=$t?Li:Li[0],Ro=$t?lo:lo[0];Ar(da,Ro)}}),Uo=Ue($t,Ba,zo,Xo,Wa,Jr,gi,cn),Fa=(0,Ke.Z)(function(fi){(!$t||Pr)&&di(""),Uo(fi)}),ul=function(Li,lo){if(lo.type==="clear"){Ba([]);return}var da=lo.values[0],Ro=da.valueCells;Fa(Ro)},Ja=Kr!==void 0?Kr:ni,Jo=Rr||wr,Nl=ei||qr,El=function(Li){Ni==null||Ni(Li),$i==null||$i(Li)},ho=xe.useMemo(function(){return{options:Wr,fieldNames:Jn,values:zo,halfValues:Xo,changeOnSelect:pr,onSelect:Fa,checkable:Br,searchOptions:Ko,dropdownPrefixCls:ur,loadData:gr,expandTrigger:mi,expandIcon:ki,loadingIcon:io,dropdownMenuColumnStyle:hi,optionRender:Lt}},[Wr,Jn,zo,Xo,pr,Fa,Br,Ko,ur,gr,mi,ki,io,hi,Lt]),mo=!(ci?Ko:Wr).length,Ei=ci&&bo.matchInputWidth||mo?{}:{minWidth:"auto"};return xe.createElement(et.Provider,{value:ho},xe.createElement(Fe.Ac,(0,Me.Z)({},it,{ref:bt,id:It,prefixCls:Bn,autoClearSearchValue:Pr,dropdownMatchSelectWidth:Ft,dropdownStyle:(0,Ce.Z)((0,Ce.Z)({},Ei),Qr),displayValues:Ta,onDisplayValuesChange:ul,mode:$t?"multiple":void 0,searchValue:ci,onSearch:yi,showSearch:So,OptionList:De,emptyOptions:mo,open:Ja,dropdownClassName:Jo,placement:Nl,onDropdownVisibleChange:El,getRawInputElement:function(){return ke}})))});Ye.SHOW_PARENT=dt,Ye.SHOW_CHILD=ht,Ye.Panel=Ie;var vn=Ye,Ht=vn,Cn=z(2738),un=z(75030),Ut=z(86641),on=z(45915),mn=z(82855),ft=z(48755),Vt=z(38406),yn=z(2171),Ct=z(83397),Je=z(31756),Wt=z(56553),qt=z(24971),ln=z(1722),Zn=z(90376),qn=z(68525),mr=z(90005),vr=z(70045);function _n(pt,bt){const{getPrefixCls:Pt,direction:zt,renderEmpty:Bn}=xe.useContext(ft.E_),Hn=bt||zt,Rn=Pt("select",pt),Un=Pt("cascader",pt);return[Rn,Un,Hn,Bn]}var dr=_n;function Qt(pt,bt){return xe.useMemo(()=>bt?xe.createElement("span",{className:`${pt}-checkbox-inner`}):!1,[bt])}var En=z(33853),pn=z(58617),xn=z(38819),Fn=(pt,bt,Pt)=>{let zt=Pt;Pt||(zt=bt?xe.createElement(En.Z,null):xe.createElement(xn.Z,null));const Bn=xe.createElement("span",{className:`${pt}-menu-item-loading-icon`},xe.createElement(pn.Z,{spin:!0}));return xe.useMemo(()=>[zt,Bn],[zt])},St=z(56119),Sn=z(16931),Bt=z(36237),hn=z(36170),An=z(63356),Ln=pt=>{const{prefixCls:bt,componentCls:Pt}=pt,zt=`${Pt}-menu-item`,Bn=`
&${zt}-expand ${zt}-expand-icon,
${zt}-loading-icon
`;return[(0,hn.C2)(`${bt}-checkbox`,pt),{[Pt]:{"&-checkbox":{top:0,marginInlineEnd:pt.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Pt}-menu-empty`]:{[`${Pt}-menu`]:{width:"100%",height:"auto",[zt]:{color:pt.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:pt.controlItemWidth,height:pt.dropdownHeight,margin:0,padding:pt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,Bt.unit)(pt.lineWidth)} ${pt.lineType} ${pt.colorSplit}`},"&-item":Object.assign(Object.assign({},An.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:pt.optionPadding,lineHeight:pt.lineHeight,cursor:"pointer",transition:`all ${pt.motionDurationMid}`,borderRadius:pt.borderRadiusSM,"&:hover":{background:pt.controlItemBgHover},"&-disabled":{color:pt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Bn]:{color:pt.colorTextDisabled}},[`&-active:not(${zt}-disabled)`]:{"&, &:hover":{color:pt.optionSelectedColor,fontWeight:pt.optionSelectedFontWeight,backgroundColor:pt.optionSelectedBg}},"&-content":{flex:"auto"},[Bn]:{marginInlineStart:pt.paddingXXS,color:pt.colorTextDescription,fontSize:pt.fontSizeIcon},"&-keyword":{color:pt.colorHighlight}})}}}]};const nr=pt=>{const{componentCls:bt,antCls:Pt}=pt;return[{[bt]:{width:pt.controlWidth}},{[`${bt}-dropdown`]:[{[`&${Pt}-select-dropdown`]:{padding:0}},Ln(pt)]},{[`${bt}-dropdown-rtl`]:{direction:"rtl"}},(0,St.c)(pt)]},Xn=pt=>{const bt=Math.round((pt.controlHeight-pt.fontSize*pt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:pt.controlItemBgActive,optionSelectedFontWeight:pt.fontWeightStrong,optionPadding:`${bt}px ${pt.paddingSM}px`,menuPadding:pt.paddingXXS,optionSelectedColor:pt.colorText}};var nn=(0,Sn.I$)("Cascader",pt=>[nr(pt)],Xn);const Pn=pt=>{const{componentCls:bt}=pt;return{[`${bt}-panel`]:[Ln(pt),{display:"inline-flex",border:`${(0,Bt.unit)(pt.lineWidth)} ${pt.lineType} ${pt.colorSplit}`,borderRadius:pt.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${bt}-menus`]:{alignItems:"stretch"},[`${bt}-menu`]:{height:"auto"},"&-empty":{padding:pt.paddingXXS}}]}};var en=(0,Sn.A1)(["Cascader","Panel"],pt=>Pn(pt),Xn);function er(pt){const{prefixCls:bt,className:Pt,multiple:zt,rootClassName:Bn,notFoundContent:Hn,direction:Rn,expandIcon:Un,disabled:pr}=pt,Ar=xe.useContext(yn.Z),Vr=pr!=null?pr:Ar,[Br,fr,Pr,kr]=dr(bt,Rn),$r=(0,Ct.Z)(fr),[Xr,mi,yr]=nn(fr,$r);en(fr);const ur=Pr==="rtl",[gr,ni]=Fn(Br,ur,Un),Kr=Hn||(kr==null?void 0:kr("Cascader"))||xe.createElement(Vt.Z,{componentName:"Cascader"}),wr=Qt(fr,zt);return Xr(xe.createElement(Ie,Object.assign({},pt,{checkable:wr,prefixCls:fr,className:nt()(Pt,mi,Bn,yr,$r),notFoundContent:Kr,direction:Pr,expandIcon:gr,loadingIcon:ni,disabled:Vr})))}var Dt=er,Gt=function(pt,bt){var Pt={};for(var zt in pt)Object.prototype.hasOwnProperty.call(pt,zt)&&bt.indexOf(zt)<0&&(Pt[zt]=pt[zt]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bn=0,zt=Object.getOwnPropertySymbols(pt);Bn<zt.length;Bn++)bt.indexOf(zt[Bn])<0&&Object.prototype.propertyIsEnumerable.call(pt,zt[Bn])&&(Pt[zt[Bn]]=pt[zt[Bn]]);return Pt};const{SHOW_CHILD:Ze,SHOW_PARENT:gt}=Ht;function Ve(pt,bt,Pt){const zt=pt.toLowerCase().split(bt).reduce((Rn,Un,pr)=>pr===0?[Un]:[].concat((0,b.Z)(Rn),[bt,Un]),[]),Bn=[];let Hn=0;return zt.forEach((Rn,Un)=>{const pr=Hn+Rn.length;let Ar=pt.slice(Hn,pr);Hn=pr,Un%2===1&&(Ar=xe.createElement("span",{className:`${Pt}-menu-item-keyword`,key:`separator-${Un}`},Ar)),Bn.push(Ar)}),Bn}const yt=(pt,bt,Pt,zt)=>{const Bn=[],Hn=pt.toLowerCase();return bt.forEach((Rn,Un)=>{Un!==0&&Bn.push(" / ");let pr=Rn[zt.label];const Ar=typeof pr;(Ar==="string"||Ar==="number")&&(pr=Ve(String(pr),Hn,Pt)),Bn.push(pr)}),Bn},_t=xe.forwardRef((pt,bt)=>{var Pt;const{prefixCls:zt,size:Bn,disabled:Hn,className:Rn,rootClassName:Un,multiple:pr,bordered:Ar=!0,transitionName:Vr,choiceTransitionName:Br="",popupClassName:fr,dropdownClassName:Pr,expandIcon:kr,placement:$r,showSearch:Xr,allowClear:mi=!0,notFoundContent:yr,direction:ur,getPopupContainer:gr,status:ni,showArrow:Kr,builtinPlacements:wr,style:Rr,variant:hi}=pt,Qr=Gt(pt,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),qr=(0,Cn.Z)(Qr,["suffixIcon"]),{getPrefixCls:ei,getPopupContainer:Ni,className:$i,style:_i}=(0,ft.dj)("cascader"),{popupOverflow:ki}=xe.useContext(ft.E_),{status:io,hasFeedback:ke,isFormItemInput:tt,feedbackIcon:Ft}=xe.useContext(Wt.aM),an=(0,mn.F)(io,ni),[cn,Lt,it,It]=dr(zt,ur),$t=it==="rtl",Nn=ei(),zn=(0,Ct.Z)(cn),[Dn,jn,Jn]=(0,Zn.Z)(cn,zn),Cr=(0,Ct.Z)(Lt),[br]=nn(Lt,Cr),{compactSize:Wr,compactItemClassnames:Jr}=(0,vr.ri)(cn,ur),[gi,oi]=(0,qt.Z)("cascader",hi,Ar),Pi=yr||(It==null?void 0:It("Cascader"))||xe.createElement(Vt.Z,{componentName:"Cascader"}),ci=nt()(fr||Pr,`${Lt}-dropdown`,{[`${Lt}-dropdown-rtl`]:it==="rtl"},Un,zn,Cr,jn,Jn),di=xe.useMemo(()=>{if(!Xr)return Xr;let Ba={render:yt};return typeof Xr=="object"&&(Ba=Object.assign(Object.assign({},Ba),Xr)),Ba},[Xr]),yi=(0,Je.Z)(Ba=>{var Uo;return(Uo=Bn!=null?Bn:Wr)!==null&&Uo!==void 0?Uo:Ba}),Ii=xe.useContext(yn.Z),no=Hn!=null?Hn:Ii,[So,bo]=Fn(cn,$t,kr),Ko=Qt(Lt,pr),Hi=(0,mr.Z)(pt.suffixIcon,Kr),{suffixIcon:Oi,removeIcon:Wo,clearIcon:zo}=(0,qn.Z)(Object.assign(Object.assign({},pt),{hasFeedback:ke,feedbackIcon:Ft,showSuffixIcon:Hi,multiple:pr,prefixCls:cn,componentName:"Cascader"})),Xo=xe.useMemo(()=>$r!==void 0?$r:$t?"bottomRight":"bottomLeft",[$r,$t]),Wa=mi===!0?{clearIcon:zo}:mi,[Pa]=(0,un.Cn)("SelectLike",(Pt=qr.dropdownStyle)===null||Pt===void 0?void 0:Pt.zIndex),Ta=xe.createElement(Ht,Object.assign({prefixCls:cn,className:nt()(!zt&&Lt,{[`${cn}-lg`]:yi==="large",[`${cn}-sm`]:yi==="small",[`${cn}-rtl`]:$t,[`${cn}-${gi}`]:oi,[`${cn}-in-form-item`]:tt},(0,mn.Z)(cn,an,ke),Jr,$i,Rn,Un,zn,Cr,jn,Jn),disabled:no,style:Object.assign(Object.assign({},_i),Rr)},qr,{builtinPlacements:(0,ln.Z)(wr,ki),direction:it,placement:Xo,notFoundContent:Pi,allowClear:Wa,showSearch:di,expandIcon:So,suffixIcon:Oi,removeIcon:Wo,loadingIcon:bo,checkable:Ko,dropdownClassName:ci,dropdownPrefixCls:zt||Lt,dropdownStyle:Object.assign(Object.assign({},qr.dropdownStyle),{zIndex:Pa}),choiceTransitionName:(0,Ut.m)(Nn,"",Br),transitionName:(0,Ut.m)(Nn,"slide-up",Vr),getPopupContainer:gr||Ni,ref:bt}));return br(Dn(Ta))}),rr=(0,on.Z)(_t,"dropdownAlign",pt=>(0,Cn.Z)(pt,["visible"]));_t.SHOW_PARENT=gt,_t.SHOW_CHILD=Ze,_t.Panel=Dt,_t._InternalPanelDoNotUseOrYouWillBeFired=rr;var ar=_t},62673:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return _e}});var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(16632),Me=z(8654),Ce=z(12919),Be=z(63872),He=z(48755),Fe=z(2171),de=z(83397),Ke=z(56553),vt=b.createContext(null),et=z(36170),$e=z(74632),ze=function(lt,ut){var Pe={};for(var Te in lt)Object.prototype.hasOwnProperty.call(lt,Te)&&ut.indexOf(Te)<0&&(Pe[Te]=lt[Te]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Te=Object.getOwnPropertySymbols(lt);we<Te.length;we++)ut.indexOf(Te[we])<0&&Object.prototype.propertyIsEnumerable.call(lt,Te[we])&&(Pe[Te[we]]=lt[Te[we]]);return Pe};const je=(lt,ut)=>{var Pe;const{prefixCls:Te,className:we,rootClassName:me,children:Ot,indeterminate:We=!1,style:Xe,onMouseEnter:Xt,onMouseLeave:Se,skipGroup:ve=!1,disabled:Mt}=lt,Jt=ze(lt,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Zt,direction:pe,checkbox:Re}=b.useContext(He.E_),Ue=b.useContext(vt),{isFormItemInput:tn}=b.useContext(Ke.aM),rt=b.useContext(Fe.Z),Kt=(Pe=(Ue==null?void 0:Ue.disabled)||Mt)!==null&&Pe!==void 0?Pe:rt,ct=b.useRef(Jt.value),fn=b.useRef(null),xt=(0,Me.sQ)(ut,fn);b.useEffect(()=>{Ue==null||Ue.registerValue(Jt.value)},[]),b.useEffect(()=>{if(!ve)return Jt.value!==ct.current&&(Ue==null||Ue.cancelValue(ct.current),Ue==null||Ue.registerValue(Jt.value),ct.current=Jt.value),()=>Ue==null?void 0:Ue.cancelValue(Jt.value)},[Jt.value]),b.useEffect(()=>{var Ie;!((Ie=fn.current)===null||Ie===void 0)&&Ie.input&&(fn.current.input.indeterminate=We)},[We]);const le=Zt("checkbox",Te),ne=(0,de.Z)(le),[te,ae,he]=(0,et.ZP)(le,ne),re=Object.assign({},Jt);Ue&&!ve&&(re.onChange=function(){Jt.onChange&&Jt.onChange.apply(Jt,arguments),Ue.toggleOption&&Ue.toggleOption({label:Ot,value:Jt.value})},re.name=Ue.name,re.checked=Ue.value.includes(Jt.value));const ue=ce()(`${le}-wrapper`,{[`${le}-rtl`]:pe==="rtl",[`${le}-wrapper-checked`]:re.checked,[`${le}-wrapper-disabled`]:Kt,[`${le}-wrapper-in-form-item`]:tn},Re==null?void 0:Re.className,we,me,he,ne,ae),De=ce()({[`${le}-indeterminate`]:We},Be.A,ae),[st,Qe]=(0,$e.Z)(re.onClick);return te(b.createElement(Ce.Z,{component:"Checkbox",disabled:Kt},b.createElement("label",{className:ue,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Xe),onMouseEnter:Xt,onMouseLeave:Se,onClick:st},b.createElement(nt.Z,Object.assign({},re,{onClick:Qe,prefixCls:le,className:De,disabled:Kt,ref:xt})),Ot!==void 0&&b.createElement("span",{className:`${le}-label`},Ot))))};var Nt=b.forwardRef(je),jt=z(94480),se=z(2738),Oe=function(lt,ut){var Pe={};for(var Te in lt)Object.prototype.hasOwnProperty.call(lt,Te)&&ut.indexOf(Te)<0&&(Pe[Te]=lt[Te]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Te=Object.getOwnPropertySymbols(lt);we<Te.length;we++)ut.indexOf(Te[we])<0&&Object.prototype.propertyIsEnumerable.call(lt,Te[we])&&(Pe[Te[we]]=lt[Te[we]]);return Pe},ht=b.forwardRef((lt,ut)=>{const{defaultValue:Pe,children:Te,options:we=[],prefixCls:me,className:Ot,rootClassName:We,style:Xe,onChange:Xt}=lt,Se=Oe(lt,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ve,direction:Mt}=b.useContext(He.E_),[Jt,Zt]=b.useState(Se.value||Pe||[]),[pe,Re]=b.useState([]);b.useEffect(()=>{"value"in Se&&Zt(Se.value||[])},[Se.value]);const Ue=b.useMemo(()=>we.map(De=>typeof De=="string"||typeof De=="number"?{label:De,value:De}:De),[we]),tn=De=>{Re(st=>st.filter(Qe=>Qe!==De))},rt=De=>{Re(st=>[].concat((0,jt.Z)(st),[De]))},Kt=De=>{const st=Jt.indexOf(De.value),Qe=(0,jt.Z)(Jt);st===-1?Qe.push(De.value):Qe.splice(st,1),"value"in Se||Zt(Qe),Xt==null||Xt(Qe.filter(Ie=>pe.includes(Ie)).sort((Ie,mt)=>{const Et=Ue.findIndex(Le=>Le.value===Ie),Tt=Ue.findIndex(Le=>Le.value===mt);return Et-Tt}))},ct=ve("checkbox",me),fn=`${ct}-group`,xt=(0,de.Z)(ct),[le,ne,te]=(0,et.ZP)(ct,xt),ae=(0,se.Z)(Se,["value","disabled"]),he=we.length?Ue.map(De=>b.createElement(Nt,{prefixCls:ct,key:De.value.toString(),disabled:"disabled"in De?De.disabled:Se.disabled,value:De.value,checked:Jt.includes(De.value),onChange:De.onChange,className:`${fn}-item`,style:De.style,title:De.title,id:De.id,required:De.required},De.label)):Te,re={toggleOption:Kt,value:Jt,disabled:Se.disabled,name:Se.name,registerValue:rt,cancelValue:tn},ue=ce()(fn,{[`${fn}-rtl`]:Mt==="rtl"},Ot,We,te,xt,ne);return le(b.createElement("div",Object.assign({className:ue,style:Xe},ae,{ref:ut}),b.createElement(vt.Provider,{value:re},he)))});const Rt=Nt;Rt.Group=ht,Rt.__ANT_CHECKBOX=!0;var _e=Rt},36170:function(Yn,dn,z){"use strict";z.d(dn,{C2:function(){return Ce}});var b=z(36237),xe=z(63356),ce=z(51636),nt=z(16931);const Me=Be=>{const{checkboxCls:He}=Be,Fe=`${He}-wrapper`;return[{[`${He}-group`]:Object.assign(Object.assign({},(0,xe.Wf)(Be)),{display:"inline-flex",flexWrap:"wrap",columnGap:Be.marginXS,[`> ${Be.antCls}-row`]:{flex:1}}),[Fe]:Object.assign(Object.assign({},(0,xe.Wf)(Be)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Fe}`]:{marginInlineStart:0},[`&${Fe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[He]:Object.assign(Object.assign({},(0,xe.Wf)(Be)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Be.borderRadiusSM,alignSelf:"center",[`${He}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${He}-inner`]:Object.assign({},(0,xe.oN)(Be))},[`${He}-inner`]:{boxSizing:"border-box",display:"block",width:Be.checkboxSize,height:Be.checkboxSize,direction:"ltr",backgroundColor:Be.colorBgContainer,border:`${(0,b.unit)(Be.lineWidth)} ${Be.lineType} ${Be.colorBorder}`,borderRadius:Be.borderRadiusSM,borderCollapse:"separate",transition:`all ${Be.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Be.calc(Be.checkboxSize).div(14).mul(5).equal(),height:Be.calc(Be.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(Be.lineWidthBold)} solid ${Be.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Be.motionDurationFast} ${Be.motionEaseInBack}, opacity ${Be.motionDurationFast}`}},"& + span":{paddingInlineStart:Be.paddingXS,paddingInlineEnd:Be.paddingXS}})},{[`
${Fe}:not(${Fe}-disabled),
${He}:not(${He}-disabled)
`]:{[`&:hover ${He}-inner`]:{borderColor:Be.colorPrimary}},[`${Fe}:not(${Fe}-disabled)`]:{[`&:hover ${He}-checked:not(${He}-disabled) ${He}-inner`]:{backgroundColor:Be.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${He}-checked:not(${He}-disabled):after`]:{borderColor:Be.colorPrimaryHover}}},{[`${He}-checked`]:{[`${He}-inner`]:{backgroundColor:Be.colorPrimary,borderColor:Be.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Be.motionDurationMid} ${Be.motionEaseOutBack} ${Be.motionDurationFast}`}}},[`
${Fe}-checked:not(${Fe}-disabled),
${He}-checked:not(${He}-disabled)
`]:{[`&:hover ${He}-inner`]:{backgroundColor:Be.colorPrimaryHover,borderColor:"transparent"}}},{[He]:{"&-indeterminate":{[`${He}-inner`]:{backgroundColor:`${Be.colorBgContainer} !important`,borderColor:`${Be.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Be.calc(Be.fontSizeLG).div(2).equal(),height:Be.calc(Be.fontSizeLG).div(2).equal(),backgroundColor:Be.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${He}-inner`]:{backgroundColor:`${Be.colorBgContainer} !important`,borderColor:`${Be.colorPrimary} !important`}}}},{[`${Fe}-disabled`]:{cursor:"not-allowed"},[`${He}-disabled`]:{[`&, ${He}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${He}-inner`]:{background:Be.colorBgContainerDisabled,borderColor:Be.colorBorder,"&:after":{borderColor:Be.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Be.colorTextDisabled},[`&${He}-indeterminate ${He}-inner::after`]:{background:Be.colorTextDisabled}}}]};function Ce(Be,He){const Fe=(0,ce.mergeToken)(He,{checkboxCls:`.${Be}`,checkboxSize:He.controlInteractiveSize});return[Me(Fe)]}dn.ZP=(0,nt.I$)("Checkbox",(Be,He)=>{let{prefixCls:Fe}=He;return[Ce(Fe,Be)]})},38406:function(Yn,dn,z){"use strict";var b=z(59301),xe=z(48755),ce=z(584);const nt=Me=>{const{componentName:Ce}=Me,{getPrefixCls:Be}=(0,b.useContext)(xe.E_),He=Be("empty");switch(Ce){case"Table":case"List":return b.createElement(ce.Z,{image:ce.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(ce.Z,{image:ce.Z.PRESENTED_IMAGE_SIMPLE,className:`${He}-small`});case"Table.filter":return null;default:return b.createElement(ce.Z,null)}};dn.Z=nt},24017:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return ps}});var b=z(66649),xe=z.n(b),ce=z(9007),nt=z.n(ce),Me=z(50991),Ce=z.n(Me),Be=z(9084),He=z.n(Be),Fe=z(58626),de=z.n(Fe),Ke=z(13477),be=z.n(Ke),vt=z(64796),et=z.n(vt);xe().extend(et()),xe().extend(be()),xe().extend(nt()),xe().extend(Ce()),xe().extend(He()),xe().extend(de()),xe().extend(function(oe,Ee){var Ge=Ee.prototype,At=Ge.format;Ge.format=function(In){var Vn=(In||"").replace("Wo","wo");return At.bind(this)(Vn)}});var $e={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"},ze=function(Ee){var Ge=$e[Ee];return Ge||Ee.split("_")[0]},je=function(){},at={getNow:function(){var Ee=xe()();return typeof Ee.tz=="function"?Ee.tz():Ee},getFixedDate:function(Ee){return xe()(Ee,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Ee){return Ee.endOf("month")},getWeekDay:function(Ee){var Ge=Ee.locale("en");return Ge.weekday()+Ge.localeData().firstDayOfWeek()},getYear:function(Ee){return Ee.year()},getMonth:function(Ee){return Ee.month()},getDate:function(Ee){return Ee.date()},getHour:function(Ee){return Ee.hour()},getMinute:function(Ee){return Ee.minute()},getSecond:function(Ee){return Ee.second()},getMillisecond:function(Ee){return Ee.millisecond()},addYear:function(Ee,Ge){return Ee.add(Ge,"year")},addMonth:function(Ee,Ge){return Ee.add(Ge,"month")},addDate:function(Ee,Ge){return Ee.add(Ge,"day")},setYear:function(Ee,Ge){return Ee.year(Ge)},setMonth:function(Ee,Ge){return Ee.month(Ge)},setDate:function(Ee,Ge){return Ee.date(Ge)},setHour:function(Ee,Ge){return Ee.hour(Ge)},setMinute:function(Ee,Ge){return Ee.minute(Ge)},setSecond:function(Ee,Ge){return Ee.second(Ge)},setMillisecond:function(Ee,Ge){return Ee.millisecond(Ge)},isAfter:function(Ee,Ge){return Ee.isAfter(Ge)},isValidate:function(Ee){return Ee.isValid()},locale:{getWeekFirstDay:function(Ee){return xe()().locale(ze(Ee)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Ee,Ge){return Ge.locale(ze(Ee)).weekday(0)},getWeek:function(Ee,Ge){return Ge.locale(ze(Ee)).week()},getShortWeekDays:function(Ee){return xe()().locale(ze(Ee)).localeData().weekdaysMin()},getShortMonths:function(Ee){return xe()().locale(ze(Ee)).localeData().monthsShort()},format:function(Ee,Ge,At){return Ge.locale(ze(Ee)).format(At)},parse:function(Ee,Ge,At){for(var kt=ze(Ee),In=0;In<At.length;In+=1){var Vn=At[In],Gn=Ge;if(Vn.includes("wo")||Vn.includes("Wo")){for(var sr=Gn.split("-")[0],hr=Gn.split("-")[1],Qn=xe()(sr,"YYYY").startOf("year").locale(kt),Er=0;Er<=52;Er+=1){var Fr=Qn.add(Er,"week");if(Fr.format("Wo")===hr)return Fr}return je(),null}var Ir=xe()(Gn,Vn,!0).locale(kt);if(Ir.isValid())return Ir}return Ge&&je(),null}}},Nt=at,jt=z(45915),se=z(59301),Oe=z(54476),dt={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"},ht=dt,Rt=z(7657),_e=function(Ee,Ge){return se.createElement(Rt.Z,(0,Oe.Z)({},Ee,{ref:Ge,icon:ht}))},lt=se.forwardRef(_e),ut=lt,Pe={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"},Te=Pe,we=function(Ee,Ge){return se.createElement(Rt.Z,(0,Oe.Z)({},Ee,{ref:Ge,icon:Te}))},me=se.forwardRef(we),Ot=me,We={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"},Xe=We,Xt=function(Ee,Ge){return se.createElement(Rt.Z,(0,Oe.Z)({},Ee,{ref:Ge,icon:Xe}))},Se=se.forwardRef(Xt),ve=Se,Mt=z(92310),Jt=z.n(Mt),Zt=z(94480),pe=z(33885),Re=z(42978),Ue=z(70425),tn=z(34280),rt=z(2738),Kt=z(26112),ct=z(48736),fn=z(20068),xt=z(65030);function le(oe,Ee){return oe!==void 0?oe:Ee?"bottomRight":"bottomLeft"}var ne=se.createContext(null),te=ne,ae={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 he(oe){var Ee=oe.popupElement,Ge=oe.popupStyle,At=oe.popupClassName,kt=oe.popupAlign,In=oe.transitionName,Vn=oe.getPopupContainer,Gn=oe.children,sr=oe.range,hr=oe.placement,Qn=oe.builtinPlacements,Er=Qn===void 0?ae:Qn,Fr=oe.direction,Ir=oe.visible,Dr=oe.onClose,Mr=se.useContext(te),Lr=Mr.prefixCls,Tr="".concat(Lr,"-dropdown"),xi=le(hr,Fr==="rtl");return se.createElement(xt.Z,{showAction:[],hideAction:["click"],popupPlacement:xi,builtinPlacements:Er,prefixCls:Tr,popupTransitionName:In,popup:Ee,popupAlign:kt,popupVisible:Ir,popupClassName:Jt()(At,(0,fn.Z)((0,fn.Z)({},"".concat(Tr,"-range"),sr),"".concat(Tr,"-rtl"),Fr==="rtl")),popupStyle:Ge,stretch:"minWidth",getPopupContainer:Vn,onPopupVisibleChange:function(Ur){Ur||Dr()}},Gn)}var re=he;function ue(oe,Ee){for(var Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",At=String(oe);At.length<Ee;)At="".concat(Ge).concat(At);return At}function De(oe){return oe==null?[]:Array.isArray(oe)?oe:[oe]}function st(oe,Ee,Ge){var At=(0,Zt.Z)(oe);return At[Ee]=Ge,At}function Qe(oe,Ee){var Ge={},At=Ee||Object.keys(oe);return At.forEach(function(kt){oe[kt]!==void 0&&(Ge[kt]=oe[kt])}),Ge}function Ie(oe,Ee,Ge){if(Ge)return Ge;switch(oe){case"time":return Ee.fieldTimeFormat;case"datetime":return Ee.fieldDateTimeFormat;case"month":return Ee.fieldMonthFormat;case"year":return Ee.fieldYearFormat;case"quarter":return Ee.fieldQuarterFormat;case"week":return Ee.fieldWeekFormat;default:return Ee.fieldDateFormat}}function mt(oe,Ee,Ge){var At=Ge!==void 0?Ge:Ee[Ee.length-1],kt=Ee.find(function(In){return oe[In]});return At!==kt?oe[kt]:void 0}function Et(oe){return Qe(oe,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function Tt(oe,Ee,Ge,At){var kt=se.useMemo(function(){return oe||function(Vn,Gn){var sr=Vn;return Ee&&Gn.type==="date"?Ee(sr,Gn.today):Ge&&Gn.type==="month"?Ge(sr,Gn.locale):Gn.originNode}},[oe,Ge,Ee]),In=se.useCallback(function(Vn,Gn){return kt(Vn,(0,pe.Z)((0,pe.Z)({},Gn),{},{range:At}))},[kt,At]);return In}function Le(oe,Ee){var Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],At=se.useState([!1,!1]),kt=(0,Re.Z)(At,2),In=kt[0],Vn=kt[1],Gn=function(Qn,Er){Vn(function(Fr){return st(Fr,Er,Qn)})},sr=se.useMemo(function(){return In.map(function(hr,Qn){if(hr)return!0;var Er=oe[Qn];return Er?!!(!Ge[Qn]&&!Er||Er&&Ee(Er,{activeIndex:Qn})):!1})},[oe,In,Ee,Ge]);return[sr,Gn]}function Ye(oe,Ee,Ge,At,kt){var In="",Vn=[];return oe&&Vn.push(kt?"hh":"HH"),Ee&&Vn.push("mm"),Ge&&Vn.push("ss"),In=Vn.join(":"),At&&(In+=".SSS"),kt&&(In+=" A"),In}function vn(oe,Ee,Ge,At,kt,In){var Vn=oe.fieldDateTimeFormat,Gn=oe.fieldDateFormat,sr=oe.fieldTimeFormat,hr=oe.fieldMonthFormat,Qn=oe.fieldYearFormat,Er=oe.fieldWeekFormat,Fr=oe.fieldQuarterFormat,Ir=oe.yearFormat,Dr=oe.cellYearFormat,Mr=oe.cellQuarterFormat,Lr=oe.dayFormat,Tr=oe.cellDateFormat,xi=Ye(Ee,Ge,At,kt,In);return(0,pe.Z)((0,pe.Z)({},oe),{},{fieldDateTimeFormat:Vn||"YYYY-MM-DD ".concat(xi),fieldDateFormat:Gn||"YYYY-MM-DD",fieldTimeFormat:sr||xi,fieldMonthFormat:hr||"YYYY-MM",fieldYearFormat:Qn||"YYYY",fieldWeekFormat:Er||"gggg-wo",fieldQuarterFormat:Fr||"YYYY-[Q]Q",yearFormat:Ir||"YYYY",cellYearFormat:Dr||"YYYY",cellQuarterFormat:Mr||"[Q]Q",cellDateFormat:Tr||Lr||"D"})}function Ht(oe,Ee){var Ge=Ee.showHour,At=Ee.showMinute,kt=Ee.showSecond,In=Ee.showMillisecond,Vn=Ee.use12Hours;return se.useMemo(function(){return vn(oe,Ge,At,kt,In,Vn)},[oe,Ge,At,kt,In,Vn])}var Cn=z(76190);function un(oe,Ee,Ge){return Ge!=null?Ge:Ee.some(function(At){return oe.includes(At)})}var Ut=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function on(oe){var Ee=Qe(oe,Ut),Ge=oe.format,At=oe.picker,kt=null;return Ge&&(kt=Ge,Array.isArray(kt)&&(kt=kt[0]),kt=(0,Cn.Z)(kt)==="object"?kt.format:kt),At==="time"&&(Ee.format=kt),[Ee,kt]}function mn(oe){return oe&&typeof oe=="string"}function ft(oe,Ee,Ge,At){return[oe,Ee,Ge,At].some(function(kt){return kt!==void 0})}function Vt(oe,Ee,Ge,At,kt){var In=Ee,Vn=Ge,Gn=At;if(!oe&&!In&&!Vn&&!Gn&&!kt)In=!0,Vn=!0,Gn=!0;else if(oe){var sr,hr,Qn,Er=[In,Vn,Gn].some(function(Dr){return Dr===!1}),Fr=[In,Vn,Gn].some(function(Dr){return Dr===!0}),Ir=Er?!0:!Fr;In=(sr=In)!==null&&sr!==void 0?sr:Ir,Vn=(hr=Vn)!==null&&hr!==void 0?hr:Ir,Gn=(Qn=Gn)!==null&&Qn!==void 0?Qn:Ir}return[In,Vn,Gn,kt]}function yn(oe){var Ee=oe.showTime,Ge=on(oe),At=(0,Re.Z)(Ge,2),kt=At[0],In=At[1],Vn=Ee&&(0,Cn.Z)(Ee)==="object"?Ee:{},Gn=(0,pe.Z)((0,pe.Z)({defaultOpenValue:Vn.defaultOpenValue||Vn.defaultValue},kt),Vn),sr=Gn.showMillisecond,hr=Gn.showHour,Qn=Gn.showMinute,Er=Gn.showSecond,Fr=ft(hr,Qn,Er,sr),Ir=Vt(Fr,hr,Qn,Er,sr),Dr=(0,Re.Z)(Ir,3);return hr=Dr[0],Qn=Dr[1],Er=Dr[2],[Gn,(0,pe.Z)((0,pe.Z)({},Gn),{},{showHour:hr,showMinute:Qn,showSecond:Er,showMillisecond:sr}),Gn.format,In]}function Ct(oe,Ee,Ge,At,kt){var In=oe==="time";if(oe==="datetime"||In){for(var Vn=At,Gn=Ie(oe,kt,null),sr=Gn,hr=[Ee,Ge],Qn=0;Qn<hr.length;Qn+=1){var Er=De(hr[Qn])[0];if(mn(Er)){sr=Er;break}}var Fr=Vn.showHour,Ir=Vn.showMinute,Dr=Vn.showSecond,Mr=Vn.showMillisecond,Lr=Vn.use12Hours,Tr=un(sr,["a","A","LT","LLL","LTS"],Lr),xi=ft(Fr,Ir,Dr,Mr);xi||(Fr=un(sr,["H","h","k","LT","LLL"]),Ir=un(sr,["m","LT","LLL"]),Dr=un(sr,["s","LTS"]),Mr=un(sr,["SSS"]));var li=Vt(xi,Fr,Ir,Dr,Mr),Ur=(0,Re.Z)(li,3);Fr=Ur[0],Ir=Ur[1],Dr=Ur[2];var wi=Ee||Ye(Fr,Ir,Dr,Mr,Tr);return(0,pe.Z)((0,pe.Z)({},Vn),{},{format:wi,showHour:Fr,showMinute:Ir,showSecond:Dr,showMillisecond:Mr,use12Hours:Tr})}return null}function Je(oe,Ee,Ge){if(Ee===!1)return null;var At=Ee&&(0,Cn.Z)(Ee)==="object"?Ee:{};return At.clearIcon||Ge||se.createElement("span",{className:"".concat(oe,"-clear-btn")})}var Wt=7;function qt(oe,Ee,Ge){return!oe&&!Ee||oe===Ee?!0:!oe||!Ee?!1:Ge()}function ln(oe,Ee,Ge){return qt(Ee,Ge,function(){var At=Math.floor(oe.getYear(Ee)/10),kt=Math.floor(oe.getYear(Ge)/10);return At===kt})}function Zn(oe,Ee,Ge){return qt(Ee,Ge,function(){return oe.getYear(Ee)===oe.getYear(Ge)})}function qn(oe,Ee){var Ge=Math.floor(oe.getMonth(Ee)/3);return Ge+1}function mr(oe,Ee,Ge){return qt(Ee,Ge,function(){return Zn(oe,Ee,Ge)&&qn(oe,Ee)===qn(oe,Ge)})}function vr(oe,Ee,Ge){return qt(Ee,Ge,function(){return Zn(oe,Ee,Ge)&&oe.getMonth(Ee)===oe.getMonth(Ge)})}function _n(oe,Ee,Ge){return qt(Ee,Ge,function(){return Zn(oe,Ee,Ge)&&vr(oe,Ee,Ge)&&oe.getDate(Ee)===oe.getDate(Ge)})}function dr(oe,Ee,Ge){return qt(Ee,Ge,function(){return oe.getHour(Ee)===oe.getHour(Ge)&&oe.getMinute(Ee)===oe.getMinute(Ge)&&oe.getSecond(Ee)===oe.getSecond(Ge)})}function Qt(oe,Ee,Ge){return qt(Ee,Ge,function(){return _n(oe,Ee,Ge)&&dr(oe,Ee,Ge)&&oe.getMillisecond(Ee)===oe.getMillisecond(Ge)})}function En(oe,Ee,Ge,At){return qt(Ge,At,function(){var kt=oe.locale.getWeekFirstDate(Ee,Ge),In=oe.locale.getWeekFirstDate(Ee,At);return Zn(oe,kt,In)&&oe.locale.getWeek(Ee,Ge)===oe.locale.getWeek(Ee,At)})}function pn(oe,Ee,Ge,At,kt){switch(kt){case"date":return _n(oe,Ge,At);case"week":return En(oe,Ee.locale,Ge,At);case"month":return vr(oe,Ge,At);case"quarter":return mr(oe,Ge,At);case"year":return Zn(oe,Ge,At);case"decade":return ln(oe,Ge,At);case"time":return dr(oe,Ge,At);default:return Qt(oe,Ge,At)}}function xn(oe,Ee,Ge,At){return!Ee||!Ge||!At?!1:oe.isAfter(At,Ee)&&oe.isAfter(Ge,At)}function sn(oe,Ee,Ge,At,kt){return pn(oe,Ee,Ge,At,kt)?!0:oe.isAfter(Ge,At)}function Fn(oe,Ee,Ge){var At=Ee.locale.getWeekFirstDay(oe),kt=Ee.setDate(Ge,1),In=Ee.getWeekDay(kt),Vn=Ee.addDate(kt,At-In);return Ee.getMonth(Vn)===Ee.getMonth(Ge)&&Ee.getDate(Vn)>1&&(Vn=Ee.addDate(Vn,-7)),Vn}function St(oe,Ee){var Ge=Ee.generateConfig,At=Ee.locale,kt=Ee.format;return oe?typeof kt=="function"?kt(oe):Ge.locale.format(At.locale,oe,kt):""}function Sn(oe,Ee,Ge){var At=Ee,kt=["getHour","getMinute","getSecond","getMillisecond"],In=["setHour","setMinute","setSecond","setMillisecond"];return In.forEach(function(Vn,Gn){Ge?At=oe[Vn](At,oe[kt[Gn]](Ge)):At=oe[Vn](At,0)}),At}function Bt(oe,Ee,Ge,At,kt){var In=(0,Ue.zX)(function(Vn,Gn){return!!(Ge&&Ge(Vn,Gn)||At&&oe.isAfter(At,Vn)&&!pn(oe,Ee,At,Vn,Gn.type)||kt&&oe.isAfter(Vn,kt)&&!pn(oe,Ee,kt,Vn,Gn.type))});return In}function hn(oe,Ee,Ge){return se.useMemo(function(){var At=Ie(oe,Ee,Ge),kt=De(At),In=kt[0],Vn=(0,Cn.Z)(In)==="object"&&In.type==="mask"?In.format:null;return[kt.map(function(Gn){return typeof Gn=="string"||typeof Gn=="function"?Gn:Gn.format}),Vn]},[oe,Ee,Ge])}function An(oe,Ee,Ge){return typeof oe[0]=="function"||Ge?!0:Ee}function On(oe,Ee,Ge,At){var kt=(0,Ue.zX)(function(In,Vn){var Gn=(0,pe.Z)({type:Ee},Vn);if(delete Gn.activeIndex,!oe.isValidate(In)||Ge&&Ge(In,Gn))return!0;if((Ee==="date"||Ee==="time")&&At){var sr,hr=Vn&&Vn.activeIndex===1?"end":"start",Qn=((sr=At.disabledTime)===null||sr===void 0?void 0:sr.call(At,In,hr,{from:Gn.from}))||{},Er=Qn.disabledHours,Fr=Qn.disabledMinutes,Ir=Qn.disabledSeconds,Dr=Qn.disabledMilliseconds,Mr=At.disabledHours,Lr=At.disabledMinutes,Tr=At.disabledSeconds,xi=Er||Mr,li=Fr||Lr,Ur=Ir||Tr,wi=oe.getHour(In),ri=oe.getMinute(In),ui=oe.getSecond(In),oo=oe.getMillisecond(In);if(xi&&xi().includes(wi)||li&&li(wi).includes(ri)||Ur&&Ur(wi,ri).includes(ui)||Dr&&Dr(wi,ri,ui).includes(oo))return!0}return!1});return kt}function Ln(oe){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ge=se.useMemo(function(){var At=oe&&De(oe);return Ee&&At&&(At[1]=At[1]||At[0]),At},[oe,Ee]);return Ge}function nr(oe,Ee){var Ge=oe.generateConfig,At=oe.locale,kt=oe.picker,In=kt===void 0?"date":kt,Vn=oe.prefixCls,Gn=Vn===void 0?"rc-picker":Vn,sr=oe.styles,hr=sr===void 0?{}:sr,Qn=oe.classNames,Er=Qn===void 0?{}:Qn,Fr=oe.order,Ir=Fr===void 0?!0:Fr,Dr=oe.components,Mr=Dr===void 0?{}:Dr,Lr=oe.inputRender,Tr=oe.allowClear,xi=oe.clearIcon,li=oe.needConfirm,Ur=oe.multiple,wi=oe.format,ri=oe.inputReadOnly,ui=oe.disabledDate,oo=oe.minDate,Vi=oe.maxDate,Yi=oe.showTime,Wi=oe.value,uo=oe.defaultValue,Qi=oe.pickerValue,Bi=oe.defaultPickerValue,Si=Ln(Wi),Ti=Ln(uo),Mi=Ln(Qi),vo=Ln(Bi),co=In==="date"&&Yi?"datetime":In,Ki=co==="time"||co==="datetime",qi=Ki||Ur,Fi=li!=null?li:Ki,Gi=yn(oe),Ui=(0,Re.Z)(Gi,4),po=Ui[0],Bo=Ui[1],Mo=Ui[2],ye=Ui[3],ge=Ht(At,Bo),ot=se.useMemo(function(){return Ct(co,Mo,ye,po,ge)},[co,Mo,ye,po,ge]),wt=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},oe),{},{prefixCls:Gn,locale:ge,picker:In,styles:hr,classNames:Er,order:Ir,components:(0,pe.Z)({input:Lr},Mr),clearIcon:Je(Gn,Tr,xi),showTime:ot,value:Si,defaultValue:Ti,pickerValue:Mi,defaultPickerValue:vo},Ee==null?void 0:Ee())},[oe]),Yt=hn(co,ge,wi),rn=(0,Re.Z)(Yt,2),wn=rn[0],bn=rn[1],kn=An(wn,ri,Ur),Tn=Bt(Ge,At,ui,oo,Vi),or=On(Ge,In,Tn,ot),tr=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},wt),{},{needConfirm:Fi,inputReadOnly:kn,disabledDate:Tn})},[wt,Fi,kn,Tn]);return[tr,co,qi,wn,bn,or]}var Xn=z(16089);function nn(oe,Ee,Ge){var At=(0,Ue.C8)(Ee,{value:oe}),kt=(0,Re.Z)(At,2),In=kt[0],Vn=kt[1],Gn=se.useRef(oe),sr=se.useRef(),hr=function(){Xn.Z.cancel(sr.current)},Qn=(0,Ue.zX)(function(){Vn(Gn.current),Ge&&In!==Gn.current&&Ge(Gn.current)}),Er=(0,Ue.zX)(function(Fr,Ir){hr(),Gn.current=Fr,Fr||Ir?Qn():sr.current=(0,Xn.Z)(Qn)});return se.useEffect(function(){return hr},[]),[In,Er]}function Pn(oe,Ee){var Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],At=arguments.length>3?arguments[3]:void 0,kt=Ge.every(function(Qn){return Qn})?!1:oe,In=nn(kt,Ee||!1,At),Vn=(0,Re.Z)(In,2),Gn=Vn[0],sr=Vn[1];function hr(Qn){var Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!Er.inherit||Gn)&&sr(Qn,Er.force)}return[Gn,hr]}function en(oe){var Ee=se.useRef();return se.useImperativeHandle(oe,function(){var Ge;return{nativeElement:(Ge=Ee.current)===null||Ge===void 0?void 0:Ge.nativeElement,focus:function(kt){var In;(In=Ee.current)===null||In===void 0||In.focus(kt)},blur:function(){var kt;(kt=Ee.current)===null||kt===void 0||kt.blur()}}}),Ee}function er(oe,Ee){return se.useMemo(function(){return oe||(Ee?((0,ct.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Ee).map(function(Ge){var At=(0,Re.Z)(Ge,2),kt=At[0],In=At[1];return{label:kt,value:In}})):[])},[oe,Ee])}function Dt(oe,Ee){var Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,At=se.useRef(Ee);At.current=Ee,(0,tn.o)(function(){if(oe)At.current(oe);else{var kt=(0,Xn.Z)(function(){At.current(oe)},Ge);return function(){Xn.Z.cancel(kt)}}},[oe])}function Gt(oe){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,At=se.useState(0),kt=(0,Re.Z)(At,2),In=kt[0],Vn=kt[1],Gn=se.useState(!1),sr=(0,Re.Z)(Gn,2),hr=sr[0],Qn=sr[1],Er=se.useRef([]),Fr=se.useRef(null),Ir=se.useRef(null),Dr=function(Ur){Fr.current=Ur},Mr=function(Ur){return Fr.current===Ur},Lr=function(Ur){Qn(Ur)},Tr=function(Ur){return Ur&&(Ir.current=Ur),Ir.current},xi=function(Ur){var wi=Er.current,ri=new Set(wi.filter(function(oo){return Ur[oo]||Ee[oo]})),ui=wi[wi.length-1]===0?1:0;return ri.size>=2||oe[ui]?null:ui};return Dt(hr||Ge,function(){hr||(Er.current=[],Dr(null))}),se.useEffect(function(){hr&&Er.current.push(In)},[hr,In]),[hr,Lr,Tr,In,Vn,xi,Er.current,Dr,Mr]}function Ze(oe,Ee,Ge,At,kt,In){var Vn=Ge[Ge.length-1],Gn=function(hr,Qn){var Er=(0,Re.Z)(oe,2),Fr=Er[0],Ir=Er[1],Dr=(0,pe.Z)((0,pe.Z)({},Qn),{},{from:mt(oe,Ge)});return Vn===1&&Ee[0]&&Fr&&!pn(At,kt,Fr,hr,Dr.type)&&At.isAfter(Fr,hr)||Vn===0&&Ee[1]&&Ir&&!pn(At,kt,Ir,hr,Dr.type)&&At.isAfter(hr,Ir)?!0:In==null?void 0:In(hr,Dr)};return Gn}function gt(oe,Ee,Ge,At){switch(Ee){case"date":case"week":return oe.addMonth(Ge,At);case"month":case"quarter":return oe.addYear(Ge,At);case"year":return oe.addYear(Ge,At*10);case"decade":return oe.addYear(Ge,At*100);default:return Ge}}var Ve=[];function yt(oe,Ee,Ge,At,kt,In,Vn,Gn){var sr=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Ve,hr=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Ve,Qn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Ve,Er=arguments.length>11?arguments[11]:void 0,Fr=arguments.length>12?arguments[12]:void 0,Ir=arguments.length>13?arguments[13]:void 0,Dr=Vn==="time",Mr=In||0,Lr=function(Mi){var vo=oe.getNow();return Dr&&(vo=Sn(oe,vo)),sr[Mi]||Ge[Mi]||vo},Tr=(0,Re.Z)(hr,2),xi=Tr[0],li=Tr[1],Ur=(0,Ue.C8)(function(){return Lr(0)},{value:xi}),wi=(0,Re.Z)(Ur,2),ri=wi[0],ui=wi[1],oo=(0,Ue.C8)(function(){return Lr(1)},{value:li}),Vi=(0,Re.Z)(oo,2),Yi=Vi[0],Wi=Vi[1],uo=se.useMemo(function(){var Ti=[ri,Yi][Mr];return Dr?Ti:Sn(oe,Ti,Qn[Mr])},[Dr,ri,Yi,Mr,oe,Qn]),Qi=function(Mi){var vo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",co=[ui,Wi][Mr];co(Mi);var Ki=[ri,Yi];Ki[Mr]=Mi,Er&&(!pn(oe,Ee,ri,Ki[0],Vn)||!pn(oe,Ee,Yi,Ki[1],Vn))&&Er(Ki,{source:vo,range:Mr===1?"end":"start",mode:At})},Bi=function(Mi,vo){if(Gn){var co={date:"month",week:"month",month:"year",quarter:"year"},Ki=co[Vn];if(Ki&&!pn(oe,Ee,Mi,vo,Ki))return gt(oe,Vn,vo,-1);if(Vn==="year"&&Mi){var qi=Math.floor(oe.getYear(Mi)/10),Fi=Math.floor(oe.getYear(vo)/10);if(qi!==Fi)return gt(oe,Vn,vo,-1)}}return vo},Si=se.useRef(null);return(0,tn.Z)(function(){if(kt&&!sr[Mr]){var Ti=Dr?null:oe.getNow();if(Si.current!==null&&Si.current!==Mr?Ti=[ri,Yi][Mr^1]:Ge[Mr]?Ti=Mr===0?Ge[0]:Bi(Ge[0],Ge[1]):Ge[Mr^1]&&(Ti=Ge[Mr^1]),Ti){Fr&&oe.isAfter(Fr,Ti)&&(Ti=Fr);var Mi=Gn?gt(oe,Vn,Ti,1):Ti;Ir&&oe.isAfter(Mi,Ir)&&(Ti=Gn?gt(oe,Vn,Ir,-1):Ir),Qi(Ti,"reset")}}},[kt,Mr,Ge[Mr]]),se.useEffect(function(){kt?Si.current=Mr:Si.current=null},[kt,Mr]),(0,tn.Z)(function(){kt&&sr&&sr[Mr]&&Qi(sr[Mr],"reset")},[kt,Mr]),[uo,Qi]}function _t(oe,Ee){var Ge=se.useRef(oe),At=se.useState({}),kt=(0,Re.Z)(At,2),In=kt[1],Vn=function(hr){return hr&&Ee!==void 0?Ee:Ge.current},Gn=function(hr){Ge.current=hr,In({})};return[Vn,Gn,Vn(!0)]}var rr=[];function ar(oe,Ee,Ge){var At=function(Vn){return Vn.map(function(Gn){return St(Gn,{generateConfig:oe,locale:Ee,format:Ge[0]})})},kt=function(Vn,Gn){for(var sr=Math.max(Vn.length,Gn.length),hr=-1,Qn=0;Qn<sr;Qn+=1){var Er=Vn[Qn]||null,Fr=Gn[Qn]||null;if(Er!==Fr&&!Qt(oe,Er,Fr)){hr=Qn;break}}return[hr<0,hr!==0]};return[At,kt]}function pt(oe,Ee){return(0,Zt.Z)(oe).sort(function(Ge,At){return Ee.isAfter(Ge,At)?1:-1})}function bt(oe){var Ee=_t(oe),Ge=(0,Re.Z)(Ee,2),At=Ge[0],kt=Ge[1],In=(0,Ue.zX)(function(){kt(oe)});return se.useEffect(function(){In()},[oe]),[At,kt]}function Pt(oe,Ee,Ge,At,kt,In,Vn,Gn,sr){var hr=(0,Ue.C8)(In,{value:Vn}),Qn=(0,Re.Z)(hr,2),Er=Qn[0],Fr=Qn[1],Ir=Er||rr,Dr=bt(Ir),Mr=(0,Re.Z)(Dr,2),Lr=Mr[0],Tr=Mr[1],xi=ar(oe,Ee,Ge),li=(0,Re.Z)(xi,2),Ur=li[0],wi=li[1],ri=(0,Ue.zX)(function(oo){var Vi=(0,Zt.Z)(oo);if(At)for(var Yi=0;Yi<2;Yi+=1)Vi[Yi]=Vi[Yi]||null;else kt&&(Vi=pt(Vi.filter(function(Ti){return Ti}),oe));var Wi=wi(Lr(),Vi),uo=(0,Re.Z)(Wi,2),Qi=uo[0],Bi=uo[1];if(!Qi&&(Tr(Vi),Gn)){var Si=Ur(Vi);Gn(Vi,Si,{range:Bi?"end":"start"})}}),ui=function(){sr&&sr(Lr())};return[Ir,Fr,Lr,ri,ui]}function zt(oe,Ee,Ge,At,kt,In,Vn,Gn,sr,hr){var Qn=oe.generateConfig,Er=oe.locale,Fr=oe.picker,Ir=oe.onChange,Dr=oe.allowEmpty,Mr=oe.order,Lr=In.some(function(Qi){return Qi})?!1:Mr,Tr=ar(Qn,Er,Vn),xi=(0,Re.Z)(Tr,2),li=xi[0],Ur=xi[1],wi=_t(Ee),ri=(0,Re.Z)(wi,2),ui=ri[0],oo=ri[1],Vi=(0,Ue.zX)(function(){oo(Ee)});se.useEffect(function(){Vi()},[Ee]);var Yi=(0,Ue.zX)(function(Qi){var Bi=Qi===null,Si=(0,Zt.Z)(Qi||ui());if(Bi)for(var Ti=Math.max(In.length,Si.length),Mi=0;Mi<Ti;Mi+=1)In[Mi]||(Si[Mi]=null);Lr&&Si[0]&&Si[1]&&(Si=pt(Si,Qn)),kt(Si);var vo=Si,co=(0,Re.Z)(vo,2),Ki=co[0],qi=co[1],Fi=!Ki,Gi=!qi,Ui=Dr?(!Fi||Dr[0])&&(!Gi||Dr[1]):!0,po=!Mr||Fi||Gi||pn(Qn,Er,Ki,qi,Fr)||Qn.isAfter(qi,Ki),Bo=(In[0]||!Ki||!hr(Ki,{activeIndex:0}))&&(In[1]||!qi||!hr(qi,{from:Ki,activeIndex:1})),Mo=Bi||Ui&&po&&Bo;if(Mo){Ge(Si);var ye=Ur(Si,Ee),ge=(0,Re.Z)(ye,1),ot=ge[0];Ir&&!ot&&Ir(Bi&&Si.every(function(wt){return!wt})?null:Si,li(Si))}return Mo}),Wi=(0,Ue.zX)(function(Qi,Bi){var Si=st(ui(),Qi,At()[Qi]);oo(Si),Bi&&Yi()}),uo=!Gn&&!sr;return Dt(!uo,function(){uo&&(Yi(),kt(Ee),Vi())},2),[Wi,Yi]}function Bn(oe,Ee,Ge,At,kt){return Ee!=="date"&&Ee!=="time"?!1:Ge!==void 0?Ge:At!==void 0?At:!kt&&(oe==="date"||oe==="time")}var Hn=z(29301);function Rn(oe,Ee,Ge,At,kt,In){var Vn=oe;function Gn(Er,Fr,Ir){var Dr=In[Er](Vn),Mr=Ir.find(function(li){return li.value===Dr});if(!Mr||Mr.disabled){var Lr=Ir.filter(function(li){return!li.disabled}),Tr=(0,Zt.Z)(Lr).reverse(),xi=Tr.find(function(li){return li.value<=Dr})||Lr[0];xi&&(Dr=xi.value,Vn=In[Fr](Vn,Dr))}return Dr}var sr=Gn("getHour","setHour",Ee()),hr=Gn("getMinute","setMinute",Ge(sr)),Qn=Gn("getSecond","setSecond",At(sr,hr));return Gn("getMillisecond","setMillisecond",kt(sr,hr,Qn)),Vn}function Un(){return[]}function pr(oe,Ee){for(var Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,At=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,kt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],In=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,Vn=[],Gn=Ge>=1?Ge|0:1,sr=oe;sr<=Ee;sr+=Gn){var hr=kt.includes(sr);(!hr||!At)&&Vn.push({label:ue(sr,In),value:sr,disabled:hr})}return Vn}function Ar(oe){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ge=arguments.length>2?arguments[2]:void 0,At=Ee||{},kt=At.use12Hours,In=At.hourStep,Vn=In===void 0?1:In,Gn=At.minuteStep,sr=Gn===void 0?1:Gn,hr=At.secondStep,Qn=hr===void 0?1:hr,Er=At.millisecondStep,Fr=Er===void 0?100:Er,Ir=At.hideDisabledOptions,Dr=At.disabledTime,Mr=At.disabledHours,Lr=At.disabledMinutes,Tr=At.disabledSeconds,xi=se.useMemo(function(){return Ge||oe.getNow()},[Ge,oe]);if(0)var li,Ur,wi;var ri=se.useCallback(function(qi){var Fi=(Dr==null?void 0:Dr(qi))||{};return[Fi.disabledHours||Mr||Un,Fi.disabledMinutes||Lr||Un,Fi.disabledSeconds||Tr||Un,Fi.disabledMilliseconds||Un]},[Dr,Mr,Lr,Tr]),ui=se.useMemo(function(){return ri(xi)},[xi,ri]),oo=(0,Re.Z)(ui,4),Vi=oo[0],Yi=oo[1],Wi=oo[2],uo=oo[3],Qi=se.useCallback(function(qi,Fi,Gi,Ui){var po=pr(0,23,Vn,Ir,qi()),Bo=kt?po.map(function(ot){return(0,pe.Z)((0,pe.Z)({},ot),{},{label:ue(ot.value%12||12,2)})}):po,Mo=function(wt){return pr(0,59,sr,Ir,Fi(wt))},ye=function(wt,Yt){return pr(0,59,Qn,Ir,Gi(wt,Yt))},ge=function(wt,Yt,rn){return pr(0,999,Fr,Ir,Ui(wt,Yt,rn),3)};return[Bo,Mo,ye,ge]},[Ir,Vn,kt,Fr,sr,Qn]),Bi=se.useMemo(function(){return Qi(Vi,Yi,Wi,uo)},[Qi,Vi,Yi,Wi,uo]),Si=(0,Re.Z)(Bi,4),Ti=Si[0],Mi=Si[1],vo=Si[2],co=Si[3],Ki=function(Fi,Gi){var Ui=function(){return Ti},po=Mi,Bo=vo,Mo=co;if(Gi){var ye=ri(Gi),ge=(0,Re.Z)(ye,4),ot=ge[0],wt=ge[1],Yt=ge[2],rn=ge[3],wn=Qi(ot,wt,Yt,rn),bn=(0,Re.Z)(wn,4),kn=bn[0],Tn=bn[1],or=bn[2],tr=bn[3];Ui=function(){return kn},po=Tn,Bo=or,Mo=tr}var $n=Rn(Fi,Ui,po,Bo,Mo,oe);return $n};return[Ki,Ti,Mi,vo,co]}function Vr(oe){var Ee=oe.mode,Ge=oe.internalMode,At=oe.renderExtraFooter,kt=oe.showNow,In=oe.showTime,Vn=oe.onSubmit,Gn=oe.onNow,sr=oe.invalid,hr=oe.needConfirm,Qn=oe.generateConfig,Er=oe.disabledDate,Fr=se.useContext(te),Ir=Fr.prefixCls,Dr=Fr.locale,Mr=Fr.button,Lr=Mr===void 0?"button":Mr,Tr=Qn.getNow(),xi=Ar(Qn,In,Tr),li=(0,Re.Z)(xi,1),Ur=li[0],wi=At==null?void 0:At(Ee),ri=Er(Tr,{type:Ee}),ui=function(){if(!ri){var Bi=Ur(Tr);Gn(Bi)}},oo="".concat(Ir,"-now"),Vi="".concat(oo,"-btn"),Yi=kt&&se.createElement("li",{className:oo},se.createElement("a",{className:Jt()(Vi,ri&&"".concat(Vi,"-disabled")),"aria-disabled":ri,onClick:ui},Ge==="date"?Dr.today:Dr.now)),Wi=hr&&se.createElement("li",{className:"".concat(Ir,"-ok")},se.createElement(Lr,{disabled:sr,onClick:Vn},Dr.ok)),uo=(Yi||Wi)&&se.createElement("ul",{className:"".concat(Ir,"-ranges")},Yi,Wi);return!wi&&!uo?null:se.createElement("div",{className:"".concat(Ir,"-footer")},wi&&se.createElement("div",{className:"".concat(Ir,"-footer-extra")},wi),uo)}function Br(oe,Ee,Ge){function At(kt,In){var Vn=kt.findIndex(function(sr){return pn(oe,Ee,sr,In,Ge)});if(Vn===-1)return[].concat((0,Zt.Z)(kt),[In]);var Gn=(0,Zt.Z)(kt);return Gn.splice(Vn,1),Gn}return At}var fr=se.createContext(null);function Pr(){return se.useContext(fr)}function kr(oe,Ee){var Ge=oe.prefixCls,At=oe.generateConfig,kt=oe.locale,In=oe.disabledDate,Vn=oe.minDate,Gn=oe.maxDate,sr=oe.cellRender,hr=oe.hoverValue,Qn=oe.hoverRangeValue,Er=oe.onHover,Fr=oe.values,Ir=oe.pickerValue,Dr=oe.onSelect,Mr=oe.prevIcon,Lr=oe.nextIcon,Tr=oe.superPrevIcon,xi=oe.superNextIcon,li=At.getNow(),Ur={now:li,values:Fr,pickerValue:Ir,prefixCls:Ge,disabledDate:In,minDate:Vn,maxDate:Gn,cellRender:sr,hoverValue:hr,hoverRangeValue:Qn,onHover:Er,locale:kt,generateConfig:At,onSelect:Dr,panelType:Ee,prevIcon:Mr,nextIcon:Lr,superPrevIcon:Tr,superNextIcon:xi};return[Ur,li]}var $r=se.createContext({});function Xr(oe){for(var Ee=oe.rowNum,Ge=oe.colNum,At=oe.baseDate,kt=oe.getCellDate,In=oe.prefixColumn,Vn=oe.rowClassName,Gn=oe.titleFormat,sr=oe.getCellText,hr=oe.getCellClassName,Qn=oe.headerCells,Er=oe.cellSelection,Fr=Er===void 0?!0:Er,Ir=oe.disabledDate,Dr=Pr(),Mr=Dr.prefixCls,Lr=Dr.panelType,Tr=Dr.now,xi=Dr.disabledDate,li=Dr.cellRender,Ur=Dr.onHover,wi=Dr.hoverValue,ri=Dr.hoverRangeValue,ui=Dr.generateConfig,oo=Dr.values,Vi=Dr.locale,Yi=Dr.onSelect,Wi=Ir||xi,uo="".concat(Mr,"-cell"),Qi=se.useContext($r),Bi=Qi.onCellDblClick,Si=function(Gi){return oo.some(function(Ui){return Ui&&pn(ui,Vi,Gi,Ui,Lr)})},Ti=[],Mi=0;Mi<Ee;Mi+=1){for(var vo=[],co=void 0,Ki=function(){var Gi=Mi*Ge+qi,Ui=kt(At,Gi),po=Wi==null?void 0:Wi(Ui,{type:Lr});qi===0&&(co=Ui,In&&vo.push(In(co)));var Bo=!1,Mo=!1,ye=!1;if(Fr&&ri){var ge=(0,Re.Z)(ri,2),ot=ge[0],wt=ge[1];Bo=xn(ui,ot,wt,Ui),Mo=pn(ui,Vi,Ui,ot,Lr),ye=pn(ui,Vi,Ui,wt,Lr)}var Yt=Gn?St(Ui,{locale:Vi,format:Gn,generateConfig:ui}):void 0,rn=se.createElement("div",{className:"".concat(uo,"-inner")},sr(Ui));vo.push(se.createElement("td",{key:qi,title:Yt,className:Jt()(uo,(0,pe.Z)((0,fn.Z)((0,fn.Z)((0,fn.Z)((0,fn.Z)((0,fn.Z)((0,fn.Z)({},"".concat(uo,"-disabled"),po),"".concat(uo,"-hover"),(wi||[]).some(function(wn){return pn(ui,Vi,Ui,wn,Lr)})),"".concat(uo,"-in-range"),Bo&&!Mo&&!ye),"".concat(uo,"-range-start"),Mo),"".concat(uo,"-range-end"),ye),"".concat(Mr,"-cell-selected"),!ri&&Lr!=="week"&&Si(Ui)),hr(Ui))),onClick:function(){po||Yi(Ui)},onDoubleClick:function(){!po&&Bi&&Bi()},onMouseEnter:function(){po||Ur==null||Ur(Ui)},onMouseLeave:function(){po||Ur==null||Ur(null)}},li?li(Ui,{prefixCls:Mr,originNode:rn,today:Tr,type:Lr,locale:Vi}):rn))},qi=0;qi<Ge;qi+=1)Ki();Ti.push(se.createElement("tr",{key:Mi,className:Vn==null?void 0:Vn(co)},vo))}return se.createElement("div",{className:"".concat(Mr,"-body")},se.createElement("table",{className:"".concat(Mr,"-content")},Qn&&se.createElement("thead",null,se.createElement("tr",null,Qn)),se.createElement("tbody",null,Ti)))}var mi={visibility:"hidden"};function yr(oe){var Ee=oe.offset,Ge=oe.superOffset,At=oe.onChange,kt=oe.getStart,In=oe.getEnd,Vn=oe.children,Gn=Pr(),sr=Gn.prefixCls,hr=Gn.prevIcon,Qn=hr===void 0?"\u2039":hr,Er=Gn.nextIcon,Fr=Er===void 0?"\u203A":Er,Ir=Gn.superPrevIcon,Dr=Ir===void 0?"\xAB":Ir,Mr=Gn.superNextIcon,Lr=Mr===void 0?"\xBB":Mr,Tr=Gn.minDate,xi=Gn.maxDate,li=Gn.generateConfig,Ur=Gn.locale,wi=Gn.pickerValue,ri=Gn.panelType,ui="".concat(sr,"-header"),oo=se.useContext($r),Vi=oo.hidePrev,Yi=oo.hideNext,Wi=oo.hideHeader,uo=se.useMemo(function(){if(!Tr||!Ee||!In)return!1;var Fi=In(Ee(-1,wi));return!sn(li,Ur,Fi,Tr,ri)},[Tr,Ee,wi,In,li,Ur,ri]),Qi=se.useMemo(function(){if(!Tr||!Ge||!In)return!1;var Fi=In(Ge(-1,wi));return!sn(li,Ur,Fi,Tr,ri)},[Tr,Ge,wi,In,li,Ur,ri]),Bi=se.useMemo(function(){if(!xi||!Ee||!kt)return!1;var Fi=kt(Ee(1,wi));return!sn(li,Ur,xi,Fi,ri)},[xi,Ee,wi,kt,li,Ur,ri]),Si=se.useMemo(function(){if(!xi||!Ge||!kt)return!1;var Fi=kt(Ge(1,wi));return!sn(li,Ur,xi,Fi,ri)},[xi,Ge,wi,kt,li,Ur,ri]),Ti=function(Gi){Ee&&At(Ee(Gi,wi))},Mi=function(Gi){Ge&&At(Ge(Gi,wi))};if(Wi)return null;var vo="".concat(ui,"-prev-btn"),co="".concat(ui,"-next-btn"),Ki="".concat(ui,"-super-prev-btn"),qi="".concat(ui,"-super-next-btn");return se.createElement("div",{className:ui},Ge&&se.createElement("button",{type:"button","aria-label":Ur.previousYear,onClick:function(){return Mi(-1)},tabIndex:-1,className:Jt()(Ki,Qi&&"".concat(Ki,"-disabled")),disabled:Qi,style:Vi?mi:{}},Dr),Ee&&se.createElement("button",{type:"button","aria-label":Ur.previousMonth,onClick:function(){return Ti(-1)},tabIndex:-1,className:Jt()(vo,uo&&"".concat(vo,"-disabled")),disabled:uo,style:Vi?mi:{}},Qn),se.createElement("div",{className:"".concat(ui,"-view")},Vn),Ee&&se.createElement("button",{type:"button","aria-label":Ur.nextMonth,onClick:function(){return Ti(1)},tabIndex:-1,className:Jt()(co,Bi&&"".concat(co,"-disabled")),disabled:Bi,style:Yi?mi:{}},Fr),Ge&&se.createElement("button",{type:"button","aria-label":Ur.nextYear,onClick:function(){return Mi(1)},tabIndex:-1,className:Jt()(qi,Si&&"".concat(qi,"-disabled")),disabled:Si,style:Yi?mi:{}},Lr))}var ur=yr;function gr(oe){var Ee=oe.prefixCls,Ge=oe.panelName,At=Ge===void 0?"date":Ge,kt=oe.locale,In=oe.generateConfig,Vn=oe.pickerValue,Gn=oe.onPickerValueChange,sr=oe.onModeChange,hr=oe.mode,Qn=hr===void 0?"date":hr,Er=oe.disabledDate,Fr=oe.onSelect,Ir=oe.onHover,Dr=oe.showWeek,Mr="".concat(Ee,"-").concat(At,"-panel"),Lr="".concat(Ee,"-cell"),Tr=Qn==="week",xi=kr(oe,Qn),li=(0,Re.Z)(xi,2),Ur=li[0],wi=li[1],ri=In.locale.getWeekFirstDay(kt.locale),ui=In.setDate(Vn,1),oo=Fn(kt.locale,In,ui),Vi=In.getMonth(Vn),Yi=Dr===void 0?Tr:Dr,Wi=Yi?function(Fi){var Gi=Er==null?void 0:Er(Fi,{type:"week"});return se.createElement("td",{key:"week",className:Jt()(Lr,"".concat(Lr,"-week"),(0,fn.Z)({},"".concat(Lr,"-disabled"),Gi)),onClick:function(){Gi||Fr(Fi)},onMouseEnter:function(){Gi||Ir==null||Ir(Fi)},onMouseLeave:function(){Gi||Ir==null||Ir(null)}},se.createElement("div",{className:"".concat(Lr,"-inner")},In.locale.getWeek(kt.locale,Fi)))}:null,uo=[],Qi=kt.shortWeekDays||(In.locale.getShortWeekDays?In.locale.getShortWeekDays(kt.locale):[]);Wi&&uo.push(se.createElement("th",{key:"empty"},se.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},kt.week)));for(var Bi=0;Bi<Wt;Bi+=1)uo.push(se.createElement("th",{key:Bi},Qi[(Bi+ri)%Wt]));var Si=function(Gi,Ui){return In.addDate(Gi,Ui)},Ti=function(Gi){return St(Gi,{locale:kt,format:kt.cellDateFormat,generateConfig:In})},Mi=function(Gi){var Ui=(0,fn.Z)((0,fn.Z)({},"".concat(Ee,"-cell-in-view"),vr(In,Gi,Vn)),"".concat(Ee,"-cell-today"),_n(In,Gi,wi));return Ui},vo=kt.shortMonths||(In.locale.getShortMonths?In.locale.getShortMonths(kt.locale):[]),co=se.createElement("button",{type:"button","aria-label":kt.yearSelect,key:"year",onClick:function(){sr("year",Vn)},tabIndex:-1,className:"".concat(Ee,"-year-btn")},St(Vn,{locale:kt,format:kt.yearFormat,generateConfig:In})),Ki=se.createElement("button",{type:"button","aria-label":kt.monthSelect,key:"month",onClick:function(){sr("month",Vn)},tabIndex:-1,className:"".concat(Ee,"-month-btn")},kt.monthFormat?St(Vn,{locale:kt,format:kt.monthFormat,generateConfig:In}):vo[Vi]),qi=kt.monthBeforeYear?[Ki,co]:[co,Ki];return se.createElement(fr.Provider,{value:Ur},se.createElement("div",{className:Jt()(Mr,Dr&&"".concat(Mr,"-show-week"))},se.createElement(ur,{offset:function(Gi){return In.addMonth(Vn,Gi)},superOffset:function(Gi){return In.addYear(Vn,Gi)},onChange:Gn,getStart:function(Gi){return In.setDate(Gi,1)},getEnd:function(Gi){var Ui=In.setDate(Gi,1);return Ui=In.addMonth(Ui,1),In.addDate(Ui,-1)}},qi),se.createElement(Xr,(0,Oe.Z)({titleFormat:kt.fieldDateFormat},oe,{colNum:Wt,rowNum:6,baseDate:oo,headerCells:uo,getCellDate:Si,getCellText:Ti,getCellClassName:Mi,prefixColumn:Wi,cellSelection:!Tr}))))}var ni=z(29194),Kr=1/3;function wr(oe,Ee){var Ge=se.useRef(!1),At=se.useRef(null),kt=se.useRef(null),In=function(){return Ge.current},Vn=function(){Xn.Z.cancel(At.current),Ge.current=!1},Gn=se.useRef(),sr=function(){var Er=oe.current;if(kt.current=null,Gn.current=0,Er){var Fr=Er.querySelector('[data-value="'.concat(Ee,'"]')),Ir=Er.querySelector("li"),Dr=function Mr(){Vn(),Ge.current=!0,Gn.current+=1;var Lr=Er.scrollTop,Tr=Ir.offsetTop,xi=Fr.offsetTop,li=xi-Tr;if(xi===0&&Fr!==Ir||!(0,ni.Z)(Er)){Gn.current<=5&&(At.current=(0,Xn.Z)(Mr));return}var Ur=Lr+(li-Lr)*Kr,wi=Math.abs(li-Ur);if(kt.current!==null&&kt.current<wi){Vn();return}if(kt.current=wi,wi<=1){Er.scrollTop=li,Vn();return}Er.scrollTop=Ur,At.current=(0,Xn.Z)(Mr)};Fr&&Ir&&Dr()}},hr=(0,Ue.zX)(sr);return[hr,Vn,In]}var Rr=300;function hi(oe){return oe.map(function(Ee){var Ge=Ee.value,At=Ee.label,kt=Ee.disabled;return[Ge,At,kt].join(",")}).join(";")}function Qr(oe){var Ee=oe.units,Ge=oe.value,At=oe.optionalValue,kt=oe.type,In=oe.onChange,Vn=oe.onHover,Gn=oe.onDblClick,sr=oe.changeOnScroll,hr=Pr(),Qn=hr.prefixCls,Er=hr.cellRender,Fr=hr.now,Ir=hr.locale,Dr="".concat(Qn,"-time-panel"),Mr="".concat(Qn,"-time-panel-cell"),Lr=se.useRef(null),Tr=se.useRef(),xi=function(){clearTimeout(Tr.current)},li=wr(Lr,Ge!=null?Ge:At),Ur=(0,Re.Z)(li,3),wi=Ur[0],ri=Ur[1],ui=Ur[2];(0,tn.Z)(function(){return wi(),xi(),function(){ri(),xi()}},[Ge,At,hi(Ee)]);var oo=function(Wi){xi();var uo=Wi.target;!ui()&&sr&&(Tr.current=setTimeout(function(){var Qi=Lr.current,Bi=Qi.querySelector("li").offsetTop,Si=Array.from(Qi.querySelectorAll("li")),Ti=Si.map(function(qi){return qi.offsetTop-Bi}),Mi=Ti.map(function(qi,Fi){return Ee[Fi].disabled?Number.MAX_SAFE_INTEGER:Math.abs(qi-uo.scrollTop)}),vo=Math.min.apply(Math,(0,Zt.Z)(Mi)),co=Mi.findIndex(function(qi){return qi===vo}),Ki=Ee[co];Ki&&!Ki.disabled&&In(Ki.value)},Rr))},Vi="".concat(Dr,"-column");return se.createElement("ul",{className:Vi,ref:Lr,"data-type":kt,onScroll:oo},Ee.map(function(Yi){var Wi=Yi.label,uo=Yi.value,Qi=Yi.disabled,Bi=se.createElement("div",{className:"".concat(Mr,"-inner")},Wi);return se.createElement("li",{key:uo,className:Jt()(Mr,(0,fn.Z)((0,fn.Z)({},"".concat(Mr,"-selected"),Ge===uo),"".concat(Mr,"-disabled"),Qi)),onClick:function(){Qi||In(uo)},onDoubleClick:function(){!Qi&&Gn&&Gn()},onMouseEnter:function(){Vn(uo)},onMouseLeave:function(){Vn(null)},"data-value":uo},Er?Er(uo,{prefixCls:Qn,originNode:Bi,today:Fr,type:"time",subType:kt,locale:Ir}):Bi)}))}function qr(oe){return oe<12}function ei(oe){var Ee=oe.showHour,Ge=oe.showMinute,At=oe.showSecond,kt=oe.showMillisecond,In=oe.use12Hours,Vn=oe.changeOnScroll,Gn=Pr(),sr=Gn.prefixCls,hr=Gn.values,Qn=Gn.generateConfig,Er=Gn.locale,Fr=Gn.onSelect,Ir=Gn.onHover,Dr=Ir===void 0?function(){}:Ir,Mr=Gn.pickerValue,Lr=(hr==null?void 0:hr[0])||null,Tr=se.useContext($r),xi=Tr.onCellDblClick,li=Ar(Qn,oe,Lr),Ur=(0,Re.Z)(li,5),wi=Ur[0],ri=Ur[1],ui=Ur[2],oo=Ur[3],Vi=Ur[4],Yi=function(xr){var ti=Lr&&Qn[xr](Lr),pi=Mr&&Qn[xr](Mr);return[ti,pi]},Wi=Yi("getHour"),uo=(0,Re.Z)(Wi,2),Qi=uo[0],Bi=uo[1],Si=Yi("getMinute"),Ti=(0,Re.Z)(Si,2),Mi=Ti[0],vo=Ti[1],co=Yi("getSecond"),Ki=(0,Re.Z)(co,2),qi=Ki[0],Fi=Ki[1],Gi=Yi("getMillisecond"),Ui=(0,Re.Z)(Gi,2),po=Ui[0],Bo=Ui[1],Mo=Qi===null?null:qr(Qi)?"am":"pm",ye=se.useMemo(function(){return In?qr(Qi)?ri.filter(function(Sr){return qr(Sr.value)}):ri.filter(function(Sr){return!qr(Sr.value)}):ri},[Qi,ri,In]),ge=function(xr,ti){var pi,Ai=xr.filter(function(Ji){return!Ji.disabled});return ti!=null?ti:Ai==null||(pi=Ai[0])===null||pi===void 0?void 0:pi.value},ot=ge(ri,Qi),wt=se.useMemo(function(){return ui(ot)},[ui,ot]),Yt=ge(wt,Mi),rn=se.useMemo(function(){return oo(ot,Yt)},[oo,ot,Yt]),wn=ge(rn,qi),bn=se.useMemo(function(){return Vi(ot,Yt,wn)},[Vi,ot,Yt,wn]),kn=ge(bn,po),Tn=se.useMemo(function(){if(!In)return[];var Sr=Qn.getNow(),xr=Qn.setHour(Sr,6),ti=Qn.setHour(Sr,18),pi=function(Ji,bi){var Fo=Er.cellMeridiemFormat;return Fo?St(Ji,{generateConfig:Qn,locale:Er,format:Fo}):bi};return[{label:pi(xr,"AM"),value:"am",disabled:ri.every(function(Ai){return Ai.disabled||!qr(Ai.value)})},{label:pi(ti,"PM"),value:"pm",disabled:ri.every(function(Ai){return Ai.disabled||qr(Ai.value)})}]},[ri,In,Qn,Er]),or=function(xr){var ti=wi(xr);Fr(ti)},tr=se.useMemo(function(){var Sr=Lr||Mr||Qn.getNow(),xr=function(pi){return pi!=null};return xr(Qi)?(Sr=Qn.setHour(Sr,Qi),Sr=Qn.setMinute(Sr,Mi),Sr=Qn.setSecond(Sr,qi),Sr=Qn.setMillisecond(Sr,po)):xr(Bi)?(Sr=Qn.setHour(Sr,Bi),Sr=Qn.setMinute(Sr,vo),Sr=Qn.setSecond(Sr,Fi),Sr=Qn.setMillisecond(Sr,Bo)):xr(ot)&&(Sr=Qn.setHour(Sr,ot),Sr=Qn.setMinute(Sr,Yt),Sr=Qn.setSecond(Sr,wn),Sr=Qn.setMillisecond(Sr,kn)),Sr},[Lr,Mr,Qi,Mi,qi,po,ot,Yt,wn,kn,Bi,vo,Fi,Bo,Qn]),$n=function(xr,ti){return xr===null?null:Qn[ti](tr,xr)},Kn=function(xr){return $n(xr,"setHour")},Wn=function(xr){return $n(xr,"setMinute")},Or=function(xr){return $n(xr,"setSecond")},cr=function(xr){return $n(xr,"setMillisecond")},Hr=function(xr){return xr===null?null:xr==="am"&&!qr(Qi)?Qn.setHour(tr,Qi-12):xr==="pm"&&qr(Qi)?Qn.setHour(tr,Qi+12):tr},Nr=function(xr){or(Kn(xr))},_r=function(xr){or(Wn(xr))},zr=function(xr){or(Or(xr))},Yr=function(xr){or(cr(xr))},ai=function(xr){or(Hr(xr))},vi=function(xr){Dr(Kn(xr))},Ci=function(xr){Dr(Wn(xr))},Xi=function(xr){Dr(Or(xr))},Gr=function(xr){Dr(cr(xr))},jr=function(xr){Dr(Hr(xr))},ii={onDblClick:xi,changeOnScroll:Vn};return se.createElement("div",{className:"".concat(sr,"-content")},Ee&&se.createElement(Qr,(0,Oe.Z)({units:ye,value:Qi,optionalValue:Bi,type:"hour",onChange:Nr,onHover:vi},ii)),Ge&&se.createElement(Qr,(0,Oe.Z)({units:wt,value:Mi,optionalValue:vo,type:"minute",onChange:_r,onHover:Ci},ii)),At&&se.createElement(Qr,(0,Oe.Z)({units:rn,value:qi,optionalValue:Fi,type:"second",onChange:zr,onHover:Xi},ii)),kt&&se.createElement(Qr,(0,Oe.Z)({units:bn,value:po,optionalValue:Bo,type:"millisecond",onChange:Yr,onHover:Gr},ii)),In&&se.createElement(Qr,(0,Oe.Z)({units:Tn,value:Mo,type:"meridiem",onChange:ai,onHover:jr},ii)))}function Ni(oe){var Ee=oe.prefixCls,Ge=oe.value,At=oe.locale,kt=oe.generateConfig,In=oe.showTime,Vn=In||{},Gn=Vn.format,sr="".concat(Ee,"-time-panel"),hr=kr(oe,"time"),Qn=(0,Re.Z)(hr,1),Er=Qn[0];return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:Jt()(sr)},se.createElement(ur,null,Ge?St(Ge,{locale:At,format:Gn,generateConfig:kt}):"\xA0"),se.createElement(ei,In)))}function $i(oe){var Ee=oe.prefixCls,Ge=oe.generateConfig,At=oe.showTime,kt=oe.onSelect,In=oe.value,Vn=oe.pickerValue,Gn=oe.onHover,sr="".concat(Ee,"-datetime-panel"),hr=Ar(Ge,At),Qn=(0,Re.Z)(hr,1),Er=Qn[0],Fr=function(Lr){return In?Sn(Ge,Lr,In):Sn(Ge,Lr,Vn)},Ir=function(Lr){Gn==null||Gn(Lr&&Fr(Lr))},Dr=function(Lr){var Tr=Fr(Lr);kt(Er(Tr,Tr))};return se.createElement("div",{className:sr},se.createElement(gr,(0,Oe.Z)({},oe,{onSelect:Dr,onHover:Ir})),se.createElement(Ni,oe))}function _i(oe){var Ee=oe.prefixCls,Ge=oe.locale,At=oe.generateConfig,kt=oe.pickerValue,In=oe.disabledDate,Vn=oe.onPickerValueChange,Gn="".concat(Ee,"-decade-panel"),sr=kr(oe,"decade"),hr=(0,Re.Z)(sr,1),Qn=hr[0],Er=function(ri){var ui=Math.floor(At.getYear(ri)/100)*100;return At.setYear(ri,ui)},Fr=function(ri){var ui=Er(ri);return At.addYear(ui,99)},Ir=Er(kt),Dr=Fr(kt),Mr=At.addYear(Ir,-10),Lr=function(ri,ui){return At.addYear(ri,ui*10)},Tr=function(ri){var ui=Ge.cellYearFormat,oo=St(ri,{locale:Ge,format:ui,generateConfig:At}),Vi=St(At.addYear(ri,9),{locale:Ge,format:ui,generateConfig:At});return"".concat(oo,"-").concat(Vi)},xi=function(ri){return(0,fn.Z)({},"".concat(Ee,"-cell-in-view"),ln(At,ri,Ir)||ln(At,ri,Dr)||xn(At,Ir,Dr,ri))},li=In?function(wi,ri){var ui=At.setDate(wi,1),oo=At.setMonth(ui,0),Vi=At.setYear(oo,Math.floor(At.getYear(oo)/10)*10),Yi=At.addYear(Vi,10),Wi=At.addDate(Yi,-1);return In(Vi,ri)&&In(Wi,ri)}:null,Ur="".concat(St(Ir,{locale:Ge,format:Ge.yearFormat,generateConfig:At}),"-").concat(St(Dr,{locale:Ge,format:Ge.yearFormat,generateConfig:At}));return se.createElement(fr.Provider,{value:Qn},se.createElement("div",{className:Gn},se.createElement(ur,{superOffset:function(ri){return At.addYear(kt,ri*100)},onChange:Vn,getStart:Er,getEnd:Fr},Ur),se.createElement(Xr,(0,Oe.Z)({},oe,{disabledDate:li,colNum:3,rowNum:4,baseDate:Mr,getCellDate:Lr,getCellText:Tr,getCellClassName:xi}))))}function ki(oe){var Ee=oe.prefixCls,Ge=oe.locale,At=oe.generateConfig,kt=oe.pickerValue,In=oe.disabledDate,Vn=oe.onPickerValueChange,Gn=oe.onModeChange,sr="".concat(Ee,"-month-panel"),hr=kr(oe,"month"),Qn=(0,Re.Z)(hr,1),Er=Qn[0],Fr=At.setMonth(kt,0),Ir=Ge.shortMonths||(At.locale.getShortMonths?At.locale.getShortMonths(Ge.locale):[]),Dr=function(Ur,wi){return At.addMonth(Ur,wi)},Mr=function(Ur){var wi=At.getMonth(Ur);return Ge.monthFormat?St(Ur,{locale:Ge,format:Ge.monthFormat,generateConfig:At}):Ir[wi]},Lr=function(){return(0,fn.Z)({},"".concat(Ee,"-cell-in-view"),!0)},Tr=In?function(li,Ur){var wi=At.setDate(li,1),ri=At.setMonth(wi,At.getMonth(wi)+1),ui=At.addDate(ri,-1);return In(wi,Ur)&&In(ui,Ur)}:null,xi=se.createElement("button",{type:"button",key:"year","aria-label":Ge.yearSelect,onClick:function(){Gn("year")},tabIndex:-1,className:"".concat(Ee,"-year-btn")},St(kt,{locale:Ge,format:Ge.yearFormat,generateConfig:At}));return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:sr},se.createElement(ur,{superOffset:function(Ur){return At.addYear(kt,Ur)},onChange:Vn,getStart:function(Ur){return At.setMonth(Ur,0)},getEnd:function(Ur){return At.setMonth(Ur,11)}},xi),se.createElement(Xr,(0,Oe.Z)({},oe,{disabledDate:Tr,titleFormat:Ge.fieldMonthFormat,colNum:3,rowNum:4,baseDate:Fr,getCellDate:Dr,getCellText:Mr,getCellClassName:Lr}))))}function io(oe){var Ee=oe.prefixCls,Ge=oe.locale,At=oe.generateConfig,kt=oe.pickerValue,In=oe.onPickerValueChange,Vn=oe.onModeChange,Gn="".concat(Ee,"-quarter-panel"),sr=kr(oe,"quarter"),hr=(0,Re.Z)(sr,1),Qn=hr[0],Er=At.setMonth(kt,0),Fr=function(Tr,xi){return At.addMonth(Tr,xi*3)},Ir=function(Tr){return St(Tr,{locale:Ge,format:Ge.cellQuarterFormat,generateConfig:At})},Dr=function(){return(0,fn.Z)({},"".concat(Ee,"-cell-in-view"),!0)},Mr=se.createElement("button",{type:"button",key:"year","aria-label":Ge.yearSelect,onClick:function(){Vn("year")},tabIndex:-1,className:"".concat(Ee,"-year-btn")},St(kt,{locale:Ge,format:Ge.yearFormat,generateConfig:At}));return se.createElement(fr.Provider,{value:Qn},se.createElement("div",{className:Gn},se.createElement(ur,{superOffset:function(Tr){return At.addYear(kt,Tr)},onChange:In,getStart:function(Tr){return At.setMonth(Tr,0)},getEnd:function(Tr){return At.setMonth(Tr,11)}},Mr),se.createElement(Xr,(0,Oe.Z)({},oe,{titleFormat:Ge.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:Er,getCellDate:Fr,getCellText:Ir,getCellClassName:Dr}))))}function ke(oe){var Ee=oe.prefixCls,Ge=oe.generateConfig,At=oe.locale,kt=oe.value,In=oe.hoverValue,Vn=oe.hoverRangeValue,Gn=At.locale,sr="".concat(Ee,"-week-panel-row"),hr=function(Er){var Fr={};if(Vn){var Ir=(0,Re.Z)(Vn,2),Dr=Ir[0],Mr=Ir[1],Lr=En(Ge,Gn,Dr,Er),Tr=En(Ge,Gn,Mr,Er);Fr["".concat(sr,"-range-start")]=Lr,Fr["".concat(sr,"-range-end")]=Tr,Fr["".concat(sr,"-range-hover")]=!Lr&&!Tr&&xn(Ge,Dr,Mr,Er)}return In&&(Fr["".concat(sr,"-hover")]=In.some(function(xi){return En(Ge,Gn,Er,xi)})),Jt()(sr,(0,fn.Z)({},"".concat(sr,"-selected"),!Vn&&En(Ge,Gn,kt,Er)),Fr)};return se.createElement(gr,(0,Oe.Z)({},oe,{mode:"week",panelName:"week",rowClassName:hr}))}function tt(oe){var Ee=oe.prefixCls,Ge=oe.locale,At=oe.generateConfig,kt=oe.pickerValue,In=oe.disabledDate,Vn=oe.onPickerValueChange,Gn=oe.onModeChange,sr="".concat(Ee,"-year-panel"),hr=kr(oe,"year"),Qn=(0,Re.Z)(hr,1),Er=Qn[0],Fr=function(ui){var oo=Math.floor(At.getYear(ui)/10)*10;return At.setYear(ui,oo)},Ir=function(ui){var oo=Fr(ui);return At.addYear(oo,9)},Dr=Fr(kt),Mr=Ir(kt),Lr=At.addYear(Dr,-1),Tr=function(ui,oo){return At.addYear(ui,oo)},xi=function(ui){return St(ui,{locale:Ge,format:Ge.cellYearFormat,generateConfig:At})},li=function(ui){return(0,fn.Z)({},"".concat(Ee,"-cell-in-view"),Zn(At,ui,Dr)||Zn(At,ui,Mr)||xn(At,Dr,Mr,ui))},Ur=In?function(ri,ui){var oo=At.setMonth(ri,0),Vi=At.setDate(oo,1),Yi=At.addYear(Vi,1),Wi=At.addDate(Yi,-1);return In(Vi,ui)&&In(Wi,ui)}:null,wi=se.createElement("button",{type:"button",key:"decade","aria-label":Ge.decadeSelect,onClick:function(){Gn("decade")},tabIndex:-1,className:"".concat(Ee,"-decade-btn")},St(Dr,{locale:Ge,format:Ge.yearFormat,generateConfig:At}),"-",St(Mr,{locale:Ge,format:Ge.yearFormat,generateConfig:At}));return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:sr},se.createElement(ur,{superOffset:function(ui){return At.addYear(kt,ui*10)},onChange:Vn,getStart:Fr,getEnd:Ir},wi),se.createElement(Xr,(0,Oe.Z)({},oe,{disabledDate:Ur,titleFormat:Ge.fieldYearFormat,colNum:3,rowNum:4,baseDate:Lr,getCellDate:Tr,getCellText:xi,getCellClassName:li}))))}var Ft={date:gr,datetime:$i,week:ke,month:ki,quarter:io,year:tt,decade:_i,time:Ni};function an(oe,Ee){var Ge,At=oe.locale,kt=oe.generateConfig,In=oe.direction,Vn=oe.prefixCls,Gn=oe.tabIndex,sr=Gn===void 0?0:Gn,hr=oe.multiple,Qn=oe.defaultValue,Er=oe.value,Fr=oe.onChange,Ir=oe.onSelect,Dr=oe.defaultPickerValue,Mr=oe.pickerValue,Lr=oe.onPickerValueChange,Tr=oe.mode,xi=oe.onPanelChange,li=oe.picker,Ur=li===void 0?"date":li,wi=oe.showTime,ri=oe.hoverValue,ui=oe.hoverRangeValue,oo=oe.cellRender,Vi=oe.dateRender,Yi=oe.monthCellRender,Wi=oe.components,uo=Wi===void 0?{}:Wi,Qi=oe.hideHeader,Bi=((Ge=se.useContext(te))===null||Ge===void 0?void 0:Ge.prefixCls)||Vn||"rc-picker",Si=se.useRef();se.useImperativeHandle(Ee,function(){return{nativeElement:Si.current}});var Ti=yn(oe),Mi=(0,Re.Z)(Ti,4),vo=Mi[0],co=Mi[1],Ki=Mi[2],qi=Mi[3],Fi=Ht(At,co),Gi=Ur==="date"&&wi?"datetime":Ur,Ui=se.useMemo(function(){return Ct(Gi,Ki,qi,vo,Fi)},[Gi,Ki,qi,vo,Fi]),po=kt.getNow(),Bo=(0,Ue.C8)(Ur,{value:Tr,postState:function(jr){return jr||"date"}}),Mo=(0,Re.Z)(Bo,2),ye=Mo[0],ge=Mo[1],ot=ye==="date"&&Ui?"datetime":ye,wt=Br(kt,At,Gi),Yt=(0,Ue.C8)(Qn,{value:Er}),rn=(0,Re.Z)(Yt,2),wn=rn[0],bn=rn[1],kn=se.useMemo(function(){var Gr=De(wn).filter(function(jr){return jr});return hr?Gr:Gr.slice(0,1)},[wn,hr]),Tn=(0,Ue.zX)(function(Gr){bn(Gr),Fr&&(Gr===null||kn.length!==Gr.length||kn.some(function(jr,ii){return!pn(kt,At,jr,Gr[ii],Gi)}))&&(Fr==null||Fr(hr?Gr:Gr[0]))}),or=(0,Ue.zX)(function(Gr){if(Ir==null||Ir(Gr),ye===Ur){var jr=hr?wt(kn,Gr):[Gr];Tn(jr)}}),tr=(0,Ue.C8)(Dr||kn[0]||po,{value:Mr}),$n=(0,Re.Z)(tr,2),Kn=$n[0],Wn=$n[1];se.useEffect(function(){kn[0]&&!Mr&&Wn(kn[0])},[kn[0]]);var Or=function(jr,ii){xi==null||xi(jr||Mr,ii||ye)},cr=function(jr){var ii=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Wn(jr),Lr==null||Lr(jr),ii&&Or(jr)},Hr=function(jr,ii){ge(jr),ii&&cr(ii),Or(ii,jr)},Nr=function(jr){if(or(jr),cr(jr),ye!==Ur){var ii=["decade","year"],Sr=[].concat(ii,["month"]),xr={quarter:[].concat(ii,["quarter"]),week:[].concat((0,Zt.Z)(Sr),["week"]),date:[].concat((0,Zt.Z)(Sr),["date"])},ti=xr[Ur]||Sr,pi=ti.indexOf(ye),Ai=ti[pi+1];Ai&&Hr(Ai,jr)}},_r=se.useMemo(function(){var Gr,jr;if(Array.isArray(ui)){var ii=(0,Re.Z)(ui,2);Gr=ii[0],jr=ii[1]}else Gr=ui;return!Gr&&!jr?null:(Gr=Gr||jr,jr=jr||Gr,kt.isAfter(Gr,jr)?[jr,Gr]:[Gr,jr])},[ui,kt]),zr=Tt(oo,Vi,Yi),Yr=uo[ot]||Ft[ot]||gr,ai=se.useContext($r),vi=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},ai),{},{hideHeader:Qi})},[ai,Qi]),Ci="".concat(Bi,"-panel"),Xi=Qe(oe,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return se.createElement($r.Provider,{value:vi},se.createElement("div",{ref:Si,tabIndex:sr,className:Jt()(Ci,(0,fn.Z)({},"".concat(Ci,"-rtl"),In==="rtl"))},se.createElement(Yr,(0,Oe.Z)({},Xi,{showTime:Ui,prefixCls:Bi,locale:Fi,generateConfig:kt,onModeChange:Hr,pickerValue:Kn,onPickerValueChange:function(jr){cr(jr,!0)},value:kn[0],onSelect:Nr,values:kn,cellRender:zr,hoverRangeValue:_r,hoverValue:ri}))))}var cn=se.memo(se.forwardRef(an)),Lt=cn;function it(oe){var Ee=oe.picker,Ge=oe.multiplePanel,At=oe.pickerValue,kt=oe.onPickerValueChange,In=oe.needConfirm,Vn=oe.onSubmit,Gn=oe.range,sr=oe.hoverValue,hr=se.useContext(te),Qn=hr.prefixCls,Er=hr.generateConfig,Fr=se.useCallback(function(xi,li){return gt(Er,Ee,xi,li)},[Er,Ee]),Ir=se.useMemo(function(){return Fr(At,1)},[At,Fr]),Dr=function(li){kt(Fr(li,-1))},Mr={onCellDblClick:function(){In&&Vn()}},Lr=Ee==="time",Tr=(0,pe.Z)((0,pe.Z)({},oe),{},{hoverValue:null,hoverRangeValue:null,hideHeader:Lr});return Gn?Tr.hoverRangeValue=sr:Tr.hoverValue=sr,Ge?se.createElement("div",{className:"".concat(Qn,"-panels")},se.createElement($r.Provider,{value:(0,pe.Z)((0,pe.Z)({},Mr),{},{hideNext:!0})},se.createElement(Lt,Tr)),se.createElement($r.Provider,{value:(0,pe.Z)((0,pe.Z)({},Mr),{},{hidePrev:!0})},se.createElement(Lt,(0,Oe.Z)({},Tr,{pickerValue:Ir,onPickerValueChange:Dr})))):se.createElement($r.Provider,{value:(0,pe.Z)({},Mr)},se.createElement(Lt,Tr))}function It(oe){return typeof oe=="function"?oe():oe}function $t(oe){var Ee=oe.prefixCls,Ge=oe.presets,At=oe.onClick,kt=oe.onHover;return Ge.length?se.createElement("div",{className:"".concat(Ee,"-presets")},se.createElement("ul",null,Ge.map(function(In,Vn){var Gn=In.label,sr=In.value;return se.createElement("li",{key:Vn,onClick:function(){At(It(sr))},onMouseEnter:function(){kt(It(sr))},onMouseLeave:function(){kt(null)}},Gn)}))):null}function Nn(oe){var Ee=oe.panelRender,Ge=oe.internalMode,At=oe.picker,kt=oe.showNow,In=oe.range,Vn=oe.multiple,Gn=oe.activeInfo,sr=Gn===void 0?[0,0,0]:Gn,hr=oe.presets,Qn=oe.onPresetHover,Er=oe.onPresetSubmit,Fr=oe.onFocus,Ir=oe.onBlur,Dr=oe.onPanelMouseDown,Mr=oe.direction,Lr=oe.value,Tr=oe.onSelect,xi=oe.isInvalid,li=oe.defaultOpenValue,Ur=oe.onOk,wi=oe.onSubmit,ri=se.useContext(te),ui=ri.prefixCls,oo="".concat(ui,"-panel"),Vi=Mr==="rtl",Yi=se.useRef(null),Wi=se.useRef(null),uo=se.useState(0),Qi=(0,Re.Z)(uo,2),Bi=Qi[0],Si=Qi[1],Ti=se.useState(0),Mi=(0,Re.Z)(Ti,2),vo=Mi[0],co=Mi[1],Ki=se.useState(0),qi=(0,Re.Z)(Ki,2),Fi=qi[0],Gi=qi[1],Ui=function(Nr){Nr.width&&Si(Nr.width)},po=(0,Re.Z)(sr,3),Bo=po[0],Mo=po[1],ye=po[2],ge=se.useState(0),ot=(0,Re.Z)(ge,2),wt=ot[0],Yt=ot[1];se.useEffect(function(){Yt(10)},[Bo]),se.useEffect(function(){if(In&&Wi.current){var Hr,Nr=((Hr=Yi.current)===null||Hr===void 0?void 0:Hr.offsetWidth)||0,_r=Wi.current.getBoundingClientRect();if(!_r.height||_r.right<0){Yt(function(vi){return Math.max(0,vi-1)});return}var zr=(Vi?Mo-Nr:Bo)-_r.left;if(Gi(zr),Bi&&Bi<ye){var Yr=Vi?_r.right-(Mo-Nr+Bi):Bo+Nr-_r.left-Bi,ai=Math.max(0,Yr);co(ai)}else co(0)}},[wt,Vi,Bi,Bo,Mo,ye,In]);function rn(Hr){return Hr.filter(function(Nr){return Nr})}var wn=se.useMemo(function(){return rn(De(Lr))},[Lr]),bn=At==="time"&&!wn.length,kn=se.useMemo(function(){return bn?rn([li]):wn},[bn,wn,li]),Tn=bn?li:wn,or=se.useMemo(function(){return kn.length?kn.some(function(Hr){return xi(Hr)}):!0},[kn,xi]),tr=function(){bn&&Tr(li),Ur(),wi()},$n=se.createElement("div",{className:"".concat(ui,"-panel-layout")},se.createElement($t,{prefixCls:ui,presets:hr,onClick:Er,onHover:Qn}),se.createElement("div",null,se.createElement(it,(0,Oe.Z)({},oe,{value:Tn})),se.createElement(Vr,(0,Oe.Z)({},oe,{showNow:Vn?!1:kt,invalid:or,onSubmit:tr}))));Ee&&($n=Ee($n));var Kn="".concat(oo,"-container"),Wn="marginLeft",Or="marginRight",cr=se.createElement("div",{onMouseDown:Dr,tabIndex:-1,className:Jt()(Kn,"".concat(ui,"-").concat(Ge,"-panel-container")),style:(0,fn.Z)((0,fn.Z)({},Vi?Or:Wn,vo),Vi?Wn:Or,"auto"),onFocus:Fr,onBlur:Ir},$n);return In&&(cr=se.createElement("div",{onMouseDown:Dr,ref:Wi,className:Jt()("".concat(ui,"-range-wrapper"),"".concat(ui,"-").concat(At,"-range-wrapper"))},se.createElement("div",{ref:Yi,className:"".concat(ui,"-range-arrow"),style:{left:Fi}}),se.createElement(Hn.Z,{onResize:Ui},cr))),cr}var zn=z(75931);function Dn(oe,Ee){var Ge=oe.format,At=oe.maskFormat,kt=oe.generateConfig,In=oe.locale,Vn=oe.preserveInvalidOnBlur,Gn=oe.inputReadOnly,sr=oe.required,hr=oe["aria-required"],Qn=oe.onSubmit,Er=oe.onFocus,Fr=oe.onBlur,Ir=oe.onInputChange,Dr=oe.onInvalid,Mr=oe.open,Lr=oe.onOpenChange,Tr=oe.onKeyDown,xi=oe.onChange,li=oe.activeHelp,Ur=oe.name,wi=oe.autoComplete,ri=oe.id,ui=oe.value,oo=oe.invalid,Vi=oe.placeholder,Yi=oe.disabled,Wi=oe.activeIndex,uo=oe.allHelp,Qi=oe.picker,Bi=function(Fi,Gi){var Ui=kt.locale.parse(In.locale,Fi,[Gi]);return Ui&&kt.isValidate(Ui)?Ui:null},Si=Ge[0],Ti=se.useCallback(function(qi){return St(qi,{locale:In,format:Si,generateConfig:kt})},[In,kt,Si]),Mi=se.useMemo(function(){return ui.map(Ti)},[ui,Ti]),vo=se.useMemo(function(){var qi=Qi==="time"?8:10,Fi=typeof Si=="function"?Si(kt.getNow()).length:Si.length;return Math.max(qi,Fi)+2},[Si,Qi,kt]),co=function(Fi){for(var Gi=0;Gi<Ge.length;Gi+=1){var Ui=Ge[Gi];if(typeof Ui=="string"){var po=Bi(Fi,Ui);if(po)return po}}return!1},Ki=function(Fi){function Gi(Bo){return Fi!==void 0?Bo[Fi]:Bo}var Ui=(0,Kt.Z)(oe,{aria:!0,data:!0}),po=(0,pe.Z)((0,pe.Z)({},Ui),{},{format:At,validateFormat:function(Mo){return!!co(Mo)},preserveInvalidOnBlur:Vn,readOnly:Gn,required:sr,"aria-required":hr,name:Ur,autoComplete:wi,size:vo,id:Gi(ri),value:Gi(Mi)||"",invalid:Gi(oo),placeholder:Gi(Vi),active:Wi===Fi,helped:uo||li&&Wi===Fi,disabled:Gi(Yi),onFocus:function(Mo){Er(Mo,Fi)},onBlur:function(Mo){Fr(Mo,Fi)},onSubmit:Qn,onChange:function(Mo){Ir();var ye=co(Mo);if(ye){Dr(!1,Fi),xi(ye,Fi);return}Dr(!!Mo,Fi)},onHelp:function(){Lr(!0,{index:Fi})},onKeyDown:function(Mo){var ye=!1;if(Tr==null||Tr(Mo,function(){ye=!0}),!Mo.defaultPrevented&&!ye)switch(Mo.key){case"Escape":Lr(!1,{index:Fi});break;case"Enter":Mr||Lr(!0);break}}},Ee==null?void 0:Ee({valueTexts:Mi}));return Object.keys(po).forEach(function(Bo){po[Bo]===void 0&&delete po[Bo]}),po};return[Ki,Ti]}var jn=["onMouseEnter","onMouseLeave"];function Jn(oe){return se.useMemo(function(){return Qe(oe,jn)},[oe])}var Cr=["icon","type"],br=["onClear"];function Wr(oe){var Ee=oe.icon,Ge=oe.type,At=(0,zn.Z)(oe,Cr),kt=se.useContext(te),In=kt.prefixCls;return Ee?se.createElement("span",(0,Oe.Z)({className:"".concat(In,"-").concat(Ge)},At),Ee):null}function Jr(oe){var Ee=oe.onClear,Ge=(0,zn.Z)(oe,br);return se.createElement(Wr,(0,Oe.Z)({},Ge,{type:"clear",role:"button",onMouseDown:function(kt){kt.preventDefault()},onClick:function(kt){kt.stopPropagation(),Ee()}}))}var gi=z(67732),oi=z(83652),Pi=["YYYY","MM","DD","HH","mm","ss","SSS"],ci="\u9867",di=function(){function oe(Ee){(0,gi.Z)(this,oe),(0,fn.Z)(this,"format",void 0),(0,fn.Z)(this,"maskFormat",void 0),(0,fn.Z)(this,"cells",void 0),(0,fn.Z)(this,"maskCells",void 0),this.format=Ee;var Ge=Pi.map(function(Gn){return"(".concat(Gn,")")}).join("|"),At=new RegExp(Ge,"g");this.maskFormat=Ee.replace(At,function(Gn){return ci.repeat(Gn.length)});var kt=new RegExp("(".concat(Pi.join("|"),")")),In=(Ee.split(kt)||[]).filter(function(Gn){return Gn}),Vn=0;this.cells=In.map(function(Gn){var sr=Pi.includes(Gn),hr=Vn,Qn=Vn+Gn.length;return Vn=Qn,{text:Gn,mask:sr,start:hr,end:Qn}}),this.maskCells=this.cells.filter(function(Gn){return Gn.mask})}return(0,oi.Z)(oe,[{key:"getSelection",value:function(Ge){var At=this.maskCells[Ge]||{},kt=At.start,In=At.end;return[kt||0,In||0]}},{key:"match",value:function(Ge){for(var At=0;At<this.maskFormat.length;At+=1){var kt=this.maskFormat[At],In=Ge[At];if(!In||kt!==ci&&kt!==In)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(Ge){for(var At=Number.MAX_SAFE_INTEGER,kt=0,In=0;In<this.maskCells.length;In+=1){var Vn=this.maskCells[In],Gn=Vn.start,sr=Vn.end;if(Ge>=Gn&&Ge<=sr)return In;var hr=Math.min(Math.abs(Ge-Gn),Math.abs(Ge-sr));hr<At&&(At=hr,kt=In)}return kt}}]),oe}();function yi(oe){var Ee={YYYY:[0,9999,new Date().getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]};return Ee[oe]}var Ii=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],no=se.forwardRef(function(oe,Ee){var Ge=oe.active,At=oe.showActiveCls,kt=At===void 0?!0:At,In=oe.suffixIcon,Vn=oe.format,Gn=oe.validateFormat,sr=oe.onChange,hr=oe.onInput,Qn=oe.helped,Er=oe.onHelp,Fr=oe.onSubmit,Ir=oe.onKeyDown,Dr=oe.preserveInvalidOnBlur,Mr=Dr===void 0?!1:Dr,Lr=oe.invalid,Tr=oe.clearIcon,xi=(0,zn.Z)(oe,Ii),li=oe.value,Ur=oe.onFocus,wi=oe.onBlur,ri=oe.onMouseUp,ui=se.useContext(te),oo=ui.prefixCls,Vi=ui.input,Yi=Vi===void 0?"input":Vi,Wi="".concat(oo,"-input"),uo=se.useState(!1),Qi=(0,Re.Z)(uo,2),Bi=Qi[0],Si=Qi[1],Ti=se.useState(li),Mi=(0,Re.Z)(Ti,2),vo=Mi[0],co=Mi[1],Ki=se.useState(""),qi=(0,Re.Z)(Ki,2),Fi=qi[0],Gi=qi[1],Ui=se.useState(null),po=(0,Re.Z)(Ui,2),Bo=po[0],Mo=po[1],ye=se.useState(null),ge=(0,Re.Z)(ye,2),ot=ge[0],wt=ge[1],Yt=vo||"";se.useEffect(function(){co(li)},[li]);var rn=se.useRef(),wn=se.useRef();se.useImperativeHandle(Ee,function(){return{nativeElement:rn.current,inputElement:wn.current,focus:function(jr){wn.current.focus(jr)},blur:function(){wn.current.blur()}}});var bn=se.useMemo(function(){return new di(Vn||"")},[Vn]),kn=se.useMemo(function(){return Qn?[0,0]:bn.getSelection(Bo)},[bn,Bo,Qn]),Tn=(0,Re.Z)(kn,2),or=Tn[0],tr=Tn[1],$n=function(jr){jr&&jr!==Vn&&jr!==li&&Er()},Kn=(0,Ue.zX)(function(Gr){Gn(Gr)&&sr(Gr),co(Gr),$n(Gr)}),Wn=function(jr){if(!Vn){var ii=jr.target.value;$n(ii),co(ii),sr(ii)}},Or=function(jr){var ii=jr.clipboardData.getData("text");Gn(ii)&&Kn(ii)},cr=se.useRef(!1),Hr=function(){cr.current=!0},Nr=function(jr){var ii=jr.target,Sr=ii.selectionStart,xr=bn.getMaskCellIndex(Sr);Mo(xr),wt({}),ri==null||ri(jr),cr.current=!1},_r=function(jr){Si(!0),Mo(0),Gi(""),Ur(jr)},zr=function(jr){wi(jr)},Yr=function(jr){Si(!1),zr(jr)};Dt(Ge,function(){!Ge&&!Mr&&co(li)});var ai=function(jr){jr.key==="Enter"&&Gn(Yt)&&Fr(),Ir==null||Ir(jr)},vi=function(jr){ai(jr);var ii=jr.key,Sr=null,xr=null,ti=tr-or,pi=Vn.slice(or,tr),Ai=function(wo){Mo(function(ca){var Qo=ca+wo;return Qo=Math.max(Qo,0),Qo=Math.min(Qo,bn.size()-1),Qo})},Ji=function(wo){var ca=yi(pi),Qo=(0,Re.Z)(ca,3),oa=Qo[0],ma=Qo[1],ga=Qo[2],To=Yt.slice(or,tr),ko=Number(To);if(isNaN(ko))return String(ga||(wo>0?oa:ma));var Ia=ko+wo,Na=ma-oa+1;return String(oa+(Na+Ia-oa)%Na)};switch(ii){case"Backspace":case"Delete":Sr="",xr=pi;break;case"ArrowLeft":Sr="",Ai(-1);break;case"ArrowRight":Sr="",Ai(1);break;case"ArrowUp":Sr="",xr=Ji(1);break;case"ArrowDown":Sr="",xr=Ji(-1);break;default:isNaN(Number(ii))||(Sr=Fi+ii,xr=Sr);break}if(Sr!==null&&(Gi(Sr),Sr.length>=ti&&(Ai(1),Gi(""))),xr!==null){var bi=Yt.slice(0,or)+ue(xr,ti)+Yt.slice(tr);Kn(bi.slice(0,Vn.length))}wt({})},Ci=se.useRef();(0,tn.Z)(function(){if(!(!Bi||!Vn||cr.current)){if(!bn.match(Yt)){Kn(Vn);return}return wn.current.setSelectionRange(or,tr),Ci.current=(0,Xn.Z)(function(){wn.current.setSelectionRange(or,tr)}),function(){Xn.Z.cancel(Ci.current)}}},[bn,Vn,Bi,Yt,Bo,or,tr,ot,Kn]);var Xi=Vn?{onFocus:_r,onBlur:Yr,onKeyDown:vi,onMouseDown:Hr,onMouseUp:Nr,onPaste:Or}:{};return se.createElement("div",{ref:rn,className:Jt()(Wi,(0,fn.Z)((0,fn.Z)({},"".concat(Wi,"-active"),Ge&&kt),"".concat(Wi,"-placeholder"),Qn))},se.createElement(Yi,(0,Oe.Z)({ref:wn,"aria-invalid":Lr,autoComplete:"off"},xi,{onKeyDown:ai,onBlur:zr},Xi,{value:Yt,onChange:Wn})),se.createElement(Wr,{type:"suffix",icon:In}),Tr)}),So=no,bo=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],Ko=["index"];function Hi(oe,Ee){var Ge=oe.id,At=oe.prefix,kt=oe.clearIcon,In=oe.suffixIcon,Vn=oe.separator,Gn=Vn===void 0?"~":Vn,sr=oe.activeIndex,hr=oe.activeHelp,Qn=oe.allHelp,Er=oe.focused,Fr=oe.onFocus,Ir=oe.onBlur,Dr=oe.onKeyDown,Mr=oe.locale,Lr=oe.generateConfig,Tr=oe.placeholder,xi=oe.className,li=oe.style,Ur=oe.onClick,wi=oe.onClear,ri=oe.value,ui=oe.onChange,oo=oe.onSubmit,Vi=oe.onInputChange,Yi=oe.format,Wi=oe.maskFormat,uo=oe.preserveInvalidOnBlur,Qi=oe.onInvalid,Bi=oe.disabled,Si=oe.invalid,Ti=oe.inputReadOnly,Mi=oe.direction,vo=oe.onOpenChange,co=oe.onActiveInfo,Ki=oe.placement,qi=oe.onMouseDown,Fi=oe.required,Gi=oe["aria-required"],Ui=oe.autoFocus,po=oe.tabIndex,Bo=(0,zn.Z)(oe,bo),Mo=Mi==="rtl",ye=se.useContext(te),ge=ye.prefixCls,ot=se.useMemo(function(){if(typeof Ge=="string")return[Ge];var zr=Ge||{};return[zr.start,zr.end]},[Ge]),wt=se.useRef(),Yt=se.useRef(),rn=se.useRef(),wn=function(Yr){var ai;return(ai=[Yt,rn][Yr])===null||ai===void 0?void 0:ai.current};se.useImperativeHandle(Ee,function(){return{nativeElement:wt.current,focus:function(Yr){if((0,Cn.Z)(Yr)==="object"){var ai,vi=Yr||{},Ci=vi.index,Xi=Ci===void 0?0:Ci,Gr=(0,zn.Z)(vi,Ko);(ai=wn(Xi))===null||ai===void 0||ai.focus(Gr)}else{var jr;(jr=wn(Yr!=null?Yr:0))===null||jr===void 0||jr.focus()}},blur:function(){var Yr,ai;(Yr=wn(0))===null||Yr===void 0||Yr.blur(),(ai=wn(1))===null||ai===void 0||ai.blur()}}});var bn=Jn(Bo),kn=se.useMemo(function(){return Array.isArray(Tr)?Tr:[Tr,Tr]},[Tr]),Tn=Dn((0,pe.Z)((0,pe.Z)({},oe),{},{id:ot,placeholder:kn})),or=(0,Re.Z)(Tn,1),tr=or[0],$n=se.useState({position:"absolute",width:0}),Kn=(0,Re.Z)($n,2),Wn=Kn[0],Or=Kn[1],cr=(0,Ue.zX)(function(){var zr=wn(sr);if(zr){var Yr=zr.nativeElement.getBoundingClientRect(),ai=wt.current.getBoundingClientRect(),vi=Yr.left-ai.left;Or(function(Ci){return(0,pe.Z)((0,pe.Z)({},Ci),{},{width:Yr.width,left:vi})}),co([Yr.left,Yr.right,ai.width])}});se.useEffect(function(){cr()},[sr]);var Hr=kt&&(ri[0]&&!Bi[0]||ri[1]&&!Bi[1]),Nr=Ui&&!Bi[0],_r=Ui&&!Nr&&!Bi[1];return se.createElement(Hn.Z,{onResize:cr},se.createElement("div",(0,Oe.Z)({},bn,{className:Jt()(ge,"".concat(ge,"-range"),(0,fn.Z)((0,fn.Z)((0,fn.Z)((0,fn.Z)({},"".concat(ge,"-focused"),Er),"".concat(ge,"-disabled"),Bi.every(function(zr){return zr})),"".concat(ge,"-invalid"),Si.some(function(zr){return zr})),"".concat(ge,"-rtl"),Mo),xi),style:li,ref:wt,onClick:Ur,onMouseDown:function(Yr){var ai=Yr.target;ai!==Yt.current.inputElement&&ai!==rn.current.inputElement&&Yr.preventDefault(),qi==null||qi(Yr)}}),At&&se.createElement("div",{className:"".concat(ge,"-prefix")},At),se.createElement(So,(0,Oe.Z)({ref:Yt},tr(0),{autoFocus:Nr,tabIndex:po,"date-range":"start"})),se.createElement("div",{className:"".concat(ge,"-range-separator")},Gn),se.createElement(So,(0,Oe.Z)({ref:rn},tr(1),{autoFocus:_r,tabIndex:po,"date-range":"end"})),se.createElement("div",{className:"".concat(ge,"-active-bar"),style:Wn}),se.createElement(Wr,{type:"suffix",icon:In}),Hr&&se.createElement(Jr,{icon:kt,onClear:wi})))}var Oi=se.forwardRef(Hi),Wo=Oi;function zo(oe,Ee){var Ge=oe!=null?oe:Ee;return Array.isArray(Ge)?Ge:[Ge,Ge]}function Xo(oe){return oe===1?"end":"start"}function Wa(oe,Ee){var Ge=nr(oe,function(){var ra=oe.disabled,Zo=oe.allowEmpty,Ri=zo(ra,!1),yo=zo(Zo,!1);return{disabled:Ri,allowEmpty:yo}}),At=(0,Re.Z)(Ge,6),kt=At[0],In=At[1],Vn=At[2],Gn=At[3],sr=At[4],hr=At[5],Qn=kt.prefixCls,Er=kt.styles,Fr=kt.classNames,Ir=kt.defaultValue,Dr=kt.value,Mr=kt.needConfirm,Lr=kt.onKeyDown,Tr=kt.disabled,xi=kt.allowEmpty,li=kt.disabledDate,Ur=kt.minDate,wi=kt.maxDate,ri=kt.defaultOpen,ui=kt.open,oo=kt.onOpenChange,Vi=kt.locale,Yi=kt.generateConfig,Wi=kt.picker,uo=kt.showNow,Qi=kt.showToday,Bi=kt.showTime,Si=kt.mode,Ti=kt.onPanelChange,Mi=kt.onCalendarChange,vo=kt.onOk,co=kt.defaultPickerValue,Ki=kt.pickerValue,qi=kt.onPickerValueChange,Fi=kt.inputReadOnly,Gi=kt.suffixIcon,Ui=kt.onFocus,po=kt.onBlur,Bo=kt.presets,Mo=kt.ranges,ye=kt.components,ge=kt.cellRender,ot=kt.dateRender,wt=kt.monthCellRender,Yt=kt.onClick,rn=en(Ee),wn=Pn(ui,ri,Tr,oo),bn=(0,Re.Z)(wn,2),kn=bn[0],Tn=bn[1],or=function(Zo,Ri){(Tr.some(function(yo){return!yo})||!Zo)&&Tn(Zo,Ri)},tr=Pt(Yi,Vi,Gn,!0,!1,Ir,Dr,Mi,vo),$n=(0,Re.Z)(tr,5),Kn=$n[0],Wn=$n[1],Or=$n[2],cr=$n[3],Hr=$n[4],Nr=Or(),_r=Gt(Tr,xi,kn),zr=(0,Re.Z)(_r,9),Yr=zr[0],ai=zr[1],vi=zr[2],Ci=zr[3],Xi=zr[4],Gr=zr[5],jr=zr[6],ii=zr[7],Sr=zr[8],xr=function(Zo,Ri){ai(!0),Ui==null||Ui(Zo,{range:Xo(Ri!=null?Ri:Ci)})},ti=function(Zo,Ri){ai(!1),po==null||po(Zo,{range:Xo(Ri!=null?Ri:Ci)})},pi=se.useMemo(function(){if(!Bi)return null;var ra=Bi.disabledTime,Zo=ra?function(Ri){var yo=Xo(Ci),Yo=mt(Nr,jr,Ci);return ra(Ri,yo,{from:Yo})}:void 0;return(0,pe.Z)((0,pe.Z)({},Bi),{},{disabledTime:Zo})},[Bi,Ci,Nr,jr]),Ai=(0,Ue.C8)([Wi,Wi],{value:Si}),Ji=(0,Re.Z)(Ai,2),bi=Ji[0],Fo=Ji[1],wo=bi[Ci]||Wi,ca=wo==="date"&&pi?"datetime":wo,Qo=ca===Wi&&ca!=="time",oa=Bn(Wi,wo,uo,Qi,!0),ma=zt(kt,Kn,Wn,Or,cr,Tr,Gn,Yr,kn,hr),ga=(0,Re.Z)(ma,2),To=ga[0],ko=ga[1],Ia=Ze(Nr,Tr,jr,Yi,Vi,li),Na=Le(Nr,hr,xi),ro=(0,Re.Z)(Na,2),Ao=ro[0],eo=ro[1],Zi=yt(Yi,Vi,Nr,bi,kn,Ci,In,Qo,co,Ki,pi==null?void 0:pi.defaultOpenValue,qi,Ur,wi),jo=(0,Re.Z)(Zi,2),$o=jo[0],ya=jo[1],qo=(0,Ue.zX)(function(ra,Zo,Ri){var yo=st(bi,Ci,Zo);if((yo[0]!==bi[0]||yo[1]!==bi[1])&&Fo(yo),Ti&&Ri!==!1){var Yo=(0,Zt.Z)(Nr);ra&&(Yo[Ci]=ra),Ti(Yo,yo)}}),ka=function(Zo,Ri){return st(Nr,Ri,Zo)},Sa=function(Zo,Ri){var yo=Nr;Zo&&(yo=ka(Zo,Ci)),ii(Ci);var Yo=Gr(yo);cr(yo),To(Ci,Yo===null),Yo===null?or(!1,{force:!0}):Ri||rn.current.focus({index:Yo})},so=function(Zo){var Ri,yo=Zo.target.getRootNode();if(!rn.current.nativeElement.contains((Ri=yo.activeElement)!==null&&Ri!==void 0?Ri:document.activeElement)){var Yo=Tr.findIndex(function(Ua){return!Ua});Yo>=0&&rn.current.focus({index:Yo})}or(!0),Yt==null||Yt(Zo)},go=function(){ko(null),or(!1,{force:!0})},ea=se.useState(null),aa=(0,Re.Z)(ea,2),la=aa[0],za=aa[1],ba=se.useState(null),ol=(0,Re.Z)(ba,2),va=ol[0],Vo=ol[1],ha=se.useMemo(function(){return va||Nr},[Nr,va]);se.useEffect(function(){kn||Vo(null)},[kn]);var Ca=se.useState([0,0,0]),Ha=(0,Re.Z)(Ca,2),La=Ha[0],Go=Ha[1],Aa=er(Bo,Mo),na=function(Zo){Vo(Zo),za("preset")},al=function(Zo){var Ri=ko(Zo);Ri&&or(!1,{force:!0})},ja=function(Zo){Sa(Zo)},dl=function(Zo){Vo(Zo?ka(Zo,Ci):null),za("cell")},pl=function(Zo){or(!0),xr(Zo)},Wl=function(){vi("panel")},xa=function(Zo){var Ri=st(Nr,Ci,Zo);cr(Ri),!Mr&&!Vn&&In===ca&&Sa(Zo)},cs=function(){or(!1)},fl=Tt(ge,ot,wt,Xo(Ci)),Ll=Nr[Ci]||null,Pl=(0,Ue.zX)(function(ra){return hr(ra,{activeIndex:Ci})}),Do=se.useMemo(function(){var ra=(0,Kt.Z)(kt,!1),Zo=(0,rt.Z)(kt,[].concat((0,Zt.Z)(Object.keys(ra)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Zo},[kt]),to=se.createElement(Nn,(0,Oe.Z)({},Do,{showNow:oa,showTime:pi,range:!0,multiplePanel:Qo,activeInfo:La,disabledDate:Ia,onFocus:pl,onBlur:ti,onPanelMouseDown:Wl,picker:Wi,mode:wo,internalMode:ca,onPanelChange:qo,format:sr,value:Ll,isInvalid:Pl,onChange:null,onSelect:xa,pickerValue:$o,defaultOpenValue:De(Bi==null?void 0:Bi.defaultOpenValue)[Ci],onPickerValueChange:ya,hoverValue:ha,onHover:dl,needConfirm:Mr,onSubmit:Sa,onOk:Hr,presets:Aa,onPresetHover:na,onPresetSubmit:al,onNow:ja,cellRender:fl})),Ra=function(Zo,Ri){var yo=ka(Zo,Ri);cr(yo)},gl=function(){vi("input")},Rl=function(Zo,Ri){var yo=jr.length,Yo=jr[yo-1];if(yo&&Yo!==Ri&&Mr&&!xi[Yo]&&!Sr(Yo)&&Nr[Yo]){rn.current.focus({index:Yo});return}vi("input"),or(!0,{inherit:!0}),Ci!==Ri&&kn&&!Mr&&Vn&&Sa(null,!0),Xi(Ri),xr(Zo,Ri)},Jl=function(Zo,Ri){if(or(!1),!Mr&&vi()==="input"){var yo=Gr(Nr);To(Ci,yo===null)}ti(Zo,Ri)},Is=function(Zo,Ri){Zo.key==="Tab"&&Sa(null,!0),Lr==null||Lr(Zo,Ri)},Bs=se.useMemo(function(){return{prefixCls:Qn,locale:Vi,generateConfig:Yi,button:ye.button,input:ye.input}},[Qn,Vi,Yi,ye.button,ye.input]);if((0,tn.Z)(function(){kn&&Ci!==void 0&&qo(null,Wi,!1)},[kn,Ci,Wi]),(0,tn.Z)(function(){var ra=vi();!kn&&ra==="input"&&(or(!1),Sa(null,!0)),!kn&&Vn&&!Mr&&ra==="panel"&&(or(!0),Sa())},[kn]),0)var Zs;return se.createElement(te.Provider,{value:Bs},se.createElement(re,(0,Oe.Z)({},Et(kt),{popupElement:to,popupStyle:Er.popup,popupClassName:Fr.popup,visible:kn,onClose:cs,range:!0}),se.createElement(Wo,(0,Oe.Z)({},kt,{ref:rn,suffixIcon:Gi,activeIndex:Yr||kn?Ci:null,activeHelp:!!va,allHelp:!!va&&la==="preset",focused:Yr,onFocus:Rl,onBlur:Jl,onKeyDown:Is,onSubmit:Sa,value:ha,maskFormat:sr,onChange:Ra,onInputChange:gl,format:Gn,inputReadOnly:Fi,disabled:Tr,open:kn,onOpenChange:or,onClick:so,onClear:go,invalid:Ao,onInvalid:eo,onActiveInfo:Go}))))}var Pa=se.forwardRef(Wa),Ta=Pa,Ba=z(83836);function Uo(oe){var Ee=oe.prefixCls,Ge=oe.value,At=oe.onRemove,kt=oe.removeIcon,In=kt===void 0?"\xD7":kt,Vn=oe.formatDate,Gn=oe.disabled,sr=oe.maxTagCount,hr=oe.placeholder,Qn="".concat(Ee,"-selector"),Er="".concat(Ee,"-selection"),Fr="".concat(Er,"-overflow");function Ir(Lr,Tr){return se.createElement("span",{className:Jt()("".concat(Er,"-item")),title:typeof Lr=="string"?Lr:null},se.createElement("span",{className:"".concat(Er,"-item-content")},Lr),!Gn&&Tr&&se.createElement("span",{onMouseDown:function(li){li.preventDefault()},onClick:Tr,className:"".concat(Er,"-item-remove")},In))}function Dr(Lr){var Tr=Vn(Lr),xi=function(Ur){Ur&&Ur.stopPropagation(),At(Lr)};return Ir(Tr,xi)}function Mr(Lr){var Tr="+ ".concat(Lr.length," ...");return Ir(Tr)}return se.createElement("div",{className:Qn},se.createElement(Ba.Z,{prefixCls:Fr,data:Ge,renderItem:Dr,renderRest:Mr,itemKey:function(Tr){return Vn(Tr)},maxCount:sr}),!Ge.length&&se.createElement("span",{className:"".concat(Ee,"-selection-placeholder")},hr))}var Fa=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function ul(oe,Ee){var Ge=oe.id,At=oe.open,kt=oe.prefix,In=oe.clearIcon,Vn=oe.suffixIcon,Gn=oe.activeHelp,sr=oe.allHelp,hr=oe.focused,Qn=oe.onFocus,Er=oe.onBlur,Fr=oe.onKeyDown,Ir=oe.locale,Dr=oe.generateConfig,Mr=oe.placeholder,Lr=oe.className,Tr=oe.style,xi=oe.onClick,li=oe.onClear,Ur=oe.internalPicker,wi=oe.value,ri=oe.onChange,ui=oe.onSubmit,oo=oe.onInputChange,Vi=oe.multiple,Yi=oe.maxTagCount,Wi=oe.format,uo=oe.maskFormat,Qi=oe.preserveInvalidOnBlur,Bi=oe.onInvalid,Si=oe.disabled,Ti=oe.invalid,Mi=oe.inputReadOnly,vo=oe.direction,co=oe.onOpenChange,Ki=oe.onMouseDown,qi=oe.required,Fi=oe["aria-required"],Gi=oe.autoFocus,Ui=oe.tabIndex,po=oe.removeIcon,Bo=(0,zn.Z)(oe,Fa),Mo=vo==="rtl",ye=se.useContext(te),ge=ye.prefixCls,ot=se.useRef(),wt=se.useRef();se.useImperativeHandle(Ee,function(){return{nativeElement:ot.current,focus:function(Wn){var Or;(Or=wt.current)===null||Or===void 0||Or.focus(Wn)},blur:function(){var Wn;(Wn=wt.current)===null||Wn===void 0||Wn.blur()}}});var Yt=Jn(Bo),rn=function(Wn){ri([Wn])},wn=function(Wn){var Or=wi.filter(function(cr){return cr&&!pn(Dr,Ir,cr,Wn,Ur)});ri(Or),At||ui()},bn=Dn((0,pe.Z)((0,pe.Z)({},oe),{},{onChange:rn}),function(Kn){var Wn=Kn.valueTexts;return{value:Wn[0]||"",active:hr}}),kn=(0,Re.Z)(bn,2),Tn=kn[0],or=kn[1],tr=!!(In&&wi.length&&!Si),$n=Vi?se.createElement(se.Fragment,null,se.createElement(Uo,{prefixCls:ge,value:wi,onRemove:wn,formatDate:or,maxTagCount:Yi,disabled:Si,removeIcon:po,placeholder:Mr}),se.createElement("input",{className:"".concat(ge,"-multiple-input"),value:wi.map(or).join(","),ref:wt,readOnly:!0,autoFocus:Gi,tabIndex:Ui}),se.createElement(Wr,{type:"suffix",icon:Vn}),tr&&se.createElement(Jr,{icon:In,onClear:li})):se.createElement(So,(0,Oe.Z)({ref:wt},Tn(),{autoFocus:Gi,tabIndex:Ui,suffixIcon:Vn,clearIcon:tr&&se.createElement(Jr,{icon:In,onClear:li}),showActiveCls:!1}));return se.createElement("div",(0,Oe.Z)({},Yt,{className:Jt()(ge,(0,fn.Z)((0,fn.Z)((0,fn.Z)((0,fn.Z)((0,fn.Z)({},"".concat(ge,"-multiple"),Vi),"".concat(ge,"-focused"),hr),"".concat(ge,"-disabled"),Si),"".concat(ge,"-invalid"),Ti),"".concat(ge,"-rtl"),Mo),Lr),style:Tr,ref:ot,onClick:xi,onMouseDown:function(Wn){var Or,cr=Wn.target;cr!==((Or=wt.current)===null||Or===void 0?void 0:Or.inputElement)&&Wn.preventDefault(),Ki==null||Ki(Wn)}}),kt&&se.createElement("div",{className:"".concat(ge,"-prefix")},kt),$n)}var Ja=se.forwardRef(ul),Jo=Ja;function Nl(oe,Ee){var Ge=nr(oe),At=(0,Re.Z)(Ge,6),kt=At[0],In=At[1],Vn=At[2],Gn=At[3],sr=At[4],hr=At[5],Qn=kt,Er=Qn.prefixCls,Fr=Qn.styles,Ir=Qn.classNames,Dr=Qn.order,Mr=Qn.defaultValue,Lr=Qn.value,Tr=Qn.needConfirm,xi=Qn.onChange,li=Qn.onKeyDown,Ur=Qn.disabled,wi=Qn.disabledDate,ri=Qn.minDate,ui=Qn.maxDate,oo=Qn.defaultOpen,Vi=Qn.open,Yi=Qn.onOpenChange,Wi=Qn.locale,uo=Qn.generateConfig,Qi=Qn.picker,Bi=Qn.showNow,Si=Qn.showToday,Ti=Qn.showTime,Mi=Qn.mode,vo=Qn.onPanelChange,co=Qn.onCalendarChange,Ki=Qn.onOk,qi=Qn.multiple,Fi=Qn.defaultPickerValue,Gi=Qn.pickerValue,Ui=Qn.onPickerValueChange,po=Qn.inputReadOnly,Bo=Qn.suffixIcon,Mo=Qn.removeIcon,ye=Qn.onFocus,ge=Qn.onBlur,ot=Qn.presets,wt=Qn.components,Yt=Qn.cellRender,rn=Qn.dateRender,wn=Qn.monthCellRender,bn=Qn.onClick,kn=en(Ee);function Tn(Do){return Do===null?null:qi?Do:Do[0]}var or=Br(uo,Wi,In),tr=Pn(Vi,oo,[Ur],Yi),$n=(0,Re.Z)(tr,2),Kn=$n[0],Wn=$n[1],Or=function(to,Ra,gl){if(co){var Rl=(0,pe.Z)({},gl);delete Rl.range,co(Tn(to),Tn(Ra),Rl)}},cr=function(to){Ki==null||Ki(Tn(to))},Hr=Pt(uo,Wi,Gn,!1,Dr,Mr,Lr,Or,cr),Nr=(0,Re.Z)(Hr,5),_r=Nr[0],zr=Nr[1],Yr=Nr[2],ai=Nr[3],vi=Nr[4],Ci=Yr(),Xi=Gt([Ur]),Gr=(0,Re.Z)(Xi,4),jr=Gr[0],ii=Gr[1],Sr=Gr[2],xr=Gr[3],ti=function(to){ii(!0),ye==null||ye(to,{})},pi=function(to){ii(!1),ge==null||ge(to,{})},Ai=(0,Ue.C8)(Qi,{value:Mi}),Ji=(0,Re.Z)(Ai,2),bi=Ji[0],Fo=Ji[1],wo=bi==="date"&&Ti?"datetime":bi,ca=Bn(Qi,bi,Bi,Si),Qo=xi&&function(Do,to){xi(Tn(Do),Tn(to))},oa=zt((0,pe.Z)((0,pe.Z)({},kt),{},{onChange:Qo}),_r,zr,Yr,ai,[],Gn,jr,Kn,hr),ma=(0,Re.Z)(oa,2),ga=ma[1],To=Le(Ci,hr),ko=(0,Re.Z)(To,2),Ia=ko[0],Na=ko[1],ro=se.useMemo(function(){return Ia.some(function(Do){return Do})},[Ia]),Ao=function(to,Ra){if(Ui){var gl=(0,pe.Z)((0,pe.Z)({},Ra),{},{mode:Ra.mode[0]});delete gl.range,Ui(to[0],gl)}},eo=yt(uo,Wi,Ci,[bi],Kn,xr,In,!1,Fi,Gi,De(Ti==null?void 0:Ti.defaultOpenValue),Ao,ri,ui),Zi=(0,Re.Z)(eo,2),jo=Zi[0],$o=Zi[1],ya=(0,Ue.zX)(function(Do,to,Ra){if(Fo(to),vo&&Ra!==!1){var gl=Do||Ci[Ci.length-1];vo(gl,to)}}),qo=function(){ga(Yr()),Wn(!1,{force:!0})},ka=function(to){!Ur&&!kn.current.nativeElement.contains(document.activeElement)&&kn.current.focus(),Wn(!0),bn==null||bn(to)},Sa=function(){ga(null),Wn(!1,{force:!0})},so=se.useState(null),go=(0,Re.Z)(so,2),ea=go[0],aa=go[1],la=se.useState(null),za=(0,Re.Z)(la,2),ba=za[0],ol=za[1],va=se.useMemo(function(){var Do=[ba].concat((0,Zt.Z)(Ci)).filter(function(to){return to});return qi?Do:Do.slice(0,1)},[Ci,ba,qi]),Vo=se.useMemo(function(){return!qi&&ba?[ba]:Ci.filter(function(Do){return Do})},[Ci,ba,qi]);se.useEffect(function(){Kn||ol(null)},[Kn]);var ha=er(ot),Ca=function(to){ol(to),aa("preset")},Ha=function(to){var Ra=qi?or(Yr(),to):[to],gl=ga(Ra);gl&&!qi&&Wn(!1,{force:!0})},La=function(to){Ha(to)},Go=function(to){ol(to),aa("cell")},Aa=function(to){Wn(!0),ti(to)},na=function(to){if(Sr("panel"),!(qi&&wo!==Qi)){var Ra=qi?or(Yr(),to):[to];ai(Ra),!Tr&&!Vn&&In===wo&&qo()}},al=function(){Wn(!1)},ja=Tt(Yt,rn,wn),dl=se.useMemo(function(){var Do=(0,Kt.Z)(kt,!1),to=(0,rt.Z)(kt,[].concat((0,Zt.Z)(Object.keys(Do)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,pe.Z)((0,pe.Z)({},to),{},{multiple:kt.multiple})},[kt]),pl=se.createElement(Nn,(0,Oe.Z)({},dl,{showNow:ca,showTime:Ti,disabledDate:wi,onFocus:Aa,onBlur:pi,picker:Qi,mode:bi,internalMode:wo,onPanelChange:ya,format:sr,value:Ci,isInvalid:hr,onChange:null,onSelect:na,pickerValue:jo,defaultOpenValue:Ti==null?void 0:Ti.defaultOpenValue,onPickerValueChange:$o,hoverValue:va,onHover:Go,needConfirm:Tr,onSubmit:qo,onOk:vi,presets:ha,onPresetHover:Ca,onPresetSubmit:Ha,onNow:La,cellRender:ja})),Wl=function(to){ai(to)},xa=function(){Sr("input")},cs=function(to){Sr("input"),Wn(!0,{inherit:!0}),ti(to)},fl=function(to){Wn(!1),pi(to)},Ll=function(to,Ra){to.key==="Tab"&&qo(),li==null||li(to,Ra)},Pl=se.useMemo(function(){return{prefixCls:Er,locale:Wi,generateConfig:uo,button:wt.button,input:wt.input}},[Er,Wi,uo,wt.button,wt.input]);return(0,tn.Z)(function(){Kn&&xr!==void 0&&ya(null,Qi,!1)},[Kn,xr,Qi]),(0,tn.Z)(function(){var Do=Sr();!Kn&&Do==="input"&&(Wn(!1),qo()),!Kn&&Vn&&!Tr&&Do==="panel"&&qo()},[Kn]),se.createElement(te.Provider,{value:Pl},se.createElement(re,(0,Oe.Z)({},Et(kt),{popupElement:pl,popupStyle:Fr.popup,popupClassName:Ir.popup,visible:Kn,onClose:al}),se.createElement(Jo,(0,Oe.Z)({},kt,{ref:kn,suffixIcon:Bo,removeIcon:Mo,activeHelp:!!ba,allHelp:!!ba&&ea==="preset",focused:jr,onFocus:cs,onBlur:fl,onKeyDown:Ll,onSubmit:qo,value:Vo,maskFormat:sr,onChange:Wl,onInputChange:xa,internalPicker:In,format:Gn,inputReadOnly:po,disabled:Ur,open:Kn,onOpenChange:Wn,onClick:ka,onClear:Sa,invalid:ro,onInvalid:function(to){Na(to,0)}}))))}var El=se.forwardRef(Nl),ho=El,mo=ho,Ei=z(62487),fi=z(75030),Li=z(82855),lo=z(48755),da=z(2171),Ro=z(83397),Lo=z(31756),Oo=z(56553),pa=z(24971),Ea=z(9017),Oa=z(70045),Ya=z(57428),Io=z(36237),Ga=z(53075),wl=z(64910),cl=z(63356),el=z(56119),Xa=z(46e3),Al=z(93873),xl=z(36305),Hl=z(16931),Yl=z(51636),as=z(26743);const ns=(oe,Ee)=>{const{componentCls:Ge,controlHeight:At}=oe,kt=Ee?`${Ge}-${Ee}`:"",In=(0,as.gp)(oe);return[{[`${Ge}-multiple${kt}`]:{paddingBlock:In.containerPadding,paddingInlineStart:In.basePadding,minHeight:At,[`${Ge}-selection-item`]:{height:In.itemHeight,lineHeight:(0,Io.unit)(In.itemLineHeight)}}}]};var rs=oe=>{const{componentCls:Ee,calc:Ge,lineWidth:At}=oe,kt=(0,Yl.mergeToken)(oe,{fontHeight:oe.fontSize,selectHeight:oe.controlHeightSM,multipleSelectItemHeight:oe.multipleItemHeightSM,borderRadius:oe.borderRadiusSM,borderRadiusSM:oe.borderRadiusXS,controlHeight:oe.controlHeightSM}),In=(0,Yl.mergeToken)(oe,{fontHeight:Ge(oe.multipleItemHeightLG).sub(Ge(At).mul(2).equal()).equal(),fontSize:oe.fontSizeLG,selectHeight:oe.controlHeightLG,multipleSelectItemHeight:oe.multipleItemHeightLG,borderRadius:oe.borderRadiusLG,borderRadiusSM:oe.borderRadius,controlHeight:oe.controlHeightLG});return[ns(kt,"small"),ns(oe),ns(In,"large"),{[`${Ee}${Ee}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Ee}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Ee}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:oe.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${oe.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:oe.colorTextPlaceholder,pointerEvents:"none"}}},(0,as._z)(oe)),{[`${Ee}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Dl=z(17835);const Gl=oe=>{const{pickerCellCls:Ee,pickerCellInnerCls:Ge,cellHeight:At,borderRadiusSM:kt,motionDurationMid:In,cellHoverBg:Vn,lineWidth:Gn,lineType:sr,colorPrimary:hr,cellActiveWithRangeBg:Qn,colorTextLightSolid:Er,colorTextDisabled:Fr,cellBgDisabled:Ir,colorFillSecondary:Dr}=oe;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:At,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Ge]:{position:"relative",zIndex:2,display:"inline-block",minWidth:At,height:At,lineHeight:(0,Io.unit)(At),borderRadius:kt,transition:`background ${In}`},[`&:hover:not(${Ee}-in-view):not(${Ee}-disabled),
&:hover:not(${Ee}-selected):not(${Ee}-range-start):not(${Ee}-range-end):not(${Ee}-disabled)`]:{[Ge]:{background:Vn}},[`&-in-view${Ee}-today ${Ge}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,Io.unit)(Gn)} ${sr} ${hr}`,borderRadius:kt,content:'""'}},[`&-in-view${Ee}-in-range,
&-in-view${Ee}-range-start,
&-in-view${Ee}-range-end`]:{position:"relative",[`&:not(${Ee}-disabled):before`]:{background:Qn}},[`&-in-view${Ee}-selected,
&-in-view${Ee}-range-start,
&-in-view${Ee}-range-end`]:{[`&:not(${Ee}-disabled) ${Ge}`]:{color:Er,background:hr},[`&${Ee}-disabled ${Ge}`]:{background:Dr}},[`&-in-view${Ee}-range-start:not(${Ee}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Ee}-range-end:not(${Ee}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Ee}-range-start:not(${Ee}-range-end) ${Ge}`]:{borderStartStartRadius:kt,borderEndStartRadius:kt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ee}-range-end:not(${Ee}-range-start) ${Ge}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:kt,borderEndEndRadius:kt},"&-disabled":{color:Fr,cursor:"not-allowed",[Ge]:{background:"transparent"},"&::before":{background:Ir}},[`&-disabled${Ee}-today ${Ge}::before`]:{borderColor:Fr}}},is=oe=>{const{componentCls:Ee,pickerCellCls:Ge,pickerCellInnerCls:At,pickerYearMonthCellWidth:kt,pickerControlIconSize:In,cellWidth:Vn,paddingSM:Gn,paddingXS:sr,paddingXXS:hr,colorBgContainer:Qn,lineWidth:Er,lineType:Fr,borderRadiusLG:Ir,colorPrimary:Dr,colorTextHeading:Mr,colorSplit:Lr,pickerControlIconBorderWidth:Tr,colorIcon:xi,textHeight:li,motionDurationMid:Ur,colorIconHover:wi,fontWeightStrong:ri,cellHeight:ui,pickerCellPaddingVertical:oo,colorTextDisabled:Vi,colorText:Yi,fontSize:Wi,motionDurationSlow:uo,withoutTimeCellHeight:Qi,pickerQuarterPanelContentHeight:Bi,borderRadiusSM:Si,colorTextLightSolid:Ti,cellHoverBg:Mi,timeColumnHeight:vo,timeColumnWidth:co,timeCellHeight:Ki,controlItemBgActive:qi,marginXXS:Fi,pickerDatePanelPaddingHorizontal:Gi,pickerControlIconMargin:Ui}=oe,po=oe.calc(Vn).mul(7).add(oe.calc(Gi).mul(2)).equal();return{[Ee]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Qn,borderRadius:Ir,outline:"none","&-focused":{borderColor:Dr},"&-rtl":{[`${Ee}-prev-icon,
${Ee}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Ee}-next-icon,
${Ee}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Ee}-time-panel`]:{[`${Ee}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-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:po},"&-header":{display:"flex",padding:`0 ${(0,Io.unit)(sr)}`,color:Mr,borderBottom:`${(0,Io.unit)(Er)} ${Fr} ${Lr}`,"> *":{flex:"none"},button:{padding:0,color:xi,lineHeight:(0,Io.unit)(li),background:"transparent",border:0,cursor:"pointer",transition:`color ${Ur}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:Wi,"&:hover":{color:wi},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:ri,lineHeight:(0,Io.unit)(li),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:sr},"&:hover":{color:Dr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:In,height:In,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:In,height:In,border:"0 solid currentcolor",borderBlockStartWidth:Tr,borderInlineStartWidth:Tr,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Ui,insetInlineStart:Ui,display:"inline-block",width:In,height:In,border:"0 solid currentcolor",borderBlockStartWidth:Tr,borderInlineStartWidth:Tr,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:ui,fontWeight:"normal"},th:{height:oe.calc(ui).add(oe.calc(oo).mul(2)).equal(),color:Yi,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,Io.unit)(oo)} 0`,color:Vi,cursor:"pointer","&-in-view":{color:Yi}},Gl(oe)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ee}-content`]:{height:oe.calc(Qi).mul(4).equal()},[At]:{padding:`0 ${(0,Io.unit)(sr)}`}},"&-quarter-panel":{[`${Ee}-content`]:{height:Bi}},"&-decade-panel":{[At]:{padding:`0 ${(0,Io.unit)(oe.calc(sr).div(2).equal())}`},[`${Ee}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ee}-body`]:{padding:`0 ${(0,Io.unit)(sr)}`},[At]:{width:kt}},"&-date-panel":{[`${Ee}-body`]:{padding:`${(0,Io.unit)(sr)} ${(0,Io.unit)(Gi)}`},[`${Ee}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Ee}-cell`]:{[`&:hover ${At},
&-selected ${At},
${At}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ur}`},"&:first-child:before":{borderStartStartRadius:Si,borderEndStartRadius:Si},"&:last-child:before":{borderStartEndRadius:Si,borderEndEndRadius:Si}},"&:hover td:before":{background:Mi},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${Ge}`]:{"&:before":{background:Dr},[`&${Ee}-cell-week`]:{color:new Dl.FastColor(Ti).setA(.5).toHexString()},[At]:{color:Ti}}},"&-range-hover td:before":{background:qi}}},"&-week-panel, &-date-panel-show-week":{[`${Ee}-body`]:{padding:`${(0,Io.unit)(sr)} ${(0,Io.unit)(Gn)}`},[`${Ee}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Ee}-time-panel`]:{borderInlineStart:`${(0,Io.unit)(Er)} ${Fr} ${Lr}`},[`${Ee}-date-panel,
${Ee}-time-panel`]:{transition:`opacity ${uo}`},"&-active":{[`${Ee}-date-panel,
${Ee}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Ee}-content`]:{display:"flex",flex:"auto",height:vo},"&-column":{flex:"1 0 auto",width:co,margin:`${(0,Io.unit)(hr)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ur}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:oe.colorTextTertiary,borderRadius:oe.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${oe.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,Io.unit)(Ki)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,Io.unit)(Er)} ${Fr} ${Lr}`},"&-active":{background:new Dl.FastColor(qi).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Ee}-time-panel-cell`]:{marginInline:Fi,[`${Ee}-time-panel-cell-inner`]:{display:"block",width:oe.calc(co).sub(oe.calc(Fi).mul(2)).equal(),height:Ki,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:oe.calc(co).sub(Ki).div(2).equal(),color:Yi,lineHeight:(0,Io.unit)(Ki),borderRadius:Si,cursor:"pointer",transition:`background ${Ur}`,"&:hover":{background:Mi}},"&-selected":{[`${Ee}-time-panel-cell-inner`]:{background:qi}},"&-disabled":{[`${Ee}-time-panel-cell-inner`]:{color:Vi,background:"transparent",cursor:"not-allowed"}}}}}}}}};var _l=oe=>{const{componentCls:Ee,textHeight:Ge,lineWidth:At,paddingSM:kt,antCls:In,colorPrimary:Vn,cellActiveWithRangeBg:Gn,colorPrimaryBorder:sr,lineType:hr,colorSplit:Qn}=oe;return{[`${Ee}-dropdown`]:{[`${Ee}-footer`]:{borderTop:`${(0,Io.unit)(At)} ${hr} ${Qn}`,"&-extra":{padding:`0 ${(0,Io.unit)(kt)}`,lineHeight:(0,Io.unit)(oe.calc(Ge).sub(oe.calc(At).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,Io.unit)(At)} ${hr} ${Qn}`}}},[`${Ee}-panels + ${Ee}-footer ${Ee}-ranges`]:{justifyContent:"space-between"},[`${Ee}-ranges`]:{marginBlock:0,paddingInline:(0,Io.unit)(kt),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,Io.unit)(oe.calc(Ge).sub(oe.calc(At).mul(2)).equal()),display:"inline-block"},[`${Ee}-now-btn-disabled`]:{pointerEvents:"none",color:oe.colorTextDisabled},[`${Ee}-preset > ${In}-tag-blue`]:{color:Vn,background:Gn,borderColor:sr,cursor:"pointer"},[`${Ee}-ok`]:{paddingBlock:oe.calc(At).mul(2).equal(),marginInlineStart:"auto"}}}}};const os=oe=>{const{componentCls:Ee,controlHeightLG:Ge,paddingXXS:At,padding:kt}=oe;return{pickerCellCls:`${Ee}-cell`,pickerCellInnerCls:`${Ee}-cell-inner`,pickerYearMonthCellWidth:oe.calc(Ge).mul(1.5).equal(),pickerQuarterPanelContentHeight:oe.calc(Ge).mul(1.4).equal(),pickerCellPaddingVertical:oe.calc(At).add(oe.calc(At).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:oe.calc(kt).add(oe.calc(At).div(2)).equal()}},$a=oe=>{const{colorBgContainerDisabled:Ee,controlHeight:Ge,controlHeightSM:At,controlHeightLG:kt,paddingXXS:In,lineWidth:Vn}=oe,Gn=In*2,sr=Vn*2,hr=Math.min(Ge-Gn,Ge-sr),Qn=Math.min(At-Gn,At-sr),Er=Math.min(kt-Gn,kt-sr);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(In/2),cellHoverBg:oe.controlItemBgHover,cellActiveWithRangeBg:oe.controlItemBgActive,cellHoverWithRangeBg:new Dl.FastColor(oe.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Dl.FastColor(oe.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Ee,timeColumnWidth:kt*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:At*1.5,cellHeight:At,textHeight:kt,withoutTimeCellHeight:kt*1.65,multipleItemBg:oe.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:hr,multipleItemHeightSM:Qn,multipleItemHeightLG:Er,multipleSelectorBgDisabled:Ee,multipleItemColorDisabled:oe.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Qa=oe=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,wl.T)(oe)),$a(oe)),(0,xl.w)(oe)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:oe.zIndexPopupBase+50});var fa=z(39082),Co=oe=>{const{componentCls:Ee}=oe;return{[Ee]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,fa.qG)(oe)),(0,fa.vc)(oe)),(0,fa.H8)(oe)),(0,fa.Mu)(oe)),{"&-outlined":{[`&${Ee}-multiple ${Ee}-selection-item`]:{background:oe.multipleItemBg,border:`${(0,Io.unit)(oe.lineWidth)} ${oe.lineType} ${oe.multipleItemBorderColor}`}},"&-filled":{[`&${Ee}-multiple ${Ee}-selection-item`]:{background:oe.colorBgContainer,border:`${(0,Io.unit)(oe.lineWidth)} ${oe.lineType} ${oe.colorSplit}`}},"&-borderless":{[`&${Ee}-multiple ${Ee}-selection-item`]:{background:oe.multipleItemBg,border:`${(0,Io.unit)(oe.lineWidth)} ${oe.lineType} ${oe.multipleItemBorderColor}`}},"&-underlined":{[`&${Ee}-multiple ${Ee}-selection-item`]:{background:oe.multipleItemBg,border:`${(0,Io.unit)(oe.lineWidth)} ${oe.lineType} ${oe.multipleItemBorderColor}`}}}]}};const sa=(oe,Ee,Ge,At)=>{const kt=oe.calc(Ge).add(2).equal(),In=oe.max(oe.calc(Ee).sub(kt).div(2).equal(),0),Vn=oe.max(oe.calc(Ee).sub(kt).sub(In).equal(),0);return{padding:`${(0,Io.unit)(In)} ${(0,Io.unit)(At)} ${(0,Io.unit)(Vn)}`}},Ma=oe=>{const{componentCls:Ee,colorError:Ge,colorWarning:At}=oe;return{[`${Ee}:not(${Ee}-disabled):not([disabled])`]:{[`&${Ee}-status-error`]:{[`${Ee}-active-bar`]:{background:Ge}},[`&${Ee}-status-warning`]:{[`${Ee}-active-bar`]:{background:At}}}}},wa=oe=>{const{componentCls:Ee,antCls:Ge,controlHeight:At,paddingInline:kt,lineWidth:In,lineType:Vn,colorBorder:Gn,borderRadius:sr,motionDurationMid:hr,colorTextDisabled:Qn,colorTextPlaceholder:Er,controlHeightLG:Fr,fontSizeLG:Ir,controlHeightSM:Dr,paddingInlineSM:Mr,paddingXS:Lr,marginXS:Tr,colorTextDescription:xi,lineWidthBold:li,colorPrimary:Ur,motionDurationSlow:wi,zIndexPopup:ri,paddingXXS:ui,sizePopupArrow:oo,colorBgElevated:Vi,borderRadiusLG:Yi,boxShadowSecondary:Wi,borderRadiusSM:uo,colorSplit:Qi,cellHoverBg:Bi,presetsWidth:Si,presetsMaxWidth:Ti,boxShadowPopoverArrow:Mi,fontHeight:vo,fontHeightLG:co,lineHeightLG:Ki}=oe;return[{[Ee]:Object.assign(Object.assign(Object.assign({},(0,cl.Wf)(oe)),sa(oe,At,vo,kt)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:sr,transition:`border ${hr}, box-shadow ${hr}, background ${hr}`,[`${Ee}-prefix`]:{flex:"0 0 auto",marginInlineEnd:oe.inputAffixPadding},[`${Ee}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:oe.fontSize,lineHeight:oe.lineHeight,transition:`all ${hr}`},(0,Ga.nz)(Er)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:Qn,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:Er}}},"&-large":Object.assign(Object.assign({},sa(oe,Fr,co,kt)),{[`${Ee}-input > input`]:{fontSize:Ir,lineHeight:Ki}}),"&-small":Object.assign({},sa(oe,Dr,vo,Mr)),[`${Ee}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:oe.calc(Lr).div(2).equal(),color:Qn,lineHeight:1,pointerEvents:"none",transition:`opacity ${hr}, color ${hr}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Tr}}},[`${Ee}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Qn,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${hr}, color ${hr}`,"> *":{verticalAlign:"top"},"&:hover":{color:xi}},"&:hover":{[`${Ee}-clear`]:{opacity:1},[`${Ee}-suffix:not(:last-child)`]:{opacity:0}},[`${Ee}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Ir,color:Qn,fontSize:Ir,verticalAlign:"top",cursor:"default",[`${Ee}-focused &`]:{color:xi},[`${Ee}-range-separator &`]:{[`${Ee}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Ee}-active-bar`]:{bottom:oe.calc(In).mul(-1).equal(),height:li,background:Ur,opacity:0,transition:`all ${wi} ease-out`,pointerEvents:"none"},[`&${Ee}-focused`]:{[`${Ee}-active-bar`]:{opacity:1}},[`${Ee}-range-separator`]:{alignItems:"center",padding:`0 ${(0,Io.unit)(Lr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Ee}-clear`]:{insetInlineEnd:kt},[`&${Ee}-small`]:{[`${Ee}-clear`]:{insetInlineEnd:Mr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,cl.Wf)(oe)),is(oe)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ri,[`&${Ee}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Ee}-dropdown-placement-bottomLeft,
&${Ee}-dropdown-placement-bottomRight`]:{[`${Ee}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Ee}-dropdown-placement-topLeft,
&${Ee}-dropdown-placement-topRight`]:{[`${Ee}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ge}-slide-up-appear, &${Ge}-slide-up-enter`]:{[`${Ee}-range-arrow${Ee}-range-arrow`]:{transition:"none"}},[`&${Ge}-slide-up-enter${Ge}-slide-up-enter-active${Ee}-dropdown-placement-topLeft,
&${Ge}-slide-up-enter${Ge}-slide-up-enter-active${Ee}-dropdown-placement-topRight,
&${Ge}-slide-up-appear${Ge}-slide-up-appear-active${Ee}-dropdown-placement-topLeft,
&${Ge}-slide-up-appear${Ge}-slide-up-appear-active${Ee}-dropdown-placement-topRight`]:{animationName:Xa.Qt},[`&${Ge}-slide-up-enter${Ge}-slide-up-enter-active${Ee}-dropdown-placement-bottomLeft,
&${Ge}-slide-up-enter${Ge}-slide-up-enter-active${Ee}-dropdown-placement-bottomRight,
&${Ge}-slide-up-appear${Ge}-slide-up-appear-active${Ee}-dropdown-placement-bottomLeft,
&${Ge}-slide-up-appear${Ge}-slide-up-appear-active${Ee}-dropdown-placement-bottomRight`]:{animationName:Xa.fJ},[`&${Ge}-slide-up-leave ${Ee}-panel-container`]:{pointerEvents:"none"},[`&${Ge}-slide-up-leave${Ge}-slide-up-leave-active${Ee}-dropdown-placement-topLeft,
&${Ge}-slide-up-leave${Ge}-slide-up-leave-active${Ee}-dropdown-placement-topRight`]:{animationName:Xa.ly},[`&${Ge}-slide-up-leave${Ge}-slide-up-leave-active${Ee}-dropdown-placement-bottomLeft,
&${Ge}-slide-up-leave${Ge}-slide-up-leave-active${Ee}-dropdown-placement-bottomRight`]:{animationName:Xa.Uw},[`${Ee}-panel > ${Ee}-time-panel`]:{paddingTop:ui},[`${Ee}-range-wrapper`]:{display:"flex",position:"relative"},[`${Ee}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:oe.calc(kt).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${wi} ease-out`},(0,xl.W)(oe,Vi,Mi)),{"&:before":{insetInlineStart:oe.calc(kt).mul(1.5).equal()}}),[`${Ee}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Vi,borderRadius:Yi,boxShadow:Wi,transition:`margin ${wi}`,display:"inline-block",pointerEvents:"auto",[`${Ee}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Ee}-presets`]:{display:"flex",flexDirection:"column",minWidth:Si,maxWidth:Ti,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Lr,borderInlineEnd:`${(0,Io.unit)(In)} ${Vn} ${Qi}`,li:Object.assign(Object.assign({},cl.vS),{borderRadius:uo,paddingInline:Lr,paddingBlock:oe.calc(Dr).sub(vo).div(2).equal(),cursor:"pointer",transition:`all ${wi}`,"+ li":{marginTop:Tr},"&:hover":{background:Bi}})}},[`${Ee}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Ee}-panel`]:{borderWidth:0}}},[`${Ee}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Ee}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Gn}}}}),"&-dropdown-range":{padding:`${(0,Io.unit)(oe.calc(oo).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Ee}-separator`]:{transform:"scale(-1, 1)"},[`${Ee}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Xa.oN)(oe,"slide-up"),(0,Xa.oN)(oe,"slide-down"),(0,Al.Fm)(oe,"move-up"),(0,Al.Fm)(oe,"move-down")]};var _o=(0,Hl.I$)("DatePicker",oe=>{const Ee=(0,Yl.mergeToken)((0,wl.e)(oe),os(oe),{inputPaddingHorizontalBase:oe.calc(oe.paddingSM).sub(1).equal(),multipleSelectItemHeight:oe.multipleItemHeight,selectHeight:oe.controlHeight});return[_l(Ee),wa(Ee),Co(Ee),Ma(Ee),rs(Ee),(0,el.c)(oe,{focusElCls:`${oe.componentCls}-focused`})]},Qa),tl=z(68525);function Ka(oe,Ee,Ge){return Ge!==void 0?Ge:Ee==="year"&&oe.lang.yearPlaceholder?oe.lang.yearPlaceholder:Ee==="quarter"&&oe.lang.quarterPlaceholder?oe.lang.quarterPlaceholder:Ee==="month"&&oe.lang.monthPlaceholder?oe.lang.monthPlaceholder:Ee==="week"&&oe.lang.weekPlaceholder?oe.lang.weekPlaceholder:Ee==="time"&&oe.timePickerLocale.placeholder?oe.timePickerLocale.placeholder:oe.lang.placeholder}function nl(oe,Ee,Ge){return Ge!==void 0?Ge:Ee==="year"&&oe.lang.yearPlaceholder?oe.lang.rangeYearPlaceholder:Ee==="quarter"&&oe.lang.quarterPlaceholder?oe.lang.rangeQuarterPlaceholder:Ee==="month"&&oe.lang.monthPlaceholder?oe.lang.rangeMonthPlaceholder:Ee==="week"&&oe.lang.weekPlaceholder?oe.lang.rangeWeekPlaceholder:Ee==="time"&&oe.timePickerLocale.placeholder?oe.timePickerLocale.rangePlaceholder:oe.lang.rangePlaceholder}function _a(oe,Ee){const{allowClear:Ge=!0}=oe,{clearIcon:At,removeIcon:kt}=(0,tl.Z)(Object.assign(Object.assign({},oe),{prefixCls:Ee,componentName:"DatePicker"}));return[se.useMemo(()=>Ge===!1?!1:Object.assign({clearIcon:At},Ge===!0?{}:Ge),[Ge,At]),kt]}const[rl,il]=["week","WeekPicker"],[kl,ls]=["month","MonthPicker"],[Ls,ms]=["year","YearPicker"],[ql,Xl]=["quarter","QuarterPicker"],[vl,es]=["time","TimePicker"];var Ql=z(7939),Ys=oe=>se.createElement(Ql.ZP,Object.assign({size:"small",type:"primary"},oe));function Ps(oe){return(0,se.useMemo)(()=>Object.assign({button:Ys},oe),[oe])}var ss=function(oe,Ee){var Ge={};for(var At in oe)Object.prototype.hasOwnProperty.call(oe,At)&&Ee.indexOf(At)<0&&(Ge[At]=oe[At]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,At=Object.getOwnPropertySymbols(oe);kt<At.length;kt++)Ee.indexOf(At[kt])<0&&Object.prototype.propertyIsEnumerable.call(oe,At[kt])&&(Ge[At[kt]]=oe[At[kt]]);return Ge},Gs=oe=>(0,se.forwardRef)((Ge,At)=>{var kt;const{prefixCls:In,getPopupContainer:Vn,components:Gn,className:sr,style:hr,placement:Qn,size:Er,disabled:Fr,bordered:Ir=!0,placeholder:Dr,popupClassName:Mr,dropdownClassName:Lr,status:Tr,rootClassName:xi,variant:li,picker:Ur}=Ge,wi=ss(Ge,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),ri=se.useRef(null),{getPrefixCls:ui,direction:oo,getPopupContainer:Vi,rangePicker:Yi}=(0,se.useContext)(lo.E_),Wi=ui("picker",In),{compactSize:uo,compactItemClassnames:Qi}=(0,Oa.ri)(Wi,oo),Bi=ui(),[Si,Ti]=(0,pa.Z)("rangePicker",li,Ir),Mi=(0,Ro.Z)(Wi),[vo,co,Ki]=_o(Wi,Mi),[qi]=_a(Ge,Wi),Fi=Ps(Gn),Gi=(0,Lo.Z)(wn=>{var bn;return(bn=Er!=null?Er:uo)!==null&&bn!==void 0?bn:wn}),Ui=se.useContext(da.Z),po=Fr!=null?Fr:Ui,Bo=(0,se.useContext)(Oo.aM),{hasFeedback:Mo,status:ye,feedbackIcon:ge}=Bo,ot=se.createElement(se.Fragment,null,Ur===vl?se.createElement(Ot,null):se.createElement(ut,null),Mo&&ge);(0,se.useImperativeHandle)(At,()=>ri.current);const[wt]=(0,Ea.Z)("Calendar",Ya.Z),Yt=Object.assign(Object.assign({},wt),Ge.locale),[rn]=(0,fi.Cn)("DatePicker",(kt=Ge.popupStyle)===null||kt===void 0?void 0:kt.zIndex);return vo(se.createElement(Ei.Z,{space:!0},se.createElement(Ta,Object.assign({separator:se.createElement("span",{"aria-label":"to",className:`${Wi}-separator`},se.createElement(ve,null)),disabled:po,ref:ri,placement:Qn,placeholder:nl(Yt,Ur,Dr),suffixIcon:ot,prevIcon:se.createElement("span",{className:`${Wi}-prev-icon`}),nextIcon:se.createElement("span",{className:`${Wi}-next-icon`}),superPrevIcon:se.createElement("span",{className:`${Wi}-super-prev-icon`}),superNextIcon:se.createElement("span",{className:`${Wi}-super-next-icon`}),transitionName:`${Bi}-slide-up`,picker:Ur},wi,{className:Jt()({[`${Wi}-${Gi}`]:Gi,[`${Wi}-${Si}`]:Ti},(0,Li.Z)(Wi,(0,Li.F)(ye,Tr),Mo),co,Qi,sr,Yi==null?void 0:Yi.className,Ki,Mi,xi),style:Object.assign(Object.assign({},Yi==null?void 0:Yi.style),hr),locale:Yt.lang,prefixCls:Wi,getPopupContainer:Vn||Vi,generateConfig:oe,components:Fi,direction:oo,classNames:{popup:Jt()(co,Mr||Lr,Ki,Mi,xi)},styles:{popup:Object.assign(Object.assign({},Ge.popupStyle),{zIndex:rn})},allowClear:qi}))))}),xs=function(oe,Ee){var Ge={};for(var At in oe)Object.prototype.hasOwnProperty.call(oe,At)&&Ee.indexOf(At)<0&&(Ge[At]=oe[At]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,At=Object.getOwnPropertySymbols(oe);kt<At.length;kt++)Ee.indexOf(At[kt])<0&&Object.prototype.propertyIsEnumerable.call(oe,At[kt])&&(Ge[At[kt]]=oe[At[kt]]);return Ge},Ts=oe=>{const Ee=(sr,hr)=>{const Qn=hr===es?"timePicker":"datePicker";return(0,se.forwardRef)((Fr,Ir)=>{var Dr;const{prefixCls:Mr,getPopupContainer:Lr,components:Tr,style:xi,className:li,rootClassName:Ur,size:wi,bordered:ri,placement:ui,placeholder:oo,popupClassName:Vi,dropdownClassName:Yi,disabled:Wi,status:uo,variant:Qi,onCalendarChange:Bi}=Fr,Si=xs(Fr,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:Ti,direction:Mi,getPopupContainer:vo,[Qn]:co}=(0,se.useContext)(lo.E_),Ki=Ti("picker",Mr),{compactSize:qi,compactItemClassnames:Fi}=(0,Oa.ri)(Ki,Mi),Gi=se.useRef(null),[Ui,po]=(0,pa.Z)("datePicker",Qi,ri),Bo=(0,Ro.Z)(Ki),[Mo,ye,ge]=_o(Ki,Bo);(0,se.useImperativeHandle)(Ir,()=>Gi.current);const ot={showToday:!0},wt=sr||Fr.picker,Yt=Ti(),{onSelect:rn,multiple:wn}=Si,bn=rn&&sr==="time"&&!wn,kn=(vi,Ci,Xi)=>{Bi==null||Bi(vi,Ci,Xi),bn&&rn(vi)},[Tn,or]=_a(Fr,Ki),tr=Ps(Tr),$n=(0,Lo.Z)(vi=>{var Ci;return(Ci=wi!=null?wi:qi)!==null&&Ci!==void 0?Ci:vi}),Kn=se.useContext(da.Z),Wn=Wi!=null?Wi:Kn,Or=(0,se.useContext)(Oo.aM),{hasFeedback:cr,status:Hr,feedbackIcon:Nr}=Or,_r=se.createElement(se.Fragment,null,wt==="time"?se.createElement(Ot,null):se.createElement(ut,null),cr&&Nr),[zr]=(0,Ea.Z)("DatePicker",Ya.Z),Yr=Object.assign(Object.assign({},zr),Fr.locale),[ai]=(0,fi.Cn)("DatePicker",(Dr=Fr.popupStyle)===null||Dr===void 0?void 0:Dr.zIndex);return Mo(se.createElement(Ei.Z,{space:!0},se.createElement(mo,Object.assign({ref:Gi,placeholder:Ka(Yr,wt,oo),suffixIcon:_r,placement:ui,prevIcon:se.createElement("span",{className:`${Ki}-prev-icon`}),nextIcon:se.createElement("span",{className:`${Ki}-next-icon`}),superPrevIcon:se.createElement("span",{className:`${Ki}-super-prev-icon`}),superNextIcon:se.createElement("span",{className:`${Ki}-super-next-icon`}),transitionName:`${Yt}-slide-up`,picker:sr,onCalendarChange:kn},ot,Si,{locale:Yr.lang,className:Jt()({[`${Ki}-${$n}`]:$n,[`${Ki}-${Ui}`]:po},(0,Li.Z)(Ki,(0,Li.F)(Hr,uo),cr),ye,Fi,co==null?void 0:co.className,li,ge,Bo,Ur),style:Object.assign(Object.assign({},co==null?void 0:co.style),xi),prefixCls:Ki,getPopupContainer:Lr||vo,generateConfig:oe,components:tr,direction:Mi,disabled:Wn,classNames:{popup:Jt()(ye,ge,Bo,Ur,Vi||Yi)},styles:{popup:Object.assign(Object.assign({},Fr.popupStyle),{zIndex:ai})},allowClear:Tn,removeIcon:or}))))})},Ge=Ee(),At=Ee(rl,il),kt=Ee(kl,ls),In=Ee(Ls,ms),Vn=Ee(ql,Xl),Gn=Ee(vl,es);return{DatePicker:Ge,WeekPicker:At,MonthPicker:kt,YearPicker:In,TimePicker:Gn,QuarterPicker:Vn}},Rs=oe=>{const{DatePicker:Ee,WeekPicker:Ge,MonthPicker:At,YearPicker:kt,TimePicker:In,QuarterPicker:Vn}=Ts(oe),Gn=Gs(oe),sr=Ee;return sr.WeekPicker=Ge,sr.MonthPicker=At,sr.YearPicker=kt,sr.RangePicker=Gn,sr.TimePicker=In,sr.QuarterPicker=Vn,sr};const us=Rs(Nt),vs=(0,jt.Z)(us,"popupAlign",void 0,"picker");us._InternalPanelDoNotUseOrYouWillBeFired=vs;const Eo=(0,jt.Z)(us.RangePicker,"popupAlign",void 0,"picker");us._InternalRangePanelDoNotUseOrYouWillBeFired=Eo,us.generatePicker=Rs;var ps=us},37285:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return et}});var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(48755),Me=z(36237),Ce=z(63356),Be=z(16931),He=z(51636);const Fe=$e=>{const{componentCls:ze,sizePaddingEdgeHorizontal:je,colorSplit:at,lineWidth:Nt,textPaddingInline:jt,orientationMargin:se,verticalMarginInline:Oe}=$e;return{[ze]:Object.assign(Object.assign({},(0,Ce.Wf)($e)),{borderBlockStart:`${(0,Me.unit)(Nt)} solid ${at}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Oe,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,Me.unit)(Nt)} solid ${at}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,Me.unit)($e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${ze}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,Me.unit)($e.dividerHorizontalWithTextGutterMargin)} 0`,color:$e.colorTextHeading,fontWeight:500,fontSize:$e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${at}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,Me.unit)(Nt)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ze}-with-text-start`]:{"&::before":{width:`calc(${se} * 100%)`},"&::after":{width:`calc(100% - ${se} * 100%)`}},[`&-horizontal${ze}-with-text-end`]:{"&::before":{width:`calc(100% - ${se} * 100%)`},"&::after":{width:`calc(${se} * 100%)`}},[`${ze}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:jt},"&-dashed":{background:"none",borderColor:at,borderStyle:"dashed",borderWidth:`${(0,Me.unit)(Nt)} 0 0`},[`&-horizontal${ze}-with-text${ze}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ze}-dashed`]:{borderInlineStartWidth:Nt,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:at,borderStyle:"dotted",borderWidth:`${(0,Me.unit)(Nt)} 0 0`},[`&-horizontal${ze}-with-text${ze}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${ze}-dotted`]:{borderInlineStartWidth:Nt,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ze}-with-text`]:{color:$e.colorText,fontWeight:"normal",fontSize:$e.fontSize},[`&-horizontal${ze}-with-text-start${ze}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ze}-inner-text`]:{paddingInlineStart:je}},[`&-horizontal${ze}-with-text-end${ze}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ze}-inner-text`]:{paddingInlineEnd:je}}})}},de=$e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:$e.marginXS});var Ke=(0,Be.I$)("Divider",$e=>{const ze=(0,He.mergeToken)($e,{dividerHorizontalWithTextGutterMargin:$e.margin,dividerHorizontalGutterMargin:$e.marginLG,sizePaddingEdgeHorizontal:0});return[Fe(ze)]},de,{unitless:{orientationMargin:!0}}),be=function($e,ze){var je={};for(var at in $e)Object.prototype.hasOwnProperty.call($e,at)&&ze.indexOf(at)<0&&(je[at]=$e[at]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,at=Object.getOwnPropertySymbols($e);Nt<at.length;Nt++)ze.indexOf(at[Nt])<0&&Object.prototype.propertyIsEnumerable.call($e,at[Nt])&&(je[at[Nt]]=$e[at[Nt]]);return je},et=$e=>{const{getPrefixCls:ze,direction:je,className:at,style:Nt}=(0,nt.dj)("divider"),{prefixCls:jt,type:se="horizontal",orientation:Oe="center",orientationMargin:dt,className:ht,rootClassName:Rt,children:_e,dashed:lt,variant:ut="solid",plain:Pe,style:Te}=$e,we=be($e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),me=ze("divider",jt),[Ot,We,Xe]=Ke(me),Xt=!!_e,Se=b.useMemo(()=>Oe==="left"?je==="rtl"?"end":"start":Oe==="right"?je==="rtl"?"start":"end":Oe,[je,Oe]),ve=Se==="start"&&dt!=null,Mt=Se==="end"&&dt!=null,Jt=ce()(me,at,We,Xe,`${me}-${se}`,{[`${me}-with-text`]:Xt,[`${me}-with-text-${Se}`]:Xt,[`${me}-dashed`]:!!lt,[`${me}-${ut}`]:ut!=="solid",[`${me}-plain`]:!!Pe,[`${me}-rtl`]:je==="rtl",[`${me}-no-default-orientation-margin-start`]:ve,[`${me}-no-default-orientation-margin-end`]:Mt},ht,Rt),Zt=b.useMemo(()=>typeof dt=="number"?dt:/^\d+$/.test(dt)?Number(dt):dt,[dt]),pe={marginInlineStart:ve?Zt:void 0,marginInlineEnd:Mt?Zt:void 0};return Ot(b.createElement("div",Object.assign({className:Jt,style:Object.assign(Object.assign({},Nt),Te)},we,{role:"separator"}),_e&&se!=="vertical"&&b.createElement("span",{className:`${me}-inner-text`,style:pe},_e)))}},36207:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return st}});var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(33885),Me=z(42978),Ce=z(43403),Be=z(34280),He=b.createContext(null),Fe=b.createContext({}),de=He,Ke=z(20068),be=z(54476),vt=z(77900),et=z(10228),$e=z(26112),ze=z(75931),je=z(8654),at=["prefixCls","className","containerRef"],Nt=function(Ie){var mt=Ie.prefixCls,Et=Ie.className,Tt=Ie.containerRef,Le=(0,ze.Z)(Ie,at),Ye=b.useContext(Fe),vn=Ye.panel,Ht=(0,je.x1)(vn,Tt);return b.createElement("div",(0,be.Z)({className:ce()("".concat(mt,"-content"),Et),role:"dialog",ref:Ht},(0,$e.Z)(Ie,{aria:!0}),{"aria-modal":"true"},Le))},jt=Nt,se=z(48736);function Oe(Qe){return typeof Qe=="string"&&String(Number(Qe))===Qe?((0,se.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Qe)):Qe}function dt(Qe){warning(!("wrapperClassName"in Qe),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Qe.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ht={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Rt(Qe,Ie){var mt,Et,Tt,Le=Qe.prefixCls,Ye=Qe.open,vn=Qe.placement,Ht=Qe.inline,Cn=Qe.push,un=Qe.forceRender,Ut=Qe.autoFocus,on=Qe.keyboard,mn=Qe.classNames,ft=Qe.rootClassName,Vt=Qe.rootStyle,yn=Qe.zIndex,Ct=Qe.className,Je=Qe.id,Wt=Qe.style,qt=Qe.motion,ln=Qe.width,Zn=Qe.height,qn=Qe.children,mr=Qe.mask,vr=Qe.maskClosable,_n=Qe.maskMotion,dr=Qe.maskClassName,Qt=Qe.maskStyle,En=Qe.afterOpenChange,pn=Qe.onClose,xn=Qe.onMouseEnter,sn=Qe.onMouseOver,Fn=Qe.onMouseLeave,St=Qe.onClick,Sn=Qe.onKeyDown,Bt=Qe.onKeyUp,hn=Qe.styles,An=Qe.drawerRender,On=b.useRef(),Ln=b.useRef(),nr=b.useRef();b.useImperativeHandle(Ie,function(){return On.current});var Xn=function(Pt){var zt=Pt.keyCode,Bn=Pt.shiftKey;switch(zt){case et.Z.TAB:{if(zt===et.Z.TAB){if(!Bn&&document.activeElement===nr.current){var Hn;(Hn=Ln.current)===null||Hn===void 0||Hn.focus({preventScroll:!0})}else if(Bn&&document.activeElement===Ln.current){var Rn;(Rn=nr.current)===null||Rn===void 0||Rn.focus({preventScroll:!0})}}break}case et.Z.ESC:{pn&&on&&(Pt.stopPropagation(),pn(Pt));break}}};b.useEffect(function(){if(Ye&&Ut){var bt;(bt=On.current)===null||bt===void 0||bt.focus({preventScroll:!0})}},[Ye]);var nn=b.useState(!1),Pn=(0,Me.Z)(nn,2),en=Pn[0],er=Pn[1],Dt=b.useContext(de),Gt;typeof Cn=="boolean"?Gt=Cn?{}:{distance:0}:Gt=Cn||{};var Ze=(mt=(Et=(Tt=Gt)===null||Tt===void 0?void 0:Tt.distance)!==null&&Et!==void 0?Et:Dt==null?void 0:Dt.pushDistance)!==null&&mt!==void 0?mt:180,gt=b.useMemo(function(){return{pushDistance:Ze,push:function(){er(!0)},pull:function(){er(!1)}}},[Ze]);b.useEffect(function(){if(Ye){var bt;Dt==null||(bt=Dt.push)===null||bt===void 0||bt.call(Dt)}else{var Pt;Dt==null||(Pt=Dt.pull)===null||Pt===void 0||Pt.call(Dt)}},[Ye]),b.useEffect(function(){return function(){var bt;Dt==null||(bt=Dt.pull)===null||bt===void 0||bt.call(Dt)}},[]);var Ve=mr&&b.createElement(vt.default,(0,be.Z)({key:"mask"},_n,{visible:Ye}),function(bt,Pt){var zt=bt.className,Bn=bt.style;return b.createElement("div",{className:ce()("".concat(Le,"-mask"),zt,mn==null?void 0:mn.mask,dr),style:(0,nt.Z)((0,nt.Z)((0,nt.Z)({},Bn),Qt),hn==null?void 0:hn.mask),onClick:vr&&Ye?pn:void 0,ref:Pt})}),yt=typeof qt=="function"?qt(vn):qt,_t={};if(en&&Ze)switch(vn){case"top":_t.transform="translateY(".concat(Ze,"px)");break;case"bottom":_t.transform="translateY(".concat(-Ze,"px)");break;case"left":_t.transform="translateX(".concat(Ze,"px)");break;default:_t.transform="translateX(".concat(-Ze,"px)");break}vn==="left"||vn==="right"?_t.width=Oe(ln):_t.height=Oe(Zn);var rr={onMouseEnter:xn,onMouseOver:sn,onMouseLeave:Fn,onClick:St,onKeyDown:Sn,onKeyUp:Bt},ar=b.createElement(vt.default,(0,be.Z)({key:"panel"},yt,{visible:Ye,forceRender:un,onVisibleChanged:function(Pt){En==null||En(Pt)},removeOnLeave:!1,leavedClassName:"".concat(Le,"-content-wrapper-hidden")}),function(bt,Pt){var zt=bt.className,Bn=bt.style,Hn=b.createElement(jt,(0,be.Z)({id:Je,containerRef:Pt,prefixCls:Le,className:ce()(Ct,mn==null?void 0:mn.content),style:(0,nt.Z)((0,nt.Z)({},Wt),hn==null?void 0:hn.content)},(0,$e.Z)(Qe,{aria:!0}),rr),qn);return b.createElement("div",(0,be.Z)({className:ce()("".concat(Le,"-content-wrapper"),mn==null?void 0:mn.wrapper,zt),style:(0,nt.Z)((0,nt.Z)((0,nt.Z)({},_t),Bn),hn==null?void 0:hn.wrapper)},(0,$e.Z)(Qe,{data:!0})),An?An(Hn):Hn)}),pt=(0,nt.Z)({},Vt);return yn&&(pt.zIndex=yn),b.createElement(de.Provider,{value:gt},b.createElement("div",{className:ce()(Le,"".concat(Le,"-").concat(vn),ft,(0,Ke.Z)((0,Ke.Z)({},"".concat(Le,"-open"),Ye),"".concat(Le,"-inline"),Ht)),style:pt,tabIndex:-1,ref:On,onKeyDown:Xn},Ve,b.createElement("div",{tabIndex:0,ref:Ln,style:ht,"aria-hidden":"true","data-sentinel":"start"}),ar,b.createElement("div",{tabIndex:0,ref:nr,style:ht,"aria-hidden":"true","data-sentinel":"end"})))}var _e=b.forwardRef(Rt),lt=_e,ut=function(Ie){var mt=Ie.open,Et=mt===void 0?!1:mt,Tt=Ie.prefixCls,Le=Tt===void 0?"rc-drawer":Tt,Ye=Ie.placement,vn=Ye===void 0?"right":Ye,Ht=Ie.autoFocus,Cn=Ht===void 0?!0:Ht,un=Ie.keyboard,Ut=un===void 0?!0:un,on=Ie.width,mn=on===void 0?378:on,ft=Ie.mask,Vt=ft===void 0?!0:ft,yn=Ie.maskClosable,Ct=yn===void 0?!0:yn,Je=Ie.getContainer,Wt=Ie.forceRender,qt=Ie.afterOpenChange,ln=Ie.destroyOnClose,Zn=Ie.onMouseEnter,qn=Ie.onMouseOver,mr=Ie.onMouseLeave,vr=Ie.onClick,_n=Ie.onKeyDown,dr=Ie.onKeyUp,Qt=Ie.panelRef,En=b.useState(!1),pn=(0,Me.Z)(En,2),xn=pn[0],sn=pn[1],Fn=b.useState(!1),St=(0,Me.Z)(Fn,2),Sn=St[0],Bt=St[1];(0,Be.Z)(function(){Bt(!0)},[]);var hn=Sn?Et:!1,An=b.useRef(),On=b.useRef();(0,Be.Z)(function(){hn&&(On.current=document.activeElement)},[hn]);var Ln=function(en){var er;if(sn(en),qt==null||qt(en),!en&&On.current&&!((er=An.current)!==null&&er!==void 0&&er.contains(On.current))){var Dt;(Dt=On.current)===null||Dt===void 0||Dt.focus({preventScroll:!0})}},nr=b.useMemo(function(){return{panel:Qt}},[Qt]);if(!Wt&&!xn&&!hn&&ln)return null;var Xn={onMouseEnter:Zn,onMouseOver:qn,onMouseLeave:mr,onClick:vr,onKeyDown:_n,onKeyUp:dr},nn=(0,nt.Z)((0,nt.Z)({},Ie),{},{open:hn,prefixCls:Le,placement:vn,autoFocus:Cn,keyboard:Ut,width:mn,mask:Vt,maskClosable:Ct,inline:Je===!1,afterOpenChange:Ln,ref:An},Xn);return b.createElement(Fe.Provider,{value:nr},b.createElement(Ce.Z,{open:hn||Wt||xn,autoDestroy:!1,getContainer:Je,autoLock:Vt&&(hn||xn)},b.createElement(lt,nn)))},Pe=ut,Te=Pe,we=z(62487),me=z(75030),Ot=z(86641),We=z(55743),Xe=z(48755),Xt=z(91190),Se=z(78776),ve=z(458),Jt=Qe=>{var Ie,mt;const{prefixCls:Et,title:Tt,footer:Le,extra:Ye,loading:vn,onClose:Ht,headerStyle:Cn,bodyStyle:un,footerStyle:Ut,children:on,classNames:mn,styles:ft}=Qe,Vt=(0,Xe.dj)("drawer"),yn=b.useCallback(ln=>b.createElement("button",{type:"button",onClick:Ht,"aria-label":"Close",className:`${Et}-close`},ln),[Ht]),[Ct,Je]=(0,Se.Z)((0,Se.w)(Qe),(0,Se.w)(Vt),{closable:!0,closeIconRender:yn}),Wt=b.useMemo(()=>{var ln,Zn;return!Tt&&!Ct?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(ln=Vt.styles)===null||ln===void 0?void 0:ln.header),Cn),ft==null?void 0:ft.header),className:ce()(`${Et}-header`,{[`${Et}-header-close-only`]:Ct&&!Tt&&!Ye},(Zn=Vt.classNames)===null||Zn===void 0?void 0:Zn.header,mn==null?void 0:mn.header)},b.createElement("div",{className:`${Et}-header-title`},Je,Tt&&b.createElement("div",{className:`${Et}-title`},Tt)),Ye&&b.createElement("div",{className:`${Et}-extra`},Ye))},[Ct,Je,Ye,Cn,Et,Tt]),qt=b.useMemo(()=>{var ln,Zn;if(!Le)return null;const qn=`${Et}-footer`;return b.createElement("div",{className:ce()(qn,(ln=Vt.classNames)===null||ln===void 0?void 0:ln.footer,mn==null?void 0:mn.footer),style:Object.assign(Object.assign(Object.assign({},(Zn=Vt.styles)===null||Zn===void 0?void 0:Zn.footer),Ut),ft==null?void 0:ft.footer)},Le)},[Le,Ut,Et]);return b.createElement(b.Fragment,null,Wt,b.createElement("div",{className:ce()(`${Et}-body`,mn==null?void 0:mn.body,(Ie=Vt.classNames)===null||Ie===void 0?void 0:Ie.body),style:Object.assign(Object.assign(Object.assign({},(mt=Vt.styles)===null||mt===void 0?void 0:mt.body),un),ft==null?void 0:ft.body)},vn?b.createElement(ve.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Et}-body-skeleton`}):on),qt)},Zt=z(36237),pe=z(63356),Re=z(16931),Ue=z(51636);const tn=Qe=>{const Ie="100%";return{left:`translateX(-${Ie})`,right:`translateX(${Ie})`,top:`translateY(-${Ie})`,bottom:`translateY(${Ie})`}[Qe]},rt=(Qe,Ie)=>({"&-enter, &-appear":Object.assign(Object.assign({},Qe),{"&-active":Ie}),"&-leave":Object.assign(Object.assign({},Ie),{"&-active":Qe})}),Kt=(Qe,Ie)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ie}`}}},rt({opacity:Qe},{opacity:1})),ct=(Qe,Ie)=>[Kt(.7,Ie),rt({transform:tn(Qe)},{transform:"none"})];var xt=Qe=>{const{componentCls:Ie,motionDurationSlow:mt}=Qe;return{[Ie]:{[`${Ie}-mask-motion`]:Kt(0,mt),[`${Ie}-panel-motion`]:["left","right","top","bottom"].reduce((Et,Tt)=>Object.assign(Object.assign({},Et),{[`&-${Tt}`]:ct(Tt,mt)}),{})}}};const le=Qe=>{const{borderRadiusSM:Ie,componentCls:mt,zIndexPopup:Et,colorBgMask:Tt,colorBgElevated:Le,motionDurationSlow:Ye,motionDurationMid:vn,paddingXS:Ht,padding:Cn,paddingLG:un,fontSizeLG:Ut,lineHeightLG:on,lineWidth:mn,lineType:ft,colorSplit:Vt,marginXS:yn,colorIcon:Ct,colorIconHover:Je,colorBgTextHover:Wt,colorBgTextActive:qt,colorText:ln,fontWeightStrong:Zn,footerPaddingBlock:qn,footerPaddingInline:mr,calc:vr}=Qe,_n=`${mt}-content-wrapper`;return{[mt]:{position:"fixed",inset:0,zIndex:Et,pointerEvents:"none",color:ln,"&-pure":{position:"relative",background:Le,display:"flex",flexDirection:"column",[`&${mt}-left`]:{boxShadow:Qe.boxShadowDrawerLeft},[`&${mt}-right`]:{boxShadow:Qe.boxShadowDrawerRight},[`&${mt}-top`]:{boxShadow:Qe.boxShadowDrawerUp},[`&${mt}-bottom`]:{boxShadow:Qe.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${mt}-mask`]:{position:"absolute",inset:0,zIndex:Et,background:Tt,pointerEvents:"auto"},[_n]:{position:"absolute",zIndex:Et,maxWidth:"100vw",transition:`all ${Ye}`,"&-hidden":{display:"none"}},[`&-left > ${_n}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Qe.boxShadowDrawerLeft},[`&-right > ${_n}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Qe.boxShadowDrawerRight},[`&-top > ${_n}`]:{top:0,insetInline:0,boxShadow:Qe.boxShadowDrawerUp},[`&-bottom > ${_n}`]:{bottom:0,insetInline:0,boxShadow:Qe.boxShadowDrawerDown},[`${mt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Le,pointerEvents:"auto"},[`${mt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Zt.unit)(Cn)} ${(0,Zt.unit)(un)}`,fontSize:Ut,lineHeight:on,borderBottom:`${(0,Zt.unit)(mn)} ${ft} ${Vt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${mt}-extra`]:{flex:"none"},[`${mt}-close`]:Object.assign({display:"inline-flex",width:vr(Ut).add(Ht).equal(),height:vr(Ut).add(Ht).equal(),borderRadius:Ie,justifyContent:"center",alignItems:"center",marginInlineEnd:yn,color:Ct,fontWeight:Zn,fontSize:Ut,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${vn}`,textRendering:"auto","&:hover":{color:Je,backgroundColor:Wt,textDecoration:"none"},"&:active":{backgroundColor:qt}},(0,pe.Qy)(Qe)),[`${mt}-title`]:{flex:1,margin:0,fontWeight:Qe.fontWeightStrong,fontSize:Ut,lineHeight:on},[`${mt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:un,overflow:"auto",[`${mt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${mt}-footer`]:{flexShrink:0,padding:`${(0,Zt.unit)(qn)} ${(0,Zt.unit)(mr)}`,borderTop:`${(0,Zt.unit)(mn)} ${ft} ${Vt}`},"&-rtl":{direction:"rtl"}}}},ne=Qe=>({zIndexPopup:Qe.zIndexPopupBase,footerPaddingBlock:Qe.paddingXS,footerPaddingInline:Qe.padding});var te=(0,Re.I$)("Drawer",Qe=>{const Ie=(0,Ue.mergeToken)(Qe,{});return[le(Ie),xt(Ie)]},ne),ae=function(Qe,Ie){var mt={};for(var Et in Qe)Object.prototype.hasOwnProperty.call(Qe,Et)&&Ie.indexOf(Et)<0&&(mt[Et]=Qe[Et]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Et=Object.getOwnPropertySymbols(Qe);Tt<Et.length;Tt++)Ie.indexOf(Et[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Qe,Et[Tt])&&(mt[Et[Tt]]=Qe[Et[Tt]]);return mt};const he=null,re={distance:180},ue=Qe=>{var Ie;const{rootClassName:mt,width:Et,height:Tt,size:Le="default",mask:Ye=!0,push:vn=re,open:Ht,afterOpenChange:Cn,onClose:un,prefixCls:Ut,getContainer:on,style:mn,className:ft,visible:Vt,afterVisibleChange:yn,maskStyle:Ct,drawerStyle:Je,contentWrapperStyle:Wt}=Qe,qt=ae(Qe,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:ln,getPrefixCls:Zn,direction:qn,className:mr,style:vr,classNames:_n,styles:dr}=(0,Xe.dj)("drawer"),Qt=Zn("drawer",Ut),[En,pn,xn]=te(Qt),sn=on===void 0&&ln?()=>ln(document.body):on,Fn=ce()({"no-mask":!Ye,[`${Qt}-rtl`]:qn==="rtl"},mt,pn,xn),St=b.useMemo(()=>Et!=null?Et:Le==="large"?736:378,[Et,Le]),Sn=b.useMemo(()=>Tt!=null?Tt:Le==="large"?736:378,[Tt,Le]),Bt={motionName:(0,Ot.m)(Qt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},hn=nn=>({motionName:(0,Ot.m)(Qt,`panel-motion-${nn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),An=(0,Xt.H)(),[On,Ln]=(0,me.Cn)("Drawer",qt.zIndex),{classNames:nr={},styles:Xn={}}=qt;return En(b.createElement(we.Z,{form:!0,space:!0},b.createElement(We.Z.Provider,{value:Ln},b.createElement(Te,Object.assign({prefixCls:Qt,onClose:un,maskMotion:Bt,motion:hn},qt,{classNames:{mask:ce()(nr.mask,_n.mask),content:ce()(nr.content,_n.content),wrapper:ce()(nr.wrapper,_n.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Xn.mask),Ct),dr.mask),content:Object.assign(Object.assign(Object.assign({},Xn.content),Je),dr.content),wrapper:Object.assign(Object.assign(Object.assign({},Xn.wrapper),Wt),dr.wrapper)},open:Ht!=null?Ht:Vt,mask:Ye,push:vn,width:St,height:Sn,style:Object.assign(Object.assign({},vr),mn),className:ce()(mr,ft),rootClassName:Fn,getContainer:sn,afterOpenChange:Cn!=null?Cn:yn,panelRef:An,zIndex:On}),b.createElement(Jt,Object.assign({prefixCls:Qt},qt,{onClose:un}))))))},De=Qe=>{const{prefixCls:Ie,style:mt,className:Et,placement:Tt="right"}=Qe,Le=ae(Qe,["prefixCls","style","className","placement"]),{getPrefixCls:Ye}=b.useContext(Xe.E_),vn=Ye("drawer",Ie),[Ht,Cn,un]=te(vn),Ut=ce()(vn,`${vn}-pure`,`${vn}-${Tt}`,Cn,un,Et);return Ht(b.createElement("div",{className:Ut,style:mt},b.createElement(Jt,Object.assign({prefixCls:vn},Le))))};ue._InternalPanelDoNotUseOrYouWillBeFired=De;var st=ue},19563:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return Zt}});var b=z(59301),xe=z(33853),ce=z(38819),nt=z(92310),Me=z.n(nt),Ce=z(96478),Be=z(6089),He=z(18929),Fe=z(2738),de=z(75030),be=pe=>typeof pe!="object"&&typeof pe!="function"||pe===null,vt=z(52838),et=z(45915),$e=z(22703),ze=z(32383),je=z(55743),at=z(48755),Nt=z(83397),jt=z(93041),se=z(78857),Oe=z(57700),dt=z(36237),ht=z(63356),Rt=z(46e3),_e=z(93873),lt=z(34925),ut=z(37645),Pe=z(36305),Te=z(16931),we=z(51636),Ot=pe=>{const{componentCls:Re,menuCls:Ue,colorError:tn,colorTextLightSolid:rt}=pe,Kt=`${Ue}-item`;return{[`${Re}, ${Re}-menu-submenu`]:{[`${Ue} ${Kt}`]:{[`&${Kt}-danger:not(${Kt}-disabled)`]:{color:tn,"&:hover":{color:rt,backgroundColor:tn}}}}}};const We=pe=>{const{componentCls:Re,menuCls:Ue,zIndexPopup:tn,dropdownArrowDistance:rt,sizePopupArrow:Kt,antCls:ct,iconCls:fn,motionDurationMid:xt,paddingBlock:le,fontSize:ne,dropdownEdgeChildPadding:te,colorTextDisabled:ae,fontSizeIcon:he,controlPaddingHorizontal:re,colorBgElevated:ue}=pe;return[{[Re]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:tn,display:"block","&::before":{position:"absolute",insetBlock:pe.calc(Kt).div(2).sub(rt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ct}-btn`]:{[`& > ${fn}-down, & > ${ct}-btn-icon > ${fn}-down`]:{fontSize:he}},[`${Re}-wrap`]:{position:"relative",[`${ct}-btn > ${fn}-down`]:{fontSize:he},[`${fn}-down::before`]:{transition:`transform ${xt}`}},[`${Re}-wrap-open`]:{[`${fn}-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${Re}-placement-bottomLeft,
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Re}-placement-bottomLeft,
&${ct}-slide-down-enter${ct}-slide-down-enter-active${Re}-placement-bottom,
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Re}-placement-bottom,
&${ct}-slide-down-enter${ct}-slide-down-enter-active${Re}-placement-bottomRight,
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Re}-placement-bottomRight`]:{animationName:Rt.fJ},[`&${ct}-slide-up-enter${ct}-slide-up-enter-active${Re}-placement-topLeft,
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Re}-placement-topLeft,
&${ct}-slide-up-enter${ct}-slide-up-enter-active${Re}-placement-top,
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Re}-placement-top,
&${ct}-slide-up-enter${ct}-slide-up-enter-active${Re}-placement-topRight,
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Re}-placement-topRight`]:{animationName:Rt.Qt},[`&${ct}-slide-down-leave${ct}-slide-down-leave-active${Re}-placement-bottomLeft,
&${ct}-slide-down-leave${ct}-slide-down-leave-active${Re}-placement-bottom,
&${ct}-slide-down-leave${ct}-slide-down-leave-active${Re}-placement-bottomRight`]:{animationName:Rt.Uw},[`&${ct}-slide-up-leave${ct}-slide-up-leave-active${Re}-placement-topLeft,
&${ct}-slide-up-leave${ct}-slide-up-leave-active${Re}-placement-top,
&${ct}-slide-up-leave${ct}-slide-up-leave-active${Re}-placement-topRight`]:{animationName:Rt.ly}}},(0,ut.ZP)(pe,ue,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Re} ${Ue}`]:{position:"relative",margin:0},[`${Ue}-submenu-popup`]:{position:"absolute",zIndex:tn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Re}, ${Re}-menu-submenu`]:Object.assign(Object.assign({},(0,ht.Wf)(pe)),{[Ue]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:ue,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,ht.Qy)(pe)),{"&:empty":{padding:0,boxShadow:"none"},[`${Ue}-item-group-title`]:{padding:`${(0,dt.unit)(le)} ${(0,dt.unit)(re)}`,color:pe.colorTextDescription,transition:`all ${xt}`},[`${Ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Ue}-item-icon`]:{minWidth:ne,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${Ue}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${xt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Ue}-item-extra`]:{paddingInlineStart:pe.padding,marginInlineStart:"auto",fontSize:pe.fontSizeSM,color:pe.colorTextDescription}},[`${Ue}-item, ${Ue}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,dt.unit)(le)} ${(0,dt.unit)(re)}`,color:pe.colorText,fontWeight:"normal",fontSize:ne,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${xt}`,borderRadius:pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:pe.controlItemBgHover}},(0,ht.Qy)(pe)),{"&-selected":{color:pe.colorPrimary,backgroundColor:pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:pe.controlItemBgActiveHover}},"&-disabled":{color:ae,cursor:"not-allowed","&:hover":{color:ae,backgroundColor:ue,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,dt.unit)(pe.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:pe.colorSplit},[`${Re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pe.paddingXS,[`${Re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pe.colorTextDescription,fontSize:he,fontStyle:"normal"}}}),[`${Ue}-item-group-list`]:{margin:`0 ${(0,dt.unit)(pe.marginXS)}`,padding:0,listStyle:"none"},[`${Ue}-submenu-title`]:{paddingInlineEnd:pe.calc(re).add(pe.fontSizeSM).equal()},[`${Ue}-submenu-vertical`]:{position:"relative"},[`${Ue}-submenu${Ue}-submenu-disabled ${Re}-menu-submenu-title`]:{[`&, ${Re}-menu-submenu-arrow-icon`]:{color:ae,backgroundColor:ue,cursor:"not-allowed"}},[`${Ue}-submenu-selected ${Re}-menu-submenu-title`]:{color:pe.colorPrimary}})})},[(0,Rt.oN)(pe,"slide-up"),(0,Rt.oN)(pe,"slide-down"),(0,_e.Fm)(pe,"move-up"),(0,_e.Fm)(pe,"move-down"),(0,lt._y)(pe,"zoom-big")]]},Xe=pe=>Object.assign(Object.assign({zIndexPopup:pe.zIndexPopupBase+50,paddingBlock:(pe.controlHeight-pe.fontSize*pe.lineHeight)/2},(0,ut.wZ)({contentRadius:pe.borderRadiusLG,limitVerticalRadius:!0})),(0,Pe.w)(pe));var Xt=(0,Te.I$)("Dropdown",pe=>{const{marginXXS:Re,sizePopupArrow:Ue,paddingXXS:tn,componentCls:rt}=pe,Kt=(0,we.mergeToken)(pe,{menuCls:`${rt}-menu`,dropdownArrowDistance:pe.calc(Ue).div(2).add(Re).equal(),dropdownEdgeChildPadding:tn});return[We(Kt),Ot(Kt)]},Xe,{resetStyle:!1});const Se=null,ve=pe=>{var Re;const{menu:Ue,arrow:tn,prefixCls:rt,children:Kt,trigger:ct,disabled:fn,dropdownRender:xt,getPopupContainer:le,overlayClassName:ne,rootClassName:te,overlayStyle:ae,open:he,onOpenChange:re,visible:ue,onVisibleChange:De,mouseEnterDelay:st=.15,mouseLeaveDelay:Qe=.1,autoAdjustOverflow:Ie=!0,placement:mt="",overlay:Et,transitionName:Tt}=pe,{getPopupContainer:Le,getPrefixCls:Ye,direction:vn,dropdown:Ht}=b.useContext(at.E_),Cn=(0,ze.ln)("Dropdown"),un=b.useMemo(()=>{const sn=Ye();return Tt!==void 0?Tt:mt.includes("top")?`${sn}-slide-down`:`${sn}-slide-up`},[Ye,mt,Tt]),Ut=b.useMemo(()=>mt?mt.includes("Center")?mt.slice(0,mt.indexOf("Center")):mt:vn==="rtl"?"bottomRight":"bottomLeft",[mt,vn]),on=Ye("dropdown",rt),mn=(0,Nt.Z)(on),[ft,Vt,yn]=Xt(on,mn),[,Ct]=(0,Oe.ZP)(),Je=b.Children.only(be(Kt)?b.createElement("span",null,Kt):Kt),Wt=(0,$e.Tm)(Je,{className:Me()(`${on}-trigger`,{[`${on}-rtl`]:vn==="rtl"},Je.props.className),disabled:(Re=Je.props.disabled)!==null&&Re!==void 0?Re:fn}),qt=fn?[]:ct,ln=!!(qt!=null&&qt.includes("contextMenu")),[Zn,qn]=(0,He.Z)(!1,{value:he!=null?he:ue}),mr=(0,Be.Z)(sn=>{re==null||re(sn,{source:"trigger"}),De==null||De(sn),qn(sn)}),vr=Me()(ne,te,Vt,yn,mn,Ht==null?void 0:Ht.className,{[`${on}-rtl`]:vn==="rtl"}),_n=(0,vt.Z)({arrowPointAtCenter:typeof tn=="object"&&tn.pointAtCenter,autoAdjustOverflow:Ie,offset:Ct.marginXXS,arrowWidth:tn?Ct.sizePopupArrow:0,borderRadius:Ct.borderRadius}),dr=b.useCallback(()=>{Ue!=null&&Ue.selectable&&(Ue!=null&&Ue.multiple)||(re==null||re(!1,{source:"menu"}),qn(!1))},[Ue==null?void 0:Ue.selectable,Ue==null?void 0:Ue.multiple]),Qt=()=>{let sn;return Ue!=null&&Ue.items?sn=b.createElement(jt.default,Object.assign({},Ue)):typeof Et=="function"?sn=Et():sn=Et,xt&&(sn=xt(sn)),sn=b.Children.only(typeof sn=="string"?b.createElement("span",null,sn):sn),b.createElement(se.J,{prefixCls:`${on}-menu`,rootClassName:Me()(yn,mn),expandIcon:b.createElement("span",{className:`${on}-menu-submenu-arrow`},vn==="rtl"?b.createElement(xe.Z,{className:`${on}-menu-submenu-arrow-icon`}):b.createElement(ce.Z,{className:`${on}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:dr,validator:Fn=>{let{mode:St}=Fn}},sn)},[En,pn]=(0,de.Cn)("Dropdown",ae==null?void 0:ae.zIndex);let xn=b.createElement(Ce.Z,Object.assign({alignPoint:ln},(0,Fe.Z)(pe,["rootClassName"]),{mouseEnterDelay:st,mouseLeaveDelay:Qe,visible:Zn,builtinPlacements:_n,arrow:!!tn,overlayClassName:vr,prefixCls:on,getPopupContainer:le||Le,transitionName:un,trigger:qt,overlay:Qt,placement:Ut,onVisibleChange:mr,overlayStyle:Object.assign(Object.assign(Object.assign({},Ht==null?void 0:Ht.style),ae),{zIndex:En})}),Wt);return En&&(xn=b.createElement(je.Z.Provider,{value:pn},xn)),ft(xn)},Mt=(0,et.Z)(ve,"align",void 0,"dropdown",pe=>pe),Jt=pe=>b.createElement(Mt,Object.assign({},pe),b.createElement("span",null));ve._InternalPanelDoNotUseOrYouWillBeFired=Jt;var Zt=ve},75727:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return et}});var b=z(19563),xe=z(59301),ce=z(18785),nt=z(92310),Me=z.n(nt),Ce=z(7939),Be=z(48755),He=z(44104),Fe=z(70045),de=function($e,ze){var je={};for(var at in $e)Object.prototype.hasOwnProperty.call($e,at)&&ze.indexOf(at)<0&&(je[at]=$e[at]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,at=Object.getOwnPropertySymbols($e);Nt<at.length;Nt++)ze.indexOf(at[Nt])<0&&Object.prototype.propertyIsEnumerable.call($e,at[Nt])&&(je[at[Nt]]=$e[at[Nt]]);return je};const Ke=$e=>{const{getPopupContainer:ze,getPrefixCls:je,direction:at}=xe.useContext(Be.E_),{prefixCls:Nt,type:jt="default",danger:se,disabled:Oe,loading:dt,onClick:ht,htmlType:Rt,children:_e,className:lt,menu:ut,arrow:Pe,autoFocus:Te,overlay:we,trigger:me,align:Ot,open:We,onOpenChange:Xe,placement:Xt,getPopupContainer:Se,href:ve,icon:Mt=xe.createElement(ce.Z,null),title:Jt,buttonsRender:Zt=st=>st,mouseEnterDelay:pe,mouseLeaveDelay:Re,overlayClassName:Ue,overlayStyle:tn,destroyPopupOnHide:rt,dropdownRender:Kt}=$e,ct=de($e,["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"]),fn=je("dropdown",Nt),xt=`${fn}-button`,le={menu:ut,arrow:Pe,autoFocus:Te,align:Ot,disabled:Oe,trigger:Oe?[]:me,onOpenChange:Xe,getPopupContainer:Se||ze,mouseEnterDelay:pe,mouseLeaveDelay:Re,overlayClassName:Ue,overlayStyle:tn,destroyPopupOnHide:rt,dropdownRender:Kt},{compactSize:ne,compactItemClassnames:te}=(0,Fe.ri)(fn,at),ae=Me()(xt,te,lt);"overlay"in $e&&(le.overlay=we),"open"in $e&&(le.open=We),"placement"in $e?le.placement=Xt:le.placement=at==="rtl"?"bottomLeft":"bottomRight";const he=xe.createElement(Ce.ZP,{type:jt,danger:se,disabled:Oe,loading:dt,onClick:ht,htmlType:Rt,href:ve,title:Jt},_e),re=xe.createElement(Ce.ZP,{type:jt,danger:se,icon:Mt}),[ue,De]=Zt([he,re]);return xe.createElement(He.Z.Compact,Object.assign({className:ae,size:ne,block:!0},ct),ue,xe.createElement(b.Z,Object.assign({},le),De))};Ke.__ANT_BUTTON=!0;var be=Ke;const vt=b.Z;vt.Button=be;var et=vt},584:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return jt}});var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(9017),Me=z(17835),Ce=z(57700),He=()=>{const[,se]=(0,Ce.ZP)(),[Oe]=(0,nt.Z)("Empty"),ht=new Me.FastColor(se.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:ht,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Oe==null?void 0:Oe.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),b.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),b.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),b.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),b.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},de=()=>{const[,se]=(0,Ce.ZP)(),[Oe]=(0,nt.Z)("Empty"),{colorFill:dt,colorFillTertiary:ht,colorFillQuaternary:Rt,colorBgContainer:_e}=se,{borderColor:lt,shadowColor:ut,contentColor:Pe}=(0,b.useMemo)(()=>({borderColor:new Me.FastColor(dt).onBackground(_e).toHexString(),shadowColor:new Me.FastColor(ht).onBackground(_e).toHexString(),contentColor:new Me.FastColor(Rt).onBackground(_e).toHexString()}),[dt,ht,Rt,_e]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Oe==null?void 0:Oe.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:ut,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:lt},b.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),b.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Pe}))))},Ke=z(16931),be=z(51636);const vt=se=>{const{componentCls:Oe,margin:dt,marginXS:ht,marginXL:Rt,fontSize:_e,lineHeight:lt}=se;return{[Oe]:{marginInline:ht,fontSize:_e,lineHeight:lt,textAlign:"center",[`${Oe}-image`]:{height:se.emptyImgHeight,marginBottom:ht,opacity:se.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Oe}-description`]:{color:se.colorTextDescription},[`${Oe}-footer`]:{marginTop:dt},"&-normal":{marginBlock:Rt,color:se.colorTextDescription,[`${Oe}-description`]:{color:se.colorTextDescription},[`${Oe}-image`]:{height:se.emptyImgHeightMD}},"&-small":{marginBlock:ht,color:se.colorTextDescription,[`${Oe}-image`]:{height:se.emptyImgHeightSM}}}}};var et=(0,Ke.I$)("Empty",se=>{const{componentCls:Oe,controlHeightLG:dt,calc:ht}=se,Rt=(0,be.mergeToken)(se,{emptyImgCls:`${Oe}-img`,emptyImgHeight:ht(dt).mul(2.5).equal(),emptyImgHeightMD:dt,emptyImgHeightSM:ht(dt).mul(.875).equal()});return[vt(Rt)]}),$e=z(48755),ze=function(se,Oe){var dt={};for(var ht in se)Object.prototype.hasOwnProperty.call(se,ht)&&Oe.indexOf(ht)<0&&(dt[ht]=se[ht]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,ht=Object.getOwnPropertySymbols(se);Rt<ht.length;Rt++)Oe.indexOf(ht[Rt])<0&&Object.prototype.propertyIsEnumerable.call(se,ht[Rt])&&(dt[ht[Rt]]=se[ht[Rt]]);return dt};const je=b.createElement(He,null),at=b.createElement(de,null),Nt=se=>{const{className:Oe,rootClassName:dt,prefixCls:ht,image:Rt=je,description:_e,children:lt,imageStyle:ut,style:Pe,classNames:Te,styles:we}=se,me=ze(se,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ot,direction:We,className:Xe,style:Xt,classNames:Se,styles:ve}=(0,$e.dj)("empty"),Mt=Ot("empty",ht),[Jt,Zt,pe]=et(Mt),[Re]=(0,nt.Z)("Empty"),Ue=typeof _e!="undefined"?_e:Re==null?void 0:Re.description,tn=typeof Ue=="string"?Ue:"empty";let rt=null;return typeof Rt=="string"?rt=b.createElement("img",{alt:tn,src:Rt}):rt=Rt,Jt(b.createElement("div",Object.assign({className:ce()(Zt,pe,Mt,Xe,{[`${Mt}-normal`]:Rt===at,[`${Mt}-rtl`]:We==="rtl"},Oe,dt,Se.root,Te==null?void 0:Te.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},ve.root),Xt),we==null?void 0:we.root),Pe)},me),b.createElement("div",{className:ce()(`${Mt}-image`,Se.image,Te==null?void 0:Te.image),style:Object.assign(Object.assign(Object.assign({},ut),ve.image),we==null?void 0:we.image)},rt),Ue&&b.createElement("div",{className:ce()(`${Mt}-description`,Se.description,Te==null?void 0:Te.description),style:Object.assign(Object.assign({},ve.description),we==null?void 0:we.description)},Ue),lt&&b.createElement("div",{className:ce()(`${Mt}-footer`,Se.footer,Te==null?void 0:Te.footer),style:Object.assign(Object.assign({},ve.footer),we==null?void 0:we.footer)},lt)))};Nt.PRESENTED_IMAGE_DEFAULT=je,Nt.PRESENTED_IMAGE_SIMPLE=at;var jt=Nt},28284:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return Gt}});var b=z(56553),xe=z(94480),ce=z(59301),nt=z(92310),Me=z.n(nt),Ce=z(77900),Be=z(86641),He=z(83397);function Fe(Ze){const[gt,Ve]=ce.useState(Ze);return ce.useEffect(()=>{const yt=setTimeout(()=>{Ve(Ze)},Ze.length?0:10);return()=>{clearTimeout(yt)}},[Ze]),gt}var de=z(36237),Ke=z(63356),be=z(34925),vt=z(34961),et=z(51636),$e=z(16931),je=Ze=>{const{componentCls:gt}=Ze,Ve=`${gt}-show-help`,yt=`${gt}-show-help-item`;return{[Ve]:{transition:`opacity ${Ze.motionDurationFast} ${Ze.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[yt]:{overflow:"hidden",transition:`height ${Ze.motionDurationFast} ${Ze.motionEaseInOut},
opacity ${Ze.motionDurationFast} ${Ze.motionEaseInOut},
transform ${Ze.motionDurationFast} ${Ze.motionEaseInOut} !important`,[`&${yt}-appear, &${yt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${yt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const at=Ze=>({legend:{display:"block",width:"100%",marginBottom:Ze.marginLG,padding:0,color:Ze.colorTextDescription,fontSize:Ze.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,de.unit)(Ze.lineWidth)} ${Ze.lineType} ${Ze.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,de.unit)(Ze.controlOutlineWidth)} ${Ze.controlOutline}`},output:{display:"block",paddingTop:15,color:Ze.colorText,fontSize:Ze.fontSize,lineHeight:Ze.lineHeight}}),Nt=(Ze,gt)=>{const{formItemCls:Ve}=Ze;return{[Ve]:{[`${Ve}-label > label`]:{height:gt},[`${Ve}-control-input`]:{minHeight:gt}}}},jt=Ze=>{const{componentCls:gt}=Ze;return{[Ze.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(Ze)),at(Ze)),{[`${gt}-text`]:{display:"inline-block",paddingInlineEnd:Ze.paddingSM},"&-small":Object.assign({},Nt(Ze,Ze.controlHeightSM)),"&-large":Object.assign({},Nt(Ze,Ze.controlHeightLG))})}},se=Ze=>{const{formItemCls:gt,iconCls:Ve,rootPrefixCls:yt,antCls:_t,labelRequiredMarkColor:rr,labelColor:ar,labelFontSize:pt,labelHeight:bt,labelColonMarginInlineStart:Pt,labelColonMarginInlineEnd:zt,itemMarginBottom:Bn}=Ze;return{[gt]:Object.assign(Object.assign({},(0,Ke.Wf)(Ze)),{marginBottom:Bn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${_t}-row`]:{display:"none"},"&-has-warning":{[`${gt}-split`]:{color:Ze.colorError}},"&-has-error":{[`${gt}-split`]:{color:Ze.colorWarning}},[`${gt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Ze.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:bt,color:ar,fontSize:pt,[`> ${Ve}`]:{fontSize:Ze.fontSize,verticalAlign:"top"},[`&${gt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Ze.marginXXS,color:rr,fontSize:Ze.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${gt}-required-mark-hidden, &${gt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${gt}-optional`]:{display:"inline-block",marginInlineStart:Ze.marginXXS,color:Ze.colorTextDescription,[`&${gt}-required-mark-hidden`]:{display:"none"}},[`${gt}-tooltip`]:{color:Ze.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ze.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Pt,marginInlineEnd:zt},[`&${gt}-no-colon::after`]:{content:'"\\a0"'}}},[`${gt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${yt}-col-'"]):not([class*="' ${yt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ze.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[gt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Ze.colorTextDescription,fontSize:Ze.fontSize,lineHeight:Ze.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ze.controlHeightSM,transition:`color ${Ze.motionDurationMid} ${Ze.motionEaseOut}`},"&-explain":{"&-error":{color:Ze.colorError},"&-warning":{color:Ze.colorWarning}}},[`&-with-help ${gt}-explain`]:{height:"auto",opacity:1},[`${gt}-feedback-icon`]:{fontSize:Ze.fontSize,textAlign:"center",visibility:"visible",animationName:be.kr,animationDuration:Ze.motionDurationMid,animationTimingFunction:Ze.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ze.colorSuccess},"&-error":{color:Ze.colorError},"&-warning":{color:Ze.colorWarning},"&-validating":{color:Ze.colorPrimary}}})}},Oe=(Ze,gt)=>{const{formItemCls:Ve}=Ze;return{[`${gt}-horizontal`]:{[`${Ve}-label`]:{flexGrow:0},[`${Ve}-control`]:{flex:"1 1 0",minWidth:0},[`${Ve}-label[class$='-24'], ${Ve}-label[class*='-24 ']`]:{[`& + ${Ve}-control`]:{minWidth:"unset"}}}}},dt=Ze=>{const{componentCls:gt,formItemCls:Ve,inlineItemMarginBottom:yt}=Ze;return{[`${gt}-inline`]:{display:"flex",flexWrap:"wrap",[Ve]:{flex:"none",marginInlineEnd:Ze.margin,marginBottom:yt,"&-row":{flexWrap:"nowrap"},[`> ${Ve}-label,
> ${Ve}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Ve}-label`]:{flex:"none"},[`${gt}-text`]:{display:"inline-block"},[`${Ve}-has-feedback`]:{display:"inline-block"}}}}},ht=Ze=>({padding:Ze.verticalLabelPadding,margin:Ze.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Rt=Ze=>{const{componentCls:gt,formItemCls:Ve,rootPrefixCls:yt}=Ze;return{[`${Ve} ${Ve}-label`]:ht(Ze),[`${gt}:not(${gt}-inline)`]:{[Ve]:{flexWrap:"wrap",[`${Ve}-label, ${Ve}-control`]:{[`&:not([class*=" ${yt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},_e=Ze=>{const{componentCls:gt,formItemCls:Ve,antCls:yt}=Ze;return{[`${gt}-vertical`]:{[`${Ve}:not(${Ve}-horizontal)`]:{[`${Ve}-row`]:{flexDirection:"column"},[`${Ve}-label > label`]:{height:"auto"},[`${Ve}-control`]:{width:"100%"},[`${Ve}-label,
${yt}-col-24${Ve}-label,
${yt}-col-xl-24${Ve}-label`]:ht(Ze)}},[`@media (max-width: ${(0,de.unit)(Ze.screenXSMax)})`]:[Rt(Ze),{[gt]:{[`${Ve}:not(${Ve}-horizontal)`]:{[`${yt}-col-xs-24${Ve}-label`]:ht(Ze)}}}],[`@media (max-width: ${(0,de.unit)(Ze.screenSMMax)})`]:{[gt]:{[`${Ve}:not(${Ve}-horizontal)`]:{[`${yt}-col-sm-24${Ve}-label`]:ht(Ze)}}},[`@media (max-width: ${(0,de.unit)(Ze.screenMDMax)})`]:{[gt]:{[`${Ve}:not(${Ve}-horizontal)`]:{[`${yt}-col-md-24${Ve}-label`]:ht(Ze)}}},[`@media (max-width: ${(0,de.unit)(Ze.screenLGMax)})`]:{[gt]:{[`${Ve}:not(${Ve}-horizontal)`]:{[`${yt}-col-lg-24${Ve}-label`]:ht(Ze)}}}}},lt=Ze=>{const{formItemCls:gt,antCls:Ve}=Ze;return{[`${gt}-vertical`]:{[`${gt}-row`]:{flexDirection:"column"},[`${gt}-label > label`]:{height:"auto"},[`${gt}-control`]:{width:"100%"}},[`${gt}-vertical ${gt}-label,
${Ve}-col-24${gt}-label,
${Ve}-col-xl-24${gt}-label`]:ht(Ze),[`@media (max-width: ${(0,de.unit)(Ze.screenXSMax)})`]:[Rt(Ze),{[gt]:{[`${Ve}-col-xs-24${gt}-label`]:ht(Ze)}}],[`@media (max-width: ${(0,de.unit)(Ze.screenSMMax)})`]:{[gt]:{[`${Ve}-col-sm-24${gt}-label`]:ht(Ze)}},[`@media (max-width: ${(0,de.unit)(Ze.screenMDMax)})`]:{[gt]:{[`${Ve}-col-md-24${gt}-label`]:ht(Ze)}},[`@media (max-width: ${(0,de.unit)(Ze.screenLGMax)})`]:{[gt]:{[`${Ve}-col-lg-24${gt}-label`]:ht(Ze)}}}},ut=Ze=>({labelRequiredMarkColor:Ze.colorError,labelColor:Ze.colorTextHeading,labelFontSize:Ze.fontSize,labelHeight:Ze.controlHeight,labelColonMarginInlineStart:Ze.marginXXS/2,labelColonMarginInlineEnd:Ze.marginXS,itemMarginBottom:Ze.marginLG,verticalLabelPadding:`0 0 ${Ze.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Pe=(Ze,gt)=>(0,et.mergeToken)(Ze,{formItemCls:`${Ze.componentCls}-item`,rootPrefixCls:gt});var Te=(0,$e.I$)("Form",(Ze,gt)=>{let{rootPrefixCls:Ve}=gt;const yt=Pe(Ze,Ve);return[jt(yt),se(yt),je(yt),Oe(yt,yt.componentCls),Oe(yt,yt.formItemCls),dt(yt),_e(yt),lt(yt),(0,vt.Z)(yt),be.kr]},ut,{order:-1e3});const we=[];function me(Ze,gt,Ve){let yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ze=="string"?Ze:`${gt}-${yt}`,error:Ze,errorStatus:Ve}}var We=Ze=>{let{help:gt,helpStatus:Ve,errors:yt=we,warnings:_t=we,className:rr,fieldId:ar,onVisibleChanged:pt}=Ze;const{prefixCls:bt}=ce.useContext(b.Rk),Pt=`${bt}-item-explain`,zt=(0,He.Z)(bt),[Bn,Hn,Rn]=Te(bt,zt),Un=ce.useMemo(()=>(0,Be.Z)(bt),[bt]),pr=Fe(yt),Ar=Fe(_t),Vr=ce.useMemo(()=>gt!=null?[me(gt,"help",Ve)]:[].concat((0,xe.Z)(pr.map((Pr,kr)=>me(Pr,"error","error",kr))),(0,xe.Z)(Ar.map((Pr,kr)=>me(Pr,"warning","warning",kr)))),[gt,Ve,pr,Ar]),Br=ce.useMemo(()=>{const Pr={};return Vr.forEach(kr=>{let{key:$r}=kr;Pr[$r]=(Pr[$r]||0)+1}),Vr.map((kr,$r)=>Object.assign(Object.assign({},kr),{key:Pr[kr.key]>1?`${kr.key}-fallback-${$r}`:kr.key}))},[Vr]),fr={};return ar&&(fr.id=`${ar}_help`),Bn(ce.createElement(Ce.default,{motionDeadline:Un.motionDeadline,motionName:`${bt}-show-help`,visible:!!Br.length,onVisibleChanged:pt},Pr=>{const{className:kr,style:$r}=Pr;return ce.createElement("div",Object.assign({},fr,{className:Me()(Pt,kr,Rn,zt,rr,Hn),style:$r}),ce.createElement(Ce.CSSMotionList,Object.assign({keys:Br},(0,Be.Z)(bt),{motionName:`${bt}-show-help-item`,component:!1}),Xr=>{const{key:mi,error:yr,errorStatus:ur,className:gr,style:ni}=Xr;return ce.createElement("div",{key:mi,className:Me()(gr,{[`${Pt}-${ur}`]:ur}),style:ni},yr)}))}))},Xe=z(22001),Xt=z(48755),Se=z(2171),ve=z(31756),Mt=z(23069),Jt=z(76846),Zt=z(16722);const pe=["parentNode"],Re="form_item";function Ue(Ze){return Ze===void 0||Ze===!1?[]:Array.isArray(Ze)?Ze:[Ze]}function tn(Ze,gt){if(!Ze.length)return;const Ve=Ze.join("_");return gt?`${gt}_${Ve}`:pe.includes(Ve)?`${Re}_${Ve}`:Ve}function rt(Ze,gt,Ve,yt,_t,rr){let ar=yt;return rr!==void 0?ar=rr:Ve.validating?ar="validating":Ze.length?ar="error":gt.length?ar="warning":(Ve.touched||_t&&Ve.validated)&&(ar="success"),ar}var Kt=function(Ze,gt){var Ve={};for(var yt in Ze)Object.prototype.hasOwnProperty.call(Ze,yt)&&gt.indexOf(yt)<0&&(Ve[yt]=Ze[yt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,yt=Object.getOwnPropertySymbols(Ze);_t<yt.length;_t++)gt.indexOf(yt[_t])<0&&Object.prototype.propertyIsEnumerable.call(Ze,yt[_t])&&(Ve[yt[_t]]=Ze[yt[_t]]);return Ve};function ct(Ze){return Ue(Ze).join("_")}function fn(Ze,gt){const Ve=gt.getFieldInstance(Ze),yt=(0,Jt.bn)(Ve);if(yt)return yt;const _t=tn(Ue(Ze),gt.__INTERNAL__.name);if(_t)return document.getElementById(_t)}function xt(Ze){const[gt]=(0,Xe.useForm)(),Ve=ce.useRef({}),yt=ce.useMemo(()=>Ze!=null?Ze:Object.assign(Object.assign({},gt),{__INTERNAL__:{itemRef:_t=>rr=>{const ar=ct(_t);rr?Ve.current[ar]=rr:delete Ve.current[ar]}},scrollToField:function(_t){let rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:ar}=rr,pt=Kt(rr,["focus"]),bt=fn(_t,yt);bt&&((0,Zt.Z)(bt,Object.assign({scrollMode:"if-needed",block:"nearest"},pt)),ar&&yt.focusField(_t))},focusField:_t=>{var rr,ar;const pt=yt.getFieldInstance(_t);typeof(pt==null?void 0:pt.focus)=="function"?pt.focus():(ar=(rr=fn(_t,yt))===null||rr===void 0?void 0:rr.focus)===null||ar===void 0||ar.call(rr)},getFieldInstance:_t=>{const rr=ct(_t);return Ve.current[rr]}}),[Ze,gt]);return[yt]}var le=z(98350),ne=function(Ze,gt){var Ve={};for(var yt in Ze)Object.prototype.hasOwnProperty.call(Ze,yt)&&gt.indexOf(yt)<0&&(Ve[yt]=Ze[yt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,yt=Object.getOwnPropertySymbols(Ze);_t<yt.length;_t++)gt.indexOf(yt[_t])<0&&Object.prototype.propertyIsEnumerable.call(Ze,yt[_t])&&(Ve[yt[_t]]=Ze[yt[_t]]);return Ve};const te=(Ze,gt)=>{const Ve=ce.useContext(Se.Z),{getPrefixCls:yt,direction:_t,requiredMark:rr,colon:ar,scrollToFirstError:pt,className:bt,style:Pt}=(0,Xt.dj)("form"),{prefixCls:zt,className:Bn,rootClassName:Hn,size:Rn,disabled:Un=Ve,form:pr,colon:Ar,labelAlign:Vr,labelWrap:Br,labelCol:fr,wrapperCol:Pr,hideRequiredMark:kr,layout:$r="horizontal",scrollToFirstError:Xr,requiredMark:mi,onFinishFailed:yr,name:ur,style:gr,feedbackIcons:ni,variant:Kr}=Ze,wr=ne(Ze,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Rr=(0,ve.Z)(Rn),hi=ce.useContext(le.Z),Qr=ce.useMemo(()=>mi!==void 0?mi:kr?!1:rr!==void 0?rr:!0,[kr,mi,rr]),qr=Ar!=null?Ar:ar,ei=yt("form",zt),Ni=(0,He.Z)(ei),[$i,_i,ki]=Te(ei,Ni),io=Me()(ei,`${ei}-${$r}`,{[`${ei}-hide-required-mark`]:Qr===!1,[`${ei}-rtl`]:_t==="rtl",[`${ei}-${Rr}`]:Rr},ki,Ni,_i,bt,Bn,Hn),[ke]=xt(pr),{__INTERNAL__:tt}=ke;tt.name=ur;const Ft=ce.useMemo(()=>({name:ur,labelAlign:Vr,labelCol:fr,labelWrap:Br,wrapperCol:Pr,vertical:$r==="vertical",colon:qr,requiredMark:Qr,itemRef:tt.itemRef,form:ke,feedbackIcons:ni}),[ur,Vr,fr,Pr,$r,qr,Qr,ke,ni]),an=ce.useRef(null);ce.useImperativeHandle(gt,()=>{var it;return Object.assign(Object.assign({},ke),{nativeElement:(it=an.current)===null||it===void 0?void 0:it.nativeElement})});const cn=(it,It)=>{if(it){let $t={block:"nearest"};typeof it=="object"&&($t=Object.assign(Object.assign({},$t),it)),ke.scrollToField(It,$t)}},Lt=it=>{if(yr==null||yr(it),it.errorFields.length){const It=it.errorFields[0].name;if(Xr!==void 0){cn(Xr,It);return}pt!==void 0&&cn(pt,It)}};return $i(ce.createElement(b.pg.Provider,{value:Kr},ce.createElement(Se.n,{disabled:Un},ce.createElement(Mt.Z.Provider,{value:Rr},ce.createElement(b.RV,{validateMessages:hi},ce.createElement(b.q3.Provider,{value:Ft},ce.createElement(Xe.default,Object.assign({id:ur},wr,{name:ur,onFinishFailed:Lt,form:ke,ref:an,style:Object.assign(Object.assign({},Pt),gr),className:io}))))))))};var he=ce.forwardRef(te),re=z(41799),ue=z(8654),De=z(22703),st=z(32383),Qe=z(11592);function Ie(Ze){if(typeof Ze=="function")return Ze;const gt=(0,Qe.Z)(Ze);return gt.length<=1?gt[0]:gt}const mt=()=>{const{status:Ze,errors:gt=[],warnings:Ve=[]}=ce.useContext(b.aM);return{status:Ze,errors:gt,warnings:Ve}};mt.Context=b.aM;var Et=mt,Tt=z(16089);function Le(Ze){const[gt,Ve]=ce.useState(Ze),yt=ce.useRef(null),_t=ce.useRef([]),rr=ce.useRef(!1);ce.useEffect(()=>(rr.current=!1,()=>{rr.current=!0,Tt.Z.cancel(yt.current),yt.current=null}),[]);function ar(pt){rr.current||(yt.current===null&&(_t.current=[],yt.current=(0,Tt.Z)(()=>{yt.current=null,Ve(bt=>{let Pt=bt;return _t.current.forEach(zt=>{Pt=zt(Pt)}),Pt})})),_t.current.push(pt))}return[gt,ar]}function Ye(){const{itemRef:Ze}=ce.useContext(b.q3),gt=ce.useRef({});function Ve(yt,_t){const rr=_t&&typeof _t=="object"&&(0,ue.C4)(_t),ar=yt.join("_");return(gt.current.name!==ar||gt.current.originRef!==rr)&&(gt.current.name=ar,gt.current.originRef=rr,gt.current.ref=(0,ue.sQ)(Ze(yt),rr)),gt.current.ref}return Ve}var vn=z(29194),Ht=z(34280),Cn=z(2738),un=z(65970),Ut=z(70425),on=z(5472);const mn=Ze=>{const{formItemCls:gt}=Ze;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${gt}-control`]:{display:"flex"}}}};var ft=(0,$e.bk)(["Form","item-item"],(Ze,gt)=>{let{rootPrefixCls:Ve}=gt;const yt=Pe(Ze,Ve);return[mn(yt)]}),Vt=function(Ze,gt){var Ve={};for(var yt in Ze)Object.prototype.hasOwnProperty.call(Ze,yt)&&gt.indexOf(yt)<0&&(Ve[yt]=Ze[yt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,yt=Object.getOwnPropertySymbols(Ze);_t<yt.length;_t++)gt.indexOf(yt[_t])<0&&Object.prototype.propertyIsEnumerable.call(Ze,yt[_t])&&(Ve[yt[_t]]=Ze[yt[_t]]);return Ve};const yn=24;var Je=Ze=>{const{prefixCls:gt,status:Ve,labelCol:yt,wrapperCol:_t,children:rr,errors:ar,warnings:pt,_internalItemRender:bt,extra:Pt,help:zt,fieldId:Bn,marginBottom:Hn,onErrorVisibleChanged:Rn,label:Un}=Ze,pr=`${gt}-item`,Ar=ce.useContext(b.q3),Vr=ce.useMemo(()=>{let wr=Object.assign({},_t||Ar.wrapperCol||{});return Un===null&&!yt&&!_t&&Ar.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(hi=>{const Qr=hi?[hi]:[],qr=(0,Ut.U2)(Ar.labelCol,Qr),ei=typeof qr=="object"?qr:{},Ni=(0,Ut.U2)(wr,Qr),$i=typeof Ni=="object"?Ni:{};"span"in ei&&!("offset"in $i)&&ei.span<yn&&(wr=(0,Ut.t8)(wr,[].concat(Qr,["offset"]),ei.span))}),wr},[_t,Ar]),Br=Me()(`${pr}-control`,Vr.className),fr=ce.useMemo(()=>{const{labelCol:wr,wrapperCol:Rr}=Ar;return Vt(Ar,["labelCol","wrapperCol"])},[Ar]),Pr=ce.useRef(null),[kr,$r]=ce.useState(0);(0,Ht.Z)(()=>{Pt&&Pr.current?$r(Pr.current.clientHeight):$r(0)},[Pt]);const Xr=ce.createElement("div",{className:`${pr}-control-input`},ce.createElement("div",{className:`${pr}-control-input-content`},rr)),mi=ce.useMemo(()=>({prefixCls:gt,status:Ve}),[gt,Ve]),yr=Hn!==null||ar.length||pt.length?ce.createElement(b.Rk.Provider,{value:mi},ce.createElement(We,{fieldId:Bn,errors:ar,warnings:pt,help:zt,helpStatus:Ve,className:`${pr}-explain-connected`,onVisibleChanged:Rn})):null,ur={};Bn&&(ur.id=`${Bn}_extra`);const gr=Pt?ce.createElement("div",Object.assign({},ur,{className:`${pr}-extra`,ref:Pr}),Pt):null,ni=yr||gr?ce.createElement("div",{className:`${pr}-additional`,style:Hn?{minHeight:Hn+kr}:{}},yr,gr):null,Kr=bt&&bt.mark==="pro_table_render"&&bt.render?bt.render(Ze,{input:Xr,errorList:yr,extra:gr}):ce.createElement(ce.Fragment,null,Xr,ni);return ce.createElement(b.q3.Provider,{value:fr},ce.createElement(on.Z,Object.assign({},Vr,{className:Br}),Kr),ce.createElement(ft,{prefixCls:gt}))},Wt=z(61485),qt=z(9017),ln=z(85981),Zn=z(25399),qn=function(Ze,gt){var Ve={};for(var yt in Ze)Object.prototype.hasOwnProperty.call(Ze,yt)&&gt.indexOf(yt)<0&&(Ve[yt]=Ze[yt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,yt=Object.getOwnPropertySymbols(Ze);_t<yt.length;_t++)gt.indexOf(yt[_t])<0&&Object.prototype.propertyIsEnumerable.call(Ze,yt[_t])&&(Ve[yt[_t]]=Ze[yt[_t]]);return Ve};function mr(Ze){return Ze?typeof Ze=="object"&&!ce.isValidElement(Ze)?Ze:{title:Ze}:null}var _n=Ze=>{let{prefixCls:gt,label:Ve,htmlFor:yt,labelCol:_t,labelAlign:rr,colon:ar,required:pt,requiredMark:bt,tooltip:Pt,vertical:zt}=Ze;var Bn;const[Hn]=(0,qt.Z)("Form"),{labelAlign:Rn,labelCol:Un,labelWrap:pr,colon:Ar}=ce.useContext(b.q3);if(!Ve)return null;const Vr=_t||Un||{},Br=rr||Rn,fr=`${gt}-item-label`,Pr=Me()(fr,Br==="left"&&`${fr}-left`,Vr.className,{[`${fr}-wrap`]:!!pr});let kr=Ve;const $r=ar===!0||Ar!==!1&&ar!==!1;$r&&!zt&&typeof Ve=="string"&&Ve.trim()&&(kr=Ve.replace(/[:|]\s*$/,""));const mi=mr(Pt);if(mi){const{icon:wr=ce.createElement(Wt.Z,null)}=mi,Rr=qn(mi,["icon"]),hi=ce.createElement(Zn.Z,Object.assign({},Rr),ce.cloneElement(wr,{className:`${gt}-item-tooltip`,title:"",onClick:Qr=>{Qr.preventDefault()},tabIndex:null}));kr=ce.createElement(ce.Fragment,null,kr,hi)}const yr=bt==="optional",ur=typeof bt=="function",gr=bt===!1;ur?kr=bt(kr,{required:!!pt}):yr&&!pt&&(kr=ce.createElement(ce.Fragment,null,kr,ce.createElement("span",{className:`${gt}-item-optional`,title:""},(Hn==null?void 0:Hn.optional)||((Bn=ln.Z.Form)===null||Bn===void 0?void 0:Bn.optional))));let ni;gr?ni="hidden":(yr||ur)&&(ni="optional");const Kr=Me()({[`${gt}-item-required`]:pt,[`${gt}-item-required-mark-${ni}`]:ni,[`${gt}-item-no-colon`]:!$r});return ce.createElement(on.Z,Object.assign({},Vr,{className:Pr}),ce.createElement("label",{htmlFor:yt,className:Kr,title:typeof Ve=="string"?Ve:""},kr))},dr=z(29679),Qt=z(19248),En=z(96512),pn=z(58617);const xn={success:dr.Z,warning:En.Z,error:Qt.Z,validating:pn.Z};function sn(Ze){let{children:gt,errors:Ve,warnings:yt,hasFeedback:_t,validateStatus:rr,prefixCls:ar,meta:pt,noStyle:bt}=Ze;const Pt=`${ar}-item`,{feedbackIcons:zt}=ce.useContext(b.q3),Bn=rt(Ve,yt,pt,null,!!_t,rr),{isFormItemInput:Hn,status:Rn,hasFeedback:Un,feedbackIcon:pr}=ce.useContext(b.aM),Ar=ce.useMemo(()=>{var Vr;let Br;if(_t){const Pr=_t!==!0&&_t.icons||zt,kr=Bn&&((Vr=Pr==null?void 0:Pr({status:Bn,errors:Ve,warnings:yt}))===null||Vr===void 0?void 0:Vr[Bn]),$r=Bn&&xn[Bn];Br=kr!==!1&&$r?ce.createElement("span",{className:Me()(`${Pt}-feedback-icon`,`${Pt}-feedback-icon-${Bn}`)},kr||ce.createElement($r,null)):null}const fr={status:Bn||"",errors:Ve,warnings:yt,hasFeedback:!!_t,feedbackIcon:Br,isFormItemInput:!0};return bt&&(fr.status=(Bn!=null?Bn:Rn)||"",fr.isFormItemInput=Hn,fr.hasFeedback=!!(_t!=null?_t:Un),fr.feedbackIcon=_t!==void 0?fr.feedbackIcon:pr),fr},[Bn,_t,bt,Hn,Rn]);return ce.createElement(b.aM.Provider,{value:Ar},gt)}var Fn=function(Ze,gt){var Ve={};for(var yt in Ze)Object.prototype.hasOwnProperty.call(Ze,yt)&&gt.indexOf(yt)<0&&(Ve[yt]=Ze[yt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,yt=Object.getOwnPropertySymbols(Ze);_t<yt.length;_t++)gt.indexOf(yt[_t])<0&&Object.prototype.propertyIsEnumerable.call(Ze,yt[_t])&&(Ve[yt[_t]]=Ze[yt[_t]]);return Ve};function St(Ze){const{prefixCls:gt,className:Ve,rootClassName:yt,style:_t,help:rr,errors:ar,warnings:pt,validateStatus:bt,meta:Pt,hasFeedback:zt,hidden:Bn,children:Hn,fieldId:Rn,required:Un,isRequired:pr,onSubItemMetaChange:Ar,layout:Vr}=Ze,Br=Fn(Ze,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),fr=`${gt}-item`,{requiredMark:Pr,vertical:kr}=ce.useContext(b.q3),$r=kr||Vr==="vertical",Xr=ce.useRef(null),mi=Fe(ar),yr=Fe(pt),ur=rr!=null,gr=!!(ur||ar.length||pt.length),ni=!!Xr.current&&(0,vn.Z)(Xr.current),[Kr,wr]=ce.useState(null);(0,Ht.Z)(()=>{if(gr&&Xr.current){const ei=getComputedStyle(Xr.current);wr(parseInt(ei.marginBottom,10))}},[gr,ni]);const Rr=ei=>{ei||wr(null)},Qr=function(){let ei=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Ni=ei?mi:Pt.errors,$i=ei?yr:Pt.warnings;return rt(Ni,$i,Pt,"",!!zt,bt)}(),qr=Me()(fr,Ve,yt,{[`${fr}-with-help`]:ur||mi.length||yr.length,[`${fr}-has-feedback`]:Qr&&zt,[`${fr}-has-success`]:Qr==="success",[`${fr}-has-warning`]:Qr==="warning",[`${fr}-has-error`]:Qr==="error",[`${fr}-is-validating`]:Qr==="validating",[`${fr}-hidden`]:Bn,[`${fr}-${Vr}`]:Vr});return ce.createElement("div",{className:qr,style:_t,ref:Xr},ce.createElement(un.Z,Object.assign({className:`${fr}-row`},(0,Cn.Z)(Br,["_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"])),ce.createElement(_n,Object.assign({htmlFor:Rn},Ze,{requiredMark:Pr,required:Un!=null?Un:pr,prefixCls:gt,vertical:$r})),ce.createElement(Je,Object.assign({},Ze,Pt,{errors:mi,warnings:yr,prefixCls:gt,status:Qr,help:rr,marginBottom:Kr,onErrorVisibleChanged:Rr}),ce.createElement(b.qI.Provider,{value:Ar},ce.createElement(sn,{prefixCls:gt,meta:Pt,errors:Pt.errors,warnings:Pt.warnings,hasFeedback:zt,validateStatus:Qr},Hn)))),!!Kr&&ce.createElement("div",{className:`${fr}-margin-offset`,style:{marginBottom:-Kr}}))}const Sn="__SPLIT__",Bt=null;function hn(Ze,gt){const Ve=Object.keys(Ze),yt=Object.keys(gt);return Ve.length===yt.length&&Ve.every(_t=>{const rr=Ze[_t],ar=gt[_t];return rr===ar||typeof rr=="function"||typeof ar=="function"})}const An=ce.memo(Ze=>{let{children:gt}=Ze;return gt},(Ze,gt)=>hn(Ze.control,gt.control)&&Ze.update===gt.update&&Ze.childProps.length===gt.childProps.length&&Ze.childProps.every((Ve,yt)=>Ve===gt.childProps[yt]));function On(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Ln(Ze){const{name:gt,noStyle:Ve,className:yt,dependencies:_t,prefixCls:rr,shouldUpdate:ar,rules:pt,children:bt,required:Pt,label:zt,messageVariables:Bn,trigger:Hn="onChange",validateTrigger:Rn,hidden:Un,help:pr,layout:Ar}=Ze,{getPrefixCls:Vr}=ce.useContext(Xt.E_),{name:Br}=ce.useContext(b.q3),fr=Ie(bt),Pr=typeof fr=="function",kr=ce.useContext(b.qI),{validateTrigger:$r}=ce.useContext(Xe.FieldContext),Xr=Rn!==void 0?Rn:$r,mi=gt!=null,yr=Vr("form",rr),ur=(0,He.Z)(yr),[gr,ni,Kr]=Te(yr,ur),wr=(0,st.ln)("Form.Item"),Rr=ce.useContext(Xe.ListContext),hi=ce.useRef(null),[Qr,qr]=Le({}),[ei,Ni]=(0,re.Z)(()=>On()),$i=an=>{const cn=Rr==null?void 0:Rr.getKey(an.name);if(Ni(an.destroy?On():an,!0),Ve&&pr!==!1&&kr){let Lt=an.name;if(an.destroy)Lt=hi.current||Lt;else if(cn!==void 0){const[it,It]=cn;Lt=[it].concat((0,xe.Z)(It)),hi.current=Lt}kr(an,Lt)}},_i=(an,cn)=>{qr(Lt=>{const it=Object.assign({},Lt),$t=[].concat((0,xe.Z)(an.name.slice(0,-1)),(0,xe.Z)(cn)).join(Sn);return an.destroy?delete it[$t]:it[$t]=an,it})},[ki,io]=ce.useMemo(()=>{const an=(0,xe.Z)(ei.errors),cn=(0,xe.Z)(ei.warnings);return Object.values(Qr).forEach(Lt=>{an.push.apply(an,(0,xe.Z)(Lt.errors||[])),cn.push.apply(cn,(0,xe.Z)(Lt.warnings||[]))}),[an,cn]},[Qr,ei.errors,ei.warnings]),ke=Ye();function tt(an,cn,Lt){return Ve&&!Un?ce.createElement(sn,{prefixCls:yr,hasFeedback:Ze.hasFeedback,validateStatus:Ze.validateStatus,meta:ei,errors:ki,warnings:io,noStyle:!0},an):ce.createElement(St,Object.assign({key:"row"},Ze,{className:Me()(yt,Kr,ur,ni),prefixCls:yr,fieldId:cn,isRequired:Lt,errors:ki,warnings:io,meta:ei,onSubItemMetaChange:_i,layout:Ar}),an)}if(!mi&&!Pr&&!_t)return gr(tt(fr));let Ft={};return typeof zt=="string"?Ft.label=zt:gt&&(Ft.label=String(gt)),Bn&&(Ft=Object.assign(Object.assign({},Ft),Bn)),gr(ce.createElement(Xe.Field,Object.assign({},Ze,{messageVariables:Ft,trigger:Hn,validateTrigger:Xr,onMetaChange:$i}),(an,cn,Lt)=>{const it=Ue(gt).length&&cn?cn.name:[],It=tn(it,Br),$t=Pt!==void 0?Pt:!!(pt!=null&&pt.some(Dn=>{if(Dn&&typeof Dn=="object"&&Dn.required&&!Dn.warningOnly)return!0;if(typeof Dn=="function"){const jn=Dn(Lt);return(jn==null?void 0:jn.required)&&!(jn!=null&&jn.warningOnly)}return!1})),Nn=Object.assign({},an);let zn=null;if(Array.isArray(fr)&&mi)zn=fr;else if(!(Pr&&(!(ar||_t)||mi))){if(!(_t&&!Pr&&!mi))if(ce.isValidElement(fr)){const Dn=Object.assign(Object.assign({},fr.props),Nn);if(Dn.id||(Dn.id=It),pr||ki.length>0||io.length>0||Ze.extra){const Cr=[];(pr||ki.length>0)&&Cr.push(`${It}_help`),Ze.extra&&Cr.push(`${It}_extra`),Dn["aria-describedby"]=Cr.join(" ")}ki.length>0&&(Dn["aria-invalid"]="true"),$t&&(Dn["aria-required"]="true"),(0,ue.Yr)(fr)&&(Dn.ref=ke(it,fr)),new Set([].concat((0,xe.Z)(Ue(Hn)),(0,xe.Z)(Ue(Xr)))).forEach(Cr=>{Dn[Cr]=function(){for(var br,Wr,Jr,gi,oi,Pi=arguments.length,ci=new Array(Pi),di=0;di<Pi;di++)ci[di]=arguments[di];(Jr=Nn[Cr])===null||Jr===void 0||(br=Jr).call.apply(br,[Nn].concat(ci)),(oi=(gi=fr.props)[Cr])===null||oi===void 0||(Wr=oi).call.apply(Wr,[gi].concat(ci))}});const Jn=[Dn["aria-required"],Dn["aria-invalid"],Dn["aria-describedby"]];zn=ce.createElement(An,{control:Nn,update:fr,childProps:Jn},(0,De.Tm)(fr,Dn))}else Pr&&(ar||_t)&&!mi?zn=fr(Lt):zn=fr}return tt(zn,It,$t)}))}const nr=Ln;nr.useStatus=Et;var Xn=nr,nn=function(Ze,gt){var Ve={};for(var yt in Ze)Object.prototype.hasOwnProperty.call(Ze,yt)&&gt.indexOf(yt)<0&&(Ve[yt]=Ze[yt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,yt=Object.getOwnPropertySymbols(Ze);_t<yt.length;_t++)gt.indexOf(yt[_t])<0&&Object.prototype.propertyIsEnumerable.call(Ze,yt[_t])&&(Ve[yt[_t]]=Ze[yt[_t]]);return Ve},en=Ze=>{var{prefixCls:gt,children:Ve}=Ze,yt=nn(Ze,["prefixCls","children"]);const{getPrefixCls:_t}=ce.useContext(Xt.E_),rr=_t("form",gt),ar=ce.useMemo(()=>({prefixCls:rr,status:"error"}),[rr]);return ce.createElement(Xe.List,Object.assign({},yt),(pt,bt,Pt)=>ce.createElement(b.Rk.Provider,{value:ar},Ve(pt.map(zt=>Object.assign(Object.assign({},zt),{fieldKey:zt.key})),bt,{errors:Pt.errors,warnings:Pt.warnings})))};function er(){const{form:Ze}=ce.useContext(b.q3);return Ze}const Dt=he;Dt.Item=Xn,Dt.List=en,Dt.ErrorList=We,Dt.useForm=xt,Dt.useFormInstance=er,Dt.useWatch=Xe.useWatch,Dt.Provider=b.RV,Dt.create=()=>{};var Gt=Dt},4875:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return Ct}});var b=z(59301),xe=z(84105),ce=z(87395),nt=z(92310),Me=z.n(nt),Ce=z(54476),Be=z(20068),He=z(76190),Fe=z(42978),de=z(75931),Ke=z(67732),be=z(83652);function vt(){return typeof BigInt=="function"}function et(Je){return!Je&&Je!==0&&!Number.isNaN(Je)||!String(Je).trim()}function $e(Je){var Wt=Je.trim(),qt=Wt.startsWith("-");qt&&(Wt=Wt.slice(1)),Wt=Wt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Wt.startsWith(".")&&(Wt="0".concat(Wt));var ln=Wt||"0",Zn=ln.split("."),qn=Zn[0]||"0",mr=Zn[1]||"0";qn==="0"&&mr==="0"&&(qt=!1);var vr=qt?"-":"";return{negative:qt,negativeStr:vr,trimStr:ln,integerStr:qn,decimalStr:mr,fullStr:"".concat(vr).concat(ln)}}function ze(Je){var Wt=String(Je);return!Number.isNaN(Number(Wt))&&Wt.includes("e")}function je(Je){var Wt=String(Je);if(ze(Je)){var qt=Number(Wt.slice(Wt.indexOf("e-")+2)),ln=Wt.match(/\.(\d+)/);return ln!=null&&ln[1]&&(qt+=ln[1].length),qt}return Wt.includes(".")&&Nt(Wt)?Wt.length-Wt.indexOf(".")-1:0}function at(Je){var Wt=String(Je);if(ze(Je)){if(Je>Number.MAX_SAFE_INTEGER)return String(vt()?BigInt(Je).toString():Number.MAX_SAFE_INTEGER);if(Je<Number.MIN_SAFE_INTEGER)return String(vt()?BigInt(Je).toString():Number.MIN_SAFE_INTEGER);Wt=Je.toFixed(je(Wt))}return $e(Wt).fullStr}function Nt(Je){return typeof Je=="number"?!Number.isNaN(Je):Je?/^\s*-?\d+(\.\d+)?\s*$/.test(Je)||/^\s*-?\d+\.\s*$/.test(Je)||/^\s*-?\.\d+\s*$/.test(Je):!1}var jt=function(){function Je(Wt){if((0,Ke.Z)(this,Je),(0,Be.Z)(this,"origin",""),(0,Be.Z)(this,"negative",void 0),(0,Be.Z)(this,"integer",void 0),(0,Be.Z)(this,"decimal",void 0),(0,Be.Z)(this,"decimalLen",void 0),(0,Be.Z)(this,"empty",void 0),(0,Be.Z)(this,"nan",void 0),et(Wt)){this.empty=!0;return}if(this.origin=String(Wt),Wt==="-"||Number.isNaN(Wt)){this.nan=!0;return}var qt=Wt;if(ze(qt)&&(qt=Number(qt)),qt=typeof qt=="string"?qt:at(qt),Nt(qt)){var ln=$e(qt);this.negative=ln.negative;var Zn=ln.trimStr.split(".");this.integer=BigInt(Zn[0]);var qn=Zn[1]||"0";this.decimal=BigInt(qn),this.decimalLen=qn.length}else this.nan=!0}return(0,be.Z)(Je,[{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(qt){var ln="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(qt,"0"));return BigInt(ln)}},{key:"negate",value:function(){var qt=new Je(this.toString());return qt.negative=!qt.negative,qt}},{key:"cal",value:function(qt,ln,Zn){var qn=Math.max(this.getDecimalStr().length,qt.getDecimalStr().length),mr=this.alignDecimal(qn),vr=qt.alignDecimal(qn),_n=ln(mr,vr).toString(),dr=Zn(qn),Qt=$e(_n),En=Qt.negativeStr,pn=Qt.trimStr,xn="".concat(En).concat(pn.padStart(dr+1,"0"));return new Je("".concat(xn.slice(0,-dr),".").concat(xn.slice(-dr)))}},{key:"add",value:function(qt){if(this.isInvalidate())return new Je(qt);var ln=new Je(qt);return ln.isInvalidate()?this:this.cal(ln,function(Zn,qn){return Zn+qn},function(Zn){return Zn})}},{key:"multi",value:function(qt){var ln=new Je(qt);return this.isInvalidate()||ln.isInvalidate()?new Je(NaN):this.cal(ln,function(Zn,qn){return Zn*qn},function(Zn){return Zn*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(qt){return this.toString()===(qt==null?void 0:qt.toString())}},{key:"lessEquals",value:function(qt){return this.add(qt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return qt?this.isInvalidate()?"":$e("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Je}(),se=function(){function Je(Wt){if((0,Ke.Z)(this,Je),(0,Be.Z)(this,"origin",""),(0,Be.Z)(this,"number",void 0),(0,Be.Z)(this,"empty",void 0),et(Wt)){this.empty=!0;return}this.origin=String(Wt),this.number=Number(Wt)}return(0,be.Z)(Je,[{key:"negate",value:function(){return new Je(-this.toNumber())}},{key:"add",value:function(qt){if(this.isInvalidate())return new Je(qt);var ln=Number(qt);if(Number.isNaN(ln))return this;var Zn=this.number+ln;if(Zn>Number.MAX_SAFE_INTEGER)return new Je(Number.MAX_SAFE_INTEGER);if(Zn<Number.MIN_SAFE_INTEGER)return new Je(Number.MIN_SAFE_INTEGER);var qn=Math.max(je(this.number),je(ln));return new Je(Zn.toFixed(qn))}},{key:"multi",value:function(qt){var ln=Number(qt);if(this.isInvalidate()||Number.isNaN(ln))return new Je(NaN);var Zn=this.number*ln;if(Zn>Number.MAX_SAFE_INTEGER)return new Je(Number.MAX_SAFE_INTEGER);if(Zn<Number.MIN_SAFE_INTEGER)return new Je(Number.MIN_SAFE_INTEGER);var qn=Math.max(je(this.number),je(ln));return new Je(Zn.toFixed(qn))}},{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(qt){return this.toNumber()===(qt==null?void 0:qt.toNumber())}},{key:"lessEquals",value:function(qt){return this.add(qt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return qt?this.isInvalidate()?"":at(this.number):this.origin}}]),Je}();function Oe(Je){return vt()?new jt(Je):new se(Je)}function dt(Je,Wt,qt){var ln=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Je==="")return"";var Zn=$e(Je),qn=Zn.negativeStr,mr=Zn.integerStr,vr=Zn.decimalStr,_n="".concat(Wt).concat(vr),dr="".concat(qn).concat(mr);if(qt>=0){var Qt=Number(vr[qt]);if(Qt>=5&&!ln){var En=Oe(Je).add("".concat(qn,"0.").concat("0".repeat(qt)).concat(10-Qt));return dt(En.toString(),Wt,qt,ln)}return qt===0?dr:"".concat(dr).concat(Wt).concat(vr.padEnd(qt,"0").slice(0,qt))}return _n===".0"?dr:"".concat(dr).concat(_n)}var ht=Oe,Rt=z(36901),_e=z(34280);function lt(Je,Wt){return typeof Proxy!="undefined"&&Je?new Proxy(Je,{get:function(ln,Zn){if(Wt[Zn])return Wt[Zn];var qn=ln[Zn];return typeof qn=="function"?qn.bind(ln):qn}}):Je}var ut=z(8654),Pe=z(48736);function Te(Je,Wt){var qt=(0,b.useRef)(null);function ln(){try{var qn=Je.selectionStart,mr=Je.selectionEnd,vr=Je.value,_n=vr.substring(0,qn),dr=vr.substring(mr);qt.current={start:qn,end:mr,value:vr,beforeTxt:_n,afterTxt:dr}}catch(Qt){}}function Zn(){if(Je&&qt.current&&Wt)try{var qn=Je.value,mr=qt.current,vr=mr.beforeTxt,_n=mr.afterTxt,dr=mr.start,Qt=qn.length;if(qn.startsWith(vr))Qt=vr.length;else if(qn.endsWith(_n))Qt=qn.length-qt.current.afterTxt.length;else{var En=vr[dr-1],pn=qn.indexOf(En,dr-1);pn!==-1&&(Qt=pn+1)}Je.setSelectionRange(Qt,Qt)}catch(xn){(0,Pe.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(xn.message))}}return[ln,Zn]}var we=z(49658),me=function(){var Wt=(0,b.useState)(!1),qt=(0,Fe.Z)(Wt,2),ln=qt[0],Zn=qt[1];return(0,_e.Z)(function(){Zn((0,we.Z)())},[]),ln},Ot=me,We=z(16089),Xe=200,Xt=600;function Se(Je){var Wt=Je.prefixCls,qt=Je.upNode,ln=Je.downNode,Zn=Je.upDisabled,qn=Je.downDisabled,mr=Je.onStep,vr=b.useRef(),_n=b.useRef([]),dr=b.useRef();dr.current=mr;var Qt=function(){clearTimeout(vr.current)},En=function(hn,An){hn.preventDefault(),Qt(),dr.current(An);function On(){dr.current(An),vr.current=setTimeout(On,Xe)}vr.current=setTimeout(On,Xt)};b.useEffect(function(){return function(){Qt(),_n.current.forEach(function(Bt){return We.Z.cancel(Bt)})}},[]);var pn=Ot();if(pn)return null;var xn="".concat(Wt,"-handler"),sn=Me()(xn,"".concat(xn,"-up"),(0,Be.Z)({},"".concat(xn,"-up-disabled"),Zn)),Fn=Me()(xn,"".concat(xn,"-down"),(0,Be.Z)({},"".concat(xn,"-down-disabled"),qn)),St=function(){return _n.current.push((0,We.Z)(Qt))},Sn={unselectable:"on",role:"button",onMouseUp:St,onMouseLeave:St};return b.createElement("div",{className:"".concat(xn,"-wrap")},b.createElement("span",(0,Ce.Z)({},Sn,{onMouseDown:function(hn){En(hn,!0)},"aria-label":"Increase Value","aria-disabled":Zn,className:sn}),qt||b.createElement("span",{unselectable:"on",className:"".concat(Wt,"-handler-up-inner")})),b.createElement("span",(0,Ce.Z)({},Sn,{onMouseDown:function(hn){En(hn,!1)},"aria-label":"Decrease Value","aria-disabled":qn,className:Fn}),ln||b.createElement("span",{unselectable:"on",className:"".concat(Wt,"-handler-down-inner")})))}function ve(Je){var Wt=typeof Je=="number"?at(Je):$e(Je).fullStr,qt=Wt.includes(".");return qt?$e(Wt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Je+"0"}var Mt=z(30292),Jt=function(){var Je=(0,b.useRef)(0),Wt=function(){We.Z.cancel(Je.current)};return(0,b.useEffect)(function(){return Wt},[]),function(qt){Wt(),Je.current=(0,We.Z)(function(){qt()})}},Zt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],pe=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Re=function(Wt,qt){return Wt||qt.isEmpty()?qt.toString():qt.toNumber()},Ue=function(Wt){var qt=ht(Wt);return qt.isInvalidate()?null:qt},tn=b.forwardRef(function(Je,Wt){var qt=Je.prefixCls,ln=Je.className,Zn=Je.style,qn=Je.min,mr=Je.max,vr=Je.step,_n=vr===void 0?1:vr,dr=Je.defaultValue,Qt=Je.value,En=Je.disabled,pn=Je.readOnly,xn=Je.upHandler,sn=Je.downHandler,Fn=Je.keyboard,St=Je.changeOnWheel,Sn=St===void 0?!1:St,Bt=Je.controls,hn=Bt===void 0?!0:Bt,An=Je.classNames,On=Je.stringMode,Ln=Je.parser,nr=Je.formatter,Xn=Je.precision,nn=Je.decimalSeparator,Pn=Je.onChange,en=Je.onInput,er=Je.onPressEnter,Dt=Je.onStep,Gt=Je.changeOnBlur,Ze=Gt===void 0?!0:Gt,gt=Je.domRef,Ve=(0,de.Z)(Je,Zt),yt="".concat(qt,"-input"),_t=b.useRef(null),rr=b.useState(!1),ar=(0,Fe.Z)(rr,2),pt=ar[0],bt=ar[1],Pt=b.useRef(!1),zt=b.useRef(!1),Bn=b.useRef(!1),Hn=b.useState(function(){return ht(Qt!=null?Qt:dr)}),Rn=(0,Fe.Z)(Hn,2),Un=Rn[0],pr=Rn[1];function Ar(It){Qt===void 0&&pr(It)}var Vr=b.useCallback(function(It,$t){if(!$t)return Xn>=0?Xn:Math.max(je(It),je(_n))},[Xn,_n]),Br=b.useCallback(function(It){var $t=String(It);if(Ln)return Ln($t);var Nn=$t;return nn&&(Nn=Nn.replace(nn,".")),Nn.replace(/[^\w.-]+/g,"")},[Ln,nn]),fr=b.useRef(""),Pr=b.useCallback(function(It,$t){if(nr)return nr(It,{userTyping:$t,input:String(fr.current)});var Nn=typeof It=="number"?at(It):It;if(!$t){var zn=Vr(Nn,$t);if(Nt(Nn)&&(nn||zn>=0)){var Dn=nn||".";Nn=dt(Nn,Dn,zn)}}return Nn},[nr,Vr,nn]),kr=b.useState(function(){var It=dr!=null?dr:Qt;return Un.isInvalidate()&&["string","number"].includes((0,He.Z)(It))?Number.isNaN(It)?"":It:Pr(Un.toString(),!1)}),$r=(0,Fe.Z)(kr,2),Xr=$r[0],mi=$r[1];fr.current=Xr;function yr(It,$t){mi(Pr(It.isInvalidate()?It.toString(!1):It.toString(!$t),$t))}var ur=b.useMemo(function(){return Ue(mr)},[mr,Xn]),gr=b.useMemo(function(){return Ue(qn)},[qn,Xn]),ni=b.useMemo(function(){return!ur||!Un||Un.isInvalidate()?!1:ur.lessEquals(Un)},[ur,Un]),Kr=b.useMemo(function(){return!gr||!Un||Un.isInvalidate()?!1:Un.lessEquals(gr)},[gr,Un]),wr=Te(_t.current,pt),Rr=(0,Fe.Z)(wr,2),hi=Rr[0],Qr=Rr[1],qr=function($t){return ur&&!$t.lessEquals(ur)?ur:gr&&!gr.lessEquals($t)?gr:null},ei=function($t){return!qr($t)},Ni=function($t,Nn){var zn=$t,Dn=ei(zn)||zn.isEmpty();if(!zn.isEmpty()&&!Nn&&(zn=qr(zn)||zn,Dn=!0),!pn&&!En&&Dn){var jn=zn.toString(),Jn=Vr(jn,Nn);return Jn>=0&&(zn=ht(dt(jn,".",Jn)),ei(zn)||(zn=ht(dt(jn,".",Jn,!0)))),zn.equals(Un)||(Ar(zn),Pn==null||Pn(zn.isEmpty()?null:Re(On,zn)),Qt===void 0&&yr(zn,Nn)),zn}return Un},$i=Jt(),_i=function It($t){if(hi(),fr.current=$t,mi($t),!zt.current){var Nn=Br($t),zn=ht(Nn);zn.isNaN()||Ni(zn,!0)}en==null||en($t),$i(function(){var Dn=$t;Ln||(Dn=$t.replace(/。/g,".")),Dn!==$t&&It(Dn)})},ki=function(){zt.current=!0},io=function(){zt.current=!1,_i(_t.current.value)},ke=function($t){_i($t.target.value)},tt=function($t){var Nn;if(!($t&&ni||!$t&&Kr)){Pt.current=!1;var zn=ht(Bn.current?ve(_n):_n);$t||(zn=zn.negate());var Dn=(Un||ht(0)).add(zn.toString()),jn=Ni(Dn,!1);Dt==null||Dt(Re(On,jn),{offset:Bn.current?ve(_n):_n,type:$t?"up":"down"}),(Nn=_t.current)===null||Nn===void 0||Nn.focus()}},Ft=function($t){var Nn=ht(Br(Xr)),zn;Nn.isNaN()?zn=Ni(Un,$t):zn=Ni(Nn,$t),Qt!==void 0?yr(Un,!1):zn.isNaN()||yr(zn,!1)},an=function(){Pt.current=!0},cn=function($t){var Nn=$t.key,zn=$t.shiftKey;Pt.current=!0,Bn.current=zn,Nn==="Enter"&&(zt.current||(Pt.current=!1),Ft(!1),er==null||er($t)),Fn!==!1&&!zt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Nn)&&(tt(Nn==="Up"||Nn==="ArrowUp"),$t.preventDefault())},Lt=function(){Pt.current=!1,Bn.current=!1};b.useEffect(function(){if(Sn&&pt){var It=function(zn){tt(zn.deltaY<0),zn.preventDefault()},$t=_t.current;if($t)return $t.addEventListener("wheel",It,{passive:!1}),function(){return $t.removeEventListener("wheel",It)}}});var it=function(){Ze&&Ft(!1),bt(!1),Pt.current=!1};return(0,_e.o)(function(){Un.isInvalidate()||yr(Un,!1)},[Xn,nr]),(0,_e.o)(function(){var It=ht(Qt);pr(It);var $t=ht(Br(Xr));(!It.equals($t)||!Pt.current||nr)&&yr(It,Pt.current)},[Qt]),(0,_e.o)(function(){nr&&Qr()},[Xr]),b.createElement("div",{ref:gt,className:Me()(qt,ln,(0,Be.Z)((0,Be.Z)((0,Be.Z)((0,Be.Z)((0,Be.Z)({},"".concat(qt,"-focused"),pt),"".concat(qt,"-disabled"),En),"".concat(qt,"-readonly"),pn),"".concat(qt,"-not-a-number"),Un.isNaN()),"".concat(qt,"-out-of-range"),!Un.isInvalidate()&&!ei(Un))),style:Zn,onFocus:function(){bt(!0)},onBlur:it,onKeyDown:cn,onKeyUp:Lt,onCompositionStart:ki,onCompositionEnd:io,onBeforeInput:an},hn&&b.createElement(Se,{prefixCls:qt,upNode:xn,downNode:sn,upDisabled:ni,downDisabled:Kr,onStep:tt}),b.createElement("div",{className:"".concat(yt,"-wrap")},b.createElement("input",(0,Ce.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":qn,"aria-valuemax":mr,"aria-valuenow":Un.isInvalidate()?null:Un.toString(),step:_n},Ve,{ref:(0,ut.sQ)(_t,Wt),className:yt,value:Xr,onChange:ke,disabled:En,readOnly:pn}))))}),rt=b.forwardRef(function(Je,Wt){var qt=Je.disabled,ln=Je.style,Zn=Je.prefixCls,qn=Zn===void 0?"rc-input-number":Zn,mr=Je.value,vr=Je.prefix,_n=Je.suffix,dr=Je.addonBefore,Qt=Je.addonAfter,En=Je.className,pn=Je.classNames,xn=(0,de.Z)(Je,pe),sn=b.useRef(null),Fn=b.useRef(null),St=b.useRef(null),Sn=function(hn){St.current&&(0,Mt.nH)(St.current,hn)};return b.useImperativeHandle(Wt,function(){return lt(St.current,{focus:Sn,nativeElement:sn.current.nativeElement||Fn.current})}),b.createElement(Rt.BaseInput,{className:En,triggerFocus:Sn,prefixCls:qn,value:mr,disabled:qt,style:ln,prefix:vr,suffix:_n,addonAfter:Qt,addonBefore:dr,classNames:pn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:sn},b.createElement(tn,(0,Ce.Z)({prefixCls:qn,disabled:qt,ref:St,domRef:Fn,className:pn==null?void 0:pn.input},xn)))}),Kt=rt,ct=Kt,fn=z(62487),xt=z(82855),le=z(48755),ne=z(60840),te=z(2171),ae=z(83397),he=z(31756),re=z(56553),ue=z(24971),De=z(70045),st=z(36237),Qe=z(53075),Ie=z(64910),mt=z(39082),Et=z(63356),Tt=z(56119),Le=z(16931),Ye=z(51636),vn=z(17835);const Ht=Je=>{var Wt;const qt=(Wt=Je.handleVisible)!==null&&Wt!==void 0?Wt:"auto",ln=Je.controlHeightSM-Je.lineWidth*2;return Object.assign(Object.assign({},(0,Ie.T)(Je)),{controlWidth:90,handleWidth:ln,handleFontSize:Je.fontSize/2,handleVisible:qt,handleActiveBg:Je.colorFillAlter,handleBg:Je.colorBgContainer,filledHandleBg:new vn.FastColor(Je.colorFillSecondary).onBackground(Je.colorBgContainer).toHexString(),handleHoverColor:Je.colorPrimary,handleBorderColor:Je.colorBorder,handleOpacity:qt===!0?1:0,handleVisibleWidth:qt===!0?ln:0})},Cn=(Je,Wt)=>{let{componentCls:qt,borderRadiusSM:ln,borderRadiusLG:Zn}=Je;const qn=Wt==="lg"?Zn:ln;return{[`&-${Wt}`]:{[`${qt}-handler-wrap`]:{borderStartEndRadius:qn,borderEndEndRadius:qn},[`${qt}-handler-up`]:{borderStartEndRadius:qn},[`${qt}-handler-down`]:{borderEndEndRadius:qn}}}},un=Je=>{const{componentCls:Wt,lineWidth:qt,lineType:ln,borderRadius:Zn,inputFontSizeSM:qn,inputFontSizeLG:mr,controlHeightLG:vr,controlHeightSM:_n,colorError:dr,paddingInlineSM:Qt,paddingBlockSM:En,paddingBlockLG:pn,paddingInlineLG:xn,colorTextDescription:sn,motionDurationMid:Fn,handleHoverColor:St,handleOpacity:Sn,paddingInline:Bt,paddingBlock:hn,handleBg:An,handleActiveBg:On,colorTextDisabled:Ln,borderRadiusSM:nr,borderRadiusLG:Xn,controlWidth:nn,handleBorderColor:Pn,filledHandleBg:en,lineHeightLG:er,calc:Dt}=Je;return[{[Wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Et.Wf)(Je)),(0,Qe.ik)(Je)),{display:"inline-block",width:nn,margin:0,padding:0,borderRadius:Zn}),(0,mt.qG)(Je,{[`${Wt}-handler-wrap`]:{background:An,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(qt)} ${ln} ${Pn}`}}})),(0,mt.H8)(Je,{[`${Wt}-handler-wrap`]:{background:en,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(qt)} ${ln} ${Pn}`}},"&:focus-within":{[`${Wt}-handler-wrap`]:{background:An}}})),(0,mt.vc)(Je,{[`${Wt}-handler-wrap`]:{background:An,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(qt)} ${ln} ${Pn}`}}})),(0,mt.Mu)(Je)),{"&-rtl":{direction:"rtl",[`${Wt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:mr,lineHeight:er,borderRadius:Xn,[`input${Wt}-input`]:{height:Dt(vr).sub(Dt(qt).mul(2)).equal(),padding:`${(0,st.unit)(pn)} ${(0,st.unit)(xn)}`}},"&-sm":{padding:0,fontSize:qn,borderRadius:nr,[`input${Wt}-input`]:{height:Dt(_n).sub(Dt(qt).mul(2)).equal(),padding:`${(0,st.unit)(En)} ${(0,st.unit)(Qt)}`}},"&-out-of-range":{[`${Wt}-input-wrap`]:{input:{color:dr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Et.Wf)(Je)),(0,Qe.s7)(Je)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Wt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Wt}-group-addon`]:{borderRadius:Xn,fontSize:Je.fontSizeLG}},"&-sm":{[`${Wt}-group-addon`]:{borderRadius:nr}}},(0,mt.ir)(Je)),(0,mt.S5)(Je)),{[`&:not(${Wt}-compact-first-item):not(${Wt}-compact-last-item)${Wt}-compact-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderRadius:0}},[`&:not(${Wt}-compact-last-item)${Wt}-compact-first-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Wt}-compact-first-item)${Wt}-compact-last-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Wt}-input`]:{cursor:"not-allowed"},[Wt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Et.Wf)(Je)),{width:"100%",padding:`${(0,st.unit)(hn)} ${(0,st.unit)(Bt)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Zn,outline:0,transition:`all ${Fn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Qe.nz)(Je.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Wt}-handler-wrap, &-focused ${Wt}-handler-wrap`]:{width:Je.handleWidth,opacity:1}})},{[Wt]:Object.assign(Object.assign(Object.assign({[`${Wt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Je.handleVisibleWidth,opacity:Sn,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Zn,borderEndEndRadius:Zn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Fn}`,overflow:"hidden",[`${Wt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${Wt}-handler-up-inner,
${Wt}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:Je.handleFontSize}}},[`${Wt}-handler`]:{height:"50%",overflow:"hidden",color:sn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,st.unit)(qt)} ${ln} ${Pn}`,transition:`all ${Fn} linear`,"&:active":{background:On},"&:hover":{height:"60%",[`
${Wt}-handler-up-inner,
${Wt}-handler-down-inner
`]:{color:St}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Et.Ro)()),{color:sn,transition:`all ${Fn} linear`,userSelect:"none"})},[`${Wt}-handler-up`]:{borderStartEndRadius:Zn},[`${Wt}-handler-down`]:{borderEndEndRadius:Zn}},Cn(Je,"lg")),Cn(Je,"sm")),{"&-disabled, &-readonly":{[`${Wt}-handler-wrap`]:{display:"none"},[`${Wt}-input`]:{color:"inherit"}},[`
${Wt}-handler-up-disabled,
${Wt}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${Wt}-handler-up-disabled:hover &-handler-up-inner,
${Wt}-handler-down-disabled:hover &-handler-down-inner
`]:{color:Ln}})}]},Ut=Je=>{const{componentCls:Wt,paddingBlock:qt,paddingInline:ln,inputAffixPadding:Zn,controlWidth:qn,borderRadiusLG:mr,borderRadiusSM:vr,paddingInlineLG:_n,paddingInlineSM:dr,paddingBlockLG:Qt,paddingBlockSM:En,motionDurationMid:pn}=Je;return{[`${Wt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Wt}-input`]:{padding:`${(0,st.unit)(qt)} 0`}},(0,Qe.ik)(Je)),{position:"relative",display:"inline-flex",alignItems:"center",width:qn,padding:0,paddingInlineStart:ln,"&-lg":{borderRadius:mr,paddingInlineStart:_n,[`input${Wt}-input`]:{padding:`${(0,st.unit)(Qt)} 0`}},"&-sm":{borderRadius:vr,paddingInlineStart:dr,[`input${Wt}-input`]:{padding:`${(0,st.unit)(En)} 0`}},[`&:not(${Wt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Wt}-disabled`]:{background:"transparent"},[`> div${Wt}`]:{width:"100%",border:"none",outline:"none",[`&${Wt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Wt}-handler-wrap`]:{zIndex:2},[Wt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Zn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:ln,marginInlineStart:Zn,transition:`margin ${pn}`}},[`&:hover ${Wt}-handler-wrap, &-focused ${Wt}-handler-wrap`]:{width:Je.handleWidth,opacity:1},[`&:not(${Wt}-affix-wrapper-without-controls):hover ${Wt}-suffix`]:{marginInlineEnd:Je.calc(Je.handleWidth).add(ln).equal()}})}};var on=(0,Le.I$)("InputNumber",Je=>{const Wt=(0,Ye.mergeToken)(Je,(0,Ie.e)(Je));return[un(Wt),Ut(Wt),(0,Tt.c)(Wt)]},Ht,{unitless:{handleOpacity:!0}}),mn=function(Je,Wt){var qt={};for(var ln in Je)Object.prototype.hasOwnProperty.call(Je,ln)&&Wt.indexOf(ln)<0&&(qt[ln]=Je[ln]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zn=0,ln=Object.getOwnPropertySymbols(Je);Zn<ln.length;Zn++)Wt.indexOf(ln[Zn])<0&&Object.prototype.propertyIsEnumerable.call(Je,ln[Zn])&&(qt[ln[Zn]]=Je[ln[Zn]]);return qt};const ft=b.forwardRef((Je,Wt)=>{const{getPrefixCls:qt,direction:ln}=b.useContext(le.E_),Zn=b.useRef(null);b.useImperativeHandle(Wt,()=>Zn.current);const{className:qn,rootClassName:mr,size:vr,disabled:_n,prefixCls:dr,addonBefore:Qt,addonAfter:En,prefix:pn,suffix:xn,bordered:sn,readOnly:Fn,status:St,controls:Sn,variant:Bt}=Je,hn=mn(Je,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),An=qt("input-number",dr),On=(0,ae.Z)(An),[Ln,nr,Xn]=on(An,On),{compactSize:nn,compactItemClassnames:Pn}=(0,De.ri)(An,ln);let en=b.createElement(ce.Z,{className:`${An}-handler-up-inner`}),er=b.createElement(xe.Z,{className:`${An}-handler-down-inner`});const Dt=typeof Sn=="boolean"?Sn:void 0;typeof Sn=="object"&&(en=typeof Sn.upIcon=="undefined"?en:b.createElement("span",{className:`${An}-handler-up-inner`},Sn.upIcon),er=typeof Sn.downIcon=="undefined"?er:b.createElement("span",{className:`${An}-handler-down-inner`},Sn.downIcon));const{hasFeedback:Gt,status:Ze,isFormItemInput:gt,feedbackIcon:Ve}=b.useContext(re.aM),yt=(0,xt.F)(Ze,St),_t=(0,he.Z)(Rn=>{var Un;return(Un=vr!=null?vr:nn)!==null&&Un!==void 0?Un:Rn}),rr=b.useContext(te.Z),ar=_n!=null?_n:rr,[pt,bt]=(0,ue.Z)("inputNumber",Bt,sn),Pt=Gt&&b.createElement(b.Fragment,null,Ve),zt=Me()({[`${An}-lg`]:_t==="large",[`${An}-sm`]:_t==="small",[`${An}-rtl`]:ln==="rtl",[`${An}-in-form-item`]:gt},nr),Bn=`${An}-group`,Hn=b.createElement(ct,Object.assign({ref:Zn,disabled:ar,className:Me()(Xn,On,qn,mr,Pn),upHandler:en,downHandler:er,prefixCls:An,readOnly:Fn,controls:Dt,prefix:pn,suffix:Pt||xn,addonBefore:Qt&&b.createElement(fn.Z,{form:!0,space:!0},Qt),addonAfter:En&&b.createElement(fn.Z,{form:!0,space:!0},En),classNames:{input:zt,variant:Me()({[`${An}-${pt}`]:bt},(0,xt.Z)(An,yt,Gt)),affixWrapper:Me()({[`${An}-affix-wrapper-sm`]:_t==="small",[`${An}-affix-wrapper-lg`]:_t==="large",[`${An}-affix-wrapper-rtl`]:ln==="rtl",[`${An}-affix-wrapper-without-controls`]:Sn===!1||ar},nr),wrapper:Me()({[`${Bn}-rtl`]:ln==="rtl"},nr),groupWrapper:Me()({[`${An}-group-wrapper-sm`]:_t==="small",[`${An}-group-wrapper-lg`]:_t==="large",[`${An}-group-wrapper-rtl`]:ln==="rtl",[`${An}-group-wrapper-${pt}`]:bt},(0,xt.Z)(`${An}-group-wrapper`,yt,Gt),nr)}},hn));return Ln(Hn)}),Vt=ft,yn=Je=>b.createElement(ne.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(ft,Object.assign({},Je)));Vt._InternalPanelDoNotUseOrYouWillBeFired=yn;var Ct=Vt},49397:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return se}});var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(36901),Me=z(8654),Ce=z(62487),Be=z(86013),He=z(82855),Fe=z(48755),de=z(2171),Ke=z(83397),be=z(31756),vt=z(56553),et=z(24971),$e=z(70045),ze=z(23826),je=z(53075);function at(Oe){return!!(Oe.prefix||Oe.suffix||Oe.allowClear||Oe.showCount)}var Nt=function(Oe,dt){var ht={};for(var Rt in Oe)Object.prototype.hasOwnProperty.call(Oe,Rt)&&dt.indexOf(Rt)<0&&(ht[Rt]=Oe[Rt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Rt=Object.getOwnPropertySymbols(Oe);_e<Rt.length;_e++)dt.indexOf(Rt[_e])<0&&Object.prototype.propertyIsEnumerable.call(Oe,Rt[_e])&&(ht[Rt[_e]]=Oe[Rt[_e]]);return ht},se=(0,b.forwardRef)((Oe,dt)=>{const{prefixCls:ht,bordered:Rt=!0,status:_e,size:lt,disabled:ut,onBlur:Pe,onFocus:Te,suffix:we,allowClear:me,addonAfter:Ot,addonBefore:We,className:Xe,style:Xt,styles:Se,rootClassName:ve,onChange:Mt,classNames:Jt,variant:Zt}=Oe,pe=Nt(Oe,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Re,direction:Ue,allowClear:tn,autoComplete:rt,className:Kt,style:ct,classNames:fn,styles:xt}=(0,Fe.dj)("input"),le=Re("input",ht),ne=(0,b.useRef)(null),te=(0,Ke.Z)(le),[ae,he,re]=(0,je.TI)(le,ve),[ue]=(0,je.ZP)(le,te),{compactSize:De,compactItemClassnames:st}=(0,$e.ri)(le,Ue),Qe=(0,be.Z)(Ct=>{var Je;return(Je=lt!=null?lt:De)!==null&&Je!==void 0?Je:Ct}),Ie=b.useContext(de.Z),mt=ut!=null?ut:Ie,{status:Et,hasFeedback:Tt,feedbackIcon:Le}=(0,b.useContext)(vt.aM),Ye=(0,He.F)(Et,_e),vn=at(Oe)||!!Tt,Ht=(0,b.useRef)(vn),Cn=(0,ze.Z)(ne,!0),un=Ct=>{Cn(),Pe==null||Pe(Ct)},Ut=Ct=>{Cn(),Te==null||Te(Ct)},on=Ct=>{Cn(),Mt==null||Mt(Ct)},mn=(Tt||we)&&b.createElement(b.Fragment,null,we,Tt&&Le),ft=(0,Be.Z)(me!=null?me:tn),[Vt,yn]=(0,et.Z)("input",Zt,Rt);return ae(ue(b.createElement(nt.default,Object.assign({ref:(0,Me.sQ)(dt,ne),prefixCls:le,autoComplete:rt},pe,{disabled:mt,onBlur:un,onFocus:Ut,style:Object.assign(Object.assign({},ct),Xt),styles:Object.assign(Object.assign({},xt),Se),suffix:mn,allowClear:ft,className:ce()(Xe,ve,re,te,st,Kt),onChange:on,addonBefore:We&&b.createElement(Ce.Z,{form:!0,space:!0},We),addonAfter:Ot&&b.createElement(Ce.Z,{form:!0,space:!0},Ot),classNames:Object.assign(Object.assign(Object.assign({},Jt),fn),{input:ce()({[`${le}-sm`]:Qe==="small",[`${le}-lg`]:Qe==="large",[`${le}-rtl`]:Ue==="rtl"},Jt==null?void 0:Jt.input,fn.input,he),variant:ce()({[`${le}-${Vt}`]:yn},(0,He.Z)(le,Ye)),affixWrapper:ce()({[`${le}-affix-wrapper-sm`]:Qe==="small",[`${le}-affix-wrapper-lg`]:Qe==="large",[`${le}-affix-wrapper-rtl`]:Ue==="rtl"},he),wrapper:ce()({[`${le}-group-rtl`]:Ue==="rtl"},he),groupWrapper:ce()({[`${le}-group-wrapper-sm`]:Qe==="small",[`${le}-group-wrapper-lg`]:Qe==="large",[`${le}-group-wrapper-rtl`]:Ue==="rtl",[`${le}-group-wrapper-${Vt}`]:yn},(0,He.Z)(`${le}-group-wrapper`,Ye,Tt),he)})}))))})},79809:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return dt}});var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(22711),Me=z(86013),Ce=z(82855),Be=z(48755),He=z(2171),Fe=z(83397),de=z(31756),Ke=z(56553),be=z(24971),vt=z(70045),et=z(30292),$e=z(53075),ze=z(16931),je=z(51636),at=z(64910);const Nt=ht=>{const{componentCls:Rt,paddingLG:_e}=ht,lt=`${Rt}-textarea`;return{[`textarea${Rt}`]:{maxWidth:"100%",height:"auto",minHeight:ht.controlHeight,lineHeight:ht.lineHeight,verticalAlign:"bottom",transition:`all ${ht.motionDurationSlow}`,resize:"vertical",[`&${Rt}-mouse-active`]:{transition:`all ${ht.motionDurationSlow}, height 0s, width 0s`}},[`${Rt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[lt]:{position:"relative","&-show-count":{[`> ${Rt}`]:{height:"100%"},[`${Rt}-data-count`]:{position:"absolute",bottom:ht.calc(ht.fontSize).mul(ht.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:ht.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${Rt},
&-affix-wrapper${lt}-has-feedback ${Rt}
`]:{paddingInlineEnd:_e},[`&-affix-wrapper${Rt}-affix-wrapper`]:{padding:0,[`> textarea${Rt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:ht.calc(ht.controlHeight).sub(ht.calc(ht.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${Rt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Rt}-clear-icon`]:{position:"absolute",insetInlineEnd:ht.paddingInline,insetBlockStart:ht.paddingXS},[`${lt}-suffix`]:{position:"absolute",top:0,insetInlineEnd:ht.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${Rt}-affix-wrapper-sm`]:{[`${Rt}-suffix`]:{[`${Rt}-clear-icon`]:{insetInlineEnd:ht.paddingInlineSM}}}}}};var jt=(0,ze.I$)(["Input","TextArea"],ht=>{const Rt=(0,je.mergeToken)(ht,(0,at.e)(ht));return[Nt(Rt)]},at.T,{resetFont:!1}),se=function(ht,Rt){var _e={};for(var lt in ht)Object.prototype.hasOwnProperty.call(ht,lt)&&Rt.indexOf(lt)<0&&(_e[lt]=ht[lt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,lt=Object.getOwnPropertySymbols(ht);ut<lt.length;ut++)Rt.indexOf(lt[ut])<0&&Object.prototype.propertyIsEnumerable.call(ht,lt[ut])&&(_e[lt[ut]]=ht[lt[ut]]);return _e},dt=(0,b.forwardRef)((ht,Rt)=>{var _e;const{prefixCls:lt,bordered:ut=!0,size:Pe,disabled:Te,status:we,allowClear:me,classNames:Ot,rootClassName:We,className:Xe,style:Xt,styles:Se,variant:ve,showCount:Mt,onMouseDown:Jt,onResize:Zt}=ht,pe=se(ht,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Re,direction:Ue,allowClear:tn,autoComplete:rt,className:Kt,style:ct,classNames:fn,styles:xt}=(0,Be.dj)("textArea"),le=b.useContext(He.Z),ne=Te!=null?Te:le,{status:te,hasFeedback:ae,feedbackIcon:he}=b.useContext(Ke.aM),re=(0,Ce.F)(te,we),ue=b.useRef(null);b.useImperativeHandle(Rt,()=>{var yn;return{resizableTextArea:(yn=ue.current)===null||yn===void 0?void 0:yn.resizableTextArea,focus:Ct=>{var Je,Wt;(0,et.nH)((Wt=(Je=ue.current)===null||Je===void 0?void 0:Je.resizableTextArea)===null||Wt===void 0?void 0:Wt.textArea,Ct)},blur:()=>{var Ct;return(Ct=ue.current)===null||Ct===void 0?void 0:Ct.blur()}}});const De=Re("input",lt),st=(0,Fe.Z)(De),[Qe,Ie,mt]=(0,$e.TI)(De,We),[Et]=jt(De,st),{compactSize:Tt,compactItemClassnames:Le}=(0,vt.ri)(De,Ue),Ye=(0,de.Z)(yn=>{var Ct;return(Ct=Pe!=null?Pe:Tt)!==null&&Ct!==void 0?Ct:yn}),[vn,Ht]=(0,be.Z)("textArea",ve,ut),Cn=(0,Me.Z)(me!=null?me:tn),[un,Ut]=b.useState(!1),[on,mn]=b.useState(!1),ft=yn=>{Ut(!0),Jt==null||Jt(yn);const Ct=()=>{Ut(!1),document.removeEventListener("mouseup",Ct)};document.addEventListener("mouseup",Ct)},Vt=yn=>{var Ct,Je;if(Zt==null||Zt(yn),un&&typeof getComputedStyle=="function"){const Wt=(Je=(Ct=ue.current)===null||Ct===void 0?void 0:Ct.nativeElement)===null||Je===void 0?void 0:Je.querySelector("textarea");Wt&&getComputedStyle(Wt).resize==="both"&&mn(!0)}};return Qe(Et(b.createElement(nt.default,Object.assign({autoComplete:rt},pe,{style:Object.assign(Object.assign({},ct),Xt),styles:Object.assign(Object.assign({},xt),Se),disabled:ne,allowClear:Cn,className:ce()(mt,st,Xe,We,Le,Kt,on&&`${De}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ot),fn),{textarea:ce()({[`${De}-sm`]:Ye==="small",[`${De}-lg`]:Ye==="large"},Ie,Ot==null?void 0:Ot.textarea,fn.textarea,un&&`${De}-mouse-active`),variant:ce()({[`${De}-${vn}`]:Ht},(0,Ce.Z)(De,re)),affixWrapper:ce()(`${De}-textarea-affix-wrapper`,{[`${De}-affix-wrapper-rtl`]:Ue==="rtl",[`${De}-affix-wrapper-sm`]:Ye==="small",[`${De}-affix-wrapper-lg`]:Ye==="large",[`${De}-textarea-show-count`]:Mt||((_e=ht.count)===null||_e===void 0?void 0:_e.show)},Ie)}),prefixCls:De,suffix:ae&&b.createElement("span",{className:`${De}-textarea-suffix`},he),showCount:Mt,ref:ue,onResize:Vt,onMouseDown:ft}))))})},23826:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return xe}});var b=z(59301);function xe(ce,nt){const Me=(0,b.useRef)([]),Ce=()=>{Me.current.push(setTimeout(()=>{var Be,He,Fe,de;!((Be=ce.current)===null||Be===void 0)&&Be.input&&((He=ce.current)===null||He===void 0?void 0:He.input.getAttribute("type"))==="password"&&(!((Fe=ce.current)===null||Fe===void 0)&&Fe.input.hasAttribute("value"))&&((de=ce.current)===null||de===void 0||de.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(nt&&Ce(),()=>Me.current.forEach(Be=>{Be&&clearTimeout(Be)})),[]),Ce}},37568:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return fn}});var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(48755),Me=z(56553),Ce=z(53075),He=xt=>{const{getPrefixCls:le,direction:ne}=(0,b.useContext)(nt.E_),{prefixCls:te,className:ae}=xt,he=le("input-group",te),re=le("input"),[ue,De,st]=(0,Ce.ZP)(re),Qe=ce()(he,st,{[`${he}-lg`]:xt.size==="large",[`${he}-sm`]:xt.size==="small",[`${he}-compact`]:xt.compact,[`${he}-rtl`]:ne==="rtl"},De,ae),Ie=(0,b.useContext)(Me.aM),mt=(0,b.useMemo)(()=>Object.assign(Object.assign({},Ie),{isFormItemInput:!1}),[Ie]);return ue(b.createElement("span",{className:Qe,style:xt.style,onMouseEnter:xt.onMouseEnter,onMouseLeave:xt.onMouseLeave,onFocus:xt.onFocus,onBlur:xt.onBlur},b.createElement(Me.aM.Provider,{value:mt},xt.children)))},Fe=z(49397),de=z(94480),Ke=z(6089),be=z(26112),vt=z(82855),et=z(31756),$e=z(16931),ze=z(51636),je=z(64910);const at=xt=>{const{componentCls:le,paddingXS:ne}=xt;return{[le]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ne,"&-rtl":{direction:"rtl"},[`${le}-input`]:{textAlign:"center",paddingInline:xt.paddingXXS},[`&${le}-sm ${le}-input`]:{paddingInline:xt.calc(xt.paddingXXS).div(2).equal()},[`&${le}-lg ${le}-input`]:{paddingInline:xt.paddingXS}}}};var Nt=(0,$e.I$)(["Input","OTP"],xt=>{const le=(0,ze.mergeToken)(xt,(0,je.e)(xt));return[at(le)]},je.T),jt=z(16089),se=function(xt,le){var ne={};for(var te in xt)Object.prototype.hasOwnProperty.call(xt,te)&&le.indexOf(te)<0&&(ne[te]=xt[te]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(xt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(xt,te[ae])&&(ne[te[ae]]=xt[te[ae]]);return ne},dt=b.forwardRef((xt,le)=>{const{value:ne,onChange:te,onActiveChange:ae,index:he,mask:re}=xt,ue=se(xt,["value","onChange","onActiveChange","index","mask"]),De=ne&&typeof re=="string"?re:ne,st=Tt=>{te(he,Tt.target.value)},Qe=b.useRef(null);b.useImperativeHandle(le,()=>Qe.current);const Ie=()=>{(0,jt.Z)(()=>{var Tt;const Le=(Tt=Qe.current)===null||Tt===void 0?void 0:Tt.input;document.activeElement===Le&&Le&&Le.select()})},mt=Tt=>{const{key:Le,ctrlKey:Ye,metaKey:vn}=Tt;Le==="ArrowLeft"?ae(he-1):Le==="ArrowRight"?ae(he+1):Le==="z"&&(Ye||vn)&&Tt.preventDefault(),Ie()},Et=Tt=>{Tt.key==="Backspace"&&!ne&&ae(he-1),Ie()};return b.createElement(Fe.Z,Object.assign({type:re===!0?"password":"text"},ue,{ref:Qe,value:De,onInput:st,onFocus:Ie,onKeyDown:mt,onKeyUp:Et,onMouseDown:Ie,onMouseUp:Ie}))}),ht=function(xt,le){var ne={};for(var te in xt)Object.prototype.hasOwnProperty.call(xt,te)&&le.indexOf(te)<0&&(ne[te]=xt[te]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(xt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(xt,te[ae])&&(ne[te[ae]]=xt[te[ae]]);return ne};function Rt(xt){return(xt||"").split("")}const _e=xt=>{const{index:le,prefixCls:ne,separator:te}=xt,ae=typeof te=="function"?te(le):te;return ae?b.createElement("span",{className:`${ne}-separator`},ae):null};var ut=b.forwardRef((xt,le)=>{const{prefixCls:ne,length:te=6,size:ae,defaultValue:he,value:re,onChange:ue,formatter:De,separator:st,variant:Qe,disabled:Ie,status:mt,autoFocus:Et,mask:Tt,type:Le,onInput:Ye,inputMode:vn}=xt,Ht=ht(xt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Cn,direction:un}=b.useContext(nt.E_),Ut=Cn("otp",ne),on=(0,be.Z)(Ht,{aria:!0,data:!0,attr:!0}),[mn,ft,Vt]=Nt(Ut),yn=(0,et.Z)(pn=>ae!=null?ae:pn),Ct=b.useContext(Me.aM),Je=(0,vt.F)(Ct.status,mt),Wt=b.useMemo(()=>Object.assign(Object.assign({},Ct),{status:Je,hasFeedback:!1,feedbackIcon:null}),[Ct,Je]),qt=b.useRef(null),ln=b.useRef({});b.useImperativeHandle(le,()=>({focus:()=>{var pn;(pn=ln.current[0])===null||pn===void 0||pn.focus()},blur:()=>{var pn;for(let xn=0;xn<te;xn+=1)(pn=ln.current[xn])===null||pn===void 0||pn.blur()},nativeElement:qt.current}));const Zn=pn=>De?De(pn):pn,[qn,mr]=b.useState(()=>Rt(Zn(he||"")));b.useEffect(()=>{re!==void 0&&mr(Rt(re))},[re]);const vr=(0,Ke.Z)(pn=>{mr(pn),Ye&&Ye(pn),ue&&pn.length===te&&pn.every(xn=>xn)&&pn.some((xn,sn)=>qn[sn]!==xn)&&ue(pn.join(""))}),_n=(0,Ke.Z)((pn,xn)=>{let sn=(0,de.Z)(qn);for(let St=0;St<pn;St+=1)sn[St]||(sn[St]="");xn.length<=1?sn[pn]=xn:sn=sn.slice(0,pn).concat(Rt(xn)),sn=sn.slice(0,te);for(let St=sn.length-1;St>=0&&!sn[St];St-=1)sn.pop();const Fn=Zn(sn.map(St=>St||" ").join(""));return sn=Rt(Fn).map((St,Sn)=>St===" "&&!sn[Sn]?sn[Sn]:St),sn}),dr=(pn,xn)=>{var sn;const Fn=_n(pn,xn),St=Math.min(pn+xn.length,te-1);St!==pn&&Fn[pn]!==void 0&&((sn=ln.current[St])===null||sn===void 0||sn.focus()),vr(Fn)},Qt=pn=>{var xn;(xn=ln.current[pn])===null||xn===void 0||xn.focus()},En={variant:Qe,disabled:Ie,status:Je,mask:Tt,type:Le,inputMode:vn};return mn(b.createElement("div",Object.assign({},on,{ref:qt,className:ce()(Ut,{[`${Ut}-sm`]:yn==="small",[`${Ut}-lg`]:yn==="large",[`${Ut}-rtl`]:un==="rtl"},Vt,ft)}),b.createElement(Me.aM.Provider,{value:Wt},Array.from({length:te}).map((pn,xn)=>{const sn=`otp-${xn}`,Fn=qn[xn]||"";return b.createElement(b.Fragment,{key:sn},b.createElement(dt,Object.assign({ref:St=>{ln.current[xn]=St},index:xn,size:yn,htmlSize:1,className:`${Ut}-input`,onChange:dr,value:Fn,onActiveChange:Qt,autoFocus:xn===0&&Et},En)),xn<te-1&&b.createElement(_e,{separator:st,index:xn,prefixCls:Ut}))}))))}),Pe=z(73331),Te=z(15277),we=z(2738),me=z(8654),Ot=z(2171),We=z(23826),Xe=function(xt,le){var ne={};for(var te in xt)Object.prototype.hasOwnProperty.call(xt,te)&&le.indexOf(te)<0&&(ne[te]=xt[te]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(xt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(xt,te[ae])&&(ne[te[ae]]=xt[te[ae]]);return ne};const Xt=xt=>xt?b.createElement(Te.Z,null):b.createElement(Pe.Z,null),Se={click:"onClick",hover:"onMouseOver"};var Mt=b.forwardRef((xt,le)=>{const{disabled:ne,action:te="click",visibilityToggle:ae=!0,iconRender:he=Xt}=xt,re=b.useContext(Ot.Z),ue=ne!=null?ne:re,De=typeof ae=="object"&&ae.visible!==void 0,[st,Qe]=(0,b.useState)(()=>De?ae.visible:!1),Ie=(0,b.useRef)(null);b.useEffect(()=>{De&&Qe(ae.visible)},[De,ae]);const mt=(0,We.Z)(Ie),Et=()=>{var yn;if(ue)return;st&&mt();const Ct=!st;Qe(Ct),typeof ae=="object"&&((yn=ae.onVisibleChange)===null||yn===void 0||yn.call(ae,Ct))},Tt=yn=>{const Ct=Se[te]||"",Je=he(st),Wt={[Ct]:Et,className:`${yn}-icon`,key:"passwordIcon",onMouseDown:qt=>{qt.preventDefault()},onMouseUp:qt=>{qt.preventDefault()}};return b.cloneElement(b.isValidElement(Je)?Je:b.createElement("span",null,Je),Wt)},{className:Le,prefixCls:Ye,inputPrefixCls:vn,size:Ht}=xt,Cn=Xe(xt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:un}=b.useContext(nt.E_),Ut=un("input",vn),on=un("input-password",Ye),mn=ae&&Tt(on),ft=ce()(on,Le,{[`${on}-${Ht}`]:!!Ht}),Vt=Object.assign(Object.assign({},(0,we.Z)(Cn,["suffix","iconRender","visibilityToggle"])),{type:st?"text":"password",className:ft,prefixCls:Ut,suffix:mn});return Ht&&(Vt.size=Ht),b.createElement(Fe.Z,Object.assign({ref:(0,me.sQ)(le,Ie)},Vt))}),Jt=z(47472),Zt=z(22703),pe=z(7939),Re=z(70045),Ue=function(xt,le){var ne={};for(var te in xt)Object.prototype.hasOwnProperty.call(xt,te)&&le.indexOf(te)<0&&(ne[te]=xt[te]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(xt);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(xt,te[ae])&&(ne[te[ae]]=xt[te[ae]]);return ne},rt=b.forwardRef((xt,le)=>{const{prefixCls:ne,inputPrefixCls:te,className:ae,size:he,suffix:re,enterButton:ue=!1,addonAfter:De,loading:st,disabled:Qe,onSearch:Ie,onChange:mt,onCompositionStart:Et,onCompositionEnd:Tt}=xt,Le=Ue(xt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ye,direction:vn}=b.useContext(nt.E_),Ht=b.useRef(!1),Cn=Ye("input-search",ne),un=Ye("input",te),{compactSize:Ut}=(0,Re.ri)(Cn,vn),on=(0,et.Z)(dr=>{var Qt;return(Qt=he!=null?he:Ut)!==null&&Qt!==void 0?Qt:dr}),mn=b.useRef(null),ft=dr=>{dr!=null&&dr.target&&dr.type==="click"&&Ie&&Ie(dr.target.value,dr,{source:"clear"}),mt==null||mt(dr)},Vt=dr=>{var Qt;document.activeElement===((Qt=mn.current)===null||Qt===void 0?void 0:Qt.input)&&dr.preventDefault()},yn=dr=>{var Qt,En;Ie&&Ie((En=(Qt=mn.current)===null||Qt===void 0?void 0:Qt.input)===null||En===void 0?void 0:En.value,dr,{source:"input"})},Ct=dr=>{Ht.current||st||yn(dr)},Je=typeof ue=="boolean"?b.createElement(Jt.Z,null):null,Wt=`${Cn}-button`;let qt;const ln=ue||{},Zn=ln.type&&ln.type.__ANT_BUTTON===!0;Zn||ln.type==="button"?qt=(0,Zt.Tm)(ln,Object.assign({onMouseDown:Vt,onClick:dr=>{var Qt,En;(En=(Qt=ln==null?void 0:ln.props)===null||Qt===void 0?void 0:Qt.onClick)===null||En===void 0||En.call(Qt,dr),yn(dr)},key:"enterButton"},Zn?{className:Wt,size:on}:{})):qt=b.createElement(pe.ZP,{className:Wt,type:ue?"primary":void 0,size:on,disabled:Qe,key:"enterButton",onMouseDown:Vt,onClick:yn,loading:st,icon:Je},ue),De&&(qt=[qt,(0,Zt.Tm)(De,{key:"addonAfter"})]);const qn=ce()(Cn,{[`${Cn}-rtl`]:vn==="rtl",[`${Cn}-${on}`]:!!on,[`${Cn}-with-button`]:!!ue},ae),mr=Object.assign(Object.assign({},Le),{className:qn,prefixCls:un,type:"search"}),vr=dr=>{Ht.current=!0,Et==null||Et(dr)},_n=dr=>{Ht.current=!1,Tt==null||Tt(dr)};return b.createElement(Fe.Z,Object.assign({ref:(0,me.sQ)(mn,le),onPressEnter:Ct},mr,{size:on,onCompositionStart:vr,onCompositionEnd:_n,addonAfter:qt,suffix:re,onChange:ft,disabled:Qe}))}),Kt=z(79809);const ct=Fe.Z;ct.Group=He,ct.Search=rt,ct.TextArea=Kt.Z,ct.Password=Mt,ct.OTP=ut;var fn=ct},24303:function(Yn,dn,z){"use strict";z.d(dn,{D:function(){return ht},Z:function(){return lt}});var b=z(59301),xe=z(54476),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"},nt=ce,Me=z(7657),Ce=function(Pe,Te){return b.createElement(Me.Z,(0,xe.Z)({},Pe,{ref:Te,icon:nt}))},Be=b.forwardRef(Ce),He=Be,Fe=z(33853),de=z(38819),Ke=z(92310),be=z.n(Ke),vt=z(2738),et=z(48755),$e=z(6989),ze=z(36237),je=z(48923),at=z(16931);const Nt=ut=>{const{componentCls:Pe,siderBg:Te,motionDurationMid:we,motionDurationSlow:me,antCls:Ot,triggerHeight:We,triggerColor:Xe,triggerBg:Xt,headerHeight:Se,zeroTriggerWidth:ve,zeroTriggerHeight:Mt,borderRadiusLG:Jt,lightSiderBg:Zt,lightTriggerColor:pe,lightTriggerBg:Re,bodyBg:Ue}=ut;return{[Pe]:{position:"relative",minWidth:0,background:Te,transition:`all ${we}, background 0s`,"&-has-trigger":{paddingBottom:We},"&-right":{order:1},[`${Pe}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ot}-menu${Ot}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Pe}-children`]:{overflow:"hidden"},[`${Pe}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:We,color:Xe,lineHeight:(0,ze.unit)(We),textAlign:"center",background:Xt,cursor:"pointer",transition:`all ${we}`},[`${Pe}-zero-width-trigger`]:{position:"absolute",top:Se,insetInlineEnd:ut.calc(ve).mul(-1).equal(),zIndex:1,width:ve,height:Mt,color:Xe,fontSize:ut.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Te,borderRadius:`0 ${(0,ze.unit)(Jt)} ${(0,ze.unit)(Jt)} 0`,cursor:"pointer",transition:`background ${me} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${me}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ut.calc(ve).mul(-1).equal(),borderRadius:`${(0,ze.unit)(Jt)} 0 0 ${(0,ze.unit)(Jt)}`}},"&-light":{background:Zt,[`${Pe}-trigger`]:{color:pe,background:Re},[`${Pe}-zero-width-trigger`]:{color:pe,background:Re,border:`1px solid ${Ue}`,borderInlineStart:0}}}}};var jt=(0,at.I$)(["Layout","Sider"],ut=>[Nt(ut)],je.eh,{deprecatedTokens:je.jn}),se=function(ut,Pe){var Te={};for(var we in ut)Object.prototype.hasOwnProperty.call(ut,we)&&Pe.indexOf(we)<0&&(Te[we]=ut[we]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,we=Object.getOwnPropertySymbols(ut);me<we.length;me++)Pe.indexOf(we[me])<0&&Object.prototype.propertyIsEnumerable.call(ut,we[me])&&(Te[we[me]]=ut[we[me]]);return Te};const Oe={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},dt=ut=>!Number.isNaN(Number.parseFloat(ut))&&isFinite(ut),ht=b.createContext({}),Rt=(()=>{let ut=0;return function(){let Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ut+=1,`${Pe}${ut}`}})();var lt=b.forwardRef((ut,Pe)=>{const{prefixCls:Te,className:we,trigger:me,children:Ot,defaultCollapsed:We=!1,theme:Xe="dark",style:Xt={},collapsible:Se=!1,reverseArrow:ve=!1,width:Mt=200,collapsedWidth:Jt=80,zeroWidthTriggerStyle:Zt,breakpoint:pe,onCollapse:Re,onBreakpoint:Ue}=ut,tn=se(ut,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:rt}=(0,b.useContext)($e.V),[Kt,ct]=(0,b.useState)("collapsed"in ut?ut.collapsed:We),[fn,xt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in ut&&ct(ut.collapsed)},[ut.collapsed]);const le=(on,mn)=>{"collapsed"in ut||ct(on),Re==null||Re(on,mn)},{getPrefixCls:ne,direction:te}=(0,b.useContext)(et.E_),ae=ne("layout-sider",Te),[he,re,ue]=jt(ae),De=(0,b.useRef)(null);De.current=on=>{xt(on.matches),Ue==null||Ue(on.matches),Kt!==on.matches&&le(on.matches,"responsive")},(0,b.useEffect)(()=>{function on(ft){return De.current(ft)}let mn;if(typeof window!="undefined"){const{matchMedia:ft}=window;if(ft&&pe&&pe in Oe){mn=ft(`screen and (max-width: ${Oe[pe]})`);try{mn.addEventListener("change",on)}catch(Vt){mn.addListener(on)}on(mn)}}return()=>{try{mn==null||mn.removeEventListener("change",on)}catch(ft){mn==null||mn.removeListener(on)}}},[pe]),(0,b.useEffect)(()=>{const on=Rt("ant-sider-");return rt.addSider(on),()=>rt.removeSider(on)},[]);const st=()=>{le(!Kt,"clickTrigger")},Qe=(0,vt.Z)(tn,["collapsed"]),Ie=Kt?Jt:Mt,mt=dt(Ie)?`${Ie}px`:String(Ie),Et=parseFloat(String(Jt||0))===0?b.createElement("span",{onClick:st,className:be()(`${ae}-zero-width-trigger`,`${ae}-zero-width-trigger-${ve?"right":"left"}`),style:Zt},me||b.createElement(He,null)):null,Tt=te==="rtl"==!ve,vn={expanded:Tt?b.createElement(de.Z,null):b.createElement(Fe.Z,null),collapsed:Tt?b.createElement(Fe.Z,null):b.createElement(de.Z,null)}[Kt?"collapsed":"expanded"],Ht=me!==null?Et||b.createElement("div",{className:`${ae}-trigger`,onClick:st,style:{width:mt}},me||vn):null,Cn=Object.assign(Object.assign({},Xt),{flex:`0 0 ${mt}`,maxWidth:mt,minWidth:mt,width:mt}),un=be()(ae,`${ae}-${Xe}`,{[`${ae}-collapsed`]:!!Kt,[`${ae}-has-trigger`]:Se&&me!==null&&!Et,[`${ae}-below`]:!!fn,[`${ae}-zero-width`]:parseFloat(mt)===0},we,re,ue),Ut=b.useMemo(()=>({siderCollapsed:Kt}),[Kt]);return he(b.createElement(ht.Provider,{value:Ut},b.createElement("aside",Object.assign({className:un},Qe,{style:Cn,ref:Pe}),b.createElement("div",{className:`${ae}-children`},Ot),Se||fn&&Et?Ht:null)))})},6989:function(Yn,dn,z){"use strict";z.d(dn,{V:function(){return xe}});var b=z(59301);const xe=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Yn,dn,z){"use strict";z.d(dn,{eh:function(){return nt},jn:function(){return Me}});var b=z(36237),xe=z(16931);const ce=Ce=>{const{antCls:Be,componentCls:He,colorText:Fe,footerBg:de,headerHeight:Ke,headerPadding:be,headerColor:vt,footerPadding:et,fontSize:$e,bodyBg:ze,headerBg:je}=Ce;return{[He]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ze,"&, *":{boxSizing:"border-box"},[`&${He}-has-sider`]:{flexDirection:"row",[`> ${He}, > ${He}-content`]:{width:0}},[`${He}-header, &${He}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${He}-header`]:{height:Ke,padding:be,color:vt,lineHeight:(0,b.unit)(Ke),background:je,[`${Be}-menu`]:{lineHeight:"inherit"}},[`${He}-footer`]:{padding:et,color:Fe,fontSize:$e,background:de},[`${He}-content`]:{flex:"auto",color:Fe,minHeight:0}}},nt=Ce=>{const{colorBgLayout:Be,controlHeight:He,controlHeightLG:Fe,colorText:de,controlHeightSM:Ke,marginXXS:be,colorTextLightSolid:vt,colorBgContainer:et}=Ce,$e=Fe*1.25;return{colorBgHeader:"#001529",colorBgBody:Be,colorBgTrigger:"#002140",bodyBg:Be,headerBg:"#001529",headerHeight:He*2,headerPadding:`0 ${$e}px`,headerColor:de,footerPadding:`${Ke}px ${$e}px`,footerBg:Be,siderBg:"#001529",triggerHeight:Fe+be*2,triggerBg:"#002140",triggerColor:vt,zeroTriggerWidth:Fe,zeroTriggerHeight:Fe,lightSiderBg:et,lightTriggerBg:et,lightTriggerColor:de}},Me=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];dn.ZP=(0,xe.I$)("Layout",Ce=>[ce(Ce)],nt,{deprecatedTokens:Me})},78857:function(Yn,dn,z){"use strict";z.d(dn,{J:function(){return Ce}});var b=z(59301),xe=z(8654),ce=z(62487),nt=function(Be,He){var Fe={};for(var de in Be)Object.prototype.hasOwnProperty.call(Be,de)&&He.indexOf(de)<0&&(Fe[de]=Be[de]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,de=Object.getOwnPropertySymbols(Be);Ke<de.length;Ke++)He.indexOf(de[Ke])<0&&Object.prototype.propertyIsEnumerable.call(Be,de[Ke])&&(Fe[de[Ke]]=Be[de[Ke]]);return Fe};const Me=b.createContext(null),Ce=b.forwardRef((Be,He)=>{const{children:Fe}=Be,de=nt(Be,["children"]),Ke=b.useContext(Me),be=b.useMemo(()=>Object.assign(Object.assign({},Ke),de),[Ke,de.prefixCls,de.mode,de.selectable,de.rootClassName]),vt=(0,xe.t4)(Fe),et=(0,xe.x1)(He,vt?(0,xe.C4)(Fe):null);return b.createElement(Me.Provider,{value:be},b.createElement(ce.Z,{space:!0},vt?b.cloneElement(Fe,{ref:et}):Fe))});dn.Z=Me},93041:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return he}});var b=z(59301),xe=z(28321),ce=z(24303),nt=z(18785),Me=z(92310),Ce=z.n(Me),Be=z(6089),He=z(2738),Fe=z(86641),de=z(22703),Ke=z(48755),be=z(83397),et=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),$e=function(re,ue){var De={};for(var st in re)Object.prototype.hasOwnProperty.call(re,st)&&ue.indexOf(st)<0&&(De[st]=re[st]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,st=Object.getOwnPropertySymbols(re);Qe<st.length;Qe++)ue.indexOf(st[Qe])<0&&Object.prototype.propertyIsEnumerable.call(re,st[Qe])&&(De[st[Qe]]=re[st[Qe]]);return De},je=re=>{const{prefixCls:ue,className:De,dashed:st}=re,Qe=$e(re,["prefixCls","className","dashed"]),{getPrefixCls:Ie}=b.useContext(Ke.E_),mt=Ie("menu",ue),Et=Ce()({[`${mt}-item-divider-dashed`]:!!st},De);return b.createElement(xe.iz,Object.assign({className:Et},Qe))},at=z(11592),Nt=z(25399),se=re=>{var ue;const{className:De,children:st,icon:Qe,title:Ie,danger:mt,extra:Et}=re,{prefixCls:Tt,firstLevel:Le,direction:Ye,disableMenuItemTitleTooltip:vn,inlineCollapsed:Ht}=b.useContext(et),Cn=Vt=>{const yn=st==null?void 0:st[0],Ct=b.createElement("span",{className:Ce()(`${Tt}-title-content`,{[`${Tt}-title-content-with-extra`]:!!Et||Et===0})},st);return(!Qe||b.isValidElement(st)&&st.type==="span")&&st&&Vt&&Le&&typeof yn=="string"?b.createElement("div",{className:`${Tt}-inline-collapsed-noicon`},yn.charAt(0)):Ct},{siderCollapsed:un}=b.useContext(ce.D);let Ut=Ie;typeof Ie=="undefined"?Ut=Le?st:"":Ie===!1&&(Ut="");const on={title:Ut};!un&&!Ht&&(on.title=null,on.open=!1);const mn=(0,at.Z)(st).length;let ft=b.createElement(xe.ck,Object.assign({},(0,He.Z)(re,["title","icon","danger"]),{className:Ce()({[`${Tt}-item-danger`]:mt,[`${Tt}-item-only-child`]:(Qe?mn+1:mn)===1},De),title:typeof Ie=="string"?Ie:void 0}),(0,de.Tm)(Qe,{className:Ce()(b.isValidElement(Qe)?(ue=Qe.props)===null||ue===void 0?void 0:ue.className:"",`${Tt}-item-icon`)}),Cn(Ht));return vn||(ft=b.createElement(Nt.Z,Object.assign({},on,{placement:Ye==="rtl"?"left":"right",classNames:{root:`${Tt}-inline-collapsed-tooltip`}}),ft)),ft},Oe=z(78857),dt=z(36237),ht=z(17835),Rt=z(63356),_e=z(34961),lt=z(46e3),ut=z(34925),Pe=z(16931),Te=z(51636),me=re=>{const{componentCls:ue,motionDurationSlow:De,horizontalLineHeight:st,colorSplit:Qe,lineWidth:Ie,lineType:mt,itemPaddingInline:Et}=re;return{[`${ue}-horizontal`]:{lineHeight:st,border:0,borderBottom:`${(0,dt.unit)(Ie)} ${mt} ${Qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ue}-item, ${ue}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Et},[`> ${ue}-item:hover,
> ${ue}-item-active,
> ${ue}-submenu ${ue}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ue}-item, ${ue}-submenu-title`]:{transition:[`border-color ${De}`,`background ${De}`].join(",")},[`${ue}-submenu-arrow`]:{display:"none"}}}},We=re=>{let{componentCls:ue,menuArrowOffset:De,calc:st}=re;return{[`${ue}-rtl`]:{direction:"rtl"},[`${ue}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ue}-rtl${ue}-vertical,
${ue}-submenu-rtl ${ue}-vertical`]:{[`${ue}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,dt.unit)(st(De).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,dt.unit)(De)})`}}}}};const Xe=re=>Object.assign({},(0,Rt.oN)(re));var Se=(re,ue)=>{const{componentCls:De,itemColor:st,itemSelectedColor:Qe,subMenuItemSelectedColor:Ie,groupTitleColor:mt,itemBg:Et,subMenuItemBg:Tt,itemSelectedBg:Le,activeBarHeight:Ye,activeBarWidth:vn,activeBarBorderWidth:Ht,motionDurationSlow:Cn,motionEaseInOut:un,motionEaseOut:Ut,itemPaddingInline:on,motionDurationMid:mn,itemHoverColor:ft,lineType:Vt,colorSplit:yn,itemDisabledColor:Ct,dangerItemColor:Je,dangerItemHoverColor:Wt,dangerItemSelectedColor:qt,dangerItemActiveBg:ln,dangerItemSelectedBg:Zn,popupBg:qn,itemHoverBg:mr,itemActiveBg:vr,menuSubMenuBg:_n,horizontalItemSelectedColor:dr,horizontalItemSelectedBg:Qt,horizontalItemBorderRadius:En,horizontalItemHoverBg:pn}=re;return{[`${De}-${ue}, ${De}-${ue} > ${De}`]:{color:st,background:Et,[`&${De}-root:focus-visible`]:Object.assign({},Xe(re)),[`${De}-item`]:{"&-group-title, &-extra":{color:mt}},[`${De}-submenu-selected > ${De}-submenu-title`]:{color:Ie},[`${De}-item, ${De}-submenu-title`]:{color:st,[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},Xe(re))},[`${De}-item-disabled, ${De}-submenu-disabled`]:{color:`${Ct} !important`},[`${De}-item:not(${De}-item-selected):not(${De}-submenu-selected)`]:{[`&:hover, > ${De}-submenu-title:hover`]:{color:ft}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:mr},"&:active":{backgroundColor:vr}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:mr},"&:active":{backgroundColor:vr}}},[`${De}-item-danger`]:{color:Je,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:Wt}},[`&${De}-item:active`]:{background:ln}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:Qe,[`&${De}-item-danger`]:{color:qt},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:Le,[`&${De}-item-danger`]:{backgroundColor:Zn}},[`&${De}-submenu > ${De}`]:{backgroundColor:_n},[`&${De}-popup > ${De}`]:{backgroundColor:qn},[`&${De}-submenu-popup > ${De}`]:{backgroundColor:qn},[`&${De}-horizontal`]:Object.assign(Object.assign({},ue==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:Ht,marginTop:re.calc(Ht).mul(-1).equal(),marginBottom:0,borderRadius:En,"&::after":{position:"absolute",insetInline:on,bottom:0,borderBottom:`${(0,dt.unit)(Ye)} solid transparent`,transition:`border-color ${Cn} ${un}`,content:'""'},"&:hover, &-active, &-open":{background:pn,"&::after":{borderBottomWidth:Ye,borderBottomColor:dr}},"&-selected":{color:dr,backgroundColor:Qt,"&:hover":{backgroundColor:Qt},"&::after":{borderBottomWidth:Ye,borderBottomColor:dr}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${(0,dt.unit)(Ht)} ${Vt} ${yn}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:Tt},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,dt.unit)(vn)} solid ${Qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${mn} ${Ut}`,`opacity ${mn} ${Ut}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:qt}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${mn} ${un}`,`opacity ${mn} ${un}`].join(",")}}}}}};const ve=re=>{const{componentCls:ue,itemHeight:De,itemMarginInline:st,padding:Qe,menuArrowSize:Ie,marginXS:mt,itemMarginBlock:Et,itemWidth:Tt,itemPaddingInline:Le}=re,Ye=re.calc(Ie).add(Qe).add(mt).equal();return{[`${ue}-item`]:{position:"relative",overflow:"hidden"},[`${ue}-item, ${ue}-submenu-title`]:{height:De,lineHeight:(0,dt.unit)(De),paddingInline:Le,overflow:"hidden",textOverflow:"ellipsis",marginInline:st,marginBlock:Et,width:Tt},[`> ${ue}-item,
> ${ue}-submenu > ${ue}-submenu-title`]:{height:De,lineHeight:(0,dt.unit)(De)},[`${ue}-item-group-list ${ue}-submenu-title,
${ue}-submenu-title`]:{paddingInlineEnd:Ye}}};var Jt=re=>{const{componentCls:ue,iconCls:De,itemHeight:st,colorTextLightSolid:Qe,dropdownWidth:Ie,controlHeightLG:mt,motionEaseOut:Et,paddingXL:Tt,itemMarginInline:Le,fontSizeLG:Ye,motionDurationFast:vn,motionDurationSlow:Ht,paddingXS:Cn,boxShadowSecondary:un,collapsedWidth:Ut,collapsedIconSize:on}=re,mn={height:st,lineHeight:(0,dt.unit)(st),listStylePosition:"inside",listStyleType:"disc"};return[{[ue]:{"&-inline, &-vertical":Object.assign({[`&${ue}-root`]:{boxShadow:"none"}},ve(re))},[`${ue}-submenu-popup`]:{[`${ue}-vertical`]:Object.assign(Object.assign({},ve(re)),{boxShadow:un})}},{[`${ue}-submenu-popup ${ue}-vertical${ue}-sub`]:{minWidth:Ie,maxHeight:`calc(100vh - ${(0,dt.unit)(re.calc(mt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ue}-inline`]:{width:"100%",[`&${ue}-root`]:{[`${ue}-item, ${ue}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ht}`,`background ${Ht}`,`padding ${vn} ${Et}`].join(","),[`> ${ue}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ue}-sub${ue}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ue}-submenu > ${ue}-submenu-title`]:mn,[`& ${ue}-item-group-title`]:{paddingInlineStart:Tt}},[`${ue}-item`]:mn}},{[`${ue}-inline-collapsed`]:{width:Ut,[`&${ue}-root`]:{[`${ue}-item, ${ue}-submenu ${ue}-submenu-title`]:{[`> ${ue}-inline-collapsed-noicon`]:{fontSize:Ye,textAlign:"center"}}},[`> ${ue}-item,
> ${ue}-item-group > ${ue}-item-group-list > ${ue}-item,
> ${ue}-item-group > ${ue}-item-group-list > ${ue}-submenu > ${ue}-submenu-title,
> ${ue}-submenu > ${ue}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,dt.unit)(re.calc(on).div(2).equal())} - ${(0,dt.unit)(Le)})`,textOverflow:"clip",[`
${ue}-submenu-arrow,
${ue}-submenu-expand-icon
`]:{opacity:0},[`${ue}-item-icon, ${De}`]:{margin:0,fontSize:on,lineHeight:(0,dt.unit)(st),"+ span":{display:"inline-block",opacity:0}}},[`${ue}-item-icon, ${De}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ue}-item-icon, ${De}`]:{display:"none"},"a, a:hover":{color:Qe}},[`${ue}-item-group-title`]:Object.assign(Object.assign({},Rt.vS),{paddingInline:Cn})}}]};const Zt=re=>{const{componentCls:ue,motionDurationSlow:De,motionDurationMid:st,motionEaseInOut:Qe,motionEaseOut:Ie,iconCls:mt,iconSize:Et,iconMarginInlineEnd:Tt}=re;return{[`${ue}-item, ${ue}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${De}`,`background ${De}`,`padding calc(${De} + 0.1s) ${Qe}`].join(","),[`${ue}-item-icon, ${mt}`]:{minWidth:Et,fontSize:Et,transition:[`font-size ${st} ${Ie}`,`margin ${De} ${Qe}`,`color ${De}`].join(","),"+ span":{marginInlineStart:Tt,opacity:1,transition:[`opacity ${De} ${Qe}`,`margin ${De}`,`color ${De}`].join(",")}},[`${ue}-item-icon`]:Object.assign({},(0,Rt.Ro)()),[`&${ue}-item-only-child`]:{[`> ${mt}, > ${ue}-item-icon`]:{marginInlineEnd:0}}},[`${ue}-item-disabled, ${ue}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${ue}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pe=re=>{const{componentCls:ue,motionDurationSlow:De,motionEaseInOut:st,borderRadius:Qe,menuArrowSize:Ie,menuArrowOffset:mt}=re;return{[`${ue}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:re.margin,width:Ie,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${De} ${st}, opacity ${De}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re.calc(Ie).mul(.6).equal(),height:re.calc(Ie).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Qe,transition:[`background ${De} ${st}`,`transform ${De} ${st}`,`top ${De} ${st}`,`color ${De} ${st}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,dt.unit)(re.calc(mt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,dt.unit)(mt)})`}}}}},Re=re=>{const{antCls:ue,componentCls:De,fontSize:st,motionDurationSlow:Qe,motionDurationMid:Ie,motionEaseInOut:mt,paddingXS:Et,padding:Tt,colorSplit:Le,lineWidth:Ye,zIndexPopup:vn,borderRadiusLG:Ht,subMenuItemBorderRadius:Cn,menuArrowSize:un,menuArrowOffset:Ut,lineType:on,groupTitleLineHeight:mn,groupTitleFontSize:ft}=re;return[{"":{[De]:Object.assign(Object.assign({},(0,Rt.dF)()),{"&-hidden":{display:"none"}})},[`${De}-submenu-hidden`]:{display:"none"}},{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Rt.Wf)(re)),(0,Rt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:st,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${De}-item`]:{flex:"none"}},[`${De}-item, ${De}-submenu, ${De}-submenu-title`]:{borderRadius:re.itemBorderRadius},[`${De}-item-group-title`]:{padding:`${(0,dt.unit)(Et)} ${(0,dt.unit)(Tt)}`,fontSize:ft,lineHeight:mn,transition:`all ${Qe}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${Qe} ${mt}`,`background ${Qe} ${mt}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${Qe} ${mt}`,`background ${Qe} ${mt}`,`padding ${Ie} ${mt}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${Qe} ${mt}`,`padding ${Qe} ${mt}`].join(",")},[`${De}-title-content`]:{transition:`color ${Qe}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${ue}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${De}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:re.padding}},[`${De}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${De}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Le,borderStyle:on,borderWidth:0,borderTopWidth:Ye,marginBlock:Ye,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Zt(re)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${(0,dt.unit)(re.calc(st).mul(2).equal())} ${(0,dt.unit)(Tt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:vn,borderRadius:Ht,boxShadow:"none",transformOrigin:"0 0",[`&${De}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${De}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ht},Zt(re)),pe(re)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:Cn},[`${De}-submenu-title::after`]:{transition:`transform ${Qe} ${mt}`}})},"\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:re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:re.paddingXS}}}),pe(re)),{[`&-inline-collapsed ${De}-submenu-arrow,
&-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,dt.unit)(Ut)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,dt.unit)(re.calc(Ut).mul(-1).equal())})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(${(0,dt.unit)(re.calc(un).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,dt.unit)(re.calc(Ut).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,dt.unit)(Ut)})`}}})},{[`${ue}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]},Ue=re=>{var ue,De,st;const{colorPrimary:Qe,colorError:Ie,colorTextDisabled:mt,colorErrorBg:Et,colorText:Tt,colorTextDescription:Le,colorBgContainer:Ye,colorFillAlter:vn,colorFillContent:Ht,lineWidth:Cn,lineWidthBold:un,controlItemBgActive:Ut,colorBgTextHover:on,controlHeightLG:mn,lineHeight:ft,colorBgElevated:Vt,marginXXS:yn,padding:Ct,fontSize:Je,controlHeightSM:Wt,fontSizeLG:qt,colorTextLightSolid:ln,colorErrorHover:Zn}=re,qn=(ue=re.activeBarWidth)!==null&&ue!==void 0?ue:0,mr=(De=re.activeBarBorderWidth)!==null&&De!==void 0?De:Cn,vr=(st=re.itemMarginInline)!==null&&st!==void 0?st:re.marginXXS,_n=new ht.FastColor(ln).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:re.zIndexPopupBase+50,radiusItem:re.borderRadiusLG,itemBorderRadius:re.borderRadiusLG,radiusSubMenuItem:re.borderRadiusSM,subMenuItemBorderRadius:re.borderRadiusSM,colorItemText:Tt,itemColor:Tt,colorItemTextHover:Tt,itemHoverColor:Tt,colorItemTextHoverHorizontal:Qe,horizontalItemHoverColor:Qe,colorGroupTitle:Le,groupTitleColor:Le,colorItemTextSelected:Qe,itemSelectedColor:Qe,subMenuItemSelectedColor:Qe,colorItemTextSelectedHorizontal:Qe,horizontalItemSelectedColor:Qe,colorItemBg:Ye,itemBg:Ye,colorItemBgHover:on,itemHoverBg:on,colorItemBgActive:Ht,itemActiveBg:Ut,colorSubItemBg:vn,subMenuItemBg:vn,colorItemBgSelected:Ut,itemSelectedBg:Ut,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:qn,colorActiveBarHeight:un,activeBarHeight:un,colorActiveBarBorderSize:Cn,activeBarBorderWidth:mr,colorItemTextDisabled:mt,itemDisabledColor:mt,colorDangerItemText:Ie,dangerItemColor:Ie,colorDangerItemTextHover:Ie,dangerItemHoverColor:Ie,colorDangerItemTextSelected:Ie,dangerItemSelectedColor:Ie,colorDangerItemBgActive:Et,dangerItemActiveBg:Et,colorDangerItemBgSelected:Et,dangerItemSelectedBg:Et,itemMarginInline:vr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:mn,groupTitleLineHeight:ft,collapsedWidth:mn*2,popupBg:Vt,itemMarginBlock:yn,itemPaddingInline:Ct,horizontalLineHeight:`${mn*1.15}px`,iconSize:Je,iconMarginInlineEnd:Wt-Je,collapsedIconSize:qt,groupTitleFontSize:Je,darkItemDisabledColor:new ht.FastColor(ln).setA(.25).toRgbString(),darkItemColor:_n,darkDangerItemColor:Ie,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ln,darkItemSelectedBg:Qe,darkDangerItemSelectedBg:Ie,darkItemHoverBg:"transparent",darkGroupTitleColor:_n,darkItemHoverColor:ln,darkDangerItemHoverColor:Zn,darkDangerItemSelectedColor:ln,darkDangerItemActiveBg:Ie,itemWidth:qn?`calc(100% + ${mr}px)`:`calc(100% - ${vr*2}px)`}};var tn=function(re){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re,De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Pe.I$)("Menu",Qe=>{const{colorBgElevated:Ie,controlHeightLG:mt,fontSize:Et,darkItemColor:Tt,darkDangerItemColor:Le,darkItemBg:Ye,darkSubMenuItemBg:vn,darkItemSelectedColor:Ht,darkItemSelectedBg:Cn,darkDangerItemSelectedBg:un,darkItemHoverBg:Ut,darkGroupTitleColor:on,darkItemHoverColor:mn,darkItemDisabledColor:ft,darkDangerItemHoverColor:Vt,darkDangerItemSelectedColor:yn,darkDangerItemActiveBg:Ct,popupBg:Je,darkPopupBg:Wt}=Qe,qt=Qe.calc(Et).div(7).mul(5).equal(),ln=(0,Te.mergeToken)(Qe,{menuArrowSize:qt,menuHorizontalHeight:Qe.calc(mt).mul(1.15).equal(),menuArrowOffset:Qe.calc(qt).mul(.25).equal(),menuSubMenuBg:Ie,calc:Qe.calc,popupBg:Je}),Zn=(0,Te.mergeToken)(ln,{itemColor:Tt,itemHoverColor:mn,groupTitleColor:on,itemSelectedColor:Ht,subMenuItemSelectedColor:Ht,itemBg:Ye,popupBg:Wt,subMenuItemBg:vn,itemActiveBg:"transparent",itemSelectedBg:Cn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ut,itemDisabledColor:ft,dangerItemColor:Le,dangerItemHoverColor:Vt,dangerItemSelectedColor:yn,dangerItemActiveBg:Ct,dangerItemSelectedBg:un,menuSubMenuBg:vn,horizontalItemSelectedColor:Ht,horizontalItemSelectedBg:Cn});return[Re(ln),me(ln),Jt(ln),Se(ln,"light"),Se(Zn,"dark"),We(ln),(0,_e.Z)(ln),(0,lt.oN)(ln,"slide-up"),(0,lt.oN)(ln,"slide-down"),(0,ut._y)(ln,"zoom-big")]},Ue,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:De,unitless:{groupTitleLineHeight:!0}})(re,ue)},rt=z(75030),ct=re=>{var ue;const{popupClassName:De,icon:st,title:Qe,theme:Ie}=re,mt=b.useContext(et),{prefixCls:Et,inlineCollapsed:Tt,theme:Le}=mt,Ye=(0,xe.Xl)();let vn;if(!st)vn=Tt&&!Ye.length&&Qe&&typeof Qe=="string"?b.createElement("div",{className:`${Et}-inline-collapsed-noicon`},Qe.charAt(0)):b.createElement("span",{className:`${Et}-title-content`},Qe);else{const un=b.isValidElement(Qe)&&Qe.type==="span";vn=b.createElement(b.Fragment,null,(0,de.Tm)(st,{className:Ce()(b.isValidElement(st)?(ue=st.props)===null||ue===void 0?void 0:ue.className:"",`${Et}-item-icon`)}),un?Qe:b.createElement("span",{className:`${Et}-title-content`},Qe))}const Ht=b.useMemo(()=>Object.assign(Object.assign({},mt),{firstLevel:!1}),[mt]),[Cn]=(0,rt.Cn)("Menu");return b.createElement(et.Provider,{value:Ht},b.createElement(xe.Wd,Object.assign({},(0,He.Z)(re,["icon"]),{title:vn,popupClassName:Ce()(Et,De,`${Et}-${Ie||Le}`),popupStyle:Object.assign({zIndex:Cn},re.popupStyle)})))},fn=function(re,ue){var De={};for(var st in re)Object.prototype.hasOwnProperty.call(re,st)&&ue.indexOf(st)<0&&(De[st]=re[st]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,st=Object.getOwnPropertySymbols(re);Qe<st.length;Qe++)ue.indexOf(st[Qe])<0&&Object.prototype.propertyIsEnumerable.call(re,st[Qe])&&(De[st[Qe]]=re[st[Qe]]);return De};function xt(re){return re===null||re===!1}const le={item:se,submenu:ct,divider:je};var te=(0,b.forwardRef)((re,ue)=>{var De;const st=b.useContext(Oe.Z),Qe=st||{},{getPrefixCls:Ie,getPopupContainer:mt,direction:Et,menu:Tt}=b.useContext(Ke.E_),Le=Ie(),{prefixCls:Ye,className:vn,style:Ht,theme:Cn="light",expandIcon:un,_internalDisableMenuItemTitleTooltip:Ut,inlineCollapsed:on,siderCollapsed:mn,rootClassName:ft,mode:Vt,selectable:yn,onClick:Ct,overflowedIndicatorPopupClassName:Je}=re,Wt=fn(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),qt=(0,He.Z)(Wt,["collapsedWidth"]);(De=Qe.validator)===null||De===void 0||De.call(Qe,{mode:Vt});const ln=(0,Be.Z)(function(){var St;Ct==null||Ct.apply(void 0,arguments),(St=Qe.onClick)===null||St===void 0||St.call(Qe)}),Zn=Qe.mode||Vt,qn=yn!=null?yn:Qe.selectable,mr=on!=null?on:mn,vr={horizontal:{motionName:`${Le}-slide-up`},inline:(0,Fe.Z)(Le),other:{motionName:`${Le}-zoom-big`}},_n=Ie("menu",Ye||Qe.prefixCls),dr=(0,be.Z)(_n),[Qt,En,pn]=tn(_n,dr,!st),xn=Ce()(`${_n}-${Cn}`,Tt==null?void 0:Tt.className,vn),sn=b.useMemo(()=>{var St,Sn;if(typeof un=="function"||xt(un))return un||null;if(typeof Qe.expandIcon=="function"||xt(Qe.expandIcon))return Qe.expandIcon||null;if(typeof(Tt==null?void 0:Tt.expandIcon)=="function"||xt(Tt==null?void 0:Tt.expandIcon))return(Tt==null?void 0:Tt.expandIcon)||null;const Bt=(St=un!=null?un:Qe==null?void 0:Qe.expandIcon)!==null&&St!==void 0?St:Tt==null?void 0:Tt.expandIcon;return(0,de.Tm)(Bt,{className:Ce()(`${_n}-submenu-expand-icon`,b.isValidElement(Bt)?(Sn=Bt.props)===null||Sn===void 0?void 0:Sn.className:void 0)})},[un,Qe==null?void 0:Qe.expandIcon,Tt==null?void 0:Tt.expandIcon,_n]),Fn=b.useMemo(()=>({prefixCls:_n,inlineCollapsed:mr||!1,direction:Et,firstLevel:!0,theme:Cn,mode:Zn,disableMenuItemTitleTooltip:Ut}),[_n,mr,Et,Ut,Cn]);return Qt(b.createElement(Oe.Z.Provider,{value:null},b.createElement(et.Provider,{value:Fn},b.createElement(xe.ZP,Object.assign({getPopupContainer:mt,overflowedIndicator:b.createElement(nt.Z,null),overflowedIndicatorPopupClassName:Ce()(_n,`${_n}-${Cn}`,Je),mode:Zn,selectable:qn,onClick:ln},qt,{inlineCollapsed:mr,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Ht),className:xn,prefixCls:_n,direction:Et,defaultMotions:vr,expandIcon:sn,ref:ue,rootClassName:Ce()(ft,En,Qe.rootClassName,pn,dr),_internalComponents:le})))))});const ae=(0,b.forwardRef)((re,ue)=>{const De=(0,b.useRef)(null),st=b.useContext(ce.D);return(0,b.useImperativeHandle)(ue,()=>({menu:De.current,focus:Qe=>{var Ie;(Ie=De.current)===null||Ie===void 0||Ie.focus(Qe)}})),b.createElement(te,Object.assign({ref:De},re,st))});ae.Item=se,ae.SubMenu=ct,ae.Divider=je,ae.ItemGroup=xe.BW;var he=ae},31709:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return Tt}});var b=z(59301),xe=z(54476),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"},nt=ce,Me=z(7657),Ce=function(Ye,vn){return b.createElement(Me.Z,(0,xe.Z)({},Ye,{ref:vn,icon:nt}))},Be=b.forwardRef(Ce),He=Be,Fe=z(49198),de=z(33853),Ke=z(38819),be=z(92310),vt=z.n(be),et=z(20068),$e=z(76190),ze=z(33885),je=z(42978),at=z(18929),Nt=z(10228),jt=z(26112),se=z(48736),Oe=z(17119),dt=[10,20,50,100],ht=function(Ye){var vn=Ye.pageSizeOptions,Ht=vn===void 0?dt:vn,Cn=Ye.locale,un=Ye.changeSize,Ut=Ye.pageSize,on=Ye.goButton,mn=Ye.quickGo,ft=Ye.rootPrefixCls,Vt=Ye.disabled,yn=Ye.buildOptionText,Ct=Ye.showSizeChanger,Je=Ye.sizeChangerRender,Wt=b.useState(""),qt=(0,je.Z)(Wt,2),ln=qt[0],Zn=qt[1],qn=function(){return!ln||Number.isNaN(ln)?void 0:Number(ln)},mr=typeof yn=="function"?yn:function(Fn){return"".concat(Fn," ").concat(Cn.items_per_page)},vr=function(St){Zn(St.target.value)},_n=function(St){on||ln===""||(Zn(""),!(St.relatedTarget&&(St.relatedTarget.className.indexOf("".concat(ft,"-item-link"))>=0||St.relatedTarget.className.indexOf("".concat(ft,"-item"))>=0))&&(mn==null||mn(qn())))},dr=function(St){ln!==""&&(St.keyCode===Nt.Z.ENTER||St.type==="click")&&(Zn(""),mn==null||mn(qn()))},Qt=function(){return Ht.some(function(St){return St.toString()===Ut.toString()})?Ht:Ht.concat([Ut]).sort(function(St,Sn){var Bt=Number.isNaN(Number(St))?0:Number(St),hn=Number.isNaN(Number(Sn))?0:Number(Sn);return Bt-hn})},En="".concat(ft,"-options");if(!Ct&&!mn)return null;var pn=null,xn=null,sn=null;return Ct&&Je&&(pn=Je({disabled:Vt,size:Ut,onSizeChange:function(St){un==null||un(Number(St))},"aria-label":Cn.page_size,className:"".concat(En,"-size-changer"),options:Qt().map(function(Fn){return{label:mr(Fn),value:Fn}})})),mn&&(on&&(sn=typeof on=="boolean"?b.createElement("button",{type:"button",onClick:dr,onKeyUp:dr,disabled:Vt,className:"".concat(En,"-quick-jumper-button")},Cn.jump_to_confirm):b.createElement("span",{onClick:dr,onKeyUp:dr},on)),xn=b.createElement("div",{className:"".concat(En,"-quick-jumper")},Cn.jump_to,b.createElement("input",{disabled:Vt,type:"text",value:ln,onChange:vr,onKeyUp:dr,onBlur:_n,"aria-label":Cn.page}),Cn.page,sn)),b.createElement("li",{className:En},pn,xn)},Rt=ht,_e=function(Ye){var vn=Ye.rootPrefixCls,Ht=Ye.page,Cn=Ye.active,un=Ye.className,Ut=Ye.showTitle,on=Ye.onClick,mn=Ye.onKeyPress,ft=Ye.itemRender,Vt="".concat(vn,"-item"),yn=vt()(Vt,"".concat(Vt,"-").concat(Ht),(0,et.Z)((0,et.Z)({},"".concat(Vt,"-active"),Cn),"".concat(Vt,"-disabled"),!Ht),un),Ct=function(){on(Ht)},Je=function(ln){mn(ln,on,Ht)},Wt=ft(Ht,"page",b.createElement("a",{rel:"nofollow"},Ht));return Wt?b.createElement("li",{title:Ut?String(Ht):null,className:yn,onClick:Ct,onKeyDown:Je,tabIndex:0},Wt):null},lt=_e,ut=function(Ye,vn,Ht){return Ht};function Pe(){}function Te(Le){var Ye=Number(Le);return typeof Ye=="number"&&!Number.isNaN(Ye)&&isFinite(Ye)&&Math.floor(Ye)===Ye}function we(Le,Ye,vn){var Ht=typeof Le=="undefined"?Ye:Le;return Math.floor((vn-1)/Ht)+1}var me=function(Ye){var vn=Ye.prefixCls,Ht=vn===void 0?"rc-pagination":vn,Cn=Ye.selectPrefixCls,un=Cn===void 0?"rc-select":Cn,Ut=Ye.className,on=Ye.current,mn=Ye.defaultCurrent,ft=mn===void 0?1:mn,Vt=Ye.total,yn=Vt===void 0?0:Vt,Ct=Ye.pageSize,Je=Ye.defaultPageSize,Wt=Je===void 0?10:Je,qt=Ye.onChange,ln=qt===void 0?Pe:qt,Zn=Ye.hideOnSinglePage,qn=Ye.align,mr=Ye.showPrevNextJumpers,vr=mr===void 0?!0:mr,_n=Ye.showQuickJumper,dr=Ye.showLessItems,Qt=Ye.showTitle,En=Qt===void 0?!0:Qt,pn=Ye.onShowSizeChange,xn=pn===void 0?Pe:pn,sn=Ye.locale,Fn=sn===void 0?Oe.Z:sn,St=Ye.style,Sn=Ye.totalBoundaryShowSizeChanger,Bt=Sn===void 0?50:Sn,hn=Ye.disabled,An=Ye.simple,On=Ye.showTotal,Ln=Ye.showSizeChanger,nr=Ln===void 0?yn>Bt:Ln,Xn=Ye.sizeChangerRender,nn=Ye.pageSizeOptions,Pn=Ye.itemRender,en=Pn===void 0?ut:Pn,er=Ye.jumpPrevIcon,Dt=Ye.jumpNextIcon,Gt=Ye.prevIcon,Ze=Ye.nextIcon,gt=b.useRef(null),Ve=(0,at.Z)(10,{value:Ct,defaultValue:Wt}),yt=(0,je.Z)(Ve,2),_t=yt[0],rr=yt[1],ar=(0,at.Z)(1,{value:on,defaultValue:ft,postState:function(Oi){return Math.max(1,Math.min(Oi,we(void 0,_t,yn)))}}),pt=(0,je.Z)(ar,2),bt=pt[0],Pt=pt[1],zt=b.useState(bt),Bn=(0,je.Z)(zt,2),Hn=Bn[0],Rn=Bn[1];(0,b.useEffect)(function(){Rn(bt)},[bt]);var Un=ln!==Pe,pr="current"in Ye,Ar=Math.max(1,bt-(dr?3:5)),Vr=Math.min(we(void 0,_t,yn),bt+(dr?3:5));function Br(Hi,Oi){var Wo=Hi||b.createElement("button",{type:"button","aria-label":Oi,className:"".concat(Ht,"-item-link")});return typeof Hi=="function"&&(Wo=b.createElement(Hi,(0,ze.Z)({},Ye))),Wo}function fr(Hi){var Oi=Hi.target.value,Wo=we(void 0,_t,yn),zo;return Oi===""?zo=Oi:Number.isNaN(Number(Oi))?zo=Hn:Oi>=Wo?zo=Wo:zo=Number(Oi),zo}function Pr(Hi){return Te(Hi)&&Hi!==bt&&Te(yn)&&yn>0}var kr=yn>_t?_n:!1;function $r(Hi){(Hi.keyCode===Nt.Z.UP||Hi.keyCode===Nt.Z.DOWN)&&Hi.preventDefault()}function Xr(Hi){var Oi=fr(Hi);switch(Oi!==Hn&&Rn(Oi),Hi.keyCode){case Nt.Z.ENTER:ur(Oi);break;case Nt.Z.UP:ur(Oi-1);break;case Nt.Z.DOWN:ur(Oi+1);break;default:break}}function mi(Hi){ur(fr(Hi))}function yr(Hi){var Oi=we(Hi,_t,yn),Wo=bt>Oi&&Oi!==0?Oi:bt;rr(Hi),Rn(Wo),xn==null||xn(bt,Hi),Pt(Wo),ln==null||ln(Wo,Hi)}function ur(Hi){if(Pr(Hi)&&!hn){var Oi=we(void 0,_t,yn),Wo=Hi;return Hi>Oi?Wo=Oi:Hi<1&&(Wo=1),Wo!==Hn&&Rn(Wo),Pt(Wo),ln==null||ln(Wo,_t),Wo}return bt}var gr=bt>1,ni=bt<we(void 0,_t,yn);function Kr(){gr&&ur(bt-1)}function wr(){ni&&ur(bt+1)}function Rr(){ur(Ar)}function hi(){ur(Vr)}function Qr(Hi,Oi){if(Hi.key==="Enter"||Hi.charCode===Nt.Z.ENTER||Hi.keyCode===Nt.Z.ENTER){for(var Wo=arguments.length,zo=new Array(Wo>2?Wo-2:0),Xo=2;Xo<Wo;Xo++)zo[Xo-2]=arguments[Xo];Oi.apply(void 0,zo)}}function qr(Hi){Qr(Hi,Kr)}function ei(Hi){Qr(Hi,wr)}function Ni(Hi){Qr(Hi,Rr)}function $i(Hi){Qr(Hi,hi)}function _i(Hi){var Oi=en(Hi,"prev",Br(Gt,"prev page"));return b.isValidElement(Oi)?b.cloneElement(Oi,{disabled:!gr}):Oi}function ki(Hi){var Oi=en(Hi,"next",Br(Ze,"next page"));return b.isValidElement(Oi)?b.cloneElement(Oi,{disabled:!ni}):Oi}function io(Hi){(Hi.type==="click"||Hi.keyCode===Nt.Z.ENTER)&&ur(Hn)}var ke=null,tt=(0,jt.Z)(Ye,{aria:!0,data:!0}),Ft=On&&b.createElement("li",{className:"".concat(Ht,"-total-text")},On(yn,[yn===0?0:(bt-1)*_t+1,bt*_t>yn?yn:bt*_t])),an=null,cn=we(void 0,_t,yn);if(Zn&&yn<=_t)return null;var Lt=[],it={rootPrefixCls:Ht,onClick:ur,onKeyPress:Qr,showTitle:En,itemRender:en,page:-1},It=bt-1>0?bt-1:0,$t=bt+1<cn?bt+1:cn,Nn=_n&&_n.goButton,zn=(0,$e.Z)(An)==="object"?An.readOnly:!An,Dn=Nn,jn=null;An&&(Nn&&(typeof Nn=="boolean"?Dn=b.createElement("button",{type:"button",onClick:io,onKeyUp:io},Fn.jump_to_confirm):Dn=b.createElement("span",{onClick:io,onKeyUp:io},Nn),Dn=b.createElement("li",{title:En?"".concat(Fn.jump_to).concat(bt,"/").concat(cn):null,className:"".concat(Ht,"-simple-pager")},Dn)),jn=b.createElement("li",{title:En?"".concat(bt,"/").concat(cn):null,className:"".concat(Ht,"-simple-pager")},zn?Hn:b.createElement("input",{type:"text","aria-label":Fn.jump_to,value:Hn,disabled:hn,onKeyDown:$r,onKeyUp:Xr,onChange:Xr,onBlur:mi,size:3}),b.createElement("span",{className:"".concat(Ht,"-slash")},"/"),cn));var Jn=dr?1:2;if(cn<=3+Jn*2){cn||Lt.push(b.createElement(lt,(0,xe.Z)({},it,{key:"noPager",page:1,className:"".concat(Ht,"-item-disabled")})));for(var Cr=1;Cr<=cn;Cr+=1)Lt.push(b.createElement(lt,(0,xe.Z)({},it,{key:Cr,page:Cr,active:bt===Cr})))}else{var br=dr?Fn.prev_3:Fn.prev_5,Wr=dr?Fn.next_3:Fn.next_5,Jr=en(Ar,"jump-prev",Br(er,"prev page")),gi=en(Vr,"jump-next",Br(Dt,"next page"));vr&&(ke=Jr?b.createElement("li",{title:En?br:null,key:"prev",onClick:Rr,tabIndex:0,onKeyDown:Ni,className:vt()("".concat(Ht,"-jump-prev"),(0,et.Z)({},"".concat(Ht,"-jump-prev-custom-icon"),!!er))},Jr):null,an=gi?b.createElement("li",{title:En?Wr:null,key:"next",onClick:hi,tabIndex:0,onKeyDown:$i,className:vt()("".concat(Ht,"-jump-next"),(0,et.Z)({},"".concat(Ht,"-jump-next-custom-icon"),!!Dt))},gi):null);var oi=Math.max(1,bt-Jn),Pi=Math.min(bt+Jn,cn);bt-1<=Jn&&(Pi=1+Jn*2),cn-bt<=Jn&&(oi=cn-Jn*2);for(var ci=oi;ci<=Pi;ci+=1)Lt.push(b.createElement(lt,(0,xe.Z)({},it,{key:ci,page:ci,active:bt===ci})));if(bt-1>=Jn*2&&bt!==3&&(Lt[0]=b.cloneElement(Lt[0],{className:vt()("".concat(Ht,"-item-after-jump-prev"),Lt[0].props.className)}),Lt.unshift(ke)),cn-bt>=Jn*2&&bt!==cn-2){var di=Lt[Lt.length-1];Lt[Lt.length-1]=b.cloneElement(di,{className:vt()("".concat(Ht,"-item-before-jump-next"),di.props.className)}),Lt.push(an)}oi!==1&&Lt.unshift(b.createElement(lt,(0,xe.Z)({},it,{key:1,page:1}))),Pi!==cn&&Lt.push(b.createElement(lt,(0,xe.Z)({},it,{key:cn,page:cn})))}var yi=_i(It);if(yi){var Ii=!gr||!cn;yi=b.createElement("li",{title:En?Fn.prev_page:null,onClick:Kr,tabIndex:Ii?null:0,onKeyDown:qr,className:vt()("".concat(Ht,"-prev"),(0,et.Z)({},"".concat(Ht,"-disabled"),Ii)),"aria-disabled":Ii},yi)}var no=ki($t);if(no){var So,bo;An?(So=!ni,bo=gr?0:null):(So=!ni||!cn,bo=So?null:0),no=b.createElement("li",{title:En?Fn.next_page:null,onClick:wr,tabIndex:bo,onKeyDown:ei,className:vt()("".concat(Ht,"-next"),(0,et.Z)({},"".concat(Ht,"-disabled"),So)),"aria-disabled":So},no)}var Ko=vt()(Ht,Ut,(0,et.Z)((0,et.Z)((0,et.Z)((0,et.Z)((0,et.Z)({},"".concat(Ht,"-start"),qn==="start"),"".concat(Ht,"-center"),qn==="center"),"".concat(Ht,"-end"),qn==="end"),"".concat(Ht,"-simple"),An),"".concat(Ht,"-disabled"),hn));return b.createElement("ul",(0,xe.Z)({className:Ko,style:St,ref:gt},tt),Ft,yi,An?jn:Lt,no,b.createElement(Rt,{locale:Fn,rootPrefixCls:Ht,disabled:hn,selectPrefixCls:un,changeSize:yr,pageSize:_t,pageSizeOptions:nn,quickGo:kr?ur:null,goButton:Dn,showSizeChanger:nr,sizeChangerRender:Xn}))},Ot=me,We=z(61852),Xe=z(48755),Xt=z(31756),Se=z(13783),ve=z(9017),Mt=z(82326),Jt=z(57700),Zt=z(36237),pe=z(53075),Re=z(64910),Ue=z(39082),tn=z(63356),rt=z(51636),Kt=z(16931);const ct=Le=>{const{componentCls:Ye}=Le;return{[`${Ye}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ye}-disabled`]:{cursor:"not-allowed",[`${Ye}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Le.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Le.colorBorder,backgroundColor:Le.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Le.itemActiveBgDisabled},a:{color:Le.itemActiveColorDisabled}}},[`${Ye}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ye}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ye}-simple-pager`]:{color:Le.colorTextDisabled},[`${Ye}-jump-prev, ${Ye}-jump-next`]:{[`${Ye}-item-link-icon`]:{opacity:0},[`${Ye}-item-ellipsis`]:{opacity:1}}},[`&${Ye}-simple`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&${Ye}-disabled ${Ye}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},fn=Le=>{const{componentCls:Ye}=Le;return{[`&${Ye}-mini ${Ye}-total-text, &${Ye}-mini ${Ye}-simple-pager`]:{height:Le.itemSizeSM,lineHeight:(0,Zt.unit)(Le.itemSizeSM)},[`&${Ye}-mini ${Ye}-item`]:{minWidth:Le.itemSizeSM,height:Le.itemSizeSM,margin:0,lineHeight:(0,Zt.unit)(Le.calc(Le.itemSizeSM).sub(2).equal())},[`&${Ye}-mini ${Ye}-prev, &${Ye}-mini ${Ye}-next`]:{minWidth:Le.itemSizeSM,height:Le.itemSizeSM,margin:0,lineHeight:(0,Zt.unit)(Le.itemSizeSM)},[`&${Ye}-mini:not(${Ye}-disabled)`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&:hover ${Ye}-item-link`]:{backgroundColor:Le.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:Le.colorBgTextActive},[`&${Ye}-disabled:hover ${Ye}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ye}-mini ${Ye}-prev ${Ye}-item-link,
&${Ye}-mini ${Ye}-next ${Ye}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Le.itemSizeSM,lineHeight:(0,Zt.unit)(Le.itemSizeSM)}},[`&${Ye}-mini ${Ye}-jump-prev, &${Ye}-mini ${Ye}-jump-next`]:{height:Le.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Zt.unit)(Le.itemSizeSM)},[`&${Ye}-mini ${Ye}-options`]:{marginInlineStart:Le.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Le.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Le.itemSizeSM,lineHeight:(0,Zt.unit)(Le.itemSizeSM),input:Object.assign(Object.assign({},(0,pe.x0)(Le)),{width:Le.paginationMiniQuickJumperInputWidth,height:Le.controlHeightSM})}}}},xt=Le=>{const{componentCls:Ye}=Le;return{[`
&${Ye}-simple ${Ye}-prev,
&${Ye}-simple ${Ye}-next
`]:{height:Le.itemSizeSM,lineHeight:(0,Zt.unit)(Le.itemSizeSM),verticalAlign:"top",[`${Ye}-item-link`]:{height:Le.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive},"&::after":{height:Le.itemSizeSM,lineHeight:(0,Zt.unit)(Le.itemSizeSM)}}},[`&${Ye}-simple ${Ye}-simple-pager`]:{display:"inline-block",height:Le.itemSizeSM,marginInlineEnd:Le.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Zt.unit)(Le.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:Le.itemInputBg,border:`${(0,Zt.unit)(Le.lineWidth)} ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadius,outline:"none",transition:`border-color ${Le.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Le.colorPrimary},"&:focus":{borderColor:Le.colorPrimaryHover,boxShadow:`${(0,Zt.unit)(Le.inputOutlineOffset)} 0 ${(0,Zt.unit)(Le.controlOutlineWidth)} ${Le.controlOutline}`},"&[disabled]":{color:Le.colorTextDisabled,backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,cursor:"not-allowed"}}}}},le=Le=>{const{componentCls:Ye}=Le;return{[`${Ye}-jump-prev, ${Ye}-jump-next`]:{outline:0,[`${Ye}-item-container`]:{position:"relative",[`${Ye}-item-link-icon`]:{color:Le.colorPrimary,fontSize:Le.fontSizeSM,opacity:0,transition:`all ${Le.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ye}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Le.colorTextDisabled,letterSpacing:Le.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Le.paginationEllipsisTextIndent,opacity:1,transition:`all ${Le.motionDurationMid}`}},"&:hover":{[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}}},[`
${Ye}-prev,
${Ye}-jump-prev,
${Ye}-jump-next
`]:{marginInlineEnd:Le.marginXS},[`
${Ye}-prev,
${Ye}-next,
${Ye}-jump-prev,
${Ye}-jump-next
`]:{display:"inline-block",minWidth:Le.itemSize,height:Le.itemSize,color:Le.colorText,fontFamily:Le.fontFamily,lineHeight:(0,Zt.unit)(Le.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Le.borderRadius,cursor:"pointer",transition:`all ${Le.motionDurationMid}`},[`${Ye}-prev, ${Ye}-next`]:{outline:0,button:{color:Le.colorText,cursor:"pointer",userSelect:"none"},[`${Ye}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Le.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Zt.unit)(Le.lineWidth)} ${Le.lineType} transparent`,borderRadius:Le.borderRadius,outline:"none",transition:`all ${Le.motionDurationMid}`},[`&:hover ${Ye}-item-link`]:{backgroundColor:Le.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:Le.colorBgTextActive},[`&${Ye}-disabled:hover`]:{[`${Ye}-item-link`]:{backgroundColor:"transparent"}}},[`${Ye}-slash`]:{marginInlineEnd:Le.paginationSlashMarginInlineEnd,marginInlineStart:Le.paginationSlashMarginInlineStart},[`${Ye}-options`]:{display:"inline-block",marginInlineStart:Le.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Le.controlHeight,marginInlineStart:Le.marginXS,lineHeight:(0,Zt.unit)(Le.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,pe.ik)(Le)),(0,Ue.$U)(Le,{borderColor:Le.colorBorder,hoverBorderColor:Le.colorPrimaryHover,activeBorderColor:Le.colorPrimary,activeShadow:Le.activeShadow})),{"&[disabled]":Object.assign({},(0,Ue.Xy)(Le)),width:Le.calc(Le.controlHeightLG).mul(1.25).equal(),height:Le.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Le.marginXS,marginInlineEnd:Le.marginXS})}}}},ne=Le=>{const{componentCls:Ye}=Le;return{[`${Ye}-item`]:{display:"inline-block",minWidth:Le.itemSize,height:Le.itemSize,marginInlineEnd:Le.marginXS,fontFamily:Le.fontFamily,lineHeight:(0,Zt.unit)(Le.calc(Le.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:Le.itemBg,border:`${(0,Zt.unit)(Le.lineWidth)} ${Le.lineType} transparent`,borderRadius:Le.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Zt.unit)(Le.paginationItemPaddingInline)}`,color:Le.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ye}-item-active)`]:{"&:hover":{transition:`all ${Le.motionDurationMid}`,backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive}},"&-active":{fontWeight:Le.fontWeightStrong,backgroundColor:Le.itemActiveBg,borderColor:Le.colorPrimary,a:{color:Le.colorPrimary},"&:hover":{borderColor:Le.colorPrimaryHover},"&:hover a":{color:Le.colorPrimaryHover}}}}},te=Le=>{const{componentCls:Ye}=Le;return{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,tn.Wf)(Le)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ye}-total-text`]:{display:"inline-block",height:Le.itemSize,marginInlineEnd:Le.marginXS,lineHeight:(0,Zt.unit)(Le.calc(Le.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ne(Le)),le(Le)),xt(Le)),fn(Le)),ct(Le)),{[`@media only screen and (max-width: ${Le.screenLG}px)`]:{[`${Ye}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Le.screenSM}px)`]:{[`${Ye}-options`]:{display:"none"}}}),[`&${Le.componentCls}-rtl`]:{direction:"rtl"}}},ae=Le=>{const{componentCls:Ye}=Le;return{[`${Ye}:not(${Ye}-disabled)`]:{[`${Ye}-item`]:Object.assign({},(0,tn.Qy)(Le)),[`${Ye}-jump-prev, ${Ye}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}},(0,tn.oN)(Le))},[`${Ye}-prev, ${Ye}-next`]:{[`&:focus-visible ${Ye}-item-link`]:Object.assign({},(0,tn.oN)(Le))}}}},he=Le=>Object.assign({itemBg:Le.colorBgContainer,itemSize:Le.controlHeight,itemSizeSM:Le.controlHeightSM,itemActiveBg:Le.colorBgContainer,itemLinkBg:Le.colorBgContainer,itemActiveColorDisabled:Le.colorTextDisabled,itemActiveBgDisabled:Le.controlItemBgActiveDisabled,itemInputBg:Le.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Re.T)(Le)),re=Le=>(0,rt.mergeToken)(Le,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Le.calc(Le.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:Le.calc(Le.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:Le.calc(Le.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:Le.calc(Le.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:Le.marginSM,paginationSlashMarginInlineEnd:Le.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Re.e)(Le));var ue=(0,Kt.I$)("Pagination",Le=>{const Ye=re(Le);return[te(Ye),ae(Ye)]},he);const De=Le=>{const{componentCls:Ye}=Le;return{[`${Ye}${Ye}-bordered${Ye}-disabled:not(${Ye}-mini)`]:{"&, &:hover":{[`${Ye}-item-link`]:{borderColor:Le.colorBorder}},"&:focus-visible":{[`${Ye}-item-link`]:{borderColor:Le.colorBorder}},[`${Ye}-item, ${Ye}-item-link`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,[`&:hover:not(${Ye}-item-active)`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,a:{color:Le.colorTextDisabled}},[`&${Ye}-item-active`]:{backgroundColor:Le.itemActiveBgDisabled}},[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,color:Le.colorTextDisabled},[`${Ye}-item-link`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder}}},[`${Ye}${Ye}-bordered:not(${Ye}-mini)`]:{[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{borderColor:Le.colorPrimaryHover,backgroundColor:Le.itemBg},[`${Ye}-item-link`]:{backgroundColor:Le.itemLinkBg,borderColor:Le.colorBorder},[`&:hover ${Ye}-item-link`]:{borderColor:Le.colorPrimary,backgroundColor:Le.itemBg,color:Le.colorPrimary},[`&${Ye}-disabled`]:{[`${Ye}-item-link`]:{borderColor:Le.colorBorder,color:Le.colorTextDisabled}}},[`${Ye}-item`]:{backgroundColor:Le.itemBg,border:`${(0,Zt.unit)(Le.lineWidth)} ${Le.lineType} ${Le.colorBorder}`,[`&:hover:not(${Ye}-item-active)`]:{borderColor:Le.colorPrimary,backgroundColor:Le.itemBg,a:{color:Le.colorPrimary}},"&-active":{borderColor:Le.colorPrimary}}}}};var st=(0,Kt.bk)(["Pagination","bordered"],Le=>{const Ye=re(Le);return[De(Ye)]},he);function Qe(Le){return(0,b.useMemo)(()=>typeof Le=="boolean"?[Le,{}]:Le&&typeof Le=="object"?[!0,Le]:[void 0,void 0],[Le])}var Ie=function(Le,Ye){var vn={};for(var Ht in Le)Object.prototype.hasOwnProperty.call(Le,Ht)&&Ye.indexOf(Ht)<0&&(vn[Ht]=Le[Ht]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Cn=0,Ht=Object.getOwnPropertySymbols(Le);Cn<Ht.length;Cn++)Ye.indexOf(Ht[Cn])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ht[Cn])&&(vn[Ht[Cn]]=Le[Ht[Cn]]);return vn},Et=Le=>{const{align:Ye,prefixCls:vn,selectPrefixCls:Ht,className:Cn,rootClassName:un,style:Ut,size:on,locale:mn,responsive:ft,showSizeChanger:Vt,selectComponentClass:yn,pageSizeOptions:Ct}=Le,Je=Ie(Le,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Wt}=(0,Se.Z)(ft),[,qt]=(0,Jt.ZP)(),{getPrefixCls:ln,direction:Zn,showSizeChanger:qn,className:mr,style:vr}=(0,Xe.dj)("pagination"),_n=ln("pagination",vn),[dr,Qt,En]=ue(_n),pn=(0,Xt.Z)(on),xn=pn==="small"||!!(Wt&&!pn&&ft),[sn]=(0,ve.Z)("Pagination",We.Z),Fn=Object.assign(Object.assign({},sn),mn),[St,Sn]=Qe(Vt),[Bt,hn]=Qe(qn),An=St!=null?St:Bt,On=Sn!=null?Sn:hn,Ln=yn||Mt.default,nr=b.useMemo(()=>Ct?Ct.map(Dt=>Number(Dt)):void 0,[Ct]),Xn=Dt=>{var Gt;const{disabled:Ze,size:gt,onSizeChange:Ve,"aria-label":yt,className:_t,options:rr}=Dt,{className:ar,onChange:pt}=On||{},bt=(Gt=rr.find(Pt=>String(Pt.value)===String(gt)))===null||Gt===void 0?void 0:Gt.value;return b.createElement(Ln,Object.assign({disabled:Ze,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Pt=>Pt.parentNode,"aria-label":yt,options:rr},On,{value:bt,onChange:(Pt,zt)=>{Ve==null||Ve(Pt),pt==null||pt(Pt,zt)},size:xn?"small":"middle",className:vt()(_t,ar)}))},nn=b.useMemo(()=>{const Dt=b.createElement("span",{className:`${_n}-item-ellipsis`},"\u2022\u2022\u2022"),Gt=b.createElement("button",{className:`${_n}-item-link`,type:"button",tabIndex:-1},Zn==="rtl"?b.createElement(Ke.Z,null):b.createElement(de.Z,null)),Ze=b.createElement("button",{className:`${_n}-item-link`,type:"button",tabIndex:-1},Zn==="rtl"?b.createElement(de.Z,null):b.createElement(Ke.Z,null)),gt=b.createElement("a",{className:`${_n}-item-link`},b.createElement("div",{className:`${_n}-item-container`},Zn==="rtl"?b.createElement(Fe.Z,{className:`${_n}-item-link-icon`}):b.createElement(He,{className:`${_n}-item-link-icon`}),Dt)),Ve=b.createElement("a",{className:`${_n}-item-link`},b.createElement("div",{className:`${_n}-item-container`},Zn==="rtl"?b.createElement(He,{className:`${_n}-item-link-icon`}):b.createElement(Fe.Z,{className:`${_n}-item-link-icon`}),Dt));return{prevIcon:Gt,nextIcon:Ze,jumpPrevIcon:gt,jumpNextIcon:Ve}},[Zn,_n]),Pn=ln("select",Ht),en=vt()({[`${_n}-${Ye}`]:!!Ye,[`${_n}-mini`]:xn,[`${_n}-rtl`]:Zn==="rtl",[`${_n}-bordered`]:qt.wireframe},mr,Cn,un,Qt,En),er=Object.assign(Object.assign({},vr),Ut);return dr(b.createElement(b.Fragment,null,qt.wireframe&&b.createElement(st,{prefixCls:_n}),b.createElement(Ot,Object.assign({},nn,Je,{style:er,prefixCls:_n,selectPrefixCls:Pn,className:en,locale:Fn,pageSizeOptions:nr,showSizeChanger:An,sizeChangerRender:Xn}))))},Tt=Et},89787:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return mn}});var b=z(59301),xe=z(17835),ce=z(29679),nt=z(40001),Me=z(19248),Ce=z(99267),Be=z(92310),He=z.n(Be),Fe=z(2738),de=z(48755),Ke=z(54476),be=z(33885),vt=z(75931),et={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},$e=function(){var Vt=(0,b.useRef)([]),yn=(0,b.useRef)(null);return(0,b.useEffect)(function(){var Ct=Date.now(),Je=!1;Vt.current.forEach(function(Wt){if(Wt){Je=!0;var qt=Wt.style;qt.transitionDuration=".3s, .3s, .3s, .06s",yn.current&&Ct-yn.current<100&&(qt.transitionDuration="0s, 0s")}}),Je&&(yn.current=Date.now())}),Vt.current},ze=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],je=function(Vt){var yn=(0,be.Z)((0,be.Z)({},et),Vt),Ct=yn.className,Je=yn.percent,Wt=yn.prefixCls,qt=yn.strokeColor,ln=yn.strokeLinecap,Zn=yn.strokeWidth,qn=yn.style,mr=yn.trailColor,vr=yn.trailWidth,_n=yn.transition,dr=(0,vt.Z)(yn,ze);delete dr.gapPosition;var Qt=Array.isArray(Je)?Je:[Je],En=Array.isArray(qt)?qt:[qt],pn=$e(),xn=Zn/2,sn=100-Zn/2,Fn="M ".concat(ln==="round"?xn:0,",").concat(xn,`
L `).concat(ln==="round"?sn:100,",").concat(xn),St="0 0 100 ".concat(Zn),Sn=0;return b.createElement("svg",(0,Ke.Z)({className:He()("".concat(Wt,"-line"),Ct),viewBox:St,preserveAspectRatio:"none",style:qn},dr),b.createElement("path",{className:"".concat(Wt,"-line-trail"),d:Fn,strokeLinecap:ln,stroke:mr,strokeWidth:vr||Zn,fillOpacity:"0"}),Qt.map(function(Bt,hn){var An=1;switch(ln){case"round":An=1-Zn/100;break;case"square":An=1-Zn/2/100;break;default:An=1;break}var On={strokeDasharray:"".concat(Bt*An,"px, 100px"),strokeDashoffset:"-".concat(Sn,"px"),transition:_n||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ln=En[hn]||En[En.length-1];return Sn+=Bt,b.createElement("path",{key:hn,className:"".concat(Wt,"-line-path"),d:Fn,strokeLinecap:ln,stroke:Ln,strokeWidth:Zn,fillOpacity:"0",ref:function(Xn){pn[hn]=Xn},style:On})}))},at=je,Nt=z(76190),jt=z(42978),se=z(47273),Oe=0,dt=(0,se.Z)();function ht(){var ft;return dt?(ft=Oe,Oe+=1):ft="TEST_OR_SSR",ft}var Rt=function(ft){var Vt=b.useState(),yn=(0,jt.Z)(Vt,2),Ct=yn[0],Je=yn[1];return b.useEffect(function(){Je("rc_progress_".concat(ht()))},[]),ft||Ct},_e=function(Vt){var yn=Vt.bg,Ct=Vt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:yn}},Ct)};function lt(ft,Vt){return Object.keys(ft).map(function(yn){var Ct=parseFloat(yn),Je="".concat(Math.floor(Ct*Vt),"%");return"".concat(ft[yn]," ").concat(Je)})}var ut=b.forwardRef(function(ft,Vt){var yn=ft.prefixCls,Ct=ft.color,Je=ft.gradientId,Wt=ft.radius,qt=ft.style,ln=ft.ptg,Zn=ft.strokeLinecap,qn=ft.strokeWidth,mr=ft.size,vr=ft.gapDegree,_n=Ct&&(0,Nt.Z)(Ct)==="object",dr=_n?"#FFF":void 0,Qt=mr/2,En=b.createElement("circle",{className:"".concat(yn,"-circle-path"),r:Wt,cx:Qt,cy:Qt,stroke:dr,strokeLinecap:Zn,strokeWidth:qn,opacity:ln===0?0:1,style:qt,ref:Vt});if(!_n)return En;var pn="".concat(Je,"-conic"),xn=vr?"".concat(180+vr/2,"deg"):"0deg",sn=lt(Ct,(360-vr)/360),Fn=lt(Ct,1),St="conic-gradient(from ".concat(xn,", ").concat(sn.join(", "),")"),Sn="linear-gradient(to ".concat(vr?"bottom":"top",", ").concat(Fn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:pn},En),b.createElement("foreignObject",{x:0,y:0,width:mr,height:mr,mask:"url(#".concat(pn,")")},b.createElement(_e,{bg:Sn},b.createElement(_e,{bg:St}))))}),Pe=ut,Te=100,we=function(Vt,yn,Ct,Je,Wt,qt,ln,Zn,qn,mr){var vr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,_n=Ct/100*360*((360-qt)/360),dr=qt===0?0:{bottom:0,top:180,left:90,right:-90}[ln],Qt=(100-Je)/100*yn;qn==="round"&&Je!==100&&(Qt+=mr/2,Qt>=yn&&(Qt=yn-.01));var En=Te/2;return{stroke:typeof Zn=="string"?Zn:void 0,strokeDasharray:"".concat(yn,"px ").concat(Vt),strokeDashoffset:Qt+vr,transform:"rotate(".concat(Wt+_n+dr,"deg)"),transformOrigin:"".concat(En,"px ").concat(En,"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}},me=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ot(ft){var Vt=ft!=null?ft:[];return Array.isArray(Vt)?Vt:[Vt]}var We=function(Vt){var yn=(0,be.Z)((0,be.Z)({},et),Vt),Ct=yn.id,Je=yn.prefixCls,Wt=yn.steps,qt=yn.strokeWidth,ln=yn.trailWidth,Zn=yn.gapDegree,qn=Zn===void 0?0:Zn,mr=yn.gapPosition,vr=yn.trailColor,_n=yn.strokeLinecap,dr=yn.style,Qt=yn.className,En=yn.strokeColor,pn=yn.percent,xn=(0,vt.Z)(yn,me),sn=Te/2,Fn=Rt(Ct),St="".concat(Fn,"-gradient"),Sn=sn-qt/2,Bt=Math.PI*2*Sn,hn=qn>0?90+qn/2:-90,An=Bt*((360-qn)/360),On=(0,Nt.Z)(Wt)==="object"?Wt:{count:Wt,gap:2},Ln=On.count,nr=On.gap,Xn=Ot(pn),nn=Ot(En),Pn=nn.find(function(Ve){return Ve&&(0,Nt.Z)(Ve)==="object"}),en=Pn&&(0,Nt.Z)(Pn)==="object",er=en?"butt":_n,Dt=we(Bt,An,0,100,hn,qn,mr,vr,er,qt),Gt=$e(),Ze=function(){var yt=0;return Xn.map(function(_t,rr){var ar=nn[rr]||nn[nn.length-1],pt=we(Bt,An,yt,_t,hn,qn,mr,ar,er,qt);return yt+=_t,b.createElement(Pe,{key:rr,color:ar,ptg:_t,radius:Sn,prefixCls:Je,gradientId:St,style:pt,strokeLinecap:er,strokeWidth:qt,gapDegree:qn,ref:function(Pt){Gt[rr]=Pt},size:Te})}).reverse()},gt=function(){var yt=Math.round(Ln*(Xn[0]/100)),_t=100/Ln,rr=0;return new Array(Ln).fill(null).map(function(ar,pt){var bt=pt<=yt-1?nn[0]:vr,Pt=bt&&(0,Nt.Z)(bt)==="object"?"url(#".concat(St,")"):void 0,zt=we(Bt,An,rr,_t,hn,qn,mr,bt,"butt",qt,nr);return rr+=(An-zt.strokeDashoffset+nr)*100/An,b.createElement("circle",{key:pt,className:"".concat(Je,"-circle-path"),r:Sn,cx:sn,cy:sn,stroke:Pt,strokeWidth:qt,opacity:1,style:zt,ref:function(Hn){Gt[pt]=Hn}})})};return b.createElement("svg",(0,Ke.Z)({className:He()("".concat(Je,"-circle"),Qt),viewBox:"0 0 ".concat(Te," ").concat(Te),style:dr,id:Ct,role:"presentation"},xn),!Ln&&b.createElement("circle",{className:"".concat(Je,"-circle-trail"),r:Sn,cx:sn,cy:sn,stroke:vr,strokeLinecap:er,strokeWidth:ln||qt,style:Dt}),Ln?gt():Ze())},Xe=We,Xt={Line:at,Circle:Xe},Se=z(25399),ve=z(68361);function Mt(ft){return!ft||ft<0?0:ft>100?100:ft}function Jt(ft){let{success:Vt,successPercent:yn}=ft,Ct=yn;return Vt&&"progress"in Vt&&(Ct=Vt.progress),Vt&&"percent"in Vt&&(Ct=Vt.percent),Ct}const Zt=ft=>{let{percent:Vt,success:yn,successPercent:Ct}=ft;const Je=Mt(Jt({success:yn,successPercent:Ct}));return[Je,Mt(Mt(Vt)-Je)]},pe=ft=>{let{success:Vt={},strokeColor:yn}=ft;const{strokeColor:Ct}=Vt;return[Ct||ve.presetPrimaryColors.green,yn||null]},Re=(ft,Vt,yn)=>{var Ct,Je,Wt,qt;let ln=-1,Zn=-1;if(Vt==="step"){const qn=yn.steps,mr=yn.strokeWidth;typeof ft=="string"||typeof ft=="undefined"?(ln=ft==="small"?2:14,Zn=mr!=null?mr:8):typeof ft=="number"?[ln,Zn]=[ft,ft]:[ln=14,Zn=8]=Array.isArray(ft)?ft:[ft.width,ft.height],ln*=qn}else if(Vt==="line"){const qn=yn==null?void 0:yn.strokeWidth;typeof ft=="string"||typeof ft=="undefined"?Zn=qn||(ft==="small"?6:8):typeof ft=="number"?[ln,Zn]=[ft,ft]:[ln=-1,Zn=8]=Array.isArray(ft)?ft:[ft.width,ft.height]}else(Vt==="circle"||Vt==="dashboard")&&(typeof ft=="string"||typeof ft=="undefined"?[ln,Zn]=ft==="small"?[60,60]:[120,120]:typeof ft=="number"?[ln,Zn]=[ft,ft]:Array.isArray(ft)&&(ln=(Je=(Ct=ft[0])!==null&&Ct!==void 0?Ct:ft[1])!==null&&Je!==void 0?Je:120,Zn=(qt=(Wt=ft[0])!==null&&Wt!==void 0?Wt:ft[1])!==null&&qt!==void 0?qt:120));return[ln,Zn]},Ue=3,tn=ft=>Ue/ft*100;var Kt=ft=>{const{prefixCls:Vt,trailColor:yn=null,strokeLinecap:Ct="round",gapPosition:Je,gapDegree:Wt,width:qt=120,type:ln,children:Zn,success:qn,size:mr=qt,steps:vr}=ft,[_n,dr]=Re(mr,"circle");let{strokeWidth:Qt}=ft;Qt===void 0&&(Qt=Math.max(tn(_n),6));const En={width:_n,height:dr,fontSize:_n*.15+6},pn=b.useMemo(()=>{if(Wt||Wt===0)return Wt;if(ln==="dashboard")return 75},[Wt,ln]),xn=Zt(ft),sn=Je||ln==="dashboard"&&"bottom"||void 0,Fn=Object.prototype.toString.call(ft.strokeColor)==="[object Object]",St=pe({success:qn,strokeColor:ft.strokeColor}),Sn=He()(`${Vt}-inner`,{[`${Vt}-circle-gradient`]:Fn}),Bt=b.createElement(Xe,{steps:vr,percent:vr?xn[1]:xn,strokeWidth:Qt,trailWidth:Qt,strokeColor:vr?St[1]:St,strokeLinecap:Ct,trailColor:yn,prefixCls:Vt,gapDegree:pn,gapPosition:sn}),hn=_n<=20,An=b.createElement("div",{className:Sn,style:En},Bt,!hn&&Zn);return hn?b.createElement(Se.Z,{title:Zn},An):An},ct=z(36237),fn=z(63356),xt=z(16931),le=z(51636);const ne="--progress-line-stroke-color",te="--progress-percent",ae=ft=>{const Vt=ft?"100%":"-100%";return new ct.Keyframes(`antProgress${ft?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Vt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Vt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},he=ft=>{const{componentCls:Vt,iconCls:yn}=ft;return{[Vt]:Object.assign(Object.assign({},(0,fn.Wf)(ft)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ft.fontSize},[`${Vt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Vt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:ft.remainingColor,borderRadius:ft.lineBorderRadius},[`${Vt}-inner:not(${Vt}-circle-gradient)`]:{[`${Vt}-circle-path`]:{stroke:ft.defaultColor}},[`${Vt}-success-bg, ${Vt}-bg`]:{position:"relative",background:ft.defaultColor,borderRadius:ft.lineBorderRadius,transition:`all ${ft.motionDurationSlow} ${ft.motionEaseInOutCirc}`},[`${Vt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Vt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:ft.marginXXS}},[`${Vt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ne})`]},height:"100%",width:`calc(1 / var(${te}) * 100%)`,display:"block"},[`&${Vt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Vt}-text-inner`]:{color:ft.colorWhite,[`&${Vt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Vt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ft.colorSuccess},[`${Vt}-text`]:{display:"inline-block",marginInlineStart:ft.marginXS,color:ft.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[yn]:{fontSize:ft.fontSize},[`&${Vt}-text-outer`]:{width:"max-content"},[`&${Vt}-text-outer${Vt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:ft.marginXS}},[`${Vt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,ct.unit)(ft.paddingXXS)}`,[`&${Vt}-text-start`]:{justifyContent:"start"},[`&${Vt}-text-end`]:{justifyContent:"end"}},[`&${Vt}-status-active`]:{[`${Vt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ft.colorBgContainer,borderRadius:ft.lineBorderRadius,opacity:0,animationName:ae(),animationDuration:ft.progressActiveMotionDuration,animationTimingFunction:ft.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Vt}-rtl${Vt}-status-active`]:{[`${Vt}-bg::before`]:{animationName:ae(!0)}},[`&${Vt}-status-exception`]:{[`${Vt}-bg`]:{backgroundColor:ft.colorError},[`${Vt}-text`]:{color:ft.colorError}},[`&${Vt}-status-exception ${Vt}-inner:not(${Vt}-circle-gradient)`]:{[`${Vt}-circle-path`]:{stroke:ft.colorError}},[`&${Vt}-status-success`]:{[`${Vt}-bg`]:{backgroundColor:ft.colorSuccess},[`${Vt}-text`]:{color:ft.colorSuccess}},[`&${Vt}-status-success ${Vt}-inner:not(${Vt}-circle-gradient)`]:{[`${Vt}-circle-path`]:{stroke:ft.colorSuccess}}})}},re=ft=>{const{componentCls:Vt,iconCls:yn}=ft;return{[Vt]:{[`${Vt}-circle-trail`]:{stroke:ft.remainingColor},[`&${Vt}-circle ${Vt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Vt}-circle ${Vt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ft.circleTextColor,fontSize:ft.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[yn]:{fontSize:ft.circleIconFontSize}},[`${Vt}-circle&-status-exception`]:{[`${Vt}-text`]:{color:ft.colorError}},[`${Vt}-circle&-status-success`]:{[`${Vt}-text`]:{color:ft.colorSuccess}}},[`${Vt}-inline-circle`]:{lineHeight:1,[`${Vt}-inner`]:{verticalAlign:"bottom"}}}},ue=ft=>{const{componentCls:Vt}=ft;return{[Vt]:{[`${Vt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ft.progressStepMinWidth,marginInlineEnd:ft.progressStepMarginInlineEnd,backgroundColor:ft.remainingColor,transition:`all ${ft.motionDurationSlow}`,"&-active":{backgroundColor:ft.defaultColor}}}}}},De=ft=>{const{componentCls:Vt,iconCls:yn}=ft;return{[Vt]:{[`${Vt}-small&-line, ${Vt}-small&-line ${Vt}-text ${yn}`]:{fontSize:ft.fontSizeSM}}}},st=ft=>({circleTextColor:ft.colorText,defaultColor:ft.colorInfo,remainingColor:ft.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${ft.fontSize/ft.fontSizeSM}em`});var Qe=(0,xt.I$)("Progress",ft=>{const Vt=ft.calc(ft.marginXXS).div(2).equal(),yn=(0,le.mergeToken)(ft,{progressStepMarginInlineEnd:Vt,progressStepMinWidth:Vt,progressActiveMotionDuration:"2.4s"});return[he(yn),re(yn),ue(yn),De(yn)]},st),Ie=function(ft,Vt){var yn={};for(var Ct in ft)Object.prototype.hasOwnProperty.call(ft,Ct)&&Vt.indexOf(Ct)<0&&(yn[Ct]=ft[Ct]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Ct=Object.getOwnPropertySymbols(ft);Je<Ct.length;Je++)Vt.indexOf(Ct[Je])<0&&Object.prototype.propertyIsEnumerable.call(ft,Ct[Je])&&(yn[Ct[Je]]=ft[Ct[Je]]);return yn};const mt=ft=>{let Vt=[];return Object.keys(ft).forEach(yn=>{const Ct=parseFloat(yn.replace(/%/g,""));Number.isNaN(Ct)||Vt.push({key:Ct,value:ft[yn]})}),Vt=Vt.sort((yn,Ct)=>yn.key-Ct.key),Vt.map(yn=>{let{key:Ct,value:Je}=yn;return`${Je} ${Ct}%`}).join(", ")},Et=(ft,Vt)=>{const{from:yn=ve.presetPrimaryColors.blue,to:Ct=ve.presetPrimaryColors.blue,direction:Je=Vt==="rtl"?"to left":"to right"}=ft,Wt=Ie(ft,["from","to","direction"]);if(Object.keys(Wt).length!==0){const ln=mt(Wt),Zn=`linear-gradient(${Je}, ${ln})`;return{background:Zn,[ne]:Zn}}const qt=`linear-gradient(${Je}, ${yn}, ${Ct})`;return{background:qt,[ne]:qt}};var Le=ft=>{const{prefixCls:Vt,direction:yn,percent:Ct,size:Je,strokeWidth:Wt,strokeColor:qt,strokeLinecap:ln="round",children:Zn,trailColor:qn=null,percentPosition:mr,success:vr}=ft,{align:_n,type:dr}=mr,Qt=qt&&typeof qt!="string"?Et(qt,yn):{[ne]:qt,background:qt},En=ln==="square"||ln==="butt"?0:void 0,pn=Je!=null?Je:[-1,Wt||(Je==="small"?6:8)],[xn,sn]=Re(pn,"line",{strokeWidth:Wt}),Fn={backgroundColor:qn||void 0,borderRadius:En},St=Object.assign(Object.assign({width:`${Mt(Ct)}%`,height:sn,borderRadius:En},Qt),{[te]:Mt(Ct)/100}),Sn=Jt(ft),Bt={width:`${Mt(Sn)}%`,height:sn,borderRadius:En,backgroundColor:vr==null?void 0:vr.strokeColor},hn={width:xn<0?"100%":xn},An=b.createElement("div",{className:`${Vt}-inner`,style:Fn},b.createElement("div",{className:He()(`${Vt}-bg`,`${Vt}-bg-${dr}`),style:St},dr==="inner"&&Zn),Sn!==void 0&&b.createElement("div",{className:`${Vt}-success-bg`,style:Bt})),On=dr==="outer"&&_n==="start",Ln=dr==="outer"&&_n==="end";return dr==="outer"&&_n==="center"?b.createElement("div",{className:`${Vt}-layout-bottom`},An,Zn):b.createElement("div",{className:`${Vt}-outer`,style:hn},On&&Zn,An,Ln&&Zn)},vn=ft=>{const{size:Vt,steps:yn,rounding:Ct=Math.round,percent:Je=0,strokeWidth:Wt=8,strokeColor:qt,trailColor:ln=null,prefixCls:Zn,children:qn}=ft,mr=Ct(yn*(Je/100)),vr=Vt==="small"?2:14,_n=Vt!=null?Vt:[vr,Wt],[dr,Qt]=Re(_n,"step",{steps:yn,strokeWidth:Wt}),En=dr/yn,pn=Array.from({length:yn});for(let xn=0;xn<yn;xn++){const sn=Array.isArray(qt)?qt[xn]:qt;pn[xn]=b.createElement("div",{key:xn,className:He()(`${Zn}-steps-item`,{[`${Zn}-steps-item-active`]:xn<=mr-1}),style:{backgroundColor:xn<=mr-1?sn:ln,width:En,height:Qt}})}return b.createElement("div",{className:`${Zn}-steps-outer`},pn,qn)},Ht=function(ft,Vt){var yn={};for(var Ct in ft)Object.prototype.hasOwnProperty.call(ft,Ct)&&Vt.indexOf(Ct)<0&&(yn[Ct]=ft[Ct]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Ct=Object.getOwnPropertySymbols(ft);Je<Ct.length;Je++)Vt.indexOf(Ct[Je])<0&&Object.prototype.propertyIsEnumerable.call(ft,Ct[Je])&&(yn[Ct[Je]]=ft[Ct[Je]]);return yn};const Cn=null,un=["normal","exception","active","success"];var on=b.forwardRef((ft,Vt)=>{const{prefixCls:yn,className:Ct,rootClassName:Je,steps:Wt,strokeColor:qt,percent:ln=0,size:Zn="default",showInfo:qn=!0,type:mr="line",status:vr,format:_n,style:dr,percentPosition:Qt={}}=ft,En=Ht(ft,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:pn="end",type:xn="outer"}=Qt,sn=Array.isArray(qt)?qt[0]:qt,Fn=typeof qt=="string"||Array.isArray(qt)?qt:void 0,St=b.useMemo(()=>{if(sn){const Ze=typeof sn=="string"?sn:Object.values(sn)[0];return new xe.FastColor(Ze).isLight()}return!1},[qt]),Sn=b.useMemo(()=>{var Ze,gt;const Ve=Jt(ft);return parseInt(Ve!==void 0?(Ze=Ve!=null?Ve:0)===null||Ze===void 0?void 0:Ze.toString():(gt=ln!=null?ln:0)===null||gt===void 0?void 0:gt.toString(),10)},[ln,ft.success,ft.successPercent]),Bt=b.useMemo(()=>!un.includes(vr)&&Sn>=100?"success":vr||"normal",[vr,Sn]),{getPrefixCls:hn,direction:An,progress:On}=b.useContext(de.E_),Ln=hn("progress",yn),[nr,Xn,nn]=Qe(Ln),Pn=mr==="line",en=Pn&&!Wt,er=b.useMemo(()=>{if(!qn)return null;const Ze=Jt(ft);let gt;const Ve=_n||(_t=>`${_t}%`),yt=Pn&&St&&xn==="inner";return xn==="inner"||_n||Bt!=="exception"&&Bt!=="success"?gt=Ve(Mt(ln),Mt(Ze)):Bt==="exception"?gt=Pn?b.createElement(Me.Z,null):b.createElement(Ce.Z,null):Bt==="success"&&(gt=Pn?b.createElement(ce.Z,null):b.createElement(nt.Z,null)),b.createElement("span",{className:He()(`${Ln}-text`,{[`${Ln}-text-bright`]:yt,[`${Ln}-text-${pn}`]:en,[`${Ln}-text-${xn}`]:en}),title:typeof gt=="string"?gt:void 0},gt)},[qn,ln,Sn,Bt,mr,Ln,_n]);let Dt;mr==="line"?Dt=Wt?b.createElement(vn,Object.assign({},ft,{strokeColor:Fn,prefixCls:Ln,steps:typeof Wt=="object"?Wt.count:Wt}),er):b.createElement(Le,Object.assign({},ft,{strokeColor:sn,prefixCls:Ln,direction:An,percentPosition:{align:pn,type:xn}}),er):(mr==="circle"||mr==="dashboard")&&(Dt=b.createElement(Kt,Object.assign({},ft,{strokeColor:sn,prefixCls:Ln,progressStatus:Bt}),er));const Gt=He()(Ln,`${Ln}-status-${Bt}`,{[`${Ln}-${mr==="dashboard"&&"circle"||mr}`]:mr!=="line",[`${Ln}-inline-circle`]:mr==="circle"&&Re(Zn,"circle")[0]<=20,[`${Ln}-line`]:en,[`${Ln}-line-align-${pn}`]:en,[`${Ln}-line-position-${xn}`]:en,[`${Ln}-steps`]:Wt,[`${Ln}-show-info`]:qn,[`${Ln}-${Zn}`]:typeof Zn=="string",[`${Ln}-rtl`]:An==="rtl"},On==null?void 0:On.className,Ct,Je,Xn,nn);return nr(b.createElement("div",Object.assign({ref:Vt,style:Object.assign(Object.assign({},On==null?void 0:On.style),dr),className:Gt,role:"progressbar","aria-valuenow":Sn,"aria-valuemin":0,"aria-valuemax":100},(0,Fe.Z)(En,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Dt))}),mn=on},63139:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return Zt}});var b=z(59301),xe=z(54476),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"},nt=ce,Me=z(7657),Ce=function(Re,Ue){return b.createElement(Me.Z,(0,xe.Z)({},Re,{ref:Ue,icon:nt}))},Be=b.forwardRef(Ce),He=Be,Fe=z(92310),de=z.n(Fe),Ke=z(20068),be=z(42978),vt=z(75931),et=z(18929),$e=z(10228),ze=z(26112);function je(pe,Re){var Ue=pe.disabled,tn=pe.prefixCls,rt=pe.character,Kt=pe.characterRender,ct=pe.index,fn=pe.count,xt=pe.value,le=pe.allowHalf,ne=pe.focused,te=pe.onHover,ae=pe.onClick,he=function(Et){te(Et,ct)},re=function(Et){ae(Et,ct)},ue=function(Et){Et.keyCode===$e.Z.ENTER&&ae(Et,ct)},De=ct+1,st=new Set([tn]);xt===0&&ct===0&&ne?st.add("".concat(tn,"-focused")):le&&xt+.5>=De&&xt<De?(st.add("".concat(tn,"-half")),st.add("".concat(tn,"-active")),ne&&st.add("".concat(tn,"-focused"))):(De<=xt?st.add("".concat(tn,"-full")):st.add("".concat(tn,"-zero")),De===xt&&ne&&st.add("".concat(tn,"-focused")));var Qe=typeof rt=="function"?rt(pe):rt,Ie=b.createElement("li",{className:de()(Array.from(st)),ref:Re},b.createElement("div",{onClick:Ue?null:re,onKeyDown:Ue?null:ue,onMouseMove:Ue?null:he,role:"radio","aria-checked":xt>ct?"true":"false","aria-posinset":ct+1,"aria-setsize":fn,tabIndex:Ue?-1:0},b.createElement("div",{className:"".concat(tn,"-first")},Qe),b.createElement("div",{className:"".concat(tn,"-second")},Qe)));return Kt&&(Ie=Kt(Ie,pe)),Ie}var at=b.forwardRef(je);function Nt(){var pe=b.useRef({});function Re(tn){return pe.current[tn]}function Ue(tn){return function(rt){pe.current[tn]=rt}}return[Re,Ue]}function jt(pe){var Re=pe.pageXOffset,Ue="scrollLeft";if(typeof Re!="number"){var tn=pe.document;Re=tn.documentElement[Ue],typeof Re!="number"&&(Re=tn.body[Ue])}return Re}function se(pe){var Re,Ue,tn=pe.ownerDocument,rt=tn.body,Kt=tn&&tn.documentElement,ct=pe.getBoundingClientRect();return Re=ct.left,Ue=ct.top,Re-=Kt.clientLeft||rt.clientLeft||0,Ue-=Kt.clientTop||rt.clientTop||0,{left:Re,top:Ue}}function Oe(pe){var Re=se(pe),Ue=pe.ownerDocument,tn=Ue.defaultView||Ue.parentWindow;return Re.left+=jt(tn),Re.left}var dt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ht(pe,Re){var Ue=pe.prefixCls,tn=Ue===void 0?"rc-rate":Ue,rt=pe.className,Kt=pe.defaultValue,ct=pe.value,fn=pe.count,xt=fn===void 0?5:fn,le=pe.allowHalf,ne=le===void 0?!1:le,te=pe.allowClear,ae=te===void 0?!0:te,he=pe.keyboard,re=he===void 0?!0:he,ue=pe.character,De=ue===void 0?"\u2605":ue,st=pe.characterRender,Qe=pe.disabled,Ie=pe.direction,mt=Ie===void 0?"ltr":Ie,Et=pe.tabIndex,Tt=Et===void 0?0:Et,Le=pe.autoFocus,Ye=pe.onHoverChange,vn=pe.onChange,Ht=pe.onFocus,Cn=pe.onBlur,un=pe.onKeyDown,Ut=pe.onMouseLeave,on=(0,vt.Z)(pe,dt),mn=Nt(),ft=(0,be.Z)(mn,2),Vt=ft[0],yn=ft[1],Ct=b.useRef(null),Je=function(){if(!Qe){var er;(er=Ct.current)===null||er===void 0||er.focus()}};b.useImperativeHandle(Re,function(){return{focus:Je,blur:function(){if(!Qe){var er;(er=Ct.current)===null||er===void 0||er.blur()}}}});var Wt=(0,et.Z)(Kt||0,{value:ct}),qt=(0,be.Z)(Wt,2),ln=qt[0],Zn=qt[1],qn=(0,et.Z)(null),mr=(0,be.Z)(qn,2),vr=mr[0],_n=mr[1],dr=function(er,Dt){var Gt=mt==="rtl",Ze=er+1;if(ne){var gt=Vt(er),Ve=Oe(gt),yt=gt.clientWidth;(Gt&&Dt-Ve>yt/2||!Gt&&Dt-Ve<yt/2)&&(Ze-=.5)}return Ze},Qt=function(er){Zn(er),vn==null||vn(er)},En=b.useState(!1),pn=(0,be.Z)(En,2),xn=pn[0],sn=pn[1],Fn=function(){sn(!0),Ht==null||Ht()},St=function(){sn(!1),Cn==null||Cn()},Sn=b.useState(null),Bt=(0,be.Z)(Sn,2),hn=Bt[0],An=Bt[1],On=function(er,Dt){var Gt=dr(Dt,er.pageX);Gt!==vr&&(An(Gt),_n(null)),Ye==null||Ye(Gt)},Ln=function(er){Qe||(An(null),_n(null),Ye==null||Ye(void 0)),er&&(Ut==null||Ut(er))},nr=function(er,Dt){var Gt=dr(Dt,er.pageX),Ze=!1;ae&&(Ze=Gt===ln),Ln(),Qt(Ze?0:Gt),_n(Ze?Gt:null)},Xn=function(er){var Dt=er.keyCode,Gt=mt==="rtl",Ze=ne?.5:1;re&&(Dt===$e.Z.RIGHT&&ln<xt&&!Gt?(Qt(ln+Ze),er.preventDefault()):Dt===$e.Z.LEFT&&ln>0&&!Gt||Dt===$e.Z.RIGHT&&ln>0&&Gt?(Qt(ln-Ze),er.preventDefault()):Dt===$e.Z.LEFT&&ln<xt&&Gt&&(Qt(ln+Ze),er.preventDefault())),un==null||un(er)};b.useEffect(function(){Le&&!Qe&&Je()},[]);var nn=new Array(xt).fill(0).map(function(en,er){return b.createElement(at,{ref:yn(er),index:er,count:xt,disabled:Qe,prefixCls:"".concat(tn,"-star"),allowHalf:ne,value:hn===null?ln:hn,onClick:nr,onHover:On,key:en||er,character:De,characterRender:st,focused:xn})}),Pn=de()(tn,rt,(0,Ke.Z)((0,Ke.Z)({},"".concat(tn,"-disabled"),Qe),"".concat(tn,"-rtl"),mt==="rtl"));return b.createElement("ul",(0,xe.Z)({className:Pn,onMouseLeave:Ln,tabIndex:Qe?-1:Tt,onFocus:Qe?null:Fn,onBlur:Qe?null:St,onKeyDown:Qe?null:Xn,ref:Ct},(0,ze.Z)(on,{aria:!0,data:!0,attr:!0})),nn)}var Rt=b.forwardRef(ht),_e=Rt,lt=z(48755),ut=z(25399),Pe=z(36237),Te=z(63356),we=z(16931),me=z(51636);const Ot=pe=>{const{componentCls:Re}=pe;return{[`${Re}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:pe.marginXS},"> div":{transition:`all ${pe.motionDurationMid}, outline 0s`,"&:hover":{transform:pe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Pe.unit)(pe.lineWidth)} dashed ${pe.starColor}`,transform:pe.starHoverScale}},"&-first, &-second":{color:pe.starBg,transition:`all ${pe.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Re}-star-first, &-half ${Re}-star-second`]:{opacity:1},[`&-half ${Re}-star-first, &-full ${Re}-star-second`]:{color:"inherit"}}}},We=pe=>({[`&-rtl${pe.componentCls}`]:{direction:"rtl"}}),Xe=pe=>{const{componentCls:Re}=pe;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Te.Wf)(pe)),{display:"inline-block",margin:0,padding:0,color:pe.starColor,fontSize:pe.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Re} ${Re}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ot(pe)),We(pe))}},Xt=pe=>({starColor:pe.yellow6,starSize:pe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:pe.colorFillContent});var Se=(0,we.I$)("Rate",pe=>{const Re=(0,me.mergeToken)(pe,{});return[Xe(Re)]},Xt),ve=z(2171),Mt=function(pe,Re){var Ue={};for(var tn in pe)Object.prototype.hasOwnProperty.call(pe,tn)&&Re.indexOf(tn)<0&&(Ue[tn]=pe[tn]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,tn=Object.getOwnPropertySymbols(pe);rt<tn.length;rt++)Re.indexOf(tn[rt])<0&&Object.prototype.propertyIsEnumerable.call(pe,tn[rt])&&(Ue[tn[rt]]=pe[tn[rt]]);return Ue},Zt=b.forwardRef((pe,Re)=>{const{prefixCls:Ue,className:tn,rootClassName:rt,style:Kt,tooltips:ct,character:fn=b.createElement(He,null),disabled:xt}=pe,le=Mt(pe,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ne=(Et,Tt)=>{let{index:Le}=Tt;return ct?b.createElement(ut.Z,{title:ct[Le]},Et):Et},{getPrefixCls:te,direction:ae,rate:he}=b.useContext(lt.E_),re=te("rate",Ue),[ue,De,st]=Se(re),Qe=Object.assign(Object.assign({},he==null?void 0:he.style),Kt),Ie=b.useContext(ve.Z),mt=xt!=null?xt:Ie;return ue(b.createElement(_e,Object.assign({ref:Re,character:fn,characterRender:ne,disabled:mt},le,{className:de()(tn,rt,De,st,he==null?void 0:he.className),style:Qe,prefixCls:re,direction:ae})))})},82326:function(Yn,dn,z){"use strict";var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(37463),Me=z(2738),Ce=z(75030),Be=z(86641),He=z(45915),Fe=z(82855),de=z(48755),Ke=z(38406),be=z(2171),vt=z(83397),et=z(31756),$e=z(56553),ze=z(24971),je=z(70045),at=z(57700),Nt=z(1722),jt=z(90376),se=z(68525),Oe=z(90005),dt=function(ut,Pe){var Te={};for(var we in ut)Object.prototype.hasOwnProperty.call(ut,we)&&Pe.indexOf(we)<0&&(Te[we]=ut[we]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,we=Object.getOwnPropertySymbols(ut);me<we.length;me++)Pe.indexOf(we[me])<0&&Object.prototype.propertyIsEnumerable.call(ut,we[me])&&(Te[we[me]]=ut[we[me]]);return Te};const ht="SECRET_COMBOBOX_MODE_DO_NOT_USE",Rt=(ut,Pe)=>{var Te;const{prefixCls:we,bordered:me,className:Ot,rootClassName:We,getPopupContainer:Xe,popupClassName:Xt,dropdownClassName:Se,listHeight:ve=256,placement:Mt,listItemHeight:Jt,size:Zt,disabled:pe,notFoundContent:Re,status:Ue,builtinPlacements:tn,dropdownMatchSelectWidth:rt,popupMatchSelectWidth:Kt,direction:ct,style:fn,allowClear:xt,variant:le,dropdownStyle:ne,transitionName:te,tagRender:ae,maxCount:he,prefix:re}=ut,ue=dt(ut,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:De,getPrefixCls:st,renderEmpty:Qe,direction:Ie,virtual:mt,popupMatchSelectWidth:Et,popupOverflow:Tt}=b.useContext(de.E_),Le=(0,de.dj)("select"),[,Ye]=(0,at.ZP)(),vn=Jt!=null?Jt:Ye==null?void 0:Ye.controlHeight,Ht=st("select",we),Cn=st(),un=ct!=null?ct:Ie,{compactSize:Ut,compactItemClassnames:on}=(0,je.ri)(Ht,un),[mn,ft]=(0,ze.Z)("select",le,me),Vt=(0,vt.Z)(Ht),[yn,Ct,Je]=(0,jt.Z)(Ht,Vt),Wt=b.useMemo(()=>{const{mode:Xn}=ut;if(Xn!=="combobox")return Xn===ht?"combobox":Xn},[ut.mode]),qt=Wt==="multiple"||Wt==="tags",ln=(0,Oe.Z)(ut.suffixIcon,ut.showArrow),Zn=(Te=Kt!=null?Kt:rt)!==null&&Te!==void 0?Te:Et,{status:qn,hasFeedback:mr,isFormItemInput:vr,feedbackIcon:_n}=b.useContext($e.aM),dr=(0,Fe.F)(qn,Ue);let Qt;Re!==void 0?Qt=Re:Wt==="combobox"?Qt=null:Qt=(Qe==null?void 0:Qe("Select"))||b.createElement(Ke.Z,{componentName:"Select"});const{suffixIcon:En,itemIcon:pn,removeIcon:xn,clearIcon:sn}=(0,se.Z)(Object.assign(Object.assign({},ue),{multiple:qt,hasFeedback:mr,feedbackIcon:_n,showSuffixIcon:ln,prefixCls:Ht,componentName:"Select"})),Fn=xt===!0?{clearIcon:sn}:xt,St=(0,Me.Z)(ue,["suffixIcon","itemIcon"]),Sn=ce()(Xt||Se,{[`${Ht}-dropdown-${un}`]:un==="rtl"},We,Je,Vt,Ct),Bt=(0,et.Z)(Xn=>{var nn;return(nn=Zt!=null?Zt:Ut)!==null&&nn!==void 0?nn:Xn}),hn=b.useContext(be.Z),An=pe!=null?pe:hn,On=ce()({[`${Ht}-lg`]:Bt==="large",[`${Ht}-sm`]:Bt==="small",[`${Ht}-rtl`]:un==="rtl",[`${Ht}-${mn}`]:ft,[`${Ht}-in-form-item`]:vr},(0,Fe.Z)(Ht,dr,mr),on,Le.className,Ot,We,Je,Vt,Ct),Ln=b.useMemo(()=>Mt!==void 0?Mt:un==="rtl"?"bottomRight":"bottomLeft",[Mt,un]),[nr]=(0,Ce.Cn)("SelectLike",ne==null?void 0:ne.zIndex);return yn(b.createElement(nt.ZP,Object.assign({ref:Pe,virtual:mt,showSearch:Le.showSearch},St,{style:Object.assign(Object.assign({},Le.style),fn),dropdownMatchSelectWidth:Zn,transitionName:(0,Be.m)(Cn,"slide-up",te),builtinPlacements:(0,Nt.Z)(tn,Tt),listHeight:ve,listItemHeight:vn,mode:Wt,prefixCls:Ht,placement:Ln,direction:un,prefix:re,suffixIcon:En,menuItemSelectedIcon:pn,removeIcon:xn,allowClear:Fn,notFoundContent:Qt,className:On,getPopupContainer:Xe||De,dropdownClassName:Sn,disabled:An,dropdownStyle:Object.assign(Object.assign({},ne),{zIndex:nr}),maxCount:qt?he:void 0,tagRender:qt?ae:void 0})))},_e=b.forwardRef(Rt),lt=(0,He.Z)(_e,"dropdownAlign");_e.SECRET_COMBOBOX_MODE_DO_NOT_USE=ht,_e.Option=nt.Wx,_e.OptGroup=nt.Xo,_e._InternalPanelDoNotUseOrYouWillBeFired=lt,dn.default=_e},1722:function(Yn,dn){"use strict";const z=xe=>{const nt={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:xe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},nt),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},nt),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},nt),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},nt),{points:["br","tr"],offset:[0,-4]})}};function b(xe,ce){return xe||z(ce)}dn.Z=b},90376:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return we}});var b=z(63356),xe=z(56119),ce=z(16931),nt=z(51636),Me=z(46e3),Ce=z(93873);const Be=me=>{const{optionHeight:Ot,optionFontSize:We,optionLineHeight:Xe,optionPadding:Xt}=me;return{position:"relative",display:"block",minHeight:Ot,padding:Xt,color:me.colorText,fontWeight:"normal",fontSize:We,lineHeight:Xe,boxSizing:"border-box"}};var Fe=me=>{const{antCls:Ot,componentCls:We}=me,Xe=`${We}-item`,Xt=`&${Ot}-slide-up-enter${Ot}-slide-up-enter-active`,Se=`&${Ot}-slide-up-appear${Ot}-slide-up-appear-active`,ve=`&${Ot}-slide-up-leave${Ot}-slide-up-leave-active`,Mt=`${We}-dropdown-placement-`,Jt=`${Xe}-option-selected`;return[{[`${We}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(me)),{position:"absolute",top:-9999,zIndex:me.zIndexPopup,boxSizing:"border-box",padding:me.paddingXXS,overflow:"hidden",fontSize:me.fontSize,fontVariant:"initial",backgroundColor:me.colorBgElevated,borderRadius:me.borderRadiusLG,outline:"none",boxShadow:me.boxShadowSecondary,[`
${Xt}${Mt}bottomLeft,
${Se}${Mt}bottomLeft
`]:{animationName:Me.fJ},[`
${Xt}${Mt}topLeft,
${Se}${Mt}topLeft,
${Xt}${Mt}topRight,
${Se}${Mt}topRight
`]:{animationName:Me.Qt},[`${ve}${Mt}bottomLeft`]:{animationName:Me.Uw},[`
${ve}${Mt}topLeft,
${ve}${Mt}topRight
`]:{animationName:Me.ly},"&-hidden":{display:"none"},[Xe]:Object.assign(Object.assign({},Be(me)),{cursor:"pointer",transition:`background ${me.motionDurationSlow} ease`,borderRadius:me.borderRadiusSM,"&-group":{color:me.colorTextDescription,fontSize:me.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Xe}-option-disabled)`]:{backgroundColor:me.optionActiveBg},[`&-selected:not(${Xe}-option-disabled)`]:{color:me.optionSelectedColor,fontWeight:me.optionSelectedFontWeight,backgroundColor:me.optionSelectedBg,[`${Xe}-option-state`]:{color:me.colorPrimary}},"&-disabled":{[`&${Xe}-option-selected`]:{backgroundColor:me.colorBgContainerDisabled},color:me.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:me.calc(me.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Be(me)),{color:me.colorTextDisabled})}),[`${Jt}:has(+ ${Jt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Jt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Me.oN)(me,"slide-up"),(0,Me.oN)(me,"slide-down"),(0,Ce.Fm)(me,"move-up"),(0,Ce.Fm)(me,"move-down")]},de=z(26743),Ke=z(36237);function be(me,Ot){const{componentCls:We,inputPaddingHorizontalBase:Xe,borderRadius:Xt}=me,Se=me.calc(me.controlHeight).sub(me.calc(me.lineWidth).mul(2)).equal(),ve=Ot?`${We}-${Ot}`:"";return{[`${We}-single${ve}`]:{fontSize:me.fontSize,height:me.controlHeight,[`${We}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(me,!0)),{display:"flex",borderRadius:Xt,flex:"1 1 auto",[`${We}-selection-wrap:after`]:{lineHeight:(0,Ke.unit)(Se)},[`${We}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${We}-selection-item,
${We}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,Ke.unit)(Se),transition:`all ${me.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${We}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${We}-selection-item:empty:after`,`${We}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${We}-show-arrow ${We}-selection-item,
&${We}-show-arrow ${We}-selection-search,
&${We}-show-arrow ${We}-selection-placeholder
`]:{paddingInlineEnd:me.showArrowPaddingInlineEnd},[`&${We}-open ${We}-selection-item`]:{color:me.colorTextPlaceholder},[`&:not(${We}-customize-input)`]:{[`${We}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ke.unit)(Xe)}`,[`${We}-selection-search-input`]:{height:Se,fontSize:me.fontSize},"&:after":{lineHeight:(0,Ke.unit)(Se)}}},[`&${We}-customize-input`]:{[`${We}-selector`]:{"&:after":{display:"none"},[`${We}-selection-search`]:{position:"static",width:"100%"},[`${We}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ke.unit)(Xe)}`,"&:after":{display:"none"}}}}}}}function vt(me){const{componentCls:Ot}=me,We=me.calc(me.controlPaddingHorizontalSM).sub(me.lineWidth).equal();return[be(me),be((0,nt.mergeToken)(me,{controlHeight:me.controlHeightSM,borderRadius:me.borderRadiusSM}),"sm"),{[`${Ot}-single${Ot}-sm`]:{[`&:not(${Ot}-customize-input)`]:{[`${Ot}-selector`]:{padding:`0 ${(0,Ke.unit)(We)}`},[`&${Ot}-show-arrow ${Ot}-selection-search`]:{insetInlineEnd:me.calc(We).add(me.calc(me.fontSize).mul(1.5)).equal()},[`
&${Ot}-show-arrow ${Ot}-selection-item,
&${Ot}-show-arrow ${Ot}-selection-placeholder
`]:{paddingInlineEnd:me.calc(me.fontSize).mul(1.5).equal()}}}},be((0,nt.mergeToken)(me,{controlHeight:me.singleItemHeightLG,fontSize:me.fontSizeLG,borderRadius:me.borderRadiusLG}),"lg")]}const et=me=>{const{fontSize:Ot,lineHeight:We,lineWidth:Xe,controlHeight:Xt,controlHeightSM:Se,controlHeightLG:ve,paddingXXS:Mt,controlPaddingHorizontal:Jt,zIndexPopupBase:Zt,colorText:pe,fontWeightStrong:Re,controlItemBgActive:Ue,controlItemBgHover:tn,colorBgContainer:rt,colorFillSecondary:Kt,colorBgContainerDisabled:ct,colorTextDisabled:fn,colorPrimaryHover:xt,colorPrimary:le,controlOutline:ne}=me,te=Mt*2,ae=Xe*2,he=Math.min(Xt-te,Xt-ae),re=Math.min(Se-te,Se-ae),ue=Math.min(ve-te,ve-ae);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Mt/2),zIndexPopup:Zt+50,optionSelectedColor:pe,optionSelectedFontWeight:Re,optionSelectedBg:Ue,optionActiveBg:tn,optionPadding:`${(Xt-Ot*We)/2}px ${Jt}px`,optionFontSize:Ot,optionLineHeight:We,optionHeight:Xt,selectorBg:rt,clearBg:rt,singleItemHeightLG:ve,multipleItemBg:Kt,multipleItemBorderColor:"transparent",multipleItemHeight:he,multipleItemHeightSM:re,multipleItemHeightLG:ue,multipleSelectorBgDisabled:ct,multipleItemColorDisabled:fn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(me.fontSize*1.25),hoverBorderColor:xt,activeBorderColor:le,activeOutlineColor:ne,selectAffixPadding:Mt}},$e=(me,Ot)=>{const{componentCls:We,antCls:Xe,controlOutlineWidth:Xt}=me;return{[`&:not(${We}-customize-input) ${We}-selector`]:{border:`${(0,Ke.unit)(me.lineWidth)} ${me.lineType} ${Ot.borderColor}`,background:me.selectorBg},[`&:not(${We}-disabled):not(${We}-customize-input):not(${Xe}-pagination-size-changer)`]:{[`&:hover ${We}-selector`]:{borderColor:Ot.hoverBorderHover},[`${We}-focused& ${We}-selector`]:{borderColor:Ot.activeBorderColor,boxShadow:`0 0 0 ${(0,Ke.unit)(Xt)} ${Ot.activeOutlineColor}`,outline:0},[`${We}-prefix`]:{color:Ot.color}}}},ze=(me,Ot)=>({[`&${me.componentCls}-status-${Ot.status}`]:Object.assign({},$e(me,Ot))}),je=me=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},$e(me,{borderColor:me.colorBorder,hoverBorderHover:me.hoverBorderColor,activeBorderColor:me.activeBorderColor,activeOutlineColor:me.activeOutlineColor,color:me.colorText})),ze(me,{status:"error",borderColor:me.colorError,hoverBorderHover:me.colorErrorHover,activeBorderColor:me.colorError,activeOutlineColor:me.colorErrorOutline,color:me.colorError})),ze(me,{status:"warning",borderColor:me.colorWarning,hoverBorderHover:me.colorWarningHover,activeBorderColor:me.colorWarning,activeOutlineColor:me.colorWarningOutline,color:me.colorWarning})),{[`&${me.componentCls}-disabled`]:{[`&:not(${me.componentCls}-customize-input) ${me.componentCls}-selector`]:{background:me.colorBgContainerDisabled,color:me.colorTextDisabled}},[`&${me.componentCls}-multiple ${me.componentCls}-selection-item`]:{background:me.multipleItemBg,border:`${(0,Ke.unit)(me.lineWidth)} ${me.lineType} ${me.multipleItemBorderColor}`}})}),at=(me,Ot)=>{const{componentCls:We,antCls:Xe}=me;return{[`&:not(${We}-customize-input) ${We}-selector`]:{background:Ot.bg,border:`${(0,Ke.unit)(me.lineWidth)} ${me.lineType} transparent`,color:Ot.color},[`&:not(${We}-disabled):not(${We}-customize-input):not(${Xe}-pagination-size-changer)`]:{[`&:hover ${We}-selector`]:{background:Ot.hoverBg},[`${We}-focused& ${We}-selector`]:{background:me.selectorBg,borderColor:Ot.activeBorderColor,outline:0}}}},Nt=(me,Ot)=>({[`&${me.componentCls}-status-${Ot.status}`]:Object.assign({},at(me,Ot))}),jt=me=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},at(me,{bg:me.colorFillTertiary,hoverBg:me.colorFillSecondary,activeBorderColor:me.activeBorderColor,color:me.colorText})),Nt(me,{status:"error",bg:me.colorErrorBg,hoverBg:me.colorErrorBgHover,activeBorderColor:me.colorError,color:me.colorError})),Nt(me,{status:"warning",bg:me.colorWarningBg,hoverBg:me.colorWarningBgHover,activeBorderColor:me.colorWarning,color:me.colorWarning})),{[`&${me.componentCls}-disabled`]:{[`&:not(${me.componentCls}-customize-input) ${me.componentCls}-selector`]:{borderColor:me.colorBorder,background:me.colorBgContainerDisabled,color:me.colorTextDisabled}},[`&${me.componentCls}-multiple ${me.componentCls}-selection-item`]:{background:me.colorBgContainer,border:`${(0,Ke.unit)(me.lineWidth)} ${me.lineType} ${me.colorSplit}`}})}),se=me=>({"&-borderless":{[`${me.componentCls}-selector`]:{background:"transparent",border:`${(0,Ke.unit)(me.lineWidth)} ${me.lineType} transparent`},[`&${me.componentCls}-disabled`]:{[`&:not(${me.componentCls}-customize-input) ${me.componentCls}-selector`]:{color:me.colorTextDisabled}},[`&${me.componentCls}-multiple ${me.componentCls}-selection-item`]:{background:me.multipleItemBg,border:`${(0,Ke.unit)(me.lineWidth)} ${me.lineType} ${me.multipleItemBorderColor}`},[`&${me.componentCls}-status-error`]:{[`${me.componentCls}-prefix, ${me.componentCls}-selection-item`]:{color:me.colorError}},[`&${me.componentCls}-status-warning`]:{[`${me.componentCls}-prefix, ${me.componentCls}-selection-item`]:{color:me.colorWarning}}}}),Oe=(me,Ot)=>{const{componentCls:We,antCls:Xe}=me;return{[`&:not(${We}-customize-input) ${We}-selector`]:{borderWidth:`0 0 ${(0,Ke.unit)(me.lineWidth)} 0`,borderStyle:`none none ${me.lineType} none`,borderColor:Ot.borderColor,background:me.selectorBg,borderRadius:0},[`&:not(${We}-disabled):not(${We}-customize-input):not(${Xe}-pagination-size-changer)`]:{[`&:hover ${We}-selector`]:{borderColor:Ot.hoverBorderHover},[`${We}-focused& ${We}-selector`]:{borderColor:Ot.activeBorderColor,outline:0},[`${We}-prefix`]:{color:Ot.color}}}},dt=(me,Ot)=>({[`&${me.componentCls}-status-${Ot.status}`]:Object.assign({},Oe(me,Ot))}),ht=me=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Oe(me,{borderColor:me.colorBorder,hoverBorderHover:me.hoverBorderColor,activeBorderColor:me.activeBorderColor,activeOutlineColor:me.activeOutlineColor,color:me.colorText})),dt(me,{status:"error",borderColor:me.colorError,hoverBorderHover:me.colorErrorHover,activeBorderColor:me.colorError,activeOutlineColor:me.colorErrorOutline,color:me.colorError})),dt(me,{status:"warning",borderColor:me.colorWarning,hoverBorderHover:me.colorWarningHover,activeBorderColor:me.colorWarning,activeOutlineColor:me.colorWarningOutline,color:me.colorWarning})),{[`&${me.componentCls}-disabled`]:{[`&:not(${me.componentCls}-customize-input) ${me.componentCls}-selector`]:{color:me.colorTextDisabled}},[`&${me.componentCls}-multiple ${me.componentCls}-selection-item`]:{background:me.multipleItemBg,border:`${(0,Ke.unit)(me.lineWidth)} ${me.lineType} ${me.multipleItemBorderColor}`}})});var _e=me=>({[me.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},je(me)),jt(me)),se(me)),ht(me))});const lt=me=>{const{componentCls:Ot}=me;return{position:"relative",transition:`all ${me.motionDurationMid} ${me.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ot}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ot}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ut=me=>{const{componentCls:Ot}=me;return{[`${Ot}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Pe=me=>{const{antCls:Ot,componentCls:We,inputPaddingHorizontalBase:Xe,iconCls:Xt}=me;return{[We]:Object.assign(Object.assign({},(0,b.Wf)(me)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${We}-customize-input) ${We}-selector`]:Object.assign(Object.assign({},lt(me)),ut(me)),[`${We}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${Ot}-typography`]:{display:"inline"}}),[`${We}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:me.colorTextPlaceholder,pointerEvents:"none"}),[`${We}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Xe,height:me.fontSizeIcon,marginTop:me.calc(me.fontSizeIcon).mul(-1).div(2).equal(),color:me.colorTextQuaternary,fontSize:me.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${me.motionDurationSlow} ease`,[Xt]:{verticalAlign:"top",transition:`transform ${me.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${We}-suffix)`]:{pointerEvents:"auto"}},[`${We}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${We}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${We}-prefix`]:{flex:"none",marginInlineEnd:me.selectAffixPadding},[`${We}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Xe,zIndex:1,display:"inline-block",width:me.fontSizeIcon,height:me.fontSizeIcon,marginTop:me.calc(me.fontSizeIcon).mul(-1).div(2).equal(),color:me.colorTextQuaternary,fontSize:me.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${me.motionDurationMid} ease, opacity ${me.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:me.colorTextTertiary}},[`&:hover ${We}-clear`]:{opacity:1,background:me.colorBgBase,borderRadius:"50%"}}),[`${We}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${We}-has-feedback`]:{[`${We}-clear`]:{insetInlineEnd:me.calc(Xe).add(me.fontSize).add(me.paddingXS).equal()}}}}}},Te=me=>{const{componentCls:Ot}=me;return[{[Ot]:{[`&${Ot}-in-form-item`]:{width:"100%"}}},Pe(me),vt(me),(0,de.ZP)(me),Fe(me),{[`${Ot}-rtl`]:{direction:"rtl"}},(0,xe.c)(me,{borderElCls:`${Ot}-selector`,focusElCls:`${Ot}-focused`})]};var we=(0,ce.I$)("Select",(me,Ot)=>{let{rootPrefixCls:We}=Ot;const Xe=(0,nt.mergeToken)(me,{rootPrefixCls:We,inputPaddingHorizontalBase:me.calc(me.paddingSM).sub(1).equal(),multipleSelectItemHeight:me.multipleItemHeight,selectHeight:me.controlHeight});return[Te(Xe),_e(Xe)]},et,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Yn,dn,z){"use strict";z.d(dn,{_z:function(){return Ce},gp:function(){return nt}});var b=z(36237),xe=z(63356),ce=z(51636);const nt=de=>{const{multipleSelectItemHeight:Ke,paddingXXS:be,lineWidth:vt,INTERNAL_FIXED_ITEM_MARGIN:et}=de,$e=de.max(de.calc(be).sub(vt).equal(),0),ze=de.max(de.calc($e).sub(et).equal(),0);return{basePadding:$e,containerPadding:ze,itemHeight:(0,b.unit)(Ke),itemLineHeight:(0,b.unit)(de.calc(Ke).sub(de.calc(de.lineWidth).mul(2)).equal())}},Me=de=>{const{multipleSelectItemHeight:Ke,selectHeight:be,lineWidth:vt}=de;return de.calc(be).sub(Ke).div(2).sub(vt).equal()},Ce=de=>{const{componentCls:Ke,iconCls:be,borderRadiusSM:vt,motionDurationSlow:et,paddingXS:$e,multipleItemColorDisabled:ze,multipleItemBorderColorDisabled:je,colorIcon:at,colorIconHover:Nt,INTERNAL_FIXED_ITEM_MARGIN:jt}=de;return{[`${Ke}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ke}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:jt,borderRadius:vt,cursor:"default",transition:`font-size ${et}, line-height ${et}, height ${et}`,marginInlineEnd:de.calc(jt).mul(2).equal(),paddingInlineStart:$e,paddingInlineEnd:de.calc($e).div(2).equal(),[`${Ke}-disabled&`]:{color:ze,borderColor:je,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:de.calc($e).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,xe.Ro)()),{display:"inline-flex",alignItems:"center",color:at,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${be}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Nt}})}}}},Be=(de,Ke)=>{const{componentCls:be,INTERNAL_FIXED_ITEM_MARGIN:vt}=de,et=`${be}-selection-overflow`,$e=de.multipleSelectItemHeight,ze=Me(de),je=Ke?`${be}-${Ke}`:"",at=nt(de);return{[`${be}-multiple${je}`]:Object.assign(Object.assign({},Ce(de)),{[`${be}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:at.basePadding,paddingBlock:at.containerPadding,borderRadius:de.borderRadius,[`${be}-disabled&`]:{background:de.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(vt)} 0`,lineHeight:(0,b.unit)($e),visibility:"hidden",content:'"\\a0"'}},[`${be}-selection-item`]:{height:at.itemHeight,lineHeight:(0,b.unit)(at.itemLineHeight)},[`${be}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)($e),marginBlock:vt}},[`${be}-prefix`]:{marginInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(at.basePadding).equal()},[`${et}-item + ${et}-item,
${be}-prefix + ${be}-selection-wrap
`]:{[`${be}-selection-search`]:{marginInlineStart:0},[`${be}-selection-placeholder`]:{insetInlineStart:0}},[`${et}-item-suffix`]:{minHeight:at.itemHeight,marginBlock:vt},[`${be}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(ze).equal(),"\n &-input,\n &-mirror\n ":{height:$e,fontFamily:de.fontFamily,lineHeight:(0,b.unit)($e),transition:`all ${de.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${be}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:de.calc(de.inputPaddingHorizontalBase).sub(at.basePadding).equal(),insetInlineEnd:de.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${de.motionDurationSlow}`}})}};function He(de,Ke){const{componentCls:be}=de,vt=Ke?`${be}-${Ke}`:"",et={[`${be}-multiple${vt}`]:{fontSize:de.fontSize,[`${be}-selector`]:{[`${be}-show-search&`]:{cursor:"text"}},[`
&${be}-show-arrow ${be}-selector,
&${be}-allow-clear ${be}-selector
`]:{paddingInlineEnd:de.calc(de.fontSizeIcon).add(de.controlPaddingHorizontal).equal()}}};return[Be(de,Ke),et]}const Fe=de=>{const{componentCls:Ke}=de,be=(0,ce.mergeToken)(de,{selectHeight:de.controlHeightSM,multipleSelectItemHeight:de.multipleItemHeightSM,borderRadius:de.borderRadiusSM,borderRadiusSM:de.borderRadiusXS}),vt=(0,ce.mergeToken)(de,{fontSize:de.fontSizeLG,selectHeight:de.controlHeightLG,multipleSelectItemHeight:de.multipleItemHeightLG,borderRadius:de.borderRadiusLG,borderRadiusSM:de.borderRadius});return[He(de),He(be,"sm"),{[`${Ke}-multiple${Ke}-sm`]:{[`${Ke}-selection-placeholder`]:{insetInline:de.calc(de.controlPaddingHorizontalSM).sub(de.lineWidth).equal()},[`${Ke}-selection-search`]:{marginInlineStart:2}}},He(vt,"lg")]};dn.ZP=Fe},68525:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});var b=z(59301),xe=z(40001),ce=z(19248),nt=z(99267),Me=z(84105),Ce=z(58617),Be=z(47472);function He(Fe){let{suffixIcon:de,clearIcon:Ke,menuItemSelectedIcon:be,removeIcon:vt,loading:et,multiple:$e,hasFeedback:ze,prefixCls:je,showSuffixIcon:at,feedbackIcon:Nt,showArrow:jt,componentName:se}=Fe;const Oe=Ke!=null?Ke:b.createElement(ce.Z,null),dt=lt=>de===null&&!ze&&!jt?null:b.createElement(b.Fragment,null,at!==!1&&lt,ze&&Nt);let ht=null;if(de!==void 0)ht=dt(de);else if(et)ht=dt(b.createElement(Ce.Z,{spin:!0}));else{const lt=`${je}-suffix`;ht=ut=>{let{open:Pe,showSearch:Te}=ut;return dt(Pe&&Te?b.createElement(Be.Z,{className:lt}):b.createElement(Me.Z,{className:lt}))}}let Rt=null;be!==void 0?Rt=be:$e?Rt=b.createElement(xe.Z,null):Rt=null;let _e=null;return vt!==void 0?_e=vt:_e=b.createElement(nt.Z,null),{clearIcon:Oe,suffixIcon:ht,itemIcon:Rt,removeIcon:_e}}},90005:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return b}});function b(xe,ce){return ce!==void 0?ce:xe!==null}},11938:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return ut}});var b=z(59301),xe=z(40192),ce=z(22703),nt=z(92310),Me=z.n(nt),Ce=z(26112),Be=z(48755),He=z(458),de=Pe=>{const{value:Te,formatter:we,precision:me,decimalSeparator:Ot,groupSeparator:We="",prefixCls:Xe}=Pe;let Xt;if(typeof we=="function")Xt=we(Te);else{const Se=String(Te),ve=Se.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ve||Se==="-")Xt=Se;else{const Mt=ve[1];let Jt=ve[2]||"0",Zt=ve[4]||"";Jt=Jt.replace(/\B(?=(\d{3})+(?!\d))/g,We),typeof me=="number"&&(Zt=Zt.padEnd(me,"0").slice(0,me>0?me:0)),Zt&&(Zt=`${Ot}${Zt}`),Xt=[b.createElement("span",{key:"int",className:`${Xe}-content-value-int`},Mt,Jt),Zt&&b.createElement("span",{key:"decimal",className:`${Xe}-content-value-decimal`},Zt)]}}return b.createElement("span",{className:`${Xe}-content-value`},Xt)},Ke=z(63356),be=z(16931),vt=z(51636);const et=Pe=>{const{componentCls:Te,marginXXS:we,padding:me,colorTextDescription:Ot,titleFontSize:We,colorTextHeading:Xe,contentFontSize:Xt,fontFamily:Se}=Pe;return{[Te]:Object.assign(Object.assign({},(0,Ke.Wf)(Pe)),{[`${Te}-title`]:{marginBottom:we,color:Ot,fontSize:We},[`${Te}-skeleton`]:{paddingTop:me},[`${Te}-content`]:{color:Xe,fontSize:Xt,fontFamily:Se,[`${Te}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Te}-content-prefix, ${Te}-content-suffix`]:{display:"inline-block"},[`${Te}-content-prefix`]:{marginInlineEnd:we},[`${Te}-content-suffix`]:{marginInlineStart:we}}})}},$e=Pe=>{const{fontSizeHeading3:Te,fontSize:we}=Pe;return{titleFontSize:we,contentFontSize:Te}};var ze=(0,be.I$)("Statistic",Pe=>{const Te=(0,vt.mergeToken)(Pe,{});return[et(Te)]},$e),je=function(Pe,Te){var we={};for(var me in Pe)Object.prototype.hasOwnProperty.call(Pe,me)&&Te.indexOf(me)<0&&(we[me]=Pe[me]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,me=Object.getOwnPropertySymbols(Pe);Ot<me.length;Ot++)Te.indexOf(me[Ot])<0&&Object.prototype.propertyIsEnumerable.call(Pe,me[Ot])&&(we[me[Ot]]=Pe[me[Ot]]);return we},Nt=Pe=>{const{prefixCls:Te,className:we,rootClassName:me,style:Ot,valueStyle:We,value:Xe=0,title:Xt,valueRender:Se,prefix:ve,suffix:Mt,loading:Jt=!1,formatter:Zt,precision:pe,decimalSeparator:Re=".",groupSeparator:Ue=",",onMouseEnter:tn,onMouseLeave:rt}=Pe,Kt=je(Pe,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:ct,direction:fn,className:xt,style:le}=(0,Be.dj)("statistic"),ne=ct("statistic",Te),[te,ae,he]=ze(ne),re=b.createElement(de,{decimalSeparator:Re,groupSeparator:Ue,prefixCls:ne,formatter:Zt,precision:pe,value:Xe}),ue=Me()(ne,{[`${ne}-rtl`]:fn==="rtl"},xt,we,me,ae,he),De=(0,Ce.Z)(Kt,{aria:!0,data:!0});return te(b.createElement("div",Object.assign({},De,{className:ue,style:Object.assign(Object.assign({},le),Ot),onMouseEnter:tn,onMouseLeave:rt}),Xt&&b.createElement("div",{className:`${ne}-title`},Xt),b.createElement(He.Z,{paragraph:!1,loading:Jt,className:`${ne}-skeleton`},b.createElement("div",{style:We,className:`${ne}-content`},ve&&b.createElement("span",{className:`${ne}-content-prefix`},ve),Se?Se(re):re,Mt&&b.createElement("span",{className:`${ne}-content-suffix`},Mt)))))};const jt=[["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 se(Pe,Te){let we=Pe;const me=/\[[^\]]*]/g,Ot=(Te.match(me)||[]).map(Se=>Se.slice(1,-1)),We=Te.replace(me,"[]"),Xe=jt.reduce((Se,ve)=>{let[Mt,Jt]=ve;if(Se.includes(Mt)){const Zt=Math.floor(we/Jt);return we-=Zt*Jt,Se.replace(new RegExp(`${Mt}+`,"g"),pe=>{const Re=pe.length;return Zt.toString().padStart(Re,"0")})}return Se},We);let Xt=0;return Xe.replace(me,()=>{const Se=Ot[Xt];return Xt+=1,Se})}function Oe(Pe,Te){const{format:we=""}=Te,me=new Date(Pe).getTime(),Ot=Date.now(),We=Math.max(me-Ot,0);return se(We,we)}var dt=function(Pe,Te){var we={};for(var me in Pe)Object.prototype.hasOwnProperty.call(Pe,me)&&Te.indexOf(me)<0&&(we[me]=Pe[me]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,me=Object.getOwnPropertySymbols(Pe);Ot<me.length;Ot++)Te.indexOf(me[Ot])<0&&Object.prototype.propertyIsEnumerable.call(Pe,me[Ot])&&(we[me[Ot]]=Pe[me[Ot]]);return we};const ht=1e3/30;function Rt(Pe){return new Date(Pe).getTime()}const _e=Pe=>{const{value:Te,format:we="HH:mm:ss",onChange:me,onFinish:Ot}=Pe,We=dt(Pe,["value","format","onChange","onFinish"]),Xe=(0,xe.Z)(),Xt=b.useRef(null),Se=()=>{Ot==null||Ot(),Xt.current&&(clearInterval(Xt.current),Xt.current=null)},ve=()=>{const Zt=Rt(Te);Zt>=Date.now()&&(Xt.current=setInterval(()=>{Xe(),me==null||me(Zt-Date.now()),Zt<Date.now()&&Se()},ht))};b.useEffect(()=>(ve(),()=>{Xt.current&&(clearInterval(Xt.current),Xt.current=null)}),[Te]);const Mt=(Zt,pe)=>Oe(Zt,Object.assign(Object.assign({},pe),{format:we})),Jt=Zt=>(0,ce.Tm)(Zt,{title:void 0});return b.createElement(Nt,Object.assign({},We,{value:Te,valueRender:Jt,formatter:Mt}))};var lt=b.memo(_e);Nt.Countdown=lt;var ut=Nt},58755:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return Ot}});var b=z(59301),xe=z(58617),ce=z(92310),nt=z.n(ce),Me=z(54476),Ce=z(20068),Be=z(42978),He=z(75931),Fe=z(18929),de=z(10228),Ke=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],be=b.forwardRef(function(We,Xe){var Xt,Se=We.prefixCls,ve=Se===void 0?"rc-switch":Se,Mt=We.className,Jt=We.checked,Zt=We.defaultChecked,pe=We.disabled,Re=We.loadingIcon,Ue=We.checkedChildren,tn=We.unCheckedChildren,rt=We.onClick,Kt=We.onChange,ct=We.onKeyDown,fn=(0,He.Z)(We,Ke),xt=(0,Fe.Z)(!1,{value:Jt,defaultValue:Zt}),le=(0,Be.Z)(xt,2),ne=le[0],te=le[1];function ae(De,st){var Qe=ne;return pe||(Qe=De,te(Qe),Kt==null||Kt(Qe,st)),Qe}function he(De){De.which===de.Z.LEFT?ae(!1,De):De.which===de.Z.RIGHT&&ae(!0,De),ct==null||ct(De)}function re(De){var st=ae(!ne,De);rt==null||rt(st,De)}var ue=nt()(ve,Mt,(Xt={},(0,Ce.Z)(Xt,"".concat(ve,"-checked"),ne),(0,Ce.Z)(Xt,"".concat(ve,"-disabled"),pe),Xt));return b.createElement("button",(0,Me.Z)({},fn,{type:"button",role:"switch","aria-checked":ne,disabled:pe,className:ue,ref:Xe,onKeyDown:he,onClick:re}),Re,b.createElement("span",{className:"".concat(ve,"-inner")},b.createElement("span",{className:"".concat(ve,"-inner-checked")},Ue),b.createElement("span",{className:"".concat(ve,"-inner-unchecked")},tn)))});be.displayName="Switch";var vt=be,et=z(12919),$e=z(48755),ze=z(2171),je=z(31756),at=z(36237),Nt=z(17835),jt=z(63356),se=z(16931),Oe=z(51636);const dt=We=>{const{componentCls:Xe,trackHeightSM:Xt,trackPadding:Se,trackMinWidthSM:ve,innerMinMarginSM:Mt,innerMaxMarginSM:Jt,handleSizeSM:Zt,calc:pe}=We,Re=`${Xe}-inner`,Ue=(0,at.unit)(pe(Zt).add(pe(Se).mul(2)).equal()),tn=(0,at.unit)(pe(Jt).mul(2).equal());return{[Xe]:{[`&${Xe}-small`]:{minWidth:ve,height:Xt,lineHeight:(0,at.unit)(Xt),[`${Xe}-inner`]:{paddingInlineStart:Jt,paddingInlineEnd:Mt,[`${Re}-checked, ${Re}-unchecked`]:{minHeight:Xt},[`${Re}-checked`]:{marginInlineStart:`calc(-100% + ${Ue} - ${tn})`,marginInlineEnd:`calc(100% - ${Ue} + ${tn})`},[`${Re}-unchecked`]:{marginTop:pe(Xt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Xe}-handle`]:{width:Zt,height:Zt},[`${Xe}-loading-icon`]:{top:pe(pe(Zt).sub(We.switchLoadingIconSize)).div(2).equal(),fontSize:We.switchLoadingIconSize},[`&${Xe}-checked`]:{[`${Xe}-inner`]:{paddingInlineStart:Mt,paddingInlineEnd:Jt,[`${Re}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Re}-unchecked`]:{marginInlineStart:`calc(100% - ${Ue} + ${tn})`,marginInlineEnd:`calc(-100% + ${Ue} - ${tn})`}},[`${Xe}-handle`]:{insetInlineStart:`calc(100% - ${(0,at.unit)(pe(Zt).add(Se).equal())})`}},[`&:not(${Xe}-disabled):active`]:{[`&:not(${Xe}-checked) ${Re}`]:{[`${Re}-unchecked`]:{marginInlineStart:pe(We.marginXXS).div(2).equal(),marginInlineEnd:pe(We.marginXXS).mul(-1).div(2).equal()}},[`&${Xe}-checked ${Re}`]:{[`${Re}-checked`]:{marginInlineStart:pe(We.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:pe(We.marginXXS).div(2).equal()}}}}}}},ht=We=>{const{componentCls:Xe,handleSize:Xt,calc:Se}=We;return{[Xe]:{[`${Xe}-loading-icon${We.iconCls}`]:{position:"relative",top:Se(Se(Xt).sub(We.fontSize)).div(2).equal(),color:We.switchLoadingIconColor,verticalAlign:"top"},[`&${Xe}-checked ${Xe}-loading-icon`]:{color:We.switchColor}}}},Rt=We=>{const{componentCls:Xe,trackPadding:Xt,handleBg:Se,handleShadow:ve,handleSize:Mt,calc:Jt}=We,Zt=`${Xe}-handle`;return{[Xe]:{[Zt]:{position:"absolute",top:Xt,insetInlineStart:Xt,width:Mt,height:Mt,transition:`all ${We.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Se,borderRadius:Jt(Mt).div(2).equal(),boxShadow:ve,transition:`all ${We.switchDuration} ease-in-out`,content:'""'}},[`&${Xe}-checked ${Zt}`]:{insetInlineStart:`calc(100% - ${(0,at.unit)(Jt(Mt).add(Xt).equal())})`},[`&:not(${Xe}-disabled):active`]:{[`${Zt}::before`]:{insetInlineEnd:We.switchHandleActiveInset,insetInlineStart:0},[`&${Xe}-checked ${Zt}::before`]:{insetInlineEnd:0,insetInlineStart:We.switchHandleActiveInset}}}}},_e=We=>{const{componentCls:Xe,trackHeight:Xt,trackPadding:Se,innerMinMargin:ve,innerMaxMargin:Mt,handleSize:Jt,calc:Zt}=We,pe=`${Xe}-inner`,Re=(0,at.unit)(Zt(Jt).add(Zt(Se).mul(2)).equal()),Ue=(0,at.unit)(Zt(Mt).mul(2).equal());return{[Xe]:{[pe]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Mt,paddingInlineEnd:ve,transition:`padding-inline-start ${We.switchDuration} ease-in-out, padding-inline-end ${We.switchDuration} ease-in-out`,[`${pe}-checked, ${pe}-unchecked`]:{display:"block",color:We.colorTextLightSolid,fontSize:We.fontSizeSM,transition:`margin-inline-start ${We.switchDuration} ease-in-out, margin-inline-end ${We.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Xt},[`${pe}-checked`]:{marginInlineStart:`calc(-100% + ${Re} - ${Ue})`,marginInlineEnd:`calc(100% - ${Re} + ${Ue})`},[`${pe}-unchecked`]:{marginTop:Zt(Xt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Xe}-checked ${pe}`]:{paddingInlineStart:ve,paddingInlineEnd:Mt,[`${pe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${pe}-unchecked`]:{marginInlineStart:`calc(100% - ${Re} + ${Ue})`,marginInlineEnd:`calc(-100% + ${Re} - ${Ue})`}},[`&:not(${Xe}-disabled):active`]:{[`&:not(${Xe}-checked) ${pe}`]:{[`${pe}-unchecked`]:{marginInlineStart:Zt(Se).mul(2).equal(),marginInlineEnd:Zt(Se).mul(-1).mul(2).equal()}},[`&${Xe}-checked ${pe}`]:{[`${pe}-checked`]:{marginInlineStart:Zt(Se).mul(-1).mul(2).equal(),marginInlineEnd:Zt(Se).mul(2).equal()}}}}}},lt=We=>{const{componentCls:Xe,trackHeight:Xt,trackMinWidth:Se}=We;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,jt.Wf)(We)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Se,height:Xt,lineHeight:(0,at.unit)(Xt),verticalAlign:"middle",background:We.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${We.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Xe}-disabled)`]:{background:We.colorTextTertiary}}),(0,jt.Qy)(We)),{[`&${Xe}-checked`]:{background:We.switchColor,[`&:hover:not(${Xe}-disabled)`]:{background:We.colorPrimaryHover}},[`&${Xe}-loading, &${Xe}-disabled`]:{cursor:"not-allowed",opacity:We.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Xe}-rtl`]:{direction:"rtl"}})}},ut=We=>{const{fontSize:Xe,lineHeight:Xt,controlHeight:Se,colorWhite:ve}=We,Mt=Xe*Xt,Jt=Se/2,Zt=2,pe=Mt-Zt*2,Re=Jt-Zt*2;return{trackHeight:Mt,trackHeightSM:Jt,trackMinWidth:pe*2+Zt*4,trackMinWidthSM:Re*2+Zt*2,trackPadding:Zt,handleBg:ve,handleSize:pe,handleSizeSM:Re,handleShadow:`0 2px 4px 0 ${new Nt.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:pe/2,innerMaxMargin:pe+Zt+Zt*2,innerMinMarginSM:Re/2,innerMaxMarginSM:Re+Zt+Zt*2}};var Pe=(0,se.I$)("Switch",We=>{const Xe=(0,Oe.mergeToken)(We,{switchDuration:We.motionDurationMid,switchColor:We.colorPrimary,switchDisabledOpacity:We.opacityLoading,switchLoadingIconSize:We.calc(We.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${We.opacityLoading})`,switchHandleActiveInset:"-30%"});return[lt(Xe),_e(Xe),Rt(Xe),ht(Xe),dt(Xe)]},ut),Te=function(We,Xe){var Xt={};for(var Se in We)Object.prototype.hasOwnProperty.call(We,Se)&&Xe.indexOf(Se)<0&&(Xt[Se]=We[Se]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Se=Object.getOwnPropertySymbols(We);ve<Se.length;ve++)Xe.indexOf(Se[ve])<0&&Object.prototype.propertyIsEnumerable.call(We,Se[ve])&&(Xt[Se[ve]]=We[Se[ve]]);return Xt};const me=b.forwardRef((We,Xe)=>{const{prefixCls:Xt,size:Se,disabled:ve,loading:Mt,className:Jt,rootClassName:Zt,style:pe,checked:Re,value:Ue,defaultChecked:tn,defaultValue:rt,onChange:Kt}=We,ct=Te(We,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[fn,xt]=(0,Fe.Z)(!1,{value:Re!=null?Re:Ue,defaultValue:tn!=null?tn:rt}),{getPrefixCls:le,direction:ne,switch:te}=b.useContext($e.E_),ae=b.useContext(ze.Z),he=(ve!=null?ve:ae)||Mt,re=le("switch",Xt),ue=b.createElement("div",{className:`${re}-handle`},Mt&&b.createElement(xe.Z,{className:`${re}-loading-icon`})),[De,st,Qe]=Pe(re),Ie=(0,je.Z)(Se),mt=nt()(te==null?void 0:te.className,{[`${re}-small`]:Ie==="small",[`${re}-loading`]:Mt,[`${re}-rtl`]:ne==="rtl"},Jt,Zt,st,Qe),Et=Object.assign(Object.assign({},te==null?void 0:te.style),pe),Tt=function(){xt(arguments.length<=0?void 0:arguments[0]),Kt==null||Kt.apply(void 0,arguments)};return De(b.createElement(et.Z,{component:"Switch"},b.createElement(vt,Object.assign({},ct,{checked:fn,onChange:Tt,prefixCls:re,className:mt,style:Et,disabled:he,ref:Xe,loadingIcon:ue}))))});me.__ANT_SWITCH=!0;var Ot=me},70858:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return Mo}});var b=z(59301),xe={},ce="rc-table-internal-hook",nt=z(42978),Me=z(6089),Ce=z(34280),Be=z(13697),He=z(4676);function Fe(ye){var ge=b.createContext(void 0),ot=function(Yt){var rn=Yt.value,wn=Yt.children,bn=b.useRef(rn);bn.current=rn;var kn=b.useState(function(){return{getValue:function(){return bn.current},listeners:new Set}}),Tn=(0,nt.Z)(kn,1),or=Tn[0];return(0,Ce.Z)(function(){(0,He.unstable_batchedUpdates)(function(){or.listeners.forEach(function(tr){tr(rn)})})},[rn]),b.createElement(ge.Provider,{value:or},wn)};return{Context:ge,Provider:ot,defaultValue:ye}}function de(ye,ge){var ot=(0,Me.Z)(typeof ge=="function"?ge:function(tr){if(ge===void 0)return tr;if(!Array.isArray(ge))return tr[ge];var $n={};return ge.forEach(function(Kn){$n[Kn]=tr[Kn]}),$n}),wt=b.useContext(ye==null?void 0:ye.Context),Yt=wt||{},rn=Yt.listeners,wn=Yt.getValue,bn=b.useRef();bn.current=ot(wt?wn():ye==null?void 0:ye.defaultValue);var kn=b.useState({}),Tn=(0,nt.Z)(kn,2),or=Tn[1];return(0,Ce.Z)(function(){if(!wt)return;function tr($n){var Kn=ot($n);(0,Be.Z)(bn.current,Kn,!0)||or({})}return rn.add(tr),function(){rn.delete(tr)}},[wt]),bn.current}var Ke=z(54476),be=z(8654);function vt(){var ye=b.createContext(null);function ge(){return b.useContext(ye)}function ot(Yt,rn){var wn=(0,be.Yr)(Yt),bn=function(Tn,or){var tr=wn?{ref:or}:{},$n=b.useRef(0),Kn=b.useRef(Tn),Wn=ge();return Wn!==null?b.createElement(Yt,(0,Ke.Z)({},Tn,tr)):((!rn||rn(Kn.current,Tn))&&($n.current+=1),Kn.current=Tn,b.createElement(ye.Provider,{value:$n.current},b.createElement(Yt,(0,Ke.Z)({},Tn,tr))))};return wn?b.forwardRef(bn):bn}function wt(Yt,rn){var wn=(0,be.Yr)(Yt),bn=function(Tn,or){var tr=wn?{ref:or}:{};return ge(),b.createElement(Yt,(0,Ke.Z)({},Tn,tr))};return wn?b.memo(b.forwardRef(bn),rn):b.memo(bn,rn)}return{makeImmutable:ot,responseImmutable:wt,useImmutableMark:ge}}var et=vt(),$e=et.makeImmutable,ze=et.responseImmutable,je=et.useImmutableMark,at=vt(),Nt=at.makeImmutable,jt=at.responseImmutable,se=at.useImmutableMark,Oe=Fe(),dt=Oe;function ht(ye,ge){var ot=React.useRef(0);ot.current+=1;var wt=React.useRef(ye),Yt=[];Object.keys(ye||{}).map(function(wn){var bn;(ye==null?void 0:ye[wn])!==((bn=wt.current)===null||bn===void 0?void 0:bn[wn])&&Yt.push(wn)}),wt.current=ye;var rn=React.useRef([]);return Yt.length&&(rn.current=Yt),React.useDebugValue(ot.current),React.useDebugValue(rn.current.join(", ")),ge&&console.log("".concat(ge,":"),ot.current,rn.current),ot.current}var Rt=null,_e=null,lt=z(76190),ut=z(33885),Pe=z(20068),Te=z(92310),we=z.n(Te),me=z(80547),Ot=z(97938),We=z(48736),Xe=b.createContext({renderWithProps:!1}),Xt=Xe,Se="RC_TABLE_KEY";function ve(ye){return ye==null?[]:Array.isArray(ye)?ye:[ye]}function Mt(ye){var ge=[],ot={};return ye.forEach(function(wt){for(var Yt=wt||{},rn=Yt.key,wn=Yt.dataIndex,bn=rn||ve(wn).join("-")||Se;ot[bn];)bn="".concat(bn,"_next");ot[bn]=!0,ge.push(bn)}),ge}function Jt(ye){return ye!=null}function Zt(ye){return typeof ye=="number"&&!Number.isNaN(ye)}function pe(ye){return ye&&(0,lt.Z)(ye)==="object"&&!Array.isArray(ye)&&!b.isValidElement(ye)}function Re(ye,ge,ot,wt,Yt,rn){var wn=b.useContext(Xt),bn=se(),kn=(0,me.Z)(function(){if(Jt(wt))return[wt];var Tn=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],or=(0,Ot.Z)(ye,Tn),tr=or,$n=void 0;if(Yt){var Kn=Yt(or,ye,ot);pe(Kn)?(tr=Kn.children,$n=Kn.props,wn.renderWithProps=!0):tr=Kn}return[tr,$n]},[bn,ye,wt,ge,Yt,ot],function(Tn,or){if(rn){var tr=(0,nt.Z)(Tn,2),$n=tr[1],Kn=(0,nt.Z)(or,2),Wn=Kn[1];return rn(Wn,$n)}return wn.renderWithProps?!0:!(0,Be.Z)(Tn,or,!0)});return kn}function Ue(ye,ge,ot,wt){var Yt=ye+ge-1;return ye<=wt&&Yt>=ot}function tn(ye,ge){return de(dt,function(ot){var wt=Ue(ye,ge||1,ot.hoverStartRow,ot.hoverEndRow);return[wt,ot.onHover]})}var rt=z(70425),Kt=function(ge){var ot=ge.ellipsis,wt=ge.rowType,Yt=ge.children,rn,wn=ot===!0?{showTitle:!0}:ot;return wn&&(wn.showTitle||wt==="header")&&(typeof Yt=="string"||typeof Yt=="number"?rn=Yt.toString():b.isValidElement(Yt)&&typeof Yt.props.children=="string"&&(rn=Yt.props.children)),rn};function ct(ye){var ge,ot,wt,Yt,rn,wn,bn,kn,Tn=ye.component,or=ye.children,tr=ye.ellipsis,$n=ye.scope,Kn=ye.prefixCls,Wn=ye.className,Or=ye.align,cr=ye.record,Hr=ye.render,Nr=ye.dataIndex,_r=ye.renderIndex,zr=ye.shouldCellUpdate,Yr=ye.index,ai=ye.rowType,vi=ye.colSpan,Ci=ye.rowSpan,Xi=ye.fixLeft,Gr=ye.fixRight,jr=ye.firstFixLeft,ii=ye.lastFixLeft,Sr=ye.firstFixRight,xr=ye.lastFixRight,ti=ye.appendNode,pi=ye.additionalProps,Ai=pi===void 0?{}:pi,Ji=ye.isSticky,bi="".concat(Kn,"-cell"),Fo=de(dt,["supportSticky","allColumnsFixedLeft","rowHoverable"]),wo=Fo.supportSticky,ca=Fo.allColumnsFixedLeft,Qo=Fo.rowHoverable,oa=Re(cr,Nr,_r,or,Hr,zr),ma=(0,nt.Z)(oa,2),ga=ma[0],To=ma[1],ko={},Ia=typeof Xi=="number"&&wo,Na=typeof Gr=="number"&&wo;Ia&&(ko.position="sticky",ko.left=Xi),Na&&(ko.position="sticky",ko.right=Gr);var ro=(ge=(ot=(wt=To==null?void 0:To.colSpan)!==null&&wt!==void 0?wt:Ai.colSpan)!==null&&ot!==void 0?ot:vi)!==null&&ge!==void 0?ge:1,Ao=(Yt=(rn=(wn=To==null?void 0:To.rowSpan)!==null&&wn!==void 0?wn:Ai.rowSpan)!==null&&rn!==void 0?rn:Ci)!==null&&Yt!==void 0?Yt:1,eo=tn(Yr,Ao),Zi=(0,nt.Z)(eo,2),jo=Zi[0],$o=Zi[1],ya=(0,rt.zX)(function(aa){var la;cr&&$o(Yr,Yr+Ao-1),Ai==null||(la=Ai.onMouseEnter)===null||la===void 0||la.call(Ai,aa)}),qo=(0,rt.zX)(function(aa){var la;cr&&$o(-1,-1),Ai==null||(la=Ai.onMouseLeave)===null||la===void 0||la.call(Ai,aa)});if(ro===0||Ao===0)return null;var ka=(bn=Ai.title)!==null&&bn!==void 0?bn:Kt({rowType:ai,ellipsis:tr,children:ga}),Sa=we()(bi,Wn,(kn={},(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)(kn,"".concat(bi,"-fix-left"),Ia&&wo),"".concat(bi,"-fix-left-first"),jr&&wo),"".concat(bi,"-fix-left-last"),ii&&wo),"".concat(bi,"-fix-left-all"),ii&&ca&&wo),"".concat(bi,"-fix-right"),Na&&wo),"".concat(bi,"-fix-right-first"),Sr&&wo),"".concat(bi,"-fix-right-last"),xr&&wo),"".concat(bi,"-ellipsis"),tr),"".concat(bi,"-with-append"),ti),"".concat(bi,"-fix-sticky"),(Ia||Na)&&Ji&&wo),(0,Pe.Z)(kn,"".concat(bi,"-row-hover"),!To&&jo)),Ai.className,To==null?void 0:To.className),so={};Or&&(so.textAlign=Or);var go=(0,ut.Z)((0,ut.Z)((0,ut.Z)((0,ut.Z)({},To==null?void 0:To.style),ko),so),Ai.style),ea=ga;return(0,lt.Z)(ea)==="object"&&!Array.isArray(ea)&&!b.isValidElement(ea)&&(ea=null),tr&&(ii||Sr)&&(ea=b.createElement("span",{className:"".concat(bi,"-content")},ea)),b.createElement(Tn,(0,Ke.Z)({},To,Ai,{className:Sa,style:go,title:ka,scope:$n,onMouseEnter:Qo?ya:void 0,onMouseLeave:Qo?qo:void 0,colSpan:ro!==1?ro:null,rowSpan:Ao!==1?Ao:null}),ti,ea)}var fn=b.memo(ct);function xt(ye,ge,ot,wt,Yt){var rn=ot[ye]||{},wn=ot[ge]||{},bn,kn;rn.fixed==="left"?bn=wt.left[Yt==="rtl"?ge:ye]:wn.fixed==="right"&&(kn=wt.right[Yt==="rtl"?ye:ge]);var Tn=!1,or=!1,tr=!1,$n=!1,Kn=ot[ge+1],Wn=ot[ye-1],Or=Kn&&!Kn.fixed||Wn&&!Wn.fixed||ot.every(function(zr){return zr.fixed==="left"});if(Yt==="rtl"){if(bn!==void 0){var cr=Wn&&Wn.fixed==="left";$n=!cr&&Or}else if(kn!==void 0){var Hr=Kn&&Kn.fixed==="right";tr=!Hr&&Or}}else if(bn!==void 0){var Nr=Kn&&Kn.fixed==="left";Tn=!Nr&&Or}else if(kn!==void 0){var _r=Wn&&Wn.fixed==="right";or=!_r&&Or}return{fixLeft:bn,fixRight:kn,lastFixLeft:Tn,firstFixRight:or,lastFixRight:tr,firstFixLeft:$n,isSticky:wt.isSticky}}var le=b.createContext({}),ne=le;function te(ye){var ge=ye.className,ot=ye.index,wt=ye.children,Yt=ye.colSpan,rn=Yt===void 0?1:Yt,wn=ye.rowSpan,bn=ye.align,kn=de(dt,["prefixCls","direction"]),Tn=kn.prefixCls,or=kn.direction,tr=b.useContext(ne),$n=tr.scrollColumnIndex,Kn=tr.stickyOffsets,Wn=tr.flattenColumns,Or=ot+rn-1,cr=Or+1===$n?rn+1:rn,Hr=xt(ot,ot+cr-1,Wn,Kn,or);return b.createElement(fn,(0,Ke.Z)({className:ge,index:ot,component:"td",prefixCls:Tn,record:null,dataIndex:null,align:bn,colSpan:cr,rowSpan:wn,render:function(){return wt}},Hr))}var ae=z(75931),he=["children"];function re(ye){var ge=ye.children,ot=(0,ae.Z)(ye,he);return b.createElement("tr",ot,ge)}function ue(ye){var ge=ye.children;return ge}ue.Row=re,ue.Cell=te;var De=ue;function st(ye){var ge=ye.children,ot=ye.stickyOffsets,wt=ye.flattenColumns,Yt=de(dt,"prefixCls"),rn=wt.length-1,wn=wt[rn],bn=b.useMemo(function(){return{stickyOffsets:ot,flattenColumns:wt,scrollColumnIndex:wn!=null&&wn.scrollbar?rn:null}},[wn,wt,rn,ot]);return b.createElement(ne.Provider,{value:bn},b.createElement("tfoot",{className:"".concat(Yt,"-summary")},ge))}var Qe=jt(st),Ie=De,mt=z(29301),Et=z(3465),Tt=z(75152),Le=z(26112);function Ye(ye,ge,ot,wt,Yt,rn,wn){ye.push({record:ge,indent:ot,index:wn});var bn=rn(ge),kn=Yt==null?void 0:Yt.has(bn);if(ge&&Array.isArray(ge[wt])&&kn)for(var Tn=0;Tn<ge[wt].length;Tn+=1)Ye(ye,ge[wt][Tn],ot+1,wt,Yt,rn,Tn)}function vn(ye,ge,ot,wt){var Yt=b.useMemo(function(){if(ot!=null&&ot.size){for(var rn=[],wn=0;wn<(ye==null?void 0:ye.length);wn+=1){var bn=ye[wn];Ye(rn,bn,0,ge,ot,wt,wn)}return rn}return ye==null?void 0:ye.map(function(kn,Tn){return{record:kn,indent:0,index:Tn}})},[ye,ge,ot,wt]);return Yt}function Ht(ye,ge,ot,wt){var Yt=de(dt,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),rn=Yt.flattenColumns,wn=Yt.expandableType,bn=Yt.expandedKeys,kn=Yt.childrenColumnName,Tn=Yt.onTriggerExpand,or=Yt.rowExpandable,tr=Yt.onRow,$n=Yt.expandRowByClick,Kn=Yt.rowClassName,Wn=wn==="nest",Or=wn==="row"&&(!or||or(ye)),cr=Or||Wn,Hr=bn&&bn.has(ge),Nr=kn&&ye&&ye[kn],_r=(0,rt.zX)(Tn),zr=tr==null?void 0:tr(ye,ot),Yr=zr==null?void 0:zr.onClick,ai=function(Gr){$n&&cr&&Tn(ye,Gr);for(var jr=arguments.length,ii=new Array(jr>1?jr-1:0),Sr=1;Sr<jr;Sr++)ii[Sr-1]=arguments[Sr];Yr==null||Yr.apply(void 0,[Gr].concat(ii))},vi;typeof Kn=="string"?vi=Kn:typeof Kn=="function"&&(vi=Kn(ye,ot,wt));var Ci=Mt(rn);return(0,ut.Z)((0,ut.Z)({},Yt),{},{columnsKey:Ci,nestExpandable:Wn,expanded:Hr,hasNestChildren:Nr,record:ye,onTriggerExpand:_r,rowSupportExpand:Or,expandable:cr,rowProps:(0,ut.Z)((0,ut.Z)({},zr),{},{className:we()(vi,zr==null?void 0:zr.className),onClick:ai})})}function Cn(ye){var ge=ye.prefixCls,ot=ye.children,wt=ye.component,Yt=ye.cellComponent,rn=ye.className,wn=ye.expanded,bn=ye.colSpan,kn=ye.isEmpty,Tn=de(dt,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),or=Tn.scrollbarSize,tr=Tn.fixHeader,$n=Tn.fixColumn,Kn=Tn.componentWidth,Wn=Tn.horizonScroll,Or=ot;return(kn?Wn&&Kn:$n)&&(Or=b.createElement("div",{style:{width:Kn-(tr&&!kn?or:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},Or)),b.createElement(wt,{className:rn,style:{display:wn?null:"none"}},b.createElement(fn,{component:Yt,prefixCls:ge,colSpan:bn},Or))}var un=Cn;function Ut(ye){var ge=ye.prefixCls,ot=ye.record,wt=ye.onExpand,Yt=ye.expanded,rn=ye.expandable,wn="".concat(ge,"-row-expand-icon");if(!rn)return b.createElement("span",{className:we()(wn,"".concat(ge,"-row-spaced"))});var bn=function(Tn){wt(ot,Tn),Tn.stopPropagation()};return b.createElement("span",{className:we()(wn,(0,Pe.Z)((0,Pe.Z)({},"".concat(ge,"-row-expanded"),Yt),"".concat(ge,"-row-collapsed"),!Yt)),onClick:bn})}function on(ye,ge,ot){var wt=[];function Yt(rn){(rn||[]).forEach(function(wn,bn){wt.push(ge(wn,bn)),Yt(wn[ot])})}return Yt(ye),wt}function mn(ye,ge,ot,wt){return typeof ye=="string"?ye:typeof ye=="function"?ye(ge,ot,wt):""}function ft(ye,ge,ot,wt,Yt){var rn=ye.record,wn=ye.prefixCls,bn=ye.columnsKey,kn=ye.fixedInfoList,Tn=ye.expandIconColumnIndex,or=ye.nestExpandable,tr=ye.indentSize,$n=ye.expandIcon,Kn=ye.expanded,Wn=ye.hasNestChildren,Or=ye.onTriggerExpand,cr=bn[ot],Hr=kn[ot],Nr;ot===(Tn||0)&&or&&(Nr=b.createElement(b.Fragment,null,b.createElement("span",{style:{paddingLeft:"".concat(tr*wt,"px")},className:"".concat(wn,"-row-indent indent-level-").concat(wt)}),$n({prefixCls:wn,expanded:Kn,expandable:Wn,record:rn,onExpand:Or})));var _r;return ge.onCell&&(_r=ge.onCell(rn,Yt)),{key:cr,fixedInfo:Hr,appendCellNode:Nr,additionalCellProps:_r||{}}}function Vt(ye){var ge=ye.className,ot=ye.style,wt=ye.record,Yt=ye.index,rn=ye.renderIndex,wn=ye.rowKey,bn=ye.indent,kn=bn===void 0?0:bn,Tn=ye.rowComponent,or=ye.cellComponent,tr=ye.scopeCellComponent,$n=Ht(wt,wn,Yt,kn),Kn=$n.prefixCls,Wn=$n.flattenColumns,Or=$n.expandedRowClassName,cr=$n.expandedRowRender,Hr=$n.rowProps,Nr=$n.expanded,_r=$n.rowSupportExpand,zr=b.useRef(!1);zr.current||(zr.current=Nr);var Yr=mn(Or,wt,Yt,kn),ai=b.createElement(Tn,(0,Ke.Z)({},Hr,{"data-row-key":wn,className:we()(ge,"".concat(Kn,"-row"),"".concat(Kn,"-row-level-").concat(kn),Hr==null?void 0:Hr.className,(0,Pe.Z)({},Yr,kn>=1)),style:(0,ut.Z)((0,ut.Z)({},ot),Hr==null?void 0:Hr.style)}),Wn.map(function(Xi,Gr){var jr=Xi.render,ii=Xi.dataIndex,Sr=Xi.className,xr=ft($n,Xi,Gr,kn,Yt),ti=xr.key,pi=xr.fixedInfo,Ai=xr.appendCellNode,Ji=xr.additionalCellProps;return b.createElement(fn,(0,Ke.Z)({className:Sr,ellipsis:Xi.ellipsis,align:Xi.align,scope:Xi.rowScope,component:Xi.rowScope?tr:or,prefixCls:Kn,key:ti,record:wt,index:Yt,renderIndex:rn,dataIndex:ii,render:jr,shouldCellUpdate:Xi.shouldCellUpdate},pi,{appendNode:Ai,additionalProps:Ji}))})),vi;if(_r&&(zr.current||Nr)){var Ci=cr(wt,Yt,kn+1,Nr);vi=b.createElement(un,{expanded:Nr,className:we()("".concat(Kn,"-expanded-row"),"".concat(Kn,"-expanded-row-level-").concat(kn+1),Yr),prefixCls:Kn,component:Tn,cellComponent:or,colSpan:Wn.length,isEmpty:!1},Ci)}return b.createElement(b.Fragment,null,ai,vi)}var yn=jt(Vt);function Ct(ye){var ge=ye.columnKey,ot=ye.onColumnResize,wt=b.useRef();return(0,Ce.Z)(function(){wt.current&&ot(ge,wt.current.offsetWidth)},[]),b.createElement(mt.Z,{data:ge},b.createElement("td",{ref:wt,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Je=z(29194);function Wt(ye){var ge=ye.prefixCls,ot=ye.columnsKey,wt=ye.onColumnResize,Yt=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0},ref:Yt},b.createElement(mt.Z.Collection,{onBatchResize:function(wn){(0,Je.Z)(Yt.current)&&wn.forEach(function(bn){var kn=bn.data,Tn=bn.size;wt(kn,Tn.offsetWidth)})}},ot.map(function(rn){return b.createElement(Ct,{key:rn,columnKey:rn,onColumnResize:wt})})))}function qt(ye){var ge=ye.data,ot=ye.measureColumnWidth,wt=de(dt,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Yt=wt.prefixCls,rn=wt.getComponent,wn=wt.onColumnResize,bn=wt.flattenColumns,kn=wt.getRowKey,Tn=wt.expandedKeys,or=wt.childrenColumnName,tr=wt.emptyNode,$n=vn(ge,or,Tn,kn),Kn=b.useRef({renderWithProps:!1}),Wn=rn(["body","wrapper"],"tbody"),Or=rn(["body","row"],"tr"),cr=rn(["body","cell"],"td"),Hr=rn(["body","cell"],"th"),Nr;ge.length?Nr=$n.map(function(zr,Yr){var ai=zr.record,vi=zr.indent,Ci=zr.index,Xi=kn(ai,Yr);return b.createElement(yn,{key:Xi,rowKey:Xi,record:ai,index:Yr,renderIndex:Ci,rowComponent:Or,cellComponent:cr,scopeCellComponent:Hr,indent:vi})}):Nr=b.createElement(un,{expanded:!0,className:"".concat(Yt,"-placeholder"),prefixCls:Yt,component:Or,cellComponent:cr,colSpan:bn.length,isEmpty:!0},tr);var _r=Mt(bn);return b.createElement(Xt.Provider,{value:Kn.current},b.createElement(Wn,{className:"".concat(Yt,"-tbody")},ot&&b.createElement(Wt,{prefixCls:Yt,columnsKey:_r,onColumnResize:wn}),Nr))}var ln=jt(qt),Zn=["expandable"],qn="RC_TABLE_INTERNAL_COL_DEFINE";function mr(ye){var ge=ye.expandable,ot=(0,ae.Z)(ye,Zn),wt;return"expandable"in ye?wt=(0,ut.Z)((0,ut.Z)({},ot),ge):wt=ot,wt.showExpandColumn===!1&&(wt.expandIconColumnIndex=-1),wt}var vr=["columnType"];function _n(ye){for(var ge=ye.colWidths,ot=ye.columns,wt=ye.columCount,Yt=de(dt,["tableLayout"]),rn=Yt.tableLayout,wn=[],bn=wt||ot.length,kn=!1,Tn=bn-1;Tn>=0;Tn-=1){var or=ge[Tn],tr=ot&&ot[Tn],$n=void 0,Kn=void 0;if(tr&&($n=tr[qn],rn==="auto"&&(Kn=tr.minWidth)),or||Kn||$n||kn){var Wn=$n||{},Or=Wn.columnType,cr=(0,ae.Z)(Wn,vr);wn.unshift(b.createElement("col",(0,Ke.Z)({key:Tn,style:{width:or,minWidth:Kn}},cr))),kn=!0}}return b.createElement("colgroup",null,wn)}var dr=_n,Qt=z(94480),En=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function pn(ye,ge){return(0,b.useMemo)(function(){for(var ot=[],wt=0;wt<ge;wt+=1){var Yt=ye[wt];if(Yt!==void 0)ot[wt]=Yt;else return null}return ot},[ye.join("_"),ge])}var xn=b.forwardRef(function(ye,ge){var ot=ye.className,wt=ye.noData,Yt=ye.columns,rn=ye.flattenColumns,wn=ye.colWidths,bn=ye.columCount,kn=ye.stickyOffsets,Tn=ye.direction,or=ye.fixHeader,tr=ye.stickyTopOffset,$n=ye.stickyBottomOffset,Kn=ye.stickyClassName,Wn=ye.onScroll,Or=ye.maxContentScroll,cr=ye.children,Hr=(0,ae.Z)(ye,En),Nr=de(dt,["prefixCls","scrollbarSize","isSticky","getComponent"]),_r=Nr.prefixCls,zr=Nr.scrollbarSize,Yr=Nr.isSticky,ai=Nr.getComponent,vi=ai(["header","table"],"table"),Ci=Yr&&!or?0:zr,Xi=b.useRef(null),Gr=b.useCallback(function(Ji){(0,be.mH)(ge,Ji),(0,be.mH)(Xi,Ji)},[]);b.useEffect(function(){var Ji;function bi(Fo){var wo=Fo,ca=wo.currentTarget,Qo=wo.deltaX;Qo&&(Wn({currentTarget:ca,scrollLeft:ca.scrollLeft+Qo}),Fo.preventDefault())}return(Ji=Xi.current)===null||Ji===void 0||Ji.addEventListener("wheel",bi,{passive:!1}),function(){var Fo;(Fo=Xi.current)===null||Fo===void 0||Fo.removeEventListener("wheel",bi)}},[]);var jr=b.useMemo(function(){return rn.every(function(Ji){return Ji.width})},[rn]),ii=rn[rn.length-1],Sr={fixed:ii?ii.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(_r,"-cell-scrollbar")}}},xr=(0,b.useMemo)(function(){return Ci?[].concat((0,Qt.Z)(Yt),[Sr]):Yt},[Ci,Yt]),ti=(0,b.useMemo)(function(){return Ci?[].concat((0,Qt.Z)(rn),[Sr]):rn},[Ci,rn]),pi=(0,b.useMemo)(function(){var Ji=kn.right,bi=kn.left;return(0,ut.Z)((0,ut.Z)({},kn),{},{left:Tn==="rtl"?[].concat((0,Qt.Z)(bi.map(function(Fo){return Fo+Ci})),[0]):bi,right:Tn==="rtl"?Ji:[].concat((0,Qt.Z)(Ji.map(function(Fo){return Fo+Ci})),[0]),isSticky:Yr})},[Ci,kn,Yr]),Ai=pn(wn,bn);return b.createElement("div",{style:(0,ut.Z)({overflow:"hidden"},Yr?{top:tr,bottom:$n}:{}),ref:Gr,className:we()(ot,(0,Pe.Z)({},Kn,!!Kn))},b.createElement(vi,{style:{tableLayout:"fixed",visibility:wt||Ai?null:"hidden"}},(!wt||!Or||jr)&&b.createElement(dr,{colWidths:Ai?[].concat((0,Qt.Z)(Ai),[Ci]):[],columCount:bn+1,columns:ti}),cr((0,ut.Z)((0,ut.Z)({},Hr),{},{stickyOffsets:pi,columns:xr,flattenColumns:ti}))))}),sn=b.memo(xn),Fn=function(ge){var ot=ge.cells,wt=ge.stickyOffsets,Yt=ge.flattenColumns,rn=ge.rowComponent,wn=ge.cellComponent,bn=ge.onHeaderRow,kn=ge.index,Tn=de(dt,["prefixCls","direction"]),or=Tn.prefixCls,tr=Tn.direction,$n;bn&&($n=bn(ot.map(function(Wn){return Wn.column}),kn));var Kn=Mt(ot.map(function(Wn){return Wn.column}));return b.createElement(rn,$n,ot.map(function(Wn,Or){var cr=Wn.column,Hr=xt(Wn.colStart,Wn.colEnd,Yt,wt,tr),Nr;return cr&&cr.onHeaderCell&&(Nr=Wn.column.onHeaderCell(cr)),b.createElement(fn,(0,Ke.Z)({},Wn,{scope:cr.title?Wn.colSpan>1?"colgroup":"col":null,ellipsis:cr.ellipsis,align:cr.align,component:wn,prefixCls:or,key:Kn[Or]},Hr,{additionalProps:Nr,rowType:"header"}))}))},St=Fn;function Sn(ye){var ge=[];function ot(wn,bn){var kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[kn]=ge[kn]||[];var Tn=bn,or=wn.filter(Boolean).map(function(tr){var $n={key:tr.key,className:tr.className||"",children:tr.title,column:tr,colStart:Tn},Kn=1,Wn=tr.children;return Wn&&Wn.length>0&&(Kn=ot(Wn,Tn,kn+1).reduce(function(Or,cr){return Or+cr},0),$n.hasSubColumns=!0),"colSpan"in tr&&(Kn=tr.colSpan),"rowSpan"in tr&&($n.rowSpan=tr.rowSpan),$n.colSpan=Kn,$n.colEnd=$n.colStart+Kn-1,ge[kn].push($n),Tn+=Kn,Kn});return or}ot(ye,0);for(var wt=ge.length,Yt=function(bn){ge[bn].forEach(function(kn){!("rowSpan"in kn)&&!kn.hasSubColumns&&(kn.rowSpan=wt-bn)})},rn=0;rn<wt;rn+=1)Yt(rn);return ge}var Bt=function(ge){var ot=ge.stickyOffsets,wt=ge.columns,Yt=ge.flattenColumns,rn=ge.onHeaderRow,wn=de(dt,["prefixCls","getComponent"]),bn=wn.prefixCls,kn=wn.getComponent,Tn=b.useMemo(function(){return Sn(wt)},[wt]),or=kn(["header","wrapper"],"thead"),tr=kn(["header","row"],"tr"),$n=kn(["header","cell"],"th");return b.createElement(or,{className:"".concat(bn,"-thead")},Tn.map(function(Kn,Wn){var Or=b.createElement(St,{key:Wn,flattenColumns:Yt,cells:Kn,stickyOffsets:ot,rowComponent:tr,cellComponent:$n,onHeaderRow:rn,index:Wn});return Or}))},hn=jt(Bt),An=z(11592);function On(ye){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?ye*parseFloat(ge)/100:null}function Ln(ye,ge,ot){return b.useMemo(function(){if(ge&&ge>0){var wt=0,Yt=0;ye.forEach(function($n){var Kn=On(ge,$n.width);Kn?wt+=Kn:Yt+=1});var rn=Math.max(ge,ot),wn=Math.max(rn-wt,Yt),bn=Yt,kn=wn/Yt,Tn=0,or=ye.map(function($n){var Kn=(0,ut.Z)({},$n),Wn=On(ge,Kn.width);if(Wn)Kn.width=Wn;else{var Or=Math.floor(kn);Kn.width=bn===1?wn:Or,wn-=Or,bn-=1}return Tn+=Kn.width,Kn});if(Tn<rn){var tr=rn/Tn;wn=rn,or.forEach(function($n,Kn){var Wn=Math.floor($n.width*tr);$n.width=Kn===or.length-1?wn:Wn,wn-=Wn})}return[or,Math.max(Tn,rn)]}return[ye,ge]},[ye,ge,ot])}var nr=["children"],Xn=["fixed"];function nn(ye){return(0,An.Z)(ye).filter(function(ge){return b.isValidElement(ge)}).map(function(ge){var ot=ge.key,wt=ge.props,Yt=wt.children,rn=(0,ae.Z)(wt,nr),wn=(0,ut.Z)({key:ot},rn);return Yt&&(wn.children=nn(Yt)),wn})}function Pn(ye){return ye.filter(function(ge){return ge&&(0,lt.Z)(ge)==="object"&&!ge.hidden}).map(function(ge){var ot=ge.children;return ot&&ot.length>0?(0,ut.Z)((0,ut.Z)({},ge),{},{children:Pn(ot)}):ge})}function en(ye){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ye.filter(function(ot){return ot&&(0,lt.Z)(ot)==="object"}).reduce(function(ot,wt,Yt){var rn=wt.fixed,wn=rn===!0?"left":rn,bn="".concat(ge,"-").concat(Yt),kn=wt.children;return kn&&kn.length>0?[].concat((0,Qt.Z)(ot),(0,Qt.Z)(en(kn,bn).map(function(Tn){return(0,ut.Z)({fixed:wn},Tn)}))):[].concat((0,Qt.Z)(ot),[(0,ut.Z)((0,ut.Z)({key:bn},wt),{},{fixed:wn})])},[])}function er(ye){return ye.map(function(ge){var ot=ge.fixed,wt=(0,ae.Z)(ge,Xn),Yt=ot;return ot==="left"?Yt="right":ot==="right"&&(Yt="left"),(0,ut.Z)({fixed:Yt},wt)})}function Dt(ye,ge){var ot=ye.prefixCls,wt=ye.columns,Yt=ye.children,rn=ye.expandable,wn=ye.expandedKeys,bn=ye.columnTitle,kn=ye.getRowKey,Tn=ye.onTriggerExpand,or=ye.expandIcon,tr=ye.rowExpandable,$n=ye.expandIconColumnIndex,Kn=ye.direction,Wn=ye.expandRowByClick,Or=ye.columnWidth,cr=ye.fixed,Hr=ye.scrollWidth,Nr=ye.clientWidth,_r=b.useMemo(function(){var ii=wt||nn(Yt)||[];return Pn(ii.slice())},[wt,Yt]),zr=b.useMemo(function(){if(rn){var ii=_r.slice();if(!ii.includes(xe)){var Sr=$n||0;Sr>=0&&(Sr||cr==="left"||!cr)&&ii.splice(Sr,0,xe),cr==="right"&&ii.splice(_r.length,0,xe)}var xr=ii.indexOf(xe);ii=ii.filter(function(Ji,bi){return Ji!==xe||bi===xr});var ti=_r[xr],pi;cr?pi=cr:pi=ti?ti.fixed:null;var Ai=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},qn,{className:"".concat(ot,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",bn),"fixed",pi),"className","".concat(ot,"-row-expand-icon-cell")),"width",Or),"render",function(bi,Fo,wo){var ca=kn(Fo,wo),Qo=wn.has(ca),oa=tr?tr(Fo):!0,ma=or({prefixCls:ot,expanded:Qo,expandable:oa,record:Fo,onExpand:Tn});return Wn?b.createElement("span",{onClick:function(To){return To.stopPropagation()}},ma):ma});return ii.map(function(Ji){return Ji===xe?Ai:Ji})}return _r.filter(function(Ji){return Ji!==xe})},[rn,_r,kn,wn,or,Kn]),Yr=b.useMemo(function(){var ii=zr;return ge&&(ii=ge(ii)),ii.length||(ii=[{render:function(){return null}}]),ii},[ge,zr,Kn]),ai=b.useMemo(function(){return Kn==="rtl"?er(en(Yr)):en(Yr)},[Yr,Kn,Hr]),vi=b.useMemo(function(){for(var ii=-1,Sr=ai.length-1;Sr>=0;Sr-=1){var xr=ai[Sr].fixed;if(xr==="left"||xr===!0){ii=Sr;break}}if(ii>=0)for(var ti=0;ti<=ii;ti+=1){var pi=ai[ti].fixed;if(pi!=="left"&&pi!==!0)return!0}var Ai=ai.findIndex(function(Fo){var wo=Fo.fixed;return wo==="right"});if(Ai>=0)for(var Ji=Ai;Ji<ai.length;Ji+=1){var bi=ai[Ji].fixed;if(bi!=="right")return!0}return!1},[ai]),Ci=Ln(ai,Hr,Nr),Xi=(0,nt.Z)(Ci,2),Gr=Xi[0],jr=Xi[1];return[Yr,Gr,jr,vi]}var Gt=Dt;function Ze(ye,ge,ot){var wt=mr(ye),Yt=wt.expandIcon,rn=wt.expandedRowKeys,wn=wt.defaultExpandedRowKeys,bn=wt.defaultExpandAllRows,kn=wt.expandedRowRender,Tn=wt.onExpand,or=wt.onExpandedRowsChange,tr=wt.childrenColumnName,$n=Yt||Ut,Kn=tr||"children",Wn=b.useMemo(function(){return kn?"row":ye.expandable&&ye.internalHooks===ce&&ye.expandable.__PARENT_RENDER_ICON__||ge.some(function(Yr){return Yr&&(0,lt.Z)(Yr)==="object"&&Yr[Kn]})?"nest":!1},[!!kn,ge]),Or=b.useState(function(){return wn||(bn?on(ge,ot,Kn):[])}),cr=(0,nt.Z)(Or,2),Hr=cr[0],Nr=cr[1],_r=b.useMemo(function(){return new Set(rn||Hr||[])},[rn,Hr]),zr=b.useCallback(function(Yr){var ai=ot(Yr,ge.indexOf(Yr)),vi,Ci=_r.has(ai);Ci?(_r.delete(ai),vi=(0,Qt.Z)(_r)):vi=[].concat((0,Qt.Z)(_r),[ai]),Nr(vi),Tn&&Tn(!Ci,Yr),or&&or(vi)},[ot,_r,ge,Tn,or]);return[wt,Wn,_r,$n,Kn,zr]}function gt(ye,ge,ot){var wt=ye.map(function(Yt,rn){return xt(rn,rn,ye,ge,ot)});return(0,me.Z)(function(){return wt},[wt],function(Yt,rn){return!(0,Be.Z)(Yt,rn)})}function Ve(ye){var ge=(0,b.useRef)(ye),ot=(0,b.useState)({}),wt=(0,nt.Z)(ot,2),Yt=wt[1],rn=(0,b.useRef)(null),wn=(0,b.useRef)([]);function bn(kn){wn.current.push(kn);var Tn=Promise.resolve();rn.current=Tn,Tn.then(function(){if(rn.current===Tn){var or=wn.current,tr=ge.current;wn.current=[],or.forEach(function($n){ge.current=$n(ge.current)}),rn.current=null,tr!==ge.current&&Yt({})}})}return(0,b.useEffect)(function(){return function(){rn.current=null}},[]),[ge.current,bn]}function yt(ye){var ge=(0,b.useRef)(ye||null),ot=(0,b.useRef)();function wt(){window.clearTimeout(ot.current)}function Yt(wn){ge.current=wn,wt(),ot.current=window.setTimeout(function(){ge.current=null,ot.current=void 0},100)}function rn(){return ge.current}return(0,b.useEffect)(function(){return wt},[]),[Yt,rn]}function _t(){var ye=b.useState(-1),ge=(0,nt.Z)(ye,2),ot=ge[0],wt=ge[1],Yt=b.useState(-1),rn=(0,nt.Z)(Yt,2),wn=rn[0],bn=rn[1],kn=b.useCallback(function(Tn,or){wt(Tn),bn(or)},[]);return[ot,wn,kn]}var rr=z(47273),ar=(0,rr.Z)()?window:null;function pt(ye,ge){var ot=(0,lt.Z)(ye)==="object"?ye:{},wt=ot.offsetHeader,Yt=wt===void 0?0:wt,rn=ot.offsetSummary,wn=rn===void 0?0:rn,bn=ot.offsetScroll,kn=bn===void 0?0:bn,Tn=ot.getContainer,or=Tn===void 0?function(){return ar}:Tn,tr=or()||ar,$n=!!ye;return b.useMemo(function(){return{isSticky:$n,stickyClassName:$n?"".concat(ge,"-sticky-holder"):"",offsetHeader:Yt,offsetSummary:wn,offsetScroll:kn,container:tr}},[$n,kn,Yt,wn,ge,tr])}function bt(ye,ge,ot){var wt=(0,b.useMemo)(function(){var Yt=ge.length,rn=function(Tn,or,tr){for(var $n=[],Kn=0,Wn=Tn;Wn!==or;Wn+=tr)$n.push(Kn),ge[Wn].fixed&&(Kn+=ye[Wn]||0);return $n},wn=rn(0,Yt,1),bn=rn(Yt-1,-1,-1).reverse();return ot==="rtl"?{left:bn,right:wn}:{left:wn,right:bn}},[ye,ge,ot]);return wt}var Pt=bt;function zt(ye){var ge=ye.className,ot=ye.children;return b.createElement("div",{className:ge},ot)}var Bn=zt,Hn=z(8224),Rn=z(16089),Un=z(76846);function pr(ye){var ge=(0,Un.bn)(ye),ot=ge.getBoundingClientRect(),wt=document.documentElement;return{left:ot.left+(window.pageXOffset||wt.scrollLeft)-(wt.clientLeft||document.body.clientLeft||0),top:ot.top+(window.pageYOffset||wt.scrollTop)-(wt.clientTop||document.body.clientTop||0)}}var Ar=function(ge,ot){var wt,Yt,rn=ge.scrollBodyRef,wn=ge.onScroll,bn=ge.offsetScroll,kn=ge.container,Tn=ge.direction,or=de(dt,"prefixCls"),tr=((wt=rn.current)===null||wt===void 0?void 0:wt.scrollWidth)||0,$n=((Yt=rn.current)===null||Yt===void 0?void 0:Yt.clientWidth)||0,Kn=tr&&$n*($n/tr),Wn=b.useRef(),Or=Ve({scrollLeft:0,isHiddenScrollBar:!0}),cr=(0,nt.Z)(Or,2),Hr=cr[0],Nr=cr[1],_r=b.useRef({delta:0,x:0}),zr=b.useState(!1),Yr=(0,nt.Z)(zr,2),ai=Yr[0],vi=Yr[1],Ci=b.useRef(null);b.useEffect(function(){return function(){Rn.Z.cancel(Ci.current)}},[]);var Xi=function(){vi(!1)},Gr=function(ti){ti.persist(),_r.current.delta=ti.pageX-Hr.scrollLeft,_r.current.x=0,vi(!0),ti.preventDefault()},jr=function(ti){var pi,Ai=ti||((pi=window)===null||pi===void 0?void 0:pi.event),Ji=Ai.buttons;if(!ai||Ji===0){ai&&vi(!1);return}var bi=_r.current.x+ti.pageX-_r.current.x-_r.current.delta,Fo=Tn==="rtl";bi=Math.max(Fo?Kn-$n:0,Math.min(Fo?0:$n-Kn,bi));var wo=!Fo||Math.abs(bi)+Math.abs(Kn)<$n;wo&&(wn({scrollLeft:bi/$n*(tr+2)}),_r.current.x=ti.pageX)},ii=function(){Rn.Z.cancel(Ci.current),Ci.current=(0,Rn.Z)(function(){if(rn.current){var ti=pr(rn.current).top,pi=ti+rn.current.offsetHeight,Ai=kn===window?document.documentElement.scrollTop+window.innerHeight:pr(kn).top+kn.clientHeight;pi-(0,Tt.Z)()<=Ai||ti>=Ai-bn?Nr(function(Ji){return(0,ut.Z)((0,ut.Z)({},Ji),{},{isHiddenScrollBar:!0})}):Nr(function(Ji){return(0,ut.Z)((0,ut.Z)({},Ji),{},{isHiddenScrollBar:!1})})}})},Sr=function(ti){Nr(function(pi){return(0,ut.Z)((0,ut.Z)({},pi),{},{scrollLeft:ti/tr*$n||0})})};return b.useImperativeHandle(ot,function(){return{setScrollLeft:Sr,checkScrollBarVisible:ii}}),b.useEffect(function(){var xr=(0,Hn.Z)(document.body,"mouseup",Xi,!1),ti=(0,Hn.Z)(document.body,"mousemove",jr,!1);return ii(),function(){xr.remove(),ti.remove()}},[Kn,ai]),b.useEffect(function(){if(rn.current){for(var xr=[],ti=(0,Un.bn)(rn.current);ti;)xr.push(ti),ti=ti.parentElement;return xr.forEach(function(pi){return pi.addEventListener("scroll",ii,!1)}),window.addEventListener("resize",ii,!1),window.addEventListener("scroll",ii,!1),kn.addEventListener("scroll",ii,!1),function(){xr.forEach(function(pi){return pi.removeEventListener("scroll",ii)}),window.removeEventListener("resize",ii),window.removeEventListener("scroll",ii),kn.removeEventListener("scroll",ii)}}},[kn]),b.useEffect(function(){Hr.isHiddenScrollBar||Nr(function(xr){var ti=rn.current;return ti?(0,ut.Z)((0,ut.Z)({},xr),{},{scrollLeft:ti.scrollLeft/ti.scrollWidth*ti.clientWidth}):xr})},[Hr.isHiddenScrollBar]),tr<=$n||!Kn||Hr.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,Tt.Z)(),width:$n,bottom:bn},className:"".concat(or,"-sticky-scroll")},b.createElement("div",{onMouseDown:Gr,ref:Wn,className:we()("".concat(or,"-sticky-scroll-bar"),(0,Pe.Z)({},"".concat(or,"-sticky-scroll-bar-active"),ai)),style:{width:"".concat(Kn,"px"),transform:"translate3d(".concat(Hr.scrollLeft,"px, 0, 0)")}}))},Vr=b.forwardRef(Ar);function Br(ye){return null}var fr=Br;function Pr(ye){return null}var kr=Pr,$r="rc-table",Xr=[],mi={};function yr(){return"No Data"}function ur(ye,ge){var ot=(0,ut.Z)({rowKey:"key",prefixCls:$r,emptyText:yr},ye),wt=ot.prefixCls,Yt=ot.className,rn=ot.rowClassName,wn=ot.style,bn=ot.data,kn=ot.rowKey,Tn=ot.scroll,or=ot.tableLayout,tr=ot.direction,$n=ot.title,Kn=ot.footer,Wn=ot.summary,Or=ot.caption,cr=ot.id,Hr=ot.showHeader,Nr=ot.components,_r=ot.emptyText,zr=ot.onRow,Yr=ot.onHeaderRow,ai=ot.onScroll,vi=ot.internalHooks,Ci=ot.transformColumns,Xi=ot.internalRefs,Gr=ot.tailor,jr=ot.getContainerWidth,ii=ot.sticky,Sr=ot.rowHoverable,xr=Sr===void 0?!0:Sr,ti=bn||Xr,pi=!!ti.length,Ai=vi===ce,Ji=b.useCallback(function(ia,ua){return(0,Ot.Z)(Nr,ia)||ua},[Nr]),bi=b.useMemo(function(){return typeof kn=="function"?kn:function(ia){var ua=ia&&ia[kn];return ua}},[kn]),Fo=Ji(["body"]),wo=_t(),ca=(0,nt.Z)(wo,3),Qo=ca[0],oa=ca[1],ma=ca[2],ga=Ze(ot,ti,bi),To=(0,nt.Z)(ga,6),ko=To[0],Ia=To[1],Na=To[2],ro=To[3],Ao=To[4],eo=To[5],Zi=Tn==null?void 0:Tn.x,jo=b.useState(0),$o=(0,nt.Z)(jo,2),ya=$o[0],qo=$o[1],ka=Gt((0,ut.Z)((0,ut.Z)((0,ut.Z)({},ot),ko),{},{expandable:!!ko.expandedRowRender,columnTitle:ko.columnTitle,expandedKeys:Na,getRowKey:bi,onTriggerExpand:eo,expandIcon:ro,expandIconColumnIndex:ko.expandIconColumnIndex,direction:tr,scrollWidth:Ai&&Gr&&typeof Zi=="number"?Zi:null,clientWidth:ya}),Ai?Ci:null),Sa=(0,nt.Z)(ka,4),so=Sa[0],go=Sa[1],ea=Sa[2],aa=Sa[3],la=ea!=null?ea:Zi,za=b.useMemo(function(){return{columns:so,flattenColumns:go}},[so,go]),ba=b.useRef(),ol=b.useRef(),va=b.useRef(),Vo=b.useRef();b.useImperativeHandle(ge,function(){return{nativeElement:ba.current,scrollTo:function(ua){var Bl;if(va.current instanceof HTMLElement){var jl=ua.index,Fl=ua.top,Ms=ua.key;if(Zt(Fl)){var ys;(ys=va.current)===null||ys===void 0||ys.scrollTo({top:Fl})}else{var ds,Ns=Ms!=null?Ms:bi(ti[jl]);(ds=va.current.querySelector('[data-row-key="'.concat(Ns,'"]')))===null||ds===void 0||ds.scrollIntoView()}}else(Bl=va.current)!==null&&Bl!==void 0&&Bl.scrollTo&&va.current.scrollTo(ua)}}});var ha=b.useRef(),Ca=b.useState(!1),Ha=(0,nt.Z)(Ca,2),La=Ha[0],Go=Ha[1],Aa=b.useState(!1),na=(0,nt.Z)(Aa,2),al=na[0],ja=na[1],dl=b.useState(new Map),pl=(0,nt.Z)(dl,2),Wl=pl[0],xa=pl[1],cs=Mt(go),fl=cs.map(function(ia){return Wl.get(ia)}),Ll=b.useMemo(function(){return fl},[fl.join("_")]),Pl=Pt(Ll,go,tr),Do=Tn&&Jt(Tn.y),to=Tn&&Jt(la)||!!ko.fixed,Ra=to&&go.some(function(ia){var ua=ia.fixed;return ua}),gl=b.useRef(),Rl=pt(ii,wt),Jl=Rl.isSticky,Is=Rl.offsetHeader,Bs=Rl.offsetSummary,Zs=Rl.offsetScroll,ra=Rl.stickyClassName,Zo=Rl.container,Ri=b.useMemo(function(){return Wn==null?void 0:Wn(ti)},[Wn,ti]),yo=(Do||Jl)&&b.isValidElement(Ri)&&Ri.type===De&&Ri.props.fixed,Yo,Ua,yl;Do&&(Ua={overflowY:pi?"scroll":"auto",maxHeight:Tn.y}),to&&(Yo={overflowX:"auto"},Do||(Ua={overflowY:"hidden"}),yl={width:la===!0?"auto":la,minWidth:"100%"});var hl=b.useCallback(function(ia,ua){xa(function(Bl){if(Bl.get(ia)!==ua){var jl=new Map(Bl);return jl.set(ia,ua),jl}return Bl})},[]),ts=yt(null),Il=(0,nt.Z)(ts,2),Fs=Il[0],tu=Il[1];function Hs(ia,ua){ua&&(typeof ua=="function"?ua(ia):ua.scrollLeft!==ia&&(ua.scrollLeft=ia,ua.scrollLeft!==ia&&setTimeout(function(){ua.scrollLeft=ia},0)))}var Ss=(0,Me.Z)(function(ia){var ua=ia.currentTarget,Bl=ia.scrollLeft,jl=tr==="rtl",Fl=typeof Bl=="number"?Bl:ua.scrollLeft,Ms=ua||mi;if(!tu()||tu()===Ms){var ys;Fs(Ms),Hs(Fl,ol.current),Hs(Fl,va.current),Hs(Fl,ha.current),Hs(Fl,(ys=gl.current)===null||ys===void 0?void 0:ys.setScrollLeft)}var ds=ua||ol.current;if(ds){var Ns=Ai&&Gr&&typeof la=="number"?la:ds.scrollWidth,hu=ds.clientWidth;if(Ns===hu){Go(!1),ja(!1);return}jl?(Go(-Fl<Ns-hu),ja(-Fl>0)):(Go(Fl>0),ja(Fl<Ns-hu))}}),Xs=(0,Me.Z)(function(ia){Ss(ia),ai==null||ai(ia)}),Es=function(){if(to&&va.current){var ua;Ss({currentTarget:(0,Un.bn)(va.current),scrollLeft:(ua=va.current)===null||ua===void 0?void 0:ua.scrollLeft})}else Go(!1),ja(!1)},nu=function(ua){var Bl,jl=ua.width;(Bl=gl.current)===null||Bl===void 0||Bl.checkScrollBarVisible();var Fl=ba.current?ba.current.offsetWidth:jl;Ai&&jr&&ba.current&&(Fl=jr(ba.current,Fl)||Fl),Fl!==ya&&(Es(),qo(Fl))},Qs=b.useRef(!1);b.useEffect(function(){Qs.current&&Es()},[to,bn,so.length]),b.useEffect(function(){Qs.current=!0},[]);var ru=b.useState(0),gu=(0,nt.Z)(ru,2),gs=gu[0],iu=gu[1],Du=b.useState(!0),ou=(0,nt.Z)(Du,2),Ws=ou[0],Pu=ou[1];(0,Ce.Z)(function(){(!Gr||!Ai)&&(va.current instanceof Element?iu((0,Tt.o)(va.current).width):iu((0,Tt.o)(Vo.current).width)),Pu((0,Et.G)("position","sticky"))},[]),b.useEffect(function(){Ai&&Xi&&(Xi.body.current=va.current)});var Iu=b.useCallback(function(ia){return b.createElement(b.Fragment,null,b.createElement(hn,ia),yo==="top"&&b.createElement(Qe,ia,Ri))},[yo,Ri]),zs=b.useCallback(function(ia){return b.createElement(Qe,ia,Ri)},[Ri]),au=Ji(["table"],"table"),js=b.useMemo(function(){return or||(Ra?la==="max-content"?"auto":"fixed":Do||Jl||go.some(function(ia){var ua=ia.ellipsis;return ua})?"fixed":"auto")},[Do,Ra,go,or,Jl]),lu,Vs={colWidths:Ll,columCount:go.length,stickyOffsets:Pl,onHeaderRow:Yr,fixHeader:Do,scroll:Tn},su=b.useMemo(function(){return pi?null:typeof _r=="function"?_r():_r},[pi,_r]),yu=b.createElement(ln,{data:ti,measureColumnWidth:Do||to||Jl}),uu=b.createElement(dr,{colWidths:go.map(function(ia){var ua=ia.width;return ua}),columns:go}),cu=Or!=null?b.createElement("caption",{className:"".concat(wt,"-caption")},Or):void 0,Bu=(0,Le.Z)(ot,{data:!0}),Js=(0,Le.Z)(ot,{aria:!0});if(Do||Jl){var ws;typeof Fo=="function"?(ws=Fo(ti,{scrollbarSize:gs,ref:va,onScroll:Ss}),Vs.colWidths=go.map(function(ia,ua){var Bl=ia.width,jl=ua===go.length-1?Bl-gs:Bl;return typeof jl=="number"&&!Number.isNaN(jl)?jl:0})):ws=b.createElement("div",{style:(0,ut.Z)((0,ut.Z)({},Yo),Ua),onScroll:Xs,ref:va,className:we()("".concat(wt,"-body"))},b.createElement(au,(0,Ke.Z)({style:(0,ut.Z)((0,ut.Z)({},yl),{},{tableLayout:js})},Js),cu,uu,yu,!yo&&Ri&&b.createElement(Qe,{stickyOffsets:Pl,flattenColumns:go},Ri)));var Os=(0,ut.Z)((0,ut.Z)((0,ut.Z)({noData:!ti.length,maxContentScroll:to&&la==="max-content"},Vs),za),{},{direction:tr,stickyClassName:ra,onScroll:Ss});lu=b.createElement(b.Fragment,null,Hr!==!1&&b.createElement(sn,(0,Ke.Z)({},Os,{stickyTopOffset:Is,className:"".concat(wt,"-header"),ref:ol}),Iu),ws,yo&&yo!=="top"&&b.createElement(sn,(0,Ke.Z)({},Os,{stickyBottomOffset:Bs,className:"".concat(wt,"-summary"),ref:ha}),zs),Jl&&va.current&&va.current instanceof Element&&b.createElement(Vr,{ref:gl,offsetScroll:Zs,scrollBodyRef:va,onScroll:Ss,container:Zo,direction:tr}))}else lu=b.createElement("div",{style:(0,ut.Z)((0,ut.Z)({},Yo),Ua),className:we()("".concat(wt,"-content")),onScroll:Ss,ref:va},b.createElement(au,(0,Ke.Z)({style:(0,ut.Z)((0,ut.Z)({},yl),{},{tableLayout:js})},Js),cu,uu,Hr!==!1&&b.createElement(hn,(0,Ke.Z)({},Vs,za)),yu,Ri&&b.createElement(Qe,{stickyOffsets:Pl,flattenColumns:go},Ri)));var du=b.createElement("div",(0,Ke.Z)({className:we()(wt,Yt,(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},"".concat(wt,"-rtl"),tr==="rtl"),"".concat(wt,"-ping-left"),La),"".concat(wt,"-ping-right"),al),"".concat(wt,"-layout-fixed"),or==="fixed"),"".concat(wt,"-fixed-header"),Do),"".concat(wt,"-fixed-column"),Ra),"".concat(wt,"-fixed-column-gapped"),Ra&&aa),"".concat(wt,"-scroll-horizontal"),to),"".concat(wt,"-has-fix-left"),go[0]&&go[0].fixed),"".concat(wt,"-has-fix-right"),go[go.length-1]&&go[go.length-1].fixed==="right")),style:wn,id:cr,ref:ba},Bu),$n&&b.createElement(Bn,{className:"".concat(wt,"-title")},$n(ti)),b.createElement("div",{ref:Vo,className:"".concat(wt,"-container")},lu),Kn&&b.createElement(Bn,{className:"".concat(wt,"-footer")},Kn(ti)));to&&(du=b.createElement(mt.Z,{onResize:nu},du));var fu=gt(go,Pl,tr),Fu=b.useMemo(function(){return{scrollX:la,prefixCls:wt,getComponent:Ji,scrollbarSize:gs,direction:tr,fixedInfoList:fu,isSticky:Jl,supportSticky:Ws,componentWidth:ya,fixHeader:Do,fixColumn:Ra,horizonScroll:to,tableLayout:js,rowClassName:rn,expandedRowClassName:ko.expandedRowClassName,expandIcon:ro,expandableType:Ia,expandRowByClick:ko.expandRowByClick,expandedRowRender:ko.expandedRowRender,onTriggerExpand:eo,expandIconColumnIndex:ko.expandIconColumnIndex,indentSize:ko.indentSize,allColumnsFixedLeft:go.every(function(ia){return ia.fixed==="left"}),emptyNode:su,columns:so,flattenColumns:go,onColumnResize:hl,hoverStartRow:Qo,hoverEndRow:oa,onHover:ma,rowExpandable:ko.rowExpandable,onRow:zr,getRowKey:bi,expandedKeys:Na,childrenColumnName:Ao,rowHoverable:xr}},[la,wt,Ji,gs,tr,fu,Jl,Ws,ya,Do,Ra,to,js,rn,ko.expandedRowClassName,ro,Ia,ko.expandRowByClick,ko.expandedRowRender,eo,ko.expandIconColumnIndex,ko.indentSize,su,so,go,hl,Qo,oa,ma,ko.rowExpandable,zr,bi,Na,Ao,xr]);return b.createElement(dt.Provider,{value:Fu},du)}var gr=b.forwardRef(ur);function ni(ye){return Nt(gr,ye)}var Kr=ni();Kr.EXPAND_COLUMN=xe,Kr.INTERNAL_HOOKS=ce,Kr.Column=fr,Kr.ColumnGroup=kr,Kr.Summary=Ie;var wr=Kr,Rr=z(48911),hi=Fe(null),Qr=Fe(null);function qr(ye,ge,ot){var wt=ge||1;return ot[ye+wt]-(ot[ye]||0)}function ei(ye){var ge=ye.rowInfo,ot=ye.column,wt=ye.colIndex,Yt=ye.indent,rn=ye.index,wn=ye.component,bn=ye.renderIndex,kn=ye.record,Tn=ye.style,or=ye.className,tr=ye.inverse,$n=ye.getHeight,Kn=ot.render,Wn=ot.dataIndex,Or=ot.className,cr=ot.width,Hr=de(Qr,["columnsOffset"]),Nr=Hr.columnsOffset,_r=ft(ge,ot,wt,Yt,rn),zr=_r.key,Yr=_r.fixedInfo,ai=_r.appendCellNode,vi=_r.additionalCellProps,Ci=vi.style,Xi=vi.colSpan,Gr=Xi===void 0?1:Xi,jr=vi.rowSpan,ii=jr===void 0?1:jr,Sr=wt-1,xr=qr(Sr,Gr,Nr),ti=Gr>1?cr-xr:0,pi=(0,ut.Z)((0,ut.Z)((0,ut.Z)({},Ci),Tn),{},{flex:"0 0 ".concat(xr,"px"),width:"".concat(xr,"px"),marginRight:ti,pointerEvents:"auto"}),Ai=b.useMemo(function(){return tr?ii<=1:Gr===0||ii===0||ii>1},[ii,Gr,tr]);Ai?pi.visibility="hidden":tr&&(pi.height=$n==null?void 0:$n(ii));var Ji=Ai?function(){return null}:Kn,bi={};return(ii===0||Gr===0)&&(bi.rowSpan=1,bi.colSpan=1),b.createElement(fn,(0,Ke.Z)({className:we()(Or,or),ellipsis:ot.ellipsis,align:ot.align,scope:ot.rowScope,component:wn,prefixCls:ge.prefixCls,key:zr,record:kn,index:rn,renderIndex:bn,dataIndex:Wn,render:Ji,shouldCellUpdate:ot.shouldCellUpdate},Yr,{appendNode:ai,additionalProps:(0,ut.Z)((0,ut.Z)({},vi),{},{style:pi},bi)}))}var Ni=ei,$i=["data","index","className","rowKey","style","extra","getHeight"],_i=b.forwardRef(function(ye,ge){var ot=ye.data,wt=ye.index,Yt=ye.className,rn=ye.rowKey,wn=ye.style,bn=ye.extra,kn=ye.getHeight,Tn=(0,ae.Z)(ye,$i),or=ot.record,tr=ot.indent,$n=ot.index,Kn=de(dt,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Wn=Kn.scrollX,Or=Kn.flattenColumns,cr=Kn.prefixCls,Hr=Kn.fixColumn,Nr=Kn.componentWidth,_r=de(hi,["getComponent"]),zr=_r.getComponent,Yr=Ht(or,rn,wt,tr),ai=zr(["body","row"],"div"),vi=zr(["body","cell"],"div"),Ci=Yr.rowSupportExpand,Xi=Yr.expanded,Gr=Yr.rowProps,jr=Yr.expandedRowRender,ii=Yr.expandedRowClassName,Sr;if(Ci&&Xi){var xr=jr(or,wt,tr+1,Xi),ti=mn(ii,or,wt,tr),pi={};Hr&&(pi={style:(0,Pe.Z)({},"--virtual-width","".concat(Nr,"px"))});var Ai="".concat(cr,"-expanded-row-cell");Sr=b.createElement(ai,{className:we()("".concat(cr,"-expanded-row"),"".concat(cr,"-expanded-row-level-").concat(tr+1),ti)},b.createElement(fn,{component:vi,prefixCls:cr,className:we()(Ai,(0,Pe.Z)({},"".concat(Ai,"-fixed"),Hr)),additionalProps:pi},xr))}var Ji=(0,ut.Z)((0,ut.Z)({},wn),{},{width:Wn});bn&&(Ji.position="absolute",Ji.pointerEvents="none");var bi=b.createElement(ai,(0,Ke.Z)({},Gr,Tn,{"data-row-key":rn,ref:Ci?null:ge,className:we()(Yt,"".concat(cr,"-row"),Gr==null?void 0:Gr.className,(0,Pe.Z)({},"".concat(cr,"-row-extra"),bn)),style:(0,ut.Z)((0,ut.Z)({},Ji),Gr==null?void 0:Gr.style)}),Or.map(function(Fo,wo){return b.createElement(Ni,{key:wo,component:vi,rowInfo:Yr,column:Fo,colIndex:wo,indent:tr,index:wt,renderIndex:$n,record:or,inverse:bn,getHeight:kn})}));return Ci?b.createElement("div",{ref:ge},bi,Sr):bi}),ki=jt(_i),io=ki,ke=b.forwardRef(function(ye,ge){var ot=ye.data,wt=ye.onScroll,Yt=de(dt,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),rn=Yt.flattenColumns,wn=Yt.onColumnResize,bn=Yt.getRowKey,kn=Yt.expandedKeys,Tn=Yt.prefixCls,or=Yt.childrenColumnName,tr=Yt.scrollX,$n=Yt.direction,Kn=de(hi),Wn=Kn.sticky,Or=Kn.scrollY,cr=Kn.listItemHeight,Hr=Kn.getComponent,Nr=Kn.onScroll,_r=b.useRef(),zr=vn(ot,or,kn,bn),Yr=b.useMemo(function(){var Sr=0;return rn.map(function(xr){var ti=xr.width,pi=xr.key;return Sr+=ti,[pi,ti,Sr]})},[rn]),ai=b.useMemo(function(){return Yr.map(function(Sr){return Sr[2]})},[Yr]);b.useEffect(function(){Yr.forEach(function(Sr){var xr=(0,nt.Z)(Sr,2),ti=xr[0],pi=xr[1];wn(ti,pi)})},[Yr]),b.useImperativeHandle(ge,function(){var Sr,xr={scrollTo:function(pi){var Ai;(Ai=_r.current)===null||Ai===void 0||Ai.scrollTo(pi)},nativeElement:(Sr=_r.current)===null||Sr===void 0?void 0:Sr.nativeElement};return Object.defineProperty(xr,"scrollLeft",{get:function(){var pi;return((pi=_r.current)===null||pi===void 0?void 0:pi.getScrollInfo().x)||0},set:function(pi){var Ai;(Ai=_r.current)===null||Ai===void 0||Ai.scrollTo({left:pi})}}),xr});var vi=function(xr,ti){var pi,Ai=(pi=zr[ti])===null||pi===void 0?void 0:pi.record,Ji=xr.onCell;if(Ji){var bi,Fo=Ji(Ai,ti);return(bi=Fo==null?void 0:Fo.rowSpan)!==null&&bi!==void 0?bi:1}return 1},Ci=function(xr){var ti=xr.start,pi=xr.end,Ai=xr.getSize,Ji=xr.offsetY;if(pi<0)return null;for(var bi=rn.filter(function(ro){return vi(ro,ti)===0}),Fo=ti,wo=function(Ao){if(bi=bi.filter(function(eo){return vi(eo,Ao)===0}),!bi.length)return Fo=Ao,1},ca=ti;ca>=0&&!wo(ca);ca-=1);for(var Qo=rn.filter(function(ro){return vi(ro,pi)!==1}),oa=pi,ma=function(Ao){if(Qo=Qo.filter(function(eo){return vi(eo,Ao)!==1}),!Qo.length)return oa=Math.max(Ao-1,pi),1},ga=pi;ga<zr.length&&!ma(ga);ga+=1);for(var To=[],ko=function(Ao){var eo=zr[Ao];if(!eo)return 1;rn.some(function(Zi){return vi(Zi,Ao)>1})&&To.push(Ao)},Ia=Fo;Ia<=oa;Ia+=1)ko(Ia);var Na=To.map(function(ro){var Ao=zr[ro],eo=bn(Ao.record,ro),Zi=function(ya){var qo=ro+ya-1,ka=bn(zr[qo].record,qo),Sa=Ai(eo,ka);return Sa.bottom-Sa.top},jo=Ai(eo);return b.createElement(io,{key:ro,data:Ao,rowKey:eo,index:ro,style:{top:-Ji+jo.top},extra:!0,getHeight:Zi})});return Na},Xi=b.useMemo(function(){return{columnsOffset:ai}},[ai]),Gr="".concat(Tn,"-tbody"),jr=Hr(["body","wrapper"]),ii={};return Wn&&(ii.position="sticky",ii.bottom=0,(0,lt.Z)(Wn)==="object"&&Wn.offsetScroll&&(ii.bottom=Wn.offsetScroll)),b.createElement(Qr.Provider,{value:Xi},b.createElement(Rr.Z,{fullHeight:!1,ref:_r,prefixCls:"".concat(Gr,"-virtual"),styles:{horizontalScrollBar:ii},className:Gr,height:Or,itemHeight:cr||24,data:zr,itemKey:function(xr){return bn(xr.record)},component:jr,scrollWidth:tr,direction:$n,onVirtualScroll:function(xr){var ti,pi=xr.x;wt({currentTarget:(ti=_r.current)===null||ti===void 0?void 0:ti.nativeElement,scrollLeft:pi})},onScroll:Nr,extraRender:Ci},function(Sr,xr,ti){var pi=bn(Sr.record,xr);return b.createElement(io,{data:Sr,rowKey:pi,index:xr,style:ti.style})}))}),tt=jt(ke),Ft=tt,an=function(ge,ot){var wt=ot.ref,Yt=ot.onScroll;return b.createElement(Ft,{ref:wt,data:ge,onScroll:Yt})};function cn(ye,ge){var ot=ye.data,wt=ye.columns,Yt=ye.scroll,rn=ye.sticky,wn=ye.prefixCls,bn=wn===void 0?$r:wn,kn=ye.className,Tn=ye.listItemHeight,or=ye.components,tr=ye.onScroll,$n=Yt||{},Kn=$n.x,Wn=$n.y;typeof Kn!="number"&&(Kn=1),typeof Wn!="number"&&(Wn=500);var Or=(0,rt.zX)(function(Nr,_r){return(0,Ot.Z)(or,Nr)||_r}),cr=(0,rt.zX)(tr),Hr=b.useMemo(function(){return{sticky:rn,scrollY:Wn,listItemHeight:Tn,getComponent:Or,onScroll:cr}},[rn,Wn,Tn,Or,cr]);return b.createElement(hi.Provider,{value:Hr},b.createElement(wr,(0,Ke.Z)({},ye,{className:we()(kn,"".concat(bn,"-virtual")),scroll:(0,ut.Z)((0,ut.Z)({},Yt),{},{x:Kn}),components:(0,ut.Z)((0,ut.Z)({},or),{},{body:ot!=null&&ot.length?an:void 0}),columns:wt,internalHooks:ce,tailor:!0,ref:ge})))}var Lt=b.forwardRef(cn);function it(ye){return Nt(Lt,ye)}var It=it(),$t=null,zn=ye=>null,jn=ye=>null,Jn=z(84105),Cr=z(82661),br=z(34643),Wr=z(34061),Jr=z(18929);function gi(ye){const[ge,ot]=(0,b.useState)(null);return[(0,b.useCallback)((rn,wn,bn)=>{const kn=ge!=null?ge:rn,Tn=Math.min(kn||0,rn),or=Math.max(kn||0,rn),tr=wn.slice(Tn,or+1).map(Wn=>ye(Wn)),$n=tr.some(Wn=>!bn.has(Wn)),Kn=[];return tr.forEach(Wn=>{$n?(bn.has(Wn)||Kn.push(Wn),bn.add(Wn)):(bn.delete(Wn),Kn.push(Wn))}),ot($n?or:null),Kn},[ge]),rn=>{ot(rn)}]}var oi=z(32383),Pi=z(62673),ci=z(75727),di=z(47889);const yi={},Ii="SELECT_ALL",no="SELECT_INVERT",So="SELECT_NONE",bo=[],Ko=(ye,ge)=>{let ot=[];return(ge||[]).forEach(wt=>{ot.push(wt),wt&&typeof wt=="object"&&ye in wt&&(ot=[].concat((0,Qt.Z)(ot),(0,Qt.Z)(Ko(ye,wt[ye]))))}),ot};var Oi=(ye,ge)=>{const{preserveSelectedRowKeys:ot,selectedRowKeys:wt,defaultSelectedRowKeys:Yt,getCheckboxProps:rn,onChange:wn,onSelect:bn,onSelectAll:kn,onSelectInvert:Tn,onSelectNone:or,onSelectMultiple:tr,columnWidth:$n,type:Kn,selections:Wn,fixed:Or,renderCell:cr,hideSelectAll:Hr,checkStrictly:Nr=!0}=ge||{},{prefixCls:_r,data:zr,pageData:Yr,getRecordByKey:ai,getRowKey:vi,expandType:Ci,childrenColumnName:Xi,locale:Gr,getPopupContainer:jr}=ye,ii=(0,oi.ln)("Table"),[Sr,xr]=gi(ro=>ro),[ti,pi]=(0,Jr.Z)(wt||Yt||bo,{value:wt}),Ai=b.useRef(new Map),Ji=(0,b.useCallback)(ro=>{if(ot){const Ao=new Map;ro.forEach(eo=>{let Zi=ai(eo);!Zi&&Ai.current.has(eo)&&(Zi=Ai.current.get(eo)),Ao.set(eo,Zi)}),Ai.current=Ao}},[ai,ot]);b.useEffect(()=>{Ji(ti)},[ti]);const bi=(0,b.useMemo)(()=>Ko(Xi,Yr),[Xi,Yr]),{keyEntities:Fo}=(0,b.useMemo)(()=>{if(Nr)return{keyEntities:null};let ro=zr;if(ot){const Ao=new Set(bi.map((Zi,jo)=>vi(Zi,jo))),eo=Array.from(Ai.current).reduce((Zi,jo)=>{let[$o,ya]=jo;return Ao.has($o)?Zi:Zi.concat(ya)},[]);ro=[].concat((0,Qt.Z)(ro),(0,Qt.Z)(eo))}return(0,Wr.I8)(ro,{externalGetKey:vi,childrenPropName:Xi})},[zr,vi,Nr,Xi,ot,bi]),wo=(0,b.useMemo)(()=>{const ro=new Map;return bi.forEach((Ao,eo)=>{const Zi=vi(Ao,eo),jo=(rn?rn(Ao):null)||{};ro.set(Zi,jo)}),ro},[bi,vi,rn]),ca=(0,b.useCallback)(ro=>{const Ao=vi(ro);let eo;return wo.has(Ao)?eo=wo.get(vi(ro)):eo=rn?rn(ro):void 0,!!(eo!=null&&eo.disabled)},[wo,vi]),[Qo,oa]=(0,b.useMemo)(()=>{if(Nr)return[ti||[],[]];const{checkedKeys:ro,halfCheckedKeys:Ao}=(0,br.S)(ti,!0,Fo,ca);return[ro||[],Ao]},[ti,Nr,Fo,ca]),ma=(0,b.useMemo)(()=>{const ro=Kn==="radio"?Qo.slice(0,1):Qo;return new Set(ro)},[Qo,Kn]),ga=(0,b.useMemo)(()=>Kn==="radio"?new Set:new Set(oa),[oa,Kn]);b.useEffect(()=>{ge||pi(bo)},[!!ge]);const To=(0,b.useCallback)((ro,Ao)=>{let eo,Zi;Ji(ro),ot?(eo=ro,Zi=ro.map(jo=>Ai.current.get(jo))):(eo=[],Zi=[],ro.forEach(jo=>{const $o=ai(jo);$o!==void 0&&(eo.push(jo),Zi.push($o))})),pi(eo),wn==null||wn(eo,Zi,{type:Ao})},[pi,ai,wn,ot]),ko=(0,b.useCallback)((ro,Ao,eo,Zi)=>{if(bn){const jo=eo.map($o=>ai($o));bn(ai(ro),Ao,jo,Zi)}To(eo,"single")},[bn,ai,To]),Ia=(0,b.useMemo)(()=>!Wn||Hr?null:(Wn===!0?[Ii,no,So]:Wn).map(Ao=>Ao===Ii?{key:"all",text:Gr.selectionAll,onSelect(){To(zr.map((eo,Zi)=>vi(eo,Zi)).filter(eo=>{const Zi=wo.get(eo);return!(Zi!=null&&Zi.disabled)||ma.has(eo)}),"all")}}:Ao===no?{key:"invert",text:Gr.selectInvert,onSelect(){const eo=new Set(ma);Yr.forEach((jo,$o)=>{const ya=vi(jo,$o),qo=wo.get(ya);qo!=null&&qo.disabled||(eo.has(ya)?eo.delete(ya):eo.add(ya))});const Zi=Array.from(eo);Tn&&(ii.deprecated(!1,"onSelectInvert","onChange"),Tn(Zi)),To(Zi,"invert")}}:Ao===So?{key:"none",text:Gr.selectNone,onSelect(){or==null||or(),To(Array.from(ma).filter(eo=>{const Zi=wo.get(eo);return Zi==null?void 0:Zi.disabled}),"none")}}:Ao).map(Ao=>Object.assign(Object.assign({},Ao),{onSelect:function(){for(var eo,Zi,jo=arguments.length,$o=new Array(jo),ya=0;ya<jo;ya++)$o[ya]=arguments[ya];(Zi=Ao.onSelect)===null||Zi===void 0||(eo=Zi).call.apply(eo,[Ao].concat($o)),xr(null)}})),[Wn,ma,Yr,vi,Tn,To]);return[(0,b.useCallback)(ro=>{var Ao;if(!ge)return ro.filter(Vo=>Vo!==yi);let eo=(0,Qt.Z)(ro);const Zi=new Set(ma),jo=bi.map(vi).filter(Vo=>!wo.get(Vo).disabled),$o=jo.every(Vo=>Zi.has(Vo)),ya=jo.some(Vo=>Zi.has(Vo)),qo=()=>{const Vo=[];$o?jo.forEach(Ca=>{Zi.delete(Ca),Vo.push(Ca)}):jo.forEach(Ca=>{Zi.has(Ca)||(Zi.add(Ca),Vo.push(Ca))});const ha=Array.from(Zi);kn==null||kn(!$o,ha.map(Ca=>ai(Ca)),Vo.map(Ca=>ai(Ca))),To(ha,"all"),xr(null)};let ka,Sa;if(Kn!=="radio"){let Vo;if(Ia){const Go={getPopupContainer:jr,items:Ia.map((Aa,na)=>{const{key:al,text:ja,onSelect:dl}=Aa;return{key:al!=null?al:na,onClick:()=>{dl==null||dl(jo)},label:ja}})};Vo=b.createElement("div",{className:`${_r}-selection-extra`},b.createElement(ci.Z,{menu:Go,getPopupContainer:jr},b.createElement("span",null,b.createElement(Jn.Z,null))))}const ha=bi.map((Go,Aa)=>{const na=vi(Go,Aa),al=wo.get(na)||{};return Object.assign({checked:Zi.has(na)},al)}).filter(Go=>{let{disabled:Aa}=Go;return Aa}),Ca=!!ha.length&&ha.length===bi.length,Ha=Ca&&ha.every(Go=>{let{checked:Aa}=Go;return Aa}),La=Ca&&ha.some(Go=>{let{checked:Aa}=Go;return Aa});Sa=b.createElement(Pi.default,{checked:Ca?Ha:!!bi.length&&$o,indeterminate:Ca?!Ha&&La:!$o&&ya,onChange:qo,disabled:bi.length===0||Ca,"aria-label":Vo?"Custom selection":"Select all",skipGroup:!0}),ka=!Hr&&b.createElement("div",{className:`${_r}-selection`},Sa,Vo)}let so;Kn==="radio"?so=(Vo,ha,Ca)=>{const Ha=vi(ha,Ca),La=Zi.has(Ha),Go=wo.get(Ha);return{node:b.createElement(di.ZP,Object.assign({},Go,{checked:La,onClick:Aa=>{var na;Aa.stopPropagation(),(na=Go==null?void 0:Go.onClick)===null||na===void 0||na.call(Go,Aa)},onChange:Aa=>{var na;Zi.has(Ha)||ko(Ha,!0,[Ha],Aa.nativeEvent),(na=Go==null?void 0:Go.onChange)===null||na===void 0||na.call(Go,Aa)}})),checked:La}}:so=(Vo,ha,Ca)=>{var Ha;const La=vi(ha,Ca),Go=Zi.has(La),Aa=ga.has(La),na=wo.get(La);let al;return Ci==="nest"?al=Aa:al=(Ha=na==null?void 0:na.indeterminate)!==null&&Ha!==void 0?Ha:Aa,{node:b.createElement(Pi.default,Object.assign({},na,{indeterminate:al,checked:Go,skipGroup:!0,onClick:ja=>{var dl;ja.stopPropagation(),(dl=na==null?void 0:na.onClick)===null||dl===void 0||dl.call(na,ja)},onChange:ja=>{var dl;const{nativeEvent:pl}=ja,{shiftKey:Wl}=pl,xa=jo.findIndex(fl=>fl===La),cs=Qo.some(fl=>jo.includes(fl));if(Wl&&Nr&&cs){const fl=Sr(xa,jo,Zi),Ll=Array.from(Zi);tr==null||tr(!Go,Ll.map(Pl=>ai(Pl)),fl.map(Pl=>ai(Pl))),To(Ll,"multiple")}else{const fl=Qo;if(Nr){const Ll=Go?(0,Cr._5)(fl,La):(0,Cr.L0)(fl,La);ko(La,!Go,Ll,pl)}else{const Ll=(0,br.S)([].concat((0,Qt.Z)(fl),[La]),!0,Fo,ca),{checkedKeys:Pl,halfCheckedKeys:Do}=Ll;let to=Pl;if(Go){const Ra=new Set(Pl);Ra.delete(La),to=(0,br.S)(Array.from(Ra),{checked:!1,halfCheckedKeys:Do},Fo,ca).checkedKeys}ko(La,!Go,to,pl)}}xr(Go?null:xa),(dl=na==null?void 0:na.onChange)===null||dl===void 0||dl.call(na,ja)}})),checked:Go}};const go=(Vo,ha,Ca)=>{const{node:Ha,checked:La}=so(Vo,ha,Ca);return cr?cr(La,ha,Ca,Ha):Ha};if(!eo.includes(yi))if(eo.findIndex(Vo=>{var ha;return((ha=Vo[qn])===null||ha===void 0?void 0:ha.columnType)==="EXPAND_COLUMN"})===0){const[Vo,...ha]=eo;eo=[Vo,yi].concat((0,Qt.Z)(ha))}else eo=[yi].concat((0,Qt.Z)(eo));const ea=eo.indexOf(yi);eo=eo.filter((Vo,ha)=>Vo!==yi||ha===ea);const aa=eo[ea-1],la=eo[ea+1];let za=Or;za===void 0&&((la==null?void 0:la.fixed)!==void 0?za=la.fixed:(aa==null?void 0:aa.fixed)!==void 0&&(za=aa.fixed)),za&&aa&&((Ao=aa[qn])===null||Ao===void 0?void 0:Ao.columnType)==="EXPAND_COLUMN"&&aa.fixed===void 0&&(aa.fixed=za);const ba=we()(`${_r}-selection-col`,{[`${_r}-selection-col-with-dropdown`]:Wn&&Kn==="checkbox"}),ol=()=>ge!=null&&ge.columnTitle?typeof ge.columnTitle=="function"?ge.columnTitle(Sa):ge.columnTitle:ka,va={fixed:za,width:$n,className:`${_r}-selection-column`,title:ol(),render:go,onCell:ge.onCell,[qn]:{className:ba}};return eo.map(Vo=>Vo===yi?va:Vo)},[vi,bi,ge,Qo,ma,ga,$n,Ia,Ci,wo,tr,ko,ca]),ma]},Wo=z(2738);function zo(ye,ge){return ye._antProxy=ye._antProxy||{},Object.keys(ge).forEach(ot=>{if(!(ot in ye._antProxy)){const wt=ye[ot];ye._antProxy[ot]=wt,ye[ot]=ge[ot]}}),ye}function Xo(ye,ge){return(0,b.useImperativeHandle)(ye,()=>{const ot=ge(),{nativeElement:wt}=ot;return typeof Proxy!="undefined"?new Proxy(wt,{get(Yt,rn){return ot[rn]?ot[rn]:Reflect.get(Yt,rn)}}):zo(wt,ot)})}var Wa=z(83010),Pa=z(48755),Ta=z(38406),Ba=z(83397),Uo=z(31756),Fa=z(13783),ul=z(85981),Ja=z(31709),Jo=z(29787),Nl=z(57700);function El(ye){return ge=>{const{prefixCls:ot,onExpand:wt,record:Yt,expanded:rn,expandable:wn}=ge,bn=`${ot}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:kn=>{wt(Yt,kn),kn.stopPropagation()},className:we()(bn,{[`${bn}-spaced`]:!wn,[`${bn}-expanded`]:wn&&rn,[`${bn}-collapsed`]:wn&&!rn}),"aria-label":rn?ye.collapse:ye.expand,"aria-expanded":rn})}}var ho=El;function mo(ye){return(ot,wt)=>{const Yt=ot.querySelector(`.${ye}-container`);let rn=wt;if(Yt){const wn=getComputedStyle(Yt),bn=parseInt(wn.borderLeftWidth,10),kn=parseInt(wn.borderRightWidth,10);rn=wt-bn-kn}return rn}}const Ei=(ye,ge)=>"key"in ye&&ye.key!==void 0&&ye.key!==null?ye.key:ye.dataIndex?Array.isArray(ye.dataIndex)?ye.dataIndex.join("."):ye.dataIndex:ge;function fi(ye,ge){return ge?`${ge}-${ye}`:`${ye}`}const Li=(ye,ge)=>typeof ye=="function"?ye(ge):ye,lo=(ye,ge)=>{const ot=Li(ye,ge);return Object.prototype.toString.call(ot)==="[object Object]"?"":ot};var da={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"},Ro=da,Lo=z(7657),Oo=function(ge,ot){return b.createElement(Lo.Z,(0,Ke.Z)({},ge,{ref:ot,icon:Ro}))},pa=b.forwardRef(Oo),Ea=pa,Oa=z(9981),Ya=z(40192);function Io(ye){const ge=b.useRef(ye),ot=(0,Ya.Z)();return[()=>ge.current,wt=>{ge.current=wt,ot()}]}var Ga=z(7939),wl=z(584),cl=z(93041),el=z(78857),Xa=z(18287),Al=z(47472),xl=z(49397),Yl=ye=>{const{value:ge,filterSearch:ot,tablePrefixCls:wt,locale:Yt,onChange:rn}=ye;return ot?b.createElement("div",{className:`${wt}-filter-dropdown-search`},b.createElement(xl.Z,{prefix:b.createElement(Al.Z,null),placeholder:Yt.filterSearchPlaceholder,onChange:rn,value:ge,htmlSize:1,className:`${wt}-filter-dropdown-search-input`})):null},as=z(10228);const ns=ye=>{const{keyCode:ge}=ye;ge===as.Z.ENTER&&ye.stopPropagation()};var rs=b.forwardRef((ye,ge)=>b.createElement("div",{className:ye.className,onClick:ot=>ot.stopPropagation(),onKeyDown:ns,ref:ge},ye.children));function Dl(ye){let ge=[];return(ye||[]).forEach(ot=>{let{value:wt,children:Yt}=ot;ge.push(wt),Yt&&(ge=[].concat((0,Qt.Z)(ge),(0,Qt.Z)(Dl(Yt))))}),ge}function Gl(ye){return ye.some(ge=>{let{children:ot}=ge;return ot})}function is(ye,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(ye.trim().toLowerCase()):!1}function hs(ye){let{filters:ge,prefixCls:ot,filteredKeys:wt,filterMultiple:Yt,searchValue:rn,filterSearch:wn}=ye;return ge.map((bn,kn)=>{const Tn=String(bn.value);if(bn.children)return{key:Tn||kn,label:bn.text,popupClassName:`${ot}-dropdown-submenu`,children:hs({filters:bn.children,prefixCls:ot,filteredKeys:wt,filterMultiple:Yt,searchValue:rn,filterSearch:wn})};const or=Yt?Pi.default:di.ZP,tr={key:bn.value!==void 0?Tn:kn,label:b.createElement(b.Fragment,null,b.createElement(or,{checked:wt.includes(Tn)}),b.createElement("span",null,bn.text))};return rn.trim()?typeof wn=="function"?wn(rn,bn)?tr:null:is(rn,bn.text)?tr:null:tr})}function _l(ye){return ye||[]}var $a=ye=>{var ge,ot,wt,Yt;const{tablePrefixCls:rn,prefixCls:wn,column:bn,dropdownPrefixCls:kn,columnKey:Tn,filterOnClose:or,filterMultiple:tr,filterMode:$n="menu",filterSearch:Kn=!1,filterState:Wn,triggerFilter:Or,locale:cr,children:Hr,getPopupContainer:Nr,rootClassName:_r}=ye,{filterResetToDefaultFilteredValue:zr,defaultFilteredValue:Yr,filterDropdownProps:ai={},filterDropdownOpen:vi,filterDropdownVisible:Ci,onFilterDropdownVisibleChange:Xi,onFilterDropdownOpenChange:Gr}=bn,[jr,ii]=b.useState(!1),Sr=!!(Wn&&(!((ge=Wn.filteredKeys)===null||ge===void 0)&&ge.length||Wn.forceFiltered)),xr=so=>{var go;ii(so),(go=ai.onOpenChange)===null||go===void 0||go.call(ai,so),Gr==null||Gr(so),Xi==null||Xi(so)},ti=(Yt=(wt=(ot=ai.open)!==null&&ot!==void 0?ot:vi)!==null&&wt!==void 0?wt:Ci)!==null&&Yt!==void 0?Yt:jr,pi=Wn==null?void 0:Wn.filteredKeys,[Ai,Ji]=Io(_l(pi)),bi=so=>{let{selectedKeys:go}=so;Ji(go)},Fo=(so,go)=>{let{node:ea,checked:aa}=go;bi(tr?{selectedKeys:so}:{selectedKeys:aa&&ea.key?[ea.key]:[]})};b.useEffect(()=>{jr&&bi({selectedKeys:_l(pi)})},[pi]);const[wo,ca]=b.useState([]),Qo=so=>{ca(so)},[oa,ma]=b.useState(""),ga=so=>{const{value:go}=so.target;ma(go)};b.useEffect(()=>{jr||ma("")},[jr]);const To=so=>{const go=so!=null&&so.length?so:null;if(go===null&&(!Wn||!Wn.filteredKeys)||(0,Be.Z)(go,Wn==null?void 0:Wn.filteredKeys,!0))return null;Or({column:bn,key:Tn,filteredKeys:go})},ko=()=>{xr(!1),To(Ai())},Ia=function(){let{confirm:so,closeDropdown:go}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};so&&To([]),go&&xr(!1),ma(""),Ji(zr?(Yr||[]).map(ea=>String(ea)):[])},Na=function(){let{closeDropdown:so}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};so&&xr(!1),To(Ai())},ro=(so,go)=>{go.source==="trigger"&&(so&&pi!==void 0&&Ji(_l(pi)),xr(so),!so&&!bn.filterDropdown&&or&&ko())},Ao=we()({[`${kn}-menu-without-submenu`]:!Gl(bn.filters||[])}),eo=so=>{if(so.target.checked){const go=Dl(bn==null?void 0:bn.filters).map(ea=>String(ea));Ji(go)}else Ji([])},Zi=so=>{let{filters:go}=so;return(go||[]).map((ea,aa)=>{const la=String(ea.value),za={title:ea.text,key:ea.value!==void 0?la:String(aa)};return ea.children&&(za.children=Zi({filters:ea.children})),za})},jo=so=>{var go;return Object.assign(Object.assign({},so),{text:so.title,value:so.key,children:((go=so.children)===null||go===void 0?void 0:go.map(ea=>jo(ea)))||[]})};let $o;const{direction:ya,renderEmpty:qo}=b.useContext(Pa.E_);if(typeof bn.filterDropdown=="function")$o=bn.filterDropdown({prefixCls:`${kn}-custom`,setSelectedKeys:so=>bi({selectedKeys:so}),selectedKeys:Ai(),confirm:Na,clearFilters:Ia,filters:bn.filters,visible:ti,close:()=>{xr(!1)}});else if(bn.filterDropdown)$o=bn.filterDropdown;else{const so=Ai()||[],go=()=>{var aa,la;const za=(aa=qo==null?void 0:qo("Table.filter"))!==null&&aa!==void 0?aa:b.createElement(wl.Z,{image:wl.Z.PRESENTED_IMAGE_SIMPLE,description:cr.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((bn.filters||[]).length===0)return za;if($n==="tree")return b.createElement(b.Fragment,null,b.createElement(Yl,{filterSearch:Kn,value:oa,onChange:ga,tablePrefixCls:rn,locale:cr}),b.createElement("div",{className:`${rn}-filter-dropdown-tree`},tr?b.createElement(Pi.default,{checked:so.length===Dl(bn.filters).length,indeterminate:so.length>0&&so.length<Dl(bn.filters).length,className:`${rn}-filter-dropdown-checkall`,onChange:eo},(la=cr==null?void 0:cr.filterCheckall)!==null&&la!==void 0?la:cr==null?void 0:cr.filterCheckAll):null,b.createElement(Xa.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:tr,checkStrictly:!tr,className:`${kn}-menu`,onCheck:Fo,checkedKeys:so,selectedKeys:so,showIcon:!1,treeData:Zi({filters:bn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:oa.trim()?va=>typeof Kn=="function"?Kn(oa,jo(va)):is(oa,va.title):void 0})));const ba=hs({filters:bn.filters||[],filterSearch:Kn,prefixCls:wn,filteredKeys:Ai(),filterMultiple:tr,searchValue:oa}),ol=ba.every(va=>va===null);return b.createElement(b.Fragment,null,b.createElement(Yl,{filterSearch:Kn,value:oa,onChange:ga,tablePrefixCls:rn,locale:cr}),ol?za:b.createElement(cl.default,{selectable:!0,multiple:tr,prefixCls:`${kn}-menu`,className:Ao,onSelect:bi,onDeselect:bi,selectedKeys:so,getPopupContainer:Nr,openKeys:wo,onOpenChange:Qo,items:ba}))},ea=()=>zr?(0,Be.Z)((Yr||[]).map(aa=>String(aa)),so,!0):so.length===0;$o=b.createElement(b.Fragment,null,go(),b.createElement("div",{className:`${wn}-dropdown-btns`},b.createElement(Ga.ZP,{type:"link",size:"small",disabled:ea(),onClick:()=>Ia()},cr.filterReset),b.createElement(Ga.ZP,{type:"primary",size:"small",onClick:ko},cr.filterConfirm)))}bn.filterDropdown&&($o=b.createElement(el.J,{selectable:void 0},$o)),$o=b.createElement(rs,{className:`${wn}-dropdown`},$o);const ka=()=>{let so;return typeof bn.filterIcon=="function"?so=bn.filterIcon(Sr):bn.filterIcon?so=bn.filterIcon:so=b.createElement(Ea,null),b.createElement("span",{role:"button",tabIndex:-1,className:we()(`${wn}-trigger`,{active:Sr}),onClick:go=>{go.stopPropagation()}},so)},Sa=(0,Oa.Z)({trigger:["click"],placement:ya==="rtl"?"bottomLeft":"bottomRight",children:ka(),getPopupContainer:Nr},Object.assign(Object.assign({},ai),{rootClassName:we()(_r,ai.rootClassName),open:ti,onOpenChange:ro,dropdownRender:()=>typeof(ai==null?void 0:ai.dropdownRender)=="function"?ai.dropdownRender($o):$o}));return b.createElement("div",{className:`${wn}-column`},b.createElement("span",{className:`${rn}-column-title`},Hr),b.createElement(ci.Z,Object.assign({},Sa)))};const Qa=(ye,ge,ot)=>{let wt=[];return(ye||[]).forEach((Yt,rn)=>{var wn;const bn=fi(rn,ot);if(Yt.filters||"filterDropdown"in Yt||"onFilter"in Yt)if("filteredValue"in Yt){let kn=Yt.filteredValue;"filterDropdown"in Yt||(kn=(wn=kn==null?void 0:kn.map(String))!==null&&wn!==void 0?wn:kn),wt.push({column:Yt,key:Ei(Yt,bn),filteredKeys:kn,forceFiltered:Yt.filtered})}else wt.push({column:Yt,key:Ei(Yt,bn),filteredKeys:ge&&Yt.defaultFilteredValue?Yt.defaultFilteredValue:void 0,forceFiltered:Yt.filtered});"children"in Yt&&(wt=[].concat((0,Qt.Z)(wt),(0,Qt.Z)(Qa(Yt.children,ge,bn))))}),wt};function fa(ye,ge,ot,wt,Yt,rn,wn,bn,kn){return ot.map((Tn,or)=>{const tr=fi(or,bn),{filterOnClose:$n=!0,filterMultiple:Kn=!0,filterMode:Wn,filterSearch:Or}=Tn;let cr=Tn;if(cr.filters||cr.filterDropdown){const Hr=Ei(cr,tr),Nr=wt.find(_r=>{let{key:zr}=_r;return Hr===zr});cr=Object.assign(Object.assign({},cr),{title:_r=>b.createElement($a,{tablePrefixCls:ye,prefixCls:`${ye}-filter`,dropdownPrefixCls:ge,column:cr,columnKey:Hr,filterState:Nr,filterOnClose:$n,filterMultiple:Kn,filterMode:Wn,filterSearch:Or,triggerFilter:rn,locale:Yt,getPopupContainer:wn,rootClassName:kn},Li(Tn.title,_r))})}return"children"in cr&&(cr=Object.assign(Object.assign({},cr),{children:fa(ye,ge,cr.children,wt,Yt,rn,wn,tr,kn)})),cr})}const Ho=ye=>{const ge={};return ye.forEach(ot=>{let{key:wt,filteredKeys:Yt,column:rn}=ot;const wn=wt,{filters:bn,filterDropdown:kn}=rn;if(kn)ge[wn]=Yt||null;else if(Array.isArray(Yt)){const Tn=Dl(bn);ge[wn]=Tn.filter(or=>Yt.includes(String(or)))}else ge[wn]=null}),ge},Co=(ye,ge,ot)=>ge.reduce((Yt,rn)=>{const{column:{onFilter:wn,filters:bn},filteredKeys:kn}=rn;return wn&&kn&&kn.length?Yt.map(Tn=>Object.assign({},Tn)).filter(Tn=>kn.some(or=>{const tr=Dl(bn),$n=tr.findIndex(Wn=>String(Wn)===String(or)),Kn=$n!==-1?tr[$n]:or;return Tn[ot]&&(Tn[ot]=Co(Tn[ot],ge,ot)),wn(Kn,Tn)})):Yt},ye),sa=ye=>ye.flatMap(ge=>"children"in ge?[ge].concat((0,Qt.Z)(sa(ge.children||[]))):[ge]);var wa=ye=>{const{prefixCls:ge,dropdownPrefixCls:ot,mergedColumns:wt,onFilterChange:Yt,getPopupContainer:rn,locale:wn,rootClassName:bn}=ye,kn=(0,oi.ln)("Table"),Tn=b.useMemo(()=>sa(wt||[]),[wt]),[or,tr]=b.useState(()=>Qa(Tn,!0)),$n=b.useMemo(()=>{const cr=Qa(Tn,!1);if(cr.length===0)return cr;let Hr=!0,Nr=!0;if(cr.forEach(_r=>{let{filteredKeys:zr}=_r;zr!==void 0?Hr=!1:Nr=!1}),Hr){const _r=(Tn||[]).map((zr,Yr)=>Ei(zr,fi(Yr)));return or.filter(zr=>{let{key:Yr}=zr;return _r.includes(Yr)}).map(zr=>{const Yr=Tn[_r.findIndex(ai=>ai===zr.key)];return Object.assign(Object.assign({},zr),{column:Object.assign(Object.assign({},zr.column),Yr),forceFiltered:Yr.filtered})})}return cr},[Tn,or]),Kn=b.useMemo(()=>Ho($n),[$n]),Wn=cr=>{const Hr=$n.filter(Nr=>{let{key:_r}=Nr;return _r!==cr.key});Hr.push(cr),tr(Hr),Yt(Ho(Hr),Hr)};return[cr=>fa(ge,ot,cr,$n,wn,Wn,rn,void 0,bn),$n,Kn]},tl=(ye,ge,ot)=>{const wt=b.useRef({});function Yt(rn){var wn;if(!wt.current||wt.current.data!==ye||wt.current.childrenColumnName!==ge||wt.current.getRowKey!==ot){let kn=function(Tn){Tn.forEach((or,tr)=>{const $n=ot(or,tr);bn.set($n,or),or&&typeof or=="object"&&ge in or&&kn(or[ge]||[])})};const bn=new Map;kn(ye),wt.current={data:ye,childrenColumnName:ge,kvMap:bn,getRowKey:ot}}return(wn=wt.current.kvMap)===null||wn===void 0?void 0:wn.get(rn)}return[Yt]},Ka=function(ye,ge){var ot={};for(var wt in ye)Object.prototype.hasOwnProperty.call(ye,wt)&&ge.indexOf(wt)<0&&(ot[wt]=ye[wt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,wt=Object.getOwnPropertySymbols(ye);Yt<wt.length;Yt++)ge.indexOf(wt[Yt])<0&&Object.prototype.propertyIsEnumerable.call(ye,wt[Yt])&&(ot[wt[Yt]]=ye[wt[Yt]]);return ot};const nl=10;function _a(ye,ge){const ot={current:ye.current,pageSize:ye.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(Yt=>{const rn=ye[Yt];typeof rn!="function"&&(ot[Yt]=rn)}),ot}function rl(ye,ge,ot){const wt=ot&&typeof ot=="object"?ot:{},{total:Yt=0}=wt,rn=Ka(wt,["total"]),[wn,bn]=(0,b.useState)(()=>({current:"defaultCurrent"in rn?rn.defaultCurrent:1,pageSize:"defaultPageSize"in rn?rn.defaultPageSize:nl})),kn=(0,Oa.Z)(wn,rn,{total:Yt>0?Yt:ye}),Tn=Math.ceil((Yt||ye)/kn.pageSize);kn.current>Tn&&(kn.current=Tn||1);const or=($n,Kn)=>{bn({current:$n!=null?$n:1,pageSize:Kn||kn.pageSize})},tr=($n,Kn)=>{var Wn;ot&&((Wn=ot.onChange)===null||Wn===void 0||Wn.call(ot,$n,Kn)),or($n,Kn),ge($n,Kn||(kn==null?void 0:kn.pageSize))};return ot===!1?[{},()=>{}]:[Object.assign(Object.assign({},kn),{onChange:tr}),or]}var il=rl,kl=z(89489),ls=z(59477),Ls=z(25399);const ms="ascend",ql="descend",Xl=ye=>typeof ye.sorter=="object"&&typeof ye.sorter.multiple=="number"?ye.sorter.multiple:!1,vl=ye=>typeof ye=="function"?ye:ye&&typeof ye=="object"&&ye.compare?ye.compare:!1,es=(ye,ge)=>ge?ye[ye.indexOf(ge)+1]:ye[0],Ql=(ye,ge,ot)=>{let wt=[];const Yt=(rn,wn)=>{wt.push({column:rn,key:Ei(rn,wn),multiplePriority:Xl(rn),sortOrder:rn.sortOrder})};return(ye||[]).forEach((rn,wn)=>{const bn=fi(wn,ot);rn.children?("sortOrder"in rn&&Yt(rn,bn),wt=[].concat((0,Qt.Z)(wt),(0,Qt.Z)(Ql(rn.children,ge,bn)))):rn.sorter&&("sortOrder"in rn?Yt(rn,bn):ge&&rn.defaultSortOrder&&wt.push({column:rn,key:Ei(rn,bn),multiplePriority:Xl(rn),sortOrder:rn.defaultSortOrder}))}),wt},Ds=(ye,ge,ot,wt,Yt,rn,wn,bn)=>(ge||[]).map((Tn,or)=>{const tr=fi(or,bn);let $n=Tn;if($n.sorter){const Kn=$n.sortDirections||Yt,Wn=$n.showSorterTooltip===void 0?wn:$n.showSorterTooltip,Or=Ei($n,tr),cr=ot.find(Xi=>{let{key:Gr}=Xi;return Gr===Or}),Hr=cr?cr.sortOrder:null,Nr=es(Kn,Hr);let _r;if(Tn.sortIcon)_r=Tn.sortIcon({sortOrder:Hr});else{const Xi=Kn.includes(ms)&&b.createElement(ls.Z,{className:we()(`${ye}-column-sorter-up`,{active:Hr===ms})}),Gr=Kn.includes(ql)&&b.createElement(kl.Z,{className:we()(`${ye}-column-sorter-down`,{active:Hr===ql})});_r=b.createElement("span",{className:we()(`${ye}-column-sorter`,{[`${ye}-column-sorter-full`]:!!(Xi&&Gr)})},b.createElement("span",{className:`${ye}-column-sorter-inner`,"aria-hidden":"true"},Xi,Gr))}const{cancelSort:zr,triggerAsc:Yr,triggerDesc:ai}=rn||{};let vi=zr;Nr===ql?vi=ai:Nr===ms&&(vi=Yr);const Ci=typeof Wn=="object"?Object.assign({title:vi},Wn):{title:vi};$n=Object.assign(Object.assign({},$n),{className:we()($n.className,{[`${ye}-column-sort`]:Hr}),title:Xi=>{const Gr=`${ye}-column-sorters`,jr=b.createElement("span",{className:`${ye}-column-title`},Li(Tn.title,Xi)),ii=b.createElement("div",{className:Gr},jr,_r);return Wn?typeof Wn!="boolean"&&(Wn==null?void 0:Wn.target)==="sorter-icon"?b.createElement("div",{className:`${Gr} ${ye}-column-sorters-tooltip-target-sorter`},jr,b.createElement(Ls.Z,Object.assign({},Ci),_r)):b.createElement(Ls.Z,Object.assign({},Ci),ii):ii},onHeaderCell:Xi=>{var Gr;const jr=((Gr=Tn.onHeaderCell)===null||Gr===void 0?void 0:Gr.call(Tn,Xi))||{},ii=jr.onClick,Sr=jr.onKeyDown;jr.onClick=pi=>{wt({column:Tn,key:Or,sortOrder:Nr,multiplePriority:Xl(Tn)}),ii==null||ii(pi)},jr.onKeyDown=pi=>{pi.keyCode===as.Z.ENTER&&(wt({column:Tn,key:Or,sortOrder:Nr,multiplePriority:Xl(Tn)}),Sr==null||Sr(pi))};const xr=lo(Tn.title,{}),ti=xr==null?void 0:xr.toString();return Hr&&(jr["aria-sort"]=Hr==="ascend"?"ascending":"descending"),jr["aria-label"]=ti||"",jr.className=we()(jr.className,`${ye}-column-has-sorters`),jr.tabIndex=0,Tn.ellipsis&&(jr.title=(xr!=null?xr:"").toString()),jr}})}return"children"in $n&&($n=Object.assign(Object.assign({},$n),{children:Ds(ye,$n.children,ot,wt,Yt,rn,wn,tr)})),$n}),Ys=ye=>{const{column:ge,sortOrder:ot}=ye;return{column:ge,order:ot,field:ge.dataIndex,columnKey:ge.key}},Ps=ye=>{const ge=ye.filter(ot=>{let{sortOrder:wt}=ot;return wt}).map(Ys);if(ge.length===0&&ye.length){const ot=ye.length-1;return Object.assign(Object.assign({},Ys(ye[ot])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ge.length<=1?ge[0]||{}:ge},ss=(ye,ge,ot)=>{const wt=ge.slice().sort((wn,bn)=>bn.multiplePriority-wn.multiplePriority),Yt=ye.slice(),rn=wt.filter(wn=>{let{column:{sorter:bn},sortOrder:kn}=wn;return vl(bn)&&kn});return rn.length?Yt.sort((wn,bn)=>{for(let kn=0;kn<rn.length;kn+=1){const Tn=rn[kn],{column:{sorter:or},sortOrder:tr}=Tn,$n=vl(or);if($n&&tr){const Kn=$n(wn,bn,tr);if(Kn!==0)return tr===ms?Kn:-Kn}}return 0}).map(wn=>{const bn=wn[ot];return bn?Object.assign(Object.assign({},wn),{[ot]:ss(bn,ge,ot)}):wn}):Yt};var Gs=ye=>{const{prefixCls:ge,mergedColumns:ot,sortDirections:wt,tableLocale:Yt,showSorterTooltip:rn,onSorterChange:wn}=ye,[bn,kn]=b.useState(Ql(ot,!0)),Tn=(Or,cr)=>{const Hr=[];return Or.forEach((Nr,_r)=>{const zr=fi(_r,cr);if(Hr.push(Ei(Nr,zr)),Array.isArray(Nr.children)){const Yr=Tn(Nr.children,zr);Hr.push.apply(Hr,(0,Qt.Z)(Yr))}}),Hr},or=b.useMemo(()=>{let Or=!0;const cr=Ql(ot,!1);if(!cr.length){const zr=Tn(ot);return bn.filter(Yr=>{let{key:ai}=Yr;return zr.includes(ai)})}const Hr=[];function Nr(zr){Or?Hr.push(zr):Hr.push(Object.assign(Object.assign({},zr),{sortOrder:null}))}let _r=null;return cr.forEach(zr=>{_r===null?(Nr(zr),zr.sortOrder&&(zr.multiplePriority===!1?Or=!1:_r=!0)):(_r&&zr.multiplePriority!==!1||(Or=!1),Nr(zr))}),Hr},[ot,bn]),tr=b.useMemo(()=>{var Or,cr;const Hr=or.map(Nr=>{let{column:_r,sortOrder:zr}=Nr;return{column:_r,order:zr}});return{sortColumns:Hr,sortColumn:(Or=Hr[0])===null||Or===void 0?void 0:Or.column,sortOrder:(cr=Hr[0])===null||cr===void 0?void 0:cr.order}},[or]),$n=Or=>{let cr;Or.multiplePriority===!1||!or.length||or[0].multiplePriority===!1?cr=[Or]:cr=[].concat((0,Qt.Z)(or.filter(Hr=>{let{key:Nr}=Hr;return Nr!==Or.key})),[Or]),kn(cr),wn(Ps(cr),cr)};return[Or=>Ds(ge,Or,or,$n,wt,Yt,rn),or,tr,()=>Ps(or)]};const xs=(ye,ge)=>ye.map(wt=>{const Yt=Object.assign({},wt);return Yt.title=Li(wt.title,ge),"children"in Yt&&(Yt.children=xs(Yt.children,ge)),Yt});var Ts=ye=>[b.useCallback(ot=>xs(ot,ye),[ye])],Rs=ni((ye,ge)=>{const{_renderTimes:ot}=ye,{_renderTimes:wt}=ge;return ot!==wt}),vs=it((ye,ge)=>{const{_renderTimes:ot}=ye,{_renderTimes:wt}=ge;return ot!==wt}),Eo=z(36237),ps=z(17835),oe=z(63356),Ee=z(16931),Ge=z(51636),kt=ye=>{const{componentCls:ge,lineWidth:ot,lineType:wt,tableBorderColor:Yt,tableHeaderBg:rn,tablePaddingVertical:wn,tablePaddingHorizontal:bn,calc:kn}=ye,Tn=`${(0,Eo.unit)(ot)} ${wt} ${Yt}`,or=(tr,$n,Kn)=>({[`&${ge}-${tr}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,Eo.unit)(kn($n).mul(-1).equal())}
${(0,Eo.unit)(kn(kn(Kn).add(ot)).mul(-1).equal())}`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:Tn,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:Tn,borderTop:Tn,[`
> ${ge}-content,
> ${ge}-header,
> ${ge}-body,
> ${ge}-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:Tn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Tn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:Tn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,Eo.unit)(kn(wn).mul(-1).equal())} ${(0,Eo.unit)(kn(kn(bn).add(ot)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:ot,bottom:0,borderInlineEnd:Tn,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
> tr${ge}-expanded-row,
> tr${ge}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},or("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle)),or("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:Tn,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Eo.unit)(ot)} 0 ${(0,Eo.unit)(ot)} ${rn}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:Tn}}}},Vn=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},oe.vS),{wordBreak:"keep-all",[`
&${ge}-cell-fix-left-last,
&${ge}-cell-fix-right-first
`]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},sr=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ye.colorBgContainer}}}}},Qn=ye=>{const{componentCls:ge,antCls:ot,motionDurationSlow:wt,lineWidth:Yt,paddingXS:rn,lineType:wn,tableBorderColor:bn,tableExpandIconBg:kn,tableExpandColumnWidth:Tn,borderRadius:or,tablePaddingVertical:tr,tablePaddingHorizontal:$n,tableExpandedRowBg:Kn,paddingXXS:Wn,expandIconMarginTop:Or,expandIconSize:cr,expandIconHalfInner:Hr,expandIconScale:Nr,calc:_r}=ye,zr=`${(0,Eo.unit)(Yt)} ${wn} ${bn}`,Yr=_r(Wn).sub(Yt).equal();return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:Tn},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,oe.Nd)(ye)),{position:"relative",float:"left",width:cr,height:cr,color:"inherit",lineHeight:(0,Eo.unit)(cr),background:kn,border:zr,borderRadius:or,transform:`scale(${Nr})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${wt} ease-out`,content:'""'},"&::before":{top:Hr,insetInlineEnd:Yr,insetInlineStart:Yr,height:Yt},"&::after":{top:Yr,bottom:Yr,insetInlineStart:Hr,width:Yt,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"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:Or,marginInlineEnd:rn},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Kn}},[`${ot}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Eo.unit)(_r(tr).mul(-1).equal())} ${(0,Eo.unit)(_r($n).mul(-1).equal())}`,padding:`${(0,Eo.unit)(tr)} ${(0,Eo.unit)($n)}`}}}},Fr=ye=>{const{componentCls:ge,antCls:ot,iconCls:wt,tableFilterDropdownWidth:Yt,tableFilterDropdownSearchWidth:rn,paddingXXS:wn,paddingXS:bn,colorText:kn,lineWidth:Tn,lineType:or,tableBorderColor:tr,headerIconColor:$n,fontSizeSM:Kn,tablePaddingHorizontal:Wn,borderRadius:Or,motionDurationSlow:cr,colorTextDescription:Hr,colorPrimary:Nr,tableHeaderFilterActiveBg:_r,colorTextDisabled:zr,tableFilterDropdownBg:Yr,tableFilterDropdownHeight:ai,controlItemBgHover:vi,controlItemBgActive:Ci,boxShadowSecondary:Xi,filterDropdownMenuBg:Gr,calc:jr}=ye,ii=`${ot}-dropdown`,Sr=`${ge}-filter-dropdown`,xr=`${ot}-tree`,ti=`${(0,Eo.unit)(Tn)} ${or} ${tr}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:jr(wn).mul(-1).equal(),marginInline:`${(0,Eo.unit)(wn)} ${(0,Eo.unit)(jr(Wn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Eo.unit)(wn)}`,color:$n,fontSize:Kn,borderRadius:Or,cursor:"pointer",transition:`all ${cr}`,"&:hover":{color:Hr,background:_r},"&.active":{color:Nr}}}},{[`${ot}-dropdown`]:{[Sr]:Object.assign(Object.assign({},(0,oe.Wf)(ye)),{minWidth:Yt,backgroundColor:Yr,borderRadius:Or,boxShadow:Xi,overflow:"hidden",[`${ii}-menu`]:{maxHeight:ai,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Gr,"&:empty::after":{display:"block",padding:`${(0,Eo.unit)(bn)} 0`,color:zr,fontSize:Kn,textAlign:"center",content:'"Not Found"'}},[`${Sr}-tree`]:{paddingBlock:`${(0,Eo.unit)(bn)} 0`,paddingInline:bn,[xr]:{padding:0},[`${xr}-treenode ${xr}-node-content-wrapper:hover`]:{backgroundColor:vi},[`${xr}-treenode-checkbox-checked ${xr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ci}}},[`${Sr}-search`]:{padding:bn,borderBottom:ti,"&-input":{input:{minWidth:rn},[wt]:{color:zr}}},[`${Sr}-checkall`]:{width:"100%",marginBottom:wn,marginInlineStart:wn},[`${Sr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Eo.unit)(jr(bn).sub(Tn).equal())} ${(0,Eo.unit)(bn)}`,overflow:"hidden",borderTop:ti}})}},{[`${ot}-dropdown ${Sr}, ${Sr}-submenu`]:{[`${ot}-checkbox-wrapper + span`]:{paddingInlineStart:bn,color:kn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Dr=ye=>{const{componentCls:ge,lineWidth:ot,colorSplit:wt,motionDurationSlow:Yt,zIndexTableFixed:rn,tableBg:wn,zIndexTableSticky:bn,calc:kn}=ye,Tn=wt;return{[`${ge}-wrapper`]:{[`
${ge}-cell-fix-left,
${ge}-cell-fix-right
`]:{position:"sticky !important",zIndex:rn,background:wn},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:kn(ot).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Yt}`,content:'""',pointerEvents:"none"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:kn(ot).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Yt}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:kn(bn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Yt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Tn}`},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Tn}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Tn}`},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Tn}`}},[`${ge}-fixed-column-gapped`]:{[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after,
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},Lr=ye=>{const{componentCls:ge,antCls:ot,margin:wt}=ye;return{[`${ge}-wrapper`]:{[`${ge}-pagination${ot}-pagination`]:{margin:`${(0,Eo.unit)(wt)} 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xi=ye=>{const{componentCls:ge,tableRadius:ot}=ye;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${(0,Eo.unit)(ot)} ${(0,Eo.unit)(ot)} 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-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:ot,borderStartEndRadius:ot,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ot},"> *:last-child":{borderStartEndRadius:ot}}},"&-footer":{borderRadius:`0 0 ${(0,Eo.unit)(ot)} ${(0,Eo.unit)(ot)}`}}}}},Ur=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},ri=ye=>{const{componentCls:ge,antCls:ot,iconCls:wt,fontSizeIcon:Yt,padding:rn,paddingXS:wn,headerIconColor:bn,headerIconHoverColor:kn,tableSelectionColumnWidth:Tn,tableSelectedRowBg:or,tableSelectedRowHoverBg:tr,tableRowHoverBg:$n,tablePaddingHorizontal:Kn,calc:Wn}=ye;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Tn,[`&${ge}-selection-col-with-dropdown`]:{width:Wn(Tn).add(Yt).add(Wn(rn).div(4)).equal()}},[`${ge}-bordered ${ge}-selection-col`]:{width:Wn(Tn).add(Wn(wn).mul(2)).equal(),[`&${ge}-selection-col-with-dropdown`]:{width:Wn(Tn).add(Yt).add(Wn(rn).div(4)).add(Wn(wn).mul(2)).equal()}},[`
table tr th${ge}-selection-column,
table tr td${ge}-selection-column,
${ge}-selection-column
`]:{paddingInlineEnd:ye.paddingXS,paddingInlineStart:ye.paddingXS,textAlign:"center",[`${ot}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:Wn(ye.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Eo.unit)(Wn(Kn).div(4).equal()),[wt]:{color:bn,fontSize:Yt,verticalAlign:"baseline","&:hover":{color:kn}}},[`${ge}-tbody`]:{[`${ge}-row`]:{[`&${ge}-row-selected`]:{[`> ${ge}-cell`]:{background:or,"&-row-hover":{background:tr}}},[`> ${ge}-cell-row-hover`]:{background:$n}}}}}},oo=ye=>{const{componentCls:ge,tableExpandColumnWidth:ot,calc:wt}=ye,Yt=(rn,wn,bn,kn)=>({[`${ge}${ge}-${rn}`]:{fontSize:kn,[`
${ge}-title,
${ge}-footer,
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,Eo.unit)(wn)} ${(0,Eo.unit)(bn)}`},[`${ge}-filter-trigger`]:{marginInlineEnd:(0,Eo.unit)(wt(bn).div(2).mul(-1).equal())},[`${ge}-expanded-row-fixed`]:{margin:`${(0,Eo.unit)(wt(wn).mul(-1).equal())} ${(0,Eo.unit)(wt(bn).mul(-1).equal())}`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:(0,Eo.unit)(wt(wn).mul(-1).equal()),marginInline:`${(0,Eo.unit)(wt(ot).sub(bn).equal())} ${(0,Eo.unit)(wt(bn).mul(-1).equal())}`}},[`${ge}-selection-extra`]:{paddingInlineStart:(0,Eo.unit)(wt(bn).div(4).equal())}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},Yt("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle,ye.tableFontSizeMiddle)),Yt("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall,ye.tableFontSizeSmall))}},Yi=ye=>{const{componentCls:ge,marginXXS:ot,fontSizeIcon:wt,headerIconColor:Yt,headerIconHoverColor:rn}=ye;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ye.motionDurationSlow}, left 0s`,"&:hover":{background:ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ye.colorPrimary},[`
&${ge}-cell-fix-left:hover,
&${ge}-cell-fix-right:hover
`]:{background:ye.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:ye.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ge}-column-sorter`]:{marginInlineStart:ot,color:Yt,fontSize:0,transition:`color ${ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:wt,"&.active":{color:ye.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:rn}}}},uo=ye=>{const{componentCls:ge,opacityLoading:ot,tableScrollThumbBg:wt,tableScrollThumbBgHover:Yt,tableScrollThumbSize:rn,tableScrollBg:wn,zIndexTableSticky:bn,stickyScrollBarBorderRadius:kn,lineWidth:Tn,lineType:or,tableBorderColor:tr}=ye,$n=`${(0,Eo.unit)(Tn)} ${or} ${tr}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:bn,background:ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Eo.unit)(rn)} !important`,zIndex:bn,display:"flex",alignItems:"center",background:wn,borderTop:$n,opacity:ot,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:rn,backgroundColor:wt,borderRadius:kn,transition:`all ${ye.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Yt}}}}}}},Bi=ye=>{const{componentCls:ge,lineWidth:ot,tableBorderColor:wt,calc:Yt}=ye,rn=`${(0,Eo.unit)(ot)} ${ye.lineType} ${wt}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:ye.zIndexTableFixed,background:ye.tableBg,"> tr":{"> th, > td":{borderBottom:rn}}},[`div${ge}-summary`]:{boxShadow:`0 ${(0,Eo.unit)(Yt(ot).mul(-1).equal())} 0 ${wt}`}}}},Ti=ye=>{const{componentCls:ge,motionDurationMid:ot,lineWidth:wt,lineType:Yt,tableBorderColor:rn,calc:wn}=ye,bn=`${(0,Eo.unit)(wt)} ${Yt} ${rn}`,kn=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-tbody-virtual-holder-inner`]:{[`
& > ${ge}-row,
& > div:not(${ge}-row) > ${ge}-row
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ge}-cell`]:{borderBottom:bn,transition:`background ${ot}`},[`${ge}-expanded-row`]:{[`${kn}${kn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Eo.unit)(wt)})`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:bn,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:bn,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:wn(wt).mul(-1).equal(),borderInlineStart:bn}}},[`&${ge}-virtual`]:{[`${ge}-placeholder ${ge}-cell`]:{borderInlineEnd:bn,borderBottom:bn}}}}}};const Mi=ye=>{const{componentCls:ge,fontWeightStrong:ot,tablePaddingVertical:wt,tablePaddingHorizontal:Yt,tableExpandColumnWidth:rn,lineWidth:wn,lineType:bn,tableBorderColor:kn,tableFontSize:Tn,tableBg:or,tableRadius:tr,tableHeaderTextColor:$n,motionDurationMid:Kn,tableHeaderBg:Wn,tableHeaderCellSplitColor:Or,tableFooterTextColor:cr,tableFooterBg:Hr,calc:Nr}=ye,_r=`${(0,Eo.unit)(wn)} ${bn} ${kn}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,oe.dF)()),{[ge]:Object.assign(Object.assign({},(0,oe.Wf)(ye)),{fontSize:Tn,background:or,borderRadius:`${(0,Eo.unit)(tr)} ${(0,Eo.unit)(tr)} 0 0`,scrollbarColor:`${ye.tableScrollThumbBg} ${ye.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Eo.unit)(tr)} ${(0,Eo.unit)(tr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,Eo.unit)(wt)} ${(0,Eo.unit)(Yt)}`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${(0,Eo.unit)(wt)} ${(0,Eo.unit)(Yt)}`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:$n,fontWeight:ot,textAlign:"start",background:Wn,borderBottom:_r,transition:`background ${Kn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Or,transform:"translateY(-50%)",transition:`background-color ${Kn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Kn}, border-color ${Kn}`,borderBottom:_r,[`
> ${ge}-wrapper:only-child,
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
`]:{[ge]:{marginBlock:(0,Eo.unit)(Nr(wt).mul(-1).equal()),marginInline:`${(0,Eo.unit)(Nr(rn).sub(Yt).equal())}
${(0,Eo.unit)(Nr(Yt).mul(-1).equal())}`,[`${ge}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:$n,fontWeight:ot,textAlign:"start",background:Wn,borderBottom:_r,transition:`background ${Kn} ease`}}},[`${ge}-footer`]:{padding:`${(0,Eo.unit)(wt)} ${(0,Eo.unit)(Yt)}`,color:cr,background:Hr}})}},vo=ye=>{const{colorFillAlter:ge,colorBgContainer:ot,colorTextHeading:wt,colorFillSecondary:Yt,colorFillContent:rn,controlItemBgActive:wn,controlItemBgActiveHover:bn,padding:kn,paddingSM:Tn,paddingXS:or,colorBorderSecondary:tr,borderRadiusLG:$n,controlHeight:Kn,colorTextPlaceholder:Wn,fontSize:Or,fontSizeSM:cr,lineHeight:Hr,lineWidth:Nr,colorIcon:_r,colorIconHover:zr,opacityLoading:Yr,controlInteractiveSize:ai}=ye,vi=new ps.FastColor(Yt).onBackground(ot).toHexString(),Ci=new ps.FastColor(rn).onBackground(ot).toHexString(),Xi=new ps.FastColor(ge).onBackground(ot).toHexString(),Gr=new ps.FastColor(_r),jr=new ps.FastColor(zr),ii=ai/2-Nr,Sr=ii*2+Nr*3;return{headerBg:Xi,headerColor:wt,headerSortActiveBg:vi,headerSortHoverBg:Ci,bodySortBg:Xi,rowHoverBg:Xi,rowSelectedBg:wn,rowSelectedHoverBg:bn,rowExpandedBg:ge,cellPaddingBlock:kn,cellPaddingInline:kn,cellPaddingBlockMD:Tn,cellPaddingInlineMD:or,cellPaddingBlockSM:or,cellPaddingInlineSM:or,borderColor:tr,headerBorderRadius:$n,footerBg:Xi,footerColor:wt,cellFontSize:Or,cellFontSizeMD:Or,cellFontSizeSM:Or,headerSplitColor:tr,fixedHeaderSortActiveBg:vi,headerFilterHoverBg:rn,filterDropdownMenuBg:ot,filterDropdownBg:ot,expandIconBg:ot,selectionColumnWidth:Kn,stickyScrollBarBg:Wn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Or*Hr-Nr*3)/2-Math.ceil((cr*1.4-Nr*3)/2),headerIconColor:Gr.clone().setA(Gr.a*Yr).toRgbString(),headerIconHoverColor:jr.clone().setA(jr.a*Yr).toRgbString(),expandIconHalfInner:ii,expandIconSize:Sr,expandIconScale:ai/Sr}},co=2;var Ki=(0,Ee.I$)("Table",ye=>{const{colorTextHeading:ge,colorSplit:ot,colorBgContainer:wt,controlInteractiveSize:Yt,headerBg:rn,headerColor:wn,headerSortActiveBg:bn,headerSortHoverBg:kn,bodySortBg:Tn,rowHoverBg:or,rowSelectedBg:tr,rowSelectedHoverBg:$n,rowExpandedBg:Kn,cellPaddingBlock:Wn,cellPaddingInline:Or,cellPaddingBlockMD:cr,cellPaddingInlineMD:Hr,cellPaddingBlockSM:Nr,cellPaddingInlineSM:_r,borderColor:zr,footerBg:Yr,footerColor:ai,headerBorderRadius:vi,cellFontSize:Ci,cellFontSizeMD:Xi,cellFontSizeSM:Gr,headerSplitColor:jr,fixedHeaderSortActiveBg:ii,headerFilterHoverBg:Sr,filterDropdownBg:xr,expandIconBg:ti,selectionColumnWidth:pi,stickyScrollBarBg:Ai,calc:Ji}=ye,bi=(0,Ge.mergeToken)(ye,{tableFontSize:Ci,tableBg:wt,tableRadius:vi,tablePaddingVertical:Wn,tablePaddingHorizontal:Or,tablePaddingVerticalMiddle:cr,tablePaddingHorizontalMiddle:Hr,tablePaddingVerticalSmall:Nr,tablePaddingHorizontalSmall:_r,tableBorderColor:zr,tableHeaderTextColor:wn,tableHeaderBg:rn,tableFooterTextColor:ai,tableFooterBg:Yr,tableHeaderCellSplitColor:jr,tableHeaderSortBg:bn,tableHeaderSortHoverBg:kn,tableBodySortBg:Tn,tableFixedHeaderSortActiveBg:ii,tableHeaderFilterActiveBg:Sr,tableFilterDropdownBg:xr,tableRowHoverBg:or,tableSelectedRowBg:tr,tableSelectedRowHoverBg:$n,zIndexTableFixed:co,zIndexTableSticky:Ji(co).add(1).equal({unit:!1}),tableFontSizeMiddle:Xi,tableFontSizeSmall:Gr,tableSelectionColumnWidth:pi,tableExpandIconBg:ti,tableExpandColumnWidth:Ji(Yt).add(Ji(ye.padding).mul(2)).equal(),tableExpandedRowBg:Kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ai,tableScrollThumbBgHover:ge,tableScrollBg:ot});return[Mi(bi),Lr(bi),Bi(bi),Yi(bi),Fr(bi),kt(bi),xi(bi),Qn(bi),Bi(bi),sr(bi),ri(bi),Dr(bi),uo(bi),Vn(bi),oo(bi),Ur(bi),Ti(bi)]},vo,{unitless:{expandIconScale:!0}});const qi=[],Fi=(ye,ge)=>{var ot,wt;const{prefixCls:Yt,className:rn,rootClassName:wn,style:bn,size:kn,bordered:Tn,dropdownPrefixCls:or,dataSource:tr,pagination:$n,rowSelection:Kn,rowKey:Wn="key",rowClassName:Or,columns:cr,children:Hr,childrenColumnName:Nr,onChange:_r,getPopupContainer:zr,loading:Yr,expandIcon:ai,expandable:vi,expandedRowRender:Ci,expandIconColumnIndex:Xi,indentSize:Gr,scroll:jr,sortDirections:ii,locale:Sr,showSorterTooltip:xr={target:"full-header"},virtual:ti}=ye,pi=(0,oi.ln)("Table"),Ai=b.useMemo(()=>cr||nn(Hr),[cr,Hr]),Ji=b.useMemo(()=>Ai.some(Ri=>Ri.responsive),[Ai]),bi=(0,Fa.Z)(Ji),Fo=b.useMemo(()=>{const Ri=new Set(Object.keys(bi).filter(yo=>bi[yo]));return Ai.filter(yo=>!yo.responsive||yo.responsive.some(Yo=>Ri.has(Yo)))},[Ai,bi]),wo=(0,Wo.Z)(ye,["className","style","columns"]),{locale:ca=ul.Z,direction:Qo,table:oa,renderEmpty:ma,getPrefixCls:ga,getPopupContainer:To}=b.useContext(Pa.E_),ko=(0,Uo.Z)(kn),Ia=Object.assign(Object.assign({},ca.Table),Sr),Na=tr||qi,ro=ga("table",Yt),Ao=ga("dropdown",or),[,eo]=(0,Nl.ZP)(),Zi=(0,Ba.Z)(ro),[jo,$o,ya]=Ki(ro,Zi),qo=Object.assign(Object.assign({childrenColumnName:Nr,expandIconColumnIndex:Xi},vi),{expandIcon:(ot=vi==null?void 0:vi.expandIcon)!==null&&ot!==void 0?ot:(wt=oa==null?void 0:oa.expandable)===null||wt===void 0?void 0:wt.expandIcon}),{childrenColumnName:ka="children"}=qo,Sa=b.useMemo(()=>Na.some(Ri=>Ri==null?void 0:Ri[ka])?"nest":Ci||vi!=null&&vi.expandedRowRender?"row":null,[Na]),so={body:b.useRef(null)},go=mo(ro),ea=b.useRef(null),aa=b.useRef(null);Xo(ge,()=>Object.assign(Object.assign({},aa.current),{nativeElement:ea.current}));const la=b.useMemo(()=>typeof Wn=="function"?Wn:Ri=>Ri==null?void 0:Ri[Wn],[Wn]),[za]=tl(Na,ka,la),ba={},ol=function(Ri,yo){let Yo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ua,yl,hl,ts;const Il=Object.assign(Object.assign({},ba),Ri);Yo&&((Ua=ba.resetPagination)===null||Ua===void 0||Ua.call(ba),!((yl=Il.pagination)===null||yl===void 0)&&yl.current&&(Il.pagination.current=1),$n&&((hl=$n.onChange)===null||hl===void 0||hl.call($n,1,(ts=Il.pagination)===null||ts===void 0?void 0:ts.pageSize))),jr&&jr.scrollToFirstRowOnChange!==!1&&so.body.current&&(0,Wa.Z)(0,{getContainer:()=>so.body.current}),_r==null||_r(Il.pagination,Il.filters,Il.sorter,{currentDataSource:Co(ss(Na,Il.sorterStates,ka),Il.filterStates,ka),action:yo})},va=(Ri,yo)=>{ol({sorter:Ri,sorterStates:yo},"sort",!1)},[Vo,ha,Ca,Ha]=Gs({prefixCls:ro,mergedColumns:Fo,onSorterChange:va,sortDirections:ii||["ascend","descend"],tableLocale:Ia,showSorterTooltip:xr}),La=b.useMemo(()=>ss(Na,ha,ka),[Na,ha]);ba.sorter=Ha(),ba.sorterStates=ha;const Go=(Ri,yo)=>{ol({filters:Ri,filterStates:yo},"filter",!0)},[Aa,na,al]=wa({prefixCls:ro,locale:Ia,dropdownPrefixCls:Ao,mergedColumns:Fo,onFilterChange:Go,getPopupContainer:zr||To,rootClassName:we()(wn,Zi)}),ja=Co(La,na,ka);ba.filters=al,ba.filterStates=na;const dl=b.useMemo(()=>{const Ri={};return Object.keys(al).forEach(yo=>{al[yo]!==null&&(Ri[yo]=al[yo])}),Object.assign(Object.assign({},Ca),{filters:Ri})},[Ca,al]),[pl]=Ts(dl),Wl=(Ri,yo)=>{ol({pagination:Object.assign(Object.assign({},ba.pagination),{current:Ri,pageSize:yo})},"paginate")},[xa,cs]=il(ja.length,Wl,$n);ba.pagination=$n===!1?{}:_a(xa,$n),ba.resetPagination=cs;const fl=b.useMemo(()=>{if($n===!1||!xa.pageSize)return ja;const{current:Ri=1,total:yo,pageSize:Yo=nl}=xa;return ja.length<yo?ja.length>Yo?ja.slice((Ri-1)*Yo,Ri*Yo):ja:ja.slice((Ri-1)*Yo,Ri*Yo)},[!!$n,ja,xa==null?void 0:xa.current,xa==null?void 0:xa.pageSize,xa==null?void 0:xa.total]),[Ll,Pl]=Oi({prefixCls:ro,data:ja,pageData:fl,getRowKey:la,getRecordByKey:za,expandType:Sa,childrenColumnName:ka,locale:Ia,getPopupContainer:zr||To},Kn),Do=(Ri,yo,Yo)=>{let Ua;return typeof Or=="function"?Ua=we()(Or(Ri,yo,Yo)):Ua=we()(Or),we()({[`${ro}-row-selected`]:Pl.has(la(Ri,yo))},Ua)};qo.__PARENT_RENDER_ICON__=qo.expandIcon,qo.expandIcon=qo.expandIcon||ai||ho(Ia),Sa==="nest"&&qo.expandIconColumnIndex===void 0?qo.expandIconColumnIndex=Kn?1:0:qo.expandIconColumnIndex>0&&Kn&&(qo.expandIconColumnIndex-=1),typeof qo.indentSize!="number"&&(qo.indentSize=typeof Gr=="number"?Gr:15);const to=b.useCallback(Ri=>pl(Ll(Aa(Vo(Ri)))),[Vo,Aa,Ll]);let Ra,gl;if($n!==!1&&(xa!=null&&xa.total)){let Ri;xa.size?Ri=xa.size:Ri=ko==="small"||ko==="middle"?"small":void 0;const yo=yl=>b.createElement(Ja.Z,Object.assign({},xa,{className:we()(`${ro}-pagination ${ro}-pagination-${yl}`,xa.className),size:Ri})),Yo=Qo==="rtl"?"left":"right",{position:Ua}=xa;if(Ua!==null&&Array.isArray(Ua)){const yl=Ua.find(Il=>Il.includes("top")),hl=Ua.find(Il=>Il.includes("bottom")),ts=Ua.every(Il=>`${Il}`=="none");!yl&&!hl&&!ts&&(gl=yo(Yo)),yl&&(Ra=yo(yl.toLowerCase().replace("top",""))),hl&&(gl=yo(hl.toLowerCase().replace("bottom","")))}else gl=yo(Yo)}let Rl;typeof Yr=="boolean"?Rl={spinning:Yr}:typeof Yr=="object"&&(Rl=Object.assign({spinning:!0},Yr));const Jl=we()(ya,Zi,`${ro}-wrapper`,oa==null?void 0:oa.className,{[`${ro}-wrapper-rtl`]:Qo==="rtl"},rn,wn,$o),Is=Object.assign(Object.assign({},oa==null?void 0:oa.style),bn),Bs=typeof(Sr==null?void 0:Sr.emptyText)!="undefined"?Sr.emptyText:(ma==null?void 0:ma("Table"))||b.createElement(Ta.Z,{componentName:"Table"}),Zs=ti?vs:Rs,ra={},Zo=b.useMemo(()=>{const{fontSize:Ri,lineHeight:yo,lineWidth:Yo,padding:Ua,paddingXS:yl,paddingSM:hl}=eo,ts=Math.floor(Ri*yo);switch(ko){case"middle":return hl*2+ts+Yo;case"small":return yl*2+ts+Yo;default:return Ua*2+ts+Yo}},[eo,ko]);return ti&&(ra.listItemHeight=Zo),jo(b.createElement("div",{ref:ea,className:Jl,style:Is},b.createElement(Jo.Z,Object.assign({spinning:!1},Rl),Ra,b.createElement(Zs,Object.assign({},ra,wo,{ref:aa,columns:Fo,direction:Qo,expandable:qo,prefixCls:ro,className:we()({[`${ro}-middle`]:ko==="middle",[`${ro}-small`]:ko==="small",[`${ro}-bordered`]:Tn,[`${ro}-empty`]:Na.length===0},ya,Zi,$o),data:fl,rowKey:la,rowClassName:Do,emptyText:Bs,internalHooks:ce,internalRefs:so,transformColumns:to,getContainerWidth:go})),gl)))};var Gi=b.forwardRef(Fi);const Ui=(ye,ge)=>{const ot=b.useRef(0);return ot.current+=1,b.createElement(Gi,Object.assign({},ye,{ref:ge,_renderTimes:ot.current}))},po=b.forwardRef(Ui);po.SELECTION_COLUMN=yi,po.EXPAND_COLUMN=xe,po.SELECTION_ALL=Ii,po.SELECTION_INVERT=no,po.SELECTION_NONE=So,po.Column=zn,po.ColumnGroup=jn,po.Summary=Ie;var Bo=po,Mo=Bo},53420:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return Sn}});var b=z(59301),xe=z(92310),ce=z.n(xe),nt=z(54476),Me=z(94480),Ce=z(33885),Be=z(42978),He=z(75931),Fe=z(76190),de=z(37463),Ke=z(6551),be=z(34643),vt=z(18929),et=z(48736),$e=function(Bt){var hn=b.useRef({valueLabels:new Map});return b.useMemo(function(){var An=hn.current.valueLabels,On=new Map,Ln=Bt.map(function(nr){var Xn=nr.value,nn=nr.label,Pn=nn!=null?nn:An.get(Xn);return On.set(Xn,Pn),(0,Ce.Z)((0,Ce.Z)({},nr),{},{label:Pn})});return hn.current.valueLabels=On,[Ln]},[Bt])},ze=function(hn,An,On,Ln){return b.useMemo(function(){var nr=function(Ze){return Ze.map(function(gt){var Ve=gt.value;return Ve})},Xn=nr(hn),nn=nr(An),Pn=Xn.filter(function(Gt){return!Ln[Gt]}),en=Xn,er=nn;if(On){var Dt=(0,be.S)(Xn,!0,Ln);en=Dt.checkedKeys,er=Dt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Me.Z)(Pn),(0,Me.Z)(en)))),er]},[hn,An,On,Ln])},je=ze,at=z(34061),Nt=function(Bt,hn){return b.useMemo(function(){var An=(0,at.I8)(Bt,{fieldNames:hn,initWrapper:function(Ln){return(0,Ce.Z)((0,Ce.Z)({},Ln),{},{valueEntities:new Map})},processEntity:function(Ln,nr){var Xn=Ln.node[hn.value];if(0)var nn;nr.valueEntities.set(Xn,Ln)}});return An},[Bt,hn])},jt=z(20068),se=z(11592),Oe=function(){return null},dt=Oe,ht=["children","value"];function Rt(Bt){return(0,se.Z)(Bt).map(function(hn){if(!b.isValidElement(hn)||!hn.type)return null;var An=hn,On=An.key,Ln=An.props,nr=Ln.children,Xn=Ln.value,nn=(0,He.Z)(Ln,ht),Pn=(0,Ce.Z)({key:On,value:Xn},nn),en=Rt(nr);return en.length&&(Pn.children=en),Pn}).filter(function(hn){return hn})}function _e(Bt){if(!Bt)return Bt;var hn=(0,Ce.Z)({},Bt);return"props"in hn||Object.defineProperty(hn,"props",{get:function(){return(0,et.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),hn}}),hn}function lt(Bt,hn,An,On,Ln,nr){var Xn=null,nn=null;function Pn(){function en(er){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return er.map(function(Ze,gt){var Ve="".concat(Dt,"-").concat(gt),yt=Ze[nr.value],_t=An.includes(yt),rr=en(Ze[nr.children]||[],Ve,_t),ar=b.createElement(dt,Ze,rr.map(function(bt){return bt.node}));if(hn===yt&&(Xn=ar),_t){var pt={pos:Ve,node:ar,children:rr};return Gt||nn.push(pt),pt}return null}).filter(function(Ze){return Ze})}nn||(nn=[],en(On),nn.sort(function(er,Dt){var Gt=er.node.props.value,Ze=Dt.node.props.value,gt=An.indexOf(Gt),Ve=An.indexOf(Ze);return gt-Ve}))}Object.defineProperty(Bt,"triggerNode",{get:function(){return(0,et.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Pn(),Xn}}),Object.defineProperty(Bt,"allCheckedNodes",{get:function(){return(0,et.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Pn(),Ln?nn:nn.map(function(er){var Dt=er.node;return Dt})}})}var ut=function(hn,An,On){var Ln=On.fieldNames,nr=On.treeNodeFilterProp,Xn=On.filterTreeNode,nn=Ln.children;return b.useMemo(function(){if(!An||Xn===!1)return hn;var Pn=typeof Xn=="function"?Xn:function(er,Dt){return String(Dt[nr]).toUpperCase().includes(An.toUpperCase())},en=function er(Dt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Dt.reduce(function(Ze,gt){var Ve=gt[nn],yt=Gt||Pn(An,_e(gt)),_t=er(Ve||[],yt);return(yt||_t.length)&&Ze.push((0,Ce.Z)((0,Ce.Z)({},gt),{},(0,jt.Z)({isLeaf:void 0},nn,_t))),Ze},[])};return en(hn)},[hn,An,nn,nr,Xn])},Pe=ut;function Te(Bt){var hn=b.useRef();hn.current=Bt;var An=b.useCallback(function(){return hn.current.apply(hn,arguments)},[]);return An}function we(Bt,hn){var An=hn.id,On=hn.pId,Ln=hn.rootPId,nr=new Map,Xn=[];return Bt.forEach(function(nn){var Pn=nn[An],en=(0,Ce.Z)((0,Ce.Z)({},nn),{},{key:nn.key||Pn});nr.set(Pn,en)}),nr.forEach(function(nn){var Pn=nn[On],en=nr.get(Pn);en?(en.children=en.children||[],en.children.push(nn)):(Pn===Ln||Ln===null)&&Xn.push(nn)}),Xn}function me(Bt,hn,An){return b.useMemo(function(){if(Bt){if(An){var On=(0,Ce.Z)({id:"id",pId:"pId",rootPId:null},(0,Fe.Z)(An)==="object"?An:{});return we(Bt,On)}return Bt}return Rt(hn)},[hn,An,Bt])}var Ot=b.createContext(null),We=Ot,Xe=z(19251),Xt=z(3741),Se=z(10228),ve=z(80547),Mt=b.createContext(null),Jt=Mt,Zt=function(hn){return Array.isArray(hn)?hn:hn!==void 0?[hn]:[]},pe=function(hn){var An=hn||{},On=An.label,Ln=An.value,nr=An.children;return{_title:On?[On]:["title","label"],value:Ln||"value",key:Ln||"value",children:nr||"children"}},Re=function(hn){return!hn||hn.disabled||hn.disableCheckbox||hn.checkable===!1},Ue=function(hn,An){var On=[],Ln=function nr(Xn){Xn.forEach(function(nn){var Pn=nn[An.children];Pn&&(On.push(nn[An.value]),nr(Pn))})};return Ln(hn),On},tn=function(hn){return hn==null},rt=z(70425),Kt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ct=function(hn,An){var On=(0,de.lk)(),Ln=On.prefixCls,nr=On.multiple,Xn=On.searchValue,nn=On.toggleOpen,Pn=On.open,en=On.notFoundContent,er=b.useContext(Jt),Dt=er.virtual,Gt=er.listHeight,Ze=er.listItemHeight,gt=er.listItemScrollOffset,Ve=er.treeData,yt=er.fieldNames,_t=er.onSelect,rr=er.dropdownMatchSelectWidth,ar=er.treeExpandAction,pt=er.treeTitleRender,bt=er.onPopupScroll,Pt=er.leftMaxCount,zt=er.leafCountOnly,Bn=er.valueEntities,Hn=b.useContext(We),Rn=Hn.checkable,Un=Hn.checkedKeys,pr=Hn.halfCheckedKeys,Ar=Hn.treeExpandedKeys,Vr=Hn.treeDefaultExpandAll,Br=Hn.treeDefaultExpandedKeys,fr=Hn.onTreeExpand,Pr=Hn.treeIcon,kr=Hn.showTreeIcon,$r=Hn.switcherIcon,Xr=Hn.treeLine,mi=Hn.treeNodeFilterProp,yr=Hn.loadData,ur=Hn.treeLoadedKeys,gr=Hn.treeMotion,ni=Hn.onTreeLoad,Kr=Hn.keyEntities,wr=b.useRef(),Rr=(0,ve.Z)(function(){return Ve},[Pn,Ve],function(ci,di){return di[0]&&ci[1]!==di[1]}),hi=b.useMemo(function(){return Rn?{checked:Un,halfChecked:pr}:null},[Rn,Un,pr]);b.useEffect(function(){if(Pn&&!nr&&Un.length){var ci;(ci=wr.current)===null||ci===void 0||ci.scrollTo({key:Un[0]})}},[Pn]);var Qr=function(di){di.preventDefault()},qr=function(di,yi){var Ii=yi.node;Rn&&Re(Ii)||(_t(Ii.key,{selected:!Un.includes(Ii.key)}),nr||nn(!1))},ei=b.useState(Br),Ni=(0,Be.Z)(ei,2),$i=Ni[0],_i=Ni[1],ki=b.useState(null),io=(0,Be.Z)(ki,2),ke=io[0],tt=io[1],Ft=b.useMemo(function(){return Ar?(0,Me.Z)(Ar):Xn?ke:$i},[$i,ke,Ar,Xn]),an=function(di){_i(di),tt(di),fr&&fr(di)},cn=String(Xn).toLowerCase(),Lt=function(di){return cn?String(di[mi]).toLowerCase().includes(cn):!1};b.useEffect(function(){Xn&&tt(Ue(Ve,yt))},[Xn]);var it=b.useState(function(){return new Map}),It=(0,Be.Z)(it,2),$t=It[0],Nn=It[1];b.useEffect(function(){Pt&&Nn(new Map)},[Pt]);function zn(ci){var di=ci[yt.value];if(!$t.has(di)){var yi=Bn.get(di),Ii=(yi.children||[]).length===0;if(Ii)$t.set(di,!1);else{var no=yi.children.filter(function(bo){return!bo.node.disabled&&!bo.node.disableCheckbox&&!Un.includes(bo.node[yt.value])}),So=no.length;$t.set(di,So>Pt)}}return $t.get(di)}var Dn=(0,rt.zX)(function(ci){var di=ci[yt.value];return Un.includes(di)||Pt===null?!1:Pt<=0?!0:zt&&Pt?zn(ci):!1}),jn=function ci(di){var yi=(0,Xe.Z)(di),Ii;try{for(yi.s();!(Ii=yi.n()).done;){var no=Ii.value;if(!(no.disabled||no.selectable===!1)){if(Xn){if(Lt(no))return no}else return no;if(no[yt.children]){var So=ci(no[yt.children]);if(So)return So}}}}catch(bo){yi.e(bo)}finally{yi.f()}return null},Jn=b.useState(null),Cr=(0,Be.Z)(Jn,2),br=Cr[0],Wr=Cr[1],Jr=Kr[br];b.useEffect(function(){if(Pn){var ci=null,di=function(){var Ii=jn(Rr);return Ii?Ii[yt.value]:null};!nr&&Un.length&&!Xn?ci=Un[0]:ci=di(),Wr(ci)}},[Pn,Xn]),b.useImperativeHandle(An,function(){var ci;return{scrollTo:(ci=wr.current)===null||ci===void 0?void 0:ci.scrollTo,onKeyDown:function(yi){var Ii,no=yi.which;switch(no){case Se.Z.UP:case Se.Z.DOWN:case Se.Z.LEFT:case Se.Z.RIGHT:(Ii=wr.current)===null||Ii===void 0||Ii.onKeyDown(yi);break;case Se.Z.ENTER:{if(Jr){var So=Dn(Jr.node),bo=(Jr==null?void 0:Jr.node)||{},Ko=bo.selectable,Hi=bo.value,Oi=bo.disabled;Ko!==!1&&!Oi&&!So&&qr(null,{node:{key:br},selected:!Un.includes(Hi)})}break}case Se.Z.ESC:nn(!1)}},onKeyUp:function(){}}});var gi=(0,ve.Z)(function(){return!Xn},[Xn,Ar||$i],function(ci,di){var yi=(0,Be.Z)(ci,1),Ii=yi[0],no=(0,Be.Z)(di,2),So=no[0],bo=no[1];return Ii!==So&&!!(So||bo)}),oi=gi?yr:null;if(Rr.length===0)return b.createElement("div",{role:"listbox",className:"".concat(Ln,"-empty"),onMouseDown:Qr},en);var Pi={fieldNames:yt};return ur&&(Pi.loadedKeys=ur),Ft&&(Pi.expandedKeys=Ft),b.createElement("div",{onMouseDown:Qr},Jr&&Pn&&b.createElement("span",{style:Kt,"aria-live":"assertive"},Jr.node.value),b.createElement(Xt.y6.Provider,{value:{nodeDisabled:Dn}},b.createElement(Xt.ZP,(0,nt.Z)({ref:wr,focusable:!1,prefixCls:"".concat(Ln,"-tree"),treeData:Rr,height:Gt,itemHeight:Ze,itemScrollOffset:gt,virtual:Dt!==!1&&rr!==!1,multiple:nr,icon:Pr,showIcon:kr,switcherIcon:$r,showLine:Xr,loadData:oi,motion:gr,activeKey:br,checkable:Rn,checkStrictly:!0,checkedKeys:hi,selectedKeys:Rn?[]:Un,defaultExpandAll:Vr,titleRender:pt},Pi,{onActiveChange:Wr,onSelect:qr,onCheck:qr,onExpand:an,onLoad:ni,filterTreeNode:Lt,expandAction:ar,onScroll:bt}))))},fn=b.forwardRef(ct),xt=fn,le="SHOW_ALL",ne="SHOW_PARENT",te="SHOW_CHILD";function ae(Bt,hn,An,On){var Ln=new Set(Bt);return hn===te?Bt.filter(function(nr){var Xn=An[nr];return!Xn||!Xn.children||!Xn.children.some(function(nn){var Pn=nn.node;return Ln.has(Pn[On.value])})||!Xn.children.every(function(nn){var Pn=nn.node;return Re(Pn)||Ln.has(Pn[On.value])})}):hn===ne?Bt.filter(function(nr){var Xn=An[nr],nn=Xn?Xn.parent:null;return!nn||Re(nn.node)||!Ln.has(nn.key)}):Bt}function he(Bt){var hn=Bt.searchPlaceholder,An=Bt.treeCheckStrictly,On=Bt.treeCheckable,Ln=Bt.labelInValue,nr=Bt.value,Xn=Bt.multiple,nn=Bt.showCheckedStrategy,Pn=Bt.maxCount;warning(!hn,"`searchPlaceholder` has been removed."),An&&Ln===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ln||An)&&warning(toArray(nr).every(function(en){return en&&_typeof(en)==="object"&&"value"in en}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),An||Xn||On?warning(!nr||Array.isArray(nr),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(nr),"`value` should not be array when `TreeSelect` is single mode."),Pn&&(nn==="SHOW_ALL"&&!An||nn==="SHOW_PARENT")&&warning(!1,"`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.")}var re=null,ue=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function De(Bt){return!Bt||(0,Fe.Z)(Bt)!=="object"}var st=b.forwardRef(function(Bt,hn){var An=Bt.id,On=Bt.prefixCls,Ln=On===void 0?"rc-tree-select":On,nr=Bt.value,Xn=Bt.defaultValue,nn=Bt.onChange,Pn=Bt.onSelect,en=Bt.onDeselect,er=Bt.searchValue,Dt=Bt.inputValue,Gt=Bt.onSearch,Ze=Bt.autoClearSearchValue,gt=Ze===void 0?!0:Ze,Ve=Bt.filterTreeNode,yt=Bt.treeNodeFilterProp,_t=yt===void 0?"value":yt,rr=Bt.showCheckedStrategy,ar=Bt.treeNodeLabelProp,pt=Bt.multiple,bt=Bt.treeCheckable,Pt=Bt.treeCheckStrictly,zt=Bt.labelInValue,Bn=Bt.maxCount,Hn=Bt.fieldNames,Rn=Bt.treeDataSimpleMode,Un=Bt.treeData,pr=Bt.children,Ar=Bt.loadData,Vr=Bt.treeLoadedKeys,Br=Bt.onTreeLoad,fr=Bt.treeDefaultExpandAll,Pr=Bt.treeExpandedKeys,kr=Bt.treeDefaultExpandedKeys,$r=Bt.onTreeExpand,Xr=Bt.treeExpandAction,mi=Bt.virtual,yr=Bt.listHeight,ur=yr===void 0?200:yr,gr=Bt.listItemHeight,ni=gr===void 0?20:gr,Kr=Bt.listItemScrollOffset,wr=Kr===void 0?0:Kr,Rr=Bt.onDropdownVisibleChange,hi=Bt.dropdownMatchSelectWidth,Qr=hi===void 0?!0:hi,qr=Bt.treeLine,ei=Bt.treeIcon,Ni=Bt.showTreeIcon,$i=Bt.switcherIcon,_i=Bt.treeMotion,ki=Bt.treeTitleRender,io=Bt.onPopupScroll,ke=(0,He.Z)(Bt,ue),tt=(0,Ke.ZP)(An),Ft=bt&&!Pt,an=bt||Pt,cn=Pt||zt,Lt=an||pt,it=(0,vt.Z)(Xn,{value:nr}),It=(0,Be.Z)(it,2),$t=It[0],Nn=It[1],zn=b.useMemo(function(){return bt?rr||te:le},[rr,bt]),Dn=b.useMemo(function(){return pe(Hn)},[JSON.stringify(Hn)]),jn=(0,vt.Z)("",{value:er!==void 0?er:Dt,postState:function(fi){return fi||""}}),Jn=(0,Be.Z)(jn,2),Cr=Jn[0],br=Jn[1],Wr=function(fi){br(fi),Gt==null||Gt(fi)},Jr=me(Un,pr,Rn),gi=Nt(Jr,Dn),oi=gi.keyEntities,Pi=gi.valueEntities,ci=b.useCallback(function(Ei){var fi=[],Li=[];return Ei.forEach(function(lo){Pi.has(lo)?Li.push(lo):fi.push(lo)}),{missingRawValues:fi,existRawValues:Li}},[Pi]),di=Pe(Jr,Cr,{fieldNames:Dn,treeNodeFilterProp:_t,filterTreeNode:Ve}),yi=b.useCallback(function(Ei){if(Ei){if(ar)return Ei[ar];for(var fi=Dn._title,Li=0;Li<fi.length;Li+=1){var lo=Ei[fi[Li]];if(lo!==void 0)return lo}}},[Dn,ar]),Ii=b.useCallback(function(Ei){var fi=Zt(Ei);return fi.map(function(Li){return De(Li)?{value:Li}:Li})},[]),no=b.useCallback(function(Ei){var fi=Ii(Ei);return fi.map(function(Li){var lo=Li.label,da=Li.value,Ro=Li.halfChecked,Lo,Oo=Pi.get(da);if(Oo){var pa;lo=ki?ki(Oo.node):(pa=lo)!==null&&pa!==void 0?pa:yi(Oo.node),Lo=Oo.node.disabled}else if(lo===void 0){var Ea=Ii($t).find(function(Oa){return Oa.value===da});lo=Ea.label}return{label:lo,value:da,halfChecked:Ro,disabled:Lo}})},[Pi,yi,Ii,$t]),So=b.useMemo(function(){return Ii($t===null?[]:$t)},[Ii,$t]),bo=b.useMemo(function(){var Ei=[],fi=[];return So.forEach(function(Li){Li.halfChecked?fi.push(Li):Ei.push(Li)}),[Ei,fi]},[So]),Ko=(0,Be.Z)(bo,2),Hi=Ko[0],Oi=Ko[1],Wo=b.useMemo(function(){return Hi.map(function(Ei){return Ei.value})},[Hi]),zo=je(Hi,Oi,Ft,oi),Xo=(0,Be.Z)(zo,2),Wa=Xo[0],Pa=Xo[1],Ta=b.useMemo(function(){var Ei=ae(Wa,zn,oi,Dn),fi=Ei.map(function(Ro){var Lo,Oo;return(Lo=(Oo=oi[Ro])===null||Oo===void 0||(Oo=Oo.node)===null||Oo===void 0?void 0:Oo[Dn.value])!==null&&Lo!==void 0?Lo:Ro}),Li=fi.map(function(Ro){var Lo=Hi.find(function(pa){return pa.value===Ro}),Oo=zt?Lo==null?void 0:Lo.label:ki==null?void 0:ki(Lo);return{value:Ro,label:Oo}}),lo=no(Li),da=lo[0];return!Lt&&da&&tn(da.value)&&tn(da.label)?[]:lo.map(function(Ro){var Lo;return(0,Ce.Z)((0,Ce.Z)({},Ro),{},{label:(Lo=Ro.label)!==null&&Lo!==void 0?Lo:Ro.value})})},[Dn,Lt,Wa,Hi,no,zn,oi]),Ba=$e(Ta),Uo=(0,Be.Z)(Ba,1),Fa=Uo[0],ul=b.useMemo(function(){return Lt&&(zn==="SHOW_CHILD"||Pt||!bt)?Bn:null},[Bn,Lt,Pt,zn,bt]),Ja=Te(function(Ei,fi,Li){var lo=ae(Ei,zn,oi,Dn);if(!(ul&&lo.length>ul)){var da=no(Ei);if(Nn(da),gt&&br(""),nn){var Ro=Ei;Ft&&(Ro=lo.map(function(cl){var el=Pi.get(cl);return el?el.node[Dn.value]:cl}));var Lo=fi||{triggerValue:void 0,selected:void 0},Oo=Lo.triggerValue,pa=Lo.selected,Ea=Ro;if(Pt){var Oa=Oi.filter(function(cl){return!Ro.includes(cl.value)});Ea=[].concat((0,Me.Z)(Ea),(0,Me.Z)(Oa))}var Ya=no(Ea),Io={preValue:Hi,triggerValue:Oo},Ga=!0;(Pt||Li==="selection"&&!pa)&&(Ga=!1),lt(Io,Oo,Ei,Jr,Ga,Dn),an?Io.checked=pa:Io.selected=pa;var wl=cn?Ya:Ya.map(function(cl){return cl.value});nn(Lt?wl:wl[0],cn?null:Ya.map(function(cl){return cl.label}),Io)}}}),Jo=b.useCallback(function(Ei,fi){var Li,lo=fi.selected,da=fi.source,Ro=oi[Ei],Lo=Ro==null?void 0:Ro.node,Oo=(Li=Lo==null?void 0:Lo[Dn.value])!==null&&Li!==void 0?Li:Ei;if(!Lt)Ja([Oo],{selected:!0,triggerValue:Oo},"option");else{var pa=lo?[].concat((0,Me.Z)(Wo),[Oo]):Wa.filter(function(el){return el!==Oo});if(Ft){var Ea=ci(pa),Oa=Ea.missingRawValues,Ya=Ea.existRawValues,Io=Ya.map(function(el){return Pi.get(el).key}),Ga;if(lo){var wl=(0,be.S)(Io,!0,oi);Ga=wl.checkedKeys}else{var cl=(0,be.S)(Io,{checked:!1,halfCheckedKeys:Pa},oi);Ga=cl.checkedKeys}pa=[].concat((0,Me.Z)(Oa),(0,Me.Z)(Ga.map(function(el){return oi[el].node[Dn.value]})))}Ja(pa,{selected:lo,triggerValue:Oo},da||"option")}lo||!Lt?Pn==null||Pn(Oo,_e(Lo)):en==null||en(Oo,_e(Lo))},[ci,Pi,oi,Dn,Lt,Wo,Ja,Ft,Pn,en,Wa,Pa,Bn]),Nl=b.useCallback(function(Ei){if(Rr){var fi={};Object.defineProperty(fi,"documentClickClose",{get:function(){return(0,et.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Rr(Ei,fi)}},[Rr]),El=Te(function(Ei,fi){var Li=Ei.map(function(lo){return lo.value});if(fi.type==="clear"){Ja(Li,{},"selection");return}fi.values.length&&Jo(fi.values[0].value,{selected:!1,source:"selection"})}),ho=b.useMemo(function(){return{virtual:mi,dropdownMatchSelectWidth:Qr,listHeight:ur,listItemHeight:ni,listItemScrollOffset:wr,treeData:di,fieldNames:Dn,onSelect:Jo,treeExpandAction:Xr,treeTitleRender:ki,onPopupScroll:io,leftMaxCount:Bn===void 0?null:Bn-Fa.length,leafCountOnly:zn==="SHOW_CHILD"&&!Pt&&!!bt,valueEntities:Pi}},[mi,Qr,ur,ni,wr,di,Dn,Jo,Xr,ki,io,Bn,Fa.length,zn,Pt,bt,Pi]),mo=b.useMemo(function(){return{checkable:an,loadData:Ar,treeLoadedKeys:Vr,onTreeLoad:Br,checkedKeys:Wa,halfCheckedKeys:Pa,treeDefaultExpandAll:fr,treeExpandedKeys:Pr,treeDefaultExpandedKeys:kr,onTreeExpand:$r,treeIcon:ei,treeMotion:_i,showTreeIcon:Ni,switcherIcon:$i,treeLine:qr,treeNodeFilterProp:_t,keyEntities:oi}},[an,Ar,Vr,Br,Wa,Pa,fr,Pr,kr,$r,ei,_i,Ni,$i,qr,_t,oi]);return b.createElement(Jt.Provider,{value:ho},b.createElement(We.Provider,{value:mo},b.createElement(de.Ac,(0,nt.Z)({ref:hn},ke,{id:tt,prefixCls:Ln,mode:Lt?"multiple":void 0,displayValues:Fa,onDisplayValuesChange:El,searchValue:Cr,onSearch:Wr,OptionList:xt,emptyOptions:!Jr.length,onDropdownVisibleChange:Nl,dropdownMatchSelectWidth:Qr}))))}),Qe=st;Qe.TreeNode=dt,Qe.SHOW_ALL=le,Qe.SHOW_PARENT=ne,Qe.SHOW_CHILD=te;var Ie=Qe,mt=Ie,Et=z(2738),Tt=z(75030),Le=z(86641),Ye=z(45915),vn=z(82855),Ht=z(48755),Cn=z(38406),un=z(2171),Ut=z(83397),on=z(31756),mn=z(56553),ft=z(24971),Vt=z(1722),yn=z(90376),Ct=z(68525),Je=z(90005),Wt=z(70045),qt=z(57700),ln=z(85278),Zn=z(36237),qn=z(36170),mr=z(51636),vr=z(16931),_n=z(12425);const dr=Bt=>{const{componentCls:hn,treePrefixCls:An,colorBgElevated:On}=Bt,Ln=`.${An}`;return[{[`${hn}-dropdown`]:[{padding:`${(0,Zn.unit)(Bt.paddingXS)} ${(0,Zn.unit)(Bt.calc(Bt.paddingXS).div(2).equal())}`},(0,_n.Yk)(An,(0,mr.mergeToken)(Bt,{colorBgContainer:On}),!1),{[Ln]:{borderRadius:0,[`${Ln}-list-holder-inner`]:{alignItems:"stretch",[`${Ln}-treenode`]:{[`${Ln}-node-content-wrapper`]:{flex:"auto"}}}}},(0,qn.C2)(`${An}-checkbox`,Bt),{"&-rtl":{direction:"rtl",[`${Ln}-switcher${Ln}-switcher_close`]:{[`${Ln}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},Qt=null;function En(Bt,hn,An){return(0,vr.I$)("TreeSelect",On=>{const Ln=(0,mr.mergeToken)(On,{treePrefixCls:hn});return[dr(Ln)]},_n.TM)(Bt,An)}var pn=function(Bt,hn){var An={};for(var On in Bt)Object.prototype.hasOwnProperty.call(Bt,On)&&hn.indexOf(On)<0&&(An[On]=Bt[On]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ln=0,On=Object.getOwnPropertySymbols(Bt);Ln<On.length;Ln++)hn.indexOf(On[Ln])<0&&Object.prototype.propertyIsEnumerable.call(Bt,On[Ln])&&(An[On[Ln]]=Bt[On[Ln]]);return An};const xn=(Bt,hn)=>{var An;const{prefixCls:On,size:Ln,disabled:nr,bordered:Xn=!0,className:nn,rootClassName:Pn,treeCheckable:en,multiple:er,listHeight:Dt=256,listItemHeight:Gt,placement:Ze,notFoundContent:gt,switcherIcon:Ve,treeLine:yt,getPopupContainer:_t,popupClassName:rr,dropdownClassName:ar,treeIcon:pt=!1,transitionName:bt,choiceTransitionName:Pt="",status:zt,treeExpandAction:Bn,builtinPlacements:Hn,dropdownMatchSelectWidth:Rn,popupMatchSelectWidth:Un,allowClear:pr,variant:Ar,dropdownStyle:Vr,tagRender:Br,maxCount:fr,showCheckedStrategy:Pr,treeCheckStrictly:kr}=Bt,$r=pn(Bt,["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","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:Xr,getPrefixCls:mi,renderEmpty:yr,direction:ur,virtual:gr,popupMatchSelectWidth:ni,popupOverflow:Kr}=b.useContext(Ht.E_),[,wr]=(0,qt.ZP)(),Rr=Gt!=null?Gt:(wr==null?void 0:wr.controlHeightSM)+(wr==null?void 0:wr.paddingXXS),hi=mi(),Qr=mi("select",On),qr=mi("select-tree",On),ei=mi("tree-select",On),{compactSize:Ni,compactItemClassnames:$i}=(0,Wt.ri)(Qr,ur),_i=(0,Ut.Z)(Qr),ki=(0,Ut.Z)(ei),[io,ke,tt]=(0,yn.Z)(Qr,_i),[Ft]=En(ei,qr,ki),[an,cn]=(0,ft.Z)("treeSelect",Ar,Xn),Lt=ce()(rr||ar,`${ei}-dropdown`,{[`${ei}-dropdown-rtl`]:ur==="rtl"},Pn,tt,_i,ki,ke),it=!!(en||er),It=b.useMemo(()=>{if(!(fr&&(Pr==="SHOW_ALL"&&!kr||Pr==="SHOW_PARENT")))return fr},[fr,Pr,kr]),$t=(0,Je.Z)(Bt.suffixIcon,Bt.showArrow),Nn=(An=Un!=null?Un:Rn)!==null&&An!==void 0?An:ni,{status:zn,hasFeedback:Dn,isFormItemInput:jn,feedbackIcon:Jn}=b.useContext(mn.aM),Cr=(0,vn.F)(zn,zt),{suffixIcon:br,removeIcon:Wr,clearIcon:Jr}=(0,Ct.Z)(Object.assign(Object.assign({},$r),{multiple:it,showSuffixIcon:$t,hasFeedback:Dn,feedbackIcon:Jn,prefixCls:Qr,componentName:"TreeSelect"})),gi=pr===!0?{clearIcon:Jr}:pr;let oi;gt!==void 0?oi=gt:oi=(yr==null?void 0:yr("Select"))||b.createElement(Cn.Z,{componentName:"Select"});const Pi=(0,Et.Z)($r,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),ci=b.useMemo(()=>Ze!==void 0?Ze:ur==="rtl"?"bottomRight":"bottomLeft",[Ze,ur]),di=(0,on.Z)(Hi=>{var Oi;return(Oi=Ln!=null?Ln:Ni)!==null&&Oi!==void 0?Oi:Hi}),yi=b.useContext(un.Z),Ii=nr!=null?nr:yi,no=ce()(!On&&ei,{[`${Qr}-lg`]:di==="large",[`${Qr}-sm`]:di==="small",[`${Qr}-rtl`]:ur==="rtl",[`${Qr}-${an}`]:cn,[`${Qr}-in-form-item`]:jn},(0,vn.Z)(Qr,Cr,Dn),$i,nn,Pn,tt,_i,ki,ke),So=Hi=>b.createElement(ln.Z,{prefixCls:qr,switcherIcon:Ve,treeNodeProps:Hi,showLine:yt}),[bo]=(0,Tt.Cn)("SelectLike",Vr==null?void 0:Vr.zIndex),Ko=b.createElement(mt,Object.assign({virtual:gr,disabled:Ii},Pi,{dropdownMatchSelectWidth:Nn,builtinPlacements:(0,Vt.Z)(Hn,Kr),ref:hn,prefixCls:Qr,className:no,listHeight:Dt,listItemHeight:Rr,treeCheckable:en&&b.createElement("span",{className:`${Qr}-tree-checkbox-inner`}),treeLine:!!yt,suffixIcon:br,multiple:it,placement:ci,removeIcon:Wr,allowClear:gi,switcherIcon:So,showTreeIcon:pt,notFoundContent:oi,getPopupContainer:_t||Xr,treeMotion:null,dropdownClassName:Lt,dropdownStyle:Object.assign(Object.assign({},Vr),{zIndex:bo}),choiceTransitionName:(0,Le.m)(hi,"",Pt),transitionName:(0,Le.m)(hi,"slide-up",bt),treeExpandAction:Bn,tagRender:it?Br:void 0,maxCount:It,showCheckedStrategy:Pr,treeCheckStrictly:kr}));return io(Ft(Ko))},Fn=b.forwardRef(xn),St=(0,Ye.Z)(Fn,"dropdownAlign",Bt=>(0,Et.Z)(Bt,["visible"]));Fn.TreeNode=dt,Fn.SHOW_ALL=le,Fn.SHOW_PARENT=ne,Fn.SHOW_CHILD=te,Fn._InternalPanelDoNotUseOrYouWillBeFired=St;var Sn=Fn},18287:function(Yn,dn,z){"use strict";z.d(dn,{default:function(){return Zt}});var b=z(3741),xe=z(94480),ce=z(59301),nt=z(52671),Me=z(8657),Ce=z(54476),Be={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"},He=Be,Fe=z(7657),de=function(Re,Ue){return ce.createElement(Fe.Z,(0,Ce.Z)({},Re,{ref:Ue,icon:He}))},Ke=ce.forwardRef(de),be=Ke,vt=z(92310),et=z.n(vt),$e=z(82661),ze=z(34061),je=z(48755),at=z(56082),Nt=z(86641),jt=z(57700),se=z(12425);const Oe=4;function dt(pe){const{dropPosition:Re,dropLevelOffset:Ue,prefixCls:tn,indent:rt,direction:Kt="ltr"}=pe,ct=Kt==="ltr"?"left":"right",fn=Kt==="ltr"?"right":"left",xt={[ct]:-Ue*rt+Oe,[fn]:0};switch(Re){case-1:xt.top=-3;break;case 1:xt.bottom=-3;break;default:xt.bottom=-3,xt[ct]=rt+Oe;break}return ce.createElement("div",{style:xt,className:`${tn}-drop-indicator`})}var ht=dt,Rt=z(85278),lt=ce.forwardRef((pe,Re)=>{var Ue;const{getPrefixCls:tn,direction:rt,virtual:Kt,tree:ct}=ce.useContext(je.E_),{prefixCls:fn,className:xt,showIcon:le=!1,showLine:ne,switcherIcon:te,switcherLoadingIcon:ae,blockNode:he=!1,children:re,checkable:ue=!1,selectable:De=!0,draggable:st,motion:Qe,style:Ie}=pe,mt=tn("tree",fn),Et=tn(),Tt=Qe!=null?Qe:Object.assign(Object.assign({},(0,Nt.Z)(Et)),{motionAppear:!1}),Le=Object.assign(Object.assign({},pe),{checkable:ue,selectable:De,showIcon:le,motion:Tt,blockNode:he,showLine:!!ne,dropIndicatorRender:ht}),[Ye,vn,Ht]=(0,se.ZP)(mt),[,Cn]=(0,jt.ZP)(),un=Cn.paddingXS/2+(((Ue=Cn.Tree)===null||Ue===void 0?void 0:Ue.titleHeight)||Cn.controlHeightSM),Ut=ce.useMemo(()=>{if(!st)return!1;let mn={};switch(typeof st){case"function":mn.nodeDraggable=st;break;case"object":mn=Object.assign({},st);break;default:break}return mn.icon!==!1&&(mn.icon=mn.icon||ce.createElement(at.Z,null)),mn},[st]),on=mn=>ce.createElement(Rt.Z,{prefixCls:mt,switcherIcon:te,switcherLoadingIcon:ae,treeNodeProps:mn,showLine:ne});return Ye(ce.createElement(b.ZP,Object.assign({itemHeight:un,ref:Re,virtual:Kt},Le,{style:Object.assign(Object.assign({},ct==null?void 0:ct.style),Ie),prefixCls:mt,className:et()({[`${mt}-icon-hide`]:!le,[`${mt}-block-node`]:he,[`${mt}-unselectable`]:!De,[`${mt}-rtl`]:rt==="rtl"},ct==null?void 0:ct.className,xt,vn,Ht),direction:rt,checkable:ue&&ce.createElement("span",{className:`${mt}-checkbox-inner`}),selectable:De,switcherIcon:on,draggable:Ut}),re))});const ut=0,Pe=1,Te=2;function we(pe,Re,Ue){const{key:tn,children:rt}=Ue;function Kt(ct){const fn=ct[tn],xt=ct[rt];Re(fn,ct)!==!1&&we(xt||[],Re,Ue)}pe.forEach(Kt)}function me(pe){let{treeData:Re,expandedKeys:Ue,startKey:tn,endKey:rt,fieldNames:Kt}=pe;const ct=[];let fn=ut;if(tn&&tn===rt)return[tn];if(!tn||!rt)return[];function xt(le){return le===tn||le===rt}return we(Re,le=>{if(fn===Te)return!1;if(xt(le)){if(ct.push(le),fn===ut)fn=Pe;else if(fn===Pe)return fn=Te,!1}else fn===Pe&&ct.push(le);return Ue.includes(le)},(0,ze.w$)(Kt)),ct}function Ot(pe,Re,Ue){const tn=(0,xe.Z)(Re),rt=[];return we(pe,(Kt,ct)=>{const fn=tn.indexOf(Kt);return fn!==-1&&(rt.push(ct),tn.splice(fn,1)),!!tn.length},(0,ze.w$)(Ue)),rt}var We=function(pe,Re){var Ue={};for(var tn in pe)Object.prototype.hasOwnProperty.call(pe,tn)&&Re.indexOf(tn)<0&&(Ue[tn]=pe[tn]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,tn=Object.getOwnPropertySymbols(pe);rt<tn.length;rt++)Re.indexOf(tn[rt])<0&&Object.prototype.propertyIsEnumerable.call(pe,tn[rt])&&(Ue[tn[rt]]=pe[tn[rt]]);return Ue};function Xe(pe){const{isLeaf:Re,expanded:Ue}=pe;return Re?ce.createElement(nt.Z,null):Ue?ce.createElement(Me.Z,null):ce.createElement(be,null)}function Xt(pe){let{treeData:Re,children:Ue}=pe;return Re||(0,ze.zn)(Ue)}const Se=(pe,Re)=>{var{defaultExpandAll:Ue,defaultExpandParent:tn,defaultExpandedKeys:rt}=pe,Kt=We(pe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ct=ce.useRef(null),fn=ce.useRef(null),xt=()=>{const{keyEntities:Ye}=(0,ze.I8)(Xt(Kt));let vn;return Ue?vn=Object.keys(Ye):tn?vn=(0,$e.r7)(Kt.expandedKeys||rt||[],Ye):vn=Kt.expandedKeys||rt||[],vn},[le,ne]=ce.useState(Kt.selectedKeys||Kt.defaultSelectedKeys||[]),[te,ae]=ce.useState(()=>xt());ce.useEffect(()=>{"selectedKeys"in Kt&&ne(Kt.selectedKeys)},[Kt.selectedKeys]),ce.useEffect(()=>{"expandedKeys"in Kt&&ae(Kt.expandedKeys)},[Kt.expandedKeys]);const he=(Ye,vn)=>{var Ht;return"expandedKeys"in Kt||ae(Ye),(Ht=Kt.onExpand)===null||Ht===void 0?void 0:Ht.call(Kt,Ye,vn)},re=(Ye,vn)=>{var Ht;const{multiple:Cn,fieldNames:un}=Kt,{node:Ut,nativeEvent:on}=vn,{key:mn=""}=Ut,ft=Xt(Kt),Vt=Object.assign(Object.assign({},vn),{selected:!0}),yn=(on==null?void 0:on.ctrlKey)||(on==null?void 0:on.metaKey),Ct=on==null?void 0:on.shiftKey;let Je;Cn&&yn?(Je=Ye,ct.current=mn,fn.current=Je,Vt.selectedNodes=Ot(ft,Je,un)):Cn&&Ct?(Je=Array.from(new Set([].concat((0,xe.Z)(fn.current||[]),(0,xe.Z)(me({treeData:ft,expandedKeys:te,startKey:mn,endKey:ct.current,fieldNames:un}))))),Vt.selectedNodes=Ot(ft,Je,un)):(Je=[mn],ct.current=mn,fn.current=Je,Vt.selectedNodes=Ot(ft,Je,un)),(Ht=Kt.onSelect)===null||Ht===void 0||Ht.call(Kt,Je,Vt),"selectedKeys"in Kt||ne(Je)},{getPrefixCls:ue,direction:De}=ce.useContext(je.E_),{prefixCls:st,className:Qe,showIcon:Ie=!0,expandAction:mt="click"}=Kt,Et=We(Kt,["prefixCls","className","showIcon","expandAction"]),Tt=ue("tree",st),Le=et()(`${Tt}-directory`,{[`${Tt}-directory-rtl`]:De==="rtl"},Qe);return ce.createElement(lt,Object.assign({icon:Xe,ref:Re,blockNode:!0},Et,{showIcon:Ie,expandAction:mt,prefixCls:Tt,className:Le,expandedKeys:te,selectedKeys:le,onSelect:re,onExpand:he}))};var Mt=ce.forwardRef(Se);const Jt=lt;Jt.DirectoryTree=Mt,Jt.TreeNode=b.OF;var Zt=Jt},12425:function(Yn,dn,z){"use strict";z.d(dn,{ZP:function(){return $e},Yk:function(){return be},TM:function(){return vt}});var b=z(36237),xe=z(36170),ce=z(63356),nt=z(34961),Me=z(51636),Ce=z(16931);const Be=ze=>{let{treeCls:je,treeNodeCls:at,directoryNodeSelectedBg:Nt,directoryNodeSelectedColor:jt,motionDurationMid:se,borderRadius:Oe,controlItemBgHover:dt}=ze;return{[`${je}${je}-directory ${at}`]:{[`${je}-node-content-wrapper`]:{position:"static",[`> *:not(${je}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${se}`,content:'""',borderRadius:Oe},"&:hover:before":{background:dt}},[`${je}-switcher, ${je}-checkbox, ${je}-draggable-icon`]:{zIndex:1},"&-selected":{[`${je}-switcher, ${je}-draggable-icon`]:{color:jt},[`${je}-node-content-wrapper`]:{color:jt,background:"transparent","&:before, &:hover:before":{background:Nt}}}}}},He=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Fe=(ze,je)=>({[`.${ze}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${je.motionDurationSlow}`}}}),de=(ze,je)=>({[`.${ze}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:je.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(je.lineWidthBold)} solid ${je.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ke=(ze,je)=>{const{treeCls:at,treeNodeCls:Nt,treeNodePadding:jt,titleHeight:se,indentSize:Oe,nodeSelectedBg:dt,nodeHoverBg:ht,colorTextQuaternary:Rt,controlItemBgActiveDisabled:_e}=je;return{[at]:Object.assign(Object.assign({},(0,ce.Wf)(je)),{background:je.colorBgContainer,borderRadius:je.borderRadius,transition:`background-color ${je.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${at}-rtl ${at}-switcher_close ${at}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${at}-active-focused)`]:Object.assign({},(0,ce.oN)(je)),[`${at}-list-holder-inner`]:{alignItems:"flex-start"},[`&${at}-block-node`]:{[`${at}-list-holder-inner`]:{alignItems:"stretch",[`${at}-node-content-wrapper`]:{flex:"auto"},[`${Nt}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${je.colorPrimary}`,opacity:0,animationName:He,animationDuration:je.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:je.borderRadius}}},[Nt]:{display:"flex",alignItems:"flex-start",marginBottom:jt,lineHeight:(0,b.unit)(se),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:jt},[`&-disabled ${at}-node-content-wrapper`]:{color:je.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${at}-checkbox-disabled + ${at}-node-selected,&${Nt}-disabled${Nt}-selected ${at}-node-content-wrapper`]:{backgroundColor:_e},[`${at}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Nt}-disabled)`]:{[`${at}-node-content-wrapper`]:{"&:hover":{color:je.nodeHoverColor}}},[`&-active ${at}-node-content-wrapper`]:{background:je.controlItemBgHover},[`&:not(${Nt}-disabled).filter-node ${at}-title`]:{color:je.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${at}-draggable-icon`]:{flexShrink:0,width:se,textAlign:"center",visibility:"visible",color:Rt},[`&${Nt}-disabled ${at}-draggable-icon`]:{visibility:"hidden"}}},[`${at}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Oe}},[`${at}-draggable-icon`]:{visibility:"hidden"},[`${at}-switcher, ${at}-checkbox`]:{marginInlineEnd:je.calc(je.calc(se).sub(je.controlInteractiveSize)).div(2).equal()},[`${at}-switcher`]:Object.assign(Object.assign({},Fe(ze,je)),{position:"relative",flex:"none",alignSelf:"stretch",width:se,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${je.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:se,height:se,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:je.borderRadius,transition:`all ${je.motionDurationSlow}`},[`&:not(${at}-switcher-noop):hover:before`]:{backgroundColor:je.colorBgTextHover},[`&_close ${at}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:je.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:je.calc(se).div(2).equal(),bottom:je.calc(jt).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${je.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:je.calc(je.calc(se).div(2).equal()).mul(.8).equal(),height:je.calc(se).div(2).equal(),borderBottom:`1px solid ${je.colorBorder}`,content:'""'}}}),[`${at}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:se,paddingBlock:0,paddingInline:je.paddingXS,background:"transparent",borderRadius:je.borderRadius,cursor:"pointer",transition:`all ${je.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},de(ze,je)),{"&:hover":{backgroundColor:ht},[`&${at}-node-selected`]:{color:je.nodeSelectedColor,backgroundColor:dt},[`${at}-iconEle`]:{display:"inline-block",width:se,height:se,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${at}-unselectable ${at}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Nt}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${je.colorPrimary}`},"&-show-line":{[`${at}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:je.calc(se).div(2).equal(),bottom:je.calc(jt).mul(-1).equal(),borderInlineEnd:`1px solid ${je.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${at}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Nt}-leaf-last ${at}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(je.calc(se).div(2).equal())} !important`}})}},be=function(ze,je){let at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Nt=`.${ze}`,jt=`${Nt}-treenode`,se=je.calc(je.paddingXS).div(2).equal(),Oe=(0,Me.mergeToken)(je,{treeCls:Nt,treeNodeCls:jt,treeNodePadding:se});return[Ke(ze,Oe),at&&Be(Oe)].filter(Boolean)},vt=ze=>{const{controlHeightSM:je,controlItemBgHover:at,controlItemBgActive:Nt}=ze,jt=je;return{titleHeight:jt,indentSize:jt,nodeHoverBg:at,nodeHoverColor:ze.colorText,nodeSelectedBg:Nt,nodeSelectedColor:ze.colorText}},et=ze=>{const{colorTextLightSolid:je,colorPrimary:at}=ze;return Object.assign(Object.assign({},vt(ze)),{directoryNodeSelectedColor:je,directoryNodeSelectedBg:at})};var $e=(0,Ce.I$)("Tree",(ze,je)=>{let{prefixCls:at}=je;return[{[ze.componentCls]:(0,xe.C2)(`${at}-checkbox`,ze)},be(at,ze),(0,nt.Z)(ze)]},et)},85278:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return je}});var b=z(59301),xe=z(54476),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"},nt=ce,Me=z(7657),Ce=function(Nt,jt){return b.createElement(Me.Z,(0,xe.Z)({},Nt,{ref:jt,icon:nt}))},Be=b.forwardRef(Ce),He=Be,Fe=z(52671),de=z(58617),Ke=z(15075),be=z(43531),vt=z(92310),et=z.n(vt),$e=z(22703),je=at=>{const{prefixCls:Nt,switcherIcon:jt,treeNodeProps:se,showLine:Oe,switcherLoadingIcon:dt}=at,{isLeaf:ht,expanded:Rt,loading:_e}=se;if(_e)return b.isValidElement(dt)?dt:b.createElement(de.Z,{className:`${Nt}-switcher-loading-icon`});let lt;if(Oe&&typeof Oe=="object"&&(lt=Oe.showLeafIcon),ht){if(!Oe)return null;if(typeof lt!="boolean"&&lt){const Te=typeof lt=="function"?lt(se):lt,we=`${Nt}-switcher-line-custom-icon`;return b.isValidElement(Te)?(0,$e.Tm)(Te,{className:et()(Te.props.className||"",we)}):Te}return lt?b.createElement(Fe.Z,{className:`${Nt}-switcher-line-icon`}):b.createElement("span",{className:`${Nt}-switcher-leaf-line`})}const ut=`${Nt}-switcher-icon`,Pe=typeof jt=="function"?jt(se):jt;return b.isValidElement(Pe)?(0,$e.Tm)(Pe,{className:et()(Pe.props.className||"",ut)}):Pe!==void 0?Pe:Oe?Rt?b.createElement(Ke.Z,{className:`${Nt}-switcher-line-icon`}):b.createElement(be.Z,{className:`${Nt}-switcher-line-icon`}):b.createElement(He,{className:ut})}},99498:function(Yn,dn,z){(function(b){b(z(89780))})(function(b){b.defineOption("placeholder","",function(He,Fe,de){var Ke=de&&de!=b.Init;if(Fe&&!Ke)He.on("blur",Me),He.on("change",Ce),He.on("swapDoc",Ce),b.on(He.getInputField(),"compositionupdate",He.state.placeholderCompose=function(){nt(He)}),Ce(He);else if(!Fe&&Ke){He.off("blur",Me),He.off("change",Ce),He.off("swapDoc",Ce),b.off(He.getInputField(),"compositionupdate",He.state.placeholderCompose),xe(He);var be=He.getWrapperElement();be.className=be.className.replace(" CodeMirror-empty","")}Fe&&!He.hasFocus()&&Me(He)});function xe(He){He.state.placeholder&&(He.state.placeholder.parentNode.removeChild(He.state.placeholder),He.state.placeholder=null)}function ce(He){xe(He);var Fe=He.state.placeholder=document.createElement("pre");Fe.style.cssText="height: 0; overflow: visible",Fe.style.direction=He.getOption("direction"),Fe.className="CodeMirror-placeholder CodeMirror-line-like";var de=He.getOption("placeholder");typeof de=="string"&&(de=document.createTextNode(de)),Fe.appendChild(de),He.display.lineSpace.insertBefore(Fe,He.display.lineSpace.firstChild)}function nt(He){setTimeout(function(){var Fe=!1,de=He.getInputField();de.nodeName=="TEXTAREA"?Fe=!de.value:He.lineCount()==1&&(Fe=!/[^\u200b]/.test(de.querySelector(".CodeMirror-line").textContent)),Fe?ce(He):xe(He)},20)}function Me(He){Be(He)&&ce(He)}function Ce(He){var Fe=He.getWrapperElement(),de=Be(He);Fe.className=Fe.className.replace(" CodeMirror-empty","")+(de?" CodeMirror-empty":""),de?ce(He):xe(He)}function Be(He){return He.lineCount()===1&&He.getLine(0)===""}})},25717:function(Yn,dn,z){(function(b){b(z(89780))})(function(b){var xe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ce=b.Pos;b.defineOption("autoCloseBrackets",!1,function($e,ze,je){je&&je!=b.Init&&($e.removeKeyMap(Me),$e.state.closeBrackets=null),ze&&(Ce(nt(ze,"pairs")),$e.state.closeBrackets=ze,$e.addKeyMap(Me))});function nt($e,ze){return ze=="pairs"&&typeof $e=="string"?$e:typeof $e=="object"&&$e[ze]!=null?$e[ze]:xe[ze]}var Me={Backspace:Fe,Enter:de};function Ce($e){for(var ze=0;ze<$e.length;ze++){var je=$e.charAt(ze),at="'"+je+"'";Me[at]||(Me[at]=Be(je))}}Ce(xe.pairs+"`");function Be($e){return function(ze){return be(ze,$e)}}function He($e){var ze=$e.state.closeBrackets;if(!ze||ze.override)return ze;var je=$e.getModeAt($e.getCursor());return je.closeBrackets||ze}function Fe($e){var ze=He($e);if(!ze||$e.getOption("disableInput"))return b.Pass;for(var je=nt(ze,"pairs"),at=$e.listSelections(),Nt=0;Nt<at.length;Nt++){if(!at[Nt].empty())return b.Pass;var jt=vt($e,at[Nt].head);if(!jt||je.indexOf(jt)%2!=0)return b.Pass}for(var Nt=at.length-1;Nt>=0;Nt--){var se=at[Nt].head;$e.replaceRange("",ce(se.line,se.ch-1),ce(se.line,se.ch+1),"+delete")}}function de($e){var ze=He($e),je=ze&&nt(ze,"explode");if(!je||$e.getOption("disableInput"))return b.Pass;for(var at=$e.listSelections(),Nt=0;Nt<at.length;Nt++){if(!at[Nt].empty())return b.Pass;var jt=vt($e,at[Nt].head);if(!jt||je.indexOf(jt)%2!=0)return b.Pass}$e.operation(function(){var se=$e.lineSeparator()||`
`;$e.replaceSelection(se+se,null),$e.execCommand("goCharLeft"),at=$e.listSelections();for(var Oe=0;Oe<at.length;Oe++){var dt=at[Oe].head.line;$e.indentLine(dt,null,!0),$e.indentLine(dt+1,null,!0)}})}function Ke($e){var ze=b.cmpPos($e.anchor,$e.head)>0;return{anchor:new ce($e.anchor.line,$e.anchor.ch+(ze?-1:1)),head:new ce($e.head.line,$e.head.ch+(ze?1:-1))}}function be($e,ze){var je=He($e);if(!je||$e.getOption("disableInput"))return b.Pass;var at=nt(je,"pairs"),Nt=at.indexOf(ze);if(Nt==-1)return b.Pass;for(var jt=nt(je,"closeBefore"),se=nt(je,"triples"),Oe=at.charAt(Nt+1)==ze,dt=$e.listSelections(),ht=Nt%2==0,Rt,_e=0;_e<dt.length;_e++){var lt=dt[_e],ut=lt.head,Pe,Te=$e.getRange(ut,ce(ut.line,ut.ch+1));if(ht&&!lt.empty())Pe="surround";else if((Oe||!ht)&&Te==ze)Oe&&et($e,ut)?Pe="both":se.indexOf(ze)>=0&&$e.getRange(ut,ce(ut.line,ut.ch+3))==ze+ze+ze?Pe="skipThree":Pe="skip";else if(Oe&&ut.ch>1&&se.indexOf(ze)>=0&&$e.getRange(ce(ut.line,ut.ch-2),ut)==ze+ze){if(ut.ch>2&&/\bstring/.test($e.getTokenTypeAt(ce(ut.line,ut.ch-2))))return b.Pass;Pe="addFour"}else if(Oe){var we=ut.ch==0?" ":$e.getRange(ce(ut.line,ut.ch-1),ut);if(!b.isWordChar(Te)&&we!=ze&&!b.isWordChar(we))Pe="both";else return b.Pass}else if(ht&&(Te.length===0||/\s/.test(Te)||jt.indexOf(Te)>-1))Pe="both";else return b.Pass;if(!Rt)Rt=Pe;else if(Rt!=Pe)return b.Pass}var me=Nt%2?at.charAt(Nt-1):ze,Ot=Nt%2?ze:at.charAt(Nt+1);$e.operation(function(){if(Rt=="skip")$e.execCommand("goCharRight");else if(Rt=="skipThree")for(var We=0;We<3;We++)$e.execCommand("goCharRight");else if(Rt=="surround"){for(var Xe=$e.getSelections(),We=0;We<Xe.length;We++)Xe[We]=me+Xe[We]+Ot;$e.replaceSelections(Xe,"around"),Xe=$e.listSelections().slice();for(var We=0;We<Xe.length;We++)Xe[We]=Ke(Xe[We]);$e.setSelections(Xe)}else Rt=="both"?($e.replaceSelection(me+Ot,null),$e.triggerElectric(me+Ot),$e.execCommand("goCharLeft")):Rt=="addFour"&&($e.replaceSelection(me+me+me+me,"before"),$e.execCommand("goCharRight"))})}function vt($e,ze){var je=$e.getRange(ce(ze.line,ze.ch-1),ce(ze.line,ze.ch+1));return je.length==2?je:null}function et($e,ze){var je=$e.getTokenAt(ce(ze.line,ze.ch+1));return/\bstring/.test(je.type)&&je.start==ze.ch&&(ze.ch==0||!/\bstring/.test($e.getTokenTypeAt(ze)))}})},6313:function(Yn,dn,z){(function(b){b(z(89780),z(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(Fe,de,Ke){if(Ke!=b.Init&&Ke&&Fe.removeKeyMap("autoCloseTags"),!!de){var be={name:"autoCloseTags"};(typeof de!="object"||de.whenClosing!==!1)&&(be["'/'"]=function(vt){return Ce(vt)}),(typeof de!="object"||de.whenOpening!==!1)&&(be["'>'"]=function(vt){return nt(vt)}),Fe.addKeyMap(be)}});var xe=["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 nt(Fe){if(Fe.getOption("disableInput"))return b.Pass;for(var de=Fe.listSelections(),Ke=[],be=Fe.getOption("autoCloseTags"),vt=0;vt<de.length;vt++){if(!de[vt].empty())return b.Pass;var et=de[vt].head,$e=Fe.getTokenAt(et),ze=b.innerMode(Fe.getMode(),$e.state),je=ze.state,at=ze.mode.xmlCurrentTag&&ze.mode.xmlCurrentTag(je),Nt=at&&at.name;if(!Nt)return b.Pass;var jt=ze.mode.configuration=="html",se=typeof be=="object"&&be.dontCloseTags||jt&&xe,Oe=typeof be=="object"&&be.indentTags||jt&&ce;$e.end>et.ch&&(Nt=Nt.slice(0,Nt.length-$e.end+et.ch));var dt=Nt.toLowerCase();if(!Nt||$e.type=="string"&&($e.end!=et.ch||!/[\"\']/.test($e.string.charAt($e.string.length-1))||$e.string.length==1)||$e.type=="tag"&&at.close||$e.string.indexOf("/")==et.ch-$e.start-1||se&&Be(se,dt)>-1||He(Fe,ze.mode.xmlCurrentContext&&ze.mode.xmlCurrentContext(je)||[],Nt,et,!0))return b.Pass;var ht=typeof be=="object"&&be.emptyTags;if(ht&&Be(ht,Nt)>-1){Ke[vt]={text:"/>",newPos:b.Pos(et.line,et.ch+2)};continue}var Rt=Oe&&Be(Oe,dt)>-1;Ke[vt]={indent:Rt,text:">"+(Rt?`
`:"")+"</"+Nt+">",newPos:Rt?b.Pos(et.line+1,0):b.Pos(et.line,et.ch+1)}}for(var _e=typeof be=="object"&&be.dontIndentOnAutoClose,vt=de.length-1;vt>=0;vt--){var lt=Ke[vt];Fe.replaceRange(lt.text,de[vt].head,de[vt].anchor,"+insert");var ut=Fe.listSelections().slice(0);ut[vt]={head:lt.newPos,anchor:lt.newPos},Fe.setSelections(ut),!_e&&lt.indent&&(Fe.indentLine(lt.newPos.line,null,!0),Fe.indentLine(lt.newPos.line+1,null,!0))}}function Me(Fe,de){for(var Ke=Fe.listSelections(),be=[],vt=de?"/":"</",et=Fe.getOption("autoCloseTags"),$e=typeof et=="object"&&et.dontIndentOnSlash,ze=0;ze<Ke.length;ze++){if(!Ke[ze].empty())return b.Pass;var je=Ke[ze].head,at=Fe.getTokenAt(je),Nt=b.innerMode(Fe.getMode(),at.state),jt=Nt.state;if(de&&(at.type=="string"||at.string.charAt(0)!="<"||at.start!=je.ch-1))return b.Pass;var se,Oe=Nt.mode.name!="xml"&&Fe.getMode().name=="htmlmixed";if(Oe&&Nt.mode.name=="javascript")se=vt+"script";else if(Oe&&Nt.mode.name=="css")se=vt+"style";else{var dt=Nt.mode.xmlCurrentContext&&Nt.mode.xmlCurrentContext(jt);if(!dt||dt.length&&He(Fe,dt,dt[dt.length-1],je))return b.Pass;se=vt+dt[dt.length-1]}Fe.getLine(je.line).charAt(at.end)!=">"&&(se+=">"),be[ze]=se}if(Fe.replaceSelections(be),Ke=Fe.listSelections(),!$e)for(var ze=0;ze<Ke.length;ze++)(ze==Ke.length-1||Ke[ze].head.line<Ke[ze+1].head.line)&&Fe.indentLine(Ke[ze].head.line)}function Ce(Fe){return Fe.getOption("disableInput")?b.Pass:Me(Fe,!0)}b.commands.closeTag=function(Fe){return Me(Fe)};function Be(Fe,de){if(Fe.indexOf)return Fe.indexOf(de);for(var Ke=0,be=Fe.length;Ke<be;++Ke)if(Fe[Ke]==de)return Ke;return-1}function He(Fe,de,Ke,be,vt){if(!b.scanForClosingTag)return!1;var et=Math.min(Fe.lastLine()+1,be.line+500),$e=b.scanForClosingTag(Fe,be,null,et);if(!$e||$e.tag!=Ke)return!1;for(var ze=vt?1:0,je=de.length-1;je>=0&&de[je]==Ke;je--)++ze;be=$e.to;for(var je=1;je<ze;je++){var at=b.scanForClosingTag(Fe,be,null,et);if(!at||at.tag!=Ke)return!1;be=at.to}return!0}})},32855:function(Yn,dn,z){(function(b){b(z(89780))})(function(b){"use strict";var xe=b.Pos;function ce(je,at){return je.line-at.line||je.ch-at.ch}var nt="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",Me=nt+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ce=new RegExp("<(/?)(["+nt+"]["+Me+"]*)","g");function Be(je,at,Nt,jt){this.line=at,this.ch=Nt,this.cm=je,this.text=je.getLine(at),this.min=jt?Math.max(jt.from,je.firstLine()):je.firstLine(),this.max=jt?Math.min(jt.to-1,je.lastLine()):je.lastLine()}function He(je,at){var Nt=je.cm.getTokenTypeAt(xe(je.line,at));return Nt&&/\btag\b/.test(Nt)}function Fe(je){if(!(je.line>=je.max))return je.ch=0,je.text=je.cm.getLine(++je.line),!0}function de(je){if(!(je.line<=je.min))return je.text=je.cm.getLine(--je.line),je.ch=je.text.length,!0}function Ke(je){for(;;){var at=je.text.indexOf(">",je.ch);if(at==-1){if(Fe(je))continue;return}if(!He(je,at+1)){je.ch=at+1;continue}var Nt=je.text.lastIndexOf("/",at),jt=Nt>-1&&!/\S/.test(je.text.slice(Nt+1,at));return je.ch=at+1,jt?"selfClose":"regular"}}function be(je){for(;;){var at=je.ch?je.text.lastIndexOf("<",je.ch-1):-1;if(at==-1){if(de(je))continue;return}if(!He(je,at+1)){je.ch=at;continue}Ce.lastIndex=at,je.ch=at;var Nt=Ce.exec(je.text);if(Nt&&Nt.index==at)return Nt}}function vt(je){for(;;){Ce.lastIndex=je.ch;var at=Ce.exec(je.text);if(!at){if(Fe(je))continue;return}if(!He(je,at.index+1)){je.ch=at.index+1;continue}return je.ch=at.index+at[0].length,at}}function et(je){for(;;){var at=je.ch?je.text.lastIndexOf(">",je.ch-1):-1;if(at==-1){if(de(je))continue;return}if(!He(je,at+1)){je.ch=at;continue}var Nt=je.text.lastIndexOf("/",at),jt=Nt>-1&&!/\S/.test(je.text.slice(Nt+1,at));return je.ch=at+1,jt?"selfClose":"regular"}}function $e(je,at){for(var Nt=[];;){var jt=vt(je),se,Oe=je.line,dt=je.ch-(jt?jt[0].length:0);if(!jt||!(se=Ke(je)))return;if(se!="selfClose")if(jt[1]){for(var ht=Nt.length-1;ht>=0;--ht)if(Nt[ht]==jt[2]){Nt.length=ht;break}if(ht<0&&(!at||at==jt[2]))return{tag:jt[2],from:xe(Oe,dt),to:xe(je.line,je.ch)}}else Nt.push(jt[2])}}function ze(je,at){for(var Nt=[];;){var jt=et(je);if(!jt)return;if(jt=="selfClose"){be(je);continue}var se=je.line,Oe=je.ch,dt=be(je);if(!dt)return;if(dt[1])Nt.push(dt[2]);else{for(var ht=Nt.length-1;ht>=0;--ht)if(Nt[ht]==dt[2]){Nt.length=ht;break}if(ht<0&&(!at||at==dt[2]))return{tag:dt[2],from:xe(je.line,je.ch),to:xe(se,Oe)}}}}b.registerHelper("fold","xml",function(je,at){for(var Nt=new Be(je,at.line,0);;){var jt=vt(Nt);if(!jt||Nt.line!=at.line)return;var se=Ke(Nt);if(!se)return;if(!jt[1]&&se!="selfClose"){var Oe=xe(Nt.line,Nt.ch),dt=$e(Nt,jt[2]);return dt&&ce(dt.from,Oe)>0?{from:Oe,to:dt.from}:null}}}),b.findMatchingTag=function(je,at,Nt){var jt=new Be(je,at.line,at.ch,Nt);if(!(jt.text.indexOf(">")==-1&&jt.text.indexOf("<")==-1)){var se=Ke(jt),Oe=se&&xe(jt.line,jt.ch),dt=se&&be(jt);if(!(!se||!dt||ce(jt,at)>0)){var ht={from:xe(jt.line,jt.ch),to:Oe,tag:dt[2]};return se=="selfClose"?{open:ht,close:null,at:"open"}:dt[1]?{open:ze(jt,dt[2]),close:ht,at:"close"}:(jt=new Be(je,Oe.line,Oe.ch,Nt),{open:ht,close:$e(jt,dt[2]),at:"open"})}}},b.findEnclosingTag=function(je,at,Nt,jt){for(var se=new Be(je,at.line,at.ch,Nt);;){var Oe=ze(se,jt);if(!Oe)break;var dt=new Be(je,at.line,at.ch,Nt),ht=$e(dt,Oe.tag);if(ht)return{open:Oe,close:ht}}},b.scanForClosingTag=function(je,at,Nt,jt){var se=new Be(je,at.line,at.ch,jt?{from:0,to:jt}:null);return $e(se,Nt)}})},89780:function(Yn){(function(dn,z){Yn.exports=z()})(this,function(){"use strict";var dn=navigator.userAgent,z=navigator.platform,b=/gecko\/\d/i.test(dn),xe=/MSIE \d/.test(dn),ce=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(dn),nt=/Edge\/(\d+)/.exec(dn),Me=xe||ce||nt,Ce=Me&&(xe?document.documentMode||6:+(nt||ce)[1]),Be=!nt&&/WebKit\//.test(dn),He=Be&&/Qt\/\d+\.\d+/.test(dn),Fe=!nt&&/Chrome\//.test(dn),de=/Opera\//.test(dn),Ke=/Apple Computer/.test(navigator.vendor),be=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(dn),vt=/PhantomJS/.test(dn),et=!nt&&/AppleWebKit/.test(dn)&&/Mobile\/\w+/.test(dn),$e=/Android/.test(dn),ze=et||$e||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(dn),je=et||/Mac/.test(z),at=/\bCrOS\b/.test(dn),Nt=/win/i.test(z),jt=de&&dn.match(/Version\/(\d*\.\d*)/);jt&&(jt=Number(jt[1])),jt&&jt>=15&&(de=!1,Be=!0);var se=je&&(He||de&&(jt==null||jt<12.11)),Oe=b||Me&&Ce>=9;function dt(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var ht=function(a,y){var E=a.className,x=dt(y).exec(E);if(x){var ee=E.slice(x.index+x[0].length);a.className=E.slice(0,x.index)+(ee?x[1]+ee:"")}};function Rt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function _e(a,y){return Rt(a).appendChild(y)}function lt(a,y,E,x){var ee=document.createElement(a);if(E&&(ee.className=E),x&&(ee.style.cssText=x),typeof y=="string")ee.appendChild(document.createTextNode(y));else if(y)for(var ie=0;ie<y.length;++ie)ee.appendChild(y[ie]);return ee}function ut(a,y,E,x){var ee=lt(a,y,E,x);return ee.setAttribute("role","presentation"),ee}var Pe;document.createRange?Pe=function(a,y,E,x){var ee=document.createRange();return ee.setEnd(x||a,E),ee.setStart(a,y),ee}:Pe=function(a,y,E){var x=document.body.createTextRange();try{x.moveToElementText(a.parentNode)}catch(ee){return x}return x.collapse(!0),x.moveEnd("character",E),x.moveStart("character",y),x};function Te(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function we(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function me(a,y){var E=a.className;dt(y).test(E)||(a.className+=(E?" ":"")+y)}function Ot(a,y){for(var E=a.split(" "),x=0;x<E.length;x++)E[x]&&!dt(E[x]).test(y)&&(y+=" "+E[x]);return y}var We=function(a){a.select()};et?We=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Me&&(We=function(a){try{a.select()}catch(y){}});function Xe(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Xt(a,y,E){y||(y={});for(var x in a)a.hasOwnProperty(x)&&(E!==!1||!y.hasOwnProperty(x))&&(y[x]=a[x]);return y}function Se(a,y,E,x,ee){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var ie=x||0,fe=ee||0;;){var Ae=a.indexOf(" ",ie);if(Ae<0||Ae>=y)return fe+(y-ie);fe+=Ae-ie,fe+=E-fe%E,ie=Ae+1}}var ve=function(){this.id=null,this.f=null,this.time=0,this.handler=Xe(this.onTimeout,this)};ve.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},ve.prototype.set=function(a,y){this.f=y;var E=+new Date+a;(!this.id||E<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=E)};function Mt(a,y){for(var E=0;E<a.length;++E)if(a[E]==y)return E;return-1}var Jt=50,Zt={toString:function(){return"CodeMirror.Pass"}},pe={scroll:!1},Re={origin:"*mouse"},Ue={origin:"+move"};function tn(a,y,E){for(var x=0,ee=0;;){var ie=a.indexOf(" ",x);ie==-1&&(ie=a.length);var fe=ie-x;if(ie==a.length||ee+fe>=y)return x+Math.min(fe,y-ee);if(ee+=ie-x,ee+=E-ee%E,x=ie+1,ee>=y)return x}}var rt=[""];function Kt(a){for(;rt.length<=a;)rt.push(ct(rt)+" ");return rt[a]}function ct(a){return a[a.length-1]}function fn(a,y){for(var E=[],x=0;x<a.length;x++)E[x]=y(a[x],x);return E}function xt(a,y,E){for(var x=0,ee=E(y);x<a.length&&E(a[x])<=ee;)x++;a.splice(x,0,y)}function le(){}function ne(a,y){var E;return Object.create?E=Object.create(a):(le.prototype=a,E=new le),y&&Xt(y,E),E}var te=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ae(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||te.test(a))}function he(a,y){return y?y.source.indexOf("\\w")>-1&&ae(a)?!0:y.test(a):ae(a)}function re(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var ue=/[\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 De(a){return a.charCodeAt(0)>=768&&ue.test(a)}function st(a,y,E){for(;(E<0?y>0:y<a.length)&&De(a.charAt(y));)y+=E;return y}function Qe(a,y,E){for(var x=y>E?-1:1;;){if(y==E)return y;var ee=(y+E)/2,ie=x<0?Math.ceil(ee):Math.floor(ee);if(ie==y)return a(ie)?y:E;a(ie)?E=ie:y=ie+x}}function Ie(a,y,E,x){if(!a)return x(y,E,"ltr",0);for(var ee=!1,ie=0;ie<a.length;++ie){var fe=a[ie];(fe.from<E&&fe.to>y||y==E&&fe.to==y)&&(x(Math.max(fe.from,y),Math.min(fe.to,E),fe.level==1?"rtl":"ltr",ie),ee=!0)}ee||x(y,E,"ltr")}var mt=null;function Et(a,y,E){var x;mt=null;for(var ee=0;ee<a.length;++ee){var ie=a[ee];if(ie.from<y&&ie.to>y)return ee;ie.to==y&&(ie.from!=ie.to&&E=="before"?x=ee:mt=ee),ie.from==y&&(ie.from!=ie.to&&E!="before"?x=ee:mt=ee)}return x!=null?x:mt}var Tt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function E(qe){return qe<=247?a.charAt(qe):1424<=qe&&qe<=1524?"R":1536<=qe&&qe<=1785?y.charAt(qe-1536):1774<=qe&&qe<=2220?"r":8192<=qe&&qe<=8203?"w":qe==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ee=/[stwN]/,ie=/[LRr]/,fe=/[Lb1n]/,Ae=/[1n]/;function Ne(qe,gn,Mn){this.level=qe,this.from=gn,this.to=Mn}return function(qe,gn){var Mn=gn=="ltr"?"L":"R";if(qe.length==0||gn=="ltr"&&!x.test(qe))return!1;for(var lr=qe.length,ir=[],Zr=0;Zr<lr;++Zr)ir.push(E(qe.charCodeAt(Zr)));for(var si=0,Di=Mn;si<lr;++si){var zi=ir[si];zi=="m"?ir[si]=Di:Di=zi}for(var ao=0,ji=Mn;ao<lr;++ao){var fo=ir[ao];fo=="1"&&ji=="r"?ir[ao]="n":ie.test(fo)&&(ji=fo,fo=="r"&&(ir[ao]="R"))}for(var No=1,Po=ir[0];No<lr-1;++No){var ta=ir[No];ta=="+"&&Po=="1"&&ir[No+1]=="1"?ir[No]="1":ta==","&&Po==ir[No+1]&&(Po=="1"||Po=="n")&&(ir[No]=Po),Po=ta}for(var Va=0;Va<lr;++Va){var Ol=ir[Va];if(Ol==",")ir[Va]="N";else if(Ol=="%"){var ll=void 0;for(ll=Va+1;ll<lr&&ir[ll]=="%";++ll);for(var $l=Va&&ir[Va-1]=="!"||ll<lr&&ir[ll]=="1"?"1":"N",Vl=Va;Vl<ll;++Vl)ir[Vl]=$l;Va=ll-1}}for(var bl=0,Kl=Mn;bl<lr;++bl){var Tl=ir[bl];Kl=="L"&&Tl=="1"?ir[bl]="L":ie.test(Tl)&&(Kl=Tl)}for(var Sl=0;Sl<lr;++Sl)if(ee.test(ir[Sl])){var Cl=void 0;for(Cl=Sl+1;Cl<lr&&ee.test(ir[Cl]);++Cl);for(var sl=(Sl?ir[Sl-1]:Mn)=="L",Ul=(Cl<lr?ir[Cl]:Mn)=="L",qs=sl==Ul?sl?"L":"R":Mn,ks=Sl;ks<Cl;++ks)ir[ks]=qs;Sl=Cl-1}for(var Zl=[],bs,Ml=0;Ml<lr;)if(fe.test(ir[Ml])){var ku=Ml;for(++Ml;Ml<lr&&fe.test(ir[Ml]);++Ml);Zl.push(new Ne(0,ku,Ml))}else{var As=Ml,Ks=Zl.length,Us=gn=="rtl"?1:0;for(++Ml;Ml<lr&&ir[Ml]!="L";++Ml);for(var zl=As;zl<Ml;)if(Ae.test(ir[zl])){As<zl&&(Zl.splice(Ks,0,new Ne(1,As,zl)),Ks+=Us);var eu=zl;for(++zl;zl<Ml&&Ae.test(ir[zl]);++zl);Zl.splice(Ks,0,new Ne(2,eu,zl)),Ks+=Us,As=zl}else++zl;As<Ml&&Zl.splice(Ks,0,new Ne(1,As,Ml))}return gn=="ltr"&&(Zl[0].level==1&&(bs=qe.match(/^\s+/))&&(Zl[0].from=bs[0].length,Zl.unshift(new Ne(0,0,bs[0].length))),ct(Zl).level==1&&(bs=qe.match(/\s+$/))&&(ct(Zl).to-=bs[0].length,Zl.push(new Ne(0,lr-bs[0].length,lr)))),gn=="rtl"?Zl.reverse():Zl}}();function Le(a,y){var E=a.order;return E==null&&(E=a.order=Tt(a.text,y)),E}var Ye=[],vn=function(a,y,E){if(a.addEventListener)a.addEventListener(y,E,!1);else if(a.attachEvent)a.attachEvent("on"+y,E);else{var x=a._handlers||(a._handlers={});x[y]=(x[y]||Ye).concat(E)}};function Ht(a,y){return a._handlers&&a._handlers[y]||Ye}function Cn(a,y,E){if(a.removeEventListener)a.removeEventListener(y,E,!1);else if(a.detachEvent)a.detachEvent("on"+y,E);else{var x=a._handlers,ee=x&&x[y];if(ee){var ie=Mt(ee,E);ie>-1&&(x[y]=ee.slice(0,ie).concat(ee.slice(ie+1)))}}}function un(a,y){var E=Ht(a,y);if(E.length)for(var x=Array.prototype.slice.call(arguments,2),ee=0;ee<E.length;++ee)E[ee].apply(null,x)}function Ut(a,y,E){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),un(a,E||y.type,a,y),Ct(y)||y.codemirrorIgnore}function on(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var E=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),x=0;x<y.length;++x)Mt(E,y[x])==-1&&E.push(y[x])}function mn(a,y){return Ht(a,y).length>0}function ft(a){a.prototype.on=function(y,E){vn(this,y,E)},a.prototype.off=function(y,E){Cn(this,y,E)}}function Vt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function yn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Ct(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Je(a){Vt(a),yn(a)}function Wt(a){return a.target||a.srcElement}function qt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),je&&a.ctrlKey&&y==1&&(y=3),y}var ln=function(){if(Me&&Ce<9)return!1;var a=lt("div");return"draggable"in a||"dragDrop"in a}(),Zn;function qn(a){if(Zn==null){var y=lt("span","\u200B");_e(a,lt("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Zn=y.offsetWidth<=1&&y.offsetHeight>2&&!(Me&&Ce<8))}var E=Zn?lt("span","\u200B"):lt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return E.setAttribute("cm-text",""),E}var mr;function vr(a){if(mr!=null)return mr;var y=_e(a,document.createTextNode("A\u062EA")),E=Pe(y,0,1).getBoundingClientRect(),x=Pe(y,1,2).getBoundingClientRect();return Rt(a),!E||E.left==E.right?!1:mr=x.right-E.right<3}var _n=`
b`.split(/\n/).length!=3?function(a){for(var y=0,E=[],x=a.length;y<=x;){var ee=a.indexOf(`
`,y);ee==-1&&(ee=a.length);var ie=a.slice(y,a.charAt(ee-1)=="\r"?ee-1:ee),fe=ie.indexOf("\r");fe!=-1?(E.push(ie.slice(0,fe)),y+=fe+1):(E.push(ie),y=ee+1)}return E}:function(a){return a.split(/\r\n?|\n/)},dr=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(E){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Qt=function(){var a=lt("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),En=null;function pn(a){if(En!=null)return En;var y=_e(a,lt("span","x")),E=y.getBoundingClientRect(),x=Pe(y,0,1).getBoundingClientRect();return En=Math.abs(E.left-x.left)>1}var xn={},sn={};function Fn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),xn[a]=y}function St(a,y){sn[a]=y}function Sn(a){if(typeof a=="string"&&sn.hasOwnProperty(a))a=sn[a];else if(a&&typeof a.name=="string"&&sn.hasOwnProperty(a.name)){var y=sn[a.name];typeof y=="string"&&(y={name:y}),a=ne(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Sn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Sn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Bt(a,y){y=Sn(y);var E=xn[y.name];if(!E)return Bt(a,"text/plain");var x=E(a,y);if(hn.hasOwnProperty(y.name)){var ee=hn[y.name];for(var ie in ee)ee.hasOwnProperty(ie)&&(x.hasOwnProperty(ie)&&(x["_"+ie]=x[ie]),x[ie]=ee[ie])}if(x.name=y.name,y.helperType&&(x.helperType=y.helperType),y.modeProps)for(var fe in y.modeProps)x[fe]=y.modeProps[fe];return x}var hn={};function An(a,y){var E=hn.hasOwnProperty(a)?hn[a]:hn[a]={};Xt(y,E)}function On(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var E={};for(var x in y){var ee=y[x];ee instanceof Array&&(ee=ee.concat([])),E[x]=ee}return E}function Ln(a,y){for(var E;a.innerMode&&(E=a.innerMode(y),!(!E||E.mode==a));)y=E.state,a=E.mode;return E||{mode:a,state:y}}function nr(a,y,E){return a.startState?a.startState(y,E):!0}var Xn=function(a,y,E){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=E};Xn.prototype.eol=function(){return this.pos>=this.string.length},Xn.prototype.sol=function(){return this.pos==this.lineStart},Xn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Xn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Xn.prototype.eat=function(a){var y=this.string.charAt(this.pos),E;if(typeof a=="string"?E=y==a:E=y&&(a.test?a.test(y):a(y)),E)return++this.pos,y},Xn.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Xn.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Xn.prototype.skipToEnd=function(){this.pos=this.string.length},Xn.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Xn.prototype.backUp=function(a){this.pos-=a},Xn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Se(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Se(this.string,this.lineStart,this.tabSize):0)},Xn.prototype.indentation=function(){return Se(this.string,null,this.tabSize)-(this.lineStart?Se(this.string,this.lineStart,this.tabSize):0)},Xn.prototype.match=function(a,y,E){if(typeof a=="string"){var x=function(fe){return E?fe.toLowerCase():fe},ee=this.string.substr(this.pos,a.length);if(x(ee)==x(a))return y!==!1&&(this.pos+=a.length),!0}else{var ie=this.string.slice(this.pos).match(a);return ie&&ie.index>0?null:(ie&&y!==!1&&(this.pos+=ie[0].length),ie)}},Xn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Xn.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Xn.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Xn.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function nn(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var E=a;!E.lines;)for(var x=0;;++x){var ee=E.children[x],ie=ee.chunkSize();if(y<ie){E=ee;break}y-=ie}return E.lines[y]}function Pn(a,y,E){var x=[],ee=y.line;return a.iter(y.line,E.line+1,function(ie){var fe=ie.text;ee==E.line&&(fe=fe.slice(0,E.ch)),ee==y.line&&(fe=fe.slice(y.ch)),x.push(fe),++ee}),x}function en(a,y,E){var x=[];return a.iter(y,E,function(ee){x.push(ee.text)}),x}function er(a,y){var E=y-a.height;if(E)for(var x=a;x;x=x.parent)x.height+=E}function Dt(a){if(a.parent==null)return null;for(var y=a.parent,E=Mt(y.lines,a),x=y.parent;x;y=x,x=x.parent)for(var ee=0;x.children[ee]!=y;++ee)E+=x.children[ee].chunkSize();return E+y.first}function Gt(a,y){var E=a.first;e:do{for(var x=0;x<a.children.length;++x){var ee=a.children[x],ie=ee.height;if(y<ie){a=ee;continue e}y-=ie,E+=ee.chunkSize()}return E}while(!a.lines);for(var fe=0;fe<a.lines.length;++fe){var Ae=a.lines[fe],Ne=Ae.height;if(y<Ne)break;y-=Ne}return E+fe}function Ze(a,y){return y>=a.first&&y<a.first+a.size}function gt(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Ve(a,y,E){if(E===void 0&&(E=null),!(this instanceof Ve))return new Ve(a,y,E);this.line=a,this.ch=y,this.sticky=E}function yt(a,y){return a.line-y.line||a.ch-y.ch}function _t(a,y){return a.sticky==y.sticky&&yt(a,y)==0}function rr(a){return Ve(a.line,a.ch)}function ar(a,y){return yt(a,y)<0?y:a}function pt(a,y){return yt(a,y)<0?a:y}function bt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Pt(a,y){if(y.line<a.first)return Ve(a.first,0);var E=a.first+a.size-1;return y.line>E?Ve(E,nn(a,E).text.length):zt(y,nn(a,y.line).text.length)}function zt(a,y){var E=a.ch;return E==null||E>y?Ve(a.line,y):E<0?Ve(a.line,0):a}function Bn(a,y){for(var E=[],x=0;x<y.length;x++)E[x]=Pt(a,y[x]);return E}var Hn=function(a,y){this.state=a,this.lookAhead=y},Rn=function(a,y,E,x){this.state=y,this.doc=a,this.line=E,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};Rn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Rn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Rn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Rn.fromSaved=function(a,y,E){return y instanceof Hn?new Rn(a,On(a.mode,y.state),E,y.lookAhead):new Rn(a,On(a.mode,y),E)},Rn.prototype.save=function(a){var y=a!==!1?On(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Hn(y,this.maxLookAhead):y};function Un(a,y,E,x){var ee=[a.state.modeGen],ie={};Xr(a,y.text,a.doc.mode,E,function(qe,gn){return ee.push(qe,gn)},ie,x);for(var fe=E.state,Ae=function(qe){E.baseTokens=ee;var gn=a.state.overlays[qe],Mn=1,lr=0;E.state=!0,Xr(a,y.text,gn.mode,E,function(ir,Zr){for(var si=Mn;lr<ir;){var Di=ee[Mn];Di>ir&&ee.splice(Mn,1,ir,ee[Mn+1],Di),Mn+=2,lr=Math.min(ir,Di)}if(Zr)if(gn.opaque)ee.splice(si,Mn-si,ir,"overlay "+Zr),Mn=si+2;else for(;si<Mn;si+=2){var zi=ee[si+1];ee[si+1]=(zi?zi+" ":"")+"overlay "+Zr}},ie),E.state=fe,E.baseTokens=null,E.baseTokenPos=1},Ne=0;Ne<a.state.overlays.length;++Ne)Ae(Ne);return{styles:ee,classes:ie.bgClass||ie.textClass?ie:null}}function pr(a,y,E){if(!y.styles||y.styles[0]!=a.state.modeGen){var x=Ar(a,Dt(y)),ee=y.text.length>a.options.maxHighlightLength&&On(a.doc.mode,x.state),ie=Un(a,y,x);ee&&(x.state=ee),y.stateAfter=x.save(!ee),y.styles=ie.styles,ie.classes?y.styleClasses=ie.classes:y.styleClasses&&(y.styleClasses=null),E===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function Ar(a,y,E){var x=a.doc,ee=a.display;if(!x.mode.startState)return new Rn(x,!0,y);var ie=mi(a,y,E),fe=ie>x.first&&nn(x,ie-1).stateAfter,Ae=fe?Rn.fromSaved(x,fe,ie):new Rn(x,nr(x.mode),ie);return x.iter(ie,y,function(Ne){Vr(a,Ne.text,Ae);var qe=Ae.line;Ne.stateAfter=qe==y-1||qe%5==0||qe>=ee.viewFrom&&qe<ee.viewTo?Ae.save():null,Ae.nextLine()}),E&&(x.modeFrontier=Ae.line),Ae}function Vr(a,y,E,x){var ee=a.doc.mode,ie=new Xn(y,a.options.tabSize,E);for(ie.start=ie.pos=x||0,y==""&&Br(ee,E.state);!ie.eol();)fr(ee,ie,E.state),ie.start=ie.pos}function Br(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var E=Ln(a,y);if(E.mode.blankLine)return E.mode.blankLine(E.state)}}function fr(a,y,E,x){for(var ee=0;ee<10;ee++){x&&(x[0]=Ln(a,E).mode);var ie=a.token(y,E);if(y.pos>y.start)return ie}throw new Error("Mode "+a.name+" failed to advance stream.")}var Pr=function(a,y,E){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=E};function kr(a,y,E,x){var ee=a.doc,ie=ee.mode,fe;y=Pt(ee,y);var Ae=nn(ee,y.line),Ne=Ar(a,y.line,E),qe=new Xn(Ae.text,a.options.tabSize,Ne),gn;for(x&&(gn=[]);(x||qe.pos<y.ch)&&!qe.eol();)qe.start=qe.pos,fe=fr(ie,qe,Ne.state),x&&gn.push(new Pr(qe,fe,On(ee.mode,Ne.state)));return x?gn:new Pr(qe,fe,Ne.state)}function $r(a,y){if(a)for(;;){var E=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!E)break;a=a.slice(0,E.index)+a.slice(E.index+E[0].length);var x=E[1]?"bgClass":"textClass";y[x]==null?y[x]=E[2]:new RegExp("(?:^|\\s)"+E[2]+"(?:$|\\s)").test(y[x])||(y[x]+=" "+E[2])}return a}function Xr(a,y,E,x,ee,ie,fe){var Ae=E.flattenSpans;Ae==null&&(Ae=a.options.flattenSpans);var Ne=0,qe=null,gn=new Xn(y,a.options.tabSize,x),Mn,lr=a.options.addModeClass&&[null];for(y==""&&$r(Br(E,x.state),ie);!gn.eol();){if(gn.pos>a.options.maxHighlightLength?(Ae=!1,fe&&Vr(a,y,x,gn.pos),gn.pos=y.length,Mn=null):Mn=$r(fr(E,gn,x.state,lr),ie),lr){var ir=lr[0].name;ir&&(Mn="m-"+(Mn?ir+" "+Mn:ir))}if(!Ae||qe!=Mn){for(;Ne<gn.start;)Ne=Math.min(gn.start,Ne+5e3),ee(Ne,qe);qe=Mn}gn.start=gn.pos}for(;Ne<gn.pos;){var Zr=Math.min(gn.pos,Ne+5e3);ee(Zr,qe),Ne=Zr}}function mi(a,y,E){for(var x,ee,ie=a.doc,fe=E?-1:y-(a.doc.mode.innerMode?1e3:100),Ae=y;Ae>fe;--Ae){if(Ae<=ie.first)return ie.first;var Ne=nn(ie,Ae-1),qe=Ne.stateAfter;if(qe&&(!E||Ae+(qe instanceof Hn?qe.lookAhead:0)<=ie.modeFrontier))return Ae;var gn=Se(Ne.text,null,a.options.tabSize);(ee==null||x>gn)&&(ee=Ae-1,x=gn)}return ee}function yr(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var E=a.first,x=y-1;x>E;x--){var ee=nn(a,x).stateAfter;if(ee&&(!(ee instanceof Hn)||x+ee.lookAhead<y)){E=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,E)}}var ur=!1,gr=!1;function ni(){ur=!0}function Kr(){gr=!0}function wr(a,y,E){this.marker=a,this.from=y,this.to=E}function Rr(a,y){if(a)for(var E=0;E<a.length;++E){var x=a[E];if(x.marker==y)return x}}function hi(a,y){for(var E,x=0;x<a.length;++x)a[x]!=y&&(E||(E=[])).push(a[x]);return E}function Qr(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function qr(a,y,E){var x;if(a)for(var ee=0;ee<a.length;++ee){var ie=a[ee],fe=ie.marker,Ae=ie.from==null||(fe.inclusiveLeft?ie.from<=y:ie.from<y);if(Ae||ie.from==y&&fe.type=="bookmark"&&(!E||!ie.marker.insertLeft)){var Ne=ie.to==null||(fe.inclusiveRight?ie.to>=y:ie.to>y);(x||(x=[])).push(new wr(fe,ie.from,Ne?null:ie.to))}}return x}function ei(a,y,E){var x;if(a)for(var ee=0;ee<a.length;++ee){var ie=a[ee],fe=ie.marker,Ae=ie.to==null||(fe.inclusiveRight?ie.to>=y:ie.to>y);if(Ae||ie.from==y&&fe.type=="bookmark"&&(!E||ie.marker.insertLeft)){var Ne=ie.from==null||(fe.inclusiveLeft?ie.from<=y:ie.from<y);(x||(x=[])).push(new wr(fe,Ne?null:ie.from-y,ie.to==null?null:ie.to-y))}}return x}function Ni(a,y){if(y.full)return null;var E=Ze(a,y.from.line)&&nn(a,y.from.line).markedSpans,x=Ze(a,y.to.line)&&nn(a,y.to.line).markedSpans;if(!E&&!x)return null;var ee=y.from.ch,ie=y.to.ch,fe=yt(y.from,y.to)==0,Ae=qr(E,ee,fe),Ne=ei(x,ie,fe),qe=y.text.length==1,gn=ct(y.text).length+(qe?ee:0);if(Ae)for(var Mn=0;Mn<Ae.length;++Mn){var lr=Ae[Mn];if(lr.to==null){var ir=Rr(Ne,lr.marker);ir?qe&&(lr.to=ir.to==null?null:ir.to+gn):lr.to=ee}}if(Ne)for(var Zr=0;Zr<Ne.length;++Zr){var si=Ne[Zr];if(si.to!=null&&(si.to+=gn),si.from==null){var Di=Rr(Ae,si.marker);Di||(si.from=gn,qe&&(Ae||(Ae=[])).push(si))}else si.from+=gn,qe&&(Ae||(Ae=[])).push(si)}Ae&&(Ae=$i(Ae)),Ne&&Ne!=Ae&&(Ne=$i(Ne));var zi=[Ae];if(!qe){var ao=y.text.length-2,ji;if(ao>0&&Ae)for(var fo=0;fo<Ae.length;++fo)Ae[fo].to==null&&(ji||(ji=[])).push(new wr(Ae[fo].marker,null,null));for(var No=0;No<ao;++No)zi.push(ji);zi.push(Ne)}return zi}function $i(a){for(var y=0;y<a.length;++y){var E=a[y];E.from!=null&&E.from==E.to&&E.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function _i(a,y,E){var x=null;if(a.iter(y.line,E.line+1,function(ir){if(ir.markedSpans)for(var Zr=0;Zr<ir.markedSpans.length;++Zr){var si=ir.markedSpans[Zr].marker;si.readOnly&&(!x||Mt(x,si)==-1)&&(x||(x=[])).push(si)}}),!x)return null;for(var ee=[{from:y,to:E}],ie=0;ie<x.length;++ie)for(var fe=x[ie],Ae=fe.find(0),Ne=0;Ne<ee.length;++Ne){var qe=ee[Ne];if(!(yt(qe.to,Ae.from)<0||yt(qe.from,Ae.to)>0)){var gn=[Ne,1],Mn=yt(qe.from,Ae.from),lr=yt(qe.to,Ae.to);(Mn<0||!fe.inclusiveLeft&&!Mn)&&gn.push({from:qe.from,to:Ae.from}),(lr>0||!fe.inclusiveRight&&!lr)&&gn.push({from:Ae.to,to:qe.to}),ee.splice.apply(ee,gn),Ne+=gn.length-3}}return ee}function ki(a){var y=a.markedSpans;if(y){for(var E=0;E<y.length;++E)y[E].marker.detachLine(a);a.markedSpans=null}}function io(a,y){if(y){for(var E=0;E<y.length;++E)y[E].marker.attachLine(a);a.markedSpans=y}}function ke(a){return a.inclusiveLeft?-1:0}function tt(a){return a.inclusiveRight?1:0}function Ft(a,y){var E=a.lines.length-y.lines.length;if(E!=0)return E;var x=a.find(),ee=y.find(),ie=yt(x.from,ee.from)||ke(a)-ke(y);if(ie)return-ie;var fe=yt(x.to,ee.to)||tt(a)-tt(y);return fe||y.id-a.id}function an(a,y){var E=gr&&a.markedSpans,x;if(E)for(var ee=void 0,ie=0;ie<E.length;++ie)ee=E[ie],ee.marker.collapsed&&(y?ee.from:ee.to)==null&&(!x||Ft(x,ee.marker)<0)&&(x=ee.marker);return x}function cn(a){return an(a,!0)}function Lt(a){return an(a,!1)}function it(a,y){var E=gr&&a.markedSpans,x;if(E)for(var ee=0;ee<E.length;++ee){var ie=E[ee];ie.marker.collapsed&&(ie.from==null||ie.from<y)&&(ie.to==null||ie.to>y)&&(!x||Ft(x,ie.marker)<0)&&(x=ie.marker)}return x}function It(a,y,E,x,ee){var ie=nn(a,y),fe=gr&&ie.markedSpans;if(fe)for(var Ae=0;Ae<fe.length;++Ae){var Ne=fe[Ae];if(Ne.marker.collapsed){var qe=Ne.marker.find(0),gn=yt(qe.from,E)||ke(Ne.marker)-ke(ee),Mn=yt(qe.to,x)||tt(Ne.marker)-tt(ee);if(!(gn>=0&&Mn<=0||gn<=0&&Mn>=0)&&(gn<=0&&(Ne.marker.inclusiveRight&&ee.inclusiveLeft?yt(qe.to,E)>=0:yt(qe.to,E)>0)||gn>=0&&(Ne.marker.inclusiveRight&&ee.inclusiveLeft?yt(qe.from,x)<=0:yt(qe.from,x)<0)))return!0}}}function $t(a){for(var y;y=cn(a);)a=y.find(-1,!0).line;return a}function Nn(a){for(var y;y=Lt(a);)a=y.find(1,!0).line;return a}function zn(a){for(var y,E;y=Lt(a);)a=y.find(1,!0).line,(E||(E=[])).push(a);return E}function Dn(a,y){var E=nn(a,y),x=$t(E);return E==x?y:Dt(x)}function jn(a,y){if(y>a.lastLine())return y;var E=nn(a,y),x;if(!Jn(a,E))return y;for(;x=Lt(E);)E=x.find(1,!0).line;return Dt(E)+1}function Jn(a,y){var E=gr&&y.markedSpans;if(E){for(var x=void 0,ee=0;ee<E.length;++ee)if(x=E[ee],!!x.marker.collapsed){if(x.from==null)return!0;if(!x.marker.widgetNode&&x.from==0&&x.marker.inclusiveLeft&&Cr(a,y,x))return!0}}}function Cr(a,y,E){if(E.to==null){var x=E.marker.find(1,!0);return Cr(a,x.line,Rr(x.line.markedSpans,E.marker))}if(E.marker.inclusiveRight&&E.to==y.text.length)return!0;for(var ee=void 0,ie=0;ie<y.markedSpans.length;++ie)if(ee=y.markedSpans[ie],ee.marker.collapsed&&!ee.marker.widgetNode&&ee.from==E.to&&(ee.to==null||ee.to!=E.from)&&(ee.marker.inclusiveLeft||E.marker.inclusiveRight)&&Cr(a,y,ee))return!0}function br(a){a=$t(a);for(var y=0,E=a.parent,x=0;x<E.lines.length;++x){var ee=E.lines[x];if(ee==a)break;y+=ee.height}for(var ie=E.parent;ie;E=ie,ie=E.parent)for(var fe=0;fe<ie.children.length;++fe){var Ae=ie.children[fe];if(Ae==E)break;y+=Ae.height}return y}function Wr(a){if(a.height==0)return 0;for(var y=a.text.length,E,x=a;E=cn(x);){var ee=E.find(0,!0);x=ee.from.line,y+=ee.from.ch-ee.to.ch}for(x=a;E=Lt(x);){var ie=E.find(0,!0);y-=x.text.length-ie.from.ch,x=ie.to.line,y+=x.text.length-ie.to.ch}return y}function Jr(a){var y=a.display,E=a.doc;y.maxLine=nn(E,E.first),y.maxLineLength=Wr(y.maxLine),y.maxLineChanged=!0,E.iter(function(x){var ee=Wr(x);ee>y.maxLineLength&&(y.maxLineLength=ee,y.maxLine=x)})}var gi=function(a,y,E){this.text=a,io(this,y),this.height=E?E(this):1};gi.prototype.lineNo=function(){return Dt(this)},ft(gi);function oi(a,y,E,x){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),ki(a),io(a,E);var ee=x?x(a):1;ee!=a.height&&er(a,ee)}function Pi(a){a.parent=null,ki(a)}var ci={},di={};function yi(a,y){if(!a||/^\s*$/.test(a))return null;var E=y.addModeClass?di:ci;return E[a]||(E[a]=a.replace(/\S+/g,"cm-$&"))}function Ii(a,y){var E=ut("span",null,null,Be?"padding-right: .1px":null),x={pre:ut("pre",[E],"CodeMirror-line"),content:E,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var ee=0;ee<=(y.rest?y.rest.length:0);ee++){var ie=ee?y.rest[ee-1]:y.line,fe=void 0;x.pos=0,x.addToken=So,vr(a.display.measure)&&(fe=Le(ie,a.doc.direction))&&(x.addToken=Ko(x.addToken,fe)),x.map=[];var Ae=y!=a.display.externalMeasured&&Dt(ie);Oi(ie,x,pr(a,ie,Ae)),ie.styleClasses&&(ie.styleClasses.bgClass&&(x.bgClass=Ot(ie.styleClasses.bgClass,x.bgClass||"")),ie.styleClasses.textClass&&(x.textClass=Ot(ie.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(qn(a.display.measure))),ee==0?(y.measure.map=x.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(x.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(Be){var Ne=x.content.lastChild;(/\bcm-tab\b/.test(Ne.className)||Ne.querySelector&&Ne.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return un(a,"renderLine",a,y.line,x.pre),x.pre.className&&(x.textClass=Ot(x.pre.className,x.textClass||"")),x}function no(a){var y=lt("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function So(a,y,E,x,ee,ie,fe){if(y){var Ae=a.splitSpaces?bo(y,a.trailingSpace):y,Ne=a.cm.state.specialChars,qe=!1,gn;if(!Ne.test(y))a.col+=y.length,gn=document.createTextNode(Ae),a.map.push(a.pos,a.pos+y.length,gn),Me&&Ce<9&&(qe=!0),a.pos+=y.length;else{gn=document.createDocumentFragment();for(var Mn=0;;){Ne.lastIndex=Mn;var lr=Ne.exec(y),ir=lr?lr.index-Mn:y.length-Mn;if(ir){var Zr=document.createTextNode(Ae.slice(Mn,Mn+ir));Me&&Ce<9?gn.appendChild(lt("span",[Zr])):gn.appendChild(Zr),a.map.push(a.pos,a.pos+ir,Zr),a.col+=ir,a.pos+=ir}if(!lr)break;Mn+=ir+1;var si=void 0;if(lr[0]==" "){var Di=a.cm.options.tabSize,zi=Di-a.col%Di;si=gn.appendChild(lt("span",Kt(zi),"cm-tab")),si.setAttribute("role","presentation"),si.setAttribute("cm-text"," "),a.col+=zi}else lr[0]=="\r"||lr[0]==`
`?(si=gn.appendChild(lt("span",lr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),si.setAttribute("cm-text",lr[0]),a.col+=1):(si=a.cm.options.specialCharPlaceholder(lr[0]),si.setAttribute("cm-text",lr[0]),Me&&Ce<9?gn.appendChild(lt("span",[si])):gn.appendChild(si),a.col+=1);a.map.push(a.pos,a.pos+1,si),a.pos++}}if(a.trailingSpace=Ae.charCodeAt(y.length-1)==32,E||x||ee||qe||ie||fe){var ao=E||"";x&&(ao+=x),ee&&(ao+=ee);var ji=lt("span",[gn],ao,ie);if(fe)for(var fo in fe)fe.hasOwnProperty(fo)&&fo!="style"&&fo!="class"&&ji.setAttribute(fo,fe[fo]);return a.content.appendChild(ji)}a.content.appendChild(gn)}}function bo(a,y){if(a.length>1&&!/ /.test(a))return a;for(var E=y,x="",ee=0;ee<a.length;ee++){var ie=a.charAt(ee);ie==" "&&E&&(ee==a.length-1||a.charCodeAt(ee+1)==32)&&(ie="\xA0"),x+=ie,E=ie==" "}return x}function Ko(a,y){return function(E,x,ee,ie,fe,Ae,Ne){ee=ee?ee+" cm-force-border":"cm-force-border";for(var qe=E.pos,gn=qe+x.length;;){for(var Mn=void 0,lr=0;lr<y.length&&(Mn=y[lr],!(Mn.to>qe&&Mn.from<=qe));lr++);if(Mn.to>=gn)return a(E,x,ee,ie,fe,Ae,Ne);a(E,x.slice(0,Mn.to-qe),ee,ie,null,Ae,Ne),ie=null,x=x.slice(Mn.to-qe),qe=Mn.to}}}function Hi(a,y,E,x){var ee=!x&&E.widgetNode;ee&&a.map.push(a.pos,a.pos+y,ee),!x&&a.cm.display.input.needsContentAttribute&&(ee||(ee=a.content.appendChild(document.createElement("span"))),ee.setAttribute("cm-marker",E.id)),ee&&(a.cm.display.input.setUneditable(ee),a.content.appendChild(ee)),a.pos+=y,a.trailingSpace=!1}function Oi(a,y,E){var x=a.markedSpans,ee=a.text,ie=0;if(!x){for(var fe=1;fe<E.length;fe+=2)y.addToken(y,ee.slice(ie,ie=E[fe]),yi(E[fe+1],y.cm.options));return}for(var Ae=ee.length,Ne=0,qe=1,gn="",Mn,lr,ir=0,Zr,si,Di,zi,ao;;){if(ir==Ne){Zr=si=Di=lr="",ao=null,zi=null,ir=1/0;for(var ji=[],fo=void 0,No=0;No<x.length;++No){var Po=x[No],ta=Po.marker;if(ta.type=="bookmark"&&Po.from==Ne&&ta.widgetNode)ji.push(ta);else if(Po.from<=Ne&&(Po.to==null||Po.to>Ne||ta.collapsed&&Po.to==Ne&&Po.from==Ne)){if(Po.to!=null&&Po.to!=Ne&&ir>Po.to&&(ir=Po.to,si=""),ta.className&&(Zr+=" "+ta.className),ta.css&&(lr=(lr?lr+";":"")+ta.css),ta.startStyle&&Po.from==Ne&&(Di+=" "+ta.startStyle),ta.endStyle&&Po.to==ir&&(fo||(fo=[])).push(ta.endStyle,Po.to),ta.title&&((ao||(ao={})).title=ta.title),ta.attributes)for(var Va in ta.attributes)(ao||(ao={}))[Va]=ta.attributes[Va];ta.collapsed&&(!zi||Ft(zi.marker,ta)<0)&&(zi=Po)}else Po.from>Ne&&ir>Po.from&&(ir=Po.from)}if(fo)for(var Ol=0;Ol<fo.length;Ol+=2)fo[Ol+1]==ir&&(si+=" "+fo[Ol]);if(!zi||zi.from==Ne)for(var ll=0;ll<ji.length;++ll)Hi(y,0,ji[ll]);if(zi&&(zi.from||0)==Ne){if(Hi(y,(zi.to==null?Ae+1:zi.to)-Ne,zi.marker,zi.from==null),zi.to==null)return;zi.to==Ne&&(zi=!1)}}if(Ne>=Ae)break;for(var $l=Math.min(Ae,ir);;){if(gn){var Vl=Ne+gn.length;if(!zi){var bl=Vl>$l?gn.slice(0,$l-Ne):gn;y.addToken(y,bl,Mn?Mn+Zr:Zr,Di,Ne+bl.length==ir?si:"",lr,ao)}if(Vl>=$l){gn=gn.slice($l-Ne),Ne=$l;break}Ne=Vl,Di=""}gn=ee.slice(ie,ie=E[qe++]),Mn=yi(E[qe++],y.cm.options)}}}function Wo(a,y,E){this.line=y,this.rest=zn(y),this.size=this.rest?Dt(ct(this.rest))-E+1:1,this.node=this.text=null,this.hidden=Jn(a,y)}function zo(a,y,E){for(var x=[],ee,ie=y;ie<E;ie=ee){var fe=new Wo(a.doc,nn(a.doc,ie),ie);ee=ie+fe.size,x.push(fe)}return x}var Xo=null;function Wa(a){Xo?Xo.ops.push(a):a.ownsGroup=Xo={ops:[a],delayedCallbacks:[]}}function Pa(a){var y=a.delayedCallbacks,E=0;do{for(;E<y.length;E++)y[E].call(null);for(var x=0;x<a.ops.length;x++){var ee=a.ops[x];if(ee.cursorActivityHandlers)for(;ee.cursorActivityCalled<ee.cursorActivityHandlers.length;)ee.cursorActivityHandlers[ee.cursorActivityCalled++].call(null,ee.cm)}}while(E<y.length)}function Ta(a,y){var E=a.ownsGroup;if(E)try{Pa(E)}finally{Xo=null,y(E)}}var Ba=null;function Uo(a,y){var E=Ht(a,y);if(E.length){var x=Array.prototype.slice.call(arguments,2),ee;Xo?ee=Xo.delayedCallbacks:Ba?ee=Ba:(ee=Ba=[],setTimeout(Fa,0));for(var ie=function(Ae){ee.push(function(){return E[Ae].apply(null,x)})},fe=0;fe<E.length;++fe)ie(fe)}}function Fa(){var a=Ba;Ba=null;for(var y=0;y<a.length;++y)a[y]()}function ul(a,y,E,x){for(var ee=0;ee<y.changes.length;ee++){var ie=y.changes[ee];ie=="text"?El(a,y):ie=="gutter"?mo(a,y,E,x):ie=="class"?ho(a,y):ie=="widget"&&Ei(a,y,x)}y.changes=null}function Ja(a){return a.node==a.text&&(a.node=lt("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Me&&Ce<8&&(a.node.style.zIndex=2)),a.node}function Jo(a,y){var E=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(E&&(E+=" CodeMirror-linebackground"),y.background)E?y.background.className=E:(y.background.parentNode.removeChild(y.background),y.background=null);else if(E){var x=Ja(y);y.background=x.insertBefore(lt("div",null,E),x.firstChild),a.display.input.setUneditable(y.background)}}function Nl(a,y){var E=a.display.externalMeasured;return E&&E.line==y.line?(a.display.externalMeasured=null,y.measure=E.measure,E.built):Ii(a,y)}function El(a,y){var E=y.text.className,x=Nl(a,y);y.text==y.node&&(y.node=x.pre),y.text.parentNode.replaceChild(x.pre,y.text),y.text=x.pre,x.bgClass!=y.bgClass||x.textClass!=y.textClass?(y.bgClass=x.bgClass,y.textClass=x.textClass,ho(a,y)):E&&(y.text.className=E)}function ho(a,y){Jo(a,y),y.line.wrapClass?Ja(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var E=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=E||""}function mo(a,y,E,x){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var ee=Ja(y);y.gutterBackground=lt("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px; width: "+x.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),ee.insertBefore(y.gutterBackground,y.text)}var ie=y.line.gutterMarkers;if(a.options.lineNumbers||ie){var fe=Ja(y),Ae=y.gutter=lt("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px");if(a.display.input.setUneditable(Ae),fe.insertBefore(Ae,y.text),y.line.gutterClass&&(Ae.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!ie||!ie["CodeMirror-linenumbers"])&&(y.lineNumber=Ae.appendChild(lt("div",gt(a.options,E),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+x.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ie)for(var Ne=0;Ne<a.display.gutterSpecs.length;++Ne){var qe=a.display.gutterSpecs[Ne].className,gn=ie.hasOwnProperty(qe)&&ie[qe];gn&&Ae.appendChild(lt("div",[gn],"CodeMirror-gutter-elt","left: "+x.gutterLeft[qe]+"px; width: "+x.gutterWidth[qe]+"px"))}}}function Ei(a,y,E){y.alignable&&(y.alignable=null);for(var x=dt("CodeMirror-linewidget"),ee=y.node.firstChild,ie=void 0;ee;ee=ie)ie=ee.nextSibling,x.test(ee.className)&&y.node.removeChild(ee);Li(a,y,E)}function fi(a,y,E,x){var ee=Nl(a,y);return y.text=y.node=ee.pre,ee.bgClass&&(y.bgClass=ee.bgClass),ee.textClass&&(y.textClass=ee.textClass),ho(a,y),mo(a,y,E,x),Li(a,y,x),y.node}function Li(a,y,E){if(lo(a,y.line,y,E,!0),y.rest)for(var x=0;x<y.rest.length;x++)lo(a,y.rest[x],y,E,!1)}function lo(a,y,E,x,ee){if(y.widgets)for(var ie=Ja(E),fe=0,Ae=y.widgets;fe<Ae.length;++fe){var Ne=Ae[fe],qe=lt("div",[Ne.node],"CodeMirror-linewidget"+(Ne.className?" "+Ne.className:""));Ne.handleMouseEvents||qe.setAttribute("cm-ignore-events","true"),da(Ne,qe,E,x),a.display.input.setUneditable(qe),ee&&Ne.above?ie.insertBefore(qe,E.gutter||E.text):ie.appendChild(qe),Uo(Ne,"redraw")}}function da(a,y,E,x){if(a.noHScroll){(E.alignable||(E.alignable=[])).push(y);var ee=x.wrapperWidth;y.style.left=x.fixedPos+"px",a.coverGutter||(ee-=x.gutterTotalWidth,y.style.paddingLeft=x.gutterTotalWidth+"px"),y.style.width=ee+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-x.gutterTotalWidth+"px"))}function Ro(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Te(document.body,a.node)){var E="position: relative;";a.coverGutter&&(E+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(E+="width: "+y.display.wrapper.clientWidth+"px;"),_e(y.display.measure,lt("div",[a.node],null,E))}return a.height=a.node.parentNode.offsetHeight}function Lo(a,y){for(var E=Wt(y);E!=a.wrapper;E=E.parentNode)if(!E||E.nodeType==1&&E.getAttribute("cm-ignore-events")=="true"||E.parentNode==a.sizer&&E!=a.mover)return!0}function Oo(a){return a.lineSpace.offsetTop}function pa(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Ea(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=_e(a.measure,lt("pre","x","CodeMirror-line-like")),E=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,x={left:parseInt(E.paddingLeft),right:parseInt(E.paddingRight)};return!isNaN(x.left)&&!isNaN(x.right)&&(a.cachedPaddingH=x),x}function Oa(a){return Jt-a.display.nativeBarWidth}function Ya(a){return a.display.scroller.clientWidth-Oa(a)-a.display.barWidth}function Io(a){return a.display.scroller.clientHeight-Oa(a)-a.display.barHeight}function Ga(a,y,E){var x=a.options.lineWrapping,ee=x&&Ya(a);if(!y.measure.heights||x&&y.measure.width!=ee){var ie=y.measure.heights=[];if(x){y.measure.width=ee;for(var fe=y.text.firstChild.getClientRects(),Ae=0;Ae<fe.length-1;Ae++){var Ne=fe[Ae],qe=fe[Ae+1];Math.abs(Ne.bottom-qe.bottom)>2&&ie.push((Ne.bottom+qe.top)/2-E.top)}}ie.push(E.bottom-E.top)}}function wl(a,y,E){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var x=0;x<a.rest.length;x++)if(a.rest[x]==y)return{map:a.measure.maps[x],cache:a.measure.caches[x]};for(var ee=0;ee<a.rest.length;ee++)if(Dt(a.rest[ee])>E)return{map:a.measure.maps[ee],cache:a.measure.caches[ee],before:!0}}function cl(a,y){y=$t(y);var E=Dt(y),x=a.display.externalMeasured=new Wo(a.doc,y,E);x.lineN=E;var ee=x.built=Ii(a,x);return x.text=ee.pre,_e(a.display.lineMeasure,ee.pre),x}function el(a,y,E,x){return xl(a,Al(a,y),E,x)}function Xa(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[Xl(a,y)];var E=a.display.externalMeasured;if(E&&y>=E.lineN&&y<E.lineN+E.size)return E}function Al(a,y){var E=Dt(y),x=Xa(a,E);x&&!x.text?x=null:x&&x.changes&&(ul(a,x,E,kl(a)),a.curOp.forceUpdate=!0),x||(x=cl(a,y));var ee=wl(x,y,E);return{line:y,view:x,rect:null,map:ee.map,cache:ee.cache,before:ee.before,hasHeights:!1}}function xl(a,y,E,x,ee){y.before&&(E=-1);var ie=E+(x||""),fe;return y.cache.hasOwnProperty(ie)?fe=y.cache[ie]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Ga(a,y.view,y.rect),y.hasHeights=!0),fe=ns(a,y,E,x),fe.bogus||(y.cache[ie]=fe)),{left:fe.left,right:fe.right,top:ee?fe.rtop:fe.top,bottom:ee?fe.rbottom:fe.bottom}}var Hl={left:0,right:0,top:0,bottom:0};function Yl(a,y,E){for(var x,ee,ie,fe,Ae,Ne,qe=0;qe<a.length;qe+=3)if(Ae=a[qe],Ne=a[qe+1],y<Ae?(ee=0,ie=1,fe="left"):y<Ne?(ee=y-Ae,ie=ee+1):(qe==a.length-3||y==Ne&&a[qe+3]>y)&&(ie=Ne-Ae,ee=ie-1,y>=Ne&&(fe="right")),ee!=null){if(x=a[qe+2],Ae==Ne&&E==(x.insertLeft?"left":"right")&&(fe=E),E=="left"&&ee==0)for(;qe&&a[qe-2]==a[qe-3]&&a[qe-1].insertLeft;)x=a[(qe-=3)+2],fe="left";if(E=="right"&&ee==Ne-Ae)for(;qe<a.length-3&&a[qe+3]==a[qe+4]&&!a[qe+5].insertLeft;)x=a[(qe+=3)+2],fe="right";break}return{node:x,start:ee,end:ie,collapse:fe,coverStart:Ae,coverEnd:Ne}}function as(a,y){var E=Hl;if(y=="left")for(var x=0;x<a.length&&(E=a[x]).left==E.right;x++);else for(var ee=a.length-1;ee>=0&&(E=a[ee]).left==E.right;ee--);return E}function ns(a,y,E,x){var ee=Yl(y.map,E,x),ie=ee.node,fe=ee.start,Ae=ee.end,Ne=ee.collapse,qe;if(ie.nodeType==3){for(var gn=0;gn<4;gn++){for(;fe&&De(y.line.text.charAt(ee.coverStart+fe));)--fe;for(;ee.coverStart+Ae<ee.coverEnd&&De(y.line.text.charAt(ee.coverStart+Ae));)++Ae;if(Me&&Ce<9&&fe==0&&Ae==ee.coverEnd-ee.coverStart?qe=ie.parentNode.getBoundingClientRect():qe=as(Pe(ie,fe,Ae).getClientRects(),x),qe.left||qe.right||fe==0)break;Ae=fe,fe=fe-1,Ne="right"}Me&&Ce<11&&(qe=Cs(a.display.measure,qe))}else{fe>0&&(Ne=x="right");var Mn;a.options.lineWrapping&&(Mn=ie.getClientRects()).length>1?qe=Mn[x=="right"?Mn.length-1:0]:qe=ie.getBoundingClientRect()}if(Me&&Ce<9&&!fe&&(!qe||!qe.left&&!qe.right)){var lr=ie.parentNode.getClientRects()[0];lr?qe={left:lr.left,right:lr.left+il(a.display),top:lr.top,bottom:lr.bottom}:qe=Hl}for(var ir=qe.top-y.rect.top,Zr=qe.bottom-y.rect.top,si=(ir+Zr)/2,Di=y.view.measure.heights,zi=0;zi<Di.length-1&&!(si<Di[zi]);zi++);var ao=zi?Di[zi-1]:0,ji=Di[zi],fo={left:(Ne=="right"?qe.right:qe.left)-y.rect.left,right:(Ne=="left"?qe.left:qe.right)-y.rect.left,top:ao,bottom:ji};return!qe.left&&!qe.right&&(fo.bogus=!0),a.options.singleCursorHeightPerLine||(fo.rtop=ir,fo.rbottom=Zr),fo}function Cs(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!pn(a))return y;var E=screen.logicalXDPI/screen.deviceXDPI,x=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*E,right:y.right*E,top:y.top*x,bottom:y.bottom*x}}function rs(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function Dl(a){a.display.externalMeasure=null,Rt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)rs(a.display.view[y])}function Gl(a){Dl(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function is(){return Fe&&$e?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function hs(){return Fe&&$e?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function _l(a){var y=0;if(a.widgets)for(var E=0;E<a.widgets.length;++E)a.widgets[E].above&&(y+=Ro(a.widgets[E]));return y}function os(a,y,E,x,ee){if(!ee){var ie=_l(y);E.top+=ie,E.bottom+=ie}if(x=="line")return E;x||(x="local");var fe=br(y);if(x=="local"?fe+=Oo(a.display):fe-=a.display.viewOffset,x=="page"||x=="window"){var Ae=a.display.lineSpace.getBoundingClientRect();fe+=Ae.top+(x=="window"?0:hs());var Ne=Ae.left+(x=="window"?0:is());E.left+=Ne,E.right+=Ne}return E.top+=fe,E.bottom+=fe,E}function $a(a,y,E){if(E=="div")return y;var x=y.left,ee=y.top;if(E=="page")x-=is(),ee-=hs();else if(E=="local"||!E){var ie=a.display.sizer.getBoundingClientRect();x+=ie.left,ee+=ie.top}var fe=a.display.lineSpace.getBoundingClientRect();return{left:x-fe.left,top:ee-fe.top}}function Qa(a,y,E,x,ee){return x||(x=nn(a.doc,y.line)),os(a,x,el(a,x,y.ch,ee),E)}function fa(a,y,E,x,ee,ie){x=x||nn(a.doc,y.line),ee||(ee=Al(a,x));function fe(Zr,si){var Di=xl(a,ee,Zr,si?"right":"left",ie);return si?Di.left=Di.right:Di.right=Di.left,os(a,x,Di,E)}var Ae=Le(x,a.doc.direction),Ne=y.ch,qe=y.sticky;if(Ne>=x.text.length?(Ne=x.text.length,qe="before"):Ne<=0&&(Ne=0,qe="after"),!Ae)return fe(qe=="before"?Ne-1:Ne,qe=="before");function gn(Zr,si,Di){var zi=Ae[si],ao=zi.level==1;return fe(Di?Zr-1:Zr,ao!=Di)}var Mn=Et(Ae,Ne,qe),lr=mt,ir=gn(Ne,Mn,qe=="before");return lr!=null&&(ir.other=gn(Ne,lr,qe!="before")),ir}function Ho(a,y){var E=0;y=Pt(a.doc,y),a.options.lineWrapping||(E=il(a.display)*y.ch);var x=nn(a.doc,y.line),ee=br(x)+Oo(a.display);return{left:E,right:E,top:ee,bottom:ee+x.height}}function Co(a,y,E,x,ee){var ie=Ve(a,y,E);return ie.xRel=ee,x&&(ie.outside=x),ie}function sa(a,y,E){var x=a.doc;if(E+=a.display.viewOffset,E<0)return Co(x.first,0,null,-1,-1);var ee=Gt(x,E),ie=x.first+x.size-1;if(ee>ie)return Co(x.first+x.size-1,nn(x,ie).text.length,null,1,1);y<0&&(y=0);for(var fe=nn(x,ee);;){var Ae=tl(a,fe,ee,y,E),Ne=it(fe,Ae.ch+(Ae.xRel>0||Ae.outside>0?1:0));if(!Ne)return Ae;var qe=Ne.find(1);if(qe.line==ee)return qe;fe=nn(x,ee=qe.line)}}function Ma(a,y,E,x){x-=_l(y);var ee=y.text.length,ie=Qe(function(fe){return xl(a,E,fe-1).bottom<=x},ee,0);return ee=Qe(function(fe){return xl(a,E,fe).top>x},ie,ee),{begin:ie,end:ee}}function wa(a,y,E,x){E||(E=Al(a,y));var ee=os(a,y,xl(a,E,x),"line").top;return Ma(a,y,E,ee)}function _o(a,y,E,x){return a.bottom<=E?!1:a.top>E?!0:(x?a.left:a.right)>y}function tl(a,y,E,x,ee){ee-=br(y);var ie=Al(a,y),fe=_l(y),Ae=0,Ne=y.text.length,qe=!0,gn=Le(y,a.doc.direction);if(gn){var Mn=(a.options.lineWrapping?nl:Ka)(a,y,E,ie,gn,x,ee);qe=Mn.level!=1,Ae=qe?Mn.from:Mn.to-1,Ne=qe?Mn.to:Mn.from-1}var lr=null,ir=null,Zr=Qe(function(No){var Po=xl(a,ie,No);return Po.top+=fe,Po.bottom+=fe,_o(Po,x,ee,!1)?(Po.top<=ee&&Po.left<=x&&(lr=No,ir=Po),!0):!1},Ae,Ne),si,Di,zi=!1;if(ir){var ao=x-ir.left<ir.right-x,ji=ao==qe;Zr=lr+(ji?0:1),Di=ji?"after":"before",si=ao?ir.left:ir.right}else{!qe&&(Zr==Ne||Zr==Ae)&&Zr++,Di=Zr==0?"after":Zr==y.text.length?"before":xl(a,ie,Zr-(qe?1:0)).bottom+fe<=ee==qe?"after":"before";var fo=fa(a,Ve(E,Zr,Di),"line",y,ie);si=fo.left,zi=ee<fo.top?-1:ee>=fo.bottom?1:0}return Zr=st(y.text,Zr,1),Co(E,Zr,Di,zi,x-si)}function Ka(a,y,E,x,ee,ie,fe){var Ae=Qe(function(Mn){var lr=ee[Mn],ir=lr.level!=1;return _o(fa(a,Ve(E,ir?lr.to:lr.from,ir?"before":"after"),"line",y,x),ie,fe,!0)},0,ee.length-1),Ne=ee[Ae];if(Ae>0){var qe=Ne.level!=1,gn=fa(a,Ve(E,qe?Ne.from:Ne.to,qe?"after":"before"),"line",y,x);_o(gn,ie,fe,!0)&&gn.top>fe&&(Ne=ee[Ae-1])}return Ne}function nl(a,y,E,x,ee,ie,fe){var Ae=Ma(a,y,x,fe),Ne=Ae.begin,qe=Ae.end;/\s/.test(y.text.charAt(qe-1))&&qe--;for(var gn=null,Mn=null,lr=0;lr<ee.length;lr++){var ir=ee[lr];if(!(ir.from>=qe||ir.to<=Ne)){var Zr=ir.level!=1,si=xl(a,x,Zr?Math.min(qe,ir.to)-1:Math.max(Ne,ir.from)).right,Di=si<ie?ie-si+1e9:si-ie;(!gn||Mn>Di)&&(gn=ir,Mn=Di)}}return gn||(gn=ee[ee.length-1]),gn.from<Ne&&(gn={from:Ne,to:gn.to,level:gn.level}),gn.to>qe&&(gn={from:gn.from,to:qe,level:gn.level}),gn}var _a;function rl(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(_a==null){_a=lt("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)_a.appendChild(document.createTextNode("x")),_a.appendChild(lt("br"));_a.appendChild(document.createTextNode("x"))}_e(a.measure,_a);var E=_a.offsetHeight/50;return E>3&&(a.cachedTextHeight=E),Rt(a.measure),E||1}function il(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=lt("span","xxxxxxxxxx"),E=lt("pre",[y],"CodeMirror-line-like");_e(a.measure,E);var x=y.getBoundingClientRect(),ee=(x.right-x.left)/10;return ee>2&&(a.cachedCharWidth=ee),ee||10}function kl(a){for(var y=a.display,E={},x={},ee=y.gutters.clientLeft,ie=y.gutters.firstChild,fe=0;ie;ie=ie.nextSibling,++fe){var Ae=a.display.gutterSpecs[fe].className;E[Ae]=ie.offsetLeft+ie.clientLeft+ee,x[Ae]=ie.clientWidth}return{fixedPos:ls(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:E,gutterWidth:x,wrapperWidth:y.wrapper.clientWidth}}function ls(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Ls(a){var y=rl(a.display),E=a.options.lineWrapping,x=E&&Math.max(5,a.display.scroller.clientWidth/il(a.display)-3);return function(ee){if(Jn(a.doc,ee))return 0;var ie=0;if(ee.widgets)for(var fe=0;fe<ee.widgets.length;fe++)ee.widgets[fe].height&&(ie+=ee.widgets[fe].height);return E?ie+(Math.ceil(ee.text.length/x)||1)*y:ie+y}}function ms(a){var y=a.doc,E=Ls(a);y.iter(function(x){var ee=E(x);ee!=x.height&&er(x,ee)})}function ql(a,y,E,x){var ee=a.display;if(!E&&Wt(y).getAttribute("cm-not-content")=="true")return null;var ie,fe,Ae=ee.lineSpace.getBoundingClientRect();try{ie=y.clientX-Ae.left,fe=y.clientY-Ae.top}catch(Mn){return null}var Ne=sa(a,ie,fe),qe;if(x&&Ne.xRel>0&&(qe=nn(a.doc,Ne.line).text).length==Ne.ch){var gn=Se(qe,qe.length,a.options.tabSize)-qe.length;Ne=Ve(Ne.line,Math.max(0,Math.round((ie-Ea(a.display).left)/il(a.display))-gn))}return Ne}function Xl(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var E=a.display.view,x=0;x<E.length;x++)if(y-=E[x].size,y<0)return x}function vl(a,y,E,x){y==null&&(y=a.doc.first),E==null&&(E=a.doc.first+a.doc.size),x||(x=0);var ee=a.display;if(x&&E<ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>y)&&(ee.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=ee.viewTo)gr&&Dn(a.doc,y)<ee.viewTo&&Ql(a);else if(E<=ee.viewFrom)gr&&jn(a.doc,E+x)>ee.viewFrom?Ql(a):(ee.viewFrom+=x,ee.viewTo+=x);else if(y<=ee.viewFrom&&E>=ee.viewTo)Ql(a);else if(y<=ee.viewFrom){var ie=Ds(a,E,E+x,1);ie?(ee.view=ee.view.slice(ie.index),ee.viewFrom=ie.lineN,ee.viewTo+=x):Ql(a)}else if(E>=ee.viewTo){var fe=Ds(a,y,y,-1);fe?(ee.view=ee.view.slice(0,fe.index),ee.viewTo=fe.lineN):Ql(a)}else{var Ae=Ds(a,y,y,-1),Ne=Ds(a,E,E+x,1);Ae&&Ne?(ee.view=ee.view.slice(0,Ae.index).concat(zo(a,Ae.lineN,Ne.lineN)).concat(ee.view.slice(Ne.index)),ee.viewTo+=x):Ql(a)}var qe=ee.externalMeasured;qe&&(E<qe.lineN?qe.lineN+=x:y<qe.lineN+qe.size&&(ee.externalMeasured=null))}function es(a,y,E){a.curOp.viewChanged=!0;var x=a.display,ee=a.display.externalMeasured;if(ee&&y>=ee.lineN&&y<ee.lineN+ee.size&&(x.externalMeasured=null),!(y<x.viewFrom||y>=x.viewTo)){var ie=x.view[Xl(a,y)];if(ie.node!=null){var fe=ie.changes||(ie.changes=[]);Mt(fe,E)==-1&&fe.push(E)}}}function Ql(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Ds(a,y,E,x){var ee=Xl(a,y),ie,fe=a.display.view;if(!gr||E==a.doc.first+a.doc.size)return{index:ee,lineN:E};for(var Ae=a.display.viewFrom,Ne=0;Ne<ee;Ne++)Ae+=fe[Ne].size;if(Ae!=y){if(x>0){if(ee==fe.length-1)return null;ie=Ae+fe[ee].size-y,ee++}else ie=Ae-y;y+=ie,E+=ie}for(;Dn(a.doc,E)!=E;){if(ee==(x<0?0:fe.length-1))return null;E+=x*fe[ee-(x<0?1:0)].size,ee+=x}return{index:ee,lineN:E}}function Ys(a,y,E){var x=a.display,ee=x.view;ee.length==0||y>=x.viewTo||E<=x.viewFrom?(x.view=zo(a,y,E),x.viewFrom=y):(x.viewFrom>y?x.view=zo(a,y,x.viewFrom).concat(x.view):x.viewFrom<y&&(x.view=x.view.slice(Xl(a,y))),x.viewFrom=y,x.viewTo<E?x.view=x.view.concat(zo(a,x.viewTo,E)):x.viewTo>E&&(x.view=x.view.slice(0,Xl(a,E)))),x.viewTo=E}function Ps(a){for(var y=a.display.view,E=0,x=0;x<y.length;x++){var ee=y[x];!ee.hidden&&(!ee.node||ee.changes)&&++E}return E}function ss(a){a.display.input.showSelection(a.display.input.prepareSelection())}function vu(a,y){y===void 0&&(y=!0);for(var E=a.doc,x={},ee=x.cursors=document.createDocumentFragment(),ie=x.selection=document.createDocumentFragment(),fe=0;fe<E.sel.ranges.length;fe++)if(!(!y&&fe==E.sel.primIndex)){var Ae=E.sel.ranges[fe];if(!(Ae.from().line>=a.display.viewTo||Ae.to().line<a.display.viewFrom)){var Ne=Ae.empty();(Ne||a.options.showCursorWhenSelecting)&&Gs(a,Ae.head,ee),Ne||Au(a,Ae,ie)}}return x}function Gs(a,y,E){var x=fa(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),ee=E.appendChild(lt("div","\xA0","CodeMirror-cursor"));if(ee.style.left=x.left+"px",ee.style.top=x.top+"px",ee.style.height=Math.max(0,x.bottom-x.top)*a.options.cursorHeight+"px",x.other){var ie=E.appendChild(lt("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ie.style.display="",ie.style.left=x.other.left+"px",ie.style.top=x.other.top+"px",ie.style.height=(x.other.bottom-x.other.top)*.85+"px"}}function xs(a,y){return a.top-y.top||a.left-y.left}function Au(a,y,E){var x=a.display,ee=a.doc,ie=document.createDocumentFragment(),fe=Ea(a.display),Ae=fe.left,Ne=Math.max(x.sizerWidth,Ya(a)-x.sizer.offsetLeft)-fe.right,qe=ee.direction=="ltr";function gn(ji,fo,No,Po){fo<0&&(fo=0),fo=Math.round(fo),Po=Math.round(Po),ie.appendChild(lt("div",null,"CodeMirror-selected","position: absolute; left: "+ji+`px;
top: `+fo+"px; width: "+(No==null?Ne-ji:No)+`px;
height: `+(Po-fo)+"px"))}function Mn(ji,fo,No){var Po=nn(ee,ji),ta=Po.text.length,Va,Ol;function ll(bl,Kl){return Qa(a,Ve(ji,bl),"div",Po,Kl)}function $l(bl,Kl,Tl){var Sl=wa(a,Po,null,bl),Cl=Kl=="ltr"==(Tl=="after")?"left":"right",sl=Tl=="after"?Sl.begin:Sl.end-(/\s/.test(Po.text.charAt(Sl.end-1))?2:1);return ll(sl,Cl)[Cl]}var Vl=Le(Po,ee.direction);return Ie(Vl,fo||0,No==null?ta:No,function(bl,Kl,Tl,Sl){var Cl=Tl=="ltr",sl=ll(bl,Cl?"left":"right"),Ul=ll(Kl-1,Cl?"right":"left"),qs=fo==null&&bl==0,ks=No==null&&Kl==ta,Zl=Sl==0,bs=!Vl||Sl==Vl.length-1;if(Ul.top-sl.top<=3){var Ml=(qe?qs:ks)&&Zl,ku=(qe?ks:qs)&&bs,As=Ml?Ae:(Cl?sl:Ul).left,Ks=ku?Ne:(Cl?Ul:sl).right;gn(As,sl.top,Ks-As,sl.bottom)}else{var Us,zl,eu,Lu;Cl?(Us=qe&&qs&&Zl?Ae:sl.left,zl=qe?Ne:$l(bl,Tl,"before"),eu=qe?Ae:$l(Kl,Tl,"after"),Lu=qe&&ks&&bs?Ne:Ul.right):(Us=qe?$l(bl,Tl,"before"):Ae,zl=!qe&&qs&&Zl?Ne:sl.right,eu=!qe&&ks&&bs?Ae:Ul.left,Lu=qe?$l(Kl,Tl,"after"):Ne),gn(Us,sl.top,zl-Us,sl.bottom),sl.bottom<Ul.top&&gn(Ae,sl.bottom,null,Ul.top),gn(eu,Ul.top,Lu-eu,Ul.bottom)}(!Va||xs(sl,Va)<0)&&(Va=sl),xs(Ul,Va)<0&&(Va=Ul),(!Ol||xs(sl,Ol)<0)&&(Ol=sl),xs(Ul,Ol)<0&&(Ol=Ul)}),{start:Va,end:Ol}}var lr=y.from(),ir=y.to();if(lr.line==ir.line)Mn(lr.line,lr.ch,ir.ch);else{var Zr=nn(ee,lr.line),si=nn(ee,ir.line),Di=$t(Zr)==$t(si),zi=Mn(lr.line,lr.ch,Di?Zr.text.length+1:null).end,ao=Mn(ir.line,Di?0:null,ir.ch).start;Di&&(zi.top<ao.top-2?(gn(zi.right,zi.top,null,zi.bottom),gn(Ae,ao.top,ao.left,ao.bottom)):gn(zi.right,zi.top,ao.left-zi.right,zi.bottom)),zi.bottom<ao.top&&gn(Ae,zi.bottom,null,ao.top)}E.appendChild(ie)}function Ts(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var E=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||vs(a),y.cursorDiv.style.visibility=(E=!E)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function pu(a){a.state.focused||(a.display.input.focus(),us(a))}function Rs(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,vs(a))},100)}function us(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(un(a,"focus",a,y),a.state.focused=!0,me(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Be&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ts(a))}function vs(a,y){a.state.delayingBlurEvent||(a.state.focused&&(un(a,"blur",a,y),a.state.focused=!1,ht(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Eo(a){for(var y=a.display,E=y.lineDiv.offsetTop,x=0;x<y.view.length;x++){var ee=y.view[x],ie=a.options.lineWrapping,fe=void 0,Ae=0;if(!ee.hidden){if(Me&&Ce<8){var Ne=ee.node.offsetTop+ee.node.offsetHeight;fe=Ne-E,E=Ne}else{var qe=ee.node.getBoundingClientRect();fe=qe.bottom-qe.top,!ie&&ee.text.firstChild&&(Ae=ee.text.firstChild.getBoundingClientRect().right-qe.left-1)}var gn=ee.line.height-fe;if((gn>.005||gn<-.005)&&(er(ee.line,fe),ps(ee.line),ee.rest))for(var Mn=0;Mn<ee.rest.length;Mn++)ps(ee.rest[Mn]);if(Ae>a.display.sizerWidth){var lr=Math.ceil(Ae/il(a.display));lr>a.display.maxLineLength&&(a.display.maxLineLength=lr,a.display.maxLine=ee.line,a.display.maxLineChanged=!0)}}}}function ps(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var E=a.widgets[y],x=E.node.parentNode;x&&(E.height=x.offsetHeight)}}function oe(a,y,E){var x=E&&E.top!=null?Math.max(0,E.top):a.scroller.scrollTop;x=Math.floor(x-Oo(a));var ee=E&&E.bottom!=null?E.bottom:x+a.wrapper.clientHeight,ie=Gt(y,x),fe=Gt(y,ee);if(E&&E.ensure){var Ae=E.ensure.from.line,Ne=E.ensure.to.line;Ae<ie?(ie=Ae,fe=Gt(y,br(nn(y,Ae))+a.wrapper.clientHeight)):Math.min(Ne,y.lastLine())>=fe&&(ie=Gt(y,br(nn(y,Ne))-a.wrapper.clientHeight),fe=Ne)}return{from:ie,to:Math.max(fe,ie+1)}}function Ee(a,y){if(!Ut(a,"scrollCursorIntoView")){var E=a.display,x=E.sizer.getBoundingClientRect(),ee=null;if(y.top+x.top<0?ee=!0:y.bottom+x.top>(window.innerHeight||document.documentElement.clientHeight)&&(ee=!1),ee!=null&&!vt){var ie=lt("div","\u200B",null,`position: absolute;
top: `+(y.top-E.viewOffset-Oo(a.display))+`px;
height: `+(y.bottom-y.top+Oa(a)+E.barHeight)+`px;
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(ie),ie.scrollIntoView(ee),a.display.lineSpace.removeChild(ie)}}}function Ge(a,y,E,x){x==null&&(x=0);var ee;!a.options.lineWrapping&&y==E&&(y=y.ch?Ve(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,E=y.sticky=="before"?Ve(y.line,y.ch+1,"before"):y);for(var ie=0;ie<5;ie++){var fe=!1,Ae=fa(a,y),Ne=!E||E==y?Ae:fa(a,E);ee={left:Math.min(Ae.left,Ne.left),top:Math.min(Ae.top,Ne.top)-x,right:Math.max(Ae.left,Ne.left),bottom:Math.max(Ae.bottom,Ne.bottom)+x};var qe=kt(a,ee),gn=a.doc.scrollTop,Mn=a.doc.scrollLeft;if(qe.scrollTop!=null&&(Er(a,qe.scrollTop),Math.abs(a.doc.scrollTop-gn)>1&&(fe=!0)),qe.scrollLeft!=null&&(Ir(a,qe.scrollLeft),Math.abs(a.doc.scrollLeft-Mn)>1&&(fe=!0)),!fe)break}return ee}function At(a,y){var E=kt(a,y);E.scrollTop!=null&&Er(a,E.scrollTop),E.scrollLeft!=null&&Ir(a,E.scrollLeft)}function kt(a,y){var E=a.display,x=rl(a.display);y.top<0&&(y.top=0);var ee=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:E.scroller.scrollTop,ie=Io(a),fe={};y.bottom-y.top>ie&&(y.bottom=y.top+ie);var Ae=a.doc.height+pa(E),Ne=y.top<x,qe=y.bottom>Ae-x;if(y.top<ee)fe.scrollTop=Ne?0:y.top;else if(y.bottom>ee+ie){var gn=Math.min(y.top,(qe?Ae:y.bottom)-ie);gn!=ee&&(fe.scrollTop=gn)}var Mn=a.options.fixedGutter?0:E.gutters.offsetWidth,lr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:E.scroller.scrollLeft-Mn,ir=Ya(a)-E.gutters.offsetWidth,Zr=y.right-y.left>ir;return Zr&&(y.right=y.left+ir),y.left<10?fe.scrollLeft=0:y.left<lr?fe.scrollLeft=Math.max(0,y.left+Mn-(Zr?0:10)):y.right>ir+lr-3&&(fe.scrollLeft=y.right+(Zr?0:10)-ir),fe}function In(a,y){y!=null&&(hr(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Vn(a){hr(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function Gn(a,y,E){(y!=null||E!=null)&&hr(a),y!=null&&(a.curOp.scrollLeft=y),E!=null&&(a.curOp.scrollTop=E)}function sr(a,y){hr(a),a.curOp.scrollToPos=y}function hr(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var E=Ho(a,y.from),x=Ho(a,y.to);Qn(a,E,x,y.margin)}}function Qn(a,y,E,x){var ee=kt(a,{left:Math.min(y.left,E.left),top:Math.min(y.top,E.top)-x,right:Math.max(y.right,E.right),bottom:Math.max(y.bottom,E.bottom)+x});Gn(a,ee.scrollLeft,ee.scrollTop)}function Er(a,y){Math.abs(a.doc.scrollTop-y)<2||(b||Bo(a,{top:y}),Fr(a,y,!0),b&&Bo(a),vo(a,100))}function Fr(a,y,E){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!E)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Ir(a,y,E,x){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((E?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!x)&&(a.doc.scrollLeft=y,ot(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function Dr(a){var y=a.display,E=y.gutters.offsetWidth,x=Math.round(a.doc.height+pa(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?E:0,docHeight:x,scrollHeight:x+Oa(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:E}}var Mr=function(a,y,E){this.cm=E;var x=this.vert=lt("div",[lt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ee=this.horiz=lt("div",[lt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=ee.tabIndex=-1,a(x),a(ee),vn(x,"scroll",function(){x.clientHeight&&y(x.scrollTop,"vertical")}),vn(ee,"scroll",function(){ee.clientWidth&&y(ee.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Me&&Ce<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Mr.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,E=a.scrollHeight>a.clientHeight+1,x=a.nativeBarWidth;if(E){this.vert.style.display="block",this.vert.style.bottom=y?x+"px":"0";var ee=a.viewHeight-(y?x:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ee)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=E?x+"px":"0",this.horiz.style.left=a.barLeft+"px";var ie=a.viewWidth-a.barLeft-(E?x:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ie)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(x==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:E?x:0,bottom:y?x:0}},Mr.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Mr.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Mr.prototype.zeroWidthHack=function(){var a=je&&!be?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ve,this.disableVert=new ve},Mr.prototype.enableZeroWidthBar=function(a,y,E){a.style.pointerEvents="auto";function x(){var ee=a.getBoundingClientRect(),ie=E=="vert"?document.elementFromPoint(ee.right-1,(ee.top+ee.bottom)/2):document.elementFromPoint((ee.right+ee.left)/2,ee.bottom-1);ie!=a?a.style.pointerEvents="none":y.set(1e3,x)}y.set(1e3,x)},Mr.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var Lr=function(){};Lr.prototype.update=function(){return{bottom:0,right:0}},Lr.prototype.setScrollLeft=function(){},Lr.prototype.setScrollTop=function(){},Lr.prototype.clear=function(){};function Tr(a,y){y||(y=Dr(a));var E=a.display.barWidth,x=a.display.barHeight;xi(a,y);for(var ee=0;ee<4&&E!=a.display.barWidth||x!=a.display.barHeight;ee++)E!=a.display.barWidth&&a.options.lineWrapping&&Eo(a),xi(a,Dr(a)),E=a.display.barWidth,x=a.display.barHeight}function xi(a,y){var E=a.display,x=E.scrollbars.update(y);E.sizer.style.paddingRight=(E.barWidth=x.right)+"px",E.sizer.style.paddingBottom=(E.barHeight=x.bottom)+"px",E.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(E.scrollbarFiller.style.display="block",E.scrollbarFiller.style.height=x.bottom+"px",E.scrollbarFiller.style.width=x.right+"px"):E.scrollbarFiller.style.display="",x.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(E.gutterFiller.style.display="block",E.gutterFiller.style.height=x.bottom+"px",E.gutterFiller.style.width=y.gutterWidth+"px"):E.gutterFiller.style.display=""}var li={native:Mr,null:Lr};function Ur(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&ht(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new li[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),vn(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,E){E=="horizontal"?Ir(a,y):Er(a,y)},a),a.display.scrollbars.addClass&&me(a.display.wrapper,a.display.scrollbars.addClass)}var wi=0;function ri(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++wi},Wa(a.curOp)}function ui(a){var y=a.curOp;y&&Ta(y,function(E){for(var x=0;x<E.ops.length;x++)E.ops[x].cm.curOp=null;oo(E)})}function oo(a){for(var y=a.ops,E=0;E<y.length;E++)Vi(y[E]);for(var x=0;x<y.length;x++)Yi(y[x]);for(var ee=0;ee<y.length;ee++)Wi(y[ee]);for(var ie=0;ie<y.length;ie++)uo(y[ie]);for(var fe=0;fe<y.length;fe++)Qi(y[fe])}function Vi(a){var y=a.cm,E=y.display;qi(y),a.updateMaxLine&&Jr(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<E.viewFrom||a.scrollToPos.to.line>=E.viewTo)||E.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new Ki(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Yi(a){a.updatedDisplay=a.mustUpdate&&Ui(a.cm,a.update)}function Wi(a){var y=a.cm,E=y.display;a.updatedDisplay&&Eo(y),a.barMeasure=Dr(y),E.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=el(y,E.maxLine,E.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(E.scroller.clientWidth,E.sizer.offsetLeft+a.adjustWidthTo+Oa(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,E.sizer.offsetLeft+a.adjustWidthTo-Ya(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=E.input.prepareSelection())}function uo(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&Ir(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var E=a.focus&&a.focus==we();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,E),(a.updatedDisplay||a.startHeight!=y.doc.height)&&Tr(y,a.barMeasure),a.updatedDisplay&&ge(y,a.barMeasure),a.selectionChanged&&Ts(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),E&&pu(a.cm)}function Qi(a){var y=a.cm,E=y.display,x=y.doc;if(a.updatedDisplay&&po(y,a.update),E.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(E.wheelStartX=E.wheelStartY=null),a.scrollTop!=null&&Fr(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Ir(y,a.scrollLeft,!0,!0),a.scrollToPos){var ee=Ge(y,Pt(x,a.scrollToPos.from),Pt(x,a.scrollToPos.to),a.scrollToPos.margin);Ee(y,ee)}var ie=a.maybeHiddenMarkers,fe=a.maybeUnhiddenMarkers;if(ie)for(var Ae=0;Ae<ie.length;++Ae)ie[Ae].lines.length||un(ie[Ae],"hide");if(fe)for(var Ne=0;Ne<fe.length;++Ne)fe[Ne].lines.length&&un(fe[Ne],"unhide");E.wrapper.offsetHeight&&(x.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&un(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function Bi(a,y){if(a.curOp)return y();ri(a);try{return y()}finally{ui(a)}}function Si(a,y){return function(){if(a.curOp)return y.apply(a,arguments);ri(a);try{return y.apply(a,arguments)}finally{ui(a)}}}function Ti(a){return function(){if(this.curOp)return a.apply(this,arguments);ri(this);try{return a.apply(this,arguments)}finally{ui(this)}}}function Mi(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);ri(y);try{return a.apply(this,arguments)}finally{ui(y)}}}function vo(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,Xe(co,a))}function co(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var E=+new Date+a.options.workTime,x=Ar(a,y.highlightFrontier),ee=[];y.iter(x.line,Math.min(y.first+y.size,a.display.viewTo+500),function(ie){if(x.line>=a.display.viewFrom){var fe=ie.styles,Ae=ie.text.length>a.options.maxHighlightLength?On(y.mode,x.state):null,Ne=Un(a,ie,x,!0);Ae&&(x.state=Ae),ie.styles=Ne.styles;var qe=ie.styleClasses,gn=Ne.classes;gn?ie.styleClasses=gn:qe&&(ie.styleClasses=null);for(var Mn=!fe||fe.length!=ie.styles.length||qe!=gn&&(!qe||!gn||qe.bgClass!=gn.bgClass||qe.textClass!=gn.textClass),lr=0;!Mn&&lr<fe.length;++lr)Mn=fe[lr]!=ie.styles[lr];Mn&&ee.push(x.line),ie.stateAfter=x.save(),x.nextLine()}else ie.text.length<=a.options.maxHighlightLength&&Vr(a,ie.text,x),ie.stateAfter=x.line%5==0?x.save():null,x.nextLine();if(+new Date>E)return vo(a,a.options.workDelay),!0}),y.highlightFrontier=x.line,y.modeFrontier=Math.max(y.modeFrontier,x.line),ee.length&&Bi(a,function(){for(var ie=0;ie<ee.length;ie++)es(a,ee[ie],"text")})}}var Ki=function(a,y,E){var x=a.display;this.viewport=y,this.visible=oe(x,a.doc,y),this.editorIsHidden=!x.wrapper.offsetWidth,this.wrapperHeight=x.wrapper.clientHeight,this.wrapperWidth=x.wrapper.clientWidth,this.oldDisplayWidth=Ya(a),this.force=E,this.dims=kl(a),this.events=[]};Ki.prototype.signal=function(a,y){mn(a,y)&&this.events.push(arguments)},Ki.prototype.finish=function(){for(var a=0;a<this.events.length;a++)un.apply(null,this.events[a])};function qi(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=Oa(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=Oa(a)+"px",y.scrollbarsClipped=!0)}function Fi(a){if(a.hasFocus())return null;var y=we();if(!y||!Te(a.display.lineDiv,y))return null;var E={activeElt:y};if(window.getSelection){var x=window.getSelection();x.anchorNode&&x.extend&&Te(a.display.lineDiv,x.anchorNode)&&(E.anchorNode=x.anchorNode,E.anchorOffset=x.anchorOffset,E.focusNode=x.focusNode,E.focusOffset=x.focusOffset)}return E}function Gi(a){if(!(!a||!a.activeElt||a.activeElt==we())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Te(document.body,a.anchorNode)&&Te(document.body,a.focusNode))){var y=window.getSelection(),E=document.createRange();E.setEnd(a.anchorNode,a.anchorOffset),E.collapse(!1),y.removeAllRanges(),y.addRange(E),y.extend(a.focusNode,a.focusOffset)}}function Ui(a,y){var E=a.display,x=a.doc;if(y.editorIsHidden)return Ql(a),!1;if(!y.force&&y.visible.from>=E.viewFrom&&y.visible.to<=E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo)&&E.renderedView==E.view&&Ps(a)==0)return!1;wt(a)&&(Ql(a),y.dims=kl(a));var ee=x.first+x.size,ie=Math.max(y.visible.from-a.options.viewportMargin,x.first),fe=Math.min(ee,y.visible.to+a.options.viewportMargin);E.viewFrom<ie&&ie-E.viewFrom<20&&(ie=Math.max(x.first,E.viewFrom)),E.viewTo>fe&&E.viewTo-fe<20&&(fe=Math.min(ee,E.viewTo)),gr&&(ie=Dn(a.doc,ie),fe=jn(a.doc,fe));var Ae=ie!=E.viewFrom||fe!=E.viewTo||E.lastWrapHeight!=y.wrapperHeight||E.lastWrapWidth!=y.wrapperWidth;Ys(a,ie,fe),E.viewOffset=br(nn(a.doc,E.viewFrom)),a.display.mover.style.top=E.viewOffset+"px";var Ne=Ps(a);if(!Ae&&Ne==0&&!y.force&&E.renderedView==E.view&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo))return!1;var qe=Fi(a);return Ne>4&&(E.lineDiv.style.display="none"),Mo(a,E.updateLineNumbers,y.dims),Ne>4&&(E.lineDiv.style.display=""),E.renderedView=E.view,Gi(qe),Rt(E.cursorDiv),Rt(E.selectionDiv),E.gutters.style.height=E.sizer.style.minHeight=0,Ae&&(E.lastWrapHeight=y.wrapperHeight,E.lastWrapWidth=y.wrapperWidth,vo(a,400)),E.updateLineNumbers=null,!0}function po(a,y){for(var E=y.viewport,x=!0;;x=!1){if(!x||!a.options.lineWrapping||y.oldDisplayWidth==Ya(a)){if(E&&E.top!=null&&(E={top:Math.min(a.doc.height+pa(a.display)-Io(a),E.top)}),y.visible=oe(a.display,a.doc,E),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else x&&(y.visible=oe(a.display,a.doc,E));if(!Ui(a,y))break;Eo(a);var ee=Dr(a);ss(a),Tr(a,ee),ge(a,ee),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Bo(a,y){var E=new Ki(a,y);if(Ui(a,E)){Eo(a),po(a,E);var x=Dr(a);ss(a),Tr(a,x),ge(a,x),E.finish()}}function Mo(a,y,E){var x=a.display,ee=a.options.lineNumbers,ie=x.lineDiv,fe=ie.firstChild;function Ae(Zr){var si=Zr.nextSibling;return Be&&je&&a.display.currentWheelTarget==Zr?Zr.style.display="none":Zr.parentNode.removeChild(Zr),si}for(var Ne=x.view,qe=x.viewFrom,gn=0;gn<Ne.length;gn++){var Mn=Ne[gn];if(!Mn.hidden)if(!Mn.node||Mn.node.parentNode!=ie){var lr=fi(a,Mn,qe,E);ie.insertBefore(lr,fe)}else{for(;fe!=Mn.node;)fe=Ae(fe);var ir=ee&&y!=null&&y<=qe&&Mn.lineNumber;Mn.changes&&(Mt(Mn.changes,"gutter")>-1&&(ir=!1),ul(a,Mn,qe,E)),ir&&(Rt(Mn.lineNumber),Mn.lineNumber.appendChild(document.createTextNode(gt(a.options,qe)))),fe=Mn.node.nextSibling}qe+=Mn.size}for(;fe;)fe=Ae(fe)}function ye(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function ge(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+Oa(a)+"px"}function ot(a){var y=a.display,E=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var x=ls(y)-y.scroller.scrollLeft+a.doc.scrollLeft,ee=y.gutters.offsetWidth,ie=x+"px",fe=0;fe<E.length;fe++)if(!E[fe].hidden){a.options.fixedGutter&&(E[fe].gutter&&(E[fe].gutter.style.left=ie),E[fe].gutterBackground&&(E[fe].gutterBackground.style.left=ie));var Ae=E[fe].alignable;if(Ae)for(var Ne=0;Ne<Ae.length;Ne++)Ae[Ne].style.left=ie}a.options.fixedGutter&&(y.gutters.style.left=x+ee+"px")}}function wt(a){if(!a.options.lineNumbers)return!1;var y=a.doc,E=gt(a.options,y.first+y.size-1),x=a.display;if(E.length!=x.lineNumChars){var ee=x.measure.appendChild(lt("div",[lt("div",E)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ie=ee.firstChild.offsetWidth,fe=ee.offsetWidth-ie;return x.lineGutter.style.width="",x.lineNumInnerWidth=Math.max(ie,x.lineGutter.offsetWidth-fe)+1,x.lineNumWidth=x.lineNumInnerWidth+fe,x.lineNumChars=x.lineNumInnerWidth?E.length:-1,x.lineGutter.style.width=x.lineNumWidth+"px",ye(a.display),!0}return!1}function Yt(a,y){for(var E=[],x=!1,ee=0;ee<a.length;ee++){var ie=a[ee],fe=null;if(typeof ie!="string"&&(fe=ie.style,ie=ie.className),ie=="CodeMirror-linenumbers")if(y)x=!0;else continue;E.push({className:ie,style:fe})}return y&&!x&&E.push({className:"CodeMirror-linenumbers",style:null}),E}function rn(a){var y=a.gutters,E=a.gutterSpecs;Rt(y),a.lineGutter=null;for(var x=0;x<E.length;++x){var ee=E[x],ie=ee.className,fe=ee.style,Ae=y.appendChild(lt("div",null,"CodeMirror-gutter "+ie));fe&&(Ae.style.cssText=fe),ie=="CodeMirror-linenumbers"&&(a.lineGutter=Ae,Ae.style.width=(a.lineNumWidth||1)+"px")}y.style.display=E.length?"":"none",ye(a)}function wn(a){rn(a.display),vl(a),ot(a)}function bn(a,y,E,x){var ee=this;this.input=E,ee.scrollbarFiller=lt("div",null,"CodeMirror-scrollbar-filler"),ee.scrollbarFiller.setAttribute("cm-not-content","true"),ee.gutterFiller=lt("div",null,"CodeMirror-gutter-filler"),ee.gutterFiller.setAttribute("cm-not-content","true"),ee.lineDiv=ut("div",null,"CodeMirror-code"),ee.selectionDiv=lt("div",null,null,"position: relative; z-index: 1"),ee.cursorDiv=lt("div",null,"CodeMirror-cursors"),ee.measure=lt("div",null,"CodeMirror-measure"),ee.lineMeasure=lt("div",null,"CodeMirror-measure"),ee.lineSpace=ut("div",[ee.measure,ee.lineMeasure,ee.selectionDiv,ee.cursorDiv,ee.lineDiv],null,"position: relative; outline: none");var ie=ut("div",[ee.lineSpace],"CodeMirror-lines");ee.mover=lt("div",[ie],null,"position: relative"),ee.sizer=lt("div",[ee.mover],"CodeMirror-sizer"),ee.sizerWidth=null,ee.heightForcer=lt("div",null,null,"position: absolute; height: "+Jt+"px; width: 1px;"),ee.gutters=lt("div",null,"CodeMirror-gutters"),ee.lineGutter=null,ee.scroller=lt("div",[ee.sizer,ee.heightForcer,ee.gutters],"CodeMirror-scroll"),ee.scroller.setAttribute("tabIndex","-1"),ee.wrapper=lt("div",[ee.scrollbarFiller,ee.gutterFiller,ee.scroller],"CodeMirror"),Me&&Ce<8&&(ee.gutters.style.zIndex=-1,ee.scroller.style.paddingRight=0),!Be&&!(b&&ze)&&(ee.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ee.wrapper):a(ee.wrapper)),ee.viewFrom=ee.viewTo=y.first,ee.reportedViewFrom=ee.reportedViewTo=y.first,ee.view=[],ee.renderedView=null,ee.externalMeasured=null,ee.viewOffset=0,ee.lastWrapHeight=ee.lastWrapWidth=0,ee.updateLineNumbers=null,ee.nativeBarWidth=ee.barHeight=ee.barWidth=0,ee.scrollbarsClipped=!1,ee.lineNumWidth=ee.lineNumInnerWidth=ee.lineNumChars=null,ee.alignWidgets=!1,ee.cachedCharWidth=ee.cachedTextHeight=ee.cachedPaddingH=null,ee.maxLine=null,ee.maxLineLength=0,ee.maxLineChanged=!1,ee.wheelDX=ee.wheelDY=ee.wheelStartX=ee.wheelStartY=null,ee.shift=!1,ee.selForContextMenu=null,ee.activeTouch=null,ee.gutterSpecs=Yt(x.gutters,x.lineNumbers),rn(ee),E.init(ee)}var kn=0,Tn=null;Me?Tn=-.53:b?Tn=15:Fe?Tn=-.7:Ke&&(Tn=-1/3);function or(a){var y=a.wheelDeltaX,E=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),E==null&&a.detail&&a.axis==a.VERTICAL_AXIS?E=a.detail:E==null&&(E=a.wheelDelta),{x:y,y:E}}function tr(a){var y=or(a);return y.x*=Tn,y.y*=Tn,y}function $n(a,y){var E=or(y),x=E.x,ee=E.y,ie=a.display,fe=ie.scroller,Ae=fe.scrollWidth>fe.clientWidth,Ne=fe.scrollHeight>fe.clientHeight;if(x&&Ae||ee&&Ne){if(ee&&je&&Be){e:for(var qe=y.target,gn=ie.view;qe!=fe;qe=qe.parentNode)for(var Mn=0;Mn<gn.length;Mn++)if(gn[Mn].node==qe){a.display.currentWheelTarget=qe;break e}}if(x&&!b&&!de&&Tn!=null){ee&&Ne&&Er(a,Math.max(0,fe.scrollTop+ee*Tn)),Ir(a,Math.max(0,fe.scrollLeft+x*Tn)),(!ee||ee&&Ne)&&Vt(y),ie.wheelStartX=null;return}if(ee&&Tn!=null){var lr=ee*Tn,ir=a.doc.scrollTop,Zr=ir+ie.wrapper.clientHeight;lr<0?ir=Math.max(0,ir+lr-50):Zr=Math.min(a.doc.height,Zr+lr+50),Bo(a,{top:ir,bottom:Zr})}kn<20&&(ie.wheelStartX==null?(ie.wheelStartX=fe.scrollLeft,ie.wheelStartY=fe.scrollTop,ie.wheelDX=x,ie.wheelDY=ee,setTimeout(function(){if(ie.wheelStartX!=null){var si=fe.scrollLeft-ie.wheelStartX,Di=fe.scrollTop-ie.wheelStartY,zi=Di&&ie.wheelDY&&Di/ie.wheelDY||si&&ie.wheelDX&&si/ie.wheelDX;ie.wheelStartX=ie.wheelStartY=null,zi&&(Tn=(Tn*kn+zi)/(kn+1),++kn)}},200)):(ie.wheelDX+=x,ie.wheelDY+=ee))}}var Kn=function(a,y){this.ranges=a,this.primIndex=y};Kn.prototype.primary=function(){return this.ranges[this.primIndex]},Kn.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var E=this.ranges[y],x=a.ranges[y];if(!_t(E.anchor,x.anchor)||!_t(E.head,x.head))return!1}return!0},Kn.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Wn(rr(this.ranges[y].anchor),rr(this.ranges[y].head));return new Kn(a,this.primIndex)},Kn.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Kn.prototype.contains=function(a,y){y||(y=a);for(var E=0;E<this.ranges.length;E++){var x=this.ranges[E];if(yt(y,x.from())>=0&&yt(a,x.to())<=0)return E}return-1};var Wn=function(a,y){this.anchor=a,this.head=y};Wn.prototype.from=function(){return pt(this.anchor,this.head)},Wn.prototype.to=function(){return ar(this.anchor,this.head)},Wn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Or(a,y,E){var x=a&&a.options.selectionsMayTouch,ee=y[E];y.sort(function(lr,ir){return yt(lr.from(),ir.from())}),E=Mt(y,ee);for(var ie=1;ie<y.length;ie++){var fe=y[ie],Ae=y[ie-1],Ne=yt(Ae.to(),fe.from());if(x&&!fe.empty()?Ne>0:Ne>=0){var qe=pt(Ae.from(),fe.from()),gn=ar(Ae.to(),fe.to()),Mn=Ae.empty()?fe.from()==fe.head:Ae.from()==Ae.head;ie<=E&&--E,y.splice(--ie,2,new Wn(Mn?gn:qe,Mn?qe:gn))}}return new Kn(y,E)}function cr(a,y){return new Kn([new Wn(a,y||a)],0)}function Hr(a){return a.text?Ve(a.from.line+a.text.length-1,ct(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Nr(a,y){if(yt(a,y.from)<0)return a;if(yt(a,y.to)<=0)return Hr(y);var E=a.line+y.text.length-(y.to.line-y.from.line)-1,x=a.ch;return a.line==y.to.line&&(x+=Hr(y).ch-y.to.ch),Ve(E,x)}function _r(a,y){for(var E=[],x=0;x<a.sel.ranges.length;x++){var ee=a.sel.ranges[x];E.push(new Wn(Nr(ee.anchor,y),Nr(ee.head,y)))}return Or(a.cm,E,a.sel.primIndex)}function zr(a,y,E){return a.line==y.line?Ve(E.line,a.ch-y.ch+E.ch):Ve(E.line+(a.line-y.line),a.ch)}function Yr(a,y,E){for(var x=[],ee=Ve(a.first,0),ie=ee,fe=0;fe<y.length;fe++){var Ae=y[fe],Ne=zr(Ae.from,ee,ie),qe=zr(Hr(Ae),ee,ie);if(ee=Ae.to,ie=qe,E=="around"){var gn=a.sel.ranges[fe],Mn=yt(gn.head,gn.anchor)<0;x[fe]=new Wn(Mn?qe:Ne,Mn?Ne:qe)}else x[fe]=new Wn(Ne,Ne)}return new Kn(x,a.sel.primIndex)}function ai(a){a.doc.mode=Bt(a.options,a.doc.modeOption),vi(a)}function vi(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,vo(a,100),a.state.modeGen++,a.curOp&&vl(a)}function Ci(a,y){return y.from.ch==0&&y.to.ch==0&&ct(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Xi(a,y,E,x){function ee(ao){return E?E[ao]:null}function ie(ao,ji,fo){oi(ao,ji,fo,x),Uo(ao,"change",ao,y)}function fe(ao,ji){for(var fo=[],No=ao;No<ji;++No)fo.push(new gi(qe[No],ee(No),x));return fo}var Ae=y.from,Ne=y.to,qe=y.text,gn=nn(a,Ae.line),Mn=nn(a,Ne.line),lr=ct(qe),ir=ee(qe.length-1),Zr=Ne.line-Ae.line;if(y.full)a.insert(0,fe(0,qe.length)),a.remove(qe.length,a.size-qe.length);else if(Ci(a,y)){var si=fe(0,qe.length-1);ie(Mn,Mn.text,ir),Zr&&a.remove(Ae.line,Zr),si.length&&a.insert(Ae.line,si)}else if(gn==Mn)if(qe.length==1)ie(gn,gn.text.slice(0,Ae.ch)+lr+gn.text.slice(Ne.ch),ir);else{var Di=fe(1,qe.length-1);Di.push(new gi(lr+gn.text.slice(Ne.ch),ir,x)),ie(gn,gn.text.slice(0,Ae.ch)+qe[0],ee(0)),a.insert(Ae.line+1,Di)}else if(qe.length==1)ie(gn,gn.text.slice(0,Ae.ch)+qe[0]+Mn.text.slice(Ne.ch),ee(0)),a.remove(Ae.line+1,Zr);else{ie(gn,gn.text.slice(0,Ae.ch)+qe[0],ee(0)),ie(Mn,lr+Mn.text.slice(Ne.ch),ir);var zi=fe(1,qe.length-1);Zr>1&&a.remove(Ae.line+1,Zr-1),a.insert(Ae.line+1,zi)}Uo(a,"change",a,y)}function Gr(a,y,E){function x(ee,ie,fe){if(ee.linked)for(var Ae=0;Ae<ee.linked.length;++Ae){var Ne=ee.linked[Ae];if(Ne.doc!=ie){var qe=fe&&Ne.sharedHist;E&&!qe||(y(Ne.doc,qe),x(Ne.doc,ee,qe))}}}x(a,null,!0)}function jr(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,ms(a),ai(a),ii(a),a.options.lineWrapping||Jr(a),a.options.mode=y.modeOption,vl(a)}function ii(a){(a.doc.direction=="rtl"?me:ht)(a.display.lineDiv,"CodeMirror-rtl")}function Sr(a){Bi(a,function(){ii(a),vl(a)})}function xr(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function ti(a,y){var E={from:rr(y.from),to:Hr(y),text:Pn(a,y.from,y.to)};return ca(a,E,y.from.line,y.to.line+1),Gr(a,function(x){return ca(x,E,y.from.line,y.to.line+1)},!0),E}function pi(a){for(;a.length;){var y=ct(a);if(y.ranges)a.pop();else break}}function Ai(a,y){if(y)return pi(a.done),ct(a.done);if(a.done.length&&!ct(a.done).ranges)return ct(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),ct(a.done)}function Ji(a,y,E,x){var ee=a.history;ee.undone.length=0;var ie=+new Date,fe,Ae;if((ee.lastOp==x||ee.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&ee.lastModTime>ie-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(fe=Ai(ee,ee.lastOp==x)))Ae=ct(fe.changes),yt(y.from,y.to)==0&&yt(y.from,Ae.to)==0?Ae.to=Hr(y):fe.changes.push(ti(a,y));else{var Ne=ct(ee.done);for((!Ne||!Ne.ranges)&&wo(a.sel,ee.done),fe={changes:[ti(a,y)],generation:ee.generation},ee.done.push(fe);ee.done.length>ee.undoDepth;)ee.done.shift(),ee.done[0].ranges||ee.done.shift()}ee.done.push(E),ee.generation=++ee.maxGeneration,ee.lastModTime=ee.lastSelTime=ie,ee.lastOp=ee.lastSelOp=x,ee.lastOrigin=ee.lastSelOrigin=y.origin,Ae||un(a,"historyAdded")}function bi(a,y,E,x){var ee=y.charAt(0);return ee=="*"||ee=="+"&&E.ranges.length==x.ranges.length&&E.somethingSelected()==x.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Fo(a,y,E,x){var ee=a.history,ie=x&&x.origin;E==ee.lastSelOp||ie&&ee.lastSelOrigin==ie&&(ee.lastModTime==ee.lastSelTime&&ee.lastOrigin==ie||bi(a,ie,ct(ee.done),y))?ee.done[ee.done.length-1]=y:wo(y,ee.done),ee.lastSelTime=+new Date,ee.lastSelOrigin=ie,ee.lastSelOp=E,x&&x.clearRedo!==!1&&pi(ee.undone)}function wo(a,y){var E=ct(y);E&&E.ranges&&E.equals(a)||y.push(a)}function ca(a,y,E,x){var ee=y["spans_"+a.id],ie=0;a.iter(Math.max(a.first,E),Math.min(a.first+a.size,x),function(fe){fe.markedSpans&&((ee||(ee=y["spans_"+a.id]={}))[ie]=fe.markedSpans),++ie})}function Qo(a){if(!a)return null;for(var y,E=0;E<a.length;++E)a[E].marker.explicitlyCleared?y||(y=a.slice(0,E)):y&&y.push(a[E]);return y?y.length?y:null:a}function oa(a,y){var E=y["spans_"+a.id];if(!E)return null;for(var x=[],ee=0;ee<y.text.length;++ee)x.push(Qo(E[ee]));return x}function ma(a,y){var E=oa(a,y),x=Ni(a,y);if(!E)return x;if(!x)return E;for(var ee=0;ee<E.length;++ee){var ie=E[ee],fe=x[ee];if(ie&&fe)e:for(var Ae=0;Ae<fe.length;++Ae){for(var Ne=fe[Ae],qe=0;qe<ie.length;++qe)if(ie[qe].marker==Ne.marker)continue e;ie.push(Ne)}else fe&&(E[ee]=fe)}return E}function ga(a,y,E){for(var x=[],ee=0;ee<a.length;++ee){var ie=a[ee];if(ie.ranges){x.push(E?Kn.prototype.deepCopy.call(ie):ie);continue}var fe=ie.changes,Ae=[];x.push({changes:Ae});for(var Ne=0;Ne<fe.length;++Ne){var qe=fe[Ne],gn=void 0;if(Ae.push({from:qe.from,to:qe.to,text:qe.text}),y)for(var Mn in qe)(gn=Mn.match(/^spans_(\d+)$/))&&Mt(y,Number(gn[1]))>-1&&(ct(Ae)[Mn]=qe[Mn],delete qe[Mn])}}return x}function To(a,y,E,x){if(x){var ee=a.anchor;if(E){var ie=yt(y,ee)<0;ie!=yt(E,ee)<0?(ee=y,y=E):ie!=yt(y,E)<0&&(y=E)}return new Wn(ee,y)}else return new Wn(E||y,y)}function ko(a,y,E,x,ee){ee==null&&(ee=a.cm&&(a.cm.display.shift||a.extend)),Zi(a,new Kn([To(a.sel.primary(),y,E,ee)],0),x)}function Ia(a,y,E){for(var x=[],ee=a.cm&&(a.cm.display.shift||a.extend),ie=0;ie<a.sel.ranges.length;ie++)x[ie]=To(a.sel.ranges[ie],y[ie],null,ee);var fe=Or(a.cm,x,a.sel.primIndex);Zi(a,fe,E)}function Na(a,y,E,x){var ee=a.sel.ranges.slice(0);ee[y]=E,Zi(a,Or(a.cm,ee,a.sel.primIndex),x)}function ro(a,y,E,x){Zi(a,cr(y,E),x)}function Ao(a,y,E){var x={ranges:y.ranges,update:function(ee){this.ranges=[];for(var ie=0;ie<ee.length;ie++)this.ranges[ie]=new Wn(Pt(a,ee[ie].anchor),Pt(a,ee[ie].head))},origin:E&&E.origin};return un(a,"beforeSelectionChange",a,x),a.cm&&un(a.cm,"beforeSelectionChange",a.cm,x),x.ranges!=y.ranges?Or(a.cm,x.ranges,x.ranges.length-1):y}function eo(a,y,E){var x=a.history.done,ee=ct(x);ee&&ee.ranges?(x[x.length-1]=y,jo(a,y,E)):Zi(a,y,E)}function Zi(a,y,E){jo(a,y,E),Fo(a,a.sel,a.cm?a.cm.curOp.id:NaN,E)}function jo(a,y,E){(mn(a,"beforeSelectionChange")||a.cm&&mn(a.cm,"beforeSelectionChange"))&&(y=Ao(a,y,E));var x=E&&E.bias||(yt(y.primary().head,a.sel.primary().head)<0?-1:1);$o(a,qo(a,y,x,!0)),!(E&&E.scroll===!1)&&a.cm&&Vn(a.cm)}function $o(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,on(a.cm)),Uo(a,"cursorActivity",a))}function ya(a){$o(a,qo(a,a.sel,null,!1))}function qo(a,y,E,x){for(var ee,ie=0;ie<y.ranges.length;ie++){var fe=y.ranges[ie],Ae=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[ie],Ne=Sa(a,fe.anchor,Ae&&Ae.anchor,E,x),qe=Sa(a,fe.head,Ae&&Ae.head,E,x);(ee||Ne!=fe.anchor||qe!=fe.head)&&(ee||(ee=y.ranges.slice(0,ie)),ee[ie]=new Wn(Ne,qe))}return ee?Or(a.cm,ee,y.primIndex):y}function ka(a,y,E,x,ee){var ie=nn(a,y.line);if(ie.markedSpans)for(var fe=0;fe<ie.markedSpans.length;++fe){var Ae=ie.markedSpans[fe],Ne=Ae.marker,qe="selectLeft"in Ne?!Ne.selectLeft:Ne.inclusiveLeft,gn="selectRight"in Ne?!Ne.selectRight:Ne.inclusiveRight;if((Ae.from==null||(qe?Ae.from<=y.ch:Ae.from<y.ch))&&(Ae.to==null||(gn?Ae.to>=y.ch:Ae.to>y.ch))){if(ee&&(un(Ne,"beforeCursorEnter"),Ne.explicitlyCleared))if(ie.markedSpans){--fe;continue}else break;if(!Ne.atomic)continue;if(E){var Mn=Ne.find(x<0?1:-1),lr=void 0;if((x<0?gn:qe)&&(Mn=so(a,Mn,-x,Mn&&Mn.line==y.line?ie:null)),Mn&&Mn.line==y.line&&(lr=yt(Mn,E))&&(x<0?lr<0:lr>0))return ka(a,Mn,y,x,ee)}var ir=Ne.find(x<0?-1:1);return(x<0?qe:gn)&&(ir=so(a,ir,x,ir.line==y.line?ie:null)),ir?ka(a,ir,y,x,ee):null}}return y}function Sa(a,y,E,x,ee){var ie=x||1,fe=ka(a,y,E,ie,ee)||!ee&&ka(a,y,E,ie,!0)||ka(a,y,E,-ie,ee)||!ee&&ka(a,y,E,-ie,!0);return fe||(a.cantEdit=!0,Ve(a.first,0))}function so(a,y,E,x){return E<0&&y.ch==0?y.line>a.first?Pt(a,Ve(y.line-1)):null:E>0&&y.ch==(x||nn(a,y.line)).text.length?y.line<a.first+a.size-1?Ve(y.line+1,0):null:new Ve(y.line,y.ch+E)}function go(a){a.setSelection(Ve(a.firstLine(),0),Ve(a.lastLine()),pe)}function ea(a,y,E){var x={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return x.canceled=!0}};return E&&(x.update=function(ee,ie,fe,Ae){ee&&(x.from=Pt(a,ee)),ie&&(x.to=Pt(a,ie)),fe&&(x.text=fe),Ae!==void 0&&(x.origin=Ae)}),un(a,"beforeChange",a,x),a.cm&&un(a.cm,"beforeChange",a.cm,x),x.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:x.from,to:x.to,text:x.text,origin:x.origin}}function aa(a,y,E){if(a.cm){if(!a.cm.curOp)return Si(a.cm,aa)(a,y,E);if(a.cm.state.suppressEdits)return}if(!((mn(a,"beforeChange")||a.cm&&mn(a.cm,"beforeChange"))&&(y=ea(a,y,!0),!y))){var x=ur&&!E&&_i(a,y.from,y.to);if(x)for(var ee=x.length-1;ee>=0;--ee)la(a,{from:x[ee].from,to:x[ee].to,text:ee?[""]:y.text,origin:y.origin});else la(a,y)}}function la(a,y){if(!(y.text.length==1&&y.text[0]==""&&yt(y.from,y.to)==0)){var E=_r(a,y);Ji(a,y,E,a.cm?a.cm.curOp.id:NaN),ol(a,y,E,Ni(a,y));var x=[];Gr(a,function(ee,ie){!ie&&Mt(x,ee.history)==-1&&(Ha(ee.history,y),x.push(ee.history)),ol(ee,y,null,Ni(ee,y))})}}function za(a,y,E){var x=a.cm&&a.cm.state.suppressEdits;if(!(x&&!E)){for(var ee=a.history,ie,fe=a.sel,Ae=y=="undo"?ee.done:ee.undone,Ne=y=="undo"?ee.undone:ee.done,qe=0;qe<Ae.length&&(ie=Ae[qe],!(E?ie.ranges&&!ie.equals(a.sel):!ie.ranges));qe++);if(qe!=Ae.length){for(ee.lastOrigin=ee.lastSelOrigin=null;;)if(ie=Ae.pop(),ie.ranges){if(wo(ie,Ne),E&&!ie.equals(a.sel)){Zi(a,ie,{clearRedo:!1});return}fe=ie}else if(x){Ae.push(ie);return}else break;var gn=[];wo(fe,Ne),Ne.push({changes:gn,generation:ee.generation}),ee.generation=ie.generation||++ee.maxGeneration;for(var Mn=mn(a,"beforeChange")||a.cm&&mn(a.cm,"beforeChange"),lr=function(si){var Di=ie.changes[si];if(Di.origin=y,Mn&&!ea(a,Di,!1))return Ae.length=0,{};gn.push(ti(a,Di));var zi=si?_r(a,Di):ct(Ae);ol(a,Di,zi,ma(a,Di)),!si&&a.cm&&a.cm.scrollIntoView({from:Di.from,to:Hr(Di)});var ao=[];Gr(a,function(ji,fo){!fo&&Mt(ao,ji.history)==-1&&(Ha(ji.history,Di),ao.push(ji.history)),ol(ji,Di,null,ma(ji,Di))})},ir=ie.changes.length-1;ir>=0;--ir){var Zr=lr(ir);if(Zr)return Zr.v}}}}function ba(a,y){if(y!=0&&(a.first+=y,a.sel=new Kn(fn(a.sel.ranges,function(ee){return new Wn(Ve(ee.anchor.line+y,ee.anchor.ch),Ve(ee.head.line+y,ee.head.ch))}),a.sel.primIndex),a.cm)){vl(a.cm,a.first,a.first-y,y);for(var E=a.cm.display,x=E.viewFrom;x<E.viewTo;x++)es(a.cm,x,"gutter")}}function ol(a,y,E,x){if(a.cm&&!a.cm.curOp)return Si(a.cm,ol)(a,y,E,x);if(y.to.line<a.first){ba(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var ee=y.text.length-1-(a.first-y.from.line);ba(a,ee),y={from:Ve(a.first,0),to:Ve(y.to.line+ee,y.to.ch),text:[ct(y.text)],origin:y.origin}}var ie=a.lastLine();y.to.line>ie&&(y={from:y.from,to:Ve(ie,nn(a,ie).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Pn(a,y.from,y.to),E||(E=_r(a,y)),a.cm?va(a.cm,y,x):Xi(a,y,x),jo(a,E,pe),a.cantEdit&&Sa(a,Ve(a.firstLine(),0))&&(a.cantEdit=!1)}}function va(a,y,E){var x=a.doc,ee=a.display,ie=y.from,fe=y.to,Ae=!1,Ne=ie.line;a.options.lineWrapping||(Ne=Dt($t(nn(x,ie.line))),x.iter(Ne,fe.line+1,function(ir){if(ir==ee.maxLine)return Ae=!0,!0})),x.sel.contains(y.from,y.to)>-1&&on(a),Xi(x,y,E,Ls(a)),a.options.lineWrapping||(x.iter(Ne,ie.line+y.text.length,function(ir){var Zr=Wr(ir);Zr>ee.maxLineLength&&(ee.maxLine=ir,ee.maxLineLength=Zr,ee.maxLineChanged=!0,Ae=!1)}),Ae&&(a.curOp.updateMaxLine=!0)),yr(x,ie.line),vo(a,400);var qe=y.text.length-(fe.line-ie.line)-1;y.full?vl(a):ie.line==fe.line&&y.text.length==1&&!Ci(a.doc,y)?es(a,ie.line,"text"):vl(a,ie.line,fe.line+1,qe);var gn=mn(a,"changes"),Mn=mn(a,"change");if(Mn||gn){var lr={from:ie,to:fe,text:y.text,removed:y.removed,origin:y.origin};Mn&&Uo(a,"change",a,lr),gn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(lr)}a.display.selForContextMenu=null}function Vo(a,y,E,x,ee){var ie;x||(x=E),yt(x,E)<0&&(ie=[x,E],E=ie[0],x=ie[1]),typeof y=="string"&&(y=a.splitLines(y)),aa(a,{from:E,to:x,text:y,origin:ee})}function ha(a,y,E,x){E<a.line?a.line+=x:y<a.line&&(a.line=y,a.ch=0)}function Ca(a,y,E,x){for(var ee=0;ee<a.length;++ee){var ie=a[ee],fe=!0;if(ie.ranges){ie.copied||(ie=a[ee]=ie.deepCopy(),ie.copied=!0);for(var Ae=0;Ae<ie.ranges.length;Ae++)ha(ie.ranges[Ae].anchor,y,E,x),ha(ie.ranges[Ae].head,y,E,x);continue}for(var Ne=0;Ne<ie.changes.length;++Ne){var qe=ie.changes[Ne];if(E<qe.from.line)qe.from=Ve(qe.from.line+x,qe.from.ch),qe.to=Ve(qe.to.line+x,qe.to.ch);else if(y<=qe.to.line){fe=!1;break}}fe||(a.splice(0,ee+1),ee=0)}}function Ha(a,y){var E=y.from.line,x=y.to.line,ee=y.text.length-(x-E)-1;Ca(a.done,E,x,ee),Ca(a.undone,E,x,ee)}function La(a,y,E,x){var ee=y,ie=y;return typeof y=="number"?ie=nn(a,bt(a,y)):ee=Dt(y),ee==null?null:(x(ie,ee)&&a.cm&&es(a.cm,ee,E),ie)}function Go(a){this.lines=a,this.parent=null;for(var y=0,E=0;E<a.length;++E)a[E].parent=this,y+=a[E].height;this.height=y}Go.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var E=a,x=a+y;E<x;++E){var ee=this.lines[E];this.height-=ee.height,Pi(ee),Uo(ee,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,E){this.height+=E,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var x=0;x<y.length;++x)y[x].parent=this},iterN:function(a,y,E){for(var x=a+y;a<x;++a)if(E(this.lines[a]))return!0}};function Aa(a){this.children=a;for(var y=0,E=0,x=0;x<a.length;++x){var ee=a[x];y+=ee.chunkSize(),E+=ee.height,ee.parent=this}this.size=y,this.height=E,this.parent=null}Aa.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var E=0;E<this.children.length;++E){var x=this.children[E],ee=x.chunkSize();if(a<ee){var ie=Math.min(y,ee-a),fe=x.height;if(x.removeInner(a,ie),this.height-=fe-x.height,ee==ie&&(this.children.splice(E--,1),x.parent=null),(y-=ie)==0)break;a=0}else a-=ee}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Go))){var Ae=[];this.collapse(Ae),this.children=[new Go(Ae)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,E){this.size+=y.length,this.height+=E;for(var x=0;x<this.children.length;++x){var ee=this.children[x],ie=ee.chunkSize();if(a<=ie){if(ee.insertInner(a,y,E),ee.lines&&ee.lines.length>50){for(var fe=ee.lines.length%25+25,Ae=fe;Ae<ee.lines.length;){var Ne=new Go(ee.lines.slice(Ae,Ae+=25));ee.height-=Ne.height,this.children.splice(++x,0,Ne),Ne.parent=this}ee.lines=ee.lines.slice(0,fe),this.maybeSpill()}break}a-=ie}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),E=new Aa(y);if(a.parent){a.size-=E.size,a.height-=E.height;var ee=Mt(a.parent.children,a);a.parent.children.splice(ee+1,0,E)}else{var x=new Aa(a.children);x.parent=a,a.children=[x,E],a=x}E.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,E){for(var x=0;x<this.children.length;++x){var ee=this.children[x],ie=ee.chunkSize();if(a<ie){var fe=Math.min(y,ie-a);if(ee.iterN(a,fe,E))return!0;if((y-=fe)==0)break;a=0}else a-=ie}}};var na=function(a,y,E){if(E)for(var x in E)E.hasOwnProperty(x)&&(this[x]=E[x]);this.doc=a,this.node=y};na.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,E=this.line,x=Dt(E);if(!(x==null||!y)){for(var ee=0;ee<y.length;++ee)y[ee]==this&&y.splice(ee--,1);y.length||(E.widgets=null);var ie=Ro(this);er(E,Math.max(0,E.height-ie)),a&&(Bi(a,function(){al(a,E,-ie),es(a,x,"widget")}),Uo(a,"lineWidgetCleared",a,this,x))}},na.prototype.changed=function(){var a=this,y=this.height,E=this.doc.cm,x=this.line;this.height=null;var ee=Ro(this)-y;ee&&(Jn(this.doc,x)||er(x,x.height+ee),E&&Bi(E,function(){E.curOp.forceUpdate=!0,al(E,x,ee),Uo(E,"lineWidgetChanged",E,a,Dt(x))}))},ft(na);function al(a,y,E){br(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&In(a,E)}function ja(a,y,E,x){var ee=new na(a,E,x),ie=a.cm;return ie&&ee.noHScroll&&(ie.display.alignWidgets=!0),La(a,y,"widget",function(fe){var Ae=fe.widgets||(fe.widgets=[]);if(ee.insertAt==null?Ae.push(ee):Ae.splice(Math.min(Ae.length-1,Math.max(0,ee.insertAt)),0,ee),ee.line=fe,ie&&!Jn(a,fe)){var Ne=br(fe)<a.scrollTop;er(fe,fe.height+Ro(ee)),Ne&&In(ie,ee.height),ie.curOp.forceUpdate=!0}return!0}),ie&&Uo(ie,"lineWidgetAdded",ie,ee,typeof y=="number"?y:Dt(y)),ee}var dl=0,pl=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++dl};pl.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&ri(a),mn(this,"clear")){var E=this.find();E&&Uo(this,"clear",E.from,E.to)}for(var x=null,ee=null,ie=0;ie<this.lines.length;++ie){var fe=this.lines[ie],Ae=Rr(fe.markedSpans,this);a&&!this.collapsed?es(a,Dt(fe),"text"):a&&(Ae.to!=null&&(ee=Dt(fe)),Ae.from!=null&&(x=Dt(fe))),fe.markedSpans=hi(fe.markedSpans,Ae),Ae.from==null&&this.collapsed&&!Jn(this.doc,fe)&&a&&er(fe,rl(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var Ne=0;Ne<this.lines.length;++Ne){var qe=$t(this.lines[Ne]),gn=Wr(qe);gn>a.display.maxLineLength&&(a.display.maxLine=qe,a.display.maxLineLength=gn,a.display.maxLineChanged=!0)}x!=null&&a&&this.collapsed&&vl(a,x,ee+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&ya(a.doc)),a&&Uo(a,"markerCleared",a,this,x,ee),y&&ui(a),this.parent&&this.parent.clear()}},pl.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var E,x,ee=0;ee<this.lines.length;++ee){var ie=this.lines[ee],fe=Rr(ie.markedSpans,this);if(fe.from!=null&&(E=Ve(y?ie:Dt(ie),fe.from),a==-1))return E;if(fe.to!=null&&(x=Ve(y?ie:Dt(ie),fe.to),a==1))return x}return E&&{from:E,to:x}},pl.prototype.changed=function(){var a=this,y=this.find(-1,!0),E=this,x=this.doc.cm;!y||!x||Bi(x,function(){var ee=y.line,ie=Dt(y.line),fe=Xa(x,ie);if(fe&&(rs(fe),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!Jn(E.doc,ee)&&E.height!=null){var Ae=E.height;E.height=null;var Ne=Ro(E)-Ae;Ne&&er(ee,ee.height+Ne)}Uo(x,"markerChanged",x,a)})},pl.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||Mt(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},pl.prototype.detachLine=function(a){if(this.lines.splice(Mt(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},ft(pl);function Wl(a,y,E,x,ee){if(x&&x.shared)return cs(a,y,E,x,ee);if(a.cm&&!a.cm.curOp)return Si(a.cm,Wl)(a,y,E,x,ee);var ie=new pl(a,ee),fe=yt(y,E);if(x&&Xt(x,ie,!1),fe>0||fe==0&&ie.clearWhenEmpty!==!1)return ie;if(ie.replacedWith&&(ie.collapsed=!0,ie.widgetNode=ut("span",[ie.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||ie.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(ie.widgetNode.insertLeft=!0)),ie.collapsed){if(It(a,y.line,y,E,ie)||y.line!=E.line&&It(a,E.line,y,E,ie))throw new Error("Inserting collapsed marker partially overlapping an existing one");Kr()}ie.addToHistory&&Ji(a,{from:y,to:E,origin:"markText"},a.sel,NaN);var Ae=y.line,Ne=a.cm,qe;if(a.iter(Ae,E.line+1,function(Mn){Ne&&ie.collapsed&&!Ne.options.lineWrapping&&$t(Mn)==Ne.display.maxLine&&(qe=!0),ie.collapsed&&Ae!=y.line&&er(Mn,0),Qr(Mn,new wr(ie,Ae==y.line?y.ch:null,Ae==E.line?E.ch:null)),++Ae}),ie.collapsed&&a.iter(y.line,E.line+1,function(Mn){Jn(a,Mn)&&er(Mn,0)}),ie.clearOnEnter&&vn(ie,"beforeCursorEnter",function(){return ie.clear()}),ie.readOnly&&(ni(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ie.collapsed&&(ie.id=++dl,ie.atomic=!0),Ne){if(qe&&(Ne.curOp.updateMaxLine=!0),ie.collapsed)vl(Ne,y.line,E.line+1);else if(ie.className||ie.startStyle||ie.endStyle||ie.css||ie.attributes||ie.title)for(var gn=y.line;gn<=E.line;gn++)es(Ne,gn,"text");ie.atomic&&ya(Ne.doc),Uo(Ne,"markerAdded",Ne,ie)}return ie}var xa=function(a,y){this.markers=a,this.primary=y;for(var E=0;E<a.length;++E)a[E].parent=this};xa.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Uo(this,"clear")}},xa.prototype.find=function(a,y){return this.primary.find(a,y)},ft(xa);function cs(a,y,E,x,ee){x=Xt(x),x.shared=!1;var ie=[Wl(a,y,E,x,ee)],fe=ie[0],Ae=x.widgetNode;return Gr(a,function(Ne){Ae&&(x.widgetNode=Ae.cloneNode(!0)),ie.push(Wl(Ne,Pt(Ne,y),Pt(Ne,E),x,ee));for(var qe=0;qe<Ne.linked.length;++qe)if(Ne.linked[qe].isParent)return;fe=ct(ie)}),new xa(ie,fe)}function fl(a){return a.findMarks(Ve(a.first,0),a.clipPos(Ve(a.lastLine())),function(y){return y.parent})}function Ll(a,y){for(var E=0;E<y.length;E++){var x=y[E],ee=x.find(),ie=a.clipPos(ee.from),fe=a.clipPos(ee.to);if(yt(ie,fe)){var Ae=Wl(a,ie,fe,x.primary,x.primary.type);x.markers.push(Ae),Ae.parent=x}}}function Pl(a){for(var y=function(x){var ee=a[x],ie=[ee.primary.doc];Gr(ee.primary.doc,function(Ne){return ie.push(Ne)});for(var fe=0;fe<ee.markers.length;fe++){var Ae=ee.markers[fe];Mt(ie,Ae.doc)==-1&&(Ae.parent=null,ee.markers.splice(fe--,1))}},E=0;E<a.length;E++)y(E)}var Do=0,to=function(a,y,E,x,ee){if(!(this instanceof to))return new to(a,y,E,x,ee);E==null&&(E=0),Aa.call(this,[new Go([new gi("",null)])]),this.first=E,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=E;var ie=Ve(E,0);this.sel=cr(ie),this.history=new xr(null),this.id=++Do,this.modeOption=y,this.lineSep=x,this.direction=ee=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Xi(this,{from:ie,to:ie,text:a}),Zi(this,cr(ie),pe)};to.prototype=ne(Aa.prototype,{constructor:to,iter:function(a,y,E){E?this.iterN(a-this.first,y-a,E):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var E=0,x=0;x<y.length;++x)E+=y[x].height;this.insertInner(a-this.first,y,E)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=en(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:Mi(function(a){var y=Ve(this.first,0),E=this.first+this.size-1;aa(this,{from:y,to:Ve(E,nn(this,E).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&Gn(this.cm,0,0),Zi(this,cr(y),pe)}),replaceRange:function(a,y,E,x){y=Pt(this,y),E=E?Pt(this,E):y,Vo(this,a,y,E,x)},getRange:function(a,y,E){var x=Pn(this,Pt(this,a),Pt(this,y));return E===!1?x:x.join(E||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(Ze(this,a))return nn(this,a)},getLineNumber:function(a){return Dt(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=nn(this,a)),$t(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Pt(this,a)},getCursor:function(a){var y=this.sel.primary(),E;return a==null||a=="head"?E=y.head:a=="anchor"?E=y.anchor:a=="end"||a=="to"||a===!1?E=y.to():E=y.from(),E},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Mi(function(a,y,E){ro(this,Pt(this,typeof a=="number"?Ve(a,y||0):a),null,E)}),setSelection:Mi(function(a,y,E){ro(this,Pt(this,a),Pt(this,y||a),E)}),extendSelection:Mi(function(a,y,E){ko(this,Pt(this,a),y&&Pt(this,y),E)}),extendSelections:Mi(function(a,y){Ia(this,Bn(this,a),y)}),extendSelectionsBy:Mi(function(a,y){var E=fn(this.sel.ranges,a);Ia(this,Bn(this,E),y)}),setSelections:Mi(function(a,y,E){if(a.length){for(var x=[],ee=0;ee<a.length;ee++)x[ee]=new Wn(Pt(this,a[ee].anchor),Pt(this,a[ee].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),Zi(this,Or(this.cm,x,y),E)}}),addSelection:Mi(function(a,y,E){var x=this.sel.ranges.slice(0);x.push(new Wn(Pt(this,a),Pt(this,y||a))),Zi(this,Or(this.cm,x,x.length-1),E)}),getSelection:function(a){for(var y=this.sel.ranges,E,x=0;x<y.length;x++){var ee=Pn(this,y[x].from(),y[x].to());E=E?E.concat(ee):ee}return a===!1?E:E.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],E=this.sel.ranges,x=0;x<E.length;x++){var ee=Pn(this,E[x].from(),E[x].to());a!==!1&&(ee=ee.join(a||this.lineSeparator())),y[x]=ee}return y},replaceSelection:function(a,y,E){for(var x=[],ee=0;ee<this.sel.ranges.length;ee++)x[ee]=a;this.replaceSelections(x,y,E||"+input")},replaceSelections:Mi(function(a,y,E){for(var x=[],ee=this.sel,ie=0;ie<ee.ranges.length;ie++){var fe=ee.ranges[ie];x[ie]={from:fe.from(),to:fe.to(),text:this.splitLines(a[ie]),origin:E}}for(var Ae=y&&y!="end"&&Yr(this,x,y),Ne=x.length-1;Ne>=0;Ne--)aa(this,x[Ne]);Ae?eo(this,Ae):this.cm&&Vn(this.cm)}),undo:Mi(function(){za(this,"undo")}),redo:Mi(function(){za(this,"redo")}),undoSelection:Mi(function(){za(this,"undo",!0)}),redoSelection:Mi(function(){za(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,E=0,x=0;x<a.done.length;x++)a.done[x].ranges||++y;for(var ee=0;ee<a.undone.length;ee++)a.undone[ee].ranges||++E;return{undo:y,redo:E}},clearHistory:function(){var a=this;this.history=new xr(this.history.maxGeneration),Gr(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:ga(this.history.done),undone:ga(this.history.undone)}},setHistory:function(a){var y=this.history=new xr(this.history.maxGeneration);y.done=ga(a.done.slice(0),null,!0),y.undone=ga(a.undone.slice(0),null,!0)},setGutterMarker:Mi(function(a,y,E){return La(this,a,"gutter",function(x){var ee=x.gutterMarkers||(x.gutterMarkers={});return ee[y]=E,!E&&re(ee)&&(x.gutterMarkers=null),!0})}),clearGutter:Mi(function(a){var y=this;this.iter(function(E){E.gutterMarkers&&E.gutterMarkers[a]&&La(y,E,"gutter",function(){return E.gutterMarkers[a]=null,re(E.gutterMarkers)&&(E.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!Ze(this,a)||(y=a,a=nn(this,a),!a))return null}else if(y=Dt(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:Mi(function(a,y,E){return La(this,a,y=="gutter"?"gutter":"class",function(x){var ee=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!x[ee])x[ee]=E;else{if(dt(E).test(x[ee]))return!1;x[ee]+=" "+E}return!0})}),removeLineClass:Mi(function(a,y,E){return La(this,a,y=="gutter"?"gutter":"class",function(x){var ee=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",ie=x[ee];if(ie)if(E==null)x[ee]=null;else{var fe=ie.match(dt(E));if(!fe)return!1;var Ae=fe.index+fe[0].length;x[ee]=ie.slice(0,fe.index)+(!fe.index||Ae==ie.length?"":" ")+ie.slice(Ae)||null}else return!1;return!0})}),addLineWidget:Mi(function(a,y,E){return ja(this,a,y,E)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,E){return Wl(this,Pt(this,a),Pt(this,y),E,E&&E.type||"range")},setBookmark:function(a,y){var E={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=Pt(this,a),Wl(this,a,a,E,"bookmark")},findMarksAt:function(a){a=Pt(this,a);var y=[],E=nn(this,a.line).markedSpans;if(E)for(var x=0;x<E.length;++x){var ee=E[x];(ee.from==null||ee.from<=a.ch)&&(ee.to==null||ee.to>=a.ch)&&y.push(ee.marker.parent||ee.marker)}return y},findMarks:function(a,y,E){a=Pt(this,a),y=Pt(this,y);var x=[],ee=a.line;return this.iter(a.line,y.line+1,function(ie){var fe=ie.markedSpans;if(fe)for(var Ae=0;Ae<fe.length;Ae++){var Ne=fe[Ae];!(Ne.to!=null&&ee==a.line&&a.ch>=Ne.to||Ne.from==null&&ee!=a.line||Ne.from!=null&&ee==y.line&&Ne.from>=y.ch)&&(!E||E(Ne.marker))&&x.push(Ne.marker.parent||Ne.marker)}++ee}),x},getAllMarks:function(){var a=[];return this.iter(function(y){var E=y.markedSpans;if(E)for(var x=0;x<E.length;++x)E[x].from!=null&&a.push(E[x].marker)}),a},posFromIndex:function(a){var y,E=this.first,x=this.lineSeparator().length;return this.iter(function(ee){var ie=ee.text.length+x;if(ie>a)return y=a,!0;a-=ie,++E}),Pt(this,Ve(E,y))},indexFromPos:function(a){a=Pt(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var E=this.lineSeparator().length;return this.iter(this.first,a.line,function(x){y+=x.text.length+E}),y},copy:function(a){var y=new to(en(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,E=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<E&&(E=a.to);var x=new to(en(this,y,E),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(x.history=this.history),(this.linked||(this.linked=[])).push({doc:x,sharedHist:a.sharedHist}),x.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],Ll(x,fl(this)),x},unlinkDoc:function(a){if(a instanceof qa&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var E=this.linked[y];if(E.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),Pl(fl(this));break}}if(a.history==this.history){var x=[a.id];Gr(a,function(ee){return x.push(ee.id)},!0),a.history=new xr(null),a.history.done=ga(this.history.done,x),a.history.undone=ga(this.history.undone,x)}},iterLinkedDocs:function(a){Gr(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):_n(a)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Mi(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&Sr(this.cm))})}),to.prototype.eachLine=to.prototype.iter;var Ra=0;function gl(a){var y=this;if(Is(y),!(Ut(y,a)||Lo(y.display,a))){Vt(a),Me&&(Ra=+new Date);var E=ql(y,a,!0),x=a.dataTransfer.files;if(!(!E||y.isReadOnly()))if(x&&x.length&&window.FileReader&&window.File)for(var ee=x.length,ie=Array(ee),fe=0,Ae=function(){++fe==ee&&Si(y,function(){E=Pt(y.doc,E);var ir={from:E,to:E,text:y.doc.splitLines(ie.filter(function(Zr){return Zr!=null}).join(y.doc.lineSeparator())),origin:"paste"};aa(y.doc,ir),eo(y.doc,cr(Pt(y.doc,E),Pt(y.doc,Hr(ir))))})()},Ne=function(ir,Zr){if(y.options.allowDropFileTypes&&Mt(y.options.allowDropFileTypes,ir.type)==-1){Ae();return}var si=new FileReader;si.onerror=function(){return Ae()},si.onload=function(){var Di=si.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Di)){Ae();return}ie[Zr]=Di,Ae()},si.readAsText(ir)},qe=0;qe<x.length;qe++)Ne(x[qe],qe);else{if(y.state.draggingText&&y.doc.sel.contains(E)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var gn=a.dataTransfer.getData("Text");if(gn){var Mn;if(y.state.draggingText&&!y.state.draggingText.copy&&(Mn=y.listSelections()),jo(y.doc,cr(E,E)),Mn)for(var lr=0;lr<Mn.length;++lr)Vo(y.doc,"",Mn[lr].anchor,Mn[lr].head,"drag");y.replaceSelection(gn,"around","paste"),y.display.input.focus()}}catch(ir){}}}}function Rl(a,y){if(Me&&(!a.state.draggingText||+new Date-Ra<100)){Je(y);return}if(!(Ut(a,y)||Lo(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Ke)){var E=lt("img",null,null,"position: fixed; left: 0; top: 0;");E.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",de&&(E.width=E.height=1,a.display.wrapper.appendChild(E),E._top=E.offsetTop),y.dataTransfer.setDragImage(E,0,0),de&&E.parentNode.removeChild(E)}}function Jl(a,y){var E=ql(a,y);if(E){var x=document.createDocumentFragment();Gs(a,E,x),a.display.dragCursor||(a.display.dragCursor=lt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),_e(a.display.dragCursor,x)}}function Is(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Bs(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),E=[],x=0;x<y.length;x++){var ee=y[x].CodeMirror;ee&&E.push(ee)}E.length&&E[0].operation(function(){for(var ie=0;ie<E.length;ie++)a(E[ie])})}}var Zs=!1;function ra(){Zs||(Zo(),Zs=!0)}function Zo(){var a;vn(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Bs(Ri)},100))}),vn(window,"blur",function(){return Bs(vs)})}function Ri(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var yo={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"},Yo=0;Yo<10;Yo++)yo[Yo+48]=yo[Yo+96]=String(Yo);for(var Ua=65;Ua<=90;Ua++)yo[Ua]=String.fromCharCode(Ua);for(var yl=1;yl<=12;yl++)yo[yl+111]=yo[yl+63235]="F"+yl;var hl={};hl.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"},hl.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"},hl.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"},hl.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"]},hl.default=je?hl.macDefault:hl.pcDefault;function ts(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var E,x,ee,ie,fe=0;fe<y.length-1;fe++){var Ae=y[fe];if(/^(cmd|meta|m)$/i.test(Ae))ie=!0;else if(/^a(lt)?$/i.test(Ae))E=!0;else if(/^(c|ctrl|control)$/i.test(Ae))x=!0;else if(/^s(hift)?$/i.test(Ae))ee=!0;else throw new Error("Unrecognized modifier name: "+Ae)}return E&&(a="Alt-"+a),x&&(a="Ctrl-"+a),ie&&(a="Cmd-"+a),ee&&(a="Shift-"+a),a}function Il(a){var y={};for(var E in a)if(a.hasOwnProperty(E)){var x=a[E];if(/^(name|fallthrough|(de|at)tach)$/.test(E))continue;if(x=="..."){delete a[E];continue}for(var ee=fn(E.split(" "),ts),ie=0;ie<ee.length;ie++){var fe=void 0,Ae=void 0;ie==ee.length-1?(Ae=ee.join(" "),fe=x):(Ae=ee.slice(0,ie+1).join(" "),fe="...");var Ne=y[Ae];if(!Ne)y[Ae]=fe;else if(Ne!=fe)throw new Error("Inconsistent bindings for "+Ae)}delete a[E]}for(var qe in y)a[qe]=y[qe];return a}function Fs(a,y,E,x){y=Xs(y);var ee=y.call?y.call(a,x):y[a];if(ee===!1)return"nothing";if(ee==="...")return"multi";if(ee!=null&&E(ee))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Fs(a,y.fallthrough,E,x);for(var ie=0;ie<y.fallthrough.length;ie++){var fe=Fs(a,y.fallthrough[ie],E,x);if(fe)return fe}}}function tu(a){var y=typeof a=="string"?a:yo[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function Hs(a,y,E){var x=a;return y.altKey&&x!="Alt"&&(a="Alt-"+a),(se?y.metaKey:y.ctrlKey)&&x!="Ctrl"&&(a="Ctrl-"+a),(se?y.ctrlKey:y.metaKey)&&x!="Mod"&&(a="Cmd-"+a),!E&&y.shiftKey&&x!="Shift"&&(a="Shift-"+a),a}function Ss(a,y){if(de&&a.keyCode==34&&a.char)return!1;var E=yo[a.keyCode];return E==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(E=a.code),Hs(E,a,y))}function Xs(a){return typeof a=="string"?hl[a]:a}function Es(a,y){for(var E=a.doc.sel.ranges,x=[],ee=0;ee<E.length;ee++){for(var ie=y(E[ee]);x.length&&yt(ie.from,ct(x).to)<=0;){var fe=x.pop();if(yt(fe.from,ie.from)<0){ie.from=fe.from;break}}x.push(ie)}Bi(a,function(){for(var Ae=x.length-1;Ae>=0;Ae--)Vo(a.doc,"",x[Ae].from,x[Ae].to,"+delete");Vn(a)})}function nu(a,y,E){var x=st(a.text,y+E,E);return x<0||x>a.text.length?null:x}function Qs(a,y,E){var x=nu(a,y.ch,E);return x==null?null:new Ve(y.line,x,E<0?"after":"before")}function ru(a,y,E,x,ee){if(a){y.doc.direction=="rtl"&&(ee=-ee);var ie=Le(E,y.doc.direction);if(ie){var fe=ee<0?ct(ie):ie[0],Ae=ee<0==(fe.level==1),Ne=Ae?"after":"before",qe;if(fe.level>0||y.doc.direction=="rtl"){var gn=Al(y,E);qe=ee<0?E.text.length-1:0;var Mn=xl(y,gn,qe).top;qe=Qe(function(lr){return xl(y,gn,lr).top==Mn},ee<0==(fe.level==1)?fe.from:fe.to-1,qe),Ne=="before"&&(qe=nu(E,qe,1))}else qe=ee<0?fe.to:fe.from;return new Ve(x,qe,Ne)}}return new Ve(x,ee<0?E.text.length:0,ee<0?"before":"after")}function gu(a,y,E,x){var ee=Le(y,a.doc.direction);if(!ee)return Qs(y,E,x);E.ch>=y.text.length?(E.ch=y.text.length,E.sticky="before"):E.ch<=0&&(E.ch=0,E.sticky="after");var ie=Et(ee,E.ch,E.sticky),fe=ee[ie];if(a.doc.direction=="ltr"&&fe.level%2==0&&(x>0?fe.to>E.ch:fe.from<E.ch))return Qs(y,E,x);var Ae=function(zi,ao){return nu(y,zi instanceof Ve?zi.ch:zi,ao)},Ne,qe=function(zi){return a.options.lineWrapping?(Ne=Ne||Al(a,y),wa(a,y,Ne,zi)):{begin:0,end:y.text.length}},gn=qe(E.sticky=="before"?Ae(E,-1):E.ch);if(a.doc.direction=="rtl"||fe.level==1){var Mn=fe.level==1==x<0,lr=Ae(E,Mn?1:-1);if(lr!=null&&(Mn?lr<=fe.to&&lr<=gn.end:lr>=fe.from&&lr>=gn.begin)){var ir=Mn?"before":"after";return new Ve(E.line,lr,ir)}}var Zr=function(zi,ao,ji){for(var fo=function(Va,Ol){return Ol?new Ve(E.line,Ae(Va,1),"before"):new Ve(E.line,Va,"after")};zi>=0&&zi<ee.length;zi+=ao){var No=ee[zi],Po=ao>0==(No.level!=1),ta=Po?ji.begin:Ae(ji.end,-1);if(No.from<=ta&&ta<No.to||(ta=Po?No.from:Ae(No.to,-1),ji.begin<=ta&&ta<ji.end))return fo(ta,Po)}},si=Zr(ie+x,x,gn);if(si)return si;var Di=x>0?gn.end:Ae(gn.begin,-1);return Di!=null&&!(x>0&&Di==y.text.length)&&(si=Zr(x>0?0:ee.length-1,x,qe(Di)),si)?si:null}var gs={selectAll:go,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),pe)},killLine:function(a){return Es(a,function(y){if(y.empty()){var E=nn(a.doc,y.head.line).text.length;return y.head.ch==E&&y.head.line<a.lastLine()?{from:y.head,to:Ve(y.head.line+1,0)}:{from:y.head,to:Ve(y.head.line,E)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Es(a,function(y){return{from:Ve(y.from().line,0),to:Pt(a.doc,Ve(y.to().line+1,0))}})},delLineLeft:function(a){return Es(a,function(y){return{from:Ve(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return Es(a,function(y){var E=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:E},"div");return{from:x,to:y.from()}})},delWrappedLineRight:function(a){return Es(a,function(y){var E=a.charCoords(y.head,"div").top+5,x=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:E},"div");return{from:y.from(),to:x}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(Ve(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Ve(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return iu(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return ou(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Du(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var E=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:E},"div")},Ue)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var E=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:E},"div")},Ue)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var E=a.cursorCoords(y.head,"div").top+5,x=a.coordsChar({left:0,top:E},"div");return x.ch<a.getLine(x.line).search(/\S/)?ou(a,y.head):x},Ue)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],E=a.listSelections(),x=a.options.tabSize,ee=0;ee<E.length;ee++){var ie=E[ee].from(),fe=Se(a.getLine(ie.line),ie.ch,x);y.push(Kt(x-fe%x))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Bi(a,function(){for(var y=a.listSelections(),E=[],x=0;x<y.length;x++)if(y[x].empty()){var ee=y[x].head,ie=nn(a.doc,ee.line).text;if(ie){if(ee.ch==ie.length&&(ee=new Ve(ee.line,ee.ch-1)),ee.ch>0)ee=new Ve(ee.line,ee.ch+1),a.replaceRange(ie.charAt(ee.ch-1)+ie.charAt(ee.ch-2),Ve(ee.line,ee.ch-2),ee,"+transpose");else if(ee.line>a.doc.first){var fe=nn(a.doc,ee.line-1).text;fe&&(ee=new Ve(ee.line,1),a.replaceRange(ie.charAt(0)+a.doc.lineSeparator()+fe.charAt(fe.length-1),Ve(ee.line-1,fe.length-1),ee,"+transpose"))}}E.push(new Wn(ee,ee))}a.setSelections(E)})},newlineAndIndent:function(a){return Bi(a,function(){for(var y=a.listSelections(),E=y.length-1;E>=0;E--)a.replaceRange(a.doc.lineSeparator(),y[E].anchor,y[E].head,"+input");y=a.listSelections();for(var x=0;x<y.length;x++)a.indentLine(y[x].from().line,null,!0);Vn(a)})},openLine:function(a){return a.replaceSelection(`
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function iu(a,y){var E=nn(a.doc,y),x=$t(E);return x!=E&&(y=Dt(x)),ru(!0,a,x,y,1)}function Du(a,y){var E=nn(a.doc,y),x=Nn(E);return x!=E&&(y=Dt(x)),ru(!0,a,E,y,-1)}function ou(a,y){var E=iu(a,y.line),x=nn(a.doc,E.line),ee=Le(x,a.doc.direction);if(!ee||ee[0].level==0){var ie=Math.max(E.ch,x.text.search(/\S/)),fe=y.line==E.line&&y.ch<=ie&&y.ch;return Ve(E.line,fe?0:ie,E.sticky)}return E}function Ws(a,y,E){if(typeof y=="string"&&(y=gs[y],!y))return!1;a.display.input.ensurePolled();var x=a.display.shift,ee=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),E&&(a.display.shift=!1),ee=y(a)!=Zt}finally{a.display.shift=x,a.state.suppressEdits=!1}return ee}function Pu(a,y,E){for(var x=0;x<a.state.keyMaps.length;x++){var ee=Fs(y,a.state.keyMaps[x],E,a);if(ee)return ee}return a.options.extraKeys&&Fs(y,a.options.extraKeys,E,a)||Fs(y,a.options.keyMap,E,a)}var Iu=new ve;function zs(a,y,E,x){var ee=a.state.keySeq;if(ee){if(tu(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:Iu.set(50,function(){a.state.keySeq==ee&&(a.state.keySeq=null,a.display.input.reset())}),au(a,ee+" "+y,E,x))return!0}return au(a,y,E,x)}function au(a,y,E,x){var ee=Pu(a,y,x);return ee=="multi"&&(a.state.keySeq=y),ee=="handled"&&Uo(a,"keyHandled",a,y,E),(ee=="handled"||ee=="multi")&&(Vt(E),Ts(a)),!!ee}function js(a,y){var E=Ss(y,!0);return E?y.shiftKey&&!a.state.keySeq?zs(a,"Shift-"+E,y,function(x){return Ws(a,x,!0)})||zs(a,E,y,function(x){if(typeof x=="string"?/^go[A-Z]/.test(x):x.motion)return Ws(a,x)}):zs(a,E,y,function(x){return Ws(a,x)}):!1}function lu(a,y,E){return zs(a,"'"+E+"'",y,function(x){return Ws(a,x,!0)})}var Vs=null;function su(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=we(),!Ut(y,a))){Me&&Ce<11&&a.keyCode==27&&(a.returnValue=!1);var E=a.keyCode;y.display.shift=E==16||a.shiftKey;var x=js(y,a);de&&(Vs=x?E:null,!x&&E==88&&!Qt&&(je?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!je&&!x&&E==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),E==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&yu(y)}}function yu(a){var y=a.display.lineDiv;me(y,"CodeMirror-crosshair");function E(x){(x.keyCode==18||!x.altKey)&&(ht(y,"CodeMirror-crosshair"),Cn(document,"keyup",E),Cn(document,"mouseover",E))}vn(document,"keyup",E),vn(document,"mouseover",E)}function uu(a){a.keyCode==16&&(this.doc.sel.shift=!1),Ut(this,a)}function cu(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Lo(y.display,a)||Ut(y,a)||a.ctrlKey&&!a.altKey||je&&a.metaKey)){var E=a.keyCode,x=a.charCode;if(de&&E==Vs){Vs=null,Vt(a);return}if(!(de&&(!a.which||a.which<10)&&js(y,a))){var ee=String.fromCharCode(x==null?E:x);ee!="\b"&&(lu(y,a,ee)||y.display.input.onKeyPress(a))}}}var Bu=400,Js=function(a,y,E){this.time=a,this.pos=y,this.button=E};Js.prototype.compare=function(a,y,E){return this.time+Bu>a&&yt(y,this.pos)==0&&E==this.button};var ws,Os;function du(a,y){var E=+new Date;return Os&&Os.compare(E,a,y)?(ws=Os=null,"triple"):ws&&ws.compare(E,a,y)?(Os=new Js(E,a,y),ws=null,"double"):(ws=new Js(E,a,y),Os=null,"single")}function fu(a){var y=this,E=y.display;if(!(Ut(y,a)||E.activeTouch&&E.input.supportsTouch())){if(E.input.ensurePolled(),E.shift=a.shiftKey,Lo(E,a)){Be||(E.scroller.draggable=!1,setTimeout(function(){return E.scroller.draggable=!0},100));return}if(!ds(y,a)){var x=ql(y,a),ee=qt(a),ie=x?du(x,ee):"single";window.focus(),ee==1&&y.state.selectingText&&y.state.selectingText(a),!(x&&Fu(y,ee,x,ie,a))&&(ee==1?x?ua(y,x,ie,a):Wt(a)==E.scroller&&Vt(a):ee==2?(x&&ko(y.doc,x),setTimeout(function(){return E.input.focus()},20)):ee==3&&(Oe?y.display.input.onContextMenu(a):Rs(y)))}}}function Fu(a,y,E,x,ee){var ie="Click";return x=="double"?ie="Double"+ie:x=="triple"&&(ie="Triple"+ie),ie=(y==1?"Left":y==2?"Middle":"Right")+ie,zs(a,Hs(ie,ee),ee,function(fe){if(typeof fe=="string"&&(fe=gs[fe]),!fe)return!1;var Ae=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Ae=fe(a,E)!=Zt}finally{a.state.suppressEdits=!1}return Ae})}function ia(a,y,E){var x=a.getOption("configureMouse"),ee=x?x(a,y,E):{};if(ee.unit==null){var ie=at?E.shiftKey&&E.metaKey:E.altKey;ee.unit=ie?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(ee.extend==null||a.doc.extend)&&(ee.extend=a.doc.extend||E.shiftKey),ee.addNew==null&&(ee.addNew=je?E.metaKey:E.ctrlKey),ee.moveOnDrag==null&&(ee.moveOnDrag=!(je?E.altKey:E.ctrlKey)),ee}function ua(a,y,E,x){Me?setTimeout(Xe(pu,a),0):a.curOp.focus=we();var ee=ia(a,E,x),ie=a.doc.sel,fe;a.options.dragDrop&&ln&&!a.isReadOnly()&&E=="single"&&(fe=ie.contains(y))>-1&&(yt((fe=ie.ranges[fe]).from(),y)<0||y.xRel>0)&&(yt(fe.to(),y)>0||y.xRel<0)?Bl(a,x,y,ee):Fl(a,x,y,ee)}function Bl(a,y,E,x){var ee=a.display,ie=!1,fe=Si(a,function(qe){Be&&(ee.scroller.draggable=!1),a.state.draggingText=!1,Cn(ee.wrapper.ownerDocument,"mouseup",fe),Cn(ee.wrapper.ownerDocument,"mousemove",Ae),Cn(ee.scroller,"dragstart",Ne),Cn(ee.scroller,"drop",fe),ie||(Vt(qe),x.addNew||ko(a.doc,E,null,null,x.extend),Be&&!Ke||Me&&Ce==9?setTimeout(function(){ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),ee.input.focus()},20):ee.input.focus())}),Ae=function(qe){ie=ie||Math.abs(y.clientX-qe.clientX)+Math.abs(y.clientY-qe.clientY)>=10},Ne=function(){return ie=!0};Be&&(ee.scroller.draggable=!0),a.state.draggingText=fe,fe.copy=!x.moveOnDrag,ee.scroller.dragDrop&&ee.scroller.dragDrop(),vn(ee.wrapper.ownerDocument,"mouseup",fe),vn(ee.wrapper.ownerDocument,"mousemove",Ae),vn(ee.scroller,"dragstart",Ne),vn(ee.scroller,"drop",fe),Rs(a),setTimeout(function(){return ee.input.focus()},20)}function jl(a,y,E){if(E=="char")return new Wn(y,y);if(E=="word")return a.findWordAt(y);if(E=="line")return new Wn(Ve(y.line,0),Pt(a.doc,Ve(y.line+1,0)));var x=E(a,y);return new Wn(x.from,x.to)}function Fl(a,y,E,x){var ee=a.display,ie=a.doc;Vt(y);var fe,Ae,Ne=ie.sel,qe=Ne.ranges;if(x.addNew&&!x.extend?(Ae=ie.sel.contains(E),Ae>-1?fe=qe[Ae]:fe=new Wn(E,E)):(fe=ie.sel.primary(),Ae=ie.sel.primIndex),x.unit=="rectangle")x.addNew||(fe=new Wn(E,E)),E=ql(a,y,!0,!0),Ae=-1;else{var gn=jl(a,E,x.unit);x.extend?fe=To(fe,gn.anchor,gn.head,x.extend):fe=gn}x.addNew?Ae==-1?(Ae=qe.length,Zi(ie,Or(a,qe.concat([fe]),Ae),{scroll:!1,origin:"*mouse"})):qe.length>1&&qe[Ae].empty()&&x.unit=="char"&&!x.extend?(Zi(ie,Or(a,qe.slice(0,Ae).concat(qe.slice(Ae+1)),0),{scroll:!1,origin:"*mouse"}),Ne=ie.sel):Na(ie,Ae,fe,Re):(Ae=0,Zi(ie,new Kn([fe],0),Re),Ne=ie.sel);var Mn=E;function lr(ji){if(yt(Mn,ji)!=0)if(Mn=ji,x.unit=="rectangle"){for(var fo=[],No=a.options.tabSize,Po=Se(nn(ie,E.line).text,E.ch,No),ta=Se(nn(ie,ji.line).text,ji.ch,No),Va=Math.min(Po,ta),Ol=Math.max(Po,ta),ll=Math.min(E.line,ji.line),$l=Math.min(a.lastLine(),Math.max(E.line,ji.line));ll<=$l;ll++){var Vl=nn(ie,ll).text,bl=tn(Vl,Va,No);Va==Ol?fo.push(new Wn(Ve(ll,bl),Ve(ll,bl))):Vl.length>bl&&fo.push(new Wn(Ve(ll,bl),Ve(ll,tn(Vl,Ol,No))))}fo.length||fo.push(new Wn(E,E)),Zi(ie,Or(a,Ne.ranges.slice(0,Ae).concat(fo),Ae),{origin:"*mouse",scroll:!1}),a.scrollIntoView(ji)}else{var Kl=fe,Tl=jl(a,ji,x.unit),Sl=Kl.anchor,Cl;yt(Tl.anchor,Sl)>0?(Cl=Tl.head,Sl=pt(Kl.from(),Tl.anchor)):(Cl=Tl.anchor,Sl=ar(Kl.to(),Tl.head));var sl=Ne.ranges.slice(0);sl[Ae]=Ms(a,new Wn(Pt(ie,Sl),Cl)),Zi(ie,Or(a,sl,Ae),Re)}}var ir=ee.wrapper.getBoundingClientRect(),Zr=0;function si(ji){var fo=++Zr,No=ql(a,ji,!0,x.unit=="rectangle");if(No)if(yt(No,Mn)!=0){a.curOp.focus=we(),lr(No);var Po=oe(ee,ie);(No.line>=Po.to||No.line<Po.from)&&setTimeout(Si(a,function(){Zr==fo&&si(ji)}),150)}else{var ta=ji.clientY<ir.top?-20:ji.clientY>ir.bottom?20:0;ta&&setTimeout(Si(a,function(){Zr==fo&&(ee.scroller.scrollTop+=ta,si(ji))}),50)}}function Di(ji){a.state.selectingText=!1,Zr=1/0,ji&&(Vt(ji),ee.input.focus()),Cn(ee.wrapper.ownerDocument,"mousemove",zi),Cn(ee.wrapper.ownerDocument,"mouseup",ao),ie.history.lastSelOrigin=null}var zi=Si(a,function(ji){ji.buttons===0||!qt(ji)?Di(ji):si(ji)}),ao=Si(a,Di);a.state.selectingText=ao,vn(ee.wrapper.ownerDocument,"mousemove",zi),vn(ee.wrapper.ownerDocument,"mouseup",ao)}function Ms(a,y){var E=y.anchor,x=y.head,ee=nn(a.doc,E.line);if(yt(E,x)==0&&E.sticky==x.sticky)return y;var ie=Le(ee);if(!ie)return y;var fe=Et(ie,E.ch,E.sticky),Ae=ie[fe];if(Ae.from!=E.ch&&Ae.to!=E.ch)return y;var Ne=fe+(Ae.from==E.ch==(Ae.level!=1)?0:1);if(Ne==0||Ne==ie.length)return y;var qe;if(x.line!=E.line)qe=(x.line-E.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var gn=Et(ie,x.ch,x.sticky),Mn=gn-fe||(x.ch-E.ch)*(Ae.level==1?-1:1);gn==Ne-1||gn==Ne?qe=Mn<0:qe=Mn>0}var lr=ie[Ne+(qe?-1:0)],ir=qe==(lr.level==1),Zr=ir?lr.from:lr.to,si=ir?"after":"before";return E.ch==Zr&&E.sticky==si?y:new Wn(new Ve(E.line,Zr,si),x)}function ys(a,y,E,x){var ee,ie;if(y.touches)ee=y.touches[0].clientX,ie=y.touches[0].clientY;else try{ee=y.clientX,ie=y.clientY}catch(lr){return!1}if(ee>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&Vt(y);var fe=a.display,Ae=fe.lineDiv.getBoundingClientRect();if(ie>Ae.bottom||!mn(a,E))return Ct(y);ie-=Ae.top-fe.viewOffset;for(var Ne=0;Ne<a.display.gutterSpecs.length;++Ne){var qe=fe.gutters.childNodes[Ne];if(qe&&qe.getBoundingClientRect().right>=ee){var gn=Gt(a.doc,ie),Mn=a.display.gutterSpecs[Ne];return un(a,E,a,gn,Mn.className,y),Ct(y)}}}function ds(a,y){return ys(a,y,"gutterClick",!0)}function Ns(a,y){Lo(a.display,y)||hu(a,y)||Ut(a,y,"contextmenu")||Oe||a.display.input.onContextMenu(y)}function hu(a,y){return mn(a,"gutterContextMenu")?ys(a,y,"gutterContextMenu",!1):!1}function Ru(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Gl(a)}var $s={toString:function(){return"CodeMirror.Init"}},Zu={},bu={};function $u(a){var y=a.optionHandlers;function E(x,ee,ie,fe){a.defaults[x]=ee,ie&&(y[x]=fe?function(Ae,Ne,qe){qe!=$s&&ie(Ae,Ne,qe)}:ie)}a.defineOption=E,a.Init=$s,E("value","",function(x,ee){return x.setValue(ee)},!0),E("mode",null,function(x,ee){x.doc.modeOption=ee,ai(x)},!0),E("indentUnit",2,ai,!0),E("indentWithTabs",!1),E("smartIndent",!0),E("tabSize",4,function(x){vi(x),Gl(x),vl(x)},!0),E("lineSeparator",null,function(x,ee){if(x.doc.lineSep=ee,!!ee){var ie=[],fe=x.doc.first;x.doc.iter(function(Ne){for(var qe=0;;){var gn=Ne.text.indexOf(ee,qe);if(gn==-1)break;qe=gn+ee.length,ie.push(Ve(fe,gn))}fe++});for(var Ae=ie.length-1;Ae>=0;Ae--)Vo(x.doc,ee,ie[Ae],Ve(ie[Ae].line,ie[Ae].ch+ee.length))}}),E("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(x,ee,ie){x.state.specialChars=new RegExp(ee.source+(ee.test(" ")?"":"| "),"g"),ie!=$s&&x.refresh()}),E("specialCharPlaceholder",no,function(x){return x.refresh()},!0),E("electricChars",!0),E("inputStyle",ze?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),E("spellcheck",!1,function(x,ee){return x.getInputField().spellcheck=ee},!0),E("autocorrect",!1,function(x,ee){return x.getInputField().autocorrect=ee},!0),E("autocapitalize",!1,function(x,ee){return x.getInputField().autocapitalize=ee},!0),E("rtlMoveVisually",!Nt),E("wholeLineUpdateBefore",!0),E("theme","default",function(x){Ru(x),wn(x)},!0),E("keyMap","default",function(x,ee,ie){var fe=Xs(ee),Ae=ie!=$s&&Xs(ie);Ae&&Ae.detach&&Ae.detach(x,fe),fe.attach&&fe.attach(x,Ae||null)}),E("extraKeys",null),E("configureMouse",null),E("lineWrapping",!1,qu,!0),E("gutters",[],function(x,ee){x.display.gutterSpecs=Yt(ee,x.options.lineNumbers),wn(x)},!0),E("fixedGutter",!0,function(x,ee){x.display.gutters.style.left=ee?ls(x.display)+"px":"0",x.refresh()},!0),E("coverGutterNextToScrollbar",!1,function(x){return Tr(x)},!0),E("scrollbarStyle","native",function(x){Ur(x),Tr(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),E("lineNumbers",!1,function(x,ee){x.display.gutterSpecs=Yt(x.options.gutters,ee),wn(x)},!0),E("firstLineNumber",1,wn,!0),E("lineNumberFormatter",function(x){return x},wn,!0),E("showCursorWhenSelecting",!1,ss,!0),E("resetSelectionOnContextMenu",!0),E("lineWiseCopyCut",!0),E("pasteLinesPerSelection",!0),E("selectionsMayTouch",!1),E("readOnly",!1,function(x,ee){ee=="nocursor"&&(vs(x),x.display.input.blur()),x.display.input.readOnlyChanged(ee)}),E("screenReaderLabel",null,function(x,ee){ee=ee===""?null:ee,x.display.input.screenReaderLabelChanged(ee)}),E("disableInput",!1,function(x,ee){ee||x.display.input.reset()},!0),E("dragDrop",!0,_u),E("allowDropFileTypes",null),E("cursorBlinkRate",530),E("cursorScrollMargin",0),E("cursorHeight",1,ss,!0),E("singleCursorHeightPerLine",!0,ss,!0),E("workTime",100),E("workDelay",100),E("flattenSpans",!0,vi,!0),E("addModeClass",!1,vi,!0),E("pollInterval",100),E("undoDepth",200,function(x,ee){return x.doc.history.undoDepth=ee}),E("historyEventDelay",1250),E("viewportMargin",10,function(x){return x.refresh()},!0),E("maxHighlightLength",1e4,vi,!0),E("moveInputWithCursor",!0,function(x,ee){ee||x.display.input.resetPosition()}),E("tabindex",null,function(x,ee){return x.display.input.getField().tabIndex=ee||""}),E("autofocus",null),E("direction","ltr",function(x,ee){return x.doc.setDirection(ee)},!0),E("phrases",null)}function _u(a,y,E){var x=E&&E!=$s;if(!y!=!x){var ee=a.display.dragFunctions,ie=y?vn:Cn;ie(a.display.scroller,"dragstart",ee.start),ie(a.display.scroller,"dragenter",ee.enter),ie(a.display.scroller,"dragover",ee.over),ie(a.display.scroller,"dragleave",ee.leave),ie(a.display.scroller,"drop",ee.drop)}}function qu(a){a.options.lineWrapping?(me(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(ht(a.display.wrapper,"CodeMirror-wrap"),Jr(a)),ms(a),vl(a),Gl(a),setTimeout(function(){return Tr(a)},100)}function qa(a,y){var E=this;if(!(this instanceof qa))return new qa(a,y);this.options=y=y?Xt(y):{},Xt(Zu,y,!1);var x=y.value;typeof x=="string"?x=new to(x,y.mode,null,y.lineSeparator,y.direction):y.mode&&(x.modeOption=y.mode),this.doc=x;var ee=new qa.inputStyles[y.inputStyle](this),ie=this.display=new bn(a,x,ee,y);ie.wrapper.CodeMirror=this,Ru(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ur(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},y.autofocus&&!ze&&ie.input.focus(),Me&&Ce<11&&setTimeout(function(){return E.display.input.reset(!0)},20),ec(this),ra(),ri(this),this.curOp.forceUpdate=!0,jr(this,x),y.autofocus&&!ze||this.hasFocus()?setTimeout(function(){E.hasFocus()&&!E.state.focused&&us(E)},20):vs(this);for(var fe in bu)bu.hasOwnProperty(fe)&&bu[fe](this,y[fe],$s);wt(this),y.finishInit&&y.finishInit(this);for(var Ae=0;Ae<Ou.length;++Ae)Ou[Ae](this);ui(this),Be&&y.lineWrapping&&getComputedStyle(ie.lineDiv).textRendering=="optimizelegibility"&&(ie.lineDiv.style.textRendering="auto")}qa.defaults=Zu,qa.optionHandlers=bu;function ec(a){var y=a.display;vn(y.scroller,"mousedown",Si(a,fu)),Me&&Ce<11?vn(y.scroller,"dblclick",Si(a,function(Ne){if(!Ut(a,Ne)){var qe=ql(a,Ne);if(!(!qe||ds(a,Ne)||Lo(a.display,Ne))){Vt(Ne);var gn=a.findWordAt(qe);ko(a.doc,gn.anchor,gn.head)}}})):vn(y.scroller,"dblclick",function(Ne){return Ut(a,Ne)||Vt(Ne)}),vn(y.scroller,"contextmenu",function(Ne){return Ns(a,Ne)}),vn(y.input.getField(),"contextmenu",function(Ne){y.scroller.contains(Ne.target)||Ns(a,Ne)});var E,x={end:0};function ee(){y.activeTouch&&(E=setTimeout(function(){return y.activeTouch=null},1e3),x=y.activeTouch,x.end=+new Date)}function ie(Ne){if(Ne.touches.length!=1)return!1;var qe=Ne.touches[0];return qe.radiusX<=1&&qe.radiusY<=1}function fe(Ne,qe){if(qe.left==null)return!0;var gn=qe.left-Ne.left,Mn=qe.top-Ne.top;return gn*gn+Mn*Mn>20*20}vn(y.scroller,"touchstart",function(Ne){if(!Ut(a,Ne)&&!ie(Ne)&&!ds(a,Ne)){y.input.ensurePolled(),clearTimeout(E);var qe=+new Date;y.activeTouch={start:qe,moved:!1,prev:qe-x.end<=300?x:null},Ne.touches.length==1&&(y.activeTouch.left=Ne.touches[0].pageX,y.activeTouch.top=Ne.touches[0].pageY)}}),vn(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),vn(y.scroller,"touchend",function(Ne){var qe=y.activeTouch;if(qe&&!Lo(y,Ne)&&qe.left!=null&&!qe.moved&&new Date-qe.start<300){var gn=a.coordsChar(y.activeTouch,"page"),Mn;!qe.prev||fe(qe,qe.prev)?Mn=new Wn(gn,gn):!qe.prev.prev||fe(qe,qe.prev.prev)?Mn=a.findWordAt(gn):Mn=new Wn(Ve(gn.line,0),Pt(a.doc,Ve(gn.line+1,0))),a.setSelection(Mn.anchor,Mn.head),a.focus(),Vt(Ne)}ee()}),vn(y.scroller,"touchcancel",ee),vn(y.scroller,"scroll",function(){y.scroller.clientHeight&&(Er(a,y.scroller.scrollTop),Ir(a,y.scroller.scrollLeft,!0),un(a,"scroll",a))}),vn(y.scroller,"mousewheel",function(Ne){return $n(a,Ne)}),vn(y.scroller,"DOMMouseScroll",function(Ne){return $n(a,Ne)}),vn(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(Ne){Ut(a,Ne)||Je(Ne)},over:function(Ne){Ut(a,Ne)||(Jl(a,Ne),Je(Ne))},start:function(Ne){return Rl(a,Ne)},drop:Si(a,gl),leave:function(Ne){Ut(a,Ne)||Is(a)}};var Ae=y.input.getField();vn(Ae,"keyup",function(Ne){return uu.call(a,Ne)}),vn(Ae,"keydown",Si(a,su)),vn(Ae,"keypress",Si(a,cu)),vn(Ae,"focus",function(Ne){return us(a,Ne)}),vn(Ae,"blur",function(Ne){return vs(a,Ne)})}var Ou=[];qa.defineInitHook=function(a){return Ou.push(a)};function mu(a,y,E,x){var ee=a.doc,ie;E==null&&(E="add"),E=="smart"&&(ee.mode.indent?ie=Ar(a,y).state:E="prev");var fe=a.options.tabSize,Ae=nn(ee,y),Ne=Se(Ae.text,null,fe);Ae.stateAfter&&(Ae.stateAfter=null);var qe=Ae.text.match(/^\s*/)[0],gn;if(!x&&!/\S/.test(Ae.text))gn=0,E="not";else if(E=="smart"&&(gn=ee.mode.indent(ie,Ae.text.slice(qe.length),Ae.text),gn==Zt||gn>150)){if(!x)return;E="prev"}E=="prev"?y>ee.first?gn=Se(nn(ee,y-1).text,null,fe):gn=0:E=="add"?gn=Ne+a.options.indentUnit:E=="subtract"?gn=Ne-a.options.indentUnit:typeof E=="number"&&(gn=Ne+E),gn=Math.max(0,gn);var Mn="",lr=0;if(a.options.indentWithTabs)for(var ir=Math.floor(gn/fe);ir;--ir)lr+=fe,Mn+=" ";if(lr<gn&&(Mn+=Kt(gn-lr)),Mn!=qe)return Vo(ee,Mn,Ve(y,0),Ve(y,qe.length),"+input"),Ae.stateAfter=null,!0;for(var Zr=0;Zr<ee.sel.ranges.length;Zr++){var si=ee.sel.ranges[Zr];if(si.head.line==y&&si.head.ch<qe.length){var Di=Ve(y,qe.length);Na(ee,Zr,new Wn(Di,Di));break}}}var fs=null;function Cu(a){fs=a}function Mu(a,y,E,x,ee){var ie=a.doc;a.display.shift=!1,x||(x=ie.sel);var fe=+new Date-200,Ae=ee=="paste"||a.state.pasteIncoming>fe,Ne=_n(y),qe=null;if(Ae&&x.ranges.length>1)if(fs&&fs.text.join(`
`)==y){if(x.ranges.length%fs.text.length==0){qe=[];for(var gn=0;gn<fs.text.length;gn++)qe.push(ie.splitLines(fs.text[gn]))}}else Ne.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(qe=fn(Ne,function(zi){return[zi]}));for(var Mn=a.curOp.updateInput,lr=x.ranges.length-1;lr>=0;lr--){var ir=x.ranges[lr],Zr=ir.from(),si=ir.to();ir.empty()&&(E&&E>0?Zr=Ve(Zr.line,Zr.ch-E):a.state.overwrite&&!Ae?si=Ve(si.line,Math.min(nn(ie,si.line).text.length,si.ch+ct(Ne).length)):Ae&&fs&&fs.lineWise&&fs.text.join(`
`)==Ne.join(`
`)&&(Zr=si=Ve(Zr.line,0)));var Di={from:Zr,to:si,text:qe?qe[lr%qe.length]:Ne,origin:ee||(Ae?"paste":a.state.cutIncoming>fe?"cut":"+input")};aa(a.doc,Di),Uo(a,"inputRead",a,Di)}y&&!Ae&&Wu(a,y),Vn(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Mn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Hu(a,y){var E=a.clipboardData&&a.clipboardData.getData("Text");if(E)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&Bi(y,function(){return Mu(y,E,0,null,"paste")}),!0}function Wu(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var E=a.doc.sel,x=E.ranges.length-1;x>=0;x--){var ee=E.ranges[x];if(!(ee.head.ch>100||x&&E.ranges[x-1].head.line==ee.head.line)){var ie=a.getModeAt(ee.head),fe=!1;if(ie.electricChars){for(var Ae=0;Ae<ie.electricChars.length;Ae++)if(y.indexOf(ie.electricChars.charAt(Ae))>-1){fe=mu(a,ee.head.line,"smart");break}}else ie.electricInput&&ie.electricInput.test(nn(a.doc,ee.head.line).text.slice(0,ee.head.ch))&&(fe=mu(a,ee.head.line,"smart"));fe&&Uo(a,"electricInput",a,ee.head.line)}}}function zu(a){for(var y=[],E=[],x=0;x<a.doc.sel.ranges.length;x++){var ee=a.doc.sel.ranges[x].head.line,ie={anchor:Ve(ee,0),head:Ve(ee+1,0)};E.push(ie),y.push(a.getRange(ie.anchor,ie.head))}return{text:y,ranges:E}}function ju(a,y,E,x){a.setAttribute("autocorrect",E?"":"off"),a.setAttribute("autocapitalize",x?"":"off"),a.setAttribute("spellcheck",!!y)}function Vu(){var a=lt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=lt("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Be?a.style.width="1000px":a.setAttribute("wrap","off"),et&&(a.style.border="1px solid black"),ju(a),y}function tc(a){var y=a.optionHandlers,E=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(x,ee){var ie=this.options,fe=ie[x];ie[x]==ee&&x!="mode"||(ie[x]=ee,y.hasOwnProperty(x)&&Si(this,y[x])(this,ee,fe),un(this,"optionChange",this,x))},getOption:function(x){return this.options[x]},getDoc:function(){return this.doc},addKeyMap:function(x,ee){this.state.keyMaps[ee?"push":"unshift"](Xs(x))},removeKeyMap:function(x){for(var ee=this.state.keyMaps,ie=0;ie<ee.length;++ie)if(ee[ie]==x||ee[ie].name==x)return ee.splice(ie,1),!0},addOverlay:Ti(function(x,ee){var ie=x.token?x:a.getMode(this.options,x);if(ie.startState)throw new Error("Overlays may not be stateful.");xt(this.state.overlays,{mode:ie,modeSpec:x,opaque:ee&&ee.opaque,priority:ee&&ee.priority||0},function(fe){return fe.priority}),this.state.modeGen++,vl(this)}),removeOverlay:Ti(function(x){for(var ee=this.state.overlays,ie=0;ie<ee.length;++ie){var fe=ee[ie].modeSpec;if(fe==x||typeof x=="string"&&fe.name==x){ee.splice(ie,1),this.state.modeGen++,vl(this);return}}}),indentLine:Ti(function(x,ee,ie){typeof ee!="string"&&typeof ee!="number"&&(ee==null?ee=this.options.smartIndent?"smart":"prev":ee=ee?"add":"subtract"),Ze(this.doc,x)&&mu(this,x,ee,ie)}),indentSelection:Ti(function(x){for(var ee=this.doc.sel.ranges,ie=-1,fe=0;fe<ee.length;fe++){var Ae=ee[fe];if(Ae.empty())Ae.head.line>ie&&(mu(this,Ae.head.line,x,!0),ie=Ae.head.line,fe==this.doc.sel.primIndex&&Vn(this));else{var Ne=Ae.from(),qe=Ae.to(),gn=Math.max(ie,Ne.line);ie=Math.min(this.lastLine(),qe.line-(qe.ch?0:1))+1;for(var Mn=gn;Mn<ie;++Mn)mu(this,Mn,x);var lr=this.doc.sel.ranges;Ne.ch==0&&ee.length==lr.length&&lr[fe].from().ch>0&&Na(this.doc,fe,new Wn(Ne,lr[fe].to()),pe)}}}),getTokenAt:function(x,ee){return kr(this,x,ee)},getLineTokens:function(x,ee){return kr(this,Ve(x),ee,!0)},getTokenTypeAt:function(x){x=Pt(this.doc,x);var ee=pr(this,nn(this.doc,x.line)),ie=0,fe=(ee.length-1)/2,Ae=x.ch,Ne;if(Ae==0)Ne=ee[2];else for(;;){var qe=ie+fe>>1;if((qe?ee[qe*2-1]:0)>=Ae)fe=qe;else if(ee[qe*2+1]<Ae)ie=qe+1;else{Ne=ee[qe*2+2];break}}var gn=Ne?Ne.indexOf("overlay "):-1;return gn<0?Ne:gn==0?null:Ne.slice(0,gn-1)},getModeAt:function(x){var ee=this.doc.mode;return ee.innerMode?a.innerMode(ee,this.getTokenAt(x).state).mode:ee},getHelper:function(x,ee){return this.getHelpers(x,ee)[0]},getHelpers:function(x,ee){var ie=[];if(!E.hasOwnProperty(ee))return ie;var fe=E[ee],Ae=this.getModeAt(x);if(typeof Ae[ee]=="string")fe[Ae[ee]]&&ie.push(fe[Ae[ee]]);else if(Ae[ee])for(var Ne=0;Ne<Ae[ee].length;Ne++){var qe=fe[Ae[ee][Ne]];qe&&ie.push(qe)}else Ae.helperType&&fe[Ae.helperType]?ie.push(fe[Ae.helperType]):fe[Ae.name]&&ie.push(fe[Ae.name]);for(var gn=0;gn<fe._global.length;gn++){var Mn=fe._global[gn];Mn.pred(Ae,this)&&Mt(ie,Mn.val)==-1&&ie.push(Mn.val)}return ie},getStateAfter:function(x,ee){var ie=this.doc;return x=bt(ie,x==null?ie.first+ie.size-1:x),Ar(this,x+1,ee).state},cursorCoords:function(x,ee){var ie,fe=this.doc.sel.primary();return x==null?ie=fe.head:typeof x=="object"?ie=Pt(this.doc,x):ie=x?fe.from():fe.to(),fa(this,ie,ee||"page")},charCoords:function(x,ee){return Qa(this,Pt(this.doc,x),ee||"page")},coordsChar:function(x,ee){return x=$a(this,x,ee||"page"),sa(this,x.left,x.top)},lineAtHeight:function(x,ee){return x=$a(this,{top:x,left:0},ee||"page").top,Gt(this.doc,x+this.display.viewOffset)},heightAtLine:function(x,ee,ie){var fe=!1,Ae;if(typeof x=="number"){var Ne=this.doc.first+this.doc.size-1;x<this.doc.first?x=this.doc.first:x>Ne&&(x=Ne,fe=!0),Ae=nn(this.doc,x)}else Ae=x;return os(this,Ae,{top:0,left:0},ee||"page",ie||fe).top+(fe?this.doc.height-br(Ae):0)},defaultTextHeight:function(){return rl(this.display)},defaultCharWidth:function(){return il(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,ee,ie,fe,Ae){var Ne=this.display;x=fa(this,Pt(this.doc,x));var qe=x.bottom,gn=x.left;if(ee.style.position="absolute",ee.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ee),Ne.sizer.appendChild(ee),fe=="over")qe=x.top;else if(fe=="above"||fe=="near"){var Mn=Math.max(Ne.wrapper.clientHeight,this.doc.height),lr=Math.max(Ne.sizer.clientWidth,Ne.lineSpace.clientWidth);(fe=="above"||x.bottom+ee.offsetHeight>Mn)&&x.top>ee.offsetHeight?qe=x.top-ee.offsetHeight:x.bottom+ee.offsetHeight<=Mn&&(qe=x.bottom),gn+ee.offsetWidth>lr&&(gn=lr-ee.offsetWidth)}ee.style.top=qe+"px",ee.style.left=ee.style.right="",Ae=="right"?(gn=Ne.sizer.clientWidth-ee.offsetWidth,ee.style.right="0px"):(Ae=="left"?gn=0:Ae=="middle"&&(gn=(Ne.sizer.clientWidth-ee.offsetWidth)/2),ee.style.left=gn+"px"),ie&&At(this,{left:gn,top:qe,right:gn+ee.offsetWidth,bottom:qe+ee.offsetHeight})},triggerOnKeyDown:Ti(su),triggerOnKeyPress:Ti(cu),triggerOnKeyUp:uu,triggerOnMouseDown:Ti(fu),execCommand:function(x){if(gs.hasOwnProperty(x))return gs[x].call(null,this)},triggerElectric:Ti(function(x){Wu(this,x)}),findPosH:function(x,ee,ie,fe){var Ae=1;ee<0&&(Ae=-1,ee=-ee);for(var Ne=Pt(this.doc,x),qe=0;qe<ee&&(Ne=Nu(this.doc,Ne,Ae,ie,fe),!Ne.hitSide);++qe);return Ne},moveH:Ti(function(x,ee){var ie=this;this.extendSelectionsBy(function(fe){return ie.display.shift||ie.doc.extend||fe.empty()?Nu(ie.doc,fe.head,x,ee,ie.options.rtlMoveVisually):x<0?fe.from():fe.to()},Ue)}),deleteH:Ti(function(x,ee){var ie=this.doc.sel,fe=this.doc;ie.somethingSelected()?fe.replaceSelection("",null,"+delete"):Es(this,function(Ae){var Ne=Nu(fe,Ae.head,x,ee,!1);return x<0?{from:Ne,to:Ae.head}:{from:Ae.head,to:Ne}})}),findPosV:function(x,ee,ie,fe){var Ae=1,Ne=fe;ee<0&&(Ae=-1,ee=-ee);for(var qe=Pt(this.doc,x),gn=0;gn<ee;++gn){var Mn=fa(this,qe,"div");if(Ne==null?Ne=Mn.left:Mn.left=Ne,qe=Ku(this,Mn,Ae,ie),qe.hitSide)break}return qe},moveV:Ti(function(x,ee){var ie=this,fe=this.doc,Ae=[],Ne=!this.display.shift&&!fe.extend&&fe.sel.somethingSelected();if(fe.extendSelectionsBy(function(gn){if(Ne)return x<0?gn.from():gn.to();var Mn=fa(ie,gn.head,"div");gn.goalColumn!=null&&(Mn.left=gn.goalColumn),Ae.push(Mn.left);var lr=Ku(ie,Mn,x,ee);return ee=="page"&&gn==fe.sel.primary()&&In(ie,Qa(ie,lr,"div").top-Mn.top),lr},Ue),Ae.length)for(var qe=0;qe<fe.sel.ranges.length;qe++)fe.sel.ranges[qe].goalColumn=Ae[qe]}),findWordAt:function(x){var ee=this.doc,ie=nn(ee,x.line).text,fe=x.ch,Ae=x.ch;if(ie){var Ne=this.getHelper(x,"wordChars");(x.sticky=="before"||Ae==ie.length)&&fe?--fe:++Ae;for(var qe=ie.charAt(fe),gn=he(qe,Ne)?function(Mn){return he(Mn,Ne)}:/\s/.test(qe)?function(Mn){return/\s/.test(Mn)}:function(Mn){return!/\s/.test(Mn)&&!he(Mn)};fe>0&&gn(ie.charAt(fe-1));)--fe;for(;Ae<ie.length&&gn(ie.charAt(Ae));)++Ae}return new Wn(Ve(x.line,fe),Ve(x.line,Ae))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?me(this.display.cursorDiv,"CodeMirror-overwrite"):ht(this.display.cursorDiv,"CodeMirror-overwrite"),un(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==we()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ti(function(x,ee){Gn(this,x,ee)}),getScrollInfo:function(){var x=this.display.scroller;return{left:x.scrollLeft,top:x.scrollTop,height:x.scrollHeight-Oa(this)-this.display.barHeight,width:x.scrollWidth-Oa(this)-this.display.barWidth,clientHeight:Io(this),clientWidth:Ya(this)}},scrollIntoView:Ti(function(x,ee){x==null?(x={from:this.doc.sel.primary().head,to:null},ee==null&&(ee=this.options.cursorScrollMargin)):typeof x=="number"?x={from:Ve(x,0),to:null}:x.from==null&&(x={from:x,to:null}),x.to||(x.to=x.from),x.margin=ee||0,x.from.line!=null?sr(this,x):Qn(this,x.from,x.to,x.margin)}),setSize:Ti(function(x,ee){var ie=this,fe=function(Ne){return typeof Ne=="number"||/^\d+$/.test(String(Ne))?Ne+"px":Ne};x!=null&&(this.display.wrapper.style.width=fe(x)),ee!=null&&(this.display.wrapper.style.height=fe(ee)),this.options.lineWrapping&&Dl(this);var Ae=this.display.viewFrom;this.doc.iter(Ae,this.display.viewTo,function(Ne){if(Ne.widgets){for(var qe=0;qe<Ne.widgets.length;qe++)if(Ne.widgets[qe].noHScroll){es(ie,Ae,"widget");break}}++Ae}),this.curOp.forceUpdate=!0,un(this,"refresh",this)}),operation:function(x){return Bi(this,x)},startOperation:function(){return ri(this)},endOperation:function(){return ui(this)},refresh:Ti(function(){var x=this.display.cachedTextHeight;vl(this),this.curOp.forceUpdate=!0,Gl(this),Gn(this,this.doc.scrollLeft,this.doc.scrollTop),ye(this.display),(x==null||Math.abs(x-rl(this.display))>.5||this.options.lineWrapping)&&ms(this),un(this,"refresh",this)}),swapDoc:Ti(function(x){var ee=this.doc;return ee.cm=null,this.state.selectingText&&this.state.selectingText(),jr(this,x),Gl(this),this.display.input.reset(),Gn(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,Uo(this,"swapDoc",this,ee),ee}),phrase:function(x){var ee=this.options.phrases;return ee&&Object.prototype.hasOwnProperty.call(ee,x)?ee[x]:x},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}},ft(a),a.registerHelper=function(x,ee,ie){E.hasOwnProperty(x)||(E[x]=a[x]={_global:[]}),E[x][ee]=ie},a.registerGlobalHelper=function(x,ee,ie,fe){a.registerHelper(x,ee,fe),E[x]._global.push({pred:ie,val:fe})}}function Nu(a,y,E,x,ee){var ie=y,fe=E,Ae=nn(a,y.line),Ne=ee&&a.direction=="rtl"?-E:E;function qe(){var ao=y.line+Ne;return ao<a.first||ao>=a.first+a.size?!1:(y=new Ve(ao,y.ch,y.sticky),Ae=nn(a,ao))}function gn(ao){var ji;if(x=="codepoint"){var fo=Ae.text.charCodeAt(y.ch+(x>0?0:-1));isNaN(fo)?ji=null:ji=new Ve(y.line,Math.max(0,Math.min(Ae.text.length,y.ch+E*(fo>=55296&&fo<56320?2:1))),-E)}else ee?ji=gu(a.cm,Ae,y,E):ji=Qs(Ae,y,E);if(ji==null)if(!ao&&qe())y=ru(ee,a.cm,Ae,y.line,Ne);else return!1;else y=ji;return!0}if(x=="char"||x=="codepoint")gn();else if(x=="column")gn(!0);else if(x=="word"||x=="group")for(var Mn=null,lr=x=="group",ir=a.cm&&a.cm.getHelper(y,"wordChars"),Zr=!0;!(E<0&&!gn(!Zr));Zr=!1){var si=Ae.text.charAt(y.ch)||`
`,Di=he(si,ir)?"w":lr&&si==`
`?"n":!lr||/\s/.test(si)?null:"p";if(lr&&!Zr&&!Di&&(Di="s"),Mn&&Mn!=Di){E<0&&(E=1,gn(),y.sticky="after");break}if(Di&&(Mn=Di),E>0&&!gn(!Zr))break}var zi=Sa(a,y,ie,fe,!0);return _t(ie,zi)&&(zi.hitSide=!0),zi}function Ku(a,y,E,x){var ee=a.doc,ie=y.left,fe;if(x=="page"){var Ae=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ne=Math.max(Ae-.5*rl(a.display),3);fe=(E>0?y.bottom:y.top)+E*Ne}else x=="line"&&(fe=E>0?y.bottom+3:y.top-3);for(var qe;qe=sa(a,ie,fe),!!qe.outside;){if(E<0?fe<=0:fe>=ee.height){qe.hitSide=!0;break}fe+=E*5}return qe}var Za=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ve,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Za.prototype.init=function(a){var y=this,E=this,x=E.cm,ee=E.div=a.lineDiv;ju(ee,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function ie(Ae){for(var Ne=Ae.target;Ne;Ne=Ne.parentNode){if(Ne==ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ne.className))break}return!1}vn(ee,"paste",function(Ae){!ie(Ae)||Ut(x,Ae)||Hu(Ae,x)||Ce<=11&&setTimeout(Si(x,function(){return y.updateFromDOM()}),20)}),vn(ee,"compositionstart",function(Ae){y.composing={data:Ae.data,done:!1}}),vn(ee,"compositionupdate",function(Ae){y.composing||(y.composing={data:Ae.data,done:!1})}),vn(ee,"compositionend",function(Ae){y.composing&&(Ae.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),vn(ee,"touchstart",function(){return E.forceCompositionEnd()}),vn(ee,"input",function(){y.composing||y.readFromDOMSoon()});function fe(Ae){if(!(!ie(Ae)||Ut(x,Ae))){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()}),Ae.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var Ne=zu(x);Cu({lineWise:!0,text:Ne.text}),Ae.type=="cut"&&x.operation(function(){x.setSelections(Ne.ranges,0,pe),x.replaceSelection("",null,"cut")})}else return;if(Ae.clipboardData){Ae.clipboardData.clearData();var qe=fs.text.join(`
`);if(Ae.clipboardData.setData("Text",qe),Ae.clipboardData.getData("Text")==qe){Ae.preventDefault();return}}var gn=Vu(),Mn=gn.firstChild;x.display.lineSpace.insertBefore(gn,x.display.lineSpace.firstChild),Mn.value=fs.text.join(`
`);var lr=document.activeElement;We(Mn),setTimeout(function(){x.display.lineSpace.removeChild(gn),lr.focus(),lr==ee&&E.showPrimarySelection()},50)}}vn(ee,"copy",fe),vn(ee,"cut",fe)},Za.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Za.prototype.prepareSelection=function(){var a=vu(this.cm,!1);return a.focus=document.activeElement==this.div,a},Za.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Za.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Za.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,E=y.doc.sel.primary(),x=E.from(),ee=E.to();if(y.display.viewTo==y.display.viewFrom||x.line>=y.display.viewTo||ee.line<y.display.viewFrom){a.removeAllRanges();return}var ie=xu(y,a.anchorNode,a.anchorOffset),fe=xu(y,a.focusNode,a.focusOffset);if(!(ie&&!ie.bad&&fe&&!fe.bad&&yt(pt(ie,fe),x)==0&&yt(ar(ie,fe),ee)==0)){var Ae=y.display.view,Ne=x.line>=y.display.viewFrom&&Uu(y,x)||{node:Ae[0].measure.map[2],offset:0},qe=ee.line<y.display.viewTo&&Uu(y,ee);if(!qe){var gn=Ae[Ae.length-1].measure,Mn=gn.maps?gn.maps[gn.maps.length-1]:gn.map;qe={node:Mn[Mn.length-1],offset:Mn[Mn.length-2]-Mn[Mn.length-3]}}if(!Ne||!qe){a.removeAllRanges();return}var lr=a.rangeCount&&a.getRangeAt(0),ir;try{ir=Pe(Ne.node,Ne.offset,qe.offset,qe.node)}catch(Zr){}ir&&(!b&&y.state.focused?(a.collapse(Ne.node,Ne.offset),ir.collapsed||(a.removeAllRanges(),a.addRange(ir))):(a.removeAllRanges(),a.addRange(ir)),lr&&a.anchorNode==null?a.addRange(lr):b&&this.startGracePeriod()),this.rememberSelection()}},Za.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},Za.prototype.showMultipleSelections=function(a){_e(this.cm.display.cursorDiv,a.cursors),_e(this.cm.display.selectionDiv,a.selection)},Za.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Za.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return Te(this.div,y)},Za.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Za.prototype.blur=function(){this.div.blur()},Za.prototype.getField=function(){return this.div},Za.prototype.supportsTouch=function(){return!0},Za.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():Bi(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},Za.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Za.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if($e&&Fe&&this.cm.display.gutterSpecs.length&&nc(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var E=xu(y,a.anchorNode,a.anchorOffset),x=xu(y,a.focusNode,a.focusOffset);E&&x&&Bi(y,function(){Zi(y.doc,cr(E,x),pe),(E.bad||x.bad)&&(y.curOp.selectionChanged=!0)})}}},Za.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,E=a.doc.sel.primary(),x=E.from(),ee=E.to();if(x.ch==0&&x.line>a.firstLine()&&(x=Ve(x.line-1,nn(a.doc,x.line-1).length)),ee.ch==nn(a.doc,ee.line).text.length&&ee.line<a.lastLine()&&(ee=Ve(ee.line+1,0)),x.line<y.viewFrom||ee.line>y.viewTo-1)return!1;var ie,fe,Ae;x.line==y.viewFrom||(ie=Xl(a,x.line))==0?(fe=Dt(y.view[0].line),Ae=y.view[0].node):(fe=Dt(y.view[ie].line),Ae=y.view[ie-1].node.nextSibling);var Ne=Xl(a,ee.line),qe,gn;if(Ne==y.view.length-1?(qe=y.viewTo-1,gn=y.lineDiv.lastChild):(qe=Dt(y.view[Ne+1].line)-1,gn=y.view[Ne+1].node.previousSibling),!Ae)return!1;for(var Mn=a.doc.splitLines(rc(a,Ae,gn,fe,qe)),lr=Pn(a.doc,Ve(fe,0),Ve(qe,nn(a.doc,qe).text.length));Mn.length>1&&lr.length>1;)if(ct(Mn)==ct(lr))Mn.pop(),lr.pop(),qe--;else if(Mn[0]==lr[0])Mn.shift(),lr.shift(),fe++;else break;for(var ir=0,Zr=0,si=Mn[0],Di=lr[0],zi=Math.min(si.length,Di.length);ir<zi&&si.charCodeAt(ir)==Di.charCodeAt(ir);)++ir;for(var ao=ct(Mn),ji=ct(lr),fo=Math.min(ao.length-(Mn.length==1?ir:0),ji.length-(lr.length==1?ir:0));Zr<fo&&ao.charCodeAt(ao.length-Zr-1)==ji.charCodeAt(ji.length-Zr-1);)++Zr;if(Mn.length==1&&lr.length==1&&fe==x.line)for(;ir&&ir>x.ch&&ao.charCodeAt(ao.length-Zr-1)==ji.charCodeAt(ji.length-Zr-1);)ir--,Zr++;Mn[Mn.length-1]=ao.slice(0,ao.length-Zr).replace(/^\u200b+/,""),Mn[0]=Mn[0].slice(ir).replace(/\u200b+$/,"");var No=Ve(fe,ir),Po=Ve(qe,lr.length?ct(lr).length-Zr:0);if(Mn.length>1||Mn[0]||yt(No,Po))return Vo(a.doc,Mn,No,Po,"+input"),!0},Za.prototype.ensurePolled=function(){this.forceCompositionEnd()},Za.prototype.reset=function(){this.forceCompositionEnd()},Za.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Za.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},Za.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Bi(this.cm,function(){return vl(a.cm)})},Za.prototype.setUneditable=function(a){a.contentEditable="false"},Za.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Si(this.cm,Mu)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Za.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Za.prototype.onContextMenu=function(){},Za.prototype.resetPosition=function(){},Za.prototype.needsContentAttribute=!0;function Uu(a,y){var E=Xa(a,y.line);if(!E||E.hidden)return null;var x=nn(a.doc,y.line),ee=wl(E,x,y.line),ie=Le(x,a.doc.direction),fe="left";if(ie){var Ae=Et(ie,y.ch);fe=Ae%2?"right":"left"}var Ne=Yl(ee.map,y.ch,fe);return Ne.offset=Ne.collapse=="right"?Ne.end:Ne.start,Ne}function nc(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function _s(a,y){return y&&(a.bad=!0),a}function rc(a,y,E,x,ee){var ie="",fe=!1,Ae=a.doc.lineSeparator(),Ne=!1;function qe(ir){return function(Zr){return Zr.id==ir}}function gn(){fe&&(ie+=Ae,Ne&&(ie+=Ae),fe=Ne=!1)}function Mn(ir){ir&&(gn(),ie+=ir)}function lr(ir){if(ir.nodeType==1){var Zr=ir.getAttribute("cm-text");if(Zr){Mn(Zr);return}var si=ir.getAttribute("cm-marker"),Di;if(si){var zi=a.findMarks(Ve(x,0),Ve(ee+1,0),qe(+si));zi.length&&(Di=zi[0].find(0))&&Mn(Pn(a.doc,Di.from,Di.to).join(Ae));return}if(ir.getAttribute("contenteditable")=="false")return;var ao=/^(pre|div|p|li|table|br)$/i.test(ir.nodeName);if(!/^br$/i.test(ir.nodeName)&&ir.textContent.length==0)return;ao&&gn();for(var ji=0;ji<ir.childNodes.length;ji++)lr(ir.childNodes[ji]);/^(pre|p)$/i.test(ir.nodeName)&&(Ne=!0),ao&&(fe=!0)}else ir.nodeType==3&&Mn(ir.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;lr(y),y!=E;)y=y.nextSibling,Ne=!1;return ie}function xu(a,y,E){var x;if(y==a.display.lineDiv){if(x=a.display.lineDiv.childNodes[E],!x)return _s(a.clipPos(Ve(a.display.viewTo-1)),!0);y=null,E=0}else for(x=y;;x=x.parentNode){if(!x||x==a.display.lineDiv)return null;if(x.parentNode&&x.parentNode==a.display.lineDiv)break}for(var ee=0;ee<a.display.view.length;ee++){var ie=a.display.view[ee];if(ie.node==x)return ic(ie,y,E)}}function ic(a,y,E){var x=a.text.firstChild,ee=!1;if(!y||!Te(x,y))return _s(Ve(Dt(a.line),0),!0);if(y==x&&(ee=!0,y=x.childNodes[E],E=0,!y)){var ie=a.rest?ct(a.rest):a.line;return _s(Ve(Dt(ie),ie.text.length),ee)}var fe=y.nodeType==3?y:null,Ae=y;for(!fe&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(fe=y.firstChild,E&&(E=fe.nodeValue.length));Ae.parentNode!=x;)Ae=Ae.parentNode;var Ne=a.measure,qe=Ne.maps;function gn(Di,zi,ao){for(var ji=-1;ji<(qe?qe.length:0);ji++)for(var fo=ji<0?Ne.map:qe[ji],No=0;No<fo.length;No+=3){var Po=fo[No+2];if(Po==Di||Po==zi){var ta=Dt(ji<0?a.line:a.rest[ji]),Va=fo[No]+ao;return(ao<0||Po!=Di)&&(Va=fo[No+(ao?1:0)]),Ve(ta,Va)}}}var Mn=gn(fe,Ae,E);if(Mn)return _s(Mn,ee);for(var lr=Ae.nextSibling,ir=fe?fe.nodeValue.length-E:0;lr;lr=lr.nextSibling){if(Mn=gn(lr,lr.firstChild,0),Mn)return _s(Ve(Mn.line,Mn.ch-ir),ee);ir+=lr.textContent.length}for(var Zr=Ae.previousSibling,si=E;Zr;Zr=Zr.previousSibling){if(Mn=gn(Zr,Zr.firstChild,-1),Mn)return _s(Ve(Mn.line,Mn.ch+si),ee);si+=Zr.textContent.length}}var ml=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new ve,this.hasSelection=!1,this.composing=null};ml.prototype.init=function(a){var y=this,E=this,x=this.cm;this.createField(a);var ee=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),et&&(ee.style.width="0px"),vn(ee,"input",function(){Me&&Ce>=9&&y.hasSelection&&(y.hasSelection=null),E.poll()}),vn(ee,"paste",function(fe){Ut(x,fe)||Hu(fe,x)||(x.state.pasteIncoming=+new Date,E.fastPoll())});function ie(fe){if(!Ut(x,fe)){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var Ae=zu(x);Cu({lineWise:!0,text:Ae.text}),fe.type=="cut"?x.setSelections(Ae.ranges,null,pe):(E.prevInput="",ee.value=Ae.text.join(`
`),We(ee))}else return;fe.type=="cut"&&(x.state.cutIncoming=+new Date)}}vn(ee,"cut",ie),vn(ee,"copy",ie),vn(a.scroller,"paste",function(fe){if(!(Lo(a,fe)||Ut(x,fe))){if(!ee.dispatchEvent){x.state.pasteIncoming=+new Date,E.focus();return}var Ae=new Event("paste");Ae.clipboardData=fe.clipboardData,ee.dispatchEvent(Ae)}}),vn(a.lineSpace,"selectstart",function(fe){Lo(a,fe)||Vt(fe)}),vn(ee,"compositionstart",function(){var fe=x.getCursor("from");E.composing&&E.composing.range.clear(),E.composing={start:fe,range:x.markText(fe,x.getCursor("to"),{className:"CodeMirror-composing"})}}),vn(ee,"compositionend",function(){E.composing&&(E.poll(),E.composing.range.clear(),E.composing=null)})},ml.prototype.createField=function(a){this.wrapper=Vu(),this.textarea=this.wrapper.firstChild},ml.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},ml.prototype.prepareSelection=function(){var a=this.cm,y=a.display,E=a.doc,x=vu(a);if(a.options.moveInputWithCursor){var ee=fa(a,E.sel.primary().head,"div"),ie=y.wrapper.getBoundingClientRect(),fe=y.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,ee.top+fe.top-ie.top)),x.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,ee.left+fe.left-ie.left))}return x},ml.prototype.showSelection=function(a){var y=this.cm,E=y.display;_e(E.cursorDiv,a.cursors),_e(E.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},ml.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var E=y.getSelection();this.textarea.value=E,y.state.focused&&We(this.textarea),Me&&Ce>=9&&(this.hasSelection=E)}else a||(this.prevInput=this.textarea.value="",Me&&Ce>=9&&(this.hasSelection=null))}},ml.prototype.getField=function(){return this.textarea},ml.prototype.supportsTouch=function(){return!1},ml.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ze||we()!=this.textarea))try{this.textarea.focus()}catch(a){}},ml.prototype.blur=function(){this.textarea.blur()},ml.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ml.prototype.receivedFocus=function(){this.slowPoll()},ml.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},ml.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function E(){var x=y.poll();!x&&!a?(a=!0,y.polling.set(60,E)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,E)},ml.prototype.poll=function(){var a=this,y=this.cm,E=this.textarea,x=this.prevInput;if(this.contextMenuPending||!y.state.focused||dr(E)&&!x&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var ee=E.value;if(ee==x&&!y.somethingSelected())return!1;if(Me&&Ce>=9&&this.hasSelection===ee||je&&/[\uf700-\uf7ff]/.test(ee))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var ie=ee.charCodeAt(0);if(ie==8203&&!x&&(x="\u200B"),ie==8666)return this.reset(),this.cm.execCommand("undo")}for(var fe=0,Ae=Math.min(x.length,ee.length);fe<Ae&&x.charCodeAt(fe)==ee.charCodeAt(fe);)++fe;return Bi(y,function(){Mu(y,ee.slice(fe),x.length-fe,null,a.composing?"*compose":null),ee.length>1e3||ee.indexOf(`
`)>-1?E.value=a.prevInput="":a.prevInput=ee,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ml.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ml.prototype.onKeyPress=function(){Me&&Ce>=9&&(this.hasSelection=null),this.fastPoll()},ml.prototype.onContextMenu=function(a){var y=this,E=y.cm,x=E.display,ee=y.textarea;y.contextMenuPending&&y.contextMenuPending();var ie=ql(E,a),fe=x.scroller.scrollTop;if(!ie||de)return;var Ae=E.options.resetSelectionOnContextMenu;Ae&&E.doc.sel.contains(ie)==-1&&Si(E,Zi)(E.doc,cr(ie),pe);var Ne=ee.style.cssText,qe=y.wrapper.style.cssText,gn=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",ee.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-gn.top-5)+"px; left: "+(a.clientX-gn.left-5)+`px;
z-index: 1000; background: `+(Me?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Mn;Be&&(Mn=window.scrollY),x.input.focus(),Be&&window.scrollTo(null,Mn),x.input.reset(),E.somethingSelected()||(ee.value=y.prevInput=" "),y.contextMenuPending=ir,x.selForContextMenu=E.doc.sel,clearTimeout(x.detectingSelectAll);function lr(){if(ee.selectionStart!=null){var si=E.somethingSelected(),Di="\u200B"+(si?ee.value:"");ee.value="\u21DA",ee.value=Di,y.prevInput=si?"":"\u200B",ee.selectionStart=1,ee.selectionEnd=Di.length,x.selForContextMenu=E.doc.sel}}function ir(){if(y.contextMenuPending==ir&&(y.contextMenuPending=!1,y.wrapper.style.cssText=qe,ee.style.cssText=Ne,Me&&Ce<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=fe),ee.selectionStart!=null)){(!Me||Me&&Ce<9)&&lr();var si=0,Di=function(){x.selForContextMenu==E.doc.sel&&ee.selectionStart==0&&ee.selectionEnd>0&&y.prevInput=="\u200B"?Si(E,go)(E):si++<10?x.detectingSelectAll=setTimeout(Di,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(Di,200)}}if(Me&&Ce>=9&&lr(),Oe){Je(a);var Zr=function(){Cn(window,"mouseup",Zr),setTimeout(ir,20)};vn(window,"mouseup",Zr)}else setTimeout(ir,50)},ml.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},ml.prototype.setUneditable=function(){},ml.prototype.needsContentAttribute=!1;function oc(a,y){if(y=y?Xt(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var E=we();y.autofocus=E==a||a.getAttribute("autofocus")!=null&&E==document.body}function x(){a.value=Ae.getValue()}var ee;if(a.form&&(vn(a.form,"submit",x),!y.leaveSubmitMethodAlone)){var ie=a.form;ee=ie.submit;try{var fe=ie.submit=function(){x(),ie.submit=ee,ie.submit(),ie.submit=fe}}catch(Ne){}}y.finishInit=function(Ne){Ne.save=x,Ne.getTextArea=function(){return a},Ne.toTextArea=function(){Ne.toTextArea=isNaN,x(),a.parentNode.removeChild(Ne.getWrapperElement()),a.style.display="",a.form&&(Cn(a.form,"submit",x),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ee))}},a.style.display="none";var Ae=qa(function(Ne){return a.parentNode.insertBefore(Ne,a.nextSibling)},y);return Ae}function ac(a){a.off=Cn,a.on=vn,a.wheelEventPixels=tr,a.Doc=to,a.splitLines=_n,a.countColumn=Se,a.findColumn=tn,a.isWordChar=ae,a.Pass=Zt,a.signal=un,a.Line=gi,a.changeEnd=Hr,a.scrollbarModel=li,a.Pos=Ve,a.cmpPos=yt,a.modes=xn,a.mimeModes=sn,a.resolveMode=Sn,a.getMode=Bt,a.modeExtensions=hn,a.extendMode=An,a.copyState=On,a.startState=nr,a.innerMode=Ln,a.commands=gs,a.keyMap=hl,a.keyName=Ss,a.isModifierKey=tu,a.lookupKey=Fs,a.normalizeKeyMap=Il,a.StringStream=Xn,a.SharedTextMarker=xa,a.TextMarker=pl,a.LineWidget=na,a.e_preventDefault=Vt,a.e_stopPropagation=yn,a.e_stop=Je,a.addClass=me,a.contains=Te,a.rmClass=ht,a.keyNames=yo}$u(qa),tc(qa);var lc="iter insert remove copy getEditor constructor".split(" ");for(var Su in to.prototype)to.prototype.hasOwnProperty(Su)&&Mt(lc,Su)<0&&(qa.prototype[Su]=function(a){return function(){return a.apply(this.doc,arguments)}}(to.prototype[Su]));return ft(to),qa.inputStyles={textarea:ml,contenteditable:Za},qa.defineMode=function(a){!qa.defaults.mode&&a!="null"&&(qa.defaults.mode=a),Fn.apply(this,arguments)},qa.defineMIME=St,qa.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),qa.defineMIME("text/plain","null"),qa.defineExtension=function(a,y){qa.prototype[a]=y},qa.defineDocExtension=function(a,y){to.prototype[a]=y},qa.fromTextArea=oc,ac(qa),qa.version="5.58.2",qa})},25419:function(Yn,dn,z){(function(b){b(z(89780),z(15525),z(98101))})(function(b){"use strict";b.defineMode("markdown",function(xe,ce){var nt=b.getMode(xe,"text/html"),Me=nt.name=="null";function Ce(Se){if(b.findModeByName){var ve=b.findModeByName(Se);ve&&(Se=ve.mime||ve.mimes[0])}var Mt=b.getMode(xe,Se);return Mt.name=="null"?null:Mt}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 Be={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 He in Be)Be.hasOwnProperty(He)&&ce.tokenTypeOverrides[He]&&(Be[He]=ce.tokenTypeOverrides[He]);var Fe=/^([*\-_])(?:\s*\1){2,}\s*$/,de=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ke=/^\[(x| )\](?=\s)/i,be=ce.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,vt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,et=/^[^#!\[\]*_\\<>` "'(~:]+/,$e=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ze=/^\s*\[[^\]]+?\]:.*$/,je=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,at=" ";function Nt(Se,ve,Mt){return ve.f=ve.inline=Mt,Mt(Se,ve)}function jt(Se,ve,Mt){return ve.f=ve.block=Mt,Mt(Se,ve)}function se(Se){return!Se||!/\S/.test(Se.string)}function Oe(Se){if(Se.linkTitle=!1,Se.linkHref=!1,Se.linkText=!1,Se.em=!1,Se.strong=!1,Se.strikethrough=!1,Se.quote=0,Se.indentedCode=!1,Se.f==ht){var ve=Me;if(!ve){var Mt=b.innerMode(nt,Se.htmlState);ve=Mt.mode.name=="xml"&&Mt.state.tagStart===null&&!Mt.state.context&&Mt.state.tokenize.isInText}ve&&(Se.f=ut,Se.block=dt,Se.htmlState=null)}return Se.trailingSpace=0,Se.trailingSpaceNewLine=!1,Se.prevLine=Se.thisLine,Se.thisLine={stream:null},null}function dt(Se,ve){var Mt=Se.column()===ve.indentation,Jt=se(ve.prevLine.stream),Zt=ve.indentedCode,pe=ve.prevLine.hr,Re=ve.list!==!1,Ue=(ve.listStack[ve.listStack.length-1]||0)+3;ve.indentedCode=!1;var tn=ve.indentation;if(ve.indentationDiff===null&&(ve.indentationDiff=ve.indentation,Re)){for(ve.list=null;tn<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=tn-ve.listStack[ve.listStack.length-1])}var rt=!Jt&&!pe&&!ve.prevLine.header&&(!Re||!Zt)&&!ve.prevLine.fencedCodeEnd,Kt=(ve.list===!1||pe||Jt)&&ve.indentation<=Ue&&Se.match(Fe),ct=null;if(ve.indentationDiff>=4&&(Zt||ve.prevLine.fencedCodeEnd||ve.prevLine.header||Jt))return Se.skipToEnd(),ve.indentedCode=!0,Be.code;if(Se.eatSpace())return null;if(Mt&&ve.indentation<=Ue&&(ct=Se.match(be))&&ct[1].length<=6)return ve.quote=0,ve.header=ct[1].length,ve.thisLine.header=!0,ce.highlightFormatting&&(ve.formatting="header"),ve.f=ve.inline,_e(ve);if(ve.indentation<=Ue&&Se.eat(">"))return ve.quote=Mt?1:ve.quote+1,ce.highlightFormatting&&(ve.formatting="quote"),Se.eatSpace(),_e(ve);if(!Kt&&!ve.setext&&Mt&&ve.indentation<=Ue&&(ct=Se.match(de))){var fn=ct[1]?"ol":"ul";return ve.indentation=tn+Se.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&&Se.match(Ke,!1)&&(ve.taskList=!0),ve.f=ve.inline,ce.highlightFormatting&&(ve.formatting=["list","list-"+fn]),_e(ve)}else{if(Mt&&ve.indentation<=Ue&&(ct=Se.match($e,!0)))return ve.quote=0,ve.fencedEndRE=new RegExp(ct[1]+"+ *$"),ve.localMode=ce.fencedCodeBlockHighlighting&&Ce(ct[2]||ce.fencedCodeBlockDefaultMode),ve.localMode&&(ve.localState=b.startState(ve.localMode)),ve.f=ve.block=Rt,ce.highlightFormatting&&(ve.formatting="code-block"),ve.code=-1,_e(ve);if(ve.setext||(!rt||!Re)&&!ve.quote&&ve.list===!1&&!ve.code&&!Kt&&!ze.test(Se.string)&&(ct=Se.lookAhead(1))&&(ct=ct.match(vt)))return ve.setext?(ve.header=ve.setext,ve.setext=0,Se.skipToEnd(),ce.highlightFormatting&&(ve.formatting="header")):(ve.header=ct[0].charAt(0)=="="?1:2,ve.setext=ve.header),ve.thisLine.header=!0,ve.f=ve.inline,_e(ve);if(Kt)return Se.skipToEnd(),ve.hr=!0,ve.thisLine.hr=!0,Be.hr;if(Se.peek()==="[")return Nt(Se,ve,Ot)}return Nt(Se,ve,ve.inline)}function ht(Se,ve){var Mt=nt.token(Se,ve.htmlState);if(!Me){var Jt=b.innerMode(nt,ve.htmlState);(Jt.mode.name=="xml"&&Jt.state.tagStart===null&&!Jt.state.context&&Jt.state.tokenize.isInText||ve.md_inside&&Se.current().indexOf(">")>-1)&&(ve.f=ut,ve.block=dt,ve.htmlState=null)}return Mt}function Rt(Se,ve){var Mt=ve.listStack[ve.listStack.length-1]||0,Jt=ve.indentation<Mt,Zt=Mt+3;if(ve.fencedEndRE&&ve.indentation<=Zt&&(Jt||Se.match(ve.fencedEndRE))){ce.highlightFormatting&&(ve.formatting="code-block");var pe;return Jt||(pe=_e(ve)),ve.localMode=ve.localState=null,ve.block=dt,ve.f=ut,ve.fencedEndRE=null,ve.code=0,ve.thisLine.fencedCodeEnd=!0,Jt?jt(Se,ve,ve.block):pe}else return ve.localMode?ve.localMode.token(Se,ve.localState):(Se.skipToEnd(),Be.code)}function _e(Se){var ve=[];if(Se.formatting){ve.push(Be.formatting),typeof Se.formatting=="string"&&(Se.formatting=[Se.formatting]);for(var Mt=0;Mt<Se.formatting.length;Mt++)ve.push(Be.formatting+"-"+Se.formatting[Mt]),Se.formatting[Mt]==="header"&&ve.push(Be.formatting+"-"+Se.formatting[Mt]+"-"+Se.header),Se.formatting[Mt]==="quote"&&(!ce.maxBlockquoteDepth||ce.maxBlockquoteDepth>=Se.quote?ve.push(Be.formatting+"-"+Se.formatting[Mt]+"-"+Se.quote):ve.push("error"))}if(Se.taskOpen)return ve.push("meta"),ve.length?ve.join(" "):null;if(Se.taskClosed)return ve.push("property"),ve.length?ve.join(" "):null;if(Se.linkHref?ve.push(Be.linkHref,"url"):(Se.strong&&ve.push(Be.strong),Se.em&&ve.push(Be.em),Se.strikethrough&&ve.push(Be.strikethrough),Se.emoji&&ve.push(Be.emoji),Se.linkText&&ve.push(Be.linkText),Se.code&&ve.push(Be.code),Se.image&&ve.push(Be.image),Se.imageAltText&&ve.push(Be.imageAltText,"link"),Se.imageMarker&&ve.push(Be.imageMarker)),Se.header&&ve.push(Be.header,Be.header+"-"+Se.header),Se.quote&&(ve.push(Be.quote),!ce.maxBlockquoteDepth||ce.maxBlockquoteDepth>=Se.quote?ve.push(Be.quote+"-"+Se.quote):ve.push(Be.quote+"-"+ce.maxBlockquoteDepth)),Se.list!==!1){var Jt=(Se.listStack.length-1)%3;Jt?Jt===1?ve.push(Be.list2):ve.push(Be.list3):ve.push(Be.list1)}return Se.trailingSpaceNewLine?ve.push("trailing-space-new-line"):Se.trailingSpace&&ve.push("trailing-space-"+(Se.trailingSpace%2?"a":"b")),ve.length?ve.join(" "):null}function lt(Se,ve){if(Se.match(et,!0))return _e(ve)}function ut(Se,ve){var Mt=ve.text(Se,ve);if(typeof Mt!="undefined")return Mt;if(ve.list)return ve.list=null,_e(ve);if(ve.taskList){var Jt=Se.match(Ke,!0)[1]===" ";return Jt?ve.taskOpen=!0:ve.taskClosed=!0,ce.highlightFormatting&&(ve.formatting="task"),ve.taskList=!1,_e(ve)}if(ve.taskOpen=!1,ve.taskClosed=!1,ve.header&&Se.match(/^#+$/,!0))return ce.highlightFormatting&&(ve.formatting="header"),_e(ve);var Zt=Se.next();if(ve.linkTitle){ve.linkTitle=!1;var pe=Zt;Zt==="("&&(pe=")"),pe=(pe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Re="^\\s*(?:[^"+pe+"\\\\]+|\\\\\\\\|\\\\.)"+pe;if(Se.match(new RegExp(Re),!0))return Be.linkHref}if(Zt==="`"){var Ue=ve.formatting;ce.highlightFormatting&&(ve.formatting="code"),Se.eatWhile("`");var tn=Se.current().length;if(ve.code==0&&(!ve.quote||tn==1))return ve.code=tn,_e(ve);if(tn==ve.code){var rt=_e(ve);return ve.code=0,rt}else return ve.formatting=Ue,_e(ve)}else if(ve.code)return _e(ve);if(Zt==="\\"&&(Se.next(),ce.highlightFormatting)){var Kt=_e(ve),ct=Be.formatting+"-escape";return Kt?Kt+" "+ct:ct}if(Zt==="!"&&Se.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ve.imageMarker=!0,ve.image=!0,ce.highlightFormatting&&(ve.formatting="image"),_e(ve);if(Zt==="["&&ve.imageMarker&&Se.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ve.imageMarker=!1,ve.imageAltText=!0,ce.highlightFormatting&&(ve.formatting="image"),_e(ve);if(Zt==="]"&&ve.imageAltText){ce.highlightFormatting&&(ve.formatting="image");var Kt=_e(ve);return ve.imageAltText=!1,ve.image=!1,ve.inline=ve.f=Te,Kt}if(Zt==="["&&!ve.image)return ve.linkText&&Se.match(/^.*?\]/)||(ve.linkText=!0,ce.highlightFormatting&&(ve.formatting="link")),_e(ve);if(Zt==="]"&&ve.linkText){ce.highlightFormatting&&(ve.formatting="link");var Kt=_e(ve);return ve.linkText=!1,ve.inline=ve.f=Se.match(/\(.*?\)| ?\[.*?\]/,!1)?Te:ut,Kt}if(Zt==="<"&&Se.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ve.f=ve.inline=Pe,ce.highlightFormatting&&(ve.formatting="link");var Kt=_e(ve);return Kt?Kt+=" ":Kt="",Kt+Be.linkInline}if(Zt==="<"&&Se.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ve.f=ve.inline=Pe,ce.highlightFormatting&&(ve.formatting="link");var Kt=_e(ve);return Kt?Kt+=" ":Kt="",Kt+Be.linkEmail}if(ce.xml&&Zt==="<"&&Se.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var fn=Se.string.indexOf(">",Se.pos);if(fn!=-1){var xt=Se.string.substring(Se.start,fn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(xt)&&(ve.md_inside=!0)}return Se.backUp(1),ve.htmlState=b.startState(nt),jt(Se,ve,ht)}if(ce.xml&&Zt==="<"&&Se.match(/^\/\w*?>/))return ve.md_inside=!1,"tag";if(Zt==="*"||Zt==="_"){for(var le=1,ne=Se.pos==1?" ":Se.string.charAt(Se.pos-2);le<3&&Se.eat(Zt);)le++;var te=Se.peek()||" ",ae=!/\s/.test(te)&&(!je.test(te)||/\s/.test(ne)||je.test(ne)),he=!/\s/.test(ne)&&(!je.test(ne)||/\s/.test(te)||je.test(te)),re=null,ue=null;if(le%2&&(!ve.em&&ae&&(Zt==="*"||!he||je.test(ne))?re=!0:ve.em==Zt&&he&&(Zt==="*"||!ae||je.test(te))&&(re=!1)),le>1&&(!ve.strong&&ae&&(Zt==="*"||!he||je.test(ne))?ue=!0:ve.strong==Zt&&he&&(Zt==="*"||!ae||je.test(te))&&(ue=!1)),ue!=null||re!=null){ce.highlightFormatting&&(ve.formatting=re==null?"strong":ue==null?"em":"strong em"),re===!0&&(ve.em=Zt),ue===!0&&(ve.strong=Zt);var rt=_e(ve);return re===!1&&(ve.em=!1),ue===!1&&(ve.strong=!1),rt}}else if(Zt===" "&&(Se.eat("*")||Se.eat("_"))){if(Se.peek()===" ")return _e(ve);Se.backUp(1)}if(ce.strikethrough){if(Zt==="~"&&Se.eatWhile(Zt)){if(ve.strikethrough){ce.highlightFormatting&&(ve.formatting="strikethrough");var rt=_e(ve);return ve.strikethrough=!1,rt}else if(Se.match(/^[^\s]/,!1))return ve.strikethrough=!0,ce.highlightFormatting&&(ve.formatting="strikethrough"),_e(ve)}else if(Zt===" "&&Se.match(/^~~/,!0)){if(Se.peek()===" ")return _e(ve);Se.backUp(2)}}if(ce.emoji&&Zt===":"&&Se.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ve.emoji=!0,ce.highlightFormatting&&(ve.formatting="emoji");var De=_e(ve);return ve.emoji=!1,De}return Zt===" "&&(Se.match(/^ +$/,!1)?ve.trailingSpace++:ve.trailingSpace&&(ve.trailingSpaceNewLine=!0)),_e(ve)}function Pe(Se,ve){var Mt=Se.next();if(Mt===">"){ve.f=ve.inline=ut,ce.highlightFormatting&&(ve.formatting="link");var Jt=_e(ve);return Jt?Jt+=" ":Jt="",Jt+Be.linkInline}return Se.match(/^[^>]+/,!0),Be.linkInline}function Te(Se,ve){if(Se.eatSpace())return null;var Mt=Se.next();return Mt==="("||Mt==="["?(ve.f=ve.inline=me(Mt==="("?")":"]"),ce.highlightFormatting&&(ve.formatting="link-string"),ve.linkHref=!0,_e(ve)):"error"}var we={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function me(Se){return function(ve,Mt){var Jt=ve.next();if(Jt===Se){Mt.f=Mt.inline=ut,ce.highlightFormatting&&(Mt.formatting="link-string");var Zt=_e(Mt);return Mt.linkHref=!1,Zt}return ve.match(we[Se]),Mt.linkHref=!0,_e(Mt)}}function Ot(Se,ve){return Se.match(/^([^\]\\]|\\.)*\]:/,!1)?(ve.f=We,Se.next(),ce.highlightFormatting&&(ve.formatting="link"),ve.linkText=!0,_e(ve)):Nt(Se,ve,ut)}function We(Se,ve){if(Se.match(/^\]:/,!0)){ve.f=ve.inline=Xe,ce.highlightFormatting&&(ve.formatting="link");var Mt=_e(ve);return ve.linkText=!1,Mt}return Se.match(/^([^\]\\]|\\.)+/,!0),Be.linkText}function Xe(Se,ve){return Se.eatSpace()?null:(Se.match(/^[^\s]+/,!0),Se.peek()===void 0?ve.linkTitle=!0:Se.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ve.f=ve.inline=ut,Be.linkHref+" url")}var Xt={startState:function(){return{f:dt,prevLine:{stream:null},thisLine:{stream:null},block:dt,htmlState:null,indentation:0,inline:ut,text:lt,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(Se){return{f:Se.f,prevLine:Se.prevLine,thisLine:Se.thisLine,block:Se.block,htmlState:Se.htmlState&&b.copyState(nt,Se.htmlState),indentation:Se.indentation,localMode:Se.localMode,localState:Se.localMode?b.copyState(Se.localMode,Se.localState):null,inline:Se.inline,text:Se.text,formatting:!1,linkText:Se.linkText,linkTitle:Se.linkTitle,linkHref:Se.linkHref,code:Se.code,em:Se.em,strong:Se.strong,strikethrough:Se.strikethrough,emoji:Se.emoji,header:Se.header,setext:Se.setext,hr:Se.hr,taskList:Se.taskList,list:Se.list,listStack:Se.listStack.slice(0),quote:Se.quote,indentedCode:Se.indentedCode,trailingSpace:Se.trailingSpace,trailingSpaceNewLine:Se.trailingSpaceNewLine,md_inside:Se.md_inside,fencedEndRE:Se.fencedEndRE}},token:function(Se,ve){if(ve.formatting=!1,Se!=ve.thisLine.stream){if(ve.header=0,ve.hr=!1,Se.match(/^\s*$/,!0))return Oe(ve),null;if(ve.prevLine=ve.thisLine,ve.thisLine={stream:Se},ve.taskList=!1,ve.trailingSpace=0,ve.trailingSpaceNewLine=!1,!ve.localState&&(ve.f=ve.block,ve.f!=ht)){var Mt=Se.match(/^\s*/,!0)[0].replace(/\t/g,at).length;if(ve.indentation=Mt,ve.indentationDiff=null,Mt>0)return null}}return ve.f(Se,ve)},innerMode:function(Se){return Se.block==ht?{state:Se.htmlState,mode:nt}:Se.localState?{state:Se.localState,mode:Se.localMode}:{state:Se,mode:Xt}},indent:function(Se,ve,Mt){return Se.block==ht&&nt.indent?nt.indent(Se.htmlState,ve,Mt):Se.localState&&Se.localMode.indent?Se.localMode.indent(Se.localState,ve,Mt):b.Pass},blankLine:Oe,getType:_e,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Xt},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Yn,dn,z){(function(b){b(z(89780))})(function(b){"use strict";b.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var xe=0;xe<b.modeInfo.length;xe++){var ce=b.modeInfo[xe];ce.mimes&&(ce.mime=ce.mimes[0])}b.findModeByMIME=function(nt){nt=nt.toLowerCase();for(var Me=0;Me<b.modeInfo.length;Me++){var Ce=b.modeInfo[Me];if(Ce.mime==nt)return Ce;if(Ce.mimes){for(var Be=0;Be<Ce.mimes.length;Be++)if(Ce.mimes[Be]==nt)return Ce}}if(/\+xml$/.test(nt))return b.findModeByMIME("application/xml");if(/\+json$/.test(nt))return b.findModeByMIME("application/json")},b.findModeByExtension=function(nt){nt=nt.toLowerCase();for(var Me=0;Me<b.modeInfo.length;Me++){var Ce=b.modeInfo[Me];if(Ce.ext){for(var Be=0;Be<Ce.ext.length;Be++)if(Ce.ext[Be]==nt)return Ce}}},b.findModeByFileName=function(nt){for(var Me=0;Me<b.modeInfo.length;Me++){var Ce=b.modeInfo[Me];if(Ce.file&&Ce.file.test(nt))return Ce}var Be=nt.lastIndexOf("."),He=Be>-1&&nt.substring(Be+1,nt.length);if(He)return b.findModeByExtension(He)},b.findModeByName=function(nt){nt=nt.toLowerCase();for(var Me=0;Me<b.modeInfo.length;Me++){var Ce=b.modeInfo[Me];if(Ce.name.toLowerCase()==nt)return Ce;if(Ce.alias){for(var Be=0;Be<Ce.alias.length;Be++)if(Ce.alias[Be].toLowerCase()==nt)return Ce}}}})},67549:function(Yn,dn,z){(function(b){b(z(89780))})(function(b){"use strict";b.defineMode("stex",function(xe,ce){"use strict";function nt(et,$e){et.cmdState.push($e)}function Me(et){return et.cmdState.length>0?et.cmdState[et.cmdState.length-1]:null}function Ce(et){var $e=et.cmdState.pop();$e&&$e.closeBracket()}function Be(et){for(var $e=et.cmdState,ze=$e.length-1;ze>=0;ze--){var je=$e[ze];if(je.name!="DEFAULT")return je}return{styleIdentifier:function(){return null}}}function He(et,$e,ze){return function(){this.name=et,this.bracketNo=0,this.style=$e,this.styles=ze,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Fe={};Fe.importmodule=He("importmodule","tag",["string","builtin"]),Fe.documentclass=He("documentclass","tag",["","atom"]),Fe.usepackage=He("usepackage","tag",["atom"]),Fe.begin=He("begin","tag",["atom"]),Fe.end=He("end","tag",["atom"]),Fe.label=He("label","tag",["atom"]),Fe.ref=He("ref","tag",["atom"]),Fe.eqref=He("eqref","tag",["atom"]),Fe.cite=He("cite","tag",["atom"]),Fe.bibitem=He("bibitem","tag",["atom"]),Fe.Bibitem=He("Bibitem","tag",["atom"]),Fe.RBibitem=He("RBibitem","tag",["atom"]),Fe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function de(et,$e){et.f=$e}function Ke(et,$e){var ze;if(et.match(/^\\[a-zA-Z@]+/)){var je=et.current().slice(1);return ze=Fe.hasOwnProperty(je)?Fe[je]:Fe.DEFAULT,ze=new ze,nt($e,ze),de($e,vt),ze.style}if(et.match(/^\\[$&%#{}_]/)||et.match(/^\\[,;!\/\\]/))return"tag";if(et.match("\\["))return de($e,function(Nt,jt){return be(Nt,jt,"\\]")}),"keyword";if(et.match("\\("))return de($e,function(Nt,jt){return be(Nt,jt,"\\)")}),"keyword";if(et.match("$$"))return de($e,function(Nt,jt){return be(Nt,jt,"$$")}),"keyword";if(et.match("$"))return de($e,function(Nt,jt){return be(Nt,jt,"$")}),"keyword";var at=et.next();if(at=="%")return et.skipToEnd(),"comment";if(at=="}"||at=="]"){if(ze=Me($e),ze)ze.closeBracket(at),de($e,vt);else return"error";return"bracket"}else return at=="{"||at=="["?(ze=Fe.DEFAULT,ze=new ze,nt($e,ze),"bracket"):/\d/.test(at)?(et.eatWhile(/[\w.%]/),"atom"):(et.eatWhile(/[\w\-_]/),ze=Be($e),ze.name=="begin"&&(ze.argument=et.current()),ze.styleIdentifier())}function be(et,$e,ze){if(et.eatSpace())return null;if(ze&&et.match(ze))return de($e,Ke),"keyword";if(et.match(/^\\[a-zA-Z@]+/))return"tag";if(et.match(/^[a-zA-Z]+/))return"variable-2";if(et.match(/^\\[$&%#{}_]/)||et.match(/^\\[,;!\/]/)||et.match(/^[\^_&]/))return"tag";if(et.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(et.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var je=et.next();return je=="{"||je=="}"||je=="["||je=="]"||je=="("||je==")"?"bracket":je=="%"?(et.skipToEnd(),"comment"):"error"}function vt(et,$e){var ze=et.peek(),je;return ze=="{"||ze=="["?(je=Me($e),je.openBracket(ze),et.eat(ze),de($e,Ke),"bracket"):/[ \t\r]/.test(ze)?(et.eat(ze),null):(de($e,Ke),Ce($e),Ke(et,$e))}return{startState:function(){var et=ce.inMathMode?function($e,ze){return be($e,ze)}:Ke;return{cmdState:[],f:et}},copyState:function(et){return{cmdState:et.cmdState.slice(),f:et.f}},token:function(et,$e){return $e.f(et,$e)},blankLine:function(et){et.f=Ke,et.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Yn,dn,z){(function(b){b(z(89780))})(function(b){"use strict";var xe={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};b.defineMode("xml",function(nt,Me){var Ce=nt.indentUnit,Be={},He=Me.htmlMode?xe:ce;for(var Fe in He)Be[Fe]=He[Fe];for(var Fe in Me)Be[Fe]=Me[Fe];var de,Ke;function be(Pe,Te){function we(We){return Te.tokenize=We,We(Pe,Te)}var me=Pe.next();if(me=="<")return Pe.eat("!")?Pe.eat("[")?Pe.match("CDATA[")?we($e("atom","]]>")):null:Pe.match("--")?we($e("comment","-->")):Pe.match("DOCTYPE",!0,!0)?(Pe.eatWhile(/[\w\._\-]/),we(ze(1))):null:Pe.eat("?")?(Pe.eatWhile(/[\w\._\-]/),Te.tokenize=$e("meta","?>"),"meta"):(de=Pe.eat("/")?"closeTag":"openTag",Te.tokenize=vt,"tag bracket");if(me=="&"){var Ot;return Pe.eat("#")?Pe.eat("x")?Ot=Pe.eatWhile(/[a-fA-F\d]/)&&Pe.eat(";"):Ot=Pe.eatWhile(/[\d]/)&&Pe.eat(";"):Ot=Pe.eatWhile(/[\w\.\-:]/)&&Pe.eat(";"),Ot?"atom":"error"}else return Pe.eatWhile(/[^&<]/),null}be.isInText=!0;function vt(Pe,Te){var we=Pe.next();if(we==">"||we=="/"&&Pe.eat(">"))return Te.tokenize=be,de=we==">"?"endTag":"selfcloseTag","tag bracket";if(we=="=")return de="equals",null;if(we=="<"){Te.tokenize=be,Te.state=jt,Te.tagName=Te.tagStart=null;var me=Te.tokenize(Pe,Te);return me?me+" tag error":"tag error"}else return/[\'\"]/.test(we)?(Te.tokenize=et(we),Te.stringStartCol=Pe.column(),Te.tokenize(Pe,Te)):(Pe.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function et(Pe){var Te=function(we,me){for(;!we.eol();)if(we.next()==Pe){me.tokenize=vt;break}return"string"};return Te.isInAttribute=!0,Te}function $e(Pe,Te){return function(we,me){for(;!we.eol();){if(we.match(Te)){me.tokenize=be;break}we.next()}return Pe}}function ze(Pe){return function(Te,we){for(var me;(me=Te.next())!=null;){if(me=="<")return we.tokenize=ze(Pe+1),we.tokenize(Te,we);if(me==">")if(Pe==1){we.tokenize=be;break}else return we.tokenize=ze(Pe-1),we.tokenize(Te,we)}return"meta"}}function je(Pe,Te,we){this.prev=Pe.context,this.tagName=Te,this.indent=Pe.indented,this.startOfLine=we,(Be.doNotIndent.hasOwnProperty(Te)||Pe.context&&Pe.context.noIndent)&&(this.noIndent=!0)}function at(Pe){Pe.context&&(Pe.context=Pe.context.prev)}function Nt(Pe,Te){for(var we;;){if(!Pe.context||(we=Pe.context.tagName,!Be.contextGrabbers.hasOwnProperty(we)||!Be.contextGrabbers[we].hasOwnProperty(Te)))return;at(Pe)}}function jt(Pe,Te,we){return Pe=="openTag"?(we.tagStart=Te.column(),se):Pe=="closeTag"?Oe:jt}function se(Pe,Te,we){return Pe=="word"?(we.tagName=Te.current(),Ke="tag",Rt):Be.allowMissingTagName&&Pe=="endTag"?(Ke="tag bracket",Rt(Pe,Te,we)):(Ke="error",se)}function Oe(Pe,Te,we){if(Pe=="word"){var me=Te.current();return we.context&&we.context.tagName!=me&&Be.implicitlyClosed.hasOwnProperty(we.context.tagName)&&at(we),we.context&&we.context.tagName==me||Be.matchClosing===!1?(Ke="tag",dt):(Ke="tag error",ht)}else return Be.allowMissingTagName&&Pe=="endTag"?(Ke="tag bracket",dt(Pe,Te,we)):(Ke="error",ht)}function dt(Pe,Te,we){return Pe!="endTag"?(Ke="error",dt):(at(we),jt)}function ht(Pe,Te,we){return Ke="error",dt(Pe,Te,we)}function Rt(Pe,Te,we){if(Pe=="word")return Ke="attribute",_e;if(Pe=="endTag"||Pe=="selfcloseTag"){var me=we.tagName,Ot=we.tagStart;return we.tagName=we.tagStart=null,Pe=="selfcloseTag"||Be.autoSelfClosers.hasOwnProperty(me)?Nt(we,me):(Nt(we,me),we.context=new je(we,me,Ot==we.indented)),jt}return Ke="error",Rt}function _e(Pe,Te,we){return Pe=="equals"?lt:(Be.allowMissing||(Ke="error"),Rt(Pe,Te,we))}function lt(Pe,Te,we){return Pe=="string"?ut:Pe=="word"&&Be.allowUnquoted?(Ke="string",Rt):(Ke="error",Rt(Pe,Te,we))}function ut(Pe,Te,we){return Pe=="string"?ut:Rt(Pe,Te,we)}return{startState:function(Pe){var Te={tokenize:be,state:jt,indented:Pe||0,tagName:null,tagStart:null,context:null};return Pe!=null&&(Te.baseIndent=Pe),Te},token:function(Pe,Te){if(!Te.tagName&&Pe.sol()&&(Te.indented=Pe.indentation()),Pe.eatSpace())return null;de=null;var we=Te.tokenize(Pe,Te);return(we||de)&&we!="comment"&&(Ke=null,Te.state=Te.state(de||we,Pe,Te),Ke&&(we=Ke=="error"?we+" error":Ke)),we},indent:function(Pe,Te,we){var me=Pe.context;if(Pe.tokenize.isInAttribute)return Pe.tagStart==Pe.indented?Pe.stringStartCol+1:Pe.indented+Ce;if(me&&me.noIndent)return b.Pass;if(Pe.tokenize!=vt&&Pe.tokenize!=be)return we?we.match(/^(\s*)/)[0].length:0;if(Pe.tagName)return Be.multilineTagIndentPastTag!==!1?Pe.tagStart+Pe.tagName.length+2:Pe.tagStart+Ce*(Be.multilineTagIndentFactor||1);if(Be.alignCDATA&&/<!\[CDATA\[/.test(Te))return 0;var Ot=Te&&/^<(\/)?([\w_:\.-]*)/.exec(Te);if(Ot&&Ot[1])for(;me;)if(me.tagName==Ot[2]){me=me.prev;break}else if(Be.implicitlyClosed.hasOwnProperty(me.tagName))me=me.prev;else break;else if(Ot)for(;me;){var We=Be.contextGrabbers[me.tagName];if(We&&We.hasOwnProperty(Ot[2]))me=me.prev;else break}for(;me&&me.prev&&!me.startOfLine;)me=me.prev;return me?me.indent+Ce:Pe.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Be.htmlMode?"html":"xml",helperType:Be.htmlMode?"html":"xml",skipAttribute:function(Pe){Pe.state==lt&&(Pe.state=Rt)},xmlCurrentTag:function(Pe){return Pe.tagName?{name:Pe.tagName,close:Pe.type=="closeTag"}:null},xmlCurrentContext:function(Pe){for(var Te=[],we=Pe.context;we;we=we.prev)we.tagName&&Te.push(we.tagName);return Te.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},24334:function(Yn,dn,z){var b,xe;(function(ce,nt){Yn.exports=nt(ce)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof z.g!="undefined"?z.g:this,function(ce){"use strict";ce=ce||{};var nt=ce.Base64,Me="2.6.4",Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Be=function(we){for(var me={},Ot=0,We=we.length;Ot<We;Ot++)me[we.charAt(Ot)]=Ot;return me}(Ce),He=String.fromCharCode,Fe=function(we){if(we.length<2){var me=we.charCodeAt(0);return me<128?we:me<2048?He(192|me>>>6)+He(128|me&63):He(224|me>>>12&15)+He(128|me>>>6&63)+He(128|me&63)}else{var me=65536+(we.charCodeAt(0)-55296)*1024+(we.charCodeAt(1)-56320);return He(240|me>>>18&7)+He(128|me>>>12&63)+He(128|me>>>6&63)+He(128|me&63)}},de=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ke=function(we){return we.replace(de,Fe)},be=function(we){var me=[0,2,1][we.length%3],Ot=we.charCodeAt(0)<<16|(we.length>1?we.charCodeAt(1):0)<<8|(we.length>2?we.charCodeAt(2):0),We=[Ce.charAt(Ot>>>18),Ce.charAt(Ot>>>12&63),me>=2?"=":Ce.charAt(Ot>>>6&63),me>=1?"=":Ce.charAt(Ot&63)];return We.join("")},vt=ce.btoa&&typeof ce.btoa=="function"?function(we){return ce.btoa(we)}:function(we){if(we.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return we.replace(/[\s\S]{1,3}/g,be)},et=function(we){return vt(Ke(String(we)))},$e=function(we){return we.replace(/[+\/]/g,function(me){return me=="+"?"-":"_"}).replace(/=/g,"")},ze=function(we,me){return me?$e(et(we)):et(we)},je=function(we){return ze(we,!0)},at;ce.Uint8Array&&(at=function(we,me){for(var Ot="",We=0,Xe=we.length;We<Xe;We+=3){var Xt=we[We],Se=we[We+1],ve=we[We+2],Mt=Xt<<16|Se<<8|ve;Ot+=Ce.charAt(Mt>>>18)+Ce.charAt(Mt>>>12&63)+(typeof Se!="undefined"?Ce.charAt(Mt>>>6&63):"=")+(typeof ve!="undefined"?Ce.charAt(Mt&63):"=")}return me?$e(Ot):Ot});var Nt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,jt=function(we){switch(we.length){case 4:var me=(7&we.charCodeAt(0))<<18|(63&we.charCodeAt(1))<<12|(63&we.charCodeAt(2))<<6|63&we.charCodeAt(3),Ot=me-65536;return He((Ot>>>10)+55296)+He((Ot&1023)+56320);case 3:return He((15&we.charCodeAt(0))<<12|(63&we.charCodeAt(1))<<6|63&we.charCodeAt(2));default:return He((31&we.charCodeAt(0))<<6|63&we.charCodeAt(1))}},se=function(we){return we.replace(Nt,jt)},Oe=function(we){var me=we.length,Ot=me%4,We=(me>0?Be[we.charAt(0)]<<18:0)|(me>1?Be[we.charAt(1)]<<12:0)|(me>2?Be[we.charAt(2)]<<6:0)|(me>3?Be[we.charAt(3)]:0),Xe=[He(We>>>16),He(We>>>8&255),He(We&255)];return Xe.length-=[0,0,2,1][Ot],Xe.join("")},dt=ce.atob&&typeof ce.atob=="function"?function(we){return ce.atob(we)}:function(we){return we.replace(/\S{1,4}/g,Oe)},ht=function(we){return dt(String(we).replace(/[^A-Za-z0-9\+\/]/g,""))},Rt=function(we){return se(dt(we))},_e=function(we){return String(we).replace(/[-_]/g,function(me){return me=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},lt=function(we){return Rt(_e(we))},ut;ce.Uint8Array&&(ut=function(we){return Uint8Array.from(ht(_e(we)),function(me){return me.charCodeAt(0)})});var Pe=function(){var we=ce.Base64;return ce.Base64=nt,we};if(ce.Base64={VERSION:Me,atob:ht,btoa:vt,fromBase64:lt,toBase64:ze,utob:Ke,encode:ze,encodeURI:je,btou:se,decode:lt,noConflict:Pe,fromUint8Array:at,toUint8Array:ut},typeof Object.defineProperty=="function"){var Te=function(we){return{value:we,enumerable:!1,writable:!0,configurable:!0}};ce.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Te(function(){return lt(this)})),Object.defineProperty(String.prototype,"toBase64",Te(function(we){return ze(this,we)})),Object.defineProperty(String.prototype,"toBase64URI",Te(function(){return ze(this,!0)}))}}return ce.Meteor&&(Base64=ce.Base64),Yn.exports?Yn.exports.Base64=ce.Base64:(b=[],xe=function(){return ce.Base64}.apply(dn,b),xe!==void 0&&(Yn.exports=xe)),{Base64:ce.Base64}})},2859:function(Yn,dn,z){"use strict";z.d(dn,{hP:function(){return xt}});var b=function(le,ne){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ae){te.__proto__=ae}||function(te,ae){for(var he in ae)Object.prototype.hasOwnProperty.call(ae,he)&&(te[he]=ae[he])})(le,ne)};function xe(le,ne){function te(){this.constructor=le}b(le,ne),le.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)}function ce(le,ne,te,ae){return new(te||(te=Promise))(function(he,re){function ue(Qe){try{st(ae.next(Qe))}catch(Ie){re(Ie)}}function De(Qe){try{st(ae.throw(Qe))}catch(Ie){re(Ie)}}function st(Qe){var Ie;Qe.done?he(Qe.value):(Ie=Qe.value,Ie instanceof te?Ie:new te(function(mt){mt(Ie)})).then(ue,De)}st((ae=ae.apply(le,ne||[])).next())})}function nt(le,ne){var te,ae,he,re,ue={label:0,sent:function(){if(1&he[0])throw he[1];return he[1]},trys:[],ops:[]};return re={next:De(0),throw:De(1),return:De(2)},typeof Symbol=="function"&&(re[Symbol.iterator]=function(){return this}),re;function De(st){return function(Qe){return function(Ie){if(te)throw new TypeError("Generator is already executing.");for(;ue;)try{if(te=1,ae&&(he=2&Ie[0]?ae.return:Ie[0]?ae.throw||((he=ae.return)&&he.call(ae),0):ae.next)&&!(he=he.call(ae,Ie[1])).done)return he;switch(ae=0,he&&(Ie=[2&Ie[0],he.value]),Ie[0]){case 0:case 1:he=Ie;break;case 4:return ue.label++,{value:Ie[1],done:!1};case 5:ue.label++,ae=Ie[1],Ie=[0];continue;case 7:Ie=ue.ops.pop(),ue.trys.pop();continue;default:if(he=ue.trys,!((he=he.length>0&&he[he.length-1])||Ie[0]!==6&&Ie[0]!==2)){ue=0;continue}if(Ie[0]===3&&(!he||Ie[1]>he[0]&&Ie[1]<he[3])){ue.label=Ie[1];break}if(Ie[0]===6&&ue.label<he[1]){ue.label=he[1],he=Ie;break}if(he&&ue.label<he[2]){ue.label=he[2],ue.ops.push(Ie);break}he[2]&&ue.ops.pop(),ue.trys.pop();continue}Ie=ne.call(le,ue)}catch(mt){Ie=[6,mt],ae=0}finally{te=he=0}if(5&Ie[0])throw Ie[1];return{value:Ie[0]?Ie[1]:void 0,done:!0}}([st,Qe])}}}function Me(){for(var le=0,ne=0,te=arguments.length;ne<te;ne++)le+=arguments[ne].length;var ae=Array(le),he=0;for(ne=0;ne<te;ne++)for(var re=arguments[ne],ue=0,De=re.length;ue<De;ue++,he++)ae[he]=re[ue];return ae}var Ce=function(){function le(){}return le.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},le.setAttributes=function(ne,te){for(var ae=0,he=te;ae<he.length;ae++){var re=he[ae],ue=re[0],De=re[1];ne.setAttribute(ue,De)}},le.createRect=function(ne,te,ae){var he=document.createElementNS("http://www.w3.org/2000/svg","rect");return he.setAttribute("width",ne.toString()),he.setAttribute("height",te.toString()),ae&&le.setAttributes(he,ae),he},le.createLine=function(ne,te,ae,he,re){var ue=document.createElementNS("http://www.w3.org/2000/svg","line");return ue.setAttribute("x1",ne.toString()),ue.setAttribute("y1",te.toString()),ue.setAttribute("x2",ae.toString()),ue.setAttribute("y2",he.toString()),re&&le.setAttributes(ue,re),ue},le.createPolygon=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ae.setAttribute("points",ne),te&&le.setAttributes(ae,te),ae},le.createCircle=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","circle");return ae.setAttribute("cx",(ne/2).toString()),ae.setAttribute("cy",(ne/2).toString()),ae.setAttribute("r",ne.toString()),te&&le.setAttributes(ae,te),ae},le.createEllipse=function(ne,te,ae){var he=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return he.setAttribute("cx",(ne/2).toString()),he.setAttribute("cy",(te/2).toString()),he.setAttribute("rx",(ne/2).toString()),he.setAttribute("ry",(te/2).toString()),ae&&le.setAttributes(he,ae),he},le.createGroup=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","g");return ne&&le.setAttributes(te,ne),te},le.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},le.createMarker=function(ne,te,ae,he,re,ue,De){var st=document.createElementNS("http://www.w3.org/2000/svg","marker");return le.setAttributes(st,[["id",ne],["orient",te],["markerWidth",ae.toString()],["markerHeight",he.toString()],["refX",re.toString()],["refY",ue.toString()]]),st.appendChild(De),st},le.createText=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","text");return te.setAttribute("x","0"),te.setAttribute("y","0"),ne&&le.setAttributes(te,ne),te},le.createTSpan=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ae.textContent=ne,te&&le.setAttributes(ae,te),ae},le.createImage=function(ne){var te=document.createElementNS("http://www.w3.org/2000/svg","image");return ne&&le.setAttributes(te,ne),te},le.createPoint=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ae.x=ne,ae.y=te,ae},le.createPath=function(ne,te){var ae=document.createElementNS("http://www.w3.org/2000/svg","path");return ae.setAttribute("d",ne),te&&le.setAttributes(ae,te),ae},le}(),Be=function(){function le(){}return le.addKey=function(ne){le.key=ne},Object.defineProperty(le,"isLicensed",{get:function(){return!!le.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(le.key)},enumerable:!1,configurable:!0}),le}(),He=function(){function le(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return le.prototype.rasterize=function(ne,te,ae){var he=this;return new Promise(function(re){var ue=ae!==void 0?ae:document.createElement("canvas");ne===null&&(he.markersOnly=!0,he.naturalSize=!1);var De=document.createElementNS("http://www.w3.org/2000/svg","svg");De.setAttribute("xmlns","http://www.w3.org/2000/svg"),De.setAttribute("width",te.width.baseVal.valueAsString),De.setAttribute("height",te.height.baseVal.valueAsString),De.setAttribute("viewBox","0 0 "+te.viewBox.baseVal.width.toString()+" "+te.viewBox.baseVal.height.toString()),De.innerHTML=te.innerHTML,he.naturalSize===!0?(De.width.baseVal.value=ne.naturalWidth,De.height.baseVal.value=ne.naturalHeight):he.width!==void 0&&he.height!==void 0&&(De.width.baseVal.value=he.width,De.height.baseVal.value=he.height),ue.width=De.width.baseVal.value,ue.height=De.height.baseVal.value;var st=De.outerHTML,Qe=ue.getContext("2d");he.markersOnly!==!0&&Qe.drawImage(ne,0,0,ue.width,ue.height);var Ie=window.URL,mt=new Image(ue.width,ue.height);mt.setAttribute("crossOrigin","anonymous");var Et=new Blob([st],{type:"image/svg+xml"}),Tt=Ie.createObjectURL(Et);mt.onload=function(){Qe.drawImage(mt,0,0),Ie.revokeObjectURL(Tt);var Le=ue.toDataURL(he.imageType,he.imageQuality);re(Le)},mt.src=Tt})},le}(),Fe=function(){},de=function(){function le(ne){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ne+"_"}return Object.defineProperty(le.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(le.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(le.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),le.prototype.addClass=function(ne){return this.styleSheet===void 0&&this.addStyleSheet(),ne.name=""+this.classNamePrefix+ne.localName,this.classes.push(ne),this.styleSheet.sheet.insertRule("."+ne.name+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length),ne},le.prototype.addRule=function(ne){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ne),this.styleSheet.sheet.insertRule(ne.selector+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length)},le.prototype.addStyleSheet=function(){var ne;this.styleSheet=document.createElement("style"),((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).appendChild(this.styleSheet),this.addRule(new Ke("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ke("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Ke("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new be("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new be("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},le.prototype.removeStyleSheet=function(){var ne;this.styleSheet&&(((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},le}(),Ke=function(le,ne){this.selector=le,this.style=ne},be=function(le,ne){this.localName=le,this.style=ne},vt=function(){function le(ne,te,ae,he,re){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ne,this.displayMode=te,this.markerItems=ae,this.uiStyleSettings=he,this.styles=re,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return le.prototype.show=function(ne){var te=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ae=document.createElement("div");ae.className=this.toolbarBlockStyleClass.name,ae.style.whiteSpace="nowrap",this.uiContainer.appendChild(ae),this.addActionButton(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(re){var ue=document.createElement("div");ue.className=""+te.toolbarButtonStyleClass.name,ue.setAttribute("data-type-name",re.typeName),ue.innerHTML=re.icon,ue.addEventListener("click",function(){te.markerToolbarButtonClicked(ue,re)}),te.buttons.push(ue),te.markerButtons.push(ue)}),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 he=document.createElement("div");he.className=this.toolbarBlockStyleClass.name,he.style.whiteSpace="nowrap",he.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(he),this.addActionButton(he,'<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(he,'<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()},le.prototype.addButtonClickListener=function(ne){this.buttonClickListeners.push(ne)},le.prototype.removeButtonClickListener=function(ne){this.buttonClickListeners.indexOf(ne)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ne),1)},le.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},le.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ne=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var te=0;te<this.markerButtons.length;te++)te<ne||te===ne&&this.markerButtons.length-1===ne?this.markerButtonBlock.appendChild(this.markerButtons[te]):(te===ne&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[te]))}},le.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")},le.prototype.resetButtonStyles=function(){var ne=this;this.buttons.forEach(function(te){te.className=te.className.replace(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name,"").trim(),te.className=te.className.replace(ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ne.toolbarActiveButtonStyleColorsClass.name,"").trim(),te.className+=" "+(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name)})},le.prototype.addActionButton=function(ne,te,ae){var he=this,re=document.createElement("div");switch(re.className=""+this.toolbarButtonStyleClass.name,re.innerHTML=te,re.setAttribute("data-action",ae),re.addEventListener("click",function(){he.actionToolbarButtonClicked(re,ae)}),ae){case"select":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":re.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":re.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":re.style.fill=this.uiStyleSettings.closeButtonColor}ne.appendChild(re),this.buttons.push(re)},le.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new be("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 be("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new be("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new be("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 be("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var ne=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new be("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
padding: `+ne+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new be("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new be("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ke("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Ke("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},le.prototype.markerToolbarButtonClicked=function(ne,te){this.setActiveButton(ne),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("marker",te)}),this.markerButtonOverflowBlock.style.display="none"},le.prototype.actionToolbarButtonClicked=function(ne,te){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("action",te)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},le.prototype.setActiveButton=function(ne){this.resetButtonStyles(),ne.className=ne.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ne.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},le.prototype.setActiveMarkerButton=function(ne){var te=this.markerButtons.find(function(ae){return ae.getAttribute("data-type-name")===ne});te&&this.setActiveButton(te)},le.prototype.setCurrentMarker=function(ne){var te=this;this.currentMarker=ne,this.buttons.filter(function(ae){return/delete|notes/.test(ae.getAttribute("data-action"))}).forEach(function(ae){te.currentMarker===void 0?(ae.style.fillOpacity="0.4",ae.style.pointerEvents="none"):(ae.style.fillOpacity="1",ae.style.pointerEvents="all")})},le}(),et=function(){function le(ne,te,ae,he){this.panels=[],this.panelButtons=[],this.markerjsContainer=ne,this.displayMode=te,this.uiStyleSettings=ae,this.styles=he,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return le.prototype.addStyles=function(){var ne;this.toolboxStyleClass=this.styles.addClass(new be("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 be("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new be("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new be("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new be("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 be("toolbox-panel-row_colors",`
background-color: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new be("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
padding: `+te+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new be("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new be("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new Ke("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ke("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},le.prototype.show=function(ne){var te;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolboxStyleClass.name+" "+((te=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},le.prototype.setPanelButtons=function(ne){var te,ae,he=this;this.panels=ne,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((te=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ae=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ae!==void 0?ae:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(re){var ue;re.uiStyleSettings=he.uiStyleSettings;var De=document.createElement("div");De.className=he.toolboxButtonStyleClass.name+" "+((ue=he.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ue!==void 0?ue:he.toolboxButtonStyleColorsClass.name),De.innerHTML=re.icon,De.title=re.title,De.addEventListener("click",function(){he.panelButtonClick(re)}),he.panelButtons.push(De),he.buttonRow.appendChild(De)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},le.prototype.panelButtonClick=function(ne){var te=this,ae=-1;if(ne!==this.activePanel){ae=this.panels.indexOf(ne),this.panelRow.innerHTML="";var he=ne.getUi();he.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(he),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=ne}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){te.displayMode==="inline"?te.panelRow.style.display="none":te.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(re,ue){var De,st;re.className=te.toolboxButtonStyleClass.name+" "+(ue===ae?""+((De=te.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&De!==void 0?De:te.toolboxActiveButtonStyleColorsClass.name):""+((st=te.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&st!==void 0?st:te.toolboxButtonStyleColorsClass.name))})},le}(),$e=function(le,ne){this.title=le,this.icon=ne},ze=function(le){function ne(te,ae,he,re){var ue=le.call(this,te,re||'<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 ue.colors=[],ue.addTransparent=!1,ue.colorBoxes=[],ue.colors=ae,ue.currentColor=he,ue.setCurrentColor=ue.setCurrentColor.bind(ue),ue.getColorBox=ue.getColorBox.bind(ue),ue}return xe(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.whiteSpace="nowrap",this.colors.forEach(function(he){var re=te.getColorBox(he);ae.appendChild(re),te.colorBoxes.push(re)}),ae},ne.prototype.getColorBox=function(te){var ae=this,he=this.uiStyleSettings.toolbarHeight/4,re=this.uiStyleSettings.toolbarHeight-he,ue=document.createElement("div");ue.style.display="inline-block",ue.style.boxSizing="content-box",ue.style.width=re-2+"px",ue.style.height=re-2+"px",ue.style.padding="1px",ue.style.marginRight="2px",ue.style.marginBottom="2px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.borderRadius=(re+2)/2+"px",ue.style.borderColor=te===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){ae.setCurrentColor(te,ue)});var De=document.createElement("div");return De.style.display="inline-block",De.style.width=re-2+"px",De.style.height=re-2+"px",De.style.backgroundColor=te,De.style.borderRadius=re/2+"px",te==="transparent"&&(De.style.fill=this.uiStyleSettings.toolboxAccentColor,De.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>`),ue.appendChild(De),ue},ne.prototype.setCurrentColor=function(te,ae){var he=this;this.currentColor=te,this.colorBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(te)},ne}($e),je=function(){function le(ne,te,ae){this._state="new",this._isSelected=!1,this._container=ne,this._overlayContainer=te,this.globalSettings=ae,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(le.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),le.prototype.ownsTarget=function(ne){return!1},Object.defineProperty(le.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),le.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},le.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},le.prototype.pointerDown=function(ne,te){},le.prototype.dblClick=function(ne,te){},le.prototype.manipulate=function(ne){},le.prototype.pointerUp=function(ne){this.stateChanged()},le.prototype.dispose=function(){},le.prototype.addMarkerVisualToContainer=function(ne){this.container.childNodes.length>0?this.container.insertBefore(ne,this.container.childNodes[0]):this.container.appendChild(ne)},le.prototype.getState=function(){return{typeName:le.typeName,state:this.state,notes:this.notes}},le.prototype.restoreState=function(ne){this._state=ne.state,this.notes=ne.notes},le.prototype.scale=function(ne,te){},le.prototype.colorChanged=function(ne){this.onColorChanged&&this.onColorChanged(ne),this.stateChanged()},le.prototype.fillColorChanged=function(ne){this.onFillColorChanged&&this.onFillColorChanged(ne),this.stateChanged()},le.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ne=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ne.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ne)&&this.onStateChanged(this)}},le.typeName="MarkerBase",le}(),at=function(){function le(){this.findGripByVisual=this.findGripByVisual.bind(this)}return le.prototype.findGripByVisual=function(ne){return this.topLeft.ownsTarget(ne)?this.topLeft:this.topCenter.ownsTarget(ne)?this.topCenter:this.topRight.ownsTarget(ne)?this.topRight:this.centerLeft.ownsTarget(ne)?this.centerLeft:this.centerRight.ownsTarget(ne)?this.centerRight:this.bottomLeft.ownsTarget(ne)?this.bottomLeft:this.bottomCenter.ownsTarget(ne)?this.bottomCenter:this.bottomRight.ownsTarget(ne)?this.bottomRight:void 0},le}(),Nt=function(){function le(){this.GRIP_SIZE=10,this.visual=Ce.createGroup(),this.visual.appendChild(Ce.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Ce.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return le.prototype.ownsTarget=function(ne){return ne===this.visual||ne===this.visual.childNodes[0]||ne===this.visual.childNodes[1]},le}(),jt=function(){function le(){}return le.toITransformMatrix=function(ne){return{a:ne.a,b:ne.b,c:ne.c,d:ne.d,e:ne.e,f:ne.f}},le.toSVGMatrix=function(ne,te){return ne.a=te.a,ne.b=te.b,ne.c=te.c,ne.d=te.d,ne.e=te.e,ne.f=te.f,ne},le}(),se=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.left=0,re.top=0,re.width=0,re.height=0,re.defaultSize={x:50,y:20},re.offsetX=0,re.offsetY=0,re.rotationAngle=0,re.CB_DISTANCE=10,re._suppressMarkerCreateEvent=!1,re.container.transform.baseVal.appendItem(Ce.createTransform()),re.setupControlBox(),re}return xe(ne,le),Object.defineProperty(ne.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"visual",{get:function(){return this._visual},set:function(te){this._visual=te;var ae=Ce.createTransform();this._visual.transform.baseVal.appendItem(ae)},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!!le.prototype.ownsTarget.call(this,te)||!!(this.controlGrips.findGripByVisual(te)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(te))},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.left=te.x,this.top=te.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var he=this.unrotatePoint(te);if(this.manipulationStartX=he.x,this.manipulationStartY=he.y,this.offsetX=he.x-this.left,this.offsetY=he.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ae),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ae)){this.activeGrip=this.rotatorGrip;var re=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=re.x-this.width/2,this.top=re.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var ue=this.container.transform.baseVal.getItem(0);ue.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ue,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ne.prototype.pointerUp=function(te){var ae=this.state;le.prototype.pointerUp.call(this,te),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(te),this._state="select",ae==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ne.prototype.moveVisual=function(te){this.visual.style.transform="translate("+te.x+"px, "+te.y+"px)"},ne.prototype.manipulate=function(te){var ae=this.unrotatePoint(te);this.state==="creating"?this.resize(te):this.state==="move"?(this.left=this.manipulationStartLeft+(ae.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ae.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ae):this.state==="rotate"&&this.rotate(te)},ne.prototype.resize=function(te){var ae=this.manipulationStartLeft,he=this.manipulationStartWidth,re=this.manipulationStartTop,ue=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ae=this.manipulationStartLeft+te.x-this.manipulationStartX,he=this.manipulationStartWidth+this.manipulationStartLeft-ae;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:he=this.manipulationStartWidth+te.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:re=this.manipulationStartTop+te.y-this.manipulationStartY,ue=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:ue=this.manipulationStartHeight+te.y-this.manipulationStartY}he>=0?(this.left=ae,this.width=he):(this.left=ae+he,this.width=-he),ue>=0?(this.top=re,this.height=ue):(this.top=re+ue,this.height=-ue),this.setSize()},ne.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ne.prototype.rotate=function(te){if(Math.abs(te.x-this.centerX)>.1){var ae=Math.sign(te.x-this.centerX);this.rotationAngle=180*Math.atan((te.y-this.centerY)/(te.x-this.centerX))/Math.PI+90*ae,this.applyRotation()}},ne.prototype.applyRotation=function(){var te=this.container.transform.baseVal.getItem(0);te.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(te,0)},ne.prototype.rotatePoint=function(te){if(this.rotationAngle===0)return te;var ae=this.container.getCTM(),he=Ce.createPoint(te.x,te.y);return{x:(he=he.matrixTransform(ae)).x,y:he.y}},ne.prototype.unrotatePoint=function(te){if(this.rotationAngle===0)return te;var ae=this.container.getCTM();ae=ae.inverse();var he=Ce.createPoint(te.x,te.y);return{x:(he=he.matrixTransform(ae)).x,y:he.y}},ne.prototype.select=function(){le.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){le.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Ce.createGroup();var te=Ce.createTransform();te.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(te),this.container.appendChild(this.controlBox),this.controlRect=Ce.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=Ce.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 at,this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){var te=this.controlBox.transform.baseVal.getItem(0);te.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(te,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()},ne.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()},ne.prototype.createGrip=function(){var te=new Nt;return te.visual.transform.baseVal.appendItem(Ce.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.controlGrips.topLeft.GRIP_SIZE,ae=-te/2,he=ae,re=(this.width+this.CB_DISTANCE)/2-te/2,ue=(this.height+this.CB_DISTANCE)/2-te/2,De=this.height+this.CB_DISTANCE-te/2,st=this.width+this.CB_DISTANCE-te/2;this.positionGrip(this.controlGrips.topLeft.visual,ae,he),this.positionGrip(this.controlGrips.topCenter.visual,re,he),this.positionGrip(this.controlGrips.topRight.visual,st,he),this.positionGrip(this.controlGrips.centerLeft.visual,ae,ue),this.positionGrip(this.controlGrips.centerRight.visual,st,ue),this.positionGrip(this.controlGrips.bottomLeft.visual,ae,De),this.positionGrip(this.controlGrips.bottomCenter.visual,re,De),this.positionGrip(this.controlGrips.bottomRight.visual,st,De),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,re,he-3*this.CB_DISTANCE)},ne.prototype.positionGrip=function(te,ae,he){var re=te.transform.baseVal.getItem(0);re.setTranslate(ae,he),te.transform.baseVal.replaceItem(re,0)},ne.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ne.prototype.showControlBox=function(){this.controlBox.style.display=""},ne.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:jt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:jt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.left=ae.left,this.top=ae.top,this.width=ae.width,this.height=ae.height,this.rotationAngle=ae.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(jt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ae.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(jt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ae.containerTransformMatrix))},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae);var he=this.rotatePoint({x:this.left,y:this.top}),re=this.unrotatePoint({x:he.x*te,y:he.y*ae});this.left=re.x,this.top=re.y,this.width=this.width*te,this.height=this.height*ae,this.adjustControlBox()},ne}(je),Oe=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=Ce.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)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),Ce.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&Ce.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&Ce.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&Ce.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&Ce.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.title="Rectangle marker",ne}(se),dt=function(le){function ne(te,ae,he,re){var ue=le.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return ue.widths=[],ue.widthBoxes=[],ue.widths=ae,ue.currentWidth=he,ue.setCurrentWidth=ue.setCurrentWidth.bind(ue),ue}return xe(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.widths.forEach(function(he){var re=document.createElement("div");re.style.display="flex",re.style.flexGrow="2",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=he===te.currentWidth?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentWidth(he,re)}),ae.appendChild(re);var ue=document.createElement("div");ue.innerText=he.toString(),ue.style.marginRight="5px",re.appendChild(ue);var De=document.createElement("div");De.style.minHeight="20px",De.style.flexGrow="2",De.style.display="flex",De.style.alignItems="center";var st=document.createElement("hr");st.style.minWidth="20px",st.style.border="0px",st.style.borderTop=he+"px solid "+te.uiStyleSettings.toolboxColor,st.style.flexGrow="2",De.appendChild(st),re.appendChild(De),te.widthBoxes.push(re)}),ae},ne.prototype.setCurrentWidth=function(te,ae){var he=this;this.currentWidth=te,this.widthBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ne}($e),ht=function(le){function ne(te,ae,he,re){var ue=le.call(this,te,re||'<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 ue.styles=[],ue.styleBoxes=[],ue.styles=ae,ue.currentStyle=he,ue.setCurrentStyle=ue.setCurrentStyle.bind(ue),ue}return xe(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.styles.forEach(function(he){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/te.styles.length-5+"%",re.style.borderColor=he===te.currentStyle?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentStyle(he,re)}),ae.appendChild(re);var ue=document.createElement("div");ue.style.minHeight="20px",ue.style.flexGrow="2",ue.style.overflow="hidden";var De=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+te.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(he!==""?'stroke-dasharray="'+he+'"':"")+` />
</svg>`;ue.innerHTML=De,re.appendChild(ue),te.styleBoxes.push(re)}),ae},ne.prototype.setCurrentStyle=function(te,ae){var he=this;this.currentStyle=te,this.styleBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ne}($e),Rt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.strokePanel=new ze("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new ht("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return xe(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="FrameMarker",ne.title="Frame marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ne}(Oe),_e=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"},lt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.x1=0,re.y1=0,re.x2=0,re.y2=0,re.defaultLength=50,re.manipulationStartX=0,re.manipulationStartY=0,re.manipulationStartX1=0,re.manipulationStartY1=0,re.manipulationStartX2=0,re.manipulationStartY2=0,re.setupControlBox(),re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return!!le.prototype.ownsTarget.call(this,te)||!(!this.grip1.ownsTarget(te)&&!this.grip2.ownsTarget(te))},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.manipulationStartX=te.x,this.manipulationStartY=te.y,this.state==="new"&&(this.x1=te.x,this.y1=te.y,this.x2=te.x,this.y2=te.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(ae)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ae)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ne.prototype.pointerUp=function(te){var ae=this.state;le.prototype.pointerUp.call(this,te),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(te),this._state="select",ae==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ne.prototype.adjustVisual=function(){},ne.prototype.manipulate=function(te){this.state==="creating"?this.resize(te):this.state==="move"?(this.x1=this.manipulationStartX1+te.x-this.manipulationStartX,this.y1=this.manipulationStartY1+te.y-this.manipulationStartY,this.x2=this.manipulationStartX2+te.x-this.manipulationStartX,this.y2=this.manipulationStartY2+te.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(te)},ne.prototype.resize=function(te){switch(this.activeGrip){case this.grip1:this.x1=te.x,this.y1=te.y;break;case this.grip2:case void 0:this.x2=te.x,this.y2=te.y}this.adjustVisual(),this.adjustControlBox()},ne.prototype.select=function(){le.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){le.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Ce.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){this.positionGrips()},ne.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ne.prototype.createGrip=function(){var te=new Nt;return te.visual.transform.baseVal.appendItem(Ce.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-te/2,this.y1-te/2),this.positionGrip(this.grip2.visual,this.x2-te/2,this.y2-te/2)},ne.prototype.positionGrip=function(te,ae,he){var re=te.transform.baseVal.getItem(0);re.setTranslate(ae,he),te.transform.baseVal.replaceItem(re,0)},ne.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},le.prototype.getState.call(this))},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.x1=ae.x1,this.y1=ae.y1,this.x2=ae.x2,this.y2=ae.y2},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.x1=this.x1*te,this.y1=this.y1*ae,this.x2=this.x2*te,this.y2=this.y2*ae,this.adjustVisual(),this.adjustControlBox()},ne}(je),ut=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.strokePanel=new ze("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new ht("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorLine&&te!==this.visibleLine)},ne.prototype.createVisual=function(){this.visual=Ce.createGroup(),this.selectorLine=Ce.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Ce.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)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ne.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()),Ce.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Ce.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Ce.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.createVisual(),this.adjustVisual()},ne.typeName="LineMarker",ne.title="Line marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ne}(lt),Pe=function(le){function ne(te,ae,he,re){var ue=le.call(this,te,re||'<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 ue.fonts=[],ue.fontBoxes=[],ue.fonts=ae,ue.currentFont=he,ue.setCurrentFont=ue.setCurrentFont.bind(ue),ue}return xe(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.flexGrow="2",this.fonts.forEach(function(he){var re=document.createElement("div");re.style.display="inline-block",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/te.fonts.length-5+"%",re.style.borderColor=he===te.currentFont?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentFont(he,re)}),ae.appendChild(re);var ue=document.createElement("div");ue.style.display="flex",ue.style.minHeight="20px",ue.style.flexGrow="2",ue.style.fontFamily=he,ue.style.overflow="hidden";var De=document.createElement("div");De.style.whiteSpace="nowrap",De.style.overflow="hidden",De.style.textOverflow="ellipsis",De.innerHTML="The quick brown fox jumps over the lazy dog",ue.appendChild(De),re.appendChild(ue),te.fontBoxes.push(re)}),ae},ne.prototype.setCurrentFont=function(te,ae){var he=this;this.currentFont=te,this.fontBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ne}($e),Te=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.color="transparent",re.padding=5,re.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",re.text=re.DEFAULT_TEXT,re.isMoved=!1,re.color=he.defaultColor,re.fontFamily=he.defaultFontFamily,re.defaultSize={x:100,y:30},re.setColor=re.setColor.bind(re),re.setFont=re.setFont.bind(re),re.renderText=re.renderText.bind(re),re.sizeText=re.sizeText.bind(re),re.textEditDivClicked=re.textEditDivClicked.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.setSize=re.setSize.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.colorPanel=new ze("Color",he.defaultColorSet,he.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.fontFamilyPanel=new Pe("Font",he.defaultFontFamilies,he.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re}return xe(ne,le),ne.prototype.ownsTarget=function(te){if(le.prototype.ownsTarget.call(this,te)||te===this.visual||te===this.textElement||te===this.bgRectangle)return!0;var ae=!1;return this.textElement.childNodes.forEach(function(he){he===te&&(ae=!0)}),ae},ne.prototype.createVisual=function(){this.visual=Ce.createGroup(),this.bgRectangle=Ce.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Ce.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Ce.createTransform()),this.textElement.transform.baseVal.appendItem(Ce.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.renderText=function(){var te=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(ae){te.textElement.appendChild(Ce.createTSpan(ae.trim()===""?" ":ae.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ne.prototype.getTextScale=function(){var te=this.textElement.getBBox(),ae=1;if(te.width>0&&te.height>0){var he=(1*this.width-this.width*this.padding*2/100)/te.width,re=(1*this.height-this.height*this.padding*2/100)/te.height;ae=Math.min(he,re)}return ae},ne.prototype.getTextPosition=function(te){var ae=this.textElement.getBBox(),he=0,re=0;return ae.width>0&&ae.height>0&&(he=(this.width-ae.width*te)/2,re=this.height/2-ae.height*te/2),{x:he,y:re}},ne.prototype.sizeText=function(){var te=this.textElement.getBBox(),ae=this.getTextScale(),he=this.getTextPosition(ae);he.y-=te.y*ae,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+he.x+"px, "+he.y+"px) scale("+ae+", "+ae+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(he.x,he.y),this.textElement.transform.baseVal.getItem(1).setScale(ae,ae))},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.isMoved=!0,this.setSize(),this.sizeText()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Ce.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ce.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ne.prototype.pointerUp=function(te){var ae=this.state;ae==="creating"&&(this._suppressMarkerCreateEvent=!0),le.prototype.pointerUp.call(this,te),this.setSize(),(ae==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.showTextEditor=function(){var te=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(ae){ae.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ae=Number.parseFloat(te.textEditor.style.fontSize);te.textEditor.clientWidth>=Number.parseInt(te.textEditor.style.maxWidth)&&ae>.9;)ae-=.1,te.textEditor.style.fontSize=Math.max(ae,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ae){if(ae.clipboardData){var he=ae.clipboardData.getData("text"),re=window.getSelection();if(!re.rangeCount)return!1;re.deleteFromDocument(),re.getRangeAt(0).insertNode(document.createTextNode(he)),ae.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){te.textEditDivClicked(te.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ne.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var te=this.getTextScale(),ae=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),he=this.textElement.getBBox(),re={x:he.width*te,y:he.height*te};ae.x-=re.x/2,ae.y-=re.y/2,this.textEditor.style.top=ae.y+"px",this.textEditor.style.left=ae.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ae.x+"px",this.textEditor.style.fontSize=Math.max(16*te,12)+"px",this.textElement.style.display="none"}},ne.prototype.textEditDivClicked=function(te){this.text=te.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ne.prototype.select=function(){le.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ne.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),le.prototype.deselect.call(this)},ne.prototype.dblClick=function(te,ae){le.prototype.dblClick.call(this,te,ae),this.showTextEditor()},ne.prototype.setColor=function(te){this.textElement&&Ce.setAttributes(this.textElement,[["fill",te]]),this.color=te,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(te)},ne.prototype.setFont=function(te){this.textElement&&Ce.setAttributes(this.textElement,[["font-family",te]]),this.fontFamily=te,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ne.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ne.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.color=ae.color,this.fontFamily=ae.fontFamily,this.padding=ae.padding,this.text=ae.text,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize(),this.sizeText(),this.positionTextEditor()},ne.typeName="TextMarker",ne.title="Text marker",ne.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>',ne}(se),we=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.color="transparent",re.lineWidth=3,re.drawing=!1,re.pixelRatio=1,re.color=he.defaultColor,re.lineWidth=he.defaultStrokeWidth,re.pixelRatio=he.freehandPixelRatio,re.setColor=re.setColor.bind(re),re.addCanvas=re.addCanvas.bind(re),re.finishCreation=re.finishCreation.bind(re),re.setLineWidth=re.setLineWidth.bind(re),re.colorPanel=new ze("Color",he.defaultColorSet,he.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new dt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.drawingImage)},ne.prototype.createVisual=function(){this.visual=Ce.createGroup(),this.drawingImage=Ce.createImage(),this.visual.appendChild(this.drawingImage);var te=Ce.createTransform();this.visual.transform.baseVal.appendItem(te),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ae){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(te.x,te.y),this.drawing=!0):le.prototype.pointerDown.call(this,te,ae)},ne.prototype.manipulate=function(te){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(te.x,te.y),this.canvasContext.stroke()):le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),Ce.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ce.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):le.prototype.pointerUp.call(this,te)},ne.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)},ne.prototype.select=function(){this.state==="creating"&&this.finishCreation(),le.prototype.select.call(this)},ne.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),le.prototype.deselect.call(this)},ne.prototype.finishCreation=function(){for(var te=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ae=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],he=ae[0],re=ae[1],ue=ae[2],De=ae[3],st=!1,Qe=0;Qe<this.canvasElement.height;Qe++)for(var Ie=0;Ie<this.canvasElement.width;Ie++)te.data[Qe*this.canvasElement.width*4+4*Ie+3]>0&&(st=!0,Qe<re&&(re=Qe),Ie<he&&(he=Ie),Qe>De&&(De=Qe),Ie>ue&&(ue=Ie));if(st){this.left=he/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(ue-he)/this.pixelRatio,this.height=(De-re)/this.pixelRatio;var mt=document.createElement("canvas");mt.width=ue-he,mt.height=De-re,mt.getContext("2d").putImageData(this.canvasContext.getImageData(he,re,ue-he,De-re),0,0),this.drawingImgUrl=mt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.prototype.setDrawingImage=function(){Ce.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Ce.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ne.prototype.setColor=function(te){this.color=te,this.colorChanged(te)},ne.prototype.setLineWidth=function(te){this.lineWidth=te},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({drawingImgUrl:this.drawingImgUrl},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){this.createVisual(),le.prototype.restoreState.call(this,te),this.drawingImgUrl=te.drawingImgUrl,this.setDrawingImage()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setDrawingImage()},ne.typeName="FreehandMarker",ne.title="Freehand marker",ne.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>',ne}(se),me=function(le){function ne(te,ae,he){var re=le.call(this,te,he||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return re.typeBoxes=[],re.currentType=ae,re.setCurrentType=re.setCurrentType.bind(re),re}return xe(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2";for(var he=function(De){var st="both";switch(De){case 0:st="both";break;case 1:st="start";break;case 2:st="end";break;case 3:st="none"}var Qe=document.createElement("div");if(Qe.style.display="flex",Qe.style.flexGrow="2",Qe.style.alignItems="center",Qe.style.justifyContent="space-between",Qe.style.padding="5px",Qe.style.borderWidth="2px",Qe.style.borderStyle="solid",Qe.style.borderColor=st===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",Qe.addEventListener("click",function(){te.setCurrentType(st,Qe)}),ae.appendChild(Qe),st==="both"||st==="start"){var Ie=document.createElement("div");Ie.style.display="flex",Ie.style.alignItems="center",Ie.style.minHeight="20px",Ie.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="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Ie.style.marginLeft="5px",Qe.appendChild(Ie)}var mt=document.createElement("div");mt.style.display="flex",mt.style.alignItems="center",mt.style.minHeight="20px",mt.style.flexGrow="2";var Et=document.createElement("hr");if(Et.style.minWidth="20px",Et.style.border="0px",Et.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),Et.style.flexGrow="2",mt.appendChild(Et),Qe.appendChild(mt),st==="both"||st==="end"){var Tt=document.createElement("div");Tt.style.display="flex",Tt.style.alignItems="center",Tt.style.minHeight="20px",Tt.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="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Tt.style.marginRight="5px",Qe.appendChild(Tt)}re.typeBoxes.push(Qe)},re=this,ue=0;ue<4;ue++)he(ue);return ae},ne.prototype.setCurrentType=function(te,ae){var he=this;this.currentType=te,this.typeBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings!==void 0?he.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ne}($e),Ot=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.arrowType="end",re.arrowBaseHeight=10,re.arrowBaseWidth=10,re.getArrowPoints=re.getArrowPoints.bind(re),re.setArrowType=re.setArrowType.bind(re),re.arrowTypePanel=new me("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.arrow1&&te!==this.arrow2)},ne.prototype.getArrowPoints=function(te,ae){var he=this.arrowBaseWidth+2*this.strokeWidth,re=this.arrowBaseHeight+2*this.strokeWidth;return te-he/2+","+(ae+re/2)+" "+te+","+(ae-re/2)+" "+(te+he/2)+","+(ae+re/2)},ne.prototype.createTips=function(){this.arrow1=Ce.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Ce.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Ce.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Ce.createTransform()),this.visual.appendChild(this.arrow2)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(le.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",Ce.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Ce.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var te=0;Math.abs(this.x1-this.x2)>.1&&(te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ae=this.arrow1.transform.baseVal.getItem(0);ae.setRotate(te,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ae,0);var he=this.arrow2.transform.baseVal.getItem(0);he.setRotate(te+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(he,0)}},ne.prototype.setArrowType=function(te){this.arrowType=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({arrowType:this.arrowType},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.arrowType=ae.arrowType,this.createTips(),this.adjustVisual()},ne.typeName="ArrowMarker",ne.title="Arrow marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ne}(ut),We=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.fillColor=he.defaultFillColor,re.strokeWidth=0,re.fillPanel=new ze("Color",he.defaultColorSet,he.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return xe(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="CoverMarker",ne.title="Cover marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ne}(Oe),Xe=function(le){function ne(te,ae,he,re){var ue=le.call(this,te,re||'<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 ue.opacities=[],ue.opacityBoxes=[],ue.opacities=ae,ue.currentOpacity=he,ue.setCurrentOpacity=ue.setCurrentOpacity.bind(ue),ue}return xe(ne,le),ne.prototype.getUi=function(){var te=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",ae.style.justifyContent="space-between",this.opacities.forEach(function(he){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="center",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=he===te.currentOpacity?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentOpacity(he,re)}),ae.appendChild(re);var ue=document.createElement("div");ue.innerText=100*he+"%",re.appendChild(ue),te.opacityBoxes.push(re)}),ae},ne.prototype.setCurrentOpacity=function(te,ae){var he=this;this.currentOpacity=te,this.opacityBoxes.forEach(function(re){re.style.borderColor=re===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ne}($e),Xt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.setOpacity=re.setOpacity.bind(re),re.fillColor=he.defaultHighlightColor,re.strokeWidth=0,re.opacity=he.defaultHighlightOpacity,re.fillPanel=new ze("Color",he.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new Xe("Opacity",he.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return xe(ne,le),ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&Ce.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="HighlightMarker",ne.title="Highlight marker",ne.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>',ne}(We),Se='<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>',Mt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.bgColor="transparent",re.tipPosition={x:0,y:0},re.tipBase1Position={x:0,y:0},re.tipBase2Position={x:0,y:0},re.tipMoving=!1,re.color=he.defaultStrokeColor,re.bgColor=he.defaultFillColor,re.fontFamily=he.defaultFontFamily,re.defaultSize={x:100,y:30},re.setBgColor=re.setBgColor.bind(re),re.getTipPoints=re.getTipPoints.bind(re),re.positionTip=re.positionTip.bind(re),re.setTipPoints=re.setTipPoints.bind(re),re.colorPanel=new ze("Text color",he.defaultColorSet,re.color,Se),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new ze("Fill color",he.defaultColorSet,re.bgColor,ve),re.bgColorPanel.onColorChanged=re.setBgColor,re.fontFamilyPanel=new Pe("Font",he.defaultFontFamilies,he.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.tipGrip=new Nt,re.tipGrip.visual.transform.baseVal.appendItem(Ce.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return le.prototype.ownsTarget.call(this,te)||this.tipGrip.ownsTarget(te)||this.tip===te},ne.prototype.createTip=function(){Ce.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Ce.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ne.prototype.pointerDown=function(te,ae){this.state==="new"&&le.prototype.pointerDown.call(this,te,ae),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ae)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):le.prototype.pointerDown.call(this,te,ae)},ne.prototype.pointerUp=function(te){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,le.prototype.pointerUp.call(this,te);else{var ae=this.state==="creating";le.prototype.pointerUp.call(this,te),this.setTipPoints(ae),this.positionTip()}},ne.prototype.manipulate=function(te){if(this.tipMoving){var ae=this.unrotatePoint(te);this.tipPosition={x:ae.x-this.manipulationStartLeft,y:ae.y-this.manipulationStartTop},this.positionTip()}else le.prototype.manipulate.call(this,te)},ne.prototype.setBgColor=function(te){this.bgRectangle&&this.tip&&(Ce.setAttributes(this.bgRectangle,[["fill",te]]),Ce.setAttributes(this.tip,[["fill",te]])),this.bgColor=te,this.fillColorChanged(te)},ne.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},ne.prototype.setTipPoints=function(te){te===void 0&&(te=!1);var ae=Math.min(this.height/2,15),he=this.height/5;te&&(this.tipPosition={x:ae+he/2,y:this.height+20});var re=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?re<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:0},this.tipBase2Position={x:ae+he,y:0}):(this.tipBase1Position={x:0,y:ae},this.tipBase2Position={x:0,y:ae+he}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?re<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-he,y:0},this.tipBase2Position={x:this.width-ae,y:0}):(this.tipBase1Position={x:this.width,y:ae},this.tipBase2Position={x:this.width,y:ae+he}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?re<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-he,y:this.height},this.tipBase2Position={x:this.width-ae,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ae-he},this.tipBase2Position={x:this.width,y:this.height-ae}):re<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:this.height},this.tipBase2Position={x:ae+he,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ae},this.tipBase2Position={x:0,y:this.height-ae-he})},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.positionTip()},ne.prototype.positionTip=function(){Ce.setAttributes(this.tip,[["points",this.getTipPoints()]]);var te=this.tipGrip.visual.transform.baseVal.getItem(0);te.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(te,0)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.select=function(){this.positionTip(),le.prototype.select.call(this)},ne.prototype.getState=function(){var te=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.bgColor=ae.bgColor,this.tipPosition=ae.tipPosition,le.prototype.restoreState.call(this,te),this.createTip(),this.setTipPoints()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.tipPosition={x:this.tipPosition.x*te,y:this.tipPosition.y*ae},this.positionTip()},ne.typeName="CalloutMarker",ne.title="Callout marker",ne.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>',ne}(Te),Jt=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.fillColor=he.defaultFillColor,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.setOpacity=re.setOpacity.bind(re),re.createVisual=re.createVisual.bind(re),re.strokePanel=new ze("Line color",Me(he.defaultColorSet,["transparent"]),he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new ze("Fill color",Me(he.defaultColorSet,["transparent"]),re.fillColor,ve),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new dt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new ht("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new Xe("Opacity",he.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=Ce.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)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),Ce.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&Ce.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&Ce.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&Ce.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&Ce.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&Ce.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.typeName="EllipseMarker",ne.title="Ellipse marker",ne.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>',ne}(se),Zt=function(le){function ne(te,ae,he){return le.call(this,te,ae,he)||this}return xe(ne,le),Object.defineProperty(ne.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.tip1&&te!==this.tip2)},ne.prototype.createTips=function(){this.tip1=Ce.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(Ce.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Ce.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(Ce.createTransform()),this.visual.appendChild(this.tip2)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(le.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Ce.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()]]),Ce.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 te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ae=this.tip1.transform.baseVal.getItem(0);ae.setRotate(te,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ae,0);var he=this.tip2.transform.baseVal.getItem(0);he.setRotate(te+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(he,0)}},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te),this.createTips(),this.adjustVisual()},ne.typeName="MeasurementMarker",ne.title="Measurement marker",ne.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>',ne}(ut),pe=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.strokePanel.colors=he.defaultColorSet,re.fillColor="transparent",re}return xe(ne,le),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=le.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="EllipseFrameMarker",ne.title="Ellipse frame marker",ne.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>',ne}(Jt),Re=function(){function le(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(le.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),le.prototype.addUndoStep=function(ne){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ne)||(this.undoStack.push(ne),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ne)&&this.redoStack.splice(0,this.redoStack.length))},le.prototype.replaceLastUndoStep=function(ne){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ne)},le.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},le.prototype.undo=function(){if(this.undoStack.length>1){var ne=this.undoStack.pop();return ne!==void 0&&this.redoStack.push(ne),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},le.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},le}(),Ue=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.curveX=0,re.curveY=0,re.manipulationStartCurveX=0,re.manipulationStartCurveY=0,re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.positionGrips=re.positionGrips.bind(re),re.addControlGrips=re.addControlGrips.bind(re),re.adjustVisual=re.adjustVisual.bind(re),re.setupControlBox=re.setupControlBox.bind(re),re.resize=re.resize.bind(re),re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.strokePanel=new ze("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new dt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new ht("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorCurve&&te!==this.visibleCurve&&!this.curveGrip.ownsTarget(te))},ne.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ne.prototype.createVisual=function(){this.visual=Ce.createGroup(),this.selectorCurve=Ce.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Ce.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)},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=te.x,this.curveY=te.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ae)&&(this.activeGrip=this.curveGrip,this._state="resize")},ne.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Ce.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Ce.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Ce.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setupControlBox=function(){le.prototype.setupControlBox.call(this),this.curveControlLine1=Ce.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Ce.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)},ne.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,le.prototype.addControlGrips.call(this)},ne.prototype.positionGrips=function(){le.prototype.positionGrips.call(this);var te=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-te/2,this.curveY-te/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()))},ne.prototype.manipulate=function(te){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+te.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+te.y-this.manipulationStartY),le.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){this.activeGrip===this.curveGrip&&(this.curveX=te.x,this.curveY=te.y),le.prototype.resize.call(this,te),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual()},ne.prototype.scale=function(te,ae){this.curveX=this.curveX*te,this.curveY=this.curveY*ae,le.prototype.scale.call(this,te,ae)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},le.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){le.prototype.restoreState.call(this,te);var ae=te;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.curveX=ae.curveX,this.curveY=ae.curveY,this.createVisual(),this.adjustVisual()},ne.typeName="CurveMarker",ne.title="Curve marker",ne.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>',ne}(lt),tn=function(le){function ne(te,ae,he){var re=le.call(this,te,ae,he)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.textColor="transparent",re.fontSize="1rem",re.isMoved=!1,re.captionText="Caption",re.PADDING=5,re.captionBoxWidth=0,re.captionBoxHeight=0,re.strokeColor=he.defaultColor,re.strokeWidth=he.defaultStrokeWidth,re.strokeDasharray=he.defaultStrokeDasharray,re.fillColor=he.defaultFillColor,re.textColor=he.defaultStrokeColor,re.fontFamily=he.defaultFontFamily,re.fontSize=he.defaultCaptionFontSize,re.captionText=he.defaultCaptionText,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re.sizeCaption=re.sizeCaption.bind(re),re.setCaptionText=re.setCaptionText.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.finishTextEditing=re.finishTextEditing.bind(re),re.setFont=re.setFont.bind(re),re.setTextColor=re.setTextColor.bind(re),re.strokePanel=new ze("Line color",Me(he.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new ze("Fill color",Me(he.defaultColorSet,["transparent"]),re.fillColor,ve),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new dt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new ht("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.fontFamilyPanel=new Pe("Font",he.defaultFontFamilies,he.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.textColorPanel=new ze("Text color",he.defaultColorSet,re.textColor,Se),re.textColorPanel.onColorChanged=re.setTextColor,re}return xe(ne,le),ne.prototype.ownsTarget=function(te){return!(!le.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.frame&&te!==this.captionBg&&te!==this.captionElement)},ne.prototype.createVisual=function(){this.visual=Ce.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Ce.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Ce.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=Ce.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()},ne.prototype.setCaptionText=function(te){this.captionText=te,this.captionElement.textContent=this.captionText,this.sizeCaption()},ne.prototype.pointerDown=function(te,ae){le.prototype.pointerDown.call(this,te,ae),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){le.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(te){le.prototype.resize.call(this,te),this.setSize()},ne.prototype.sizeCaption=function(){var te=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=te.width+2*this.PADDING,this.captionBoxHeight=te.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Ce.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')"]]),Ce.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')"]])},ne.prototype.showTextEditor=function(){var te=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(ae){ae.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ae){ae.key==="Enter"&&te.finishTextEditing(te.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){te.finishTextEditing(te.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){te.finishTextEditing(te.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ne.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"))},ne.prototype.finishTextEditing=function(te){this.setCaptionText(te.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ne.prototype.setFont=function(te){this.captionElement&&Ce.setAttributes(this.captionElement,[["font-family",te]]),this.fontFamily=te,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ne.prototype.setTextColor=function(te){this.captionElement&&Ce.setAttributes(this.captionElement,[["fill",te]]),this.textColor=te,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ne.prototype.setSize=function(){le.prototype.setSize.call(this),Ce.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ne.prototype.pointerUp=function(te){le.prototype.pointerUp.call(this,te),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.dblClick=function(te,ae){le.prototype.dblClick.call(this,te,ae),this.showTextEditor()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.frame&&Ce.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.captionBg&&Ce.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.frame&&Ce.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.frame&&Ce.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=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},le.prototype.getState.call(this));return te.typeName=this.typeName,te},ne.prototype.restoreState=function(te){var ae=te;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.textColor=ae.textColor,this.fontFamily=ae.fontFamily,this.captionText=ae.captionText,this.fontSize=ae.fontSize,this.createVisual(),le.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ae){le.prototype.scale.call(this,te,ae),this.setSize()},ne.typeName="CaptionFrameMarker",ne.title="Caption frame marker",ne.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>',ne}(se),rt=function(){function le(ne,te){te===void 0&&(te=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ne,this.cancelable=te}return Object.defineProperty(le.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),le.prototype.preventDefault=function(){this._defaultPrevented=!0},le}(),Kt=function(le){function ne(te,ae,he){var re=le.call(this,te,!1)||this;return re.dataUrl=ae,re.state=he,re}return xe(ne,le),ne}(rt),ct=function(le){function ne(te,ae,he){he===void 0&&(he=!1);var re=le.call(this,te,he)||this;return re.marker=ae,re}return xe(ne,le),ne}(rt),fn=function(){function le(){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 le.prototype.addEventListener=function(ne,te){this[ne].push(te)},le.prototype.removeEventListener=function(ne,te){var ae=this[ne].indexOf(te);ae>-1&&this[ne].splice(ae,1)},le}(),xt=function(){function le(ne){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new _e,this._isOpen=!1,this.undoRedoManager=new Re,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 fn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=le.instanceCounter++,this.styles=new de(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ne,this.targetRoot=document.body,this.width=ne.clientWidth,this.height=ne.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(le.prototype,"ALL_MARKER_TYPES",{get:function(){return[Rt,we,Ot,Te,pe,Jt,Xt,Mt,Zt,We,ut,Ue,tn]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Rt,we,Ot,Te,Jt,Xt,Mt]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Rt,we,Ot,Te,Xt]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ne){var te=this;this._availableMarkerTypes.splice(0),ne.forEach(function(ae){if(typeof ae=="string"){var he=te.ALL_MARKER_TYPES.find(function(re){return re.typeName===ae});he!==void 0&&te._availableMarkerTypes.push(he)}else te._availableMarkerTypes.push(ae)})},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ne){this._zoomLevel=ne,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(le.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),le.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Be.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},le.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&Fe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Fe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(te){return te(new rt(ne))})},le.prototype.render=function(){return ce(this,void 0,void 0,function(){var ne;return nt(this,function(te){switch(te.label){case 0:return this.setCurrentMarker(),(ne=new He).naturalSize=this.renderAtNaturalSize,ne.imageType=this.renderImageType,ne.imageQuality=this.renderImageQuality,ne.markersOnly=this.renderMarkersOnly,ne.width=this.renderWidth,ne.height=this.renderHeight,[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return te.sent(),[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,te.sent()]}})})},le.prototype.close=function(ne){var te=this;if(ne===void 0&&(ne=!1),this.isOpen){var ae=!1;ne||this.eventListeners.beforeclose.forEach(function(he){var re=new rt(te,!0);he(re),re.defaultPrevented&&(ae=!0)}),ae||(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(he){return he(new rt(te))}),this.detachEvents(),this._isOpen=!1)}},le.prototype.addMarkersToToolbar=function(){for(var ne,te=[],ae=0;ae<arguments.length;ae++)te[ae]=arguments[ae];(ne=this._availableMarkerTypes).push.apply(ne,te)},le.prototype.addRenderEventListener=function(ne){this.addEventListener("render",function(te){ne(te.dataUrl,te.state)})},le.prototype.removeRenderEventListener=function(ne){},le.prototype.addCloseEventListener=function(ne){this.addEventListener("close",function(){ne()})},le.prototype.removeCloseEventListener=function(ne){},le.prototype.setupResizeObserver=function(){var ne=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ne.resize(ne.target.clientWidth,ne.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ne.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},le.prototype.onPopupTargetResize=function(){var ne=1*this.target.clientWidth/this.target.clientHeight,te=this.editorCanvas.clientWidth/ne>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ne:this.editorCanvas.clientWidth,ae=te<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ne;this.resize(te,ae)},le.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},le.prototype.resize=function(ne,te){this._isResizing=!0;var ae=ne/this.imageWidth,he=te/this.imageHeight;this.imageWidth=Math.round(ne),this.imageHeight=Math.round(te),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(ae,he),this._isResizing=!1},le.prototype.scaleMarkers=function(ne,te){var ae,he=this;this._currentMarker&&this._currentMarker instanceof Te?this._currentMarker.scale(ne,te):(ae=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(re){re!==he._currentMarker&&re.scale(ne,te)}),ae!==void 0&&this.setCurrentMarker(ae)},le.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"},le.prototype.setTopLeft=function(){var ne=this.editingTarget.getBoundingClientRect(),te=this.editorCanvas.getBoundingClientRect();this.left=ne.left-te.left,this.top=ne.top-te.top},le.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)},le.prototype.addDefs=function(){for(var ne,te=[],ae=0;ae<arguments.length;ae++)te[ae]=arguments[ae];this.defs=Ce.createDefs(),this.addDefsToImage(),(ne=this.defs).append.apply(ne,te)},le.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},le.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)},le.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},le.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},le.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)},le.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},le.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)},le.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 ne=document.createElement("a");ne.href="https://markerjs.com/",ne.target="_blank",ne.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>',ne.title="Powered by marker.js",ne.style.display="grid",ne.style.alignItems="center",ne.style.justifyItems="center",ne.style.padding="3px",ne.style.width="20px",ne.style.height="20px",this.logoUI.appendChild(ne),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},le.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")},le.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"},le.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},le.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 ne=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=ne+"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 vt(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 et(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},le.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},le.prototype.removeMarker=function(ne){this.markerImage.removeChild(ne.container),this.markers.indexOf(ne)>-1&&this.markers.splice(this.markers.indexOf(ne),1),ne.dispose()},le.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())},le.prototype.toolbarButtonClicked=function(ne,te){if(ne==="marker"&&te!==void 0)this.createNewMarker(te);else if(ne==="action")switch(te){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()}},le.prototype.deleteSelectedMarker=function(){var ne=this;if(this._currentMarker!==void 0){var te=!1;if(this.eventListeners.markerbeforedelete.forEach(function(he){var re=new ct(ne,ne._currentMarker,!0);he(re),re.defaultPrevented&&(te=!0)}),!te){var ae=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(he){return he(new ct(ne,ae))})}}},le.prototype.clear=function(){var ne=this,te=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(ue){var De=new ct(ne,void 0,!0);ue(De),De.defaultPrevented&&(te=!0)}),!te)){this.setCurrentMarker();for(var ae=function(ue){var De=he.markers[ue];he.setCurrentMarker(he.markers[ue]),he._currentMarker.dispose(),he.markerImage.removeChild(he._currentMarker.container),he.markers.splice(he.markers.indexOf(he._currentMarker),1),he.eventListeners.markerdelete.forEach(function(st){return st(new ct(ne,De))})},he=this,re=this.markers.length-1;re>=0;re--)ae(re);this.addUndoStep()}},Object.defineProperty(le.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),le.prototype.showNotesEditor=function(){var ne;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=(ne=this._currentMarker.notes)!==null&&ne!==void 0?ne:"",this.overlayContainer.appendChild(this.notesArea))},le.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)},le.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},le.prototype.addUndoStep=function(){var ne=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var te=this.getState(),ae=this.undoRedoManager.getLastUndoStep();if(!ae||ae.width===te.width&&ae.height===te.height){var he=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(te),he<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(re){return re(new rt(ne))})}else this.undoRedoManager.replaceLastUndoStep(te),this.eventListeners.statechange.forEach(function(re){return re(new rt(ne))})}},le.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},le.prototype.undoStep=function(){var ne=this,te=this.undoRedoManager.undo();te!==void 0&&(this.restoreState(te),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new rt(ne))}))},le.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},le.prototype.redoStep=function(){var ne=this,te=this.undoRedoManager.redo();te!==void 0&&(this.restoreState(te),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new rt(ne))}))},le.prototype.stepZoom=function(){var ne=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ne<this.zoomSteps.length-1?this.zoomSteps[ne+1]:this.zoomSteps[0]},le.prototype.panTo=function(ne){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ne.x,top:this.prevPanPoint.y-ne.y}),this.prevPanPoint=ne},le.prototype.startRenderAndClose=function(){return ce(this,void 0,void 0,function(){var ne,te,ae=this;return nt(this,function(he){switch(he.label){case 0:return[4,this.render()];case 1:return ne=he.sent(),te=this.getState(),this.eventListeners.render.forEach(function(re){return re(new Kt(ae,ne,te))}),this.close(!0),[2]}})})},le.prototype.getState=function(ne){ne===!0&&this.setCurrentMarker();var te={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ae){return te.markers.push(ae.getState())}),te},le.prototype.restoreState=function(ne){var te=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ne.markers.forEach(function(ae){var he=te._availableMarkerTypes.find(function(ue){return ue.typeName===ae.typeName});if(he!==void 0){var re=te.addNewMarker(he);re.restoreState(ae),te.markers.push(re)}}),ne.width&&ne.height&&(ne.width!==this.imageWidth||ne.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ne.width,this.imageHeight/ne.height),this.eventListeners.restorestate.forEach(function(ae){return ae(new rt(te))})},le.prototype.addNewMarker=function(ne){var te=Ce.createGroup();return this.markerImage.appendChild(te),new ne(te,this.overlayContainer,this.settings)},le.prototype.createNewMarker=function(ne){var te,ae=this;(te=typeof ne=="string"?this._availableMarkerTypes.find(function(he){return he.typeName===ne}):ne)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(te),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(te.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(he){return he(new ct(ae,ae._currentMarker))}))},le.prototype.markerCreated=function(ne){var te=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ne),this.setCurrentMarker(ne),ne instanceof we&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(we):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ae){return ae(new ct(te,te._currentMarker))})},le.prototype.colorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ne,this.settings.defaultStrokeColor=ne)},le.prototype.fillColorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ne)},le.prototype.markerStateChanged=function(ne){var te=this;this.eventListeners.markerchange.forEach(function(ae){return ae(new ct(te,ne))})},le.prototype.setCurrentMarker=function(ne){var te=this;this._currentMarker!==ne&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ae){return ae(new ct(te,te._currentMarker))})),this._currentMarker=ne,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(ae){return ae(new ct(te,te._currentMarker))}))},le.prototype.onPointerDown=function(ne){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ne.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var te=this.markers.find(function(ae){return ae.ownsTarget(ne.target)});te!==void 0?(this.setCurrentMarker(te),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ne.clientX,y:ne.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY))},le.prototype.onDblClick=function(ne){if(this._isFocused||this.focus(),this.mode==="select"){var te=this.markers.find(function(ae){return ae.ownsTarget(ne.target)});te!==void 0&&te!==this._currentMarker&&this.setCurrentMarker(te),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target):this.setCurrentMarker()}},le.prototype.onPointerMove=function(ne){this.touchPoints!==1&&ne.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ne.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ne.clientX,ne.clientY)):this.zoomLevel>1&&this.panTo({x:ne.clientX,y:ne.clientY}))},le.prototype.onPointerUp=function(ne){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ne.clientX,ne.clientY)),this.isDragging=!1,this.addUndoStep()},le.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},le.prototype.onKeyUp=function(ne){this._currentMarker===void 0||this.notesArea!==void 0||ne.key!=="Delete"&&ne.key!=="Backspace"||this.deleteSelectedMarker()},le.prototype.clientToLocalCoordinates=function(ne,te){var ae=this.markerImage.getBoundingClientRect();return{x:(ne-ae.left)/this.zoomLevel,y:(te-ae.top)/this.zoomLevel}},le.prototype.onWindowResize=function(){this.positionUI()},le.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ne=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ne+"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()},le.prototype.addLicenseKey=function(ne){Be.addKey(ne)},le.prototype.addEventListener=function(ne,te){this.eventListeners.addEventListener(ne,te)},le.prototype.removeEventListener=function(ne,te){this.eventListeners.removeEventListener(ne,te)},le.prototype.renderState=function(ne){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ne),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(le.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),le.prototype.focus=function(){var ne=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(te){return te(new rt(ne))}))},le.prototype.blur=function(){var ne=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(te){return te(new rt(ne))}))},le.instanceCounter=0,le}()},6551:function(Yn,dn,z){"use strict";z.d(dn,{ZP:function(){return Be}});var b=z(42978),xe=z(59301),ce=z(47273),nt=0,Me=(0,ce.Z)();function Ce(){var He;return Me?(He=nt,nt+=1):He="TEST_OR_SSR",He}function Be(He){var Fe=xe.useState(),de=(0,b.Z)(Fe,2),Ke=de[0],be=de[1];return xe.useEffect(function(){be("rc_select_".concat(Ce()))},[]),He||Ke}},37463:function(Yn,dn,z){"use strict";z.d(dn,{Ac:function(){return Ut},Xo:function(){return mn},Wx:function(){return Vt},ZP:function(){return er},lk:function(){return jt}});var b=z(54476),xe=z(94480),ce=z(20068),nt=z(33885),Me=z(42978),Ce=z(75931),Be=z(76190),He=z(18929),Fe=z(48736),de=z(59301),Ke=z(92310),be=z.n(Ke),vt=z(34280),et=z(49658),$e=z(8654),ze=function(Gt){var Ze=Gt.className,gt=Gt.customizeIcon,Ve=Gt.customizeIconProps,yt=Gt.children,_t=Gt.onMouseDown,rr=Gt.onClick,ar=typeof gt=="function"?gt(Ve):gt;return de.createElement("span",{className:Ze,onMouseDown:function(bt){bt.preventDefault(),_t==null||_t(bt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:rr,"aria-hidden":!0},ar!==void 0?ar:de.createElement("span",{className:be()(Ze.split(/\s+/).map(function(pt){return"".concat(pt,"-icon")}))},yt))},je=ze,at=function(Gt,Ze,gt,Ve,yt){var _t=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,rr=arguments.length>6?arguments[6]:void 0,ar=arguments.length>7?arguments[7]:void 0,pt=de.useMemo(function(){if((0,Be.Z)(Ve)==="object")return Ve.clearIcon;if(yt)return yt},[Ve,yt]),bt=de.useMemo(function(){return!!(!_t&&Ve&&(gt.length||rr)&&!(ar==="combobox"&&rr===""))},[Ve,_t,gt.length,rr,ar]);return{allowClear:bt,clearIcon:de.createElement(je,{className:"".concat(Gt,"-clear"),onMouseDown:Ze,customizeIcon:pt},"\xD7")}},Nt=de.createContext(null);function jt(){return de.useContext(Nt)}function se(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Gt=de.useState(!1),Ze=(0,Me.Z)(Gt,2),gt=Ze[0],Ve=Ze[1],yt=de.useRef(null),_t=function(){window.clearTimeout(yt.current)};de.useEffect(function(){return _t},[]);var rr=function(pt,bt){_t(),yt.current=window.setTimeout(function(){Ve(pt),bt&&bt()},Dt)};return[gt,rr,_t]}function Oe(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Gt=de.useRef(null),Ze=de.useRef(null);de.useEffect(function(){return function(){window.clearTimeout(Ze.current)}},[]);function gt(Ve){(Ve||Gt.current===null)&&(Gt.current=Ve),window.clearTimeout(Ze.current),Ze.current=window.setTimeout(function(){Gt.current=null},Dt)}return[function(){return Gt.current},gt]}function dt(Dt,Gt,Ze,gt){var Ve=de.useRef(null);Ve.current={open:Gt,triggerOpen:Ze,customizedTrigger:gt},de.useEffect(function(){function yt(_t){var rr;if(!((rr=Ve.current)!==null&&rr!==void 0&&rr.customizedTrigger)){var ar=_t.target;ar.shadowRoot&&_t.composed&&(ar=_t.composedPath()[0]||ar),Ve.current.open&&Dt().filter(function(pt){return pt}).every(function(pt){return!pt.contains(ar)&&pt!==ar})&&Ve.current.triggerOpen(!1)}}return window.addEventListener("mousedown",yt),function(){return window.removeEventListener("mousedown",yt)}},[])}var ht=z(10228);function Rt(Dt){return Dt&&![ht.Z.ESC,ht.Z.SHIFT,ht.Z.BACKSPACE,ht.Z.TAB,ht.Z.WIN_KEY,ht.Z.ALT,ht.Z.META,ht.Z.WIN_KEY_RIGHT,ht.Z.CTRL,ht.Z.SEMICOLON,ht.Z.EQUALS,ht.Z.CAPS_LOCK,ht.Z.CONTEXT_MENU,ht.Z.F1,ht.Z.F2,ht.Z.F3,ht.Z.F4,ht.Z.F5,ht.Z.F6,ht.Z.F7,ht.Z.F8,ht.Z.F9,ht.Z.F10,ht.Z.F11,ht.Z.F12].includes(Dt)}var _e=z(26112),lt=z(83836);function ut(Dt,Gt,Ze){var gt=(0,nt.Z)((0,nt.Z)({},Dt),Ze?Gt:{});return Object.keys(Gt).forEach(function(Ve){var yt=Gt[Ve];typeof yt=="function"&&(gt[Ve]=function(){for(var _t,rr=arguments.length,ar=new Array(rr),pt=0;pt<rr;pt++)ar[pt]=arguments[pt];return yt.apply(void 0,ar),(_t=Dt[Ve])===null||_t===void 0?void 0:_t.call.apply(_t,[Dt].concat(ar))})}),gt}var Pe=ut,Te=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],we=function(Gt,Ze){var gt=Gt.prefixCls,Ve=Gt.id,yt=Gt.inputElement,_t=Gt.autoFocus,rr=Gt.autoComplete,ar=Gt.editable,pt=Gt.activeDescendantId,bt=Gt.value,Pt=Gt.open,zt=Gt.attrs,Bn=(0,Ce.Z)(Gt,Te),Hn=yt||de.createElement("input",null),Rn=Hn,Un=Rn.ref,pr=Rn.props;return(0,Fe.Kp)(!("maxLength"in Hn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Hn=de.cloneElement(Hn,(0,nt.Z)((0,nt.Z)((0,nt.Z)({type:"search"},Pe(Bn,pr,!0)),{},{id:Ve,ref:(0,$e.sQ)(Ze,Un),autoComplete:rr||"off",autoFocus:_t,className:be()("".concat(gt,"-selection-search-input"),pr==null?void 0:pr.className),role:"combobox","aria-expanded":Pt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ve,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ve,"_list"),"aria-activedescendant":Pt?pt:void 0},zt),{},{value:ar?bt:"",readOnly:!ar,unselectable:ar?null:"on",style:(0,nt.Z)((0,nt.Z)({},pr.style),{},{opacity:ar?null:0})})),Hn},me=de.forwardRef(we),Ot=me;function We(Dt){return Array.isArray(Dt)?Dt:Dt!==void 0?[Dt]:[]}var Xe=typeof window!="undefined"&&window.document&&window.document.documentElement,Xt=Xe;function Se(Dt){return Dt!=null}function ve(Dt){return!Dt&&Dt!==0}function Mt(Dt){return["string","number"].includes((0,Be.Z)(Dt))}function Jt(Dt){var Gt=void 0;return Dt&&(Mt(Dt.title)?Gt=Dt.title.toString():Mt(Dt.label)&&(Gt=Dt.label.toString())),Gt}function Zt(Dt,Gt){Xt?de.useLayoutEffect(Dt,Gt):de.useEffect(Dt,Gt)}function pe(Dt){var Gt;return(Gt=Dt.key)!==null&&Gt!==void 0?Gt:Dt.value}var Re=function(Gt){Gt.preventDefault(),Gt.stopPropagation()},Ue=function(Gt){var Ze=Gt.id,gt=Gt.prefixCls,Ve=Gt.values,yt=Gt.open,_t=Gt.searchValue,rr=Gt.autoClearSearchValue,ar=Gt.inputRef,pt=Gt.placeholder,bt=Gt.disabled,Pt=Gt.mode,zt=Gt.showSearch,Bn=Gt.autoFocus,Hn=Gt.autoComplete,Rn=Gt.activeDescendantId,Un=Gt.tabIndex,pr=Gt.removeIcon,Ar=Gt.maxTagCount,Vr=Gt.maxTagTextLength,Br=Gt.maxTagPlaceholder,fr=Br===void 0?function(It){return"+ ".concat(It.length," ...")}:Br,Pr=Gt.tagRender,kr=Gt.onToggleOpen,$r=Gt.onRemove,Xr=Gt.onInputChange,mi=Gt.onInputPaste,yr=Gt.onInputKeyDown,ur=Gt.onInputMouseDown,gr=Gt.onInputCompositionStart,ni=Gt.onInputCompositionEnd,Kr=Gt.onInputBlur,wr=de.useRef(null),Rr=(0,de.useState)(0),hi=(0,Me.Z)(Rr,2),Qr=hi[0],qr=hi[1],ei=(0,de.useState)(!1),Ni=(0,Me.Z)(ei,2),$i=Ni[0],_i=Ni[1],ki="".concat(gt,"-selection"),io=yt||Pt==="multiple"&&rr===!1||Pt==="tags"?_t:"",ke=Pt==="tags"||Pt==="multiple"&&rr===!1||zt&&(yt||$i);Zt(function(){qr(wr.current.scrollWidth)},[io]);var tt=function($t,Nn,zn,Dn,jn){return de.createElement("span",{title:Jt($t),className:be()("".concat(ki,"-item"),(0,ce.Z)({},"".concat(ki,"-item-disabled"),zn))},de.createElement("span",{className:"".concat(ki,"-item-content")},Nn),Dn&&de.createElement(je,{className:"".concat(ki,"-item-remove"),onMouseDown:Re,onClick:jn,customizeIcon:pr},"\xD7"))},Ft=function($t,Nn,zn,Dn,jn,Jn){var Cr=function(Wr){Re(Wr),kr(!yt)};return de.createElement("span",{onMouseDown:Cr},Pr({label:Nn,value:$t,disabled:zn,closable:Dn,onClose:jn,isMaxTag:!!Jn}))},an=function($t){var Nn=$t.disabled,zn=$t.label,Dn=$t.value,jn=!bt&&!Nn,Jn=zn;if(typeof Vr=="number"&&(typeof zn=="string"||typeof zn=="number")){var Cr=String(Jn);Cr.length>Vr&&(Jn="".concat(Cr.slice(0,Vr),"..."))}var br=function(Jr){Jr&&Jr.stopPropagation(),$r($t)};return typeof Pr=="function"?Ft(Dn,Jn,Nn,jn,br):tt($t,Jn,Nn,jn,br)},cn=function($t){if(!Ve.length)return null;var Nn=typeof fr=="function"?fr($t):fr;return typeof Pr=="function"?Ft(void 0,Nn,!1,!1,void 0,!0):tt({title:Nn},Nn,!1)},Lt=de.createElement("div",{className:"".concat(ki,"-search"),style:{width:Qr},onFocus:function(){_i(!0)},onBlur:function(){_i(!1)}},de.createElement(Ot,{ref:ar,open:yt,prefixCls:gt,id:Ze,inputElement:null,disabled:bt,autoFocus:Bn,autoComplete:Hn,editable:ke,activeDescendantId:Rn,value:io,onKeyDown:yr,onMouseDown:ur,onChange:Xr,onPaste:mi,onCompositionStart:gr,onCompositionEnd:ni,onBlur:Kr,tabIndex:Un,attrs:(0,_e.Z)(Gt,!0)}),de.createElement("span",{ref:wr,className:"".concat(ki,"-search-mirror"),"aria-hidden":!0},io,"\xA0")),it=de.createElement(lt.Z,{prefixCls:"".concat(ki,"-overflow"),data:Ve,renderItem:an,renderRest:cn,suffix:Lt,itemKey:pe,maxCount:Ar});return de.createElement("span",{className:"".concat(ki,"-wrap")},it,!Ve.length&&!io&&de.createElement("span",{className:"".concat(ki,"-placeholder")},pt))},tn=Ue,rt=function(Gt){var Ze=Gt.inputElement,gt=Gt.prefixCls,Ve=Gt.id,yt=Gt.inputRef,_t=Gt.disabled,rr=Gt.autoFocus,ar=Gt.autoComplete,pt=Gt.activeDescendantId,bt=Gt.mode,Pt=Gt.open,zt=Gt.values,Bn=Gt.placeholder,Hn=Gt.tabIndex,Rn=Gt.showSearch,Un=Gt.searchValue,pr=Gt.activeValue,Ar=Gt.maxLength,Vr=Gt.onInputKeyDown,Br=Gt.onInputMouseDown,fr=Gt.onInputChange,Pr=Gt.onInputPaste,kr=Gt.onInputCompositionStart,$r=Gt.onInputCompositionEnd,Xr=Gt.onInputBlur,mi=Gt.title,yr=de.useState(!1),ur=(0,Me.Z)(yr,2),gr=ur[0],ni=ur[1],Kr=bt==="combobox",wr=Kr||Rn,Rr=zt[0],hi=Un||"";Kr&&pr&&!gr&&(hi=pr),de.useEffect(function(){Kr&&ni(!1)},[Kr,pr]);var Qr=bt!=="combobox"&&!Pt&&!Rn?!1:!!hi,qr=mi===void 0?Jt(Rr):mi,ei=de.useMemo(function(){return Rr?null:de.createElement("span",{className:"".concat(gt,"-selection-placeholder"),style:Qr?{visibility:"hidden"}:void 0},Bn)},[Rr,Qr,Bn,gt]);return de.createElement("span",{className:"".concat(gt,"-selection-wrap")},de.createElement("span",{className:"".concat(gt,"-selection-search")},de.createElement(Ot,{ref:yt,prefixCls:gt,id:Ve,open:Pt,inputElement:Ze,disabled:_t,autoFocus:rr,autoComplete:ar,editable:wr,activeDescendantId:pt,value:hi,onKeyDown:Vr,onMouseDown:Br,onChange:function($i){ni(!0),fr($i)},onPaste:Pr,onCompositionStart:kr,onCompositionEnd:$r,onBlur:Xr,tabIndex:Hn,attrs:(0,_e.Z)(Gt,!0),maxLength:Kr?Ar:void 0})),!Kr&&Rr?de.createElement("span",{className:"".concat(gt,"-selection-item"),title:qr,style:Qr?{visibility:"hidden"}:void 0},Rr.label):null,ei)},Kt=rt,ct=function(Gt,Ze){var gt=(0,de.useRef)(null),Ve=(0,de.useRef)(!1),yt=Gt.prefixCls,_t=Gt.open,rr=Gt.mode,ar=Gt.showSearch,pt=Gt.tokenWithEnter,bt=Gt.disabled,Pt=Gt.prefix,zt=Gt.autoClearSearchValue,Bn=Gt.onSearch,Hn=Gt.onSearchSubmit,Rn=Gt.onToggleOpen,Un=Gt.onInputKeyDown,pr=Gt.onInputBlur,Ar=Gt.domRef;de.useImperativeHandle(Ze,function(){return{focus:function(qr){gt.current.focus(qr)},blur:function(){gt.current.blur()}}});var Vr=Oe(0),Br=(0,Me.Z)(Vr,2),fr=Br[0],Pr=Br[1],kr=function(qr){var ei=qr.which,Ni=gt.current instanceof HTMLTextAreaElement;!Ni&&_t&&(ei===ht.Z.UP||ei===ht.Z.DOWN)&&qr.preventDefault(),Un&&Un(qr),ei===ht.Z.ENTER&&rr==="tags"&&!Ve.current&&!_t&&(Hn==null||Hn(qr.target.value)),!(Ni&&!_t&&~[ht.Z.UP,ht.Z.DOWN,ht.Z.LEFT,ht.Z.RIGHT].indexOf(ei))&&Rt(ei)&&Rn(!0)},$r=function(){Pr(!0)},Xr=(0,de.useRef)(null),mi=function(qr){Bn(qr,!0,Ve.current)!==!1&&Rn(!0)},yr=function(){Ve.current=!0},ur=function(qr){Ve.current=!1,rr!=="combobox"&&mi(qr.target.value)},gr=function(qr){var ei=qr.target.value;if(pt&&Xr.current&&/[\r\n]/.test(Xr.current)){var Ni=Xr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ei=ei.replace(Ni,Xr.current)}Xr.current=null,mi(ei)},ni=function(qr){var ei=qr.clipboardData,Ni=ei==null?void 0:ei.getData("text");Xr.current=Ni||""},Kr=function(qr){var ei=qr.target;if(ei!==gt.current){var Ni=document.body.style.msTouchAction!==void 0;Ni?setTimeout(function(){gt.current.focus()}):gt.current.focus()}},wr=function(qr){var ei=fr();qr.target!==gt.current&&!ei&&!(rr==="combobox"&&bt)&&qr.preventDefault(),(rr!=="combobox"&&(!ar||!ei)||!_t)&&(_t&&zt!==!1&&Bn("",!0,!1),Rn())},Rr={inputRef:gt,onInputKeyDown:kr,onInputMouseDown:$r,onInputChange:gr,onInputPaste:ni,onInputCompositionStart:yr,onInputCompositionEnd:ur,onInputBlur:pr},hi=rr==="multiple"||rr==="tags"?de.createElement(tn,(0,b.Z)({},Gt,Rr)):de.createElement(Kt,(0,b.Z)({},Gt,Rr));return de.createElement("div",{ref:Ar,className:"".concat(yt,"-selector"),onClick:Kr,onMouseDown:wr},Pt&&de.createElement("div",{className:"".concat(yt,"-prefix")},Pt),hi)},fn=de.forwardRef(ct),xt=fn,le=z(65030),ne=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],te=function(Gt){var Ze=Gt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ze,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ze,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ze,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ze,adjustY:1},htmlRegion:"scroll"}}},ae=function(Gt,Ze){var gt=Gt.prefixCls,Ve=Gt.disabled,yt=Gt.visible,_t=Gt.children,rr=Gt.popupElement,ar=Gt.animation,pt=Gt.transitionName,bt=Gt.dropdownStyle,Pt=Gt.dropdownClassName,zt=Gt.direction,Bn=zt===void 0?"ltr":zt,Hn=Gt.placement,Rn=Gt.builtinPlacements,Un=Gt.dropdownMatchSelectWidth,pr=Gt.dropdownRender,Ar=Gt.dropdownAlign,Vr=Gt.getPopupContainer,Br=Gt.empty,fr=Gt.getTriggerDOMNode,Pr=Gt.onPopupVisibleChange,kr=Gt.onPopupMouseEnter,$r=(0,Ce.Z)(Gt,ne),Xr="".concat(gt,"-dropdown"),mi=rr;pr&&(mi=pr(rr));var yr=de.useMemo(function(){return Rn||te(Un)},[Rn,Un]),ur=ar?"".concat(Xr,"-").concat(ar):pt,gr=typeof Un=="number",ni=de.useMemo(function(){return gr?null:Un===!1?"minWidth":"width"},[Un,gr]),Kr=bt;gr&&(Kr=(0,nt.Z)((0,nt.Z)({},Kr),{},{width:Un}));var wr=de.useRef(null);return de.useImperativeHandle(Ze,function(){return{getPopupElement:function(){var hi;return(hi=wr.current)===null||hi===void 0?void 0:hi.popupElement}}}),de.createElement(le.Z,(0,b.Z)({},$r,{showAction:Pr?["click"]:[],hideAction:Pr?["click"]:[],popupPlacement:Hn||(Bn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:yr,prefixCls:Xr,popupTransitionName:ur,popup:de.createElement("div",{onMouseEnter:kr},mi),ref:wr,stretch:ni,popupAlign:Ar,popupVisible:yt,getPopupContainer:Vr,popupClassName:be()(Pt,(0,ce.Z)({},"".concat(Xr,"-empty"),Br)),popupStyle:Kr,getTriggerDOMNode:fr,onPopupVisibleChange:Pr}),_t)},he=de.forwardRef(ae),re=he,ue=z(66712);function De(Dt,Gt){var Ze=Dt.key,gt;return"value"in Dt&&(gt=Dt.value),Ze!=null?Ze:gt!==void 0?gt:"rc-index-key-".concat(Gt)}function st(Dt){return typeof Dt!="undefined"&&!Number.isNaN(Dt)}function Qe(Dt,Gt){var Ze=Dt||{},gt=Ze.label,Ve=Ze.value,yt=Ze.options,_t=Ze.groupLabel,rr=gt||(Gt?"children":"label");return{label:rr,value:Ve||"value",options:yt||"options",groupLabel:_t||rr}}function Ie(Dt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ze=Gt.fieldNames,gt=Gt.childrenAsData,Ve=[],yt=Qe(Ze,!1),_t=yt.label,rr=yt.value,ar=yt.options,pt=yt.groupLabel;function bt(Pt,zt){Array.isArray(Pt)&&Pt.forEach(function(Bn){if(zt||!(ar in Bn)){var Hn=Bn[rr];Ve.push({key:De(Bn,Ve.length),groupOption:zt,data:Bn,label:Bn[_t],value:Hn})}else{var Rn=Bn[pt];Rn===void 0&&gt&&(Rn=Bn.label),Ve.push({key:De(Bn,Ve.length),group:!0,data:Bn,label:Rn}),bt(Bn[ar],!0)}})}return bt(Dt,!1),Ve}function mt(Dt){var Gt=(0,nt.Z)({},Dt);return"props"in Gt||Object.defineProperty(Gt,"props",{get:function(){return(0,Fe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Gt}}),Gt}var Et=function(Gt,Ze,gt){if(!Ze||!Ze.length)return null;var Ve=!1,yt=function rr(ar,pt){var bt=(0,ue.Z)(pt),Pt=bt[0],zt=bt.slice(1);if(!Pt)return[ar];var Bn=ar.split(Pt);return Ve=Ve||Bn.length>1,Bn.reduce(function(Hn,Rn){return[].concat((0,xe.Z)(Hn),(0,xe.Z)(rr(Rn,zt)))},[]).filter(Boolean)},_t=yt(Gt,Ze);return Ve?typeof gt!="undefined"?_t.slice(0,gt):_t:null},Tt=de.createContext(null),Le=Tt;function Ye(Dt){var Gt=Dt.visible,Ze=Dt.values;if(!Gt)return null;var gt=50;return de.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ze.slice(0,gt).map(function(Ve){var yt=Ve.label,_t=Ve.value;return["number","string"].includes((0,Be.Z)(yt))?yt:_t}).join(", ")),Ze.length>gt?", ...":null)}var vn=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Ht=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Cn=function(Gt){return Gt==="tags"||Gt==="multiple"},un=de.forwardRef(function(Dt,Gt){var Ze,gt=Dt.id,Ve=Dt.prefixCls,yt=Dt.className,_t=Dt.showSearch,rr=Dt.tagRender,ar=Dt.direction,pt=Dt.omitDomProps,bt=Dt.displayValues,Pt=Dt.onDisplayValuesChange,zt=Dt.emptyOptions,Bn=Dt.notFoundContent,Hn=Bn===void 0?"Not Found":Bn,Rn=Dt.onClear,Un=Dt.mode,pr=Dt.disabled,Ar=Dt.loading,Vr=Dt.getInputElement,Br=Dt.getRawInputElement,fr=Dt.open,Pr=Dt.defaultOpen,kr=Dt.onDropdownVisibleChange,$r=Dt.activeValue,Xr=Dt.onActiveValueChange,mi=Dt.activeDescendantId,yr=Dt.searchValue,ur=Dt.autoClearSearchValue,gr=Dt.onSearch,ni=Dt.onSearchSplit,Kr=Dt.tokenSeparators,wr=Dt.allowClear,Rr=Dt.prefix,hi=Dt.suffixIcon,Qr=Dt.clearIcon,qr=Dt.OptionList,ei=Dt.animation,Ni=Dt.transitionName,$i=Dt.dropdownStyle,_i=Dt.dropdownClassName,ki=Dt.dropdownMatchSelectWidth,io=Dt.dropdownRender,ke=Dt.dropdownAlign,tt=Dt.placement,Ft=Dt.builtinPlacements,an=Dt.getPopupContainer,cn=Dt.showAction,Lt=cn===void 0?[]:cn,it=Dt.onFocus,It=Dt.onBlur,$t=Dt.onKeyUp,Nn=Dt.onKeyDown,zn=Dt.onMouseDown,Dn=(0,Ce.Z)(Dt,vn),jn=Cn(Un),Jn=(_t!==void 0?_t:jn)||Un==="combobox",Cr=(0,nt.Z)({},Dn);Ht.forEach(function(Ho){delete Cr[Ho]}),pt==null||pt.forEach(function(Ho){delete Cr[Ho]});var br=de.useState(!1),Wr=(0,Me.Z)(br,2),Jr=Wr[0],gi=Wr[1];de.useEffect(function(){gi((0,et.Z)())},[]);var oi=de.useRef(null),Pi=de.useRef(null),ci=de.useRef(null),di=de.useRef(null),yi=de.useRef(null),Ii=de.useRef(!1),no=se(),So=(0,Me.Z)(no,3),bo=So[0],Ko=So[1],Hi=So[2];de.useImperativeHandle(Gt,function(){var Ho,Co;return{focus:(Ho=di.current)===null||Ho===void 0?void 0:Ho.focus,blur:(Co=di.current)===null||Co===void 0?void 0:Co.blur,scrollTo:function(Ma){var wa;return(wa=yi.current)===null||wa===void 0?void 0:wa.scrollTo(Ma)},nativeElement:oi.current||Pi.current}});var Oi=de.useMemo(function(){var Ho;if(Un!=="combobox")return yr;var Co=(Ho=bt[0])===null||Ho===void 0?void 0:Ho.value;return typeof Co=="string"||typeof Co=="number"?String(Co):""},[yr,Un,bt]),Wo=Un==="combobox"&&typeof Vr=="function"&&Vr()||null,zo=typeof Br=="function"&&Br(),Xo=(0,$e.x1)(Pi,zo==null||(Ze=zo.props)===null||Ze===void 0?void 0:Ze.ref),Wa=de.useState(!1),Pa=(0,Me.Z)(Wa,2),Ta=Pa[0],Ba=Pa[1];(0,vt.Z)(function(){Ba(!0)},[]);var Uo=(0,He.Z)(!1,{defaultValue:Pr,value:fr}),Fa=(0,Me.Z)(Uo,2),ul=Fa[0],Ja=Fa[1],Jo=Ta?ul:!1,Nl=!Hn&&zt;(pr||Nl&&Jo&&Un==="combobox")&&(Jo=!1);var El=Nl?!1:Jo,ho=de.useCallback(function(Ho){var Co=Ho!==void 0?Ho:!Jo;pr||(Ja(Co),Jo!==Co&&(kr==null||kr(Co)))},[pr,Jo,Ja,kr]),mo=de.useMemo(function(){return(Kr||[]).some(function(Ho){return[`
`,`\r
`].includes(Ho)})},[Kr]),Ei=de.useContext(Le)||{},fi=Ei.maxCount,Li=Ei.rawValues,lo=function(Co,sa,Ma){if(!(jn&&st(fi)&&(Li==null?void 0:Li.size)>=fi)){var wa=!0,_o=Co;Xr==null||Xr(null);var tl=Et(Co,Kr,st(fi)?fi-Li.size:void 0),Ka=Ma?null:tl;return Un!=="combobox"&&Ka&&(_o="",ni==null||ni(Ka),ho(!1),wa=!1),gr&&Oi!==_o&&gr(_o,{source:sa?"typing":"effect"}),wa}},da=function(Co){!Co||!Co.trim()||gr(Co,{source:"submit"})};de.useEffect(function(){!Jo&&!jn&&Un!=="combobox"&&lo("",!1,!1)},[Jo]),de.useEffect(function(){ul&&pr&&Ja(!1),pr&&!Ii.current&&Ko(!1)},[pr]);var Ro=Oe(),Lo=(0,Me.Z)(Ro,2),Oo=Lo[0],pa=Lo[1],Ea=de.useRef(!1),Oa=function(Co){var sa=Oo(),Ma=Co.key,wa=Ma==="Enter";if(wa&&(Un!=="combobox"&&Co.preventDefault(),Jo||ho(!0)),pa(!!Oi),Ma==="Backspace"&&!sa&&jn&&!Oi&&bt.length){for(var _o=(0,xe.Z)(bt),tl=null,Ka=_o.length-1;Ka>=0;Ka-=1){var nl=_o[Ka];if(!nl.disabled){_o.splice(Ka,1),tl=nl;break}}tl&&Pt(_o,{type:"remove",values:[tl]})}for(var _a=arguments.length,rl=new Array(_a>1?_a-1:0),il=1;il<_a;il++)rl[il-1]=arguments[il];if(Jo&&(!wa||!Ea.current)){var kl;wa&&(Ea.current=!0),(kl=yi.current)===null||kl===void 0||kl.onKeyDown.apply(kl,[Co].concat(rl))}Nn==null||Nn.apply(void 0,[Co].concat(rl))},Ya=function(Co){for(var sa=arguments.length,Ma=new Array(sa>1?sa-1:0),wa=1;wa<sa;wa++)Ma[wa-1]=arguments[wa];if(Jo){var _o;(_o=yi.current)===null||_o===void 0||_o.onKeyUp.apply(_o,[Co].concat(Ma))}Co.key==="Enter"&&(Ea.current=!1),$t==null||$t.apply(void 0,[Co].concat(Ma))},Io=function(Co){var sa=bt.filter(function(Ma){return Ma!==Co});Pt(sa,{type:"remove",values:[Co]})},Ga=function(){Ea.current=!1},wl=de.useRef(!1),cl=function(){Ko(!0),pr||(it&&!wl.current&&it.apply(void 0,arguments),Lt.includes("focus")&&ho(!0)),wl.current=!0},el=function(){Ii.current=!0,Ko(!1,function(){wl.current=!1,Ii.current=!1,ho(!1)}),!pr&&(Oi&&(Un==="tags"?gr(Oi,{source:"submit"}):Un==="multiple"&&gr("",{source:"blur"})),It&&It.apply(void 0,arguments))},Xa=[];de.useEffect(function(){return function(){Xa.forEach(function(Ho){return clearTimeout(Ho)}),Xa.splice(0,Xa.length)}},[]);var Al=function(Co){var sa,Ma=Co.target,wa=(sa=ci.current)===null||sa===void 0?void 0:sa.getPopupElement();if(wa&&wa.contains(Ma)){var _o=setTimeout(function(){var _a=Xa.indexOf(_o);if(_a!==-1&&Xa.splice(_a,1),Hi(),!Jr&&!wa.contains(document.activeElement)){var rl;(rl=di.current)===null||rl===void 0||rl.focus()}});Xa.push(_o)}for(var tl=arguments.length,Ka=new Array(tl>1?tl-1:0),nl=1;nl<tl;nl++)Ka[nl-1]=arguments[nl];zn==null||zn.apply(void 0,[Co].concat(Ka))},xl=de.useState({}),Hl=(0,Me.Z)(xl,2),Yl=Hl[1];function as(){Yl({})}var ns;zo&&(ns=function(Co){ho(Co)}),dt(function(){var Ho;return[oi.current,(Ho=ci.current)===null||Ho===void 0?void 0:Ho.getPopupElement()]},El,ho,!!zo);var Cs=de.useMemo(function(){return(0,nt.Z)((0,nt.Z)({},Dt),{},{notFoundContent:Hn,open:Jo,triggerOpen:El,id:gt,showSearch:Jn,multiple:jn,toggleOpen:ho})},[Dt,Hn,El,Jo,gt,Jn,jn,ho]),rs=!!hi||Ar,Dl;rs&&(Dl=de.createElement(je,{className:be()("".concat(Ve,"-arrow"),(0,ce.Z)({},"".concat(Ve,"-arrow-loading"),Ar)),customizeIcon:hi,customizeIconProps:{loading:Ar,searchValue:Oi,open:Jo,focused:bo,showSearch:Jn}}));var Gl=function(){var Co;Rn==null||Rn(),(Co=di.current)===null||Co===void 0||Co.focus(),Pt([],{type:"clear",values:bt}),lo("",!1,!1)},is=at(Ve,Gl,bt,wr,Qr,pr,Oi,Un),hs=is.allowClear,_l=is.clearIcon,os=de.createElement(qr,{ref:yi}),$a=be()(Ve,yt,(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({},"".concat(Ve,"-focused"),bo),"".concat(Ve,"-multiple"),jn),"".concat(Ve,"-single"),!jn),"".concat(Ve,"-allow-clear"),wr),"".concat(Ve,"-show-arrow"),rs),"".concat(Ve,"-disabled"),pr),"".concat(Ve,"-loading"),Ar),"".concat(Ve,"-open"),Jo),"".concat(Ve,"-customize-input"),Wo),"".concat(Ve,"-show-search"),Jn)),Qa=de.createElement(re,{ref:ci,disabled:pr,prefixCls:Ve,visible:El,popupElement:os,animation:ei,transitionName:Ni,dropdownStyle:$i,dropdownClassName:_i,direction:ar,dropdownMatchSelectWidth:ki,dropdownRender:io,dropdownAlign:ke,placement:tt,builtinPlacements:Ft,getPopupContainer:an,empty:zt,getTriggerDOMNode:function(Co){return Pi.current||Co},onPopupVisibleChange:ns,onPopupMouseEnter:as},zo?de.cloneElement(zo,{ref:Xo}):de.createElement(xt,(0,b.Z)({},Dt,{domRef:Pi,prefixCls:Ve,inputElement:Wo,ref:di,id:gt,prefix:Rr,showSearch:Jn,autoClearSearchValue:ur,mode:Un,activeDescendantId:mi,tagRender:rr,values:bt,open:Jo,onToggleOpen:ho,activeValue:$r,searchValue:Oi,onSearch:lo,onSearchSubmit:da,onRemove:Io,tokenWithEnter:mo,onInputBlur:Ga}))),fa;return zo?fa=Qa:fa=de.createElement("div",(0,b.Z)({className:$a},Cr,{ref:oi,onMouseDown:Al,onKeyDown:Oa,onKeyUp:Ya,onFocus:cl,onBlur:el}),de.createElement(Ye,{visible:bo&&!Jo,values:bt}),Qa,Dl,hs&&_l),de.createElement(Nt.Provider,{value:Cs},fa)}),Ut=un,on=function(){return null};on.isSelectOptGroup=!0;var mn=on,ft=function(){return null};ft.isSelectOption=!0;var Vt=ft,yn=z(80547),Ct=z(2738),Je=z(48911);function Wt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var qt=["disabled","title","children","style","className"];function ln(Dt){return typeof Dt=="string"||typeof Dt=="number"}var Zn=function(Gt,Ze){var gt=jt(),Ve=gt.prefixCls,yt=gt.id,_t=gt.open,rr=gt.multiple,ar=gt.mode,pt=gt.searchValue,bt=gt.toggleOpen,Pt=gt.notFoundContent,zt=gt.onPopupScroll,Bn=de.useContext(Le),Hn=Bn.maxCount,Rn=Bn.flattenOptions,Un=Bn.onActiveValue,pr=Bn.defaultActiveFirstOption,Ar=Bn.onSelect,Vr=Bn.menuItemSelectedIcon,Br=Bn.rawValues,fr=Bn.fieldNames,Pr=Bn.virtual,kr=Bn.direction,$r=Bn.listHeight,Xr=Bn.listItemHeight,mi=Bn.optionRender,yr="".concat(Ve,"-item"),ur=(0,yn.Z)(function(){return Rn},[_t,Rn],function(cn,Lt){return Lt[0]&&cn[1]!==Lt[1]}),gr=de.useRef(null),ni=de.useMemo(function(){return rr&&st(Hn)&&(Br==null?void 0:Br.size)>=Hn},[rr,Hn,Br==null?void 0:Br.size]),Kr=function(Lt){Lt.preventDefault()},wr=function(Lt){var it;(it=gr.current)===null||it===void 0||it.scrollTo(typeof Lt=="number"?{index:Lt}:Lt)},Rr=de.useCallback(function(cn){return ar==="combobox"?!1:Br.has(cn)},[ar,(0,xe.Z)(Br).toString(),Br.size]),hi=function(Lt){for(var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,It=ur.length,$t=0;$t<It;$t+=1){var Nn=(Lt+$t*it+It)%It,zn=ur[Nn]||{},Dn=zn.group,jn=zn.data;if(!Dn&&!(jn!=null&&jn.disabled)&&(Rr(jn.value)||!ni))return Nn}return-1},Qr=de.useState(function(){return hi(0)}),qr=(0,Me.Z)(Qr,2),ei=qr[0],Ni=qr[1],$i=function(Lt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ni(Lt);var It={source:it?"keyboard":"mouse"},$t=ur[Lt];if(!$t){Un(null,-1,It);return}Un($t.value,Lt,It)};(0,de.useEffect)(function(){$i(pr!==!1?hi(0):-1)},[ur.length,pt]);var _i=de.useCallback(function(cn){return ar==="combobox"?String(cn).toLowerCase()===pt.toLowerCase():Br.has(cn)},[ar,pt,(0,xe.Z)(Br).toString(),Br.size]);(0,de.useEffect)(function(){var cn=setTimeout(function(){if(!rr&&_t&&Br.size===1){var it=Array.from(Br)[0],It=ur.findIndex(function($t){var Nn=$t.data;return pt?String(Nn.value).startsWith(pt):Nn.value===it});It!==-1&&($i(It),wr(It))}});if(_t){var Lt;(Lt=gr.current)===null||Lt===void 0||Lt.scrollTo(void 0)}return function(){return clearTimeout(cn)}},[_t,pt]);var ki=function(Lt){Lt!==void 0&&Ar(Lt,{selected:!Br.has(Lt)}),rr||bt(!1)};if(de.useImperativeHandle(Ze,function(){return{onKeyDown:function(Lt){var it=Lt.which,It=Lt.ctrlKey;switch(it){case ht.Z.N:case ht.Z.P:case ht.Z.UP:case ht.Z.DOWN:{var $t=0;if(it===ht.Z.UP?$t=-1:it===ht.Z.DOWN?$t=1:Wt()&&It&&(it===ht.Z.N?$t=1:it===ht.Z.P&&($t=-1)),$t!==0){var Nn=hi(ei+$t,$t);wr(Nn),$i(Nn,!0)}break}case ht.Z.TAB:case ht.Z.ENTER:{var zn,Dn=ur[ei];Dn&&!(Dn!=null&&(zn=Dn.data)!==null&&zn!==void 0&&zn.disabled)&&!ni?ki(Dn.value):ki(void 0),_t&&Lt.preventDefault();break}case ht.Z.ESC:bt(!1),_t&&Lt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Lt){wr(Lt)}}}),ur.length===0)return de.createElement("div",{role:"listbox",id:"".concat(yt,"_list"),className:"".concat(yr,"-empty"),onMouseDown:Kr},Pt);var io=Object.keys(fr).map(function(cn){return fr[cn]}),ke=function(Lt){return Lt.label};function tt(cn,Lt){var it=cn.group;return{role:it?"presentation":"option",id:"".concat(yt,"_list_").concat(Lt)}}var Ft=function(Lt){var it=ur[Lt];if(!it)return null;var It=it.data||{},$t=It.value,Nn=it.group,zn=(0,_e.Z)(It,!0),Dn=ke(it);return it?de.createElement("div",(0,b.Z)({"aria-label":typeof Dn=="string"&&!Nn?Dn:null},zn,{key:Lt},tt(it,Lt),{"aria-selected":_i($t)}),$t):null},an={role:"listbox",id:"".concat(yt,"_list")};return de.createElement(de.Fragment,null,Pr&&de.createElement("div",(0,b.Z)({},an,{style:{height:0,width:0,overflow:"hidden"}}),Ft(ei-1),Ft(ei),Ft(ei+1)),de.createElement(Je.Z,{itemKey:"key",ref:gr,data:ur,height:$r,itemHeight:Xr,fullHeight:!1,onMouseDown:Kr,onScroll:zt,virtual:Pr,direction:kr,innerProps:Pr?null:an},function(cn,Lt){var it=cn.group,It=cn.groupOption,$t=cn.data,Nn=cn.label,zn=cn.value,Dn=$t.key;if(it){var jn,Jn=(jn=$t.title)!==null&&jn!==void 0?jn:ln(Nn)?Nn.toString():void 0;return de.createElement("div",{className:be()(yr,"".concat(yr,"-group"),$t.className),title:Jn},Nn!==void 0?Nn:Dn)}var Cr=$t.disabled,br=$t.title,Wr=$t.children,Jr=$t.style,gi=$t.className,oi=(0,Ce.Z)($t,qt),Pi=(0,Ct.Z)(oi,io),ci=Rr(zn),di=Cr||!ci&&ni,yi="".concat(yr,"-option"),Ii=be()(yr,yi,gi,(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({},"".concat(yi,"-grouped"),It),"".concat(yi,"-active"),ei===Lt&&!di),"".concat(yi,"-disabled"),di),"".concat(yi,"-selected"),ci)),no=ke(cn),So=!Vr||typeof Vr=="function"||ci,bo=typeof no=="number"?no:no||zn,Ko=ln(bo)?bo.toString():void 0;return br!==void 0&&(Ko=br),de.createElement("div",(0,b.Z)({},(0,_e.Z)(Pi),Pr?{}:tt(cn,Lt),{"aria-selected":_i(zn),className:Ii,title:Ko,onMouseMove:function(){ei===Lt||di||$i(Lt)},onClick:function(){di||ki(zn)},style:Jr}),de.createElement("div",{className:"".concat(yi,"-content")},typeof mi=="function"?mi(cn,{index:Lt}):bo),de.isValidElement(Vr)||ci,So&&de.createElement(je,{className:"".concat(yr,"-option-state"),customizeIcon:Vr,customizeIconProps:{value:zn,disabled:di,isSelected:ci}},ci?"\u2713":null))}))},qn=de.forwardRef(Zn),mr=qn,vr=function(Dt,Gt){var Ze=de.useRef({values:new Map,options:new Map}),gt=de.useMemo(function(){var yt=Ze.current,_t=yt.values,rr=yt.options,ar=Dt.map(function(Pt){if(Pt.label===void 0){var zt;return(0,nt.Z)((0,nt.Z)({},Pt),{},{label:(zt=_t.get(Pt.value))===null||zt===void 0?void 0:zt.label})}return Pt}),pt=new Map,bt=new Map;return ar.forEach(function(Pt){pt.set(Pt.value,Pt),bt.set(Pt.value,Gt.get(Pt.value)||rr.get(Pt.value))}),Ze.current.values=pt,Ze.current.options=bt,ar},[Dt,Gt]),Ve=de.useCallback(function(yt){return Gt.get(yt)||Ze.current.options.get(yt)},[Gt]);return[gt,Ve]};function _n(Dt,Gt){return We(Dt).join("").toUpperCase().includes(Gt)}var dr=function(Dt,Gt,Ze,gt,Ve){return de.useMemo(function(){if(!Ze||gt===!1)return Dt;var yt=Gt.options,_t=Gt.label,rr=Gt.value,ar=[],pt=typeof gt=="function",bt=Ze.toUpperCase(),Pt=pt?gt:function(Bn,Hn){return Ve?_n(Hn[Ve],bt):Hn[yt]?_n(Hn[_t!=="children"?_t:"label"],bt):_n(Hn[rr],bt)},zt=pt?function(Bn){return mt(Bn)}:function(Bn){return Bn};return Dt.forEach(function(Bn){if(Bn[yt]){var Hn=Pt(Ze,zt(Bn));if(Hn)ar.push(Bn);else{var Rn=Bn[yt].filter(function(Un){return Pt(Ze,zt(Un))});Rn.length&&ar.push((0,nt.Z)((0,nt.Z)({},Bn),{},(0,ce.Z)({},yt,Rn)))}return}Pt(Ze,zt(Bn))&&ar.push(Bn)}),ar},[Dt,gt,Ve,Ze,Gt])},Qt=z(6551),En=z(11592),pn=["children","value"],xn=["children"];function sn(Dt){var Gt=Dt,Ze=Gt.key,gt=Gt.props,Ve=gt.children,yt=gt.value,_t=(0,Ce.Z)(gt,pn);return(0,nt.Z)({key:Ze,value:yt!==void 0?yt:Ze,children:Ve},_t)}function Fn(Dt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,En.Z)(Dt).map(function(Ze,gt){if(!de.isValidElement(Ze)||!Ze.type)return null;var Ve=Ze,yt=Ve.type.isSelectOptGroup,_t=Ve.key,rr=Ve.props,ar=rr.children,pt=(0,Ce.Z)(rr,xn);return Gt||!yt?sn(Ze):(0,nt.Z)((0,nt.Z)({key:"__RC_SELECT_GRP__".concat(_t===null?gt:_t,"__"),label:_t},pt),{},{options:Fn(ar)})}).filter(function(Ze){return Ze})}var St=function(Gt,Ze,gt,Ve,yt){return de.useMemo(function(){var _t=Gt,rr=!Gt;rr&&(_t=Fn(Ze));var ar=new Map,pt=new Map,bt=function(Bn,Hn,Rn){Rn&&typeof Rn=="string"&&Bn.set(Hn[Rn],Hn)},Pt=function zt(Bn){for(var Hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rn=0;Rn<Bn.length;Rn+=1){var Un=Bn[Rn];!Un[gt.options]||Hn?(ar.set(Un[gt.value],Un),bt(pt,Un,gt.label),bt(pt,Un,Ve),bt(pt,Un,yt)):zt(Un[gt.options],!0)}};return Pt(_t),{options:_t,valueOptions:ar,labelOptions:pt}},[Gt,Ze,gt,Ve,yt])},Sn=St;function Bt(Dt){var Gt=de.useRef();Gt.current=Dt;var Ze=de.useCallback(function(){return Gt.current.apply(Gt,arguments)},[]);return Ze}function hn(Dt){var Gt=Dt.mode,Ze=Dt.options,gt=Dt.children,Ve=Dt.backfill,yt=Dt.allowClear,_t=Dt.placeholder,rr=Dt.getInputElement,ar=Dt.showSearch,pt=Dt.onSearch,bt=Dt.defaultOpen,Pt=Dt.autoFocus,zt=Dt.labelInValue,Bn=Dt.value,Hn=Dt.inputValue,Rn=Dt.optionLabelProp,Un=isMultiple(Gt),pr=ar!==void 0?ar:Un||Gt==="combobox",Ar=Ze||convertChildrenToData(gt);if(warning(Gt!=="tags"||Ar.every(function(Pr){return!Pr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Gt==="tags"||Gt==="combobox"){var Vr=Ar.some(function(Pr){return Pr.options?Pr.options.some(function(kr){return typeof("value"in kr?kr.value:kr.key)=="number"}):typeof("value"in Pr?Pr.value:Pr.key)=="number"});warning(!Vr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Gt!=="combobox"||!Rn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Gt==="combobox"||!Ve,"`backfill` only works with `combobox` mode."),warning(Gt==="combobox"||!rr,"`getInputElement` only work with `combobox` mode."),noteOnce(Gt!=="combobox"||!rr||!yt||!_t,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),pt&&!pr&&Gt!=="combobox"&&Gt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!bt||Pt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Bn!=null){var Br=toArray(Bn);warning(!zt||Br.every(function(Pr){return _typeof(Pr)==="object"&&("key"in Pr||"value"in Pr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Un||Array.isArray(Bn),"`value` should be array when `mode` is `multiple` or `tags`")}if(gt){var fr=null;toNodeArray(gt).some(function(Pr){if(!React.isValidElement(Pr)||!Pr.type)return!1;var kr=Pr,$r=kr.type;if($r.isSelectOption)return!1;if($r.isSelectOptGroup){var Xr=toNodeArray(Pr.props.children).every(function(mi){return!React.isValidElement(mi)||!Pr.type||mi.type.isSelectOption?!0:(fr=mi.type,!1)});return!Xr}return fr=$r,!0}),fr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(fr.displayName||fr.name||fr,"`.")),warning(Hn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function An(Dt,Gt){if(Dt){var Ze=function gt(Ve){for(var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=0;_t<Ve.length;_t++){var rr=Ve[_t];if(rr[Gt==null?void 0:Gt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!yt&&Array.isArray(rr[Gt==null?void 0:Gt.options])&&gt(rr[Gt==null?void 0:Gt.options],!0))break}};Ze(Dt)}}var On=null,Ln=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],nr=["inputValue"];function Xn(Dt){return!Dt||(0,Be.Z)(Dt)!=="object"}var nn=de.forwardRef(function(Dt,Gt){var Ze=Dt.id,gt=Dt.mode,Ve=Dt.prefixCls,yt=Ve===void 0?"rc-select":Ve,_t=Dt.backfill,rr=Dt.fieldNames,ar=Dt.inputValue,pt=Dt.searchValue,bt=Dt.onSearch,Pt=Dt.autoClearSearchValue,zt=Pt===void 0?!0:Pt,Bn=Dt.onSelect,Hn=Dt.onDeselect,Rn=Dt.dropdownMatchSelectWidth,Un=Rn===void 0?!0:Rn,pr=Dt.filterOption,Ar=Dt.filterSort,Vr=Dt.optionFilterProp,Br=Dt.optionLabelProp,fr=Dt.options,Pr=Dt.optionRender,kr=Dt.children,$r=Dt.defaultActiveFirstOption,Xr=Dt.menuItemSelectedIcon,mi=Dt.virtual,yr=Dt.direction,ur=Dt.listHeight,gr=ur===void 0?200:ur,ni=Dt.listItemHeight,Kr=ni===void 0?20:ni,wr=Dt.labelRender,Rr=Dt.value,hi=Dt.defaultValue,Qr=Dt.labelInValue,qr=Dt.onChange,ei=Dt.maxCount,Ni=(0,Ce.Z)(Dt,Ln),$i=(0,Qt.ZP)(Ze),_i=Cn(gt),ki=!!(!fr&&kr),io=de.useMemo(function(){return pr===void 0&&gt==="combobox"?!1:pr},[pr,gt]),ke=de.useMemo(function(){return Qe(rr,ki)},[JSON.stringify(rr),ki]),tt=(0,He.Z)("",{value:pt!==void 0?pt:ar,postState:function(mo){return mo||""}}),Ft=(0,Me.Z)(tt,2),an=Ft[0],cn=Ft[1],Lt=Sn(fr,kr,ke,Vr,Br),it=Lt.valueOptions,It=Lt.labelOptions,$t=Lt.options,Nn=de.useCallback(function(ho){var mo=We(ho);return mo.map(function(Ei){var fi,Li,lo,da,Ro;if(Xn(Ei))fi=Ei;else{var Lo;lo=Ei.key,Li=Ei.label,fi=(Lo=Ei.value)!==null&&Lo!==void 0?Lo:lo}var Oo=it.get(fi);if(Oo){var pa;if(Li===void 0&&(Li=Oo==null?void 0:Oo[Br||ke.label]),lo===void 0&&(lo=(pa=Oo==null?void 0:Oo.key)!==null&&pa!==void 0?pa:fi),da=Oo==null?void 0:Oo.disabled,Ro=Oo==null?void 0:Oo.title,0)var Ea}return{label:Li,value:fi,key:lo,disabled:da,title:Ro}})},[ke,Br,it]),zn=(0,He.Z)(hi,{value:Rr}),Dn=(0,Me.Z)(zn,2),jn=Dn[0],Jn=Dn[1],Cr=de.useMemo(function(){var ho,mo=_i&&jn===null?[]:jn,Ei=Nn(mo);return gt==="combobox"&&ve((ho=Ei[0])===null||ho===void 0?void 0:ho.value)?[]:Ei},[jn,Nn,gt,_i]),br=vr(Cr,it),Wr=(0,Me.Z)(br,2),Jr=Wr[0],gi=Wr[1],oi=de.useMemo(function(){if(!gt&&Jr.length===1){var ho=Jr[0];if(ho.value===null&&(ho.label===null||ho.label===void 0))return[]}return Jr.map(function(mo){var Ei;return(0,nt.Z)((0,nt.Z)({},mo),{},{label:(Ei=typeof wr=="function"?wr(mo):mo.label)!==null&&Ei!==void 0?Ei:mo.value})})},[gt,Jr,wr]),Pi=de.useMemo(function(){return new Set(Jr.map(function(ho){return ho.value}))},[Jr]);de.useEffect(function(){if(gt==="combobox"){var ho,mo=(ho=Jr[0])===null||ho===void 0?void 0:ho.value;cn(Se(mo)?String(mo):"")}},[Jr]);var ci=Bt(function(ho,mo){var Ei=mo!=null?mo:ho;return(0,ce.Z)((0,ce.Z)({},ke.value,ho),ke.label,Ei)}),di=de.useMemo(function(){if(gt!=="tags")return $t;var ho=(0,xe.Z)($t),mo=function(fi){return it.has(fi)};return(0,xe.Z)(Jr).sort(function(Ei,fi){return Ei.value<fi.value?-1:1}).forEach(function(Ei){var fi=Ei.value;mo(fi)||ho.push(ci(fi,Ei.label))}),ho},[ci,$t,it,Jr,gt]),yi=dr(di,ke,an,io,Vr),Ii=de.useMemo(function(){return gt!=="tags"||!an||yi.some(function(ho){return ho[Vr||"value"]===an})||yi.some(function(ho){return ho[ke.value]===an})?yi:[ci(an)].concat((0,xe.Z)(yi))},[ci,Vr,gt,yi,an,ke]),no=function ho(mo){var Ei=(0,xe.Z)(mo).sort(function(fi,Li){return Ar(fi,Li,{searchValue:an})});return Ei.map(function(fi){return Array.isArray(fi.options)?(0,nt.Z)((0,nt.Z)({},fi),{},{options:fi.options.length>0?ho(fi.options):fi.options}):fi})},So=de.useMemo(function(){return Ar?no(Ii):Ii},[Ii,Ar,an]),bo=de.useMemo(function(){return Ie(So,{fieldNames:ke,childrenAsData:ki})},[So,ke,ki]),Ko=function(mo){var Ei=Nn(mo);if(Jn(Ei),qr&&(Ei.length!==Jr.length||Ei.some(function(lo,da){var Ro;return((Ro=Jr[da])===null||Ro===void 0?void 0:Ro.value)!==(lo==null?void 0:lo.value)}))){var fi=Qr?Ei:Ei.map(function(lo){return lo.value}),Li=Ei.map(function(lo){return mt(gi(lo.value))});qr(_i?fi:fi[0],_i?Li:Li[0])}},Hi=de.useState(null),Oi=(0,Me.Z)(Hi,2),Wo=Oi[0],zo=Oi[1],Xo=de.useState(0),Wa=(0,Me.Z)(Xo,2),Pa=Wa[0],Ta=Wa[1],Ba=$r!==void 0?$r:gt!=="combobox",Uo=de.useCallback(function(ho,mo){var Ei=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},fi=Ei.source,Li=fi===void 0?"keyboard":fi;Ta(mo),_t&&gt==="combobox"&&ho!==null&&Li==="keyboard"&&zo(String(ho))},[_t,gt]),Fa=function(mo,Ei,fi){var Li=function(){var Io,Ga=gi(mo);return[Qr?{label:Ga==null?void 0:Ga[ke.label],value:mo,key:(Io=Ga==null?void 0:Ga.key)!==null&&Io!==void 0?Io:mo}:mo,mt(Ga)]};if(Ei&&Bn){var lo=Li(),da=(0,Me.Z)(lo,2),Ro=da[0],Lo=da[1];Bn(Ro,Lo)}else if(!Ei&&Hn&&fi!=="clear"){var Oo=Li(),pa=(0,Me.Z)(Oo,2),Ea=pa[0],Oa=pa[1];Hn(Ea,Oa)}},ul=Bt(function(ho,mo){var Ei,fi=_i?mo.selected:!0;fi?Ei=_i?[].concat((0,xe.Z)(Jr),[ho]):[ho]:Ei=Jr.filter(function(Li){return Li.value!==ho}),Ko(Ei),Fa(ho,fi),gt==="combobox"?zo(""):(!Cn||zt)&&(cn(""),zo(""))}),Ja=function(mo,Ei){Ko(mo);var fi=Ei.type,Li=Ei.values;(fi==="remove"||fi==="clear")&&Li.forEach(function(lo){Fa(lo.value,!1,fi)})},Jo=function(mo,Ei){if(cn(mo),zo(null),Ei.source==="submit"){var fi=(mo||"").trim();if(fi){var Li=Array.from(new Set([].concat((0,xe.Z)(Pi),[fi])));Ko(Li),Fa(fi,!0),cn("")}return}Ei.source!=="blur"&&(gt==="combobox"&&Ko(mo),bt==null||bt(mo))},Nl=function(mo){var Ei=mo;gt!=="tags"&&(Ei=mo.map(function(Li){var lo=It.get(Li);return lo==null?void 0:lo.value}).filter(function(Li){return Li!==void 0}));var fi=Array.from(new Set([].concat((0,xe.Z)(Pi),(0,xe.Z)(Ei))));Ko(fi),fi.forEach(function(Li){Fa(Li,!0)})},El=de.useMemo(function(){var ho=mi!==!1&&Un!==!1;return(0,nt.Z)((0,nt.Z)({},Lt),{},{flattenOptions:bo,onActiveValue:Uo,defaultActiveFirstOption:Ba,onSelect:ul,menuItemSelectedIcon:Xr,rawValues:Pi,fieldNames:ke,virtual:ho,direction:yr,listHeight:gr,listItemHeight:Kr,childrenAsData:ki,maxCount:ei,optionRender:Pr})},[ei,Lt,bo,Uo,Ba,ul,Xr,Pi,ke,mi,Un,yr,gr,Kr,ki,Pr]);return de.createElement(Le.Provider,{value:El},de.createElement(Ut,(0,b.Z)({},Ni,{id:$i,prefixCls:yt,ref:Gt,omitDomProps:nr,mode:gt,displayValues:oi,onDisplayValuesChange:Ja,direction:yr,searchValue:an,onSearch:Jo,autoClearSearchValue:zt,onSearchSplit:Nl,dropdownMatchSelectWidth:Un,OptionList:mr,emptyOptions:!bo.length,activeValue:Wo,activeDescendantId:"".concat($i,"_list_").concat(Pa)})))}),Pn=nn;Pn.Option=Vt,Pn.OptGroup=mn;var en=Pn,er=en},22711:function(Yn,dn,z){"use strict";z.r(dn),z.d(dn,{ResizableTextArea:function(){return Pe},default:function(){return Ot}});var b=z(54476),xe=z(20068),ce=z(33885),nt=z(94480),Me=z(42978),Ce=z(75931),Be=z(92310),He=z.n(Be),Fe=z(36901),de=z(66003),Ke=z(30292),be=z(18929),vt=z(59301),et=z(76190),$e=z(29301),ze=z(34280),je=z(16089),at=`
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;
`,Nt=["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"],jt={},se;function Oe(We){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xt=We.getAttribute("id")||We.getAttribute("data-reactid")||We.getAttribute("name");if(Xe&&jt[Xt])return jt[Xt];var Se=window.getComputedStyle(We),ve=Se.getPropertyValue("box-sizing")||Se.getPropertyValue("-moz-box-sizing")||Se.getPropertyValue("-webkit-box-sizing"),Mt=parseFloat(Se.getPropertyValue("padding-bottom"))+parseFloat(Se.getPropertyValue("padding-top")),Jt=parseFloat(Se.getPropertyValue("border-bottom-width"))+parseFloat(Se.getPropertyValue("border-top-width")),Zt=Nt.map(function(Re){return"".concat(Re,":").concat(Se.getPropertyValue(Re))}).join(";"),pe={sizingStyle:Zt,paddingSize:Mt,borderSize:Jt,boxSizing:ve};return Xe&&Xt&&(jt[Xt]=pe),pe}function dt(We){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Se=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;se||(se=document.createElement("textarea"),se.setAttribute("tab-index","-1"),se.setAttribute("aria-hidden","true"),se.setAttribute("name","hiddenTextarea"),document.body.appendChild(se)),We.getAttribute("wrap")?se.setAttribute("wrap",We.getAttribute("wrap")):se.removeAttribute("wrap");var ve=Oe(We,Xe),Mt=ve.paddingSize,Jt=ve.borderSize,Zt=ve.boxSizing,pe=ve.sizingStyle;se.setAttribute("style","".concat(pe,";").concat(at)),se.value=We.value||We.placeholder||"";var Re=void 0,Ue=void 0,tn,rt=se.scrollHeight;if(Zt==="border-box"?rt+=Jt:Zt==="content-box"&&(rt-=Mt),Xt!==null||Se!==null){se.value=" ";var Kt=se.scrollHeight-Mt;Xt!==null&&(Re=Kt*Xt,Zt==="border-box"&&(Re=Re+Mt+Jt),rt=Math.max(Re,rt)),Se!==null&&(Ue=Kt*Se,Zt==="border-box"&&(Ue=Ue+Mt+Jt),tn=rt>Ue?"":"hidden",rt=Math.min(Ue,rt))}var ct={height:rt,overflowY:tn,resize:"none"};return Re&&(ct.minHeight=Re),Ue&&(ct.maxHeight=Ue),ct}var ht=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Rt=0,_e=1,lt=2,ut=vt.forwardRef(function(We,Xe){var Xt=We,Se=Xt.prefixCls,ve=Xt.defaultValue,Mt=Xt.value,Jt=Xt.autoSize,Zt=Xt.onResize,pe=Xt.className,Re=Xt.style,Ue=Xt.disabled,tn=Xt.onChange,rt=Xt.onInternalAutoSize,Kt=(0,Ce.Z)(Xt,ht),ct=(0,be.Z)(ve,{value:Mt,postState:function(Vt){return Vt!=null?Vt:""}}),fn=(0,Me.Z)(ct,2),xt=fn[0],le=fn[1],ne=function(Vt){le(Vt.target.value),tn==null||tn(Vt)},te=vt.useRef();vt.useImperativeHandle(Xe,function(){return{textArea:te.current}});var ae=vt.useMemo(function(){return Jt&&(0,et.Z)(Jt)==="object"?[Jt.minRows,Jt.maxRows]:[]},[Jt]),he=(0,Me.Z)(ae,2),re=he[0],ue=he[1],De=!!Jt,st=function(){try{if(document.activeElement===te.current){var Vt=te.current,yn=Vt.selectionStart,Ct=Vt.selectionEnd,Je=Vt.scrollTop;te.current.setSelectionRange(yn,Ct),te.current.scrollTop=Je}}catch(Wt){}},Qe=vt.useState(lt),Ie=(0,Me.Z)(Qe,2),mt=Ie[0],Et=Ie[1],Tt=vt.useState(),Le=(0,Me.Z)(Tt,2),Ye=Le[0],vn=Le[1],Ht=function(){Et(Rt)};(0,ze.Z)(function(){De&&Ht()},[Mt,re,ue,De]),(0,ze.Z)(function(){if(mt===Rt)Et(_e);else if(mt===_e){var ft=dt(te.current,!1,re,ue);Et(lt),vn(ft)}else st()},[mt]);var Cn=vt.useRef(),un=function(){je.Z.cancel(Cn.current)},Ut=function(Vt){mt===lt&&(Zt==null||Zt(Vt),Jt&&(un(),Cn.current=(0,je.Z)(function(){Ht()})))};vt.useEffect(function(){return un},[]);var on=De?Ye:null,mn=(0,ce.Z)((0,ce.Z)({},Re),on);return(mt===Rt||mt===_e)&&(mn.overflowY="hidden",mn.overflowX="hidden"),vt.createElement($e.Z,{onResize:Ut,disabled:!(Jt||Zt)},vt.createElement("textarea",(0,b.Z)({},Kt,{ref:te,style:mn,className:He()(Se,pe,(0,xe.Z)({},"".concat(Se,"-disabled"),Ue)),disabled:Ue,value:xt,onChange:ne})))}),Pe=ut,Te=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],we=vt.forwardRef(function(We,Xe){var Xt,Se=We.defaultValue,ve=We.value,Mt=We.onFocus,Jt=We.onBlur,Zt=We.onChange,pe=We.allowClear,Re=We.maxLength,Ue=We.onCompositionStart,tn=We.onCompositionEnd,rt=We.suffix,Kt=We.prefixCls,ct=Kt===void 0?"rc-textarea":Kt,fn=We.showCount,xt=We.count,le=We.className,ne=We.style,te=We.disabled,ae=We.hidden,he=We.classNames,re=We.styles,ue=We.onResize,De=We.onClear,st=We.onPressEnter,Qe=We.readOnly,Ie=We.autoSize,mt=We.onKeyDown,Et=(0,Ce.Z)(We,Te),Tt=(0,be.Z)(Se,{value:ve,defaultValue:Se}),Le=(0,Me.Z)(Tt,2),Ye=Le[0],vn=Le[1],Ht=Ye==null?"":String(Ye),Cn=vt.useState(!1),un=(0,Me.Z)(Cn,2),Ut=un[0],on=un[1],mn=vt.useRef(!1),ft=vt.useState(null),Vt=(0,Me.Z)(ft,2),yn=Vt[0],Ct=Vt[1],Je=(0,vt.useRef)(null),Wt=(0,vt.useRef)(null),qt=function(){var Pn;return(Pn=Wt.current)===null||Pn===void 0?void 0:Pn.textArea},ln=function(){qt().focus()};(0,vt.useImperativeHandle)(Xe,function(){var nn;return{resizableTextArea:Wt.current,focus:ln,blur:function(){qt().blur()},nativeElement:((nn=Je.current)===null||nn===void 0?void 0:nn.nativeElement)||qt()}}),(0,vt.useEffect)(function(){on(function(nn){return!te&&nn})},[te]);var Zn=vt.useState(null),qn=(0,Me.Z)(Zn,2),mr=qn[0],vr=qn[1];vt.useEffect(function(){if(mr){var nn;(nn=qt()).setSelectionRange.apply(nn,(0,nt.Z)(mr))}},[mr]);var _n=(0,de.Z)(xt,fn),dr=(Xt=_n.max)!==null&&Xt!==void 0?Xt:Re,Qt=Number(dr)>0,En=_n.strategy(Ht),pn=!!dr&&En>dr,xn=function(Pn,en){var er=en;!mn.current&&_n.exceedFormatter&&_n.max&&_n.strategy(en)>_n.max&&(er=_n.exceedFormatter(en,{max:_n.max}),en!==er&&vr([qt().selectionStart||0,qt().selectionEnd||0])),vn(er),(0,Ke.rJ)(Pn.currentTarget,Pn,Zt,er)},sn=function(Pn){mn.current=!0,Ue==null||Ue(Pn)},Fn=function(Pn){mn.current=!1,xn(Pn,Pn.currentTarget.value),tn==null||tn(Pn)},St=function(Pn){xn(Pn,Pn.target.value)},Sn=function(Pn){Pn.key==="Enter"&&st&&st(Pn),mt==null||mt(Pn)},Bt=function(Pn){on(!0),Mt==null||Mt(Pn)},hn=function(Pn){on(!1),Jt==null||Jt(Pn)},An=function(Pn){vn(""),ln(),(0,Ke.rJ)(qt(),Pn,Zt)},On=rt,Ln;_n.show&&(_n.showFormatter?Ln=_n.showFormatter({value:Ht,count:En,maxLength:dr}):Ln="".concat(En).concat(Qt?" / ".concat(dr):""),On=vt.createElement(vt.Fragment,null,On,vt.createElement("span",{className:He()("".concat(ct,"-data-count"),he==null?void 0:he.count),style:re==null?void 0:re.count},Ln)));var nr=function(Pn){var en;ue==null||ue(Pn),(en=qt())!==null&&en!==void 0&&en.style.height&&Ct(!0)},Xn=!Ie&&!fn&&!pe;return vt.createElement(Fe.BaseInput,{ref:Je,value:Ht,allowClear:pe,handleReset:An,suffix:On,prefixCls:ct,classNames:(0,ce.Z)((0,ce.Z)({},he),{},{affixWrapper:He()(he==null?void 0:he.affixWrapper,(0,xe.Z)((0,xe.Z)({},"".concat(ct,"-show-count"),fn),"".concat(ct,"-textarea-allow-clear"),pe))}),disabled:te,focused:Ut,className:He()(le,pn&&"".concat(ct,"-out-of-range")),style:(0,ce.Z)((0,ce.Z)({},ne),yn&&!Xn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ln=="string"?Ln:void 0}},hidden:ae,readOnly:Qe,onClear:De},vt.createElement(Pe,(0,b.Z)({},Et,{autoSize:Ie,maxLength:Re,onKeyDown:Sn,onChange:St,onFocus:Bt,onBlur:hn,onCompositionStart:sn,onCompositionEnd:Fn,className:He()(he==null?void 0:he.textarea),style:(0,ce.Z)((0,ce.Z)({},re==null?void 0:re.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:te,prefixCls:ct,onResize:nr,ref:Wt,readOnly:Qe})))}),me=we,Ot=me},639:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return jt}});var b=z(54476),xe=z(20068),ce=z(33885),nt=z(42978),Me=z(75931),Ce=z(59301),Be=z(92310),He=z.n(Be),Fe=z(26112),de=z(30699),Ke=function(Oe){for(var dt=Oe.prefixCls,ht=Oe.level,Rt=Oe.isStart,_e=Oe.isEnd,lt="".concat(dt,"-indent-unit"),ut=[],Pe=0;Pe<ht;Pe+=1)ut.push(Ce.createElement("span",{key:Pe,className:He()(lt,(0,xe.Z)((0,xe.Z)({},"".concat(lt,"-start"),Rt[Pe]),"".concat(lt,"-end"),_e[Pe]))}));return Ce.createElement("span",{"aria-hidden":"true",className:"".concat(dt,"-indent")},ut)},be=Ce.memo(Ke),vt=z(65065),et=z(34061),$e=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ze="open",je="close",at="---",Nt=function(Oe){var dt,ht,Rt,_e=Oe.eventKey,lt=Oe.className,ut=Oe.style,Pe=Oe.dragOver,Te=Oe.dragOverGapTop,we=Oe.dragOverGapBottom,me=Oe.isLeaf,Ot=Oe.isStart,We=Oe.isEnd,Xe=Oe.expanded,Xt=Oe.selected,Se=Oe.checked,ve=Oe.halfChecked,Mt=Oe.loading,Jt=Oe.domRef,Zt=Oe.active,pe=Oe.data,Re=Oe.onMouseMove,Ue=Oe.selectable,tn=(0,Me.Z)(Oe,$e),rt=Ce.useContext(de.k),Kt=Ce.useContext(de.y),ct=Ce.useRef(null),fn=Ce.useState(!1),xt=(0,nt.Z)(fn,2),le=xt[0],ne=xt[1],te=!!(rt.disabled||Oe.disabled||(dt=Kt.nodeDisabled)!==null&&dt!==void 0&&dt.call(Kt,pe)),ae=Ce.useMemo(function(){return!rt.checkable||Oe.checkable===!1?!1:rt.checkable},[rt.checkable,Oe.checkable]),he=function(En){te||rt.onNodeSelect(En,(0,et.F)(Oe))},re=function(En){te||!ae||Oe.disableCheckbox||rt.onNodeCheck(En,(0,et.F)(Oe),!Se)},ue=Ce.useMemo(function(){return typeof Ue=="boolean"?Ue:rt.selectable},[Ue,rt.selectable]),De=function(En){rt.onNodeClick(En,(0,et.F)(Oe)),ue?he(En):re(En)},st=function(En){rt.onNodeDoubleClick(En,(0,et.F)(Oe))},Qe=function(En){rt.onNodeMouseEnter(En,(0,et.F)(Oe))},Ie=function(En){rt.onNodeMouseLeave(En,(0,et.F)(Oe))},mt=function(En){rt.onNodeContextMenu(En,(0,et.F)(Oe))},Et=Ce.useMemo(function(){return!!(rt.draggable&&(!rt.draggable.nodeDraggable||rt.draggable.nodeDraggable(pe)))},[rt.draggable,pe]),Tt=function(En){En.stopPropagation(),ne(!0),rt.onNodeDragStart(En,Oe);try{En.dataTransfer.setData("text/plain","")}catch(pn){}},Le=function(En){En.preventDefault(),En.stopPropagation(),rt.onNodeDragEnter(En,Oe)},Ye=function(En){En.preventDefault(),En.stopPropagation(),rt.onNodeDragOver(En,Oe)},vn=function(En){En.stopPropagation(),rt.onNodeDragLeave(En,Oe)},Ht=function(En){En.stopPropagation(),ne(!1),rt.onNodeDragEnd(En,Oe)},Cn=function(En){En.preventDefault(),En.stopPropagation(),ne(!1),rt.onNodeDrop(En,Oe)},un=function(En){Mt||rt.onNodeExpand(En,(0,et.F)(Oe))},Ut=Ce.useMemo(function(){var Qt=(0,vt.Z)(rt.keyEntities,_e)||{},En=Qt.children;return!!(En||[]).length},[rt.keyEntities,_e]),on=Ce.useMemo(function(){return me===!1?!1:me||!rt.loadData&&!Ut||rt.loadData&&Oe.loaded&&!Ut},[me,rt.loadData,Ut,Oe.loaded]);Ce.useEffect(function(){Mt||typeof rt.loadData=="function"&&Xe&&!on&&!Oe.loaded&&rt.onNodeLoad((0,et.F)(Oe))},[Mt,rt.loadData,rt.onNodeLoad,Xe,on,Oe]);var mn=Ce.useMemo(function(){var Qt;return(Qt=rt.draggable)!==null&&Qt!==void 0&&Qt.icon?Ce.createElement("span",{className:"".concat(rt.prefixCls,"-draggable-icon")},rt.draggable.icon):null},[rt.draggable]),ft=function(En){var pn=Oe.switcherIcon||rt.switcherIcon;return typeof pn=="function"?pn((0,ce.Z)((0,ce.Z)({},Oe),{},{isLeaf:En})):pn},Vt=function(){if(on){var En=ft(!0);return En!==!1?Ce.createElement("span",{className:He()("".concat(rt.prefixCls,"-switcher"),"".concat(rt.prefixCls,"-switcher-noop"))},En):null}var pn=ft(!1);return pn!==!1?Ce.createElement("span",{onClick:un,className:He()("".concat(rt.prefixCls,"-switcher"),"".concat(rt.prefixCls,"-switcher_").concat(Xe?ze:je))},pn):null},yn=Ce.useMemo(function(){if(!ae)return null;var Qt=typeof ae!="boolean"?ae:null;return Ce.createElement("span",{className:He()("".concat(rt.prefixCls,"-checkbox"),(0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(rt.prefixCls,"-checkbox-checked"),Se),"".concat(rt.prefixCls,"-checkbox-indeterminate"),!Se&&ve),"".concat(rt.prefixCls,"-checkbox-disabled"),te||Oe.disableCheckbox)),onClick:re,role:"checkbox","aria-checked":ve?"mixed":Se,"aria-disabled":te||Oe.disableCheckbox,"aria-label":"Select ".concat(typeof Oe.title=="string"?Oe.title:"tree node")},Qt)},[ae,Se,ve,te,Oe.disableCheckbox,Oe.title]),Ct=Ce.useMemo(function(){return on?null:Xe?ze:je},[on,Xe]),Je=Ce.useMemo(function(){return Ce.createElement("span",{className:He()("".concat(rt.prefixCls,"-iconEle"),"".concat(rt.prefixCls,"-icon__").concat(Ct||"docu"),(0,xe.Z)({},"".concat(rt.prefixCls,"-icon_loading"),Mt))})},[rt.prefixCls,Ct,Mt]),Wt=Ce.useMemo(function(){var Qt=!!rt.draggable,En=!Oe.disabled&&Qt&&rt.dragOverNodeKey===_e;return En?rt.dropIndicatorRender({dropPosition:rt.dropPosition,dropLevelOffset:rt.dropLevelOffset,indent:rt.indent,prefixCls:rt.prefixCls,direction:rt.direction}):null},[rt.dropPosition,rt.dropLevelOffset,rt.indent,rt.prefixCls,rt.direction,rt.draggable,rt.dragOverNodeKey,rt.dropIndicatorRender]),qt=Ce.useMemo(function(){var Qt=Oe.title,En=Qt===void 0?at:Qt,pn="".concat(rt.prefixCls,"-node-content-wrapper"),xn;if(rt.showIcon){var sn=Oe.icon||rt.icon;xn=sn?Ce.createElement("span",{className:He()("".concat(rt.prefixCls,"-iconEle"),"".concat(rt.prefixCls,"-icon__customize"))},typeof sn=="function"?sn(Oe):sn):Je}else rt.loadData&&Mt&&(xn=Je);var Fn;return typeof En=="function"?Fn=En(pe):rt.titleRender?Fn=rt.titleRender(pe):Fn=En,Ce.createElement("span",{ref:ct,title:typeof En=="string"?En:"",className:He()(pn,"".concat(pn,"-").concat(Ct||"normal"),(0,xe.Z)({},"".concat(rt.prefixCls,"-node-selected"),!te&&(Xt||le))),onMouseEnter:Qe,onMouseLeave:Ie,onContextMenu:mt,onClick:De,onDoubleClick:st},xn,Ce.createElement("span",{className:"".concat(rt.prefixCls,"-title")},Fn),Wt)},[rt.prefixCls,rt.showIcon,Oe,rt.icon,Je,rt.titleRender,pe,Ct,Qe,Ie,mt,De,st]),ln=(0,Fe.Z)(tn,{aria:!0,data:!0}),Zn=(0,vt.Z)(rt.keyEntities,_e)||{},qn=Zn.level,mr=We[We.length-1],vr=!te&&Et,_n=rt.draggingNodeKey===_e,dr=Ue!==void 0?{"aria-selected":!!Ue}:void 0;return Ce.createElement("div",(0,b.Z)({ref:Jt,role:"treeitem","aria-expanded":me?void 0:Xe,className:He()(lt,"".concat(rt.prefixCls,"-treenode"),(Rt={},(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)(Rt,"".concat(rt.prefixCls,"-treenode-disabled"),te),"".concat(rt.prefixCls,"-treenode-switcher-").concat(Xe?"open":"close"),!me),"".concat(rt.prefixCls,"-treenode-checkbox-checked"),Se),"".concat(rt.prefixCls,"-treenode-checkbox-indeterminate"),ve),"".concat(rt.prefixCls,"-treenode-selected"),Xt),"".concat(rt.prefixCls,"-treenode-loading"),Mt),"".concat(rt.prefixCls,"-treenode-active"),Zt),"".concat(rt.prefixCls,"-treenode-leaf-last"),mr),"".concat(rt.prefixCls,"-treenode-draggable"),Et),"dragging",_n),(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)(Rt,"drop-target",rt.dropTargetKey===_e),"drop-container",rt.dropContainerKey===_e),"drag-over",!te&&Pe),"drag-over-gap-top",!te&&Te),"drag-over-gap-bottom",!te&&we),"filter-node",(ht=rt.filterTreeNode)===null||ht===void 0?void 0:ht.call(rt,(0,et.F)(Oe))),"".concat(rt.prefixCls,"-treenode-leaf"),on))),style:ut,draggable:vr,onDragStart:vr?Tt:void 0,onDragEnter:Et?Le:void 0,onDragOver:Et?Ye:void 0,onDragLeave:Et?vn:void 0,onDrop:Et?Cn:void 0,onDragEnd:Et?Ht:void 0,onMouseMove:Re},dr,ln),Ce.createElement(be,{prefixCls:rt.prefixCls,level:qn,isStart:Ot,isEnd:We}),mn,Vt(),yn,qt)};Nt.isTreeNode=1;var jt=Nt},30699:function(Yn,dn,z){"use strict";z.d(dn,{k:function(){return xe},y:function(){return ce}});var b=z(59301),xe=b.createContext(null),ce=b.createContext({})},3741:function(Yn,dn,z){"use strict";z.d(dn,{OF:function(){return _e.Z},y6:function(){return je.y},ZP:function(){return te}});var b=z(54476),xe=z(76190),ce=z(33885),nt=z(94480),Me=z(67732),Ce=z(83652),Be=z(31226),He=z(42403),Fe=z(158),de=z(20068),Ke=z(92310),be=z.n(Ke),vt=z(10228),et=z(26112),$e=z(48736),ze=z(59301),je=z(30699),at=function(he){var re=he.dropPosition,ue=he.dropLevelOffset,De=he.indent,st={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(re){case-1:st.top=0,st.left=-ue*De;break;case 1:st.bottom=0,st.left=-ue*De;break;case 0:st.bottom=0,st.left=De;break}return ze.createElement("div",{style:st})},Nt=at;function jt(ae){if(ae==null)throw new TypeError("Cannot destructure "+ae)}var se=z(42978),Oe=z(75931),dt=z(34280),ht=z(48911),Rt=z(77900),_e=z(639);function lt(ae,he){var re=ze.useState(!1),ue=(0,se.Z)(re,2),De=ue[0],st=ue[1];(0,dt.Z)(function(){if(De)return ae(),function(){he()}},[De]),(0,dt.Z)(function(){return st(!0),function(){st(!1)}},[])}var ut=lt,Pe=z(34061),Te=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],we=ze.forwardRef(function(ae,he){var re=ae.className,ue=ae.style,De=ae.motion,st=ae.motionNodes,Qe=ae.motionType,Ie=ae.onMotionStart,mt=ae.onMotionEnd,Et=ae.active,Tt=ae.treeNodeRequiredProps,Le=(0,Oe.Z)(ae,Te),Ye=ze.useState(!0),vn=(0,se.Z)(Ye,2),Ht=vn[0],Cn=vn[1],un=ze.useContext(je.k),Ut=un.prefixCls,on=st&&Qe!=="hide";(0,dt.Z)(function(){st&&on!==Ht&&Cn(on)},[st]);var mn=function(){st&&Ie()},ft=ze.useRef(!1),Vt=function(){st&&!ft.current&&(ft.current=!0,mt())};ut(mn,Vt);var yn=function(Je){on===Je&&Vt()};return st?ze.createElement(Rt.default,(0,b.Z)({ref:he,visible:Ht},De,{motionAppear:Qe==="show",onVisibleChanged:yn}),function(Ct,Je){var Wt=Ct.className,qt=Ct.style;return ze.createElement("div",{ref:Je,className:be()("".concat(Ut,"-treenode-motion"),Wt),style:qt},st.map(function(ln){var Zn=Object.assign({},(jt(ln.data),ln.data)),qn=ln.title,mr=ln.key,vr=ln.isStart,_n=ln.isEnd;delete Zn.children;var dr=(0,Pe.H8)(mr,Tt);return ze.createElement(_e.Z,(0,b.Z)({},Zn,dr,{title:qn,active:Et,data:ln.data,key:mr,isStart:vr,isEnd:_n}))}))}):ze.createElement(_e.Z,(0,b.Z)({domRef:he,className:re,style:ue},Le,{active:Et}))}),me=we;function Ot(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=ae.length,ue=he.length;if(Math.abs(re-ue)!==1)return{add:!1,key:null};function De(st,Qe){var Ie=new Map;st.forEach(function(Et){Ie.set(Et,!0)});var mt=Qe.filter(function(Et){return!Ie.has(Et)});return mt.length===1?mt[0]:null}return re<ue?{add:!0,key:De(ae,he)}:{add:!1,key:De(he,ae)}}function We(ae,he,re){var ue=ae.findIndex(function(Ie){return Ie.key===re}),De=ae[ue+1],st=he.findIndex(function(Ie){return Ie.key===re});if(De){var Qe=he.findIndex(function(Ie){return Ie.key===De.key});return he.slice(st+1,Qe)}return he.slice(st+1)}var Xe=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Xt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Se=function(){},ve="RC_TREE_MOTION_".concat(Math.random()),Mt={key:ve},Jt={key:ve,level:0,index:0,pos:"0",node:Mt,nodes:[Mt]},Zt={parent:null,children:[],pos:Jt.pos,data:Mt,title:null,key:ve,isStart:[],isEnd:[]};function pe(ae,he,re,ue){return he===!1||!re?ae:ae.slice(0,Math.ceil(re/ue)+1)}function Re(ae){var he=ae.key,re=ae.pos;return(0,Pe.km)(he,re)}function Ue(ae){for(var he=String(ae.data.key),re=ae;re.parent;)re=re.parent,he="".concat(re.data.key," > ").concat(he);return he}var tn=ze.forwardRef(function(ae,he){var re=ae.prefixCls,ue=ae.data,De=ae.selectable,st=ae.checkable,Qe=ae.expandedKeys,Ie=ae.selectedKeys,mt=ae.checkedKeys,Et=ae.loadedKeys,Tt=ae.loadingKeys,Le=ae.halfCheckedKeys,Ye=ae.keyEntities,vn=ae.disabled,Ht=ae.dragging,Cn=ae.dragOverNodeKey,un=ae.dropPosition,Ut=ae.motion,on=ae.height,mn=ae.itemHeight,ft=ae.virtual,Vt=ae.scrollWidth,yn=ae.focusable,Ct=ae.activeItem,Je=ae.focused,Wt=ae.tabIndex,qt=ae.onKeyDown,ln=ae.onFocus,Zn=ae.onBlur,qn=ae.onActiveChange,mr=ae.onListChangeStart,vr=ae.onListChangeEnd,_n=(0,Oe.Z)(ae,Xe),dr=ze.useRef(null),Qt=ze.useRef(null);ze.useImperativeHandle(he,function(){return{scrollTo:function(rr){dr.current.scrollTo(rr)},getIndentWidth:function(){return Qt.current.offsetWidth}}});var En=ze.useState(Qe),pn=(0,se.Z)(En,2),xn=pn[0],sn=pn[1],Fn=ze.useState(ue),St=(0,se.Z)(Fn,2),Sn=St[0],Bt=St[1],hn=ze.useState(ue),An=(0,se.Z)(hn,2),On=An[0],Ln=An[1],nr=ze.useState([]),Xn=(0,se.Z)(nr,2),nn=Xn[0],Pn=Xn[1],en=ze.useState(null),er=(0,se.Z)(en,2),Dt=er[0],Gt=er[1],Ze=ze.useRef(ue);Ze.current=ue;function gt(){var _t=Ze.current;Bt(_t),Ln(_t),Pn([]),Gt(null),vr()}(0,dt.Z)(function(){sn(Qe);var _t=Ot(xn,Qe);if(_t.key!==null)if(_t.add){var rr=Sn.findIndex(function(Bn){var Hn=Bn.key;return Hn===_t.key}),ar=pe(We(Sn,ue,_t.key),ft,on,mn),pt=Sn.slice();pt.splice(rr+1,0,Zt),Ln(pt),Pn(ar),Gt("show")}else{var bt=ue.findIndex(function(Bn){var Hn=Bn.key;return Hn===_t.key}),Pt=pe(We(ue,Sn,_t.key),ft,on,mn),zt=ue.slice();zt.splice(bt+1,0,Zt),Ln(zt),Pn(Pt),Gt("hide")}else Sn!==ue&&(Bt(ue),Ln(ue))},[Qe,ue]),ze.useEffect(function(){Ht||gt()},[Ht]);var Ve=Ut?On:ue,yt={expandedKeys:Qe,selectedKeys:Ie,loadedKeys:Et,loadingKeys:Tt,checkedKeys:mt,halfCheckedKeys:Le,dragOverNodeKey:Cn,dropPosition:un,keyEntities:Ye};return ze.createElement(ze.Fragment,null,Je&&Ct&&ze.createElement("span",{style:Xt,"aria-live":"assertive"},Ue(Ct)),ze.createElement("div",null,ze.createElement("input",{style:Xt,disabled:yn===!1||vn,tabIndex:yn!==!1?Wt:null,onKeyDown:qt,onFocus:ln,onBlur:Zn,value:"",onChange:Se,"aria-label":"for screen reader"})),ze.createElement("div",{className:"".concat(re,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ze.createElement("div",{className:"".concat(re,"-indent")},ze.createElement("div",{ref:Qt,className:"".concat(re,"-indent-unit")}))),ze.createElement(ht.Z,(0,b.Z)({},_n,{data:Ve,itemKey:Re,height:on,fullHeight:!1,virtual:ft,itemHeight:mn,scrollWidth:Vt,prefixCls:"".concat(re,"-list"),ref:dr,role:"tree",onVisibleChange:function(rr){rr.every(function(ar){return Re(ar)!==ve})&&gt()}}),function(_t){var rr=_t.pos,ar=Object.assign({},(jt(_t.data),_t.data)),pt=_t.title,bt=_t.key,Pt=_t.isStart,zt=_t.isEnd,Bn=(0,Pe.km)(bt,rr);delete ar.key,delete ar.children;var Hn=(0,Pe.H8)(Bn,yt);return ze.createElement(me,(0,b.Z)({},ar,Hn,{title:pt,active:!!Ct&&bt===Ct.key,pos:rr,data:_t.data,isStart:Pt,isEnd:zt,motion:Ut,motionNodes:bt===ve?nn:null,motionType:Dt,onMotionStart:mr,onMotionEnd:gt,treeNodeRequiredProps:yt,onMouseMove:function(){qn(null)}}))}))}),rt=tn,Kt=z(82661),ct=z(34643),fn=z(65065),xt=10,le=function(ae){(0,He.Z)(re,ae);var he=(0,Fe.Z)(re);function re(){var ue;(0,Me.Z)(this,re);for(var De=arguments.length,st=new Array(De),Qe=0;Qe<De;Qe++)st[Qe]=arguments[Qe];return ue=he.call.apply(he,[this].concat(st)),(0,de.Z)((0,Be.Z)(ue),"destroyed",!1),(0,de.Z)((0,Be.Z)(ue),"delayedDragEnterLogic",void 0),(0,de.Z)((0,Be.Z)(ue),"loadingRetryTimes",{}),(0,de.Z)((0,Be.Z)(ue),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Pe.w$)()}),(0,de.Z)((0,Be.Z)(ue),"dragStartMousePosition",null),(0,de.Z)((0,Be.Z)(ue),"dragNodeProps",null),(0,de.Z)((0,Be.Z)(ue),"currentMouseOverDroppableNodeKey",null),(0,de.Z)((0,Be.Z)(ue),"listRef",ze.createRef()),(0,de.Z)((0,Be.Z)(ue),"onNodeDragStart",function(Ie,mt){var Et=ue.state,Tt=Et.expandedKeys,Le=Et.keyEntities,Ye=ue.props.onDragStart,vn=mt.eventKey;ue.dragNodeProps=mt,ue.dragStartMousePosition={x:Ie.clientX,y:Ie.clientY};var Ht=(0,Kt._5)(Tt,vn);ue.setState({draggingNodeKey:vn,dragChildrenKeys:(0,Kt.wA)(vn,Le),indent:ue.listRef.current.getIndentWidth()}),ue.setExpandedKeys(Ht),window.addEventListener("dragend",ue.onWindowDragEnd),Ye==null||Ye({event:Ie,node:(0,Pe.F)(mt)})}),(0,de.Z)((0,Be.Z)(ue),"onNodeDragEnter",function(Ie,mt){var Et=ue.state,Tt=Et.expandedKeys,Le=Et.keyEntities,Ye=Et.dragChildrenKeys,vn=Et.flattenNodes,Ht=Et.indent,Cn=ue.props,un=Cn.onDragEnter,Ut=Cn.onExpand,on=Cn.allowDrop,mn=Cn.direction,ft=mt.pos,Vt=mt.eventKey;if(ue.currentMouseOverDroppableNodeKey!==Vt&&(ue.currentMouseOverDroppableNodeKey=Vt),!ue.dragNodeProps){ue.resetDragState();return}var yn=(0,Kt.OM)(Ie,ue.dragNodeProps,mt,Ht,ue.dragStartMousePosition,on,vn,Le,Tt,mn),Ct=yn.dropPosition,Je=yn.dropLevelOffset,Wt=yn.dropTargetKey,qt=yn.dropContainerKey,ln=yn.dropTargetPos,Zn=yn.dropAllowed,qn=yn.dragOverNodeKey;if(Ye.includes(Wt)||!Zn){ue.resetDragState();return}if(ue.delayedDragEnterLogic||(ue.delayedDragEnterLogic={}),Object.keys(ue.delayedDragEnterLogic).forEach(function(mr){clearTimeout(ue.delayedDragEnterLogic[mr])}),ue.dragNodeProps.eventKey!==mt.eventKey&&(Ie.persist(),ue.delayedDragEnterLogic[ft]=window.setTimeout(function(){if(ue.state.draggingNodeKey!==null){var mr=(0,nt.Z)(Tt),vr=(0,fn.Z)(Le,mt.eventKey);vr&&(vr.children||[]).length&&(mr=(0,Kt.L0)(Tt,mt.eventKey)),ue.props.hasOwnProperty("expandedKeys")||ue.setExpandedKeys(mr),Ut==null||Ut(mr,{node:(0,Pe.F)(mt),expanded:!0,nativeEvent:Ie.nativeEvent})}},800)),ue.dragNodeProps.eventKey===Wt&&Je===0){ue.resetDragState();return}ue.setState({dragOverNodeKey:qn,dropPosition:Ct,dropLevelOffset:Je,dropTargetKey:Wt,dropContainerKey:qt,dropTargetPos:ln,dropAllowed:Zn}),un==null||un({event:Ie,node:(0,Pe.F)(mt),expandedKeys:Tt})}),(0,de.Z)((0,Be.Z)(ue),"onNodeDragOver",function(Ie,mt){var Et=ue.state,Tt=Et.dragChildrenKeys,Le=Et.flattenNodes,Ye=Et.keyEntities,vn=Et.expandedKeys,Ht=Et.indent,Cn=ue.props,un=Cn.onDragOver,Ut=Cn.allowDrop,on=Cn.direction;if(ue.dragNodeProps){var mn=(0,Kt.OM)(Ie,ue.dragNodeProps,mt,Ht,ue.dragStartMousePosition,Ut,Le,Ye,vn,on),ft=mn.dropPosition,Vt=mn.dropLevelOffset,yn=mn.dropTargetKey,Ct=mn.dropContainerKey,Je=mn.dropTargetPos,Wt=mn.dropAllowed,qt=mn.dragOverNodeKey;Tt.includes(yn)||!Wt||(ue.dragNodeProps.eventKey===yn&&Vt===0?ue.state.dropPosition===null&&ue.state.dropLevelOffset===null&&ue.state.dropTargetKey===null&&ue.state.dropContainerKey===null&&ue.state.dropTargetPos===null&&ue.state.dropAllowed===!1&&ue.state.dragOverNodeKey===null||ue.resetDragState():ft===ue.state.dropPosition&&Vt===ue.state.dropLevelOffset&&yn===ue.state.dropTargetKey&&Ct===ue.state.dropContainerKey&&Je===ue.state.dropTargetPos&&Wt===ue.state.dropAllowed&&qt===ue.state.dragOverNodeKey||ue.setState({dropPosition:ft,dropLevelOffset:Vt,dropTargetKey:yn,dropContainerKey:Ct,dropTargetPos:Je,dropAllowed:Wt,dragOverNodeKey:qt}),un==null||un({event:Ie,node:(0,Pe.F)(mt)}))}}),(0,de.Z)((0,Be.Z)(ue),"onNodeDragLeave",function(Ie,mt){ue.currentMouseOverDroppableNodeKey===mt.eventKey&&!Ie.currentTarget.contains(Ie.relatedTarget)&&(ue.resetDragState(),ue.currentMouseOverDroppableNodeKey=null);var Et=ue.props.onDragLeave;Et==null||Et({event:Ie,node:(0,Pe.F)(mt)})}),(0,de.Z)((0,Be.Z)(ue),"onWindowDragEnd",function(Ie){ue.onNodeDragEnd(Ie,null,!0),window.removeEventListener("dragend",ue.onWindowDragEnd)}),(0,de.Z)((0,Be.Z)(ue),"onNodeDragEnd",function(Ie,mt){var Et=ue.props.onDragEnd;ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),Et==null||Et({event:Ie,node:(0,Pe.F)(mt)}),ue.dragNodeProps=null,window.removeEventListener("dragend",ue.onWindowDragEnd)}),(0,de.Z)((0,Be.Z)(ue),"onNodeDrop",function(Ie,mt){var Et,Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Le=ue.state,Ye=Le.dragChildrenKeys,vn=Le.dropPosition,Ht=Le.dropTargetKey,Cn=Le.dropTargetPos,un=Le.dropAllowed;if(un){var Ut=ue.props.onDrop;if(ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),Ht!==null){var on=(0,ce.Z)((0,ce.Z)({},(0,Pe.H8)(Ht,ue.getTreeNodeRequiredProps())),{},{active:((Et=ue.getActiveItem())===null||Et===void 0?void 0:Et.key)===Ht,data:(0,fn.Z)(ue.state.keyEntities,Ht).node}),mn=Ye.includes(Ht);(0,$e.ZP)(!mn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ft=(0,Kt.yx)(Cn),Vt={event:Ie,node:(0,Pe.F)(on),dragNode:ue.dragNodeProps?(0,Pe.F)(ue.dragNodeProps):null,dragNodesKeys:[ue.dragNodeProps.eventKey].concat(Ye),dropToGap:vn!==0,dropPosition:vn+Number(ft[ft.length-1])};Tt||Ut==null||Ut(Vt),ue.dragNodeProps=null}}}),(0,de.Z)((0,Be.Z)(ue),"cleanDragState",function(){var Ie=ue.state.draggingNodeKey;Ie!==null&&ue.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ue.dragStartMousePosition=null,ue.currentMouseOverDroppableNodeKey=null}),(0,de.Z)((0,Be.Z)(ue),"triggerExpandActionExpand",function(Ie,mt){var Et=ue.state,Tt=Et.expandedKeys,Le=Et.flattenNodes,Ye=mt.expanded,vn=mt.key,Ht=mt.isLeaf;if(!(Ht||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var Cn=Le.filter(function(Ut){return Ut.key===vn})[0],un=(0,Pe.F)((0,ce.Z)((0,ce.Z)({},(0,Pe.H8)(vn,ue.getTreeNodeRequiredProps())),{},{data:Cn.data}));ue.setExpandedKeys(Ye?(0,Kt._5)(Tt,vn):(0,Kt.L0)(Tt,vn)),ue.onNodeExpand(Ie,un)}}),(0,de.Z)((0,Be.Z)(ue),"onNodeClick",function(Ie,mt){var Et=ue.props,Tt=Et.onClick,Le=Et.expandAction;Le==="click"&&ue.triggerExpandActionExpand(Ie,mt),Tt==null||Tt(Ie,mt)}),(0,de.Z)((0,Be.Z)(ue),"onNodeDoubleClick",function(Ie,mt){var Et=ue.props,Tt=Et.onDoubleClick,Le=Et.expandAction;Le==="doubleClick"&&ue.triggerExpandActionExpand(Ie,mt),Tt==null||Tt(Ie,mt)}),(0,de.Z)((0,Be.Z)(ue),"onNodeSelect",function(Ie,mt){var Et=ue.state.selectedKeys,Tt=ue.state,Le=Tt.keyEntities,Ye=Tt.fieldNames,vn=ue.props,Ht=vn.onSelect,Cn=vn.multiple,un=mt.selected,Ut=mt[Ye.key],on=!un;on?Cn?Et=(0,Kt.L0)(Et,Ut):Et=[Ut]:Et=(0,Kt._5)(Et,Ut);var mn=Et.map(function(ft){var Vt=(0,fn.Z)(Le,ft);return Vt?Vt.node:null}).filter(Boolean);ue.setUncontrolledState({selectedKeys:Et}),Ht==null||Ht(Et,{event:"select",selected:on,node:mt,selectedNodes:mn,nativeEvent:Ie.nativeEvent})}),(0,de.Z)((0,Be.Z)(ue),"onNodeCheck",function(Ie,mt,Et){var Tt=ue.state,Le=Tt.keyEntities,Ye=Tt.checkedKeys,vn=Tt.halfCheckedKeys,Ht=ue.props,Cn=Ht.checkStrictly,un=Ht.onCheck,Ut=mt.key,on,mn={event:"check",node:mt,checked:Et,nativeEvent:Ie.nativeEvent};if(Cn){var ft=Et?(0,Kt.L0)(Ye,Ut):(0,Kt._5)(Ye,Ut),Vt=(0,Kt._5)(vn,Ut);on={checked:ft,halfChecked:Vt},mn.checkedNodes=ft.map(function(ln){return(0,fn.Z)(Le,ln)}).filter(Boolean).map(function(ln){return ln.node}),ue.setUncontrolledState({checkedKeys:ft})}else{var yn=(0,ct.S)([].concat((0,nt.Z)(Ye),[Ut]),!0,Le),Ct=yn.checkedKeys,Je=yn.halfCheckedKeys;if(!Et){var Wt=new Set(Ct);Wt.delete(Ut);var qt=(0,ct.S)(Array.from(Wt),{checked:!1,halfCheckedKeys:Je},Le);Ct=qt.checkedKeys,Je=qt.halfCheckedKeys}on=Ct,mn.checkedNodes=[],mn.checkedNodesPositions=[],mn.halfCheckedKeys=Je,Ct.forEach(function(ln){var Zn=(0,fn.Z)(Le,ln);if(Zn){var qn=Zn.node,mr=Zn.pos;mn.checkedNodes.push(qn),mn.checkedNodesPositions.push({node:qn,pos:mr})}}),ue.setUncontrolledState({checkedKeys:Ct},!1,{halfCheckedKeys:Je})}un==null||un(on,mn)}),(0,de.Z)((0,Be.Z)(ue),"onNodeLoad",function(Ie){var mt,Et=Ie.key,Tt=ue.state.keyEntities,Le=(0,fn.Z)(Tt,Et);if(!(Le!=null&&(mt=Le.children)!==null&&mt!==void 0&&mt.length)){var Ye=new Promise(function(vn,Ht){ue.setState(function(Cn){var un=Cn.loadedKeys,Ut=un===void 0?[]:un,on=Cn.loadingKeys,mn=on===void 0?[]:on,ft=ue.props,Vt=ft.loadData,yn=ft.onLoad;if(!Vt||Ut.includes(Et)||mn.includes(Et))return null;var Ct=Vt(Ie);return Ct.then(function(){var Je=ue.state.loadedKeys,Wt=(0,Kt.L0)(Je,Et);yn==null||yn(Wt,{event:"load",node:Ie}),ue.setUncontrolledState({loadedKeys:Wt}),ue.setState(function(qt){return{loadingKeys:(0,Kt._5)(qt.loadingKeys,Et)}}),vn()}).catch(function(Je){if(ue.setState(function(qt){return{loadingKeys:(0,Kt._5)(qt.loadingKeys,Et)}}),ue.loadingRetryTimes[Et]=(ue.loadingRetryTimes[Et]||0)+1,ue.loadingRetryTimes[Et]>=xt){var Wt=ue.state.loadedKeys;(0,$e.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ue.setUncontrolledState({loadedKeys:(0,Kt.L0)(Wt,Et)}),vn()}Ht(Je)}),{loadingKeys:(0,Kt.L0)(mn,Et)}})});return Ye.catch(function(){}),Ye}}),(0,de.Z)((0,Be.Z)(ue),"onNodeMouseEnter",function(Ie,mt){var Et=ue.props.onMouseEnter;Et==null||Et({event:Ie,node:mt})}),(0,de.Z)((0,Be.Z)(ue),"onNodeMouseLeave",function(Ie,mt){var Et=ue.props.onMouseLeave;Et==null||Et({event:Ie,node:mt})}),(0,de.Z)((0,Be.Z)(ue),"onNodeContextMenu",function(Ie,mt){var Et=ue.props.onRightClick;Et&&(Ie.preventDefault(),Et({event:Ie,node:mt}))}),(0,de.Z)((0,Be.Z)(ue),"onFocus",function(){var Ie=ue.props.onFocus;ue.setState({focused:!0});for(var mt=arguments.length,Et=new Array(mt),Tt=0;Tt<mt;Tt++)Et[Tt]=arguments[Tt];Ie==null||Ie.apply(void 0,Et)}),(0,de.Z)((0,Be.Z)(ue),"onBlur",function(){var Ie=ue.props.onBlur;ue.setState({focused:!1}),ue.onActiveChange(null);for(var mt=arguments.length,Et=new Array(mt),Tt=0;Tt<mt;Tt++)Et[Tt]=arguments[Tt];Ie==null||Ie.apply(void 0,Et)}),(0,de.Z)((0,Be.Z)(ue),"getTreeNodeRequiredProps",function(){var Ie=ue.state,mt=Ie.expandedKeys,Et=Ie.selectedKeys,Tt=Ie.loadedKeys,Le=Ie.loadingKeys,Ye=Ie.checkedKeys,vn=Ie.halfCheckedKeys,Ht=Ie.dragOverNodeKey,Cn=Ie.dropPosition,un=Ie.keyEntities;return{expandedKeys:mt||[],selectedKeys:Et||[],loadedKeys:Tt||[],loadingKeys:Le||[],checkedKeys:Ye||[],halfCheckedKeys:vn||[],dragOverNodeKey:Ht,dropPosition:Cn,keyEntities:un}}),(0,de.Z)((0,Be.Z)(ue),"setExpandedKeys",function(Ie){var mt=ue.state,Et=mt.treeData,Tt=mt.fieldNames,Le=(0,Pe.oH)(Et,Ie,Tt);ue.setUncontrolledState({expandedKeys:Ie,flattenNodes:Le},!0)}),(0,de.Z)((0,Be.Z)(ue),"onNodeExpand",function(Ie,mt){var Et=ue.state.expandedKeys,Tt=ue.state,Le=Tt.listChanging,Ye=Tt.fieldNames,vn=ue.props,Ht=vn.onExpand,Cn=vn.loadData,un=mt.expanded,Ut=mt[Ye.key];if(!Le){var on=Et.includes(Ut),mn=!un;if((0,$e.ZP)(un&&on||!un&&!on,"Expand state not sync with index check"),Et=mn?(0,Kt.L0)(Et,Ut):(0,Kt._5)(Et,Ut),ue.setExpandedKeys(Et),Ht==null||Ht(Et,{node:mt,expanded:mn,nativeEvent:Ie.nativeEvent}),mn&&Cn){var ft=ue.onNodeLoad(mt);ft&&ft.then(function(){var Vt=(0,Pe.oH)(ue.state.treeData,Et,Ye);ue.setUncontrolledState({flattenNodes:Vt})}).catch(function(){var Vt=ue.state.expandedKeys,yn=(0,Kt._5)(Vt,Ut);ue.setExpandedKeys(yn)})}}}),(0,de.Z)((0,Be.Z)(ue),"onListChangeStart",function(){ue.setUncontrolledState({listChanging:!0})}),(0,de.Z)((0,Be.Z)(ue),"onListChangeEnd",function(){setTimeout(function(){ue.setUncontrolledState({listChanging:!1})})}),(0,de.Z)((0,Be.Z)(ue),"onActiveChange",function(Ie){var mt=ue.state.activeKey,Et=ue.props,Tt=Et.onActiveChange,Le=Et.itemScrollOffset,Ye=Le===void 0?0:Le;mt!==Ie&&(ue.setState({activeKey:Ie}),Ie!==null&&ue.scrollTo({key:Ie,offset:Ye}),Tt==null||Tt(Ie))}),(0,de.Z)((0,Be.Z)(ue),"getActiveItem",function(){var Ie=ue.state,mt=Ie.activeKey,Et=Ie.flattenNodes;return mt===null?null:Et.find(function(Tt){var Le=Tt.key;return Le===mt})||null}),(0,de.Z)((0,Be.Z)(ue),"offsetActiveKey",function(Ie){var mt=ue.state,Et=mt.flattenNodes,Tt=mt.activeKey,Le=Et.findIndex(function(Ht){var Cn=Ht.key;return Cn===Tt});Le===-1&&Ie<0&&(Le=Et.length),Le=(Le+Ie+Et.length)%Et.length;var Ye=Et[Le];if(Ye){var vn=Ye.key;ue.onActiveChange(vn)}else ue.onActiveChange(null)}),(0,de.Z)((0,Be.Z)(ue),"onKeyDown",function(Ie){var mt=ue.state,Et=mt.activeKey,Tt=mt.expandedKeys,Le=mt.checkedKeys,Ye=mt.fieldNames,vn=ue.props,Ht=vn.onKeyDown,Cn=vn.checkable,un=vn.selectable;switch(Ie.which){case vt.Z.UP:{ue.offsetActiveKey(-1),Ie.preventDefault();break}case vt.Z.DOWN:{ue.offsetActiveKey(1),Ie.preventDefault();break}}var Ut=ue.getActiveItem();if(Ut&&Ut.data){var on=ue.getTreeNodeRequiredProps(),mn=Ut.data.isLeaf===!1||!!(Ut.data[Ye.children]||[]).length,ft=(0,Pe.F)((0,ce.Z)((0,ce.Z)({},(0,Pe.H8)(Et,on)),{},{data:Ut.data,active:!0}));switch(Ie.which){case vt.Z.LEFT:{mn&&Tt.includes(Et)?ue.onNodeExpand({},ft):Ut.parent&&ue.onActiveChange(Ut.parent.key),Ie.preventDefault();break}case vt.Z.RIGHT:{mn&&!Tt.includes(Et)?ue.onNodeExpand({},ft):Ut.children&&Ut.children.length&&ue.onActiveChange(Ut.children[0].key),Ie.preventDefault();break}case vt.Z.ENTER:case vt.Z.SPACE:{Cn&&!ft.disabled&&ft.checkable!==!1&&!ft.disableCheckbox?ue.onNodeCheck({},ft,!Le.includes(Et)):!Cn&&un&&!ft.disabled&&ft.selectable!==!1&&ue.onNodeSelect({},ft);break}}}Ht==null||Ht(Ie)}),(0,de.Z)((0,Be.Z)(ue),"setUncontrolledState",function(Ie){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ue.destroyed){var Tt=!1,Le=!0,Ye={};Object.keys(Ie).forEach(function(vn){if(ue.props.hasOwnProperty(vn)){Le=!1;return}Tt=!0,Ye[vn]=Ie[vn]}),Tt&&(!mt||Le)&&ue.setState((0,ce.Z)((0,ce.Z)({},Ye),Et))}}),(0,de.Z)((0,Be.Z)(ue),"scrollTo",function(Ie){ue.listRef.current.scrollTo(Ie)}),ue}return(0,Ce.Z)(re,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var De=this.props,st=De.activeKey,Qe=De.itemScrollOffset,Ie=Qe===void 0?0:Qe;st!==void 0&&st!==this.state.activeKey&&(this.setState({activeKey:st}),st!==null&&this.scrollTo({key:st,offset:Ie}))}},{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 De=this.state,st=De.focused,Qe=De.flattenNodes,Ie=De.keyEntities,mt=De.draggingNodeKey,Et=De.activeKey,Tt=De.dropLevelOffset,Le=De.dropContainerKey,Ye=De.dropTargetKey,vn=De.dropPosition,Ht=De.dragOverNodeKey,Cn=De.indent,un=this.props,Ut=un.prefixCls,on=un.className,mn=un.style,ft=un.showLine,Vt=un.focusable,yn=un.tabIndex,Ct=yn===void 0?0:yn,Je=un.selectable,Wt=un.showIcon,qt=un.icon,ln=un.switcherIcon,Zn=un.draggable,qn=un.checkable,mr=un.checkStrictly,vr=un.disabled,_n=un.motion,dr=un.loadData,Qt=un.filterTreeNode,En=un.height,pn=un.itemHeight,xn=un.scrollWidth,sn=un.virtual,Fn=un.titleRender,St=un.dropIndicatorRender,Sn=un.onContextMenu,Bt=un.onScroll,hn=un.direction,An=un.rootClassName,On=un.rootStyle,Ln=(0,et.Z)(this.props,{aria:!0,data:!0}),nr;Zn&&((0,xe.Z)(Zn)==="object"?nr=Zn:typeof Zn=="function"?nr={nodeDraggable:Zn}:nr={});var Xn={prefixCls:Ut,selectable:Je,showIcon:Wt,icon:qt,switcherIcon:ln,draggable:nr,draggingNodeKey:mt,checkable:qn,checkStrictly:mr,disabled:vr,keyEntities:Ie,dropLevelOffset:Tt,dropContainerKey:Le,dropTargetKey:Ye,dropPosition:vn,dragOverNodeKey:Ht,indent:Cn,direction:hn,dropIndicatorRender:St,loadData:dr,filterTreeNode:Qt,titleRender:Fn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return ze.createElement(je.k.Provider,{value:Xn},ze.createElement("div",{className:be()(Ut,on,An,(0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(Ut,"-show-line"),ft),"".concat(Ut,"-focused"),st),"".concat(Ut,"-active-focused"),Et!==null)),style:On},ze.createElement(rt,(0,b.Z)({ref:this.listRef,prefixCls:Ut,style:mn,data:Qe,disabled:vr,selectable:Je,checkable:!!qn,motion:_n,dragging:mt!==null,height:En,itemHeight:pn,virtual:sn,focusable:Vt,focused:st,tabIndex:Ct,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Sn,onScroll:Bt,scrollWidth:xn},this.getTreeNodeRequiredProps(),Ln))))}}],[{key:"getDerivedStateFromProps",value:function(De,st){var Qe=st.prevProps,Ie={prevProps:De};function mt(Ct){return!Qe&&De.hasOwnProperty(Ct)||Qe&&Qe[Ct]!==De[Ct]}var Et,Tt=st.fieldNames;if(mt("fieldNames")&&(Tt=(0,Pe.w$)(De.fieldNames),Ie.fieldNames=Tt),mt("treeData")?Et=De.treeData:mt("children")&&((0,$e.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Et=(0,Pe.zn)(De.children)),Et){Ie.treeData=Et;var Le=(0,Pe.I8)(Et,{fieldNames:Tt});Ie.keyEntities=(0,ce.Z)((0,de.Z)({},ve,Jt),Le.keyEntities)}var Ye=Ie.keyEntities||st.keyEntities;if(mt("expandedKeys")||Qe&&mt("autoExpandParent"))Ie.expandedKeys=De.autoExpandParent||!Qe&&De.defaultExpandParent?(0,Kt.r7)(De.expandedKeys,Ye):De.expandedKeys;else if(!Qe&&De.defaultExpandAll){var vn=(0,ce.Z)({},Ye);delete vn[ve];var Ht=[];Object.keys(vn).forEach(function(Ct){var Je=vn[Ct];Je.children&&Je.children.length&&Ht.push(Je.key)}),Ie.expandedKeys=Ht}else!Qe&&De.defaultExpandedKeys&&(Ie.expandedKeys=De.autoExpandParent||De.defaultExpandParent?(0,Kt.r7)(De.defaultExpandedKeys,Ye):De.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,Et||Ie.expandedKeys){var Cn=(0,Pe.oH)(Et||st.treeData,Ie.expandedKeys||st.expandedKeys,Tt);Ie.flattenNodes=Cn}if(De.selectable&&(mt("selectedKeys")?Ie.selectedKeys=(0,Kt.BT)(De.selectedKeys,De):!Qe&&De.defaultSelectedKeys&&(Ie.selectedKeys=(0,Kt.BT)(De.defaultSelectedKeys,De))),De.checkable){var un;if(mt("checkedKeys")?un=(0,Kt.E6)(De.checkedKeys)||{}:!Qe&&De.defaultCheckedKeys?un=(0,Kt.E6)(De.defaultCheckedKeys)||{}:Et&&(un=(0,Kt.E6)(De.checkedKeys)||{checkedKeys:st.checkedKeys,halfCheckedKeys:st.halfCheckedKeys}),un){var Ut=un,on=Ut.checkedKeys,mn=on===void 0?[]:on,ft=Ut.halfCheckedKeys,Vt=ft===void 0?[]:ft;if(!De.checkStrictly){var yn=(0,ct.S)(mn,!0,Ye);mn=yn.checkedKeys,Vt=yn.halfCheckedKeys}Ie.checkedKeys=mn,Ie.halfCheckedKeys=Vt}}return mt("loadedKeys")&&(Ie.loadedKeys=De.loadedKeys),Ie}}]),re}(ze.Component);(0,de.Z)(le,"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:Nt,allowDrop:function(){return!0},expandAction:!1}),(0,de.Z)(le,"TreeNode",_e.Z);var ne=le,te=ne},82661:function(Yn,dn,z){"use strict";z.d(dn,{BT:function(){return ze},E6:function(){return Nt},L0:function(){return de},OM:function(){return $e},_5:function(){return Fe},r7:function(){return jt},wA:function(){return be},yx:function(){return Ke}});var b=z(94480),xe=z(76190),ce=z(48736),nt=z(59301),Me=z(639),Ce=z(65065),Be=z(34061),He=null;function Fe(se,Oe){if(!se)return[];var dt=se.slice(),ht=dt.indexOf(Oe);return ht>=0&&dt.splice(ht,1),dt}function de(se,Oe){var dt=(se||[]).slice();return dt.indexOf(Oe)===-1&&dt.push(Oe),dt}function Ke(se){return se.split("-")}function be(se,Oe){var dt=[],ht=(0,Ce.Z)(Oe,se);function Rt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];_e.forEach(function(lt){var ut=lt.key,Pe=lt.children;dt.push(ut),Rt(Pe)})}return Rt(ht.children),dt}function vt(se){if(se.parent){var Oe=Ke(se.pos);return Number(Oe[Oe.length-1])===se.parent.children.length-1}return!1}function et(se){var Oe=Ke(se.pos);return Number(Oe[Oe.length-1])===0}function $e(se,Oe,dt,ht,Rt,_e,lt,ut,Pe,Te){var we,me=se.clientX,Ot=se.clientY,We=se.target.getBoundingClientRect(),Xe=We.top,Xt=We.height,Se=(Te==="rtl"?-1:1)*(((Rt==null?void 0:Rt.x)||0)-me),ve=(Se-12)/ht,Mt=Pe.filter(function(te){var ae;return(ae=ut[te])===null||ae===void 0||(ae=ae.children)===null||ae===void 0?void 0:ae.length}),Jt=(0,Ce.Z)(ut,dt.eventKey);if(Ot<Xe+Xt/2){var Zt=lt.findIndex(function(te){return te.key===Jt.key}),pe=Zt<=0?0:Zt-1,Re=lt[pe].key;Jt=(0,Ce.Z)(ut,Re)}var Ue=Jt.key,tn=Jt,rt=Jt.key,Kt=0,ct=0;if(!Mt.includes(Ue))for(var fn=0;fn<ve&&vt(Jt);fn+=1)Jt=Jt.parent,ct+=1;var xt=Oe.data,le=Jt.node,ne=!0;return et(Jt)&&Jt.level===0&&Ot<Xe+Xt/2&&_e({dragNode:xt,dropNode:le,dropPosition:-1})&&Jt.key===dt.eventKey?Kt=-1:(tn.children||[]).length&&Mt.includes(rt)?_e({dragNode:xt,dropNode:le,dropPosition:0})?Kt=0:ne=!1:ct===0?ve>-1.5?_e({dragNode:xt,dropNode:le,dropPosition:1})?Kt=1:ne=!1:_e({dragNode:xt,dropNode:le,dropPosition:0})?Kt=0:_e({dragNode:xt,dropNode:le,dropPosition:1})?Kt=1:ne=!1:_e({dragNode:xt,dropNode:le,dropPosition:1})?Kt=1:ne=!1,{dropPosition:Kt,dropLevelOffset:ct,dropTargetKey:Jt.key,dropTargetPos:Jt.pos,dragOverNodeKey:rt,dropContainerKey:Kt===0?null:((we=Jt.parent)===null||we===void 0?void 0:we.key)||null,dropAllowed:ne}}function ze(se,Oe){if(se){var dt=Oe.multiple;return dt?se.slice():se.length?[se[0]]:se}}var je=function(Oe){return Oe};function at(se,Oe){if(!se)return[];var dt=Oe||{},ht=dt.processProps,Rt=ht===void 0?je:ht,_e=Array.isArray(se)?se:[se];return _e.map(function(lt){var ut=lt.children,Pe=_objectWithoutProperties(lt,He),Te=at(ut,Oe);return React.createElement(TreeNode,_extends({key:Pe.key},Rt(Pe)),Te)})}function Nt(se){if(!se)return null;var Oe;if(Array.isArray(se))Oe={checkedKeys:se,halfCheckedKeys:void 0};else if((0,xe.Z)(se)==="object")Oe={checkedKeys:se.checked||void 0,halfCheckedKeys:se.halfChecked||void 0};else return(0,ce.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Oe}function jt(se,Oe){var dt=new Set;function ht(Rt){if(!dt.has(Rt)){var _e=(0,Ce.Z)(Oe,Rt);if(_e){dt.add(Rt);var lt=_e.parent,ut=_e.node;ut.disabled||lt&&ht(lt.key)}}}return(se||[]).forEach(function(Rt){ht(Rt)}),(0,b.Z)(dt)}},34643:function(Yn,dn,z){"use strict";z.d(dn,{S:function(){return Be}});var b=z(48736),xe=z(65065);function ce(He,Fe){var de=new Set;return He.forEach(function(Ke){Fe.has(Ke)||de.add(Ke)}),de}function nt(He){var Fe=He||{},de=Fe.disabled,Ke=Fe.disableCheckbox,be=Fe.checkable;return!!(de||Ke)||be===!1}function Me(He,Fe,de,Ke){for(var be=new Set(He),vt=new Set,et=0;et<=de;et+=1){var $e=Fe.get(et)||new Set;$e.forEach(function(Nt){var jt=Nt.key,se=Nt.node,Oe=Nt.children,dt=Oe===void 0?[]:Oe;be.has(jt)&&!Ke(se)&&dt.filter(function(ht){return!Ke(ht.node)}).forEach(function(ht){be.add(ht.key)})})}for(var ze=new Set,je=de;je>=0;je-=1){var at=Fe.get(je)||new Set;at.forEach(function(Nt){var jt=Nt.parent,se=Nt.node;if(!(Ke(se)||!Nt.parent||ze.has(Nt.parent.key))){if(Ke(Nt.parent.node)){ze.add(jt.key);return}var Oe=!0,dt=!1;(jt.children||[]).filter(function(ht){return!Ke(ht.node)}).forEach(function(ht){var Rt=ht.key,_e=be.has(Rt);Oe&&!_e&&(Oe=!1),!dt&&(_e||vt.has(Rt))&&(dt=!0)}),Oe&&be.add(jt.key),dt&&vt.add(jt.key),ze.add(jt.key)}})}return{checkedKeys:Array.from(be),halfCheckedKeys:Array.from(ce(vt,be))}}function Ce(He,Fe,de,Ke,be){for(var vt=new Set(He),et=new Set(Fe),$e=0;$e<=Ke;$e+=1){var ze=de.get($e)||new Set;ze.forEach(function(jt){var se=jt.key,Oe=jt.node,dt=jt.children,ht=dt===void 0?[]:dt;!vt.has(se)&&!et.has(se)&&!be(Oe)&&ht.filter(function(Rt){return!be(Rt.node)}).forEach(function(Rt){vt.delete(Rt.key)})})}et=new Set;for(var je=new Set,at=Ke;at>=0;at-=1){var Nt=de.get(at)||new Set;Nt.forEach(function(jt){var se=jt.parent,Oe=jt.node;if(!(be(Oe)||!jt.parent||je.has(jt.parent.key))){if(be(jt.parent.node)){je.add(se.key);return}var dt=!0,ht=!1;(se.children||[]).filter(function(Rt){return!be(Rt.node)}).forEach(function(Rt){var _e=Rt.key,lt=vt.has(_e);dt&&!lt&&(dt=!1),!ht&&(lt||et.has(_e))&&(ht=!0)}),dt||vt.delete(se.key),ht&&et.add(se.key),je.add(se.key)}})}return{checkedKeys:Array.from(vt),halfCheckedKeys:Array.from(ce(et,vt))}}function Be(He,Fe,de,Ke){var be=[],vt;Ke?vt=Ke:vt=nt;var et=new Set(He.filter(function(at){var Nt=!!(0,xe.Z)(de,at);return Nt||be.push(at),Nt})),$e=new Map,ze=0;Object.keys(de).forEach(function(at){var Nt=de[at],jt=Nt.level,se=$e.get(jt);se||(se=new Set,$e.set(jt,se)),se.add(Nt),ze=Math.max(ze,jt)}),(0,b.ZP)(!be.length,"Tree missing follow keys: ".concat(be.slice(0,100).map(function(at){return"'".concat(at,"'")}).join(", ")));var je;return Fe===!0?je=Me(et,$e,ze,vt):je=Ce(et,Fe.halfCheckedKeys,$e,ze,vt),je}},65065:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return b}});function b(xe,ce){return xe[ce]}},34061:function(Yn,dn,z){"use strict";z.d(dn,{F:function(){return jt},H8:function(){return Nt},I8:function(){return at},km:function(){return be},oH:function(){return ze},w$:function(){return vt},zn:function(){return $e}});var b=z(76190),xe=z(94480),ce=z(33885),nt=z(75931),Me=z(11592),Ce=z(2738),Be=z(48736),He=z(65065),Fe=["children"];function de(se,Oe){return"".concat(se,"-").concat(Oe)}function Ke(se){return se&&se.type&&se.type.isTreeNode}function be(se,Oe){return se!=null?se:Oe}function vt(se){var Oe=se||{},dt=Oe.title,ht=Oe._title,Rt=Oe.key,_e=Oe.children,lt=dt||"title";return{title:lt,_title:ht||[lt],key:Rt||"key",children:_e||"children"}}function et(se,Oe){var dt=new Map;function ht(Rt){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Rt||[]).forEach(function(lt){var ut=lt[Oe.key],Pe=lt[Oe.children];warning(ut!=null,"Tree node must have a certain key: [".concat(_e).concat(ut,"]"));var Te=String(ut);warning(!dt.has(Te)||ut===null||ut===void 0,"Same 'key' exist in the Tree: ".concat(Te)),dt.set(Te,!0),ht(Pe,"".concat(_e).concat(Te," > "))})}ht(se)}function $e(se){function Oe(dt){var ht=(0,Me.Z)(dt);return ht.map(function(Rt){if(!Ke(Rt))return(0,Be.ZP)(!Rt,"Tree/TreeNode can only accept TreeNode as children."),null;var _e=Rt.key,lt=Rt.props,ut=lt.children,Pe=(0,nt.Z)(lt,Fe),Te=(0,ce.Z)({key:_e},Pe),we=Oe(ut);return we.length&&(Te.children=we),Te}).filter(function(Rt){return Rt})}return Oe(se)}function ze(se,Oe,dt){var ht=vt(dt),Rt=ht._title,_e=ht.key,lt=ht.children,ut=new Set(Oe===!0?[]:Oe),Pe=[];function Te(we){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return we.map(function(Ot,We){for(var Xe=de(me?me.pos:"0",We),Xt=be(Ot[_e],Xe),Se,ve=0;ve<Rt.length;ve+=1){var Mt=Rt[ve];if(Ot[Mt]!==void 0){Se=Ot[Mt];break}}var Jt=Object.assign((0,Ce.Z)(Ot,[].concat((0,xe.Z)(Rt),[_e,lt])),{title:Se,key:Xt,parent:me,pos:Xe,children:null,data:Ot,isStart:[].concat((0,xe.Z)(me?me.isStart:[]),[We===0]),isEnd:[].concat((0,xe.Z)(me?me.isEnd:[]),[We===we.length-1])});return Pe.push(Jt),Oe===!0||ut.has(Xt)?Jt.children=Te(Ot[lt]||[],Jt):Jt.children=[],Jt})}return Te(se),Pe}function je(se,Oe,dt){var ht={};(0,b.Z)(dt)==="object"?ht=dt:ht={externalGetKey:dt},ht=ht||{};var Rt=ht,_e=Rt.childrenPropName,lt=Rt.externalGetKey,ut=Rt.fieldNames,Pe=vt(ut),Te=Pe.key,we=Pe.children,me=_e||we,Ot;lt?typeof lt=="string"?Ot=function(Xt){return Xt[lt]}:typeof lt=="function"&&(Ot=function(Xt){return lt(Xt)}):Ot=function(Xt,Se){return be(Xt[Te],Se)};function We(Xe,Xt,Se,ve){var Mt=Xe?Xe[me]:se,Jt=Xe?de(Se.pos,Xt):"0",Zt=Xe?[].concat((0,xe.Z)(ve),[Xe]):[];if(Xe){var pe=Ot(Xe,Jt),Re={node:Xe,index:Xt,pos:Jt,key:pe,parentPos:Se.node?Se.pos:null,level:Se.level+1,nodes:Zt};Oe(Re)}Mt&&Mt.forEach(function(Ue,tn){We(Ue,tn,{node:Xe,pos:Jt,level:Se?Se.level+1:-1},Zt)})}We(null)}function at(se){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dt=Oe.initWrapper,ht=Oe.processEntity,Rt=Oe.onProcessFinished,_e=Oe.externalGetKey,lt=Oe.childrenPropName,ut=Oe.fieldNames,Pe=arguments.length>2?arguments[2]:void 0,Te=_e||Pe,we={},me={},Ot={posEntities:we,keyEntities:me};return dt&&(Ot=dt(Ot)||Ot),je(se,function(We){var Xe=We.node,Xt=We.index,Se=We.pos,ve=We.key,Mt=We.parentPos,Jt=We.level,Zt=We.nodes,pe={node:Xe,nodes:Zt,index:Xt,key:ve,pos:Se,level:Jt},Re=be(ve,Se);we[Se]=pe,me[Re]=pe,pe.parent=we[Mt],pe.parent&&(pe.parent.children=pe.parent.children||[],pe.parent.children.push(pe)),ht&&ht(pe,Ot)},{externalGetKey:Te,childrenPropName:lt,fieldNames:ut}),Rt&&Rt(Ot),Ot}function Nt(se,Oe){var dt=Oe.expandedKeys,ht=Oe.selectedKeys,Rt=Oe.loadedKeys,_e=Oe.loadingKeys,lt=Oe.checkedKeys,ut=Oe.halfCheckedKeys,Pe=Oe.dragOverNodeKey,Te=Oe.dropPosition,we=Oe.keyEntities,me=(0,He.Z)(we,se),Ot={eventKey:se,expanded:dt.indexOf(se)!==-1,selected:ht.indexOf(se)!==-1,loaded:Rt.indexOf(se)!==-1,loading:_e.indexOf(se)!==-1,checked:lt.indexOf(se)!==-1,halfChecked:ut.indexOf(se)!==-1,pos:String(me?me.pos:""),dragOver:Pe===se&&Te===0,dragOverGapTop:Pe===se&&Te===-1,dragOverGapBottom:Pe===se&&Te===1};return Ot}function jt(se){var Oe=se.data,dt=se.expanded,ht=se.selected,Rt=se.checked,_e=se.loaded,lt=se.loading,ut=se.halfChecked,Pe=se.dragOver,Te=se.dragOverGapTop,we=se.dragOverGapBottom,me=se.pos,Ot=se.active,We=se.eventKey,Xe=(0,ce.Z)((0,ce.Z)({},Oe),{},{expanded:dt,selected:ht,checked:Rt,loaded:_e,loading:lt,halfChecked:ut,dragOver:Pe,dragOverGapTop:Te,dragOverGapBottom:we,pos:me,active:Ot,key:We});return"props"in Xe||Object.defineProperty(Xe,"props",{get:function(){return(0,Be.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),se}}),Xe}},8224:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return xe}});var b=z(4676);function xe(ce,nt,Me,Ce){var Be=b.unstable_batchedUpdates?function(Fe){b.unstable_batchedUpdates(Me,Fe)}:Me;return ce!=null&&ce.addEventListener&&ce.addEventListener(nt,Be,Ce),{remove:function(){ce!=null&&ce.removeEventListener&&ce.removeEventListener(nt,Be,Ce)}}}},3465:function(Yn,dn,z){"use strict";z.d(dn,{G:function(){return nt}});var b=z(47273),xe=function(Ce){if((0,b.Z)()&&window.document.documentElement){var Be=Array.isArray(Ce)?Ce:[Ce],He=window.document.documentElement;return Be.some(function(Fe){return Fe in He.style})}return!1},ce=function(Ce,Be){if(!xe(Ce))return!1;var He=document.createElement("div"),Fe=He.style[Ce];return He.style[Ce]=Be,He.style[Ce]!==Fe};function nt(Me,Ce){return!Array.isArray(Me)&&Ce!==void 0?ce(Me,Ce):xe(Me)}},48911:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return xt}});var b=z(54476),xe=z(76190),ce=z(33885),nt=z(20068),Me=z(42978),Ce=z(75931),Be=z(92310),He=z.n(Be),Fe=z(29301),de=z(70425),Ke=z(34280),be=z(59301),vt=z(4676),et=be.forwardRef(function(le,ne){var te=le.height,ae=le.offsetY,he=le.offsetX,re=le.children,ue=le.prefixCls,De=le.onInnerResize,st=le.innerProps,Qe=le.rtl,Ie=le.extra,mt={},Et={display:"flex",flexDirection:"column"};return ae!==void 0&&(mt={height:te,position:"relative",overflow:"hidden"},Et=(0,ce.Z)((0,ce.Z)({},Et),{},(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({transform:"translateY(".concat(ae,"px)")},Qe?"marginRight":"marginLeft",-he),"position","absolute"),"left",0),"right",0),"top",0))),be.createElement("div",{style:mt},be.createElement(Fe.Z,{onResize:function(Le){var Ye=Le.offsetHeight;Ye&&De&&De()}},be.createElement("div",(0,b.Z)({style:Et,className:He()((0,nt.Z)({},"".concat(ue,"-holder-inner"),ue)),ref:ne},st),re,Ie)))});et.displayName="Filler";var $e=et;function ze(le){var ne=le.children,te=le.setRef,ae=be.useCallback(function(he){te(he)},[]);return be.cloneElement(ne,{ref:ae})}function je(le,ne,te,ae,he,re,ue,De){var st=De.getKey;return le.slice(ne,te+1).map(function(Qe,Ie){var mt=ne+Ie,Et=ue(Qe,mt,{style:{width:ae},offsetX:he}),Tt=st(Qe);return be.createElement(ze,{key:Tt,setRef:function(Ye){return re(Qe,Ye)}},Et)})}function at(le,ne,te,ae){var he=te-le,re=ne-te,ue=Math.min(he,re)*2;if(ae<=ue){var De=Math.floor(ae/2);return ae%2?te+De+1:te-De}return he>re?te-(ae-re):te+(ae-he)}function Nt(le,ne,te){var ae=le.length,he=ne.length,re,ue;if(ae===0&&he===0)return null;ae<he?(re=le,ue=ne):(re=ne,ue=le);var De={__EMPTY_ITEM__:!0};function st(Le){return Le!==void 0?te(Le):De}for(var Qe=null,Ie=Math.abs(ae-he)!==1,mt=0;mt<ue.length;mt+=1){var Et=st(re[mt]),Tt=st(ue[mt]);if(Et!==Tt){Qe=mt,Ie=Ie||Et!==st(ue[mt+1]);break}}return Qe===null?null:{index:Qe,multiple:Ie}}function jt(le,ne,te){var ae=be.useState(le),he=(0,Me.Z)(ae,2),re=he[0],ue=he[1],De=be.useState(null),st=(0,Me.Z)(De,2),Qe=st[0],Ie=st[1];return be.useEffect(function(){var mt=Nt(re||[],le||[],ne);(mt==null?void 0:mt.index)!==void 0&&(te==null||te(mt.index),Ie(le[mt.index])),ue(le)},[le]),[Qe]}var se=z(16089),Oe=(typeof navigator=="undefined"?"undefined":(0,xe.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),dt=Oe,ht=function(le,ne,te,ae){var he=(0,be.useRef)(!1),re=(0,be.useRef)(null);function ue(){clearTimeout(re.current),he.current=!0,re.current=setTimeout(function(){he.current=!1},50)}var De=(0,be.useRef)({top:le,bottom:ne,left:te,right:ae});return De.current.top=le,De.current.bottom=ne,De.current.left=te,De.current.right=ae,function(st,Qe){var Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=st?Qe<0&&De.current.left||Qe>0&&De.current.right:Qe<0&&De.current.top||Qe>0&&De.current.bottom;return Ie&&mt?(clearTimeout(re.current),he.current=!1):(!mt||he.current)&&ue(),!he.current&&mt}};function Rt(le,ne,te,ae,he,re,ue){var De=(0,be.useRef)(0),st=(0,be.useRef)(null),Qe=(0,be.useRef)(null),Ie=(0,be.useRef)(!1),mt=ht(ne,te,ae,he);function Et(Cn,un){if(se.Z.cancel(st.current),!mt(!1,un)){var Ut=Cn;if(!Ut._virtualHandled)Ut._virtualHandled=!0;else return;De.current+=un,Qe.current=un,dt||Ut.preventDefault(),st.current=(0,se.Z)(function(){var on=Ie.current?10:1;ue(De.current*on,!1),De.current=0})}}function Tt(Cn,un){ue(un,!0),dt||Cn.preventDefault()}var Le=(0,be.useRef)(null),Ye=(0,be.useRef)(null);function vn(Cn){if(le){se.Z.cancel(Ye.current),Ye.current=(0,se.Z)(function(){Le.current=null},2);var un=Cn.deltaX,Ut=Cn.deltaY,on=Cn.shiftKey,mn=un,ft=Ut;(Le.current==="sx"||!Le.current&&on&&Ut&&!un)&&(mn=Ut,ft=0,Le.current="sx");var Vt=Math.abs(mn),yn=Math.abs(ft);Le.current===null&&(Le.current=re&&Vt>yn?"x":"y"),Le.current==="y"?Et(Cn,ft):Tt(Cn,mn)}}function Ht(Cn){le&&(Ie.current=Cn.detail===Qe.current)}return[vn,Ht]}function _e(le,ne,te,ae){var he=be.useMemo(function(){return[new Map,[]]},[le,te.id,ae]),re=(0,Me.Z)(he,2),ue=re[0],De=re[1],st=function(Ie){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ie,Et=ue.get(Ie),Tt=ue.get(mt);if(Et===void 0||Tt===void 0)for(var Le=le.length,Ye=De.length;Ye<Le;Ye+=1){var vn,Ht=le[Ye],Cn=ne(Ht);ue.set(Cn,Ye);var un=(vn=te.get(Cn))!==null&&vn!==void 0?vn:ae;if(De[Ye]=(De[Ye-1]||0)+un,Cn===Ie&&(Et=Ye),Cn===mt&&(Tt=Ye),Et!==void 0&&Tt!==void 0)break}return{top:De[Et-1]||0,bottom:De[Tt]}};return st}var lt=z(67732),ut=z(83652),Pe=function(){function le(){(0,lt.Z)(this,le),(0,nt.Z)(this,"maps",void 0),(0,nt.Z)(this,"id",0),(0,nt.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,ut.Z)(le,[{key:"set",value:function(te,ae){this.diffRecords.set(te,this.maps[te]),this.maps[te]=ae,this.id+=1}},{key:"get",value:function(te){return this.maps[te]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),le}(),Te=Pe;function we(le){var ne=parseFloat(le);return isNaN(ne)?0:ne}function me(le,ne,te){var ae=be.useState(0),he=(0,Me.Z)(ae,2),re=he[0],ue=he[1],De=(0,be.useRef)(new Map),st=(0,be.useRef)(new Te),Qe=(0,be.useRef)(0);function Ie(){Qe.current+=1}function mt(){var Tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ie();var Le=function(){var Ht=!1;De.current.forEach(function(Cn,un){if(Cn&&Cn.offsetParent){var Ut=Cn.offsetHeight,on=getComputedStyle(Cn),mn=on.marginTop,ft=on.marginBottom,Vt=we(mn),yn=we(ft),Ct=Ut+Vt+yn;st.current.get(un)!==Ct&&(st.current.set(un,Ct),Ht=!0)}}),Ht&&ue(function(Cn){return Cn+1})};if(Tt)Le();else{Qe.current+=1;var Ye=Qe.current;Promise.resolve().then(function(){Ye===Qe.current&&Le()})}}function Et(Tt,Le){var Ye=le(Tt),vn=De.current.get(Ye);Le?(De.current.set(Ye,Le),mt()):De.current.delete(Ye),!vn!=!Le&&(Le?ne==null||ne(Tt):te==null||te(Tt))}return(0,be.useEffect)(function(){return Ie},[]),[Et,mt,st.current,re]}var Ot=14/15;function We(le,ne,te){var ae=(0,be.useRef)(!1),he=(0,be.useRef)(0),re=(0,be.useRef)(0),ue=(0,be.useRef)(null),De=(0,be.useRef)(null),st,Qe=function(Tt){if(ae.current){var Le=Math.ceil(Tt.touches[0].pageX),Ye=Math.ceil(Tt.touches[0].pageY),vn=he.current-Le,Ht=re.current-Ye,Cn=Math.abs(vn)>Math.abs(Ht);Cn?he.current=Le:re.current=Ye;var un=te(Cn,Cn?vn:Ht,!1,Tt);un&&Tt.preventDefault(),clearInterval(De.current),un&&(De.current=setInterval(function(){Cn?vn*=Ot:Ht*=Ot;var Ut=Math.floor(Cn?vn:Ht);(!te(Cn,Ut,!0)||Math.abs(Ut)<=.1)&&clearInterval(De.current)},16))}},Ie=function(){ae.current=!1,st()},mt=function(Tt){st(),Tt.touches.length===1&&!ae.current&&(ae.current=!0,he.current=Math.ceil(Tt.touches[0].pageX),re.current=Math.ceil(Tt.touches[0].pageY),ue.current=Tt.target,ue.current.addEventListener("touchmove",Qe,{passive:!1}),ue.current.addEventListener("touchend",Ie,{passive:!0}))};st=function(){ue.current&&(ue.current.removeEventListener("touchmove",Qe),ue.current.removeEventListener("touchend",Ie))},(0,Ke.Z)(function(){return le&&ne.current.addEventListener("touchstart",mt,{passive:!0}),function(){var Et;(Et=ne.current)===null||Et===void 0||Et.removeEventListener("touchstart",mt),st(),clearInterval(De.current)}},[le])}function Xe(le){return Math.floor(Math.pow(le,.5))}function Xt(le,ne){var te="touches"in le?le.touches[0]:le;return te[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function Se(le,ne,te){be.useEffect(function(){var ae=ne.current;if(le&&ae){var he=!1,re,ue,De=function(){se.Z.cancel(re)},st=function Et(){De(),re=(0,se.Z)(function(){te(ue),Et()})},Qe=function(){he=!1,De()},Ie=function(Tt){if(!(Tt.target.draggable||Tt.button!==0)){var Le=Tt;Le._virtualHandled||(Le._virtualHandled=!0,he=!0)}},mt=function(Tt){if(he){var Le=Xt(Tt,!1),Ye=ae.getBoundingClientRect(),vn=Ye.top,Ht=Ye.bottom;if(Le<=vn){var Cn=vn-Le;ue=-Xe(Cn),st()}else if(Le>=Ht){var un=Le-Ht;ue=Xe(un),st()}else De()}};return ae.addEventListener("mousedown",Ie),ae.ownerDocument.addEventListener("mouseup",Qe),ae.ownerDocument.addEventListener("mousemove",mt),ae.ownerDocument.addEventListener("dragend",Qe),function(){ae.removeEventListener("mousedown",Ie),ae.ownerDocument.removeEventListener("mouseup",Qe),ae.ownerDocument.removeEventListener("mousemove",mt),ae.ownerDocument.removeEventListener("dragend",Qe),De()}}},[le])}var ve=10;function Mt(le,ne,te,ae,he,re,ue,De){var st=be.useRef(),Qe=be.useState(null),Ie=(0,Me.Z)(Qe,2),mt=Ie[0],Et=Ie[1];return(0,Ke.Z)(function(){if(mt&&mt.times<ve){if(!le.current){Et(function(_n){return(0,ce.Z)({},_n)});return}re();var Tt=mt.targetAlign,Le=mt.originAlign,Ye=mt.index,vn=mt.offset,Ht=le.current.clientHeight,Cn=!1,un=Tt,Ut=null;if(Ht){for(var on=Tt||Le,mn=0,ft=0,Vt=0,yn=Math.min(ne.length-1,Ye),Ct=0;Ct<=yn;Ct+=1){var Je=he(ne[Ct]);ft=mn;var Wt=te.get(Je);Vt=ft+(Wt===void 0?ae:Wt),mn=Vt}for(var qt=on==="top"?vn:Ht-vn,ln=yn;ln>=0;ln-=1){var Zn=he(ne[ln]),qn=te.get(Zn);if(qn===void 0){Cn=!0;break}if(qt-=qn,qt<=0)break}switch(on){case"top":Ut=ft-vn;break;case"bottom":Ut=Vt-Ht+vn;break;default:{var mr=le.current.scrollTop,vr=mr+Ht;ft<mr?un="top":Vt>vr&&(un="bottom")}}Ut!==null&&ue(Ut),Ut!==mt.lastTop&&(Cn=!0)}Cn&&Et((0,ce.Z)((0,ce.Z)({},mt),{},{times:mt.times+1,targetAlign:un,lastTop:Ut}))}},[mt,le.current]),function(Tt){if(Tt==null){De();return}if(se.Z.cancel(st.current),typeof Tt=="number")ue(Tt);else if(Tt&&(0,xe.Z)(Tt)==="object"){var Le,Ye=Tt.align;"index"in Tt?Le=Tt.index:Le=ne.findIndex(function(Cn){return he(Cn)===Tt.key});var vn=Tt.offset,Ht=vn===void 0?0:vn;Et({times:0,index:Le,offset:Ht,originAlign:Ye})}}}var Jt=be.forwardRef(function(le,ne){var te=le.prefixCls,ae=le.rtl,he=le.scrollOffset,re=le.scrollRange,ue=le.onStartMove,De=le.onStopMove,st=le.onScroll,Qe=le.horizontal,Ie=le.spinSize,mt=le.containerSize,Et=le.style,Tt=le.thumbStyle,Le=le.showScrollBar,Ye=be.useState(!1),vn=(0,Me.Z)(Ye,2),Ht=vn[0],Cn=vn[1],un=be.useState(null),Ut=(0,Me.Z)(un,2),on=Ut[0],mn=Ut[1],ft=be.useState(null),Vt=(0,Me.Z)(ft,2),yn=Vt[0],Ct=Vt[1],Je=!ae,Wt=be.useRef(),qt=be.useRef(),ln=be.useState(Le),Zn=(0,Me.Z)(ln,2),qn=Zn[0],mr=Zn[1],vr=be.useRef(),_n=function(){Le===!0||Le===!1||(clearTimeout(vr.current),mr(!0),vr.current=setTimeout(function(){mr(!1)},3e3))},dr=re-mt||0,Qt=mt-Ie||0,En=be.useMemo(function(){if(he===0||dr===0)return 0;var An=he/dr;return An*Qt},[he,dr,Qt]),pn=function(On){On.stopPropagation(),On.preventDefault()},xn=be.useRef({top:En,dragging:Ht,pageY:on,startTop:yn});xn.current={top:En,dragging:Ht,pageY:on,startTop:yn};var sn=function(On){Cn(!0),mn(Xt(On,Qe)),Ct(xn.current.top),ue(),On.stopPropagation(),On.preventDefault()};be.useEffect(function(){var An=function(Xn){Xn.preventDefault()},On=Wt.current,Ln=qt.current;return On.addEventListener("touchstart",An,{passive:!1}),Ln.addEventListener("touchstart",sn,{passive:!1}),function(){On.removeEventListener("touchstart",An),Ln.removeEventListener("touchstart",sn)}},[]);var Fn=be.useRef();Fn.current=dr;var St=be.useRef();St.current=Qt,be.useEffect(function(){if(Ht){var An,On=function(Xn){var nn=xn.current,Pn=nn.dragging,en=nn.pageY,er=nn.startTop;se.Z.cancel(An);var Dt=Wt.current.getBoundingClientRect(),Gt=mt/(Qe?Dt.width:Dt.height);if(Pn){var Ze=(Xt(Xn,Qe)-en)*Gt,gt=er;!Je&&Qe?gt-=Ze:gt+=Ze;var Ve=Fn.current,yt=St.current,_t=yt?gt/yt:0,rr=Math.ceil(_t*Ve);rr=Math.max(rr,0),rr=Math.min(rr,Ve),An=(0,se.Z)(function(){st(rr,Qe)})}},Ln=function(){Cn(!1),De()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",Ln,{passive:!0}),window.addEventListener("touchend",Ln,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",Ln),window.removeEventListener("touchend",Ln),se.Z.cancel(An)}}},[Ht]),be.useEffect(function(){return _n(),function(){clearTimeout(vr.current)}},[he]),be.useImperativeHandle(ne,function(){return{delayHidden:_n}});var Sn="".concat(te,"-scrollbar"),Bt={position:"absolute",visibility:qn?null:"hidden"},hn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Qe?(Object.assign(Bt,{height:8,left:0,right:0,bottom:0}),Object.assign(hn,(0,nt.Z)({height:"100%",width:Ie},Je?"left":"right",En))):(Object.assign(Bt,(0,nt.Z)({width:8,top:0,bottom:0},Je?"right":"left",0)),Object.assign(hn,{width:"100%",height:Ie,top:En})),be.createElement("div",{ref:Wt,className:He()(Sn,(0,nt.Z)((0,nt.Z)((0,nt.Z)({},"".concat(Sn,"-horizontal"),Qe),"".concat(Sn,"-vertical"),!Qe),"".concat(Sn,"-visible"),qn)),style:(0,ce.Z)((0,ce.Z)({},Bt),Et),onMouseDown:pn,onMouseMove:_n},be.createElement("div",{ref:qt,className:He()("".concat(Sn,"-thumb"),(0,nt.Z)({},"".concat(Sn,"-thumb-moving"),Ht)),style:(0,ce.Z)((0,ce.Z)({},hn),Tt),onMouseDown:sn}))}),Zt=Jt,pe=20;function Re(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,te=le/ne*le;return isNaN(te)&&(te=0),te=Math.max(te,pe),Math.floor(te)}var Ue=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],tn=[],rt={overflowY:"auto",overflowAnchor:"none"};function Kt(le,ne){var te=le.prefixCls,ae=te===void 0?"rc-virtual-list":te,he=le.className,re=le.height,ue=le.itemHeight,De=le.fullHeight,st=De===void 0?!0:De,Qe=le.style,Ie=le.data,mt=le.children,Et=le.itemKey,Tt=le.virtual,Le=le.direction,Ye=le.scrollWidth,vn=le.component,Ht=vn===void 0?"div":vn,Cn=le.onScroll,un=le.onVirtualScroll,Ut=le.onVisibleChange,on=le.innerProps,mn=le.extraRender,ft=le.styles,Vt=le.showScrollBar,yn=Vt===void 0?"optional":Vt,Ct=(0,Ce.Z)(le,Ue),Je=be.useCallback(function(Lt){return typeof Et=="function"?Et(Lt):Lt==null?void 0:Lt[Et]},[Et]),Wt=me(Je,null,null),qt=(0,Me.Z)(Wt,4),ln=qt[0],Zn=qt[1],qn=qt[2],mr=qt[3],vr=!!(Tt!==!1&&re&&ue),_n=be.useMemo(function(){return Object.values(qn.maps).reduce(function(Lt,it){return Lt+it},0)},[qn.id,qn.maps]),dr=vr&&Ie&&(Math.max(ue*Ie.length,_n)>re||!!Ye),Qt=Le==="rtl",En=He()(ae,(0,nt.Z)({},"".concat(ae,"-rtl"),Qt),he),pn=Ie||tn,xn=(0,be.useRef)(),sn=(0,be.useRef)(),Fn=(0,be.useRef)(),St=(0,be.useState)(0),Sn=(0,Me.Z)(St,2),Bt=Sn[0],hn=Sn[1],An=(0,be.useState)(0),On=(0,Me.Z)(An,2),Ln=On[0],nr=On[1],Xn=(0,be.useState)(!1),nn=(0,Me.Z)(Xn,2),Pn=nn[0],en=nn[1],er=function(){en(!0)},Dt=function(){en(!1)},Gt={getKey:Je};function Ze(Lt){hn(function(it){var It;typeof Lt=="function"?It=Lt(it):It=Lt;var $t=$r(It);return xn.current.scrollTop=$t,$t})}var gt=(0,be.useRef)({start:0,end:pn.length}),Ve=(0,be.useRef)(),yt=jt(pn,Je),_t=(0,Me.Z)(yt,1),rr=_t[0];Ve.current=rr;var ar=be.useMemo(function(){if(!vr)return{scrollHeight:void 0,start:0,end:pn.length-1,offset:void 0};if(!dr){var Lt;return{scrollHeight:((Lt=sn.current)===null||Lt===void 0?void 0:Lt.offsetHeight)||0,start:0,end:pn.length-1,offset:void 0}}for(var it=0,It,$t,Nn,zn=pn.length,Dn=0;Dn<zn;Dn+=1){var jn=pn[Dn],Jn=Je(jn),Cr=qn.get(Jn),br=it+(Cr===void 0?ue:Cr);br>=Bt&&It===void 0&&(It=Dn,$t=it),br>Bt+re&&Nn===void 0&&(Nn=Dn),it=br}return It===void 0&&(It=0,$t=0,Nn=Math.ceil(re/ue)),Nn===void 0&&(Nn=pn.length-1),Nn=Math.min(Nn+1,pn.length-1),{scrollHeight:it,start:It,end:Nn,offset:$t}},[dr,vr,Bt,pn,mr,re]),pt=ar.scrollHeight,bt=ar.start,Pt=ar.end,zt=ar.offset;gt.current.start=bt,gt.current.end=Pt,be.useLayoutEffect(function(){var Lt=qn.getRecord();if(Lt.size===1){var it=Array.from(Lt.keys())[0],It=Lt.get(it),$t=pn[bt];if($t&&It===void 0){var Nn=Je($t);if(Nn===it){var zn=qn.get(it),Dn=zn-ue;Ze(function(jn){return jn+Dn})}}}qn.resetRecord()},[pt]);var Bn=be.useState({width:0,height:re}),Hn=(0,Me.Z)(Bn,2),Rn=Hn[0],Un=Hn[1],pr=function(it){Un({width:it.offsetWidth,height:it.offsetHeight})},Ar=(0,be.useRef)(),Vr=(0,be.useRef)(),Br=be.useMemo(function(){return Re(Rn.width,Ye)},[Rn.width,Ye]),fr=be.useMemo(function(){return Re(Rn.height,pt)},[Rn.height,pt]),Pr=pt-re,kr=(0,be.useRef)(Pr);kr.current=Pr;function $r(Lt){var it=Lt;return Number.isNaN(kr.current)||(it=Math.min(it,kr.current)),it=Math.max(it,0),it}var Xr=Bt<=0,mi=Bt>=Pr,yr=Ln<=0,ur=Ln>=Ye,gr=ht(Xr,mi,yr,ur),ni=function(){return{x:Qt?-Ln:Ln,y:Bt}},Kr=(0,be.useRef)(ni()),wr=(0,de.zX)(function(Lt){if(un){var it=(0,ce.Z)((0,ce.Z)({},ni()),Lt);(Kr.current.x!==it.x||Kr.current.y!==it.y)&&(un(it),Kr.current=it)}});function Rr(Lt,it){var It=Lt;it?((0,vt.flushSync)(function(){nr(It)}),wr()):Ze(It)}function hi(Lt){var it=Lt.currentTarget.scrollTop;it!==Bt&&Ze(it),Cn==null||Cn(Lt),wr()}var Qr=function(it){var It=it,$t=Ye?Ye-Rn.width:0;return It=Math.max(It,0),It=Math.min(It,$t),It},qr=(0,de.zX)(function(Lt,it){it?((0,vt.flushSync)(function(){nr(function(It){var $t=It+(Qt?-Lt:Lt);return Qr($t)})}),wr()):Ze(function(It){var $t=It+Lt;return $t})}),ei=Rt(vr,Xr,mi,yr,ur,!!Ye,qr),Ni=(0,Me.Z)(ei,2),$i=Ni[0],_i=Ni[1];We(vr,xn,function(Lt,it,It,$t){var Nn=$t;return gr(Lt,it,It)?!1:!Nn||!Nn._virtualHandled?(Nn&&(Nn._virtualHandled=!0),$i({preventDefault:function(){},deltaX:Lt?it:0,deltaY:Lt?0:it}),!0):!1}),Se(dr,xn,function(Lt){Ze(function(it){return it+Lt})}),(0,Ke.Z)(function(){function Lt(It){var $t=Xr&&It.detail<0,Nn=mi&&It.detail>0;vr&&!$t&&!Nn&&It.preventDefault()}var it=xn.current;return it.addEventListener("wheel",$i,{passive:!1}),it.addEventListener("DOMMouseScroll",_i,{passive:!0}),it.addEventListener("MozMousePixelScroll",Lt,{passive:!1}),function(){it.removeEventListener("wheel",$i),it.removeEventListener("DOMMouseScroll",_i),it.removeEventListener("MozMousePixelScroll",Lt)}},[vr,Xr,mi]),(0,Ke.Z)(function(){if(Ye){var Lt=Qr(Ln);nr(Lt),wr({x:Lt})}},[Rn.width,Ye]);var ki=function(){var it,It;(it=Ar.current)===null||it===void 0||it.delayHidden(),(It=Vr.current)===null||It===void 0||It.delayHidden()},io=Mt(xn,pn,qn,ue,Je,function(){return Zn(!0)},Ze,ki);be.useImperativeHandle(ne,function(){return{nativeElement:Fn.current,getScrollInfo:ni,scrollTo:function(it){function It($t){return $t&&(0,xe.Z)($t)==="object"&&("left"in $t||"top"in $t)}It(it)?(it.left!==void 0&&nr(Qr(it.left)),io(it.top)):io(it)}}}),(0,Ke.Z)(function(){if(Ut){var Lt=pn.slice(bt,Pt+1);Ut(Lt,pn)}},[bt,Pt,pn]);var ke=_e(pn,Je,qn,ue),tt=mn==null?void 0:mn({start:bt,end:Pt,virtual:dr,offsetX:Ln,offsetY:zt,rtl:Qt,getSize:ke}),Ft=je(pn,bt,Pt,Ye,Ln,ln,mt,Gt),an=null;re&&(an=(0,ce.Z)((0,nt.Z)({},st?"height":"maxHeight",re),rt),vr&&(an.overflowY="hidden",Ye&&(an.overflowX="hidden"),Pn&&(an.pointerEvents="none")));var cn={};return Qt&&(cn.dir="rtl"),be.createElement("div",(0,b.Z)({ref:Fn,style:(0,ce.Z)((0,ce.Z)({},Qe),{},{position:"relative"}),className:En},cn,Ct),be.createElement(Fe.Z,{onResize:pr},be.createElement(Ht,{className:"".concat(ae,"-holder"),style:an,ref:xn,onScroll:hi,onMouseEnter:ki},be.createElement($e,{prefixCls:ae,height:pt,offsetX:Ln,offsetY:zt,scrollWidth:Ye,onInnerResize:Zn,ref:sn,innerProps:on,rtl:Qt,extra:tt},Ft))),dr&&pt>re&&be.createElement(Zt,{ref:Ar,prefixCls:ae,scrollOffset:Bt,scrollRange:pt,rtl:Qt,onScroll:Rr,onStartMove:er,onStopMove:Dt,spinSize:fr,containerSize:Rn.height,style:ft==null?void 0:ft.verticalScrollBar,thumbStyle:ft==null?void 0:ft.verticalScrollBarThumb,showScrollBar:yn}),dr&&Ye>Rn.width&&be.createElement(Zt,{ref:Vr,prefixCls:ae,scrollOffset:Ln,scrollRange:Ye,rtl:Qt,onScroll:Rr,onStartMove:er,onStopMove:Dt,spinSize:Br,containerSize:Rn.width,horizontal:!0,style:ft==null?void 0:ft.horizontalScrollBar,thumbStyle:ft==null?void 0:ft.horizontalScrollBarThumb,showScrollBar:yn}))}var ct=be.forwardRef(Kt);ct.displayName="List";var fn=ct,xt=fn},25510:function(Yn){"use strict";Yn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGB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4Cbbi8svbqy/PtJf+9oLNnTXbRsydZ8d+81u21VZb2wpvfasdcMD+dtIpPwoxLJMmTwrbp595/Anb7O1vt2223Mq+9pWv2siJE+33l15iJ//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1lvZD086yW67/TY75eST7de//rW9Y4ft7agjjrT11l03HHgYzhsaafbySy8FlxWuq3Hjxtn4CRPt5ptvtQsvvMj++7+/attsu7Udc8yxtu5664YTnIl1OeHbJ9hpp/3S7pvxF9t3n31svWlr28GHHWIPPPhX22STje1HJ59iyyy7jL362iy7//4HbM899rQHH3jIDj/kkHAMwJ9uucWOOPLwEEczdcmpNmWJKSGe56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U/FCaQI/ewuKHq0PRcHDCXc5bSLPXClvz33Xdf0SNQJ9St5JoXzvPArETuWcrOCzMcgIrdi0suHH6JAy2X7YIckKfkgocJCc7Lds1rDOwi97JitpRnCXUB2PcYASNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},93314:function(Yn){"use strict";Yn.exports="data:image/png;base64,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z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},19251:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return xe}});var b=z(3208);function xe(ce,nt){var Me=typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(!Me){if(Array.isArray(ce)||(Me=(0,b.Z)(ce))||nt&&ce&&typeof ce.length=="number"){Me&&(ce=Me);var Ce=0,Be=function(){};return{s:Be,n:function(){return Ce>=ce.length?{done:!0}:{done:!1,value:ce[Ce++]}},e:function(be){throw be},f:Be}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var He,Fe=!0,de=!1;return{s:function(){Me=Me.call(ce)},n:function(){var be=Me.next();return Fe=be.done,be},e:function(be){de=!0,He=be},f:function(){try{Fe||Me.return==null||Me.return()}finally{if(de)throw He}}}}},16722:function(Yn,dn,z){"use strict";z.d(dn,{Z:function(){return He}});const b=Fe=>typeof Fe=="object"&&Fe!=null&&Fe.nodeType===1,xe=(Fe,de)=>(!de||Fe!=="hidden")&&Fe!=="visible"&&Fe!=="clip",ce=(Fe,de)=>{if(Fe.clientHeight<Fe.scrollHeight||Fe.clientWidth<Fe.scrollWidth){const Ke=getComputedStyle(Fe,null);return xe(Ke.overflowY,de)||xe(Ke.overflowX,de)||(be=>{const vt=(et=>{if(!et.ownerDocument||!et.ownerDocument.defaultView)return null;try{return et.ownerDocument.defaultView.frameElement}catch($e){return null}})(be);return!!vt&&(vt.clientHeight<be.scrollHeight||vt.clientWidth<be.scrollWidth)})(Fe)}return!1},nt=(Fe,de,Ke,be,vt,et,$e,ze)=>et<Fe&&$e>de||et>Fe&&$e<de?0:et<=Fe&&ze<=Ke||$e>=de&&ze>=Ke?et-Fe-be:$e>de&&ze<Ke||et<Fe&&ze>Ke?$e-de+vt:0,Me=Fe=>{const de=Fe.parentElement;return de==null?Fe.getRootNode().host||null:de},Ce=(Fe,de)=>{var Ke,be,vt,et;if(typeof document=="undefined")return[];const{scrollMode:$e,block:ze,inline:je,boundary:at,skipOverflowHiddenElements:Nt}=de,jt=typeof at=="function"?at:Zt=>Zt!==at;if(!b(Fe))throw new TypeError("Invalid target");const se=document.scrollingElement||document.documentElement,Oe=[];let dt=Fe;for(;b(dt)&&jt(dt);){if(dt=Me(dt),dt===se){Oe.push(dt);break}dt!=null&&dt===document.body&&ce(dt)&&!ce(document.documentElement)||dt!=null&&ce(dt,Nt)&&Oe.push(dt)}const ht=(be=(Ke=window.visualViewport)==null?void 0:Ke.width)!=null?be:innerWidth,Rt=(et=(vt=window.visualViewport)==null?void 0:vt.height)!=null?et:innerHeight,{scrollX:_e,scrollY:lt}=window,{height:ut,width:Pe,top:Te,right:we,bottom:me,left:Ot}=Fe.getBoundingClientRect(),{top:We,right:Xe,bottom:Xt,left:Se}=(Zt=>{const pe=window.getComputedStyle(Zt);return{top:parseFloat(pe.scrollMarginTop)||0,right:parseFloat(pe.scrollMarginRight)||0,bottom:parseFloat(pe.scrollMarginBottom)||0,left:parseFloat(pe.scrollMarginLeft)||0}})(Fe);let ve=ze==="start"||ze==="nearest"?Te-We:ze==="end"?me+Xt:Te+ut/2-We+Xt,Mt=je==="center"?Ot+Pe/2-Se+Xe:je==="end"?we+Xe:Ot-Se;const Jt=[];for(let Zt=0;Zt<Oe.length;Zt++){const pe=Oe[Zt],{height:Re,width:Ue,top:tn,right:rt,bottom:Kt,left:ct}=pe.getBoundingClientRect();if($e==="if-needed"&&Te>=0&&Ot>=0&&me<=Rt&&we<=ht&&(pe===se&&!ce(pe)||Te>=tn&&me<=Kt&&Ot>=ct&&we<=rt))return Jt;const fn=getComputedStyle(pe),xt=parseInt(fn.borderLeftWidth,10),le=parseInt(fn.borderTopWidth,10),ne=parseInt(fn.borderRightWidth,10),te=parseInt(fn.borderBottomWidth,10);let ae=0,he=0;const re="offsetWidth"in pe?pe.offsetWidth-pe.clientWidth-xt-ne:0,ue="offsetHeight"in pe?pe.offsetHeight-pe.clientHeight-le-te:0,De="offsetWidth"in pe?pe.offsetWidth===0?0:Ue/pe.offsetWidth:0,st="offsetHeight"in pe?pe.offsetHeight===0?0:Re/pe.offsetHeight:0;if(se===pe)ae=ze==="start"?ve:ze==="end"?ve-Rt:ze==="nearest"?nt(lt,lt+Rt,Rt,le,te,lt+ve,lt+ve+ut,ut):ve-Rt/2,he=je==="start"?Mt:je==="center"?Mt-ht/2:je==="end"?Mt-ht:nt(_e,_e+ht,ht,xt,ne,_e+Mt,_e+Mt+Pe,Pe),ae=Math.max(0,ae+lt),he=Math.max(0,he+_e);else{ae=ze==="start"?ve-tn-le:ze==="end"?ve-Kt+te+ue:ze==="nearest"?nt(tn,Kt,Re,le,te+ue,ve,ve+ut,ut):ve-(tn+Re/2)+ue/2,he=je==="start"?Mt-ct-xt:je==="center"?Mt-(ct+Ue/2)+re/2:je==="end"?Mt-rt+ne+re:nt(ct,rt,Ue,xt,ne+re,Mt,Mt+Pe,Pe);const{scrollLeft:Qe,scrollTop:Ie}=pe;ae=st===0?0:Math.max(0,Math.min(Ie+ae/st,pe.scrollHeight-Re/st+ue)),he=De===0?0:Math.max(0,Math.min(Qe+he/De,pe.scrollWidth-Ue/De+re)),ve+=Ie-ae,Mt+=Qe-he}Jt.push({el:pe,top:ae,left:he})}return Jt},Be=Fe=>Fe===!1?{block:"end",inline:"nearest"}:(de=>de===Object(de)&&Object.keys(de).length!==0)(Fe)?Fe:{block:"start",inline:"nearest"};function He(Fe,de){if(!Fe.isConnected||!(vt=>{let et=vt;for(;et&&et.parentNode;){if(et.parentNode===document)return!0;et=et.parentNode instanceof ShadowRoot?et.parentNode.host:et.parentNode}return!1})(Fe))return;const Ke=(vt=>{const et=window.getComputedStyle(vt);return{top:parseFloat(et.scrollMarginTop)||0,right:parseFloat(et.scrollMarginRight)||0,bottom:parseFloat(et.scrollMarginBottom)||0,left:parseFloat(et.scrollMarginLeft)||0}})(Fe);if((vt=>typeof vt=="object"&&typeof vt.behavior=="function")(de))return de.behavior(Ce(Fe,de));const be=typeof de=="boolean"||de==null?void 0:de.behavior;for(const{el:vt,top:et,left:$e}of Ce(Fe,Be(de))){const ze=et-Ke.top+Ke.bottom,je=$e-Ke.left+Ke.right;vt.scroll({top:ze,left:je,behavior:be})}}}}]);
}());