|
|
!(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=(Vn,hn,z)=>hn in Vn?sc(Vn,hn,{enumerable:!0,configurable:!0,writable:!0,value:z}):Vn[hn]=z,xi=(Vn,hn)=>{for(var z in hn||(hn={}))Gu.call(hn,z)&&Yu(Vn,z,hn[z]);if(Eu)for(var z of Eu(hn))Xu.call(hn,z)&&Yu(Vn,z,hn[z]);return Vn},Da=(Vn,hn)=>uc(Vn,cc(hn));var wu=(Vn,hn)=>{var z={};for(var b in Vn)Gu.call(Vn,b)&&hn.indexOf(b)<0&&(z[b]=Vn[b]);if(Vn!=null&&Eu)for(var b of Eu(Vn))hn.indexOf(b)<0&&Xu.call(Vn,b)&&(z[b]=Vn[b]);return z};var Qu=(Vn,hn,z)=>new Promise((b,xe)=>{var de=be=>{try{Oe(z.next(be))}catch(Fe){xe(Fe)}},tt=be=>{try{Oe(z.throw(be))}catch(Fe){xe(Fe)}},Oe=be=>be.done?b(be.value):Promise.resolve(be.value).then(de,tt);Oe((z=z.apply(Vn,hn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[4030],{89489:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},59477:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},40001:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},49198:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},87169:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},73331:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},15277:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},52671:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},8657:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},56082:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},33853:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},15075:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},43531:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},61485:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},47472:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},87395:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(54476),xe=z(59301),de={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"},tt=de,Oe=z(7657),be=function(fe,Ge){return xe.createElement(Oe.Z,(0,b.Z)({},fe,{ref:Ge,icon:tt}))},Fe=xe.forwardRef(be),ze=Fe},87954:function(Vn,hn,z){"use strict";z.d(hn,{LB:function(){return Br},y9:function(){return ii},g4:function(){return Wt},we:function(){return gn},pE:function(){return Je},VK:function(){return gt},Cj:function(){return Xr},O1:function(){return $r},Zj:function(){return ur},VT:function(){return je},Dy:function(){return Ve}});var b=z(59301),xe=z(4676),de=z(35241);const tt={display:"none"};function Oe(ke){let{id:nt,value:Mt}=ke;return b.createElement("div",{id:nt,style:tt},Mt)}function be(ke){let{id:nt,announcement:Mt,ariaLiveType:un="assertive"}=ke;const fn={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:nt,style:fn,role:"status","aria-live":un,"aria-atomic":!0},Mt)}function Fe(){const[ke,nt]=(0,b.useState)("");return{announce:(0,b.useCallback)(un=>{un!=null&&nt(un)},[]),announcement:ke}}const ze=(0,b.createContext)(null);function Be(ke){const nt=(0,b.useContext)(ze);(0,b.useEffect)(()=>{if(!nt)throw new Error("useDndMonitor must be used within a children of <DndContext>");return nt(ke)},[ke,nt])}function fe(){const[ke]=(0,b.useState)(()=>new Set),nt=(0,b.useCallback)(un=>(ke.add(un),()=>ke.delete(un)),[ke]);return[(0,b.useCallback)(un=>{let{type:fn,event:Rt}=un;ke.forEach(ot=>{var Ot;return(Ot=ot[fn])==null?void 0:Ot.call(ot,Rt)})},[ke]),nt]}const Ge={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.
|
|
|
`},Ce={onDragStart(ke){let{active:nt}=ke;return"Picked up draggable item "+nt.id+"."},onDragOver(ke){let{active:nt,over:Mt}=ke;return Mt?"Draggable item "+nt.id+" was moved over droppable area "+Mt.id+".":"Draggable item "+nt.id+" is no longer over a droppable area."},onDragEnd(ke){let{active:nt,over:Mt}=ke;return Mt?"Draggable item "+nt.id+" was dropped over droppable area "+Mt.id:"Draggable item "+nt.id+" was dropped."},onDragCancel(ke){let{active:nt}=ke;return"Dragging was cancelled. Draggable item "+nt.id+" was dropped."}};function yt(ke){let{announcements:nt=Ce,container:Mt,hiddenTextDescribedById:un,screenReaderInstructions:fn=Ge}=ke;const{announce:Rt,announcement:ot}=Fe(),Ot=(0,de.Ld)("DndLiveRegion"),[en,Fn]=(0,b.useState)(!1);if((0,b.useEffect)(()=>{Fn(!0)},[]),Be((0,b.useMemo)(()=>({onDragStart(An){let{active:Hn}=An;Rt(nt.onDragStart({active:Hn}))},onDragMove(An){let{active:Hn,over:$n}=An;nt.onDragMove&&Rt(nt.onDragMove({active:Hn,over:$n}))},onDragOver(An){let{active:Hn,over:$n}=An;Rt(nt.onDragOver({active:Hn,over:$n}))},onDragEnd(An){let{active:Hn,over:$n}=An;Rt(nt.onDragEnd({active:Hn,over:$n}))},onDragCancel(An){let{active:Hn,over:$n}=An;Rt(nt.onDragCancel({active:Hn,over:$n}))}}),[Rt,nt])),!en)return null;const Zn=b.createElement(b.Fragment,null,b.createElement(Oe,{id:un,value:fn.draggable}),b.createElement(be,{id:Ot,announcement:ot}));return Mt?(0,xe.createPortal)(Zn,Mt):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 je(ke,nt){return(0,b.useMemo)(()=>({sensor:ke,options:nt!=null?nt:{}}),[ke,nt])}function Ve(){for(var ke=arguments.length,nt=new Array(ke),Mt=0;Mt<ke;Mt++)nt[Mt]=arguments[Mt];return(0,b.useMemo)(()=>[...nt].filter(un=>un!=null),[...nt])}const rt=Object.freeze({x:0,y:0});function Nt(ke,nt){return Math.sqrt(Math.pow(ke.x-nt.x,2)+Math.pow(ke.y-nt.y,2))}function Ut(ke,nt){const Mt=(0,de.DC)(ke);if(!Mt)return"0 0";const un={x:(Mt.x-nt.left)/nt.width*100,y:(Mt.y-nt.top)/nt.height*100};return un.x+"% "+un.y+"%"}function se(ke,nt){let{data:{value:Mt}}=ke,{data:{value:un}}=nt;return Mt-un}function Me(ke,nt){let{data:{value:Mt}}=ke,{data:{value:un}}=nt;return un-Mt}function ft(ke){let{left:nt,top:Mt,height:un,width:fn}=ke;return[{x:nt,y:Mt},{x:nt+fn,y:Mt},{x:nt,y:Mt+un},{x:nt+fn,y:Mt+un}]}function mt(ke,nt){if(!ke||ke.length===0)return null;const[Mt]=ke;return nt?Mt[nt]:Mt}function Zt(ke,nt,Mt){return nt===void 0&&(nt=ke.left),Mt===void 0&&(Mt=ke.top),{x:nt+ke.width*.5,y:Mt+ke.height*.5}}const Je=ke=>{let{collisionRect:nt,droppableRects:Mt,droppableContainers:un}=ke;const fn=Zt(nt,nt.left,nt.top),Rt=[];for(const ot of un){const{id:Ot}=ot,en=Mt.get(Ot);if(en){const Fn=Nt(Zt(en),fn);Rt.push({id:Ot,data:{droppableContainer:ot,value:Fn}})}}return Rt.sort(se)},at=ke=>{let{collisionRect:nt,droppableRects:Mt,droppableContainers:un}=ke;const fn=ft(nt),Rt=[];for(const ot of un){const{id:Ot}=ot,en=Mt.get(Ot);if(en){const Fn=ft(en),Zn=fn.reduce((Hn,$n,Cr)=>Hn+Nt(Fn[Cr],$n),0),An=Number((Zn/4).toFixed(4));Rt.push({id:Ot,data:{droppableContainer:ot,value:An}})}}return Rt.sort(se)};function dt(ke,nt){const Mt=Math.max(nt.top,ke.top),un=Math.max(nt.left,ke.left),fn=Math.min(nt.left+nt.width,ke.left+ke.width),Rt=Math.min(nt.top+nt.height,ke.top+ke.height),ot=fn-un,Ot=Rt-Mt;if(un<fn&&Mt<Rt){const en=nt.width*nt.height,Fn=ke.width*ke.height,Zn=ot*Ot,An=Zn/(en+Fn-Zn);return Number(An.toFixed(4))}return 0}const Pe=ke=>{let{collisionRect:nt,droppableRects:Mt,droppableContainers:un}=ke;const fn=[];for(const Rt of un){const{id:ot}=Rt,Ot=Mt.get(ot);if(Ot){const en=dt(Ot,nt);en>0&&fn.push({id:ot,data:{droppableContainer:Rt,value:en}})}}return fn.sort(Me)};function Ze(ke,nt){const{top:Mt,left:un,bottom:fn,right:Rt}=nt;return Mt<=ke.y&&ke.y<=fn&&un<=ke.x&&ke.x<=Rt}const Ee=ke=>{let{droppableContainers:nt,droppableRects:Mt,pointerCoordinates:un}=ke;if(!un)return[];const fn=[];for(const Rt of nt){const{id:ot}=Rt,Ot=Mt.get(ot);if(Ot&&Ze(un,Ot)){const Fn=ft(Ot).reduce((An,Hn)=>An+Nt(un,Hn),0),Zn=Number((Fn/4).toFixed(4));fn.push({id:ot,data:{droppableContainer:Rt,value:Zn}})}}return fn.sort(se)};function ue(ke,nt,Mt){return Da(xi({},ke),{scaleX:nt&&Mt?nt.width/Mt.width:1,scaleY:nt&&Mt?nt.height/Mt.height:1})}function Ct(ke,nt){return ke&&nt?{x:ke.left-nt.left,y:ke.top-nt.top}:rt}function He(ke){return function(Mt){for(var un=arguments.length,fn=new Array(un>1?un-1:0),Rt=1;Rt<un;Rt++)fn[Rt-1]=arguments[Rt];return fn.reduce((ot,Ot)=>Da(xi({},ot),{top:ot.top+ke*Ot.y,bottom:ot.bottom+ke*Ot.y,left:ot.left+ke*Ot.x,right:ot.right+ke*Ot.x}),xi({},Mt))}}const We=He(1);function kt(ke){if(ke.startsWith("matrix3d(")){const nt=ke.slice(9,-1).split(/, /);return{x:+nt[12],y:+nt[13],scaleX:+nt[0],scaleY:+nt[5]}}else if(ke.startsWith("matrix(")){const nt=ke.slice(7,-1).split(/, /);return{x:+nt[4],y:+nt[5],scaleX:+nt[0],scaleY:+nt[3]}}return null}function Ae(ke,nt,Mt){const un=kt(nt);if(!un)return ke;const{scaleX:fn,scaleY:Rt,x:ot,y:Ot}=un,en=ke.left-ot-(1-fn)*parseFloat(Mt),Fn=ke.top-Ot-(1-Rt)*parseFloat(Mt.slice(Mt.indexOf(" ")+1)),Zn=fn?ke.width/fn:ke.width,An=Rt?ke.height/Rt:ke.height;return{width:Zn,height:An,top:Fn,right:en+Zn,bottom:Fn+An,left:en}}const ve={ignoreTransform:!1};function gt(ke,nt){nt===void 0&&(nt=ve);let Mt=ke.getBoundingClientRect();if(nt.ignoreTransform){const{transform:Fn,transformOrigin:Zn}=(0,de.Jj)(ke).getComputedStyle(ke);Fn&&(Mt=Ae(Mt,Fn,Zn))}const{top:un,left:fn,width:Rt,height:ot,bottom:Ot,right:en}=Mt;return{top:un,left:fn,width:Rt,height:ot,bottom:Ot,right:en}}function Gt(ke){return gt(ke,{ignoreTransform:!0})}function Ht(ke){const nt=ke.innerWidth,Mt=ke.innerHeight;return{top:0,left:0,right:nt,bottom:Mt,width:nt,height:Mt}}function pe(ke,nt){return nt===void 0&&(nt=(0,de.Jj)(ke).getComputedStyle(ke)),nt.position==="fixed"}function Te(ke,nt){nt===void 0&&(nt=(0,de.Jj)(ke).getComputedStyle(ke));const Mt=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(fn=>{const Rt=nt[fn];return typeof Rt=="string"?Mt.test(Rt):!1})}function Ke(ke,nt){const Mt=[];function un(fn){if(nt!=null&&Mt.length>=nt||!fn)return Mt;if((0,de.qk)(fn)&&fn.scrollingElement!=null&&!Mt.includes(fn.scrollingElement))return Mt.push(fn.scrollingElement),Mt;if(!(0,de.Re)(fn)||(0,de.vZ)(fn)||Mt.includes(fn))return Mt;const Rt=(0,de.Jj)(ke).getComputedStyle(fn);return fn!==ke&&Te(fn,Rt)&&Mt.push(fn),pe(fn,Rt)?Mt:un(fn.parentNode)}return ke?un(ke):Mt}function tn(ke){const[nt]=Ke(ke,1);return nt!=null?nt:null}function lt(ke){return!de.Nq||!ke?null:(0,de.FJ)(ke)?ke:(0,de.UG)(ke)?(0,de.qk)(ke)||ke===(0,de.r3)(ke).scrollingElement?window:(0,de.Re)(ke)?ke:null:null}function jt(ke){return(0,de.FJ)(ke)?ke.scrollX:ke.scrollLeft}function ct(ke){return(0,de.FJ)(ke)?ke.scrollY:ke.scrollTop}function ln(ke){return{x:jt(ke),y:ct(ke)}}var Et;(function(ke){ke[ke.Forward=1]="Forward",ke[ke.Backward=-1]="Backward"})(Et||(Et={}));function le(ke){return!de.Nq||!ke?!1:ke===document.scrollingElement}function ne(ke){const nt={x:0,y:0},Mt=le(ke)?{height:window.innerHeight,width:window.innerWidth}:{height:ke.clientHeight,width:ke.clientWidth},un={x:ke.scrollWidth-Mt.width,y:ke.scrollHeight-Mt.height},fn=ke.scrollTop<=nt.y,Rt=ke.scrollLeft<=nt.x,ot=ke.scrollTop>=un.y,Ot=ke.scrollLeft>=un.x;return{isTop:fn,isLeft:Rt,isBottom:ot,isRight:Ot,maxScroll:un,minScroll:nt}}const te={x:.2,y:.2};function ae(ke,nt,Mt,un,fn){let{top:Rt,left:ot,right:Ot,bottom:en}=Mt;un===void 0&&(un=10),fn===void 0&&(fn=te);const{isTop:Fn,isBottom:Zn,isLeft:An,isRight:Hn}=ne(ke),$n={x:0,y:0},Cr={x:0,y:0},br={height:nt.height*fn.y,width:nt.width*fn.x};return!Fn&&Rt<=nt.top+br.height?($n.y=Et.Backward,Cr.y=un*Math.abs((nt.top+br.height-Rt)/br.height)):!Zn&&en>=nt.bottom-br.height&&($n.y=Et.Forward,Cr.y=un*Math.abs((nt.bottom-br.height-en)/br.height)),!Hn&&Ot>=nt.right-br.width?($n.x=Et.Forward,Cr.x=un*Math.abs((nt.right-br.width-Ot)/br.width)):!An&&ot<=nt.left+br.width&&($n.x=Et.Backward,Cr.x=un*Math.abs((nt.left+br.width-ot)/br.width)),{direction:$n,speed:Cr}}function he(ke){if(ke===document.scrollingElement){const{innerWidth:Rt,innerHeight:ot}=window;return{top:0,left:0,right:Rt,bottom:ot,width:Rt,height:ot}}const{top:nt,left:Mt,right:un,bottom:fn}=ke.getBoundingClientRect();return{top:nt,left:Mt,right:un,bottom:fn,width:ke.clientWidth,height:ke.clientHeight}}function re(ke){return ke.reduce((nt,Mt)=>(0,de.IH)(nt,ln(Mt)),rt)}function ce(ke){return ke.reduce((nt,Mt)=>nt+jt(Mt),0)}function De(ke){return ke.reduce((nt,Mt)=>nt+ct(Mt),0)}function st(ke,nt){if(nt===void 0&&(nt=gt),!ke)return;const{top:Mt,left:un,bottom:fn,right:Rt}=nt(ke);tn(ke)&&(fn<=0||Rt<=0||Mt>=window.innerHeight||un>=window.innerWidth)&&ke.scrollIntoView({block:"center",inline:"center"})}const Qe=[["x",["left","right"],ce],["y",["top","bottom"],De]];class Ie{constructor(nt,Mt){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 un=Ke(Mt),fn=re(un);this.rect=xi({},nt),this.width=nt.width,this.height=nt.height;for(const[Rt,ot,Ot]of Qe)for(const en of ot)Object.defineProperty(this,en,{get:()=>{const Fn=Ot(un),Zn=fn[Rt]-Fn;return this.rect[en]+Zn},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class pt{constructor(nt){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Mt=>{var un;return(un=this.target)==null?void 0:un.removeEventListener(...Mt)})},this.target=nt}add(nt,Mt,un){var fn;(fn=this.target)==null||fn.addEventListener(nt,Mt,un),this.listeners.push([nt,Mt,un])}}function Pt(ke){const{EventTarget:nt}=(0,de.Jj)(ke);return ke instanceof nt?ke:(0,de.r3)(ke)}function Tt(ke,nt){const Mt=Math.abs(ke.x),un=Math.abs(ke.y);return typeof nt=="number"?Math.sqrt(Tu(Mt,2)+Tu(un,2))>nt:"x"in nt&&"y"in nt?Mt>nt.x&&un>nt.y:"x"in nt?Mt>nt.x:"y"in nt?un>nt.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 Ue(ke){ke.preventDefault()}function pn(ke){ke.stopPropagation()}var Wt;(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"})(Wt||(Wt={}));const Cn={start:[Wt.Space,Wt.Enter],cancel:[Wt.Esc],end:[Wt.Space,Wt.Enter,Wt.Tab]},cn=(ke,nt)=>{let{currentCoordinates:Mt}=nt;switch(ke.code){case Wt.Right:return Da(xi({},Mt),{x:Mt.x+25});case Wt.Left:return Da(xi({},Mt),{x:Mt.x-25});case Wt.Down:return Da(xi({},Mt),{y:Mt.y+25});case Wt.Up:return Da(xi({},Mt),{y:Mt.y-25})}};class Xt{constructor(nt){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=nt;const{event:{target:Mt}}=nt;this.props=nt,this.listeners=new pt((0,de.r3)(Mt)),this.windowListeners=new pt((0,de.Jj)(Mt)),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:nt,onStart:Mt}=this.props,un=nt.node.current;un&&st(un),Mt(rt)}handleKeyDown(nt){if((0,de.vd)(nt)){const{active:Mt,context:un,options:fn}=this.props,{keyboardCodes:Rt=Cn,coordinateGetter:ot=cn,scrollBehavior:Ot="smooth"}=fn,{code:en}=nt;if(Rt.end.includes(en)){this.handleEnd(nt);return}if(Rt.cancel.includes(en)){this.handleCancel(nt);return}const{collisionRect:Fn}=un.current,Zn=Fn?{x:Fn.left,y:Fn.top}:rt;this.referenceCoordinates||(this.referenceCoordinates=Zn);const An=ot(nt,{active:Mt,context:un.current,currentCoordinates:Zn});if(An){const Hn=(0,de.$X)(An,Zn),$n={x:0,y:0},{scrollableAncestors:Cr}=un.current;for(const br of Cr){const Wr=nt.code,{isTop:Jr,isRight:yo,isLeft:io,isBottom:Io,maxScroll:co,minScroll:fo}=ne(br),bo=he(br),Bo={x:Math.min(Wr===Wt.Right?bo.right-bo.width/2:bo.right,Math.max(Wr===Wt.Right?bo.left:bo.left+bo.width/2,An.x)),y:Math.min(Wr===Wt.Down?bo.bottom-bo.height/2:bo.bottom,Math.max(Wr===Wt.Down?bo.top:bo.top+bo.height/2,An.y))},ri=Wr===Wt.Right&&!yo||Wr===Wt.Left&&!io,Si=Wr===Wt.Down&&!Io||Wr===Wt.Up&&!Jr;if(ri&&Bo.x!==An.x){const bi=br.scrollLeft+Hn.x,Ki=Wr===Wt.Right&&bi<=co.x||Wr===Wt.Left&&bi>=fo.x;if(Ki&&!Hn.y){br.scrollTo({left:bi,behavior:Ot});return}Ki?$n.x=br.scrollLeft-bi:$n.x=Wr===Wt.Right?br.scrollLeft-co.x:br.scrollLeft-fo.x,$n.x&&br.scrollBy({left:-$n.x,behavior:Ot});break}else if(Si&&Bo.y!==An.y){const bi=br.scrollTop+Hn.y,Ki=Wr===Wt.Down&&bi<=co.y||Wr===Wt.Up&&bi>=fo.y;if(Ki&&!Hn.x){br.scrollTo({top:bi,behavior:Ot});return}Ki?$n.y=br.scrollTop-bi:$n.y=Wr===Wt.Down?br.scrollTop-co.y:br.scrollTop-fo.y,$n.y&&br.scrollBy({top:-$n.y,behavior:Ot});break}}this.handleMove(nt,(0,de.IH)((0,de.$X)(An,this.referenceCoordinates),$n))}}}handleMove(nt,Mt){const{onMove:un}=this.props;nt.preventDefault(),un(Mt)}handleEnd(nt){const{onEnd:Mt}=this.props;nt.preventDefault(),this.detach(),Mt()}handleCancel(nt){const{onCancel:Mt}=this.props;nt.preventDefault(),this.detach(),Mt()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Xt.activators=[{eventName:"onKeyDown",handler:(ke,nt,Mt)=>{let{keyboardCodes:un=Cn,onActivation:fn}=nt,{active:Rt}=Mt;const{code:ot}=ke.nativeEvent;if(un.start.includes(ot)){const Ot=Rt.activatorNode.current;return Ot&&ke.target!==Ot?!1:(ke.preventDefault(),fn==null||fn({event:ke.nativeEvent}),!0)}return!1}}];function an(ke){return!!(ke&&"distance"in ke)}function mn(ke){return!!(ke&&"delay"in ke)}class vt{constructor(nt,Mt,un){var fn;un===void 0&&(un=Pt(nt.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=nt,this.events=Mt;const{event:Rt}=nt,{target:ot}=Rt;this.props=nt,this.events=Mt,this.document=(0,de.r3)(ot),this.documentListeners=new pt(this.document),this.listeners=new pt(un),this.windowListeners=new pt((0,de.Jj)(ot)),this.initialCoordinates=(fn=(0,de.DC)(Rt))!=null?fn:rt,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:nt,props:{options:{activationConstraint:Mt,bypassActivationConstraint:un}}}=this;if(this.listeners.add(nt.move.name,this.handleMove,{passive:!1}),this.listeners.add(nt.end.name,this.handleEnd),nt.cancel&&this.listeners.add(nt.cancel.name,this.handleCancel),this.windowListeners.add(Le.Resize,this.handleCancel),this.windowListeners.add(Le.DragStart,Ue),this.windowListeners.add(Le.VisibilityChange,this.handleCancel),this.windowListeners.add(Le.ContextMenu,Ue),this.documentListeners.add(Le.Keydown,this.handleKeydown),Mt){if(un!=null&&un({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(mn(Mt)){this.timeoutId=setTimeout(this.handleStart,Mt.delay),this.handlePending(Mt);return}if(an(Mt)){this.handlePending(Mt);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(nt,Mt){const{active:un,onPending:fn}=this.props;fn(un,nt,this.initialCoordinates,Mt)}handleStart(){const{initialCoordinates:nt}=this,{onStart:Mt}=this.props;nt&&(this.activated=!0,this.documentListeners.add(Le.Click,pn,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Le.SelectionChange,this.removeTextSelection),Mt(nt))}handleMove(nt){var Mt;const{activated:un,initialCoordinates:fn,props:Rt}=this,{onMove:ot,options:{activationConstraint:Ot}}=Rt;if(!fn)return;const en=(Mt=(0,de.DC)(nt))!=null?Mt:rt,Fn=(0,de.$X)(fn,en);if(!un&&Ot){if(an(Ot)){if(Ot.tolerance!=null&&Tt(Fn,Ot.tolerance))return this.handleCancel();if(Tt(Fn,Ot.distance))return this.handleStart()}if(mn(Ot)&&Tt(Fn,Ot.tolerance))return this.handleCancel();this.handlePending(Ot,Fn);return}nt.cancelable&&nt.preventDefault(),ot(en)}handleEnd(){const{onAbort:nt,onEnd:Mt}=this.props;this.detach(),this.activated||nt(this.props.active),Mt()}handleCancel(){const{onAbort:nt,onCancel:Mt}=this.props;this.detach(),this.activated||nt(this.props.active),Mt()}handleKeydown(nt){nt.code===Wt.Esc&&this.handleCancel()}removeTextSelection(){var nt;(nt=this.document.getSelection())==null||nt.removeAllRanges()}}const Yt={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class gn extends vt{constructor(nt){const{event:Mt}=nt,un=(0,de.r3)(Mt.target);super(nt,Yt,un)}}gn.activators=[{eventName:"onPointerDown",handler:(ke,nt)=>{let{nativeEvent:Mt}=ke,{onActivation:un}=nt;return!Mt.isPrimary||Mt.button!==0?!1:(un==null||un({event:Mt}),!0)}}];const At={move:{name:"mousemove"},end:{name:"mouseup"}};var _e;(function(ke){ke[ke.RightClick=2]="RightClick"})(_e||(_e={}));class Vt extends vt{constructor(nt){super(nt,At,(0,de.r3)(nt.event.target))}}Vt.activators=[{eventName:"onMouseDown",handler:(ke,nt)=>{let{nativeEvent:Mt}=ke,{onActivation:un}=nt;return Mt.button===_e.RightClick?!1:(un==null||un({event:Mt}),!0)}}];const nn={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class dn extends vt{constructor(nt){super(nt,nn)}static setup(){return window.addEventListener(nn.move.name,nt,{capture:!1,passive:!1}),function(){window.removeEventListener(nn.move.name,nt)};function nt(){}}}dn.activators=[{eventName:"onTouchStart",handler:(ke,nt)=>{let{nativeEvent:Mt}=ke,{onActivation:un}=nt;const{touches:fn}=Mt;return fn.length>1?!1:(un==null||un({event:Mt}),!0)}}];var Ln;(function(ke){ke[ke.Pointer=0]="Pointer",ke[ke.DraggableRect=1]="DraggableRect"})(Ln||(Ln={}));var Qn;(function(ke){ke[ke.TreeOrder=0]="TreeOrder",ke[ke.ReversedTreeOrder=1]="ReversedTreeOrder"})(Qn||(Qn={}));function hr(ke){let{acceleration:nt,activator:Mt=Ln.Pointer,canScroll:un,draggingRect:fn,enabled:Rt,interval:ot=5,order:Ot=Qn.TreeOrder,pointerCoordinates:en,scrollableAncestors:Fn,scrollableAncestorRects:Zn,delta:An,threshold:Hn}=ke;const $n=Jn({delta:An,disabled:!Rt}),[Cr,br]=(0,de.Yz)(),Wr=(0,b.useRef)({x:0,y:0}),Jr=(0,b.useRef)({x:0,y:0}),yo=(0,b.useMemo)(()=>{switch(Mt){case Ln.Pointer:return en?{top:en.y,bottom:en.y,left:en.x,right:en.x}:null;case Ln.DraggableRect:return fn}},[Mt,fn,en]),io=(0,b.useRef)(null),Io=(0,b.useCallback)(()=>{const fo=io.current;if(!fo)return;const bo=Wr.current.x*Jr.current.x,Bo=Wr.current.y*Jr.current.y;fo.scrollBy(bo,Bo)},[]),co=(0,b.useMemo)(()=>Ot===Qn.TreeOrder?[...Fn].reverse():Fn,[Ot,Fn]);(0,b.useEffect)(()=>{if(!Rt||!Fn.length||!yo){br();return}for(const fo of co){if((un==null?void 0:un(fo))===!1)continue;const bo=Fn.indexOf(fo),Bo=Zn[bo];if(!Bo)continue;const{direction:ri,speed:Si}=ae(fo,Bo,yo,nt,Hn);for(const bi of["x","y"])$n[bi][ri[bi]]||(Si[bi]=0,ri[bi]=0);if(Si.x>0||Si.y>0){br(),io.current=fo,Cr(Io,ot),Wr.current=Si,Jr.current=ri;return}}Wr.current={x:0,y:0},Jr.current={x:0,y:0},br()},[nt,Io,un,br,Rt,ot,JSON.stringify(yo),JSON.stringify($n),Cr,Fn,co,Zn,JSON.stringify(Hn)])}const vr={x:{[Et.Backward]:!1,[Et.Forward]:!1},y:{[Et.Backward]:!1,[Et.Forward]:!1}};function Jn(ke){let{delta:nt,disabled:Mt}=ke;const un=(0,de.D9)(nt);return(0,de.Gj)(fn=>{if(Mt||!un||!fn)return vr;const Rt={x:Math.sign(nt.x-un.x),y:Math.sign(nt.y-un.y)};return{x:{[Et.Backward]:fn.x[Et.Backward]||Rt.x===-1,[Et.Forward]:fn.x[Et.Forward]||Rt.x===1},y:{[Et.Backward]:fn.y[Et.Backward]||Rt.y===-1,[Et.Forward]:fn.y[Et.Forward]||Rt.y===1}}},[Mt,nt,un])}function dr(ke,nt){const Mt=nt!=null?ke.get(nt):void 0,un=Mt?Mt.node.current:null;return(0,de.Gj)(fn=>{var Rt;return nt==null?null:(Rt=un!=null?un:fn)!=null?Rt:null},[un,nt])}function Jt(ke,nt){return(0,b.useMemo)(()=>ke.reduce((Mt,un)=>{const{sensor:fn}=un,Rt=fn.activators.map(ot=>({eventName:ot.eventName,handler:nt(ot.handler,un)}));return[...Mt,...Rt]},[]),[ke,nt])}var En;(function(ke){ke[ke.Always=0]="Always",ke[ke.BeforeDragging=1]="BeforeDragging",ke[ke.WhileDragging=2]="WhileDragging"})(En||(En={}));var qn;(function(ke){ke.Optimized="optimized"})(qn||(qn={}));const nr=new Map;function jn(ke,nt){let{dragging:Mt,dependencies:un,config:fn}=nt;const[Rt,ot]=(0,b.useState)(null),{frequency:Ot,measure:en,strategy:Fn}=fn,Zn=(0,b.useRef)(ke),An=Wr(),Hn=(0,de.Ey)(An),$n=(0,b.useCallback)(function(Jr){Jr===void 0&&(Jr=[]),!Hn.current&&ot(yo=>yo===null?Jr:yo.concat(Jr.filter(io=>!yo.includes(io))))},[Hn]),Cr=(0,b.useRef)(null),br=(0,de.Gj)(Jr=>{if(An&&!Mt)return nr;if(!Jr||Jr===nr||Zn.current!==ke||Rt!=null){const yo=new Map;for(let io of ke){if(!io)continue;if(Rt&&Rt.length>0&&!Rt.includes(io.id)&&io.rect.current){yo.set(io.id,io.rect.current);continue}const Io=io.node.current,co=Io?new Ie(en(Io),Io):null;io.rect.current=co,co&&yo.set(io.id,co)}return yo}return Jr},[ke,Rt,Mt,An,en]);return(0,b.useEffect)(()=>{Zn.current=ke},[ke]),(0,b.useEffect)(()=>{An||$n()},[Mt,An]),(0,b.useEffect)(()=>{Rt&&Rt.length>0&&ot(null)},[JSON.stringify(Rt)]),(0,b.useEffect)(()=>{An||typeof Ot!="number"||Cr.current!==null||(Cr.current=setTimeout(()=>{$n(),Cr.current=null},Ot))},[Ot,An,$n,...un]),{droppableRects:br,measureDroppableContainers:$n,measuringScheduled:Rt!=null};function Wr(){switch(Fn){case En.Always:return!1;case En.BeforeDragging:return Mt;default:return!Mt}}}function xn(ke,nt){return(0,de.Gj)(Mt=>ke?Mt||(typeof nt=="function"?nt(ke):ke):null,[nt,ke])}function ut(ke,nt){return xn(ke,nt)}function qt(ke){let{callback:nt,disabled:Mt}=ke;const un=(0,de.zX)(nt),fn=(0,b.useMemo)(()=>{if(Mt||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Rt}=window;return new Rt(un)},[un,Mt]);return(0,b.useEffect)(()=>()=>fn==null?void 0:fn.disconnect(),[fn]),fn}function Dt(ke){let{callback:nt,disabled:Mt}=ke;const un=(0,de.zX)(nt),fn=(0,b.useMemo)(()=>{if(Mt||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Rt}=window;return new Rt(un)},[Mt]);return(0,b.useEffect)(()=>()=>fn==null?void 0:fn.disconnect(),[fn]),fn}function sn(ke){return new Ie(gt(ke),ke)}function Sn(ke,nt,Mt){nt===void 0&&(nt=sn);const[un,fn]=(0,b.useState)(null);function Rt(){fn(en=>{if(!ke)return null;if(ke.isConnected===!1){var Fn;return(Fn=en!=null?en:Mt)!=null?Fn:null}const Zn=nt(ke);return JSON.stringify(en)===JSON.stringify(Zn)?en:Zn})}const ot=qt({callback(en){if(ke)for(const Fn of en){const{type:Zn,target:An}=Fn;if(Zn==="childList"&&An instanceof HTMLElement&&An.contains(ke)){Rt();break}}}}),Ot=Dt({callback:Rt});return(0,de.LI)(()=>{Rt(),ke?(Ot==null||Ot.observe(ke),ot==null||ot.observe(document.body,{childList:!0,subtree:!0})):(Ot==null||Ot.disconnect(),ot==null||ot.disconnect())},[ke]),un}function vn(ke){const nt=xn(ke);return Ct(ke,nt)}const Bn=[];function Un(ke){const nt=(0,b.useRef)(ke),Mt=(0,de.Gj)(un=>ke?un&&un!==Bn&&ke&&nt.current&&ke.parentNode===nt.current.parentNode?un:Ke(ke):Bn,[ke]);return(0,b.useEffect)(()=>{nt.current=ke},[ke]),Mt}function Yn(ke){const[nt,Mt]=(0,b.useState)(null),un=(0,b.useRef)(ke),fn=(0,b.useCallback)(Rt=>{const ot=lt(Rt.target);ot&&Mt(Ot=>Ot?(Ot.set(ot,ln(ot)),new Map(Ot)):null)},[]);return(0,b.useEffect)(()=>{const Rt=un.current;if(ke!==Rt){ot(Rt);const Ot=ke.map(en=>{const Fn=lt(en);return Fn?(Fn.addEventListener("scroll",fn,{passive:!0}),[Fn,ln(Fn)]):null}).filter(en=>en!=null);Mt(Ot.length?new Map(Ot):null),un.current=ke}return()=>{ot(ke),ot(Rt)};function ot(Ot){Ot.forEach(en=>{const Fn=lt(en);Fn==null||Fn.removeEventListener("scroll",fn)})}},[fn,ke]),(0,b.useMemo)(()=>ke.length?nt?Array.from(nt.values()).reduce((Rt,ot)=>(0,de.IH)(Rt,ot),rt):re(ke):rt,[ke,nt])}function $t(ke,nt){nt===void 0&&(nt=[]);const Mt=(0,b.useRef)(null);return(0,b.useEffect)(()=>{Mt.current=null},nt),(0,b.useEffect)(()=>{const un=ke!==rt;un&&!Mt.current&&(Mt.current=ke),!un&&Mt.current&&(Mt.current=null)},[ke]),Mt.current?(0,de.$X)(ke,Mt.current):rt}function Mn(ke){(0,b.useEffect)(()=>{if(!de.Nq)return;const nt=ke.map(Mt=>{let{sensor:un}=Mt;return un.setup==null?void 0:un.setup()});return()=>{for(const Mt of nt)Mt==null||Mt()}},ke.map(nt=>{let{sensor:Mt}=nt;return Mt}))}function rn(ke,nt){return(0,b.useMemo)(()=>ke.reduce((Mt,un)=>{let{eventName:fn,handler:Rt}=un;return Mt[fn]=ot=>{Rt(ot,nt)},Mt},{}),[ke,nt])}function or(ke){return(0,b.useMemo)(()=>ke?Ht(ke):null,[ke])}const wt=[];function zt(ke,nt){nt===void 0&&(nt=gt);const[Mt]=ke,un=or(Mt?(0,de.Jj)(Mt):null),[fn,Rt]=(0,b.useState)(wt);function ot(){Rt(()=>ke.length?ke.map(en=>le(en)?un:new Ie(nt(en),en)):wt)}const Ot=Dt({callback:ot});return(0,de.LI)(()=>{Ot==null||Ot.disconnect(),ot(),ke.forEach(en=>Ot==null?void 0:Ot.observe(en))},[ke]),fn}function Re(ke){if(!ke)return null;if(ke.children.length>1)return ke;const nt=ke.children[0];return(0,de.Re)(nt)?nt:ke}function ht(ke){let{measure:nt}=ke;const[Mt,un]=(0,b.useState)(null),fn=(0,b.useCallback)(Fn=>{for(const{target:Zn}of Fn)if((0,de.Re)(Zn)){un(An=>{const Hn=nt(Zn);return An?Da(xi({},An),{width:Hn.width,height:Hn.height}):Hn});break}},[nt]),Rt=Dt({callback:fn}),ot=(0,b.useCallback)(Fn=>{const Zn=Re(Fn);Rt==null||Rt.disconnect(),Zn&&(Rt==null||Rt.observe(Zn)),un(Zn?nt(Zn):null)},[nt,Rt]),[Ot,en]=(0,de.wm)(ot);return(0,b.useMemo)(()=>({nodeRef:Ot,rect:Mt,setRef:en}),[Mt,Ot,en])}const Ye=[{sensor:gn,options:{}},{sensor:Xt,options:{}}],St={current:{}},_t={draggable:{measure:Gt},droppable:{measure:Gt,strategy:En.WhileDragging,frequency:qn.Optimized},dragOverlay:{measure:gt}};class tr extends Map{get(nt){var Mt;return nt!=null&&(Mt=super.get(nt))!=null?Mt:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(nt=>{let{disabled:Mt}=nt;return!Mt})}getNodeFor(nt){var Mt,un;return(Mt=(un=this.get(nt))==null?void 0:un.node.current)!=null?Mt:void 0}}const ar={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new tr,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:$e},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:_t,measureDroppableContainers:$e,windowRect:null,measuringScheduled:!1},bt={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:$e,draggableNodes:new Map,over:null,measureDroppableContainers:$e},xt=(0,b.createContext)(bt),Ft=(0,b.createContext)(ar);function Kt(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new tr}}}function Pn(ke,nt){switch(nt.type){case et.DragStart:return Da(xi({},ke),{draggable:Da(xi({},ke.draggable),{initialCoordinates:nt.initialCoordinates,active:nt.active})});case et.DragMove:return ke.draggable.active==null?ke:Da(xi({},ke),{draggable:Da(xi({},ke.draggable),{translate:{x:nt.coordinates.x-ke.draggable.initialCoordinates.x,y:nt.coordinates.y-ke.draggable.initialCoordinates.y}})});case et.DragEnd:case et.DragCancel:return Da(xi({},ke),{draggable:Da(xi({},ke.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case et.RegisterDroppable:{const{element:Mt}=nt,{id:un}=Mt,fn=new tr(ke.droppable.containers);return fn.set(un,Mt),Da(xi({},ke),{droppable:Da(xi({},ke.droppable),{containers:fn})})}case et.SetDroppableDisabled:{const{id:Mt,key:un,disabled:fn}=nt,Rt=ke.droppable.containers.get(Mt);if(!Rt||un!==Rt.key)return ke;const ot=new tr(ke.droppable.containers);return ot.set(Mt,Da(xi({},Rt),{disabled:fn})),Da(xi({},ke),{droppable:Da(xi({},ke.droppable),{containers:ot})})}case et.UnregisterDroppable:{const{id:Mt,key:un}=nt,fn=ke.droppable.containers.get(Mt);if(!fn||un!==fn.key)return ke;const Rt=new tr(ke.droppable.containers);return Rt.delete(Mt),Da(xi({},ke),{droppable:Da(xi({},ke.droppable),{containers:Rt})})}default:return ke}}function Tn(ke){let{disabled:nt}=ke;const{active:Mt,activatorEvent:un,draggableNodes:fn}=(0,b.useContext)(xt),Rt=(0,de.D9)(un),ot=(0,de.D9)(Mt==null?void 0:Mt.id);return(0,b.useEffect)(()=>{if(!nt&&!un&&Rt&&ot!=null){if(!(0,de.vd)(Rt)||document.activeElement===Rt.target)return;const Ot=fn.get(ot);if(!Ot)return;const{activatorNode:en,node:Fn}=Ot;if(!en.current&&!Fn.current)return;requestAnimationFrame(()=>{for(const Zn of[en.current,Fn.current]){if(!Zn)continue;const An=(0,de.so)(Zn);if(An){An.focus();break}}})}},[un,nt,fn,ot,Rt]),null}function kn(ke,nt){let fn=nt,{transform:Mt}=fn,un=wu(fn,["transform"]);return ke!=null&&ke.length?ke.reduce((Rt,ot)=>ot(xi({transform:Rt},un)),Mt):Mt}function Kn(ke){return(0,b.useMemo)(()=>({draggable:xi(xi({},_t.draggable),ke==null?void 0:ke.draggable),droppable:xi(xi({},_t.droppable),ke==null?void 0:ke.droppable),dragOverlay:xi(xi({},_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:nt,measure:Mt,initialRect:un,config:fn=!0}=ke;const Rt=(0,b.useRef)(!1),{x:ot,y:Ot}=typeof fn=="boolean"?{x:fn,y:fn}:fn;(0,de.LI)(()=>{if(!ot&&!Ot||!nt){Rt.current=!1;return}if(Rt.current||!un)return;const Fn=nt==null?void 0:nt.node.current;if(!Fn||Fn.isConnected===!1)return;const Zn=Mt(Fn),An=Ct(Zn,un);if(ot||(An.x=0),Ot||(An.y=0),Rt.current=!0,Math.abs(An.x)>0||Math.abs(An.y)>0){const Hn=tn(Fn);Hn&&Hn.scrollBy({top:An.y,left:An.x})}},[nt,ot,Ot,un,Mt])}const Ar=(0,b.createContext)(Da(xi({},rt),{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(nt){var Mt,un,fn,Rt;let is=nt,{id:ot,accessibility:Ot,autoScroll:en=!0,children:Fn,sensors:Zn=Ye,collisionDetection:An=Pe,measuring:Hn,modifiers:$n}=is,Cr=wu(is,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const br=(0,b.useReducer)(Pn,void 0,Kt),[Wr,Jr]=br,[yo,io]=fe(),[Io,co]=(0,b.useState)(Vr.Uninitialized),fo=Io===Vr.Initialized,{draggable:{active:bo,nodes:Bo,translate:ri},droppable:{containers:Si}}=Wr,bi=bo!=null?Bo.get(bo):null,Ki=(0,b.useRef)({initial:null,translated:null}),Wo=(0,b.useMemo)(()=>{var $a;return bo!=null?{id:bo,data:($a=bi==null?void 0:bi.data)!=null?$a:St,rect:Ki}:null},[bo,bi]),Mo=(0,b.useRef)(null),[Wi,zi]=(0,b.useState)(null),[Xi,Wa]=(0,b.useState)(null),Pa=(0,de.Ey)(Cr,Object.values(Cr)),Ta=(0,de.Ld)("DndDescribedBy",ot),Ba=(0,b.useMemo)(()=>Si.getEnabled(),[Si]),Ui=Kn(Hn),{droppableRects:Fa,measureDroppableContainers:ul,measuringScheduled:Ja}=jn(Ba,{dragging:fo,dependencies:[ri.x,ri.y],config:Ui.droppable}),Ji=dr(Bo,bo),Nl=(0,b.useMemo)(()=>Xi?(0,de.DC)(Xi):null,[Xi]),El=_l(),hi=ut(Ji,Ui.draggable.measure);pr({activeNode:bo!=null?Bo.get(bo):null,config:El.layoutShiftCompensation,initialRect:hi,measure:Ui.draggable.measure});const mi=Sn(Ji,Ui.draggable.measure,hi),wo=Sn(Ji?Ji.parentElement:null),ho=(0,b.useRef)({activatorEvent:null,active:null,activeNode:Ji,collisionRect:null,collisions:null,droppableRects:Fa,draggableNodes:Bo,draggingNode:null,draggingNodeRect:null,droppableContainers:Si,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),To=Si.getNodeFor((Mt=ho.current.over)==null?void 0:Mt.id),si=ht({measure:Ui.dragOverlay.measure}),da=(un=si.nodeRef.current)!=null?un:Ji,Ri=fo?(fn=si.rect)!=null?fn:mi:null,Li=!!(si.nodeRef.current&&si.rect),Oi=vn(Li?null:mi),pa=or(da?(0,de.Jj)(da):null),Ea=Un(fo?To!=null?To:Ji:null),Oa=zt(Ea),Ya=kn($n,{transform:{x:ri.x-Oi.x,y:ri.y-Oi.y,scaleX:1,scaleY:1},activatorEvent:Xi,active:Wo,activeNodeRect:mi,containerNodeRect:wo,draggingNodeRect:Ri,over:ho.current.over,overlayNodeRect:si.rect,scrollableAncestors:Ea,scrollableAncestorRects:Oa,windowRect:pa}),Ii=Nl?(0,de.IH)(Nl,ri):null,Ga=Yn(Ea),wl=$t(Ga),cl=$t(Ga,[mi]),el=(0,de.IH)(Ya,wl),Xa=Ri?We(Ri,Ya):null,Al=Wo&&Xa?An({active:Wo,collisionRect:Xa,droppableRects:Fa,droppableContainers:Ba,pointerCoordinates:Ii}):null,xl=mt(Al,"id"),[Hl,Yl]=(0,b.useState)(null),as=Li?Ya:(0,de.IH)(Ya,cl),ns=ue(as,(Rt=Hl==null?void 0:Hl.rect)!=null?Rt:null,mi),Cs=(0,b.useRef)(null),rs=(0,b.useCallback)(($a,Qa)=>{let{sensor:fa,options:Hi}=Qa;if(Mo.current==null)return;const Ci=Bo.get(Mo.current);if(!Ci)return;const sa=$a.nativeEvent,Ma=new fa({active:Mo.current,activeNode:Ci,event:sa,options:Hi,context:ho,onAbort(_i){if(!Bo.get(_i))return;const{onDragAbort:Ka}=Pa.current,nl={id:_i};Ka==null||Ka(nl),yo({type:"onDragAbort",event:nl})},onPending(_i,tl,Ka,nl){if(!Bo.get(_i))return;const{onDragPending:rl}=Pa.current,ol={id:_i,constraint:tl,initialCoordinates:Ka,offset:nl};rl==null||rl(ol),yo({type:"onDragPending",event:ol})},onStart(_i){const tl=Mo.current;if(tl==null)return;const Ka=Bo.get(tl);if(!Ka)return;const{onDragStart:nl}=Pa.current,_a={activatorEvent:sa,active:{id:tl,data:Ka.data,rect:Ki}};(0,xe.unstable_batchedUpdates)(()=>{nl==null||nl(_a),co(Vr.Initializing),Jr({type:et.DragStart,initialCoordinates:_i,active:tl}),yo({type:"onDragStart",event:_a}),zi(Cs.current),Wa(sa)})},onMove(_i){Jr({type:et.DragMove,coordinates:_i})},onEnd:wa(et.DragEnd),onCancel:wa(et.DragCancel)});Cs.current=Ma;function wa(_i){return function(){return Qu(this,null,function*(){const{active:Ka,collisions:nl,over:_a,scrollAdjustedTranslate:rl}=ho.current;let ol=null;if(Ka&&rl){const{cancelDrop:kl}=Pa.current;ol={activatorEvent:sa,active:Ka,collisions:nl,delta:rl,over:_a},_i===et.DragEnd&&typeof kl=="function"&&(yield Promise.resolve(kl(ol)))&&(_i=et.DragCancel)}Mo.current=null,(0,xe.unstable_batchedUpdates)(()=>{Jr({type:_i}),co(Vr.Uninitialized),Yl(null),zi(null),Wa(null),Cs.current=null;const kl=_i===et.DragEnd?"onDragEnd":"onDragCancel";if(ol){const ls=Pa.current[kl];ls==null||ls(ol),yo({type:kl,event:ol})}})})}}},[Bo]),Dl=(0,b.useCallback)(($a,Qa)=>(fa,Hi)=>{const Ci=fa.nativeEvent,sa=Bo.get(Hi);if(Mo.current!==null||!sa||Ci.dndKit||Ci.defaultPrevented)return;const Ma={active:sa};$a(fa,Qa.options,Ma)===!0&&(Ci.dndKit={capturedBy:Qa.sensor},Mo.current=Hi,rs(fa,Qa))},[Bo,rs]),Gl=Jt(Zn,Dl);Mn(Zn),(0,de.LI)(()=>{mi&&Io===Vr.Initializing&&co(Vr.Initialized)},[mi,Io]),(0,b.useEffect)(()=>{const{onDragMove:$a}=Pa.current,{active:Qa,activatorEvent:fa,collisions:Hi,over:Ci}=ho.current;if(!Qa||!fa)return;const sa={active:Qa,activatorEvent:fa,collisions:Hi,delta:{x:el.x,y:el.y},over:Ci};(0,xe.unstable_batchedUpdates)(()=>{$a==null||$a(sa),yo({type:"onDragMove",event:sa})})},[el.x,el.y]),(0,b.useEffect)(()=>{const{active:$a,activatorEvent:Qa,collisions:fa,droppableContainers:Hi,scrollAdjustedTranslate:Ci}=ho.current;if(!$a||Mo.current==null||!Qa||!Ci)return;const{onDragOver:sa}=Pa.current,Ma=Hi.get(xl),wa=Ma&&Ma.rect.current?{id:Ma.id,rect:Ma.rect.current,data:Ma.data,disabled:Ma.disabled}:null,_i={active:$a,activatorEvent:Qa,collisions:fa,delta:{x:Ci.x,y:Ci.y},over:wa};(0,xe.unstable_batchedUpdates)(()=>{Yl(wa),sa==null||sa(_i),yo({type:"onDragOver",event:_i})})},[xl]),(0,de.LI)(()=>{ho.current={activatorEvent:Xi,active:Wo,activeNode:Ji,collisionRect:Xa,collisions:Al,droppableRects:Fa,draggableNodes:Bo,draggingNode:da,draggingNodeRect:Ri,droppableContainers:Si,over:Hl,scrollableAncestors:Ea,scrollAdjustedTranslate:el},Ki.current={initial:Ri,translated:Xa}},[Wo,Ji,Al,Xa,Bo,da,Ri,Fa,Si,Hl,Ea,el]),hr(Da(xi({},El),{delta:ri,draggingRect:Xa,pointerCoordinates:Ii,scrollableAncestors:Ea,scrollableAncestorRects:Oa}));const os=(0,b.useMemo)(()=>({active:Wo,activeNode:Ji,activeNodeRect:mi,activatorEvent:Xi,collisions:Al,containerNodeRect:wo,dragOverlay:si,draggableNodes:Bo,droppableContainers:Si,droppableRects:Fa,over:Hl,measureDroppableContainers:ul,scrollableAncestors:Ea,scrollableAncestorRects:Oa,measuringConfiguration:Ui,measuringScheduled:Ja,windowRect:pa}),[Wo,Ji,mi,Xi,Al,wo,si,Bo,Si,Fa,Hl,ul,Ea,Oa,Ui,Ja,pa]),hs=(0,b.useMemo)(()=>({activatorEvent:Xi,activators:Gl,active:Wo,activeNodeRect:mi,ariaDescribedById:{draggable:Ta},dispatch:Jr,draggableNodes:Bo,over:Hl,measureDroppableContainers:ul}),[Xi,Gl,Wo,mi,Jr,Ta,Bo,Hl,ul]);return b.createElement(ze.Provider,{value:io},b.createElement(xt.Provider,{value:hs},b.createElement(Ft.Provider,{value:os},b.createElement(Ar.Provider,{value:ns},Fn)),b.createElement(Tn,{disabled:(Ot==null?void 0:Ot.restoreFocus)===!1})),b.createElement(yt,Da(xi({},Ot),{hiddenTextDescribedById:Ta})));function _l(){const $a=(Wi==null?void 0:Wi.autoScrollEnabled)===!1,Qa=typeof en=="object"?en.enabled===!1:en===!1,fa=fo&&!$a&&!Qa;return typeof en=="object"?Da(xi({},en),{enabled:fa}):{enabled:fa}}}),fr=(0,b.createContext)(null),Pr="button",kr="Draggable";function $r(ke){let{id:nt,data:Mt,disabled:un=!1,attributes:fn}=ke;const Rt=(0,de.Ld)(kr),{activators:ot,activatorEvent:Ot,active:en,activeNodeRect:Fn,ariaDescribedById:Zn,draggableNodes:An,over:Hn}=(0,b.useContext)(xt),{role:$n=Pr,roleDescription:Cr="draggable",tabIndex:br=0}=fn!=null?fn:{},Wr=(en==null?void 0:en.id)===nt,Jr=(0,b.useContext)(Wr?Ar:fr),[yo,io]=(0,de.wm)(),[Io,co]=(0,de.wm)(),fo=rn(ot,nt),bo=(0,de.Ey)(Mt);(0,de.LI)(()=>(An.set(nt,{id:nt,key:Rt,node:yo,activatorNode:Io,data:bo}),()=>{const ri=An.get(nt);ri&&ri.key===Rt&&An.delete(nt)}),[An,nt]);const Bo=(0,b.useMemo)(()=>({role:$n,tabIndex:br,"aria-disabled":un,"aria-pressed":Wr&&$n===Pr?!0:void 0,"aria-roledescription":Cr,"aria-describedby":Zn.draggable}),[un,$n,br,Wr,Cr,Zn.draggable]);return{active:en,activatorEvent:Ot,activeNodeRect:Fn,attributes:Bo,isDragging:Wr,listeners:un?void 0:fo,node:yo,over:Hn,setNodeRef:io,setActivatorNodeRef:co,transform:Jr}}function Xr(){return(0,b.useContext)(Ft)}const vo="Droppable",yr={timeout:25};function ur(ke){let{data:nt,disabled:Mt=!1,id:un,resizeObserverConfig:fn}=ke;const Rt=(0,de.Ld)(vo),{active:ot,dispatch:Ot,over:en,measureDroppableContainers:Fn}=(0,b.useContext)(xt),Zn=(0,b.useRef)({disabled:Mt}),An=(0,b.useRef)(!1),Hn=(0,b.useRef)(null),$n=(0,b.useRef)(null),{disabled:Cr,updateMeasurementsFor:br,timeout:Wr}=xi(xi({},yr),fn),Jr=(0,de.Ey)(br!=null?br:un),yo=(0,b.useCallback)(()=>{if(!An.current){An.current=!0;return}$n.current!=null&&clearTimeout($n.current),$n.current=setTimeout(()=>{Fn(Array.isArray(Jr.current)?Jr.current:[Jr.current]),$n.current=null},Wr)},[Wr]),io=Dt({callback:yo,disabled:Cr||!ot}),Io=(0,b.useCallback)((Bo,ri)=>{io&&(ri&&(io.unobserve(ri),An.current=!1),Bo&&io.observe(Bo))},[io]),[co,fo]=(0,de.wm)(Io),bo=(0,de.Ey)(nt);return(0,b.useEffect)(()=>{!io||!co.current||(io.disconnect(),An.current=!1,io.observe(co.current))},[co,io]),(0,b.useEffect)(()=>(Ot({type:et.RegisterDroppable,element:{id:un,key:Rt,disabled:Mt,node:co,rect:Hn,data:bo}}),()=>Ot({type:et.UnregisterDroppable,key:Rt,id:un})),[un]),(0,b.useEffect)(()=>{Mt!==Zn.current.disabled&&(Ot({type:et.SetDroppableDisabled,id:un,key:Rt,disabled:Mt}),Zn.current.disabled=Mt)},[un,Rt,Mt,Ot]),{active:ot,rect:Hn,isOver:(en==null?void 0:en.id)===un,node:co,over:en,setNodeRef:fo}}function gr(ke){let{animation:nt,children:Mt}=ke;const[un,fn]=(0,b.useState)(null),[Rt,ot]=(0,b.useState)(null),Ot=(0,de.D9)(Mt);return!Mt&&!un&&Ot&&fn(Ot),(0,de.LI)(()=>{if(!Rt)return;const en=un==null?void 0:un.key,Fn=un==null?void 0:un.props.id;if(en==null||Fn==null){fn(null);return}Promise.resolve(nt(Fn,Rt)).then(()=>{fn(null)})},[nt,un,Rt]),b.createElement(b.Fragment,null,Mt,un?(0,b.cloneElement)(un,{ref:ot}):null)}const no={x:0,y:0,scaleX:1,scaleY:1};function Kr(ke){let{children:nt}=ke;return b.createElement(xt.Provider,{value:bt},b.createElement(Ar.Provider,{value:no},nt))}const wr={position:"fixed",touchAction:"none"},Rr=ke=>(0,de.vd)(ke)?"transform 250ms ease":void 0,mo=(0,b.forwardRef)((ke,nt)=>{let{as:Mt,activatorEvent:un,adjustScale:fn,children:Rt,className:ot,rect:Ot,style:en,transform:Fn,transition:Zn=Rr}=ke;if(!Ot)return null;const An=fn?Fn:Da(xi({},Fn),{scaleX:1,scaleY:1}),Hn=xi(Da(xi({},wr),{width:Ot.width,height:Ot.height,top:Ot.top,left:Ot.left,transform:de.ux.Transform.toString(An),transformOrigin:fn&&un?Ut(un,Ot):void 0,transition:typeof Zn=="function"?Zn(un):Zn}),en);return b.createElement(Mt,{className:ot,style:Hn,ref:nt},Rt)}),eo={duration:250,easing:"ease",keyframes:ke=>{let{transform:{initial:nt,final:Mt}}=ke;return[{transform:de.ux.Transform.toString(nt)},{transform:de.ux.Transform.toString(Mt)}]},sideEffects:(ke=>nt=>{let{active:Mt,dragOverlay:un}=nt;const fn={},{styles:Rt,className:ot}=ke;if(Rt!=null&&Rt.active)for(const[Ot,en]of Object.entries(Rt.active))en!==void 0&&(fn[Ot]=Mt.node.style.getPropertyValue(Ot),Mt.node.style.setProperty(Ot,en));if(Rt!=null&&Rt.dragOverlay)for(const[Ot,en]of Object.entries(Rt.dragOverlay))en!==void 0&&un.node.style.setProperty(Ot,en);return ot!=null&&ot.active&&Mt.node.classList.add(ot.active),ot!=null&&ot.dragOverlay&&un.node.classList.add(ot.dragOverlay),function(){for(const[en,Fn]of Object.entries(fn))Mt.node.style.setProperty(en,Fn);ot!=null&&ot.active&&Mt.node.classList.remove(ot.active)}})({styles:{active:{opacity:"0"}}})};function ko(ke){let{config:nt,draggableNodes:Mt,droppableContainers:un,measuringConfiguration:fn}=ke;return(0,de.zX)((Rt,ot)=>{if(nt===null)return;const Ot=Mt.get(Rt);if(!Ot)return;const en=Ot.node.current;if(!en)return;const Fn=Re(ot);if(!Fn)return;const{transform:Zn}=(0,de.Jj)(ot).getComputedStyle(ot),An=kt(Zn);if(!An)return;const Hn=typeof nt=="function"?nt:_o(nt);return st(en,fn.draggable.measure),Hn({active:{id:Rt,data:Ot.data,node:en,rect:fn.draggable.measure(en)},draggableNodes:Mt,dragOverlay:{node:ot,rect:fn.dragOverlay.measure(Fn)},droppableContainers:un,measuringConfiguration:fn,transform:An})})}function _o(ke){const{duration:nt,easing:Mt,sideEffects:un,keyframes:fn}=xi(xi({},eo),ke);return Rt=>{let yo=Rt,{active:ot,dragOverlay:Ot,transform:en}=yo,Fn=wu(yo,["active","dragOverlay","transform"]);if(!nt)return;const Zn={x:Ot.rect.left-ot.rect.left,y:Ot.rect.top-ot.rect.top},An={scaleX:en.scaleX!==1?ot.rect.width*en.scaleX/Ot.rect.width:1,scaleY:en.scaleY!==1?ot.rect.height*en.scaleY/Ot.rect.height:1},Hn=xi({x:en.x-Zn.x,y:en.y-Zn.y},An),$n=fn(Da(xi({},Fn),{active:ot,dragOverlay:Ot,transform:{initial:en,final:Hn}})),[Cr]=$n,br=$n[$n.length-1];if(JSON.stringify(Cr)===JSON.stringify(br))return;const Wr=un==null?void 0:un(xi({active:ot,dragOverlay:Ot},Fn)),Jr=Ot.node.animate($n,{duration:nt,easing:Mt,fill:"forwards"});return new Promise(io=>{Jr.onfinish=()=>{Wr==null||Wr(),io()}})}}let qo=0;function Lo(ke){return(0,b.useMemo)(()=>{if(ke!=null)return qo++,qo},[ke])}const ii=b.memo(ke=>{let{adjustScale:nt=!1,children:Mt,dropAnimation:un,style:fn,transition:Rt,modifiers:ot,wrapperElement:Ot="div",className:en,zIndex:Fn=999}=ke;const{activatorEvent:Zn,active:An,activeNodeRect:Hn,containerNodeRect:$n,draggableNodes:Cr,droppableContainers:br,dragOverlay:Wr,over:Jr,measuringConfiguration:yo,scrollableAncestors:io,scrollableAncestorRects:Io,windowRect:co}=Xr(),fo=(0,b.useContext)(Ar),bo=Lo(An==null?void 0:An.id),Bo=kn(ot,{activatorEvent:Zn,active:An,activeNodeRect:Hn,containerNodeRect:$n,draggingNodeRect:Wr.rect,over:Jr,overlayNodeRect:Wr.rect,scrollableAncestors:io,scrollableAncestorRects:Io,transform:fo,windowRect:co}),ri=xn(Hn),Si=ko({config:un,draggableNodes:Cr,droppableContainers:br,measuringConfiguration:yo}),bi=ri?Wr.setRef:void 0;return b.createElement(Kr,null,b.createElement(gr,{animation:Si},An&&bo?b.createElement(mo,{key:bo,id:An.id,ref:bi,as:Ot,activatorEvent:Zn,adjustScale:nt,className:en,transition:Rt,rect:ri,style:xi({zIndex:Fn},fn),transform:Bo},Mt):null))})},18257:function(Vn,hn,z){"use strict";z.d(hn,{DL:function(){return Fe}});var b=z(35241);function xe(fe){return Ge=>{let{transform:Ce}=Ge;return Da(xi({},Ce),{x:Math.ceil(Ce.x/fe)*fe,y:Math.ceil(Ce.y/fe)*fe})}}const de=fe=>{let{transform:Ge}=fe;return Da(xi({},Ge),{y:0})};function tt(fe,Ge,Ce){const yt=xi({},fe);return Ge.top+fe.y<=Ce.top?yt.y=Ce.top-Ge.top:Ge.bottom+fe.y>=Ce.top+Ce.height&&(yt.y=Ce.top+Ce.height-Ge.bottom),Ge.left+fe.x<=Ce.left?yt.x=Ce.left-Ge.left:Ge.right+fe.x>=Ce.left+Ce.width&&(yt.x=Ce.left+Ce.width-Ge.right),yt}const Oe=fe=>{let{containerNodeRect:Ge,draggingNodeRect:Ce,transform:yt}=fe;return!Ce||!Ge?yt:tt(yt,Ce,Ge)},be=fe=>{let{draggingNodeRect:Ge,transform:Ce,scrollableAncestorRects:yt}=fe;const et=yt[0];return!Ge||!et?Ce:tt(Ce,Ge,et)},Fe=fe=>{let{transform:Ge}=fe;return Da(xi({},Ge),{x:0})},ze=fe=>{let{transform:Ge,draggingNodeRect:Ce,windowRect:yt}=fe;return!Ce||!yt?Ge:tt(Ge,Ce,yt)},Be=fe=>{let{activatorEvent:Ge,draggingNodeRect:Ce,transform:yt}=fe;if(Ce&&Ge){const et=getEventCoordinates(Ge);if(!et)return yt;const $e=et.x-Ce.left,je=et.y-Ce.top;return Da(xi({},yt),{x:yt.x+$e-Ce.width/2,y:yt.y+je-Ce.height/2})}return yt}},19719:function(Vn,hn,z){"use strict";z.d(hn,{Fo:function(){return Ut},Rp:function(){return tt},U2:function(){return yt},nB:function(){return dt},qw:function(){return je}});var b=z(59301),xe=z(87954),de=z(35241);function tt(We,kt,Ae){const ve=We.slice();return ve.splice(Ae<0?ve.length+Ae:Ae,0,ve.splice(kt,1)[0]),ve}function Oe(We,kt,Ae){const ve=We.slice();return ve[kt]=We[Ae],ve[Ae]=We[kt],ve}function be(We,kt){return We.reduce((Ae,ve,gt)=>{const Gt=kt.get(ve);return Gt&&(Ae[gt]=Gt),Ae},Array(We.length))}function Fe(We){return We!==null&&We>=0}function ze(We,kt){if(We===kt)return!0;if(We.length!==kt.length)return!1;for(let Ae=0;Ae<We.length;Ae++)if(We[Ae]!==kt[Ae])return!1;return!0}function Be(We){return typeof We=="boolean"?{draggable:We,droppable:We}:We}const fe={scaleX:1,scaleY:1},Ge=We=>{var kt;let{rects:Ae,activeNodeRect:ve,activeIndex:gt,overIndex:Gt,index:Ht}=We;const pe=(kt=Ae[gt])!=null?kt:ve;if(!pe)return null;const Te=Ce(Ae,Ht,gt);if(Ht===gt){const Ke=Ae[Gt];return Ke?xi({x:gt<Gt?Ke.left+Ke.width-(pe.left+pe.width):Ke.left-pe.left,y:0},fe):null}return Ht>gt&&Ht<=Gt?xi({x:-pe.width-Te,y:0},fe):Ht<gt&&Ht>=Gt?xi({x:pe.width+Te,y:0},fe):xi({x:0,y:0},fe)};function Ce(We,kt,Ae){const ve=We[kt],gt=We[kt-1],Gt=We[kt+1];return!ve||!gt&&!Gt?0:Ae<kt?gt?ve.left-(gt.left+gt.width):Gt.left-(ve.left+ve.width):Gt?Gt.left-(ve.left+ve.width):ve.left-(gt.left+gt.width)}const yt=We=>{let{rects:kt,activeIndex:Ae,overIndex:ve,index:gt}=We;const Gt=tt(kt,ve,Ae),Ht=kt[gt],pe=Gt[gt];return!pe||!Ht?null:{x:pe.left-Ht.left,y:pe.top-Ht.top,scaleX:pe.width/Ht.width,scaleY:pe.height/Ht.height}},et=We=>{let{activeIndex:kt,index:Ae,rects:ve,overIndex:gt}=We,Gt,Ht;return Ae===kt&&(Gt=ve[Ae],Ht=ve[gt]),Ae===gt&&(Gt=ve[Ae],Ht=ve[kt]),!Ht||!Gt?null:{x:Ht.left-Gt.left,y:Ht.top-Gt.top,scaleX:Ht.width/Gt.width,scaleY:Ht.height/Gt.height}},$e={scaleX:1,scaleY:1},je=We=>{var kt;let{activeIndex:Ae,activeNodeRect:ve,index:gt,rects:Gt,overIndex:Ht}=We;const pe=(kt=Gt[Ae])!=null?kt:ve;if(!pe)return null;if(gt===Ae){const Ke=Gt[Ht];return Ke?xi({x:0,y:Ae<Ht?Ke.top+Ke.height-(pe.top+pe.height):Ke.top-pe.top},$e):null}const Te=Ve(Gt,gt,Ae);return gt>Ae&><=Ht?xi({x:0,y:-pe.height-Te},$e):gt<Ae&>>=Ht?xi({x:0,y:pe.height+Te},$e):xi({x:0,y:0},$e)};function Ve(We,kt,Ae){const ve=We[kt],gt=We[kt-1],Gt=We[kt+1];return ve?Ae<kt?gt?ve.top-(gt.top+gt.height):Gt?Gt.top-(ve.top+ve.height):0:Gt?Gt.top-(ve.top+ve.height):gt?ve.top-(gt.top+gt.height):0:0}const rt="Sortable",Nt=b.createContext({activeIndex:-1,containerId:rt,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:yt,disabled:{draggable:!1,droppable:!1}});function Ut(We){let{children:kt,id:Ae,items:ve,strategy:gt=yt,disabled:Gt=!1}=We;const{active:Ht,dragOverlay:pe,droppableRects:Te,over:Ke,measureDroppableContainers:tn}=(0,xe.Cj)(),lt=(0,de.Ld)(rt,Ae),jt=pe.rect!==null,ct=(0,b.useMemo)(()=>ve.map(ce=>typeof ce=="object"&&"id"in ce?ce.id:ce),[ve]),ln=Ht!=null,Et=Ht?ct.indexOf(Ht.id):-1,le=Ke?ct.indexOf(Ke.id):-1,ne=(0,b.useRef)(ct),te=!ze(ct,ne.current),ae=le!==-1&&Et===-1||te,he=Be(Gt);(0,de.LI)(()=>{te&&ln&&tn(ct)},[te,ct,ln,tn]),(0,b.useEffect)(()=>{ne.current=ct},[ct]);const re=(0,b.useMemo)(()=>({activeIndex:Et,containerId:lt,disabled:he,disableTransforms:ae,items:ct,overIndex:le,useDragOverlay:jt,sortedRects:be(ct,Te),strategy:gt}),[Et,lt,he.draggable,he.droppable,ae,ct,le,Te,jt,gt]);return b.createElement(Nt.Provider,{value:re},kt)}const se=We=>{let{id:kt,items:Ae,activeIndex:ve,overIndex:gt}=We;return tt(Ae,ve,gt).indexOf(kt)},Me=We=>{let{containerId:kt,isSorting:Ae,wasDragging:ve,index:gt,items:Gt,newIndex:Ht,previousItems:pe,previousContainerId:Te,transition:Ke}=We;return!Ke||!ve||pe!==Gt&>===Ht?!1:Ae?!0:Ht!==gt&&kt===Te},ft={duration:200,easing:"ease"},mt="transform",Zt=de.ux.Transition.toString({property:mt,duration:0,easing:"linear"}),Je={roleDescription:"sortable"};function at(We){let{disabled:kt,index:Ae,node:ve,rect:gt}=We;const[Gt,Ht]=(0,b.useState)(null),pe=(0,b.useRef)(Ae);return(0,de.LI)(()=>{if(!kt&&Ae!==pe.current&&ve.current){const Te=gt.current;if(Te){const Ke=(0,xe.VK)(ve.current,{ignoreTransform:!0}),tn={x:Te.left-Ke.left,y:Te.top-Ke.top,scaleX:Te.width/Ke.width,scaleY:Te.height/Ke.height};(tn.x||tn.y)&&Ht(tn)}}Ae!==pe.current&&(pe.current=Ae)},[kt,Ae,ve,gt]),(0,b.useEffect)(()=>{Gt&&Ht(null)},[Gt]),Gt}function dt(We){let{animateLayoutChanges:kt=Me,attributes:Ae,disabled:ve,data:gt,getNewIndex:Gt=se,id:Ht,strategy:pe,resizeObserverConfig:Te,transition:Ke=ft}=We;const{items:tn,containerId:lt,activeIndex:jt,disabled:ct,disableTransforms:ln,sortedRects:Et,overIndex:le,useDragOverlay:ne,strategy:te}=(0,b.useContext)(Nt),ae=Pe(ve,ct),he=tn.indexOf(Ht),re=(0,b.useMemo)(()=>xi({sortable:{containerId:lt,index:he,items:tn}},gt),[lt,gt,he,tn]),ce=(0,b.useMemo)(()=>tn.slice(tn.indexOf(Ht)),[tn,Ht]),{rect:De,node:st,isOver:Qe,setNodeRef:Ie}=(0,xe.Zj)({id:Ht,data:re,disabled:ae.droppable,resizeObserverConfig:xi({updateMeasurementsFor:ce},Te)}),{active:pt,activatorEvent:Pt,activeNodeRect:Tt,attributes:Le,setNodeRef:Ue,listeners:pn,isDragging:Wt,over:Cn,setActivatorNodeRef:cn,transform:Xt}=(0,xe.O1)({id:Ht,data:re,attributes:xi(xi({},Je),Ae),disabled:ae.draggable}),an=(0,de.HB)(Ie,Ue),mn=!!pt,vt=mn&&!ln&&Fe(jt)&&Fe(le),Yt=!ne&&Wt,gn=Yt&&vt?Xt:null,At=pe!=null?pe:te,_e=vt?gn!=null?gn:At({rects:Et,activeNodeRect:Tt,activeIndex:jt,overIndex:le,index:he}):null,Vt=Fe(jt)&&Fe(le)?Gt({id:Ht,items:tn,activeIndex:jt,overIndex:le}):he,nn=pt==null?void 0:pt.id,dn=(0,b.useRef)({activeId:nn,items:tn,newIndex:Vt,containerId:lt}),Ln=tn!==dn.current.items,Qn=kt({active:pt,containerId:lt,isDragging:Wt,isSorting:mn,id:Ht,index:he,items:tn,newIndex:dn.current.newIndex,previousItems:dn.current.items,previousContainerId:dn.current.containerId,transition:Ke,wasDragging:dn.current.activeId!=null}),hr=at({disabled:!Qn,index:he,node:st,rect:De});return(0,b.useEffect)(()=>{mn&&dn.current.newIndex!==Vt&&(dn.current.newIndex=Vt),lt!==dn.current.containerId&&(dn.current.containerId=lt),tn!==dn.current.items&&(dn.current.items=tn)},[mn,Vt,lt,tn]),(0,b.useEffect)(()=>{if(nn===dn.current.activeId)return;if(nn&&!dn.current.activeId){dn.current.activeId=nn;return}const Jn=setTimeout(()=>{dn.current.activeId=nn},50);return()=>clearTimeout(Jn)},[nn]),{active:pt,activeIndex:jt,attributes:Le,data:re,rect:De,index:he,newIndex:Vt,items:tn,isOver:Qe,isSorting:mn,isDragging:Wt,listeners:pn,node:st,overIndex:le,over:Cn,setNodeRef:an,setActivatorNodeRef:cn,setDroppableNodeRef:Ie,setDraggableNodeRef:Ue,transform:hr!=null?hr:_e,transition:vr()};function vr(){if(hr||Ln&&dn.current.newIndex===he)return Zt;if(!(Yt&&!(0,de.vd)(Pt)||!Ke)&&(mn||Qn))return de.ux.Transition.toString(Da(xi({},Ke),{property:mt}))}}function Pe(We,kt){var Ae,ve;return typeof We=="boolean"?{draggable:We,droppable:!1}:{draggable:(Ae=We==null?void 0:We.draggable)!=null?Ae:kt.draggable,droppable:(ve=We==null?void 0:We.droppable)!=null?ve:kt.droppable}}function Ze(We){if(!We)return!1;const kt=We.data.current;return!!(kt&&"sortable"in kt&&typeof kt.sortable=="object"&&"containerId"in kt.sortable&&"items"in kt.sortable&&"index"in kt.sortable)}const Ee=[xe.g4.Down,xe.g4.Right,xe.g4.Up,xe.g4.Left],ue=(We,kt)=>{let{context:{active:Ae,collisionRect:ve,droppableRects:gt,droppableContainers:Gt,over:Ht,scrollableAncestors:pe}}=kt;if(Ee.includes(We.code)){if(We.preventDefault(),!Ae||!ve)return;const Te=[];Gt.getEnabled().forEach(lt=>{if(!lt||lt!=null&<.disabled)return;const jt=gt.get(lt.id);if(jt)switch(We.code){case KeyboardCode.Down:ve.top<jt.top&&Te.push(lt);break;case KeyboardCode.Up:ve.top>jt.top&&Te.push(lt);break;case KeyboardCode.Left:ve.left>jt.left&&Te.push(lt);break;case KeyboardCode.Right:ve.left<jt.left&&Te.push(lt);break}});const Ke=closestCorners({active:Ae,collisionRect:ve,droppableRects:gt,droppableContainers:Te,pointerCoordinates:null});let tn=getFirstCollision(Ke,"id");if(tn===(Ht==null?void 0:Ht.id)&&Ke.length>1&&(tn=Ke[1].id),tn!=null){const lt=Gt.get(Ae.id),jt=Gt.get(tn),ct=jt?gt.get(jt.id):null,ln=jt==null?void 0:jt.node.current;if(ln&&ct&<&&jt){const le=getScrollableAncestors(ln).some((ce,De)=>pe[De]!==ce),ne=Ct(lt,jt),te=He(lt,jt),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 Ct(We,kt){return!Ze(We)||!Ze(kt)?!1:We.data.current.sortable.containerId===kt.data.current.sortable.containerId}function He(We,kt){return!Ze(We)||!Ze(kt)||!Ct(We,kt)?!1:We.data.current.sortable.index<kt.data.current.sortable.index}},35241:function(Vn,hn,z){"use strict";z.d(hn,{$X:function(){return Me},D9:function(){return Ve},DC:function(){return Je},Ey:function(){return et},FJ:function(){return tt},Gj:function(){return $e},HB:function(){return xe},IH:function(){return se},Jj:function(){return be},LI:function(){return Ge},Ld:function(){return Nt},Nq:function(){return de},Re:function(){return ze},UG:function(){return Oe},Yz:function(){return yt},qk:function(){return Fe},r3:function(){return fe},so:function(){return Pe},ux:function(){return at},vZ:function(){return Be},vd:function(){return mt},wm:function(){return je},zX:function(){return Ce}});var b=z(59301);function xe(){for(var Ze=arguments.length,Ee=new Array(Ze),ue=0;ue<Ze;ue++)Ee[ue]=arguments[ue];return(0,b.useMemo)(()=>Ct=>{Ee.forEach(He=>He(Ct))},Ee)}const de=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function tt(Ze){const Ee=Object.prototype.toString.call(Ze);return Ee==="[object Window]"||Ee==="[object global]"}function Oe(Ze){return"nodeType"in Ze}function be(Ze){var Ee,ue;return Ze?tt(Ze)?Ze:Oe(Ze)&&(Ee=(ue=Ze.ownerDocument)==null?void 0:ue.defaultView)!=null?Ee:window:window}function Fe(Ze){const{Document:Ee}=be(Ze);return Ze instanceof Ee}function ze(Ze){return tt(Ze)?!1:Ze instanceof be(Ze).HTMLElement}function Be(Ze){return Ze instanceof be(Ze).SVGElement}function fe(Ze){return Ze?tt(Ze)?Ze.document:Oe(Ze)?Fe(Ze)?Ze:ze(Ze)||Be(Ze)?Ze.ownerDocument:document:document:document}const Ge=de?b.useLayoutEffect:b.useEffect;function Ce(Ze){const Ee=(0,b.useRef)(Ze);return Ge(()=>{Ee.current=Ze}),(0,b.useCallback)(function(){for(var ue=arguments.length,Ct=new Array(ue),He=0;He<ue;He++)Ct[He]=arguments[He];return Ee.current==null?void 0:Ee.current(...Ct)},[])}function yt(){const Ze=(0,b.useRef)(null),Ee=(0,b.useCallback)((Ct,He)=>{Ze.current=setInterval(Ct,He)},[]),ue=(0,b.useCallback)(()=>{Ze.current!==null&&(clearInterval(Ze.current),Ze.current=null)},[]);return[Ee,ue]}function et(Ze,Ee){Ee===void 0&&(Ee=[Ze]);const ue=(0,b.useRef)(Ze);return Ge(()=>{ue.current!==Ze&&(ue.current=Ze)},Ee),ue}function $e(Ze,Ee){const ue=(0,b.useRef)();return(0,b.useMemo)(()=>{const Ct=Ze(ue.current);return ue.current=Ct,Ct},[...Ee])}function je(Ze){const Ee=Ce(Ze),ue=(0,b.useRef)(null),Ct=(0,b.useCallback)(He=>{He!==ue.current&&(Ee==null||Ee(He,ue.current)),ue.current=He},[]);return[ue,Ct]}function Ve(Ze){const Ee=(0,b.useRef)();return(0,b.useEffect)(()=>{Ee.current=Ze},[Ze]),Ee.current}let rt={};function Nt(Ze,Ee){return(0,b.useMemo)(()=>{if(Ee)return Ee;const ue=rt[Ze]==null?0:rt[Ze]+1;return rt[Ze]=ue,Ze+"-"+ue},[Ze,Ee])}function Ut(Ze){return function(Ee){for(var ue=arguments.length,Ct=new Array(ue>1?ue-1:0),He=1;He<ue;He++)Ct[He-1]=arguments[He];return Ct.reduce((We,kt)=>{const Ae=Object.entries(kt);for(const[ve,gt]of Ae){const Gt=We[ve];Gt!=null&&(We[ve]=Gt+Ze*gt)}return We},xi({},Ee))}}const se=Ut(1),Me=Ut(-1);function ft(Ze){return"clientX"in Ze&&"clientY"in Ze}function mt(Ze){if(!Ze)return!1;const{KeyboardEvent:Ee}=be(Ze.target);return Ee&&Ze instanceof Ee}function Zt(Ze){if(!Ze)return!1;const{TouchEvent:Ee}=be(Ze.target);return Ee&&Ze instanceof Ee}function Je(Ze){if(Zt(Ze)){if(Ze.touches&&Ze.touches.length){const{clientX:Ee,clientY:ue}=Ze.touches[0];return{x:Ee,y:ue}}else if(Ze.changedTouches&&Ze.changedTouches.length){const{clientX:Ee,clientY:ue}=Ze.changedTouches[0];return{x:Ee,y:ue}}}return ft(Ze)?{x:Ze.clientX,y:Ze.clientY}:null}const at=Object.freeze({Translate:{toString(Ze){if(!Ze)return;const{x:Ee,y:ue}=Ze;return"translate3d("+(Ee?Math.round(Ee):0)+"px, "+(ue?Math.round(ue):0)+"px, 0)"}},Scale:{toString(Ze){if(!Ze)return;const{scaleX:Ee,scaleY:ue}=Ze;return"scaleX("+Ee+") scaleY("+ue+")"}},Transform:{toString(Ze){if(Ze)return[at.Translate.toString(Ze),at.Scale.toString(Ze)].join(" ")}},Transition:{toString(Ze){let{property:Ee,duration:ue,easing:Ct}=Ze;return Ee+" "+ue+"ms "+Ct}}}),dt="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Pe(Ze){return Ze.matches(dt)?Ze:Ze.querySelector(dt)}},45559:function(){"use strict"},42313:function(){"use strict"},96408:function(Vn,hn){"use strict";hn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},61191:function(Vn,hn){"use strict";hn.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(Vn,hn,z){"use strict";var b=z(59301),xe=Object.defineProperty,de=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,be=(Be,fe,Ge)=>fe in Be?xe(Be,fe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Be[fe]=Ge,Fe=(Be,fe)=>{for(var Ge in fe||(fe={}))tt.call(fe,Ge)&&be(Be,Ge,fe[Ge]);if(de)for(var Ge of de(fe))Oe.call(fe,Ge)&&be(Be,Ge,fe[Ge]);return Be};const ze=Be=>React.createElement("svg",Fe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Be),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"}));hn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},64303:function(Vn,hn,z){"use strict";var b=z(59301),xe=Object.defineProperty,de=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,be=(Be,fe,Ge)=>fe in Be?xe(Be,fe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Be[fe]=Ge,Fe=(Be,fe)=>{for(var Ge in fe||(fe={}))tt.call(fe,Ge)&&be(Be,Ge,fe[Ge]);if(de)for(var Ge of de(fe))Oe.call(fe,Ge)&&be(Be,Ge,fe[Ge]);return Be};const ze=Be=>React.createElement("svg",Fe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Be),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"}));hn.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 Vn={},hn="5.0",z={},b=null,xe=!1,de=!1,tt=null,Oe=!1,be=null,Fe=null,ze=0;ze<arguments.length;ze++){var Be=arguments[ze];if(Be!==null)switch(typeof Be){case"number":hn=Be.toFixed(1);break;case"string":Be.match(new RegExp("^[0-9]\\.[0-9]+$"))?hn=Be:tt=Be;break;case"object":typeof Be.is3D!="undefined"?b=Be:z=Be;break;case"boolean":xe=Be,de=!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&&!de&&(xe=!0)),tt!==null&&z.id===void 0&&(z.id=tt);var fe="",Ge="",Ce=!1,yt=null,et=null,$e=null,je=!1,Ve=null,rt=null,Nt=null,Ut=null,se=null;z.height!==void 0&&(z.height=Math.round(z.height)),z.width!==void 0&&(z.width=Math.round(z.width));var Me=function(pe){return parseFloat(pe)>4?parseFloat(pe):5};Vn.setHTML5Codebase=function(pe,Te){Fe=pe,gt(pe,Te)},Vn.setJavaCodebase=Vn.setJavaCodebaseVersion=Vn.isCompiledInstalled=Vn.setPreCompiledScriptPath=Vn.setPreCompiledResourcePath=function(){},Vn.setHTML5CodebaseVersion=function(pe,Te){var Ke=parseFloat(pe);if(Ke!==NaN&&Ke<5){console.log("The GeoGebra HTML5 codebase version "+Ke+" is deprecated. Using version latest instead.");return}be=pe,ve(pe,Te)},Vn.getHTML5CodebaseVersion=function(){return et},Vn.getParameters=function(){return z},Vn.setFontsCSSURL=function(pe){Ut=pe},Vn.setGiacJSURL=function(pe){},Vn.setJNLPFile=function(pe){fe=pe},Vn.setJNLPBaseDir=function(pe){},Vn.inject=function(){function pe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Te="auto",Ke=z.id,tn,lt=!1,jt=0;jt<arguments.length;jt++){var ct=arguments[jt];typeof ct=="string"?(ct=ct.toLowerCase(),ct.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Te=ct:Ke=arguments[jt]):typeof ct=="boolean"?lt=ct:ct instanceof HTMLElement&&(tn=ct)}ln();function ln(){if(!Oe){setTimeout(ln,200);return}Te=kt(Te);var Et=tn||document.getElementById(Ke);if(!Et){console.log("possibly bug on ajax loading? ");return}if(Vn.removeExistingApplet(Et,!1),z.width===void 0&&Et.clientWidth&&(z.width=Et.clientWidth),z.height===void 0&&Et.clientHeight&&(z.height=Et.clientHeight),!(z.width&&z.height)&&Te==="html5"&&(delete z.width,delete z.height),yt=Te,Te==="screenshot")Ee(Et,z);else{var le=!1;z.hasOwnProperty("playButton")&&z.playButton||z.hasOwnProperty("clickToLoad")&&z.clickToLoad?le=!0:z.hasOwnProperty("playButtonAutoDecide")&&z.playButtonAutoDecide&&(le=(!ft()||pe())&&mt()),le?(yt="screenshot",Ct(Et,z,lt,Te)):Ze(Et,z,lt)}}};function ft(){try{return window.self!==window.top}catch(pe){return!0}}function mt(){return z.hasOwnProperty("screenshotGenerator")&&z.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Vn.getViews=function(){return b},Vn.isJavaInstalled=function(){return!1};var Zt=function(pe){var Te=function(jt){var ct=JSON.parse(jt),ln=function(ne){return ne.type=="G"||ne.type=="E"},Et=ct.elements?ct.elements.filter(ln)[0]:ct;if(!Et||!Et.url){Ke();return}z.fileName=Et.url,Je(Et.settings||{}),b.is3D=!0;var le="https://www.geogebra.org/images/";Vn.setPreviewImage(Ve||Et.previewUrl,le+"GeoGebra_loading.png",le+"applet_play.png"),pe()},Ke=function(){z.onError&&z.onError(),Gt("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",lt="/materials/"+z.material_id+"?scope=basic";at("https://"+tn+"/api/proxy.php?path="+encodeURIComponent(lt),Te,Ke)};function Je(pe){var Te=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ke){pe[Ke]=!!pe[Ke]}),Te.forEach(function(Ke){z[Ke]===void 0&&pe[Ke]!==void 0&&(z[Ke]=pe[Ke])}),z.showToolBarHelp===void 0&&(z.showToolBarHelp=z.showToolBar)}function at(pe,Te,Ke){var tn=new XMLHttpRequest;tn.open("GET",pe),tn.onload=function(){Te(tn.responseText)},tn.onerror=Ke,tn.send()}Vn.isHTML5Installed=function(){return!0},Vn.getLoadedAppletType=function(){return yt},Vn.setPreviewImage=function(pe,Te,Ke){Ve=pe,rt=Te,Nt=Ke},Vn.removeExistingApplet=function(pe,Te){var Ke;typeof pe=="string"&&(pe=document.getElementById(pe)),yt=null;var tn=null;for(Ke=0;Ke<pe.childNodes.length;Ke++){var lt=pe.childNodes[Ke],jt=lt.className;jt==="applet_screenshot"?Te?(lt.style.display="block",yt="screenshot"):lt.style.display="none":jt!=="applet_scaler prerender"&&(pe.removeChild(lt),tn=jt&&jt.indexOf("appletParameters")!=-1?lt.id:null,Ke--)}var ct=z.id!==void 0?z.id:tn,ln=window[ct];ln&&typeof ln.getBase64=="function"&&(ln.remove(),window[ct]=null)},Vn.refreshHitPoints=function(){if(Me(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var pe=Vn.getAppletObject();return pe&&typeof pe.recalculateEnvironments=="function"?(pe.recalculateEnvironments(),!0):!1},Vn.startAnimation=function(){var pe=Vn.getAppletObject();return pe&&typeof pe.startAnimation=="function"?(pe.startAnimation(),!0):!1},Vn.stopAnimation=function(){var pe=Vn.getAppletObject();return pe&&typeof pe.stopAnimation=="function"?(pe.stopAnimation(),!0):!1},Vn.getAppletObject=function(){var pe=z.id!==void 0?z.id:"ggbApplet";return window[pe]},Vn.resize=function(){};var dt=function(pe,Te,Ke){var tn=document.createElement("param");tn.setAttribute("name",Te),tn.setAttribute("value",Ke),pe.appendChild(tn)},Pe=function(pe){return pe&&pe!=="false"},Ze=function(pe,Te,Ke){Me(et)<=4.2&&(Ke=!0);var tn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==et||ggbHTML5LoadedCodebaseIsWebSimple&&!je)&&(tn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var lt=document.createElement("div");lt.classList.add("appletParameters","notranslate");var jt=Te.width,ct=Te.height;if(Te.disableAutoScale=Te.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Te.disableAutoScale,Te.width!==void 0)if(Me(et)<=4.4)Pe(Te.showToolBar)&&(Te.height-=7),Pe(Te.showAlgebraInput)&&(Te.height-=37),Te.width<605&&Pe(Te.showToolBar)&&(Te.width=605,jt=605);else{var ln=100;(Pe(Te.showToolBar)||Pe(Te.showMenuBar))&&(Te.hasOwnProperty("customToolBar")&&(Te.customToolbar=Te.customToolBar),ln=Pe(Te.showMenuBar)?245:155),jt<ln&&(Te.width=ln,jt=ln)}lt.style.border="none",lt.style.display="inline-block";for(var Et in Te)Te.hasOwnProperty(Et)&&Et!=="appletOnLoad"&<.setAttribute("data-param-"+Et,Te[Et]);Ut&<.setAttribute("data-param-fontscssurl",Ut),Vn.resize=function(){GGBAppletUtils.responsiveResize(pe,Te)},window.addEventListener("resize",function(Pt){Vn.resize()});var le=typeof Te.appletOnLoad=="function"?Te.appletOnLoad:function(){};if(!Ke&&Te.width!==void 0){Te.hasOwnProperty("showSplash")||lt.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=We(jt,ct,Te.borderColor,!1);ne=document.createElement("div"),ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.style.width=jt+"px",ne.style.height=ct+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ne,"66%"),Me(et)>=5?(Te.appletOnLoad=function(Pt){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(Pt)},te||ne.appendChild(ae)):lt.appendChild(ae),ne.appendChild(lt),te||pe.appendChild(ne),setTimeout(function(){Vn.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(lt),pe.appendChild(he),Te.appletOnLoad=function(Pt){Vn.resize(),le(Pt)}}function re(Pt,Tt){Tt&&typeof Tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Pt,Tt.appletOnLoad):renderGGBElement(Pt),Gt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Tt)}function ce(Pt,Tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Pt,params:Tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Le){re(Le.article,Le.params)}),html5AppletsToProcess=null)},Me(et)<5&&(Pt.className+=" geogebraweb")):re(Pt,Tt)}if(tn){scriptLoadStarted=!0;for(var De=0;De<lt.childNodes.length;De++){var st=lt.childNodes[De].tagName;st==="TABLE"&&(lt.removeChild(lt.childNodes[De]),De--)}if(ggbHTML5LoadedScript!==null){var Qe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Qe!=null&&Qe.parentNode.removeChild(Qe)}var Ie=document.createElement("script"),pt=function(){ce(lt,Te)};Ie.src=Ge+$e,ggbHTML5LoadedCodebaseIsWebSimple=je,ggbHTML5LoadedCodebaseVersion=et,ggbHTML5LoadedScript=Ie.src,Gt("GeoGebra HTML5 codebase loaded: '"+Ge+"'.",Te),!Fe&&(!be||be=="5.0")?(je?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),pt()):Ge.requirejs?__webpack_require__.e(3861).then(function(){var Pt=[__webpack_require__(40341)];pt.apply(null,Pt)}.bind(this)).catch(__webpack_require__.oe):(Ie.onload=pt,pe.appendChild(Ie))}else ce(lt,Te);Te.height=ct,Te.width=jt},Ee=function(pe,Te,Ke){var tn=We(Te.width,Te.height,Te.borderColor,Ke),lt=document.createElement("div");lt.style.position="relative",lt.style.display="block",lt.style.width=Te.width+"px",lt.style.height=Te.height+"px",lt.className="applet_screenshot applet_scaler"+(Ke?" applet_screenshot_play":""),lt.appendChild(tn);var jt=GGBAppletUtils.getScale(Te,pe,Ke);Ke?(pe.appendChild(He()),window.GGBT_wsf_view||(pe.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(lt,"66%"),pe.appendChild(lt),jt!==1&&!isNaN(jt)&&(GGBAppletUtils.scaleElement(lt,jt),lt.style.width=Te.width+"px",lt.style.height=Te.height+"px",lt.parentNode.style.width=Te.width*jt+"px",lt.parentNode.style.height=Te.height*jt+"px"),Vn.resize=function(){ue(pe,tn,lt,Ke)},window.addEventListener("resize",function(ct){Vn.resize()}),Vn.resize()};function ue(pe,Te,Ke,tn){if(pe.contains(Te)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(pe.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(pe)}var lt=GGBAppletUtils.getScale(z,pe,tn);Ke.parentNode!==null&&(!isNaN(lt)&<!==1?(GGBAppletUtils.scaleElement(Ke,lt),Ke.parentNode.style.width=z.width*lt+"px",Ke.parentNode.style.height=z.height*lt+"px"):(GGBAppletUtils.scaleElement(Ke,1),Ke.parentNode.style.width=z.width+"px",Ke.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()}}Vn.onExitFullscreen=function(pe,Te){Te.appendChild(pe)};var Ct=function(pe,Te,Ke,tn){Ee(pe,Te,!0);for(var lt=function(){var ln=[];for(ct=0;ct<pe.childNodes.length;ct++)ln.push(pe.childNodes[ct]);if(window.GGBT_wsf_view){var Et=window.GGBT_wsf_view.renderFullScreen(pe,Te.id),le=document.getElementById("fullscreencontainer"),ne=jQuery(pe).find(".fullscreencontent");ne.length>0?(Et.remove(),ne.attr("id","fullscreencontent").show(),jQuery(le).append(ne),window.dispatchEvent(new Event("resize"))):Ze(Et,Te,!1),window.GGBT_wsf_view.launchFullScreen(le)}else yt=tn,Ze(pe,Te,!1);if(!window.GGBT_wsf_view)for(ct=0;ct<ln.length;ct++)pe.removeChild(ln[ct])},jt=pe.getElementsByClassName("ggb_preview_play"),ct=0;ct<jt.length;ct++)jt[ct].addEventListener("click",lt,!1),jt[ct].addEventListener("ontouchstart",lt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(pe),mt()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},He=function(){var pe=document.createElement("div");if(pe.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Te='.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");}',Ke=document.createElement("style");Ke.styleSheet?Ke.styleSheet.cssText=Te:Ke.appendChild(document.createTextNode(Te)),document.getElementsByTagName("head")[0].appendChild(Ke)}return pe},We=function(pe,Te,Ke,tn){var lt=document.createElement("div");lt.className="ggb_preview",lt.style.position="absolute",lt.style.zIndex="90",lt.style.width=pe-2+"px",lt.style.height=Te-2+"px",lt.style.top="0px",lt.style.left="0px",lt.style.overflow="hidden",lt.style.backgroundColor="white";var jt="lightgrey";Ke!==void 0&&(Ke==="none"?jt="transparent":jt=Ke),lt.style.border="1px solid "+jt;var ct=document.createElement("img");if(ct.style.position="relative",ct.style.zIndex="1000",ct.style.top="-1px",ct.style.left="-1px",Ve!==null&&ct.setAttribute("src",Ve),ct.style.opacity=.7,rt!==null){var ln,Et,le;if(!tn){ln=document.createElement("img"),ln.style.position="absolute",ln.style.zIndex="1001",ln.style.opacity=1,ct.style.opacity=.3,Et=360,Et>pe/4*3&&(Et=pe/4*3),le=Et/5.8,ln.setAttribute("src",rt),ln.setAttribute("width",Et),ln.setAttribute("height",le);var ne=(pe-Et)/2,te=(Te-le)/2;ln.style.left=ne+"px",ln.style.top=te+"px",lt.appendChild(ln)}}return lt.appendChild(ct),lt},kt=function(pe){return pe=pe.toLowerCase(),pe==="html5"||pe==="screenshot"?pe:"html5"},Ae=["web","webSimple","web3d","tablet","tablet3d","phone"],ve=function(pe,Te){if(et=pe,Te){gt(et,!0);return}var Ke=!xe;if(Ke){var tn=Me(et);!isNaN(tn)&&tn<4.4&&(Ke=!1)}var lt,jt;window.location.protocol.substr(0,4)==="http"?lt=window.location.protocol:lt="http:";var ct=et.indexOf("//");ct>0?jt=et:ct===0?jt=lt+et:jt="https://www.geogebra.org/apps/5.2.814.0/";for(var ln in Ae)if(et.slice(Ae[ln].length*-1)===Ae[ln]||et.slice((Ae[ln].length+1)*-1)===Ae[ln]+"/"){gt(jt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ke&&!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")?jt+="webSimple/":jt+="web3d/",gt(jt,!1)},gt=function(pe,Te){if(pe.requirejs){Ge=pe;return}pe.slice(-1)!=="/"&&(pe+="/"),Ge=pe,Te===null&&(Te=pe.indexOf("http")===-1),Ce=Te,$e="web.nocache.js",je=!1;var Ke=Ge.split("/");Ke.length>1&&(!Te&&Ke[Ke.length-2]==="webSimple"?($e="webSimple.nocache.js",je=!0):Ae.indexOf(Ke[Ke.length-2])>=0&&($e=Ke[Ke.length-2]+".nocache.js")),Ke=pe.split("/"),et=Ke[Ke.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",Te))},Gt=function(pe,Te){window.console&&window.console.log&&(!Te||typeof Te.showLogging=="undefined"||Te.showLogging&&Te.showLogging!=="false")&&console.log(pe)};z.material_id!==void 0?Zt(Ht):Ht();function Ht(){var pe=hn;be!==null?pe=be:parseFloat(pe)<5&&(pe="5.0"),ve(pe,!1),Fe!==null&>(Fe,Ce),Oe=!0}return Vn},GGBAppletUtils=function(){"use strict";function Vn(){return window.GGBT_wsf_edit!==void 0}function hn(Oe,be){be!=1?(Oe.style.transformOrigin="0% 0% 0px",Oe.style.webkitTransformOrigin="0% 0% 0px",Oe.style.transform="scale("+be+","+be+")",Oe.style.webkitTransform="scale("+be+","+be+")",Oe.style.maxWidth="initial",Oe.querySelector(".ggb_preview")!==null&&(Oe.querySelector(".ggb_preview").style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Oe.style.transform="none",Oe.style.webkitTransform="none")}function z(Oe,be,Fe,ze,Be,fe){var Ge=null;if(fe!=null&&fe!="")for(var Ce=Oe.parentNode;Ce!=null;)if((" "+Ce.className+" ").indexOf(" "+fe+" ")>-1){Ge=Ce;break}else Ce=Ce.parentNode;var yt=0,et=0,$e=0,je=0,Ve=0,rt=0,Nt=0;if(Ge)yt=Ge.offsetWidth,et=Math.max(ze?Ge.offsetWidth:0,Ge.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(yt=Math.min(window.innerWidth,document.documentElement.clientWidth),et=Math.min(window.innerHeight,document.documentElement.clientHeight),$e=yt):(yt=window.innerWidth,et=window.innerHeight,$e=window.innerWidth),Oe){var Ut=Oe.getBoundingClientRect();Ut.left>0&&Ut.left<=yt&&(Be===void 0||!Be)&&(document.dir==="rtl"?(Ve=yt-Ut.width-Ut.left,rt=$e<=480?10:30):(rt=Ut.left,Ve=$e<=480?10:30),je=rt+Ve)}if(Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var se=Oe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je=40,Nt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(je=0,Nt=40)}}return Oe&&((Fe===void 0||!Fe)&&be>0&&be+je<yt?yt=be:yt-=je,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Fe===void 0||!Fe)&&(et-=Nt)),{width:yt,height:et}}function b(Oe,be,Fe,ze,Be){if(Oe.isScreenshoGenerator)return 1;var fe=ze!==void 0&&ze,Ge=Oe.noScaleMargin!=null&&Oe.noScaleMargin,Ce=function(se){return se&&se!=="false"},yt=Ce(Oe.autoHeight),et=z(be,Oe.width,Fe,yt,fe&&window.GGBT_wsf_view||Ge,Be),$e=parseInt(et.width),je=Oe.width,Ve=Oe.height;if(je===void 0){var rt=be.querySelector(".appletParameters");rt&&(je=rt.offsetWidth,Ve=rt.offsetHeight)}var Nt=$e/je,Ut=fe?1:et.height/Ve;return Fe!==void 0&&!Fe&&(Nt=Math.min(1,Nt),Ut=Math.min(1,Ut)),Math.min(Nt,Ut)}function xe(Oe,be,Fe){var ze=1,Be,fe=!1;if(Oe.hasOwnProperty("allowUpscale")&&(fe=Oe.allowUpscale),Oe.hasOwnProperty("scale")&&(ze=parseFloat(Oe.scale),(isNaN(ze)||ze===null||ze===0)&&(ze=1),ze>1&&(fe=!0)),be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe=!0),!(Oe.hasOwnProperty("disableAutoScale")&&Oe.disableAutoScale))Be=b(Oe,be,fe,Fe,Oe.scaleContainerClass);else return ze;return fe&&(!Oe.hasOwnProperty("scale")||ze===1)?Be:Math.min(ze,Be)}function de(Oe){var be=Math.min(window.innerWidth,document.documentElement.clientWidth),Fe=Math.min(window.innerHeight,document.documentElement.clientHeight),ze=Oe.getBoundingClientRect(),Be=(be-ze.width)/2,fe=(Fe-ze.height)/2;fe<0&&(fe=0),Oe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Be<40?Oe.style.left="40px":Oe.style.left=Be+"px",Oe.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?Oe.style.top="40px":Oe.style.top=fe+"px",Oe.style.left=Be+"px")}function tt(Oe,be){var Fe=Oe.querySelector(".appletParameters");if(Fe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(be.id!==Fe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Oe)}if(Fe.parentElement&&/fullscreen/.test(Fe.parentElement.className))return;var ze=xe(be,Oe);Vn()&&Fe.setAttribute("data-param-scale",ze);for(var Be=null,fe=0;fe<Oe.childNodes.length;fe++)if(Oe.childNodes[fe].className!==void 0&&Oe.childNodes[fe].className.match(/^applet_scaler/)){Be=Oe.childNodes[fe];break}if(Be!==null&&Be.querySelector(".noscale")!==null)return;var Ge=be.id!==void 0?be.id:"ggbApplet",Ce=window[Ge];(Ce==null||!Ce.recalculateEnvironments)&&Be!==null&&!Be.className.match(/fullscreen/)&&(Be.parentNode.style.transform="",!isNaN(ze)&&ze!==1?(Be.parentNode.style.width=be.width*ze+"px",Be.parentNode.style.height=be.height*ze+"px",hn(Be,ze)):(hn(Be,1),Be.parentNode.style.width=be.width+"px",Be.parentNode.style.height=be.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&de(Oe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Fe).parents(".content-added-content"))}}return{responsiveResize:tt,isFlexibleWorksheetEditor:Vn,positionCenter:de,getScale:xe,scaleElement:hn}}();__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 Vn=n.location.search;return Vn.indexOf(J)!=-1||Vn.indexOf(K)!=-1}function q(Vn,hn){}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(Vn){var hn=s[L].bindings;s[L].bindings=function(){for(var z=hn?hn():{},b=Vn[webModule.__softPermutationId],xe=O;xe<b.length;xe++){var de=b[xe];z[de[O]]=de[P]}return z}};var t;function u(){return v(),t}function v(){if(!t){var Vn=o.createElement(Q);if(Vn.id=L,Vn.style.cssText=R+S,Vn.tabIndex=-1,o.body.appendChild(Vn),t=Vn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var hn=document.compatMode==U?V:W;t.write(hn+X),t.close()}}}function w(Vn){function hn(b){function xe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var de=xe();if(de){b();return}function tt(){if(!de){if(!xe())return;de=!0,b(),o.removeEventListener&&o.removeEventListener(Z,tt,!1),Oe&&clearInterval(Oe)}}o.addEventListener&&o.addEventListener(Z,tt,!1);var Oe=setInterval(function(){tt()},$)}function z(b){var xe=u(),de=xe.body,tt=xe.createElement(_);tt.language=ab,tt.crossOrigin=W,tt.src=b,webModule.__errFn&&(tt.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),de.appendChild(tt)}hn(function(){z(Vn)})}webModule.__startLoadingFragment=function(Vn){return C(Vn)},webModule.__installRunAsyncCode=function(Vn){var hn=u(),z=hn.body,b=hn.createElement(_);b.language=ab,b.text=Vn,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(Vn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Vn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Vn){var hn=c[Vn];return hn==null?null:hn},r=d,webModule.__errFn=e}function B(){function Vn(Oe){var be=Oe.lastIndexOf(rb);be==-1&&(be=Oe.length);var Fe=Oe.indexOf(sb);Fe==-1&&(Fe=Oe.length);var ze=Oe.lastIndexOf(tb,Math.min(Fe,be));return ze>=O?Oe.substring(O,ze+P):W}function hn(Oe){if(!Oe.match(/^\w+:\/\//)){var be=o.createElement(ub);be.src=Oe+vb,Oe=Vn(be.src)}return Oe}function z(){var Oe=__gwt_getMetaProperty(wb);return Oe!=null?Oe:W}function b(){for(var Oe=o.getElementsByTagName(_),be=O;be<Oe.length;++be)if(Oe[be].src.indexOf(xb)!=-1)return Vn(Oe[be].src);return W}function xe(){var Oe=o.getElementsByTagName(yb);return Oe.length>O?Oe[Oe.length-P].href:W}function de(){var Oe=o.location;return Oe.href==Oe.protocol+zb+Oe.host+Oe.pathname+Oe.search+Oe.hash}var tt=z();return tt==W&&(tt=b()),tt==W&&(tt=xe()),tt==W&&de()&&(tt=Vn(o.location.href)),tt=hn(tt),tt}function C(Vn){return Vn.match(/^\//)||Vn.match(/^[a-zA-Z]+:\/\//)?Vn:webModule.__moduleBase+Vn}function D(){var Vn=[],hn=O,z=[],b=[];function xe(Oe){var be=b[Oe](),Fe=z[Oe];if(be in Fe)return be;var ze=[];for(var Be in Fe)ze[Fe[Be]]=Be;throw r&&r(Oe,ze,be),null}if(__gwt_isKnownPropertyValue=function(Oe,be){return be in z[Oe]},webModule.__getPropMap=function(){var Oe={};for(var be in z)z.hasOwnProperty(be)&&(Oe[be]=xe(be));return Oe},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var de;try{de=Cb;var tt=de.indexOf(Db);tt!=-1&&(hn=parseInt(de.substring(tt+P),$),de=de.substring(O,tt))}catch(Oe){}return webModule.__softPermutationId=hn,C(de+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(Vn,hn,z){"use strict";z.d(hn,{Ax:function(){return tt},Ds:function(){return Oe},KI:function(){return Fe},SI:function(){return de},f1:function(){return xe}});var b=z(74128);function xe(ze){let Be=!0;if(ze.length>0){for(let fe=0;fe<ze.length;fe++)if(ze[fe].compile_success==0||!ze[fe].compile_success){Be=!1;break}}else Be=!1;return Be}function de(ze,Be=""){let fe=[];for(let Ge=0;Ge<ze.length;Ge++){let Ce=ze[Ge],yt=Be?`${Be}/${Ce.name}`:`${Ce.name}`;fe.push({title:Ce.name,type:Ce.type,isLeaf:Ce.type!=="tree",key:yt})}return fe}function tt(ze,Be,fe){for(let Ge=0;Ge<ze.length;Ge++){let Ce=ze[Ge];if(Ce.key===Be){Ce.children=fe;break}Ce.children&&tt(Ce.children,Be,fe)}return ze}function Oe(ze,Be,fe){let Ge;return function(){let Ce=this,yt=arguments,et=function(){Ge=null,fe||ze.apply(Ce,yt)},$e=fe&&!Ge;clearTimeout(Ge),Ge=setTimeout(et,Be),$e&&ze.apply(Ce,yt)}}const be=!0,Fe=b.Z.API_SERVER},16750:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ge}});var b=z(59301),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},de=z(92310),tt=z.n(de),Oe=z(29787),be=z(2859),Fe=z(38147),ze=z(65862),Be=(Ce,yt,et)=>new Promise(($e,je)=>{var Ve=Ut=>{try{Nt(et.next(Ut))}catch(se){je(se)}},rt=Ut=>{try{Nt(et.throw(Ut))}catch(se){je(se)}},Nt=Ut=>Ut.done?$e(Ut.value):Promise.resolve(Ut.value).then(Ve,rt);Nt((et=et.apply(Ce,yt)).next())}),Ge=({data:Ce,className:yt,fullWidth:et,style:$e={},onClose:je,onOk:Ve,showFullTools:rt,noAssociationId:Nt})=>{const Ut=(0,b.useRef)(null),se=(0,b.useRef)(null),Me=(0,b.useRef)(null),ft=(0,b.useRef)(null),[mt,Zt]=(0,b.useState)(!1),[Je,at]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(Me.current||(Me.current=document.createElement("style"),document.head.appendChild(Me.current)),Ce!=null&&Ce.visible?(document.body.setAttribute("data-custom","y-hidden"),Me.current.innerHTML=" html { overflow-y: hidden; }",Ce!=null&&Ce.src&&dt()):(document.body.removeAttribute("data-custom"),Me.current&&(document.head.removeChild(Me.current),Me.current=null)),()=>{document.body.removeAttribute("data-custom"),Me.current&&(document.head.removeChild(Me.current),Me.current=null)}),[Ce==null?void 0:Ce.visible]);const dt=()=>Be(void 0,null,function*(){Zt(!0),at("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ue=yield(0,ze.ZJ)(Ce==null?void 0:Ce.src);Ut.current.src="",Ut.current.src=ue,Ut.current.onload=function(){Ee()},Zt(!1),at("")}),Pe=ue=>Be(void 0,null,function*(){Zt(!0),at("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ct=yield(0,Fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ce.title,file:ue.dataUrl}});Ct!=null&&Ct.id&&!Nt?(yield(0,Fe.ZP)(`/api/attachments/${Ce.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ct==null?void 0:Ct.id,settings:JSON.stringify(ue.state)}})).status===0&&Ve():Ct!=null&&Ct.id&&Ve(Ct),Zt(!1),at("")}),Ze=()=>{const ue=document.querySelector('a[href="https://markerjs.com/"]');ue&&ue.parentNode&&(ue.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(He=>{const We=document.querySelector(He.name);We&&We.setAttribute("title",He.title)})},Ee=()=>{se.current=new be.hP(Ut.current),se.current.targetRoot=ft.current,se.current.addEventListener("render",Pe),se.current.addEventListener("beforeclose",je),rt&&(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(),Ce!=null&&Ce.snapshotData&&se.current.restoreState(Ce.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ze()},300)};return b.createElement(b.Fragment,null,(Ce==null?void 0:Ce.visible)&&b.createElement(Oe.Z,{spinning:mt,tip:Je,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:ft,className:tt()(xe.imageDimensions,yt,et?xe.fullWidth:""),style:$e},b.createElement("img",{className:xe.img,ref:Ut}))))}},99298:function(Vn,hn,z){"use strict";var b=z(59301),xe=z(77019),de=z(5269),tt=z(31691),Oe=z(7939),be=z(95097),Fe=z(96408),ze=z(48136),Be=z(59301);const fe=(0,b.forwardRef)(({callback:Ge,showSaveButton:Ce,value:yt=""},et)=>{const $e=(0,b.useRef)(),je=[{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 "}]}]}],Ve=[{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}`}]}]}],rt=se=>{$e.current.setValue($e.current.getValue()+" "+se.value+" ")},Nt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Be.createElement(xe.Z,{className:Fe.Z.lists,gutter:[10,10]},je.map((se,Me)=>Be.createElement(de.Z,{flex:"110px",className:Fe.Z.item},Be.createElement("div",null,Be.createElement(be.Z,{value:`$$${se.value}$$`}),se.name),Be.createElement("div",{className:Fe.Z.children},se.children.map((ft,mt)=>Be.createElement("div",{key:mt},Be.createElement("h1",null,ft.name),Be.createElement(xe.Z,{gutter:[10,10]},ft.data.map((Zt,Je)=>Be.createElement(de.Z,{key:Je,onClick:()=>rt(Zt),className:Fe.Z.diamond},Be.createElement(be.Z,{value:"`$$"+Zt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Be.createElement(xe.Z,{className:Fe.Z.lists,gutter:[10,10]},Ve.map((se,Me)=>Be.createElement(de.Z,{flex:"110px",className:Fe.Z.item},Be.createElement("div",null,Be.createElement(be.Z,{value:"`$$"+se.value+"$$`"}),se.name),Be.createElement("div",{className:Fe.Z.children},se.children.map((ft,mt)=>Be.createElement("div",{key:mt},ft.name&&Be.createElement("h1",null,ft.name),Be.createElement(xe.Z,{gutter:[10,10]},ft.data.map((Zt,Je)=>Be.createElement(de.Z,{key:Je,onClick:()=>rt(Zt),className:Fe.Z.diamond},Be.createElement(be.Z,{value:"`$$"+Zt.value+"$$`"}))))))))))}],Ut=()=>{var se=document.createElement("div");se.innerHTML=$e.current.getValue();var Me=se.innerText;return Ge&&Ge(Me),Me};return(0,b.useImperativeHandle)(et,()=>({getData:Ut})),Be.createElement("div",{className:Fe.Z.mathWrap},Be.createElement(tt.default,{defaultActiveKey:"1",items:Nt}),Be.createElement("math-field",{locale:"zh_cn",className:Fe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:$e,style:{width:800,marginTop:30,fontSize:18}},yt||""),Ce&&Be.createElement("div",{className:Fe.Z.button},Be.createElement(Oe.ZP,{size:"large",onClick:Ut,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});hn.Z=fe},2524:function(Vn,hn,z){"use strict";var b=z(59301),xe=z(93314),de=z(7939),tt=Object.defineProperty,Oe=Object.defineProperties,be=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,fe=(et,$e,je)=>$e in et?tt(et,$e,{enumerable:!0,configurable:!0,writable:!0,value:je}):et[$e]=je,Ge=(et,$e)=>{for(var je in $e||($e={}))ze.call($e,je)&&fe(et,je,$e[je]);if(Fe)for(var je of Fe($e))Be.call($e,je)&&fe(et,je,$e[je]);return et},Ce=(et,$e)=>Oe(et,be($e));const yt=({img:et,buttonProps:$e={},styles:je={},customText:Ve,ButtonText:rt,ButtonClick:Nt,Buttonclass:Ut,ButtonTwo:se,imgStyles:Me,loading:ft=!1,className:mt=""})=>b.createElement("section",{className:`tc animated fadeIn ${mt}`,style:Ge({color:"#999",margin:"100px auto",visibility:ft?"hidden":"visible"},je)},b.createElement("img",{src:et||xe,style:Ce(Ge({},Me),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},Ve||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),rt&&b.createElement(de.ZP,Ge({className:Ut,onClick:Nt},$e),rt),se&&se);hn.Z=yt},4324:function(Vn,hn,z){"use strict";z.d(hn,{Q:function(){return be}});var b=z(59301),xe=z(82326),de=z(47889),tt=z(4875),Oe=z(59301),be=(ze=>(ze[ze.Number=1]="Number",ze[ze.Percent=2]="Percent",ze))(be||{});const Fe=({value:ze,onChange:Be,disabled:fe,hidePercentOption:Ge=!1,percentType:Ce="select"})=>{const yt=(0,b.useMemo)(()=>Ge?1:2,[Ge]),[et,$e]=(0,b.useState)(yt);console.log(et);const je=rt=>ze.type===1?`${rt}\u5206`:`${rt}%`,Ve=(0,b.useCallback)(rt=>{if(et===1){const Nt=rt.replace("\u5206","");return isNaN(parseInt(Nt,10))?0:Nt}else return rt.replace("%","")},[et]);return(0,b.useEffect)(()=>{$e(ze.type)},[ze]),Oe.createElement("div",{style:{display:"flex",alignItems:"center"}},Ce=="select"&&Oe.createElement(xe.default,{size:"large",onChange:rt=>{$e(rt),Be({type:rt,inputValue:rt===1?5:20})},value:et||yt,style:{width:100},options:Ge?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:fe}),Ce=="radio"&&Oe.createElement(de.ZP.Group,{size:"large",onChange:rt=>{const Nt=rt.target.value;$e(Nt),Be({type:Nt,inputValue:Nt===1?5:20})},value:et||yt,disabled:fe},!Ge&&Oe.createElement(de.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Oe.createElement(de.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Ce=="radio"&&Oe.createElement("div",{style:{marginRight:"10px",color:"#000000"}},ze.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Oe.createElement(tt.Z,{size:"large",disabled:fe,value:ze.inputValue,style:{width:"120px"},parser:Ve,addonAfter:ze.type===1?"\u5206":"%",max:et===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:rt=>{Be({type:et,inputValue:rt})}}),Ce=="radio"&&ze.type==2&&Oe.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};hn.Z=Fe},52918:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ut}});var b=z(59301),xe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},de=z(7939),tt=z(70557),Oe=z(50258),be=z(25399),Fe=z(65862),ze=z(87513),Be=z(2524),fe=z(74128),Ge=z(7310),Ce=z(59301),yt=Object.defineProperty,et=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ve=(se,Me,ft)=>Me in se?yt(se,Me,{enumerable:!0,configurable:!0,writable:!0,value:ft}):se[Me]=ft,rt=(se,Me)=>{for(var ft in Me||(Me={}))$e.call(Me,ft)&&Ve(se,ft,Me[ft]);if(et)for(var ft of et(Me))je.call(Me,ft)&&Ve(se,ft,Me[ft]);return se},Nt=(se,Me,ft)=>new Promise((mt,Zt)=>{var Je=Pe=>{try{dt(ft.next(Pe))}catch(Ze){Zt(Ze)}},at=Pe=>{try{dt(ft.throw(Pe))}catch(Ze){Zt(Ze)}},dt=Pe=>Pe.done?mt(Pe.value):Promise.resolve(Pe.value).then(Je,at);dt((ft=ft.apply(se,Me)).next())}),Ut=({editOffice:se="view",data:Me,issaver:ft,onSaver:mt,theme:Zt,type:Je,filename:at,monacoEditor:dt,className:Pe,style:Ze,close:Ee,onClose:ue,hasMask:Ct,disabledDownload:He,onImgDimensions:We,showNodata:kt,recordInfo:Ae})=>{const[ve,gt]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Gt,Ht]=(0,b.useState)(""),[pe,Te]=(0,b.useState)(),Ke=window.ENV==="build"?"/react/build":"",tn=location.host.startsWith("localhost")?fe.Z.PROXY_SERVER:fe.Z.API_SERVER,jt=10*(1024*1024),ct=(0,b.useRef)();Me!=null&&Me.startsWith("/api")&&Je!=="txt"&&(Me=fe.Z.API_SERVER+Me);const ln=ae=>ae.substring(ae.lastIndexOf("/")+1).split(".").pop();at&&dt&&(dt.filename=at),(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(ce=>{let De=ce.split("=");De[0]==="_educoder_session"&&Ht(De[1])})},[]),(0,b.useEffect)(()=>{Je==="office"&&(Me.indexOf("bigfilescdn.")>-1||Me.indexOf("bigfiles1")>-1?Te({url:Me,fileType:ln(Me),model:Me.indexOf("model=edit")?"edit":"view"}):le())},[Je,Me]);function Et(ae){return Nt(this,null,function*(){ae.data.type==="pdfdata"&&(mt(ae.data.data),window.removeEventListener("message",Et,!1)),console.log("mess---:",ae.data)})}const le=()=>Nt(void 0,null,function*(){console.log("data:",Me);let ae=Me;Me.startsWith("http")||(ae=location.origin+ae);let he=new URL(ae).pathname.split("/").pop();const re=yield(0,ze.gJ)({attachment_id:he});re.url=tn+re.url,Te(re)}),ne=()=>{if(Me.startsWith("http")||Me.startsWith("blob:")){te();return}(0,Fe.Sv)(at||"educoder",Me,at)},te=()=>{Ae&&(0,Ge.fc)({id:Ae==null?void 0:Ae.id,watch_type:1,course_id:Ae==null?void 0:Ae.course_id}),(0,Fe.Nd)(at||"educoder",decodeURIComponent(Me))};return Ce.createElement("div",{style:rt({},Ze||{}),className:`${Ct&&xe.bgBlack} ${Je?xe.wrp:"hide"}`},Ee&&Ce.createElement("div",{className:xe.close,ref:ct},!!We&&Ce.createElement(be.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ct.current},Ce.createElement("span",{onClick:()=>{ue(),We()}},Ce.createElement("i",{className:"icon-yulanpizhu"}))),!He&&Ce.createElement(be.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ct.current},Ce.createElement("span",{onClick:te},Ce.createElement("i",{className:"icon-quxiaozhiding"}))),ft&&Ce.createElement(be.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ct.current},Ce.createElement("span",{className:"",onClick:()=>{const ae=document.getElementById("pdfiframe");window.addEventListener("message",Et,!1),setTimeout(()=>{ae.contentWindow.postMessage("getData","*")},300)}},Ce.createElement("i",{className:"icon-baocun"}))),Ce.createElement(be.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ct.current},Ce.createElement("span",{className:"",onClick:()=>{ue()}},Ce.createElement("i",{className:"icon-guanbi1"})))),Ce.createElement("div",{className:`${xe[Pe]} ${Pe} ${xe.monaco} ${Je==="txt"?"show":"hide"}`},Je==="txt"&&Ce.createElement(Ce.Fragment,null,Ce.createElement(Oe.ZP,rt({},dt)))),Je==="audio"&&Ce.createElement("audio",{src:`${(Me==null?void 0:Me.indexOf("http://"))>-1||(Me==null?void 0:Me.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Me}`,autoPlay:!0}),Je==="video"&&Ce.createElement(Ce.Fragment,null,(Me==null?void 0:Me.indexOf("http"))>-1?Ce.createElement("video",{controls:!0,src:`${Me}`,autoPlay:!0}):Ce.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Me}`,autoPlay:!0})),Je==="office"&&pe&&Ce.createElement("iframe",{src:`${Ke}/office.html?key=${pe.key}&url=${btoa(pe.url)}&callbackUrl=${tn+(pe.callbackUrl||"")}&fileType=${pe.fileType}&title=${pe.title||""}&model=${se}&officeServer=${fe.Z.ONLYOFFICE}&disabledDownload=${!!He}`}),Je==="html"&&Ce.createElement("iframe",{src:Me+"&disposition=inline"}),Je==="pdf"&&Ce.createElement("iframe",{id:"pdfiframe",src:`${Ke}/js/pdf/index.html?filename=${at||"educoder.pdf"}&url=${encodeURIComponent(Me)}&disabledDownload=${!!He}&model=${se}`}),Je==="image"&&Ce.createElement("img",{src:`${(Me==null?void 0:Me.indexOf("http://"))>-1||(Me==null?void 0:Me.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Me}`}),(Je==="other"||Je==="download")&&Ce.createElement(Ce.Fragment,null,kt?Ce.createElement(Be.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Ce.createElement(de.ZP,{icon:Ce.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:He},"\u4E0B\u8F7D")}):Ce.createElement(de.ZP,{type:"primary",size:"middle",onClick:ne,disabled:He},Ce.createElement(tt.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Je==="flowChart"&&Ce.createElement("div",{className:"embed"},Ce.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Me||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},95097:function(Vn,hn,z){"use strict";z.d(hn,{z:function(){return dt},Z:function(){return Pe}});var b=z(59301),xe=z(48850),de=z(49142),tt=z(64018),Oe=z(16471),be=z(74128),Fe=z(65862),ze=z(15342),Be=z(44104),fe=z(7939),Ge=z(1012),Ce=z(52918),yt=z(59301),$e=({html:Ze})=>{const Ee=(0,b.useRef)(null),ue=(0,b.useRef)(null),Ct=`.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 He=Ee.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=Ze,He.appendChild(ue.current);const We=document.createElement("style");return We.textContent=Ct,He.appendChild(We),()=>{He.innerHTML=""}},[]),(0,b.useEffect)(()=>{ue.current&&(ue.current.innerHTML=Ze)},[Ze]),yt.createElement("div",{ref:Ee})};function je(Ze){const Ee=["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"],ue=new RegExp(`\\b(${Ee.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return Ze.replace(ue,"").trim()}var Ve={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},rt=Object.defineProperty,Nt=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,Me=(Ze,Ee,ue)=>Ee in Ze?rt(Ze,Ee,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Ze[Ee]=ue,ft=(Ze,Ee)=>{for(var ue in Ee||(Ee={}))Ut.call(Ee,ue)&&Me(Ze,ue,Ee[ue]);if(Nt)for(var ue of Nt(Ee))se.call(Ee,ue)&&Me(Ze,ue,Ee[ue]);return Ze};const mt="@\u2581\u2581@",Zt="@\u2581@",Je=/<pre[^>]*>/g;function at(Ze){let Ee=document.createElement("div");return Ee.innerHTML=Ze,Ee.childNodes.length===0?"":Ee.childNodes[0].nodeValue}const dt=(Ze,Ee)=>{Ze=Ze||"";const ue=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ct=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,He=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,We=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Ee?Ze.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(kt,Ae,ve,gt,Gt,Ht,pe)=>{const Te=Ae||gt||Ht,Ke=ve||Gt||pe||"?";return be.Z.API_SERVER+"/api/attachments/"+Te+Ke+"&t="+(0,Fe.Jn)(Te,Date.now())+(kt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Ze=Ze.replace(We,(kt,Ae,ve,gt,Gt,Ht,pe)=>{const Te=Ae||gt||Ht,Ke=ve||Gt||pe||"?";return be.Z.API_SERVER+"/attachments/download/"+Te+Ke+"&t="+(0,Fe.Jn)(Te,Date.now())+(kt.indexOf(")")>-1?")":"&")}).replace(ue,(kt,Ae,ve,gt,Gt,Ht,pe)=>{const Te=Ae||gt||Ht,Ke=ve||Gt||pe||"?";return be.Z.API_SERVER+"/api/attachments/"+Te+Ke+"&t="+(0,Fe.Jn)(Te,Date.now())+(kt.indexOf(")")>-1?")":"&")}).replace(Ct,(kt,Ae,ve,gt,Gt)=>{const Ht=Ae||gt,pe=ve||Gt||"";return'"'+be.Z.API_SERVER+"/api/attachments/"+Ht+pe+Ht+pe+"&t="+(0,Fe.Jn)(Ht,Date.now())}).replace(He,(kt,Ae,ve,gt,Gt)=>{const Ht=Ae||gt,pe=ve||Gt||"";return"("+be.Z.API_SERVER+"/files/uploads/"+Ht+pe+Ht+pe+"&t="+(0,Fe.Jn)(Ht,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,`
|
|
|
`),Ze)};var Pe=({value:Ze="",edit:Ee=!1,className:ue,showTextOnly:Ct,showLines:He,style:We={},stylesPrev:kt={},highlightKeywords:Ae,showProgramFill:ve,isProgramFill:gt,disabledFill:Gt=!1,programFillValue:Ht,openEditor:pe=()=>{},onFillChange:Te=lt=>{},onFillBlur:Ke=()=>{},onFillFocus:tn=()=>{}})=>{let lt=je(String(Ze||""));const jt=(0,b.useRef)(),ct=(0,b.useRef)(),[ln,Et]=(0,b.useState)(""),[le,ne]=(0,b.useState)("office"),[te,ae]=(0,b.useState)([]),he=(0,b.useRef)("a"+(0,Ge.Z)()),re={},ce=Xt=>/<style[\s\S]*?>/i.test(Xt||""),De=(Xt,an,mn)=>{const vt=document.createElement(Xt===Zt?"input":"textarea");vt.style.width="100%",vt.style.height=Xt===Zt?"40px":"151px",vt.rows=5,vt.spellcheck=!1,vt.name="edu-program-fill",vt.placeholder="\u8BF7\u8F93\u5165",vt.dataset.id=an;const Yt=Object.keys(re).length;return re[Yt]=vt,`<span class="edu-program-fill-wrap ${Xt===Zt?"":"show"}" style="width:${Xt===Zt?"600px":"100%"}" title=${mn||""}><span>${vt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function st(Xt){return Xt=Xt.replace(/!\[.*?\]\(.*?\)/g,""),Xt=Xt.replace(/\[.*?\]\(.*?\)/g,""),Xt=Xt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Xt=Xt.replace(/<embed.*?>/g,""),Xt=Xt.replace(/<img.*?>/g,""),Xt=Xt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Xt=Xt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Xt=Xt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Xt=Xt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Xt}const Qe=Xt=>!Ct&&ce(lt)?Xt:Xt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(an,mn){let vt=mn.replace(/(\n|\r)/g,"").split("}"),Yt=[];return vt.map(gn=>{gn!=""&&Yt.push(`.${he.current} ${gn}`)}),`<style>${Yt.join("}")}</style>`}),Ie=(0,b.useMemo)(()=>{try{const vt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Yt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,gn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,At=/\(\/attachments\/download\//g;lt=lt.replace(At,"("+be.Z.API_SERVER+"/attachments/download/").replace(vt,"("+be.Z.API_SERVER+"/api/attachments/").replace(Yt,'"'+be.Z.API_SERVER+"/api/attachments/").replace(gn,'"'+be.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,`
|
|
|
`),jt.current.style.display="none"}catch(vt){}if(ve){let vt=-1;return lt=lt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Yt,gn,At){var _e;return++vt,De(Yt,vt,(_e=Ht==null?void 0:Ht[vt])==null?void 0:_e.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Qe(lt||"")}</pre>`}let Xt=Qe(lt);Xt=(0,de.ZP)(Xt);const an=(0,de.ez)();lt.match(/\[TOC\]/)&&(Xt=Xt.replace("<p>[TOC]</p>",(0,de.Qv)()),(0,de.Iy)()),Xt=Xt.replace(/(__special_katext_id_\d+__)/g,(vt,Yt)=>{const{type:gn,expression:At}=an[Yt];return(0,ze.renderToString)(at(At)||"",{displayMode:gn==="block",throwOnError:!1,output:"html"})}),Xt=Xt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,de.AL)();const mn=document.createElement("div");if(mn.innerHTML=Xt,Ct)return mn.innerText;if(Ae){const vt=Ae.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Le(mn,vt),mn.innerHTML}return setTimeout(()=>Wt(),500),mn.innerHTML},[lt,Ae]);(0,b.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(an=>{an.oninput=pt,an.onblur=Pt,an.onfocus=Tt})},[te]),(0,b.useEffect)(()=>{var Xt,an,mn,vt,Yt;if(Ht!=null&&Ht.length)try{const gn=Ue.current.querySelectorAll(".edu-program-fill-score"),At=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[_e,Vt]of At.entries())Vt.value=((Xt=Ht==null?void 0:Ht[_e])==null?void 0:Xt.value)||"",((an=Ht==null?void 0:Ht[_e])==null?void 0:an.type)==="warning"?Vt.className="program-fill-warning":((mn=Ht==null?void 0:Ht[_e])==null?void 0:mn.type)==="success"?Vt.className="program-fill-success":Vt.className="";for(const[_e,Vt]of gn.entries())Vt.innerHTML=(vt=Ht==null?void 0:Ht[_e])!=null&&vt.score?`${(Yt=Ht==null?void 0:Ht[_e])==null?void 0:Yt.score}\u5206`:"";ae(Ht)}catch(gn){console.log(gn,"error")}},[Ht]);const pt=Xt=>{te[Xt.target.dataset.id]=te[Xt.target.dataset.id]||{},te[Xt.target.dataset.id].value=Xt.target.value,ae([...te]),Te(te,Xt.target.dataset.id)},Pt=Xt=>{te[Xt.target.dataset.id]=te[Xt.target.dataset.id]||{},te[Xt.target.dataset.id].value=Xt.target.value,ae([...te]),Ke(te,Xt.target.dataset.id)},Tt=Xt=>{te[Xt.target.dataset.id]=te[Xt.target.dataset.id]||{},te[Xt.target.dataset.id].value=Xt.target.value,ae([...te]),tn(te,Xt.target.dataset.id)};function Le(Xt,an){return Xt.childNodes.forEach(mn=>{var vt;if(mn.childNodes.length>0)Le(mn,an);else if(mn.nodeName!=="IMG")if(mn.innerHTML)mn.innerHTML=(vt=mn.innerHTML)==null?void 0:vt.replace(new RegExp(an,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Yt=document.createElement("span");Yt.innerHTML=mn.textContent.replace(new RegExp(an,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),mn.replaceWith(Yt)}})}const Ue=(0,b.useRef)();de.jb.WebkitLineClamp=He,He&&(We=ft(ft({},We),de.jb));function pn(Xt){let an=Xt.target;if(an.tagName.toUpperCase()==="A"){let mn=an.getAttribute("href");if(mn.indexOf("office")>-1)Xt.preventDefault(),Et(mn),ne("office");else if(mn.indexOf("application/pdf")>-1)Xt.preventDefault(),Et(mn),ne("pdf");else if(mn.indexOf("text/html")>-1)Xt.preventDefault(),Et(mn),ne("html");else if(mn.startsWith("#")){Xt.preventDefault();let vt=document.getElementById(mn.replace("#",""));vt&&vt.scrollIntoView(!0)}}}const Wt=()=>{var Xt;const an=(Xt=Ue.current)==null?void 0:Xt.querySelectorAll("video");an==null||an.forEach(mn=>{if(mn.oncontextmenu=()=>!1,mn.src.indexOf(".m3u8")>-1&&!mn.canPlayType("application/vnd.apple.mpegurl")){if(Oe.ZP.isSupported()){var vt=new Oe.ZP;vt.loadSource(mn.src),vt.attachMedia(mn)}}})};(0,b.useEffect)(()=>{if(Ue.current&&Ie&&Ie.match(Je)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",pn),()=>{var Xt;(Xt=Ue.current)==null||Xt.removeEventListener("click",pn),(0,de.AL)(),(0,de.Iy)()}},[Ie,Ue.current,pn]);const Cn=Xt=>{Xt.target.nodeName==="IMG"&&Xt.target.className.indexOf("draw-flowchart")>-1?(jt.current.style.zIndex=1,jt.current.style.display="flex",jt.current.style.width=Xt.target.clientWidth+"px",jt.current.style.height=Xt.target.clientHeight+"px",jt.current.style.top=Xt.target.offsetTop+"px",jt.current.style.left=Xt.target.offsetLeft+"px",Xt.target.id&&(ct.current=Xt.target.id)):jt.current.style.display="none"},cn=()=>{jt.current.style.display="none"};return(0,b.useEffect)(()=>{var Xt;const an=mn=>{mn.preventDefault(),mn.clipboardData.setData("text",window.getSelection().toString())};return(Xt=Ue.current)==null||Xt.addEventListener("copy",an),()=>{var mn;(mn=Ue.current)==null||mn.removeEventListener("copy",an)}},[Ue.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:cn},Ct&&b.createElement("div",{ref:Ue,className:`${Ve.mdBody} `},Ie),!Ct&&!ce(Ie)&&b.createElement("div",{ref:Ue,style:ft({},We),onMouseOver:Cn,className:`${ue||""} ${Gt?"disabled-fill":""} markdown-body ${Ve.mdBody} ${he.current}`,dangerouslySetInnerHTML:{__html:Ie}}),!Ct&&ce(Ie)&&b.createElement($e,{html:Ie}),b.createElement("div",{ref:jt,className:`${Ve.button} ${Ee?"":Ve.previewFlowChart}`},b.createElement(Be.Z,null,b.createElement(fe.ZP,{onClick:()=>{Ee?pe(ct.current):(Et(ct.current),ne("flowChart"))}},Ee?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(Ce.Z,{close:!0,data:ln,type:ln!=null&&ln.length?le:"",style:ft({},kt),onClose:()=>Et("")}))}},83028:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});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"},de=z(62957),tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",be=(Be,fe,Ge)=>new Promise((Ce,yt)=>{var et=Ve=>{try{je(Ge.next(Ve))}catch(rt){yt(rt)}},$e=Ve=>{try{je(Ge.throw(Ve))}catch(rt){yt(rt)}},je=Ve=>Ve.done?Ce(Ve.value):Promise.resolve(Ve.value).then(et,$e);je((Ge=Ge.apply(Be,fe)).next())}),ze=({type:Be,resdata:fe,onok:Ge,oktext:Ce,okloading:yt})=>{const[et,$e]=(0,b.useState)(!1),{can_copy_list:je,can_copy_num:Ve,challenge_type:rt,course_data_list:Nt,no_copy_list:Ut,no_copy_num:se,no_use_list:Me,no_use_num:ft,repeat_shixun_num:mt,student_count:Zt,total_num:Je,use_num:at}=fe;let dt=Ve>0||Be==="exercise";(0,b.useEffect)(()=>{(fe==null?void 0:fe.student_count)>0&&$e(!0)},[fe]),console.log("---11",yt),(0,b.useEffect)(()=>{yt||$e(!1)},[yt]);const Pe=()=>{if(Be==="exercise"&&rt===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Zt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},at),"\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(Be==="exercise"&&rt===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Zt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},at),"\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(Be==="shixun"&&rt===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Zt),"\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(Be==="shixun"&&rt===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Zt),"\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(Be==="subject"&&rt===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Zt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},at),"\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(Be==="subject"&&rt===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:xe.orangeColor},Zt)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:xe.orangeColor},at)," \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(Be==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Zt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},at),"\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(Be==="shixunpush"&&rt===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Zt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:xe.orangeColor},at),"\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(Be==="shixunpush"&&rt===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:xe.orangeColor},Zt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:xe.orangeColor},at),"\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"))},Ze=()=>{if(Be==="exercise"||Be==="subject"||Be==="exercisepush"||Be==="shixunpush")return b.createElement("div",{style:{marginTop:20}},se>0&&b.createElement("div",null,b.createElement("span",{className:xe.flex},b.createElement("img",{src:Oe,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},Be==="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"),(Be==="subject"||Be==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",dt&&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"),Be==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",dt&&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,Ut==null?void 0:Ut.map((Ee,ue)=>b.createElement("a",{href:`/shixuns/${Ee.identifier}/challenges`,target:"_blank"},"\u300A",Ee==null?void 0:Ee.name,"\u300B",ue+1!==se&&"\u3001"))))),Ve>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:xe.flex},b.createElement("img",{src:tt,style:{width:14}}),b.createElement("span",{className:xe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:xe.statusbody},Be==="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"),(Be==="subject"||Be==="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"),Be==="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,je==null?void 0:je.map((Ee,ue)=>b.createElement("a",{href:`/shixuns/${Ee.identifier}/challenges`,target:"_blank"},"\u300A",Ee==null?void 0:Ee.name,"\u300B",ue+1!==Ve&&"\u3001"))))));if(Be==="shixun")return b.createElement("div",{style:{marginTop:20}},Ve>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(de.default,{open:et,onCancel:()=>{$e(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!dt&&"none"}},zIndex:1003,confirmLoading:yt,okText:dt?Ce:"\u6211\u77E5\u9053\u4E86",onOk:()=>be(void 0,null,function*(){dt?yield Ge([...je,...Me]):$e(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Pe(),Ze()))}},85533:function(Vn,hn,z){"use strict";z.d(hn,{h:function(){return se}});var b=z(59301),xe=z(82326),de=z(28284),tt=z(7939),Oe=z(89780),be=z.n(Oe),Fe=z(45559),ze=z(42313),Be=Object.defineProperty,fe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,$e=(Me,ft,mt)=>ft in Me?Be(Me,ft,{enumerable:!0,configurable:!0,writable:!0,value:mt}):Me[ft]=mt,je=(Me,ft)=>{for(var mt in ft||(ft={}))yt.call(ft,mt)&&$e(Me,mt,ft[mt]);if(Ce)for(var mt of Ce(ft))et.call(ft,mt)&&$e(Me,mt,ft[mt]);return Me},Ve=(Me,ft)=>fe(Me,Ge(ft));const rt=xe.default.Option,Nt={labelCol:{span:4},wrapperCol:{span:20}},Ut={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"]};hn.Z=({callback:Me,onCancel:ft})=>{const[mt,Zt]=(0,b.useState)("python");function Je(dt){Zt(Ut[dt][1])}function at(dt){Me(dt)}return b.createElement(de.default,Ve(je({},Nt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:at,style:{width:500}}),b.createElement(de.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(xe.default,{getPopupContainer:dt=>dt.parentNode,onChange:Je},Object.keys(Ut).map(dt=>b.createElement(rt,{key:dt,value:dt},Ut[dt][0])))),b.createElement(de.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(se,{mode:mt})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(tt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(tt.ZP,{type:"ghost",onClick:ft},"\u53D6\u6D88")))};function se({value:Me,onChange:ft,mode:mt,options:Zt={}}){const Je=(0,b.useRef)(),[at,dt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(at){let Pe=function(Ze){const Ee=Ze.getValue();ft&&ft(Ee)};return at.on("change",Pe),()=>{at.off("change",Pe)}}},[at,ft]),(0,b.useEffect)(()=>{at&&at.setOption("mode",mt)},[at,mt]),(0,b.useEffect)(()=>{at&&(Me!==at.getValue()||Me==="")&&setTimeout(()=>{at.setValue(Me||"")},300)},[at,Me]),(0,b.useEffect)(()=>{if(Je.current&&!at){const Pe=be().fromTextArea(Je.current,je({mode:mt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Zt));dt(Pe)}},[Je.current,at]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Je}))}},25374:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return nr}});var b=z(59301),xe=z(65582),de=z(89780),tt=z.n(de),Oe=z(76374),be=z(45559),Fe=z(6313),ze=z(25717),Be=z(99498),fe=z(25419),Ge=z(67549),Ce=z(95097),yt=({value:jn="",className:xn,showTextOnly:ut,showLines:qt,style:Dt={}})=>{const sn=(0,b.useMemo)(()=>"",[jn]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:sn}}))},et=Object.defineProperty,$e=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,Ut=(jn,xn,ut)=>xn in jn?et(jn,xn,{enumerable:!0,configurable:!0,writable:!0,value:ut}):jn[xn]=ut,se=(jn,xn)=>{for(var ut in xn||(xn={}))rt.call(xn,ut)&&Ut(jn,ut,xn[ut]);if(Ve)for(var ut of Ve(xn))Nt.call(xn,ut)&&Ut(jn,ut,xn[ut]);return jn},Me=(jn,xn)=>$e(jn,je(xn));let ft=[{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 mt({onActionCallback:jn,title:xn,icon:ut,actionName:qt,className:Dt="",children:sn}){function Sn(){jn(qt)}return b.createElement("a",{title:xn,className:Dt,onClick:Sn},b.createElement("i",{className:`${ut}`}),sn)}var Zt=({watch:jn,showNullButton:xn,showNullProgramButton:ut,onActionCallback:qt,fullScreen:Dt,insertTemp:sn,hidetoolBar:Sn,extraUse:vn})=>{const Bn=[...ft,{title:`${jn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${jn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!Sn&&Bn.map((Un,Yn)=>b.createElement("li",{key:Yn},Un.actionName?b.createElement(mt,Me(se({},Un),{onActionCallback:qt})):b.createElement("span",{className:"v-line"}))),xn?b.createElement("li",null,b.createElement(mt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:qt},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,ut?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(mt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:qt},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(mt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:qt},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,sn&&b.createElement("li",null,b.createElement(mt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${sn}`,onActionCallback:qt},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),vn&&b.createElement("li",null,vn),b.createElement("li",{className:"btn-full-screen"},b.createElement(mt,{icon:`${Dt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Dt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:qt})))},Je=z(57261),at=z(28284),dt=z(37568),Pe=z(7939),Ze=Object.defineProperty,Ee=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,kt=(jn,xn,ut)=>xn in jn?Ze(jn,xn,{enumerable:!0,configurable:!0,writable:!0,value:ut}):jn[xn]=ut,Ae=(jn,xn)=>{for(var ut in xn||(xn={}))He.call(xn,ut)&&kt(jn,ut,xn[ut]);if(Ct)for(var ut of Ct(xn))We.call(xn,ut)&&kt(jn,ut,xn[ut]);return jn},ve=(jn,xn)=>Ee(jn,ue(xn));const gt={labelCol:{span:4},wrapperCol:{span:20}};var Gt=({callback:jn,onCancel:xn})=>{function ut(qt){jn(qt)}return b.createElement(at.default,ve(Ae({},gt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ut,style:{width:500}}),b.createElement(at.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(dt.default,null)),b.createElement(at.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(dt.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:xn},"\u53D6\u6D88")))},Ht=z(85533),pe=z(45053),Te=z(62957),Ke=z(77019),tn=z(16750),lt=z(59301),jt=({callback:jn,onCancel:xn})=>{const ut=document.createElement("canvas"),qt=ut.getContext("2d");ut.width=1e3,ut.height=800,qt.fillStyle="#ffffff",qt.fillRect(0,0,ut.width,ut.height);const Dt=ut.toDataURL("image/png");return lt.createElement(Te.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},lt.createElement(Ke.Z,{style:{height:"100vh"}},lt.createElement(tn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Dt,visible:!0,title:String(Date.now())},onOk:sn=>{jn({src:sn.url})},onClose:xn})))},ct=z(36207),ln=z(5269),Et=z(6767),le={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ne=z(59301),ae=(0,b.forwardRef)(({onCancel:jn,editImgId:xn,callback:ut},qt)=>{let Dt=(0,b.useRef)(),sn=(0,b.useRef)(),Sn=(0,b.useRef)(),vn=(0,b.useRef)(!1);const Bn=(0,b.useRef)(!1);console.log("ref:",qt);const[Un,Yn]=(0,b.useState)(0),[$t,Mn]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Yn(1)},[]),(0,b.useImperativeHandle)(qt,()=>({setHeight:Mn})),ne.createElement("div",{ref:Bn,className:"body-overflow-initial"},ne.createElement(ct.Z,{width:"100vw",height:$t,footer:null,closable:!0,placement:"bottom",open:!!Un,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${le.drawerWrap}`,onClose:()=>{window.saveDrawData(rn=>{ut({src:`/api/attachments/${rn}`,id:rn})})},title:ne.createElement(Ke.Z,{align:"middle"},ne.createElement(ln.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ne.createElement(ln.Z,{onClick:()=>{Mn($t==="60px"?"100vh":"60px")}},ne.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ne.createElement(ln.Z,{onClick:()=>{window.saveDrawData(rn=>{if(rn===null){Et.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Et.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),ut({src:`/api/attachments/${rn}`,id:rn,disabledClose:!0})})}},ne.createElement(Pe.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ne.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${xn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:sn})))}),he=z(74128),re=z(47889),ce=z(4875);const De=re.ZP.Group,st={margin:"0 8px"};var Qe=({callback:jn,onCancel:xn})=>{function ut(qt){jn(qt)}return b.createElement(at.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ut},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(at.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(ce.Z,null)),b.createElement("span",{style:st},"\u5217\u6570"),b.createElement(at.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(ce.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(at.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:xn},"\u53D6\u6D88")))},Ie=z(58755),pt=z(93510),Pt=z.n(pt),Le=(0,b.forwardRef)(({use3d:jn,width:xn,height:ut,callback:qt,showSaveButton:Dt},sn)=>{const Sn=(0,b.useRef)(),vn=(0,b.useRef)(),[Bn,Un]=(0,b.useState)(!1),Yn=(0,b.useRef)({id:Sn,appName:"graphing",width:xn||1e3,height:ut||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)(()=>{vn.current=new(Pt())(Yn.current,!0),window.onload=function(){vn.current.inject("applet_container")}},[]);const $t=()=>{var Mn=window.ggbApplet.getPNGBase64(1,!0,72);return qt&&qt(Mn),Mn};return(0,b.useEffect)(()=>{Yn.current.appName=Bn?"3D":"graphing",vn.current.inject("applet_container")},[Bn]),(0,b.useEffect)(()=>{Un(jn)},[jn]),(0,b.useImperativeHandle)(sn,()=>({getImgData:$t})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Sn}),b.createElement(Ke.Z,{align:"middle"},b.createElement(ln.Z,{flex:1},b.createElement(Ie.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Bn,onChange:Mn=>Un(Mn)})),b.createElement(ln.Z,null,b.createElement(Pe.ZP,{size:"large",onClick:$t,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ue=z(99298);const pn="link",Wt="upload-image",Cn="add-flowchart",cn="draw-image",Xt="add-flowchart",an="code-block",mn="add-table",vt="------------",Yt={default:vt,left:`:${vt}`,center:`:${vt}:`,right:`${vt}:`};var gn=z(31103),At=z(65862);function _e(){}let Vt=0;const nn=1e4,dn="\u2581",Ln="@\u2581\u2581@",Qn="@\u2581@",hr=`
|
|
|
**\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 Jn(jn){return/^\d+$/.test(jn)?`${jn}px`:jn}const Jt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",En={[Jt+"-B"]:"bold",[Jt+"-I"]:"italic"},qn={[pn]:"\u6DFB\u52A0\u94FE\u63A5",[an]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Wt]:"\u6DFB\u52A0\u56FE\u7247",[cn]:"\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 nr=({defaultValue:jn="",onChange:xn,width:ut="100%",height:qt=400,miniToolbar:Dt=!1,isFocus:sn=!1,watch:Sn,insertTemp:vn,mode:Bn="markdown",id:Un="markdown-editor-id",showResizeBar:Yn=!1,noStorage:$t=!1,showNullButton:Mn=!1,showNullProgramButton:rn=!1,hidetoolBar:or=!1,fullScreen:wt=!1,onBlur:zt,onCMBeforeChange:Re,onFullScreen:ht,className:Ye="",disablePaste:St=!1,disabled:_t=!1,disabledFill:tr=!1,placeholder:ar="",values:bt="",extraUse:xt,onAddBlank:Ft})=>{const[Kt,Pn]=(0,b.useState)(null),[Tn,kn]=(0,b.useState)(jn),[Kn,pr]=(0,b.useState)(Sn),[Ar,Vr]=(0,b.useState)(wt),[Br,fr]=(0,b.useState)(""),[Pr,kr]=(0,b.useState)(0),[$r,Xr]=(0,b.useState)(qt),[vo,yr]=(0,b.useState)(!1),[ur,gr]=(0,b.useState)(0),[no,Kr]=(0,b.useState)(0),wr=(0,b.useRef)(),Rr=(0,b.useRef)(),mo=(0,b.useRef)(),Qr=(0,b.useRef)(),qr=(0,b.useRef)(),eo=(0,b.useRef)(),ko=(0,xe.useDispatch)();(0,b.useEffect)(()=>{const An=window.scrollY||window.pageYOffset;kn(bt),Kt==null||Kt.setValue(bt),window.scrollTo(0,An)},[bt]),(0,b.useEffect)(()=>{ht==null||ht(Ar)},[Ar]),(0,b.useEffect)(()=>{if(wr.current){let An=function($n,Cr){var br;if(St){Cr.preventDefault();return}const Wr=Cr.clipboardData;if(Wr){const Jr=Wr.types.toString(),yo=Wr.items;if(Jr==="Files"||Wr.types.indexOf("Files")>-1){if(Cr.preventDefault(),Bn=="stex")return;try{let io=yo[1];((br=yo[0])==null?void 0:br.kind)==="file"&&(io=yo[0]);const Io=io.getAsFile(),co=Io.name.split(".").pop();(0,pe.I)(Io,fo=>{var bo,Bo,ri;fo.id?((bo=Io==null?void 0:Io.type)==null?void 0:bo.indexOf("image"))>-1?Hn.replaceSelection(`<img width="100%" src="/api/attachments/${fo.id}?type=${fo.content_type})" alt="" />`):((Bo=Io==null?void 0:Io.type)==null?void 0:Bo.indexOf("video"))>-1?Hn.replaceSelection(`<video width="100%" controls src="/api/attachments/${fo.id}"></video>`):((ri=Io==null?void 0:Io.type)==null?void 0:ri.indexOf("pdf"))>-1?Hn.replaceSelection(`<a href="/api/attachments/${fo.id}?type=${Io.type}&disposition=inline" target="_blank">${Io.name}</a>`):vr.includes(co)?Hn.replaceSelection(`<a href="/api/attachments/${fo.id}?type=office&disposition=inline" target="_blank">${Io.name}</a>`):Hn.replaceSelection(`[${Io.name}](/api/attachments/${fo.id}?type=${fo.content_type})`):(fo==null?void 0:fo.status)===401&&(document.location.href="/user/login")})}catch(io){Et.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Hn=tt().fromTextArea(wr.current,{mode:Bn,lineNumbers:!Dt,lineWrapping:!0,value:jn,autoCloseTags:!0,autoCloseBrackets:!0});return Hn.on("keyup",function($n,Cr){Cr.keyCode===8&&($n.getValue()==""?Hn.setOption("placeholder",ar):Hn.setOption("placeholder",null))}),Hn.on("keydown",function($n,Cr){if(Cr.keyCode===8){var br=qo($n);br&&Cr.preventDefault()}}),sn&&Hn.focus(),Hn.on("paste",An),_t&&Hn.on("beforeChange",function($n,Cr){(Cr.origin==="paste"||Cr.origin==="+input")&&Cr.cancel()}),Pn(Hn),()=>{Hn.off("paste",An)}}},[]);const _o=(0,b.useCallback)(()=>{if(Rr.current)try{}catch(An){console.log(An,"---- to set md editor body height")}},[$r,Rr,Ar]);(0,b.useEffect)(()=>{function An(){let Hn=new Oe.Z($n=>{for(let Cr of $n)(Cr.target.offsetHeight>0||Cr.target.offsetWidth>0)&&(_o(),Kt.setSize("100%","100%"),Kt.refresh())});return Hn.observe(wr.current.parentElement),Hn}if(Kt){const Hn=An();return()=>{var $n,Cr;($n=wr.current)!=null&&$n.parentElement&&Hn.unobserve((Cr=wr.current)==null?void 0:Cr.parentElement)}}},[Kt,_o]),(0,b.useEffect)(()=>{if(Kt){let An=[];for(const[Hn,$n]of Object.entries(En)){let Cr={[Hn]:()=>{Lo($n)}};An.push(Cr),Kt.addKeyMap(Cr)}return()=>{for(let Hn of An)Kt.removeKeyMap(Hn)}}},[Kt]),(0,b.useEffect)(()=>{wt!==Ar&&Vr(wt)},[wt]),(0,gn.Z)(()=>{if(!$t&&Pr>0){let An=new Date().getTime(),Hn=window.sessionStorage.getItem(Un);An>=Pr+nn&&(!Hn||Hn!==Tn)&&(window.sessionStorage.setItem(Un,Tn),yr(!0))}},nn),(0,b.useEffect)(()=>{pr(Sn)},[Kt,Sn]),(0,b.useEffect)(()=>{Kt&&sn&&Kt.focus()},[Kt,sn]),(0,b.useEffect)(()=>{if(Kn&&Kt){let An=function($n){let Cr=$n.target;if(Qr.current){let br=Cr.scrollTop/Cr.scrollHeight;Qr.current.scrollTop=Qr.current.scrollHeight*br}};const Hn=Kt.getScrollerElement();return Hn.addEventListener("scroll",An),()=>{Hn.removeEventListener("scroll",An)}}},[Kt,Kn]),(0,b.useEffect)(()=>{if(Kt&&Re){let An=function(Hn,$n){Re(Hn,$n)};return Kt.on("beforeChange",An),()=>{Kt.off("beforeChange",An)}}},[Kt,Re]),(0,b.useEffect)(()=>{if(Kt&&zt){let An=function(){zt(Kt.getValue())};return Kt.on("blur",An),()=>{Kt.off("blur",An)}}},[Kt,zt]);function qo(An,Hn){var $n=An.getDoc(),Cr=$n.getCursor(),br=$n.getLine(Cr.line),Wr=br.charAt(Cr.ch-1),Jr=br.lastIndexOf("@\u2581@",Cr.ch),yo=br.lastIndexOf("@\u2581\u2581@",Cr.ch),io=Jr>yo?Jr:yo,Io=Jr>yo?3:4;if(Ln.indexOf(Wr)===-1)return null;if(console.log("change1:",Hn,An,br,Cr,io,Jr,yo,Wr),io>=0&&Cr.ch-io<5){var co=io+Io;return $n.replaceRange("",{line:Cr.line,ch:io},{line:Cr.line,ch:co}),{line:Cr.line,ch:co}}return null}(0,b.useEffect)(()=>{if(Kt){let An=function(Hn,$n){const Cr=Hn.getValue();kn(Cr),kr(new Date().getTime()),Hn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),xn&&(rn?xn(Cr,ot(Cr)):xn(Cr))};return Kt.on("change",An),()=>{Kt.off("change",An)}}},[Kt,xn]),(0,b.useEffect)(()=>{if(Kt)if(jn==null)Kt.setValue(""),kn("");else{const An=window.scrollY||window.pageYOffset;jn!==Kt.getValue()&&(Kt.setValue(jn),kn(jn),Kt.setCursor(_t?1:Kt.lineCount(),0),window.scrollTo(0,An))}},[Kt,jn]);const Lo=(0,b.useCallback)(An=>{const Hn=Kt.getCursor(),$n=Kt.getSelection();let Cr=$n.split(`
|
|
|
`);switch(An){case"bold":return Kt.replaceSelection("**"+$n+"**"),$n===""&&Kt.setCursor(Hn.line,Hn.ch+2),Kt.focus();case"italic":return Kt.replaceSelection("*"+$n+"*"),$n===""&&Kt.setCursor(Hn.line,Hn.ch+1),Kt.focus();case"code":return Kt.replaceSelection("`"+$n+"`"),$n===""&&Kt.setCursor(Hn.line,Hn.ch+1),Kt.focus();case"inline-latex":return(0,At.Ye)(ko)?void 0:(fr("inline-latex"),Kt.focus());case"latex":return Kt.replaceSelection("```latex\n"+$n+"\n```"),Kt.setCursor(Hn.line+1,$n.length+1),Kt.focus();case"line-break":return Kt.replaceSelection(`<br/>
|
|
|
`),Kt.focus();case"list-ul":return $n===""?Kt.replaceSelection("- "+$n):Kt.replaceSelection(Cr.map(br=>br===""?"":`- ${br}`).join(`
|
|
|
`)),Kt.focus();case"list-ol":return $n===""?Kt.replaceSelection("1. "+$n):Kt.replaceSelection(Cr.map((br,Wr)=>br===""?"":`${Wr+1}. ${br}`).join(`
|
|
|
`)),Kt.focus();case"add-null-ch":Ft==null||Ft();return;case"add-signal":return $n===""&&Kt.setCursor(Hn.line,Hn.ch),Kt.replaceSelection(Qn),Kt.focus();case"add-multiple":return $n===""&&Kt.setCursor(Hn.line,Hn.ch),Kt.replaceSelection(Ln),Kt.focus();case"inster-template-1":return $n===""&&Kt.setCursor(Hn.line,Hn.ch),Kt.replaceSelection(hr),Kt.focus();case"eraser":return Kt.setValue(""),Kt.focus();case"trigger-watch":return pr(!Kn),Kt.focus();case"trigger-full-screen":return Vr(!Ar),Kt.focus();case pn:fr(pn);return;case an:fr(an);return;case Wt:fr(Wt);return;case cn:fr(cn);return;case"maths-latex":if((0,At.Ye)(ko))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}},[Kt,Kn,Ar]),ii=(0,b.useCallback)((An,Hn)=>{var $n,Cr,br,Wr,Jr,yo;An!=null&&An.disabledClose||fr("");const{src:io,alt:Io,id:co}=An||{};switch(Br){case pn:const{title:Si,link:bi}=An;return Kt.replaceSelection(`[${Si}](${bi})`),Kt.focus();case an:const{language:Ki,content:Wo}=An;return Kt.replaceSelection(["```"+Ki,Wo,"```"].join(`
|
|
|
`)),Kt.focus();case"maths-latex":for(var fo=atob(An),bo=new Uint8Array(fo.length),Bo=0;Bo<fo.length;Bo++)bo[Bo]=fo.charCodeAt(Bo);var ri=new Blob([bo],{type:"image/png"});(0,pe.I)(ri,Ta=>{Ta.id?Kt.replaceSelection(``):(Ta==null?void 0:Ta.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,At.Ye)(ko))return;Kt.replaceSelection("`$$"+An+"$$`");break;case Xt:if(!co)return;Kt.getValue().indexOf(io)===-1?Kt.replaceSelection(`<center><img id="${co}" width="80%" src="${io}" class="draw-flowchart" alt="${Io||""}" /></center>`):document.getElementById(co).src=he.Z.API_SERVER+io+"?t="+Date.now();break;case Wt:case cn:const Mo=Hn,Wi=(br=(Cr=($n=Mo==null?void 0:Mo.name)==null?void 0:$n.split("."))==null?void 0:Cr.pop)==null?void 0:br.call(Cr);return((Wr=Mo==null?void 0:Mo.type)==null?void 0:Wr.indexOf("image"))>-1||!(Mo!=null&&Mo.type)?Mo!=null&&Mo.align||Mo!=null&&Mo.width?Kt.replaceSelection(`<p style="text-align:${Mo.align||"initial"}"><img width="${Mo.width?Mo.width+"%":"initial"}" src="${io}" alt="${Io||""}" /></p>`):Kt.replaceSelection(`<img width="100%" src="${io}" alt="${Io||""}" />`):((Jr=Mo==null?void 0:Mo.type)==null?void 0:Jr.indexOf("video"))>-1?Kt.replaceSelection(`<video width="100%" controls src="${io}"></video>`):((yo=Mo==null?void 0:Mo.type)==null?void 0:yo.indexOf("pdf"))>-1?Kt.replaceSelection(`<a href="${io}?type=${Mo.type}&disposition=inline" target="_blank">${Mo.name}</a>`):vr.includes(Wi)?Kt.replaceSelection(`<a href="${io}?type=office&disposition=inline" target="_blank">${Mo.name}</a>`):Kt.replaceSelection(`[${Mo.name}](${io})`),Kt.focus();case mn:const{row:zi,col:Xi,align:Wa}=An;let Pa=`
|
|
|
`;for(let Ta=0;Ta<zi;Ta++){let Ba=[],Ui=[];for(let Fa=0;Fa<Xi;Fa++)Ta===1&&Ui.push(Yt[Wa]),Ba.push(" ");Ta===1&&(Pa+=`| ${Ui.join(" | ")} |
|
|
|
`),Pa+=`| ${Ba.join(Xi===1?"":" | ")} |
|
|
|
`}return Kt.replaceSelection(Pa+`
|
|
|
`),Kt.focus();default:throw new Error}},[Kt,Br]),ke=(0,b.useMemo)(()=>{switch(Br){case pn:return b.createElement(Gt,{callback:ii,onCancel:nt});case an:return b.createElement(Ht.Z,{callback:ii,onCancel:nt});case Wt:return b.createElement(pe.Z,{callback:ii,onCancel:nt});case Cn:return b.createElement(ae,{editImgId:qr.current,callback:ii,onCancel:nt});case mn:return b.createElement(Qe,{callback:ii,onCancel:nt});case"maths-latex":return b.createElement(Le,{showSaveButton:!0,callback:ii});case"inline-latex":return b.createElement(Ue.Z,{showSaveButton:!0,callback:ii});default:return null}},[Br]);function nt(){fr("")}(0,b.useEffect)(()=>{if(mo.current){let An=function(Jr){br=!0,Wr=Jr.pageY},Hn=function(){br=!1},$n=function(Jr){if(br){let yo=Jr.pageY-Wr;yo<0&&(yo=0),yo>300&&(yo=300);let io=qt+yo+"px";Xr(io)}},Cr=mo.current,br=!1,Wr=0;return Cr.addEventListener("mousedown",An),document.addEventListener("mousemove",$n),document.addEventListener("mouseup",Hn),()=>{Cr.removeEventListener("mousedown",An),document.removeEventListener("mousemove",$n),document.removeEventListener("mouseup",Hn)}}},[Kt,mo]),(0,b.useEffect)(()=>{Xr(qt)},[qt]);const Mt=Jn(ut),un=Jn($r),fn={width:Mt,height:un},Rt=(0,b.useMemo)(()=>{if(Pr){let An=new Date(Pr),Hn=An.getHours(),$n=An.getMinutes(),Cr=An.getSeconds();return Hn=Hn<10?"0"+Hn:Hn,$n=$n<10?"0"+$n:$n,Cr=Cr<10?"0"+Cr:Cr,`${Hn}:${$n}:${Cr}`}return 0},[Pr]),ot=An=>{const Hn=[];if(rn){let $n=-1;An=An.replace(/(@▁▁@|@▁@)/g,function(Cr,br,Wr){Hn.push({multiLine:Cr!==Qn})})}return Hn};function Ot(){window.sessionStorage.removeItem(Un),yr(!1),kr(0)}function en(){yr(!1),kr(0),Kt.setValue(window.sessionStorage.getItem(Un))}(0,b.useEffect)(()=>{qn[Br]&&Br!==cn&&Br!==Cn&&setTimeout(()=>{const An=document.getElementsByClassName("markdown-popup-form")[0],Hn=window.innerWidth/2-An.offsetWidth/2,$n=window.innerHeight/2-An.offsetHeight/2;gr(Hn),Kr($n)},0)},[Br]);const Fn=An=>{An.preventDefault();const Hn=An.clientX-ur,$n=An.clientY-no;document.body.onmousemove=Cr=>{let br=Cr.clientX-Hn,Wr=Cr.clientY-$n;const Jr=document.getElementsByClassName("markdown-popup-form")[0],yo=window.innerWidth-Jr.offsetWidth,io=window.innerHeight-Jr.offsetHeight;br=Math.max(0,Math.min(br,yo)),Wr=Math.max(0,Math.min(Wr,io)),Zn(Cr.clientX,Cr.clientY,Hn,$n)&&(gr(br),Kr(Wr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Zn=(An,Hn,$n,Cr)=>{const br=document.body.clientHeight,Wr=document.body.clientWidth;return An<20&&$n>An||An>Wr-20&&$n<An||Hn<20&&Cr>Hn||Hn>br-20&&Cr<Hn?(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 ${Ye} ${Kn?"on-preview":""} ${Dt?"mini":""} ${Ar?"full-screen":""}`,style:fn},b.createElement(Zt,{insertTemp:vn,watch:Kn,fullScreen:Ar,showNullButton:Mn,showNullProgramButton:rn,onActionCallback:Lo,hidetoolBar:or,extraUse:xt}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:wr,placeholder:ar})),Kn?b.createElement("div",{ref:Qr,className:"preview-container"},Bn==="stex"&&b.createElement(yt,{value:Tn}),Bn!=="stex"&&b.createElement(Ce.Z,{edit:!0,disabledFill:tr,showProgramFill:rn,value:Tn,openEditor:An=>{var Hn;qr.current=An,(Hn=eo.current)==null||Hn.setHeight("100vh"),setTimeout(()=>{fr("add-flowchart")},150)}})):null))),Yn?b.createElement("a",{ref:mo,className:"editor-resize"}):null,Br===cn&&b.createElement(jt,{callback:ii,onCancel:nt}),Br===Cn&&b.createElement(ae,{ref:eo,editImgId:qr.current,callback:ii,onCancel:nt}),b.createElement(Je.Z,null,qn[Br]&&Br!==cn&&Br!==Cn?b.createElement(Te.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ur,top:no},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Fn},qn[Br]),open:!0,onCancel:nt,footer:null,destroyOnClose:!0,width:Br===Cn?"1200px":null,height:Br===Cn?"80vh":null,className:"markdown-popup-form"},ke):null))}},45053:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ft},I:function(){return Zt}});var b=z(28284),xe=z(6767),de=z(37568),tt=z(44104),Oe=z(4875),be=z(47889),Fe=z(7939),ze=z(28735),Be=z(59301),fe=z(59301),Ge=Object.defineProperty,Ce=Object.defineProperties,yt=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ve=(Je,at,dt)=>at in Je?Ge(Je,at,{enumerable:!0,configurable:!0,writable:!0,value:dt}):Je[at]=dt,rt=(Je,at)=>{for(var dt in at||(at={}))$e.call(at,dt)&&Ve(Je,dt,at[dt]);if(et)for(var dt of et(at))je.call(at,dt)&&Ve(Je,dt,at[dt]);return Je},Nt=(Je,at)=>Ce(Je,yt(at));const{useForm:Ut}=b.default,se={width:280,marginRight:10},Me={labelCol:{span:5},wrapperCol:{span:19}};var ft=({callback:Je,onCancel:at})=>{const[dt]=Ut();let Pe=(0,Be.useRef)();function Ze(Ct){Pe.current.width=dt.getFieldValue("width"),Pe.current.align=dt.getFieldValue("align"),Je(Ct,Pe.current)}function Ee(Ct,He){if(Ct.status===-1){xe.ZP.error(Ct.message);return}dt.setFieldsValue({src:`/api/attachments/${Ct.id}`,type:He.type})}function ue(Ct){let He=Ct.target.files[0];Pe.current=He,Zt(He,Ee)}return fe.createElement(b.default,Nt(rt({form:dt},Me),{className:"upload-image-panel",onFinish:Ze,style:{width:470,overflow:"hidden"}}),fe.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},fe.createElement("div",{className:"flex-container"},fe.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},fe.createElement(de.default,{style:se})),fe.createElement(mt,{onFileChange:ue}))),fe.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},fe.createElement(de.default,{style:{width:264}})),fe.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},fe.createElement(tt.Z,null,fe.createElement(b.default.Item,{name:"width",style:{margin:0}},fe.createElement(Oe.Z,{style:{width:264}})),fe.createElement("span",{className:"ml8"},"%"))),fe.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},fe.createElement(be.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"}]})),fe.createElement("aside",null,fe.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},fe.createElement(Fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),fe.createElement(Fe.ZP,{type:"default",onClick:at},"\u53D6\u6D88"))))};function mt({onFileChange:Je}){return fe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",fe.createElement("input",{type:"file",onChange:Je}))}function Zt(Je,at){if(!Je)throw new String("\u6CA1\u6709\u6587\u4EF6");let dt=new FormData;dt.append("editormd-image-file",Je),dt.append("file_param_name","editormd-image-file"),dt.append("byxhr","true");var Pe=new window.XMLHttpRequest;Pe.withCredentials=!0,Pe.addEventListener("load",function(Ze){at(JSON.parse(Ze.target.responseText),Je)},!1),Pe.addEventListener("error",function(Ze){console.error(Ze)},!1),Pe.open("POST",`${ze.KI}/api/attachments.json`),Pe.send(dt)}},57261:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return de}});var b=z(59301),xe=z(4676);class de extends b.Component{constructor(Oe){super(Oe);const be=window.document;this.node=be.createElement("div"),be.body.appendChild(this.node)}render(){const{children:Oe}=this.props;return(0,xe.createPortal)(Oe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},50258:function(Vn,hn,z){"use strict";z.d(hn,{SV:function(){return jt},ZP:function(){return lt}});var b=z(59301),xe=z(76374);const de={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"]},tt={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"]},Oe={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(`
|
|
|
`)}]},be={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(`
|
|
|
`)}]},Fe={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 ze=z(53184),Be=z.n(ze),fe=(ct,ln,Et)=>new Promise((le,ne)=>{var te=re=>{try{he(Et.next(re))}catch(ce){ne(ce)}},ae=re=>{try{he(Et.throw(re))}catch(ce){ne(ce)}},he=re=>re.done?le(re.value):Promise.resolve(re.value).then(te,ae);he((Et=Et.apply(ct,ln)).next())});const Ge={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"]}},Ce=(ct,ln,Et,le)=>{const ne=ln.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Et.lineNumber,endColumn:Et.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}))},yt=(ct,ln,Et,le)=>{ct.languages.registerCompletionItemProvider(ln,{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:[...Ce(ct,ne,te,he),...Et.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=>{Ge.languages.forEach(ln=>{ct.languages.registerDocumentFormattingEditProvider(ln,{provideDocumentFormattingEdits(Et){return fe(this,null,function*(){const le=Be()(Et.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:Et.getFullModelRange(),text:le}]})}})}),yt(ct,"java",tt.keywords,tt.quickKey),yt(ct,"cpp",Oe.keywords,Oe.quickKey),yt(ct,"c",de.keywords,[]),yt(ct,"python",be.keywords,be.quickKey),yt(ct,"scala",Fe.keywords,Fe.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 je=Object.defineProperty,Ve=(ct,ln,Et)=>ln in ct?je(ct,ln,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ct[ln]=Et,rt=(ct,ln,Et)=>Ve(ct,typeof ln!="symbol"?ln+"":ln,Et);const Nt=class Ju{constructor(ln,Et,le){this.placeholder=ln,this.editor=Et,this.monaco=le,Et.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)}};rt(Nt,"ID","editor.widget.placeholderHint");var se=Nt,Me=z(96236),ft=z(6767),mt=z(25399),Zt=z(89392),Je=z(77254),at=z(56102),dt=Object.defineProperty,Pe=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,He=(ct,ln,Et)=>ln in ct?dt(ct,ln,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ct[ln]=Et,We=(ct,ln)=>{for(var Et in ln||(ln={}))ue.call(ln,Et)&&He(ct,Et,ln[Et]);if(Ee)for(var Et of Ee(ln))Ct.call(ln,Et)&&He(ct,Et,ln[Et]);return ct},kt=(ct,ln)=>Pe(ct,Ze(ln)),Ae=(ct,ln)=>{var Et={};for(var le in ct)ue.call(ct,le)&&ln.indexOf(le)<0&&(Et[le]=ct[le]);if(ct!=null&&Ee)for(var le of Ee(ct))ln.indexOf(le)<0&&Ct.call(ct,le)&&(Et[le]=ct[le]);return Et},ve=(ct,ln,Et)=>new Promise((le,ne)=>{var te=re=>{try{he(Et.next(re))}catch(ce){ne(ce)}},ae=re=>{try{he(Et.throw(re))}catch(ce){ne(ce)}},he=re=>re.done?le(re.value):Promise.resolve(re.value).then(te,ae);he((Et=Et.apply(ct,ln)).next())});function gt(ct){return/^\d+$/.test(ct)?`${ct}px`:ct}function Gt(){}let Ht=!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 Te(ct=[]){let ln=ct;if(Array.isArray(ct)){for(let Et=0;Et<ct.length;Et++){let le=pe[ct[Et]];if(le)return le}return ln[0]}return pe[ln]||ln}let Ke=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 lt=ct=>{var ln=ct,{width:Et="100%",height:le="100%",value:ne,language:te="javascript",style:ae={},options:he={},overrideServices:re={},theme:ce="vs-dark",onEditBlur:De,isCopy:st=!1,onSave:Qe,autoHeight:Ie=!1,forbidCopy:pt=!1,forbidCopyTips:Pt,onChange:Tt=Gt,editorDidMount:Le=Gt,onFocus:Ue=Gt,onBreakPoint:pn=Gt,breakPointValue:Wt=[],filename:Cn="educoder.txt",errorLine:cn,errorContent:Xt="",highlightLine:an,openBreakPoint:mn=!1,placeholder:vt="",showMiniMap:Yt=!0}=ln,gn=Ae(ln,["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 At=(0,b.useRef)(),_e=(0,b.useRef)({}),Vt=(0,b.useRef)(),nn=(0,b.useRef)(),dn=(0,b.useRef)([]),Ln=(0,b.useRef)(!1),Qn=(0,b.useRef)(),hr=(0,b.useRef)(),vr=(0,b.useRef)(!1),[Jn,dr]=(0,b.useState)(!1);function Jt(){let $t;return At.current&&($t=new xe.Z(Mn=>{for(let rn of Mn)(rn.target.offsetHeight>0||rn.target.offsetWidth>0)&&_e.current.instance.layout()}),$t.observe(At.current)),$t}function En(){ft.ZP.warning({content:decodeURIComponent(Pt||$e),key:"monaco-editor-tip"})}const qn=()=>{let $t=_e.current.instance;if(ne!=null&&$t&&Jn){const Mn=$t.getModel();Mn&&ne!==Mn.getValue()&&(Ht=!0,Mn.setValue(ne),$t.layout(),Ht=!1)}};(0,b.useEffect)(()=>{const $t=Je.Z.subscribe("formatDocument",Mn=>{var rn;let or=_e.current.instance;(rn=or==null?void 0:or.getAction)==null||rn.call(or,"editor.action.formatDocument").run()});return window.updateMonacoValue=Mn=>{Tt(Mn)},$t},[]),(0,b.useEffect)(()=>{var $t;let Mn=_e.current.instance;nn.current&&clearTimeout(nn.current),nn.current=setTimeout(()=>{qn()},500),ne&&(ne!=null&&ne.length)&&(($t=Mn==null?void 0:Mn.updateOptions)==null||$t.call(Mn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,Jn,_e.current]),(0,b.useEffect)(()=>{if(cn&&_e.current&&_e.current.instance){let Mn=_e.current.instance;Mn.changeViewZones(function(rn){var or=document.createElement("div");or.style.padding="10px 20px",or.style.width="calc(100% - 20px)",or.className="my-error-line-wrp",or.innerHTML=Xt,rn.addZone({afterLineNumber:cn||11,heightInLines:3,domNode:or})});var $t={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}};Mn.addOverlayWidget($t),Mn.revealPositionInCenter({lineNumber:20,column:1})}},[cn,_e.current,Jn]);const nr=($t="",Mn)=>{if(!$t||$t.trim()==="")return!0;const or=_e.current.instance.getModel().getLineTokens(Mn);let wt=!1;for(let zt=0;zt<2;zt++)or.getStandardTokenType(zt)===1&&(wt=!0);return wt};(0,b.useEffect)(()=>{var $t;const Mn=($t=_e.current)==null?void 0:$t.instance;if(Mn&&Jn&&pt){const rn=Mn.onDidBlurEditorWidget(()=>{vr.current=!1}),or=Mn.onDidFocusEditorText(()=>{vr.current=!0});return()=>{rn.dispose(),or.dispose()}}},[_e.current,Jn,pt]),(0,b.useEffect)(()=>{var $t;if(($t=_e.current)!=null&&$t.instance&&Jn&&mn){let Mn=_e.current.instance,rn=Mn.getModel();if(!rn)return;(()=>{var xt;let Ft=[],Kt=[];const Pn=rn.getAllDecorations();for(let kn of Pn)kn.options.className==="highlighted-line"&&(Ft.push((xt=kn==null?void 0:kn.range)==null?void 0:xt.startLineNumber),Kt.push(kn==null?void 0:kn.id));if(an===Ft[0])return;rn.deltaDecorations(Kt,[]);const Tn=rn.getLineCount();an&&an<=Tn&&(Mn.deltaDecorations([],[{range:new Ke.Range(an,1,an,rn.getLineMaxColumn(an)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Mn.revealLineInCenter(an))})();const wt=(xt=!1)=>{var Ft;let Kt=[],Pn=[];const Tn=rn.getAllDecorations();for(let kn of Tn)kn.options.linesDecorationsClassName==="breakpoints-select"&&(Kt.push((Ft=kn==null?void 0:kn.range)==null?void 0:Ft.startLineNumber),Pn.push(kn==null?void 0:kn.id));if(xt)return{lines:Kt,ids:Pn};pn(Kt)},zt=xt=>ve(void 0,null,function*(){let Ft={range:new Ke.Range(xt,1,xt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield rn.deltaDecorations([],[Ft]),wt()}),Re=xt=>ve(void 0,null,function*(){let Ft=[];const Kt=Mn.getLineDecorations(xt);for(let Pn of Kt)Pn.options.linesDecorationsClassName==="breakpoints-select"&&Ft.push(Pn.id);yield rn.deltaDecorations(Ft,[]),wt()}),ht=xt=>{let Ft=Mn.getLineDecorations(xt);for(let Kt of Ft)if(Kt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Zt.isEqual)(Wt,wt(!0).lines)){rn.deltaDecorations(wt(!0).ids,[]);const xt=Wt.map(Ft=>({range:new Ke.Range(Ft,1,Ft,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));rn.deltaDecorations([],xt)}const Ye=Mn.onDidChangeModelContent(xt=>{let Ft=Mn.getPosition();if(Ft){let Kt=Ft.lineNumber;clearTimeout(hr.current),hr.current=setTimeout(()=>{nr(rn.getLineContent(Kt),Kt)?Re(Kt):ht(Kt)?(Re(Kt),zt(Kt)):wt()},100)}}),St=Mn.onMouseDown(xt=>{var Ft,Kt,Pn;if(xt.target.detail&&((Pn=(Kt=(Ft=xt.target)==null?void 0:Ft.element)==null?void 0:Kt.className)!=null&&Pn.includes("line-numbers"))){let Tn=xt.target.position.lineNumber;if(nr(rn.getLineContent(Tn),Tn))return;ht(Tn)?Re(Tn):zt(Tn)}}),_t=xt=>{let Ft={range:new Ke.Range(xt,1,xt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};dn.current=Mn.deltaDecorations(dn.current,[Ft])},tr=()=>{dn.current=Mn.deltaDecorations(dn.current,[])},ar=Mn.onMouseMove(xt=>{var Ft,Kt,Pn;if(tr(),xt.target.detail&&((Pn=(Kt=(Ft=xt.target)==null?void 0:Ft.element)==null?void 0:Kt.className)!=null&&Pn.includes("line-numbers"))){let Tn=xt.target.position.lineNumber;if(nr(rn.getLineContent(Tn),Tn))return;_t(Tn)}}),bt=Mn.onMouseLeave(()=>{tr()});return()=>{Ye.dispose(),St.dispose(),ar.dispose(),bt.dispose()}}},[_e.current,Jn,Wt,an,mn,te]),(0,b.useEffect)(()=>{var $t;($t=_e.current)!=null&&$t.instance&&mn&&_e.current.instance.setPosition({lineNumber:0,column:0})},[an]);function jn(){let $t=_e.current.instance;if($t){const Mn=$t.getSelection(),rn=_e.current.pastePos||{},or=new Ke.Range(rn.startLineNumber||Mn.endLineNumber,rn.startColumn||Mn.endColumn,rn.endLineNumber||Mn.endLineNumber,rn.endColumn||Mn.endColumn);setTimeout(()=>{$t.executeEdits("",[{range:or,text:""}])},300)}}function xn($t){(window.navigator.platform.match("Mac")?$t.metaKey:$t.ctrlKey)&&$t.keyCode==83&&($t.preventDefault(),Qe())}const ut=()=>{if(Ie&&_e.current.instance){const $t=_e.current.instance.getContentHeight();Un($t<le?le:$t)}else Un(le)};function qt($t){var Mn=document.createEvent("MouseEvents");Mn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),$t.dispatchEvent(Mn)}const Dt=$t=>{if(!vr.current)return;const{keyCode:Mn,ctrlKey:rn,metaKey:or,target:wt,type:zt}=$t;return(zt==="paste"||(Mn===67||Mn===86)&&(or||rn))&&wt.nodeName==="TEXTAREA"&&(En(),$t.preventDefault()),!1};function sn($t,Mn){var rn=window.URL||window.webkitURL||window,or=new Blob([Mn]),wt=document.createElementNS("http://www.w3.org/1999/xhtml","a");wt.href=rn.createObjectURL(or),wt.download=$t,qt(wt)}(0,b.useEffect)(()=>{ut()},[ut]),(0,b.useEffect)(()=>{At.current&&!Jn&&Promise.all([z.e(8909),z.e(2460)]).then(z.bind(z,71448)).then($t=>{try{Ke=$t,_e.current.instance=Ke.editor.create(At.current,{value:ne,language:Te(te),theme:ce,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Yt||!1}},re);const Mn=_e.current.instance;let wt=[...Me.BH._menuItems].find(Ye=>Ye[0]._debugName=="EditorContext")[1],zt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Re=(Ye,St)=>{var _t,tr;let ar=Ye._first;do St.includes((tr=(_t=ar.element)==null?void 0:_t.command)==null?void 0:tr.id)&&Ye._remove(ar);while(ar=ar.next)};if(Le(Mn,Ke),setTimeout(()=>{ut(),_e.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{sn(Cn||"educoder.txt",Mn.getValue())}})},500),_e.current.subscription=Mn.onDidChangeModelContent(Ye=>{Ln.current?clearTimeout(Qn.current):(ut(),Tt(Mn.getValue(),Ye)),Qn.current=setTimeout(()=>{Ln.current=!1},500)}),window.Monaco||et(Ke,Te(te)),pt&&(Re(wt,zt),At.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Dt),window.removeEventListener("paste",Dt),window.addEventListener("keydown",Dt),window.addEventListener("paste",Dt)),window.Monaco=Ke,De&&Mn.onDidBlurEditorWidget(()=>{De(Mn.getValue())}),Ue&&Mn.onDidFocusEditorText(()=>{pt&&tn(),Ue(Mn.getValue())}),pt){tn();try{Mn.onDidPaste(Ye=>{const St=Mn.getSelection(),_t=_e.current.pastePos||{},tr=new Ke.Range(_t.startLineNumber||St.endLineNumber,_t.startColumn||St.endColumn,_t.endLineNumber||St.endLineNumber,_t.endColumn||St.endColumn);Mn.executeEdits("",[{range:Ye.range,text:""}])})}catch(Ye){}}let ht=Jt();return vt&&typeof vt=="string"&&new se(vt,Mn,Ke),dr(!0),()=>{const Ye=_e.current.instance;Ye.dispose();const St=Ye.getModel();St&&St.dispose(),_e.current.subscription&&_e.current.subscription.dispose(),ht.unobserve(At.current)}}catch(Mn){}})},[]),(0,b.useEffect)(()=>{if(_e.current.instance&&Jn)return document.addEventListener("keydown",xn,!1),()=>{document.removeEventListener("keydown",xn)}},[Qe,Jn]),(0,b.useEffect)(()=>{let $t=_e.current.instance;if($t&&Jn){let Mn=Te(te);Ke.editor.setModelLanguage($t.getModel(),Mn)}},[te,Jn]),(0,b.useEffect)(()=>{_e.current.instance&&Jn&&Ke.editor.setTheme(ce)},[ce,Jn]),(0,b.useEffect)(()=>{let $t=_e.current.instance;Vt.current=he,$t&&Jn&&($t.updateOptions(We({},he)),setTimeout(()=>{$t.getModel().updateOptions(We({},he))},200))},[JSON.stringify(he),Jn]),(0,b.useEffect)(()=>{let $t=_e.current.instance;$t&&Jn&&$t.layout()},[Et,le,Jn]);const[Sn,vn]=(0,b.useState)(gt(Et)),[Bn,Un]=(0,b.useState)(gt(le)),Yn=kt(We({},ae),{width:Sn,height:Bn,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:At,style:Yn,onFocus:()=>{pt&&tn()}},st&&b.createElement(at.CopyToClipboard,{text:ne,onCopy:()=>ft.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(mt.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 jt({width:ct="100%",height:ln="100%",original:Et,modified:le,language:ne,options:te={}}){const ae=(0,b.useRef)(),[he,re]=(0,b.useState)(null);function ce(Ie){let pt;return ae.current&&(pt=new xe.Z(Pt=>{for(let Tt of Pt)(Tt.target.offsetHeight>0||Tt.target.offsetWidth>0)&&Ie.layout()}),pt.observe(ae.current)),pt}(0,b.useEffect)(()=>(ae.current&&Promise.all([z.e(8909),z.e(9404)]).then(z.bind(z,2550)).then(Ie=>{Ke=Ie;const pt=Ke.editor.createDiffEditor(ae.current,kt(We({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(pt);let Pt=ce(pt);return()=>{pt.dispose();const Tt=pt.getModel();Tt&&Tt.dispose(),Pt.unobserve(ae.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{he&&he.setModel({original:Ke.editor.createModel(Et,ne),modified:Ke.editor.createModel(le,ne)})},[Et,le,ne,he]);const De=gt(ct),st=gt(ln),Qe={width:De,height:st};return b.createElement("div",{className:"my-diff-editor",ref:ae,style:Qe})}},61584:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ge}});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),de=z(25399),tt=z(89787),Oe=z(92310),be=z.n(Oe),Fe=z(65862),ze=z(2524),Be=z(59301),Ge=({className:Ce,dataSource:yt=[],col:et=4,right:$e,bottom:je=23,precision:Ve=0,wrapWidth:rt=1200,trackEventItems:Nt,loading:Ut,onRemove:se=()=>{},isCurrent:Me=!0,showProgress:ft=!1,showAlias:mt=!1,category:Zt,hiddenClick:Je})=>{const at=Math.floor((rt-(et-1)*$e)/et),dt=[{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 Be.createElement(xe.Z,{spinning:Ut},Be.createElement("div",{className:be()(b.list,Ce)},!!(yt!=null&&yt.length)&&(yt==null?void 0:yt.map((Pe,Ze)=>{var Ee,ue,Ct,He,We,kt,Ae,ve,gt,Gt,Ht,pe,Te;const{name:Ke,id:tn,identifier:lt,featured:jt,school_name:ct,image_url:ln,excellent:Et,is_plan:le}=Pe;return Be.createElement("div",{key:tn,className:Me&&ft?b.wrapisCurrent:b.wrap,style:{width:at,marginRight:(1+Ze)%et===0?0:$e+Ve,marginBottom:je}},Be.createElement("a",{className:b.li,onClick:ne=>{ne.preventDefault(),ne.stopPropagation(),Nt&&(0,Fe.L9)([Nt]),(0,Fe.xg)(`/paths/${lt}`)}},Be.createElement("div",{className:b.img},Be.createElement("img",{className:b.cover,src:`${ln}`}),(Ee=Pe==null?void 0:Pe.subject_tags)==null?void 0:Ee.map((ne,te)=>{var ae,he;if(te===0){const ce=(ae=dt.find(De=>De.name==ne))==null?void 0:ae.swimg;return Be.createElement("img",{className:b.sign,src:ce,style:{left:"-4px"}})}const re=(he=dt.find(ce=>ce.name==ne))==null?void 0:he.ptimg;return Be.createElement("img",{className:b.sign,src:re,style:{left:`${48+52*(te-1)+2*te}px`}})}),Be.createElement("div",{className:b.tagsDom},Be.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(Pe==null?void 0:Pe.excellent)&&Be.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((ue=Pe==null?void 0:Pe.custom_tags)==null?void 0:ue.length)>0&&Be.createElement(de.Z,{title:(We=(He=Pe==null?void 0:Pe.custom_tags)==null?void 0:He[((Ct=Pe==null?void 0:Pe.custom_tags)==null?void 0:Ct.length)-1])==null?void 0:We.tag_name},Be.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},Be.createElement("span",{className:"multi-llipsis1e text-10px"},(ve=(Ae=Pe==null?void 0:Pe.custom_tags)==null?void 0:Ae[((kt=Pe==null?void 0:Pe.custom_tags)==null?void 0:kt.length)-1])==null?void 0:ve.tag_name))))),Zt=="hide"&&(Pe==null?void 0:Pe.studying)&&Me&&Be.createElement("div",{className:`${b.movebq} user-path-items`,onClick:ne=>{ne.stopPropagation(),se(Pe)}},Be.createElement("i",{className:"iconfont icon-yichu1 font12"}),Be.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(Zt)&&Me&&Be.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:ne=>{ne.stopPropagation(),Je(Pe)}},Be.createElement("i",{className:`iconfont ${Zt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Be.createElement("span",null,Zt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Be.createElement("div",{className:b.name},Be.createElement(de.Z,{title:mt&&(Pe!=null&&Pe.excellent_alias_name)?Be.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ke}`,Be.createElement("br",null),Be.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Pe==null?void 0:Pe.excellent_alias_name}`)):Ke},Be.createElement("span",{className:b.e},mt&&(Pe==null?void 0:Pe.excellent_alias_name)||Ke))),Me&&ft&&((gt=Pe==null?void 0:Pe.progress)==null?void 0:gt.all_score)!=0&&Be.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Be.createElement(tt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Gt=Pe==null?void 0:Pe.progress)==null?void 0:Gt.my_score)/((Ht=Pe==null?void 0:Pe.progress)==null?void 0:Ht.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(pe=Pe==null?void 0:Pe.progress)==null?void 0:pe.my_score,"/",(Te=Pe==null?void 0:Pe.progress)==null?void 0:Te.all_score),(!Me||!ft)&&Be.createElement(de.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${ct}`},Be.createElement("div",{className:b.unit},Be.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),ct)),(!Me||!ft)&&Be.createElement("div",{className:b.tags},Be.createElement("div",null,Be.createElement(de.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Be.createElement("span",null,Be.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Be.createElement("span",null,Pe.stages_count))),Be.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Be.createElement("span",null,Be.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Be.createElement("span",null,Pe.members_count)))))))})),!yt.length&&Be.createElement(ze.Z,null)))}},82636:function(Vn,hn,z){"use strict";z.d(hn,{jL:function(){return Oe},w9:function(){return pe},QD:function(){return an},cQ:function(){return He.Z},op:function(){return Ue},O5:function(){return jn},_b:function(){return _e},t7:function(){return rt},Gi:function(){return ct},YG:function(){return lt},qp:function(){return Ge},vr:function(){return Yt},qE:function(){return Cn},Je:function(){return se},wb:function(){return Ct},cq:function(){return ae},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"},de="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vp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XHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Oe=({dataSource:xn=[],img:ut,imgWidth:qt=346,title:Dt,sunTitle:sn,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,Dt),b.createElement("span",null,sn)),xn.length>0&&b.createElement("div",{className:xe.btns},xn.map((vn,Bn)=>b.createElement("div",{key:Bn,onClick:vn.click},vn.name,vn.sign?b.createElement("img",{src:de,width:39}):null))),Sn),ut&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:ut,width:qt}))),be={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"},Fe=z(92310),ze=z.n(Fe),Be=z(89392),Ge=({dataSource:xn=[],value:ut,onChange:qt,onTitleChange:Dt,className:sn,title:Sn,titleWidth:vn=41,style:Bn={},fontColor:Un="#6A7283",showCount:Yn})=>{const[$t,Mn]=(0,b.useState)(1),[rn,or]=(0,b.useState)(!1),wt=(0,b.useRef)(null),zt=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Re;xn.length!==0&&(((Re=wt==null?void 0:wt.current)==null?void 0:Re.clientHeight)>97?Mn(1):Mn(0)),xn.length===0&&Mn(0),or(!1)},[xn]),b.createElement("div",{className:ze()(be.row,sn,"fadeIn","animated"),style:Bn},b.createElement("div",{onClick:(0,Be.throttle)(()=>Dt==null?void 0:Dt(),2e3),style:{width:vn,marginTop:rn?12:4},className:`${be.title} ${Dt?"current":""}`},Sn),b.createElement("div",{className:rn?`${be.tagsWrap} ${be.tagsBorderWrap}`:be.tagsWrap},b.createElement("div",{className:be.bar,ref:zt,style:$t>0?{height:$t===1?97:"auto",overflow:$t===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:be.tag,ref:wt},xn==null?void 0:xn.map(Re=>b.createElement("span",{onClick:()=>qt(Re.id),key:Re.id,style:{color:Un},className:ut===Re.id?be.active:""},b.createElement("span",{title:Re.name,className:be.name},Re.name),!!Yn&&b.createElement("span",{className:be.num},Re.count))))),!!$t&&b.createElement(b.Fragment,null,$t===1?b.createElement("div",{onClick:()=>{var Re;Mn(2),((Re=wt==null?void 0:wt.current)==null?void 0:Re.clientHeight)>245?or(!0):or(!1)},className:be.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{zt.current.scrollTop=0,Mn(1),or(!1)},className:be.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ce={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:xn=[],value:ut,onChange:qt,className:Dt,style:sn={}})=>b.createElement("div",{style:sn,className:ze()(Ce.tabs,Dt)},xn.map(Sn=>b.createElement("span",{onClick:()=>qt(Sn.id),className:ut===Sn.id?Ce.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"},je=z(37568),rt=({dataSource:xn=[],value:ut="",onChange:qt,onInputChange:Dt=()=>{},className:sn,style:Sn={},placeholder:vn,allowClear:Bn=!1})=>{var Un;const[Yn,$t]=(0,b.useState)(""),[Mn,rn]=(0,b.useState)("");(0,b.useEffect)(()=>{var zt;let Re=ut;(zt=JSON.stringify(ut))!=null&&zt.includes("{")&&($t(ut.id),Re=ut.value||"");try{rn(decodeURIComponent(Re||""))}catch(ht){rn(decodeURIComponent(Re||""))}},[ut]);const or=()=>{qt(encodeURIComponent(Mn),Yn||null)},wt=zt=>{zt!==Yn&&($t(zt),qt(encodeURIComponent(Mn),zt))};return b.createElement("div",{className:ze()($e.input,sn),style:Sn},!!xn.length&&b.createElement("div",{className:$e.dropdown},b.createElement("div",{className:$e.text},(Un=xn.find(zt=>zt.id===Yn))==null?void 0:Un.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},xn.map((zt,Re)=>b.createElement("div",{key:Re,onClick:()=>wt(zt.id)},zt.name)))),b.createElement(je.default,{onPressEnter:or,value:Mn,onChange:zt=>{rn(zt.target.value),Dt(encodeURIComponent(zt.target.value),Yn||null)},placeholder:vn,variant:"borderless",allowClear:Bn,onClear:()=>qt("",Yn||null)}),b.createElement("i",{onClick:or,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:xn,onChange:ut,className:qt,total:Dt,pageSize:sn,style:Sn={}})=>{const vn=xn<2,Bn=xn>=Math.ceil(Dt/sn);return Dt<=sn?b.createElement(b.Fragment,null):b.createElement("div",{className:ze()(Nt.quickPager,qt),style:Sn},b.createElement("div",{onClick:()=>{vn||ut(xn-1,"prev")},className:vn?Nt.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Bn||ut(xn+1,"next")},className:Bn?Nt.disabled:""},"\u4E0B\u4E00\u9875"))},Me={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ft=z(29787),mt=z(25399),Zt=z(63139),Je=z(74128),at=z(65862),dt=z(96908),Pe=z(57177),Ze=z(81378),Ee=z(2524),Ct=({className:xn,dataSource:ut=[],col:qt=4,right:Dt,bottom:sn=23,precision:Sn=0,wrapWidth:vn=1200,trackEventItems:Bn,loading:Un})=>{const Yn=Math.floor((vn-(qt-1)*Dt)/qt);return b.createElement(ft.Z,{spinning:Un},b.createElement("div",{className:ze()(Me.list,xn)},!!ut.length&&ut.map(($t,Mn)=>{const{name:rn,id:or,identifier:wt,power:zt,cover_image_id:Re,pic:ht}=$t;return b.createElement("div",{className:Me.wrap,key:or,style:{width:Yn,marginRight:(1+Mn)%qt===0?0:Dt+Sn,marginBottom:sn}},b.createElement("a",{target:"_blank",href:`/shixuns/${wt}/challenges`,className:Me.li,onClick:Ye=>{Ye.preventDefault(),Bn&&(0,at.L9)([Bn]),zt&&(0,at.xg)(`/shixuns/${wt}/challenges`)}},b.createElement("div",{className:Me.img},b.createElement("img",{className:Me.cover,src:`${ht}`}),$t.is_jupyter&&b.createElement("img",{className:Me.sign,src:dt}),$t.is_jupyter_lab&&b.createElement("img",{className:Me.sign,src:Pe}),$t.is_unity_3d&&b.createElement("img",{className:Me.sign,src:Ze})),b.createElement("div",{className:Me.name},b.createElement(mt.Z,{title:rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:Me.e},rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:Me.tags},b.createElement(mt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,$t.challenges_count))),!!$t.myshixuns_count&&b.createElement(mt.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,$t.myshixuns_count))),b.createElement(mt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,$t.level))),b.createElement("div",{className:Me.rate},b.createElement(Zt.Z,{allowHalf:!0,disabled:!0,defaultValue:$t.score_info}),b.createElement("span",null,"\xA0",$t.score_info?`${$t.score_info}\u5206`:"5\u5206")))),!zt&&b.createElement("div",{className:Me.lockWrap},b.createElement("img",{src:`${Je.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")))}),!ut.length&&b.createElement(Ee.Z,null)))},He=z(61584),We={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},kt=z(62957),Ae=z(96599),ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ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Vop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=z(59301),Gt=(xn,ut,qt)=>new Promise((Dt,sn)=>{var Sn=Un=>{try{Bn(qt.next(Un))}catch(Yn){sn(Yn)}},vn=Un=>{try{Bn(qt.throw(Un))}catch(Yn){sn(Yn)}},Bn=Un=>Un.done?Dt(Un.value):Promise.resolve(Un.value).then(Sn,vn);Bn((qt=qt.apply(xn,ut)).next())}),pe=({className:xn,dataSource:ut=[],col:qt=4,right:Dt,bottom:sn=23,precision:Sn=0,wrapWidth:vn=1200,trackEventItems:Bn,loading:Un,category:Yn,hiddenClick:$t,handleVery:Mn=()=>!0,isCurrent:rn})=>{const[or,wt]=kt.default.useModal(),zt=Math.floor((vn-(qt-1)*Dt)/qt),Re=ht=>Gt(void 0,null,function*(){or.confirm({title:"\u7F6E\u9876",width:500,content:gt.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",gt.createElement("span",{className:"c-blue"},"\u201C",ht.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return gt.createElement(ft.Z,{spinning:Un},wt,gt.createElement("div",{className:ze()(We.list,xn)},!!ut.length&&ut.map((ht,Ye)=>{const{subject_identifier:St,id:_t,identifier:tr,power:ar}=ht,bt=ht.is_public!=0&&ht.is_public;return gt.createElement("div",{className:We.wrap,key:_t,style:{width:zt,marginRight:(1+Ye)%qt===0?0:Dt+Sn,marginBottom:sn}},ht.homepage_show&>.createElement("div",{className:We.btnsTop},gt.createElement(Ae.default,{color:"red"},"\u7F6E\u9876")),gt.createElement("a",{className:We.li,onClick:xt=>{xt.preventDefault(),Mn(ht==null?void 0:ht.first_category_url)&&(Bn&&(0,at.L9)([Bn]),(0,at.xg)(ht.first_category_url))}},gt.createElement("div",{className:We.top},gt.createElement(mt.Z,{title:ht.name},gt.createElement("div",{className:We.name},ht.name)),gt.createElement("img",{className:We.img,src:Je.Z.IMG_SERVER+"/images/"+ht.avatar_url}),gt.createElement("div",{className:We.text,title:ht.creator},ht.creator),St&>.createElement("div",{className:We.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),bt&>.createElement("div",{className:We.sign},"\u516C\u5F00"),rn&>.createElement("div",{className:We.hidden,onClick:xt=>{xt.stopPropagation(),$t(ht)}},gt.createElement("i",{className:`iconfont ${Yn=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Yn=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),gt.createElement("div",{className:We.bottom},ht.visits>0&>.createElement(mt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,ht.visits))),ht.course_members_count>0&>.createElement(mt.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),ht.course_members_count)),ht.tasks_count>0&>.createElement(mt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),ht.tasks_count)),ht.is_end?gt.createElement("div",{style:{color:"#6B758B"}}):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ht.is_accessible&>.createElement("div",{className:We.lockWrap},gt.createElement("img",{src:`${Je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ut.length&>.createElement(Ee.Z,null)))},Te={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"},Ke=z(65582),lt=({dataSource:xn=[],value:ut,onChange:qt,className:Dt,style:sn={},tabBarExtraContent:Sn})=>b.createElement("div",{className:ze()(Te.tabs,Dt),style:sn},b.createElement("div",{className:Te.tabsWrap},xn.map((vn,Bn)=>!(vn!=null&&vn.hide)&&b.createElement("aside",{className:Te.tab,onClick:()=>{qt(vn.id),vn.link&&Ke.history.push(vn.link)},key:Bn},b.createElement("div",{className:ut===vn.id?Te.active:""},vn.name),(vn==null?void 0:vn.resetCount)==null&&(vn==null?void 0:vn.total)!==void 0&&b.createElement("span",null,"\uFF08",vn==null?void 0:vn.total,"\uFF09"),(vn==null?void 0:vn.resetCount)!==void 0&&(vn==null?void 0:vn.total)!==void 0&&b.createElement(mt.Z,{title:(vn==null?void 0:vn.tip)!=null?vn==null?void 0:vn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},vn==null?void 0:vn.resetCount),"/",b.createElement("span",null,vn==null?void 0:vn.total),"\uFF09"))))),b.createElement("div",{className:Te.tabBar},Sn)),ct=({className:xn,style:ut={},children:qt})=>b.createElement("div",{className:ze()(xn),style:ut},qt),ln={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"},Et=z(75727),le=z(93041);const ne=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ae=({sortValue:xn,dropValue:ut,className:qt,onSort:Dt,onDrop:sn,dataSource:Sn=ne})=>{var vn;return b.createElement("div",{className:ze()(ln.orderWrap,qt)},b.createElement(Et.Z,{dropdownRender:()=>b.createElement(le.default,null,Sn.map((Bn,Un)=>b.createElement(le.default.Item,{key:Un,onClick:()=>sn(Bn.id)},Bn.name)))},b.createElement("span",{className:ln.orderTextWrap},(vn=Sn.find(Bn=>ut===Bn.id))==null?void 0:vn.name)),b.createElement("span",{className:ln.orderIconWrap},b.createElement("span",{className:ln.orderAsc},b.createElement("i",{className:xn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ln.cursorPointer} ${ln.active}`:`iconfont icon-sanjiaoxing-up font12 ${ln.cursorPointer}`,onClick:()=>Dt(xn==="asc"?"desc":"asc")})),b.createElement("span",{className:ln.orderDesc},b.createElement("i",{className:xn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ln.cursorPointer} ${ln.active}`:`iconfont icon-sanjiaoxing-down font12 ${ln.cursorPointer}`,onClick:()=>Dt(xn==="asc"?"desc":"asc")}))))},he={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"},re=z(7939),ce=Object.defineProperty,De=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Ie=(xn,ut,qt)=>ut in xn?ce(xn,ut,{enumerable:!0,configurable:!0,writable:!0,value:qt}):xn[ut]=qt,pt=(xn,ut)=>{for(var qt in ut||(ut={}))st.call(ut,qt)&&Ie(xn,qt,ut[qt]);if(De)for(var qt of De(ut))Qe.call(ut,qt)&&Ie(xn,qt,ut[qt]);return xn},Pt=(xn,ut)=>{var qt={};for(var Dt in xn)st.call(xn,Dt)&&ut.indexOf(Dt)<0&&(qt[Dt]=xn[Dt]);if(xn!=null&&De)for(var Dt of De(xn))ut.indexOf(Dt)<0&&Qe.call(xn,Dt)&&(qt[Dt]=xn[Dt]);return qt},Tt=(xn,ut,qt)=>new Promise((Dt,sn)=>{var Sn=Un=>{try{Bn(qt.next(Un))}catch(Yn){sn(Yn)}},vn=Un=>{try{Bn(qt.throw(Un))}catch(Yn){sn(Yn)}},Bn=Un=>Un.done?Dt(Un.value):Promise.resolve(Un.value).then(Sn,vn);Bn((qt=qt.apply(xn,ut)).next())}),Ue=xn=>{var ut=xn,{className:qt,style:Dt,children:sn,loading:Sn=!1,openLoading:vn,onClick:Bn=()=>{},size:Un="middle",shape:Yn="round"}=ut,$t=Pt(ut,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Mn,rn]=(0,b.useState)(!1);return b.createElement(re.ZP,pt({onClick:(0,Be.throttle)(or=>Tt(void 0,null,function*(){vn&&rn(!0);try{yield Bn(or)}catch(wt){console.log("error",wt)}vn&&rn(!1)}),2e3,{leading:!0,trailing:!1}),className:ze()(he.btn,he[`${Un}-${Yn}`],qt),style:Dt,size:Un,shape:Yn,loading:Mn||Sn},$t),sn)},pn={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"},Cn=({className:xn,style:ut,children:qt=null,onClick:Dt,title:sn})=>b.createElement("div",{className:ze()(pn.head,xn),style:ut},b.createElement("span",{className:"primary-hover",onClick:Dt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:sn},sn),b.createElement("div",{className:pn.node},qt)),cn={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"},an=({confirmShow:xn=!0,confirmTitle:ut,confirmClick:qt,cancelShow:Dt=!0,cancelTitle:sn,cancelClick:Sn,className:vn,style:Bn,confirmLoading:Un=!1})=>b.createElement("div",{className:ze()(cn.btns,vn),style:Bn},xn&&b.createElement(re.ZP,{loading:Un,onClick:qt,type:"primary",className:cn.confirm},ut),Dt&&b.createElement(re.ZP,{onClick:Sn,className:cn.cancel},sn)),mn={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"},Yt=({className:xn,style:ut={},LeftContent:qt,children:Dt,RightContent:sn})=>b.createElement("div",{className:ze()(mn.fixedBottom,xn),style:ut},b.createElement("div",{className:mn.wrap},b.createElement("div",{className:mn.left},qt),b.createElement("div",{className:mn.center},Dt),b.createElement("div",{className:mn.right},sn))),gn={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"},_e=({className:xn,style:ut={},dataSource:qt=[]})=>b.createElement("div",{className:ze()(gn.crumbs,xn),style:ut},qt.map((Dt,sn)=>sn<qt.length-1?b.createElement(b.Fragment,{key:sn},Dt.path||Dt.onClick?b.createElement("span",{className:gn.hover,onClick:Dt!=null&&Dt.onClick?Dt.onClick:()=>Ke.history.push(Dt.path)},Dt.name):b.createElement("span",null,Dt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:sn,style:{color:"#5F6368"}},Dt.name))),Vt=z(11938),nn=Object.defineProperty,dn=Object.defineProperties,Ln=Object.getOwnPropertyDescriptors,Qn=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,Jn=(xn,ut,qt)=>ut in xn?nn(xn,ut,{enumerable:!0,configurable:!0,writable:!0,value:qt}):xn[ut]=qt,dr=(xn,ut)=>{for(var qt in ut||(ut={}))hr.call(ut,qt)&&Jn(xn,qt,ut[qt]);if(Qn)for(var qt of Qn(ut))vr.call(ut,qt)&&Jn(xn,qt,ut[qt]);return xn},Jt=(xn,ut)=>dn(xn,Ln(ut)),En=(xn,ut)=>{var qt={};for(var Dt in xn)hr.call(xn,Dt)&&ut.indexOf(Dt)<0&&(qt[Dt]=xn[Dt]);if(xn!=null&&Qn)for(var Dt of Qn(xn))ut.indexOf(Dt)<0&&vr.call(xn,Dt)&&(qt[Dt]=xn[Dt]);return qt};const{Countdown:qn}=Vt.default;var jn=xn=>{var ut=xn,{onChange:qt}=ut,Dt=En(ut,["onChange"]);const[sn,Sn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof sn=="number"&&sn>=0&&qt(sn)},[sn]);const vn=Bn=>{const Un=Math.floor(Bn/1e3);Sn(Un)};return b.createElement(qn,Jt(dr({},Dt),{onChange:vn}))}},31103:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return xe}});var b=z(59301);function xe(de,tt){const Oe=(0,b.useRef)();(0,b.useEffect)(()=>{Oe.current=de}),(0,b.useEffect)(()=>{function be(){Oe.current()}if(tt!==null){let Fe=setInterval(be,tt);return()=>clearInterval(Fe)}},[tt])}},64023:function(Vn,hn,z){"use strict";z.r(hn),z.d(hn,{default:function(){return xn}});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"},de=z(92310),tt=z.n(de),Oe=z(82636),be=z(25374),Fe=z(77019),ze=z(7939),Be=z(62957),fe=z(37568),Ge=z(70858),Ce=z(28284),yt=z(25399),et=z(4875),$e=z(6767),je=z(29787),Ve=z(62673),rt=z(47889),Nt=z(24017),Ut=z(65862),se=z(65582),Me=z(56082),ft=z(87954),mt=z(18257),Zt=z(19719),Je=z(35241),at=z(2524),dt=Object.defineProperty,Pe=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,He=(ut,qt,Dt)=>qt in ut?dt(ut,qt,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):ut[qt]=Dt,We=(ut,qt)=>{for(var Dt in qt||(qt={}))ue.call(qt,Dt)&&He(ut,Dt,qt[Dt]);if(Ee)for(var Dt of Ee(qt))Ct.call(qt,Dt)&&He(ut,Dt,qt[Dt]);return ut},kt=(ut,qt)=>Pe(ut,Ze(qt));const Ae=b.createContext({}),ve=()=>{const{setActivatorNodeRef:ut,listeners:qt}=(0,b.useContext)(Ae);return b.createElement(ze.ZP,We({type:"text",size:"small",icon:b.createElement(yt.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(Me.Z,null)),style:{cursor:"move"},ref:ut},qt))},gt=ut=>{const{attributes:qt,listeners:Dt,setNodeRef:sn,setActivatorNodeRef:Sn,transform:vn,transition:Bn,isDragging:Un}=(0,Zt.nB)({id:ut["data-row-key"]}),Yn=We(kt(We({},ut.style),{transform:Je.ux.Translate.toString(vn),transition:Bn}),Un?{position:"relative",zIndex:99}:{}),$t=(0,b.useMemo)(()=>({setActivatorNodeRef:Sn,listeners:Dt}),[Sn,Dt]);return b.createElement(Ae.Provider,{value:$t},b.createElement("tr",We(kt(We({},ut),{ref:sn,style:Yn}),qt)))};var Ht=({columns:ut,dataSource:qt,setDataSource:Dt,loading:sn})=>{const Sn=({active:vn,over:Bn})=>{vn.id!==(Bn==null?void 0:Bn.id)&&Dt(Un=>{const Yn=Un.findIndex(Mn=>Mn.id===(vn==null?void 0:vn.id)),$t=Un.findIndex(Mn=>Mn.id===(Bn==null?void 0:Bn.id));return(0,Zt.Rp)(Un,Yn,$t)})};return b.createElement(ft.LB,{modifiers:[mt.DL],onDragEnd:Sn},b.createElement(Zt.Fo,{items:qt.map(vn=>vn.id),strategy:Zt.qw},b.createElement(Ge.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:sn,locale:{emptyText:b.createElement(at.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:qt,components:{body:{row:gt}},columns:[{key:"sort",align:"center",width:80,render:()=>b.createElement(ve,null)},...ut],size:"middle"})))},pe=z(31691),Te=z(79939),Ke=z(82326),tn=z(53420),lt=z(31709),jt=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"},ln=z(3033),Et={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:ut})=>{var qt,Dt,sn,Sn,vn,Bn,Un,Yn,$t,Mn;return b.createElement("div",{className:Et.warp},b.createElement("div",{className:Et.mainPart},b.createElement("div",{className:Et.qcount},(ut==null?void 0:ut.question_type)===8&&b.createElement(le.Z,{className:Et.content,showProgramFill:!0,value:(qt=ut==null?void 0:ut.program_attr)==null?void 0:qt.description}),(ut==null?void 0:ut.question_type)!=8&&b.createElement(le.Z,{className:Et.qtitle,value:(ut==null?void 0:ut.name)||(ut==null?void 0:ut.title)})),((ut==null?void 0:ut.question_type)===0||(ut==null?void 0:ut.question_type)===2)&&b.createElement("div",null,(Dt=ut==null?void 0:ut.choices)==null?void 0:Dt.map((rn,or)=>b.createElement("div",{className:Et.redio},!(rn!=null&&rn.is_answer)&&b.createElement("span",{className:Et.redioitem}),(rn==null?void 0:rn.is_answer)&&b.createElement("i",{className:`${Et.redioitemyes} icon-duigou1`}),b.createElement(le.Z,{className:rn!=null&&rn.is_answer?Et.titleyes:Et.title,value:te[or]+(rn==null?void 0:rn.choice_text)}),(rn==null?void 0:rn.is_answer)&&b.createElement("div",{className:Et.yestag},"\u6B63\u786E\u7B54\u6848")))),(ut==null?void 0:ut.question_type)===1&&b.createElement("div",null,(sn=ut==null?void 0:ut.choices)==null?void 0:sn.map((rn,or)=>b.createElement("div",{className:Et.checkbox},!(rn!=null&&rn.is_answer)&&b.createElement("span",{className:Et.checkboxitem}),(rn==null?void 0:rn.is_answer)&&b.createElement("i",{className:`${Et.checkboxitemyes} icon-duigou1`}),b.createElement(le.Z,{className:rn!=null&&rn.is_answer?Et.titleyes:Et.title,value:te[or]+(rn==null?void 0:rn.choice_text)}),(rn==null?void 0:rn.is_answer)&&b.createElement("div",{className:Et.yestag},"\u6B63\u786E\u7B54\u6848")))),(ut==null?void 0:ut.question_type)===3&&b.createElement("div",{className:Et.completion},(Sn=ut==null?void 0:ut.standard_answer)==null?void 0:Sn.map((rn,or)=>{var wt;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:Et.title},"\u586B\u7A7A\u9879",or+1),b.createElement("div",{className:Et.content},(wt=rn==null?void 0:rn.answer_text)==null?void 0:wt.map((zt,Re)=>b.createElement("div",{className:Et.items},zt))))})),(ut==null?void 0:ut.question_type)===4&&b.createElement("div",{className:Et.simple},b.createElement("div",{className:Et.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(vn=ut==null?void 0:ut.answer_texts)!=null&&vn[0]?b.createElement(le.Z,{className:Et.content,value:(Bn=ut==null?void 0:ut.answer_texts)==null?void 0:Bn[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ut==null?void 0:ut.question_type)===5&&((Un=ut==null?void 0:ut.challenge_names)==null?void 0:Un.map((rn,or)=>b.createElement("div",{className:Et.shixun},b.createElement("span",{className:Et.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Ut.EM)(or+1),"\u9898"),rn)))),(ut==null?void 0:ut.question_type)===6&&b.createElement("div",{className:Et.program},b.createElement(le.Z,{className:Et.content,value:((Yn=ut==null?void 0:ut.program_attr)==null?void 0:Yn.description)||"- -"})),(ut==null?void 0:ut.question_type)===7&&(($t=ut==null?void 0:ut.sub_item_banks)==null?void 0:$t.map((rn,or)=>{var wt,zt,Re,ht,Ye;return b.createElement("div",null,b.createElement("div",{className:Et.combination},b.createElement("span",{className:Et.qtitle},rn==null?void 0:rn.name)),b.createElement("div",{className:Et.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((rn==null?void 0:rn.item_type)=="SINGLE"||(rn==null?void 0:rn.item_type)=="JUDGMENT")&&((wt=rn==null?void 0:rn.choices)==null?void 0:wt.map((St,_t)=>b.createElement("div",{className:Et.redio},!(St!=null&&St.is_answer)&&b.createElement("span",{className:Et.redioitem}),(St==null?void 0:St.is_answer)&&b.createElement("i",{className:`${Et.redioitemyes} icon-duigou1`}),b.createElement(le.Z,{className:St!=null&&St.is_answer?Et.titleyes:Et.title,value:te[_t]+(St==null?void 0:St.choice_text)}),(St==null?void 0:St.is_answer)&&b.createElement("div",{className:Et.yestag},"\u6B63\u786E\u7B54\u6848")))),(rn==null?void 0:rn.item_type)=="MULTIPLE"&&((zt=rn==null?void 0:rn.choices)==null?void 0:zt.map((St,_t)=>b.createElement("div",{className:Et.checkbox},!(St!=null&&St.is_answer)&&b.createElement("span",{className:Et.checkboxitem}),(St==null?void 0:St.is_answer)&&b.createElement("i",{className:`${Et.checkboxitemyes} icon-duigou1`}),b.createElement(le.Z,{className:St!=null&&St.is_answer?Et.titleyes:Et.title,value:te[_t]+(St==null?void 0:St.choice_text)}),(St==null?void 0:St.is_answer)&&b.createElement("div",{className:Et.yestag},"\u6B63\u786E\u7B54\u6848")))),(rn==null?void 0:rn.item_type)=="COMPLETION"&&b.createElement("div",{className:Et.completion},(Re=rn==null?void 0:rn.standard_answer)==null?void 0:Re.map((St,_t)=>{var tr;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:Et.title},"\u586B\u7A7A\u9879",_t+1),b.createElement("div",{className:Et.content},(tr=St==null?void 0:St.answer_text)==null?void 0:tr.map((ar,bt)=>b.createElement("div",{className:Et.items},ar))))})),(rn==null?void 0:rn.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:Et.simple},b.createElement("div",{className:Et.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ht=rn==null?void 0:rn.answer_texts)!=null&&ht[0]?b.createElement(le.Z,{className:Et.content,value:(Ye=rn==null?void 0:rn.answer_texts)==null?void 0:Ye[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ut==null?void 0:ut.question_type)===8&&b.createElement("div",null,b.createElement(le.Z,{disabledFill:!0,className:Et.content,showProgramFill:!0,value:ne.Base64.decode(((Mn=ut==null?void 0:ut.program_attr)==null?void 0:Mn.code)||"")})),(ut==null?void 0:ut.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"}},(ut==null?void 0:ut.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(ut==null?void 0:ut.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"}},(ut==null?void 0:ut.study_count)||"0"))),b.createElement("a",{className:Et.shixunbutton,href:`/shixuns/${ut==null?void 0:ut.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ut==null?void 0:ut.question_type)<=4||[6,8].includes(ut==null?void 0:ut.question_type))&&b.createElement("div",{className:Et.bottom},b.createElement("div",{className:Et.bottomitem},b.createElement("span",{className:Et.left},"\u89E3\u6790"),b.createElement("span",{className:Et.right},ut!=null&&ut.analysis?b.createElement(le.Z,{value:ut==null?void 0:ut.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:Et.bottomitem},b.createElement("span",{className:Et.left},"\u96BE\u5EA6"),b.createElement("span",{className:Et.right},(ut==null?void 0:ut.difficulty)===1?"\u7B80\u5355":(ut==null?void 0:ut.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:Et.bottomitem},b.createElement("span",{className:Et.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:Et.right},ut!=null&&ut.tag_discipline?ut==null?void 0:ut.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},re=z(64303),ce=z(96435),De=z(11517),st=z(61485),Qe=z(44589),Ie=z(59301),pt=Object.defineProperty,Pt=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,Wt=(ut,qt,Dt)=>qt in ut?pt(ut,qt,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):ut[qt]=Dt,Cn=(ut,qt)=>{for(var Dt in qt||(qt={}))Ue.call(qt,Dt)&&Wt(ut,Dt,qt[Dt]);if(Le)for(var Dt of Le(qt))pn.call(qt,Dt)&&Wt(ut,Dt,qt[Dt]);return ut},cn=(ut,qt)=>Pt(ut,Tt(qt)),Xt=(ut,qt,Dt)=>new Promise((sn,Sn)=>{var vn=Yn=>{try{Un(Dt.next(Yn))}catch($t){Sn($t)}},Bn=Yn=>{try{Un(Dt.throw(Yn))}catch($t){Sn($t)}},Un=Yn=>Yn.done?sn(Yn.value):Promise.resolve(Yn.value).then(vn,Bn);Un((Dt=Dt.apply(ut,qt)).next())});const an=({setScoreShow:ut,ScoreShow:qt,onOk:Dt,isshixuns:sn,isloadings:Sn,dispatch:vn,selectedIds:Bn,user:Un,virtualId:Yn,shixunsDetail:$t})=>{var Mn;let[rn,or]=(0,b.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[wt,zt]=(0,b.useState)([]),[Re,ht]=(0,b.useState)([]),[Ye,St]=(0,b.useState)([]),[_t,tr]=(0,b.useState)([]);const[ar,bt]=(0,b.useState)(!1),[xt]=Ce.default.useForm(),[Ft,Kt]=(0,b.useState)(),[Pn,Tn]=(0,b.useState)(!1);let[kn,Kn]=(0,b.useState)(sn);const[pr,Ar]=(0,b.useState)([]),[Vr,Br]=(0,b.useState)(0),[fr,Pr]=(0,b.useState)(!0),[kr,$r]=(0,b.useState)([]),[Xr,vo]=(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)([]),no=(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}],mo=[{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,eo]=(0,b.useState)(!1),ko=()=>{xt.resetFields(),kn=!1,Kn(!1),eo(!1),xt.submit()};(0,b.useEffect)(()=>{qt&&(xt.setFieldsValue({item_type:"",courseid:null,tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),fr&&kn&&(xt.setFieldsValue({item_type:"SHIXUN"}),rn.item_type="SHIXUN",or(Cn({},rn)),Pr(!1)),rn.type="0",ht(Bn),St(Bn),Kr.current=new Set(Bn),_o(rn),qo(),Lo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),ii())},[qt]),console.log(Re,Ye,"listitems"),(0,b.useEffect)(()=>{Vr>0&&setTimeout(()=>{Br(0)},2e3)},[Vr]);function _o(ot){return Xt(this,null,function*(){var Ot,en,Fn;if(bt(!0),or(Cn({},ot)),(Ye==null?void 0:Ye.length)<=0&&ot.type==="5"){tr([]),bt(!1);return}let Zn=ot.type==="5"?Ye==null?void 0:Ye.filter(br=>!pr.includes(br)):null,An=ot.type==="5"?Ye==null?void 0:Ye.filter(br=>pr.includes(br)):null;wr.current=wr.current+1;const Hn=wr.current;let $n={course_discipline_id:ot==null?void 0:ot.courseid};(ot==null?void 0:ot.type)==="1"&&($n={discipline_id:((Ot=ot==null?void 0:ot.courseid)==null?void 0:Ot[0])||null,sub_discipline_id:((en=ot==null?void 0:ot.courseid)==null?void 0:en[1])||null});let Cr=yield(0,jt.ZP)("/api/item_banks.json",{method:"get",params:cn(Cn(Cn({},ot),$n),{ids:Zn,shixun_ids:An,include_shixuns:!0,group_id:((Fn=ot.group_id)==null?void 0:Fn.map(br=>br==null?void 0:br.value))||null,keyword:ot.keyword?encodeURIComponent(ot.keyword):ot.keyword,type:ot.type==="5"?null:ot.type,clazz:ot.type==="3"?"ItemBanksGroup":null})});wr.current===Hn&&(tr(Cr),bt(!1))})}function qo(){return Xt(this,null,function*(){let ot=yield(0,jt.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:rn.type==="5"?null:rn.type,clazz:"ItemBanksGroup"}});zt((0,ln.L)(ot==null?void 0:ot.disciplines))})}function Lo(ot){return Xt(this,null,function*(){var Ot;let en=yield(0,jt.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ot}),Fn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Ot=en==null?void 0:en.data)==null?void 0:Ot.map(Zn=>({title:Zn.name,id:Zn.id,pid:Zn.id,value:Zn.id,key:Zn.id,isLeaf:!Zn.have_child}))}];$r(Fn)})}function ii(){return Xt(this,null,function*(){let ot=yield(0,De.Dm)({});(ot==null?void 0:ot.status)===0&&vo(ot==null?void 0:ot.groups)})}function ke(ot){return Xt(this,null,function*(){var Ot,en,Fn,Zn;bt(!0);let An=(Ot=ot.list)==null?void 0:Ot.filter(br=>!pr.includes(br)),Hn=(en=ot.list)==null?void 0:en.filter(br=>pr.includes(br));if(An.length===0&&Hn.length===0){bt(!1),tr([]);return}let $n={course_discipline_id:ot==null?void 0:ot.courseid};(ot==null?void 0:ot.type)==="1"&&($n={discipline_id:((Fn=ot==null?void 0:ot.courseid)==null?void 0:Fn[0])||null,sub_discipline_id:((Zn=ot==null?void 0:ot.courseid)==null?void 0:Zn[1])||null});let Cr=yield(0,jt.ZP)("/api/item_banks.json",{method:"get",params:cn(Cn(Cn({},ot),$n),{ids:An,shixun_ids:Hn,type:ot.type==="5"?null:ot.type,clazz:ot.type==="3"?"ItemBanksGroup":null})});bt(!1),tr(Cr)})}const nt=ot=>Xt(void 0,null,function*(){const Ot=yield vn({type:"shixunsDetail/release",payload:{id:ot}});let en=Ot==null?void 0:Ot.tag_position,Fn=(Ot==null?void 0:Ot.evaluation_set_position)||[],Zn=Ot.status;return Zn===0?($e.ZP.success("\u53D1\u5E03\u6210\u529F"),_o(rn),!0):(Zn===2?$e.ZP.error(`\u7B2C${Fn.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${en.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)}),Mt=ot=>(ot==null?void 0:ot.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",un=()=>ar?"\u6682\u65E0\u6570\u636E":rn.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 ot;return(0,Ut.xg)(`/users/${(ot=Un==null?void 0:Un.userInfo)==null?void 0:ot.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):rn.type==="0"&&(_t==null?void 0:_t.items_count)===0&&!(rn!=null&&rn.tag_discipline_id)&&!(rn!=null&&rn.difficulty)&&!(rn!=null&&rn.keyword)&&!(rn!=null&&rn.group_id)&&!(rn!=null&&rn.difficulty)?Ie.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",Ie.createElement("span",{onClick:()=>{(0,Ut.xg)(`/problems/newcreate?&pageId=${Yn}`),ut(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",fn=(ot,Ot,en)=>ot.map(Fn=>Fn.key===Ot?Cn(Cn({},Fn),en):Fn.children?cn(Cn({},Fn),{children:fn(Fn.children,Ot,en)}):Fn),Rt=ot=>Xt(void 0,null,function*(){const{key:Ot}=ot;let en=rn.type;const Fn=yield(0,De.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Ot),type:en}),{data:Zn,total_count:An}=Fn||{};An>0&&$r(Hn=>fn(Hn,Ot,{children:Zn.map($n=>({title:$n.name,id:$n.id,pid:$n.id,value:$n.id,key:$n.id,isLeaf:!$n.have_child}))}))});return Ie.createElement("div",null,Ie.createElement(Be.default,{title:!1,footer:!1,open:qt,width:1200,centered:!0,className:ct.scoremodal,onCancel:()=>{ut(!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:rn.type,onChange:ot=>{ot==="3"?(rn.show_all_share=!0,Lo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):rn.show_all_share=null,ot==="0"&&Lo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),rn.type=ot,rn.page=1,rn.updated_at="",rn.quotes="",rn.courseid=null,rn.tag_discipline_id=null,rn.difficulty=null,rn.keyword=null,rn.group_id=null,rn.teach_group_id=null,xt.setFieldsValue({courseid:null,tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(rn==null?void 0:rn.item_type)==="SHIXUN"&&rn.type!=="5"&&(kn=!0,Kn(!0)),eo(!1),rn.type==="5"&&(kn=!1,Kn(!1)),or(Cn({},rn)),_o(Cn({},rn)),qo()},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",Ye.length>0&&Ie.createElement("span",{className:ct.titlecount},Ye.length),Vr>0&&Ie.createElement("span",{className:ct.add},"+",Vr)),key:"5"}]}),Ie.createElement(Ce.default,{layout:"inline",form:xt,onValuesChange:(ot,Ot)=>{const en=Object.values(Ot).some(Zn=>Zn!==null&&Zn!==""&&Zn!==void 0),Fn=Ot.keyword==="";if(eo(en||!Fn),rn.page=1,(Ot==null?void 0:Ot.item_type)==="SHIXUN"){if(rn.type==="5"?Kn(!1):Kn(!0),ot.keyword||ot.keyword==="")return;xt.submit()}else{if(ot!=null&&ot.courseid&&xt.setFieldsValue({tag_discipline_id:null}),Kn(!1),ot.keyword||ot.keyword==="")return;xt.submit()}},onFinish:ot=>{var Ot;rn.type==="3"&&(!ot.group_id||((Ot=ot==null?void 0:ot.group_id)==null?void 0:Ot.length)===0)?rn.show_all_share=!0:rn.show_all_share=null,or(Cn(Cn({},rn),ot)),_o(Cn(Cn({},rn),ot))}},rn.type=="1"?Ie.createElement(Ce.default.Item,{name:"courseid"},Ie.createElement(Te.Z,{className:ct.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:wt})):Ie.createElement(Ce.default.Item,{name:"courseid"},Ie.createElement(Qe.q,{style:{width:160,height:38},size:"middle",showLinkButton:!1,data:{container_type:"ItemBank",type:rn==null?void 0:rn.type}})),!kn&&Ie.createElement(Ce.default.Item,{name:"tag_discipline_id"},Ie.createElement(Ke.default,{className:ct.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Mn=_t==null?void 0:_t.tag_disciplines)==null?void 0:Mn.map(ot=>Ie.createElement(Ke.default.Option,{key:ot.id},ot.name)))),Ie.createElement(Ce.default.Item,{name:kn?"diff":"difficulty"},Ie.createElement(Ke.default,{className:ct.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!kn&&Rr.map(ot=>Ie.createElement(Ke.default.Option,{key:ot.value},ot.name)),kn&&mo.map(ot=>Ie.createElement(Ke.default.Option,{key:ot.value},ot.name)))),kn&&Ie.createElement(Ce.default.Item,{name:"shixun_publish_status"},Ie.createElement(Ke.default,{className:ct.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Qr.map(ot=>Ie.createElement(Ke.default.Option,{key:ot.value},ot.name)))),rn.type==="3"&&!kn&&Ie.createElement(Ce.default.Item,{name:"teach_group_id"},Ie.createElement(Ke.default,{className:ct.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(ot,Ot)=>(console.log("---",ot,Ot),Ot.children.toUpperCase().indexOf(ot.toUpperCase())!==-1)},Xr==null?void 0:Xr.map(ot=>Ie.createElement(Ke.default.Option,{key:ot.group_id},ot.name)))),(rn.type==="3"||rn.type==="0")&&!kn&&Ie.createElement(Ce.default.Item,{name:"group_id"},Ie.createElement(tn.default,{treeDataSimpleMode:!0,style:{width:134},className:ct.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(ot,Ot)=>Ot.title.toUpperCase().indexOf(ot.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Rt,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:kr})),qr&&Ie.createElement("span",{className:ct.allqingchu,onClick:ko},Ie.createElement("i",{className:"iconfont icon-guanbi4"}),Ie.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ie.createElement(Ce.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ie.createElement(fe.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:()=>xt.submit()}),onSearch:ot=>{xt.submit()}}))),Ie.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ie.createElement("div",{onClick:()=>{rn.updated_at==="asc"?rn.updated_at="desc":rn.updated_at="asc",or(cn(Cn({},rn),{page:1})),_o(cn(Cn({},rn),{page:1}))}}," ",rn.updated_at?Ie.createElement("img",{src:rn.updated_at==="asc"?re.Z:ce.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:()=>{rn.quotes==="asc"?rn.quotes="desc":rn.quotes="asc",or(cn(Cn({},rn),{page:1})),_o(cn(Cn({},rn),{page:1}))},style:{marginLeft:20}}," ",rn.quotes?Ie.createElement("img",{src:rn.quotes==="asc"?re.Z:ce.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(Ge.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(at.Z,{styles:{margin:"18px auto"},customText:un()})},loading:ar,rowKey:ot=>ot.id,rowSelection:{type:"checkbox",selectedRowKeys:Re,getCheckboxProps:ot=>({disabled:ot.shixun_tag_num===1}),onSelect(ot,Ot,en){if(Ot)kn&&Ar([...pr,ot.id]),ht([...Re,ot.id]),gr([...ur,ot]),ot.identifier?no.current.add(ot.id):Kr.current.add(ot.id),Br(1),St([...Ye,ot.id]);else{const Fn=ur.filter(Hn=>Hn.id!==ot.id);gr(Fn);const Zn=Fn.map(Hn=>Hn.id);ht([...Zn]),ot.identifier?no.current.delete(ot.id):Kr.current.delete(ot.id);let An=Ye.filter(Hn=>Hn!==ot.id);if(St(An),kn){let Hn=pr.filter($n=>$n!==ot.id);Ar([...Hn])}if(rn.type==="5"){ke(cn(Cn({},rn),{list:[...An]}));return}}},onSelectAll(ot,Ot,en){if(ot){const Fn=en.map(Zn=>Zn.id);kn&&Ar([...pr,...Fn]),gr([...ur,...en]),ht([...Re,...Fn]),St([...Ye,...Fn]);for(const Zn of en)Zn.identifier?no.current.add(Zn.id):Kr.current.add(Zn.id)}else{const Fn=en.map(Hn=>Hn.id),Zn=Re.filter(Hn=>!Fn.some($n=>$n===Hn)),An=ur.filter(Hn=>!Fn.some($n=>$n===Hn.id));if(gr(An),ht([...Zn]),St([...Zn]),kn){let Hn=pr.filter($n=>!Fn.some(Cr=>Cr===$n.id));Ar([...Hn])}rn.type==="5"&&ke(cn(Cn({},rn),{list:[...Zn]}));for(const Hn of Fn)Hn.identifier?no.current.delete(Hn):Kr.current.delete(Hn)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(ot,Ot,en)=>{const Fn=`No.${ot}`;return Ie.createElement(yt.Z,{title:Fn},Ie.createElement("span",null,Fn))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:kn?"30%":"60%",key:"name",render:(ot,Ot,en)=>{var Fn;return Ie.createElement(yt.Z,{title:Mt(Ot)},Ie.createElement("span",null,Ie.createElement(le.Z,{key:1,showLines:1,showTextOnly:!0,value:kn||Ot!=null&&Ot.challenge_names?Ot!=null&&Ot.title||ot===null?"--":ot:(Ot==null?void 0:Ot.item_type)=="BPROGRAM"?(Fn=Ot==null?void 0:Ot.program_attr)==null?void 0:Fn.description:ot})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(ot,Ot,en)=>Ie.createElement(yt.Z,{title:ot},Ie.createElement("span",null,ot||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!kn,render:(ot,Ot,en)=>{var Fn;return Ie.createElement(yt.Z,{title:Mt(Ot)},Ie.createElement("span",null,ot?(Fn=ot==null?void 0:ot.split("\u3001"))==null?void 0:Fn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!kn,render:(ot,Ot,en)=>Ie.createElement(yt.Z,{title:Mt(Ot)},Ie.createElement("span",null,ot||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(ot,Ot,en)=>{var Fn,Zn,An,Hn;return Ie.createElement(yt.Z,{title:Mt(Ot)},Ie.createElement("div",null,kn||Ot!=null&&Ot.challenge_names?(Ot==null?void 0:Ot.level)||((Zn=(Fn=Rr==null?void 0:Rr.filter($n=>$n.value===ot))==null?void 0:Fn[0])==null?void 0:Zn.name):(Hn=(An=Rr==null?void 0:Rr.filter($n=>$n.value===ot))==null?void 0:An[0])==null?void 0:Hn.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!kn,render:(ot,Ot,en)=>Ie.createElement(yt.Z,{title:Mt(Ot)},Ie.createElement("div",null,ot||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(ot,Ot,en)=>Ie.createElement(yt.Z,{title:Mt(Ot)},Ie.createElement("div",null,kn||Ot!=null&&Ot.challenge_names?(Ot==null?void 0:Ot.study_count)||(Ot==null?void 0:Ot.stu_num):ot))},{title:Ie.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ie.createElement(yt.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:!kn,render:(ot,Ot,en)=>Ie.createElement(yt.Z,{title:Mt(Ot)},Ie.createElement("div",null,ot||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(ot,Ot,en)=>Ie.createElement(yt.Z,{title:Mt(Ot)},Ie.createElement("div",{style:{flex:1,textAlign:"start"}},Ie.createElement("a",{onClick:()=>{var Fn,Zn;Kt(cn(Cn({},Ot),{question_type:kn||Ot!=null&&Ot.challenge_names?5:(Zn=(Fn=yr==null?void 0:yr.filter(An=>An.value===(Ot==null?void 0:Ot.item_type)))==null?void 0:Fn[0])==null?void 0:Zn.question_type})),Tn(!0)}},"\u67E5\u770B"),(Ot==null?void 0:Ot.shixun_tag_num)===1&&Ie.createElement("a",{style:{marginLeft:10},onClick:()=>{Be.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/${Ot==null?void 0:Ot.identifier}/challenges`)}},(Ot==null?void 0:Ot.shixun_name)||"--"),"\uFF1F"),onOk:()=>Xt(void 0,null,function*(){if(!nt(Ot==null?void 0:Ot.identifier))return new Promise((Fn,Zn)=>{Zn()})})})}},"\u53D1\u5E03")))}].filter(ot=>!ot.hidden)}),Ie.createElement(lt.Z,{current:rn.page,total:(_t==null?void 0:_t.items_count)||(_t==null?void 0:_t.shixuns_count),style:{marginBottom:20},defaultPageSize:rn.per_page,hideOnSinglePage:!(_t!=null&&_t.items_count),showTotal:ot=>Ie.createElement("span",null,"\u5171\xA0",Ie.createElement("span",{style:{color:"#165DFF"}},ot),"\xA0\u6761\u6570\u636E"),pageSize:rn.per_page,onChange:(ot,Ot)=>{rn.page=ot,rn.per_page=Ot,or(Cn({},rn)),_o(Cn({},rn))}}),Ie.createElement("div",{className:ct.bottom},Ie.createElement(ze.ZP,{className:ct.no,onClick:()=>{ut(!1)}},"\u53D6\u6D88"),Ie.createElement(ze.ZP,{loading:Sn,style:{width:Sn&&75},className:ct.yes,onClick:()=>Xt(void 0,null,function*(){if((Ye==null?void 0:Ye.length)<=0){$e.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}Dt([...Kr.current],[...no.current],!0,Ye==null?void 0:Ye.length)})},"\u786E\u8BA4"))),Ie.createElement(Be.default,{open:Pn,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:ct.previewModal,width:1e3,centered:!0,onCancel:()=>{Tn(!1)},onOk:()=>{Tn(!1)}},Ie.createElement(he,{qitem:Ft})))};var mn=(0,se.connect)(({shixunsDetail:ut,user:qt})=>({shixunsDetail:ut,user:qt}))(an),vt=z(48070),Yt=z(66649),gn=z.n(Yt),At=z(59301),_e=Object.defineProperty,Vt=Object.defineProperties,nn=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,hr=(ut,qt,Dt)=>qt in ut?_e(ut,qt,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):ut[qt]=Dt,vr=(ut,qt)=>{for(var Dt in qt||(qt={}))Ln.call(qt,Dt)&&hr(ut,Dt,qt[Dt]);if(dn)for(var Dt of dn(qt))Qn.call(qt,Dt)&&hr(ut,Dt,qt[Dt]);return ut},Jn=(ut,qt)=>Vt(ut,nn(qt)),dr=(ut,qt)=>{var Dt={};for(var sn in ut)Ln.call(ut,sn)&&qt.indexOf(sn)<0&&(Dt[sn]=ut[sn]);if(ut!=null&&dn)for(var sn of dn(ut))qt.indexOf(sn)<0&&Qn.call(ut,sn)&&(Dt[sn]=ut[sn]);return Dt},Jt=(ut,qt,Dt)=>new Promise((sn,Sn)=>{var vn=Yn=>{try{Un(Dt.next(Yn))}catch($t){Sn($t)}},Bn=Yn=>{try{Un(Dt.throw(Yn))}catch($t){Sn($t)}},Un=Yn=>Yn.done?sn(Yn.value):Promise.resolve(Yn.value).then(vn,Bn);Un((Dt=Dt.apply(ut,qt)).next())});const En=({title:ut,icon:qt,className:Dt,style:sn,children:Sn})=>At.createElement("div",{className:tt()(xe.card,Dt),style:sn},At.createElement("div",{className:xe.head},At.createElement("i",{className:qt}),At.createElement("b",null,ut)),At.createElement("div",{className:xe.element},Sn)),qn=ut=>{var qt=ut,{value:Dt,onChange:sn}=qt,Sn=dr(qt,["value","onChange"]);return At.createElement(be.Z,Jn(vr({},Sn),{defaultValue:Dt,onChange:sn}))},nr=({value:ut=[],onChange:qt,params:Dt,className:sn})=>{const[Sn,vn]=(0,b.useState)(!1),[Bn,Un]=(0,b.useState)([]),[Yn,$t]=(0,b.useState)(""),[Mn,rn]=(0,b.useState)([]),[or,wt]=(0,b.useState)("");(0,b.useEffect)(()=>{zt()},[]);function zt(){return Jt(this,null,function*(){let Re=yield(0,jt.ZP)(`/api/courses/${Dt==null?void 0:Dt.coursesId}/teachers`,{method:"get",params:{homework_id:Dt.categoryId,limit:1e3}});rn((Re==null?void 0:Re.teacher_list)||[])})}return At.createElement(b.Fragment,null,At.createElement("div",{className:tt()(xe.collaborator,sn)},ut==null?void 0:ut.map(Re=>At.createElement(Fe.Z,{align:"middle",className:`${xe.btn} ${or==(Re==null?void 0:Re.user_id)?xe.delBorder:""}`,key:Re.user_id},At.createElement("span",{className:"c-grey-333"},Re==null?void 0:Re.name),At.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${xe.delSty}`,onMouseEnter:()=>{wt(Re==null?void 0:Re.user_id)},onMouseLeave:()=>{wt("")},onClick:()=>{const ht=ut.filter(Ye=>Ye.user_id!==Re.user_id);Un(ht.map(Ye=>Ye.user_id)),qt(ht)}}))),At.createElement(ze.ZP,{className:xe.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>vn(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),At.createElement(Be.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Sn,onCancel:()=>vn(!1),onOk:()=>{const Re=Mn.filter(ht=>Bn.includes(ht.user_id));qt(Re),vn(!1)},afterClose:()=>{$t("")}},At.createElement(Fe.Z,{align:"middle"},At.createElement("label",null,"\u59D3\u540D\uFF1A"),At.createElement(fe.default.Search,{value:Yn,size:"middle",style:{flex:1},onChange:Re=>$t(Re.target.value)})),At.createElement(Ge.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:Re=>{Un(Re)},selectedRowKeys:Bn,getCheckboxProps:Re=>({disabled:Re.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:Mn.filter(Re=>Re.name.includes(Yn)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var xn=()=>{var ut;const qt=(0,se.useParams)(),Dt=(0,se.useDispatch)(),[sn]=Ce.default.useForm(),Sn=Ce.default.useWatch("hack_score_settings",sn),vn=Ce.default.useWatch("open_code",sn),Bn=Ce.default.useWatch("rank_forbidden",sn),Un=Ce.default.useWatch("hack_analysis",sn),Yn=Ce.default.useWatch("hack_answer",sn),[$t,Mn]=(0,b.useState)([]),[rn,or]=(0,b.useState)({}),[wt,zt]=(0,b.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[Re,ht]=(0,b.useState)(!0),[Ye,St]=(0,b.useState)(!1),[_t,tr]=(0,b.useState)(!1),[ar,bt]=(0,b.useState)({}),[xt,Ft]=(0,b.useState)(!1),[Kt,Pn]=(0,b.useState)(!1),Tn=(0,b.useRef)(!1),kn=(0,b.useRef)(String(Math.random()).slice(-6)),Kn=(ut=window.location.pathname)==null?void 0:ut.includes("add");(0,b.useEffect)(()=>(window.addEventListener("visibilitychange",pr),()=>{window.removeEventListener("visibilitychange",pr)}),[$t,ar]),(0,b.useEffect)(()=>(Dt({type:"globalSetting/footerToggle",payload:!1}),()=>{Dt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,b.useEffect)(()=>{$t.length&&Sn!==void 0&&kr()},[Sn,JSON.stringify($t==null?void 0:$t.map(yr=>yr.id+yr.hack_score))]),(0,b.useEffect)(()=>{Ar(),Kn?ht(!1):Vr()},[]);const pr=()=>Jt(void 0,null,function*(){var yr;if(document.visibilityState==="visible"){Pn(!0);let ur=$t.map(Kr=>Kr.id),gr=localStorage.getItem(kn.current);gr&&(gr=JSON.parse(gr),gr=Array.isArray(gr)?gr:[],ur=[...ur,...gr],localStorage.removeItem(kn.current));const no=yield(0,jt.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:ur.length?ur:-1,homework_common_id:Kn?null:ar==null?void 0:ar.homework_id}});if(no!=null&&no.items){const Kr=(yr=no==null?void 0:no.items)==null?void 0:yr.map(wr=>{const Rr=$t.find(mo=>mo.id===wr.id);return Rr?Jn(vr({},wr),{hack_score:Rr.hack_score}):wr});Mn(Kr)}Pn(!1)}}),Ar=()=>Jt(void 0,null,function*(){const yr=yield(0,jt.ZP)(`/api/courses/${qt.coursesId}/homework_commons/new.json`,{method:"get",params:{category:qt==null?void 0:qt.categoryId,type:5}});yr!=null&&yr.course_name&&or(yr)}),Vr=()=>Jt(void 0,null,function*(){var yr,ur;const gr=yield(0,jt.ZP)(`/api/homework_commons/${qt==null?void 0:qt.categoryId}/edit_hack.json`,{method:"get"});if((gr==null?void 0:gr.status)===0){const no=(yr=gr==null?void 0:gr.collaborators_data)==null?void 0:yr.map(wr=>({user_id:wr.id,name:wr.real_name}));sn.setFieldsValue(Jn(vr({},gr),{user_ids:no,rank_forbidden_start:gr!=null&&gr.rank_forbidden_start?gn()(gr==null?void 0:gr.rank_forbidden_start):"",rank_forbidden_end:gr!=null&&gr.rank_forbidden_end?gn()(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 mo,Qr;return Jn(vr({},wr),{hack_score:(Qr=(mo=gr==null?void 0:gr.hack_settings)==null?void 0:mo[Rr])==null?void 0:Qr.hack_score})});Mn(Kr||[]),bt(vr({},gr))}ht(!1)}),Br=()=>{let yr=`/classrooms/${qt==null?void 0:qt.coursesId}/program_homework`;return Kn||(yr=`/classrooms/${qt==null?void 0:qt.coursesId}/program_homework/${qt==null?void 0:qt.categoryId}/detail`),yr},fr=[{name:(rn==null?void 0:rn.course_name)||"",path:`/classrooms/${rn==null?void 0:rn.course_id}/program_homework`},{name:Kn?"\u7F16\u7A0B\u4F5C\u4E1A":ar==null?void 0:ar.name,path:Br()},{name:(Kn?"\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=>At.createElement(yt.Z,{placement:"topLeft",title:yr},At.createElement("span",null,yr||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(yr,ur,gr)=>At.createElement(et.Z,{disabled:Sn!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:yr,onChange:no=>{$t[gr].hack_score=no;const Kr=$t.reduce((wr,Rr)=>wr+Number(Rr.hack_score||0),0);sn.setFieldsValue({total_score:Kr.toFixed(2)}),Mn([...$t])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:yr=>At.createElement("span",null,yr===1?"\u7B80\u5355":yr===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:yr=>At.createElement(yt.Z,{placement:"topLeft",title:yr},At.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)=>At.createElement("span",null,At.createElement("span",{onClick:()=>Jt(void 0,null,function*(){var gr;Dt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let no=yield(0,jt.ZP)(`/api/problems/${(gr=ur==null?void 0:ur.program_attr)==null?void 0:gr.identifier}/start.json`,{method:"get"});(no==null?void 0:no.status)===0&&(0,Ut.xg)(`/myproblems/${no==null?void 0:no.identifier}?type=1&pageId=edit&backUrl=${Br()}`),Dt({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),At.createElement("span",{onClick:()=>{var gr;return(0,Ut.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"),At.createElement("span",{onClick:()=>{const gr=$t.filter(no=>no.id!==ur.id);Mn(gr),$e.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],kr=()=>{const yr=[...$t],ur=sn.getFieldValue("total_score"),gr=yr==null?void 0:yr.length;let no=0,Kr;switch(Sn){case 0:const wr=(ur/gr).toFixed(2);yr.map((qo,Lo)=>{no=Lo,qo.hack_score=wr>0?wr:0}),Kr=(ur-wr*(gr-1)).toFixed(2),yr[no].hack_score=Kr>0?Kr:0;break;case 1:const Rr=[0,1,3,6];let mo=0;const Qr=yr.filter(qo=>qo.difficulty===1).length*Rr[1],qr=yr.filter(qo=>qo.difficulty===2).length*Rr[2],eo=yr.filter(qo=>qo.difficulty===3).length*Rr[3],ko=ur/(Qr+qr+eo);yr.map((qo,Lo)=>{no=Lo,qo.hack_score=(Rr[qo.difficulty]*ko).toFixed(2),mo=mo+Number(qo.hack_score)});let _o=yr[no].hack_score;Kr=(ur-mo+Number(_o)).toFixed(2),yr[no].hack_score=Kr>0?Kr:0;break}Mn(yr)},$r=yr=>{Tn.current=yr,sn.submit()},Xr=yr=>Jt(void 0,null,function*(){var ur;if(!$t.length){$e.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),sn.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}Ft(!0);const gr=[],no=$t.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,jt.ZP)(`/api/courses/${qt.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:Jn(vr({},yr),{category:Kn?Number(qt==null?void 0:qt.categoryId):null,homework_id:Kn?null:ar==null?void 0:ar.homework_id,hack_settings:no,user_ids:Kr,hack_ids:gr})});if((wr==null?void 0:wr.status)===0)if($e.ZP.success("\u4FDD\u5B58\u6210\u529F"),Tn.current){const Rr=vr({},wr);zt(Rr),Dt({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[wr==null?void 0:wr.id],selectArrsAll:[Rr],params:qt,detail:!0,type:2,manage_all_group:Rr==null?void 0:Rr.manage_all_group}})}else se.history.push(`/classrooms/${qt.coursesId}/program_homework/${wr==null?void 0:wr.id}/detail`);Ft(!1)}),vo=yr=>Jt(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=$t.map(wr=>{var Rr;return(Rr=wr.program_attr)==null?void 0:Rr.origin_item_bank_id}),no=[];yr.forEach(wr=>{if(gr.includes(wr)){const Rr=$t.find(mo=>{var Qr;return((Qr=mo.program_attr)==null?void 0:Qr.origin_item_bank_id)===wr});no.push(Rr)}else ur.push(wr)}),tr(!0);const Kr=yield(0,jt.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:ur}});if(Kr!=null&&Kr.items){const wr=[...no,...Kr==null?void 0:Kr.items];if(Sn===2){const Rr=wr.reduce((mo,Qr)=>mo+Number(Qr.hack_score||0),0);sn.setFieldsValue({total_score:Rr.toFixed(2)})}Mn(wr),St(!1)}tr(!1)});return At.createElement("div",{className:xe.wrap},At.createElement(je.Z,{spinning:Re},At.createElement("div",{className:xe.center},At.createElement(Oe._b,{dataSource:fr,className:"mb20"}),At.createElement(Ce.default,{form:sn,preserve:!1,onValuesChange:yr=>{"total_score"in yr&&kr()},onFinishFailed:yr=>Jt(void 0,null,function*(){var ur,gr;$e.ZP.error(yr.errorFields[0].errors[0]),sn.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"},At.createElement(En,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},At.createElement(Ce.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"}]},At.createElement(fe.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),At.createElement(Ce.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"}]},At.createElement(qn,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),At.createElement(En,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},At.createElement(Ce.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},At.createElement(Ve.default.Group,null,At.createElement(Ve.default,{value:"c"},"C\u8BED\u8A00"),At.createElement(Ve.default,{value:"c++"},"C++\u8BED\u8A00"),At.createElement(Ve.default,{value:"java"},"Java\u8BED\u8A00"),At.createElement(Ve.default,{value:"python"},"Python\u8BED\u8A00"))),At.createElement(Fe.Z,{align:"middle"},At.createElement(Ce.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},At.createElement(et.Z,{precision:1,disabled:Sn===2,min:0,style:{width:223},addonAfter:"\u5206"})),At.createElement(Ce.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},At.createElement(et.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),At.createElement(Ce.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},At.createElement(rt.ZP.Group,null,At.createElement(rt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),At.createElement(rt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),At.createElement(rt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),At.createElement(Fe.Z,{align:"middle"},At.createElement("span",null,"\u9898\u76EE\u5217\u8868"),At.createElement(ze.ZP,{onClick:()=>St(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),At.createElement(ze.ZP,{onClick:()=>(0,Ut.xg)(`/problems/newcreate?pageId=${kn.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),At.createElement("div",{className:xe.tip},At.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"),At.createElement(Ce.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},At.createElement(Ht,{dataSource:$t,setDataSource:Mn,columns:Pr,loading:Kt}))),At.createElement(En,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},At.createElement("div",{className:xe.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),At.createElement("div",{className:`${xe.content} mb30`},At.createElement(Ce.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},At.createElement(rt.ZP.Group,null,At.createElement(rt.ZP,{value:0},At.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),At.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),At.createElement(rt.ZP,{style:{marginLeft:40},value:1},At.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),At.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),At.createElement("div",{className:`${xe.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),At.createElement("div",{className:xe.content},At.createElement(Ce.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},At.createElement(Ve.default,null,At.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),At.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")))),At.createElement("div",{className:`${xe.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),At.createElement("div",{className:xe.content},At.createElement(Ce.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},At.createElement(Ve.default,null,At.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),At.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"))),At.createElement(Ce.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},At.createElement(Ve.default,null,At.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),At.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"))),!!vn&&At.createElement(Ce.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},At.createElement(rt.ZP.Group,null,At.createElement(rt.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),At.createElement(rt.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),At.createElement(Ce.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},At.createElement(Ve.default,null,At.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),At.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"))),!!Bn&&At.createElement(Fe.Z,{align:"middle",className:"ml25"},At.createElement(Ce.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"},At.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:Ut.Q8,disabledTime:Ut.d0})),At.createElement(Ce.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"},At.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:Ut.Q8,disabledTime:Ut.d0}))),At.createElement(Ce.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},At.createElement(Ve.default,null,At.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),At.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!Un&&At.createElement(Ce.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},At.createElement(rt.ZP.Group,null,At.createElement(rt.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),At.createElement(rt.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),At.createElement(rt.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),At.createElement(Ce.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},At.createElement(Ve.default,null,At.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),At.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!Yn&&At.createElement(Ce.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},At.createElement(rt.ZP.Group,null,At.createElement(rt.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),At.createElement(rt.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),At.createElement("div",{className:`${xe.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),At.createElement(Ce.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},At.createElement(nr,{params:qt}))))),At.createElement("div",{className:xe.fixedBtns},At.createElement(Fe.Z,{align:"middle",className:xe.center},At.createElement(ze.ZP,{onClick:()=>se.history.push(Br()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),At.createElement(ze.ZP,{loading:xt&&!Tn.current,disabled:xt&&Tn.current,onClick:()=>$r(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),At.createElement(ze.ZP,{loading:xt&&Tn.current,disabled:xt&&!Tn.current,onClick:()=>$r(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),At.createElement(mn,{setScoreShow:St,isshixuns:!1,ScoreShow:Ye,virtualId:kn.current,isloadings:_t,onOk:vo,selectedIds:$t.map(yr=>{var ur;return(ur=yr.program_attr)==null?void 0:ur.origin_item_bank_id})||[]}),At.createElement(vt.Z,{courseEndTime:wt==null?void 0:wt.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${qt==null?void 0:qt.coursesId}/program_homework/${wt==null?void 0:wt.id}/detail`}}))}},48070:function(Vn,hn,z){"use strict";var b=z(59301),xe=z(28284),de=z(6767),tt=z(62957),Oe=z(77019),be=z(47889),Fe=z(4875),ze=z(5269),Be=z(24017),fe=z(62673),Ge=z(66649),Ce=z.n(Ge),yt=z(38147),et=z(41867),$e=z(65862),je=z(65582),Ve=z(91704),rt=z(33270),Nt=z(99981),Ut=z(59301),se=Object.defineProperty,Me=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,at=(Ct,He,We)=>He in Ct?se(Ct,He,{enumerable:!0,configurable:!0,writable:!0,value:We}):Ct[He]=We,dt=(Ct,He)=>{for(var We in He||(He={}))Zt.call(He,We)&&at(Ct,We,He[We]);if(mt)for(var We of mt(He))Je.call(He,We)&&at(Ct,We,He[We]);return Ct},Pe=(Ct,He)=>Me(Ct,ft(He)),Ze=(Ct,He)=>{var We={};for(var kt in Ct)Zt.call(Ct,kt)&&He.indexOf(kt)<0&&(We[kt]=Ct[kt]);if(Ct!=null&&mt)for(var kt of mt(Ct))He.indexOf(kt)<0&&Je.call(Ct,kt)&&(We[kt]=Ct[kt]);return We},Ee=(Ct,He,We)=>new Promise((kt,Ae)=>{var ve=Ht=>{try{Gt(We.next(Ht))}catch(pe){Ae(pe)}},gt=Ht=>{try{Gt(We.throw(Ht))}catch(pe){Ae(pe)}},Gt=Ht=>Ht.done?kt(Ht.value):Promise.resolve(Ht.value).then(ve,gt);Gt((We=We.apply(Ct,He)).next())});const ue=Ct=>{var He=Ct,{classroomList:We,dispatch:kt,courseEndTime:Ae,onWindowBack:ve}=He,gt=Ze(He,["classroomList","dispatch","courseEndTime","onWindowBack"]),Gt,Ht,pe,Te,Ke,tn,lt,jt,ct,ln,Et,le,ne,te,ae,he,re,ce,De,st,Qe,Ie,pt,Pt,Tt,Le,Ue,pn,Wt,Cn,cn,Xt,an,mn,vt,Yt,gn,At,_e;const Vt=(0,je.useParams)(),[nn]=xe.default.useForm(),[dn,Ln]=(0,b.useState)(1),[Qn,hr]=(0,b.useState)([]),[vr,Jn]=(0,b.useState)(0),[dr,Jt]=(0,b.useState)(2e3),[En,qn]=(0,b.useState)(!0),[nr,jn]=(0,b.useState)(!1),[xn,ut]=(0,b.useState)(!1),[qt,Dt]=(0,b.useState)([]),[sn,Sn]=(0,b.useState)(!0),[vn,Bn]=(0,b.useState)(!((pe=(Ht=(Gt=We.actionTabs)==null?void 0:Gt.selectArrsAll)==null?void 0:Ht[0])!=null&&pe.send_type));let[Un,Yn]=(0,b.useState)([0,0,0]);(0,b.useEffect)(()=>{var ht,Ye,St,_t,tr,ar,bt,xt,Ft,Kt,Pn,Tn,kn;if(We.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(or(),(St=(Ye=(ht=We.actionTabs)==null?void 0:ht.selectArrsAll)==null?void 0:Ye[0])!=null&&St.can_publish?Yn([...(Ft=(xt=(bt=We.actionTabs)==null?void 0:bt.selectArrsAll)==null?void 0:xt[0])==null?void 0:Ft.difficult_count]):Yn([...(ar=(tr=(_t=We.actionTabs)==null?void 0:_t.selectArrsAll)==null?void 0:tr[0])==null?void 0:ar.difficult_settings]),Bn(!((Tn=(Pn=(Kt=We.actionTabs)==null?void 0:Kt.selectArrsAll)==null?void 0:Pn[0])!=null&&Tn.send_type)),$t(),We.actionTabs.type===2){const Kn=(kn=We.actionTabs.selectArrsAll)==null?void 0:kn[0];Sn(Kn.unified_setting)}else Sn(!1)},[We.actionTabs]),console.log("----",We.actionTabs),(0,b.useEffect)(()=>{if(nr){if(xn)return;kt({type:"classroomList/setActionTabs",payload:{}}),(0,et.GJ)()?(kt({type:"classroomList/getClassroomTeacherCommonList",payload:Pe(dt({},We.actionTabs.params),{type:1})}),kt({type:"shixunHomeworks/getWorkList",payload:dt({},Vt)})):kt({type:"classroomList/getClassroomCommonList",payload:dt({},We.actionTabs.params)})}},[nr]);const $t=ht=>Ee(void 0,null,function*(){qn(!0);const Ye=yield(0,rt.c_)(Pe(dt({},Vt),{page:ht||dn,limit:2e4,homework_id:We.actionTabs.type===1?"":We.actionTabs.selectArrs[0]}));Ye==null||Ye.course_groups.map((St,_t)=>{St.key=St.id,St.title=St.name,St.disabled=St.is_published}),Ye&&(hr([...Ye==null?void 0:Ye.course_groups]),Jn(Ye==null?void 0:Ye.course_groups_count),qn(!1),ht||nn.setFieldsValue({publish_time:Ce()(Ce()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Ce()(Ce()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Mn=()=>{(0,et.GJ)()?We.actionTabs.detail?(kt({type:"shixunHomeworks/setActionTabs",payload:{}}),kt({type:"shixunHomeworks/getWorkList",payload:dt({},Vt)}),kt({type:"shixunHomeworks/getWorkSetting",payload:dt({},Vt)})):kt({type:"classroomList/getClassroomTeacherCommonList",payload:Pe(dt({},We.actionTabs.params),{type:5,category:We.actionTabs.params.categoryId})}):kt({type:"classroomList/getClassroomCommonList",payload:dt({},We.actionTabs.params)})},rn=()=>Ee(void 0,null,function*(){var ht,Ye,St,_t,tr,ar,bt,xt,Ft;if(((St=(Ye=(ht=(0,et.eY)())==null?void 0:ht.course)==null?void 0:Ye.hack_homework_info)==null?void 0:St.hack_homework_remaining_count)===0&&((tr=(_t=We.actionTabs.selectArrsAll)==null?void 0:_t.filter(kn=>{var Kn;return(Kn=(kn==null?void 0:kn.status)||(kn==null?void 0:kn.homework_status))==null?void 0:Kn.includes("\u672A\u53D1\u5E03")}))==null?void 0:tr.length)>0){(0,$e.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(bt=(ar=(0,et.eY)())==null?void 0:ar.course)==null?void 0:bt.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)()&&!((xt=We.AssistantObject.hack)!=null&&xt.can_publish)){de.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"),Re(!1);return}const Kt=dt({},nn.getFieldsValue());if(Kt.end_time<=Kt.publish_time){de.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Re(!1);return}if((qt==null?void 0:qt.length)<=0&&!sn&&Qn.length>0){de.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Re(!1);return}if(Un.reduce((kn,Kn)=>kn+Kn,0)===0&&!vn){de.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Re(!1);return}let Pn={homework_ids:[...We.actionTabs.selectArrs],group_ids:qt.length>0?qt.map(kn=>kn.id):(Ft=We.detailCommonHomeworksList)==null?void 0:Ft.course_groups,end_time:Ce()(Kt.end_time).format("YYYY-MM-DD HH:mm"),publish_time:Ce()(Kt.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:Un==null?void 0:Un.map(kn=>kn),send_type:vn?"0":"1",unified_setting:!qt.length};if(Re(!0),(yield(0,yt.ZP)(`/api/courses/${Vt.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:dt({},Pn)})).status===0){if(Re(!1),(0,$e.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),de.ZP.success("\u53D1\u5E03\u6210\u529F"),kt({type:"user/getUserInfo",payload:{course_id:Vt.coursesId}}),kt({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),ve){ve();return}gt.onCallback&>.onCallback(),Mn(),localStorage.getItem("Noviceguide")==="0"||kt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:Ut.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 Re(!1)}),or=()=>{Ln(1),hr([]),Dt([])},wt=vr>dn*dr,[zt,Re]=(0,b.useState)(!1);return Ut.createElement(tt.default,{width:600,confirmLoading:zt,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:We.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:rn,onCancel:()=>{if(or(),kt({type:"classroomList/setActionTabs",payload:{}}),ve){ve();return}Mn()}},Ut.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",Ut.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),Qn&&Ut.createElement(xe.default,{form:nn},Ut.createElement("div",{style:{paddingLeft:0}},We.actionTabs.type===2&&Ut.createElement(Oe.Z,{style:{marginBottom:"10px"}},Ut.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),Ut.createElement(be.ZP.Group,{value:vn,disabled:!((tn=(Ke=(Te=We.actionTabs)==null?void 0:Te.selectArrsAll)==null?void 0:Ke[0])!=null&&tn.can_publish),onChange:ht=>{Bn(ht.target.value)}},Ut.createElement(be.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),Ut.createElement(be.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!vn&&Ut.createElement(Oe.Z,{style:{marginBottom:"10px"}},Ut.createElement("span",{style:{marginRight:65}}),Ut.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",Ut.createElement(Fe.Z,{value:Un[0],onChange:ht=>{Un[0]=ht,Yn([...Un])},min:0,disabled:!((ct=(jt=(lt=We.actionTabs)==null?void 0:lt.selectArrsAll)==null?void 0:jt[0])!=null&&ct.can_publish),placeholder:`\u6700\u5927${(ne=(le=(Et=(ln=We.actionTabs)==null?void 0:ln.selectArrsAll)==null?void 0:Et[0])==null?void 0:le.difficult_count)==null?void 0:ne[0]}`,max:(re=(he=(ae=(te=We.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}})),Ut.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",Ut.createElement(Fe.Z,{value:Un[1],onChange:ht=>{Un[1]=ht,Yn([...Un])},min:0,disabled:!((st=(De=(ce=We.actionTabs)==null?void 0:ce.selectArrsAll)==null?void 0:De[0])!=null&&st.can_publish),max:(Pt=(pt=(Ie=(Qe=We.actionTabs)==null?void 0:Qe.selectArrsAll)==null?void 0:Ie[0])==null?void 0:pt.difficult_count)==null?void 0:Pt[1],placeholder:`\u6700\u5927${(pn=(Ue=(Le=(Tt=We.actionTabs)==null?void 0:Tt.selectArrsAll)==null?void 0:Le[0])==null?void 0:Ue.difficult_count)==null?void 0:pn[1]}`,style:{width:60}})),Ut.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",Ut.createElement(Fe.Z,{value:Un[2],onChange:ht=>{Un[2]=ht,Yn([...Un])},min:0,disabled:!((cn=(Cn=(Wt=We.actionTabs)==null?void 0:Wt.selectArrsAll)==null?void 0:Cn[0])!=null&&cn.can_publish),placeholder:`\u6700\u5927${(vt=(mn=(an=(Xt=We.actionTabs)==null?void 0:Xt.selectArrsAll)==null?void 0:an[0])==null?void 0:mn.difficult_count)==null?void 0:vt[2]}`,max:(_e=(At=(gn=(Yt=We.actionTabs)==null?void 0:Yt.selectArrsAll)==null?void 0:gn[0])==null?void 0:At.difficult_count)==null?void 0:_e[2],style:{width:60}}))),Ut.createElement(Oe.Z,{className:"mt30",align:"middle"},Ut.createElement(ze.Z,null,Ut.createElement(xe.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},Ut.createElement(Be.default,{style:{width:170,marginRight:"25px"},disabledDate:ht=>(0,Nt.Q8)(ht,Ae),disabledTime:ht=>(0,Nt.d0)(ht),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ce()((0,$e.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),Ut.createElement(ze.Z,{className:"ml20"},Ut.createElement(xe.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},Ut.createElement(Be.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ce()((0,$e.U6)(),"HH:mm")},disabledDate:ht=>(0,Nt.Q8)(ht,Ae,nn.getFieldValue("publish_time")),disabledTime:ht=>(0,Nt.d0)(ht,nn.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),We.actionTabs.type===2&&Ut.createElement(Oe.Z,{style:{marginBottom:"10px"}},Ut.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),Ut.createElement(be.ZP.Group,{value:sn,onChange:ht=>{Sn(ht.target.value),Dt([])}},Ut.createElement(be.ZP,{value:!0,disabled:!We.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),Ut.createElement(be.ZP,{className:"ml20",disabled:Qn.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Qn.length<=0&&We.actionTabs.type===2&&Ut.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"')),(We.actionTabs.type===1||!sn)&&Qn.length>0&&Ut.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},Ut.createElement("span",{style:{flex:1}},Ut.createElement(fe.default,{checked:qt.length===Qn.length,onChange:ht=>{qt.length===Qn.length?Dt([]):Dt(Qn.filter(Ye=>!Ye.is_published))}},"\u5168\u9009")," "),Ut.createElement("span",{style:{width:16}}),Ut.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",qt.length||0,"\u4E2A\u5206\u73ED")),(We.actionTabs.type===1||!sn)&&Qn.length>0&&Ut.createElement(Ve.Z,{data:Qn,selectedRowKeys:qt,setSelectedRowKeys:Dt})))};hn.Z=(0,je.connect)(({classroomList:Ct})=>({classroomList:Ct}))(ue)},99981:function(Vn,hn,z){"use strict";z.d(hn,{Q8:function(){return ve},d0:function(){return gt},w6:function(){return Ae}});var b=z(59301),xe=z(24017),de=z(82326),tt=z(6767),Oe=z(62957),be=z(47889),Fe=z(77019),ze=z(5269),Be=z(25399),fe=z(62673),Ge=z(7939),Ce=z(66649),yt=z.n(Ce),et=z(41867),$e=z(38147),je=z(89392),Ve=z.n(je),rt=z(65862),Nt=z(61191),Ut=z(65582),se=z(4324),Me=z(66457),ft=z(42656),mt=z(83028),Zt=z(60979),Je=z(59301),at=Object.defineProperty,dt=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Ct=(Ke,tn,lt)=>tn in Ke?at(Ke,tn,{enumerable:!0,configurable:!0,writable:!0,value:lt}):Ke[tn]=lt,He=(Ke,tn)=>{for(var lt in tn||(tn={}))Ee.call(tn,lt)&&Ct(Ke,lt,tn[lt]);if(Ze)for(var lt of Ze(tn))ue.call(tn,lt)&&Ct(Ke,lt,tn[lt]);return Ke},We=(Ke,tn)=>dt(Ke,Pe(tn)),kt=(Ke,tn,lt)=>new Promise((jt,ct)=>{var ln=ne=>{try{le(lt.next(ne))}catch(te){ct(te)}},Et=ne=>{try{le(lt.throw(ne))}catch(te){ct(te)}},le=ne=>ne.done?jt(ne.value):Promise.resolve(ne.value).then(ln,Et);le((lt=lt.apply(Ke,tn)).next())});function Ae(Ke,tn){const lt=[];for(let jt=Ke;jt<tn;jt++)lt.push(jt);return lt}const ve=(Ke,tn,lt)=>{const jt=Ke<yt()().startOf("day"),ct=Ke>yt()(tn).endOf("day"),ln=Ke<yt()(lt).startOf("day");return tn?lt?yt()()<=yt()(lt)?ln||ct:jt||ct:Ke&&jt||ct:lt&&yt()()<=yt()(lt)?ln:jt},gt=(Ke,tn)=>{const lt=parseInt(yt()(Ke).format("HH")),jt=parseInt(yt()().format("HH")),ct=parseInt(yt()().format("mm"));if(!Ke)return{disabledHours:()=>Ae(0,jt),disabledMinutes:()=>Ae(0,ct)};if(tn){const ln=parseInt(yt()(tn).format("HH")),Et=parseInt(yt()(tn).format("mm"));return yt()(Ke).isSame(yt()(tn),"day")?{disabledHours:()=>Ae(0,ln),disabledMinutes:()=>lt<=ln?Ae(0,Et):[]}:void 0}if(yt()(Ke).isSame(yt()(),"day"))return{disabledHours:()=>Ae(0,jt),disabledMinutes:()=>yt()(Ke).isSame(yt()(),"hour")&<<=jt?Ae(0,ct):[]}},Gt=(Ke,tn)=>Ke==null?void 0:Ke.map(lt=>{var jt;return(jt=tn==null?void 0:tn.find(ct=>ct.value===lt))==null?void 0:jt.id}),{RangePicker:Ht}=xe.default,{Option:pe}=de.default,Te=({shixunHomeworks:Ke,loading:tn,dispatch:lt,classroomList:jt,user:ct})=>{var ln,Et,le,ne,te,ae,he,re,ce;const De=(0,Ut.useParams)(),{workSetting:st,workList:Qe,shixunWorkList:Ie,headerInfo:pt,changeData:Pt}=Ke,[Tt,Le]=(0,b.useState)(!1),[Ue,pn]=(0,b.useState)(!1);let[Wt,Cn]=(0,b.useState)([]),[cn,Xt]=(0,b.useState)([]),[an,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[vt,Yt]=(0,b.useState)({}),[gn,At]=(0,b.useState)({});(0,b.useEffect)(()=>()=>{Cn([])},[]),(0,b.useEffect)(()=>{Le(!(0,et.GJ)())},[(0,et.GJ)()]);const _e=()=>{lt({type:"shixunHomeworks/getWorkSetting",payload:He({},De)})};(0,b.useEffect)(()=>{if(!(st!=null&&st.course_id))return;Object.keys(an).map(function(En){an[En]=st[En]}),(!an.allow_late||!an.unified_late)&&(an.late_penalty=20,an.penalty_type=se.Q.Percent),an.unified_setting||(an.unified_late=!1,an.unified_anonymous_comment=!1,an.unified_anonymous_appeal=!1),Wt=JSON.parse(JSON.stringify(st.group_settings.map(En=>We(He({},En),{group_name:[En.group_name]})).filter(En=>En.publish_time!==null))),cn=JSON.parse(JSON.stringify(st.allow_late_settings.map(En=>We(He({},En),{group_name:[En.group_name]})).filter(En=>En.late_time!==null))),mn(He({},an));const Jt=(0,rt.QE)((Wt==null?void 0:Wt.length)>0?Wt:[]);Cn([...Jt]),(cn==null?void 0:cn.length)<=0?Xt([{penalty_type:se.Q.Percent,late_penalty:20}]):Xt([...cn])},[st]);const Vt=()=>kt(void 0,null,function*(){var Jt,En,qn,nr,jn,xn,ut,qt,Dt;if(((qn=(En=(Jt=ct==null?void 0:ct.userInfo)==null?void 0:Jt.course)==null?void 0:En.shixun_homework_info)==null?void 0:qn.shixun_homework_remaining_count)===0&&((jn=(nr=Ke==null?void 0:Ke.headerInfo)==null?void 0:nr.homework_status)!=null&&jn.includes("\u672A\u53D1\u5E03"))){(0,rt.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(ut=(xn=(0,et.eY)())==null?void 0:xn.course)==null?void 0:ut.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(((qt=ct==null?void 0:ct.userInfo)==null?void 0:qt.user_status)===2){(0,Me.Rd)();return}const sn=JSON.parse(JSON.stringify(an));if(sn.challenge_settings.filter(vn=>!vn.hide),sn.categoryId=De.categoryId,(Dt=sn.challenge_settings)!=null&&Dt.every(vn=>!vn.checked)){tt.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Wt),!an.unified_setting)Wt=Wt==null?void 0:Wt.map(vn=>{var Bn;if(!vn.publish_time||!vn.end_time)throw tt.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(!vn.group_name)throw tt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return vn.group_name=typeof(vn==null?void 0:vn.group_name)=="string"?[vn==null?void 0:vn.group_name]:vn==null?void 0:vn.group_name,vn.group_id=(Bn=st.group_settings)==null?void 0:Bn.filter(Un=>{var Yn;return(Yn=vn==null?void 0:vn.group_name)==null?void 0:Yn.includes(Un.group_name)}).map(Un=>Un.group_id||Un.id).toString().split(","),vn});else if(!an.publish_time||!an.end_time)throw tt.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(sn.group_settings=Wt,an.allow_late)if(an.unified_late){if(an.late_penalty===null||an.late_penalty===void 0||an.late_penalty<0||an.late_penalty>100)throw tt.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(!an.late_time)throw tt.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 cn=cn==null?void 0:cn.map(vn=>{var Bn,Un;if(vn.late_penalty===null||vn.late_penalty===void 0||vn.late_penalty<0||vn.late_penalty>100)throw tt.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(!vn.late_time)throw tt.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(!vn.group_name)throw tt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return vn.group_name=typeof(vn==null?void 0:vn.group_name)=="string"?[vn==null?void 0:vn.group_name]:vn==null?void 0:vn.group_name,vn.group_id=(Un=(Bn=vn==null?void 0:vn.group_name)==null?void 0:Bn.map(Yn=>{var $t,Mn;let rn=(Mn=($t=st.group_settings)==null?void 0:$t.filter(or=>(or==null?void 0:or.group_name)===Yn))==null?void 0:Mn[0];return rn==null?void 0:rn.group_id}))==null?void 0:Un.toString().split(","),vn}),sn.allow_late_settings=cn;let Sn=yield(0,Zt.Tr)({homework_common_ids:[parseInt(De.categoryId)],course_id:De.coursesId,type:"homework_common"});(Sn==null?void 0:Sn.student_count)===0?nn(sn):(At(sn),Yt(Sn))}),nn=Jt=>{var En;if(Jt.total_score===null){tt.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Jt!=null&&Jt.work_efficiency&&Jt.eff_score===null){tt.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const qn=Jt.challenge_settings.reduce((xn,ut)=>xn+Number(ut.challenge_score),0);if((qn==null?void 0:qn.toFixed(10))!==((En=Jt.total_score-Jt.eff_score)==null?void 0:En.toFixed(10))){tt.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Jt.total_score}\u5206`);return}const nr={shixun_evaluation:Jt.shixun_evaluation,challenge_settings:Jt.challenge_settings};let jn=()=>{var xn;const ut=()=>kt(void 0,null,function*(){pn(!0),(yield(0,$e.ZP)(`/api/homework_commons/${De.categoryId}/publish_setting.json`,{method:"post",body:He({},Jt)})).status===0&&(tt.ZP.success("\u66F4\u65B0\u6210\u529F"),_e(),lt({type:"user/getUserInfo",payload:{course_id:De.coursesId}}),lt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:He({},De)})),pn(!1)});!(0,je.isEqual)(Pt,nr)&&!((xn=pt==null?void 0:pt.homework_status)!=null&&xn.includes("\u672A\u53D1\u5E03"))?Oe.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:ut}):ut()};st!=null&&st.high_resources_consume&&!(st!=null&&st.high_resources_consume_permission)?lt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:De.coursesId,type:"shixun",type_id:De.categoryId,name:st.homework_name,fn:()=>{jn()}}}):jn()},dn=(Jt,En,qn="group_id")=>{var nr;return En?En.find(jn=>jn[qn]===Jt):(nr=st==null?void 0:st.group_settings)==null?void 0:nr.find(jn=>jn.group_id[0]===Jt)},Ln=(st==null?void 0:st.allow_late)||(st==null?void 0:st.anonymous_comment),Qn=Jt=>{var En,qn;const nr=dn(Jt,st==null?void 0:st.allow_late_settings,"id"),jn=dn(Jt,st==null?void 0:st.anonymous_comment_settings),xn=dn(Jt);return(st==null?void 0:st.allow_late)&&nr&&yt()(nr==null?void 0:nr.late_time)<=yt()()||(st==null?void 0:st.anonymous_comment)&&jn&&(jn==null?void 0:jn.evaluation_start)!==null||((qn=(yt()(xn==null?void 0:xn.end_time)<=yt()()&&((En=st==null?void 0:st.allow_late_settings)==null?void 0:En.filter(ut=>ut.group_id.includes(Jt))))[0])==null?void 0:qn.late_time)!=null},hr=(0,b.useMemo)(()=>(st==null?void 0:st.allow_late)||(st==null?void 0:st.all_group_late),[st,pt]),vr=st==null?void 0:st.anonymous_comment,Jn=Jt=>{if(!Jt)return!1;const En=dn(Jt,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=(Jt,En)=>{var qn,nr,jn,xn,ut;Jt!=null&&Jt.group_id||(Jt.group_id=Gt(Jt==null?void 0:Jt.group_name,st==null?void 0:st.group_settings)),lt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Jt,index:En,rangePickerDisabled:(nr=(qn=Jt==null?void 0:Jt.group_id)==null?void 0:qn[0])!=null&&nr.publish_time?Tt||(yt()()<=yt()((xn=dn((jn=Jt==null?void 0:Jt.group_id)==null?void 0:jn[0]))==null?void 0:xn.publish_time)?!1:[!0,Qn((ut=Jt==null?void 0:Jt.group_id)==null?void 0:ut[0])]):!1,disabledDate:st==null?void 0:st.course_end_date}})};return Je.createElement("section",{className:Nt.Z.form},Je.createElement("div",{className:Nt.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Je.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")),Je.createElement("div",null,Je.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Je.createElement(be.ZP.Group,{disabled:Tt||!((ln=pt==null?void 0:pt.homework_status)!=null&&ln.includes("\u672A\u53D1\u5E03"))||(0,et.Rm)()&&!((Et=jt.AssistantObject.practice)!=null&&Et.can_publish),value:an.unified_setting,onChange:Jt=>{var En;if(!((En=pt==null?void 0:pt.homework_status)!=null&&En.includes("\u672A\u53D1\u5E03"))){tt.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(an.unified_setting=!an.unified_setting,an.unified_setting||(an.unified_late=!1,Xt([{late_penalty:5}])),mn(Object.assign({},an)),an.unified_setting===!1&&Wt==""){Cn(Wt.concat({}));return}an.unified_setting&&(Cn([]),Xt([{late_penalty:5}]))}},Je.createElement(be.ZP,{value:!0,disabled:Tt||!(st!=null&&st.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Je.createElement(be.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&&Je.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")),an.unified_setting&&Je.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Je.createElement(Fe.Z,{align:"middle"},Je.createElement(ze.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Je.createElement(ze.Z,{className:"ml10"},Je.createElement(xe.default,{size:"large",disabled:Tt||!((te=pt==null?void 0:pt.homework_status)!=null&&te.includes("\u672A\u53D1\u5E03")||(ae=pt==null?void 0:pt.homework_status)!=null&&ae.includes("\u672A\u5F00\u59CB"))||(0,et.Rm)()&&!((he=jt.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:Jt=>ve(Jt,st==null?void 0:st.course_end_date),disabledTime:Jt=>gt(Jt),value:an.publish_time?yt()(an.publish_time):"",onChange:(Jt,En)=>{an.publish_time=En,(an.end_time==""||!an.end_time)&&an.unified_setting&&(an.end_time=yt()(Jt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),mn(Object.assign({},an))}}))),Je.createElement(Fe.Z,{align:"middle",className:"pl30"},Je.createElement(ze.Z,null,"\u622A\u6B62\u65F6\u95F4"),Je.createElement(ze.Z,{className:"ml10"},Je.createElement(xe.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:yt()((0,rt.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)&&yt()()>=yt()(st==null?void 0:st.end_time)||(0,et.Rm)()&&!((re=jt.AssistantObject.practice)!=null&&re.can_publish),disabledDate:Jt=>ve(Jt,st==null?void 0:st.course_end_date,an.publish_time),disabledTime:Jt=>gt(Jt,an.publish_time),value:an.end_time?yt()(an.end_time):"",onChange:(Jt,En)=>{an.end_time=En,mn(Object.assign({},an))}})))),!an.unified_setting&&(Wt==null?void 0:Wt.length)>0&&Je.createElement(Fe.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Wt&&Wt.map(function(Jt,En){var qn,nr,jn,xn,ut,qt,Dt;return Je.createElement(ze.Z,{span:24,key:En},Je.createElement(Fe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:En==(Wt==null?void 0:Wt.length)-1?"0px":"10px"}},Je.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",En+1),Je.createElement(de.default,{disabled:Tt||((qn=pt==null?void 0:pt.homework_status)!=null&&qn.includes("\u672A\u53D1\u5E03")&&Jt.id||yt()()<yt()(Jt==null?void 0:Jt.publish_time)?!1:!!(Jt!=null&&Jt.publish_time))||(0,et.Rm)()&&!((nr=jt.AssistantObject.practice)!=null&&nr.can_publish),mode:"multiple",className:Nt.Z.multiple_select,style:{width:"250px"},value:Jt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:sn=>{var Sn;if((0,et.Rm)()&&!((Sn=jt.AssistantObject.practice)!=null&&Sn.can_publish)){tt.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}Wt[En].group_name=sn,Wt[En].group_id=Jt.group_id;const vn=(0,je.flattenDeep)(Wt.map(Un=>Un.group_name)),Bn=cn.map(Un=>{let Yn=(Un==null?void 0:Un.group_name)||[];return We(He({},Un),{group_name:(0,je.remove)(Yn,$t=>vn.includes($t))})});Xt(Bn),Cn(Wt.slice())},maxTagCount:4,maxTagPlaceholder:sn=>Je.createElement("div",{style:{cursor:"pointer"},onClick:()=>dr(Jt,En)},"+",sn==null?void 0:sn.length)},st.group_settings&&st.group_settings.map(function(sn){if(!Wt.map(vn=>vn.group_name).flat().includes(sn.group_name))return Je.createElement(pe,{value:sn.group_name,key:sn.id},sn.group_name)})),Je.createElement("div",{className:"ml20"},Je.createElement(Ht,{size:"large",ranges:{\u6B64\u523B:[Jt.publish_time?yt()(Jt.publish_time):yt()(),yt()()]},allowClear:!1,disabled:Tt||(yt()()<=yt()((xn=dn((jn=Jt==null?void 0:Jt.group_id)==null?void 0:jn[0]))==null?void 0:xn.publish_time)?!1:[!0,Qn((ut=Jt==null?void 0:Jt.group_id)==null?void 0:ut[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:sn=>ve(sn,st==null?void 0:st.course_end_date),disabledTime:sn=>gt(sn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[yt()((0,rt.U6)(),"HH:mm"),yt()((0,rt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[Jt.publish_time?yt()(Jt.publish_time):void 0,Jt.end_time?yt()(Jt.end_time):void 0],onChange:(sn,Sn)=>{var vn;if((0,et.Rm)()&&!((vn=jt.AssistantObject.practice)!=null&&vn.can_publish)){tt.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}Wt[En].publish_time=Sn[0],!Jt.end_time&&Sn[0]?Wt[En].end_time=yt()(Sn[0]).add(7,"days"):Wt[En].end_time=Sn[1],Cn([...Wt])},onCalendarChange:(sn,Sn,vn)=>{if(Sn!=null&&Sn[0]&&!Sn[1]){const Bn=yt()(Sn[0]).add(7,"days");Wt[En].publish_time=Sn[0],Wt[En].end_time=Bn,Cn([...Wt])}}})),!Tt&&Je.createElement("div",{style:{display:"flex",width:"50px"}},((qt=Jt==null?void 0:Jt.group_id)==null?void 0:qt.length)>1&&Je.createElement(Be.Z,{title:"\u89C4\u5219\u62C6\u5206"},Je.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>dr(Jt,En)})),Wt.length<((Dt=st==null?void 0:st.group_settings)==null?void 0:Dt.length)&&Je.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var sn;if((0,et.Rm)()&&!((sn=jt.AssistantObject.practice)!=null&&sn.can_publish)){tt.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(Wt.concat({}))}}),((Jt==null?void 0:Jt.publish_time)&&yt()()<yt()(Jt==null?void 0:Jt.publish_time)||!(Jt!=null&&Jt.publish_time))&&En!=0&&Je.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const sn=(0,je.cloneDeep)(cn);sn.forEach((Sn,vn)=>{Sn.group_name&&(Sn.group_name=Sn.group_name.filter(Bn=>{var Un;return!((Un=Wt[En].group_name)!=null&&Un.includes(Bn))}))}),Wt=Wt.filter((Sn,vn)=>En!==vn),Xt(sn),Cn(Wt.slice()),setTimeout(()=>Cn(Wt.slice()),10)}}))))}))),Je.createElement(Fe.Z,null,Je.createElement(ze.Z,null,Je.createElement("div",{className:Nt.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Je.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"))),Je.createElement(ze.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Je.createElement(fe.default,{checked:an.allow_late,disabled:Tt||hr,onChange:Jt=>{var En;if((0,et.Rm)()&&!((En=jt.AssistantObject.practice)!=null&&En.can_late)){tt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Jt.target.checked&&Oe.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Je.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Je.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"),Je.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Je.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"))}),an.allow_late=!an.allow_late,cn==""&&Xt([{late_penalty:5}]),mn(Object.assign({},an))}},Je.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(an==null?void 0:an.allow_late)&&Je.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Je.createElement("div",{style:{display:"flex"}},Je.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Je.createElement(be.ZP.Group,{style:{marginLeft:"20px"},disabled:Tt||(st==null?void 0:st.anonymous_comment)||(st==null?void 0:st.allow_late),value:an.unified_late,onChange:Jt=>{var En;if((0,et.Rm)()&&!((En=jt.AssistantObject.practice)!=null&&En.can_late)){tt.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}an.unified_late=Jt.target.value,cn==""&&!Jt.target.value&&Xt([{penalty_type:se.Q.Percent,late_penalty:20}]),mn(He({},an))}},(an==null?void 0:an.unified_setting)&&Je.createElement(be.ZP,{value:!0,disabled:!(st!=null&&st.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((ce=st==null?void 0:st.group_settings)==null?void 0:ce.length)>0&&Je.createElement(be.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),an!=null&&an.unified_late?Je.createElement(Je.Fragment,null,Je.createElement(Fe.Z,{align:"middle",style:{marginTop:"10px"}},Je.createElement(ze.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Je.createElement(ze.Z,{className:"ml20"},Je.createElement(se.Z,{disabled:Tt||vr,value:{type:an.penalty_type,inputValue:an.late_penalty},onChange:Jt=>{var En;if((0,et.Rm)()&&!((En=jt.AssistantObject.practice)!=null&&En.can_late)){tt.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(We(He({},an),{late_penalty:Jt.inputValue,penalty_type:Jt.type}))}})),Je.createElement(ze.Z,{flex:"1",className:"ml5"},Je.createElement("span",{className:"c-grey-c ml10"},an.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)"))),Je.createElement(Fe.Z,{align:"middle",style:{marginTop:"15px"}},Je.createElement(ze.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Je.createElement(ze.Z,{className:"ml20"},Je.createElement(xe.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:yt()((0,rt.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Tt||vr,value:an.late_time?yt()(an.late_time):"",disabledDate:Jt=>ve(Jt,st==null?void 0:st.course_end_date),onChange:(Jt,En)=>{var qn;if((0,et.Rm)()&&!((qn=jt.AssistantObject.practice)!=null&&qn.can_late)){tt.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}an.late_time=En,mn(Object.assign({},an))}})))):cn.map(function(Jt,En){var qn;return Je.createElement(ze.Z,{span:24,key:En},Je.createElement(Fe.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Je.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",En+1),Je.createElement(de.default,{disabled:Tt||!((qn=pt==null?void 0:pt.homework_status)!=null&&qn.includes("\u672A\u53D1\u5E03"))&&Jt.id||(st==null?void 0:st.anonymous_comment),mode:"multiple",className:Nt.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Jt.group_name=="string"?[Jt.group_name]:Jt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:nr=>{var jn;if((0,et.Rm)()&&!((jn=jt.AssistantObject.practice)!=null&&jn.can_late)){tt.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[En].group_name=nr,cn[En].group_id=Jt.group_id,Xt(cn.slice())}},st.group_settings&&st.group_settings.map(function(nr){const jn=cn.map(ut=>ut.group_name).flat(),xn=Wt.map(ut=>ut.group_name).flat();if(an!=null&&an.unified_setting){if(!jn.includes(nr.group_name))return Je.createElement(pe,{value:nr.group_name,key:nr.id},nr.group_name)}else if(xn.includes(nr.group_name)&&!jn.includes(nr.group_name))return Je.createElement(pe,{value:nr.group_name,key:nr.id},nr.group_name)})),Je.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Je.createElement(se.Z,{disabled:Tt||Jn(Jt.id),value:{type:Jt.penalty_type,inputValue:Jt.late_penalty},onChange:nr=>{var jn;if((0,et.Rm)()&&!((jn=jt.AssistantObject.practice)!=null&&jn.can_late)){tt.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[En].late_penalty=nr.inputValue,cn[En].penalty_type=nr.type,Xt([...cn])}}),Je.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Je.createElement(xe.default,{size:"large",disabled:Tt||Jn(Jt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:yt()((0,rt.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:nr=>ve(nr,st==null?void 0:st.course_end_date),format:"YYYY-MM-DD HH:mm",value:Jt!=null&&Jt.late_time?yt()(Jt.late_time):void 0,onChange:(nr,jn)=>{var xn;if((0,et.Rm)()&&!((xn=jt.AssistantObject.practice)!=null&&xn.can_late)){tt.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[En].late_time=jn,Xt([...cn])}}),!Tt&&Je.createElement("div",{style:{display:"flex",width:"50px"}},Je.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var nr;if((0,et.Rm)()&&!((nr=jt.AssistantObject.practice)!=null&&nr.can_late)){tt.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}Xt(cn.concat({penalty_type:se.Q.Percent,late_penalty:20}))}}),En>0&&!Jt.id&&Je.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var nr;if((0,et.Rm)()&&!((nr=jt.AssistantObject.practice)!=null&&nr.can_late)){tt.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=cn.filter((jn,xn)=>En!==xn),Xt(cn.slice()),setTimeout(()=>Xt(cn.slice()),10)}}))))})),!Tt&&Je.createElement(Je.Fragment,null,Je.createElement(Ge.ZP,{type:"primary",size:"large",loading:Ue,style:{width:"138px",marginTop:"30px"},onClick:()=>Vt()},"\u4FDD\u5B58")),Je.createElement(ft.Z,{onConfirm:(Jt,En)=>{Wt.splice(Jt,0,...En),Wt.splice(Jt+En.length,1);const qn=(0,rt.QE)([...Wt]);Cn([...qn])}}),Je.createElement(mt.Z,{resdata:vt,type:"shixun",okloading:Ue,oktext:(vt==null?void 0:vt.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Jt=>kt(void 0,null,function*(){pn(!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)]}});pn(!1),(En==null?void 0:En.status)===0&&nn(gn)})}))};hn.ZP=(0,Ut.connect)(({shixunHomeworks:Ke,classroomList:tn,loading:lt,user:jt})=>({shixunHomeworks:Ke,classroomList:tn,loading:lt.effects,user:jt}))(Te)},91704:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return fe}});var b=z(59301),xe=z(37568),de=z(62673),tt=z(77019),Oe={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",Fe=z(2524),ze=(Ge,Ce,yt)=>new Promise((et,$e)=>{var je=Nt=>{try{rt(yt.next(Nt))}catch(Ut){$e(Ut)}},Ve=Nt=>{try{rt(yt.throw(Nt))}catch(Ut){$e(Ut)}},rt=Nt=>Nt.done?et(Nt.value):Promise.resolve(Nt.value).then(je,Ve);rt((yt=yt.apply(Ge,Ce)).next())}),fe=({data:Ge,value:Ce=[],handleChangePage:yt,className:et="",setSelectedRowKeys:$e,selectedRowKeys:je,onChange:Ve=()=>{}})=>{const[rt,Nt]=(0,b.useState)([]),[Ut,se]=(0,b.useState)([]),[Me,ft]=(0,b.useState)([]);let[mt,Zt]=(0,b.useState)(1),[Je,at]=(0,b.useState)();return(0,b.useEffect)(()=>{Nt(Ge),se([]),ft([])},[Ge]),(0,b.useEffect)(()=>{$e&&(se(je),ft(je))},[je]),b.createElement("div",{className:`flex justify-between w-full ${et}`},b.createElement("div",{className:Oe.leftdiv},b.createElement(xe.default.Search,{size:"middle",style:{marginBottom:"10rem"},onChange:dt=>ze(void 0,null,function*(){Nt(Ge.filter(Pe=>{var Ze;return(Ze=Pe==null?void 0:Pe.name)==null?void 0:Ze.includes(dt.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),rt.length===0&&b.createElement(Fe.Z,{styles:{margin:"70rem auto"},customText:"\u6682\u65E0\u5206\u73ED"}),b.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},b.createElement(de.default.Group,{value:Ut.map(dt=>`${dt.id}`),onChange:dt=>{$e(rt.filter(Pe=>dt.includes(`${Pe.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},rt.map((dt,Pe)=>b.createElement(tt.Z,{key:dt.id,style:{marginTop:"10rem",lineHeight:"24rem",display:"flex",width:"200rem"}},b.createElement(de.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:dt.is_published,value:`${dt.id}`},b.createElement("div",{className:Oe.listClass},b.createElement("span",{className:Oe.spantitle,style:{width:dt.is_published?"108px":"170px"}},dt.name),dt.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:Oe.rightdiv},b.createElement(xe.default.Search,{onChange:dt=>{ft(Ut.filter(Pe=>Pe.name.includes(dt.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Me.length===0&&b.createElement(Fe.Z,{imgStyles:{width:"200rem"},styles:{margin:"70rem auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Me.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}},Me.map((dt,Pe)=>b.createElement("div",{className:"flex justify-between item-center",style:{marginTop:"10rem"},key:dt.id},b.createElement("div",{className:"multi_ellipsis1 flex-1 minW-0",style:{margin:"0 5rem"}},dt.name),b.createElement("img",{src:be,className:"current",style:{height:"16rem",marginRight:"17rem"},onClick:()=>{$e(Ut.filter(Ze=>`${Ze.id}`!=`${dt.id}`))}})))))))}},42656:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ve}});var b=z(59301),xe=z(65582),de=z(24017),tt=z(62957),Oe=z(37568),be=z(6767),Fe=z(77019),ze=z(5269),Be={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},fe=z(66649),Ge=z.n(fe),Ce=z(65862),yt=z(2524),et=z(59301);const{RangePicker:$e}=de.default,je=({dispatch:rt,classroomList:Nt,onConfirm:Ut})=>{const[se,Me]=(0,b.useState)([]),[ft,mt]=(0,b.useState)([]),[Zt,Je]=(0,b.useState)(""),[at,dt]=(0,b.useState)([!1,!1]);(0,b.useEffect)(()=>{var Ee,ue,Ct,He;if(Nt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((Ee=Nt.actionTabs)==null?void 0:Ee.rangePickerDisabled),(ue=Nt.actionTabs)!=null&&ue.rangePickerDisabled?dt((Ct=Nt.actionTabs)==null?void 0:Ct.rangePickerDisabled):dt([!1,!1]);let We=Nt.actionTabs.data,kt=(He=We==null?void 0:We.group_name)==null?void 0:He.map((Ae,ve)=>{var gt;return{group_id:We==null?void 0:We.group_id[ve],group_name:We==null?void 0:We.group_name[ve],is_admin:We==null?void 0:We.is_admin,end_time:We==null?void 0:We.end_time,publish_time:Array.isArray(We==null?void 0:We.publish_time)?(gt=We==null?void 0:We.publish_time)==null?void 0:gt[0]:We==null?void 0:We.publish_time}});kt&&(Me([...kt]),mt([...kt]))}},[Nt.actionTabs]);const Pe=()=>{rt({type:"classroomList/setActionTabs",payload:{}}),Je("")},Ze=Ee=>{if(Ee){const ue=ft==null?void 0:ft.filter(Ct=>{var He,We;return(We=(He=Ct==null?void 0:Ct.group_name)==null?void 0:He.toLowerCase())==null?void 0:We.includes(Ee==null?void 0:Ee.toLowerCase())});Me(ue)}else Me(ft)};return et.createElement(tt.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:Be.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(Oe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:Zt,onChange:Ee=>{Je(Ee.target.value.trim()),Ze(Ee.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 Ee;if(ft.some(Ct=>!Ct.end_time||!Ct.publish_time)){be.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}Ut((Ee=Nt.actionTabs)==null?void 0:Ee.index,ft),Pe()}},et.createElement("div",{className:Be.modal_con},et.createElement(Fe.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(se==null?void 0:se.length)>0?se.map(function(Ee,ue){return et.createElement(ze.Z,{span:24,key:ue},et.createElement(Fe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:ue==(se==null?void 0:se.length)-1?"0px":"10px"}},et.createElement("div",{className:Be.multiple_select,title:Ee==null?void 0:Ee.group_name},Ee==null?void 0:Ee.group_name),et.createElement("div",{className:"ml20"},et.createElement($e,{size:"large",allowClear:!1,disabled:at,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:Ct=>{var He;return(0,Ce.Q8)(Ct,(He=Nt.actionTabs)==null?void 0:He.disabledDate)},disabledTime:Ct=>(0,Ce.d0)(Ct),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ge()((0,Ce.U6)(),"HH:mm"),Ge()((0,Ce.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(Ee==null?void 0:Ee.publish_time)&&[Ge()(Ee==null?void 0:Ee.publish_time),Ee!=null&&Ee.end_time?Ge()(Ee==null?void 0:Ee.end_time):void 0],onChange:(Ct,He)=>{se[ue].publish_time=He[0],se[ue].end_time=He[1],Me([...se]),ft.forEach(We=>{We.group_id===(Ee==null?void 0:Ee.group_id)&&(We.publish_time=He[0],We.end_time=He[1])}),mt([...ft])},onCalendarChange:(Ct,He,We)=>{if(He!=null&&He[0]&&!He[1]){const kt=Ge()(He[0]).add(7,"days");se[ue].publish_time=He[0],se[ue].end_time=kt,Me([...se]),ft.forEach(Ae=>{Ae.group_id===(Ee==null?void 0:Ee.group_id)&&(Ae.publish_time=He[0],Ae.end_time=kt)}),mt([...ft])}}})),at[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(ue,1),Me([...se]),ft.forEach((Ct,He)=>{Ct.group_id===(Ee==null?void 0:Ee.group_id)&&ft.splice(He,1)}),mt([...ft])}})))}):et.createElement(yt.Z,null))))};var Ve=(0,xe.connect)(({classroomList:rt})=>({classroomList:rt}))(je)},44589:function(Vn,hn,z){"use strict";z.d(hn,{i:function(){return se},q:function(){return Ut}});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"},de=z(92310),tt=z.n(de),Oe=z(25399),be=z(82326),Fe=z(7939),ze=z(38147),Be=Object.defineProperty,fe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,$e=(Me,ft,mt)=>ft in Me?Be(Me,ft,{enumerable:!0,configurable:!0,writable:!0,value:mt}):Me[ft]=mt,je=(Me,ft)=>{for(var mt in ft||(ft={}))yt.call(ft,mt)&&$e(Me,mt,ft[mt]);if(Ce)for(var mt of Ce(ft))et.call(ft,mt)&&$e(Me,mt,ft[mt]);return Me},Ve=(Me,ft)=>fe(Me,Ge(ft)),rt=(Me,ft)=>{var mt={};for(var Zt in Me)yt.call(Me,Zt)&&ft.indexOf(Zt)<0&&(mt[Zt]=Me[Zt]);if(Me!=null&&Ce)for(var Zt of Ce(Me))ft.indexOf(Zt)<0&&et.call(Me,Zt)&&(mt[Zt]=Me[Zt]);return mt},Nt=(Me,ft,mt)=>new Promise((Zt,Je)=>{var at=Ze=>{try{Pe(mt.next(Ze))}catch(Ee){Je(Ee)}},dt=Ze=>{try{Pe(mt.throw(Ze))}catch(Ee){Je(Ee)}},Pe=Ze=>Ze.done?Zt(Ze.value):Promise.resolve(Ze.value).then(at,dt);Pe((mt=mt.apply(Me,ft)).next())});const Ut=Me=>{var ft=Me,{wrapClassName:mt,wrapStyle:Zt={},showLinkButton:Je=!0,tooltipTitle:at="",loadGeneral:dt=!1,data:Pe={}}=ft,Ze=rt(ft,["wrapClassName","wrapStyle","showLinkButton","tooltipTitle","loadGeneral","data"]);const Ee="course_disciplines_list",[ue,Ct]=(0,b.useState)(()=>{const gt=sessionStorage.getItem(Ee);return gt?JSON.parse(gt):[]}),[He,We]=(0,b.useState)(!1),[kt,Ae]=(0,b.useState)(!0);(0,b.useEffect)(()=>{ve()},[]);const ve=()=>Nt(void 0,null,function*(){var gt,Gt,Ht,pe;We(!0);const Te=yield(0,ze.U2)("v2/course_disciplines.json",Pe);if(Te.status===0){const Ke=((Gt=(gt=Te==null?void 0:Te.data)==null?void 0:gt.list)==null?void 0:Gt.map(tn=>({value:tn.id,label:tn.name})))||[];if(Ct(Ke),Ae(!1),sessionStorage.setItem(Ee,JSON.stringify(Ke)),kt){const tn=(pe=(Ht=Te==null?void 0:Te.data)==null?void 0:Ht.list)==null?void 0:pe.find(lt=>lt.is_default);dt&&tn&&Ze.onChange(tn==null?void 0:tn.id)}}We(!1)});return b.createElement("div",{className:tt()(xe.singleSelect,mt),style:Zt},b.createElement(Oe.Z,{title:at},b.createElement(be.default,je({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B",loading:He,options:ue,onDropdownVisibleChange:gt=>{gt&&ve()}},Ze))),Je&&b.createElement(Fe.ZP,{type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u8BFE\u7A0B"))},se=Me=>{var ft=Me,{wrapClassName:mt,wrapStyle:Zt={},showLinkButton:Je=!0,courseDisciplineId:at="",isPlusHeight:dt=!1,tooltipTitle:Pe,allowAcceptEmpty:Ze=!1,data:Ee={}}=ft,ue=rt(ft,["wrapClassName","wrapStyle","showLinkButton","courseDisciplineId","isPlusHeight","tooltipTitle","allowAcceptEmpty","data"]);const[Ct,He]=(0,b.useState)([]),[We,kt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Ae()},[at]);const Ae=()=>Nt(void 0,null,function*(){var ve,gt;if(!Ze&&!at){He([]);return}kt(!0);const Gt=yield(0,ze.U2)(`v2/course_disciplines/${at||"all"}.json`,Ee);if(Gt.status===0){const Ht=((gt=(ve=Gt==null?void 0:Gt.data)==null?void 0:ve.tag_disciplines)==null?void 0:gt.map(pe=>({value:pe.id,label:pe.name})))||[];Ht.length&&He(Ht)}kt(!1)});return b.createElement("div",{className:tt()(xe.multipleSelect,mt),style:Zt},b.createElement(Oe.Z,{title:Pe},b.createElement(be.default,Ve(je({allowClear:!0,mode:"multiple",optionFilterProp:"label",placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9",loading:We,options:Ct,maxTagCount:"responsive",onDropdownVisibleChange:ve=>{ve&&Ae()}},ue),{className:tt()(ue.className,dt&&xe.plus)}))),Je&&b.createElement(Fe.ZP,{className:xe.btn,type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u77E5\u8BC6\u70B9"))}},49142:function(Vn,hn,z){"use strict";z.d(hn,{AL:function(){return se},Iy:function(){return Ge},Qv:function(){return et},ez:function(){return Ut},jb:function(){return Ce}});var b=z(32834),xe=z.n(b),de=z(11690),tt=z.n(de);let Oe=1;function be(Je,at){const dt=Je.match(/^(\s+)(?:```)/);if(dt===null)return at;const Pe=dt[1];return at.split(`
|
|
|
`).map(Ze=>{const Ee=Ze.match(/^\s+/);if(Ee===null)return Ze;const[ue]=Ee;return ue.length>=Pe.length?Ze.slice(Pe.length):Ze}).join(`
|
|
|
`)}let Fe=[],ze=["<ul>"];const Be=new(xe()).Renderer,fe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ge(){Fe.length=0,ze=["<ul>"]}const Ce={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function yt(Je,at,dt,Pe){if(at>=Je.length||Je[at].level<=dt)return at;var Ze=Je[at];Pe.push("<li><a href='#"+Oe+Ze.anchor+"'>"+Ze.text+"</a>"),at++;var Ee=[];return at=yt(Je,at,Ze.level,Ee),Ee.length>0&&(Pe.push("<ul>"),Ee.forEach(function(ue){Pe.push(ue)}),Pe.push("</ul>")),Pe.push("</li>"),at=yt(Je,at,dt,Pe),at}function et(){return yt(Fe,0,0,ze),ze.push("</ul>"),ze.join("")}const $e={heading(Je){const at=fe.exec(Je);if(Oe+=1,at)return{type:"heading",raw:at[0],depth:at[1].length,text:at[2]}},fences(Je){const at=this.rules.block.fences.exec(Je);if(at){const dt=at[0];let Pe=be(dt,at[3]||"");const Ze=at[2]?at[2].trim():at[2];if(["latex","katex","math"].indexOf(Ze)>=0){const Ee=rt(),ue=Pe;Pe=Ee,Nt[Ee]={type:"block",expression:ue}}return{type:"code",raw:dt,lang:Ze,text:Pe}}}},je=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Ve=0;const rt=()=>`__special_katext_id_${Ve++}__`;let Nt={};function Ut(){return Nt}function se(){Ve=0,Nt={}}function Me(Je){return Je=Je.replace(je,(at,dt)=>{const Pe=rt();return Nt[Pe]={type:"inline",expression:dt},Pe}),Je}const ft=Be.listitem;Be.listitem=function(Je){return ft(Me(Je))};const mt=Be.paragraph;Be.paragraph=function(Je){return mt(Me(Je))};const Zt=Be.tablecell;Be.tablecell=function(Je,at){return Zt(Me(Je),at)},Be.code=function(Je,at,dt){const Pe=(at||"").match(/\S*/)[0];return Pe?["latex","katex","math"].indexOf(Pe)>=0?`<p class='editormd-tex'>${Je}</p>`:`<pre class="prettyprint linenums"><code class="language-${at}">${dt?Je:(0,de.escape)(Je,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(dt?Je:(0,de.escape)(Je,!0))+"</code></pre>"},Be.heading=function(Je,at,dt){let Pe=this.options.headerPrefix+dt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Fe.push({anchor:Pe,level:at,text:Je}),"<h"+at+' id="'+Oe+Pe+'">'+Je+"</h"+at+">"},xe().setOptions({silent:!0,gfm:!0,pedantic:!1}),xe().use({tokenizer:$e,renderer:Be}),hn.ZP=xe()},66457:function(Vn,hn,z){"use strict";z.d(hn,{rX:function(){return Me},pW:function(){return ft},gy:function(){return mt},xY:function(){return se},O5:function(){return Ut},hs:function(){return je},tJ:function(){return et},o1:function(){return $e},Rd:function(){return Nt}});var b=z(65582),xe=z(62957),de=z(37285),tt=z(6767),Oe=z(41867),be=z(65862),Fe=z(87169),ze=z(25510),Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6QoRzDkhCMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5F7Xpnpy2w7Ta8bawo4eDC6RVIf0YmufBXzCwKLIvaCgC2ceevGKeEAE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5CYII=",fe=z.p+"static/newqrcode.a8740efb.png",Ge=z(32637),Ce=z(59301),yt=(Zt,Je,at)=>new Promise((dt,Pe)=>{var Ze=Ct=>{try{ue(at.next(Ct))}catch(He){Pe(He)}},Ee=Ct=>{try{ue(at.throw(Ct))}catch(He){Pe(He)}},ue=Ct=>Ct.done?dt(Ct.value):Promise.resolve(Ct.value).then(Ze,Ee);ue((at=at.apply(Zt,Je)).next())});const et=(Zt,Je=!1,at=!1,dt="",Pe=!1)=>!!($e(Zt)&&Ve(Zt,Je,at,dt,Pe)),$e=Zt=>(0,Oe.bg)()?!0:(Zt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),je=Zt=>{var Je,at,dt;const{user:Pe}=(0,b.getDvaApp)()._store.getState();(0,Oe.bg)()&&!((at=(Je=Pe==null?void 0:Pe.userInfo)==null?void 0:Je.course)!=null&&at.course_public)&&!((dt=Pe==null?void 0:Pe.userInfo)!=null&&dt.profile_completed)&&Zt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},Ve=(Zt,Je=!1,at=!0,dt="",Pe=!1)=>{var Ze;const{user:Ee}=(0,b.getDvaApp)()._store.getState();return(Ze=Ee.userInfo)!=null&&Ze.profile_completed?!0:(at?Zt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:dt,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,be.xg)("/account/profile/edit"),rt()}}),!1)},rt=()=>{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:Ce.createElement("div",{style:{textAlign:"center"}},Ce.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"),Ce.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Ge}),Ce.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Ut=()=>{var Zt;const{user:Je}=(0,b.getDvaApp)()._store.getState();return(Zt=Je.userInfo)!=null&&Zt.professional_certification?!0:(xe.default.confirm({title:"\u63D0\u793A",centered:!0,content:Ce.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,be.xg)("/account/certification")}}),!1)},se=()=>(0,Oe.V9)()?!0:(xe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Ce.createElement("div",{className:"tc",style:{marginLeft:-38}},Ce.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Ce.createElement("img",{src:fe,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Me=(Zt,Je)=>Zt?!0:(xe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Ce.createElement("div",null,Ce.createElement("p",null,Je||"\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"),Ce.createElement("div",{style:{marginLeft:"110px"}},Ce.createElement("img",{src:Be,width:200}),Ce.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,be.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ft=Zt=>{xe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Ce.createElement("div",null,Ce.createElement("div",null,Ce.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"),Ce.createElement(de.Z,null),Ce.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ce.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 ",Ce.createElement("a",null,Zt),"\u5929\u3002"),Ce.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ce.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")),Ce.createElement("div",{style:{textAlign:"center",marginTop:30}},Ce.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ze,alt:"\u4E8C\u7EF4\u7801",width:160})))})},mt=(Zt,Je="")=>{const{shixunsDetail:{detail:at}}=(0,b.getDvaApp)()._store.getState();if((at==null?void 0:at.public)===2||(at==null?void 0:at.public)===1||(at==null?void 0:at.shixun_status)===3){let dt="";return(at==null?void 0:at.public)===2&&(dt="\u5DF2\u516C\u5F00"),(at==null?void 0:at.public)===1&&(dt="\u5F85\u5BA1\u6838"),(at==null?void 0:at.shixun_status)===3&&(dt="\u5DF2\u5173\u95ED"),xe.default.info({centered:!0,icon:Ce.createElement(Fe.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Ce.createElement("div",{className:"tc",style:{marginLeft:-38}},Ce.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Ce.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",dt,"\uFF0C",Je,"\u3002"),Ce.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Ce.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ze,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(at==null?void 0:at.shixun_status)===2?(xe.default.confirm({centered:!0,icon:Ce.createElement(Fe.Z,null),title:"\u63D0\u793A",content:Ce.createElement("div",null,Ce.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Je,"\u3002"),Ce.createElement("br",null),Ce.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:Ce.createElement(Fe.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:()=>yt(void 0,null,function*(){(yield Zt({type:"shixunsDetail/cancelRelease",payload:{id:at==null?void 0:at.identifier}})).status!==401&&(tt.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Zt({type:"shixunsDetail/getShixunsDetail",payload:{id:at==null?void 0:at.identifier}}),Zt({type:"practiceSetting/getCommonData",payload:{id:at==null?void 0:at.identifier}}))})})}}),!0):!1}},9981:function(Vn,hn){"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 de=xe<0||arguments.length<=xe?void 0:arguments[xe];de&&Object.keys(de).forEach(tt=>{const Oe=de[tt];Oe!==void 0&&(b[tt]=Oe)})}return b};hn.Z=z},86013:function(Vn,hn,z){"use strict";var b=z(59301),xe=z(19248);const de=tt=>{let Oe;return typeof tt=="object"&&(tt!=null&&tt.clearIcon)?Oe=tt:tt&&(Oe={clearIcon:b.createElement(xe.Z,null)}),Oe};hn.Z=de},97224:function(Vn,hn,z){"use strict";z.d(hn,{F:function(){return b}});function b(de){return de!=null&&de===de.window}const xe=de=>{var tt,Oe;if(typeof window=="undefined")return 0;let be=0;return b(de)?be=de.pageYOffset:de instanceof Document?be=de.documentElement.scrollTop:(de instanceof HTMLElement||de)&&(be=de.scrollTop),de&&!b(de)&&typeof be!="number"&&(be=(Oe=((tt=de.ownerDocument)!==null&&tt!==void 0?tt:de).documentElement)===null||Oe===void 0?void 0:Oe.scrollTop),be};hn.Z=xe},83010:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return tt}});var b=z(16089);function xe(Oe,be,Fe,ze){const Be=Fe-be;return Oe/=ze/2,Oe<1?Be/2*Oe*Oe*Oe+be:Be/2*((Oe-=2)*Oe*Oe+2)+be}var de=z(97224);function tt(Oe){let be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Fe=()=>window,callback:ze,duration:Be=450}=be,fe=Fe(),Ge=(0,de.Z)(fe),Ce=Date.now(),yt=()=>{const $e=Date.now()-Ce,je=xe($e>Be?Be:$e,Ge,Oe,Be);(0,de.F)(fe)?fe.scrollTo(window.pageXOffset,je):fe instanceof Document||fe.constructor.name==="HTMLDocument"?fe.documentElement.scrollTop=je:fe.scrollTop=je,$e<Be?(0,b.Z)(yt):typeof ze=="function"&&ze()};(0,b.Z)(yt)}},79939:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ar}});var b=z(94480),xe=z(59301),de=z(92310),tt=z.n(de),Oe=z(54476),be=z(33885),Fe=z(42978),ze=z(75931),Be=z(37463),fe=z(6551),Ge=z(6089),Ce=z(18929),yt=xe.createContext({}),et=yt,$e=z(76190),je=z(20068),Ve="__rc_cascader_search_mark__",rt=function(xt,Ft,Kt){var Pn=Kt.label,Tn=Pn===void 0?"":Pn;return Ft.some(function(kn){return String(kn[Tn]).toLowerCase().includes(xt.toLowerCase())})},Nt=function(xt,Ft,Kt,Pn){return Ft.map(function(Tn){return Tn[Pn.label]}).join(" / ")},Ut=function(xt,Ft,Kt,Pn,Tn,kn){var Kn=Tn.filter,pr=Kn===void 0?rt:Kn,Ar=Tn.render,Vr=Ar===void 0?Nt:Ar,Br=Tn.limit,fr=Br===void 0?50:Br,Pr=Tn.sort;return xe.useMemo(function(){var kr=[];if(!xt)return[];function $r(Xr,vo){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)(vo),[ur]),no=ur[Kt.children],Kr=yr||ur.disabled;if((!no||no.length===0||kn)&&pr(xt,gr,{label:Kt.label})){var wr;kr.push((0,be.Z)((0,be.Z)({},ur),{},(wr={disabled:Kr},(0,je.Z)(wr,Kt.label,Vr(xt,gr,Pn,Kt)),(0,je.Z)(wr,Ve,gr),(0,je.Z)(wr,Kt.children,void 0),wr)))}no&&$r(ur[Kt.children],gr,Kr)}})}return $r(Ft,[]),Pr&&kr.sort(function(Xr,vo){return Pr(Xr[Ve],vo[Ve],xt,Kt)}),fr!==!1&&fr>0?kr.slice(0,fr):kr},[xt,Ft,Kt,Pn,Vr,kn,pr,Pr,fr])},se=Ut,Me="__RC_CASCADER_SPLIT__",ft="SHOW_PARENT",mt="SHOW_CHILD";function Zt(bt){return bt.join(Me)}function Je(bt){return bt.map(Zt)}function at(bt){return bt.split(Me)}function dt(bt){var xt=bt||{},Ft=xt.label,Kt=xt.value,Pn=xt.children,Tn=Kt||"value";return{label:Ft||"label",value:Tn,key:Tn,children:Pn||"children"}}function Pe(bt,xt){var Ft,Kt;return(Ft=bt.isLeaf)!==null&&Ft!==void 0?Ft:!((Kt=bt[xt.children])!==null&&Kt!==void 0&&Kt.length)}function Ze(bt){var xt=bt.parentElement;if(xt){var Ft=bt.offsetTop-xt.offsetTop;Ft-xt.scrollTop<0?xt.scrollTo({top:Ft}):Ft+bt.offsetHeight-xt.scrollTop>xt.offsetHeight&&xt.scrollTo({top:Ft+bt.offsetHeight-xt.offsetHeight})}}function Ee(bt,xt){return bt.map(function(Ft){var Kt;return(Kt=Ft[Ve])===null||Kt===void 0?void 0:Kt.map(function(Pn){return Pn[xt.value]})})}function ue(bt){return Array.isArray(bt)&&Array.isArray(bt[0])}function Ct(bt){return bt?ue(bt)?bt:(bt.length===0?[]:[bt]).map(function(xt){return Array.isArray(xt)?xt:[xt]}):[]}function He(bt,xt,Ft){var Kt=new Set(bt),Pn=xt();return bt.filter(function(Tn){var kn=Pn[Tn],Kn=kn?kn.parent:null,pr=kn?kn.children:null;return kn&&kn.node.disabled?!0:Ft===mt?!(pr&&pr.some(function(Ar){return Ar.key&&Kt.has(Ar.key)})):!(Kn&&!Kn.node.disabled&&Kt.has(Kn.key))})}function We(bt,xt,Ft){for(var Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Pn=xt,Tn=[],kn=function(){var Ar,Vr,Br,fr=bt[Kn],Pr=(Ar=Pn)===null||Ar===void 0?void 0:Ar.findIndex(function($r){var Xr=$r[Ft.value];return Kt?String(Xr)===String(fr):Xr===fr}),kr=Pr!==-1?(Vr=Pn)===null||Vr===void 0?void 0:Vr[Pr]:null;Tn.push({value:(Br=kr==null?void 0:kr[Ft.value])!==null&&Br!==void 0?Br:fr,index:Pr,option:kr}),Pn=kr==null?void 0:kr[Ft.children]},Kn=0;Kn<bt.length;Kn+=1)kn();return Tn}var kt=function(bt,xt,Ft,Kt,Pn){return xe.useMemo(function(){var Tn=Pn||function(kn){var Kn=Kt?kn.slice(-1):kn,pr=" / ";return Kn.every(function(Ar){return["string","number"].includes((0,$e.Z)(Ar))})?Kn.join(pr):Kn.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 bt.map(function(kn){var Kn,pr=We(kn,xt,Ft),Ar=Tn(pr.map(function(Br){var fr,Pr=Br.option,kr=Br.value;return(fr=Pr==null?void 0:Pr[Ft.label])!==null&&fr!==void 0?fr:kr}),pr.map(function(Br){var fr=Br.option;return fr})),Vr=Zt(kn);return{label:Ar,value:Vr,key:Vr,valueCells:kn,disabled:(Kn=pr[pr.length-1])===null||Kn===void 0||(Kn=Kn.option)===null||Kn===void 0?void 0:Kn.disabled}})},[bt,xt,Ft,Pn,Kt])};function Ae(bt,xt){return xe.useCallback(function(Ft){var Kt=[],Pn=[];return Ft.forEach(function(Tn){var kn=We(Tn,bt,xt);kn.every(function(Kn){return Kn.option})?Pn.push(Tn):Kt.push(Tn)}),[Pn,Kt]},[bt,xt])}var ve=z(34061),gt=function(bt,xt){var Ft=xe.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}}),Kt=xe.useCallback(function(){return Ft.current.options!==bt&&(Ft.current.options=bt,Ft.current.info=(0,ve.I8)(bt,{fieldNames:xt,initWrapper:function(Tn){return(0,be.Z)((0,be.Z)({},Tn),{},{pathKeyEntities:{}})},processEntity:function(Tn,kn){var Kn=Tn.nodes.map(function(pr){return pr[xt.value]}).join(Me);kn.pathKeyEntities[Kn]=Tn,Tn.key=Kn}})),Ft.current.info.pathKeyEntities},[xt,bt]);return Kt};function Gt(bt,xt){var Ft=xe.useMemo(function(){return xt||[]},[xt]),Kt=gt(Ft,bt),Pn=xe.useCallback(function(Tn){var kn=Kt();return Tn.map(function(Kn){var pr=kn[Kn].nodes;return pr.map(function(Ar){return Ar[bt.value]})})},[Kt,bt]);return[Ft,Kt,Pn]}var Ht=z(48736);function pe(bt){return xe.useMemo(function(){if(!bt)return[!1,{}];var xt={matchInputWidth:!0,limit:50};return bt&&(0,$e.Z)(bt)==="object"&&(xt=(0,be.Z)((0,be.Z)({},xt),bt)),xt.limit<=0&&(xt.limit=!1),[!0,xt]},[bt])}var Te=z(34643);function Ke(bt,xt,Ft,Kt,Pn,Tn,kn,Kn){return function(pr){if(!bt)xt(pr);else{var Ar=Zt(pr),Vr=Je(Ft),Br=Je(Kt),fr=Vr.includes(Ar),Pr=Pn.some(function(Kr){return Zt(Kr)===Ar}),kr=Ft,$r=Pn;if(Pr&&!fr)$r=Pn.filter(function(Kr){return Zt(Kr)!==Ar});else{var Xr=fr?Vr.filter(function(Kr){return Kr!==Ar}):[].concat((0,b.Z)(Vr),[Ar]),vo=Tn(),yr;if(fr){var ur=(0,Te.S)(Xr,{checked:!1,halfCheckedKeys:Br},vo);yr=ur.checkedKeys}else{var gr=(0,Te.S)(Xr,!0,vo);yr=gr.checkedKeys}var no=He(yr,Tn,Kn);kr=kn(no)}xt([].concat((0,b.Z)($r),(0,b.Z)(kr)))}}}function tn(bt,xt,Ft,Kt,Pn){return xe.useMemo(function(){var Tn=Pn(xt),kn=(0,Fe.Z)(Tn,2),Kn=kn[0],pr=kn[1];if(!bt||!xt.length)return[Kn,[],pr];var Ar=Je(Kn),Vr=Ft(),Br=(0,Te.S)(Ar,!0,Vr),fr=Br.checkedKeys,Pr=Br.halfCheckedKeys;return[Kt(fr),Kt(Pr),pr]},[bt,xt,Ft,Kt,Pn])}var lt=xe.memo(function(bt){var xt=bt.children;return xt},function(bt,xt){return!xt.open}),jt=lt;function ct(bt){var xt,Ft=bt.prefixCls,Kt=bt.checked,Pn=bt.halfChecked,Tn=bt.disabled,kn=bt.onClick,Kn=bt.disableCheckbox,pr=xe.useContext(et),Ar=pr.checkable,Vr=typeof Ar!="boolean"?Ar:null;return xe.createElement("span",{className:tt()("".concat(Ft),(xt={},(0,je.Z)(xt,"".concat(Ft,"-checked"),Kt),(0,je.Z)(xt,"".concat(Ft,"-indeterminate"),!Kt&&Pn),(0,je.Z)(xt,"".concat(Ft,"-disabled"),Tn||Kn),xt)),onClick:kn},Vr)}var ln="__cascader_fix_label__";function Et(bt){var xt=bt.prefixCls,Ft=bt.multiple,Kt=bt.options,Pn=bt.activeValue,Tn=bt.prevValuePath,kn=bt.onToggleOpen,Kn=bt.onSelect,pr=bt.onActive,Ar=bt.checkedSet,Vr=bt.halfCheckedSet,Br=bt.loadingKeys,fr=bt.isSelectable,Pr=bt.disabled,kr="".concat(xt,"-menu"),$r="".concat(xt,"-menu-item"),Xr=xe.useContext(et),vo=Xr.fieldNames,yr=Xr.changeOnSelect,ur=Xr.expandTrigger,gr=Xr.expandIcon,no=Xr.loadingIcon,Kr=Xr.dropdownMenuColumnStyle,wr=Xr.optionRender,Rr=ur==="hover",mo=function(eo){return Pr||eo},Qr=xe.useMemo(function(){return Kt.map(function(qr){var eo,ko=qr.disabled,_o=qr.disableCheckbox,qo=qr[Ve],Lo=(eo=qr[ln])!==null&&eo!==void 0?eo:qr[vo.label],ii=qr[vo.value],ke=Pe(qr,vo),nt=qo?qo.map(function(ot){return ot[vo.value]}):[].concat((0,b.Z)(Tn),[ii]),Mt=Zt(nt),un=Br.includes(Mt),fn=Ar.has(Mt),Rt=Vr.has(Mt);return{disabled:ko,label:Lo,value:ii,isLeaf:ke,isLoading:un,checked:fn,halfChecked:Rt,option:qr,disableCheckbox:_o,fullPath:nt,fullPathKey:Mt}})},[Kt,Ar,vo,Vr,Br,Tn]);return xe.createElement("ul",{className:kr,role:"menu"},Qr.map(function(qr){var eo,ko=qr.disabled,_o=qr.label,qo=qr.value,Lo=qr.isLeaf,ii=qr.isLoading,ke=qr.checked,nt=qr.halfChecked,Mt=qr.option,un=qr.fullPath,fn=qr.fullPathKey,Rt=qr.disableCheckbox,ot=function(){if(!mo(ko)){var Zn=(0,b.Z)(un);Rr&&Lo&&Zn.pop(),pr(Zn)}},Ot=function(){fr(Mt)&&!mo(ko)&&Kn(un,Lo)},en;return typeof Mt.title=="string"?en=Mt.title:typeof _o=="string"&&(en=_o),xe.createElement("li",{key:fn,className:tt()($r,(eo={},(0,je.Z)(eo,"".concat($r,"-expand"),!Lo),(0,je.Z)(eo,"".concat($r,"-active"),Pn===qo||Pn===fn),(0,je.Z)(eo,"".concat($r,"-disabled"),mo(ko)),(0,je.Z)(eo,"".concat($r,"-loading"),ii),eo)),style:Kr,role:"menuitemcheckbox",title:en,"aria-checked":ke,"data-path-key":fn,onClick:function(){ot(),!Rt&&(!Ft||Lo)&&Ot()},onDoubleClick:function(){yr&&kn(!1)},onMouseEnter:function(){Rr&&ot()},onMouseDown:function(Zn){Zn.preventDefault()}},Ft&&xe.createElement(ct,{prefixCls:"".concat(xt,"-checkbox"),checked:ke,halfChecked:nt,disabled:mo(ko)||Rt,disableCheckbox:Rt,onClick:function(Zn){Rt||(Zn.stopPropagation(),Ot())}}),xe.createElement("div",{className:"".concat($r,"-content")},wr?wr(Mt):_o),!ii&&gr&&!Lo&&xe.createElement("div",{className:"".concat($r,"-expand-icon")},gr),ii&&no&&xe.createElement("div",{className:"".concat($r,"-loading-icon")},no))}))}var le=function(xt,Ft){var Kt=xe.useContext(et),Pn=Kt.values,Tn=Pn[0],kn=xe.useState([]),Kn=(0,Fe.Z)(kn,2),pr=Kn[0],Ar=Kn[1];return xe.useEffect(function(){xt||Ar(Tn||[])},[Ft,Tn]),[pr,Ar]},ne=le,te=z(10228),ae=function(bt,xt,Ft,Kt,Pn,Tn,kn){var Kn=kn.direction,pr=kn.searchValue,Ar=kn.toggleOpen,Vr=kn.open,Br=Kn==="rtl",fr=xe.useMemo(function(){for(var Kr=-1,wr=xt,Rr=[],mo=[],Qr=Kt.length,qr=Ee(xt,Ft),eo=function(ii){var ke=wr.findIndex(function(nt,Mt){return(qr[Mt]?Zt(qr[Mt]):nt[Ft.value])===Kt[ii]});if(ke===-1)return 1;Kr=ke,Rr.push(Kr),mo.push(Kt[ii]),wr=wr[Kr][Ft.children]},ko=0;ko<Qr&&wr&&!eo(ko);ko+=1);for(var _o=xt,qo=0;qo<Rr.length-1;qo+=1)_o=_o[Rr[qo]][Ft.children];return[mo,Kr,_o,qr]},[Kt,Ft,xt]),Pr=(0,Fe.Z)(fr,4),kr=Pr[0],$r=Pr[1],Xr=Pr[2],vo=Pr[3],yr=function(wr){Pn(wr)},ur=function(wr){var Rr=Xr.length,mo=$r;mo===-1&&wr<0&&(mo=Rr);for(var Qr=0;Qr<Rr;Qr+=1){mo=(mo+wr+Rr)%Rr;var qr=Xr[mo];if(qr&&!qr.disabled){var eo=kr.slice(0,-1).concat(vo[mo]?Zt(vo[mo]):qr[Ft.value]);yr(eo);return}}},gr=function(){if(kr.length>1){var wr=kr.slice(0,-1);yr(wr)}else Ar(!1)},no=function(){var wr,Rr=((wr=Xr[$r])===null||wr===void 0?void 0:wr[Ft.children])||[],mo=Rr.find(function(qr){return!qr.disabled});if(mo){var Qr=[].concat((0,b.Z)(kr),[mo[Ft.value]]);yr(Qr)}};xe.useImperativeHandle(bt,function(){return{onKeyDown:function(wr){var Rr=wr.which;switch(Rr){case te.Z.UP:case te.Z.DOWN:{var mo=0;Rr===te.Z.UP?mo=-1:Rr===te.Z.DOWN&&(mo=1),mo!==0&&ur(mo);break}case te.Z.LEFT:{if(pr)break;Br?no():gr();break}case te.Z.RIGHT:{if(pr)break;Br?gr():no();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[Ve])||[];qr.length?Tn(qr.map(function(eo){return eo[Ft.value]}),qr[qr.length-1]):Tn(kr,Xr[$r])}break}case te.Z.ESC:Ar(!1),Vr&&wr.stopPropagation()}},onKeyUp:function(){}}})},he=xe.forwardRef(function(bt,xt){var Ft,Kt,Pn,Tn=bt.prefixCls,kn=bt.multiple,Kn=bt.searchValue,pr=bt.toggleOpen,Ar=bt.notFoundContent,Vr=bt.direction,Br=bt.open,fr=bt.disabled,Pr=xe.useRef(null),kr=Vr==="rtl",$r=xe.useContext(et),Xr=$r.options,vo=$r.values,yr=$r.halfValues,ur=$r.fieldNames,gr=$r.changeOnSelect,no=$r.onSelect,Kr=$r.searchOptions,wr=$r.dropdownPrefixCls,Rr=$r.loadData,mo=$r.expandTrigger,Qr=wr||Tn,qr=xe.useState([]),eo=(0,Fe.Z)(qr,2),ko=eo[0],_o=eo[1],qo=function(Wr){if(!(!Rr||Kn)){var Jr=We(Wr,Xr,ur),yo=Jr.map(function(co){var fo=co.option;return fo}),io=yo[yo.length-1];if(io&&!Pe(io,ur)){var Io=Zt(Wr);_o(function(co){return[].concat((0,b.Z)(co),[Io])}),Rr(yo)}}};xe.useEffect(function(){ko.length&&ko.forEach(function(br){var Wr=at(br),Jr=We(Wr,Xr,ur,!0).map(function(io){var Io=io.option;return Io}),yo=Jr[Jr.length-1];(!yo||yo[ur.children]||Pe(yo,ur))&&_o(function(io){return io.filter(function(Io){return Io!==br})})})},[Xr,ko,ur]);var Lo=xe.useMemo(function(){return new Set(Je(vo))},[vo]),ii=xe.useMemo(function(){return new Set(Je(yr))},[yr]),ke=ne(kn,Br),nt=(0,Fe.Z)(ke,2),Mt=nt[0],un=nt[1],fn=function(Wr){un(Wr),qo(Wr)},Rt=function(Wr){if(fr)return!1;var Jr=Wr.disabled,yo=Pe(Wr,ur);return!Jr&&(yo||gr||kn)},ot=function(Wr,Jr){var yo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;no(Wr),!kn&&(Jr||gr&&(mo==="hover"||yo))&&pr(!1)},Ot=xe.useMemo(function(){return Kn?Kr:Xr},[Kn,Kr,Xr]),en=xe.useMemo(function(){for(var br=[{options:Ot}],Wr=Ot,Jr=Ee(Wr,ur),yo=function(){var co=Mt[io],fo=Wr.find(function(Bo,ri){return(Jr[ri]?Zt(Jr[ri]):Bo[ur.value])===co}),bo=fo==null?void 0:fo[ur.children];if(!(bo!=null&&bo.length))return 1;Wr=bo,br.push({options:bo})},io=0;io<Mt.length&&!yo();io+=1);return br},[Ot,Mt,ur]),Fn=function(Wr,Jr){Rt(Jr)&&ot(Wr,Pe(Jr,ur),!0)};ae(xt,Ot,ur,Mt,fn,Fn,{direction:Vr,searchValue:Kn,toggleOpen:pr,open:Br}),xe.useEffect(function(){if(!Kn)for(var br=0;br<Mt.length;br+=1){var Wr,Jr=Mt.slice(0,br+1),yo=Zt(Jr),io=(Wr=Pr.current)===null||Wr===void 0?void 0:Wr.querySelector('li[data-path-key="'.concat(yo.replace(/\\{0,2}"/g,'\\"'),'"]'));io&&Ze(io)}},[Mt,Kn]);var Zn=!((Ft=en[0])!==null&&Ft!==void 0&&(Ft=Ft.options)!==null&&Ft!==void 0&&Ft.length),An=[(Kt={},(0,je.Z)(Kt,ur.value,"__EMPTY__"),(0,je.Z)(Kt,ln,Ar),(0,je.Z)(Kt,"disabled",!0),Kt)],Hn=(0,be.Z)((0,be.Z)({},bt),{},{multiple:!Zn&&kn,onSelect:ot,onActive:fn,onToggleOpen:pr,checkedSet:Lo,halfCheckedSet:ii,loadingKeys:ko,isSelectable:Rt}),$n=Zn?[{options:An}]:en,Cr=$n.map(function(br,Wr){var Jr=Mt.slice(0,Wr),yo=Mt[Wr];return xe.createElement(Et,(0,Oe.Z)({key:Wr},Hn,{prefixCls:Qr,options:br.options,prevValuePath:Jr,activeValue:yo}))});return xe.createElement(jt,{open:Br},xe.createElement("div",{className:tt()("".concat(Qr,"-menus"),(Pn={},(0,je.Z)(Pn,"".concat(Qr,"-menu-empty"),Zn),(0,je.Z)(Pn,"".concat(Qr,"-rtl"),kr),Pn)),ref:Pr},Cr))}),re=he,ce=xe.forwardRef(function(bt,xt){var Ft=(0,Be.lk)();return xe.createElement(re,(0,Oe.Z)({},bt,Ft,{ref:xt}))}),De=ce,st=z(70425);function Qe(){}function Ie(bt){var xt,Ft=bt,Kt=Ft.prefixCls,Pn=Kt===void 0?"rc-cascader":Kt,Tn=Ft.style,kn=Ft.className,Kn=Ft.options,pr=Ft.checkable,Ar=Ft.defaultValue,Vr=Ft.value,Br=Ft.fieldNames,fr=Ft.changeOnSelect,Pr=Ft.onChange,kr=Ft.showCheckedStrategy,$r=Ft.loadData,Xr=Ft.expandTrigger,vo=Ft.expandIcon,yr=vo===void 0?">":vo,ur=Ft.loadingIcon,gr=Ft.direction,no=Ft.notFoundContent,Kr=no===void 0?"Not Found":no,wr=Ft.disabled,Rr=!!pr,mo=(0,st.C8)(Ar,{value:Vr,postState:Ct}),Qr=(0,Fe.Z)(mo,2),qr=Qr[0],eo=Qr[1],ko=xe.useMemo(function(){return dt(Br)},[JSON.stringify(Br)]),_o=Gt(ko,Kn),qo=(0,Fe.Z)(_o,3),Lo=qo[0],ii=qo[1],ke=qo[2],nt=Ae(Lo,ko),Mt=tn(Rr,qr,ii,ke,nt),un=(0,Fe.Z)(Mt,3),fn=un[0],Rt=un[1],ot=un[2],Ot=(0,st.zX)(function($n){if(eo($n),Pr){var Cr=Ct($n),br=Cr.map(function(yo){return We(yo,Lo,ko).map(function(io){return io.option})}),Wr=Rr?Cr:Cr[0],Jr=Rr?br:br[0];Pr(Wr,Jr)}}),en=Ke(Rr,Ot,fn,Rt,ot,ii,ke,kr),Fn=(0,st.zX)(function($n){en($n)}),Zn=xe.useMemo(function(){return{options:Lo,fieldNames:ko,values:fn,halfValues:Rt,changeOnSelect:fr,onSelect:Fn,checkable:pr,searchOptions:[],dropdownPrefixCls:void 0,loadData:$r,expandTrigger:Xr,expandIcon:yr,loadingIcon:ur,dropdownMenuColumnStyle:void 0}},[Lo,ko,fn,Rt,fr,Fn,pr,$r,Xr,yr,ur]),An="".concat(Pn,"-panel"),Hn=!Lo.length;return xe.createElement(et.Provider,{value:Zn},xe.createElement("div",{className:tt()(An,(xt={},(0,je.Z)(xt,"".concat(An,"-rtl"),gr==="rtl"),(0,je.Z)(xt,"".concat(An,"-empty"),Hn),xt),kn),style:Tn},Hn?Kr:xe.createElement(re,{prefixCls:Pn,searchValue:"",multiple:Rr,toggleOpen:Qe,open:!0,direction:gr,disabled:wr})))}function pt(bt){var xt=bt.onPopupVisibleChange,Ft=bt.popupVisible,Kt=bt.popupClassName,Pn=bt.popupPlacement;warning(!xt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Ft===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Kt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Pn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Pt(bt,xt){if(bt){var Ft=function Kt(Pn){for(var Tn=0;Tn<Pn.length;Tn++){var kn=Pn[Tn];if(kn[xt==null?void 0:xt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(kn[xt==null?void 0:xt.children])&&Kt(kn[xt==null?void 0:xt.children]))return!0}};Ft(bt)}}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"],Ue=xe.forwardRef(function(bt,xt){var Ft=bt.id,Kt=bt.prefixCls,Pn=Kt===void 0?"rc-cascader":Kt,Tn=bt.fieldNames,kn=bt.defaultValue,Kn=bt.value,pr=bt.changeOnSelect,Ar=bt.onChange,Vr=bt.displayRender,Br=bt.checkable,fr=bt.autoClearSearchValue,Pr=fr===void 0?!0:fr,kr=bt.searchValue,$r=bt.onSearch,Xr=bt.showSearch,vo=bt.expandTrigger,yr=bt.options,ur=bt.dropdownPrefixCls,gr=bt.loadData,no=bt.popupVisible,Kr=bt.open,wr=bt.popupClassName,Rr=bt.dropdownClassName,mo=bt.dropdownMenuColumnStyle,Qr=bt.dropdownStyle,qr=bt.popupPlacement,eo=bt.placement,ko=bt.onDropdownVisibleChange,_o=bt.onPopupVisibleChange,qo=bt.expandIcon,Lo=qo===void 0?">":qo,ii=bt.loadingIcon,ke=bt.children,nt=bt.dropdownMatchSelectWidth,Mt=nt===void 0?!1:nt,un=bt.showCheckedStrategy,fn=un===void 0?ft:un,Rt=bt.optionRender,ot=(0,ze.Z)(bt,Le),Ot=(0,fe.ZP)(Ft),en=!!Br,Fn=(0,Ce.Z)(kn,{value:Kn,postState:Ct}),Zn=(0,Fe.Z)(Fn,2),An=Zn[0],Hn=Zn[1],$n=xe.useMemo(function(){return dt(Tn)},[JSON.stringify(Tn)]),Cr=Gt($n,yr),br=(0,Fe.Z)(Cr,3),Wr=br[0],Jr=br[1],yo=br[2],io=(0,Ce.Z)("",{value:kr,postState:function(To){return To||""}}),Io=(0,Fe.Z)(io,2),co=Io[0],fo=Io[1],bo=function(To,si){fo(To),si.source!=="blur"&&$r&&$r(To)},Bo=pe(Xr),ri=(0,Fe.Z)(Bo,2),Si=ri[0],bi=ri[1],Ki=se(co,Wr,$n,ur||Pn,bi,pr||en),Wo=Ae(Wr,$n),Mo=tn(en,An,Jr,yo,Wo),Wi=(0,Fe.Z)(Mo,3),zi=Wi[0],Xi=Wi[1],Wa=Wi[2],Pa=xe.useMemo(function(){var ho=Je(zi),To=He(ho,Jr,fn);return[].concat((0,b.Z)(Wa),(0,b.Z)(yo(To)))},[zi,Jr,yo,Wa,fn]),Ta=kt(Pa,Wr,$n,en,Vr),Ba=(0,Ge.Z)(function(ho){if(Hn(ho),Ar){var To=Ct(ho),si=To.map(function(Li){return We(Li,Wr,$n).map(function(Oi){return Oi.option})}),da=en?To:To[0],Ri=en?si:si[0];Ar(da,Ri)}}),Ui=Ke(en,Ba,zi,Xi,Wa,Jr,yo,fn),Fa=(0,Ge.Z)(function(ho){(!en||Pr)&&fo(""),Ui(ho)}),ul=function(To,si){if(si.type==="clear"){Ba([]);return}var da=si.values[0],Ri=da.valueCells;Fa(Ri)},Ja=Kr!==void 0?Kr:no,Ji=Rr||wr,Nl=eo||qr,El=function(To){ko==null||ko(To),_o==null||_o(To)},hi=xe.useMemo(function(){return{options:Wr,fieldNames:$n,values:zi,halfValues:Xi,changeOnSelect:pr,onSelect:Fa,checkable:Br,searchOptions:Ki,dropdownPrefixCls:ur,loadData:gr,expandTrigger:vo,expandIcon:Lo,loadingIcon:ii,dropdownMenuColumnStyle:mo,optionRender:Rt}},[Wr,$n,zi,Xi,pr,Fa,Br,Ki,ur,gr,vo,Lo,ii,mo,Rt]),mi=!(co?Ki:Wr).length,wo=co&&bi.matchInputWidth||mi?{}:{minWidth:"auto"};return xe.createElement(et.Provider,{value:hi},xe.createElement(Be.Ac,(0,Oe.Z)({},ot,{ref:xt,id:Ot,prefixCls:Pn,autoClearSearchValue:Pr,dropdownMatchSelectWidth:Mt,dropdownStyle:(0,be.Z)((0,be.Z)({},wo),Qr),displayValues:Ta,onDisplayValuesChange:ul,mode:en?"multiple":void 0,searchValue:co,onSearch:bo,showSearch:Si,OptionList:De,emptyOptions:mi,open:Ja,dropdownClassName:Ji,placement:Nl,onDropdownVisibleChange:El,getRawInputElement:function(){return ke}})))});Ue.SHOW_PARENT=ft,Ue.SHOW_CHILD=mt,Ue.Panel=Ie;var pn=Ue,Wt=pn,Cn=z(2738),cn=z(75030),Xt=z(86641),an=z(45915),mn=z(82855),vt=z(48755),Yt=z(38406),gn=z(2171),At=z(83397),_e=z(31756),Vt=z(56553),nn=z(24971),dn=z(1722),Ln=z(90376),Qn=z(68525),hr=z(90005),vr=z(70045);function Jn(bt,xt){const{getPrefixCls:Ft,direction:Kt,renderEmpty:Pn}=xe.useContext(vt.E_),Tn=xt||Kt,kn=Ft("select",bt),Kn=Ft("cascader",bt);return[kn,Kn,Tn,Pn]}var dr=Jn;function Jt(bt,xt){return xe.useMemo(()=>xt?xe.createElement("span",{className:`${bt}-checkbox-inner`}):!1,[xt])}var En=z(33853),qn=z(58617),nr=z(38819),xn=(bt,xt,Ft)=>{let Kt=Ft;Ft||(Kt=xt?xe.createElement(En.Z,null):xe.createElement(nr.Z,null));const Pn=xe.createElement("span",{className:`${bt}-menu-item-loading-icon`},xe.createElement(qn.Z,{spin:!0}));return xe.useMemo(()=>[Kt,Pn],[Kt])},ut=z(56119),qt=z(16931),Dt=z(36237),sn=z(36170),Sn=z(63356),Bn=bt=>{const{prefixCls:xt,componentCls:Ft}=bt,Kt=`${Ft}-menu-item`,Pn=`
|
|
|
&${Kt}-expand ${Kt}-expand-icon,
|
|
|
${Kt}-loading-icon
|
|
|
`;return[(0,sn.C2)(`${xt}-checkbox`,bt),{[Ft]:{"&-checkbox":{top:0,marginInlineEnd:bt.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Ft}-menu-empty`]:{[`${Ft}-menu`]:{width:"100%",height:"auto",[Kt]:{color:bt.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:bt.controlItemWidth,height:bt.dropdownHeight,margin:0,padding:bt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,Dt.unit)(bt.lineWidth)} ${bt.lineType} ${bt.colorSplit}`},"&-item":Object.assign(Object.assign({},Sn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:bt.optionPadding,lineHeight:bt.lineHeight,cursor:"pointer",transition:`all ${bt.motionDurationMid}`,borderRadius:bt.borderRadiusSM,"&:hover":{background:bt.controlItemBgHover},"&-disabled":{color:bt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Pn]:{color:bt.colorTextDisabled}},[`&-active:not(${Kt}-disabled)`]:{"&, &:hover":{color:bt.optionSelectedColor,fontWeight:bt.optionSelectedFontWeight,backgroundColor:bt.optionSelectedBg}},"&-content":{flex:"auto"},[Pn]:{marginInlineStart:bt.paddingXXS,color:bt.colorTextDescription,fontSize:bt.fontSizeIcon},"&-keyword":{color:bt.colorHighlight}})}}}]};const Un=bt=>{const{componentCls:xt,antCls:Ft}=bt;return[{[xt]:{width:bt.controlWidth}},{[`${xt}-dropdown`]:[{[`&${Ft}-select-dropdown`]:{padding:0}},Bn(bt)]},{[`${xt}-dropdown-rtl`]:{direction:"rtl"}},(0,ut.c)(bt)]},Yn=bt=>{const xt=Math.round((bt.controlHeight-bt.fontSize*bt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:bt.controlItemBgActive,optionSelectedFontWeight:bt.fontWeightStrong,optionPadding:`${xt}px ${bt.paddingSM}px`,menuPadding:bt.paddingXXS,optionSelectedColor:bt.colorText}};var $t=(0,qt.I$)("Cascader",bt=>[Un(bt)],Yn);const Mn=bt=>{const{componentCls:xt}=bt;return{[`${xt}-panel`]:[Bn(bt),{display:"inline-flex",border:`${(0,Dt.unit)(bt.lineWidth)} ${bt.lineType} ${bt.colorSplit}`,borderRadius:bt.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${xt}-menus`]:{alignItems:"stretch"},[`${xt}-menu`]:{height:"auto"},"&-empty":{padding:bt.paddingXXS}}]}};var rn=(0,qt.A1)(["Cascader","Panel"],bt=>Mn(bt),Yn);function or(bt){const{prefixCls:xt,className:Ft,multiple:Kt,rootClassName:Pn,notFoundContent:Tn,direction:kn,expandIcon:Kn,disabled:pr}=bt,Ar=xe.useContext(gn.Z),Vr=pr!=null?pr:Ar,[Br,fr,Pr,kr]=dr(xt,kn),$r=(0,At.Z)(fr),[Xr,vo,yr]=$t(fr,$r);rn(fr);const ur=Pr==="rtl",[gr,no]=xn(Br,ur,Kn),Kr=Tn||(kr==null?void 0:kr("Cascader"))||xe.createElement(Yt.Z,{componentName:"Cascader"}),wr=Jt(fr,Kt);return Xr(xe.createElement(Ie,Object.assign({},bt,{checkable:wr,prefixCls:fr,className:tt()(Ft,vo,Pn,yr,$r),notFoundContent:Kr,direction:Pr,expandIcon:gr,loadingIcon:no,disabled:Vr})))}var wt=or,zt=function(bt,xt){var Ft={};for(var Kt in bt)Object.prototype.hasOwnProperty.call(bt,Kt)&&xt.indexOf(Kt)<0&&(Ft[Kt]=bt[Kt]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,Kt=Object.getOwnPropertySymbols(bt);Pn<Kt.length;Pn++)xt.indexOf(Kt[Pn])<0&&Object.prototype.propertyIsEnumerable.call(bt,Kt[Pn])&&(Ft[Kt[Pn]]=bt[Kt[Pn]]);return Ft};const{SHOW_CHILD:Re,SHOW_PARENT:ht}=Wt;function Ye(bt,xt,Ft){const Kt=bt.toLowerCase().split(xt).reduce((kn,Kn,pr)=>pr===0?[Kn]:[].concat((0,b.Z)(kn),[xt,Kn]),[]),Pn=[];let Tn=0;return Kt.forEach((kn,Kn)=>{const pr=Tn+kn.length;let Ar=bt.slice(Tn,pr);Tn=pr,Kn%2===1&&(Ar=xe.createElement("span",{className:`${Ft}-menu-item-keyword`,key:`separator-${Kn}`},Ar)),Pn.push(Ar)}),Pn}const St=(bt,xt,Ft,Kt)=>{const Pn=[],Tn=bt.toLowerCase();return xt.forEach((kn,Kn)=>{Kn!==0&&Pn.push(" / ");let pr=kn[Kt.label];const Ar=typeof pr;(Ar==="string"||Ar==="number")&&(pr=Ye(String(pr),Tn,Ft)),Pn.push(pr)}),Pn},_t=xe.forwardRef((bt,xt)=>{var Ft;const{prefixCls:Kt,size:Pn,disabled:Tn,className:kn,rootClassName:Kn,multiple:pr,bordered:Ar=!0,transitionName:Vr,choiceTransitionName:Br="",popupClassName:fr,dropdownClassName:Pr,expandIcon:kr,placement:$r,showSearch:Xr,allowClear:vo=!0,notFoundContent:yr,direction:ur,getPopupContainer:gr,status:no,showArrow:Kr,builtinPlacements:wr,style:Rr,variant:mo}=bt,Qr=zt(bt,["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:eo,getPopupContainer:ko,className:_o,style:qo}=(0,vt.dj)("cascader"),{popupOverflow:Lo}=xe.useContext(vt.E_),{status:ii,hasFeedback:ke,isFormItemInput:nt,feedbackIcon:Mt}=xe.useContext(Vt.aM),un=(0,mn.F)(ii,no),[fn,Rt,ot,Ot]=dr(Kt,ur),en=ot==="rtl",Fn=eo(),Zn=(0,At.Z)(fn),[An,Hn,$n]=(0,Ln.Z)(fn,Zn),Cr=(0,At.Z)(Rt),[br]=$t(Rt,Cr),{compactSize:Wr,compactItemClassnames:Jr}=(0,vr.ri)(fn,ur),[yo,io]=(0,nn.Z)("cascader",mo,Ar),Io=yr||(Ot==null?void 0:Ot("Cascader"))||xe.createElement(Yt.Z,{componentName:"Cascader"}),co=tt()(fr||Pr,`${Rt}-dropdown`,{[`${Rt}-dropdown-rtl`]:ot==="rtl"},Kn,Zn,Cr,Hn,$n),fo=xe.useMemo(()=>{if(!Xr)return Xr;let Ba={render:St};return typeof Xr=="object"&&(Ba=Object.assign(Object.assign({},Ba),Xr)),Ba},[Xr]),bo=(0,_e.Z)(Ba=>{var Ui;return(Ui=Pn!=null?Pn:Wr)!==null&&Ui!==void 0?Ui:Ba}),Bo=xe.useContext(gn.Z),ri=Tn!=null?Tn:Bo,[Si,bi]=xn(fn,en,kr),Ki=Jt(Rt,pr),Wo=(0,hr.Z)(bt.suffixIcon,Kr),{suffixIcon:Mo,removeIcon:Wi,clearIcon:zi}=(0,Qn.Z)(Object.assign(Object.assign({},bt),{hasFeedback:ke,feedbackIcon:Mt,showSuffixIcon:Wo,multiple:pr,prefixCls:fn,componentName:"Cascader"})),Xi=xe.useMemo(()=>$r!==void 0?$r:en?"bottomRight":"bottomLeft",[$r,en]),Wa=vo===!0?{clearIcon:zi}:vo,[Pa]=(0,cn.Cn)("SelectLike",(Ft=qr.dropdownStyle)===null||Ft===void 0?void 0:Ft.zIndex),Ta=xe.createElement(Wt,Object.assign({prefixCls:fn,className:tt()(!Kt&&Rt,{[`${fn}-lg`]:bo==="large",[`${fn}-sm`]:bo==="small",[`${fn}-rtl`]:en,[`${fn}-${yo}`]:io,[`${fn}-in-form-item`]:nt},(0,mn.Z)(fn,un,ke),Jr,_o,kn,Kn,Zn,Cr,Hn,$n),disabled:ri,style:Object.assign(Object.assign({},qo),Rr)},qr,{builtinPlacements:(0,dn.Z)(wr,Lo),direction:ot,placement:Xi,notFoundContent:Io,allowClear:Wa,showSearch:fo,expandIcon:Si,suffixIcon:Mo,removeIcon:Wi,loadingIcon:bi,checkable:Ki,dropdownClassName:co,dropdownPrefixCls:Kt||Rt,dropdownStyle:Object.assign(Object.assign({},qr.dropdownStyle),{zIndex:Pa}),choiceTransitionName:(0,Xt.m)(Fn,"",Br),transitionName:(0,Xt.m)(Fn,"slide-up",Vr),getPopupContainer:gr||ko,ref:xt}));return br(An(Ta))}),tr=(0,an.Z)(_t,"dropdownAlign",bt=>(0,Cn.Z)(bt,["visible"]));_t.SHOW_PARENT=ht,_t.SHOW_CHILD=Re,_t.Panel=wt,_t._InternalPanelDoNotUseOrYouWillBeFired=tr;var ar=_t},62673:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return Je}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(16632),Oe=z(8654),be=z(12919),Fe=z(63872),ze=z(48755),Be=z(2171),fe=z(83397),Ge=z(56553),yt=b.createContext(null),et=z(36170),$e=z(74632),je=function(at,dt){var Pe={};for(var Ze in at)Object.prototype.hasOwnProperty.call(at,Ze)&&dt.indexOf(Ze)<0&&(Pe[Ze]=at[Ze]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Ze=Object.getOwnPropertySymbols(at);Ee<Ze.length;Ee++)dt.indexOf(Ze[Ee])<0&&Object.prototype.propertyIsEnumerable.call(at,Ze[Ee])&&(Pe[Ze[Ee]]=at[Ze[Ee]]);return Pe};const Ve=(at,dt)=>{var Pe;const{prefixCls:Ze,className:Ee,rootClassName:ue,children:Ct,indeterminate:He=!1,style:We,onMouseEnter:kt,onMouseLeave:Ae,skipGroup:ve=!1,disabled:gt}=at,Gt=je(at,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ht,direction:pe,checkbox:Te}=b.useContext(ze.E_),Ke=b.useContext(yt),{isFormItemInput:tn}=b.useContext(Ge.aM),lt=b.useContext(Be.Z),jt=(Pe=(Ke==null?void 0:Ke.disabled)||gt)!==null&&Pe!==void 0?Pe:lt,ct=b.useRef(Gt.value),ln=b.useRef(null),Et=(0,Oe.sQ)(dt,ln);b.useEffect(()=>{Ke==null||Ke.registerValue(Gt.value)},[]),b.useEffect(()=>{if(!ve)return Gt.value!==ct.current&&(Ke==null||Ke.cancelValue(ct.current),Ke==null||Ke.registerValue(Gt.value),ct.current=Gt.value),()=>Ke==null?void 0:Ke.cancelValue(Gt.value)},[Gt.value]),b.useEffect(()=>{var Ie;!((Ie=ln.current)===null||Ie===void 0)&&Ie.input&&(ln.current.input.indeterminate=He)},[He]);const le=Ht("checkbox",Ze),ne=(0,fe.Z)(le),[te,ae,he]=(0,et.ZP)(le,ne),re=Object.assign({},Gt);Ke&&!ve&&(re.onChange=function(){Gt.onChange&&Gt.onChange.apply(Gt,arguments),Ke.toggleOption&&Ke.toggleOption({label:Ct,value:Gt.value})},re.name=Ke.name,re.checked=Ke.value.includes(Gt.value));const ce=de()(`${le}-wrapper`,{[`${le}-rtl`]:pe==="rtl",[`${le}-wrapper-checked`]:re.checked,[`${le}-wrapper-disabled`]:jt,[`${le}-wrapper-in-form-item`]:tn},Te==null?void 0:Te.className,Ee,ue,he,ne,ae),De=de()({[`${le}-indeterminate`]:He},Fe.A,ae),[st,Qe]=(0,$e.Z)(re.onClick);return te(b.createElement(be.Z,{component:"Checkbox",disabled:jt},b.createElement("label",{className:ce,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),We),onMouseEnter:kt,onMouseLeave:Ae,onClick:st},b.createElement(tt.Z,Object.assign({},re,{onClick:Qe,prefixCls:le,className:De,disabled:jt,ref:Et})),Ct!==void 0&&b.createElement("span",{className:`${le}-label`},Ct))))};var Nt=b.forwardRef(Ve),Ut=z(94480),se=z(2738),Me=function(at,dt){var Pe={};for(var Ze in at)Object.prototype.hasOwnProperty.call(at,Ze)&&dt.indexOf(Ze)<0&&(Pe[Ze]=at[Ze]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Ze=Object.getOwnPropertySymbols(at);Ee<Ze.length;Ee++)dt.indexOf(Ze[Ee])<0&&Object.prototype.propertyIsEnumerable.call(at,Ze[Ee])&&(Pe[Ze[Ee]]=at[Ze[Ee]]);return Pe},mt=b.forwardRef((at,dt)=>{const{defaultValue:Pe,children:Ze,options:Ee=[],prefixCls:ue,className:Ct,rootClassName:He,style:We,onChange:kt}=at,Ae=Me(at,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ve,direction:gt}=b.useContext(ze.E_),[Gt,Ht]=b.useState(Ae.value||Pe||[]),[pe,Te]=b.useState([]);b.useEffect(()=>{"value"in Ae&&Ht(Ae.value||[])},[Ae.value]);const Ke=b.useMemo(()=>Ee.map(De=>typeof De=="string"||typeof De=="number"?{label:De,value:De}:De),[Ee]),tn=De=>{Te(st=>st.filter(Qe=>Qe!==De))},lt=De=>{Te(st=>[].concat((0,Ut.Z)(st),[De]))},jt=De=>{const st=Gt.indexOf(De.value),Qe=(0,Ut.Z)(Gt);st===-1?Qe.push(De.value):Qe.splice(st,1),"value"in Ae||Ht(Qe),kt==null||kt(Qe.filter(Ie=>pe.includes(Ie)).sort((Ie,pt)=>{const Pt=Ke.findIndex(Le=>Le.value===Ie),Tt=Ke.findIndex(Le=>Le.value===pt);return Pt-Tt}))},ct=ve("checkbox",ue),ln=`${ct}-group`,Et=(0,fe.Z)(ct),[le,ne,te]=(0,et.ZP)(ct,Et),ae=(0,se.Z)(Ae,["value","disabled"]),he=Ee.length?Ke.map(De=>b.createElement(Nt,{prefixCls:ct,key:De.value.toString(),disabled:"disabled"in De?De.disabled:Ae.disabled,value:De.value,checked:Gt.includes(De.value),onChange:De.onChange,className:`${ln}-item`,style:De.style,title:De.title,id:De.id,required:De.required},De.label)):Ze,re={toggleOption:jt,value:Gt,disabled:Ae.disabled,name:Ae.name,registerValue:lt,cancelValue:tn},ce=de()(ln,{[`${ln}-rtl`]:gt==="rtl"},Ct,He,te,Et,ne);return le(b.createElement("div",Object.assign({className:ce,style:We},ae,{ref:dt}),b.createElement(yt.Provider,{value:re},he)))});const Zt=Nt;Zt.Group=mt,Zt.__ANT_CHECKBOX=!0;var Je=Zt},36170:function(Vn,hn,z){"use strict";z.d(hn,{C2:function(){return be}});var b=z(36237),xe=z(63356),de=z(51636),tt=z(16931);const Oe=Fe=>{const{checkboxCls:ze}=Fe,Be=`${ze}-wrapper`;return[{[`${ze}-group`]:Object.assign(Object.assign({},(0,xe.Wf)(Fe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Fe.marginXS,[`> ${Fe.antCls}-row`]:{flex:1}}),[Be]:Object.assign(Object.assign({},(0,xe.Wf)(Fe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Be}`]:{marginInlineStart:0},[`&${Be}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ze]:Object.assign(Object.assign({},(0,xe.Wf)(Fe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Fe.borderRadiusSM,alignSelf:"center",[`${ze}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ze}-inner`]:Object.assign({},(0,xe.oN)(Fe))},[`${ze}-inner`]:{boxSizing:"border-box",display:"block",width:Fe.checkboxSize,height:Fe.checkboxSize,direction:"ltr",backgroundColor:Fe.colorBgContainer,border:`${(0,b.unit)(Fe.lineWidth)} ${Fe.lineType} ${Fe.colorBorder}`,borderRadius:Fe.borderRadiusSM,borderCollapse:"separate",transition:`all ${Fe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Fe.calc(Fe.checkboxSize).div(14).mul(5).equal(),height:Fe.calc(Fe.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(Fe.lineWidthBold)} solid ${Fe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Fe.motionDurationFast} ${Fe.motionEaseInBack}, opacity ${Fe.motionDurationFast}`}},"& + span":{paddingInlineStart:Fe.paddingXS,paddingInlineEnd:Fe.paddingXS}})},{[`
|
|
|
${Be}:not(${Be}-disabled),
|
|
|
${ze}:not(${ze}-disabled)
|
|
|
`]:{[`&:hover ${ze}-inner`]:{borderColor:Fe.colorPrimary}},[`${Be}:not(${Be}-disabled)`]:{[`&:hover ${ze}-checked:not(${ze}-disabled) ${ze}-inner`]:{backgroundColor:Fe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ze}-checked:not(${ze}-disabled):after`]:{borderColor:Fe.colorPrimaryHover}}},{[`${ze}-checked`]:{[`${ze}-inner`]:{backgroundColor:Fe.colorPrimary,borderColor:Fe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Fe.motionDurationMid} ${Fe.motionEaseOutBack} ${Fe.motionDurationFast}`}}},[`
|
|
|
${Be}-checked:not(${Be}-disabled),
|
|
|
${ze}-checked:not(${ze}-disabled)
|
|
|
`]:{[`&:hover ${ze}-inner`]:{backgroundColor:Fe.colorPrimaryHover,borderColor:"transparent"}}},{[ze]:{"&-indeterminate":{[`${ze}-inner`]:{backgroundColor:`${Fe.colorBgContainer} !important`,borderColor:`${Fe.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Fe.calc(Fe.fontSizeLG).div(2).equal(),height:Fe.calc(Fe.fontSizeLG).div(2).equal(),backgroundColor:Fe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${ze}-inner`]:{backgroundColor:`${Fe.colorBgContainer} !important`,borderColor:`${Fe.colorPrimary} !important`}}}},{[`${Be}-disabled`]:{cursor:"not-allowed"},[`${ze}-disabled`]:{[`&, ${ze}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ze}-inner`]:{background:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,"&:after":{borderColor:Fe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Fe.colorTextDisabled},[`&${ze}-indeterminate ${ze}-inner::after`]:{background:Fe.colorTextDisabled}}}]};function be(Fe,ze){const Be=(0,de.mergeToken)(ze,{checkboxCls:`.${Fe}`,checkboxSize:ze.controlInteractiveSize});return[Oe(Be)]}hn.ZP=(0,tt.I$)("Checkbox",(Fe,ze)=>{let{prefixCls:Be}=ze;return[be(Be,Fe)]})},38406:function(Vn,hn,z){"use strict";var b=z(59301),xe=z(48755),de=z(584);const tt=Oe=>{const{componentName:be}=Oe,{getPrefixCls:Fe}=(0,b.useContext)(xe.E_),ze=Fe("empty");switch(be){case"Table":case"List":return b.createElement(de.Z,{image:de.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(de.Z,{image:de.Z.PRESENTED_IMAGE_SIMPLE,className:`${ze}-small`});case"Table.filter":return null;default:return b.createElement(de.Z,null)}};hn.Z=tt},24017:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return ps}});var b=z(66649),xe=z.n(b),de=z(9007),tt=z.n(de),Oe=z(50991),be=z.n(Oe),Fe=z(9084),ze=z.n(Fe),Be=z(58626),fe=z.n(Be),Ge=z(13477),Ce=z.n(Ge),yt=z(64796),et=z.n(yt);xe().extend(et()),xe().extend(Ce()),xe().extend(tt()),xe().extend(be()),xe().extend(ze()),xe().extend(fe()),xe().extend(function(ie,Se){var Xe=Se.prototype,Bt=Xe.format;Xe.format=function(Dn){var Wn=(Dn||"").replace("Wo","wo");return Bt.bind(this)(Wn)}});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"},je=function(Se){var Xe=$e[Se];return Xe||Se.split("_")[0]},Ve=function(){},rt={getNow:function(){var Se=xe()();return typeof Se.tz=="function"?Se.tz():Se},getFixedDate:function(Se){return xe()(Se,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Se){return Se.endOf("month")},getWeekDay:function(Se){var Xe=Se.locale("en");return Xe.weekday()+Xe.localeData().firstDayOfWeek()},getYear:function(Se){return Se.year()},getMonth:function(Se){return Se.month()},getDate:function(Se){return Se.date()},getHour:function(Se){return Se.hour()},getMinute:function(Se){return Se.minute()},getSecond:function(Se){return Se.second()},getMillisecond:function(Se){return Se.millisecond()},addYear:function(Se,Xe){return Se.add(Xe,"year")},addMonth:function(Se,Xe){return Se.add(Xe,"month")},addDate:function(Se,Xe){return Se.add(Xe,"day")},setYear:function(Se,Xe){return Se.year(Xe)},setMonth:function(Se,Xe){return Se.month(Xe)},setDate:function(Se,Xe){return Se.date(Xe)},setHour:function(Se,Xe){return Se.hour(Xe)},setMinute:function(Se,Xe){return Se.minute(Xe)},setSecond:function(Se,Xe){return Se.second(Xe)},setMillisecond:function(Se,Xe){return Se.millisecond(Xe)},isAfter:function(Se,Xe){return Se.isAfter(Xe)},isValidate:function(Se){return Se.isValid()},locale:{getWeekFirstDay:function(Se){return xe()().locale(je(Se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Se,Xe){return Xe.locale(je(Se)).weekday(0)},getWeek:function(Se,Xe){return Xe.locale(je(Se)).week()},getShortWeekDays:function(Se){return xe()().locale(je(Se)).localeData().weekdaysMin()},getShortMonths:function(Se){return xe()().locale(je(Se)).localeData().monthsShort()},format:function(Se,Xe,Bt){return Xe.locale(je(Se)).format(Bt)},parse:function(Se,Xe,Bt){for(var Lt=je(Se),Dn=0;Dn<Bt.length;Dn+=1){var Wn=Bt[Dn],Gn=Xe;if(Wn.includes("wo")||Wn.includes("Wo")){for(var sr=Gn.split("-")[0],mr=Gn.split("-")[1],Xn=xe()(sr,"YYYY").startOf("year").locale(Lt),Er=0;Er<=52;Er+=1){var Fr=Xn.add(Er,"week");if(Fr.format("Wo")===mr)return Fr}return Ve(),null}var Ir=xe()(Gn,Wn,!0).locale(Lt);if(Ir.isValid())return Ir}return Xe&&Ve(),null}}},Nt=rt,Ut=z(45915),se=z(59301),Me=z(54476),ft={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"},mt=ft,Zt=z(7657),Je=function(Se,Xe){return se.createElement(Zt.Z,(0,Me.Z)({},Se,{ref:Xe,icon:mt}))},at=se.forwardRef(Je),dt=at,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"},Ze=Pe,Ee=function(Se,Xe){return se.createElement(Zt.Z,(0,Me.Z)({},Se,{ref:Xe,icon:Ze}))},ue=se.forwardRef(Ee),Ct=ue,He={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},We=He,kt=function(Se,Xe){return se.createElement(Zt.Z,(0,Me.Z)({},Se,{ref:Xe,icon:We}))},Ae=se.forwardRef(kt),ve=Ae,gt=z(92310),Gt=z.n(gt),Ht=z(94480),pe=z(33885),Te=z(42978),Ke=z(70425),tn=z(34280),lt=z(2738),jt=z(26112),ct=z(48736),ln=z(20068),Et=z(65030);function le(ie,Se){return ie!==void 0?ie:Se?"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(ie){var Se=ie.popupElement,Xe=ie.popupStyle,Bt=ie.popupClassName,Lt=ie.popupAlign,Dn=ie.transitionName,Wn=ie.getPopupContainer,Gn=ie.children,sr=ie.range,mr=ie.placement,Xn=ie.builtinPlacements,Er=Xn===void 0?ae:Xn,Fr=ie.direction,Ir=ie.visible,Dr=ie.onClose,Mr=se.useContext(te),Lr=Mr.prefixCls,Tr="".concat(Lr,"-dropdown"),So=le(mr,Fr==="rtl");return se.createElement(Et.Z,{showAction:[],hideAction:["click"],popupPlacement:So,builtinPlacements:Er,prefixCls:Tr,popupTransitionName:Dn,popup:Se,popupAlign:Lt,popupVisible:Ir,popupClassName:Gt()(Bt,(0,ln.Z)((0,ln.Z)({},"".concat(Tr,"-range"),sr),"".concat(Tr,"-rtl"),Fr==="rtl")),popupStyle:Xe,stretch:"minWidth",getPopupContainer:Wn,onPopupVisibleChange:function(Ur){Ur||Dr()}},Gn)}var re=he;function ce(ie,Se){for(var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Bt=String(ie);Bt.length<Se;)Bt="".concat(Xe).concat(Bt);return Bt}function De(ie){return ie==null?[]:Array.isArray(ie)?ie:[ie]}function st(ie,Se,Xe){var Bt=(0,Ht.Z)(ie);return Bt[Se]=Xe,Bt}function Qe(ie,Se){var Xe={},Bt=Se||Object.keys(ie);return Bt.forEach(function(Lt){ie[Lt]!==void 0&&(Xe[Lt]=ie[Lt])}),Xe}function Ie(ie,Se,Xe){if(Xe)return Xe;switch(ie){case"time":return Se.fieldTimeFormat;case"datetime":return Se.fieldDateTimeFormat;case"month":return Se.fieldMonthFormat;case"year":return Se.fieldYearFormat;case"quarter":return Se.fieldQuarterFormat;case"week":return Se.fieldWeekFormat;default:return Se.fieldDateFormat}}function pt(ie,Se,Xe){var Bt=Xe!==void 0?Xe:Se[Se.length-1],Lt=Se.find(function(Dn){return ie[Dn]});return Bt!==Lt?ie[Lt]:void 0}function Pt(ie){return Qe(ie,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function Tt(ie,Se,Xe,Bt){var Lt=se.useMemo(function(){return ie||function(Wn,Gn){var sr=Wn;return Se&&Gn.type==="date"?Se(sr,Gn.today):Xe&&Gn.type==="month"?Xe(sr,Gn.locale):Gn.originNode}},[ie,Xe,Se]),Dn=se.useCallback(function(Wn,Gn){return Lt(Wn,(0,pe.Z)((0,pe.Z)({},Gn),{},{range:Bt}))},[Lt,Bt]);return Dn}function Le(ie,Se){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Bt=se.useState([!1,!1]),Lt=(0,Te.Z)(Bt,2),Dn=Lt[0],Wn=Lt[1],Gn=function(Xn,Er){Wn(function(Fr){return st(Fr,Er,Xn)})},sr=se.useMemo(function(){return Dn.map(function(mr,Xn){if(mr)return!0;var Er=ie[Xn];return Er?!!(!Xe[Xn]&&!Er||Er&&Se(Er,{activeIndex:Xn})):!1})},[ie,Dn,Se,Xe]);return[sr,Gn]}function Ue(ie,Se,Xe,Bt,Lt){var Dn="",Wn=[];return ie&&Wn.push(Lt?"hh":"HH"),Se&&Wn.push("mm"),Xe&&Wn.push("ss"),Dn=Wn.join(":"),Bt&&(Dn+=".SSS"),Lt&&(Dn+=" A"),Dn}function pn(ie,Se,Xe,Bt,Lt,Dn){var Wn=ie.fieldDateTimeFormat,Gn=ie.fieldDateFormat,sr=ie.fieldTimeFormat,mr=ie.fieldMonthFormat,Xn=ie.fieldYearFormat,Er=ie.fieldWeekFormat,Fr=ie.fieldQuarterFormat,Ir=ie.yearFormat,Dr=ie.cellYearFormat,Mr=ie.cellQuarterFormat,Lr=ie.dayFormat,Tr=ie.cellDateFormat,So=Ue(Se,Xe,Bt,Lt,Dn);return(0,pe.Z)((0,pe.Z)({},ie),{},{fieldDateTimeFormat:Wn||"YYYY-MM-DD ".concat(So),fieldDateFormat:Gn||"YYYY-MM-DD",fieldTimeFormat:sr||So,fieldMonthFormat:mr||"YYYY-MM",fieldYearFormat:Xn||"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 Wt(ie,Se){var Xe=Se.showHour,Bt=Se.showMinute,Lt=Se.showSecond,Dn=Se.showMillisecond,Wn=Se.use12Hours;return se.useMemo(function(){return pn(ie,Xe,Bt,Lt,Dn,Wn)},[ie,Xe,Bt,Lt,Dn,Wn])}var Cn=z(76190);function cn(ie,Se,Xe){return Xe!=null?Xe:Se.some(function(Bt){return ie.includes(Bt)})}var Xt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function an(ie){var Se=Qe(ie,Xt),Xe=ie.format,Bt=ie.picker,Lt=null;return Xe&&(Lt=Xe,Array.isArray(Lt)&&(Lt=Lt[0]),Lt=(0,Cn.Z)(Lt)==="object"?Lt.format:Lt),Bt==="time"&&(Se.format=Lt),[Se,Lt]}function mn(ie){return ie&&typeof ie=="string"}function vt(ie,Se,Xe,Bt){return[ie,Se,Xe,Bt].some(function(Lt){return Lt!==void 0})}function Yt(ie,Se,Xe,Bt,Lt){var Dn=Se,Wn=Xe,Gn=Bt;if(!ie&&!Dn&&!Wn&&!Gn&&!Lt)Dn=!0,Wn=!0,Gn=!0;else if(ie){var sr,mr,Xn,Er=[Dn,Wn,Gn].some(function(Dr){return Dr===!1}),Fr=[Dn,Wn,Gn].some(function(Dr){return Dr===!0}),Ir=Er?!0:!Fr;Dn=(sr=Dn)!==null&&sr!==void 0?sr:Ir,Wn=(mr=Wn)!==null&&mr!==void 0?mr:Ir,Gn=(Xn=Gn)!==null&&Xn!==void 0?Xn:Ir}return[Dn,Wn,Gn,Lt]}function gn(ie){var Se=ie.showTime,Xe=an(ie),Bt=(0,Te.Z)(Xe,2),Lt=Bt[0],Dn=Bt[1],Wn=Se&&(0,Cn.Z)(Se)==="object"?Se:{},Gn=(0,pe.Z)((0,pe.Z)({defaultOpenValue:Wn.defaultOpenValue||Wn.defaultValue},Lt),Wn),sr=Gn.showMillisecond,mr=Gn.showHour,Xn=Gn.showMinute,Er=Gn.showSecond,Fr=vt(mr,Xn,Er,sr),Ir=Yt(Fr,mr,Xn,Er,sr),Dr=(0,Te.Z)(Ir,3);return mr=Dr[0],Xn=Dr[1],Er=Dr[2],[Gn,(0,pe.Z)((0,pe.Z)({},Gn),{},{showHour:mr,showMinute:Xn,showSecond:Er,showMillisecond:sr}),Gn.format,Dn]}function At(ie,Se,Xe,Bt,Lt){var Dn=ie==="time";if(ie==="datetime"||Dn){for(var Wn=Bt,Gn=Ie(ie,Lt,null),sr=Gn,mr=[Se,Xe],Xn=0;Xn<mr.length;Xn+=1){var Er=De(mr[Xn])[0];if(mn(Er)){sr=Er;break}}var Fr=Wn.showHour,Ir=Wn.showMinute,Dr=Wn.showSecond,Mr=Wn.showMillisecond,Lr=Wn.use12Hours,Tr=cn(sr,["a","A","LT","LLL","LTS"],Lr),So=vt(Fr,Ir,Dr,Mr);So||(Fr=cn(sr,["H","h","k","LT","LLL"]),Ir=cn(sr,["m","LT","LLL"]),Dr=cn(sr,["s","LTS"]),Mr=cn(sr,["SSS"]));var lo=Yt(So,Fr,Ir,Dr,Mr),Ur=(0,Te.Z)(lo,3);Fr=Ur[0],Ir=Ur[1],Dr=Ur[2];var Ao=Se||Ue(Fr,Ir,Dr,Mr,Tr);return(0,pe.Z)((0,pe.Z)({},Wn),{},{format:Ao,showHour:Fr,showMinute:Ir,showSecond:Dr,showMillisecond:Mr,use12Hours:Tr})}return null}function _e(ie,Se,Xe){if(Se===!1)return null;var Bt=Se&&(0,Cn.Z)(Se)==="object"?Se:{};return Bt.clearIcon||Xe||se.createElement("span",{className:"".concat(ie,"-clear-btn")})}var Vt=7;function nn(ie,Se,Xe){return!ie&&!Se||ie===Se?!0:!ie||!Se?!1:Xe()}function dn(ie,Se,Xe){return nn(Se,Xe,function(){var Bt=Math.floor(ie.getYear(Se)/10),Lt=Math.floor(ie.getYear(Xe)/10);return Bt===Lt})}function Ln(ie,Se,Xe){return nn(Se,Xe,function(){return ie.getYear(Se)===ie.getYear(Xe)})}function Qn(ie,Se){var Xe=Math.floor(ie.getMonth(Se)/3);return Xe+1}function hr(ie,Se,Xe){return nn(Se,Xe,function(){return Ln(ie,Se,Xe)&&Qn(ie,Se)===Qn(ie,Xe)})}function vr(ie,Se,Xe){return nn(Se,Xe,function(){return Ln(ie,Se,Xe)&&ie.getMonth(Se)===ie.getMonth(Xe)})}function Jn(ie,Se,Xe){return nn(Se,Xe,function(){return Ln(ie,Se,Xe)&&vr(ie,Se,Xe)&&ie.getDate(Se)===ie.getDate(Xe)})}function dr(ie,Se,Xe){return nn(Se,Xe,function(){return ie.getHour(Se)===ie.getHour(Xe)&&ie.getMinute(Se)===ie.getMinute(Xe)&&ie.getSecond(Se)===ie.getSecond(Xe)})}function Jt(ie,Se,Xe){return nn(Se,Xe,function(){return Jn(ie,Se,Xe)&&dr(ie,Se,Xe)&&ie.getMillisecond(Se)===ie.getMillisecond(Xe)})}function En(ie,Se,Xe,Bt){return nn(Xe,Bt,function(){var Lt=ie.locale.getWeekFirstDate(Se,Xe),Dn=ie.locale.getWeekFirstDate(Se,Bt);return Ln(ie,Lt,Dn)&&ie.locale.getWeek(Se,Xe)===ie.locale.getWeek(Se,Bt)})}function qn(ie,Se,Xe,Bt,Lt){switch(Lt){case"date":return Jn(ie,Xe,Bt);case"week":return En(ie,Se.locale,Xe,Bt);case"month":return vr(ie,Xe,Bt);case"quarter":return hr(ie,Xe,Bt);case"year":return Ln(ie,Xe,Bt);case"decade":return dn(ie,Xe,Bt);case"time":return dr(ie,Xe,Bt);default:return Jt(ie,Xe,Bt)}}function nr(ie,Se,Xe,Bt){return!Se||!Xe||!Bt?!1:ie.isAfter(Bt,Se)&&ie.isAfter(Xe,Bt)}function jn(ie,Se,Xe,Bt,Lt){return qn(ie,Se,Xe,Bt,Lt)?!0:ie.isAfter(Xe,Bt)}function xn(ie,Se,Xe){var Bt=Se.locale.getWeekFirstDay(ie),Lt=Se.setDate(Xe,1),Dn=Se.getWeekDay(Lt),Wn=Se.addDate(Lt,Bt-Dn);return Se.getMonth(Wn)===Se.getMonth(Xe)&&Se.getDate(Wn)>1&&(Wn=Se.addDate(Wn,-7)),Wn}function ut(ie,Se){var Xe=Se.generateConfig,Bt=Se.locale,Lt=Se.format;return ie?typeof Lt=="function"?Lt(ie):Xe.locale.format(Bt.locale,ie,Lt):""}function qt(ie,Se,Xe){var Bt=Se,Lt=["getHour","getMinute","getSecond","getMillisecond"],Dn=["setHour","setMinute","setSecond","setMillisecond"];return Dn.forEach(function(Wn,Gn){Xe?Bt=ie[Wn](Bt,ie[Lt[Gn]](Xe)):Bt=ie[Wn](Bt,0)}),Bt}function Dt(ie,Se,Xe,Bt,Lt){var Dn=(0,Ke.zX)(function(Wn,Gn){return!!(Xe&&Xe(Wn,Gn)||Bt&&ie.isAfter(Bt,Wn)&&!qn(ie,Se,Bt,Wn,Gn.type)||Lt&&ie.isAfter(Wn,Lt)&&!qn(ie,Se,Lt,Wn,Gn.type))});return Dn}function sn(ie,Se,Xe){return se.useMemo(function(){var Bt=Ie(ie,Se,Xe),Lt=De(Bt),Dn=Lt[0],Wn=(0,Cn.Z)(Dn)==="object"&&Dn.type==="mask"?Dn.format:null;return[Lt.map(function(Gn){return typeof Gn=="string"||typeof Gn=="function"?Gn:Gn.format}),Wn]},[ie,Se,Xe])}function Sn(ie,Se,Xe){return typeof ie[0]=="function"||Xe?!0:Se}function vn(ie,Se,Xe,Bt){var Lt=(0,Ke.zX)(function(Dn,Wn){var Gn=(0,pe.Z)({type:Se},Wn);if(delete Gn.activeIndex,!ie.isValidate(Dn)||Xe&&Xe(Dn,Gn))return!0;if((Se==="date"||Se==="time")&&Bt){var sr,mr=Wn&&Wn.activeIndex===1?"end":"start",Xn=((sr=Bt.disabledTime)===null||sr===void 0?void 0:sr.call(Bt,Dn,mr,{from:Gn.from}))||{},Er=Xn.disabledHours,Fr=Xn.disabledMinutes,Ir=Xn.disabledSeconds,Dr=Xn.disabledMilliseconds,Mr=Bt.disabledHours,Lr=Bt.disabledMinutes,Tr=Bt.disabledSeconds,So=Er||Mr,lo=Fr||Lr,Ur=Ir||Tr,Ao=ie.getHour(Dn),ro=ie.getMinute(Dn),uo=ie.getSecond(Dn),ai=ie.getMillisecond(Dn);if(So&&So().includes(Ao)||lo&&lo(Ao).includes(ro)||Ur&&Ur(Ao,ro).includes(uo)||Dr&&Dr(Ao,ro,uo).includes(ai))return!0}return!1});return Lt}function Bn(ie){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=se.useMemo(function(){var Bt=ie&&De(ie);return Se&&Bt&&(Bt[1]=Bt[1]||Bt[0]),Bt},[ie,Se]);return Xe}function Un(ie,Se){var Xe=ie.generateConfig,Bt=ie.locale,Lt=ie.picker,Dn=Lt===void 0?"date":Lt,Wn=ie.prefixCls,Gn=Wn===void 0?"rc-picker":Wn,sr=ie.styles,mr=sr===void 0?{}:sr,Xn=ie.classNames,Er=Xn===void 0?{}:Xn,Fr=ie.order,Ir=Fr===void 0?!0:Fr,Dr=ie.components,Mr=Dr===void 0?{}:Dr,Lr=ie.inputRender,Tr=ie.allowClear,So=ie.clearIcon,lo=ie.needConfirm,Ur=ie.multiple,Ao=ie.format,ro=ie.inputReadOnly,uo=ie.disabledDate,ai=ie.minDate,Ko=ie.maxDate,Go=ie.showTime,zo=ie.value,ci=ie.defaultValue,Jo=ie.pickerValue,Fo=ie.defaultPickerValue,Eo=Bn(zo),Ro=Bn(ci),No=Bn(Jo),vi=Bn(Fo),di=Dn==="date"&&Go?"datetime":Dn,Uo=di==="time"||di==="datetime",ei=Uo||Ur,Oo=lo!=null?lo:Uo,Xo=gn(ie),Yo=(0,Te.Z)(Xo,4),pi=Yo[0],Bi=Yo[1],Mi=Yo[2],ye=Yo[3],ge=Wt(Bt,Bi),it=se.useMemo(function(){return At(di,Mi,ye,pi,ge)},[di,Mi,ye,pi,ge]),It=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},ie),{},{prefixCls:Gn,locale:ge,picker:Dn,styles:mr,classNames:Er,order:Ir,components:(0,pe.Z)({input:Lr},Mr),clearIcon:_e(Gn,Tr,So),showTime:it,value:Eo,defaultValue:Ro,pickerValue:No,defaultPickerValue:vi},Se==null?void 0:Se())},[ie]),Qt=sn(di,ge,Ao),on=(0,Te.Z)(Qt,2),wn=on[0],bn=on[1],On=Sn(wn,ro,Ur),Nn=Dt(Xe,Bt,uo,ai,Ko),ir=vn(Xe,Dn,Nn,it),er=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},It),{},{needConfirm:Oo,inputReadOnly:On,disabledDate:Nn})},[It,Oo,On,Nn]);return[er,di,ei,wn,bn,ir]}var Yn=z(16089);function $t(ie,Se,Xe){var Bt=(0,Ke.C8)(Se,{value:ie}),Lt=(0,Te.Z)(Bt,2),Dn=Lt[0],Wn=Lt[1],Gn=se.useRef(ie),sr=se.useRef(),mr=function(){Yn.Z.cancel(sr.current)},Xn=(0,Ke.zX)(function(){Wn(Gn.current),Xe&&Dn!==Gn.current&&Xe(Gn.current)}),Er=(0,Ke.zX)(function(Fr,Ir){mr(),Gn.current=Fr,Fr||Ir?Xn():sr.current=(0,Yn.Z)(Xn)});return se.useEffect(function(){return mr},[]),[Dn,Er]}function Mn(ie,Se){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Bt=arguments.length>3?arguments[3]:void 0,Lt=Xe.every(function(Xn){return Xn})?!1:ie,Dn=$t(Lt,Se||!1,Bt),Wn=(0,Te.Z)(Dn,2),Gn=Wn[0],sr=Wn[1];function mr(Xn){var Er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!Er.inherit||Gn)&&sr(Xn,Er.force)}return[Gn,mr]}function rn(ie){var Se=se.useRef();return se.useImperativeHandle(ie,function(){var Xe;return{nativeElement:(Xe=Se.current)===null||Xe===void 0?void 0:Xe.nativeElement,focus:function(Lt){var Dn;(Dn=Se.current)===null||Dn===void 0||Dn.focus(Lt)},blur:function(){var Lt;(Lt=Se.current)===null||Lt===void 0||Lt.blur()}}}),Se}function or(ie,Se){return se.useMemo(function(){return ie||(Se?((0,ct.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Se).map(function(Xe){var Bt=(0,Te.Z)(Xe,2),Lt=Bt[0],Dn=Bt[1];return{label:Lt,value:Dn}})):[])},[ie,Se])}function wt(ie,Se){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Bt=se.useRef(Se);Bt.current=Se,(0,tn.o)(function(){if(ie)Bt.current(ie);else{var Lt=(0,Yn.Z)(function(){Bt.current(ie)},Xe);return function(){Yn.Z.cancel(Lt)}}},[ie])}function zt(ie){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Bt=se.useState(0),Lt=(0,Te.Z)(Bt,2),Dn=Lt[0],Wn=Lt[1],Gn=se.useState(!1),sr=(0,Te.Z)(Gn,2),mr=sr[0],Xn=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){Xn(Ur)},Tr=function(Ur){return Ur&&(Ir.current=Ur),Ir.current},So=function(Ur){var Ao=Er.current,ro=new Set(Ao.filter(function(ai){return Ur[ai]||Se[ai]})),uo=Ao[Ao.length-1]===0?1:0;return ro.size>=2||ie[uo]?null:uo};return wt(mr||Xe,function(){mr||(Er.current=[],Dr(null))}),se.useEffect(function(){mr&&Er.current.push(Dn)},[mr,Dn]),[mr,Lr,Tr,Dn,Wn,So,Er.current,Dr,Mr]}function Re(ie,Se,Xe,Bt,Lt,Dn){var Wn=Xe[Xe.length-1],Gn=function(mr,Xn){var Er=(0,Te.Z)(ie,2),Fr=Er[0],Ir=Er[1],Dr=(0,pe.Z)((0,pe.Z)({},Xn),{},{from:pt(ie,Xe)});return Wn===1&&Se[0]&&Fr&&!qn(Bt,Lt,Fr,mr,Dr.type)&&Bt.isAfter(Fr,mr)||Wn===0&&Se[1]&&Ir&&!qn(Bt,Lt,Ir,mr,Dr.type)&&Bt.isAfter(mr,Ir)?!0:Dn==null?void 0:Dn(mr,Dr)};return Gn}function ht(ie,Se,Xe,Bt){switch(Se){case"date":case"week":return ie.addMonth(Xe,Bt);case"month":case"quarter":return ie.addYear(Xe,Bt);case"year":return ie.addYear(Xe,Bt*10);case"decade":return ie.addYear(Xe,Bt*100);default:return Xe}}var Ye=[];function St(ie,Se,Xe,Bt,Lt,Dn,Wn,Gn){var sr=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Ye,mr=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Ye,Xn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Ye,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=Wn==="time",Mr=Dn||0,Lr=function(No){var vi=ie.getNow();return Dr&&(vi=qt(ie,vi)),sr[No]||Xe[No]||vi},Tr=(0,Te.Z)(mr,2),So=Tr[0],lo=Tr[1],Ur=(0,Ke.C8)(function(){return Lr(0)},{value:So}),Ao=(0,Te.Z)(Ur,2),ro=Ao[0],uo=Ao[1],ai=(0,Ke.C8)(function(){return Lr(1)},{value:lo}),Ko=(0,Te.Z)(ai,2),Go=Ko[0],zo=Ko[1],ci=se.useMemo(function(){var Ro=[ro,Go][Mr];return Dr?Ro:qt(ie,Ro,Xn[Mr])},[Dr,ro,Go,Mr,ie,Xn]),Jo=function(No){var vi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",di=[uo,zo][Mr];di(No);var Uo=[ro,Go];Uo[Mr]=No,Er&&(!qn(ie,Se,ro,Uo[0],Wn)||!qn(ie,Se,Go,Uo[1],Wn))&&Er(Uo,{source:vi,range:Mr===1?"end":"start",mode:Bt})},Fo=function(No,vi){if(Gn){var di={date:"month",week:"month",month:"year",quarter:"year"},Uo=di[Wn];if(Uo&&!qn(ie,Se,No,vi,Uo))return ht(ie,Wn,vi,-1);if(Wn==="year"&&No){var ei=Math.floor(ie.getYear(No)/10),Oo=Math.floor(ie.getYear(vi)/10);if(ei!==Oo)return ht(ie,Wn,vi,-1)}}return vi},Eo=se.useRef(null);return(0,tn.Z)(function(){if(Lt&&!sr[Mr]){var Ro=Dr?null:ie.getNow();if(Eo.current!==null&&Eo.current!==Mr?Ro=[ro,Go][Mr^1]:Xe[Mr]?Ro=Mr===0?Xe[0]:Fo(Xe[0],Xe[1]):Xe[Mr^1]&&(Ro=Xe[Mr^1]),Ro){Fr&&ie.isAfter(Fr,Ro)&&(Ro=Fr);var No=Gn?ht(ie,Wn,Ro,1):Ro;Ir&&ie.isAfter(No,Ir)&&(Ro=Gn?ht(ie,Wn,Ir,-1):Ir),Jo(Ro,"reset")}}},[Lt,Mr,Xe[Mr]]),se.useEffect(function(){Lt?Eo.current=Mr:Eo.current=null},[Lt,Mr]),(0,tn.Z)(function(){Lt&&sr&&sr[Mr]&&Jo(sr[Mr],"reset")},[Lt,Mr]),[ci,Jo]}function _t(ie,Se){var Xe=se.useRef(ie),Bt=se.useState({}),Lt=(0,Te.Z)(Bt,2),Dn=Lt[1],Wn=function(mr){return mr&&Se!==void 0?Se:Xe.current},Gn=function(mr){Xe.current=mr,Dn({})};return[Wn,Gn,Wn(!0)]}var tr=[];function ar(ie,Se,Xe){var Bt=function(Wn){return Wn.map(function(Gn){return ut(Gn,{generateConfig:ie,locale:Se,format:Xe[0]})})},Lt=function(Wn,Gn){for(var sr=Math.max(Wn.length,Gn.length),mr=-1,Xn=0;Xn<sr;Xn+=1){var Er=Wn[Xn]||null,Fr=Gn[Xn]||null;if(Er!==Fr&&!Jt(ie,Er,Fr)){mr=Xn;break}}return[mr<0,mr!==0]};return[Bt,Lt]}function bt(ie,Se){return(0,Ht.Z)(ie).sort(function(Xe,Bt){return Se.isAfter(Xe,Bt)?1:-1})}function xt(ie){var Se=_t(ie),Xe=(0,Te.Z)(Se,2),Bt=Xe[0],Lt=Xe[1],Dn=(0,Ke.zX)(function(){Lt(ie)});return se.useEffect(function(){Dn()},[ie]),[Bt,Lt]}function Ft(ie,Se,Xe,Bt,Lt,Dn,Wn,Gn,sr){var mr=(0,Ke.C8)(Dn,{value:Wn}),Xn=(0,Te.Z)(mr,2),Er=Xn[0],Fr=Xn[1],Ir=Er||tr,Dr=xt(Ir),Mr=(0,Te.Z)(Dr,2),Lr=Mr[0],Tr=Mr[1],So=ar(ie,Se,Xe),lo=(0,Te.Z)(So,2),Ur=lo[0],Ao=lo[1],ro=(0,Ke.zX)(function(ai){var Ko=(0,Ht.Z)(ai);if(Bt)for(var Go=0;Go<2;Go+=1)Ko[Go]=Ko[Go]||null;else Lt&&(Ko=bt(Ko.filter(function(Ro){return Ro}),ie));var zo=Ao(Lr(),Ko),ci=(0,Te.Z)(zo,2),Jo=ci[0],Fo=ci[1];if(!Jo&&(Tr(Ko),Gn)){var Eo=Ur(Ko);Gn(Ko,Eo,{range:Fo?"end":"start"})}}),uo=function(){sr&&sr(Lr())};return[Ir,Fr,Lr,ro,uo]}function Kt(ie,Se,Xe,Bt,Lt,Dn,Wn,Gn,sr,mr){var Xn=ie.generateConfig,Er=ie.locale,Fr=ie.picker,Ir=ie.onChange,Dr=ie.allowEmpty,Mr=ie.order,Lr=Dn.some(function(Jo){return Jo})?!1:Mr,Tr=ar(Xn,Er,Wn),So=(0,Te.Z)(Tr,2),lo=So[0],Ur=So[1],Ao=_t(Se),ro=(0,Te.Z)(Ao,2),uo=ro[0],ai=ro[1],Ko=(0,Ke.zX)(function(){ai(Se)});se.useEffect(function(){Ko()},[Se]);var Go=(0,Ke.zX)(function(Jo){var Fo=Jo===null,Eo=(0,Ht.Z)(Jo||uo());if(Fo)for(var Ro=Math.max(Dn.length,Eo.length),No=0;No<Ro;No+=1)Dn[No]||(Eo[No]=null);Lr&&Eo[0]&&Eo[1]&&(Eo=bt(Eo,Xn)),Lt(Eo);var vi=Eo,di=(0,Te.Z)(vi,2),Uo=di[0],ei=di[1],Oo=!Uo,Xo=!ei,Yo=Dr?(!Oo||Dr[0])&&(!Xo||Dr[1]):!0,pi=!Mr||Oo||Xo||qn(Xn,Er,Uo,ei,Fr)||Xn.isAfter(ei,Uo),Bi=(Dn[0]||!Uo||!mr(Uo,{activeIndex:0}))&&(Dn[1]||!ei||!mr(ei,{from:Uo,activeIndex:1})),Mi=Fo||Yo&&pi&&Bi;if(Mi){Xe(Eo);var ye=Ur(Eo,Se),ge=(0,Te.Z)(ye,1),it=ge[0];Ir&&!it&&Ir(Fo&&Eo.every(function(It){return!It})?null:Eo,lo(Eo))}return Mi}),zo=(0,Ke.zX)(function(Jo,Fo){var Eo=st(uo(),Jo,Bt()[Jo]);ai(Eo),Fo&&Go()}),ci=!Gn&&!sr;return wt(!ci,function(){ci&&(Go(),Lt(Se),Ko())},2),[zo,Go]}function Pn(ie,Se,Xe,Bt,Lt){return Se!=="date"&&Se!=="time"?!1:Xe!==void 0?Xe:Bt!==void 0?Bt:!Lt&&(ie==="date"||ie==="time")}var Tn=z(29301);function kn(ie,Se,Xe,Bt,Lt,Dn){var Wn=ie;function Gn(Er,Fr,Ir){var Dr=Dn[Er](Wn),Mr=Ir.find(function(lo){return lo.value===Dr});if(!Mr||Mr.disabled){var Lr=Ir.filter(function(lo){return!lo.disabled}),Tr=(0,Ht.Z)(Lr).reverse(),So=Tr.find(function(lo){return lo.value<=Dr})||Lr[0];So&&(Dr=So.value,Wn=Dn[Fr](Wn,Dr))}return Dr}var sr=Gn("getHour","setHour",Se()),mr=Gn("getMinute","setMinute",Xe(sr)),Xn=Gn("getSecond","setSecond",Bt(sr,mr));return Gn("getMillisecond","setMillisecond",Lt(sr,mr,Xn)),Wn}function Kn(){return[]}function pr(ie,Se){for(var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Lt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],Dn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,Wn=[],Gn=Xe>=1?Xe|0:1,sr=ie;sr<=Se;sr+=Gn){var mr=Lt.includes(sr);(!mr||!Bt)&&Wn.push({label:ce(sr,Dn),value:sr,disabled:mr})}return Wn}function Ar(ie){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Xe=arguments.length>2?arguments[2]:void 0,Bt=Se||{},Lt=Bt.use12Hours,Dn=Bt.hourStep,Wn=Dn===void 0?1:Dn,Gn=Bt.minuteStep,sr=Gn===void 0?1:Gn,mr=Bt.secondStep,Xn=mr===void 0?1:mr,Er=Bt.millisecondStep,Fr=Er===void 0?100:Er,Ir=Bt.hideDisabledOptions,Dr=Bt.disabledTime,Mr=Bt.disabledHours,Lr=Bt.disabledMinutes,Tr=Bt.disabledSeconds,So=se.useMemo(function(){return Xe||ie.getNow()},[Xe,ie]);if(0)var lo,Ur,Ao;var ro=se.useCallback(function(ei){var Oo=(Dr==null?void 0:Dr(ei))||{};return[Oo.disabledHours||Mr||Kn,Oo.disabledMinutes||Lr||Kn,Oo.disabledSeconds||Tr||Kn,Oo.disabledMilliseconds||Kn]},[Dr,Mr,Lr,Tr]),uo=se.useMemo(function(){return ro(So)},[So,ro]),ai=(0,Te.Z)(uo,4),Ko=ai[0],Go=ai[1],zo=ai[2],ci=ai[3],Jo=se.useCallback(function(ei,Oo,Xo,Yo){var pi=pr(0,23,Wn,Ir,ei()),Bi=Lt?pi.map(function(it){return(0,pe.Z)((0,pe.Z)({},it),{},{label:ce(it.value%12||12,2)})}):pi,Mi=function(It){return pr(0,59,sr,Ir,Oo(It))},ye=function(It,Qt){return pr(0,59,Xn,Ir,Xo(It,Qt))},ge=function(It,Qt,on){return pr(0,999,Fr,Ir,Yo(It,Qt,on),3)};return[Bi,Mi,ye,ge]},[Ir,Wn,Lt,Fr,sr,Xn]),Fo=se.useMemo(function(){return Jo(Ko,Go,zo,ci)},[Jo,Ko,Go,zo,ci]),Eo=(0,Te.Z)(Fo,4),Ro=Eo[0],No=Eo[1],vi=Eo[2],di=Eo[3],Uo=function(Oo,Xo){var Yo=function(){return Ro},pi=No,Bi=vi,Mi=di;if(Xo){var ye=ro(Xo),ge=(0,Te.Z)(ye,4),it=ge[0],It=ge[1],Qt=ge[2],on=ge[3],wn=Jo(it,It,Qt,on),bn=(0,Te.Z)(wn,4),On=bn[0],Nn=bn[1],ir=bn[2],er=bn[3];Yo=function(){return On},pi=Nn,Bi=ir,Mi=er}var _n=kn(Oo,Yo,pi,Bi,Mi,ie);return _n};return[Uo,Ro,No,vi,di]}function Vr(ie){var Se=ie.mode,Xe=ie.internalMode,Bt=ie.renderExtraFooter,Lt=ie.showNow,Dn=ie.showTime,Wn=ie.onSubmit,Gn=ie.onNow,sr=ie.invalid,mr=ie.needConfirm,Xn=ie.generateConfig,Er=ie.disabledDate,Fr=se.useContext(te),Ir=Fr.prefixCls,Dr=Fr.locale,Mr=Fr.button,Lr=Mr===void 0?"button":Mr,Tr=Xn.getNow(),So=Ar(Xn,Dn,Tr),lo=(0,Te.Z)(So,1),Ur=lo[0],Ao=Bt==null?void 0:Bt(Se),ro=Er(Tr,{type:Se}),uo=function(){if(!ro){var Fo=Ur(Tr);Gn(Fo)}},ai="".concat(Ir,"-now"),Ko="".concat(ai,"-btn"),Go=Lt&&se.createElement("li",{className:ai},se.createElement("a",{className:Gt()(Ko,ro&&"".concat(Ko,"-disabled")),"aria-disabled":ro,onClick:uo},Xe==="date"?Dr.today:Dr.now)),zo=mr&&se.createElement("li",{className:"".concat(Ir,"-ok")},se.createElement(Lr,{disabled:sr,onClick:Wn},Dr.ok)),ci=(Go||zo)&&se.createElement("ul",{className:"".concat(Ir,"-ranges")},Go,zo);return!Ao&&!ci?null:se.createElement("div",{className:"".concat(Ir,"-footer")},Ao&&se.createElement("div",{className:"".concat(Ir,"-footer-extra")},Ao),ci)}function Br(ie,Se,Xe){function Bt(Lt,Dn){var Wn=Lt.findIndex(function(sr){return qn(ie,Se,sr,Dn,Xe)});if(Wn===-1)return[].concat((0,Ht.Z)(Lt),[Dn]);var Gn=(0,Ht.Z)(Lt);return Gn.splice(Wn,1),Gn}return Bt}var fr=se.createContext(null);function Pr(){return se.useContext(fr)}function kr(ie,Se){var Xe=ie.prefixCls,Bt=ie.generateConfig,Lt=ie.locale,Dn=ie.disabledDate,Wn=ie.minDate,Gn=ie.maxDate,sr=ie.cellRender,mr=ie.hoverValue,Xn=ie.hoverRangeValue,Er=ie.onHover,Fr=ie.values,Ir=ie.pickerValue,Dr=ie.onSelect,Mr=ie.prevIcon,Lr=ie.nextIcon,Tr=ie.superPrevIcon,So=ie.superNextIcon,lo=Bt.getNow(),Ur={now:lo,values:Fr,pickerValue:Ir,prefixCls:Xe,disabledDate:Dn,minDate:Wn,maxDate:Gn,cellRender:sr,hoverValue:mr,hoverRangeValue:Xn,onHover:Er,locale:Lt,generateConfig:Bt,onSelect:Dr,panelType:Se,prevIcon:Mr,nextIcon:Lr,superPrevIcon:Tr,superNextIcon:So};return[Ur,lo]}var $r=se.createContext({});function Xr(ie){for(var Se=ie.rowNum,Xe=ie.colNum,Bt=ie.baseDate,Lt=ie.getCellDate,Dn=ie.prefixColumn,Wn=ie.rowClassName,Gn=ie.titleFormat,sr=ie.getCellText,mr=ie.getCellClassName,Xn=ie.headerCells,Er=ie.cellSelection,Fr=Er===void 0?!0:Er,Ir=ie.disabledDate,Dr=Pr(),Mr=Dr.prefixCls,Lr=Dr.panelType,Tr=Dr.now,So=Dr.disabledDate,lo=Dr.cellRender,Ur=Dr.onHover,Ao=Dr.hoverValue,ro=Dr.hoverRangeValue,uo=Dr.generateConfig,ai=Dr.values,Ko=Dr.locale,Go=Dr.onSelect,zo=Ir||So,ci="".concat(Mr,"-cell"),Jo=se.useContext($r),Fo=Jo.onCellDblClick,Eo=function(Xo){return ai.some(function(Yo){return Yo&&qn(uo,Ko,Xo,Yo,Lr)})},Ro=[],No=0;No<Se;No+=1){for(var vi=[],di=void 0,Uo=function(){var Xo=No*Xe+ei,Yo=Lt(Bt,Xo),pi=zo==null?void 0:zo(Yo,{type:Lr});ei===0&&(di=Yo,Dn&&vi.push(Dn(di)));var Bi=!1,Mi=!1,ye=!1;if(Fr&&ro){var ge=(0,Te.Z)(ro,2),it=ge[0],It=ge[1];Bi=nr(uo,it,It,Yo),Mi=qn(uo,Ko,Yo,it,Lr),ye=qn(uo,Ko,Yo,It,Lr)}var Qt=Gn?ut(Yo,{locale:Ko,format:Gn,generateConfig:uo}):void 0,on=se.createElement("div",{className:"".concat(ci,"-inner")},sr(Yo));vi.push(se.createElement("td",{key:ei,title:Qt,className:Gt()(ci,(0,pe.Z)((0,ln.Z)((0,ln.Z)((0,ln.Z)((0,ln.Z)((0,ln.Z)((0,ln.Z)({},"".concat(ci,"-disabled"),pi),"".concat(ci,"-hover"),(Ao||[]).some(function(wn){return qn(uo,Ko,Yo,wn,Lr)})),"".concat(ci,"-in-range"),Bi&&!Mi&&!ye),"".concat(ci,"-range-start"),Mi),"".concat(ci,"-range-end"),ye),"".concat(Mr,"-cell-selected"),!ro&&Lr!=="week"&&Eo(Yo)),mr(Yo))),onClick:function(){pi||Go(Yo)},onDoubleClick:function(){!pi&&Fo&&Fo()},onMouseEnter:function(){pi||Ur==null||Ur(Yo)},onMouseLeave:function(){pi||Ur==null||Ur(null)}},lo?lo(Yo,{prefixCls:Mr,originNode:on,today:Tr,type:Lr,locale:Ko}):on))},ei=0;ei<Xe;ei+=1)Uo();Ro.push(se.createElement("tr",{key:No,className:Wn==null?void 0:Wn(di)},vi))}return se.createElement("div",{className:"".concat(Mr,"-body")},se.createElement("table",{className:"".concat(Mr,"-content")},Xn&&se.createElement("thead",null,se.createElement("tr",null,Xn)),se.createElement("tbody",null,Ro)))}var vo={visibility:"hidden"};function yr(ie){var Se=ie.offset,Xe=ie.superOffset,Bt=ie.onChange,Lt=ie.getStart,Dn=ie.getEnd,Wn=ie.children,Gn=Pr(),sr=Gn.prefixCls,mr=Gn.prevIcon,Xn=mr===void 0?"\u2039":mr,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,So=Gn.maxDate,lo=Gn.generateConfig,Ur=Gn.locale,Ao=Gn.pickerValue,ro=Gn.panelType,uo="".concat(sr,"-header"),ai=se.useContext($r),Ko=ai.hidePrev,Go=ai.hideNext,zo=ai.hideHeader,ci=se.useMemo(function(){if(!Tr||!Se||!Dn)return!1;var Oo=Dn(Se(-1,Ao));return!jn(lo,Ur,Oo,Tr,ro)},[Tr,Se,Ao,Dn,lo,Ur,ro]),Jo=se.useMemo(function(){if(!Tr||!Xe||!Dn)return!1;var Oo=Dn(Xe(-1,Ao));return!jn(lo,Ur,Oo,Tr,ro)},[Tr,Xe,Ao,Dn,lo,Ur,ro]),Fo=se.useMemo(function(){if(!So||!Se||!Lt)return!1;var Oo=Lt(Se(1,Ao));return!jn(lo,Ur,So,Oo,ro)},[So,Se,Ao,Lt,lo,Ur,ro]),Eo=se.useMemo(function(){if(!So||!Xe||!Lt)return!1;var Oo=Lt(Xe(1,Ao));return!jn(lo,Ur,So,Oo,ro)},[So,Xe,Ao,Lt,lo,Ur,ro]),Ro=function(Xo){Se&&Bt(Se(Xo,Ao))},No=function(Xo){Xe&&Bt(Xe(Xo,Ao))};if(zo)return null;var vi="".concat(uo,"-prev-btn"),di="".concat(uo,"-next-btn"),Uo="".concat(uo,"-super-prev-btn"),ei="".concat(uo,"-super-next-btn");return se.createElement("div",{className:uo},Xe&&se.createElement("button",{type:"button","aria-label":Ur.previousYear,onClick:function(){return No(-1)},tabIndex:-1,className:Gt()(Uo,Jo&&"".concat(Uo,"-disabled")),disabled:Jo,style:Ko?vo:{}},Dr),Se&&se.createElement("button",{type:"button","aria-label":Ur.previousMonth,onClick:function(){return Ro(-1)},tabIndex:-1,className:Gt()(vi,ci&&"".concat(vi,"-disabled")),disabled:ci,style:Ko?vo:{}},Xn),se.createElement("div",{className:"".concat(uo,"-view")},Wn),Se&&se.createElement("button",{type:"button","aria-label":Ur.nextMonth,onClick:function(){return Ro(1)},tabIndex:-1,className:Gt()(di,Fo&&"".concat(di,"-disabled")),disabled:Fo,style:Go?vo:{}},Fr),Xe&&se.createElement("button",{type:"button","aria-label":Ur.nextYear,onClick:function(){return No(1)},tabIndex:-1,className:Gt()(ei,Eo&&"".concat(ei,"-disabled")),disabled:Eo,style:Go?vo:{}},Lr))}var ur=yr;function gr(ie){var Se=ie.prefixCls,Xe=ie.panelName,Bt=Xe===void 0?"date":Xe,Lt=ie.locale,Dn=ie.generateConfig,Wn=ie.pickerValue,Gn=ie.onPickerValueChange,sr=ie.onModeChange,mr=ie.mode,Xn=mr===void 0?"date":mr,Er=ie.disabledDate,Fr=ie.onSelect,Ir=ie.onHover,Dr=ie.showWeek,Mr="".concat(Se,"-").concat(Bt,"-panel"),Lr="".concat(Se,"-cell"),Tr=Xn==="week",So=kr(ie,Xn),lo=(0,Te.Z)(So,2),Ur=lo[0],Ao=lo[1],ro=Dn.locale.getWeekFirstDay(Lt.locale),uo=Dn.setDate(Wn,1),ai=xn(Lt.locale,Dn,uo),Ko=Dn.getMonth(Wn),Go=Dr===void 0?Tr:Dr,zo=Go?function(Oo){var Xo=Er==null?void 0:Er(Oo,{type:"week"});return se.createElement("td",{key:"week",className:Gt()(Lr,"".concat(Lr,"-week"),(0,ln.Z)({},"".concat(Lr,"-disabled"),Xo)),onClick:function(){Xo||Fr(Oo)},onMouseEnter:function(){Xo||Ir==null||Ir(Oo)},onMouseLeave:function(){Xo||Ir==null||Ir(null)}},se.createElement("div",{className:"".concat(Lr,"-inner")},Dn.locale.getWeek(Lt.locale,Oo)))}:null,ci=[],Jo=Lt.shortWeekDays||(Dn.locale.getShortWeekDays?Dn.locale.getShortWeekDays(Lt.locale):[]);zo&&ci.push(se.createElement("th",{key:"empty"},se.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},Lt.week)));for(var Fo=0;Fo<Vt;Fo+=1)ci.push(se.createElement("th",{key:Fo},Jo[(Fo+ro)%Vt]));var Eo=function(Xo,Yo){return Dn.addDate(Xo,Yo)},Ro=function(Xo){return ut(Xo,{locale:Lt,format:Lt.cellDateFormat,generateConfig:Dn})},No=function(Xo){var Yo=(0,ln.Z)((0,ln.Z)({},"".concat(Se,"-cell-in-view"),vr(Dn,Xo,Wn)),"".concat(Se,"-cell-today"),Jn(Dn,Xo,Ao));return Yo},vi=Lt.shortMonths||(Dn.locale.getShortMonths?Dn.locale.getShortMonths(Lt.locale):[]),di=se.createElement("button",{type:"button","aria-label":Lt.yearSelect,key:"year",onClick:function(){sr("year",Wn)},tabIndex:-1,className:"".concat(Se,"-year-btn")},ut(Wn,{locale:Lt,format:Lt.yearFormat,generateConfig:Dn})),Uo=se.createElement("button",{type:"button","aria-label":Lt.monthSelect,key:"month",onClick:function(){sr("month",Wn)},tabIndex:-1,className:"".concat(Se,"-month-btn")},Lt.monthFormat?ut(Wn,{locale:Lt,format:Lt.monthFormat,generateConfig:Dn}):vi[Ko]),ei=Lt.monthBeforeYear?[Uo,di]:[di,Uo];return se.createElement(fr.Provider,{value:Ur},se.createElement("div",{className:Gt()(Mr,Dr&&"".concat(Mr,"-show-week"))},se.createElement(ur,{offset:function(Xo){return Dn.addMonth(Wn,Xo)},superOffset:function(Xo){return Dn.addYear(Wn,Xo)},onChange:Gn,getStart:function(Xo){return Dn.setDate(Xo,1)},getEnd:function(Xo){var Yo=Dn.setDate(Xo,1);return Yo=Dn.addMonth(Yo,1),Dn.addDate(Yo,-1)}},ei),se.createElement(Xr,(0,Me.Z)({titleFormat:Lt.fieldDateFormat},ie,{colNum:Vt,rowNum:6,baseDate:ai,headerCells:ci,getCellDate:Eo,getCellText:Ro,getCellClassName:No,prefixColumn:zo,cellSelection:!Tr}))))}var no=z(29194),Kr=1/3;function wr(ie,Se){var Xe=se.useRef(!1),Bt=se.useRef(null),Lt=se.useRef(null),Dn=function(){return Xe.current},Wn=function(){Yn.Z.cancel(Bt.current),Xe.current=!1},Gn=se.useRef(),sr=function(){var Er=ie.current;if(Lt.current=null,Gn.current=0,Er){var Fr=Er.querySelector('[data-value="'.concat(Se,'"]')),Ir=Er.querySelector("li"),Dr=function Mr(){Wn(),Xe.current=!0,Gn.current+=1;var Lr=Er.scrollTop,Tr=Ir.offsetTop,So=Fr.offsetTop,lo=So-Tr;if(So===0&&Fr!==Ir||!(0,no.Z)(Er)){Gn.current<=5&&(Bt.current=(0,Yn.Z)(Mr));return}var Ur=Lr+(lo-Lr)*Kr,Ao=Math.abs(lo-Ur);if(Lt.current!==null&&Lt.current<Ao){Wn();return}if(Lt.current=Ao,Ao<=1){Er.scrollTop=lo,Wn();return}Er.scrollTop=Ur,Bt.current=(0,Yn.Z)(Mr)};Fr&&Ir&&Dr()}},mr=(0,Ke.zX)(sr);return[mr,Wn,Dn]}var Rr=300;function mo(ie){return ie.map(function(Se){var Xe=Se.value,Bt=Se.label,Lt=Se.disabled;return[Xe,Bt,Lt].join(",")}).join(";")}function Qr(ie){var Se=ie.units,Xe=ie.value,Bt=ie.optionalValue,Lt=ie.type,Dn=ie.onChange,Wn=ie.onHover,Gn=ie.onDblClick,sr=ie.changeOnScroll,mr=Pr(),Xn=mr.prefixCls,Er=mr.cellRender,Fr=mr.now,Ir=mr.locale,Dr="".concat(Xn,"-time-panel"),Mr="".concat(Xn,"-time-panel-cell"),Lr=se.useRef(null),Tr=se.useRef(),So=function(){clearTimeout(Tr.current)},lo=wr(Lr,Xe!=null?Xe:Bt),Ur=(0,Te.Z)(lo,3),Ao=Ur[0],ro=Ur[1],uo=Ur[2];(0,tn.Z)(function(){return Ao(),So(),function(){ro(),So()}},[Xe,Bt,mo(Se)]);var ai=function(zo){So();var ci=zo.target;!uo()&&sr&&(Tr.current=setTimeout(function(){var Jo=Lr.current,Fo=Jo.querySelector("li").offsetTop,Eo=Array.from(Jo.querySelectorAll("li")),Ro=Eo.map(function(ei){return ei.offsetTop-Fo}),No=Ro.map(function(ei,Oo){return Se[Oo].disabled?Number.MAX_SAFE_INTEGER:Math.abs(ei-ci.scrollTop)}),vi=Math.min.apply(Math,(0,Ht.Z)(No)),di=No.findIndex(function(ei){return ei===vi}),Uo=Se[di];Uo&&!Uo.disabled&&Dn(Uo.value)},Rr))},Ko="".concat(Dr,"-column");return se.createElement("ul",{className:Ko,ref:Lr,"data-type":Lt,onScroll:ai},Se.map(function(Go){var zo=Go.label,ci=Go.value,Jo=Go.disabled,Fo=se.createElement("div",{className:"".concat(Mr,"-inner")},zo);return se.createElement("li",{key:ci,className:Gt()(Mr,(0,ln.Z)((0,ln.Z)({},"".concat(Mr,"-selected"),Xe===ci),"".concat(Mr,"-disabled"),Jo)),onClick:function(){Jo||Dn(ci)},onDoubleClick:function(){!Jo&&Gn&&Gn()},onMouseEnter:function(){Wn(ci)},onMouseLeave:function(){Wn(null)},"data-value":ci},Er?Er(ci,{prefixCls:Xn,originNode:Fo,today:Fr,type:"time",subType:Lt,locale:Ir}):Fo)}))}function qr(ie){return ie<12}function eo(ie){var Se=ie.showHour,Xe=ie.showMinute,Bt=ie.showSecond,Lt=ie.showMillisecond,Dn=ie.use12Hours,Wn=ie.changeOnScroll,Gn=Pr(),sr=Gn.prefixCls,mr=Gn.values,Xn=Gn.generateConfig,Er=Gn.locale,Fr=Gn.onSelect,Ir=Gn.onHover,Dr=Ir===void 0?function(){}:Ir,Mr=Gn.pickerValue,Lr=(mr==null?void 0:mr[0])||null,Tr=se.useContext($r),So=Tr.onCellDblClick,lo=Ar(Xn,ie,Lr),Ur=(0,Te.Z)(lo,5),Ao=Ur[0],ro=Ur[1],uo=Ur[2],ai=Ur[3],Ko=Ur[4],Go=function(xr){var to=Lr&&Xn[xr](Lr),go=Mr&&Xn[xr](Mr);return[to,go]},zo=Go("getHour"),ci=(0,Te.Z)(zo,2),Jo=ci[0],Fo=ci[1],Eo=Go("getMinute"),Ro=(0,Te.Z)(Eo,2),No=Ro[0],vi=Ro[1],di=Go("getSecond"),Uo=(0,Te.Z)(di,2),ei=Uo[0],Oo=Uo[1],Xo=Go("getMillisecond"),Yo=(0,Te.Z)(Xo,2),pi=Yo[0],Bi=Yo[1],Mi=Jo===null?null:qr(Jo)?"am":"pm",ye=se.useMemo(function(){return Dn?qr(Jo)?ro.filter(function(Sr){return qr(Sr.value)}):ro.filter(function(Sr){return!qr(Sr.value)}):ro},[Jo,ro,Dn]),ge=function(xr,to){var go,Do=xr.filter(function($o){return!$o.disabled});return to!=null?to:Do==null||(go=Do[0])===null||go===void 0?void 0:go.value},it=ge(ro,Jo),It=se.useMemo(function(){return uo(it)},[uo,it]),Qt=ge(It,No),on=se.useMemo(function(){return ai(it,Qt)},[ai,it,Qt]),wn=ge(on,ei),bn=se.useMemo(function(){return Ko(it,Qt,wn)},[Ko,it,Qt,wn]),On=ge(bn,pi),Nn=se.useMemo(function(){if(!Dn)return[];var Sr=Xn.getNow(),xr=Xn.setHour(Sr,6),to=Xn.setHour(Sr,18),go=function($o,Co){var Fi=Er.cellMeridiemFormat;return Fi?ut($o,{generateConfig:Xn,locale:Er,format:Fi}):Co};return[{label:go(xr,"AM"),value:"am",disabled:ro.every(function(Do){return Do.disabled||!qr(Do.value)})},{label:go(to,"PM"),value:"pm",disabled:ro.every(function(Do){return Do.disabled||qr(Do.value)})}]},[ro,Dn,Xn,Er]),ir=function(xr){var to=Ao(xr);Fr(to)},er=se.useMemo(function(){var Sr=Lr||Mr||Xn.getNow(),xr=function(go){return go!=null};return xr(Jo)?(Sr=Xn.setHour(Sr,Jo),Sr=Xn.setMinute(Sr,No),Sr=Xn.setSecond(Sr,ei),Sr=Xn.setMillisecond(Sr,pi)):xr(Fo)?(Sr=Xn.setHour(Sr,Fo),Sr=Xn.setMinute(Sr,vi),Sr=Xn.setSecond(Sr,Oo),Sr=Xn.setMillisecond(Sr,Bi)):xr(it)&&(Sr=Xn.setHour(Sr,it),Sr=Xn.setMinute(Sr,Qt),Sr=Xn.setSecond(Sr,wn),Sr=Xn.setMillisecond(Sr,On)),Sr},[Lr,Mr,Jo,No,ei,pi,it,Qt,wn,On,Fo,vi,Oo,Bi,Xn]),_n=function(xr,to){return xr===null?null:Xn[to](er,xr)},zn=function(xr){return _n(xr,"setHour")},Rn=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(Jo)?Xn.setHour(er,Jo-12):xr==="pm"&&qr(Jo)?Xn.setHour(er,Jo+12):er},Nr=function(xr){ir(zn(xr))},_r=function(xr){ir(Rn(xr))},zr=function(xr){ir(Or(xr))},Yr=function(xr){ir(cr(xr))},ao=function(xr){ir(Hr(xr))},po=function(xr){Dr(zn(xr))},xo=function(xr){Dr(Rn(xr))},Qo=function(xr){Dr(Or(xr))},Gr=function(xr){Dr(cr(xr))},jr=function(xr){Dr(Hr(xr))},oo={onDblClick:So,changeOnScroll:Wn};return se.createElement("div",{className:"".concat(sr,"-content")},Se&&se.createElement(Qr,(0,Me.Z)({units:ye,value:Jo,optionalValue:Fo,type:"hour",onChange:Nr,onHover:po},oo)),Xe&&se.createElement(Qr,(0,Me.Z)({units:It,value:No,optionalValue:vi,type:"minute",onChange:_r,onHover:xo},oo)),Bt&&se.createElement(Qr,(0,Me.Z)({units:on,value:ei,optionalValue:Oo,type:"second",onChange:zr,onHover:Qo},oo)),Lt&&se.createElement(Qr,(0,Me.Z)({units:bn,value:pi,optionalValue:Bi,type:"millisecond",onChange:Yr,onHover:Gr},oo)),Dn&&se.createElement(Qr,(0,Me.Z)({units:Nn,value:Mi,type:"meridiem",onChange:ao,onHover:jr},oo)))}function ko(ie){var Se=ie.prefixCls,Xe=ie.value,Bt=ie.locale,Lt=ie.generateConfig,Dn=ie.showTime,Wn=Dn||{},Gn=Wn.format,sr="".concat(Se,"-time-panel"),mr=kr(ie,"time"),Xn=(0,Te.Z)(mr,1),Er=Xn[0];return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:Gt()(sr)},se.createElement(ur,null,Xe?ut(Xe,{locale:Bt,format:Gn,generateConfig:Lt}):"\xA0"),se.createElement(eo,Dn)))}function _o(ie){var Se=ie.prefixCls,Xe=ie.generateConfig,Bt=ie.showTime,Lt=ie.onSelect,Dn=ie.value,Wn=ie.pickerValue,Gn=ie.onHover,sr="".concat(Se,"-datetime-panel"),mr=Ar(Xe,Bt),Xn=(0,Te.Z)(mr,1),Er=Xn[0],Fr=function(Lr){return Dn?qt(Xe,Lr,Dn):qt(Xe,Lr,Wn)},Ir=function(Lr){Gn==null||Gn(Lr&&Fr(Lr))},Dr=function(Lr){var Tr=Fr(Lr);Lt(Er(Tr,Tr))};return se.createElement("div",{className:sr},se.createElement(gr,(0,Me.Z)({},ie,{onSelect:Dr,onHover:Ir})),se.createElement(ko,ie))}function qo(ie){var Se=ie.prefixCls,Xe=ie.locale,Bt=ie.generateConfig,Lt=ie.pickerValue,Dn=ie.disabledDate,Wn=ie.onPickerValueChange,Gn="".concat(Se,"-decade-panel"),sr=kr(ie,"decade"),mr=(0,Te.Z)(sr,1),Xn=mr[0],Er=function(ro){var uo=Math.floor(Bt.getYear(ro)/100)*100;return Bt.setYear(ro,uo)},Fr=function(ro){var uo=Er(ro);return Bt.addYear(uo,99)},Ir=Er(Lt),Dr=Fr(Lt),Mr=Bt.addYear(Ir,-10),Lr=function(ro,uo){return Bt.addYear(ro,uo*10)},Tr=function(ro){var uo=Xe.cellYearFormat,ai=ut(ro,{locale:Xe,format:uo,generateConfig:Bt}),Ko=ut(Bt.addYear(ro,9),{locale:Xe,format:uo,generateConfig:Bt});return"".concat(ai,"-").concat(Ko)},So=function(ro){return(0,ln.Z)({},"".concat(Se,"-cell-in-view"),dn(Bt,ro,Ir)||dn(Bt,ro,Dr)||nr(Bt,Ir,Dr,ro))},lo=Dn?function(Ao,ro){var uo=Bt.setDate(Ao,1),ai=Bt.setMonth(uo,0),Ko=Bt.setYear(ai,Math.floor(Bt.getYear(ai)/10)*10),Go=Bt.addYear(Ko,10),zo=Bt.addDate(Go,-1);return Dn(Ko,ro)&&Dn(zo,ro)}:null,Ur="".concat(ut(Ir,{locale:Xe,format:Xe.yearFormat,generateConfig:Bt}),"-").concat(ut(Dr,{locale:Xe,format:Xe.yearFormat,generateConfig:Bt}));return se.createElement(fr.Provider,{value:Xn},se.createElement("div",{className:Gn},se.createElement(ur,{superOffset:function(ro){return Bt.addYear(Lt,ro*100)},onChange:Wn,getStart:Er,getEnd:Fr},Ur),se.createElement(Xr,(0,Me.Z)({},ie,{disabledDate:lo,colNum:3,rowNum:4,baseDate:Mr,getCellDate:Lr,getCellText:Tr,getCellClassName:So}))))}function Lo(ie){var Se=ie.prefixCls,Xe=ie.locale,Bt=ie.generateConfig,Lt=ie.pickerValue,Dn=ie.disabledDate,Wn=ie.onPickerValueChange,Gn=ie.onModeChange,sr="".concat(Se,"-month-panel"),mr=kr(ie,"month"),Xn=(0,Te.Z)(mr,1),Er=Xn[0],Fr=Bt.setMonth(Lt,0),Ir=Xe.shortMonths||(Bt.locale.getShortMonths?Bt.locale.getShortMonths(Xe.locale):[]),Dr=function(Ur,Ao){return Bt.addMonth(Ur,Ao)},Mr=function(Ur){var Ao=Bt.getMonth(Ur);return Xe.monthFormat?ut(Ur,{locale:Xe,format:Xe.monthFormat,generateConfig:Bt}):Ir[Ao]},Lr=function(){return(0,ln.Z)({},"".concat(Se,"-cell-in-view"),!0)},Tr=Dn?function(lo,Ur){var Ao=Bt.setDate(lo,1),ro=Bt.setMonth(Ao,Bt.getMonth(Ao)+1),uo=Bt.addDate(ro,-1);return Dn(Ao,Ur)&&Dn(uo,Ur)}:null,So=se.createElement("button",{type:"button",key:"year","aria-label":Xe.yearSelect,onClick:function(){Gn("year")},tabIndex:-1,className:"".concat(Se,"-year-btn")},ut(Lt,{locale:Xe,format:Xe.yearFormat,generateConfig:Bt}));return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:sr},se.createElement(ur,{superOffset:function(Ur){return Bt.addYear(Lt,Ur)},onChange:Wn,getStart:function(Ur){return Bt.setMonth(Ur,0)},getEnd:function(Ur){return Bt.setMonth(Ur,11)}},So),se.createElement(Xr,(0,Me.Z)({},ie,{disabledDate:Tr,titleFormat:Xe.fieldMonthFormat,colNum:3,rowNum:4,baseDate:Fr,getCellDate:Dr,getCellText:Mr,getCellClassName:Lr}))))}function ii(ie){var Se=ie.prefixCls,Xe=ie.locale,Bt=ie.generateConfig,Lt=ie.pickerValue,Dn=ie.onPickerValueChange,Wn=ie.onModeChange,Gn="".concat(Se,"-quarter-panel"),sr=kr(ie,"quarter"),mr=(0,Te.Z)(sr,1),Xn=mr[0],Er=Bt.setMonth(Lt,0),Fr=function(Tr,So){return Bt.addMonth(Tr,So*3)},Ir=function(Tr){return ut(Tr,{locale:Xe,format:Xe.cellQuarterFormat,generateConfig:Bt})},Dr=function(){return(0,ln.Z)({},"".concat(Se,"-cell-in-view"),!0)},Mr=se.createElement("button",{type:"button",key:"year","aria-label":Xe.yearSelect,onClick:function(){Wn("year")},tabIndex:-1,className:"".concat(Se,"-year-btn")},ut(Lt,{locale:Xe,format:Xe.yearFormat,generateConfig:Bt}));return se.createElement(fr.Provider,{value:Xn},se.createElement("div",{className:Gn},se.createElement(ur,{superOffset:function(Tr){return Bt.addYear(Lt,Tr)},onChange:Dn,getStart:function(Tr){return Bt.setMonth(Tr,0)},getEnd:function(Tr){return Bt.setMonth(Tr,11)}},Mr),se.createElement(Xr,(0,Me.Z)({},ie,{titleFormat:Xe.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:Er,getCellDate:Fr,getCellText:Ir,getCellClassName:Dr}))))}function ke(ie){var Se=ie.prefixCls,Xe=ie.generateConfig,Bt=ie.locale,Lt=ie.value,Dn=ie.hoverValue,Wn=ie.hoverRangeValue,Gn=Bt.locale,sr="".concat(Se,"-week-panel-row"),mr=function(Er){var Fr={};if(Wn){var Ir=(0,Te.Z)(Wn,2),Dr=Ir[0],Mr=Ir[1],Lr=En(Xe,Gn,Dr,Er),Tr=En(Xe,Gn,Mr,Er);Fr["".concat(sr,"-range-start")]=Lr,Fr["".concat(sr,"-range-end")]=Tr,Fr["".concat(sr,"-range-hover")]=!Lr&&!Tr&&nr(Xe,Dr,Mr,Er)}return Dn&&(Fr["".concat(sr,"-hover")]=Dn.some(function(So){return En(Xe,Gn,Er,So)})),Gt()(sr,(0,ln.Z)({},"".concat(sr,"-selected"),!Wn&&En(Xe,Gn,Lt,Er)),Fr)};return se.createElement(gr,(0,Me.Z)({},ie,{mode:"week",panelName:"week",rowClassName:mr}))}function nt(ie){var Se=ie.prefixCls,Xe=ie.locale,Bt=ie.generateConfig,Lt=ie.pickerValue,Dn=ie.disabledDate,Wn=ie.onPickerValueChange,Gn=ie.onModeChange,sr="".concat(Se,"-year-panel"),mr=kr(ie,"year"),Xn=(0,Te.Z)(mr,1),Er=Xn[0],Fr=function(uo){var ai=Math.floor(Bt.getYear(uo)/10)*10;return Bt.setYear(uo,ai)},Ir=function(uo){var ai=Fr(uo);return Bt.addYear(ai,9)},Dr=Fr(Lt),Mr=Ir(Lt),Lr=Bt.addYear(Dr,-1),Tr=function(uo,ai){return Bt.addYear(uo,ai)},So=function(uo){return ut(uo,{locale:Xe,format:Xe.cellYearFormat,generateConfig:Bt})},lo=function(uo){return(0,ln.Z)({},"".concat(Se,"-cell-in-view"),Ln(Bt,uo,Dr)||Ln(Bt,uo,Mr)||nr(Bt,Dr,Mr,uo))},Ur=Dn?function(ro,uo){var ai=Bt.setMonth(ro,0),Ko=Bt.setDate(ai,1),Go=Bt.addYear(Ko,1),zo=Bt.addDate(Go,-1);return Dn(Ko,uo)&&Dn(zo,uo)}:null,Ao=se.createElement("button",{type:"button",key:"decade","aria-label":Xe.decadeSelect,onClick:function(){Gn("decade")},tabIndex:-1,className:"".concat(Se,"-decade-btn")},ut(Dr,{locale:Xe,format:Xe.yearFormat,generateConfig:Bt}),"-",ut(Mr,{locale:Xe,format:Xe.yearFormat,generateConfig:Bt}));return se.createElement(fr.Provider,{value:Er},se.createElement("div",{className:sr},se.createElement(ur,{superOffset:function(uo){return Bt.addYear(Lt,uo*10)},onChange:Wn,getStart:Fr,getEnd:Ir},Ao),se.createElement(Xr,(0,Me.Z)({},ie,{disabledDate:Ur,titleFormat:Xe.fieldYearFormat,colNum:3,rowNum:4,baseDate:Lr,getCellDate:Tr,getCellText:So,getCellClassName:lo}))))}var Mt={date:gr,datetime:_o,week:ke,month:Lo,quarter:ii,year:nt,decade:qo,time:ko};function un(ie,Se){var Xe,Bt=ie.locale,Lt=ie.generateConfig,Dn=ie.direction,Wn=ie.prefixCls,Gn=ie.tabIndex,sr=Gn===void 0?0:Gn,mr=ie.multiple,Xn=ie.defaultValue,Er=ie.value,Fr=ie.onChange,Ir=ie.onSelect,Dr=ie.defaultPickerValue,Mr=ie.pickerValue,Lr=ie.onPickerValueChange,Tr=ie.mode,So=ie.onPanelChange,lo=ie.picker,Ur=lo===void 0?"date":lo,Ao=ie.showTime,ro=ie.hoverValue,uo=ie.hoverRangeValue,ai=ie.cellRender,Ko=ie.dateRender,Go=ie.monthCellRender,zo=ie.components,ci=zo===void 0?{}:zo,Jo=ie.hideHeader,Fo=((Xe=se.useContext(te))===null||Xe===void 0?void 0:Xe.prefixCls)||Wn||"rc-picker",Eo=se.useRef();se.useImperativeHandle(Se,function(){return{nativeElement:Eo.current}});var Ro=gn(ie),No=(0,Te.Z)(Ro,4),vi=No[0],di=No[1],Uo=No[2],ei=No[3],Oo=Wt(Bt,di),Xo=Ur==="date"&&Ao?"datetime":Ur,Yo=se.useMemo(function(){return At(Xo,Uo,ei,vi,Oo)},[Xo,Uo,ei,vi,Oo]),pi=Lt.getNow(),Bi=(0,Ke.C8)(Ur,{value:Tr,postState:function(jr){return jr||"date"}}),Mi=(0,Te.Z)(Bi,2),ye=Mi[0],ge=Mi[1],it=ye==="date"&&Yo?"datetime":ye,It=Br(Lt,Bt,Xo),Qt=(0,Ke.C8)(Xn,{value:Er}),on=(0,Te.Z)(Qt,2),wn=on[0],bn=on[1],On=se.useMemo(function(){var Gr=De(wn).filter(function(jr){return jr});return mr?Gr:Gr.slice(0,1)},[wn,mr]),Nn=(0,Ke.zX)(function(Gr){bn(Gr),Fr&&(Gr===null||On.length!==Gr.length||On.some(function(jr,oo){return!qn(Lt,Bt,jr,Gr[oo],Xo)}))&&(Fr==null||Fr(mr?Gr:Gr[0]))}),ir=(0,Ke.zX)(function(Gr){if(Ir==null||Ir(Gr),ye===Ur){var jr=mr?It(On,Gr):[Gr];Nn(jr)}}),er=(0,Ke.C8)(Dr||On[0]||pi,{value:Mr}),_n=(0,Te.Z)(er,2),zn=_n[0],Rn=_n[1];se.useEffect(function(){On[0]&&!Mr&&Rn(On[0])},[On[0]]);var Or=function(jr,oo){So==null||So(jr||Mr,oo||ye)},cr=function(jr){var oo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Rn(jr),Lr==null||Lr(jr),oo&&Or(jr)},Hr=function(jr,oo){ge(jr),oo&&cr(oo),Or(oo,jr)},Nr=function(jr){if(ir(jr),cr(jr),ye!==Ur){var oo=["decade","year"],Sr=[].concat(oo,["month"]),xr={quarter:[].concat(oo,["quarter"]),week:[].concat((0,Ht.Z)(Sr),["week"]),date:[].concat((0,Ht.Z)(Sr),["date"])},to=xr[Ur]||Sr,go=to.indexOf(ye),Do=to[go+1];Do&&Hr(Do,jr)}},_r=se.useMemo(function(){var Gr,jr;if(Array.isArray(uo)){var oo=(0,Te.Z)(uo,2);Gr=oo[0],jr=oo[1]}else Gr=uo;return!Gr&&!jr?null:(Gr=Gr||jr,jr=jr||Gr,Lt.isAfter(Gr,jr)?[jr,Gr]:[Gr,jr])},[uo,Lt]),zr=Tt(ai,Ko,Go),Yr=ci[it]||Mt[it]||gr,ao=se.useContext($r),po=se.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},ao),{},{hideHeader:Jo})},[ao,Jo]),xo="".concat(Fo,"-panel"),Qo=Qe(ie,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return se.createElement($r.Provider,{value:po},se.createElement("div",{ref:Eo,tabIndex:sr,className:Gt()(xo,(0,ln.Z)({},"".concat(xo,"-rtl"),Dn==="rtl"))},se.createElement(Yr,(0,Me.Z)({},Qo,{showTime:Yo,prefixCls:Fo,locale:Oo,generateConfig:Lt,onModeChange:Hr,pickerValue:zn,onPickerValueChange:function(jr){cr(jr,!0)},value:On[0],onSelect:Nr,values:On,cellRender:zr,hoverRangeValue:_r,hoverValue:ro}))))}var fn=se.memo(se.forwardRef(un)),Rt=fn;function ot(ie){var Se=ie.picker,Xe=ie.multiplePanel,Bt=ie.pickerValue,Lt=ie.onPickerValueChange,Dn=ie.needConfirm,Wn=ie.onSubmit,Gn=ie.range,sr=ie.hoverValue,mr=se.useContext(te),Xn=mr.prefixCls,Er=mr.generateConfig,Fr=se.useCallback(function(So,lo){return ht(Er,Se,So,lo)},[Er,Se]),Ir=se.useMemo(function(){return Fr(Bt,1)},[Bt,Fr]),Dr=function(lo){Lt(Fr(lo,-1))},Mr={onCellDblClick:function(){Dn&&Wn()}},Lr=Se==="time",Tr=(0,pe.Z)((0,pe.Z)({},ie),{},{hoverValue:null,hoverRangeValue:null,hideHeader:Lr});return Gn?Tr.hoverRangeValue=sr:Tr.hoverValue=sr,Xe?se.createElement("div",{className:"".concat(Xn,"-panels")},se.createElement($r.Provider,{value:(0,pe.Z)((0,pe.Z)({},Mr),{},{hideNext:!0})},se.createElement(Rt,Tr)),se.createElement($r.Provider,{value:(0,pe.Z)((0,pe.Z)({},Mr),{},{hidePrev:!0})},se.createElement(Rt,(0,Me.Z)({},Tr,{pickerValue:Ir,onPickerValueChange:Dr})))):se.createElement($r.Provider,{value:(0,pe.Z)({},Mr)},se.createElement(Rt,Tr))}function Ot(ie){return typeof ie=="function"?ie():ie}function en(ie){var Se=ie.prefixCls,Xe=ie.presets,Bt=ie.onClick,Lt=ie.onHover;return Xe.length?se.createElement("div",{className:"".concat(Se,"-presets")},se.createElement("ul",null,Xe.map(function(Dn,Wn){var Gn=Dn.label,sr=Dn.value;return se.createElement("li",{key:Wn,onClick:function(){Bt(Ot(sr))},onMouseEnter:function(){Lt(Ot(sr))},onMouseLeave:function(){Lt(null)}},Gn)}))):null}function Fn(ie){var Se=ie.panelRender,Xe=ie.internalMode,Bt=ie.picker,Lt=ie.showNow,Dn=ie.range,Wn=ie.multiple,Gn=ie.activeInfo,sr=Gn===void 0?[0,0,0]:Gn,mr=ie.presets,Xn=ie.onPresetHover,Er=ie.onPresetSubmit,Fr=ie.onFocus,Ir=ie.onBlur,Dr=ie.onPanelMouseDown,Mr=ie.direction,Lr=ie.value,Tr=ie.onSelect,So=ie.isInvalid,lo=ie.defaultOpenValue,Ur=ie.onOk,Ao=ie.onSubmit,ro=se.useContext(te),uo=ro.prefixCls,ai="".concat(uo,"-panel"),Ko=Mr==="rtl",Go=se.useRef(null),zo=se.useRef(null),ci=se.useState(0),Jo=(0,Te.Z)(ci,2),Fo=Jo[0],Eo=Jo[1],Ro=se.useState(0),No=(0,Te.Z)(Ro,2),vi=No[0],di=No[1],Uo=se.useState(0),ei=(0,Te.Z)(Uo,2),Oo=ei[0],Xo=ei[1],Yo=function(Nr){Nr.width&&Eo(Nr.width)},pi=(0,Te.Z)(sr,3),Bi=pi[0],Mi=pi[1],ye=pi[2],ge=se.useState(0),it=(0,Te.Z)(ge,2),It=it[0],Qt=it[1];se.useEffect(function(){Qt(10)},[Bi]),se.useEffect(function(){if(Dn&&zo.current){var Hr,Nr=((Hr=Go.current)===null||Hr===void 0?void 0:Hr.offsetWidth)||0,_r=zo.current.getBoundingClientRect();if(!_r.height||_r.right<0){Qt(function(po){return Math.max(0,po-1)});return}var zr=(Ko?Mi-Nr:Bi)-_r.left;if(Xo(zr),Fo&&Fo<ye){var Yr=Ko?_r.right-(Mi-Nr+Fo):Bi+Nr-_r.left-Fo,ao=Math.max(0,Yr);di(ao)}else di(0)}},[It,Ko,Fo,Bi,Mi,ye,Dn]);function on(Hr){return Hr.filter(function(Nr){return Nr})}var wn=se.useMemo(function(){return on(De(Lr))},[Lr]),bn=Bt==="time"&&!wn.length,On=se.useMemo(function(){return bn?on([lo]):wn},[bn,wn,lo]),Nn=bn?lo:wn,ir=se.useMemo(function(){return On.length?On.some(function(Hr){return So(Hr)}):!0},[On,So]),er=function(){bn&&Tr(lo),Ur(),Ao()},_n=se.createElement("div",{className:"".concat(uo,"-panel-layout")},se.createElement(en,{prefixCls:uo,presets:mr,onClick:Er,onHover:Xn}),se.createElement("div",null,se.createElement(ot,(0,Me.Z)({},ie,{value:Nn})),se.createElement(Vr,(0,Me.Z)({},ie,{showNow:Wn?!1:Lt,invalid:ir,onSubmit:er}))));Se&&(_n=Se(_n));var zn="".concat(ai,"-container"),Rn="marginLeft",Or="marginRight",cr=se.createElement("div",{onMouseDown:Dr,tabIndex:-1,className:Gt()(zn,"".concat(uo,"-").concat(Xe,"-panel-container")),style:(0,ln.Z)((0,ln.Z)({},Ko?Or:Rn,vi),Ko?Rn:Or,"auto"),onFocus:Fr,onBlur:Ir},_n);return Dn&&(cr=se.createElement("div",{onMouseDown:Dr,ref:zo,className:Gt()("".concat(uo,"-range-wrapper"),"".concat(uo,"-").concat(Bt,"-range-wrapper"))},se.createElement("div",{ref:Go,className:"".concat(uo,"-range-arrow"),style:{left:Oo}}),se.createElement(Tn.Z,{onResize:Yo},cr))),cr}var Zn=z(75931);function An(ie,Se){var Xe=ie.format,Bt=ie.maskFormat,Lt=ie.generateConfig,Dn=ie.locale,Wn=ie.preserveInvalidOnBlur,Gn=ie.inputReadOnly,sr=ie.required,mr=ie["aria-required"],Xn=ie.onSubmit,Er=ie.onFocus,Fr=ie.onBlur,Ir=ie.onInputChange,Dr=ie.onInvalid,Mr=ie.open,Lr=ie.onOpenChange,Tr=ie.onKeyDown,So=ie.onChange,lo=ie.activeHelp,Ur=ie.name,Ao=ie.autoComplete,ro=ie.id,uo=ie.value,ai=ie.invalid,Ko=ie.placeholder,Go=ie.disabled,zo=ie.activeIndex,ci=ie.allHelp,Jo=ie.picker,Fo=function(Oo,Xo){var Yo=Lt.locale.parse(Dn.locale,Oo,[Xo]);return Yo&&Lt.isValidate(Yo)?Yo:null},Eo=Xe[0],Ro=se.useCallback(function(ei){return ut(ei,{locale:Dn,format:Eo,generateConfig:Lt})},[Dn,Lt,Eo]),No=se.useMemo(function(){return uo.map(Ro)},[uo,Ro]),vi=se.useMemo(function(){var ei=Jo==="time"?8:10,Oo=typeof Eo=="function"?Eo(Lt.getNow()).length:Eo.length;return Math.max(ei,Oo)+2},[Eo,Jo,Lt]),di=function(Oo){for(var Xo=0;Xo<Xe.length;Xo+=1){var Yo=Xe[Xo];if(typeof Yo=="string"){var pi=Fo(Oo,Yo);if(pi)return pi}}return!1},Uo=function(Oo){function Xo(Bi){return Oo!==void 0?Bi[Oo]:Bi}var Yo=(0,jt.Z)(ie,{aria:!0,data:!0}),pi=(0,pe.Z)((0,pe.Z)({},Yo),{},{format:Bt,validateFormat:function(Mi){return!!di(Mi)},preserveInvalidOnBlur:Wn,readOnly:Gn,required:sr,"aria-required":mr,name:Ur,autoComplete:Ao,size:vi,id:Xo(ro),value:Xo(No)||"",invalid:Xo(ai),placeholder:Xo(Ko),active:zo===Oo,helped:ci||lo&&zo===Oo,disabled:Xo(Go),onFocus:function(Mi){Er(Mi,Oo)},onBlur:function(Mi){Fr(Mi,Oo)},onSubmit:Xn,onChange:function(Mi){Ir();var ye=di(Mi);if(ye){Dr(!1,Oo),So(ye,Oo);return}Dr(!!Mi,Oo)},onHelp:function(){Lr(!0,{index:Oo})},onKeyDown:function(Mi){var ye=!1;if(Tr==null||Tr(Mi,function(){ye=!0}),!Mi.defaultPrevented&&!ye)switch(Mi.key){case"Escape":Lr(!1,{index:Oo});break;case"Enter":Mr||Lr(!0);break}}},Se==null?void 0:Se({valueTexts:No}));return Object.keys(pi).forEach(function(Bi){pi[Bi]===void 0&&delete pi[Bi]}),pi};return[Uo,Ro]}var Hn=["onMouseEnter","onMouseLeave"];function $n(ie){return se.useMemo(function(){return Qe(ie,Hn)},[ie])}var Cr=["icon","type"],br=["onClear"];function Wr(ie){var Se=ie.icon,Xe=ie.type,Bt=(0,Zn.Z)(ie,Cr),Lt=se.useContext(te),Dn=Lt.prefixCls;return Se?se.createElement("span",(0,Me.Z)({className:"".concat(Dn,"-").concat(Xe)},Bt),Se):null}function Jr(ie){var Se=ie.onClear,Xe=(0,Zn.Z)(ie,br);return se.createElement(Wr,(0,Me.Z)({},Xe,{type:"clear",role:"button",onMouseDown:function(Lt){Lt.preventDefault()},onClick:function(Lt){Lt.stopPropagation(),Se()}}))}var yo=z(67732),io=z(83652),Io=["YYYY","MM","DD","HH","mm","ss","SSS"],co="\u9867",fo=function(){function ie(Se){(0,yo.Z)(this,ie),(0,ln.Z)(this,"format",void 0),(0,ln.Z)(this,"maskFormat",void 0),(0,ln.Z)(this,"cells",void 0),(0,ln.Z)(this,"maskCells",void 0),this.format=Se;var Xe=Io.map(function(Gn){return"(".concat(Gn,")")}).join("|"),Bt=new RegExp(Xe,"g");this.maskFormat=Se.replace(Bt,function(Gn){return co.repeat(Gn.length)});var Lt=new RegExp("(".concat(Io.join("|"),")")),Dn=(Se.split(Lt)||[]).filter(function(Gn){return Gn}),Wn=0;this.cells=Dn.map(function(Gn){var sr=Io.includes(Gn),mr=Wn,Xn=Wn+Gn.length;return Wn=Xn,{text:Gn,mask:sr,start:mr,end:Xn}}),this.maskCells=this.cells.filter(function(Gn){return Gn.mask})}return(0,io.Z)(ie,[{key:"getSelection",value:function(Xe){var Bt=this.maskCells[Xe]||{},Lt=Bt.start,Dn=Bt.end;return[Lt||0,Dn||0]}},{key:"match",value:function(Xe){for(var Bt=0;Bt<this.maskFormat.length;Bt+=1){var Lt=this.maskFormat[Bt],Dn=Xe[Bt];if(!Dn||Lt!==co&&Lt!==Dn)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(Xe){for(var Bt=Number.MAX_SAFE_INTEGER,Lt=0,Dn=0;Dn<this.maskCells.length;Dn+=1){var Wn=this.maskCells[Dn],Gn=Wn.start,sr=Wn.end;if(Xe>=Gn&&Xe<=sr)return Dn;var mr=Math.min(Math.abs(Xe-Gn),Math.abs(Xe-sr));mr<Bt&&(Bt=mr,Lt=Dn)}return Lt}}]),ie}();function bo(ie){var Se={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 Se[ie]}var Bo=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],ri=se.forwardRef(function(ie,Se){var Xe=ie.active,Bt=ie.showActiveCls,Lt=Bt===void 0?!0:Bt,Dn=ie.suffixIcon,Wn=ie.format,Gn=ie.validateFormat,sr=ie.onChange,mr=ie.onInput,Xn=ie.helped,Er=ie.onHelp,Fr=ie.onSubmit,Ir=ie.onKeyDown,Dr=ie.preserveInvalidOnBlur,Mr=Dr===void 0?!1:Dr,Lr=ie.invalid,Tr=ie.clearIcon,So=(0,Zn.Z)(ie,Bo),lo=ie.value,Ur=ie.onFocus,Ao=ie.onBlur,ro=ie.onMouseUp,uo=se.useContext(te),ai=uo.prefixCls,Ko=uo.input,Go=Ko===void 0?"input":Ko,zo="".concat(ai,"-input"),ci=se.useState(!1),Jo=(0,Te.Z)(ci,2),Fo=Jo[0],Eo=Jo[1],Ro=se.useState(lo),No=(0,Te.Z)(Ro,2),vi=No[0],di=No[1],Uo=se.useState(""),ei=(0,Te.Z)(Uo,2),Oo=ei[0],Xo=ei[1],Yo=se.useState(null),pi=(0,Te.Z)(Yo,2),Bi=pi[0],Mi=pi[1],ye=se.useState(null),ge=(0,Te.Z)(ye,2),it=ge[0],It=ge[1],Qt=vi||"";se.useEffect(function(){di(lo)},[lo]);var on=se.useRef(),wn=se.useRef();se.useImperativeHandle(Se,function(){return{nativeElement:on.current,inputElement:wn.current,focus:function(jr){wn.current.focus(jr)},blur:function(){wn.current.blur()}}});var bn=se.useMemo(function(){return new fo(Wn||"")},[Wn]),On=se.useMemo(function(){return Xn?[0,0]:bn.getSelection(Bi)},[bn,Bi,Xn]),Nn=(0,Te.Z)(On,2),ir=Nn[0],er=Nn[1],_n=function(jr){jr&&jr!==Wn&&jr!==lo&&Er()},zn=(0,Ke.zX)(function(Gr){Gn(Gr)&&sr(Gr),di(Gr),_n(Gr)}),Rn=function(jr){if(!Wn){var oo=jr.target.value;_n(oo),di(oo),sr(oo)}},Or=function(jr){var oo=jr.clipboardData.getData("text");Gn(oo)&&zn(oo)},cr=se.useRef(!1),Hr=function(){cr.current=!0},Nr=function(jr){var oo=jr.target,Sr=oo.selectionStart,xr=bn.getMaskCellIndex(Sr);Mi(xr),It({}),ro==null||ro(jr),cr.current=!1},_r=function(jr){Eo(!0),Mi(0),Xo(""),Ur(jr)},zr=function(jr){Ao(jr)},Yr=function(jr){Eo(!1),zr(jr)};wt(Xe,function(){!Xe&&!Mr&&di(lo)});var ao=function(jr){jr.key==="Enter"&&Gn(Qt)&&Fr(),Ir==null||Ir(jr)},po=function(jr){ao(jr);var oo=jr.key,Sr=null,xr=null,to=er-ir,go=Wn.slice(ir,er),Do=function(wi){Mi(function(ca){var Qi=ca+wi;return Qi=Math.max(Qi,0),Qi=Math.min(Qi,bn.size()-1),Qi})},$o=function(wi){var ca=bo(go),Qi=(0,Te.Z)(ca,3),ia=Qi[0],ma=Qi[1],ga=Qi[2],Ti=Qt.slice(ir,er),ki=Number(Ti);if(isNaN(ki))return String(ga||(wi>0?ia:ma));var Ia=ki+wi,Na=ma-ia+1;return String(ia+(Na+Ia-ia)%Na)};switch(oo){case"Backspace":case"Delete":Sr="",xr=go;break;case"ArrowLeft":Sr="",Do(-1);break;case"ArrowRight":Sr="",Do(1);break;case"ArrowUp":Sr="",xr=$o(1);break;case"ArrowDown":Sr="",xr=$o(-1);break;default:isNaN(Number(oo))||(Sr=Oo+oo,xr=Sr);break}if(Sr!==null&&(Xo(Sr),Sr.length>=to&&(Do(1),Xo(""))),xr!==null){var Co=Qt.slice(0,ir)+ce(xr,to)+Qt.slice(er);zn(Co.slice(0,Wn.length))}It({})},xo=se.useRef();(0,tn.Z)(function(){if(!(!Fo||!Wn||cr.current)){if(!bn.match(Qt)){zn(Wn);return}return wn.current.setSelectionRange(ir,er),xo.current=(0,Yn.Z)(function(){wn.current.setSelectionRange(ir,er)}),function(){Yn.Z.cancel(xo.current)}}},[bn,Wn,Fo,Qt,Bi,ir,er,it,zn]);var Qo=Wn?{onFocus:_r,onBlur:Yr,onKeyDown:po,onMouseDown:Hr,onMouseUp:Nr,onPaste:Or}:{};return se.createElement("div",{ref:on,className:Gt()(zo,(0,ln.Z)((0,ln.Z)({},"".concat(zo,"-active"),Xe&&Lt),"".concat(zo,"-placeholder"),Xn))},se.createElement(Go,(0,Me.Z)({ref:wn,"aria-invalid":Lr,autoComplete:"off"},So,{onKeyDown:ao,onBlur:zr},Qo,{value:Qt,onChange:Rn})),se.createElement(Wr,{type:"suffix",icon:Dn}),Tr)}),Si=ri,bi=["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"],Ki=["index"];function Wo(ie,Se){var Xe=ie.id,Bt=ie.prefix,Lt=ie.clearIcon,Dn=ie.suffixIcon,Wn=ie.separator,Gn=Wn===void 0?"~":Wn,sr=ie.activeIndex,mr=ie.activeHelp,Xn=ie.allHelp,Er=ie.focused,Fr=ie.onFocus,Ir=ie.onBlur,Dr=ie.onKeyDown,Mr=ie.locale,Lr=ie.generateConfig,Tr=ie.placeholder,So=ie.className,lo=ie.style,Ur=ie.onClick,Ao=ie.onClear,ro=ie.value,uo=ie.onChange,ai=ie.onSubmit,Ko=ie.onInputChange,Go=ie.format,zo=ie.maskFormat,ci=ie.preserveInvalidOnBlur,Jo=ie.onInvalid,Fo=ie.disabled,Eo=ie.invalid,Ro=ie.inputReadOnly,No=ie.direction,vi=ie.onOpenChange,di=ie.onActiveInfo,Uo=ie.placement,ei=ie.onMouseDown,Oo=ie.required,Xo=ie["aria-required"],Yo=ie.autoFocus,pi=ie.tabIndex,Bi=(0,Zn.Z)(ie,bi),Mi=No==="rtl",ye=se.useContext(te),ge=ye.prefixCls,it=se.useMemo(function(){if(typeof Xe=="string")return[Xe];var zr=Xe||{};return[zr.start,zr.end]},[Xe]),It=se.useRef(),Qt=se.useRef(),on=se.useRef(),wn=function(Yr){var ao;return(ao=[Qt,on][Yr])===null||ao===void 0?void 0:ao.current};se.useImperativeHandle(Se,function(){return{nativeElement:It.current,focus:function(Yr){if((0,Cn.Z)(Yr)==="object"){var ao,po=Yr||{},xo=po.index,Qo=xo===void 0?0:xo,Gr=(0,Zn.Z)(po,Ki);(ao=wn(Qo))===null||ao===void 0||ao.focus(Gr)}else{var jr;(jr=wn(Yr!=null?Yr:0))===null||jr===void 0||jr.focus()}},blur:function(){var Yr,ao;(Yr=wn(0))===null||Yr===void 0||Yr.blur(),(ao=wn(1))===null||ao===void 0||ao.blur()}}});var bn=$n(Bi),On=se.useMemo(function(){return Array.isArray(Tr)?Tr:[Tr,Tr]},[Tr]),Nn=An((0,pe.Z)((0,pe.Z)({},ie),{},{id:it,placeholder:On})),ir=(0,Te.Z)(Nn,1),er=ir[0],_n=se.useState({position:"absolute",width:0}),zn=(0,Te.Z)(_n,2),Rn=zn[0],Or=zn[1],cr=(0,Ke.zX)(function(){var zr=wn(sr);if(zr){var Yr=zr.nativeElement.getBoundingClientRect(),ao=It.current.getBoundingClientRect(),po=Yr.left-ao.left;Or(function(xo){return(0,pe.Z)((0,pe.Z)({},xo),{},{width:Yr.width,left:po})}),di([Yr.left,Yr.right,ao.width])}});se.useEffect(function(){cr()},[sr]);var Hr=Lt&&(ro[0]&&!Fo[0]||ro[1]&&!Fo[1]),Nr=Yo&&!Fo[0],_r=Yo&&!Nr&&!Fo[1];return se.createElement(Tn.Z,{onResize:cr},se.createElement("div",(0,Me.Z)({},bn,{className:Gt()(ge,"".concat(ge,"-range"),(0,ln.Z)((0,ln.Z)((0,ln.Z)((0,ln.Z)({},"".concat(ge,"-focused"),Er),"".concat(ge,"-disabled"),Fo.every(function(zr){return zr})),"".concat(ge,"-invalid"),Eo.some(function(zr){return zr})),"".concat(ge,"-rtl"),Mi),So),style:lo,ref:It,onClick:Ur,onMouseDown:function(Yr){var ao=Yr.target;ao!==Qt.current.inputElement&&ao!==on.current.inputElement&&Yr.preventDefault(),ei==null||ei(Yr)}}),Bt&&se.createElement("div",{className:"".concat(ge,"-prefix")},Bt),se.createElement(Si,(0,Me.Z)({ref:Qt},er(0),{autoFocus:Nr,tabIndex:pi,"date-range":"start"})),se.createElement("div",{className:"".concat(ge,"-range-separator")},Gn),se.createElement(Si,(0,Me.Z)({ref:on},er(1),{autoFocus:_r,tabIndex:pi,"date-range":"end"})),se.createElement("div",{className:"".concat(ge,"-active-bar"),style:Rn}),se.createElement(Wr,{type:"suffix",icon:Dn}),Hr&&se.createElement(Jr,{icon:Lt,onClear:Ao})))}var Mo=se.forwardRef(Wo),Wi=Mo;function zi(ie,Se){var Xe=ie!=null?ie:Se;return Array.isArray(Xe)?Xe:[Xe,Xe]}function Xi(ie){return ie===1?"end":"start"}function Wa(ie,Se){var Xe=Un(ie,function(){var ra=ie.disabled,Zi=ie.allowEmpty,Zo=zi(ra,!1),yi=zi(Zi,!1);return{disabled:Zo,allowEmpty:yi}}),Bt=(0,Te.Z)(Xe,6),Lt=Bt[0],Dn=Bt[1],Wn=Bt[2],Gn=Bt[3],sr=Bt[4],mr=Bt[5],Xn=Lt.prefixCls,Er=Lt.styles,Fr=Lt.classNames,Ir=Lt.defaultValue,Dr=Lt.value,Mr=Lt.needConfirm,Lr=Lt.onKeyDown,Tr=Lt.disabled,So=Lt.allowEmpty,lo=Lt.disabledDate,Ur=Lt.minDate,Ao=Lt.maxDate,ro=Lt.defaultOpen,uo=Lt.open,ai=Lt.onOpenChange,Ko=Lt.locale,Go=Lt.generateConfig,zo=Lt.picker,ci=Lt.showNow,Jo=Lt.showToday,Fo=Lt.showTime,Eo=Lt.mode,Ro=Lt.onPanelChange,No=Lt.onCalendarChange,vi=Lt.onOk,di=Lt.defaultPickerValue,Uo=Lt.pickerValue,ei=Lt.onPickerValueChange,Oo=Lt.inputReadOnly,Xo=Lt.suffixIcon,Yo=Lt.onFocus,pi=Lt.onBlur,Bi=Lt.presets,Mi=Lt.ranges,ye=Lt.components,ge=Lt.cellRender,it=Lt.dateRender,It=Lt.monthCellRender,Qt=Lt.onClick,on=rn(Se),wn=Mn(uo,ro,Tr,ai),bn=(0,Te.Z)(wn,2),On=bn[0],Nn=bn[1],ir=function(Zi,Zo){(Tr.some(function(yi){return!yi})||!Zi)&&Nn(Zi,Zo)},er=Ft(Go,Ko,Gn,!0,!1,Ir,Dr,No,vi),_n=(0,Te.Z)(er,5),zn=_n[0],Rn=_n[1],Or=_n[2],cr=_n[3],Hr=_n[4],Nr=Or(),_r=zt(Tr,So,On),zr=(0,Te.Z)(_r,9),Yr=zr[0],ao=zr[1],po=zr[2],xo=zr[3],Qo=zr[4],Gr=zr[5],jr=zr[6],oo=zr[7],Sr=zr[8],xr=function(Zi,Zo){ao(!0),Yo==null||Yo(Zi,{range:Xi(Zo!=null?Zo:xo)})},to=function(Zi,Zo){ao(!1),pi==null||pi(Zi,{range:Xi(Zo!=null?Zo:xo)})},go=se.useMemo(function(){if(!Fo)return null;var ra=Fo.disabledTime,Zi=ra?function(Zo){var yi=Xi(xo),Yi=pt(Nr,jr,xo);return ra(Zo,yi,{from:Yi})}:void 0;return(0,pe.Z)((0,pe.Z)({},Fo),{},{disabledTime:Zi})},[Fo,xo,Nr,jr]),Do=(0,Ke.C8)([zo,zo],{value:Eo}),$o=(0,Te.Z)(Do,2),Co=$o[0],Fi=$o[1],wi=Co[xo]||zo,ca=wi==="date"&&go?"datetime":wi,Qi=ca===zo&&ca!=="time",ia=Pn(zo,wi,ci,Jo,!0),ma=Kt(Lt,zn,Rn,Or,cr,Tr,Gn,Yr,On,mr),ga=(0,Te.Z)(ma,2),Ti=ga[0],ki=ga[1],Ia=Re(Nr,Tr,jr,Go,Ko,lo),Na=Le(Nr,mr,So),oi=(0,Te.Z)(Na,2),Ai=oi[0],ti=oi[1],Ho=St(Go,Ko,Nr,Co,On,xo,Dn,Qi,di,Uo,go==null?void 0:go.defaultOpenValue,ei,Ur,Ao),ji=(0,Te.Z)(Ho,2),$i=ji[0],ya=ji[1],qi=(0,Ke.zX)(function(ra,Zi,Zo){var yi=st(Co,xo,Zi);if((yi[0]!==Co[0]||yi[1]!==Co[1])&&Fi(yi),Ro&&Zo!==!1){var Yi=(0,Ht.Z)(Nr);ra&&(Yi[xo]=ra),Ro(Yi,yi)}}),ka=function(Zi,Zo){return st(Nr,Zo,Zi)},Sa=function(Zi,Zo){var yi=Nr;Zi&&(yi=ka(Zi,xo)),oo(xo);var Yi=Gr(yi);cr(yi),Ti(xo,Yi===null),Yi===null?ir(!1,{force:!0}):Zo||on.current.focus({index:Yi})},ui=function(Zi){var Zo,yi=Zi.target.getRootNode();if(!on.current.nativeElement.contains((Zo=yi.activeElement)!==null&&Zo!==void 0?Zo:document.activeElement)){var Yi=Tr.findIndex(function(Ua){return!Ua});Yi>=0&&on.current.focus({index:Yi})}ir(!0),Qt==null||Qt(Zi)},gi=function(){ki(null),ir(!1,{force:!0})},ea=se.useState(null),aa=(0,Te.Z)(ea,2),la=aa[0],za=aa[1],ba=se.useState(null),il=(0,Te.Z)(ba,2),va=il[0],Vi=il[1],ha=se.useMemo(function(){return va||Nr},[Nr,va]);se.useEffect(function(){On||Vi(null)},[On]);var Ca=se.useState([0,0,0]),Ha=(0,Te.Z)(Ca,2),La=Ha[0],Gi=Ha[1],Aa=or(Bi,Mi),na=function(Zi){Vi(Zi),za("preset")},al=function(Zi){var Zo=ki(Zi);Zo&&ir(!1,{force:!0})},ja=function(Zi){Sa(Zi)},dl=function(Zi){Vi(Zi?ka(Zi,xo):null),za("cell")},pl=function(Zi){ir(!0),xr(Zi)},Wl=function(){po("panel")},xa=function(Zi){var Zo=st(Nr,xo,Zi);cr(Zo),!Mr&&!Wn&&Dn===ca&&Sa(Zi)},cs=function(){ir(!1)},fl=Tt(ge,it,It,Xi(xo)),Ll=Nr[xo]||null,Pl=(0,Ke.zX)(function(ra){return mr(ra,{activeIndex:xo})}),Di=se.useMemo(function(){var ra=(0,jt.Z)(Lt,!1),Zi=(0,lt.Z)(Lt,[].concat((0,Ht.Z)(Object.keys(ra)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Zi},[Lt]),ni=se.createElement(Fn,(0,Me.Z)({},Di,{showNow:ia,showTime:go,range:!0,multiplePanel:Qi,activeInfo:La,disabledDate:Ia,onFocus:pl,onBlur:to,onPanelMouseDown:Wl,picker:zo,mode:wi,internalMode:ca,onPanelChange:qi,format:sr,value:Ll,isInvalid:Pl,onChange:null,onSelect:xa,pickerValue:$i,defaultOpenValue:De(Fo==null?void 0:Fo.defaultOpenValue)[xo],onPickerValueChange:ya,hoverValue:ha,onHover:dl,needConfirm:Mr,onSubmit:Sa,onOk:Hr,presets:Aa,onPresetHover:na,onPresetSubmit:al,onNow:ja,cellRender:fl})),Ra=function(Zi,Zo){var yi=ka(Zi,Zo);cr(yi)},gl=function(){po("input")},Rl=function(Zi,Zo){var yi=jr.length,Yi=jr[yi-1];if(yi&&Yi!==Zo&&Mr&&!So[Yi]&&!Sr(Yi)&&Nr[Yi]){on.current.focus({index:Yi});return}po("input"),ir(!0,{inherit:!0}),xo!==Zo&&On&&!Mr&&Wn&&Sa(null,!0),Qo(Zo),xr(Zi,Zo)},Jl=function(Zi,Zo){if(ir(!1),!Mr&&po()==="input"){var yi=Gr(Nr);Ti(xo,yi===null)}to(Zi,Zo)},Is=function(Zi,Zo){Zi.key==="Tab"&&Sa(null,!0),Lr==null||Lr(Zi,Zo)},Bs=se.useMemo(function(){return{prefixCls:Xn,locale:Ko,generateConfig:Go,button:ye.button,input:ye.input}},[Xn,Ko,Go,ye.button,ye.input]);if((0,tn.Z)(function(){On&&xo!==void 0&&qi(null,zo,!1)},[On,xo,zo]),(0,tn.Z)(function(){var ra=po();!On&&ra==="input"&&(ir(!1),Sa(null,!0)),!On&&Wn&&!Mr&&ra==="panel"&&(ir(!0),Sa())},[On]),0)var Zs;return se.createElement(te.Provider,{value:Bs},se.createElement(re,(0,Me.Z)({},Pt(Lt),{popupElement:ni,popupStyle:Er.popup,popupClassName:Fr.popup,visible:On,onClose:cs,range:!0}),se.createElement(Wi,(0,Me.Z)({},Lt,{ref:on,suffixIcon:Xo,activeIndex:Yr||On?xo: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:Oo,disabled:Tr,open:On,onOpenChange:ir,onClick:ui,onClear:gi,invalid:Ai,onInvalid:ti,onActiveInfo:Gi}))))}var Pa=se.forwardRef(Wa),Ta=Pa,Ba=z(83836);function Ui(ie){var Se=ie.prefixCls,Xe=ie.value,Bt=ie.onRemove,Lt=ie.removeIcon,Dn=Lt===void 0?"\xD7":Lt,Wn=ie.formatDate,Gn=ie.disabled,sr=ie.maxTagCount,mr=ie.placeholder,Xn="".concat(Se,"-selector"),Er="".concat(Se,"-selection"),Fr="".concat(Er,"-overflow");function Ir(Lr,Tr){return se.createElement("span",{className:Gt()("".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(lo){lo.preventDefault()},onClick:Tr,className:"".concat(Er,"-item-remove")},Dn))}function Dr(Lr){var Tr=Wn(Lr),So=function(Ur){Ur&&Ur.stopPropagation(),Bt(Lr)};return Ir(Tr,So)}function Mr(Lr){var Tr="+ ".concat(Lr.length," ...");return Ir(Tr)}return se.createElement("div",{className:Xn},se.createElement(Ba.Z,{prefixCls:Fr,data:Xe,renderItem:Dr,renderRest:Mr,itemKey:function(Tr){return Wn(Tr)},maxCount:sr}),!Xe.length&&se.createElement("span",{className:"".concat(Se,"-selection-placeholder")},mr))}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(ie,Se){var Xe=ie.id,Bt=ie.open,Lt=ie.prefix,Dn=ie.clearIcon,Wn=ie.suffixIcon,Gn=ie.activeHelp,sr=ie.allHelp,mr=ie.focused,Xn=ie.onFocus,Er=ie.onBlur,Fr=ie.onKeyDown,Ir=ie.locale,Dr=ie.generateConfig,Mr=ie.placeholder,Lr=ie.className,Tr=ie.style,So=ie.onClick,lo=ie.onClear,Ur=ie.internalPicker,Ao=ie.value,ro=ie.onChange,uo=ie.onSubmit,ai=ie.onInputChange,Ko=ie.multiple,Go=ie.maxTagCount,zo=ie.format,ci=ie.maskFormat,Jo=ie.preserveInvalidOnBlur,Fo=ie.onInvalid,Eo=ie.disabled,Ro=ie.invalid,No=ie.inputReadOnly,vi=ie.direction,di=ie.onOpenChange,Uo=ie.onMouseDown,ei=ie.required,Oo=ie["aria-required"],Xo=ie.autoFocus,Yo=ie.tabIndex,pi=ie.removeIcon,Bi=(0,Zn.Z)(ie,Fa),Mi=vi==="rtl",ye=se.useContext(te),ge=ye.prefixCls,it=se.useRef(),It=se.useRef();se.useImperativeHandle(Se,function(){return{nativeElement:it.current,focus:function(Rn){var Or;(Or=It.current)===null||Or===void 0||Or.focus(Rn)},blur:function(){var Rn;(Rn=It.current)===null||Rn===void 0||Rn.blur()}}});var Qt=$n(Bi),on=function(Rn){ro([Rn])},wn=function(Rn){var Or=Ao.filter(function(cr){return cr&&!qn(Dr,Ir,cr,Rn,Ur)});ro(Or),Bt||uo()},bn=An((0,pe.Z)((0,pe.Z)({},ie),{},{onChange:on}),function(zn){var Rn=zn.valueTexts;return{value:Rn[0]||"",active:mr}}),On=(0,Te.Z)(bn,2),Nn=On[0],ir=On[1],er=!!(Dn&&Ao.length&&!Eo),_n=Ko?se.createElement(se.Fragment,null,se.createElement(Ui,{prefixCls:ge,value:Ao,onRemove:wn,formatDate:ir,maxTagCount:Go,disabled:Eo,removeIcon:pi,placeholder:Mr}),se.createElement("input",{className:"".concat(ge,"-multiple-input"),value:Ao.map(ir).join(","),ref:It,readOnly:!0,autoFocus:Xo,tabIndex:Yo}),se.createElement(Wr,{type:"suffix",icon:Wn}),er&&se.createElement(Jr,{icon:Dn,onClear:lo})):se.createElement(Si,(0,Me.Z)({ref:It},Nn(),{autoFocus:Xo,tabIndex:Yo,suffixIcon:Wn,clearIcon:er&&se.createElement(Jr,{icon:Dn,onClear:lo}),showActiveCls:!1}));return se.createElement("div",(0,Me.Z)({},Qt,{className:Gt()(ge,(0,ln.Z)((0,ln.Z)((0,ln.Z)((0,ln.Z)((0,ln.Z)({},"".concat(ge,"-multiple"),Ko),"".concat(ge,"-focused"),mr),"".concat(ge,"-disabled"),Eo),"".concat(ge,"-invalid"),Ro),"".concat(ge,"-rtl"),Mi),Lr),style:Tr,ref:it,onClick:So,onMouseDown:function(Rn){var Or,cr=Rn.target;cr!==((Or=It.current)===null||Or===void 0?void 0:Or.inputElement)&&Rn.preventDefault(),Uo==null||Uo(Rn)}}),Lt&&se.createElement("div",{className:"".concat(ge,"-prefix")},Lt),_n)}var Ja=se.forwardRef(ul),Ji=Ja;function Nl(ie,Se){var Xe=Un(ie),Bt=(0,Te.Z)(Xe,6),Lt=Bt[0],Dn=Bt[1],Wn=Bt[2],Gn=Bt[3],sr=Bt[4],mr=Bt[5],Xn=Lt,Er=Xn.prefixCls,Fr=Xn.styles,Ir=Xn.classNames,Dr=Xn.order,Mr=Xn.defaultValue,Lr=Xn.value,Tr=Xn.needConfirm,So=Xn.onChange,lo=Xn.onKeyDown,Ur=Xn.disabled,Ao=Xn.disabledDate,ro=Xn.minDate,uo=Xn.maxDate,ai=Xn.defaultOpen,Ko=Xn.open,Go=Xn.onOpenChange,zo=Xn.locale,ci=Xn.generateConfig,Jo=Xn.picker,Fo=Xn.showNow,Eo=Xn.showToday,Ro=Xn.showTime,No=Xn.mode,vi=Xn.onPanelChange,di=Xn.onCalendarChange,Uo=Xn.onOk,ei=Xn.multiple,Oo=Xn.defaultPickerValue,Xo=Xn.pickerValue,Yo=Xn.onPickerValueChange,pi=Xn.inputReadOnly,Bi=Xn.suffixIcon,Mi=Xn.removeIcon,ye=Xn.onFocus,ge=Xn.onBlur,it=Xn.presets,It=Xn.components,Qt=Xn.cellRender,on=Xn.dateRender,wn=Xn.monthCellRender,bn=Xn.onClick,On=rn(Se);function Nn(Di){return Di===null?null:ei?Di:Di[0]}var ir=Br(ci,zo,Dn),er=Mn(Ko,ai,[Ur],Go),_n=(0,Te.Z)(er,2),zn=_n[0],Rn=_n[1],Or=function(ni,Ra,gl){if(di){var Rl=(0,pe.Z)({},gl);delete Rl.range,di(Nn(ni),Nn(Ra),Rl)}},cr=function(ni){Uo==null||Uo(Nn(ni))},Hr=Ft(ci,zo,Gn,!1,Dr,Mr,Lr,Or,cr),Nr=(0,Te.Z)(Hr,5),_r=Nr[0],zr=Nr[1],Yr=Nr[2],ao=Nr[3],po=Nr[4],xo=Yr(),Qo=zt([Ur]),Gr=(0,Te.Z)(Qo,4),jr=Gr[0],oo=Gr[1],Sr=Gr[2],xr=Gr[3],to=function(ni){oo(!0),ye==null||ye(ni,{})},go=function(ni){oo(!1),ge==null||ge(ni,{})},Do=(0,Ke.C8)(Jo,{value:No}),$o=(0,Te.Z)(Do,2),Co=$o[0],Fi=$o[1],wi=Co==="date"&&Ro?"datetime":Co,ca=Pn(Jo,Co,Fo,Eo),Qi=So&&function(Di,ni){So(Nn(Di),Nn(ni))},ia=Kt((0,pe.Z)((0,pe.Z)({},Lt),{},{onChange:Qi}),_r,zr,Yr,ao,[],Gn,jr,zn,mr),ma=(0,Te.Z)(ia,2),ga=ma[1],Ti=Le(xo,mr),ki=(0,Te.Z)(Ti,2),Ia=ki[0],Na=ki[1],oi=se.useMemo(function(){return Ia.some(function(Di){return Di})},[Ia]),Ai=function(ni,Ra){if(Yo){var gl=(0,pe.Z)((0,pe.Z)({},Ra),{},{mode:Ra.mode[0]});delete gl.range,Yo(ni[0],gl)}},ti=St(ci,zo,xo,[Co],zn,xr,Dn,!1,Oo,Xo,De(Ro==null?void 0:Ro.defaultOpenValue),Ai,ro,uo),Ho=(0,Te.Z)(ti,2),ji=Ho[0],$i=Ho[1],ya=(0,Ke.zX)(function(Di,ni,Ra){if(Fi(ni),vi&&Ra!==!1){var gl=Di||xo[xo.length-1];vi(gl,ni)}}),qi=function(){ga(Yr()),Rn(!1,{force:!0})},ka=function(ni){!Ur&&!On.current.nativeElement.contains(document.activeElement)&&On.current.focus(),Rn(!0),bn==null||bn(ni)},Sa=function(){ga(null),Rn(!1,{force:!0})},ui=se.useState(null),gi=(0,Te.Z)(ui,2),ea=gi[0],aa=gi[1],la=se.useState(null),za=(0,Te.Z)(la,2),ba=za[0],il=za[1],va=se.useMemo(function(){var Di=[ba].concat((0,Ht.Z)(xo)).filter(function(ni){return ni});return ei?Di:Di.slice(0,1)},[xo,ba,ei]),Vi=se.useMemo(function(){return!ei&&ba?[ba]:xo.filter(function(Di){return Di})},[xo,ba,ei]);se.useEffect(function(){zn||il(null)},[zn]);var ha=or(it),Ca=function(ni){il(ni),aa("preset")},Ha=function(ni){var Ra=ei?ir(Yr(),ni):[ni],gl=ga(Ra);gl&&!ei&&Rn(!1,{force:!0})},La=function(ni){Ha(ni)},Gi=function(ni){il(ni),aa("cell")},Aa=function(ni){Rn(!0),to(ni)},na=function(ni){if(Sr("panel"),!(ei&&wi!==Jo)){var Ra=ei?ir(Yr(),ni):[ni];ao(Ra),!Tr&&!Wn&&Dn===wi&&qi()}},al=function(){Rn(!1)},ja=Tt(Qt,on,wn),dl=se.useMemo(function(){var Di=(0,jt.Z)(Lt,!1),ni=(0,lt.Z)(Lt,[].concat((0,Ht.Z)(Object.keys(Di)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,pe.Z)((0,pe.Z)({},ni),{},{multiple:Lt.multiple})},[Lt]),pl=se.createElement(Fn,(0,Me.Z)({},dl,{showNow:ca,showTime:Ro,disabledDate:Ao,onFocus:Aa,onBlur:go,picker:Jo,mode:Co,internalMode:wi,onPanelChange:ya,format:sr,value:xo,isInvalid:mr,onChange:null,onSelect:na,pickerValue:ji,defaultOpenValue:Ro==null?void 0:Ro.defaultOpenValue,onPickerValueChange:$i,hoverValue:va,onHover:Gi,needConfirm:Tr,onSubmit:qi,onOk:po,presets:ha,onPresetHover:Ca,onPresetSubmit:Ha,onNow:La,cellRender:ja})),Wl=function(ni){ao(ni)},xa=function(){Sr("input")},cs=function(ni){Sr("input"),Rn(!0,{inherit:!0}),to(ni)},fl=function(ni){Rn(!1),go(ni)},Ll=function(ni,Ra){ni.key==="Tab"&&qi(),lo==null||lo(ni,Ra)},Pl=se.useMemo(function(){return{prefixCls:Er,locale:zo,generateConfig:ci,button:It.button,input:It.input}},[Er,zo,ci,It.button,It.input]);return(0,tn.Z)(function(){zn&&xr!==void 0&&ya(null,Jo,!1)},[zn,xr,Jo]),(0,tn.Z)(function(){var Di=Sr();!zn&&Di==="input"&&(Rn(!1),qi()),!zn&&Wn&&!Tr&&Di==="panel"&&qi()},[zn]),se.createElement(te.Provider,{value:Pl},se.createElement(re,(0,Me.Z)({},Pt(Lt),{popupElement:pl,popupStyle:Fr.popup,popupClassName:Ir.popup,visible:zn,onClose:al}),se.createElement(Ji,(0,Me.Z)({},Lt,{ref:On,suffixIcon:Bi,removeIcon:Mi,activeHelp:!!ba,allHelp:!!ba&&ea==="preset",focused:jr,onFocus:cs,onBlur:fl,onKeyDown:Ll,onSubmit:qi,value:Vi,maskFormat:sr,onChange:Wl,onInputChange:xa,internalPicker:Dn,format:Gn,inputReadOnly:pi,disabled:Ur,open:zn,onOpenChange:Rn,onClick:ka,onClear:Sa,invalid:oi,onInvalid:function(ni){Na(ni,0)}}))))}var El=se.forwardRef(Nl),hi=El,mi=hi,wo=z(62487),ho=z(75030),To=z(82855),si=z(48755),da=z(2171),Ri=z(83397),Li=z(31756),Oi=z(56553),pa=z(24971),Ea=z(9017),Oa=z(70045),Ya=z(57428),Ii=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=(ie,Se)=>{const{componentCls:Xe,controlHeight:Bt}=ie,Lt=Se?`${Xe}-${Se}`:"",Dn=(0,as.gp)(ie);return[{[`${Xe}-multiple${Lt}`]:{paddingBlock:Dn.containerPadding,paddingInlineStart:Dn.basePadding,minHeight:Bt,[`${Xe}-selection-item`]:{height:Dn.itemHeight,lineHeight:(0,Ii.unit)(Dn.itemLineHeight)}}}]};var rs=ie=>{const{componentCls:Se,calc:Xe,lineWidth:Bt}=ie,Lt=(0,Yl.mergeToken)(ie,{fontHeight:ie.fontSize,selectHeight:ie.controlHeightSM,multipleSelectItemHeight:ie.multipleItemHeightSM,borderRadius:ie.borderRadiusSM,borderRadiusSM:ie.borderRadiusXS,controlHeight:ie.controlHeightSM}),Dn=(0,Yl.mergeToken)(ie,{fontHeight:Xe(ie.multipleItemHeightLG).sub(Xe(Bt).mul(2).equal()).equal(),fontSize:ie.fontSizeLG,selectHeight:ie.controlHeightLG,multipleSelectItemHeight:ie.multipleItemHeightLG,borderRadius:ie.borderRadiusLG,borderRadiusSM:ie.borderRadius,controlHeight:ie.controlHeightLG});return[ns(Lt,"small"),ns(ie),ns(Dn,"large"),{[`${Se}${Se}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Se}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Se}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:ie.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${ie.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:ie.colorTextPlaceholder,pointerEvents:"none"}}},(0,as._z)(ie)),{[`${Se}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Dl=z(17835);const Gl=ie=>{const{pickerCellCls:Se,pickerCellInnerCls:Xe,cellHeight:Bt,borderRadiusSM:Lt,motionDurationMid:Dn,cellHoverBg:Wn,lineWidth:Gn,lineType:sr,colorPrimary:mr,cellActiveWithRangeBg:Xn,colorTextLightSolid:Er,colorTextDisabled:Fr,cellBgDisabled:Ir,colorFillSecondary:Dr}=ie;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Bt,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Xe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Bt,height:Bt,lineHeight:(0,Ii.unit)(Bt),borderRadius:Lt,transition:`background ${Dn}`},[`&:hover:not(${Se}-in-view):not(${Se}-disabled),
|
|
|
&:hover:not(${Se}-selected):not(${Se}-range-start):not(${Se}-range-end):not(${Se}-disabled)`]:{[Xe]:{background:Wn}},[`&-in-view${Se}-today ${Xe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,Ii.unit)(Gn)} ${sr} ${mr}`,borderRadius:Lt,content:'""'}},[`&-in-view${Se}-in-range,
|
|
|
&-in-view${Se}-range-start,
|
|
|
&-in-view${Se}-range-end`]:{position:"relative",[`&:not(${Se}-disabled):before`]:{background:Xn}},[`&-in-view${Se}-selected,
|
|
|
&-in-view${Se}-range-start,
|
|
|
&-in-view${Se}-range-end`]:{[`&:not(${Se}-disabled) ${Xe}`]:{color:Er,background:mr},[`&${Se}-disabled ${Xe}`]:{background:Dr}},[`&-in-view${Se}-range-start:not(${Se}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Se}-range-end:not(${Se}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Se}-range-start:not(${Se}-range-end) ${Xe}`]:{borderStartStartRadius:Lt,borderEndStartRadius:Lt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Se}-range-end:not(${Se}-range-start) ${Xe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Lt,borderEndEndRadius:Lt},"&-disabled":{color:Fr,cursor:"not-allowed",[Xe]:{background:"transparent"},"&::before":{background:Ir}},[`&-disabled${Se}-today ${Xe}::before`]:{borderColor:Fr}}},os=ie=>{const{componentCls:Se,pickerCellCls:Xe,pickerCellInnerCls:Bt,pickerYearMonthCellWidth:Lt,pickerControlIconSize:Dn,cellWidth:Wn,paddingSM:Gn,paddingXS:sr,paddingXXS:mr,colorBgContainer:Xn,lineWidth:Er,lineType:Fr,borderRadiusLG:Ir,colorPrimary:Dr,colorTextHeading:Mr,colorSplit:Lr,pickerControlIconBorderWidth:Tr,colorIcon:So,textHeight:lo,motionDurationMid:Ur,colorIconHover:Ao,fontWeightStrong:ro,cellHeight:uo,pickerCellPaddingVertical:ai,colorTextDisabled:Ko,colorText:Go,fontSize:zo,motionDurationSlow:ci,withoutTimeCellHeight:Jo,pickerQuarterPanelContentHeight:Fo,borderRadiusSM:Eo,colorTextLightSolid:Ro,cellHoverBg:No,timeColumnHeight:vi,timeColumnWidth:di,timeCellHeight:Uo,controlItemBgActive:ei,marginXXS:Oo,pickerDatePanelPaddingHorizontal:Xo,pickerControlIconMargin:Yo}=ie,pi=ie.calc(Wn).mul(7).add(ie.calc(Xo).mul(2)).equal();return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Xn,borderRadius:Ir,outline:"none","&-focused":{borderColor:Dr},"&-rtl":{[`${Se}-prev-icon,
|
|
|
${Se}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Se}-next-icon,
|
|
|
${Se}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Se}-time-panel`]:{[`${Se}-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:pi},"&-header":{display:"flex",padding:`0 ${(0,Ii.unit)(sr)}`,color:Mr,borderBottom:`${(0,Ii.unit)(Er)} ${Fr} ${Lr}`,"> *":{flex:"none"},button:{padding:0,color:So,lineHeight:(0,Ii.unit)(lo),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:zo,"&:hover":{color:Ao},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:ro,lineHeight:(0,Ii.unit)(lo),"> 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:Dn,height:Dn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:Dn,height:Dn,border:"0 solid currentcolor",borderBlockStartWidth:Tr,borderInlineStartWidth:Tr,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Yo,insetInlineStart:Yo,display:"inline-block",width:Dn,height:Dn,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:uo,fontWeight:"normal"},th:{height:ie.calc(uo).add(ie.calc(ai).mul(2)).equal(),color:Go,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,Ii.unit)(ai)} 0`,color:Ko,cursor:"pointer","&-in-view":{color:Go}},Gl(ie)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-content`]:{height:ie.calc(Jo).mul(4).equal()},[Bt]:{padding:`0 ${(0,Ii.unit)(sr)}`}},"&-quarter-panel":{[`${Se}-content`]:{height:Fo}},"&-decade-panel":{[Bt]:{padding:`0 ${(0,Ii.unit)(ie.calc(sr).div(2).equal())}`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${(0,Ii.unit)(sr)}`},[Bt]:{width:Lt}},"&-date-panel":{[`${Se}-body`]:{padding:`${(0,Ii.unit)(sr)} ${(0,Ii.unit)(Xo)}`},[`${Se}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Se}-cell`]:{[`&:hover ${Bt},
|
|
|
&-selected ${Bt},
|
|
|
${Bt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ur}`},"&:first-child:before":{borderStartStartRadius:Eo,borderEndStartRadius:Eo},"&:last-child:before":{borderStartEndRadius:Eo,borderEndEndRadius:Eo}},"&:hover td:before":{background:No},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${Xe}`]:{"&:before":{background:Dr},[`&${Se}-cell-week`]:{color:new Dl.FastColor(Ro).setA(.5).toHexString()},[Bt]:{color:Ro}}},"&-range-hover td:before":{background:ei}}},"&-week-panel, &-date-panel-show-week":{[`${Se}-body`]:{padding:`${(0,Ii.unit)(sr)} ${(0,Ii.unit)(Gn)}`},[`${Se}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Se}-time-panel`]:{borderInlineStart:`${(0,Ii.unit)(Er)} ${Fr} ${Lr}`},[`${Se}-date-panel,
|
|
|
${Se}-time-panel`]:{transition:`opacity ${ci}`},"&-active":{[`${Se}-date-panel,
|
|
|
${Se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Se}-content`]:{display:"flex",flex:"auto",height:vi},"&-column":{flex:"1 0 auto",width:di,margin:`${(0,Ii.unit)(mr)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ur}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:ie.colorTextTertiary,borderRadius:ie.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${ie.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,Ii.unit)(Uo)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,Ii.unit)(Er)} ${Fr} ${Lr}`},"&-active":{background:new Dl.FastColor(ei).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Se}-time-panel-cell`]:{marginInline:Oo,[`${Se}-time-panel-cell-inner`]:{display:"block",width:ie.calc(di).sub(ie.calc(Oo).mul(2)).equal(),height:Uo,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:ie.calc(di).sub(Uo).div(2).equal(),color:Go,lineHeight:(0,Ii.unit)(Uo),borderRadius:Eo,cursor:"pointer",transition:`background ${Ur}`,"&:hover":{background:No}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:ei}},"&-disabled":{[`${Se}-time-panel-cell-inner`]:{color:Ko,background:"transparent",cursor:"not-allowed"}}}}}}}}};var _l=ie=>{const{componentCls:Se,textHeight:Xe,lineWidth:Bt,paddingSM:Lt,antCls:Dn,colorPrimary:Wn,cellActiveWithRangeBg:Gn,colorPrimaryBorder:sr,lineType:mr,colorSplit:Xn}=ie;return{[`${Se}-dropdown`]:{[`${Se}-footer`]:{borderTop:`${(0,Ii.unit)(Bt)} ${mr} ${Xn}`,"&-extra":{padding:`0 ${(0,Ii.unit)(Lt)}`,lineHeight:(0,Ii.unit)(ie.calc(Xe).sub(ie.calc(Bt).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,Ii.unit)(Bt)} ${mr} ${Xn}`}}},[`${Se}-panels + ${Se}-footer ${Se}-ranges`]:{justifyContent:"space-between"},[`${Se}-ranges`]:{marginBlock:0,paddingInline:(0,Ii.unit)(Lt),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,Ii.unit)(ie.calc(Xe).sub(ie.calc(Bt).mul(2)).equal()),display:"inline-block"},[`${Se}-now-btn-disabled`]:{pointerEvents:"none",color:ie.colorTextDisabled},[`${Se}-preset > ${Dn}-tag-blue`]:{color:Wn,background:Gn,borderColor:sr,cursor:"pointer"},[`${Se}-ok`]:{paddingBlock:ie.calc(Bt).mul(2).equal(),marginInlineStart:"auto"}}}}};const is=ie=>{const{componentCls:Se,controlHeightLG:Xe,paddingXXS:Bt,padding:Lt}=ie;return{pickerCellCls:`${Se}-cell`,pickerCellInnerCls:`${Se}-cell-inner`,pickerYearMonthCellWidth:ie.calc(Xe).mul(1.5).equal(),pickerQuarterPanelContentHeight:ie.calc(Xe).mul(1.4).equal(),pickerCellPaddingVertical:ie.calc(Bt).add(ie.calc(Bt).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ie.calc(Lt).add(ie.calc(Bt).div(2)).equal()}},$a=ie=>{const{colorBgContainerDisabled:Se,controlHeight:Xe,controlHeightSM:Bt,controlHeightLG:Lt,paddingXXS:Dn,lineWidth:Wn}=ie,Gn=Dn*2,sr=Wn*2,mr=Math.min(Xe-Gn,Xe-sr),Xn=Math.min(Bt-Gn,Bt-sr),Er=Math.min(Lt-Gn,Lt-sr);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Dn/2),cellHoverBg:ie.controlItemBgHover,cellActiveWithRangeBg:ie.controlItemBgActive,cellHoverWithRangeBg:new Dl.FastColor(ie.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Dl.FastColor(ie.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Se,timeColumnWidth:Lt*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Bt*1.5,cellHeight:Bt,textHeight:Lt,withoutTimeCellHeight:Lt*1.65,multipleItemBg:ie.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:mr,multipleItemHeightSM:Xn,multipleItemHeightLG:Er,multipleSelectorBgDisabled:Se,multipleItemColorDisabled:ie.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Qa=ie=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,wl.T)(ie)),$a(ie)),(0,xl.w)(ie)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ie.zIndexPopupBase+50});var fa=z(39082),Ci=ie=>{const{componentCls:Se}=ie;return{[Se]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,fa.qG)(ie)),(0,fa.vc)(ie)),(0,fa.H8)(ie)),(0,fa.Mu)(ie)),{"&-outlined":{[`&${Se}-multiple ${Se}-selection-item`]:{background:ie.multipleItemBg,border:`${(0,Ii.unit)(ie.lineWidth)} ${ie.lineType} ${ie.multipleItemBorderColor}`}},"&-filled":{[`&${Se}-multiple ${Se}-selection-item`]:{background:ie.colorBgContainer,border:`${(0,Ii.unit)(ie.lineWidth)} ${ie.lineType} ${ie.colorSplit}`}},"&-borderless":{[`&${Se}-multiple ${Se}-selection-item`]:{background:ie.multipleItemBg,border:`${(0,Ii.unit)(ie.lineWidth)} ${ie.lineType} ${ie.multipleItemBorderColor}`}},"&-underlined":{[`&${Se}-multiple ${Se}-selection-item`]:{background:ie.multipleItemBg,border:`${(0,Ii.unit)(ie.lineWidth)} ${ie.lineType} ${ie.multipleItemBorderColor}`}}}]}};const sa=(ie,Se,Xe,Bt)=>{const Lt=ie.calc(Xe).add(2).equal(),Dn=ie.max(ie.calc(Se).sub(Lt).div(2).equal(),0),Wn=ie.max(ie.calc(Se).sub(Lt).sub(Dn).equal(),0);return{padding:`${(0,Ii.unit)(Dn)} ${(0,Ii.unit)(Bt)} ${(0,Ii.unit)(Wn)}`}},Ma=ie=>{const{componentCls:Se,colorError:Xe,colorWarning:Bt}=ie;return{[`${Se}:not(${Se}-disabled):not([disabled])`]:{[`&${Se}-status-error`]:{[`${Se}-active-bar`]:{background:Xe}},[`&${Se}-status-warning`]:{[`${Se}-active-bar`]:{background:Bt}}}}},wa=ie=>{const{componentCls:Se,antCls:Xe,controlHeight:Bt,paddingInline:Lt,lineWidth:Dn,lineType:Wn,colorBorder:Gn,borderRadius:sr,motionDurationMid:mr,colorTextDisabled:Xn,colorTextPlaceholder:Er,controlHeightLG:Fr,fontSizeLG:Ir,controlHeightSM:Dr,paddingInlineSM:Mr,paddingXS:Lr,marginXS:Tr,colorTextDescription:So,lineWidthBold:lo,colorPrimary:Ur,motionDurationSlow:Ao,zIndexPopup:ro,paddingXXS:uo,sizePopupArrow:ai,colorBgElevated:Ko,borderRadiusLG:Go,boxShadowSecondary:zo,borderRadiusSM:ci,colorSplit:Jo,cellHoverBg:Fo,presetsWidth:Eo,presetsMaxWidth:Ro,boxShadowPopoverArrow:No,fontHeight:vi,fontHeightLG:di,lineHeightLG:Uo}=ie;return[{[Se]:Object.assign(Object.assign(Object.assign({},(0,cl.Wf)(ie)),sa(ie,Bt,vi,Lt)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:sr,transition:`border ${mr}, box-shadow ${mr}, background ${mr}`,[`${Se}-prefix`]:{flex:"0 0 auto",marginInlineEnd:ie.inputAffixPadding},[`${Se}-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:ie.fontSize,lineHeight:ie.lineHeight,transition:`all ${mr}`},(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:Xn,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:Er}}},"&-large":Object.assign(Object.assign({},sa(ie,Fr,di,Lt)),{[`${Se}-input > input`]:{fontSize:Ir,lineHeight:Uo}}),"&-small":Object.assign({},sa(ie,Dr,vi,Mr)),[`${Se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ie.calc(Lr).div(2).equal(),color:Xn,lineHeight:1,pointerEvents:"none",transition:`opacity ${mr}, color ${mr}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Tr}}},[`${Se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Xn,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${mr}, color ${mr}`,"> *":{verticalAlign:"top"},"&:hover":{color:So}},"&:hover":{[`${Se}-clear`]:{opacity:1},[`${Se}-suffix:not(:last-child)`]:{opacity:0}},[`${Se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Ir,color:Xn,fontSize:Ir,verticalAlign:"top",cursor:"default",[`${Se}-focused &`]:{color:So},[`${Se}-range-separator &`]:{[`${Se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Se}-active-bar`]:{bottom:ie.calc(Dn).mul(-1).equal(),height:lo,background:Ur,opacity:0,transition:`all ${Ao} ease-out`,pointerEvents:"none"},[`&${Se}-focused`]:{[`${Se}-active-bar`]:{opacity:1}},[`${Se}-range-separator`]:{alignItems:"center",padding:`0 ${(0,Ii.unit)(Lr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Se}-clear`]:{insetInlineEnd:Lt},[`&${Se}-small`]:{[`${Se}-clear`]:{insetInlineEnd:Mr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,cl.Wf)(ie)),os(ie)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ro,[`&${Se}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Se}-dropdown-placement-bottomLeft,
|
|
|
&${Se}-dropdown-placement-bottomRight`]:{[`${Se}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Se}-dropdown-placement-topLeft,
|
|
|
&${Se}-dropdown-placement-topRight`]:{[`${Se}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Xe}-slide-up-appear, &${Xe}-slide-up-enter`]:{[`${Se}-range-arrow${Se}-range-arrow`]:{transition:"none"}},[`&${Xe}-slide-up-enter${Xe}-slide-up-enter-active${Se}-dropdown-placement-topLeft,
|
|
|
&${Xe}-slide-up-enter${Xe}-slide-up-enter-active${Se}-dropdown-placement-topRight,
|
|
|
&${Xe}-slide-up-appear${Xe}-slide-up-appear-active${Se}-dropdown-placement-topLeft,
|
|
|
&${Xe}-slide-up-appear${Xe}-slide-up-appear-active${Se}-dropdown-placement-topRight`]:{animationName:Xa.Qt},[`&${Xe}-slide-up-enter${Xe}-slide-up-enter-active${Se}-dropdown-placement-bottomLeft,
|
|
|
&${Xe}-slide-up-enter${Xe}-slide-up-enter-active${Se}-dropdown-placement-bottomRight,
|
|
|
&${Xe}-slide-up-appear${Xe}-slide-up-appear-active${Se}-dropdown-placement-bottomLeft,
|
|
|
&${Xe}-slide-up-appear${Xe}-slide-up-appear-active${Se}-dropdown-placement-bottomRight`]:{animationName:Xa.fJ},[`&${Xe}-slide-up-leave ${Se}-panel-container`]:{pointerEvents:"none"},[`&${Xe}-slide-up-leave${Xe}-slide-up-leave-active${Se}-dropdown-placement-topLeft,
|
|
|
&${Xe}-slide-up-leave${Xe}-slide-up-leave-active${Se}-dropdown-placement-topRight`]:{animationName:Xa.ly},[`&${Xe}-slide-up-leave${Xe}-slide-up-leave-active${Se}-dropdown-placement-bottomLeft,
|
|
|
&${Xe}-slide-up-leave${Xe}-slide-up-leave-active${Se}-dropdown-placement-bottomRight`]:{animationName:Xa.Uw},[`${Se}-panel > ${Se}-time-panel`]:{paddingTop:uo},[`${Se}-range-wrapper`]:{display:"flex",position:"relative"},[`${Se}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:ie.calc(Lt).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Ao} ease-out`},(0,xl.W)(ie,Ko,No)),{"&:before":{insetInlineStart:ie.calc(Lt).mul(1.5).equal()}}),[`${Se}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ko,borderRadius:Go,boxShadow:zo,transition:`margin ${Ao}`,display:"inline-block",pointerEvents:"auto",[`${Se}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Se}-presets`]:{display:"flex",flexDirection:"column",minWidth:Eo,maxWidth:Ro,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Lr,borderInlineEnd:`${(0,Ii.unit)(Dn)} ${Wn} ${Jo}`,li:Object.assign(Object.assign({},cl.vS),{borderRadius:ci,paddingInline:Lr,paddingBlock:ie.calc(Dr).sub(vi).div(2).equal(),cursor:"pointer",transition:`all ${Ao}`,"+ li":{marginTop:Tr},"&:hover":{background:Fo}})}},[`${Se}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Se}-panel`]:{borderWidth:0}}},[`${Se}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Se}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Gn}}}}),"&-dropdown-range":{padding:`${(0,Ii.unit)(ie.calc(ai).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Se}-separator`]:{transform:"scale(-1, 1)"},[`${Se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Xa.oN)(ie,"slide-up"),(0,Xa.oN)(ie,"slide-down"),(0,Al.Fm)(ie,"move-up"),(0,Al.Fm)(ie,"move-down")]};var _i=(0,Hl.I$)("DatePicker",ie=>{const Se=(0,Yl.mergeToken)((0,wl.e)(ie),is(ie),{inputPaddingHorizontalBase:ie.calc(ie.paddingSM).sub(1).equal(),multipleSelectItemHeight:ie.multipleItemHeight,selectHeight:ie.controlHeight});return[_l(Se),wa(Se),Ci(Se),Ma(Se),rs(Se),(0,el.c)(ie,{focusElCls:`${ie.componentCls}-focused`})]},Qa),tl=z(68525);function Ka(ie,Se,Xe){return Xe!==void 0?Xe:Se==="year"&&ie.lang.yearPlaceholder?ie.lang.yearPlaceholder:Se==="quarter"&&ie.lang.quarterPlaceholder?ie.lang.quarterPlaceholder:Se==="month"&&ie.lang.monthPlaceholder?ie.lang.monthPlaceholder:Se==="week"&&ie.lang.weekPlaceholder?ie.lang.weekPlaceholder:Se==="time"&&ie.timePickerLocale.placeholder?ie.timePickerLocale.placeholder:ie.lang.placeholder}function nl(ie,Se,Xe){return Xe!==void 0?Xe:Se==="year"&&ie.lang.yearPlaceholder?ie.lang.rangeYearPlaceholder:Se==="quarter"&&ie.lang.quarterPlaceholder?ie.lang.rangeQuarterPlaceholder:Se==="month"&&ie.lang.monthPlaceholder?ie.lang.rangeMonthPlaceholder:Se==="week"&&ie.lang.weekPlaceholder?ie.lang.rangeWeekPlaceholder:Se==="time"&&ie.timePickerLocale.placeholder?ie.timePickerLocale.rangePlaceholder:ie.lang.rangePlaceholder}function _a(ie,Se){const{allowClear:Xe=!0}=ie,{clearIcon:Bt,removeIcon:Lt}=(0,tl.Z)(Object.assign(Object.assign({},ie),{prefixCls:Se,componentName:"DatePicker"}));return[se.useMemo(()=>Xe===!1?!1:Object.assign({clearIcon:Bt},Xe===!0?{}:Xe),[Xe,Bt]),Lt]}const[rl,ol]=["week","WeekPicker"],[kl,ls]=["month","MonthPicker"],[Ls,ms]=["year","YearPicker"],[ql,Xl]=["quarter","QuarterPicker"],[vl,es]=["time","TimePicker"];var Ql=z(7939),Ys=ie=>se.createElement(Ql.ZP,Object.assign({size:"small",type:"primary"},ie));function Ps(ie){return(0,se.useMemo)(()=>Object.assign({button:Ys},ie),[ie])}var ss=function(ie,Se){var Xe={};for(var Bt in ie)Object.prototype.hasOwnProperty.call(ie,Bt)&&Se.indexOf(Bt)<0&&(Xe[Bt]=ie[Bt]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Bt=Object.getOwnPropertySymbols(ie);Lt<Bt.length;Lt++)Se.indexOf(Bt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(ie,Bt[Lt])&&(Xe[Bt[Lt]]=ie[Bt[Lt]]);return Xe},Gs=ie=>(0,se.forwardRef)((Xe,Bt)=>{var Lt;const{prefixCls:Dn,getPopupContainer:Wn,components:Gn,className:sr,style:mr,placement:Xn,size:Er,disabled:Fr,bordered:Ir=!0,placeholder:Dr,popupClassName:Mr,dropdownClassName:Lr,status:Tr,rootClassName:So,variant:lo,picker:Ur}=Xe,Ao=ss(Xe,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),ro=se.useRef(null),{getPrefixCls:uo,direction:ai,getPopupContainer:Ko,rangePicker:Go}=(0,se.useContext)(si.E_),zo=uo("picker",Dn),{compactSize:ci,compactItemClassnames:Jo}=(0,Oa.ri)(zo,ai),Fo=uo(),[Eo,Ro]=(0,pa.Z)("rangePicker",lo,Ir),No=(0,Ri.Z)(zo),[vi,di,Uo]=_i(zo,No),[ei]=_a(Xe,zo),Oo=Ps(Gn),Xo=(0,Li.Z)(wn=>{var bn;return(bn=Er!=null?Er:ci)!==null&&bn!==void 0?bn:wn}),Yo=se.useContext(da.Z),pi=Fr!=null?Fr:Yo,Bi=(0,se.useContext)(Oi.aM),{hasFeedback:Mi,status:ye,feedbackIcon:ge}=Bi,it=se.createElement(se.Fragment,null,Ur===vl?se.createElement(Ct,null):se.createElement(dt,null),Mi&&ge);(0,se.useImperativeHandle)(Bt,()=>ro.current);const[It]=(0,Ea.Z)("Calendar",Ya.Z),Qt=Object.assign(Object.assign({},It),Xe.locale),[on]=(0,ho.Cn)("DatePicker",(Lt=Xe.popupStyle)===null||Lt===void 0?void 0:Lt.zIndex);return vi(se.createElement(wo.Z,{space:!0},se.createElement(Ta,Object.assign({separator:se.createElement("span",{"aria-label":"to",className:`${zo}-separator`},se.createElement(ve,null)),disabled:pi,ref:ro,placement:Xn,placeholder:nl(Qt,Ur,Dr),suffixIcon:it,prevIcon:se.createElement("span",{className:`${zo}-prev-icon`}),nextIcon:se.createElement("span",{className:`${zo}-next-icon`}),superPrevIcon:se.createElement("span",{className:`${zo}-super-prev-icon`}),superNextIcon:se.createElement("span",{className:`${zo}-super-next-icon`}),transitionName:`${Fo}-slide-up`,picker:Ur},Ao,{className:Gt()({[`${zo}-${Xo}`]:Xo,[`${zo}-${Eo}`]:Ro},(0,To.Z)(zo,(0,To.F)(ye,Tr),Mi),di,Jo,sr,Go==null?void 0:Go.className,Uo,No,So),style:Object.assign(Object.assign({},Go==null?void 0:Go.style),mr),locale:Qt.lang,prefixCls:zo,getPopupContainer:Wn||Ko,generateConfig:ie,components:Oo,direction:ai,classNames:{popup:Gt()(di,Mr||Lr,Uo,No,So)},styles:{popup:Object.assign(Object.assign({},Xe.popupStyle),{zIndex:on})},allowClear:ei}))))}),xs=function(ie,Se){var Xe={};for(var Bt in ie)Object.prototype.hasOwnProperty.call(ie,Bt)&&Se.indexOf(Bt)<0&&(Xe[Bt]=ie[Bt]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Bt=Object.getOwnPropertySymbols(ie);Lt<Bt.length;Lt++)Se.indexOf(Bt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(ie,Bt[Lt])&&(Xe[Bt[Lt]]=ie[Bt[Lt]]);return Xe},Ts=ie=>{const Se=(sr,mr)=>{const Xn=mr===es?"timePicker":"datePicker";return(0,se.forwardRef)((Fr,Ir)=>{var Dr;const{prefixCls:Mr,getPopupContainer:Lr,components:Tr,style:So,className:lo,rootClassName:Ur,size:Ao,bordered:ro,placement:uo,placeholder:ai,popupClassName:Ko,dropdownClassName:Go,disabled:zo,status:ci,variant:Jo,onCalendarChange:Fo}=Fr,Eo=xs(Fr,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:Ro,direction:No,getPopupContainer:vi,[Xn]:di}=(0,se.useContext)(si.E_),Uo=Ro("picker",Mr),{compactSize:ei,compactItemClassnames:Oo}=(0,Oa.ri)(Uo,No),Xo=se.useRef(null),[Yo,pi]=(0,pa.Z)("datePicker",Jo,ro),Bi=(0,Ri.Z)(Uo),[Mi,ye,ge]=_i(Uo,Bi);(0,se.useImperativeHandle)(Ir,()=>Xo.current);const it={showToday:!0},It=sr||Fr.picker,Qt=Ro(),{onSelect:on,multiple:wn}=Eo,bn=on&&sr==="time"&&!wn,On=(po,xo,Qo)=>{Fo==null||Fo(po,xo,Qo),bn&&on(po)},[Nn,ir]=_a(Fr,Uo),er=Ps(Tr),_n=(0,Li.Z)(po=>{var xo;return(xo=Ao!=null?Ao:ei)!==null&&xo!==void 0?xo:po}),zn=se.useContext(da.Z),Rn=zo!=null?zo:zn,Or=(0,se.useContext)(Oi.aM),{hasFeedback:cr,status:Hr,feedbackIcon:Nr}=Or,_r=se.createElement(se.Fragment,null,It==="time"?se.createElement(Ct,null):se.createElement(dt,null),cr&&Nr),[zr]=(0,Ea.Z)("DatePicker",Ya.Z),Yr=Object.assign(Object.assign({},zr),Fr.locale),[ao]=(0,ho.Cn)("DatePicker",(Dr=Fr.popupStyle)===null||Dr===void 0?void 0:Dr.zIndex);return Mi(se.createElement(wo.Z,{space:!0},se.createElement(mi,Object.assign({ref:Xo,placeholder:Ka(Yr,It,ai),suffixIcon:_r,placement:uo,prevIcon:se.createElement("span",{className:`${Uo}-prev-icon`}),nextIcon:se.createElement("span",{className:`${Uo}-next-icon`}),superPrevIcon:se.createElement("span",{className:`${Uo}-super-prev-icon`}),superNextIcon:se.createElement("span",{className:`${Uo}-super-next-icon`}),transitionName:`${Qt}-slide-up`,picker:sr,onCalendarChange:On},it,Eo,{locale:Yr.lang,className:Gt()({[`${Uo}-${_n}`]:_n,[`${Uo}-${Yo}`]:pi},(0,To.Z)(Uo,(0,To.F)(Hr,ci),cr),ye,Oo,di==null?void 0:di.className,lo,ge,Bi,Ur),style:Object.assign(Object.assign({},di==null?void 0:di.style),So),prefixCls:Uo,getPopupContainer:Lr||vi,generateConfig:ie,components:er,direction:No,disabled:Rn,classNames:{popup:Gt()(ye,ge,Bi,Ur,Ko||Go)},styles:{popup:Object.assign(Object.assign({},Fr.popupStyle),{zIndex:ao})},allowClear:Nn,removeIcon:ir}))))})},Xe=Se(),Bt=Se(rl,ol),Lt=Se(kl,ls),Dn=Se(Ls,ms),Wn=Se(ql,Xl),Gn=Se(vl,es);return{DatePicker:Xe,WeekPicker:Bt,MonthPicker:Lt,YearPicker:Dn,TimePicker:Gn,QuarterPicker:Wn}},Rs=ie=>{const{DatePicker:Se,WeekPicker:Xe,MonthPicker:Bt,YearPicker:Lt,TimePicker:Dn,QuarterPicker:Wn}=Ts(ie),Gn=Gs(ie),sr=Se;return sr.WeekPicker=Xe,sr.MonthPicker=Bt,sr.YearPicker=Lt,sr.RangePicker=Gn,sr.TimePicker=Dn,sr.QuarterPicker=Wn,sr};const us=Rs(Nt),vs=(0,Ut.Z)(us,"popupAlign",void 0,"picker");us._InternalPanelDoNotUseOrYouWillBeFired=vs;const Ei=(0,Ut.Z)(us.RangePicker,"popupAlign",void 0,"picker");us._InternalRangePanelDoNotUseOrYouWillBeFired=Ei,us.generatePicker=Rs;var ps=us},37285:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return et}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(48755),Oe=z(36237),be=z(63356),Fe=z(16931),ze=z(51636);const Be=$e=>{const{componentCls:je,sizePaddingEdgeHorizontal:Ve,colorSplit:rt,lineWidth:Nt,textPaddingInline:Ut,orientationMargin:se,verticalMarginInline:Me}=$e;return{[je]:Object.assign(Object.assign({},(0,be.Wf)($e)),{borderBlockStart:`${(0,Oe.unit)(Nt)} solid ${rt}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Me,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,Oe.unit)(Nt)} solid ${rt}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,Oe.unit)($e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${je}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,Oe.unit)($e.dividerHorizontalWithTextGutterMargin)} 0`,color:$e.colorTextHeading,fontWeight:500,fontSize:$e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${rt}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,Oe.unit)(Nt)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${je}-with-text-start`]:{"&::before":{width:`calc(${se} * 100%)`},"&::after":{width:`calc(100% - ${se} * 100%)`}},[`&-horizontal${je}-with-text-end`]:{"&::before":{width:`calc(100% - ${se} * 100%)`},"&::after":{width:`calc(${se} * 100%)`}},[`${je}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Ut},"&-dashed":{background:"none",borderColor:rt,borderStyle:"dashed",borderWidth:`${(0,Oe.unit)(Nt)} 0 0`},[`&-horizontal${je}-with-text${je}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${je}-dashed`]:{borderInlineStartWidth:Nt,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:rt,borderStyle:"dotted",borderWidth:`${(0,Oe.unit)(Nt)} 0 0`},[`&-horizontal${je}-with-text${je}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${je}-dotted`]:{borderInlineStartWidth:Nt,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${je}-with-text`]:{color:$e.colorText,fontWeight:"normal",fontSize:$e.fontSize},[`&-horizontal${je}-with-text-start${je}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${je}-inner-text`]:{paddingInlineStart:Ve}},[`&-horizontal${je}-with-text-end${je}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${je}-inner-text`]:{paddingInlineEnd:Ve}}})}},fe=$e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:$e.marginXS});var Ge=(0,Fe.I$)("Divider",$e=>{const je=(0,ze.mergeToken)($e,{dividerHorizontalWithTextGutterMargin:$e.margin,dividerHorizontalGutterMargin:$e.marginLG,sizePaddingEdgeHorizontal:0});return[Be(je)]},fe,{unitless:{orientationMargin:!0}}),Ce=function($e,je){var Ve={};for(var rt in $e)Object.prototype.hasOwnProperty.call($e,rt)&&je.indexOf(rt)<0&&(Ve[rt]=$e[rt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,rt=Object.getOwnPropertySymbols($e);Nt<rt.length;Nt++)je.indexOf(rt[Nt])<0&&Object.prototype.propertyIsEnumerable.call($e,rt[Nt])&&(Ve[rt[Nt]]=$e[rt[Nt]]);return Ve},et=$e=>{const{getPrefixCls:je,direction:Ve,className:rt,style:Nt}=(0,tt.dj)("divider"),{prefixCls:Ut,type:se="horizontal",orientation:Me="center",orientationMargin:ft,className:mt,rootClassName:Zt,children:Je,dashed:at,variant:dt="solid",plain:Pe,style:Ze}=$e,Ee=Ce($e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),ue=je("divider",Ut),[Ct,He,We]=Ge(ue),kt=!!Je,Ae=b.useMemo(()=>Me==="left"?Ve==="rtl"?"end":"start":Me==="right"?Ve==="rtl"?"start":"end":Me,[Ve,Me]),ve=Ae==="start"&&ft!=null,gt=Ae==="end"&&ft!=null,Gt=de()(ue,rt,He,We,`${ue}-${se}`,{[`${ue}-with-text`]:kt,[`${ue}-with-text-${Ae}`]:kt,[`${ue}-dashed`]:!!at,[`${ue}-${dt}`]:dt!=="solid",[`${ue}-plain`]:!!Pe,[`${ue}-rtl`]:Ve==="rtl",[`${ue}-no-default-orientation-margin-start`]:ve,[`${ue}-no-default-orientation-margin-end`]:gt},mt,Zt),Ht=b.useMemo(()=>typeof ft=="number"?ft:/^\d+$/.test(ft)?Number(ft):ft,[ft]),pe={marginInlineStart:ve?Ht:void 0,marginInlineEnd:gt?Ht:void 0};return Ct(b.createElement("div",Object.assign({className:Gt,style:Object.assign(Object.assign({},Nt),Ze)},Ee,{role:"separator"}),Je&&se!=="vertical"&&b.createElement("span",{className:`${ue}-inner-text`,style:pe},Je)))}},36207:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return st}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(33885),Oe=z(42978),be=z(43403),Fe=z(34280),ze=b.createContext(null),Be=b.createContext({}),fe=ze,Ge=z(20068),Ce=z(54476),yt=z(77900),et=z(10228),$e=z(26112),je=z(75931),Ve=z(8654),rt=["prefixCls","className","containerRef"],Nt=function(Ie){var pt=Ie.prefixCls,Pt=Ie.className,Tt=Ie.containerRef,Le=(0,je.Z)(Ie,rt),Ue=b.useContext(Be),pn=Ue.panel,Wt=(0,Ve.x1)(pn,Tt);return b.createElement("div",(0,Ce.Z)({className:de()("".concat(pt,"-content"),Pt),role:"dialog",ref:Wt},(0,$e.Z)(Ie,{aria:!0}),{"aria-modal":"true"},Le))},Ut=Nt,se=z(48736);function Me(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 ft(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 mt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Zt(Qe,Ie){var pt,Pt,Tt,Le=Qe.prefixCls,Ue=Qe.open,pn=Qe.placement,Wt=Qe.inline,Cn=Qe.push,cn=Qe.forceRender,Xt=Qe.autoFocus,an=Qe.keyboard,mn=Qe.classNames,vt=Qe.rootClassName,Yt=Qe.rootStyle,gn=Qe.zIndex,At=Qe.className,_e=Qe.id,Vt=Qe.style,nn=Qe.motion,dn=Qe.width,Ln=Qe.height,Qn=Qe.children,hr=Qe.mask,vr=Qe.maskClosable,Jn=Qe.maskMotion,dr=Qe.maskClassName,Jt=Qe.maskStyle,En=Qe.afterOpenChange,qn=Qe.onClose,nr=Qe.onMouseEnter,jn=Qe.onMouseOver,xn=Qe.onMouseLeave,ut=Qe.onClick,qt=Qe.onKeyDown,Dt=Qe.onKeyUp,sn=Qe.styles,Sn=Qe.drawerRender,vn=b.useRef(),Bn=b.useRef(),Un=b.useRef();b.useImperativeHandle(Ie,function(){return vn.current});var Yn=function(Ft){var Kt=Ft.keyCode,Pn=Ft.shiftKey;switch(Kt){case et.Z.TAB:{if(Kt===et.Z.TAB){if(!Pn&&document.activeElement===Un.current){var Tn;(Tn=Bn.current)===null||Tn===void 0||Tn.focus({preventScroll:!0})}else if(Pn&&document.activeElement===Bn.current){var kn;(kn=Un.current)===null||kn===void 0||kn.focus({preventScroll:!0})}}break}case et.Z.ESC:{qn&&an&&(Ft.stopPropagation(),qn(Ft));break}}};b.useEffect(function(){if(Ue&&Xt){var xt;(xt=vn.current)===null||xt===void 0||xt.focus({preventScroll:!0})}},[Ue]);var $t=b.useState(!1),Mn=(0,Oe.Z)($t,2),rn=Mn[0],or=Mn[1],wt=b.useContext(fe),zt;typeof Cn=="boolean"?zt=Cn?{}:{distance:0}:zt=Cn||{};var Re=(pt=(Pt=(Tt=zt)===null||Tt===void 0?void 0:Tt.distance)!==null&&Pt!==void 0?Pt:wt==null?void 0:wt.pushDistance)!==null&&pt!==void 0?pt:180,ht=b.useMemo(function(){return{pushDistance:Re,push:function(){or(!0)},pull:function(){or(!1)}}},[Re]);b.useEffect(function(){if(Ue){var xt;wt==null||(xt=wt.push)===null||xt===void 0||xt.call(wt)}else{var Ft;wt==null||(Ft=wt.pull)===null||Ft===void 0||Ft.call(wt)}},[Ue]),b.useEffect(function(){return function(){var xt;wt==null||(xt=wt.pull)===null||xt===void 0||xt.call(wt)}},[]);var Ye=hr&&b.createElement(yt.default,(0,Ce.Z)({key:"mask"},Jn,{visible:Ue}),function(xt,Ft){var Kt=xt.className,Pn=xt.style;return b.createElement("div",{className:de()("".concat(Le,"-mask"),Kt,mn==null?void 0:mn.mask,dr),style:(0,tt.Z)((0,tt.Z)((0,tt.Z)({},Pn),Jt),sn==null?void 0:sn.mask),onClick:vr&&Ue?qn:void 0,ref:Ft})}),St=typeof nn=="function"?nn(pn):nn,_t={};if(rn&&Re)switch(pn){case"top":_t.transform="translateY(".concat(Re,"px)");break;case"bottom":_t.transform="translateY(".concat(-Re,"px)");break;case"left":_t.transform="translateX(".concat(Re,"px)");break;default:_t.transform="translateX(".concat(-Re,"px)");break}pn==="left"||pn==="right"?_t.width=Me(dn):_t.height=Me(Ln);var tr={onMouseEnter:nr,onMouseOver:jn,onMouseLeave:xn,onClick:ut,onKeyDown:qt,onKeyUp:Dt},ar=b.createElement(yt.default,(0,Ce.Z)({key:"panel"},St,{visible:Ue,forceRender:cn,onVisibleChanged:function(Ft){En==null||En(Ft)},removeOnLeave:!1,leavedClassName:"".concat(Le,"-content-wrapper-hidden")}),function(xt,Ft){var Kt=xt.className,Pn=xt.style,Tn=b.createElement(Ut,(0,Ce.Z)({id:_e,containerRef:Ft,prefixCls:Le,className:de()(At,mn==null?void 0:mn.content),style:(0,tt.Z)((0,tt.Z)({},Vt),sn==null?void 0:sn.content)},(0,$e.Z)(Qe,{aria:!0}),tr),Qn);return b.createElement("div",(0,Ce.Z)({className:de()("".concat(Le,"-content-wrapper"),mn==null?void 0:mn.wrapper,Kt),style:(0,tt.Z)((0,tt.Z)((0,tt.Z)({},_t),Pn),sn==null?void 0:sn.wrapper)},(0,$e.Z)(Qe,{data:!0})),Sn?Sn(Tn):Tn)}),bt=(0,tt.Z)({},Yt);return gn&&(bt.zIndex=gn),b.createElement(fe.Provider,{value:ht},b.createElement("div",{className:de()(Le,"".concat(Le,"-").concat(pn),vt,(0,Ge.Z)((0,Ge.Z)({},"".concat(Le,"-open"),Ue),"".concat(Le,"-inline"),Wt)),style:bt,tabIndex:-1,ref:vn,onKeyDown:Yn},Ye,b.createElement("div",{tabIndex:0,ref:Bn,style:mt,"aria-hidden":"true","data-sentinel":"start"}),ar,b.createElement("div",{tabIndex:0,ref:Un,style:mt,"aria-hidden":"true","data-sentinel":"end"})))}var Je=b.forwardRef(Zt),at=Je,dt=function(Ie){var pt=Ie.open,Pt=pt===void 0?!1:pt,Tt=Ie.prefixCls,Le=Tt===void 0?"rc-drawer":Tt,Ue=Ie.placement,pn=Ue===void 0?"right":Ue,Wt=Ie.autoFocus,Cn=Wt===void 0?!0:Wt,cn=Ie.keyboard,Xt=cn===void 0?!0:cn,an=Ie.width,mn=an===void 0?378:an,vt=Ie.mask,Yt=vt===void 0?!0:vt,gn=Ie.maskClosable,At=gn===void 0?!0:gn,_e=Ie.getContainer,Vt=Ie.forceRender,nn=Ie.afterOpenChange,dn=Ie.destroyOnClose,Ln=Ie.onMouseEnter,Qn=Ie.onMouseOver,hr=Ie.onMouseLeave,vr=Ie.onClick,Jn=Ie.onKeyDown,dr=Ie.onKeyUp,Jt=Ie.panelRef,En=b.useState(!1),qn=(0,Oe.Z)(En,2),nr=qn[0],jn=qn[1],xn=b.useState(!1),ut=(0,Oe.Z)(xn,2),qt=ut[0],Dt=ut[1];(0,Fe.Z)(function(){Dt(!0)},[]);var sn=qt?Pt:!1,Sn=b.useRef(),vn=b.useRef();(0,Fe.Z)(function(){sn&&(vn.current=document.activeElement)},[sn]);var Bn=function(rn){var or;if(jn(rn),nn==null||nn(rn),!rn&&vn.current&&!((or=Sn.current)!==null&&or!==void 0&&or.contains(vn.current))){var wt;(wt=vn.current)===null||wt===void 0||wt.focus({preventScroll:!0})}},Un=b.useMemo(function(){return{panel:Jt}},[Jt]);if(!Vt&&!nr&&!sn&&dn)return null;var Yn={onMouseEnter:Ln,onMouseOver:Qn,onMouseLeave:hr,onClick:vr,onKeyDown:Jn,onKeyUp:dr},$t=(0,tt.Z)((0,tt.Z)({},Ie),{},{open:sn,prefixCls:Le,placement:pn,autoFocus:Cn,keyboard:Xt,width:mn,mask:Yt,maskClosable:At,inline:_e===!1,afterOpenChange:Bn,ref:Sn},Yn);return b.createElement(Be.Provider,{value:Un},b.createElement(be.Z,{open:sn||Vt||nr,autoDestroy:!1,getContainer:_e,autoLock:Yt&&(sn||nr)},b.createElement(at,$t)))},Pe=dt,Ze=Pe,Ee=z(62487),ue=z(75030),Ct=z(86641),He=z(55743),We=z(48755),kt=z(91190),Ae=z(78776),ve=z(458),Gt=Qe=>{var Ie,pt;const{prefixCls:Pt,title:Tt,footer:Le,extra:Ue,loading:pn,onClose:Wt,headerStyle:Cn,bodyStyle:cn,footerStyle:Xt,children:an,classNames:mn,styles:vt}=Qe,Yt=(0,We.dj)("drawer"),gn=b.useCallback(dn=>b.createElement("button",{type:"button",onClick:Wt,"aria-label":"Close",className:`${Pt}-close`},dn),[Wt]),[At,_e]=(0,Ae.Z)((0,Ae.w)(Qe),(0,Ae.w)(Yt),{closable:!0,closeIconRender:gn}),Vt=b.useMemo(()=>{var dn,Ln;return!Tt&&!At?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(dn=Yt.styles)===null||dn===void 0?void 0:dn.header),Cn),vt==null?void 0:vt.header),className:de()(`${Pt}-header`,{[`${Pt}-header-close-only`]:At&&!Tt&&!Ue},(Ln=Yt.classNames)===null||Ln===void 0?void 0:Ln.header,mn==null?void 0:mn.header)},b.createElement("div",{className:`${Pt}-header-title`},_e,Tt&&b.createElement("div",{className:`${Pt}-title`},Tt)),Ue&&b.createElement("div",{className:`${Pt}-extra`},Ue))},[At,_e,Ue,Cn,Pt,Tt]),nn=b.useMemo(()=>{var dn,Ln;if(!Le)return null;const Qn=`${Pt}-footer`;return b.createElement("div",{className:de()(Qn,(dn=Yt.classNames)===null||dn===void 0?void 0:dn.footer,mn==null?void 0:mn.footer),style:Object.assign(Object.assign(Object.assign({},(Ln=Yt.styles)===null||Ln===void 0?void 0:Ln.footer),Xt),vt==null?void 0:vt.footer)},Le)},[Le,Xt,Pt]);return b.createElement(b.Fragment,null,Vt,b.createElement("div",{className:de()(`${Pt}-body`,mn==null?void 0:mn.body,(Ie=Yt.classNames)===null||Ie===void 0?void 0:Ie.body),style:Object.assign(Object.assign(Object.assign({},(pt=Yt.styles)===null||pt===void 0?void 0:pt.body),cn),vt==null?void 0:vt.body)},pn?b.createElement(ve.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Pt}-body-skeleton`}):an),nn)},Ht=z(36237),pe=z(63356),Te=z(16931),Ke=z(51636);const tn=Qe=>{const Ie="100%";return{left:`translateX(-${Ie})`,right:`translateX(${Ie})`,top:`translateY(-${Ie})`,bottom:`translateY(${Ie})`}[Qe]},lt=(Qe,Ie)=>({"&-enter, &-appear":Object.assign(Object.assign({},Qe),{"&-active":Ie}),"&-leave":Object.assign(Object.assign({},Ie),{"&-active":Qe})}),jt=(Qe,Ie)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ie}`}}},lt({opacity:Qe},{opacity:1})),ct=(Qe,Ie)=>[jt(.7,Ie),lt({transform:tn(Qe)},{transform:"none"})];var Et=Qe=>{const{componentCls:Ie,motionDurationSlow:pt}=Qe;return{[Ie]:{[`${Ie}-mask-motion`]:jt(0,pt),[`${Ie}-panel-motion`]:["left","right","top","bottom"].reduce((Pt,Tt)=>Object.assign(Object.assign({},Pt),{[`&-${Tt}`]:ct(Tt,pt)}),{})}}};const le=Qe=>{const{borderRadiusSM:Ie,componentCls:pt,zIndexPopup:Pt,colorBgMask:Tt,colorBgElevated:Le,motionDurationSlow:Ue,motionDurationMid:pn,paddingXS:Wt,padding:Cn,paddingLG:cn,fontSizeLG:Xt,lineHeightLG:an,lineWidth:mn,lineType:vt,colorSplit:Yt,marginXS:gn,colorIcon:At,colorIconHover:_e,colorBgTextHover:Vt,colorBgTextActive:nn,colorText:dn,fontWeightStrong:Ln,footerPaddingBlock:Qn,footerPaddingInline:hr,calc:vr}=Qe,Jn=`${pt}-content-wrapper`;return{[pt]:{position:"fixed",inset:0,zIndex:Pt,pointerEvents:"none",color:dn,"&-pure":{position:"relative",background:Le,display:"flex",flexDirection:"column",[`&${pt}-left`]:{boxShadow:Qe.boxShadowDrawerLeft},[`&${pt}-right`]:{boxShadow:Qe.boxShadowDrawerRight},[`&${pt}-top`]:{boxShadow:Qe.boxShadowDrawerUp},[`&${pt}-bottom`]:{boxShadow:Qe.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${pt}-mask`]:{position:"absolute",inset:0,zIndex:Pt,background:Tt,pointerEvents:"auto"},[Jn]:{position:"absolute",zIndex:Pt,maxWidth:"100vw",transition:`all ${Ue}`,"&-hidden":{display:"none"}},[`&-left > ${Jn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Qe.boxShadowDrawerLeft},[`&-right > ${Jn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Qe.boxShadowDrawerRight},[`&-top > ${Jn}`]:{top:0,insetInline:0,boxShadow:Qe.boxShadowDrawerUp},[`&-bottom > ${Jn}`]:{bottom:0,insetInline:0,boxShadow:Qe.boxShadowDrawerDown},[`${pt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Le,pointerEvents:"auto"},[`${pt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Ht.unit)(Cn)} ${(0,Ht.unit)(cn)}`,fontSize:Xt,lineHeight:an,borderBottom:`${(0,Ht.unit)(mn)} ${vt} ${Yt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${pt}-extra`]:{flex:"none"},[`${pt}-close`]:Object.assign({display:"inline-flex",width:vr(Xt).add(Wt).equal(),height:vr(Xt).add(Wt).equal(),borderRadius:Ie,justifyContent:"center",alignItems:"center",marginInlineEnd:gn,color:At,fontWeight:Ln,fontSize:Xt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${pn}`,textRendering:"auto","&:hover":{color:_e,backgroundColor:Vt,textDecoration:"none"},"&:active":{backgroundColor:nn}},(0,pe.Qy)(Qe)),[`${pt}-title`]:{flex:1,margin:0,fontWeight:Qe.fontWeightStrong,fontSize:Xt,lineHeight:an},[`${pt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:cn,overflow:"auto",[`${pt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${pt}-footer`]:{flexShrink:0,padding:`${(0,Ht.unit)(Qn)} ${(0,Ht.unit)(hr)}`,borderTop:`${(0,Ht.unit)(mn)} ${vt} ${Yt}`},"&-rtl":{direction:"rtl"}}}},ne=Qe=>({zIndexPopup:Qe.zIndexPopupBase,footerPaddingBlock:Qe.paddingXS,footerPaddingInline:Qe.padding});var te=(0,Te.I$)("Drawer",Qe=>{const Ie=(0,Ke.mergeToken)(Qe,{});return[le(Ie),Et(Ie)]},ne),ae=function(Qe,Ie){var pt={};for(var Pt in Qe)Object.prototype.hasOwnProperty.call(Qe,Pt)&&Ie.indexOf(Pt)<0&&(pt[Pt]=Qe[Pt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Pt=Object.getOwnPropertySymbols(Qe);Tt<Pt.length;Tt++)Ie.indexOf(Pt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Qe,Pt[Tt])&&(pt[Pt[Tt]]=Qe[Pt[Tt]]);return pt};const he=null,re={distance:180},ce=Qe=>{var Ie;const{rootClassName:pt,width:Pt,height:Tt,size:Le="default",mask:Ue=!0,push:pn=re,open:Wt,afterOpenChange:Cn,onClose:cn,prefixCls:Xt,getContainer:an,style:mn,className:vt,visible:Yt,afterVisibleChange:gn,maskStyle:At,drawerStyle:_e,contentWrapperStyle:Vt}=Qe,nn=ae(Qe,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:dn,getPrefixCls:Ln,direction:Qn,className:hr,style:vr,classNames:Jn,styles:dr}=(0,We.dj)("drawer"),Jt=Ln("drawer",Xt),[En,qn,nr]=te(Jt),jn=an===void 0&&dn?()=>dn(document.body):an,xn=de()({"no-mask":!Ue,[`${Jt}-rtl`]:Qn==="rtl"},pt,qn,nr),ut=b.useMemo(()=>Pt!=null?Pt:Le==="large"?736:378,[Pt,Le]),qt=b.useMemo(()=>Tt!=null?Tt:Le==="large"?736:378,[Tt,Le]),Dt={motionName:(0,Ct.m)(Jt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},sn=$t=>({motionName:(0,Ct.m)(Jt,`panel-motion-${$t}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Sn=(0,kt.H)(),[vn,Bn]=(0,ue.Cn)("Drawer",nn.zIndex),{classNames:Un={},styles:Yn={}}=nn;return En(b.createElement(Ee.Z,{form:!0,space:!0},b.createElement(He.Z.Provider,{value:Bn},b.createElement(Ze,Object.assign({prefixCls:Jt,onClose:cn,maskMotion:Dt,motion:sn},nn,{classNames:{mask:de()(Un.mask,Jn.mask),content:de()(Un.content,Jn.content),wrapper:de()(Un.wrapper,Jn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Yn.mask),At),dr.mask),content:Object.assign(Object.assign(Object.assign({},Yn.content),_e),dr.content),wrapper:Object.assign(Object.assign(Object.assign({},Yn.wrapper),Vt),dr.wrapper)},open:Wt!=null?Wt:Yt,mask:Ue,push:pn,width:ut,height:qt,style:Object.assign(Object.assign({},vr),mn),className:de()(hr,vt),rootClassName:xn,getContainer:jn,afterOpenChange:Cn!=null?Cn:gn,panelRef:Sn,zIndex:vn}),b.createElement(Gt,Object.assign({prefixCls:Jt},nn,{onClose:cn}))))))},De=Qe=>{const{prefixCls:Ie,style:pt,className:Pt,placement:Tt="right"}=Qe,Le=ae(Qe,["prefixCls","style","className","placement"]),{getPrefixCls:Ue}=b.useContext(We.E_),pn=Ue("drawer",Ie),[Wt,Cn,cn]=te(pn),Xt=de()(pn,`${pn}-pure`,`${pn}-${Tt}`,Cn,cn,Pt);return Wt(b.createElement("div",{className:Xt,style:pt},b.createElement(Gt,Object.assign({prefixCls:pn},Le))))};ce._InternalPanelDoNotUseOrYouWillBeFired=De;var st=ce},19563:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ht}});var b=z(59301),xe=z(33853),de=z(38819),tt=z(92310),Oe=z.n(tt),be=z(96478),Fe=z(6089),ze=z(18929),Be=z(2738),fe=z(75030),Ce=pe=>typeof pe!="object"&&typeof pe!="function"||pe===null,yt=z(52838),et=z(45915),$e=z(22703),je=z(32383),Ve=z(55743),rt=z(48755),Nt=z(83397),Ut=z(93041),se=z(78857),Me=z(57700),ft=z(36237),mt=z(63356),Zt=z(46e3),Je=z(93873),at=z(34925),dt=z(37645),Pe=z(36305),Ze=z(16931),Ee=z(51636),Ct=pe=>{const{componentCls:Te,menuCls:Ke,colorError:tn,colorTextLightSolid:lt}=pe,jt=`${Ke}-item`;return{[`${Te}, ${Te}-menu-submenu`]:{[`${Ke} ${jt}`]:{[`&${jt}-danger:not(${jt}-disabled)`]:{color:tn,"&:hover":{color:lt,backgroundColor:tn}}}}}};const He=pe=>{const{componentCls:Te,menuCls:Ke,zIndexPopup:tn,dropdownArrowDistance:lt,sizePopupArrow:jt,antCls:ct,iconCls:ln,motionDurationMid:Et,paddingBlock:le,fontSize:ne,dropdownEdgeChildPadding:te,colorTextDisabled:ae,fontSizeIcon:he,controlPaddingHorizontal:re,colorBgElevated:ce}=pe;return[{[Te]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:tn,display:"block","&::before":{position:"absolute",insetBlock:pe.calc(jt).div(2).sub(lt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ct}-btn`]:{[`& > ${ln}-down, & > ${ct}-btn-icon > ${ln}-down`]:{fontSize:he}},[`${Te}-wrap`]:{position:"relative",[`${ct}-btn > ${ln}-down`]:{fontSize:he},[`${ln}-down::before`]:{transition:`transform ${Et}`}},[`${Te}-wrap-open`]:{[`${ln}-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${Te}-placement-bottomLeft,
|
|
|
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Te}-placement-bottomLeft,
|
|
|
&${ct}-slide-down-enter${ct}-slide-down-enter-active${Te}-placement-bottom,
|
|
|
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Te}-placement-bottom,
|
|
|
&${ct}-slide-down-enter${ct}-slide-down-enter-active${Te}-placement-bottomRight,
|
|
|
&${ct}-slide-down-appear${ct}-slide-down-appear-active${Te}-placement-bottomRight`]:{animationName:Zt.fJ},[`&${ct}-slide-up-enter${ct}-slide-up-enter-active${Te}-placement-topLeft,
|
|
|
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Te}-placement-topLeft,
|
|
|
&${ct}-slide-up-enter${ct}-slide-up-enter-active${Te}-placement-top,
|
|
|
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Te}-placement-top,
|
|
|
&${ct}-slide-up-enter${ct}-slide-up-enter-active${Te}-placement-topRight,
|
|
|
&${ct}-slide-up-appear${ct}-slide-up-appear-active${Te}-placement-topRight`]:{animationName:Zt.Qt},[`&${ct}-slide-down-leave${ct}-slide-down-leave-active${Te}-placement-bottomLeft,
|
|
|
&${ct}-slide-down-leave${ct}-slide-down-leave-active${Te}-placement-bottom,
|
|
|
&${ct}-slide-down-leave${ct}-slide-down-leave-active${Te}-placement-bottomRight`]:{animationName:Zt.Uw},[`&${ct}-slide-up-leave${ct}-slide-up-leave-active${Te}-placement-topLeft,
|
|
|
&${ct}-slide-up-leave${ct}-slide-up-leave-active${Te}-placement-top,
|
|
|
&${ct}-slide-up-leave${ct}-slide-up-leave-active${Te}-placement-topRight`]:{animationName:Zt.ly}}},(0,dt.ZP)(pe,ce,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Te} ${Ke}`]:{position:"relative",margin:0},[`${Ke}-submenu-popup`]:{position:"absolute",zIndex:tn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Te}, ${Te}-menu-submenu`]:Object.assign(Object.assign({},(0,mt.Wf)(pe)),{[Ke]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:ce,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,mt.Qy)(pe)),{"&:empty":{padding:0,boxShadow:"none"},[`${Ke}-item-group-title`]:{padding:`${(0,ft.unit)(le)} ${(0,ft.unit)(re)}`,color:pe.colorTextDescription,transition:`all ${Et}`},[`${Ke}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Ke}-item-icon`]:{minWidth:ne,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${Ke}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Et}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Ke}-item-extra`]:{paddingInlineStart:pe.padding,marginInlineStart:"auto",fontSize:pe.fontSizeSM,color:pe.colorTextDescription}},[`${Ke}-item, ${Ke}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,ft.unit)(le)} ${(0,ft.unit)(re)}`,color:pe.colorText,fontWeight:"normal",fontSize:ne,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${Et}`,borderRadius:pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:pe.controlItemBgHover}},(0,mt.Qy)(pe)),{"&-selected":{color:pe.colorPrimary,backgroundColor:pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:pe.controlItemBgActiveHover}},"&-disabled":{color:ae,cursor:"not-allowed","&:hover":{color:ae,backgroundColor:ce,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,ft.unit)(pe.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:pe.colorSplit},[`${Te}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pe.paddingXS,[`${Te}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pe.colorTextDescription,fontSize:he,fontStyle:"normal"}}}),[`${Ke}-item-group-list`]:{margin:`0 ${(0,ft.unit)(pe.marginXS)}`,padding:0,listStyle:"none"},[`${Ke}-submenu-title`]:{paddingInlineEnd:pe.calc(re).add(pe.fontSizeSM).equal()},[`${Ke}-submenu-vertical`]:{position:"relative"},[`${Ke}-submenu${Ke}-submenu-disabled ${Te}-menu-submenu-title`]:{[`&, ${Te}-menu-submenu-arrow-icon`]:{color:ae,backgroundColor:ce,cursor:"not-allowed"}},[`${Ke}-submenu-selected ${Te}-menu-submenu-title`]:{color:pe.colorPrimary}})})},[(0,Zt.oN)(pe,"slide-up"),(0,Zt.oN)(pe,"slide-down"),(0,Je.Fm)(pe,"move-up"),(0,Je.Fm)(pe,"move-down"),(0,at._y)(pe,"zoom-big")]]},We=pe=>Object.assign(Object.assign({zIndexPopup:pe.zIndexPopupBase+50,paddingBlock:(pe.controlHeight-pe.fontSize*pe.lineHeight)/2},(0,dt.wZ)({contentRadius:pe.borderRadiusLG,limitVerticalRadius:!0})),(0,Pe.w)(pe));var kt=(0,Ze.I$)("Dropdown",pe=>{const{marginXXS:Te,sizePopupArrow:Ke,paddingXXS:tn,componentCls:lt}=pe,jt=(0,Ee.mergeToken)(pe,{menuCls:`${lt}-menu`,dropdownArrowDistance:pe.calc(Ke).div(2).add(Te).equal(),dropdownEdgeChildPadding:tn});return[He(jt),Ct(jt)]},We,{resetStyle:!1});const Ae=null,ve=pe=>{var Te;const{menu:Ke,arrow:tn,prefixCls:lt,children:jt,trigger:ct,disabled:ln,dropdownRender:Et,getPopupContainer:le,overlayClassName:ne,rootClassName:te,overlayStyle:ae,open:he,onOpenChange:re,visible:ce,onVisibleChange:De,mouseEnterDelay:st=.15,mouseLeaveDelay:Qe=.1,autoAdjustOverflow:Ie=!0,placement:pt="",overlay:Pt,transitionName:Tt}=pe,{getPopupContainer:Le,getPrefixCls:Ue,direction:pn,dropdown:Wt}=b.useContext(rt.E_),Cn=(0,je.ln)("Dropdown"),cn=b.useMemo(()=>{const jn=Ue();return Tt!==void 0?Tt:pt.includes("top")?`${jn}-slide-down`:`${jn}-slide-up`},[Ue,pt,Tt]),Xt=b.useMemo(()=>pt?pt.includes("Center")?pt.slice(0,pt.indexOf("Center")):pt:pn==="rtl"?"bottomRight":"bottomLeft",[pt,pn]),an=Ue("dropdown",lt),mn=(0,Nt.Z)(an),[vt,Yt,gn]=kt(an,mn),[,At]=(0,Me.ZP)(),_e=b.Children.only(Ce(jt)?b.createElement("span",null,jt):jt),Vt=(0,$e.Tm)(_e,{className:Oe()(`${an}-trigger`,{[`${an}-rtl`]:pn==="rtl"},_e.props.className),disabled:(Te=_e.props.disabled)!==null&&Te!==void 0?Te:ln}),nn=ln?[]:ct,dn=!!(nn!=null&&nn.includes("contextMenu")),[Ln,Qn]=(0,ze.Z)(!1,{value:he!=null?he:ce}),hr=(0,Fe.Z)(jn=>{re==null||re(jn,{source:"trigger"}),De==null||De(jn),Qn(jn)}),vr=Oe()(ne,te,Yt,gn,mn,Wt==null?void 0:Wt.className,{[`${an}-rtl`]:pn==="rtl"}),Jn=(0,yt.Z)({arrowPointAtCenter:typeof tn=="object"&&tn.pointAtCenter,autoAdjustOverflow:Ie,offset:At.marginXXS,arrowWidth:tn?At.sizePopupArrow:0,borderRadius:At.borderRadius}),dr=b.useCallback(()=>{Ke!=null&&Ke.selectable&&(Ke!=null&&Ke.multiple)||(re==null||re(!1,{source:"menu"}),Qn(!1))},[Ke==null?void 0:Ke.selectable,Ke==null?void 0:Ke.multiple]),Jt=()=>{let jn;return Ke!=null&&Ke.items?jn=b.createElement(Ut.default,Object.assign({},Ke)):typeof Pt=="function"?jn=Pt():jn=Pt,Et&&(jn=Et(jn)),jn=b.Children.only(typeof jn=="string"?b.createElement("span",null,jn):jn),b.createElement(se.J,{prefixCls:`${an}-menu`,rootClassName:Oe()(gn,mn),expandIcon:b.createElement("span",{className:`${an}-menu-submenu-arrow`},pn==="rtl"?b.createElement(xe.Z,{className:`${an}-menu-submenu-arrow-icon`}):b.createElement(de.Z,{className:`${an}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:dr,validator:xn=>{let{mode:ut}=xn}},jn)},[En,qn]=(0,fe.Cn)("Dropdown",ae==null?void 0:ae.zIndex);let nr=b.createElement(be.Z,Object.assign({alignPoint:dn},(0,Be.Z)(pe,["rootClassName"]),{mouseEnterDelay:st,mouseLeaveDelay:Qe,visible:Ln,builtinPlacements:Jn,arrow:!!tn,overlayClassName:vr,prefixCls:an,getPopupContainer:le||Le,transitionName:cn,trigger:nn,overlay:Jt,placement:Xt,onVisibleChange:hr,overlayStyle:Object.assign(Object.assign(Object.assign({},Wt==null?void 0:Wt.style),ae),{zIndex:En})}),Vt);return En&&(nr=b.createElement(Ve.Z.Provider,{value:qn},nr)),vt(nr)},gt=(0,et.Z)(ve,"align",void 0,"dropdown",pe=>pe),Gt=pe=>b.createElement(gt,Object.assign({},pe),b.createElement("span",null));ve._InternalPanelDoNotUseOrYouWillBeFired=Gt;var Ht=ve},75727:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return et}});var b=z(19563),xe=z(59301),de=z(18785),tt=z(92310),Oe=z.n(tt),be=z(7939),Fe=z(48755),ze=z(44104),Be=z(70045),fe=function($e,je){var Ve={};for(var rt in $e)Object.prototype.hasOwnProperty.call($e,rt)&&je.indexOf(rt)<0&&(Ve[rt]=$e[rt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,rt=Object.getOwnPropertySymbols($e);Nt<rt.length;Nt++)je.indexOf(rt[Nt])<0&&Object.prototype.propertyIsEnumerable.call($e,rt[Nt])&&(Ve[rt[Nt]]=$e[rt[Nt]]);return Ve};const Ge=$e=>{const{getPopupContainer:je,getPrefixCls:Ve,direction:rt}=xe.useContext(Fe.E_),{prefixCls:Nt,type:Ut="default",danger:se,disabled:Me,loading:ft,onClick:mt,htmlType:Zt,children:Je,className:at,menu:dt,arrow:Pe,autoFocus:Ze,overlay:Ee,trigger:ue,align:Ct,open:He,onOpenChange:We,placement:kt,getPopupContainer:Ae,href:ve,icon:gt=xe.createElement(de.Z,null),title:Gt,buttonsRender:Ht=st=>st,mouseEnterDelay:pe,mouseLeaveDelay:Te,overlayClassName:Ke,overlayStyle:tn,destroyPopupOnHide:lt,dropdownRender:jt}=$e,ct=fe($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"]),ln=Ve("dropdown",Nt),Et=`${ln}-button`,le={menu:dt,arrow:Pe,autoFocus:Ze,align:Ct,disabled:Me,trigger:Me?[]:ue,onOpenChange:We,getPopupContainer:Ae||je,mouseEnterDelay:pe,mouseLeaveDelay:Te,overlayClassName:Ke,overlayStyle:tn,destroyPopupOnHide:lt,dropdownRender:jt},{compactSize:ne,compactItemClassnames:te}=(0,Be.ri)(ln,rt),ae=Oe()(Et,te,at);"overlay"in $e&&(le.overlay=Ee),"open"in $e&&(le.open=He),"placement"in $e?le.placement=kt:le.placement=rt==="rtl"?"bottomLeft":"bottomRight";const he=xe.createElement(be.ZP,{type:Ut,danger:se,disabled:Me,loading:ft,onClick:mt,htmlType:Zt,href:ve,title:Gt},Je),re=xe.createElement(be.ZP,{type:Ut,danger:se,icon:gt}),[ce,De]=Ht([he,re]);return xe.createElement(ze.Z.Compact,Object.assign({className:ae,size:ne,block:!0},ct),ce,xe.createElement(b.Z,Object.assign({},le),De))};Ge.__ANT_BUTTON=!0;var Ce=Ge;const yt=b.Z;yt.Button=Ce;var et=yt},584:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ut}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(9017),Oe=z(17835),be=z(57700),ze=()=>{const[,se]=(0,be.ZP)(),[Me]=(0,tt.Z)("Empty"),mt=new Oe.FastColor(se.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:mt,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Me==null?void 0:Me.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"}))))},fe=()=>{const[,se]=(0,be.ZP)(),[Me]=(0,tt.Z)("Empty"),{colorFill:ft,colorFillTertiary:mt,colorFillQuaternary:Zt,colorBgContainer:Je}=se,{borderColor:at,shadowColor:dt,contentColor:Pe}=(0,b.useMemo)(()=>({borderColor:new Oe.FastColor(ft).onBackground(Je).toHexString(),shadowColor:new Oe.FastColor(mt).onBackground(Je).toHexString(),contentColor:new Oe.FastColor(Zt).onBackground(Je).toHexString()}),[ft,mt,Zt,Je]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Me==null?void 0:Me.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:dt,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:at},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}))))},Ge=z(16931),Ce=z(51636);const yt=se=>{const{componentCls:Me,margin:ft,marginXS:mt,marginXL:Zt,fontSize:Je,lineHeight:at}=se;return{[Me]:{marginInline:mt,fontSize:Je,lineHeight:at,textAlign:"center",[`${Me}-image`]:{height:se.emptyImgHeight,marginBottom:mt,opacity:se.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Me}-description`]:{color:se.colorTextDescription},[`${Me}-footer`]:{marginTop:ft},"&-normal":{marginBlock:Zt,color:se.colorTextDescription,[`${Me}-description`]:{color:se.colorTextDescription},[`${Me}-image`]:{height:se.emptyImgHeightMD}},"&-small":{marginBlock:mt,color:se.colorTextDescription,[`${Me}-image`]:{height:se.emptyImgHeightSM}}}}};var et=(0,Ge.I$)("Empty",se=>{const{componentCls:Me,controlHeightLG:ft,calc:mt}=se,Zt=(0,Ce.mergeToken)(se,{emptyImgCls:`${Me}-img`,emptyImgHeight:mt(ft).mul(2.5).equal(),emptyImgHeightMD:ft,emptyImgHeightSM:mt(ft).mul(.875).equal()});return[yt(Zt)]}),$e=z(48755),je=function(se,Me){var ft={};for(var mt in se)Object.prototype.hasOwnProperty.call(se,mt)&&Me.indexOf(mt)<0&&(ft[mt]=se[mt]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,mt=Object.getOwnPropertySymbols(se);Zt<mt.length;Zt++)Me.indexOf(mt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(se,mt[Zt])&&(ft[mt[Zt]]=se[mt[Zt]]);return ft};const Ve=b.createElement(ze,null),rt=b.createElement(fe,null),Nt=se=>{const{className:Me,rootClassName:ft,prefixCls:mt,image:Zt=Ve,description:Je,children:at,imageStyle:dt,style:Pe,classNames:Ze,styles:Ee}=se,ue=je(se,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ct,direction:He,className:We,style:kt,classNames:Ae,styles:ve}=(0,$e.dj)("empty"),gt=Ct("empty",mt),[Gt,Ht,pe]=et(gt),[Te]=(0,tt.Z)("Empty"),Ke=typeof Je!="undefined"?Je:Te==null?void 0:Te.description,tn=typeof Ke=="string"?Ke:"empty";let lt=null;return typeof Zt=="string"?lt=b.createElement("img",{alt:tn,src:Zt}):lt=Zt,Gt(b.createElement("div",Object.assign({className:de()(Ht,pe,gt,We,{[`${gt}-normal`]:Zt===rt,[`${gt}-rtl`]:He==="rtl"},Me,ft,Ae.root,Ze==null?void 0:Ze.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},ve.root),kt),Ee==null?void 0:Ee.root),Pe)},ue),b.createElement("div",{className:de()(`${gt}-image`,Ae.image,Ze==null?void 0:Ze.image),style:Object.assign(Object.assign(Object.assign({},dt),ve.image),Ee==null?void 0:Ee.image)},lt),Ke&&b.createElement("div",{className:de()(`${gt}-description`,Ae.description,Ze==null?void 0:Ze.description),style:Object.assign(Object.assign({},ve.description),Ee==null?void 0:Ee.description)},Ke),at&&b.createElement("div",{className:de()(`${gt}-footer`,Ae.footer,Ze==null?void 0:Ze.footer),style:Object.assign(Object.assign({},ve.footer),Ee==null?void 0:Ee.footer)},at)))};Nt.PRESENTED_IMAGE_DEFAULT=Ve,Nt.PRESENTED_IMAGE_SIMPLE=rt;var Ut=Nt},28284:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return zt}});var b=z(56553),xe=z(94480),de=z(59301),tt=z(92310),Oe=z.n(tt),be=z(77900),Fe=z(86641),ze=z(83397);function Be(Re){const[ht,Ye]=de.useState(Re);return de.useEffect(()=>{const St=setTimeout(()=>{Ye(Re)},Re.length?0:10);return()=>{clearTimeout(St)}},[Re]),ht}var fe=z(36237),Ge=z(63356),Ce=z(34925),yt=z(34961),et=z(51636),$e=z(16931),Ve=Re=>{const{componentCls:ht}=Re,Ye=`${ht}-show-help`,St=`${ht}-show-help-item`;return{[Ye]:{transition:`opacity ${Re.motionDurationFast} ${Re.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[St]:{overflow:"hidden",transition:`height ${Re.motionDurationFast} ${Re.motionEaseInOut},
|
|
|
opacity ${Re.motionDurationFast} ${Re.motionEaseInOut},
|
|
|
transform ${Re.motionDurationFast} ${Re.motionEaseInOut} !important`,[`&${St}-appear, &${St}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${St}-leave-active`]:{transform:"translateY(-5px)"}}}}};const rt=Re=>({legend:{display:"block",width:"100%",marginBottom:Re.marginLG,padding:0,color:Re.colorTextDescription,fontSize:Re.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,fe.unit)(Re.lineWidth)} ${Re.lineType} ${Re.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,fe.unit)(Re.controlOutlineWidth)} ${Re.controlOutline}`},output:{display:"block",paddingTop:15,color:Re.colorText,fontSize:Re.fontSize,lineHeight:Re.lineHeight}}),Nt=(Re,ht)=>{const{formItemCls:Ye}=Re;return{[Ye]:{[`${Ye}-label > label`]:{height:ht},[`${Ye}-control-input`]:{minHeight:ht}}}},Ut=Re=>{const{componentCls:ht}=Re;return{[Re.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ge.Wf)(Re)),rt(Re)),{[`${ht}-text`]:{display:"inline-block",paddingInlineEnd:Re.paddingSM},"&-small":Object.assign({},Nt(Re,Re.controlHeightSM)),"&-large":Object.assign({},Nt(Re,Re.controlHeightLG))})}},se=Re=>{const{formItemCls:ht,iconCls:Ye,rootPrefixCls:St,antCls:_t,labelRequiredMarkColor:tr,labelColor:ar,labelFontSize:bt,labelHeight:xt,labelColonMarginInlineStart:Ft,labelColonMarginInlineEnd:Kt,itemMarginBottom:Pn}=Re;return{[ht]:Object.assign(Object.assign({},(0,Ge.Wf)(Re)),{marginBottom:Pn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${_t}-row`]:{display:"none"},"&-has-warning":{[`${ht}-split`]:{color:Re.colorError}},"&-has-error":{[`${ht}-split`]:{color:Re.colorWarning}},[`${ht}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Re.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:xt,color:ar,fontSize:bt,[`> ${Ye}`]:{fontSize:Re.fontSize,verticalAlign:"top"},[`&${ht}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Re.marginXXS,color:tr,fontSize:Re.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${ht}-required-mark-hidden, &${ht}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${ht}-optional`]:{display:"inline-block",marginInlineStart:Re.marginXXS,color:Re.colorTextDescription,[`&${ht}-required-mark-hidden`]:{display:"none"}},[`${ht}-tooltip`]:{color:Re.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Re.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ft,marginInlineEnd:Kt},[`&${ht}-no-colon::after`]:{content:'"\\a0"'}}},[`${ht}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${St}-col-'"]):not([class*="' ${St}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Re.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[ht]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Re.colorTextDescription,fontSize:Re.fontSize,lineHeight:Re.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Re.controlHeightSM,transition:`color ${Re.motionDurationMid} ${Re.motionEaseOut}`},"&-explain":{"&-error":{color:Re.colorError},"&-warning":{color:Re.colorWarning}}},[`&-with-help ${ht}-explain`]:{height:"auto",opacity:1},[`${ht}-feedback-icon`]:{fontSize:Re.fontSize,textAlign:"center",visibility:"visible",animationName:Ce.kr,animationDuration:Re.motionDurationMid,animationTimingFunction:Re.motionEaseOutBack,pointerEvents:"none","&-success":{color:Re.colorSuccess},"&-error":{color:Re.colorError},"&-warning":{color:Re.colorWarning},"&-validating":{color:Re.colorPrimary}}})}},Me=(Re,ht)=>{const{formItemCls:Ye}=Re;return{[`${ht}-horizontal`]:{[`${Ye}-label`]:{flexGrow:0},[`${Ye}-control`]:{flex:"1 1 0",minWidth:0},[`${Ye}-label[class$='-24'], ${Ye}-label[class*='-24 ']`]:{[`& + ${Ye}-control`]:{minWidth:"unset"}}}}},ft=Re=>{const{componentCls:ht,formItemCls:Ye,inlineItemMarginBottom:St}=Re;return{[`${ht}-inline`]:{display:"flex",flexWrap:"wrap",[Ye]:{flex:"none",marginInlineEnd:Re.margin,marginBottom:St,"&-row":{flexWrap:"nowrap"},[`> ${Ye}-label,
|
|
|
> ${Ye}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Ye}-label`]:{flex:"none"},[`${ht}-text`]:{display:"inline-block"},[`${Ye}-has-feedback`]:{display:"inline-block"}}}}},mt=Re=>({padding:Re.verticalLabelPadding,margin:Re.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Zt=Re=>{const{componentCls:ht,formItemCls:Ye,rootPrefixCls:St}=Re;return{[`${Ye} ${Ye}-label`]:mt(Re),[`${ht}:not(${ht}-inline)`]:{[Ye]:{flexWrap:"wrap",[`${Ye}-label, ${Ye}-control`]:{[`&:not([class*=" ${St}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Je=Re=>{const{componentCls:ht,formItemCls:Ye,antCls:St}=Re;return{[`${ht}-vertical`]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${Ye}-row`]:{flexDirection:"column"},[`${Ye}-label > label`]:{height:"auto"},[`${Ye}-control`]:{width:"100%"},[`${Ye}-label,
|
|
|
${St}-col-24${Ye}-label,
|
|
|
${St}-col-xl-24${Ye}-label`]:mt(Re)}},[`@media (max-width: ${(0,fe.unit)(Re.screenXSMax)})`]:[Zt(Re),{[ht]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${St}-col-xs-24${Ye}-label`]:mt(Re)}}}],[`@media (max-width: ${(0,fe.unit)(Re.screenSMMax)})`]:{[ht]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${St}-col-sm-24${Ye}-label`]:mt(Re)}}},[`@media (max-width: ${(0,fe.unit)(Re.screenMDMax)})`]:{[ht]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${St}-col-md-24${Ye}-label`]:mt(Re)}}},[`@media (max-width: ${(0,fe.unit)(Re.screenLGMax)})`]:{[ht]:{[`${Ye}:not(${Ye}-horizontal)`]:{[`${St}-col-lg-24${Ye}-label`]:mt(Re)}}}}},at=Re=>{const{formItemCls:ht,antCls:Ye}=Re;return{[`${ht}-vertical`]:{[`${ht}-row`]:{flexDirection:"column"},[`${ht}-label > label`]:{height:"auto"},[`${ht}-control`]:{width:"100%"}},[`${ht}-vertical ${ht}-label,
|
|
|
${Ye}-col-24${ht}-label,
|
|
|
${Ye}-col-xl-24${ht}-label`]:mt(Re),[`@media (max-width: ${(0,fe.unit)(Re.screenXSMax)})`]:[Zt(Re),{[ht]:{[`${Ye}-col-xs-24${ht}-label`]:mt(Re)}}],[`@media (max-width: ${(0,fe.unit)(Re.screenSMMax)})`]:{[ht]:{[`${Ye}-col-sm-24${ht}-label`]:mt(Re)}},[`@media (max-width: ${(0,fe.unit)(Re.screenMDMax)})`]:{[ht]:{[`${Ye}-col-md-24${ht}-label`]:mt(Re)}},[`@media (max-width: ${(0,fe.unit)(Re.screenLGMax)})`]:{[ht]:{[`${Ye}-col-lg-24${ht}-label`]:mt(Re)}}}},dt=Re=>({labelRequiredMarkColor:Re.colorError,labelColor:Re.colorTextHeading,labelFontSize:Re.fontSize,labelHeight:Re.controlHeight,labelColonMarginInlineStart:Re.marginXXS/2,labelColonMarginInlineEnd:Re.marginXS,itemMarginBottom:Re.marginLG,verticalLabelPadding:`0 0 ${Re.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Pe=(Re,ht)=>(0,et.mergeToken)(Re,{formItemCls:`${Re.componentCls}-item`,rootPrefixCls:ht});var Ze=(0,$e.I$)("Form",(Re,ht)=>{let{rootPrefixCls:Ye}=ht;const St=Pe(Re,Ye);return[Ut(St),se(St),Ve(St),Me(St,St.componentCls),Me(St,St.formItemCls),ft(St),Je(St),at(St),(0,yt.Z)(St),Ce.kr]},dt,{order:-1e3});const Ee=[];function ue(Re,ht,Ye){let St=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Re=="string"?Re:`${ht}-${St}`,error:Re,errorStatus:Ye}}var He=Re=>{let{help:ht,helpStatus:Ye,errors:St=Ee,warnings:_t=Ee,className:tr,fieldId:ar,onVisibleChanged:bt}=Re;const{prefixCls:xt}=de.useContext(b.Rk),Ft=`${xt}-item-explain`,Kt=(0,ze.Z)(xt),[Pn,Tn,kn]=Ze(xt,Kt),Kn=de.useMemo(()=>(0,Fe.Z)(xt),[xt]),pr=Be(St),Ar=Be(_t),Vr=de.useMemo(()=>ht!=null?[ue(ht,"help",Ye)]:[].concat((0,xe.Z)(pr.map((Pr,kr)=>ue(Pr,"error","error",kr))),(0,xe.Z)(Ar.map((Pr,kr)=>ue(Pr,"warning","warning",kr)))),[ht,Ye,pr,Ar]),Br=de.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`),Pn(de.createElement(be.default,{motionDeadline:Kn.motionDeadline,motionName:`${xt}-show-help`,visible:!!Br.length,onVisibleChanged:bt},Pr=>{const{className:kr,style:$r}=Pr;return de.createElement("div",Object.assign({},fr,{className:Oe()(Ft,kr,kn,Kt,tr,Tn),style:$r}),de.createElement(be.CSSMotionList,Object.assign({keys:Br},(0,Fe.Z)(xt),{motionName:`${xt}-show-help-item`,component:!1}),Xr=>{const{key:vo,error:yr,errorStatus:ur,className:gr,style:no}=Xr;return de.createElement("div",{key:vo,className:Oe()(gr,{[`${Ft}-${ur}`]:ur}),style:no},yr)}))}))},We=z(22001),kt=z(48755),Ae=z(2171),ve=z(31756),gt=z(23069),Gt=z(76846),Ht=z(16722);const pe=["parentNode"],Te="form_item";function Ke(Re){return Re===void 0||Re===!1?[]:Array.isArray(Re)?Re:[Re]}function tn(Re,ht){if(!Re.length)return;const Ye=Re.join("_");return ht?`${ht}_${Ye}`:pe.includes(Ye)?`${Te}_${Ye}`:Ye}function lt(Re,ht,Ye,St,_t,tr){let ar=St;return tr!==void 0?ar=tr:Ye.validating?ar="validating":Re.length?ar="error":ht.length?ar="warning":(Ye.touched||_t&&Ye.validated)&&(ar="success"),ar}var jt=function(Re,ht){var Ye={};for(var St in Re)Object.prototype.hasOwnProperty.call(Re,St)&&ht.indexOf(St)<0&&(Ye[St]=Re[St]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,St=Object.getOwnPropertySymbols(Re);_t<St.length;_t++)ht.indexOf(St[_t])<0&&Object.prototype.propertyIsEnumerable.call(Re,St[_t])&&(Ye[St[_t]]=Re[St[_t]]);return Ye};function ct(Re){return Ke(Re).join("_")}function ln(Re,ht){const Ye=ht.getFieldInstance(Re),St=(0,Gt.bn)(Ye);if(St)return St;const _t=tn(Ke(Re),ht.__INTERNAL__.name);if(_t)return document.getElementById(_t)}function Et(Re){const[ht]=(0,We.useForm)(),Ye=de.useRef({}),St=de.useMemo(()=>Re!=null?Re:Object.assign(Object.assign({},ht),{__INTERNAL__:{itemRef:_t=>tr=>{const ar=ct(_t);tr?Ye.current[ar]=tr:delete Ye.current[ar]}},scrollToField:function(_t){let tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:ar}=tr,bt=jt(tr,["focus"]),xt=ln(_t,St);xt&&((0,Ht.Z)(xt,Object.assign({scrollMode:"if-needed",block:"nearest"},bt)),ar&&St.focusField(_t))},focusField:_t=>{var tr,ar;const bt=St.getFieldInstance(_t);typeof(bt==null?void 0:bt.focus)=="function"?bt.focus():(ar=(tr=ln(_t,St))===null||tr===void 0?void 0:tr.focus)===null||ar===void 0||ar.call(tr)},getFieldInstance:_t=>{const tr=ct(_t);return Ye.current[tr]}}),[Re,ht]);return[St]}var le=z(98350),ne=function(Re,ht){var Ye={};for(var St in Re)Object.prototype.hasOwnProperty.call(Re,St)&&ht.indexOf(St)<0&&(Ye[St]=Re[St]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,St=Object.getOwnPropertySymbols(Re);_t<St.length;_t++)ht.indexOf(St[_t])<0&&Object.prototype.propertyIsEnumerable.call(Re,St[_t])&&(Ye[St[_t]]=Re[St[_t]]);return Ye};const te=(Re,ht)=>{const Ye=de.useContext(Ae.Z),{getPrefixCls:St,direction:_t,requiredMark:tr,colon:ar,scrollToFirstError:bt,className:xt,style:Ft}=(0,kt.dj)("form"),{prefixCls:Kt,className:Pn,rootClassName:Tn,size:kn,disabled:Kn=Ye,form:pr,colon:Ar,labelAlign:Vr,labelWrap:Br,labelCol:fr,wrapperCol:Pr,hideRequiredMark:kr,layout:$r="horizontal",scrollToFirstError:Xr,requiredMark:vo,onFinishFailed:yr,name:ur,style:gr,feedbackIcons:no,variant:Kr}=Re,wr=ne(Re,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Rr=(0,ve.Z)(kn),mo=de.useContext(le.Z),Qr=de.useMemo(()=>vo!==void 0?vo:kr?!1:tr!==void 0?tr:!0,[kr,vo,tr]),qr=Ar!=null?Ar:ar,eo=St("form",Kt),ko=(0,ze.Z)(eo),[_o,qo,Lo]=Ze(eo,ko),ii=Oe()(eo,`${eo}-${$r}`,{[`${eo}-hide-required-mark`]:Qr===!1,[`${eo}-rtl`]:_t==="rtl",[`${eo}-${Rr}`]:Rr},Lo,ko,qo,xt,Pn,Tn),[ke]=Et(pr),{__INTERNAL__:nt}=ke;nt.name=ur;const Mt=de.useMemo(()=>({name:ur,labelAlign:Vr,labelCol:fr,labelWrap:Br,wrapperCol:Pr,vertical:$r==="vertical",colon:qr,requiredMark:Qr,itemRef:nt.itemRef,form:ke,feedbackIcons:no}),[ur,Vr,fr,Pr,$r,qr,Qr,ke,no]),un=de.useRef(null);de.useImperativeHandle(ht,()=>{var ot;return Object.assign(Object.assign({},ke),{nativeElement:(ot=un.current)===null||ot===void 0?void 0:ot.nativeElement})});const fn=(ot,Ot)=>{if(ot){let en={block:"nearest"};typeof ot=="object"&&(en=Object.assign(Object.assign({},en),ot)),ke.scrollToField(Ot,en)}},Rt=ot=>{if(yr==null||yr(ot),ot.errorFields.length){const Ot=ot.errorFields[0].name;if(Xr!==void 0){fn(Xr,Ot);return}bt!==void 0&&fn(bt,Ot)}};return _o(de.createElement(b.pg.Provider,{value:Kr},de.createElement(Ae.n,{disabled:Kn},de.createElement(gt.Z.Provider,{value:Rr},de.createElement(b.RV,{validateMessages:mo},de.createElement(b.q3.Provider,{value:Mt},de.createElement(We.default,Object.assign({id:ur},wr,{name:ur,onFinishFailed:Rt,form:ke,ref:un,style:Object.assign(Object.assign({},Ft),gr),className:ii}))))))))};var he=de.forwardRef(te),re=z(41799),ce=z(8654),De=z(22703),st=z(32383),Qe=z(11592);function Ie(Re){if(typeof Re=="function")return Re;const ht=(0,Qe.Z)(Re);return ht.length<=1?ht[0]:ht}const pt=()=>{const{status:Re,errors:ht=[],warnings:Ye=[]}=de.useContext(b.aM);return{status:Re,errors:ht,warnings:Ye}};pt.Context=b.aM;var Pt=pt,Tt=z(16089);function Le(Re){const[ht,Ye]=de.useState(Re),St=de.useRef(null),_t=de.useRef([]),tr=de.useRef(!1);de.useEffect(()=>(tr.current=!1,()=>{tr.current=!0,Tt.Z.cancel(St.current),St.current=null}),[]);function ar(bt){tr.current||(St.current===null&&(_t.current=[],St.current=(0,Tt.Z)(()=>{St.current=null,Ye(xt=>{let Ft=xt;return _t.current.forEach(Kt=>{Ft=Kt(Ft)}),Ft})})),_t.current.push(bt))}return[ht,ar]}function Ue(){const{itemRef:Re}=de.useContext(b.q3),ht=de.useRef({});function Ye(St,_t){const tr=_t&&typeof _t=="object"&&(0,ce.C4)(_t),ar=St.join("_");return(ht.current.name!==ar||ht.current.originRef!==tr)&&(ht.current.name=ar,ht.current.originRef=tr,ht.current.ref=(0,ce.sQ)(Re(St),tr)),ht.current.ref}return Ye}var pn=z(29194),Wt=z(34280),Cn=z(2738),cn=z(65970),Xt=z(70425),an=z(5472);const mn=Re=>{const{formItemCls:ht}=Re;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${ht}-control`]:{display:"flex"}}}};var vt=(0,$e.bk)(["Form","item-item"],(Re,ht)=>{let{rootPrefixCls:Ye}=ht;const St=Pe(Re,Ye);return[mn(St)]}),Yt=function(Re,ht){var Ye={};for(var St in Re)Object.prototype.hasOwnProperty.call(Re,St)&&ht.indexOf(St)<0&&(Ye[St]=Re[St]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,St=Object.getOwnPropertySymbols(Re);_t<St.length;_t++)ht.indexOf(St[_t])<0&&Object.prototype.propertyIsEnumerable.call(Re,St[_t])&&(Ye[St[_t]]=Re[St[_t]]);return Ye};const gn=24;var _e=Re=>{const{prefixCls:ht,status:Ye,labelCol:St,wrapperCol:_t,children:tr,errors:ar,warnings:bt,_internalItemRender:xt,extra:Ft,help:Kt,fieldId:Pn,marginBottom:Tn,onErrorVisibleChanged:kn,label:Kn}=Re,pr=`${ht}-item`,Ar=de.useContext(b.q3),Vr=de.useMemo(()=>{let wr=Object.assign({},_t||Ar.wrapperCol||{});return Kn===null&&!St&&!_t&&Ar.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(mo=>{const Qr=mo?[mo]:[],qr=(0,Xt.U2)(Ar.labelCol,Qr),eo=typeof qr=="object"?qr:{},ko=(0,Xt.U2)(wr,Qr),_o=typeof ko=="object"?ko:{};"span"in eo&&!("offset"in _o)&&eo.span<gn&&(wr=(0,Xt.t8)(wr,[].concat(Qr,["offset"]),eo.span))}),wr},[_t,Ar]),Br=Oe()(`${pr}-control`,Vr.className),fr=de.useMemo(()=>{const{labelCol:wr,wrapperCol:Rr}=Ar;return Yt(Ar,["labelCol","wrapperCol"])},[Ar]),Pr=de.useRef(null),[kr,$r]=de.useState(0);(0,Wt.Z)(()=>{Ft&&Pr.current?$r(Pr.current.clientHeight):$r(0)},[Ft]);const Xr=de.createElement("div",{className:`${pr}-control-input`},de.createElement("div",{className:`${pr}-control-input-content`},tr)),vo=de.useMemo(()=>({prefixCls:ht,status:Ye}),[ht,Ye]),yr=Tn!==null||ar.length||bt.length?de.createElement(b.Rk.Provider,{value:vo},de.createElement(He,{fieldId:Pn,errors:ar,warnings:bt,help:Kt,helpStatus:Ye,className:`${pr}-explain-connected`,onVisibleChanged:kn})):null,ur={};Pn&&(ur.id=`${Pn}_extra`);const gr=Ft?de.createElement("div",Object.assign({},ur,{className:`${pr}-extra`,ref:Pr}),Ft):null,no=yr||gr?de.createElement("div",{className:`${pr}-additional`,style:Tn?{minHeight:Tn+kr}:{}},yr,gr):null,Kr=xt&&xt.mark==="pro_table_render"&&xt.render?xt.render(Re,{input:Xr,errorList:yr,extra:gr}):de.createElement(de.Fragment,null,Xr,no);return de.createElement(b.q3.Provider,{value:fr},de.createElement(an.Z,Object.assign({},Vr,{className:Br}),Kr),de.createElement(vt,{prefixCls:ht}))},Vt=z(61485),nn=z(9017),dn=z(85981),Ln=z(25399),Qn=function(Re,ht){var Ye={};for(var St in Re)Object.prototype.hasOwnProperty.call(Re,St)&&ht.indexOf(St)<0&&(Ye[St]=Re[St]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,St=Object.getOwnPropertySymbols(Re);_t<St.length;_t++)ht.indexOf(St[_t])<0&&Object.prototype.propertyIsEnumerable.call(Re,St[_t])&&(Ye[St[_t]]=Re[St[_t]]);return Ye};function hr(Re){return Re?typeof Re=="object"&&!de.isValidElement(Re)?Re:{title:Re}:null}var Jn=Re=>{let{prefixCls:ht,label:Ye,htmlFor:St,labelCol:_t,labelAlign:tr,colon:ar,required:bt,requiredMark:xt,tooltip:Ft,vertical:Kt}=Re;var Pn;const[Tn]=(0,nn.Z)("Form"),{labelAlign:kn,labelCol:Kn,labelWrap:pr,colon:Ar}=de.useContext(b.q3);if(!Ye)return null;const Vr=_t||Kn||{},Br=tr||kn,fr=`${ht}-item-label`,Pr=Oe()(fr,Br==="left"&&`${fr}-left`,Vr.className,{[`${fr}-wrap`]:!!pr});let kr=Ye;const $r=ar===!0||Ar!==!1&&ar!==!1;$r&&!Kt&&typeof Ye=="string"&&Ye.trim()&&(kr=Ye.replace(/[:|:]\s*$/,""));const vo=hr(Ft);if(vo){const{icon:wr=de.createElement(Vt.Z,null)}=vo,Rr=Qn(vo,["icon"]),mo=de.createElement(Ln.Z,Object.assign({},Rr),de.cloneElement(wr,{className:`${ht}-item-tooltip`,title:"",onClick:Qr=>{Qr.preventDefault()},tabIndex:null}));kr=de.createElement(de.Fragment,null,kr,mo)}const yr=xt==="optional",ur=typeof xt=="function",gr=xt===!1;ur?kr=xt(kr,{required:!!bt}):yr&&!bt&&(kr=de.createElement(de.Fragment,null,kr,de.createElement("span",{className:`${ht}-item-optional`,title:""},(Tn==null?void 0:Tn.optional)||((Pn=dn.Z.Form)===null||Pn===void 0?void 0:Pn.optional))));let no;gr?no="hidden":(yr||ur)&&(no="optional");const Kr=Oe()({[`${ht}-item-required`]:bt,[`${ht}-item-required-mark-${no}`]:no,[`${ht}-item-no-colon`]:!$r});return de.createElement(an.Z,Object.assign({},Vr,{className:Pr}),de.createElement("label",{htmlFor:St,className:Kr,title:typeof Ye=="string"?Ye:""},kr))},dr=z(29679),Jt=z(19248),En=z(96512),qn=z(58617);const nr={success:dr.Z,warning:En.Z,error:Jt.Z,validating:qn.Z};function jn(Re){let{children:ht,errors:Ye,warnings:St,hasFeedback:_t,validateStatus:tr,prefixCls:ar,meta:bt,noStyle:xt}=Re;const Ft=`${ar}-item`,{feedbackIcons:Kt}=de.useContext(b.q3),Pn=lt(Ye,St,bt,null,!!_t,tr),{isFormItemInput:Tn,status:kn,hasFeedback:Kn,feedbackIcon:pr}=de.useContext(b.aM),Ar=de.useMemo(()=>{var Vr;let Br;if(_t){const Pr=_t!==!0&&_t.icons||Kt,kr=Pn&&((Vr=Pr==null?void 0:Pr({status:Pn,errors:Ye,warnings:St}))===null||Vr===void 0?void 0:Vr[Pn]),$r=Pn&&nr[Pn];Br=kr!==!1&&$r?de.createElement("span",{className:Oe()(`${Ft}-feedback-icon`,`${Ft}-feedback-icon-${Pn}`)},kr||de.createElement($r,null)):null}const fr={status:Pn||"",errors:Ye,warnings:St,hasFeedback:!!_t,feedbackIcon:Br,isFormItemInput:!0};return xt&&(fr.status=(Pn!=null?Pn:kn)||"",fr.isFormItemInput=Tn,fr.hasFeedback=!!(_t!=null?_t:Kn),fr.feedbackIcon=_t!==void 0?fr.feedbackIcon:pr),fr},[Pn,_t,xt,Tn,kn]);return de.createElement(b.aM.Provider,{value:Ar},ht)}var xn=function(Re,ht){var Ye={};for(var St in Re)Object.prototype.hasOwnProperty.call(Re,St)&&ht.indexOf(St)<0&&(Ye[St]=Re[St]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,St=Object.getOwnPropertySymbols(Re);_t<St.length;_t++)ht.indexOf(St[_t])<0&&Object.prototype.propertyIsEnumerable.call(Re,St[_t])&&(Ye[St[_t]]=Re[St[_t]]);return Ye};function ut(Re){const{prefixCls:ht,className:Ye,rootClassName:St,style:_t,help:tr,errors:ar,warnings:bt,validateStatus:xt,meta:Ft,hasFeedback:Kt,hidden:Pn,children:Tn,fieldId:kn,required:Kn,isRequired:pr,onSubItemMetaChange:Ar,layout:Vr}=Re,Br=xn(Re,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),fr=`${ht}-item`,{requiredMark:Pr,vertical:kr}=de.useContext(b.q3),$r=kr||Vr==="vertical",Xr=de.useRef(null),vo=Be(ar),yr=Be(bt),ur=tr!=null,gr=!!(ur||ar.length||bt.length),no=!!Xr.current&&(0,pn.Z)(Xr.current),[Kr,wr]=de.useState(null);(0,Wt.Z)(()=>{if(gr&&Xr.current){const eo=getComputedStyle(Xr.current);wr(parseInt(eo.marginBottom,10))}},[gr,no]);const Rr=eo=>{eo||wr(null)},Qr=function(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ko=eo?vo:Ft.errors,_o=eo?yr:Ft.warnings;return lt(ko,_o,Ft,"",!!Kt,xt)}(),qr=Oe()(fr,Ye,St,{[`${fr}-with-help`]:ur||vo.length||yr.length,[`${fr}-has-feedback`]:Qr&&Kt,[`${fr}-has-success`]:Qr==="success",[`${fr}-has-warning`]:Qr==="warning",[`${fr}-has-error`]:Qr==="error",[`${fr}-is-validating`]:Qr==="validating",[`${fr}-hidden`]:Pn,[`${fr}-${Vr}`]:Vr});return de.createElement("div",{className:qr,style:_t,ref:Xr},de.createElement(cn.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"])),de.createElement(Jn,Object.assign({htmlFor:kn},Re,{requiredMark:Pr,required:Kn!=null?Kn:pr,prefixCls:ht,vertical:$r})),de.createElement(_e,Object.assign({},Re,Ft,{errors:vo,warnings:yr,prefixCls:ht,status:Qr,help:tr,marginBottom:Kr,onErrorVisibleChanged:Rr}),de.createElement(b.qI.Provider,{value:Ar},de.createElement(jn,{prefixCls:ht,meta:Ft,errors:Ft.errors,warnings:Ft.warnings,hasFeedback:Kt,validateStatus:Qr},Tn)))),!!Kr&&de.createElement("div",{className:`${fr}-margin-offset`,style:{marginBottom:-Kr}}))}const qt="__SPLIT__",Dt=null;function sn(Re,ht){const Ye=Object.keys(Re),St=Object.keys(ht);return Ye.length===St.length&&Ye.every(_t=>{const tr=Re[_t],ar=ht[_t];return tr===ar||typeof tr=="function"||typeof ar=="function"})}const Sn=de.memo(Re=>{let{children:ht}=Re;return ht},(Re,ht)=>sn(Re.control,ht.control)&&Re.update===ht.update&&Re.childProps.length===ht.childProps.length&&Re.childProps.every((Ye,St)=>Ye===ht.childProps[St]));function vn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Bn(Re){const{name:ht,noStyle:Ye,className:St,dependencies:_t,prefixCls:tr,shouldUpdate:ar,rules:bt,children:xt,required:Ft,label:Kt,messageVariables:Pn,trigger:Tn="onChange",validateTrigger:kn,hidden:Kn,help:pr,layout:Ar}=Re,{getPrefixCls:Vr}=de.useContext(kt.E_),{name:Br}=de.useContext(b.q3),fr=Ie(xt),Pr=typeof fr=="function",kr=de.useContext(b.qI),{validateTrigger:$r}=de.useContext(We.FieldContext),Xr=kn!==void 0?kn:$r,vo=ht!=null,yr=Vr("form",tr),ur=(0,ze.Z)(yr),[gr,no,Kr]=Ze(yr,ur),wr=(0,st.ln)("Form.Item"),Rr=de.useContext(We.ListContext),mo=de.useRef(null),[Qr,qr]=Le({}),[eo,ko]=(0,re.Z)(()=>vn()),_o=un=>{const fn=Rr==null?void 0:Rr.getKey(un.name);if(ko(un.destroy?vn():un,!0),Ye&&pr!==!1&&kr){let Rt=un.name;if(un.destroy)Rt=mo.current||Rt;else if(fn!==void 0){const[ot,Ot]=fn;Rt=[ot].concat((0,xe.Z)(Ot)),mo.current=Rt}kr(un,Rt)}},qo=(un,fn)=>{qr(Rt=>{const ot=Object.assign({},Rt),en=[].concat((0,xe.Z)(un.name.slice(0,-1)),(0,xe.Z)(fn)).join(qt);return un.destroy?delete ot[en]:ot[en]=un,ot})},[Lo,ii]=de.useMemo(()=>{const un=(0,xe.Z)(eo.errors),fn=(0,xe.Z)(eo.warnings);return Object.values(Qr).forEach(Rt=>{un.push.apply(un,(0,xe.Z)(Rt.errors||[])),fn.push.apply(fn,(0,xe.Z)(Rt.warnings||[]))}),[un,fn]},[Qr,eo.errors,eo.warnings]),ke=Ue();function nt(un,fn,Rt){return Ye&&!Kn?de.createElement(jn,{prefixCls:yr,hasFeedback:Re.hasFeedback,validateStatus:Re.validateStatus,meta:eo,errors:Lo,warnings:ii,noStyle:!0},un):de.createElement(ut,Object.assign({key:"row"},Re,{className:Oe()(St,Kr,ur,no),prefixCls:yr,fieldId:fn,isRequired:Rt,errors:Lo,warnings:ii,meta:eo,onSubItemMetaChange:qo,layout:Ar}),un)}if(!vo&&!Pr&&!_t)return gr(nt(fr));let Mt={};return typeof Kt=="string"?Mt.label=Kt:ht&&(Mt.label=String(ht)),Pn&&(Mt=Object.assign(Object.assign({},Mt),Pn)),gr(de.createElement(We.Field,Object.assign({},Re,{messageVariables:Mt,trigger:Tn,validateTrigger:Xr,onMetaChange:_o}),(un,fn,Rt)=>{const ot=Ke(ht).length&&fn?fn.name:[],Ot=tn(ot,Br),en=Ft!==void 0?Ft:!!(bt!=null&&bt.some(An=>{if(An&&typeof An=="object"&&An.required&&!An.warningOnly)return!0;if(typeof An=="function"){const Hn=An(Rt);return(Hn==null?void 0:Hn.required)&&!(Hn!=null&&Hn.warningOnly)}return!1})),Fn=Object.assign({},un);let Zn=null;if(Array.isArray(fr)&&vo)Zn=fr;else if(!(Pr&&(!(ar||_t)||vo))){if(!(_t&&!Pr&&!vo))if(de.isValidElement(fr)){const An=Object.assign(Object.assign({},fr.props),Fn);if(An.id||(An.id=Ot),pr||Lo.length>0||ii.length>0||Re.extra){const Cr=[];(pr||Lo.length>0)&&Cr.push(`${Ot}_help`),Re.extra&&Cr.push(`${Ot}_extra`),An["aria-describedby"]=Cr.join(" ")}Lo.length>0&&(An["aria-invalid"]="true"),en&&(An["aria-required"]="true"),(0,ce.Yr)(fr)&&(An.ref=ke(ot,fr)),new Set([].concat((0,xe.Z)(Ke(Tn)),(0,xe.Z)(Ke(Xr)))).forEach(Cr=>{An[Cr]=function(){for(var br,Wr,Jr,yo,io,Io=arguments.length,co=new Array(Io),fo=0;fo<Io;fo++)co[fo]=arguments[fo];(Jr=Fn[Cr])===null||Jr===void 0||(br=Jr).call.apply(br,[Fn].concat(co)),(io=(yo=fr.props)[Cr])===null||io===void 0||(Wr=io).call.apply(Wr,[yo].concat(co))}});const $n=[An["aria-required"],An["aria-invalid"],An["aria-describedby"]];Zn=de.createElement(Sn,{control:Fn,update:fr,childProps:$n},(0,De.Tm)(fr,An))}else Pr&&(ar||_t)&&!vo?Zn=fr(Rt):Zn=fr}return nt(Zn,Ot,en)}))}const Un=Bn;Un.useStatus=Pt;var Yn=Un,$t=function(Re,ht){var Ye={};for(var St in Re)Object.prototype.hasOwnProperty.call(Re,St)&&ht.indexOf(St)<0&&(Ye[St]=Re[St]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,St=Object.getOwnPropertySymbols(Re);_t<St.length;_t++)ht.indexOf(St[_t])<0&&Object.prototype.propertyIsEnumerable.call(Re,St[_t])&&(Ye[St[_t]]=Re[St[_t]]);return Ye},rn=Re=>{var{prefixCls:ht,children:Ye}=Re,St=$t(Re,["prefixCls","children"]);const{getPrefixCls:_t}=de.useContext(kt.E_),tr=_t("form",ht),ar=de.useMemo(()=>({prefixCls:tr,status:"error"}),[tr]);return de.createElement(We.List,Object.assign({},St),(bt,xt,Ft)=>de.createElement(b.Rk.Provider,{value:ar},Ye(bt.map(Kt=>Object.assign(Object.assign({},Kt),{fieldKey:Kt.key})),xt,{errors:Ft.errors,warnings:Ft.warnings})))};function or(){const{form:Re}=de.useContext(b.q3);return Re}const wt=he;wt.Item=Yn,wt.List=rn,wt.ErrorList=He,wt.useForm=Et,wt.useFormInstance=or,wt.useWatch=We.useWatch,wt.Provider=b.RV,wt.create=()=>{};var zt=wt},4875:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return At}});var b=z(59301),xe=z(84105),de=z(87395),tt=z(92310),Oe=z.n(tt),be=z(54476),Fe=z(20068),ze=z(76190),Be=z(42978),fe=z(75931),Ge=z(67732),Ce=z(83652);function yt(){return typeof BigInt=="function"}function et(_e){return!_e&&_e!==0&&!Number.isNaN(_e)||!String(_e).trim()}function $e(_e){var Vt=_e.trim(),nn=Vt.startsWith("-");nn&&(Vt=Vt.slice(1)),Vt=Vt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Vt.startsWith(".")&&(Vt="0".concat(Vt));var dn=Vt||"0",Ln=dn.split("."),Qn=Ln[0]||"0",hr=Ln[1]||"0";Qn==="0"&&hr==="0"&&(nn=!1);var vr=nn?"-":"";return{negative:nn,negativeStr:vr,trimStr:dn,integerStr:Qn,decimalStr:hr,fullStr:"".concat(vr).concat(dn)}}function je(_e){var Vt=String(_e);return!Number.isNaN(Number(Vt))&&Vt.includes("e")}function Ve(_e){var Vt=String(_e);if(je(_e)){var nn=Number(Vt.slice(Vt.indexOf("e-")+2)),dn=Vt.match(/\.(\d+)/);return dn!=null&&dn[1]&&(nn+=dn[1].length),nn}return Vt.includes(".")&&Nt(Vt)?Vt.length-Vt.indexOf(".")-1:0}function rt(_e){var Vt=String(_e);if(je(_e)){if(_e>Number.MAX_SAFE_INTEGER)return String(yt()?BigInt(_e).toString():Number.MAX_SAFE_INTEGER);if(_e<Number.MIN_SAFE_INTEGER)return String(yt()?BigInt(_e).toString():Number.MIN_SAFE_INTEGER);Vt=_e.toFixed(Ve(Vt))}return $e(Vt).fullStr}function Nt(_e){return typeof _e=="number"?!Number.isNaN(_e):_e?/^\s*-?\d+(\.\d+)?\s*$/.test(_e)||/^\s*-?\d+\.\s*$/.test(_e)||/^\s*-?\.\d+\s*$/.test(_e):!1}var Ut=function(){function _e(Vt){if((0,Ge.Z)(this,_e),(0,Fe.Z)(this,"origin",""),(0,Fe.Z)(this,"negative",void 0),(0,Fe.Z)(this,"integer",void 0),(0,Fe.Z)(this,"decimal",void 0),(0,Fe.Z)(this,"decimalLen",void 0),(0,Fe.Z)(this,"empty",void 0),(0,Fe.Z)(this,"nan",void 0),et(Vt)){this.empty=!0;return}if(this.origin=String(Vt),Vt==="-"||Number.isNaN(Vt)){this.nan=!0;return}var nn=Vt;if(je(nn)&&(nn=Number(nn)),nn=typeof nn=="string"?nn:rt(nn),Nt(nn)){var dn=$e(nn);this.negative=dn.negative;var Ln=dn.trimStr.split(".");this.integer=BigInt(Ln[0]);var Qn=Ln[1]||"0";this.decimal=BigInt(Qn),this.decimalLen=Qn.length}else this.nan=!0}return(0,Ce.Z)(_e,[{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(nn){var dn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(nn,"0"));return BigInt(dn)}},{key:"negate",value:function(){var nn=new _e(this.toString());return nn.negative=!nn.negative,nn}},{key:"cal",value:function(nn,dn,Ln){var Qn=Math.max(this.getDecimalStr().length,nn.getDecimalStr().length),hr=this.alignDecimal(Qn),vr=nn.alignDecimal(Qn),Jn=dn(hr,vr).toString(),dr=Ln(Qn),Jt=$e(Jn),En=Jt.negativeStr,qn=Jt.trimStr,nr="".concat(En).concat(qn.padStart(dr+1,"0"));return new _e("".concat(nr.slice(0,-dr),".").concat(nr.slice(-dr)))}},{key:"add",value:function(nn){if(this.isInvalidate())return new _e(nn);var dn=new _e(nn);return dn.isInvalidate()?this:this.cal(dn,function(Ln,Qn){return Ln+Qn},function(Ln){return Ln})}},{key:"multi",value:function(nn){var dn=new _e(nn);return this.isInvalidate()||dn.isInvalidate()?new _e(NaN):this.cal(dn,function(Ln,Qn){return Ln*Qn},function(Ln){return Ln*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(nn){return this.toString()===(nn==null?void 0:nn.toString())}},{key:"lessEquals",value:function(nn){return this.add(nn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return nn?this.isInvalidate()?"":$e("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),_e}(),se=function(){function _e(Vt){if((0,Ge.Z)(this,_e),(0,Fe.Z)(this,"origin",""),(0,Fe.Z)(this,"number",void 0),(0,Fe.Z)(this,"empty",void 0),et(Vt)){this.empty=!0;return}this.origin=String(Vt),this.number=Number(Vt)}return(0,Ce.Z)(_e,[{key:"negate",value:function(){return new _e(-this.toNumber())}},{key:"add",value:function(nn){if(this.isInvalidate())return new _e(nn);var dn=Number(nn);if(Number.isNaN(dn))return this;var Ln=this.number+dn;if(Ln>Number.MAX_SAFE_INTEGER)return new _e(Number.MAX_SAFE_INTEGER);if(Ln<Number.MIN_SAFE_INTEGER)return new _e(Number.MIN_SAFE_INTEGER);var Qn=Math.max(Ve(this.number),Ve(dn));return new _e(Ln.toFixed(Qn))}},{key:"multi",value:function(nn){var dn=Number(nn);if(this.isInvalidate()||Number.isNaN(dn))return new _e(NaN);var Ln=this.number*dn;if(Ln>Number.MAX_SAFE_INTEGER)return new _e(Number.MAX_SAFE_INTEGER);if(Ln<Number.MIN_SAFE_INTEGER)return new _e(Number.MIN_SAFE_INTEGER);var Qn=Math.max(Ve(this.number),Ve(dn));return new _e(Ln.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(nn){return this.toNumber()===(nn==null?void 0:nn.toNumber())}},{key:"lessEquals",value:function(nn){return this.add(nn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return nn?this.isInvalidate()?"":rt(this.number):this.origin}}]),_e}();function Me(_e){return yt()?new Ut(_e):new se(_e)}function ft(_e,Vt,nn){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(_e==="")return"";var Ln=$e(_e),Qn=Ln.negativeStr,hr=Ln.integerStr,vr=Ln.decimalStr,Jn="".concat(Vt).concat(vr),dr="".concat(Qn).concat(hr);if(nn>=0){var Jt=Number(vr[nn]);if(Jt>=5&&!dn){var En=Me(_e).add("".concat(Qn,"0.").concat("0".repeat(nn)).concat(10-Jt));return ft(En.toString(),Vt,nn,dn)}return nn===0?dr:"".concat(dr).concat(Vt).concat(vr.padEnd(nn,"0").slice(0,nn))}return Jn===".0"?dr:"".concat(dr).concat(Jn)}var mt=Me,Zt=z(36901),Je=z(34280);function at(_e,Vt){return typeof Proxy!="undefined"&&_e?new Proxy(_e,{get:function(dn,Ln){if(Vt[Ln])return Vt[Ln];var Qn=dn[Ln];return typeof Qn=="function"?Qn.bind(dn):Qn}}):_e}var dt=z(8654),Pe=z(48736);function Ze(_e,Vt){var nn=(0,b.useRef)(null);function dn(){try{var Qn=_e.selectionStart,hr=_e.selectionEnd,vr=_e.value,Jn=vr.substring(0,Qn),dr=vr.substring(hr);nn.current={start:Qn,end:hr,value:vr,beforeTxt:Jn,afterTxt:dr}}catch(Jt){}}function Ln(){if(_e&&nn.current&&Vt)try{var Qn=_e.value,hr=nn.current,vr=hr.beforeTxt,Jn=hr.afterTxt,dr=hr.start,Jt=Qn.length;if(Qn.startsWith(vr))Jt=vr.length;else if(Qn.endsWith(Jn))Jt=Qn.length-nn.current.afterTxt.length;else{var En=vr[dr-1],qn=Qn.indexOf(En,dr-1);qn!==-1&&(Jt=qn+1)}_e.setSelectionRange(Jt,Jt)}catch(nr){(0,Pe.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(nr.message))}}return[dn,Ln]}var Ee=z(49658),ue=function(){var Vt=(0,b.useState)(!1),nn=(0,Be.Z)(Vt,2),dn=nn[0],Ln=nn[1];return(0,Je.Z)(function(){Ln((0,Ee.Z)())},[]),dn},Ct=ue,He=z(16089),We=200,kt=600;function Ae(_e){var Vt=_e.prefixCls,nn=_e.upNode,dn=_e.downNode,Ln=_e.upDisabled,Qn=_e.downDisabled,hr=_e.onStep,vr=b.useRef(),Jn=b.useRef([]),dr=b.useRef();dr.current=hr;var Jt=function(){clearTimeout(vr.current)},En=function(sn,Sn){sn.preventDefault(),Jt(),dr.current(Sn);function vn(){dr.current(Sn),vr.current=setTimeout(vn,We)}vr.current=setTimeout(vn,kt)};b.useEffect(function(){return function(){Jt(),Jn.current.forEach(function(Dt){return He.Z.cancel(Dt)})}},[]);var qn=Ct();if(qn)return null;var nr="".concat(Vt,"-handler"),jn=Oe()(nr,"".concat(nr,"-up"),(0,Fe.Z)({},"".concat(nr,"-up-disabled"),Ln)),xn=Oe()(nr,"".concat(nr,"-down"),(0,Fe.Z)({},"".concat(nr,"-down-disabled"),Qn)),ut=function(){return Jn.current.push((0,He.Z)(Jt))},qt={unselectable:"on",role:"button",onMouseUp:ut,onMouseLeave:ut};return b.createElement("div",{className:"".concat(nr,"-wrap")},b.createElement("span",(0,be.Z)({},qt,{onMouseDown:function(sn){En(sn,!0)},"aria-label":"Increase Value","aria-disabled":Ln,className:jn}),nn||b.createElement("span",{unselectable:"on",className:"".concat(Vt,"-handler-up-inner")})),b.createElement("span",(0,be.Z)({},qt,{onMouseDown:function(sn){En(sn,!1)},"aria-label":"Decrease Value","aria-disabled":Qn,className:xn}),dn||b.createElement("span",{unselectable:"on",className:"".concat(Vt,"-handler-down-inner")})))}function ve(_e){var Vt=typeof _e=="number"?rt(_e):$e(_e).fullStr,nn=Vt.includes(".");return nn?$e(Vt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:_e+"0"}var gt=z(30292),Gt=function(){var _e=(0,b.useRef)(0),Vt=function(){He.Z.cancel(_e.current)};return(0,b.useEffect)(function(){return Vt},[]),function(nn){Vt(),_e.current=(0,He.Z)(function(){nn()})}},Ht=["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"],Te=function(Vt,nn){return Vt||nn.isEmpty()?nn.toString():nn.toNumber()},Ke=function(Vt){var nn=mt(Vt);return nn.isInvalidate()?null:nn},tn=b.forwardRef(function(_e,Vt){var nn=_e.prefixCls,dn=_e.className,Ln=_e.style,Qn=_e.min,hr=_e.max,vr=_e.step,Jn=vr===void 0?1:vr,dr=_e.defaultValue,Jt=_e.value,En=_e.disabled,qn=_e.readOnly,nr=_e.upHandler,jn=_e.downHandler,xn=_e.keyboard,ut=_e.changeOnWheel,qt=ut===void 0?!1:ut,Dt=_e.controls,sn=Dt===void 0?!0:Dt,Sn=_e.classNames,vn=_e.stringMode,Bn=_e.parser,Un=_e.formatter,Yn=_e.precision,$t=_e.decimalSeparator,Mn=_e.onChange,rn=_e.onInput,or=_e.onPressEnter,wt=_e.onStep,zt=_e.changeOnBlur,Re=zt===void 0?!0:zt,ht=_e.domRef,Ye=(0,fe.Z)(_e,Ht),St="".concat(nn,"-input"),_t=b.useRef(null),tr=b.useState(!1),ar=(0,Be.Z)(tr,2),bt=ar[0],xt=ar[1],Ft=b.useRef(!1),Kt=b.useRef(!1),Pn=b.useRef(!1),Tn=b.useState(function(){return mt(Jt!=null?Jt:dr)}),kn=(0,Be.Z)(Tn,2),Kn=kn[0],pr=kn[1];function Ar(Ot){Jt===void 0&&pr(Ot)}var Vr=b.useCallback(function(Ot,en){if(!en)return Yn>=0?Yn:Math.max(Ve(Ot),Ve(Jn))},[Yn,Jn]),Br=b.useCallback(function(Ot){var en=String(Ot);if(Bn)return Bn(en);var Fn=en;return $t&&(Fn=Fn.replace($t,".")),Fn.replace(/[^\w.-]+/g,"")},[Bn,$t]),fr=b.useRef(""),Pr=b.useCallback(function(Ot,en){if(Un)return Un(Ot,{userTyping:en,input:String(fr.current)});var Fn=typeof Ot=="number"?rt(Ot):Ot;if(!en){var Zn=Vr(Fn,en);if(Nt(Fn)&&($t||Zn>=0)){var An=$t||".";Fn=ft(Fn,An,Zn)}}return Fn},[Un,Vr,$t]),kr=b.useState(function(){var Ot=dr!=null?dr:Jt;return Kn.isInvalidate()&&["string","number"].includes((0,ze.Z)(Ot))?Number.isNaN(Ot)?"":Ot:Pr(Kn.toString(),!1)}),$r=(0,Be.Z)(kr,2),Xr=$r[0],vo=$r[1];fr.current=Xr;function yr(Ot,en){vo(Pr(Ot.isInvalidate()?Ot.toString(!1):Ot.toString(!en),en))}var ur=b.useMemo(function(){return Ke(hr)},[hr,Yn]),gr=b.useMemo(function(){return Ke(Qn)},[Qn,Yn]),no=b.useMemo(function(){return!ur||!Kn||Kn.isInvalidate()?!1:ur.lessEquals(Kn)},[ur,Kn]),Kr=b.useMemo(function(){return!gr||!Kn||Kn.isInvalidate()?!1:Kn.lessEquals(gr)},[gr,Kn]),wr=Ze(_t.current,bt),Rr=(0,Be.Z)(wr,2),mo=Rr[0],Qr=Rr[1],qr=function(en){return ur&&!en.lessEquals(ur)?ur:gr&&!gr.lessEquals(en)?gr:null},eo=function(en){return!qr(en)},ko=function(en,Fn){var Zn=en,An=eo(Zn)||Zn.isEmpty();if(!Zn.isEmpty()&&!Fn&&(Zn=qr(Zn)||Zn,An=!0),!qn&&!En&&An){var Hn=Zn.toString(),$n=Vr(Hn,Fn);return $n>=0&&(Zn=mt(ft(Hn,".",$n)),eo(Zn)||(Zn=mt(ft(Hn,".",$n,!0)))),Zn.equals(Kn)||(Ar(Zn),Mn==null||Mn(Zn.isEmpty()?null:Te(vn,Zn)),Jt===void 0&&yr(Zn,Fn)),Zn}return Kn},_o=Gt(),qo=function Ot(en){if(mo(),fr.current=en,vo(en),!Kt.current){var Fn=Br(en),Zn=mt(Fn);Zn.isNaN()||ko(Zn,!0)}rn==null||rn(en),_o(function(){var An=en;Bn||(An=en.replace(/。/g,".")),An!==en&&Ot(An)})},Lo=function(){Kt.current=!0},ii=function(){Kt.current=!1,qo(_t.current.value)},ke=function(en){qo(en.target.value)},nt=function(en){var Fn;if(!(en&&no||!en&&Kr)){Ft.current=!1;var Zn=mt(Pn.current?ve(Jn):Jn);en||(Zn=Zn.negate());var An=(Kn||mt(0)).add(Zn.toString()),Hn=ko(An,!1);wt==null||wt(Te(vn,Hn),{offset:Pn.current?ve(Jn):Jn,type:en?"up":"down"}),(Fn=_t.current)===null||Fn===void 0||Fn.focus()}},Mt=function(en){var Fn=mt(Br(Xr)),Zn;Fn.isNaN()?Zn=ko(Kn,en):Zn=ko(Fn,en),Jt!==void 0?yr(Kn,!1):Zn.isNaN()||yr(Zn,!1)},un=function(){Ft.current=!0},fn=function(en){var Fn=en.key,Zn=en.shiftKey;Ft.current=!0,Pn.current=Zn,Fn==="Enter"&&(Kt.current||(Ft.current=!1),Mt(!1),or==null||or(en)),xn!==!1&&!Kt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Fn)&&(nt(Fn==="Up"||Fn==="ArrowUp"),en.preventDefault())},Rt=function(){Ft.current=!1,Pn.current=!1};b.useEffect(function(){if(qt&&bt){var Ot=function(Zn){nt(Zn.deltaY<0),Zn.preventDefault()},en=_t.current;if(en)return en.addEventListener("wheel",Ot,{passive:!1}),function(){return en.removeEventListener("wheel",Ot)}}});var ot=function(){Re&&Mt(!1),xt(!1),Ft.current=!1};return(0,Je.o)(function(){Kn.isInvalidate()||yr(Kn,!1)},[Yn,Un]),(0,Je.o)(function(){var Ot=mt(Jt);pr(Ot);var en=mt(Br(Xr));(!Ot.equals(en)||!Ft.current||Un)&&yr(Ot,Ft.current)},[Jt]),(0,Je.o)(function(){Un&&Qr()},[Xr]),b.createElement("div",{ref:ht,className:Oe()(nn,dn,(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},"".concat(nn,"-focused"),bt),"".concat(nn,"-disabled"),En),"".concat(nn,"-readonly"),qn),"".concat(nn,"-not-a-number"),Kn.isNaN()),"".concat(nn,"-out-of-range"),!Kn.isInvalidate()&&!eo(Kn))),style:Ln,onFocus:function(){xt(!0)},onBlur:ot,onKeyDown:fn,onKeyUp:Rt,onCompositionStart:Lo,onCompositionEnd:ii,onBeforeInput:un},sn&&b.createElement(Ae,{prefixCls:nn,upNode:nr,downNode:jn,upDisabled:no,downDisabled:Kr,onStep:nt}),b.createElement("div",{className:"".concat(St,"-wrap")},b.createElement("input",(0,be.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Qn,"aria-valuemax":hr,"aria-valuenow":Kn.isInvalidate()?null:Kn.toString(),step:Jn},Ye,{ref:(0,dt.sQ)(_t,Vt),className:St,value:Xr,onChange:ke,disabled:En,readOnly:qn}))))}),lt=b.forwardRef(function(_e,Vt){var nn=_e.disabled,dn=_e.style,Ln=_e.prefixCls,Qn=Ln===void 0?"rc-input-number":Ln,hr=_e.value,vr=_e.prefix,Jn=_e.suffix,dr=_e.addonBefore,Jt=_e.addonAfter,En=_e.className,qn=_e.classNames,nr=(0,fe.Z)(_e,pe),jn=b.useRef(null),xn=b.useRef(null),ut=b.useRef(null),qt=function(sn){ut.current&&(0,gt.nH)(ut.current,sn)};return b.useImperativeHandle(Vt,function(){return at(ut.current,{focus:qt,nativeElement:jn.current.nativeElement||xn.current})}),b.createElement(Zt.BaseInput,{className:En,triggerFocus:qt,prefixCls:Qn,value:hr,disabled:nn,style:dn,prefix:vr,suffix:Jn,addonAfter:Jt,addonBefore:dr,classNames:qn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:jn},b.createElement(tn,(0,be.Z)({prefixCls:Qn,disabled:nn,ref:ut,domRef:xn,className:qn==null?void 0:qn.input},nr)))}),jt=lt,ct=jt,ln=z(62487),Et=z(82855),le=z(48755),ne=z(60840),te=z(2171),ae=z(83397),he=z(31756),re=z(56553),ce=z(24971),De=z(70045),st=z(36237),Qe=z(53075),Ie=z(64910),pt=z(39082),Pt=z(63356),Tt=z(56119),Le=z(16931),Ue=z(51636),pn=z(17835);const Wt=_e=>{var Vt;const nn=(Vt=_e.handleVisible)!==null&&Vt!==void 0?Vt:"auto",dn=_e.controlHeightSM-_e.lineWidth*2;return Object.assign(Object.assign({},(0,Ie.T)(_e)),{controlWidth:90,handleWidth:dn,handleFontSize:_e.fontSize/2,handleVisible:nn,handleActiveBg:_e.colorFillAlter,handleBg:_e.colorBgContainer,filledHandleBg:new pn.FastColor(_e.colorFillSecondary).onBackground(_e.colorBgContainer).toHexString(),handleHoverColor:_e.colorPrimary,handleBorderColor:_e.colorBorder,handleOpacity:nn===!0?1:0,handleVisibleWidth:nn===!0?dn:0})},Cn=(_e,Vt)=>{let{componentCls:nn,borderRadiusSM:dn,borderRadiusLG:Ln}=_e;const Qn=Vt==="lg"?Ln:dn;return{[`&-${Vt}`]:{[`${nn}-handler-wrap`]:{borderStartEndRadius:Qn,borderEndEndRadius:Qn},[`${nn}-handler-up`]:{borderStartEndRadius:Qn},[`${nn}-handler-down`]:{borderEndEndRadius:Qn}}}},cn=_e=>{const{componentCls:Vt,lineWidth:nn,lineType:dn,borderRadius:Ln,inputFontSizeSM:Qn,inputFontSizeLG:hr,controlHeightLG:vr,controlHeightSM:Jn,colorError:dr,paddingInlineSM:Jt,paddingBlockSM:En,paddingBlockLG:qn,paddingInlineLG:nr,colorTextDescription:jn,motionDurationMid:xn,handleHoverColor:ut,handleOpacity:qt,paddingInline:Dt,paddingBlock:sn,handleBg:Sn,handleActiveBg:vn,colorTextDisabled:Bn,borderRadiusSM:Un,borderRadiusLG:Yn,controlWidth:$t,handleBorderColor:Mn,filledHandleBg:rn,lineHeightLG:or,calc:wt}=_e;return[{[Vt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(_e)),(0,Qe.ik)(_e)),{display:"inline-block",width:$t,margin:0,padding:0,borderRadius:Ln}),(0,pt.qG)(_e,{[`${Vt}-handler-wrap`]:{background:Sn,[`${Vt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${dn} ${Mn}`}}})),(0,pt.H8)(_e,{[`${Vt}-handler-wrap`]:{background:rn,[`${Vt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${dn} ${Mn}`}},"&:focus-within":{[`${Vt}-handler-wrap`]:{background:Sn}}})),(0,pt.vc)(_e,{[`${Vt}-handler-wrap`]:{background:Sn,[`${Vt}-handler-down`]:{borderBlockStart:`${(0,st.unit)(nn)} ${dn} ${Mn}`}}})),(0,pt.Mu)(_e)),{"&-rtl":{direction:"rtl",[`${Vt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:hr,lineHeight:or,borderRadius:Yn,[`input${Vt}-input`]:{height:wt(vr).sub(wt(nn).mul(2)).equal(),padding:`${(0,st.unit)(qn)} ${(0,st.unit)(nr)}`}},"&-sm":{padding:0,fontSize:Qn,borderRadius:Un,[`input${Vt}-input`]:{height:wt(Jn).sub(wt(nn).mul(2)).equal(),padding:`${(0,st.unit)(En)} ${(0,st.unit)(Jt)}`}},"&-out-of-range":{[`${Vt}-input-wrap`]:{input:{color:dr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(_e)),(0,Qe.s7)(_e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Vt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Vt}-group-addon`]:{borderRadius:Yn,fontSize:_e.fontSizeLG}},"&-sm":{[`${Vt}-group-addon`]:{borderRadius:Un}}},(0,pt.ir)(_e)),(0,pt.S5)(_e)),{[`&:not(${Vt}-compact-first-item):not(${Vt}-compact-last-item)${Vt}-compact-item`]:{[`${Vt}, ${Vt}-group-addon`]:{borderRadius:0}},[`&:not(${Vt}-compact-last-item)${Vt}-compact-first-item`]:{[`${Vt}, ${Vt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Vt}-compact-first-item)${Vt}-compact-last-item`]:{[`${Vt}, ${Vt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Vt}-input`]:{cursor:"not-allowed"},[Vt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(_e)),{width:"100%",padding:`${(0,st.unit)(sn)} ${(0,st.unit)(Dt)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Ln,outline:0,transition:`all ${xn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Qe.nz)(_e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Vt}-handler-wrap, &-focused ${Vt}-handler-wrap`]:{width:_e.handleWidth,opacity:1}})},{[Vt]:Object.assign(Object.assign(Object.assign({[`${Vt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:_e.handleVisibleWidth,opacity:qt,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Ln,borderEndEndRadius:Ln,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${xn}`,overflow:"hidden",[`${Vt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${Vt}-handler-up-inner,
|
|
|
${Vt}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:_e.handleFontSize}}},[`${Vt}-handler`]:{height:"50%",overflow:"hidden",color:jn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,st.unit)(nn)} ${dn} ${Mn}`,transition:`all ${xn} linear`,"&:active":{background:vn},"&:hover":{height:"60%",[`
|
|
|
${Vt}-handler-up-inner,
|
|
|
${Vt}-handler-down-inner
|
|
|
`]:{color:ut}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Pt.Ro)()),{color:jn,transition:`all ${xn} linear`,userSelect:"none"})},[`${Vt}-handler-up`]:{borderStartEndRadius:Ln},[`${Vt}-handler-down`]:{borderEndEndRadius:Ln}},Cn(_e,"lg")),Cn(_e,"sm")),{"&-disabled, &-readonly":{[`${Vt}-handler-wrap`]:{display:"none"},[`${Vt}-input`]:{color:"inherit"}},[`
|
|
|
${Vt}-handler-up-disabled,
|
|
|
${Vt}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${Vt}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${Vt}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Bn}})}]},Xt=_e=>{const{componentCls:Vt,paddingBlock:nn,paddingInline:dn,inputAffixPadding:Ln,controlWidth:Qn,borderRadiusLG:hr,borderRadiusSM:vr,paddingInlineLG:Jn,paddingInlineSM:dr,paddingBlockLG:Jt,paddingBlockSM:En,motionDurationMid:qn}=_e;return{[`${Vt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Vt}-input`]:{padding:`${(0,st.unit)(nn)} 0`}},(0,Qe.ik)(_e)),{position:"relative",display:"inline-flex",alignItems:"center",width:Qn,padding:0,paddingInlineStart:dn,"&-lg":{borderRadius:hr,paddingInlineStart:Jn,[`input${Vt}-input`]:{padding:`${(0,st.unit)(Jt)} 0`}},"&-sm":{borderRadius:vr,paddingInlineStart:dr,[`input${Vt}-input`]:{padding:`${(0,st.unit)(En)} 0`}},[`&:not(${Vt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Vt}-disabled`]:{background:"transparent"},[`> div${Vt}`]:{width:"100%",border:"none",outline:"none",[`&${Vt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Vt}-handler-wrap`]:{zIndex:2},[Vt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Ln},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:dn,marginInlineStart:Ln,transition:`margin ${qn}`}},[`&:hover ${Vt}-handler-wrap, &-focused ${Vt}-handler-wrap`]:{width:_e.handleWidth,opacity:1},[`&:not(${Vt}-affix-wrapper-without-controls):hover ${Vt}-suffix`]:{marginInlineEnd:_e.calc(_e.handleWidth).add(dn).equal()}})}};var an=(0,Le.I$)("InputNumber",_e=>{const Vt=(0,Ue.mergeToken)(_e,(0,Ie.e)(_e));return[cn(Vt),Xt(Vt),(0,Tt.c)(Vt)]},Wt,{unitless:{handleOpacity:!0}}),mn=function(_e,Vt){var nn={};for(var dn in _e)Object.prototype.hasOwnProperty.call(_e,dn)&&Vt.indexOf(dn)<0&&(nn[dn]=_e[dn]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ln=0,dn=Object.getOwnPropertySymbols(_e);Ln<dn.length;Ln++)Vt.indexOf(dn[Ln])<0&&Object.prototype.propertyIsEnumerable.call(_e,dn[Ln])&&(nn[dn[Ln]]=_e[dn[Ln]]);return nn};const vt=b.forwardRef((_e,Vt)=>{const{getPrefixCls:nn,direction:dn}=b.useContext(le.E_),Ln=b.useRef(null);b.useImperativeHandle(Vt,()=>Ln.current);const{className:Qn,rootClassName:hr,size:vr,disabled:Jn,prefixCls:dr,addonBefore:Jt,addonAfter:En,prefix:qn,suffix:nr,bordered:jn,readOnly:xn,status:ut,controls:qt,variant:Dt}=_e,sn=mn(_e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Sn=nn("input-number",dr),vn=(0,ae.Z)(Sn),[Bn,Un,Yn]=an(Sn,vn),{compactSize:$t,compactItemClassnames:Mn}=(0,De.ri)(Sn,dn);let rn=b.createElement(de.Z,{className:`${Sn}-handler-up-inner`}),or=b.createElement(xe.Z,{className:`${Sn}-handler-down-inner`});const wt=typeof qt=="boolean"?qt:void 0;typeof qt=="object"&&(rn=typeof qt.upIcon=="undefined"?rn:b.createElement("span",{className:`${Sn}-handler-up-inner`},qt.upIcon),or=typeof qt.downIcon=="undefined"?or:b.createElement("span",{className:`${Sn}-handler-down-inner`},qt.downIcon));const{hasFeedback:zt,status:Re,isFormItemInput:ht,feedbackIcon:Ye}=b.useContext(re.aM),St=(0,Et.F)(Re,ut),_t=(0,he.Z)(kn=>{var Kn;return(Kn=vr!=null?vr:$t)!==null&&Kn!==void 0?Kn:kn}),tr=b.useContext(te.Z),ar=Jn!=null?Jn:tr,[bt,xt]=(0,ce.Z)("inputNumber",Dt,jn),Ft=zt&&b.createElement(b.Fragment,null,Ye),Kt=Oe()({[`${Sn}-lg`]:_t==="large",[`${Sn}-sm`]:_t==="small",[`${Sn}-rtl`]:dn==="rtl",[`${Sn}-in-form-item`]:ht},Un),Pn=`${Sn}-group`,Tn=b.createElement(ct,Object.assign({ref:Ln,disabled:ar,className:Oe()(Yn,vn,Qn,hr,Mn),upHandler:rn,downHandler:or,prefixCls:Sn,readOnly:xn,controls:wt,prefix:qn,suffix:Ft||nr,addonBefore:Jt&&b.createElement(ln.Z,{form:!0,space:!0},Jt),addonAfter:En&&b.createElement(ln.Z,{form:!0,space:!0},En),classNames:{input:Kt,variant:Oe()({[`${Sn}-${bt}`]:xt},(0,Et.Z)(Sn,St,zt)),affixWrapper:Oe()({[`${Sn}-affix-wrapper-sm`]:_t==="small",[`${Sn}-affix-wrapper-lg`]:_t==="large",[`${Sn}-affix-wrapper-rtl`]:dn==="rtl",[`${Sn}-affix-wrapper-without-controls`]:qt===!1||ar},Un),wrapper:Oe()({[`${Pn}-rtl`]:dn==="rtl"},Un),groupWrapper:Oe()({[`${Sn}-group-wrapper-sm`]:_t==="small",[`${Sn}-group-wrapper-lg`]:_t==="large",[`${Sn}-group-wrapper-rtl`]:dn==="rtl",[`${Sn}-group-wrapper-${bt}`]:xt},(0,Et.Z)(`${Sn}-group-wrapper`,St,zt),Un)}},sn));return Bn(Tn)}),Yt=vt,gn=_e=>b.createElement(ne.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(vt,Object.assign({},_e)));Yt._InternalPanelDoNotUseOrYouWillBeFired=gn;var At=Yt},49397:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return se}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(36901),Oe=z(8654),be=z(62487),Fe=z(86013),ze=z(82855),Be=z(48755),fe=z(2171),Ge=z(83397),Ce=z(31756),yt=z(56553),et=z(24971),$e=z(70045),je=z(23826),Ve=z(53075);function rt(Me){return!!(Me.prefix||Me.suffix||Me.allowClear||Me.showCount)}var Nt=function(Me,ft){var mt={};for(var Zt in Me)Object.prototype.hasOwnProperty.call(Me,Zt)&&ft.indexOf(Zt)<0&&(mt[Zt]=Me[Zt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Zt=Object.getOwnPropertySymbols(Me);Je<Zt.length;Je++)ft.indexOf(Zt[Je])<0&&Object.prototype.propertyIsEnumerable.call(Me,Zt[Je])&&(mt[Zt[Je]]=Me[Zt[Je]]);return mt},se=(0,b.forwardRef)((Me,ft)=>{const{prefixCls:mt,bordered:Zt=!0,status:Je,size:at,disabled:dt,onBlur:Pe,onFocus:Ze,suffix:Ee,allowClear:ue,addonAfter:Ct,addonBefore:He,className:We,style:kt,styles:Ae,rootClassName:ve,onChange:gt,classNames:Gt,variant:Ht}=Me,pe=Nt(Me,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Te,direction:Ke,allowClear:tn,autoComplete:lt,className:jt,style:ct,classNames:ln,styles:Et}=(0,Be.dj)("input"),le=Te("input",mt),ne=(0,b.useRef)(null),te=(0,Ge.Z)(le),[ae,he,re]=(0,Ve.TI)(le,ve),[ce]=(0,Ve.ZP)(le,te),{compactSize:De,compactItemClassnames:st}=(0,$e.ri)(le,Ke),Qe=(0,Ce.Z)(At=>{var _e;return(_e=at!=null?at:De)!==null&&_e!==void 0?_e:At}),Ie=b.useContext(fe.Z),pt=dt!=null?dt:Ie,{status:Pt,hasFeedback:Tt,feedbackIcon:Le}=(0,b.useContext)(yt.aM),Ue=(0,ze.F)(Pt,Je),pn=rt(Me)||!!Tt,Wt=(0,b.useRef)(pn),Cn=(0,je.Z)(ne,!0),cn=At=>{Cn(),Pe==null||Pe(At)},Xt=At=>{Cn(),Ze==null||Ze(At)},an=At=>{Cn(),gt==null||gt(At)},mn=(Tt||Ee)&&b.createElement(b.Fragment,null,Ee,Tt&&Le),vt=(0,Fe.Z)(ue!=null?ue:tn),[Yt,gn]=(0,et.Z)("input",Ht,Zt);return ae(ce(b.createElement(tt.default,Object.assign({ref:(0,Oe.sQ)(ft,ne),prefixCls:le,autoComplete:lt},pe,{disabled:pt,onBlur:cn,onFocus:Xt,style:Object.assign(Object.assign({},ct),kt),styles:Object.assign(Object.assign({},Et),Ae),suffix:mn,allowClear:vt,className:de()(We,ve,re,te,st,jt),onChange:an,addonBefore:He&&b.createElement(be.Z,{form:!0,space:!0},He),addonAfter:Ct&&b.createElement(be.Z,{form:!0,space:!0},Ct),classNames:Object.assign(Object.assign(Object.assign({},Gt),ln),{input:de()({[`${le}-sm`]:Qe==="small",[`${le}-lg`]:Qe==="large",[`${le}-rtl`]:Ke==="rtl"},Gt==null?void 0:Gt.input,ln.input,he),variant:de()({[`${le}-${Yt}`]:gn},(0,ze.Z)(le,Ue)),affixWrapper:de()({[`${le}-affix-wrapper-sm`]:Qe==="small",[`${le}-affix-wrapper-lg`]:Qe==="large",[`${le}-affix-wrapper-rtl`]:Ke==="rtl"},he),wrapper:de()({[`${le}-group-rtl`]:Ke==="rtl"},he),groupWrapper:de()({[`${le}-group-wrapper-sm`]:Qe==="small",[`${le}-group-wrapper-lg`]:Qe==="large",[`${le}-group-wrapper-rtl`]:Ke==="rtl",[`${le}-group-wrapper-${Yt}`]:gn},(0,ze.Z)(`${le}-group-wrapper`,Ue,Tt),he)})}))))})},79809:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ft}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(22711),Oe=z(86013),be=z(82855),Fe=z(48755),ze=z(2171),Be=z(83397),fe=z(31756),Ge=z(56553),Ce=z(24971),yt=z(70045),et=z(30292),$e=z(53075),je=z(16931),Ve=z(51636),rt=z(64910);const Nt=mt=>{const{componentCls:Zt,paddingLG:Je}=mt,at=`${Zt}-textarea`;return{[`textarea${Zt}`]:{maxWidth:"100%",height:"auto",minHeight:mt.controlHeight,lineHeight:mt.lineHeight,verticalAlign:"bottom",transition:`all ${mt.motionDurationSlow}`,resize:"vertical",[`&${Zt}-mouse-active`]:{transition:`all ${mt.motionDurationSlow}, height 0s, width 0s`}},[`${Zt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[at]:{position:"relative","&-show-count":{[`> ${Zt}`]:{height:"100%"},[`${Zt}-data-count`]:{position:"absolute",bottom:mt.calc(mt.fontSize).mul(mt.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:mt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${Zt},
|
|
|
&-affix-wrapper${at}-has-feedback ${Zt}
|
|
|
`]:{paddingInlineEnd:Je},[`&-affix-wrapper${Zt}-affix-wrapper`]:{padding:0,[`> textarea${Zt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:mt.calc(mt.controlHeight).sub(mt.calc(mt.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${Zt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Zt}-clear-icon`]:{position:"absolute",insetInlineEnd:mt.paddingInline,insetBlockStart:mt.paddingXS},[`${at}-suffix`]:{position:"absolute",top:0,insetInlineEnd:mt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${Zt}-affix-wrapper-sm`]:{[`${Zt}-suffix`]:{[`${Zt}-clear-icon`]:{insetInlineEnd:mt.paddingInlineSM}}}}}};var Ut=(0,je.I$)(["Input","TextArea"],mt=>{const Zt=(0,Ve.mergeToken)(mt,(0,rt.e)(mt));return[Nt(Zt)]},rt.T,{resetFont:!1}),se=function(mt,Zt){var Je={};for(var at in mt)Object.prototype.hasOwnProperty.call(mt,at)&&Zt.indexOf(at)<0&&(Je[at]=mt[at]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,at=Object.getOwnPropertySymbols(mt);dt<at.length;dt++)Zt.indexOf(at[dt])<0&&Object.prototype.propertyIsEnumerable.call(mt,at[dt])&&(Je[at[dt]]=mt[at[dt]]);return Je},ft=(0,b.forwardRef)((mt,Zt)=>{var Je;const{prefixCls:at,bordered:dt=!0,size:Pe,disabled:Ze,status:Ee,allowClear:ue,classNames:Ct,rootClassName:He,className:We,style:kt,styles:Ae,variant:ve,showCount:gt,onMouseDown:Gt,onResize:Ht}=mt,pe=se(mt,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Te,direction:Ke,allowClear:tn,autoComplete:lt,className:jt,style:ct,classNames:ln,styles:Et}=(0,Fe.dj)("textArea"),le=b.useContext(ze.Z),ne=Ze!=null?Ze:le,{status:te,hasFeedback:ae,feedbackIcon:he}=b.useContext(Ge.aM),re=(0,be.F)(te,Ee),ce=b.useRef(null);b.useImperativeHandle(Zt,()=>{var gn;return{resizableTextArea:(gn=ce.current)===null||gn===void 0?void 0:gn.resizableTextArea,focus:At=>{var _e,Vt;(0,et.nH)((Vt=(_e=ce.current)===null||_e===void 0?void 0:_e.resizableTextArea)===null||Vt===void 0?void 0:Vt.textArea,At)},blur:()=>{var At;return(At=ce.current)===null||At===void 0?void 0:At.blur()}}});const De=Te("input",at),st=(0,Be.Z)(De),[Qe,Ie,pt]=(0,$e.TI)(De,He),[Pt]=Ut(De,st),{compactSize:Tt,compactItemClassnames:Le}=(0,yt.ri)(De,Ke),Ue=(0,fe.Z)(gn=>{var At;return(At=Pe!=null?Pe:Tt)!==null&&At!==void 0?At:gn}),[pn,Wt]=(0,Ce.Z)("textArea",ve,dt),Cn=(0,Oe.Z)(ue!=null?ue:tn),[cn,Xt]=b.useState(!1),[an,mn]=b.useState(!1),vt=gn=>{Xt(!0),Gt==null||Gt(gn);const At=()=>{Xt(!1),document.removeEventListener("mouseup",At)};document.addEventListener("mouseup",At)},Yt=gn=>{var At,_e;if(Ht==null||Ht(gn),cn&&typeof getComputedStyle=="function"){const Vt=(_e=(At=ce.current)===null||At===void 0?void 0:At.nativeElement)===null||_e===void 0?void 0:_e.querySelector("textarea");Vt&&getComputedStyle(Vt).resize==="both"&&mn(!0)}};return Qe(Pt(b.createElement(tt.default,Object.assign({autoComplete:lt},pe,{style:Object.assign(Object.assign({},ct),kt),styles:Object.assign(Object.assign({},Et),Ae),disabled:ne,allowClear:Cn,className:de()(pt,st,We,He,Le,jt,an&&`${De}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ct),ln),{textarea:de()({[`${De}-sm`]:Ue==="small",[`${De}-lg`]:Ue==="large"},Ie,Ct==null?void 0:Ct.textarea,ln.textarea,cn&&`${De}-mouse-active`),variant:de()({[`${De}-${pn}`]:Wt},(0,be.Z)(De,re)),affixWrapper:de()(`${De}-textarea-affix-wrapper`,{[`${De}-affix-wrapper-rtl`]:Ke==="rtl",[`${De}-affix-wrapper-sm`]:Ue==="small",[`${De}-affix-wrapper-lg`]:Ue==="large",[`${De}-textarea-show-count`]:gt||((Je=mt.count)===null||Je===void 0?void 0:Je.show)},Ie)}),prefixCls:De,suffix:ae&&b.createElement("span",{className:`${De}-textarea-suffix`},he),showCount:gt,ref:ce,onResize:Yt,onMouseDown:vt}))))})},23826:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return xe}});var b=z(59301);function xe(de,tt){const Oe=(0,b.useRef)([]),be=()=>{Oe.current.push(setTimeout(()=>{var Fe,ze,Be,fe;!((Fe=de.current)===null||Fe===void 0)&&Fe.input&&((ze=de.current)===null||ze===void 0?void 0:ze.input.getAttribute("type"))==="password"&&(!((Be=de.current)===null||Be===void 0)&&Be.input.hasAttribute("value"))&&((fe=de.current)===null||fe===void 0||fe.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(tt&&be(),()=>Oe.current.forEach(Fe=>{Fe&&clearTimeout(Fe)})),[]),be}},37568:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return ln}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(48755),Oe=z(56553),be=z(53075),ze=Et=>{const{getPrefixCls:le,direction:ne}=(0,b.useContext)(tt.E_),{prefixCls:te,className:ae}=Et,he=le("input-group",te),re=le("input"),[ce,De,st]=(0,be.ZP)(re),Qe=de()(he,st,{[`${he}-lg`]:Et.size==="large",[`${he}-sm`]:Et.size==="small",[`${he}-compact`]:Et.compact,[`${he}-rtl`]:ne==="rtl"},De,ae),Ie=(0,b.useContext)(Oe.aM),pt=(0,b.useMemo)(()=>Object.assign(Object.assign({},Ie),{isFormItemInput:!1}),[Ie]);return ce(b.createElement("span",{className:Qe,style:Et.style,onMouseEnter:Et.onMouseEnter,onMouseLeave:Et.onMouseLeave,onFocus:Et.onFocus,onBlur:Et.onBlur},b.createElement(Oe.aM.Provider,{value:pt},Et.children)))},Be=z(49397),fe=z(94480),Ge=z(6089),Ce=z(26112),yt=z(82855),et=z(31756),$e=z(16931),je=z(51636),Ve=z(64910);const rt=Et=>{const{componentCls:le,paddingXS:ne}=Et;return{[le]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ne,"&-rtl":{direction:"rtl"},[`${le}-input`]:{textAlign:"center",paddingInline:Et.paddingXXS},[`&${le}-sm ${le}-input`]:{paddingInline:Et.calc(Et.paddingXXS).div(2).equal()},[`&${le}-lg ${le}-input`]:{paddingInline:Et.paddingXS}}}};var Nt=(0,$e.I$)(["Input","OTP"],Et=>{const le=(0,je.mergeToken)(Et,(0,Ve.e)(Et));return[rt(le)]},Ve.T),Ut=z(16089),se=function(Et,le){var ne={};for(var te in Et)Object.prototype.hasOwnProperty.call(Et,te)&&le.indexOf(te)<0&&(ne[te]=Et[te]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(Et);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(Et,te[ae])&&(ne[te[ae]]=Et[te[ae]]);return ne},ft=b.forwardRef((Et,le)=>{const{value:ne,onChange:te,onActiveChange:ae,index:he,mask:re}=Et,ce=se(Et,["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,Ut.Z)(()=>{var Tt;const Le=(Tt=Qe.current)===null||Tt===void 0?void 0:Tt.input;document.activeElement===Le&&Le&&Le.select()})},pt=Tt=>{const{key:Le,ctrlKey:Ue,metaKey:pn}=Tt;Le==="ArrowLeft"?ae(he-1):Le==="ArrowRight"?ae(he+1):Le==="z"&&(Ue||pn)&&Tt.preventDefault(),Ie()},Pt=Tt=>{Tt.key==="Backspace"&&!ne&&ae(he-1),Ie()};return b.createElement(Be.Z,Object.assign({type:re===!0?"password":"text"},ce,{ref:Qe,value:De,onInput:st,onFocus:Ie,onKeyDown:pt,onKeyUp:Pt,onMouseDown:Ie,onMouseUp:Ie}))}),mt=function(Et,le){var ne={};for(var te in Et)Object.prototype.hasOwnProperty.call(Et,te)&&le.indexOf(te)<0&&(ne[te]=Et[te]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(Et);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(Et,te[ae])&&(ne[te[ae]]=Et[te[ae]]);return ne};function Zt(Et){return(Et||"").split("")}const Je=Et=>{const{index:le,prefixCls:ne,separator:te}=Et,ae=typeof te=="function"?te(le):te;return ae?b.createElement("span",{className:`${ne}-separator`},ae):null};var dt=b.forwardRef((Et,le)=>{const{prefixCls:ne,length:te=6,size:ae,defaultValue:he,value:re,onChange:ce,formatter:De,separator:st,variant:Qe,disabled:Ie,status:pt,autoFocus:Pt,mask:Tt,type:Le,onInput:Ue,inputMode:pn}=Et,Wt=mt(Et,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Cn,direction:cn}=b.useContext(tt.E_),Xt=Cn("otp",ne),an=(0,Ce.Z)(Wt,{aria:!0,data:!0,attr:!0}),[mn,vt,Yt]=Nt(Xt),gn=(0,et.Z)(qn=>ae!=null?ae:qn),At=b.useContext(Oe.aM),_e=(0,yt.F)(At.status,pt),Vt=b.useMemo(()=>Object.assign(Object.assign({},At),{status:_e,hasFeedback:!1,feedbackIcon:null}),[At,_e]),nn=b.useRef(null),dn=b.useRef({});b.useImperativeHandle(le,()=>({focus:()=>{var qn;(qn=dn.current[0])===null||qn===void 0||qn.focus()},blur:()=>{var qn;for(let nr=0;nr<te;nr+=1)(qn=dn.current[nr])===null||qn===void 0||qn.blur()},nativeElement:nn.current}));const Ln=qn=>De?De(qn):qn,[Qn,hr]=b.useState(()=>Zt(Ln(he||"")));b.useEffect(()=>{re!==void 0&&hr(Zt(re))},[re]);const vr=(0,Ge.Z)(qn=>{hr(qn),Ue&&Ue(qn),ce&&qn.length===te&&qn.every(nr=>nr)&&qn.some((nr,jn)=>Qn[jn]!==nr)&&ce(qn.join(""))}),Jn=(0,Ge.Z)((qn,nr)=>{let jn=(0,fe.Z)(Qn);for(let ut=0;ut<qn;ut+=1)jn[ut]||(jn[ut]="");nr.length<=1?jn[qn]=nr:jn=jn.slice(0,qn).concat(Zt(nr)),jn=jn.slice(0,te);for(let ut=jn.length-1;ut>=0&&!jn[ut];ut-=1)jn.pop();const xn=Ln(jn.map(ut=>ut||" ").join(""));return jn=Zt(xn).map((ut,qt)=>ut===" "&&!jn[qt]?jn[qt]:ut),jn}),dr=(qn,nr)=>{var jn;const xn=Jn(qn,nr),ut=Math.min(qn+nr.length,te-1);ut!==qn&&xn[qn]!==void 0&&((jn=dn.current[ut])===null||jn===void 0||jn.focus()),vr(xn)},Jt=qn=>{var nr;(nr=dn.current[qn])===null||nr===void 0||nr.focus()},En={variant:Qe,disabled:Ie,status:_e,mask:Tt,type:Le,inputMode:pn};return mn(b.createElement("div",Object.assign({},an,{ref:nn,className:de()(Xt,{[`${Xt}-sm`]:gn==="small",[`${Xt}-lg`]:gn==="large",[`${Xt}-rtl`]:cn==="rtl"},Yt,vt)}),b.createElement(Oe.aM.Provider,{value:Vt},Array.from({length:te}).map((qn,nr)=>{const jn=`otp-${nr}`,xn=Qn[nr]||"";return b.createElement(b.Fragment,{key:jn},b.createElement(ft,Object.assign({ref:ut=>{dn.current[nr]=ut},index:nr,size:gn,htmlSize:1,className:`${Xt}-input`,onChange:dr,value:xn,onActiveChange:Jt,autoFocus:nr===0&&Pt},En)),nr<te-1&&b.createElement(Je,{separator:st,index:nr,prefixCls:Xt}))}))))}),Pe=z(73331),Ze=z(15277),Ee=z(2738),ue=z(8654),Ct=z(2171),He=z(23826),We=function(Et,le){var ne={};for(var te in Et)Object.prototype.hasOwnProperty.call(Et,te)&&le.indexOf(te)<0&&(ne[te]=Et[te]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(Et);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(Et,te[ae])&&(ne[te[ae]]=Et[te[ae]]);return ne};const kt=Et=>Et?b.createElement(Ze.Z,null):b.createElement(Pe.Z,null),Ae={click:"onClick",hover:"onMouseOver"};var gt=b.forwardRef((Et,le)=>{const{disabled:ne,action:te="click",visibilityToggle:ae=!0,iconRender:he=kt}=Et,re=b.useContext(Ct.Z),ce=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 pt=(0,He.Z)(Ie),Pt=()=>{var gn;if(ce)return;st&&pt();const At=!st;Qe(At),typeof ae=="object"&&((gn=ae.onVisibleChange)===null||gn===void 0||gn.call(ae,At))},Tt=gn=>{const At=Ae[te]||"",_e=he(st),Vt={[At]:Pt,className:`${gn}-icon`,key:"passwordIcon",onMouseDown:nn=>{nn.preventDefault()},onMouseUp:nn=>{nn.preventDefault()}};return b.cloneElement(b.isValidElement(_e)?_e:b.createElement("span",null,_e),Vt)},{className:Le,prefixCls:Ue,inputPrefixCls:pn,size:Wt}=Et,Cn=We(Et,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:cn}=b.useContext(tt.E_),Xt=cn("input",pn),an=cn("input-password",Ue),mn=ae&&Tt(an),vt=de()(an,Le,{[`${an}-${Wt}`]:!!Wt}),Yt=Object.assign(Object.assign({},(0,Ee.Z)(Cn,["suffix","iconRender","visibilityToggle"])),{type:st?"text":"password",className:vt,prefixCls:Xt,suffix:mn});return Wt&&(Yt.size=Wt),b.createElement(Be.Z,Object.assign({ref:(0,ue.sQ)(le,Ie)},Yt))}),Gt=z(47472),Ht=z(22703),pe=z(7939),Te=z(70045),Ke=function(Et,le){var ne={};for(var te in Et)Object.prototype.hasOwnProperty.call(Et,te)&&le.indexOf(te)<0&&(ne[te]=Et[te]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(Et);ae<te.length;ae++)le.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(Et,te[ae])&&(ne[te[ae]]=Et[te[ae]]);return ne},lt=b.forwardRef((Et,le)=>{const{prefixCls:ne,inputPrefixCls:te,className:ae,size:he,suffix:re,enterButton:ce=!1,addonAfter:De,loading:st,disabled:Qe,onSearch:Ie,onChange:pt,onCompositionStart:Pt,onCompositionEnd:Tt}=Et,Le=Ke(Et,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ue,direction:pn}=b.useContext(tt.E_),Wt=b.useRef(!1),Cn=Ue("input-search",ne),cn=Ue("input",te),{compactSize:Xt}=(0,Te.ri)(Cn,pn),an=(0,et.Z)(dr=>{var Jt;return(Jt=he!=null?he:Xt)!==null&&Jt!==void 0?Jt:dr}),mn=b.useRef(null),vt=dr=>{dr!=null&&dr.target&&dr.type==="click"&&Ie&&Ie(dr.target.value,dr,{source:"clear"}),pt==null||pt(dr)},Yt=dr=>{var Jt;document.activeElement===((Jt=mn.current)===null||Jt===void 0?void 0:Jt.input)&&dr.preventDefault()},gn=dr=>{var Jt,En;Ie&&Ie((En=(Jt=mn.current)===null||Jt===void 0?void 0:Jt.input)===null||En===void 0?void 0:En.value,dr,{source:"input"})},At=dr=>{Wt.current||st||gn(dr)},_e=typeof ce=="boolean"?b.createElement(Gt.Z,null):null,Vt=`${Cn}-button`;let nn;const dn=ce||{},Ln=dn.type&&dn.type.__ANT_BUTTON===!0;Ln||dn.type==="button"?nn=(0,Ht.Tm)(dn,Object.assign({onMouseDown:Yt,onClick:dr=>{var Jt,En;(En=(Jt=dn==null?void 0:dn.props)===null||Jt===void 0?void 0:Jt.onClick)===null||En===void 0||En.call(Jt,dr),gn(dr)},key:"enterButton"},Ln?{className:Vt,size:an}:{})):nn=b.createElement(pe.ZP,{className:Vt,type:ce?"primary":void 0,size:an,disabled:Qe,key:"enterButton",onMouseDown:Yt,onClick:gn,loading:st,icon:_e},ce),De&&(nn=[nn,(0,Ht.Tm)(De,{key:"addonAfter"})]);const Qn=de()(Cn,{[`${Cn}-rtl`]:pn==="rtl",[`${Cn}-${an}`]:!!an,[`${Cn}-with-button`]:!!ce},ae),hr=Object.assign(Object.assign({},Le),{className:Qn,prefixCls:cn,type:"search"}),vr=dr=>{Wt.current=!0,Pt==null||Pt(dr)},Jn=dr=>{Wt.current=!1,Tt==null||Tt(dr)};return b.createElement(Be.Z,Object.assign({ref:(0,ue.sQ)(mn,le),onPressEnter:At},hr,{size:an,onCompositionStart:vr,onCompositionEnd:Jn,addonAfter:nn,suffix:re,onChange:vt,disabled:Qe}))}),jt=z(79809);const ct=Be.Z;ct.Group=ze,ct.Search=lt,ct.TextArea=jt.Z,ct.Password=gt,ct.OTP=dt;var ln=ct},24303:function(Vn,hn,z){"use strict";z.d(hn,{D:function(){return mt},Z:function(){return at}});var b=z(59301),xe=z(54476),de={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"},tt=de,Oe=z(7657),be=function(Pe,Ze){return b.createElement(Oe.Z,(0,xe.Z)({},Pe,{ref:Ze,icon:tt}))},Fe=b.forwardRef(be),ze=Fe,Be=z(33853),fe=z(38819),Ge=z(92310),Ce=z.n(Ge),yt=z(2738),et=z(48755),$e=z(6989),je=z(36237),Ve=z(48923),rt=z(16931);const Nt=dt=>{const{componentCls:Pe,siderBg:Ze,motionDurationMid:Ee,motionDurationSlow:ue,antCls:Ct,triggerHeight:He,triggerColor:We,triggerBg:kt,headerHeight:Ae,zeroTriggerWidth:ve,zeroTriggerHeight:gt,borderRadiusLG:Gt,lightSiderBg:Ht,lightTriggerColor:pe,lightTriggerBg:Te,bodyBg:Ke}=dt;return{[Pe]:{position:"relative",minWidth:0,background:Ze,transition:`all ${Ee}, background 0s`,"&-has-trigger":{paddingBottom:He},"&-right":{order:1},[`${Pe}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ct}-menu${Ct}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Pe}-children`]:{overflow:"hidden"},[`${Pe}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:He,color:We,lineHeight:(0,je.unit)(He),textAlign:"center",background:kt,cursor:"pointer",transition:`all ${Ee}`},[`${Pe}-zero-width-trigger`]:{position:"absolute",top:Ae,insetInlineEnd:dt.calc(ve).mul(-1).equal(),zIndex:1,width:ve,height:gt,color:We,fontSize:dt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ze,borderRadius:`0 ${(0,je.unit)(Gt)} ${(0,je.unit)(Gt)} 0`,cursor:"pointer",transition:`background ${ue} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ue}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:dt.calc(ve).mul(-1).equal(),borderRadius:`${(0,je.unit)(Gt)} 0 0 ${(0,je.unit)(Gt)}`}},"&-light":{background:Ht,[`${Pe}-trigger`]:{color:pe,background:Te},[`${Pe}-zero-width-trigger`]:{color:pe,background:Te,border:`1px solid ${Ke}`,borderInlineStart:0}}}}};var Ut=(0,rt.I$)(["Layout","Sider"],dt=>[Nt(dt)],Ve.eh,{deprecatedTokens:Ve.jn}),se=function(dt,Pe){var Ze={};for(var Ee in dt)Object.prototype.hasOwnProperty.call(dt,Ee)&&Pe.indexOf(Ee)<0&&(Ze[Ee]=dt[Ee]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Ee=Object.getOwnPropertySymbols(dt);ue<Ee.length;ue++)Pe.indexOf(Ee[ue])<0&&Object.prototype.propertyIsEnumerable.call(dt,Ee[ue])&&(Ze[Ee[ue]]=dt[Ee[ue]]);return Ze};const Me={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ft=dt=>!Number.isNaN(Number.parseFloat(dt))&&isFinite(dt),mt=b.createContext({}),Zt=(()=>{let dt=0;return function(){let Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return dt+=1,`${Pe}${dt}`}})();var at=b.forwardRef((dt,Pe)=>{const{prefixCls:Ze,className:Ee,trigger:ue,children:Ct,defaultCollapsed:He=!1,theme:We="dark",style:kt={},collapsible:Ae=!1,reverseArrow:ve=!1,width:gt=200,collapsedWidth:Gt=80,zeroWidthTriggerStyle:Ht,breakpoint:pe,onCollapse:Te,onBreakpoint:Ke}=dt,tn=se(dt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:lt}=(0,b.useContext)($e.V),[jt,ct]=(0,b.useState)("collapsed"in dt?dt.collapsed:He),[ln,Et]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in dt&&ct(dt.collapsed)},[dt.collapsed]);const le=(an,mn)=>{"collapsed"in dt||ct(an),Te==null||Te(an,mn)},{getPrefixCls:ne,direction:te}=(0,b.useContext)(et.E_),ae=ne("layout-sider",Ze),[he,re,ce]=Ut(ae),De=(0,b.useRef)(null);De.current=an=>{Et(an.matches),Ke==null||Ke(an.matches),jt!==an.matches&&le(an.matches,"responsive")},(0,b.useEffect)(()=>{function an(vt){return De.current(vt)}let mn;if(typeof window!="undefined"){const{matchMedia:vt}=window;if(vt&&pe&&pe in Me){mn=vt(`screen and (max-width: ${Me[pe]})`);try{mn.addEventListener("change",an)}catch(Yt){mn.addListener(an)}an(mn)}}return()=>{try{mn==null||mn.removeEventListener("change",an)}catch(vt){mn==null||mn.removeListener(an)}}},[pe]),(0,b.useEffect)(()=>{const an=Zt("ant-sider-");return lt.addSider(an),()=>lt.removeSider(an)},[]);const st=()=>{le(!jt,"clickTrigger")},Qe=(0,yt.Z)(tn,["collapsed"]),Ie=jt?Gt:gt,pt=ft(Ie)?`${Ie}px`:String(Ie),Pt=parseFloat(String(Gt||0))===0?b.createElement("span",{onClick:st,className:Ce()(`${ae}-zero-width-trigger`,`${ae}-zero-width-trigger-${ve?"right":"left"}`),style:Ht},ue||b.createElement(ze,null)):null,Tt=te==="rtl"==!ve,pn={expanded:Tt?b.createElement(fe.Z,null):b.createElement(Be.Z,null),collapsed:Tt?b.createElement(Be.Z,null):b.createElement(fe.Z,null)}[jt?"collapsed":"expanded"],Wt=ue!==null?Pt||b.createElement("div",{className:`${ae}-trigger`,onClick:st,style:{width:pt}},ue||pn):null,Cn=Object.assign(Object.assign({},kt),{flex:`0 0 ${pt}`,maxWidth:pt,minWidth:pt,width:pt}),cn=Ce()(ae,`${ae}-${We}`,{[`${ae}-collapsed`]:!!jt,[`${ae}-has-trigger`]:Ae&&ue!==null&&!Pt,[`${ae}-below`]:!!ln,[`${ae}-zero-width`]:parseFloat(pt)===0},Ee,re,ce),Xt=b.useMemo(()=>({siderCollapsed:jt}),[jt]);return he(b.createElement(mt.Provider,{value:Xt},b.createElement("aside",Object.assign({className:cn},Qe,{style:Cn,ref:Pe}),b.createElement("div",{className:`${ae}-children`},Ct),Ae||ln&&Pt?Wt:null)))})},6989:function(Vn,hn,z){"use strict";z.d(hn,{V:function(){return xe}});var b=z(59301);const xe=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Vn,hn,z){"use strict";z.d(hn,{eh:function(){return tt},jn:function(){return Oe}});var b=z(36237),xe=z(16931);const de=be=>{const{antCls:Fe,componentCls:ze,colorText:Be,footerBg:fe,headerHeight:Ge,headerPadding:Ce,headerColor:yt,footerPadding:et,fontSize:$e,bodyBg:je,headerBg:Ve}=be;return{[ze]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:je,"&, *":{boxSizing:"border-box"},[`&${ze}-has-sider`]:{flexDirection:"row",[`> ${ze}, > ${ze}-content`]:{width:0}},[`${ze}-header, &${ze}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${ze}-header`]:{height:Ge,padding:Ce,color:yt,lineHeight:(0,b.unit)(Ge),background:Ve,[`${Fe}-menu`]:{lineHeight:"inherit"}},[`${ze}-footer`]:{padding:et,color:Be,fontSize:$e,background:fe},[`${ze}-content`]:{flex:"auto",color:Be,minHeight:0}}},tt=be=>{const{colorBgLayout:Fe,controlHeight:ze,controlHeightLG:Be,colorText:fe,controlHeightSM:Ge,marginXXS:Ce,colorTextLightSolid:yt,colorBgContainer:et}=be,$e=Be*1.25;return{colorBgHeader:"#001529",colorBgBody:Fe,colorBgTrigger:"#002140",bodyBg:Fe,headerBg:"#001529",headerHeight:ze*2,headerPadding:`0 ${$e}px`,headerColor:fe,footerPadding:`${Ge}px ${$e}px`,footerBg:Fe,siderBg:"#001529",triggerHeight:Be+Ce*2,triggerBg:"#002140",triggerColor:yt,zeroTriggerWidth:Be,zeroTriggerHeight:Be,lightSiderBg:et,lightTriggerBg:et,lightTriggerColor:fe}},Oe=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];hn.ZP=(0,xe.I$)("Layout",be=>[de(be)],tt,{deprecatedTokens:Oe})},78857:function(Vn,hn,z){"use strict";z.d(hn,{J:function(){return be}});var b=z(59301),xe=z(8654),de=z(62487),tt=function(Fe,ze){var Be={};for(var fe in Fe)Object.prototype.hasOwnProperty.call(Fe,fe)&&ze.indexOf(fe)<0&&(Be[fe]=Fe[fe]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,fe=Object.getOwnPropertySymbols(Fe);Ge<fe.length;Ge++)ze.indexOf(fe[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Fe,fe[Ge])&&(Be[fe[Ge]]=Fe[fe[Ge]]);return Be};const Oe=b.createContext(null),be=b.forwardRef((Fe,ze)=>{const{children:Be}=Fe,fe=tt(Fe,["children"]),Ge=b.useContext(Oe),Ce=b.useMemo(()=>Object.assign(Object.assign({},Ge),fe),[Ge,fe.prefixCls,fe.mode,fe.selectable,fe.rootClassName]),yt=(0,xe.t4)(Be),et=(0,xe.x1)(ze,yt?(0,xe.C4)(Be):null);return b.createElement(Oe.Provider,{value:Ce},b.createElement(de.Z,{space:!0},yt?b.cloneElement(Be,{ref:et}):Be))});hn.Z=Oe},93041:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return he}});var b=z(59301),xe=z(28321),de=z(24303),tt=z(18785),Oe=z(92310),be=z.n(Oe),Fe=z(6089),ze=z(2738),Be=z(86641),fe=z(22703),Ge=z(48755),Ce=z(83397),et=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),$e=function(re,ce){var De={};for(var st in re)Object.prototype.hasOwnProperty.call(re,st)&&ce.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++)ce.indexOf(st[Qe])<0&&Object.prototype.propertyIsEnumerable.call(re,st[Qe])&&(De[st[Qe]]=re[st[Qe]]);return De},Ve=re=>{const{prefixCls:ce,className:De,dashed:st}=re,Qe=$e(re,["prefixCls","className","dashed"]),{getPrefixCls:Ie}=b.useContext(Ge.E_),pt=Ie("menu",ce),Pt=be()({[`${pt}-item-divider-dashed`]:!!st},De);return b.createElement(xe.iz,Object.assign({className:Pt},Qe))},rt=z(11592),Nt=z(25399),se=re=>{var ce;const{className:De,children:st,icon:Qe,title:Ie,danger:pt,extra:Pt}=re,{prefixCls:Tt,firstLevel:Le,direction:Ue,disableMenuItemTitleTooltip:pn,inlineCollapsed:Wt}=b.useContext(et),Cn=Yt=>{const gn=st==null?void 0:st[0],At=b.createElement("span",{className:be()(`${Tt}-title-content`,{[`${Tt}-title-content-with-extra`]:!!Pt||Pt===0})},st);return(!Qe||b.isValidElement(st)&&st.type==="span")&&st&&Yt&&Le&&typeof gn=="string"?b.createElement("div",{className:`${Tt}-inline-collapsed-noicon`},gn.charAt(0)):At},{siderCollapsed:cn}=b.useContext(de.D);let Xt=Ie;typeof Ie=="undefined"?Xt=Le?st:"":Ie===!1&&(Xt="");const an={title:Xt};!cn&&!Wt&&(an.title=null,an.open=!1);const mn=(0,rt.Z)(st).length;let vt=b.createElement(xe.ck,Object.assign({},(0,ze.Z)(re,["title","icon","danger"]),{className:be()({[`${Tt}-item-danger`]:pt,[`${Tt}-item-only-child`]:(Qe?mn+1:mn)===1},De),title:typeof Ie=="string"?Ie:void 0}),(0,fe.Tm)(Qe,{className:be()(b.isValidElement(Qe)?(ce=Qe.props)===null||ce===void 0?void 0:ce.className:"",`${Tt}-item-icon`)}),Cn(Wt));return pn||(vt=b.createElement(Nt.Z,Object.assign({},an,{placement:Ue==="rtl"?"left":"right",classNames:{root:`${Tt}-inline-collapsed-tooltip`}}),vt)),vt},Me=z(78857),ft=z(36237),mt=z(17835),Zt=z(63356),Je=z(34961),at=z(46e3),dt=z(34925),Pe=z(16931),Ze=z(51636),ue=re=>{const{componentCls:ce,motionDurationSlow:De,horizontalLineHeight:st,colorSplit:Qe,lineWidth:Ie,lineType:pt,itemPaddingInline:Pt}=re;return{[`${ce}-horizontal`]:{lineHeight:st,border:0,borderBottom:`${(0,ft.unit)(Ie)} ${pt} ${Qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ce}-item, ${ce}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Pt},[`> ${ce}-item:hover,
|
|
|
> ${ce}-item-active,
|
|
|
> ${ce}-submenu ${ce}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ce}-item, ${ce}-submenu-title`]:{transition:[`border-color ${De}`,`background ${De}`].join(",")},[`${ce}-submenu-arrow`]:{display:"none"}}}},He=re=>{let{componentCls:ce,menuArrowOffset:De,calc:st}=re;return{[`${ce}-rtl`]:{direction:"rtl"},[`${ce}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ce}-rtl${ce}-vertical,
|
|
|
${ce}-submenu-rtl ${ce}-vertical`]:{[`${ce}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,ft.unit)(st(De).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,ft.unit)(De)})`}}}}};const We=re=>Object.assign({},(0,Zt.oN)(re));var Ae=(re,ce)=>{const{componentCls:De,itemColor:st,itemSelectedColor:Qe,subMenuItemSelectedColor:Ie,groupTitleColor:pt,itemBg:Pt,subMenuItemBg:Tt,itemSelectedBg:Le,activeBarHeight:Ue,activeBarWidth:pn,activeBarBorderWidth:Wt,motionDurationSlow:Cn,motionEaseInOut:cn,motionEaseOut:Xt,itemPaddingInline:an,motionDurationMid:mn,itemHoverColor:vt,lineType:Yt,colorSplit:gn,itemDisabledColor:At,dangerItemColor:_e,dangerItemHoverColor:Vt,dangerItemSelectedColor:nn,dangerItemActiveBg:dn,dangerItemSelectedBg:Ln,popupBg:Qn,itemHoverBg:hr,itemActiveBg:vr,menuSubMenuBg:Jn,horizontalItemSelectedColor:dr,horizontalItemSelectedBg:Jt,horizontalItemBorderRadius:En,horizontalItemHoverBg:qn}=re;return{[`${De}-${ce}, ${De}-${ce} > ${De}`]:{color:st,background:Pt,[`&${De}-root:focus-visible`]:Object.assign({},We(re)),[`${De}-item`]:{"&-group-title, &-extra":{color:pt}},[`${De}-submenu-selected > ${De}-submenu-title`]:{color:Ie},[`${De}-item, ${De}-submenu-title`]:{color:st,[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},We(re))},[`${De}-item-disabled, ${De}-submenu-disabled`]:{color:`${At} !important`},[`${De}-item:not(${De}-item-selected):not(${De}-submenu-selected)`]:{[`&:hover, > ${De}-submenu-title:hover`]:{color:vt}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:hr},"&:active":{backgroundColor:vr}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:hr},"&:active":{backgroundColor:vr}}},[`${De}-item-danger`]:{color:_e,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:Vt}},[`&${De}-item:active`]:{background:dn}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:Qe,[`&${De}-item-danger`]:{color:nn},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:Le,[`&${De}-item-danger`]:{backgroundColor:Ln}},[`&${De}-submenu > ${De}`]:{backgroundColor:Jn},[`&${De}-popup > ${De}`]:{backgroundColor:Qn},[`&${De}-submenu-popup > ${De}`]:{backgroundColor:Qn},[`&${De}-horizontal`]:Object.assign(Object.assign({},ce==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:Wt,marginTop:re.calc(Wt).mul(-1).equal(),marginBottom:0,borderRadius:En,"&::after":{position:"absolute",insetInline:an,bottom:0,borderBottom:`${(0,ft.unit)(Ue)} solid transparent`,transition:`border-color ${Cn} ${cn}`,content:'""'},"&:hover, &-active, &-open":{background:qn,"&::after":{borderBottomWidth:Ue,borderBottomColor:dr}},"&-selected":{color:dr,backgroundColor:Jt,"&:hover":{backgroundColor:Jt},"&::after":{borderBottomWidth:Ue,borderBottomColor:dr}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${(0,ft.unit)(Wt)} ${Yt} ${gn}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:Tt},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,ft.unit)(pn)} solid ${Qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${mn} ${Xt}`,`opacity ${mn} ${Xt}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:nn}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${mn} ${cn}`,`opacity ${mn} ${cn}`].join(",")}}}}}};const ve=re=>{const{componentCls:ce,itemHeight:De,itemMarginInline:st,padding:Qe,menuArrowSize:Ie,marginXS:pt,itemMarginBlock:Pt,itemWidth:Tt,itemPaddingInline:Le}=re,Ue=re.calc(Ie).add(Qe).add(pt).equal();return{[`${ce}-item`]:{position:"relative",overflow:"hidden"},[`${ce}-item, ${ce}-submenu-title`]:{height:De,lineHeight:(0,ft.unit)(De),paddingInline:Le,overflow:"hidden",textOverflow:"ellipsis",marginInline:st,marginBlock:Pt,width:Tt},[`> ${ce}-item,
|
|
|
> ${ce}-submenu > ${ce}-submenu-title`]:{height:De,lineHeight:(0,ft.unit)(De)},[`${ce}-item-group-list ${ce}-submenu-title,
|
|
|
${ce}-submenu-title`]:{paddingInlineEnd:Ue}}};var Gt=re=>{const{componentCls:ce,iconCls:De,itemHeight:st,colorTextLightSolid:Qe,dropdownWidth:Ie,controlHeightLG:pt,motionEaseOut:Pt,paddingXL:Tt,itemMarginInline:Le,fontSizeLG:Ue,motionDurationFast:pn,motionDurationSlow:Wt,paddingXS:Cn,boxShadowSecondary:cn,collapsedWidth:Xt,collapsedIconSize:an}=re,mn={height:st,lineHeight:(0,ft.unit)(st),listStylePosition:"inside",listStyleType:"disc"};return[{[ce]:{"&-inline, &-vertical":Object.assign({[`&${ce}-root`]:{boxShadow:"none"}},ve(re))},[`${ce}-submenu-popup`]:{[`${ce}-vertical`]:Object.assign(Object.assign({},ve(re)),{boxShadow:cn})}},{[`${ce}-submenu-popup ${ce}-vertical${ce}-sub`]:{minWidth:Ie,maxHeight:`calc(100vh - ${(0,ft.unit)(re.calc(pt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ce}-inline`]:{width:"100%",[`&${ce}-root`]:{[`${ce}-item, ${ce}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Wt}`,`background ${Wt}`,`padding ${pn} ${Pt}`].join(","),[`> ${ce}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ce}-sub${ce}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ce}-submenu > ${ce}-submenu-title`]:mn,[`& ${ce}-item-group-title`]:{paddingInlineStart:Tt}},[`${ce}-item`]:mn}},{[`${ce}-inline-collapsed`]:{width:Xt,[`&${ce}-root`]:{[`${ce}-item, ${ce}-submenu ${ce}-submenu-title`]:{[`> ${ce}-inline-collapsed-noicon`]:{fontSize:Ue,textAlign:"center"}}},[`> ${ce}-item,
|
|
|
> ${ce}-item-group > ${ce}-item-group-list > ${ce}-item,
|
|
|
> ${ce}-item-group > ${ce}-item-group-list > ${ce}-submenu > ${ce}-submenu-title,
|
|
|
> ${ce}-submenu > ${ce}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,ft.unit)(re.calc(an).div(2).equal())} - ${(0,ft.unit)(Le)})`,textOverflow:"clip",[`
|
|
|
${ce}-submenu-arrow,
|
|
|
${ce}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${ce}-item-icon, ${De}`]:{margin:0,fontSize:an,lineHeight:(0,ft.unit)(st),"+ span":{display:"inline-block",opacity:0}}},[`${ce}-item-icon, ${De}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ce}-item-icon, ${De}`]:{display:"none"},"a, a:hover":{color:Qe}},[`${ce}-item-group-title`]:Object.assign(Object.assign({},Zt.vS),{paddingInline:Cn})}}]};const Ht=re=>{const{componentCls:ce,motionDurationSlow:De,motionDurationMid:st,motionEaseInOut:Qe,motionEaseOut:Ie,iconCls:pt,iconSize:Pt,iconMarginInlineEnd:Tt}=re;return{[`${ce}-item, ${ce}-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(","),[`${ce}-item-icon, ${pt}`]:{minWidth:Pt,fontSize:Pt,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(",")}},[`${ce}-item-icon`]:Object.assign({},(0,Zt.Ro)()),[`&${ce}-item-only-child`]:{[`> ${pt}, > ${ce}-item-icon`]:{marginInlineEnd:0}}},[`${ce}-item-disabled, ${ce}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${ce}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pe=re=>{const{componentCls:ce,motionDurationSlow:De,motionEaseInOut:st,borderRadius:Qe,menuArrowSize:Ie,menuArrowOffset:pt}=re;return{[`${ce}-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,ft.unit)(re.calc(pt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,ft.unit)(pt)})`}}}}},Te=re=>{const{antCls:ce,componentCls:De,fontSize:st,motionDurationSlow:Qe,motionDurationMid:Ie,motionEaseInOut:pt,paddingXS:Pt,padding:Tt,colorSplit:Le,lineWidth:Ue,zIndexPopup:pn,borderRadiusLG:Wt,subMenuItemBorderRadius:Cn,menuArrowSize:cn,menuArrowOffset:Xt,lineType:an,groupTitleLineHeight:mn,groupTitleFontSize:vt}=re;return[{"":{[De]:Object.assign(Object.assign({},(0,Zt.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,Zt.Wf)(re)),(0,Zt.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,ft.unit)(Pt)} ${(0,ft.unit)(Tt)}`,fontSize:vt,lineHeight:mn,transition:`all ${Qe}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${Qe} ${pt}`,`background ${Qe} ${pt}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${Qe} ${pt}`,`background ${Qe} ${pt}`,`padding ${Ie} ${pt}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${Qe} ${pt}`,`padding ${Qe} ${pt}`].join(",")},[`${De}-title-content`]:{transition:`color ${Qe}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${ce}-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:an,borderWidth:0,borderTopWidth:Ue,marginBlock:Ue,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ht(re)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${(0,ft.unit)(re.calc(st).mul(2).equal())} ${(0,ft.unit)(Tt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:pn,borderRadius:Wt,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:Wt},Ht(re)),pe(re)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:Cn},[`${De}-submenu-title::after`]:{transition:`transform ${Qe} ${pt}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd: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,ft.unit)(Xt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,ft.unit)(re.calc(Xt).mul(-1).equal())})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(${(0,ft.unit)(re.calc(cn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,ft.unit)(re.calc(Xt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,ft.unit)(Xt)})`}}})},{[`${ce}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]},Ke=re=>{var ce,De,st;const{colorPrimary:Qe,colorError:Ie,colorTextDisabled:pt,colorErrorBg:Pt,colorText:Tt,colorTextDescription:Le,colorBgContainer:Ue,colorFillAlter:pn,colorFillContent:Wt,lineWidth:Cn,lineWidthBold:cn,controlItemBgActive:Xt,colorBgTextHover:an,controlHeightLG:mn,lineHeight:vt,colorBgElevated:Yt,marginXXS:gn,padding:At,fontSize:_e,controlHeightSM:Vt,fontSizeLG:nn,colorTextLightSolid:dn,colorErrorHover:Ln}=re,Qn=(ce=re.activeBarWidth)!==null&&ce!==void 0?ce:0,hr=(De=re.activeBarBorderWidth)!==null&&De!==void 0?De:Cn,vr=(st=re.itemMarginInline)!==null&&st!==void 0?st:re.marginXXS,Jn=new mt.FastColor(dn).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:Ue,itemBg:Ue,colorItemBgHover:an,itemHoverBg:an,colorItemBgActive:Wt,itemActiveBg:Xt,colorSubItemBg:pn,subMenuItemBg:pn,colorItemBgSelected:Xt,itemSelectedBg:Xt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Qn,colorActiveBarHeight:cn,activeBarHeight:cn,colorActiveBarBorderSize:Cn,activeBarBorderWidth:hr,colorItemTextDisabled:pt,itemDisabledColor:pt,colorDangerItemText:Ie,dangerItemColor:Ie,colorDangerItemTextHover:Ie,dangerItemHoverColor:Ie,colorDangerItemTextSelected:Ie,dangerItemSelectedColor:Ie,colorDangerItemBgActive:Pt,dangerItemActiveBg:Pt,colorDangerItemBgSelected:Pt,dangerItemSelectedBg:Pt,itemMarginInline:vr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:mn,groupTitleLineHeight:vt,collapsedWidth:mn*2,popupBg:Yt,itemMarginBlock:gn,itemPaddingInline:At,horizontalLineHeight:`${mn*1.15}px`,iconSize:_e,iconMarginInlineEnd:Vt-_e,collapsedIconSize:nn,groupTitleFontSize:_e,darkItemDisabledColor:new mt.FastColor(dn).setA(.25).toRgbString(),darkItemColor:Jn,darkDangerItemColor:Ie,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:dn,darkItemSelectedBg:Qe,darkDangerItemSelectedBg:Ie,darkItemHoverBg:"transparent",darkGroupTitleColor:Jn,darkItemHoverColor:dn,darkDangerItemHoverColor:Ln,darkDangerItemSelectedColor:dn,darkDangerItemActiveBg:Ie,itemWidth:Qn?`calc(100% + ${hr}px)`:`calc(100% - ${vr*2}px)`}};var tn=function(re){let ce=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:pt,fontSize:Pt,darkItemColor:Tt,darkDangerItemColor:Le,darkItemBg:Ue,darkSubMenuItemBg:pn,darkItemSelectedColor:Wt,darkItemSelectedBg:Cn,darkDangerItemSelectedBg:cn,darkItemHoverBg:Xt,darkGroupTitleColor:an,darkItemHoverColor:mn,darkItemDisabledColor:vt,darkDangerItemHoverColor:Yt,darkDangerItemSelectedColor:gn,darkDangerItemActiveBg:At,popupBg:_e,darkPopupBg:Vt}=Qe,nn=Qe.calc(Pt).div(7).mul(5).equal(),dn=(0,Ze.mergeToken)(Qe,{menuArrowSize:nn,menuHorizontalHeight:Qe.calc(pt).mul(1.15).equal(),menuArrowOffset:Qe.calc(nn).mul(.25).equal(),menuSubMenuBg:Ie,calc:Qe.calc,popupBg:_e}),Ln=(0,Ze.mergeToken)(dn,{itemColor:Tt,itemHoverColor:mn,groupTitleColor:an,itemSelectedColor:Wt,subMenuItemSelectedColor:Wt,itemBg:Ue,popupBg:Vt,subMenuItemBg:pn,itemActiveBg:"transparent",itemSelectedBg:Cn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Xt,itemDisabledColor:vt,dangerItemColor:Le,dangerItemHoverColor:Yt,dangerItemSelectedColor:gn,dangerItemActiveBg:At,dangerItemSelectedBg:cn,menuSubMenuBg:pn,horizontalItemSelectedColor:Wt,horizontalItemSelectedBg:Cn});return[Te(dn),ue(dn),Gt(dn),Ae(dn,"light"),Ae(Ln,"dark"),He(dn),(0,Je.Z)(dn),(0,at.oN)(dn,"slide-up"),(0,at.oN)(dn,"slide-down"),(0,dt._y)(dn,"zoom-big")]},Ke,{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,ce)},lt=z(75030),ct=re=>{var ce;const{popupClassName:De,icon:st,title:Qe,theme:Ie}=re,pt=b.useContext(et),{prefixCls:Pt,inlineCollapsed:Tt,theme:Le}=pt,Ue=(0,xe.Xl)();let pn;if(!st)pn=Tt&&!Ue.length&&Qe&&typeof Qe=="string"?b.createElement("div",{className:`${Pt}-inline-collapsed-noicon`},Qe.charAt(0)):b.createElement("span",{className:`${Pt}-title-content`},Qe);else{const cn=b.isValidElement(Qe)&&Qe.type==="span";pn=b.createElement(b.Fragment,null,(0,fe.Tm)(st,{className:be()(b.isValidElement(st)?(ce=st.props)===null||ce===void 0?void 0:ce.className:"",`${Pt}-item-icon`)}),cn?Qe:b.createElement("span",{className:`${Pt}-title-content`},Qe))}const Wt=b.useMemo(()=>Object.assign(Object.assign({},pt),{firstLevel:!1}),[pt]),[Cn]=(0,lt.Cn)("Menu");return b.createElement(et.Provider,{value:Wt},b.createElement(xe.Wd,Object.assign({},(0,ze.Z)(re,["icon"]),{title:pn,popupClassName:be()(Pt,De,`${Pt}-${Ie||Le}`),popupStyle:Object.assign({zIndex:Cn},re.popupStyle)})))},ln=function(re,ce){var De={};for(var st in re)Object.prototype.hasOwnProperty.call(re,st)&&ce.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++)ce.indexOf(st[Qe])<0&&Object.prototype.propertyIsEnumerable.call(re,st[Qe])&&(De[st[Qe]]=re[st[Qe]]);return De};function Et(re){return re===null||re===!1}const le={item:se,submenu:ct,divider:Ve};var te=(0,b.forwardRef)((re,ce)=>{var De;const st=b.useContext(Me.Z),Qe=st||{},{getPrefixCls:Ie,getPopupContainer:pt,direction:Pt,menu:Tt}=b.useContext(Ge.E_),Le=Ie(),{prefixCls:Ue,className:pn,style:Wt,theme:Cn="light",expandIcon:cn,_internalDisableMenuItemTitleTooltip:Xt,inlineCollapsed:an,siderCollapsed:mn,rootClassName:vt,mode:Yt,selectable:gn,onClick:At,overflowedIndicatorPopupClassName:_e}=re,Vt=ln(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),nn=(0,ze.Z)(Vt,["collapsedWidth"]);(De=Qe.validator)===null||De===void 0||De.call(Qe,{mode:Yt});const dn=(0,Fe.Z)(function(){var ut;At==null||At.apply(void 0,arguments),(ut=Qe.onClick)===null||ut===void 0||ut.call(Qe)}),Ln=Qe.mode||Yt,Qn=gn!=null?gn:Qe.selectable,hr=an!=null?an:mn,vr={horizontal:{motionName:`${Le}-slide-up`},inline:(0,Be.Z)(Le),other:{motionName:`${Le}-zoom-big`}},Jn=Ie("menu",Ue||Qe.prefixCls),dr=(0,Ce.Z)(Jn),[Jt,En,qn]=tn(Jn,dr,!st),nr=be()(`${Jn}-${Cn}`,Tt==null?void 0:Tt.className,pn),jn=b.useMemo(()=>{var ut,qt;if(typeof cn=="function"||Et(cn))return cn||null;if(typeof Qe.expandIcon=="function"||Et(Qe.expandIcon))return Qe.expandIcon||null;if(typeof(Tt==null?void 0:Tt.expandIcon)=="function"||Et(Tt==null?void 0:Tt.expandIcon))return(Tt==null?void 0:Tt.expandIcon)||null;const Dt=(ut=cn!=null?cn:Qe==null?void 0:Qe.expandIcon)!==null&&ut!==void 0?ut:Tt==null?void 0:Tt.expandIcon;return(0,fe.Tm)(Dt,{className:be()(`${Jn}-submenu-expand-icon`,b.isValidElement(Dt)?(qt=Dt.props)===null||qt===void 0?void 0:qt.className:void 0)})},[cn,Qe==null?void 0:Qe.expandIcon,Tt==null?void 0:Tt.expandIcon,Jn]),xn=b.useMemo(()=>({prefixCls:Jn,inlineCollapsed:hr||!1,direction:Pt,firstLevel:!0,theme:Cn,mode:Ln,disableMenuItemTitleTooltip:Xt}),[Jn,hr,Pt,Xt,Cn]);return Jt(b.createElement(Me.Z.Provider,{value:null},b.createElement(et.Provider,{value:xn},b.createElement(xe.ZP,Object.assign({getPopupContainer:pt,overflowedIndicator:b.createElement(tt.Z,null),overflowedIndicatorPopupClassName:be()(Jn,`${Jn}-${Cn}`,_e),mode:Ln,selectable:Qn,onClick:dn},nn,{inlineCollapsed:hr,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Wt),className:nr,prefixCls:Jn,direction:Pt,defaultMotions:vr,expandIcon:jn,ref:ce,rootClassName:be()(vt,En,Qe.rootClassName,qn,dr),_internalComponents:le})))))});const ae=(0,b.forwardRef)((re,ce)=>{const De=(0,b.useRef)(null),st=b.useContext(de.D);return(0,b.useImperativeHandle)(ce,()=>({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=Ve,ae.ItemGroup=xe.BW;var he=ae},31709:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Tt}});var b=z(59301),xe=z(54476),de={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"},tt=de,Oe=z(7657),be=function(Ue,pn){return b.createElement(Oe.Z,(0,xe.Z)({},Ue,{ref:pn,icon:tt}))},Fe=b.forwardRef(be),ze=Fe,Be=z(49198),fe=z(33853),Ge=z(38819),Ce=z(92310),yt=z.n(Ce),et=z(20068),$e=z(76190),je=z(33885),Ve=z(42978),rt=z(18929),Nt=z(10228),Ut=z(26112),se=z(48736),Me=z(17119),ft=[10,20,50,100],mt=function(Ue){var pn=Ue.pageSizeOptions,Wt=pn===void 0?ft:pn,Cn=Ue.locale,cn=Ue.changeSize,Xt=Ue.pageSize,an=Ue.goButton,mn=Ue.quickGo,vt=Ue.rootPrefixCls,Yt=Ue.disabled,gn=Ue.buildOptionText,At=Ue.showSizeChanger,_e=Ue.sizeChangerRender,Vt=b.useState(""),nn=(0,Ve.Z)(Vt,2),dn=nn[0],Ln=nn[1],Qn=function(){return!dn||Number.isNaN(dn)?void 0:Number(dn)},hr=typeof gn=="function"?gn:function(xn){return"".concat(xn," ").concat(Cn.items_per_page)},vr=function(ut){Ln(ut.target.value)},Jn=function(ut){an||dn===""||(Ln(""),!(ut.relatedTarget&&(ut.relatedTarget.className.indexOf("".concat(vt,"-item-link"))>=0||ut.relatedTarget.className.indexOf("".concat(vt,"-item"))>=0))&&(mn==null||mn(Qn())))},dr=function(ut){dn!==""&&(ut.keyCode===Nt.Z.ENTER||ut.type==="click")&&(Ln(""),mn==null||mn(Qn()))},Jt=function(){return Wt.some(function(ut){return ut.toString()===Xt.toString()})?Wt:Wt.concat([Xt]).sort(function(ut,qt){var Dt=Number.isNaN(Number(ut))?0:Number(ut),sn=Number.isNaN(Number(qt))?0:Number(qt);return Dt-sn})},En="".concat(vt,"-options");if(!At&&!mn)return null;var qn=null,nr=null,jn=null;return At&&_e&&(qn=_e({disabled:Yt,size:Xt,onSizeChange:function(ut){cn==null||cn(Number(ut))},"aria-label":Cn.page_size,className:"".concat(En,"-size-changer"),options:Jt().map(function(xn){return{label:hr(xn),value:xn}})})),mn&&(an&&(jn=typeof an=="boolean"?b.createElement("button",{type:"button",onClick:dr,onKeyUp:dr,disabled:Yt,className:"".concat(En,"-quick-jumper-button")},Cn.jump_to_confirm):b.createElement("span",{onClick:dr,onKeyUp:dr},an)),nr=b.createElement("div",{className:"".concat(En,"-quick-jumper")},Cn.jump_to,b.createElement("input",{disabled:Yt,type:"text",value:dn,onChange:vr,onKeyUp:dr,onBlur:Jn,"aria-label":Cn.page}),Cn.page,jn)),b.createElement("li",{className:En},qn,nr)},Zt=mt,Je=function(Ue){var pn=Ue.rootPrefixCls,Wt=Ue.page,Cn=Ue.active,cn=Ue.className,Xt=Ue.showTitle,an=Ue.onClick,mn=Ue.onKeyPress,vt=Ue.itemRender,Yt="".concat(pn,"-item"),gn=yt()(Yt,"".concat(Yt,"-").concat(Wt),(0,et.Z)((0,et.Z)({},"".concat(Yt,"-active"),Cn),"".concat(Yt,"-disabled"),!Wt),cn),At=function(){an(Wt)},_e=function(dn){mn(dn,an,Wt)},Vt=vt(Wt,"page",b.createElement("a",{rel:"nofollow"},Wt));return Vt?b.createElement("li",{title:Xt?String(Wt):null,className:gn,onClick:At,onKeyDown:_e,tabIndex:0},Vt):null},at=Je,dt=function(Ue,pn,Wt){return Wt};function Pe(){}function Ze(Le){var Ue=Number(Le);return typeof Ue=="number"&&!Number.isNaN(Ue)&&isFinite(Ue)&&Math.floor(Ue)===Ue}function Ee(Le,Ue,pn){var Wt=typeof Le=="undefined"?Ue:Le;return Math.floor((pn-1)/Wt)+1}var ue=function(Ue){var pn=Ue.prefixCls,Wt=pn===void 0?"rc-pagination":pn,Cn=Ue.selectPrefixCls,cn=Cn===void 0?"rc-select":Cn,Xt=Ue.className,an=Ue.current,mn=Ue.defaultCurrent,vt=mn===void 0?1:mn,Yt=Ue.total,gn=Yt===void 0?0:Yt,At=Ue.pageSize,_e=Ue.defaultPageSize,Vt=_e===void 0?10:_e,nn=Ue.onChange,dn=nn===void 0?Pe:nn,Ln=Ue.hideOnSinglePage,Qn=Ue.align,hr=Ue.showPrevNextJumpers,vr=hr===void 0?!0:hr,Jn=Ue.showQuickJumper,dr=Ue.showLessItems,Jt=Ue.showTitle,En=Jt===void 0?!0:Jt,qn=Ue.onShowSizeChange,nr=qn===void 0?Pe:qn,jn=Ue.locale,xn=jn===void 0?Me.Z:jn,ut=Ue.style,qt=Ue.totalBoundaryShowSizeChanger,Dt=qt===void 0?50:qt,sn=Ue.disabled,Sn=Ue.simple,vn=Ue.showTotal,Bn=Ue.showSizeChanger,Un=Bn===void 0?gn>Dt:Bn,Yn=Ue.sizeChangerRender,$t=Ue.pageSizeOptions,Mn=Ue.itemRender,rn=Mn===void 0?dt:Mn,or=Ue.jumpPrevIcon,wt=Ue.jumpNextIcon,zt=Ue.prevIcon,Re=Ue.nextIcon,ht=b.useRef(null),Ye=(0,rt.Z)(10,{value:At,defaultValue:Vt}),St=(0,Ve.Z)(Ye,2),_t=St[0],tr=St[1],ar=(0,rt.Z)(1,{value:an,defaultValue:vt,postState:function(Mo){return Math.max(1,Math.min(Mo,Ee(void 0,_t,gn)))}}),bt=(0,Ve.Z)(ar,2),xt=bt[0],Ft=bt[1],Kt=b.useState(xt),Pn=(0,Ve.Z)(Kt,2),Tn=Pn[0],kn=Pn[1];(0,b.useEffect)(function(){kn(xt)},[xt]);var Kn=dn!==Pe,pr="current"in Ue,Ar=Math.max(1,xt-(dr?3:5)),Vr=Math.min(Ee(void 0,_t,gn),xt+(dr?3:5));function Br(Wo,Mo){var Wi=Wo||b.createElement("button",{type:"button","aria-label":Mo,className:"".concat(Wt,"-item-link")});return typeof Wo=="function"&&(Wi=b.createElement(Wo,(0,je.Z)({},Ue))),Wi}function fr(Wo){var Mo=Wo.target.value,Wi=Ee(void 0,_t,gn),zi;return Mo===""?zi=Mo:Number.isNaN(Number(Mo))?zi=Tn:Mo>=Wi?zi=Wi:zi=Number(Mo),zi}function Pr(Wo){return Ze(Wo)&&Wo!==xt&&Ze(gn)&&gn>0}var kr=gn>_t?Jn:!1;function $r(Wo){(Wo.keyCode===Nt.Z.UP||Wo.keyCode===Nt.Z.DOWN)&&Wo.preventDefault()}function Xr(Wo){var Mo=fr(Wo);switch(Mo!==Tn&&kn(Mo),Wo.keyCode){case Nt.Z.ENTER:ur(Mo);break;case Nt.Z.UP:ur(Mo-1);break;case Nt.Z.DOWN:ur(Mo+1);break;default:break}}function vo(Wo){ur(fr(Wo))}function yr(Wo){var Mo=Ee(Wo,_t,gn),Wi=xt>Mo&&Mo!==0?Mo:xt;tr(Wo),kn(Wi),nr==null||nr(xt,Wo),Ft(Wi),dn==null||dn(Wi,Wo)}function ur(Wo){if(Pr(Wo)&&!sn){var Mo=Ee(void 0,_t,gn),Wi=Wo;return Wo>Mo?Wi=Mo:Wo<1&&(Wi=1),Wi!==Tn&&kn(Wi),Ft(Wi),dn==null||dn(Wi,_t),Wi}return xt}var gr=xt>1,no=xt<Ee(void 0,_t,gn);function Kr(){gr&&ur(xt-1)}function wr(){no&&ur(xt+1)}function Rr(){ur(Ar)}function mo(){ur(Vr)}function Qr(Wo,Mo){if(Wo.key==="Enter"||Wo.charCode===Nt.Z.ENTER||Wo.keyCode===Nt.Z.ENTER){for(var Wi=arguments.length,zi=new Array(Wi>2?Wi-2:0),Xi=2;Xi<Wi;Xi++)zi[Xi-2]=arguments[Xi];Mo.apply(void 0,zi)}}function qr(Wo){Qr(Wo,Kr)}function eo(Wo){Qr(Wo,wr)}function ko(Wo){Qr(Wo,Rr)}function _o(Wo){Qr(Wo,mo)}function qo(Wo){var Mo=rn(Wo,"prev",Br(zt,"prev page"));return b.isValidElement(Mo)?b.cloneElement(Mo,{disabled:!gr}):Mo}function Lo(Wo){var Mo=rn(Wo,"next",Br(Re,"next page"));return b.isValidElement(Mo)?b.cloneElement(Mo,{disabled:!no}):Mo}function ii(Wo){(Wo.type==="click"||Wo.keyCode===Nt.Z.ENTER)&&ur(Tn)}var ke=null,nt=(0,Ut.Z)(Ue,{aria:!0,data:!0}),Mt=vn&&b.createElement("li",{className:"".concat(Wt,"-total-text")},vn(gn,[gn===0?0:(xt-1)*_t+1,xt*_t>gn?gn:xt*_t])),un=null,fn=Ee(void 0,_t,gn);if(Ln&&gn<=_t)return null;var Rt=[],ot={rootPrefixCls:Wt,onClick:ur,onKeyPress:Qr,showTitle:En,itemRender:rn,page:-1},Ot=xt-1>0?xt-1:0,en=xt+1<fn?xt+1:fn,Fn=Jn&&Jn.goButton,Zn=(0,$e.Z)(Sn)==="object"?Sn.readOnly:!Sn,An=Fn,Hn=null;Sn&&(Fn&&(typeof Fn=="boolean"?An=b.createElement("button",{type:"button",onClick:ii,onKeyUp:ii},xn.jump_to_confirm):An=b.createElement("span",{onClick:ii,onKeyUp:ii},Fn),An=b.createElement("li",{title:En?"".concat(xn.jump_to).concat(xt,"/").concat(fn):null,className:"".concat(Wt,"-simple-pager")},An)),Hn=b.createElement("li",{title:En?"".concat(xt,"/").concat(fn):null,className:"".concat(Wt,"-simple-pager")},Zn?Tn:b.createElement("input",{type:"text","aria-label":xn.jump_to,value:Tn,disabled:sn,onKeyDown:$r,onKeyUp:Xr,onChange:Xr,onBlur:vo,size:3}),b.createElement("span",{className:"".concat(Wt,"-slash")},"/"),fn));var $n=dr?1:2;if(fn<=3+$n*2){fn||Rt.push(b.createElement(at,(0,xe.Z)({},ot,{key:"noPager",page:1,className:"".concat(Wt,"-item-disabled")})));for(var Cr=1;Cr<=fn;Cr+=1)Rt.push(b.createElement(at,(0,xe.Z)({},ot,{key:Cr,page:Cr,active:xt===Cr})))}else{var br=dr?xn.prev_3:xn.prev_5,Wr=dr?xn.next_3:xn.next_5,Jr=rn(Ar,"jump-prev",Br(or,"prev page")),yo=rn(Vr,"jump-next",Br(wt,"next page"));vr&&(ke=Jr?b.createElement("li",{title:En?br:null,key:"prev",onClick:Rr,tabIndex:0,onKeyDown:ko,className:yt()("".concat(Wt,"-jump-prev"),(0,et.Z)({},"".concat(Wt,"-jump-prev-custom-icon"),!!or))},Jr):null,un=yo?b.createElement("li",{title:En?Wr:null,key:"next",onClick:mo,tabIndex:0,onKeyDown:_o,className:yt()("".concat(Wt,"-jump-next"),(0,et.Z)({},"".concat(Wt,"-jump-next-custom-icon"),!!wt))},yo):null);var io=Math.max(1,xt-$n),Io=Math.min(xt+$n,fn);xt-1<=$n&&(Io=1+$n*2),fn-xt<=$n&&(io=fn-$n*2);for(var co=io;co<=Io;co+=1)Rt.push(b.createElement(at,(0,xe.Z)({},ot,{key:co,page:co,active:xt===co})));if(xt-1>=$n*2&&xt!==3&&(Rt[0]=b.cloneElement(Rt[0],{className:yt()("".concat(Wt,"-item-after-jump-prev"),Rt[0].props.className)}),Rt.unshift(ke)),fn-xt>=$n*2&&xt!==fn-2){var fo=Rt[Rt.length-1];Rt[Rt.length-1]=b.cloneElement(fo,{className:yt()("".concat(Wt,"-item-before-jump-next"),fo.props.className)}),Rt.push(un)}io!==1&&Rt.unshift(b.createElement(at,(0,xe.Z)({},ot,{key:1,page:1}))),Io!==fn&&Rt.push(b.createElement(at,(0,xe.Z)({},ot,{key:fn,page:fn})))}var bo=qo(Ot);if(bo){var Bo=!gr||!fn;bo=b.createElement("li",{title:En?xn.prev_page:null,onClick:Kr,tabIndex:Bo?null:0,onKeyDown:qr,className:yt()("".concat(Wt,"-prev"),(0,et.Z)({},"".concat(Wt,"-disabled"),Bo)),"aria-disabled":Bo},bo)}var ri=Lo(en);if(ri){var Si,bi;Sn?(Si=!no,bi=gr?0:null):(Si=!no||!fn,bi=Si?null:0),ri=b.createElement("li",{title:En?xn.next_page:null,onClick:wr,tabIndex:bi,onKeyDown:eo,className:yt()("".concat(Wt,"-next"),(0,et.Z)({},"".concat(Wt,"-disabled"),Si)),"aria-disabled":Si},ri)}var Ki=yt()(Wt,Xt,(0,et.Z)((0,et.Z)((0,et.Z)((0,et.Z)((0,et.Z)({},"".concat(Wt,"-start"),Qn==="start"),"".concat(Wt,"-center"),Qn==="center"),"".concat(Wt,"-end"),Qn==="end"),"".concat(Wt,"-simple"),Sn),"".concat(Wt,"-disabled"),sn));return b.createElement("ul",(0,xe.Z)({className:Ki,style:ut,ref:ht},nt),Mt,bo,Sn?Hn:Rt,ri,b.createElement(Zt,{locale:xn,rootPrefixCls:Wt,disabled:sn,selectPrefixCls:cn,changeSize:yr,pageSize:_t,pageSizeOptions:$t,quickGo:kr?ur:null,goButton:An,showSizeChanger:Un,sizeChangerRender:Yn}))},Ct=ue,He=z(61852),We=z(48755),kt=z(31756),Ae=z(13783),ve=z(9017),gt=z(82326),Gt=z(57700),Ht=z(36237),pe=z(53075),Te=z(64910),Ke=z(39082),tn=z(63356),lt=z(51636),jt=z(16931);const ct=Le=>{const{componentCls:Ue}=Le;return{[`${Ue}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ue}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ue}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ue}-disabled`]:{cursor:"not-allowed",[`${Ue}-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}}},[`${Ue}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ue}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ue}-simple-pager`]:{color:Le.colorTextDisabled},[`${Ue}-jump-prev, ${Ue}-jump-next`]:{[`${Ue}-item-link-icon`]:{opacity:0},[`${Ue}-item-ellipsis`]:{opacity:1}}},[`&${Ue}-simple`]:{[`${Ue}-prev, ${Ue}-next`]:{[`&${Ue}-disabled ${Ue}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ln=Le=>{const{componentCls:Ue}=Le;return{[`&${Ue}-mini ${Ue}-total-text, &${Ue}-mini ${Ue}-simple-pager`]:{height:Le.itemSizeSM,lineHeight:(0,Ht.unit)(Le.itemSizeSM)},[`&${Ue}-mini ${Ue}-item`]:{minWidth:Le.itemSizeSM,height:Le.itemSizeSM,margin:0,lineHeight:(0,Ht.unit)(Le.calc(Le.itemSizeSM).sub(2).equal())},[`&${Ue}-mini ${Ue}-prev, &${Ue}-mini ${Ue}-next`]:{minWidth:Le.itemSizeSM,height:Le.itemSizeSM,margin:0,lineHeight:(0,Ht.unit)(Le.itemSizeSM)},[`&${Ue}-mini:not(${Ue}-disabled)`]:{[`${Ue}-prev, ${Ue}-next`]:{[`&:hover ${Ue}-item-link`]:{backgroundColor:Le.colorBgTextHover},[`&:active ${Ue}-item-link`]:{backgroundColor:Le.colorBgTextActive},[`&${Ue}-disabled:hover ${Ue}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${Ue}-mini ${Ue}-prev ${Ue}-item-link,
|
|
|
&${Ue}-mini ${Ue}-next ${Ue}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Le.itemSizeSM,lineHeight:(0,Ht.unit)(Le.itemSizeSM)}},[`&${Ue}-mini ${Ue}-jump-prev, &${Ue}-mini ${Ue}-jump-next`]:{height:Le.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Ht.unit)(Le.itemSizeSM)},[`&${Ue}-mini ${Ue}-options`]:{marginInlineStart:Le.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Le.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Le.itemSizeSM,lineHeight:(0,Ht.unit)(Le.itemSizeSM),input:Object.assign(Object.assign({},(0,pe.x0)(Le)),{width:Le.paginationMiniQuickJumperInputWidth,height:Le.controlHeightSM})}}}},Et=Le=>{const{componentCls:Ue}=Le;return{[`
|
|
|
&${Ue}-simple ${Ue}-prev,
|
|
|
&${Ue}-simple ${Ue}-next
|
|
|
`]:{height:Le.itemSizeSM,lineHeight:(0,Ht.unit)(Le.itemSizeSM),verticalAlign:"top",[`${Ue}-item-link`]:{height:Le.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive},"&::after":{height:Le.itemSizeSM,lineHeight:(0,Ht.unit)(Le.itemSizeSM)}}},[`&${Ue}-simple ${Ue}-simple-pager`]:{display:"inline-block",height:Le.itemSizeSM,marginInlineEnd:Le.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Ht.unit)(Le.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:Le.itemInputBg,border:`${(0,Ht.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,Ht.unit)(Le.inputOutlineOffset)} 0 ${(0,Ht.unit)(Le.controlOutlineWidth)} ${Le.controlOutline}`},"&[disabled]":{color:Le.colorTextDisabled,backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,cursor:"not-allowed"}}}}},le=Le=>{const{componentCls:Ue}=Le;return{[`${Ue}-jump-prev, ${Ue}-jump-next`]:{outline:0,[`${Ue}-item-container`]:{position:"relative",[`${Ue}-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"}},[`${Ue}-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":{[`${Ue}-item-link-icon`]:{opacity:1},[`${Ue}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${Ue}-prev,
|
|
|
${Ue}-jump-prev,
|
|
|
${Ue}-jump-next
|
|
|
`]:{marginInlineEnd:Le.marginXS},[`
|
|
|
${Ue}-prev,
|
|
|
${Ue}-next,
|
|
|
${Ue}-jump-prev,
|
|
|
${Ue}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:Le.itemSize,height:Le.itemSize,color:Le.colorText,fontFamily:Le.fontFamily,lineHeight:(0,Ht.unit)(Le.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Le.borderRadius,cursor:"pointer",transition:`all ${Le.motionDurationMid}`},[`${Ue}-prev, ${Ue}-next`]:{outline:0,button:{color:Le.colorText,cursor:"pointer",userSelect:"none"},[`${Ue}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Le.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Ht.unit)(Le.lineWidth)} ${Le.lineType} transparent`,borderRadius:Le.borderRadius,outline:"none",transition:`all ${Le.motionDurationMid}`},[`&:hover ${Ue}-item-link`]:{backgroundColor:Le.colorBgTextHover},[`&:active ${Ue}-item-link`]:{backgroundColor:Le.colorBgTextActive},[`&${Ue}-disabled:hover`]:{[`${Ue}-item-link`]:{backgroundColor:"transparent"}}},[`${Ue}-slash`]:{marginInlineEnd:Le.paginationSlashMarginInlineEnd,marginInlineStart:Le.paginationSlashMarginInlineStart},[`${Ue}-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,Ht.unit)(Le.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,pe.ik)(Le)),(0,Ke.$U)(Le,{borderColor:Le.colorBorder,hoverBorderColor:Le.colorPrimaryHover,activeBorderColor:Le.colorPrimary,activeShadow:Le.activeShadow})),{"&[disabled]":Object.assign({},(0,Ke.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:Ue}=Le;return{[`${Ue}-item`]:{display:"inline-block",minWidth:Le.itemSize,height:Le.itemSize,marginInlineEnd:Le.marginXS,fontFamily:Le.fontFamily,lineHeight:(0,Ht.unit)(Le.calc(Le.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:Le.itemBg,border:`${(0,Ht.unit)(Le.lineWidth)} ${Le.lineType} transparent`,borderRadius:Le.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Ht.unit)(Le.paginationItemPaddingInline)}`,color:Le.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ue}-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:Ue}=Le;return{[Ue]: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:'""'},[`${Ue}-total-text`]:{display:"inline-block",height:Le.itemSize,marginInlineEnd:Le.marginXS,lineHeight:(0,Ht.unit)(Le.calc(Le.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ne(Le)),le(Le)),Et(Le)),ln(Le)),ct(Le)),{[`@media only screen and (max-width: ${Le.screenLG}px)`]:{[`${Ue}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Le.screenSM}px)`]:{[`${Ue}-options`]:{display:"none"}}}),[`&${Le.componentCls}-rtl`]:{direction:"rtl"}}},ae=Le=>{const{componentCls:Ue}=Le;return{[`${Ue}:not(${Ue}-disabled)`]:{[`${Ue}-item`]:Object.assign({},(0,tn.Qy)(Le)),[`${Ue}-jump-prev, ${Ue}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ue}-item-link-icon`]:{opacity:1},[`${Ue}-item-ellipsis`]:{opacity:0}},(0,tn.oN)(Le))},[`${Ue}-prev, ${Ue}-next`]:{[`&:focus-visible ${Ue}-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,Te.T)(Le)),re=Le=>(0,lt.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,Te.e)(Le));var ce=(0,jt.I$)("Pagination",Le=>{const Ue=re(Le);return[te(Ue),ae(Ue)]},he);const De=Le=>{const{componentCls:Ue}=Le;return{[`${Ue}${Ue}-bordered${Ue}-disabled:not(${Ue}-mini)`]:{"&, &:hover":{[`${Ue}-item-link`]:{borderColor:Le.colorBorder}},"&:focus-visible":{[`${Ue}-item-link`]:{borderColor:Le.colorBorder}},[`${Ue}-item, ${Ue}-item-link`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,[`&:hover:not(${Ue}-item-active)`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,a:{color:Le.colorTextDisabled}},[`&${Ue}-item-active`]:{backgroundColor:Le.itemActiveBgDisabled}},[`${Ue}-prev, ${Ue}-next`]:{"&:hover button":{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,color:Le.colorTextDisabled},[`${Ue}-item-link`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder}}},[`${Ue}${Ue}-bordered:not(${Ue}-mini)`]:{[`${Ue}-prev, ${Ue}-next`]:{"&:hover button":{borderColor:Le.colorPrimaryHover,backgroundColor:Le.itemBg},[`${Ue}-item-link`]:{backgroundColor:Le.itemLinkBg,borderColor:Le.colorBorder},[`&:hover ${Ue}-item-link`]:{borderColor:Le.colorPrimary,backgroundColor:Le.itemBg,color:Le.colorPrimary},[`&${Ue}-disabled`]:{[`${Ue}-item-link`]:{borderColor:Le.colorBorder,color:Le.colorTextDisabled}}},[`${Ue}-item`]:{backgroundColor:Le.itemBg,border:`${(0,Ht.unit)(Le.lineWidth)} ${Le.lineType} ${Le.colorBorder}`,[`&:hover:not(${Ue}-item-active)`]:{borderColor:Le.colorPrimary,backgroundColor:Le.itemBg,a:{color:Le.colorPrimary}},"&-active":{borderColor:Le.colorPrimary}}}}};var st=(0,jt.bk)(["Pagination","bordered"],Le=>{const Ue=re(Le);return[De(Ue)]},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,Ue){var pn={};for(var Wt in Le)Object.prototype.hasOwnProperty.call(Le,Wt)&&Ue.indexOf(Wt)<0&&(pn[Wt]=Le[Wt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Cn=0,Wt=Object.getOwnPropertySymbols(Le);Cn<Wt.length;Cn++)Ue.indexOf(Wt[Cn])<0&&Object.prototype.propertyIsEnumerable.call(Le,Wt[Cn])&&(pn[Wt[Cn]]=Le[Wt[Cn]]);return pn},Pt=Le=>{const{align:Ue,prefixCls:pn,selectPrefixCls:Wt,className:Cn,rootClassName:cn,style:Xt,size:an,locale:mn,responsive:vt,showSizeChanger:Yt,selectComponentClass:gn,pageSizeOptions:At}=Le,_e=Ie(Le,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Vt}=(0,Ae.Z)(vt),[,nn]=(0,Gt.ZP)(),{getPrefixCls:dn,direction:Ln,showSizeChanger:Qn,className:hr,style:vr}=(0,We.dj)("pagination"),Jn=dn("pagination",pn),[dr,Jt,En]=ce(Jn),qn=(0,kt.Z)(an),nr=qn==="small"||!!(Vt&&!qn&&vt),[jn]=(0,ve.Z)("Pagination",He.Z),xn=Object.assign(Object.assign({},jn),mn),[ut,qt]=Qe(Yt),[Dt,sn]=Qe(Qn),Sn=ut!=null?ut:Dt,vn=qt!=null?qt:sn,Bn=gn||gt.default,Un=b.useMemo(()=>At?At.map(wt=>Number(wt)):void 0,[At]),Yn=wt=>{var zt;const{disabled:Re,size:ht,onSizeChange:Ye,"aria-label":St,className:_t,options:tr}=wt,{className:ar,onChange:bt}=vn||{},xt=(zt=tr.find(Ft=>String(Ft.value)===String(ht)))===null||zt===void 0?void 0:zt.value;return b.createElement(Bn,Object.assign({disabled:Re,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Ft=>Ft.parentNode,"aria-label":St,options:tr},vn,{value:xt,onChange:(Ft,Kt)=>{Ye==null||Ye(Ft),bt==null||bt(Ft,Kt)},size:nr?"small":"middle",className:yt()(_t,ar)}))},$t=b.useMemo(()=>{const wt=b.createElement("span",{className:`${Jn}-item-ellipsis`},"\u2022\u2022\u2022"),zt=b.createElement("button",{className:`${Jn}-item-link`,type:"button",tabIndex:-1},Ln==="rtl"?b.createElement(Ge.Z,null):b.createElement(fe.Z,null)),Re=b.createElement("button",{className:`${Jn}-item-link`,type:"button",tabIndex:-1},Ln==="rtl"?b.createElement(fe.Z,null):b.createElement(Ge.Z,null)),ht=b.createElement("a",{className:`${Jn}-item-link`},b.createElement("div",{className:`${Jn}-item-container`},Ln==="rtl"?b.createElement(Be.Z,{className:`${Jn}-item-link-icon`}):b.createElement(ze,{className:`${Jn}-item-link-icon`}),wt)),Ye=b.createElement("a",{className:`${Jn}-item-link`},b.createElement("div",{className:`${Jn}-item-container`},Ln==="rtl"?b.createElement(ze,{className:`${Jn}-item-link-icon`}):b.createElement(Be.Z,{className:`${Jn}-item-link-icon`}),wt));return{prevIcon:zt,nextIcon:Re,jumpPrevIcon:ht,jumpNextIcon:Ye}},[Ln,Jn]),Mn=dn("select",Wt),rn=yt()({[`${Jn}-${Ue}`]:!!Ue,[`${Jn}-mini`]:nr,[`${Jn}-rtl`]:Ln==="rtl",[`${Jn}-bordered`]:nn.wireframe},hr,Cn,cn,Jt,En),or=Object.assign(Object.assign({},vr),Xt);return dr(b.createElement(b.Fragment,null,nn.wireframe&&b.createElement(st,{prefixCls:Jn}),b.createElement(Ct,Object.assign({},$t,_e,{style:or,prefixCls:Jn,selectPrefixCls:Mn,className:rn,locale:xn,pageSizeOptions:Un,showSizeChanger:Sn,sizeChangerRender:Yn}))))},Tt=Pt},89787:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return mn}});var b=z(59301),xe=z(17835),de=z(29679),tt=z(40001),Oe=z(19248),be=z(99267),Fe=z(92310),ze=z.n(Fe),Be=z(2738),fe=z(48755),Ge=z(54476),Ce=z(33885),yt=z(75931),et={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},$e=function(){var Yt=(0,b.useRef)([]),gn=(0,b.useRef)(null);return(0,b.useEffect)(function(){var At=Date.now(),_e=!1;Yt.current.forEach(function(Vt){if(Vt){_e=!0;var nn=Vt.style;nn.transitionDuration=".3s, .3s, .3s, .06s",gn.current&&At-gn.current<100&&(nn.transitionDuration="0s, 0s")}}),_e&&(gn.current=Date.now())}),Yt.current},je=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ve=function(Yt){var gn=(0,Ce.Z)((0,Ce.Z)({},et),Yt),At=gn.className,_e=gn.percent,Vt=gn.prefixCls,nn=gn.strokeColor,dn=gn.strokeLinecap,Ln=gn.strokeWidth,Qn=gn.style,hr=gn.trailColor,vr=gn.trailWidth,Jn=gn.transition,dr=(0,yt.Z)(gn,je);delete dr.gapPosition;var Jt=Array.isArray(_e)?_e:[_e],En=Array.isArray(nn)?nn:[nn],qn=$e(),nr=Ln/2,jn=100-Ln/2,xn="M ".concat(dn==="round"?nr:0,",").concat(nr,`
|
|
|
L `).concat(dn==="round"?jn:100,",").concat(nr),ut="0 0 100 ".concat(Ln),qt=0;return b.createElement("svg",(0,Ge.Z)({className:ze()("".concat(Vt,"-line"),At),viewBox:ut,preserveAspectRatio:"none",style:Qn},dr),b.createElement("path",{className:"".concat(Vt,"-line-trail"),d:xn,strokeLinecap:dn,stroke:hr,strokeWidth:vr||Ln,fillOpacity:"0"}),Jt.map(function(Dt,sn){var Sn=1;switch(dn){case"round":Sn=1-Ln/100;break;case"square":Sn=1-Ln/2/100;break;default:Sn=1;break}var vn={strokeDasharray:"".concat(Dt*Sn,"px, 100px"),strokeDashoffset:"-".concat(qt,"px"),transition:Jn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Bn=En[sn]||En[En.length-1];return qt+=Dt,b.createElement("path",{key:sn,className:"".concat(Vt,"-line-path"),d:xn,strokeLinecap:dn,stroke:Bn,strokeWidth:Ln,fillOpacity:"0",ref:function(Yn){qn[sn]=Yn},style:vn})}))},rt=Ve,Nt=z(76190),Ut=z(42978),se=z(47273),Me=0,ft=(0,se.Z)();function mt(){var vt;return ft?(vt=Me,Me+=1):vt="TEST_OR_SSR",vt}var Zt=function(vt){var Yt=b.useState(),gn=(0,Ut.Z)(Yt,2),At=gn[0],_e=gn[1];return b.useEffect(function(){_e("rc_progress_".concat(mt()))},[]),vt||At},Je=function(Yt){var gn=Yt.bg,At=Yt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:gn}},At)};function at(vt,Yt){return Object.keys(vt).map(function(gn){var At=parseFloat(gn),_e="".concat(Math.floor(At*Yt),"%");return"".concat(vt[gn]," ").concat(_e)})}var dt=b.forwardRef(function(vt,Yt){var gn=vt.prefixCls,At=vt.color,_e=vt.gradientId,Vt=vt.radius,nn=vt.style,dn=vt.ptg,Ln=vt.strokeLinecap,Qn=vt.strokeWidth,hr=vt.size,vr=vt.gapDegree,Jn=At&&(0,Nt.Z)(At)==="object",dr=Jn?"#FFF":void 0,Jt=hr/2,En=b.createElement("circle",{className:"".concat(gn,"-circle-path"),r:Vt,cx:Jt,cy:Jt,stroke:dr,strokeLinecap:Ln,strokeWidth:Qn,opacity:dn===0?0:1,style:nn,ref:Yt});if(!Jn)return En;var qn="".concat(_e,"-conic"),nr=vr?"".concat(180+vr/2,"deg"):"0deg",jn=at(At,(360-vr)/360),xn=at(At,1),ut="conic-gradient(from ".concat(nr,", ").concat(jn.join(", "),")"),qt="linear-gradient(to ".concat(vr?"bottom":"top",", ").concat(xn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:qn},En),b.createElement("foreignObject",{x:0,y:0,width:hr,height:hr,mask:"url(#".concat(qn,")")},b.createElement(Je,{bg:qt},b.createElement(Je,{bg:ut}))))}),Pe=dt,Ze=100,Ee=function(Yt,gn,At,_e,Vt,nn,dn,Ln,Qn,hr){var vr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Jn=At/100*360*((360-nn)/360),dr=nn===0?0:{bottom:0,top:180,left:90,right:-90}[dn],Jt=(100-_e)/100*gn;Qn==="round"&&_e!==100&&(Jt+=hr/2,Jt>=gn&&(Jt=gn-.01));var En=Ze/2;return{stroke:typeof Ln=="string"?Ln:void 0,strokeDasharray:"".concat(gn,"px ").concat(Yt),strokeDashoffset:Jt+vr,transform:"rotate(".concat(Vt+Jn+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}},ue=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ct(vt){var Yt=vt!=null?vt:[];return Array.isArray(Yt)?Yt:[Yt]}var He=function(Yt){var gn=(0,Ce.Z)((0,Ce.Z)({},et),Yt),At=gn.id,_e=gn.prefixCls,Vt=gn.steps,nn=gn.strokeWidth,dn=gn.trailWidth,Ln=gn.gapDegree,Qn=Ln===void 0?0:Ln,hr=gn.gapPosition,vr=gn.trailColor,Jn=gn.strokeLinecap,dr=gn.style,Jt=gn.className,En=gn.strokeColor,qn=gn.percent,nr=(0,yt.Z)(gn,ue),jn=Ze/2,xn=Zt(At),ut="".concat(xn,"-gradient"),qt=jn-nn/2,Dt=Math.PI*2*qt,sn=Qn>0?90+Qn/2:-90,Sn=Dt*((360-Qn)/360),vn=(0,Nt.Z)(Vt)==="object"?Vt:{count:Vt,gap:2},Bn=vn.count,Un=vn.gap,Yn=Ct(qn),$t=Ct(En),Mn=$t.find(function(Ye){return Ye&&(0,Nt.Z)(Ye)==="object"}),rn=Mn&&(0,Nt.Z)(Mn)==="object",or=rn?"butt":Jn,wt=Ee(Dt,Sn,0,100,sn,Qn,hr,vr,or,nn),zt=$e(),Re=function(){var St=0;return Yn.map(function(_t,tr){var ar=$t[tr]||$t[$t.length-1],bt=Ee(Dt,Sn,St,_t,sn,Qn,hr,ar,or,nn);return St+=_t,b.createElement(Pe,{key:tr,color:ar,ptg:_t,radius:qt,prefixCls:_e,gradientId:ut,style:bt,strokeLinecap:or,strokeWidth:nn,gapDegree:Qn,ref:function(Ft){zt[tr]=Ft},size:Ze})}).reverse()},ht=function(){var St=Math.round(Bn*(Yn[0]/100)),_t=100/Bn,tr=0;return new Array(Bn).fill(null).map(function(ar,bt){var xt=bt<=St-1?$t[0]:vr,Ft=xt&&(0,Nt.Z)(xt)==="object"?"url(#".concat(ut,")"):void 0,Kt=Ee(Dt,Sn,tr,_t,sn,Qn,hr,xt,"butt",nn,Un);return tr+=(Sn-Kt.strokeDashoffset+Un)*100/Sn,b.createElement("circle",{key:bt,className:"".concat(_e,"-circle-path"),r:qt,cx:jn,cy:jn,stroke:Ft,strokeWidth:nn,opacity:1,style:Kt,ref:function(Tn){zt[bt]=Tn}})})};return b.createElement("svg",(0,Ge.Z)({className:ze()("".concat(_e,"-circle"),Jt),viewBox:"0 0 ".concat(Ze," ").concat(Ze),style:dr,id:At,role:"presentation"},nr),!Bn&&b.createElement("circle",{className:"".concat(_e,"-circle-trail"),r:qt,cx:jn,cy:jn,stroke:vr,strokeLinecap:or,strokeWidth:dn||nn,style:wt}),Bn?ht():Re())},We=He,kt={Line:rt,Circle:We},Ae=z(25399),ve=z(68361);function gt(vt){return!vt||vt<0?0:vt>100?100:vt}function Gt(vt){let{success:Yt,successPercent:gn}=vt,At=gn;return Yt&&"progress"in Yt&&(At=Yt.progress),Yt&&"percent"in Yt&&(At=Yt.percent),At}const Ht=vt=>{let{percent:Yt,success:gn,successPercent:At}=vt;const _e=gt(Gt({success:gn,successPercent:At}));return[_e,gt(gt(Yt)-_e)]},pe=vt=>{let{success:Yt={},strokeColor:gn}=vt;const{strokeColor:At}=Yt;return[At||ve.presetPrimaryColors.green,gn||null]},Te=(vt,Yt,gn)=>{var At,_e,Vt,nn;let dn=-1,Ln=-1;if(Yt==="step"){const Qn=gn.steps,hr=gn.strokeWidth;typeof vt=="string"||typeof vt=="undefined"?(dn=vt==="small"?2:14,Ln=hr!=null?hr:8):typeof vt=="number"?[dn,Ln]=[vt,vt]:[dn=14,Ln=8]=Array.isArray(vt)?vt:[vt.width,vt.height],dn*=Qn}else if(Yt==="line"){const Qn=gn==null?void 0:gn.strokeWidth;typeof vt=="string"||typeof vt=="undefined"?Ln=Qn||(vt==="small"?6:8):typeof vt=="number"?[dn,Ln]=[vt,vt]:[dn=-1,Ln=8]=Array.isArray(vt)?vt:[vt.width,vt.height]}else(Yt==="circle"||Yt==="dashboard")&&(typeof vt=="string"||typeof vt=="undefined"?[dn,Ln]=vt==="small"?[60,60]:[120,120]:typeof vt=="number"?[dn,Ln]=[vt,vt]:Array.isArray(vt)&&(dn=(_e=(At=vt[0])!==null&&At!==void 0?At:vt[1])!==null&&_e!==void 0?_e:120,Ln=(nn=(Vt=vt[0])!==null&&Vt!==void 0?Vt:vt[1])!==null&&nn!==void 0?nn:120));return[dn,Ln]},Ke=3,tn=vt=>Ke/vt*100;var jt=vt=>{const{prefixCls:Yt,trailColor:gn=null,strokeLinecap:At="round",gapPosition:_e,gapDegree:Vt,width:nn=120,type:dn,children:Ln,success:Qn,size:hr=nn,steps:vr}=vt,[Jn,dr]=Te(hr,"circle");let{strokeWidth:Jt}=vt;Jt===void 0&&(Jt=Math.max(tn(Jn),6));const En={width:Jn,height:dr,fontSize:Jn*.15+6},qn=b.useMemo(()=>{if(Vt||Vt===0)return Vt;if(dn==="dashboard")return 75},[Vt,dn]),nr=Ht(vt),jn=_e||dn==="dashboard"&&"bottom"||void 0,xn=Object.prototype.toString.call(vt.strokeColor)==="[object Object]",ut=pe({success:Qn,strokeColor:vt.strokeColor}),qt=ze()(`${Yt}-inner`,{[`${Yt}-circle-gradient`]:xn}),Dt=b.createElement(We,{steps:vr,percent:vr?nr[1]:nr,strokeWidth:Jt,trailWidth:Jt,strokeColor:vr?ut[1]:ut,strokeLinecap:At,trailColor:gn,prefixCls:Yt,gapDegree:qn,gapPosition:jn}),sn=Jn<=20,Sn=b.createElement("div",{className:qt,style:En},Dt,!sn&&Ln);return sn?b.createElement(Ae.Z,{title:Ln},Sn):Sn},ct=z(36237),ln=z(63356),Et=z(16931),le=z(51636);const ne="--progress-line-stroke-color",te="--progress-percent",ae=vt=>{const Yt=vt?"100%":"-100%";return new ct.Keyframes(`antProgress${vt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},he=vt=>{const{componentCls:Yt,iconCls:gn}=vt;return{[Yt]:Object.assign(Object.assign({},(0,ln.Wf)(vt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:vt.fontSize},[`${Yt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Yt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:vt.remainingColor,borderRadius:vt.lineBorderRadius},[`${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:vt.defaultColor}},[`${Yt}-success-bg, ${Yt}-bg`]:{position:"relative",background:vt.defaultColor,borderRadius:vt.lineBorderRadius,transition:`all ${vt.motionDurationSlow} ${vt.motionEaseInOutCirc}`},[`${Yt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Yt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:vt.marginXXS}},[`${Yt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ne})`]},height:"100%",width:`calc(1 / var(${te}) * 100%)`,display:"block"},[`&${Yt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Yt}-text-inner`]:{color:vt.colorWhite,[`&${Yt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Yt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:vt.colorSuccess},[`${Yt}-text`]:{display:"inline-block",marginInlineStart:vt.marginXS,color:vt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[gn]:{fontSize:vt.fontSize},[`&${Yt}-text-outer`]:{width:"max-content"},[`&${Yt}-text-outer${Yt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:vt.marginXS}},[`${Yt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,ct.unit)(vt.paddingXXS)}`,[`&${Yt}-text-start`]:{justifyContent:"start"},[`&${Yt}-text-end`]:{justifyContent:"end"}},[`&${Yt}-status-active`]:{[`${Yt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:vt.colorBgContainer,borderRadius:vt.lineBorderRadius,opacity:0,animationName:ae(),animationDuration:vt.progressActiveMotionDuration,animationTimingFunction:vt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Yt}-rtl${Yt}-status-active`]:{[`${Yt}-bg::before`]:{animationName:ae(!0)}},[`&${Yt}-status-exception`]:{[`${Yt}-bg`]:{backgroundColor:vt.colorError},[`${Yt}-text`]:{color:vt.colorError}},[`&${Yt}-status-exception ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:vt.colorError}},[`&${Yt}-status-success`]:{[`${Yt}-bg`]:{backgroundColor:vt.colorSuccess},[`${Yt}-text`]:{color:vt.colorSuccess}},[`&${Yt}-status-success ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:vt.colorSuccess}}})}},re=vt=>{const{componentCls:Yt,iconCls:gn}=vt;return{[Yt]:{[`${Yt}-circle-trail`]:{stroke:vt.remainingColor},[`&${Yt}-circle ${Yt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Yt}-circle ${Yt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:vt.circleTextColor,fontSize:vt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[gn]:{fontSize:vt.circleIconFontSize}},[`${Yt}-circle&-status-exception`]:{[`${Yt}-text`]:{color:vt.colorError}},[`${Yt}-circle&-status-success`]:{[`${Yt}-text`]:{color:vt.colorSuccess}}},[`${Yt}-inline-circle`]:{lineHeight:1,[`${Yt}-inner`]:{verticalAlign:"bottom"}}}},ce=vt=>{const{componentCls:Yt}=vt;return{[Yt]:{[`${Yt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:vt.progressStepMinWidth,marginInlineEnd:vt.progressStepMarginInlineEnd,backgroundColor:vt.remainingColor,transition:`all ${vt.motionDurationSlow}`,"&-active":{backgroundColor:vt.defaultColor}}}}}},De=vt=>{const{componentCls:Yt,iconCls:gn}=vt;return{[Yt]:{[`${Yt}-small&-line, ${Yt}-small&-line ${Yt}-text ${gn}`]:{fontSize:vt.fontSizeSM}}}},st=vt=>({circleTextColor:vt.colorText,defaultColor:vt.colorInfo,remainingColor:vt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${vt.fontSize/vt.fontSizeSM}em`});var Qe=(0,Et.I$)("Progress",vt=>{const Yt=vt.calc(vt.marginXXS).div(2).equal(),gn=(0,le.mergeToken)(vt,{progressStepMarginInlineEnd:Yt,progressStepMinWidth:Yt,progressActiveMotionDuration:"2.4s"});return[he(gn),re(gn),ce(gn),De(gn)]},st),Ie=function(vt,Yt){var gn={};for(var At in vt)Object.prototype.hasOwnProperty.call(vt,At)&&Yt.indexOf(At)<0&&(gn[At]=vt[At]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,At=Object.getOwnPropertySymbols(vt);_e<At.length;_e++)Yt.indexOf(At[_e])<0&&Object.prototype.propertyIsEnumerable.call(vt,At[_e])&&(gn[At[_e]]=vt[At[_e]]);return gn};const pt=vt=>{let Yt=[];return Object.keys(vt).forEach(gn=>{const At=parseFloat(gn.replace(/%/g,""));Number.isNaN(At)||Yt.push({key:At,value:vt[gn]})}),Yt=Yt.sort((gn,At)=>gn.key-At.key),Yt.map(gn=>{let{key:At,value:_e}=gn;return`${_e} ${At}%`}).join(", ")},Pt=(vt,Yt)=>{const{from:gn=ve.presetPrimaryColors.blue,to:At=ve.presetPrimaryColors.blue,direction:_e=Yt==="rtl"?"to left":"to right"}=vt,Vt=Ie(vt,["from","to","direction"]);if(Object.keys(Vt).length!==0){const dn=pt(Vt),Ln=`linear-gradient(${_e}, ${dn})`;return{background:Ln,[ne]:Ln}}const nn=`linear-gradient(${_e}, ${gn}, ${At})`;return{background:nn,[ne]:nn}};var Le=vt=>{const{prefixCls:Yt,direction:gn,percent:At,size:_e,strokeWidth:Vt,strokeColor:nn,strokeLinecap:dn="round",children:Ln,trailColor:Qn=null,percentPosition:hr,success:vr}=vt,{align:Jn,type:dr}=hr,Jt=nn&&typeof nn!="string"?Pt(nn,gn):{[ne]:nn,background:nn},En=dn==="square"||dn==="butt"?0:void 0,qn=_e!=null?_e:[-1,Vt||(_e==="small"?6:8)],[nr,jn]=Te(qn,"line",{strokeWidth:Vt}),xn={backgroundColor:Qn||void 0,borderRadius:En},ut=Object.assign(Object.assign({width:`${gt(At)}%`,height:jn,borderRadius:En},Jt),{[te]:gt(At)/100}),qt=Gt(vt),Dt={width:`${gt(qt)}%`,height:jn,borderRadius:En,backgroundColor:vr==null?void 0:vr.strokeColor},sn={width:nr<0?"100%":nr},Sn=b.createElement("div",{className:`${Yt}-inner`,style:xn},b.createElement("div",{className:ze()(`${Yt}-bg`,`${Yt}-bg-${dr}`),style:ut},dr==="inner"&&Ln),qt!==void 0&&b.createElement("div",{className:`${Yt}-success-bg`,style:Dt})),vn=dr==="outer"&&Jn==="start",Bn=dr==="outer"&&Jn==="end";return dr==="outer"&&Jn==="center"?b.createElement("div",{className:`${Yt}-layout-bottom`},Sn,Ln):b.createElement("div",{className:`${Yt}-outer`,style:sn},vn&&Ln,Sn,Bn&&Ln)},pn=vt=>{const{size:Yt,steps:gn,rounding:At=Math.round,percent:_e=0,strokeWidth:Vt=8,strokeColor:nn,trailColor:dn=null,prefixCls:Ln,children:Qn}=vt,hr=At(gn*(_e/100)),vr=Yt==="small"?2:14,Jn=Yt!=null?Yt:[vr,Vt],[dr,Jt]=Te(Jn,"step",{steps:gn,strokeWidth:Vt}),En=dr/gn,qn=Array.from({length:gn});for(let nr=0;nr<gn;nr++){const jn=Array.isArray(nn)?nn[nr]:nn;qn[nr]=b.createElement("div",{key:nr,className:ze()(`${Ln}-steps-item`,{[`${Ln}-steps-item-active`]:nr<=hr-1}),style:{backgroundColor:nr<=hr-1?jn:dn,width:En,height:Jt}})}return b.createElement("div",{className:`${Ln}-steps-outer`},qn,Qn)},Wt=function(vt,Yt){var gn={};for(var At in vt)Object.prototype.hasOwnProperty.call(vt,At)&&Yt.indexOf(At)<0&&(gn[At]=vt[At]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,At=Object.getOwnPropertySymbols(vt);_e<At.length;_e++)Yt.indexOf(At[_e])<0&&Object.prototype.propertyIsEnumerable.call(vt,At[_e])&&(gn[At[_e]]=vt[At[_e]]);return gn};const Cn=null,cn=["normal","exception","active","success"];var an=b.forwardRef((vt,Yt)=>{const{prefixCls:gn,className:At,rootClassName:_e,steps:Vt,strokeColor:nn,percent:dn=0,size:Ln="default",showInfo:Qn=!0,type:hr="line",status:vr,format:Jn,style:dr,percentPosition:Jt={}}=vt,En=Wt(vt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:qn="end",type:nr="outer"}=Jt,jn=Array.isArray(nn)?nn[0]:nn,xn=typeof nn=="string"||Array.isArray(nn)?nn:void 0,ut=b.useMemo(()=>{if(jn){const Re=typeof jn=="string"?jn:Object.values(jn)[0];return new xe.FastColor(Re).isLight()}return!1},[nn]),qt=b.useMemo(()=>{var Re,ht;const Ye=Gt(vt);return parseInt(Ye!==void 0?(Re=Ye!=null?Ye:0)===null||Re===void 0?void 0:Re.toString():(ht=dn!=null?dn:0)===null||ht===void 0?void 0:ht.toString(),10)},[dn,vt.success,vt.successPercent]),Dt=b.useMemo(()=>!cn.includes(vr)&&qt>=100?"success":vr||"normal",[vr,qt]),{getPrefixCls:sn,direction:Sn,progress:vn}=b.useContext(fe.E_),Bn=sn("progress",gn),[Un,Yn,$t]=Qe(Bn),Mn=hr==="line",rn=Mn&&!Vt,or=b.useMemo(()=>{if(!Qn)return null;const Re=Gt(vt);let ht;const Ye=Jn||(_t=>`${_t}%`),St=Mn&&ut&&nr==="inner";return nr==="inner"||Jn||Dt!=="exception"&&Dt!=="success"?ht=Ye(gt(dn),gt(Re)):Dt==="exception"?ht=Mn?b.createElement(Oe.Z,null):b.createElement(be.Z,null):Dt==="success"&&(ht=Mn?b.createElement(de.Z,null):b.createElement(tt.Z,null)),b.createElement("span",{className:ze()(`${Bn}-text`,{[`${Bn}-text-bright`]:St,[`${Bn}-text-${qn}`]:rn,[`${Bn}-text-${nr}`]:rn}),title:typeof ht=="string"?ht:void 0},ht)},[Qn,dn,qt,Dt,hr,Bn,Jn]);let wt;hr==="line"?wt=Vt?b.createElement(pn,Object.assign({},vt,{strokeColor:xn,prefixCls:Bn,steps:typeof Vt=="object"?Vt.count:Vt}),or):b.createElement(Le,Object.assign({},vt,{strokeColor:jn,prefixCls:Bn,direction:Sn,percentPosition:{align:qn,type:nr}}),or):(hr==="circle"||hr==="dashboard")&&(wt=b.createElement(jt,Object.assign({},vt,{strokeColor:jn,prefixCls:Bn,progressStatus:Dt}),or));const zt=ze()(Bn,`${Bn}-status-${Dt}`,{[`${Bn}-${hr==="dashboard"&&"circle"||hr}`]:hr!=="line",[`${Bn}-inline-circle`]:hr==="circle"&&Te(Ln,"circle")[0]<=20,[`${Bn}-line`]:rn,[`${Bn}-line-align-${qn}`]:rn,[`${Bn}-line-position-${nr}`]:rn,[`${Bn}-steps`]:Vt,[`${Bn}-show-info`]:Qn,[`${Bn}-${Ln}`]:typeof Ln=="string",[`${Bn}-rtl`]:Sn==="rtl"},vn==null?void 0:vn.className,At,_e,Yn,$t);return Un(b.createElement("div",Object.assign({ref:Yt,style:Object.assign(Object.assign({},vn==null?void 0:vn.style),dr),className:zt,role:"progressbar","aria-valuenow":qt,"aria-valuemin":0,"aria-valuemax":100},(0,Be.Z)(En,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),wt))}),mn=an},63139:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ht}});var b=z(59301),xe=z(54476),de={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"},tt=de,Oe=z(7657),be=function(Te,Ke){return b.createElement(Oe.Z,(0,xe.Z)({},Te,{ref:Ke,icon:tt}))},Fe=b.forwardRef(be),ze=Fe,Be=z(92310),fe=z.n(Be),Ge=z(20068),Ce=z(42978),yt=z(75931),et=z(18929),$e=z(10228),je=z(26112);function Ve(pe,Te){var Ke=pe.disabled,tn=pe.prefixCls,lt=pe.character,jt=pe.characterRender,ct=pe.index,ln=pe.count,Et=pe.value,le=pe.allowHalf,ne=pe.focused,te=pe.onHover,ae=pe.onClick,he=function(Pt){te(Pt,ct)},re=function(Pt){ae(Pt,ct)},ce=function(Pt){Pt.keyCode===$e.Z.ENTER&&ae(Pt,ct)},De=ct+1,st=new Set([tn]);Et===0&&ct===0&&ne?st.add("".concat(tn,"-focused")):le&&Et+.5>=De&&Et<De?(st.add("".concat(tn,"-half")),st.add("".concat(tn,"-active")),ne&&st.add("".concat(tn,"-focused"))):(De<=Et?st.add("".concat(tn,"-full")):st.add("".concat(tn,"-zero")),De===Et&&ne&&st.add("".concat(tn,"-focused")));var Qe=typeof lt=="function"?lt(pe):lt,Ie=b.createElement("li",{className:fe()(Array.from(st)),ref:Te},b.createElement("div",{onClick:Ke?null:re,onKeyDown:Ke?null:ce,onMouseMove:Ke?null:he,role:"radio","aria-checked":Et>ct?"true":"false","aria-posinset":ct+1,"aria-setsize":ln,tabIndex:Ke?-1:0},b.createElement("div",{className:"".concat(tn,"-first")},Qe),b.createElement("div",{className:"".concat(tn,"-second")},Qe)));return jt&&(Ie=jt(Ie,pe)),Ie}var rt=b.forwardRef(Ve);function Nt(){var pe=b.useRef({});function Te(tn){return pe.current[tn]}function Ke(tn){return function(lt){pe.current[tn]=lt}}return[Te,Ke]}function Ut(pe){var Te=pe.pageXOffset,Ke="scrollLeft";if(typeof Te!="number"){var tn=pe.document;Te=tn.documentElement[Ke],typeof Te!="number"&&(Te=tn.body[Ke])}return Te}function se(pe){var Te,Ke,tn=pe.ownerDocument,lt=tn.body,jt=tn&&tn.documentElement,ct=pe.getBoundingClientRect();return Te=ct.left,Ke=ct.top,Te-=jt.clientLeft||lt.clientLeft||0,Ke-=jt.clientTop||lt.clientTop||0,{left:Te,top:Ke}}function Me(pe){var Te=se(pe),Ke=pe.ownerDocument,tn=Ke.defaultView||Ke.parentWindow;return Te.left+=Ut(tn),Te.left}var ft=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function mt(pe,Te){var Ke=pe.prefixCls,tn=Ke===void 0?"rc-rate":Ke,lt=pe.className,jt=pe.defaultValue,ct=pe.value,ln=pe.count,Et=ln===void 0?5:ln,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,ce=pe.character,De=ce===void 0?"\u2605":ce,st=pe.characterRender,Qe=pe.disabled,Ie=pe.direction,pt=Ie===void 0?"ltr":Ie,Pt=pe.tabIndex,Tt=Pt===void 0?0:Pt,Le=pe.autoFocus,Ue=pe.onHoverChange,pn=pe.onChange,Wt=pe.onFocus,Cn=pe.onBlur,cn=pe.onKeyDown,Xt=pe.onMouseLeave,an=(0,yt.Z)(pe,ft),mn=Nt(),vt=(0,Ce.Z)(mn,2),Yt=vt[0],gn=vt[1],At=b.useRef(null),_e=function(){if(!Qe){var or;(or=At.current)===null||or===void 0||or.focus()}};b.useImperativeHandle(Te,function(){return{focus:_e,blur:function(){if(!Qe){var or;(or=At.current)===null||or===void 0||or.blur()}}}});var Vt=(0,et.Z)(jt||0,{value:ct}),nn=(0,Ce.Z)(Vt,2),dn=nn[0],Ln=nn[1],Qn=(0,et.Z)(null),hr=(0,Ce.Z)(Qn,2),vr=hr[0],Jn=hr[1],dr=function(or,wt){var zt=pt==="rtl",Re=or+1;if(ne){var ht=Yt(or),Ye=Me(ht),St=ht.clientWidth;(zt&&wt-Ye>St/2||!zt&&wt-Ye<St/2)&&(Re-=.5)}return Re},Jt=function(or){Ln(or),pn==null||pn(or)},En=b.useState(!1),qn=(0,Ce.Z)(En,2),nr=qn[0],jn=qn[1],xn=function(){jn(!0),Wt==null||Wt()},ut=function(){jn(!1),Cn==null||Cn()},qt=b.useState(null),Dt=(0,Ce.Z)(qt,2),sn=Dt[0],Sn=Dt[1],vn=function(or,wt){var zt=dr(wt,or.pageX);zt!==vr&&(Sn(zt),Jn(null)),Ue==null||Ue(zt)},Bn=function(or){Qe||(Sn(null),Jn(null),Ue==null||Ue(void 0)),or&&(Xt==null||Xt(or))},Un=function(or,wt){var zt=dr(wt,or.pageX),Re=!1;ae&&(Re=zt===dn),Bn(),Jt(Re?0:zt),Jn(Re?zt:null)},Yn=function(or){var wt=or.keyCode,zt=pt==="rtl",Re=ne?.5:1;re&&(wt===$e.Z.RIGHT&&dn<Et&&!zt?(Jt(dn+Re),or.preventDefault()):wt===$e.Z.LEFT&&dn>0&&!zt||wt===$e.Z.RIGHT&&dn>0&&zt?(Jt(dn-Re),or.preventDefault()):wt===$e.Z.LEFT&&dn<Et&&zt&&(Jt(dn+Re),or.preventDefault())),cn==null||cn(or)};b.useEffect(function(){Le&&!Qe&&_e()},[]);var $t=new Array(Et).fill(0).map(function(rn,or){return b.createElement(rt,{ref:gn(or),index:or,count:Et,disabled:Qe,prefixCls:"".concat(tn,"-star"),allowHalf:ne,value:sn===null?dn:sn,onClick:Un,onHover:vn,key:rn||or,character:De,characterRender:st,focused:nr})}),Mn=fe()(tn,lt,(0,Ge.Z)((0,Ge.Z)({},"".concat(tn,"-disabled"),Qe),"".concat(tn,"-rtl"),pt==="rtl"));return b.createElement("ul",(0,xe.Z)({className:Mn,onMouseLeave:Bn,tabIndex:Qe?-1:Tt,onFocus:Qe?null:xn,onBlur:Qe?null:ut,onKeyDown:Qe?null:Yn,ref:At},(0,je.Z)(an,{aria:!0,data:!0,attr:!0})),$t)}var Zt=b.forwardRef(mt),Je=Zt,at=z(48755),dt=z(25399),Pe=z(36237),Ze=z(63356),Ee=z(16931),ue=z(51636);const Ct=pe=>{const{componentCls:Te}=pe;return{[`${Te}-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 ${Te}-star-first, &-half ${Te}-star-second`]:{opacity:1},[`&-half ${Te}-star-first, &-full ${Te}-star-second`]:{color:"inherit"}}}},He=pe=>({[`&-rtl${pe.componentCls}`]:{direction:"rtl"}}),We=pe=>{const{componentCls:Te}=pe;return{[Te]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(pe)),{display:"inline-block",margin:0,padding:0,color:pe.starColor,fontSize:pe.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Te} ${Te}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ct(pe)),He(pe))}},kt=pe=>({starColor:pe.yellow6,starSize:pe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:pe.colorFillContent});var Ae=(0,Ee.I$)("Rate",pe=>{const Te=(0,ue.mergeToken)(pe,{});return[We(Te)]},kt),ve=z(2171),gt=function(pe,Te){var Ke={};for(var tn in pe)Object.prototype.hasOwnProperty.call(pe,tn)&&Te.indexOf(tn)<0&&(Ke[tn]=pe[tn]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,tn=Object.getOwnPropertySymbols(pe);lt<tn.length;lt++)Te.indexOf(tn[lt])<0&&Object.prototype.propertyIsEnumerable.call(pe,tn[lt])&&(Ke[tn[lt]]=pe[tn[lt]]);return Ke},Ht=b.forwardRef((pe,Te)=>{const{prefixCls:Ke,className:tn,rootClassName:lt,style:jt,tooltips:ct,character:ln=b.createElement(ze,null),disabled:Et}=pe,le=gt(pe,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ne=(Pt,Tt)=>{let{index:Le}=Tt;return ct?b.createElement(dt.Z,{title:ct[Le]},Pt):Pt},{getPrefixCls:te,direction:ae,rate:he}=b.useContext(at.E_),re=te("rate",Ke),[ce,De,st]=Ae(re),Qe=Object.assign(Object.assign({},he==null?void 0:he.style),jt),Ie=b.useContext(ve.Z),pt=Et!=null?Et:Ie;return ce(b.createElement(Je,Object.assign({ref:Te,character:ln,characterRender:ne,disabled:pt},le,{className:fe()(tn,lt,De,st,he==null?void 0:he.className),style:Qe,prefixCls:re,direction:ae})))})},82326:function(Vn,hn,z){"use strict";var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(37463),Oe=z(2738),be=z(75030),Fe=z(86641),ze=z(45915),Be=z(82855),fe=z(48755),Ge=z(38406),Ce=z(2171),yt=z(83397),et=z(31756),$e=z(56553),je=z(24971),Ve=z(70045),rt=z(57700),Nt=z(1722),Ut=z(90376),se=z(68525),Me=z(90005),ft=function(dt,Pe){var Ze={};for(var Ee in dt)Object.prototype.hasOwnProperty.call(dt,Ee)&&Pe.indexOf(Ee)<0&&(Ze[Ee]=dt[Ee]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Ee=Object.getOwnPropertySymbols(dt);ue<Ee.length;ue++)Pe.indexOf(Ee[ue])<0&&Object.prototype.propertyIsEnumerable.call(dt,Ee[ue])&&(Ze[Ee[ue]]=dt[Ee[ue]]);return Ze};const mt="SECRET_COMBOBOX_MODE_DO_NOT_USE",Zt=(dt,Pe)=>{var Ze;const{prefixCls:Ee,bordered:ue,className:Ct,rootClassName:He,getPopupContainer:We,popupClassName:kt,dropdownClassName:Ae,listHeight:ve=256,placement:gt,listItemHeight:Gt,size:Ht,disabled:pe,notFoundContent:Te,status:Ke,builtinPlacements:tn,dropdownMatchSelectWidth:lt,popupMatchSelectWidth:jt,direction:ct,style:ln,allowClear:Et,variant:le,dropdownStyle:ne,transitionName:te,tagRender:ae,maxCount:he,prefix:re}=dt,ce=ft(dt,["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:pt,popupMatchSelectWidth:Pt,popupOverflow:Tt}=b.useContext(fe.E_),Le=(0,fe.dj)("select"),[,Ue]=(0,rt.ZP)(),pn=Gt!=null?Gt:Ue==null?void 0:Ue.controlHeight,Wt=st("select",Ee),Cn=st(),cn=ct!=null?ct:Ie,{compactSize:Xt,compactItemClassnames:an}=(0,Ve.ri)(Wt,cn),[mn,vt]=(0,je.Z)("select",le,ue),Yt=(0,yt.Z)(Wt),[gn,At,_e]=(0,Ut.Z)(Wt,Yt),Vt=b.useMemo(()=>{const{mode:Yn}=dt;if(Yn!=="combobox")return Yn===mt?"combobox":Yn},[dt.mode]),nn=Vt==="multiple"||Vt==="tags",dn=(0,Me.Z)(dt.suffixIcon,dt.showArrow),Ln=(Ze=jt!=null?jt:lt)!==null&&Ze!==void 0?Ze:Pt,{status:Qn,hasFeedback:hr,isFormItemInput:vr,feedbackIcon:Jn}=b.useContext($e.aM),dr=(0,Be.F)(Qn,Ke);let Jt;Te!==void 0?Jt=Te:Vt==="combobox"?Jt=null:Jt=(Qe==null?void 0:Qe("Select"))||b.createElement(Ge.Z,{componentName:"Select"});const{suffixIcon:En,itemIcon:qn,removeIcon:nr,clearIcon:jn}=(0,se.Z)(Object.assign(Object.assign({},ce),{multiple:nn,hasFeedback:hr,feedbackIcon:Jn,showSuffixIcon:dn,prefixCls:Wt,componentName:"Select"})),xn=Et===!0?{clearIcon:jn}:Et,ut=(0,Oe.Z)(ce,["suffixIcon","itemIcon"]),qt=de()(kt||Ae,{[`${Wt}-dropdown-${cn}`]:cn==="rtl"},He,_e,Yt,At),Dt=(0,et.Z)(Yn=>{var $t;return($t=Ht!=null?Ht:Xt)!==null&&$t!==void 0?$t:Yn}),sn=b.useContext(Ce.Z),Sn=pe!=null?pe:sn,vn=de()({[`${Wt}-lg`]:Dt==="large",[`${Wt}-sm`]:Dt==="small",[`${Wt}-rtl`]:cn==="rtl",[`${Wt}-${mn}`]:vt,[`${Wt}-in-form-item`]:vr},(0,Be.Z)(Wt,dr,hr),an,Le.className,Ct,He,_e,Yt,At),Bn=b.useMemo(()=>gt!==void 0?gt:cn==="rtl"?"bottomRight":"bottomLeft",[gt,cn]),[Un]=(0,be.Cn)("SelectLike",ne==null?void 0:ne.zIndex);return gn(b.createElement(tt.ZP,Object.assign({ref:Pe,virtual:pt,showSearch:Le.showSearch},ut,{style:Object.assign(Object.assign({},Le.style),ln),dropdownMatchSelectWidth:Ln,transitionName:(0,Fe.m)(Cn,"slide-up",te),builtinPlacements:(0,Nt.Z)(tn,Tt),listHeight:ve,listItemHeight:pn,mode:Vt,prefixCls:Wt,placement:Bn,direction:cn,prefix:re,suffixIcon:En,menuItemSelectedIcon:qn,removeIcon:nr,allowClear:xn,notFoundContent:Jt,className:vn,getPopupContainer:We||De,dropdownClassName:qt,disabled:Sn,dropdownStyle:Object.assign(Object.assign({},ne),{zIndex:Un}),maxCount:nn?he:void 0,tagRender:nn?ae:void 0})))},Je=b.forwardRef(Zt),at=(0,ze.Z)(Je,"dropdownAlign");Je.SECRET_COMBOBOX_MODE_DO_NOT_USE=mt,Je.Option=tt.Wx,Je.OptGroup=tt.Xo,Je._InternalPanelDoNotUseOrYouWillBeFired=at,hn.default=Je},1722:function(Vn,hn){"use strict";const z=xe=>{const tt={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:xe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},tt),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},tt),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},tt),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},tt),{points:["br","tr"],offset:[0,-4]})}};function b(xe,de){return xe||z(de)}hn.Z=b},90376:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ee}});var b=z(63356),xe=z(56119),de=z(16931),tt=z(51636),Oe=z(46e3),be=z(93873);const Fe=ue=>{const{optionHeight:Ct,optionFontSize:He,optionLineHeight:We,optionPadding:kt}=ue;return{position:"relative",display:"block",minHeight:Ct,padding:kt,color:ue.colorText,fontWeight:"normal",fontSize:He,lineHeight:We,boxSizing:"border-box"}};var Be=ue=>{const{antCls:Ct,componentCls:He}=ue,We=`${He}-item`,kt=`&${Ct}-slide-up-enter${Ct}-slide-up-enter-active`,Ae=`&${Ct}-slide-up-appear${Ct}-slide-up-appear-active`,ve=`&${Ct}-slide-up-leave${Ct}-slide-up-leave-active`,gt=`${He}-dropdown-placement-`,Gt=`${We}-option-selected`;return[{[`${He}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(ue)),{position:"absolute",top:-9999,zIndex:ue.zIndexPopup,boxSizing:"border-box",padding:ue.paddingXXS,overflow:"hidden",fontSize:ue.fontSize,fontVariant:"initial",backgroundColor:ue.colorBgElevated,borderRadius:ue.borderRadiusLG,outline:"none",boxShadow:ue.boxShadowSecondary,[`
|
|
|
${kt}${gt}bottomLeft,
|
|
|
${Ae}${gt}bottomLeft
|
|
|
`]:{animationName:Oe.fJ},[`
|
|
|
${kt}${gt}topLeft,
|
|
|
${Ae}${gt}topLeft,
|
|
|
${kt}${gt}topRight,
|
|
|
${Ae}${gt}topRight
|
|
|
`]:{animationName:Oe.Qt},[`${ve}${gt}bottomLeft`]:{animationName:Oe.Uw},[`
|
|
|
${ve}${gt}topLeft,
|
|
|
${ve}${gt}topRight
|
|
|
`]:{animationName:Oe.ly},"&-hidden":{display:"none"},[We]:Object.assign(Object.assign({},Fe(ue)),{cursor:"pointer",transition:`background ${ue.motionDurationSlow} ease`,borderRadius:ue.borderRadiusSM,"&-group":{color:ue.colorTextDescription,fontSize:ue.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${We}-option-disabled)`]:{backgroundColor:ue.optionActiveBg},[`&-selected:not(${We}-option-disabled)`]:{color:ue.optionSelectedColor,fontWeight:ue.optionSelectedFontWeight,backgroundColor:ue.optionSelectedBg,[`${We}-option-state`]:{color:ue.colorPrimary}},"&-disabled":{[`&${We}-option-selected`]:{backgroundColor:ue.colorBgContainerDisabled},color:ue.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ue.calc(ue.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Fe(ue)),{color:ue.colorTextDisabled})}),[`${Gt}:has(+ ${Gt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Gt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Oe.oN)(ue,"slide-up"),(0,Oe.oN)(ue,"slide-down"),(0,be.Fm)(ue,"move-up"),(0,be.Fm)(ue,"move-down")]},fe=z(26743),Ge=z(36237);function Ce(ue,Ct){const{componentCls:He,inputPaddingHorizontalBase:We,borderRadius:kt}=ue,Ae=ue.calc(ue.controlHeight).sub(ue.calc(ue.lineWidth).mul(2)).equal(),ve=Ct?`${He}-${Ct}`:"";return{[`${He}-single${ve}`]:{fontSize:ue.fontSize,height:ue.controlHeight,[`${He}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(ue,!0)),{display:"flex",borderRadius:kt,flex:"1 1 auto",[`${He}-selection-wrap:after`]:{lineHeight:(0,Ge.unit)(Ae)},[`${He}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${He}-selection-item,
|
|
|
${He}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,Ge.unit)(Ae),transition:`all ${ue.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${He}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${He}-selection-item:empty:after`,`${He}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${He}-show-arrow ${He}-selection-item,
|
|
|
&${He}-show-arrow ${He}-selection-search,
|
|
|
&${He}-show-arrow ${He}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ue.showArrowPaddingInlineEnd},[`&${He}-open ${He}-selection-item`]:{color:ue.colorTextPlaceholder},[`&:not(${He}-customize-input)`]:{[`${He}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ge.unit)(We)}`,[`${He}-selection-search-input`]:{height:Ae,fontSize:ue.fontSize},"&:after":{lineHeight:(0,Ge.unit)(Ae)}}},[`&${He}-customize-input`]:{[`${He}-selector`]:{"&:after":{display:"none"},[`${He}-selection-search`]:{position:"static",width:"100%"},[`${He}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ge.unit)(We)}`,"&:after":{display:"none"}}}}}}}function yt(ue){const{componentCls:Ct}=ue,He=ue.calc(ue.controlPaddingHorizontalSM).sub(ue.lineWidth).equal();return[Ce(ue),Ce((0,tt.mergeToken)(ue,{controlHeight:ue.controlHeightSM,borderRadius:ue.borderRadiusSM}),"sm"),{[`${Ct}-single${Ct}-sm`]:{[`&:not(${Ct}-customize-input)`]:{[`${Ct}-selector`]:{padding:`0 ${(0,Ge.unit)(He)}`},[`&${Ct}-show-arrow ${Ct}-selection-search`]:{insetInlineEnd:ue.calc(He).add(ue.calc(ue.fontSize).mul(1.5)).equal()},[`
|
|
|
&${Ct}-show-arrow ${Ct}-selection-item,
|
|
|
&${Ct}-show-arrow ${Ct}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ue.calc(ue.fontSize).mul(1.5).equal()}}}},Ce((0,tt.mergeToken)(ue,{controlHeight:ue.singleItemHeightLG,fontSize:ue.fontSizeLG,borderRadius:ue.borderRadiusLG}),"lg")]}const et=ue=>{const{fontSize:Ct,lineHeight:He,lineWidth:We,controlHeight:kt,controlHeightSM:Ae,controlHeightLG:ve,paddingXXS:gt,controlPaddingHorizontal:Gt,zIndexPopupBase:Ht,colorText:pe,fontWeightStrong:Te,controlItemBgActive:Ke,controlItemBgHover:tn,colorBgContainer:lt,colorFillSecondary:jt,colorBgContainerDisabled:ct,colorTextDisabled:ln,colorPrimaryHover:Et,colorPrimary:le,controlOutline:ne}=ue,te=gt*2,ae=We*2,he=Math.min(kt-te,kt-ae),re=Math.min(Ae-te,Ae-ae),ce=Math.min(ve-te,ve-ae);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(gt/2),zIndexPopup:Ht+50,optionSelectedColor:pe,optionSelectedFontWeight:Te,optionSelectedBg:Ke,optionActiveBg:tn,optionPadding:`${(kt-Ct*He)/2}px ${Gt}px`,optionFontSize:Ct,optionLineHeight:He,optionHeight:kt,selectorBg:lt,clearBg:lt,singleItemHeightLG:ve,multipleItemBg:jt,multipleItemBorderColor:"transparent",multipleItemHeight:he,multipleItemHeightSM:re,multipleItemHeightLG:ce,multipleSelectorBgDisabled:ct,multipleItemColorDisabled:ln,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(ue.fontSize*1.25),hoverBorderColor:Et,activeBorderColor:le,activeOutlineColor:ne,selectAffixPadding:gt}},$e=(ue,Ct)=>{const{componentCls:He,antCls:We,controlOutlineWidth:kt}=ue;return{[`&:not(${He}-customize-input) ${He}-selector`]:{border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${Ct.borderColor}`,background:ue.selectorBg},[`&:not(${He}-disabled):not(${He}-customize-input):not(${We}-pagination-size-changer)`]:{[`&:hover ${He}-selector`]:{borderColor:Ct.hoverBorderHover},[`${He}-focused& ${He}-selector`]:{borderColor:Ct.activeBorderColor,boxShadow:`0 0 0 ${(0,Ge.unit)(kt)} ${Ct.activeOutlineColor}`,outline:0},[`${He}-prefix`]:{color:Ct.color}}}},je=(ue,Ct)=>({[`&${ue.componentCls}-status-${Ct.status}`]:Object.assign({},$e(ue,Ct))}),Ve=ue=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},$e(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),je(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),je(ue,{status:"warning",borderColor:ue.colorWarning,hoverBorderHover:ue.colorWarningHover,activeBorderColor:ue.colorWarning,activeOutlineColor:ue.colorWarningOutline,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{background:ue.colorBgContainerDisabled,color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})}),rt=(ue,Ct)=>{const{componentCls:He,antCls:We}=ue;return{[`&:not(${He}-customize-input) ${He}-selector`]:{background:Ct.bg,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} transparent`,color:Ct.color},[`&:not(${He}-disabled):not(${He}-customize-input):not(${We}-pagination-size-changer)`]:{[`&:hover ${He}-selector`]:{background:Ct.hoverBg},[`${He}-focused& ${He}-selector`]:{background:ue.selectorBg,borderColor:Ct.activeBorderColor,outline:0}}}},Nt=(ue,Ct)=>({[`&${ue.componentCls}-status-${Ct.status}`]:Object.assign({},rt(ue,Ct))}),Ut=ue=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},rt(ue,{bg:ue.colorFillTertiary,hoverBg:ue.colorFillSecondary,activeBorderColor:ue.activeBorderColor,color:ue.colorText})),Nt(ue,{status:"error",bg:ue.colorErrorBg,hoverBg:ue.colorErrorBgHover,activeBorderColor:ue.colorError,color:ue.colorError})),Nt(ue,{status:"warning",bg:ue.colorWarningBg,hoverBg:ue.colorWarningBgHover,activeBorderColor:ue.colorWarning,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{borderColor:ue.colorBorder,background:ue.colorBgContainerDisabled,color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.colorBgContainer,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorSplit}`}})}),se=ue=>({"&-borderless":{[`${ue.componentCls}-selector`]:{background:"transparent",border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} transparent`},[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`},[`&${ue.componentCls}-status-error`]:{[`${ue.componentCls}-prefix, ${ue.componentCls}-selection-item`]:{color:ue.colorError}},[`&${ue.componentCls}-status-warning`]:{[`${ue.componentCls}-prefix, ${ue.componentCls}-selection-item`]:{color:ue.colorWarning}}}}),Me=(ue,Ct)=>{const{componentCls:He,antCls:We}=ue;return{[`&:not(${He}-customize-input) ${He}-selector`]:{borderWidth:`0 0 ${(0,Ge.unit)(ue.lineWidth)} 0`,borderStyle:`none none ${ue.lineType} none`,borderColor:Ct.borderColor,background:ue.selectorBg,borderRadius:0},[`&:not(${He}-disabled):not(${He}-customize-input):not(${We}-pagination-size-changer)`]:{[`&:hover ${He}-selector`]:{borderColor:Ct.hoverBorderHover},[`${He}-focused& ${He}-selector`]:{borderColor:Ct.activeBorderColor,outline:0},[`${He}-prefix`]:{color:Ct.color}}}},ft=(ue,Ct)=>({[`&${ue.componentCls}-status-${Ct.status}`]:Object.assign({},Me(ue,Ct))}),mt=ue=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Me(ue,{borderColor:ue.colorBorder,hoverBorderHover:ue.hoverBorderColor,activeBorderColor:ue.activeBorderColor,activeOutlineColor:ue.activeOutlineColor,color:ue.colorText})),ft(ue,{status:"error",borderColor:ue.colorError,hoverBorderHover:ue.colorErrorHover,activeBorderColor:ue.colorError,activeOutlineColor:ue.colorErrorOutline,color:ue.colorError})),ft(ue,{status:"warning",borderColor:ue.colorWarning,hoverBorderHover:ue.colorWarningHover,activeBorderColor:ue.colorWarning,activeOutlineColor:ue.colorWarningOutline,color:ue.colorWarning})),{[`&${ue.componentCls}-disabled`]:{[`&:not(${ue.componentCls}-customize-input) ${ue.componentCls}-selector`]:{color:ue.colorTextDisabled}},[`&${ue.componentCls}-multiple ${ue.componentCls}-selection-item`]:{background:ue.multipleItemBg,border:`${(0,Ge.unit)(ue.lineWidth)} ${ue.lineType} ${ue.multipleItemBorderColor}`}})});var Je=ue=>({[ue.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Ve(ue)),Ut(ue)),se(ue)),mt(ue))});const at=ue=>{const{componentCls:Ct}=ue;return{position:"relative",transition:`all ${ue.motionDurationMid} ${ue.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ct}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ct}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},dt=ue=>{const{componentCls:Ct}=ue;return{[`${Ct}-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=ue=>{const{antCls:Ct,componentCls:He,inputPaddingHorizontalBase:We,iconCls:kt}=ue;return{[He]:Object.assign(Object.assign({},(0,b.Wf)(ue)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${He}-customize-input) ${He}-selector`]:Object.assign(Object.assign({},at(ue)),dt(ue)),[`${He}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${Ct}-typography`]:{display:"inline"}}),[`${He}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:ue.colorTextPlaceholder,pointerEvents:"none"}),[`${He}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:We,height:ue.fontSizeIcon,marginTop:ue.calc(ue.fontSizeIcon).mul(-1).div(2).equal(),color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${ue.motionDurationSlow} ease`,[kt]:{verticalAlign:"top",transition:`transform ${ue.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${He}-suffix)`]:{pointerEvents:"auto"}},[`${He}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${He}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${He}-prefix`]:{flex:"none",marginInlineEnd:ue.selectAffixPadding},[`${He}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:We,zIndex:1,display:"inline-block",width:ue.fontSizeIcon,height:ue.fontSizeIcon,marginTop:ue.calc(ue.fontSizeIcon).mul(-1).div(2).equal(),color:ue.colorTextQuaternary,fontSize:ue.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${ue.motionDurationMid} ease, opacity ${ue.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ue.colorTextTertiary}},[`&:hover ${He}-clear`]:{opacity:1,background:ue.colorBgBase,borderRadius:"50%"}}),[`${He}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${He}-has-feedback`]:{[`${He}-clear`]:{insetInlineEnd:ue.calc(We).add(ue.fontSize).add(ue.paddingXS).equal()}}}}}},Ze=ue=>{const{componentCls:Ct}=ue;return[{[Ct]:{[`&${Ct}-in-form-item`]:{width:"100%"}}},Pe(ue),yt(ue),(0,fe.ZP)(ue),Be(ue),{[`${Ct}-rtl`]:{direction:"rtl"}},(0,xe.c)(ue,{borderElCls:`${Ct}-selector`,focusElCls:`${Ct}-focused`})]};var Ee=(0,de.I$)("Select",(ue,Ct)=>{let{rootPrefixCls:He}=Ct;const We=(0,tt.mergeToken)(ue,{rootPrefixCls:He,inputPaddingHorizontalBase:ue.calc(ue.paddingSM).sub(1).equal(),multipleSelectItemHeight:ue.multipleItemHeight,selectHeight:ue.controlHeight});return[Ze(We),Je(We)]},et,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Vn,hn,z){"use strict";z.d(hn,{_z:function(){return be},gp:function(){return tt}});var b=z(36237),xe=z(63356),de=z(51636);const tt=fe=>{const{multipleSelectItemHeight:Ge,paddingXXS:Ce,lineWidth:yt,INTERNAL_FIXED_ITEM_MARGIN:et}=fe,$e=fe.max(fe.calc(Ce).sub(yt).equal(),0),je=fe.max(fe.calc($e).sub(et).equal(),0);return{basePadding:$e,containerPadding:je,itemHeight:(0,b.unit)(Ge),itemLineHeight:(0,b.unit)(fe.calc(Ge).sub(fe.calc(fe.lineWidth).mul(2)).equal())}},Oe=fe=>{const{multipleSelectItemHeight:Ge,selectHeight:Ce,lineWidth:yt}=fe;return fe.calc(Ce).sub(Ge).div(2).sub(yt).equal()},be=fe=>{const{componentCls:Ge,iconCls:Ce,borderRadiusSM:yt,motionDurationSlow:et,paddingXS:$e,multipleItemColorDisabled:je,multipleItemBorderColorDisabled:Ve,colorIcon:rt,colorIconHover:Nt,INTERNAL_FIXED_ITEM_MARGIN:Ut}=fe;return{[`${Ge}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ge}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ut,borderRadius:yt,cursor:"default",transition:`font-size ${et}, line-height ${et}, height ${et}`,marginInlineEnd:fe.calc(Ut).mul(2).equal(),paddingInlineStart:$e,paddingInlineEnd:fe.calc($e).div(2).equal(),[`${Ge}-disabled&`]:{color:je,borderColor:Ve,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:fe.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:rt,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Ce}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Nt}})}}}},Fe=(fe,Ge)=>{const{componentCls:Ce,INTERNAL_FIXED_ITEM_MARGIN:yt}=fe,et=`${Ce}-selection-overflow`,$e=fe.multipleSelectItemHeight,je=Oe(fe),Ve=Ge?`${Ce}-${Ge}`:"",rt=tt(fe);return{[`${Ce}-multiple${Ve}`]:Object.assign(Object.assign({},be(fe)),{[`${Ce}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:rt.basePadding,paddingBlock:rt.containerPadding,borderRadius:fe.borderRadius,[`${Ce}-disabled&`]:{background:fe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(yt)} 0`,lineHeight:(0,b.unit)($e),visibility:"hidden",content:'"\\a0"'}},[`${Ce}-selection-item`]:{height:rt.itemHeight,lineHeight:(0,b.unit)(rt.itemLineHeight)},[`${Ce}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)($e),marginBlock:yt}},[`${Ce}-prefix`]:{marginInlineStart:fe.calc(fe.inputPaddingHorizontalBase).sub(rt.basePadding).equal()},[`${et}-item + ${et}-item,
|
|
|
${Ce}-prefix + ${Ce}-selection-wrap
|
|
|
`]:{[`${Ce}-selection-search`]:{marginInlineStart:0},[`${Ce}-selection-placeholder`]:{insetInlineStart:0}},[`${et}-item-suffix`]:{minHeight:rt.itemHeight,marginBlock:yt},[`${Ce}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:fe.calc(fe.inputPaddingHorizontalBase).sub(je).equal(),"\n &-input,\n &-mirror\n ":{height:$e,fontFamily:fe.fontFamily,lineHeight:(0,b.unit)($e),transition:`all ${fe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Ce}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:fe.calc(fe.inputPaddingHorizontalBase).sub(rt.basePadding).equal(),insetInlineEnd:fe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${fe.motionDurationSlow}`}})}};function ze(fe,Ge){const{componentCls:Ce}=fe,yt=Ge?`${Ce}-${Ge}`:"",et={[`${Ce}-multiple${yt}`]:{fontSize:fe.fontSize,[`${Ce}-selector`]:{[`${Ce}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${Ce}-show-arrow ${Ce}-selector,
|
|
|
&${Ce}-allow-clear ${Ce}-selector
|
|
|
`]:{paddingInlineEnd:fe.calc(fe.fontSizeIcon).add(fe.controlPaddingHorizontal).equal()}}};return[Fe(fe,Ge),et]}const Be=fe=>{const{componentCls:Ge}=fe,Ce=(0,de.mergeToken)(fe,{selectHeight:fe.controlHeightSM,multipleSelectItemHeight:fe.multipleItemHeightSM,borderRadius:fe.borderRadiusSM,borderRadiusSM:fe.borderRadiusXS}),yt=(0,de.mergeToken)(fe,{fontSize:fe.fontSizeLG,selectHeight:fe.controlHeightLG,multipleSelectItemHeight:fe.multipleItemHeightLG,borderRadius:fe.borderRadiusLG,borderRadiusSM:fe.borderRadius});return[ze(fe),ze(Ce,"sm"),{[`${Ge}-multiple${Ge}-sm`]:{[`${Ge}-selection-placeholder`]:{insetInline:fe.calc(fe.controlPaddingHorizontalSM).sub(fe.lineWidth).equal()},[`${Ge}-selection-search`]:{marginInlineStart:2}}},ze(yt,"lg")]};hn.ZP=Be},68525:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});var b=z(59301),xe=z(40001),de=z(19248),tt=z(99267),Oe=z(84105),be=z(58617),Fe=z(47472);function ze(Be){let{suffixIcon:fe,clearIcon:Ge,menuItemSelectedIcon:Ce,removeIcon:yt,loading:et,multiple:$e,hasFeedback:je,prefixCls:Ve,showSuffixIcon:rt,feedbackIcon:Nt,showArrow:Ut,componentName:se}=Be;const Me=Ge!=null?Ge:b.createElement(de.Z,null),ft=at=>fe===null&&!je&&!Ut?null:b.createElement(b.Fragment,null,rt!==!1&&at,je&&Nt);let mt=null;if(fe!==void 0)mt=ft(fe);else if(et)mt=ft(b.createElement(be.Z,{spin:!0}));else{const at=`${Ve}-suffix`;mt=dt=>{let{open:Pe,showSearch:Ze}=dt;return ft(Pe&&Ze?b.createElement(Fe.Z,{className:at}):b.createElement(Oe.Z,{className:at}))}}let Zt=null;Ce!==void 0?Zt=Ce:$e?Zt=b.createElement(xe.Z,null):Zt=null;let Je=null;return yt!==void 0?Je=yt:Je=b.createElement(tt.Z,null),{clearIcon:Me,suffixIcon:mt,itemIcon:Zt,removeIcon:Je}}},90005:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return b}});function b(xe,de){return de!==void 0?de:xe!==null}},11938:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return dt}});var b=z(59301),xe=z(40192),de=z(22703),tt=z(92310),Oe=z.n(tt),be=z(26112),Fe=z(48755),ze=z(458),fe=Pe=>{const{value:Ze,formatter:Ee,precision:ue,decimalSeparator:Ct,groupSeparator:He="",prefixCls:We}=Pe;let kt;if(typeof Ee=="function")kt=Ee(Ze);else{const Ae=String(Ze),ve=Ae.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ve||Ae==="-")kt=Ae;else{const gt=ve[1];let Gt=ve[2]||"0",Ht=ve[4]||"";Gt=Gt.replace(/\B(?=(\d{3})+(?!\d))/g,He),typeof ue=="number"&&(Ht=Ht.padEnd(ue,"0").slice(0,ue>0?ue:0)),Ht&&(Ht=`${Ct}${Ht}`),kt=[b.createElement("span",{key:"int",className:`${We}-content-value-int`},gt,Gt),Ht&&b.createElement("span",{key:"decimal",className:`${We}-content-value-decimal`},Ht)]}}return b.createElement("span",{className:`${We}-content-value`},kt)},Ge=z(63356),Ce=z(16931),yt=z(51636);const et=Pe=>{const{componentCls:Ze,marginXXS:Ee,padding:ue,colorTextDescription:Ct,titleFontSize:He,colorTextHeading:We,contentFontSize:kt,fontFamily:Ae}=Pe;return{[Ze]:Object.assign(Object.assign({},(0,Ge.Wf)(Pe)),{[`${Ze}-title`]:{marginBottom:Ee,color:Ct,fontSize:He},[`${Ze}-skeleton`]:{paddingTop:ue},[`${Ze}-content`]:{color:We,fontSize:kt,fontFamily:Ae,[`${Ze}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ze}-content-prefix, ${Ze}-content-suffix`]:{display:"inline-block"},[`${Ze}-content-prefix`]:{marginInlineEnd:Ee},[`${Ze}-content-suffix`]:{marginInlineStart:Ee}}})}},$e=Pe=>{const{fontSizeHeading3:Ze,fontSize:Ee}=Pe;return{titleFontSize:Ee,contentFontSize:Ze}};var je=(0,Ce.I$)("Statistic",Pe=>{const Ze=(0,yt.mergeToken)(Pe,{});return[et(Ze)]},$e),Ve=function(Pe,Ze){var Ee={};for(var ue in Pe)Object.prototype.hasOwnProperty.call(Pe,ue)&&Ze.indexOf(ue)<0&&(Ee[ue]=Pe[ue]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ue=Object.getOwnPropertySymbols(Pe);Ct<ue.length;Ct++)Ze.indexOf(ue[Ct])<0&&Object.prototype.propertyIsEnumerable.call(Pe,ue[Ct])&&(Ee[ue[Ct]]=Pe[ue[Ct]]);return Ee},Nt=Pe=>{const{prefixCls:Ze,className:Ee,rootClassName:ue,style:Ct,valueStyle:He,value:We=0,title:kt,valueRender:Ae,prefix:ve,suffix:gt,loading:Gt=!1,formatter:Ht,precision:pe,decimalSeparator:Te=".",groupSeparator:Ke=",",onMouseEnter:tn,onMouseLeave:lt}=Pe,jt=Ve(Pe,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:ct,direction:ln,className:Et,style:le}=(0,Fe.dj)("statistic"),ne=ct("statistic",Ze),[te,ae,he]=je(ne),re=b.createElement(fe,{decimalSeparator:Te,groupSeparator:Ke,prefixCls:ne,formatter:Ht,precision:pe,value:We}),ce=Oe()(ne,{[`${ne}-rtl`]:ln==="rtl"},Et,Ee,ue,ae,he),De=(0,be.Z)(jt,{aria:!0,data:!0});return te(b.createElement("div",Object.assign({},De,{className:ce,style:Object.assign(Object.assign({},le),Ct),onMouseEnter:tn,onMouseLeave:lt}),kt&&b.createElement("div",{className:`${ne}-title`},kt),b.createElement(ze.Z,{paragraph:!1,loading:Gt,className:`${ne}-skeleton`},b.createElement("div",{style:He,className:`${ne}-content`},ve&&b.createElement("span",{className:`${ne}-content-prefix`},ve),Ae?Ae(re):re,gt&&b.createElement("span",{className:`${ne}-content-suffix`},gt)))))};const Ut=[["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,Ze){let Ee=Pe;const ue=/\[[^\]]*]/g,Ct=(Ze.match(ue)||[]).map(Ae=>Ae.slice(1,-1)),He=Ze.replace(ue,"[]"),We=Ut.reduce((Ae,ve)=>{let[gt,Gt]=ve;if(Ae.includes(gt)){const Ht=Math.floor(Ee/Gt);return Ee-=Ht*Gt,Ae.replace(new RegExp(`${gt}+`,"g"),pe=>{const Te=pe.length;return Ht.toString().padStart(Te,"0")})}return Ae},He);let kt=0;return We.replace(ue,()=>{const Ae=Ct[kt];return kt+=1,Ae})}function Me(Pe,Ze){const{format:Ee=""}=Ze,ue=new Date(Pe).getTime(),Ct=Date.now(),He=Math.max(ue-Ct,0);return se(He,Ee)}var ft=function(Pe,Ze){var Ee={};for(var ue in Pe)Object.prototype.hasOwnProperty.call(Pe,ue)&&Ze.indexOf(ue)<0&&(Ee[ue]=Pe[ue]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ue=Object.getOwnPropertySymbols(Pe);Ct<ue.length;Ct++)Ze.indexOf(ue[Ct])<0&&Object.prototype.propertyIsEnumerable.call(Pe,ue[Ct])&&(Ee[ue[Ct]]=Pe[ue[Ct]]);return Ee};const mt=1e3/30;function Zt(Pe){return new Date(Pe).getTime()}const Je=Pe=>{const{value:Ze,format:Ee="HH:mm:ss",onChange:ue,onFinish:Ct}=Pe,He=ft(Pe,["value","format","onChange","onFinish"]),We=(0,xe.Z)(),kt=b.useRef(null),Ae=()=>{Ct==null||Ct(),kt.current&&(clearInterval(kt.current),kt.current=null)},ve=()=>{const Ht=Zt(Ze);Ht>=Date.now()&&(kt.current=setInterval(()=>{We(),ue==null||ue(Ht-Date.now()),Ht<Date.now()&&Ae()},mt))};b.useEffect(()=>(ve(),()=>{kt.current&&(clearInterval(kt.current),kt.current=null)}),[Ze]);const gt=(Ht,pe)=>Me(Ht,Object.assign(Object.assign({},pe),{format:Ee})),Gt=Ht=>(0,de.Tm)(Ht,{title:void 0});return b.createElement(Nt,Object.assign({},He,{value:Ze,valueRender:Gt,formatter:gt}))};var at=b.memo(Je);Nt.Countdown=at;var dt=Nt},58755:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ct}});var b=z(59301),xe=z(58617),de=z(92310),tt=z.n(de),Oe=z(54476),be=z(20068),Fe=z(42978),ze=z(75931),Be=z(18929),fe=z(10228),Ge=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Ce=b.forwardRef(function(He,We){var kt,Ae=He.prefixCls,ve=Ae===void 0?"rc-switch":Ae,gt=He.className,Gt=He.checked,Ht=He.defaultChecked,pe=He.disabled,Te=He.loadingIcon,Ke=He.checkedChildren,tn=He.unCheckedChildren,lt=He.onClick,jt=He.onChange,ct=He.onKeyDown,ln=(0,ze.Z)(He,Ge),Et=(0,Be.Z)(!1,{value:Gt,defaultValue:Ht}),le=(0,Fe.Z)(Et,2),ne=le[0],te=le[1];function ae(De,st){var Qe=ne;return pe||(Qe=De,te(Qe),jt==null||jt(Qe,st)),Qe}function he(De){De.which===fe.Z.LEFT?ae(!1,De):De.which===fe.Z.RIGHT&&ae(!0,De),ct==null||ct(De)}function re(De){var st=ae(!ne,De);lt==null||lt(st,De)}var ce=tt()(ve,gt,(kt={},(0,be.Z)(kt,"".concat(ve,"-checked"),ne),(0,be.Z)(kt,"".concat(ve,"-disabled"),pe),kt));return b.createElement("button",(0,Oe.Z)({},ln,{type:"button",role:"switch","aria-checked":ne,disabled:pe,className:ce,ref:We,onKeyDown:he,onClick:re}),Te,b.createElement("span",{className:"".concat(ve,"-inner")},b.createElement("span",{className:"".concat(ve,"-inner-checked")},Ke),b.createElement("span",{className:"".concat(ve,"-inner-unchecked")},tn)))});Ce.displayName="Switch";var yt=Ce,et=z(12919),$e=z(48755),je=z(2171),Ve=z(31756),rt=z(36237),Nt=z(17835),Ut=z(63356),se=z(16931),Me=z(51636);const ft=He=>{const{componentCls:We,trackHeightSM:kt,trackPadding:Ae,trackMinWidthSM:ve,innerMinMarginSM:gt,innerMaxMarginSM:Gt,handleSizeSM:Ht,calc:pe}=He,Te=`${We}-inner`,Ke=(0,rt.unit)(pe(Ht).add(pe(Ae).mul(2)).equal()),tn=(0,rt.unit)(pe(Gt).mul(2).equal());return{[We]:{[`&${We}-small`]:{minWidth:ve,height:kt,lineHeight:(0,rt.unit)(kt),[`${We}-inner`]:{paddingInlineStart:Gt,paddingInlineEnd:gt,[`${Te}-checked, ${Te}-unchecked`]:{minHeight:kt},[`${Te}-checked`]:{marginInlineStart:`calc(-100% + ${Ke} - ${tn})`,marginInlineEnd:`calc(100% - ${Ke} + ${tn})`},[`${Te}-unchecked`]:{marginTop:pe(kt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${We}-handle`]:{width:Ht,height:Ht},[`${We}-loading-icon`]:{top:pe(pe(Ht).sub(He.switchLoadingIconSize)).div(2).equal(),fontSize:He.switchLoadingIconSize},[`&${We}-checked`]:{[`${We}-inner`]:{paddingInlineStart:gt,paddingInlineEnd:Gt,[`${Te}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Te}-unchecked`]:{marginInlineStart:`calc(100% - ${Ke} + ${tn})`,marginInlineEnd:`calc(-100% + ${Ke} - ${tn})`}},[`${We}-handle`]:{insetInlineStart:`calc(100% - ${(0,rt.unit)(pe(Ht).add(Ae).equal())})`}},[`&:not(${We}-disabled):active`]:{[`&:not(${We}-checked) ${Te}`]:{[`${Te}-unchecked`]:{marginInlineStart:pe(He.marginXXS).div(2).equal(),marginInlineEnd:pe(He.marginXXS).mul(-1).div(2).equal()}},[`&${We}-checked ${Te}`]:{[`${Te}-checked`]:{marginInlineStart:pe(He.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:pe(He.marginXXS).div(2).equal()}}}}}}},mt=He=>{const{componentCls:We,handleSize:kt,calc:Ae}=He;return{[We]:{[`${We}-loading-icon${He.iconCls}`]:{position:"relative",top:Ae(Ae(kt).sub(He.fontSize)).div(2).equal(),color:He.switchLoadingIconColor,verticalAlign:"top"},[`&${We}-checked ${We}-loading-icon`]:{color:He.switchColor}}}},Zt=He=>{const{componentCls:We,trackPadding:kt,handleBg:Ae,handleShadow:ve,handleSize:gt,calc:Gt}=He,Ht=`${We}-handle`;return{[We]:{[Ht]:{position:"absolute",top:kt,insetInlineStart:kt,width:gt,height:gt,transition:`all ${He.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ae,borderRadius:Gt(gt).div(2).equal(),boxShadow:ve,transition:`all ${He.switchDuration} ease-in-out`,content:'""'}},[`&${We}-checked ${Ht}`]:{insetInlineStart:`calc(100% - ${(0,rt.unit)(Gt(gt).add(kt).equal())})`},[`&:not(${We}-disabled):active`]:{[`${Ht}::before`]:{insetInlineEnd:He.switchHandleActiveInset,insetInlineStart:0},[`&${We}-checked ${Ht}::before`]:{insetInlineEnd:0,insetInlineStart:He.switchHandleActiveInset}}}}},Je=He=>{const{componentCls:We,trackHeight:kt,trackPadding:Ae,innerMinMargin:ve,innerMaxMargin:gt,handleSize:Gt,calc:Ht}=He,pe=`${We}-inner`,Te=(0,rt.unit)(Ht(Gt).add(Ht(Ae).mul(2)).equal()),Ke=(0,rt.unit)(Ht(gt).mul(2).equal());return{[We]:{[pe]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:gt,paddingInlineEnd:ve,transition:`padding-inline-start ${He.switchDuration} ease-in-out, padding-inline-end ${He.switchDuration} ease-in-out`,[`${pe}-checked, ${pe}-unchecked`]:{display:"block",color:He.colorTextLightSolid,fontSize:He.fontSizeSM,transition:`margin-inline-start ${He.switchDuration} ease-in-out, margin-inline-end ${He.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:kt},[`${pe}-checked`]:{marginInlineStart:`calc(-100% + ${Te} - ${Ke})`,marginInlineEnd:`calc(100% - ${Te} + ${Ke})`},[`${pe}-unchecked`]:{marginTop:Ht(kt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${We}-checked ${pe}`]:{paddingInlineStart:ve,paddingInlineEnd:gt,[`${pe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${pe}-unchecked`]:{marginInlineStart:`calc(100% - ${Te} + ${Ke})`,marginInlineEnd:`calc(-100% + ${Te} - ${Ke})`}},[`&:not(${We}-disabled):active`]:{[`&:not(${We}-checked) ${pe}`]:{[`${pe}-unchecked`]:{marginInlineStart:Ht(Ae).mul(2).equal(),marginInlineEnd:Ht(Ae).mul(-1).mul(2).equal()}},[`&${We}-checked ${pe}`]:{[`${pe}-checked`]:{marginInlineStart:Ht(Ae).mul(-1).mul(2).equal(),marginInlineEnd:Ht(Ae).mul(2).equal()}}}}}},at=He=>{const{componentCls:We,trackHeight:kt,trackMinWidth:Ae}=He;return{[We]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ut.Wf)(He)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ae,height:kt,lineHeight:(0,rt.unit)(kt),verticalAlign:"middle",background:He.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${He.motionDurationMid}`,userSelect:"none",[`&:hover:not(${We}-disabled)`]:{background:He.colorTextTertiary}}),(0,Ut.Qy)(He)),{[`&${We}-checked`]:{background:He.switchColor,[`&:hover:not(${We}-disabled)`]:{background:He.colorPrimaryHover}},[`&${We}-loading, &${We}-disabled`]:{cursor:"not-allowed",opacity:He.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${We}-rtl`]:{direction:"rtl"}})}},dt=He=>{const{fontSize:We,lineHeight:kt,controlHeight:Ae,colorWhite:ve}=He,gt=We*kt,Gt=Ae/2,Ht=2,pe=gt-Ht*2,Te=Gt-Ht*2;return{trackHeight:gt,trackHeightSM:Gt,trackMinWidth:pe*2+Ht*4,trackMinWidthSM:Te*2+Ht*2,trackPadding:Ht,handleBg:ve,handleSize:pe,handleSizeSM:Te,handleShadow:`0 2px 4px 0 ${new Nt.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:pe/2,innerMaxMargin:pe+Ht+Ht*2,innerMinMarginSM:Te/2,innerMaxMarginSM:Te+Ht+Ht*2}};var Pe=(0,se.I$)("Switch",He=>{const We=(0,Me.mergeToken)(He,{switchDuration:He.motionDurationMid,switchColor:He.colorPrimary,switchDisabledOpacity:He.opacityLoading,switchLoadingIconSize:He.calc(He.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${He.opacityLoading})`,switchHandleActiveInset:"-30%"});return[at(We),Je(We),Zt(We),mt(We),ft(We)]},dt),Ze=function(He,We){var kt={};for(var Ae in He)Object.prototype.hasOwnProperty.call(He,Ae)&&We.indexOf(Ae)<0&&(kt[Ae]=He[Ae]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Ae=Object.getOwnPropertySymbols(He);ve<Ae.length;ve++)We.indexOf(Ae[ve])<0&&Object.prototype.propertyIsEnumerable.call(He,Ae[ve])&&(kt[Ae[ve]]=He[Ae[ve]]);return kt};const ue=b.forwardRef((He,We)=>{const{prefixCls:kt,size:Ae,disabled:ve,loading:gt,className:Gt,rootClassName:Ht,style:pe,checked:Te,value:Ke,defaultChecked:tn,defaultValue:lt,onChange:jt}=He,ct=Ze(He,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[ln,Et]=(0,Be.Z)(!1,{value:Te!=null?Te:Ke,defaultValue:tn!=null?tn:lt}),{getPrefixCls:le,direction:ne,switch:te}=b.useContext($e.E_),ae=b.useContext(je.Z),he=(ve!=null?ve:ae)||gt,re=le("switch",kt),ce=b.createElement("div",{className:`${re}-handle`},gt&&b.createElement(xe.Z,{className:`${re}-loading-icon`})),[De,st,Qe]=Pe(re),Ie=(0,Ve.Z)(Ae),pt=tt()(te==null?void 0:te.className,{[`${re}-small`]:Ie==="small",[`${re}-loading`]:gt,[`${re}-rtl`]:ne==="rtl"},Gt,Ht,st,Qe),Pt=Object.assign(Object.assign({},te==null?void 0:te.style),pe),Tt=function(){Et(arguments.length<=0?void 0:arguments[0]),jt==null||jt.apply(void 0,arguments)};return De(b.createElement(et.Z,{component:"Switch"},b.createElement(yt,Object.assign({},ct,{checked:ln,onChange:Tt,prefixCls:re,className:pt,style:Pt,disabled:he,ref:We,loadingIcon:ce}))))});ue.__ANT_SWITCH=!0;var Ct=ue},70858:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return Mi}});var b=z(59301),xe={},de="rc-table-internal-hook",tt=z(42978),Oe=z(6089),be=z(34280),Fe=z(13697),ze=z(4676);function Be(ye){var ge=b.createContext(void 0),it=function(Qt){var on=Qt.value,wn=Qt.children,bn=b.useRef(on);bn.current=on;var On=b.useState(function(){return{getValue:function(){return bn.current},listeners:new Set}}),Nn=(0,tt.Z)(On,1),ir=Nn[0];return(0,be.Z)(function(){(0,ze.unstable_batchedUpdates)(function(){ir.listeners.forEach(function(er){er(on)})})},[on]),b.createElement(ge.Provider,{value:ir},wn)};return{Context:ge,Provider:it,defaultValue:ye}}function fe(ye,ge){var it=(0,Oe.Z)(typeof ge=="function"?ge:function(er){if(ge===void 0)return er;if(!Array.isArray(ge))return er[ge];var _n={};return ge.forEach(function(zn){_n[zn]=er[zn]}),_n}),It=b.useContext(ye==null?void 0:ye.Context),Qt=It||{},on=Qt.listeners,wn=Qt.getValue,bn=b.useRef();bn.current=it(It?wn():ye==null?void 0:ye.defaultValue);var On=b.useState({}),Nn=(0,tt.Z)(On,2),ir=Nn[1];return(0,be.Z)(function(){if(!It)return;function er(_n){var zn=it(_n);(0,Fe.Z)(bn.current,zn,!0)||ir({})}return on.add(er),function(){on.delete(er)}},[It]),bn.current}var Ge=z(54476),Ce=z(8654);function yt(){var ye=b.createContext(null);function ge(){return b.useContext(ye)}function it(Qt,on){var wn=(0,Ce.Yr)(Qt),bn=function(Nn,ir){var er=wn?{ref:ir}:{},_n=b.useRef(0),zn=b.useRef(Nn),Rn=ge();return Rn!==null?b.createElement(Qt,(0,Ge.Z)({},Nn,er)):((!on||on(zn.current,Nn))&&(_n.current+=1),zn.current=Nn,b.createElement(ye.Provider,{value:_n.current},b.createElement(Qt,(0,Ge.Z)({},Nn,er))))};return wn?b.forwardRef(bn):bn}function It(Qt,on){var wn=(0,Ce.Yr)(Qt),bn=function(Nn,ir){var er=wn?{ref:ir}:{};return ge(),b.createElement(Qt,(0,Ge.Z)({},Nn,er))};return wn?b.memo(b.forwardRef(bn),on):b.memo(bn,on)}return{makeImmutable:it,responseImmutable:It,useImmutableMark:ge}}var et=yt(),$e=et.makeImmutable,je=et.responseImmutable,Ve=et.useImmutableMark,rt=yt(),Nt=rt.makeImmutable,Ut=rt.responseImmutable,se=rt.useImmutableMark,Me=Be(),ft=Me;function mt(ye,ge){var it=React.useRef(0);it.current+=1;var It=React.useRef(ye),Qt=[];Object.keys(ye||{}).map(function(wn){var bn;(ye==null?void 0:ye[wn])!==((bn=It.current)===null||bn===void 0?void 0:bn[wn])&&Qt.push(wn)}),It.current=ye;var on=React.useRef([]);return Qt.length&&(on.current=Qt),React.useDebugValue(it.current),React.useDebugValue(on.current.join(", ")),ge&&console.log("".concat(ge,":"),it.current,on.current),it.current}var Zt=null,Je=null,at=z(76190),dt=z(33885),Pe=z(20068),Ze=z(92310),Ee=z.n(Ze),ue=z(80547),Ct=z(97938),He=z(48736),We=b.createContext({renderWithProps:!1}),kt=We,Ae="RC_TABLE_KEY";function ve(ye){return ye==null?[]:Array.isArray(ye)?ye:[ye]}function gt(ye){var ge=[],it={};return ye.forEach(function(It){for(var Qt=It||{},on=Qt.key,wn=Qt.dataIndex,bn=on||ve(wn).join("-")||Ae;it[bn];)bn="".concat(bn,"_next");it[bn]=!0,ge.push(bn)}),ge}function Gt(ye){return ye!=null}function Ht(ye){return typeof ye=="number"&&!Number.isNaN(ye)}function pe(ye){return ye&&(0,at.Z)(ye)==="object"&&!Array.isArray(ye)&&!b.isValidElement(ye)}function Te(ye,ge,it,It,Qt,on){var wn=b.useContext(kt),bn=se(),On=(0,ue.Z)(function(){if(Gt(It))return[It];var Nn=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],ir=(0,Ct.Z)(ye,Nn),er=ir,_n=void 0;if(Qt){var zn=Qt(ir,ye,it);pe(zn)?(er=zn.children,_n=zn.props,wn.renderWithProps=!0):er=zn}return[er,_n]},[bn,ye,It,ge,Qt,it],function(Nn,ir){if(on){var er=(0,tt.Z)(Nn,2),_n=er[1],zn=(0,tt.Z)(ir,2),Rn=zn[1];return on(Rn,_n)}return wn.renderWithProps?!0:!(0,Fe.Z)(Nn,ir,!0)});return On}function Ke(ye,ge,it,It){var Qt=ye+ge-1;return ye<=It&&Qt>=it}function tn(ye,ge){return fe(ft,function(it){var It=Ke(ye,ge||1,it.hoverStartRow,it.hoverEndRow);return[It,it.onHover]})}var lt=z(70425),jt=function(ge){var it=ge.ellipsis,It=ge.rowType,Qt=ge.children,on,wn=it===!0?{showTitle:!0}:it;return wn&&(wn.showTitle||It==="header")&&(typeof Qt=="string"||typeof Qt=="number"?on=Qt.toString():b.isValidElement(Qt)&&typeof Qt.props.children=="string"&&(on=Qt.props.children)),on};function ct(ye){var ge,it,It,Qt,on,wn,bn,On,Nn=ye.component,ir=ye.children,er=ye.ellipsis,_n=ye.scope,zn=ye.prefixCls,Rn=ye.className,Or=ye.align,cr=ye.record,Hr=ye.render,Nr=ye.dataIndex,_r=ye.renderIndex,zr=ye.shouldCellUpdate,Yr=ye.index,ao=ye.rowType,po=ye.colSpan,xo=ye.rowSpan,Qo=ye.fixLeft,Gr=ye.fixRight,jr=ye.firstFixLeft,oo=ye.lastFixLeft,Sr=ye.firstFixRight,xr=ye.lastFixRight,to=ye.appendNode,go=ye.additionalProps,Do=go===void 0?{}:go,$o=ye.isSticky,Co="".concat(zn,"-cell"),Fi=fe(ft,["supportSticky","allColumnsFixedLeft","rowHoverable"]),wi=Fi.supportSticky,ca=Fi.allColumnsFixedLeft,Qi=Fi.rowHoverable,ia=Te(cr,Nr,_r,ir,Hr,zr),ma=(0,tt.Z)(ia,2),ga=ma[0],Ti=ma[1],ki={},Ia=typeof Qo=="number"&&wi,Na=typeof Gr=="number"&&wi;Ia&&(ki.position="sticky",ki.left=Qo),Na&&(ki.position="sticky",ki.right=Gr);var oi=(ge=(it=(It=Ti==null?void 0:Ti.colSpan)!==null&&It!==void 0?It:Do.colSpan)!==null&&it!==void 0?it:po)!==null&&ge!==void 0?ge:1,Ai=(Qt=(on=(wn=Ti==null?void 0:Ti.rowSpan)!==null&&wn!==void 0?wn:Do.rowSpan)!==null&&on!==void 0?on:xo)!==null&&Qt!==void 0?Qt:1,ti=tn(Yr,Ai),Ho=(0,tt.Z)(ti,2),ji=Ho[0],$i=Ho[1],ya=(0,lt.zX)(function(aa){var la;cr&&$i(Yr,Yr+Ai-1),Do==null||(la=Do.onMouseEnter)===null||la===void 0||la.call(Do,aa)}),qi=(0,lt.zX)(function(aa){var la;cr&&$i(-1,-1),Do==null||(la=Do.onMouseLeave)===null||la===void 0||la.call(Do,aa)});if(oi===0||Ai===0)return null;var ka=(bn=Do.title)!==null&&bn!==void 0?bn:jt({rowType:ao,ellipsis:er,children:ga}),Sa=Ee()(Co,Rn,(On={},(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)(On,"".concat(Co,"-fix-left"),Ia&&wi),"".concat(Co,"-fix-left-first"),jr&&wi),"".concat(Co,"-fix-left-last"),oo&&wi),"".concat(Co,"-fix-left-all"),oo&&ca&&wi),"".concat(Co,"-fix-right"),Na&&wi),"".concat(Co,"-fix-right-first"),Sr&&wi),"".concat(Co,"-fix-right-last"),xr&&wi),"".concat(Co,"-ellipsis"),er),"".concat(Co,"-with-append"),to),"".concat(Co,"-fix-sticky"),(Ia||Na)&&$o&&wi),(0,Pe.Z)(On,"".concat(Co,"-row-hover"),!Ti&&ji)),Do.className,Ti==null?void 0:Ti.className),ui={};Or&&(ui.textAlign=Or);var gi=(0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)({},Ti==null?void 0:Ti.style),ki),ui),Do.style),ea=ga;return(0,at.Z)(ea)==="object"&&!Array.isArray(ea)&&!b.isValidElement(ea)&&(ea=null),er&&(oo||Sr)&&(ea=b.createElement("span",{className:"".concat(Co,"-content")},ea)),b.createElement(Nn,(0,Ge.Z)({},Ti,Do,{className:Sa,style:gi,title:ka,scope:_n,onMouseEnter:Qi?ya:void 0,onMouseLeave:Qi?qi:void 0,colSpan:oi!==1?oi:null,rowSpan:Ai!==1?Ai:null}),to,ea)}var ln=b.memo(ct);function Et(ye,ge,it,It,Qt){var on=it[ye]||{},wn=it[ge]||{},bn,On;on.fixed==="left"?bn=It.left[Qt==="rtl"?ge:ye]:wn.fixed==="right"&&(On=It.right[Qt==="rtl"?ye:ge]);var Nn=!1,ir=!1,er=!1,_n=!1,zn=it[ge+1],Rn=it[ye-1],Or=zn&&!zn.fixed||Rn&&!Rn.fixed||it.every(function(zr){return zr.fixed==="left"});if(Qt==="rtl"){if(bn!==void 0){var cr=Rn&&Rn.fixed==="left";_n=!cr&&Or}else if(On!==void 0){var Hr=zn&&zn.fixed==="right";er=!Hr&&Or}}else if(bn!==void 0){var Nr=zn&&zn.fixed==="left";Nn=!Nr&&Or}else if(On!==void 0){var _r=Rn&&Rn.fixed==="right";ir=!_r&&Or}return{fixLeft:bn,fixRight:On,lastFixLeft:Nn,firstFixRight:ir,lastFixRight:er,firstFixLeft:_n,isSticky:It.isSticky}}var le=b.createContext({}),ne=le;function te(ye){var ge=ye.className,it=ye.index,It=ye.children,Qt=ye.colSpan,on=Qt===void 0?1:Qt,wn=ye.rowSpan,bn=ye.align,On=fe(ft,["prefixCls","direction"]),Nn=On.prefixCls,ir=On.direction,er=b.useContext(ne),_n=er.scrollColumnIndex,zn=er.stickyOffsets,Rn=er.flattenColumns,Or=it+on-1,cr=Or+1===_n?on+1:on,Hr=Et(it,it+cr-1,Rn,zn,ir);return b.createElement(ln,(0,Ge.Z)({className:ge,index:it,component:"td",prefixCls:Nn,record:null,dataIndex:null,align:bn,colSpan:cr,rowSpan:wn,render:function(){return It}},Hr))}var ae=z(75931),he=["children"];function re(ye){var ge=ye.children,it=(0,ae.Z)(ye,he);return b.createElement("tr",it,ge)}function ce(ye){var ge=ye.children;return ge}ce.Row=re,ce.Cell=te;var De=ce;function st(ye){var ge=ye.children,it=ye.stickyOffsets,It=ye.flattenColumns,Qt=fe(ft,"prefixCls"),on=It.length-1,wn=It[on],bn=b.useMemo(function(){return{stickyOffsets:it,flattenColumns:It,scrollColumnIndex:wn!=null&&wn.scrollbar?on:null}},[wn,It,on,it]);return b.createElement(ne.Provider,{value:bn},b.createElement("tfoot",{className:"".concat(Qt,"-summary")},ge))}var Qe=Ut(st),Ie=De,pt=z(29301),Pt=z(3465),Tt=z(75152),Le=z(26112);function Ue(ye,ge,it,It,Qt,on,wn){ye.push({record:ge,indent:it,index:wn});var bn=on(ge),On=Qt==null?void 0:Qt.has(bn);if(ge&&Array.isArray(ge[It])&&On)for(var Nn=0;Nn<ge[It].length;Nn+=1)Ue(ye,ge[It][Nn],it+1,It,Qt,on,Nn)}function pn(ye,ge,it,It){var Qt=b.useMemo(function(){if(it!=null&&it.size){for(var on=[],wn=0;wn<(ye==null?void 0:ye.length);wn+=1){var bn=ye[wn];Ue(on,bn,0,ge,it,It,wn)}return on}return ye==null?void 0:ye.map(function(On,Nn){return{record:On,indent:0,index:Nn}})},[ye,ge,it,It]);return Qt}function Wt(ye,ge,it,It){var Qt=fe(ft,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),on=Qt.flattenColumns,wn=Qt.expandableType,bn=Qt.expandedKeys,On=Qt.childrenColumnName,Nn=Qt.onTriggerExpand,ir=Qt.rowExpandable,er=Qt.onRow,_n=Qt.expandRowByClick,zn=Qt.rowClassName,Rn=wn==="nest",Or=wn==="row"&&(!ir||ir(ye)),cr=Or||Rn,Hr=bn&&bn.has(ge),Nr=On&&ye&&ye[On],_r=(0,lt.zX)(Nn),zr=er==null?void 0:er(ye,it),Yr=zr==null?void 0:zr.onClick,ao=function(Gr){_n&&cr&&Nn(ye,Gr);for(var jr=arguments.length,oo=new Array(jr>1?jr-1:0),Sr=1;Sr<jr;Sr++)oo[Sr-1]=arguments[Sr];Yr==null||Yr.apply(void 0,[Gr].concat(oo))},po;typeof zn=="string"?po=zn:typeof zn=="function"&&(po=zn(ye,it,It));var xo=gt(on);return(0,dt.Z)((0,dt.Z)({},Qt),{},{columnsKey:xo,nestExpandable:Rn,expanded:Hr,hasNestChildren:Nr,record:ye,onTriggerExpand:_r,rowSupportExpand:Or,expandable:cr,rowProps:(0,dt.Z)((0,dt.Z)({},zr),{},{className:Ee()(po,zr==null?void 0:zr.className),onClick:ao})})}function Cn(ye){var ge=ye.prefixCls,it=ye.children,It=ye.component,Qt=ye.cellComponent,on=ye.className,wn=ye.expanded,bn=ye.colSpan,On=ye.isEmpty,Nn=fe(ft,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),ir=Nn.scrollbarSize,er=Nn.fixHeader,_n=Nn.fixColumn,zn=Nn.componentWidth,Rn=Nn.horizonScroll,Or=it;return(On?Rn&&zn:_n)&&(Or=b.createElement("div",{style:{width:zn-(er&&!On?ir:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},Or)),b.createElement(It,{className:on,style:{display:wn?null:"none"}},b.createElement(ln,{component:Qt,prefixCls:ge,colSpan:bn},Or))}var cn=Cn;function Xt(ye){var ge=ye.prefixCls,it=ye.record,It=ye.onExpand,Qt=ye.expanded,on=ye.expandable,wn="".concat(ge,"-row-expand-icon");if(!on)return b.createElement("span",{className:Ee()(wn,"".concat(ge,"-row-spaced"))});var bn=function(Nn){It(it,Nn),Nn.stopPropagation()};return b.createElement("span",{className:Ee()(wn,(0,Pe.Z)((0,Pe.Z)({},"".concat(ge,"-row-expanded"),Qt),"".concat(ge,"-row-collapsed"),!Qt)),onClick:bn})}function an(ye,ge,it){var It=[];function Qt(on){(on||[]).forEach(function(wn,bn){It.push(ge(wn,bn)),Qt(wn[it])})}return Qt(ye),It}function mn(ye,ge,it,It){return typeof ye=="string"?ye:typeof ye=="function"?ye(ge,it,It):""}function vt(ye,ge,it,It,Qt){var on=ye.record,wn=ye.prefixCls,bn=ye.columnsKey,On=ye.fixedInfoList,Nn=ye.expandIconColumnIndex,ir=ye.nestExpandable,er=ye.indentSize,_n=ye.expandIcon,zn=ye.expanded,Rn=ye.hasNestChildren,Or=ye.onTriggerExpand,cr=bn[it],Hr=On[it],Nr;it===(Nn||0)&&ir&&(Nr=b.createElement(b.Fragment,null,b.createElement("span",{style:{paddingLeft:"".concat(er*It,"px")},className:"".concat(wn,"-row-indent indent-level-").concat(It)}),_n({prefixCls:wn,expanded:zn,expandable:Rn,record:on,onExpand:Or})));var _r;return ge.onCell&&(_r=ge.onCell(on,Qt)),{key:cr,fixedInfo:Hr,appendCellNode:Nr,additionalCellProps:_r||{}}}function Yt(ye){var ge=ye.className,it=ye.style,It=ye.record,Qt=ye.index,on=ye.renderIndex,wn=ye.rowKey,bn=ye.indent,On=bn===void 0?0:bn,Nn=ye.rowComponent,ir=ye.cellComponent,er=ye.scopeCellComponent,_n=Wt(It,wn,Qt,On),zn=_n.prefixCls,Rn=_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,It,Qt,On),ao=b.createElement(Nn,(0,Ge.Z)({},Hr,{"data-row-key":wn,className:Ee()(ge,"".concat(zn,"-row"),"".concat(zn,"-row-level-").concat(On),Hr==null?void 0:Hr.className,(0,Pe.Z)({},Yr,On>=1)),style:(0,dt.Z)((0,dt.Z)({},it),Hr==null?void 0:Hr.style)}),Rn.map(function(Qo,Gr){var jr=Qo.render,oo=Qo.dataIndex,Sr=Qo.className,xr=vt(_n,Qo,Gr,On,Qt),to=xr.key,go=xr.fixedInfo,Do=xr.appendCellNode,$o=xr.additionalCellProps;return b.createElement(ln,(0,Ge.Z)({className:Sr,ellipsis:Qo.ellipsis,align:Qo.align,scope:Qo.rowScope,component:Qo.rowScope?er:ir,prefixCls:zn,key:to,record:It,index:Qt,renderIndex:on,dataIndex:oo,render:jr,shouldCellUpdate:Qo.shouldCellUpdate},go,{appendNode:Do,additionalProps:$o}))})),po;if(_r&&(zr.current||Nr)){var xo=cr(It,Qt,On+1,Nr);po=b.createElement(cn,{expanded:Nr,className:Ee()("".concat(zn,"-expanded-row"),"".concat(zn,"-expanded-row-level-").concat(On+1),Yr),prefixCls:zn,component:Nn,cellComponent:ir,colSpan:Rn.length,isEmpty:!1},xo)}return b.createElement(b.Fragment,null,ao,po)}var gn=Ut(Yt);function At(ye){var ge=ye.columnKey,it=ye.onColumnResize,It=b.useRef();return(0,be.Z)(function(){It.current&&it(ge,It.current.offsetWidth)},[]),b.createElement(pt.Z,{data:ge},b.createElement("td",{ref:It,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var _e=z(29194);function Vt(ye){var ge=ye.prefixCls,it=ye.columnsKey,It=ye.onColumnResize,Qt=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0},ref:Qt},b.createElement(pt.Z.Collection,{onBatchResize:function(wn){(0,_e.Z)(Qt.current)&&wn.forEach(function(bn){var On=bn.data,Nn=bn.size;It(On,Nn.offsetWidth)})}},it.map(function(on){return b.createElement(At,{key:on,columnKey:on,onColumnResize:It})})))}function nn(ye){var ge=ye.data,it=ye.measureColumnWidth,It=fe(ft,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Qt=It.prefixCls,on=It.getComponent,wn=It.onColumnResize,bn=It.flattenColumns,On=It.getRowKey,Nn=It.expandedKeys,ir=It.childrenColumnName,er=It.emptyNode,_n=pn(ge,ir,Nn,On),zn=b.useRef({renderWithProps:!1}),Rn=on(["body","wrapper"],"tbody"),Or=on(["body","row"],"tr"),cr=on(["body","cell"],"td"),Hr=on(["body","cell"],"th"),Nr;ge.length?Nr=_n.map(function(zr,Yr){var ao=zr.record,po=zr.indent,xo=zr.index,Qo=On(ao,Yr);return b.createElement(gn,{key:Qo,rowKey:Qo,record:ao,index:Yr,renderIndex:xo,rowComponent:Or,cellComponent:cr,scopeCellComponent:Hr,indent:po})}):Nr=b.createElement(cn,{expanded:!0,className:"".concat(Qt,"-placeholder"),prefixCls:Qt,component:Or,cellComponent:cr,colSpan:bn.length,isEmpty:!0},er);var _r=gt(bn);return b.createElement(kt.Provider,{value:zn.current},b.createElement(Rn,{className:"".concat(Qt,"-tbody")},it&&b.createElement(Vt,{prefixCls:Qt,columnsKey:_r,onColumnResize:wn}),Nr))}var dn=Ut(nn),Ln=["expandable"],Qn="RC_TABLE_INTERNAL_COL_DEFINE";function hr(ye){var ge=ye.expandable,it=(0,ae.Z)(ye,Ln),It;return"expandable"in ye?It=(0,dt.Z)((0,dt.Z)({},it),ge):It=it,It.showExpandColumn===!1&&(It.expandIconColumnIndex=-1),It}var vr=["columnType"];function Jn(ye){for(var ge=ye.colWidths,it=ye.columns,It=ye.columCount,Qt=fe(ft,["tableLayout"]),on=Qt.tableLayout,wn=[],bn=It||it.length,On=!1,Nn=bn-1;Nn>=0;Nn-=1){var ir=ge[Nn],er=it&&it[Nn],_n=void 0,zn=void 0;if(er&&(_n=er[Qn],on==="auto"&&(zn=er.minWidth)),ir||zn||_n||On){var Rn=_n||{},Or=Rn.columnType,cr=(0,ae.Z)(Rn,vr);wn.unshift(b.createElement("col",(0,Ge.Z)({key:Nn,style:{width:ir,minWidth:zn}},cr))),On=!0}}return b.createElement("colgroup",null,wn)}var dr=Jn,Jt=z(94480),En=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function qn(ye,ge){return(0,b.useMemo)(function(){for(var it=[],It=0;It<ge;It+=1){var Qt=ye[It];if(Qt!==void 0)it[It]=Qt;else return null}return it},[ye.join("_"),ge])}var nr=b.forwardRef(function(ye,ge){var it=ye.className,It=ye.noData,Qt=ye.columns,on=ye.flattenColumns,wn=ye.colWidths,bn=ye.columCount,On=ye.stickyOffsets,Nn=ye.direction,ir=ye.fixHeader,er=ye.stickyTopOffset,_n=ye.stickyBottomOffset,zn=ye.stickyClassName,Rn=ye.onScroll,Or=ye.maxContentScroll,cr=ye.children,Hr=(0,ae.Z)(ye,En),Nr=fe(ft,["prefixCls","scrollbarSize","isSticky","getComponent"]),_r=Nr.prefixCls,zr=Nr.scrollbarSize,Yr=Nr.isSticky,ao=Nr.getComponent,po=ao(["header","table"],"table"),xo=Yr&&!ir?0:zr,Qo=b.useRef(null),Gr=b.useCallback(function($o){(0,Ce.mH)(ge,$o),(0,Ce.mH)(Qo,$o)},[]);b.useEffect(function(){var $o;function Co(Fi){var wi=Fi,ca=wi.currentTarget,Qi=wi.deltaX;Qi&&(Rn({currentTarget:ca,scrollLeft:ca.scrollLeft+Qi}),Fi.preventDefault())}return($o=Qo.current)===null||$o===void 0||$o.addEventListener("wheel",Co,{passive:!1}),function(){var Fi;(Fi=Qo.current)===null||Fi===void 0||Fi.removeEventListener("wheel",Co)}},[]);var jr=b.useMemo(function(){return on.every(function($o){return $o.width})},[on]),oo=on[on.length-1],Sr={fixed:oo?oo.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(_r,"-cell-scrollbar")}}},xr=(0,b.useMemo)(function(){return xo?[].concat((0,Jt.Z)(Qt),[Sr]):Qt},[xo,Qt]),to=(0,b.useMemo)(function(){return xo?[].concat((0,Jt.Z)(on),[Sr]):on},[xo,on]),go=(0,b.useMemo)(function(){var $o=On.right,Co=On.left;return(0,dt.Z)((0,dt.Z)({},On),{},{left:Nn==="rtl"?[].concat((0,Jt.Z)(Co.map(function(Fi){return Fi+xo})),[0]):Co,right:Nn==="rtl"?$o:[].concat((0,Jt.Z)($o.map(function(Fi){return Fi+xo})),[0]),isSticky:Yr})},[xo,On,Yr]),Do=qn(wn,bn);return b.createElement("div",{style:(0,dt.Z)({overflow:"hidden"},Yr?{top:er,bottom:_n}:{}),ref:Gr,className:Ee()(it,(0,Pe.Z)({},zn,!!zn))},b.createElement(po,{style:{tableLayout:"fixed",visibility:It||Do?null:"hidden"}},(!It||!Or||jr)&&b.createElement(dr,{colWidths:Do?[].concat((0,Jt.Z)(Do),[xo]):[],columCount:bn+1,columns:to}),cr((0,dt.Z)((0,dt.Z)({},Hr),{},{stickyOffsets:go,columns:xr,flattenColumns:to}))))}),jn=b.memo(nr),xn=function(ge){var it=ge.cells,It=ge.stickyOffsets,Qt=ge.flattenColumns,on=ge.rowComponent,wn=ge.cellComponent,bn=ge.onHeaderRow,On=ge.index,Nn=fe(ft,["prefixCls","direction"]),ir=Nn.prefixCls,er=Nn.direction,_n;bn&&(_n=bn(it.map(function(Rn){return Rn.column}),On));var zn=gt(it.map(function(Rn){return Rn.column}));return b.createElement(on,_n,it.map(function(Rn,Or){var cr=Rn.column,Hr=Et(Rn.colStart,Rn.colEnd,Qt,It,er),Nr;return cr&&cr.onHeaderCell&&(Nr=Rn.column.onHeaderCell(cr)),b.createElement(ln,(0,Ge.Z)({},Rn,{scope:cr.title?Rn.colSpan>1?"colgroup":"col":null,ellipsis:cr.ellipsis,align:cr.align,component:wn,prefixCls:ir,key:zn[Or]},Hr,{additionalProps:Nr,rowType:"header"}))}))},ut=xn;function qt(ye){var ge=[];function it(wn,bn){var On=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[On]=ge[On]||[];var Nn=bn,ir=wn.filter(Boolean).map(function(er){var _n={key:er.key,className:er.className||"",children:er.title,column:er,colStart:Nn},zn=1,Rn=er.children;return Rn&&Rn.length>0&&(zn=it(Rn,Nn,On+1).reduce(function(Or,cr){return Or+cr},0),_n.hasSubColumns=!0),"colSpan"in er&&(zn=er.colSpan),"rowSpan"in er&&(_n.rowSpan=er.rowSpan),_n.colSpan=zn,_n.colEnd=_n.colStart+zn-1,ge[On].push(_n),Nn+=zn,zn});return ir}it(ye,0);for(var It=ge.length,Qt=function(bn){ge[bn].forEach(function(On){!("rowSpan"in On)&&!On.hasSubColumns&&(On.rowSpan=It-bn)})},on=0;on<It;on+=1)Qt(on);return ge}var Dt=function(ge){var it=ge.stickyOffsets,It=ge.columns,Qt=ge.flattenColumns,on=ge.onHeaderRow,wn=fe(ft,["prefixCls","getComponent"]),bn=wn.prefixCls,On=wn.getComponent,Nn=b.useMemo(function(){return qt(It)},[It]),ir=On(["header","wrapper"],"thead"),er=On(["header","row"],"tr"),_n=On(["header","cell"],"th");return b.createElement(ir,{className:"".concat(bn,"-thead")},Nn.map(function(zn,Rn){var Or=b.createElement(ut,{key:Rn,flattenColumns:Qt,cells:zn,stickyOffsets:it,rowComponent:er,cellComponent:_n,onHeaderRow:on,index:Rn});return Or}))},sn=Ut(Dt),Sn=z(11592);function vn(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 Bn(ye,ge,it){return b.useMemo(function(){if(ge&&ge>0){var It=0,Qt=0;ye.forEach(function(_n){var zn=vn(ge,_n.width);zn?It+=zn:Qt+=1});var on=Math.max(ge,it),wn=Math.max(on-It,Qt),bn=Qt,On=wn/Qt,Nn=0,ir=ye.map(function(_n){var zn=(0,dt.Z)({},_n),Rn=vn(ge,zn.width);if(Rn)zn.width=Rn;else{var Or=Math.floor(On);zn.width=bn===1?wn:Or,wn-=Or,bn-=1}return Nn+=zn.width,zn});if(Nn<on){var er=on/Nn;wn=on,ir.forEach(function(_n,zn){var Rn=Math.floor(_n.width*er);_n.width=zn===ir.length-1?wn:Rn,wn-=Rn})}return[ir,Math.max(Nn,on)]}return[ye,ge]},[ye,ge,it])}var Un=["children"],Yn=["fixed"];function $t(ye){return(0,Sn.Z)(ye).filter(function(ge){return b.isValidElement(ge)}).map(function(ge){var it=ge.key,It=ge.props,Qt=It.children,on=(0,ae.Z)(It,Un),wn=(0,dt.Z)({key:it},on);return Qt&&(wn.children=$t(Qt)),wn})}function Mn(ye){return ye.filter(function(ge){return ge&&(0,at.Z)(ge)==="object"&&!ge.hidden}).map(function(ge){var it=ge.children;return it&&it.length>0?(0,dt.Z)((0,dt.Z)({},ge),{},{children:Mn(it)}):ge})}function rn(ye){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ye.filter(function(it){return it&&(0,at.Z)(it)==="object"}).reduce(function(it,It,Qt){var on=It.fixed,wn=on===!0?"left":on,bn="".concat(ge,"-").concat(Qt),On=It.children;return On&&On.length>0?[].concat((0,Jt.Z)(it),(0,Jt.Z)(rn(On,bn).map(function(Nn){return(0,dt.Z)({fixed:wn},Nn)}))):[].concat((0,Jt.Z)(it),[(0,dt.Z)((0,dt.Z)({key:bn},It),{},{fixed:wn})])},[])}function or(ye){return ye.map(function(ge){var it=ge.fixed,It=(0,ae.Z)(ge,Yn),Qt=it;return it==="left"?Qt="right":it==="right"&&(Qt="left"),(0,dt.Z)({fixed:Qt},It)})}function wt(ye,ge){var it=ye.prefixCls,It=ye.columns,Qt=ye.children,on=ye.expandable,wn=ye.expandedKeys,bn=ye.columnTitle,On=ye.getRowKey,Nn=ye.onTriggerExpand,ir=ye.expandIcon,er=ye.rowExpandable,_n=ye.expandIconColumnIndex,zn=ye.direction,Rn=ye.expandRowByClick,Or=ye.columnWidth,cr=ye.fixed,Hr=ye.scrollWidth,Nr=ye.clientWidth,_r=b.useMemo(function(){var oo=It||$t(Qt)||[];return Mn(oo.slice())},[It,Qt]),zr=b.useMemo(function(){if(on){var oo=_r.slice();if(!oo.includes(xe)){var Sr=_n||0;Sr>=0&&(Sr||cr==="left"||!cr)&&oo.splice(Sr,0,xe),cr==="right"&&oo.splice(_r.length,0,xe)}var xr=oo.indexOf(xe);oo=oo.filter(function($o,Co){return $o!==xe||Co===xr});var to=_r[xr],go;cr?go=cr:go=to?to.fixed:null;var Do=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Qn,{className:"".concat(it,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",bn),"fixed",go),"className","".concat(it,"-row-expand-icon-cell")),"width",Or),"render",function(Co,Fi,wi){var ca=On(Fi,wi),Qi=wn.has(ca),ia=er?er(Fi):!0,ma=ir({prefixCls:it,expanded:Qi,expandable:ia,record:Fi,onExpand:Nn});return Rn?b.createElement("span",{onClick:function(Ti){return Ti.stopPropagation()}},ma):ma});return oo.map(function($o){return $o===xe?Do:$o})}return _r.filter(function($o){return $o!==xe})},[on,_r,On,wn,ir,zn]),Yr=b.useMemo(function(){var oo=zr;return ge&&(oo=ge(oo)),oo.length||(oo=[{render:function(){return null}}]),oo},[ge,zr,zn]),ao=b.useMemo(function(){return zn==="rtl"?or(rn(Yr)):rn(Yr)},[Yr,zn,Hr]),po=b.useMemo(function(){for(var oo=-1,Sr=ao.length-1;Sr>=0;Sr-=1){var xr=ao[Sr].fixed;if(xr==="left"||xr===!0){oo=Sr;break}}if(oo>=0)for(var to=0;to<=oo;to+=1){var go=ao[to].fixed;if(go!=="left"&&go!==!0)return!0}var Do=ao.findIndex(function(Fi){var wi=Fi.fixed;return wi==="right"});if(Do>=0)for(var $o=Do;$o<ao.length;$o+=1){var Co=ao[$o].fixed;if(Co!=="right")return!0}return!1},[ao]),xo=Bn(ao,Hr,Nr),Qo=(0,tt.Z)(xo,2),Gr=Qo[0],jr=Qo[1];return[Yr,Gr,jr,po]}var zt=wt;function Re(ye,ge,it){var It=hr(ye),Qt=It.expandIcon,on=It.expandedRowKeys,wn=It.defaultExpandedRowKeys,bn=It.defaultExpandAllRows,On=It.expandedRowRender,Nn=It.onExpand,ir=It.onExpandedRowsChange,er=It.childrenColumnName,_n=Qt||Xt,zn=er||"children",Rn=b.useMemo(function(){return On?"row":ye.expandable&&ye.internalHooks===de&&ye.expandable.__PARENT_RENDER_ICON__||ge.some(function(Yr){return Yr&&(0,at.Z)(Yr)==="object"&&Yr[zn]})?"nest":!1},[!!On,ge]),Or=b.useState(function(){return wn||(bn?an(ge,it,zn):[])}),cr=(0,tt.Z)(Or,2),Hr=cr[0],Nr=cr[1],_r=b.useMemo(function(){return new Set(on||Hr||[])},[on,Hr]),zr=b.useCallback(function(Yr){var ao=it(Yr,ge.indexOf(Yr)),po,xo=_r.has(ao);xo?(_r.delete(ao),po=(0,Jt.Z)(_r)):po=[].concat((0,Jt.Z)(_r),[ao]),Nr(po),Nn&&Nn(!xo,Yr),ir&&ir(po)},[it,_r,ge,Nn,ir]);return[It,Rn,_r,_n,zn,zr]}function ht(ye,ge,it){var It=ye.map(function(Qt,on){return Et(on,on,ye,ge,it)});return(0,ue.Z)(function(){return It},[It],function(Qt,on){return!(0,Fe.Z)(Qt,on)})}function Ye(ye){var ge=(0,b.useRef)(ye),it=(0,b.useState)({}),It=(0,tt.Z)(it,2),Qt=It[1],on=(0,b.useRef)(null),wn=(0,b.useRef)([]);function bn(On){wn.current.push(On);var Nn=Promise.resolve();on.current=Nn,Nn.then(function(){if(on.current===Nn){var ir=wn.current,er=ge.current;wn.current=[],ir.forEach(function(_n){ge.current=_n(ge.current)}),on.current=null,er!==ge.current&&Qt({})}})}return(0,b.useEffect)(function(){return function(){on.current=null}},[]),[ge.current,bn]}function St(ye){var ge=(0,b.useRef)(ye||null),it=(0,b.useRef)();function It(){window.clearTimeout(it.current)}function Qt(wn){ge.current=wn,It(),it.current=window.setTimeout(function(){ge.current=null,it.current=void 0},100)}function on(){return ge.current}return(0,b.useEffect)(function(){return It},[]),[Qt,on]}function _t(){var ye=b.useState(-1),ge=(0,tt.Z)(ye,2),it=ge[0],It=ge[1],Qt=b.useState(-1),on=(0,tt.Z)(Qt,2),wn=on[0],bn=on[1],On=b.useCallback(function(Nn,ir){It(Nn),bn(ir)},[]);return[it,wn,On]}var tr=z(47273),ar=(0,tr.Z)()?window:null;function bt(ye,ge){var it=(0,at.Z)(ye)==="object"?ye:{},It=it.offsetHeader,Qt=It===void 0?0:It,on=it.offsetSummary,wn=on===void 0?0:on,bn=it.offsetScroll,On=bn===void 0?0:bn,Nn=it.getContainer,ir=Nn===void 0?function(){return ar}:Nn,er=ir()||ar,_n=!!ye;return b.useMemo(function(){return{isSticky:_n,stickyClassName:_n?"".concat(ge,"-sticky-holder"):"",offsetHeader:Qt,offsetSummary:wn,offsetScroll:On,container:er}},[_n,On,Qt,wn,ge,er])}function xt(ye,ge,it){var It=(0,b.useMemo)(function(){var Qt=ge.length,on=function(Nn,ir,er){for(var _n=[],zn=0,Rn=Nn;Rn!==ir;Rn+=er)_n.push(zn),ge[Rn].fixed&&(zn+=ye[Rn]||0);return _n},wn=on(0,Qt,1),bn=on(Qt-1,-1,-1).reverse();return it==="rtl"?{left:bn,right:wn}:{left:wn,right:bn}},[ye,ge,it]);return It}var Ft=xt;function Kt(ye){var ge=ye.className,it=ye.children;return b.createElement("div",{className:ge},it)}var Pn=Kt,Tn=z(8224),kn=z(16089),Kn=z(76846);function pr(ye){var ge=(0,Kn.bn)(ye),it=ge.getBoundingClientRect(),It=document.documentElement;return{left:it.left+(window.pageXOffset||It.scrollLeft)-(It.clientLeft||document.body.clientLeft||0),top:it.top+(window.pageYOffset||It.scrollTop)-(It.clientTop||document.body.clientTop||0)}}var Ar=function(ge,it){var It,Qt,on=ge.scrollBodyRef,wn=ge.onScroll,bn=ge.offsetScroll,On=ge.container,Nn=ge.direction,ir=fe(ft,"prefixCls"),er=((It=on.current)===null||It===void 0?void 0:It.scrollWidth)||0,_n=((Qt=on.current)===null||Qt===void 0?void 0:Qt.clientWidth)||0,zn=er&&_n*(_n/er),Rn=b.useRef(),Or=Ye({scrollLeft:0,isHiddenScrollBar:!0}),cr=(0,tt.Z)(Or,2),Hr=cr[0],Nr=cr[1],_r=b.useRef({delta:0,x:0}),zr=b.useState(!1),Yr=(0,tt.Z)(zr,2),ao=Yr[0],po=Yr[1],xo=b.useRef(null);b.useEffect(function(){return function(){kn.Z.cancel(xo.current)}},[]);var Qo=function(){po(!1)},Gr=function(to){to.persist(),_r.current.delta=to.pageX-Hr.scrollLeft,_r.current.x=0,po(!0),to.preventDefault()},jr=function(to){var go,Do=to||((go=window)===null||go===void 0?void 0:go.event),$o=Do.buttons;if(!ao||$o===0){ao&&po(!1);return}var Co=_r.current.x+to.pageX-_r.current.x-_r.current.delta,Fi=Nn==="rtl";Co=Math.max(Fi?zn-_n:0,Math.min(Fi?0:_n-zn,Co));var wi=!Fi||Math.abs(Co)+Math.abs(zn)<_n;wi&&(wn({scrollLeft:Co/_n*(er+2)}),_r.current.x=to.pageX)},oo=function(){kn.Z.cancel(xo.current),xo.current=(0,kn.Z)(function(){if(on.current){var to=pr(on.current).top,go=to+on.current.offsetHeight,Do=On===window?document.documentElement.scrollTop+window.innerHeight:pr(On).top+On.clientHeight;go-(0,Tt.Z)()<=Do||to>=Do-bn?Nr(function($o){return(0,dt.Z)((0,dt.Z)({},$o),{},{isHiddenScrollBar:!0})}):Nr(function($o){return(0,dt.Z)((0,dt.Z)({},$o),{},{isHiddenScrollBar:!1})})}})},Sr=function(to){Nr(function(go){return(0,dt.Z)((0,dt.Z)({},go),{},{scrollLeft:to/er*_n||0})})};return b.useImperativeHandle(it,function(){return{setScrollLeft:Sr,checkScrollBarVisible:oo}}),b.useEffect(function(){var xr=(0,Tn.Z)(document.body,"mouseup",Qo,!1),to=(0,Tn.Z)(document.body,"mousemove",jr,!1);return oo(),function(){xr.remove(),to.remove()}},[zn,ao]),b.useEffect(function(){if(on.current){for(var xr=[],to=(0,Kn.bn)(on.current);to;)xr.push(to),to=to.parentElement;return xr.forEach(function(go){return go.addEventListener("scroll",oo,!1)}),window.addEventListener("resize",oo,!1),window.addEventListener("scroll",oo,!1),On.addEventListener("scroll",oo,!1),function(){xr.forEach(function(go){return go.removeEventListener("scroll",oo)}),window.removeEventListener("resize",oo),window.removeEventListener("scroll",oo),On.removeEventListener("scroll",oo)}}},[On]),b.useEffect(function(){Hr.isHiddenScrollBar||Nr(function(xr){var to=on.current;return to?(0,dt.Z)((0,dt.Z)({},xr),{},{scrollLeft:to.scrollLeft/to.scrollWidth*to.clientWidth}):xr})},[Hr.isHiddenScrollBar]),er<=_n||!zn||Hr.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,Tt.Z)(),width:_n,bottom:bn},className:"".concat(ir,"-sticky-scroll")},b.createElement("div",{onMouseDown:Gr,ref:Rn,className:Ee()("".concat(ir,"-sticky-scroll-bar"),(0,Pe.Z)({},"".concat(ir,"-sticky-scroll-bar-active"),ao)),style:{width:"".concat(zn,"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=[],vo={};function yr(){return"No Data"}function ur(ye,ge){var it=(0,dt.Z)({rowKey:"key",prefixCls:$r,emptyText:yr},ye),It=it.prefixCls,Qt=it.className,on=it.rowClassName,wn=it.style,bn=it.data,On=it.rowKey,Nn=it.scroll,ir=it.tableLayout,er=it.direction,_n=it.title,zn=it.footer,Rn=it.summary,Or=it.caption,cr=it.id,Hr=it.showHeader,Nr=it.components,_r=it.emptyText,zr=it.onRow,Yr=it.onHeaderRow,ao=it.onScroll,po=it.internalHooks,xo=it.transformColumns,Qo=it.internalRefs,Gr=it.tailor,jr=it.getContainerWidth,oo=it.sticky,Sr=it.rowHoverable,xr=Sr===void 0?!0:Sr,to=bn||Xr,go=!!to.length,Do=po===de,$o=b.useCallback(function(oa,ua){return(0,Ct.Z)(Nr,oa)||ua},[Nr]),Co=b.useMemo(function(){return typeof On=="function"?On:function(oa){var ua=oa&&oa[On];return ua}},[On]),Fi=$o(["body"]),wi=_t(),ca=(0,tt.Z)(wi,3),Qi=ca[0],ia=ca[1],ma=ca[2],ga=Re(it,to,Co),Ti=(0,tt.Z)(ga,6),ki=Ti[0],Ia=Ti[1],Na=Ti[2],oi=Ti[3],Ai=Ti[4],ti=Ti[5],Ho=Nn==null?void 0:Nn.x,ji=b.useState(0),$i=(0,tt.Z)(ji,2),ya=$i[0],qi=$i[1],ka=zt((0,dt.Z)((0,dt.Z)((0,dt.Z)({},it),ki),{},{expandable:!!ki.expandedRowRender,columnTitle:ki.columnTitle,expandedKeys:Na,getRowKey:Co,onTriggerExpand:ti,expandIcon:oi,expandIconColumnIndex:ki.expandIconColumnIndex,direction:er,scrollWidth:Do&&Gr&&typeof Ho=="number"?Ho:null,clientWidth:ya}),Do?xo:null),Sa=(0,tt.Z)(ka,4),ui=Sa[0],gi=Sa[1],ea=Sa[2],aa=Sa[3],la=ea!=null?ea:Ho,za=b.useMemo(function(){return{columns:ui,flattenColumns:gi}},[ui,gi]),ba=b.useRef(),il=b.useRef(),va=b.useRef(),Vi=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(Ht(Fl)){var ys;(ys=va.current)===null||ys===void 0||ys.scrollTo({top:Fl})}else{var ds,Ns=Ms!=null?Ms:Co(to[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,tt.Z)(Ca,2),La=Ha[0],Gi=Ha[1],Aa=b.useState(!1),na=(0,tt.Z)(Aa,2),al=na[0],ja=na[1],dl=b.useState(new Map),pl=(0,tt.Z)(dl,2),Wl=pl[0],xa=pl[1],cs=gt(gi),fl=cs.map(function(oa){return Wl.get(oa)}),Ll=b.useMemo(function(){return fl},[fl.join("_")]),Pl=Ft(Ll,gi,er),Di=Nn&&Gt(Nn.y),ni=Nn&&Gt(la)||!!ki.fixed,Ra=ni&&gi.some(function(oa){var ua=oa.fixed;return ua}),gl=b.useRef(),Rl=bt(oo,It),Jl=Rl.isSticky,Is=Rl.offsetHeader,Bs=Rl.offsetSummary,Zs=Rl.offsetScroll,ra=Rl.stickyClassName,Zi=Rl.container,Zo=b.useMemo(function(){return Rn==null?void 0:Rn(to)},[Rn,to]),yi=(Di||Jl)&&b.isValidElement(Zo)&&Zo.type===De&&Zo.props.fixed,Yi,Ua,yl;Di&&(Ua={overflowY:go?"scroll":"auto",maxHeight:Nn.y}),ni&&(Yi={overflowX:"auto"},Di||(Ua={overflowY:"hidden"}),yl={width:la===!0?"auto":la,minWidth:"100%"});var hl=b.useCallback(function(oa,ua){xa(function(Bl){if(Bl.get(oa)!==ua){var jl=new Map(Bl);return jl.set(oa,ua),jl}return Bl})},[]),ts=St(null),Il=(0,tt.Z)(ts,2),Fs=Il[0],tu=Il[1];function Hs(oa,ua){ua&&(typeof ua=="function"?ua(oa):ua.scrollLeft!==oa&&(ua.scrollLeft=oa,ua.scrollLeft!==oa&&setTimeout(function(){ua.scrollLeft=oa},0)))}var Ss=(0,Oe.Z)(function(oa){var ua=oa.currentTarget,Bl=oa.scrollLeft,jl=er==="rtl",Fl=typeof Bl=="number"?Bl:ua.scrollLeft,Ms=ua||vo;if(!tu()||tu()===Ms){var ys;Fs(Ms),Hs(Fl,il.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||il.current;if(ds){var Ns=Do&&Gr&&typeof la=="number"?la:ds.scrollWidth,hu=ds.clientWidth;if(Ns===hu){Gi(!1),ja(!1);return}jl?(Gi(-Fl<Ns-hu),ja(-Fl>0)):(Gi(Fl>0),ja(Fl<Ns-hu))}}),Xs=(0,Oe.Z)(function(oa){Ss(oa),ao==null||ao(oa)}),Es=function(){if(ni&&va.current){var ua;Ss({currentTarget:(0,Kn.bn)(va.current),scrollLeft:(ua=va.current)===null||ua===void 0?void 0:ua.scrollLeft})}else Gi(!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;Do&&jr&&ba.current&&(Fl=jr(ba.current,Fl)||Fl),Fl!==ya&&(Es(),qi(Fl))},Qs=b.useRef(!1);b.useEffect(function(){Qs.current&&Es()},[ni,bn,ui.length]),b.useEffect(function(){Qs.current=!0},[]);var ru=b.useState(0),gu=(0,tt.Z)(ru,2),gs=gu[0],ou=gu[1],Du=b.useState(!0),iu=(0,tt.Z)(Du,2),Ws=iu[0],Pu=iu[1];(0,be.Z)(function(){(!Gr||!Do)&&(va.current instanceof Element?ou((0,Tt.o)(va.current).width):ou((0,Tt.o)(Vi.current).width)),Pu((0,Pt.G)("position","sticky"))},[]),b.useEffect(function(){Do&&Qo&&(Qo.body.current=va.current)});var Iu=b.useCallback(function(oa){return b.createElement(b.Fragment,null,b.createElement(sn,oa),yi==="top"&&b.createElement(Qe,oa,Zo))},[yi,Zo]),zs=b.useCallback(function(oa){return b.createElement(Qe,oa,Zo)},[Zo]),au=$o(["table"],"table"),js=b.useMemo(function(){return ir||(Ra?la==="max-content"?"auto":"fixed":Di||Jl||gi.some(function(oa){var ua=oa.ellipsis;return ua})?"fixed":"auto")},[Di,Ra,gi,ir,Jl]),lu,Vs={colWidths:Ll,columCount:gi.length,stickyOffsets:Pl,onHeaderRow:Yr,fixHeader:Di,scroll:Nn},su=b.useMemo(function(){return go?null:typeof _r=="function"?_r():_r},[go,_r]),yu=b.createElement(dn,{data:to,measureColumnWidth:Di||ni||Jl}),uu=b.createElement(dr,{colWidths:gi.map(function(oa){var ua=oa.width;return ua}),columns:gi}),cu=Or!=null?b.createElement("caption",{className:"".concat(It,"-caption")},Or):void 0,Bu=(0,Le.Z)(it,{data:!0}),Js=(0,Le.Z)(it,{aria:!0});if(Di||Jl){var ws;typeof Fi=="function"?(ws=Fi(to,{scrollbarSize:gs,ref:va,onScroll:Ss}),Vs.colWidths=gi.map(function(oa,ua){var Bl=oa.width,jl=ua===gi.length-1?Bl-gs:Bl;return typeof jl=="number"&&!Number.isNaN(jl)?jl:0})):ws=b.createElement("div",{style:(0,dt.Z)((0,dt.Z)({},Yi),Ua),onScroll:Xs,ref:va,className:Ee()("".concat(It,"-body"))},b.createElement(au,(0,Ge.Z)({style:(0,dt.Z)((0,dt.Z)({},yl),{},{tableLayout:js})},Js),cu,uu,yu,!yi&&Zo&&b.createElement(Qe,{stickyOffsets:Pl,flattenColumns:gi},Zo)));var Os=(0,dt.Z)((0,dt.Z)((0,dt.Z)({noData:!to.length,maxContentScroll:ni&&la==="max-content"},Vs),za),{},{direction:er,stickyClassName:ra,onScroll:Ss});lu=b.createElement(b.Fragment,null,Hr!==!1&&b.createElement(jn,(0,Ge.Z)({},Os,{stickyTopOffset:Is,className:"".concat(It,"-header"),ref:il}),Iu),ws,yi&&yi!=="top"&&b.createElement(jn,(0,Ge.Z)({},Os,{stickyBottomOffset:Bs,className:"".concat(It,"-summary"),ref:ha}),zs),Jl&&va.current&&va.current instanceof Element&&b.createElement(Vr,{ref:gl,offsetScroll:Zs,scrollBodyRef:va,onScroll:Ss,container:Zi,direction:er}))}else lu=b.createElement("div",{style:(0,dt.Z)((0,dt.Z)({},Yi),Ua),className:Ee()("".concat(It,"-content")),onScroll:Ss,ref:va},b.createElement(au,(0,Ge.Z)({style:(0,dt.Z)((0,dt.Z)({},yl),{},{tableLayout:js})},Js),cu,uu,Hr!==!1&&b.createElement(sn,(0,Ge.Z)({},Vs,za)),yu,Zo&&b.createElement(Qe,{stickyOffsets:Pl,flattenColumns:gi},Zo)));var du=b.createElement("div",(0,Ge.Z)({className:Ee()(It,Qt,(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(It,"-rtl"),er==="rtl"),"".concat(It,"-ping-left"),La),"".concat(It,"-ping-right"),al),"".concat(It,"-layout-fixed"),ir==="fixed"),"".concat(It,"-fixed-header"),Di),"".concat(It,"-fixed-column"),Ra),"".concat(It,"-fixed-column-gapped"),Ra&&aa),"".concat(It,"-scroll-horizontal"),ni),"".concat(It,"-has-fix-left"),gi[0]&&gi[0].fixed),"".concat(It,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right")),style:wn,id:cr,ref:ba},Bu),_n&&b.createElement(Pn,{className:"".concat(It,"-title")},_n(to)),b.createElement("div",{ref:Vi,className:"".concat(It,"-container")},lu),zn&&b.createElement(Pn,{className:"".concat(It,"-footer")},zn(to)));ni&&(du=b.createElement(pt.Z,{onResize:nu},du));var fu=ht(gi,Pl,er),Fu=b.useMemo(function(){return{scrollX:la,prefixCls:It,getComponent:$o,scrollbarSize:gs,direction:er,fixedInfoList:fu,isSticky:Jl,supportSticky:Ws,componentWidth:ya,fixHeader:Di,fixColumn:Ra,horizonScroll:ni,tableLayout:js,rowClassName:on,expandedRowClassName:ki.expandedRowClassName,expandIcon:oi,expandableType:Ia,expandRowByClick:ki.expandRowByClick,expandedRowRender:ki.expandedRowRender,onTriggerExpand:ti,expandIconColumnIndex:ki.expandIconColumnIndex,indentSize:ki.indentSize,allColumnsFixedLeft:gi.every(function(oa){return oa.fixed==="left"}),emptyNode:su,columns:ui,flattenColumns:gi,onColumnResize:hl,hoverStartRow:Qi,hoverEndRow:ia,onHover:ma,rowExpandable:ki.rowExpandable,onRow:zr,getRowKey:Co,expandedKeys:Na,childrenColumnName:Ai,rowHoverable:xr}},[la,It,$o,gs,er,fu,Jl,Ws,ya,Di,Ra,ni,js,on,ki.expandedRowClassName,oi,Ia,ki.expandRowByClick,ki.expandedRowRender,ti,ki.expandIconColumnIndex,ki.indentSize,su,ui,gi,hl,Qi,ia,ma,ki.rowExpandable,zr,Co,Na,Ai,xr]);return b.createElement(ft.Provider,{value:Fu},du)}var gr=b.forwardRef(ur);function no(ye){return Nt(gr,ye)}var Kr=no();Kr.EXPAND_COLUMN=xe,Kr.INTERNAL_HOOKS=de,Kr.Column=fr,Kr.ColumnGroup=kr,Kr.Summary=Ie;var wr=Kr,Rr=z(48911),mo=Be(null),Qr=Be(null);function qr(ye,ge,it){var It=ge||1;return it[ye+It]-(it[ye]||0)}function eo(ye){var ge=ye.rowInfo,it=ye.column,It=ye.colIndex,Qt=ye.indent,on=ye.index,wn=ye.component,bn=ye.renderIndex,On=ye.record,Nn=ye.style,ir=ye.className,er=ye.inverse,_n=ye.getHeight,zn=it.render,Rn=it.dataIndex,Or=it.className,cr=it.width,Hr=fe(Qr,["columnsOffset"]),Nr=Hr.columnsOffset,_r=vt(ge,it,It,Qt,on),zr=_r.key,Yr=_r.fixedInfo,ao=_r.appendCellNode,po=_r.additionalCellProps,xo=po.style,Qo=po.colSpan,Gr=Qo===void 0?1:Qo,jr=po.rowSpan,oo=jr===void 0?1:jr,Sr=It-1,xr=qr(Sr,Gr,Nr),to=Gr>1?cr-xr:0,go=(0,dt.Z)((0,dt.Z)((0,dt.Z)({},xo),Nn),{},{flex:"0 0 ".concat(xr,"px"),width:"".concat(xr,"px"),marginRight:to,pointerEvents:"auto"}),Do=b.useMemo(function(){return er?oo<=1:Gr===0||oo===0||oo>1},[oo,Gr,er]);Do?go.visibility="hidden":er&&(go.height=_n==null?void 0:_n(oo));var $o=Do?function(){return null}:zn,Co={};return(oo===0||Gr===0)&&(Co.rowSpan=1,Co.colSpan=1),b.createElement(ln,(0,Ge.Z)({className:Ee()(Or,ir),ellipsis:it.ellipsis,align:it.align,scope:it.rowScope,component:wn,prefixCls:ge.prefixCls,key:zr,record:On,index:on,renderIndex:bn,dataIndex:Rn,render:$o,shouldCellUpdate:it.shouldCellUpdate},Yr,{appendNode:ao,additionalProps:(0,dt.Z)((0,dt.Z)({},po),{},{style:go},Co)}))}var ko=eo,_o=["data","index","className","rowKey","style","extra","getHeight"],qo=b.forwardRef(function(ye,ge){var it=ye.data,It=ye.index,Qt=ye.className,on=ye.rowKey,wn=ye.style,bn=ye.extra,On=ye.getHeight,Nn=(0,ae.Z)(ye,_o),ir=it.record,er=it.indent,_n=it.index,zn=fe(ft,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Rn=zn.scrollX,Or=zn.flattenColumns,cr=zn.prefixCls,Hr=zn.fixColumn,Nr=zn.componentWidth,_r=fe(mo,["getComponent"]),zr=_r.getComponent,Yr=Wt(ir,on,It,er),ao=zr(["body","row"],"div"),po=zr(["body","cell"],"div"),xo=Yr.rowSupportExpand,Qo=Yr.expanded,Gr=Yr.rowProps,jr=Yr.expandedRowRender,oo=Yr.expandedRowClassName,Sr;if(xo&&Qo){var xr=jr(ir,It,er+1,Qo),to=mn(oo,ir,It,er),go={};Hr&&(go={style:(0,Pe.Z)({},"--virtual-width","".concat(Nr,"px"))});var Do="".concat(cr,"-expanded-row-cell");Sr=b.createElement(ao,{className:Ee()("".concat(cr,"-expanded-row"),"".concat(cr,"-expanded-row-level-").concat(er+1),to)},b.createElement(ln,{component:po,prefixCls:cr,className:Ee()(Do,(0,Pe.Z)({},"".concat(Do,"-fixed"),Hr)),additionalProps:go},xr))}var $o=(0,dt.Z)((0,dt.Z)({},wn),{},{width:Rn});bn&&($o.position="absolute",$o.pointerEvents="none");var Co=b.createElement(ao,(0,Ge.Z)({},Gr,Nn,{"data-row-key":on,ref:xo?null:ge,className:Ee()(Qt,"".concat(cr,"-row"),Gr==null?void 0:Gr.className,(0,Pe.Z)({},"".concat(cr,"-row-extra"),bn)),style:(0,dt.Z)((0,dt.Z)({},$o),Gr==null?void 0:Gr.style)}),Or.map(function(Fi,wi){return b.createElement(ko,{key:wi,component:po,rowInfo:Yr,column:Fi,colIndex:wi,indent:er,index:It,renderIndex:_n,record:ir,inverse:bn,getHeight:On})}));return xo?b.createElement("div",{ref:ge},Co,Sr):Co}),Lo=Ut(qo),ii=Lo,ke=b.forwardRef(function(ye,ge){var it=ye.data,It=ye.onScroll,Qt=fe(ft,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),on=Qt.flattenColumns,wn=Qt.onColumnResize,bn=Qt.getRowKey,On=Qt.expandedKeys,Nn=Qt.prefixCls,ir=Qt.childrenColumnName,er=Qt.scrollX,_n=Qt.direction,zn=fe(mo),Rn=zn.sticky,Or=zn.scrollY,cr=zn.listItemHeight,Hr=zn.getComponent,Nr=zn.onScroll,_r=b.useRef(),zr=pn(it,ir,On,bn),Yr=b.useMemo(function(){var Sr=0;return on.map(function(xr){var to=xr.width,go=xr.key;return Sr+=to,[go,to,Sr]})},[on]),ao=b.useMemo(function(){return Yr.map(function(Sr){return Sr[2]})},[Yr]);b.useEffect(function(){Yr.forEach(function(Sr){var xr=(0,tt.Z)(Sr,2),to=xr[0],go=xr[1];wn(to,go)})},[Yr]),b.useImperativeHandle(ge,function(){var Sr,xr={scrollTo:function(go){var Do;(Do=_r.current)===null||Do===void 0||Do.scrollTo(go)},nativeElement:(Sr=_r.current)===null||Sr===void 0?void 0:Sr.nativeElement};return Object.defineProperty(xr,"scrollLeft",{get:function(){var go;return((go=_r.current)===null||go===void 0?void 0:go.getScrollInfo().x)||0},set:function(go){var Do;(Do=_r.current)===null||Do===void 0||Do.scrollTo({left:go})}}),xr});var po=function(xr,to){var go,Do=(go=zr[to])===null||go===void 0?void 0:go.record,$o=xr.onCell;if($o){var Co,Fi=$o(Do,to);return(Co=Fi==null?void 0:Fi.rowSpan)!==null&&Co!==void 0?Co:1}return 1},xo=function(xr){var to=xr.start,go=xr.end,Do=xr.getSize,$o=xr.offsetY;if(go<0)return null;for(var Co=on.filter(function(oi){return po(oi,to)===0}),Fi=to,wi=function(Ai){if(Co=Co.filter(function(ti){return po(ti,Ai)===0}),!Co.length)return Fi=Ai,1},ca=to;ca>=0&&!wi(ca);ca-=1);for(var Qi=on.filter(function(oi){return po(oi,go)!==1}),ia=go,ma=function(Ai){if(Qi=Qi.filter(function(ti){return po(ti,Ai)!==1}),!Qi.length)return ia=Math.max(Ai-1,go),1},ga=go;ga<zr.length&&!ma(ga);ga+=1);for(var Ti=[],ki=function(Ai){var ti=zr[Ai];if(!ti)return 1;on.some(function(Ho){return po(Ho,Ai)>1})&&Ti.push(Ai)},Ia=Fi;Ia<=ia;Ia+=1)ki(Ia);var Na=Ti.map(function(oi){var Ai=zr[oi],ti=bn(Ai.record,oi),Ho=function(ya){var qi=oi+ya-1,ka=bn(zr[qi].record,qi),Sa=Do(ti,ka);return Sa.bottom-Sa.top},ji=Do(ti);return b.createElement(ii,{key:oi,data:Ai,rowKey:ti,index:oi,style:{top:-$o+ji.top},extra:!0,getHeight:Ho})});return Na},Qo=b.useMemo(function(){return{columnsOffset:ao}},[ao]),Gr="".concat(Nn,"-tbody"),jr=Hr(["body","wrapper"]),oo={};return Rn&&(oo.position="sticky",oo.bottom=0,(0,at.Z)(Rn)==="object"&&Rn.offsetScroll&&(oo.bottom=Rn.offsetScroll)),b.createElement(Qr.Provider,{value:Qo},b.createElement(Rr.Z,{fullHeight:!1,ref:_r,prefixCls:"".concat(Gr,"-virtual"),styles:{horizontalScrollBar:oo},className:Gr,height:Or,itemHeight:cr||24,data:zr,itemKey:function(xr){return bn(xr.record)},component:jr,scrollWidth:er,direction:_n,onVirtualScroll:function(xr){var to,go=xr.x;It({currentTarget:(to=_r.current)===null||to===void 0?void 0:to.nativeElement,scrollLeft:go})},onScroll:Nr,extraRender:xo},function(Sr,xr,to){var go=bn(Sr.record,xr);return b.createElement(ii,{data:Sr,rowKey:go,index:xr,style:to.style})}))}),nt=Ut(ke),Mt=nt,un=function(ge,it){var It=it.ref,Qt=it.onScroll;return b.createElement(Mt,{ref:It,data:ge,onScroll:Qt})};function fn(ye,ge){var it=ye.data,It=ye.columns,Qt=ye.scroll,on=ye.sticky,wn=ye.prefixCls,bn=wn===void 0?$r:wn,On=ye.className,Nn=ye.listItemHeight,ir=ye.components,er=ye.onScroll,_n=Qt||{},zn=_n.x,Rn=_n.y;typeof zn!="number"&&(zn=1),typeof Rn!="number"&&(Rn=500);var Or=(0,lt.zX)(function(Nr,_r){return(0,Ct.Z)(ir,Nr)||_r}),cr=(0,lt.zX)(er),Hr=b.useMemo(function(){return{sticky:on,scrollY:Rn,listItemHeight:Nn,getComponent:Or,onScroll:cr}},[on,Rn,Nn,Or,cr]);return b.createElement(mo.Provider,{value:Hr},b.createElement(wr,(0,Ge.Z)({},ye,{className:Ee()(On,"".concat(bn,"-virtual")),scroll:(0,dt.Z)((0,dt.Z)({},Qt),{},{x:zn}),components:(0,dt.Z)((0,dt.Z)({},ir),{},{body:it!=null&&it.length?un:void 0}),columns:It,internalHooks:de,tailor:!0,ref:ge})))}var Rt=b.forwardRef(fn);function ot(ye){return Nt(Rt,ye)}var Ot=ot(),en=null,Zn=ye=>null,Hn=ye=>null,$n=z(84105),Cr=z(82661),br=z(34643),Wr=z(34061),Jr=z(18929);function yo(ye){const[ge,it]=(0,b.useState)(null);return[(0,b.useCallback)((on,wn,bn)=>{const On=ge!=null?ge:on,Nn=Math.min(On||0,on),ir=Math.max(On||0,on),er=wn.slice(Nn,ir+1).map(Rn=>ye(Rn)),_n=er.some(Rn=>!bn.has(Rn)),zn=[];return er.forEach(Rn=>{_n?(bn.has(Rn)||zn.push(Rn),bn.add(Rn)):(bn.delete(Rn),zn.push(Rn))}),it(_n?ir:null),zn},[ge]),on=>{it(on)}]}var io=z(32383),Io=z(62673),co=z(75727),fo=z(47889);const bo={},Bo="SELECT_ALL",ri="SELECT_INVERT",Si="SELECT_NONE",bi=[],Ki=(ye,ge)=>{let it=[];return(ge||[]).forEach(It=>{it.push(It),It&&typeof It=="object"&&ye in It&&(it=[].concat((0,Jt.Z)(it),(0,Jt.Z)(Ki(ye,It[ye]))))}),it};var Mo=(ye,ge)=>{const{preserveSelectedRowKeys:it,selectedRowKeys:It,defaultSelectedRowKeys:Qt,getCheckboxProps:on,onChange:wn,onSelect:bn,onSelectAll:On,onSelectInvert:Nn,onSelectNone:ir,onSelectMultiple:er,columnWidth:_n,type:zn,selections:Rn,fixed:Or,renderCell:cr,hideSelectAll:Hr,checkStrictly:Nr=!0}=ge||{},{prefixCls:_r,data:zr,pageData:Yr,getRecordByKey:ao,getRowKey:po,expandType:xo,childrenColumnName:Qo,locale:Gr,getPopupContainer:jr}=ye,oo=(0,io.ln)("Table"),[Sr,xr]=yo(oi=>oi),[to,go]=(0,Jr.Z)(It||Qt||bi,{value:It}),Do=b.useRef(new Map),$o=(0,b.useCallback)(oi=>{if(it){const Ai=new Map;oi.forEach(ti=>{let Ho=ao(ti);!Ho&&Do.current.has(ti)&&(Ho=Do.current.get(ti)),Ai.set(ti,Ho)}),Do.current=Ai}},[ao,it]);b.useEffect(()=>{$o(to)},[to]);const Co=(0,b.useMemo)(()=>Ki(Qo,Yr),[Qo,Yr]),{keyEntities:Fi}=(0,b.useMemo)(()=>{if(Nr)return{keyEntities:null};let oi=zr;if(it){const Ai=new Set(Co.map((Ho,ji)=>po(Ho,ji))),ti=Array.from(Do.current).reduce((Ho,ji)=>{let[$i,ya]=ji;return Ai.has($i)?Ho:Ho.concat(ya)},[]);oi=[].concat((0,Jt.Z)(oi),(0,Jt.Z)(ti))}return(0,Wr.I8)(oi,{externalGetKey:po,childrenPropName:Qo})},[zr,po,Nr,Qo,it,Co]),wi=(0,b.useMemo)(()=>{const oi=new Map;return Co.forEach((Ai,ti)=>{const Ho=po(Ai,ti),ji=(on?on(Ai):null)||{};oi.set(Ho,ji)}),oi},[Co,po,on]),ca=(0,b.useCallback)(oi=>{const Ai=po(oi);let ti;return wi.has(Ai)?ti=wi.get(po(oi)):ti=on?on(oi):void 0,!!(ti!=null&&ti.disabled)},[wi,po]),[Qi,ia]=(0,b.useMemo)(()=>{if(Nr)return[to||[],[]];const{checkedKeys:oi,halfCheckedKeys:Ai}=(0,br.S)(to,!0,Fi,ca);return[oi||[],Ai]},[to,Nr,Fi,ca]),ma=(0,b.useMemo)(()=>{const oi=zn==="radio"?Qi.slice(0,1):Qi;return new Set(oi)},[Qi,zn]),ga=(0,b.useMemo)(()=>zn==="radio"?new Set:new Set(ia),[ia,zn]);b.useEffect(()=>{ge||go(bi)},[!!ge]);const Ti=(0,b.useCallback)((oi,Ai)=>{let ti,Ho;$o(oi),it?(ti=oi,Ho=oi.map(ji=>Do.current.get(ji))):(ti=[],Ho=[],oi.forEach(ji=>{const $i=ao(ji);$i!==void 0&&(ti.push(ji),Ho.push($i))})),go(ti),wn==null||wn(ti,Ho,{type:Ai})},[go,ao,wn,it]),ki=(0,b.useCallback)((oi,Ai,ti,Ho)=>{if(bn){const ji=ti.map($i=>ao($i));bn(ao(oi),Ai,ji,Ho)}Ti(ti,"single")},[bn,ao,Ti]),Ia=(0,b.useMemo)(()=>!Rn||Hr?null:(Rn===!0?[Bo,ri,Si]:Rn).map(Ai=>Ai===Bo?{key:"all",text:Gr.selectionAll,onSelect(){Ti(zr.map((ti,Ho)=>po(ti,Ho)).filter(ti=>{const Ho=wi.get(ti);return!(Ho!=null&&Ho.disabled)||ma.has(ti)}),"all")}}:Ai===ri?{key:"invert",text:Gr.selectInvert,onSelect(){const ti=new Set(ma);Yr.forEach((ji,$i)=>{const ya=po(ji,$i),qi=wi.get(ya);qi!=null&&qi.disabled||(ti.has(ya)?ti.delete(ya):ti.add(ya))});const Ho=Array.from(ti);Nn&&(oo.deprecated(!1,"onSelectInvert","onChange"),Nn(Ho)),Ti(Ho,"invert")}}:Ai===Si?{key:"none",text:Gr.selectNone,onSelect(){ir==null||ir(),Ti(Array.from(ma).filter(ti=>{const Ho=wi.get(ti);return Ho==null?void 0:Ho.disabled}),"none")}}:Ai).map(Ai=>Object.assign(Object.assign({},Ai),{onSelect:function(){for(var ti,Ho,ji=arguments.length,$i=new Array(ji),ya=0;ya<ji;ya++)$i[ya]=arguments[ya];(Ho=Ai.onSelect)===null||Ho===void 0||(ti=Ho).call.apply(ti,[Ai].concat($i)),xr(null)}})),[Rn,ma,Yr,po,Nn,Ti]);return[(0,b.useCallback)(oi=>{var Ai;if(!ge)return oi.filter(Vi=>Vi!==bo);let ti=(0,Jt.Z)(oi);const Ho=new Set(ma),ji=Co.map(po).filter(Vi=>!wi.get(Vi).disabled),$i=ji.every(Vi=>Ho.has(Vi)),ya=ji.some(Vi=>Ho.has(Vi)),qi=()=>{const Vi=[];$i?ji.forEach(Ca=>{Ho.delete(Ca),Vi.push(Ca)}):ji.forEach(Ca=>{Ho.has(Ca)||(Ho.add(Ca),Vi.push(Ca))});const ha=Array.from(Ho);On==null||On(!$i,ha.map(Ca=>ao(Ca)),Vi.map(Ca=>ao(Ca))),Ti(ha,"all"),xr(null)};let ka,Sa;if(zn!=="radio"){let Vi;if(Ia){const Gi={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(ji)},label:ja}})};Vi=b.createElement("div",{className:`${_r}-selection-extra`},b.createElement(co.Z,{menu:Gi,getPopupContainer:jr},b.createElement("span",null,b.createElement($n.Z,null))))}const ha=Co.map((Gi,Aa)=>{const na=po(Gi,Aa),al=wi.get(na)||{};return Object.assign({checked:Ho.has(na)},al)}).filter(Gi=>{let{disabled:Aa}=Gi;return Aa}),Ca=!!ha.length&&ha.length===Co.length,Ha=Ca&&ha.every(Gi=>{let{checked:Aa}=Gi;return Aa}),La=Ca&&ha.some(Gi=>{let{checked:Aa}=Gi;return Aa});Sa=b.createElement(Io.default,{checked:Ca?Ha:!!Co.length&&$i,indeterminate:Ca?!Ha&&La:!$i&&ya,onChange:qi,disabled:Co.length===0||Ca,"aria-label":Vi?"Custom selection":"Select all",skipGroup:!0}),ka=!Hr&&b.createElement("div",{className:`${_r}-selection`},Sa,Vi)}let ui;zn==="radio"?ui=(Vi,ha,Ca)=>{const Ha=po(ha,Ca),La=Ho.has(Ha),Gi=wi.get(Ha);return{node:b.createElement(fo.ZP,Object.assign({},Gi,{checked:La,onClick:Aa=>{var na;Aa.stopPropagation(),(na=Gi==null?void 0:Gi.onClick)===null||na===void 0||na.call(Gi,Aa)},onChange:Aa=>{var na;Ho.has(Ha)||ki(Ha,!0,[Ha],Aa.nativeEvent),(na=Gi==null?void 0:Gi.onChange)===null||na===void 0||na.call(Gi,Aa)}})),checked:La}}:ui=(Vi,ha,Ca)=>{var Ha;const La=po(ha,Ca),Gi=Ho.has(La),Aa=ga.has(La),na=wi.get(La);let al;return xo==="nest"?al=Aa:al=(Ha=na==null?void 0:na.indeterminate)!==null&&Ha!==void 0?Ha:Aa,{node:b.createElement(Io.default,Object.assign({},na,{indeterminate:al,checked:Gi,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=ji.findIndex(fl=>fl===La),cs=Qi.some(fl=>ji.includes(fl));if(Wl&&Nr&&cs){const fl=Sr(xa,ji,Ho),Ll=Array.from(Ho);er==null||er(!Gi,Ll.map(Pl=>ao(Pl)),fl.map(Pl=>ao(Pl))),Ti(Ll,"multiple")}else{const fl=Qi;if(Nr){const Ll=Gi?(0,Cr._5)(fl,La):(0,Cr.L0)(fl,La);ki(La,!Gi,Ll,pl)}else{const Ll=(0,br.S)([].concat((0,Jt.Z)(fl),[La]),!0,Fi,ca),{checkedKeys:Pl,halfCheckedKeys:Di}=Ll;let ni=Pl;if(Gi){const Ra=new Set(Pl);Ra.delete(La),ni=(0,br.S)(Array.from(Ra),{checked:!1,halfCheckedKeys:Di},Fi,ca).checkedKeys}ki(La,!Gi,ni,pl)}}xr(Gi?null:xa),(dl=na==null?void 0:na.onChange)===null||dl===void 0||dl.call(na,ja)}})),checked:Gi}};const gi=(Vi,ha,Ca)=>{const{node:Ha,checked:La}=ui(Vi,ha,Ca);return cr?cr(La,ha,Ca,Ha):Ha};if(!ti.includes(bo))if(ti.findIndex(Vi=>{var ha;return((ha=Vi[Qn])===null||ha===void 0?void 0:ha.columnType)==="EXPAND_COLUMN"})===0){const[Vi,...ha]=ti;ti=[Vi,bo].concat((0,Jt.Z)(ha))}else ti=[bo].concat((0,Jt.Z)(ti));const ea=ti.indexOf(bo);ti=ti.filter((Vi,ha)=>Vi!==bo||ha===ea);const aa=ti[ea-1],la=ti[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&&((Ai=aa[Qn])===null||Ai===void 0?void 0:Ai.columnType)==="EXPAND_COLUMN"&&aa.fixed===void 0&&(aa.fixed=za);const ba=Ee()(`${_r}-selection-col`,{[`${_r}-selection-col-with-dropdown`]:Rn&&zn==="checkbox"}),il=()=>ge!=null&&ge.columnTitle?typeof ge.columnTitle=="function"?ge.columnTitle(Sa):ge.columnTitle:ka,va={fixed:za,width:_n,className:`${_r}-selection-column`,title:il(),render:gi,onCell:ge.onCell,[Qn]:{className:ba}};return ti.map(Vi=>Vi===bo?va:Vi)},[po,Co,ge,Qi,ma,ga,_n,Ia,xo,wi,er,ki,ca]),ma]},Wi=z(2738);function zi(ye,ge){return ye._antProxy=ye._antProxy||{},Object.keys(ge).forEach(it=>{if(!(it in ye._antProxy)){const It=ye[it];ye._antProxy[it]=It,ye[it]=ge[it]}}),ye}function Xi(ye,ge){return(0,b.useImperativeHandle)(ye,()=>{const it=ge(),{nativeElement:It}=it;return typeof Proxy!="undefined"?new Proxy(It,{get(Qt,on){return it[on]?it[on]:Reflect.get(Qt,on)}}):zi(It,it)})}var Wa=z(83010),Pa=z(48755),Ta=z(38406),Ba=z(83397),Ui=z(31756),Fa=z(13783),ul=z(85981),Ja=z(31709),Ji=z(29787),Nl=z(57700);function El(ye){return ge=>{const{prefixCls:it,onExpand:It,record:Qt,expanded:on,expandable:wn}=ge,bn=`${it}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:On=>{It(Qt,On),On.stopPropagation()},className:Ee()(bn,{[`${bn}-spaced`]:!wn,[`${bn}-expanded`]:wn&&on,[`${bn}-collapsed`]:wn&&!on}),"aria-label":on?ye.collapse:ye.expand,"aria-expanded":on})}}var hi=El;function mi(ye){return(it,It)=>{const Qt=it.querySelector(`.${ye}-container`);let on=It;if(Qt){const wn=getComputedStyle(Qt),bn=parseInt(wn.borderLeftWidth,10),On=parseInt(wn.borderRightWidth,10);on=It-bn-On}return on}}const wo=(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 ho(ye,ge){return ge?`${ge}-${ye}`:`${ye}`}const To=(ye,ge)=>typeof ye=="function"?ye(ge):ye,si=(ye,ge)=>{const it=To(ye,ge);return Object.prototype.toString.call(it)==="[object Object]"?"":it};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"},Ri=da,Li=z(7657),Oi=function(ge,it){return b.createElement(Li.Z,(0,Ge.Z)({},ge,{ref:it,icon:Ri}))},pa=b.forwardRef(Oi),Ea=pa,Oa=z(9981),Ya=z(40192);function Ii(ye){const ge=b.useRef(ye),it=(0,Ya.Z)();return[()=>ge.current,It=>{ge.current=It,it()}]}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:it,tablePrefixCls:It,locale:Qt,onChange:on}=ye;return it?b.createElement("div",{className:`${It}-filter-dropdown-search`},b.createElement(xl.Z,{prefix:b.createElement(Al.Z,null),placeholder:Qt.filterSearchPlaceholder,onChange:on,value:ge,htmlSize:1,className:`${It}-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:it=>it.stopPropagation(),onKeyDown:ns,ref:ge},ye.children));function Dl(ye){let ge=[];return(ye||[]).forEach(it=>{let{value:It,children:Qt}=it;ge.push(It),Qt&&(ge=[].concat((0,Jt.Z)(ge),(0,Jt.Z)(Dl(Qt))))}),ge}function Gl(ye){return ye.some(ge=>{let{children:it}=ge;return it})}function os(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:it,filteredKeys:It,filterMultiple:Qt,searchValue:on,filterSearch:wn}=ye;return ge.map((bn,On)=>{const Nn=String(bn.value);if(bn.children)return{key:Nn||On,label:bn.text,popupClassName:`${it}-dropdown-submenu`,children:hs({filters:bn.children,prefixCls:it,filteredKeys:It,filterMultiple:Qt,searchValue:on,filterSearch:wn})};const ir=Qt?Io.default:fo.ZP,er={key:bn.value!==void 0?Nn:On,label:b.createElement(b.Fragment,null,b.createElement(ir,{checked:It.includes(Nn)}),b.createElement("span",null,bn.text))};return on.trim()?typeof wn=="function"?wn(on,bn)?er:null:os(on,bn.text)?er:null:er})}function _l(ye){return ye||[]}var $a=ye=>{var ge,it,It,Qt;const{tablePrefixCls:on,prefixCls:wn,column:bn,dropdownPrefixCls:On,columnKey:Nn,filterOnClose:ir,filterMultiple:er,filterMode:_n="menu",filterSearch:zn=!1,filterState:Rn,triggerFilter:Or,locale:cr,children:Hr,getPopupContainer:Nr,rootClassName:_r}=ye,{filterResetToDefaultFilteredValue:zr,defaultFilteredValue:Yr,filterDropdownProps:ao={},filterDropdownOpen:po,filterDropdownVisible:xo,onFilterDropdownVisibleChange:Qo,onFilterDropdownOpenChange:Gr}=bn,[jr,oo]=b.useState(!1),Sr=!!(Rn&&(!((ge=Rn.filteredKeys)===null||ge===void 0)&&ge.length||Rn.forceFiltered)),xr=ui=>{var gi;oo(ui),(gi=ao.onOpenChange)===null||gi===void 0||gi.call(ao,ui),Gr==null||Gr(ui),Qo==null||Qo(ui)},to=(Qt=(It=(it=ao.open)!==null&&it!==void 0?it:po)!==null&&It!==void 0?It:xo)!==null&&Qt!==void 0?Qt:jr,go=Rn==null?void 0:Rn.filteredKeys,[Do,$o]=Ii(_l(go)),Co=ui=>{let{selectedKeys:gi}=ui;$o(gi)},Fi=(ui,gi)=>{let{node:ea,checked:aa}=gi;Co(er?{selectedKeys:ui}:{selectedKeys:aa&&ea.key?[ea.key]:[]})};b.useEffect(()=>{jr&&Co({selectedKeys:_l(go)})},[go]);const[wi,ca]=b.useState([]),Qi=ui=>{ca(ui)},[ia,ma]=b.useState(""),ga=ui=>{const{value:gi}=ui.target;ma(gi)};b.useEffect(()=>{jr||ma("")},[jr]);const Ti=ui=>{const gi=ui!=null&&ui.length?ui:null;if(gi===null&&(!Rn||!Rn.filteredKeys)||(0,Fe.Z)(gi,Rn==null?void 0:Rn.filteredKeys,!0))return null;Or({column:bn,key:Nn,filteredKeys:gi})},ki=()=>{xr(!1),Ti(Do())},Ia=function(){let{confirm:ui,closeDropdown:gi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ui&&Ti([]),gi&&xr(!1),ma(""),$o(zr?(Yr||[]).map(ea=>String(ea)):[])},Na=function(){let{closeDropdown:ui}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ui&&xr(!1),Ti(Do())},oi=(ui,gi)=>{gi.source==="trigger"&&(ui&&go!==void 0&&$o(_l(go)),xr(ui),!ui&&!bn.filterDropdown&&ir&&ki())},Ai=Ee()({[`${On}-menu-without-submenu`]:!Gl(bn.filters||[])}),ti=ui=>{if(ui.target.checked){const gi=Dl(bn==null?void 0:bn.filters).map(ea=>String(ea));$o(gi)}else $o([])},Ho=ui=>{let{filters:gi}=ui;return(gi||[]).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=Ho({filters:ea.children})),za})},ji=ui=>{var gi;return Object.assign(Object.assign({},ui),{text:ui.title,value:ui.key,children:((gi=ui.children)===null||gi===void 0?void 0:gi.map(ea=>ji(ea)))||[]})};let $i;const{direction:ya,renderEmpty:qi}=b.useContext(Pa.E_);if(typeof bn.filterDropdown=="function")$i=bn.filterDropdown({prefixCls:`${On}-custom`,setSelectedKeys:ui=>Co({selectedKeys:ui}),selectedKeys:Do(),confirm:Na,clearFilters:Ia,filters:bn.filters,visible:to,close:()=>{xr(!1)}});else if(bn.filterDropdown)$i=bn.filterDropdown;else{const ui=Do()||[],gi=()=>{var aa,la;const za=(aa=qi==null?void 0:qi("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:zn,value:ia,onChange:ga,tablePrefixCls:on,locale:cr}),b.createElement("div",{className:`${on}-filter-dropdown-tree`},er?b.createElement(Io.default,{checked:ui.length===Dl(bn.filters).length,indeterminate:ui.length>0&&ui.length<Dl(bn.filters).length,className:`${on}-filter-dropdown-checkall`,onChange:ti},(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:er,checkStrictly:!er,className:`${On}-menu`,onCheck:Fi,checkedKeys:ui,selectedKeys:ui,showIcon:!1,treeData:Ho({filters:bn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:ia.trim()?va=>typeof zn=="function"?zn(ia,ji(va)):os(ia,va.title):void 0})));const ba=hs({filters:bn.filters||[],filterSearch:zn,prefixCls:wn,filteredKeys:Do(),filterMultiple:er,searchValue:ia}),il=ba.every(va=>va===null);return b.createElement(b.Fragment,null,b.createElement(Yl,{filterSearch:zn,value:ia,onChange:ga,tablePrefixCls:on,locale:cr}),il?za:b.createElement(cl.default,{selectable:!0,multiple:er,prefixCls:`${On}-menu`,className:Ai,onSelect:Co,onDeselect:Co,selectedKeys:ui,getPopupContainer:Nr,openKeys:wi,onOpenChange:Qi,items:ba}))},ea=()=>zr?(0,Fe.Z)((Yr||[]).map(aa=>String(aa)),ui,!0):ui.length===0;$i=b.createElement(b.Fragment,null,gi(),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:ki},cr.filterConfirm)))}bn.filterDropdown&&($i=b.createElement(el.J,{selectable:void 0},$i)),$i=b.createElement(rs,{className:`${wn}-dropdown`},$i);const ka=()=>{let ui;return typeof bn.filterIcon=="function"?ui=bn.filterIcon(Sr):bn.filterIcon?ui=bn.filterIcon:ui=b.createElement(Ea,null),b.createElement("span",{role:"button",tabIndex:-1,className:Ee()(`${wn}-trigger`,{active:Sr}),onClick:gi=>{gi.stopPropagation()}},ui)},Sa=(0,Oa.Z)({trigger:["click"],placement:ya==="rtl"?"bottomLeft":"bottomRight",children:ka(),getPopupContainer:Nr},Object.assign(Object.assign({},ao),{rootClassName:Ee()(_r,ao.rootClassName),open:to,onOpenChange:oi,dropdownRender:()=>typeof(ao==null?void 0:ao.dropdownRender)=="function"?ao.dropdownRender($i):$i}));return b.createElement("div",{className:`${wn}-column`},b.createElement("span",{className:`${on}-column-title`},Hr),b.createElement(co.Z,Object.assign({},Sa)))};const Qa=(ye,ge,it)=>{let It=[];return(ye||[]).forEach((Qt,on)=>{var wn;const bn=ho(on,it);if(Qt.filters||"filterDropdown"in Qt||"onFilter"in Qt)if("filteredValue"in Qt){let On=Qt.filteredValue;"filterDropdown"in Qt||(On=(wn=On==null?void 0:On.map(String))!==null&&wn!==void 0?wn:On),It.push({column:Qt,key:wo(Qt,bn),filteredKeys:On,forceFiltered:Qt.filtered})}else It.push({column:Qt,key:wo(Qt,bn),filteredKeys:ge&&Qt.defaultFilteredValue?Qt.defaultFilteredValue:void 0,forceFiltered:Qt.filtered});"children"in Qt&&(It=[].concat((0,Jt.Z)(It),(0,Jt.Z)(Qa(Qt.children,ge,bn))))}),It};function fa(ye,ge,it,It,Qt,on,wn,bn,On){return it.map((Nn,ir)=>{const er=ho(ir,bn),{filterOnClose:_n=!0,filterMultiple:zn=!0,filterMode:Rn,filterSearch:Or}=Nn;let cr=Nn;if(cr.filters||cr.filterDropdown){const Hr=wo(cr,er),Nr=It.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:zn,filterMode:Rn,filterSearch:Or,triggerFilter:on,locale:Qt,getPopupContainer:wn,rootClassName:On},To(Nn.title,_r))})}return"children"in cr&&(cr=Object.assign(Object.assign({},cr),{children:fa(ye,ge,cr.children,It,Qt,on,wn,er,On)})),cr})}const Hi=ye=>{const ge={};return ye.forEach(it=>{let{key:It,filteredKeys:Qt,column:on}=it;const wn=It,{filters:bn,filterDropdown:On}=on;if(On)ge[wn]=Qt||null;else if(Array.isArray(Qt)){const Nn=Dl(bn);ge[wn]=Nn.filter(ir=>Qt.includes(String(ir)))}else ge[wn]=null}),ge},Ci=(ye,ge,it)=>ge.reduce((Qt,on)=>{const{column:{onFilter:wn,filters:bn},filteredKeys:On}=on;return wn&&On&&On.length?Qt.map(Nn=>Object.assign({},Nn)).filter(Nn=>On.some(ir=>{const er=Dl(bn),_n=er.findIndex(Rn=>String(Rn)===String(ir)),zn=_n!==-1?er[_n]:ir;return Nn[it]&&(Nn[it]=Ci(Nn[it],ge,it)),wn(zn,Nn)})):Qt},ye),sa=ye=>ye.flatMap(ge=>"children"in ge?[ge].concat((0,Jt.Z)(sa(ge.children||[]))):[ge]);var wa=ye=>{const{prefixCls:ge,dropdownPrefixCls:it,mergedColumns:It,onFilterChange:Qt,getPopupContainer:on,locale:wn,rootClassName:bn}=ye,On=(0,io.ln)("Table"),Nn=b.useMemo(()=>sa(It||[]),[It]),[ir,er]=b.useState(()=>Qa(Nn,!0)),_n=b.useMemo(()=>{const cr=Qa(Nn,!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=(Nn||[]).map((zr,Yr)=>wo(zr,ho(Yr)));return ir.filter(zr=>{let{key:Yr}=zr;return _r.includes(Yr)}).map(zr=>{const Yr=Nn[_r.findIndex(ao=>ao===zr.key)];return Object.assign(Object.assign({},zr),{column:Object.assign(Object.assign({},zr.column),Yr),forceFiltered:Yr.filtered})})}return cr},[Nn,ir]),zn=b.useMemo(()=>Hi(_n),[_n]),Rn=cr=>{const Hr=_n.filter(Nr=>{let{key:_r}=Nr;return _r!==cr.key});Hr.push(cr),er(Hr),Qt(Hi(Hr),Hr)};return[cr=>fa(ge,it,cr,_n,wn,Rn,on,void 0,bn),_n,zn]},tl=(ye,ge,it)=>{const It=b.useRef({});function Qt(on){var wn;if(!It.current||It.current.data!==ye||It.current.childrenColumnName!==ge||It.current.getRowKey!==it){let On=function(Nn){Nn.forEach((ir,er)=>{const _n=it(ir,er);bn.set(_n,ir),ir&&typeof ir=="object"&&ge in ir&&On(ir[ge]||[])})};const bn=new Map;On(ye),It.current={data:ye,childrenColumnName:ge,kvMap:bn,getRowKey:it}}return(wn=It.current.kvMap)===null||wn===void 0?void 0:wn.get(on)}return[Qt]},Ka=function(ye,ge){var it={};for(var It in ye)Object.prototype.hasOwnProperty.call(ye,It)&&ge.indexOf(It)<0&&(it[It]=ye[It]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,It=Object.getOwnPropertySymbols(ye);Qt<It.length;Qt++)ge.indexOf(It[Qt])<0&&Object.prototype.propertyIsEnumerable.call(ye,It[Qt])&&(it[It[Qt]]=ye[It[Qt]]);return it};const nl=10;function _a(ye,ge){const it={current:ye.current,pageSize:ye.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(Qt=>{const on=ye[Qt];typeof on!="function"&&(it[Qt]=on)}),it}function rl(ye,ge,it){const It=it&&typeof it=="object"?it:{},{total:Qt=0}=It,on=Ka(It,["total"]),[wn,bn]=(0,b.useState)(()=>({current:"defaultCurrent"in on?on.defaultCurrent:1,pageSize:"defaultPageSize"in on?on.defaultPageSize:nl})),On=(0,Oa.Z)(wn,on,{total:Qt>0?Qt:ye}),Nn=Math.ceil((Qt||ye)/On.pageSize);On.current>Nn&&(On.current=Nn||1);const ir=(_n,zn)=>{bn({current:_n!=null?_n:1,pageSize:zn||On.pageSize})},er=(_n,zn)=>{var Rn;it&&((Rn=it.onChange)===null||Rn===void 0||Rn.call(it,_n,zn)),ir(_n,zn),ge(_n,zn||(On==null?void 0:On.pageSize))};return it===!1?[{},()=>{}]:[Object.assign(Object.assign({},On),{onChange:er}),ir]}var ol=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,it)=>{let It=[];const Qt=(on,wn)=>{It.push({column:on,key:wo(on,wn),multiplePriority:Xl(on),sortOrder:on.sortOrder})};return(ye||[]).forEach((on,wn)=>{const bn=ho(wn,it);on.children?("sortOrder"in on&&Qt(on,bn),It=[].concat((0,Jt.Z)(It),(0,Jt.Z)(Ql(on.children,ge,bn)))):on.sorter&&("sortOrder"in on?Qt(on,bn):ge&&on.defaultSortOrder&&It.push({column:on,key:wo(on,bn),multiplePriority:Xl(on),sortOrder:on.defaultSortOrder}))}),It},Ds=(ye,ge,it,It,Qt,on,wn,bn)=>(ge||[]).map((Nn,ir)=>{const er=ho(ir,bn);let _n=Nn;if(_n.sorter){const zn=_n.sortDirections||Qt,Rn=_n.showSorterTooltip===void 0?wn:_n.showSorterTooltip,Or=wo(_n,er),cr=it.find(Qo=>{let{key:Gr}=Qo;return Gr===Or}),Hr=cr?cr.sortOrder:null,Nr=es(zn,Hr);let _r;if(Nn.sortIcon)_r=Nn.sortIcon({sortOrder:Hr});else{const Qo=zn.includes(ms)&&b.createElement(ls.Z,{className:Ee()(`${ye}-column-sorter-up`,{active:Hr===ms})}),Gr=zn.includes(ql)&&b.createElement(kl.Z,{className:Ee()(`${ye}-column-sorter-down`,{active:Hr===ql})});_r=b.createElement("span",{className:Ee()(`${ye}-column-sorter`,{[`${ye}-column-sorter-full`]:!!(Qo&&Gr)})},b.createElement("span",{className:`${ye}-column-sorter-inner`,"aria-hidden":"true"},Qo,Gr))}const{cancelSort:zr,triggerAsc:Yr,triggerDesc:ao}=on||{};let po=zr;Nr===ql?po=ao:Nr===ms&&(po=Yr);const xo=typeof Rn=="object"?Object.assign({title:po},Rn):{title:po};_n=Object.assign(Object.assign({},_n),{className:Ee()(_n.className,{[`${ye}-column-sort`]:Hr}),title:Qo=>{const Gr=`${ye}-column-sorters`,jr=b.createElement("span",{className:`${ye}-column-title`},To(Nn.title,Qo)),oo=b.createElement("div",{className:Gr},jr,_r);return Rn?typeof Rn!="boolean"&&(Rn==null?void 0:Rn.target)==="sorter-icon"?b.createElement("div",{className:`${Gr} ${ye}-column-sorters-tooltip-target-sorter`},jr,b.createElement(Ls.Z,Object.assign({},xo),_r)):b.createElement(Ls.Z,Object.assign({},xo),oo):oo},onHeaderCell:Qo=>{var Gr;const jr=((Gr=Nn.onHeaderCell)===null||Gr===void 0?void 0:Gr.call(Nn,Qo))||{},oo=jr.onClick,Sr=jr.onKeyDown;jr.onClick=go=>{It({column:Nn,key:Or,sortOrder:Nr,multiplePriority:Xl(Nn)}),oo==null||oo(go)},jr.onKeyDown=go=>{go.keyCode===as.Z.ENTER&&(It({column:Nn,key:Or,sortOrder:Nr,multiplePriority:Xl(Nn)}),Sr==null||Sr(go))};const xr=si(Nn.title,{}),to=xr==null?void 0:xr.toString();return Hr&&(jr["aria-sort"]=Hr==="ascend"?"ascending":"descending"),jr["aria-label"]=to||"",jr.className=Ee()(jr.className,`${ye}-column-has-sorters`),jr.tabIndex=0,Nn.ellipsis&&(jr.title=(xr!=null?xr:"").toString()),jr}})}return"children"in _n&&(_n=Object.assign(Object.assign({},_n),{children:Ds(ye,_n.children,it,It,Qt,on,wn,er)})),_n}),Ys=ye=>{const{column:ge,sortOrder:it}=ye;return{column:ge,order:it,field:ge.dataIndex,columnKey:ge.key}},Ps=ye=>{const ge=ye.filter(it=>{let{sortOrder:It}=it;return It}).map(Ys);if(ge.length===0&&ye.length){const it=ye.length-1;return Object.assign(Object.assign({},Ys(ye[it])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ge.length<=1?ge[0]||{}:ge},ss=(ye,ge,it)=>{const It=ge.slice().sort((wn,bn)=>bn.multiplePriority-wn.multiplePriority),Qt=ye.slice(),on=It.filter(wn=>{let{column:{sorter:bn},sortOrder:On}=wn;return vl(bn)&&On});return on.length?Qt.sort((wn,bn)=>{for(let On=0;On<on.length;On+=1){const Nn=on[On],{column:{sorter:ir},sortOrder:er}=Nn,_n=vl(ir);if(_n&&er){const zn=_n(wn,bn,er);if(zn!==0)return er===ms?zn:-zn}}return 0}).map(wn=>{const bn=wn[it];return bn?Object.assign(Object.assign({},wn),{[it]:ss(bn,ge,it)}):wn}):Qt};var Gs=ye=>{const{prefixCls:ge,mergedColumns:it,sortDirections:It,tableLocale:Qt,showSorterTooltip:on,onSorterChange:wn}=ye,[bn,On]=b.useState(Ql(it,!0)),Nn=(Or,cr)=>{const Hr=[];return Or.forEach((Nr,_r)=>{const zr=ho(_r,cr);if(Hr.push(wo(Nr,zr)),Array.isArray(Nr.children)){const Yr=Nn(Nr.children,zr);Hr.push.apply(Hr,(0,Jt.Z)(Yr))}}),Hr},ir=b.useMemo(()=>{let Or=!0;const cr=Ql(it,!1);if(!cr.length){const zr=Nn(it);return bn.filter(Yr=>{let{key:ao}=Yr;return zr.includes(ao)})}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},[it,bn]),er=b.useMemo(()=>{var Or,cr;const Hr=ir.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}},[ir]),_n=Or=>{let cr;Or.multiplePriority===!1||!ir.length||ir[0].multiplePriority===!1?cr=[Or]:cr=[].concat((0,Jt.Z)(ir.filter(Hr=>{let{key:Nr}=Hr;return Nr!==Or.key})),[Or]),On(cr),wn(Ps(cr),cr)};return[Or=>Ds(ge,Or,ir,_n,It,Qt,on),ir,er,()=>Ps(ir)]};const xs=(ye,ge)=>ye.map(It=>{const Qt=Object.assign({},It);return Qt.title=To(It.title,ge),"children"in Qt&&(Qt.children=xs(Qt.children,ge)),Qt});var Ts=ye=>[b.useCallback(it=>xs(it,ye),[ye])],Rs=no((ye,ge)=>{const{_renderTimes:it}=ye,{_renderTimes:It}=ge;return it!==It}),vs=ot((ye,ge)=>{const{_renderTimes:it}=ye,{_renderTimes:It}=ge;return it!==It}),Ei=z(36237),ps=z(17835),ie=z(63356),Se=z(16931),Xe=z(51636),Lt=ye=>{const{componentCls:ge,lineWidth:it,lineType:It,tableBorderColor:Qt,tableHeaderBg:on,tablePaddingVertical:wn,tablePaddingHorizontal:bn,calc:On}=ye,Nn=`${(0,Ei.unit)(it)} ${It} ${Qt}`,ir=(er,_n,zn)=>({[`&${ge}-${er}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,Ei.unit)(On(_n).mul(-1).equal())}
|
|
|
${(0,Ei.unit)(On(On(zn).add(it)).mul(-1).equal())}`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:Nn,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:Nn,borderTop:Nn,[`
|
|
|
> ${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:Nn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Nn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:Nn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,Ei.unit)(On(wn).mul(-1).equal())} ${(0,Ei.unit)(On(On(bn).add(it)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:it,bottom:0,borderInlineEnd:Nn,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
|
|
|
> tr${ge}-expanded-row,
|
|
|
> tr${ge}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ir("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle)),ir("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:Nn,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Ei.unit)(it)} 0 ${(0,Ei.unit)(it)} ${on}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:Nn}}}},Wn=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},ie.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}}}}},Xn=ye=>{const{componentCls:ge,antCls:it,motionDurationSlow:It,lineWidth:Qt,paddingXS:on,lineType:wn,tableBorderColor:bn,tableExpandIconBg:On,tableExpandColumnWidth:Nn,borderRadius:ir,tablePaddingVertical:er,tablePaddingHorizontal:_n,tableExpandedRowBg:zn,paddingXXS:Rn,expandIconMarginTop:Or,expandIconSize:cr,expandIconHalfInner:Hr,expandIconScale:Nr,calc:_r}=ye,zr=`${(0,Ei.unit)(Qt)} ${wn} ${bn}`,Yr=_r(Rn).sub(Qt).equal();return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:Nn},[`${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,ie.Nd)(ye)),{position:"relative",float:"left",width:cr,height:cr,color:"inherit",lineHeight:(0,Ei.unit)(cr),background:On,border:zr,borderRadius:ir,transform:`scale(${Nr})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${It} ease-out`,content:'""'},"&::before":{top:Hr,insetInlineEnd:Yr,insetInlineStart:Yr,height:Qt},"&::after":{top:Yr,bottom:Yr,insetInlineStart:Hr,width:Qt,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:on},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:zn}},[`${it}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Ei.unit)(_r(er).mul(-1).equal())} ${(0,Ei.unit)(_r(_n).mul(-1).equal())}`,padding:`${(0,Ei.unit)(er)} ${(0,Ei.unit)(_n)}`}}}},Fr=ye=>{const{componentCls:ge,antCls:it,iconCls:It,tableFilterDropdownWidth:Qt,tableFilterDropdownSearchWidth:on,paddingXXS:wn,paddingXS:bn,colorText:On,lineWidth:Nn,lineType:ir,tableBorderColor:er,headerIconColor:_n,fontSizeSM:zn,tablePaddingHorizontal:Rn,borderRadius:Or,motionDurationSlow:cr,colorTextDescription:Hr,colorPrimary:Nr,tableHeaderFilterActiveBg:_r,colorTextDisabled:zr,tableFilterDropdownBg:Yr,tableFilterDropdownHeight:ao,controlItemBgHover:po,controlItemBgActive:xo,boxShadowSecondary:Qo,filterDropdownMenuBg:Gr,calc:jr}=ye,oo=`${it}-dropdown`,Sr=`${ge}-filter-dropdown`,xr=`${it}-tree`,to=`${(0,Ei.unit)(Nn)} ${ir} ${er}`;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,Ei.unit)(wn)} ${(0,Ei.unit)(jr(Rn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Ei.unit)(wn)}`,color:_n,fontSize:zn,borderRadius:Or,cursor:"pointer",transition:`all ${cr}`,"&:hover":{color:Hr,background:_r},"&.active":{color:Nr}}}},{[`${it}-dropdown`]:{[Sr]:Object.assign(Object.assign({},(0,ie.Wf)(ye)),{minWidth:Qt,backgroundColor:Yr,borderRadius:Or,boxShadow:Qo,overflow:"hidden",[`${oo}-menu`]:{maxHeight:ao,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Gr,"&:empty::after":{display:"block",padding:`${(0,Ei.unit)(bn)} 0`,color:zr,fontSize:zn,textAlign:"center",content:'"Not Found"'}},[`${Sr}-tree`]:{paddingBlock:`${(0,Ei.unit)(bn)} 0`,paddingInline:bn,[xr]:{padding:0},[`${xr}-treenode ${xr}-node-content-wrapper:hover`]:{backgroundColor:po},[`${xr}-treenode-checkbox-checked ${xr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:xo}}},[`${Sr}-search`]:{padding:bn,borderBottom:to,"&-input":{input:{minWidth:on},[It]:{color:zr}}},[`${Sr}-checkall`]:{width:"100%",marginBottom:wn,marginInlineStart:wn},[`${Sr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Ei.unit)(jr(bn).sub(Nn).equal())} ${(0,Ei.unit)(bn)}`,overflow:"hidden",borderTop:to}})}},{[`${it}-dropdown ${Sr}, ${Sr}-submenu`]:{[`${it}-checkbox-wrapper + span`]:{paddingInlineStart:bn,color:On},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Dr=ye=>{const{componentCls:ge,lineWidth:it,colorSplit:It,motionDurationSlow:Qt,zIndexTableFixed:on,tableBg:wn,zIndexTableSticky:bn,calc:On}=ye,Nn=It;return{[`${ge}-wrapper`]:{[`
|
|
|
${ge}-cell-fix-left,
|
|
|
${ge}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:on,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:On(it).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Qt}`,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:On(it).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Qt}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:On(bn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Qt}`,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 ${Nn}`},[`
|
|
|
${ge}-cell-fix-left-first::after,
|
|
|
${ge}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Nn}`},[`${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 ${Nn}`},[`
|
|
|
${ge}-cell-fix-right-first::after,
|
|
|
${ge}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Nn}`}},[`${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:it,margin:It}=ye;return{[`${ge}-wrapper`]:{[`${ge}-pagination${it}-pagination`]:{margin:`${(0,Ei.unit)(It)} 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},So=ye=>{const{componentCls:ge,tableRadius:it}=ye;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${(0,Ei.unit)(it)} ${(0,Ei.unit)(it)} 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:it,borderStartEndRadius:it,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:it},"> *:last-child":{borderStartEndRadius:it}}},"&-footer":{borderRadius:`0 0 ${(0,Ei.unit)(it)} ${(0,Ei.unit)(it)}`}}}}},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"}}}}},ro=ye=>{const{componentCls:ge,antCls:it,iconCls:It,fontSizeIcon:Qt,padding:on,paddingXS:wn,headerIconColor:bn,headerIconHoverColor:On,tableSelectionColumnWidth:Nn,tableSelectedRowBg:ir,tableSelectedRowHoverBg:er,tableRowHoverBg:_n,tablePaddingHorizontal:zn,calc:Rn}=ye;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Nn,[`&${ge}-selection-col-with-dropdown`]:{width:Rn(Nn).add(Qt).add(Rn(on).div(4)).equal()}},[`${ge}-bordered ${ge}-selection-col`]:{width:Rn(Nn).add(Rn(wn).mul(2)).equal(),[`&${ge}-selection-col-with-dropdown`]:{width:Rn(Nn).add(Qt).add(Rn(on).div(4)).add(Rn(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",[`${it}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:Rn(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,Ei.unit)(Rn(zn).div(4).equal()),[It]:{color:bn,fontSize:Qt,verticalAlign:"baseline","&:hover":{color:On}}},[`${ge}-tbody`]:{[`${ge}-row`]:{[`&${ge}-row-selected`]:{[`> ${ge}-cell`]:{background:ir,"&-row-hover":{background:er}}},[`> ${ge}-cell-row-hover`]:{background:_n}}}}}},ai=ye=>{const{componentCls:ge,tableExpandColumnWidth:it,calc:It}=ye,Qt=(on,wn,bn,On)=>({[`${ge}${ge}-${on}`]:{fontSize:On,[`
|
|
|
${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,Ei.unit)(wn)} ${(0,Ei.unit)(bn)}`},[`${ge}-filter-trigger`]:{marginInlineEnd:(0,Ei.unit)(It(bn).div(2).mul(-1).equal())},[`${ge}-expanded-row-fixed`]:{margin:`${(0,Ei.unit)(It(wn).mul(-1).equal())} ${(0,Ei.unit)(It(bn).mul(-1).equal())}`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:(0,Ei.unit)(It(wn).mul(-1).equal()),marginInline:`${(0,Ei.unit)(It(it).sub(bn).equal())} ${(0,Ei.unit)(It(bn).mul(-1).equal())}`}},[`${ge}-selection-extra`]:{paddingInlineStart:(0,Ei.unit)(It(bn).div(4).equal())}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},Qt("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle,ye.tableFontSizeMiddle)),Qt("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall,ye.tableFontSizeSmall))}},Go=ye=>{const{componentCls:ge,marginXXS:it,fontSizeIcon:It,headerIconColor:Qt,headerIconHoverColor:on}=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:it,color:Qt,fontSize:0,transition:`color ${ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:It,"&.active":{color:ye.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:on}}}},ci=ye=>{const{componentCls:ge,opacityLoading:it,tableScrollThumbBg:It,tableScrollThumbBgHover:Qt,tableScrollThumbSize:on,tableScrollBg:wn,zIndexTableSticky:bn,stickyScrollBarBorderRadius:On,lineWidth:Nn,lineType:ir,tableBorderColor:er}=ye,_n=`${(0,Ei.unit)(Nn)} ${ir} ${er}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:bn,background:ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Ei.unit)(on)} !important`,zIndex:bn,display:"flex",alignItems:"center",background:wn,borderTop:_n,opacity:it,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:on,backgroundColor:It,borderRadius:On,transition:`all ${ye.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Qt}}}}}}},Fo=ye=>{const{componentCls:ge,lineWidth:it,tableBorderColor:It,calc:Qt}=ye,on=`${(0,Ei.unit)(it)} ${ye.lineType} ${It}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:ye.zIndexTableFixed,background:ye.tableBg,"> tr":{"> th, > td":{borderBottom:on}}},[`div${ge}-summary`]:{boxShadow:`0 ${(0,Ei.unit)(Qt(it).mul(-1).equal())} 0 ${It}`}}}},Ro=ye=>{const{componentCls:ge,motionDurationMid:it,lineWidth:It,lineType:Qt,tableBorderColor:on,calc:wn}=ye,bn=`${(0,Ei.unit)(It)} ${Qt} ${on}`,On=`${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 ${it}`},[`${ge}-expanded-row`]:{[`${On}${On}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Ei.unit)(It)})`,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(It).mul(-1).equal(),borderInlineStart:bn}}},[`&${ge}-virtual`]:{[`${ge}-placeholder ${ge}-cell`]:{borderInlineEnd:bn,borderBottom:bn}}}}}};const No=ye=>{const{componentCls:ge,fontWeightStrong:it,tablePaddingVertical:It,tablePaddingHorizontal:Qt,tableExpandColumnWidth:on,lineWidth:wn,lineType:bn,tableBorderColor:On,tableFontSize:Nn,tableBg:ir,tableRadius:er,tableHeaderTextColor:_n,motionDurationMid:zn,tableHeaderBg:Rn,tableHeaderCellSplitColor:Or,tableFooterTextColor:cr,tableFooterBg:Hr,calc:Nr}=ye,_r=`${(0,Ei.unit)(wn)} ${bn} ${On}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ie.dF)()),{[ge]:Object.assign(Object.assign({},(0,ie.Wf)(ye)),{fontSize:Nn,background:ir,borderRadius:`${(0,Ei.unit)(er)} ${(0,Ei.unit)(er)} 0 0`,scrollbarColor:`${ye.tableScrollThumbBg} ${ye.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Ei.unit)(er)} ${(0,Ei.unit)(er)} 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,Ei.unit)(It)} ${(0,Ei.unit)(Qt)}`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${(0,Ei.unit)(It)} ${(0,Ei.unit)(Qt)}`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:_n,fontWeight:it,textAlign:"start",background:Rn,borderBottom:_r,transition:`background ${zn} 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 ${zn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${zn}, border-color ${zn}`,borderBottom:_r,[`
|
|
|
> ${ge}-wrapper:only-child,
|
|
|
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
|
|
|
`]:{[ge]:{marginBlock:(0,Ei.unit)(Nr(It).mul(-1).equal()),marginInline:`${(0,Ei.unit)(Nr(on).sub(Qt).equal())}
|
|
|
${(0,Ei.unit)(Nr(Qt).mul(-1).equal())}`,[`${ge}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:_n,fontWeight:it,textAlign:"start",background:Rn,borderBottom:_r,transition:`background ${zn} ease`}}},[`${ge}-footer`]:{padding:`${(0,Ei.unit)(It)} ${(0,Ei.unit)(Qt)}`,color:cr,background:Hr}})}},vi=ye=>{const{colorFillAlter:ge,colorBgContainer:it,colorTextHeading:It,colorFillSecondary:Qt,colorFillContent:on,controlItemBgActive:wn,controlItemBgActiveHover:bn,padding:On,paddingSM:Nn,paddingXS:ir,colorBorderSecondary:er,borderRadiusLG:_n,controlHeight:zn,colorTextPlaceholder:Rn,fontSize:Or,fontSizeSM:cr,lineHeight:Hr,lineWidth:Nr,colorIcon:_r,colorIconHover:zr,opacityLoading:Yr,controlInteractiveSize:ao}=ye,po=new ps.FastColor(Qt).onBackground(it).toHexString(),xo=new ps.FastColor(on).onBackground(it).toHexString(),Qo=new ps.FastColor(ge).onBackground(it).toHexString(),Gr=new ps.FastColor(_r),jr=new ps.FastColor(zr),oo=ao/2-Nr,Sr=oo*2+Nr*3;return{headerBg:Qo,headerColor:It,headerSortActiveBg:po,headerSortHoverBg:xo,bodySortBg:Qo,rowHoverBg:Qo,rowSelectedBg:wn,rowSelectedHoverBg:bn,rowExpandedBg:ge,cellPaddingBlock:On,cellPaddingInline:On,cellPaddingBlockMD:Nn,cellPaddingInlineMD:ir,cellPaddingBlockSM:ir,cellPaddingInlineSM:ir,borderColor:er,headerBorderRadius:_n,footerBg:Qo,footerColor:It,cellFontSize:Or,cellFontSizeMD:Or,cellFontSizeSM:Or,headerSplitColor:er,fixedHeaderSortActiveBg:po,headerFilterHoverBg:on,filterDropdownMenuBg:it,filterDropdownBg:it,expandIconBg:it,selectionColumnWidth:zn,stickyScrollBarBg:Rn,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:oo,expandIconSize:Sr,expandIconScale:ao/Sr}},di=2;var Uo=(0,Se.I$)("Table",ye=>{const{colorTextHeading:ge,colorSplit:it,colorBgContainer:It,controlInteractiveSize:Qt,headerBg:on,headerColor:wn,headerSortActiveBg:bn,headerSortHoverBg:On,bodySortBg:Nn,rowHoverBg:ir,rowSelectedBg:er,rowSelectedHoverBg:_n,rowExpandedBg:zn,cellPaddingBlock:Rn,cellPaddingInline:Or,cellPaddingBlockMD:cr,cellPaddingInlineMD:Hr,cellPaddingBlockSM:Nr,cellPaddingInlineSM:_r,borderColor:zr,footerBg:Yr,footerColor:ao,headerBorderRadius:po,cellFontSize:xo,cellFontSizeMD:Qo,cellFontSizeSM:Gr,headerSplitColor:jr,fixedHeaderSortActiveBg:oo,headerFilterHoverBg:Sr,filterDropdownBg:xr,expandIconBg:to,selectionColumnWidth:go,stickyScrollBarBg:Do,calc:$o}=ye,Co=(0,Xe.mergeToken)(ye,{tableFontSize:xo,tableBg:It,tableRadius:po,tablePaddingVertical:Rn,tablePaddingHorizontal:Or,tablePaddingVerticalMiddle:cr,tablePaddingHorizontalMiddle:Hr,tablePaddingVerticalSmall:Nr,tablePaddingHorizontalSmall:_r,tableBorderColor:zr,tableHeaderTextColor:wn,tableHeaderBg:on,tableFooterTextColor:ao,tableFooterBg:Yr,tableHeaderCellSplitColor:jr,tableHeaderSortBg:bn,tableHeaderSortHoverBg:On,tableBodySortBg:Nn,tableFixedHeaderSortActiveBg:oo,tableHeaderFilterActiveBg:Sr,tableFilterDropdownBg:xr,tableRowHoverBg:ir,tableSelectedRowBg:er,tableSelectedRowHoverBg:_n,zIndexTableFixed:di,zIndexTableSticky:$o(di).add(1).equal({unit:!1}),tableFontSizeMiddle:Qo,tableFontSizeSmall:Gr,tableSelectionColumnWidth:go,tableExpandIconBg:to,tableExpandColumnWidth:$o(Qt).add($o(ye.padding).mul(2)).equal(),tableExpandedRowBg:zn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Do,tableScrollThumbBgHover:ge,tableScrollBg:it});return[No(Co),Lr(Co),Fo(Co),Go(Co),Fr(Co),Lt(Co),So(Co),Xn(Co),Fo(Co),sr(Co),ro(Co),Dr(Co),ci(Co),Wn(Co),ai(Co),Ur(Co),Ro(Co)]},vi,{unitless:{expandIconScale:!0}});const ei=[],Oo=(ye,ge)=>{var it,It;const{prefixCls:Qt,className:on,rootClassName:wn,style:bn,size:On,bordered:Nn,dropdownPrefixCls:ir,dataSource:er,pagination:_n,rowSelection:zn,rowKey:Rn="key",rowClassName:Or,columns:cr,children:Hr,childrenColumnName:Nr,onChange:_r,getPopupContainer:zr,loading:Yr,expandIcon:ao,expandable:po,expandedRowRender:xo,expandIconColumnIndex:Qo,indentSize:Gr,scroll:jr,sortDirections:oo,locale:Sr,showSorterTooltip:xr={target:"full-header"},virtual:to}=ye,go=(0,io.ln)("Table"),Do=b.useMemo(()=>cr||$t(Hr),[cr,Hr]),$o=b.useMemo(()=>Do.some(Zo=>Zo.responsive),[Do]),Co=(0,Fa.Z)($o),Fi=b.useMemo(()=>{const Zo=new Set(Object.keys(Co).filter(yi=>Co[yi]));return Do.filter(yi=>!yi.responsive||yi.responsive.some(Yi=>Zo.has(Yi)))},[Do,Co]),wi=(0,Wi.Z)(ye,["className","style","columns"]),{locale:ca=ul.Z,direction:Qi,table:ia,renderEmpty:ma,getPrefixCls:ga,getPopupContainer:Ti}=b.useContext(Pa.E_),ki=(0,Ui.Z)(On),Ia=Object.assign(Object.assign({},ca.Table),Sr),Na=er||ei,oi=ga("table",Qt),Ai=ga("dropdown",ir),[,ti]=(0,Nl.ZP)(),Ho=(0,Ba.Z)(oi),[ji,$i,ya]=Uo(oi,Ho),qi=Object.assign(Object.assign({childrenColumnName:Nr,expandIconColumnIndex:Qo},po),{expandIcon:(it=po==null?void 0:po.expandIcon)!==null&&it!==void 0?it:(It=ia==null?void 0:ia.expandable)===null||It===void 0?void 0:It.expandIcon}),{childrenColumnName:ka="children"}=qi,Sa=b.useMemo(()=>Na.some(Zo=>Zo==null?void 0:Zo[ka])?"nest":xo||po!=null&&po.expandedRowRender?"row":null,[Na]),ui={body:b.useRef(null)},gi=mi(oi),ea=b.useRef(null),aa=b.useRef(null);Xi(ge,()=>Object.assign(Object.assign({},aa.current),{nativeElement:ea.current}));const la=b.useMemo(()=>typeof Rn=="function"?Rn:Zo=>Zo==null?void 0:Zo[Rn],[Rn]),[za]=tl(Na,ka,la),ba={},il=function(Zo,yi){let Yi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ua,yl,hl,ts;const Il=Object.assign(Object.assign({},ba),Zo);Yi&&((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&&ui.body.current&&(0,Wa.Z)(0,{getContainer:()=>ui.body.current}),_r==null||_r(Il.pagination,Il.filters,Il.sorter,{currentDataSource:Ci(ss(Na,Il.sorterStates,ka),Il.filterStates,ka),action:yi})},va=(Zo,yi)=>{il({sorter:Zo,sorterStates:yi},"sort",!1)},[Vi,ha,Ca,Ha]=Gs({prefixCls:oi,mergedColumns:Fi,onSorterChange:va,sortDirections:oo||["ascend","descend"],tableLocale:Ia,showSorterTooltip:xr}),La=b.useMemo(()=>ss(Na,ha,ka),[Na,ha]);ba.sorter=Ha(),ba.sorterStates=ha;const Gi=(Zo,yi)=>{il({filters:Zo,filterStates:yi},"filter",!0)},[Aa,na,al]=wa({prefixCls:oi,locale:Ia,dropdownPrefixCls:Ai,mergedColumns:Fi,onFilterChange:Gi,getPopupContainer:zr||Ti,rootClassName:Ee()(wn,Ho)}),ja=Ci(La,na,ka);ba.filters=al,ba.filterStates=na;const dl=b.useMemo(()=>{const Zo={};return Object.keys(al).forEach(yi=>{al[yi]!==null&&(Zo[yi]=al[yi])}),Object.assign(Object.assign({},Ca),{filters:Zo})},[Ca,al]),[pl]=Ts(dl),Wl=(Zo,yi)=>{il({pagination:Object.assign(Object.assign({},ba.pagination),{current:Zo,pageSize:yi})},"paginate")},[xa,cs]=ol(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:Zo=1,total:yi,pageSize:Yi=nl}=xa;return ja.length<yi?ja.length>Yi?ja.slice((Zo-1)*Yi,Zo*Yi):ja:ja.slice((Zo-1)*Yi,Zo*Yi)},[!!_n,ja,xa==null?void 0:xa.current,xa==null?void 0:xa.pageSize,xa==null?void 0:xa.total]),[Ll,Pl]=Mo({prefixCls:oi,data:ja,pageData:fl,getRowKey:la,getRecordByKey:za,expandType:Sa,childrenColumnName:ka,locale:Ia,getPopupContainer:zr||Ti},zn),Di=(Zo,yi,Yi)=>{let Ua;return typeof Or=="function"?Ua=Ee()(Or(Zo,yi,Yi)):Ua=Ee()(Or),Ee()({[`${oi}-row-selected`]:Pl.has(la(Zo,yi))},Ua)};qi.__PARENT_RENDER_ICON__=qi.expandIcon,qi.expandIcon=qi.expandIcon||ao||hi(Ia),Sa==="nest"&&qi.expandIconColumnIndex===void 0?qi.expandIconColumnIndex=zn?1:0:qi.expandIconColumnIndex>0&&zn&&(qi.expandIconColumnIndex-=1),typeof qi.indentSize!="number"&&(qi.indentSize=typeof Gr=="number"?Gr:15);const ni=b.useCallback(Zo=>pl(Ll(Aa(Vi(Zo)))),[Vi,Aa,Ll]);let Ra,gl;if(_n!==!1&&(xa!=null&&xa.total)){let Zo;xa.size?Zo=xa.size:Zo=ki==="small"||ki==="middle"?"small":void 0;const yi=yl=>b.createElement(Ja.Z,Object.assign({},xa,{className:Ee()(`${oi}-pagination ${oi}-pagination-${yl}`,xa.className),size:Zo})),Yi=Qi==="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=yi(Yi)),yl&&(Ra=yi(yl.toLowerCase().replace("top",""))),hl&&(gl=yi(hl.toLowerCase().replace("bottom","")))}else gl=yi(Yi)}let Rl;typeof Yr=="boolean"?Rl={spinning:Yr}:typeof Yr=="object"&&(Rl=Object.assign({spinning:!0},Yr));const Jl=Ee()(ya,Ho,`${oi}-wrapper`,ia==null?void 0:ia.className,{[`${oi}-wrapper-rtl`]:Qi==="rtl"},on,wn,$i),Is=Object.assign(Object.assign({},ia==null?void 0:ia.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=to?vs:Rs,ra={},Zi=b.useMemo(()=>{const{fontSize:Zo,lineHeight:yi,lineWidth:Yi,padding:Ua,paddingXS:yl,paddingSM:hl}=ti,ts=Math.floor(Zo*yi);switch(ki){case"middle":return hl*2+ts+Yi;case"small":return yl*2+ts+Yi;default:return Ua*2+ts+Yi}},[ti,ki]);return to&&(ra.listItemHeight=Zi),ji(b.createElement("div",{ref:ea,className:Jl,style:Is},b.createElement(Ji.Z,Object.assign({spinning:!1},Rl),Ra,b.createElement(Zs,Object.assign({},ra,wi,{ref:aa,columns:Fi,direction:Qi,expandable:qi,prefixCls:oi,className:Ee()({[`${oi}-middle`]:ki==="middle",[`${oi}-small`]:ki==="small",[`${oi}-bordered`]:Nn,[`${oi}-empty`]:Na.length===0},ya,Ho,$i),data:fl,rowKey:la,rowClassName:Di,emptyText:Bs,internalHooks:de,internalRefs:ui,transformColumns:ni,getContainerWidth:gi})),gl)))};var Xo=b.forwardRef(Oo);const Yo=(ye,ge)=>{const it=b.useRef(0);return it.current+=1,b.createElement(Xo,Object.assign({},ye,{ref:ge,_renderTimes:it.current}))},pi=b.forwardRef(Yo);pi.SELECTION_COLUMN=bo,pi.EXPAND_COLUMN=xe,pi.SELECTION_ALL=Bo,pi.SELECTION_INVERT=ri,pi.SELECTION_NONE=Si,pi.Column=Zn,pi.ColumnGroup=Hn,pi.Summary=Ie;var Bi=pi,Mi=Bi},96599:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return Ee}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(2738),Oe=z(29509),be=z(78776),Fe=z(22703),ze=z(12919),Be=z(48755),fe=z(36237),Ge=z(17835),Ce=z(63356),yt=z(51636),et=z(16931);const $e=ue=>{const{paddingXXS:Ct,lineWidth:He,tagPaddingHorizontal:We,componentCls:kt,calc:Ae}=ue,ve=Ae(We).sub(He).equal(),gt=Ae(Ct).sub(He).equal();return{[kt]:Object.assign(Object.assign({},(0,Ce.Wf)(ue)),{display:"inline-block",height:"auto",marginInlineEnd:ue.marginXS,paddingInline:ve,fontSize:ue.tagFontSize,lineHeight:ue.tagLineHeight,whiteSpace:"nowrap",background:ue.defaultBg,border:`${(0,fe.unit)(ue.lineWidth)} ${ue.lineType} ${ue.colorBorder}`,borderRadius:ue.borderRadiusSM,opacity:1,transition:`all ${ue.motionDurationMid}`,textAlign:"start",position:"relative",[`&${kt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ue.defaultColor},[`${kt}-close-icon`]:{marginInlineStart:gt,fontSize:ue.tagIconSize,color:ue.colorTextDescription,cursor:"pointer",transition:`all ${ue.motionDurationMid}`,"&:hover":{color:ue.colorTextHeading}},[`&${kt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ue.iconCls}-close, ${ue.iconCls}-close:hover`]:{color:ue.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${kt}-checkable-checked):hover`]:{color:ue.colorPrimary,backgroundColor:ue.colorFillSecondary},"&:active, &-checked":{color:ue.colorTextLightSolid},"&-checked":{backgroundColor:ue.colorPrimary,"&:hover":{backgroundColor:ue.colorPrimaryHover}},"&:active":{backgroundColor:ue.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ue.iconCls} + span, > span + ${ue.iconCls}`]:{marginInlineStart:ve}}),[`${kt}-borderless`]:{borderColor:"transparent",background:ue.tagBorderlessBg}}},je=ue=>{const{lineWidth:Ct,fontSizeIcon:He,calc:We}=ue,kt=ue.fontSizeSM;return(0,yt.mergeToken)(ue,{tagFontSize:kt,tagLineHeight:(0,fe.unit)(We(ue.lineHeightSM).mul(kt).equal()),tagIconSize:We(He).sub(We(Ct).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:ue.defaultBg})},Ve=ue=>({defaultBg:new Ge.FastColor(ue.colorFillQuaternary).onBackground(ue.colorBgContainer).toHexString(),defaultColor:ue.colorText});var rt=(0,et.I$)("Tag",ue=>{const Ct=je(ue);return $e(Ct)},Ve),Nt=function(ue,Ct){var He={};for(var We in ue)Object.prototype.hasOwnProperty.call(ue,We)&&Ct.indexOf(We)<0&&(He[We]=ue[We]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,We=Object.getOwnPropertySymbols(ue);kt<We.length;kt++)Ct.indexOf(We[kt])<0&&Object.prototype.propertyIsEnumerable.call(ue,We[kt])&&(He[We[kt]]=ue[We[kt]]);return He},se=b.forwardRef((ue,Ct)=>{const{prefixCls:He,style:We,className:kt,checked:Ae,onChange:ve,onClick:gt}=ue,Gt=Nt(ue,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ht,tag:pe}=b.useContext(Be.E_),Te=ln=>{ve==null||ve(!Ae),gt==null||gt(ln)},Ke=Ht("tag",He),[tn,lt,jt]=rt(Ke),ct=de()(Ke,`${Ke}-checkable`,{[`${Ke}-checkable-checked`]:Ae},pe==null?void 0:pe.className,kt,lt,jt);return tn(b.createElement("span",Object.assign({},Gt,{ref:Ct,style:Object.assign(Object.assign({},We),pe==null?void 0:pe.style),className:ct,onClick:Te})))}),Me=z(93427);const ft=ue=>(0,Me.Z)(ue,(Ct,He)=>{let{textColor:We,lightBorderColor:kt,lightColor:Ae,darkColor:ve}=He;return{[`${ue.componentCls}${ue.componentCls}-${Ct}`]:{color:We,background:Ae,borderColor:kt,"&-inverse":{color:ue.colorTextLightSolid,background:ve,borderColor:ve},[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}});var mt=(0,et.bk)(["Tag","preset"],ue=>{const Ct=je(ue);return ft(Ct)},Ve);function Zt(ue){return typeof ue!="string"?ue:ue.charAt(0).toUpperCase()+ue.slice(1)}const Je=(ue,Ct,He)=>{const We=Zt(He);return{[`${ue.componentCls}${ue.componentCls}-${Ct}`]:{color:ue[`color${He}`],background:ue[`color${We}Bg`],borderColor:ue[`color${We}Border`],[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}};var at=(0,et.bk)(["Tag","status"],ue=>{const Ct=je(ue);return[Je(Ct,"success","Success"),Je(Ct,"processing","Info"),Je(Ct,"error","Error"),Je(Ct,"warning","Warning")]},Ve),dt=function(ue,Ct){var He={};for(var We in ue)Object.prototype.hasOwnProperty.call(ue,We)&&Ct.indexOf(We)<0&&(He[We]=ue[We]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,We=Object.getOwnPropertySymbols(ue);kt<We.length;kt++)Ct.indexOf(We[kt])<0&&Object.prototype.propertyIsEnumerable.call(ue,We[kt])&&(He[We[kt]]=ue[We[kt]]);return He};const Ze=b.forwardRef((ue,Ct)=>{const{prefixCls:He,className:We,rootClassName:kt,style:Ae,children:ve,icon:gt,color:Gt,onClose:Ht,bordered:pe=!0,visible:Te}=ue,Ke=dt(ue,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:tn,direction:lt,tag:jt}=b.useContext(Be.E_),[ct,ln]=b.useState(!0),Et=(0,tt.Z)(Ke,["closeIcon","closable"]);b.useEffect(()=>{Te!==void 0&&ln(Te)},[Te]);const le=(0,Oe.o2)(Gt),ne=(0,Oe.yT)(Gt),te=le||ne,ae=Object.assign(Object.assign({backgroundColor:Gt&&!te?Gt:void 0},jt==null?void 0:jt.style),Ae),he=tn("tag",He),[re,ce,De]=rt(he),st=de()(he,jt==null?void 0:jt.className,{[`${he}-${Gt}`]:te,[`${he}-has-color`]:Gt&&!te,[`${he}-hidden`]:!ct,[`${he}-rtl`]:lt==="rtl",[`${he}-borderless`]:!pe},We,kt,ce,De),Qe=Ue=>{Ue.stopPropagation(),Ht==null||Ht(Ue),!Ue.defaultPrevented&&ln(!1)},[,Ie]=(0,be.Z)((0,be.w)(ue),(0,be.w)(jt),{closable:!1,closeIconRender:Ue=>{const pn=b.createElement("span",{className:`${he}-close-icon`,onClick:Qe},Ue);return(0,Fe.wm)(Ue,pn,Wt=>({onClick:Cn=>{var cn;(cn=Wt==null?void 0:Wt.onClick)===null||cn===void 0||cn.call(Wt,Cn),Qe(Cn)},className:de()(Wt==null?void 0:Wt.className,`${he}-close-icon`)}))}}),pt=typeof Ke.onClick=="function"||ve&&ve.type==="a",Pt=gt||null,Tt=Pt?b.createElement(b.Fragment,null,Pt,ve&&b.createElement("span",null,ve)):ve,Le=b.createElement("span",Object.assign({},Et,{ref:Ct,className:st,style:ae}),Tt,Ie,le&&b.createElement(mt,{key:"preset",prefixCls:he}),ne&&b.createElement(at,{key:"status",prefixCls:he}));return re(pt?b.createElement(ze.Z,{component:"Tag"},Le):Le)});Ze.CheckableTag=se;var Ee=Ze},53420:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return qt}});var b=z(59301),xe=z(92310),de=z.n(xe),tt=z(54476),Oe=z(94480),be=z(33885),Fe=z(42978),ze=z(75931),Be=z(76190),fe=z(37463),Ge=z(6551),Ce=z(34643),yt=z(18929),et=z(48736),$e=function(Dt){var sn=b.useRef({valueLabels:new Map});return b.useMemo(function(){var Sn=sn.current.valueLabels,vn=new Map,Bn=Dt.map(function(Un){var Yn=Un.value,$t=Un.label,Mn=$t!=null?$t:Sn.get(Yn);return vn.set(Yn,Mn),(0,be.Z)((0,be.Z)({},Un),{},{label:Mn})});return sn.current.valueLabels=vn,[Bn]},[Dt])},je=function(sn,Sn,vn,Bn){return b.useMemo(function(){var Un=function(Re){return Re.map(function(ht){var Ye=ht.value;return Ye})},Yn=Un(sn),$t=Un(Sn),Mn=Yn.filter(function(zt){return!Bn[zt]}),rn=Yn,or=$t;if(vn){var wt=(0,Ce.S)(Yn,!0,Bn);rn=wt.checkedKeys,or=wt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Oe.Z)(Mn),(0,Oe.Z)(rn)))),or]},[sn,Sn,vn,Bn])},Ve=je,rt=z(34061),Nt=function(Dt,sn){return b.useMemo(function(){var Sn=(0,rt.I8)(Dt,{fieldNames:sn,initWrapper:function(Bn){return(0,be.Z)((0,be.Z)({},Bn),{},{valueEntities:new Map})},processEntity:function(Bn,Un){var Yn=Bn.node[sn.value];if(0)var $t;Un.valueEntities.set(Yn,Bn)}});return Sn},[Dt,sn])},Ut=z(20068),se=z(11592),Me=function(){return null},ft=Me,mt=["children","value"];function Zt(Dt){return(0,se.Z)(Dt).map(function(sn){if(!b.isValidElement(sn)||!sn.type)return null;var Sn=sn,vn=Sn.key,Bn=Sn.props,Un=Bn.children,Yn=Bn.value,$t=(0,ze.Z)(Bn,mt),Mn=(0,be.Z)({key:vn,value:Yn},$t),rn=Zt(Un);return rn.length&&(Mn.children=rn),Mn}).filter(function(sn){return sn})}function Je(Dt){if(!Dt)return Dt;var sn=(0,be.Z)({},Dt);return"props"in sn||Object.defineProperty(sn,"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."),sn}}),sn}function at(Dt,sn,Sn,vn,Bn,Un){var Yn=null,$t=null;function Mn(){function rn(or){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return or.map(function(Re,ht){var Ye="".concat(wt,"-").concat(ht),St=Re[Un.value],_t=Sn.includes(St),tr=rn(Re[Un.children]||[],Ye,_t),ar=b.createElement(ft,Re,tr.map(function(xt){return xt.node}));if(sn===St&&(Yn=ar),_t){var bt={pos:Ye,node:ar,children:tr};return zt||$t.push(bt),bt}return null}).filter(function(Re){return Re})}$t||($t=[],rn(vn),$t.sort(function(or,wt){var zt=or.node.props.value,Re=wt.node.props.value,ht=Sn.indexOf(zt),Ye=Sn.indexOf(Re);return ht-Ye}))}Object.defineProperty(Dt,"triggerNode",{get:function(){return(0,et.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Mn(),Yn}}),Object.defineProperty(Dt,"allCheckedNodes",{get:function(){return(0,et.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Mn(),Bn?$t:$t.map(function(or){var wt=or.node;return wt})}})}var dt=function(sn,Sn,vn){var Bn=vn.fieldNames,Un=vn.treeNodeFilterProp,Yn=vn.filterTreeNode,$t=Bn.children;return b.useMemo(function(){if(!Sn||Yn===!1)return sn;var Mn=typeof Yn=="function"?Yn:function(or,wt){return String(wt[Un]).toUpperCase().includes(Sn.toUpperCase())},rn=function or(wt){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return wt.reduce(function(Re,ht){var Ye=ht[$t],St=zt||Mn(Sn,Je(ht)),_t=or(Ye||[],St);return(St||_t.length)&&Re.push((0,be.Z)((0,be.Z)({},ht),{},(0,Ut.Z)({isLeaf:void 0},$t,_t))),Re},[])};return rn(sn)},[sn,Sn,$t,Un,Yn])},Pe=dt;function Ze(Dt){var sn=b.useRef();sn.current=Dt;var Sn=b.useCallback(function(){return sn.current.apply(sn,arguments)},[]);return Sn}function Ee(Dt,sn){var Sn=sn.id,vn=sn.pId,Bn=sn.rootPId,Un=new Map,Yn=[];return Dt.forEach(function($t){var Mn=$t[Sn],rn=(0,be.Z)((0,be.Z)({},$t),{},{key:$t.key||Mn});Un.set(Mn,rn)}),Un.forEach(function($t){var Mn=$t[vn],rn=Un.get(Mn);rn?(rn.children=rn.children||[],rn.children.push($t)):(Mn===Bn||Bn===null)&&Yn.push($t)}),Yn}function ue(Dt,sn,Sn){return b.useMemo(function(){if(Dt){if(Sn){var vn=(0,be.Z)({id:"id",pId:"pId",rootPId:null},(0,Be.Z)(Sn)==="object"?Sn:{});return Ee(Dt,vn)}return Dt}return Zt(sn)},[sn,Sn,Dt])}var Ct=b.createContext(null),He=Ct,We=z(19251),kt=z(3741),Ae=z(10228),ve=z(80547),gt=b.createContext(null),Gt=gt,Ht=function(sn){return Array.isArray(sn)?sn:sn!==void 0?[sn]:[]},pe=function(sn){var Sn=sn||{},vn=Sn.label,Bn=Sn.value,Un=Sn.children;return{_title:vn?[vn]:["title","label"],value:Bn||"value",key:Bn||"value",children:Un||"children"}},Te=function(sn){return!sn||sn.disabled||sn.disableCheckbox||sn.checkable===!1},Ke=function(sn,Sn){var vn=[],Bn=function Un(Yn){Yn.forEach(function($t){var Mn=$t[Sn.children];Mn&&(vn.push($t[Sn.value]),Un(Mn))})};return Bn(sn),vn},tn=function(sn){return sn==null},lt=z(70425),jt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ct=function(sn,Sn){var vn=(0,fe.lk)(),Bn=vn.prefixCls,Un=vn.multiple,Yn=vn.searchValue,$t=vn.toggleOpen,Mn=vn.open,rn=vn.notFoundContent,or=b.useContext(Gt),wt=or.virtual,zt=or.listHeight,Re=or.listItemHeight,ht=or.listItemScrollOffset,Ye=or.treeData,St=or.fieldNames,_t=or.onSelect,tr=or.dropdownMatchSelectWidth,ar=or.treeExpandAction,bt=or.treeTitleRender,xt=or.onPopupScroll,Ft=or.leftMaxCount,Kt=or.leafCountOnly,Pn=or.valueEntities,Tn=b.useContext(He),kn=Tn.checkable,Kn=Tn.checkedKeys,pr=Tn.halfCheckedKeys,Ar=Tn.treeExpandedKeys,Vr=Tn.treeDefaultExpandAll,Br=Tn.treeDefaultExpandedKeys,fr=Tn.onTreeExpand,Pr=Tn.treeIcon,kr=Tn.showTreeIcon,$r=Tn.switcherIcon,Xr=Tn.treeLine,vo=Tn.treeNodeFilterProp,yr=Tn.loadData,ur=Tn.treeLoadedKeys,gr=Tn.treeMotion,no=Tn.onTreeLoad,Kr=Tn.keyEntities,wr=b.useRef(),Rr=(0,ve.Z)(function(){return Ye},[Mn,Ye],function(co,fo){return fo[0]&&co[1]!==fo[1]}),mo=b.useMemo(function(){return kn?{checked:Kn,halfChecked:pr}:null},[kn,Kn,pr]);b.useEffect(function(){if(Mn&&!Un&&Kn.length){var co;(co=wr.current)===null||co===void 0||co.scrollTo({key:Kn[0]})}},[Mn]);var Qr=function(fo){fo.preventDefault()},qr=function(fo,bo){var Bo=bo.node;kn&&Te(Bo)||(_t(Bo.key,{selected:!Kn.includes(Bo.key)}),Un||$t(!1))},eo=b.useState(Br),ko=(0,Fe.Z)(eo,2),_o=ko[0],qo=ko[1],Lo=b.useState(null),ii=(0,Fe.Z)(Lo,2),ke=ii[0],nt=ii[1],Mt=b.useMemo(function(){return Ar?(0,Oe.Z)(Ar):Yn?ke:_o},[_o,ke,Ar,Yn]),un=function(fo){qo(fo),nt(fo),fr&&fr(fo)},fn=String(Yn).toLowerCase(),Rt=function(fo){return fn?String(fo[vo]).toLowerCase().includes(fn):!1};b.useEffect(function(){Yn&&nt(Ke(Ye,St))},[Yn]);var ot=b.useState(function(){return new Map}),Ot=(0,Fe.Z)(ot,2),en=Ot[0],Fn=Ot[1];b.useEffect(function(){Ft&&Fn(new Map)},[Ft]);function Zn(co){var fo=co[St.value];if(!en.has(fo)){var bo=Pn.get(fo),Bo=(bo.children||[]).length===0;if(Bo)en.set(fo,!1);else{var ri=bo.children.filter(function(bi){return!bi.node.disabled&&!bi.node.disableCheckbox&&!Kn.includes(bi.node[St.value])}),Si=ri.length;en.set(fo,Si>Ft)}}return en.get(fo)}var An=(0,lt.zX)(function(co){var fo=co[St.value];return Kn.includes(fo)||Ft===null?!1:Ft<=0?!0:Kt&&Ft?Zn(co):!1}),Hn=function co(fo){var bo=(0,We.Z)(fo),Bo;try{for(bo.s();!(Bo=bo.n()).done;){var ri=Bo.value;if(!(ri.disabled||ri.selectable===!1)){if(Yn){if(Rt(ri))return ri}else return ri;if(ri[St.children]){var Si=co(ri[St.children]);if(Si)return Si}}}}catch(bi){bo.e(bi)}finally{bo.f()}return null},$n=b.useState(null),Cr=(0,Fe.Z)($n,2),br=Cr[0],Wr=Cr[1],Jr=Kr[br];b.useEffect(function(){if(Mn){var co=null,fo=function(){var Bo=Hn(Rr);return Bo?Bo[St.value]:null};!Un&&Kn.length&&!Yn?co=Kn[0]:co=fo(),Wr(co)}},[Mn,Yn]),b.useImperativeHandle(Sn,function(){var co;return{scrollTo:(co=wr.current)===null||co===void 0?void 0:co.scrollTo,onKeyDown:function(bo){var Bo,ri=bo.which;switch(ri){case Ae.Z.UP:case Ae.Z.DOWN:case Ae.Z.LEFT:case Ae.Z.RIGHT:(Bo=wr.current)===null||Bo===void 0||Bo.onKeyDown(bo);break;case Ae.Z.ENTER:{if(Jr){var Si=An(Jr.node),bi=(Jr==null?void 0:Jr.node)||{},Ki=bi.selectable,Wo=bi.value,Mo=bi.disabled;Ki!==!1&&!Mo&&!Si&&qr(null,{node:{key:br},selected:!Kn.includes(Wo)})}break}case Ae.Z.ESC:$t(!1)}},onKeyUp:function(){}}});var yo=(0,ve.Z)(function(){return!Yn},[Yn,Ar||_o],function(co,fo){var bo=(0,Fe.Z)(co,1),Bo=bo[0],ri=(0,Fe.Z)(fo,2),Si=ri[0],bi=ri[1];return Bo!==Si&&!!(Si||bi)}),io=yo?yr:null;if(Rr.length===0)return b.createElement("div",{role:"listbox",className:"".concat(Bn,"-empty"),onMouseDown:Qr},rn);var Io={fieldNames:St};return ur&&(Io.loadedKeys=ur),Mt&&(Io.expandedKeys=Mt),b.createElement("div",{onMouseDown:Qr},Jr&&Mn&&b.createElement("span",{style:jt,"aria-live":"assertive"},Jr.node.value),b.createElement(kt.y6.Provider,{value:{nodeDisabled:An}},b.createElement(kt.ZP,(0,tt.Z)({ref:wr,focusable:!1,prefixCls:"".concat(Bn,"-tree"),treeData:Rr,height:zt,itemHeight:Re,itemScrollOffset:ht,virtual:wt!==!1&&tr!==!1,multiple:Un,icon:Pr,showIcon:kr,switcherIcon:$r,showLine:Xr,loadData:io,motion:gr,activeKey:br,checkable:kn,checkStrictly:!0,checkedKeys:mo,selectedKeys:kn?[]:Kn,defaultExpandAll:Vr,titleRender:bt},Io,{onActiveChange:Wr,onSelect:qr,onCheck:qr,onExpand:un,onLoad:no,filterTreeNode:Rt,expandAction:ar,onScroll:xt}))))},ln=b.forwardRef(ct),Et=ln,le="SHOW_ALL",ne="SHOW_PARENT",te="SHOW_CHILD";function ae(Dt,sn,Sn,vn){var Bn=new Set(Dt);return sn===te?Dt.filter(function(Un){var Yn=Sn[Un];return!Yn||!Yn.children||!Yn.children.some(function($t){var Mn=$t.node;return Bn.has(Mn[vn.value])})||!Yn.children.every(function($t){var Mn=$t.node;return Te(Mn)||Bn.has(Mn[vn.value])})}):sn===ne?Dt.filter(function(Un){var Yn=Sn[Un],$t=Yn?Yn.parent:null;return!$t||Te($t.node)||!Bn.has($t.key)}):Dt}function he(Dt){var sn=Dt.searchPlaceholder,Sn=Dt.treeCheckStrictly,vn=Dt.treeCheckable,Bn=Dt.labelInValue,Un=Dt.value,Yn=Dt.multiple,$t=Dt.showCheckedStrategy,Mn=Dt.maxCount;warning(!sn,"`searchPlaceholder` has been removed."),Sn&&Bn===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Bn||Sn)&&warning(toArray(Un).every(function(rn){return rn&&_typeof(rn)==="object"&&"value"in rn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Sn||Yn||vn?warning(!Un||Array.isArray(Un),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Un),"`value` should not be array when `TreeSelect` is single mode."),Mn&&($t==="SHOW_ALL"&&!Sn||$t==="SHOW_PARENT")&&warning(!1,"`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.")}var re=null,ce=["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(Dt){return!Dt||(0,Be.Z)(Dt)!=="object"}var st=b.forwardRef(function(Dt,sn){var Sn=Dt.id,vn=Dt.prefixCls,Bn=vn===void 0?"rc-tree-select":vn,Un=Dt.value,Yn=Dt.defaultValue,$t=Dt.onChange,Mn=Dt.onSelect,rn=Dt.onDeselect,or=Dt.searchValue,wt=Dt.inputValue,zt=Dt.onSearch,Re=Dt.autoClearSearchValue,ht=Re===void 0?!0:Re,Ye=Dt.filterTreeNode,St=Dt.treeNodeFilterProp,_t=St===void 0?"value":St,tr=Dt.showCheckedStrategy,ar=Dt.treeNodeLabelProp,bt=Dt.multiple,xt=Dt.treeCheckable,Ft=Dt.treeCheckStrictly,Kt=Dt.labelInValue,Pn=Dt.maxCount,Tn=Dt.fieldNames,kn=Dt.treeDataSimpleMode,Kn=Dt.treeData,pr=Dt.children,Ar=Dt.loadData,Vr=Dt.treeLoadedKeys,Br=Dt.onTreeLoad,fr=Dt.treeDefaultExpandAll,Pr=Dt.treeExpandedKeys,kr=Dt.treeDefaultExpandedKeys,$r=Dt.onTreeExpand,Xr=Dt.treeExpandAction,vo=Dt.virtual,yr=Dt.listHeight,ur=yr===void 0?200:yr,gr=Dt.listItemHeight,no=gr===void 0?20:gr,Kr=Dt.listItemScrollOffset,wr=Kr===void 0?0:Kr,Rr=Dt.onDropdownVisibleChange,mo=Dt.dropdownMatchSelectWidth,Qr=mo===void 0?!0:mo,qr=Dt.treeLine,eo=Dt.treeIcon,ko=Dt.showTreeIcon,_o=Dt.switcherIcon,qo=Dt.treeMotion,Lo=Dt.treeTitleRender,ii=Dt.onPopupScroll,ke=(0,ze.Z)(Dt,ce),nt=(0,Ge.ZP)(Sn),Mt=xt&&!Ft,un=xt||Ft,fn=Ft||Kt,Rt=un||bt,ot=(0,yt.Z)(Yn,{value:Un}),Ot=(0,Fe.Z)(ot,2),en=Ot[0],Fn=Ot[1],Zn=b.useMemo(function(){return xt?tr||te:le},[tr,xt]),An=b.useMemo(function(){return pe(Tn)},[JSON.stringify(Tn)]),Hn=(0,yt.Z)("",{value:or!==void 0?or:wt,postState:function(ho){return ho||""}}),$n=(0,Fe.Z)(Hn,2),Cr=$n[0],br=$n[1],Wr=function(ho){br(ho),zt==null||zt(ho)},Jr=ue(Kn,pr,kn),yo=Nt(Jr,An),io=yo.keyEntities,Io=yo.valueEntities,co=b.useCallback(function(wo){var ho=[],To=[];return wo.forEach(function(si){Io.has(si)?To.push(si):ho.push(si)}),{missingRawValues:ho,existRawValues:To}},[Io]),fo=Pe(Jr,Cr,{fieldNames:An,treeNodeFilterProp:_t,filterTreeNode:Ye}),bo=b.useCallback(function(wo){if(wo){if(ar)return wo[ar];for(var ho=An._title,To=0;To<ho.length;To+=1){var si=wo[ho[To]];if(si!==void 0)return si}}},[An,ar]),Bo=b.useCallback(function(wo){var ho=Ht(wo);return ho.map(function(To){return De(To)?{value:To}:To})},[]),ri=b.useCallback(function(wo){var ho=Bo(wo);return ho.map(function(To){var si=To.label,da=To.value,Ri=To.halfChecked,Li,Oi=Io.get(da);if(Oi){var pa;si=Lo?Lo(Oi.node):(pa=si)!==null&&pa!==void 0?pa:bo(Oi.node),Li=Oi.node.disabled}else if(si===void 0){var Ea=Bo(en).find(function(Oa){return Oa.value===da});si=Ea.label}return{label:si,value:da,halfChecked:Ri,disabled:Li}})},[Io,bo,Bo,en]),Si=b.useMemo(function(){return Bo(en===null?[]:en)},[Bo,en]),bi=b.useMemo(function(){var wo=[],ho=[];return Si.forEach(function(To){To.halfChecked?ho.push(To):wo.push(To)}),[wo,ho]},[Si]),Ki=(0,Fe.Z)(bi,2),Wo=Ki[0],Mo=Ki[1],Wi=b.useMemo(function(){return Wo.map(function(wo){return wo.value})},[Wo]),zi=Ve(Wo,Mo,Mt,io),Xi=(0,Fe.Z)(zi,2),Wa=Xi[0],Pa=Xi[1],Ta=b.useMemo(function(){var wo=ae(Wa,Zn,io,An),ho=wo.map(function(Ri){var Li,Oi;return(Li=(Oi=io[Ri])===null||Oi===void 0||(Oi=Oi.node)===null||Oi===void 0?void 0:Oi[An.value])!==null&&Li!==void 0?Li:Ri}),To=ho.map(function(Ri){var Li=Wo.find(function(pa){return pa.value===Ri}),Oi=Kt?Li==null?void 0:Li.label:Lo==null?void 0:Lo(Li);return{value:Ri,label:Oi}}),si=ri(To),da=si[0];return!Rt&&da&&tn(da.value)&&tn(da.label)?[]:si.map(function(Ri){var Li;return(0,be.Z)((0,be.Z)({},Ri),{},{label:(Li=Ri.label)!==null&&Li!==void 0?Li:Ri.value})})},[An,Rt,Wa,Wo,ri,Zn,io]),Ba=$e(Ta),Ui=(0,Fe.Z)(Ba,1),Fa=Ui[0],ul=b.useMemo(function(){return Rt&&(Zn==="SHOW_CHILD"||Ft||!xt)?Pn:null},[Pn,Rt,Ft,Zn,xt]),Ja=Ze(function(wo,ho,To){var si=ae(wo,Zn,io,An);if(!(ul&&si.length>ul)){var da=ri(wo);if(Fn(da),ht&&br(""),$t){var Ri=wo;Mt&&(Ri=si.map(function(cl){var el=Io.get(cl);return el?el.node[An.value]:cl}));var Li=ho||{triggerValue:void 0,selected:void 0},Oi=Li.triggerValue,pa=Li.selected,Ea=Ri;if(Ft){var Oa=Mo.filter(function(cl){return!Ri.includes(cl.value)});Ea=[].concat((0,Oe.Z)(Ea),(0,Oe.Z)(Oa))}var Ya=ri(Ea),Ii={preValue:Wo,triggerValue:Oi},Ga=!0;(Ft||To==="selection"&&!pa)&&(Ga=!1),at(Ii,Oi,wo,Jr,Ga,An),un?Ii.checked=pa:Ii.selected=pa;var wl=fn?Ya:Ya.map(function(cl){return cl.value});$t(Rt?wl:wl[0],fn?null:Ya.map(function(cl){return cl.label}),Ii)}}}),Ji=b.useCallback(function(wo,ho){var To,si=ho.selected,da=ho.source,Ri=io[wo],Li=Ri==null?void 0:Ri.node,Oi=(To=Li==null?void 0:Li[An.value])!==null&&To!==void 0?To:wo;if(!Rt)Ja([Oi],{selected:!0,triggerValue:Oi},"option");else{var pa=si?[].concat((0,Oe.Z)(Wi),[Oi]):Wa.filter(function(el){return el!==Oi});if(Mt){var Ea=co(pa),Oa=Ea.missingRawValues,Ya=Ea.existRawValues,Ii=Ya.map(function(el){return Io.get(el).key}),Ga;if(si){var wl=(0,Ce.S)(Ii,!0,io);Ga=wl.checkedKeys}else{var cl=(0,Ce.S)(Ii,{checked:!1,halfCheckedKeys:Pa},io);Ga=cl.checkedKeys}pa=[].concat((0,Oe.Z)(Oa),(0,Oe.Z)(Ga.map(function(el){return io[el].node[An.value]})))}Ja(pa,{selected:si,triggerValue:Oi},da||"option")}si||!Rt?Mn==null||Mn(Oi,Je(Li)):rn==null||rn(Oi,Je(Li))},[co,Io,io,An,Rt,Wi,Ja,Mt,Mn,rn,Wa,Pa,Pn]),Nl=b.useCallback(function(wo){if(Rr){var ho={};Object.defineProperty(ho,"documentClickClose",{get:function(){return(0,et.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Rr(wo,ho)}},[Rr]),El=Ze(function(wo,ho){var To=wo.map(function(si){return si.value});if(ho.type==="clear"){Ja(To,{},"selection");return}ho.values.length&&Ji(ho.values[0].value,{selected:!1,source:"selection"})}),hi=b.useMemo(function(){return{virtual:vo,dropdownMatchSelectWidth:Qr,listHeight:ur,listItemHeight:no,listItemScrollOffset:wr,treeData:fo,fieldNames:An,onSelect:Ji,treeExpandAction:Xr,treeTitleRender:Lo,onPopupScroll:ii,leftMaxCount:Pn===void 0?null:Pn-Fa.length,leafCountOnly:Zn==="SHOW_CHILD"&&!Ft&&!!xt,valueEntities:Io}},[vo,Qr,ur,no,wr,fo,An,Ji,Xr,Lo,ii,Pn,Fa.length,Zn,Ft,xt,Io]),mi=b.useMemo(function(){return{checkable:un,loadData:Ar,treeLoadedKeys:Vr,onTreeLoad:Br,checkedKeys:Wa,halfCheckedKeys:Pa,treeDefaultExpandAll:fr,treeExpandedKeys:Pr,treeDefaultExpandedKeys:kr,onTreeExpand:$r,treeIcon:eo,treeMotion:qo,showTreeIcon:ko,switcherIcon:_o,treeLine:qr,treeNodeFilterProp:_t,keyEntities:io}},[un,Ar,Vr,Br,Wa,Pa,fr,Pr,kr,$r,eo,qo,ko,_o,qr,_t,io]);return b.createElement(Gt.Provider,{value:hi},b.createElement(He.Provider,{value:mi},b.createElement(fe.Ac,(0,tt.Z)({ref:sn},ke,{id:nt,prefixCls:Bn,mode:Rt?"multiple":void 0,displayValues:Fa,onDisplayValuesChange:El,searchValue:Cr,onSearch:Wr,OptionList:Et,emptyOptions:!Jr.length,onDropdownVisibleChange:Nl,dropdownMatchSelectWidth:Qr}))))}),Qe=st;Qe.TreeNode=ft,Qe.SHOW_ALL=le,Qe.SHOW_PARENT=ne,Qe.SHOW_CHILD=te;var Ie=Qe,pt=Ie,Pt=z(2738),Tt=z(75030),Le=z(86641),Ue=z(45915),pn=z(82855),Wt=z(48755),Cn=z(38406),cn=z(2171),Xt=z(83397),an=z(31756),mn=z(56553),vt=z(24971),Yt=z(1722),gn=z(90376),At=z(68525),_e=z(90005),Vt=z(70045),nn=z(57700),dn=z(85278),Ln=z(36237),Qn=z(36170),hr=z(51636),vr=z(16931),Jn=z(12425);const dr=Dt=>{const{componentCls:sn,treePrefixCls:Sn,colorBgElevated:vn}=Dt,Bn=`.${Sn}`;return[{[`${sn}-dropdown`]:[{padding:`${(0,Ln.unit)(Dt.paddingXS)} ${(0,Ln.unit)(Dt.calc(Dt.paddingXS).div(2).equal())}`},(0,Jn.Yk)(Sn,(0,hr.mergeToken)(Dt,{colorBgContainer:vn}),!1),{[Bn]:{borderRadius:0,[`${Bn}-list-holder-inner`]:{alignItems:"stretch",[`${Bn}-treenode`]:{[`${Bn}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Qn.C2)(`${Sn}-checkbox`,Dt),{"&-rtl":{direction:"rtl",[`${Bn}-switcher${Bn}-switcher_close`]:{[`${Bn}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},Jt=null;function En(Dt,sn,Sn){return(0,vr.I$)("TreeSelect",vn=>{const Bn=(0,hr.mergeToken)(vn,{treePrefixCls:sn});return[dr(Bn)]},Jn.TM)(Dt,Sn)}var qn=function(Dt,sn){var Sn={};for(var vn in Dt)Object.prototype.hasOwnProperty.call(Dt,vn)&&sn.indexOf(vn)<0&&(Sn[vn]=Dt[vn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bn=0,vn=Object.getOwnPropertySymbols(Dt);Bn<vn.length;Bn++)sn.indexOf(vn[Bn])<0&&Object.prototype.propertyIsEnumerable.call(Dt,vn[Bn])&&(Sn[vn[Bn]]=Dt[vn[Bn]]);return Sn};const nr=(Dt,sn)=>{var Sn;const{prefixCls:vn,size:Bn,disabled:Un,bordered:Yn=!0,className:$t,rootClassName:Mn,treeCheckable:rn,multiple:or,listHeight:wt=256,listItemHeight:zt,placement:Re,notFoundContent:ht,switcherIcon:Ye,treeLine:St,getPopupContainer:_t,popupClassName:tr,dropdownClassName:ar,treeIcon:bt=!1,transitionName:xt,choiceTransitionName:Ft="",status:Kt,treeExpandAction:Pn,builtinPlacements:Tn,dropdownMatchSelectWidth:kn,popupMatchSelectWidth:Kn,allowClear:pr,variant:Ar,dropdownStyle:Vr,tagRender:Br,maxCount:fr,showCheckedStrategy:Pr,treeCheckStrictly:kr}=Dt,$r=qn(Dt,["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:vo,renderEmpty:yr,direction:ur,virtual:gr,popupMatchSelectWidth:no,popupOverflow:Kr}=b.useContext(Wt.E_),[,wr]=(0,nn.ZP)(),Rr=zt!=null?zt:(wr==null?void 0:wr.controlHeightSM)+(wr==null?void 0:wr.paddingXXS),mo=vo(),Qr=vo("select",vn),qr=vo("select-tree",vn),eo=vo("tree-select",vn),{compactSize:ko,compactItemClassnames:_o}=(0,Vt.ri)(Qr,ur),qo=(0,Xt.Z)(Qr),Lo=(0,Xt.Z)(eo),[ii,ke,nt]=(0,gn.Z)(Qr,qo),[Mt]=En(eo,qr,Lo),[un,fn]=(0,vt.Z)("treeSelect",Ar,Yn),Rt=de()(tr||ar,`${eo}-dropdown`,{[`${eo}-dropdown-rtl`]:ur==="rtl"},Mn,nt,qo,Lo,ke),ot=!!(rn||or),Ot=b.useMemo(()=>{if(!(fr&&(Pr==="SHOW_ALL"&&!kr||Pr==="SHOW_PARENT")))return fr},[fr,Pr,kr]),en=(0,_e.Z)(Dt.suffixIcon,Dt.showArrow),Fn=(Sn=Kn!=null?Kn:kn)!==null&&Sn!==void 0?Sn:no,{status:Zn,hasFeedback:An,isFormItemInput:Hn,feedbackIcon:$n}=b.useContext(mn.aM),Cr=(0,pn.F)(Zn,Kt),{suffixIcon:br,removeIcon:Wr,clearIcon:Jr}=(0,At.Z)(Object.assign(Object.assign({},$r),{multiple:ot,showSuffixIcon:en,hasFeedback:An,feedbackIcon:$n,prefixCls:Qr,componentName:"TreeSelect"})),yo=pr===!0?{clearIcon:Jr}:pr;let io;ht!==void 0?io=ht:io=(yr==null?void 0:yr("Select"))||b.createElement(Cn.Z,{componentName:"Select"});const Io=(0,Pt.Z)($r,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),co=b.useMemo(()=>Re!==void 0?Re:ur==="rtl"?"bottomRight":"bottomLeft",[Re,ur]),fo=(0,an.Z)(Wo=>{var Mo;return(Mo=Bn!=null?Bn:ko)!==null&&Mo!==void 0?Mo:Wo}),bo=b.useContext(cn.Z),Bo=Un!=null?Un:bo,ri=de()(!vn&&eo,{[`${Qr}-lg`]:fo==="large",[`${Qr}-sm`]:fo==="small",[`${Qr}-rtl`]:ur==="rtl",[`${Qr}-${un}`]:fn,[`${Qr}-in-form-item`]:Hn},(0,pn.Z)(Qr,Cr,An),_o,$t,Mn,nt,qo,Lo,ke),Si=Wo=>b.createElement(dn.Z,{prefixCls:qr,switcherIcon:Ye,treeNodeProps:Wo,showLine:St}),[bi]=(0,Tt.Cn)("SelectLike",Vr==null?void 0:Vr.zIndex),Ki=b.createElement(pt,Object.assign({virtual:gr,disabled:Bo},Io,{dropdownMatchSelectWidth:Fn,builtinPlacements:(0,Yt.Z)(Tn,Kr),ref:sn,prefixCls:Qr,className:ri,listHeight:wt,listItemHeight:Rr,treeCheckable:rn&&b.createElement("span",{className:`${Qr}-tree-checkbox-inner`}),treeLine:!!St,suffixIcon:br,multiple:ot,placement:co,removeIcon:Wr,allowClear:yo,switcherIcon:Si,showTreeIcon:bt,notFoundContent:io,getPopupContainer:_t||Xr,treeMotion:null,dropdownClassName:Rt,dropdownStyle:Object.assign(Object.assign({},Vr),{zIndex:bi}),choiceTransitionName:(0,Le.m)(mo,"",Ft),transitionName:(0,Le.m)(mo,"slide-up",xt),treeExpandAction:Pn,tagRender:ot?Br:void 0,maxCount:Ot,showCheckedStrategy:Pr,treeCheckStrictly:kr}));return ii(Mt(Ki))},xn=b.forwardRef(nr),ut=(0,Ue.Z)(xn,"dropdownAlign",Dt=>(0,Pt.Z)(Dt,["visible"]));xn.TreeNode=ft,xn.SHOW_ALL=le,xn.SHOW_PARENT=ne,xn.SHOW_CHILD=te,xn._InternalPanelDoNotUseOrYouWillBeFired=ut;var qt=xn},18287:function(Vn,hn,z){"use strict";z.d(hn,{default:function(){return Ht}});var b=z(3741),xe=z(94480),de=z(59301),tt=z(52671),Oe=z(8657),be=z(54476),Fe={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"},ze=Fe,Be=z(7657),fe=function(Te,Ke){return de.createElement(Be.Z,(0,be.Z)({},Te,{ref:Ke,icon:ze}))},Ge=de.forwardRef(fe),Ce=Ge,yt=z(92310),et=z.n(yt),$e=z(82661),je=z(34061),Ve=z(48755),rt=z(56082),Nt=z(86641),Ut=z(57700),se=z(12425);const Me=4;function ft(pe){const{dropPosition:Te,dropLevelOffset:Ke,prefixCls:tn,indent:lt,direction:jt="ltr"}=pe,ct=jt==="ltr"?"left":"right",ln=jt==="ltr"?"right":"left",Et={[ct]:-Ke*lt+Me,[ln]:0};switch(Te){case-1:Et.top=-3;break;case 1:Et.bottom=-3;break;default:Et.bottom=-3,Et[ct]=lt+Me;break}return de.createElement("div",{style:Et,className:`${tn}-drop-indicator`})}var mt=ft,Zt=z(85278),at=de.forwardRef((pe,Te)=>{var Ke;const{getPrefixCls:tn,direction:lt,virtual:jt,tree:ct}=de.useContext(Ve.E_),{prefixCls:ln,className:Et,showIcon:le=!1,showLine:ne,switcherIcon:te,switcherLoadingIcon:ae,blockNode:he=!1,children:re,checkable:ce=!1,selectable:De=!0,draggable:st,motion:Qe,style:Ie}=pe,pt=tn("tree",ln),Pt=tn(),Tt=Qe!=null?Qe:Object.assign(Object.assign({},(0,Nt.Z)(Pt)),{motionAppear:!1}),Le=Object.assign(Object.assign({},pe),{checkable:ce,selectable:De,showIcon:le,motion:Tt,blockNode:he,showLine:!!ne,dropIndicatorRender:mt}),[Ue,pn,Wt]=(0,se.ZP)(pt),[,Cn]=(0,Ut.ZP)(),cn=Cn.paddingXS/2+(((Ke=Cn.Tree)===null||Ke===void 0?void 0:Ke.titleHeight)||Cn.controlHeightSM),Xt=de.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||de.createElement(rt.Z,null)),mn},[st]),an=mn=>de.createElement(Zt.Z,{prefixCls:pt,switcherIcon:te,switcherLoadingIcon:ae,treeNodeProps:mn,showLine:ne});return Ue(de.createElement(b.ZP,Object.assign({itemHeight:cn,ref:Te,virtual:jt},Le,{style:Object.assign(Object.assign({},ct==null?void 0:ct.style),Ie),prefixCls:pt,className:et()({[`${pt}-icon-hide`]:!le,[`${pt}-block-node`]:he,[`${pt}-unselectable`]:!De,[`${pt}-rtl`]:lt==="rtl"},ct==null?void 0:ct.className,Et,pn,Wt),direction:lt,checkable:ce&&de.createElement("span",{className:`${pt}-checkbox-inner`}),selectable:De,switcherIcon:an,draggable:Xt}),re))});const dt=0,Pe=1,Ze=2;function Ee(pe,Te,Ke){const{key:tn,children:lt}=Ke;function jt(ct){const ln=ct[tn],Et=ct[lt];Te(ln,ct)!==!1&&Ee(Et||[],Te,Ke)}pe.forEach(jt)}function ue(pe){let{treeData:Te,expandedKeys:Ke,startKey:tn,endKey:lt,fieldNames:jt}=pe;const ct=[];let ln=dt;if(tn&&tn===lt)return[tn];if(!tn||!lt)return[];function Et(le){return le===tn||le===lt}return Ee(Te,le=>{if(ln===Ze)return!1;if(Et(le)){if(ct.push(le),ln===dt)ln=Pe;else if(ln===Pe)return ln=Ze,!1}else ln===Pe&&ct.push(le);return Ke.includes(le)},(0,je.w$)(jt)),ct}function Ct(pe,Te,Ke){const tn=(0,xe.Z)(Te),lt=[];return Ee(pe,(jt,ct)=>{const ln=tn.indexOf(jt);return ln!==-1&&(lt.push(ct),tn.splice(ln,1)),!!tn.length},(0,je.w$)(Ke)),lt}var He=function(pe,Te){var Ke={};for(var tn in pe)Object.prototype.hasOwnProperty.call(pe,tn)&&Te.indexOf(tn)<0&&(Ke[tn]=pe[tn]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,tn=Object.getOwnPropertySymbols(pe);lt<tn.length;lt++)Te.indexOf(tn[lt])<0&&Object.prototype.propertyIsEnumerable.call(pe,tn[lt])&&(Ke[tn[lt]]=pe[tn[lt]]);return Ke};function We(pe){const{isLeaf:Te,expanded:Ke}=pe;return Te?de.createElement(tt.Z,null):Ke?de.createElement(Oe.Z,null):de.createElement(Ce,null)}function kt(pe){let{treeData:Te,children:Ke}=pe;return Te||(0,je.zn)(Ke)}const Ae=(pe,Te)=>{var{defaultExpandAll:Ke,defaultExpandParent:tn,defaultExpandedKeys:lt}=pe,jt=He(pe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ct=de.useRef(null),ln=de.useRef(null),Et=()=>{const{keyEntities:Ue}=(0,je.I8)(kt(jt));let pn;return Ke?pn=Object.keys(Ue):tn?pn=(0,$e.r7)(jt.expandedKeys||lt||[],Ue):pn=jt.expandedKeys||lt||[],pn},[le,ne]=de.useState(jt.selectedKeys||jt.defaultSelectedKeys||[]),[te,ae]=de.useState(()=>Et());de.useEffect(()=>{"selectedKeys"in jt&&ne(jt.selectedKeys)},[jt.selectedKeys]),de.useEffect(()=>{"expandedKeys"in jt&&ae(jt.expandedKeys)},[jt.expandedKeys]);const he=(Ue,pn)=>{var Wt;return"expandedKeys"in jt||ae(Ue),(Wt=jt.onExpand)===null||Wt===void 0?void 0:Wt.call(jt,Ue,pn)},re=(Ue,pn)=>{var Wt;const{multiple:Cn,fieldNames:cn}=jt,{node:Xt,nativeEvent:an}=pn,{key:mn=""}=Xt,vt=kt(jt),Yt=Object.assign(Object.assign({},pn),{selected:!0}),gn=(an==null?void 0:an.ctrlKey)||(an==null?void 0:an.metaKey),At=an==null?void 0:an.shiftKey;let _e;Cn&&gn?(_e=Ue,ct.current=mn,ln.current=_e,Yt.selectedNodes=Ct(vt,_e,cn)):Cn&&At?(_e=Array.from(new Set([].concat((0,xe.Z)(ln.current||[]),(0,xe.Z)(ue({treeData:vt,expandedKeys:te,startKey:mn,endKey:ct.current,fieldNames:cn}))))),Yt.selectedNodes=Ct(vt,_e,cn)):(_e=[mn],ct.current=mn,ln.current=_e,Yt.selectedNodes=Ct(vt,_e,cn)),(Wt=jt.onSelect)===null||Wt===void 0||Wt.call(jt,_e,Yt),"selectedKeys"in jt||ne(_e)},{getPrefixCls:ce,direction:De}=de.useContext(Ve.E_),{prefixCls:st,className:Qe,showIcon:Ie=!0,expandAction:pt="click"}=jt,Pt=He(jt,["prefixCls","className","showIcon","expandAction"]),Tt=ce("tree",st),Le=et()(`${Tt}-directory`,{[`${Tt}-directory-rtl`]:De==="rtl"},Qe);return de.createElement(at,Object.assign({icon:We,ref:Te,blockNode:!0},Pt,{showIcon:Ie,expandAction:pt,prefixCls:Tt,className:Le,expandedKeys:te,selectedKeys:le,onSelect:re,onExpand:he}))};var gt=de.forwardRef(Ae);const Gt=at;Gt.DirectoryTree=gt,Gt.TreeNode=b.OF;var Ht=Gt},12425:function(Vn,hn,z){"use strict";z.d(hn,{ZP:function(){return $e},Yk:function(){return Ce},TM:function(){return yt}});var b=z(36237),xe=z(36170),de=z(63356),tt=z(34961),Oe=z(51636),be=z(16931);const Fe=je=>{let{treeCls:Ve,treeNodeCls:rt,directoryNodeSelectedBg:Nt,directoryNodeSelectedColor:Ut,motionDurationMid:se,borderRadius:Me,controlItemBgHover:ft}=je;return{[`${Ve}${Ve}-directory ${rt}`]:{[`${Ve}-node-content-wrapper`]:{position:"static",[`> *:not(${Ve}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${se}`,content:'""',borderRadius:Me},"&:hover:before":{background:ft}},[`${Ve}-switcher, ${Ve}-checkbox, ${Ve}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Ve}-switcher, ${Ve}-draggable-icon`]:{color:Ut},[`${Ve}-node-content-wrapper`]:{color:Ut,background:"transparent","&:before, &:hover:before":{background:Nt}}}}}},ze=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Be=(je,Ve)=>({[`.${je}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Ve.motionDurationSlow}`}}}),fe=(je,Ve)=>({[`.${je}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Ve.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(Ve.lineWidthBold)} solid ${Ve.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ge=(je,Ve)=>{const{treeCls:rt,treeNodeCls:Nt,treeNodePadding:Ut,titleHeight:se,indentSize:Me,nodeSelectedBg:ft,nodeHoverBg:mt,colorTextQuaternary:Zt,controlItemBgActiveDisabled:Je}=Ve;return{[rt]:Object.assign(Object.assign({},(0,de.Wf)(Ve)),{background:Ve.colorBgContainer,borderRadius:Ve.borderRadius,transition:`background-color ${Ve.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${rt}-rtl ${rt}-switcher_close ${rt}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${rt}-active-focused)`]:Object.assign({},(0,de.oN)(Ve)),[`${rt}-list-holder-inner`]:{alignItems:"flex-start"},[`&${rt}-block-node`]:{[`${rt}-list-holder-inner`]:{alignItems:"stretch",[`${rt}-node-content-wrapper`]:{flex:"auto"},[`${Nt}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Ve.colorPrimary}`,opacity:0,animationName:ze,animationDuration:Ve.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Ve.borderRadius}}},[Nt]:{display:"flex",alignItems:"flex-start",marginBottom:Ut,lineHeight:(0,b.unit)(se),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ut},[`&-disabled ${rt}-node-content-wrapper`]:{color:Ve.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${rt}-checkbox-disabled + ${rt}-node-selected,&${Nt}-disabled${Nt}-selected ${rt}-node-content-wrapper`]:{backgroundColor:Je},[`${rt}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Nt}-disabled)`]:{[`${rt}-node-content-wrapper`]:{"&:hover":{color:Ve.nodeHoverColor}}},[`&-active ${rt}-node-content-wrapper`]:{background:Ve.controlItemBgHover},[`&:not(${Nt}-disabled).filter-node ${rt}-title`]:{color:Ve.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${rt}-draggable-icon`]:{flexShrink:0,width:se,textAlign:"center",visibility:"visible",color:Zt},[`&${Nt}-disabled ${rt}-draggable-icon`]:{visibility:"hidden"}}},[`${rt}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Me}},[`${rt}-draggable-icon`]:{visibility:"hidden"},[`${rt}-switcher, ${rt}-checkbox`]:{marginInlineEnd:Ve.calc(Ve.calc(se).sub(Ve.controlInteractiveSize)).div(2).equal()},[`${rt}-switcher`]:Object.assign(Object.assign({},Be(je,Ve)),{position:"relative",flex:"none",alignSelf:"stretch",width:se,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Ve.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:se,height:se,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Ve.borderRadius,transition:`all ${Ve.motionDurationSlow}`},[`&:not(${rt}-switcher-noop):hover:before`]:{backgroundColor:Ve.colorBgTextHover},[`&_close ${rt}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Ve.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ve.calc(se).div(2).equal(),bottom:Ve.calc(Ut).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Ve.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ve.calc(Ve.calc(se).div(2).equal()).mul(.8).equal(),height:Ve.calc(se).div(2).equal(),borderBottom:`1px solid ${Ve.colorBorder}`,content:'""'}}}),[`${rt}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:se,paddingBlock:0,paddingInline:Ve.paddingXS,background:"transparent",borderRadius:Ve.borderRadius,cursor:"pointer",transition:`all ${Ve.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},fe(je,Ve)),{"&:hover":{backgroundColor:mt},[`&${rt}-node-selected`]:{color:Ve.nodeSelectedColor,backgroundColor:ft},[`${rt}-iconEle`]:{display:"inline-block",width:se,height:se,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${rt}-unselectable ${rt}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Nt}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Ve.colorPrimary}`},"&-show-line":{[`${rt}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ve.calc(se).div(2).equal(),bottom:Ve.calc(Ut).mul(-1).equal(),borderInlineEnd:`1px solid ${Ve.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${rt}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Nt}-leaf-last ${rt}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(Ve.calc(se).div(2).equal())} !important`}})}},Ce=function(je,Ve){let rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Nt=`.${je}`,Ut=`${Nt}-treenode`,se=Ve.calc(Ve.paddingXS).div(2).equal(),Me=(0,Oe.mergeToken)(Ve,{treeCls:Nt,treeNodeCls:Ut,treeNodePadding:se});return[Ge(je,Me),rt&&Fe(Me)].filter(Boolean)},yt=je=>{const{controlHeightSM:Ve,controlItemBgHover:rt,controlItemBgActive:Nt}=je,Ut=Ve;return{titleHeight:Ut,indentSize:Ut,nodeHoverBg:rt,nodeHoverColor:je.colorText,nodeSelectedBg:Nt,nodeSelectedColor:je.colorText}},et=je=>{const{colorTextLightSolid:Ve,colorPrimary:rt}=je;return Object.assign(Object.assign({},yt(je)),{directoryNodeSelectedColor:Ve,directoryNodeSelectedBg:rt})};var $e=(0,be.I$)("Tree",(je,Ve)=>{let{prefixCls:rt}=Ve;return[{[je.componentCls]:(0,xe.C2)(`${rt}-checkbox`,je)},Ce(rt,je),(0,tt.Z)(je)]},et)},85278:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ve}});var b=z(59301),xe=z(54476),de={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"},tt=de,Oe=z(7657),be=function(Nt,Ut){return b.createElement(Oe.Z,(0,xe.Z)({},Nt,{ref:Ut,icon:tt}))},Fe=b.forwardRef(be),ze=Fe,Be=z(52671),fe=z(58617),Ge=z(15075),Ce=z(43531),yt=z(92310),et=z.n(yt),$e=z(22703),Ve=rt=>{const{prefixCls:Nt,switcherIcon:Ut,treeNodeProps:se,showLine:Me,switcherLoadingIcon:ft}=rt,{isLeaf:mt,expanded:Zt,loading:Je}=se;if(Je)return b.isValidElement(ft)?ft:b.createElement(fe.Z,{className:`${Nt}-switcher-loading-icon`});let at;if(Me&&typeof Me=="object"&&(at=Me.showLeafIcon),mt){if(!Me)return null;if(typeof at!="boolean"&&at){const Ze=typeof at=="function"?at(se):at,Ee=`${Nt}-switcher-line-custom-icon`;return b.isValidElement(Ze)?(0,$e.Tm)(Ze,{className:et()(Ze.props.className||"",Ee)}):Ze}return at?b.createElement(Be.Z,{className:`${Nt}-switcher-line-icon`}):b.createElement("span",{className:`${Nt}-switcher-leaf-line`})}const dt=`${Nt}-switcher-icon`,Pe=typeof Ut=="function"?Ut(se):Ut;return b.isValidElement(Pe)?(0,$e.Tm)(Pe,{className:et()(Pe.props.className||"",dt)}):Pe!==void 0?Pe:Me?Zt?b.createElement(Ge.Z,{className:`${Nt}-switcher-line-icon`}):b.createElement(Ce.Z,{className:`${Nt}-switcher-line-icon`}):b.createElement(ze,{className:dt})}},99498:function(Vn,hn,z){(function(b){b(z(89780))})(function(b){b.defineOption("placeholder","",function(ze,Be,fe){var Ge=fe&&fe!=b.Init;if(Be&&!Ge)ze.on("blur",Oe),ze.on("change",be),ze.on("swapDoc",be),b.on(ze.getInputField(),"compositionupdate",ze.state.placeholderCompose=function(){tt(ze)}),be(ze);else if(!Be&&Ge){ze.off("blur",Oe),ze.off("change",be),ze.off("swapDoc",be),b.off(ze.getInputField(),"compositionupdate",ze.state.placeholderCompose),xe(ze);var Ce=ze.getWrapperElement();Ce.className=Ce.className.replace(" CodeMirror-empty","")}Be&&!ze.hasFocus()&&Oe(ze)});function xe(ze){ze.state.placeholder&&(ze.state.placeholder.parentNode.removeChild(ze.state.placeholder),ze.state.placeholder=null)}function de(ze){xe(ze);var Be=ze.state.placeholder=document.createElement("pre");Be.style.cssText="height: 0; overflow: visible",Be.style.direction=ze.getOption("direction"),Be.className="CodeMirror-placeholder CodeMirror-line-like";var fe=ze.getOption("placeholder");typeof fe=="string"&&(fe=document.createTextNode(fe)),Be.appendChild(fe),ze.display.lineSpace.insertBefore(Be,ze.display.lineSpace.firstChild)}function tt(ze){setTimeout(function(){var Be=!1,fe=ze.getInputField();fe.nodeName=="TEXTAREA"?Be=!fe.value:ze.lineCount()==1&&(Be=!/[^\u200b]/.test(fe.querySelector(".CodeMirror-line").textContent)),Be?de(ze):xe(ze)},20)}function Oe(ze){Fe(ze)&&de(ze)}function be(ze){var Be=ze.getWrapperElement(),fe=Fe(ze);Be.className=Be.className.replace(" CodeMirror-empty","")+(fe?" CodeMirror-empty":""),fe?de(ze):xe(ze)}function Fe(ze){return ze.lineCount()===1&&ze.getLine(0)===""}})},25717:function(Vn,hn,z){(function(b){b(z(89780))})(function(b){var xe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},de=b.Pos;b.defineOption("autoCloseBrackets",!1,function($e,je,Ve){Ve&&Ve!=b.Init&&($e.removeKeyMap(Oe),$e.state.closeBrackets=null),je&&(be(tt(je,"pairs")),$e.state.closeBrackets=je,$e.addKeyMap(Oe))});function tt($e,je){return je=="pairs"&&typeof $e=="string"?$e:typeof $e=="object"&&$e[je]!=null?$e[je]:xe[je]}var Oe={Backspace:Be,Enter:fe};function be($e){for(var je=0;je<$e.length;je++){var Ve=$e.charAt(je),rt="'"+Ve+"'";Oe[rt]||(Oe[rt]=Fe(Ve))}}be(xe.pairs+"`");function Fe($e){return function(je){return Ce(je,$e)}}function ze($e){var je=$e.state.closeBrackets;if(!je||je.override)return je;var Ve=$e.getModeAt($e.getCursor());return Ve.closeBrackets||je}function Be($e){var je=ze($e);if(!je||$e.getOption("disableInput"))return b.Pass;for(var Ve=tt(je,"pairs"),rt=$e.listSelections(),Nt=0;Nt<rt.length;Nt++){if(!rt[Nt].empty())return b.Pass;var Ut=yt($e,rt[Nt].head);if(!Ut||Ve.indexOf(Ut)%2!=0)return b.Pass}for(var Nt=rt.length-1;Nt>=0;Nt--){var se=rt[Nt].head;$e.replaceRange("",de(se.line,se.ch-1),de(se.line,se.ch+1),"+delete")}}function fe($e){var je=ze($e),Ve=je&&tt(je,"explode");if(!Ve||$e.getOption("disableInput"))return b.Pass;for(var rt=$e.listSelections(),Nt=0;Nt<rt.length;Nt++){if(!rt[Nt].empty())return b.Pass;var Ut=yt($e,rt[Nt].head);if(!Ut||Ve.indexOf(Ut)%2!=0)return b.Pass}$e.operation(function(){var se=$e.lineSeparator()||`
|
|
|
`;$e.replaceSelection(se+se,null),$e.execCommand("goCharLeft"),rt=$e.listSelections();for(var Me=0;Me<rt.length;Me++){var ft=rt[Me].head.line;$e.indentLine(ft,null,!0),$e.indentLine(ft+1,null,!0)}})}function Ge($e){var je=b.cmpPos($e.anchor,$e.head)>0;return{anchor:new de($e.anchor.line,$e.anchor.ch+(je?-1:1)),head:new de($e.head.line,$e.head.ch+(je?1:-1))}}function Ce($e,je){var Ve=ze($e);if(!Ve||$e.getOption("disableInput"))return b.Pass;var rt=tt(Ve,"pairs"),Nt=rt.indexOf(je);if(Nt==-1)return b.Pass;for(var Ut=tt(Ve,"closeBefore"),se=tt(Ve,"triples"),Me=rt.charAt(Nt+1)==je,ft=$e.listSelections(),mt=Nt%2==0,Zt,Je=0;Je<ft.length;Je++){var at=ft[Je],dt=at.head,Pe,Ze=$e.getRange(dt,de(dt.line,dt.ch+1));if(mt&&!at.empty())Pe="surround";else if((Me||!mt)&&Ze==je)Me&&et($e,dt)?Pe="both":se.indexOf(je)>=0&&$e.getRange(dt,de(dt.line,dt.ch+3))==je+je+je?Pe="skipThree":Pe="skip";else if(Me&&dt.ch>1&&se.indexOf(je)>=0&&$e.getRange(de(dt.line,dt.ch-2),dt)==je+je){if(dt.ch>2&&/\bstring/.test($e.getTokenTypeAt(de(dt.line,dt.ch-2))))return b.Pass;Pe="addFour"}else if(Me){var Ee=dt.ch==0?" ":$e.getRange(de(dt.line,dt.ch-1),dt);if(!b.isWordChar(Ze)&&Ee!=je&&!b.isWordChar(Ee))Pe="both";else return b.Pass}else if(mt&&(Ze.length===0||/\s/.test(Ze)||Ut.indexOf(Ze)>-1))Pe="both";else return b.Pass;if(!Zt)Zt=Pe;else if(Zt!=Pe)return b.Pass}var ue=Nt%2?rt.charAt(Nt-1):je,Ct=Nt%2?je:rt.charAt(Nt+1);$e.operation(function(){if(Zt=="skip")$e.execCommand("goCharRight");else if(Zt=="skipThree")for(var He=0;He<3;He++)$e.execCommand("goCharRight");else if(Zt=="surround"){for(var We=$e.getSelections(),He=0;He<We.length;He++)We[He]=ue+We[He]+Ct;$e.replaceSelections(We,"around"),We=$e.listSelections().slice();for(var He=0;He<We.length;He++)We[He]=Ge(We[He]);$e.setSelections(We)}else Zt=="both"?($e.replaceSelection(ue+Ct,null),$e.triggerElectric(ue+Ct),$e.execCommand("goCharLeft")):Zt=="addFour"&&($e.replaceSelection(ue+ue+ue+ue,"before"),$e.execCommand("goCharRight"))})}function yt($e,je){var Ve=$e.getRange(de(je.line,je.ch-1),de(je.line,je.ch+1));return Ve.length==2?Ve:null}function et($e,je){var Ve=$e.getTokenAt(de(je.line,je.ch+1));return/\bstring/.test(Ve.type)&&Ve.start==je.ch&&(je.ch==0||!/\bstring/.test($e.getTokenTypeAt(je)))}})},6313:function(Vn,hn,z){(function(b){b(z(89780),z(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(Be,fe,Ge){if(Ge!=b.Init&&Ge&&Be.removeKeyMap("autoCloseTags"),!!fe){var Ce={name:"autoCloseTags"};(typeof fe!="object"||fe.whenClosing!==!1)&&(Ce["'/'"]=function(yt){return be(yt)}),(typeof fe!="object"||fe.whenOpening!==!1)&&(Ce["'>'"]=function(yt){return tt(yt)}),Be.addKeyMap(Ce)}});var xe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],de=["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 tt(Be){if(Be.getOption("disableInput"))return b.Pass;for(var fe=Be.listSelections(),Ge=[],Ce=Be.getOption("autoCloseTags"),yt=0;yt<fe.length;yt++){if(!fe[yt].empty())return b.Pass;var et=fe[yt].head,$e=Be.getTokenAt(et),je=b.innerMode(Be.getMode(),$e.state),Ve=je.state,rt=je.mode.xmlCurrentTag&&je.mode.xmlCurrentTag(Ve),Nt=rt&&rt.name;if(!Nt)return b.Pass;var Ut=je.mode.configuration=="html",se=typeof Ce=="object"&&Ce.dontCloseTags||Ut&&xe,Me=typeof Ce=="object"&&Ce.indentTags||Ut&&de;$e.end>et.ch&&(Nt=Nt.slice(0,Nt.length-$e.end+et.ch));var ft=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"&&rt.close||$e.string.indexOf("/")==et.ch-$e.start-1||se&&Fe(se,ft)>-1||ze(Be,je.mode.xmlCurrentContext&&je.mode.xmlCurrentContext(Ve)||[],Nt,et,!0))return b.Pass;var mt=typeof Ce=="object"&&Ce.emptyTags;if(mt&&Fe(mt,Nt)>-1){Ge[yt]={text:"/>",newPos:b.Pos(et.line,et.ch+2)};continue}var Zt=Me&&Fe(Me,ft)>-1;Ge[yt]={indent:Zt,text:">"+(Zt?`
|
|
|
|
|
|
`:"")+"</"+Nt+">",newPos:Zt?b.Pos(et.line+1,0):b.Pos(et.line,et.ch+1)}}for(var Je=typeof Ce=="object"&&Ce.dontIndentOnAutoClose,yt=fe.length-1;yt>=0;yt--){var at=Ge[yt];Be.replaceRange(at.text,fe[yt].head,fe[yt].anchor,"+insert");var dt=Be.listSelections().slice(0);dt[yt]={head:at.newPos,anchor:at.newPos},Be.setSelections(dt),!Je&&at.indent&&(Be.indentLine(at.newPos.line,null,!0),Be.indentLine(at.newPos.line+1,null,!0))}}function Oe(Be,fe){for(var Ge=Be.listSelections(),Ce=[],yt=fe?"/":"</",et=Be.getOption("autoCloseTags"),$e=typeof et=="object"&&et.dontIndentOnSlash,je=0;je<Ge.length;je++){if(!Ge[je].empty())return b.Pass;var Ve=Ge[je].head,rt=Be.getTokenAt(Ve),Nt=b.innerMode(Be.getMode(),rt.state),Ut=Nt.state;if(fe&&(rt.type=="string"||rt.string.charAt(0)!="<"||rt.start!=Ve.ch-1))return b.Pass;var se,Me=Nt.mode.name!="xml"&&Be.getMode().name=="htmlmixed";if(Me&&Nt.mode.name=="javascript")se=yt+"script";else if(Me&&Nt.mode.name=="css")se=yt+"style";else{var ft=Nt.mode.xmlCurrentContext&&Nt.mode.xmlCurrentContext(Ut);if(!ft||ft.length&&ze(Be,ft,ft[ft.length-1],Ve))return b.Pass;se=yt+ft[ft.length-1]}Be.getLine(Ve.line).charAt(rt.end)!=">"&&(se+=">"),Ce[je]=se}if(Be.replaceSelections(Ce),Ge=Be.listSelections(),!$e)for(var je=0;je<Ge.length;je++)(je==Ge.length-1||Ge[je].head.line<Ge[je+1].head.line)&&Be.indentLine(Ge[je].head.line)}function be(Be){return Be.getOption("disableInput")?b.Pass:Oe(Be,!0)}b.commands.closeTag=function(Be){return Oe(Be)};function Fe(Be,fe){if(Be.indexOf)return Be.indexOf(fe);for(var Ge=0,Ce=Be.length;Ge<Ce;++Ge)if(Be[Ge]==fe)return Ge;return-1}function ze(Be,fe,Ge,Ce,yt){if(!b.scanForClosingTag)return!1;var et=Math.min(Be.lastLine()+1,Ce.line+500),$e=b.scanForClosingTag(Be,Ce,null,et);if(!$e||$e.tag!=Ge)return!1;for(var je=yt?1:0,Ve=fe.length-1;Ve>=0&&fe[Ve]==Ge;Ve--)++je;Ce=$e.to;for(var Ve=1;Ve<je;Ve++){var rt=b.scanForClosingTag(Be,Ce,null,et);if(!rt||rt.tag!=Ge)return!1;Ce=rt.to}return!0}})},32855:function(Vn,hn,z){(function(b){b(z(89780))})(function(b){"use strict";var xe=b.Pos;function de(Ve,rt){return Ve.line-rt.line||Ve.ch-rt.ch}var tt="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",Oe=tt+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",be=new RegExp("<(/?)(["+tt+"]["+Oe+"]*)","g");function Fe(Ve,rt,Nt,Ut){this.line=rt,this.ch=Nt,this.cm=Ve,this.text=Ve.getLine(rt),this.min=Ut?Math.max(Ut.from,Ve.firstLine()):Ve.firstLine(),this.max=Ut?Math.min(Ut.to-1,Ve.lastLine()):Ve.lastLine()}function ze(Ve,rt){var Nt=Ve.cm.getTokenTypeAt(xe(Ve.line,rt));return Nt&&/\btag\b/.test(Nt)}function Be(Ve){if(!(Ve.line>=Ve.max))return Ve.ch=0,Ve.text=Ve.cm.getLine(++Ve.line),!0}function fe(Ve){if(!(Ve.line<=Ve.min))return Ve.text=Ve.cm.getLine(--Ve.line),Ve.ch=Ve.text.length,!0}function Ge(Ve){for(;;){var rt=Ve.text.indexOf(">",Ve.ch);if(rt==-1){if(Be(Ve))continue;return}if(!ze(Ve,rt+1)){Ve.ch=rt+1;continue}var Nt=Ve.text.lastIndexOf("/",rt),Ut=Nt>-1&&!/\S/.test(Ve.text.slice(Nt+1,rt));return Ve.ch=rt+1,Ut?"selfClose":"regular"}}function Ce(Ve){for(;;){var rt=Ve.ch?Ve.text.lastIndexOf("<",Ve.ch-1):-1;if(rt==-1){if(fe(Ve))continue;return}if(!ze(Ve,rt+1)){Ve.ch=rt;continue}be.lastIndex=rt,Ve.ch=rt;var Nt=be.exec(Ve.text);if(Nt&&Nt.index==rt)return Nt}}function yt(Ve){for(;;){be.lastIndex=Ve.ch;var rt=be.exec(Ve.text);if(!rt){if(Be(Ve))continue;return}if(!ze(Ve,rt.index+1)){Ve.ch=rt.index+1;continue}return Ve.ch=rt.index+rt[0].length,rt}}function et(Ve){for(;;){var rt=Ve.ch?Ve.text.lastIndexOf(">",Ve.ch-1):-1;if(rt==-1){if(fe(Ve))continue;return}if(!ze(Ve,rt+1)){Ve.ch=rt;continue}var Nt=Ve.text.lastIndexOf("/",rt),Ut=Nt>-1&&!/\S/.test(Ve.text.slice(Nt+1,rt));return Ve.ch=rt+1,Ut?"selfClose":"regular"}}function $e(Ve,rt){for(var Nt=[];;){var Ut=yt(Ve),se,Me=Ve.line,ft=Ve.ch-(Ut?Ut[0].length:0);if(!Ut||!(se=Ge(Ve)))return;if(se!="selfClose")if(Ut[1]){for(var mt=Nt.length-1;mt>=0;--mt)if(Nt[mt]==Ut[2]){Nt.length=mt;break}if(mt<0&&(!rt||rt==Ut[2]))return{tag:Ut[2],from:xe(Me,ft),to:xe(Ve.line,Ve.ch)}}else Nt.push(Ut[2])}}function je(Ve,rt){for(var Nt=[];;){var Ut=et(Ve);if(!Ut)return;if(Ut=="selfClose"){Ce(Ve);continue}var se=Ve.line,Me=Ve.ch,ft=Ce(Ve);if(!ft)return;if(ft[1])Nt.push(ft[2]);else{for(var mt=Nt.length-1;mt>=0;--mt)if(Nt[mt]==ft[2]){Nt.length=mt;break}if(mt<0&&(!rt||rt==ft[2]))return{tag:ft[2],from:xe(Ve.line,Ve.ch),to:xe(se,Me)}}}}b.registerHelper("fold","xml",function(Ve,rt){for(var Nt=new Fe(Ve,rt.line,0);;){var Ut=yt(Nt);if(!Ut||Nt.line!=rt.line)return;var se=Ge(Nt);if(!se)return;if(!Ut[1]&&se!="selfClose"){var Me=xe(Nt.line,Nt.ch),ft=$e(Nt,Ut[2]);return ft&&de(ft.from,Me)>0?{from:Me,to:ft.from}:null}}}),b.findMatchingTag=function(Ve,rt,Nt){var Ut=new Fe(Ve,rt.line,rt.ch,Nt);if(!(Ut.text.indexOf(">")==-1&&Ut.text.indexOf("<")==-1)){var se=Ge(Ut),Me=se&&xe(Ut.line,Ut.ch),ft=se&&Ce(Ut);if(!(!se||!ft||de(Ut,rt)>0)){var mt={from:xe(Ut.line,Ut.ch),to:Me,tag:ft[2]};return se=="selfClose"?{open:mt,close:null,at:"open"}:ft[1]?{open:je(Ut,ft[2]),close:mt,at:"close"}:(Ut=new Fe(Ve,Me.line,Me.ch,Nt),{open:mt,close:$e(Ut,ft[2]),at:"open"})}}},b.findEnclosingTag=function(Ve,rt,Nt,Ut){for(var se=new Fe(Ve,rt.line,rt.ch,Nt);;){var Me=je(se,Ut);if(!Me)break;var ft=new Fe(Ve,rt.line,rt.ch,Nt),mt=$e(ft,Me.tag);if(mt)return{open:Me,close:mt}}},b.scanForClosingTag=function(Ve,rt,Nt,Ut){var se=new Fe(Ve,rt.line,rt.ch,Ut?{from:0,to:Ut}:null);return $e(se,Nt)}})},89780:function(Vn){(function(hn,z){Vn.exports=z()})(this,function(){"use strict";var hn=navigator.userAgent,z=navigator.platform,b=/gecko\/\d/i.test(hn),xe=/MSIE \d/.test(hn),de=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(hn),tt=/Edge\/(\d+)/.exec(hn),Oe=xe||de||tt,be=Oe&&(xe?document.documentMode||6:+(tt||de)[1]),Fe=!tt&&/WebKit\//.test(hn),ze=Fe&&/Qt\/\d+\.\d+/.test(hn),Be=!tt&&/Chrome\//.test(hn),fe=/Opera\//.test(hn),Ge=/Apple Computer/.test(navigator.vendor),Ce=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(hn),yt=/PhantomJS/.test(hn),et=!tt&&/AppleWebKit/.test(hn)&&/Mobile\/\w+/.test(hn),$e=/Android/.test(hn),je=et||$e||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(hn),Ve=et||/Mac/.test(z),rt=/\bCrOS\b/.test(hn),Nt=/win/i.test(z),Ut=fe&&hn.match(/Version\/(\d*\.\d*)/);Ut&&(Ut=Number(Ut[1])),Ut&&Ut>=15&&(fe=!1,Fe=!0);var se=Ve&&(ze||fe&&(Ut==null||Ut<12.11)),Me=b||Oe&&be>=9;function ft(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var mt=function(a,y){var E=a.className,x=ft(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 Zt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Je(a,y){return Zt(a).appendChild(y)}function at(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 oe=0;oe<y.length;++oe)ee.appendChild(y[oe]);return ee}function dt(a,y,E,x){var ee=at(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 Ze(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 Ee(){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 ue(a,y){var E=a.className;ft(y).test(E)||(a.className+=(E?" ":"")+y)}function Ct(a,y){for(var E=a.split(" "),x=0;x<E.length;x++)E[x]&&!ft(E[x]).test(y)&&(y+=" "+E[x]);return y}var He=function(a){a.select()};et?He=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Oe&&(He=function(a){try{a.select()}catch(y){}});function We(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function kt(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 Ae(a,y,E,x,ee){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var oe=x||0,me=ee||0;;){var we=a.indexOf(" ",oe);if(we<0||we>=y)return me+(y-oe);me+=we-oe,me+=E-me%E,oe=we+1}}var ve=function(){this.id=null,this.f=null,this.time=0,this.handler=We(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 gt(a,y){for(var E=0;E<a.length;++E)if(a[E]==y)return E;return-1}var Gt=50,Ht={toString:function(){return"CodeMirror.Pass"}},pe={scroll:!1},Te={origin:"*mouse"},Ke={origin:"+move"};function tn(a,y,E){for(var x=0,ee=0;;){var oe=a.indexOf(" ",x);oe==-1&&(oe=a.length);var me=oe-x;if(oe==a.length||ee+me>=y)return x+Math.min(me,y-ee);if(ee+=oe-x,ee+=E-ee%E,x=oe+1,ee>=y)return x}}var lt=[""];function jt(a){for(;lt.length<=a;)lt.push(ct(lt)+" ");return lt[a]}function ct(a){return a[a.length-1]}function ln(a,y){for(var E=[],x=0;x<a.length;x++)E[x]=y(a[x],x);return E}function Et(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&&kt(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 ce=/[\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&&ce.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,oe=x<0?Math.ceil(ee):Math.floor(ee);if(oe==y)return a(oe)?y:E;a(oe)?E=oe:y=oe+x}}function Ie(a,y,E,x){if(!a)return x(y,E,"ltr",0);for(var ee=!1,oe=0;oe<a.length;++oe){var me=a[oe];(me.from<E&&me.to>y||y==E&&me.to==y)&&(x(Math.max(me.from,y),Math.min(me.to,E),me.level==1?"rtl":"ltr",oe),ee=!0)}ee||x(y,E,"ltr")}var pt=null;function Pt(a,y,E){var x;pt=null;for(var ee=0;ee<a.length;++ee){var oe=a[ee];if(oe.from<y&&oe.to>y)return ee;oe.to==y&&(oe.from!=oe.to&&E=="before"?x=ee:pt=ee),oe.from==y&&(oe.from!=oe.to&&E!="before"?x=ee:pt=ee)}return x!=null?x:pt}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]/,oe=/[LRr]/,me=/[Lb1n]/,we=/[1n]/;function Ne(qe,yn,In){this.level=qe,this.from=yn,this.to=In}return function(qe,yn){var In=yn=="ltr"?"L":"R";if(qe.length==0||yn=="ltr"&&!x.test(qe))return!1;for(var lr=qe.length,rr=[],Zr=0;Zr<lr;++Zr)rr.push(E(qe.charCodeAt(Zr)));for(var so=0,Po=In;so<lr;++so){var jo=rr[so];jo=="m"?rr[so]=Po:Po=jo}for(var li=0,Vo=In;li<lr;++li){var fi=rr[li];fi=="1"&&Vo=="r"?rr[li]="n":oe.test(fi)&&(Vo=fi,fi=="r"&&(rr[li]="R"))}for(var Ni=1,Pi=rr[0];Ni<lr-1;++Ni){var ta=rr[Ni];ta=="+"&&Pi=="1"&&rr[Ni+1]=="1"?rr[Ni]="1":ta==","&&Pi==rr[Ni+1]&&(Pi=="1"||Pi=="n")&&(rr[Ni]=Pi),Pi=ta}for(var Va=0;Va<lr;++Va){var Ol=rr[Va];if(Ol==",")rr[Va]="N";else if(Ol=="%"){var ll=void 0;for(ll=Va+1;ll<lr&&rr[ll]=="%";++ll);for(var $l=Va&&rr[Va-1]=="!"||ll<lr&&rr[ll]=="1"?"1":"N",Vl=Va;Vl<ll;++Vl)rr[Vl]=$l;Va=ll-1}}for(var bl=0,Kl=In;bl<lr;++bl){var Tl=rr[bl];Kl=="L"&&Tl=="1"?rr[bl]="L":oe.test(Tl)&&(Kl=Tl)}for(var Sl=0;Sl<lr;++Sl)if(ee.test(rr[Sl])){var Cl=void 0;for(Cl=Sl+1;Cl<lr&&ee.test(rr[Cl]);++Cl);for(var sl=(Sl?rr[Sl-1]:In)=="L",Ul=(Cl<lr?rr[Cl]:In)=="L",qs=sl==Ul?sl?"L":"R":In,ks=Sl;ks<Cl;++ks)rr[ks]=qs;Sl=Cl-1}for(var Zl=[],bs,Ml=0;Ml<lr;)if(me.test(rr[Ml])){var ku=Ml;for(++Ml;Ml<lr&&me.test(rr[Ml]);++Ml);Zl.push(new Ne(0,ku,Ml))}else{var As=Ml,Ks=Zl.length,Us=yn=="rtl"?1:0;for(++Ml;Ml<lr&&rr[Ml]!="L";++Ml);for(var zl=As;zl<Ml;)if(we.test(rr[zl])){As<zl&&(Zl.splice(Ks,0,new Ne(1,As,zl)),Ks+=Us);var eu=zl;for(++zl;zl<Ml&&we.test(rr[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 yn=="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)))),yn=="rtl"?Zl.reverse():Zl}}();function Le(a,y){var E=a.order;return E==null&&(E=a.order=Tt(a.text,y)),E}var Ue=[],pn=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]||Ue).concat(E)}};function Wt(a,y){return a._handlers&&a._handlers[y]||Ue}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 oe=gt(ee,E);oe>-1&&(x[y]=ee.slice(0,oe).concat(ee.slice(oe+1)))}}}function cn(a,y){var E=Wt(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 Xt(a,y,E){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),cn(a,E||y.type,a,y),At(y)||y.codemirrorIgnore}function an(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)gt(E,y[x])==-1&&E.push(y[x])}function mn(a,y){return Wt(a,y).length>0}function vt(a){a.prototype.on=function(y,E){pn(this,y,E)},a.prototype.off=function(y,E){Cn(this,y,E)}}function Yt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function gn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function At(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function _e(a){Yt(a),gn(a)}function Vt(a){return a.target||a.srcElement}function nn(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Ve&&a.ctrlKey&&y==1&&(y=3),y}var dn=function(){if(Oe&&be<9)return!1;var a=at("div");return"draggable"in a||"dragDrop"in a}(),Ln;function Qn(a){if(Ln==null){var y=at("span","\u200B");Je(a,at("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Ln=y.offsetWidth<=1&&y.offsetHeight>2&&!(Oe&&be<8))}var E=Ln?at("span","\u200B"):at("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return E.setAttribute("cm-text",""),E}var hr;function vr(a){if(hr!=null)return hr;var y=Je(a,document.createTextNode("A\u062EA")),E=Pe(y,0,1).getBoundingClientRect(),x=Pe(y,1,2).getBoundingClientRect();return Zt(a),!E||E.left==E.right?!1:hr=x.right-E.right<3}var Jn=`
|
|
|
|
|
|
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 oe=a.slice(y,a.charAt(ee-1)=="\r"?ee-1:ee),me=oe.indexOf("\r");me!=-1?(E.push(oe.slice(0,me)),y+=me+1):(E.push(oe),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},Jt=function(){var a=at("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),En=null;function qn(a){if(En!=null)return En;var y=Je(a,at("span","x")),E=y.getBoundingClientRect(),x=Pe(y,0,1).getBoundingClientRect();return En=Math.abs(E.left-x.left)>1}var nr={},jn={};function xn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),nr[a]=y}function ut(a,y){jn[a]=y}function qt(a){if(typeof a=="string"&&jn.hasOwnProperty(a))a=jn[a];else if(a&&typeof a.name=="string"&&jn.hasOwnProperty(a.name)){var y=jn[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 qt("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return qt("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Dt(a,y){y=qt(y);var E=nr[y.name];if(!E)return Dt(a,"text/plain");var x=E(a,y);if(sn.hasOwnProperty(y.name)){var ee=sn[y.name];for(var oe in ee)ee.hasOwnProperty(oe)&&(x.hasOwnProperty(oe)&&(x["_"+oe]=x[oe]),x[oe]=ee[oe])}if(x.name=y.name,y.helperType&&(x.helperType=y.helperType),y.modeProps)for(var me in y.modeProps)x[me]=y.modeProps[me];return x}var sn={};function Sn(a,y){var E=sn.hasOwnProperty(a)?sn[a]:sn[a]={};kt(y,E)}function vn(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 Bn(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 Un(a,y,E){return a.startState?a.startState(y,E):!0}var Yn=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};Yn.prototype.eol=function(){return this.pos>=this.string.length},Yn.prototype.sol=function(){return this.pos==this.lineStart},Yn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Yn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Yn.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},Yn.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Yn.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Yn.prototype.skipToEnd=function(){this.pos=this.string.length},Yn.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Yn.prototype.backUp=function(a){this.pos-=a},Yn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ae(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ae(this.string,this.lineStart,this.tabSize):0)},Yn.prototype.indentation=function(){return Ae(this.string,null,this.tabSize)-(this.lineStart?Ae(this.string,this.lineStart,this.tabSize):0)},Yn.prototype.match=function(a,y,E){if(typeof a=="string"){var x=function(me){return E?me.toLowerCase():me},ee=this.string.substr(this.pos,a.length);if(x(ee)==x(a))return y!==!1&&(this.pos+=a.length),!0}else{var oe=this.string.slice(this.pos).match(a);return oe&&oe.index>0?null:(oe&&y!==!1&&(this.pos+=oe[0].length),oe)}},Yn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Yn.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Yn.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Yn.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function $t(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],oe=ee.chunkSize();if(y<oe){E=ee;break}y-=oe}return E.lines[y]}function Mn(a,y,E){var x=[],ee=y.line;return a.iter(y.line,E.line+1,function(oe){var me=oe.text;ee==E.line&&(me=me.slice(0,E.ch)),ee==y.line&&(me=me.slice(y.ch)),x.push(me),++ee}),x}function rn(a,y,E){var x=[];return a.iter(y,E,function(ee){x.push(ee.text)}),x}function or(a,y){var E=y-a.height;if(E)for(var x=a;x;x=x.parent)x.height+=E}function wt(a){if(a.parent==null)return null;for(var y=a.parent,E=gt(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 zt(a,y){var E=a.first;e:do{for(var x=0;x<a.children.length;++x){var ee=a.children[x],oe=ee.height;if(y<oe){a=ee;continue e}y-=oe,E+=ee.chunkSize()}return E}while(!a.lines);for(var me=0;me<a.lines.length;++me){var we=a.lines[me],Ne=we.height;if(y<Ne)break;y-=Ne}return E+me}function Re(a,y){return y>=a.first&&y<a.first+a.size}function ht(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Ye(a,y,E){if(E===void 0&&(E=null),!(this instanceof Ye))return new Ye(a,y,E);this.line=a,this.ch=y,this.sticky=E}function St(a,y){return a.line-y.line||a.ch-y.ch}function _t(a,y){return a.sticky==y.sticky&&St(a,y)==0}function tr(a){return Ye(a.line,a.ch)}function ar(a,y){return St(a,y)<0?y:a}function bt(a,y){return St(a,y)<0?a:y}function xt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Ft(a,y){if(y.line<a.first)return Ye(a.first,0);var E=a.first+a.size-1;return y.line>E?Ye(E,$t(a,E).text.length):Kt(y,$t(a,y.line).text.length)}function Kt(a,y){var E=a.ch;return E==null||E>y?Ye(a.line,y):E<0?Ye(a.line,0):a}function Pn(a,y){for(var E=[],x=0;x<y.length;x++)E[x]=Ft(a,y[x]);return E}var Tn=function(a,y){this.state=a,this.lookAhead=y},kn=function(a,y,E,x){this.state=y,this.doc=a,this.line=E,this.maxLookAhead=x||0,this.baseTokens=null,this.baseTokenPos=1};kn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},kn.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}},kn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},kn.fromSaved=function(a,y,E){return y instanceof Tn?new kn(a,vn(a.mode,y.state),E,y.lookAhead):new kn(a,vn(a.mode,y),E)},kn.prototype.save=function(a){var y=a!==!1?vn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Tn(y,this.maxLookAhead):y};function Kn(a,y,E,x){var ee=[a.state.modeGen],oe={};Xr(a,y.text,a.doc.mode,E,function(qe,yn){return ee.push(qe,yn)},oe,x);for(var me=E.state,we=function(qe){E.baseTokens=ee;var yn=a.state.overlays[qe],In=1,lr=0;E.state=!0,Xr(a,y.text,yn.mode,E,function(rr,Zr){for(var so=In;lr<rr;){var Po=ee[In];Po>rr&&ee.splice(In,1,rr,ee[In+1],Po),In+=2,lr=Math.min(rr,Po)}if(Zr)if(yn.opaque)ee.splice(so,In-so,rr,"overlay "+Zr),In=so+2;else for(;so<In;so+=2){var jo=ee[so+1];ee[so+1]=(jo?jo+" ":"")+"overlay "+Zr}},oe),E.state=me,E.baseTokens=null,E.baseTokenPos=1},Ne=0;Ne<a.state.overlays.length;++Ne)we(Ne);return{styles:ee,classes:oe.bgClass||oe.textClass?oe:null}}function pr(a,y,E){if(!y.styles||y.styles[0]!=a.state.modeGen){var x=Ar(a,wt(y)),ee=y.text.length>a.options.maxHighlightLength&&vn(a.doc.mode,x.state),oe=Kn(a,y,x);ee&&(x.state=ee),y.stateAfter=x.save(!ee),y.styles=oe.styles,oe.classes?y.styleClasses=oe.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 kn(x,!0,y);var oe=vo(a,y,E),me=oe>x.first&&$t(x,oe-1).stateAfter,we=me?kn.fromSaved(x,me,oe):new kn(x,Un(x.mode),oe);return x.iter(oe,y,function(Ne){Vr(a,Ne.text,we);var qe=we.line;Ne.stateAfter=qe==y-1||qe%5==0||qe>=ee.viewFrom&&qe<ee.viewTo?we.save():null,we.nextLine()}),E&&(x.modeFrontier=we.line),we}function Vr(a,y,E,x){var ee=a.doc.mode,oe=new Yn(y,a.options.tabSize,E);for(oe.start=oe.pos=x||0,y==""&&Br(ee,E.state);!oe.eol();)fr(ee,oe,E.state),oe.start=oe.pos}function Br(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var E=Bn(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]=Bn(a,E).mode);var oe=a.token(y,E);if(y.pos>y.start)return oe}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,oe=ee.mode,me;y=Ft(ee,y);var we=$t(ee,y.line),Ne=Ar(a,y.line,E),qe=new Yn(we.text,a.options.tabSize,Ne),yn;for(x&&(yn=[]);(x||qe.pos<y.ch)&&!qe.eol();)qe.start=qe.pos,me=fr(oe,qe,Ne.state),x&&yn.push(new Pr(qe,me,vn(ee.mode,Ne.state)));return x?yn:new Pr(qe,me,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,oe,me){var we=E.flattenSpans;we==null&&(we=a.options.flattenSpans);var Ne=0,qe=null,yn=new Yn(y,a.options.tabSize,x),In,lr=a.options.addModeClass&&[null];for(y==""&&$r(Br(E,x.state),oe);!yn.eol();){if(yn.pos>a.options.maxHighlightLength?(we=!1,me&&Vr(a,y,x,yn.pos),yn.pos=y.length,In=null):In=$r(fr(E,yn,x.state,lr),oe),lr){var rr=lr[0].name;rr&&(In="m-"+(In?rr+" "+In:rr))}if(!we||qe!=In){for(;Ne<yn.start;)Ne=Math.min(yn.start,Ne+5e3),ee(Ne,qe);qe=In}yn.start=yn.pos}for(;Ne<yn.pos;){var Zr=Math.min(yn.pos,Ne+5e3);ee(Zr,qe),Ne=Zr}}function vo(a,y,E){for(var x,ee,oe=a.doc,me=E?-1:y-(a.doc.mode.innerMode?1e3:100),we=y;we>me;--we){if(we<=oe.first)return oe.first;var Ne=$t(oe,we-1),qe=Ne.stateAfter;if(qe&&(!E||we+(qe instanceof Tn?qe.lookAhead:0)<=oe.modeFrontier))return we;var yn=Ae(Ne.text,null,a.options.tabSize);(ee==null||x>yn)&&(ee=we-1,x=yn)}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=$t(a,x).stateAfter;if(ee&&(!(ee instanceof Tn)||x+ee.lookAhead<y)){E=x+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,E)}}var ur=!1,gr=!1;function no(){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 mo(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 oe=a[ee],me=oe.marker,we=oe.from==null||(me.inclusiveLeft?oe.from<=y:oe.from<y);if(we||oe.from==y&&me.type=="bookmark"&&(!E||!oe.marker.insertLeft)){var Ne=oe.to==null||(me.inclusiveRight?oe.to>=y:oe.to>y);(x||(x=[])).push(new wr(me,oe.from,Ne?null:oe.to))}}return x}function eo(a,y,E){var x;if(a)for(var ee=0;ee<a.length;++ee){var oe=a[ee],me=oe.marker,we=oe.to==null||(me.inclusiveRight?oe.to>=y:oe.to>y);if(we||oe.from==y&&me.type=="bookmark"&&(!E||oe.marker.insertLeft)){var Ne=oe.from==null||(me.inclusiveLeft?oe.from<=y:oe.from<y);(x||(x=[])).push(new wr(me,Ne?null:oe.from-y,oe.to==null?null:oe.to-y))}}return x}function ko(a,y){if(y.full)return null;var E=Re(a,y.from.line)&&$t(a,y.from.line).markedSpans,x=Re(a,y.to.line)&&$t(a,y.to.line).markedSpans;if(!E&&!x)return null;var ee=y.from.ch,oe=y.to.ch,me=St(y.from,y.to)==0,we=qr(E,ee,me),Ne=eo(x,oe,me),qe=y.text.length==1,yn=ct(y.text).length+(qe?ee:0);if(we)for(var In=0;In<we.length;++In){var lr=we[In];if(lr.to==null){var rr=Rr(Ne,lr.marker);rr?qe&&(lr.to=rr.to==null?null:rr.to+yn):lr.to=ee}}if(Ne)for(var Zr=0;Zr<Ne.length;++Zr){var so=Ne[Zr];if(so.to!=null&&(so.to+=yn),so.from==null){var Po=Rr(we,so.marker);Po||(so.from=yn,qe&&(we||(we=[])).push(so))}else so.from+=yn,qe&&(we||(we=[])).push(so)}we&&(we=_o(we)),Ne&&Ne!=we&&(Ne=_o(Ne));var jo=[we];if(!qe){var li=y.text.length-2,Vo;if(li>0&&we)for(var fi=0;fi<we.length;++fi)we[fi].to==null&&(Vo||(Vo=[])).push(new wr(we[fi].marker,null,null));for(var Ni=0;Ni<li;++Ni)jo.push(Vo);jo.push(Ne)}return jo}function _o(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 qo(a,y,E){var x=null;if(a.iter(y.line,E.line+1,function(rr){if(rr.markedSpans)for(var Zr=0;Zr<rr.markedSpans.length;++Zr){var so=rr.markedSpans[Zr].marker;so.readOnly&&(!x||gt(x,so)==-1)&&(x||(x=[])).push(so)}}),!x)return null;for(var ee=[{from:y,to:E}],oe=0;oe<x.length;++oe)for(var me=x[oe],we=me.find(0),Ne=0;Ne<ee.length;++Ne){var qe=ee[Ne];if(!(St(qe.to,we.from)<0||St(qe.from,we.to)>0)){var yn=[Ne,1],In=St(qe.from,we.from),lr=St(qe.to,we.to);(In<0||!me.inclusiveLeft&&!In)&&yn.push({from:qe.from,to:we.from}),(lr>0||!me.inclusiveRight&&!lr)&&yn.push({from:we.to,to:qe.to}),ee.splice.apply(ee,yn),Ne+=yn.length-3}}return ee}function Lo(a){var y=a.markedSpans;if(y){for(var E=0;E<y.length;++E)y[E].marker.detachLine(a);a.markedSpans=null}}function ii(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 nt(a){return a.inclusiveRight?1:0}function Mt(a,y){var E=a.lines.length-y.lines.length;if(E!=0)return E;var x=a.find(),ee=y.find(),oe=St(x.from,ee.from)||ke(a)-ke(y);if(oe)return-oe;var me=St(x.to,ee.to)||nt(a)-nt(y);return me||y.id-a.id}function un(a,y){var E=gr&&a.markedSpans,x;if(E)for(var ee=void 0,oe=0;oe<E.length;++oe)ee=E[oe],ee.marker.collapsed&&(y?ee.from:ee.to)==null&&(!x||Mt(x,ee.marker)<0)&&(x=ee.marker);return x}function fn(a){return un(a,!0)}function Rt(a){return un(a,!1)}function ot(a,y){var E=gr&&a.markedSpans,x;if(E)for(var ee=0;ee<E.length;++ee){var oe=E[ee];oe.marker.collapsed&&(oe.from==null||oe.from<y)&&(oe.to==null||oe.to>y)&&(!x||Mt(x,oe.marker)<0)&&(x=oe.marker)}return x}function Ot(a,y,E,x,ee){var oe=$t(a,y),me=gr&&oe.markedSpans;if(me)for(var we=0;we<me.length;++we){var Ne=me[we];if(Ne.marker.collapsed){var qe=Ne.marker.find(0),yn=St(qe.from,E)||ke(Ne.marker)-ke(ee),In=St(qe.to,x)||nt(Ne.marker)-nt(ee);if(!(yn>=0&&In<=0||yn<=0&&In>=0)&&(yn<=0&&(Ne.marker.inclusiveRight&&ee.inclusiveLeft?St(qe.to,E)>=0:St(qe.to,E)>0)||yn>=0&&(Ne.marker.inclusiveRight&&ee.inclusiveLeft?St(qe.from,x)<=0:St(qe.from,x)<0)))return!0}}}function en(a){for(var y;y=fn(a);)a=y.find(-1,!0).line;return a}function Fn(a){for(var y;y=Rt(a);)a=y.find(1,!0).line;return a}function Zn(a){for(var y,E;y=Rt(a);)a=y.find(1,!0).line,(E||(E=[])).push(a);return E}function An(a,y){var E=$t(a,y),x=en(E);return E==x?y:wt(x)}function Hn(a,y){if(y>a.lastLine())return y;var E=$t(a,y),x;if(!$n(a,E))return y;for(;x=Rt(E);)E=x.find(1,!0).line;return wt(E)+1}function $n(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,oe=0;oe<y.markedSpans.length;++oe)if(ee=y.markedSpans[oe],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=en(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 oe=E.parent;oe;E=oe,oe=E.parent)for(var me=0;me<oe.children.length;++me){var we=oe.children[me];if(we==E)break;y+=we.height}return y}function Wr(a){if(a.height==0)return 0;for(var y=a.text.length,E,x=a;E=fn(x);){var ee=E.find(0,!0);x=ee.from.line,y+=ee.from.ch-ee.to.ch}for(x=a;E=Rt(x);){var oe=E.find(0,!0);y-=x.text.length-oe.from.ch,x=oe.to.line,y+=x.text.length-oe.to.ch}return y}function Jr(a){var y=a.display,E=a.doc;y.maxLine=$t(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 yo=function(a,y,E){this.text=a,ii(this,y),this.height=E?E(this):1};yo.prototype.lineNo=function(){return wt(this)},vt(yo);function io(a,y,E,x){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Lo(a),ii(a,E);var ee=x?x(a):1;ee!=a.height&&or(a,ee)}function Io(a){a.parent=null,Lo(a)}var co={},fo={};function bo(a,y){if(!a||/^\s*$/.test(a))return null;var E=y.addModeClass?fo:co;return E[a]||(E[a]=a.replace(/\S+/g,"cm-$&"))}function Bo(a,y){var E=dt("span",null,null,Fe?"padding-right: .1px":null),x={pre:dt("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 oe=ee?y.rest[ee-1]:y.line,me=void 0;x.pos=0,x.addToken=Si,vr(a.display.measure)&&(me=Le(oe,a.doc.direction))&&(x.addToken=Ki(x.addToken,me)),x.map=[];var we=y!=a.display.externalMeasured&&wt(oe);Mo(oe,x,pr(a,oe,we)),oe.styleClasses&&(oe.styleClasses.bgClass&&(x.bgClass=Ct(oe.styleClasses.bgClass,x.bgClass||"")),oe.styleClasses.textClass&&(x.textClass=Ct(oe.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(Fe){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 cn(a,"renderLine",a,y.line,x.pre),x.pre.className&&(x.textClass=Ct(x.pre.className,x.textClass||"")),x}function ri(a){var y=at("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Si(a,y,E,x,ee,oe,me){if(y){var we=a.splitSpaces?bi(y,a.trailingSpace):y,Ne=a.cm.state.specialChars,qe=!1,yn;if(!Ne.test(y))a.col+=y.length,yn=document.createTextNode(we),a.map.push(a.pos,a.pos+y.length,yn),Oe&&be<9&&(qe=!0),a.pos+=y.length;else{yn=document.createDocumentFragment();for(var In=0;;){Ne.lastIndex=In;var lr=Ne.exec(y),rr=lr?lr.index-In:y.length-In;if(rr){var Zr=document.createTextNode(we.slice(In,In+rr));Oe&&be<9?yn.appendChild(at("span",[Zr])):yn.appendChild(Zr),a.map.push(a.pos,a.pos+rr,Zr),a.col+=rr,a.pos+=rr}if(!lr)break;In+=rr+1;var so=void 0;if(lr[0]==" "){var Po=a.cm.options.tabSize,jo=Po-a.col%Po;so=yn.appendChild(at("span",jt(jo),"cm-tab")),so.setAttribute("role","presentation"),so.setAttribute("cm-text"," "),a.col+=jo}else lr[0]=="\r"||lr[0]==`
|
|
|
`?(so=yn.appendChild(at("span",lr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),so.setAttribute("cm-text",lr[0]),a.col+=1):(so=a.cm.options.specialCharPlaceholder(lr[0]),so.setAttribute("cm-text",lr[0]),Oe&&be<9?yn.appendChild(at("span",[so])):yn.appendChild(so),a.col+=1);a.map.push(a.pos,a.pos+1,so),a.pos++}}if(a.trailingSpace=we.charCodeAt(y.length-1)==32,E||x||ee||qe||oe||me){var li=E||"";x&&(li+=x),ee&&(li+=ee);var Vo=at("span",[yn],li,oe);if(me)for(var fi in me)me.hasOwnProperty(fi)&&fi!="style"&&fi!="class"&&Vo.setAttribute(fi,me[fi]);return a.content.appendChild(Vo)}a.content.appendChild(yn)}}function bi(a,y){if(a.length>1&&!/ /.test(a))return a;for(var E=y,x="",ee=0;ee<a.length;ee++){var oe=a.charAt(ee);oe==" "&&E&&(ee==a.length-1||a.charCodeAt(ee+1)==32)&&(oe="\xA0"),x+=oe,E=oe==" "}return x}function Ki(a,y){return function(E,x,ee,oe,me,we,Ne){ee=ee?ee+" cm-force-border":"cm-force-border";for(var qe=E.pos,yn=qe+x.length;;){for(var In=void 0,lr=0;lr<y.length&&(In=y[lr],!(In.to>qe&&In.from<=qe));lr++);if(In.to>=yn)return a(E,x,ee,oe,me,we,Ne);a(E,x.slice(0,In.to-qe),ee,oe,null,we,Ne),oe=null,x=x.slice(In.to-qe),qe=In.to}}}function Wo(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 Mo(a,y,E){var x=a.markedSpans,ee=a.text,oe=0;if(!x){for(var me=1;me<E.length;me+=2)y.addToken(y,ee.slice(oe,oe=E[me]),bo(E[me+1],y.cm.options));return}for(var we=ee.length,Ne=0,qe=1,yn="",In,lr,rr=0,Zr,so,Po,jo,li;;){if(rr==Ne){Zr=so=Po=lr="",li=null,jo=null,rr=1/0;for(var Vo=[],fi=void 0,Ni=0;Ni<x.length;++Ni){var Pi=x[Ni],ta=Pi.marker;if(ta.type=="bookmark"&&Pi.from==Ne&&ta.widgetNode)Vo.push(ta);else if(Pi.from<=Ne&&(Pi.to==null||Pi.to>Ne||ta.collapsed&&Pi.to==Ne&&Pi.from==Ne)){if(Pi.to!=null&&Pi.to!=Ne&&rr>Pi.to&&(rr=Pi.to,so=""),ta.className&&(Zr+=" "+ta.className),ta.css&&(lr=(lr?lr+";":"")+ta.css),ta.startStyle&&Pi.from==Ne&&(Po+=" "+ta.startStyle),ta.endStyle&&Pi.to==rr&&(fi||(fi=[])).push(ta.endStyle,Pi.to),ta.title&&((li||(li={})).title=ta.title),ta.attributes)for(var Va in ta.attributes)(li||(li={}))[Va]=ta.attributes[Va];ta.collapsed&&(!jo||Mt(jo.marker,ta)<0)&&(jo=Pi)}else Pi.from>Ne&&rr>Pi.from&&(rr=Pi.from)}if(fi)for(var Ol=0;Ol<fi.length;Ol+=2)fi[Ol+1]==rr&&(so+=" "+fi[Ol]);if(!jo||jo.from==Ne)for(var ll=0;ll<Vo.length;++ll)Wo(y,0,Vo[ll]);if(jo&&(jo.from||0)==Ne){if(Wo(y,(jo.to==null?we+1:jo.to)-Ne,jo.marker,jo.from==null),jo.to==null)return;jo.to==Ne&&(jo=!1)}}if(Ne>=we)break;for(var $l=Math.min(we,rr);;){if(yn){var Vl=Ne+yn.length;if(!jo){var bl=Vl>$l?yn.slice(0,$l-Ne):yn;y.addToken(y,bl,In?In+Zr:Zr,Po,Ne+bl.length==rr?so:"",lr,li)}if(Vl>=$l){yn=yn.slice($l-Ne),Ne=$l;break}Ne=Vl,Po=""}yn=ee.slice(oe,oe=E[qe++]),In=bo(E[qe++],y.cm.options)}}}function Wi(a,y,E){this.line=y,this.rest=Zn(y),this.size=this.rest?wt(ct(this.rest))-E+1:1,this.node=this.text=null,this.hidden=$n(a,y)}function zi(a,y,E){for(var x=[],ee,oe=y;oe<E;oe=ee){var me=new Wi(a.doc,$t(a.doc,oe),oe);ee=oe+me.size,x.push(me)}return x}var Xi=null;function Wa(a){Xi?Xi.ops.push(a):a.ownsGroup=Xi={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{Xi=null,y(E)}}var Ba=null;function Ui(a,y){var E=Wt(a,y);if(E.length){var x=Array.prototype.slice.call(arguments,2),ee;Xi?ee=Xi.delayedCallbacks:Ba?ee=Ba:(ee=Ba=[],setTimeout(Fa,0));for(var oe=function(we){ee.push(function(){return E[we].apply(null,x)})},me=0;me<E.length;++me)oe(me)}}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 oe=y.changes[ee];oe=="text"?El(a,y):oe=="gutter"?mi(a,y,E,x):oe=="class"?hi(a,y):oe=="widget"&&wo(a,y,x)}y.changes=null}function Ja(a){return a.node==a.text&&(a.node=at("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Oe&&be<8&&(a.node.style.zIndex=2)),a.node}function Ji(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(at("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):Bo(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,hi(a,y)):E&&(y.text.className=E)}function hi(a,y){Ji(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 mi(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=at("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 oe=y.line.gutterMarkers;if(a.options.lineNumbers||oe){var me=Ja(y),we=y.gutter=at("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?x.fixedPos:-x.gutterTotalWidth)+"px");if(a.display.input.setUneditable(we),me.insertBefore(we,y.text),y.line.gutterClass&&(we.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!oe||!oe["CodeMirror-linenumbers"])&&(y.lineNumber=we.appendChild(at("div",ht(a.options,E),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+x.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),oe)for(var Ne=0;Ne<a.display.gutterSpecs.length;++Ne){var qe=a.display.gutterSpecs[Ne].className,yn=oe.hasOwnProperty(qe)&&oe[qe];yn&&we.appendChild(at("div",[yn],"CodeMirror-gutter-elt","left: "+x.gutterLeft[qe]+"px; width: "+x.gutterWidth[qe]+"px"))}}}function wo(a,y,E){y.alignable&&(y.alignable=null);for(var x=ft("CodeMirror-linewidget"),ee=y.node.firstChild,oe=void 0;ee;ee=oe)oe=ee.nextSibling,x.test(ee.className)&&y.node.removeChild(ee);To(a,y,E)}function ho(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),hi(a,y),mi(a,y,E,x),To(a,y,x),y.node}function To(a,y,E){if(si(a,y.line,y,E,!0),y.rest)for(var x=0;x<y.rest.length;x++)si(a,y.rest[x],y,E,!1)}function si(a,y,E,x,ee){if(y.widgets)for(var oe=Ja(E),me=0,we=y.widgets;me<we.length;++me){var Ne=we[me],qe=at("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?oe.insertBefore(qe,E.gutter||E.text):oe.appendChild(qe),Ui(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 Ri(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Ze(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;"),Je(y.display.measure,at("div",[a.node],null,E))}return a.height=a.node.parentNode.offsetHeight}function Li(a,y){for(var E=Vt(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 Oi(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=Je(a.measure,at("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 Gt-a.display.nativeBarWidth}function Ya(a){return a.display.scroller.clientWidth-Oa(a)-a.display.barWidth}function Ii(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 oe=y.measure.heights=[];if(x){y.measure.width=ee;for(var me=y.text.firstChild.getClientRects(),we=0;we<me.length-1;we++){var Ne=me[we],qe=me[we+1];Math.abs(Ne.bottom-qe.bottom)>2&&oe.push((Ne.bottom+qe.top)/2-E.top)}}oe.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(wt(a.rest[ee])>E)return{map:a.measure.maps[ee],cache:a.measure.caches[ee],before:!0}}function cl(a,y){y=en(y);var E=wt(y),x=a.display.externalMeasured=new Wi(a.doc,y,E);x.lineN=E;var ee=x.built=Bo(a,x);return x.text=ee.pre,Je(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=wt(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 oe=E+(x||""),me;return y.cache.hasOwnProperty(oe)?me=y.cache[oe]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Ga(a,y.view,y.rect),y.hasHeights=!0),me=ns(a,y,E,x),me.bogus||(y.cache[oe]=me)),{left:me.left,right:me.right,top:ee?me.rtop:me.top,bottom:ee?me.rbottom:me.bottom}}var Hl={left:0,right:0,top:0,bottom:0};function Yl(a,y,E){for(var x,ee,oe,me,we,Ne,qe=0;qe<a.length;qe+=3)if(we=a[qe],Ne=a[qe+1],y<we?(ee=0,oe=1,me="left"):y<Ne?(ee=y-we,oe=ee+1):(qe==a.length-3||y==Ne&&a[qe+3]>y)&&(oe=Ne-we,ee=oe-1,y>=Ne&&(me="right")),ee!=null){if(x=a[qe+2],we==Ne&&E==(x.insertLeft?"left":"right")&&(me=E),E=="left"&&ee==0)for(;qe&&a[qe-2]==a[qe-3]&&a[qe-1].insertLeft;)x=a[(qe-=3)+2],me="left";if(E=="right"&&ee==Ne-we)for(;qe<a.length-3&&a[qe+3]==a[qe+4]&&!a[qe+5].insertLeft;)x=a[(qe+=3)+2],me="right";break}return{node:x,start:ee,end:oe,collapse:me,coverStart:we,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),oe=ee.node,me=ee.start,we=ee.end,Ne=ee.collapse,qe;if(oe.nodeType==3){for(var yn=0;yn<4;yn++){for(;me&&De(y.line.text.charAt(ee.coverStart+me));)--me;for(;ee.coverStart+we<ee.coverEnd&&De(y.line.text.charAt(ee.coverStart+we));)++we;if(Oe&&be<9&&me==0&&we==ee.coverEnd-ee.coverStart?qe=oe.parentNode.getBoundingClientRect():qe=as(Pe(oe,me,we).getClientRects(),x),qe.left||qe.right||me==0)break;we=me,me=me-1,Ne="right"}Oe&&be<11&&(qe=Cs(a.display.measure,qe))}else{me>0&&(Ne=x="right");var In;a.options.lineWrapping&&(In=oe.getClientRects()).length>1?qe=In[x=="right"?In.length-1:0]:qe=oe.getBoundingClientRect()}if(Oe&&be<9&&!me&&(!qe||!qe.left&&!qe.right)){var lr=oe.parentNode.getClientRects()[0];lr?qe={left:lr.left,right:lr.left+ol(a.display),top:lr.top,bottom:lr.bottom}:qe=Hl}for(var rr=qe.top-y.rect.top,Zr=qe.bottom-y.rect.top,so=(rr+Zr)/2,Po=y.view.measure.heights,jo=0;jo<Po.length-1&&!(so<Po[jo]);jo++);var li=jo?Po[jo-1]:0,Vo=Po[jo],fi={left:(Ne=="right"?qe.right:qe.left)-y.rect.left,right:(Ne=="left"?qe.left:qe.right)-y.rect.left,top:li,bottom:Vo};return!qe.left&&!qe.right&&(fi.bogus=!0),a.options.singleCursorHeightPerLine||(fi.rtop=rr,fi.rbottom=Zr),fi}function Cs(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!qn(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,Zt(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 os(){return Be&&$e?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function hs(){return Be&&$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+=Ri(a.widgets[E]));return y}function is(a,y,E,x,ee){if(!ee){var oe=_l(y);E.top+=oe,E.bottom+=oe}if(x=="line")return E;x||(x="local");var me=br(y);if(x=="local"?me+=Oi(a.display):me-=a.display.viewOffset,x=="page"||x=="window"){var we=a.display.lineSpace.getBoundingClientRect();me+=we.top+(x=="window"?0:hs());var Ne=we.left+(x=="window"?0:os());E.left+=Ne,E.right+=Ne}return E.top+=me,E.bottom+=me,E}function $a(a,y,E){if(E=="div")return y;var x=y.left,ee=y.top;if(E=="page")x-=os(),ee-=hs();else if(E=="local"||!E){var oe=a.display.sizer.getBoundingClientRect();x+=oe.left,ee+=oe.top}var me=a.display.lineSpace.getBoundingClientRect();return{left:x-me.left,top:ee-me.top}}function Qa(a,y,E,x,ee){return x||(x=$t(a.doc,y.line)),is(a,x,el(a,x,y.ch,ee),E)}function fa(a,y,E,x,ee,oe){x=x||$t(a.doc,y.line),ee||(ee=Al(a,x));function me(Zr,so){var Po=xl(a,ee,Zr,so?"right":"left",oe);return so?Po.left=Po.right:Po.right=Po.left,is(a,x,Po,E)}var we=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"),!we)return me(qe=="before"?Ne-1:Ne,qe=="before");function yn(Zr,so,Po){var jo=we[so],li=jo.level==1;return me(Po?Zr-1:Zr,li!=Po)}var In=Pt(we,Ne,qe),lr=pt,rr=yn(Ne,In,qe=="before");return lr!=null&&(rr.other=yn(Ne,lr,qe!="before")),rr}function Hi(a,y){var E=0;y=Ft(a.doc,y),a.options.lineWrapping||(E=ol(a.display)*y.ch);var x=$t(a.doc,y.line),ee=br(x)+Oi(a.display);return{left:E,right:E,top:ee,bottom:ee+x.height}}function Ci(a,y,E,x,ee){var oe=Ye(a,y,E);return oe.xRel=ee,x&&(oe.outside=x),oe}function sa(a,y,E){var x=a.doc;if(E+=a.display.viewOffset,E<0)return Ci(x.first,0,null,-1,-1);var ee=zt(x,E),oe=x.first+x.size-1;if(ee>oe)return Ci(x.first+x.size-1,$t(x,oe).text.length,null,1,1);y<0&&(y=0);for(var me=$t(x,ee);;){var we=tl(a,me,ee,y,E),Ne=ot(me,we.ch+(we.xRel>0||we.outside>0?1:0));if(!Ne)return we;var qe=Ne.find(1);if(qe.line==ee)return qe;me=$t(x,ee=qe.line)}}function Ma(a,y,E,x){x-=_l(y);var ee=y.text.length,oe=Qe(function(me){return xl(a,E,me-1).bottom<=x},ee,0);return ee=Qe(function(me){return xl(a,E,me).top>x},oe,ee),{begin:oe,end:ee}}function wa(a,y,E,x){E||(E=Al(a,y));var ee=is(a,y,xl(a,E,x),"line").top;return Ma(a,y,E,ee)}function _i(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 oe=Al(a,y),me=_l(y),we=0,Ne=y.text.length,qe=!0,yn=Le(y,a.doc.direction);if(yn){var In=(a.options.lineWrapping?nl:Ka)(a,y,E,oe,yn,x,ee);qe=In.level!=1,we=qe?In.from:In.to-1,Ne=qe?In.to:In.from-1}var lr=null,rr=null,Zr=Qe(function(Ni){var Pi=xl(a,oe,Ni);return Pi.top+=me,Pi.bottom+=me,_i(Pi,x,ee,!1)?(Pi.top<=ee&&Pi.left<=x&&(lr=Ni,rr=Pi),!0):!1},we,Ne),so,Po,jo=!1;if(rr){var li=x-rr.left<rr.right-x,Vo=li==qe;Zr=lr+(Vo?0:1),Po=Vo?"after":"before",so=li?rr.left:rr.right}else{!qe&&(Zr==Ne||Zr==we)&&Zr++,Po=Zr==0?"after":Zr==y.text.length?"before":xl(a,oe,Zr-(qe?1:0)).bottom+me<=ee==qe?"after":"before";var fi=fa(a,Ye(E,Zr,Po),"line",y,oe);so=fi.left,jo=ee<fi.top?-1:ee>=fi.bottom?1:0}return Zr=st(y.text,Zr,1),Ci(E,Zr,Po,jo,x-so)}function Ka(a,y,E,x,ee,oe,me){var we=Qe(function(In){var lr=ee[In],rr=lr.level!=1;return _i(fa(a,Ye(E,rr?lr.to:lr.from,rr?"before":"after"),"line",y,x),oe,me,!0)},0,ee.length-1),Ne=ee[we];if(we>0){var qe=Ne.level!=1,yn=fa(a,Ye(E,qe?Ne.from:Ne.to,qe?"after":"before"),"line",y,x);_i(yn,oe,me,!0)&&yn.top>me&&(Ne=ee[we-1])}return Ne}function nl(a,y,E,x,ee,oe,me){var we=Ma(a,y,x,me),Ne=we.begin,qe=we.end;/\s/.test(y.text.charAt(qe-1))&&qe--;for(var yn=null,In=null,lr=0;lr<ee.length;lr++){var rr=ee[lr];if(!(rr.from>=qe||rr.to<=Ne)){var Zr=rr.level!=1,so=xl(a,x,Zr?Math.min(qe,rr.to)-1:Math.max(Ne,rr.from)).right,Po=so<oe?oe-so+1e9:so-oe;(!yn||In>Po)&&(yn=rr,In=Po)}}return yn||(yn=ee[ee.length-1]),yn.from<Ne&&(yn={from:Ne,to:yn.to,level:yn.level}),yn.to>qe&&(yn={from:yn.from,to:qe,level:yn.level}),yn}var _a;function rl(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(_a==null){_a=at("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)_a.appendChild(document.createTextNode("x")),_a.appendChild(at("br"));_a.appendChild(document.createTextNode("x"))}Je(a.measure,_a);var E=_a.offsetHeight/50;return E>3&&(a.cachedTextHeight=E),Zt(a.measure),E||1}function ol(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=at("span","xxxxxxxxxx"),E=at("pre",[y],"CodeMirror-line-like");Je(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,oe=y.gutters.firstChild,me=0;oe;oe=oe.nextSibling,++me){var we=a.display.gutterSpecs[me].className;E[we]=oe.offsetLeft+oe.clientLeft+ee,x[we]=oe.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/ol(a.display)-3);return function(ee){if($n(a.doc,ee))return 0;var oe=0;if(ee.widgets)for(var me=0;me<ee.widgets.length;me++)ee.widgets[me].height&&(oe+=ee.widgets[me].height);return E?oe+(Math.ceil(ee.text.length/x)||1)*y:oe+y}}function ms(a){var y=a.doc,E=Ls(a);y.iter(function(x){var ee=E(x);ee!=x.height&&or(x,ee)})}function ql(a,y,E,x){var ee=a.display;if(!E&&Vt(y).getAttribute("cm-not-content")=="true")return null;var oe,me,we=ee.lineSpace.getBoundingClientRect();try{oe=y.clientX-we.left,me=y.clientY-we.top}catch(In){return null}var Ne=sa(a,oe,me),qe;if(x&&Ne.xRel>0&&(qe=$t(a.doc,Ne.line).text).length==Ne.ch){var yn=Ae(qe,qe.length,a.options.tabSize)-qe.length;Ne=Ye(Ne.line,Math.max(0,Math.round((oe-Ea(a.display).left)/ol(a.display))-yn))}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&&An(a.doc,y)<ee.viewTo&&Ql(a);else if(E<=ee.viewFrom)gr&&Hn(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 oe=Ds(a,E,E+x,1);oe?(ee.view=ee.view.slice(oe.index),ee.viewFrom=oe.lineN,ee.viewTo+=x):Ql(a)}else if(E>=ee.viewTo){var me=Ds(a,y,y,-1);me?(ee.view=ee.view.slice(0,me.index),ee.viewTo=me.lineN):Ql(a)}else{var we=Ds(a,y,y,-1),Ne=Ds(a,E,E+x,1);we&&Ne?(ee.view=ee.view.slice(0,we.index).concat(zi(a,we.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 oe=x.view[Xl(a,y)];if(oe.node!=null){var me=oe.changes||(oe.changes=[]);gt(me,E)==-1&&me.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),oe,me=a.display.view;if(!gr||E==a.doc.first+a.doc.size)return{index:ee,lineN:E};for(var we=a.display.viewFrom,Ne=0;Ne<ee;Ne++)we+=me[Ne].size;if(we!=y){if(x>0){if(ee==me.length-1)return null;oe=we+me[ee].size-y,ee++}else oe=we-y;y+=oe,E+=oe}for(;An(a.doc,E)!=E;){if(ee==(x<0?0:me.length-1))return null;E+=x*me[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=zi(a,y,E),x.viewFrom=y):(x.viewFrom>y?x.view=zi(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(zi(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(),oe=x.selection=document.createDocumentFragment(),me=0;me<E.sel.ranges.length;me++)if(!(!y&&me==E.sel.primIndex)){var we=E.sel.ranges[me];if(!(we.from().line>=a.display.viewTo||we.to().line<a.display.viewFrom)){var Ne=we.empty();(Ne||a.options.showCursorWhenSelecting)&&Gs(a,we.head,ee),Ne||Au(a,we,oe)}}return x}function Gs(a,y,E){var x=fa(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),ee=E.appendChild(at("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 oe=E.appendChild(at("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));oe.style.display="",oe.style.left=x.other.left+"px",oe.style.top=x.other.top+"px",oe.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,oe=document.createDocumentFragment(),me=Ea(a.display),we=me.left,Ne=Math.max(x.sizerWidth,Ya(a)-x.sizer.offsetLeft)-me.right,qe=ee.direction=="ltr";function yn(Vo,fi,Ni,Pi){fi<0&&(fi=0),fi=Math.round(fi),Pi=Math.round(Pi),oe.appendChild(at("div",null,"CodeMirror-selected","position: absolute; left: "+Vo+`px;
|
|
|
top: `+fi+"px; width: "+(Ni==null?Ne-Vo:Ni)+`px;
|
|
|
height: `+(Pi-fi)+"px"))}function In(Vo,fi,Ni){var Pi=$t(ee,Vo),ta=Pi.text.length,Va,Ol;function ll(bl,Kl){return Qa(a,Ye(Vo,bl),"div",Pi,Kl)}function $l(bl,Kl,Tl){var Sl=wa(a,Pi,null,bl),Cl=Kl=="ltr"==(Tl=="after")?"left":"right",sl=Tl=="after"?Sl.begin:Sl.end-(/\s/.test(Pi.text.charAt(Sl.end-1))?2:1);return ll(sl,Cl)[Cl]}var Vl=Le(Pi,ee.direction);return Ie(Vl,fi||0,Ni==null?ta:Ni,function(bl,Kl,Tl,Sl){var Cl=Tl=="ltr",sl=ll(bl,Cl?"left":"right"),Ul=ll(Kl-1,Cl?"right":"left"),qs=fi==null&&bl==0,ks=Ni==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?we:(Cl?sl:Ul).left,Ks=ku?Ne:(Cl?Ul:sl).right;yn(As,sl.top,Ks-As,sl.bottom)}else{var Us,zl,eu,Lu;Cl?(Us=qe&&qs&&Zl?we:sl.left,zl=qe?Ne:$l(bl,Tl,"before"),eu=qe?we:$l(Kl,Tl,"after"),Lu=qe&&ks&&bs?Ne:Ul.right):(Us=qe?$l(bl,Tl,"before"):we,zl=!qe&&qs&&Zl?Ne:sl.right,eu=!qe&&ks&&bs?we:Ul.left,Lu=qe?$l(Kl,Tl,"after"):Ne),yn(Us,sl.top,zl-Us,sl.bottom),sl.bottom<Ul.top&&yn(we,sl.bottom,null,Ul.top),yn(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(),rr=y.to();if(lr.line==rr.line)In(lr.line,lr.ch,rr.ch);else{var Zr=$t(ee,lr.line),so=$t(ee,rr.line),Po=en(Zr)==en(so),jo=In(lr.line,lr.ch,Po?Zr.text.length+1:null).end,li=In(rr.line,Po?0:null,rr.ch).start;Po&&(jo.top<li.top-2?(yn(jo.right,jo.top,null,jo.bottom),yn(we,li.top,li.left,li.bottom)):yn(jo.right,jo.top,li.left-jo.right,jo.bottom)),jo.bottom<li.top&&yn(we,jo.bottom,null,li.top)}E.appendChild(oe)}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||(cn(a,"focus",a,y),a.state.focused=!0,ue(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Fe&&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&&(cn(a,"blur",a,y),a.state.focused=!1,mt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Ei(a){for(var y=a.display,E=y.lineDiv.offsetTop,x=0;x<y.view.length;x++){var ee=y.view[x],oe=a.options.lineWrapping,me=void 0,we=0;if(!ee.hidden){if(Oe&&be<8){var Ne=ee.node.offsetTop+ee.node.offsetHeight;me=Ne-E,E=Ne}else{var qe=ee.node.getBoundingClientRect();me=qe.bottom-qe.top,!oe&&ee.text.firstChild&&(we=ee.text.firstChild.getBoundingClientRect().right-qe.left-1)}var yn=ee.line.height-me;if((yn>.005||yn<-.005)&&(or(ee.line,me),ps(ee.line),ee.rest))for(var In=0;In<ee.rest.length;In++)ps(ee.rest[In]);if(we>a.display.sizerWidth){var lr=Math.ceil(we/ol(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 ie(a,y,E){var x=E&&E.top!=null?Math.max(0,E.top):a.scroller.scrollTop;x=Math.floor(x-Oi(a));var ee=E&&E.bottom!=null?E.bottom:x+a.wrapper.clientHeight,oe=zt(y,x),me=zt(y,ee);if(E&&E.ensure){var we=E.ensure.from.line,Ne=E.ensure.to.line;we<oe?(oe=we,me=zt(y,br($t(y,we))+a.wrapper.clientHeight)):Math.min(Ne,y.lastLine())>=me&&(oe=zt(y,br($t(y,Ne))-a.wrapper.clientHeight),me=Ne)}return{from:oe,to:Math.max(me,oe+1)}}function Se(a,y){if(!Xt(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&&!yt){var oe=at("div","\u200B",null,`position: absolute;
|
|
|
top: `+(y.top-E.viewOffset-Oi(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(oe),oe.scrollIntoView(ee),a.display.lineSpace.removeChild(oe)}}}function Xe(a,y,E,x){x==null&&(x=0);var ee;!a.options.lineWrapping&&y==E&&(y=y.ch?Ye(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,E=y.sticky=="before"?Ye(y.line,y.ch+1,"before"):y);for(var oe=0;oe<5;oe++){var me=!1,we=fa(a,y),Ne=!E||E==y?we:fa(a,E);ee={left:Math.min(we.left,Ne.left),top:Math.min(we.top,Ne.top)-x,right:Math.max(we.left,Ne.left),bottom:Math.max(we.bottom,Ne.bottom)+x};var qe=Lt(a,ee),yn=a.doc.scrollTop,In=a.doc.scrollLeft;if(qe.scrollTop!=null&&(Er(a,qe.scrollTop),Math.abs(a.doc.scrollTop-yn)>1&&(me=!0)),qe.scrollLeft!=null&&(Ir(a,qe.scrollLeft),Math.abs(a.doc.scrollLeft-In)>1&&(me=!0)),!me)break}return ee}function Bt(a,y){var E=Lt(a,y);E.scrollTop!=null&&Er(a,E.scrollTop),E.scrollLeft!=null&&Ir(a,E.scrollLeft)}function Lt(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,oe=Ii(a),me={};y.bottom-y.top>oe&&(y.bottom=y.top+oe);var we=a.doc.height+pa(E),Ne=y.top<x,qe=y.bottom>we-x;if(y.top<ee)me.scrollTop=Ne?0:y.top;else if(y.bottom>ee+oe){var yn=Math.min(y.top,(qe?we:y.bottom)-oe);yn!=ee&&(me.scrollTop=yn)}var In=a.options.fixedGutter?0:E.gutters.offsetWidth,lr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:E.scroller.scrollLeft-In,rr=Ya(a)-E.gutters.offsetWidth,Zr=y.right-y.left>rr;return Zr&&(y.right=y.left+rr),y.left<10?me.scrollLeft=0:y.left<lr?me.scrollLeft=Math.max(0,y.left+In-(Zr?0:10)):y.right>rr+lr-3&&(me.scrollLeft=y.right+(Zr?0:10)-rr),me}function Dn(a,y){y!=null&&(mr(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Wn(a){mr(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)&&mr(a),y!=null&&(a.curOp.scrollLeft=y),E!=null&&(a.curOp.scrollTop=E)}function sr(a,y){mr(a),a.curOp.scrollToPos=y}function mr(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var E=Hi(a,y.from),x=Hi(a,y.to);Xn(a,E,x,y.margin)}}function Xn(a,y,E,x){var ee=Lt(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||Bi(a,{top:y}),Fr(a,y,!0),b&&Bi(a),vi(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,it(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=at("div",[at("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ee=this.horiz=at("div",[at("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=ee.tabIndex=-1,a(x),a(ee),pn(x,"scroll",function(){x.clientHeight&&y(x.scrollTop,"vertical")}),pn(ee,"scroll",function(){ee.clientWidth&&y(ee.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Oe&&be<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 oe=a.viewWidth-a.barLeft-(E?x:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+oe)+"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=Ve&&!Ce?"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(),oe=E=="vert"?document.elementFromPoint(ee.right-1,(ee.top+ee.bottom)/2):document.elementFromPoint((ee.right+ee.left)/2,ee.bottom-1);oe!=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;So(a,y);for(var ee=0;ee<4&&E!=a.display.barWidth||x!=a.display.barHeight;ee++)E!=a.display.barWidth&&a.options.lineWrapping&&Ei(a),So(a,Dr(a)),E=a.display.barWidth,x=a.display.barHeight}function So(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 lo={native:Mr,null:Lr};function Ur(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&mt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new lo[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),pn(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&&ue(a.display.wrapper,a.display.scrollbars.addClass)}var Ao=0;function ro(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:++Ao},Wa(a.curOp)}function uo(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;ai(E)})}function ai(a){for(var y=a.ops,E=0;E<y.length;E++)Ko(y[E]);for(var x=0;x<y.length;x++)Go(y[x]);for(var ee=0;ee<y.length;ee++)zo(y[ee]);for(var oe=0;oe<y.length;oe++)ci(y[oe]);for(var me=0;me<y.length;me++)Jo(y[me])}function Ko(a){var y=a.cm,E=y.display;ei(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 Uo(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Go(a){a.updatedDisplay=a.mustUpdate&&Yo(a.cm,a.update)}function zo(a){var y=a.cm,E=y.display;a.updatedDisplay&&Ei(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 ci(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==Ee();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 Jo(a){var y=a.cm,E=y.display,x=y.doc;if(a.updatedDisplay&&pi(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=Xe(y,Ft(x,a.scrollToPos.from),Ft(x,a.scrollToPos.to),a.scrollToPos.margin);Se(y,ee)}var oe=a.maybeHiddenMarkers,me=a.maybeUnhiddenMarkers;if(oe)for(var we=0;we<oe.length;++we)oe[we].lines.length||cn(oe[we],"hide");if(me)for(var Ne=0;Ne<me.length;++Ne)me[Ne].lines.length&&cn(me[Ne],"unhide");E.wrapper.offsetHeight&&(x.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&cn(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function Fo(a,y){if(a.curOp)return y();ro(a);try{return y()}finally{uo(a)}}function Eo(a,y){return function(){if(a.curOp)return y.apply(a,arguments);ro(a);try{return y.apply(a,arguments)}finally{uo(a)}}}function Ro(a){return function(){if(this.curOp)return a.apply(this,arguments);ro(this);try{return a.apply(this,arguments)}finally{uo(this)}}}function No(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);ro(y);try{return a.apply(this,arguments)}finally{uo(y)}}}function vi(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,We(di,a))}function di(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(oe){if(x.line>=a.display.viewFrom){var me=oe.styles,we=oe.text.length>a.options.maxHighlightLength?vn(y.mode,x.state):null,Ne=Kn(a,oe,x,!0);we&&(x.state=we),oe.styles=Ne.styles;var qe=oe.styleClasses,yn=Ne.classes;yn?oe.styleClasses=yn:qe&&(oe.styleClasses=null);for(var In=!me||me.length!=oe.styles.length||qe!=yn&&(!qe||!yn||qe.bgClass!=yn.bgClass||qe.textClass!=yn.textClass),lr=0;!In&&lr<me.length;++lr)In=me[lr]!=oe.styles[lr];In&&ee.push(x.line),oe.stateAfter=x.save(),x.nextLine()}else oe.text.length<=a.options.maxHighlightLength&&Vr(a,oe.text,x),oe.stateAfter=x.line%5==0?x.save():null,x.nextLine();if(+new Date>E)return vi(a,a.options.workDelay),!0}),y.highlightFrontier=x.line,y.modeFrontier=Math.max(y.modeFrontier,x.line),ee.length&&Fo(a,function(){for(var oe=0;oe<ee.length;oe++)es(a,ee[oe],"text")})}}var Uo=function(a,y,E){var x=a.display;this.viewport=y,this.visible=ie(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=[]};Uo.prototype.signal=function(a,y){mn(a,y)&&this.events.push(arguments)},Uo.prototype.finish=function(){for(var a=0;a<this.events.length;a++)cn.apply(null,this.events[a])};function ei(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 Oo(a){if(a.hasFocus())return null;var y=Ee();if(!y||!Ze(a.display.lineDiv,y))return null;var E={activeElt:y};if(window.getSelection){var x=window.getSelection();x.anchorNode&&x.extend&&Ze(a.display.lineDiv,x.anchorNode)&&(E.anchorNode=x.anchorNode,E.anchorOffset=x.anchorOffset,E.focusNode=x.focusNode,E.focusOffset=x.focusOffset)}return E}function Xo(a){if(!(!a||!a.activeElt||a.activeElt==Ee())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Ze(document.body,a.anchorNode)&&Ze(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 Yo(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;It(a)&&(Ql(a),y.dims=kl(a));var ee=x.first+x.size,oe=Math.max(y.visible.from-a.options.viewportMargin,x.first),me=Math.min(ee,y.visible.to+a.options.viewportMargin);E.viewFrom<oe&&oe-E.viewFrom<20&&(oe=Math.max(x.first,E.viewFrom)),E.viewTo>me&&E.viewTo-me<20&&(me=Math.min(ee,E.viewTo)),gr&&(oe=An(a.doc,oe),me=Hn(a.doc,me));var we=oe!=E.viewFrom||me!=E.viewTo||E.lastWrapHeight!=y.wrapperHeight||E.lastWrapWidth!=y.wrapperWidth;Ys(a,oe,me),E.viewOffset=br($t(a.doc,E.viewFrom)),a.display.mover.style.top=E.viewOffset+"px";var Ne=Ps(a);if(!we&&Ne==0&&!y.force&&E.renderedView==E.view&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo))return!1;var qe=Oo(a);return Ne>4&&(E.lineDiv.style.display="none"),Mi(a,E.updateLineNumbers,y.dims),Ne>4&&(E.lineDiv.style.display=""),E.renderedView=E.view,Xo(qe),Zt(E.cursorDiv),Zt(E.selectionDiv),E.gutters.style.height=E.sizer.style.minHeight=0,we&&(E.lastWrapHeight=y.wrapperHeight,E.lastWrapWidth=y.wrapperWidth,vi(a,400)),E.updateLineNumbers=null,!0}function pi(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)-Ii(a),E.top)}),y.visible=ie(a.display,a.doc,E),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else x&&(y.visible=ie(a.display,a.doc,E));if(!Yo(a,y))break;Ei(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 Bi(a,y){var E=new Uo(a,y);if(Yo(a,E)){Ei(a),pi(a,E);var x=Dr(a);ss(a),Tr(a,x),ge(a,x),E.finish()}}function Mi(a,y,E){var x=a.display,ee=a.options.lineNumbers,oe=x.lineDiv,me=oe.firstChild;function we(Zr){var so=Zr.nextSibling;return Fe&&Ve&&a.display.currentWheelTarget==Zr?Zr.style.display="none":Zr.parentNode.removeChild(Zr),so}for(var Ne=x.view,qe=x.viewFrom,yn=0;yn<Ne.length;yn++){var In=Ne[yn];if(!In.hidden)if(!In.node||In.node.parentNode!=oe){var lr=ho(a,In,qe,E);oe.insertBefore(lr,me)}else{for(;me!=In.node;)me=we(me);var rr=ee&&y!=null&&y<=qe&&In.lineNumber;In.changes&&(gt(In.changes,"gutter")>-1&&(rr=!1),ul(a,In,qe,E)),rr&&(Zt(In.lineNumber),In.lineNumber.appendChild(document.createTextNode(ht(a.options,qe)))),me=In.node.nextSibling}qe+=In.size}for(;me;)me=we(me)}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 it(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,oe=x+"px",me=0;me<E.length;me++)if(!E[me].hidden){a.options.fixedGutter&&(E[me].gutter&&(E[me].gutter.style.left=oe),E[me].gutterBackground&&(E[me].gutterBackground.style.left=oe));var we=E[me].alignable;if(we)for(var Ne=0;Ne<we.length;Ne++)we[Ne].style.left=oe}a.options.fixedGutter&&(y.gutters.style.left=x+ee+"px")}}function It(a){if(!a.options.lineNumbers)return!1;var y=a.doc,E=ht(a.options,y.first+y.size-1),x=a.display;if(E.length!=x.lineNumChars){var ee=x.measure.appendChild(at("div",[at("div",E)],"CodeMirror-linenumber CodeMirror-gutter-elt")),oe=ee.firstChild.offsetWidth,me=ee.offsetWidth-oe;return x.lineGutter.style.width="",x.lineNumInnerWidth=Math.max(oe,x.lineGutter.offsetWidth-me)+1,x.lineNumWidth=x.lineNumInnerWidth+me,x.lineNumChars=x.lineNumInnerWidth?E.length:-1,x.lineGutter.style.width=x.lineNumWidth+"px",ye(a.display),!0}return!1}function Qt(a,y){for(var E=[],x=!1,ee=0;ee<a.length;ee++){var oe=a[ee],me=null;if(typeof oe!="string"&&(me=oe.style,oe=oe.className),oe=="CodeMirror-linenumbers")if(y)x=!0;else continue;E.push({className:oe,style:me})}return y&&!x&&E.push({className:"CodeMirror-linenumbers",style:null}),E}function on(a){var y=a.gutters,E=a.gutterSpecs;Zt(y),a.lineGutter=null;for(var x=0;x<E.length;++x){var ee=E[x],oe=ee.className,me=ee.style,we=y.appendChild(at("div",null,"CodeMirror-gutter "+oe));me&&(we.style.cssText=me),oe=="CodeMirror-linenumbers"&&(a.lineGutter=we,we.style.width=(a.lineNumWidth||1)+"px")}y.style.display=E.length?"":"none",ye(a)}function wn(a){on(a.display),vl(a),it(a)}function bn(a,y,E,x){var ee=this;this.input=E,ee.scrollbarFiller=at("div",null,"CodeMirror-scrollbar-filler"),ee.scrollbarFiller.setAttribute("cm-not-content","true"),ee.gutterFiller=at("div",null,"CodeMirror-gutter-filler"),ee.gutterFiller.setAttribute("cm-not-content","true"),ee.lineDiv=dt("div",null,"CodeMirror-code"),ee.selectionDiv=at("div",null,null,"position: relative; z-index: 1"),ee.cursorDiv=at("div",null,"CodeMirror-cursors"),ee.measure=at("div",null,"CodeMirror-measure"),ee.lineMeasure=at("div",null,"CodeMirror-measure"),ee.lineSpace=dt("div",[ee.measure,ee.lineMeasure,ee.selectionDiv,ee.cursorDiv,ee.lineDiv],null,"position: relative; outline: none");var oe=dt("div",[ee.lineSpace],"CodeMirror-lines");ee.mover=at("div",[oe],null,"position: relative"),ee.sizer=at("div",[ee.mover],"CodeMirror-sizer"),ee.sizerWidth=null,ee.heightForcer=at("div",null,null,"position: absolute; height: "+Gt+"px; width: 1px;"),ee.gutters=at("div",null,"CodeMirror-gutters"),ee.lineGutter=null,ee.scroller=at("div",[ee.sizer,ee.heightForcer,ee.gutters],"CodeMirror-scroll"),ee.scroller.setAttribute("tabIndex","-1"),ee.wrapper=at("div",[ee.scrollbarFiller,ee.gutterFiller,ee.scroller],"CodeMirror"),Oe&&be<8&&(ee.gutters.style.zIndex=-1,ee.scroller.style.paddingRight=0),!Fe&&!(b&&je)&&(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=Qt(x.gutters,x.lineNumbers),on(ee),E.init(ee)}var On=0,Nn=null;Oe?Nn=-.53:b?Nn=15:Be?Nn=-.7:Ge&&(Nn=-1/3);function ir(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 er(a){var y=ir(a);return y.x*=Nn,y.y*=Nn,y}function _n(a,y){var E=ir(y),x=E.x,ee=E.y,oe=a.display,me=oe.scroller,we=me.scrollWidth>me.clientWidth,Ne=me.scrollHeight>me.clientHeight;if(x&&we||ee&&Ne){if(ee&&Ve&&Fe){e:for(var qe=y.target,yn=oe.view;qe!=me;qe=qe.parentNode)for(var In=0;In<yn.length;In++)if(yn[In].node==qe){a.display.currentWheelTarget=qe;break e}}if(x&&!b&&!fe&&Nn!=null){ee&&Ne&&Er(a,Math.max(0,me.scrollTop+ee*Nn)),Ir(a,Math.max(0,me.scrollLeft+x*Nn)),(!ee||ee&&Ne)&&Yt(y),oe.wheelStartX=null;return}if(ee&&Nn!=null){var lr=ee*Nn,rr=a.doc.scrollTop,Zr=rr+oe.wrapper.clientHeight;lr<0?rr=Math.max(0,rr+lr-50):Zr=Math.min(a.doc.height,Zr+lr+50),Bi(a,{top:rr,bottom:Zr})}On<20&&(oe.wheelStartX==null?(oe.wheelStartX=me.scrollLeft,oe.wheelStartY=me.scrollTop,oe.wheelDX=x,oe.wheelDY=ee,setTimeout(function(){if(oe.wheelStartX!=null){var so=me.scrollLeft-oe.wheelStartX,Po=me.scrollTop-oe.wheelStartY,jo=Po&&oe.wheelDY&&Po/oe.wheelDY||so&&oe.wheelDX&&so/oe.wheelDX;oe.wheelStartX=oe.wheelStartY=null,jo&&(Nn=(Nn*On+jo)/(On+1),++On)}},200)):(oe.wheelDX+=x,oe.wheelDY+=ee))}}var zn=function(a,y){this.ranges=a,this.primIndex=y};zn.prototype.primary=function(){return this.ranges[this.primIndex]},zn.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},zn.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Rn(tr(this.ranges[y].anchor),tr(this.ranges[y].head));return new zn(a,this.primIndex)},zn.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},zn.prototype.contains=function(a,y){y||(y=a);for(var E=0;E<this.ranges.length;E++){var x=this.ranges[E];if(St(y,x.from())>=0&&St(a,x.to())<=0)return E}return-1};var Rn=function(a,y){this.anchor=a,this.head=y};Rn.prototype.from=function(){return bt(this.anchor,this.head)},Rn.prototype.to=function(){return ar(this.anchor,this.head)},Rn.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,rr){return St(lr.from(),rr.from())}),E=gt(y,ee);for(var oe=1;oe<y.length;oe++){var me=y[oe],we=y[oe-1],Ne=St(we.to(),me.from());if(x&&!me.empty()?Ne>0:Ne>=0){var qe=bt(we.from(),me.from()),yn=ar(we.to(),me.to()),In=we.empty()?me.from()==me.head:we.from()==we.head;oe<=E&&--E,y.splice(--oe,2,new Rn(In?yn:qe,In?qe:yn))}}return new zn(y,E)}function cr(a,y){return new zn([new Rn(a,y||a)],0)}function Hr(a){return a.text?Ye(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(St(a,y.from)<0)return a;if(St(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),Ye(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 Rn(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?Ye(E.line,a.ch-y.ch+E.ch):Ye(E.line+(a.line-y.line),a.ch)}function Yr(a,y,E){for(var x=[],ee=Ye(a.first,0),oe=ee,me=0;me<y.length;me++){var we=y[me],Ne=zr(we.from,ee,oe),qe=zr(Hr(we),ee,oe);if(ee=we.to,oe=qe,E=="around"){var yn=a.sel.ranges[me],In=St(yn.head,yn.anchor)<0;x[me]=new Rn(In?qe:Ne,In?Ne:qe)}else x[me]=new Rn(Ne,Ne)}return new zn(x,a.sel.primIndex)}function ao(a){a.doc.mode=Dt(a.options,a.doc.modeOption),po(a)}function po(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,vi(a,100),a.state.modeGen++,a.curOp&&vl(a)}function xo(a,y){return y.from.ch==0&&y.to.ch==0&&ct(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Qo(a,y,E,x){function ee(li){return E?E[li]:null}function oe(li,Vo,fi){io(li,Vo,fi,x),Ui(li,"change",li,y)}function me(li,Vo){for(var fi=[],Ni=li;Ni<Vo;++Ni)fi.push(new yo(qe[Ni],ee(Ni),x));return fi}var we=y.from,Ne=y.to,qe=y.text,yn=$t(a,we.line),In=$t(a,Ne.line),lr=ct(qe),rr=ee(qe.length-1),Zr=Ne.line-we.line;if(y.full)a.insert(0,me(0,qe.length)),a.remove(qe.length,a.size-qe.length);else if(xo(a,y)){var so=me(0,qe.length-1);oe(In,In.text,rr),Zr&&a.remove(we.line,Zr),so.length&&a.insert(we.line,so)}else if(yn==In)if(qe.length==1)oe(yn,yn.text.slice(0,we.ch)+lr+yn.text.slice(Ne.ch),rr);else{var Po=me(1,qe.length-1);Po.push(new yo(lr+yn.text.slice(Ne.ch),rr,x)),oe(yn,yn.text.slice(0,we.ch)+qe[0],ee(0)),a.insert(we.line+1,Po)}else if(qe.length==1)oe(yn,yn.text.slice(0,we.ch)+qe[0]+In.text.slice(Ne.ch),ee(0)),a.remove(we.line+1,Zr);else{oe(yn,yn.text.slice(0,we.ch)+qe[0],ee(0)),oe(In,lr+In.text.slice(Ne.ch),rr);var jo=me(1,qe.length-1);Zr>1&&a.remove(we.line+1,Zr-1),a.insert(we.line+1,jo)}Ui(a,"change",a,y)}function Gr(a,y,E){function x(ee,oe,me){if(ee.linked)for(var we=0;we<ee.linked.length;++we){var Ne=ee.linked[we];if(Ne.doc!=oe){var qe=me&&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),ao(a),oo(a),a.options.lineWrapping||Jr(a),a.options.mode=y.modeOption,vl(a)}function oo(a){(a.doc.direction=="rtl"?ue:mt)(a.display.lineDiv,"CodeMirror-rtl")}function Sr(a){Fo(a,function(){oo(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 to(a,y){var E={from:tr(y.from),to:Hr(y),text:Mn(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 go(a){for(;a.length;){var y=ct(a);if(y.ranges)a.pop();else break}}function Do(a,y){if(y)return go(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 $o(a,y,E,x){var ee=a.history;ee.undone.length=0;var oe=+new Date,me,we;if((ee.lastOp==x||ee.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&ee.lastModTime>oe-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(me=Do(ee,ee.lastOp==x)))we=ct(me.changes),St(y.from,y.to)==0&&St(y.from,we.to)==0?we.to=Hr(y):me.changes.push(to(a,y));else{var Ne=ct(ee.done);for((!Ne||!Ne.ranges)&&wi(a.sel,ee.done),me={changes:[to(a,y)],generation:ee.generation},ee.done.push(me);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=oe,ee.lastOp=ee.lastSelOp=x,ee.lastOrigin=ee.lastSelOrigin=y.origin,we||cn(a,"historyAdded")}function Co(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 Fi(a,y,E,x){var ee=a.history,oe=x&&x.origin;E==ee.lastSelOp||oe&&ee.lastSelOrigin==oe&&(ee.lastModTime==ee.lastSelTime&&ee.lastOrigin==oe||Co(a,oe,ct(ee.done),y))?ee.done[ee.done.length-1]=y:wi(y,ee.done),ee.lastSelTime=+new Date,ee.lastSelOrigin=oe,ee.lastSelOp=E,x&&x.clearRedo!==!1&&go(ee.undone)}function wi(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],oe=0;a.iter(Math.max(a.first,E),Math.min(a.first+a.size,x),function(me){me.markedSpans&&((ee||(ee=y["spans_"+a.id]={}))[oe]=me.markedSpans),++oe})}function Qi(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 ia(a,y){var E=y["spans_"+a.id];if(!E)return null;for(var x=[],ee=0;ee<y.text.length;++ee)x.push(Qi(E[ee]));return x}function ma(a,y){var E=ia(a,y),x=ko(a,y);if(!E)return x;if(!x)return E;for(var ee=0;ee<E.length;++ee){var oe=E[ee],me=x[ee];if(oe&&me)e:for(var we=0;we<me.length;++we){for(var Ne=me[we],qe=0;qe<oe.length;++qe)if(oe[qe].marker==Ne.marker)continue e;oe.push(Ne)}else me&&(E[ee]=me)}return E}function ga(a,y,E){for(var x=[],ee=0;ee<a.length;++ee){var oe=a[ee];if(oe.ranges){x.push(E?zn.prototype.deepCopy.call(oe):oe);continue}var me=oe.changes,we=[];x.push({changes:we});for(var Ne=0;Ne<me.length;++Ne){var qe=me[Ne],yn=void 0;if(we.push({from:qe.from,to:qe.to,text:qe.text}),y)for(var In in qe)(yn=In.match(/^spans_(\d+)$/))&>(y,Number(yn[1]))>-1&&(ct(we)[In]=qe[In],delete qe[In])}}return x}function Ti(a,y,E,x){if(x){var ee=a.anchor;if(E){var oe=St(y,ee)<0;oe!=St(E,ee)<0?(ee=y,y=E):oe!=St(y,E)<0&&(y=E)}return new Rn(ee,y)}else return new Rn(E||y,y)}function ki(a,y,E,x,ee){ee==null&&(ee=a.cm&&(a.cm.display.shift||a.extend)),Ho(a,new zn([Ti(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),oe=0;oe<a.sel.ranges.length;oe++)x[oe]=Ti(a.sel.ranges[oe],y[oe],null,ee);var me=Or(a.cm,x,a.sel.primIndex);Ho(a,me,E)}function Na(a,y,E,x){var ee=a.sel.ranges.slice(0);ee[y]=E,Ho(a,Or(a.cm,ee,a.sel.primIndex),x)}function oi(a,y,E,x){Ho(a,cr(y,E),x)}function Ai(a,y,E){var x={ranges:y.ranges,update:function(ee){this.ranges=[];for(var oe=0;oe<ee.length;oe++)this.ranges[oe]=new Rn(Ft(a,ee[oe].anchor),Ft(a,ee[oe].head))},origin:E&&E.origin};return cn(a,"beforeSelectionChange",a,x),a.cm&&cn(a.cm,"beforeSelectionChange",a.cm,x),x.ranges!=y.ranges?Or(a.cm,x.ranges,x.ranges.length-1):y}function ti(a,y,E){var x=a.history.done,ee=ct(x);ee&&ee.ranges?(x[x.length-1]=y,ji(a,y,E)):Ho(a,y,E)}function Ho(a,y,E){ji(a,y,E),Fi(a,a.sel,a.cm?a.cm.curOp.id:NaN,E)}function ji(a,y,E){(mn(a,"beforeSelectionChange")||a.cm&&mn(a.cm,"beforeSelectionChange"))&&(y=Ai(a,y,E));var x=E&&E.bias||(St(y.primary().head,a.sel.primary().head)<0?-1:1);$i(a,qi(a,y,x,!0)),!(E&&E.scroll===!1)&&a.cm&&Wn(a.cm)}function $i(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,an(a.cm)),Ui(a,"cursorActivity",a))}function ya(a){$i(a,qi(a,a.sel,null,!1))}function qi(a,y,E,x){for(var ee,oe=0;oe<y.ranges.length;oe++){var me=y.ranges[oe],we=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[oe],Ne=Sa(a,me.anchor,we&&we.anchor,E,x),qe=Sa(a,me.head,we&&we.head,E,x);(ee||Ne!=me.anchor||qe!=me.head)&&(ee||(ee=y.ranges.slice(0,oe)),ee[oe]=new Rn(Ne,qe))}return ee?Or(a.cm,ee,y.primIndex):y}function ka(a,y,E,x,ee){var oe=$t(a,y.line);if(oe.markedSpans)for(var me=0;me<oe.markedSpans.length;++me){var we=oe.markedSpans[me],Ne=we.marker,qe="selectLeft"in Ne?!Ne.selectLeft:Ne.inclusiveLeft,yn="selectRight"in Ne?!Ne.selectRight:Ne.inclusiveRight;if((we.from==null||(qe?we.from<=y.ch:we.from<y.ch))&&(we.to==null||(yn?we.to>=y.ch:we.to>y.ch))){if(ee&&(cn(Ne,"beforeCursorEnter"),Ne.explicitlyCleared))if(oe.markedSpans){--me;continue}else break;if(!Ne.atomic)continue;if(E){var In=Ne.find(x<0?1:-1),lr=void 0;if((x<0?yn:qe)&&(In=ui(a,In,-x,In&&In.line==y.line?oe:null)),In&&In.line==y.line&&(lr=St(In,E))&&(x<0?lr<0:lr>0))return ka(a,In,y,x,ee)}var rr=Ne.find(x<0?-1:1);return(x<0?qe:yn)&&(rr=ui(a,rr,x,rr.line==y.line?oe:null)),rr?ka(a,rr,y,x,ee):null}}return y}function Sa(a,y,E,x,ee){var oe=x||1,me=ka(a,y,E,oe,ee)||!ee&&ka(a,y,E,oe,!0)||ka(a,y,E,-oe,ee)||!ee&&ka(a,y,E,-oe,!0);return me||(a.cantEdit=!0,Ye(a.first,0))}function ui(a,y,E,x){return E<0&&y.ch==0?y.line>a.first?Ft(a,Ye(y.line-1)):null:E>0&&y.ch==(x||$t(a,y.line)).text.length?y.line<a.first+a.size-1?Ye(y.line+1,0):null:new Ye(y.line,y.ch+E)}function gi(a){a.setSelection(Ye(a.firstLine(),0),Ye(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,oe,me,we){ee&&(x.from=Ft(a,ee)),oe&&(x.to=Ft(a,oe)),me&&(x.text=me),we!==void 0&&(x.origin=we)}),cn(a,"beforeChange",a,x),a.cm&&cn(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 Eo(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&&qo(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]==""&&St(y.from,y.to)==0)){var E=_r(a,y);$o(a,y,E,a.cm?a.cm.curOp.id:NaN),il(a,y,E,ko(a,y));var x=[];Gr(a,function(ee,oe){!oe&>(x,ee.history)==-1&&(Ha(ee.history,y),x.push(ee.history)),il(ee,y,null,ko(ee,y))})}}function za(a,y,E){var x=a.cm&&a.cm.state.suppressEdits;if(!(x&&!E)){for(var ee=a.history,oe,me=a.sel,we=y=="undo"?ee.done:ee.undone,Ne=y=="undo"?ee.undone:ee.done,qe=0;qe<we.length&&(oe=we[qe],!(E?oe.ranges&&!oe.equals(a.sel):!oe.ranges));qe++);if(qe!=we.length){for(ee.lastOrigin=ee.lastSelOrigin=null;;)if(oe=we.pop(),oe.ranges){if(wi(oe,Ne),E&&!oe.equals(a.sel)){Ho(a,oe,{clearRedo:!1});return}me=oe}else if(x){we.push(oe);return}else break;var yn=[];wi(me,Ne),Ne.push({changes:yn,generation:ee.generation}),ee.generation=oe.generation||++ee.maxGeneration;for(var In=mn(a,"beforeChange")||a.cm&&mn(a.cm,"beforeChange"),lr=function(so){var Po=oe.changes[so];if(Po.origin=y,In&&!ea(a,Po,!1))return we.length=0,{};yn.push(to(a,Po));var jo=so?_r(a,Po):ct(we);il(a,Po,jo,ma(a,Po)),!so&&a.cm&&a.cm.scrollIntoView({from:Po.from,to:Hr(Po)});var li=[];Gr(a,function(Vo,fi){!fi&>(li,Vo.history)==-1&&(Ha(Vo.history,Po),li.push(Vo.history)),il(Vo,Po,null,ma(Vo,Po))})},rr=oe.changes.length-1;rr>=0;--rr){var Zr=lr(rr);if(Zr)return Zr.v}}}}function ba(a,y){if(y!=0&&(a.first+=y,a.sel=new zn(ln(a.sel.ranges,function(ee){return new Rn(Ye(ee.anchor.line+y,ee.anchor.ch),Ye(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 il(a,y,E,x){if(a.cm&&!a.cm.curOp)return Eo(a.cm,il)(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:Ye(a.first,0),to:Ye(y.to.line+ee,y.to.ch),text:[ct(y.text)],origin:y.origin}}var oe=a.lastLine();y.to.line>oe&&(y={from:y.from,to:Ye(oe,$t(a,oe).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Mn(a,y.from,y.to),E||(E=_r(a,y)),a.cm?va(a.cm,y,x):Qo(a,y,x),ji(a,E,pe),a.cantEdit&&Sa(a,Ye(a.firstLine(),0))&&(a.cantEdit=!1)}}function va(a,y,E){var x=a.doc,ee=a.display,oe=y.from,me=y.to,we=!1,Ne=oe.line;a.options.lineWrapping||(Ne=wt(en($t(x,oe.line))),x.iter(Ne,me.line+1,function(rr){if(rr==ee.maxLine)return we=!0,!0})),x.sel.contains(y.from,y.to)>-1&&an(a),Qo(x,y,E,Ls(a)),a.options.lineWrapping||(x.iter(Ne,oe.line+y.text.length,function(rr){var Zr=Wr(rr);Zr>ee.maxLineLength&&(ee.maxLine=rr,ee.maxLineLength=Zr,ee.maxLineChanged=!0,we=!1)}),we&&(a.curOp.updateMaxLine=!0)),yr(x,oe.line),vi(a,400);var qe=y.text.length-(me.line-oe.line)-1;y.full?vl(a):oe.line==me.line&&y.text.length==1&&!xo(a.doc,y)?es(a,oe.line,"text"):vl(a,oe.line,me.line+1,qe);var yn=mn(a,"changes"),In=mn(a,"change");if(In||yn){var lr={from:oe,to:me,text:y.text,removed:y.removed,origin:y.origin};In&&Ui(a,"change",a,lr),yn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(lr)}a.display.selForContextMenu=null}function Vi(a,y,E,x,ee){var oe;x||(x=E),St(x,E)<0&&(oe=[x,E],E=oe[0],x=oe[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 oe=a[ee],me=!0;if(oe.ranges){oe.copied||(oe=a[ee]=oe.deepCopy(),oe.copied=!0);for(var we=0;we<oe.ranges.length;we++)ha(oe.ranges[we].anchor,y,E,x),ha(oe.ranges[we].head,y,E,x);continue}for(var Ne=0;Ne<oe.changes.length;++Ne){var qe=oe.changes[Ne];if(E<qe.from.line)qe.from=Ye(qe.from.line+x,qe.from.ch),qe.to=Ye(qe.to.line+x,qe.to.ch);else if(y<=qe.to.line){me=!1;break}}me||(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,oe=y;return typeof y=="number"?oe=$t(a,xt(a,y)):ee=wt(y),ee==null?null:(x(oe,ee)&&a.cm&&es(a.cm,ee,E),oe)}function Gi(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}Gi.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,Io(ee),Ui(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 oe=Math.min(y,ee-a),me=x.height;if(x.removeInner(a,oe),this.height-=me-x.height,ee==oe&&(this.children.splice(E--,1),x.parent=null),(y-=oe)==0)break;a=0}else a-=ee}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Gi))){var we=[];this.collapse(we),this.children=[new Gi(we)],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],oe=ee.chunkSize();if(a<=oe){if(ee.insertInner(a,y,E),ee.lines&&ee.lines.length>50){for(var me=ee.lines.length%25+25,we=me;we<ee.lines.length;){var Ne=new Gi(ee.lines.slice(we,we+=25));ee.height-=Ne.height,this.children.splice(++x,0,Ne),Ne.parent=this}ee.lines=ee.lines.slice(0,me),this.maybeSpill()}break}a-=oe}},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=gt(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],oe=ee.chunkSize();if(a<oe){var me=Math.min(y,oe-a);if(ee.iterN(a,me,E))return!0;if((y-=me)==0)break;a=0}else a-=oe}}};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=wt(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 oe=Ri(this);or(E,Math.max(0,E.height-oe)),a&&(Fo(a,function(){al(a,E,-oe),es(a,x,"widget")}),Ui(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=Ri(this)-y;ee&&($n(this.doc,x)||or(x,x.height+ee),E&&Fo(E,function(){E.curOp.forceUpdate=!0,al(E,x,ee),Ui(E,"lineWidgetChanged",E,a,wt(x))}))},vt(na);function al(a,y,E){br(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&Dn(a,E)}function ja(a,y,E,x){var ee=new na(a,E,x),oe=a.cm;return oe&&ee.noHScroll&&(oe.display.alignWidgets=!0),La(a,y,"widget",function(me){var we=me.widgets||(me.widgets=[]);if(ee.insertAt==null?we.push(ee):we.splice(Math.min(we.length-1,Math.max(0,ee.insertAt)),0,ee),ee.line=me,oe&&!$n(a,me)){var Ne=br(me)<a.scrollTop;or(me,me.height+Ri(ee)),Ne&&Dn(oe,ee.height),oe.curOp.forceUpdate=!0}return!0}),oe&&Ui(oe,"lineWidgetAdded",oe,ee,typeof y=="number"?y:wt(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&&ro(a),mn(this,"clear")){var E=this.find();E&&Ui(this,"clear",E.from,E.to)}for(var x=null,ee=null,oe=0;oe<this.lines.length;++oe){var me=this.lines[oe],we=Rr(me.markedSpans,this);a&&!this.collapsed?es(a,wt(me),"text"):a&&(we.to!=null&&(ee=wt(me)),we.from!=null&&(x=wt(me))),me.markedSpans=mo(me.markedSpans,we),we.from==null&&this.collapsed&&!$n(this.doc,me)&&a&&or(me,rl(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var Ne=0;Ne<this.lines.length;++Ne){var qe=en(this.lines[Ne]),yn=Wr(qe);yn>a.display.maxLineLength&&(a.display.maxLine=qe,a.display.maxLineLength=yn,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&&Ui(a,"markerCleared",a,this,x,ee),y&&uo(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 oe=this.lines[ee],me=Rr(oe.markedSpans,this);if(me.from!=null&&(E=Ye(y?oe:wt(oe),me.from),a==-1))return E;if(me.to!=null&&(x=Ye(y?oe:wt(oe),me.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||Fo(x,function(){var ee=y.line,oe=wt(y.line),me=Xa(x,oe);if(me&&(rs(me),x.curOp.selectionChanged=x.curOp.forceUpdate=!0),x.curOp.updateMaxLine=!0,!$n(E.doc,ee)&&E.height!=null){var we=E.height;E.height=null;var Ne=Ri(E)-we;Ne&&or(ee,ee.height+Ne)}Ui(x,"markerChanged",x,a)})},pl.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||gt(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},pl.prototype.detachLine=function(a){if(this.lines.splice(gt(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},vt(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 Eo(a.cm,Wl)(a,y,E,x,ee);var oe=new pl(a,ee),me=St(y,E);if(x&&kt(x,oe,!1),me>0||me==0&&oe.clearWhenEmpty!==!1)return oe;if(oe.replacedWith&&(oe.collapsed=!0,oe.widgetNode=dt("span",[oe.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||oe.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(oe.widgetNode.insertLeft=!0)),oe.collapsed){if(Ot(a,y.line,y,E,oe)||y.line!=E.line&&Ot(a,E.line,y,E,oe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Kr()}oe.addToHistory&&$o(a,{from:y,to:E,origin:"markText"},a.sel,NaN);var we=y.line,Ne=a.cm,qe;if(a.iter(we,E.line+1,function(In){Ne&&oe.collapsed&&!Ne.options.lineWrapping&&en(In)==Ne.display.maxLine&&(qe=!0),oe.collapsed&&we!=y.line&&or(In,0),Qr(In,new wr(oe,we==y.line?y.ch:null,we==E.line?E.ch:null)),++we}),oe.collapsed&&a.iter(y.line,E.line+1,function(In){$n(a,In)&&or(In,0)}),oe.clearOnEnter&&pn(oe,"beforeCursorEnter",function(){return oe.clear()}),oe.readOnly&&(no(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),oe.collapsed&&(oe.id=++dl,oe.atomic=!0),Ne){if(qe&&(Ne.curOp.updateMaxLine=!0),oe.collapsed)vl(Ne,y.line,E.line+1);else if(oe.className||oe.startStyle||oe.endStyle||oe.css||oe.attributes||oe.title)for(var yn=y.line;yn<=E.line;yn++)es(Ne,yn,"text");oe.atomic&&ya(Ne.doc),Ui(Ne,"markerAdded",Ne,oe)}return oe}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();Ui(this,"clear")}},xa.prototype.find=function(a,y){return this.primary.find(a,y)},vt(xa);function cs(a,y,E,x,ee){x=kt(x),x.shared=!1;var oe=[Wl(a,y,E,x,ee)],me=oe[0],we=x.widgetNode;return Gr(a,function(Ne){we&&(x.widgetNode=we.cloneNode(!0)),oe.push(Wl(Ne,Ft(Ne,y),Ft(Ne,E),x,ee));for(var qe=0;qe<Ne.linked.length;++qe)if(Ne.linked[qe].isParent)return;me=ct(oe)}),new xa(oe,me)}function fl(a){return a.findMarks(Ye(a.first,0),a.clipPos(Ye(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(),oe=a.clipPos(ee.from),me=a.clipPos(ee.to);if(St(oe,me)){var we=Wl(a,oe,me,x.primary,x.primary.type);x.markers.push(we),we.parent=x}}}function Pl(a){for(var y=function(x){var ee=a[x],oe=[ee.primary.doc];Gr(ee.primary.doc,function(Ne){return oe.push(Ne)});for(var me=0;me<ee.markers.length;me++){var we=ee.markers[me];gt(oe,we.doc)==-1&&(we.parent=null,ee.markers.splice(me--,1))}},E=0;E<a.length;E++)y(E)}var Di=0,ni=function(a,y,E,x,ee){if(!(this instanceof ni))return new ni(a,y,E,x,ee);E==null&&(E=0),Aa.call(this,[new Gi([new yo("",null)])]),this.first=E,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=E;var oe=Ye(E,0);this.sel=cr(oe),this.history=new xr(null),this.id=++Di,this.modeOption=y,this.lineSep=x,this.direction=ee=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Qo(this,{from:oe,to:oe,text:a}),Ho(this,cr(oe),pe)};ni.prototype=ne(Aa.prototype,{constructor:ni,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=rn(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:No(function(a){var y=Ye(this.first,0),E=this.first+this.size-1;aa(this,{from:y,to:Ye(E,$t(this,E).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&Gn(this.cm,0,0),Ho(this,cr(y),pe)}),replaceRange:function(a,y,E,x){y=Ft(this,y),E=E?Ft(this,E):y,Vi(this,a,y,E,x)},getRange:function(a,y,E){var x=Mn(this,Ft(this,a),Ft(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(Re(this,a))return $t(this,a)},getLineNumber:function(a){return wt(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=$t(this,a)),en(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Ft(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:No(function(a,y,E){oi(this,Ft(this,typeof a=="number"?Ye(a,y||0):a),null,E)}),setSelection:No(function(a,y,E){oi(this,Ft(this,a),Ft(this,y||a),E)}),extendSelection:No(function(a,y,E){ki(this,Ft(this,a),y&&Ft(this,y),E)}),extendSelections:No(function(a,y){Ia(this,Pn(this,a),y)}),extendSelectionsBy:No(function(a,y){var E=ln(this.sel.ranges,a);Ia(this,Pn(this,E),y)}),setSelections:No(function(a,y,E){if(a.length){for(var x=[],ee=0;ee<a.length;ee++)x[ee]=new Rn(Ft(this,a[ee].anchor),Ft(this,a[ee].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),Ho(this,Or(this.cm,x,y),E)}}),addSelection:No(function(a,y,E){var x=this.sel.ranges.slice(0);x.push(new Rn(Ft(this,a),Ft(this,y||a))),Ho(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=Mn(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=Mn(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:No(function(a,y,E){for(var x=[],ee=this.sel,oe=0;oe<ee.ranges.length;oe++){var me=ee.ranges[oe];x[oe]={from:me.from(),to:me.to(),text:this.splitLines(a[oe]),origin:E}}for(var we=y&&y!="end"&&Yr(this,x,y),Ne=x.length-1;Ne>=0;Ne--)aa(this,x[Ne]);we?ti(this,we):this.cm&&Wn(this.cm)}),undo:No(function(){za(this,"undo")}),redo:No(function(){za(this,"redo")}),undoSelection:No(function(){za(this,"undo",!0)}),redoSelection:No(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:No(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:No(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(!Re(this,a)||(y=a,a=$t(this,a),!a))return null}else if(y=wt(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:No(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(ft(E).test(x[ee]))return!1;x[ee]+=" "+E}return!0})}),removeLineClass:No(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",oe=x[ee];if(oe)if(E==null)x[ee]=null;else{var me=oe.match(ft(E));if(!me)return!1;var we=me.index+me[0].length;x[ee]=oe.slice(0,me.index)+(!me.index||we==oe.length?"":" ")+oe.slice(we)||null}else return!1;return!0})}),addLineWidget:No(function(a,y,E){return ja(this,a,y,E)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,E){return Wl(this,Ft(this,a),Ft(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=Ft(this,a),Wl(this,a,a,E,"bookmark")},findMarksAt:function(a){a=Ft(this,a);var y=[],E=$t(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=Ft(this,a),y=Ft(this,y);var x=[],ee=a.line;return this.iter(a.line,y.line+1,function(oe){var me=oe.markedSpans;if(me)for(var we=0;we<me.length;we++){var Ne=me[we];!(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 oe=ee.text.length+x;if(oe>a)return y=a,!0;a-=oe,++E}),Ft(this,Ye(E,y))},indexFromPos:function(a){a=Ft(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 ni(rn(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 ni(rn(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):Jn(a)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:No(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))})}),ni.prototype.eachLine=ni.prototype.iter;var Ra=0;function gl(a){var y=this;if(Is(y),!(Xt(y,a)||Li(y.display,a))){Yt(a),Oe&&(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,oe=Array(ee),me=0,we=function(){++me==ee&&Eo(y,function(){E=Ft(y.doc,E);var rr={from:E,to:E,text:y.doc.splitLines(oe.filter(function(Zr){return Zr!=null}).join(y.doc.lineSeparator())),origin:"paste"};aa(y.doc,rr),ti(y.doc,cr(Ft(y.doc,E),Ft(y.doc,Hr(rr))))})()},Ne=function(rr,Zr){if(y.options.allowDropFileTypes&>(y.options.allowDropFileTypes,rr.type)==-1){we();return}var so=new FileReader;so.onerror=function(){return we()},so.onload=function(){var Po=so.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Po)){we();return}oe[Zr]=Po,we()},so.readAsText(rr)},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 yn=a.dataTransfer.getData("Text");if(yn){var In;if(y.state.draggingText&&!y.state.draggingText.copy&&(In=y.listSelections()),ji(y.doc,cr(E,E)),In)for(var lr=0;lr<In.length;++lr)Vi(y.doc,"",In[lr].anchor,In[lr].head,"drag");y.replaceSelection(yn,"around","paste"),y.display.input.focus()}}catch(rr){}}}}function Rl(a,y){if(Oe&&(!a.state.draggingText||+new Date-Ra<100)){_e(y);return}if(!(Xt(a,y)||Li(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Ge)){var E=at("img",null,null,"position: fixed; left: 0; top: 0;");E.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",fe&&(E.width=E.height=1,a.display.wrapper.appendChild(E),E._top=E.offsetTop),y.dataTransfer.setDragImage(E,0,0),fe&&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=at("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Je(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 oe=0;oe<E.length;oe++)a(E[oe])})}}var Zs=!1;function ra(){Zs||(Zi(),Zs=!0)}function Zi(){var a;pn(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Bs(Zo)},100))}),pn(window,"blur",function(){return Bs(vs)})}function Zo(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var yi={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"},Yi=0;Yi<10;Yi++)yi[Yi+48]=yi[Yi+96]=String(Yi);for(var Ua=65;Ua<=90;Ua++)yi[Ua]=String.fromCharCode(Ua);for(var yl=1;yl<=12;yl++)yi[yl+111]=yi[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=Ve?hl.macDefault:hl.pcDefault;function ts(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var E,x,ee,oe,me=0;me<y.length-1;me++){var we=y[me];if(/^(cmd|meta|m)$/i.test(we))oe=!0;else if(/^a(lt)?$/i.test(we))E=!0;else if(/^(c|ctrl|control)$/i.test(we))x=!0;else if(/^s(hift)?$/i.test(we))ee=!0;else throw new Error("Unrecognized modifier name: "+we)}return E&&(a="Alt-"+a),x&&(a="Ctrl-"+a),oe&&(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=ln(E.split(" "),ts),oe=0;oe<ee.length;oe++){var me=void 0,we=void 0;oe==ee.length-1?(we=ee.join(" "),me=x):(we=ee.slice(0,oe+1).join(" "),me="...");var Ne=y[we];if(!Ne)y[we]=me;else if(Ne!=me)throw new Error("Inconsistent bindings for "+we)}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 oe=0;oe<y.fallthrough.length;oe++){var me=Fs(a,y.fallthrough[oe],E,x);if(me)return me}}}function tu(a){var y=typeof a=="string"?a:yi[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(fe&&a.keyCode==34&&a.char)return!1;var E=yi[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 oe=y(E[ee]);x.length&&St(oe.from,ct(x).to)<=0;){var me=x.pop();if(St(me.from,oe.from)<0){oe.from=me.from;break}}x.push(oe)}Fo(a,function(){for(var we=x.length-1;we>=0;we--)Vi(a.doc,"",x[we].from,x[we].to,"+delete");Wn(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 Ye(y.line,x,E<0?"after":"before")}function ru(a,y,E,x,ee){if(a){y.doc.direction=="rtl"&&(ee=-ee);var oe=Le(E,y.doc.direction);if(oe){var me=ee<0?ct(oe):oe[0],we=ee<0==(me.level==1),Ne=we?"after":"before",qe;if(me.level>0||y.doc.direction=="rtl"){var yn=Al(y,E);qe=ee<0?E.text.length-1:0;var In=xl(y,yn,qe).top;qe=Qe(function(lr){return xl(y,yn,lr).top==In},ee<0==(me.level==1)?me.from:me.to-1,qe),Ne=="before"&&(qe=nu(E,qe,1))}else qe=ee<0?me.to:me.from;return new Ye(x,qe,Ne)}}return new Ye(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 oe=Pt(ee,E.ch,E.sticky),me=ee[oe];if(a.doc.direction=="ltr"&&me.level%2==0&&(x>0?me.to>E.ch:me.from<E.ch))return Qs(y,E,x);var we=function(jo,li){return nu(y,jo instanceof Ye?jo.ch:jo,li)},Ne,qe=function(jo){return a.options.lineWrapping?(Ne=Ne||Al(a,y),wa(a,y,Ne,jo)):{begin:0,end:y.text.length}},yn=qe(E.sticky=="before"?we(E,-1):E.ch);if(a.doc.direction=="rtl"||me.level==1){var In=me.level==1==x<0,lr=we(E,In?1:-1);if(lr!=null&&(In?lr<=me.to&&lr<=yn.end:lr>=me.from&&lr>=yn.begin)){var rr=In?"before":"after";return new Ye(E.line,lr,rr)}}var Zr=function(jo,li,Vo){for(var fi=function(Va,Ol){return Ol?new Ye(E.line,we(Va,1),"before"):new Ye(E.line,Va,"after")};jo>=0&&jo<ee.length;jo+=li){var Ni=ee[jo],Pi=li>0==(Ni.level!=1),ta=Pi?Vo.begin:we(Vo.end,-1);if(Ni.from<=ta&&ta<Ni.to||(ta=Pi?Ni.from:we(Ni.to,-1),Vo.begin<=ta&&ta<Vo.end))return fi(ta,Pi)}},so=Zr(oe+x,x,yn);if(so)return so;var Po=x>0?yn.end:we(yn.begin,-1);return Po!=null&&!(x>0&&Po==y.text.length)&&(so=Zr(x>0?0:ee.length-1,x,qe(Po)),so)?so:null}var gs={selectAll:gi,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=$t(a.doc,y.head.line).text.length;return y.head.ch==E&&y.head.line<a.lastLine()?{from:y.head,to:Ye(y.head.line+1,0)}:{from:y.head,to:Ye(y.head.line,E)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Es(a,function(y){return{from:Ye(y.from().line,0),to:Ft(a.doc,Ye(y.to().line+1,0))}})},delLineLeft:function(a){return Es(a,function(y){return{from:Ye(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(Ye(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Ye(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return ou(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return iu(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")},Ke)},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")},Ke)},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/)?iu(a,y.head):x},Ke)},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 oe=E[ee].from(),me=Ae(a.getLine(oe.line),oe.ch,x);y.push(jt(x-me%x))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Fo(a,function(){for(var y=a.listSelections(),E=[],x=0;x<y.length;x++)if(y[x].empty()){var ee=y[x].head,oe=$t(a.doc,ee.line).text;if(oe){if(ee.ch==oe.length&&(ee=new Ye(ee.line,ee.ch-1)),ee.ch>0)ee=new Ye(ee.line,ee.ch+1),a.replaceRange(oe.charAt(ee.ch-1)+oe.charAt(ee.ch-2),Ye(ee.line,ee.ch-2),ee,"+transpose");else if(ee.line>a.doc.first){var me=$t(a.doc,ee.line-1).text;me&&(ee=new Ye(ee.line,1),a.replaceRange(oe.charAt(0)+a.doc.lineSeparator()+me.charAt(me.length-1),Ye(ee.line-1,me.length-1),ee,"+transpose"))}}E.push(new Rn(ee,ee))}a.setSelections(E)})},newlineAndIndent:function(a){return Fo(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);Wn(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function ou(a,y){var E=$t(a.doc,y),x=en(E);return x!=E&&(y=wt(x)),ru(!0,a,x,y,1)}function Du(a,y){var E=$t(a.doc,y),x=Fn(E);return x!=E&&(y=wt(x)),ru(!0,a,E,y,-1)}function iu(a,y){var E=ou(a,y.line),x=$t(a.doc,E.line),ee=Le(x,a.doc.direction);if(!ee||ee[0].level==0){var oe=Math.max(E.ch,x.text.search(/\S/)),me=y.line==E.line&&y.ch<=oe&&y.ch;return Ye(E.line,me?0:oe,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)!=Ht}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"&&Ui(a,"keyHandled",a,y,E),(ee=="handled"||ee=="multi")&&(Yt(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=Ee(),!Xt(y,a))){Oe&&be<11&&a.keyCode==27&&(a.returnValue=!1);var E=a.keyCode;y.display.shift=E==16||a.shiftKey;var x=js(y,a);fe&&(Vs=x?E:null,!x&&E==88&&!Jt&&(Ve?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!Ve&&!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;ue(y,"CodeMirror-crosshair");function E(x){(x.keyCode==18||!x.altKey)&&(mt(y,"CodeMirror-crosshair"),Cn(document,"keyup",E),Cn(document,"mouseover",E))}pn(document,"keyup",E),pn(document,"mouseover",E)}function uu(a){a.keyCode==16&&(this.doc.sel.shift=!1),Xt(this,a)}function cu(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Li(y.display,a)||Xt(y,a)||a.ctrlKey&&!a.altKey||Ve&&a.metaKey)){var E=a.keyCode,x=a.charCode;if(fe&&E==Vs){Vs=null,Yt(a);return}if(!(fe&&(!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&&St(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(!(Xt(y,a)||E.activeTouch&&E.input.supportsTouch())){if(E.input.ensurePolled(),E.shift=a.shiftKey,Li(E,a)){Fe||(E.scroller.draggable=!1,setTimeout(function(){return E.scroller.draggable=!0},100));return}if(!ds(y,a)){var x=ql(y,a),ee=nn(a),oe=x?du(x,ee):"single";window.focus(),ee==1&&y.state.selectingText&&y.state.selectingText(a),!(x&&Fu(y,ee,x,oe,a))&&(ee==1?x?ua(y,x,oe,a):Vt(a)==E.scroller&&Yt(a):ee==2?(x&&ki(y.doc,x),setTimeout(function(){return E.input.focus()},20)):ee==3&&(Me?y.display.input.onContextMenu(a):Rs(y)))}}}function Fu(a,y,E,x,ee){var oe="Click";return x=="double"?oe="Double"+oe:x=="triple"&&(oe="Triple"+oe),oe=(y==1?"Left":y==2?"Middle":"Right")+oe,zs(a,Hs(oe,ee),ee,function(me){if(typeof me=="string"&&(me=gs[me]),!me)return!1;var we=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),we=me(a,E)!=Ht}finally{a.state.suppressEdits=!1}return we})}function oa(a,y,E){var x=a.getOption("configureMouse"),ee=x?x(a,y,E):{};if(ee.unit==null){var oe=rt?E.shiftKey&&E.metaKey:E.altKey;ee.unit=oe?"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=Ve?E.metaKey:E.ctrlKey),ee.moveOnDrag==null&&(ee.moveOnDrag=!(Ve?E.altKey:E.ctrlKey)),ee}function ua(a,y,E,x){Oe?setTimeout(We(pu,a),0):a.curOp.focus=Ee();var ee=oa(a,E,x),oe=a.doc.sel,me;a.options.dragDrop&&dn&&!a.isReadOnly()&&E=="single"&&(me=oe.contains(y))>-1&&(St((me=oe.ranges[me]).from(),y)<0||y.xRel>0)&&(St(me.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,oe=!1,me=Eo(a,function(qe){Fe&&(ee.scroller.draggable=!1),a.state.draggingText=!1,Cn(ee.wrapper.ownerDocument,"mouseup",me),Cn(ee.wrapper.ownerDocument,"mousemove",we),Cn(ee.scroller,"dragstart",Ne),Cn(ee.scroller,"drop",me),oe||(Yt(qe),x.addNew||ki(a.doc,E,null,null,x.extend),Fe&&!Ge||Oe&&be==9?setTimeout(function(){ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),ee.input.focus()},20):ee.input.focus())}),we=function(qe){oe=oe||Math.abs(y.clientX-qe.clientX)+Math.abs(y.clientY-qe.clientY)>=10},Ne=function(){return oe=!0};Fe&&(ee.scroller.draggable=!0),a.state.draggingText=me,me.copy=!x.moveOnDrag,ee.scroller.dragDrop&&ee.scroller.dragDrop(),pn(ee.wrapper.ownerDocument,"mouseup",me),pn(ee.wrapper.ownerDocument,"mousemove",we),pn(ee.scroller,"dragstart",Ne),pn(ee.scroller,"drop",me),Rs(a),setTimeout(function(){return ee.input.focus()},20)}function jl(a,y,E){if(E=="char")return new Rn(y,y);if(E=="word")return a.findWordAt(y);if(E=="line")return new Rn(Ye(y.line,0),Ft(a.doc,Ye(y.line+1,0)));var x=E(a,y);return new Rn(x.from,x.to)}function Fl(a,y,E,x){var ee=a.display,oe=a.doc;Yt(y);var me,we,Ne=oe.sel,qe=Ne.ranges;if(x.addNew&&!x.extend?(we=oe.sel.contains(E),we>-1?me=qe[we]:me=new Rn(E,E)):(me=oe.sel.primary(),we=oe.sel.primIndex),x.unit=="rectangle")x.addNew||(me=new Rn(E,E)),E=ql(a,y,!0,!0),we=-1;else{var yn=jl(a,E,x.unit);x.extend?me=Ti(me,yn.anchor,yn.head,x.extend):me=yn}x.addNew?we==-1?(we=qe.length,Ho(oe,Or(a,qe.concat([me]),we),{scroll:!1,origin:"*mouse"})):qe.length>1&&qe[we].empty()&&x.unit=="char"&&!x.extend?(Ho(oe,Or(a,qe.slice(0,we).concat(qe.slice(we+1)),0),{scroll:!1,origin:"*mouse"}),Ne=oe.sel):Na(oe,we,me,Te):(we=0,Ho(oe,new zn([me],0),Te),Ne=oe.sel);var In=E;function lr(Vo){if(St(In,Vo)!=0)if(In=Vo,x.unit=="rectangle"){for(var fi=[],Ni=a.options.tabSize,Pi=Ae($t(oe,E.line).text,E.ch,Ni),ta=Ae($t(oe,Vo.line).text,Vo.ch,Ni),Va=Math.min(Pi,ta),Ol=Math.max(Pi,ta),ll=Math.min(E.line,Vo.line),$l=Math.min(a.lastLine(),Math.max(E.line,Vo.line));ll<=$l;ll++){var Vl=$t(oe,ll).text,bl=tn(Vl,Va,Ni);Va==Ol?fi.push(new Rn(Ye(ll,bl),Ye(ll,bl))):Vl.length>bl&&fi.push(new Rn(Ye(ll,bl),Ye(ll,tn(Vl,Ol,Ni))))}fi.length||fi.push(new Rn(E,E)),Ho(oe,Or(a,Ne.ranges.slice(0,we).concat(fi),we),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Vo)}else{var Kl=me,Tl=jl(a,Vo,x.unit),Sl=Kl.anchor,Cl;St(Tl.anchor,Sl)>0?(Cl=Tl.head,Sl=bt(Kl.from(),Tl.anchor)):(Cl=Tl.anchor,Sl=ar(Kl.to(),Tl.head));var sl=Ne.ranges.slice(0);sl[we]=Ms(a,new Rn(Ft(oe,Sl),Cl)),Ho(oe,Or(a,sl,we),Te)}}var rr=ee.wrapper.getBoundingClientRect(),Zr=0;function so(Vo){var fi=++Zr,Ni=ql(a,Vo,!0,x.unit=="rectangle");if(Ni)if(St(Ni,In)!=0){a.curOp.focus=Ee(),lr(Ni);var Pi=ie(ee,oe);(Ni.line>=Pi.to||Ni.line<Pi.from)&&setTimeout(Eo(a,function(){Zr==fi&&so(Vo)}),150)}else{var ta=Vo.clientY<rr.top?-20:Vo.clientY>rr.bottom?20:0;ta&&setTimeout(Eo(a,function(){Zr==fi&&(ee.scroller.scrollTop+=ta,so(Vo))}),50)}}function Po(Vo){a.state.selectingText=!1,Zr=1/0,Vo&&(Yt(Vo),ee.input.focus()),Cn(ee.wrapper.ownerDocument,"mousemove",jo),Cn(ee.wrapper.ownerDocument,"mouseup",li),oe.history.lastSelOrigin=null}var jo=Eo(a,function(Vo){Vo.buttons===0||!nn(Vo)?Po(Vo):so(Vo)}),li=Eo(a,Po);a.state.selectingText=li,pn(ee.wrapper.ownerDocument,"mousemove",jo),pn(ee.wrapper.ownerDocument,"mouseup",li)}function Ms(a,y){var E=y.anchor,x=y.head,ee=$t(a.doc,E.line);if(St(E,x)==0&&E.sticky==x.sticky)return y;var oe=Le(ee);if(!oe)return y;var me=Pt(oe,E.ch,E.sticky),we=oe[me];if(we.from!=E.ch&&we.to!=E.ch)return y;var Ne=me+(we.from==E.ch==(we.level!=1)?0:1);if(Ne==0||Ne==oe.length)return y;var qe;if(x.line!=E.line)qe=(x.line-E.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var yn=Pt(oe,x.ch,x.sticky),In=yn-me||(x.ch-E.ch)*(we.level==1?-1:1);yn==Ne-1||yn==Ne?qe=In<0:qe=In>0}var lr=oe[Ne+(qe?-1:0)],rr=qe==(lr.level==1),Zr=rr?lr.from:lr.to,so=rr?"after":"before";return E.ch==Zr&&E.sticky==so?y:new Rn(new Ye(E.line,Zr,so),x)}function ys(a,y,E,x){var ee,oe;if(y.touches)ee=y.touches[0].clientX,oe=y.touches[0].clientY;else try{ee=y.clientX,oe=y.clientY}catch(lr){return!1}if(ee>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&Yt(y);var me=a.display,we=me.lineDiv.getBoundingClientRect();if(oe>we.bottom||!mn(a,E))return At(y);oe-=we.top-me.viewOffset;for(var Ne=0;Ne<a.display.gutterSpecs.length;++Ne){var qe=me.gutters.childNodes[Ne];if(qe&&qe.getBoundingClientRect().right>=ee){var yn=zt(a.doc,oe),In=a.display.gutterSpecs[Ne];return cn(a,E,a,yn,In.className,y),At(y)}}}function ds(a,y){return ys(a,y,"gutterClick",!0)}function Ns(a,y){Li(a.display,y)||hu(a,y)||Xt(a,y,"contextmenu")||Me||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,oe,me){a.defaults[x]=ee,oe&&(y[x]=me?function(we,Ne,qe){qe!=$s&&oe(we,Ne,qe)}:oe)}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,ao(x)},!0),E("indentUnit",2,ao,!0),E("indentWithTabs",!1),E("smartIndent",!0),E("tabSize",4,function(x){po(x),Gl(x),vl(x)},!0),E("lineSeparator",null,function(x,ee){if(x.doc.lineSep=ee,!!ee){var oe=[],me=x.doc.first;x.doc.iter(function(Ne){for(var qe=0;;){var yn=Ne.text.indexOf(ee,qe);if(yn==-1)break;qe=yn+ee.length,oe.push(Ye(me,yn))}me++});for(var we=oe.length-1;we>=0;we--)Vi(x.doc,ee,oe[we],Ye(oe[we].line,oe[we].ch+ee.length))}}),E("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(x,ee,oe){x.state.specialChars=new RegExp(ee.source+(ee.test(" ")?"":"| "),"g"),oe!=$s&&x.refresh()}),E("specialCharPlaceholder",ri,function(x){return x.refresh()},!0),E("electricChars",!0),E("inputStyle",je?"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,oe){var me=Xs(ee),we=oe!=$s&&Xs(oe);we&&we.detach&&we.detach(x,me),me.attach&&me.attach(x,we||null)}),E("extraKeys",null),E("configureMouse",null),E("lineWrapping",!1,qu,!0),E("gutters",[],function(x,ee){x.display.gutterSpecs=Qt(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=Qt(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,po,!0),E("addModeClass",!1,po,!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,po,!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,oe=y?pn:Cn;oe(a.display.scroller,"dragstart",ee.start),oe(a.display.scroller,"dragenter",ee.enter),oe(a.display.scroller,"dragover",ee.over),oe(a.display.scroller,"dragleave",ee.leave),oe(a.display.scroller,"drop",ee.drop)}}function qu(a){a.options.lineWrapping?(ue(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(mt(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?kt(y):{},kt(Zu,y,!1);var x=y.value;typeof x=="string"?x=new ni(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),oe=this.display=new bn(a,x,ee,y);oe.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&&!je&&oe.input.focus(),Oe&&be<11&&setTimeout(function(){return E.display.input.reset(!0)},20),ec(this),ra(),ro(this),this.curOp.forceUpdate=!0,jr(this,x),y.autofocus&&!je||this.hasFocus()?setTimeout(function(){E.hasFocus()&&!E.state.focused&&us(E)},20):vs(this);for(var me in bu)bu.hasOwnProperty(me)&&bu[me](this,y[me],$s);It(this),y.finishInit&&y.finishInit(this);for(var we=0;we<Ou.length;++we)Ou[we](this);uo(this),Fe&&y.lineWrapping&&getComputedStyle(oe.lineDiv).textRendering=="optimizelegibility"&&(oe.lineDiv.style.textRendering="auto")}qa.defaults=Zu,qa.optionHandlers=bu;function ec(a){var y=a.display;pn(y.scroller,"mousedown",Eo(a,fu)),Oe&&be<11?pn(y.scroller,"dblclick",Eo(a,function(Ne){if(!Xt(a,Ne)){var qe=ql(a,Ne);if(!(!qe||ds(a,Ne)||Li(a.display,Ne))){Yt(Ne);var yn=a.findWordAt(qe);ki(a.doc,yn.anchor,yn.head)}}})):pn(y.scroller,"dblclick",function(Ne){return Xt(a,Ne)||Yt(Ne)}),pn(y.scroller,"contextmenu",function(Ne){return Ns(a,Ne)}),pn(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 oe(Ne){if(Ne.touches.length!=1)return!1;var qe=Ne.touches[0];return qe.radiusX<=1&&qe.radiusY<=1}function me(Ne,qe){if(qe.left==null)return!0;var yn=qe.left-Ne.left,In=qe.top-Ne.top;return yn*yn+In*In>20*20}pn(y.scroller,"touchstart",function(Ne){if(!Xt(a,Ne)&&!oe(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)}}),pn(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),pn(y.scroller,"touchend",function(Ne){var qe=y.activeTouch;if(qe&&!Li(y,Ne)&&qe.left!=null&&!qe.moved&&new Date-qe.start<300){var yn=a.coordsChar(y.activeTouch,"page"),In;!qe.prev||me(qe,qe.prev)?In=new Rn(yn,yn):!qe.prev.prev||me(qe,qe.prev.prev)?In=a.findWordAt(yn):In=new Rn(Ye(yn.line,0),Ft(a.doc,Ye(yn.line+1,0))),a.setSelection(In.anchor,In.head),a.focus(),Yt(Ne)}ee()}),pn(y.scroller,"touchcancel",ee),pn(y.scroller,"scroll",function(){y.scroller.clientHeight&&(Er(a,y.scroller.scrollTop),Ir(a,y.scroller.scrollLeft,!0),cn(a,"scroll",a))}),pn(y.scroller,"mousewheel",function(Ne){return _n(a,Ne)}),pn(y.scroller,"DOMMouseScroll",function(Ne){return _n(a,Ne)}),pn(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(Ne){Xt(a,Ne)||_e(Ne)},over:function(Ne){Xt(a,Ne)||(Jl(a,Ne),_e(Ne))},start:function(Ne){return Rl(a,Ne)},drop:Eo(a,gl),leave:function(Ne){Xt(a,Ne)||Is(a)}};var we=y.input.getField();pn(we,"keyup",function(Ne){return uu.call(a,Ne)}),pn(we,"keydown",Eo(a,su)),pn(we,"keypress",Eo(a,cu)),pn(we,"focus",function(Ne){return us(a,Ne)}),pn(we,"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,oe;E==null&&(E="add"),E=="smart"&&(ee.mode.indent?oe=Ar(a,y).state:E="prev");var me=a.options.tabSize,we=$t(ee,y),Ne=Ae(we.text,null,me);we.stateAfter&&(we.stateAfter=null);var qe=we.text.match(/^\s*/)[0],yn;if(!x&&!/\S/.test(we.text))yn=0,E="not";else if(E=="smart"&&(yn=ee.mode.indent(oe,we.text.slice(qe.length),we.text),yn==Ht||yn>150)){if(!x)return;E="prev"}E=="prev"?y>ee.first?yn=Ae($t(ee,y-1).text,null,me):yn=0:E=="add"?yn=Ne+a.options.indentUnit:E=="subtract"?yn=Ne-a.options.indentUnit:typeof E=="number"&&(yn=Ne+E),yn=Math.max(0,yn);var In="",lr=0;if(a.options.indentWithTabs)for(var rr=Math.floor(yn/me);rr;--rr)lr+=me,In+=" ";if(lr<yn&&(In+=jt(yn-lr)),In!=qe)return Vi(ee,In,Ye(y,0),Ye(y,qe.length),"+input"),we.stateAfter=null,!0;for(var Zr=0;Zr<ee.sel.ranges.length;Zr++){var so=ee.sel.ranges[Zr];if(so.head.line==y&&so.head.ch<qe.length){var Po=Ye(y,qe.length);Na(ee,Zr,new Rn(Po,Po));break}}}var fs=null;function Cu(a){fs=a}function Mu(a,y,E,x,ee){var oe=a.doc;a.display.shift=!1,x||(x=oe.sel);var me=+new Date-200,we=ee=="paste"||a.state.pasteIncoming>me,Ne=Jn(y),qe=null;if(we&&x.ranges.length>1)if(fs&&fs.text.join(`
|
|
|
`)==y){if(x.ranges.length%fs.text.length==0){qe=[];for(var yn=0;yn<fs.text.length;yn++)qe.push(oe.splitLines(fs.text[yn]))}}else Ne.length==x.ranges.length&&a.options.pasteLinesPerSelection&&(qe=ln(Ne,function(jo){return[jo]}));for(var In=a.curOp.updateInput,lr=x.ranges.length-1;lr>=0;lr--){var rr=x.ranges[lr],Zr=rr.from(),so=rr.to();rr.empty()&&(E&&E>0?Zr=Ye(Zr.line,Zr.ch-E):a.state.overwrite&&!we?so=Ye(so.line,Math.min($t(oe,so.line).text.length,so.ch+ct(Ne).length)):we&&fs&&fs.lineWise&&fs.text.join(`
|
|
|
`)==Ne.join(`
|
|
|
`)&&(Zr=so=Ye(Zr.line,0)));var Po={from:Zr,to:so,text:qe?qe[lr%qe.length]:Ne,origin:ee||(we?"paste":a.state.cutIncoming>me?"cut":"+input")};aa(a.doc,Po),Ui(a,"inputRead",a,Po)}y&&!we&&Wu(a,y),Wn(a),a.curOp.updateInput<2&&(a.curOp.updateInput=In),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&&Fo(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 oe=a.getModeAt(ee.head),me=!1;if(oe.electricChars){for(var we=0;we<oe.electricChars.length;we++)if(y.indexOf(oe.electricChars.charAt(we))>-1){me=mu(a,ee.head.line,"smart");break}}else oe.electricInput&&oe.electricInput.test($t(a.doc,ee.head.line).text.slice(0,ee.head.ch))&&(me=mu(a,ee.head.line,"smart"));me&&Ui(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,oe={anchor:Ye(ee,0),head:Ye(ee+1,0)};E.push(oe),y.push(a.getRange(oe.anchor,oe.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=at("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=at("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Fe?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 oe=this.options,me=oe[x];oe[x]==ee&&x!="mode"||(oe[x]=ee,y.hasOwnProperty(x)&&Eo(this,y[x])(this,ee,me),cn(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,oe=0;oe<ee.length;++oe)if(ee[oe]==x||ee[oe].name==x)return ee.splice(oe,1),!0},addOverlay:Ro(function(x,ee){var oe=x.token?x:a.getMode(this.options,x);if(oe.startState)throw new Error("Overlays may not be stateful.");Et(this.state.overlays,{mode:oe,modeSpec:x,opaque:ee&&ee.opaque,priority:ee&&ee.priority||0},function(me){return me.priority}),this.state.modeGen++,vl(this)}),removeOverlay:Ro(function(x){for(var ee=this.state.overlays,oe=0;oe<ee.length;++oe){var me=ee[oe].modeSpec;if(me==x||typeof x=="string"&&me.name==x){ee.splice(oe,1),this.state.modeGen++,vl(this);return}}}),indentLine:Ro(function(x,ee,oe){typeof ee!="string"&&typeof ee!="number"&&(ee==null?ee=this.options.smartIndent?"smart":"prev":ee=ee?"add":"subtract"),Re(this.doc,x)&&mu(this,x,ee,oe)}),indentSelection:Ro(function(x){for(var ee=this.doc.sel.ranges,oe=-1,me=0;me<ee.length;me++){var we=ee[me];if(we.empty())we.head.line>oe&&(mu(this,we.head.line,x,!0),oe=we.head.line,me==this.doc.sel.primIndex&&Wn(this));else{var Ne=we.from(),qe=we.to(),yn=Math.max(oe,Ne.line);oe=Math.min(this.lastLine(),qe.line-(qe.ch?0:1))+1;for(var In=yn;In<oe;++In)mu(this,In,x);var lr=this.doc.sel.ranges;Ne.ch==0&&ee.length==lr.length&&lr[me].from().ch>0&&Na(this.doc,me,new Rn(Ne,lr[me].to()),pe)}}}),getTokenAt:function(x,ee){return kr(this,x,ee)},getLineTokens:function(x,ee){return kr(this,Ye(x),ee,!0)},getTokenTypeAt:function(x){x=Ft(this.doc,x);var ee=pr(this,$t(this.doc,x.line)),oe=0,me=(ee.length-1)/2,we=x.ch,Ne;if(we==0)Ne=ee[2];else for(;;){var qe=oe+me>>1;if((qe?ee[qe*2-1]:0)>=we)me=qe;else if(ee[qe*2+1]<we)oe=qe+1;else{Ne=ee[qe*2+2];break}}var yn=Ne?Ne.indexOf("overlay "):-1;return yn<0?Ne:yn==0?null:Ne.slice(0,yn-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 oe=[];if(!E.hasOwnProperty(ee))return oe;var me=E[ee],we=this.getModeAt(x);if(typeof we[ee]=="string")me[we[ee]]&&oe.push(me[we[ee]]);else if(we[ee])for(var Ne=0;Ne<we[ee].length;Ne++){var qe=me[we[ee][Ne]];qe&&oe.push(qe)}else we.helperType&&me[we.helperType]?oe.push(me[we.helperType]):me[we.name]&&oe.push(me[we.name]);for(var yn=0;yn<me._global.length;yn++){var In=me._global[yn];In.pred(we,this)&>(oe,In.val)==-1&&oe.push(In.val)}return oe},getStateAfter:function(x,ee){var oe=this.doc;return x=xt(oe,x==null?oe.first+oe.size-1:x),Ar(this,x+1,ee).state},cursorCoords:function(x,ee){var oe,me=this.doc.sel.primary();return x==null?oe=me.head:typeof x=="object"?oe=Ft(this.doc,x):oe=x?me.from():me.to(),fa(this,oe,ee||"page")},charCoords:function(x,ee){return Qa(this,Ft(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,zt(this.doc,x+this.display.viewOffset)},heightAtLine:function(x,ee,oe){var me=!1,we;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,me=!0),we=$t(this.doc,x)}else we=x;return is(this,we,{top:0,left:0},ee||"page",oe||me).top+(me?this.doc.height-br(we):0)},defaultTextHeight:function(){return rl(this.display)},defaultCharWidth:function(){return ol(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,ee,oe,me,we){var Ne=this.display;x=fa(this,Ft(this.doc,x));var qe=x.bottom,yn=x.left;if(ee.style.position="absolute",ee.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ee),Ne.sizer.appendChild(ee),me=="over")qe=x.top;else if(me=="above"||me=="near"){var In=Math.max(Ne.wrapper.clientHeight,this.doc.height),lr=Math.max(Ne.sizer.clientWidth,Ne.lineSpace.clientWidth);(me=="above"||x.bottom+ee.offsetHeight>In)&&x.top>ee.offsetHeight?qe=x.top-ee.offsetHeight:x.bottom+ee.offsetHeight<=In&&(qe=x.bottom),yn+ee.offsetWidth>lr&&(yn=lr-ee.offsetWidth)}ee.style.top=qe+"px",ee.style.left=ee.style.right="",we=="right"?(yn=Ne.sizer.clientWidth-ee.offsetWidth,ee.style.right="0px"):(we=="left"?yn=0:we=="middle"&&(yn=(Ne.sizer.clientWidth-ee.offsetWidth)/2),ee.style.left=yn+"px"),oe&&Bt(this,{left:yn,top:qe,right:yn+ee.offsetWidth,bottom:qe+ee.offsetHeight})},triggerOnKeyDown:Ro(su),triggerOnKeyPress:Ro(cu),triggerOnKeyUp:uu,triggerOnMouseDown:Ro(fu),execCommand:function(x){if(gs.hasOwnProperty(x))return gs[x].call(null,this)},triggerElectric:Ro(function(x){Wu(this,x)}),findPosH:function(x,ee,oe,me){var we=1;ee<0&&(we=-1,ee=-ee);for(var Ne=Ft(this.doc,x),qe=0;qe<ee&&(Ne=Nu(this.doc,Ne,we,oe,me),!Ne.hitSide);++qe);return Ne},moveH:Ro(function(x,ee){var oe=this;this.extendSelectionsBy(function(me){return oe.display.shift||oe.doc.extend||me.empty()?Nu(oe.doc,me.head,x,ee,oe.options.rtlMoveVisually):x<0?me.from():me.to()},Ke)}),deleteH:Ro(function(x,ee){var oe=this.doc.sel,me=this.doc;oe.somethingSelected()?me.replaceSelection("",null,"+delete"):Es(this,function(we){var Ne=Nu(me,we.head,x,ee,!1);return x<0?{from:Ne,to:we.head}:{from:we.head,to:Ne}})}),findPosV:function(x,ee,oe,me){var we=1,Ne=me;ee<0&&(we=-1,ee=-ee);for(var qe=Ft(this.doc,x),yn=0;yn<ee;++yn){var In=fa(this,qe,"div");if(Ne==null?Ne=In.left:In.left=Ne,qe=Ku(this,In,we,oe),qe.hitSide)break}return qe},moveV:Ro(function(x,ee){var oe=this,me=this.doc,we=[],Ne=!this.display.shift&&!me.extend&&me.sel.somethingSelected();if(me.extendSelectionsBy(function(yn){if(Ne)return x<0?yn.from():yn.to();var In=fa(oe,yn.head,"div");yn.goalColumn!=null&&(In.left=yn.goalColumn),we.push(In.left);var lr=Ku(oe,In,x,ee);return ee=="page"&&yn==me.sel.primary()&&Dn(oe,Qa(oe,lr,"div").top-In.top),lr},Ke),we.length)for(var qe=0;qe<me.sel.ranges.length;qe++)me.sel.ranges[qe].goalColumn=we[qe]}),findWordAt:function(x){var ee=this.doc,oe=$t(ee,x.line).text,me=x.ch,we=x.ch;if(oe){var Ne=this.getHelper(x,"wordChars");(x.sticky=="before"||we==oe.length)&&me?--me:++we;for(var qe=oe.charAt(me),yn=he(qe,Ne)?function(In){return he(In,Ne)}:/\s/.test(qe)?function(In){return/\s/.test(In)}:function(In){return!/\s/.test(In)&&!he(In)};me>0&&yn(oe.charAt(me-1));)--me;for(;we<oe.length&&yn(oe.charAt(we));)++we}return new Rn(Ye(x.line,me),Ye(x.line,we))},toggleOverwrite:function(x){x!=null&&x==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ue(this.display.cursorDiv,"CodeMirror-overwrite"):mt(this.display.cursorDiv,"CodeMirror-overwrite"),cn(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Ee()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ro(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:Ii(this),clientWidth:Ya(this)}},scrollIntoView:Ro(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:Ye(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):Xn(this,x.from,x.to,x.margin)}),setSize:Ro(function(x,ee){var oe=this,me=function(Ne){return typeof Ne=="number"||/^\d+$/.test(String(Ne))?Ne+"px":Ne};x!=null&&(this.display.wrapper.style.width=me(x)),ee!=null&&(this.display.wrapper.style.height=me(ee)),this.options.lineWrapping&&Dl(this);var we=this.display.viewFrom;this.doc.iter(we,this.display.viewTo,function(Ne){if(Ne.widgets){for(var qe=0;qe<Ne.widgets.length;qe++)if(Ne.widgets[qe].noHScroll){es(oe,we,"widget");break}}++we}),this.curOp.forceUpdate=!0,cn(this,"refresh",this)}),operation:function(x){return Fo(this,x)},startOperation:function(){return ro(this)},endOperation:function(){return uo(this)},refresh:Ro(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),cn(this,"refresh",this)}),swapDoc:Ro(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,Ui(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}},vt(a),a.registerHelper=function(x,ee,oe){E.hasOwnProperty(x)||(E[x]=a[x]={_global:[]}),E[x][ee]=oe},a.registerGlobalHelper=function(x,ee,oe,me){a.registerHelper(x,ee,me),E[x]._global.push({pred:oe,val:me})}}function Nu(a,y,E,x,ee){var oe=y,me=E,we=$t(a,y.line),Ne=ee&&a.direction=="rtl"?-E:E;function qe(){var li=y.line+Ne;return li<a.first||li>=a.first+a.size?!1:(y=new Ye(li,y.ch,y.sticky),we=$t(a,li))}function yn(li){var Vo;if(x=="codepoint"){var fi=we.text.charCodeAt(y.ch+(x>0?0:-1));isNaN(fi)?Vo=null:Vo=new Ye(y.line,Math.max(0,Math.min(we.text.length,y.ch+E*(fi>=55296&&fi<56320?2:1))),-E)}else ee?Vo=gu(a.cm,we,y,E):Vo=Qs(we,y,E);if(Vo==null)if(!li&&qe())y=ru(ee,a.cm,we,y.line,Ne);else return!1;else y=Vo;return!0}if(x=="char"||x=="codepoint")yn();else if(x=="column")yn(!0);else if(x=="word"||x=="group")for(var In=null,lr=x=="group",rr=a.cm&&a.cm.getHelper(y,"wordChars"),Zr=!0;!(E<0&&!yn(!Zr));Zr=!1){var so=we.text.charAt(y.ch)||`
|
|
|
`,Po=he(so,rr)?"w":lr&&so==`
|
|
|
`?"n":!lr||/\s/.test(so)?null:"p";if(lr&&!Zr&&!Po&&(Po="s"),In&&In!=Po){E<0&&(E=1,yn(),y.sticky="after");break}if(Po&&(In=Po),E>0&&!yn(!Zr))break}var jo=Sa(a,y,oe,me,!0);return _t(oe,jo)&&(jo.hitSide=!0),jo}function Ku(a,y,E,x){var ee=a.doc,oe=y.left,me;if(x=="page"){var we=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ne=Math.max(we-.5*rl(a.display),3);me=(E>0?y.bottom:y.top)+E*Ne}else x=="line"&&(me=E>0?y.bottom+3:y.top-3);for(var qe;qe=sa(a,oe,me),!!qe.outside;){if(E<0?me<=0:me>=ee.height){qe.hitSide=!0;break}me+=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 oe(we){for(var Ne=we.target;Ne;Ne=Ne.parentNode){if(Ne==ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ne.className))break}return!1}pn(ee,"paste",function(we){!oe(we)||Xt(x,we)||Hu(we,x)||be<=11&&setTimeout(Eo(x,function(){return y.updateFromDOM()}),20)}),pn(ee,"compositionstart",function(we){y.composing={data:we.data,done:!1}}),pn(ee,"compositionupdate",function(we){y.composing||(y.composing={data:we.data,done:!1})}),pn(ee,"compositionend",function(we){y.composing&&(we.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),pn(ee,"touchstart",function(){return E.forceCompositionEnd()}),pn(ee,"input",function(){y.composing||y.readFromDOMSoon()});function me(we){if(!(!oe(we)||Xt(x,we))){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()}),we.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var Ne=zu(x);Cu({lineWise:!0,text:Ne.text}),we.type=="cut"&&x.operation(function(){x.setSelections(Ne.ranges,0,pe),x.replaceSelection("",null,"cut")})}else return;if(we.clipboardData){we.clipboardData.clearData();var qe=fs.text.join(`
|
|
|
`);if(we.clipboardData.setData("Text",qe),we.clipboardData.getData("Text")==qe){we.preventDefault();return}}var yn=Vu(),In=yn.firstChild;x.display.lineSpace.insertBefore(yn,x.display.lineSpace.firstChild),In.value=fs.text.join(`
|
|
|
`);var lr=document.activeElement;He(In),setTimeout(function(){x.display.lineSpace.removeChild(yn),lr.focus(),lr==ee&&E.showPrimarySelection()},50)}}pn(ee,"copy",me),pn(ee,"cut",me)},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 oe=xu(y,a.anchorNode,a.anchorOffset),me=xu(y,a.focusNode,a.focusOffset);if(!(oe&&!oe.bad&&me&&!me.bad&&St(bt(oe,me),x)==0&&St(ar(oe,me),ee)==0)){var we=y.display.view,Ne=x.line>=y.display.viewFrom&&Uu(y,x)||{node:we[0].measure.map[2],offset:0},qe=ee.line<y.display.viewTo&&Uu(y,ee);if(!qe){var yn=we[we.length-1].measure,In=yn.maps?yn.maps[yn.maps.length-1]:yn.map;qe={node:In[In.length-1],offset:In[In.length-2]-In[In.length-3]}}if(!Ne||!qe){a.removeAllRanges();return}var lr=a.rangeCount&&a.getRangeAt(0),rr;try{rr=Pe(Ne.node,Ne.offset,qe.offset,qe.node)}catch(Zr){}rr&&(!b&&y.state.focused?(a.collapse(Ne.node,Ne.offset),rr.collapsed||(a.removeAllRanges(),a.addRange(rr))):(a.removeAllRanges(),a.addRange(rr)),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){Je(this.cm.display.cursorDiv,a.cursors),Je(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 Ze(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():Fo(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&&Be&&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&&Fo(y,function(){Ho(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=Ye(x.line-1,$t(a.doc,x.line-1).length)),ee.ch==$t(a.doc,ee.line).text.length&&ee.line<a.lastLine()&&(ee=Ye(ee.line+1,0)),x.line<y.viewFrom||ee.line>y.viewTo-1)return!1;var oe,me,we;x.line==y.viewFrom||(oe=Xl(a,x.line))==0?(me=wt(y.view[0].line),we=y.view[0].node):(me=wt(y.view[oe].line),we=y.view[oe-1].node.nextSibling);var Ne=Xl(a,ee.line),qe,yn;if(Ne==y.view.length-1?(qe=y.viewTo-1,yn=y.lineDiv.lastChild):(qe=wt(y.view[Ne+1].line)-1,yn=y.view[Ne+1].node.previousSibling),!we)return!1;for(var In=a.doc.splitLines(rc(a,we,yn,me,qe)),lr=Mn(a.doc,Ye(me,0),Ye(qe,$t(a.doc,qe).text.length));In.length>1&&lr.length>1;)if(ct(In)==ct(lr))In.pop(),lr.pop(),qe--;else if(In[0]==lr[0])In.shift(),lr.shift(),me++;else break;for(var rr=0,Zr=0,so=In[0],Po=lr[0],jo=Math.min(so.length,Po.length);rr<jo&&so.charCodeAt(rr)==Po.charCodeAt(rr);)++rr;for(var li=ct(In),Vo=ct(lr),fi=Math.min(li.length-(In.length==1?rr:0),Vo.length-(lr.length==1?rr:0));Zr<fi&&li.charCodeAt(li.length-Zr-1)==Vo.charCodeAt(Vo.length-Zr-1);)++Zr;if(In.length==1&&lr.length==1&&me==x.line)for(;rr&&rr>x.ch&&li.charCodeAt(li.length-Zr-1)==Vo.charCodeAt(Vo.length-Zr-1);)rr--,Zr++;In[In.length-1]=li.slice(0,li.length-Zr).replace(/^\u200b+/,""),In[0]=In[0].slice(rr).replace(/\u200b+$/,"");var Ni=Ye(me,rr),Pi=Ye(qe,lr.length?ct(lr).length-Zr:0);if(In.length>1||In[0]||St(Ni,Pi))return Vi(a.doc,In,Ni,Pi,"+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())&&Fo(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()||Eo(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=$t(a.doc,y.line),ee=wl(E,x,y.line),oe=Le(x,a.doc.direction),me="left";if(oe){var we=Pt(oe,y.ch);me=we%2?"right":"left"}var Ne=Yl(ee.map,y.ch,me);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 oe="",me=!1,we=a.doc.lineSeparator(),Ne=!1;function qe(rr){return function(Zr){return Zr.id==rr}}function yn(){me&&(oe+=we,Ne&&(oe+=we),me=Ne=!1)}function In(rr){rr&&(yn(),oe+=rr)}function lr(rr){if(rr.nodeType==1){var Zr=rr.getAttribute("cm-text");if(Zr){In(Zr);return}var so=rr.getAttribute("cm-marker"),Po;if(so){var jo=a.findMarks(Ye(x,0),Ye(ee+1,0),qe(+so));jo.length&&(Po=jo[0].find(0))&&In(Mn(a.doc,Po.from,Po.to).join(we));return}if(rr.getAttribute("contenteditable")=="false")return;var li=/^(pre|div|p|li|table|br)$/i.test(rr.nodeName);if(!/^br$/i.test(rr.nodeName)&&rr.textContent.length==0)return;li&&yn();for(var Vo=0;Vo<rr.childNodes.length;Vo++)lr(rr.childNodes[Vo]);/^(pre|p)$/i.test(rr.nodeName)&&(Ne=!0),li&&(me=!0)}else rr.nodeType==3&&In(rr.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;lr(y),y!=E;)y=y.nextSibling,Ne=!1;return oe}function xu(a,y,E){var x;if(y==a.display.lineDiv){if(x=a.display.lineDiv.childNodes[E],!x)return _s(a.clipPos(Ye(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 oe=a.display.view[ee];if(oe.node==x)return oc(oe,y,E)}}function oc(a,y,E){var x=a.text.firstChild,ee=!1;if(!y||!Ze(x,y))return _s(Ye(wt(a.line),0),!0);if(y==x&&(ee=!0,y=x.childNodes[E],E=0,!y)){var oe=a.rest?ct(a.rest):a.line;return _s(Ye(wt(oe),oe.text.length),ee)}var me=y.nodeType==3?y:null,we=y;for(!me&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(me=y.firstChild,E&&(E=me.nodeValue.length));we.parentNode!=x;)we=we.parentNode;var Ne=a.measure,qe=Ne.maps;function yn(Po,jo,li){for(var Vo=-1;Vo<(qe?qe.length:0);Vo++)for(var fi=Vo<0?Ne.map:qe[Vo],Ni=0;Ni<fi.length;Ni+=3){var Pi=fi[Ni+2];if(Pi==Po||Pi==jo){var ta=wt(Vo<0?a.line:a.rest[Vo]),Va=fi[Ni]+li;return(li<0||Pi!=Po)&&(Va=fi[Ni+(li?1:0)]),Ye(ta,Va)}}}var In=yn(me,we,E);if(In)return _s(In,ee);for(var lr=we.nextSibling,rr=me?me.nodeValue.length-E:0;lr;lr=lr.nextSibling){if(In=yn(lr,lr.firstChild,0),In)return _s(Ye(In.line,In.ch-rr),ee);rr+=lr.textContent.length}for(var Zr=we.previousSibling,so=E;Zr;Zr=Zr.previousSibling){if(In=yn(Zr,Zr.firstChild,-1),In)return _s(Ye(In.line,In.ch+so),ee);so+=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"),pn(ee,"input",function(){Oe&&be>=9&&y.hasSelection&&(y.hasSelection=null),E.poll()}),pn(ee,"paste",function(me){Xt(x,me)||Hu(me,x)||(x.state.pasteIncoming=+new Date,E.fastPoll())});function oe(me){if(!Xt(x,me)){if(x.somethingSelected())Cu({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var we=zu(x);Cu({lineWise:!0,text:we.text}),me.type=="cut"?x.setSelections(we.ranges,null,pe):(E.prevInput="",ee.value=we.text.join(`
|
|
|
`),He(ee))}else return;me.type=="cut"&&(x.state.cutIncoming=+new Date)}}pn(ee,"cut",oe),pn(ee,"copy",oe),pn(a.scroller,"paste",function(me){if(!(Li(a,me)||Xt(x,me))){if(!ee.dispatchEvent){x.state.pasteIncoming=+new Date,E.focus();return}var we=new Event("paste");we.clipboardData=me.clipboardData,ee.dispatchEvent(we)}}),pn(a.lineSpace,"selectstart",function(me){Li(a,me)||Yt(me)}),pn(ee,"compositionstart",function(){var me=x.getCursor("from");E.composing&&E.composing.range.clear(),E.composing={start:me,range:x.markText(me,x.getCursor("to"),{className:"CodeMirror-composing"})}}),pn(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"),oe=y.wrapper.getBoundingClientRect(),me=y.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,ee.top+me.top-oe.top)),x.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,ee.left+me.left-oe.left))}return x},ml.prototype.showSelection=function(a){var y=this.cm,E=y.display;Je(E.cursorDiv,a.cursors),Je(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&&He(this.textarea),Oe&&be>=9&&(this.hasSelection=E)}else a||(this.prevInput=this.textarea.value="",Oe&&be>=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"&&(!je||Ee()!=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(Oe&&be>=9&&this.hasSelection===ee||Ve&&/[\uf700-\uf7ff]/.test(ee))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var oe=ee.charCodeAt(0);if(oe==8203&&!x&&(x="\u200B"),oe==8666)return this.reset(),this.cm.execCommand("undo")}for(var me=0,we=Math.min(x.length,ee.length);me<we&&x.charCodeAt(me)==ee.charCodeAt(me);)++me;return Fo(y,function(){Mu(y,ee.slice(me),x.length-me,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(){Oe&&be>=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 oe=ql(E,a),me=x.scroller.scrollTop;if(!oe||fe)return;var we=E.options.resetSelectionOnContextMenu;we&&E.doc.sel.contains(oe)==-1&&Eo(E,Ho)(E.doc,cr(oe),pe);var Ne=ee.style.cssText,qe=y.wrapper.style.cssText,yn=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",ee.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-yn.top-5)+"px; left: "+(a.clientX-yn.left-5)+`px;
|
|
|
z-index: 1000; background: `+(Oe?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var In;Fe&&(In=window.scrollY),x.input.focus(),Fe&&window.scrollTo(null,In),x.input.reset(),E.somethingSelected()||(ee.value=y.prevInput=" "),y.contextMenuPending=rr,x.selForContextMenu=E.doc.sel,clearTimeout(x.detectingSelectAll);function lr(){if(ee.selectionStart!=null){var so=E.somethingSelected(),Po="\u200B"+(so?ee.value:"");ee.value="\u21DA",ee.value=Po,y.prevInput=so?"":"\u200B",ee.selectionStart=1,ee.selectionEnd=Po.length,x.selForContextMenu=E.doc.sel}}function rr(){if(y.contextMenuPending==rr&&(y.contextMenuPending=!1,y.wrapper.style.cssText=qe,ee.style.cssText=Ne,Oe&&be<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=me),ee.selectionStart!=null)){(!Oe||Oe&&be<9)&&lr();var so=0,Po=function(){x.selForContextMenu==E.doc.sel&&ee.selectionStart==0&&ee.selectionEnd>0&&y.prevInput=="\u200B"?Eo(E,gi)(E):so++<10?x.detectingSelectAll=setTimeout(Po,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(Po,200)}}if(Oe&&be>=9&&lr(),Me){_e(a);var Zr=function(){Cn(window,"mouseup",Zr),setTimeout(rr,20)};pn(window,"mouseup",Zr)}else setTimeout(rr,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 ic(a,y){if(y=y?kt(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=Ee();y.autofocus=E==a||a.getAttribute("autofocus")!=null&&E==document.body}function x(){a.value=we.getValue()}var ee;if(a.form&&(pn(a.form,"submit",x),!y.leaveSubmitMethodAlone)){var oe=a.form;ee=oe.submit;try{var me=oe.submit=function(){x(),oe.submit=ee,oe.submit(),oe.submit=me}}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 we=qa(function(Ne){return a.parentNode.insertBefore(Ne,a.nextSibling)},y);return we}function ac(a){a.off=Cn,a.on=pn,a.wheelEventPixels=er,a.Doc=ni,a.splitLines=Jn,a.countColumn=Ae,a.findColumn=tn,a.isWordChar=ae,a.Pass=Ht,a.signal=cn,a.Line=yo,a.changeEnd=Hr,a.scrollbarModel=lo,a.Pos=Ye,a.cmpPos=St,a.modes=nr,a.mimeModes=jn,a.resolveMode=qt,a.getMode=Dt,a.modeExtensions=sn,a.extendMode=Sn,a.copyState=vn,a.startState=Un,a.innerMode=Bn,a.commands=gs,a.keyMap=hl,a.keyName=Ss,a.isModifierKey=tu,a.lookupKey=Fs,a.normalizeKeyMap=Il,a.StringStream=Yn,a.SharedTextMarker=xa,a.TextMarker=pl,a.LineWidget=na,a.e_preventDefault=Yt,a.e_stopPropagation=gn,a.e_stop=_e,a.addClass=ue,a.contains=Ze,a.rmClass=mt,a.keyNames=yi}$u(qa),tc(qa);var lc="iter insert remove copy getEditor constructor".split(" ");for(var Su in ni.prototype)ni.prototype.hasOwnProperty(Su)&>(lc,Su)<0&&(qa.prototype[Su]=function(a){return function(){return a.apply(this.doc,arguments)}}(ni.prototype[Su]));return vt(ni),qa.inputStyles={textarea:ml,contenteditable:Za},qa.defineMode=function(a){!qa.defaults.mode&&a!="null"&&(qa.defaults.mode=a),xn.apply(this,arguments)},qa.defineMIME=ut,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){ni.prototype[a]=y},qa.fromTextArea=ic,ac(qa),qa.version="5.58.2",qa})},25419:function(Vn,hn,z){(function(b){b(z(89780),z(15525),z(98101))})(function(b){"use strict";b.defineMode("markdown",function(xe,de){var tt=b.getMode(xe,"text/html"),Oe=tt.name=="null";function be(Ae){if(b.findModeByName){var ve=b.findModeByName(Ae);ve&&(Ae=ve.mime||ve.mimes[0])}var gt=b.getMode(xe,Ae);return gt.name=="null"?null:gt}de.highlightFormatting===void 0&&(de.highlightFormatting=!1),de.maxBlockquoteDepth===void 0&&(de.maxBlockquoteDepth=0),de.taskLists===void 0&&(de.taskLists=!1),de.strikethrough===void 0&&(de.strikethrough=!1),de.emoji===void 0&&(de.emoji=!1),de.fencedCodeBlockHighlighting===void 0&&(de.fencedCodeBlockHighlighting=!0),de.fencedCodeBlockDefaultMode===void 0&&(de.fencedCodeBlockDefaultMode="text/plain"),de.xml===void 0&&(de.xml=!0),de.tokenTypeOverrides===void 0&&(de.tokenTypeOverrides={});var Fe={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 ze in Fe)Fe.hasOwnProperty(ze)&&de.tokenTypeOverrides[ze]&&(Fe[ze]=de.tokenTypeOverrides[ze]);var Be=/^([*\-_])(?:\s*\1){2,}\s*$/,fe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ge=/^\[(x| )\](?=\s)/i,Ce=de.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,yt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,et=/^[^#!\[\]*_\\<>` "'(~:]+/,$e=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,je=/^\s*\[[^\]]+?\]:.*$/,Ve=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,rt=" ";function Nt(Ae,ve,gt){return ve.f=ve.inline=gt,gt(Ae,ve)}function Ut(Ae,ve,gt){return ve.f=ve.block=gt,gt(Ae,ve)}function se(Ae){return!Ae||!/\S/.test(Ae.string)}function Me(Ae){if(Ae.linkTitle=!1,Ae.linkHref=!1,Ae.linkText=!1,Ae.em=!1,Ae.strong=!1,Ae.strikethrough=!1,Ae.quote=0,Ae.indentedCode=!1,Ae.f==mt){var ve=Oe;if(!ve){var gt=b.innerMode(tt,Ae.htmlState);ve=gt.mode.name=="xml"&>.state.tagStart===null&&!gt.state.context&>.state.tokenize.isInText}ve&&(Ae.f=dt,Ae.block=ft,Ae.htmlState=null)}return Ae.trailingSpace=0,Ae.trailingSpaceNewLine=!1,Ae.prevLine=Ae.thisLine,Ae.thisLine={stream:null},null}function ft(Ae,ve){var gt=Ae.column()===ve.indentation,Gt=se(ve.prevLine.stream),Ht=ve.indentedCode,pe=ve.prevLine.hr,Te=ve.list!==!1,Ke=(ve.listStack[ve.listStack.length-1]||0)+3;ve.indentedCode=!1;var tn=ve.indentation;if(ve.indentationDiff===null&&(ve.indentationDiff=ve.indentation,Te)){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 lt=!Gt&&!pe&&!ve.prevLine.header&&(!Te||!Ht)&&!ve.prevLine.fencedCodeEnd,jt=(ve.list===!1||pe||Gt)&&ve.indentation<=Ke&&Ae.match(Be),ct=null;if(ve.indentationDiff>=4&&(Ht||ve.prevLine.fencedCodeEnd||ve.prevLine.header||Gt))return Ae.skipToEnd(),ve.indentedCode=!0,Fe.code;if(Ae.eatSpace())return null;if(gt&&ve.indentation<=Ke&&(ct=Ae.match(Ce))&&ct[1].length<=6)return ve.quote=0,ve.header=ct[1].length,ve.thisLine.header=!0,de.highlightFormatting&&(ve.formatting="header"),ve.f=ve.inline,Je(ve);if(ve.indentation<=Ke&&Ae.eat(">"))return ve.quote=gt?1:ve.quote+1,de.highlightFormatting&&(ve.formatting="quote"),Ae.eatSpace(),Je(ve);if(!jt&&!ve.setext&>&&ve.indentation<=Ke&&(ct=Ae.match(fe))){var ln=ct[1]?"ol":"ul";return ve.indentation=tn+Ae.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,de.taskLists&&Ae.match(Ge,!1)&&(ve.taskList=!0),ve.f=ve.inline,de.highlightFormatting&&(ve.formatting=["list","list-"+ln]),Je(ve)}else{if(gt&&ve.indentation<=Ke&&(ct=Ae.match($e,!0)))return ve.quote=0,ve.fencedEndRE=new RegExp(ct[1]+"+ *$"),ve.localMode=de.fencedCodeBlockHighlighting&&be(ct[2]||de.fencedCodeBlockDefaultMode),ve.localMode&&(ve.localState=b.startState(ve.localMode)),ve.f=ve.block=Zt,de.highlightFormatting&&(ve.formatting="code-block"),ve.code=-1,Je(ve);if(ve.setext||(!lt||!Te)&&!ve.quote&&ve.list===!1&&!ve.code&&!jt&&!je.test(Ae.string)&&(ct=Ae.lookAhead(1))&&(ct=ct.match(yt)))return ve.setext?(ve.header=ve.setext,ve.setext=0,Ae.skipToEnd(),de.highlightFormatting&&(ve.formatting="header")):(ve.header=ct[0].charAt(0)=="="?1:2,ve.setext=ve.header),ve.thisLine.header=!0,ve.f=ve.inline,Je(ve);if(jt)return Ae.skipToEnd(),ve.hr=!0,ve.thisLine.hr=!0,Fe.hr;if(Ae.peek()==="[")return Nt(Ae,ve,Ct)}return Nt(Ae,ve,ve.inline)}function mt(Ae,ve){var gt=tt.token(Ae,ve.htmlState);if(!Oe){var Gt=b.innerMode(tt,ve.htmlState);(Gt.mode.name=="xml"&&Gt.state.tagStart===null&&!Gt.state.context&&Gt.state.tokenize.isInText||ve.md_inside&&Ae.current().indexOf(">")>-1)&&(ve.f=dt,ve.block=ft,ve.htmlState=null)}return gt}function Zt(Ae,ve){var gt=ve.listStack[ve.listStack.length-1]||0,Gt=ve.indentation<gt,Ht=gt+3;if(ve.fencedEndRE&&ve.indentation<=Ht&&(Gt||Ae.match(ve.fencedEndRE))){de.highlightFormatting&&(ve.formatting="code-block");var pe;return Gt||(pe=Je(ve)),ve.localMode=ve.localState=null,ve.block=ft,ve.f=dt,ve.fencedEndRE=null,ve.code=0,ve.thisLine.fencedCodeEnd=!0,Gt?Ut(Ae,ve,ve.block):pe}else return ve.localMode?ve.localMode.token(Ae,ve.localState):(Ae.skipToEnd(),Fe.code)}function Je(Ae){var ve=[];if(Ae.formatting){ve.push(Fe.formatting),typeof Ae.formatting=="string"&&(Ae.formatting=[Ae.formatting]);for(var gt=0;gt<Ae.formatting.length;gt++)ve.push(Fe.formatting+"-"+Ae.formatting[gt]),Ae.formatting[gt]==="header"&&ve.push(Fe.formatting+"-"+Ae.formatting[gt]+"-"+Ae.header),Ae.formatting[gt]==="quote"&&(!de.maxBlockquoteDepth||de.maxBlockquoteDepth>=Ae.quote?ve.push(Fe.formatting+"-"+Ae.formatting[gt]+"-"+Ae.quote):ve.push("error"))}if(Ae.taskOpen)return ve.push("meta"),ve.length?ve.join(" "):null;if(Ae.taskClosed)return ve.push("property"),ve.length?ve.join(" "):null;if(Ae.linkHref?ve.push(Fe.linkHref,"url"):(Ae.strong&&ve.push(Fe.strong),Ae.em&&ve.push(Fe.em),Ae.strikethrough&&ve.push(Fe.strikethrough),Ae.emoji&&ve.push(Fe.emoji),Ae.linkText&&ve.push(Fe.linkText),Ae.code&&ve.push(Fe.code),Ae.image&&ve.push(Fe.image),Ae.imageAltText&&ve.push(Fe.imageAltText,"link"),Ae.imageMarker&&ve.push(Fe.imageMarker)),Ae.header&&ve.push(Fe.header,Fe.header+"-"+Ae.header),Ae.quote&&(ve.push(Fe.quote),!de.maxBlockquoteDepth||de.maxBlockquoteDepth>=Ae.quote?ve.push(Fe.quote+"-"+Ae.quote):ve.push(Fe.quote+"-"+de.maxBlockquoteDepth)),Ae.list!==!1){var Gt=(Ae.listStack.length-1)%3;Gt?Gt===1?ve.push(Fe.list2):ve.push(Fe.list3):ve.push(Fe.list1)}return Ae.trailingSpaceNewLine?ve.push("trailing-space-new-line"):Ae.trailingSpace&&ve.push("trailing-space-"+(Ae.trailingSpace%2?"a":"b")),ve.length?ve.join(" "):null}function at(Ae,ve){if(Ae.match(et,!0))return Je(ve)}function dt(Ae,ve){var gt=ve.text(Ae,ve);if(typeof gt!="undefined")return gt;if(ve.list)return ve.list=null,Je(ve);if(ve.taskList){var Gt=Ae.match(Ge,!0)[1]===" ";return Gt?ve.taskOpen=!0:ve.taskClosed=!0,de.highlightFormatting&&(ve.formatting="task"),ve.taskList=!1,Je(ve)}if(ve.taskOpen=!1,ve.taskClosed=!1,ve.header&&Ae.match(/^#+$/,!0))return de.highlightFormatting&&(ve.formatting="header"),Je(ve);var Ht=Ae.next();if(ve.linkTitle){ve.linkTitle=!1;var pe=Ht;Ht==="("&&(pe=")"),pe=(pe+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Te="^\\s*(?:[^"+pe+"\\\\]+|\\\\\\\\|\\\\.)"+pe;if(Ae.match(new RegExp(Te),!0))return Fe.linkHref}if(Ht==="`"){var Ke=ve.formatting;de.highlightFormatting&&(ve.formatting="code"),Ae.eatWhile("`");var tn=Ae.current().length;if(ve.code==0&&(!ve.quote||tn==1))return ve.code=tn,Je(ve);if(tn==ve.code){var lt=Je(ve);return ve.code=0,lt}else return ve.formatting=Ke,Je(ve)}else if(ve.code)return Je(ve);if(Ht==="\\"&&(Ae.next(),de.highlightFormatting)){var jt=Je(ve),ct=Fe.formatting+"-escape";return jt?jt+" "+ct:ct}if(Ht==="!"&&Ae.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ve.imageMarker=!0,ve.image=!0,de.highlightFormatting&&(ve.formatting="image"),Je(ve);if(Ht==="["&&ve.imageMarker&&Ae.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ve.imageMarker=!1,ve.imageAltText=!0,de.highlightFormatting&&(ve.formatting="image"),Je(ve);if(Ht==="]"&&ve.imageAltText){de.highlightFormatting&&(ve.formatting="image");var jt=Je(ve);return ve.imageAltText=!1,ve.image=!1,ve.inline=ve.f=Ze,jt}if(Ht==="["&&!ve.image)return ve.linkText&&Ae.match(/^.*?\]/)||(ve.linkText=!0,de.highlightFormatting&&(ve.formatting="link")),Je(ve);if(Ht==="]"&&ve.linkText){de.highlightFormatting&&(ve.formatting="link");var jt=Je(ve);return ve.linkText=!1,ve.inline=ve.f=Ae.match(/\(.*?\)| ?\[.*?\]/,!1)?Ze:dt,jt}if(Ht==="<"&&Ae.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ve.f=ve.inline=Pe,de.highlightFormatting&&(ve.formatting="link");var jt=Je(ve);return jt?jt+=" ":jt="",jt+Fe.linkInline}if(Ht==="<"&&Ae.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ve.f=ve.inline=Pe,de.highlightFormatting&&(ve.formatting="link");var jt=Je(ve);return jt?jt+=" ":jt="",jt+Fe.linkEmail}if(de.xml&&Ht==="<"&&Ae.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ln=Ae.string.indexOf(">",Ae.pos);if(ln!=-1){var Et=Ae.string.substring(Ae.start,ln);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Et)&&(ve.md_inside=!0)}return Ae.backUp(1),ve.htmlState=b.startState(tt),Ut(Ae,ve,mt)}if(de.xml&&Ht==="<"&&Ae.match(/^\/\w*?>/))return ve.md_inside=!1,"tag";if(Ht==="*"||Ht==="_"){for(var le=1,ne=Ae.pos==1?" ":Ae.string.charAt(Ae.pos-2);le<3&&Ae.eat(Ht);)le++;var te=Ae.peek()||" ",ae=!/\s/.test(te)&&(!Ve.test(te)||/\s/.test(ne)||Ve.test(ne)),he=!/\s/.test(ne)&&(!Ve.test(ne)||/\s/.test(te)||Ve.test(te)),re=null,ce=null;if(le%2&&(!ve.em&&ae&&(Ht==="*"||!he||Ve.test(ne))?re=!0:ve.em==Ht&&he&&(Ht==="*"||!ae||Ve.test(te))&&(re=!1)),le>1&&(!ve.strong&&ae&&(Ht==="*"||!he||Ve.test(ne))?ce=!0:ve.strong==Ht&&he&&(Ht==="*"||!ae||Ve.test(te))&&(ce=!1)),ce!=null||re!=null){de.highlightFormatting&&(ve.formatting=re==null?"strong":ce==null?"em":"strong em"),re===!0&&(ve.em=Ht),ce===!0&&(ve.strong=Ht);var lt=Je(ve);return re===!1&&(ve.em=!1),ce===!1&&(ve.strong=!1),lt}}else if(Ht===" "&&(Ae.eat("*")||Ae.eat("_"))){if(Ae.peek()===" ")return Je(ve);Ae.backUp(1)}if(de.strikethrough){if(Ht==="~"&&Ae.eatWhile(Ht)){if(ve.strikethrough){de.highlightFormatting&&(ve.formatting="strikethrough");var lt=Je(ve);return ve.strikethrough=!1,lt}else if(Ae.match(/^[^\s]/,!1))return ve.strikethrough=!0,de.highlightFormatting&&(ve.formatting="strikethrough"),Je(ve)}else if(Ht===" "&&Ae.match(/^~~/,!0)){if(Ae.peek()===" ")return Je(ve);Ae.backUp(2)}}if(de.emoji&&Ht===":"&&Ae.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ve.emoji=!0,de.highlightFormatting&&(ve.formatting="emoji");var De=Je(ve);return ve.emoji=!1,De}return Ht===" "&&(Ae.match(/^ +$/,!1)?ve.trailingSpace++:ve.trailingSpace&&(ve.trailingSpaceNewLine=!0)),Je(ve)}function Pe(Ae,ve){var gt=Ae.next();if(gt===">"){ve.f=ve.inline=dt,de.highlightFormatting&&(ve.formatting="link");var Gt=Je(ve);return Gt?Gt+=" ":Gt="",Gt+Fe.linkInline}return Ae.match(/^[^>]+/,!0),Fe.linkInline}function Ze(Ae,ve){if(Ae.eatSpace())return null;var gt=Ae.next();return gt==="("||gt==="["?(ve.f=ve.inline=ue(gt==="("?")":"]"),de.highlightFormatting&&(ve.formatting="link-string"),ve.linkHref=!0,Je(ve)):"error"}var Ee={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ue(Ae){return function(ve,gt){var Gt=ve.next();if(Gt===Ae){gt.f=gt.inline=dt,de.highlightFormatting&&(gt.formatting="link-string");var Ht=Je(gt);return gt.linkHref=!1,Ht}return ve.match(Ee[Ae]),gt.linkHref=!0,Je(gt)}}function Ct(Ae,ve){return Ae.match(/^([^\]\\]|\\.)*\]:/,!1)?(ve.f=He,Ae.next(),de.highlightFormatting&&(ve.formatting="link"),ve.linkText=!0,Je(ve)):Nt(Ae,ve,dt)}function He(Ae,ve){if(Ae.match(/^\]:/,!0)){ve.f=ve.inline=We,de.highlightFormatting&&(ve.formatting="link");var gt=Je(ve);return ve.linkText=!1,gt}return Ae.match(/^([^\]\\]|\\.)+/,!0),Fe.linkText}function We(Ae,ve){return Ae.eatSpace()?null:(Ae.match(/^[^\s]+/,!0),Ae.peek()===void 0?ve.linkTitle=!0:Ae.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ve.f=ve.inline=dt,Fe.linkHref+" url")}var kt={startState:function(){return{f:ft,prevLine:{stream:null},thisLine:{stream:null},block:ft,htmlState:null,indentation:0,inline:dt,text:at,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(Ae){return{f:Ae.f,prevLine:Ae.prevLine,thisLine:Ae.thisLine,block:Ae.block,htmlState:Ae.htmlState&&b.copyState(tt,Ae.htmlState),indentation:Ae.indentation,localMode:Ae.localMode,localState:Ae.localMode?b.copyState(Ae.localMode,Ae.localState):null,inline:Ae.inline,text:Ae.text,formatting:!1,linkText:Ae.linkText,linkTitle:Ae.linkTitle,linkHref:Ae.linkHref,code:Ae.code,em:Ae.em,strong:Ae.strong,strikethrough:Ae.strikethrough,emoji:Ae.emoji,header:Ae.header,setext:Ae.setext,hr:Ae.hr,taskList:Ae.taskList,list:Ae.list,listStack:Ae.listStack.slice(0),quote:Ae.quote,indentedCode:Ae.indentedCode,trailingSpace:Ae.trailingSpace,trailingSpaceNewLine:Ae.trailingSpaceNewLine,md_inside:Ae.md_inside,fencedEndRE:Ae.fencedEndRE}},token:function(Ae,ve){if(ve.formatting=!1,Ae!=ve.thisLine.stream){if(ve.header=0,ve.hr=!1,Ae.match(/^\s*$/,!0))return Me(ve),null;if(ve.prevLine=ve.thisLine,ve.thisLine={stream:Ae},ve.taskList=!1,ve.trailingSpace=0,ve.trailingSpaceNewLine=!1,!ve.localState&&(ve.f=ve.block,ve.f!=mt)){var gt=Ae.match(/^\s*/,!0)[0].replace(/\t/g,rt).length;if(ve.indentation=gt,ve.indentationDiff=null,gt>0)return null}}return ve.f(Ae,ve)},innerMode:function(Ae){return Ae.block==mt?{state:Ae.htmlState,mode:tt}:Ae.localState?{state:Ae.localState,mode:Ae.localMode}:{state:Ae,mode:kt}},indent:function(Ae,ve,gt){return Ae.block==mt&&tt.indent?tt.indent(Ae.htmlState,ve,gt):Ae.localState&&Ae.localMode.indent?Ae.localMode.indent(Ae.localState,ve,gt):b.Pass},blankLine:Me,getType:Je,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return kt},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Vn,hn,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 de=b.modeInfo[xe];de.mimes&&(de.mime=de.mimes[0])}b.findModeByMIME=function(tt){tt=tt.toLowerCase();for(var Oe=0;Oe<b.modeInfo.length;Oe++){var be=b.modeInfo[Oe];if(be.mime==tt)return be;if(be.mimes){for(var Fe=0;Fe<be.mimes.length;Fe++)if(be.mimes[Fe]==tt)return be}}if(/\+xml$/.test(tt))return b.findModeByMIME("application/xml");if(/\+json$/.test(tt))return b.findModeByMIME("application/json")},b.findModeByExtension=function(tt){tt=tt.toLowerCase();for(var Oe=0;Oe<b.modeInfo.length;Oe++){var be=b.modeInfo[Oe];if(be.ext){for(var Fe=0;Fe<be.ext.length;Fe++)if(be.ext[Fe]==tt)return be}}},b.findModeByFileName=function(tt){for(var Oe=0;Oe<b.modeInfo.length;Oe++){var be=b.modeInfo[Oe];if(be.file&&be.file.test(tt))return be}var Fe=tt.lastIndexOf("."),ze=Fe>-1&&tt.substring(Fe+1,tt.length);if(ze)return b.findModeByExtension(ze)},b.findModeByName=function(tt){tt=tt.toLowerCase();for(var Oe=0;Oe<b.modeInfo.length;Oe++){var be=b.modeInfo[Oe];if(be.name.toLowerCase()==tt)return be;if(be.alias){for(var Fe=0;Fe<be.alias.length;Fe++)if(be.alias[Fe].toLowerCase()==tt)return be}}}})},67549:function(Vn,hn,z){(function(b){b(z(89780))})(function(b){"use strict";b.defineMode("stex",function(xe,de){"use strict";function tt(et,$e){et.cmdState.push($e)}function Oe(et){return et.cmdState.length>0?et.cmdState[et.cmdState.length-1]:null}function be(et){var $e=et.cmdState.pop();$e&&$e.closeBracket()}function Fe(et){for(var $e=et.cmdState,je=$e.length-1;je>=0;je--){var Ve=$e[je];if(Ve.name!="DEFAULT")return Ve}return{styleIdentifier:function(){return null}}}function ze(et,$e,je){return function(){this.name=et,this.bracketNo=0,this.style=$e,this.styles=je,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Be={};Be.importmodule=ze("importmodule","tag",["string","builtin"]),Be.documentclass=ze("documentclass","tag",["","atom"]),Be.usepackage=ze("usepackage","tag",["atom"]),Be.begin=ze("begin","tag",["atom"]),Be.end=ze("end","tag",["atom"]),Be.label=ze("label","tag",["atom"]),Be.ref=ze("ref","tag",["atom"]),Be.eqref=ze("eqref","tag",["atom"]),Be.cite=ze("cite","tag",["atom"]),Be.bibitem=ze("bibitem","tag",["atom"]),Be.Bibitem=ze("Bibitem","tag",["atom"]),Be.RBibitem=ze("RBibitem","tag",["atom"]),Be.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function fe(et,$e){et.f=$e}function Ge(et,$e){var je;if(et.match(/^\\[a-zA-Z@]+/)){var Ve=et.current().slice(1);return je=Be.hasOwnProperty(Ve)?Be[Ve]:Be.DEFAULT,je=new je,tt($e,je),fe($e,yt),je.style}if(et.match(/^\\[$&%#{}_]/)||et.match(/^\\[,;!\/\\]/))return"tag";if(et.match("\\["))return fe($e,function(Nt,Ut){return Ce(Nt,Ut,"\\]")}),"keyword";if(et.match("\\("))return fe($e,function(Nt,Ut){return Ce(Nt,Ut,"\\)")}),"keyword";if(et.match("$$"))return fe($e,function(Nt,Ut){return Ce(Nt,Ut,"$$")}),"keyword";if(et.match("$"))return fe($e,function(Nt,Ut){return Ce(Nt,Ut,"$")}),"keyword";var rt=et.next();if(rt=="%")return et.skipToEnd(),"comment";if(rt=="}"||rt=="]"){if(je=Oe($e),je)je.closeBracket(rt),fe($e,yt);else return"error";return"bracket"}else return rt=="{"||rt=="["?(je=Be.DEFAULT,je=new je,tt($e,je),"bracket"):/\d/.test(rt)?(et.eatWhile(/[\w.%]/),"atom"):(et.eatWhile(/[\w\-_]/),je=Fe($e),je.name=="begin"&&(je.argument=et.current()),je.styleIdentifier())}function Ce(et,$e,je){if(et.eatSpace())return null;if(je&&et.match(je))return fe($e,Ge),"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 Ve=et.next();return Ve=="{"||Ve=="}"||Ve=="["||Ve=="]"||Ve=="("||Ve==")"?"bracket":Ve=="%"?(et.skipToEnd(),"comment"):"error"}function yt(et,$e){var je=et.peek(),Ve;return je=="{"||je=="["?(Ve=Oe($e),Ve.openBracket(je),et.eat(je),fe($e,Ge),"bracket"):/[ \t\r]/.test(je)?(et.eat(je),null):(fe($e,Ge),be($e),Ge(et,$e))}return{startState:function(){var et=de.inMathMode?function($e,je){return Ce($e,je)}:Ge;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=Ge,et.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Vn,hn,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},de={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(tt,Oe){var be=tt.indentUnit,Fe={},ze=Oe.htmlMode?xe:de;for(var Be in ze)Fe[Be]=ze[Be];for(var Be in Oe)Fe[Be]=Oe[Be];var fe,Ge;function Ce(Pe,Ze){function Ee(He){return Ze.tokenize=He,He(Pe,Ze)}var ue=Pe.next();if(ue=="<")return Pe.eat("!")?Pe.eat("[")?Pe.match("CDATA[")?Ee($e("atom","]]>")):null:Pe.match("--")?Ee($e("comment","-->")):Pe.match("DOCTYPE",!0,!0)?(Pe.eatWhile(/[\w\._\-]/),Ee(je(1))):null:Pe.eat("?")?(Pe.eatWhile(/[\w\._\-]/),Ze.tokenize=$e("meta","?>"),"meta"):(fe=Pe.eat("/")?"closeTag":"openTag",Ze.tokenize=yt,"tag bracket");if(ue=="&"){var Ct;return Pe.eat("#")?Pe.eat("x")?Ct=Pe.eatWhile(/[a-fA-F\d]/)&&Pe.eat(";"):Ct=Pe.eatWhile(/[\d]/)&&Pe.eat(";"):Ct=Pe.eatWhile(/[\w\.\-:]/)&&Pe.eat(";"),Ct?"atom":"error"}else return Pe.eatWhile(/[^&<]/),null}Ce.isInText=!0;function yt(Pe,Ze){var Ee=Pe.next();if(Ee==">"||Ee=="/"&&Pe.eat(">"))return Ze.tokenize=Ce,fe=Ee==">"?"endTag":"selfcloseTag","tag bracket";if(Ee=="=")return fe="equals",null;if(Ee=="<"){Ze.tokenize=Ce,Ze.state=Ut,Ze.tagName=Ze.tagStart=null;var ue=Ze.tokenize(Pe,Ze);return ue?ue+" tag error":"tag error"}else return/[\'\"]/.test(Ee)?(Ze.tokenize=et(Ee),Ze.stringStartCol=Pe.column(),Ze.tokenize(Pe,Ze)):(Pe.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function et(Pe){var Ze=function(Ee,ue){for(;!Ee.eol();)if(Ee.next()==Pe){ue.tokenize=yt;break}return"string"};return Ze.isInAttribute=!0,Ze}function $e(Pe,Ze){return function(Ee,ue){for(;!Ee.eol();){if(Ee.match(Ze)){ue.tokenize=Ce;break}Ee.next()}return Pe}}function je(Pe){return function(Ze,Ee){for(var ue;(ue=Ze.next())!=null;){if(ue=="<")return Ee.tokenize=je(Pe+1),Ee.tokenize(Ze,Ee);if(ue==">")if(Pe==1){Ee.tokenize=Ce;break}else return Ee.tokenize=je(Pe-1),Ee.tokenize(Ze,Ee)}return"meta"}}function Ve(Pe,Ze,Ee){this.prev=Pe.context,this.tagName=Ze,this.indent=Pe.indented,this.startOfLine=Ee,(Fe.doNotIndent.hasOwnProperty(Ze)||Pe.context&&Pe.context.noIndent)&&(this.noIndent=!0)}function rt(Pe){Pe.context&&(Pe.context=Pe.context.prev)}function Nt(Pe,Ze){for(var Ee;;){if(!Pe.context||(Ee=Pe.context.tagName,!Fe.contextGrabbers.hasOwnProperty(Ee)||!Fe.contextGrabbers[Ee].hasOwnProperty(Ze)))return;rt(Pe)}}function Ut(Pe,Ze,Ee){return Pe=="openTag"?(Ee.tagStart=Ze.column(),se):Pe=="closeTag"?Me:Ut}function se(Pe,Ze,Ee){return Pe=="word"?(Ee.tagName=Ze.current(),Ge="tag",Zt):Fe.allowMissingTagName&&Pe=="endTag"?(Ge="tag bracket",Zt(Pe,Ze,Ee)):(Ge="error",se)}function Me(Pe,Ze,Ee){if(Pe=="word"){var ue=Ze.current();return Ee.context&&Ee.context.tagName!=ue&&Fe.implicitlyClosed.hasOwnProperty(Ee.context.tagName)&&rt(Ee),Ee.context&&Ee.context.tagName==ue||Fe.matchClosing===!1?(Ge="tag",ft):(Ge="tag error",mt)}else return Fe.allowMissingTagName&&Pe=="endTag"?(Ge="tag bracket",ft(Pe,Ze,Ee)):(Ge="error",mt)}function ft(Pe,Ze,Ee){return Pe!="endTag"?(Ge="error",ft):(rt(Ee),Ut)}function mt(Pe,Ze,Ee){return Ge="error",ft(Pe,Ze,Ee)}function Zt(Pe,Ze,Ee){if(Pe=="word")return Ge="attribute",Je;if(Pe=="endTag"||Pe=="selfcloseTag"){var ue=Ee.tagName,Ct=Ee.tagStart;return Ee.tagName=Ee.tagStart=null,Pe=="selfcloseTag"||Fe.autoSelfClosers.hasOwnProperty(ue)?Nt(Ee,ue):(Nt(Ee,ue),Ee.context=new Ve(Ee,ue,Ct==Ee.indented)),Ut}return Ge="error",Zt}function Je(Pe,Ze,Ee){return Pe=="equals"?at:(Fe.allowMissing||(Ge="error"),Zt(Pe,Ze,Ee))}function at(Pe,Ze,Ee){return Pe=="string"?dt:Pe=="word"&&Fe.allowUnquoted?(Ge="string",Zt):(Ge="error",Zt(Pe,Ze,Ee))}function dt(Pe,Ze,Ee){return Pe=="string"?dt:Zt(Pe,Ze,Ee)}return{startState:function(Pe){var Ze={tokenize:Ce,state:Ut,indented:Pe||0,tagName:null,tagStart:null,context:null};return Pe!=null&&(Ze.baseIndent=Pe),Ze},token:function(Pe,Ze){if(!Ze.tagName&&Pe.sol()&&(Ze.indented=Pe.indentation()),Pe.eatSpace())return null;fe=null;var Ee=Ze.tokenize(Pe,Ze);return(Ee||fe)&&Ee!="comment"&&(Ge=null,Ze.state=Ze.state(fe||Ee,Pe,Ze),Ge&&(Ee=Ge=="error"?Ee+" error":Ge)),Ee},indent:function(Pe,Ze,Ee){var ue=Pe.context;if(Pe.tokenize.isInAttribute)return Pe.tagStart==Pe.indented?Pe.stringStartCol+1:Pe.indented+be;if(ue&&ue.noIndent)return b.Pass;if(Pe.tokenize!=yt&&Pe.tokenize!=Ce)return Ee?Ee.match(/^(\s*)/)[0].length:0;if(Pe.tagName)return Fe.multilineTagIndentPastTag!==!1?Pe.tagStart+Pe.tagName.length+2:Pe.tagStart+be*(Fe.multilineTagIndentFactor||1);if(Fe.alignCDATA&&/<!\[CDATA\[/.test(Ze))return 0;var Ct=Ze&&/^<(\/)?([\w_:\.-]*)/.exec(Ze);if(Ct&&Ct[1])for(;ue;)if(ue.tagName==Ct[2]){ue=ue.prev;break}else if(Fe.implicitlyClosed.hasOwnProperty(ue.tagName))ue=ue.prev;else break;else if(Ct)for(;ue;){var He=Fe.contextGrabbers[ue.tagName];if(He&&He.hasOwnProperty(Ct[2]))ue=ue.prev;else break}for(;ue&&ue.prev&&!ue.startOfLine;)ue=ue.prev;return ue?ue.indent+be:Pe.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Fe.htmlMode?"html":"xml",helperType:Fe.htmlMode?"html":"xml",skipAttribute:function(Pe){Pe.state==at&&(Pe.state=Zt)},xmlCurrentTag:function(Pe){return Pe.tagName?{name:Pe.tagName,close:Pe.type=="closeTag"}:null},xmlCurrentContext:function(Pe){for(var Ze=[],Ee=Pe.context;Ee;Ee=Ee.prev)Ee.tagName&&Ze.push(Ee.tagName);return Ze.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(Vn,hn,z){var b,xe;(function(de,tt){Vn.exports=tt(de)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof z.g!="undefined"?z.g:this,function(de){"use strict";de=de||{};var tt=de.Base64,Oe="2.6.4",be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fe=function(Ee){for(var ue={},Ct=0,He=Ee.length;Ct<He;Ct++)ue[Ee.charAt(Ct)]=Ct;return ue}(be),ze=String.fromCharCode,Be=function(Ee){if(Ee.length<2){var ue=Ee.charCodeAt(0);return ue<128?Ee:ue<2048?ze(192|ue>>>6)+ze(128|ue&63):ze(224|ue>>>12&15)+ze(128|ue>>>6&63)+ze(128|ue&63)}else{var ue=65536+(Ee.charCodeAt(0)-55296)*1024+(Ee.charCodeAt(1)-56320);return ze(240|ue>>>18&7)+ze(128|ue>>>12&63)+ze(128|ue>>>6&63)+ze(128|ue&63)}},fe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ge=function(Ee){return Ee.replace(fe,Be)},Ce=function(Ee){var ue=[0,2,1][Ee.length%3],Ct=Ee.charCodeAt(0)<<16|(Ee.length>1?Ee.charCodeAt(1):0)<<8|(Ee.length>2?Ee.charCodeAt(2):0),He=[be.charAt(Ct>>>18),be.charAt(Ct>>>12&63),ue>=2?"=":be.charAt(Ct>>>6&63),ue>=1?"=":be.charAt(Ct&63)];return He.join("")},yt=de.btoa&&typeof de.btoa=="function"?function(Ee){return de.btoa(Ee)}:function(Ee){if(Ee.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ee.replace(/[\s\S]{1,3}/g,Ce)},et=function(Ee){return yt(Ge(String(Ee)))},$e=function(Ee){return Ee.replace(/[+\/]/g,function(ue){return ue=="+"?"-":"_"}).replace(/=/g,"")},je=function(Ee,ue){return ue?$e(et(Ee)):et(Ee)},Ve=function(Ee){return je(Ee,!0)},rt;de.Uint8Array&&(rt=function(Ee,ue){for(var Ct="",He=0,We=Ee.length;He<We;He+=3){var kt=Ee[He],Ae=Ee[He+1],ve=Ee[He+2],gt=kt<<16|Ae<<8|ve;Ct+=be.charAt(gt>>>18)+be.charAt(gt>>>12&63)+(typeof Ae!="undefined"?be.charAt(gt>>>6&63):"=")+(typeof ve!="undefined"?be.charAt(gt&63):"=")}return ue?$e(Ct):Ct});var Nt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ut=function(Ee){switch(Ee.length){case 4:var ue=(7&Ee.charCodeAt(0))<<18|(63&Ee.charCodeAt(1))<<12|(63&Ee.charCodeAt(2))<<6|63&Ee.charCodeAt(3),Ct=ue-65536;return ze((Ct>>>10)+55296)+ze((Ct&1023)+56320);case 3:return ze((15&Ee.charCodeAt(0))<<12|(63&Ee.charCodeAt(1))<<6|63&Ee.charCodeAt(2));default:return ze((31&Ee.charCodeAt(0))<<6|63&Ee.charCodeAt(1))}},se=function(Ee){return Ee.replace(Nt,Ut)},Me=function(Ee){var ue=Ee.length,Ct=ue%4,He=(ue>0?Fe[Ee.charAt(0)]<<18:0)|(ue>1?Fe[Ee.charAt(1)]<<12:0)|(ue>2?Fe[Ee.charAt(2)]<<6:0)|(ue>3?Fe[Ee.charAt(3)]:0),We=[ze(He>>>16),ze(He>>>8&255),ze(He&255)];return We.length-=[0,0,2,1][Ct],We.join("")},ft=de.atob&&typeof de.atob=="function"?function(Ee){return de.atob(Ee)}:function(Ee){return Ee.replace(/\S{1,4}/g,Me)},mt=function(Ee){return ft(String(Ee).replace(/[^A-Za-z0-9\+\/]/g,""))},Zt=function(Ee){return se(ft(Ee))},Je=function(Ee){return String(Ee).replace(/[-_]/g,function(ue){return ue=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},at=function(Ee){return Zt(Je(Ee))},dt;de.Uint8Array&&(dt=function(Ee){return Uint8Array.from(mt(Je(Ee)),function(ue){return ue.charCodeAt(0)})});var Pe=function(){var Ee=de.Base64;return de.Base64=tt,Ee};if(de.Base64={VERSION:Oe,atob:mt,btoa:yt,fromBase64:at,toBase64:je,utob:Ge,encode:je,encodeURI:Ve,btou:se,decode:at,noConflict:Pe,fromUint8Array:rt,toUint8Array:dt},typeof Object.defineProperty=="function"){var Ze=function(Ee){return{value:Ee,enumerable:!1,writable:!0,configurable:!0}};de.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ze(function(){return at(this)})),Object.defineProperty(String.prototype,"toBase64",Ze(function(Ee){return je(this,Ee)})),Object.defineProperty(String.prototype,"toBase64URI",Ze(function(){return je(this,!0)}))}}return de.Meteor&&(Base64=de.Base64),Vn.exports?Vn.exports.Base64=de.Base64:(b=[],xe=function(){return de.Base64}.apply(hn,b),xe!==void 0&&(Vn.exports=xe)),{Base64:de.Base64}})},2859:function(Vn,hn,z){"use strict";z.d(hn,{hP:function(){return Et}});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 de(le,ne,te,ae){return new(te||(te=Promise))(function(he,re){function ce(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(pt){pt(Ie)})).then(ce,De)}st((ae=ae.apply(le,ne||[])).next())})}function tt(le,ne){var te,ae,he,re,ce={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(;ce;)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 ce.label++,{value:Ie[1],done:!1};case 5:ce.label++,ae=Ie[1],Ie=[0];continue;case 7:Ie=ce.ops.pop(),ce.trys.pop();continue;default:if(he=ce.trys,!((he=he.length>0&&he[he.length-1])||Ie[0]!==6&&Ie[0]!==2)){ce=0;continue}if(Ie[0]===3&&(!he||Ie[1]>he[0]&&Ie[1]<he[3])){ce.label=Ie[1];break}if(Ie[0]===6&&ce.label<he[1]){ce.label=he[1],he=Ie;break}if(he&&ce.label<he[2]){ce.label=he[2],ce.ops.push(Ie);break}he[2]&&ce.ops.pop(),ce.trys.pop();continue}Ie=ne.call(le,ce)}catch(pt){Ie=[6,pt],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 Oe(){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],ce=0,De=re.length;ce<De;ce++,he++)ae[he]=re[ce];return ae}var be=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],ce=re[0],De=re[1];ne.setAttribute(ce,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 ce=document.createElementNS("http://www.w3.org/2000/svg","line");return ce.setAttribute("x1",ne.toString()),ce.setAttribute("y1",te.toString()),ce.setAttribute("x2",ae.toString()),ce.setAttribute("y2",he.toString()),re&&le.setAttributes(ce,re),ce},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,ce,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",ce.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}(),Fe=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}(),ze=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 ce=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),ce.width=De.width.baseVal.value,ce.height=De.height.baseVal.value;var st=De.outerHTML,Qe=ce.getContext("2d");he.markersOnly!==!0&&Qe.drawImage(ne,0,0,ce.width,ce.height);var Ie=window.URL,pt=new Image(ce.width,ce.height);pt.setAttribute("crossOrigin","anonymous");var Pt=new Blob([st],{type:"image/svg+xml"}),Tt=Ie.createObjectURL(Pt);pt.onload=function(){Qe.drawImage(pt,0,0),Ie.revokeObjectURL(Tt);var Le=ce.toDataURL(he.imageType,he.imageQuality);re(Le)},pt.src=Tt})},le}(),Be=function(){},fe=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 Ge("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ge("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new Ge("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new Ce("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new Ce("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}(),Ge=function(le,ne){this.selector=le,this.style=ne},Ce=function(le,ne){this.localName=le,this.style=ne},yt=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 ce=document.createElement("div");ce.className=""+te.toolbarButtonStyleClass.name,ce.setAttribute("data-type-name",re.typeName),ce.innerHTML=re.icon,ce.addEventListener("click",function(){te.markerToolbarButtonClicked(ce,re)}),te.buttons.push(ce),te.markerButtons.push(ce)}),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 Ce("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 Ce("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Ce("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Ce("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 Ce("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ne=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Ce("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 Ce("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Ce("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ge("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new Ge("."+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 Ce("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 Ce("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Ce("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Ce("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Ce("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 Ce("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Ce("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 Ce("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Ce("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new Ge("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ge("."+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 ce;re.uiStyleSettings=he.uiStyleSettings;var De=document.createElement("div");De.className=he.toolboxButtonStyleClass.name+" "+((ce=he.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ce!==void 0?ce: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,ce){var De,st;re.className=te.toolboxButtonStyleClass.name+" "+(ce===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},je=function(le){function ne(te,ae,he,re){var ce=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 ce.colors=[],ce.addTransparent=!1,ce.colorBoxes=[],ce.colors=ae,ce.currentColor=he,ce.setCurrentColor=ce.setCurrentColor.bind(ce),ce.getColorBox=ce.getColorBox.bind(ce),ce}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,ce=document.createElement("div");ce.style.display="inline-block",ce.style.boxSizing="content-box",ce.style.width=re-2+"px",ce.style.height=re-2+"px",ce.style.padding="1px",ce.style.marginRight="2px",ce.style.marginBottom="2px",ce.style.borderWidth="2px",ce.style.borderStyle="solid",ce.style.borderRadius=(re+2)/2+"px",ce.style.borderColor=te===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",ce.addEventListener("click",function(){ae.setCurrentColor(te,ce)});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>`),ce.appendChild(De),ce},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),Ve=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}(),rt=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=be.createGroup(),this.visual.appendChild(be.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(be.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}(),Ut=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(be.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=be.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 ce=this.container.transform.baseVal.getItem(0);ce.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ce,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,ce=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,ce=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:ce=this.manipulationStartHeight+te.y-this.manipulationStartY}he>=0?(this.left=ae,this.width=he):(this.left=ae+he,this.width=-he),ce>=0?(this.top=re,this.height=ce):(this.top=re+ce,this.height=-ce),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=be.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=be.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=be.createGroup();var te=be.createTransform();te.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(te),this.container.appendChild(this.controlBox),this.controlRect=be.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=be.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 rt,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(be.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,ce=(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,ce),this.positionGrip(this.controlGrips.centerRight.visual,st,ce),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:Ut.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ut.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(Ut.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ae.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ut.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}(Ve),Me=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=be.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),be.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&&be.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&be.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&be.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&be.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),ft=function(le){function ne(te,ae,he,re){var ce=le.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return ce.widths=[],ce.widthBoxes=[],ce.widths=ae,ce.currentWidth=he,ce.setCurrentWidth=ce.setCurrentWidth.bind(ce),ce}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 ce=document.createElement("div");ce.innerText=he.toString(),ce.style.marginRight="5px",re.appendChild(ce);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),mt=function(le){function ne(te,ae,he,re){var ce=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 ce.styles=[],ce.styleBoxes=[],ce.styles=ae,ce.currentStyle=he,ce.setCurrentStyle=ce.setCurrentStyle.bind(ce),ce}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 ce=document.createElement("div");ce.style.minHeight="20px",ce.style.flexGrow="2",ce.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>`;ce.innerHTML=De,re.appendChild(ce),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),Zt=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 je("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new ft("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("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}(Me),Je=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"},at=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=be.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(be.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}(Ve),dt=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 je("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new ft("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("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=be.createGroup(),this.selectorLine=be.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=be.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()),be.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),be.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),be.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}(at),Pe=function(le){function ne(te,ae,he,re){var ce=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 ce.fonts=[],ce.fontBoxes=[],ce.fonts=ae,ce.currentFont=he,ce.setCurrentFont=ce.setCurrentFont.bind(ce),ce}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 ce=document.createElement("div");ce.style.display="flex",ce.style.minHeight="20px",ce.style.flexGrow="2",ce.style.fontFamily=he,ce.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",ce.appendChild(De),re.appendChild(ce),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),Ze=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 je("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=be.createGroup(),this.bgRectangle=be.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=be.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(be.createTransform()),this.textElement.transform.baseVal.appendItem(be.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(be.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&&(be.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),be.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&&be.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&&be.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),Ee=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 je("Color",he.defaultColorSet,he.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new ft("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=be.createGroup(),this.drawingImage=be.createImage(),this.visual.appendChild(this.drawingImage);var te=be.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),be.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),be.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],ce=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>ce&&(ce=Ie));if(st){this.left=he/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(ce-he)/this.pixelRatio,this.height=(De-re)/this.pixelRatio;var pt=document.createElement("canvas");pt.width=ce-he,pt.height=De-re,pt.getContext("2d").putImageData(this.canvasContext.getImageData(he,re,ce-he,De-re),0,0),this.drawingImgUrl=pt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.prototype.setDrawingImage=function(){be.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),be.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),ue=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 pt=document.createElement("div");pt.style.display="flex",pt.style.alignItems="center",pt.style.minHeight="20px",pt.style.flexGrow="2";var Pt=document.createElement("hr");if(Pt.style.minWidth="20px",Pt.style.border="0px",Pt.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),Pt.style.flexGrow="2",pt.appendChild(Pt),Qe.appendChild(pt),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,ce=0;ce<4;ce++)he(ce);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),Ct=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 ue("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=be.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(be.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=be.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(be.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",be.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),be.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}(dt),He=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 je("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}(Me),We=function(le){function ne(te,ae,he,re){var ce=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 ce.opacities=[],ce.opacityBoxes=[],ce.opacities=ae,ce.currentOpacity=he,ce.setCurrentOpacity=ce.setCurrentOpacity.bind(ce),ce}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 ce=document.createElement("div");ce.innerText=100*he+"%",re.appendChild(ce),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),kt=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 je("Color",he.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new We("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&&be.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}(He),Ae='<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>',gt=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 je("Text color",he.defaultColorSet,re.color,Ae),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new je("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(be.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(){be.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=be.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&&(be.setAttributes(this.bgRectangle,[["fill",te]]),be.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(){be.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}(Ze),Gt=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 je("Line color",Oe(he.defaultColorSet,["transparent"]),he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new je("Fill color",Oe(he.defaultColorSet,["transparent"]),re.fillColor,ve),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new ft("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new We("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=be.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),be.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&&be.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&be.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&be.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&be.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&be.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),Ht=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=be.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(be.createTransform()),this.visual.appendChild(this.tip1),this.tip2=be.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(be.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&&(be.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()]]),be.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}(dt),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}(Gt),Te=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}(),Ke=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 je("Line color",he.defaultColorSet,he.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new ft("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("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=be.createGroup(),this.selectorCurve=be.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=be.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()),be.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),be.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),be.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setupControlBox=function(){le.prototype.setupControlBox.call(this),this.curveControlLine1=be.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=be.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}(at),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 je("Line color",Oe(he.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new je("Fill color",Oe(he.defaultColorSet,["transparent"]),re.fillColor,ve),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new ft("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new mt("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 je("Text color",he.defaultColorSet,re.textColor,Ae),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=be.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=be.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=be.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=be.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),be.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')"]]),be.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&&be.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&&be.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),be.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&&be.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.captionBg&&be.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.frame&&be.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.frame&&be.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),lt=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}(),jt=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}(lt),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}(lt),ln=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}(),Et=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 Je,this._isOpen=!1,this.undoRedoManager=new Te,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 ln,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=le.instanceCounter++,this.styles=new fe(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[Zt,Ee,Ct,Ze,pe,Gt,kt,gt,Ht,He,dt,Ke,tn]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Zt,Ee,Ct,Ze,Gt,kt,gt]},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Zt,Ee,Ct,Ze,kt]},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(),Fe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},le.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&Be.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Be.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(te){return te(new lt(ne))})},le.prototype.render=function(){return de(this,void 0,void 0,function(){var ne;return tt(this,function(te){switch(te.label){case 0:return this.setCurrentMarker(),(ne=new ze).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 lt(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 lt(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 Ze?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=be.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 yt(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(ce){var De=new ct(ne,void 0,!0);ce(De),De.defaultPrevented&&(te=!0)}),!te)){this.setCurrentMarker();for(var ae=function(ce){var De=he.markers[ce];he.setCurrentMarker(he.markers[ce]),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 lt(ne))})}else this.undoRedoManager.replaceLastUndoStep(te),this.eventListeners.statechange.forEach(function(re){return re(new lt(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 lt(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 lt(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 de(this,void 0,void 0,function(){var ne,te,ae=this;return tt(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 jt(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(ce){return ce.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 lt(te))})},le.prototype.addNewMarker=function(ne){var te=be.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 Ee&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Ee):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){Fe.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 lt(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 lt(ne))}))},le.instanceCounter=0,le}()},6551:function(Vn,hn,z){"use strict";z.d(hn,{ZP:function(){return Fe}});var b=z(42978),xe=z(59301),de=z(47273),tt=0,Oe=(0,de.Z)();function be(){var ze;return Oe?(ze=tt,tt+=1):ze="TEST_OR_SSR",ze}function Fe(ze){var Be=xe.useState(),fe=(0,b.Z)(Be,2),Ge=fe[0],Ce=fe[1];return xe.useEffect(function(){Ce("rc_select_".concat(be()))},[]),ze||Ge}},37463:function(Vn,hn,z){"use strict";z.d(hn,{Ac:function(){return Xt},Xo:function(){return mn},Wx:function(){return Yt},ZP:function(){return or},lk:function(){return Ut}});var b=z(54476),xe=z(94480),de=z(20068),tt=z(33885),Oe=z(42978),be=z(75931),Fe=z(76190),ze=z(18929),Be=z(48736),fe=z(59301),Ge=z(92310),Ce=z.n(Ge),yt=z(34280),et=z(49658),$e=z(8654),je=function(zt){var Re=zt.className,ht=zt.customizeIcon,Ye=zt.customizeIconProps,St=zt.children,_t=zt.onMouseDown,tr=zt.onClick,ar=typeof ht=="function"?ht(Ye):ht;return fe.createElement("span",{className:Re,onMouseDown:function(xt){xt.preventDefault(),_t==null||_t(xt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:tr,"aria-hidden":!0},ar!==void 0?ar:fe.createElement("span",{className:Ce()(Re.split(/\s+/).map(function(bt){return"".concat(bt,"-icon")}))},St))},Ve=je,rt=function(zt,Re,ht,Ye,St){var _t=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,tr=arguments.length>6?arguments[6]:void 0,ar=arguments.length>7?arguments[7]:void 0,bt=fe.useMemo(function(){if((0,Fe.Z)(Ye)==="object")return Ye.clearIcon;if(St)return St},[Ye,St]),xt=fe.useMemo(function(){return!!(!_t&&Ye&&(ht.length||tr)&&!(ar==="combobox"&&tr===""))},[Ye,_t,ht.length,tr,ar]);return{allowClear:xt,clearIcon:fe.createElement(Ve,{className:"".concat(zt,"-clear"),onMouseDown:Re,customizeIcon:bt},"\xD7")}},Nt=fe.createContext(null);function Ut(){return fe.useContext(Nt)}function se(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,zt=fe.useState(!1),Re=(0,Oe.Z)(zt,2),ht=Re[0],Ye=Re[1],St=fe.useRef(null),_t=function(){window.clearTimeout(St.current)};fe.useEffect(function(){return _t},[]);var tr=function(bt,xt){_t(),St.current=window.setTimeout(function(){Ye(bt),xt&&xt()},wt)};return[ht,tr,_t]}function Me(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,zt=fe.useRef(null),Re=fe.useRef(null);fe.useEffect(function(){return function(){window.clearTimeout(Re.current)}},[]);function ht(Ye){(Ye||zt.current===null)&&(zt.current=Ye),window.clearTimeout(Re.current),Re.current=window.setTimeout(function(){zt.current=null},wt)}return[function(){return zt.current},ht]}function ft(wt,zt,Re,ht){var Ye=fe.useRef(null);Ye.current={open:zt,triggerOpen:Re,customizedTrigger:ht},fe.useEffect(function(){function St(_t){var tr;if(!((tr=Ye.current)!==null&&tr!==void 0&&tr.customizedTrigger)){var ar=_t.target;ar.shadowRoot&&_t.composed&&(ar=_t.composedPath()[0]||ar),Ye.current.open&&wt().filter(function(bt){return bt}).every(function(bt){return!bt.contains(ar)&&bt!==ar})&&Ye.current.triggerOpen(!1)}}return window.addEventListener("mousedown",St),function(){return window.removeEventListener("mousedown",St)}},[])}var mt=z(10228);function Zt(wt){return wt&&![mt.Z.ESC,mt.Z.SHIFT,mt.Z.BACKSPACE,mt.Z.TAB,mt.Z.WIN_KEY,mt.Z.ALT,mt.Z.META,mt.Z.WIN_KEY_RIGHT,mt.Z.CTRL,mt.Z.SEMICOLON,mt.Z.EQUALS,mt.Z.CAPS_LOCK,mt.Z.CONTEXT_MENU,mt.Z.F1,mt.Z.F2,mt.Z.F3,mt.Z.F4,mt.Z.F5,mt.Z.F6,mt.Z.F7,mt.Z.F8,mt.Z.F9,mt.Z.F10,mt.Z.F11,mt.Z.F12].includes(wt)}var Je=z(26112),at=z(83836);function dt(wt,zt,Re){var ht=(0,tt.Z)((0,tt.Z)({},wt),Re?zt:{});return Object.keys(zt).forEach(function(Ye){var St=zt[Ye];typeof St=="function"&&(ht[Ye]=function(){for(var _t,tr=arguments.length,ar=new Array(tr),bt=0;bt<tr;bt++)ar[bt]=arguments[bt];return St.apply(void 0,ar),(_t=wt[Ye])===null||_t===void 0?void 0:_t.call.apply(_t,[wt].concat(ar))})}),ht}var Pe=dt,Ze=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Ee=function(zt,Re){var ht=zt.prefixCls,Ye=zt.id,St=zt.inputElement,_t=zt.autoFocus,tr=zt.autoComplete,ar=zt.editable,bt=zt.activeDescendantId,xt=zt.value,Ft=zt.open,Kt=zt.attrs,Pn=(0,be.Z)(zt,Ze),Tn=St||fe.createElement("input",null),kn=Tn,Kn=kn.ref,pr=kn.props;return(0,Be.Kp)(!("maxLength"in Tn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Tn=fe.cloneElement(Tn,(0,tt.Z)((0,tt.Z)((0,tt.Z)({type:"search"},Pe(Pn,pr,!0)),{},{id:Ye,ref:(0,$e.sQ)(Re,Kn),autoComplete:tr||"off",autoFocus:_t,className:Ce()("".concat(ht,"-selection-search-input"),pr==null?void 0:pr.className),role:"combobox","aria-expanded":Ft||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ye,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ye,"_list"),"aria-activedescendant":Ft?bt:void 0},Kt),{},{value:ar?xt:"",readOnly:!ar,unselectable:ar?null:"on",style:(0,tt.Z)((0,tt.Z)({},pr.style),{},{opacity:ar?null:0})})),Tn},ue=fe.forwardRef(Ee),Ct=ue;function He(wt){return Array.isArray(wt)?wt:wt!==void 0?[wt]:[]}var We=typeof window!="undefined"&&window.document&&window.document.documentElement,kt=We;function Ae(wt){return wt!=null}function ve(wt){return!wt&&wt!==0}function gt(wt){return["string","number"].includes((0,Fe.Z)(wt))}function Gt(wt){var zt=void 0;return wt&&(gt(wt.title)?zt=wt.title.toString():gt(wt.label)&&(zt=wt.label.toString())),zt}function Ht(wt,zt){kt?fe.useLayoutEffect(wt,zt):fe.useEffect(wt,zt)}function pe(wt){var zt;return(zt=wt.key)!==null&&zt!==void 0?zt:wt.value}var Te=function(zt){zt.preventDefault(),zt.stopPropagation()},Ke=function(zt){var Re=zt.id,ht=zt.prefixCls,Ye=zt.values,St=zt.open,_t=zt.searchValue,tr=zt.autoClearSearchValue,ar=zt.inputRef,bt=zt.placeholder,xt=zt.disabled,Ft=zt.mode,Kt=zt.showSearch,Pn=zt.autoFocus,Tn=zt.autoComplete,kn=zt.activeDescendantId,Kn=zt.tabIndex,pr=zt.removeIcon,Ar=zt.maxTagCount,Vr=zt.maxTagTextLength,Br=zt.maxTagPlaceholder,fr=Br===void 0?function(Ot){return"+ ".concat(Ot.length," ...")}:Br,Pr=zt.tagRender,kr=zt.onToggleOpen,$r=zt.onRemove,Xr=zt.onInputChange,vo=zt.onInputPaste,yr=zt.onInputKeyDown,ur=zt.onInputMouseDown,gr=zt.onInputCompositionStart,no=zt.onInputCompositionEnd,Kr=zt.onInputBlur,wr=fe.useRef(null),Rr=(0,fe.useState)(0),mo=(0,Oe.Z)(Rr,2),Qr=mo[0],qr=mo[1],eo=(0,fe.useState)(!1),ko=(0,Oe.Z)(eo,2),_o=ko[0],qo=ko[1],Lo="".concat(ht,"-selection"),ii=St||Ft==="multiple"&&tr===!1||Ft==="tags"?_t:"",ke=Ft==="tags"||Ft==="multiple"&&tr===!1||Kt&&(St||_o);Ht(function(){qr(wr.current.scrollWidth)},[ii]);var nt=function(en,Fn,Zn,An,Hn){return fe.createElement("span",{title:Gt(en),className:Ce()("".concat(Lo,"-item"),(0,de.Z)({},"".concat(Lo,"-item-disabled"),Zn))},fe.createElement("span",{className:"".concat(Lo,"-item-content")},Fn),An&&fe.createElement(Ve,{className:"".concat(Lo,"-item-remove"),onMouseDown:Te,onClick:Hn,customizeIcon:pr},"\xD7"))},Mt=function(en,Fn,Zn,An,Hn,$n){var Cr=function(Wr){Te(Wr),kr(!St)};return fe.createElement("span",{onMouseDown:Cr},Pr({label:Fn,value:en,disabled:Zn,closable:An,onClose:Hn,isMaxTag:!!$n}))},un=function(en){var Fn=en.disabled,Zn=en.label,An=en.value,Hn=!xt&&!Fn,$n=Zn;if(typeof Vr=="number"&&(typeof Zn=="string"||typeof Zn=="number")){var Cr=String($n);Cr.length>Vr&&($n="".concat(Cr.slice(0,Vr),"..."))}var br=function(Jr){Jr&&Jr.stopPropagation(),$r(en)};return typeof Pr=="function"?Mt(An,$n,Fn,Hn,br):nt(en,$n,Fn,Hn,br)},fn=function(en){if(!Ye.length)return null;var Fn=typeof fr=="function"?fr(en):fr;return typeof Pr=="function"?Mt(void 0,Fn,!1,!1,void 0,!0):nt({title:Fn},Fn,!1)},Rt=fe.createElement("div",{className:"".concat(Lo,"-search"),style:{width:Qr},onFocus:function(){qo(!0)},onBlur:function(){qo(!1)}},fe.createElement(Ct,{ref:ar,open:St,prefixCls:ht,id:Re,inputElement:null,disabled:xt,autoFocus:Pn,autoComplete:Tn,editable:ke,activeDescendantId:kn,value:ii,onKeyDown:yr,onMouseDown:ur,onChange:Xr,onPaste:vo,onCompositionStart:gr,onCompositionEnd:no,onBlur:Kr,tabIndex:Kn,attrs:(0,Je.Z)(zt,!0)}),fe.createElement("span",{ref:wr,className:"".concat(Lo,"-search-mirror"),"aria-hidden":!0},ii,"\xA0")),ot=fe.createElement(at.Z,{prefixCls:"".concat(Lo,"-overflow"),data:Ye,renderItem:un,renderRest:fn,suffix:Rt,itemKey:pe,maxCount:Ar});return fe.createElement("span",{className:"".concat(Lo,"-wrap")},ot,!Ye.length&&!ii&&fe.createElement("span",{className:"".concat(Lo,"-placeholder")},bt))},tn=Ke,lt=function(zt){var Re=zt.inputElement,ht=zt.prefixCls,Ye=zt.id,St=zt.inputRef,_t=zt.disabled,tr=zt.autoFocus,ar=zt.autoComplete,bt=zt.activeDescendantId,xt=zt.mode,Ft=zt.open,Kt=zt.values,Pn=zt.placeholder,Tn=zt.tabIndex,kn=zt.showSearch,Kn=zt.searchValue,pr=zt.activeValue,Ar=zt.maxLength,Vr=zt.onInputKeyDown,Br=zt.onInputMouseDown,fr=zt.onInputChange,Pr=zt.onInputPaste,kr=zt.onInputCompositionStart,$r=zt.onInputCompositionEnd,Xr=zt.onInputBlur,vo=zt.title,yr=fe.useState(!1),ur=(0,Oe.Z)(yr,2),gr=ur[0],no=ur[1],Kr=xt==="combobox",wr=Kr||kn,Rr=Kt[0],mo=Kn||"";Kr&&pr&&!gr&&(mo=pr),fe.useEffect(function(){Kr&&no(!1)},[Kr,pr]);var Qr=xt!=="combobox"&&!Ft&&!kn?!1:!!mo,qr=vo===void 0?Gt(Rr):vo,eo=fe.useMemo(function(){return Rr?null:fe.createElement("span",{className:"".concat(ht,"-selection-placeholder"),style:Qr?{visibility:"hidden"}:void 0},Pn)},[Rr,Qr,Pn,ht]);return fe.createElement("span",{className:"".concat(ht,"-selection-wrap")},fe.createElement("span",{className:"".concat(ht,"-selection-search")},fe.createElement(Ct,{ref:St,prefixCls:ht,id:Ye,open:Ft,inputElement:Re,disabled:_t,autoFocus:tr,autoComplete:ar,editable:wr,activeDescendantId:bt,value:mo,onKeyDown:Vr,onMouseDown:Br,onChange:function(_o){no(!0),fr(_o)},onPaste:Pr,onCompositionStart:kr,onCompositionEnd:$r,onBlur:Xr,tabIndex:Tn,attrs:(0,Je.Z)(zt,!0),maxLength:Kr?Ar:void 0})),!Kr&&Rr?fe.createElement("span",{className:"".concat(ht,"-selection-item"),title:qr,style:Qr?{visibility:"hidden"}:void 0},Rr.label):null,eo)},jt=lt,ct=function(zt,Re){var ht=(0,fe.useRef)(null),Ye=(0,fe.useRef)(!1),St=zt.prefixCls,_t=zt.open,tr=zt.mode,ar=zt.showSearch,bt=zt.tokenWithEnter,xt=zt.disabled,Ft=zt.prefix,Kt=zt.autoClearSearchValue,Pn=zt.onSearch,Tn=zt.onSearchSubmit,kn=zt.onToggleOpen,Kn=zt.onInputKeyDown,pr=zt.onInputBlur,Ar=zt.domRef;fe.useImperativeHandle(Re,function(){return{focus:function(qr){ht.current.focus(qr)},blur:function(){ht.current.blur()}}});var Vr=Me(0),Br=(0,Oe.Z)(Vr,2),fr=Br[0],Pr=Br[1],kr=function(qr){var eo=qr.which,ko=ht.current instanceof HTMLTextAreaElement;!ko&&_t&&(eo===mt.Z.UP||eo===mt.Z.DOWN)&&qr.preventDefault(),Kn&&Kn(qr),eo===mt.Z.ENTER&&tr==="tags"&&!Ye.current&&!_t&&(Tn==null||Tn(qr.target.value)),!(ko&&!_t&&~[mt.Z.UP,mt.Z.DOWN,mt.Z.LEFT,mt.Z.RIGHT].indexOf(eo))&&Zt(eo)&&kn(!0)},$r=function(){Pr(!0)},Xr=(0,fe.useRef)(null),vo=function(qr){Pn(qr,!0,Ye.current)!==!1&&kn(!0)},yr=function(){Ye.current=!0},ur=function(qr){Ye.current=!1,tr!=="combobox"&&vo(qr.target.value)},gr=function(qr){var eo=qr.target.value;if(bt&&Xr.current&&/[\r\n]/.test(Xr.current)){var ko=Xr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");eo=eo.replace(ko,Xr.current)}Xr.current=null,vo(eo)},no=function(qr){var eo=qr.clipboardData,ko=eo==null?void 0:eo.getData("text");Xr.current=ko||""},Kr=function(qr){var eo=qr.target;if(eo!==ht.current){var ko=document.body.style.msTouchAction!==void 0;ko?setTimeout(function(){ht.current.focus()}):ht.current.focus()}},wr=function(qr){var eo=fr();qr.target!==ht.current&&!eo&&!(tr==="combobox"&&xt)&&qr.preventDefault(),(tr!=="combobox"&&(!ar||!eo)||!_t)&&(_t&&Kt!==!1&&Pn("",!0,!1),kn())},Rr={inputRef:ht,onInputKeyDown:kr,onInputMouseDown:$r,onInputChange:gr,onInputPaste:no,onInputCompositionStart:yr,onInputCompositionEnd:ur,onInputBlur:pr},mo=tr==="multiple"||tr==="tags"?fe.createElement(tn,(0,b.Z)({},zt,Rr)):fe.createElement(jt,(0,b.Z)({},zt,Rr));return fe.createElement("div",{ref:Ar,className:"".concat(St,"-selector"),onClick:Kr,onMouseDown:wr},Ft&&fe.createElement("div",{className:"".concat(St,"-prefix")},Ft),mo)},ln=fe.forwardRef(ct),Et=ln,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(zt){var Re=zt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Re,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Re,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Re,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Re,adjustY:1},htmlRegion:"scroll"}}},ae=function(zt,Re){var ht=zt.prefixCls,Ye=zt.disabled,St=zt.visible,_t=zt.children,tr=zt.popupElement,ar=zt.animation,bt=zt.transitionName,xt=zt.dropdownStyle,Ft=zt.dropdownClassName,Kt=zt.direction,Pn=Kt===void 0?"ltr":Kt,Tn=zt.placement,kn=zt.builtinPlacements,Kn=zt.dropdownMatchSelectWidth,pr=zt.dropdownRender,Ar=zt.dropdownAlign,Vr=zt.getPopupContainer,Br=zt.empty,fr=zt.getTriggerDOMNode,Pr=zt.onPopupVisibleChange,kr=zt.onPopupMouseEnter,$r=(0,be.Z)(zt,ne),Xr="".concat(ht,"-dropdown"),vo=tr;pr&&(vo=pr(tr));var yr=fe.useMemo(function(){return kn||te(Kn)},[kn,Kn]),ur=ar?"".concat(Xr,"-").concat(ar):bt,gr=typeof Kn=="number",no=fe.useMemo(function(){return gr?null:Kn===!1?"minWidth":"width"},[Kn,gr]),Kr=xt;gr&&(Kr=(0,tt.Z)((0,tt.Z)({},Kr),{},{width:Kn}));var wr=fe.useRef(null);return fe.useImperativeHandle(Re,function(){return{getPopupElement:function(){var mo;return(mo=wr.current)===null||mo===void 0?void 0:mo.popupElement}}}),fe.createElement(le.Z,(0,b.Z)({},$r,{showAction:Pr?["click"]:[],hideAction:Pr?["click"]:[],popupPlacement:Tn||(Pn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:yr,prefixCls:Xr,popupTransitionName:ur,popup:fe.createElement("div",{onMouseEnter:kr},vo),ref:wr,stretch:no,popupAlign:Ar,popupVisible:St,getPopupContainer:Vr,popupClassName:Ce()(Ft,(0,de.Z)({},"".concat(Xr,"-empty"),Br)),popupStyle:Kr,getTriggerDOMNode:fr,onPopupVisibleChange:Pr}),_t)},he=fe.forwardRef(ae),re=he,ce=z(66712);function De(wt,zt){var Re=wt.key,ht;return"value"in wt&&(ht=wt.value),Re!=null?Re:ht!==void 0?ht:"rc-index-key-".concat(zt)}function st(wt){return typeof wt!="undefined"&&!Number.isNaN(wt)}function Qe(wt,zt){var Re=wt||{},ht=Re.label,Ye=Re.value,St=Re.options,_t=Re.groupLabel,tr=ht||(zt?"children":"label");return{label:tr,value:Ye||"value",options:St||"options",groupLabel:_t||tr}}function Ie(wt){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Re=zt.fieldNames,ht=zt.childrenAsData,Ye=[],St=Qe(Re,!1),_t=St.label,tr=St.value,ar=St.options,bt=St.groupLabel;function xt(Ft,Kt){Array.isArray(Ft)&&Ft.forEach(function(Pn){if(Kt||!(ar in Pn)){var Tn=Pn[tr];Ye.push({key:De(Pn,Ye.length),groupOption:Kt,data:Pn,label:Pn[_t],value:Tn})}else{var kn=Pn[bt];kn===void 0&&ht&&(kn=Pn.label),Ye.push({key:De(Pn,Ye.length),group:!0,data:Pn,label:kn}),xt(Pn[ar],!0)}})}return xt(wt,!1),Ye}function pt(wt){var zt=(0,tt.Z)({},wt);return"props"in zt||Object.defineProperty(zt,"props",{get:function(){return(0,Be.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),zt}}),zt}var Pt=function(zt,Re,ht){if(!Re||!Re.length)return null;var Ye=!1,St=function tr(ar,bt){var xt=(0,ce.Z)(bt),Ft=xt[0],Kt=xt.slice(1);if(!Ft)return[ar];var Pn=ar.split(Ft);return Ye=Ye||Pn.length>1,Pn.reduce(function(Tn,kn){return[].concat((0,xe.Z)(Tn),(0,xe.Z)(tr(kn,Kt)))},[]).filter(Boolean)},_t=St(zt,Re);return Ye?typeof ht!="undefined"?_t.slice(0,ht):_t:null},Tt=fe.createContext(null),Le=Tt;function Ue(wt){var zt=wt.visible,Re=wt.values;if(!zt)return null;var ht=50;return fe.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Re.slice(0,ht).map(function(Ye){var St=Ye.label,_t=Ye.value;return["number","string"].includes((0,Fe.Z)(St))?St:_t}).join(", ")),Re.length>ht?", ...":null)}var pn=["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"],Wt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Cn=function(zt){return zt==="tags"||zt==="multiple"},cn=fe.forwardRef(function(wt,zt){var Re,ht=wt.id,Ye=wt.prefixCls,St=wt.className,_t=wt.showSearch,tr=wt.tagRender,ar=wt.direction,bt=wt.omitDomProps,xt=wt.displayValues,Ft=wt.onDisplayValuesChange,Kt=wt.emptyOptions,Pn=wt.notFoundContent,Tn=Pn===void 0?"Not Found":Pn,kn=wt.onClear,Kn=wt.mode,pr=wt.disabled,Ar=wt.loading,Vr=wt.getInputElement,Br=wt.getRawInputElement,fr=wt.open,Pr=wt.defaultOpen,kr=wt.onDropdownVisibleChange,$r=wt.activeValue,Xr=wt.onActiveValueChange,vo=wt.activeDescendantId,yr=wt.searchValue,ur=wt.autoClearSearchValue,gr=wt.onSearch,no=wt.onSearchSplit,Kr=wt.tokenSeparators,wr=wt.allowClear,Rr=wt.prefix,mo=wt.suffixIcon,Qr=wt.clearIcon,qr=wt.OptionList,eo=wt.animation,ko=wt.transitionName,_o=wt.dropdownStyle,qo=wt.dropdownClassName,Lo=wt.dropdownMatchSelectWidth,ii=wt.dropdownRender,ke=wt.dropdownAlign,nt=wt.placement,Mt=wt.builtinPlacements,un=wt.getPopupContainer,fn=wt.showAction,Rt=fn===void 0?[]:fn,ot=wt.onFocus,Ot=wt.onBlur,en=wt.onKeyUp,Fn=wt.onKeyDown,Zn=wt.onMouseDown,An=(0,be.Z)(wt,pn),Hn=Cn(Kn),$n=(_t!==void 0?_t:Hn)||Kn==="combobox",Cr=(0,tt.Z)({},An);Wt.forEach(function(Hi){delete Cr[Hi]}),bt==null||bt.forEach(function(Hi){delete Cr[Hi]});var br=fe.useState(!1),Wr=(0,Oe.Z)(br,2),Jr=Wr[0],yo=Wr[1];fe.useEffect(function(){yo((0,et.Z)())},[]);var io=fe.useRef(null),Io=fe.useRef(null),co=fe.useRef(null),fo=fe.useRef(null),bo=fe.useRef(null),Bo=fe.useRef(!1),ri=se(),Si=(0,Oe.Z)(ri,3),bi=Si[0],Ki=Si[1],Wo=Si[2];fe.useImperativeHandle(zt,function(){var Hi,Ci;return{focus:(Hi=fo.current)===null||Hi===void 0?void 0:Hi.focus,blur:(Ci=fo.current)===null||Ci===void 0?void 0:Ci.blur,scrollTo:function(Ma){var wa;return(wa=bo.current)===null||wa===void 0?void 0:wa.scrollTo(Ma)},nativeElement:io.current||Io.current}});var Mo=fe.useMemo(function(){var Hi;if(Kn!=="combobox")return yr;var Ci=(Hi=xt[0])===null||Hi===void 0?void 0:Hi.value;return typeof Ci=="string"||typeof Ci=="number"?String(Ci):""},[yr,Kn,xt]),Wi=Kn==="combobox"&&typeof Vr=="function"&&Vr()||null,zi=typeof Br=="function"&&Br(),Xi=(0,$e.x1)(Io,zi==null||(Re=zi.props)===null||Re===void 0?void 0:Re.ref),Wa=fe.useState(!1),Pa=(0,Oe.Z)(Wa,2),Ta=Pa[0],Ba=Pa[1];(0,yt.Z)(function(){Ba(!0)},[]);var Ui=(0,ze.Z)(!1,{defaultValue:Pr,value:fr}),Fa=(0,Oe.Z)(Ui,2),ul=Fa[0],Ja=Fa[1],Ji=Ta?ul:!1,Nl=!Tn&&Kt;(pr||Nl&&Ji&&Kn==="combobox")&&(Ji=!1);var El=Nl?!1:Ji,hi=fe.useCallback(function(Hi){var Ci=Hi!==void 0?Hi:!Ji;pr||(Ja(Ci),Ji!==Ci&&(kr==null||kr(Ci)))},[pr,Ji,Ja,kr]),mi=fe.useMemo(function(){return(Kr||[]).some(function(Hi){return[`
|
|
|
`,`\r
|
|
|
`].includes(Hi)})},[Kr]),wo=fe.useContext(Le)||{},ho=wo.maxCount,To=wo.rawValues,si=function(Ci,sa,Ma){if(!(Hn&&st(ho)&&(To==null?void 0:To.size)>=ho)){var wa=!0,_i=Ci;Xr==null||Xr(null);var tl=Pt(Ci,Kr,st(ho)?ho-To.size:void 0),Ka=Ma?null:tl;return Kn!=="combobox"&&Ka&&(_i="",no==null||no(Ka),hi(!1),wa=!1),gr&&Mo!==_i&&gr(_i,{source:sa?"typing":"effect"}),wa}},da=function(Ci){!Ci||!Ci.trim()||gr(Ci,{source:"submit"})};fe.useEffect(function(){!Ji&&!Hn&&Kn!=="combobox"&&si("",!1,!1)},[Ji]),fe.useEffect(function(){ul&&pr&&Ja(!1),pr&&!Bo.current&&Ki(!1)},[pr]);var Ri=Me(),Li=(0,Oe.Z)(Ri,2),Oi=Li[0],pa=Li[1],Ea=fe.useRef(!1),Oa=function(Ci){var sa=Oi(),Ma=Ci.key,wa=Ma==="Enter";if(wa&&(Kn!=="combobox"&&Ci.preventDefault(),Ji||hi(!0)),pa(!!Mo),Ma==="Backspace"&&!sa&&Hn&&!Mo&&xt.length){for(var _i=(0,xe.Z)(xt),tl=null,Ka=_i.length-1;Ka>=0;Ka-=1){var nl=_i[Ka];if(!nl.disabled){_i.splice(Ka,1),tl=nl;break}}tl&&Ft(_i,{type:"remove",values:[tl]})}for(var _a=arguments.length,rl=new Array(_a>1?_a-1:0),ol=1;ol<_a;ol++)rl[ol-1]=arguments[ol];if(Ji&&(!wa||!Ea.current)){var kl;wa&&(Ea.current=!0),(kl=bo.current)===null||kl===void 0||kl.onKeyDown.apply(kl,[Ci].concat(rl))}Fn==null||Fn.apply(void 0,[Ci].concat(rl))},Ya=function(Ci){for(var sa=arguments.length,Ma=new Array(sa>1?sa-1:0),wa=1;wa<sa;wa++)Ma[wa-1]=arguments[wa];if(Ji){var _i;(_i=bo.current)===null||_i===void 0||_i.onKeyUp.apply(_i,[Ci].concat(Ma))}Ci.key==="Enter"&&(Ea.current=!1),en==null||en.apply(void 0,[Ci].concat(Ma))},Ii=function(Ci){var sa=xt.filter(function(Ma){return Ma!==Ci});Ft(sa,{type:"remove",values:[Ci]})},Ga=function(){Ea.current=!1},wl=fe.useRef(!1),cl=function(){Ki(!0),pr||(ot&&!wl.current&&ot.apply(void 0,arguments),Rt.includes("focus")&&hi(!0)),wl.current=!0},el=function(){Bo.current=!0,Ki(!1,function(){wl.current=!1,Bo.current=!1,hi(!1)}),!pr&&(Mo&&(Kn==="tags"?gr(Mo,{source:"submit"}):Kn==="multiple"&&gr("",{source:"blur"})),Ot&&Ot.apply(void 0,arguments))},Xa=[];fe.useEffect(function(){return function(){Xa.forEach(function(Hi){return clearTimeout(Hi)}),Xa.splice(0,Xa.length)}},[]);var Al=function(Ci){var sa,Ma=Ci.target,wa=(sa=co.current)===null||sa===void 0?void 0:sa.getPopupElement();if(wa&&wa.contains(Ma)){var _i=setTimeout(function(){var _a=Xa.indexOf(_i);if(_a!==-1&&Xa.splice(_a,1),Wo(),!Jr&&!wa.contains(document.activeElement)){var rl;(rl=fo.current)===null||rl===void 0||rl.focus()}});Xa.push(_i)}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,[Ci].concat(Ka))},xl=fe.useState({}),Hl=(0,Oe.Z)(xl,2),Yl=Hl[1];function as(){Yl({})}var ns;zi&&(ns=function(Ci){hi(Ci)}),ft(function(){var Hi;return[io.current,(Hi=co.current)===null||Hi===void 0?void 0:Hi.getPopupElement()]},El,hi,!!zi);var Cs=fe.useMemo(function(){return(0,tt.Z)((0,tt.Z)({},wt),{},{notFoundContent:Tn,open:Ji,triggerOpen:El,id:ht,showSearch:$n,multiple:Hn,toggleOpen:hi})},[wt,Tn,El,Ji,ht,$n,Hn,hi]),rs=!!mo||Ar,Dl;rs&&(Dl=fe.createElement(Ve,{className:Ce()("".concat(Ye,"-arrow"),(0,de.Z)({},"".concat(Ye,"-arrow-loading"),Ar)),customizeIcon:mo,customizeIconProps:{loading:Ar,searchValue:Mo,open:Ji,focused:bi,showSearch:$n}}));var Gl=function(){var Ci;kn==null||kn(),(Ci=fo.current)===null||Ci===void 0||Ci.focus(),Ft([],{type:"clear",values:xt}),si("",!1,!1)},os=rt(Ye,Gl,xt,wr,Qr,pr,Mo,Kn),hs=os.allowClear,_l=os.clearIcon,is=fe.createElement(qr,{ref:bo}),$a=Ce()(Ye,St,(0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(Ye,"-focused"),bi),"".concat(Ye,"-multiple"),Hn),"".concat(Ye,"-single"),!Hn),"".concat(Ye,"-allow-clear"),wr),"".concat(Ye,"-show-arrow"),rs),"".concat(Ye,"-disabled"),pr),"".concat(Ye,"-loading"),Ar),"".concat(Ye,"-open"),Ji),"".concat(Ye,"-customize-input"),Wi),"".concat(Ye,"-show-search"),$n)),Qa=fe.createElement(re,{ref:co,disabled:pr,prefixCls:Ye,visible:El,popupElement:is,animation:eo,transitionName:ko,dropdownStyle:_o,dropdownClassName:qo,direction:ar,dropdownMatchSelectWidth:Lo,dropdownRender:ii,dropdownAlign:ke,placement:nt,builtinPlacements:Mt,getPopupContainer:un,empty:Kt,getTriggerDOMNode:function(Ci){return Io.current||Ci},onPopupVisibleChange:ns,onPopupMouseEnter:as},zi?fe.cloneElement(zi,{ref:Xi}):fe.createElement(Et,(0,b.Z)({},wt,{domRef:Io,prefixCls:Ye,inputElement:Wi,ref:fo,id:ht,prefix:Rr,showSearch:$n,autoClearSearchValue:ur,mode:Kn,activeDescendantId:vo,tagRender:tr,values:xt,open:Ji,onToggleOpen:hi,activeValue:$r,searchValue:Mo,onSearch:si,onSearchSubmit:da,onRemove:Ii,tokenWithEnter:mi,onInputBlur:Ga}))),fa;return zi?fa=Qa:fa=fe.createElement("div",(0,b.Z)({className:$a},Cr,{ref:io,onMouseDown:Al,onKeyDown:Oa,onKeyUp:Ya,onFocus:cl,onBlur:el}),fe.createElement(Ue,{visible:bi&&!Ji,values:xt}),Qa,Dl,hs&&_l),fe.createElement(Nt.Provider,{value:Cs},fa)}),Xt=cn,an=function(){return null};an.isSelectOptGroup=!0;var mn=an,vt=function(){return null};vt.isSelectOption=!0;var Yt=vt,gn=z(80547),At=z(2738),_e=z(48911);function Vt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var nn=["disabled","title","children","style","className"];function dn(wt){return typeof wt=="string"||typeof wt=="number"}var Ln=function(zt,Re){var ht=Ut(),Ye=ht.prefixCls,St=ht.id,_t=ht.open,tr=ht.multiple,ar=ht.mode,bt=ht.searchValue,xt=ht.toggleOpen,Ft=ht.notFoundContent,Kt=ht.onPopupScroll,Pn=fe.useContext(Le),Tn=Pn.maxCount,kn=Pn.flattenOptions,Kn=Pn.onActiveValue,pr=Pn.defaultActiveFirstOption,Ar=Pn.onSelect,Vr=Pn.menuItemSelectedIcon,Br=Pn.rawValues,fr=Pn.fieldNames,Pr=Pn.virtual,kr=Pn.direction,$r=Pn.listHeight,Xr=Pn.listItemHeight,vo=Pn.optionRender,yr="".concat(Ye,"-item"),ur=(0,gn.Z)(function(){return kn},[_t,kn],function(fn,Rt){return Rt[0]&&fn[1]!==Rt[1]}),gr=fe.useRef(null),no=fe.useMemo(function(){return tr&&st(Tn)&&(Br==null?void 0:Br.size)>=Tn},[tr,Tn,Br==null?void 0:Br.size]),Kr=function(Rt){Rt.preventDefault()},wr=function(Rt){var ot;(ot=gr.current)===null||ot===void 0||ot.scrollTo(typeof Rt=="number"?{index:Rt}:Rt)},Rr=fe.useCallback(function(fn){return ar==="combobox"?!1:Br.has(fn)},[ar,(0,xe.Z)(Br).toString(),Br.size]),mo=function(Rt){for(var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ot=ur.length,en=0;en<Ot;en+=1){var Fn=(Rt+en*ot+Ot)%Ot,Zn=ur[Fn]||{},An=Zn.group,Hn=Zn.data;if(!An&&!(Hn!=null&&Hn.disabled)&&(Rr(Hn.value)||!no))return Fn}return-1},Qr=fe.useState(function(){return mo(0)}),qr=(0,Oe.Z)(Qr,2),eo=qr[0],ko=qr[1],_o=function(Rt){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ko(Rt);var Ot={source:ot?"keyboard":"mouse"},en=ur[Rt];if(!en){Kn(null,-1,Ot);return}Kn(en.value,Rt,Ot)};(0,fe.useEffect)(function(){_o(pr!==!1?mo(0):-1)},[ur.length,bt]);var qo=fe.useCallback(function(fn){return ar==="combobox"?String(fn).toLowerCase()===bt.toLowerCase():Br.has(fn)},[ar,bt,(0,xe.Z)(Br).toString(),Br.size]);(0,fe.useEffect)(function(){var fn=setTimeout(function(){if(!tr&&_t&&Br.size===1){var ot=Array.from(Br)[0],Ot=ur.findIndex(function(en){var Fn=en.data;return bt?String(Fn.value).startsWith(bt):Fn.value===ot});Ot!==-1&&(_o(Ot),wr(Ot))}});if(_t){var Rt;(Rt=gr.current)===null||Rt===void 0||Rt.scrollTo(void 0)}return function(){return clearTimeout(fn)}},[_t,bt]);var Lo=function(Rt){Rt!==void 0&&Ar(Rt,{selected:!Br.has(Rt)}),tr||xt(!1)};if(fe.useImperativeHandle(Re,function(){return{onKeyDown:function(Rt){var ot=Rt.which,Ot=Rt.ctrlKey;switch(ot){case mt.Z.N:case mt.Z.P:case mt.Z.UP:case mt.Z.DOWN:{var en=0;if(ot===mt.Z.UP?en=-1:ot===mt.Z.DOWN?en=1:Vt()&&Ot&&(ot===mt.Z.N?en=1:ot===mt.Z.P&&(en=-1)),en!==0){var Fn=mo(eo+en,en);wr(Fn),_o(Fn,!0)}break}case mt.Z.TAB:case mt.Z.ENTER:{var Zn,An=ur[eo];An&&!(An!=null&&(Zn=An.data)!==null&&Zn!==void 0&&Zn.disabled)&&!no?Lo(An.value):Lo(void 0),_t&&Rt.preventDefault();break}case mt.Z.ESC:xt(!1),_t&&Rt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Rt){wr(Rt)}}}),ur.length===0)return fe.createElement("div",{role:"listbox",id:"".concat(St,"_list"),className:"".concat(yr,"-empty"),onMouseDown:Kr},Ft);var ii=Object.keys(fr).map(function(fn){return fr[fn]}),ke=function(Rt){return Rt.label};function nt(fn,Rt){var ot=fn.group;return{role:ot?"presentation":"option",id:"".concat(St,"_list_").concat(Rt)}}var Mt=function(Rt){var ot=ur[Rt];if(!ot)return null;var Ot=ot.data||{},en=Ot.value,Fn=ot.group,Zn=(0,Je.Z)(Ot,!0),An=ke(ot);return ot?fe.createElement("div",(0,b.Z)({"aria-label":typeof An=="string"&&!Fn?An:null},Zn,{key:Rt},nt(ot,Rt),{"aria-selected":qo(en)}),en):null},un={role:"listbox",id:"".concat(St,"_list")};return fe.createElement(fe.Fragment,null,Pr&&fe.createElement("div",(0,b.Z)({},un,{style:{height:0,width:0,overflow:"hidden"}}),Mt(eo-1),Mt(eo),Mt(eo+1)),fe.createElement(_e.Z,{itemKey:"key",ref:gr,data:ur,height:$r,itemHeight:Xr,fullHeight:!1,onMouseDown:Kr,onScroll:Kt,virtual:Pr,direction:kr,innerProps:Pr?null:un},function(fn,Rt){var ot=fn.group,Ot=fn.groupOption,en=fn.data,Fn=fn.label,Zn=fn.value,An=en.key;if(ot){var Hn,$n=(Hn=en.title)!==null&&Hn!==void 0?Hn:dn(Fn)?Fn.toString():void 0;return fe.createElement("div",{className:Ce()(yr,"".concat(yr,"-group"),en.className),title:$n},Fn!==void 0?Fn:An)}var Cr=en.disabled,br=en.title,Wr=en.children,Jr=en.style,yo=en.className,io=(0,be.Z)(en,nn),Io=(0,At.Z)(io,ii),co=Rr(Zn),fo=Cr||!co&&no,bo="".concat(yr,"-option"),Bo=Ce()(yr,bo,yo,(0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(bo,"-grouped"),Ot),"".concat(bo,"-active"),eo===Rt&&!fo),"".concat(bo,"-disabled"),fo),"".concat(bo,"-selected"),co)),ri=ke(fn),Si=!Vr||typeof Vr=="function"||co,bi=typeof ri=="number"?ri:ri||Zn,Ki=dn(bi)?bi.toString():void 0;return br!==void 0&&(Ki=br),fe.createElement("div",(0,b.Z)({},(0,Je.Z)(Io),Pr?{}:nt(fn,Rt),{"aria-selected":qo(Zn),className:Bo,title:Ki,onMouseMove:function(){eo===Rt||fo||_o(Rt)},onClick:function(){fo||Lo(Zn)},style:Jr}),fe.createElement("div",{className:"".concat(bo,"-content")},typeof vo=="function"?vo(fn,{index:Rt}):bi),fe.isValidElement(Vr)||co,Si&&fe.createElement(Ve,{className:"".concat(yr,"-option-state"),customizeIcon:Vr,customizeIconProps:{value:Zn,disabled:fo,isSelected:co}},co?"\u2713":null))}))},Qn=fe.forwardRef(Ln),hr=Qn,vr=function(wt,zt){var Re=fe.useRef({values:new Map,options:new Map}),ht=fe.useMemo(function(){var St=Re.current,_t=St.values,tr=St.options,ar=wt.map(function(Ft){if(Ft.label===void 0){var Kt;return(0,tt.Z)((0,tt.Z)({},Ft),{},{label:(Kt=_t.get(Ft.value))===null||Kt===void 0?void 0:Kt.label})}return Ft}),bt=new Map,xt=new Map;return ar.forEach(function(Ft){bt.set(Ft.value,Ft),xt.set(Ft.value,zt.get(Ft.value)||tr.get(Ft.value))}),Re.current.values=bt,Re.current.options=xt,ar},[wt,zt]),Ye=fe.useCallback(function(St){return zt.get(St)||Re.current.options.get(St)},[zt]);return[ht,Ye]};function Jn(wt,zt){return He(wt).join("").toUpperCase().includes(zt)}var dr=function(wt,zt,Re,ht,Ye){return fe.useMemo(function(){if(!Re||ht===!1)return wt;var St=zt.options,_t=zt.label,tr=zt.value,ar=[],bt=typeof ht=="function",xt=Re.toUpperCase(),Ft=bt?ht:function(Pn,Tn){return Ye?Jn(Tn[Ye],xt):Tn[St]?Jn(Tn[_t!=="children"?_t:"label"],xt):Jn(Tn[tr],xt)},Kt=bt?function(Pn){return pt(Pn)}:function(Pn){return Pn};return wt.forEach(function(Pn){if(Pn[St]){var Tn=Ft(Re,Kt(Pn));if(Tn)ar.push(Pn);else{var kn=Pn[St].filter(function(Kn){return Ft(Re,Kt(Kn))});kn.length&&ar.push((0,tt.Z)((0,tt.Z)({},Pn),{},(0,de.Z)({},St,kn)))}return}Ft(Re,Kt(Pn))&&ar.push(Pn)}),ar},[wt,ht,Ye,Re,zt])},Jt=z(6551),En=z(11592),qn=["children","value"],nr=["children"];function jn(wt){var zt=wt,Re=zt.key,ht=zt.props,Ye=ht.children,St=ht.value,_t=(0,be.Z)(ht,qn);return(0,tt.Z)({key:Re,value:St!==void 0?St:Re,children:Ye},_t)}function xn(wt){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,En.Z)(wt).map(function(Re,ht){if(!fe.isValidElement(Re)||!Re.type)return null;var Ye=Re,St=Ye.type.isSelectOptGroup,_t=Ye.key,tr=Ye.props,ar=tr.children,bt=(0,be.Z)(tr,nr);return zt||!St?jn(Re):(0,tt.Z)((0,tt.Z)({key:"__RC_SELECT_GRP__".concat(_t===null?ht:_t,"__"),label:_t},bt),{},{options:xn(ar)})}).filter(function(Re){return Re})}var ut=function(zt,Re,ht,Ye,St){return fe.useMemo(function(){var _t=zt,tr=!zt;tr&&(_t=xn(Re));var ar=new Map,bt=new Map,xt=function(Pn,Tn,kn){kn&&typeof kn=="string"&&Pn.set(Tn[kn],Tn)},Ft=function Kt(Pn){for(var Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kn=0;kn<Pn.length;kn+=1){var Kn=Pn[kn];!Kn[ht.options]||Tn?(ar.set(Kn[ht.value],Kn),xt(bt,Kn,ht.label),xt(bt,Kn,Ye),xt(bt,Kn,St)):Kt(Kn[ht.options],!0)}};return Ft(_t),{options:_t,valueOptions:ar,labelOptions:bt}},[zt,Re,ht,Ye,St])},qt=ut;function Dt(wt){var zt=fe.useRef();zt.current=wt;var Re=fe.useCallback(function(){return zt.current.apply(zt,arguments)},[]);return Re}function sn(wt){var zt=wt.mode,Re=wt.options,ht=wt.children,Ye=wt.backfill,St=wt.allowClear,_t=wt.placeholder,tr=wt.getInputElement,ar=wt.showSearch,bt=wt.onSearch,xt=wt.defaultOpen,Ft=wt.autoFocus,Kt=wt.labelInValue,Pn=wt.value,Tn=wt.inputValue,kn=wt.optionLabelProp,Kn=isMultiple(zt),pr=ar!==void 0?ar:Kn||zt==="combobox",Ar=Re||convertChildrenToData(ht);if(warning(zt!=="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."),zt==="tags"||zt==="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(zt!=="combobox"||!kn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(zt==="combobox"||!Ye,"`backfill` only works with `combobox` mode."),warning(zt==="combobox"||!tr,"`getInputElement` only work with `combobox` mode."),noteOnce(zt!=="combobox"||!tr||!St||!_t,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),bt&&!pr&&zt!=="combobox"&&zt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!xt||Ft,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Pn!=null){var Br=toArray(Pn);warning(!Kt||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(!Kn||Array.isArray(Pn),"`value` should be array when `mode` is `multiple` or `tags`")}if(ht){var fr=null;toNodeArray(ht).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(vo){return!React.isValidElement(vo)||!Pr.type||vo.type.isSelectOption?!0:(fr=vo.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(Tn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Sn(wt,zt){if(wt){var Re=function ht(Ye){for(var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=0;_t<Ye.length;_t++){var tr=Ye[_t];if(tr[zt==null?void 0:zt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!St&&Array.isArray(tr[zt==null?void 0:zt.options])&&ht(tr[zt==null?void 0:zt.options],!0))break}};Re(wt)}}var vn=null,Bn=["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"],Un=["inputValue"];function Yn(wt){return!wt||(0,Fe.Z)(wt)!=="object"}var $t=fe.forwardRef(function(wt,zt){var Re=wt.id,ht=wt.mode,Ye=wt.prefixCls,St=Ye===void 0?"rc-select":Ye,_t=wt.backfill,tr=wt.fieldNames,ar=wt.inputValue,bt=wt.searchValue,xt=wt.onSearch,Ft=wt.autoClearSearchValue,Kt=Ft===void 0?!0:Ft,Pn=wt.onSelect,Tn=wt.onDeselect,kn=wt.dropdownMatchSelectWidth,Kn=kn===void 0?!0:kn,pr=wt.filterOption,Ar=wt.filterSort,Vr=wt.optionFilterProp,Br=wt.optionLabelProp,fr=wt.options,Pr=wt.optionRender,kr=wt.children,$r=wt.defaultActiveFirstOption,Xr=wt.menuItemSelectedIcon,vo=wt.virtual,yr=wt.direction,ur=wt.listHeight,gr=ur===void 0?200:ur,no=wt.listItemHeight,Kr=no===void 0?20:no,wr=wt.labelRender,Rr=wt.value,mo=wt.defaultValue,Qr=wt.labelInValue,qr=wt.onChange,eo=wt.maxCount,ko=(0,be.Z)(wt,Bn),_o=(0,Jt.ZP)(Re),qo=Cn(ht),Lo=!!(!fr&&kr),ii=fe.useMemo(function(){return pr===void 0&&ht==="combobox"?!1:pr},[pr,ht]),ke=fe.useMemo(function(){return Qe(tr,Lo)},[JSON.stringify(tr),Lo]),nt=(0,ze.Z)("",{value:bt!==void 0?bt:ar,postState:function(mi){return mi||""}}),Mt=(0,Oe.Z)(nt,2),un=Mt[0],fn=Mt[1],Rt=qt(fr,kr,ke,Vr,Br),ot=Rt.valueOptions,Ot=Rt.labelOptions,en=Rt.options,Fn=fe.useCallback(function(hi){var mi=He(hi);return mi.map(function(wo){var ho,To,si,da,Ri;if(Yn(wo))ho=wo;else{var Li;si=wo.key,To=wo.label,ho=(Li=wo.value)!==null&&Li!==void 0?Li:si}var Oi=ot.get(ho);if(Oi){var pa;if(To===void 0&&(To=Oi==null?void 0:Oi[Br||ke.label]),si===void 0&&(si=(pa=Oi==null?void 0:Oi.key)!==null&&pa!==void 0?pa:ho),da=Oi==null?void 0:Oi.disabled,Ri=Oi==null?void 0:Oi.title,0)var Ea}return{label:To,value:ho,key:si,disabled:da,title:Ri}})},[ke,Br,ot]),Zn=(0,ze.Z)(mo,{value:Rr}),An=(0,Oe.Z)(Zn,2),Hn=An[0],$n=An[1],Cr=fe.useMemo(function(){var hi,mi=qo&&Hn===null?[]:Hn,wo=Fn(mi);return ht==="combobox"&&ve((hi=wo[0])===null||hi===void 0?void 0:hi.value)?[]:wo},[Hn,Fn,ht,qo]),br=vr(Cr,ot),Wr=(0,Oe.Z)(br,2),Jr=Wr[0],yo=Wr[1],io=fe.useMemo(function(){if(!ht&&Jr.length===1){var hi=Jr[0];if(hi.value===null&&(hi.label===null||hi.label===void 0))return[]}return Jr.map(function(mi){var wo;return(0,tt.Z)((0,tt.Z)({},mi),{},{label:(wo=typeof wr=="function"?wr(mi):mi.label)!==null&&wo!==void 0?wo:mi.value})})},[ht,Jr,wr]),Io=fe.useMemo(function(){return new Set(Jr.map(function(hi){return hi.value}))},[Jr]);fe.useEffect(function(){if(ht==="combobox"){var hi,mi=(hi=Jr[0])===null||hi===void 0?void 0:hi.value;fn(Ae(mi)?String(mi):"")}},[Jr]);var co=Dt(function(hi,mi){var wo=mi!=null?mi:hi;return(0,de.Z)((0,de.Z)({},ke.value,hi),ke.label,wo)}),fo=fe.useMemo(function(){if(ht!=="tags")return en;var hi=(0,xe.Z)(en),mi=function(ho){return ot.has(ho)};return(0,xe.Z)(Jr).sort(function(wo,ho){return wo.value<ho.value?-1:1}).forEach(function(wo){var ho=wo.value;mi(ho)||hi.push(co(ho,wo.label))}),hi},[co,en,ot,Jr,ht]),bo=dr(fo,ke,un,ii,Vr),Bo=fe.useMemo(function(){return ht!=="tags"||!un||bo.some(function(hi){return hi[Vr||"value"]===un})||bo.some(function(hi){return hi[ke.value]===un})?bo:[co(un)].concat((0,xe.Z)(bo))},[co,Vr,ht,bo,un,ke]),ri=function hi(mi){var wo=(0,xe.Z)(mi).sort(function(ho,To){return Ar(ho,To,{searchValue:un})});return wo.map(function(ho){return Array.isArray(ho.options)?(0,tt.Z)((0,tt.Z)({},ho),{},{options:ho.options.length>0?hi(ho.options):ho.options}):ho})},Si=fe.useMemo(function(){return Ar?ri(Bo):Bo},[Bo,Ar,un]),bi=fe.useMemo(function(){return Ie(Si,{fieldNames:ke,childrenAsData:Lo})},[Si,ke,Lo]),Ki=function(mi){var wo=Fn(mi);if($n(wo),qr&&(wo.length!==Jr.length||wo.some(function(si,da){var Ri;return((Ri=Jr[da])===null||Ri===void 0?void 0:Ri.value)!==(si==null?void 0:si.value)}))){var ho=Qr?wo:wo.map(function(si){return si.value}),To=wo.map(function(si){return pt(yo(si.value))});qr(qo?ho:ho[0],qo?To:To[0])}},Wo=fe.useState(null),Mo=(0,Oe.Z)(Wo,2),Wi=Mo[0],zi=Mo[1],Xi=fe.useState(0),Wa=(0,Oe.Z)(Xi,2),Pa=Wa[0],Ta=Wa[1],Ba=$r!==void 0?$r:ht!=="combobox",Ui=fe.useCallback(function(hi,mi){var wo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ho=wo.source,To=ho===void 0?"keyboard":ho;Ta(mi),_t&&ht==="combobox"&&hi!==null&&To==="keyboard"&&zi(String(hi))},[_t,ht]),Fa=function(mi,wo,ho){var To=function(){var Ii,Ga=yo(mi);return[Qr?{label:Ga==null?void 0:Ga[ke.label],value:mi,key:(Ii=Ga==null?void 0:Ga.key)!==null&&Ii!==void 0?Ii:mi}:mi,pt(Ga)]};if(wo&&Pn){var si=To(),da=(0,Oe.Z)(si,2),Ri=da[0],Li=da[1];Pn(Ri,Li)}else if(!wo&&Tn&&ho!=="clear"){var Oi=To(),pa=(0,Oe.Z)(Oi,2),Ea=pa[0],Oa=pa[1];Tn(Ea,Oa)}},ul=Dt(function(hi,mi){var wo,ho=qo?mi.selected:!0;ho?wo=qo?[].concat((0,xe.Z)(Jr),[hi]):[hi]:wo=Jr.filter(function(To){return To.value!==hi}),Ki(wo),Fa(hi,ho),ht==="combobox"?zi(""):(!Cn||Kt)&&(fn(""),zi(""))}),Ja=function(mi,wo){Ki(mi);var ho=wo.type,To=wo.values;(ho==="remove"||ho==="clear")&&To.forEach(function(si){Fa(si.value,!1,ho)})},Ji=function(mi,wo){if(fn(mi),zi(null),wo.source==="submit"){var ho=(mi||"").trim();if(ho){var To=Array.from(new Set([].concat((0,xe.Z)(Io),[ho])));Ki(To),Fa(ho,!0),fn("")}return}wo.source!=="blur"&&(ht==="combobox"&&Ki(mi),xt==null||xt(mi))},Nl=function(mi){var wo=mi;ht!=="tags"&&(wo=mi.map(function(To){var si=Ot.get(To);return si==null?void 0:si.value}).filter(function(To){return To!==void 0}));var ho=Array.from(new Set([].concat((0,xe.Z)(Io),(0,xe.Z)(wo))));Ki(ho),ho.forEach(function(To){Fa(To,!0)})},El=fe.useMemo(function(){var hi=vo!==!1&&Kn!==!1;return(0,tt.Z)((0,tt.Z)({},Rt),{},{flattenOptions:bi,onActiveValue:Ui,defaultActiveFirstOption:Ba,onSelect:ul,menuItemSelectedIcon:Xr,rawValues:Io,fieldNames:ke,virtual:hi,direction:yr,listHeight:gr,listItemHeight:Kr,childrenAsData:Lo,maxCount:eo,optionRender:Pr})},[eo,Rt,bi,Ui,Ba,ul,Xr,Io,ke,vo,Kn,yr,gr,Kr,Lo,Pr]);return fe.createElement(Le.Provider,{value:El},fe.createElement(Xt,(0,b.Z)({},ko,{id:_o,prefixCls:St,ref:zt,omitDomProps:Un,mode:ht,displayValues:io,onDisplayValuesChange:Ja,direction:yr,searchValue:un,onSearch:Ji,autoClearSearchValue:Kt,onSearchSplit:Nl,dropdownMatchSelectWidth:Kn,OptionList:hr,emptyOptions:!bi.length,activeValue:Wi,activeDescendantId:"".concat(_o,"_list_").concat(Pa)})))}),Mn=$t;Mn.Option=Yt,Mn.OptGroup=mn;var rn=Mn,or=rn},22711:function(Vn,hn,z){"use strict";z.r(hn),z.d(hn,{ResizableTextArea:function(){return Pe},default:function(){return Ct}});var b=z(54476),xe=z(20068),de=z(33885),tt=z(94480),Oe=z(42978),be=z(75931),Fe=z(92310),ze=z.n(Fe),Be=z(36901),fe=z(66003),Ge=z(30292),Ce=z(18929),yt=z(59301),et=z(76190),$e=z(29301),je=z(34280),Ve=z(16089),rt=`
|
|
|
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"],Ut={},se;function Me(He){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kt=He.getAttribute("id")||He.getAttribute("data-reactid")||He.getAttribute("name");if(We&&Ut[kt])return Ut[kt];var Ae=window.getComputedStyle(He),ve=Ae.getPropertyValue("box-sizing")||Ae.getPropertyValue("-moz-box-sizing")||Ae.getPropertyValue("-webkit-box-sizing"),gt=parseFloat(Ae.getPropertyValue("padding-bottom"))+parseFloat(Ae.getPropertyValue("padding-top")),Gt=parseFloat(Ae.getPropertyValue("border-bottom-width"))+parseFloat(Ae.getPropertyValue("border-top-width")),Ht=Nt.map(function(Te){return"".concat(Te,":").concat(Ae.getPropertyValue(Te))}).join(";"),pe={sizingStyle:Ht,paddingSize:gt,borderSize:Gt,boxSizing:ve};return We&&kt&&(Ut[kt]=pe),pe}function ft(He){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ae=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)),He.getAttribute("wrap")?se.setAttribute("wrap",He.getAttribute("wrap")):se.removeAttribute("wrap");var ve=Me(He,We),gt=ve.paddingSize,Gt=ve.borderSize,Ht=ve.boxSizing,pe=ve.sizingStyle;se.setAttribute("style","".concat(pe,";").concat(rt)),se.value=He.value||He.placeholder||"";var Te=void 0,Ke=void 0,tn,lt=se.scrollHeight;if(Ht==="border-box"?lt+=Gt:Ht==="content-box"&&(lt-=gt),kt!==null||Ae!==null){se.value=" ";var jt=se.scrollHeight-gt;kt!==null&&(Te=jt*kt,Ht==="border-box"&&(Te=Te+gt+Gt),lt=Math.max(Te,lt)),Ae!==null&&(Ke=jt*Ae,Ht==="border-box"&&(Ke=Ke+gt+Gt),tn=lt>Ke?"":"hidden",lt=Math.min(Ke,lt))}var ct={height:lt,overflowY:tn,resize:"none"};return Te&&(ct.minHeight=Te),Ke&&(ct.maxHeight=Ke),ct}var mt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Zt=0,Je=1,at=2,dt=yt.forwardRef(function(He,We){var kt=He,Ae=kt.prefixCls,ve=kt.defaultValue,gt=kt.value,Gt=kt.autoSize,Ht=kt.onResize,pe=kt.className,Te=kt.style,Ke=kt.disabled,tn=kt.onChange,lt=kt.onInternalAutoSize,jt=(0,be.Z)(kt,mt),ct=(0,Ce.Z)(ve,{value:gt,postState:function(Yt){return Yt!=null?Yt:""}}),ln=(0,Oe.Z)(ct,2),Et=ln[0],le=ln[1],ne=function(Yt){le(Yt.target.value),tn==null||tn(Yt)},te=yt.useRef();yt.useImperativeHandle(We,function(){return{textArea:te.current}});var ae=yt.useMemo(function(){return Gt&&(0,et.Z)(Gt)==="object"?[Gt.minRows,Gt.maxRows]:[]},[Gt]),he=(0,Oe.Z)(ae,2),re=he[0],ce=he[1],De=!!Gt,st=function(){try{if(document.activeElement===te.current){var Yt=te.current,gn=Yt.selectionStart,At=Yt.selectionEnd,_e=Yt.scrollTop;te.current.setSelectionRange(gn,At),te.current.scrollTop=_e}}catch(Vt){}},Qe=yt.useState(at),Ie=(0,Oe.Z)(Qe,2),pt=Ie[0],Pt=Ie[1],Tt=yt.useState(),Le=(0,Oe.Z)(Tt,2),Ue=Le[0],pn=Le[1],Wt=function(){Pt(Zt)};(0,je.Z)(function(){De&&Wt()},[gt,re,ce,De]),(0,je.Z)(function(){if(pt===Zt)Pt(Je);else if(pt===Je){var vt=ft(te.current,!1,re,ce);Pt(at),pn(vt)}else st()},[pt]);var Cn=yt.useRef(),cn=function(){Ve.Z.cancel(Cn.current)},Xt=function(Yt){pt===at&&(Ht==null||Ht(Yt),Gt&&(cn(),Cn.current=(0,Ve.Z)(function(){Wt()})))};yt.useEffect(function(){return cn},[]);var an=De?Ue:null,mn=(0,de.Z)((0,de.Z)({},Te),an);return(pt===Zt||pt===Je)&&(mn.overflowY="hidden",mn.overflowX="hidden"),yt.createElement($e.Z,{onResize:Xt,disabled:!(Gt||Ht)},yt.createElement("textarea",(0,b.Z)({},jt,{ref:te,style:mn,className:ze()(Ae,pe,(0,xe.Z)({},"".concat(Ae,"-disabled"),Ke)),disabled:Ke,value:Et,onChange:ne})))}),Pe=dt,Ze=["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"],Ee=yt.forwardRef(function(He,We){var kt,Ae=He.defaultValue,ve=He.value,gt=He.onFocus,Gt=He.onBlur,Ht=He.onChange,pe=He.allowClear,Te=He.maxLength,Ke=He.onCompositionStart,tn=He.onCompositionEnd,lt=He.suffix,jt=He.prefixCls,ct=jt===void 0?"rc-textarea":jt,ln=He.showCount,Et=He.count,le=He.className,ne=He.style,te=He.disabled,ae=He.hidden,he=He.classNames,re=He.styles,ce=He.onResize,De=He.onClear,st=He.onPressEnter,Qe=He.readOnly,Ie=He.autoSize,pt=He.onKeyDown,Pt=(0,be.Z)(He,Ze),Tt=(0,Ce.Z)(Ae,{value:ve,defaultValue:Ae}),Le=(0,Oe.Z)(Tt,2),Ue=Le[0],pn=Le[1],Wt=Ue==null?"":String(Ue),Cn=yt.useState(!1),cn=(0,Oe.Z)(Cn,2),Xt=cn[0],an=cn[1],mn=yt.useRef(!1),vt=yt.useState(null),Yt=(0,Oe.Z)(vt,2),gn=Yt[0],At=Yt[1],_e=(0,yt.useRef)(null),Vt=(0,yt.useRef)(null),nn=function(){var Mn;return(Mn=Vt.current)===null||Mn===void 0?void 0:Mn.textArea},dn=function(){nn().focus()};(0,yt.useImperativeHandle)(We,function(){var $t;return{resizableTextArea:Vt.current,focus:dn,blur:function(){nn().blur()},nativeElement:(($t=_e.current)===null||$t===void 0?void 0:$t.nativeElement)||nn()}}),(0,yt.useEffect)(function(){an(function($t){return!te&&$t})},[te]);var Ln=yt.useState(null),Qn=(0,Oe.Z)(Ln,2),hr=Qn[0],vr=Qn[1];yt.useEffect(function(){if(hr){var $t;($t=nn()).setSelectionRange.apply($t,(0,tt.Z)(hr))}},[hr]);var Jn=(0,fe.Z)(Et,ln),dr=(kt=Jn.max)!==null&&kt!==void 0?kt:Te,Jt=Number(dr)>0,En=Jn.strategy(Wt),qn=!!dr&&En>dr,nr=function(Mn,rn){var or=rn;!mn.current&&Jn.exceedFormatter&&Jn.max&&Jn.strategy(rn)>Jn.max&&(or=Jn.exceedFormatter(rn,{max:Jn.max}),rn!==or&&vr([nn().selectionStart||0,nn().selectionEnd||0])),pn(or),(0,Ge.rJ)(Mn.currentTarget,Mn,Ht,or)},jn=function(Mn){mn.current=!0,Ke==null||Ke(Mn)},xn=function(Mn){mn.current=!1,nr(Mn,Mn.currentTarget.value),tn==null||tn(Mn)},ut=function(Mn){nr(Mn,Mn.target.value)},qt=function(Mn){Mn.key==="Enter"&&st&&st(Mn),pt==null||pt(Mn)},Dt=function(Mn){an(!0),gt==null||gt(Mn)},sn=function(Mn){an(!1),Gt==null||Gt(Mn)},Sn=function(Mn){pn(""),dn(),(0,Ge.rJ)(nn(),Mn,Ht)},vn=lt,Bn;Jn.show&&(Jn.showFormatter?Bn=Jn.showFormatter({value:Wt,count:En,maxLength:dr}):Bn="".concat(En).concat(Jt?" / ".concat(dr):""),vn=yt.createElement(yt.Fragment,null,vn,yt.createElement("span",{className:ze()("".concat(ct,"-data-count"),he==null?void 0:he.count),style:re==null?void 0:re.count},Bn)));var Un=function(Mn){var rn;ce==null||ce(Mn),(rn=nn())!==null&&rn!==void 0&&rn.style.height&&At(!0)},Yn=!Ie&&!ln&&!pe;return yt.createElement(Be.BaseInput,{ref:_e,value:Wt,allowClear:pe,handleReset:Sn,suffix:vn,prefixCls:ct,classNames:(0,de.Z)((0,de.Z)({},he),{},{affixWrapper:ze()(he==null?void 0:he.affixWrapper,(0,xe.Z)((0,xe.Z)({},"".concat(ct,"-show-count"),ln),"".concat(ct,"-textarea-allow-clear"),pe))}),disabled:te,focused:Xt,className:ze()(le,qn&&"".concat(ct,"-out-of-range")),style:(0,de.Z)((0,de.Z)({},ne),gn&&!Yn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Bn=="string"?Bn:void 0}},hidden:ae,readOnly:Qe,onClear:De},yt.createElement(Pe,(0,b.Z)({},Pt,{autoSize:Ie,maxLength:Te,onKeyDown:qt,onChange:ut,onFocus:Dt,onBlur:sn,onCompositionStart:jn,onCompositionEnd:xn,className:ze()(he==null?void 0:he.textarea),style:(0,de.Z)((0,de.Z)({},re==null?void 0:re.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:te,prefixCls:ct,onResize:Un,ref:Vt,readOnly:Qe})))}),ue=Ee,Ct=ue},639:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Ut}});var b=z(54476),xe=z(20068),de=z(33885),tt=z(42978),Oe=z(75931),be=z(59301),Fe=z(92310),ze=z.n(Fe),Be=z(26112),fe=z(30699),Ge=function(Me){for(var ft=Me.prefixCls,mt=Me.level,Zt=Me.isStart,Je=Me.isEnd,at="".concat(ft,"-indent-unit"),dt=[],Pe=0;Pe<mt;Pe+=1)dt.push(be.createElement("span",{key:Pe,className:ze()(at,(0,xe.Z)((0,xe.Z)({},"".concat(at,"-start"),Zt[Pe]),"".concat(at,"-end"),Je[Pe]))}));return be.createElement("span",{"aria-hidden":"true",className:"".concat(ft,"-indent")},dt)},Ce=be.memo(Ge),yt=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"],je="open",Ve="close",rt="---",Nt=function(Me){var ft,mt,Zt,Je=Me.eventKey,at=Me.className,dt=Me.style,Pe=Me.dragOver,Ze=Me.dragOverGapTop,Ee=Me.dragOverGapBottom,ue=Me.isLeaf,Ct=Me.isStart,He=Me.isEnd,We=Me.expanded,kt=Me.selected,Ae=Me.checked,ve=Me.halfChecked,gt=Me.loading,Gt=Me.domRef,Ht=Me.active,pe=Me.data,Te=Me.onMouseMove,Ke=Me.selectable,tn=(0,Oe.Z)(Me,$e),lt=be.useContext(fe.k),jt=be.useContext(fe.y),ct=be.useRef(null),ln=be.useState(!1),Et=(0,tt.Z)(ln,2),le=Et[0],ne=Et[1],te=!!(lt.disabled||Me.disabled||(ft=jt.nodeDisabled)!==null&&ft!==void 0&&ft.call(jt,pe)),ae=be.useMemo(function(){return!lt.checkable||Me.checkable===!1?!1:lt.checkable},[lt.checkable,Me.checkable]),he=function(En){te||lt.onNodeSelect(En,(0,et.F)(Me))},re=function(En){te||!ae||Me.disableCheckbox||lt.onNodeCheck(En,(0,et.F)(Me),!Ae)},ce=be.useMemo(function(){return typeof Ke=="boolean"?Ke:lt.selectable},[Ke,lt.selectable]),De=function(En){lt.onNodeClick(En,(0,et.F)(Me)),ce?he(En):re(En)},st=function(En){lt.onNodeDoubleClick(En,(0,et.F)(Me))},Qe=function(En){lt.onNodeMouseEnter(En,(0,et.F)(Me))},Ie=function(En){lt.onNodeMouseLeave(En,(0,et.F)(Me))},pt=function(En){lt.onNodeContextMenu(En,(0,et.F)(Me))},Pt=be.useMemo(function(){return!!(lt.draggable&&(!lt.draggable.nodeDraggable||lt.draggable.nodeDraggable(pe)))},[lt.draggable,pe]),Tt=function(En){En.stopPropagation(),ne(!0),lt.onNodeDragStart(En,Me);try{En.dataTransfer.setData("text/plain","")}catch(qn){}},Le=function(En){En.preventDefault(),En.stopPropagation(),lt.onNodeDragEnter(En,Me)},Ue=function(En){En.preventDefault(),En.stopPropagation(),lt.onNodeDragOver(En,Me)},pn=function(En){En.stopPropagation(),lt.onNodeDragLeave(En,Me)},Wt=function(En){En.stopPropagation(),ne(!1),lt.onNodeDragEnd(En,Me)},Cn=function(En){En.preventDefault(),En.stopPropagation(),ne(!1),lt.onNodeDrop(En,Me)},cn=function(En){gt||lt.onNodeExpand(En,(0,et.F)(Me))},Xt=be.useMemo(function(){var Jt=(0,yt.Z)(lt.keyEntities,Je)||{},En=Jt.children;return!!(En||[]).length},[lt.keyEntities,Je]),an=be.useMemo(function(){return ue===!1?!1:ue||!lt.loadData&&!Xt||lt.loadData&&Me.loaded&&!Xt},[ue,lt.loadData,Xt,Me.loaded]);be.useEffect(function(){gt||typeof lt.loadData=="function"&&We&&!an&&!Me.loaded&<.onNodeLoad((0,et.F)(Me))},[gt,lt.loadData,lt.onNodeLoad,We,an,Me]);var mn=be.useMemo(function(){var Jt;return(Jt=lt.draggable)!==null&&Jt!==void 0&&Jt.icon?be.createElement("span",{className:"".concat(lt.prefixCls,"-draggable-icon")},lt.draggable.icon):null},[lt.draggable]),vt=function(En){var qn=Me.switcherIcon||lt.switcherIcon;return typeof qn=="function"?qn((0,de.Z)((0,de.Z)({},Me),{},{isLeaf:En})):qn},Yt=function(){if(an){var En=vt(!0);return En!==!1?be.createElement("span",{className:ze()("".concat(lt.prefixCls,"-switcher"),"".concat(lt.prefixCls,"-switcher-noop"))},En):null}var qn=vt(!1);return qn!==!1?be.createElement("span",{onClick:cn,className:ze()("".concat(lt.prefixCls,"-switcher"),"".concat(lt.prefixCls,"-switcher_").concat(We?je:Ve))},qn):null},gn=be.useMemo(function(){if(!ae)return null;var Jt=typeof ae!="boolean"?ae:null;return be.createElement("span",{className:ze()("".concat(lt.prefixCls,"-checkbox"),(0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(lt.prefixCls,"-checkbox-checked"),Ae),"".concat(lt.prefixCls,"-checkbox-indeterminate"),!Ae&&ve),"".concat(lt.prefixCls,"-checkbox-disabled"),te||Me.disableCheckbox)),onClick:re,role:"checkbox","aria-checked":ve?"mixed":Ae,"aria-disabled":te||Me.disableCheckbox,"aria-label":"Select ".concat(typeof Me.title=="string"?Me.title:"tree node")},Jt)},[ae,Ae,ve,te,Me.disableCheckbox,Me.title]),At=be.useMemo(function(){return an?null:We?je:Ve},[an,We]),_e=be.useMemo(function(){return be.createElement("span",{className:ze()("".concat(lt.prefixCls,"-iconEle"),"".concat(lt.prefixCls,"-icon__").concat(At||"docu"),(0,xe.Z)({},"".concat(lt.prefixCls,"-icon_loading"),gt))})},[lt.prefixCls,At,gt]),Vt=be.useMemo(function(){var Jt=!!lt.draggable,En=!Me.disabled&&Jt&<.dragOverNodeKey===Je;return En?lt.dropIndicatorRender({dropPosition:lt.dropPosition,dropLevelOffset:lt.dropLevelOffset,indent:lt.indent,prefixCls:lt.prefixCls,direction:lt.direction}):null},[lt.dropPosition,lt.dropLevelOffset,lt.indent,lt.prefixCls,lt.direction,lt.draggable,lt.dragOverNodeKey,lt.dropIndicatorRender]),nn=be.useMemo(function(){var Jt=Me.title,En=Jt===void 0?rt:Jt,qn="".concat(lt.prefixCls,"-node-content-wrapper"),nr;if(lt.showIcon){var jn=Me.icon||lt.icon;nr=jn?be.createElement("span",{className:ze()("".concat(lt.prefixCls,"-iconEle"),"".concat(lt.prefixCls,"-icon__customize"))},typeof jn=="function"?jn(Me):jn):_e}else lt.loadData&>&&(nr=_e);var xn;return typeof En=="function"?xn=En(pe):lt.titleRender?xn=lt.titleRender(pe):xn=En,be.createElement("span",{ref:ct,title:typeof En=="string"?En:"",className:ze()(qn,"".concat(qn,"-").concat(At||"normal"),(0,xe.Z)({},"".concat(lt.prefixCls,"-node-selected"),!te&&(kt||le))),onMouseEnter:Qe,onMouseLeave:Ie,onContextMenu:pt,onClick:De,onDoubleClick:st},nr,be.createElement("span",{className:"".concat(lt.prefixCls,"-title")},xn),Vt)},[lt.prefixCls,lt.showIcon,Me,lt.icon,_e,lt.titleRender,pe,At,Qe,Ie,pt,De,st]),dn=(0,Be.Z)(tn,{aria:!0,data:!0}),Ln=(0,yt.Z)(lt.keyEntities,Je)||{},Qn=Ln.level,hr=He[He.length-1],vr=!te&&Pt,Jn=lt.draggingNodeKey===Je,dr=Ke!==void 0?{"aria-selected":!!Ke}:void 0;return be.createElement("div",(0,b.Z)({ref:Gt,role:"treeitem","aria-expanded":ue?void 0:We,className:ze()(at,"".concat(lt.prefixCls,"-treenode"),(Zt={},(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)(Zt,"".concat(lt.prefixCls,"-treenode-disabled"),te),"".concat(lt.prefixCls,"-treenode-switcher-").concat(We?"open":"close"),!ue),"".concat(lt.prefixCls,"-treenode-checkbox-checked"),Ae),"".concat(lt.prefixCls,"-treenode-checkbox-indeterminate"),ve),"".concat(lt.prefixCls,"-treenode-selected"),kt),"".concat(lt.prefixCls,"-treenode-loading"),gt),"".concat(lt.prefixCls,"-treenode-active"),Ht),"".concat(lt.prefixCls,"-treenode-leaf-last"),hr),"".concat(lt.prefixCls,"-treenode-draggable"),Pt),"dragging",Jn),(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)(Zt,"drop-target",lt.dropTargetKey===Je),"drop-container",lt.dropContainerKey===Je),"drag-over",!te&&Pe),"drag-over-gap-top",!te&&Ze),"drag-over-gap-bottom",!te&&Ee),"filter-node",(mt=lt.filterTreeNode)===null||mt===void 0?void 0:mt.call(lt,(0,et.F)(Me))),"".concat(lt.prefixCls,"-treenode-leaf"),an))),style:dt,draggable:vr,onDragStart:vr?Tt:void 0,onDragEnter:Pt?Le:void 0,onDragOver:Pt?Ue:void 0,onDragLeave:Pt?pn:void 0,onDrop:Pt?Cn:void 0,onDragEnd:Pt?Wt:void 0,onMouseMove:Te},dr,dn),be.createElement(Ce,{prefixCls:lt.prefixCls,level:Qn,isStart:Ct,isEnd:He}),mn,Yt(),gn,nn)};Nt.isTreeNode=1;var Ut=Nt},30699:function(Vn,hn,z){"use strict";z.d(hn,{k:function(){return xe},y:function(){return de}});var b=z(59301),xe=b.createContext(null),de=b.createContext({})},3741:function(Vn,hn,z){"use strict";z.d(hn,{OF:function(){return Je.Z},y6:function(){return Ve.y},ZP:function(){return te}});var b=z(54476),xe=z(76190),de=z(33885),tt=z(94480),Oe=z(67732),be=z(83652),Fe=z(31226),ze=z(42403),Be=z(158),fe=z(20068),Ge=z(92310),Ce=z.n(Ge),yt=z(10228),et=z(26112),$e=z(48736),je=z(59301),Ve=z(30699),rt=function(he){var re=he.dropPosition,ce=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=-ce*De;break;case 1:st.bottom=0,st.left=-ce*De;break;case 0:st.bottom=0,st.left=De;break}return je.createElement("div",{style:st})},Nt=rt;function Ut(ae){if(ae==null)throw new TypeError("Cannot destructure "+ae)}var se=z(42978),Me=z(75931),ft=z(34280),mt=z(48911),Zt=z(77900),Je=z(639);function at(ae,he){var re=je.useState(!1),ce=(0,se.Z)(re,2),De=ce[0],st=ce[1];(0,ft.Z)(function(){if(De)return ae(),function(){he()}},[De]),(0,ft.Z)(function(){return st(!0),function(){st(!1)}},[])}var dt=at,Pe=z(34061),Ze=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Ee=je.forwardRef(function(ae,he){var re=ae.className,ce=ae.style,De=ae.motion,st=ae.motionNodes,Qe=ae.motionType,Ie=ae.onMotionStart,pt=ae.onMotionEnd,Pt=ae.active,Tt=ae.treeNodeRequiredProps,Le=(0,Me.Z)(ae,Ze),Ue=je.useState(!0),pn=(0,se.Z)(Ue,2),Wt=pn[0],Cn=pn[1],cn=je.useContext(Ve.k),Xt=cn.prefixCls,an=st&&Qe!=="hide";(0,ft.Z)(function(){st&&an!==Wt&&Cn(an)},[st]);var mn=function(){st&&Ie()},vt=je.useRef(!1),Yt=function(){st&&!vt.current&&(vt.current=!0,pt())};dt(mn,Yt);var gn=function(_e){an===_e&&Yt()};return st?je.createElement(Zt.default,(0,b.Z)({ref:he,visible:Wt},De,{motionAppear:Qe==="show",onVisibleChanged:gn}),function(At,_e){var Vt=At.className,nn=At.style;return je.createElement("div",{ref:_e,className:Ce()("".concat(Xt,"-treenode-motion"),Vt),style:nn},st.map(function(dn){var Ln=Object.assign({},(Ut(dn.data),dn.data)),Qn=dn.title,hr=dn.key,vr=dn.isStart,Jn=dn.isEnd;delete Ln.children;var dr=(0,Pe.H8)(hr,Tt);return je.createElement(Je.Z,(0,b.Z)({},Ln,dr,{title:Qn,active:Pt,data:dn.data,key:hr,isStart:vr,isEnd:Jn}))}))}):je.createElement(Je.Z,(0,b.Z)({domRef:he,className:re,style:ce},Le,{active:Pt}))}),ue=Ee;function Ct(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=ae.length,ce=he.length;if(Math.abs(re-ce)!==1)return{add:!1,key:null};function De(st,Qe){var Ie=new Map;st.forEach(function(Pt){Ie.set(Pt,!0)});var pt=Qe.filter(function(Pt){return!Ie.has(Pt)});return pt.length===1?pt[0]:null}return re<ce?{add:!0,key:De(ae,he)}:{add:!1,key:De(he,ae)}}function He(ae,he,re){var ce=ae.findIndex(function(Ie){return Ie.key===re}),De=ae[ce+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 We=["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"],kt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ae=function(){},ve="RC_TREE_MOTION_".concat(Math.random()),gt={key:ve},Gt={key:ve,level:0,index:0,pos:"0",node:gt,nodes:[gt]},Ht={parent:null,children:[],pos:Gt.pos,data:gt,title:null,key:ve,isStart:[],isEnd:[]};function pe(ae,he,re,ce){return he===!1||!re?ae:ae.slice(0,Math.ceil(re/ce)+1)}function Te(ae){var he=ae.key,re=ae.pos;return(0,Pe.km)(he,re)}function Ke(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=je.forwardRef(function(ae,he){var re=ae.prefixCls,ce=ae.data,De=ae.selectable,st=ae.checkable,Qe=ae.expandedKeys,Ie=ae.selectedKeys,pt=ae.checkedKeys,Pt=ae.loadedKeys,Tt=ae.loadingKeys,Le=ae.halfCheckedKeys,Ue=ae.keyEntities,pn=ae.disabled,Wt=ae.dragging,Cn=ae.dragOverNodeKey,cn=ae.dropPosition,Xt=ae.motion,an=ae.height,mn=ae.itemHeight,vt=ae.virtual,Yt=ae.scrollWidth,gn=ae.focusable,At=ae.activeItem,_e=ae.focused,Vt=ae.tabIndex,nn=ae.onKeyDown,dn=ae.onFocus,Ln=ae.onBlur,Qn=ae.onActiveChange,hr=ae.onListChangeStart,vr=ae.onListChangeEnd,Jn=(0,Me.Z)(ae,We),dr=je.useRef(null),Jt=je.useRef(null);je.useImperativeHandle(he,function(){return{scrollTo:function(tr){dr.current.scrollTo(tr)},getIndentWidth:function(){return Jt.current.offsetWidth}}});var En=je.useState(Qe),qn=(0,se.Z)(En,2),nr=qn[0],jn=qn[1],xn=je.useState(ce),ut=(0,se.Z)(xn,2),qt=ut[0],Dt=ut[1],sn=je.useState(ce),Sn=(0,se.Z)(sn,2),vn=Sn[0],Bn=Sn[1],Un=je.useState([]),Yn=(0,se.Z)(Un,2),$t=Yn[0],Mn=Yn[1],rn=je.useState(null),or=(0,se.Z)(rn,2),wt=or[0],zt=or[1],Re=je.useRef(ce);Re.current=ce;function ht(){var _t=Re.current;Dt(_t),Bn(_t),Mn([]),zt(null),vr()}(0,ft.Z)(function(){jn(Qe);var _t=Ct(nr,Qe);if(_t.key!==null)if(_t.add){var tr=qt.findIndex(function(Pn){var Tn=Pn.key;return Tn===_t.key}),ar=pe(He(qt,ce,_t.key),vt,an,mn),bt=qt.slice();bt.splice(tr+1,0,Ht),Bn(bt),Mn(ar),zt("show")}else{var xt=ce.findIndex(function(Pn){var Tn=Pn.key;return Tn===_t.key}),Ft=pe(He(ce,qt,_t.key),vt,an,mn),Kt=ce.slice();Kt.splice(xt+1,0,Ht),Bn(Kt),Mn(Ft),zt("hide")}else qt!==ce&&(Dt(ce),Bn(ce))},[Qe,ce]),je.useEffect(function(){Wt||ht()},[Wt]);var Ye=Xt?vn:ce,St={expandedKeys:Qe,selectedKeys:Ie,loadedKeys:Pt,loadingKeys:Tt,checkedKeys:pt,halfCheckedKeys:Le,dragOverNodeKey:Cn,dropPosition:cn,keyEntities:Ue};return je.createElement(je.Fragment,null,_e&&At&&je.createElement("span",{style:kt,"aria-live":"assertive"},Ke(At)),je.createElement("div",null,je.createElement("input",{style:kt,disabled:gn===!1||pn,tabIndex:gn!==!1?Vt:null,onKeyDown:nn,onFocus:dn,onBlur:Ln,value:"",onChange:Ae,"aria-label":"for screen reader"})),je.createElement("div",{className:"".concat(re,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},je.createElement("div",{className:"".concat(re,"-indent")},je.createElement("div",{ref:Jt,className:"".concat(re,"-indent-unit")}))),je.createElement(mt.Z,(0,b.Z)({},Jn,{data:Ye,itemKey:Te,height:an,fullHeight:!1,virtual:vt,itemHeight:mn,scrollWidth:Yt,prefixCls:"".concat(re,"-list"),ref:dr,role:"tree",onVisibleChange:function(tr){tr.every(function(ar){return Te(ar)!==ve})&&ht()}}),function(_t){var tr=_t.pos,ar=Object.assign({},(Ut(_t.data),_t.data)),bt=_t.title,xt=_t.key,Ft=_t.isStart,Kt=_t.isEnd,Pn=(0,Pe.km)(xt,tr);delete ar.key,delete ar.children;var Tn=(0,Pe.H8)(Pn,St);return je.createElement(ue,(0,b.Z)({},ar,Tn,{title:bt,active:!!At&&xt===At.key,pos:tr,data:_t.data,isStart:Ft,isEnd:Kt,motion:Xt,motionNodes:xt===ve?$t:null,motionType:wt,onMotionStart:hr,onMotionEnd:ht,treeNodeRequiredProps:St,onMouseMove:function(){Qn(null)}}))}))}),lt=tn,jt=z(82661),ct=z(34643),ln=z(65065),Et=10,le=function(ae){(0,ze.Z)(re,ae);var he=(0,Be.Z)(re);function re(){var ce;(0,Oe.Z)(this,re);for(var De=arguments.length,st=new Array(De),Qe=0;Qe<De;Qe++)st[Qe]=arguments[Qe];return ce=he.call.apply(he,[this].concat(st)),(0,fe.Z)((0,Fe.Z)(ce),"destroyed",!1),(0,fe.Z)((0,Fe.Z)(ce),"delayedDragEnterLogic",void 0),(0,fe.Z)((0,Fe.Z)(ce),"loadingRetryTimes",{}),(0,fe.Z)((0,Fe.Z)(ce),"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,fe.Z)((0,Fe.Z)(ce),"dragStartMousePosition",null),(0,fe.Z)((0,Fe.Z)(ce),"dragNodeProps",null),(0,fe.Z)((0,Fe.Z)(ce),"currentMouseOverDroppableNodeKey",null),(0,fe.Z)((0,Fe.Z)(ce),"listRef",je.createRef()),(0,fe.Z)((0,Fe.Z)(ce),"onNodeDragStart",function(Ie,pt){var Pt=ce.state,Tt=Pt.expandedKeys,Le=Pt.keyEntities,Ue=ce.props.onDragStart,pn=pt.eventKey;ce.dragNodeProps=pt,ce.dragStartMousePosition={x:Ie.clientX,y:Ie.clientY};var Wt=(0,jt._5)(Tt,pn);ce.setState({draggingNodeKey:pn,dragChildrenKeys:(0,jt.wA)(pn,Le),indent:ce.listRef.current.getIndentWidth()}),ce.setExpandedKeys(Wt),window.addEventListener("dragend",ce.onWindowDragEnd),Ue==null||Ue({event:Ie,node:(0,Pe.F)(pt)})}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeDragEnter",function(Ie,pt){var Pt=ce.state,Tt=Pt.expandedKeys,Le=Pt.keyEntities,Ue=Pt.dragChildrenKeys,pn=Pt.flattenNodes,Wt=Pt.indent,Cn=ce.props,cn=Cn.onDragEnter,Xt=Cn.onExpand,an=Cn.allowDrop,mn=Cn.direction,vt=pt.pos,Yt=pt.eventKey;if(ce.currentMouseOverDroppableNodeKey!==Yt&&(ce.currentMouseOverDroppableNodeKey=Yt),!ce.dragNodeProps){ce.resetDragState();return}var gn=(0,jt.OM)(Ie,ce.dragNodeProps,pt,Wt,ce.dragStartMousePosition,an,pn,Le,Tt,mn),At=gn.dropPosition,_e=gn.dropLevelOffset,Vt=gn.dropTargetKey,nn=gn.dropContainerKey,dn=gn.dropTargetPos,Ln=gn.dropAllowed,Qn=gn.dragOverNodeKey;if(Ue.includes(Vt)||!Ln){ce.resetDragState();return}if(ce.delayedDragEnterLogic||(ce.delayedDragEnterLogic={}),Object.keys(ce.delayedDragEnterLogic).forEach(function(hr){clearTimeout(ce.delayedDragEnterLogic[hr])}),ce.dragNodeProps.eventKey!==pt.eventKey&&(Ie.persist(),ce.delayedDragEnterLogic[vt]=window.setTimeout(function(){if(ce.state.draggingNodeKey!==null){var hr=(0,tt.Z)(Tt),vr=(0,ln.Z)(Le,pt.eventKey);vr&&(vr.children||[]).length&&(hr=(0,jt.L0)(Tt,pt.eventKey)),ce.props.hasOwnProperty("expandedKeys")||ce.setExpandedKeys(hr),Xt==null||Xt(hr,{node:(0,Pe.F)(pt),expanded:!0,nativeEvent:Ie.nativeEvent})}},800)),ce.dragNodeProps.eventKey===Vt&&_e===0){ce.resetDragState();return}ce.setState({dragOverNodeKey:Qn,dropPosition:At,dropLevelOffset:_e,dropTargetKey:Vt,dropContainerKey:nn,dropTargetPos:dn,dropAllowed:Ln}),cn==null||cn({event:Ie,node:(0,Pe.F)(pt),expandedKeys:Tt})}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeDragOver",function(Ie,pt){var Pt=ce.state,Tt=Pt.dragChildrenKeys,Le=Pt.flattenNodes,Ue=Pt.keyEntities,pn=Pt.expandedKeys,Wt=Pt.indent,Cn=ce.props,cn=Cn.onDragOver,Xt=Cn.allowDrop,an=Cn.direction;if(ce.dragNodeProps){var mn=(0,jt.OM)(Ie,ce.dragNodeProps,pt,Wt,ce.dragStartMousePosition,Xt,Le,Ue,pn,an),vt=mn.dropPosition,Yt=mn.dropLevelOffset,gn=mn.dropTargetKey,At=mn.dropContainerKey,_e=mn.dropTargetPos,Vt=mn.dropAllowed,nn=mn.dragOverNodeKey;Tt.includes(gn)||!Vt||(ce.dragNodeProps.eventKey===gn&&Yt===0?ce.state.dropPosition===null&&ce.state.dropLevelOffset===null&&ce.state.dropTargetKey===null&&ce.state.dropContainerKey===null&&ce.state.dropTargetPos===null&&ce.state.dropAllowed===!1&&ce.state.dragOverNodeKey===null||ce.resetDragState():vt===ce.state.dropPosition&&Yt===ce.state.dropLevelOffset&&gn===ce.state.dropTargetKey&&At===ce.state.dropContainerKey&&_e===ce.state.dropTargetPos&&Vt===ce.state.dropAllowed&&nn===ce.state.dragOverNodeKey||ce.setState({dropPosition:vt,dropLevelOffset:Yt,dropTargetKey:gn,dropContainerKey:At,dropTargetPos:_e,dropAllowed:Vt,dragOverNodeKey:nn}),cn==null||cn({event:Ie,node:(0,Pe.F)(pt)}))}}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeDragLeave",function(Ie,pt){ce.currentMouseOverDroppableNodeKey===pt.eventKey&&!Ie.currentTarget.contains(Ie.relatedTarget)&&(ce.resetDragState(),ce.currentMouseOverDroppableNodeKey=null);var Pt=ce.props.onDragLeave;Pt==null||Pt({event:Ie,node:(0,Pe.F)(pt)})}),(0,fe.Z)((0,Fe.Z)(ce),"onWindowDragEnd",function(Ie){ce.onNodeDragEnd(Ie,null,!0),window.removeEventListener("dragend",ce.onWindowDragEnd)}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeDragEnd",function(Ie,pt){var Pt=ce.props.onDragEnd;ce.setState({dragOverNodeKey:null}),ce.cleanDragState(),Pt==null||Pt({event:Ie,node:(0,Pe.F)(pt)}),ce.dragNodeProps=null,window.removeEventListener("dragend",ce.onWindowDragEnd)}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeDrop",function(Ie,pt){var Pt,Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Le=ce.state,Ue=Le.dragChildrenKeys,pn=Le.dropPosition,Wt=Le.dropTargetKey,Cn=Le.dropTargetPos,cn=Le.dropAllowed;if(cn){var Xt=ce.props.onDrop;if(ce.setState({dragOverNodeKey:null}),ce.cleanDragState(),Wt!==null){var an=(0,de.Z)((0,de.Z)({},(0,Pe.H8)(Wt,ce.getTreeNodeRequiredProps())),{},{active:((Pt=ce.getActiveItem())===null||Pt===void 0?void 0:Pt.key)===Wt,data:(0,ln.Z)(ce.state.keyEntities,Wt).node}),mn=Ue.includes(Wt);(0,$e.ZP)(!mn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var vt=(0,jt.yx)(Cn),Yt={event:Ie,node:(0,Pe.F)(an),dragNode:ce.dragNodeProps?(0,Pe.F)(ce.dragNodeProps):null,dragNodesKeys:[ce.dragNodeProps.eventKey].concat(Ue),dropToGap:pn!==0,dropPosition:pn+Number(vt[vt.length-1])};Tt||Xt==null||Xt(Yt),ce.dragNodeProps=null}}}),(0,fe.Z)((0,Fe.Z)(ce),"cleanDragState",function(){var Ie=ce.state.draggingNodeKey;Ie!==null&&ce.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ce.dragStartMousePosition=null,ce.currentMouseOverDroppableNodeKey=null}),(0,fe.Z)((0,Fe.Z)(ce),"triggerExpandActionExpand",function(Ie,pt){var Pt=ce.state,Tt=Pt.expandedKeys,Le=Pt.flattenNodes,Ue=pt.expanded,pn=pt.key,Wt=pt.isLeaf;if(!(Wt||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var Cn=Le.filter(function(Xt){return Xt.key===pn})[0],cn=(0,Pe.F)((0,de.Z)((0,de.Z)({},(0,Pe.H8)(pn,ce.getTreeNodeRequiredProps())),{},{data:Cn.data}));ce.setExpandedKeys(Ue?(0,jt._5)(Tt,pn):(0,jt.L0)(Tt,pn)),ce.onNodeExpand(Ie,cn)}}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeClick",function(Ie,pt){var Pt=ce.props,Tt=Pt.onClick,Le=Pt.expandAction;Le==="click"&&ce.triggerExpandActionExpand(Ie,pt),Tt==null||Tt(Ie,pt)}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeDoubleClick",function(Ie,pt){var Pt=ce.props,Tt=Pt.onDoubleClick,Le=Pt.expandAction;Le==="doubleClick"&&ce.triggerExpandActionExpand(Ie,pt),Tt==null||Tt(Ie,pt)}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeSelect",function(Ie,pt){var Pt=ce.state.selectedKeys,Tt=ce.state,Le=Tt.keyEntities,Ue=Tt.fieldNames,pn=ce.props,Wt=pn.onSelect,Cn=pn.multiple,cn=pt.selected,Xt=pt[Ue.key],an=!cn;an?Cn?Pt=(0,jt.L0)(Pt,Xt):Pt=[Xt]:Pt=(0,jt._5)(Pt,Xt);var mn=Pt.map(function(vt){var Yt=(0,ln.Z)(Le,vt);return Yt?Yt.node:null}).filter(Boolean);ce.setUncontrolledState({selectedKeys:Pt}),Wt==null||Wt(Pt,{event:"select",selected:an,node:pt,selectedNodes:mn,nativeEvent:Ie.nativeEvent})}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeCheck",function(Ie,pt,Pt){var Tt=ce.state,Le=Tt.keyEntities,Ue=Tt.checkedKeys,pn=Tt.halfCheckedKeys,Wt=ce.props,Cn=Wt.checkStrictly,cn=Wt.onCheck,Xt=pt.key,an,mn={event:"check",node:pt,checked:Pt,nativeEvent:Ie.nativeEvent};if(Cn){var vt=Pt?(0,jt.L0)(Ue,Xt):(0,jt._5)(Ue,Xt),Yt=(0,jt._5)(pn,Xt);an={checked:vt,halfChecked:Yt},mn.checkedNodes=vt.map(function(dn){return(0,ln.Z)(Le,dn)}).filter(Boolean).map(function(dn){return dn.node}),ce.setUncontrolledState({checkedKeys:vt})}else{var gn=(0,ct.S)([].concat((0,tt.Z)(Ue),[Xt]),!0,Le),At=gn.checkedKeys,_e=gn.halfCheckedKeys;if(!Pt){var Vt=new Set(At);Vt.delete(Xt);var nn=(0,ct.S)(Array.from(Vt),{checked:!1,halfCheckedKeys:_e},Le);At=nn.checkedKeys,_e=nn.halfCheckedKeys}an=At,mn.checkedNodes=[],mn.checkedNodesPositions=[],mn.halfCheckedKeys=_e,At.forEach(function(dn){var Ln=(0,ln.Z)(Le,dn);if(Ln){var Qn=Ln.node,hr=Ln.pos;mn.checkedNodes.push(Qn),mn.checkedNodesPositions.push({node:Qn,pos:hr})}}),ce.setUncontrolledState({checkedKeys:At},!1,{halfCheckedKeys:_e})}cn==null||cn(an,mn)}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeLoad",function(Ie){var pt,Pt=Ie.key,Tt=ce.state.keyEntities,Le=(0,ln.Z)(Tt,Pt);if(!(Le!=null&&(pt=Le.children)!==null&&pt!==void 0&&pt.length)){var Ue=new Promise(function(pn,Wt){ce.setState(function(Cn){var cn=Cn.loadedKeys,Xt=cn===void 0?[]:cn,an=Cn.loadingKeys,mn=an===void 0?[]:an,vt=ce.props,Yt=vt.loadData,gn=vt.onLoad;if(!Yt||Xt.includes(Pt)||mn.includes(Pt))return null;var At=Yt(Ie);return At.then(function(){var _e=ce.state.loadedKeys,Vt=(0,jt.L0)(_e,Pt);gn==null||gn(Vt,{event:"load",node:Ie}),ce.setUncontrolledState({loadedKeys:Vt}),ce.setState(function(nn){return{loadingKeys:(0,jt._5)(nn.loadingKeys,Pt)}}),pn()}).catch(function(_e){if(ce.setState(function(nn){return{loadingKeys:(0,jt._5)(nn.loadingKeys,Pt)}}),ce.loadingRetryTimes[Pt]=(ce.loadingRetryTimes[Pt]||0)+1,ce.loadingRetryTimes[Pt]>=Et){var Vt=ce.state.loadedKeys;(0,$e.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ce.setUncontrolledState({loadedKeys:(0,jt.L0)(Vt,Pt)}),pn()}Wt(_e)}),{loadingKeys:(0,jt.L0)(mn,Pt)}})});return Ue.catch(function(){}),Ue}}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeMouseEnter",function(Ie,pt){var Pt=ce.props.onMouseEnter;Pt==null||Pt({event:Ie,node:pt})}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeMouseLeave",function(Ie,pt){var Pt=ce.props.onMouseLeave;Pt==null||Pt({event:Ie,node:pt})}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeContextMenu",function(Ie,pt){var Pt=ce.props.onRightClick;Pt&&(Ie.preventDefault(),Pt({event:Ie,node:pt}))}),(0,fe.Z)((0,Fe.Z)(ce),"onFocus",function(){var Ie=ce.props.onFocus;ce.setState({focused:!0});for(var pt=arguments.length,Pt=new Array(pt),Tt=0;Tt<pt;Tt++)Pt[Tt]=arguments[Tt];Ie==null||Ie.apply(void 0,Pt)}),(0,fe.Z)((0,Fe.Z)(ce),"onBlur",function(){var Ie=ce.props.onBlur;ce.setState({focused:!1}),ce.onActiveChange(null);for(var pt=arguments.length,Pt=new Array(pt),Tt=0;Tt<pt;Tt++)Pt[Tt]=arguments[Tt];Ie==null||Ie.apply(void 0,Pt)}),(0,fe.Z)((0,Fe.Z)(ce),"getTreeNodeRequiredProps",function(){var Ie=ce.state,pt=Ie.expandedKeys,Pt=Ie.selectedKeys,Tt=Ie.loadedKeys,Le=Ie.loadingKeys,Ue=Ie.checkedKeys,pn=Ie.halfCheckedKeys,Wt=Ie.dragOverNodeKey,Cn=Ie.dropPosition,cn=Ie.keyEntities;return{expandedKeys:pt||[],selectedKeys:Pt||[],loadedKeys:Tt||[],loadingKeys:Le||[],checkedKeys:Ue||[],halfCheckedKeys:pn||[],dragOverNodeKey:Wt,dropPosition:Cn,keyEntities:cn}}),(0,fe.Z)((0,Fe.Z)(ce),"setExpandedKeys",function(Ie){var pt=ce.state,Pt=pt.treeData,Tt=pt.fieldNames,Le=(0,Pe.oH)(Pt,Ie,Tt);ce.setUncontrolledState({expandedKeys:Ie,flattenNodes:Le},!0)}),(0,fe.Z)((0,Fe.Z)(ce),"onNodeExpand",function(Ie,pt){var Pt=ce.state.expandedKeys,Tt=ce.state,Le=Tt.listChanging,Ue=Tt.fieldNames,pn=ce.props,Wt=pn.onExpand,Cn=pn.loadData,cn=pt.expanded,Xt=pt[Ue.key];if(!Le){var an=Pt.includes(Xt),mn=!cn;if((0,$e.ZP)(cn&&an||!cn&&!an,"Expand state not sync with index check"),Pt=mn?(0,jt.L0)(Pt,Xt):(0,jt._5)(Pt,Xt),ce.setExpandedKeys(Pt),Wt==null||Wt(Pt,{node:pt,expanded:mn,nativeEvent:Ie.nativeEvent}),mn&&Cn){var vt=ce.onNodeLoad(pt);vt&&vt.then(function(){var Yt=(0,Pe.oH)(ce.state.treeData,Pt,Ue);ce.setUncontrolledState({flattenNodes:Yt})}).catch(function(){var Yt=ce.state.expandedKeys,gn=(0,jt._5)(Yt,Xt);ce.setExpandedKeys(gn)})}}}),(0,fe.Z)((0,Fe.Z)(ce),"onListChangeStart",function(){ce.setUncontrolledState({listChanging:!0})}),(0,fe.Z)((0,Fe.Z)(ce),"onListChangeEnd",function(){setTimeout(function(){ce.setUncontrolledState({listChanging:!1})})}),(0,fe.Z)((0,Fe.Z)(ce),"onActiveChange",function(Ie){var pt=ce.state.activeKey,Pt=ce.props,Tt=Pt.onActiveChange,Le=Pt.itemScrollOffset,Ue=Le===void 0?0:Le;pt!==Ie&&(ce.setState({activeKey:Ie}),Ie!==null&&ce.scrollTo({key:Ie,offset:Ue}),Tt==null||Tt(Ie))}),(0,fe.Z)((0,Fe.Z)(ce),"getActiveItem",function(){var Ie=ce.state,pt=Ie.activeKey,Pt=Ie.flattenNodes;return pt===null?null:Pt.find(function(Tt){var Le=Tt.key;return Le===pt})||null}),(0,fe.Z)((0,Fe.Z)(ce),"offsetActiveKey",function(Ie){var pt=ce.state,Pt=pt.flattenNodes,Tt=pt.activeKey,Le=Pt.findIndex(function(Wt){var Cn=Wt.key;return Cn===Tt});Le===-1&&Ie<0&&(Le=Pt.length),Le=(Le+Ie+Pt.length)%Pt.length;var Ue=Pt[Le];if(Ue){var pn=Ue.key;ce.onActiveChange(pn)}else ce.onActiveChange(null)}),(0,fe.Z)((0,Fe.Z)(ce),"onKeyDown",function(Ie){var pt=ce.state,Pt=pt.activeKey,Tt=pt.expandedKeys,Le=pt.checkedKeys,Ue=pt.fieldNames,pn=ce.props,Wt=pn.onKeyDown,Cn=pn.checkable,cn=pn.selectable;switch(Ie.which){case yt.Z.UP:{ce.offsetActiveKey(-1),Ie.preventDefault();break}case yt.Z.DOWN:{ce.offsetActiveKey(1),Ie.preventDefault();break}}var Xt=ce.getActiveItem();if(Xt&&Xt.data){var an=ce.getTreeNodeRequiredProps(),mn=Xt.data.isLeaf===!1||!!(Xt.data[Ue.children]||[]).length,vt=(0,Pe.F)((0,de.Z)((0,de.Z)({},(0,Pe.H8)(Pt,an)),{},{data:Xt.data,active:!0}));switch(Ie.which){case yt.Z.LEFT:{mn&&Tt.includes(Pt)?ce.onNodeExpand({},vt):Xt.parent&&ce.onActiveChange(Xt.parent.key),Ie.preventDefault();break}case yt.Z.RIGHT:{mn&&!Tt.includes(Pt)?ce.onNodeExpand({},vt):Xt.children&&Xt.children.length&&ce.onActiveChange(Xt.children[0].key),Ie.preventDefault();break}case yt.Z.ENTER:case yt.Z.SPACE:{Cn&&!vt.disabled&&vt.checkable!==!1&&!vt.disableCheckbox?ce.onNodeCheck({},vt,!Le.includes(Pt)):!Cn&&cn&&!vt.disabled&&vt.selectable!==!1&&ce.onNodeSelect({},vt);break}}}Wt==null||Wt(Ie)}),(0,fe.Z)((0,Fe.Z)(ce),"setUncontrolledState",function(Ie){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ce.destroyed){var Tt=!1,Le=!0,Ue={};Object.keys(Ie).forEach(function(pn){if(ce.props.hasOwnProperty(pn)){Le=!1;return}Tt=!0,Ue[pn]=Ie[pn]}),Tt&&(!pt||Le)&&ce.setState((0,de.Z)((0,de.Z)({},Ue),Pt))}}),(0,fe.Z)((0,Fe.Z)(ce),"scrollTo",function(Ie){ce.listRef.current.scrollTo(Ie)}),ce}return(0,be.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,pt=De.draggingNodeKey,Pt=De.activeKey,Tt=De.dropLevelOffset,Le=De.dropContainerKey,Ue=De.dropTargetKey,pn=De.dropPosition,Wt=De.dragOverNodeKey,Cn=De.indent,cn=this.props,Xt=cn.prefixCls,an=cn.className,mn=cn.style,vt=cn.showLine,Yt=cn.focusable,gn=cn.tabIndex,At=gn===void 0?0:gn,_e=cn.selectable,Vt=cn.showIcon,nn=cn.icon,dn=cn.switcherIcon,Ln=cn.draggable,Qn=cn.checkable,hr=cn.checkStrictly,vr=cn.disabled,Jn=cn.motion,dr=cn.loadData,Jt=cn.filterTreeNode,En=cn.height,qn=cn.itemHeight,nr=cn.scrollWidth,jn=cn.virtual,xn=cn.titleRender,ut=cn.dropIndicatorRender,qt=cn.onContextMenu,Dt=cn.onScroll,sn=cn.direction,Sn=cn.rootClassName,vn=cn.rootStyle,Bn=(0,et.Z)(this.props,{aria:!0,data:!0}),Un;Ln&&((0,xe.Z)(Ln)==="object"?Un=Ln:typeof Ln=="function"?Un={nodeDraggable:Ln}:Un={});var Yn={prefixCls:Xt,selectable:_e,showIcon:Vt,icon:nn,switcherIcon:dn,draggable:Un,draggingNodeKey:pt,checkable:Qn,checkStrictly:hr,disabled:vr,keyEntities:Ie,dropLevelOffset:Tt,dropContainerKey:Le,dropTargetKey:Ue,dropPosition:pn,dragOverNodeKey:Wt,indent:Cn,direction:sn,dropIndicatorRender:ut,loadData:dr,filterTreeNode:Jt,titleRender:xn,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 je.createElement(Ve.k.Provider,{value:Yn},je.createElement("div",{className:Ce()(Xt,an,Sn,(0,fe.Z)((0,fe.Z)((0,fe.Z)({},"".concat(Xt,"-show-line"),vt),"".concat(Xt,"-focused"),st),"".concat(Xt,"-active-focused"),Pt!==null)),style:vn},je.createElement(lt,(0,b.Z)({ref:this.listRef,prefixCls:Xt,style:mn,data:Qe,disabled:vr,selectable:_e,checkable:!!Qn,motion:Jn,dragging:pt!==null,height:En,itemHeight:qn,virtual:jn,focusable:Yt,focused:st,tabIndex:At,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:qt,onScroll:Dt,scrollWidth:nr},this.getTreeNodeRequiredProps(),Bn))))}}],[{key:"getDerivedStateFromProps",value:function(De,st){var Qe=st.prevProps,Ie={prevProps:De};function pt(At){return!Qe&&De.hasOwnProperty(At)||Qe&&Qe[At]!==De[At]}var Pt,Tt=st.fieldNames;if(pt("fieldNames")&&(Tt=(0,Pe.w$)(De.fieldNames),Ie.fieldNames=Tt),pt("treeData")?Pt=De.treeData:pt("children")&&((0,$e.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Pt=(0,Pe.zn)(De.children)),Pt){Ie.treeData=Pt;var Le=(0,Pe.I8)(Pt,{fieldNames:Tt});Ie.keyEntities=(0,de.Z)((0,fe.Z)({},ve,Gt),Le.keyEntities)}var Ue=Ie.keyEntities||st.keyEntities;if(pt("expandedKeys")||Qe&&pt("autoExpandParent"))Ie.expandedKeys=De.autoExpandParent||!Qe&&De.defaultExpandParent?(0,jt.r7)(De.expandedKeys,Ue):De.expandedKeys;else if(!Qe&&De.defaultExpandAll){var pn=(0,de.Z)({},Ue);delete pn[ve];var Wt=[];Object.keys(pn).forEach(function(At){var _e=pn[At];_e.children&&_e.children.length&&Wt.push(_e.key)}),Ie.expandedKeys=Wt}else!Qe&&De.defaultExpandedKeys&&(Ie.expandedKeys=De.autoExpandParent||De.defaultExpandParent?(0,jt.r7)(De.defaultExpandedKeys,Ue):De.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,Pt||Ie.expandedKeys){var Cn=(0,Pe.oH)(Pt||st.treeData,Ie.expandedKeys||st.expandedKeys,Tt);Ie.flattenNodes=Cn}if(De.selectable&&(pt("selectedKeys")?Ie.selectedKeys=(0,jt.BT)(De.selectedKeys,De):!Qe&&De.defaultSelectedKeys&&(Ie.selectedKeys=(0,jt.BT)(De.defaultSelectedKeys,De))),De.checkable){var cn;if(pt("checkedKeys")?cn=(0,jt.E6)(De.checkedKeys)||{}:!Qe&&De.defaultCheckedKeys?cn=(0,jt.E6)(De.defaultCheckedKeys)||{}:Pt&&(cn=(0,jt.E6)(De.checkedKeys)||{checkedKeys:st.checkedKeys,halfCheckedKeys:st.halfCheckedKeys}),cn){var Xt=cn,an=Xt.checkedKeys,mn=an===void 0?[]:an,vt=Xt.halfCheckedKeys,Yt=vt===void 0?[]:vt;if(!De.checkStrictly){var gn=(0,ct.S)(mn,!0,Ue);mn=gn.checkedKeys,Yt=gn.halfCheckedKeys}Ie.checkedKeys=mn,Ie.halfCheckedKeys=Yt}}return pt("loadedKeys")&&(Ie.loadedKeys=De.loadedKeys),Ie}}]),re}(je.Component);(0,fe.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,fe.Z)(le,"TreeNode",Je.Z);var ne=le,te=ne},82661:function(Vn,hn,z){"use strict";z.d(hn,{BT:function(){return je},E6:function(){return Nt},L0:function(){return fe},OM:function(){return $e},_5:function(){return Be},r7:function(){return Ut},wA:function(){return Ce},yx:function(){return Ge}});var b=z(94480),xe=z(76190),de=z(48736),tt=z(59301),Oe=z(639),be=z(65065),Fe=z(34061),ze=null;function Be(se,Me){if(!se)return[];var ft=se.slice(),mt=ft.indexOf(Me);return mt>=0&&ft.splice(mt,1),ft}function fe(se,Me){var ft=(se||[]).slice();return ft.indexOf(Me)===-1&&ft.push(Me),ft}function Ge(se){return se.split("-")}function Ce(se,Me){var ft=[],mt=(0,be.Z)(Me,se);function Zt(){var Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Je.forEach(function(at){var dt=at.key,Pe=at.children;ft.push(dt),Zt(Pe)})}return Zt(mt.children),ft}function yt(se){if(se.parent){var Me=Ge(se.pos);return Number(Me[Me.length-1])===se.parent.children.length-1}return!1}function et(se){var Me=Ge(se.pos);return Number(Me[Me.length-1])===0}function $e(se,Me,ft,mt,Zt,Je,at,dt,Pe,Ze){var Ee,ue=se.clientX,Ct=se.clientY,He=se.target.getBoundingClientRect(),We=He.top,kt=He.height,Ae=(Ze==="rtl"?-1:1)*(((Zt==null?void 0:Zt.x)||0)-ue),ve=(Ae-12)/mt,gt=Pe.filter(function(te){var ae;return(ae=dt[te])===null||ae===void 0||(ae=ae.children)===null||ae===void 0?void 0:ae.length}),Gt=(0,be.Z)(dt,ft.eventKey);if(Ct<We+kt/2){var Ht=at.findIndex(function(te){return te.key===Gt.key}),pe=Ht<=0?0:Ht-1,Te=at[pe].key;Gt=(0,be.Z)(dt,Te)}var Ke=Gt.key,tn=Gt,lt=Gt.key,jt=0,ct=0;if(!gt.includes(Ke))for(var ln=0;ln<ve&&yt(Gt);ln+=1)Gt=Gt.parent,ct+=1;var Et=Me.data,le=Gt.node,ne=!0;return et(Gt)&&Gt.level===0&&Ct<We+kt/2&&Je({dragNode:Et,dropNode:le,dropPosition:-1})&&Gt.key===ft.eventKey?jt=-1:(tn.children||[]).length&>.includes(lt)?Je({dragNode:Et,dropNode:le,dropPosition:0})?jt=0:ne=!1:ct===0?ve>-1.5?Je({dragNode:Et,dropNode:le,dropPosition:1})?jt=1:ne=!1:Je({dragNode:Et,dropNode:le,dropPosition:0})?jt=0:Je({dragNode:Et,dropNode:le,dropPosition:1})?jt=1:ne=!1:Je({dragNode:Et,dropNode:le,dropPosition:1})?jt=1:ne=!1,{dropPosition:jt,dropLevelOffset:ct,dropTargetKey:Gt.key,dropTargetPos:Gt.pos,dragOverNodeKey:lt,dropContainerKey:jt===0?null:((Ee=Gt.parent)===null||Ee===void 0?void 0:Ee.key)||null,dropAllowed:ne}}function je(se,Me){if(se){var ft=Me.multiple;return ft?se.slice():se.length?[se[0]]:se}}var Ve=function(Me){return Me};function rt(se,Me){if(!se)return[];var ft=Me||{},mt=ft.processProps,Zt=mt===void 0?Ve:mt,Je=Array.isArray(se)?se:[se];return Je.map(function(at){var dt=at.children,Pe=_objectWithoutProperties(at,ze),Ze=rt(dt,Me);return React.createElement(TreeNode,_extends({key:Pe.key},Zt(Pe)),Ze)})}function Nt(se){if(!se)return null;var Me;if(Array.isArray(se))Me={checkedKeys:se,halfCheckedKeys:void 0};else if((0,xe.Z)(se)==="object")Me={checkedKeys:se.checked||void 0,halfCheckedKeys:se.halfChecked||void 0};else return(0,de.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Me}function Ut(se,Me){var ft=new Set;function mt(Zt){if(!ft.has(Zt)){var Je=(0,be.Z)(Me,Zt);if(Je){ft.add(Zt);var at=Je.parent,dt=Je.node;dt.disabled||at&&mt(at.key)}}}return(se||[]).forEach(function(Zt){mt(Zt)}),(0,b.Z)(ft)}},34643:function(Vn,hn,z){"use strict";z.d(hn,{S:function(){return Fe}});var b=z(48736),xe=z(65065);function de(ze,Be){var fe=new Set;return ze.forEach(function(Ge){Be.has(Ge)||fe.add(Ge)}),fe}function tt(ze){var Be=ze||{},fe=Be.disabled,Ge=Be.disableCheckbox,Ce=Be.checkable;return!!(fe||Ge)||Ce===!1}function Oe(ze,Be,fe,Ge){for(var Ce=new Set(ze),yt=new Set,et=0;et<=fe;et+=1){var $e=Be.get(et)||new Set;$e.forEach(function(Nt){var Ut=Nt.key,se=Nt.node,Me=Nt.children,ft=Me===void 0?[]:Me;Ce.has(Ut)&&!Ge(se)&&ft.filter(function(mt){return!Ge(mt.node)}).forEach(function(mt){Ce.add(mt.key)})})}for(var je=new Set,Ve=fe;Ve>=0;Ve-=1){var rt=Be.get(Ve)||new Set;rt.forEach(function(Nt){var Ut=Nt.parent,se=Nt.node;if(!(Ge(se)||!Nt.parent||je.has(Nt.parent.key))){if(Ge(Nt.parent.node)){je.add(Ut.key);return}var Me=!0,ft=!1;(Ut.children||[]).filter(function(mt){return!Ge(mt.node)}).forEach(function(mt){var Zt=mt.key,Je=Ce.has(Zt);Me&&!Je&&(Me=!1),!ft&&(Je||yt.has(Zt))&&(ft=!0)}),Me&&Ce.add(Ut.key),ft&&yt.add(Ut.key),je.add(Ut.key)}})}return{checkedKeys:Array.from(Ce),halfCheckedKeys:Array.from(de(yt,Ce))}}function be(ze,Be,fe,Ge,Ce){for(var yt=new Set(ze),et=new Set(Be),$e=0;$e<=Ge;$e+=1){var je=fe.get($e)||new Set;je.forEach(function(Ut){var se=Ut.key,Me=Ut.node,ft=Ut.children,mt=ft===void 0?[]:ft;!yt.has(se)&&!et.has(se)&&!Ce(Me)&&mt.filter(function(Zt){return!Ce(Zt.node)}).forEach(function(Zt){yt.delete(Zt.key)})})}et=new Set;for(var Ve=new Set,rt=Ge;rt>=0;rt-=1){var Nt=fe.get(rt)||new Set;Nt.forEach(function(Ut){var se=Ut.parent,Me=Ut.node;if(!(Ce(Me)||!Ut.parent||Ve.has(Ut.parent.key))){if(Ce(Ut.parent.node)){Ve.add(se.key);return}var ft=!0,mt=!1;(se.children||[]).filter(function(Zt){return!Ce(Zt.node)}).forEach(function(Zt){var Je=Zt.key,at=yt.has(Je);ft&&!at&&(ft=!1),!mt&&(at||et.has(Je))&&(mt=!0)}),ft||yt.delete(se.key),mt&&et.add(se.key),Ve.add(se.key)}})}return{checkedKeys:Array.from(yt),halfCheckedKeys:Array.from(de(et,yt))}}function Fe(ze,Be,fe,Ge){var Ce=[],yt;Ge?yt=Ge:yt=tt;var et=new Set(ze.filter(function(rt){var Nt=!!(0,xe.Z)(fe,rt);return Nt||Ce.push(rt),Nt})),$e=new Map,je=0;Object.keys(fe).forEach(function(rt){var Nt=fe[rt],Ut=Nt.level,se=$e.get(Ut);se||(se=new Set,$e.set(Ut,se)),se.add(Nt),je=Math.max(je,Ut)}),(0,b.ZP)(!Ce.length,"Tree missing follow keys: ".concat(Ce.slice(0,100).map(function(rt){return"'".concat(rt,"'")}).join(", ")));var Ve;return Be===!0?Ve=Oe(et,$e,je,yt):Ve=be(et,Be.halfCheckedKeys,$e,je,yt),Ve}},65065:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return b}});function b(xe,de){return xe[de]}},34061:function(Vn,hn,z){"use strict";z.d(hn,{F:function(){return Ut},H8:function(){return Nt},I8:function(){return rt},km:function(){return Ce},oH:function(){return je},w$:function(){return yt},zn:function(){return $e}});var b=z(76190),xe=z(94480),de=z(33885),tt=z(75931),Oe=z(11592),be=z(2738),Fe=z(48736),ze=z(65065),Be=["children"];function fe(se,Me){return"".concat(se,"-").concat(Me)}function Ge(se){return se&&se.type&&se.type.isTreeNode}function Ce(se,Me){return se!=null?se:Me}function yt(se){var Me=se||{},ft=Me.title,mt=Me._title,Zt=Me.key,Je=Me.children,at=ft||"title";return{title:at,_title:mt||[at],key:Zt||"key",children:Je||"children"}}function et(se,Me){var ft=new Map;function mt(Zt){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Zt||[]).forEach(function(at){var dt=at[Me.key],Pe=at[Me.children];warning(dt!=null,"Tree node must have a certain key: [".concat(Je).concat(dt,"]"));var Ze=String(dt);warning(!ft.has(Ze)||dt===null||dt===void 0,"Same 'key' exist in the Tree: ".concat(Ze)),ft.set(Ze,!0),mt(Pe,"".concat(Je).concat(Ze," > "))})}mt(se)}function $e(se){function Me(ft){var mt=(0,Oe.Z)(ft);return mt.map(function(Zt){if(!Ge(Zt))return(0,Fe.ZP)(!Zt,"Tree/TreeNode can only accept TreeNode as children."),null;var Je=Zt.key,at=Zt.props,dt=at.children,Pe=(0,tt.Z)(at,Be),Ze=(0,de.Z)({key:Je},Pe),Ee=Me(dt);return Ee.length&&(Ze.children=Ee),Ze}).filter(function(Zt){return Zt})}return Me(se)}function je(se,Me,ft){var mt=yt(ft),Zt=mt._title,Je=mt.key,at=mt.children,dt=new Set(Me===!0?[]:Me),Pe=[];function Ze(Ee){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ee.map(function(Ct,He){for(var We=fe(ue?ue.pos:"0",He),kt=Ce(Ct[Je],We),Ae,ve=0;ve<Zt.length;ve+=1){var gt=Zt[ve];if(Ct[gt]!==void 0){Ae=Ct[gt];break}}var Gt=Object.assign((0,be.Z)(Ct,[].concat((0,xe.Z)(Zt),[Je,at])),{title:Ae,key:kt,parent:ue,pos:We,children:null,data:Ct,isStart:[].concat((0,xe.Z)(ue?ue.isStart:[]),[He===0]),isEnd:[].concat((0,xe.Z)(ue?ue.isEnd:[]),[He===Ee.length-1])});return Pe.push(Gt),Me===!0||dt.has(kt)?Gt.children=Ze(Ct[at]||[],Gt):Gt.children=[],Gt})}return Ze(se),Pe}function Ve(se,Me,ft){var mt={};(0,b.Z)(ft)==="object"?mt=ft:mt={externalGetKey:ft},mt=mt||{};var Zt=mt,Je=Zt.childrenPropName,at=Zt.externalGetKey,dt=Zt.fieldNames,Pe=yt(dt),Ze=Pe.key,Ee=Pe.children,ue=Je||Ee,Ct;at?typeof at=="string"?Ct=function(kt){return kt[at]}:typeof at=="function"&&(Ct=function(kt){return at(kt)}):Ct=function(kt,Ae){return Ce(kt[Ze],Ae)};function He(We,kt,Ae,ve){var gt=We?We[ue]:se,Gt=We?fe(Ae.pos,kt):"0",Ht=We?[].concat((0,xe.Z)(ve),[We]):[];if(We){var pe=Ct(We,Gt),Te={node:We,index:kt,pos:Gt,key:pe,parentPos:Ae.node?Ae.pos:null,level:Ae.level+1,nodes:Ht};Me(Te)}gt&>.forEach(function(Ke,tn){He(Ke,tn,{node:We,pos:Gt,level:Ae?Ae.level+1:-1},Ht)})}He(null)}function rt(se){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ft=Me.initWrapper,mt=Me.processEntity,Zt=Me.onProcessFinished,Je=Me.externalGetKey,at=Me.childrenPropName,dt=Me.fieldNames,Pe=arguments.length>2?arguments[2]:void 0,Ze=Je||Pe,Ee={},ue={},Ct={posEntities:Ee,keyEntities:ue};return ft&&(Ct=ft(Ct)||Ct),Ve(se,function(He){var We=He.node,kt=He.index,Ae=He.pos,ve=He.key,gt=He.parentPos,Gt=He.level,Ht=He.nodes,pe={node:We,nodes:Ht,index:kt,key:ve,pos:Ae,level:Gt},Te=Ce(ve,Ae);Ee[Ae]=pe,ue[Te]=pe,pe.parent=Ee[gt],pe.parent&&(pe.parent.children=pe.parent.children||[],pe.parent.children.push(pe)),mt&&mt(pe,Ct)},{externalGetKey:Ze,childrenPropName:at,fieldNames:dt}),Zt&&Zt(Ct),Ct}function Nt(se,Me){var ft=Me.expandedKeys,mt=Me.selectedKeys,Zt=Me.loadedKeys,Je=Me.loadingKeys,at=Me.checkedKeys,dt=Me.halfCheckedKeys,Pe=Me.dragOverNodeKey,Ze=Me.dropPosition,Ee=Me.keyEntities,ue=(0,ze.Z)(Ee,se),Ct={eventKey:se,expanded:ft.indexOf(se)!==-1,selected:mt.indexOf(se)!==-1,loaded:Zt.indexOf(se)!==-1,loading:Je.indexOf(se)!==-1,checked:at.indexOf(se)!==-1,halfChecked:dt.indexOf(se)!==-1,pos:String(ue?ue.pos:""),dragOver:Pe===se&&Ze===0,dragOverGapTop:Pe===se&&Ze===-1,dragOverGapBottom:Pe===se&&Ze===1};return Ct}function Ut(se){var Me=se.data,ft=se.expanded,mt=se.selected,Zt=se.checked,Je=se.loaded,at=se.loading,dt=se.halfChecked,Pe=se.dragOver,Ze=se.dragOverGapTop,Ee=se.dragOverGapBottom,ue=se.pos,Ct=se.active,He=se.eventKey,We=(0,de.Z)((0,de.Z)({},Me),{},{expanded:ft,selected:mt,checked:Zt,loaded:Je,loading:at,halfChecked:dt,dragOver:Pe,dragOverGapTop:Ze,dragOverGapBottom:Ee,pos:ue,active:Ct,key:He});return"props"in We||Object.defineProperty(We,"props",{get:function(){return(0,Fe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),se}}),We}},8224:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return xe}});var b=z(4676);function xe(de,tt,Oe,be){var Fe=b.unstable_batchedUpdates?function(Be){b.unstable_batchedUpdates(Oe,Be)}:Oe;return de!=null&&de.addEventListener&&de.addEventListener(tt,Fe,be),{remove:function(){de!=null&&de.removeEventListener&&de.removeEventListener(tt,Fe,be)}}}},3465:function(Vn,hn,z){"use strict";z.d(hn,{G:function(){return tt}});var b=z(47273),xe=function(be){if((0,b.Z)()&&window.document.documentElement){var Fe=Array.isArray(be)?be:[be],ze=window.document.documentElement;return Fe.some(function(Be){return Be in ze.style})}return!1},de=function(be,Fe){if(!xe(be))return!1;var ze=document.createElement("div"),Be=ze.style[be];return ze.style[be]=Fe,ze.style[be]!==Be};function tt(Oe,be){return!Array.isArray(Oe)&&be!==void 0?de(Oe,be):xe(Oe)}},48911:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return Et}});var b=z(54476),xe=z(76190),de=z(33885),tt=z(20068),Oe=z(42978),be=z(75931),Fe=z(92310),ze=z.n(Fe),Be=z(29301),fe=z(70425),Ge=z(34280),Ce=z(59301),yt=z(4676),et=Ce.forwardRef(function(le,ne){var te=le.height,ae=le.offsetY,he=le.offsetX,re=le.children,ce=le.prefixCls,De=le.onInnerResize,st=le.innerProps,Qe=le.rtl,Ie=le.extra,pt={},Pt={display:"flex",flexDirection:"column"};return ae!==void 0&&(pt={height:te,position:"relative",overflow:"hidden"},Pt=(0,de.Z)((0,de.Z)({},Pt),{},(0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)({transform:"translateY(".concat(ae,"px)")},Qe?"marginRight":"marginLeft",-he),"position","absolute"),"left",0),"right",0),"top",0))),Ce.createElement("div",{style:pt},Ce.createElement(Be.Z,{onResize:function(Le){var Ue=Le.offsetHeight;Ue&&De&&De()}},Ce.createElement("div",(0,b.Z)({style:Pt,className:ze()((0,tt.Z)({},"".concat(ce,"-holder-inner"),ce)),ref:ne},st),re,Ie)))});et.displayName="Filler";var $e=et;function je(le){var ne=le.children,te=le.setRef,ae=Ce.useCallback(function(he){te(he)},[]);return Ce.cloneElement(ne,{ref:ae})}function Ve(le,ne,te,ae,he,re,ce,De){var st=De.getKey;return le.slice(ne,te+1).map(function(Qe,Ie){var pt=ne+Ie,Pt=ce(Qe,pt,{style:{width:ae},offsetX:he}),Tt=st(Qe);return Ce.createElement(je,{key:Tt,setRef:function(Ue){return re(Qe,Ue)}},Pt)})}function rt(le,ne,te,ae){var he=te-le,re=ne-te,ce=Math.min(he,re)*2;if(ae<=ce){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,ce;if(ae===0&&he===0)return null;ae<he?(re=le,ce=ne):(re=ne,ce=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,pt=0;pt<ce.length;pt+=1){var Pt=st(re[pt]),Tt=st(ce[pt]);if(Pt!==Tt){Qe=pt,Ie=Ie||Pt!==st(ce[pt+1]);break}}return Qe===null?null:{index:Qe,multiple:Ie}}function Ut(le,ne,te){var ae=Ce.useState(le),he=(0,Oe.Z)(ae,2),re=he[0],ce=he[1],De=Ce.useState(null),st=(0,Oe.Z)(De,2),Qe=st[0],Ie=st[1];return Ce.useEffect(function(){var pt=Nt(re||[],le||[],ne);(pt==null?void 0:pt.index)!==void 0&&(te==null||te(pt.index),Ie(le[pt.index])),ce(le)},[le]),[Qe]}var se=z(16089),Me=(typeof navigator=="undefined"?"undefined":(0,xe.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),ft=Me,mt=function(le,ne,te,ae){var he=(0,Ce.useRef)(!1),re=(0,Ce.useRef)(null);function ce(){clearTimeout(re.current),he.current=!0,re.current=setTimeout(function(){he.current=!1},50)}var De=(0,Ce.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,pt=st?Qe<0&&De.current.left||Qe>0&&De.current.right:Qe<0&&De.current.top||Qe>0&&De.current.bottom;return Ie&&pt?(clearTimeout(re.current),he.current=!1):(!pt||he.current)&&ce(),!he.current&&pt}};function Zt(le,ne,te,ae,he,re,ce){var De=(0,Ce.useRef)(0),st=(0,Ce.useRef)(null),Qe=(0,Ce.useRef)(null),Ie=(0,Ce.useRef)(!1),pt=mt(ne,te,ae,he);function Pt(Cn,cn){if(se.Z.cancel(st.current),!pt(!1,cn)){var Xt=Cn;if(!Xt._virtualHandled)Xt._virtualHandled=!0;else return;De.current+=cn,Qe.current=cn,ft||Xt.preventDefault(),st.current=(0,se.Z)(function(){var an=Ie.current?10:1;ce(De.current*an,!1),De.current=0})}}function Tt(Cn,cn){ce(cn,!0),ft||Cn.preventDefault()}var Le=(0,Ce.useRef)(null),Ue=(0,Ce.useRef)(null);function pn(Cn){if(le){se.Z.cancel(Ue.current),Ue.current=(0,se.Z)(function(){Le.current=null},2);var cn=Cn.deltaX,Xt=Cn.deltaY,an=Cn.shiftKey,mn=cn,vt=Xt;(Le.current==="sx"||!Le.current&&an&&Xt&&!cn)&&(mn=Xt,vt=0,Le.current="sx");var Yt=Math.abs(mn),gn=Math.abs(vt);Le.current===null&&(Le.current=re&&Yt>gn?"x":"y"),Le.current==="y"?Pt(Cn,vt):Tt(Cn,mn)}}function Wt(Cn){le&&(Ie.current=Cn.detail===Qe.current)}return[pn,Wt]}function Je(le,ne,te,ae){var he=Ce.useMemo(function(){return[new Map,[]]},[le,te.id,ae]),re=(0,Oe.Z)(he,2),ce=re[0],De=re[1],st=function(Ie){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ie,Pt=ce.get(Ie),Tt=ce.get(pt);if(Pt===void 0||Tt===void 0)for(var Le=le.length,Ue=De.length;Ue<Le;Ue+=1){var pn,Wt=le[Ue],Cn=ne(Wt);ce.set(Cn,Ue);var cn=(pn=te.get(Cn))!==null&&pn!==void 0?pn:ae;if(De[Ue]=(De[Ue-1]||0)+cn,Cn===Ie&&(Pt=Ue),Cn===pt&&(Tt=Ue),Pt!==void 0&&Tt!==void 0)break}return{top:De[Pt-1]||0,bottom:De[Tt]}};return st}var at=z(67732),dt=z(83652),Pe=function(){function le(){(0,at.Z)(this,le),(0,tt.Z)(this,"maps",void 0),(0,tt.Z)(this,"id",0),(0,tt.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,dt.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}(),Ze=Pe;function Ee(le){var ne=parseFloat(le);return isNaN(ne)?0:ne}function ue(le,ne,te){var ae=Ce.useState(0),he=(0,Oe.Z)(ae,2),re=he[0],ce=he[1],De=(0,Ce.useRef)(new Map),st=(0,Ce.useRef)(new Ze),Qe=(0,Ce.useRef)(0);function Ie(){Qe.current+=1}function pt(){var Tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ie();var Le=function(){var Wt=!1;De.current.forEach(function(Cn,cn){if(Cn&&Cn.offsetParent){var Xt=Cn.offsetHeight,an=getComputedStyle(Cn),mn=an.marginTop,vt=an.marginBottom,Yt=Ee(mn),gn=Ee(vt),At=Xt+Yt+gn;st.current.get(cn)!==At&&(st.current.set(cn,At),Wt=!0)}}),Wt&&ce(function(Cn){return Cn+1})};if(Tt)Le();else{Qe.current+=1;var Ue=Qe.current;Promise.resolve().then(function(){Ue===Qe.current&&Le()})}}function Pt(Tt,Le){var Ue=le(Tt),pn=De.current.get(Ue);Le?(De.current.set(Ue,Le),pt()):De.current.delete(Ue),!pn!=!Le&&(Le?ne==null||ne(Tt):te==null||te(Tt))}return(0,Ce.useEffect)(function(){return Ie},[]),[Pt,pt,st.current,re]}var Ct=14/15;function He(le,ne,te){var ae=(0,Ce.useRef)(!1),he=(0,Ce.useRef)(0),re=(0,Ce.useRef)(0),ce=(0,Ce.useRef)(null),De=(0,Ce.useRef)(null),st,Qe=function(Tt){if(ae.current){var Le=Math.ceil(Tt.touches[0].pageX),Ue=Math.ceil(Tt.touches[0].pageY),pn=he.current-Le,Wt=re.current-Ue,Cn=Math.abs(pn)>Math.abs(Wt);Cn?he.current=Le:re.current=Ue;var cn=te(Cn,Cn?pn:Wt,!1,Tt);cn&&Tt.preventDefault(),clearInterval(De.current),cn&&(De.current=setInterval(function(){Cn?pn*=Ct:Wt*=Ct;var Xt=Math.floor(Cn?pn:Wt);(!te(Cn,Xt,!0)||Math.abs(Xt)<=.1)&&clearInterval(De.current)},16))}},Ie=function(){ae.current=!1,st()},pt=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),ce.current=Tt.target,ce.current.addEventListener("touchmove",Qe,{passive:!1}),ce.current.addEventListener("touchend",Ie,{passive:!0}))};st=function(){ce.current&&(ce.current.removeEventListener("touchmove",Qe),ce.current.removeEventListener("touchend",Ie))},(0,Ge.Z)(function(){return le&&ne.current.addEventListener("touchstart",pt,{passive:!0}),function(){var Pt;(Pt=ne.current)===null||Pt===void 0||Pt.removeEventListener("touchstart",pt),st(),clearInterval(De.current)}},[le])}function We(le){return Math.floor(Math.pow(le,.5))}function kt(le,ne){var te="touches"in le?le.touches[0]:le;return te[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function Ae(le,ne,te){Ce.useEffect(function(){var ae=ne.current;if(le&&ae){var he=!1,re,ce,De=function(){se.Z.cancel(re)},st=function Pt(){De(),re=(0,se.Z)(function(){te(ce),Pt()})},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)}},pt=function(Tt){if(he){var Le=kt(Tt,!1),Ue=ae.getBoundingClientRect(),pn=Ue.top,Wt=Ue.bottom;if(Le<=pn){var Cn=pn-Le;ce=-We(Cn),st()}else if(Le>=Wt){var cn=Le-Wt;ce=We(cn),st()}else De()}};return ae.addEventListener("mousedown",Ie),ae.ownerDocument.addEventListener("mouseup",Qe),ae.ownerDocument.addEventListener("mousemove",pt),ae.ownerDocument.addEventListener("dragend",Qe),function(){ae.removeEventListener("mousedown",Ie),ae.ownerDocument.removeEventListener("mouseup",Qe),ae.ownerDocument.removeEventListener("mousemove",pt),ae.ownerDocument.removeEventListener("dragend",Qe),De()}}},[le])}var ve=10;function gt(le,ne,te,ae,he,re,ce,De){var st=Ce.useRef(),Qe=Ce.useState(null),Ie=(0,Oe.Z)(Qe,2),pt=Ie[0],Pt=Ie[1];return(0,Ge.Z)(function(){if(pt&&pt.times<ve){if(!le.current){Pt(function(Jn){return(0,de.Z)({},Jn)});return}re();var Tt=pt.targetAlign,Le=pt.originAlign,Ue=pt.index,pn=pt.offset,Wt=le.current.clientHeight,Cn=!1,cn=Tt,Xt=null;if(Wt){for(var an=Tt||Le,mn=0,vt=0,Yt=0,gn=Math.min(ne.length-1,Ue),At=0;At<=gn;At+=1){var _e=he(ne[At]);vt=mn;var Vt=te.get(_e);Yt=vt+(Vt===void 0?ae:Vt),mn=Yt}for(var nn=an==="top"?pn:Wt-pn,dn=gn;dn>=0;dn-=1){var Ln=he(ne[dn]),Qn=te.get(Ln);if(Qn===void 0){Cn=!0;break}if(nn-=Qn,nn<=0)break}switch(an){case"top":Xt=vt-pn;break;case"bottom":Xt=Yt-Wt+pn;break;default:{var hr=le.current.scrollTop,vr=hr+Wt;vt<hr?cn="top":Yt>vr&&(cn="bottom")}}Xt!==null&&ce(Xt),Xt!==pt.lastTop&&(Cn=!0)}Cn&&Pt((0,de.Z)((0,de.Z)({},pt),{},{times:pt.times+1,targetAlign:cn,lastTop:Xt}))}},[pt,le.current]),function(Tt){if(Tt==null){De();return}if(se.Z.cancel(st.current),typeof Tt=="number")ce(Tt);else if(Tt&&(0,xe.Z)(Tt)==="object"){var Le,Ue=Tt.align;"index"in Tt?Le=Tt.index:Le=ne.findIndex(function(Cn){return he(Cn)===Tt.key});var pn=Tt.offset,Wt=pn===void 0?0:pn;Pt({times:0,index:Le,offset:Wt,originAlign:Ue})}}}var Gt=Ce.forwardRef(function(le,ne){var te=le.prefixCls,ae=le.rtl,he=le.scrollOffset,re=le.scrollRange,ce=le.onStartMove,De=le.onStopMove,st=le.onScroll,Qe=le.horizontal,Ie=le.spinSize,pt=le.containerSize,Pt=le.style,Tt=le.thumbStyle,Le=le.showScrollBar,Ue=Ce.useState(!1),pn=(0,Oe.Z)(Ue,2),Wt=pn[0],Cn=pn[1],cn=Ce.useState(null),Xt=(0,Oe.Z)(cn,2),an=Xt[0],mn=Xt[1],vt=Ce.useState(null),Yt=(0,Oe.Z)(vt,2),gn=Yt[0],At=Yt[1],_e=!ae,Vt=Ce.useRef(),nn=Ce.useRef(),dn=Ce.useState(Le),Ln=(0,Oe.Z)(dn,2),Qn=Ln[0],hr=Ln[1],vr=Ce.useRef(),Jn=function(){Le===!0||Le===!1||(clearTimeout(vr.current),hr(!0),vr.current=setTimeout(function(){hr(!1)},3e3))},dr=re-pt||0,Jt=pt-Ie||0,En=Ce.useMemo(function(){if(he===0||dr===0)return 0;var Sn=he/dr;return Sn*Jt},[he,dr,Jt]),qn=function(vn){vn.stopPropagation(),vn.preventDefault()},nr=Ce.useRef({top:En,dragging:Wt,pageY:an,startTop:gn});nr.current={top:En,dragging:Wt,pageY:an,startTop:gn};var jn=function(vn){Cn(!0),mn(kt(vn,Qe)),At(nr.current.top),ce(),vn.stopPropagation(),vn.preventDefault()};Ce.useEffect(function(){var Sn=function(Yn){Yn.preventDefault()},vn=Vt.current,Bn=nn.current;return vn.addEventListener("touchstart",Sn,{passive:!1}),Bn.addEventListener("touchstart",jn,{passive:!1}),function(){vn.removeEventListener("touchstart",Sn),Bn.removeEventListener("touchstart",jn)}},[]);var xn=Ce.useRef();xn.current=dr;var ut=Ce.useRef();ut.current=Jt,Ce.useEffect(function(){if(Wt){var Sn,vn=function(Yn){var $t=nr.current,Mn=$t.dragging,rn=$t.pageY,or=$t.startTop;se.Z.cancel(Sn);var wt=Vt.current.getBoundingClientRect(),zt=pt/(Qe?wt.width:wt.height);if(Mn){var Re=(kt(Yn,Qe)-rn)*zt,ht=or;!_e&&Qe?ht-=Re:ht+=Re;var Ye=xn.current,St=ut.current,_t=St?ht/St:0,tr=Math.ceil(_t*Ye);tr=Math.max(tr,0),tr=Math.min(tr,Ye),Sn=(0,se.Z)(function(){st(tr,Qe)})}},Bn=function(){Cn(!1),De()};return window.addEventListener("mousemove",vn,{passive:!0}),window.addEventListener("touchmove",vn,{passive:!0}),window.addEventListener("mouseup",Bn,{passive:!0}),window.addEventListener("touchend",Bn,{passive:!0}),function(){window.removeEventListener("mousemove",vn),window.removeEventListener("touchmove",vn),window.removeEventListener("mouseup",Bn),window.removeEventListener("touchend",Bn),se.Z.cancel(Sn)}}},[Wt]),Ce.useEffect(function(){return Jn(),function(){clearTimeout(vr.current)}},[he]),Ce.useImperativeHandle(ne,function(){return{delayHidden:Jn}});var qt="".concat(te,"-scrollbar"),Dt={position:"absolute",visibility:Qn?null:"hidden"},sn={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(Dt,{height:8,left:0,right:0,bottom:0}),Object.assign(sn,(0,tt.Z)({height:"100%",width:Ie},_e?"left":"right",En))):(Object.assign(Dt,(0,tt.Z)({width:8,top:0,bottom:0},_e?"right":"left",0)),Object.assign(sn,{width:"100%",height:Ie,top:En})),Ce.createElement("div",{ref:Vt,className:ze()(qt,(0,tt.Z)((0,tt.Z)((0,tt.Z)({},"".concat(qt,"-horizontal"),Qe),"".concat(qt,"-vertical"),!Qe),"".concat(qt,"-visible"),Qn)),style:(0,de.Z)((0,de.Z)({},Dt),Pt),onMouseDown:qn,onMouseMove:Jn},Ce.createElement("div",{ref:nn,className:ze()("".concat(qt,"-thumb"),(0,tt.Z)({},"".concat(qt,"-thumb-moving"),Wt)),style:(0,de.Z)((0,de.Z)({},sn),Tt),onMouseDown:jn}))}),Ht=Gt,pe=20;function Te(){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 Ke=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],tn=[],lt={overflowY:"auto",overflowAnchor:"none"};function jt(le,ne){var te=le.prefixCls,ae=te===void 0?"rc-virtual-list":te,he=le.className,re=le.height,ce=le.itemHeight,De=le.fullHeight,st=De===void 0?!0:De,Qe=le.style,Ie=le.data,pt=le.children,Pt=le.itemKey,Tt=le.virtual,Le=le.direction,Ue=le.scrollWidth,pn=le.component,Wt=pn===void 0?"div":pn,Cn=le.onScroll,cn=le.onVirtualScroll,Xt=le.onVisibleChange,an=le.innerProps,mn=le.extraRender,vt=le.styles,Yt=le.showScrollBar,gn=Yt===void 0?"optional":Yt,At=(0,be.Z)(le,Ke),_e=Ce.useCallback(function(Rt){return typeof Pt=="function"?Pt(Rt):Rt==null?void 0:Rt[Pt]},[Pt]),Vt=ue(_e,null,null),nn=(0,Oe.Z)(Vt,4),dn=nn[0],Ln=nn[1],Qn=nn[2],hr=nn[3],vr=!!(Tt!==!1&&re&&ce),Jn=Ce.useMemo(function(){return Object.values(Qn.maps).reduce(function(Rt,ot){return Rt+ot},0)},[Qn.id,Qn.maps]),dr=vr&&Ie&&(Math.max(ce*Ie.length,Jn)>re||!!Ue),Jt=Le==="rtl",En=ze()(ae,(0,tt.Z)({},"".concat(ae,"-rtl"),Jt),he),qn=Ie||tn,nr=(0,Ce.useRef)(),jn=(0,Ce.useRef)(),xn=(0,Ce.useRef)(),ut=(0,Ce.useState)(0),qt=(0,Oe.Z)(ut,2),Dt=qt[0],sn=qt[1],Sn=(0,Ce.useState)(0),vn=(0,Oe.Z)(Sn,2),Bn=vn[0],Un=vn[1],Yn=(0,Ce.useState)(!1),$t=(0,Oe.Z)(Yn,2),Mn=$t[0],rn=$t[1],or=function(){rn(!0)},wt=function(){rn(!1)},zt={getKey:_e};function Re(Rt){sn(function(ot){var Ot;typeof Rt=="function"?Ot=Rt(ot):Ot=Rt;var en=$r(Ot);return nr.current.scrollTop=en,en})}var ht=(0,Ce.useRef)({start:0,end:qn.length}),Ye=(0,Ce.useRef)(),St=Ut(qn,_e),_t=(0,Oe.Z)(St,1),tr=_t[0];Ye.current=tr;var ar=Ce.useMemo(function(){if(!vr)return{scrollHeight:void 0,start:0,end:qn.length-1,offset:void 0};if(!dr){var Rt;return{scrollHeight:((Rt=jn.current)===null||Rt===void 0?void 0:Rt.offsetHeight)||0,start:0,end:qn.length-1,offset:void 0}}for(var ot=0,Ot,en,Fn,Zn=qn.length,An=0;An<Zn;An+=1){var Hn=qn[An],$n=_e(Hn),Cr=Qn.get($n),br=ot+(Cr===void 0?ce:Cr);br>=Dt&&Ot===void 0&&(Ot=An,en=ot),br>Dt+re&&Fn===void 0&&(Fn=An),ot=br}return Ot===void 0&&(Ot=0,en=0,Fn=Math.ceil(re/ce)),Fn===void 0&&(Fn=qn.length-1),Fn=Math.min(Fn+1,qn.length-1),{scrollHeight:ot,start:Ot,end:Fn,offset:en}},[dr,vr,Dt,qn,hr,re]),bt=ar.scrollHeight,xt=ar.start,Ft=ar.end,Kt=ar.offset;ht.current.start=xt,ht.current.end=Ft,Ce.useLayoutEffect(function(){var Rt=Qn.getRecord();if(Rt.size===1){var ot=Array.from(Rt.keys())[0],Ot=Rt.get(ot),en=qn[xt];if(en&&Ot===void 0){var Fn=_e(en);if(Fn===ot){var Zn=Qn.get(ot),An=Zn-ce;Re(function(Hn){return Hn+An})}}}Qn.resetRecord()},[bt]);var Pn=Ce.useState({width:0,height:re}),Tn=(0,Oe.Z)(Pn,2),kn=Tn[0],Kn=Tn[1],pr=function(ot){Kn({width:ot.offsetWidth,height:ot.offsetHeight})},Ar=(0,Ce.useRef)(),Vr=(0,Ce.useRef)(),Br=Ce.useMemo(function(){return Te(kn.width,Ue)},[kn.width,Ue]),fr=Ce.useMemo(function(){return Te(kn.height,bt)},[kn.height,bt]),Pr=bt-re,kr=(0,Ce.useRef)(Pr);kr.current=Pr;function $r(Rt){var ot=Rt;return Number.isNaN(kr.current)||(ot=Math.min(ot,kr.current)),ot=Math.max(ot,0),ot}var Xr=Dt<=0,vo=Dt>=Pr,yr=Bn<=0,ur=Bn>=Ue,gr=mt(Xr,vo,yr,ur),no=function(){return{x:Jt?-Bn:Bn,y:Dt}},Kr=(0,Ce.useRef)(no()),wr=(0,fe.zX)(function(Rt){if(cn){var ot=(0,de.Z)((0,de.Z)({},no()),Rt);(Kr.current.x!==ot.x||Kr.current.y!==ot.y)&&(cn(ot),Kr.current=ot)}});function Rr(Rt,ot){var Ot=Rt;ot?((0,yt.flushSync)(function(){Un(Ot)}),wr()):Re(Ot)}function mo(Rt){var ot=Rt.currentTarget.scrollTop;ot!==Dt&&Re(ot),Cn==null||Cn(Rt),wr()}var Qr=function(ot){var Ot=ot,en=Ue?Ue-kn.width:0;return Ot=Math.max(Ot,0),Ot=Math.min(Ot,en),Ot},qr=(0,fe.zX)(function(Rt,ot){ot?((0,yt.flushSync)(function(){Un(function(Ot){var en=Ot+(Jt?-Rt:Rt);return Qr(en)})}),wr()):Re(function(Ot){var en=Ot+Rt;return en})}),eo=Zt(vr,Xr,vo,yr,ur,!!Ue,qr),ko=(0,Oe.Z)(eo,2),_o=ko[0],qo=ko[1];He(vr,nr,function(Rt,ot,Ot,en){var Fn=en;return gr(Rt,ot,Ot)?!1:!Fn||!Fn._virtualHandled?(Fn&&(Fn._virtualHandled=!0),_o({preventDefault:function(){},deltaX:Rt?ot:0,deltaY:Rt?0:ot}),!0):!1}),Ae(dr,nr,function(Rt){Re(function(ot){return ot+Rt})}),(0,Ge.Z)(function(){function Rt(Ot){var en=Xr&&Ot.detail<0,Fn=vo&&Ot.detail>0;vr&&!en&&!Fn&&Ot.preventDefault()}var ot=nr.current;return ot.addEventListener("wheel",_o,{passive:!1}),ot.addEventListener("DOMMouseScroll",qo,{passive:!0}),ot.addEventListener("MozMousePixelScroll",Rt,{passive:!1}),function(){ot.removeEventListener("wheel",_o),ot.removeEventListener("DOMMouseScroll",qo),ot.removeEventListener("MozMousePixelScroll",Rt)}},[vr,Xr,vo]),(0,Ge.Z)(function(){if(Ue){var Rt=Qr(Bn);Un(Rt),wr({x:Rt})}},[kn.width,Ue]);var Lo=function(){var ot,Ot;(ot=Ar.current)===null||ot===void 0||ot.delayHidden(),(Ot=Vr.current)===null||Ot===void 0||Ot.delayHidden()},ii=gt(nr,qn,Qn,ce,_e,function(){return Ln(!0)},Re,Lo);Ce.useImperativeHandle(ne,function(){return{nativeElement:xn.current,getScrollInfo:no,scrollTo:function(ot){function Ot(en){return en&&(0,xe.Z)(en)==="object"&&("left"in en||"top"in en)}Ot(ot)?(ot.left!==void 0&&Un(Qr(ot.left)),ii(ot.top)):ii(ot)}}}),(0,Ge.Z)(function(){if(Xt){var Rt=qn.slice(xt,Ft+1);Xt(Rt,qn)}},[xt,Ft,qn]);var ke=Je(qn,_e,Qn,ce),nt=mn==null?void 0:mn({start:xt,end:Ft,virtual:dr,offsetX:Bn,offsetY:Kt,rtl:Jt,getSize:ke}),Mt=Ve(qn,xt,Ft,Ue,Bn,dn,pt,zt),un=null;re&&(un=(0,de.Z)((0,tt.Z)({},st?"height":"maxHeight",re),lt),vr&&(un.overflowY="hidden",Ue&&(un.overflowX="hidden"),Mn&&(un.pointerEvents="none")));var fn={};return Jt&&(fn.dir="rtl"),Ce.createElement("div",(0,b.Z)({ref:xn,style:(0,de.Z)((0,de.Z)({},Qe),{},{position:"relative"}),className:En},fn,At),Ce.createElement(Be.Z,{onResize:pr},Ce.createElement(Wt,{className:"".concat(ae,"-holder"),style:un,ref:nr,onScroll:mo,onMouseEnter:Lo},Ce.createElement($e,{prefixCls:ae,height:bt,offsetX:Bn,offsetY:Kt,scrollWidth:Ue,onInnerResize:Ln,ref:jn,innerProps:an,rtl:Jt,extra:nt},Mt))),dr&&bt>re&&Ce.createElement(Ht,{ref:Ar,prefixCls:ae,scrollOffset:Dt,scrollRange:bt,rtl:Jt,onScroll:Rr,onStartMove:or,onStopMove:wt,spinSize:fr,containerSize:kn.height,style:vt==null?void 0:vt.verticalScrollBar,thumbStyle:vt==null?void 0:vt.verticalScrollBarThumb,showScrollBar:gn}),dr&&Ue>kn.width&&Ce.createElement(Ht,{ref:Vr,prefixCls:ae,scrollOffset:Bn,scrollRange:Ue,rtl:Jt,onScroll:Rr,onStartMove:or,onStopMove:wt,spinSize:Br,containerSize:kn.width,horizontal:!0,style:vt==null?void 0:vt.horizontalScrollBar,thumbStyle:vt==null?void 0:vt.horizontalScrollBarThumb,showScrollBar:gn}))}var ct=Ce.forwardRef(jt);ct.displayName="List";var ln=ct,Et=ln},25510:function(Vn){"use strict";Vn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBYICQYGgQFBgJ1MgAMtO5l70PSgQFAgKBAWCAnuEAgFY9gijY5hBgaBAUCAoEBTYyRQIwLKTuRd9DwoEBYICQYGgwB6hQACWPcLoGGZQICgQFAgKBAV2MgUCsOxk7kXfgwJBgaBAUCAosEcoEIBljzA6hhkUCAoEBYICQYGdTIEALDuZe9H3oEBQICgQFAgK7BEKBGDZ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ECZxRZbLBxpwnxOdQ0NNWDxixvJA/rl5V5qX9oZjwJY8qlWAEtEMwEWJqvAh4CHJq8HL3o8XnXE/0ehyFdKfQiE2267LayyUq9uAhb1TRNXbfJAJrWdKeW6CViq+lDVpuEAWMAQV15xhZ177tn27e98x16byyF0fUBiNhaCvo3IQUksMXWqHfutb9huu32gPwHcaA6sm79l56UXX7a777orrLjGTxhnv/7VGbbFVlva6EVG2+tz2J3TFwvCh/iYESPGBBdReHzWXFtkLOf99OlsgNTzzzxvvzj3ZPvhKT+y+/5yv7340qthN82c2XNtypQlgmVz3333s8023sQmLDJ6vqWC+vtTwPThIawrI4m7mWcjidEJATEAlTEhcV24yBsT0MbscAbSAw89YHt9aC+774H77JBDDw2ZgjdYfwObM3den0to1CgbiYUIT1Kf4aTPUjTidZsza7aNCX6qPuCFKWXeq6/ZSE6dDtmC2SreF4ATvHHBtTQ/cGb+VmwF6DRZWIhh8S4hv02WMcPyx0o+9eoWYPHvZ14Qk0dekbqLBZqP/ZgyZYrdcccdwWKUeg01YEGO01dZvflbC0pZl3MColP7rXIFsORSzKwAlgqaEXDLqsgrvthtkkrqqq1mPLvSSiv1r2BS6+o2YEltRyfKdRuwpLSx5wHL/Lwol112qZ155pn23f/9no0ZOzakrw8wJYCJ123U6FE2b+48W3yxxe3444+xf/rHXWxsiGWZf7AzlobZs23mK6/ajHvvs03evolNHD/Rfnveb22rrbYMW4+DFXN4rTMAACAASURBVGqRMcGFQsI3EA8Wjr4wWdwrCPYxfUBontkzTz9rl156mf3Xf33K/vbc88GSM/ktb7GJEybZE089Hd6FW2qddabZGWf8ypYKro++bcGLLDLGZs0iXgaghWtrtM187dWgvIlF6XvfPBs1t89yFLqLJYQAyZFgmNfswYcetD332sse+uv9dsghX7OtttzK1pu23vw525fuf97IEfbqrFk2iXqJlyH/zJxZ4cykMLfDP9xf7Djq6zvXmDEjbebM2TZuHGCvT6nR6b44tL48LKOw/pjZtddea8suu2z/2WM+WPXFF18Mhx/GpzV73sxd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Ft65kxxx/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+4Cdecav7b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wAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},93314:function(Vn){"use strict";Vn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9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Uvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},19251:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return xe}});var b=z(3208);function xe(de,tt){var Oe=typeof Symbol!="undefined"&&de[Symbol.iterator]||de["@@iterator"];if(!Oe){if(Array.isArray(de)||(Oe=(0,b.Z)(de))||tt&&de&&typeof de.length=="number"){Oe&&(de=Oe);var be=0,Fe=function(){};return{s:Fe,n:function(){return be>=de.length?{done:!0}:{done:!1,value:de[be++]}},e:function(Ce){throw Ce},f:Fe}}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 ze,Be=!0,fe=!1;return{s:function(){Oe=Oe.call(de)},n:function(){var Ce=Oe.next();return Be=Ce.done,Ce},e:function(Ce){fe=!0,ze=Ce},f:function(){try{Be||Oe.return==null||Oe.return()}finally{if(fe)throw ze}}}}},16722:function(Vn,hn,z){"use strict";z.d(hn,{Z:function(){return ze}});const b=Be=>typeof Be=="object"&&Be!=null&&Be.nodeType===1,xe=(Be,fe)=>(!fe||Be!=="hidden")&&Be!=="visible"&&Be!=="clip",de=(Be,fe)=>{if(Be.clientHeight<Be.scrollHeight||Be.clientWidth<Be.scrollWidth){const Ge=getComputedStyle(Be,null);return xe(Ge.overflowY,fe)||xe(Ge.overflowX,fe)||(Ce=>{const yt=(et=>{if(!et.ownerDocument||!et.ownerDocument.defaultView)return null;try{return et.ownerDocument.defaultView.frameElement}catch($e){return null}})(Ce);return!!yt&&(yt.clientHeight<Ce.scrollHeight||yt.clientWidth<Ce.scrollWidth)})(Be)}return!1},tt=(Be,fe,Ge,Ce,yt,et,$e,je)=>et<Be&&$e>fe||et>Be&&$e<fe?0:et<=Be&&je<=Ge||$e>=fe&&je>=Ge?et-Be-Ce:$e>fe&&je<Ge||et<Be&&je>Ge?$e-fe+yt:0,Oe=Be=>{const fe=Be.parentElement;return fe==null?Be.getRootNode().host||null:fe},be=(Be,fe)=>{var Ge,Ce,yt,et;if(typeof document=="undefined")return[];const{scrollMode:$e,block:je,inline:Ve,boundary:rt,skipOverflowHiddenElements:Nt}=fe,Ut=typeof rt=="function"?rt:Ht=>Ht!==rt;if(!b(Be))throw new TypeError("Invalid target");const se=document.scrollingElement||document.documentElement,Me=[];let ft=Be;for(;b(ft)&&Ut(ft);){if(ft=Oe(ft),ft===se){Me.push(ft);break}ft!=null&&ft===document.body&&de(ft)&&!de(document.documentElement)||ft!=null&&de(ft,Nt)&&Me.push(ft)}const mt=(Ce=(Ge=window.visualViewport)==null?void 0:Ge.width)!=null?Ce:innerWidth,Zt=(et=(yt=window.visualViewport)==null?void 0:yt.height)!=null?et:innerHeight,{scrollX:Je,scrollY:at}=window,{height:dt,width:Pe,top:Ze,right:Ee,bottom:ue,left:Ct}=Be.getBoundingClientRect(),{top:He,right:We,bottom:kt,left:Ae}=(Ht=>{const pe=window.getComputedStyle(Ht);return{top:parseFloat(pe.scrollMarginTop)||0,right:parseFloat(pe.scrollMarginRight)||0,bottom:parseFloat(pe.scrollMarginBottom)||0,left:parseFloat(pe.scrollMarginLeft)||0}})(Be);let ve=je==="start"||je==="nearest"?Ze-He:je==="end"?ue+kt:Ze+dt/2-He+kt,gt=Ve==="center"?Ct+Pe/2-Ae+We:Ve==="end"?Ee+We:Ct-Ae;const Gt=[];for(let Ht=0;Ht<Me.length;Ht++){const pe=Me[Ht],{height:Te,width:Ke,top:tn,right:lt,bottom:jt,left:ct}=pe.getBoundingClientRect();if($e==="if-needed"&&Ze>=0&&Ct>=0&&ue<=Zt&&Ee<=mt&&(pe===se&&!de(pe)||Ze>=tn&&ue<=jt&&Ct>=ct&&Ee<=lt))return Gt;const ln=getComputedStyle(pe),Et=parseInt(ln.borderLeftWidth,10),le=parseInt(ln.borderTopWidth,10),ne=parseInt(ln.borderRightWidth,10),te=parseInt(ln.borderBottomWidth,10);let ae=0,he=0;const re="offsetWidth"in pe?pe.offsetWidth-pe.clientWidth-Et-ne:0,ce="offsetHeight"in pe?pe.offsetHeight-pe.clientHeight-le-te:0,De="offsetWidth"in pe?pe.offsetWidth===0?0:Ke/pe.offsetWidth:0,st="offsetHeight"in pe?pe.offsetHeight===0?0:Te/pe.offsetHeight:0;if(se===pe)ae=je==="start"?ve:je==="end"?ve-Zt:je==="nearest"?tt(at,at+Zt,Zt,le,te,at+ve,at+ve+dt,dt):ve-Zt/2,he=Ve==="start"?gt:Ve==="center"?gt-mt/2:Ve==="end"?gt-mt:tt(Je,Je+mt,mt,Et,ne,Je+gt,Je+gt+Pe,Pe),ae=Math.max(0,ae+at),he=Math.max(0,he+Je);else{ae=je==="start"?ve-tn-le:je==="end"?ve-jt+te+ce:je==="nearest"?tt(tn,jt,Te,le,te+ce,ve,ve+dt,dt):ve-(tn+Te/2)+ce/2,he=Ve==="start"?gt-ct-Et:Ve==="center"?gt-(ct+Ke/2)+re/2:Ve==="end"?gt-lt+ne+re:tt(ct,lt,Ke,Et,ne+re,gt,gt+Pe,Pe);const{scrollLeft:Qe,scrollTop:Ie}=pe;ae=st===0?0:Math.max(0,Math.min(Ie+ae/st,pe.scrollHeight-Te/st+ce)),he=De===0?0:Math.max(0,Math.min(Qe+he/De,pe.scrollWidth-Ke/De+re)),ve+=Ie-ae,gt+=Qe-he}Gt.push({el:pe,top:ae,left:he})}return Gt},Fe=Be=>Be===!1?{block:"end",inline:"nearest"}:(fe=>fe===Object(fe)&&Object.keys(fe).length!==0)(Be)?Be:{block:"start",inline:"nearest"};function ze(Be,fe){if(!Be.isConnected||!(yt=>{let et=yt;for(;et&&et.parentNode;){if(et.parentNode===document)return!0;et=et.parentNode instanceof ShadowRoot?et.parentNode.host:et.parentNode}return!1})(Be))return;const Ge=(yt=>{const et=window.getComputedStyle(yt);return{top:parseFloat(et.scrollMarginTop)||0,right:parseFloat(et.scrollMarginRight)||0,bottom:parseFloat(et.scrollMarginBottom)||0,left:parseFloat(et.scrollMarginLeft)||0}})(Be);if((yt=>typeof yt=="object"&&typeof yt.behavior=="function")(fe))return fe.behavior(be(Be,fe));const Ce=typeof fe=="boolean"||fe==null?void 0:fe.behavior;for(const{el:yt,top:et,left:$e}of be(Be,Fe(fe))){const je=et-Ge.top+Ge.bottom,Ve=$e-Ge.left+Ge.right;yt.scroll({top:je,left:Ve,behavior:Ce})}}}}]);
|
|
|
}()); |